From 118cc9bf564c4bf866f364c16a5f841c955d945b Mon Sep 17 00:00:00 2001 From: oliveregger Date: Mon, 24 Apr 2023 07:17:53 +0000 Subject: [PATCH 01/29] Rebuild the Angular GUI resources --- src/main/resources/static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index eafaefd5..59ee16db 100644 --- a/src/main/resources/static/index.html +++ b/src/main/resources/static/index.html @@ -5,7 +5,7 @@ - + + \ No newline at end of file diff --git a/src/main/resources/static/main.381331d4e84c1cbe.js b/src/main/resources/static/main.381331d4e84c1cbe.js new file mode 100644 index 00000000..97db6be5 --- /dev/null +++ b/src/main/resources/static/main.381331d4e84c1cbe.js @@ -0,0 +1 @@ +(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[179],{5424:(he,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Ucum=void 0,A.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"}}},6227:(he,A,o)=>{"use strict";A.R=void 0;var l=o(5424),u=o(5984);class c{constructor(d){if(0===l.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==d)this.assignZero();else if(d instanceof Array){if(d.length!==l.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(d)}`);this.dimVec_=[];for(let m=0;m=l.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[d]=1}}setElementAt(d,m){if(!u(d)||d<0||d>=l.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${d})`);this.dimVec_||this.assignZero(),null==m&&(m=1),this.dimVec_[d]=m}getElementAt(d){if(!u(d)||d<0||d>=l.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${d})`);let m=null;return this.dimVec_&&(m=this.dimVec_[d]),m}getProperty(d){return this["_"===d.charAt(d.length-1)?d:d+"_"]}toString(){let d=null;return this.dimVec_&&(d="["+this.dimVec_.join(", ")+"]"),d}add(d){if(!d instanceof c)throw new Error(`Dimension.add called with an invalid parameter - ${typeof d} instead of a Dimension object`);if(this.dimVec_&&d.dimVec_)for(let m=0;m{"use strict";A.DP=function(y){const b=y&&y.config;if(b){if(b.length&&y.data){const h=c(b);return y.data.map(d.bind(null,h))}return y.data}return y};function c(y){return y.map(b=>Array.isArray(b)?b:[b])}function d(y,b){let h={};return y.forEach((g,s)=>{let C=h;for(let P=0;P{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Prefix=void 0,o(5424),A.Prefix=class{constructor(c){if(null==c.code_||null==c.name_||null==c.value_||void 0===c.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_=c.code_,this.ciCode_=c.ciCode_,this.name_=c.name_,this.printSymbol_=c.printSymbol_,this.value_="string"==typeof c.value_?parseFloat(c.value_):c.value_,this.exp_=c.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(c){return this.code_===c.code_&&this.ciCode_===c.ciCode_&&this.name_===c.name_&&this.printSymbol_===c.printSymbol_&&this.value_===c.value_&&this.exp_===c.exp_}}},5361:(he,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.PrefixTables=A.PrefixTablesFactory=void 0;class o{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let c="",r=Object.keys(this.byValue_),d=r.length;for(let m=0;m{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var n=new class{constructor(){this.funcs={},this.funcs.cel={cnvTo:function(u){return u-273.15},cnvFrom:function(u){return u+273.15}},this.funcs.degf={cnvTo:function(u){return u-459.67},cnvFrom:function(u){return u+459.67}},this.funcs.degre={cnvTo:function(u){return u-273.15},cnvFrom:function(u){return u+273.15}},this.funcs.ph={cnvTo:function(u){return-Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,-u)}},this.funcs.ln={cnvTo:function(u){return Math.log(u)},cnvFrom:function(u){return Math.exp(u)}},this.funcs["2ln"]={cnvTo:function(u){return 2*Math.log(u)},cnvFrom:function(u){return Math.exp(u/2)}},this.funcs.lg={cnvTo:function(u){return Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,u)}},this.funcs["10lg"]={cnvTo:function(u){return 10*Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,u/10)}},this.funcs["20lg"]={cnvTo:function(u){return 20*Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,u/20)}},this.funcs["2lg"]={cnvTo:function(u){return 2*Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,u/2)}},this.funcs.lgtimes2=this.funcs["2lg"],this.funcs.ld={cnvTo:function(u){return Math.log(u)/Math.LN2},cnvFrom:function(u){return Math.pow(2,u)}},this.funcs["100tan"]={cnvTo:function(u){return 100*Math.tan(u)},cnvFrom:function(u){return Math.atan(u/100)}},this.funcs.tanTimes100=this.funcs["100tan"],this.funcs.sqrt={cnvTo:function(u){return Math.sqrt(u)},cnvFrom:function(u){return u*u}},this.funcs.inv={cnvTo:function(u){return 1/u},cnvFrom:function(u){return 1/u}},this.funcs.hpX={cnvTo:function(u){return-this.funcs.lg(u)},cnvFrom:function(u){return Math.pow(10,-u)}},this.funcs.hpC={cnvTo:function(u){return-this.func.ln(u)/this.funcs.ln(100)},cnvFrom:function(u){return Math.pow(100,-u)}},this.funcs.hpM={cnvTo:function(u){return-this.funcs.ln(u)/this.funcs.ln(1e3)},cnvFrom:function(u){return Math.pow(1e3,-u)}},this.funcs.hpQ={cnvTo:function(u){return-this.funcs.ln(u)/this.funcs.ln(5e4)},cnvFrom:function(u){return Math.pow(5e4,-u)}}}forName(u){u=u.toLowerCase();let c=this.funcs[u];if(null===c)throw new Error(`Requested function ${u} is not defined`);return c}isDefined(u){return u=u.toLowerCase(),null!==this.funcs[u]}};A.default=n},4693:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.isNumericString=function(r){let d=""+r;return!isNaN(d)&&!isNaN(parseFloat(d))},A.isIntegerUnit=function(r){return/^\d+$/.test(r)},A.getSynonyms=function(r){let d={},p={};if(p=n.getInstance().getUnitBySynonym(r),p.units){d.status="succeeded";let y=p.units.length;d.units=[];for(let b=0;b{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ucumJsonDefs=A.UcumJsonDefs=void 0;var n=o(3355),l=o(5361),u=o(8897),c=o(8334),r=o(4784).DP;class d{loadJsonDefs(){const y=o(8210);if(y.prefixes=r(y.prefixes),y.units=r(y.units),0===c.UnitTables.getInstance().unitsCount()){let b=l.PrefixTables.getInstance(),h=y.prefixes,g=h.length;for(let w=0;w{"use strict";A.n=void 0;var l=o(6395),u=function(b){if(b&&b.__esModule)return b;if(null===b||"object"!=typeof b&&"function"!=typeof b)return{default:b};var h=c();if(h&&h.has(b))return h.get(b);var g={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in b)if(Object.prototype.hasOwnProperty.call(b,C)){var P=s?Object.getOwnPropertyDescriptor(b,C):null;P&&(P.get||P.set)?Object.defineProperty(g,C,P):g[C]=b[C]}return g.default=b,h&&h.set(b,g),g}(o(4693));function c(){if("function"!=typeof WeakMap)return null;var b=new WeakMap;return c=function(){return b},b}var d=o(5424).Ucum,m=o(8334).UnitTables,p=o(5744).T;class y{constructor(){0===m.getInstance().unitsCount()&&l.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=p.getInstance()}useHTMLInMessages(h){void 0===h&&(h=!0),this.uStrParser_.useHTMLInMessages(h)}useBraceMsgForEachString(h){void 0===h&&(h=!0),this.uStrParser_.useBraceMsgForEachString(h)}validateUnitString(h,g,s){void 0===g&&(g=!1),void 0===s&&(s="validate");let C=this.getSpecifiedUnit(h,s,g),P=C.unit,w={};return w=P?{status:C.origString===h?"valid":"invalid",ucumCode:C.origString,unit:{code:P.csCode_,name:P.name_,guidance:P.guidance_}}:{status:C.origString&&null!==C.origString?"invalid":"error",ucumCode:null},C.suggestions&&(w.suggestions=C.suggestions),w.msg=C.retMsg,w}convertUnitTo(h,g,s,C,P){void 0===C&&(C=!1),void 0===P&&(P=null);let w={status:"failed",toVal:null,msg:[]};if(h&&(h=h.trim()),(!h||""==h)&&(w.status="error",w.msg.push('No "from" unit expression specified.')),(null===g||isNaN(g)||"number"!=typeof g&&!u.isNumericString(g))&&(w.status="error",w.msg.push('No "from" value, or an invalid "from" value, was specified.')),s&&(s=s.trim()),(!s||""==s)&&(w.status="error",w.msg.push('No "to" unit expression specified.')),"error"!==w.status)try{let D=null,T=this.getSpecifiedUnit(h,"convert",C);D=T.unit,T.retMsg&&(w.msg=w.msg.concat(T.retMsg)),T.suggestions&&(w.suggestions={},w.suggestions.from=T.suggestions),D||w.msg.push(`Unable to find a unit for ${h}, so no conversion could be performed.`);let Y=null;if(T=this.getSpecifiedUnit(s,"convert",C),Y=T.unit,T.retMsg&&(w.msg=w.msg.concat(T.retMsg)),T.suggestions&&(w.suggestions||(w.suggestions={}),w.suggestions.to=T.suggestions),Y||w.msg.push(`Unable to find a unit for ${s}, so no conversion could be performed.`),D&&Y)try{if(P){if(0!==D.moleExp_&&0!==Y.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===D.moleExp_&&0===Y.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(!D.isMoleMassCommensurable(Y))throw new Error(`Sorry. ${h} cannot be converted to ${s}.`);w.toVal=0!==D.moleExp_?D.convertMolToMass(g,Y,P):D.convertMassToMol(g,Y,P)}else w.toVal=Y.convertFrom(g,D);w.status="succeeded",w.fromUnit=D,w.toUnit=Y}catch($){w.status="failed",w.msg.push($.message)}}catch(D){w.status=D.message==d.needMoleWeightMsg_?"failed":"error",w.msg.push(D.message)}return w}checkSynonyms(h){let g={};return null==h?(g.status="error",g.msg="No term specified for synonym search."):g=u.getSynonyms(h),g}getSpecifiedUnit(h,g,s){void 0===s&&(s=!1);let C={retMsg:[]};if(h){let P=m.getInstance();h=h.trim();let w=P.getUnitByCode(h);if(w)C.unit=w,C.origString=h;else try{let D=this.uStrParser_.parseString(h,g,s);C.unit=D[0],C.origString=D[1],D[2]&&(C.retMsg=D[2]),C.suggestions=D[3]}catch(D){console.log(`Unit requested for unit string ${h}.request unsuccessful; error thrown = `+D.message),C.retMsg.unshift(`${h} is not a valid unit. ${D.message}`)}}else C.retMsg.push("No unit string specified.");return C}commensurablesList(h){let g=[],s=null,C=this.getSpecifiedUnit(h,"validate",!1),P=C.unit;if(C.retMsg.length>0&&(g=C.retMsg),P){let w=null,D=P.getProperty("dim_");if(D){try{w=D.getProperty("dimVec_")}catch(T){g.push(T.message),"Dimension does not have requested property(dimVec_)"===T.message&&(w=null)}w&&(s=m.getInstance().getUnitsByDimension(w))}else g.push("No commensurable units were found for "+h)}else g.push(`Could not find unit ${h}.`);return[s,g]}}A.n=y,y.getInstance=function(){return new y}},1334:(he,A,o)=>{"use strict";A.ng=void 0,o(5424);var u=o(4854).n;A.ng=u,o(8334)},8897:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Unit=void 0;var h,n=(h=o(8287))&&h.__esModule?h:{default:h},l=function(h){if(h&&h.__esModule)return h;if(null===h||"object"!=typeof h&&"function"!=typeof h)return{default:h};var g=u();if(g&&g.has(h))return g.get(h);var s={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in h)if(Object.prototype.hasOwnProperty.call(h,P)){var w=C?Object.getOwnPropertyDescriptor(h,P):null;w&&(w.get||w.set)?Object.defineProperty(s,P,w):s[P]=h[P]}return s.default=h,g&&g.set(h,s),s}(o(4693));function u(){if("function"!=typeof WeakMap)return null;var h=new WeakMap;return u=function(){return h},h}var p,d=o(5424).Ucum,m=o(6227).R,y=o(5984);class b{constructor(g={}){this.isBase_=g.isBase_||!1,this.name_=g.name_||"",this.csCode_=g.csCode_||"",this.ciCode_=g.ciCode_||"",this.property_=g.property_||"",this.magnitude_=g.magnitude_||1,this.dim_=null==g.dim_?new m:void 0!==g.dim_.dimVec_?new m(g.dim_.dimVec_):g.dim_ instanceof m?g.dim_:g.dim_ instanceof Array||y(g.dim_)?new m(g.dim_):new m,this.printSymbol_=g.printSymbol_||null,this.class_=g.class_||null,this.isMetric_=g.isMetric_||!1,this.variable_=g.variable_||null,this.cnv_=g.cnv_||null,this.cnvPfx_=g.cnvPfx_||1,this.isSpecial_=g.isSpecial_||!1,this.isArbitrary_=g.isArbitrary_||!1,this.moleExp_=g.moleExp_||0,this.synonyms_=g.synonyms_||null,this.source_=g.source_||null,this.loincProperty_=g.loincProperty_||null,this.category_=g.category_||null,this.guidance_=g.guidance_||null,this.csUnitString_=g.csUnitString_||null,this.ciUnitString_=g.ciUnitString_||null,this.baseFactorStr_=g.baseFactorStr_||null,this.baseFactor_=g.baseFactor_||null,this.defError_=g.defError_||!1}assignUnity(){return this.name_="",this.magnitude_=1,this.dim_||(this.dim_=new m),this.dim_.assignZero(),this.cnv_=null,this.cnvPfx_=1,this}assignVals(g){for(let s in g){let C="_"===!s.charAt(s.length-1)?s+"_":s;if(!this.hasOwnProperty(C))throw new Error(`Parameter error; ${s} is not a property of a Unit`);this[C]=g[s]}}clone(){let g=new b;return Object.getOwnPropertyNames(this).forEach(s=>{"dim_"===s?g.dim_=this.dim_?this.dim_.clone():null:g[s]=this[s]}),g}assign(g){Object.getOwnPropertyNames(g).forEach(s=>{"dim_"===s?this.dim_=g.dim_?g.dim_.clone():null:this[s]=g[s]})}equals(g){return this.magnitude_===g.magnitude_&&this.cnv_===g.cnv_&&this.cnvPfx_===g.cnvPfx_&&(null===this.dim_&&null===g.dim_||this.dim_.equals(g.dim_))}fullEquals(g){let s=Object.keys(this).sort(),C=Object.keys(g).sort(),P=s.length,w=P===C.length;for(let D=0;D0){let s=g.replace("/","!").replace(".","/").replace("!",".");switch(s.charAt(0)){case".":g=s.substr(1);break;case"/":g=s;break;default:g="/"+s}}return g}_concatStrs(g,s,C,P,w){return this._buildOneString(g,P,w)+s+this._buildOneString(C,P,w)}_buildOneString(g,s,C){let P="";return P=l.isNumericString(g)||"("===g.charAt(0)||"["===g.charAt(0)?g:/[./* ]/.test(g)?s+g+C:g,P}power(g){if(null!=this.cnv_)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let C=this.csCode_.match(/([./]|[^./]+)/g),P=C.length;for(let w=0;w=0;$--){let z=parseInt(D[$]);if(!y(z)){if(("-"===D[$]||"+"===D[$])&&$--,${"use strict";A.T=void 0;var l=function(b){if(b&&b.__esModule)return b;if(null===b||"object"!=typeof b&&"function"!=typeof b)return{default:b};var h=u();if(h&&h.has(b))return h.get(b);var g={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in b)if(Object.prototype.hasOwnProperty.call(b,C)){var P=s?Object.getOwnPropertyDescriptor(b,C):null;P&&(P.get||P.set)?Object.defineProperty(g,C,P):g[C]=b[C]}return g.default=b,h&&h.set(b,g),g}(o(4693));function u(){if("function"!=typeof WeakMap)return null;var b=new WeakMap;return u=function(){return b},b}var r=o(5424).Ucum,d=o(8897).Unit,m=o(8334).UnitTables,p=o(5361).PrefixTables;class y{constructor(){this.utabs_=m.getInstance(),this.pfxTabs_=p.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(h){void 0===h||h?(this.openEmph_=r.openEmphHTML_,this.closeEmph_=r.closeEmphHTML_):(this.openEmph_=r.openEmph_,this.closeEmph_=r.closeEmph_)}useBraceMsgForEachString(h){this.bracesMsg_=void 0===h||h?r.bracesMsg_:""}parseString(h,g,s){if(""===(h=h.trim())||null===h)throw new Error("Please specify a unit expression to be validated.");"validate"===g?(this.vcMsgStart_=r.valMsgStart_,this.vcMsgEnd_=r.valMsgEnd_):(this.vcMsgStart_=r.cnvMsgStart_,this.vcMsgEnd_=r.cnvMsgEnd_),this.suggestions_=void 0===s||!1===s?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];let C=h,P=[];if(h=this._getAnnotations(h),this.retMsg_.length>0)P[0]=null,P[1]=null;else{let D=null;for(D in r.specUnits_)for(;-1!==h.indexOf(D);)h=h.replace(D,r.specUnits_[D]);if(h.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");P=this._parseTheString(h,C);let T=P[0];(l.isIntegerUnit(T)||"number"==typeof T)&&(T=new d({csCode_:C,magnitude_:T,name_:C}),P[0]=T)}return P[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(P[3]=this.suggestions_),P}_parseTheString(h,g){let s=null,C=this.retMsg_.length>0,P=this._processParens(h,g);C=P[2];let w=[];if(!C){let D=this._makeUnitsArray(h=P[0],g=P[1]);if(C=D[2],!C){w=D[0],g=D[1];let T=w.length;for(let Y=0;Y=0){let z=this._getParensUnit($,g);C||(C=z[1]),C||(w[Y].un=z[0])}else{let z=this._makeUnit($,g);null===z[0]?C=!0:(w[Y].un=z[0],g=z[1])}}}}return C||(null===w[0]||" "===w[0]||null==w[0].un)&&0===this.retMsg_.length&&(this.retMsg_.push(`Unit string (${g}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),C=!0),C||(s=this._performUnitArithmetic(w,g)),[s,g]}_getAnnotations(h){let g=h.indexOf("{");for(;g>=0;){let C=h.indexOf("}");if(C<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+h.substr(g)+this.closeEmph_),g=-1;else{let P=h.substring(g,C+1),w=this.annotations_.length.toString();h=h.replace(P,this.braceFlag_+w+this.braceFlag_),this.annotations_.push(P),g=h.indexOf("{")}}let s=h.indexOf("}");return s>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+h.substring(0,s+1)+this.closeEmph_),h}_processParens(h,g){let s=[],C=0,P=!1,w=this.parensUnits_.length,D=0;for(;""!==h&&!P;){let T=0,Y=0,$=h.indexOf("(");if($<0){let z=h.indexOf(")");if(z>=0){let G=`Missing open parenthesis for close parenthesis at ${h.substring(0,z+D)}${this.openEmph_}${h.substr(z,1)}${this.closeEmph_}`;z0&&(s[C++]=h.substr(0,$));let G=0,X=$+1;for(;X0&&(Y=h.substr(0,T-1));let $=h.lastIndexOf(this.parensFlag_),z=null;$+this.pFlagLen_=0){let X=this._getAnnoText(Y,g);if(X[1]||X[2])throw new Error(`Text found before the parentheses (${Y}) included an annotation along with other text for parenthetical unit ${P.csCode_}`);this.retMsg_.push(`The annotation ${X[0]} before the unit code is invalid.\n`+this.vcMsgStart_+(h+=X[0])+this.vcMsgEnd_)}else this.suggestions_?s="succeeded"!==this._getSuggestions(Y):(this.retMsg_.push(`${Y} preceding the unit code ${h} is invalid. Unable to make a substitution.`),s=!0);if(z)if(z.indexOf(this.braceFlag_)>=0){let X=this._getAnnoText(z,g);if(X[1]||X[2])throw new Error(`Text found after the parentheses (${z}) included an annotation along with other text for parenthetical unit ${P.csCode_}`);h+=X[0]}else l.isNumericString(z)?(h+=z,P=P.power(Number(z)),this.retMsg_.push(`An exponent (${z}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.\n `+this.vcMsgStart_+h+this.vcMsgEnd_)):this.suggestions_?s="succeeded"!==this._getSuggestions(Y):(this.retMsg_.push(`Text ${z} following the unit code ${h} is invalid. Unable to make a substitution.`),s=!0);return s||(P?l.isIntegerUnit(P)?P=new d({csCode_:P,magnitude_:P,name_:P}):P.csCode_=h:P=new d({csCode_:h,magnitude_:1,name_:h})),[P,s]}_getAnnoText(h,g){let s=h.indexOf(this.braceFlag_),C=s>0?h.substring(0,s):null;0!==s&&(h=h.substr(s));let P=h.indexOf(this.braceFlag_,1),w=P+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${D} found in ${h} that was created from ${g}`);return[h=this.annotations_[T],C,w]}_getSuggestions(h){let g=l.getSynonyms(h);if("succeeded"===g.status){let s={};s.msg=`${h} is not a valid UCUM code. We found possible units that might be what was meant:`,s.invalidUnit=h;let C=g.units.length;s.units=[];for(let P=0;P=0){let C=this._getUnitWithAnnotation(h,g);s=C[0],s&&(g=C[1])}else{if(h.indexOf("^")>-1){let C=h.replace("^","*");s=this.utabs_.getUnitByCode(C),s&&(s=s.clone(),s.csCode_=s.csCode_.replace("*","^"),s.ciCode_=s.ciCode_.replace("*","^"))}if(!s){let C="["+h+"]";s=this.utabs_.getUnitByCode(C),s&&(s=s.clone(),g=g.replace(h,C),this.retMsg_.push(`${h} is not a valid unit expression, but ${C} is.\n`+this.vcMsgStart_+`${C} (${s.name_})${this.vcMsgEnd_}`))}if(!s){let C=this.utabs_.getUnitByName(h);if(C&&C.length>0){s=C[0].clone();let P="The UCUM code for "+h+" is "+s.csCode_+".\n"+this.vcMsgStart_+s.csCode_+this.vcMsgEnd_,w=!1;for(let Y=0;Y"+xe+"",csCode_:me+xe,ciCode_:q+xe,printSymbol_:ue+""+xe+""})}}else s=null,this.suggestions_?this._getSuggestions(C):this.retMsg_.push(`${C} is not a valid UCUM code.`)}}return[s,g]}_getUnitWithAnnotation(h,g){let s=null,C=this._getAnnoText(h,g),P=C[0],w=C[1],D=C[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);let T=this.retMsg_.length;if(w||D)if(w&&!D)if(l.isIntegerUnit(w))s=w;else{let Y=this._makeUnit(w,g);Y[0]?(s=Y[0],s.csCode_+=P,g=Y[1]):this.retMsg_.push(`Unable to find a unit for ${w} that precedes the annotation ${P}.`)}else if(!w&&D)if(l.isIntegerUnit(D))s=D+P,this.retMsg_.push(`The annotation ${P} before the ``${D} is invalid.\n`+this.vcMsgStart_+s+this.vcMsgEnd_);else{let Y=this._makeUnit(D,g);Y[0]?(s=Y[0],s.csCode_+=P,g=s.csCode_,this.retMsg_.push(`The annotation ${P} before the unit code is invalid.\n`+this.vcMsgStart_+s.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${w} that follows the annotation ${P}.`)}else this.retMsg_.push(`Unable to find a unit for ${w}${P}${D}.\nWe are not sure how to interpret text both before and after the annotation. Sorry`);else{let Y="["+P.substring(1,P.length-1)+"]",$=this._makeUnit(Y,g);$[0]?(s=$[0],g=g.replace(P,Y),this.retMsg_.push(`${P} is not a valid unit expression, but ${Y} is.\n`+this.vcMsgStart_+`${Y} (${s.name_})${this.vcMsgEnd_}`)):(this.retMsg_.length>T&&this.retMsg_.pop(),h=1,s=1)}return[s,g]}_performUnitArithmetic(h,g){let s=h[0].un;l.isIntegerUnit(s)&&(s=new d({csCode_:s,magnitude_:Number(s),name_:s}));let C=h.length,P=!1;for(let w=1;w{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.UnitTables=void 0;var n=o(5424).Ucum,u=new class{constructor(){this.unitNames_={},this.unitCodes_={},this.codeOrder_=[],this.unitStrings_={},this.unitDimensions_={},this.unitSynonyms_={},this.massDimIndex_=0}unitsCount(){return Object.keys(this.unitCodes_).length}addUnit(d){d.name_&&this.addUnitName(d),this.addUnitCode(d),this.addUnitString(d);try{d.dim_.getProperty("dimVec_")&&this.addUnitDimension(d)}catch(p){}}addUnitName(d){let m=d.name_;if(!m)throw new Error(`UnitTables.addUnitName called for a unit with no name. Unit code = ${d.csCode_}.`);this.unitNames_[m]?this.unitNames_[m].push(d):this.unitNames_[m]=[d]}addUnitCode(d){let m=d.csCode_;if(!m)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[m])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${m}`);if(this.unitCodes_[m]=d,this.codeOrder_.push(m),"g"==m){let p=d.dim_.dimVec_,y=0;for(;y=1&&(p=d.substr(m+n.codeSep_.length),d=d.substr(0,m));let y=this.unitNames_[d];if(y){let b=y.length;if(p&&b>1){let h=0;for(;y[h].csCode_!==p&&h0&&(p+=m),"dim_"===d[w])p+=null!=P.dim_&&P.dim_.dimVec_ instanceof Array?"["+P.dim_.dimVec_.join(",")+"]":"";else{let D=P[d[w]];p+="string"==typeof D?D.replace(/[\n\r]/g," "):D}p+="\r\n"}}return p}printUnits(d,m){void 0===d&&(d=!1),void 0===m&&(m="|");let p="",y=this.codeOrder_.length,b="csCode"+m;d&&(b+="ciCode"+m),b+="name"+m,d&&(b+="isBase"+m),b+="magnitude"+m+"dimension"+m+"from unit(s)"+m+"value"+m+"function"+m,d&&(b+="property"+m+"printSymbol"+m+"synonyms"+m+"source"+m+"class"+m+"isMetric"+m+"variable"+m+"isSpecial"+m+"isAbitrary"+m),b+="comment",p=b+"\n";for(let h=0;h{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.AppComponent=void 0;const n=o(655),c=(o(6165),o(2466),(0,n.__importStar)(o(5e3))),r=(0,n.__importStar)(o(2466)),d=(0,n.__importStar)(o(6165)),m=(0,n.__importStar)(o(4594)),p=(0,n.__importStar)(o(4202)),y=(0,n.__importStar)(o(7423)),b=(0,n.__importStar)(o(2181)),h=(0,n.__importStar)(o(5245));class g{constructor(C,P){C.setDefaultLang("de"),C.use(C.getBrowserLang());let w=location.href;w.indexOf("#")>0?w=w.substring(0,w.indexOf("#")-1)+"/fhir":w+="fhir",console.log("note: using fhir base "+w),P.changeMagMicroService(w)}}A.AppComponent=g,g.\u0275fac=function(C){return new(C||g)(c.\u0275\u0275directiveInject(r.TranslateService),c.\u0275\u0275directiveInject(d.FhirConfigService))},g.\u0275cmp=c.\u0275\u0275defineComponent({type:g,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(C,P){if(1&C&&(c.\u0275\u0275elementStart(0,"mat-toolbar",0),c.\u0275\u0275elementStart(1,"div",1),c.\u0275\u0275elementStart(2,"div",2),c.\u0275\u0275element(3,"img",3),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(4,"span",4),c.\u0275\u0275elementStart(5,"span"),c.\u0275\u0275elementStart(6,"button",5),c.\u0275\u0275elementStart(7,"mat-icon"),c.\u0275\u0275text(8,"more_vert"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(9,"mat-menu",null,6),c.\u0275\u0275elementStart(11,"button",7),c.\u0275\u0275elementStart(12,"mat-icon"),c.\u0275\u0275text(13,"home"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(14,"span"),c.\u0275\u0275text(15,"Home"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(16,"button",8),c.\u0275\u0275elementStart(17,"mat-icon"),c.\u0275\u0275text(18,"info"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(19,"span"),c.\u0275\u0275text(20,"CapabilityStatement"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(21,"button",9),c.\u0275\u0275elementStart(22,"mat-icon"),c.\u0275\u0275text(23,"search"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(24,"span"),c.\u0275\u0275text(25,"Mobile Access Gateway ..."),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(26,"button",10),c.\u0275\u0275elementStart(27,"mat-icon"),c.\u0275\u0275text(28,"people"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(29,"span"),c.\u0275\u0275text(30,"search Patients ..."),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(31,"button",11),c.\u0275\u0275elementStart(32,"mat-icon"),c.\u0275\u0275text(33,"settings"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(34,"span"),c.\u0275\u0275text(35,"Settings"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(36,"main",12),c.\u0275\u0275element(37,"router-outlet"),c.\u0275\u0275elementEnd()),2&C){const w=c.\u0275\u0275reference(10);c.\u0275\u0275advance(6),c.\u0275\u0275property("matMenuTriggerFor",w)}},directives:[m.MatToolbar,p.RouterLink,y.MatButton,b.MatMenuTrigger,h.MatIcon,b.MatMenu,b.MatMenuItem,p.RouterOutlet],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}}"]})},6747:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.AppModule=A.createTranslateLoader=void 0;const n=o(655),l=o(520),u=o(4202),c=o(2466),r=o(1744),d=o(5041),m=o(7901),p=o(5067),y=o(9862),b=o(4586),h=o(4466),g=o(2756),s=o(5764),C=o(6114),P=(0,n.__importStar)(o(5e3)),Y=((0,n.__importStar)(o(4202)),(0,n.__importStar)(o(2466)),(0,n.__importStar)(o(6114)),[{path:"",component:p.HomeComponent},{path:"patients",component:y.PatientsComponent},{path:"CapabilityStatement",component:m.CapabilityStatementComponent},{path:"settings",component:b.SettingsComponent},{path:"mag",component:s.MagComponent}]);function $(G){return new r.TranslateHttpLoader(G,"./assets/i18n/",".json")}A.createTranslateLoader=$;class z{}A.AppModule=z,z.\u0275fac=function(X){return new(X||z)},z.\u0275mod=P.\u0275\u0275defineNgModule({type:z,bootstrap:[d.AppComponent]}),z.\u0275inj=P.\u0275\u0275defineInjector({providers:[{provide:g.HIGHLIGHT_OPTIONS,useValue:{coreLibraryLoader:()=>Promise.resolve().then(()=>(0,n.__importStar)(o(5241))),lineNumbersLoader:()=>Promise.resolve().then(()=>(0,n.__importStar)(o(859))),languages:{json:()=>Promise.resolve().then(()=>(0,n.__importStar)(o(7652))),xml:()=>Promise.resolve().then(()=>(0,n.__importStar)(o(1891)))}}}],imports:[[h.SharedModule,l.HttpClientModule,g.HighlightModule,u.RouterModule.forRoot(Y,{useHash:!0,relativeLinkResolution:"legacy"}),c.TranslateModule.forRoot({loader:{provide:c.TranslateLoader,useFactory:$,deps:[l.HttpClient]}}),C.OAuthModule.forRoot()]]})},7901:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CapabilityStatementComponent=void 0;const n=o(655),u=(o(6165),(0,n.__importStar)(o(5e3))),c=(0,n.__importStar)(o(6165)),r=(0,n.__importStar)(o(9224)),d=(0,n.__importStar)(o(2756)),m=(0,n.__importStar)(o(9808)),p=(0,n.__importStar)(o(7322));function y(g,s){if(1&g&&(u.\u0275\u0275elementStart(0,"li"),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&g){const C=s.$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",C.diagnostics," ")}}function b(g,s){if(1&g&&(u.\u0275\u0275elementStart(0,"mat-error"),u.\u0275\u0275elementStart(1,"ul"),u.\u0275\u0275template(2,y,2,1,"li",3),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd()),2&g){const C=u.\u0275\u0275nextContext();u.\u0275\u0275advance(2),u.\u0275\u0275property("ngForOf",C.operationOutcome.issue)}}class h{constructor(s){this.data=s,this.client=s.getMobileAccessGatewayClient(),this.client.capabilityStatement().then(C=>{this.operationOutcome=void 0,this.capabilitystatement=C}).catch(C=>{this.capabilitystatement=void 0,this.operationOutcome=C.response.data})}getJson(){return JSON.stringify(this.capabilitystatement,null,2)}ngOnInit(){}ngOnDestroy(){}}A.CapabilityStatementComponent=h,h.\u0275fac=function(s){return new(s||h)(u.\u0275\u0275directiveInject(c.FhirConfigService))},h.\u0275cmp=u.\u0275\u0275defineComponent({type:h,selectors:[["app-capability-statement"]],decls:8,vars:4,consts:[[1,"display"],[3,"highlight","lineNumbers"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(s,C){1&s&&(u.\u0275\u0275elementStart(0,"mat-card",0),u.\u0275\u0275elementStart(1,"mat-card-content"),u.\u0275\u0275elementStart(2,"mat-card-header"),u.\u0275\u0275elementStart(3,"mat-card-title"),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"pre"),u.\u0275\u0275element(6,"code",1),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(7,b,3,1,"mat-error",2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd()),2&s&&(u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(C.client.baseUrl),u.\u0275\u0275advance(2),u.\u0275\u0275property("highlight",C.getJson())("lineNumbers",!0),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",C.operationOutcome))},directives:[r.MatCard,r.MatCardContent,r.MatCardHeader,r.MatCardTitle,d.Highlight,m.NgIf,p.MatError,m.NgForOf],styles:[".display[_ngcontent-%COMP%]{display:inline-block}"]})},6165:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.FhirConfigService=void 0;const n=o(655),l=(0,n.__importDefault)(o(6336)),u=(0,n.__importStar)(o(5e3));class c{constructor(){}changeFhirMicroService(d){localStorage.setItem("fhirMicroServer",d)}changeMagMicroService(d){localStorage.setItem("magMicroService",d)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")||"/matchbox/fhir"}getMobileAccessGatewayService(){return localStorage.getItem("magMicroService")||"/mag/fhir"}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 l.default({baseUrl:this.getFhirMicroService()})}getMobileAccessGatewayClient(){return new l.default({baseUrl:this.getMobileAccessGatewayService()})}getAuthCodeFlowConfig(){return{loginUrl:this.getMobileAccessGatewayLoginUrl(),redirectUri:this.getRedirectUri(),tokenEndpoint:this.getMobileAccessGatewayTokenEndpoint(),clientId:this.getClientId(),responseType:"code",scope:"todo",dummyClientSecret:this.getClientSecret(),showDebugInformation:!0,timeoutFactor:.75}}}A.FhirConfigService=c,c.\u0275fac=function(d){return new(d||c)},c.\u0275prov=u.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})},6315:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.FhirPathService=void 0;const n=o(655),l=o(2729),u=(0,n.__importStar)(o(5e3));class c{evaluate(d,m){return(0,l.evaluate)(d,m,null)}evaluateToString(d,m){const p=this.evaluate(d,m);return p&&p instanceof Array&&1===p.length?p[0]:null}getOauthUriToken(d){return this.evaluateToString(d,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(d){return this.evaluateToString(d,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}}A.FhirPathService=c,c.\u0275fac=function(d){return new(d||c)},c.\u0275prov=u.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})},5067:(he,A,o)=>{"use strict";var n=o(8926).default;Object.defineProperty(A,"__esModule",{value:!0}),A.HomeComponent=void 0;const l=o(655),c=(o(4202),(0,l.__importDefault)(o(4147))),r=(0,l.__importStar)(o(5e3)),d=(0,l.__importStar)(o(4202)),m=(0,l.__importStar)(o(9224)),p=(0,l.__importStar)(o(2181)),y=(0,l.__importStar)(o(5245));class b{constructor(g){this.router=g,this.version=c.default.version}update(g){}tabChanged(g){console.log("tabChangeEvent => ",g),console.log("index => ",g.index),this.update(g.index)}ngOnInit(){var g=this;return n(function*(){g.update(0)})()}}A.HomeComponent=b,b.\u0275fac=function(g){return new(g||b)(r.\u0275\u0275directiveInject(d.Router))},b.\u0275cmp=r.\u0275\u0275defineComponent({type:b,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(g,s){1&g&&(r.\u0275\u0275elementStart(0,"mat-card",0),r.\u0275\u0275elementStart(1,"mat-card-content"),r.\u0275\u0275elementStart(2,"button",1),r.\u0275\u0275elementStart(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\u0275elementEnd(),r.\u0275\u0275elementStart(7,"button",2),r.\u0275\u0275elementStart(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\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"mat-card-footer"),r.\u0275\u0275elementStart(13,"p"),r.\u0275\u0275text(14),r.\u0275\u0275elementStart(15,"a",3),r.\u0275\u0275text(16,"contact"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&g&&(r.\u0275\u0275advance(14),r.\u0275\u0275textInterpolate1("version: ",s.version," "))},directives:[m.MatCard,m.MatCardContent,p.MatMenuItem,d.RouterLink,y.MatIcon,m.MatCardFooter],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}"]})},5764:(he,A,o)=>{"use strict";var n=o(8926).default;Object.defineProperty(A,"__esModule",{value:!0}),A.MagComponent=A.toLocaleDateTime=A.toLocaleTime=A.toLocaleHHMM=A.toLocaleDate=void 0;const l=o(655),r=(o(5e3),o(6165),o(3075)),m=(o(6315),o(520)),p=o(1464),y=o(8231),b=o(6346),h=o(6114),s=(o(4202),(0,l.__importStar)(o(5e3))),C=(0,l.__importStar)(o(6165)),P=(0,l.__importStar)(o(6315)),w=(0,l.__importStar)(o(520)),D=(0,l.__importStar)(o(6114)),T=(0,l.__importStar)(o(4202)),Y=(0,l.__importStar)(o(9224)),$=(0,l.__importStar)(o(7322)),z=(0,l.__importStar)(o(7531)),G=(0,l.__importStar)(o(3075)),X=(0,l.__importStar)(o(9808)),Q=(0,l.__importStar)(o(7423)),q=(0,l.__importStar)(o(6346)),ue=(0,l.__importStar)(o(68)),me=(0,l.__importStar)(o(2756)),xe=(0,l.__importStar)(o(773)),pe=(0,l.__importStar)(o(5245));function oe(Oe,ve){1&Oe&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275element(1,"mat-progress-spinner",42),s.\u0275\u0275elementContainerEnd())}function ae(Oe,ve){if(1&Oe){const Ae=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275elementStart(1,"button",28),s.\u0275\u0275listener("click",function(){return s.\u0275\u0275restoreView(Ae),s.\u0275\u0275nextContext().onFetchPatient()}),s.\u0275\u0275text(2," get Patient "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementContainerEnd()}}function U(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275element(2,"br"),s.\u0275\u0275text(3,"\xa0"),s.\u0275\u0275element(4,"br"),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext(2);s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate3(" ",null==Ae.patient.name[0]?null:Ae.patient.name[0].given," ",null==Ae.patient.name[0]?null:Ae.patient.name[0].family,", ",Ae.patient.birthDate," ")}}function ie(Oe,ve){if(1&Oe){const Ae=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275template(1,U,5,3,"div",3),s.\u0275\u0275elementStart(2,"div"),s.\u0275\u0275elementStart(3,"mat-form-field",1),s.\u0275\u0275elementStart(4,"mat-label"),s.\u0275\u0275text(5,"sourceIdentifier system"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(6,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(7," \xa0 "),s.\u0275\u0275elementStart(8,"mat-form-field",1),s.\u0275\u0275elementStart(9,"mat-label"),s.\u0275\u0275text(10,"sourceIdentifier value"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(11,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(12,"div"),s.\u0275\u0275elementStart(13,"mat-form-field",1),s.\u0275\u0275elementStart(14,"mat-label"),s.\u0275\u0275text(15,"managingOrganization oid"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(16,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(17," \xa0 "),s.\u0275\u0275elementStart(18,"mat-form-field",1),s.\u0275\u0275elementStart(19,"mat-label"),s.\u0275\u0275text(20,"managingOrganization name"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(21,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(22,"mat-card-actions"),s.\u0275\u0275elementStart(23,"button",4),s.\u0275\u0275listener("click",function(){return s.\u0275\u0275restoreView(Ae),s.\u0275\u0275nextContext().onPIXmFeedAdd()}),s.\u0275\u0275text(24," PIXm Feed - Add Identifier "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementContainerEnd()}if(2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.patient.name),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceAddIdentifierSystem),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceAddIdentifierValue),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceManagingOrganizationOid),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceManagingOrganizationName)}}function le(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275elementStart(1,"pre"),s.\u0275\u0275element(2,"code",43),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("highlight",Ae.getScopes())}}function Ce(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",44),s.\u0275\u0275text(1,"Description"),s.\u0275\u0275elementEnd())}function Te(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"mat-cell",44),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",Ae.description," ")}}function Ke(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",45),s.\u0275\u0275text(1,"Title"),s.\u0275\u0275elementEnd())}function tt(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"mat-cell",45),s.\u0275\u0275elementStart(1,"div"),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate1(" ",Ae.content[0].attachment.title," ")}}function ot(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",46),s.\u0275\u0275text(1,"Title"),s.\u0275\u0275elementEnd())}function pt(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"mat-cell",46),s.\u0275\u0275elementStart(1,"div"),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate1(" ",Ae.content[0].attachment.contentType," ")}}function Dt(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",47),s.\u0275\u0275text(1,"formatCode"),s.\u0275\u0275elementEnd())}function Ie(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"mat-cell",47),s.\u0275\u0275elementStart(1,"div"),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate1(" ",Ae.content[0].format.code," ")}}function Qe(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",48),s.\u0275\u0275text(1,"Actions"),s.\u0275\u0275elementEnd())}function ct(Oe,ve){if(1&Oe){const Ae=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"mat-cell",48),s.\u0275\u0275elementStart(1,"button",49),s.\u0275\u0275listener("click",function(){const Ft=s.\u0275\u0275restoreView(Ae).$implicit;return s.\u0275\u0275nextContext().onRemove(Ft)}),s.\u0275\u0275elementStart(2,"mat-icon"),s.\u0275\u0275text(3,"remove"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(4,"button",49),s.\u0275\u0275listener("click",function(){const Ft=s.\u0275\u0275restoreView(Ae).$implicit;return s.\u0275\u0275nextContext().onReplace(Ft)}),s.\u0275\u0275elementStart(5,"mat-icon"),s.\u0275\u0275text(6,"reply"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(7,"button",49),s.\u0275\u0275listener("click",function(){const Ft=s.\u0275\u0275restoreView(Ae).$implicit;return s.\u0275\u0275nextContext().onDownloadDocumentReferenceAttachment(Ft)}),s.\u0275\u0275elementStart(8,"mat-icon"),s.\u0275\u0275text(9,"download"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()}}function bt(Oe,ve){1&Oe&&s.\u0275\u0275element(0,"mat-header-row")}function Et(Oe,ve){1&Oe&&s.\u0275\u0275element(0,"mat-row")}function xt(Oe,ve){1&Oe&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275element(1,"mat-progress-spinner",42),s.\u0275\u0275elementContainerEnd())}function dt(Oe,ve){if(1&Oe){const Ae=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275elementStart(1,"mat-card-actions"),s.\u0275\u0275elementStart(2,"button",28),s.\u0275\u0275listener("click",function(){return s.\u0275\u0275restoreView(Ae),s.\u0275\u0275nextContext().onPdf()}),s.\u0275\u0275text(3,"Pdf"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementContainerEnd()}}function Ne(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" Replace Document with ",Ae.replaceDocumentReference.identifier[0].value," ")}}function rt(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate3(" ",Ae.descr,": ",Ae.existingUuid," -> ",Ae.newUuid," ")}}function ze(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(Ae.errMsgAssignPatient)}}function yt(Oe,ve){1&Oe&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275element(1,"mat-progress-spinner",42),s.\u0275\u0275elementContainerEnd())}function mt(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(Ae.errMsg)}}const _e=function(){return["name","title","contentType","formatCode","action"]},Z=Oe=>String(Math.floor(Math.abs(Oe))).padStart(2,"0");function N(Oe){const ve=-Oe.getTimezoneOffset(),Ae=ve>=0?"+":"-",nt=`${Z(ve/60)}:${Z(ve%60)}`;return`${(0,A.toLocaleDate)(Oe)}T${(0,A.toLocaleTime)(Oe)}${Ae}${nt}`}A.toLocaleDate=Oe=>`${Oe.getFullYear()}-${Z(Oe.getMonth()+1)}-${Z(Oe.getDate())}`,A.toLocaleHHMM=Oe=>`${Z(Oe.getHours())}:${Z(Oe.getMinutes())}`,A.toLocaleTime=Oe=>`${(0,A.toLocaleHHMM)(Oe)}:${Z(Oe.getSeconds())}`,A.toLocaleDateTime=N;class Ue{constructor(ve,Ae,nt,Pt,Ft,gt){this.data=ve,this.fhirPathService=Ae,this.http=nt,this.cd=Pt,this.oauthService=Ft,this.router=gt,this.searchGivenValue="",this.searchFamilyValue="",this.replaceUuids=new Array,this.pageIndex=0,this.dataSource=new b.MatTableDataSource,this.length=100,this.pageSize=10,this.inMhdQueryProgress=!1,this.inMhdUploadProgress=!1,this.inPixmProgress=!1,this.mag=ve.getMobileAccessGatewayClient(),this.mag.capabilityStatement().then($e=>this.setJson(JSON.stringify($e,null,2))),this.sourceIdentifierSystem=new r.FormControl,this.sourceIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.sourceIdentifierSystem","urn:oid:2.16.756.5.30.1.196.3.2.1")),this.sourceIdentifierValue=new r.FormControl,this.sourceIdentifierValue.setValue(this.getLocalStorageItemOrDefault("mag.sourceIdentifierValue","MAGMED001")),this.sourceAddIdentifierSystem=new r.FormControl,this.sourceAddIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.sourceAddIdentifierSystem","urn:oid:2.16.756.5.30.1.196.3.2.1")),this.sourceAddIdentifierValue=new r.FormControl,this.sourceAddIdentifierValue.setValue(this.getLocalStorageItemOrDefault("mag.sourceAddIdentifierValue","MAGMED001")),this.sourceManagingOrganizationOid=new r.FormControl,this.sourceManagingOrganizationOid.setValue(this.getLocalStorageItemOrDefault("mag.sourceManagingOrganizationOid","urn:oid:1.3.6.1.4.1.21367.2017.2.7.109")),this.sourceManagingOrganizationName=new r.FormControl,this.sourceManagingOrganizationName.setValue(this.getLocalStorageItemOrDefault("mag.sourceManagingOrganizationName","TESTORG")),this.targetIdentifierSystem=new r.FormControl,this.targetIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.targetIdentifierSystem","urn:oid:2.16.756.5.30.1.191.1.0.2.1")),this.targetIdentifier2System=new r.FormControl,this.targetIdentifier2System.setValue(this.getLocalStorageItemOrDefault("mag.targetIdentifier2System","urn:oid:2.16.756.5.30.1.127.3.10.3")),this.serviceStartFrom=new r.FormControl,this.serviceStartFrom.setValue(this.getLocalStorageItemOrDefault("mag.serviceStartFrom","")),this.serviceStartTo=new r.FormControl,this.serviceStartTo.setValue(this.getLocalStorageItemOrDefault("mag.serviceStartTo","")),this.serviceEndFrom=new r.FormControl,this.serviceEndFrom.setValue(this.getLocalStorageItemOrDefault("mag.serviceEndFrom","")),this.serviceEndTo=new r.FormControl,this.serviceEndTo.setValue(this.getLocalStorageItemOrDefault("mag.serviceEndTo","")),this.authenticate=new r.FormControl,this.authenticate.setValue(this.getLocalStorageItemOrDefault("mag.authenticate","HCP")),this.documentType=new r.FormControl,this.documentType.setValue(this.getLocalStorageItemOrDefault("mag.documentType","APPC")),this.documentConfidentiality=new r.FormControl,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.FormControl,this.iheSourceId.setValue("urn:oid:2.16.756.5.30.1.145.20.1"),this.searchGiven=new r.FormControl,this.searchFamily=new r.FormControl,this.documentDescription=new r.FormControl,this.documentDescription.setValue(this.getLocalStorageItemOrDefault("mag.documentType","Titel")),this.masterIdentifier=new r.FormControl,this.masterIdentifier.setValue((0,p.v4)()),this.creationTime=new r.FormControl,this.creationTime.setValue(N(new Date)),this.languageCode=new r.FormControl,this.languageCode.setValue(this.getLocalStorageItemOrDefault("mag.languageCode","de-CH")),this.fhirConfigService=ve,Ft.configure(this.fhirConfigService.getAuthCodeFlowConfig()),Ft.tryLoginCodeFlow().then($e=>{this.scopes=this.oauthService.getGrantedScopes()}),Ft.events.subscribe($e=>{$e instanceof h.OAuthErrorEvent?console.error($e):console.warn($e)}),this.pdf="",this.replaceDocumentReference=null}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.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(ve,Ae){return localStorage.getItem(ve)||Ae}setLocaleStorageItem(ve,Ae){return localStorage.setItem(ve,Ae),Ae}setJson(ve){this.json=ve}getJson(){return this.json}getScopes(){return this.scopes?JSON.stringify(this.scopes,null,2):""}ngOnInit(){}ngOnDestroy(){}setPixmQueryResult(ve){this.inPixmProgress=!1,this.setJson(JSON.stringify(ve,null,2)),this.targetIdentifierValue=this.fhirPathService.evaluateToString(ve,"parameter.valueIdentifier.where(system='"+this.targetIdentifierSystem.value+"').value"),this.targetIdentifier2Value=this.fhirPathService.evaluateToString(ve,"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(ve,"parameter.valueReference.reference"),this.cache()}setPatientFetchResult(ve){this.inPixmProgress=!1,this.patient=ve,this.setJson(JSON.stringify(ve,null,2)),this.cache()}setPIXmFeedAddResult(ve){this.inPixmProgress=!1,this.patient=void 0,this.setJson(JSON.stringify(ve,null,2)),this.cache()}onPIXmQuery(){this.targetIdentifierValue="",this.targetIdentifier2Value="",this.patient=void 0,this.inPixmProgress=!0,this.cache();let ve="sourceIdentifier="+encodeURIComponent(this.sourceIdentifierSystem.value+"|"+this.sourceIdentifierValue.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifierSystem.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifier2System.value);this.mag.operation({name:"$ihe-pix?"+ve,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(Ae=>this.setPixmQueryResult(Ae)).catch(Ae=>{this.setJson(JSON.stringify(Ae,null,2)),this.targetIdentifierValue="",this.targetIdentifier2Value="",this.targetId="",this.cache(),this.inPixmProgress=!1})}getPatient(){const ve=this.targetId.substring(this.targetId.indexOf("Patient/")+8);return this.mag.read({resourceType:"Patient",id:ve,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 ve=this;return n(function*(){ve.patient=void 0,ve.inPixmProgress=!0,ve.cache();try{ve.patient=yield ve.getPatient(),ve.setPatientFetchResult(ve.patient)}catch(Ae){ve.setJson(JSON.stringify(Ae,null,2)),ve.cache(),ve.inPixmProgress=!1}})()}onPIXmFeedAdd(){this.inPixmProgress=!0,this.patient.telecom&&delete this.patient.telecom,this.cache();let ve={identifier:this.sourceAddIdentifierSystem.value+"|"+this.sourceAddIdentifierValue.value},Ae={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(Ae),this.patient.managingOrganization={reference:"#org"},this.mag.update({resourceType:"Patient",body:this.patient,searchParams:ve,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}}).then(nt=>this.setPIXmFeedAddResult(nt)).catch(nt=>{this.setJson(JSON.stringify(nt,null,2)),this.cache(),this.inPixmProgress=!1})}onAuthenticate(){if(this.cache(),this.scopes=null,"HCP"===this.authenticate.value){let ve=this.fhirConfigService.getAuthCodeFlowConfig();ve.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|HCP`,this.oauthService.configure(ve),this.oauthService.initCodeFlow()}else"TCU"===this.authenticate.value?this.getSamlToken().then(ve=>this.json=ve):this.oauthService.logOut()}getAppcDocument(ve,Ae){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.documentDescription.setValue("Policy document"),this.documentType.setValue("APPC"),this.documentConfidentiality.setValue("NORM"),this.masterIdentifier.setValue("urn:uuid:"+(0,p.v4)()),this.xml=this.getAppcDocument(this.targetIdentifier2Value,this.masterIdentifier.value),this.setJson(this.xml)):this.errMsgAssignPatient="Error: select first Patient with PIXm Query"}getSimulatedSamlPmpAssertion(ve,Ae){return y.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==${Ae}http://ihe.connectathon.XUA/X-ServiceProvider-IHE-Connectathonurn:oasis:names:tc:SAML:2.0:ac:classes:unspecifiedIris Musterpatient${Ae}^^^&2.16.756.5.30.1.127.3.10.3&ISOurn:oid:3.3.3.1`)}getSimulatedSamlPmpTcuAssertion(ve,Ae,nt){return y.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${nt}^^^&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(ve){var Ae=this;return n(function*(){const Pt=yield(yield fetch("https://test.ahdis.ch/eprik-cara/camel/tcu",{cache:"no-store",headers:{Accept:"application/xml"}})).text(),gt=yield(yield fetch(Ae.fhirConfigService.getMobileAccessGatewayAssertionEndpoint(),{cache:"no-store",method:"POST",headers:{Scope:`person_id=${ve}^^^&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:Pt})).json();return Promise.resolve(gt.access_token)})()}setBundle(ve){ve?(this.bundle=ve,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry.map(Ae=>Ae.resource)):this.dataSource.data=null,this.dataSource.data=this.dataSource.data}setDocumentReferenceResult(ve){this.setJson(JSON.stringify(ve,null,2)),this.setBundle(ve)}findDocumentReferences(){var ve=this;return n(function*(){let Ae={status:"current","patient.identifier":encodeURIComponent(ve.targetIdentifierSystem.value+"|"+ve.targetIdentifierValue)},nt=yield ve.getSamlToken();return ve.mag.search({resourceType:"DocumentReference",searchParams:Ae,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+nt}}})})()}onFindDocumentReferences(){var ve=this;return n(function*(){ve.replaceDocumentReference=null,ve.inMhdQueryProgress=!0,ve.pdf="";try{const Ae=yield ve.findDocumentReferences();ve.setDocumentReferenceResult(Ae),ve.inMhdQueryProgress=!1}catch(Ae){ve.setJson(JSON.stringify(Ae,null,2)),ve.setBundle(null),ve.inMhdQueryProgress=!1}})()}findMedicationList(ve){var Ae=this;return n(function*(){var nt,Pt,Ft,gt;let Lt="patient.identifier="+encodeURIComponent(Ae.targetIdentifierSystem.value+"|"+Ae.targetIdentifierValue)+(ve?"&format="+encodeURIComponent(ve):"");(null===(nt=Ae.serviceStartFrom.value)||void 0===nt?void 0:nt.length)>0&&(Lt+=`&serviceStartFrom=${encodeURIComponent(Ae.serviceStartFrom.value)}`),(null===(Pt=Ae.serviceStartTo.value)||void 0===Pt?void 0:Pt.length)>0&&(Lt+=`&serviceStartTo=${encodeURIComponent(Ae.serviceStartTo.value)}`),(null===(Ft=Ae.serviceEndFrom.value)||void 0===Ft?void 0:Ft.length)>0&&(Lt+=`&serviceEndFrom=${encodeURIComponent(Ae.serviceEndFrom.value)}`),(null===(gt=Ae.serviceEndTo.value)||void 0===gt?void 0:gt.length)>0&&(Lt+=`&serviceEndTo=${encodeURIComponent(Ae.serviceEndTo.value)}`);const $e=yield Ae.getSamlToken();return Ae.mag.operation({name:"$find-medication-list?status=current&"+Lt,resourceType:"DocumentReference",method:"GET",options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+$e}}})})()}onFindMedicationList(){var ve=this;return n(function*(){ve.pdf="",ve.inMhdQueryProgress=!0,ve.cache();try{const Ae=yield ve.findMedicationList();ve.setDocumentReferenceResult(Ae),Ae.entry&&1==Ae.entry.length&&(yield ve.downloadDocumentReferenceAttachment(Ae.entry[0].resource)),ve.inMhdQueryProgress=!1}catch(Ae){ve.setJson(JSON.stringify(Ae,null,2)),ve.setBundle(null),ve.inMhdQueryProgress=!1}})()}onFindMedicationCard(){var ve=this;return n(function*(){ve.pdf="",ve.inMhdQueryProgress=!0,ve.cache();try{const Ae=yield ve.findMedicationList("urn:oid:2.16.756.5.30.1.127.3.10.10|urn:che:epr:ch-emed:medication-card:2022");if(ve.setDocumentReferenceResult(Ae),Ae.entry&&1==Ae.entry.length){const nt=yield ve.downloadDocumentReferenceAttachment(Ae.entry[0].resource),Pt=JSON.parse(nt);ve.pdf=ve.fhirPathService.evaluateToString(Pt,"entry.resource.where(resourceType='Binary').data")}ve.inMhdQueryProgress=!1}catch(Ae){ve.setJson(JSON.stringify(Ae,null,2)),ve.setBundle(null),ve.inMhdQueryProgress=!1}})()}getSamlToken(){var ve=this;return n(function*(){return"HCP"===ve.authenticate.value?Promise.resolve(ve.oauthService.getAccessToken()):"Patient"===ve.authenticate.value?Promise.resolve(ve.getSimulatedSamlPmpAssertion(N(new Date),ve.targetIdentifier2Value)):"TCU"===ve.authenticate.value?ve.getEprikTcuAssertion(ve.targetIdentifier2Value):null})()}downloadDocumentReferenceAttachment(ve){var Ae=this;return n(function*(){var nt;let Ft=(ve.content&&ve.content.length>0?ve.content[0].attachment.url:"undefined").replace("http://test.ahdis.ch/mag-pmp/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp/camel/xdsretrieve"),gt=Ft.replace("http://test.ahdis.ch/mag-pmp2/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp2/camel/xdsretrieve");const Lt=ve.content&&ve.content.length>0?null===(nt=ve.content[0].attachment)||void 0===nt?void 0:nt.contentType:"";if(Ae.selectedDocumentReference=ve,"application/pdf"===Lt){const $e=ve.content&&ve.content.length>0?ve.content[0].attachment.title:"undefined",_t=Ae,Mt=yield Ae.getSamlToken(),lt=yield(yield fetch(gt,{cache:"no-store",headers:{Authorization:"Bearer "+Mt,Accept:"application/pdf"}})).blob();return new Promise((Ot,Nt)=>{let Pe=new FileReader;Pe.onload=()=>{_t.downloadPdf(Pe.result.toString(),$e),Ot(Pe.result)},Pe.onerror=Nt,Pe.readAsDataURL(lt)})}{const $e=yield Ae.getSamlToken(),Mt={responseType:"text",headers:(new m.HttpHeaders).set("Authorization","Bearer "+$e)};return new Promise((Ge,lt)=>{Ae.http.get(Ft,Mt).subscribe({next:Ot=>{Ae.xml=Ot,Ae.setJson(Ot),Ge(Ae.xml)},error:Ot=>{lt(Ot)}})})}})()}onReplace(ve){var Ae=this;return n(function*(){Ae.replaceDocumentReference=ve})()}onRemove(ve){var Ae=this;return n(function*(){Ae.replaceDocumentReference=null;let nt={...ve};Ae.inMhdQueryProgress=!0,null==nt.extension&&(nt.extension=new Array),nt.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:Ae.iheSourceId.value}}),nt.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)"}}),nt.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"}}),nt.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 Pt=yield Ae.getSamlToken();try{let Ft=yield Ae.mag.update({resourceType:"DocumentReference",id:nt.id,body:nt,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0","content-type":"application/fhir+json;fhirVersion=4.0",Authorization:"Bearer "+Pt}}});Ae.setJson(JSON.stringify(Ft,null,2)),Ae.inMhdQueryProgress=!1,Ae.onFindDocumentReferences()}catch(Ft){Ae.setJson(JSON.stringify(Ft.response.data,null,2)),Ae.inMhdQueryProgress=!1}})()}onDownloadDocumentReferenceAttachment(ve){var Ae=this;return n(function*(){Ae.replaceDocumentReference=null,Ae.inMhdQueryProgress=!0,yield Ae.downloadDocumentReferenceAttachment(ve),Ae.inMhdQueryProgress=!1})()}canTransformToPdf(){return""!=this.pdf}downloadPdf(ve,Ae){const nt=document.createElement("a");nt.href=ve,nt.download=`${Ae}.pdf`,nt.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 Ae=`0x${(0,p.v4)().replace(/-/g,"")}`;return`2.25.${BigInt(Ae).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(ve){if(this.uploadBase64="",this.uploadContentType="",this.uploadBundle=null,this.json="",this.xml="",this.pdf="","application/json"===ve.contentType||ve.name.endsWith(".json")||"text/xml"===ve.contentType||ve.name.endsWith(".xml"))this.addText(ve);else{var Ae=new FileReader;const nt=this;Ae.readAsDataURL(ve.blob),Ae.onloadend=function(){let Pt=Ae.result.toString();Pt.startsWith("data:application/pdf;base64,")&&(nt.uploadBase64=Pt.substring("data:application/pdf;base64,".length),nt.uploadContentType="application/pdf",nt.documentType.setValue("PDF"))}}}addText(ve){const Ae=new FileReader;Ae.readAsText(ve.blob);const nt=this;this.documentDescription.setValue(ve.name),this.creationTime.setValue(N(new Date)),Ae.onload=()=>{("application/json"===ve.contentType||ve.name.endsWith(".json"))&&(this.uploadContentType="application/fhir+json",this.autoDetectFormat(Ae.result)),("text/xml"===ve.contentType||ve.name.endsWith(".xml"))&&(this.uploadContentType="text/xml",nt.documentType.setValue("XML"),nt.xml=Ae.result,nt.setJson(nt.xml))}}getResource(ve,Ae){var nt;return null===(nt=ve.entry.filter(Pt=>Pt.fullUrl.endsWith(Ae)).pop())||void 0===nt?void 0:nt.resource}autoDetectFormat(ve){this.documentType.setValue("JSON");const Ae=JSON.parse(ve);this.setJson(ve),Ae.hasOwnProperty("resourceType")&&"Bundle"===Ae.resourceType&&this.autoDetectBundle(Ae)}autoDetectBundle(ve){var Ae;if(this.creationTime.setValue(ve.timestamp),this.masterIdentifier.setValue(ve.identifier.value),"document"===ve.type&&(null===(Ae=ve.entry)||void 0===Ae?void 0:Ae.length)>0){const nt=ve.entry[0].resource,Pt=nt.type.coding.find(Ft=>"http://snomed.info/sct"===Ft.system);if(nt.language&&this.languageCode.setValue(nt.language),!Pt)return;switch(Pt.code){case"761931002":return this.uploadBundle=ve,void this.documentType.setValue("MTP");case"761938008":return this.uploadBundle=ve,void this.documentType.setValue("PRE");case"294121000195110":return this.uploadBundle=ve,void this.documentType.setValue("DIS");case"419891008":return this.uploadBundle=ve,void this.documentType.setValue("PADV")}}}assignMobileAccessPatient(){var ve=this;return n(function*(){if(ve.inMhdUploadProgress=!0,ve.errMsgAssignPatient="",null==ve.patient&&(ve.patient=yield ve.getPatient()),null==ve.patient)return void(ve.errMsgAssignPatient="Error: select first 'get Patient' from Mobile Access Gateway");if(null==ve.uploadBundle)return void(ve.errMsgAssignPatient="Error: need a FHIR Bundle in json format to assign the Patient");const Ae=ve.uploadBundle.entry.filter($e=>"Patient"===$e.resource.resourceType),nt={...ve.patient};nt.identifier=ve.patient.identifier.filter($e=>$e.system===ve.sourceIdentifierSystem.value),nt.identifier.find($e=>$e.system===ve.sourceIdentifierSystem.value).type={coding:[{system:"http://terminology.hl7.org/CodeSystem/v2-0203",code:"MR"}]},nt.name=Array(),nt.name[0]=ve.patient.name[0],Ae.forEach($e=>{const _t=$e.resource.id;$e.resource={...nt},$e.resource.id=_t});let Pt=JSON.stringify(ve.uploadBundle,null,2);const Ft=ve.uploadBundle.identifier.value,gt="urn:uuid:"+(0,p.v4)(),Lt=ve.replaceUuids.findIndex($e=>$e.existingUuid==Ft);-1==Lt?ve.replaceUuids.push({descr:ve.documentType.value,existingUuid:Ft,newUuid:gt}):ve.replaceUuids[Lt]={descr:ve.documentType.value,existingUuid:Ft,newUuid:gt},ve.replaceUuids.forEach($e=>Pt=Pt.split($e.existingUuid).join($e.newUuid)),ve.masterIdentifier.setValue(gt),ve.setJson(Pt),ve.inMhdUploadProgress=!1})()}createMhdTransaction(){var ve=this;return n(function*(){var Ae,nt,Pt;ve.inMhdUploadProgress=!0;let Ft={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:"urn:oid:2.16.756.5.30.1.191.1.0.12.3.101",value:"$10"},{system:"urn:oid:2.16.756.5.30.1.191.1.0.2.1",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"}}]},gt="urn:uuid:"+(0,p.v4)();Ft.entry[0].fullUrl=gt;const Lt=Ft.entry[0].resource;Lt.contentType=ve.uploadContentType,Lt.data=(null===(Ae=ve.uploadBase64)||void 0===Ae?void 0:Ae.length)>0?ve.uploadBase64:y.Base64.encode(ve.json);let $e=(0,p.v4)();Ft.entry[1].fullUrl="urn:uid:"+$e;const _t=Ft.entry[1].resource;_t.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:ve.iheSourceId.value}}),_t.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"}}),_t.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 Mt="urn:uuid:"+(0,p.v4)();_t.identifier[0].value=Mt;let Ge="urn:oid:"+ve.generateOidFromUuid();_t.identifier[1].value=Ge,_t.subject.reference=ve.targetId;let lt=N(new Date);_t.date=lt;let Ot="urn:uuid:"+(0,p.v4)();_t.entry[0].item.reference=Ot,Ft.entry[2].fullUrl=Ot;const Nt=Ft.entry[2].resource;Nt.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!=ve.replaceDocumentReference?Nt.relatesTo.push({code:"replaces",target:{reference:ve.replaceDocumentReference.identifier[0].value}}):delete Nt.relatesTo;const Pe=Nt.contained[0];if(Pe.identifier[0].value=ve.sourceIdentifierSystem.value,Pe.identifier[0].value=ve.sourceIdentifierValue.value,Pe.identifier[1].value=ve.targetIdentifierSystem.value,Pe.identifier[1].value=ve.targetIdentifierValue,ve.patient&&(Pe.birthDate=ve.patient.birthDate,Pe.gender=ve.patient.gender,Pe.name=ve.patient.name,Pe.address=ve.patient.address),null!=ve.uploadBundle&&["PADV","DIS","MTP","PRE","PMLC"].includes(ve.documentType.value)){const je=ve.uploadBundle.entry[0].resource;if((null==je?void 0:je.author)&&je.author[0].reference){const Ct=ve.getResource(ve.uploadBundle,je.author[0].reference);if(Ct&&"PractitionerRole"==Ct.resourceType){let Ht={...Ct};delete Ht.text,Ht.id="practrole";const $t=ve.getResource(ve.uploadBundle,null===(nt=Ht.organization)||void 0===nt?void 0:nt.reference),vn=ve.getResource(ve.uploadBundle,null===(Pt=Ht.practitioner)||void 0===Pt?void 0:Pt.reference);if($t){let it={...$t};it.id="org",delete it.text,Ht.organization.reference="#org",Nt.contained.push(it)}if(vn){let it={...vn};it.id="pract",delete it.text,Ht.practitioner.reference="#pract",Nt.contained.push(it)}Nt.contained.push(Ht),Nt.author.push({reference:"#practrole"})}}}0==Nt.author.length&&delete Nt.author;let Ee=ve.masterIdentifier.value.toLocaleLowerCase();Nt.masterIdentifier.value=Ee;let B="urn:oid:"+ve.generateOidFromUuid();Nt.identifier[0].value=B,Nt.subject.reference=ve.targetId,Nt.date=lt,Nt.content[0].attachment.url=gt,Nt.content[0].attachment.contentType=ve.uploadContentType,Nt.content[0].attachment.language=ve.languageCode.value;let V=Ft.entry[2].resource;V.date=ve.creationTime.value,V.type=ve.getDocumentReferenceType(),V.category.push(ve.getDocumentReferenceCategory()),V.content[0].format=ve.getDocumentReferenceContentFormat(),V.content[0].attachment.creation=ve.creationTime.value,V.description=ve.documentDescription.value,V.securityLabel[0]=ve.getDocumentConfidentiality();const be=yield ve.getSamlToken();ve.mag.transaction({body:Ft,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+be}}}).then(je=>{ve.setJson(JSON.stringify(je,null,2)),ve.inMhdUploadProgress=!1}).catch(je=>{ve.setJson(JSON.stringify(je,null,2)),ve.inMhdUploadProgress=!1})})()}}A.MagComponent=Ue,Ue.\u0275fac=function(ve){return new(ve||Ue)(s.\u0275\u0275directiveInject(C.FhirConfigService),s.\u0275\u0275directiveInject(P.FhirPathService),s.\u0275\u0275directiveInject(w.HttpClient),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(D.OAuthService),s.\u0275\u0275directiveInject(T.Router))},Ue.\u0275cmp=s.\u0275\u0275defineComponent({type:Ue,selectors:[["app-mag"]],decls:192,vars:37,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"],[3,"dataSource"],["table",""],["matColumnDef","name"],["class","name",4,"matHeaderCellDef"],["class","name",4,"matCellDef"],["matColumnDef","title"],["class","title",4,"matHeaderCellDef"],["class","title",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,"highlight"],[1,"name"],[1,"title"],[1,"contentType"],[1,"formatCode"],[1,"res"],["mat-icon-button","","type","submit",3,"click"]],template:function(ve,Ae){1&ve&&(s.\u0275\u0275elementStart(0,"mat-card",0),s.\u0275\u0275elementStart(1,"mat-card-content"),s.\u0275\u0275elementStart(2,"mat-card-header"),s.\u0275\u0275elementStart(3,"mat-card-title"),s.\u0275\u0275text(4,"Mobile Access Gateway - Patient Identifiers"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(5,"div"),s.\u0275\u0275elementStart(6,"mat-form-field",1),s.\u0275\u0275elementStart(7,"mat-label"),s.\u0275\u0275text(8,"sourceIdentifier system"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(9,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(10," \xa0 "),s.\u0275\u0275elementStart(11,"mat-form-field",1),s.\u0275\u0275elementStart(12,"mat-label"),s.\u0275\u0275text(13,"sourceIdentifier value"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(14,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(15,"div"),s.\u0275\u0275elementStart(16,"mat-form-field",1),s.\u0275\u0275elementStart(17,"mat-label"),s.\u0275\u0275text(18,"targetIdentifier system (MPI-ID)"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(19,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(20),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(21,"div"),s.\u0275\u0275elementStart(22,"mat-form-field",1),s.\u0275\u0275elementStart(23,"mat-label"),s.\u0275\u0275text(24,"targetIdentifier system (EPR-SPID)"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(25,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(26),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(27,"div"),s.\u0275\u0275elementStart(28,"div"),s.\u0275\u0275text(29),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(30,oe,2,0,"ng-container",3),s.\u0275\u0275elementStart(31,"mat-card-actions"),s.\u0275\u0275elementStart(32,"button",4),s.\u0275\u0275listener("click",function(){return Ae.onPIXmQuery()}),s.\u0275\u0275text(33," PIXm Query "),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(34,ae,3,0,"ng-container",3),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(35,ie,25,5,"ng-container",3),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(36,"mat-card",0),s.\u0275\u0275elementStart(37,"mat-card-content"),s.\u0275\u0275elementStart(38,"mat-card-header"),s.\u0275\u0275elementStart(39,"mat-card-title"),s.\u0275\u0275text(40,"Mobile Access Gateway - Authenticate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(41,"div"),s.\u0275\u0275elementStart(42,"mat-form-field",1),s.\u0275\u0275elementStart(43,"mat-label"),s.\u0275\u0275text(44,"Authenticate/Authorize"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(45,"select",5),s.\u0275\u0275elementStart(46,"option",6),s.\u0275\u0275text(47,"Patient"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(48,"option",7),s.\u0275\u0275text(49,"HCP"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(50,"option",8),s.\u0275\u0275text(51,"TCU"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(52,le,3,1,"div",3),s.\u0275\u0275elementStart(53,"mat-card-actions"),s.\u0275\u0275elementStart(54,"button",4),s.\u0275\u0275listener("click",function(){return Ae.onAuthenticate()}),s.\u0275\u0275text(55," Authenticate "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(56,"mat-card",0),s.\u0275\u0275elementStart(57,"mat-card-content"),s.\u0275\u0275elementStart(58,"mat-card-header"),s.\u0275\u0275elementStart(59,"mat-card-title"),s.\u0275\u0275text(60,"Mobile Access Gateway - Query"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(61,"mat-table",9,10),s.\u0275\u0275elementContainerStart(63,11),s.\u0275\u0275template(64,Ce,2,0,"mat-header-cell",12),s.\u0275\u0275template(65,Te,2,1,"mat-cell",13),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(66,14),s.\u0275\u0275template(67,Ke,2,0,"mat-header-cell",15),s.\u0275\u0275template(68,tt,3,1,"mat-cell",16),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(69,17),s.\u0275\u0275template(70,ot,2,0,"mat-header-cell",18),s.\u0275\u0275template(71,pt,3,1,"mat-cell",19),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(72,20),s.\u0275\u0275template(73,Dt,2,0,"mat-header-cell",21),s.\u0275\u0275template(74,Ie,3,1,"mat-cell",22),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(75,23),s.\u0275\u0275template(76,Qe,2,0,"mat-header-cell",24),s.\u0275\u0275template(77,ct,10,0,"mat-cell",25),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275template(78,bt,1,0,"mat-header-row",26),s.\u0275\u0275template(79,Et,1,0,"mat-row",27),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(80,xt,2,0,"ng-container",3),s.\u0275\u0275elementStart(81,"mat-card-actions"),s.\u0275\u0275elementStart(82,"button",28),s.\u0275\u0275listener("click",function(){return Ae.onFindDocumentReferences()}),s.\u0275\u0275text(83," Document References "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(84,"div"),s.\u0275\u0275elementStart(85,"mat-form-field",1),s.\u0275\u0275elementStart(86,"mat-label"),s.\u0275\u0275text(87,"serviceStart From"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(88,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(89," \xa0 "),s.\u0275\u0275elementStart(90,"mat-form-field",1),s.\u0275\u0275elementStart(91,"mat-label"),s.\u0275\u0275text(92,"serviceStart To"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(93,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(94,"div"),s.\u0275\u0275elementStart(95,"mat-form-field",1),s.\u0275\u0275elementStart(96,"mat-label"),s.\u0275\u0275text(97,"serviceEnd From"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(98,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(99," \xa0 "),s.\u0275\u0275elementStart(100,"mat-form-field",1),s.\u0275\u0275elementStart(101,"mat-label"),s.\u0275\u0275text(102,"serviceEnd To"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(103,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(104,"mat-card-actions"),s.\u0275\u0275elementStart(105,"button",28),s.\u0275\u0275listener("click",function(){return Ae.onFindMedicationList()}),s.\u0275\u0275text(106," Medication List "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(107,"button",28),s.\u0275\u0275listener("click",function(){return Ae.onFindMedicationCard()}),s.\u0275\u0275text(108," Medication Card "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(109,dt,4,0,"ng-container",3),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(110,"mat-card",0),s.\u0275\u0275elementStart(111,"mat-card-content"),s.\u0275\u0275elementStart(112,"mat-card-header"),s.\u0275\u0275elementStart(113,"mat-card-title"),s.\u0275\u0275text(114,"Mobile Access Gateway - Upload"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(115,"app-upload",29),s.\u0275\u0275listener("addFiles",function(Pt){return Ae.addFile(Pt)}),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(116,"div"),s.\u0275\u0275elementStart(117,"mat-form-field",1),s.\u0275\u0275elementStart(118,"mat-label"),s.\u0275\u0275text(119,"Description"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(120,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(121,"div"),s.\u0275\u0275elementStart(122,"mat-form-field",1),s.\u0275\u0275elementStart(123,"mat-label"),s.\u0275\u0275text(124,"Document Type"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(125,"select",5),s.\u0275\u0275elementStart(126,"option",30),s.\u0275\u0275text(127,"APPC Document"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(128,"option",31),s.\u0275\u0275text(129,"Medication Treatment Plan document"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(130,"option",32),s.\u0275\u0275text(131,"Medication Dispense document"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(132,"option",33),s.\u0275\u0275text(133,"Medication Prescription document"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(134,"option",34),s.\u0275\u0275text(135,"Pharmaceutical Advice document"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(136,"option",35),s.\u0275\u0275text(137,"PDF"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(138,"div"),s.\u0275\u0275elementStart(139,"mat-form-field",1),s.\u0275\u0275elementStart(140,"mat-label"),s.\u0275\u0275text(141,"Confidentiality"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(142,"select",5),s.\u0275\u0275elementStart(143,"option",36),s.\u0275\u0275text(144,"Normally accessible"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(145,"option",37),s.\u0275\u0275text(146,"Restricted accessible"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(147,"option",38),s.\u0275\u0275text(148,"Secret"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(149,"div"),s.\u0275\u0275elementStart(150,"mat-form-field",1),s.\u0275\u0275elementStart(151,"mat-label"),s.\u0275\u0275text(152,"DocumentEntry.masterIdentifier (uuid)"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(153,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(154,"div"),s.\u0275\u0275elementStart(155,"mat-form-field",1),s.\u0275\u0275elementStart(156,"mat-label"),s.\u0275\u0275text(157,"DocumentEntry.creationTime"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(158,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(159,"div"),s.\u0275\u0275elementStart(160,"mat-form-field",1),s.\u0275\u0275elementStart(161,"mat-label"),s.\u0275\u0275text(162,"DocumentEntry.languageCode"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(163,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(164,"div"),s.\u0275\u0275elementStart(165,"mat-form-field",1),s.\u0275\u0275elementStart(166,"mat-label"),s.\u0275\u0275text(167,"ihe-sourceId"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(168,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(169,"\xa0 "),s.\u0275\u0275elementStart(170,"a",39),s.\u0275\u0275text(171,"ig"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(172,Ne,2,1,"div",3),s.\u0275\u0275template(173,rt,2,3,"div",40),s.\u0275\u0275template(174,ze,2,1,"div",3),s.\u0275\u0275template(175,yt,2,0,"ng-container",3),s.\u0275\u0275elementStart(176,"div"),s.\u0275\u0275elementStart(177,"button",28),s.\u0275\u0275listener("click",function(){return Ae.assignMobileAccessPatient()}),s.\u0275\u0275text(178," Assign Mobile Access Patient"),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(179,"\xa0 "),s.\u0275\u0275elementStart(180,"button",28),s.\u0275\u0275listener("click",function(){return Ae.createMhdTransaction()}),s.\u0275\u0275text(181," Provide and Register "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(182,"button",28),s.\u0275\u0275listener("click",function(){return Ae.createAppc()}),s.\u0275\u0275text(183," Create APPC for PMP "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(184,"mat-card",0),s.\u0275\u0275elementStart(185,"mat-card-content"),s.\u0275\u0275elementStart(186,"mat-card-header"),s.\u0275\u0275elementStart(187,"mat-card-title"),s.\u0275\u0275text(188,"Response"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(189,mt,2,1,"div",3),s.\u0275\u0275elementStart(190,"pre"),s.\u0275\u0275element(191,"code",41),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&ve&&(s.\u0275\u0275advance(9),s.\u0275\u0275property("formControl",Ae.sourceIdentifierSystem),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceIdentifierValue),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.targetIdentifierSystem),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" \xa0 ",Ae.targetIdentifierValue," "),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.targetIdentifier2System),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" \xa0 ",Ae.targetIdentifier2Value," "),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate1("targetId: ",Ae.targetId,""),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.inPixmProgress),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngIf",Ae.targetId.length>0),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.patient),s.\u0275\u0275advance(10),s.\u0275\u0275property("formControl",Ae.authenticate),s.\u0275\u0275advance(7),s.\u0275\u0275property("ngIf",Ae.getScopes()),s.\u0275\u0275advance(9),s.\u0275\u0275property("dataSource",Ae.dataSource),s.\u0275\u0275advance(17),s.\u0275\u0275property("matHeaderRowDef",s.\u0275\u0275pureFunction0(35,_e)),s.\u0275\u0275advance(1),s.\u0275\u0275property("matRowDefColumns",s.\u0275\u0275pureFunction0(36,_e)),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.inMhdQueryProgress),s.\u0275\u0275advance(8),s.\u0275\u0275property("formControl",Ae.serviceStartFrom),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.serviceStartTo),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.serviceEndFrom),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.serviceEndTo),s.\u0275\u0275advance(6),s.\u0275\u0275property("ngIf",Ae.canTransformToPdf()),s.\u0275\u0275advance(11),s.\u0275\u0275property("formControl",Ae.documentDescription),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.documentType),s.\u0275\u0275advance(17),s.\u0275\u0275property("formControl",Ae.documentConfidentiality),s.\u0275\u0275advance(11),s.\u0275\u0275property("formControl",Ae.masterIdentifier),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.creationTime),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.languageCode),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.iheSourceId),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngIf",Ae.replaceDocumentReference),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngForOf",Ae.replaceUuids),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.errMsgAssignPatient),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.inMhdUploadProgress),s.\u0275\u0275advance(14),s.\u0275\u0275property("ngIf",Ae.errMsg),s.\u0275\u0275advance(2),s.\u0275\u0275property("highlight",Ae.getJson())("lineNumbers",!0))},directives:[Y.MatCard,Y.MatCardContent,Y.MatCardHeader,Y.MatCardTitle,$.MatFormField,$.MatLabel,z.MatInput,G.DefaultValueAccessor,G.NgControlStatus,G.FormControlDirective,X.NgIf,Y.MatCardActions,Q.MatButton,G.SelectControlValueAccessor,G.RequiredValidator,G.NgSelectOption,G.\u0275NgSelectMultipleOption,q.MatTable,q.MatColumnDef,q.MatHeaderCellDef,q.MatCellDef,q.MatHeaderRowDef,q.MatRowDef,ue.UploadComponent,X.NgForOf,me.Highlight,xe.MatProgressSpinner,q.MatHeaderCell,q.MatCell,pe.MatIcon,q.MatHeaderRow,q.MatRow],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.display[_ngcontent-%COMP%]{display:inline-block;margin-bottom:10px}.column50[_ngcontent-%COMP%]{width:40%}"]})},3423:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.PatientDetailComponent=void 0;const n=o(655),l=(0,n.__importStar)(o(5e3)),u=(0,n.__importStar)(o(9808)),c=(0,n.__importStar)(o(9224));function r(m,p){if(1&m&&(l.\u0275\u0275elementStart(0,"mat-card",1),l.\u0275\u0275elementStart(1,"mat-card-content"),l.\u0275\u0275elementStart(2,"pre"),l.\u0275\u0275text(3),l.\u0275\u0275pipe(4,"json"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&m){const y=l.\u0275\u0275nextContext();l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(l.\u0275\u0275pipeBind1(4,1,y.patient))}}class d{constructor(){}ngOnInit(){}}A.PatientDetailComponent=d,d.\u0275fac=function(p){return new(p||d)},d.\u0275cmp=l.\u0275\u0275defineComponent({type:d,selectors:[["app-patient-detail"]],inputs:{patient:"patient"},decls:1,vars:1,consts:[["class","Patient",4,"ngIf"],[1,"Patient"]],template:function(p,y){1&p&&l.\u0275\u0275template(0,r,5,3,"mat-card",0),2&p&&l.\u0275\u0275property("ngIf",y.patient)},directives:[u.NgIf,c.MatCard,c.MatCardContent],pipes:[u.JsonPipe],styles:[""]})},9862:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.PatientsComponent=void 0;const n=o(655),u=(o(6165),o(6346)),c=o(3075),r=o(3460),d=(0,n.__importStar)(o(5e3)),m=(0,n.__importStar)(o(6165)),p=(0,n.__importStar)(o(9224)),y=(0,n.__importStar)(o(7322)),b=(0,n.__importStar)(o(7531)),h=(0,n.__importStar)(o(3075)),g=(0,n.__importStar)(o(6346)),s=(0,n.__importStar)(o(7850)),C=(0,n.__importStar)(o(3423));function P(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"Family"),d.\u0275\u0275elementEnd())}function w(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientFamilyName(ae))}}function D(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"Given"),d.\u0275\u0275elementEnd())}function T(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientGivenNames(ae))}}function Y(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"Birthdate"),d.\u0275\u0275elementEnd())}function $(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientBirthDate(ae))}}function z(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"Street"),d.\u0275\u0275elementEnd())}function G(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientAddressLines(ae))}}function X(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"City"),d.\u0275\u0275elementEnd())}function Q(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientAddressCity(ae))}}function q(pe,oe){1&pe&&d.\u0275\u0275element(0,"mat-header-row")}function ue(pe,oe){if(1&pe){const ae=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"mat-row",16),d.\u0275\u0275listener("click",function(){const le=d.\u0275\u0275restoreView(ae).$implicit;return d.\u0275\u0275nextContext().selectRow(le)}),d.\u0275\u0275elementEnd()}}const me=function(){return["familyNameCol","givenNamesCol","birthDateCol","addressLinesCol","addressCityCol"]};class xe{constructor(oe){this.data=oe,this.searched=!1,this.dataSource=new u.MatTableDataSource,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=oe.getMobileAccessGatewayClient(),this.searchName=new c.FormControl,this.searchName.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(ae=>this.search()),this.searchGiven=new c.FormControl,this.searchGiven.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(ae=>this.search()),this.searchFamily=new c.FormControl,this.searchFamily.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(ae=>this.search()),this.search()}search(){let oe={...this.query};this.searchName.value&&(oe={...oe,name:this.searchName.value}),this.searchFamily.value&&(oe={...oe,family:this.searchFamily.value}),this.searchGiven.value&&(oe={...oe,given:this.searchGiven.value}),this.client.search({resourceType:"Patient",searchParams:oe}).then(ae=>(this.pageIndex=0,this.setBundle(ae),ae))}getPatientFamilyName(oe){const ae=oe.resource;return ae.name&&ae.name.length>0&&ae.name[0].family?ae.name[0].family:""}getPatientGivenNames(oe){const ae=oe.resource;return ae.name&&ae.name.length>0&&ae.name[0].given?oe.resource.name[0].given.join(" "):""}getPatientBirthDate(oe){const ae=oe.resource;return ae.birthDate?ae.birthDate:""}getPatientAddressLines(oe){const ae=oe.resource;return ae.address&&ae.address.length>0&&ae.address[0].line?ae.address[0].line.join(", "):""}getPatientAddressCity(oe){const ae=oe.resource;return ae.address&&ae.address.length>0&&ae.address[0].city?ae.address[0].city:""}selectRow(oe){this.client.read({resourceType:"Patient",id:oe.resource.id}).then(ie=>{this.selectedPatient=ie})}goToPage(oe){oe.pageIndex>this.pageIndex?this.client.nextPage({bundle:this.bundle}).then(ae=>{this.pageIndex=oe.pageIndex,this.setBundle(ae),console.log("next page called ")}):this.client.prevPage({bundle:this.bundle}).then(ae=>{this.pageIndex=oe.pageIndex,this.setBundle(ae),console.log("previous page called ")})}setBundle(oe){this.bundle=oe,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry,this.selectedPatient=void 0}ngOnInit(){}}A.PatientsComponent=xe,xe.\u0275fac=function(oe){return new(oe||xe)(d.\u0275\u0275directiveInject(m.FhirConfigService))},xe.\u0275cmp=d.\u0275\u0275defineComponent({type:xe,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(oe,ae){1&oe&&(d.\u0275\u0275elementStart(0,"mat-card",0),d.\u0275\u0275elementStart(1,"mat-card-content"),d.\u0275\u0275elementStart(2,"mat-form-field"),d.\u0275\u0275elementStart(3,"mat-label"),d.\u0275\u0275text(4,"Name"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(5,"input",1),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(6," \xa0 "),d.\u0275\u0275elementStart(7,"mat-form-field"),d.\u0275\u0275elementStart(8,"mat-label"),d.\u0275\u0275text(9,"Family"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(10,"input",1),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(11," \xa0 "),d.\u0275\u0275elementStart(12,"mat-form-field"),d.\u0275\u0275elementStart(13,"mat-label"),d.\u0275\u0275text(14,"Given"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(15,"input",1),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(16," \xa0 "),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(17,"mat-card",2),d.\u0275\u0275elementStart(18,"mat-card-content"),d.\u0275\u0275elementStart(19,"mat-table",3,4),d.\u0275\u0275elementContainerStart(21,5),d.\u0275\u0275template(22,P,2,0,"mat-header-cell",6),d.\u0275\u0275template(23,w,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(24,8),d.\u0275\u0275template(25,D,2,0,"mat-header-cell",6),d.\u0275\u0275template(26,T,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(27,9),d.\u0275\u0275template(28,Y,2,0,"mat-header-cell",6),d.\u0275\u0275template(29,$,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(30,10),d.\u0275\u0275template(31,z,2,0,"mat-header-cell",6),d.\u0275\u0275template(32,G,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(33,11),d.\u0275\u0275template(34,X,2,0,"mat-header-cell",6),d.\u0275\u0275template(35,Q,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275template(36,q,1,0,"mat-header-row",12),d.\u0275\u0275template(37,ue,1,0,"mat-row",13),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(38,"mat-paginator",14),d.\u0275\u0275listener("page",function(ie){return ae.goToPage(ie)}),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(39,"app-patient-detail",15)),2&oe&&(d.\u0275\u0275advance(5),d.\u0275\u0275property("formControl",ae.searchName),d.\u0275\u0275advance(5),d.\u0275\u0275property("formControl",ae.searchFamily),d.\u0275\u0275advance(5),d.\u0275\u0275property("formControl",ae.searchGiven),d.\u0275\u0275advance(4),d.\u0275\u0275property("dataSource",ae.dataSource),d.\u0275\u0275advance(17),d.\u0275\u0275property("matHeaderRowDef",d.\u0275\u0275pureFunction0(11,me)),d.\u0275\u0275advance(1),d.\u0275\u0275property("matRowDefColumns",d.\u0275\u0275pureFunction0(12,me)),d.\u0275\u0275advance(1),d.\u0275\u0275property("pageIndex",ae.pageIndex)("length",ae.length)("pageSize",ae.pageSize)("pageSizeOptions",ae.pageSizeOptions),d.\u0275\u0275advance(1),d.\u0275\u0275property("patient",ae.selectedPatient))},directives:[p.MatCard,p.MatCardContent,y.MatFormField,y.MatLabel,b.MatInput,h.DefaultValueAccessor,h.NgControlStatus,h.FormControlDirective,g.MatTable,g.MatColumnDef,g.MatHeaderCellDef,g.MatCellDef,g.MatHeaderRowDef,g.MatRowDef,s.MatPaginator,C.PatientDetailComponent,g.MatHeaderCell,g.MatCell,g.MatHeaderRow,g.MatRow],styles:[""]})},4586:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.SettingsComponent=void 0;const n=o(655),u=(o(6165),(0,n.__importDefault)(o(1455))),r=(o(4202),(0,n.__importStar)(o(5e3))),d=(0,n.__importStar)(o(6165)),m=(0,n.__importStar)(o(4202)),p=(0,n.__importStar)(o(9224)),y=(0,n.__importStar)(o(3075)),b=(0,n.__importStar)(o(7322)),h=(0,n.__importStar)(o(4107)),g=(0,n.__importStar)(o(9808)),s=(0,n.__importStar)(o(508));function C(w,D){if(1&w&&(r.\u0275\u0275elementStart(0,"mat-option",2),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&w){const T=D.$implicit;r.\u0275\u0275property("value",T),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",T," ")}}class P{constructor(D,T){this.data=D,this.router=T,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=D.getMobileAccessGatewayClient()}ngOnInit(){this.baseUrlMag=this.data.getMobileAccessGatewayService()}getMagSelectedValue(){return this.baseUrlMag}setMagSelectedValue(D){(0,u.default)("setting new server to "+D),this.data.changeMagMicroService(D)}}A.SettingsComponent=P,P.\u0275fac=function(D){return new(D||P)(r.\u0275\u0275directiveInject(d.FhirConfigService),r.\u0275\u0275directiveInject(m.Router))},P.\u0275cmp=r.\u0275\u0275defineComponent({type:P,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(D,T){1&D&&(r.\u0275\u0275elementStart(0,"mat-card"),r.\u0275\u0275elementStart(1,"mat-card-content"),r.\u0275\u0275elementStart(2,"form"),r.\u0275\u0275elementStart(3,"mat-form-field"),r.\u0275\u0275elementStart(4,"mat-select",0),r.\u0275\u0275listener("ngModelChange",function($){return T.setMagSelectedValue($)}),r.\u0275\u0275template(5,C,2,2,"mat-option",1),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(6,"br"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&D&&(r.\u0275\u0275advance(4),r.\u0275\u0275property("ngModel",T.getMagSelectedValue()),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",T.mobileAccessGateways))},directives:[p.MatCard,p.MatCardContent,y.\u0275NgNoValidate,y.NgControlStatusGroup,y.NgForm,b.MatFormField,h.MatSelect,y.NgControlStatus,y.NgModel,g.NgForOf,s.MatOption],styles:[""]})},4466:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.SharedModule=void 0;const n=o(655),l=o(9808),u=o(3075),c=o(6360),r=o(2313),d=o(1079),m=o(7423),p=o(9224),y=o(7446),b=o(508),h=o(6856),g=o(4834),s=o(7322),C=o(5245),P=o(7531),w=o(2181),D=o(7850),T=o(9814),Y=o(4107),$=o(2368),z=o(8029),G=o(6346),X=o(3251),Q=o(4594),q=o(2466),ue=o(773),me=(0,n.__importStar)(o(5e3)),xe=[l.CommonModule,r.BrowserModule,c.BrowserAnimationsModule,u.FormsModule,u.ReactiveFormsModule,q.TranslateModule,d.MatAutocompleteModule,m.MatButtonModule,p.MatCardModule,y.MatCheckboxModule,g.MatDividerModule,s.MatFormFieldModule,C.MatIconModule,P.MatInputModule,w.MatMenuModule,D.MatPaginatorModule,Y.MatSelectModule,z.MatSliderModule,$.MatSlideToggleModule,G.MatTableModule,Q.MatToolbarModule,X.MatTabsModule,h.MatDatepickerModule,b.MatNativeDateModule,T.MatRadioModule,ue.MatProgressSpinnerModule];class oe{}A.SharedModule=oe,oe.\u0275fac=function(U){return new(U||oe)},oe.\u0275mod=me.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=me.\u0275\u0275defineInjector({imports:[xe,l.CommonModule,r.BrowserModule,c.BrowserAnimationsModule,u.FormsModule,u.ReactiveFormsModule,q.TranslateModule,d.MatAutocompleteModule,m.MatButtonModule,p.MatCardModule,y.MatCheckboxModule,g.MatDividerModule,s.MatFormFieldModule,C.MatIconModule,P.MatInputModule,w.MatMenuModule,D.MatPaginatorModule,Y.MatSelectModule,z.MatSliderModule,$.MatSlideToggleModule,G.MatTableModule,Q.MatToolbarModule,X.MatTabsModule,h.MatDatepickerModule,b.MatNativeDateModule,T.MatRadioModule,ue.MatProgressSpinnerModule]})},68:(he,A,o)=>{"use strict";var n=o(8926).default;Object.defineProperty(A,"__esModule",{value:!0}),A.UploadComponent=void 0;const l=o(655),u=o(5e3),c=(0,l.__importStar)(o(5e3)),r=(0,l.__importStar)(o(5245)),d=(0,l.__importStar)(o(7423));class m{constructor(){this.addFiles=new u.EventEmitter,this.dragCounter=0}checkStatus(y){if(!y.ok)throw new Error(`HTTP ${y.status} - ${y.statusText}`);return y}onDrop(y){y.preventDefault(),this.dragCounter=0;const b=y.target.files||y.dataTransfer.items;if(b)for(let g=0;g0))},directives:[r.MatIcon,d.MatButton],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})},2340:(he,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.environment=void 0,A.environment={production:!0}},4431:(he,A,o)=>{"use strict";const u=(0,o(655).__importStar)(o(2313)),c=o(5e3),r=o(6747);o(2340).environment.production&&(0,c.enableProdMode)(),u.platformBrowser().bootstrapModule(r.AppModule).catch(m=>console.log(m))},2466:(he,A,o)=>{"use strict";o.r(A),o.d(A,{TranslateModule:()=>pe,TranslateLoader:()=>h,TranslateFakeLoader:()=>g,USE_STORE:()=>Q,USE_DEFAULT_LANG:()=>q,TranslateService:()=>ue,MissingTranslationHandler:()=>s,FakeMissingTranslationHandler:()=>C,TranslateParser:()=>z,TranslateDefaultParser:()=>G,TranslateCompiler:()=>P,TranslateFakeCompiler:()=>w,TranslateDirective:()=>me,TranslatePipe:()=>xe,TranslateStore:()=>X});var n=o(5e3),l=o(1086),u=o(6787),c=o(6498),r=o(1961),d=o(2986),m=o(8117),p=o(4850),y=o(864),b=o(7545);class h{}let g=(()=>{class oe extends h{getTranslation(U){return(0,l.of)({})}}return oe.\u0275fac=function(){let ae;return function(ie){return(ae||(ae=n.\u0275\u0275getInheritedFactory(oe)))(ie||oe)}}(),oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})();class s{}let C=(()=>{class oe{handle(U){return U.key}}return oe.\u0275fac=function(U){return new(U||oe)},oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})();class P{}let w=(()=>{class oe extends P{compile(U,ie){return U}compileTranslations(U,ie){return U}}return oe.\u0275fac=function(){let ae;return function(ie){return(ae||(ae=n.\u0275\u0275getInheritedFactory(oe)))(ie||oe)}}(),oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})();function D(oe,ae){if(oe===ae)return!0;if(null===oe||null===ae)return!1;if(oe!=oe&&ae!=ae)return!0;let le,Ce,Te,U=typeof oe;if(U==typeof ae&&"object"==U){if(!Array.isArray(oe)){if(Array.isArray(ae))return!1;for(Ce in Te=Object.create(null),oe){if(!D(oe[Ce],ae[Ce]))return!1;Te[Ce]=!0}for(Ce in ae)if(!(Ce in Te)&&void 0!==ae[Ce])return!1;return!0}if(!Array.isArray(ae))return!1;if((le=oe.length)==ae.length){for(Ce=0;Ce{Y(ae[ie])?ie in oe?U[ie]=$(oe[ie],ae[ie]):Object.assign(U,{[ie]:ae[ie]}):Object.assign(U,{[ie]:ae[ie]})}),U}class z{}let G=(()=>{class oe extends z{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(U,ie){let le;return le="string"==typeof U?this.interpolateString(U,ie):"function"==typeof U?this.interpolateFunction(U,ie):U,le}getValue(U,ie){let le=ie.split(".");ie="";do{ie+=le.shift(),!T(U)||!T(U[ie])||"object"!=typeof U[ie]&&le.length?le.length?ie+=".":U=void 0:(U=U[ie],ie="")}while(le.length);return U}interpolateFunction(U,ie){return U(ie)}interpolateString(U,ie){return ie?U.replace(this.templateMatcher,(le,Ce)=>{let Te=this.getValue(ie,Ce);return T(Te)?Te:le}):U}}return oe.\u0275fac=function(){let ae;return function(ie){return(ae||(ae=n.\u0275\u0275getInheritedFactory(oe)))(ie||oe)}}(),oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})();class X{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new n.EventEmitter,this.onLangChange=new n.EventEmitter,this.onDefaultLangChange=new n.EventEmitter}}const Q=new n.InjectionToken("USE_STORE"),q=new n.InjectionToken("USE_DEFAULT_LANG");let ue=(()=>{class oe{constructor(U,ie,le,Ce,Te,Ke=!0,tt=!1){this.store=U,this.currentLoader=ie,this.compiler=le,this.parser=Ce,this.missingTranslationHandler=Te,this.useDefaultLang=Ke,this.isolate=tt,this.pending=!1,this._onTranslationChange=new n.EventEmitter,this._onLangChange=new n.EventEmitter,this._onDefaultLangChange=new n.EventEmitter,this._langs=[],this._translations={},this._translationRequests={}}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(U){this.isolate?this._defaultLang=U:this.store.defaultLang=U}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(U){this.isolate?this._currentLang=U:this.store.currentLang=U}get langs(){return this.isolate?this._langs:this.store.langs}set langs(U){this.isolate?this._langs=U:this.store.langs=U}get translations(){return this.isolate?this._translations:this.store.translations}set translations(U){this.isolate?this._translations=U:this.store.translations=U}setDefaultLang(U){if(U===this.defaultLang)return;let ie=this.retrieveTranslations(U);void 0!==ie?(this.defaultLang||(this.defaultLang=U),ie.pipe((0,d.q)(1)).subscribe(le=>{this.changeDefaultLang(U)})):this.changeDefaultLang(U)}getDefaultLang(){return this.defaultLang}use(U){if(U===this.currentLang)return(0,l.of)(this.translations[U]);let ie=this.retrieveTranslations(U);return void 0!==ie?(this.currentLang||(this.currentLang=U),ie.pipe((0,d.q)(1)).subscribe(le=>{this.changeLang(U)}),ie):(this.changeLang(U),(0,l.of)(this.translations[U]))}retrieveTranslations(U){let ie;return void 0===this.translations[U]&&(this._translationRequests[U]=this._translationRequests[U]||this.getTranslation(U),ie=this._translationRequests[U]),ie}getTranslation(U){this.pending=!0;const ie=this.currentLoader.getTranslation(U).pipe((0,m.B)());return this.loadingTranslations=ie.pipe((0,d.q)(1),(0,p.U)(le=>this.compiler.compileTranslations(le,U)),(0,m.B)()),this.loadingTranslations.subscribe(le=>{this.translations[U]=le,this.updateLangs(),this.pending=!1},le=>{this.pending=!1}),ie}setTranslation(U,ie,le=!1){ie=this.compiler.compileTranslations(ie,U),this.translations[U]=le&&this.translations[U]?$(this.translations[U],ie):ie,this.updateLangs(),this.onTranslationChange.emit({lang:U,translations:this.translations[U]})}getLangs(){return this.langs}addLangs(U){U.forEach(ie=>{-1===this.langs.indexOf(ie)&&this.langs.push(ie)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(U,ie,le){let Ce;if(ie instanceof Array){let Te={},Ke=!1;for(let tt of ie)Te[tt]=this.getParsedResult(U,tt,le),"function"==typeof Te[tt].subscribe&&(Ke=!0);if(Ke){let tt;for(let ot of ie){let pt="function"==typeof Te[ot].subscribe?Te[ot]:(0,l.of)(Te[ot]);tt=void 0===tt?pt:(0,u.T)(tt,pt)}return tt.pipe((0,y.q)(),(0,p.U)(ot=>{let pt={};return ot.forEach((Dt,Ie)=>{pt[ie[Ie]]=Dt}),pt}))}return Te}if(U&&(Ce=this.parser.interpolate(this.parser.getValue(U,ie),le)),void 0===Ce&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Ce=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],ie),le)),void 0===Ce){let Te={key:ie,translateService:this};void 0!==le&&(Te.interpolateParams=le),Ce=this.missingTranslationHandler.handle(Te)}return void 0!==Ce?Ce:ie}get(U,ie){if(!T(U)||!U.length)throw new Error('Parameter "key" required');if(this.pending)return c.y.create(le=>{let Ce=Ke=>{le.next(Ke),le.complete()},Te=Ke=>{le.error(Ke)};this.loadingTranslations.subscribe(Ke=>{"function"==typeof(Ke=this.getParsedResult(Ke,U,ie)).subscribe?Ke.subscribe(Ce,Te):Ce(Ke)},Te)});{let le=this.getParsedResult(this.translations[this.currentLang],U,ie);return"function"==typeof le.subscribe?le:(0,l.of)(le)}}stream(U,ie){if(!T(U)||!U.length)throw new Error('Parameter "key" required');return(0,r.z)(this.get(U,ie),this.onLangChange.pipe((0,b.w)(le=>{const Ce=this.getParsedResult(le.translations,U,ie);return"function"==typeof Ce.subscribe?Ce:(0,l.of)(Ce)})))}instant(U,ie){if(!T(U)||!U.length)throw new Error('Parameter "key" required');let le=this.getParsedResult(this.translations[this.currentLang],U,ie);if(void 0!==le.subscribe){if(U instanceof Array){let Ce={};return U.forEach((Te,Ke)=>{Ce[U[Ke]]=U[Ke]}),Ce}return U}return le}set(U,ie,le=this.currentLang){this.translations[le][U]=this.compiler.compile(ie,le),this.updateLangs(),this.onTranslationChange.emit({lang:le,translations:this.translations[le]})}changeLang(U){this.currentLang=U,this.onLangChange.emit({lang:U,translations:this.translations[U]}),this.defaultLang||this.changeDefaultLang(U)}changeDefaultLang(U){this.defaultLang=U,this.onDefaultLangChange.emit({lang:U,translations:this.translations[U]})}reloadLang(U){return this.resetLang(U),this.getTranslation(U)}resetLang(U){this._translationRequests[U]=void 0,this.translations[U]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let U=window.navigator.languages?window.navigator.languages[0]:null;return U=U||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,-1!==U.indexOf("-")&&(U=U.split("-")[0]),-1!==U.indexOf("_")&&(U=U.split("_")[0]),U}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let U=window.navigator.languages?window.navigator.languages[0]:null;return U=U||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,U}}return oe.\u0275fac=function(U){return new(U||oe)(n.\u0275\u0275inject(X),n.\u0275\u0275inject(h),n.\u0275\u0275inject(P),n.\u0275\u0275inject(z),n.\u0275\u0275inject(s),n.\u0275\u0275inject(q),n.\u0275\u0275inject(Q))},oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})(),me=(()=>{class oe{constructor(U,ie,le){this.translateService=U,this.element=ie,this._ref=le,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(Ce=>{Ce.lang===this.translateService.currentLang&&this.checkNodes(!0,Ce.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(Ce=>{this.checkNodes(!0,Ce.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(Ce=>{this.checkNodes(!0)}))}set translate(U){U&&(this.key=U,this.checkNodes())}set translateParams(U){D(this.currentParams,U)||(this.currentParams=U,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(U=!1,ie){let le=this.element.nativeElement.childNodes;le.length||(this.setContent(this.element.nativeElement,this.key),le=this.element.nativeElement.childNodes);for(let Ce=0;Ce{Te!==U&&(ie.lastKey=U),ie.originalContent||(ie.originalContent=this.getContent(ie)),ie.currentValue=T(Te)?Te:ie.originalContent||U,this.setContent(ie,this.key?ie.currentValue:ie.originalContent.replace(U,ie.currentValue)),this._ref.markForCheck()};if(T(le)){let Te=this.translateService.getParsedResult(le,U,this.currentParams);"function"==typeof Te.subscribe?Te.subscribe(Ce):Ce(Te)}else this.translateService.get(U,this.currentParams).subscribe(Ce)}}getContent(U){return T(U.textContent)?U.textContent:U.data}setContent(U,ie){T(U.textContent)?U.textContent=ie:U.data=ie}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return oe.\u0275fac=function(U){return new(U||oe)(n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),oe})(),xe=(()=>{class oe{constructor(U,ie){this.translate=U,this._ref=ie,this.value=""}updateValue(U,ie,le){let Ce=Te=>{this.value=void 0!==Te?Te:U,this.lastKey=U,this._ref.markForCheck()};if(le){let Te=this.translate.getParsedResult(le,U,ie);"function"==typeof Te.subscribe?Te.subscribe(Ce):Ce(Te)}this.translate.get(U,ie).subscribe(Ce)}transform(U,...ie){if(!U||0===U.length)return U;if(D(U,this.lastKey)&&D(ie,this.lastParams))return this.value;let le;if(T(ie[0])&&ie.length)if("string"==typeof ie[0]&&ie[0].length){let Ce=ie[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{le=JSON.parse(Ce)}catch(Te){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${ie[0]}`)}}else"object"==typeof ie[0]&&!Array.isArray(ie[0])&&(le=ie[0]);return this.lastKey=U,this.lastParams=ie,this.updateValue(U,le),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Ce=>{this.lastKey&&Ce.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(U,le,Ce.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Ce=>{this.lastKey&&(this.lastKey=null,this.updateValue(U,le,Ce.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(U,le))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return oe.\u0275fac=function(U){return new(U||oe)(n.\u0275\u0275directiveInject(ue,16),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},oe.\u0275pipe=n.\u0275\u0275definePipe({name:"translate",type:oe,pure:!1}),oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})(),pe=(()=>{class oe{static forRoot(U={}){return{ngModule:oe,providers:[U.loader||{provide:h,useClass:g},U.compiler||{provide:P,useClass:w},U.parser||{provide:z,useClass:G},U.missingTranslationHandler||{provide:s,useClass:C},X,{provide:Q,useValue:U.isolate},{provide:q,useValue:U.useDefaultLang},ue]}}static forChild(U={}){return{ngModule:oe,providers:[U.loader||{provide:h,useClass:g},U.compiler||{provide:P,useClass:w},U.parser||{provide:z,useClass:G},U.missingTranslationHandler||{provide:s,useClass:C},{provide:Q,useValue:U.isolate},{provide:q,useValue:U.useDefaultLang},ue]}}}return oe.\u0275fac=function(U){return new(U||oe)},oe.\u0275mod=n.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=n.\u0275\u0275defineInjector({}),oe})()},1744:(he,A,o)=>{"use strict";o.r(A),o.d(A,{TranslateHttpLoader:()=>n});class n{constructor(u,c="/assets/i18n/",r=".json"){this.http=u,this.prefix=c,this.suffix=r}getTranslation(u){return this.http.get(`${this.prefix}${u}${this.suffix}`)}}},9426:he=>{function A(){}he.exports=A,he.exports.HttpsAgent=A},5618:function(){var he;he="undefined"!=typeof self?self:this,function(o){var n_searchParams="URLSearchParams"in he,n_iterable="Symbol"in he&&"iterator"in Symbol,n_blob="FileReader"in he&&"Blob"in he&&function(){try{return new Blob,!0}catch(Q){return!1}}(),n_formData="FormData"in he,n_arrayBuffer="ArrayBuffer"in he;if(n_arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(Q){return Q&&u.indexOf(Object.prototype.toString.call(Q))>-1};function r(Q){if("string"!=typeof Q&&(Q=String(Q)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(Q))throw new TypeError("Invalid character in header field name");return Q.toLowerCase()}function d(Q){return"string"!=typeof Q&&(Q=String(Q)),Q}function m(Q){var q={next:function(){var ue=Q.shift();return{done:void 0===ue,value:ue}}};return n_iterable&&(q[Symbol.iterator]=function(){return q}),q}function p(Q){this.map={},Q instanceof p?Q.forEach(function(q,ue){this.append(ue,q)},this):Array.isArray(Q)?Q.forEach(function(q){this.append(q[0],q[1])},this):Q&&Object.getOwnPropertyNames(Q).forEach(function(q){this.append(q,Q[q])},this)}function y(Q){if(Q.bodyUsed)return Promise.reject(new TypeError("Already read"));Q.bodyUsed=!0}function b(Q){return new Promise(function(q,ue){Q.onload=function(){q(Q.result)},Q.onerror=function(){ue(Q.error)}})}function h(Q){var q=new FileReader,ue=b(q);return q.readAsArrayBuffer(Q),ue}function C(Q){if(Q.slice)return Q.slice(0);var q=new Uint8Array(Q.byteLength);return q.set(new Uint8Array(Q)),q.buffer}function P(){return this.bodyUsed=!1,this._initBody=function(Q){this._bodyInit=Q,Q?"string"==typeof Q?this._bodyText=Q:n_blob&&Blob.prototype.isPrototypeOf(Q)?this._bodyBlob=Q:n_formData&&FormData.prototype.isPrototypeOf(Q)?this._bodyFormData=Q:n_searchParams&&URLSearchParams.prototype.isPrototypeOf(Q)?this._bodyText=Q.toString():n_arrayBuffer&&n_blob&&function(Q){return Q&&DataView.prototype.isPrototypeOf(Q)}(Q)?(this._bodyArrayBuffer=C(Q.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(Q)||c(Q))?this._bodyArrayBuffer=C(Q):this._bodyText=Q=Object.prototype.toString.call(Q):this._bodyText="",this.headers.get("content-type")||("string"==typeof Q?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(Q)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n_blob&&(this.blob=function(){var Q=y(this);if(Q)return Q;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?y(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var Q=y(this);if(Q)return Q;if(this._bodyBlob)return function(Q){var q=new FileReader,ue=b(q);return q.readAsText(Q),ue}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(Q){for(var q=new Uint8Array(Q),ue=new Array(q.length),me=0;me-1?q:Q}(q.method||this.method||"GET"),this.mode=q.mode||this.mode||null,this.signal=q.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&ue)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(ue)}function Y(Q){var q=new FormData;return Q.trim().split("&").forEach(function(ue){if(ue){var me=ue.split("="),xe=me.shift().replace(/\+/g," "),pe=me.join("=").replace(/\+/g," ");q.append(decodeURIComponent(xe),decodeURIComponent(pe))}}),q}function $(Q){var q=new p;return Q.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(me){var xe=me.split(":"),pe=xe.shift().trim();if(pe){var oe=xe.join(":").trim();q.append(pe,oe)}}),q}function z(Q,q){q||(q={}),this.type="default",this.status=void 0===q.status?200:q.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in q?q.statusText:"OK",this.headers=new p(q.headers),this.url=q.url||"",this._initBody(Q)}T.prototype.clone=function(){return new T(this,{body:this._bodyInit})},P.call(T.prototype),P.call(z.prototype),z.prototype.clone=function(){return new z(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},z.error=function(){var Q=new z(null,{status:0,statusText:""});return Q.type="error",Q};var G=[301,302,303,307,308];z.redirect=function(Q,q){if(-1===G.indexOf(q))throw new RangeError("Invalid status code");return new z(null,{status:q,headers:{location:Q}})},o.DOMException=he.DOMException;try{new o.DOMException}catch(Q){o.DOMException=function(q,ue){this.message=q,this.name=ue;var me=Error(q);this.stack=me.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function X(Q,q){return new Promise(function(ue,me){var xe=new T(Q,q);if(xe.signal&&xe.signal.aborted)return me(new o.DOMException("Aborted","AbortError"));var pe=new XMLHttpRequest;function oe(){pe.abort()}pe.onload=function(){var ae={status:pe.status,statusText:pe.statusText,headers:$(pe.getAllResponseHeaders()||"")};ae.url="responseURL"in pe?pe.responseURL:ae.headers.get("X-Request-URL"),ue(new z("response"in pe?pe.response:pe.responseText,ae))},pe.onerror=function(){me(new TypeError("Network request failed"))},pe.ontimeout=function(){me(new TypeError("Network request failed"))},pe.onabort=function(){me(new o.DOMException("Aborted","AbortError"))},pe.open(xe.method,xe.url,!0),"include"===xe.credentials?pe.withCredentials=!0:"omit"===xe.credentials&&(pe.withCredentials=!1),"responseType"in pe&&n_blob&&(pe.responseType="blob"),xe.headers.forEach(function(ae,U){pe.setRequestHeader(U,ae)}),xe.signal&&(xe.signal.addEventListener("abort",oe),pe.onreadystatechange=function(){4===pe.readyState&&xe.signal.removeEventListener("abort",oe)}),pe.send(void 0===xe._bodyInit?null:xe._bodyInit)})}X.polyfill=!0,he.fetch||(he.fetch=X,he.Headers=p,he.Request=T,he.Response=z),o.Headers=p,o.Request=T,o.Response=z,o.fetch=X,Object.defineProperty(o,"__esModule",{value:!0})}({})},7664:he=>{he.exports=function(n){var l=new Date(n.getTime()),u=l.getTimezoneOffset();return l.setSeconds(0,0),6e4*u+l.getTime()%6e4}},6937:(he,A,o)=>{var n=o(6910);he.exports=function(u,c){var r=n(u),d=Number(c);return r.setDate(r.getDate()+d),r}},2500:(he,A,o)=>{var n=o(7862);he.exports=function(c,r){var d=Number(r);return n(c,36e5*d)}},7862:(he,A,o)=>{var n=o(6910);he.exports=function(u,c){var r=n(u).getTime(),d=Number(c);return new Date(r+d)}},8091:(he,A,o)=>{var n=o(7862);he.exports=function(c,r){var d=Number(r);return n(c,6e4*d)}},4992:(he,A,o)=>{var n=o(6910),l=o(5490);he.exports=function(c,r){var d=n(c),m=Number(r),p=d.getMonth()+m,y=new Date(0);y.setFullYear(d.getFullYear(),p,1),y.setHours(0,0,0,0);var b=l(y);return d.setMonth(p,Math.min(b,d.getDate())),d}},734:(he,A,o)=>{var n=o(7862);he.exports=function(u,c){var r=Number(c);return n(u,1e3*r)}},5213:(he,A,o)=>{var n=o(6937);he.exports=function(u,c){var r=Number(c);return n(u,7*r)}},2486:(he,A,o)=>{var n=o(4992);he.exports=function(u,c){var r=Number(c);return n(u,12*r)}},5490:(he,A,o)=>{var n=o(6910);he.exports=function(u){var c=n(u),r=c.getFullYear(),d=c.getMonth(),m=new Date(0);return m.setFullYear(r,d+1,0),m.setHours(0,0,0,0),m.getDate()}},9882:he=>{he.exports=function(o){return o instanceof Date}},6910:(he,A,o)=>{var n=o(7664),l=o(9882),u=36e5,c=6e4,d=/[T ]/,m=/:/,p=/^(\d{2})$/,y=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],b=/^(\d{4})/,h=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],g=/^-(\d{2})$/,s=/^-?(\d{3})$/,C=/^-?(\d{2})-?(\d{2})$/,P=/^-?W(\d{2})$/,w=/^-?W(\d{2})-?(\d{1})$/,D=/^(\d{2}([.,]\d*)?)$/,T=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,Y=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,$=/([Z+-].*)$/,z=/^(Z)$/,G=/^([+-])(\d{2})$/,X=/^([+-])(\d{2}):?(\d{2})$/;function oe(ae,U,ie){U=U||0,ie=ie||0;var le=new Date(0);le.setUTCFullYear(ae,0,4);var Te=7*U+ie+1-(le.getUTCDay()||7);return le.setUTCDate(le.getUTCDate()+Te),le}he.exports=function(ae,U){if(l(ae))return new Date(ae.getTime());if("string"!=typeof ae)return new Date(ae);var le=(U||{}).additionalDigits;le=null==le?2:Number(le);var Ce=function(ae){var le,U={},ie=ae.split(d);if(m.test(ie[0])?(U.date=null,le=ie[0]):(U.date=ie[0],le=ie[1]),le){var Ce=$.exec(le);Ce?(U.time=le.replace(Ce[1],""),U.timezone=Ce[1]):U.time=le}return U}(ae),Te=function(ae,U){var Ce,ie=y[U],le=h[U];if(Ce=b.exec(ae)||le.exec(ae)){var Te=Ce[1];return{year:parseInt(Te,10),restDateString:ae.slice(Te.length)}}if(Ce=p.exec(ae)||ie.exec(ae)){var Ke=Ce[1];return{year:100*parseInt(Ke,10),restDateString:ae.slice(Ke.length)}}return{year:null}}(Ce.date,le),ot=function(ae,U){if(null===U)return null;var ie,le,Ce;if(0===ae.length)return(le=new Date(0)).setUTCFullYear(U),le;if(ie=g.exec(ae))return le=new Date(0),Ce=parseInt(ie[1],10)-1,le.setUTCFullYear(U,Ce),le;if(ie=s.exec(ae)){le=new Date(0);var Ke=parseInt(ie[1],10);return le.setUTCFullYear(U,0,Ke),le}if(ie=C.exec(ae)){le=new Date(0),Ce=parseInt(ie[1],10)-1;var tt=parseInt(ie[2],10);return le.setUTCFullYear(U,Ce,tt),le}return(ie=P.exec(ae))?oe(U,parseInt(ie[1],10)-1):(ie=w.exec(ae))?oe(U,parseInt(ie[1],10)-1,parseInt(ie[2],10)-1):null}(Te.restDateString,Te.year);if(ot){var Ie,pt=ot.getTime(),Dt=0;if(Ce.time&&(Dt=function(ae){var U,ie,le;if(U=D.exec(ae))return(ie=parseFloat(U[1].replace(",",".")))%24*u;if(U=T.exec(ae))return ie=parseInt(U[1],10),le=parseFloat(U[2].replace(",",".")),ie%24*u+le*c;if(U=Y.exec(ae)){ie=parseInt(U[1],10),le=parseInt(U[2],10);var Ce=parseFloat(U[3].replace(",","."));return ie%24*u+le*c+1e3*Ce}return null}(Ce.time)),Ce.timezone)Ie=function(ae){var U,ie;return(U=z.exec(ae))?0:(U=G.exec(ae))?(ie=60*parseInt(U[2],10),"+"===U[1]?-ie:ie):(U=X.exec(ae))?(ie=60*parseInt(U[2],10)+parseInt(U[3],10),"+"===U[1]?-ie:ie):0}(Ce.timezone)*c;else{var Qe=pt+Dt,ct=new Date(Qe);Ie=n(ct);var bt=new Date(Qe);bt.setDate(ct.getDate()+1);var Et=n(bt)-n(ct);Et>0&&(Ie+=Et)}return new Date(pt+Dt+Ie)}return new Date(ae)}},1455:(he,A,o)=>{A.formatArgs=function(m){if(m[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+m[0]+(this.useColors?"%c ":" ")+"+"+he.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;m.splice(1,0,p,"color: inherit");let y=0,b=0;m[0].replace(/%[a-zA-Z%]/g,h=>{"%%"!==h&&(y++,"%c"===h&&(b=y))}),m.splice(b,0,p)},A.save=function(m){try{m?A.storage.setItem("debug",m):A.storage.removeItem("debug")}catch(p){}},A.load=function(){let m;try{m=A.storage.getItem("debug")}catch(p){}return!m&&"undefined"!=typeof process&&"env"in process&&(m=process.env.DEBUG),m},A.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},A.storage=function(){try{return localStorage}catch(m){}}(),A.destroy=(()=>{let m=!1;return()=>{m||(m=!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`."))}})(),A.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"],A.log=console.debug||console.log||(()=>{}),he.exports=o(3283)(A);const{formatters:d}=he.exports;d.j=function(m){try{return JSON.stringify(m)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}},3283:(he,A,o)=>{he.exports=function(l){function c(g){let s,P,w,C=null;function D(...T){if(!D.enabled)return;const Y=D,$=Number(new Date);Y.diff=$-(s||$),Y.prev=s,Y.curr=$,s=$,T[0]=c.coerce(T[0]),"string"!=typeof T[0]&&T.unshift("%O");let G=0;T[0]=T[0].replace(/%([a-zA-Z%])/g,(Q,q)=>{if("%%"===Q)return"%";G++;const ue=c.formatters[q];return"function"==typeof ue&&(Q=ue.call(Y,T[G]),T.splice(G,1),G--),Q}),c.formatArgs.call(Y,T),(Y.log||c.log).apply(Y,T)}return D.namespace=g,D.useColors=c.useColors(),D.color=c.selectColor(g),D.extend=r,D.destroy=c.destroy,Object.defineProperty(D,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==C?C:(P!==c.namespaces&&(P=c.namespaces,w=c.enabled(g)),w),set:T=>{C=T}}),"function"==typeof c.init&&c.init(D),D}function r(g,s){const C=c(this.namespace+(void 0===s?":":s)+g);return C.log=this.log,C}function y(g){return g.toString().substring(2,g.toString().length-2).replace(/\.\*\?$/,"*")}return c.debug=c,c.default=c,c.coerce=function(g){return g instanceof Error?g.stack||g.message:g},c.disable=function(){const g=[...c.names.map(y),...c.skips.map(y).map(s=>"-"+s)].join(",");return c.enable(""),g},c.enable=function(g){let s;c.save(g),c.namespaces=g,c.names=[],c.skips=[];const C=("string"==typeof g?g:"").split(/[\s,]+/),P=C.length;for(s=0;s{c[g]=l[g]}),c.names=[],c.skips=[],c.formatters={},c.selectColor=function(g){let s=0;for(let C=0;C{"use strict";var A="%[a-f0-9]{2}",o=new RegExp("("+A+")|([^%]+?)","gi"),n=new RegExp("("+A+")+","gi");function l(r,d){try{return[decodeURIComponent(r.join(""))]}catch(y){}if(1===r.length)return r;var m=r.slice(0,d=d||1),p=r.slice(d);return Array.prototype.concat.call([],l(m),l(p))}function u(r){try{return decodeURIComponent(r)}catch(p){for(var d=r.match(o)||[],m=1;m=64;){for(T=C[0],Y=C[1],$=C[2],z=C[3],G=C[4],X=C[5],Q=C[6],q=C[7],me=0;me<16;me++)s[me]=(255&P[xe=w+4*me])<<24|(255&P[xe+1])<<16|(255&P[xe+2])<<8|255&P[xe+3];for(me=16;me<64;me++)s[me]=((pe=((ue=s[me-2])>>>17|ue<<15)^(ue>>>19|ue<<13)^ue>>>10)+s[me-7]|0)+((oe=((ue=s[me-15])>>>7|ue<<25)^(ue>>>18|ue<<14)^ue>>>3)+s[me-16]|0);for(me=0;me<64;me++)pe=(((G>>>6|G<<26)^(G>>>11|G<<21)^(G>>>25|G<<7))+(G&X^~G&Q)|0)+(q+(u[me]+s[me]|0)|0)|0,oe=((T>>>2|T<<30)^(T>>>13|T<<19)^(T>>>22|T<<10))+(T&Y^T&$^Y&$)|0,q=Q,Q=X,X=G,G=z+pe|0,z=$,$=Y,Y=T,T=pe+oe|0;C[0]+=T,C[1]+=Y,C[2]+=$,C[3]+=z,C[4]+=G,C[5]+=X,C[6]+=Q,C[7]+=q,w+=64,D-=64}return w}var r=function(){function s(){this.digestLength=l.digestLength,this.blockSize=l.blockSize,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()}return s.prototype.reset=function(){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},s.prototype.clean=function(){for(var C=0;C0){for(;this.bufferLength<64&&P>0;)this.buffer[this.bufferLength++]=C[w++],P--;64===this.bufferLength&&(c(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(P>=64&&(w=c(this.temp,this.state,C,w,P),P%=64);P>0;)this.buffer[this.bufferLength++]=C[w++],P--;return this},s.prototype.finish=function(C){if(!this.finished){var P=this.bytesHashed,w=this.bufferLength,D=P/536870912|0,T=P<<3,Y=P%64<56?64:128;this.buffer[w]=128;for(var $=w+1;$>>24&255,this.buffer[Y-7]=D>>>16&255,this.buffer[Y-6]=D>>>8&255,this.buffer[Y-5]=D>>>0&255,this.buffer[Y-4]=T>>>24&255,this.buffer[Y-3]=T>>>16&255,this.buffer[Y-2]=T>>>8&255,this.buffer[Y-1]=T>>>0&255,c(this.temp,this.state,this.buffer,0,Y),this.finished=!0}for($=0;$<8;$++)C[4*$+0]=this.state[$]>>>24&255,C[4*$+1]=this.state[$]>>>16&255,C[4*$+2]=this.state[$]>>>8&255,C[4*$+3]=this.state[$]>>>0&255;return this},s.prototype.digest=function(){var C=new Uint8Array(this.digestLength);return this.finish(C),C},s.prototype._saveState=function(C){for(var P=0;Pthis.blockSize)(new r).update(C).finish(P).clean();else for(var w=0;w1&&C.update(s),P&&C.update(P),C.update(w),C.finish(s),w[0]++}l.HMAC=d,l.hash=m,l.default=m,l.hmac=p;var b=new Uint8Array(l.digestLength);l.hkdf=function(s,C,P,w){void 0===C&&(C=b),void 0===w&&(w=32);for(var D=new Uint8Array([1]),T=p(C,s),Y=new d(T),$=new Uint8Array(Y.digestLength),z=$.length,G=new Uint8Array(w),X=0;X>>24&255,Y[1]=Q>>>16&255,Y[2]=Q>>>8&255,Y[3]=Q>>>0&255,D.reset(),D.update(C),D.update(Y),D.finish(z);for(var q=0;q{he.exports=class{constructor(n){this.capabilityStatement=n}serverCan(n){return this.supportFor({capabilityType:"interaction",where:{code:n}})}resourceCan(n,l){return this.supportFor({resourceType:n,capabilityType:"interaction",where:{code:l}})}serverSearch(n){return this.supportFor({capabilityType:"searchParam",where:{name:n}})}resourceSearch(n,l){return this.supportFor({resourceType:n,capabilityType:"searchParam",where:{name:l}})}supportFor({resourceType:n,capabilityType:l,where:u}={}){let c;if(c=n?this.resourceCapabilities({resourceType:n}):this.serverCapabilities(),!c)return!1;const r=c[l];if(u&&r){const d=Object.keys(u)[0];return void 0!==r.find(p=>p[d]===u[d])}return void 0!==r}interactionsFor({resourceType:n}={}){const l=this.resourceCapabilities({resourceType:n});return void 0===l?[]:l.interaction.map(u=>u.code)}searchParamsFor({resourceType:n}={}){const l=this.resourceCapabilities({resourceType:n});return void 0===l||void 0===l.searchParam?[]:l.searchParam.map(u=>u.name)}resourceCapabilities({resourceType:n}={}){return this.serverCapabilities().resource.find(c=>c.type===n)}capabilityContents({resourceType:n,capabilityType:l}={}){const u=this.resourceCapabilities({resourceType:n});if(void 0!==u)return u[l]}serverCapabilities(){return this.capabilityStatement.rest.find(n=>"server"===n.mode)}}},6336:(he,A,o)=>{var n=o(8926).default;const l=o(3230),{authFromCapability:u,authFromWellKnown:c}=o(231),r=o(3302),d=o(6357),m=o(8279),{createQueryString:p,validResourceType:y}=o(7800),{FetchQueue:b}=o(7011),{deprecatePaginationArgs:h,deprecateHeaders:g}=o(4712),s=o(5457);he.exports=class{constructor({baseUrl:w,customHeaders:D,requestOptions:T,requestSigner:Y,bearerToken:$}={}){this.httpClient=new r({baseUrl:w,customHeaders:D,requestOptions:T,requestSigner:Y}),$&&(this.httpClient.bearerToken=$),this.resolver=new d(this),this.pagination=new m(this.httpClient)}static httpFor(w){return{request:r.requestFor(w),response:r.responseFor(w)}}get baseUrl(){return this.httpClient&&this.httpClient.baseUrl}set baseUrl(w){this.httpClient&&(this.httpClient.baseUrl=w)}get customHeaders(){return this.httpClient.customHeaders}set customHeaders(w){this.httpClient.customHeaders=w}set bearerToken(w){this.httpClient.bearerToken=w}resolve({reference:w,context:D,headers:T,options:Y={}}={}){return this.resolver.resolve({reference:w,context:D,options:g(Y,T)})}smartAuthMetadata({headers:w,options:D={}}={}){var T=this;return n(function*(){const Y={options:g(D,w)};Y.options.headers||(Y.options.headers={}),Y.options.headers.accept="application/fhir+json,application/json";const $=T.baseUrl.replace(/\/*$/,"/"),z=new b,G=z.buildJob(),X=z.buildJob(),Q=z.buildJob(),q=[];return new Promise((ue,me)=>{function xe(pe){q.push(pe)===z.numJobs&&me(new Error(q.map(oe=>oe.message).join("; ")))}T.httpClient.request("GET",`${$}.well-known/smart-configuration`,X.addSignalOption(Y)).then(pe=>(z.safeAbortOthers(X),ue(c(pe)))).catch(pe=>xe(pe)),T.capabilityStatement(G.addSignalOption(Y)).then(pe=>(z.safeAbortOthers(G),ue(u(pe)))).catch(pe=>xe(pe)),T.httpClient.request("GET",`${$}.well-known/openid-configuration`,Q.addSignalOption(Y)).then(pe=>(z.safeAbortOthers(Q),ue(c(pe)))).catch(pe=>xe(pe))})})()}capabilityStatement({headers:w,options:D={}}={}){return this.metadata||(this.metadata=this.httpClient.get("metadata",g(D,w))),this.metadata}request(w,{method:D="GET",options:T={},body:Y}={}){return T.method&&T.method!==D&&console.warn(`WARNING: 'options.method' has been specified: ${T.method} but will be ignored. Use 'method' instead.`),this.httpClient.request(D,w,T,Y)}read({resourceType:w,id:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.get(`${w}/${D}`,g(Y,T))}vread({resourceType:w,id:D,version:T,headers:Y,options:$={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.get(`${w}/${D}/_history/${T}`,g($,Y))}create({resourceType:w,body:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.post(w,D,g(Y,T))}delete({resourceType:w,id:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.delete(`${w}/${D}`,g(Y,T))}update({resourceType:w,id:D,searchParams:T,body:Y,headers:$,options:z={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);if(D&&T)throw new Error("Conditional update with search params cannot be with id",w);if(T){const G=p(T);return this.httpClient.put(`${w}?${G}`,Y,g(z,$))}return this.httpClient.put(`${w}/${D}`,Y,g(z,$))}patch({resourceType:w,id:D,JSONPatch:T,headers:Y,options:$={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);const G={...g($,Y).headers||{},"Content-Type":"application/json-patch+json"};return this.httpClient.patch(`${w}/${D}`,T,{...$,headers:G})}batch({body:w,headers:D,options:T={}}={}){return this.httpClient.post("/",w,g(T,D))}transaction({body:w,headers:D,options:T={}}={}){return this.httpClient.post("/",w,g(T,D))}operation({name:w,resourceType:D,id:T,method:Y="POST",input:$,options:z={}}={}){const G=["/"];if(D){if(!y(D))throw new Error("Invalid resourceType",D);G.push(`${D}/`)}return T&&G.push(`${T}/`),G.push(`${w.startsWith("$")?w:`$${w}`}`),"POST"===Y.toUpperCase()?this.httpClient.post(G.join(""),$,z):"GET"===Y.toUpperCase()?($&&G.push(`?${l.stringify($)}`),this.httpClient.get(G.join(""),z)):void 0}nextPage(w,D){const{bundle:T,options:Y={}}=h(w,D);return this.pagination.nextPage(T,Y)}prevPage(w,D){const{bundle:T,options:Y={}}=h(w,D);return this.pagination.prevPage(T,Y)}search({resourceType:w,compartment:D,searchParams:T,headers:Y,options:$={}}={}){if(w&&!y(w))throw new Error("Invalid resourceType",w);if(D&&w)return this.compartmentSearch({resourceType:w,compartment:D,searchParams:T,options:g($,Y)});if(w)return this.resourceSearch({resourceType:w,searchParams:T,options:g($,Y)});if(T instanceof Object&&Object.keys(T).length>0)return this.systemSearch({searchParams:T,options:g($,Y)});throw new Error("search requires either searchParams or a resourceType")}resourceSearch({resourceType:w,searchParams:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);let $=w;return Y.postSearch&&($+="/_search"),this.baseSearch({searchPath:$,searchParams:D,headers:T,options:Y})}systemSearch({searchParams:w,headers:D,options:T={}}={}){return this.baseSearch({searchPath:"/_search",searchParams:w,headers:D,options:T})}compartmentSearch({resourceType:w,compartment:D,searchParams:T,headers:Y,options:$={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);const{resourceType:z,id:G}=D;if(!y(z))throw new Error("Invalid compartmentType",z);let X=`/${z}/${G}/${w}`;return $.postSearch&&(X+="/_search"),this.baseSearch({searchPath:X,searchParams:T,headers:Y,options:$})}baseSearch({searchPath:w,searchParams:D,headers:T,options:Y}){const $=p(D),z=g(Y,T);return this[Y.postSearch?"postSearch":"getSearch"](w,$,z)}postSearch(w,D,T){const $={"Content-Type":"application/x-www-form-urlencoded",...T.headers},z={...T,headers:$};return this.httpClient.post(w,D,z)}getSearch(w,D,T){let Y=w;return D&&(Y+=`?${D}`),this.httpClient.get(Y,T)}history({resourceType:w,id:D,headers:T,options:Y={}}={}){if(w&&!y(w))throw new Error("Invalid resourceType",w);return D&&w?this.resourceHistory({resourceType:w,id:D,options:g(Y,T)}):w?this.typeHistory({resourceType:w,options:g(Y,T)}):this.systemHistory({options:g(Y,T)})}resourceHistory({resourceType:w,id:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.get(`${w}/${D}/_history`,g(Y,T))}typeHistory({resourceType:w,headers:D,options:T={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.get(`${w}/_history`,g(T,D))}systemHistory({headers:w,options:D={}}={}){return this.httpClient.get("_history",g(D,w))}},he.exports.CapabilityTool=s},4712:he=>{he.exports={deprecateHeaders:(n,l)=>l?(console.warn("WARNING: headers is deprecated and will be removed in the next major version. Use options.headers instead."),console.warn(JSON.stringify(l,null," ")),{headers:l,...n}):n,deprecatePaginationArgs:(n,l)=>{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 u={bundle:n};return l&&(u.options={headers:l}),u}return n}}},7011:(he,A,o)=>{const{AbortController:n}=o(2398);class l{constructor(){this.controller=new n,this.resolving=!1}addSignalOption(r){return{signal:this.controller.signal,...r}}safeAbort(){this.resolving||this.controller.abort()}}he.exports={FetchQueue:class{constructor(){this.jobs=[],this.numJobs=0}buildJob(){const r=new l;return this.numJobs=this.jobs.push(r),r}safeAbortOthers(r){r.resolving=!0;for(let d=0,m=this.numJobs;d{he.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})?$/}},3302:(he,A,o)=>{var n=o(8926).default;o(6604).polyfill(),o(5618);const{logRequestError:l,logRequestInfo:u,logResponseInfo:c}=o(6988),r={accept:"application/fhir+json"},d="__response",m="__request";let y,b,p=!1;try{y=o(9426),b=o(9426).HttpsAgent,p=!0}catch(P){u("HTTP Agent is not available")}const h=new WeakMap;function s({status:P,data:w,method:D,headers:T,url:Y}){const $={response:{status:P,data:w},config:{method:D,url:Y,headers:T}};return l($),$}he.exports=class qa{static lcKeys(w){return w&&Object.keys(w).reduce((D,T)=>(D[T.toLowerCase()]=w[T],D),{})}constructor({baseUrl:w,customHeaders:D={},requestOptions:T={},requestSigner:Y}){this.baseUrl=w,this.customHeaders=D,this.baseRequestOptions=T,this.requestSigner=Y}set baseUrl(w){if(!w)throw new Error("baseUrl cannot be blank");if("string"!=typeof w)throw new Error("baseUrl must be a string");this.baseUrlValue=w}get baseUrl(){return this.baseUrlValue}static responseFor(w){return w[d]}static requestFor(w){return w[m]}set bearerToken(w){this.authHeader={authorization:`Bearer ${w}`}}requestBuilder(w,D,T,Y){const $={...this.baseRequestOptions,...T,method:w,body:(P=Y,"string"==typeof P?P:JSON.stringify(P))};var P;let z={};return p||(z={keepalive:!Object.prototype.hasOwnProperty.call($,"keepalive")||$.keepalive}),Object.assign($,z,{headers:new Headers(this.mergeHeaders(T.headers))},function(P,w={}){const D={baseUrl:P,agentOptions:w};return p?(h.get(D)||(P.startsWith("https")?h.set(D,{agent:new b(w)}):h.set(D,{agent:new y(w)})),h.get(D)):{}}(this.baseUrl,$)),this.requestSigner&&this.requestSigner(D,$),new Request(D,$)}request(w,D,T={},Y){var $=this;return n(function*(){const z=$.expandUrl(D),G=$.requestBuilder(w,z,T,Y);u(w,z,G.headers);const X=yield fetch(G),{status:Q,headers:q}=X;c({status:Q,response:X});const ue=yield X.text();let me={};if(ue)try{me=JSON.parse(ue)}catch(xe){throw me=ue,s({status:Q,data:me,method:w,headers:q,url:z})}if(!X.ok)throw s({status:Q,data:me,method:w,headers:q,url:z});return Object.defineProperty(me,d,{writable:!1,enumerable:!1,value:X}),Object.defineProperty(me,m,{writable:!1,enumerable:!1,value:G}),me})()}get(w,D){var T=this;return n(function*(){return T.request("GET",w,D)})()}delete(w,D){var T=this;return n(function*(){return T.request("DELETE",w,D)})()}put(w,D,T={}){var Y=this;return n(function*(){const $={"content-type":"application/fhir+json",...qa.lcKeys(T.headers)},z={...T,headers:$};return Y.request("PUT",w,z,D)})()}post(w,D,T={}){var Y=this;return n(function*(){const $={"content-type":"application/fhir+json",...qa.lcKeys(T.headers)},z={...T,headers:$};return Y.request("POST",w,z,D)})()}patch(w,D,T){var Y=this;return n(function*(){return Y.request("PATCH",w,T,D)})()}expandUrl(w=""){return w.toLowerCase().startsWith("http")?w:this.baseUrl.endsWith("/")&&w.startsWith("/")?this.baseUrl+w.slice(1):this.baseUrl.endsWith("/")||w.startsWith("/")?this.baseUrl+w:`${this.baseUrl}/${w}`}mergeHeaders(w){const{lcKeys:D}=qa;return{...D(r),...D(this.authHeader),...D(this.customHeaders),...D(w)}}}},6988:(he,A,o)=>{const n=o(642),l=o(1455)("fhir-kit-client:error"),u=o(1455)("fhir-kit-client:info");function c(b){return n(b)}function r(b){return c(b.raw&&"function"==typeof b.raw?b.raw():b)}he.exports={logRequestError:function(b){!l.enabled||(l("!!! Error"),b.response&&l(` Status: ${b.response.status}`),b.config&&(l(` ${b.config.method.toUpperCase()}: ${b.config.url}`),l(` Headers: ${r(b.config.headers)}`)),b.response&&b.response.data&&l(c(b.response.data)),l("!!! Request Error"))},logRequestInfo:function(b,h,g){!u.enabled||(h&&u(`Request: ${b.toUpperCase()} ${h.toString()}`),u(`Request Headers: ${r(g)}`))},logResponseInfo:function(b){!u.enabled||(u(`Response: ${b.status}`),b.data&&u(c(b.data)))},logError:function(b){!l.enabled||l(b)}}},8279:he=>{he.exports=class{constructor(n){this.httpClient=n}nextPage(n,{headers:l}={}){const u=n.link.find(c=>"next"===c.relation);return u?this.httpClient.get(u.url,{headers:l}):void 0}prevPage(n,{headers:l}={}){const u=n.link.find(c=>c.relation.match(/^prev(ious)?$/));return u?this.httpClient.get(u.url,{headers:l}):void 0}}},6357:(he,A,o)=>{var n=o(8926).default;const{splitReference:l}=o(7800),{deprecateHeaders:u}=o(4712);he.exports=class{constructor(c){this.client=c}resolve({reference:c,context:r,headers:d,options:m={}}={}){var p=this;return n(function*(){return void 0===r?c.startsWith("http")?p.resolveAbsoluteReference(c,u(m,d)):p.client.httpClient.get(c,u(m,d)):c.startsWith("#")?p.resolveContainedReference(c,r):p.resolveBundleReference(c,r,u(m,d))})()}resolveAbsoluteReference(c,r){var d=this;return n(function*(){if(c.startsWith(d.client.baseUrl))return d.client.httpClient.get(c,r);const{baseUrl:m,resourceType:p,id:y}=l(c);return new(o(6336))({baseUrl:m}).read({resourceType:p,id:y,options:r})})()}resolveContainedReference(c,r){if(r.contained){const d=c.slice(1),m=r.contained.find(p=>p.id===d);if(m)return m}throw new Error(`Unable to resolve contained reference: ${c}`)}resolveBundleReference(c,r,d){var m=this;return n(function*(){const p=new RegExp(`(^|/)${c}$`),y=r.entry.find(b=>p.test(b.fullUrl));return y?y.resource:m.resolve({reference:c,options:d})})()}}},231:(he,A,o)=>{const{logError:l}=o(6988);he.exports={authFromCapability:function(r){const d={};try{return r.rest.forEach(m=>{m.security.extension.find(y=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===y.url).extension.forEach(y=>{switch(y.url){case"authorize":d.authorizeUrl=new URL(y.valueUri);break;case"token":d.tokenUrl=new URL(y.valueUri);break;case"register":d.registerUrl=new URL(y.valueUri);break;case"manage":d.manageUrl=new URL(y.valueUri)}})}),d}catch(m){return l(m),d}},authFromWellKnown:function(r){const{authorization_endpoint:d,token_endpoint:m,registration_endpoint:p}=r;return{authorizeUrl:d&&new URL(d),tokenUrl:m&&new URL(m),registerUrl:p&&new URL(p)}}}},7800:(he,A,o)=>{const n=o(3230),{fhirReferenceRegEx:l}=o(3113);he.exports={createQueryString:function(d){if(d instanceof Object&&Object.keys(d).length>0)return n.stringify(d)},splitReference:function(d){if(!d.match(l))throw new Error(`${d} is not a recognized FHIR reference`);let m,p=d;d.startsWith("http")&&([,m]=l.exec(d),p=d.slice(m.length),m.endsWith("/")&&(m=m.slice(0,-1)));const[y,b]=p.split("/");return{baseUrl:m,resourceType:y,id:b}},validResourceType:function(d){return!d.startsWith("/")&&!d.includes(":")&&/\S/.test(d)}}},6665:(he,A,o)=>{var n=o(8443).Token,l=o(3805).Lexer,u=o(210).Interval;function c(){return this}function r(d){return c.call(this),this.tokenSource=d,this.tokens=[],this.index=-1,this.fetchedEOF=!1,this}(r.prototype=Object.create(c.prototype)).constructor=r,r.prototype.mark=function(){return 0},r.prototype.release=function(d){},r.prototype.reset=function(){this.seek(0)},r.prototype.seek=function(d){this.lazyInit(),this.index=this.adjustSeekIndex(d)},r.prototype.get=function(d){return this.lazyInit(),this.tokens[d]},r.prototype.consume=function(){if(!(this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(m)>=m},r.prototype.fetch=function(d){if(this.fetchedEOF)return 0;for(var m=0;m=this.tokens.length&&(m=this.tokens.length-1);for(var b=d;b=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[m]},r.prototype.adjustSeekIndex=function(d){return d},r.prototype.lazyInit=function(){-1===this.index&&this.setup()},r.prototype.setup=function(){this.sync(0),this.index=this.adjustSeekIndex(0)},r.prototype.setTokenSource=function(d){this.tokenSource=d,this.tokens=[],this.index=-1,this.fetchedEOF=!1},r.prototype.nextTokenOnChannel=function(d,m){if(this.sync(d),d>=this.tokens.length)return-1;for(var p=this.tokens[d];p.channel!==this.channel;){if(p.type===n.EOF)return-1;this.sync(d+=1),p=this.tokens[d]}return d},r.prototype.previousTokenOnChannel=function(d,m){for(;d>=0&&this.tokens[d].channel!==m;)d-=1;return d},r.prototype.getHiddenTokensToRight=function(d,m){if(void 0===m&&(m=-1),this.lazyInit(),d<0||d>=this.tokens.length)throw d+" not in 0.."+this.tokens.length-1;var p=this.nextTokenOnChannel(d+1,l.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(d+1,-1===p?this.tokens.length-1:p,m)},r.prototype.getHiddenTokensToLeft=function(d,m){if(void 0===m&&(m=-1),this.lazyInit(),d<0||d>=this.tokens.length)throw d+" not in 0.."+this.tokens.length-1;var p=this.previousTokenOnChannel(d-1,l.DEFAULT_TOKEN_CHANNEL);return p===d-1?null:this.filterForChannel(p+1,d-1,m)},r.prototype.filterForChannel=function(d,m,p){for(var y=[],b=d;b=this.tokens.length&&(p=this.tokens.length-1);for(var y="",b=m;b{var n=o(8443).CommonToken;function l(){return this}function u(c){return l.call(this),this.copyText=void 0!==c&&c,this}(u.prototype=Object.create(l.prototype)).constructor=u,u.DEFAULT=new u,u.prototype.create=function(c,r,d,m,p,y,b,h){var g=new n(c,r,m,p,y);return g.line=b,g.column=h,null!==d?g.text=d:this.copyText&&null!==c[1]&&(g.text=c[1].getText(p,y)),g},u.prototype.createThin=function(c,r){var d=new n(null,c);return d.text=r,d},A.$=u},2430:(he,A,o)=>{var n=o(8443).Token,l=o(6665).B;function u(c,r){return l.call(this,c),this.channel=void 0===r?n.DEFAULT_CHANNEL:r,this}(u.prototype=Object.create(l.prototype)).constructor=u,u.prototype.adjustSeekIndex=function(c){return this.nextTokenOnChannel(c,this.channel)},u.prototype.LB=function(c){if(0===c||this.index-c<0)return null;for(var r=this.index,d=1;d<=c;)r=this.previousTokenOnChannel(r-1,this.channel),d+=1;return r<0?null:this.tokens[r]},u.prototype.LT=function(c){if(this.lazyInit(),0===c)return null;if(c<0)return this.LB(-c);for(var r=this.index,d=1;d{var n=o(8443).Token;function u(c,r){return this.name="",this.strdata=c,this.decodeToUnicodeCodePoints=r||!1,function(c){if(c._index=0,c.data=[],c.decodeToUnicodeCodePoints)for(var r=0;r=this._size)throw"cannot consume EOF";this._index+=1},u.prototype.LA=function(c){if(0===c)return 0;c<0&&(c+=1);var r=this._index+c-1;return r<0||r>=this._size?n.EOF:this.data[r]},u.prototype.LT=function(c){return this.LA(c)},u.prototype.mark=function(){return-1},u.prototype.release=function(c){},u.prototype.seek=function(c){this._index=c<=this._index?c:Math.min(c,this._size)},u.prototype.getText=function(c,r){if(r>=this._size&&(r=this._size-1),c>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var d="",m=c;m<=r;m++)d+=String.fromCodePoint(this.data[m]);return d}return this.strdata.slice(c,r+1)},u.prototype.toString=function(){return this.strdata},A.InputStream=u},210:(he,A,o)=>{var n=o(8443).Token;function l(c,r){return this.start=c,this.stop=r,this}function u(){this.intervals=null,this.readOnly=!1}l.prototype.contains=function(c){return c>=this.start&&c=d.stop?(this.intervals.pop(c+1),this.reduce(c)):r.stop>=d.start&&(this.intervals[c]=new l(r.start,d.stop),this.intervals.pop(c+1))}},u.prototype.complement=function(c,r){var d=new u;d.addInterval(new l(c,r+1));for(var m=0;mm.start&&c.stop=m.stop?(this.intervals.splice(r,1),r-=1):c.start":"'"+String.fromCharCode(d.start)+"'":"'"+String.fromCharCode(d.start)+"'..'"+String.fromCharCode(d.stop-1)+"'")}return c.length>1?"{"+c.join(", ")+"}":c[0]},u.prototype.toIndexString=function(){for(var c=[],r=0;r":d.start.toString():d.start.toString()+".."+(d.stop-1).toString())}return c.length>1?"{"+c.join(", ")+"}":c[0]},u.prototype.toTokenString=function(c,r){for(var d=[],m=0;m1?"{"+d.join(", ")+"}":d[0]},u.prototype.elementName=function(c,r,d){return d===n.EOF?"":d===n.EPSILON?"":c[d]||r[d]},A.Interval=l,A.V=u},8802:(he,A,o)=>{var n=o(8065).Set,l=o(8065).BitSet,u=o(8443).Token,c=o(2348).m,d=(o(210),o(210).V),m=o(9855).RuleStopState,p=o(7131).RuleTransition,y=o(7131).NotSetTransition,b=o(7131).WildcardTransition,h=o(7131).AbstractPredicateTransition,g=o(4825),s=g.predictionContextFromRuleContext,C=g.PredictionContext,P=g.SingletonPredictionContext;function w(D){this.atn=D}w.HIT_PRED=u.INVALID_TYPE,w.prototype.getDecisionLookahead=function(D){if(null===D)return null;for(var T=D.transitions.length,Y=[],$=0;${var n=o(8443).Token,l=o(3788).c,u=o(5207).$,c=o(6071).RecognitionException,r=o(6071).LexerNoViableAltException;function m(p){return l.call(this),this._input=p,this._factory=u.DEFAULT,this._tokenFactorySourcePair=[this,p],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=m.DEFAULT_MODE,this._text=null,this}(m.prototype=Object.create(l.prototype)).constructor=m,m.DEFAULT_MODE=0,m.MORE=-2,m.SKIP=-3,m.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,m.HIDDEN=n.HIDDEN_CHANNEL,m.MIN_CHAR_VALUE=0,m.MAX_CHAR_VALUE=1114111,m.prototype.reset=function(){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=m.DEFAULT_MODE,this._modeStack=[],this._interp.reset()},m.prototype.nextToken=function(){if(null===this._input)throw"nextToken requires a non-null input stream.";var p=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;for(var y=!1;;){this._type=n.INVALID_TYPE;var b=m.SKIP;try{b=this._interp.match(this._input,this._mode)}catch(h){if(!(h instanceof c))throw console.log(h.stack),h;this.notifyListeners(h),this.recover(h)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=b),this._type===m.SKIP){y=!0;break}if(this._type!==m.MORE)break}if(!y)return null===this._token&&this.emit(),this._token}}finally{this._input.release(p)}},m.prototype.skip=function(){this._type=m.SKIP},m.prototype.more=function(){this._type=m.MORE},m.prototype.mode=function(p){this._mode=p},m.prototype.pushMode=function(p){this._interp.debug&&console.log("pushMode "+p),this._modeStack.push(this._mode),this.mode(p)},m.prototype.popMode=function(){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},Object.defineProperty(m.prototype,"inputStream",{get:function(){return this._input},set:function(p){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=p,this._tokenFactorySourcePair=[this,this._input]}}),Object.defineProperty(m.prototype,"sourceName",{get:function(){return this._input.sourceName}}),m.prototype.emitToken=function(p){this._token=p},m.prototype.emit=function(){var p=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(p),p},m.prototype.emitEOF=function(){var b=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(b),b},Object.defineProperty(m.prototype,"type",{get:function(){return this.type},set:function(p){this._type=p}}),Object.defineProperty(m.prototype,"line",{get:function(){return this._interp.line},set:function(p){this._interp.line=p}}),Object.defineProperty(m.prototype,"column",{get:function(){return this._interp.column},set:function(p){this._interp.column=p}}),m.prototype.getCharIndex=function(){return this._input.index},Object.defineProperty(m.prototype,"text",{get:function(){return null!==this._text?this._text:this._interp.getText(this._input)},set:function(p){this._text=p}}),m.prototype.getAllTokens=function(){for(var p=[],y=this.nextToken();y.type!==n.EOF;)p.push(y),y=this.nextToken();return p},m.prototype.notifyListeners=function(p){var h=this._input.getText(this._tokenStartCharIndex,this._input.index),g="token recognition error at: '"+this.getErrorDisplay(h)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,g,p)},m.prototype.getErrorDisplay=function(p){for(var y=[],b=0;b":"\n"===p?"\\n":"\t"===p?"\\t":"\r"===p?"\\r":p},m.prototype.getCharErrorDisplay=function(p){return"'"+this.getErrorDisplayForChar(p)+"'"},m.prototype.recover=function(p){this._input.LA(1)!==n.EOF&&(p instanceof r?this._interp.consume(this._input):this._input.consume())},A.Lexer=m},6554:(he,A,o)=>{var n=o(8443).Token,l=o(1029).ParseTreeListener,u=o(3788).c,c=o(7675).t,r=o(3031).ATNDeserializer,d=o(7360).W,m=o(1029).TerminalNode,p=o(1029).ErrorNode;function y(g){return l.call(this),this.parser=g,this}function b(g){return u.call(this),this._input=null,this._errHandler=new c,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(g),this}(y.prototype=Object.create(l.prototype)).constructor=y,y.prototype.enterEveryRule=function(g){console.log("enter "+this.parser.ruleNames[g.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},y.prototype.visitTerminal=function(g){console.log("consume "+g.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])},y.prototype.exitEveryRule=function(g){console.log("exit "+this.parser.ruleNames[g.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},(b.prototype=Object.create(u.prototype)).contructor=b,b.bypassAltsAtnCache={},b.prototype.reset=function(){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()},b.prototype.match=function(g){var s=this.getCurrentToken();return s.type===g?(this._errHandler.reportMatch(this),this.consume()):(s=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===s.tokenIndex&&this._ctx.addErrorNode(s)),s},b.prototype.matchWildcard=function(){var g=this.getCurrentToken();return g.type>0?(this._errHandler.reportMatch(this),this.consume()):(g=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===g.tokenIndex&&this._ctx.addErrorNode(g)),g},b.prototype.getParseListeners=function(){return this._parseListeners||[]},b.prototype.addParseListener=function(g){if(null===g)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(g)},b.prototype.removeParseListener=function(g){if(null!==this._parseListeners){var s=this._parseListeners.indexOf(g);s>=0&&this._parseListeners.splice(s,1),0===this._parseListeners.length&&(this._parseListeners=null)}},b.prototype.removeParseListeners=function(){this._parseListeners=null},b.prototype.triggerEnterRuleEvent=function(){if(null!==this._parseListeners){var g=this._ctx;this._parseListeners.map(function(s){s.enterEveryRule(g),g.enterRule(s)})}},b.prototype.triggerExitRuleEvent=function(){if(null!==this._parseListeners){var g=this._ctx;this._parseListeners.slice(0).reverse().map(function(s){g.exitRule(s),s.exitEveryRule(g)})}},b.prototype.getTokenFactory=function(){return this._input.tokenSource._factory},b.prototype.setTokenFactory=function(g){this._input.tokenSource._factory=g},b.prototype.getATNWithBypassAlts=function(){var g=this.getSerializedATN();if(null===g)throw"The current parser does not support an ATN with bypass alternatives.";var s=this.bypassAltsAtnCache[g];if(null===s){var C=new d;C.generateRuleBypassTransitions=!0,s=new r(C).deserialize(g),this.bypassAltsAtnCache[g]=s}return s};var h=o(3805).Lexer;b.prototype.compileParseTreePattern=function(g,s,C){if(null===(C=C||null)&&null!==this.getTokenStream()){var P=this.getTokenStream().tokenSource;P instanceof h&&(C=P)}if(null===C)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(C,this).compile(g,s)},b.prototype.getInputStream=function(){return this.getTokenStream()},b.prototype.setInputStream=function(g){this.setTokenStream(g)},b.prototype.getTokenStream=function(){return this._input},b.prototype.setTokenStream=function(g){this._input=null,this.reset(),this._input=g},b.prototype.getCurrentToken=function(){return this._input.LT(1)},b.prototype.notifyErrorListeners=function(g,s,C){C=C||null,null===(s=s||null)&&(s=this.getCurrentToken()),this._syntaxErrors+=1;var P=s.line,w=s.column;this.getErrorListenerDispatch().syntaxError(this,s,P,w,g,C)},b.prototype.consume=function(){var g=this.getCurrentToken();g.type!==n.EOF&&this.getInputStream().consume();var C,s=null!==this._parseListeners&&this._parseListeners.length>0;return(this.buildParseTrees||s)&&((C=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(g):this._ctx.addTokenNode(g)).invokingState=this.state,s&&this._parseListeners.map(function(P){C instanceof p||void 0!==C.isErrorNode&&C.isErrorNode()?P.visitErrorNode(C):C instanceof m&&P.visitTerminal(C)})),g},b.prototype.addContextToParseTree=function(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)},b.prototype.enterRule=function(g,s,C){this.state=s,this._ctx=g,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),null!==this._parseListeners&&this.triggerEnterRuleEvent()},b.prototype.exitRule=function(){this._ctx.stop=this._input.LT(-1),null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx},b.prototype.enterOuterAlt=function(g,s){g.setAltNumber(s),this.buildParseTrees&&this._ctx!==g&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(g)),this._ctx=g},b.prototype.getPrecedence=function(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]},b.prototype.enterRecursionRule=function(g,s,C,P){this.state=s,this._precedenceStack.push(P),this._ctx=g,this._ctx.start=this._input.LT(1),null!==this._parseListeners&&this.triggerEnterRuleEvent()},b.prototype.pushNewRecursionContext=function(g,s,C){var P=this._ctx;P.parentCtx=g,P.invokingState=s,P.stop=this._input.LT(-1),this._ctx=g,this._ctx.start=P.start,this.buildParseTrees&&this._ctx.addChild(P),null!==this._parseListeners&&this.triggerEnterRuleEvent()},b.prototype.unrollRecursionContexts=function(g){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var s=this._ctx;if(null!==this._parseListeners)for(;this._ctx!==g;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=g;s.parentCtx=g,this.buildParseTrees&&null!==g&&g.addChild(s)},b.prototype.getInvokingContext=function(g){for(var s=this._ctx;null!==s;){if(s.ruleIndex===g)return s;s=s.parentCtx}return null},b.prototype.precpred=function(g,s){return s>=this._precedenceStack[this._precedenceStack.length-1]},b.prototype.inContext=function(g){return!1},b.prototype.isExpectedToken=function(g){var s=this._interp.atn,C=this._ctx,w=s.nextTokens(s.states[this.state]);if(w.contains(g))return!0;if(!w.contains(n.EPSILON))return!1;for(;null!==C&&C.invokingState>=0&&w.contains(n.EPSILON);){if((w=s.nextTokens(s.states[C.invokingState].transitions[0].followState)).contains(g))return!0;C=C.parentCtx}return!(!w.contains(n.EPSILON)||g!==n.EOF)},b.prototype.getExpectedTokens=function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)},b.prototype.getExpectedTokensWithinCurrentRule=function(){var g=this._interp.atn;return g.nextTokens(g.states[this.state])},b.prototype.getRuleIndex=function(g){var s=this.getRuleIndexMap()[g];return null!==s?s:-1},b.prototype.getRuleInvocationStack=function(g){null===(g=g||null)&&(g=this._ctx);for(var s=[];null!==g;){var C=g.ruleIndex;s.push(C<0?"n/a":this.ruleNames[C]),g=g.parentCtx}return s},b.prototype.getDFAStrings=function(){return this._interp.decisionToDFA.toString()},b.prototype.dumpDFA=function(){for(var g=!1,s=0;s0&&(g&&console.log(),this.printer.println("Decision "+C.decision+":"),this.printer.print(C.toString(this.literalNames,this.symbolicNames)),g=!0)}},b.prototype.getSourceName=function(){return this._input.sourceName},b.prototype.setTrace=function(g){g?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new y(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)},A.Parser=b},911:(he,A,o)=>{var n=o(61).r,l=o(1029),u=l.INVALID_INTERVAL,c=l.TerminalNode,r=l.TerminalNodeImpl,d=l.ErrorNodeImpl,m=o(210).Interval;function p(b,h){n.call(this,b=b||null,h=h||null),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}function y(b,h,g){return p.call(b,h),this.ruleIndex=g,this}(p.prototype=Object.create(n.prototype)).constructor=p,p.prototype.copyFrom=function(b){this.parentCtx=b.parentCtx,this.invokingState=b.invokingState,this.children=null,this.start=b.start,this.stop=b.stop,b.children&&(this.children=[],b.children.map(function(h){h instanceof d&&(this.children.push(h),h.parentCtx=this)},this))},p.prototype.enterRule=function(b){},p.prototype.exitRule=function(b){},p.prototype.addChild=function(b){return null===this.children&&(this.children=[]),this.children.push(b),b},p.prototype.removeLastChild=function(){null!==this.children&&this.children.pop()},p.prototype.addTokenNode=function(b){var h=new r(b);return this.addChild(h),h.parentCtx=this,h},p.prototype.addErrorNode=function(b){var h=new d(b);return this.addChild(h),h.parentCtx=this,h},p.prototype.getChild=function(b,h){if(null===this.children||b<0||b>=this.children.length)return null;if(null===(h=h||null))return this.children[b];for(var g=0;g=this.children.length)return null;for(var g=0;g{var n=o(61).r,l=o(8065).Hash,u=o(8065).Map;function c(D){this.cachedHashCode=D}function r(){return this.cache=new u,this}function d(D,T){var Y,$=new l;null!==D?$.update(D,T):$.update(1),Y=$.finish(),c.call(this,Y),this.parentCtx=D,this.returnState=T}function m(){return d.call(this,null,c.EMPTY_RETURN_STATE),this}function p(D,T){var Y=new l;Y.update(D,T);var $=Y.finish();return c.call(this,$),this.parents=D,this.returnStates=T,this}c.EMPTY=null,c.EMPTY_RETURN_STATE=2147483647,c.id=c.globalNodeCount=1,c.prototype.isEmpty=function(){return this===c.EMPTY},c.prototype.hasEmptyPath=function(){return this.getReturnState(this.length-1)===c.EMPTY_RETURN_STATE},c.prototype.hashCode=function(){return this.cachedHashCode},c.prototype.updateHashCode=function(D){D.update(this.cachedHashCode)},r.prototype.add=function(D){if(D===c.EMPTY)return c.EMPTY;var T=this.cache.get(D)||null;return null!==T?T:(this.cache.put(D,D),D)},r.prototype.get=function(D){return this.cache.get(D)||null},Object.defineProperty(r.prototype,"length",{get:function(){return this.cache.length}}),(d.prototype=Object.create(c.prototype)).contructor=d,d.create=function(D,T){return T===c.EMPTY_RETURN_STATE&&null===D?c.EMPTY:new d(D,T)},Object.defineProperty(d.prototype,"length",{get:function(){return 1}}),d.prototype.getParent=function(D){return this.parentCtx},d.prototype.getReturnState=function(D){return this.returnState},d.prototype.equals=function(D){return this===D||D instanceof d&&this.hashCode()===D.hashCode()&&this.returnState===D.returnState&&(null==this.parentCtx?null==D.parentCtx:this.parentCtx.equals(D.parentCtx))},d.prototype.toString=function(){var D=null===this.parentCtx?"":this.parentCtx.toString();return 0===D.length?this.returnState===c.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+D},(m.prototype=Object.create(d.prototype)).constructor=m,m.prototype.isEmpty=function(){return!0},m.prototype.getParent=function(D){return null},m.prototype.getReturnState=function(D){return this.returnState},m.prototype.equals=function(D){return this===D},m.prototype.toString=function(){return"$"},c.EMPTY=new m,(p.prototype=Object.create(c.prototype)).constructor=p,p.prototype.isEmpty=function(){return this.returnStates[0]===c.EMPTY_RETURN_STATE},Object.defineProperty(p.prototype,"length",{get:function(){return this.returnStates.length}}),p.prototype.getParent=function(D){return this.parents[D]},p.prototype.getReturnState=function(D){return this.returnStates[D]},p.prototype.equals=function(D){return this===D||D instanceof p&&this.hashCode()===D.hashCode()&&this.returnStates===D.returnStates&&this.parents===D.parents},p.prototype.toString=function(){if(this.isEmpty())return"[]";for(var D="[",T=0;T0&&(D+=", "),this.returnStates[T]!==c.EMPTY_RETURN_STATE?(D+=this.returnStates[T],null!==this.parents[T]?D=D+" "+this.parents[T]:D+="null"):D+="$";return D+"]"},A.merge=function b(D,T,Y,$){if(D===T)return D;if(D instanceof d&&T instanceof d)return function(D,T,Y,$){if(null!==$){var z=$.get(D,T);if(null!==z||null!==(z=$.get(T,D)))return z}var G=function(D,T,Y){if(Y){if(D===c.EMPTY||T===c.EMPTY)return c.EMPTY}else{if(D===c.EMPTY&&T===c.EMPTY)return c.EMPTY;if(D===c.EMPTY)return new p([T.parentCtx,null],[T.returnState,c.EMPTY_RETURN_STATE]);if(T===c.EMPTY)return new p([D.parentCtx,null],[D.returnState,c.EMPTY_RETURN_STATE])}return null}(D,T,Y);if(null!==G)return null!==$&&$.set(D,T,G),G;if(D.returnState===T.returnState){var X=b(D.parentCtx,T.parentCtx,Y,$);if(X===D.parentCtx)return D;if(X===T.parentCtx)return T;var Q=d.create(X,D.returnState);return null!==$&&$.set(D,T,Q),Q}var q=null;if((D===T||null!==D.parentCtx&&D.parentCtx===T.parentCtx)&&(q=D.parentCtx),null!==q){var me=[D.returnState,T.returnState];D.returnState>T.returnState&&(me[0]=T.returnState,me[1]=D.returnState);var ue=new p(xe=[q,q],me);return null!==$&&$.set(D,T,ue),ue}me=[D.returnState,T.returnState];var xe=[D.parentCtx,T.parentCtx];D.returnState>T.returnState&&(me[0]=T.returnState,me[1]=D.returnState,xe=[T.parentCtx,D.parentCtx]);var pe=new p(xe,me);return null!==$&&$.set(D,T,pe),pe}(D,T,Y,$);if(Y){if(D instanceof m)return D;if(T instanceof m)return T}return D instanceof d&&(D=new p([D.getParent()],[D.returnState])),T instanceof d&&(T=new p([T.getParent()],[T.returnState])),function(D,T,Y,$){if(null!==$){var z=$.get(D,T);if(null!==z||null!==(z=$.get(T,D)))return z}for(var G=0,X=0,Q=0,q=[],ue=[];G{var n=o(8443).Token,l=o(1911).s,u=o(1911).N;function c(){return this._listeners=[l.INSTANCE],this._interp=null,this._stateNumber=-1,this}c.tokenTypeMapCache={},c.ruleIndexMapCache={},c.prototype.checkVersion=function(r){"4.8"!==r&&console.log("ANTLR runtime and generated code versions disagree: 4.8!="+r)},c.prototype.addErrorListener=function(r){this._listeners.push(r)},c.prototype.removeErrorListeners=function(){this._listeners=[]},c.prototype.getTokenTypeMap=function(){var r=this.getTokenNames();if(null===r)throw"The current recognizer does not provide a list of token names.";var d=this.tokenTypeMapCache[r];return void 0===d&&((d=r.reduce(function(m,p,y){m[p]=y})).EOF=n.EOF,this.tokenTypeMapCache[r]=d),d},c.prototype.getRuleIndexMap=function(){var r=this.ruleNames;if(null===r)throw"The current recognizer does not provide a list of rule names.";var d=this.ruleIndexMapCache[r];return void 0===d&&(d=r.reduce(function(m,p,y){m[p]=y}),this.ruleIndexMapCache[r]=d),d},c.prototype.getTokenType=function(r){var d=this.getTokenTypeMap()[r];return void 0!==d?d:n.INVALID_TYPE},c.prototype.getErrorHeader=function(r){return"line "+r.getOffendingToken().line+":"+r.getOffendingToken().column},c.prototype.getTokenErrorDisplay=function(r){if(null===r)return"";var d=r.text;return null===d&&(d=r.type===n.EOF?"":"<"+r.type+">"),"'"+(d=d.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"))+"'"},c.prototype.getErrorListenerDispatch=function(){return new u(this._listeners)},c.prototype.sempred=function(r,d,m){return!0},c.prototype.precpred=function(r,d){return!0},Object.defineProperty(c.prototype,"state",{get:function(){return this._stateNumber},set:function(r){this._stateNumber=r}}),A.c=c},61:(he,A,o)=>{var n=o(1029).RuleNode,l=o(1029).INVALID_INTERVAL,u=o(1828).INVALID_ALT_NUMBER;function c(d,m){return n.call(this),this.parentCtx=d||null,this.invokingState=m||-1,this}(c.prototype=Object.create(n.prototype)).constructor=c,c.prototype.depth=function(){for(var d=0,m=this;null!==m;)m=m.parentCtx,d+=1;return d},c.prototype.isEmpty=function(){return-1===this.invokingState},c.prototype.getSourceInterval=function(){return l},c.prototype.getRuleContext=function(){return this},c.prototype.getPayload=function(){return this},c.prototype.getText=function(){return 0===this.getChildCount()?"":this.children.map(function(d){return d.getText()}).join("")},c.prototype.getAltNumber=function(){return u},c.prototype.setAltNumber=function(d){},c.prototype.getChild=function(d){return null},c.prototype.getChildCount=function(){return 0},c.prototype.accept=function(d){return d.visitChildren(this)},A.r=c;var r=o(2565).Trees;c.prototype.toStringTree=function(d,m){return r.toStringTree(this,d,m)},c.prototype.toString=function(d,m){d=d||null,m=m||null;for(var p=this,y="[";null!==p&&p!==m;){if(null===d)p.isEmpty()||(y+=p.invokingState);else{var b=p.ruleIndex;y+=b>=0&&b{function o(){return 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,this}function n(l,u,c,r,d){return o.call(this),this.source=void 0!==l?l:n.EMPTY_SOURCE,this.type=void 0!==u?u:null,this.channel=void 0!==c?c:o.DEFAULT_CHANNEL,this.start=void 0!==r?r:-1,this.stop=void 0!==d?d:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=l[0].line,this.column=l[0].column):this.column=-1,this}o.INVALID_TYPE=0,o.EPSILON=-2,o.MIN_USER_TOKEN_TYPE=1,o.EOF=-1,o.DEFAULT_CHANNEL=0,o.HIDDEN_CHANNEL=1,Object.defineProperty(o.prototype,"text",{get:function(){return this._text},set:function(l){this._text=l}}),o.prototype.getTokenSource=function(){return this.source[0]},o.prototype.getInputStream=function(){return this.source[1]},(n.prototype=Object.create(o.prototype)).constructor=n,n.EMPTY_SOURCE=[null,null],n.prototype.clone=function(){var l=new n(this.source,this.type,this.channel,this.start,this.stop);return l.tokenIndex=this.tokenIndex,l.line=this.line,l.column=this.column,l.text=this.text,l},Object.defineProperty(n.prototype,"text",{get:function(){if(null!==this._text)return this._text;var l=this.getInputStream();if(null===l)return null;var u=l.size;return this.start"},set:function(l){this._text=l}}),n.prototype.toString=function(){var l=this.text;return l=null!==l?l.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+l+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"},A.Token=o,A.CommonToken=n},8065:(he,A)=>{function o(s){return"["+s.join(", ")+"]"}function n(s,C){return s.equals(C)}function l(s){return s.hashCode()}function u(s,C){return this.data={},this.hashFunction=s||l,this.equalsFunction=C||n,this}function c(){return this.data=[],this}function r(s,C){return this.data={},this.hashFunction=s||l,this.equalsFunction=C||n,this}function d(){return this.data={},this}function m(s){return this.defaultMapCtor=s||r,this.cacheMap=new this.defaultMapCtor,this}function p(){return this.count=0,this.hash=0,this}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){var s,C,P,w,D,Y,z,G,X=this.toString();for(C=X.length-(s=3&X.length),P=String.prototype.seed,D=3432918353,Y=461845907,G=0;G>>16)*D&65535)<<16)&4294967295)<<15|z>>>17))*Y+(((z>>>16)*Y&65535)<<16)&4294967295)<<13|P>>>19))+((5*(P>>>16)&65535)<<16)&4294967295))+((58964+(w>>>16)&65535)<<16);switch(z=0,s){case 3:z^=(255&X.charCodeAt(G+2))<<16;case 2:z^=(255&X.charCodeAt(G+1))<<8;case 1:P^=z=(65535&(z=(z=(65535&(z^=255&X.charCodeAt(G)))*D+(((z>>>16)*D&65535)<<16)&4294967295)<<15|z>>>17))*Y+(((z>>>16)*Y&65535)<<16)&4294967295}return P^=X.length,P=2246822507*(65535&(P^=P>>>16))+((2246822507*(P>>>16)&65535)<<16)&4294967295,P=3266489909*(65535&(P^=P>>>13))+((3266489909*(P>>>16)&65535)<<16)&4294967295,(P^=P>>>16)>>>0},Object.defineProperty(u.prototype,"length",{get:function(){var s=0;for(var C in this.data)0===C.indexOf("hash_")&&(s+=this.data[C].length);return s}}),u.prototype.add=function(s){var P="hash_"+this.hashFunction(s);if(P in this.data){for(var w=this.data[P],D=0;D>>17,P*=461845907,this.count=this.count+1;var w=this.hash^P;this.hash=w=5*(w=w<<13|w>>>19)+3864292196}}},p.prototype.finish=function(){var s=this.hash^4*this.count;return s^=s>>>16,s*=2246822507,s^=s>>>13,(s*=3266489909)^s>>>16},m.prototype.get=function(s,C){var P=this.cacheMap.get(s)||null;return null===P?null:P.get(C)||null},m.prototype.set=function(s,C,P){var w=this.cacheMap.get(s)||null;null===w&&(w=new this.defaultMapCtor,this.cacheMap.put(s,w)),w.put(C,P)},A.Hash=p,A.Set=u,A.Map=r,A.BitSet=c,A.AltDict=d,A.DoubleDict=m,A.hashStuff=function(){var s=new p;return s.update.apply(s,arguments),s.finish()},A.escapeWhitespace=function(s,C){return s=s.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),C&&(s=s.replace(/ /g,"\xb7")),s},A.arrayToString=o,A.titleCase=function(s){return s.replace(/\w\S*/g,function(C){return C.charAt(0).toUpperCase()+C.substr(1)})},A.equalArrays=function(s,C){if(!Array.isArray(s)||!Array.isArray(C))return!1;if(s==C)return!0;if(s.length!=C.length)return!1;for(var P=0;P{var n=o(8802).u,l=o(210).V;function u(r,d){return this.grammarType=r,this.maxTokenType=d,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[],this}u.prototype.nextTokensInContext=function(r,d){return new n(this).LOOK(r,null,d)},u.prototype.nextTokensNoContext=function(r){return null!==r.nextTokenWithinRule||(r.nextTokenWithinRule=this.nextTokensInContext(r,null),r.nextTokenWithinRule.readOnly=!0),r.nextTokenWithinRule},u.prototype.nextTokens=function(r,d){return void 0===d?this.nextTokensNoContext(r):this.nextTokensInContext(r,d)},u.prototype.addState=function(r){null!==r&&(r.atn=this,r.stateNumber=this.states.length),this.states.push(r)},u.prototype.removeState=function(r){this.states[r.stateNumber]=null},u.prototype.defineDecisionState=function(r){return this.decisionToState.push(r),r.decision=this.decisionToState.length-1,r.decision},u.prototype.getDecisionState=function(r){return 0===this.decisionToState.length?null:this.decisionToState[r]};var c=o(8443).Token;u.prototype.getExpectedTokens=function(r,d){if(r<0||r>=this.states.length)throw"Invalid state number.";var p=this.nextTokens(this.states[r]);if(!p.contains(c.EPSILON))return p;var y=new l;for(y.addSet(p),y.removeOne(c.EPSILON);null!==d&&d.invokingState>=0&&p.contains(c.EPSILON);)p=this.nextTokens(this.states[d.invokingState].transitions[0].followState),y.addSet(p),y.removeOne(c.EPSILON),d=d.parentCtx;return p.contains(c.EPSILON)&&y.addOne(c.EOF),y},u.INVALID_ALT_NUMBER=0,A.ATN=u},2348:(he,A,o)=>{var n=o(9855).DecisionState,l=o(4636).dP,u=o(8065).Hash;function c(m,p){if(null===m){var y={state:null,alt:null,context:null,semanticContext:null};return p&&(y.reachesIntoOuterContext=0),y}var b={};return b.state=m.state||null,b.alt=void 0===m.alt?null:m.alt,b.context=m.context||null,b.semanticContext=m.semanticContext||null,p&&(b.reachesIntoOuterContext=m.reachesIntoOuterContext||0,b.precedenceFilterSuppressed=m.precedenceFilterSuppressed||!1),b}function r(m,p){return this.checkContext(m,p),m=c(m),p=c(p,!0),this.state=null!==m.state?m.state:p.state,this.alt=null!==m.alt?m.alt:p.alt,this.context=null!==m.context?m.context:p.context,this.semanticContext=null!==m.semanticContext?m.semanticContext:null!==p.semanticContext?p.semanticContext:l.NONE,this.reachesIntoOuterContext=p.reachesIntoOuterContext,this.precedenceFilterSuppressed=p.precedenceFilterSuppressed,this}function d(m,p){return r.call(this,m,p),this.lexerActionExecutor=m.lexerActionExecutor||(null!==p?p.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==p&&this.checkNonGreedyDecision(p,this.state),this}r.prototype.checkContext=function(m,p){null==m.context&&(null===p||null==p.context)&&(this.context=null)},r.prototype.hashCode=function(){var m=new u;return this.updateHashCode(m),m.finish()},r.prototype.updateHashCode=function(m){m.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)},r.prototype.equals=function(m){return this===m||m instanceof r&&this.state.stateNumber===m.state.stateNumber&&this.alt===m.alt&&(null===this.context?null===m.context:this.context.equals(m.context))&&this.semanticContext.equals(m.semanticContext)&&this.precedenceFilterSuppressed===m.precedenceFilterSuppressed},r.prototype.hashCodeForConfigSet=function(){var m=new u;return m.update(this.state.stateNumber,this.alt,this.semanticContext),m.finish()},r.prototype.equalsForConfigSet=function(m){return this===m||m instanceof r&&this.state.stateNumber===m.state.stateNumber&&this.alt===m.alt&&this.semanticContext.equals(m.semanticContext)},r.prototype.toString=function(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==l.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"},(d.prototype=Object.create(r.prototype)).constructor=d,d.prototype.updateHashCode=function(m){m.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)},d.prototype.equals=function(m){return this===m||m instanceof d&&this.passedThroughNonGreedyDecision==m.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(m.lexerActionExecutor):!m.lexerActionExecutor)&&r.prototype.equals.call(this,m)},d.prototype.hashCodeForConfigSet=d.prototype.hashCode,d.prototype.equalsForConfigSet=d.prototype.equals,d.prototype.checkNonGreedyDecision=function(m,p){return m.passedThroughNonGreedyDecision||p instanceof n&&p.nonGreedy},A.m=r,A.P=d},9186:(he,A,o)=>{var n=o(1828).ATN,l=o(8065),u=l.Hash,c=l.Set,r=o(4636).dP,d=o(4825).merge;function m(h){return h.hashCodeForConfigSet()}function p(h,g){return h===g||null!==h&&null!==g&&h.equalsForConfigSet(g)}function y(h){return this.configLookup=new c(m,p),this.fullCtx=void 0===h||h,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1,this}function b(){return y.call(this),this.configLookup=new c,this}y.prototype.add=function(h,g){if(void 0===g&&(g=null),this.readOnly)throw"This set is readonly";h.semanticContext!==r.NONE&&(this.hasSemanticContext=!0),h.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var s=this.configLookup.add(h);if(s===h)return this.cachedHashCode=-1,this.configs.push(h),!0;var P=d(s.context,h.context,!this.fullCtx,g);return s.reachesIntoOuterContext=Math.max(s.reachesIntoOuterContext,h.reachesIntoOuterContext),h.precedenceFilterSuppressed&&(s.precedenceFilterSuppressed=!0),s.context=P,!0},y.prototype.getStates=function(){for(var h=new c,g=0;g{function o(n){return void 0===n&&(n=null),this.readOnly=!1,this.verifyATN=null===n||n.verifyATN,this.generateRuleBypassTransitions=null!==n&&n.generateRuleBypassTransitions,this}(o.defaultOptions=new o).readOnly=!0,A.W=o},3031:(he,A,o)=>{var n=o(8443).Token,l=o(1828).ATN,u=o(6796).n,c=o(9855),r=c.ATNState,d=c.BasicState,m=c.DecisionState,p=c.BlockStartState,y=c.BlockEndState,b=c.LoopEndState,h=c.RuleStartState,g=c.RuleStopState,s=c.TokensStartState,C=c.PlusLoopbackState,P=c.StarLoopbackState,w=c.StarLoopEntryState,D=c.PlusBlockStartState,T=c.StarBlockStartState,Y=c.BasicBlockStartState,$=o(7131),z=$.Transition,G=$.AtomTransition,X=$.SetTransition,Q=$.NotSetTransition,q=$.RuleTransition,ue=$.RangeTransition,me=$.ActionTransition,xe=$.EpsilonTransition,pe=$.WildcardTransition,oe=$.PredicateTransition,ae=$.PrecedencePredicateTransition,U=o(210).V,le=(o(210),o(7360).W),Ce=o(3822),Te=Ce.LexerActionType,Ke=Ce.LexerSkipAction,tt=Ce.LexerChannelAction,ot=Ce.LexerCustomAction,pt=Ce.LexerMoreAction,Dt=Ce.LexerTypeAction,Ie=Ce.LexerPushModeAction,Qe=Ce.LexerPopModeAction,ct=Ce.LexerModeAction,Et="59627784-3BE5-417A-B9EB-8131A7286089",xt=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Et];function rt(_e,Z){var j=[];return j[_e-1]=Z,j.map(function(_){return Z})}function ze(_e){return null==_e&&(_e=le.defaultOptions),this.deserializationOptions=_e,this.stateFactories=null,this.actionFactories=null,this}ze.prototype.isFeatureSupported=function(_e,Z){var j=xt.indexOf(_e);return!(j<0)&&xt.indexOf(Z)>=j},ze.prototype.deserialize=function(_e){this.reset(_e),this.checkVersion(),this.checkUUID();var Z=this.readATN();this.readStates(Z),this.readRules(Z),this.readModes(Z);var j=[];return this.readSets(Z,j,this.readInt.bind(this)),this.isFeatureSupported(Et,this.uuid)&&this.readSets(Z,j,this.readInt32.bind(this)),this.readEdges(Z,j),this.readDecisions(Z),this.readLexerActions(Z),this.markPrecedenceDecisions(Z),this.verifyATN(Z),this.deserializationOptions.generateRuleBypassTransitions&&Z.grammarType===u.PARSER&&(this.generateRuleBypassTransitions(Z),this.verifyATN(Z)),Z},ze.prototype.reset=function(_e){var j=_e.split("").map(function(_){var x=_.charCodeAt(0);return x>1?x-2:x+65534});j[0]=_e.charCodeAt(0),this.data=j,this.pos=0},ze.prototype.checkVersion=function(){var _e=this.readInt();if(3!==_e)throw"Could not deserialize ATN with version "+_e+" (expected 3)."},ze.prototype.checkUUID=function(){var _e=this.readUUID();if(xt.indexOf(_e)<0)throw"59627784-3BE5-417A-B9EB-8131A7286089";this.uuid=_e},ze.prototype.readATN=function(){var _e=this.readInt(),Z=this.readInt();return new l(_e,Z)},ze.prototype.readStates=function(_e){for(var Z,j,_,x=[],N=[],ce=this.readInt(),Ue=0;Ue0;)x.addTransition(Ae.transitions[nt-1]),Ae.transitions=Ae.transitions.slice(-1);_e.ruleToStartState[Z].addTransition(new xe(x)),N.addTransition(new xe(Ue));var Pt=new d;_e.addState(Pt),Pt.addTransition(new G(N,_e.ruleToTokenType[Z])),x.addTransition(new xe(Pt))},ze.prototype.stateIsEndStateFor=function(_e,Z){if(_e.ruleIndex!==Z||!(_e instanceof w))return null;var j=_e.transitions[_e.transitions.length-1].target;return j instanceof b&&j.epsilonOnlyTransitions&&j.transitions[0].target instanceof g?_e:null},ze.prototype.markPrecedenceDecisions=function(_e){for(var Z=0;Z<_e.states.length;Z++){var j=_e.states[Z];if(j instanceof w&&_e.ruleToStartState[j.ruleIndex].isPrecedenceRule){var _=j.transitions[j.transitions.length-1].target;_ instanceof b&&_.epsilonOnlyTransitions&&_.transitions[0].target instanceof g&&(j.isPrecedenceDecision=!0)}}},ze.prototype.verifyATN=function(_e){if(this.deserializationOptions.verifyATN)for(var Z=0;Z<_e.states.length;Z++){var j=_e.states[Z];if(null!==j)if(this.checkCondition(j.epsilonOnlyTransitions||j.transitions.length<=1),j instanceof D)this.checkCondition(null!==j.loopBackState);else if(j instanceof w)if(this.checkCondition(null!==j.loopBackState),this.checkCondition(2===j.transitions.length),j.transitions[0].target instanceof T)this.checkCondition(j.transitions[1].target instanceof b),this.checkCondition(!j.nonGreedy);else{if(!(j.transitions[0].target instanceof b))throw"IllegalState";this.checkCondition(j.transitions[1].target instanceof T),this.checkCondition(j.nonGreedy)}else j instanceof P?(this.checkCondition(1===j.transitions.length),this.checkCondition(j.transitions[0].target instanceof w)):this.checkCondition(j instanceof b?null!==j.loopBackState:j instanceof h?null!==j.stopState:j instanceof p?null!==j.endState:j instanceof y?null!==j.startState:j instanceof m?j.transitions.length<=1||j.decision>=0:j.transitions.length<=1||j instanceof g)}},ze.prototype.checkCondition=function(_e,Z){if(!_e)throw null==Z&&(Z="IllegalState"),Z},ze.prototype.readInt=function(){return this.data[this.pos++]},ze.prototype.readInt32=function(){return this.readInt()|this.readInt()<<16},ze.prototype.readLong=function(){return 4294967295&this.readInt32()|this.readInt32()<<32};var mt=function(){for(var _e=[],Z=0;Z<256;Z++)_e[Z]=(Z+256).toString(16).substr(1).toUpperCase();return _e}();ze.prototype.readUUID=function(){for(var _e=[],Z=7;Z>=0;Z--){var j=this.readInt();_e[2*Z+1]=255&j,_e[2*Z]=j>>8&255}return mt[_e[0]]+mt[_e[1]]+mt[_e[2]]+mt[_e[3]]+"-"+mt[_e[4]]+mt[_e[5]]+"-"+mt[_e[6]]+mt[_e[7]]+"-"+mt[_e[8]]+mt[_e[9]]+"-"+mt[_e[10]]+mt[_e[11]]+mt[_e[12]]+mt[_e[13]]+mt[_e[14]]+mt[_e[15]]},ze.prototype.edgeFactory=function(_e,Z,j,_,x,N,ce,Ue){var Oe=_e.states[_];switch(Z){case z.EPSILON:return new xe(Oe);case z.RANGE:return new ue(Oe,0!==ce?n.EOF:x,N);case z.RULE:return new q(_e.states[x],N,ce,Oe);case z.PREDICATE:return new oe(Oe,x,N,0!==ce);case z.PRECEDENCE:return new ae(Oe,x);case z.ATOM:return new G(Oe,0!==ce?n.EOF:x);case z.ACTION:return new me(Oe,x,N,0!==ce);case z.SET:return new X(Oe,Ue[x]);case z.NOT_SET:return new Q(Oe,Ue[x]);case z.WILDCARD:return new pe(Oe);default:throw"The specified transition type: "+Z+" is not valid."}},ze.prototype.stateFactory=function(_e,Z){if(null===this.stateFactories){var j=[];j[r.INVALID_TYPE]=null,j[r.BASIC]=function(){return new d},j[r.RULE_START]=function(){return new h},j[r.BLOCK_START]=function(){return new Y},j[r.PLUS_BLOCK_START]=function(){return new D},j[r.STAR_BLOCK_START]=function(){return new T},j[r.TOKEN_START]=function(){return new s},j[r.RULE_STOP]=function(){return new g},j[r.BLOCK_END]=function(){return new y},j[r.STAR_LOOP_BACK]=function(){return new P},j[r.STAR_LOOP_ENTRY]=function(){return new w},j[r.PLUS_LOOP_BACK]=function(){return new C},j[r.LOOP_END]=function(){return new b},this.stateFactories=j}if(_e>this.stateFactories.length||null===this.stateFactories[_e])throw"The specified state type "+_e+" is not valid.";var _=this.stateFactories[_e]();if(null!==_)return _.ruleIndex=Z,_},ze.prototype.lexerActionFactory=function(_e,Z,j){if(null===this.actionFactories){var _=[];_[Te.CHANNEL]=function(x,N){return new tt(x)},_[Te.CUSTOM]=function(x,N){return new ot(x,N)},_[Te.MODE]=function(x,N){return new ct(x)},_[Te.MORE]=function(x,N){return pt.INSTANCE},_[Te.POP_MODE]=function(x,N){return Qe.INSTANCE},_[Te.PUSH_MODE]=function(x,N){return new Ie(x)},_[Te.SKIP]=function(x,N){return Ke.INSTANCE},_[Te.TYPE]=function(x,N){return new Dt(x)},this.actionFactories=_}if(_e>this.actionFactories.length||null===this.actionFactories[_e])throw"The specified lexer action type "+_e+" is not valid.";return this.actionFactories[_e](Z,j)},A.ATNDeserializer=ze},7601:(he,A,o)=>{var n=o(1399).B,l=o(9186).B,u=o(4825).getCachedPredictionContext,c=o(8065).Map;function r(d,m){return this.atn=d,this.sharedContextCache=m,this}r.ERROR=new n(2147483647,new l),r.prototype.getCachedContext=function(d){if(null===this.sharedContextCache)return d;var m=new c;return u(d,this.sharedContextCache,m)},A.f=r},9855:(he,A)=>{function n(){return this.atn=null,this.stateNumber=n.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null,this}function l(){return n.call(this),this.stateType=n.BASIC,this}function u(){return n.call(this),this.decision=-1,this.nonGreedy=!1,this}function c(){return u.call(this),this.endState=null,this}function r(){return c.call(this),this.stateType=n.BLOCK_START,this}function d(){return n.call(this),this.stateType=n.BLOCK_END,this.startState=null,this}function m(){return n.call(this),this.stateType=n.RULE_STOP,this}function p(){return n.call(this),this.stateType=n.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}function y(){return u.call(this),this.stateType=n.PLUS_LOOP_BACK,this}function b(){return c.call(this),this.stateType=n.PLUS_BLOCK_START,this.loopBackState=null,this}function h(){return c.call(this),this.stateType=n.STAR_BLOCK_START,this}function g(){return n.call(this),this.stateType=n.STAR_LOOP_BACK,this}function s(){return u.call(this),this.stateType=n.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}function C(){return n.call(this),this.stateType=n.LOOP_END,this.loopBackState=null,this}function P(){return u.call(this),this.stateType=n.TOKEN_START,this}n.INVALID_TYPE=0,n.BASIC=1,n.RULE_START=2,n.BLOCK_START=3,n.PLUS_BLOCK_START=4,n.STAR_BLOCK_START=5,n.TOKEN_START=6,n.RULE_STOP=7,n.BLOCK_END=8,n.STAR_LOOP_BACK=9,n.STAR_LOOP_ENTRY=10,n.PLUS_LOOP_BACK=11,n.LOOP_END=12,n.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"],n.INVALID_STATE_NUMBER=-1,n.prototype.toString=function(){return this.stateNumber},n.prototype.equals=function(w){return w instanceof n&&this.stateNumber===w.stateNumber},n.prototype.isNonGreedyExitState=function(){return!1},n.prototype.addTransition=function(w,D){void 0===D&&(D=-1),0===this.transitions.length?this.epsilonOnlyTransitions=w.isEpsilon:this.epsilonOnlyTransitions!==w.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===D?this.transitions.push(w):this.transitions.splice(D,1,w)},(l.prototype=Object.create(n.prototype)).constructor=l,(u.prototype=Object.create(n.prototype)).constructor=u,(c.prototype=Object.create(u.prototype)).constructor=c,(r.prototype=Object.create(c.prototype)).constructor=r,(d.prototype=Object.create(n.prototype)).constructor=d,(m.prototype=Object.create(n.prototype)).constructor=m,(p.prototype=Object.create(n.prototype)).constructor=p,(y.prototype=Object.create(u.prototype)).constructor=y,(b.prototype=Object.create(c.prototype)).constructor=b,(h.prototype=Object.create(c.prototype)).constructor=h,(g.prototype=Object.create(n.prototype)).constructor=g,(s.prototype=Object.create(u.prototype)).constructor=s,(C.prototype=Object.create(n.prototype)).constructor=C,(P.prototype=Object.create(u.prototype)).constructor=P,A.ATNState=n,A.BasicState=l,A.DecisionState=u,A.BlockStartState=c,A.BlockEndState=d,A.LoopEndState=C,A.RuleStartState=p,A.RuleStopState=m,A.TokensStartState=P,A.PlusLoopbackState=y,A.StarLoopbackState=g,A.StarLoopEntryState=s,A.PlusBlockStartState=b,A.StarBlockStartState=h,A.BasicBlockStartState=r},6796:(he,A)=>{function o(){}o.LEXER=0,o.PARSER=1,A.n=o},6244:(he,A,o)=>{var n=o(8443).Token,l=o(3805).Lexer,u=o(1828).ATN,c=o(7601).f,r=o(1399).B,m=(o(9186),o(9186).s),p=o(4825).PredictionContext,y=o(4825).SingletonPredictionContext,b=o(9855).RuleStopState,h=o(2348).P,g=o(7131).Transition,s=o(1305).W,C=o(6071).LexerNoViableAltException;function P(T){T.index=-1,T.line=0,T.column=-1,T.dfaState=null}function w(){return P(this),this}function D(T,Y,$,z){return c.call(this,Y,z),this.decisionToDFA=$,this.recog=T,this.startIndex=-1,this.line=1,this.column=0,this.mode=l.DEFAULT_MODE,this.prevAccept=new w,this}w.prototype.reset=function(){P(this)},(D.prototype=Object.create(c.prototype)).constructor=D,D.debug=!1,D.dfa_debug=!1,D.MIN_DFA_EDGE=0,D.MAX_DFA_EDGE=127,D.match_calls=0,D.prototype.copyState=function(T){this.column=T.column,this.line=T.line,this.mode=T.mode,this.startIndex=T.startIndex},D.prototype.match=function(T,Y){this.match_calls+=1,this.mode=Y;var $=T.mark();try{this.startIndex=T.index,this.prevAccept.reset();var z=this.decisionToDFA[Y];return null===z.s0?this.matchATN(T):this.execATN(T,z.s0)}finally{T.release($)}},D.prototype.reset=function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=l.DEFAULT_MODE},D.prototype.matchATN=function(T){var Y=this.atn.modeToStartState[this.mode];D.debug&&console.log("matchATN mode "+this.mode+" start: "+Y);var $=this.mode,z=this.computeStartState(T,Y),G=z.hasSemanticContext;z.hasSemanticContext=!1;var X=this.addDFAState(z);G||(this.decisionToDFA[this.mode].s0=X);var Q=this.execATN(T,X);return D.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[$].toLexerString()),Q},D.prototype.execATN=function(T,Y){D.debug&&console.log("start state closure="+Y.configs),Y.isAcceptState&&this.captureSimState(this.prevAccept,T,Y);for(var $=T.LA(1),z=Y;;){D.debug&&console.log("execATN loop starting closure: "+z.configs);var G=this.getExistingTargetState(z,$);if(null===G&&(G=this.computeTargetState(T,z,$)),G===c.ERROR||($!==n.EOF&&this.consume(T),G.isAcceptState&&(this.captureSimState(this.prevAccept,T,G),$===n.EOF)))break;$=T.LA(1),z=G}return this.failOrAccept(this.prevAccept,T,z.configs,$)},D.prototype.getExistingTargetState=function(T,Y){if(null===T.edges||YD.MAX_DFA_EDGE)return null;var $=T.edges[Y-D.MIN_DFA_EDGE];return void 0===$&&($=null),D.debug&&null!==$&&console.log("reuse state "+T.stateNumber+" edge to "+$.stateNumber),$},D.prototype.computeTargetState=function(T,Y,$){var z=new m;return this.getReachableConfigSet(T,Y.configs,z,$),0===z.items.length?(z.hasSemanticContext||this.addDFAEdge(Y,$,c.ERROR),c.ERROR):this.addDFAEdge(Y,$,null,z)},D.prototype.failOrAccept=function(T,Y,$,z){if(null!==this.prevAccept.dfaState)return this.accept(Y,T.dfaState.lexerActionExecutor,this.startIndex,T.index,T.line,T.column),T.dfaState.prediction;if(z===n.EOF&&Y.index===this.startIndex)return n.EOF;throw new C(this.recog,Y,this.startIndex,$)},D.prototype.getReachableConfigSet=function(T,Y,$,z){for(var G=u.INVALID_ALT_NUMBER,X=0;XD.MAX_DFA_EDGE||(D.debug&&console.log("EDGE "+T+" -> "+$+" upon "+Y),null===T.edges&&(T.edges=[]),T.edges[Y-D.MIN_DFA_EDGE]=$),$},D.prototype.addDFAState=function(T){for(var Y=new r(null,T),$=null,z=0;z{function o(){}function n(h){return this.actionType=h,this.isPositionDependent=!1,this}function l(){return n.call(this,o.SKIP),this}function u(h){return n.call(this,o.TYPE),this.type=h,this}function c(h){return n.call(this,o.PUSH_MODE),this.mode=h,this}function r(){return n.call(this,o.POP_MODE),this}function d(){return n.call(this,o.MORE),this}function m(h){return n.call(this,o.MODE),this.mode=h,this}function p(h,g){return n.call(this,o.CUSTOM),this.ruleIndex=h,this.actionIndex=g,this.isPositionDependent=!0,this}function y(h){return n.call(this,o.CHANNEL),this.channel=h,this}function b(h,g){return n.call(this,g.actionType),this.offset=h,this.action=g,this.isPositionDependent=!0,this}o.CHANNEL=0,o.CUSTOM=1,o.MODE=2,o.MORE=3,o.POP_MODE=4,o.PUSH_MODE=5,o.SKIP=6,o.TYPE=7,n.prototype.hashCode=function(){var h=new Hash;return this.updateHashCode(h),h.finish()},n.prototype.updateHashCode=function(h){h.update(this.actionType)},n.prototype.equals=function(h){return this===h},(l.prototype=Object.create(n.prototype)).constructor=l,l.INSTANCE=new l,l.prototype.execute=function(h){h.skip()},l.prototype.toString=function(){return"skip"},(u.prototype=Object.create(n.prototype)).constructor=u,u.prototype.execute=function(h){h.type=this.type},u.prototype.updateHashCode=function(h){h.update(this.actionType,this.type)},u.prototype.equals=function(h){return this===h||h instanceof u&&this.type===h.type},u.prototype.toString=function(){return"type("+this.type+")"},(c.prototype=Object.create(n.prototype)).constructor=c,c.prototype.execute=function(h){h.pushMode(this.mode)},c.prototype.updateHashCode=function(h){h.update(this.actionType,this.mode)},c.prototype.equals=function(h){return this===h||h instanceof c&&this.mode===h.mode},c.prototype.toString=function(){return"pushMode("+this.mode+")"},(r.prototype=Object.create(n.prototype)).constructor=r,r.INSTANCE=new r,r.prototype.execute=function(h){h.popMode()},r.prototype.toString=function(){return"popMode"},(d.prototype=Object.create(n.prototype)).constructor=d,d.INSTANCE=new d,d.prototype.execute=function(h){h.more()},d.prototype.toString=function(){return"more"},(m.prototype=Object.create(n.prototype)).constructor=m,m.prototype.execute=function(h){h.mode(this.mode)},m.prototype.updateHashCode=function(h){h.update(this.actionType,this.mode)},m.prototype.equals=function(h){return this===h||h instanceof m&&this.mode===h.mode},m.prototype.toString=function(){return"mode("+this.mode+")"},(p.prototype=Object.create(n.prototype)).constructor=p,p.prototype.execute=function(h){h.action(null,this.ruleIndex,this.actionIndex)},p.prototype.updateHashCode=function(h){h.update(this.actionType,this.ruleIndex,this.actionIndex)},p.prototype.equals=function(h){return this===h||h instanceof p&&this.ruleIndex===h.ruleIndex&&this.actionIndex===h.actionIndex},(y.prototype=Object.create(n.prototype)).constructor=y,y.prototype.execute=function(h){h._channel=this.channel},y.prototype.updateHashCode=function(h){h.update(this.actionType,this.channel)},y.prototype.equals=function(h){return this===h||h instanceof y&&this.channel===h.channel},y.prototype.toString=function(){return"channel("+this.channel+")"},(b.prototype=Object.create(n.prototype)).constructor=b,b.prototype.execute=function(h){this.action.execute(h)},b.prototype.updateHashCode=function(h){h.update(this.actionType,this.offset,this.action)},b.prototype.equals=function(h){return this===h||h instanceof b&&this.offset===h.offset&&this.action===h.action},A.LexerActionType=o,A.LexerSkipAction=l,A.LexerChannelAction=y,A.LexerCustomAction=p,A.LexerIndexedCustomAction=b,A.LexerMoreAction=d,A.LexerTypeAction=u,A.LexerPushModeAction=c,A.LexerPopModeAction=r,A.LexerModeAction=m},1305:(he,A,o)=>{var n=o(8065).hashStuff,l=o(3822).LexerIndexedCustomAction;function u(c){return this.lexerActions=null===c?[]:c,this.cachedHashCode=n(c),this}u.append=function(c,r){return new u(null===c?[r]:c.lexerActions.concat([r]))},u.prototype.fixOffsetBeforeMatch=function(c){for(var r=null,d=0;d{var n=o(8065),l=n.Set,u=n.BitSet,c=n.DoubleDict,r=o(1828).ATN,d=o(9855).ATNState,m=o(2348).m,p=o(9186).B,y=o(8443).Token,b=o(1399).B,h=o(1399).PredPrediction,g=o(7601).f,s=o(2655).PredictionMode,C=o(61).r,w=(o(911),o(4636).dP),T=(o(9855),o(9855).RuleStopState),Y=o(4825).PredictionContext,$=o(210).Interval,z=o(7131),G=z.Transition,X=z.SetTransition,Q=z.NotSetTransition,q=z.RuleTransition,ue=z.ActionTransition,me=o(6071).NoViableAltException,xe=o(4825).SingletonPredictionContext,pe=o(4825).predictionContextFromRuleContext;function oe(ae,U,ie,le){return g.call(this,U,le),this.parser=ae,this.decisionToDFA=ie,this.predictionMode=s.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this}(oe.prototype=Object.create(g.prototype)).constructor=oe,oe.prototype.debug=!1,oe.prototype.debug_closure=!1,oe.prototype.debug_add=!1,oe.prototype.debug_list_atn_decisions=!1,oe.prototype.dfa_debug=!1,oe.prototype.retry_debug=!1,oe.prototype.reset=function(){},oe.prototype.adaptivePredict=function(ae,U,ie){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+U+" exec LA(1)=="+this.getLookaheadName(ae)+" line "+ae.LT(1).line+":"+ae.LT(1).column),this._input=ae,this._startIndex=ae.index,this._outerContext=ie;var le=this.decisionToDFA[U];this._dfa=le;var Ce=ae.mark(),Te=ae.index;try{var Ke;if(null===(Ke=le.precedenceDfa?le.getPrecedenceStartState(this.parser.getPrecedence()):le.s0)){null===ie&&(ie=C.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+le.decision+" exec LA(1)=="+this.getLookaheadName(ae)+", outerContext="+ie.toString(this.parser.ruleNames));var ot=this.computeStartState(le.atnStartState,C.EMPTY,!1);le.precedenceDfa?(le.s0.configs=ot,ot=this.applyPrecedenceFilter(ot),Ke=this.addDFAState(le,new b(null,ot)),le.setPrecedenceStartState(this.parser.getPrecedence(),Ke)):(Ke=this.addDFAState(le,new b(null,ot)),le.s0=Ke)}var pt=this.execATN(le,Ke,ae,Te,ie);return this.debug&&console.log("DFA after predictATN: "+le.toString(this.parser.literalNames)),pt}finally{this._dfa=null,this.mergeCache=null,ae.seek(Te),ae.release(Ce)}},oe.prototype.execATN=function(ae,U,ie,le,Ce){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+ae.decision+" exec LA(1)=="+this.getLookaheadName(ie)+" line "+ie.LT(1).line+":"+ie.LT(1).column);var Te,Ke=U;this.debug&&console.log("s0 = "+U);for(var tt=ie.LA(1);;){var ot=this.getExistingTargetState(Ke,tt);if(null===ot&&(ot=this.computeTargetState(ae,Ke,tt)),ot===g.ERROR){var pt=this.noViableAlt(ie,Ce,Ke.configs,le);if(ie.seek(le),(Te=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(Ke.configs,Ce))!==r.INVALID_ALT_NUMBER)return Te;throw pt}if(ot.requiresFullContext&&this.predictionMode!==s.SLL){var Dt=null;if(null!==ot.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var Ie=ie.index;if(Ie!==le&&ie.seek(le),1===(Dt=this.evalSemanticContext(ot.predicates,Ce,!0)).length)return this.debug&&console.log("Full LL avoided"),Dt.minValue();Ie!==le&&ie.seek(Ie)}this.dfa_debug&&console.log("ctx sensitive state "+Ce+" in "+ot);var ct=this.computeStartState(ae.atnStartState,Ce,!0);return this.reportAttemptingFullContext(ae,Dt,ot.configs,le,ie.index),this.execATNWithFullContext(ae,ot,ct,ie,le,Ce)}if(ot.isAcceptState){if(null===ot.predicates)return ot.prediction;var bt=ie.index;ie.seek(le);var Et=this.evalSemanticContext(ot.predicates,Ce,!0);if(0===Et.length)throw this.noViableAlt(ie,Ce,ot.configs,le);return 1===Et.length||this.reportAmbiguity(ae,ot,le,bt,!1,Et,ot.configs),Et.minValue()}Ke=ot,tt!==y.EOF&&(ie.consume(),tt=ie.LA(1))}},oe.prototype.getExistingTargetState=function(ae,U){var ie=ae.edges;return null===ie?null:ie[U+1]||null},oe.prototype.computeTargetState=function(ae,U,ie){var le=this.computeReachSet(U.configs,ie,!1);if(null===le)return this.addDFAEdge(ae,U,ie,g.ERROR),g.ERROR;var Ce=new b(null,le),Te=this.getUniqueAlt(le);if(this.debug){var Ke=s.getConflictingAltSubsets(le);console.log("SLL altSubSets="+n.arrayToString(Ke)+", previous="+U.configs+", configs="+le+", predict="+Te+", allSubsetsConflict="+s.allSubsetsConflict(Ke)+", conflictingAlts="+this.getConflictingAlts(le))}return Te!==r.INVALID_ALT_NUMBER?(Ce.isAcceptState=!0,Ce.configs.uniqueAlt=Te,Ce.prediction=Te):s.hasSLLConflictTerminatingPrediction(this.predictionMode,le)&&(Ce.configs.conflictingAlts=this.getConflictingAlts(le),Ce.requiresFullContext=!0,Ce.isAcceptState=!0,Ce.prediction=Ce.configs.conflictingAlts.minValue()),Ce.isAcceptState&&Ce.configs.hasSemanticContext&&(this.predicateDFAState(Ce,this.atn.getDecisionState(ae.decision)),null!==Ce.predicates&&(Ce.prediction=r.INVALID_ALT_NUMBER)),this.addDFAEdge(ae,U,ie,Ce)},oe.prototype.predicateDFAState=function(ae,U){var ie=U.transitions.length,le=this.getConflictingAltsOrUniqueAlt(ae.configs),Ce=this.getPredsForAmbigAlts(le,ae.configs,ie);null!==Ce?(ae.predicates=this.getPredicatePredictions(le,Ce),ae.prediction=r.INVALID_ALT_NUMBER):ae.prediction=le.minValue()},oe.prototype.execATNWithFullContext=function(ae,U,ie,le,Ce,Te){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+ie);var tt=!1,ot=null,pt=ie;le.seek(Ce);for(var Dt=le.LA(1),Ie=-1;;){if(null===(ot=this.computeReachSet(pt,Dt,!0))){var Qe=this.noViableAlt(le,Te,pt,Ce);le.seek(Ce);var ct=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(pt,Te);if(ct!==r.INVALID_ALT_NUMBER)return ct;throw Qe}var bt=s.getConflictingAltSubsets(ot);if(this.debug&&console.log("LL altSubSets="+bt+", predict="+s.getUniqueAlt(bt)+", resolvesToJustOneViableAlt="+s.resolvesToJustOneViableAlt(bt)),ot.uniqueAlt=this.getUniqueAlt(ot),ot.uniqueAlt!==r.INVALID_ALT_NUMBER){Ie=ot.uniqueAlt;break}if(this.predictionMode!==s.LL_EXACT_AMBIG_DETECTION){if((Ie=s.resolvesToJustOneViableAlt(bt))!==r.INVALID_ALT_NUMBER)break}else if(s.allSubsetsConflict(bt)&&s.allSubsetsEqual(bt)){tt=!0,Ie=s.getSingleViableAlt(bt);break}pt=ot,Dt!==y.EOF&&(le.consume(),Dt=le.LA(1))}return ot.uniqueAlt!==r.INVALID_ALT_NUMBER?(this.reportContextSensitivity(ae,Ie,ot,Ce,le.index),Ie):(this.reportAmbiguity(ae,U,Ce,le.index,tt,null,ot),Ie)},oe.prototype.computeReachSet=function(ae,U,ie){this.debug&&console.log("in computeReachSet, starting closure: "+ae),null===this.mergeCache&&(this.mergeCache=new c);for(var le=new p(ie),Ce=null,Te=0;Te0&&(Te=this.getAltThatFinishedDecisionEntryRule(Ce))!==r.INVALID_ALT_NUMBER?Te:r.INVALID_ALT_NUMBER},oe.prototype.getAltThatFinishedDecisionEntryRule=function(ae){for(var U=[],ie=0;ie0||le.state instanceof T&&le.context.hasEmptyPath())&&U.indexOf(le.alt)<0&&U.push(le.alt)}return 0===U.length?r.INVALID_ALT_NUMBER:Math.min.apply(null,U)},oe.prototype.splitAccordingToSemanticValidity=function(ae,U){for(var ie=new p(ae.fullCtx),le=new p(ae.fullCtx),Ce=0;Ce50))throw"problem";if(ae.state instanceof T){if(!ae.context.isEmpty()){for(var tt=0;tt=0&&(Qe+=1)}this.closureCheckingStopState(Ie,U,ie,Dt,Ce,Qe,Ke)}}},oe.prototype.canDropLoopEntryEdgeInLeftRecursiveRule=function(ae){var U=ae.state;if(U.stateType!=d.STAR_LOOP_ENTRY||U.stateType!=d.STAR_LOOP_ENTRY||!U.isPrecedenceDecision||ae.context.isEmpty()||ae.context.hasEmptyPath())return!1;for(var ie=ae.context.length,le=0;le=0?this.parser.ruleNames[ae]:""},oe.prototype.getEpsilonTarget=function(ae,U,ie,le,Ce,Te){switch(U.serializationType){case G.RULE:return this.ruleTransition(ae,U);case G.PRECEDENCE:return this.precedenceTransition(ae,U,ie,le,Ce);case G.PREDICATE:return this.predTransition(ae,U,ie,le,Ce);case G.ACTION:return this.actionTransition(ae,U);case G.EPSILON:return new m({state:U.target},ae);case G.ATOM:case G.RANGE:case G.SET:return Te&&U.matches(y.EOF,0,1)?new m({state:U.target},ae):null;default:return null}},oe.prototype.actionTransition=function(ae,U){return this.debug&&console.log("ACTION edge "+U.ruleIndex+":"+(-1==U.actionIndex?65535:U.actionIndex)),new m({state:U.target},ae)},oe.prototype.precedenceTransition=function(ae,U,ie,le,Ce){this.debug&&(console.log("PRED (collectPredicates="+ie+") "+U.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));var Te=null;if(ie&&le)if(Ce){var Ke=this._input.index;this._input.seek(this._startIndex);var tt=U.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(Ke),tt&&(Te=new m({state:U.target},ae))}else{var ot=w.andContext(ae.semanticContext,U.getPredicate());Te=new m({state:U.target,semanticContext:ot},ae)}else Te=new m({state:U.target},ae);return this.debug&&console.log("config from pred transition="+Te),Te},oe.prototype.predTransition=function(ae,U,ie,le,Ce){this.debug&&(console.log("PRED (collectPredicates="+ie+") "+U.ruleIndex+":"+U.predIndex+", ctx dependent="+U.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));var Te=null;if(ie&&(U.isCtxDependent&&le||!U.isCtxDependent))if(Ce){var Ke=this._input.index;this._input.seek(this._startIndex);var tt=U.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(Ke),tt&&(Te=new m({state:U.target},ae))}else{var ot=w.andContext(ae.semanticContext,U.getPredicate());Te=new m({state:U.target,semanticContext:ot},ae)}else Te=new m({state:U.target},ae);return this.debug&&console.log("config from pred transition="+Te),Te},oe.prototype.ruleTransition=function(ae,U){this.debug&&console.log("CALL rule "+this.getRuleName(U.target.ruleIndex)+", ctx="+ae.context);var le=xe.create(ae.context,U.followState.stateNumber);return new m({state:U.target,context:le},ae)},oe.prototype.getConflictingAlts=function(ae){var U=s.getConflictingAltSubsets(ae);return s.getAlts(U)},oe.prototype.getConflictingAltsOrUniqueAlt=function(ae){var U=null;return ae.uniqueAlt!==r.INVALID_ALT_NUMBER?(U=new u).add(ae.uniqueAlt):U=ae.conflictingAlts,U},oe.prototype.getTokenName=function(ae){if(ae===y.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(ae>=this.parser.literalNames.length&&ae>=this.parser.symbolicNames.length))return(this.parser.literalNames[ae]||this.parser.symbolicNames[ae])+"<"+ae+">";console.log(ae+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+ae},oe.prototype.getLookaheadName=function(ae){return this.getTokenName(ae.LA(1))},oe.prototype.dumpDeadEndConfigs=function(ae){console.log("dead end configs: ");for(var U=ae.getDeadEndConfigs(),ie=0;ie0){var Te=le.state.transitions[0];Te instanceof AtomTransition?Ce="Atom "+this.getTokenName(Te.label):Te instanceof X&&(Ce=(Te instanceof Q?"~":"")+"Set "+Te.set)}console.error(le.toString(this.parser,!0)+":"+Ce)}},oe.prototype.noViableAlt=function(ae,U,ie,le){return new me(this.parser,ae,ae.get(le),ae.LT(1),ie,U)},oe.prototype.getUniqueAlt=function(ae){for(var U=r.INVALID_ALT_NUMBER,ie=0;ie "+le+" upon "+this.getTokenName(ie)),null===le?null:(le=this.addDFAState(ae,le),null===U||ie<-1||ie>this.atn.maxTokenType||(null===U.edges&&(U.edges=[]),U.edges[ie+1]=le,this.debug&&console.log("DFA=\n"+ae.toString(null===this.parser?null:this.parser.literalNames,null===this.parser?null:this.parser.symbolicNames))),le)},oe.prototype.addDFAState=function(ae,U){if(U==g.ERROR)return U;var ie=ae.states.get(U);return null!==ie?ie:(U.stateNumber=ae.states.length,U.configs.readOnly||(U.configs.optimizeConfigs(this),U.configs.setReadonly(!0)),ae.states.add(U),this.debug&&console.log("adding new DFA state: "+U),U)},oe.prototype.reportAttemptingFullContext=function(ae,U,ie,le,Ce){if(this.debug||this.retry_debug){var Te=new $(le,Ce+1);console.log("reportAttemptingFullContext decision="+ae.decision+":"+ie+", input="+this.parser.getTokenStream().getText(Te))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,ae,le,Ce,U,ie)},oe.prototype.reportContextSensitivity=function(ae,U,ie,le,Ce){if(this.debug||this.retry_debug){var Te=new $(le,Ce+1);console.log("reportContextSensitivity decision="+ae.decision+":"+ie+", input="+this.parser.getTokenStream().getText(Te))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,ae,le,Ce,U,ie)},oe.prototype.reportAmbiguity=function(ae,U,ie,le,Ce,Te,Ke){if(this.debug||this.retry_debug){var tt=new $(ie,le+1);console.log("reportAmbiguity "+Te+":"+Ke+", input="+this.parser.getTokenStream().getText(tt))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,ae,ie,le,Ce,Te,Ke)},A.ParserATNSimulator=oe},2655:(he,A,o)=>{o(8065);var l=o(8065).Map,u=o(8065).BitSet,c=o(8065).AltDict,r=o(1828).ATN,d=o(9855).RuleStopState,m=o(9186).B,p=o(2348).m,y=o(4636).dP,h=(o(8065),o(8065).hashStuff);function s(){return this}o(8065),s.SLL=0,s.LL=1,s.LL_EXACT_AMBIG_DETECTION=2,s.hasSLLConflictTerminatingPrediction=function(C,P){if(s.allConfigsInRuleStopStates(P))return!0;if(C===s.SLL&&P.hasSemanticContext){for(var w=new m,D=0;D1)return!0;return!1},s.allSubsetsEqual=function(C){for(var P=null,w=0;w{var n=o(8065).Set,l=o(8065).Hash;function u(){return this}function c(p,y,b){return u.call(this),this.ruleIndex=void 0===p?-1:p,this.predIndex=void 0===y?-1:y,this.isCtxDependent=void 0!==b&&b,this}function r(p){u.call(this),this.precedence=void 0===p?0:p}function d(p,y){u.call(this);var b=new n;p instanceof d?p.opnds.map(function(s){b.add(s)}):b.add(p),y instanceof d?y.opnds.map(function(s){b.add(s)}):b.add(y);var h=r.filterPrecedencePredicates(b);if(h.length>0){var g=null;h.map(function(s){(null===g||s.precedence0){var g=h.sort(function(C,P){return C.compareTo(P)});b.add(g[g.length-1])}return this.opnds=b.values(),this}u.prototype.hashCode=function(){var p=new l;return this.updateHashCode(p),p.finish()},u.prototype.evaluate=function(p,y){},u.prototype.evalPrecedence=function(p,y){return this},u.andContext=function(p,y){if(null===p||p===u.NONE)return y;if(null===y||y===u.NONE)return p;var b=new d(p,y);return 1===b.opnds.length?b.opnds[0]:b},u.orContext=function(p,y){if(null===p)return y;if(null===y)return p;if(p===u.NONE||y===u.NONE)return u.NONE;var b=new m(p,y);return 1===b.opnds.length?b.opnds[0]:b},(c.prototype=Object.create(u.prototype)).constructor=c,u.NONE=new c,c.prototype.evaluate=function(p,y){return p.sempred(this.isCtxDependent?y:null,this.ruleIndex,this.predIndex)},c.prototype.updateHashCode=function(p){p.update(this.ruleIndex,this.predIndex,this.isCtxDependent)},c.prototype.equals=function(p){return this===p||p instanceof c&&this.ruleIndex===p.ruleIndex&&this.predIndex===p.predIndex&&this.isCtxDependent===p.isCtxDependent},c.prototype.toString=function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"},(r.prototype=Object.create(u.prototype)).constructor=r,r.prototype.evaluate=function(p,y){return p.precpred(y,this.precedence)},r.prototype.evalPrecedence=function(p,y){return p.precpred(y,this.precedence)?u.NONE:null},r.prototype.compareTo=function(p){return this.precedence-p.precedence},r.prototype.updateHashCode=function(p){p.update(31)},r.prototype.equals=function(p){return this===p||p instanceof r&&this.precedence===p.precedence},r.prototype.toString=function(){return"{"+this.precedence+">=prec}?"},r.filterPrecedencePredicates=function(p){var y=[];return p.values().map(function(b){b instanceof r&&y.push(b)}),y},(d.prototype=Object.create(u.prototype)).constructor=d,d.prototype.equals=function(p){return this===p||p instanceof d&&this.opnds===p.opnds},d.prototype.updateHashCode=function(p){p.update(this.opnds,"AND")},d.prototype.evaluate=function(p,y){for(var b=0;b3?p.slice(3):p},(m.prototype=Object.create(u.prototype)).constructor=m,m.prototype.constructor=function(p){return this===p||p instanceof m&&this.opnds===p.opnds},m.prototype.updateHashCode=function(p){p.update(this.opnds,"OR")},m.prototype.evaluate=function(p,y){for(var b=0;b3?p.slice(3):p},A.dP=u,A.u5=r,A.$G=c},7131:(he,A,o)=>{var n=o(8443).Token,u=(o(210),o(210).V),c=o(4636).$G,r=o(4636).u5;function d(T){if(null==T)throw"target cannot be null.";return this.target=T,this.isEpsilon=!1,this.label=null,this}function m(T,Y){return d.call(this,T),this.label_=Y,this.label=this.makeLabel(),this.serializationType=d.ATOM,this}function p(T,Y,$,z){return d.call(this,T),this.ruleIndex=Y,this.precedence=$,this.followState=z,this.serializationType=d.RULE,this.isEpsilon=!0,this}function y(T,Y){return d.call(this,T),this.serializationType=d.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=Y,this}function b(T,Y,$){return d.call(this,T),this.serializationType=d.RANGE,this.start=Y,this.stop=$,this.label=this.makeLabel(),this}function h(T){return d.call(this,T),this}function g(T,Y,$,z){return h.call(this,T),this.serializationType=d.PREDICATE,this.ruleIndex=Y,this.predIndex=$,this.isCtxDependent=z,this.isEpsilon=!0,this}function s(T,Y,$,z){return d.call(this,T),this.serializationType=d.ACTION,this.ruleIndex=Y,this.actionIndex=void 0===$?-1:$,this.isCtxDependent=void 0!==z&&z,this.isEpsilon=!0,this}function C(T,Y){return d.call(this,T),this.serializationType=d.SET,null!=Y?this.label=Y:(this.label=new u,this.label.addOne(n.INVALID_TYPE)),this}function P(T,Y){return C.call(this,T,Y),this.serializationType=d.NOT_SET,this}function w(T){return d.call(this,T),this.serializationType=d.WILDCARD,this}function D(T,Y){return h.call(this,T),this.serializationType=d.PRECEDENCE,this.precedence=Y,this.isEpsilon=!0,this}d.EPSILON=1,d.RANGE=2,d.RULE=3,d.PREDICATE=4,d.ATOM=5,d.ACTION=6,d.SET=7,d.NOT_SET=8,d.WILDCARD=9,d.PRECEDENCE=10,d.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],d.serializationTypes={EpsilonTransition:d.EPSILON,RangeTransition:d.RANGE,RuleTransition:d.RULE,PredicateTransition:d.PREDICATE,AtomTransition:d.ATOM,ActionTransition:d.ACTION,SetTransition:d.SET,NotSetTransition:d.NOT_SET,WildcardTransition:d.WILDCARD,PrecedencePredicateTransition:d.PRECEDENCE},(m.prototype=Object.create(d.prototype)).constructor=m,m.prototype.makeLabel=function(){var T=new u;return T.addOne(this.label_),T},m.prototype.matches=function(T,Y,$){return this.label_===T},m.prototype.toString=function(){return this.label_},(p.prototype=Object.create(d.prototype)).constructor=p,p.prototype.matches=function(T,Y,$){return!1},(y.prototype=Object.create(d.prototype)).constructor=y,y.prototype.matches=function(T,Y,$){return!1},y.prototype.toString=function(){return"epsilon"},(b.prototype=Object.create(d.prototype)).constructor=b,b.prototype.makeLabel=function(){var T=new u;return T.addRange(this.start,this.stop),T},b.prototype.matches=function(T,Y,$){return T>=this.start&&T<=this.stop},b.prototype.toString=function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"},(h.prototype=Object.create(d.prototype)).constructor=h,(g.prototype=Object.create(h.prototype)).constructor=g,g.prototype.matches=function(T,Y,$){return!1},g.prototype.getPredicate=function(){return new c(this.ruleIndex,this.predIndex,this.isCtxDependent)},g.prototype.toString=function(){return"pred_"+this.ruleIndex+":"+this.predIndex},(s.prototype=Object.create(d.prototype)).constructor=s,s.prototype.matches=function(T,Y,$){return!1},s.prototype.toString=function(){return"action_"+this.ruleIndex+":"+this.actionIndex},(C.prototype=Object.create(d.prototype)).constructor=C,C.prototype.matches=function(T,Y,$){return this.label.contains(T)},C.prototype.toString=function(){return this.label.toString()},(P.prototype=Object.create(C.prototype)).constructor=P,P.prototype.matches=function(T,Y,$){return T>=Y&&T<=$&&!C.prototype.matches.call(this,T,Y,$)},P.prototype.toString=function(){return"~"+C.prototype.toString.call(this)},(w.prototype=Object.create(d.prototype)).constructor=w,w.prototype.matches=function(T,Y,$){return T>=Y&&T<=$},w.prototype.toString=function(){return"."},(D.prototype=Object.create(h.prototype)).constructor=D,D.prototype.matches=function(T,Y,$){return!1},D.prototype.getPredicate=function(){return new r(this.precedence)},D.prototype.toString=function(){return this.precedence+" >= _p"},A.Transition=d,A.AtomTransition=m,A.SetTransition=C,A.NotSetTransition=P,A.RuleTransition=p,A.ActionTransition=s,A.EpsilonTransition=y,A.RangeTransition=b,A.WildcardTransition=w,A.PredicateTransition=g,A.PrecedencePredicateTransition=D,A.AbstractPredicateTransition=h},8900:(he,A,o)=>{A.ATN=o(1828).ATN,A.ATNDeserializer=o(3031).ATNDeserializer,A.LexerATNSimulator=o(6244).LexerATNSimulator,A.ParserATNSimulator=o(3464).ParserATNSimulator,A.PredictionMode=o(2655).PredictionMode},2490:(he,A,o)=>{var n=o(8065).Set,l=o(1399).B,u=o(9855).StarLoopEntryState,c=o(9186).B,r=o(5846).DFASerializer,d=o(5846).LexerDFASerializer;function m(p,y){if(void 0===y&&(y=0),this.atnStartState=p,this.decision=y,this._states=new n,this.s0=null,this.precedenceDfa=!1,p instanceof u&&p.isPrecedenceDecision){this.precedenceDfa=!0;var b=new l(null,new c);b.edges=[],b.isAcceptState=!1,b.requiresFullContext=!1,this.s0=b}return this}m.prototype.getPrecedenceStartState=function(p){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return p<0||p>=this.s0.edges.length?null:this.s0.edges[p]||null},m.prototype.setPrecedenceStartState=function(p,y){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";p<0||(this.s0.edges[p]=y)},m.prototype.setPrecedenceDfa=function(p){if(this.precedenceDfa!==p){if(this._states=new DFAStatesSet,p){var y=new l(null,new c);y.edges=[],y.isAcceptState=!1,y.requiresFullContext=!1,this.s0=y}else this.s0=null;this.precedenceDfa=p}},Object.defineProperty(m.prototype,"states",{get:function(){return this._states}}),m.prototype.sortedStates=function(){return this._states.values().sort(function(y,b){return y.stateNumber-b.stateNumber})},m.prototype.toString=function(p,y){return null===this.s0?"":new r(this,p=p||null,y=y||null).toString()},m.prototype.toLexerString=function(){return null===this.s0?"":new d(this).toString()},A.DFA=m},5846:(he,A)=>{function o(l,u,c){return this.dfa=l,this.literalNames=u||[],this.symbolicNames=c||[],this}function n(l){return o.call(this,l,null),this}o.prototype.toString=function(){if(null===this.dfa.s0)return null;for(var l="",u=this.dfa.sortedStates(),c=0;c")).concat(this.getStateString(p))).concat("\n"))}}return 0===l.length?null:l},o.prototype.getEdgeLabel=function(l){return 0===l?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[l-1]||this.symbolicNames[l-1]:String.fromCharCode(l-1)},o.prototype.getStateString=function(l){var u=(l.isAcceptState?":":"")+"s"+l.stateNumber+(l.requiresFullContext?"^":"");return l.isAcceptState?null!==l.predicates?u+"=>"+l.predicates.toString():u+"=>"+l.prediction.toString():u},(n.prototype=Object.create(o.prototype)).constructor=n,n.prototype.getEdgeLabel=function(l){return"'"+String.fromCharCode(l)+"'"},A.DFASerializer=o,A.LexerDFASerializer=n},1399:(he,A,o)=>{var n=o(9186).B,l=o(8065),u=l.Hash,c=l.Set;function r(m,p){return this.alt=p,this.pred=m,this}function d(m,p){return null===m&&(m=-1),null===p&&(p=new n),this.stateNumber=m,this.configs=p,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}r.prototype.toString=function(){return"("+this.pred+", "+this.alt+")"},d.prototype.getAltSet=function(){var m=new c;if(null!==this.configs)for(var p=0;p{A.DFA=o(2490).DFA,A.DFASerializer=o(5846).DFASerializer,A.LexerDFASerializer=o(5846).LexerDFASerializer,A.PredPrediction=o(1399).PredPrediction},3456:(he,A,o)=>{var n=o(8065).BitSet,l=o(1911).ErrorListener,u=o(210).Interval;function c(r){return l.call(this),this.exactOnly=r=r||!0,this}(c.prototype=Object.create(l.prototype)).constructor=c,c.prototype.reportAmbiguity=function(r,d,m,p,y,b,h){if(!this.exactOnly||y){var g="reportAmbiguity d="+this.getDecisionDescription(r,d)+": ambigAlts="+this.getConflictingAlts(b,h)+", input='"+r.getTokenStream().getText(new u(m,p))+"'";r.notifyErrorListeners(g)}},c.prototype.reportAttemptingFullContext=function(r,d,m,p,y,b){var h="reportAttemptingFullContext d="+this.getDecisionDescription(r,d)+", input='"+r.getTokenStream().getText(new u(m,p))+"'";r.notifyErrorListeners(h)},c.prototype.reportContextSensitivity=function(r,d,m,p,y,b){var h="reportContextSensitivity d="+this.getDecisionDescription(r,d)+", input='"+r.getTokenStream().getText(new u(m,p))+"'";r.notifyErrorListeners(h)},c.prototype.getDecisionDescription=function(r,d){var m=d.decision,p=d.atnStartState.ruleIndex,y=r.ruleNames;if(p<0||p>=y.length)return""+m;var b=y[p]||null;return null===b||0===b.length?""+m:m+" ("+b+")"},c.prototype.getConflictingAlts=function(r,d){if(null!==r)return r;for(var m=new n,p=0;p{function o(){return this}function n(){return o.call(this),this}function l(u){if(o.call(this),null===u)throw"delegates";return this.delegates=u,this}o.prototype.syntaxError=function(u,c,r,d,m,p){},o.prototype.reportAmbiguity=function(u,c,r,d,m,p,y){},o.prototype.reportAttemptingFullContext=function(u,c,r,d,m,p){},o.prototype.reportContextSensitivity=function(u,c,r,d,m,p){},(n.prototype=Object.create(o.prototype)).constructor=n,n.INSTANCE=new n,n.prototype.syntaxError=function(u,c,r,d,m,p){console.error("line "+r+":"+d+" "+m)},(l.prototype=Object.create(o.prototype)).constructor=l,l.prototype.syntaxError=function(u,c,r,d,m,p){this.delegates.map(function(y){y.syntaxError(u,c,r,d,m,p)})},l.prototype.reportAmbiguity=function(u,c,r,d,m,p,y){this.delegates.map(function(b){b.reportAmbiguity(u,c,r,d,m,p,y)})},l.prototype.reportAttemptingFullContext=function(u,c,r,d,m,p){this.delegates.map(function(y){y.reportAttemptingFullContext(u,c,r,d,m,p)})},l.prototype.reportContextSensitivity=function(u,c,r,d,m,p){this.delegates.map(function(y){y.reportContextSensitivity(u,c,r,d,m,p)})},A.ErrorListener=o,A.s=n,A.N=l},7675:(he,A,o)=>{var n=o(8443).Token,l=o(6071),u=l.NoViableAltException,c=l.InputMismatchException,r=l.FailedPredicateException,d=l.ParseCancellationException,m=o(9855).ATNState,p=o(210).Interval,y=o(210).V;function b(){}function h(){return b.call(this),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this}function g(){return h.call(this),this}b.prototype.reset=function(s){},b.prototype.recoverInline=function(s){},b.prototype.recover=function(s,C){},b.prototype.sync=function(s){},b.prototype.inErrorRecoveryMode=function(s){},b.prototype.reportError=function(s){},(h.prototype=Object.create(b.prototype)).constructor=h,h.prototype.reset=function(s){this.endErrorCondition(s)},h.prototype.beginErrorCondition=function(s){this.errorRecoveryMode=!0},h.prototype.inErrorRecoveryMode=function(s){return this.errorRecoveryMode},h.prototype.endErrorCondition=function(s){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1},h.prototype.reportMatch=function(s){this.endErrorCondition(s)},h.prototype.reportError=function(s,C){this.inErrorRecoveryMode(s)||(this.beginErrorCondition(s),C instanceof u?this.reportNoViableAlternative(s,C):C instanceof c?this.reportInputMismatch(s,C):C instanceof r?this.reportFailedPredicate(s,C):(console.log("unknown recognition error type: "+C.constructor.name),console.log(C.stack),s.notifyErrorListeners(C.getOffendingToken(),C.getMessage(),C)))},h.prototype.recover=function(s,C){this.lastErrorIndex===s.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(s.state)>=0&&s.consume(),this.lastErrorIndex=s._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(s.state);var P=this.getErrorRecoverySet(s);this.consumeUntil(s,P)},h.prototype.sync=function(s){if(!this.inErrorRecoveryMode(s)){var C=s._interp.atn.states[s.state],P=s.getTokenStream().LA(1),w=s.atn.nextTokens(C);if(!w.contains(n.EPSILON)&&!w.contains(P))switch(C.stateType){case m.BLOCK_START:case m.STAR_BLOCK_START:case m.PLUS_BLOCK_START:case m.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(s))return;throw new c(s);case m.PLUS_LOOP_BACK:case m.STAR_LOOP_BACK:this.reportUnwantedToken(s);var D=new y;D.addSet(s.getExpectedTokens());var T=D.addSet(this.getErrorRecoverySet(s));this.consumeUntil(s,T)}}},h.prototype.reportNoViableAlternative=function(s,C){var w,P=s.getTokenStream();w=null!==P?C.startToken.type===n.EOF?"":P.getText(new p(C.startToken.tokenIndex,C.offendingToken.tokenIndex)):"";var D="no viable alternative at input "+this.escapeWSAndQuote(w);s.notifyErrorListeners(D,C.offendingToken,C)},h.prototype.reportInputMismatch=function(s,C){var P="mismatched input "+this.getTokenErrorDisplay(C.offendingToken)+" expecting "+C.getExpectedTokens().toString(s.literalNames,s.symbolicNames);s.notifyErrorListeners(P,C.offendingToken,C)},h.prototype.reportFailedPredicate=function(s,C){s.notifyErrorListeners("rule "+s.ruleNames[s._ctx.ruleIndex]+" "+C.message,C.offendingToken,C)},h.prototype.reportUnwantedToken=function(s){if(!this.inErrorRecoveryMode(s)){this.beginErrorCondition(s);var C=s.getCurrentToken(),D="extraneous input "+this.getTokenErrorDisplay(C)+" expecting "+this.getExpectedTokens(s).toString(s.literalNames,s.symbolicNames);s.notifyErrorListeners(D,C,null)}},h.prototype.reportMissingToken=function(s){if(!this.inErrorRecoveryMode(s)){this.beginErrorCondition(s);var C=s.getCurrentToken(),w="missing "+this.getExpectedTokens(s).toString(s.literalNames,s.symbolicNames)+" at "+this.getTokenErrorDisplay(C);s.notifyErrorListeners(w,C,null)}},h.prototype.recoverInline=function(s){var C=this.singleTokenDeletion(s);if(null!==C)return s.consume(),C;if(this.singleTokenInsertion(s))return this.getMissingSymbol(s);throw new c(s)},h.prototype.singleTokenInsertion=function(s){var C=s.getTokenStream().LA(1),P=s._interp.atn;return!!P.nextTokens(P.states[s.state].transitions[0].target,s._ctx).contains(C)&&(this.reportMissingToken(s),!0)},h.prototype.singleTokenDeletion=function(s){var C=s.getTokenStream().LA(2);if(this.getExpectedTokens(s).contains(C)){this.reportUnwantedToken(s),s.consume();var w=s.getCurrentToken();return this.reportMatch(s),w}return null},h.prototype.getMissingSymbol=function(s){var D,C=s.getCurrentToken(),w=this.getExpectedTokens(s).first();D=w===n.EOF?"":"";var T=C,Y=s.getTokenStream().LT(-1);return T.type===n.EOF&&null!==Y&&(T=Y),s.getTokenFactory().create(T.source,w,D,n.DEFAULT_CHANNEL,-1,-1,T.line,T.column)},h.prototype.getExpectedTokens=function(s){return s.getExpectedTokens()},h.prototype.getTokenErrorDisplay=function(s){if(null===s)return"";var C=s.text;return null===C&&(C=s.type===n.EOF?"":"<"+s.type+">"),this.escapeWSAndQuote(C)},h.prototype.escapeWSAndQuote=function(s){return"'"+(s=(s=(s=s.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"},h.prototype.getErrorRecoverySet=function(s){for(var C=s._interp.atn,P=s._ctx,w=new y;null!==P&&P.invokingState>=0;){var Y=C.nextTokens(C.states[P.invokingState].transitions[0].followState);w.addSet(Y),P=P.parentCtx}return w.removeOne(n.EPSILON),w},h.prototype.consumeUntil=function(s,C){for(var P=s.getTokenStream().LA(1);P!==n.EOF&&!C.contains(P);)s.consume(),P=s.getTokenStream().LA(1)},(g.prototype=Object.create(h.prototype)).constructor=g,g.prototype.recover=function(s,C){for(var P=s._ctx;null!==P;)P.exception=C,P=P.parentCtx;throw new d(C)},g.prototype.recoverInline=function(s){this.recover(s,new c(s))},g.prototype.sync=function(s){},A.BailErrorStrategy=g,A.t=h},6071:(he,A,o)=>{var n=o(7131).PredicateTransition;function l(p){return Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,l):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),this}function u(p,y,b,h){return l.call(this,{message:"",recognizer:p,input:y,ctx:null}),this.startIndex=b,this.deadEndConfigs=h,this}function c(p,y,b,h,g,s){s=s||p._ctx,h=h||p.getCurrentToken(),b=b||p.getCurrentToken(),y=y||p.getInputStream(),l.call(this,{message:"",recognizer:p,input:y,ctx:s}),this.deadEndConfigs=g,this.startToken=b,this.offendingToken=h}function r(p){l.call(this,{message:"",recognizer:p,input:p.getInputStream(),ctx:p._ctx}),this.offendingToken=p.getCurrentToken()}function d(p,y,b){l.call(this,{message:this.formatMessage(y,b||null),recognizer:p,input:p.getInputStream(),ctx:p._ctx});var g=p._interp.atn.states[p.state].transitions[0];return g instanceof n?(this.ruleIndex=g.ruleIndex,this.predicateIndex=g.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=y,this.offendingToken=p.getCurrentToken(),this}function m(){return Error.call(this),Error.captureStackTrace(this,m),this}(l.prototype=Object.create(Error.prototype)).constructor=l,l.prototype.getExpectedTokens=function(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null},l.prototype.toString=function(){return this.message},(u.prototype=Object.create(l.prototype)).constructor=u,u.prototype.toString=function(){var p="";return this.startIndex>=0&&this.startIndex{A.RecognitionException=o(6071).RecognitionException,A.NoViableAltException=o(6071).NoViableAltException,A.LexerNoViableAltException=o(6071).LexerNoViableAltException,A.InputMismatchException=o(6071).InputMismatchException,A.FailedPredicateException=o(6071).FailedPredicateException,A.DiagnosticErrorListener=o(3456).DiagnosticErrorListener,A.BailErrorStrategy=o(7675).BailErrorStrategy,A.ErrorListener=o(1911).ErrorListener},4185:()=>{String.prototype.codePointAt||function(){"use strict";var he=function(){try{var o={},n=Object.defineProperty,l=n(o,o,o)&&n}catch(u){}return l}(),A=function(o){if(null==this)throw TypeError();var n=String(this),l=n.length,u=o?Number(o):0;if(u!=u&&(u=0),!(u<0||u>=l)){var r,c=n.charCodeAt(u);return c>=55296&&c<=56319&&l>u+1&&(r=n.charCodeAt(u+1))>=56320&&r<=57343?1024*(c-55296)+r-56320+65536:c}};he?he(String.prototype,"codePointAt",{value:A,configurable:!0,writable:!0}):String.prototype.codePointAt=A}()},9767:()=>{var he,A,o,n;String.fromCodePoint||(he=function(){try{var l={},u=Object.defineProperty,c=u(l,l,l)&&u}catch(r){}return c}(),A=String.fromCharCode,o=Math.floor,n=function(l){var u=16384,c=[],m=-1,p=arguments.length;if(!p)return"";for(var y="";++m1114111||o(b)!=b)throw RangeError("Invalid code point: "+b);b<=65535?c.push(b):c.push(55296+((b-=65536)>>10),b%1024+56320),(m+1==p||c.length>u)&&(y+=A.apply(null,c),c.length=0)}return y},he?he(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n)},1029:(he,A,o)=>{var n=o(8443).Token,l=o(210).Interval,u=new l(-1,-2);function r(){return this}function d(){return r.call(this),this}function m(){return d.call(this),this}function p(){return m.call(this),this}function y(){return m.call(this),this}function b(){return y.call(this),this}function h(){return this}function g(){return this}function s(w){return y.call(this),this.parentCtx=null,this.symbol=w,this}function C(w){return s.call(this,w),this}function P(){return this}o(8065),(d.prototype=Object.create(r.prototype)).constructor=d,(m.prototype=Object.create(d.prototype)).constructor=m,(p.prototype=Object.create(m.prototype)).constructor=p,(y.prototype=Object.create(m.prototype)).constructor=y,(b.prototype=Object.create(y.prototype)).constructor=b,h.prototype.visit=function(w){return Array.isArray(w)?w.map(function(D){return D.accept(this)},this):w.accept(this)},h.prototype.visitChildren=function(w){return w.children?this.visit(w.children):null},h.prototype.visitTerminal=function(w){},h.prototype.visitErrorNode=function(w){},g.prototype.visitTerminal=function(w){},g.prototype.visitErrorNode=function(w){},g.prototype.enterEveryRule=function(w){},g.prototype.exitEveryRule=function(w){},(s.prototype=Object.create(y.prototype)).constructor=s,s.prototype.getChild=function(w){return null},s.prototype.getSymbol=function(){return this.symbol},s.prototype.getParent=function(){return this.parentCtx},s.prototype.getPayload=function(){return this.symbol},s.prototype.getSourceInterval=function(){if(null===this.symbol)return u;var w=this.symbol.tokenIndex;return new l(w,w)},s.prototype.getChildCount=function(){return 0},s.prototype.accept=function(w){return w.visitTerminal(this)},s.prototype.getText=function(){return this.symbol.text},s.prototype.toString=function(){return this.symbol.type===n.EOF?"":this.symbol.text},(C.prototype=Object.create(s.prototype)).constructor=C,C.prototype.isErrorNode=function(){return!0},C.prototype.accept=function(w){return w.visitErrorNode(this)},P.prototype.walk=function(w,D){if(D instanceof b||void 0!==D.isErrorNode&&D.isErrorNode())w.visitErrorNode(D);else if(D instanceof y)w.visitTerminal(D);else{this.enterRule(w,D);for(var Y=0;Y{var n=o(8065),l=o(8443).Token,c=(o(1029),o(1029).ErrorNode),r=o(1029).TerminalNode,d=o(911).ParserRuleContext,m=o(61).r,p=o(1828).INVALID_ALT_NUMBER;function y(){}y.toStringTree=function(b,h,g){h=h||null,null!==(g=g||null)&&(h=g.ruleNames);var s=y.getNodeText(b,h);s=n.escapeWhitespace(s,!1);var C=b.getChildCount();if(0===C)return s;var P="("+s+" ";C>0&&(s=y.toStringTree(b.getChild(0),h),P=P.concat(s));for(var w=1;w{var n=o(1029);A.Trees=o(2565).Trees,A.RuleNode=n.RuleNode,A.ParseTreeListener=n.ParseTreeListener,A.ParseTreeVisitor=n.ParseTreeVisitor,A.ParseTreeWalker=n.ParseTreeWalker},3853:he=>{he.exports={aggregateMacro:function(o,n,l){return o.reduce((u,c,r)=>(this.$index=r,this.$total=n(c)),this.$total=l)}}},3142:(he,A,o)=>{var n=o(9640),l={};function u(c,r){if(0==r.length)return!0;for(var d=0;d1)throw new Error("Expected singleton on right side of contains, got "+JSON.stringify(r));return u(c,r)},l.in=function(c,r){if(0==c.length)return[];if(0==r.length)return!1;if(c.length>1)throw new Error("Expected singleton on right side of in, got "+JSON.stringify(r));return u(r,c)},he.exports=l},7561:(he,A,o)=>{var n={},l=o(6127);n.union=function(u,c){return l.distinctFn(u.concat(c))},n.combineFn=function(u,c){return u.concat(c)},he.exports=n},9397:he=>{he.exports={reset:function(){this.nowDate=new Date,this.today=null,this.now=null,this.localTimezoneOffset=null},today:null,now:null}},3425:(he,A,o)=>{var n={};const l=o(2563),u=o(9397),c=l.FP_DateTime;n.now=function(){if(!u.now){var d=c.isoDateTime(u.nowDate);u.now=new c(d)}return u.now},n.today=function(){if(!u.today){var d=c.isoDate(u.nowDate);u.today=new c(d)}return u.today},he.exports=n},9640:(he,A,o)=>{var l=o(2563).FP_Type,u=o(4569),c=o(5192),r=Array.prototype.slice,d=Object.keys,m=function(C){return"[object Arguments]"==Object.prototype.toString.call(C)};function p(C){return"string"==typeof C||C instanceof String}function y(C){return!isNaN(parseFloat(C))&&isFinite(C)}function b(C){return C.toUpperCase().replace(/\s+/," ")}var h=function(C,P,w){if(w||(w={}),(C=u.valData(C))===(P=u.valData(P)))return!0;if(w.fuzzy){if(p(C)&&p(P))return b(C)==b(P);if(y(C)&&y(P))return c.isEquivalent(C,P)}else if("number"==typeof C&&"number"==typeof P)return c.isEqual(C,P);if(C instanceof Date&&P instanceof Date)return C.getTime()===P.getTime();if(!C||!P||"object"!=typeof C&&"object"!=typeof P)return w.strict?C===P:C==P;var D=C instanceof l,T=P instanceof l;if(D&&T)return w.fuzzy?C.equivalentTo(P):C.equals(P);if(D||T){let Y,$;D?(Y=C,$=P):(Y=P,$=C);let z="string"==typeof $;if(z){let G=Y.constructor.checkString($);z=!!G&&(w.fuzzy?C.equivalentTo(G):Y.equals(G))}return z}return function(C,P,w){var D,T;if(g(C)||g(P)||C.prototype!==P.prototype)return!1;if(m(C)||m(P))return C=m(C)?r.call(C):C,P=m(P)?r.call(P):P,h(C,P,w);try{var Y=d(C),$=d(P)}catch(z){return!1}if(Y.length!=$.length)return!1;for(Y.sort(),$.sort(),D=Y.length-1;D>=0;D--)if(Y[D]!=$[D])return!1;if(1===Y.length)return h(C[T=Y[0]],P[T],w);for(D=Y.length-1;D>=0;D--)if(!h(C[T=Y[D]],P[T],w))return!1;return typeof C==typeof P}(C,P,w)};function g(C){return null==C}he.exports=h},2066:(he,A,o)=>{var n=o(4569),l=o(9640),u=o(2563);const c=u.FP_Type,r=u.FP_DateTime,d=u.FP_Time;var m={};function p(h,g){return n.isEmpty(h)||n.isEmpty(g)?[]:l(h,g)}function y(h,g){return n.isEmpty(h)&&n.isEmpty(g)?[!0]:n.isEmpty(h)||n.isEmpty(g)?[]:l(h,g,{fuzzy:!0})}function b(h,g){let s=null;n.assertAtMostOne(h,"Singleton was expected"),n.assertAtMostOne(g,"Singleton was expected"),h=n.valData(h[0]),g=n.valData(g[0]);let C=h.constructor,P=g.constructor;var w;return C!=P&&(C!==String||P!==r&&P!==d?P===String&&(C===r||C===d)&&(w=C.checkString(g))&&(s=[h,w]):(w=P.checkString(h))&&(s=[w,g]),s||n.raiseError('Type of "'+h+'" ('+C.name+') did not match type of "'+g+'" ('+P.name+")","InequalityExpression")),s||[h,g]}m.equal=function(h,g){return p(h,g)},m.unequal=function(h,g){var s=p(h,g);return void 0===s?void 0:!s},m.equival=function(h,g){return y(h,g)},m.unequival=function(h,g){return!y(h,g)},m.lt=function(h,g){if(!h.length||!g.length)return[];const[s,C]=b(h,g);if(s instanceof c){const P=s.compare(C);return null===P?[]:P<0}return s0}return s>C},m.lte=function(h,g){if(!h.length||!g.length)return[];const[s,C]=b(h,g);if(s instanceof c){const P=s.compare(C);return null===P?[]:P<=0}return s<=C},m.gte=function(h,g){if(!h.length||!g.length)return[];const[s,C]=b(h,g);if(s instanceof c){const P=s.compare(C);return null===P?[]:P>=0}return s>=C},he.exports=m},6127:(he,A,o)=>{const n=o(4569),l=o(8774),u=o(9502),c={};function r(p){return JSON.stringify(d(p))}function d(p){return"object"==typeof p?Array.isArray(p)?p.map(d):Object.keys(p).sort().reduce((y,b)=>(y[b]=d(p[b]),y),{}):p}function m(p,y){let b=p.length<=y.length;if(b){var h={};for(let g=0,s=p.length;g0){let b={};for(let h=0,g=p.length;h{const n=o(9410),l=o(4569);o(7070);const u=o(9397);let c={},r=o(6127),d=o(8774),m=o(3853),p=o(7561),y=o(9502),b=o(2066),h=o(3142),g=o(2492),s=o(9835),C=o(5948),P=o(3425),w=o(2306);const D=o(2563),{FP_DateTime:T,FP_Time:Y,FP_Quantity:$,FP_Type:z,ResourceNode:G,TypeInfo:X}=D;let Q=G.makeResNode;function q(ie,le,Ce,Te){if("Expr"===Ce)return function(tt){return ie.$this=tt,c.doEval(ie,l.arraify(tt),Te)};if("AnyAtRoot"===Ce)return ie.$this=ie.dataRoot,c.doEval(ie,ie.dataRoot,Te);if("Identifier"===Ce){if("TermExpression"==Te.type)return Te.text;throw new Error("Expected identifier node, got "+JSON.stringify(Te))}if("TypeSpecifier"===Ce)return c.TypeSpecifier(ie,le,Te);ie.$this=le;var Ke=c.doEval(ie,le,Te);if("Any"===Ce)return Ke;if(Array.isArray(Ce)){if(0==Ke.length)return[];Ce=Ce[0]}return y.singleton(Ke,Ce)}function me(ie){return null==ie||l.isEmpty(ie)}function xe(ie,le,Ce,Te){var Ke=c.invocationTable[le];if(Ke&&Ke.fn){var tt=Te?Te.length:0;if(2!=tt)throw new Error("Infix invoke should have arity 2");var ot=Ke.arity[tt];if(ot){for(var pt=[],Dt=0;Dt":{fn:b.gt,arity:{2:["Any","Any"]},nullable:!0},"<=":{fn:b.lte,arity:{2:["Any","Any"]},nullable:!0},">=":{fn:b.gte,arity:{2:["Any","Any"]},nullable:!0},containsOp:{fn:h.contains,arity:{2:["Any","Any"]}},inOp:{fn:h.in,arity:{2:["Any","Any"]}},isOp:{fn:D.isFn,arity:{2:["Any","TypeSpecifier"]}},"&":{fn:g.amp,arity:{2:["String","String"]}},"+":{fn:g.plus,arity:{2:["Any","Any"]},nullable:!0},"-":{fn:g.minus,arity:{2:["Any","Any"]},nullable:!0},"*":{fn:g.mul,arity:{2:["Number","Number"]},nullable:!0},"/":{fn:g.div,arity:{2:["Number","Number"]},nullable:!0},mod:{fn:g.mod,arity:{2:["Number","Number"]},nullable:!0},div:{fn:g.intdiv,arity:{2:["Number","Number"]},nullable:!0},or:{fn:w.orOp,arity:{2:[["Boolean"],["Boolean"]]}},and:{fn:w.andOp,arity:{2:[["Boolean"],["Boolean"]]}},xor:{fn:w.xorOp,arity:{2:[["Boolean"],["Boolean"]]}},implies:{fn:w.impliesOp,arity:{2:[["Boolean"],["Boolean"]]}}},c.InvocationExpression=function(ie,le,Ce){return Ce.children.reduce(function(Te,Ke){return c.doEval(ie,Te,Ke)},le)},c.TermExpression=function(ie,le,Ce){return le&&(le=le.map(Te=>Te instanceof Object&&Te.resourceType?Q(Te,Te.resourceType):Te)),c.doEval(ie,le,Ce.children[0])},c.PolarityExpression=function(ie,le,Ce){var Te=Ce.terminalNodeText[0],Ke=c.doEval(ie,le,Ce.children[0]);if(1!=Ke.length)throw new Error("Unary "+Te+" can only be applied to an individual number.");if("number"!=typeof Ke[0]||isNaN(Ke[0]))throw new Error("Unary "+Te+" can only be applied to a number.");return"-"===Te&&(Ke[0]=-Ke[0]),Ke},c.TypeSpecifier=function(ie,le,Ce){let Te,Ke;const tt=Ce.text.split(".").map(ot=>ot.replace(/(^`|`$)/g,""));switch(tt.length){case 2:[Te,Ke]=tt;break;case 1:[Ke]=tt;break;default:throw new Error("Expected TypeSpecifier node, got "+JSON.stringify(Ce))}return new X({namespace:Te,name:Ke})},c.ExternalConstantTerm=function(ie,le,Ce){var tt=c.Identifier(ie,le,Ce.children[0].children[0])[0],ot=ie.vars[tt];if(!(tt in ie.vars))throw new Error("Attempting to access an undefined environment variable: "+tt);return null==ot?[]:ot instanceof Array?ot:[ot]},c.LiteralTerm=function(ie,le,Ce){var Te=Ce.children[0];return Te?c.doEval(ie,le,Te):[Ce.text]},c.StringLiteral=function(ie,le,Ce){var Te=Ce.text.replace(/(^'|'$)/g,"");return[Te=Te.replace(/\\(u\d{4}|.)/g,function(Ke,tt){switch(Ke){case"\\r":return"\r";case"\\n":return"\n";case"\\t":return"\t";case"\\f":return"\f";default:return tt.length>1?String.fromCharCode("0x"+tt.slice(1)):tt}})]},c.BooleanLiteral=function(ie,le,Ce){return"true"===Ce.text?[!0]:[!1]},c.QuantityLiteral=function(ie,le,Ce){var Te=Ce.children[0],Ke=Number(Te.terminalNodeText[0]),tt=Te.children[0],ot=tt.terminalNodeText[0];return!ot&&tt.children&&(ot=tt.children[0].terminalNodeText[0]),[new $(Ke,ot)]},c.DateTimeLiteral=function(ie,le,Ce){var Te=Ce.text.slice(1);return[new T(Te)]},c.TimeLiteral=function(ie,le,Ce){var Te=Ce.text.slice(1);return[new Y(Te)]},c.NumberLiteral=function(ie,le,Ce){return[Number(Ce.text)]},c.Identifier=function(ie,le,Ce){return[Ce.text.replace(/(^`|`$)/g,"")]},c.InvocationTerm=function(ie,le,Ce){return c.doEval(ie,le,Ce.children[0])},c.MemberInvocation=function(ie,le,Ce){const Te=c.doEval(ie,le,Ce.children[0])[0],Ke=ie.model;return le?l.isCapitalized(Te)?le.filter(tt=>tt instanceof G&&tt.path===Te):le.reduce(function(tt,ot){var pt=(ot=Q(ot)).path+"."+Te;if(Ke){let ct=Ke.pathsDefinedElsewhere[pt];ct&&(pt=ct)}let Dt,Ie,Qe=Ke&&Ke.choiceTypePaths[pt];if(Qe)for(let ct of Qe){if(Dt=ot.data[Te+ct],void 0!==Dt){pt=ct,Ie=ot.data["_"+Te];break}Dt=ot._data[Te]}else Dt=ot.data[Te],void 0!==Dt?Ie=ot.data["_"+Te]:Dt=ot._data[Te],"extension"===Te&&(pt="Extension");return l.isSome(Dt)&&(Array.isArray(Dt)?tt=tt.concat(Dt.map((ct,bt)=>Q(ct,pt,Ie&&Ie[bt]))):tt.push(Q(Dt,pt,Ie))),tt},[]):[]},c.IndexerExpression=function(ie,le,Ce){const Ke=Ce.children[1];var tt=c.doEval(ie,le,Ce.children[0]),ot=c.doEval(ie,le,Ke);if(l.isEmpty(ot))return[];var pt=parseInt(ot[0]);return tt&&l.isSome(pt)&&tt.length>pt&&pt>=0?[tt[pt]]:[]},c.Functn=function(ie,le,Ce){return Ce.children.map(function(Te){return c.doEval(ie,le,Te)})},c.realizeParams=function(ie,le,Ce){return Ce&&Ce[0]&&Ce[0].children?Ce[0].children.map(function(Te){return c.doEval(ie,le,Te)}):[]},c.FunctionInvocation=function(ie,le,Ce){var Te=c.doEval(ie,le,Ce.children[0]);const Ke=Te[0];return Te.shift(),function(ie,le,Ce,Te){var tt,Ke=c.invocationTable[le];if(Ke){if(Ke.arity){var ot=Te?Te.length:0,pt=Ke.arity[ot];if(pt){for(var Dt=[],Ie=0;Ie{const n=o(4569),{TypeInfo:l,ResourceNode:u}=o(2563);he.exports={whereMacro:function(r,d){return!1===r||r?n.flatten(r.filter((m,p)=>(this.$index=p,d(m)[0]))):[]},extension:function(r,d){return!1!==r&&!r||!d?[]:n.flatten(r.map((m,p)=>{this.$index=p;const y=m&&(m.data&&m.data.extension||m._data&&m._data.extension);return y?y.filter(b=>b.url===d).map(b=>u.makeResNode(b,"Extension")):[]}))},selectMacro:function(r,d){return!1===r||r?n.flatten(r.map((m,p)=>(this.$index=p,d(m)))):[]},repeatMacro:function(r,d){if(!1!==r&&!r)return[];for(var m=[],p=r,b=null;0!=p.length;)(b=d(p.shift()))&&(m=m.concat(b),p=p.concat(b));return m},singleFn:function(r){return 1==r.length?r:0==r.length?[]:{$status:"error",$error:"Expected single"}},firstFn:function(r){return r[0]},lastFn:function(r){return r[r.length-1]},tailFn:function(r){return r.slice(1,r.length)},takeFn:function(r,d){return r.slice(0,d)},skipFn:function(r,d){return r.slice(d,r.length)},ofTypeFn:function(r,d){return r.filter(m=>l.fromValue(m).is(d))}}},2306:he=>{he.exports={orOp:function(o,n){if(Array.isArray(n)){if(!0===o)return!0;if(!1===o)return[];if(Array.isArray(o))return[]}return Array.isArray(o)?!0===n||[]:o||n},andOp:function(o,n){if(Array.isArray(n)){if(!0===o)return[];if(!1===o)return!1;if(Array.isArray(o))return[]}return Array.isArray(o)?!0===n&&[]:o&&n},xorOp:function(o,n){return Array.isArray(o)||Array.isArray(n)?[]:o&&!n||!o&&n},impliesOp:function(o,n){if(Array.isArray(n)){if(!0===o)return[];if(!1===o)return!0;if(Array.isArray(o))return[]}return Array.isArray(o)?!0===n||[]:!1===o||o&&n}}},2492:(he,A,o)=>{var n=o(2563);let{FP_TimeBase:l,FP_Quantity:u}=n;const c=o(4569);var r={};function d(p){let y=c.valData(p);if("number"!=typeof y){if(1==y.length&&"number"==typeof(y=c.valData(y[0])))return y;throw new Error("Expected number, but got "+JSON.stringify(y||p))}return y}function m(p){return"number"!=typeof p&&0==p.length}r.amp=function(p,y){return(p||"")+(y||"")},r.plus=function(p,y){if(1==p.length&&1==y.length){var b=c.valData(p[0]),h=c.valData(y[0]);if("string"==typeof b&&"string"==typeof h||"number"==typeof b&&"number"==typeof h)return b+h;if(b instanceof l&&h instanceof u)return b.plus(h)}throw new Error("Cannot "+JSON.stringify(p)+" + "+JSON.stringify(y))},r.minus=function(p,y){if(1==p.length&&1==y.length){var b=c.valData(p[0]),h=c.valData(y[0]);if("number"==typeof b&&"number"==typeof h)return b-h;if(b instanceof l&&h instanceof u)return b.plus(new u(-h.value,h.unit))}throw new Error("Cannot "+JSON.stringify(p)+" - "+JSON.stringify(y))},r.mul=function(p,y){return p*y},r.div=function(p,y){return p/y},r.intdiv=function(p,y){return Math.floor(p/y)},r.mod=function(p,y){return p%y},r.abs=function(p){if(m(p))return[];{let y=d(p);return Math.abs(y)}},r.ceiling=function(p){if(m(p))return[];{let y=d(p);return Math.ceil(y)}},r.exp=function(p){if(m(p))return[];{let y=d(p);return Math.exp(y)}},r.floor=function(p){if(m(p))return[];{let y=d(p);return Math.floor(y)}},r.ln=function(p){if(m(p))return[];{let y=d(p);return Math.log(y)}},r.log=function(p,y){if(m(p)||m(y))return[];{let b=d(p),h=d(y);return Math.log(b)/Math.log(h)}},r.power=function(p,y){if(m(p)||m(y))return[];{let b=d(p),h=d(y);return b<0&&Math.floor(h)!=h?[]:Math.pow(b,h)}},r.round=function(p,y){if(m(p))return[];{let b=d(p);if(m(y))return Math.round(b);{let h=d(y),g=Math.pow(10,h);return Math.round(b*g)/g}}},r.sqrt=function(p){if(m(p))return[];{let y=d(p);return y<0?[]:Math.sqrt(y)}},r.truncate=function(p){if(m(p))return[];{let y=d(p);return Math.trunc(y)}},he.exports=r},9502:(he,A,o)=>{var n=o(4569),l=o(2563);const{FP_Quantity:u}=l;var c={iifMacro:function(s,C,P,w){return n.isTrue(C(s))?P(s):w?w(s):[]},traceFn:function(s,C){return console.log("TRACE:["+(C||"")+"]",JSON.stringify(s,null," ")),s}},r=/^[+-]?\d+$/;c.toInteger=function(s){if(1!==s.length)return[];var C=n.valData(s[0]);return!1===C?0:!0===C?1:"number"==typeof C?Number.isInteger(C)?C:[]:"string"==typeof C&&r.test(C)?parseInt(C):[]};const d=/^((\+|-)?\d+(\.\d+)?)\s*(('[^']+')|([a-zA-Z]+))?$/;c.toQuantity=function(s,C){let P;if(C&&!u.mapTimeUnitsToUCUMCode[C]&&(C=`'${C}'`),s.length>1)throw new Error("Could not convert to quantity: input collection contains multiple items");if(1===s.length){const D=n.valData(s[0]);let T;if("number"==typeof D)P=new u(D,"'1'");else if(D instanceof u)P=D;else if("boolean"==typeof D)P=new u(D?1:0,"'1'");else if("string"==typeof D&&(T=d.exec(D))){const Y=T[1],$=T[5],z=T[6];(!z||u.mapTimeUnitsToUCUMCode[z])&&(P=new u(Number(Y),$||z||"'1'"))}P&&C&&P.unit!==C&&(P=u.convUnitTo(P.unit,P.value,C))}return P||[]};var p=/^[+-]?\d+(\.\d+)?$/;function y(s){let C=s.slice(3);c["to"+C]=function(P){var w=[];if(P.length>1)throw Error("to "+C+" called for a collection of length "+P.length);if(1===P.length){var D=l[s].checkString(n.valData(P[0]));D&&(w=D)}return w}}c.toDecimal=function(s){if(1!==s.length)return[];var C=n.valData(s[0]);return!1===C?0:!0===C?1:"number"==typeof C?C:"string"==typeof C&&p.test(C)?parseFloat(C):[]},c.toString=function(s){return 1!==s.length?[]:n.valData(s[0]).toString()},y("FP_DateTime"),y("FP_Time");const b=["true","t","yes","y","1","1.0"].reduce((s,C)=>(s[C]=!0,s),{}),h=["false","f","no","n","0","0.0"].reduce((s,C)=>(s[C]=!0,s),{});c.toBoolean=function(s){if(1!==s.length)return[];const C=n.valData(s[0]);switch(typeof C){case"boolean":return C;case"number":if(1===C)return!0;if(0===C)return!1;break;case"string":const P=C.toLowerCase();if(b[P])return!0;if(h[P])return!1}return[]},c.createConvertsToFn=function(s,C){return"string"==typeof C?function(P){return 1!==P.length?[]:typeof s(P)===C}:function(P){return 1!==P.length?[]:s(P)instanceof C}};const g={Integer:function(s){const C=n.valData(s[0]);if(Number.isInteger(C))return C},Boolean:function(s){const C=n.valData(s[0]);return!0===C||!1===C?C:1===s.length||void 0},Number:function(s){const C=n.valData(s[0]);if("number"==typeof C)return C},String:function(s){const C=n.valData(s[0]);if("string"==typeof C)return C}};c.singleton=function(s,C){if(s.length>1)throw new Error("Unexpected collection"+JSON.stringify(s)+"; expected singleton of type "+C);if(0===s.length)return[];const P=g[C];if(P){const w=P(s);if(void 0!==w)return w;throw new Error(`Expected ${C.toLowerCase()}, but got: ${JSON.stringify(s)}`)}throw new Error("Not supported type "+C)},he.exports=c},5948:(he,A,o)=>{const n=o(4569),{ResourceNode:l}=o(2563);let u=l.makeResNode;var c={children:function(r){let d=this.model;return r.reduce(function(m,p){let y=n.valData(p);if(p=u(p),"object"==typeof y){for(var b of Object.keys(y)){var h=y[b],g=p.path+"."+b;if(d){let s=d.pathsDefinedElsewhere[g];s&&(g=s)}Array.isArray(h)?m.push.apply(m,h.map(s=>u(s,g))):m.push(u(h,g))}return m}return m},[])},descendants:function(r){for(var d=c.children.call(this,r),m=[];d.length>0;)m.push.apply(m,d),d=c.children.call(this,d);return m}};he.exports=c},5192:he=>{let A={};function o(c){const d=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +c);if(!d)return 0;const m=d[2];return Math.max(0,("0"===m?0:(m||"").length)-(d[3]||0))}function n(c,r){const d=Math.pow(10,r);return Math.round(c*d)/d}function u(c){return 1e-8*Math.round(c/1e-8)}A.isEquivalent=function(c,r){if(Number.isInteger(c)&&Number.isInteger(r))return c===r;const d=Math.min(o(c),o(r));return 0===d?Math.round(c)===Math.round(r):n(c,d)===n(r,d)},A.isEqual=function(c,r){return u(c)===u(r)},he.exports=A},4981:(he,A,o)=>{A.atn=o(8900),A.codepointat=o(4185),A.dfa=o(8985),A.fromcodepoint=o(9767),A.tree=o(6722),A.error=o(8553),A.Token=o(8443).Token,A.CommonToken=o(8443).CommonToken,A.InputStream=o(7500).InputStream,A.CommonTokenStream=o(2430).CommonTokenStream,A.Lexer=o(3805).Lexer,A.Parser=o(6554).Parser;var n=o(4825);A.PredictionContextCache=n.PredictionContextCache,A.ParserRuleContext=o(911).ParserRuleContext,A.Interval=o(210).Interval,A.Utils=o(8065)},4621:(he,A,o)=>{var n=o(4981),l=["\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(""),u=(new n.atn.ATNDeserializer).deserialize(l),c=u.decisionToState.map(function(d,m){return new n.dfa.DFA(d,m)});function r(d){return n.Lexer.call(this,d),this._interp=new n.atn.LexerATNSimulator(this,u,c,new n.PredictionContextCache),this}(r.prototype=Object.create(n.Lexer.prototype)).constructor=r,Object.defineProperty(r.prototype,"atn",{get:function(){return u}}),r.EOF=n.Token.EOF,r.T__0=1,r.T__1=2,r.T__2=3,r.T__3=4,r.T__4=5,r.T__5=6,r.T__6=7,r.T__7=8,r.T__8=9,r.T__9=10,r.T__10=11,r.T__11=12,r.T__12=13,r.T__13=14,r.T__14=15,r.T__15=16,r.T__16=17,r.T__17=18,r.T__18=19,r.T__19=20,r.T__20=21,r.T__21=22,r.T__22=23,r.T__23=24,r.T__24=25,r.T__25=26,r.T__26=27,r.T__27=28,r.T__28=29,r.T__29=30,r.T__30=31,r.T__31=32,r.T__32=33,r.T__33=34,r.T__34=35,r.T__35=36,r.T__36=37,r.T__37=38,r.T__38=39,r.T__39=40,r.T__40=41,r.T__41=42,r.T__42=43,r.T__43=44,r.T__44=45,r.T__45=46,r.T__46=47,r.T__47=48,r.T__48=49,r.T__49=50,r.T__50=51,r.T__51=52,r.T__52=53,r.T__53=54,r.DATETIME=55,r.TIME=56,r.IDENTIFIER=57,r.DELIMITEDIDENTIFIER=58,r.STRING=59,r.NUMBER=60,r.WS=61,r.COMMENT=62,r.LINE_COMMENT=63,r.prototype.channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"],r.prototype.modeNames=["DEFAULT_MODE"],r.prototype.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'"],r.prototype.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"],r.prototype.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"],r.prototype.grammarFileName="FHIRPath.g4",A.a=r},4303:(he,A,o)=>{var n=o(4981);function l(){return n.tree.ParseTreeListener.call(this),this}(l.prototype=Object.create(n.tree.ParseTreeListener.prototype)).constructor=l,l.prototype.enterEntireExpression=function(u){},l.prototype.exitEntireExpression=function(u){},l.prototype.enterIndexerExpression=function(u){},l.prototype.exitIndexerExpression=function(u){},l.prototype.enterPolarityExpression=function(u){},l.prototype.exitPolarityExpression=function(u){},l.prototype.enterAdditiveExpression=function(u){},l.prototype.exitAdditiveExpression=function(u){},l.prototype.enterMultiplicativeExpression=function(u){},l.prototype.exitMultiplicativeExpression=function(u){},l.prototype.enterUnionExpression=function(u){},l.prototype.exitUnionExpression=function(u){},l.prototype.enterOrExpression=function(u){},l.prototype.exitOrExpression=function(u){},l.prototype.enterAndExpression=function(u){},l.prototype.exitAndExpression=function(u){},l.prototype.enterMembershipExpression=function(u){},l.prototype.exitMembershipExpression=function(u){},l.prototype.enterInequalityExpression=function(u){},l.prototype.exitInequalityExpression=function(u){},l.prototype.enterInvocationExpression=function(u){},l.prototype.exitInvocationExpression=function(u){},l.prototype.enterEqualityExpression=function(u){},l.prototype.exitEqualityExpression=function(u){},l.prototype.enterImpliesExpression=function(u){},l.prototype.exitImpliesExpression=function(u){},l.prototype.enterTermExpression=function(u){},l.prototype.exitTermExpression=function(u){},l.prototype.enterTypeExpression=function(u){},l.prototype.exitTypeExpression=function(u){},l.prototype.enterInvocationTerm=function(u){},l.prototype.exitInvocationTerm=function(u){},l.prototype.enterLiteralTerm=function(u){},l.prototype.exitLiteralTerm=function(u){},l.prototype.enterExternalConstantTerm=function(u){},l.prototype.exitExternalConstantTerm=function(u){},l.prototype.enterParenthesizedTerm=function(u){},l.prototype.exitParenthesizedTerm=function(u){},l.prototype.enterNullLiteral=function(u){},l.prototype.exitNullLiteral=function(u){},l.prototype.enterBooleanLiteral=function(u){},l.prototype.exitBooleanLiteral=function(u){},l.prototype.enterStringLiteral=function(u){},l.prototype.exitStringLiteral=function(u){},l.prototype.enterNumberLiteral=function(u){},l.prototype.exitNumberLiteral=function(u){},l.prototype.enterDateTimeLiteral=function(u){},l.prototype.exitDateTimeLiteral=function(u){},l.prototype.enterTimeLiteral=function(u){},l.prototype.exitTimeLiteral=function(u){},l.prototype.enterQuantityLiteral=function(u){},l.prototype.exitQuantityLiteral=function(u){},l.prototype.enterExternalConstant=function(u){},l.prototype.exitExternalConstant=function(u){},l.prototype.enterMemberInvocation=function(u){},l.prototype.exitMemberInvocation=function(u){},l.prototype.enterFunctionInvocation=function(u){},l.prototype.exitFunctionInvocation=function(u){},l.prototype.enterThisInvocation=function(u){},l.prototype.exitThisInvocation=function(u){},l.prototype.enterIndexInvocation=function(u){},l.prototype.exitIndexInvocation=function(u){},l.prototype.enterTotalInvocation=function(u){},l.prototype.exitTotalInvocation=function(u){},l.prototype.enterFunctn=function(u){},l.prototype.exitFunctn=function(u){},l.prototype.enterParamList=function(u){},l.prototype.exitParamList=function(u){},l.prototype.enterQuantity=function(u){},l.prototype.exitQuantity=function(u){},l.prototype.enterUnit=function(u){},l.prototype.exitUnit=function(u){},l.prototype.enterDateTimePrecision=function(u){},l.prototype.exitDateTimePrecision=function(u){},l.prototype.enterPluralDateTimePrecision=function(u){},l.prototype.exitPluralDateTimePrecision=function(u){},l.prototype.enterTypeSpecifier=function(u){},l.prototype.exitTypeSpecifier=function(u){},l.prototype.enterQualifiedIdentifier=function(u){},l.prototype.exitQualifiedIdentifier=function(u){},l.prototype.enterIdentifier=function(u){},l.prototype.exitIdentifier=function(u){},A.q=l},8974:(he,A,o)=>{var n=o(4981),l=o(4303).q,c=["\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\x03P","\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 n.atn.ATNDeserializer).deserialize(c),d=r.decisionToState.map(function(_,x){return new n.dfa.DFA(_,x)}),m=new n.PredictionContextCache,p=[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'"],y=[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"],b=["entireExpression","expression","term","literal","externalConstant","invocation","functn","paramList","quantity","unit","dateTimePrecision","pluralDateTimePrecision","typeSpecifier","qualifiedIdentifier","identifier"];function h(_){return n.Parser.call(this,_),this._interp=new n.atn.ParserATNSimulator(this,r,d,m),this.ruleNames=b,this.literalNames=p,this.symbolicNames=y,this}function g(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_entireExpression,this}function s(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_expression,this}function C(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function P(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function w(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function D(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function T(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function Y(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function $(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function z(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function G(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function X(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function Q(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function q(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function ue(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function me(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function xe(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_term,this}function pe(_,x){return xe.call(this,_),xe.prototype.copyFrom.call(this,x),this}function oe(_,x){return xe.call(this,_),xe.prototype.copyFrom.call(this,x),this}function ae(_,x){return xe.call(this,_),xe.prototype.copyFrom.call(this,x),this}function U(_,x){return xe.call(this,_),xe.prototype.copyFrom.call(this,x),this}function ie(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_literal,this}function le(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function Ce(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function Te(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function Ke(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function tt(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function ot(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function pt(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function Dt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_externalConstant,this}function Ie(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_invocation,this}function Qe(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function ct(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function bt(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function Et(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function xt(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function dt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_functn,this}function Ne(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_paramList,this}function rt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_quantity,this}function ze(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_unit,this}function yt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_dateTimePrecision,this}function mt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_pluralDateTimePrecision,this}function _e(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_typeSpecifier,this}function Z(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_qualifiedIdentifier,this}function j(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_identifier,this}(h.prototype=Object.create(n.Parser.prototype)).constructor=h,Object.defineProperty(h.prototype,"atn",{get:function(){return r}}),h.EOF=n.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,h.RULE_entireExpression=0,h.RULE_expression=1,h.RULE_term=2,h.RULE_literal=3,h.RULE_externalConstant=4,h.RULE_invocation=5,h.RULE_functn=6,h.RULE_paramList=7,h.RULE_quantity=8,h.RULE_unit=9,h.RULE_dateTimePrecision=10,h.RULE_pluralDateTimePrecision=11,h.RULE_typeSpecifier=12,h.RULE_qualifiedIdentifier=13,h.RULE_identifier=14,(g.prototype=Object.create(n.ParserRuleContext.prototype)).constructor=g,g.prototype.expression=function(){return this.getTypedRuleContext(s,0)},g.prototype.EOF=function(){return this.getToken(h.EOF,0)},g.prototype.enterRule=function(_){_ instanceof l&&_.enterEntireExpression(this)},g.prototype.exitRule=function(_){_ instanceof l&&_.exitEntireExpression(this)},h.EntireExpressionContext=g,h.prototype.entireExpression=function(){var _=new g(this,this._ctx,this.state);this.enterRule(_,0,h.RULE_entireExpression);try{this.enterOuterAlt(_,1),this.state=30,this.expression(0),this.state=31,this.match(h.EOF)}catch(x){if(!(x instanceof n.error.RecognitionException))throw x;_.exception=x,this._errHandler.reportError(this,x),this._errHandler.recover(this,x)}finally{this.exitRule()}return _},(s.prototype=Object.create(n.ParserRuleContext.prototype)).constructor=s,s.prototype.copyFrom=function(_){n.ParserRuleContext.prototype.copyFrom.call(this,_)},(C.prototype=Object.create(s.prototype)).constructor=C,h.IndexerExpressionContext=C,C.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},C.prototype.enterRule=function(_){_ instanceof l&&_.enterIndexerExpression(this)},C.prototype.exitRule=function(_){_ instanceof l&&_.exitIndexerExpression(this)},(P.prototype=Object.create(s.prototype)).constructor=P,h.PolarityExpressionContext=P,P.prototype.expression=function(){return this.getTypedRuleContext(s,0)},P.prototype.enterRule=function(_){_ instanceof l&&_.enterPolarityExpression(this)},P.prototype.exitRule=function(_){_ instanceof l&&_.exitPolarityExpression(this)},(w.prototype=Object.create(s.prototype)).constructor=w,h.AdditiveExpressionContext=w,w.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},w.prototype.enterRule=function(_){_ instanceof l&&_.enterAdditiveExpression(this)},w.prototype.exitRule=function(_){_ instanceof l&&_.exitAdditiveExpression(this)},(D.prototype=Object.create(s.prototype)).constructor=D,h.MultiplicativeExpressionContext=D,D.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},D.prototype.enterRule=function(_){_ instanceof l&&_.enterMultiplicativeExpression(this)},D.prototype.exitRule=function(_){_ instanceof l&&_.exitMultiplicativeExpression(this)},(T.prototype=Object.create(s.prototype)).constructor=T,h.UnionExpressionContext=T,T.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},T.prototype.enterRule=function(_){_ instanceof l&&_.enterUnionExpression(this)},T.prototype.exitRule=function(_){_ instanceof l&&_.exitUnionExpression(this)},(Y.prototype=Object.create(s.prototype)).constructor=Y,h.OrExpressionContext=Y,Y.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},Y.prototype.enterRule=function(_){_ instanceof l&&_.enterOrExpression(this)},Y.prototype.exitRule=function(_){_ instanceof l&&_.exitOrExpression(this)},($.prototype=Object.create(s.prototype)).constructor=$,h.AndExpressionContext=$,$.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},$.prototype.enterRule=function(_){_ instanceof l&&_.enterAndExpression(this)},$.prototype.exitRule=function(_){_ instanceof l&&_.exitAndExpression(this)},(z.prototype=Object.create(s.prototype)).constructor=z,h.MembershipExpressionContext=z,z.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},z.prototype.enterRule=function(_){_ instanceof l&&_.enterMembershipExpression(this)},z.prototype.exitRule=function(_){_ instanceof l&&_.exitMembershipExpression(this)},(G.prototype=Object.create(s.prototype)).constructor=G,h.InequalityExpressionContext=G,G.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},G.prototype.enterRule=function(_){_ instanceof l&&_.enterInequalityExpression(this)},G.prototype.exitRule=function(_){_ instanceof l&&_.exitInequalityExpression(this)},(X.prototype=Object.create(s.prototype)).constructor=X,h.InvocationExpressionContext=X,X.prototype.expression=function(){return this.getTypedRuleContext(s,0)},X.prototype.invocation=function(){return this.getTypedRuleContext(Ie,0)},X.prototype.enterRule=function(_){_ instanceof l&&_.enterInvocationExpression(this)},X.prototype.exitRule=function(_){_ instanceof l&&_.exitInvocationExpression(this)},(Q.prototype=Object.create(s.prototype)).constructor=Q,h.EqualityExpressionContext=Q,Q.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},Q.prototype.enterRule=function(_){_ instanceof l&&_.enterEqualityExpression(this)},Q.prototype.exitRule=function(_){_ instanceof l&&_.exitEqualityExpression(this)},(q.prototype=Object.create(s.prototype)).constructor=q,h.ImpliesExpressionContext=q,q.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},q.prototype.enterRule=function(_){_ instanceof l&&_.enterImpliesExpression(this)},q.prototype.exitRule=function(_){_ instanceof l&&_.exitImpliesExpression(this)},(ue.prototype=Object.create(s.prototype)).constructor=ue,h.TermExpressionContext=ue,ue.prototype.term=function(){return this.getTypedRuleContext(xe,0)},ue.prototype.enterRule=function(_){_ instanceof l&&_.enterTermExpression(this)},ue.prototype.exitRule=function(_){_ instanceof l&&_.exitTermExpression(this)},(me.prototype=Object.create(s.prototype)).constructor=me,h.TypeExpressionContext=me,me.prototype.expression=function(){return this.getTypedRuleContext(s,0)},me.prototype.typeSpecifier=function(){return this.getTypedRuleContext(_e,0)},me.prototype.enterRule=function(_){_ instanceof l&&_.enterTypeExpression(this)},me.prototype.exitRule=function(_){_ instanceof l&&_.exitTypeExpression(this)},h.prototype.expression=function(_){void 0===_&&(_=0);var x=this._ctx,N=this.state,ce=new s(this,this._ctx,N);this.enterRecursionRule(ce,2,h.RULE_expression,_);var ve=0;try{switch(this.enterOuterAlt(ce,1),this.state=37,this._errHandler.sync(this),this._input.LA(1)){case h.T__15:case h.T__16:case h.T__21:case h.T__22:case h.T__27:case h.T__29:case h.T__31:case h.T__32:case h.T__33:case h.T__34:case h.T__35:case h.T__36:case h.DATETIME:case h.TIME:case h.IDENTIFIER:case h.DELIMITEDIDENTIFIER:case h.STRING:case h.NUMBER:ce=new ue(this,ce),this._ctx=ce,this.state=34,this.term();break;case h.T__3:case h.T__4:ce=new P(this,ce),this._ctx=ce,this.state=35,(ve=this._input.LA(1))===h.T__3||ve===h.T__4?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=36,this.expression(11);break;default:throw new n.error.NoViableAltException(this)}this._ctx.stop=this._input.LT(-1),this.state=79,this._errHandler.sync(this);for(var Ae=this._interp.adaptivePredict(this._input,2,this._ctx);2!=Ae&&Ae!=n.atn.ATN.INVALID_ALT_NUMBER;){if(1===Ae)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=77,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:if(ce=new D(this,new s(this,x,N)),this.pushNewRecursionContext(ce,2,h.RULE_expression),this.state=39,!this.precpred(this._ctx,10))throw new n.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=40,0==(-32&(ve=this._input.LA(1)))&&0!=(1<{const n=o(4981),l=o(4621).a,u=o(8974)._,c=o(4303).q;var r=function(m){return n.error.ErrorListener.call(this),this.errors=m,this};(r.prototype=Object.create(n.error.ErrorListener.prototype)).constructor=r,r.prototype.syntaxError=function(m,p,y,b,h,g){this.errors.push([m,p,y,b,h,g])},he.exports={parse:function(m){var p=new n.InputStream(m),y=new l(p),b=new n.CommonTokenStream(y),h=new u(b);h.buildParseTrees=!0;var g=[],s=new r(g);y.removeErrorListeners(),y.addErrorListener(s),h.removeErrorListeners(),h.addErrorListener(s);var C=h.entireExpression();function P(){return c.call(this),this}(P.prototype=Object.create(c.prototype)).constructor=P;var D,w={},T=[w];for(let z of Object.keys(c.prototype))z.startsWith("enter")?P.prototype[z]=function(G){let X=T[T.length-1];(D={type:z.slice(5)}).text=G.getText(),X.children||(X.children=[]),X.children.push(D),T.push(D),D.terminalNodeText=[];for(let q of G.children)q.symbol&&D.terminalNodeText.push(q.getText())}:z.startsWith("exit")&&(P.prototype[z]=function(){T.pop()});var Y=new P;if(n.tree.ParseTreeWalker.DEFAULT.walk(Y,C),g.length>0){let z=[];for(let G=0,X=g.length;G{const he=Function.prototype.call.bind(Array.prototype.slice);Number.isInteger=Number.isInteger||function(A){return"number"==typeof A&&isFinite(A)&&Math.floor(A)===A},String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(A,o){return this.indexOf(A,o=o||0)===o}}),String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(A,o){var n=this.toString();(void 0===o||o>n.length)&&(o=n.length);var l=n.indexOf(A,o-=A.length);return-1!==l&&l===o}}),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(A){if(null==A)throw new TypeError("Cannot convert undefined or null to object");return he(arguments,1).reduce(function(o,n){return Object.keys(Object(n)).forEach(function(l){o[l]=n[l]}),o},Object(A))}})},9835:(he,A,o)=>{const n=o(4569),l=o(9502),u={},c={};u.indexOf=function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:y.indexOf(p)},u.substring=function(m,p,y){const b=l.singleton(m,"String");return n.isEmpty(b)||n.isEmpty(p)||p<0||p>=b.length?[]:void 0===y||n.isEmpty(y)?b.substring(p):b.substring(p,p+y)},u.startsWith=function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:y.startsWith(p)},u.endsWith=function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:y.endsWith(p)},u.containsFn=function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:y.includes(p)},u.upper=function(m){const p=l.singleton(m,"String");return n.isEmpty(p)?[]:p.toUpperCase()},u.lower=function(m){const p=l.singleton(m,"String");return n.isEmpty(p)?[]:p.toLowerCase()},u.matches=!1===new RegExp("").dotAll?function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:new RegExp(p,"s").test(y)}:function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:new RegExp(function(m){return c[m]||(c[m]=m.replace(/\./g,(p,y,b)=>{const g=b.substr(0,y).replace(/\\\\/g,"").replace(/\\[\][]/g,""),s="\\"===g[g.length-1],C=g.lastIndexOf("["),P=g.lastIndexOf("]");return s||C>P?".":"[^]"})),c[m]}(p)).test(y)},u.replace=function(m,p,y){const b=l.singleton(m,"String");if(n.isEmpty(p)||n.isEmpty(y)||n.isEmpty(b))return[];const h=new RegExp(n.escapeStringForRegExp(p),"g");return b.replace(h,y)},u.replaceMatches=function(m,p,y){const b=l.singleton(m,"String");if(n.isEmpty(p)||n.isEmpty(y)||n.isEmpty(b))return[];const h=new RegExp(p,"g");return b.replace(h,y)},u.length=function(m){const p=l.singleton(m,"String");return n.isEmpty(p)?[]:p.length},u.toChars=function(m){const p=l.singleton(m,"String");return n.isEmpty(p)?[]:p.split("")},he.exports=u},2563:(he,A,o)=>{const n=o(8091),l=o(1334).ng.getInstance(),u=o(5192);let r="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",d=new RegExp("^T?"+r+"$"),m=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+r+")?)?)?Z?$");class p{equals(){return!1}equivalentTo(){return!1}toString(){return this.asStr?this.asStr:super.toString()}toJSON(){return this.toString()}compare(){throw"Not implemented"}}class y extends p{constructor(z,G){super(),this.asStr=z+" "+G,this.value=z,this.unit=G}equals(z){if(!(z instanceof this.constructor))return!1;if(this.unit===z.unit)return u.isEqual(this.value,z.value);const G=this._compareYearsAndMonths(z);if(G)return G.isEqual;const X=y.toUcumQuantity(this.value,this.unit),Q=y.toUcumQuantity(z.value,z.unit),q=l.convertUnitTo(Q.unit,Q.value,X.unit);return"succeeded"===q.status&&u.isEqual(X.value,q.toVal)}equivalentTo(z){if(!(z instanceof this.constructor))return!1;if(this.unit===z.unit)return u.isEquivalent(this.value,z.value);const G=y.getEquivalentUcumUnitCode(this.unit),X=y.getEquivalentUcumUnitCode(z.unit),Q=l.convertUnitTo(X,z.value,G);return"succeeded"===Q.status&&u.isEquivalent(this.value,Q.toVal)}_compareYearsAndMonths(z){const G=y._yearMonthConversionFactor[this.unit],X=y._yearMonthConversionFactor[z.unit];return G&&X?{isEqual:u.isEqual(this.value*G,z.value*X)}:null}}const b=/^'|'$/g;y.getEquivalentUcumUnitCode=function($){return y.mapTimeUnitsToUCUMCode[$]||$.replace(b,"")},y.toUcumQuantity=function($,z){const G=y._calendarDuration2Seconds[z];return G?{value:G*$,unit:"s"}:{value:$,unit:z.replace(b,"")}},y.convUnitTo=function($,z,G){const X=y._yearMonthConversionFactor[$],Q=y._yearMonthConversionFactor[G];if(X&&Q)return new y(X*z/Q,G);const q=y._calendarDuration2Seconds[$],ue=y._calendarDuration2Seconds[G];if(ue){if(q)return new y(q*z/ue,G);{const me=l.convertUnitTo($.replace(/^'|'$/g,""),z,"s");if("succeeded"===me.status)return new y(me.toVal/ue,G)}}else{const me=q?l.convertUnitTo("s",q*z,G.replace(/^'|'$/g,"")):l.convertUnitTo($.replace(/^'|'$/g,""),z,G.replace(/^'|'$/g,""));if("succeeded"===me.status)return new y(me.toVal,G)}return null},y._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},y._yearMonthConversionFactor={years:12,months:1,year:12,month:1},y.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"},y.mapUCUMCodeToTimeUnits={a:"year",mo:"month",wk:"week",d:"day",h:"hour",min:"minute",s:"second",ms:"millisecond"},y.mapTimeUnitsToUCUMCode=Object.keys(y.mapUCUMCodeToTimeUnits).reduce(function($,z){return $[y.mapUCUMCodeToTimeUnits[z]]=z,$[y.mapUCUMCodeToTimeUnits[z]+"s"]=z,$},{});class h extends p{constructor(z){super(),this.asStr=z}plus(z){let X=y.arithmeticDurationUnits[z.unit];if(!X)throw new Error("For date/time arithmetic, the unit of the quantity must be one of the following time-based units: "+Object.keys(y.arithmeticDurationUnits));const Q=this.constructor,q=Q._timeUnitToDatePrecision[X];if(void 0===q)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(Q._timeUnitToDatePrecision).join(", ")+".");let ue=z.value;const me=Q===s;if((me?q<2:q<5)&&(ue=Math.trunc(ue)),this._getPrecision()2?new g(ue)._getTimeParts():this._getTimeParts(),pe=Q>2?new g(me)._getTimeParts():z._getTimeParts(),oe=0;oe<=q&&!1!==G;++oe)G=xe[oe]==pe[oe];G&&(G=void 0)}}else G=!1;return G}equivalentTo(z){var G=z instanceof this.constructor;return G&&(G=this._getPrecision()==z._getPrecision())&&(G=this._getDateObj().getTime()==z._getDateObj().getTime()),G}compare(z){var G=this._getPrecision(),X=z._getPrecision(),Q=G<=X?this._getDateObj().getTime():this._dateAtPrecision(X).getTime(),q=X<=G?z._getDateObj().getTime():z._dateAtPrecision(G).getTime();return G!==X&&Q===q?null:Q-q}_getPrecision(){return void 0===this.precision&&this._getMatchData(),this.precision}_getMatchData(z,G){if(void 0===this.timeMatchData&&(this.timeMatchData=this.asStr.match(z),this.timeMatchData))for(let X=G;X>=0&&void 0===this.precision;--X)this.timeMatchData[X]&&(this.precision=X);return this.timeMatchData}_getTimeParts(z){var G=[];G=[z[0]];var X=z[4];if(X){let me=G[0];G[0]=me.slice(0,me.length-X.length)}var Q=z[1];if(Q){let me=G[0];G[0]=me.slice(0,me.length-Q.length),G[1]=Q;var q=z[2];if(q){G[1]=Q.slice(0,Q.length-q.length),G[2]=q;var ue=z[3];ue&&(G[2]=q.slice(0,q.length-ue.length),G[3]=ue)}}return G}_getDateObj(){if(!this.dateObj){var z=this._getPrecision();this.dateObj=this._dateAtPrecision(z)}return this.dateObj}_createDate(z,G,X,Q,q,ue,me,xe){var pe=new Date(z,G,X,Q,q,ue,me);if(xe){var oe=pe.getTimezoneOffset(),ae=0;if("Z"!=xe){var U=xe.split(":"),ie=parseInt(U[0]);ae=parseInt(U[1]),ie<0&&(ae=-ae),ae+=60*ie}pe=n(pe,-oe-ae)}return pe}}h.timeUnitToAddFn={year:o(2486),month:o(4992),week:o(5213),day:o(6937),hour:o(2500),minute:o(8091),second:o(734),millisecond:o(7862)};let g=(()=>{class $ extends h{constructor(G){super(G)}compare(G){if(!(G instanceof $))throw"Invalid comparison of a DateTime with something else";return super.compare(G)}_getMatchData(){return super._getMatchData(m,5)}_getTimeParts(){if(!this.timeParts){let X=this._getMatchData(),Q=X[0];this.timeParts=[Q];var G=X[1];if(G){this.timeParts[0]=Q.slice(0,Q.length-G.length),this.timeParts[1]=G;let q=X[2];if(q){this.timeParts[1]=G.slice(0,G.length-q.length),this.timeParts[2]=q;let ue=X[3];ue&&(this.timeParts[2]=q.slice(0,q.length-ue.length),"T"===ue[0]&&(X[3]=ue.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(X.slice(3))))}}}return this.timeParts}_dateAtPrecision(G){var X=this._getTimeParts(),Q=this._getMatchData()[7],q=this._getPrecision(),ue=parseInt(X[0]),me=q>0?parseInt(X[1].slice(1))-1:0,xe=q>1?parseInt(X[2].slice(1)):1,pe=q>2?parseInt(X[3]):0,oe=q>3?parseInt(X[4].slice(1)):0,ae=q>4?parseInt(X[5].slice(1)):0,U=X.length>6?parseInt(X[6].slice(1)):0,ie=this._createDate(ue,me,xe,pe,oe,ae,U,Q);return G0?ie.getMonth():0,xe=G>1?ie.getDate():1,pe=G>2?ie.getHours():0,oe=G>3?ie.getMinutes():0,ie=new Date(ue,me,xe,pe,oe)),ie}}return $.checkString=function(z){let G=new $(z);return G._getMatchData()||(G=null),G},$._timeUnitToDatePrecision={year:0,month:1,week:2,day:2,hour:3,minute:4,second:5,millisecond:6},$._datePrecisionToTimeUnit=["year","month","day","hour","minute","second","millisecond"],$})(),s=(()=>{class $ extends h{constructor(G){"T"==G[0]&&(G=G.slice(1)),super(G)}compare(G){if(!(G instanceof $))throw"Invalid comparison of a time with something else";return super.compare(G)}_dateAtPrecision(G){var X=this._getTimeParts(),Q=this._getMatchData()[4],q=this._getPrecision(),pe=parseInt(X[0]),oe=q>0?parseInt(X[1].slice(1)):0,ae=q>1?parseInt(X[2].slice(1)):0,U=X.length>3?parseInt(X[3].slice(1)):0,ie=this._createDate(2010,0,1,pe,oe,ae,U,Q);return Q&&(ie.setYear(2010),ie.setMonth(0),ie.setDate(1)),G0?ie.getMinutes():0,ie=new Date(2010,0,1,pe,oe)),ie}_getMatchData(){return super._getMatchData(d,2)}_getTimeParts(){return this.timeParts||(this.timeParts=super._getTimeParts(this._getMatchData())),this.timeParts}}return $.checkString=function(z){let G=new $(z);return G._getMatchData()||(G=null),G},$._timeUnitToDatePrecision={hour:0,minute:1,second:2,millisecond:3},$._datePrecisionToTimeUnit=["hour","minute","second","millisecond"],$})();function C($,z){var G=$;return 3===z&&$<100&&(G="0"+$),$<10&&(G="0"+G),G}g.isoDateTime=function($,z){void 0===z&&(z=6);var G=""+$.getFullYear();if(z>0&&(G+="-"+C($.getMonth()+1),z>1&&(G+="-"+C($.getDate()),z>2&&(G+="T"+C($.getHours()),z>3&&(G+=":"+C($.getMinutes()),z>4&&(G+=":"+C($.getSeconds()),$.getMilliseconds()&&(G+="."+C($.getMilliseconds(),3))))))),z>2){var X=$.getTimezoneOffset(),Q=X<0?"+":"-",q=(X=Math.abs(X))%60;G+=Q+C((X-q)/60)+":"+C(q)}return G},g.isoDate=function($,z){return(void 0===z||z>2)&&(z=2),g.isoDateTime($,z)};class P{constructor(z,G,X){z.resourceType&&(G=z.resourceType),this.path=G,this.data=function($,z){return"Quantity"===z&&"http://unitsofmeasure.org"===$.system&&"number"==typeof $.value&&"string"==typeof $.code&&($=new y($.value,y.mapUCUMCodeToTimeUnits[$.code]||"'"+$.code+"'")),$}(z,G),this._data=X||{}}getTypeInfo(){const z=D.FHIR;return-1===this.path.indexOf(".")?new D({namespace:z,name:this.path}):D.createByValueInNamespace({namespace:z,value:this.data})}toJSON(){return JSON.stringify(this.data)}}P.makeResNode=function($,z,G){return $ instanceof P?$:new P($,z,G)};let D=(()=>{class ${constructor({name:G,namespace:X}){this.name=G,this.namespace=X}is(G){return G instanceof $&&this.name===G.name&&(!this.namespace||!G.namespace||this.namespace===G.namespace)}}return $.System="System",$.FHIR="FHIR",$.createByValueInNamespace=function({namespace:z,value:G}){let X=typeof G;return Number.isInteger(G)?X="integer":"number"===X?X="decimal":G instanceof g?X="dateTime":G instanceof s?X="time":G instanceof y&&(X="Quantity"),z===$.System&&(X=X.replace(/^\w/,Q=>Q.toUpperCase())),new $({namespace:z,name:X})},$.fromValue=function(z){return z instanceof P?z.getTypeInfo():$.createByValueInNamespace({namespace:$.System,value:z})},$})();he.exports={FP_Type:p,FP_TimeBase:h,FP_DateTime:g,FP_Time:s,FP_Quantity:y,timeRE:d,dateTimeRE:m,ResourceNode:P,TypeInfo:D,typeFn:function($){return $.map(z=>D.fromValue(z))},isFn:function($,z){if(0===$.length)return[];if($.length>1)throw new Error("Expected singleton on left side of is, got "+JSON.stringify($));return D.fromValue($[0]).is(z)}}},4569:(he,A,o)=>{var n={},l=o(2563);let{ResourceNode:u}=l;n.raiseError=function(c,r){throw(r=r?r+": ":"")+c},n.assertAtMostOne=function(c,r){c.length>1&&n.raiseError("Was expecting no more than one element but got "+JSON.stringify(c),r)},n.assertType=function(c,r,d){let m=this.valData(c);if(r.indexOf(typeof m)<0){let p=r.length>1?"one of "+r.join(", "):r[0];n.raiseError("Found type '"+typeof c+"' but was expecting "+p,d)}return m},n.isEmpty=function(c){return Array.isArray(c)&&0==c.length},n.isSome=function(c){return null!=c&&!n.isEmpty(c)},n.isTrue=function(c){return null!=c&&(!0===c||1==c.length&&!0===c[0])},n.isFalse=function(c){return null!=c&&(!1===c||1==c.length&&!1===c[0])},n.isCapitalized=function(c){return c&&c[0]===c[0].toUpperCase()},n.flatten=function(c){return c.reduce(function(r,d){return Array.isArray(d)?r=r.concat(d):r.push(d),r},[])},n.arraify=function(c){return Array.isArray(c)?c:n.isSome(c)?[c]:[]},n.valData=function(c){return c instanceof u?c.data:c},n.escapeStringForRegExp=function(c){return c.replace(/[-[\]{}()*+?.,\\/^$|#\s]/g,"\\$&")},he.exports=n},4770:he=>{"use strict";he.exports=function(A,o){for(var n={},l=Object.keys(A),u=Array.isArray(o),c=0;c{function A(Ge){return Ge instanceof Map?Ge.clear=Ge.delete=Ge.set=function(){throw new Error("map is read-only")}:Ge instanceof Set&&(Ge.add=Ge.clear=Ge.delete=function(){throw new Error("set is read-only")}),Object.freeze(Ge),Object.getOwnPropertyNames(Ge).forEach(function(lt){var Ot=Ge[lt];"object"==typeof Ot&&!Object.isFrozen(Ot)&&A(Ot)}),Ge}var o=A;o.default=A;class l{constructor(lt){void 0===lt.data&&(lt.data={}),this.data=lt.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function u(Ge){return Ge.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function c(Ge,...lt){const Ot=Object.create(null);for(const Nt in Ge)Ot[Nt]=Ge[Nt];return lt.forEach(function(Nt){for(const Pe in Nt)Ot[Pe]=Nt[Pe]}),Ot}const d=Ge=>!!Ge.kind;class m{constructor(lt,Ot){this.buffer="",this.classPrefix=Ot.classPrefix,lt.walk(this)}addText(lt){this.buffer+=u(lt)}openNode(lt){if(!d(lt))return;let Ot=lt.kind;lt.sublanguage||(Ot=`${this.classPrefix}${Ot}`),this.span(Ot)}closeNode(lt){!d(lt)||(this.buffer+="")}value(){return this.buffer}span(lt){this.buffer+=``}}class p{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(lt){this.top.children.push(lt)}openNode(lt){const Ot={kind:lt,children:[]};this.add(Ot),this.stack.push(Ot)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(lt){return this.constructor._walk(lt,this.rootNode)}static _walk(lt,Ot){return"string"==typeof Ot?lt.addText(Ot):Ot.children&&(lt.openNode(Ot),Ot.children.forEach(Nt=>this._walk(lt,Nt)),lt.closeNode(Ot)),lt}static _collapse(lt){"string"!=typeof lt&&(!lt.children||(lt.children.every(Ot=>"string"==typeof Ot)?lt.children=[lt.children.join("")]:lt.children.forEach(Ot=>{p._collapse(Ot)})))}}class y extends p{constructor(lt){super(),this.options=lt}addKeyword(lt,Ot){""!==lt&&(this.openNode(Ot),this.addText(lt),this.closeNode())}addText(lt){""!==lt&&this.add(lt)}addSublanguage(lt,Ot){const Nt=lt.root;Nt.kind=Ot,Nt.sublanguage=!0,this.add(Nt)}toHTML(){return new m(this,this.options).value()}finalize(){return!0}}function h(Ge){return Ge?"string"==typeof Ge?Ge:Ge.source:null}const w=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,Y="[a-zA-Z]\\w*",$="[a-zA-Z_]\\w*",z="\\b\\d+(\\.\\d+)?",G="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",X="\\b(0b[01]+)",ue={begin:"\\\\[\\s\\S]",relevance:0},me={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[ue]},xe={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[ue]},pe={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/},oe=function(Ge,lt,Ot={}){const Nt=c({className:"comment",begin:Ge,end:lt,contains:[]},Ot);return Nt.contains.push(pe),Nt.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),Nt},ae=oe("//","$"),U=oe("/\\*","\\*/"),ie=oe("#","$");var Qe=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:Y,UNDERSCORE_IDENT_RE:$,NUMBER_RE:z,C_NUMBER_RE:G,BINARY_NUMBER_RE:X,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(Ge={})=>{const lt=/^#![ ]*\//;return Ge.binary&&(Ge.begin=function(...Ge){return Ge.map(Ot=>h(Ot)).join("")}(lt,/.*\b/,Ge.binary,/\b.*/)),c({className:"meta",begin:lt,end:/$/,relevance:0,"on:begin":(Ot,Nt)=>{0!==Ot.index&&Nt.ignoreMatch()}},Ge)},BACKSLASH_ESCAPE:ue,APOS_STRING_MODE:me,QUOTE_STRING_MODE:xe,PHRASAL_WORDS_MODE:pe,COMMENT:oe,C_LINE_COMMENT_MODE:ae,C_BLOCK_COMMENT_MODE:U,HASH_COMMENT_MODE:ie,NUMBER_MODE:{className:"number",begin:z,relevance:0},C_NUMBER_MODE:{className:"number",begin:G,relevance:0},BINARY_NUMBER_MODE:{className:"number",begin:X,relevance:0},CSS_NUMBER_MODE:{className:"number",begin:z+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[ue,{begin:/\[/,end:/\]/,relevance:0,contains:[ue]}]}]},TITLE_MODE:{className:"title",begin:Y,relevance:0},UNDERSCORE_TITLE_MODE:{className:"title",begin:$,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+$,relevance:0},END_SAME_AS_BEGIN:function(Ge){return Object.assign(Ge,{"on:begin":(lt,Ot)=>{Ot.data._beginMatch=lt[1]},"on:end":(lt,Ot)=>{Ot.data._beginMatch!==lt[1]&&Ot.ignoreMatch()}})}});function ct(Ge,lt){"."===Ge.input[Ge.index-1]&<.ignoreMatch()}function bt(Ge,lt){!lt||!Ge.beginKeywords||(Ge.begin="\\b("+Ge.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Ge.__beforeBegin=ct,Ge.keywords=Ge.keywords||Ge.beginKeywords,delete Ge.beginKeywords,void 0===Ge.relevance&&(Ge.relevance=0))}function Et(Ge,lt){!Array.isArray(Ge.illegal)||(Ge.illegal=function(...Ge){return"("+Ge.map(Ot=>h(Ot)).join("|")+")"}(...Ge.illegal))}function xt(Ge,lt){if(Ge.match){if(Ge.begin||Ge.end)throw new Error("begin & end are not supported with match");Ge.begin=Ge.match,delete Ge.match}}function dt(Ge,lt){void 0===Ge.relevance&&(Ge.relevance=1)}const Ne=["of","and","for","in","not","or","if","then","parent","list","value"];function ze(Ge,lt,Ot="keyword"){const Nt={};return"string"==typeof Ge?Pe(Ot,Ge.split(" ")):Array.isArray(Ge)?Pe(Ot,Ge):Object.keys(Ge).forEach(function(Ee){Object.assign(Nt,ze(Ge[Ee],lt,Ee))}),Nt;function Pe(Ee,B){lt&&(B=B.map(V=>V.toLowerCase())),B.forEach(function(V){const be=V.split("|");Nt[be[0]]=[Ee,yt(be[0],be[1])]})}}function yt(Ge,lt){return lt?Number(lt):function(Ge){return Ne.includes(Ge.toLowerCase())}(Ge)?0:1}function _e(Ge,{}){function Ot(V,be){return new RegExp(h(V),"m"+(Ge.case_insensitive?"i":"")+(be?"g":""))}class Nt{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(be,je){je.position=this.position++,this.matchIndexes[this.matchAt]=je,this.regexes.push([je,be]),this.matchAt+=function(Ge){return new RegExp(Ge.toString()+"|").exec("").length-1}(be)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const be=this.regexes.map(je=>je[1]);this.matcherRe=Ot(function(Ge,lt="|"){let Ot=0;return Ge.map(Nt=>{Ot+=1;const Pe=Ot;let Ee=h(Nt),B="";for(;Ee.length>0;){const V=w.exec(Ee);if(!V){B+=Ee;break}B+=Ee.substring(0,V.index),Ee=Ee.substring(V.index+V[0].length),"\\"===V[0][0]&&V[1]?B+="\\"+String(Number(V[1])+Pe):(B+=V[0],"("===V[0]&&Ot++)}return B}).map(Nt=>`(${Nt})`).join(lt)}(be),!0),this.lastIndex=0}exec(be){this.matcherRe.lastIndex=this.lastIndex;const je=this.matcherRe.exec(be);if(!je)return null;const Ct=je.findIndex(($t,vn)=>vn>0&&void 0!==$t),Ht=this.matchIndexes[Ct];return je.splice(0,Ct),Object.assign(je,Ht)}}class Pe{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(be){if(this.multiRegexes[be])return this.multiRegexes[be];const je=new Nt;return this.rules.slice(be).forEach(([Ct,Ht])=>je.addRule(Ct,Ht)),je.compile(),this.multiRegexes[be]=je,je}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(be,je){this.rules.push([be,je]),"begin"===je.type&&this.count++}exec(be){const je=this.getMatcher(this.regexIndex);je.lastIndex=this.lastIndex;let Ct=je.exec(be);if(this.resumingScanAtSamePosition()&&(!Ct||Ct.index!==this.lastIndex)){const Ht=this.getMatcher(0);Ht.lastIndex=this.lastIndex+1,Ct=Ht.exec(be)}return Ct&&(this.regexIndex+=Ct.position+1,this.regexIndex===this.count&&this.considerAll()),Ct}}if(Ge.compilerExtensions||(Ge.compilerExtensions=[]),Ge.contains&&Ge.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Ge.classNameAliases=c(Ge.classNameAliases||{}),function B(V,be){const je=V;if(V.isCompiled)return je;[xt].forEach(Ht=>Ht(V,be)),Ge.compilerExtensions.forEach(Ht=>Ht(V,be)),V.__beforeBegin=null,[bt,Et,dt].forEach(Ht=>Ht(V,be)),V.isCompiled=!0;let Ct=null;if("object"==typeof V.keywords&&(Ct=V.keywords.$pattern,delete V.keywords.$pattern),V.keywords&&(V.keywords=ze(V.keywords,Ge.case_insensitive)),V.lexemes&&Ct)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return Ct=Ct||V.lexemes||/\w+/,je.keywordPatternRe=Ot(Ct,!0),be&&(V.begin||(V.begin=/\B|\b/),je.beginRe=Ot(V.begin),V.endSameAsBegin&&(V.end=V.begin),!V.end&&!V.endsWithParent&&(V.end=/\B|\b/),V.end&&(je.endRe=Ot(V.end)),je.terminatorEnd=h(V.end)||"",V.endsWithParent&&be.terminatorEnd&&(je.terminatorEnd+=(V.end?"|":"")+be.terminatorEnd)),V.illegal&&(je.illegalRe=Ot(V.illegal)),V.contains||(V.contains=[]),V.contains=[].concat(...V.contains.map(function(Ht){return function(Ge){return Ge.variants&&!Ge.cachedVariants&&(Ge.cachedVariants=Ge.variants.map(function(lt){return c(Ge,{variants:null},lt)})),Ge.cachedVariants?Ge.cachedVariants:Z(Ge)?c(Ge,{starts:Ge.starts?c(Ge.starts):null}):Object.isFrozen(Ge)?c(Ge):Ge}("self"===Ht?V:Ht)})),V.contains.forEach(function(Ht){B(Ht,je)}),V.starts&&B(V.starts,be),je.matcher=function(V){const be=new Pe;return V.contains.forEach(je=>be.addRule(je.begin,{rule:je,type:"begin"})),V.terminatorEnd&&be.addRule(V.terminatorEnd,{type:"end"}),V.illegal&&be.addRule(V.illegal,{type:"illegal"}),be}(je),je}(Ge)}function Z(Ge){return!!Ge&&(Ge.endsWithParent||Z(Ge.starts))}function N(Ge){const lt={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!Ge.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,u(this.code);let Nt={};return this.autoDetect?(Nt=Ge.highlightAuto(this.code),this.detectedLanguage=Nt.language):(Nt=Ge.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),Nt.value},autoDetect(){return!this.language||function(Ge){return Boolean(Ge||""===Ge)}(this.autodetect)},ignoreIllegals:()=>!0},render(Nt){return Nt("pre",{},[Nt("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:lt,VuePlugin:{install(Nt){Nt.component("highlightjs",lt)}}}}const ce={"after:highlightElement":({el:Ge,result:lt,text:Ot})=>{const Nt=Oe(Ge);if(!Nt.length)return;const Pe=document.createElement("div");Pe.innerHTML=lt.value,lt.value=function(Ge,lt,Ot){let Nt=0,Pe="";const Ee=[];function B(){return Ge.length&<.length?Ge[0].offset!==lt[0].offset?Ge[0].offset"}function be(Ct){Pe+=""}function je(Ct){("start"===Ct.event?V:be)(Ct.node)}for(;Ge.length||lt.length;){let Ct=B();if(Pe+=u(Ot.substring(Nt,Ct[0].offset)),Nt=Ct[0].offset,Ct===Ge){Ee.reverse().forEach(be);do{je(Ct.splice(0,1)[0]),Ct=B()}while(Ct===Ge&&Ct.length&&Ct[0].offset===Nt);Ee.reverse().forEach(V)}else"start"===Ct[0].event?Ee.push(Ct[0].node):Ee.pop(),je(Ct.splice(0,1)[0])}return Pe+u(Ot.substr(Nt))}(Nt,Oe(Pe),Ot)}};function Ue(Ge){return Ge.nodeName.toLowerCase()}function Oe(Ge){const lt=[];return function Ot(Nt,Pe){for(let Ee=Nt.firstChild;Ee;Ee=Ee.nextSibling)3===Ee.nodeType?Pe+=Ee.nodeValue.length:1===Ee.nodeType&&(lt.push({event:"start",offset:Pe,node:Ee}),Pe=Ot(Ee,Pe),Ue(Ee).match(/br|hr|img|input/)||lt.push({event:"stop",offset:Pe,node:Ee}));return Pe}(Ge,0),lt}const Ae={},nt=Ge=>{console.error(Ge)},Pt=(Ge,...lt)=>{console.log(`WARN: ${Ge}`,...lt)},Ft=(Ge,lt)=>{Ae[`${Ge}/${lt}`]||(console.log(`Deprecated as of ${Ge}. ${lt}`),Ae[`${Ge}/${lt}`]=!0)},gt=u,Lt=c,$e=Symbol("nomatch");var Mt=function(Ge){const lt=Object.create(null),Ot=Object.create(null),Nt=[];let Pe=!0;const Ee=/(^(<[^>]+>|\t|)+|\n)/gm,B="Could not find the language '{}', did you forget to load/include a language module?",V={disableAutodetect:!0,name:"Plain text",contains:[]};let be={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:y};function je(It){return be.noHighlightRe.test(It)}function Ht(It,Rt,Yt,Zt){let Mn="",Tn="";"object"==typeof Rt?(Mn=It,Yt=Rt.ignoreIllegals,Tn=Rt.language,Zt=void 0):(Ft("10.7.0","highlight(lang, code, ...args) has been deprecated."),Ft("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),Tn=It,Mn=Rt);const wn={code:Mn,language:Tn};ke("before:highlight",wn);const Bn=wn.result?wn.result:$t(wn.language,wn.code,Yt,Zt);return Bn.code=wn.code,ke("after:highlight",Bn),Bn}function $t(It,Rt,Yt,Zt){function Mn(nn,an){const gn=_i.case_insensitive?an[0].toLowerCase():an[0];return Object.prototype.hasOwnProperty.call(nn.keywords,gn)&&nn.keywords[gn]}function Bn(){null!=mn.subLanguage?function(){if(""===xn)return;let nn=null;if("string"==typeof mn.subLanguage){if(!lt[mn.subLanguage])return void Fn.addText(xn);nn=$t(mn.subLanguage,xn,!0,Qi[mn.subLanguage]),Qi[mn.subLanguage]=nn.top}else nn=it(xn,mn.subLanguage.length?mn.subLanguage:null);mn.relevance>0&&(Ii+=nn.relevance),Fn.addSublanguage(nn.emitter,nn.language)}():function(){if(!mn.keywords)return void Fn.addText(xn);let nn=0;mn.keywordPatternRe.lastIndex=0;let an=mn.keywordPatternRe.exec(xn),gn="";for(;an;){gn+=xn.substring(nn,an.index);const Sn=Mn(mn,an);if(Sn){const[oi,mi]=Sn;Fn.addText(gn),gn="",Ii+=mi,oi.startsWith("_")?gn+=an[0]:Fn.addKeyword(an[0],_i.classNameAliases[oi]||oi)}else gn+=an[0];nn=mn.keywordPatternRe.lastIndex,an=mn.keywordPatternRe.exec(xn)}gn+=xn.substr(nn),Fn.addText(gn)}(),xn=""}function An(nn){return nn.className&&Fn.openNode(_i.classNameAliases[nn.className]||nn.className),mn=Object.create(nn,{parent:{value:mn}}),mn}function kn(nn,an,gn){let Sn=function(Ge,lt){const Ot=Ge&&Ge.exec(lt);return Ot&&0===Ot.index}(nn.endRe,gn);if(Sn){if(nn["on:end"]){const oi=new l(nn);nn["on:end"](an,oi),oi.isMatchIgnored&&(Sn=!1)}if(Sn){for(;nn.endsParent&&nn.parent;)nn=nn.parent;return nn}}if(nn.endsWithParent)return kn(nn.parent,an,gn)}function bn(nn){return 0===mn.matcher.regexIndex?(xn+=nn[0],1):(Wi=!0,0)}function Oi(nn){const an=nn[0],gn=Rt.substr(nn.index),Sn=kn(mn,nn,gn);if(!Sn)return $e;const oi=mn;oi.skip?xn+=an:(oi.returnEnd||oi.excludeEnd||(xn+=an),Bn(),oi.excludeEnd&&(xn=an));do{mn.className&&Fn.closeNode(),!mn.skip&&!mn.subLanguage&&(Ii+=mn.relevance),mn=mn.parent}while(mn!==Sn.parent);return Sn.starts&&(Sn.endSameAsBegin&&(Sn.starts.endRe=Sn.endRe),An(Sn.starts)),oi.returnEnd?0:an.length}let Xn={};function Ri(nn,an){const gn=an&&an[0];if(xn+=nn,null==gn)return Bn(),0;if("begin"===Xn.type&&"end"===an.type&&Xn.index===an.index&&""===gn){if(xn+=Rt.slice(an.index,an.index+1),!Pe){const Sn=new Error("0 width match regex");throw Sn.languageName=It,Sn.badRule=Xn.rule,Sn}return 1}if(Xn=an,"begin"===an.type)return function(nn){const an=nn[0],gn=nn.rule,Sn=new l(gn),oi=[gn.__beforeBegin,gn["on:begin"]];for(const mi of oi)if(mi&&(mi(nn,Sn),Sn.isMatchIgnored))return bn(an);return gn&&gn.endSameAsBegin&&(gn.endRe=function(Ge){return new RegExp(Ge.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(an)),gn.skip?xn+=an:(gn.excludeBegin&&(xn+=an),Bn(),!gn.returnBegin&&!gn.excludeBegin&&(xn=an)),An(gn),gn.returnBegin?0:an.length}(an);if("illegal"===an.type&&!Yt){const Sn=new Error('Illegal lexeme "'+gn+'" for mode "'+(mn.className||"")+'"');throw Sn.mode=mn,Sn}if("end"===an.type){const Sn=Oi(an);if(Sn!==$e)return Sn}if("illegal"===an.type&&""===gn)return 1;if(ir>1e5&&ir>3*an.index)throw new Error("potential infinite loop, way more iterations than matches");return xn+=gn,gn.length}const _i=Xe(It);if(!_i)throw nt(B.replace("{}",It)),new Error('Unknown language: "'+It+'"');const bi=_e(_i,{plugins:Nt});let si="",mn=Zt||bi;const Qi={},Fn=new be.__emitter(be);!function(){const nn=[];for(let an=mn;an!==_i;an=an.parent)an.className&&nn.unshift(an.className);nn.forEach(an=>Fn.openNode(an))}();let xn="",Ii=0,wi=0,ir=0,Wi=!1;try{for(mn.matcher.considerAll();;){ir++,Wi?Wi=!1:mn.matcher.considerAll(),mn.matcher.lastIndex=wi;const nn=mn.matcher.exec(Rt);if(!nn)break;const gn=Ri(Rt.substring(wi,nn.index),nn);wi=nn.index+gn}return Ri(Rt.substr(wi)),Fn.closeAllNodes(),Fn.finalize(),si=Fn.toHTML(),{relevance:Math.floor(Ii),value:si,language:It,illegal:!1,emitter:Fn,top:mn}}catch(nn){if(nn.message&&nn.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:nn.message,context:Rt.slice(wi-100,wi+100),mode:nn.mode},sofar:si,relevance:0,value:gt(Rt),emitter:Fn};if(Pe)return{illegal:!1,relevance:0,value:gt(Rt),emitter:Fn,language:It,top:mn,errorRaised:nn};throw nn}}function it(It,Rt){Rt=Rt||be.languages||Object.keys(lt);const Yt=function(It){const Rt={relevance:0,emitter:new be.__emitter(be),value:gt(It),illegal:!1,top:V};return Rt.emitter.addText(It),Rt}(It),Zt=Rt.filter(Xe).filter(Re).map(An=>$t(An,It,!1));Zt.unshift(Yt);const Mn=Zt.sort((An,kn)=>{if(An.relevance!==kn.relevance)return kn.relevance-An.relevance;if(An.language&&kn.language){if(Xe(An.language).supersetOf===kn.language)return 1;if(Xe(kn.language).supersetOf===An.language)return-1}return 0}),[Tn,wn]=Mn,Bn=Tn;return Bn.second_best=wn,Bn}const ut={"before:highlightElement":({el:It})=>{be.useBR&&(It.innerHTML=It.innerHTML.replace(/\n/g,"").replace(//g,"\n"))},"after:highlightElement":({result:It})=>{be.useBR&&(It.value=It.value.replace(/\n/g,"
"))}},At=/^(<[^>]+>|\t)+/gm,Xt={"after:highlightElement":({result:It})=>{be.tabReplace&&(It.value=It.value.replace(At,Rt=>Rt.replace(/\t/g,be.tabReplace)))}};function Jt(It){let Rt=null;const Yt=function(It){let Rt=It.className+" ";Rt+=It.parentNode?It.parentNode.className:"";const Yt=be.languageDetectRe.exec(Rt);if(Yt){const Zt=Xe(Yt[1]);return Zt||(Pt(B.replace("{}",Yt[1])),Pt("Falling back to no-highlight mode for this block.",It)),Zt?Yt[1]:"no-highlight"}return Rt.split(/\s+/).find(Zt=>je(Zt)||Xe(Zt))}(It);if(je(Yt))return;ke("before:highlightElement",{el:It,language:Yt}),Rt=It;const Zt=Rt.textContent,Mn=Yt?Ht(Zt,{language:Yt,ignoreIllegals:!0}):it(Zt);ke("after:highlightElement",{el:It,result:Mn,text:Zt}),It.innerHTML=Mn.value,function(It,Rt,Yt){const Zt=Rt?Ot[Rt]:Yt;It.classList.add("hljs"),Zt&&It.classList.add(Zt)}(It,Yt,Mn.language),It.result={language:Mn.language,re:Mn.relevance,relavance:Mn.relevance},Mn.second_best&&(It.second_best={language:Mn.second_best.language,re:Mn.second_best.relevance,relavance:Mn.second_best.relevance})}const Rn=()=>{Rn.called||(Rn.called=!0,Ft("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(Jt))};let ti=!1;function pi(){"loading"!==document.readyState?document.querySelectorAll("pre code").forEach(Jt):ti=!0}function Xe(It){return It=(It||"").toLowerCase(),lt[It]||lt[Ot[It]]}function J(It,{languageName:Rt}){"string"==typeof It&&(It=[It]),It.forEach(Yt=>{Ot[Yt.toLowerCase()]=Rt})}function Re(It){const Rt=Xe(It);return Rt&&!Rt.disableAutodetect}function ke(It,Rt){const Yt=It;Nt.forEach(function(Zt){Zt[Yt]&&Zt[Yt](Rt)})}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function(){ti&&pi()},!1),Object.assign(Ge,{highlight:Ht,highlightAuto:it,highlightAll:pi,fixMarkup:function(It){return Ft("10.2.0","fixMarkup will be removed entirely in v11.0"),Ft("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function(It){return be.tabReplace||be.useBR?It.replace(Ee,Rt=>"\n"===Rt?be.useBR?"
":Rt:be.tabReplace?Rt.replace(/\t/g,be.tabReplace):Rt):It}(It)},highlightElement:Jt,highlightBlock:function(It){return Ft("10.7.0","highlightBlock will be removed entirely in v12.0"),Ft("10.7.0","Please use highlightElement now."),Jt(It)},configure:function(It){It.useBR&&(Ft("10.3.0","'useBR' will be removed entirely in v11.0"),Ft("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),be=Lt(be,It)},initHighlighting:Rn,initHighlightingOnLoad:function(){Ft("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),ti=!0},registerLanguage:function(It,Rt){let Yt=null;try{Yt=Rt(Ge)}catch(Zt){if(nt("Language definition for '{}' could not be registered.".replace("{}",It)),!Pe)throw Zt;nt(Zt),Yt=V}Yt.name||(Yt.name=It),lt[It]=Yt,Yt.rawDefinition=Rt.bind(null,Ge),Yt.aliases&&J(Yt.aliases,{languageName:It})},unregisterLanguage:function(It){delete lt[It];for(const Rt of Object.keys(Ot))Ot[Rt]===It&&delete Ot[Rt]},listLanguages:function(){return Object.keys(lt)},getLanguage:Xe,registerAliases:J,requireLanguage:function(It){Ft("10.4.0","requireLanguage will be removed entirely in v11."),Ft("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const Rt=Xe(It);if(Rt)return Rt;throw new Error("The '{}' language is required, but not loaded.".replace("{}",It))},autoDetection:Re,inherit:Lt,addPlugin:function(It){(function(It){It["before:highlightBlock"]&&!It["before:highlightElement"]&&(It["before:highlightElement"]=Rt=>{It["before:highlightBlock"](Object.assign({block:Rt.el},Rt))}),It["after:highlightBlock"]&&!It["after:highlightElement"]&&(It["after:highlightElement"]=Rt=>{It["after:highlightBlock"](Object.assign({block:Rt.el},Rt))})})(It),Nt.push(It)},vuePlugin:N(Ge).VuePlugin}),Ge.debugMode=function(){Pe=!1},Ge.safeMode=function(){Pe=!0},Ge.versionString="10.7.2";for(const It in Qe)"object"==typeof Qe[It]&&o(Qe[It]);return Object.assign(Ge,Qe),Ge.addPlugin(ut),Ge.addPlugin(ce),Ge.addPlugin(Xt),Ge}({});he.exports=Mt},7652:he=>{he.exports=function(o){const n={literal:"true false null"},l=[o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE],u=[o.QUOTE_STRING_MODE,o.C_NUMBER_MODE],c={end:",",endsWithParent:!0,excludeEnd:!0,contains:u,keywords:n},r={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE],illegal:"\\n"},o.inherit(c,{begin:/:/})].concat(l),illegal:"\\S"},d={begin:"\\[",end:"\\]",contains:[o.inherit(c)],illegal:"\\S"};return u.push(r,d),l.forEach(function(m){u.push(m)}),{name:"JSON",contains:u,keywords:n,illegal:"\\S"}}},1891:he=>{function A(r){return r?"string"==typeof r?r:r.source:null}function o(r){return l("(?=",r,")")}function l(...r){return r.map(m=>A(m)).join("")}function u(...r){return"("+r.map(m=>A(m)).join("|")+")"}he.exports=function(r){const d=l(/[A-Z_]/,l("(",/[A-Z0-9_.-]*:/,")?"),/[A-Z0-9_.-]*/),p={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},y={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},b=r.inherit(y,{begin:/\(/,end:/\)/}),h=r.inherit(r.APOS_STRING_MODE,{className:"meta-string"}),g=r.inherit(r.QUOTE_STRING_MODE,{className:"meta-string"}),s={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[y,g,h,b,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[y,b,g,h]}]}]},r.COMMENT(//,{relevance:10}),{begin://,relevance:10},p,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[s],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[s],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:l(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:d,relevance:0,starts:s}]},{className:"tag",begin:l(/<\//,o(l(d,/>/))),contains:[{className:"name",begin:d,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},859:()=>{!function(he,A){"use strict";var pe,o="hljs-ln",l="hljs-ln-code",c="hljs-ln-n",r="data-line-number",d=/\r\n|\r|\n/g;function g(pe){try{var oe=A.querySelectorAll("code.hljs,code.nohighlight");for(var ae in oe)oe.hasOwnProperty(ae)&&(s(oe[ae])||C(oe[ae],pe))}catch(U){he.console.error("LineNumbers error: ",U)}}function s(pe){return pe.classList.contains("nohljsln")}function C(pe,oe){"object"==typeof pe&&function(pe){he.setTimeout(pe,0)}(function(){pe.innerHTML=w(pe,oe)})}function w(pe,oe){var ae=function(pe,oe){return{singleLine:Y(oe=oe||{}),startFrom:$(pe,oe)}}(pe,oe);return z(pe),function(pe,oe){var ae=X(pe);if(""===ae[ae.length-1].trim()&&ae.pop(),ae.length>1||oe.singleLine){for(var U="",ie=0,le=ae.length;ie
{6}',["hljs-ln-line","hljs-ln-numbers",c,r,l,ie+oe.startFrom,ae[ie].length>0?ae[ie]:" "]);return ue('{1}
',[o,U])}return pe}(pe.innerHTML,ae)}function Y(pe){return!!pe.singleLine&&pe.singleLine}function $(pe,oe){var U=1;isFinite(oe.startFrom)&&(U=oe.startFrom);var ie=function(pe,oe){return pe.hasAttribute(oe)?pe.getAttribute(oe):null}(pe,"data-ln-start-from");return null!==ie&&(U=function(pe,oe){if(!pe)return 1;var ae=Number(pe);return isFinite(ae)?ae:1}(ie)),U}function z(pe){var oe=pe.childNodes;for(var ae in oe)if(oe.hasOwnProperty(ae)){var U=oe[ae];Q(U.textContent)>0&&(U.childNodes.length>0?z(U):G(U.parentNode))}}function G(pe){var oe=pe.className;if(/hljs-/.test(oe)){for(var ae=X(pe.innerHTML),U=0,ie="";U{1}
\n',[oe,ae[U].length>0?ae[U]:" "]);pe.innerHTML=ie.trim()}}function X(pe){return 0===pe.length?[]:pe.split(d)}function Q(pe){return(pe.trim().match(d)||[]).length}function ue(pe,oe){return pe.replace(/\{(\d+)\}/g,function(ae,U){return void 0!==oe[U]?oe[U]:ae})}he.hljs?(he.hljs.initLineNumbersOnLoad=function(pe){"interactive"===A.readyState||"complete"===A.readyState?g(pe):he.addEventListener("DOMContentLoaded",function(){g(pe)})},he.hljs.lineNumbersBlock=C,he.hljs.lineNumbersValue=function(pe,oe){if("string"==typeof pe){var ae=document.createElement("code");return ae.innerHTML=pe,w(ae,oe)}},(pe=A.createElement("style")).type="text/css",pe.innerHTML=ue(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[o,c,r]),A.getElementsByTagName("head")[0].appendChild(pe)):he.console.error("highlight.js not detected!"),document.addEventListener("copy",function(pe){var ae,oe=window.getSelection();(function(pe){for(var oe=pe;oe;){if(oe.className&&-1!==oe.className.indexOf("hljs-ln-code"))return!0;oe=oe.parentNode}return!1})(oe.anchorNode)&&(ae=-1!==window.navigator.userAgent.indexOf("Edge")?function(pe){for(var oe=pe.toString(),ae=pe.anchorNode;"TD"!==ae.nodeName;)ae=ae.parentNode;for(var U=pe.focusNode;"TD"!==U.nodeName;)U=U.parentNode;var ie=parseInt(ae.dataset.lineNumber),le=parseInt(U.dataset.lineNumber);if(ie!=le){var Ce=ae.textContent,Te=U.textContent;if(ie>le){var Ke=ie;ie=le,le=Ke,Ke=Ce,Ce=Te,Te=Ke}for(;0!==oe.indexOf(Ce);)Ce=Ce.slice(1);for(;-1===oe.lastIndexOf(Te);)Te=Te.slice(0,-1);for(var tt=Ce,ot=function(pe){for(var oe=pe;"TABLE"!==oe.nodeName;)oe=oe.parentNode;return oe}(ae),pt=ie+1;pt{"use strict";he.exports=Number.isFinite||function(A){return!("number"!=typeof A||A!=A||A===1/0||A===-1/0)}},5984:(he,A,o)=>{var n=o(2327);he.exports=Number.isInteger||function(l){return"number"==typeof l&&n(l)&&Math.floor(l)===l}},642:(he,A)=>{function n(l,u){var c=[],r=[];return null==u&&(u=function(d,m){return c[0]===m?"[Circular ~]":"[Circular ~."+r.slice(0,c.indexOf(m)).join(".")+"]"}),function(d,m){if(c.length>0){var p=c.indexOf(this);~p?c.splice(p+1):c.push(this),~p?r.splice(p,1/0,d):r.push(d),~c.indexOf(m)&&(m=u.call(this,d,m))}else c.push(m);return null==l?m:l.call(this,d,m)}}(he.exports=function(l,u,c,r){return JSON.stringify(l,n(u,r),c)}).getSerialize=n},4366:he=>{var A=1e3,o=60*A,n=60*o,l=24*n;function m(p,y,b){if(!(p0)return function(p){if(!((p=String(p)).length>100)){var y=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(p);if(y){var b=parseFloat(y[1]);switch((y[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*b;case"days":case"day":case"d":return b*l;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*o;case"seconds":case"second":case"secs":case"sec":case"s":return b*A;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}(p);if("number"===b&&!1===isNaN(p))return y.long?function(p){return m(p,l,"day")||m(p,n,"hour")||m(p,o,"minute")||m(p,A,"second")||p+" ms"}(p):function(p){return p>=l?Math.round(p/l)+"d":p>=n?Math.round(p/n)+"h":p>=o?Math.round(p/o)+"m":p>=A?Math.round(p/A)+"s":p+"ms"}(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))}},2756:(he,A,o)=>{"use strict";o.r(A),o.d(A,{HIGHLIGHT_OPTIONS:()=>w,Highlight:()=>z,HighlightJS:()=>$,HighlightLoader:()=>D,HighlightModule:()=>G,\u02750:()=>Y});var n=o(5e3),l=o(591),u=o(8896),c=o(1737),r=o(1746),d=o(5254),m=o(352),p=o(2198),y=o(4850),b=o(2986),h=o(7545),g=o(2868),s=o(7221),C=o(9808),P=o(2313);const w=new n.InjectionToken("HIGHLIGHT_OPTIONS");let D=(()=>{class X{constructor(q,ue,me){this._options=me,this._ready=new l.X(null),this.ready=this._ready.asObservable().pipe((0,p.h)(xe=>!!xe),(0,y.U)(xe=>xe),(0,b.q)(1)),(0,C.isPlatformBrowser)(ue)&&q.defaultView.hljs?this._ready.next(q.defaultView.hljs):this._loadLibrary().pipe((0,h.w)(xe=>this._options&&this._options.lineNumbersLoader?(q.defaultView.hljs=xe,this.loadLineNumbers().pipe((0,g.b)(()=>this._ready.next(xe)))):(this._ready.next(xe),u.E)),(0,s.K)(xe=>(console.error("[HLJS] ",xe),u.E))).subscribe()}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,c._)("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,c._)("The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,c._)("The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,c._)("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)(q=>this._loadLanguages(q)))}return(0,c._)("Highlight.js library was not imported!")}_loadLanguages(q){const ue=Object.entries(this._options.languages).map(([me,xe])=>T(xe()).pipe((0,g.b)(pe=>q.registerLanguage(me,pe))));return(0,r.$R)(...ue).pipe((0,y.U)(()=>q))}loadCoreLibrary(){return T(this._options.coreLibraryLoader())}loadFullLibrary(){return T(this._options.fullLibraryLoader())}loadLineNumbers(){return T(this._options.lineNumbersLoader())}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275inject(C.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(w,8))},X.\u0275prov=(0,n.\u0275\u0275defineInjectable)({factory:function(){return new X((0,n.\u0275\u0275inject)(C.DOCUMENT),(0,n.\u0275\u0275inject)(n.PLATFORM_ID),(0,n.\u0275\u0275inject)(w,8))},token:X,providedIn:"root"}),X})();const T=X=>(0,d.D)(X).pipe((0,p.h)(Q=>!!Q&&!!Q.default),(0,y.U)(Q=>Q.default)),Y=T;let $=(()=>{class X{constructor(q,ue){this._loader=q,this._hljs=null,q.ready.pipe().subscribe(me=>{this._hljs=me,ue&&ue.config&&(me.configure(ue.config),me.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}get hljs(){return this._hljs}highlight(q,ue,me,xe){return this._loader.ready.pipe((0,y.U)(pe=>pe.highlight(q,ue,me,xe)))}highlightAuto(q,ue){return this._loader.ready.pipe((0,y.U)(me=>me.highlightAuto(q,ue)))}fixMarkup(q){return this._loader.ready.pipe((0,y.U)(ue=>ue.fixMarkup(q)))}highlightBlock(q){return this._loader.ready.pipe((0,y.U)(ue=>ue.highlightBlock(q)))}configure(q){return this._loader.ready.pipe((0,y.U)(ue=>ue.configure(q)))}initHighlighting(){return this._loader.ready.pipe((0,y.U)(q=>q.initHighlighting()))}registerLanguage(q,ue){return this._loader.ready.pipe((0,g.b)(me=>me.registerLanguage(q,ue)))}listLanguages(){return this._loader.ready.pipe((0,y.U)(q=>q.listLanguages()))}getLanguage(q){return this._loader.ready.pipe((0,y.U)(ue=>ue.getLanguage(q)))}lineNumbersBlock(q){return this._loader.ready.pipe((0,p.h)(ue=>!!ue.lineNumbersBlock),(0,g.b)(ue=>ue.lineNumbersBlock(q)))}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275inject(D),n.\u0275\u0275inject(w,8))},X.\u0275prov=(0,n.\u0275\u0275defineInjectable)({factory:function(){return new X((0,n.\u0275\u0275inject)(D),(0,n.\u0275\u0275inject)(w,8))},token:X,providedIn:"root"}),X})(),z=(()=>{class X{constructor(q,ue,me,xe){this._hljs=ue,this._sanitizer=me,this._options=xe,this.highlighted=new n.EventEmitter,this._nativeElement=q.nativeElement}ngOnChanges(q){this.code&&q.code&&void 0!==q.code.currentValue&&q.code.currentValue!==q.code.previousValue&&this.highlightElement(this.code,this.languages)}highlightElement(q,ue){this.setTextContent(q),this._hljs.highlightAuto(q,ue).subscribe(me=>{this.setInnerHTML(me.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(me)})}addLineNumbers(){this.destroyLineNumbersObserver(),m.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(q){m.Z.schedule(()=>this._nativeElement.textContent=q)}setInnerHTML(q){m.Z.schedule(()=>this._nativeElement.innerHTML=this._sanitizer.sanitize(n.SecurityContext.HTML,q)||"")}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject($),n.\u0275\u0275directiveInject(P.DomSanitizer),n.\u0275\u0275directiveInject(w,8))},X.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(q,ue){2&q&&n.\u0275\u0275classProp("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},features:[n.\u0275\u0275NgOnChangesFeature]}),X})(),G=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=n.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=n.\u0275\u0275defineInjector({}),X})()},2398:he=>{"use strict";const A="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;if(!A)throw new Error("Unable to find global scope. Are you sure this is running in the browser?");if(!A.AbortController)throw new Error('Could not find "AbortController" in the global scope. You need to polyfill it first');he.exports.AbortController=A.AbortController},3230:(he,A,o)=>{"use strict";const n=o(8372),l=o(2761),u=o(8951),c=o(4770),d=Symbol("encodeFragmentIdentifier");function y(T){if("string"!=typeof T||1!==T.length)throw new TypeError("arrayFormatSeparator must be single character string")}function b(T,Y){return Y.encode?Y.strict?n(T):encodeURIComponent(T):T}function h(T,Y){return Y.decode?l(T):T}function g(T){return Array.isArray(T)?T.sort():"object"==typeof T?g(Object.keys(T)).sort((Y,$)=>Number(Y)-Number($)).map(Y=>T[Y]):T}function s(T){const Y=T.indexOf("#");return-1!==Y&&(T=T.slice(0,Y)),T}function P(T){const Y=(T=s(T)).indexOf("?");return-1===Y?"":T.slice(Y+1)}function w(T,Y){return Y.parseNumbers&&!Number.isNaN(Number(T))&&"string"==typeof T&&""!==T.trim()?T=Number(T):Y.parseBooleans&&null!==T&&("true"===T.toLowerCase()||"false"===T.toLowerCase())&&(T="true"===T.toLowerCase()),T}function D(T,Y){y((Y=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},Y)).arrayFormatSeparator);const $=function(T){let Y;switch(T.arrayFormat){case"index":return($,z,G)=>{Y=/\[(\d*)\]$/.exec($),$=$.replace(/\[\d*\]$/,""),Y?(void 0===G[$]&&(G[$]={}),G[$][Y[1]]=z):G[$]=z};case"bracket":return($,z,G)=>{Y=/(\[\])$/.exec($),G[$=$.replace(/\[\]$/,"")]=Y?void 0!==G[$]?[].concat(G[$],z):[z]:z};case"colon-list-separator":return($,z,G)=>{Y=/(:list)$/.exec($),G[$=$.replace(/:list$/,"")]=Y?void 0!==G[$]?[].concat(G[$],z):[z]:z};case"comma":case"separator":return($,z,G)=>{const X="string"==typeof z&&z.includes(T.arrayFormatSeparator),Q="string"==typeof z&&!X&&h(z,T).includes(T.arrayFormatSeparator);z=Q?h(z,T):z;const q=X||Q?z.split(T.arrayFormatSeparator).map(ue=>h(ue,T)):null===z?z:h(z,T);G[$]=q};case"bracket-separator":return($,z,G)=>{const X=/(\[\])$/.test($);if($=$.replace(/\[\]$/,""),!X)return void(G[$]=z&&h(z,T));const Q=null===z?[]:z.split(T.arrayFormatSeparator).map(q=>h(q,T));G[$]=void 0!==G[$]?[].concat(G[$],Q):Q};default:return($,z,G)=>{G[$]=void 0!==G[$]?[].concat(G[$],z):z}}}(Y),z=Object.create(null);if("string"!=typeof T||!(T=T.trim().replace(/^[?#&]/,"")))return z;for(const G of T.split("&")){if(""===G)continue;let[X,Q]=u(Y.decode?G.replace(/\+/g," "):G,"=");Q=void 0===Q?null:["comma","separator","bracket-separator"].includes(Y.arrayFormat)?Q:h(Q,Y),$(h(X,Y),Q,z)}for(const G of Object.keys(z)){const X=z[G];if("object"==typeof X&&null!==X)for(const Q of Object.keys(X))X[Q]=w(X[Q],Y);else z[G]=w(X,Y)}return!1===Y.sort?z:(!0===Y.sort?Object.keys(z).sort():Object.keys(z).sort(Y.sort)).reduce((G,X)=>{const Q=z[X];return G[X]=Boolean(Q)&&"object"==typeof Q&&!Array.isArray(Q)?g(Q):Q,G},Object.create(null))}A.extract=P,A.parse=D,A.stringify=(T,Y)=>{if(!T)return"";y((Y=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},Y)).arrayFormatSeparator);const $=Q=>Y.skipNull&&(T=>null==T)(T[Q])||Y.skipEmptyString&&""===T[Q],z=function(T){switch(T.arrayFormat){case"index":return Y=>($,z)=>{const G=$.length;return void 0===z||T.skipNull&&null===z||T.skipEmptyString&&""===z?$:null===z?[...$,[b(Y,T),"[",G,"]"].join("")]:[...$,[b(Y,T),"[",b(G,T),"]=",b(z,T)].join("")]};case"bracket":return Y=>($,z)=>void 0===z||T.skipNull&&null===z||T.skipEmptyString&&""===z?$:null===z?[...$,[b(Y,T),"[]"].join("")]:[...$,[b(Y,T),"[]=",b(z,T)].join("")];case"colon-list-separator":return Y=>($,z)=>void 0===z||T.skipNull&&null===z||T.skipEmptyString&&""===z?$:null===z?[...$,[b(Y,T),":list="].join("")]:[...$,[b(Y,T),":list=",b(z,T)].join("")];case"comma":case"separator":case"bracket-separator":{const Y="bracket-separator"===T.arrayFormat?"[]=":"=";return $=>(z,G)=>void 0===G||T.skipNull&&null===G||T.skipEmptyString&&""===G?z:(G=null===G?"":G,0===z.length?[[b($,T),Y,b(G,T)].join("")]:[[z,b(G,T)].join(T.arrayFormatSeparator)])}default:return Y=>($,z)=>void 0===z||T.skipNull&&null===z||T.skipEmptyString&&""===z?$:null===z?[...$,b(Y,T)]:[...$,[b(Y,T),"=",b(z,T)].join("")]}}(Y),G={};for(const Q of Object.keys(T))$(Q)||(G[Q]=T[Q]);const X=Object.keys(G);return!1!==Y.sort&&X.sort(Y.sort),X.map(Q=>{const q=T[Q];return void 0===q?"":null===q?b(Q,Y):Array.isArray(q)?0===q.length&&"bracket-separator"===Y.arrayFormat?b(Q,Y)+"[]":q.reduce(z(Q),[]).join("&"):b(Q,Y)+"="+b(q,Y)}).filter(Q=>Q.length>0).join("&")},A.parseUrl=(T,Y)=>{Y=Object.assign({decode:!0},Y);const[$,z]=u(T,"#");return Object.assign({url:$.split("?")[0]||"",query:D(P(T),Y)},Y&&Y.parseFragmentIdentifier&&z?{fragmentIdentifier:h(z,Y)}:{})},A.stringifyUrl=(T,Y)=>{Y=Object.assign({encode:!0,strict:!0,[d]:!0},Y);const $=s(T.url).split("?")[0]||"",z=A.extract(T.url),G=A.parse(z,{sort:!1}),X=Object.assign(G,T.query);let Q=A.stringify(X,Y);Q&&(Q=`?${Q}`);let q=function(T){let Y="";const $=T.indexOf("#");return-1!==$&&(Y=T.slice($)),Y}(T.url);return T.fragmentIdentifier&&(q=`#${Y[d]?b(T.fragmentIdentifier,Y):T.fragmentIdentifier}`),`${$}${Q}${q}`},A.pick=(T,Y,$)=>{$=Object.assign({parseFragmentIdentifier:!0,[d]:!1},$);const{url:z,query:G,fragmentIdentifier:X}=A.parseUrl(T,$);return A.stringifyUrl({url:z,query:c(G,Y),fragmentIdentifier:X},$)},A.exclude=(T,Y,$)=>{const z=Array.isArray(Y)?G=>!Y.includes(G):(G,X)=>!Y(G,X);return A.pick(T,z,$)}},591:(he,A,o)=>{"use strict";o.d(A,{X:()=>u});var n=o(8929),l=o(5279);class u extends n.xQ{constructor(r){super(),this._value=r}get value(){return this.getValue()}_subscribe(r){const d=super._subscribe(r);return d&&!d.closed&&r.next(this._value),d}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new l.N;return this._value}next(r){super.next(this._value=r)}}},9312:(he,A,o)=>{"use strict";o.d(A,{P:()=>r});var n=o(8896),l=o(1086),u=o(1737);class r{constructor(m,p,y){this.kind=m,this.value=p,this.error=y,this.hasValue="N"===m}observe(m){switch(this.kind){case"N":return m.next&&m.next(this.value);case"E":return m.error&&m.error(this.error);case"C":return m.complete&&m.complete()}}do(m,p,y){switch(this.kind){case"N":return m&&m(this.value);case"E":return p&&p(this.error);case"C":return y&&y()}}accept(m,p,y){return m&&"function"==typeof m.next?this.observe(m):this.do(m,p,y)}toObservable(){switch(this.kind){case"N":return(0,l.of)(this.value);case"E":return(0,u._)(this.error);case"C":return(0,n.c)()}throw new Error("unexpected notification kind value")}static createNext(m){return void 0!==m?new r("N",m):r.undefinedValueNotification}static createError(m){return new r("E",void 0,m)}static createComplete(){return r.completeNotification}}r.completeNotification=new r("C"),r.undefinedValueNotification=new r("N",void 0)},6498:(he,A,o)=>{"use strict";o.d(A,{y:()=>y});var n=o(3489),u=o(7668),c=o(3292),d=o(3821),m=o(4843),p=o(2830);let y=(()=>{class h{constructor(s){this._isScalar=!1,s&&(this._subscribe=s)}lift(s){const C=new h;return C.source=this,C.operator=s,C}subscribe(s,C,P){const{operator:w}=this,D=function(h,g,s){if(h){if(h instanceof n.L)return h;if(h[u.b])return h[u.b]()}return h||g||s?new n.L(h,g,s):new n.L(c.c)}(s,C,P);if(D.add(w?w.call(D,this.source):this.source||p.v.useDeprecatedSynchronousErrorHandling&&!D.syncErrorThrowable?this._subscribe(D):this._trySubscribe(D)),p.v.useDeprecatedSynchronousErrorHandling&&D.syncErrorThrowable&&(D.syncErrorThrowable=!1,D.syncErrorThrown))throw D.syncErrorValue;return D}_trySubscribe(s){try{return this._subscribe(s)}catch(C){p.v.useDeprecatedSynchronousErrorHandling&&(s.syncErrorThrown=!0,s.syncErrorValue=C),function(h){for(;h;){const{closed:g,destination:s,isStopped:C}=h;if(g||C)return!1;h=s&&s instanceof n.L?s:null}return!0}(s)?s.error(C):console.warn(C)}}forEach(s,C){return new(C=b(C))((P,w)=>{let D;D=this.subscribe(T=>{try{s(T)}catch(Y){w(Y),D&&D.unsubscribe()}},w,P)})}_subscribe(s){const{source:C}=this;return C&&C.subscribe(s)}[d.L](){return this}pipe(...s){return 0===s.length?this:(0,m.U)(s)(this)}toPromise(s){return new(s=b(s))((C,P)=>{let w;this.subscribe(D=>w=D,D=>P(D),()=>C(w))})}}return h.create=g=>new h(g),h})();function b(h){if(h||(h=p.v.Promise||Promise),!h)throw new Error("no Promise impl found");return h}},3292:(he,A,o)=>{"use strict";o.d(A,{c:()=>u});var n=o(2830),l=o(2782);const u={closed:!0,next(c){},error(c){if(n.v.useDeprecatedSynchronousErrorHandling)throw c;(0,l.z)(c)},complete(){}}},826:(he,A,o)=>{"use strict";o.d(A,{L:()=>l});var n=o(3489);class l extends n.L{notifyNext(c,r,d,m,p){this.destination.next(r)}notifyError(c,r){this.destination.error(c)}notifyComplete(c){this.destination.complete()}}},8929:(he,A,o)=>{"use strict";o.d(A,{Yc:()=>m,xQ:()=>p});var n=o(6498),l=o(3489),u=o(2654),c=o(5279),r=o(5283),d=o(7668);class m extends l.L{constructor(h){super(h),this.destination=h}}let p=(()=>{class b extends n.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[d.b](){return new m(this)}lift(g){const s=new y(this,this);return s.operator=g,s}next(g){if(this.closed)throw new c.N;if(!this.isStopped){const{observers:s}=this,C=s.length,P=s.slice();for(let w=0;wnew y(h,g),b})();class y extends p{constructor(h,g){super(),this.destination=h,this.source=g}next(h){const{destination:g}=this;g&&g.next&&g.next(h)}error(h){const{destination:g}=this;g&&g.error&&this.destination.error(h)}complete(){const{destination:h}=this;h&&h.complete&&this.destination.complete()}_subscribe(h){const{source:g}=this;return g?this.source.subscribe(h):u.w.EMPTY}}},5283:(he,A,o)=>{"use strict";o.d(A,{W:()=>l});var n=o(2654);class l extends n.w{constructor(c,r){super(),this.subject=c,this.subscriber=r,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const c=this.subject,r=c.observers;if(this.subject=null,!r||0===r.length||c.isStopped||c.closed)return;const d=r.indexOf(this.subscriber);-1!==d&&r.splice(d,1)}}},3489:(he,A,o)=>{"use strict";o.d(A,{L:()=>m});var n=o(7043),l=o(3292),u=o(2654),c=o(7668),r=o(2830),d=o(2782);class m extends u.w{constructor(b,h,g){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l.c;break;case 1:if(!b){this.destination=l.c;break}if("object"==typeof b){b instanceof m?(this.syncErrorThrowable=b.syncErrorThrowable,this.destination=b,b.add(this)):(this.syncErrorThrowable=!0,this.destination=new p(this,b));break}default:this.syncErrorThrowable=!0,this.destination=new p(this,b,h,g)}}[c.b](){return this}static create(b,h,g){const s=new m(b,h,g);return s.syncErrorThrowable=!1,s}next(b){this.isStopped||this._next(b)}error(b){this.isStopped||(this.isStopped=!0,this._error(b))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(b){this.destination.next(b)}_error(b){this.destination.error(b),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:b}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=b,this}}class p extends m{constructor(b,h,g,s){super(),this._parentSubscriber=b;let C,P=this;(0,n.m)(h)?C=h:h&&(C=h.next,g=h.error,s=h.complete,h!==l.c&&(P=Object.create(h),(0,n.m)(P.unsubscribe)&&this.add(P.unsubscribe.bind(P)),P.unsubscribe=this.unsubscribe.bind(this))),this._context=P,this._next=C,this._error=g,this._complete=s}next(b){if(!this.isStopped&&this._next){const{_parentSubscriber:h}=this;r.v.useDeprecatedSynchronousErrorHandling&&h.syncErrorThrowable?this.__tryOrSetError(h,this._next,b)&&this.unsubscribe():this.__tryOrUnsub(this._next,b)}}error(b){if(!this.isStopped){const{_parentSubscriber:h}=this,{useDeprecatedSynchronousErrorHandling:g}=r.v;if(this._error)g&&h.syncErrorThrowable?(this.__tryOrSetError(h,this._error,b),this.unsubscribe()):(this.__tryOrUnsub(this._error,b),this.unsubscribe());else if(h.syncErrorThrowable)g?(h.syncErrorValue=b,h.syncErrorThrown=!0):(0,d.z)(b),this.unsubscribe();else{if(this.unsubscribe(),g)throw b;(0,d.z)(b)}}}complete(){if(!this.isStopped){const{_parentSubscriber:b}=this;if(this._complete){const h=()=>this._complete.call(this._context);r.v.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?(this.__tryOrSetError(b,h),this.unsubscribe()):(this.__tryOrUnsub(h),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(b,h){try{b.call(this._context,h)}catch(g){if(this.unsubscribe(),r.v.useDeprecatedSynchronousErrorHandling)throw g;(0,d.z)(g)}}__tryOrSetError(b,h,g){if(!r.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{h.call(this._context,g)}catch(s){return r.v.useDeprecatedSynchronousErrorHandling?(b.syncErrorValue=s,b.syncErrorThrown=!0,!0):((0,d.z)(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:b}=this;this._context=null,this._parentSubscriber=null,b.unsubscribe()}}},2654:(he,A,o)=>{"use strict";o.d(A,{w:()=>d});var n=o(6688),l=o(7830),u=o(7043);const r=(()=>{function p(y){return Error.call(this),this.message=y?`${y.length} errors occurred during unsubscription:\n${y.map((b,h)=>`${h+1}) ${b.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=y,this}return p.prototype=Object.create(Error.prototype),p})();class d{constructor(y){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,y&&(this._ctorUnsubscribe=!0,this._unsubscribe=y)}unsubscribe(){let y;if(this.closed)return;let{_parentOrParents:b,_ctorUnsubscribe:h,_unsubscribe:g,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,b instanceof d)b.remove(this);else if(null!==b)for(let C=0;Cy.concat(b instanceof r?b.errors:b),[])}d.EMPTY=((p=new d).closed=!0,p)},2830:(he,A,o)=>{"use strict";o.d(A,{v:()=>l});let n=!1;const l={Promise:void 0,set useDeprecatedSynchronousErrorHandling(u){if(u){const c=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+c.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=u},get useDeprecatedSynchronousErrorHandling(){return n}}},1177:(he,A,o)=>{"use strict";o.d(A,{IY:()=>c,Ds:()=>d,ft:()=>p});var n=o(3489),l=o(6498),u=o(9249);class c extends n.L{constructor(b){super(),this.parent=b}_next(b){this.parent.notifyNext(b)}_error(b){this.parent.notifyError(b),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class d extends n.L{notifyNext(b){this.destination.next(b)}notifyError(b){this.destination.error(b)}notifyComplete(){this.destination.complete()}}function p(y,b){if(b.closed)return;if(y instanceof l.y)return y.subscribe(b);let h;try{h=(0,u.s)(y)(b)}catch(g){b.error(g)}return h}},1762:(he,A,o)=>{"use strict";o.d(A,{c:()=>r,N:()=>d});var n=o(8929),l=o(6498),u=o(2654),c=o(4327);class r extends l.y{constructor(h,g){super(),this.source=h,this.subjectFactory=g,this._refCount=0,this._isComplete=!1}_subscribe(h){return this.getSubject().subscribe(h)}getSubject(){const h=this._subject;return(!h||h.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let h=this._connection;return h||(this._isComplete=!1,h=this._connection=new u.w,h.add(this.source.subscribe(new m(this.getSubject(),this))),h.closed&&(this._connection=null,h=u.w.EMPTY)),h}refCount(){return(0,c.x)()(this)}}const d=(()=>{const b=r.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:b._subscribe},_isComplete:{value:b._isComplete,writable:!0},getSubject:{value:b.getSubject},connect:{value:b.connect},refCount:{value:b.refCount}}})();class m extends n.Yc{constructor(h,g){super(h),this.connectable=g}_error(h){this._unsubscribe(),super._error(h)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const h=this.connectable;if(h){this.connectable=null;const g=h._connection;h._refCount=0,h._subject=null,h._connection=null,g&&g.unsubscribe()}}}},6053:(he,A,o)=>{"use strict";o.d(A,{aj:()=>m,Ms:()=>p});var n=o(2866),l=o(6688),u=o(826),c=o(448),r=o(3009);const d={};function m(...b){let h,g;return(0,n.K)(b[b.length-1])&&(g=b.pop()),"function"==typeof b[b.length-1]&&(h=b.pop()),1===b.length&&(0,l.k)(b[0])&&(b=b[0]),(0,r.n)(b,g).lift(new p(h))}class p{constructor(h){this.resultSelector=h}call(h,g){return g.subscribe(new y(h,this.resultSelector))}}class y extends u.L{constructor(h,g){super(h),this.resultSelector=g,this.active=0,this.values=[],this.observables=[]}_next(h){this.values.push(d),this.observables.push(h)}_complete(){const h=this.observables,g=h.length;if(0===g)this.destination.complete();else{this.active=g,this.toRespond=g;for(let s=0;s{"use strict";o.d(A,{z:()=>u});var n=o(1086),l=o(534);function u(...c){return(0,l.u)()((0,n.of)(...c))}},8514:(he,A,o)=>{"use strict";o.d(A,{P:()=>c});var n=o(6498),l=o(5254),u=o(8896);function c(r){return new n.y(d=>{let m;try{m=r()}catch(y){return void d.error(y)}return(m?(0,l.D)(m):(0,u.c)()).subscribe(d)})}},8896:(he,A,o)=>{"use strict";o.d(A,{E:()=>l,c:()=>u});var n=o(6498);const l=new n.y(r=>r.complete());function u(r){return r?function(r){return new n.y(d=>r.schedule(()=>d.complete()))}(r):l}},567:(he,A,o)=>{"use strict";o.d(A,{D:()=>d});var n=o(6498),l=o(6688),u=o(4850),c=o(7830),r=o(5254);function d(...p){if(1===p.length){const y=p[0];if((0,l.k)(y))return m(y,null);if((0,c.K)(y)&&Object.getPrototypeOf(y)===Object.prototype){const b=Object.keys(y);return m(b.map(h=>y[h]),b)}}if("function"==typeof p[p.length-1]){const y=p.pop();return m(p=1===p.length&&(0,l.k)(p[0])?p[0]:p,null).pipe((0,u.U)(b=>y(...b)))}return m(p,null)}function m(p,y){return new n.y(b=>{const h=p.length;if(0===h)return void b.complete();const g=new Array(h);let s=0,C=0;for(let P=0;P{D||(D=!0,C++),g[P]=T},error:T=>b.error(T),complete:()=>{s++,(s===h||!D)&&(C===h&&b.next(y?y.reduce((T,Y,$)=>(T[Y]=g[$],T),{}):g),b.complete())}}))}})}},5254:(he,A,o)=>{"use strict";o.d(A,{D:()=>P});var n=o(6498),l=o(9249),u=o(2654),c=o(3821),m=o(6454),p=o(5430),h=o(8955),g=o(8515);function P(w,D){return D?function(w,D){if(null!=w){if(function(w){return w&&"function"==typeof w[c.L]}(w))return function(w,D){return new n.y(T=>{const Y=new u.w;return Y.add(D.schedule(()=>{const $=w[c.L]();Y.add($.subscribe({next(z){Y.add(D.schedule(()=>T.next(z)))},error(z){Y.add(D.schedule(()=>T.error(z)))},complete(){Y.add(D.schedule(()=>T.complete()))}}))})),Y})}(w,D);if((0,h.t)(w))return function(w,D){return new n.y(T=>{const Y=new u.w;return Y.add(D.schedule(()=>w.then($=>{Y.add(D.schedule(()=>{T.next($),Y.add(D.schedule(()=>T.complete()))}))},$=>{Y.add(D.schedule(()=>T.error($)))}))),Y})}(w,D);if((0,g.z)(w))return(0,m.r)(w,D);if(function(w){return w&&"function"==typeof w[p.hZ]}(w)||"string"==typeof w)return function(w,D){if(!w)throw new Error("Iterable cannot be null");return new n.y(T=>{const Y=new u.w;let $;return Y.add(()=>{$&&"function"==typeof $.return&&$.return()}),Y.add(D.schedule(()=>{$=w[p.hZ](),Y.add(D.schedule(function(){if(T.closed)return;let z,G;try{const X=$.next();z=X.value,G=X.done}catch(X){return void T.error(X)}G?T.complete():(T.next(z),this.schedule())}))})),Y})}(w,D)}throw new TypeError((null!==w&&typeof w||w)+" is not observable")}(w,D):w instanceof n.y?w:new n.y((0,l.s)(w))}},3009:(he,A,o)=>{"use strict";o.d(A,{n:()=>c});var n=o(6498),l=o(3650),u=o(6454);function c(r,d){return d?(0,u.r)(r,d):new n.y((0,l.V)(r))}},3753:(he,A,o)=>{"use strict";o.d(A,{R:()=>d});var n=o(6498),l=o(6688),u=o(7043),c=o(4850);function d(h,g,s,C){return(0,u.m)(s)&&(C=s,s=void 0),C?d(h,g,s).pipe((0,c.U)(P=>(0,l.k)(P)?C(...P):C(P))):new n.y(P=>{m(h,g,function(D){P.next(arguments.length>1?Array.prototype.slice.call(arguments):D)},P,s)})}function m(h,g,s,C,P){let w;if(function(h){return h&&"function"==typeof h.addEventListener&&"function"==typeof h.removeEventListener}(h)){const D=h;h.addEventListener(g,s,P),w=()=>D.removeEventListener(g,s,P)}else if(function(h){return h&&"function"==typeof h.on&&"function"==typeof h.off}(h)){const D=h;h.on(g,s),w=()=>D.off(g,s)}else if(function(h){return h&&"function"==typeof h.addListener&&"function"==typeof h.removeListener}(h)){const D=h;h.addListener(g,s),w=()=>D.removeListener(g,s)}else{if(!h||!h.length)throw new TypeError("Invalid event target");for(let D=0,T=h.length;D{"use strict";o.d(A,{T:()=>r});var n=o(6498),l=o(2866),u=o(9146),c=o(3009);function r(...d){let m=Number.POSITIVE_INFINITY,p=null,y=d[d.length-1];return(0,l.K)(y)?(p=d.pop(),d.length>1&&"number"==typeof d[d.length-1]&&(m=d.pop())):"number"==typeof y&&(m=d.pop()),null===p&&1===d.length&&d[0]instanceof n.y?d[0]:(0,u.J)(m)((0,c.n)(d,p))}},1086:(he,A,o)=>{"use strict";o.d(A,{of:()=>c});var n=o(2866),l=o(3009),u=o(6454);function c(...r){let d=r[r.length-1];return(0,n.K)(d)?(r.pop(),(0,u.r)(r,d)):(0,l.n)(r)}},1946:(he,A,o)=>{"use strict";o.d(A,{S3:()=>r});var n=o(6688),l=o(3009),u=o(826),c=o(448);function r(...p){if(1===p.length){if(!(0,n.k)(p[0]))return p[0];p=p[0]}return(0,l.n)(p,void 0).lift(new d)}class d{call(y,b){return b.subscribe(new m(y))}}class m extends u.L{constructor(y){super(y),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(y){this.observables.push(y)}_complete(){const y=this.observables,b=y.length;if(0===b)this.destination.complete();else{for(let h=0;h{"use strict";o.d(A,{_:()=>l});var n=o(6498);function l(c,r){return new n.y(r?d=>r.schedule(u,0,{error:c,subscriber:d}):d=>d.error(c))}function u({error:c,subscriber:r}){r.error(c)}},8723:(he,A,o)=>{"use strict";o.d(A,{H:()=>r});var n=o(6498),l=o(353),u=o(4241),c=o(2866);function r(m=0,p,y){let b=-1;return(0,u.k)(p)?b=Number(p)<1?1:Number(p):(0,c.K)(p)&&(y=p),(0,c.K)(y)||(y=l.P),new n.y(h=>{const g=(0,u.k)(m)?m:+m-y.now();return y.schedule(d,g,{index:0,period:b,subscriber:h})})}function d(m){const{index:p,period:y,subscriber:b}=m;if(b.next(p),!b.closed){if(-1===y)return b.complete();m.index=p+1,this.schedule(m,y)}}},1746:(he,A,o)=>{"use strict";o.d(A,{$R:()=>d,mx:()=>m});var n=o(3009),l=o(6688),u=o(3489),c=o(5430),r=o(1177);function d(...g){const s=g[g.length-1];return"function"==typeof s&&g.pop(),(0,n.n)(g,void 0).lift(new m(s))}class m{constructor(s){this.resultSelector=s}call(s,C){return C.subscribe(new p(s,this.resultSelector))}}class p extends u.L{constructor(s,C,P=Object.create(null)){super(s),this.resultSelector=C,this.iterators=[],this.active=0,this.resultSelector="function"==typeof C?C:void 0}_next(s){const C=this.iterators;(0,l.k)(s)?C.push(new b(s)):C.push("function"==typeof s[c.hZ]?new y(s[c.hZ]()):new h(this.destination,this,s))}_complete(){const s=this.iterators,C=s.length;if(this.unsubscribe(),0!==C){this.active=C;for(let P=0;Pthis.index}hasCompleted(){return this.array.length===this.index}}class h extends r.Ds{constructor(s,C,P){super(s),this.parent=C,this.observable=P,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[c.hZ](){return this}next(){const s=this.buffer;return 0===s.length&&this.isComplete?{value:null,done:!0}:{value:s.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(s){this.buffer.push(s),this.parent.checkIterators()}subscribe(){return(0,r.ft)(this.observable,new r.IY(this))}}},384:(he,A,o)=>{"use strict";o.d(A,{U:()=>l});var n=o(1177);function l(r){return function(m){return m.lift(new u(r))}}class u{constructor(d){this.durationSelector=d}call(d,m){return m.subscribe(new c(d,this.durationSelector))}}class c extends n.Ds{constructor(d,m){super(d),this.durationSelector=m,this.hasValue=!1}_next(d){if(this.value=d,this.hasValue=!0,!this.throttled){let m;try{const{durationSelector:y}=this;m=y(d)}catch(y){return this.destination.error(y)}const p=(0,n.ft)(m,new n.IY(this));!p||p.closed?this.clearThrottle():this.add(this.throttled=p)}}clearThrottle(){const{value:d,hasValue:m,throttled:p}=this;p&&(this.remove(p),this.throttled=void 0,p.unsubscribe()),m&&(this.value=void 0,this.hasValue=!1,this.destination.next(d))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}},7568:(he,A,o)=>{"use strict";o.d(A,{e:()=>c});var n=o(353),l=o(384),u=o(8723);function c(r,d=n.P){return(0,l.U)(()=>(0,u.H)(r,d))}},7221:(he,A,o)=>{"use strict";o.d(A,{K:()=>l});var n=o(1177);function l(r){return function(m){const p=new u(r),y=m.lift(p);return p.caught=y}}class u{constructor(d){this.selector=d}call(d,m){return m.subscribe(new c(d,this.selector,this.caught))}}class c extends n.Ds{constructor(d,m,p){super(d),this.selector=m,this.caught=p}error(d){if(!this.isStopped){let m;try{m=this.selector(d,this.caught)}catch(b){return void super.error(b)}this._unsubscribeAndRecycle();const p=new n.IY(this);this.add(p);const y=(0,n.ft)(m,p);y!==p&&this.add(y)}}}},534:(he,A,o)=>{"use strict";o.d(A,{u:()=>l});var n=o(9146);function l(){return(0,n.J)(1)}},1406:(he,A,o)=>{"use strict";o.d(A,{b:()=>l});var n=o(1709);function l(u,c){return(0,n.zg)(u,c,1)}},13:(he,A,o)=>{"use strict";o.d(A,{b:()=>u});var n=o(3489),l=o(353);function u(m,p=l.P){return y=>y.lift(new c(m,p))}class c{constructor(p,y){this.dueTime=p,this.scheduler=y}call(p,y){return y.subscribe(new r(p,this.dueTime,this.scheduler))}}class r extends n.L{constructor(p,y,b){super(p),this.dueTime=y,this.scheduler=b,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(p){this.clearDebounce(),this.lastValue=p,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(d,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:p}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(p)}}clearDebounce(){const p=this.debouncedSubscription;null!==p&&(this.remove(p),p.unsubscribe(),this.debouncedSubscription=null)}}function d(m){m.debouncedNext()}},7314:(he,A,o)=>{"use strict";o.d(A,{d:()=>l});var n=o(3489);function l(r=null){return d=>d.lift(new u(r))}class u{constructor(d){this.defaultValue=d}call(d,m){return m.subscribe(new c(d,this.defaultValue))}}class c extends n.L{constructor(d,m){super(d),this.defaultValue=m,this.isEmpty=!0}_next(d){this.isEmpty=!1,this.destination.next(d)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(he,A,o)=>{"use strict";o.d(A,{g:()=>r});var n=o(353),l=o(2697),u=o(3489),c=o(9312);function r(y,b=n.P){const g=(0,l.J)(y)?+y-b.now():Math.abs(y);return s=>s.lift(new d(g,b))}class d{constructor(b,h){this.delay=b,this.scheduler=h}call(b,h){return h.subscribe(new m(b,this.delay,this.scheduler))}}class m extends u.L{constructor(b,h,g){super(b),this.delay=h,this.scheduler=g,this.queue=[],this.active=!1,this.errored=!1}static dispatch(b){const h=b.source,g=h.queue,s=b.scheduler,C=b.destination;for(;g.length>0&&g[0].time-s.now()<=0;)g.shift().notification.observe(C);if(g.length>0){const P=Math.max(0,g[0].time-s.now());this.schedule(b,P)}else this.unsubscribe(),h.active=!1}_schedule(b){this.active=!0,this.destination.add(b.schedule(m.dispatch,this.delay,{source:this,destination:this.destination,scheduler:b}))}scheduleNotification(b){if(!0===this.errored)return;const h=this.scheduler,g=new p(h.now()+this.delay,b);this.queue.push(g),!1===this.active&&this._schedule(h)}_next(b){this.scheduleNotification(c.P.createNext(b))}_error(b){this.errored=!0,this.queue=[],this.destination.error(b),this.unsubscribe()}_complete(){this.scheduleNotification(c.P.createComplete()),this.unsubscribe()}}class p{constructor(b,h){this.time=b,this.notification=h}}},5778:(he,A,o)=>{"use strict";o.d(A,{x:()=>l});var n=o(3489);function l(r,d){return m=>m.lift(new u(r,d))}class u{constructor(d,m){this.compare=d,this.keySelector=m}call(d,m){return m.subscribe(new c(d,this.compare,this.keySelector))}}class c extends n.L{constructor(d,m,p){super(d),this.keySelector=p,this.hasKey=!1,"function"==typeof m&&(this.compare=m)}compare(d,m){return d===m}_next(d){let m;try{const{keySelector:y}=this;m=y?y(d):d}catch(y){return this.destination.error(y)}let p=!1;if(this.hasKey)try{const{compare:y}=this;p=y(this.key,m)}catch(y){return this.destination.error(y)}else this.hasKey=!0;p||(this.key=m,this.destination.next(d))}}},2198:(he,A,o)=>{"use strict";o.d(A,{h:()=>l});var n=o(3489);function l(r,d){return function(p){return p.lift(new u(r,d))}}class u{constructor(d,m){this.predicate=d,this.thisArg=m}call(d,m){return m.subscribe(new c(d,this.predicate,this.thisArg))}}class c extends n.L{constructor(d,m,p){super(d),this.predicate=m,this.thisArg=p,this.count=0}_next(d){let m;try{m=this.predicate.call(this.thisArg,d,this.count++)}catch(p){return void this.destination.error(p)}m&&this.destination.next(d)}}},537:(he,A,o)=>{"use strict";o.d(A,{x:()=>u});var n=o(3489),l=o(2654);function u(d){return m=>m.lift(new c(d))}class c{constructor(m){this.callback=m}call(m,p){return p.subscribe(new r(m,this.callback))}}class r extends n.L{constructor(m,p){super(m),this.add(new l.w(p))}}},7224:(he,A,o)=>{"use strict";o.d(A,{P:()=>m});var n=o(4450),l=o(2198),u=o(2986),c=o(7314),r=o(4907),d=o(5379);function m(p,y){const b=arguments.length>=2;return h=>h.pipe(p?(0,l.h)((g,s)=>p(g,s,h)):d.y,(0,u.q)(1),b?(0,c.d)(y):(0,r.T)(()=>new n.K))}},8127:(he,A,o)=>{"use strict";o.d(A,{Z:()=>m});var n=o(4450),l=o(2198),u=o(2821),c=o(4907),r=o(7314),d=o(5379);function m(p,y){const b=arguments.length>=2;return h=>h.pipe(p?(0,l.h)((g,s)=>p(g,s,h)):d.y,(0,u.h)(1),b?(0,r.d)(y):(0,c.T)(()=>new n.K))}},4850:(he,A,o)=>{"use strict";o.d(A,{U:()=>l});var n=o(3489);function l(r,d){return function(p){if("function"!=typeof r)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return p.lift(new u(r,d))}}class u{constructor(d,m){this.project=d,this.thisArg=m}call(d,m){return m.subscribe(new c(d,this.project,this.thisArg))}}class c extends n.L{constructor(d,m,p){super(d),this.project=m,this.count=0,this.thisArg=p||this}_next(d){let m;try{m=this.project.call(this.thisArg,d,this.count++)}catch(p){return void this.destination.error(p)}this.destination.next(m)}}},9146:(he,A,o)=>{"use strict";o.d(A,{J:()=>u});var n=o(1709),l=o(5379);function u(c=Number.POSITIVE_INFINITY){return(0,n.zg)(l.y,c)}},1709:(he,A,o)=>{"use strict";o.d(A,{zg:()=>c,VS:()=>m});var n=o(4850),l=o(5254),u=o(1177);function c(p,y,b=Number.POSITIVE_INFINITY){return"function"==typeof y?h=>h.pipe(c((g,s)=>(0,l.D)(p(g,s)).pipe((0,n.U)((C,P)=>y(g,C,s,P))),b)):("number"==typeof y&&(b=y),h=>h.lift(new r(p,b)))}class r{constructor(y,b=Number.POSITIVE_INFINITY){this.project=y,this.concurrent=b}call(y,b){return b.subscribe(new d(y,this.project,this.concurrent))}}class d extends u.Ds{constructor(y,b,h=Number.POSITIVE_INFINITY){super(y),this.project=b,this.concurrent=h,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(y){this.active0?this._next(y.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}const m=c},2536:(he,A,o)=>{"use strict";o.d(A,{O:()=>l});var n=o(1762);function l(c,r){return function(m){let p;if(p="function"==typeof c?c:function(){return c},"function"==typeof r)return m.lift(new u(p,r));const y=Object.create(m,n.N);return y.source=m,y.subjectFactory=p,y}}class u{constructor(r,d){this.subjectFactory=r,this.selector=d}call(r,d){const{selector:m}=this,p=this.subjectFactory(),y=m(p).subscribe(r);return y.add(d.subscribe(p)),y}}},8077:(he,A,o)=>{"use strict";o.d(A,{u:()=>r});var n=o(2014),l=o(2821),u=o(7314),c=o(4843);function r(d,m){return arguments.length>=2?function(y){return(0,c.z)((0,n.R)(d,m),(0,l.h)(1),(0,u.d)(m))(y)}:function(y){return(0,c.z)((0,n.R)((b,h,g)=>d(b,h,g+1)),(0,l.h)(1))(y)}}},4327:(he,A,o)=>{"use strict";o.d(A,{x:()=>l});var n=o(3489);function l(){return function(d){return d.lift(new u(d))}}class u{constructor(d){this.connectable=d}call(d,m){const{connectable:p}=this;p._refCount++;const y=new c(d,p),b=m.subscribe(y);return y.closed||(y.connection=p.connect()),b}}class c extends n.L{constructor(d,m){super(d),this.connectable=m}_unsubscribe(){const{connectable:d}=this;if(!d)return void(this.connection=null);this.connectable=null;const m=d._refCount;if(m<=0)return void(this.connection=null);if(d._refCount=m-1,m>1)return void(this.connection=null);const{connection:p}=this,y=d._connection;this.connection=null,y&&(!p||y===p)&&y.unsubscribe()}}},2014:(he,A,o)=>{"use strict";o.d(A,{R:()=>l});var n=o(3489);function l(r,d){let m=!1;return arguments.length>=2&&(m=!0),function(y){return y.lift(new u(r,d,m))}}class u{constructor(d,m,p=!1){this.accumulator=d,this.seed=m,this.hasSeed=p}call(d,m){return m.subscribe(new c(d,this.accumulator,this.seed,this.hasSeed))}}class c extends n.L{constructor(d,m,p,y){super(d),this.accumulator=m,this._seed=p,this.hasSeed=y,this.index=0}get seed(){return this._seed}set seed(d){this.hasSeed=!0,this._seed=d}_next(d){if(this.hasSeed)return this._tryNext(d);this.seed=d,this.destination.next(d)}_tryNext(d){const m=this.index++;let p;try{p=this.accumulator(this.seed,d,m)}catch(y){this.destination.error(y)}this.seed=p,this.destination.next(p)}}},8117:(he,A,o)=>{"use strict";o.d(A,{B:()=>r});var n=o(2536),l=o(4327),u=o(8929);function c(){return new u.xQ}function r(){return d=>(0,l.x)()((0,n.O)(c)(d))}},1307:(he,A,o)=>{"use strict";o.d(A,{T:()=>l});var n=o(3489);function l(r){return d=>d.lift(new u(r))}class u{constructor(d){this.total=d}call(d,m){return m.subscribe(new c(d,this.total))}}class c extends n.L{constructor(d,m){super(d),this.total=m,this.count=0}_next(d){++this.count>this.total&&this.destination.next(d)}}},1059:(he,A,o)=>{"use strict";o.d(A,{O:()=>u});var n=o(1961),l=o(2866);function u(...c){const r=c[c.length-1];return(0,l.K)(r)?(c.pop(),d=>(0,n.z)(c,d,r)):d=>(0,n.z)(c,d)}},7545:(he,A,o)=>{"use strict";o.d(A,{w:()=>c});var n=o(4850),l=o(5254),u=o(1177);function c(m,p){return"function"==typeof p?y=>y.pipe(c((b,h)=>(0,l.D)(m(b,h)).pipe((0,n.U)((g,s)=>p(b,g,h,s))))):y=>y.lift(new r(m))}class r{constructor(p){this.project=p}call(p,y){return y.subscribe(new d(p,this.project))}}class d extends u.Ds{constructor(p,y){super(p),this.project=y,this.index=0}_next(p){let y;const b=this.index++;try{y=this.project(p,b)}catch(h){return void this.destination.error(h)}this._innerSub(y)}_innerSub(p){const y=this.innerSubscription;y&&y.unsubscribe();const b=new u.IY(this),h=this.destination;h.add(b),this.innerSubscription=(0,u.ft)(p,b),this.innerSubscription!==b&&h.add(this.innerSubscription)}_complete(){const{innerSubscription:p}=this;(!p||p.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(p){this.destination.next(p)}}},2986:(he,A,o)=>{"use strict";o.d(A,{q:()=>c});var n=o(3489),l=o(4231),u=o(8896);function c(m){return p=>0===m?(0,u.c)():p.lift(new r(m))}class r{constructor(p){if(this.total=p,this.total<0)throw new l.W}call(p,y){return y.subscribe(new d(p,this.total))}}class d extends n.L{constructor(p,y){super(p),this.total=y,this.count=0}_next(p){const y=this.total,b=++this.count;b<=y&&(this.destination.next(p),b===y&&(this.destination.complete(),this.unsubscribe()))}}},2821:(he,A,o)=>{"use strict";o.d(A,{h:()=>c});var n=o(3489),l=o(4231),u=o(8896);function c(m){return function(y){return 0===m?(0,u.c)():y.lift(new r(m))}}class r{constructor(p){if(this.total=p,this.total<0)throw new l.W}call(p,y){return y.subscribe(new d(p,this.total))}}class d extends n.L{constructor(p,y){super(p),this.total=y,this.ring=new Array,this.count=0}_next(p){const y=this.ring,b=this.total,h=this.count++;y.length0){const b=this.count>=this.total?this.total:this.count,h=this.ring;for(let g=0;g{"use strict";o.d(A,{R:()=>l});var n=o(1177);function l(r){return d=>d.lift(new u(r))}class u{constructor(d){this.notifier=d}call(d,m){const p=new c(d),y=(0,n.ft)(this.notifier,new n.IY(p));return y&&!p.seenValue?(p.add(y),m.subscribe(p)):p}}class c extends n.Ds{constructor(d){super(d),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},4290:(he,A,o)=>{"use strict";o.d(A,{o:()=>l});var n=o(3489);function l(r,d=!1){return m=>m.lift(new u(r,d))}class u{constructor(d,m){this.predicate=d,this.inclusive=m}call(d,m){return m.subscribe(new c(d,this.predicate,this.inclusive))}}class c extends n.L{constructor(d,m,p){super(d),this.predicate=m,this.inclusive=p,this.index=0}_next(d){const m=this.destination;let p;try{p=this.predicate(d,this.index++)}catch(y){return void m.error(y)}this.nextOrComplete(d,p)}nextOrComplete(d,m){const p=this.destination;Boolean(m)?p.next(d):(this.inclusive&&p.next(d),p.complete())}}},2868:(he,A,o)=>{"use strict";o.d(A,{b:()=>c});var n=o(3489);function l(){}var u=o(7043);function c(m,p,y){return function(h){return h.lift(new r(m,p,y))}}class r{constructor(p,y,b){this.nextOrObserver=p,this.error=y,this.complete=b}call(p,y){return y.subscribe(new d(p,this.nextOrObserver,this.error,this.complete))}}class d extends n.L{constructor(p,y,b,h){super(p),this._tapNext=l,this._tapError=l,this._tapComplete=l,this._tapError=b||l,this._tapComplete=h||l,(0,u.m)(y)?(this._context=this,this._tapNext=y):y&&(this._context=y,this._tapNext=y.next||l,this._tapError=y.error||l,this._tapComplete=y.complete||l)}_next(p){try{this._tapNext.call(this._context,p)}catch(y){return void this.destination.error(y)}this.destination.next(p)}_error(p){try{this._tapError.call(this._context,p)}catch(y){return void this.destination.error(y)}this.destination.error(p)}_complete(){try{this._tapComplete.call(this._context)}catch(p){return void this.destination.error(p)}return this.destination.complete()}}},4907:(he,A,o)=>{"use strict";o.d(A,{T:()=>u});var n=o(4450),l=o(3489);function u(m=d){return p=>p.lift(new c(m))}class c{constructor(p){this.errorFactory=p}call(p,y){return y.subscribe(new r(p,this.errorFactory))}}class r extends l.L{constructor(p,y){super(p),this.errorFactory=y,this.hasValue=!1}_next(p){this.hasValue=!0,this.destination.next(p)}_complete(){if(this.hasValue)return this.destination.complete();{let p;try{p=this.errorFactory()}catch(y){p=y}this.destination.error(p)}}}function d(){return new n.K}},7e3:(he,A,o)=>{"use strict";o.d(A,{V:()=>d});var n=o(353);const u=(()=>{function m(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return m.prototype=Object.create(Error.prototype),m})();var c=o(2431),r=o(1737);function d(m,p=n.P){return(0,c.L)(m,(0,r._)(new u),p)}},2431:(he,A,o)=>{"use strict";o.d(A,{L:()=>c});var n=o(353),l=o(2697),u=o(1177);function c(m,p,y=n.P){return b=>{let h=(0,l.J)(m),g=h?+m-y.now():Math.abs(m);return b.lift(new r(g,h,p,y))}}class r{constructor(p,y,b,h){this.waitFor=p,this.absoluteTimeout=y,this.withObservable=b,this.scheduler=h}call(p,y){return y.subscribe(new d(p,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class d extends u.Ds{constructor(p,y,b,h,g){super(p),this.absoluteTimeout=y,this.waitFor=b,this.withObservable=h,this.scheduler=g,this.scheduleTimeout()}static dispatchTimeout(p){const{withObservable:y}=p;p._unsubscribeAndRecycle(),p.add((0,u.ft)(y,new u.IY(p)))}scheduleTimeout(){const{action:p}=this;p?this.action=p.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(d.dispatchTimeout,this.waitFor,this))}_next(p){this.absoluteTimeout||this.scheduleTimeout(),super._next(p)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}},864:(he,A,o)=>{"use strict";o.d(A,{q:()=>u});var n=o(8077);function l(c,r,d){return 0===d?[r]:(c.push(r),c)}function u(){return(0,n.u)(l,[])}},6454:(he,A,o)=>{"use strict";o.d(A,{r:()=>u});var n=o(6498),l=o(2654);function u(c,r){return new n.y(d=>{const m=new l.w;let p=0;return m.add(r.schedule(function(){p!==c.length?(d.next(c[p++]),d.closed||m.add(this.schedule())):d.complete()})),m})}},6686:(he,A,o)=>{"use strict";o.d(A,{o:()=>u});var n=o(2654);class l extends n.w{constructor(r,d){super()}schedule(r,d=0){return this}}class u extends l{constructor(r,d){super(r,d),this.scheduler=r,this.work=d,this.pending=!1}schedule(r,d=0){if(this.closed)return this;this.state=r;const m=this.id,p=this.scheduler;return null!=m&&(this.id=this.recycleAsyncId(p,m,d)),this.pending=!0,this.delay=d,this.id=this.id||this.requestAsyncId(p,this.id,d),this}requestAsyncId(r,d,m=0){return setInterval(r.flush.bind(r,this),m)}recycleAsyncId(r,d,m=0){if(null!==m&&this.delay===m&&!1===this.pending)return d;clearInterval(d)}execute(r,d){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const m=this._execute(r,d);if(m)return m;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(r,d){let p,m=!1;try{this.work(r)}catch(y){m=!0,p=!!y&&y||new Error(y)}if(m)return this.unsubscribe(),p}_unsubscribe(){const r=this.id,d=this.scheduler,m=d.actions,p=m.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==p&&m.splice(p,1),null!=r&&(this.id=this.recycleAsyncId(d,r,null)),this.delay=null}}},2268:(he,A,o)=>{"use strict";o.d(A,{v:()=>l});let n=(()=>{class u{constructor(r,d=u.now){this.SchedulerAction=r,this.now=d}schedule(r,d=0,m){return new this.SchedulerAction(this,r).schedule(m,d)}}return u.now=()=>Date.now(),u})();class l extends n{constructor(c,r=n.now){super(c,()=>l.delegate&&l.delegate!==this?l.delegate.now():r()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(c,r=0,d){return l.delegate&&l.delegate!==this?l.delegate.schedule(c,r,d):super.schedule(c,r,d)}flush(c){const{actions:r}=this;if(this.active)return void r.push(c);let d;this.active=!0;do{if(d=c.execute(c.state,c.delay))break}while(c=r.shift());if(this.active=!1,d){for(;c=r.shift();)c.unsubscribe();throw d}}}},352:(he,A,o)=>{"use strict";o.d(A,{Z:()=>r});var n=o(6686),u=o(2268);const r=new class extends u.v{flush(p){this.active=!0,this.scheduled=void 0;const{actions:y}=this;let b,h=-1,g=y.length;p=p||y.shift();do{if(b=p.execute(p.state,p.delay))break}while(++h0?super.requestAsyncId(p,y,b):(p.actions.push(this),p.scheduled||(p.scheduled=requestAnimationFrame(()=>p.flush(null))))}recycleAsyncId(p,y,b=0){if(null!==b&&b>0||null===b&&this.delay>0)return super.recycleAsyncId(p,y,b);0===p.actions.length&&(cancelAnimationFrame(y),p.scheduled=void 0)}})},8139:(he,A,o)=>{"use strict";o.d(A,{e:()=>g,E:()=>h});let n=1;const l=Promise.resolve(),u={};function c(s){return s in u&&(delete u[s],!0)}const r={setImmediate(s){const C=n++;return u[C]=!0,l.then(()=>c(C)&&s()),C},clearImmediate(s){c(s)}};var m=o(6686),y=o(2268);const h=new class extends y.v{flush(C){this.active=!0,this.scheduled=void 0;const{actions:P}=this;let w,D=-1,T=P.length;C=C||P.shift();do{if(w=C.execute(C.state,C.delay))break}while(++D0?super.requestAsyncId(C,P,w):(C.actions.push(this),C.scheduled||(C.scheduled=r.setImmediate(C.flush.bind(C,null))))}recycleAsyncId(C,P,w=0){if(null!==w&&w>0||null===w&&this.delay>0)return super.recycleAsyncId(C,P,w);0===C.actions.length&&(r.clearImmediate(P),C.scheduled=void 0)}}),g=h},353:(he,A,o)=>{"use strict";o.d(A,{P:()=>c});var n=o(6686);const c=new(o(2268).v)(n.o)},5430:(he,A,o)=>{"use strict";o.d(A,{hZ:()=>l});const l="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},3821:(he,A,o)=>{"use strict";o.d(A,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(he,A,o)=>{"use strict";o.d(A,{b:()=>n});const n="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(he,A,o)=>{"use strict";o.d(A,{W:()=>l});const l=(()=>{function u(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return u.prototype=Object.create(Error.prototype),u})()},4450:(he,A,o)=>{"use strict";o.d(A,{K:()=>l});const l=(()=>{function u(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return u.prototype=Object.create(Error.prototype),u})()},5279:(he,A,o)=>{"use strict";o.d(A,{N:()=>l});const l=(()=>{function u(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return u.prototype=Object.create(Error.prototype),u})()},2782:(he,A,o)=>{"use strict";function n(l){setTimeout(()=>{throw l},0)}o.d(A,{z:()=>n})},5379:(he,A,o)=>{"use strict";function n(l){return l}o.d(A,{y:()=>n})},6688:(he,A,o)=>{"use strict";o.d(A,{k:()=>n});const n=Array.isArray||(l=>l&&"number"==typeof l.length)},8515:(he,A,o)=>{"use strict";o.d(A,{z:()=>n});const n=l=>l&&"number"==typeof l.length&&"function"!=typeof l},2697:(he,A,o)=>{"use strict";function n(l){return l instanceof Date&&!isNaN(+l)}o.d(A,{J:()=>n})},7043:(he,A,o)=>{"use strict";function n(l){return"function"==typeof l}o.d(A,{m:()=>n})},4241:(he,A,o)=>{"use strict";o.d(A,{k:()=>l});var n=o(6688);function l(u){return!(0,n.k)(u)&&u-parseFloat(u)+1>=0}},7830:(he,A,o)=>{"use strict";function n(l){return null!==l&&"object"==typeof l}o.d(A,{K:()=>n})},8955:(he,A,o)=>{"use strict";function n(l){return!!l&&"function"!=typeof l.subscribe&&"function"==typeof l.then}o.d(A,{t:()=>n})},2866:(he,A,o)=>{"use strict";function n(l){return l&&"function"==typeof l.schedule}o.d(A,{K:()=>n})},4843:(he,A,o)=>{"use strict";o.d(A,{z:()=>l,U:()=>u});var n=o(5379);function l(...c){return u(c)}function u(c){return 0===c.length?n.y:1===c.length?c[0]:function(d){return c.reduce((m,p)=>p(m),d)}}},9249:(he,A,o)=>{"use strict";o.d(A,{s:()=>h});var n=o(3650),l=o(2782),c=o(5430),d=o(3821),p=o(8515),y=o(8955),b=o(7830);const h=g=>{if(g&&"function"==typeof g[d.L])return(g=>s=>{const C=g[d.L]();if("function"!=typeof C.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return C.subscribe(s)})(g);if((0,p.z)(g))return(0,n.V)(g);if((0,y.t)(g))return(g=>s=>(g.then(C=>{s.closed||(s.next(C),s.complete())},C=>s.error(C)).then(null,l.z),s))(g);if(g&&"function"==typeof g[c.hZ])return(g=>s=>{const C=g[c.hZ]();for(;;){let P;try{P=C.next()}catch(w){return s.error(w),s}if(P.done){s.complete();break}if(s.next(P.value),s.closed)break}return"function"==typeof C.return&&s.add(()=>{C.return&&C.return()}),s})(g);{const C=`You provided ${(0,b.K)(g)?"an invalid object":`'${g}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(C)}}},3650:(he,A,o)=>{"use strict";o.d(A,{V:()=>n});const n=l=>u=>{for(let c=0,r=l.length;c{"use strict";o.d(A,{D:()=>r});var n=o(3489);class l extends n.L{constructor(m,p,y){super(),this.parent=m,this.outerValue=p,this.outerIndex=y,this.index=0}_next(m){this.parent.notifyNext(this.outerValue,m,this.outerIndex,this.index++,this)}_error(m){this.parent.notifyError(m,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var u=o(9249),c=o(6498);function r(d,m,p,y,b=new l(d,p,y)){if(!b.closed)return m instanceof c.y?m.subscribe(b):(0,u.s)(m)(b)}},3460:(he,A,o)=>{"use strict";o.r(A),o.d(A,{audit:()=>n.U,auditTime:()=>l.e,buffer:()=>c,bufferCount:()=>p,bufferTime:()=>C,bufferToggle:()=>Q,bufferWhen:()=>me,catchError:()=>oe.K,combineAll:()=>U,combineLatest:()=>Te,concat:()=>tt,concatAll:()=>ot.u,concatMap:()=>pt.b,concatMapTo:()=>Dt,count:()=>Ie,debounce:()=>bt,debounceTime:()=>dt.b,defaultIfEmpty:()=>Ne.d,delay:()=>rt.g,delayWhen:()=>yt,dematerialize:()=>_,distinct:()=>ce,distinctUntilChanged:()=>ve.x,distinctUntilKeyChanged:()=>Ae,elementAt:()=>Lt,endWith:()=>_t,every:()=>Mt,exhaust:()=>Ot,exhaustMap:()=>B,expand:()=>je,filter:()=>Pt.h,finalize:()=>$t.x,find:()=>vn,findIndex:()=>Ve,first:()=>ut.P,flatMap:()=>Tn.VS,groupBy:()=>Xt,ignoreElements:()=>pi,isEmpty:()=>ri,last:()=>Xe.Z,map:()=>Ee.U,mapTo:()=>J,materialize:()=>ke,max:()=>Rt,merge:()=>Zt,mergeAll:()=>Mn.J,mergeMap:()=>Tn.zg,mergeMapTo:()=>wn,mergeScan:()=>Bn,min:()=>bn,multicast:()=>ui.O,observeOn:()=>Oi,onErrorResumeNext:()=>_i,pairwise:()=>Qi,partition:()=>wi,pluck:()=>ir,publish:()=>nn,publishBehavior:()=>gn,publishLast:()=>oi,publishReplay:()=>Si,race:()=>Gi,reduce:()=>It.u,refCount:()=>Yi.x,repeat:()=>ur,repeatWhen:()=>dr,retry:()=>Xi,retryWhen:()=>Br,sample:()=>Vr,sampleTime:()=>hr,scan:()=>I.R,sequenceEqual:()=>de,share:()=>hn.B,shareReplay:()=>Nn,single:()=>Yn,skip:()=>dn.T,skipLast:()=>fr,skipUntil:()=>jr,skipWhile:()=>Cs,startWith:()=>L.O,subscribeOn:()=>Je,switchAll:()=>Gt,switchMap:()=>St.w,switchMapTo:()=>en,take:()=>gt.q,takeLast:()=>yn.h,takeUntil:()=>pn.R,takeWhile:()=>rn.o,tap:()=>Cn.b,throttle:()=>Gn,throttleTime:()=>vi,throwIfEmpty:()=>Ft.T,timeInterval:()=>xi,timeout:()=>Zr.V,timeoutWith:()=>mr.L,timestamp:()=>gr,toArray:()=>Jr.q,window:()=>tn,windowCount:()=>zn,windowTime:()=>Pn,windowToggle:()=>or,windowWhen:()=>yr,withLatestFrom:()=>Lr,zip:()=>ps,zipAll:()=>ms});var n=o(384),l=o(7568),u=o(1177);function c(We){return function(ee){return ee.lift(new r(We))}}class r{constructor(R){this.closingNotifier=R}call(R,ee){return ee.subscribe(new d(R,this.closingNotifier))}}class d extends u.Ds{constructor(R,ee){super(R),this.buffer=[],this.add((0,u.ft)(ee,new u.IY(this)))}_next(R){this.buffer.push(R)}notifyNext(){const R=this.buffer;this.buffer=[],this.destination.next(R)}}var m=o(3489);function p(We,R=null){return function(Be){return Be.lift(new y(We,R))}}class y{constructor(R,ee){this.bufferSize=R,this.startBufferEvery=ee,this.subscriberClass=ee&&R!==ee?h:b}call(R,ee){return ee.subscribe(new this.subscriberClass(R,this.bufferSize,this.startBufferEvery))}}class b extends m.L{constructor(R,ee){super(R),this.bufferSize=ee,this.buffer=[]}_next(R){const ee=this.buffer;ee.push(R),ee.length==this.bufferSize&&(this.destination.next(ee),this.buffer=[])}_complete(){const R=this.buffer;R.length>0&&this.destination.next(R),super._complete()}}class h extends m.L{constructor(R,ee,Be){super(R),this.bufferSize=ee,this.startBufferEvery=Be,this.buffers=[],this.count=0}_next(R){const{bufferSize:ee,startBufferEvery:Be,buffers:vt,count:jt}=this;this.count++,jt%Be==0&&vt.push([]);for(let Qt=vt.length;Qt--;){const Dn=vt[Qt];Dn.push(R),Dn.length===ee&&(vt.splice(Qt,1),this.destination.next(Dn))}}_complete(){const{buffers:R,destination:ee}=this;for(;R.length>0;){let Be=R.shift();Be.length>0&&ee.next(Be)}super._complete()}}var g=o(353),s=o(2866);function C(We){let R=arguments.length,ee=g.P;(0,s.K)(arguments[arguments.length-1])&&(ee=arguments[arguments.length-1],R--);let Be=null;R>=2&&(Be=arguments[1]);let vt=Number.POSITIVE_INFINITY;return R>=3&&(vt=arguments[2]),function(Qt){return Qt.lift(new P(We,Be,vt,ee))}}class P{constructor(R,ee,Be,vt){this.bufferTimeSpan=R,this.bufferCreationInterval=ee,this.maxBufferSize=Be,this.scheduler=vt}call(R,ee){return ee.subscribe(new D(R,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}class w{constructor(){this.buffer=[]}}class D extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.bufferTimeSpan=ee,this.bufferCreationInterval=Be,this.maxBufferSize=vt,this.scheduler=jt,this.contexts=[];const Qt=this.openContext();if(this.timespanOnly=null==Be||Be<0,this.timespanOnly)this.add(Qt.closeAction=jt.schedule(T,ee,{subscriber:this,context:Qt,bufferTimeSpan:ee}));else{const fi={bufferTimeSpan:ee,bufferCreationInterval:Be,subscriber:this,scheduler:jt};this.add(Qt.closeAction=jt.schedule($,ee,{subscriber:this,context:Qt})),this.add(jt.schedule(Y,Be,fi))}}_next(R){const ee=this.contexts,Be=ee.length;let vt;for(let jt=0;jt0;){const Be=R.shift();ee.next(Be.buffer)}super._complete()}_unsubscribe(){this.contexts=null}onBufferFull(R){this.closeContext(R);const ee=R.closeAction;if(ee.unsubscribe(),this.remove(ee),!this.closed&&this.timespanOnly){R=this.openContext();const Be=this.bufferTimeSpan;this.add(R.closeAction=this.scheduler.schedule(T,Be,{subscriber:this,context:R,bufferTimeSpan:Be}))}}openContext(){const R=new w;return this.contexts.push(R),R}closeContext(R){this.destination.next(R.buffer);const ee=this.contexts;(ee?ee.indexOf(R):-1)>=0&&ee.splice(ee.indexOf(R),1)}}function T(We){const R=We.subscriber,ee=We.context;ee&&R.closeContext(ee),R.closed||(We.context=R.openContext(),We.context.closeAction=this.schedule(We,We.bufferTimeSpan))}function Y(We){const{bufferCreationInterval:R,bufferTimeSpan:ee,subscriber:Be,scheduler:vt}=We,jt=Be.openContext();Be.closed||(Be.add(jt.closeAction=vt.schedule($,ee,{subscriber:Be,context:jt})),this.schedule(We,R))}function $(We){const{subscriber:R,context:ee}=We;R.closeContext(ee)}var z=o(2654),G=o(448),X=o(826);function Q(We,R){return function(Be){return Be.lift(new q(We,R))}}class q{constructor(R,ee){this.openings=R,this.closingSelector=ee}call(R,ee){return ee.subscribe(new ue(R,this.openings,this.closingSelector))}}class ue extends X.L{constructor(R,ee,Be){super(R),this.closingSelector=Be,this.contexts=[],this.add((0,G.D)(this,ee))}_next(R){const ee=this.contexts,Be=ee.length;for(let vt=0;vt0;){const Be=ee.shift();Be.subscription.unsubscribe(),Be.buffer=null,Be.subscription=null}this.contexts=null,super._error(R)}_complete(){const R=this.contexts;for(;R.length>0;){const ee=R.shift();this.destination.next(ee.buffer),ee.subscription.unsubscribe(),ee.buffer=null,ee.subscription=null}this.contexts=null,super._complete()}notifyNext(R,ee){R?this.closeBuffer(R):this.openBuffer(ee)}notifyComplete(R){this.closeBuffer(R.context)}openBuffer(R){try{const Be=this.closingSelector.call(this,R);Be&&this.trySubscribe(Be)}catch(ee){this._error(ee)}}closeBuffer(R){const ee=this.contexts;if(ee&&R){const{buffer:Be,subscription:vt}=R;this.destination.next(Be),ee.splice(ee.indexOf(R),1),this.remove(vt),vt.unsubscribe()}}trySubscribe(R){const ee=this.contexts,vt=new z.w,jt={buffer:[],subscription:vt};ee.push(jt);const Qt=(0,G.D)(this,R,jt);!Qt||Qt.closed?this.closeBuffer(jt):(Qt.context=jt,this.add(Qt),vt.add(Qt))}}function me(We){return function(R){return R.lift(new xe(We))}}class xe{constructor(R){this.closingSelector=R}call(R,ee){return ee.subscribe(new pe(R,this.closingSelector))}}class pe extends u.Ds{constructor(R,ee){super(R),this.closingSelector=ee,this.subscribing=!1,this.openBuffer()}_next(R){this.buffer.push(R)}_complete(){const R=this.buffer;R&&this.destination.next(R),super._complete()}_unsubscribe(){this.buffer=void 0,this.subscribing=!1}notifyNext(){this.openBuffer()}notifyComplete(){this.subscribing?this.complete():this.openBuffer()}openBuffer(){let Be,{closingSubscription:R}=this;R&&(this.remove(R),R.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];try{const{closingSelector:vt}=this;Be=vt()}catch(vt){return this.error(vt)}R=new z.w,this.closingSubscription=R,this.add(R),this.subscribing=!0,R.add((0,u.ft)(Be,new u.IY(this))),this.subscribing=!1}}var oe=o(7221),ae=o(6053);function U(We){return R=>R.lift(new ae.Ms(We))}var ie=o(6688),le=o(5254);function Te(...We){let R=null;return"function"==typeof We[We.length-1]&&(R=We.pop()),1===We.length&&(0,ie.k)(We[0])&&(We=We[0].slice()),ee=>ee.lift.call((0,le.D)([ee,...We]),new ae.Ms(R))}var Ke=o(1961);function tt(...We){return R=>R.lift.call((0,Ke.z)(R,...We))}var ot=o(534),pt=o(1406);function Dt(We,R){return(0,pt.b)(()=>We,R)}function Ie(We){return R=>R.lift(new Qe(We,R))}class Qe{constructor(R,ee){this.predicate=R,this.source=ee}call(R,ee){return ee.subscribe(new ct(R,this.predicate,this.source))}}class ct extends m.L{constructor(R,ee,Be){super(R),this.predicate=ee,this.source=Be,this.count=0,this.index=0}_next(R){this.predicate?this._tryPredicate(R):this.count++}_tryPredicate(R){let ee;try{ee=this.predicate(R,this.index++,this.source)}catch(Be){return void this.destination.error(Be)}ee&&this.count++}_complete(){this.destination.next(this.count),this.destination.complete()}}function bt(We){return R=>R.lift(new Et(We))}class Et{constructor(R){this.durationSelector=R}call(R,ee){return ee.subscribe(new xt(R,this.durationSelector))}}class xt extends u.Ds{constructor(R,ee){super(R),this.durationSelector=ee,this.hasValue=!1}_next(R){try{const ee=this.durationSelector.call(this,R);ee&&this._tryNext(R,ee)}catch(ee){this.destination.error(ee)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(R,ee){let Be=this.durationSubscription;this.value=R,this.hasValue=!0,Be&&(Be.unsubscribe(),this.remove(Be)),Be=(0,u.ft)(ee,new u.IY(this)),Be&&!Be.closed&&this.add(this.durationSubscription=Be)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const R=this.value,ee=this.durationSubscription;ee&&(this.durationSubscription=void 0,ee.unsubscribe(),this.remove(ee)),this.value=void 0,this.hasValue=!1,super._next(R)}}}var dt=o(13),Ne=o(7314),rt=o(943),ze=o(6498);function yt(We,R){return R?ee=>new Z(ee,R).lift(new mt(We)):ee=>ee.lift(new mt(We))}class mt{constructor(R){this.delayDurationSelector=R}call(R,ee){return ee.subscribe(new _e(R,this.delayDurationSelector))}}class _e extends X.L{constructor(R,ee){super(R),this.delayDurationSelector=ee,this.completed=!1,this.delayNotifierSubscriptions=[],this.index=0}notifyNext(R,ee,Be,vt,jt){this.destination.next(R),this.removeSubscription(jt),this.tryComplete()}notifyError(R,ee){this._error(R)}notifyComplete(R){const ee=this.removeSubscription(R);ee&&this.destination.next(ee),this.tryComplete()}_next(R){const ee=this.index++;try{const Be=this.delayDurationSelector(R,ee);Be&&this.tryDelay(Be,R)}catch(Be){this.destination.error(Be)}}_complete(){this.completed=!0,this.tryComplete(),this.unsubscribe()}removeSubscription(R){R.unsubscribe();const ee=this.delayNotifierSubscriptions.indexOf(R);return-1!==ee&&this.delayNotifierSubscriptions.splice(ee,1),R.outerValue}tryDelay(R,ee){const Be=(0,G.D)(this,R,ee);Be&&!Be.closed&&(this.destination.add(Be),this.delayNotifierSubscriptions.push(Be))}tryComplete(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()}}class Z extends ze.y{constructor(R,ee){super(),this.source=R,this.subscriptionDelay=ee}_subscribe(R){this.subscriptionDelay.subscribe(new j(R,this.source))}}class j extends m.L{constructor(R,ee){super(),this.parent=R,this.source=ee,this.sourceSubscribed=!1}_next(R){this.subscribeToSource()}_error(R){this.unsubscribe(),this.parent.error(R)}_complete(){this.unsubscribe(),this.subscribeToSource()}subscribeToSource(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))}}function _(){return function(R){return R.lift(new x)}}class x{call(R,ee){return ee.subscribe(new N(R))}}class N extends m.L{constructor(R){super(R)}_next(R){R.observe(this.destination)}}function ce(We,R){return ee=>ee.lift(new Ue(We,R))}class Ue{constructor(R,ee){this.keySelector=R,this.flushes=ee}call(R,ee){return ee.subscribe(new Oe(R,this.keySelector,this.flushes))}}class Oe extends u.Ds{constructor(R,ee,Be){super(R),this.keySelector=ee,this.values=new Set,Be&&this.add((0,u.ft)(Be,new u.IY(this)))}notifyNext(){this.values.clear()}notifyError(R){this._error(R)}_next(R){this.keySelector?this._useKeySelector(R):this._finalizeNext(R,R)}_useKeySelector(R){let ee;const{destination:Be}=this;try{ee=this.keySelector(R)}catch(vt){return void Be.error(vt)}this._finalizeNext(ee,R)}_finalizeNext(R,ee){const{values:Be}=this;Be.has(R)||(Be.add(R),this.destination.next(ee))}}var ve=o(5778);function Ae(We,R){return(0,ve.x)((ee,Be)=>R?R(ee[We],Be[We]):ee[We]===Be[We])}var nt=o(4231),Pt=o(2198),Ft=o(4907),gt=o(2986);function Lt(We,R){if(We<0)throw new nt.W;const ee=arguments.length>=2;return Be=>Be.pipe((0,Pt.h)((vt,jt)=>jt===We),(0,gt.q)(1),ee?(0,Ne.d)(R):(0,Ft.T)(()=>new nt.W))}var $e=o(1086);function _t(...We){return R=>(0,Ke.z)(R,(0,$e.of)(...We))}function Mt(We,R){return ee=>ee.lift(new Ge(We,R,ee))}class Ge{constructor(R,ee,Be){this.predicate=R,this.thisArg=ee,this.source=Be}call(R,ee){return ee.subscribe(new lt(R,this.predicate,this.thisArg,this.source))}}class lt extends m.L{constructor(R,ee,Be,vt){super(R),this.predicate=ee,this.thisArg=Be,this.source=vt,this.index=0,this.thisArg=Be||this}notifyComplete(R){this.destination.next(R),this.destination.complete()}_next(R){let ee=!1;try{ee=this.predicate.call(this.thisArg,R,this.index++,this.source)}catch(Be){return void this.destination.error(Be)}ee||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function Ot(){return We=>We.lift(new Nt)}class Nt{call(R,ee){return ee.subscribe(new Pe(R))}}class Pe extends u.Ds{constructor(R){super(R),this.hasCompleted=!1,this.hasSubscription=!1}_next(R){this.hasSubscription||(this.hasSubscription=!0,this.add((0,u.ft)(R,new u.IY(this))))}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}var Ee=o(4850);function B(We,R){return R?ee=>ee.pipe(B((Be,vt)=>(0,le.D)(We(Be,vt)).pipe((0,Ee.U)((jt,Qt)=>R(Be,jt,vt,Qt))))):ee=>ee.lift(new V(We))}class V{constructor(R){this.project=R}call(R,ee){return ee.subscribe(new be(R,this.project))}}class be extends u.Ds{constructor(R,ee){super(R),this.project=ee,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(R){this.hasSubscription||this.tryNext(R)}tryNext(R){let ee;const Be=this.index++;try{ee=this.project(R,Be)}catch(vt){return void this.destination.error(vt)}this.hasSubscription=!0,this._innerSub(ee)}_innerSub(R){const ee=new u.IY(this),Be=this.destination;Be.add(ee);const vt=(0,u.ft)(R,ee);vt!==ee&&Be.add(vt)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(R){this.destination.next(R)}notifyError(R){this.destination.error(R)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}function je(We,R=Number.POSITIVE_INFINITY,ee){return R=(R||0)<1?Number.POSITIVE_INFINITY:R,Be=>Be.lift(new Ct(We,R,ee))}class Ct{constructor(R,ee,Be){this.project=R,this.concurrent=ee,this.scheduler=Be}call(R,ee){return ee.subscribe(new Ht(R,this.project,this.concurrent,this.scheduler))}}class Ht extends u.Ds{constructor(R,ee,Be,vt){super(R),this.project=ee,this.concurrent=Be,this.scheduler=vt,this.index=0,this.active=0,this.hasCompleted=!1,Be0&&this._next(R.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()}}var $t=o(537);function vn(We,R){if("function"!=typeof We)throw new TypeError("predicate is not a function");return ee=>ee.lift(new it(We,ee,!1,R))}class it{constructor(R,ee,Be,vt){this.predicate=R,this.source=ee,this.yieldIndex=Be,this.thisArg=vt}call(R,ee){return ee.subscribe(new st(R,this.predicate,this.source,this.yieldIndex,this.thisArg))}}class st extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.predicate=ee,this.source=Be,this.yieldIndex=vt,this.thisArg=jt,this.index=0}notifyComplete(R){const ee=this.destination;ee.next(R),ee.complete(),this.unsubscribe()}_next(R){const{predicate:ee,thisArg:Be}=this,vt=this.index++;try{ee.call(Be||this,R,vt,this.source)&&this.notifyComplete(this.yieldIndex?vt:R)}catch(jt){this.destination.error(jt)}}_complete(){this.notifyComplete(this.yieldIndex?-1:void 0)}}function Ve(We,R){return ee=>ee.lift(new it(We,ee,!0,R))}var ut=o(7224),At=o(8929);function Xt(We,R,ee,Be){return vt=>vt.lift(new Jt(We,R,ee,Be))}class Jt{constructor(R,ee,Be,vt){this.keySelector=R,this.elementSelector=ee,this.durationSelector=Be,this.subjectSelector=vt}call(R,ee){return ee.subscribe(new fn(R,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}class fn extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.keySelector=ee,this.elementSelector=Be,this.durationSelector=vt,this.subjectSelector=jt,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(R){let ee;try{ee=this.keySelector(R)}catch(Be){return void this.error(Be)}this._group(R,ee)}_group(R,ee){let Be=this.groups;Be||(Be=this.groups=new Map);let jt,vt=Be.get(ee);if(this.elementSelector)try{jt=this.elementSelector(R)}catch(Qt){this.error(Qt)}else jt=R;if(!vt){vt=this.subjectSelector?this.subjectSelector():new At.xQ,Be.set(ee,vt);const Qt=new li(ee,vt,this);if(this.destination.next(Qt),this.durationSelector){let Dn;try{Dn=this.durationSelector(new li(ee,vt))}catch(fi){return void this.error(fi)}this.add(Dn.subscribe(new Rn(ee,vt,this)))}}vt.closed||vt.next(jt)}_error(R){const ee=this.groups;ee&&(ee.forEach((Be,vt)=>{Be.error(R)}),ee.clear()),this.destination.error(R)}_complete(){const R=this.groups;R&&(R.forEach((ee,Be)=>{ee.complete()}),R.clear()),this.destination.complete()}removeGroup(R){this.groups.delete(R)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&super.unsubscribe())}}class Rn extends m.L{constructor(R,ee,Be){super(ee),this.key=R,this.group=ee,this.parent=Be}_next(R){this.complete()}_unsubscribe(){const{parent:R,key:ee}=this;this.key=this.parent=null,R&&R.removeGroup(ee)}}class li extends ze.y{constructor(R,ee,Be){super(),this.key=R,this.groupSubject=ee,this.refCountSubscription=Be}_subscribe(R){const ee=new z.w,{refCountSubscription:Be,groupSubject:vt}=this;return Be&&!Be.closed&&ee.add(new ti(Be)),ee.add(vt.subscribe(R)),ee}}class ti extends z.w{constructor(R){super(),this.parent=R,R.count++}unsubscribe(){const R=this.parent;!R.closed&&!this.closed&&(super.unsubscribe(),R.count-=1,0===R.count&&R.attemptedToUnsubscribe&&R.unsubscribe())}}function pi(){return function(R){return R.lift(new Jn)}}class Jn{call(R,ee){return ee.subscribe(new Ln(R))}}class Ln extends m.L{_next(R){}}function ri(){return We=>We.lift(new jn)}class jn{call(R,ee){return ee.subscribe(new Se(R))}}class Se extends m.L{constructor(R){super(R)}notifyComplete(R){const ee=this.destination;ee.next(R),ee.complete()}_next(R){this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var Xe=o(8127);function J(We){return R=>R.lift(new Re(We))}class Re{constructor(R){this.value=R}call(R,ee){return ee.subscribe(new S(R,this.value))}}class S extends m.L{constructor(R,ee){super(R),this.value=ee}_next(R){this.destination.next(this.value)}}var te=o(9312);function ke(){return function(R){return R.lift(new Ye)}}class Ye{call(R,ee){return ee.subscribe(new kt(R))}}class kt extends m.L{constructor(R){super(R)}_next(R){this.destination.next(te.P.createNext(R))}_error(R){const ee=this.destination;ee.next(te.P.createError(R)),ee.complete()}_complete(){const R=this.destination;R.next(te.P.createComplete()),R.complete()}}var It=o(8077);function Rt(We){return(0,It.u)("function"==typeof We?(ee,Be)=>We(ee,Be)>0?ee:Be:(ee,Be)=>ee>Be?ee:Be)}var Yt=o(6787);function Zt(...We){return R=>R.lift.call((0,Yt.T)(R,...We))}var Mn=o(9146),Tn=o(1709);function wn(We,R,ee=Number.POSITIVE_INFINITY){return"function"==typeof R?(0,Tn.zg)(()=>We,R,ee):("number"==typeof R&&(ee=R),(0,Tn.zg)(()=>We,ee))}function Bn(We,R,ee=Number.POSITIVE_INFINITY){return Be=>Be.lift(new An(We,R,ee))}class An{constructor(R,ee,Be){this.accumulator=R,this.seed=ee,this.concurrent=Be}call(R,ee){return ee.subscribe(new kn(R,this.accumulator,this.seed,this.concurrent))}}class kn extends u.Ds{constructor(R,ee,Be,vt){super(R),this.accumulator=ee,this.acc=Be,this.concurrent=vt,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(R){if(this.active0?this._next(R.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())}}function bn(We){return(0,It.u)("function"==typeof We?(ee,Be)=>We(ee,Be)<0?ee:Be:(ee,Be)=>eeR.lift(new si(We))}class si{constructor(R){this.nextSources=R}call(R,ee){return ee.subscribe(new mn(R,this.nextSources))}}class mn extends u.Ds{constructor(R,ee){super(R),this.destination=R,this.nextSources=ee}notifyError(){this.subscribeToNextSource()}notifyComplete(){this.subscribeToNextSource()}_error(R){this.subscribeToNextSource(),this.unsubscribe()}_complete(){this.subscribeToNextSource(),this.unsubscribe()}subscribeToNextSource(){const R=this.nextSources.shift();if(R){const ee=new u.IY(this),Be=this.destination;Be.add(ee);const vt=(0,u.ft)(R,ee);vt!==ee&&Be.add(vt)}else this.destination.complete()}}function Qi(){return We=>We.lift(new Fn)}class Fn{call(R,ee){return ee.subscribe(new xn(R))}}class xn extends m.L{constructor(R){super(R),this.hasPrev=!1}_next(R){let ee;this.hasPrev?ee=[this.prev,R]:this.hasPrev=!0,this.prev=R,ee&&this.destination.next(ee)}}function Ii(We,R){function ee(){return!ee.pred.apply(ee.thisArg,arguments)}return ee.pred=We,ee.thisArg=R,ee}function wi(We,R){return ee=>[(0,Pt.h)(We,R)(ee),(0,Pt.h)(Ii(We,R))(ee)]}function ir(...We){const R=We.length;if(0===R)throw new Error("list of properties cannot be empty.");return ee=>(0,Ee.U)(function(We,R){return Be=>{let vt=Be;for(let jt=0;jtnew At.xQ,We):(0,ui.O)(new At.xQ)}var an=o(591);function gn(We){return R=>(0,ui.O)(new an.X(We))(R)}class Sn extends At.xQ{constructor(){super(...arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}_subscribe(R){return this.hasError?(R.error(this.thrownError),z.w.EMPTY):this.hasCompleted&&this.hasNext?(R.next(this.value),R.complete(),z.w.EMPTY):super._subscribe(R)}next(R){this.hasCompleted||(this.value=R,this.hasNext=!0)}error(R){this.hasCompleted||super.error(R)}complete(){this.hasCompleted=!0,this.hasNext&&super.next(this.value),super.complete()}}function oi(){return We=>(0,ui.O)(new Sn)(We)}var mi=o(6686),lr=o(2268);const Ki=new class extends lr.v{}(class extends mi.o{constructor(R,ee){super(R,ee),this.scheduler=R,this.work=ee}schedule(R,ee=0){return ee>0?super.schedule(R,ee):(this.delay=ee,this.state=R,this.scheduler.flush(this),this)}execute(R,ee){return ee>0||this.closed?super.execute(R,ee):this._execute(R,ee)}requestAsyncId(R,ee,Be=0){return null!==Be&&Be>0||null===Be&&this.delay>0?super.requestAsyncId(R,ee,Be):R.flush(this)}});var Di=o(5279),Cr=o(5283);class Li extends At.xQ{constructor(R=Number.POSITIVE_INFINITY,ee=Number.POSITIVE_INFINITY,Be){super(),this.scheduler=Be,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=R<1?1:R,this._windowTime=ee<1?1:ee,ee===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(R){if(!this.isStopped){const ee=this._events;ee.push(R),ee.length>this._bufferSize&&ee.shift()}super.next(R)}nextTimeWindow(R){this.isStopped||(this._events.push(new Er(this._getNow(),R)),this._trimBufferThenGetEvents()),super.next(R)}_subscribe(R){const ee=this._infiniteTimeWindow,Be=ee?this._events:this._trimBufferThenGetEvents(),vt=this.scheduler,jt=Be.length;let Qt;if(this.closed)throw new Di.N;if(this.isStopped||this.hasError?Qt=z.w.EMPTY:(this.observers.push(R),Qt=new Cr.W(this,R)),vt&&R.add(R=new Xn(R,vt)),ee)for(let Dn=0;Dnee&&(Qt=Math.max(Qt,jt-ee)),Qt>0&&vt.splice(0,Qt),vt}}class Er{constructor(R,ee){this.time=R,this.value=ee}}function Si(We,R,ee,Be){ee&&"function"!=typeof ee&&(Be=ee);const vt="function"==typeof ee?ee:void 0,jt=new Li(We,R,Be);return Qt=>(0,ui.O)(()=>jt,vt)(Qt)}var Vi=o(1946);function Gi(...We){return function(ee){return 1===We.length&&(0,ie.k)(We[0])&&(We=We[0]),ee.lift.call((0,Vi.S3)(ee,...We))}}var Pi=o(8896);function ur(We=-1){return R=>0===We?(0,Pi.c)():R.lift(new cr(We<0?-1:We-1,R))}class cr{constructor(R,ee){this.count=R,this.source=ee}call(R,ee){return ee.subscribe(new di(R,this.count,this.source))}}class di extends m.L{constructor(R,ee,Be){super(R),this.count=ee,this.source=Be}complete(){if(!this.isStopped){const{source:R,count:ee}=this;if(0===ee)return super.complete();ee>-1&&(this.count=ee-1),R.subscribe(this._unsubscribeAndRecycle())}}}function dr(We){return R=>R.lift(new qi(We))}class qi{constructor(R){this.notifier=R}call(R,ee){return ee.subscribe(new $i(R,this.notifier,ee))}}class $i extends u.Ds{constructor(R,ee,Be){super(R),this.notifier=ee,this.source=Be,this.sourceIsBeingSubscribedTo=!0}notifyNext(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}notifyComplete(){if(!1===this.sourceIsBeingSubscribedTo)return super.complete()}complete(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return super.complete();this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}_unsubscribe(){const{notifications:R,retriesSubscription:ee}=this;R&&(R.unsubscribe(),this.notifications=void 0),ee&&(ee.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}_unsubscribeAndRecycle(){const{_unsubscribe:R}=this;return this._unsubscribe=null,super._unsubscribeAndRecycle(),this._unsubscribe=R,this}subscribeToRetries(){let R;this.notifications=new At.xQ;try{const{notifier:ee}=this;R=ee(this.notifications)}catch(ee){return super.complete()}this.retries=R,this.retriesSubscription=(0,u.ft)(R,new u.IY(this))}}function Xi(We=-1){return R=>R.lift(new yi(We,R))}class yi{constructor(R,ee){this.count=R,this.source=ee}call(R,ee){return ee.subscribe(new rr(R,this.count,this.source))}}class rr extends m.L{constructor(R,ee,Be){super(R),this.count=ee,this.source=Be}error(R){if(!this.isStopped){const{source:ee,count:Be}=this;if(0===Be)return super.error(R);Be>-1&&(this.count=Be-1),ee.subscribe(this._unsubscribeAndRecycle())}}}function Br(We){return R=>R.lift(new Rr(We,R))}class Rr{constructor(R,ee){this.notifier=R,this.source=ee}call(R,ee){return ee.subscribe(new Mr(R,this.notifier,this.source))}}class Mr extends u.Ds{constructor(R,ee,Be){super(R),this.notifier=ee,this.source=Be}error(R){if(!this.isStopped){let ee=this.errors,Be=this.retries,vt=this.retriesSubscription;if(Be)this.errors=void 0,this.retriesSubscription=void 0;else{ee=new At.xQ;try{const{notifier:jt}=this;Be=jt(ee)}catch(jt){return super.error(jt)}vt=(0,u.ft)(Be,new u.IY(this))}this._unsubscribeAndRecycle(),this.errors=ee,this.retries=Be,this.retriesSubscription=vt,ee.next(R)}}_unsubscribe(){const{errors:R,retriesSubscription:ee}=this;R&&(R.unsubscribe(),this.errors=void 0),ee&&(ee.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}notifyNext(){const{_unsubscribe:R}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=R,this.source.subscribe(this)}}var Yi=o(4327);function Vr(We){return R=>R.lift(new Wn(We))}class Wn{constructor(R){this.notifier=R}call(R,ee){const Be=new Dr(R),vt=ee.subscribe(Be);return vt.add((0,u.ft)(this.notifier,new u.IY(Be))),vt}}class Dr extends u.Ds{constructor(){super(...arguments),this.hasValue=!1}_next(R){this.value=R,this.hasValue=!0}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}function hr(We,R=g.P){return ee=>ee.lift(new fe(We,R))}class fe{constructor(R,ee){this.period=R,this.scheduler=ee}call(R,ee){return ee.subscribe(new k(R,this.period,this.scheduler))}}class k extends m.L{constructor(R,ee,Be){super(R),this.period=ee,this.scheduler=Be,this.hasValue=!1,this.add(Be.schedule(E,ee,{subscriber:this,period:ee}))}_next(R){this.lastValue=R,this.hasValue=!0}notifyNext(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}function E(We){let{subscriber:R,period:ee}=We;R.notifyNext(),this.schedule(We,ee)}var I=o(2014);function de(We,R){return ee=>ee.lift(new Ze(We,R))}class Ze{constructor(R,ee){this.compareTo=R,this.comparator=ee}call(R,ee){return ee.subscribe(new wt(R,this.compareTo,this.comparator))}}class wt extends m.L{constructor(R,ee,Be){super(R),this.compareTo=ee,this.comparator=Be,this._a=[],this._b=[],this._oneComplete=!1,this.destination.add(ee.subscribe(new Wt(R,this)))}_next(R){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(R),this.checkValues())}_complete(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()}checkValues(){const{_a:R,_b:ee,comparator:Be}=this;for(;R.length>0&&ee.length>0;){let vt=R.shift(),jt=ee.shift(),Qt=!1;try{Qt=Be?Be(vt,jt):vt===jt}catch(Dn){this.destination.error(Dn)}Qt||this.emit(!1)}}emit(R){const{destination:ee}=this;ee.next(R),ee.complete()}nextB(R){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(R),this.checkValues())}completeB(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0}}class Wt extends m.L{constructor(R,ee){super(R),this.parent=ee}_next(R){this.parent.nextB(R)}_error(R){this.parent.error(R),this.unsubscribe()}_complete(){this.parent.completeB(),this.unsubscribe()}}var hn=o(8117);function Nn(We,R,ee){let Be;return Be=We&&"object"==typeof We?We:{bufferSize:We,windowTime:R,refCount:!1,scheduler:ee},vt=>vt.lift(function({bufferSize:We=Number.POSITIVE_INFINITY,windowTime:R=Number.POSITIVE_INFINITY,refCount:ee,scheduler:Be}){let vt,Qt,jt=0,Dn=!1,fi=!1;return function(W){let F;jt++,!vt||Dn?(Dn=!1,vt=new Li(We,R,Be),F=vt.subscribe(this),Qt=W.subscribe({next(ge){vt.next(ge)},error(ge){Dn=!0,vt.error(ge)},complete(){fi=!0,Qt=void 0,vt.complete()}}),fi&&(Qt=void 0)):F=vt.subscribe(this),this.add(()=>{jt--,F.unsubscribe(),F=void 0,Qt&&!fi&&ee&&0===jt&&(Qt.unsubscribe(),Qt=void 0,vt=void 0)})}}(Be))}var Vn=o(4450);function Yn(We){return R=>R.lift(new Qn(We,R))}class Qn{constructor(R,ee){this.predicate=R,this.source=ee}call(R,ee){return ee.subscribe(new ii(R,this.predicate,this.source))}}class ii extends m.L{constructor(R,ee,Be){super(R),this.predicate=ee,this.source=Be,this.seenValue=!1,this.index=0}applySingleValue(R){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=R)}_next(R){const ee=this.index++;this.predicate?this.tryNext(R,ee):this.applySingleValue(R)}tryNext(R,ee){try{this.predicate(R,ee,this.source)&&this.applySingleValue(R)}catch(Be){this.destination.error(Be)}}_complete(){const R=this.destination;this.index>0?(R.next(this.seenValue?this.singleValue:void 0),R.complete()):R.error(new Vn.K)}}var dn=o(1307);function fr(We){return R=>R.lift(new ji(We))}class ji{constructor(R){if(this._skipCount=R,this._skipCount<0)throw new nt.W}call(R,ee){return ee.subscribe(0===this._skipCount?new m.L(R):new sr(R,this._skipCount))}}class sr extends m.L{constructor(R,ee){super(R),this._skipCount=ee,this._count=0,this._ring=new Array(ee)}_next(R){const ee=this._skipCount,Be=this._count++;if(BeR.lift(new Sr(We))}class Sr{constructor(R){this.notifier=R}call(R,ee){return ee.subscribe(new Hr(R,this.notifier))}}class Hr extends u.Ds{constructor(R,ee){super(R),this.hasValue=!1;const Be=new u.IY(this);this.add(Be),this.innerSubscription=Be;const vt=(0,u.ft)(ee,Be);vt!==Be&&(this.add(vt),this.innerSubscription=vt)}_next(R){this.hasValue&&super._next(R)}notifyNext(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()}notifyComplete(){}}function Cs(We){return R=>R.lift(new ye(We))}class ye{constructor(R){this.predicate=R}call(R,ee){return ee.subscribe(new M(R,this.predicate))}}class M extends m.L{constructor(R,ee){super(R),this.predicate=ee,this.skipping=!0,this.index=0}_next(R){const ee=this.destination;this.skipping&&this.tryCallPredicate(R),this.skipping||ee.next(R)}tryCallPredicate(R){try{const ee=this.predicate(R,this.index++);this.skipping=Boolean(ee)}catch(ee){this.destination.error(ee)}}}var L=o(1059),ne=o(8139),we=o(4241);class He extends ze.y{constructor(R,ee=0,Be=ne.e){super(),this.source=R,this.delayTime=ee,this.scheduler=Be,(!(0,we.k)(ee)||ee<0)&&(this.delayTime=0),(!Be||"function"!=typeof Be.schedule)&&(this.scheduler=ne.e)}static create(R,ee=0,Be=ne.e){return new He(R,ee,Be)}static dispatch(R){const{source:ee,subscriber:Be}=R;return this.add(ee.subscribe(Be))}_subscribe(R){return this.scheduler.schedule(He.dispatch,this.delayTime,{source:this.source,subscriber:R})}}function Je(We,R=0){return function(Be){return Be.lift(new at(We,R))}}class at{constructor(R,ee){this.scheduler=R,this.delay=ee}call(R,ee){return new He(ee,this.delay,this.scheduler).subscribe(R)}}var St=o(7545),Vt=o(5379);function Gt(){return(0,St.w)(Vt.y)}function en(We,R){return R?(0,St.w)(()=>We,R):(0,St.w)(()=>We)}var yn=o(2821),pn=o(7625),rn=o(4290),Cn=o(2868);const In={leading:!0,trailing:!1};function Gn(We,R=In){return ee=>ee.lift(new ai(We,!!R.leading,!!R.trailing))}class ai{constructor(R,ee,Be){this.durationSelector=R,this.leading=ee,this.trailing=Be}call(R,ee){return ee.subscribe(new Ci(R,this.durationSelector,this.leading,this.trailing))}}class Ci extends u.Ds{constructor(R,ee,Be,vt){super(R),this.destination=R,this.durationSelector=ee,this._leading=Be,this._trailing=vt,this._hasValue=!1}_next(R){this._hasValue=!0,this._sendValue=R,this._throttled||(this._leading?this.send():this.throttle(R))}send(){const{_hasValue:R,_sendValue:ee}=this;R&&(this.destination.next(ee),this.throttle(ee)),this._hasValue=!1,this._sendValue=void 0}throttle(R){const ee=this.tryDurationSelector(R);ee&&this.add(this._throttled=(0,u.ft)(ee,new u.IY(this)))}tryDurationSelector(R){try{return this.durationSelector(R)}catch(ee){return this.destination.error(ee),null}}throttlingDone(){const{_throttled:R,_trailing:ee}=this;R&&R.unsubscribe(),this._throttled=void 0,ee&&this.send()}notifyNext(){this.throttlingDone()}notifyComplete(){this.throttlingDone()}}function vi(We,R=g.P,ee=In){return Be=>Be.lift(new pr(We,R,ee.leading,ee.trailing))}class pr{constructor(R,ee,Be,vt){this.duration=R,this.scheduler=ee,this.leading=Be,this.trailing=vt}call(R,ee){return ee.subscribe(new ki(R,this.duration,this.scheduler,this.leading,this.trailing))}}class ki extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.duration=ee,this.scheduler=Be,this.leading=vt,this.trailing=jt,this._hasTrailingValue=!1,this._trailingValue=null}_next(R){this.throttled?this.trailing&&(this._trailingValue=R,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(gi,this.duration,{subscriber:this})),this.leading?this.destination.next(R):this.trailing&&(this._trailingValue=R,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const R=this.throttled;R&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),R.unsubscribe(),this.remove(R),this.throttled=null)}}function gi(We){const{subscriber:R}=We;R.clearThrottle()}var Zi=o(8514);function xi(We=g.P){return R=>(0,Zi.P)(()=>R.pipe((0,I.R)(({current:ee},Be)=>({value:Be,current:We.now(),last:ee}),{current:We.now(),value:void 0,last:void 0}),(0,Ee.U)(({current:ee,last:Be,value:vt})=>new Ji(vt,ee-Be))))}class Ji{constructor(R,ee){this.value=R,this.interval=ee}}var Zr=o(7e3),mr=o(2431);function gr(We=g.P){return(0,Ee.U)(R=>new cs(R,We.now()))}class cs{constructor(R,ee){this.value=R,this.timestamp=ee}}var Jr=o(864);function tn(We){return function(ee){return ee.lift(new un(We))}}class un{constructor(R){this.windowBoundaries=R}call(R,ee){const Be=new ln(R),vt=ee.subscribe(Be);return vt.closed||Be.add((0,u.ft)(this.windowBoundaries,new u.IY(Be))),vt}}class ln extends u.Ds{constructor(R){super(R),this.window=new At.xQ,R.next(this.window)}notifyNext(){this.openWindow()}notifyError(R){this._error(R)}notifyComplete(){this._complete()}_next(R){this.window.next(R)}_error(R){this.window.error(R),this.destination.error(R)}_complete(){this.window.complete(),this.destination.complete()}_unsubscribe(){this.window=null}openWindow(){const R=this.window;R&&R.complete();const ee=this.destination,Be=this.window=new At.xQ;ee.next(Be)}}function zn(We,R=0){return function(Be){return Be.lift(new Un(We,R))}}class Un{constructor(R,ee){this.windowSize=R,this.startWindowEvery=ee}call(R,ee){return ee.subscribe(new hi(R,this.windowSize,this.startWindowEvery))}}class hi extends m.L{constructor(R,ee,Be){super(R),this.destination=R,this.windowSize=ee,this.startWindowEvery=Be,this.windows=[new At.xQ],this.count=0,R.next(this.windows[0])}_next(R){const ee=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,Be=this.destination,vt=this.windowSize,jt=this.windows,Qt=jt.length;for(let fi=0;fi=0&&Dn%ee==0&&!this.closed&&jt.shift().complete(),++this.count%ee==0&&!this.closed){const fi=new At.xQ;jt.push(fi),Be.next(fi)}}_error(R){const ee=this.windows;if(ee)for(;ee.length>0&&!this.closed;)ee.shift().error(R);this.destination.error(R)}_complete(){const R=this.windows;if(R)for(;R.length>0&&!this.closed;)R.shift().complete();this.destination.complete()}_unsubscribe(){this.count=0,this.windows=null}}function Pn(We){let R=g.P,ee=null,Be=Number.POSITIVE_INFINITY;return(0,s.K)(arguments[3])&&(R=arguments[3]),(0,s.K)(arguments[2])?R=arguments[2]:(0,we.k)(arguments[2])&&(Be=Number(arguments[2])),(0,s.K)(arguments[1])?R=arguments[1]:(0,we.k)(arguments[1])&&(ee=Number(arguments[1])),function(jt){return jt.lift(new Ai(We,ee,Be,R))}}class Ai{constructor(R,ee,Be,vt){this.windowTimeSpan=R,this.windowCreationInterval=ee,this.maxWindowSize=Be,this.scheduler=vt}call(R,ee){return ee.subscribe(new ds(R,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))}}class ei extends At.xQ{constructor(){super(...arguments),this._numberOfNextedValues=0}next(R){this._numberOfNextedValues++,super.next(R)}get numberOfNextedValues(){return this._numberOfNextedValues}}class ds extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.destination=R,this.windowTimeSpan=ee,this.windowCreationInterval=Be,this.maxWindowSize=vt,this.scheduler=jt,this.windows=[];const Qt=this.openWindow();if(null!==Be&&Be>=0){const fi={windowTimeSpan:ee,windowCreationInterval:Be,subscriber:this,scheduler:jt};this.add(jt.schedule(_r,ee,{subscriber:this,window:Qt,context:null})),this.add(jt.schedule(Ni,Be,fi))}else this.add(jt.schedule(hs,ee,{subscriber:this,window:Qt,windowTimeSpan:ee}))}_next(R){const ee=this.windows,Be=ee.length;for(let vt=0;vt=this.maxWindowSize&&this.closeWindow(jt))}}_error(R){const ee=this.windows;for(;ee.length>0;)ee.shift().error(R);this.destination.error(R)}_complete(){const R=this.windows;for(;R.length>0;){const ee=R.shift();ee.closed||ee.complete()}this.destination.complete()}openWindow(){const R=new ei;return this.windows.push(R),this.destination.next(R),R}closeWindow(R){R.complete();const ee=this.windows;ee.splice(ee.indexOf(R),1)}}function hs(We){const{subscriber:R,windowTimeSpan:ee,window:Be}=We;Be&&R.closeWindow(Be),We.window=R.openWindow(),this.schedule(We,ee)}function Ni(We){const{windowTimeSpan:R,subscriber:ee,scheduler:Be,windowCreationInterval:vt}=We,jt=ee.openWindow();let Dn={action:this,subscription:null};Dn.subscription=Be.schedule(_r,R,{subscriber:ee,window:jt,context:Dn}),this.add(Dn.subscription),this.schedule(We,vt)}function _r(We){const{subscriber:R,window:ee,context:Be}=We;Be&&Be.action&&Be.subscription&&Be.action.remove(Be.subscription),R.closeWindow(ee)}function or(We,R){return ee=>ee.lift(new Hi(We,R))}class Hi{constructor(R,ee){this.openings=R,this.closingSelector=ee}call(R,ee){return ee.subscribe(new zr(R,this.openings,this.closingSelector))}}class zr extends X.L{constructor(R,ee,Be){super(R),this.openings=ee,this.closingSelector=Be,this.contexts=[],this.add(this.openSubscription=(0,G.D)(this,ee,ee))}_next(R){const{contexts:ee}=this;if(ee){const Be=ee.length;for(let vt=0;vt{let ee;return"function"==typeof We[We.length-1]&&(ee=We.pop()),R.lift(new fs(We,ee))}}class fs{constructor(R,ee){this.observables=R,this.project=ee}call(R,ee){return ee.subscribe(new Eo(R,this.observables,this.project))}}class Eo extends X.L{constructor(R,ee,Be){super(R),this.observables=ee,this.project=Be,this.toRespond=[];const vt=ee.length;this.values=new Array(vt);for(let jt=0;jt0){const jt=vt.indexOf(Be);-1!==jt&&vt.splice(jt,1)}}notifyComplete(){}_next(R){if(0===this.toRespond.length){const ee=[R,...this.values];this.project?this._tryProject(ee):this.destination.next(ee)}}_tryProject(R){let ee;try{ee=this.project.apply(this,R)}catch(Be){return void this.destination.error(Be)}this.destination.next(ee)}}var Fs=o(1746);function ps(...We){return function(ee){return ee.lift.call((0,Fs.$R)(ee,...We))}}function ms(We){return R=>R.lift(new Fs.mx(We))}},8951:he=>{"use strict";he.exports=(A,o)=>{if("string"!=typeof A||"string"!=typeof o)throw new TypeError("Expected the arguments to be of type `string`");if(""===o)return[A];const n=A.indexOf(o);return-1===n?[A]:[A.slice(0,n),A.slice(n+o.length)]}},8372:he=>{"use strict";he.exports=A=>encodeURIComponent(A).replace(/[!'()*]/g,o=>`%${o.charCodeAt(0).toString(16).toUpperCase()}`)},1464:(he,A,o)=>{"use strict";o.r(A),o.d(A,{NIL:()=>Et,parse:()=>T,stringify:()=>b,v1:()=>w,v3:()=>Ke,v4:()=>ot,v5:()=>bt,validate:()=>d,version:()=>dt});var n,l=new Uint8Array(16);function u(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(l)}const c=/^(?:[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,d=function(Ne){return"string"==typeof Ne&&c.test(Ne)};for(var m=[],p=0;p<256;++p)m.push((p+256).toString(16).substr(1));const b=function(Ne){var rt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,ze=(m[Ne[rt+0]]+m[Ne[rt+1]]+m[Ne[rt+2]]+m[Ne[rt+3]]+"-"+m[Ne[rt+4]]+m[Ne[rt+5]]+"-"+m[Ne[rt+6]]+m[Ne[rt+7]]+"-"+m[Ne[rt+8]]+m[Ne[rt+9]]+"-"+m[Ne[rt+10]]+m[Ne[rt+11]]+m[Ne[rt+12]]+m[Ne[rt+13]]+m[Ne[rt+14]]+m[Ne[rt+15]]).toLowerCase();if(!d(ze))throw TypeError("Stringified UUID is invalid");return ze};var h,g,s=0,C=0;const w=function(Ne,rt,ze){var yt=rt&&ze||0,mt=rt||new Array(16),_e=(Ne=Ne||{}).node||h,Z=void 0!==Ne.clockseq?Ne.clockseq:g;if(null==_e||null==Z){var j=Ne.random||(Ne.rng||u)();null==_e&&(_e=h=[1|j[0],j[1],j[2],j[3],j[4],j[5]]),null==Z&&(Z=g=16383&(j[6]<<8|j[7]))}var _=void 0!==Ne.msecs?Ne.msecs:Date.now(),x=void 0!==Ne.nsecs?Ne.nsecs:C+1,N=_-s+(x-C)/1e4;if(N<0&&void 0===Ne.clockseq&&(Z=Z+1&16383),(N<0||_>s)&&void 0===Ne.nsecs&&(x=0),x>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=_,C=x,g=Z;var ce=(1e4*(268435455&(_+=122192928e5))+x)%4294967296;mt[yt++]=ce>>>24&255,mt[yt++]=ce>>>16&255,mt[yt++]=ce>>>8&255,mt[yt++]=255&ce;var Ue=_/4294967296*1e4&268435455;mt[yt++]=Ue>>>8&255,mt[yt++]=255&Ue,mt[yt++]=Ue>>>24&15|16,mt[yt++]=Ue>>>16&255,mt[yt++]=Z>>>8|128,mt[yt++]=255&Z;for(var Oe=0;Oe<6;++Oe)mt[yt+Oe]=_e[Oe];return rt||b(mt)},T=function(Ne){if(!d(Ne))throw TypeError("Invalid UUID");var rt,ze=new Uint8Array(16);return ze[0]=(rt=parseInt(Ne.slice(0,8),16))>>>24,ze[1]=rt>>>16&255,ze[2]=rt>>>8&255,ze[3]=255&rt,ze[4]=(rt=parseInt(Ne.slice(9,13),16))>>>8,ze[5]=255&rt,ze[6]=(rt=parseInt(Ne.slice(14,18),16))>>>8,ze[7]=255&rt,ze[8]=(rt=parseInt(Ne.slice(19,23),16))>>>8,ze[9]=255&rt,ze[10]=(rt=parseInt(Ne.slice(24,36),16))/1099511627776&255,ze[11]=rt/4294967296&255,ze[12]=rt>>>24&255,ze[13]=rt>>>16&255,ze[14]=rt>>>8&255,ze[15]=255&rt,ze};function G(Ne,rt,ze){function yt(mt,_e,Z,j){if("string"==typeof mt&&(mt=function(Ne){Ne=unescape(encodeURIComponent(Ne));for(var rt=[],ze=0;ze>>9<<4)+1}function xe(Ne,rt){var ze=(65535&Ne)+(65535&rt);return(Ne>>16)+(rt>>16)+(ze>>16)<<16|65535&ze}function oe(Ne,rt,ze,yt,mt,_e){return xe(function(Ne,rt){return Ne<>>32-rt}(xe(xe(rt,Ne),xe(yt,_e)),mt),ze)}function ae(Ne,rt,ze,yt,mt,_e,Z){return oe(rt&ze|~rt&yt,Ne,rt,mt,_e,Z)}function U(Ne,rt,ze,yt,mt,_e,Z){return oe(rt&yt|ze&~yt,Ne,rt,mt,_e,Z)}function ie(Ne,rt,ze,yt,mt,_e,Z){return oe(rt^ze^yt,Ne,rt,mt,_e,Z)}function le(Ne,rt,ze,yt,mt,_e,Z){return oe(ze^(rt|~yt),Ne,rt,mt,_e,Z)}const Ke=G("v3",48,function(Ne){if("string"==typeof Ne){var rt=unescape(encodeURIComponent(Ne));Ne=new Uint8Array(rt.length);for(var ze=0;ze>5]>>>mt%32&255,Z=parseInt(yt.charAt(_e>>>4&15)+yt.charAt(15&_e),16);rt.push(Z)}return rt}(function(Ne,rt){Ne[rt>>5]|=128<>5]|=(255&Ne[yt/8])<>>32-rt}const bt=G("v5",80,function(Ne){var rt=[1518500249,1859775393,2400959708,3395469782],ze=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof Ne){var yt=unescape(encodeURIComponent(Ne));Ne=[];for(var mt=0;mt>>0;gt=Ft,Ft=Pt,Pt=Dt(nt,30)>>>0,nt=Ae,Ae=_t}ze[0]=ze[0]+Ae>>>0,ze[1]=ze[1]+nt>>>0,ze[2]=ze[2]+Pt>>>0,ze[3]=ze[3]+Ft>>>0,ze[4]=ze[4]+gt>>>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]]}),Et="00000000-0000-0000-0000-000000000000",dt=function(Ne){if(!d(Ne))throw TypeError("Invalid UUID");return parseInt(Ne.substr(14,1),16)}},8926:he=>{function A(n,l,u,c,r,d,m){try{var p=n[d](m),y=p.value}catch(b){return void u(b)}p.done?l(y):Promise.resolve(y).then(c,r)}he.exports=function(n){return function(){var l=this,u=arguments;return new Promise(function(c,r){var d=n.apply(l,u);function m(y){A(d,c,r,m,p,"next",y)}function p(y){A(d,c,r,m,p,"throw",y)}m(void 0)})}},he.exports.default=he.exports,he.exports.__esModule=!0},655:(he,A,o)=>{"use strict";o.r(A),o.d(A,{__extends:()=>l,__assign:()=>u,__rest:()=>c,__decorate:()=>r,__param:()=>d,__metadata:()=>m,__awaiter:()=>p,__generator:()=>y,__createBinding:()=>b,__exportStar:()=>h,__values:()=>g,__read:()=>s,__spread:()=>C,__spreadArrays:()=>P,__spreadArray:()=>w,__await:()=>D,__asyncGenerator:()=>T,__asyncDelegator:()=>Y,__asyncValues:()=>$,__makeTemplateObject:()=>z,__importStar:()=>X,__importDefault:()=>Q,__classPrivateFieldGet:()=>q,__classPrivateFieldSet:()=>ue});var n=function(me,xe){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(pe,oe){pe.__proto__=oe}||function(pe,oe){for(var ae in oe)Object.prototype.hasOwnProperty.call(oe,ae)&&(pe[ae]=oe[ae])})(me,xe)};function l(me,xe){if("function"!=typeof xe&&null!==xe)throw new TypeError("Class extends value "+String(xe)+" is not a constructor or null");function pe(){this.constructor=me}n(me,xe),me.prototype=null===xe?Object.create(xe):(pe.prototype=xe.prototype,new pe)}var u=function(){return u=Object.assign||function(xe){for(var pe,oe=1,ae=arguments.length;oe=0;le--)(ie=me[le])&&(U=(ae<3?ie(U):ae>3?ie(xe,pe,U):ie(xe,pe))||U);return ae>3&&U&&Object.defineProperty(xe,pe,U),U}function d(me,xe){return function(pe,oe){xe(pe,oe,me)}}function m(me,xe){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(me,xe)}function p(me,xe,pe,oe){return new(pe||(pe=Promise))(function(U,ie){function le(Ke){try{Te(oe.next(Ke))}catch(tt){ie(tt)}}function Ce(Ke){try{Te(oe.throw(Ke))}catch(tt){ie(tt)}}function Te(Ke){Ke.done?U(Ke.value):function(U){return U instanceof pe?U:new pe(function(ie){ie(U)})}(Ke.value).then(le,Ce)}Te((oe=oe.apply(me,xe||[])).next())})}function y(me,xe){var oe,ae,U,ie,pe={label:0,sent:function(){if(1&U[0])throw U[1];return U[1]},trys:[],ops:[]};return ie={next:le(0),throw:le(1),return:le(2)},"function"==typeof Symbol&&(ie[Symbol.iterator]=function(){return this}),ie;function le(Te){return function(Ke){return function(Te){if(oe)throw new TypeError("Generator is already executing.");for(;pe;)try{if(oe=1,ae&&(U=2&Te[0]?ae.return:Te[0]?ae.throw||((U=ae.return)&&U.call(ae),0):ae.next)&&!(U=U.call(ae,Te[1])).done)return U;switch(ae=0,U&&(Te=[2&Te[0],U.value]),Te[0]){case 0:case 1:U=Te;break;case 4:return pe.label++,{value:Te[1],done:!1};case 5:pe.label++,ae=Te[1],Te=[0];continue;case 7:Te=pe.ops.pop(),pe.trys.pop();continue;default:if(!(U=(U=pe.trys).length>0&&U[U.length-1])&&(6===Te[0]||2===Te[0])){pe=0;continue}if(3===Te[0]&&(!U||Te[1]>U[0]&&Te[1]=me.length&&(me=void 0),{value:me&&me[oe++],done:!me}}};throw new TypeError(xe?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(me,xe){var pe="function"==typeof Symbol&&me[Symbol.iterator];if(!pe)return me;var ae,ie,oe=pe.call(me),U=[];try{for(;(void 0===xe||xe-- >0)&&!(ae=oe.next()).done;)U.push(ae.value)}catch(le){ie={error:le}}finally{try{ae&&!ae.done&&(pe=oe.return)&&pe.call(oe)}finally{if(ie)throw ie.error}}return U}function C(){for(var me=[],xe=0;xe1||le(ot,pt)})})}function le(ot,pt){try{!function(ot){ot.value instanceof D?Promise.resolve(ot.value.v).then(Te,Ke):tt(U[0][2],ot)}(oe[ot](pt))}catch(Dt){tt(U[0][3],Dt)}}function Te(ot){le("next",ot)}function Ke(ot){le("throw",ot)}function tt(ot,pt){ot(pt),U.shift(),U.length&&le(U[0][0],U[0][1])}}function Y(me){var xe,pe;return xe={},oe("next"),oe("throw",function(ae){throw ae}),oe("return"),xe[Symbol.iterator]=function(){return this},xe;function oe(ae,U){xe[ae]=me[ae]?function(ie){return(pe=!pe)?{value:D(me[ae](ie)),done:"return"===ae}:U?U(ie):ie}:U}}function $(me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,xe=me[Symbol.asyncIterator];return xe?xe.call(me):(me=g(me),pe={},oe("next"),oe("throw"),oe("return"),pe[Symbol.asyncIterator]=function(){return this},pe);function oe(U){pe[U]=me[U]&&function(ie){return new Promise(function(le,Ce){!function(U,ie,le,Ce){Promise.resolve(Ce).then(function(Te){U({value:Te,done:le})},ie)}(le,Ce,(ie=me[U](ie)).done,ie.value)})}}}function z(me,xe){return Object.defineProperty?Object.defineProperty(me,"raw",{value:xe}):me.raw=xe,me}var G=Object.create?function(me,xe){Object.defineProperty(me,"default",{enumerable:!0,value:xe})}:function(me,xe){me.default=xe};function X(me){if(me&&me.__esModule)return me;var xe={};if(null!=me)for(var pe in me)"default"!==pe&&Object.prototype.hasOwnProperty.call(me,pe)&&b(xe,me,pe);return G(xe,me),xe}function Q(me){return me&&me.__esModule?me:{default:me}}function q(me,xe){if(!xe.has(me))throw new TypeError("attempted to get private field on non-instance");return xe.get(me)}function ue(me,xe,pe){if(!xe.has(me))throw new TypeError("attempted to set private field on non-instance");return xe.set(me,pe),pe}},1777:(he,A,o)=>{"use strict";o.d(A,{l3:()=>u,_j:()=>n,LC:()=>l,ZN:()=>T,jt:()=>r,pV:()=>s,F4:()=>b,IO:()=>P,vP:()=>m,SB:()=>y,oB:()=>p,eR:()=>h,X$:()=>c,ZE:()=>Y,k1:()=>$});class n{}class l{}const u="*";function c(z,G){return{type:7,name:z,definitions:G,options:{}}}function r(z,G=null){return{type:4,styles:G,timings:z}}function m(z,G=null){return{type:2,steps:z,options:G}}function p(z){return{type:6,styles:z,offset:null}}function y(z,G,X){return{type:0,name:z,styles:G,options:X}}function b(z){return{type:5,steps:z}}function h(z,G,X=null){return{type:1,expr:z,animation:G,options:X}}function s(z=null){return{type:9,options:z}}function P(z,G,X=null){return{type:11,selector:z,animation:G,options:X}}function D(z){Promise.resolve(null).then(z)}class T{constructor(G=0,X=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=G+X}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(G=>G()),this._onDoneFns=[])}onStart(G){this._onStartFns.push(G)}onDone(G){this._onDoneFns.push(G)}onDestroy(G){this._onDestroyFns.push(G)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){D(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(G=>G()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(G=>G()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(G){this._position=this.totalTime?G*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(G){const X="start"==G?this._onStartFns:this._onDoneFns;X.forEach(Q=>Q()),X.length=0}}class Y{constructor(G){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=G;let X=0,Q=0,q=0;const ue=this.players.length;0==ue?D(()=>this._onFinish()):this.players.forEach(me=>{me.onDone(()=>{++X==ue&&this._onFinish()}),me.onDestroy(()=>{++Q==ue&&this._onDestroy()}),me.onStart(()=>{++q==ue&&this._onStart()})}),this.totalTime=this.players.reduce((me,xe)=>Math.max(me,xe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(G=>G()),this._onDoneFns=[])}init(){this.players.forEach(G=>G.init())}onStart(G){this._onStartFns.push(G)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(G=>G()),this._onStartFns=[])}onDone(G){this._onDoneFns.push(G)}onDestroy(G){this._onDestroyFns.push(G)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(G=>G.play())}pause(){this.players.forEach(G=>G.pause())}restart(){this.players.forEach(G=>G.restart())}finish(){this._onFinish(),this.players.forEach(G=>G.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(G=>G.destroy()),this._onDestroyFns.forEach(G=>G()),this._onDestroyFns=[])}reset(){this.players.forEach(G=>G.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(G){const X=G*this.totalTime;this.players.forEach(Q=>{const q=Q.totalTime?Math.min(1,X/Q.totalTime):1;Q.setPosition(q)})}getPosition(){const G=this.players.reduce((X,Q)=>null===X||Q.totalTime>X.totalTime?Q:X,null);return null!=G?G.getPosition():0}beforeDestroy(){this.players.forEach(G=>{G.beforeDestroy&&G.beforeDestroy()})}triggerCallback(G){const X="start"==G?this._onStartFns:this._onDoneFns;X.forEach(Q=>Q()),X.length=0}}const $="!"},5664:(he,A,o)=>{"use strict";o.d(A,{rt:()=>Pe,s1:()=>ie,$s:()=>pe,Qr:()=>gt,kH:()=>Mt,mK:()=>ze,Em:()=>le,tE:()=>_t,qm:()=>Nt,Kd:()=>Ft,X6:()=>_,yG:()=>x});var n=o(9808),l=o(5e3),u=o(8929),c=o(2654),r=o(591),d=o(1086),m=o(1159),p=o(2868),y=o(13),b=o(2198),h=o(4850),g=o(2986),s=o(1307),C=o(5778),P=o(7625),w=o(3191),D=o(925),T=o(7144);function G(Ee,B){return(Ee.getAttribute(B)||"").match(/\S+/g)||[]}const X="cdk-describedby-message-container",Q="cdk-describedby-message",q="cdk-describedby-host";let ue=0;const me=new Map;let xe=null,pe=(()=>{class Ee{constructor(V){this._document=V}describe(V,be,je){if(!this._canBeDescribed(V,be))return;const Ct=oe(be,je);"string"!=typeof be?(ae(be),me.set(Ct,{messageElement:be,referenceCount:0})):me.has(Ct)||this._createMessageElement(be,je),this._isElementDescribedByMessage(V,Ct)||this._addMessageReference(V,Ct)}removeDescription(V,be,je){if(!be||!this._isElementNode(V))return;const Ct=oe(be,je);if(this._isElementDescribedByMessage(V,Ct)&&this._removeMessageReference(V,Ct),"string"==typeof be){const Ht=me.get(Ct);Ht&&0===Ht.referenceCount&&this._deleteMessageElement(Ct)}xe&&0===xe.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const V=this._document.querySelectorAll(`[${q}]`);for(let be=0;be0!=je.indexOf(Q));V.setAttribute("aria-describedby",be.join(" "))}_addMessageReference(V,be){const je=me.get(be);(function(Ee,B,V){const be=G(Ee,B);be.some(je=>je.trim()==V.trim())||(be.push(V.trim()),Ee.setAttribute(B,be.join(" ")))})(V,"aria-describedby",je.messageElement.id),V.setAttribute(q,""),je.referenceCount++}_removeMessageReference(V,be){const je=me.get(be);je.referenceCount--,function(Ee,B,V){const je=G(Ee,B).filter(Ct=>Ct!=V.trim());je.length?Ee.setAttribute(B,je.join(" ")):Ee.removeAttribute(B)}(V,"aria-describedby",je.messageElement.id),V.removeAttribute(q)}_isElementDescribedByMessage(V,be){const je=G(V,"aria-describedby"),Ct=me.get(be),Ht=Ct&&Ct.messageElement.id;return!!Ht&&-1!=je.indexOf(Ht)}_canBeDescribed(V,be){if(!this._isElementNode(V))return!1;if(be&&"object"==typeof be)return!0;const je=null==be?"":`${be}`.trim(),Ct=V.getAttribute("aria-label");return!(!je||Ct&&Ct.trim()===je)}_isElementNode(V){return V.nodeType===this._document.ELEMENT_NODE}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(n.DOCUMENT))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();function oe(Ee,B){return"string"==typeof Ee?`${B||""}/${Ee}`:Ee}function ae(Ee){Ee.id||(Ee.id=`${Q}-${ue++}`)}class U{constructor(B){this._items=B,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new u.xQ,this._typeaheadSubscription=c.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=V=>V.disabled,this._pressedLetters=[],this.tabOut=new u.xQ,this.change=new u.xQ,B instanceof l.QueryList&&B.changes.subscribe(V=>{if(this._activeItem){const je=V.toArray().indexOf(this._activeItem);je>-1&&je!==this._activeItemIndex&&(this._activeItemIndex=je)}})}skipPredicate(B){return this._skipPredicateFn=B,this}withWrap(B=!0){return this._wrap=B,this}withVerticalOrientation(B=!0){return this._vertical=B,this}withHorizontalOrientation(B){return this._horizontal=B,this}withAllowedModifierKeys(B){return this._allowedModifierKeys=B,this}withTypeAhead(B=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,p.b)(V=>this._pressedLetters.push(V)),(0,y.b)(B),(0,b.h)(()=>this._pressedLetters.length>0),(0,h.U)(()=>this._pressedLetters.join(""))).subscribe(V=>{const be=this._getItemsArray();for(let je=1;je!B[Ct]||this._allowedModifierKeys.indexOf(Ct)>-1);switch(V){case m.Mf:return void this.tabOut.next();case m.JH:if(this._vertical&&je){this.setNextItemActive();break}return;case m.LH:if(this._vertical&&je){this.setPreviousItemActive();break}return;case m.SV:if(this._horizontal&&je){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case m.oh:if(this._horizontal&&je){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case m.Sd:if(this._homeAndEnd&&je){this.setFirstItemActive();break}return;case m.uR:if(this._homeAndEnd&&je){this.setLastItemActive();break}return;default:return void((je||(0,m.Vb)(B,"shiftKey"))&&(B.key&&1===B.key.length?this._letterKeyStream.next(B.key.toLocaleUpperCase()):(V>=m.A&&V<=m.Z||V>=m.xE&&V<=m.aO)&&this._letterKeyStream.next(String.fromCharCode(V))))}this._pressedLetters=[],B.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(B){const V=this._getItemsArray(),be="number"==typeof B?B:V.indexOf(B),je=V[be];this._activeItem=null==je?null:je,this._activeItemIndex=be}_setActiveItemByDelta(B){this._wrap?this._setActiveInWrapMode(B):this._setActiveInDefaultMode(B)}_setActiveInWrapMode(B){const V=this._getItemsArray();for(let be=1;be<=V.length;be++){const je=(this._activeItemIndex+B*be+V.length)%V.length;if(!this._skipPredicateFn(V[je]))return void this.setActiveItem(je)}}_setActiveInDefaultMode(B){this._setActiveItemByIndex(this._activeItemIndex+B,B)}_setActiveItemByIndex(B,V){const be=this._getItemsArray();if(be[B]){for(;this._skipPredicateFn(be[B]);)if(!be[B+=V])return;this.setActiveItem(B)}}_getItemsArray(){return this._items instanceof l.QueryList?this._items.toArray():this._items}}class ie extends U{setActiveItem(B){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(B),this.activeItem&&this.activeItem.setActiveStyles()}}class le extends U{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(B){return this._origin=B,this}setActiveItem(B){super.setActiveItem(B),this.activeItem&&this.activeItem.focus(this._origin)}}let Te=(()=>{class Ee{constructor(V){this._platform=V}isDisabled(V){return V.hasAttribute("disabled")}isVisible(V){return function(Ee){return!!(Ee.offsetWidth||Ee.offsetHeight||"function"==typeof Ee.getClientRects&&Ee.getClientRects().length)}(V)&&"visible"===getComputedStyle(V).visibility}isTabbable(V){if(!this._platform.isBrowser)return!1;const be=function(Ee){try{return Ee.frameElement}catch(B){return null}}(function(Ee){return Ee.ownerDocument&&Ee.ownerDocument.defaultView||window}(V));if(be&&(-1===bt(be)||!this.isVisible(be)))return!1;let je=V.nodeName.toLowerCase(),Ct=bt(V);return V.hasAttribute("contenteditable")?-1!==Ct:!("iframe"===je||"object"===je||this._platform.WEBKIT&&this._platform.IOS&&!function(Ee){let B=Ee.nodeName.toLowerCase(),V="input"===B&&Ee.type;return"text"===V||"password"===V||"select"===B||"textarea"===B}(V))&&("audio"===je?!!V.hasAttribute("controls")&&-1!==Ct:"video"===je?-1!==Ct&&(null!==Ct||this._platform.FIREFOX||V.hasAttribute("controls")):V.tabIndex>=0)}isFocusable(V,be){return function(Ee){return!function(Ee){return function(Ee){return"input"==Ee.nodeName.toLowerCase()}(Ee)&&"hidden"==Ee.type}(Ee)&&(function(Ee){let B=Ee.nodeName.toLowerCase();return"input"===B||"select"===B||"button"===B||"textarea"===B}(Ee)||function(Ee){return function(Ee){return"a"==Ee.nodeName.toLowerCase()}(Ee)&&Ee.hasAttribute("href")}(Ee)||Ee.hasAttribute("contenteditable")||ct(Ee))}(V)&&!this.isDisabled(V)&&((null==be?void 0:be.ignoreVisibility)||this.isVisible(V))}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(D.t4))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();function ct(Ee){if(!Ee.hasAttribute("tabindex")||void 0===Ee.tabIndex)return!1;let B=Ee.getAttribute("tabindex");return!(!B||isNaN(parseInt(B,10)))}function bt(Ee){if(!ct(Ee))return null;const B=parseInt(Ee.getAttribute("tabindex")||"",10);return isNaN(B)?-1:B}class Ne{constructor(B,V,be,je,Ct=!1){this._element=B,this._checker=V,this._ngZone=be,this._document=je,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Ct||this.attachAnchors()}get enabled(){return this._enabled}set enabled(B){this._enabled=B,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(B,this._startAnchor),this._toggleAnchorTabIndex(B,this._endAnchor))}destroy(){const B=this._startAnchor,V=this._endAnchor;B&&(B.removeEventListener("focus",this.startAnchorListener),B.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(B){return new Promise(V=>{this._executeOnStable(()=>V(this.focusInitialElement(B)))})}focusFirstTabbableElementWhenReady(B){return new Promise(V=>{this._executeOnStable(()=>V(this.focusFirstTabbableElement(B)))})}focusLastTabbableElementWhenReady(B){return new Promise(V=>{this._executeOnStable(()=>V(this.focusLastTabbableElement(B)))})}_getRegionBoundary(B){const V=this._element.querySelectorAll(`[cdk-focus-region-${B}], [cdkFocusRegion${B}], [cdk-focus-${B}]`);return"start"==B?V.length?V[0]:this._getFirstTabbableElement(this._element):V.length?V[V.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(B){const V=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(V){if(!this._checker.isFocusable(V)){const be=this._getFirstTabbableElement(V);return null==be||be.focus(B),!!be}return V.focus(B),!0}return this.focusFirstTabbableElement(B)}focusFirstTabbableElement(B){const V=this._getRegionBoundary("start");return V&&V.focus(B),!!V}focusLastTabbableElement(B){const V=this._getRegionBoundary("end");return V&&V.focus(B),!!V}hasAttached(){return this._hasAttached}_getFirstTabbableElement(B){if(this._checker.isFocusable(B)&&this._checker.isTabbable(B))return B;const V=B.children;for(let be=0;be=0;be--){const je=V[be].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(V[be]):null;if(je)return je}return null}_createAnchor(){const B=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,B),B.classList.add("cdk-visually-hidden"),B.classList.add("cdk-focus-trap-anchor"),B.setAttribute("aria-hidden","true"),B}_toggleAnchorTabIndex(B,V){B?V.setAttribute("tabindex","0"):V.removeAttribute("tabindex")}toggleAnchors(B){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(B,this._startAnchor),this._toggleAnchorTabIndex(B,this._endAnchor))}_executeOnStable(B){this._ngZone.isStable?B():this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(B)}}let rt=(()=>{class Ee{constructor(V,be,je){this._checker=V,this._ngZone=be,this._document=je}create(V,be=!1){return new Ne(V,this._checker,this._ngZone,this._document,be)}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(Te),l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(n.DOCUMENT))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),ze=(()=>{class Ee{constructor(V,be,je){this._elementRef=V,this._focusTrapFactory=be,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(V){this.focusTrap.enabled=(0,w.Ig)(V)}get autoCapture(){return this._autoCapture}set autoCapture(V){this._autoCapture=(0,w.Ig)(V)}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 be=V.autoCapture;be&&!be.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,D.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(rt),l.\u0275\u0275directiveInject(n.DOCUMENT))},Ee.\u0275dir=l.\u0275\u0275defineDirective({type:Ee,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[l.\u0275\u0275NgOnChangesFeature]}),Ee})();function _(Ee){return 0===Ee.offsetX&&0===Ee.offsetY}function x(Ee){const B=Ee.touches&&Ee.touches[0]||Ee.changedTouches&&Ee.changedTouches[0];return!(!B||-1!==B.identifier||null!=B.radiusX&&1!==B.radiusX||null!=B.radiusY&&1!==B.radiusY)}const N=new l.InjectionToken("cdk-input-modality-detector-options"),ce={ignoreKeys:[m.zL,m.jx,m.b2,m.MW,m.JU]},Oe=(0,D.i$)({passive:!0,capture:!0});let ve=(()=>{class Ee{constructor(V,be,je,Ct){this._platform=V,this._mostRecentTarget=null,this._modality=new r.X(null),this._lastTouchMs=0,this._onKeydown=Ht=>{var $t,vn;(null===(vn=null===($t=this._options)||void 0===$t?void 0:$t.ignoreKeys)||void 0===vn?void 0:vn.some(it=>it===Ht.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,D.sA)(Ht))},this._onMousedown=Ht=>{Date.now()-this._lastTouchMs<650||(this._modality.next(_(Ht)?"keyboard":"mouse"),this._mostRecentTarget=(0,D.sA)(Ht))},this._onTouchstart=Ht=>{x(Ht)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,D.sA)(Ht))},this._options=Object.assign(Object.assign({},ce),Ct),this.modalityDetected=this._modality.pipe((0,s.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,C.x)()),V.isBrowser&&be.runOutsideAngular(()=>{je.addEventListener("keydown",this._onKeydown,Oe),je.addEventListener("mousedown",this._onMousedown,Oe),je.addEventListener("touchstart",this._onTouchstart,Oe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Oe),document.removeEventListener("mousedown",this._onMousedown,Oe),document.removeEventListener("touchstart",this._onTouchstart,Oe))}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(D.t4),l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(n.DOCUMENT),l.\u0275\u0275inject(N,8))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();const Ae=new l.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Pt=new l.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Ft=(()=>{class Ee{constructor(V,be,je,Ct){this._ngZone=be,this._defaultOptions=Ct,this._document=je,this._liveElement=V||this._createLiveElement()}announce(V,...be){const je=this._defaultOptions;let Ct,Ht;return 1===be.length&&"number"==typeof be[0]?Ht=be[0]:[Ct,Ht]=be,this.clear(),clearTimeout(this._previousTimeout),Ct||(Ct=je&&je.politeness?je.politeness:"polite"),null==Ht&&je&&(Ht=je.duration),this._liveElement.setAttribute("aria-live",Ct),this._ngZone.runOutsideAngular(()=>new Promise($t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=V,$t(),"number"==typeof Ht&&(this._previousTimeout=setTimeout(()=>this.clear(),Ht))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var V;clearTimeout(this._previousTimeout),null===(V=this._liveElement)||void 0===V||V.remove(),this._liveElement=null}_createLiveElement(){const V="cdk-live-announcer-element",be=this._document.getElementsByClassName(V),je=this._document.createElement("div");for(let Ct=0;Ct{class Ee{constructor(V,be,je,Ct){this._elementRef=V,this._liveAnnouncer=be,this._contentObserver=je,this._ngZone=Ct,this._politeness="polite"}get politeness(){return this._politeness}set politeness(V){this._politeness="off"===V||"assertive"===V?V:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const be=this._elementRef.nativeElement.textContent;be!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(be,this._politeness),this._previousAnnouncedText=be)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(Ft),l.\u0275\u0275directiveInject(T.yq),l.\u0275\u0275directiveInject(l.NgZone))},Ee.\u0275dir=l.\u0275\u0275defineDirective({type:Ee,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),Ee})();const Lt=new l.InjectionToken("cdk-focus-monitor-default-options"),$e=(0,D.i$)({passive:!0,capture:!0});let _t=(()=>{class Ee{constructor(V,be,je,Ct,Ht){this._ngZone=V,this._platform=be,this._inputModalityDetector=je,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=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new u.xQ,this._rootNodeFocusAndBlurListener=$t=>{const vn=(0,D.sA)($t),it="focus"===$t.type?this._onFocus:this._onBlur;for(let st=vn;st;st=st.parentElement)it.call(this,$t,st)},this._document=Ct,this._detectionMode=(null==Ht?void 0:Ht.detectionMode)||0}monitor(V,be=!1){const je=(0,w.fI)(V);if(!this._platform.isBrowser||1!==je.nodeType)return(0,d.of)(null);const Ct=(0,D.kV)(je)||this._getDocument(),Ht=this._elementInfo.get(je);if(Ht)return be&&(Ht.checkChildren=!0),Ht.subject;const $t={checkChildren:be,subject:new u.xQ,rootNode:Ct};return this._elementInfo.set(je,$t),this._registerGlobalListeners($t),$t.subject}stopMonitoring(V){const be=(0,w.fI)(V),je=this._elementInfo.get(be);je&&(je.subject.complete(),this._setClasses(be),this._elementInfo.delete(be),this._removeGlobalListeners(je))}focusVia(V,be,je){const Ct=(0,w.fI)(V);Ct===this._getDocument().activeElement?this._getClosestElementsInfo(Ct).forEach(([$t,vn])=>this._originChanged($t,be,vn)):(this._setOrigin(be),"function"==typeof Ct.focus&&Ct.focus(je))}ngOnDestroy(){this._elementInfo.forEach((V,be)=>this.stopMonitoring(be))}_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:"program"}_shouldBeAttributedToTouch(V){return 1===this._detectionMode||!!(null==V?void 0:V.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(V,be){V.classList.toggle("cdk-focused",!!be),V.classList.toggle("cdk-touch-focused","touch"===be),V.classList.toggle("cdk-keyboard-focused","keyboard"===be),V.classList.toggle("cdk-mouse-focused","mouse"===be),V.classList.toggle("cdk-program-focused","program"===be)}_setOrigin(V,be=!1){this._ngZone.runOutsideAngular(()=>{this._origin=V,this._originFromTouchInteraction="touch"===V&&be,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(V,be){const je=this._elementInfo.get(be),Ct=(0,D.sA)(V);!je||!je.checkChildren&&be!==Ct||this._originChanged(be,this._getFocusOrigin(Ct),je)}_onBlur(V,be){const je=this._elementInfo.get(be);!je||je.checkChildren&&V.relatedTarget instanceof Node&&be.contains(V.relatedTarget)||(this._setClasses(be),this._emitOrigin(je.subject,null))}_emitOrigin(V,be){this._ngZone.run(()=>V.next(be))}_registerGlobalListeners(V){if(!this._platform.isBrowser)return;const be=V.rootNode,je=this._rootNodeFocusListenerCount.get(be)||0;je||this._ngZone.runOutsideAngular(()=>{be.addEventListener("focus",this._rootNodeFocusAndBlurListener,$e),be.addEventListener("blur",this._rootNodeFocusAndBlurListener,$e)}),this._rootNodeFocusListenerCount.set(be,je+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,P.R)(this._stopInputModalityDetector)).subscribe(Ct=>{this._setOrigin(Ct,!0)}))}_removeGlobalListeners(V){const be=V.rootNode;if(this._rootNodeFocusListenerCount.has(be)){const je=this._rootNodeFocusListenerCount.get(be);je>1?this._rootNodeFocusListenerCount.set(be,je-1):(be.removeEventListener("focus",this._rootNodeFocusAndBlurListener,$e),be.removeEventListener("blur",this._rootNodeFocusAndBlurListener,$e),this._rootNodeFocusListenerCount.delete(be))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(V,be,je){this._setClasses(V,be),this._emitOrigin(je.subject,be),this._lastFocusOrigin=be}_getClosestElementsInfo(V){const be=[];return this._elementInfo.forEach((je,Ct)=>{(Ct===V||je.checkChildren&&Ct.contains(V))&&be.push([Ct,je])}),be}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(D.t4),l.\u0275\u0275inject(ve),l.\u0275\u0275inject(n.DOCUMENT,8),l.\u0275\u0275inject(Lt,8))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),Mt=(()=>{class Ee{constructor(V,be){this._elementRef=V,this._focusMonitor=be,this.cdkFocusChange=new l.EventEmitter}ngAfterViewInit(){const V=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(V,1===V.nodeType&&V.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(be=>this.cdkFocusChange.emit(be))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(_t))},Ee.\u0275dir=l.\u0275\u0275defineDirective({type:Ee,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),Ee})();const Ge="cdk-high-contrast-black-on-white",lt="cdk-high-contrast-white-on-black",Ot="cdk-high-contrast-active";let Nt=(()=>{class Ee{constructor(V,be){this._platform=V,this._document=be}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 be=this._document.defaultView||window,je=be&&be.getComputedStyle?be.getComputedStyle(V):null,Ct=(je&&je.backgroundColor||"").replace(/ /g,"");switch(V.remove(),Ct){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const V=this._document.body.classList;V.remove(Ot),V.remove(Ge),V.remove(lt),this._hasCheckedHighContrastMode=!0;const be=this.getHighContrastMode();1===be?(V.add(Ot),V.add(Ge)):2===be&&(V.add(Ot),V.add(lt))}}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(D.t4),l.\u0275\u0275inject(n.DOCUMENT))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),Pe=(()=>{class Ee{constructor(V){V._applyBodyHighContrastModeCssClasses()}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(Nt))},Ee.\u0275mod=l.\u0275\u0275defineNgModule({type:Ee}),Ee.\u0275inj=l.\u0275\u0275defineInjector({imports:[[D.ud,T.Q8]]}),Ee})()},226:(he,A,o)=>{"use strict";o.d(A,{vT:()=>y,Is:()=>m});var n=o(5e3),l=o(9808);const u=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,n.inject)(l.DOCUMENT)}}),r=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let m=(()=>{class b{constructor(g){if(this.value="ltr",this.change=new n.EventEmitter,g){const C=g.documentElement?g.documentElement.dir:null;this.value=function(b){const h=(null==b?void 0:b.toLowerCase())||"";return"auto"===h&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?r.test(navigator.language)?"rtl":"ltr":"rtl"===h?"rtl":"ltr"}((g.body?g.body.dir:null)||C||"ltr")}}ngOnDestroy(){this.change.complete()}}return b.\u0275fac=function(g){return new(g||b)(n.\u0275\u0275inject(u,8))},b.\u0275prov=n.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),y=(()=>{class b{}return b.\u0275fac=function(g){return new(g||b)},b.\u0275mod=n.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=n.\u0275\u0275defineInjector({}),b})()},3191:(he,A,o)=>{"use strict";o.d(A,{t6:()=>c,Eq:()=>r,Ig:()=>l,HM:()=>d,fI:()=>m,su:()=>u,du:()=>p});var n=o(5e3);function l(y){return null!=y&&"false"!=`${y}`}function u(y,b=0){return c(y)?Number(y):b}function c(y){return!isNaN(parseFloat(y))&&!isNaN(Number(y))}function r(y){return Array.isArray(y)?y:[y]}function d(y){return null==y?"":"string"==typeof y?y:`${y}px`}function m(y){return y instanceof n.ElementRef?y.nativeElement:y}function p(y,b=/\s+/){const h=[];if(null!=y){const g=Array.isArray(y)?y:`${y}`.split(b);for(const s of g){const C=`${s}`.trim();C&&h.push(C)}}return h}},449:(he,A,o)=>{"use strict";o.d(A,{o2:()=>u,Ov:()=>p,A8:()=>b,yy:()=>d,eX:()=>m,k:()=>h,Z9:()=>c});var n=o(8929),l=o(5e3);class u{}function c(g){return g&&"function"==typeof g.connect}class d{applyChanges(s,C,P,w,D){s.forEachOperation((T,Y,$)=>{let z,G;if(null==T.previousIndex){const X=P(T,Y,$);z=C.createEmbeddedView(X.templateRef,X.context,X.index),G=1}else null==$?(C.remove(Y),G=3):(z=C.get(Y),C.move(z,$),G=2);D&&D({context:null==z?void 0:z.context,operation:G,record:T})})}detach(){}}class m{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(s,C,P,w,D){s.forEachOperation((T,Y,$)=>{let z,G;null==T.previousIndex?(z=this._insertView(()=>P(T,Y,$),$,C,w(T)),G=z?1:0):null==$?(this._detachAndCacheView(Y,C),G=3):(z=this._moveView(Y,$,C,w(T)),G=2),D&&D({context:null==z?void 0:z.context,operation:G,record:T})})}detach(){for(const s of this._viewCache)s.destroy();this._viewCache=[]}_insertView(s,C,P,w){const D=this._insertViewFromCache(C,P);if(D)return void(D.context.$implicit=w);const T=s();return P.createEmbeddedView(T.templateRef,T.context,T.index)}_detachAndCacheView(s,C){const P=C.detach(s);this._maybeCacheView(P,C)}_moveView(s,C,P,w){const D=P.get(s);return P.move(D,C),D.context.$implicit=w,D}_maybeCacheView(s,C){if(this._viewCache.lengththis._markSelected(w)):this._markSelected(C[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...s){this._verifyValueAssignment(s),s.forEach(C=>this._markSelected(C)),this._emitChangeEvent()}deselect(...s){this._verifyValueAssignment(s),s.forEach(C=>this._unmarkSelected(C)),this._emitChangeEvent()}toggle(s){this.isSelected(s)?this.deselect(s):this.select(s)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(s){return this._selection.has(s)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(s){this._multiple&&this.selected&&this._selected.sort(s)}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(s){this.isSelected(s)||(this._multiple||this._unmarkAll(),this._selection.add(s),this._emitChanges&&this._selectedToEmit.push(s))}_unmarkSelected(s){this.isSelected(s)&&(this._selection.delete(s),this._emitChanges&&this._deselectedToEmit.push(s))}_unmarkAll(){this.isEmpty()||this._selection.forEach(s=>this._unmarkSelected(s))}_verifyValueAssignment(s){}}let b=(()=>{class g{constructor(){this._listeners=[]}notify(C,P){for(let w of this._listeners)w(C,P)}listen(C){return this._listeners.push(C),()=>{this._listeners=this._listeners.filter(P=>C!==P)}}ngOnDestroy(){this._listeners=[]}}return g.\u0275fac=function(C){return new(C||g)},g.\u0275prov=l.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac,providedIn:"root"}),g})();const h=new l.InjectionToken("_ViewRepeater")},1159:(he,A,o)=>{"use strict";o.d(A,{A:()=>ot,zL:()=>p,ZH:()=>l,jx:()=>m,JH:()=>$,uR:()=>P,K5:()=>r,hY:()=>h,Sd:()=>w,oh:()=>D,b2:()=>Bn,MW:()=>nt,aO:()=>le,VM:()=>C,Ku:()=>s,SV:()=>Y,JU:()=>d,L_:()=>g,Mf:()=>u,LH:()=>T,Z:()=>Ae,xE:()=>q,Vb:()=>An});const l=8,u=9,r=13,d=16,m=17,p=18,h=27,g=32,s=33,C=34,P=35,w=36,D=37,T=38,Y=39,$=40,q=48,le=57,ot=65,Ae=90,nt=91,Bn=224;function An(kn,...bn){return bn.length?bn.some(ui=>kn[ui]):kn.altKey||kn.shiftKey||kn.ctrlKey||kn.metaKey}},7144:(he,A,o)=>{"use strict";o.d(A,{wD:()=>p,yq:()=>m,Q8:()=>y});var n=o(3191),l=o(5e3),u=o(6498),c=o(8929),r=o(13);let d=(()=>{class b{create(g){return"undefined"==typeof MutationObserver?null:new MutationObserver(g)}}return b.\u0275fac=function(g){return new(g||b)},b.\u0275prov=l.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),m=(()=>{class b{constructor(g){this._mutationObserverFactory=g,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((g,s)=>this._cleanupObserver(s))}observe(g){const s=(0,n.fI)(g);return new u.y(C=>{const w=this._observeElement(s).subscribe(C);return()=>{w.unsubscribe(),this._unobserveElement(s)}})}_observeElement(g){if(this._observedElements.has(g))this._observedElements.get(g).count++;else{const s=new c.xQ,C=this._mutationObserverFactory.create(P=>s.next(P));C&&C.observe(g,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(g,{observer:C,stream:s,count:1})}return this._observedElements.get(g).stream}_unobserveElement(g){this._observedElements.has(g)&&(this._observedElements.get(g).count--,this._observedElements.get(g).count||this._cleanupObserver(g))}_cleanupObserver(g){if(this._observedElements.has(g)){const{observer:s,stream:C}=this._observedElements.get(g);s&&s.disconnect(),C.complete(),this._observedElements.delete(g)}}}return b.\u0275fac=function(g){return new(g||b)(l.\u0275\u0275inject(d))},b.\u0275prov=l.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),p=(()=>{class b{constructor(g,s,C){this._contentObserver=g,this._elementRef=s,this._ngZone=C,this.event=new l.EventEmitter,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(g){this._disabled=(0,n.Ig)(g),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(g){this._debounce=(0,n.su)(g),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const g=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?g.pipe((0,r.b)(this.debounce)):g).subscribe(this.event)})}_unsubscribe(){var g;null===(g=this._currentSubscription)||void 0===g||g.unsubscribe()}}return b.\u0275fac=function(g){return new(g||b)(l.\u0275\u0275directiveInject(m),l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(l.NgZone))},b.\u0275dir=l.\u0275\u0275defineDirective({type:b,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),b})(),y=(()=>{class b{}return b.\u0275fac=function(g){return new(g||b)},b.\u0275mod=l.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=l.\u0275\u0275defineInjector({providers:[d]}),b})()},1314:(he,A,o)=>{"use strict";o.d(A,{pI:()=>Ne,xu:()=>dt,_G:()=>le,aV:()=>bt,X_:()=>Q,U8:()=>yt});var n=o(9071),l=o(9808),u=o(5e3),c=o(3191),r=o(925),d=o(226),m=o(7429),p=o(8929),y=o(2654),b=o(6787),h=o(2986),g=o(7625),s=o(4290),C=o(1159);const P=(0,r.Mq)();class w{constructor(Z,j){this._viewportRuler=Z,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=j}attach(){}enable(){if(this._canBeEnabled()){const Z=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Z.style.left||"",this._previousHTMLStyles.top=Z.style.top||"",Z.style.left=(0,c.HM)(-this._previousScrollPosition.left),Z.style.top=(0,c.HM)(-this._previousScrollPosition.top),Z.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Z=this._document.documentElement,_=Z.style,x=this._document.body.style,N=_.scrollBehavior||"",ce=x.scrollBehavior||"";this._isEnabled=!1,_.left=this._previousHTMLStyles.left,_.top=this._previousHTMLStyles.top,Z.classList.remove("cdk-global-scrollblock"),P&&(_.scrollBehavior=x.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),P&&(_.scrollBehavior=N,x.scrollBehavior=ce)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const j=this._document.body,_=this._viewportRuler.getViewportSize();return j.scrollHeight>_.height||j.scrollWidth>_.width}}class T{constructor(Z,j,_,x){this._scrollDispatcher=Z,this._ngZone=j,this._viewportRuler=_,this._config=x,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Z){this._overlayRef=Z}enable(){if(this._scrollSubscription)return;const Z=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Z.subscribe(()=>{const j=this._viewportRuler.getViewportScrollPosition().top;Math.abs(j-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Z.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Y{enable(){}disable(){}attach(){}}function $(_e,Z){return Z.some(j=>_e.bottomj.bottom||_e.rightj.right)}function z(_e,Z){return Z.some(j=>_e.topj.bottom||_e.leftj.right)}class G{constructor(Z,j,_,x){this._scrollDispatcher=Z,this._viewportRuler=j,this._ngZone=_,this._config=x,this._scrollSubscription=null}attach(Z){this._overlayRef=Z}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 j=this._overlayRef.overlayElement.getBoundingClientRect(),{width:_,height:x}=this._viewportRuler.getViewportSize();$(j,[{width:_,height:x,bottom:x,right:_,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 X=(()=>{class _e{constructor(j,_,x,N){this._scrollDispatcher=j,this._viewportRuler=_,this._ngZone=x,this.noop=()=>new Y,this.close=ce=>new T(this._scrollDispatcher,this._ngZone,this._viewportRuler,ce),this.block=()=>new w(this._viewportRuler,this._document),this.reposition=ce=>new G(this._scrollDispatcher,this._viewportRuler,this._ngZone,ce),this._document=N}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(n.mF),u.\u0275\u0275inject(n.rL),u.\u0275\u0275inject(u.NgZone),u.\u0275\u0275inject(l.DOCUMENT))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();class Q{constructor(Z){if(this.scrollStrategy=new Y,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Z){const j=Object.keys(Z);for(const _ of j)void 0!==Z[_]&&(this[_]=Z[_])}}}class me{constructor(Z,j){this.connectionPair=Z,this.scrollableViewProperties=j}}class oe{constructor(Z,j,_,x,N,ce,Ue,Oe,ve){this._portalOutlet=Z,this._host=j,this._pane=_,this._config=x,this._ngZone=N,this._keyboardDispatcher=ce,this._document=Ue,this._location=Oe,this._outsideClickDispatcher=ve,this._backdropElement=null,this._backdropClick=new p.xQ,this._attachments=new p.xQ,this._detachments=new p.xQ,this._locationChanges=y.w.EMPTY,this._backdropClickHandler=Ae=>this._backdropClick.next(Ae),this._keydownEvents=new p.xQ,this._outsidePointerEvents=new p.xQ,x.scrollStrategy&&(this._scrollStrategy=x.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=x.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Z){let j=this._portalOutlet.attach(Z);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,h.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),j}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Z=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Z}dispose(){var Z;const j=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),null===(Z=this._host)||void 0===Z||Z.remove(),this._previousHostParent=this._pane=this._host=null,j&&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(Z){Z!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Z,this.hasAttached()&&(Z.attach(this),this.updatePosition()))}updateSize(Z){this._config=Object.assign(Object.assign({},this._config),Z),this._updateElementSize()}setDirection(Z){this._config=Object.assign(Object.assign({},this._config),{direction:Z}),this._updateElementDirection()}addPanelClass(Z){this._pane&&this._toggleClasses(this._pane,Z,!0)}removePanelClass(Z){this._pane&&this._toggleClasses(this._pane,Z,!1)}getDirection(){const Z=this._config.direction;return Z?"string"==typeof Z?Z:Z.value:"ltr"}updateScrollStrategy(Z){Z!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Z,this.hasAttached()&&(Z.attach(this),Z.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Z=this._pane.style;Z.width=(0,c.HM)(this._config.width),Z.height=(0,c.HM)(this._config.height),Z.minWidth=(0,c.HM)(this._config.minWidth),Z.minHeight=(0,c.HM)(this._config.minHeight),Z.maxWidth=(0,c.HM)(this._config.maxWidth),Z.maxHeight=(0,c.HM)(this._config.maxHeight)}_togglePointerEvents(Z){this._pane.style.pointerEvents=Z?"":"none"}_attachBackdrop(){const Z="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),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),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Z)})}):this._backdropElement.classList.add(Z)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Z=this._backdropElement;if(!Z)return;let j;const _=()=>{Z&&(Z.removeEventListener("click",this._backdropClickHandler),Z.removeEventListener("transitionend",_),this._disposeBackdrop(Z)),this._config.backdropClass&&this._toggleClasses(Z,this._config.backdropClass,!1),clearTimeout(j)};Z.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Z.addEventListener("transitionend",_)}),Z.style.pointerEvents="none",j=this._ngZone.runOutsideAngular(()=>setTimeout(_,500))}_toggleClasses(Z,j,_){const x=(0,c.Eq)(j||[]).filter(N=>!!N);x.length&&(_?Z.classList.add(...x):Z.classList.remove(...x))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Z=this._ngZone.onStable.pipe((0,g.R)((0,b.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()),Z.unsubscribe())})})}_disposeScrollStrategy(){const Z=this._scrollStrategy;Z&&(Z.disable(),Z.detach&&Z.detach())}_disposeBackdrop(Z){Z&&(Z.remove(),this._backdropElement===Z&&(this._backdropElement=null))}}let ae=(()=>{class _e{constructor(j,_){this._platform=_,this._document=j}ngOnDestroy(){var j;null===(j=this._containerElement)||void 0===j||j.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const j="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const x=this._document.querySelectorAll(`.${j}[platform="server"], .${j}[platform="test"]`);for(let N=0;N{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();const Z=this._originRect,j=this._overlayRect,_=this._viewportRect,x=[];let N;for(let ce of this._preferredPositions){let Ue=this._getOriginPoint(Z,ce),Oe=this._getOverlayPoint(Ue,j,ce),ve=this._getOverlayFit(Oe,j,_,ce);if(ve.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(ce,Ue);this._canFitWithFlexibleDimensions(ve,Oe,_)?x.push({position:ce,origin:Ue,overlayRect:j,boundingBoxRect:this._calculateBoundingBoxRect(Ue,ce)}):(!N||N.overlayFit.visibleAreaUe&&(Ue=ve,ce=Oe)}return this._isPushed=!1,void this._applyPosition(ce.position,ce.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(N.position,N.originPoint);this._applyPosition(N.position,N.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ce(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(U),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const Z=this._lastPosition||this._preferredPositions[0],j=this._getOriginPoint(this._originRect,Z);this._applyPosition(Z,j)}}withScrollableContainers(Z){return this._scrollables=Z,this}withPositions(Z){return this._preferredPositions=Z,-1===Z.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Z){return this._viewportMargin=Z,this}withFlexibleDimensions(Z=!0){return this._hasFlexibleDimensions=Z,this}withGrowAfterOpen(Z=!0){return this._growAfterOpen=Z,this}withPush(Z=!0){return this._canPush=Z,this}withLockedPosition(Z=!0){return this._positionLocked=Z,this}setOrigin(Z){return this._origin=Z,this}withDefaultOffsetX(Z){return this._offsetX=Z,this}withDefaultOffsetY(Z){return this._offsetY=Z,this}withTransformOriginOn(Z){return this._transformOriginSelector=Z,this}_getOriginPoint(Z,j){let _,x;if("center"==j.originX)_=Z.left+Z.width/2;else{const N=this._isRtl()?Z.right:Z.left,ce=this._isRtl()?Z.left:Z.right;_="start"==j.originX?N:ce}return x="center"==j.originY?Z.top+Z.height/2:"top"==j.originY?Z.top:Z.bottom,{x:_,y:x}}_getOverlayPoint(Z,j,_){let x,N;return x="center"==_.overlayX?-j.width/2:"start"===_.overlayX?this._isRtl()?-j.width:0:this._isRtl()?0:-j.width,N="center"==_.overlayY?-j.height/2:"top"==_.overlayY?0:-j.height,{x:Z.x+x,y:Z.y+N}}_getOverlayFit(Z,j,_,x){const N=Ke(j);let{x:ce,y:Ue}=Z,Oe=this._getOffset(x,"x"),ve=this._getOffset(x,"y");Oe&&(ce+=Oe),ve&&(Ue+=ve);let Pt=0-Ue,Ft=Ue+N.height-_.height,gt=this._subtractOverflows(N.width,0-ce,ce+N.width-_.width),Lt=this._subtractOverflows(N.height,Pt,Ft),$e=gt*Lt;return{visibleArea:$e,isCompletelyWithinViewport:N.width*N.height===$e,fitsInViewportVertically:Lt===N.height,fitsInViewportHorizontally:gt==N.width}}_canFitWithFlexibleDimensions(Z,j,_){if(this._hasFlexibleDimensions){const x=_.bottom-j.y,N=_.right-j.x,ce=Te(this._overlayRef.getConfig().minHeight),Ue=Te(this._overlayRef.getConfig().minWidth),ve=Z.fitsInViewportHorizontally||null!=Ue&&Ue<=N;return(Z.fitsInViewportVertically||null!=ce&&ce<=x)&&ve}return!1}_pushOverlayOnScreen(Z,j,_){if(this._previousPushAmount&&this._positionLocked)return{x:Z.x+this._previousPushAmount.x,y:Z.y+this._previousPushAmount.y};const x=Ke(j),N=this._viewportRect,ce=Math.max(Z.x+x.width-N.width,0),Ue=Math.max(Z.y+x.height-N.height,0),Oe=Math.max(N.top-_.top-Z.y,0),ve=Math.max(N.left-_.left-Z.x,0);let Ae=0,nt=0;return Ae=x.width<=N.width?ve||-ce:Z.xgt&&!this._isInitialRender&&!this._growAfterOpen&&(ce=Z.y-gt/2)}if("end"===j.overlayX&&!x||"start"===j.overlayX&&x)Pt=_.width-Z.x+this._viewportMargin,Ae=Z.x-this._viewportMargin;else if("start"===j.overlayX&&!x||"end"===j.overlayX&&x)nt=Z.x,Ae=_.right-Z.x;else{const Ft=Math.min(_.right-Z.x+_.left,Z.x),gt=this._lastBoundingBoxSize.width;Ae=2*Ft,nt=Z.x-Ft,Ae>gt&&!this._isInitialRender&&!this._growAfterOpen&&(nt=Z.x-gt/2)}return{top:ce,left:nt,bottom:Ue,right:Pt,width:Ae,height:N}}_setBoundingBoxStyles(Z,j){const _=this._calculateBoundingBoxRect(Z,j);!this._isInitialRender&&!this._growAfterOpen&&(_.height=Math.min(_.height,this._lastBoundingBoxSize.height),_.width=Math.min(_.width,this._lastBoundingBoxSize.width));const x={};if(this._hasExactPosition())x.top=x.left="0",x.bottom=x.right=x.maxHeight=x.maxWidth="",x.width=x.height="100%";else{const N=this._overlayRef.getConfig().maxHeight,ce=this._overlayRef.getConfig().maxWidth;x.height=(0,c.HM)(_.height),x.top=(0,c.HM)(_.top),x.bottom=(0,c.HM)(_.bottom),x.width=(0,c.HM)(_.width),x.left=(0,c.HM)(_.left),x.right=(0,c.HM)(_.right),x.alignItems="center"===j.overlayX?"center":"end"===j.overlayX?"flex-end":"flex-start",x.justifyContent="center"===j.overlayY?"center":"bottom"===j.overlayY?"flex-end":"flex-start",N&&(x.maxHeight=(0,c.HM)(N)),ce&&(x.maxWidth=(0,c.HM)(ce))}this._lastBoundingBoxSize=_,Ce(this._boundingBox.style,x)}_resetBoundingBoxStyles(){Ce(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ce(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Z,j){const _={},x=this._hasExactPosition(),N=this._hasFlexibleDimensions,ce=this._overlayRef.getConfig();if(x){const Ae=this._viewportRuler.getViewportScrollPosition();Ce(_,this._getExactOverlayY(j,Z,Ae)),Ce(_,this._getExactOverlayX(j,Z,Ae))}else _.position="static";let Ue="",Oe=this._getOffset(j,"x"),ve=this._getOffset(j,"y");Oe&&(Ue+=`translateX(${Oe}px) `),ve&&(Ue+=`translateY(${ve}px)`),_.transform=Ue.trim(),ce.maxHeight&&(x?_.maxHeight=(0,c.HM)(ce.maxHeight):N&&(_.maxHeight="")),ce.maxWidth&&(x?_.maxWidth=(0,c.HM)(ce.maxWidth):N&&(_.maxWidth="")),Ce(this._pane.style,_)}_getExactOverlayY(Z,j,_){let x={top:"",bottom:""},N=this._getOverlayPoint(j,this._overlayRect,Z);this._isPushed&&(N=this._pushOverlayOnScreen(N,this._overlayRect,_));let ce=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return N.y-=ce,"bottom"===Z.overlayY?x.bottom=this._document.documentElement.clientHeight-(N.y+this._overlayRect.height)+"px":x.top=(0,c.HM)(N.y),x}_getExactOverlayX(Z,j,_){let ce,x={left:"",right:""},N=this._getOverlayPoint(j,this._overlayRect,Z);return this._isPushed&&(N=this._pushOverlayOnScreen(N,this._overlayRect,_)),ce=this._isRtl()?"end"===Z.overlayX?"left":"right":"end"===Z.overlayX?"right":"left","right"===ce?x.right=this._document.documentElement.clientWidth-(N.x+this._overlayRect.width)+"px":x.left=(0,c.HM)(N.x),x}_getScrollVisibility(){const Z=this._getOriginRect(),j=this._pane.getBoundingClientRect(),_=this._scrollables.map(x=>x.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:z(Z,_),isOriginOutsideView:$(Z,_),isOverlayClipped:z(j,_),isOverlayOutsideView:$(j,_)}}_subtractOverflows(Z,...j){return j.reduce((_,x)=>_-Math.max(x,0),Z)}_getNarrowedViewportRect(){const Z=this._document.documentElement.clientWidth,j=this._document.documentElement.clientHeight,_=this._viewportRuler.getViewportScrollPosition();return{top:_.top+this._viewportMargin,left:_.left+this._viewportMargin,right:_.left+Z-this._viewportMargin,bottom:_.top+j-this._viewportMargin,width:Z-2*this._viewportMargin,height:j-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Z,j){return"x"===j?null==Z.offsetX?this._offsetX:Z.offsetX:null==Z.offsetY?this._offsetY:Z.offsetY}_validatePositions(){}_addPanelClasses(Z){this._pane&&(0,c.Eq)(Z).forEach(j=>{""!==j&&-1===this._appliedPanelClasses.indexOf(j)&&(this._appliedPanelClasses.push(j),this._pane.classList.add(j))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Z=>{this._pane.classList.remove(Z)}),this._appliedPanelClasses=[])}_getOriginRect(){const Z=this._origin;if(Z instanceof u.ElementRef)return Z.nativeElement.getBoundingClientRect();if(Z instanceof Element)return Z.getBoundingClientRect();const j=Z.width||0,_=Z.height||0;return{top:Z.y,bottom:Z.y+_,left:Z.x,right:Z.x+j,height:_,width:j}}}function Ce(_e,Z){for(let j in Z)Z.hasOwnProperty(j)&&(_e[j]=Z[j]);return _e}function Te(_e){if("number"!=typeof _e&&null!=_e){const[Z,j]=_e.split(ie);return j&&"px"!==j?null:parseFloat(Z)}return _e||null}function Ke(_e){return{top:Math.floor(_e.top),right:Math.floor(_e.right),bottom:Math.floor(_e.bottom),left:Math.floor(_e.left),width:Math.floor(_e.width),height:Math.floor(_e.height)}}const tt="cdk-global-overlay-wrapper";class ot{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(Z){const j=Z.getConfig();this._overlayRef=Z,this._width&&!j.width&&Z.updateSize({width:this._width}),this._height&&!j.height&&Z.updateSize({height:this._height}),Z.hostElement.classList.add(tt),this._isDisposed=!1}top(Z=""){return this._bottomOffset="",this._topOffset=Z,this._alignItems="flex-start",this}left(Z=""){return this._rightOffset="",this._leftOffset=Z,this._justifyContent="flex-start",this}bottom(Z=""){return this._topOffset="",this._bottomOffset=Z,this._alignItems="flex-end",this}right(Z=""){return this._leftOffset="",this._rightOffset=Z,this._justifyContent="flex-end",this}width(Z=""){return this._overlayRef?this._overlayRef.updateSize({width:Z}):this._width=Z,this}height(Z=""){return this._overlayRef?this._overlayRef.updateSize({height:Z}):this._height=Z,this}centerHorizontally(Z=""){return this.left(Z),this._justifyContent="center",this}centerVertically(Z=""){return this.top(Z),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Z=this._overlayRef.overlayElement.style,j=this._overlayRef.hostElement.style,_=this._overlayRef.getConfig(),{width:x,height:N,maxWidth:ce,maxHeight:Ue}=_,Oe=!("100%"!==x&&"100vw"!==x||ce&&"100%"!==ce&&"100vw"!==ce),ve=!("100%"!==N&&"100vh"!==N||Ue&&"100%"!==Ue&&"100vh"!==Ue);Z.position=this._cssPosition,Z.marginLeft=Oe?"0":this._leftOffset,Z.marginTop=ve?"0":this._topOffset,Z.marginBottom=this._bottomOffset,Z.marginRight=this._rightOffset,Oe?j.justifyContent="flex-start":"center"===this._justifyContent?j.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?j.justifyContent="flex-end":"flex-end"===this._justifyContent&&(j.justifyContent="flex-start"):j.justifyContent=this._justifyContent,j.alignItems=ve?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Z=this._overlayRef.overlayElement.style,j=this._overlayRef.hostElement,_=j.style;j.classList.remove(tt),_.justifyContent=_.alignItems=Z.marginTop=Z.marginBottom=Z.marginLeft=Z.marginRight=Z.position="",this._overlayRef=null,this._isDisposed=!0}}let pt=(()=>{class _e{constructor(j,_,x,N){this._viewportRuler=j,this._document=_,this._platform=x,this._overlayContainer=N}global(){return new ot}flexibleConnectedTo(j){return new le(j,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(n.rL),u.\u0275\u0275inject(l.DOCUMENT),u.\u0275\u0275inject(r.t4),u.\u0275\u0275inject(ae))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),Dt=(()=>{class _e{constructor(j){this._attachedOverlays=[],this._document=j}ngOnDestroy(){this.detach()}add(j){this.remove(j),this._attachedOverlays.push(j)}remove(j){const _=this._attachedOverlays.indexOf(j);_>-1&&this._attachedOverlays.splice(_,1),0===this._attachedOverlays.length&&this.detach()}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(l.DOCUMENT))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),Ie=(()=>{class _e extends Dt{constructor(j){super(j),this._keydownListener=_=>{const x=this._attachedOverlays;for(let N=x.length-1;N>-1;N--)if(x[N]._keydownEvents.observers.length>0){x[N]._keydownEvents.next(_);break}}}add(j){super.add(j),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(l.DOCUMENT))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),Qe=(()=>{class _e extends Dt{constructor(j,_){super(j),this._platform=_,this._cursorStyleIsSet=!1,this._pointerDownListener=x=>{this._pointerDownEventTarget=(0,r.sA)(x)},this._clickListener=x=>{const N=(0,r.sA)(x),ce="click"===x.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:N;this._pointerDownEventTarget=null;const Ue=this._attachedOverlays.slice();for(let Oe=Ue.length-1;Oe>-1;Oe--){const ve=Ue[Oe];if(!(ve._outsidePointerEvents.observers.length<1)&&ve.hasAttached()){if(ve.overlayElement.contains(N)||ve.overlayElement.contains(ce))break;ve._outsidePointerEvents.next(x)}}}}add(j){if(super.add(j),!this._isAttached){const _=this._document.body;_.addEventListener("pointerdown",this._pointerDownListener,!0),_.addEventListener("click",this._clickListener,!0),_.addEventListener("auxclick",this._clickListener,!0),_.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=_.style.cursor,_.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const j=this._document.body;j.removeEventListener("pointerdown",this._pointerDownListener,!0),j.removeEventListener("click",this._clickListener,!0),j.removeEventListener("auxclick",this._clickListener,!0),j.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(j.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(l.DOCUMENT),u.\u0275\u0275inject(r.t4))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),ct=0,bt=(()=>{class _e{constructor(j,_,x,N,ce,Ue,Oe,ve,Ae,nt,Pt){this.scrollStrategies=j,this._overlayContainer=_,this._componentFactoryResolver=x,this._positionBuilder=N,this._keyboardDispatcher=ce,this._injector=Ue,this._ngZone=Oe,this._document=ve,this._directionality=Ae,this._location=nt,this._outsideClickDispatcher=Pt}create(j){const _=this._createHostElement(),x=this._createPaneElement(_),N=this._createPortalOutlet(x),ce=new Q(j);return ce.direction=ce.direction||this._directionality.value,new oe(N,_,x,ce,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(j){const _=this._document.createElement("div");return _.id="cdk-overlay-"+ct++,_.classList.add("cdk-overlay-pane"),j.appendChild(_),_}_createHostElement(){const j=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(j),j}_createPortalOutlet(j){return this._appRef||(this._appRef=this._injector.get(u.ApplicationRef)),new m.u0(j,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(X),u.\u0275\u0275inject(ae),u.\u0275\u0275inject(u.ComponentFactoryResolver),u.\u0275\u0275inject(pt),u.\u0275\u0275inject(Ie),u.\u0275\u0275inject(u.Injector),u.\u0275\u0275inject(u.NgZone),u.\u0275\u0275inject(l.DOCUMENT),u.\u0275\u0275inject(d.Is),u.\u0275\u0275inject(l.Location),u.\u0275\u0275inject(Qe))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac}),_e})();const Et=[{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"}],xt=new u.InjectionToken("cdk-connected-overlay-scroll-strategy");let dt=(()=>{class _e{constructor(j){this.elementRef=j}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275directiveInject(u.ElementRef))},_e.\u0275dir=u.\u0275\u0275defineDirective({type:_e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),_e})(),Ne=(()=>{class _e{constructor(j,_,x,N,ce){this._overlay=j,this._dir=ce,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=y.w.EMPTY,this._attachSubscription=y.w.EMPTY,this._detachSubscription=y.w.EMPTY,this._positionSubscription=y.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new u.EventEmitter,this.positionChange=new u.EventEmitter,this.attach=new u.EventEmitter,this.detach=new u.EventEmitter,this.overlayKeydown=new u.EventEmitter,this.overlayOutsideClick=new u.EventEmitter,this._templatePortal=new m.UE(_,x),this._scrollStrategyFactory=N,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(j){this._offsetX=j,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(j){this._offsetY=j,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(j){this._hasBackdrop=(0,c.Ig)(j)}get lockPosition(){return this._lockPosition}set lockPosition(j){this._lockPosition=(0,c.Ig)(j)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(j){this._flexibleDimensions=(0,c.Ig)(j)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(j){this._growAfterOpen=(0,c.Ig)(j)}get push(){return this._push}set push(j){this._push=(0,c.Ig)(j)}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(j){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),j.origin&&this.open&&this._position.apply()),j.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Et);const j=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=j.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=j.detachments().subscribe(()=>this.detach.emit()),j.keydownEvents().subscribe(_=>{this.overlayKeydown.next(_),_.keyCode===C.hY&&!this.disableClose&&!(0,C.Vb)(_)&&(_.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(_=>{this.overlayOutsideClick.next(_)})}_buildConfig(){const j=this._position=this.positionStrategy||this._createPositionStrategy(),_=new Q({direction:this._dir,positionStrategy:j,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(_.width=this.width),(this.height||0===this.height)&&(_.height=this.height),(this.minWidth||0===this.minWidth)&&(_.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(_.minHeight=this.minHeight),this.backdropClass&&(_.backdropClass=this.backdropClass),this.panelClass&&(_.panelClass=this.panelClass),_}_updatePositionStrategy(j){const _=this.positions.map(x=>({originX:x.originX,originY:x.originY,overlayX:x.overlayX,overlayY:x.overlayY,offsetX:x.offsetX||this.offsetX,offsetY:x.offsetY||this.offsetY,panelClass:x.panelClass||void 0}));return j.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(_).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const j=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(j),j}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof dt?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(j=>{this.backdropClick.emit(j)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,s.o)(()=>this.positionChange.observers.length>0)).subscribe(j=>{this.positionChange.emit(j),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275directiveInject(bt),u.\u0275\u0275directiveInject(u.TemplateRef),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(xt),u.\u0275\u0275directiveInject(d.Is,8))},_e.\u0275dir=u.\u0275\u0275defineDirective({type:_e,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"],features:[u.\u0275\u0275NgOnChangesFeature]}),_e})();const ze={provide:xt,deps:[bt],useFactory:function(_e){return()=>_e.scrollStrategies.reposition()}};let yt=(()=>{class _e{}return _e.\u0275fac=function(j){return new(j||_e)},_e.\u0275mod=u.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=u.\u0275\u0275defineInjector({providers:[bt,ze],imports:[[d.vT,m.eL,n.Cl],n.Cl]}),_e})()},925:(he,A,o)=>{"use strict";o.d(A,{t4:()=>c,ud:()=>r,sA:()=>$,ht:()=>Y,kV:()=>T,Oy:()=>z,qK:()=>p,i$:()=>h,Mq:()=>C});var n=o(5e3),l=o(9808);let u;try{u="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(G){u=!1}let d,c=(()=>{class G{constructor(Q){this._platformId=Q,this.isBrowser=this._platformId?(0,l.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&&!u)&&"undefined"!=typeof CSS&&!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 G.\u0275fac=function(Q){return new(Q||G)(n.\u0275\u0275inject(n.PLATFORM_ID))},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),r=(()=>{class G{}return G.\u0275fac=function(Q){return new(Q||G)},G.\u0275mod=n.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=n.\u0275\u0275defineInjector({}),G})();const m=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function p(){if(d)return d;if("object"!=typeof document||!document)return d=new Set(m),d;let G=document.createElement("input");return d=new Set(m.filter(X=>(G.setAttribute("type",X),G.type===X))),d}let y,s,w;function h(G){return function(){if(null==y&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>y=!0}))}finally{y=y||!1}return y}()?G:!!G.capture}function C(){if(null==s){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return s=!1,s;if("scrollBehavior"in document.documentElement.style)s=!0;else{const G=Element.prototype.scrollTo;s=!!G&&!/\{\s*\[native code\]\s*\}/.test(G.toString())}}return s}function T(G){if(function(){if(null==w){const G="undefined"!=typeof document?document.head:null;w=!(!G||!G.createShadowRoot&&!G.attachShadow)}return w}()){const X=G.getRootNode?G.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&X instanceof ShadowRoot)return X}return null}function Y(){let G="undefined"!=typeof document&&document?document.activeElement:null;for(;G&&G.shadowRoot;){const X=G.shadowRoot.activeElement;if(X===G)break;G=X}return G}function $(G){return G.composedPath?G.composedPath()[0]:G.target}function z(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(he,A,o)=>{"use strict";o.d(A,{ig:()=>D,Pl:()=>Y,C5:()=>b,u0:()=>P,eL:()=>z,UE:()=>h});var n=o(5e3),l=o(9808);class y{attach(Q){return this._attachedHost=Q,Q.attach(this)}detach(){let Q=this._attachedHost;null!=Q&&(this._attachedHost=null,Q.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Q){this._attachedHost=Q}}class b extends y{constructor(Q,q,ue,me){super(),this.component=Q,this.viewContainerRef=q,this.injector=ue,this.componentFactoryResolver=me}}class h extends y{constructor(Q,q,ue){super(),this.templateRef=Q,this.viewContainerRef=q,this.context=ue}get origin(){return this.templateRef.elementRef}attach(Q,q=this.context){return this.context=q,super.attach(Q)}detach(){return this.context=void 0,super.detach()}}class g extends y{constructor(Q){super(),this.element=Q instanceof n.ElementRef?Q.nativeElement:Q}}class s{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Q){return Q instanceof b?(this._attachedPortal=Q,this.attachComponentPortal(Q)):Q instanceof h?(this._attachedPortal=Q,this.attachTemplatePortal(Q)):this.attachDomPortal&&Q instanceof g?(this._attachedPortal=Q,this.attachDomPortal(Q)):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(Q){this._disposeFn=Q}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class P extends s{constructor(Q,q,ue,me,xe){super(),this.outletElement=Q,this._componentFactoryResolver=q,this._appRef=ue,this._defaultInjector=me,this.attachDomPortal=pe=>{const oe=pe.element,ae=this._document.createComment("dom-portal");oe.parentNode.insertBefore(ae,oe),this.outletElement.appendChild(oe),this._attachedPortal=pe,super.setDisposeFn(()=>{ae.parentNode&&ae.parentNode.replaceChild(oe,ae)})},this._document=xe}attachComponentPortal(Q){const ue=(Q.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Q.component);let me;return Q.viewContainerRef?(me=Q.viewContainerRef.createComponent(ue,Q.viewContainerRef.length,Q.injector||Q.viewContainerRef.injector),this.setDisposeFn(()=>me.destroy())):(me=ue.create(Q.injector||this._defaultInjector),this._appRef.attachView(me.hostView),this.setDisposeFn(()=>{this._appRef.detachView(me.hostView),me.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(me)),this._attachedPortal=Q,me}attachTemplatePortal(Q){let q=Q.viewContainerRef,ue=q.createEmbeddedView(Q.templateRef,Q.context);return ue.rootNodes.forEach(me=>this.outletElement.appendChild(me)),ue.detectChanges(),this.setDisposeFn(()=>{let me=q.indexOf(ue);-1!==me&&q.remove(me)}),this._attachedPortal=Q,ue}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Q){return Q.hostView.rootNodes[0]}}let D=(()=>{class X extends h{constructor(q,ue){super(q,ue)}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))},X.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]}),X})(),Y=(()=>{class X extends s{constructor(q,ue,me){super(),this._componentFactoryResolver=q,this._viewContainerRef=ue,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=xe=>{const pe=xe.element,oe=this._document.createComment("dom-portal");xe.setAttachedHost(this),pe.parentNode.insertBefore(oe,pe),this._getRootNode().appendChild(pe),this._attachedPortal=xe,super.setDisposeFn(()=>{oe.parentNode&&oe.parentNode.replaceChild(pe,oe)})},this._document=me}get portal(){return this._attachedPortal}set portal(q){this.hasAttached()&&!q&&!this._isInitialized||(this.hasAttached()&&super.detach(),q&&super.attach(q),this._attachedPortal=q||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(q){q.setAttachedHost(this);const ue=null!=q.viewContainerRef?q.viewContainerRef:this._viewContainerRef,xe=(q.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(q.component),pe=ue.createComponent(xe,ue.length,q.injector||ue.injector);return ue!==this._viewContainerRef&&this._getRootNode().appendChild(pe.hostView.rootNodes[0]),super.setDisposeFn(()=>pe.destroy()),this._attachedPortal=q,this._attachedRef=pe,this.attached.emit(pe),pe}attachTemplatePortal(q){q.setAttachedHost(this);const ue=this._viewContainerRef.createEmbeddedView(q.templateRef,q.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=q,this._attachedRef=ue,this.attached.emit(ue),ue}_getRootNode(){const q=this._viewContainerRef.element.nativeElement;return q.nodeType===q.ELEMENT_NODE?q:q.parentNode}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(l.DOCUMENT))},X.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]}),X})(),z=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=n.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=n.\u0275\u0275defineInjector({}),X})()},9071:(he,A,o)=>{"use strict";o.d(A,{ZD:()=>oe,mF:()=>z,Cl:()=>ae,rL:()=>Q});var n=o(3191),l=o(5e3),u=o(8929),c=o(1086),r=o(6498),d=o(3753),y=(o(352),o(8139),o(7568)),b=o(2198),h=o(9808),g=o(925),s=o(226);let z=(()=>{class U{constructor(le,Ce,Te){this._ngZone=le,this._platform=Ce,this._scrolled=new u.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Te}register(le){this.scrollContainers.has(le)||this.scrollContainers.set(le,le.elementScrolled().subscribe(()=>this._scrolled.next(le)))}deregister(le){const Ce=this.scrollContainers.get(le);Ce&&(Ce.unsubscribe(),this.scrollContainers.delete(le))}scrolled(le=20){return this._platform.isBrowser?new r.y(Ce=>{this._globalSubscription||this._addGlobalListener();const Te=le>0?this._scrolled.pipe((0,y.e)(le)).subscribe(Ce):this._scrolled.subscribe(Ce);return this._scrolledCount++,()=>{Te.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,c.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((le,Ce)=>this.deregister(Ce)),this._scrolled.complete()}ancestorScrolled(le,Ce){const Te=this.getAncestorScrollContainers(le);return this.scrolled(Ce).pipe((0,b.h)(Ke=>!Ke||Te.indexOf(Ke)>-1))}getAncestorScrollContainers(le){const Ce=[];return this.scrollContainers.forEach((Te,Ke)=>{this._scrollableContainsElement(Ke,le)&&Ce.push(Ke)}),Ce}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(le,Ce){let Te=(0,n.fI)(Ce),Ke=le.getElementRef().nativeElement;do{if(Te==Ke)return!0}while(Te=Te.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const le=this._getWindow();return(0,d.R)(le.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return U.\u0275fac=function(le){return new(le||U)(l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(g.t4),l.\u0275\u0275inject(h.DOCUMENT,8))},U.\u0275prov=l.\u0275\u0275defineInjectable({token:U,factory:U.\u0275fac,providedIn:"root"}),U})(),Q=(()=>{class U{constructor(le,Ce,Te){this._platform=le,this._change=new u.xQ,this._changeListener=Ke=>{this._change.next(Ke)},this._document=Te,Ce.runOutsideAngular(()=>{if(le.isBrowser){const Ke=this._getWindow();Ke.addEventListener("resize",this._changeListener),Ke.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const le=this._getWindow();le.removeEventListener("resize",this._changeListener),le.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const le={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),le}getViewportRect(){const le=this.getViewportScrollPosition(),{width:Ce,height:Te}=this.getViewportSize();return{top:le.top,left:le.left,bottom:le.top+Te,right:le.left+Ce,height:Te,width:Ce}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const le=this._document,Ce=this._getWindow(),Te=le.documentElement,Ke=Te.getBoundingClientRect();return{top:-Ke.top||le.body.scrollTop||Ce.scrollY||Te.scrollTop||0,left:-Ke.left||le.body.scrollLeft||Ce.scrollX||Te.scrollLeft||0}}change(le=20){return le>0?this._change.pipe((0,y.e)(le)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const le=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:le.innerWidth,height:le.innerHeight}:{width:0,height:0}}}return U.\u0275fac=function(le){return new(le||U)(l.\u0275\u0275inject(g.t4),l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(h.DOCUMENT,8))},U.\u0275prov=l.\u0275\u0275defineInjectable({token:U,factory:U.\u0275fac,providedIn:"root"}),U})(),oe=(()=>{class U{}return U.\u0275fac=function(le){return new(le||U)},U.\u0275mod=l.\u0275\u0275defineNgModule({type:U}),U.\u0275inj=l.\u0275\u0275defineInjector({}),U})(),ae=(()=>{class U{}return U.\u0275fac=function(le){return new(le||U)},U.\u0275mod=l.\u0275\u0275defineNgModule({type:U}),U.\u0275inj=l.\u0275\u0275defineInjector({imports:[[s.vT,g.ud,oe],s.vT,oe]}),U})()},9808:(he,A,o)=>{"use strict";o.r(A),o.d(A,{APP_BASE_HREF:()=>Y,AsyncPipe:()=>Wi,CommonModule:()=>cr,CurrencyPipe:()=>Si,DATE_PIPE_DEFAULT_TIMEZONE:()=>oi,DOCUMENT:()=>m,DatePipe:()=>mi,DecimalPipe:()=>Li,FormStyle:()=>pe,FormatWidth:()=>ae,HashLocationStrategy:()=>z,I18nPluralPipe:()=>lr,I18nSelectPipe:()=>br,JsonPipe:()=>Or,KeyValuePipe:()=>Di,LOCATION_INITIALIZED:()=>b,Location:()=>G,LocationStrategy:()=>D,LowerCasePipe:()=>nn,NgClass:()=>Yt,NgComponentOutlet:()=>Zt,NgForOf:()=>Tn,NgForOfContext:()=>Mn,NgIf:()=>An,NgIfContext:()=>kn,NgLocaleLocalization:()=>kt,NgLocalization:()=>ke,NgPlural:()=>_i,NgPluralCase:()=>bi,NgStyle:()=>si,NgSwitch:()=>Oi,NgSwitchCase:()=>ci,NgSwitchDefault:()=>Xn,NgTemplateOutlet:()=>mn,NumberFormatStyle:()=>me,NumberSymbol:()=>U,PathLocationStrategy:()=>$,PercentPipe:()=>Er,PlatformLocation:()=>p,Plural:()=>xe,SlicePipe:()=>Pi,TitleCasePipe:()=>gn,TranslationWidth:()=>oe,UpperCasePipe:()=>Sn,VERSION:()=>Rr,ViewportScroller:()=>Mr,WeekDay:()=>ie,XhrFactory:()=>hr,formatCurrency:()=>ri,formatDate:()=>Pt,formatNumber:()=>Se,formatPercent:()=>jn,getCurrencySymbol:()=>_,getLocaleCurrencyCode:()=>dt,getLocaleCurrencyName:()=>xt,getLocaleCurrencySymbol:()=>Et,getLocaleDateFormat:()=>Dt,getLocaleDateTimeFormat:()=>Qe,getLocaleDayNames:()=>Te,getLocaleDayPeriods:()=>Ce,getLocaleDirection:()=>_e,getLocaleEraNames:()=>tt,getLocaleExtraDayPeriodRules:()=>yt,getLocaleExtraDayPeriods:()=>mt,getLocaleFirstDayOfWeek:()=>ot,getLocaleId:()=>le,getLocaleMonthNames:()=>Ke,getLocaleNumberFormat:()=>bt,getLocaleNumberSymbol:()=>ct,getLocalePluralCase:()=>rt,getLocaleTimeFormat:()=>Ie,getLocaleWeekEndRange:()=>pt,getNumberOfCurrencyDigits:()=>N,isPlatformBrowser:()=>Xi,isPlatformServer:()=>yi,isPlatformWorkerApp:()=>rr,isPlatformWorkerUi:()=>Br,registerLocaleData:()=>It,\u0275BrowserPlatformLocation:()=>h,\u0275DomAdapter:()=>d,\u0275NullViewportScroller:()=>Dr,\u0275PLATFORM_BROWSER_ID:()=>di,\u0275PLATFORM_SERVER_ID:()=>dr,\u0275PLATFORM_WORKER_APP_ID:()=>qi,\u0275PLATFORM_WORKER_UI_ID:()=>$i,\u0275getDOM:()=>u,\u0275parseCookieValue:()=>Rt,\u0275setRootDomAdapter:()=>r});var n=o(5e3);let l=null;function u(){return l}function r(fe){l||(l=fe)}class d{}const m=new n.InjectionToken("DocumentToken");let p=(()=>{class fe{historyGo(E){throw new Error("Not implemented")}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:function(){return(0,n.\u0275\u0275inject)(h)},providedIn:"platform"}),fe})();const b=new n.InjectionToken("Location Initialized");let h=(()=>{class fe extends p{constructor(E){super(),this._doc=E,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return u().getBaseHref(this._doc)}onPopState(E){const I=u().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",E,!1),()=>I.removeEventListener("popstate",E)}onHashChange(E){const I=u().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",E,!1),()=>I.removeEventListener("hashchange",E)}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(E){this.location.pathname=E}pushState(E,I,de){g()?this._history.pushState(E,I,de):this.location.hash=de}replaceState(E,I,de){g()?this._history.replaceState(E,I,de):this.location.hash=de}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(m))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:function(){return new h((0,n.\u0275\u0275inject)(m))},providedIn:"platform"}),fe})();function g(){return!!window.history.pushState}function C(fe,k){if(0==fe.length)return k;if(0==k.length)return fe;let E=0;return fe.endsWith("/")&&E++,k.startsWith("/")&&E++,2==E?fe+k.substring(1):1==E?fe+k:fe+"/"+k}function P(fe){const k=fe.match(/#|\?|$/),E=k&&k.index||fe.length;return fe.slice(0,E-("/"===fe[E-1]?1:0))+fe.slice(E)}function w(fe){return fe&&"?"!==fe[0]?"?"+fe:fe}let D=(()=>{class fe{historyGo(E){throw new Error("Not implemented")}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:function(){return function(fe){const k=(0,n.\u0275\u0275inject)(m).location;return new $((0,n.\u0275\u0275inject)(p),k&&k.origin||"")}()},providedIn:"root"}),fe})();const Y=new n.InjectionToken("appBaseHref");let $=(()=>{class fe extends D{constructor(E,I){if(super(),this._platformLocation=E,this._removeListenerFns=[],null==I&&(I=this._platformLocation.getBaseHrefFromDOM()),null==I)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=I}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return C(this._baseHref,E)}path(E=!1){const I=this._platformLocation.pathname+w(this._platformLocation.search),de=this._platformLocation.hash;return de&&E?`${I}${de}`:I}pushState(E,I,de,Ze){const wt=this.prepareExternalUrl(de+w(Ze));this._platformLocation.pushState(E,I,wt)}replaceState(E,I,de,Ze){const wt=this.prepareExternalUrl(de+w(Ze));this._platformLocation.replaceState(E,I,wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var I,de;null===(de=(I=this._platformLocation).historyGo)||void 0===de||de.call(I,E)}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(Y,8))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac}),fe})(),z=(()=>{class fe extends D{constructor(E,I){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let I=this._platformLocation.hash;return null==I&&(I="#"),I.length>0?I.substring(1):I}prepareExternalUrl(E){const I=C(this._baseHref,E);return I.length>0?"#"+I:I}pushState(E,I,de,Ze){let wt=this.prepareExternalUrl(de+w(Ze));0==wt.length&&(wt=this._platformLocation.pathname),this._platformLocation.pushState(E,I,wt)}replaceState(E,I,de,Ze){let wt=this.prepareExternalUrl(de+w(Ze));0==wt.length&&(wt=this._platformLocation.pathname),this._platformLocation.replaceState(E,I,wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var I,de;null===(de=(I=this._platformLocation).historyGo)||void 0===de||de.call(I,E)}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(Y,8))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac}),fe})(),G=(()=>{class fe{constructor(E,I){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=E;const de=this._platformStrategy.getBaseHref();this._platformLocation=I,this._baseHref=P(q(de)),this._platformStrategy.onPopState(Ze=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ze.state,type:Ze.type})})}path(E=!1){return this.normalize(this._platformStrategy.path(E))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(E,I=""){return this.path()==this.normalize(E+w(I))}normalize(E){return fe.stripTrailingSlash(function(fe,k){return fe&&k.startsWith(fe)?k.substring(fe.length):k}(this._baseHref,q(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._platformStrategy.prepareExternalUrl(E)}go(E,I="",de=null){this._platformStrategy.pushState(de,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+w(I)),de)}replaceState(E,I="",de=null){this._platformStrategy.replaceState(de,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+w(I)),de)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(E=0){var I,de;null===(de=(I=this._platformStrategy).historyGo)||void 0===de||de.call(I,E)}onUrlChange(E){this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)}))}_notifyUrlChangeListeners(E="",I){this._urlChangeListeners.forEach(de=>de(E,I))}subscribe(E,I,de){return this._subject.subscribe({next:E,error:I,complete:de})}}return fe.normalizeQueryParams=w,fe.joinWithSlash=C,fe.stripTrailingSlash=P,fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(D),n.\u0275\u0275inject(p))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:function(){return new G((0,n.\u0275\u0275inject)(D),(0,n.\u0275\u0275inject)(p))},providedIn:"root"}),fe})();function q(fe){return fe.replace(/\/index.html$/,"")}const ue={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,"\u0440.",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"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],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 me=(()=>((me=me||{})[me.Decimal=0]="Decimal",me[me.Percent=1]="Percent",me[me.Currency=2]="Currency",me[me.Scientific=3]="Scientific",me))(),xe=(()=>((xe=xe||{})[xe.Zero=0]="Zero",xe[xe.One=1]="One",xe[xe.Two=2]="Two",xe[xe.Few=3]="Few",xe[xe.Many=4]="Many",xe[xe.Other=5]="Other",xe))(),pe=(()=>((pe=pe||{})[pe.Format=0]="Format",pe[pe.Standalone=1]="Standalone",pe))(),oe=(()=>((oe=oe||{})[oe.Narrow=0]="Narrow",oe[oe.Abbreviated=1]="Abbreviated",oe[oe.Wide=2]="Wide",oe[oe.Short=3]="Short",oe))(),ae=(()=>((ae=ae||{})[ae.Short=0]="Short",ae[ae.Medium=1]="Medium",ae[ae.Long=2]="Long",ae[ae.Full=3]="Full",ae))(),U=(()=>((U=U||{})[U.Decimal=0]="Decimal",U[U.Group=1]="Group",U[U.List=2]="List",U[U.PercentSign=3]="PercentSign",U[U.PlusSign=4]="PlusSign",U[U.MinusSign=5]="MinusSign",U[U.Exponential=6]="Exponential",U[U.SuperscriptingExponent=7]="SuperscriptingExponent",U[U.PerMille=8]="PerMille",U[U.Infinity=9]="Infinity",U[U.NaN=10]="NaN",U[U.TimeSeparator=11]="TimeSeparator",U[U.CurrencyDecimal=12]="CurrencyDecimal",U[U.CurrencyGroup=13]="CurrencyGroup",U))(),ie=(()=>((ie=ie||{})[ie.Sunday=0]="Sunday",ie[ie.Monday=1]="Monday",ie[ie.Tuesday=2]="Tuesday",ie[ie.Wednesday=3]="Wednesday",ie[ie.Thursday=4]="Thursday",ie[ie.Friday=5]="Friday",ie[ie.Saturday=6]="Saturday",ie))();function le(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.LocaleId]}function Ce(fe,k,E){const I=(0,n.\u0275findLocaleData)(fe),Ze=Z([I[n.\u0275LocaleDataIndex.DayPeriodsFormat],I[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],k);return Z(Ze,E)}function Te(fe,k,E){const I=(0,n.\u0275findLocaleData)(fe),Ze=Z([I[n.\u0275LocaleDataIndex.DaysFormat],I[n.\u0275LocaleDataIndex.DaysStandalone]],k);return Z(Ze,E)}function Ke(fe,k,E){const I=(0,n.\u0275findLocaleData)(fe),Ze=Z([I[n.\u0275LocaleDataIndex.MonthsFormat],I[n.\u0275LocaleDataIndex.MonthsStandalone]],k);return Z(Ze,E)}function tt(fe,k){return Z((0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.Eras],k)}function ot(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function pt(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.WeekendRange]}function Dt(fe,k){return Z((0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.DateFormat],k)}function Ie(fe,k){return Z((0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.TimeFormat],k)}function Qe(fe,k){return Z((0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.DateTimeFormat],k)}function ct(fe,k){const E=(0,n.\u0275findLocaleData)(fe),I=E[n.\u0275LocaleDataIndex.NumberSymbols][k];if(void 0===I){if(k===U.CurrencyDecimal)return E[n.\u0275LocaleDataIndex.NumberSymbols][U.Decimal];if(k===U.CurrencyGroup)return E[n.\u0275LocaleDataIndex.NumberSymbols][U.Group]}return I}function bt(fe,k){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.NumberFormats][k]}function Et(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function xt(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.CurrencyName]||null}function dt(fe){return(0,n.\u0275getLocaleCurrencyCode)(fe)}const rt=n.\u0275getLocalePluralCase;function ze(fe){if(!fe[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${fe[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function yt(fe){const k=(0,n.\u0275findLocaleData)(fe);return ze(k),(k[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(I=>"string"==typeof I?j(I):[j(I[0]),j(I[1])])}function mt(fe,k,E){const I=(0,n.\u0275findLocaleData)(fe);ze(I);const Ze=Z([I[n.\u0275LocaleDataIndex.ExtraData][0],I[n.\u0275LocaleDataIndex.ExtraData][1]],k)||[];return Z(Ze,E)||[]}function _e(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.Directionality]}function Z(fe,k){for(let E=k;E>-1;E--)if(void 0!==fe[E])return fe[E];throw new Error("Locale data API: locale data undefined")}function j(fe){const[k,E]=fe.split(":");return{hours:+k,minutes:+E}}function _(fe,k,E="en"){const I=function(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.Currencies]}(E)[fe]||ue[fe]||[],de=I[1];return"narrow"===k&&"string"==typeof de?de:I[0]||fe}function N(fe){let k;const E=ue[fe];return E&&(k=E[2]),"number"==typeof k?k:2}const ce=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ue={},Oe=/((?:[^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 ve=(()=>((ve=ve||{})[ve.Short=0]="Short",ve[ve.ShortGMT=1]="ShortGMT",ve[ve.Long=2]="Long",ve[ve.Extended=3]="Extended",ve))(),Ae=(()=>((Ae=Ae||{})[Ae.FullYear=0]="FullYear",Ae[Ae.Month=1]="Month",Ae[Ae.Date=2]="Date",Ae[Ae.Hours=3]="Hours",Ae[Ae.Minutes=4]="Minutes",Ae[Ae.Seconds=5]="Seconds",Ae[Ae.FractionalSeconds=6]="FractionalSeconds",Ae[Ae.Day=7]="Day",Ae))(),nt=(()=>((nt=nt||{})[nt.DayPeriods=0]="DayPeriods",nt[nt.Days=1]="Days",nt[nt.Months=2]="Months",nt[nt.Eras=3]="Eras",nt))();function Pt(fe,k,E,I){let de=function(fe){if(ut(fe))return fe;if("number"==typeof fe&&!isNaN(fe))return new Date(fe);if("string"==typeof fe){if(fe=fe.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(fe)){const[de,Ze=1,wt=1]=fe.split("-").map(Wt=>+Wt);return Ft(de,Ze-1,wt)}const E=parseFloat(fe);if(!isNaN(fe-E))return new Date(E);let I;if(I=fe.match(ce))return function(fe){const k=new Date(0);let E=0,I=0;const de=fe[8]?k.setUTCFullYear:k.setFullYear,Ze=fe[8]?k.setUTCHours:k.setHours;fe[9]&&(E=Number(fe[9]+fe[10]),I=Number(fe[9]+fe[11])),de.call(k,Number(fe[1]),Number(fe[2])-1,Number(fe[3]));const wt=Number(fe[4]||0)-E,Wt=Number(fe[5]||0)-I,hn=Number(fe[6]||0),Nn=Math.floor(1e3*parseFloat("0."+(fe[7]||0)));return Ze.call(k,wt,Wt,hn,Nn),k}(I)}const k=new Date(fe);if(!ut(k))throw new Error(`Unable to convert "${fe}" into a date`);return k}(fe);k=gt(E,k)||k;let Wt,wt=[];for(;k;){if(Wt=Oe.exec(k),!Wt){wt.push(k);break}{wt=wt.concat(Wt.slice(1));const Hn=wt.pop();if(!Hn)break;k=Hn}}let hn=de.getTimezoneOffset();I&&(hn=$t(I,hn),de=function(fe,k,E){const de=fe.getTimezoneOffset();return function(fe,k){return(fe=new Date(fe.getTime())).setMinutes(fe.getMinutes()+k),fe}(fe,-1*($t(k,de)-de))}(de,I));let Nn="";return wt.forEach(Hn=>{const Vn=function(fe){if(Ct[fe])return Ct[fe];let k;switch(fe){case"G":case"GG":case"GGG":k=lt(nt.Eras,oe.Abbreviated);break;case"GGGG":k=lt(nt.Eras,oe.Wide);break;case"GGGGG":k=lt(nt.Eras,oe.Narrow);break;case"y":k=Mt(Ae.FullYear,1,0,!1,!0);break;case"yy":k=Mt(Ae.FullYear,2,0,!0,!0);break;case"yyy":k=Mt(Ae.FullYear,3,0,!1,!0);break;case"yyyy":k=Mt(Ae.FullYear,4,0,!1,!0);break;case"Y":k=je(1);break;case"YY":k=je(2,!0);break;case"YYY":k=je(3);break;case"YYYY":k=je(4);break;case"M":case"L":k=Mt(Ae.Month,1,1);break;case"MM":case"LL":k=Mt(Ae.Month,2,1);break;case"MMM":k=lt(nt.Months,oe.Abbreviated);break;case"MMMM":k=lt(nt.Months,oe.Wide);break;case"MMMMM":k=lt(nt.Months,oe.Narrow);break;case"LLL":k=lt(nt.Months,oe.Abbreviated,pe.Standalone);break;case"LLLL":k=lt(nt.Months,oe.Wide,pe.Standalone);break;case"LLLLL":k=lt(nt.Months,oe.Narrow,pe.Standalone);break;case"w":k=be(1);break;case"ww":k=be(2);break;case"W":k=be(1,!0);break;case"d":k=Mt(Ae.Date,1);break;case"dd":k=Mt(Ae.Date,2);break;case"c":case"cc":k=Mt(Ae.Day,1);break;case"ccc":k=lt(nt.Days,oe.Abbreviated,pe.Standalone);break;case"cccc":k=lt(nt.Days,oe.Wide,pe.Standalone);break;case"ccccc":k=lt(nt.Days,oe.Narrow,pe.Standalone);break;case"cccccc":k=lt(nt.Days,oe.Short,pe.Standalone);break;case"E":case"EE":case"EEE":k=lt(nt.Days,oe.Abbreviated);break;case"EEEE":k=lt(nt.Days,oe.Wide);break;case"EEEEE":k=lt(nt.Days,oe.Narrow);break;case"EEEEEE":k=lt(nt.Days,oe.Short);break;case"a":case"aa":case"aaa":k=lt(nt.DayPeriods,oe.Abbreviated);break;case"aaaa":k=lt(nt.DayPeriods,oe.Wide);break;case"aaaaa":k=lt(nt.DayPeriods,oe.Narrow);break;case"b":case"bb":case"bbb":k=lt(nt.DayPeriods,oe.Abbreviated,pe.Standalone,!0);break;case"bbbb":k=lt(nt.DayPeriods,oe.Wide,pe.Standalone,!0);break;case"bbbbb":k=lt(nt.DayPeriods,oe.Narrow,pe.Standalone,!0);break;case"B":case"BB":case"BBB":k=lt(nt.DayPeriods,oe.Abbreviated,pe.Format,!0);break;case"BBBB":k=lt(nt.DayPeriods,oe.Wide,pe.Format,!0);break;case"BBBBB":k=lt(nt.DayPeriods,oe.Narrow,pe.Format,!0);break;case"h":k=Mt(Ae.Hours,1,-12);break;case"hh":k=Mt(Ae.Hours,2,-12);break;case"H":k=Mt(Ae.Hours,1);break;case"HH":k=Mt(Ae.Hours,2);break;case"m":k=Mt(Ae.Minutes,1);break;case"mm":k=Mt(Ae.Minutes,2);break;case"s":k=Mt(Ae.Seconds,1);break;case"ss":k=Mt(Ae.Seconds,2);break;case"S":k=Mt(Ae.FractionalSeconds,1);break;case"SS":k=Mt(Ae.FractionalSeconds,2);break;case"SSS":k=Mt(Ae.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":k=Nt(ve.Short);break;case"ZZZZZ":k=Nt(ve.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":k=Nt(ve.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":k=Nt(ve.Long);break;default:return null}return Ct[fe]=k,k}(Hn);Nn+=Vn?Vn(de,E,hn):"''"===Hn?"'":Hn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Nn}function Ft(fe,k,E){const I=new Date(0);return I.setFullYear(fe,k,E),I.setHours(0,0,0),I}function gt(fe,k){const E=le(fe);if(Ue[E]=Ue[E]||{},Ue[E][k])return Ue[E][k];let I="";switch(k){case"shortDate":I=Dt(fe,ae.Short);break;case"mediumDate":I=Dt(fe,ae.Medium);break;case"longDate":I=Dt(fe,ae.Long);break;case"fullDate":I=Dt(fe,ae.Full);break;case"shortTime":I=Ie(fe,ae.Short);break;case"mediumTime":I=Ie(fe,ae.Medium);break;case"longTime":I=Ie(fe,ae.Long);break;case"fullTime":I=Ie(fe,ae.Full);break;case"short":const de=gt(fe,"shortTime"),Ze=gt(fe,"shortDate");I=Lt(Qe(fe,ae.Short),[de,Ze]);break;case"medium":const wt=gt(fe,"mediumTime"),Wt=gt(fe,"mediumDate");I=Lt(Qe(fe,ae.Medium),[wt,Wt]);break;case"long":const hn=gt(fe,"longTime"),Nn=gt(fe,"longDate");I=Lt(Qe(fe,ae.Long),[hn,Nn]);break;case"full":const Hn=gt(fe,"fullTime"),Vn=gt(fe,"fullDate");I=Lt(Qe(fe,ae.Full),[Hn,Vn])}return I&&(Ue[E][k]=I),I}function Lt(fe,k){return k&&(fe=fe.replace(/\{([^}]+)}/g,function(E,I){return null!=k&&I in k?k[I]:E})),fe}function $e(fe,k,E="-",I,de){let Ze="";(fe<0||de&&fe<=0)&&(de?fe=1-fe:(fe=-fe,Ze=E));let wt=String(fe);for(;wt.length0||Wt>-E)&&(Wt+=E),fe===Ae.Hours)0===Wt&&-12===E&&(Wt=12);else if(fe===Ae.FractionalSeconds)return function(fe,k){return $e(fe,3).substr(0,k)}(Wt,k);const hn=ct(wt,U.MinusSign);return $e(Wt,k,hn,I,de)}}function lt(fe,k,E=pe.Format,I=!1){return function(de,Ze){return function(fe,k,E,I,de,Ze){switch(E){case nt.Months:return Ke(k,de,I)[fe.getMonth()];case nt.Days:return Te(k,de,I)[fe.getDay()];case nt.DayPeriods:const wt=fe.getHours(),Wt=fe.getMinutes();if(Ze){const Nn=yt(k),Hn=mt(k,de,I),Vn=Nn.findIndex(Yn=>{if(Array.isArray(Yn)){const[Qn,ii]=Yn,dn=wt>=Qn.hours&&Wt>=Qn.minutes,fr=wt0?Math.floor(de/60):Math.ceil(de/60);switch(fe){case ve.Short:return(de>=0?"+":"")+$e(wt,2,Ze)+$e(Math.abs(de%60),2,Ze);case ve.ShortGMT:return"GMT"+(de>=0?"+":"")+$e(wt,1,Ze);case ve.Long:return"GMT"+(de>=0?"+":"")+$e(wt,2,Ze)+":"+$e(Math.abs(de%60),2,Ze);case ve.Extended:return 0===I?"Z":(de>=0?"+":"")+$e(wt,2,Ze)+":"+$e(Math.abs(de%60),2,Ze);default:throw new Error(`Unknown zone width "${fe}"`)}}}function V(fe){return Ft(fe.getFullYear(),fe.getMonth(),fe.getDate()+(4-fe.getDay()))}function be(fe,k=!1){return function(E,I){let de;if(k){const Ze=new Date(E.getFullYear(),E.getMonth(),1).getDay()-1,wt=E.getDate();de=1+Math.floor((wt+Ze)/7)}else{const Ze=V(E),wt=function(fe){const k=Ft(fe,0,1).getDay();return Ft(fe,0,1+(k<=4?4:11)-k)}(Ze.getFullYear()),Wt=Ze.getTime()-wt.getTime();de=1+Math.round(Wt/6048e5)}return $e(de,fe,ct(I,U.MinusSign))}}function je(fe,k=!1){return function(E,I){return $e(V(E).getFullYear(),fe,ct(I,U.MinusSign),k)}}const Ct={};function $t(fe,k){fe=fe.replace(/:/g,"");const E=Date.parse("Jan 01, 1970 00:00:00 "+fe)/6e4;return isNaN(E)?k:E}function ut(fe){return fe instanceof Date&&!isNaN(fe.valueOf())}const At=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Ln(fe,k,E,I,de,Ze,wt=!1){let Wt="",hn=!1;if(isFinite(fe)){let Nn=function(fe){let I,de,Ze,wt,Wt,k=Math.abs(fe)+"",E=0;for((de=k.indexOf("."))>-1&&(k=k.replace(".","")),(Ze=k.search(/e/i))>0?(de<0&&(de=Ze),de+=+k.slice(Ze+1),k=k.substring(0,Ze)):de<0&&(de=k.length),Ze=0;"0"===k.charAt(Ze);Ze++);if(Ze===(Wt=k.length))I=[0],de=1;else{for(Wt--;"0"===k.charAt(Wt);)Wt--;for(de-=Ze,I=[],wt=0;Ze<=Wt;Ze++,wt++)I[wt]=Number(k.charAt(Ze))}return de>22&&(I=I.splice(0,21),E=de-1,de=1),{digits:I,exponent:E,integerLen:de}}(fe);wt&&(Nn=function(fe){if(0===fe.digits[0])return fe;const k=fe.digits.length-fe.integerLen;return fe.exponent?fe.exponent+=2:(0===k?fe.digits.push(0,0):1===k&&fe.digits.push(0),fe.integerLen+=2),fe}(Nn));let Hn=k.minInt,Vn=k.minFrac,Yn=k.maxFrac;if(Ze){const sr=Ze.match(At);if(null===sr)throw new Error(`${Ze} is not a valid digit info`);const jr=sr[1],Sr=sr[3],Hr=sr[5];null!=jr&&(Hn=te(jr)),null!=Sr&&(Vn=te(Sr)),null!=Hr?Yn=te(Hr):null!=Sr&&Vn>Yn&&(Yn=Vn)}!function(fe,k,E){if(k>E)throw new Error(`The minimum number of digits after fraction (${k}) is higher than the maximum (${E}).`);let I=fe.digits,de=I.length-fe.integerLen;const Ze=Math.min(Math.max(k,de),E);let wt=Ze+fe.integerLen,Wt=I[wt];if(wt>0){I.splice(Math.max(fe.integerLen,wt));for(let Vn=wt;Vn=5)if(wt-1<0){for(let Vn=0;Vn>wt;Vn--)I.unshift(0),fe.integerLen++;I.unshift(1),fe.integerLen++}else I[wt-1]++;for(;de=Nn?ii.pop():hn=!1),Yn>=10?1:0},0);Hn&&(I.unshift(Hn),fe.integerLen++)}(Nn,Vn,Yn);let Qn=Nn.digits,ii=Nn.integerLen;const dn=Nn.exponent;let fr=[];for(hn=Qn.every(sr=>!sr);ii0?fr=Qn.splice(ii,Qn.length):(fr=Qn,Qn=[0]);const ji=[];for(Qn.length>=k.lgSize&&ji.unshift(Qn.splice(-k.lgSize,Qn.length).join(""));Qn.length>k.gSize;)ji.unshift(Qn.splice(-k.gSize,Qn.length).join(""));Qn.length&&ji.unshift(Qn.join("")),Wt=ji.join(ct(E,I)),fr.length&&(Wt+=ct(E,de)+fr.join("")),dn&&(Wt+=ct(E,U.Exponential)+"+"+dn)}else Wt=ct(E,U.Infinity);return Wt=fe<0&&!hn?k.negPre+Wt+k.negSuf:k.posPre+Wt+k.posSuf,Wt}function ri(fe,k,E,I,de){const wt=Xe(bt(k,me.Currency),ct(k,U.MinusSign));return wt.minFrac=N(I),wt.maxFrac=wt.minFrac,Ln(fe,wt,k,U.CurrencyGroup,U.CurrencyDecimal,de).replace("\xa4",E).replace("\xa4","").trim()}function jn(fe,k,E){return Ln(fe,Xe(bt(k,me.Percent),ct(k,U.MinusSign)),k,U.Group,U.Decimal,E,!0).replace(new RegExp("%","g"),ct(k,U.PercentSign))}function Se(fe,k,E){return Ln(fe,Xe(bt(k,me.Decimal),ct(k,U.MinusSign)),k,U.Group,U.Decimal,E)}function Xe(fe,k="-"){const E={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},I=fe.split(";"),de=I[0],Ze=I[1],wt=-1!==de.indexOf(".")?de.split("."):[de.substring(0,de.lastIndexOf("0")+1),de.substring(de.lastIndexOf("0")+1)],Wt=wt[0],hn=wt[1]||"";E.posPre=Wt.substr(0,Wt.indexOf("#"));for(let Hn=0;Hn-1||(de=E.getPluralCategory(fe,I),k.indexOf(de)>-1))return de;if(k.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${fe}"`)}let kt=(()=>{class fe extends ke{constructor(E){super(),this.locale=E}getPluralCategory(E,I){switch(rt(I||this.locale)(E)){case xe.Zero:return"zero";case xe.One:return"one";case xe.Two:return"two";case xe.Few:return"few";case xe.Many:return"many";default:return"other"}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(n.LOCALE_ID))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac}),fe})();function It(fe,k,E){return(0,n.\u0275registerLocaleData)(fe,k,E)}function Rt(fe,k){k=encodeURIComponent(k);for(const E of fe.split(";")){const I=E.indexOf("="),[de,Ze]=-1==I?[E,""]:[E.slice(0,I),E.slice(I+1)];if(de.trim()===k)return decodeURIComponent(Ze)}return null}let Yt=(()=>{class fe{constructor(E,I,de,Ze){this._iterableDiffers=E,this._keyValueDiffers=I,this._ngEl=de,this._renderer=Ze,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(E){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof E?E.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(E){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof E?E.split(/\s+/):E,this._rawClass&&((0,n.\u0275isListLikeIterable)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const E=this._iterableDiffer.diff(this._rawClass);E&&this._applyIterableChanges(E)}else if(this._keyValueDiffer){const E=this._keyValueDiffer.diff(this._rawClass);E&&this._applyKeyValueChanges(E)}}_applyKeyValueChanges(E){E.forEachAddedItem(I=>this._toggleClass(I.key,I.currentValue)),E.forEachChangedItem(I=>this._toggleClass(I.key,I.currentValue)),E.forEachRemovedItem(I=>{I.previousValue&&this._toggleClass(I.key,!1)})}_applyIterableChanges(E){E.forEachAddedItem(I=>{if("string"!=typeof I.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.\u0275stringify)(I.item)}`);this._toggleClass(I.item,!0)}),E.forEachRemovedItem(I=>this._toggleClass(I.item,!1))}_applyClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(I=>this._toggleClass(I,!0)):Object.keys(E).forEach(I=>this._toggleClass(I,!!E[I])))}_removeClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(I=>this._toggleClass(I,!1)):Object.keys(E).forEach(I=>this._toggleClass(I,!1)))}_toggleClass(E,I){(E=E.trim())&&E.split(/\s+/g).forEach(de=>{I?this._renderer.addClass(this._ngEl.nativeElement,de):this._renderer.removeClass(this._ngEl.nativeElement,de)})}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),fe})(),Zt=(()=>{class fe{constructor(E){this._viewContainerRef=E,this._componentRef=null,this._moduleRef=null}ngOnChanges(E){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const I=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(E.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const wt=I.get(n.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(wt.injector)}else this._moduleRef=null;const Ze=(this._moduleRef?this._moduleRef.componentFactoryResolver:I.get(n.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(Ze,this._viewContainerRef.length,I,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[n.\u0275\u0275NgOnChangesFeature]}),fe})();class Mn{constructor(k,E,I,de){this.$implicit=k,this.ngForOf=E,this.index=I,this.count=de}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 Tn=(()=>{class fe{constructor(E,I,de){this._viewContainer=E,this._template=I,this._differs=de,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const I=this._viewContainer;E.forEachOperation((de,Ze,wt)=>{if(null==de.previousIndex)I.createEmbeddedView(this._template,new Mn(de.item,this._ngForOf,-1,-1),null===wt?void 0:wt);else if(null==wt)I.remove(null===Ze?void 0:Ze);else if(null!==Ze){const Wt=I.get(Ze);I.move(Wt,wt),wn(Wt,de)}});for(let de=0,Ze=I.length;de{wn(I.get(de.currentIndex),de)})}static ngTemplateContextGuard(E,I){return!0}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),fe})();function wn(fe,k){fe.context.$implicit=k.item}let An=(()=>{class fe{constructor(E,I){this._viewContainer=E,this._context=new kn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){bn("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){bn("ngIfElse",E),this._elseTemplateRef=E,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(E,I){return!0}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),fe})();class kn{constructor(){this.$implicit=null,this.ngIf=null}}function bn(fe,k){if(k&&!k.createEmbeddedView)throw new Error(`${fe} must be a TemplateRef, but received '${(0,n.\u0275stringify)(k)}'.`)}class ui{constructor(k,E){this._viewContainerRef=k,this._templateRef=E,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(k){k&&!this._created?this.create():!k&&this._created&&this.destroy()}}let Oi=(()=>{class fe{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(E)}_matchCase(E){const I=E==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||I,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),I}_updateDefaultCases(E){if(this._defaultViews&&E!==this._defaultUsed){this._defaultUsed=E;for(let I=0;I{class fe{constructor(E,I,de){this.ngSwitch=de,de._addCase(),this._view=new ui(E,I)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Oi,9))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),fe})(),Xn=(()=>{class fe{constructor(E,I,de){de._addDefault(new ui(E,I))}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Oi,9))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngSwitchDefault",""]]}),fe})(),_i=(()=>{class fe{constructor(E){this._localization=E,this._caseViews={}}set ngPlural(E){this._switchValue=E,this._updateView()}addCase(E,I){this._caseViews[E]=I}_updateView(){this._clearViews();const E=Object.keys(this._caseViews),I=Ye(this._switchValue,E,this._localization);this._activateView(this._caseViews[I])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(E){E&&(this._activeView=E,this._activeView.create())}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(ke))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),fe})(),bi=(()=>{class fe{constructor(E,I,de,Ze){this.value=E;const wt=!isNaN(Number(E));Ze.addCase(wt?`=${E}`:E,new ui(de,I))}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(_i,1))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngPluralCase",""]]}),fe})(),si=(()=>{class fe{constructor(E,I,de){this._ngEl=E,this._differs=I,this._renderer=de,this._ngStyle=null,this._differ=null}set ngStyle(E){this._ngStyle=E,!this._differ&&E&&(this._differ=this._differs.find(E).create())}ngDoCheck(){if(this._differ){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,I){const[de,Ze]=E.split(".");null!=(I=null!=I&&Ze?`${I}${Ze}`:I)?this._renderer.setStyle(this._ngEl.nativeElement,de,I):this._renderer.removeStyle(this._ngEl.nativeElement,de)}_applyChanges(E){E.forEachRemovedItem(I=>this._setStyle(I.key,null)),E.forEachAddedItem(I=>this._setStyle(I.key,I.currentValue)),E.forEachChangedItem(I=>this._setStyle(I.key,I.currentValue))}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),fe})(),mn=(()=>{class fe{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(E){if(E.ngTemplateOutlet){const I=this._viewContainerRef;this._viewRef&&I.remove(I.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?I.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&E.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[n.\u0275\u0275NgOnChangesFeature]}),fe})();function Fn(fe,k){return Error(`InvalidPipeArgument: '${k}' for pipe '${(0,n.\u0275stringify)(fe)}'`)}class xn{createSubscription(k,E){return k.subscribe({next:E,error:I=>{throw I}})}dispose(k){k.unsubscribe()}onDestroy(k){k.unsubscribe()}}class Ii{createSubscription(k,E){return k.then(E,I=>{throw I})}dispose(k){}onDestroy(k){}}const wi=new Ii,ir=new xn;let Wi=(()=>{class fe{constructor(E){this._ref=E,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(E){return this._obj?E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue:(E&&this._subscribe(E),this._latestValue)}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,I=>this._updateLatestValue(E,I))}_selectStrategy(E){if((0,n.\u0275isPromise)(E))return wi;if((0,n.\u0275isSubscribable)(E))return ir;throw Fn(fe,E)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,I){E===this._obj&&(this._latestValue=I,this._ref.markForCheck())}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:fe,pure:!1}),fe})(),nn=(()=>{class fe{transform(E){if(null==E)return null;if("string"!=typeof E)throw Fn(fe,E);return E.toLowerCase()}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:fe,pure:!0}),fe})();const an=/(?:[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 gn=(()=>{class fe{transform(E){if(null==E)return null;if("string"!=typeof E)throw Fn(fe,E);return E.replace(an,I=>I[0].toUpperCase()+I.substr(1).toLowerCase())}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:fe,pure:!0}),fe})(),Sn=(()=>{class fe{transform(E){if(null==E)return null;if("string"!=typeof E)throw Fn(fe,E);return E.toUpperCase()}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:fe,pure:!0}),fe})();const oi=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE");let mi=(()=>{class fe{constructor(E,I){this.locale=E,this.defaultTimezone=I}transform(E,I="mediumDate",de,Ze){var wt;if(null==E||""===E||E!=E)return null;try{return Pt(E,I,Ze||this.locale,null!==(wt=null!=de?de:this.defaultTimezone)&&void 0!==wt?wt:void 0)}catch(Wt){throw Fn(fe,Wt.message)}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(oi,24))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:fe,pure:!0}),fe})();const Ur=/#/g;let lr=(()=>{class fe{constructor(E){this._localization=E}transform(E,I,de){if(null==E)return"";if("object"!=typeof I||null===I)throw Fn(fe,I);return I[Ye(E,Object.keys(I),this._localization,de)].replace(Ur,E.toString())}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(ke,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:fe,pure:!0}),fe})(),br=(()=>{class fe{transform(E,I){if(null==E)return"";if("object"!=typeof I||"string"!=typeof E)throw Fn(fe,I);return I.hasOwnProperty(E)?I[E]:I.hasOwnProperty("other")?I.other:""}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:fe,pure:!0}),fe})(),Or=(()=>{class fe{transform(E){return JSON.stringify(E,null,2)}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:fe,pure:!1}),fe})(),Di=(()=>{class fe{constructor(E){this.differs=E,this.keyValues=[],this.compareFn=Cr}transform(E,I=Cr){if(!E||!(E instanceof Map)&&"object"!=typeof E)return null;this.differ||(this.differ=this.differs.find(E).create());const de=this.differ.diff(E),Ze=I!==this.compareFn;return de&&(this.keyValues=[],de.forEachItem(wt=>{this.keyValues.push(function(fe,k){return{key:fe,value:k}}(wt.key,wt.currentValue))})),(de||Ze)&&(this.keyValues.sort(I),this.compareFn=I),this.keyValues}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:fe,pure:!1}),fe})();function Cr(fe,k){const E=fe.key,I=k.key;if(E===I)return 0;if(void 0===E)return 1;if(void 0===I)return-1;if(null===E)return 1;if(null===I)return-1;if("string"==typeof E&&"string"==typeof I)return E{class fe{constructor(E){this._locale=E}transform(E,I,de){if(!Vi(E))return null;de=de||this._locale;try{return Se(Gi(E),de,I)}catch(Ze){throw Fn(fe,Ze.message)}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:fe,pure:!0}),fe})(),Er=(()=>{class fe{constructor(E){this._locale=E}transform(E,I,de){if(!Vi(E))return null;de=de||this._locale;try{return jn(Gi(E),de,I)}catch(Ze){throw Fn(fe,Ze.message)}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:fe,pure:!0}),fe})(),Si=(()=>{class fe{constructor(E,I="USD"){this._locale=E,this._defaultCurrencyCode=I}transform(E,I=this._defaultCurrencyCode,de="symbol",Ze,wt){if(!Vi(E))return null;wt=wt||this._locale,"boolean"==typeof de&&(de=de?"symbol":"code");let Wt=I||this._defaultCurrencyCode;"code"!==de&&(Wt="symbol"===de||"symbol-narrow"===de?_(Wt,"symbol"===de?"wide":"narrow",wt):de);try{return ri(Gi(E),wt,Wt,I,Ze)}catch(hn){throw Fn(fe,hn.message)}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:fe,pure:!0}),fe})();function Vi(fe){return!(null==fe||""===fe||fe!=fe)}function Gi(fe){if("string"==typeof fe&&!isNaN(Number(fe)-parseFloat(fe)))return Number(fe);if("number"!=typeof fe)throw new Error(`${fe} is not a number`);return fe}let Pi=(()=>{class fe{transform(E,I,de){if(null==E)return null;if(!this.supports(E))throw Fn(fe,E);return E.slice(I,de)}supports(E){return"string"==typeof E||Array.isArray(E)}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:fe,pure:!1}),fe})(),cr=(()=>{class fe{}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:ke,useClass:kt}]}),fe})();const di="browser",dr="server",qi="browserWorkerApp",$i="browserWorkerUi";function Xi(fe){return fe===di}function yi(fe){return fe===dr}function rr(fe){return fe===qi}function Br(fe){return fe===$i}const Rr=new n.Version("13.1.1");let Mr=(()=>{class fe{}return fe.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:fe,providedIn:"root",factory:()=>new Yi((0,n.\u0275\u0275inject)(m),window)}),fe})();class Yi{constructor(k,E){this.document=k,this.window=E,this.offset=()=>[0,0]}setOffset(k){this.offset=Array.isArray(k)?()=>k:k}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(k){this.supportsScrolling()&&this.window.scrollTo(k[0],k[1])}scrollToAnchor(k){if(!this.supportsScrolling())return;const E=function(fe,k){const E=fe.getElementById(k)||fe.getElementsByName(k)[0];if(E)return E;if("function"==typeof fe.createTreeWalker&&fe.body&&(fe.body.createShadowRoot||fe.body.attachShadow)){const I=fe.createTreeWalker(fe.body,NodeFilter.SHOW_ELEMENT);let de=I.currentNode;for(;de;){const Ze=de.shadowRoot;if(Ze){const wt=Ze.getElementById(k)||Ze.querySelector(`[name="${k}"]`);if(wt)return wt}de=I.nextNode()}}return null}(this.document,k);E&&(this.scrollToElement(E),this.attemptFocus(E))}setHistoryScrollRestoration(k){if(this.supportScrollRestoration()){const E=this.window.history;E&&E.scrollRestoration&&(E.scrollRestoration=k)}}scrollToElement(k){const E=k.getBoundingClientRect(),I=E.left+this.window.pageXOffset,de=E.top+this.window.pageYOffset,Ze=this.offset();this.window.scrollTo(I-Ze[0],de-Ze[1])}attemptFocus(k){return k.focus(),this.document.activeElement===k}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const k=Vr(this.window.history)||Vr(Object.getPrototypeOf(this.window.history));return!(!k||!k.writable&&!k.set)}catch(k){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(k){return!1}}}function Vr(fe){return Object.getOwnPropertyDescriptor(fe,"scrollRestoration")}class Dr{setOffset(k){}getScrollPosition(){return[0,0]}scrollToPosition(k){}scrollToAnchor(k){}setHistoryScrollRestoration(k){}}class hr{}},520:(he,A,o)=>{"use strict";o.r(A),o.d(A,{HTTP_INTERCEPTORS:()=>le,HttpBackend:()=>y,HttpClient:()=>U,HttpClientJsonpModule:()=>j,HttpClientModule:()=>Z,HttpClientXsrfModule:()=>_e,HttpContext:()=>Y,HttpContextToken:()=>T,HttpErrorResponse:()=>oe,HttpEventType:()=>ue,HttpHandler:()=>p,HttpHeaderResponse:()=>xe,HttpHeaders:()=>b,HttpParams:()=>D,HttpRequest:()=>q,HttpResponse:()=>pe,HttpResponseBase:()=>me,HttpUrlEncodingCodec:()=>h,HttpXhrBackend:()=>bt,HttpXsrfTokenExtractor:()=>dt,JsonpClientBackend:()=>Dt,JsonpInterceptor:()=>Ie,XhrFactory:()=>_,\u0275HttpInterceptingHandler:()=>ze});var n=o(9808),l=o(5e3),u=o(1086),c=o(6498),r=o(1406),d=o(2198),m=o(4850);class p{}class y{}class b{constructor(N){this.normalizedNames=new Map,this.lazyUpdate=null,N?this.lazyInit="string"==typeof N?()=>{this.headers=new Map,N.split("\n").forEach(ce=>{const Ue=ce.indexOf(":");if(Ue>0){const Oe=ce.slice(0,Ue),ve=Oe.toLowerCase(),Ae=ce.slice(Ue+1).trim();this.maybeSetNormalizedName(Oe,ve),this.headers.has(ve)?this.headers.get(ve).push(Ae):this.headers.set(ve,[Ae])}})}:()=>{this.headers=new Map,Object.keys(N).forEach(ce=>{let Ue=N[ce];const Oe=ce.toLowerCase();"string"==typeof Ue&&(Ue=[Ue]),Ue.length>0&&(this.headers.set(Oe,Ue),this.maybeSetNormalizedName(ce,Oe))})}:this.headers=new Map}has(N){return this.init(),this.headers.has(N.toLowerCase())}get(N){this.init();const ce=this.headers.get(N.toLowerCase());return ce&&ce.length>0?ce[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(N){return this.init(),this.headers.get(N.toLowerCase())||null}append(N,ce){return this.clone({name:N,value:ce,op:"a"})}set(N,ce){return this.clone({name:N,value:ce,op:"s"})}delete(N,ce){return this.clone({name:N,value:ce,op:"d"})}maybeSetNormalizedName(N,ce){this.normalizedNames.has(ce)||this.normalizedNames.set(ce,N)}init(){this.lazyInit&&(this.lazyInit instanceof b?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(N=>this.applyUpdate(N)),this.lazyUpdate=null))}copyFrom(N){N.init(),Array.from(N.headers.keys()).forEach(ce=>{this.headers.set(ce,N.headers.get(ce)),this.normalizedNames.set(ce,N.normalizedNames.get(ce))})}clone(N){const ce=new b;return ce.lazyInit=this.lazyInit&&this.lazyInit instanceof b?this.lazyInit:this,ce.lazyUpdate=(this.lazyUpdate||[]).concat([N]),ce}applyUpdate(N){const ce=N.name.toLowerCase();switch(N.op){case"a":case"s":let Ue=N.value;if("string"==typeof Ue&&(Ue=[Ue]),0===Ue.length)return;this.maybeSetNormalizedName(N.name,ce);const Oe=("a"===N.op?this.headers.get(ce):void 0)||[];Oe.push(...Ue),this.headers.set(ce,Oe);break;case"d":const ve=N.value;if(ve){let Ae=this.headers.get(ce);if(!Ae)return;Ae=Ae.filter(nt=>-1===ve.indexOf(nt)),0===Ae.length?(this.headers.delete(ce),this.normalizedNames.delete(ce)):this.headers.set(ce,Ae)}else this.headers.delete(ce),this.normalizedNames.delete(ce)}}forEach(N){this.init(),Array.from(this.normalizedNames.keys()).forEach(ce=>N(this.normalizedNames.get(ce),this.headers.get(ce)))}}class h{encodeKey(N){return P(N)}encodeValue(N){return P(N)}decodeKey(N){return decodeURIComponent(N)}decodeValue(N){return decodeURIComponent(N)}}const s=/%(\d[a-f0-9])/gi,C={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function P(x){return encodeURIComponent(x).replace(s,(N,ce)=>{var Ue;return null!==(Ue=C[ce])&&void 0!==Ue?Ue:N})}function w(x){return`${x}`}class D{constructor(N={}){if(this.updates=null,this.cloneFrom=null,this.encoder=N.encoder||new h,N.fromString){if(N.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(x,N){const ce=new Map;return x.length>0&&x.replace(/^\?/,"").split("&").forEach(Oe=>{const ve=Oe.indexOf("="),[Ae,nt]=-1==ve?[N.decodeKey(Oe),""]:[N.decodeKey(Oe.slice(0,ve)),N.decodeValue(Oe.slice(ve+1))],Pt=ce.get(Ae)||[];Pt.push(nt),ce.set(Ae,Pt)}),ce}(N.fromString,this.encoder)}else N.fromObject?(this.map=new Map,Object.keys(N.fromObject).forEach(ce=>{const Ue=N.fromObject[ce];this.map.set(ce,Array.isArray(Ue)?Ue:[Ue])})):this.map=null}has(N){return this.init(),this.map.has(N)}get(N){this.init();const ce=this.map.get(N);return ce?ce[0]:null}getAll(N){return this.init(),this.map.get(N)||null}keys(){return this.init(),Array.from(this.map.keys())}append(N,ce){return this.clone({param:N,value:ce,op:"a"})}appendAll(N){const ce=[];return Object.keys(N).forEach(Ue=>{const Oe=N[Ue];Array.isArray(Oe)?Oe.forEach(ve=>{ce.push({param:Ue,value:ve,op:"a"})}):ce.push({param:Ue,value:Oe,op:"a"})}),this.clone(ce)}set(N,ce){return this.clone({param:N,value:ce,op:"s"})}delete(N,ce){return this.clone({param:N,value:ce,op:"d"})}toString(){return this.init(),this.keys().map(N=>{const ce=this.encoder.encodeKey(N);return this.map.get(N).map(Ue=>ce+"="+this.encoder.encodeValue(Ue)).join("&")}).filter(N=>""!==N).join("&")}clone(N){const ce=new D({encoder:this.encoder});return ce.cloneFrom=this.cloneFrom||this,ce.updates=(this.updates||[]).concat(N),ce}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(N=>this.map.set(N,this.cloneFrom.map.get(N))),this.updates.forEach(N=>{switch(N.op){case"a":case"s":const ce=("a"===N.op?this.map.get(N.param):void 0)||[];ce.push(w(N.value)),this.map.set(N.param,ce);break;case"d":if(void 0===N.value){this.map.delete(N.param);break}{let Ue=this.map.get(N.param)||[];const Oe=Ue.indexOf(w(N.value));-1!==Oe&&Ue.splice(Oe,1),Ue.length>0?this.map.set(N.param,Ue):this.map.delete(N.param)}}}),this.cloneFrom=this.updates=null)}}class T{constructor(N){this.defaultValue=N}}class Y{constructor(){this.map=new Map}set(N,ce){return this.map.set(N,ce),this}get(N){return this.map.has(N)||this.map.set(N,N.defaultValue()),this.map.get(N)}delete(N){return this.map.delete(N),this}has(N){return this.map.has(N)}keys(){return this.map.keys()}}function z(x){return"undefined"!=typeof ArrayBuffer&&x instanceof ArrayBuffer}function G(x){return"undefined"!=typeof Blob&&x instanceof Blob}function X(x){return"undefined"!=typeof FormData&&x instanceof FormData}class q{constructor(N,ce,Ue,Oe){let ve;if(this.url=ce,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=N.toUpperCase(),function(x){switch(x){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Oe?(this.body=void 0!==Ue?Ue:null,ve=Oe):ve=Ue,ve&&(this.reportProgress=!!ve.reportProgress,this.withCredentials=!!ve.withCredentials,ve.responseType&&(this.responseType=ve.responseType),ve.headers&&(this.headers=ve.headers),ve.context&&(this.context=ve.context),ve.params&&(this.params=ve.params)),this.headers||(this.headers=new b),this.context||(this.context=new Y),this.params){const Ae=this.params.toString();if(0===Ae.length)this.urlWithParams=ce;else{const nt=ce.indexOf("?");this.urlWithParams=ce+(-1===nt?"?":nt$e.set(_t,N.setHeaders[_t]),Ft)),N.setParams&&(gt=Object.keys(N.setParams).reduce(($e,_t)=>$e.set(_t,N.setParams[_t]),gt)),new q(Ue,Oe,Ae,{params:gt,headers:Ft,context:Lt,reportProgress:Pt,responseType:ve,withCredentials:nt})}}var ue=(()=>((ue=ue||{})[ue.Sent=0]="Sent",ue[ue.UploadProgress=1]="UploadProgress",ue[ue.ResponseHeader=2]="ResponseHeader",ue[ue.DownloadProgress=3]="DownloadProgress",ue[ue.Response=4]="Response",ue[ue.User=5]="User",ue))();class me{constructor(N,ce=200,Ue="OK"){this.headers=N.headers||new b,this.status=void 0!==N.status?N.status:ce,this.statusText=N.statusText||Ue,this.url=N.url||null,this.ok=this.status>=200&&this.status<300}}class xe extends me{constructor(N={}){super(N),this.type=ue.ResponseHeader}clone(N={}){return new xe({headers:N.headers||this.headers,status:void 0!==N.status?N.status:this.status,statusText:N.statusText||this.statusText,url:N.url||this.url||void 0})}}class pe extends me{constructor(N={}){super(N),this.type=ue.Response,this.body=void 0!==N.body?N.body:null}clone(N={}){return new pe({body:void 0!==N.body?N.body:this.body,headers:N.headers||this.headers,status:void 0!==N.status?N.status:this.status,statusText:N.statusText||this.statusText,url:N.url||this.url||void 0})}}class oe extends me{constructor(N){super(N,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${N.url||"(unknown url)"}`:`Http failure response for ${N.url||"(unknown url)"}: ${N.status} ${N.statusText}`,this.error=N.error||null}}function ae(x,N){return{body:N,headers:x.headers,context:x.context,observe:x.observe,params:x.params,reportProgress:x.reportProgress,responseType:x.responseType,withCredentials:x.withCredentials}}let U=(()=>{class x{constructor(ce){this.handler=ce}request(ce,Ue,Oe={}){let ve;if(ce instanceof q)ve=ce;else{let Pt,Ft;Pt=Oe.headers instanceof b?Oe.headers:new b(Oe.headers),Oe.params&&(Ft=Oe.params instanceof D?Oe.params:new D({fromObject:Oe.params})),ve=new q(ce,Ue,void 0!==Oe.body?Oe.body:null,{headers:Pt,context:Oe.context,params:Ft,reportProgress:Oe.reportProgress,responseType:Oe.responseType||"json",withCredentials:Oe.withCredentials})}const Ae=(0,u.of)(ve).pipe((0,r.b)(Pt=>this.handler.handle(Pt)));if(ce instanceof q||"events"===Oe.observe)return Ae;const nt=Ae.pipe((0,d.h)(Pt=>Pt instanceof pe));switch(Oe.observe||"body"){case"body":switch(ve.responseType){case"arraybuffer":return nt.pipe((0,m.U)(Pt=>{if(null!==Pt.body&&!(Pt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Pt.body}));case"blob":return nt.pipe((0,m.U)(Pt=>{if(null!==Pt.body&&!(Pt.body instanceof Blob))throw new Error("Response is not a Blob.");return Pt.body}));case"text":return nt.pipe((0,m.U)(Pt=>{if(null!==Pt.body&&"string"!=typeof Pt.body)throw new Error("Response is not a string.");return Pt.body}));default:return nt.pipe((0,m.U)(Pt=>Pt.body))}case"response":return nt;default:throw new Error(`Unreachable: unhandled observe type ${Oe.observe}}`)}}delete(ce,Ue={}){return this.request("DELETE",ce,Ue)}get(ce,Ue={}){return this.request("GET",ce,Ue)}head(ce,Ue={}){return this.request("HEAD",ce,Ue)}jsonp(ce,Ue){return this.request("JSONP",ce,{params:(new D).append(Ue,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ce,Ue={}){return this.request("OPTIONS",ce,Ue)}patch(ce,Ue,Oe={}){return this.request("PATCH",ce,ae(Oe,Ue))}post(ce,Ue,Oe={}){return this.request("POST",ce,ae(Oe,Ue))}put(ce,Ue,Oe={}){return this.request("PUT",ce,ae(Oe,Ue))}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(p))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();class ie{constructor(N,ce){this.next=N,this.interceptor=ce}handle(N){return this.interceptor.intercept(N,this.next)}}const le=new l.InjectionToken("HTTP_INTERCEPTORS");let Ce=(()=>{class x{intercept(ce,Ue){return Ue.handle(ce)}}return x.\u0275fac=function(ce){return new(ce||x)},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})(),Te=0;class pt{}let Dt=(()=>{class x{constructor(ce,Ue){this.callbackMap=ce,this.document=Ue,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Te++}handle(ce){if("JSONP"!==ce.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==ce.responseType)throw new Error("JSONP requests must use Json response type.");return new c.y(Ue=>{const Oe=this.nextCallback(),ve=ce.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${Oe}$1`),Ae=this.document.createElement("script");Ae.src=ve;let nt=null,Pt=!1,Ft=!1;this.callbackMap[Oe]=_t=>{delete this.callbackMap[Oe],!Ft&&(nt=_t,Pt=!0)};const gt=()=>{Ae.parentNode&&Ae.parentNode.removeChild(Ae),delete this.callbackMap[Oe]},Lt=_t=>{Ft||this.resolvedPromise.then(()=>{gt(),Pt?(Ue.next(new pe({body:nt,status:200,statusText:"OK",url:ve})),Ue.complete()):Ue.error(new oe({url:ve,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},$e=_t=>{Ft||(gt(),Ue.error(new oe({error:_t,status:0,statusText:"JSONP Error",url:ve})))};return Ae.addEventListener("load",Lt),Ae.addEventListener("error",$e),this.document.body.appendChild(Ae),Ue.next({type:ue.Sent}),()=>{Ft=!0,Ae.removeEventListener("load",Lt),Ae.removeEventListener("error",$e),gt()}})}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(pt),l.\u0275\u0275inject(n.DOCUMENT))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})(),Ie=(()=>{class x{constructor(ce){this.jsonp=ce}intercept(ce,Ue){return"JSONP"===ce.method?this.jsonp.handle(ce):Ue.handle(ce)}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(Dt))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();const Qe=/^\)\]\}',?\n/;let bt=(()=>{class x{constructor(ce){this.xhrFactory=ce}handle(ce){if("JSONP"===ce.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new c.y(Ue=>{const Oe=this.xhrFactory.build();if(Oe.open(ce.method,ce.urlWithParams),ce.withCredentials&&(Oe.withCredentials=!0),ce.headers.forEach((_t,Mt)=>Oe.setRequestHeader(_t,Mt.join(","))),ce.headers.has("Accept")||Oe.setRequestHeader("Accept","application/json, text/plain, */*"),!ce.headers.has("Content-Type")){const _t=ce.detectContentTypeHeader();null!==_t&&Oe.setRequestHeader("Content-Type",_t)}if(ce.responseType){const _t=ce.responseType.toLowerCase();Oe.responseType="json"!==_t?_t:"text"}const ve=ce.serializeBody();let Ae=null;const nt=()=>{if(null!==Ae)return Ae;const _t=1223===Oe.status?204:Oe.status,Mt=Oe.statusText||"OK",Ge=new b(Oe.getAllResponseHeaders()),lt=function(x){return"responseURL"in x&&x.responseURL?x.responseURL:/^X-Request-URL:/m.test(x.getAllResponseHeaders())?x.getResponseHeader("X-Request-URL"):null}(Oe)||ce.url;return Ae=new xe({headers:Ge,status:_t,statusText:Mt,url:lt}),Ae},Pt=()=>{let{headers:_t,status:Mt,statusText:Ge,url:lt}=nt(),Ot=null;204!==Mt&&(Ot=void 0===Oe.response?Oe.responseText:Oe.response),0===Mt&&(Mt=Ot?200:0);let Nt=Mt>=200&&Mt<300;if("json"===ce.responseType&&"string"==typeof Ot){const Pe=Ot;Ot=Ot.replace(Qe,"");try{Ot=""!==Ot?JSON.parse(Ot):null}catch(Ee){Ot=Pe,Nt&&(Nt=!1,Ot={error:Ee,text:Ot})}}Nt?(Ue.next(new pe({body:Ot,headers:_t,status:Mt,statusText:Ge,url:lt||void 0})),Ue.complete()):Ue.error(new oe({error:Ot,headers:_t,status:Mt,statusText:Ge,url:lt||void 0}))},Ft=_t=>{const{url:Mt}=nt(),Ge=new oe({error:_t,status:Oe.status||0,statusText:Oe.statusText||"Unknown Error",url:Mt||void 0});Ue.error(Ge)};let gt=!1;const Lt=_t=>{gt||(Ue.next(nt()),gt=!0);let Mt={type:ue.DownloadProgress,loaded:_t.loaded};_t.lengthComputable&&(Mt.total=_t.total),"text"===ce.responseType&&!!Oe.responseText&&(Mt.partialText=Oe.responseText),Ue.next(Mt)},$e=_t=>{let Mt={type:ue.UploadProgress,loaded:_t.loaded};_t.lengthComputable&&(Mt.total=_t.total),Ue.next(Mt)};return Oe.addEventListener("load",Pt),Oe.addEventListener("error",Ft),Oe.addEventListener("timeout",Ft),Oe.addEventListener("abort",Ft),ce.reportProgress&&(Oe.addEventListener("progress",Lt),null!==ve&&Oe.upload&&Oe.upload.addEventListener("progress",$e)),Oe.send(ve),Ue.next({type:ue.Sent}),()=>{Oe.removeEventListener("error",Ft),Oe.removeEventListener("abort",Ft),Oe.removeEventListener("load",Pt),Oe.removeEventListener("timeout",Ft),ce.reportProgress&&(Oe.removeEventListener("progress",Lt),null!==ve&&Oe.upload&&Oe.upload.removeEventListener("progress",$e)),Oe.readyState!==Oe.DONE&&Oe.abort()}})}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(n.XhrFactory))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();const Et=new l.InjectionToken("XSRF_COOKIE_NAME"),xt=new l.InjectionToken("XSRF_HEADER_NAME");class dt{}let Ne=(()=>{class x{constructor(ce,Ue,Oe){this.doc=ce,this.platform=Ue,this.cookieName=Oe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ce=this.doc.cookie||"";return ce!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.\u0275parseCookieValue)(ce,this.cookieName),this.lastCookieString=ce),this.lastToken}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(n.DOCUMENT),l.\u0275\u0275inject(l.PLATFORM_ID),l.\u0275\u0275inject(Et))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})(),rt=(()=>{class x{constructor(ce,Ue){this.tokenService=ce,this.headerName=Ue}intercept(ce,Ue){const Oe=ce.url.toLowerCase();if("GET"===ce.method||"HEAD"===ce.method||Oe.startsWith("http://")||Oe.startsWith("https://"))return Ue.handle(ce);const ve=this.tokenService.getToken();return null!==ve&&!ce.headers.has(this.headerName)&&(ce=ce.clone({headers:ce.headers.set(this.headerName,ve)})),Ue.handle(ce)}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(dt),l.\u0275\u0275inject(xt))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})(),ze=(()=>{class x{constructor(ce,Ue){this.backend=ce,this.injector=Ue,this.chain=null}handle(ce){if(null===this.chain){const Ue=this.injector.get(le,[]);this.chain=Ue.reduceRight((Oe,ve)=>new ie(Oe,ve),this.backend)}return this.chain.handle(ce)}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(y),l.\u0275\u0275inject(l.Injector))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();function mt(){return"object"==typeof window?window:{}}let _e=(()=>{class x{static disable(){return{ngModule:x,providers:[{provide:rt,useClass:Ce}]}}static withOptions(ce={}){return{ngModule:x,providers:[ce.cookieName?{provide:Et,useValue:ce.cookieName}:[],ce.headerName?{provide:xt,useValue:ce.headerName}:[]]}}}return x.\u0275fac=function(ce){return new(ce||x)},x.\u0275mod=l.\u0275\u0275defineNgModule({type:x}),x.\u0275inj=l.\u0275\u0275defineInjector({providers:[rt,{provide:le,useExisting:rt,multi:!0},{provide:dt,useClass:Ne},{provide:Et,useValue:"XSRF-TOKEN"},{provide:xt,useValue:"X-XSRF-TOKEN"}]}),x})(),Z=(()=>{class x{}return x.\u0275fac=function(ce){return new(ce||x)},x.\u0275mod=l.\u0275\u0275defineNgModule({type:x}),x.\u0275inj=l.\u0275\u0275defineInjector({providers:[U,{provide:p,useClass:ze},bt,{provide:y,useExisting:bt}],imports:[[_e.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),x})(),j=(()=>{class x{}return x.\u0275fac=function(ce){return new(ce||x)},x.\u0275mod=l.\u0275\u0275defineNgModule({type:x}),x.\u0275inj=l.\u0275\u0275defineInjector({providers:[Dt,{provide:pt,useFactory:mt},{provide:le,useClass:Ie,multi:!0}]}),x})();const _=n.XhrFactory},5e3:(he,A,o)=>{"use strict";o.r(A),o.d(A,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>cg,APP_BOOTSTRAP_LISTENER:()=>xm,APP_ID:()=>Sm,APP_INITIALIZER:()=>Nc,ApplicationInitStatus:()=>Co,ApplicationModule:()=>WC,ApplicationRef:()=>ra,Attribute:()=>hd,COMPILER_OPTIONS:()=>Lm,CUSTOM_ELEMENTS_SCHEMA:()=>Yd,ChangeDetectionStrategy:()=>Ue,ChangeDetectorRef:()=>Ym,Compiler:()=>Uc,CompilerFactory:()=>eC,Component:()=>z1,ComponentFactory:()=>Na,ComponentFactoryResolver:()=>Xo,ComponentRef:()=>cp,ContentChild:()=>hg,ContentChildren:()=>dg,DEFAULT_CURRENCY_CODE:()=>Om,DebugElement:()=>wC,DebugEventListener:()=>bC,DebugNode:()=>IC,DefaultIterableDiffer:()=>eg,Directive:()=>Dm,ElementRef:()=>Zo,EmbeddedViewRef:()=>vC,ErrorHandler:()=>ko,EventEmitter:()=>ls,Host:()=>vd,HostBinding:()=>$1,HostListener:()=>Y1,INJECTOR:()=>Sa,Inject:()=>xo,InjectFlags:()=>_e,Injectable:()=>pv,InjectionToken:()=>Ei,Injector:()=>wr,Input:()=>K1,IterableDiffers:()=>Ya,KeyValueDiffers:()=>Qa,LOCALE_ID:()=>Ga,MissingTranslationStrategy:()=>us,ModuleWithComponentFactories:()=>Rm,NO_ERRORS_SCHEMA:()=>Qd,NgModule:()=>Q1,NgModuleFactory:()=>bp,NgModuleRef:()=>yo,NgProbeToken:()=>uC,NgZone:()=>xr,Optional:()=>ws,Output:()=>G1,PACKAGE_ROOT_URL:()=>X1,PLATFORM_ID:()=>wm,PLATFORM_INITIALIZER:()=>Im,Pipe:()=>W1,PlatformRef:()=>Gc,Query:()=>Do,QueryList:()=>ja,ReflectiveInjector:()=>ho,ReflectiveKey:()=>bs,Renderer2:()=>r1,RendererFactory2:()=>hp,RendererStyleFlags2:()=>rs,ResolvedReflectiveFactory:()=>Bf,Sanitizer:()=>fp,SecurityContext:()=>Ti,Self:()=>da,SimpleChange:()=>Vi,SkipSelf:()=>xs,TRANSLATIONS:()=>Z1,TRANSLATIONS_FORMAT:()=>J1,TemplateRef:()=>ta,Testability:()=>Fm,TestabilityRegistry:()=>Hc,Type:()=>aa,VERSION:()=>mp,Version:()=>pp,ViewChild:()=>pg,ViewChildren:()=>fg,ViewContainerRef:()=>za,ViewEncapsulation:()=>Ae,ViewRef:()=>qm,asNativeElements:()=>CC,assertPlatform:()=>Hm,createNgModuleRef:()=>h1,createPlatform:()=>Vm,createPlatformFactory:()=>jm,defineInjectable:()=>Qe,destroyPlatform:()=>cC,enableProdMode:()=>mC,forwardRef:()=>h,getDebugNode:()=>$a,getModuleFactory:()=>gC,getNgModuleById:()=>_C,getPlatform:()=>Kc,inject:()=>wg,isDevMode:()=>pC,platformCore:()=>FC,resolveForwardRef:()=>g,setTestabilityGetter:()=>aC,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Wc,\u0275APP_ID_RANDOM_PROVIDER:()=>Tm,\u0275ChangeDetectorStatus:()=>Oe,\u0275ComponentFactory:()=>Na,\u0275Console:()=>Am,\u0275DEFAULT_LOCALE_ID:()=>Go,\u0275INJECTOR_SCOPE:()=>eu,\u0275LifecycleHooksFeature:()=>Sf,\u0275LocaleDataIndex:()=>En,\u0275NG_COMP_DEF:()=>lt,\u0275NG_DIR_DEF:()=>Ot,\u0275NG_ELEMENT_ID:()=>B,\u0275NG_INJ_DEF:()=>ze,\u0275NG_MOD_DEF:()=>Pe,\u0275NG_PIPE_DEF:()=>Nt,\u0275NG_PROV_DEF:()=>rt,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>Fa,\u0275NO_CHANGE:()=>On,\u0275NgModuleFactory:()=>Va,\u0275NoopNgZone:()=>Nm,\u0275ReflectionCapabilities:()=>nl,\u0275Render3ComponentFactory:()=>Ba,\u0275Render3ComponentRef:()=>yp,\u0275Render3NgModuleRef:()=>Cc,\u0275RuntimeError:()=>P,\u0275ViewRef:()=>_o,\u0275_sanitizeHtml:()=>Nd,\u0275_sanitizeUrl:()=>Oo,\u0275allowSanitizationBypassAndThrow:()=>$s,\u0275bypassSanitizationTrustHtml:()=>Wg,\u0275bypassSanitizationTrustResourceUrl:()=>Yg,\u0275bypassSanitizationTrustScript:()=>Gg,\u0275bypassSanitizationTrustStyle:()=>Kg,\u0275bypassSanitizationTrustUrl:()=>$g,\u0275clearResolutionOfComponentResourcesQueue:()=>Dd,\u0275compileComponent:()=>hm,\u0275compileDirective:()=>kc,\u0275compileNgModule:()=>om,\u0275compileNgModuleDefs:()=>am,\u0275compileNgModuleFactory:()=>Um,\u0275compilePipe:()=>Em,\u0275createInjector:()=>nu,\u0275defaultIterableDiffers:()=>og,\u0275defaultKeyValueDiffers:()=>ag,\u0275detectChanges:()=>af,\u0275devModeEqual:()=>wf,\u0275findLocaleData:()=>dc,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>rm,\u0275getDebugNode:()=>$a,\u0275getDebugNodeR2:()=>TC,\u0275getDirectives:()=>yf,\u0275getHostElement:()=>su,\u0275getInjectableDef:()=>bt,\u0275getLContext:()=>er,\u0275getLocaleCurrencyCode:()=>ib,\u0275getLocalePluralCase:()=>P0,\u0275getSanitizationBypassType:()=>wd,\u0275global:()=>Lt,\u0275injectChangeDetectorRef:()=>Qm,\u0275isBoundToModule:()=>Bm,\u0275isDefaultChangeDetectionStrategy:()=>ve,\u0275isListLikeIterable:()=>jo,\u0275isObservable:()=>Yf,\u0275isPromise:()=>xu,\u0275isSubscribable:()=>$f,\u0275ivyEnabled:()=>KC,\u0275makeDecorator:()=>Hs,\u0275markDirty:()=>lf,\u0275noSideEffects:()=>ce,\u0275patchComponentDefWithScope:()=>Rc,\u0275publishDefaultGlobalUtils:()=>Xy,\u0275publishGlobalUtil:()=>Nr,\u0275registerLocaleData:()=>nb,\u0275registerNgModuleType:()=>Ep,\u0275renderComponent:()=>Zy,\u0275resetCompiledComponents:()=>L1,\u0275resetJitOptions:()=>O1,\u0275resolveComponentResources:()=>Ed,\u0275setClassMetadata:()=>vp,\u0275setCurrentInjector:()=>sl,\u0275setDocument:()=>Mr,\u0275setLocaleId:()=>F0,\u0275store:()=>Af,\u0275stringify:()=>p,\u0275transitiveScopesFor:()=>ia,\u0275unregisterLocaleData:()=>rb,\u0275unwrapSafeValue:()=>_s,\u0275whenRendered:()=>Jy,\u0275\u0275CopyDefinitionFeature:()=>If,\u0275\u0275FactoryTarget:()=>Fi,\u0275\u0275InheritDefinitionFeature:()=>au,\u0275\u0275NgOnChangesFeature:()=>Gi,\u0275\u0275ProvidersFeature:()=>up,\u0275\u0275advance:()=>Th,\u0275\u0275attribute:()=>cu,\u0275\u0275attributeInterpolate1:()=>du,\u0275\u0275attributeInterpolate2:()=>hu,\u0275\u0275attributeInterpolate3:()=>fu,\u0275\u0275attributeInterpolate4:()=>pu,\u0275\u0275attributeInterpolate5:()=>mu,\u0275\u0275attributeInterpolate6:()=>gu,\u0275\u0275attributeInterpolate7:()=>_u,\u0275\u0275attributeInterpolate8:()=>yu,\u0275\u0275attributeInterpolateV:()=>vu,\u0275\u0275classMap:()=>l0,\u0275\u0275classMapInterpolate1:()=>g0,\u0275\u0275classMapInterpolate2:()=>_0,\u0275\u0275classMapInterpolate3:()=>y0,\u0275\u0275classMapInterpolate4:()=>v0,\u0275\u0275classMapInterpolate5:()=>b0,\u0275\u0275classMapInterpolate6:()=>C0,\u0275\u0275classMapInterpolate7:()=>E0,\u0275\u0275classMapInterpolate8:()=>M0,\u0275\u0275classMapInterpolateV:()=>D0,\u0275\u0275classProp:()=>zu,\u0275\u0275contentQuery:()=>Zp,\u0275\u0275defineComponent:()=>be,\u0275\u0275defineDirective:()=>Ve,\u0275\u0275defineInjectable:()=>Ie,\u0275\u0275defineInjector:()=>ct,\u0275\u0275defineNgModule:()=>vn,\u0275\u0275definePipe:()=>ut,\u0275\u0275directiveInject:()=>Wo,\u0275\u0275disableBindings:()=>Cs,\u0275\u0275element:()=>Wf,\u0275\u0275elementContainer:()=>Kf,\u0275\u0275elementContainerEnd:()=>wu,\u0275\u0275elementContainerStart:()=>Iu,\u0275\u0275elementEnd:()=>Tu,\u0275\u0275elementStart:()=>Su,\u0275\u0275enableBindings:()=>Hr,\u0275\u0275getCurrentView:()=>Gf,\u0275\u0275getInheritedFactory:()=>dd,\u0275\u0275hostProperty:()=>uc,\u0275\u0275i18n:()=>rp,\u0275\u0275i18nApply:()=>op,\u0275\u0275i18nAttributes:()=>sp,\u0275\u0275i18nEnd:()=>mc,\u0275\u0275i18nExp:()=>gc,\u0275\u0275i18nPostprocess:()=>ap,\u0275\u0275i18nStart:()=>pc,\u0275\u0275inject:()=>zi,\u0275\u0275injectAttribute:()=>Ja,\u0275\u0275invalidFactory:()=>zf,\u0275\u0275invalidFactoryDep:()=>ol,\u0275\u0275listener:()=>Au,\u0275\u0275loadQuery:()=>Jp,\u0275\u0275namespaceHTML:()=>ds,\u0275\u0275namespaceMathML:()=>ei,\u0275\u0275namespaceSVG:()=>Ai,\u0275\u0275nextContext:()=>Xf,\u0275\u0275ngDeclareClassMetadata:()=>$C,\u0275\u0275ngDeclareComponent:()=>YC,\u0275\u0275ngDeclareDirective:()=>GC,\u0275\u0275ngDeclareFactory:()=>QC,\u0275\u0275ngDeclareInjectable:()=>XC,\u0275\u0275ngDeclareInjector:()=>ZC,\u0275\u0275ngDeclareNgModule:()=>JC,\u0275\u0275ngDeclarePipe:()=>eE,\u0275\u0275pipe:()=>Bp,\u0275\u0275pipeBind1:()=>Vp,\u0275\u0275pipeBind2:()=>jp,\u0275\u0275pipeBind3:()=>Hp,\u0275\u0275pipeBind4:()=>zp,\u0275\u0275pipeBindV:()=>Wp,\u0275\u0275projection:()=>Jf,\u0275\u0275projectionDef:()=>Zf,\u0275\u0275property:()=>Mu,\u0275\u0275propertyInterpolate:()=>Lu,\u0275\u0275propertyInterpolate1:()=>xa,\u0275\u0275propertyInterpolate2:()=>Pu,\u0275\u0275propertyInterpolate3:()=>ku,\u0275\u0275propertyInterpolate4:()=>Nu,\u0275\u0275propertyInterpolate5:()=>Fu,\u0275\u0275propertyInterpolate6:()=>Uu,\u0275\u0275propertyInterpolate7:()=>Bu,\u0275\u0275propertyInterpolate8:()=>Vu,\u0275\u0275propertyInterpolateV:()=>ju,\u0275\u0275pureFunction0:()=>Dp,\u0275\u0275pureFunction1:()=>Sp,\u0275\u0275pureFunction2:()=>Tp,\u0275\u0275pureFunction3:()=>Ip,\u0275\u0275pureFunction4:()=>wp,\u0275\u0275pureFunction5:()=>xp,\u0275\u0275pureFunction6:()=>Ap,\u0275\u0275pureFunction7:()=>Op,\u0275\u0275pureFunction8:()=>Rp,\u0275\u0275pureFunctionV:()=>Lp,\u0275\u0275queryRefresh:()=>qp,\u0275\u0275reference:()=>Of,\u0275\u0275resolveBody:()=>eh,\u0275\u0275resolveDocument:()=>Jd,\u0275\u0275resolveWindow:()=>Zd,\u0275\u0275restoreView:()=>L,\u0275\u0275sanitizeHtml:()=>Fd,\u0275\u0275sanitizeResourceUrl:()=>gl,\u0275\u0275sanitizeScript:()=>Bd,\u0275\u0275sanitizeStyle:()=>Ud,\u0275\u0275sanitizeUrl:()=>ml,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Hd,\u0275\u0275setComponentScope:()=>je,\u0275\u0275setNgModuleScope:()=>it,\u0275\u0275styleMap:()=>Yr,\u0275\u0275styleMapInterpolate1:()=>S0,\u0275\u0275styleMapInterpolate2:()=>T0,\u0275\u0275styleMapInterpolate3:()=>I0,\u0275\u0275styleMapInterpolate4:()=>w0,\u0275\u0275styleMapInterpolate5:()=>x0,\u0275\u0275styleMapInterpolate6:()=>A0,\u0275\u0275styleMapInterpolate7:()=>O0,\u0275\u0275styleMapInterpolate8:()=>R0,\u0275\u0275styleMapInterpolateV:()=>L0,\u0275\u0275styleProp:()=>Hu,\u0275\u0275stylePropInterpolate1:()=>ec,\u0275\u0275stylePropInterpolate2:()=>tc,\u0275\u0275stylePropInterpolate3:()=>nc,\u0275\u0275stylePropInterpolate4:()=>ic,\u0275\u0275stylePropInterpolate5:()=>rc,\u0275\u0275stylePropInterpolate6:()=>sc,\u0275\u0275stylePropInterpolate7:()=>oc,\u0275\u0275stylePropInterpolate8:()=>ac,\u0275\u0275stylePropInterpolateV:()=>lc,\u0275\u0275syntheticHostListener:()=>Ou,\u0275\u0275syntheticHostProperty:()=>cc,\u0275\u0275template:()=>xf,\u0275\u0275templateRefExtractor:()=>im,\u0275\u0275text:()=>m0,\u0275\u0275textInterpolate:()=>Ku,\u0275\u0275textInterpolate1:()=>Oa,\u0275\u0275textInterpolate2:()=>Gu,\u0275\u0275textInterpolate3:()=>$u,\u0275\u0275textInterpolate4:()=>Yu,\u0275\u0275textInterpolate5:()=>Qu,\u0275\u0275textInterpolate6:()=>qu,\u0275\u0275textInterpolate7:()=>Xu,\u0275\u0275textInterpolate8:()=>Zu,\u0275\u0275textInterpolateV:()=>Ju,\u0275\u0275trustConstantHtml:()=>Vd,\u0275\u0275trustConstantResourceUrl:()=>jd,\u0275\u0275viewQuery:()=>Xp});var n=o(8929),l=o(2654),u=o(6498),c=o(6787),r=o(8117);function d(e){for(let t in e)if(e[t]===d)return t;throw Error("Could not find renamed property on target object.")}function m(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function p(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(p).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 b=d({__forward_ref__:d});function h(e){return e.__forward_ref__=h,e.toString=function(){return p(this())},e}function g(e){return s(e)?e():e}function s(e){return"function"==typeof e&&e.hasOwnProperty(b)&&e.__forward_ref__===h}class P extends Error{constructor(t,i){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,i)),this.code=t}}function T(e){return"string"==typeof e?e:null==e?"":String(e)}function Y(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():T(e)}function X(e,t){const i=t?` in ${t}`:"";throw new P("201",`No provider for ${Y(e)} found${i}`)}function tt(e,t,i,a){throw new Error(`ASSERTION ERROR: ${e}`+(null==a?"":` [Expected=> ${i} ${a} ${t} <=Actual]`))}function Ie(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const Qe=Ie;function ct(e){return{providers:e.providers||[],imports:e.imports||[]}}function bt(e){return Et(e,rt)||Et(e,yt)}function Et(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ne(e){return e&&(e.hasOwnProperty(ze)||e.hasOwnProperty(mt))?e[ze]:null}const rt=d({\u0275prov:d}),ze=d({\u0275inj:d}),yt=d({ngInjectableDef:d}),mt=d({ngInjectorDef:d});var _e=(()=>((_e=_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))();let Z;function _(e){const t=Z;return Z=e,t}function x(e,t,i){const a=bt(e);return a&&"root"==a.providedIn?void 0===a.value?a.value=a.factory():a.value:i&_e.Optional?null:void 0!==t?t:void X(p(e),"Injector")}function ce(e){return{toString:e}.toString()}var Ue=(()=>((Ue=Ue||{})[Ue.OnPush=0]="OnPush",Ue[Ue.Default=1]="Default",Ue))(),Oe=(()=>((Oe=Oe||{})[Oe.CheckOnce=0]="CheckOnce",Oe[Oe.Checked=1]="Checked",Oe[Oe.CheckAlways=2]="CheckAlways",Oe[Oe.Detached=3]="Detached",Oe[Oe.Errored=4]="Errored",Oe[Oe.Destroyed=5]="Destroyed",Oe))();function ve(e){return null==e||e===Ue.Default}var Ae=(()=>{return(e=Ae||(Ae={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ae;var e})();const nt="undefined"!=typeof globalThis&&globalThis,Pt="undefined"!=typeof window&&window,Ft="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Lt=nt||"undefined"!=typeof global&&global||Pt||Ft,Mt={},Ge=[],lt=d({\u0275cmp:d}),Ot=d({\u0275dir:d}),Nt=d({\u0275pipe:d}),Pe=d({\u0275mod:d}),Ee=d({\u0275fac:d}),B=d({__NG_ELEMENT_ID__:d});let V=0;function be(e){return ce(()=>{const i={},a={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ue.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ge,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ae.Emulated,id:"c",styles:e.styles||Ge,_:null,setInput:null,schemas:e.schemas||null,tView:null},f=e.directives,v=e.features,O=e.pipes;return a.id+=V++,a.inputs=st(e.inputs,i),a.outputs=st(e.outputs),v&&v.forEach(H=>H(a)),a.directiveDefs=f?()=>("function"==typeof f?f():f).map(Ct):null,a.pipeDefs=O?()=>("function"==typeof O?O():O).map(Ht):null,a})}function je(e,t,i){const a=e.\u0275cmp;a.directiveDefs=()=>t.map(Ct),a.pipeDefs=()=>i.map(Ht)}function Ct(e){return At(e)||Xt(e)}function Ht(e){return Jt(e)}const $t={};function vn(e){return ce(()=>{const t={type:e.type,bootstrap:e.bootstrap||Ge,declarations:e.declarations||Ge,imports:e.imports||Ge,exports:e.exports||Ge,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&($t[e.id]=e.type),t})}function it(e,t){return ce(()=>{const i=fn(e,!0);i.declarations=t.declarations||Ge,i.imports=t.imports||Ge,i.exports=t.exports||Ge})}function st(e,t){if(null==e)return Mt;const i={};for(const a in e)if(e.hasOwnProperty(a)){let f=e[a],v=f;Array.isArray(f)&&(v=f[1],f=f[0]),i[f]=a,t&&(t[f]=v)}return i}const Ve=be;function ut(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function At(e){return e[lt]||null}function Xt(e){return e[Ot]||null}function Jt(e){return e[Nt]||null}function fn(e,t){const i=e[Pe]||null;if(!i&&!0===t)throw new Error(`Type ${p(e)} does not have '\u0275mod' property.`);return i}function ci(e){return Array.isArray(e)&&"object"==typeof e[1]}function Xn(e){return Array.isArray(e)&&!0===e[1]}function Ri(e){return 0!=(8&e.flags)}function _i(e){return 2==(2&e.flags)}function bi(e){return 1==(1&e.flags)}function si(e){return null!==e.template}function mn(e){return 0!=(512&e[2])}function Si(e,t){return e.hasOwnProperty(Ee)?e[Ee]:null}class Vi{constructor(t,i,a){this.previousValue=t,this.currentValue=i,this.firstChange=a}isFirstChange(){return this.firstChange}}function Gi(){return Pi}function Pi(e){return e.type.prototype.ngOnChanges&&(e.setInput=cr),ur}function ur(){const e=dr(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===Mt)e.previous=t;else for(let a in t)i[a]=t[a];e.current=null,this.ngOnChanges(t)}}function cr(e,t,i,a){const f=dr(e)||function(e,t){return e[di]=t}(e,{previous:Mt,current:null}),v=f.current||(f.current={}),O=f.previous,H=this.declaredInputs[i],se=O[H];v[H]=new Vi(se&&se.currentValue,t,O===Mt),e[a]=t}Gi.ngInherit=!0;const di="__ngSimpleChanges__";function dr(e){return e[di]||null}let $i=null;const Xi=e=>{$i=e},yi=function(e,t,i){null!=$i&&$i(e,t,i)},rr="http://www.w3.org/2000/svg",Br="http://www.w3.org/1998/MathML/";let Rr;function Mr(e){Rr=e}function Yi(){return void 0!==Rr?Rr:"undefined"!=typeof document?document:void 0}function Wn(e){return!!e.listen}const Dr={createRenderer:(e,t)=>Yi()};function fe(e){for(;Array.isArray(e);)e=e[0];return e}function I(e,t){return fe(t[e])}function de(e,t){return fe(t[e.index])}function wt(e,t){return e.data[t]}function Wt(e,t){return e[t]}function hn(e,t){const i=t[e];return ci(i)?i:i[0]}function Nn(e){return 4==(4&e[2])}function Hn(e){return 128==(128&e[2])}function Yn(e,t){return null==t?null:e[t]}function Qn(e){e[18]=0}function ii(e,t){e[5]+=t;let i=e,a=e[3];for(;null!==a&&(1===t&&1===i[5]||-1===t&&0===i[5]);)a[5]+=t,i=a,a=a[3]}const dn={lFrame:cs(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Sr(){return dn.bindingsEnabled}function Hr(){dn.bindingsEnabled=!0}function Cs(){dn.bindingsEnabled=!1}function ye(){return dn.lFrame.lView}function M(){return dn.lFrame.tView}function L(e){return dn.lFrame.contextLView=e,e[8]}function ne(){let e=we();for(;null!==e&&64===e.type;)e=e.parent;return e}function we(){return dn.lFrame.currentTNode}function He(){const e=dn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Je(e,t){const i=dn.lFrame;i.currentTNode=e,i.isParent=t}function at(){return dn.lFrame.isParent}function St(){dn.lFrame.isParent=!1}function en(){return dn.isInCheckNoChangesMode}function yn(e){dn.isInCheckNoChangesMode=e}function pn(){const e=dn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function rn(){return dn.lFrame.bindingIndex}function Cn(e){return dn.lFrame.bindingIndex=e}function In(){return dn.lFrame.bindingIndex++}function Gn(e){const t=dn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function Ci(e){dn.lFrame.inI18n=e}function vi(e,t){const i=dn.lFrame;i.bindingIndex=i.bindingRootIndex=e,ki(t)}function ki(e){dn.lFrame.currentDirectiveIndex=e}function gi(e){const t=dn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Zi(){return dn.lFrame.currentQueryIndex}function xi(e){dn.lFrame.currentQueryIndex=e}function Ji(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Zr(e,t,i){if(i&_e.SkipSelf){let f=t,v=e;for(;!(f=f.parent,null!==f||i&_e.Host||(f=Ji(v),null===f||(v=v[15],10&f.type))););if(null===f)return!1;t=f,e=v}const a=dn.lFrame=gr();return a.currentTNode=t,a.lView=e,!0}function mr(e){const t=gr(),i=e[1];dn.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function gr(){const e=dn.lFrame,t=null===e?null:e.child;return null===t?cs(e):t}function cs(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 Jr(){const e=dn.lFrame;return dn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const tn=Jr;function un(){const e=Jr();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 Un(){return dn.lFrame.selectedIndex}function hi(e){dn.lFrame.selectedIndex=e}function Pn(){const e=dn.lFrame;return wt(e.tView,e.selectedIndex)}function Ai(){dn.lFrame.currentNamespace=rr}function ei(){dn.lFrame.currentNamespace=Br}function ds(){dn.lFrame.currentNamespace=null}function or(e,t){for(let i=t.directiveStart,a=t.directiveEnd;i=a)break}else t[se]<0&&(e[18]+=65536),(H>11>16&&(3&e[2])===t){e[2]+=2048,yi(4,H,v);try{v.call(H)}finally{yi(5,H,v)}}}else{yi(4,H,v);try{v.call(H)}finally{yi(5,H,v)}}}class fs{constructor(t,i,a){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=a}}function vt(e,t,i){const a=Wn(e);let f=0;for(;ft){O=v-1;break}}}for(;v>16}(e),a=t;for(;i>0;)a=a[15],i--;return a}let De=!0;function Fe(e){const t=De;return De=e,t}let sn=0;function cn(e,t){const i=Zn(e,t);if(-1!==i)return i;const a=t[1];a.firstCreatePass&&(e.injectorIndex=t.length,qn(a.data,e),qn(t,null),qn(a.blueprint,null));const f=es(e,t),v=e.injectorIndex;if(re(f)){const O=W(f),H=ge(f,t),se=H[1].data;for(let Me=0;Me<8;Me++)t[v+Me]=H[O+Me]|se[O+Me]}return t[v+8]=f,v}function qn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function es(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,a=null,f=t;for(;null!==f;){const v=f[1],O=v.type;if(a=2===O?v.declTNode:1===O?f[6]:null,null===a)return-1;if(i++,f=f[15],-1!==a.injectorIndex)return a.injectorIndex|i<<16}return-1}function vr(e,t,i){!function(e,t,i){let a;"string"==typeof i?a=i.charCodeAt(0)||0:i.hasOwnProperty(B)&&(a=i[B]),null==a&&(a=i[B]=sn++);const f=255&a;t.data[e+(f>>5)]|=1<=0?255&t:Xa:t}(i);if("function"==typeof v){if(!Zr(t,e,a))return a&_e.Host?Kr(f,i,a):Is(t,i,a,f);try{const O=v(a);if(null!=O||a&_e.Optional)return O;X(i)}finally{tn()}}else if("number"==typeof v){let O=null,H=Zn(e,t),se=-1,Me=a&_e.Host?t[16][6]:null;for((-1===H||a&_e.SkipSelf)&&(se=-1===H?es(e,t):t[H+8],-1!==se&&cd(a,!1)?(O=t[1],H=W(se),t=ge(se,t)):H=-1);-1!==H;){const Le=t[1];if(ud(v,H,Le.data)){const qe=lg(H,t,i,O,a,Me);if(qe!==gs)return qe}se=t[H+8],-1!==se&&cd(a,t[1].data[H+8]===Me)&&ud(v,H,t)?(O=Le,H=W(se),t=ge(se,t)):H=-1}}}return Is(t,i,a,f)}const gs={};function Xa(){return new Us(ne(),ye())}function lg(e,t,i,a,f,v){const O=t[1],H=O.data[e+8],Le=oa(H,O,i,null==a?_i(H)&&De:a!=O&&0!=(3&H.type),f&_e.Host&&v===H);return null!==Le?Mo(t,O,Le,H):gs}function oa(e,t,i,a,f){const v=e.providerIndexes,O=t.data,H=1048575&v,se=e.directiveStart,Le=v>>20,ht=f?H+Le:e.directiveEnd;for(let Tt=a?H:H+Le;Tt=se&&Bt.type===i)return Tt}if(f){const Tt=O[se];if(Tt&&si(Tt)&&Tt.type===i)return se}return null}function Mo(e,t,i,a){let f=e[i];const v=t.data;if(function(e){return e instanceof fs}(f)){const O=f;O.resolving&&function(e,t){throw new P("200",`Circular dependency in DI detected for ${e}`)}(Y(v[i]));const H=Fe(O.canSeeViewProviders);O.resolving=!0;const se=O.injectImpl?_(O.injectImpl):null;Zr(e,a,_e.Default);try{f=e[i]=O.factory(void 0,v,e,a),t.firstCreatePass&&i>=a.directiveStart&&function(e,t,i){const{ngOnChanges:a,ngOnInit:f,ngDoCheck:v}=t.type.prototype;if(a){const O=Pi(t);(i.preOrderHooks||(i.preOrderHooks=[])).push(e,O),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,O)}f&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-e,f),v&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,v),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,v))}(i,v[i],t)}finally{null!==se&&_(se),Fe(H),O.resolving=!1,tn()}}return f}function ud(e,t,i){return!!(i[t+(e>>5)]&1<{const t=e.prototype.constructor,i=t[Ee]||Za(t),a=Object.prototype;let f=Object.getPrototypeOf(e.prototype).constructor;for(;f&&f!==a;){const v=f[Ee]||Za(f);if(v&&v!==i)return v;f=Object.getPrototypeOf(f)}return v=>new v})}function Za(e){return s(e)?()=>{const t=Za(g(e));return t&&t()}:Si(e)}function Ja(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const a=i.length;let f=0;for(;f{const v=el(t);function O(...H){if(this instanceof O)return v.call(this,...H),this;const se=new O(...H);return function(Le){return f&&f(Le,...H),(Le.hasOwnProperty(Bs)?Le[Bs]:Object.defineProperty(Le,Bs,{value:[]})[Bs]).push(se),a&&a(Le),Le}}return i&&(O.prototype=Object.create(i.prototype)),O.prototype.ngMetadataName=e,O.annotationCls=O,O})}function el(e){return function(...i){if(e){const a=e(...i);for(const f in a)this[f]=a[f]}}}function zs(e,t,i){return ce(()=>{const a=el(t);function f(...v){if(this instanceof f)return a.apply(this,v),this;const O=new f(...v);return H.annotation=O,H;function H(se,Me,Le){const qe=se.hasOwnProperty(Vs)?se[Vs]:Object.defineProperty(se,Vs,{value:[]})[Vs];for(;qe.length<=Le;)qe.push(null);return(qe[Le]=qe[Le]||[]).push(O),se}}return i&&(f.prototype=Object.create(i.prototype)),f.prototype.ngMetadataName=e,f.annotationCls=f,f})}function Es(e,t,i,a){return ce(()=>{const f=el(t);function v(...O){if(this instanceof v)return f.apply(this,O),this;const H=new v(...O);return function(Me,Le){const qe=Me.constructor,ht=qe.hasOwnProperty(js)?qe[js]:Object.defineProperty(qe,js,{value:{}})[js];ht[Le]=ht.hasOwnProperty(Le)&&ht[Le]||[],ht[Le].unshift(H),a&&a(Me,Le,...O)}}return i&&(v.prototype=Object.create(i.prototype)),v.prototype.ngMetadataName=e,v.annotationCls=v,v})}const hd=zs("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Ja(e)}));class Ei{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=Ie({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}toString(){return`InjectionToken ${this._desc}`}}const cg=new Ei("AnalyzeForEntryComponents");class Do{}const dg=Es("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),Do),hg=Es("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),Do),fg=Es("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),Do),pg=Es("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),Do);var Fi=(()=>((Fi=Fi||{})[Fi.Directive=0]="Directive",Fi[Fi.Component=1]="Component",Fi[Fi.Injectable=2]="Injectable",Fi[Fi.Pipe=3]="Pipe",Fi[Fi.NgModule=4]="NgModule",Fi))();function Ui(e){const t=Lt.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const aa=Function;function So(e){return"function"==typeof e}function kr(e,t){void 0===t&&(t=e);for(let i=0;iArray.isArray(i)?ts(i,t):t(i))}function pd(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function la(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function To(e,t){const i=[];for(let a=0;a=0?e[1|a]=i:(a=~a,function(e,t,i,a){let f=e.length;if(f==t)e.push(i,a);else if(1===f)e.push(a,e[0]),e[0]=i;else{for(f--,e.push(e[f-1],e[f]);f>t;)e[f]=e[f-2],f--;e[t]=i,e[t+1]=a}}(e,a,t,i)),a}function tl(e,t){const i=Ws(e,t);if(i>=0)return e[1|i]}function Ws(e,t){return function(e,t,i){let a=0,f=e.length>>i;for(;f!==a;){const v=a+(f-a>>1),O=e[v<t?f=v:a=v+1}return~(f<new t(...i)}_zipTypesAndAnnotations(t,i){let a;a=To(void 0===t?i.length:t.length);for(let f=0;fLe&&Le.type),Me=H.map(Le=>Le&&il(Le.decorators));return this._zipTypesAndAnnotations(se,Me)}const v=t.hasOwnProperty(Vs)&&t[Vs],O=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return O||v?this._zipTypesAndAnnotations(O,v):To(t.length)}parameters(t){if(!So(t))return[];const i=ua(t);let a=this._ownParameters(t,i);return!a&&i!==Object&&(a=this.parameters(i)),a||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let a=t.annotations;return"function"==typeof a&&a.annotations&&(a=a.annotations),a}return t.decorators&&t.decorators!==i.decorators?il(t.decorators):t.hasOwnProperty(Bs)?t[Bs]:null}annotations(t){if(!So(t))return[];const i=ua(t),a=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(a)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let a=t.propMetadata;return"function"==typeof a&&a.propMetadata&&(a=a.propMetadata),a}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const a=t.propDecorators,f={};return Object.keys(a).forEach(v=>{f[v]=il(a[v])}),f}return t.hasOwnProperty(js)?t[js]:null}propMetadata(t){if(!So(t))return{};const i=ua(t),a={};if(i!==Object){const v=this.propMetadata(i);Object.keys(v).forEach(O=>{a[O]=v[O]})}const f=this._ownPropMetadata(t,i);return f&&Object.keys(f).forEach(v=>{const O=[];a.hasOwnProperty(v)&&O.push(...a[v]),O.push(...f[v]),a[v]=O}),a}ownPropMetadata(t){return So(t)&&this._ownPropMetadata(t,ua(t))||{}}hasLifecycleHook(t,i){return t instanceof aa&&i in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:`./${p(t)}`}resourceUri(t){return`./${p(t)}`}resolveIdentifier(t,i,a,f){return f}resolveEnum(t,i){return t[i]}}function il(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function ua(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Ms={},rl="__NG_DI_FLAG__",ca="ngTempTokenPath",Dg=/\n/gm,yd="__source",Tg=d({provide:String,useValue:d});let Io;function sl(e){const t=Io;return Io=e,t}function Ig(e,t=_e.Default){if(void 0===Io)throw new Error("inject() must be called from an injection context");return null===Io?x(e,void 0,t):Io.get(e,t&_e.Optional?null:void 0,t)}function zi(e,t=_e.Default){return(Z||Ig)(g(e),t)}function ol(e){throw new Error("invalid")}const wg=zi;function al(e){const t=[];for(let i=0;i({token:e})),-1),ws=wo(zs("Optional"),8),da=wo(zs("Self"),2),xs=wo(zs("SkipSelf"),4),vd=wo(zs("Host"),1);let bd=null;function ll(){return bd=bd||new nl}function ha(e){return Cd(ll().parameters(e))}function Cd(e){return e.map(t=>function(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 O=[];f.templateUrl&&O.push(a(f.templateUrl).then(qe=>{f.template=qe}));const H=f.styleUrls,se=f.styles||(f.styles=[]),Me=f.styles.length;H&&H.forEach((qe,ht)=>{se.push(""),O.push(a(qe).then(Tt=>{se[Me+ht]=Tt,H.splice(H.indexOf(qe),1),0==H.length&&(f.styleUrls=void 0)}))});const Le=Promise.all(O).then(()=>function(e){Ao.delete(e)}(v));t.push(Le)}),Dd(),Promise.all(t).then(()=>{})}let Ks=new Map;const Ao=new Set;function Md(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Dd(){const e=Ks;return Ks=new Map,e}function kg(e){return"string"==typeof e?e:e.text()}let fa,pa;function ul(){if(void 0===fa&&(fa=null,Lt.trustedTypes))try{fa=Lt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return fa}function Gs(e){var t;return(null===(t=ul())||void 0===t?void 0:t.createHTML(e))||e}function cl(){if(void 0===pa&&(pa=null,Lt.trustedTypes))try{pa=Lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return pa}function Sd(e){var t;return(null===(t=cl())||void 0===t?void 0:t.createHTML(e))||e}function Td(e){var t;return(null===(t=cl())||void 0===t?void 0:t.createScript(e))||e}function Id(e){var t;return(null===(t=cl())||void 0===t?void 0:t.createScriptURL(e))||e}class As{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Bg extends As{getTypeName(){return"HTML"}}class Vg extends As{getTypeName(){return"Style"}}class jg extends As{getTypeName(){return"Script"}}class Hg extends As{getTypeName(){return"URL"}}class zg extends As{getTypeName(){return"ResourceURL"}}function _s(e){return e instanceof As?e.changingThisBreaksApplicationSecurity:e}function $s(e,t){const i=wd(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see https://g.co/ng/security#xss)`)}return i===t}function wd(e){return e instanceof As&&e.getTypeName()||null}function Wg(e){return new Bg(e)}function Kg(e){return new Vg(e)}function Gg(e){return new jg(e)}function $g(e){return new Hg(e)}function Yg(e){return new zg(e)}function xd(e){const t=new qg(e);return function(){try{return!!(new window.DOMParser).parseFromString(Gs(""),"text/html")}catch(e){return!1}}()?new Qg(t):t}class Qg{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(Gs(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch(i){return null}}}class qg{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const i=this.inertDocument.createElement("html");this.inertDocument.appendChild(i);const a=this.inertDocument.createElement("body");i.appendChild(a)}}getInertBodyElement(t){const i=this.inertDocument.createElement("template");if("content"in i)return i.innerHTML=Gs(t),i;const a=this.inertDocument.createElement("body");return a.innerHTML=Gs(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(a),a}stripCustomNsAttrs(t){const i=t.attributes;for(let f=i.length-1;0Oo(t.trim())).join(", ")}function ns(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Ro(...e){const t={};for(const i of e)for(const a in i)i.hasOwnProperty(a)&&(t[a]=!0);return t}const Od=ns("area,br,col,hr,img,wbr"),Rd=ns("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ld=ns("rp,rt"),dl=Ro(Od,Ro(Rd,ns("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")),Ro(Ld,ns("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")),Ro(Ld,Rd)),hl=ns("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),fl=ns("srcset"),Pd=Ro(hl,fl,ns("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ns("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")),e_=ns("script,style,template");class t_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,a=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?a=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,a&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let f=this.checkClobberedElement(i,i.nextSibling);if(f){i=f;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!dl.hasOwnProperty(i))return this.sanitizedSomething=!0,!e_.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const a=t.attributes;for(let f=0;f"),!0}endElement(t){const i=t.nodeName.toLowerCase();dl.hasOwnProperty(i)&&!Od.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(kd(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 n_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i_=/([^\#-~ |!])/g;function kd(e){return e.replace(/&/g,"&").replace(n_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(i_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let ma;function Nd(e,t){let i=null;try{ma=ma||xd(e);let a=t?String(t):"";i=ma.getInertBodyElement(a);let f=5,v=a;do{if(0===f)throw new Error("Failed to sanitize html because the input is unstable");f--,a=v,v=i.innerHTML,i=ma.getInertBodyElement(a)}while(a!==v);return Gs((new t_).sanitizeChildren(pl(i)||i))}finally{if(i){const a=pl(i)||i;for(;a.firstChild;)a.removeChild(a.firstChild)}}}function pl(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ti=(()=>((Ti=Ti||{})[Ti.NONE=0]="NONE",Ti[Ti.HTML=1]="HTML",Ti[Ti.STYLE=2]="STYLE",Ti[Ti.SCRIPT=3]="SCRIPT",Ti[Ti.URL=4]="URL",Ti[Ti.RESOURCE_URL=5]="RESOURCE_URL",Ti))();function Fd(e){const t=Lo();return t?Sd(t.sanitize(Ti.HTML,e)||""):$s(e,"HTML")?Sd(_s(e)):Nd(Yi(),T(e))}function Ud(e){const t=Lo();return t?t.sanitize(Ti.STYLE,e)||"":$s(e,"Style")?_s(e):T(e)}function ml(e){const t=Lo();return t?t.sanitize(Ti.URL,e)||"":$s(e,"URL")?_s(e):Oo(T(e))}function gl(e){const t=Lo();if(t)return Id(t.sanitize(Ti.RESOURCE_URL,e)||"");if($s(e,"ResourceURL"))return Id(_s(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Bd(e){const t=Lo();if(t)return Td(t.sanitize(Ti.SCRIPT,e)||"");if($s(e,"Script"))return Td(_s(e));throw new Error("unsafe value used in a script context")}function Vd(e){return Gs(e[0])}function jd(e){return function(e){var t;return(null===(t=ul())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Hd(e,t,i){return function(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?gl:ml}(t,i)(e)}function Lo(){const e=ye();return e&&e[12]}function er(e){let t=Po(e);if(t){if(Array.isArray(t)){const i=t;let a,f,v;if(function(e){return e&&e.constructor&&e.constructor.\u0275cmp}(e)){if(a=Gd(i,e),-1==a)throw new Error("The provided component was not found in the application");f=e}else if(function(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(a=function(e,t){let i=e[1].firstChild;for(;i;){const f=i.directiveEnd;for(let v=i.directiveStart;v=0){const H=fe(v[O]),se=_l(v,O,H);tr(H,se),t=se;break}}}}return t||null}function _l(e,t,i){return{lView:e,nodeIndex:t,native:i,component:void 0,directives:void 0,localRefs:void 0}}function zd(e){let i,t=Po(e);if(Array.isArray(t)){const a=Gd(t,e);i=hn(a,t);const f=_l(t,a,i[0]);f.component=e,tr(e,f),tr(f.native,f)}else i=hn(t.nodeIndex,t.lView);return i}const Wd="__ngContext__";function tr(e,t){e[Wd]=t}function Po(e){return e[Wd]||null}function yl(e){const t=Po(e);return t?Array.isArray(t)?t:t.lView:null}function Kd(e,t){const i=e[1];for(let a=20;a|^->||--!>|)/;const Xd=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Lt))();function Zd(e){return e.ownerDocument.defaultView}function Jd(e){return e.ownerDocument}function eh(e){return e.ownerDocument.body}function is(e){return e instanceof Function?e():e}var rs=(()=>((rs=rs||{})[rs.Important=1]="Important",rs[rs.DashCase=2]="DashCase",rs))();let Cl;function El(e,t){return Cl(e,t)}function No(e){const t=e[3];return Xn(t)?t[3]:t}function rh(e){return function(e){let t=ci(e)?e:yl(e);for(;t&&!(512&t[2]);)t=No(t);return t}(e)[8]}function Ml(e){return sh(e[13])}function Dl(e){return sh(e[4])}function sh(e){for(;null!==e&&!Xn(e);)e=e[4];return e}function Qs(e,t,i,a,f){if(null!=a){let v,O=!1;Xn(a)?v=a:ci(a)&&(O=!0,a=a[0]);const H=fe(a);0===e&&null!==i?null==f?dh(t,i,H):Os(t,i,H,f||null,!0):1===e&&null!==i?Os(t,i,H,f||null,!0):2===e?yh(t,H,O):3===e&&t.destroyNode(H),null!=v&&function(e,t,i,a,f){const v=i[7];v!==fe(i)&&Qs(t,e,a,v,f);for(let H=10;Ht.replace(y_,"\u200b$1\u200b"))}(t))}function Tl(e,t,i){return Wn(e)?e.createElement(t,i):null===i?e.createElement(t):e.createElementNS(i,t)}function ah(e,t){const i=e[9],a=i.indexOf(t),f=t[3];1024&t[2]&&(t[2]&=-1025,ii(f,-1)),i.splice(a,1)}function Il(e,t){if(e.length<=10)return;const i=10+t,a=e[i];if(a){const f=a[17];null!==f&&f!==e&&ah(f,a),t>0&&(e[i-1][4]=a[4]);const v=la(e,10+t);!function(e,t){Fo(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(a[1],a);const O=v[19];null!==O&&O.detachView(v[1]),a[3]=null,a[4]=null,a[2]&=-129}return a}function lh(e,t){if(!(256&t[2])){const i=t[11];Wn(i)&&i.destroyNode&&Fo(e,t,i,3,null,null),function(e){let t=e[13];if(!t)return wl(e[1],e);for(;t;){let i=null;if(ci(t))i=t[13];else{const a=t[10];a&&(i=a)}if(!i){for(;t&&!t[4]&&t!==e;)ci(t)&&wl(t[1],t),t=t[3];null===t&&(t=e),ci(t)&&wl(t[1],t),i=t&&t[4]}t=i}}(t)}}function wl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let a=0;a=0?a[f=Me]():a[f=-Me].unsubscribe(),v+=2}else{const O=a[f=i[v+1]];i[v].call(O)}if(null!==a){for(let v=f+1;vv?"":f[qe+1].toLowerCase();const Tt=8&a?ht:null;if(Tt&&-1!==Ch(Tt,Me,0)||2&a&&Me!==ht){if(Gr(a))return!1;O=!0}}}}else{if(!O&&!Gr(a)&&!Gr(se))return!1;if(O&&Gr(se))continue;O=!1,a=se|1&a}}return Gr(a)||O}function Gr(e){return 0==(1&e)}function H_(e,t,i,a){if(null===t)return-1;let f=0;if(a||!i){let v=!1;for(;f-1)for(i++;i0?'="'+H+'"':"")+"]"}else 8&a?f+="."+O:4&a&&(f+=" "+O);else""!==f&&!Gr(O)&&(t+=Sh(v,f),f=""),a=O,v=v||!Gr(a);i++}return""!==f&&(t+=Sh(v,f)),t}const On={};function Th(e){Ih(M(),ye(),Un()+e,en())}function Ih(e,t,i,a){if(!a)if(3==(3&t[2])){const v=e.preOrderCheckHooks;null!==v&&Hi(t,v,i)}else{const v=e.preOrderHooks;null!==v&&zr(t,v,0,i)}hi(i)}function va(e,t){return e<<17|t<<2}function $r(e){return e>>17&32767}function Ll(e){return 2|e}function ys(e){return(131068&e)>>2}function Pl(e,t){return-131069&e|t<<2}function kl(e){return 1|e}const zl=(()=>Promise.resolve(null))();function Uh(e,t){const i=e.contentQueries;if(null!==i)for(let a=0;a20&&Ih(e,t,20,en()),yi(O?2:0,f),i(a,f)}finally{hi(v),yi(O?3:1,f)}}function Vh(e,t,i){if(Ri(t)){const f=t.directiveEnd;for(let v=t.directiveStart;v0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(H)!=se&&H.push(se),H.push(a,f,O)}}function Yh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Qh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ey(e,t,i){if(i){if(t.exportAs)for(let a=0;a0&&Ql(i)}}function Ql(e){for(let a=Ml(e);null!==a;a=Dl(a))for(let f=10;f0&&Ql(v)}const i=e[1].components;if(null!==i)for(let a=0;a0&&Ql(f)}}function xy(e,t){const i=hn(t,e),a=i[1];(function(e,t){for(let i=t.length;ia=f),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Xl(e)),2&e.flags){e.flags&=-3;const f=e.playerHandler;f&&f.flushPlayers()}e.clean=zl,a(null)})}}(ql(zd(e))[8])}const Sa=new Ei("INJECTOR",-1);class uf{get(t,i=Ms){if(i===Ms){const a=new Error(`NullInjectorError: No provider for ${p(t)}!`);throw a.name="NullInjectorError",a}return i}}const eu=new Ei("Set Injector scope."),Vo={},ky={};let tu;function cf(){return void 0===tu&&(tu=new uf),tu}function nu(e,t=null,i=null,a){const f=df(e,t,i,a);return f._resolveInjectorDefTypes(),f}function df(e,t=null,i=null,a){return new Ny(e,i,t||cf(),a)}class Ny{constructor(t,i,a,f=null){this.parent=a,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const v=[];i&&ts(i,H=>this.processProvider(H,t,i)),ts([t],H=>this.processInjectorType(H,[],v)),this.records.set(Sa,Js(void 0,this));const O=this.records.get(eu);this.scope=null!=O?O.value:null,this.source=f||("object"==typeof t?null:p(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,i=Ms,a=_e.Default){this.assertNotDestroyed();const f=sl(this),v=_(void 0);try{if(!(a&_e.SkipSelf)){let H=this.records.get(t);if(void 0===H){const se=("function"==typeof(e=t)||"object"==typeof e&&e instanceof Ei)&&bt(t);H=se&&this.injectableDefInScope(se)?Js(iu(t),Vo):null,this.records.set(t,H)}if(null!=H)return this.hydrate(t,H)}return(a&_e.Self?cf():this.parent).get(t,i=a&_e.Optional&&i===Ms?null:i)}catch(O){if("NullInjectorError"===O.name){if((O[ca]=O[ca]||[]).unshift(p(t)),f)throw O;return function(e,t,i,a){const f=e[ca];throw t[yd]&&f.unshift(t[yd]),e.message=function(e,t,i,a=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let f=p(t);if(Array.isArray(t))f=t.map(p).join(" -> ");else if("object"==typeof t){let v=[];for(let O in t)if(t.hasOwnProperty(O)){let H=t[O];v.push(O+":"+("string"==typeof H?JSON.stringify(H):p(H)))}f=`{${v.join(", ")}}`}return`${i}${a?"("+a+")":""}[${f}]: ${e.replace(Dg,"\n ")}`}("\n"+e.message,f,i,a),e.ngTokenPath=f,e[ca]=null,e}(O,t,"R3InjectorError",this.source)}throw O}finally{_(v),sl(f)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((a,f)=>t.push(p(f))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,i,a){if(!(t=g(t)))return!1;let f=Ne(t);const v=null==f&&t.ngModule||void 0,O=void 0===v?t:v,H=-1!==a.indexOf(O);if(void 0!==v&&(f=Ne(v)),null==f)return!1;if(null!=f.imports&&!H){let Le;a.push(O);try{ts(f.imports,qe=>{this.processInjectorType(qe,i,a)&&(void 0===Le&&(Le=[]),Le.push(qe))})}finally{}if(void 0!==Le)for(let qe=0;qethis.processProvider(Bt,ht,Tt||Ge))}}this.injectorDefTypes.add(O);const se=Si(O)||(()=>new O);this.records.set(O,Js(se,Vo));const Me=f.providers;if(null!=Me&&!H){const Le=t;ts(Me,qe=>this.processProvider(qe,Le,Me))}return void 0!==v&&void 0!==t.providers}processProvider(t,i,a){let f=eo(t=g(t))?t:g(t&&t.provide);const v=(e=t,ff(e)?Js(void 0,e.useValue):Js(hf(e),Vo));var e;if(eo(t)||!0!==t.multi)this.records.get(f);else{let O=this.records.get(f);O||(O=Js(void 0,Vo,!0),O.factory=()=>al(O.multi),this.records.set(f,O)),f=t,O.multi.push(t)}this.records.set(f,v)}hydrate(t,i){return i.value===Vo&&(i.value=ky,i.value=i.factory()),"object"==typeof i.value&&i.value&&null!==(e=i.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(i.value),i.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const i=g(t.providedIn);return"string"==typeof i?"any"===i||i===this.scope:this.injectorDefTypes.has(i)}}function iu(e){const t=bt(e),i=null!==t?t.factory:Si(e);if(null!==i)return i;if(e instanceof Ei)throw new Error(`Token ${p(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const a=To(t,"?");throw new Error(`Can't resolve all parameters for ${p(e)}: (${a.join(", ")}).`)}const i=function(e){const t=e&&(e[rt]||e[yt]);if(t){const i=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${i}" class.`),t}return null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new Error("unreachable")}function hf(e,t,i){let a;if(eo(e)){const f=g(e);return Si(f)||iu(f)}if(ff(e))a=()=>g(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))a=()=>e.useFactory(...al(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))a=()=>zi(g(e.useExisting));else{const f=g(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Si(f)||iu(f);a=()=>new f(...al(e.deps))}return a}function Js(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function ff(e){return null!==e&&"object"==typeof e&&Tg in e}function eo(e){return"function"==typeof e}let wr=(()=>{class e{static create(i,a){var f;if(Array.isArray(i))return nu({name:""},a,i,"");{const v=null!==(f=i.name)&&void 0!==f?f:"";return nu({name:v},i.parent,i.providers,v)}}}return e.THROW_IF_NOT_FOUND=Ms,e.NULL=new uf,e.\u0275prov=Ie({token:e,providedIn:"any",factory:()=>zi(Sa)}),e.__NG_ELEMENT_ID__=-1,e})();function ru(e){ou(e);const t=er(e);return null===t?null:(void 0===t.component&&(t.component=function(e,t){const i=t[1].data[e];return 2&i.flags?t[i.directiveStart]:null}(t.nodeIndex,t.lView)),t.component)}function pf(e){ou(e);const t=er(e);return null===t?null:t.lView[8]}function mf(e){const t=er(e);if(null===t)return null;let a,i=t.lView;for(;2===i[1].type&&(a=No(i));)i=a;return 512&i[2]?null:i[8]}function gf(e){return[...rh(e).components]}function _f(e){const t=er(e);return null===t?wr.NULL:new Us(t.lView[1].data[t.nodeIndex],t.lView)}function yf(e){if(e instanceof Text)return[];const t=er(e);if(null===t)return[];const i=t.lView,a=i[1],f=t.nodeIndex;return(null==a?void 0:a.data[f])?(void 0===t.directives&&(t.directives=$d(f,i,!1)),null===t.directives?[]:[...t.directives]):[]}function Gy(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=At(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?Ue.OnPush:Ue.Default};const a=Xt(t);return a?{inputs:a.inputs,outputs:a.outputs}:null}function su(e){return er(e).native}function vf(e){ou(e);const t=er(e);if(null===t)return[];const i=t.lView,f=i[7],v=i[1].cleanup,O=[];if(v&&f)for(let H=0;H=0?"dom":"output",Kt="boolean"==typeof Tt&&Tt;e==qe&&O.push({element:e,name:Le,callback:ht,useCapture:Kt,type:Bt})}}return O.sort(Yy),O}function Yy(e,t){return e.name==t.name?0:e.nameaf(t))}let Cf=!1;function Xy(){Cf||(Cf=!0,Nr("\u0275setProfiler",Xi),Nr("getDirectiveMetadata",Gy),Nr("getComponent",ru),Nr("getContext",pf),Nr("getListeners",vf),Nr("getOwningComponent",mf),Nr("getHostElement",su),Nr("getInjector",_f),Nr("getRootComponents",gf),Nr("getDirectives",yf),Nr("applyChanges",qy))}function Nr(e,t){if("undefined"==typeof COMPILED||!COMPILED){const i=Lt;if(i){let a=i.ng;a||(a=i.ng={}),a[e]=t}}}function Zy(e,t={}){const i=t.rendererFactory||Dr,a=t.sanitizer||null,f=At(e);f.type!=e&&(f.type=e);const v=f.selectors[0][0],H=zh(i.createRenderer(null,null),t.host||v,f.encapsulation),se=f.onPush?576:528,Me=Df(t.scheduler,t.playerHandler),Le=i.createRenderer(H,f),qe=Ea(0,null,null,1,0,null,null,null,null,null),ht=Uo(null,qe,Me,se,null,null,i,Le,null,t.injector||null);let Tt;mr(ht);try{i.begin&&i.begin(),Tt=Mf(Ef(H,f,ht,i,Le,a),f,ht,Me,t.hostFeatures||null),Bo(qe,ht,null),Zs(qe,ht,null,null)}finally{un(),i.end&&i.end()}return Tt}function Ef(e,t,i,a,f,v){const O=i[1];i[20]=e;const se=qs(O,20,2,"#host",null),Me=se.mergedAttrs=t.hostAttrs;null!==Me&&(Da(se,Me,!0),null!==e&&(vt(f,e,Me),null!==se.classes&&Rl(f,e,se.classes),null!==se.styles&&bh(f,e,se.styles)));const Le=a.createRenderer(e,t),qe=Uo(i,jh(t),null,t.onPush?64:16,i[20],se,a,Le,v||null,null);return O.firstCreatePass&&(vr(cn(se,i),O,t.type),Qh(O,se),qh(se,i.length,1)),Ma(i,qe),i[20]=qe}function Mf(e,t,i,a,f){const v=i[1],O=function(e,t,i){const a=ne();e.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),Xh(e,a,t,Xs(e,t,1,null),i));const f=Mo(t,e,a.directiveStart,a);tr(f,t);const v=de(a,t);return v&&tr(v,t),f}(v,i,t);if(a.components.push(O),e[8]=O,f&&f.forEach(se=>se(O,t)),t.contentQueries){const se=ne();t.contentQueries(1,O,se.directiveStart)}const H=ne();return!v.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(hi(H.index),$h(i[1],H,0,H.directiveStart,H.directiveEnd,t),Yh(t,O)),O}function Df(e,t){return{components:[],scheduler:e||Xd,clean:Py,playerHandler:t||null,flags:0}}function Sf(e,t){or(yl(e)[1],ne())}function Jy(e){return rh(e).clean}function Tf(e){return Object.getPrototypeOf(e.prototype).constructor}function au(e){let t=Tf(e.type),i=!0;const a=[e];for(;t;){let f;if(si(e))f=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");f=t.\u0275dir}if(f){if(i){a.push(f);const O=e;O.inputs=lu(e.inputs),O.declaredInputs=lu(e.declaredInputs),O.outputs=lu(e.outputs);const H=f.hostBindings;H&&iv(e,H);const se=f.viewQuery,Me=f.contentQueries;if(se&&tv(e,se),Me&&nv(e,Me),m(e.inputs,f.inputs),m(e.declaredInputs,f.declaredInputs),m(e.outputs,f.outputs),si(f)&&f.data.animation){const Le=e.data;Le.animation=(Le.animation||[]).concat(f.data.animation)}}const v=f.features;if(v)for(let O=0;O=0;a--){const f=e[a];f.hostVars=t+=f.hostVars,f.hostAttrs=Dn(f.hostAttrs,i=Dn(i,f.hostAttrs))}}(a)}function lu(e){return e===Mt?{}:e===Ge?[]:e}function tv(e,t){const i=e.viewQuery;e.viewQuery=i?(a,f)=>{t(a,f),i(a,f)}:t}function nv(e,t){const i=e.contentQueries;e.contentQueries=i?(a,f,v)=>{t(a,f,v),i(a,f,v)}:t}function iv(e,t){const i=e.hostBindings;e.hostBindings=i?(a,f)=>{t(a,f),i(a,f)}:t}const rv=["providersResolver"],sv=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function If(e){let i,t=Tf(e.type);i=si(e)?t.\u0275cmp:t.\u0275dir;const a=e;for(const f of rv)a[f]=i[f];if(si(i))for(const f of sv)a[f]=i[f]}let Ta=null;function to(){if(!Ta){const e=Lt.Symbol;if(e&&e.iterator)Ta=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let i=0;i=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=a}function Of(e){return Wt(dn.lFrame.contextLView,20+e)}const Rf={\u0275\u0275defineInjectable:Ie,\u0275\u0275defineInjector:ct,\u0275\u0275inject:zi,\u0275\u0275invalidFactoryDep:ol,resolveForwardRef:g};const cv=d({provide:String,useValue:d});function Lf(e){return void 0!==e.useClass}function Pf(e){return void 0!==e.useFactory}const pv=Hs("Injectable",void 0,void 0,void 0,(e,t)=>function(e,t){let i=null,a=null;e.hasOwnProperty(rt)||Object.defineProperty(e,rt,{get:()=>(null===i&&(i=Ui().compileInjectable(Rf,`ng:///${e.name}/\u0275prov.js`,function(e,t){const i=t||{providedIn:null},a={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(Lf(i)||Pf(i))&&void 0!==i.deps&&(a.deps=Cd(i.deps)),Lf(i)?a.useClass=i.useClass:function(e){return cv in e}(i)?a.useValue=i.useValue:Pf(i)?a.useFactory=i.useFactory:function(e){return void 0!==e.useExisting}(i)&&(a.useExisting=i.useExisting),a}(e,t))),i)}),e.hasOwnProperty(Ee)||Object.defineProperty(e,Ee,{get:()=>{if(null===a){const f=Ui();a=f.compileFactory(Rf,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:ha(e),target:f.FactoryTarget.Injectable})}return a},configurable:!0})}(e,t));function bu(e){return e.length>1?" ("+function(e){const t=[];for(let i=0;i-1)return t.push(e[i]),t;t.push(e[i])}return t}(e.slice().reverse()).map(a=>p(a.token)).join(" -> ")+")":""}function Cu(e,t,i,a){const f=[t],v=i(f),O=a?function(e,t){const i=`${e} caused by: ${t instanceof Error?t.message:t}`,a=Error(i);return a[vl]=t,a}(v,a):Error(v);return O.addKey=gv,O.keys=f,O.injectors=[e],O.constructResolvingMessage=i,O[vl]=a,O}function gv(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function kf(e,t){const i=[];for(let a=0,f=t.length;aa,i=[wa.fromKey(bs.get(e.useExisting))]):e.useFactory?(t=e.useFactory,i=function(e,t){if(t){const i=t.map(a=>[a]);return t.map(a=>Hf(e,a,i))}return jf(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,i=Sv);return new Bf(t,i)}function Iv(e){return new Uf(bs.get(e.provide),[Tv(e)],e.multi||!1)}function wv(e){const a=function(e,t){for(let i=0;i{if(i instanceof aa)t.push({provide:i,useClass:i});else if(i&&"object"==typeof i&&void 0!==i.provide)t.push(i);else{if(!Array.isArray(i))throw function(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`)}(i);Vf(i,t)}}),t}function jf(e){const t=Ff.parameters(e);if(!t)return[];if(t.some(i=>null==i))throw kf(e,t);return t.map(i=>Hf(e,i,t))}function Hf(e,t,i){let a=null,f=!1;if(!Array.isArray(t))return Eu(t instanceof xo?t.token:t,f,null);let v=null;for(let O=0;O{class e{constructor(i,a){this._constructionCounter=0,this._providers=i,this.parent=a||null;const f=i.length;this.keyIds=[],this.objs=[];for(let v=0;v=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(i);return this._providers[i]}_new(i){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function(e,t){return Cu(e,t,function(i){return`Cannot instantiate cyclic dependency!${bu(i)}`})}(this,i.key);return this._instantiateProvider(i)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(i){if(i.multiProvider){const a=[];for(let f=0;fthis._getByReflectiveDependency(H))}catch(H){throw H.addKey&&H.addKey(this,i.key),H}try{O=f(...v)}catch(H){throw function(e,t,i,a){return Cu(e,a,function(f){const v=p(f[0].token);return`${t.message}: Error during instantiation of ${v}!${bu(f)}.`},t)}(this,H,0,i.key)}return O}_getByReflectiveDependency(i){return this._getByKey(i.key,i.visibility,i.optional?null:Ms)}_getByKey(i,a,f){return i===e.INJECTOR_KEY?this:a instanceof da?this._getByKeySelf(i,f):this._getByKeyDefault(i,f,a)}_getObjByKeyId(i){for(let a=0;a' "'+a.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=bs.get(wr),e})();function Wo(e,t=_e.Default){const i=ye();return null===i?zi(e,t):Pr(ne(),i,g(e),t)}function zf(){throw new Error("invalid")}function Mu(e,t,i){const a=ye();return nr(a,In(),t)&&Ir(M(),Pn(),a,e,t,a[11],i,!1),Mu}function Du(e,t,i,a,f){const O=f?"class":"style";sf(e,i,t.inputs[O],O,a)}function Su(e,t,i,a){const f=ye(),v=M(),O=20+e,H=f[11],se=f[O]=Tl(H,t,dn.lFrame.currentNamespace),Me=v.firstCreatePass?function(e,t,i,a,f,v,O){const H=t.consts,Me=qs(t,e,2,f,Yn(H,v));return $l(t,i,Me,Yn(H,O)),null!==Me.attrs&&Da(Me,Me.attrs,!1),null!==Me.mergedAttrs&&Da(Me,Me.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,Me),Me}(O,v,f,0,t,i,a):v.data[O];Je(Me,!0);const Le=Me.mergedAttrs;null!==Le&&vt(H,se,Le);const qe=Me.classes;null!==qe&&Rl(H,se,qe);const ht=Me.styles;null!==ht&&bh(H,se,ht),64!=(64&Me.flags)&&_a(v,f,se,Me),0===dn.lFrame.elementDepthCount&&tr(se,f),dn.lFrame.elementDepthCount++,bi(Me)&&(Kl(v,f,Me),Vh(v,Me,f)),null!==a&&Gl(f,Me)}function Tu(){let e=ne();at()?St():(e=e.parent,Je(e,!1));const t=e;dn.lFrame.elementDepthCount--;const i=M();i.firstCreatePass&&(or(i,e),Ri(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Du(i,t,ye(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Du(i,t,ye(),t.stylesWithoutHost,!1)}function Wf(e,t,i,a){Su(e,t,i,a),Tu()}function Iu(e,t,i){const a=ye(),f=M(),v=e+20,O=f.firstCreatePass?function(e,t,i,a,f){const v=t.consts,O=Yn(v,a),H=qs(t,e,8,"ng-container",O);return null!==O&&Da(H,O,!0),$l(t,i,H,Yn(v,f)),null!==t.queries&&t.queries.elementStart(t,H),H}(v,f,a,t,i):f.data[v];Je(O,!0);const H=a[v]=a[11].createComment("");_a(f,a,H,O),tr(H,a),bi(O)&&(Kl(f,a,O),Vh(f,O,a)),null!=i&&Gl(a,O)}function wu(){let e=ne();const t=M();at()?St():(e=e.parent,Je(e,!1)),t.firstCreatePass&&(or(t,e),Ri(e)&&t.queries.elementEnd(e))}function Kf(e,t,i){Iu(e,t,i),wu()}function Gf(){return ye()}function xu(e){return!!e&&"function"==typeof e.then}function $f(e){return!!e&&"function"==typeof e.subscribe}const Yf=$f;function Au(e,t,i,a){const f=ye(),v=M(),O=ne();return Qf(v,f,f[11],O,e,t,!!i,a),Au}function Ou(e,t){const i=ne(),a=ye(),f=M();return Qf(f,a,nf(gi(f.data),i,a),i,e,t,!1),Ou}function Qf(e,t,i,a,f,v,O,H){const se=bi(a),Le=e.firstCreatePass&&tf(e),qe=t[8],ht=ef(t);let Tt=!0;if(3&a.type||H){const qt=de(a,t),on=H?H(qt):qt,zt=ht.length,_n=H?Kn=>H(fe(Kn[a.index])):a.index;if(Wn(i)){let Kn=null;if(!H&&se&&(Kn=function(e,t,i,a){const f=e.cleanup;if(null!=f)for(let v=0;vse?H[se]:null}"string"==typeof O&&(v+=2)}return null}(e,t,f,a.index)),null!==Kn)(Kn.__ngLastListenerFn__||Kn).__ngNextListenerFn__=v,Kn.__ngLastListenerFn__=v,Tt=!1;else{v=Ru(a,t,qe,v,!1);const ni=i.listen(on,f,v);ht.push(v,ni),Le&&Le.push(f,_n,zt,zt+1)}}else v=Ru(a,t,qe,v,!0),on.addEventListener(f,v,O),ht.push(v),Le&&Le.push(f,_n,zt,O)}else v=Ru(a,t,qe,v,!1);const Bt=a.outputs;let Kt;if(Tt&&null!==Bt&&(Kt=Bt[f])){const qt=Kt.length;if(qt)for(let on=0;on0;)t=t[15],e--;return t}(e,dn.lFrame.contextLView))[8]}(e)}function Nv(e,t){let i=null;const a=function(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(0==(1&i))return t[i+1]}return null}(e);for(let f=0;f=0}const Bi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function t0(e){return e.substring(Bi.key,Bi.keyEnd)}function Vv(e){return e.substring(Bi.value,Bi.valueEnd)}function n0(e,t){const i=Bi.textEnd;return i===t?-1:(t=Bi.keyEnd=function(e,t,i){for(;t32;)t++;return t}(e,Bi.key=t,i),fo(e,t,i))}function r0(e,t){const i=Bi.textEnd;let a=Bi.key=fo(e,t,i);return i===a?-1:(a=Bi.keyEnd=function(e,t,i){let a;for(;t=65&&(-33&a)<=90||a>=48&&a<=57);)t++;return t}(e,a,i),a=o0(e,a,i),a=Bi.value=fo(e,a,i),a=Bi.valueEnd=function(e,t,i){let a=-1,f=-1,v=-1,O=t,H=O;for(;O32&&(H=O),v=f,f=a,a=-33&se}return H}(e,a,i),o0(e,a,i))}function s0(e){Bi.key=0,Bi.keyEnd=0,Bi.value=0,Bi.valueEnd=0,Bi.textEnd=e.length}function fo(e,t,i){for(;t=0;i=r0(t,i))d0(e,t0(t),Vv(t))}function l0(e){qr(Tr,as,e,!0)}function as(e,t){for(let i=function(e){return s0(e),n0(e,fo(e,0,Bi.textEnd))}(t);i>=0;i=n0(t,i))Tr(e,t0(t),!0)}function Qr(e,t,i,a){const f=ye(),v=M(),O=Gn(2);v.firstUpdatePass&&c0(v,e,O,a),t!==On&&nr(f,O,t)&&h0(v,v.data[Un()],f,f[11],e,f[O+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=p(_s(e)))),e}(t,i),a,O)}function qr(e,t,i,a){const f=M(),v=Gn(2);f.firstUpdatePass&&c0(f,null,v,a);const O=ye();if(i!==On&&nr(O,v,i)){const H=f.data[Un()];if(p0(H,a)&&!u0(f,v)){let se=a?H.classesWithoutHost:H.stylesWithoutHost;null!==se&&(i=y(se,i||"")),Du(f,H,O,i,a)}else!function(e,t,i,a,f,v,O,H){f===On&&(f=Ge);let se=0,Me=0,Le=0=e.expandoStartIndex}function c0(e,t,i,a){const f=e.data;if(null===f[i+1]){const v=f[Un()],O=u0(e,i);p0(v,a)&&null===t&&!O&&(t=!1),t=function(e,t,i,a){const f=gi(e);let v=a?t.residualClasses:t.residualStyles;if(null===f)0===(a?t.classBindings:t.styleBindings)&&(i=Ko(i=Wu(null,e,t,i,a),t.attrs,a),v=null);else{const O=t.directiveStylingLast;if(-1===O||e[O]!==f)if(i=Wu(f,e,t,i,a),null===v){let se=function(e,t,i){const a=i?t.classBindings:t.styleBindings;if(0!==ys(a))return e[$r(a)]}(e,t,a);void 0!==se&&Array.isArray(se)&&(se=Wu(null,e,t,se[1],a),se=Ko(se,t.attrs,a),function(e,t,i,a){e[$r(i?t.classBindings:t.styleBindings)]=a}(e,t,a,se))}else v=function(e,t,i){let a;const f=t.directiveEnd;for(let v=1+t.directiveStylingLast;v0)&&(Me=!0)}else Le=i;if(f)if(0!==se){const ht=$r(e[H+1]);e[a+1]=va(ht,H),0!==ht&&(e[ht+1]=Pl(e[ht+1],a)),e[H+1]=function(e,t){return 131071&e|t<<17}(e[H+1],a)}else e[a+1]=va(H,0),0!==H&&(e[H+1]=Pl(e[H+1],a)),H=a;else e[a+1]=va(se,0),0===H?H=a:e[se+1]=Pl(e[se+1],a),se=a;Me&&(e[a+1]=Ll(e[a+1])),e0(e,Le,a,!0),e0(e,Le,a,!1),function(e,t,i,a,f){const v=f?e.residualClasses:e.residualStyles;null!=v&&"string"==typeof t&&Ws(v,t)>=0&&(i[a+1]=kl(i[a+1]))}(t,Le,e,a,v),O=va(H,se),v?t.classBindings=O:t.styleBindings=O}(f,v,t,i,O,a)}}function Wu(e,t,i,a,f){let v=null;const O=i.directiveEnd;let H=i.directiveStylingLast;for(-1===H?H=i.directiveStart:H++;H0;){const se=e[f],Me=Array.isArray(se),Le=Me?se[1]:se,qe=null===Le;let ht=i[f+1];ht===On&&(ht=qe?Ge:void 0);let Tt=qe?tl(ht,a):Le===a?ht:void 0;if(Me&&!Aa(Tt)&&(Tt=tl(se,a)),Aa(Tt)&&(H=Tt,O))return H;const Bt=e[f+1];f=O?$r(Bt):ys(Bt)}if(null!==t){let se=v?t.residualClasses:t.residualStyles;null!=se&&(H=tl(se,a))}return H}function Aa(e){return void 0!==e}function p0(e,t){return 0!=(e.flags&(t?16:32))}function m0(e,t=""){const i=ye(),a=M(),f=e+20,v=a.firstCreatePass?qs(a,f,1,t,null):a.data[f],O=i[f]=Sl(i[11],t);_a(a,i,O,v),Je(v,!1)}function Ku(e){return Oa("",e,""),Ku}function Oa(e,t,i){const a=ye(),f=io(a,e,t,i);return f!==On&&vs(a,Un(),f),Oa}function Gu(e,t,i,a,f){const v=ye(),O=ro(v,e,t,i,a,f);return O!==On&&vs(v,Un(),O),Gu}function $u(e,t,i,a,f,v,O){const H=ye(),se=so(H,e,t,i,a,f,v,O);return se!==On&&vs(H,Un(),se),$u}function Yu(e,t,i,a,f,v,O,H,se){const Me=ye(),Le=oo(Me,e,t,i,a,f,v,O,H,se);return Le!==On&&vs(Me,Un(),Le),Yu}function Qu(e,t,i,a,f,v,O,H,se,Me,Le){const qe=ye(),ht=ao(qe,e,t,i,a,f,v,O,H,se,Me,Le);return ht!==On&&vs(qe,Un(),ht),Qu}function qu(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht){const Tt=ye(),Bt=lo(Tt,e,t,i,a,f,v,O,H,se,Me,Le,qe,ht);return Bt!==On&&vs(Tt,Un(),Bt),qu}function Xu(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt){const Kt=ye(),qt=uo(Kt,e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt);return qt!==On&&vs(Kt,Un(),qt),Xu}function Zu(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt){const on=ye(),zt=co(on,e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt);return zt!==On&&vs(on,Un(),zt),Zu}function Ju(e){const t=ye(),i=no(t,e);return i!==On&&vs(t,Un(),i),Ju}function g0(e,t,i){qr(Tr,as,io(ye(),e,t,i),!0)}function _0(e,t,i,a,f){qr(Tr,as,ro(ye(),e,t,i,a,f),!0)}function y0(e,t,i,a,f,v,O){qr(Tr,as,so(ye(),e,t,i,a,f,v,O),!0)}function v0(e,t,i,a,f,v,O,H,se){qr(Tr,as,oo(ye(),e,t,i,a,f,v,O,H,se),!0)}function b0(e,t,i,a,f,v,O,H,se,Me,Le){qr(Tr,as,ao(ye(),e,t,i,a,f,v,O,H,se,Me,Le),!0)}function C0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht){qr(Tr,as,lo(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht),!0)}function E0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt){qr(Tr,as,uo(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt),!0)}function M0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt){qr(Tr,as,co(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt),!0)}function D0(e){qr(Tr,as,no(ye(),e),!0)}function S0(e,t,i){Yr(io(ye(),e,t,i))}function T0(e,t,i,a,f){Yr(ro(ye(),e,t,i,a,f))}function I0(e,t,i,a,f,v,O){Yr(so(ye(),e,t,i,a,f,v,O))}function w0(e,t,i,a,f,v,O,H,se){Yr(oo(ye(),e,t,i,a,f,v,O,H,se))}function x0(e,t,i,a,f,v,O,H,se,Me,Le){Yr(ao(ye(),e,t,i,a,f,v,O,H,se,Me,Le))}function A0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht){Yr(lo(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht))}function O0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt){Yr(uo(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt))}function R0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt){Yr(co(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt))}function L0(e){Yr(no(ye(),e))}function ec(e,t,i,a,f){return Qr(e,io(ye(),t,i,a),f,!1),ec}function tc(e,t,i,a,f,v,O){return Qr(e,ro(ye(),t,i,a,f,v),O,!1),tc}function nc(e,t,i,a,f,v,O,H,se){return Qr(e,so(ye(),t,i,a,f,v,O,H),se,!1),nc}function ic(e,t,i,a,f,v,O,H,se,Me,Le){return Qr(e,oo(ye(),t,i,a,f,v,O,H,se,Me),Le,!1),ic}function rc(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht){return Qr(e,ao(ye(),t,i,a,f,v,O,H,se,Me,Le,qe),ht,!1),rc}function sc(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt){return Qr(e,lo(ye(),t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt),Bt,!1),sc}function oc(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt){return Qr(e,uo(ye(),t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt),qt,!1),oc}function ac(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt,on,zt){return Qr(e,co(ye(),t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt,on),zt,!1),ac}function lc(e,t,i){return Qr(e,no(ye(),t),i,!1),lc}function uc(e,t,i){const a=ye();return nr(a,In(),t)&&Ir(M(),Pn(),a,e,t,a[11],i,!0),uc}function cc(e,t,i){const a=ye();if(nr(a,In(),t)){const v=M(),O=Pn();Ir(v,O,a,e,t,nf(gi(v.data),O,a),i,!0)}return cc}const Ls=void 0;var tb=["en",[["a","p"],["AM","PM"],Ls],[["AM","PM"],Ls,Ls],[["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"]],Ls,[["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"]],Ls,[["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}",Ls,"{1} 'at' {0}",Ls],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const i=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===a?1:5}];let po={};function nb(e,t,i){"string"!=typeof t&&(i=t,t=e[En.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),po[t]=e,i&&(po[t][En.ExtraData]=i)}function dc(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=k0(t);if(i)return i;const a=t.split("-")[0];if(i=k0(a),i)return i;if("en"===a)return tb;throw new Error(`Missing locale data for the locale "${e}".`)}function ib(e){return dc(e)[En.CurrencyCode]||null}function P0(e){return dc(e)[En.PluralCase]}function k0(e){return e in po||(po[e]=Lt.ng&&Lt.ng.common&&Lt.ng.common.locales&&Lt.ng.common.locales[e]),po[e]}function rb(){po={}}var En=(()=>((En=En||{})[En.LocaleId=0]="LocaleId",En[En.DayPeriodsFormat=1]="DayPeriodsFormat",En[En.DayPeriodsStandalone=2]="DayPeriodsStandalone",En[En.DaysFormat=3]="DaysFormat",En[En.DaysStandalone=4]="DaysStandalone",En[En.MonthsFormat=5]="MonthsFormat",En[En.MonthsStandalone=6]="MonthsStandalone",En[En.Eras=7]="Eras",En[En.FirstDayOfWeek=8]="FirstDayOfWeek",En[En.WeekendRange=9]="WeekendRange",En[En.DateFormat=10]="DateFormat",En[En.TimeFormat=11]="TimeFormat",En[En.DateTimeFormat=12]="DateTimeFormat",En[En.NumberSymbols=13]="NumberSymbols",En[En.NumberFormats=14]="NumberFormats",En[En.CurrencyCode=15]="CurrencyCode",En[En.CurrencySymbol=16]="CurrencySymbol",En[En.CurrencyName=17]="CurrencyName",En[En.Currencies=18]="Currencies",En[En.Directionality=19]="Directionality",En[En.PluralCase=20]="PluralCase",En[En.ExtraData=21]="ExtraData",En))();const ob=["zero","one","two","few","many"],Go="en-US",Ra={marker:"element"},La={marker:"ICU"};var Mi=(()=>((Mi=Mi||{})[Mi.SHIFT=2]="SHIFT",Mi[Mi.APPEND_EAGERLY=1]="APPEND_EAGERLY",Mi[Mi.COMMENT=2]="COMMENT",Mi))();let N0=Go;function F0(e){(function(e,t){null==e&&tt(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(N0=e.toLowerCase().replace(/_/g,"-"))}function U0(e,t,i){const a=t.insertBeforeIndex,f=Array.isArray(a)?a[0]:a;return null===f?ph(e,0,i):fe(i[f])}function B0(e,t,i,a,f){const v=t.insertBeforeIndex;if(Array.isArray(v)){let O=a,H=null;if(3&t.type||(H=O,O=f),null!==O&&0==(2&t.flags))for(let se=1;se1)for(let i=e.length-2;i>=0;i--){const a=e[i];j0(a)||cb(a,t)&&null===db(a)&&hb(a,t.index)}}function j0(e){return!(64&e.type)}function cb(e,t){return j0(t)||e.index>t.index}function db(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function hb(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(gh(U0,B0),e.insertBeforeIndex=t)}function $o(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function mb(e,t,i){const a=Wl(e,i,64,null,null);return V0(t,a),a}function Pa(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function H0(e){return e>>>17}function z0(e){return(131070&e)>>>1}let Yo=0,Qo=0;function K0(e,t,i,a){const f=i[11];let O,v=null;for(let H=0;H>>1,i),null,null,Tt,Bt,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${se}"`)}else switch(se){case La:const Me=t[++H],Le=t[++H];null===i[Le]&&tr(i[Le]=S_(f,Me),i);break;case Ra:const qe=t[++H],ht=t[++H];null===i[ht]&&tr(i[ht]=Tl(f,qe,null),i)}}}function G0(e,t,i,a,f){for(let v=0;v>>2;switch(3&Le){case 1:const ht=i[++Me],Tt=i[++Me],Bt=e.data[qe];"string"==typeof Bt?Yl(t[11],t[qe],null,Bt,ht,se,Tt):Ir(e,Bt,t,ht,se,t[11],Tt,!1);break;case 0:const Kt=t[qe];null!==Kt&&oh(t[11],Kt,se);break;case 2:bb(e,$o(e,qe),t,se);break;case 3:$0(e,$o(e,qe),a,t)}}}}else{const se=i[v+1];if(se>0&&3==(3&se)){const Le=$o(e,se>>>2);t[Le.currentCaseLViewIndex]<0&&$0(e,Le,a,t)}}v+=H}}function $0(e,t,i,a){let f=a[t.currentCaseLViewIndex];if(null!==f){let v=Yo;f<0&&(f=a[t.currentCaseLViewIndex]=~f,v=-1),G0(e,a,t.update[f],i,v)}}function bb(e,t,i,a){const f=function(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const a=function(e,t){const i=P0(t)(parseInt(e,10)),a=ob[i];return void 0!==a?a:"other"}(t,N0);i=e.cases.indexOf(a),-1===i&&"other"!==a&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,a);if(Pa(t,i)!==f&&(Y0(e,t,i),i[t.currentCaseLViewIndex]=null===f?null:~f,null!==f)){const O=i[t.anchorIdx];O&&K0(e,t.create[f],i,O)}}function Y0(e,t,i){let a=Pa(t,i);if(null!==a){const f=t.remove[a];for(let v=0;v0){const H=I(O,i);null!==H&&yh(i[11],H)}else Y0(e,$o(e,~O),i)}}}function Eb(){const e=[];let i,a,t=-1;function v(H,se){t=0;const Me=Pa(H,se);a=null!==Me?H.remove[Me]:Ge}function O(){if(t0?i[H]:(e.push(t,a),v(i[1].data[~H],i),O())}return 0===e.length?null:(a=e.pop(),t=e.pop(),O())}return function(H,se){for(i=se;e.length;)e.pop();return v(H.value,se),O}}const ka=/\ufffd(\d+):?\d*\ufffd/gi,Mb=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,Db=/\ufffd(\d+)\ufffd/,q0=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Sb=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Tb=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Ib=/\uE500/g;function X0(e,t,i,a,f,v,O){const H=Xs(e,a,1,null);let se=H<i.length&&i.push(se)}return{type:a,mainBinding:f,cases:t,values:i}}function hc(e){if(!e)return[];let t=0;const i=[],a=[],f=/[{}]/g;let v;for(f.lastIndex=0;v=f.exec(e);){const H=v.index;if("}"==v[0]){if(i.pop(),0==i.length){const se=e.substring(t,H);q0.test(se)?a.push(kb(se)):a.push(se),t=H+1}}else{if(0==i.length){const se=e.substring(t,H);a.push(se),t=H+1}i.push("{")}}const O=e.substring(t);return a.push(O),a}function Nb(e,t,i,a,f,v,O,H){const se=[],Me=[],Le=[];t.cases.push(v),t.create.push(se),t.remove.push(Me),t.update.push(Le);const ht=xd(Yi()).getInertBodyElement(O),Tt=pl(ht)||ht;return Tt?tp(e,t,i,a,se,Me,Le,Tt,f,H,0):0}function tp(e,t,i,a,f,v,O,H,se,Me,Le){let qe=0,ht=H.firstChild;for(;ht;){const Tt=Xs(e,i,1,null);switch(ht.nodeType){case Node.ELEMENT_NODE:const Bt=ht,Kt=Bt.tagName.toLowerCase();if(dl.hasOwnProperty(Kt)){fc(f,Ra,Kt,se,Tt),e.data[Tt]=Kt;const _n=Bt.attributes;for(let Kn=0;Kn<_n.length;Kn++){const ni=_n.item(Kn),Ar=ni.name.toLowerCase();ni.value.match(ka)?Pd.hasOwnProperty(Ar)&&mo(O,ni.value,Tt,ni.name,0,hl[Ar]?Oo:fl[Ar]?Ad:null):Vb(f,Tt,ni)}qe=tp(e,t,i,a,f,v,O,ht,Tt,Me,Le+1)|qe,np(v,Tt,Le)}break;case Node.TEXT_NODE:const qt=ht.textContent||"",on=qt.match(ka);fc(f,null,on?"":qt,se,Tt),np(v,Tt,Le),on&&(qe=mo(O,qt,Tt,null,0,null)|qe);break;case Node.COMMENT_NODE:const zt=Db.exec(ht.textContent||"");if(zt){const Kn=Me[parseInt(zt[1],10)];fc(f,La,"",se,Tt),ep(e,i,a,se,Kn,Tt),Fb(v,Tt,Le)}}ht=ht.nextSibling}return qe}function np(e,t,i){0===i&&e.push(t)}function Fb(e,t,i){0===i&&(e.push(~t),e.push(t))}function fc(e,t,i,a,f){null!==t&&e.push(t),e.push(i,f,function(e,t,i){return 0|t<<17|i<<1}(0,a,f))}function Vb(e,t,i){e.push(t<<1|1,i.name,i.value)}const jb=/\[(\ufffd.+?\ufffd?)\]/,Hb=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,zb=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Wb=/{([A-Z0-9_]+)}/g,Kb=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Gb=/\/\*/,$b=/\d+\:(\d+)/;function pc(e,t,i=-1){const a=M(),f=ye(),v=20+e,O=Yn(a.consts,t),H=He();a.firstCreatePass&&function(e,t,i,a,f,v){const O=He(),H=[],se=[],Me=[[]];f=function(e,t){if(function(e){return-1===e}(t))return J0(e);{const i=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,a=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return J0(e.substring(i,a))}}(f,v);const Le=function(e){return e.replace(Ib," ")}(f).split(Tb);for(let qe=0;qe>>Mi.SHIFT;let qe=e[Le];null===qe&&(qe=e[Le]=se?f.createComment(H):Sl(f,H)),Me&&null!==i&&Os(f,i,qe,a,!1)}})(f,se.create,Le,H&&8&H.type?f[H.index]:null),Ci(!0)}function mc(){Ci(!1)}function rp(e,t,i){pc(e,t,i),mc()}function sp(e,t){const i=M();!function(e,t,i){const f=ne().index,v=[];if(e.firstCreatePass&&null===e.data[t]){for(let O=0;O0){const a=e.data[i];G0(e,t,Array.isArray(a)?a:a.update,rn()-Qo-1,Yo)}Yo=0,Qo=0}(M(),ye(),e+20)}function ap(e,t={}){return function(e,t={}){let i=e;if(jb.test(e)){const a={},f=[0];i=i.replace(Hb,(v,O,H)=>{const se=O||H,Me=a[se]||[];if(Me.length||(se.split("|").forEach(Kt=>{const qt=Kt.match($b),on=qt?parseInt(qt[1],10):0,zt=Gb.test(Kt);Me.push([on,zt,Kt])}),a[se]=Me),!Me.length)throw new Error(`i18n postprocess: unmatched placeholder - ${se}`);const Le=f[f.length-1];let qe=0;for(let Kt=0;Ktt.hasOwnProperty(v)?`${f}${t[v]}${se}`:a),i=i.replace(Wb,(a,f)=>t.hasOwnProperty(f)?t[f]:a),i=i.replace(Kb,(a,f)=>{if(t.hasOwnProperty(f)){const v=t[f];if(!v.length)throw new Error(`i18n postprocess: unmatched ICU - ${a} with key: ${f}`);return v.shift()}return a})),i}(e,t)}function _c(e,t,i,a,f){if(e=g(e),Array.isArray(e))for(let v=0;v>20;if(eo(e)||!e.multi){const Tt=new fs(se,f,Wo),Bt=vc(H,t,f?Le:Le+ht,qe);-1===Bt?(vr(cn(Me,O),v,H),yc(v,e,t.length),t.push(H),Me.directiveStart++,Me.directiveEnd++,f&&(Me.providerIndexes+=1048576),i.push(Tt),O.push(Tt)):(i[Bt]=Tt,O[Bt]=Tt)}else{const Tt=vc(H,t,Le+ht,qe),Bt=vc(H,t,Le,Le+ht),Kt=Tt>=0&&i[Tt],qt=Bt>=0&&i[Bt];if(f&&!qt||!f&&!Kt){vr(cn(Me,O),v,H);const on=function(e,t,i,a,f){const v=new fs(e,i,Wo);return v.multi=[],v.index=t,v.componentProviders=0,lp(v,f,a&&!i),v}(f?Xb:qb,i.length,f,a,se);!f&&qt&&(i[Bt].providerFactory=on),yc(v,e,t.length,0),t.push(H),Me.directiveStart++,Me.directiveEnd++,f&&(Me.providerIndexes+=1048576),i.push(on),O.push(on)}else yc(v,e,Tt>-1?Tt:Bt,lp(i[f?Bt:Tt],se,!f&&a));!f&&a&&qt&&i[Bt].componentProviders++}}}function yc(e,t,i,a){const f=eo(t),v=function(e){return!!e.useClass}(t);if(f||v){const se=(v?g(t.useClass):t).prototype.ngOnDestroy;if(se){const Me=e.destroyHooks||(e.destroyHooks=[]);if(!f&&t.multi){const Le=Me.indexOf(i);-1===Le?Me.push(i,[a,se]):Me[Le+1].push(a,se)}else Me.push(i,se)}}}function lp(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function vc(e,t,i,a){for(let f=i;f{i.providersResolver=(a,f)=>function(e,t,i){const a=M();if(a.firstCreatePass){const f=si(e);_c(i,a.data,a.blueprint,f,!0),_c(t,a.data,a.blueprint,f,!1)}}(a,f?f(e):e,t)}}class cp{}class Na{}class e1{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${p(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Xo=(()=>{class e{}return e.NULL=new e1,e})();function t1(){return go(ne(),ye())}function go(e,t){return new Zo(de(e,t))}let Zo=(()=>{class e{constructor(i){this.nativeElement=i}}return e.__NG_ELEMENT_ID__=t1,e})();function n1(e){return e instanceof Zo?e.nativeElement:e}class hp{}let r1=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function(){const e=ye(),i=hn(ne().index,e);return function(e){return e[11]}(ci(i)?i:e)}(),e})(),fp=(()=>{class e{}return e.\u0275prov=Ie({token:e,providedIn:"root",factory:()=>null}),e})();class pp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const mp=new pp("13.1.1"),Fa={};function Ua(e,t,i,a,f=!1){for(;null!==i;){const v=t[i.index];if(null!==v&&a.push(fe(v)),Xn(v))for(let H=10;H-1&&(Il(t,a),la(i,a))}this._attachedToViewContainer=!1}lh(this._lView[1],this._lView)}onDestroy(t){Wh(this._lView[1],this._lView,null,t)}markForCheck(){ql(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Zl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,i){yn(!0);try{Zl(e,t,i)}finally{yn(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Fo(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class a1 extends _o{constructor(t){super(t),this._view=t}detectChanges(){Jh(this._view)}checkNoChanges(){!function(e){yn(!0);try{Jh(e)}finally{yn(!1)}}(this._view)}get context(){return null}}class gp extends Xo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=At(t);return new Ba(i,this.ngModule)}}function _p(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}const u1=new Ei("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Xd});class Ba extends Na{constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=t.selectors.map($_).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}get inputs(){return _p(this.componentDef.inputs)}get outputs(){return _p(this.componentDef.outputs)}create(t,i,a,f){const v=(f=f||this.ngModule)?function(e,t){return{get:(i,a,f)=>{const v=e.get(i,Fa,f);return v!==Fa||a===Fa?v:t.get(i,a,f)}}}(t,f.injector):t,O=v.get(hp,Dr),H=v.get(fp,null),se=O.createRenderer(null,this.componentDef),Me=this.componentDef.selectors[0][0]||"div",Le=a?zh(se,a,this.componentDef.encapsulation):Tl(O.createRenderer(null,this.componentDef),Me,function(e){const t=e.toLowerCase();return"svg"===t?rr:"math"===t?Br:null}(Me)),qe=this.componentDef.onPush?576:528,ht=Df(),Tt=Ea(0,null,null,1,0,null,null,null,null,null),Bt=Uo(null,Tt,ht,qe,null,null,O,se,H,v);let Kt,qt;mr(Bt);try{const on=Ef(Le,this.componentDef,Bt,O,se);if(Le)if(a)vt(se,Le,["ng-version",mp.full]);else{const{attrs:zt,classes:_n}=function(e){const t=[],i=[];let a=1,f=2;for(;a0&&Rl(se,Le,_n.join(" "))}if(qt=wt(Tt,20),void 0!==i){const zt=qt.projection=[];for(let _n=0;_n{const f=e;null!==t&&(f.hasOwnProperty("decorators")&&void 0!==f.decorators?f.decorators.push(...t):f.decorators=t),null!==i&&(f.ctorParameters=i),null!==a&&(f.propDecorators=f.hasOwnProperty("propDecorators")&&void 0!==f.propDecorators?Object.assign(Object.assign({},f.propDecorators),a):a)})}class yo{}class bp{}const vo=new Map;function Ep(e){const t=new Set;!function i(a){const f=fn(a,!0),v=f.id;if(null!==v){(function(e,t,i){if(t&&t!==i)throw new Error(`Duplicate module registered for ${e} - ${p(t)} vs ${p(t.name)}`)})(v,vo.get(v),a),vo.set(v,a)}const O=is(f.imports);for(const H of O)t.has(H)||(t.add(H),i(H))}(e)}function Mp(e){return vo.get(e)||$t[e]}function h1(e,t){return new Cc(e,null!=t?t:null)}class Cc extends yo{constructor(t,i){super(),this._parent=i,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new gp(this);const a=fn(t);this._bootstrapComponents=is(a.bootstrap),this._r3Injector=df(t,i,[{provide:yo,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver}],p(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,i=wr.THROW_IF_NOT_FOUND,a=_e.Default){return t===wr||t===yo||t===Sa?this:this._r3Injector.get(t,i,a)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Va extends bp{constructor(t){super(),this.moduleType=t,null!==fn(t)&&Ep(t)}create(t){return new Cc(this.moduleType,t)}}function Dp(e,t,i){const a=pn()+e,f=ye();return f[a]===On?os(f,a,i?t.call(i):t()):Ho(f,a)}function Sp(e,t,i,a){return Pp(ye(),pn(),e,t,i,a)}function Tp(e,t,i,a,f){return kp(ye(),pn(),e,t,i,a,f)}function Ip(e,t,i,a,f,v){return Np(ye(),pn(),e,t,i,a,f,v)}function wp(e,t,i,a,f,v,O){return Fp(ye(),pn(),e,t,i,a,f,v,O)}function xp(e,t,i,a,f,v,O,H){const se=pn()+e,Me=ye(),Le=Fr(Me,se,i,a,f,v);return nr(Me,se+4,O)||Le?os(Me,se+5,H?t.call(H,i,a,f,v,O):t(i,a,f,v,O)):Ho(Me,se+5)}function Ap(e,t,i,a,f,v,O,H,se){const Me=pn()+e,Le=ye(),qe=Fr(Le,Me,i,a,f,v);return Rs(Le,Me+4,O,H)||qe?os(Le,Me+6,se?t.call(se,i,a,f,v,O,H):t(i,a,f,v,O,H)):Ho(Le,Me+6)}function Op(e,t,i,a,f,v,O,H,se,Me){const Le=pn()+e,qe=ye();let ht=Fr(qe,Le,i,a,f,v);return Ia(qe,Le+4,O,H,se)||ht?os(qe,Le+7,Me?t.call(Me,i,a,f,v,O,H,se):t(i,a,f,v,O,H,se)):Ho(qe,Le+7)}function Rp(e,t,i,a,f,v,O,H,se,Me,Le){const qe=pn()+e,ht=ye(),Tt=Fr(ht,qe,i,a,f,v);return Fr(ht,qe+4,O,H,se,Me)||Tt?os(ht,qe+8,Le?t.call(Le,i,a,f,v,O,H,se,Me):t(i,a,f,v,O,H,se,Me)):Ho(ht,qe+8)}function Lp(e,t,i,a){return Up(ye(),pn(),e,t,i,a)}function Jo(e,t){const i=e[t];return i===On?void 0:i}function Pp(e,t,i,a,f,v){const O=t+i;return nr(e,O,f)?os(e,O+1,v?a.call(v,f):a(f)):Jo(e,O+1)}function kp(e,t,i,a,f,v,O){const H=t+i;return Rs(e,H,f,v)?os(e,H+2,O?a.call(O,f,v):a(f,v)):Jo(e,H+2)}function Np(e,t,i,a,f,v,O,H){const se=t+i;return Ia(e,se,f,v,O)?os(e,se+3,H?a.call(H,f,v,O):a(f,v,O)):Jo(e,se+3)}function Fp(e,t,i,a,f,v,O,H,se){const Me=t+i;return Fr(e,Me,f,v,O,H)?os(e,Me+4,se?a.call(se,f,v,O,H):a(f,v,O,H)):Jo(e,Me+4)}function Up(e,t,i,a,f,v){let O=t+i,H=!1;for(let se=0;se=0;i--){const a=t[i];if(e===a.name)return a}}(t,i.pipeRegistry),i.data[f]=a,a.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(f,a.onDestroy)):a=i.data[f];const v=a.factory||(a.factory=Si(a.type)),O=_(Wo);try{const H=Fe(!1),se=v();return Fe(H),Af(i,ye(),f,se),se}finally{_(O)}}function Vp(e,t,i){const a=e+20,f=ye(),v=Wt(f,a);return ea(f,a)?Pp(f,pn(),t,v.transform,i,v):v.transform(i)}function jp(e,t,i,a){const f=e+20,v=ye(),O=Wt(v,f);return ea(v,f)?kp(v,pn(),t,O.transform,i,a,O):O.transform(i,a)}function Hp(e,t,i,a,f){const v=e+20,O=ye(),H=Wt(O,v);return ea(O,v)?Np(O,pn(),t,H.transform,i,a,f,H):H.transform(i,a,f)}function zp(e,t,i,a,f,v){const O=e+20,H=ye(),se=Wt(H,O);return ea(H,O)?Fp(H,pn(),t,se.transform,i,a,f,v,se):se.transform(i,a,f,v)}function Wp(e,t,i){const a=e+20,f=ye(),v=Wt(f,a);return ea(f,a)?Up(f,pn(),t,v.transform,i,v):v.transform.apply(v,i)}function ea(e,t){return e[1].data[t].pure}function Ec(e){return t=>{setTimeout(e,void 0,t)}}const ls=class extends n.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,a){var f,v,O;let H=t,se=i||(()=>null),Me=a;if(t&&"object"==typeof t){const qe=t;H=null===(f=qe.next)||void 0===f?void 0:f.bind(qe),se=null===(v=qe.error)||void 0===v?void 0:v.bind(qe),Me=null===(O=qe.complete)||void 0===O?void 0:O.bind(qe)}this.__isAsync&&(se=Ec(se),H&&(H=Ec(H)),Me&&(Me=Ec(Me)));const Le=super.subscribe({next:H,error:se,complete:Me});return t instanceof l.w&&t.add(Le),Le}};function m1(){return this._results[to()]()}class ja{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=to(),a=ja.prototype;a[i]||(a[i]=m1)}get changes(){return this._changes||(this._changes=new ls)}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 a=this;a.dirty=!1;const f=kr(t);(this._changesDetected=!function(e,t,i){if(e.length!==t.length)return!1;for(let a=0;a{class e{}return e.__NG_ELEMENT_ID__=y1,e})();const g1=ta,_1=class extends g1{constructor(t,i,a){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=a}createEmbeddedView(t){const i=this._declarationTContainer.tViews,a=Uo(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null);a[17]=this._declarationLView[this._declarationTContainer.index];const v=this._declarationLView[19];return null!==v&&(a[19]=v.createEmbeddedView(i)),Bo(i,a,t),new _o(a)}};function y1(){return Ha(ne(),ye())}function Ha(e,t){return 4&e.type?new _1(t,e,go(e,t)):null}let za=(()=>{class e{}return e.__NG_ELEMENT_ID__=v1,e})();function v1(){return $p(ne(),ye())}const b1=za,Kp=class extends b1{constructor(t,i,a){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=a}get element(){return go(this._hostTNode,this._hostLView)}get injector(){return new Us(this._hostTNode,this._hostLView)}get parentInjector(){const t=es(this._hostTNode,this._hostLView);if(re(t)){const i=ge(t,this._hostLView),a=W(t);return new Us(i[1].data[a+8],i)}return new Us(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Gp(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,i,a){const f=t.createEmbeddedView(i||{});return this.insert(f,a),f}createComponent(t,i,a,f,v){const O=t&&!So(t);let H;if(O)H=i;else{const qe=i||{};H=qe.index,a=qe.injector,f=qe.projectableNodes,v=qe.ngModuleRef}const se=O?t:new Ba(At(t)),Me=a||this.parentInjector;if(!v&&null==se.ngModule&&Me){const qe=Me.get(yo,null);qe&&(v=qe)}const Le=se.create(Me,f,void 0,v);return this.insert(Le.hostView,H),Le}insert(t,i){const a=t._lView,f=a[1];if(Xn(a[3])){const Le=this.indexOf(t);if(-1!==Le)this.detach(Le);else{const qe=a[3],ht=new Kp(qe,qe[6],qe[3]);ht.detach(ht.indexOf(t))}}const v=this._adjustIndex(i),O=this._lContainer;!function(e,t,i,a){const f=10+a,v=i.length;a>0&&(i[f-1][4]=t),a0)a.push(O[H/2]);else{const Me=v[H+1],Le=t[-se];for(let qe=10;qe({\u0275\u0275attribute:cu,\u0275\u0275attributeInterpolate1:du,\u0275\u0275attributeInterpolate2:hu,\u0275\u0275attributeInterpolate3:fu,\u0275\u0275attributeInterpolate4:pu,\u0275\u0275attributeInterpolate5:mu,\u0275\u0275attributeInterpolate6:gu,\u0275\u0275attributeInterpolate7:_u,\u0275\u0275attributeInterpolate8:yu,\u0275\u0275attributeInterpolateV:vu,\u0275\u0275defineComponent:be,\u0275\u0275defineDirective:Ve,\u0275\u0275defineInjectable:Ie,\u0275\u0275defineInjector:ct,\u0275\u0275defineNgModule:vn,\u0275\u0275definePipe:ut,\u0275\u0275directiveInject:Wo,\u0275\u0275getInheritedFactory:dd,\u0275\u0275inject:zi,\u0275\u0275injectAttribute:Ja,\u0275\u0275invalidFactory:zf,\u0275\u0275invalidFactoryDep:ol,\u0275\u0275templateRefExtractor:im,\u0275\u0275NgOnChangesFeature:Gi,\u0275\u0275ProvidersFeature:up,\u0275\u0275CopyDefinitionFeature:If,\u0275\u0275InheritDefinitionFeature:au,\u0275\u0275nextContext:Xf,\u0275\u0275namespaceHTML:ds,\u0275\u0275namespaceMathML:ei,\u0275\u0275namespaceSVG:Ai,\u0275\u0275enableBindings:Hr,\u0275\u0275disableBindings:Cs,\u0275\u0275elementStart:Su,\u0275\u0275elementEnd:Tu,\u0275\u0275element:Wf,\u0275\u0275elementContainerStart:Iu,\u0275\u0275elementContainerEnd:wu,\u0275\u0275elementContainer:Kf,\u0275\u0275pureFunction0:Dp,\u0275\u0275pureFunction1:Sp,\u0275\u0275pureFunction2:Tp,\u0275\u0275pureFunction3:Ip,\u0275\u0275pureFunction4:wp,\u0275\u0275pureFunction5:xp,\u0275\u0275pureFunction6:Ap,\u0275\u0275pureFunction7:Op,\u0275\u0275pureFunction8:Rp,\u0275\u0275pureFunctionV:Lp,\u0275\u0275getCurrentView:Gf,\u0275\u0275restoreView:L,\u0275\u0275listener:Au,\u0275\u0275projection:Jf,\u0275\u0275syntheticHostProperty:cc,\u0275\u0275syntheticHostListener:Ou,\u0275\u0275pipeBind1:Vp,\u0275\u0275pipeBind2:jp,\u0275\u0275pipeBind3:Hp,\u0275\u0275pipeBind4:zp,\u0275\u0275pipeBindV:Wp,\u0275\u0275projectionDef:Zf,\u0275\u0275hostProperty:uc,\u0275\u0275property:Mu,\u0275\u0275propertyInterpolate:Lu,\u0275\u0275propertyInterpolate1:xa,\u0275\u0275propertyInterpolate2:Pu,\u0275\u0275propertyInterpolate3:ku,\u0275\u0275propertyInterpolate4:Nu,\u0275\u0275propertyInterpolate5:Fu,\u0275\u0275propertyInterpolate6:Uu,\u0275\u0275propertyInterpolate7:Bu,\u0275\u0275propertyInterpolate8:Vu,\u0275\u0275propertyInterpolateV:ju,\u0275\u0275pipe:Bp,\u0275\u0275queryRefresh:qp,\u0275\u0275viewQuery:Xp,\u0275\u0275loadQuery:Jp,\u0275\u0275contentQuery:Zp,\u0275\u0275reference:Of,\u0275\u0275classMap:l0,\u0275\u0275classMapInterpolate1:g0,\u0275\u0275classMapInterpolate2:_0,\u0275\u0275classMapInterpolate3:y0,\u0275\u0275classMapInterpolate4:v0,\u0275\u0275classMapInterpolate5:b0,\u0275\u0275classMapInterpolate6:C0,\u0275\u0275classMapInterpolate7:E0,\u0275\u0275classMapInterpolate8:M0,\u0275\u0275classMapInterpolateV:D0,\u0275\u0275styleMap:Yr,\u0275\u0275styleMapInterpolate1:S0,\u0275\u0275styleMapInterpolate2:T0,\u0275\u0275styleMapInterpolate3:I0,\u0275\u0275styleMapInterpolate4:w0,\u0275\u0275styleMapInterpolate5:x0,\u0275\u0275styleMapInterpolate6:A0,\u0275\u0275styleMapInterpolate7:O0,\u0275\u0275styleMapInterpolate8:R0,\u0275\u0275styleMapInterpolateV:L0,\u0275\u0275styleProp:Hu,\u0275\u0275stylePropInterpolate1:ec,\u0275\u0275stylePropInterpolate2:tc,\u0275\u0275stylePropInterpolate3:nc,\u0275\u0275stylePropInterpolate4:ic,\u0275\u0275stylePropInterpolate5:rc,\u0275\u0275stylePropInterpolate6:sc,\u0275\u0275stylePropInterpolate7:oc,\u0275\u0275stylePropInterpolate8:ac,\u0275\u0275stylePropInterpolateV:lc,\u0275\u0275classProp:zu,\u0275\u0275advance:Th,\u0275\u0275template:xf,\u0275\u0275text:m0,\u0275\u0275textInterpolate:Ku,\u0275\u0275textInterpolate1:Oa,\u0275\u0275textInterpolate2:Gu,\u0275\u0275textInterpolate3:$u,\u0275\u0275textInterpolate4:Yu,\u0275\u0275textInterpolate5:Qu,\u0275\u0275textInterpolate6:qu,\u0275\u0275textInterpolate7:Xu,\u0275\u0275textInterpolate8:Zu,\u0275\u0275textInterpolateV:Ju,\u0275\u0275i18n:rp,\u0275\u0275i18nAttributes:sp,\u0275\u0275i18nExp:gc,\u0275\u0275i18nStart:pc,\u0275\u0275i18nEnd:mc,\u0275\u0275i18nApply:op,\u0275\u0275i18nPostprocess:ap,\u0275\u0275resolveWindow:Zd,\u0275\u0275resolveDocument:Jd,\u0275\u0275resolveBody:eh,\u0275\u0275setComponentScope:je,\u0275\u0275setNgModuleScope:it,\u0275\u0275sanitizeHtml:Fd,\u0275\u0275sanitizeStyle:Ud,\u0275\u0275sanitizeResourceUrl:gl,\u0275\u0275sanitizeScript:Bd,\u0275\u0275sanitizeUrl:ml,\u0275\u0275sanitizeUrlOrResourceUrl:Hd,\u0275\u0275trustConstantHtml:Vd,\u0275\u0275trustConstantResourceUrl:jd,forwardRef:h,resolveForwardRef:g}))();let bo=null;function O1(){bo=null}const na=[];let xc=!1;function rm(){if(!xc){xc=!0;try{for(let e=na.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=na[e];i.declarations&&i.declarations.every(sm)&&(na.splice(e,1),P1(t,i))}}finally{xc=!1}}}function sm(e){return Array.isArray(e)?e.every(sm):!!g(e)}function om(e,t={}){am(e,t),function(e,t){na.push({moduleType:e,ngModule:t})}(e,t)}function am(e,t,i=!1){const a=kr(t.declarations||Ge);let f=null;Object.defineProperty(e,Pe,{configurable:!0,get:()=>(null===f&&(f=Ui().compileNgModule(ar,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:kr(t.bootstrap||Ge).map(g),declarations:a.map(g),imports:kr(t.imports||Ge).map(g).map(dm),exports:kr(t.exports||Ge).map(g).map(dm),schemas:t.schemas?kr(t.schemas):null,id:t.id||null}),f.schemas||(f.schemas=[])),f)});let v=null;Object.defineProperty(e,Ee,{get:()=>{if(null===v){const H=Ui();v=H.compileFactory(ar,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:ha(e),target:H.FactoryTarget.NgModule,typeArgumentCount:0})}return v},configurable:!1});let O=null;Object.defineProperty(e,ze,{get:()=>{if(null===O){const H={name:e.name,type:e,providers:t.providers||Ge,imports:[(t.imports||Ge).map(g),(t.exports||Ge).map(g)]};O=Ui().compileInjector(ar,`ng:///${e.name}/\u0275inj.js`,H)}return O},configurable:!1})}let Wa=new WeakMap,Oc=new WeakMap;function L1(){Wa=new WeakMap,Oc=new WeakMap,na.length=0}function P1(e,t){const i=kr(t.declarations||Ge),a=ia(e);i.forEach(f=>{f.hasOwnProperty(lt)?Rc(At(f),a):!f.hasOwnProperty(Ot)&&!f.hasOwnProperty(Nt)&&(f.ngSelectorScope=e)})}function Rc(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(lt)?At(i):Xt(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>Jt(i)),e.schemas=t.schemas,e.tView=null}function ia(e){if(!Lc(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=fn(e);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 is(t.imports).forEach(a=>{const f=a;if(!Lc(f))throw new Error(`Importing ${f.name} which does not have a \u0275mod property`);const v=ia(f);v.exported.directives.forEach(O=>i.compilation.directives.add(O)),v.exported.pipes.forEach(O=>i.compilation.pipes.add(O))}),is(t.declarations).forEach(a=>{Jt(a)?i.compilation.pipes.add(a):i.compilation.directives.add(a)}),is(t.exports).forEach(a=>{const f=a;if(Lc(f)){const v=ia(f);v.exported.directives.forEach(O=>{i.compilation.directives.add(O),i.exported.directives.add(O)}),v.exported.pipes.forEach(O=>{i.compilation.pipes.add(O),i.exported.pipes.add(O)})}else Jt(f)?i.exported.pipes.add(f):i.exported.directives.add(f)}),t.transitiveCompileScopes=i,i}function dm(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function Lc(e){return!!fn(e)}let Pc=0;function hm(e,t){let i=null;(function(e,t){Md(t)&&(Ks.set(e,t),Ao.add(e))})(e,t),pm(e,t),Object.defineProperty(e,lt,{get:()=>{if(null===i){const a=Ui();if(Md(t)){const Me=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&Me.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&Me.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),Me.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(Me.join("\n"))}const f=bo;let v=t.preserveWhitespaces;void 0===v&&(v=null!==f&&void 0!==f.preserveWhitespaces&&f.preserveWhitespaces);let O=t.encapsulation;void 0===O&&(O=null!==f&&void 0!==f.defaultEncapsulation?f.defaultEncapsulation:Ae.Emulated);const H=t.templateUrl||`ng:///${e.name}/template.html`,se=Object.assign(Object.assign({},mm(e,t)),{typeSourceSpan:a.createParseSourceSpan("Component",e.name,H),template:t.template||"",preserveWhitespaces:v,styles:t.styles||Ge,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:O,interpolation:t.interpolation,viewProviders:t.viewProviders||null});Pc++;try{se.usesInheritance&&gm(e),i=a.compileComponent(ar,H,se)}finally{Pc--}if(0===Pc&&rm(),function(e){return void 0!==e.ngSelectorScope}(e)){const Me=ia(e.ngSelectorScope);Rc(i,Me)}}return i},configurable:!1})}function kc(e,t){let i=null;pm(e,t||{}),Object.defineProperty(e,Ot,{get:()=>{if(null===i){const a=fm(e,t||{});i=Ui().compileDirective(ar,a.sourceMapUrl,a.metadata)}return i},configurable:!1})}function fm(e,t){const i=e&&e.name,a=`ng:///${i}/\u0275dir.js`,f=Ui(),v=mm(e,t);return v.typeSourceSpan=f.createParseSourceSpan("Directive",i,a),v.usesInheritance&&gm(e),{metadata:v,sourceMapUrl:a}}function pm(e,t){let i=null;Object.defineProperty(e,Ee,{get:()=>{if(null===i){const a=fm(e,t),f=Ui();i=f.compileFactory(ar,`ng:///${e.name}/\u0275fac.js`,{name:a.metadata.name,type:a.metadata.type,typeArgumentCount:0,deps:ha(e),target:f.FactoryTarget.Directive})}return i},configurable:!1})}function F1(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function mm(e,t){const i=ll(),a=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Mt,propMetadata:a,inputs:t.inputs||Ge,outputs:t.outputs||Ge,queries:_m(e,a,ym),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!F1(e),exportAs:V1(t.exportAs),providers:t.providers||null,viewQueries:_m(e,a,vm)}}function gm(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!Xt(i)&&!At(i)&&H1(i)&&kc(i,null),i=Object.getPrototypeOf(i)}function U1(e){return"string"==typeof e?Cm(e):g(e)}function B1(e,t){return{propertyName:e,predicate:U1(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function _m(e,t,i){const a=[];for(const f in t)if(t.hasOwnProperty(f)){const v=t[f];v.forEach(O=>{if(i(O)){if(!O.selector)throw new Error(`Can't construct a query for the property "${f}" of "${Y(e)}" since the query selector wasn't defined.`);if(v.some(bm))throw new Error("Cannot combine @Input decorators with query decorators");a.push(B1(f,O))}})}return a}function V1(e){return void 0===e?null:Cm(e)}function ym(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function vm(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function bm(e){return"Input"===e.ngMetadataName}function Cm(e){return e.split(",").map(t=>t.trim())}const j1=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function H1(e){const t=ll();if(j1.some(a=>t.hasLifecycleHook(e,a)))return!0;const i=t.propMetadata(e);for(const a in i){const f=i[a];for(let v=0;v{if(null===a){const f=Mm(e,t),v=Ui();a=v.compileFactory(ar,`ng:///${f.name}/\u0275fac.js`,{name:f.name,type:f.type,typeArgumentCount:0,deps:ha(e),target:v.FactoryTarget.Pipe})}return a},configurable:!1}),Object.defineProperty(e,Nt,{get:()=>{if(null===i){const f=Mm(e,t);i=Ui().compilePipe(ar,`ng:///${f.name}/\u0275pipe.js`,f)}return i},configurable:!1})}function Mm(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure}}const Dm=Hs("Directive",(e={})=>e,void 0,void 0,(e,t)=>kc(e,t)),z1=Hs("Component",(e={})=>Object.assign({changeDetection:Ue.Default},e),Dm,void 0,(e,t)=>hm(e,t)),W1=Hs("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>Em(e,t)),K1=Es("Input",e=>({bindingPropertyName:e})),G1=Es("Output",e=>({bindingPropertyName:e})),$1=Es("HostBinding",e=>({hostPropertyName:e})),Y1=Es("HostListener",(e,t)=>({eventName:e,args:t})),Q1=Hs("NgModule",e=>e,void 0,void 0,(e,t)=>om(e,t));function Ka(...e){}const Nc=new Ei("Application Initializer");let Co=(()=>{class e{constructor(i){this.appInits=i,this.resolve=Ka,this.reject=Ka,this.initialized=!1,this.done=!1,this.donePromise=new Promise((a,f)=>{this.resolve=a,this.reject=f})}runInitializers(){if(this.initialized)return;const i=[],a=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let f=0;f{v.subscribe({complete:H,error:se})});i.push(O)}}Promise.all(i).then(()=>{a()}).catch(f=>{this.reject(f)}),0===i.length&&a(),this.initialized=!0}}return e.\u0275fac=function(i){return new(i||e)(zi(Nc,8))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();const Sm=new Ei("AppId"),Tm={provide:Sm,useFactory:function(){return`${Fc()}${Fc()}${Fc()}`},deps:[]};function Fc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Im=new Ei("Platform Initializer"),wm=new Ei("Platform ID"),xm=new Ei("appBootstrapListener"),X1=new Ei("Application Packages Root URL");let Am=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();const Ga=new Ei("LocaleId"),Om=new Ei("DefaultCurrencyCode"),Z1=new Ei("Translations"),J1=new Ei("TranslationsFormat");var us=(()=>((us=us||{})[us.Error=0]="Error",us[us.Warning=1]="Warning",us[us.Ignore=2]="Ignore",us))();class Rm{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let Uc=(()=>{class e{compileModuleSync(i){return new Va(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const a=this.compileModuleSync(i),v=is(fn(i).declarations).reduce((O,H)=>{const se=At(H);return se&&O.push(new Ba(se)),O},[]);return new Rm(a,v)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();const Lm=new Ei("compilerOptions");class eC{}const tC=(()=>Promise.resolve(0))();function Bc(e){"undefined"==typeof Zone?tC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class xr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:a=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ls(!1),this.onMicrotaskEmpty=new ls(!1),this.onStable=new ls(!1),this.onError=new ls(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const f=this;f._nesting=0,f._outer=f._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(f._inner=f._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(f._inner=f._inner.fork(Zone.longStackTraceZoneSpec)),f.shouldCoalesceEventChangeDetection=!a&&i,f.shouldCoalesceRunChangeDetection=a,f.lastRequestAnimationFrameId=-1,f.nativeRequestAnimationFrame=function(){let e=Lt.requestAnimationFrame,t=Lt.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);const a=t[Zone.__symbol__("OriginalDelegate")];a&&(t=a)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Lt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,jc(e),e.isCheckStableRunning=!0,Vc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),jc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,a,f,v,O,H)=>{try{return Pm(e),i.invokeTask(f,v,O,H)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===v.type||e.shouldCoalesceRunChangeDetection)&&t(),km(e)}},onInvoke:(i,a,f,v,O,H,se)=>{try{return Pm(e),i.invoke(f,v,O,H,se)}finally{e.shouldCoalesceRunChangeDetection&&t(),km(e)}},onHasTask:(i,a,f,v)=>{i.hasTask(f,v),a===f&&("microTask"==v.change?(e._hasPendingMicrotasks=v.microTask,jc(e),Vc(e)):"macroTask"==v.change&&(e.hasPendingMacrotasks=v.macroTask))},onHandleError:(i,a,f,v)=>(i.handleError(f,v),e.runOutsideAngular(()=>e.onError.emit(v)),!1)})}(f)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!xr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(xr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,i,a){return this._inner.run(t,i,a)}runTask(t,i,a,f){const v=this._inner,O=v.scheduleEventTask("NgZoneEvent: "+f,t,iC,Ka,Ka);try{return v.runTask(O,i,a)}finally{v.cancelTask(O)}}runGuarded(t,i,a){return this._inner.runGuarded(t,i,a)}runOutsideAngular(t){return this._outer.run(t)}}const iC={};function Vc(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 jc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Pm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function km(e){e._nesting--,Vc(e)}class Nm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ls,this.onMicrotaskEmpty=new ls,this.onStable=new ls,this.onError=new ls}run(t,i,a){return t.apply(i,a)}runGuarded(t,i,a){return t.apply(i,a)}runOutsideAngular(t){return t()}runTask(t,i,a,f){return t.apply(i,a)}}let Fm=(()=>{class e{constructor(i){this._ngZone=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{xr.assertNotInAngularZone(),Bc(()=>{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())Bc(()=>{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(a=>!a.updateCb||!a.updateCb(i)||(clearTimeout(a.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,a,f){let v=-1;a&&a>0&&(v=setTimeout(()=>{this._callbacks=this._callbacks.filter(O=>O.timeoutId!==v),i(this._didWork,this.getPendingTasks())},a)),this._callbacks.push({doneCb:i,timeoutId:v,updateCb:f})}whenStable(i,a,f){if(f&&!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,a,f),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(i,a,f){return[]}}return e.\u0275fac=function(i){return new(i||e)(zi(xr))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})(),Hc=(()=>{class e{constructor(){this._applications=new Map,zc.addToWindow(this)}registerApplication(i,a){this._applications.set(i,a)}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,a=!0){return zc.findTestabilityInTree(this,i,a)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();class oC{addToWindow(t){}findTestabilityInTree(t,i,a){return null}}function aC(e){zc=e}let Xr,zc=new oC;function Um(e,t,i){const a=new Va(i);return Promise.resolve(a)}function Bm(e){return e.isBoundToModule}const Wc=new Ei("AllowMultipleToken");class uC{constructor(t,i){this.name=t,this.token=i}}function Vm(e){if(Xr&&!Xr.destroyed&&!Xr.injector.get(Wc,!1))throw new P("400","");Xr=e.get(Gc);const t=e.get(Im,null);return t&&t.forEach(i=>i()),Xr}function jm(e,t,i=[]){const a=`Platform: ${t}`,f=new Ei(a);return(v=[])=>{let O=Kc();if(!O||O.injector.get(Wc,!1))if(e)e(i.concat(v).concat({provide:f,useValue:!0}));else{const H=i.concat(v).concat({provide:f,useValue:!0},{provide:eu,useValue:"platform"});Vm(wr.create({providers:H,name:a}))}return Hm()}}function Hm(e){const t=Kc();if(!t)throw new P("401","");return t}function cC(){Xr&&!Xr.destroyed&&Xr.destroy()}function Kc(){return Xr&&!Xr.destroyed?Xr:null}let Gc=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,a){const H=function(e,t){let i;return i="noop"===e?new Nm:("zone.js"===e?void 0:e)||new xr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),i}(a?a.ngZone:void 0,{ngZoneEventCoalescing:a&&a.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:a&&a.ngZoneRunCoalescing||!1}),se=[{provide:xr,useValue:H}];return H.run(()=>{const Me=wr.create({providers:se,parent:this.injector,name:i.moduleType.name}),Le=i.create(Me),qe=Le.injector.get(ko,null);if(!qe)throw new P("402","");return H.runOutsideAngular(()=>{const ht=H.onError.subscribe({next:Tt=>{qe.handleError(Tt)}});Le.onDestroy(()=>{$c(this._modules,Le),ht.unsubscribe()})}),function(e,t,i){try{const a=i();return xu(a)?a.catch(f=>{throw t.runOutsideAngular(()=>e.handleError(f)),f}):a}catch(a){throw t.runOutsideAngular(()=>e.handleError(a)),a}}(qe,H,()=>{const ht=Le.injector.get(Co);return ht.runInitializers(),ht.donePromise.then(()=>(F0(Le.injector.get(Ga,Go)||Go),this._moduleDoBootstrap(Le),Le))})})}bootstrapModule(i,a=[]){const f=zm({},a);return Um(0,0,i).then(v=>this.bootstrapModuleFactory(v,f))}_moduleDoBootstrap(i){const a=i.injector.get(ra);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(f=>a.bootstrap(f));else{if(!i.instance.ngDoBootstrap)throw new P("403","");i.instance.ngDoBootstrap(a)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new P("404","");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(i){return new(i||e)(zi(wr))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();function zm(e,t){return Array.isArray(t)?t.reduce(zm,e):Object.assign(Object.assign({},e),t)}let ra=(()=>{class e{constructor(i,a,f,v,O){this._zone=i,this._injector=a,this._exceptionHandler=f,this._componentFactoryResolver=v,this._initStatus=O,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const H=new u.y(Me=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Me.next(this._stable),Me.complete()})}),se=new u.y(Me=>{let Le;this._zone.runOutsideAngular(()=>{Le=this._zone.onStable.subscribe(()=>{xr.assertNotInAngularZone(),Bc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Me.next(!0))})})});const qe=this._zone.onUnstable.subscribe(()=>{xr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Me.next(!1)}))});return()=>{Le.unsubscribe(),qe.unsubscribe()}});this.isStable=(0,c.T)(H,se.pipe((0,r.B)()))}bootstrap(i,a){if(!this._initStatus.done)throw new P("405","");let f;f=i instanceof Na?i:this._componentFactoryResolver.resolveComponentFactory(i),this.componentTypes.push(f.componentType);const v=Bm(f)?void 0:this._injector.get(yo),H=f.create(wr.NULL,[],a||f.selector,v),se=H.location.nativeElement,Me=H.injector.get(Fm,null),Le=Me&&H.injector.get(Hc);return Me&&Le&&Le.registerApplication(se,Me),H.onDestroy(()=>{this.detachView(H.hostView),$c(this.components,H),Le&&Le.unregisterApplication(se)}),this._loadComponent(H),H}tick(){if(this._runningTick)throw new P("101","");try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(i))}finally{this._runningTick=!1}}attachView(i){const a=i;this._views.push(a),a.attachToAppRef(this)}detachView(i){const a=i;$c(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(xm,[]).concat(this._bootstrapListeners).forEach(f=>f(i))}ngOnDestroy(){this._views.slice().forEach(i=>i.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(i){return new(i||e)(zi(xr),zi(wr),zi(ko),zi(Xo),zi(Co))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();function $c(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}let Km=!0,Gm=!1;function pC(){return Gm=!0,Km}function mC(){if(Gm)throw new Error("Cannot enable prod mode after platform setup.");Km=!1}function gC(e){const t=Mp(e);if(!t)throw $m(e);return new Va(t)}function _C(e){const t=Mp(e);if(!t)throw $m(e);return t}function $m(e){return new Error(`No module with ID ${e} loaded`)}let Ym=(()=>{class e{}return e.__NG_ELEMENT_ID__=Qm,e})();function Qm(e){return function(e,t,i){if(_i(e)&&!i){const a=hn(e.index,t);return new _o(a,a)}return 47&e.type?new _o(t[16],t):null}(ne(),ye(),16==(16&e))}class qm extends Ym{}class vC extends qm{}class bC{constructor(t,i){this.name=t,this.callback=i}}function CC(e){return e.map(t=>t.nativeElement)}class Yc{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new sa(t):null}get injector(){return _f(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(ru(t)||mf(t))}get context(){return ru(this.nativeNode)||pf(this.nativeNode)}get listeners(){return vf(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function(e){const t=er(e);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){const i=e[1].data[t];if(i&&i.localNames){const a={};let f=i.index+1;for(let v=0;v1){let Le=se[1];for(let qe=1;qet[v]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,i=[];for(let a=0;a{if(v.name===t){const O=v.callback;O.call(a,i),f.push(O)}}),"function"==typeof a.eventListeners&&a.eventListeners(t).forEach(v=>{if(-1!==v.toString().indexOf("__ngUnwrap__")){const O=v("__ngUnwrap__");return-1===f.indexOf(O)&&O.call(a,i)}})}}function MC(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Xm(e,t,i,a){const f=er(e.nativeNode);null!==f?Ps(f.lView[1].data[f.nodeIndex],f.lView,t,i,a,e.nativeNode):qc(e.nativeNode,t,i,a)}function Ps(e,t,i,a,f,v){const O=function(e,t){const i=null===e?-1:e.index;return-1!==i?fe(t[i]):null}(e,t);if(11&e.type){if(Qc(O,i,a,f,v),_i(e)){const se=hn(e.index,t);se&&se[1].firstChild&&Ps(se[1].firstChild,se,i,a,f,v)}else e.child&&Ps(e.child,t,i,a,f,v),O&&qc(O,i,a,f);const H=t[e.index];Xn(H)&&Zm(H,i,a,f,v)}else if(4&e.type){const H=t[e.index];Qc(H[7],i,a,f,v),Zm(H,i,a,f,v)}else if(16&e.type){const H=t[16],Me=H[6].projection[e.projection];if(Array.isArray(Me))for(let Le of Me)Qc(Le,i,a,f,v);else if(Me){const Le=H[3];Ps(Le[1].data[Me.index],Le,i,a,f,v)}}else e.child&&Ps(e.child,t,i,a,f,v);if(v!==O){const H=4&e.flags?e.projectionNext:e.next;H&&Ps(H,t,i,a,f,v)}}function Zm(e,t,i,a,f){for(let v=10;vt;class eg{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||xC}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,a=this._removalsHead,f=0,v=null;for(;i||a;){const O=!a||i&&i.currentIndex{O=this._trackByFn(f,H),null!==i&&Object.is(i.trackById,O)?(a&&(i=this._verifyReinsertion(i,H,O,f)),Object.is(i.item,H)||this._addIdentityChange(i,H)):(i=this._mismatch(i,H,O,f),a=!0),i=i._next,f++}),this.length=f;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,a,f){let v;return null===t?v=this._itTail:(v=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,v,f)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(a,f))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,v,f)):t=this._addAfter(new AC(i,a),v,f),t}_verifyReinsertion(t,i,a,f){let v=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null);return null!==v?t=this._reinsertAfter(v,t._prev,f):t.currentIndex!=f&&(t.currentIndex=f,this._addToMoves(t,f)),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,a){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const f=t._prevRemoved,v=t._nextRemoved;return null===f?this._removalsHead=v:f._nextRemoved=v,null===v?this._removalsTail=f:v._prevRemoved=f,this._insertAfter(t,i,a),this._addToMoves(t,a),t}_moveAfter(t,i,a){return this._unlink(t),this._insertAfter(t,i,a),this._addToMoves(t,a),t}_addAfter(t,i,a){return this._insertAfter(t,i,a),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,a){const f=null===i?this._itHead:i._next;return t._next=f,t._prev=i,null===f?this._itTail=t:f._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new tg),this._linkedRecords.put(t),t.currentIndex=a,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,a=t._next;return null===i?this._itHead=a:i._next=a,null===a?this._itTail=i:a._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 tg),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 AC{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 OC{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 a;for(a=this._head;null!==a;a=a._nextDup)if((null===i||i<=a.currentIndex)&&Object.is(a.trackById,t))return a;return null}remove(t){const i=t._prevDup,a=t._nextDup;return null===i?this._head=a:i._nextDup=a,null===a?this._tail=i:a._prevDup=i,null===this._head}}class tg{constructor(){this.map=new Map}put(t){const i=t.trackById;let a=this.map.get(i);a||(a=new OC,this.map.set(i,a)),a.add(t)}get(t,i){const f=this.map.get(t);return f?f.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 ng(e,t,i){const a=e.previousIndex;if(null===a)return a;let f=0;return i&&a{if(i&&i.key===f)this._maybeAddToChanges(i,a),this._appendAfter=i,i=i._next;else{const v=this._getOrCreateRecordForKey(f,a);i=this._insertBeforeOrAppend(i,v)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let a=i;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const a=t._prev;return i._next=t,i._prev=a,t._prev=i,a&&(a._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 f=this._records.get(t);this._maybeAddToChanges(f,i);const v=f._prev,O=f._next;return v&&(v._next=O),O&&(O._prev=v),f._next=null,f._prev=null,f}const a=new LC(t);return this._records.set(t,a),a.currentValue=i,this._addToAdditions(a),a}_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(a=>i(t[a],a))}}class LC{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 rg(){return new Ya([new Jm])}let Ya=(()=>{class e{constructor(i){this.factories=i}static create(i,a){if(null!=a){const f=a.factories.slice();i=i.concat(f)}return new e(i)}static extend(i){return{provide:e,useFactory:a=>e.create(i,a||rg()),deps:[[e,new xs,new ws]]}}find(i){const a=this.factories.find(f=>f.supports(i));if(null!=a)return a;throw new Error(`Cannot find a differ supporting object '${i}' of type '${function(e){return e.name||typeof e}(i)}'`)}}return e.\u0275prov=Ie({token:e,providedIn:"root",factory:rg}),e})();function sg(){return new Qa([new ig])}let Qa=(()=>{class e{constructor(i){this.factories=i}static create(i,a){if(a){const f=a.factories.slice();i=i.concat(f)}return new e(i)}static extend(i){return{provide:e,useFactory:a=>e.create(i,a||sg()),deps:[[e,new xs,new ws]]}}find(i){const a=this.factories.find(f=>f.supports(i));if(a)return a;throw new Error(`Cannot find a differ supporting object '${i}'`)}}return e.\u0275prov=Ie({token:e,providedIn:"root",factory:sg}),e})();const kC=[new ig],og=new Ya([new Jm]),ag=new Qa(kC),FC=jm(null,"core",[{provide:wm,useValue:"unknown"},{provide:Gc,deps:[wr]},{provide:Hc,deps:[]},{provide:Am,deps:[]}]),HC=[{provide:ra,useClass:ra,deps:[xr,wr,ko,Xo,Co]},{provide:u1,deps:[xr],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(i){t.push(i)}}},{provide:Co,useClass:Co,deps:[[new ws,Nc]]},{provide:Uc,useClass:Uc,deps:[]},Tm,{provide:Ya,useFactory:function(){return og},deps:[]},{provide:Qa,useFactory:function(){return ag},deps:[]},{provide:Ga,useFactory:function(e){return e||"undefined"!=typeof $localize&&$localize.locale||Go},deps:[[new xo(Ga),new ws,new xs]]},{provide:Om,useValue:"USD"}];let WC=(()=>{class e{constructor(i){}}return e.\u0275fac=function(i){return new(i||e)(zi(ra))},e.\u0275mod=vn({type:e}),e.\u0275inj=ct({providers:HC}),e})();const KC=!0;function GC(e){return Ui().compileDirectiveDeclaration(ar,`ng:///${e.type.name}/\u0275fac.js`,e)}function $C(e){var t,i;vp(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(i=e.propDecorators)&&void 0!==i?i:null)}function YC(e){return Ui().compileComponentDeclaration(ar,`ng:///${e.type.name}/\u0275cmp.js`,e)}function QC(e){return Ui(function(e){switch(e){case Fi.Directive:return"directive";case Fi.Component:return"component";case Fi.Injectable:return"injectable";case Fi.Pipe:return"pipe";case Fi.NgModule:;}}(e.target)).compileFactoryDeclaration(ar,`ng:///${e.type.name}/\u0275fac.js`,e)}function XC(e){return Ui().compileInjectableDeclaration(ar,`ng:///${e.type.name}/\u0275prov.js`,e)}function ZC(e){return Ui().compileInjectorDeclaration(ar,`ng:///${e.type.name}/\u0275inj.js`,e)}function JC(e){return Ui().compileNgModuleDeclaration(ar,`ng:///${e.type.name}/\u0275mod.js`,e)}function eE(e){return Ui().compilePipeDeclaration(ar,`ng:///${e.type.name}/\u0275pipe.js`,e)}},3075:(he,A,o)=>{"use strict";o.r(A),o.d(A,{AbstractControl:()=>pi,AbstractControlDirective:()=>xt,AbstractFormGroupDirective:()=>J,COMPOSITION_BUFFER_MODE:()=>s,CheckboxControlValueAccessor:()=>b,CheckboxRequiredValidator:()=>ur,ControlContainer:()=>Ne,DefaultValueAccessor:()=>C,EmailValidator:()=>di,FormArray:()=>ri,FormArrayName:()=>Fn,FormBuilder:()=>hr,FormControl:()=>Jn,FormControlDirective:()=>Ri,FormControlName:()=>wi,FormGroup:()=>Ln,FormGroupDirective:()=>bi,FormGroupName:()=>mn,FormsModule:()=>Vr,MaxLengthValidator:()=>Xi,MaxValidator:()=>Li,MinLengthValidator:()=>qi,MinValidator:()=>Si,NG_ASYNC_VALIDATORS:()=>T,NG_VALIDATORS:()=>D,NG_VALUE_ACCESSOR:()=>p,NgControl:()=>dt,NgControlStatus:()=>mt,NgControlStatusGroup:()=>_e,NgForm:()=>Xe,NgModel:()=>Yt,NgModelGroup:()=>kt,NgSelectOption:()=>gn,NumberValueAccessor:()=>Tn,PatternValidator:()=>rr,RadioControlValueAccessor:()=>bn,RangeValueAccessor:()=>Oi,ReactiveFormsModule:()=>Wn,RequiredValidator:()=>Pi,SelectControlValueAccessor:()=>an,SelectMultipleControlValueAccessor:()=>lr,VERSION:()=>fe,Validators:()=>$,\u0275InternalFormsSharedModule:()=>Yi,\u0275NgNoValidate:()=>Zt,\u0275NgSelectMultipleOption:()=>br});var n=o(5e3),l=o(9808),u=o(5254),c=o(567),r=o(4850);let d=(()=>{class k{constructor(I,de){this._renderer=I,this._elementRef=de,this.onChange=Ze=>{},this.onTouched=()=>{}}setProperty(I,de){this._renderer.setProperty(this._elementRef.nativeElement,I,de)}registerOnTouched(I){this.onTouched=I}registerOnChange(I){this.onChange=I}setDisabledState(I){this.setProperty("disabled",I)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k}),k})(),m=(()=>{class k extends d{}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275InheritDefinitionFeature]}),k})();const p=new n.InjectionToken("NgValueAccessor"),y={provide:p,useExisting:(0,n.forwardRef)(()=>b),multi:!0};let b=(()=>{class k extends m{writeValue(I){this.setProperty("checked",I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("change",function(wt){return de.onChange(wt.target.checked)})("blur",function(){return de.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([y]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const h={provide:p,useExisting:(0,n.forwardRef)(()=>C),multi:!0},s=new n.InjectionToken("CompositionEventMode");let C=(()=>{class k extends d{constructor(I,de,Ze){super(I,de),this._compositionMode=Ze,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const k=(0,l.\u0275getDOM)()?(0,l.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(k.toLowerCase())}())}writeValue(I){this.setProperty("value",null==I?"":I)}_handleInput(I){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(I)}_compositionStart(){this._composing=!0}_compositionEnd(I){this._composing=!1,this._compositionMode&&this.onChange(I)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(s,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,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(I,de){1&I&&n.\u0275\u0275listener("input",function(wt){return de._handleInput(wt.target.value)})("blur",function(){return de.onTouched()})("compositionstart",function(){return de._compositionStart()})("compositionend",function(wt){return de._compositionEnd(wt.target.value)})},features:[n.\u0275\u0275ProvidersFeature([h]),n.\u0275\u0275InheritDefinitionFeature]}),k})();function P(k){return null==k||0===k.length}function w(k){return null!=k&&"number"==typeof k.length}const D=new n.InjectionToken("NgValidators"),T=new n.InjectionToken("NgAsyncValidators"),Y=/^(?=.{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 ${static min(E){return z(E)}static max(E){return G(E)}static required(E){return X(E)}static requiredTrue(E){return Q(E)}static email(E){return q(E)}static minLength(E){return ue(E)}static maxLength(E){return me(E)}static pattern(E){return xe(E)}static nullValidator(E){return null}static compose(E){return Te(E)}static composeAsync(E){return tt(E)}}function z(k){return E=>{if(P(E.value)||P(k))return null;const I=parseFloat(E.value);return!isNaN(I)&&I{if(P(E.value)||P(k))return null;const I=parseFloat(E.value);return!isNaN(I)&&I>k?{max:{max:k,actual:E.value}}:null}}function X(k){return P(k.value)?{required:!0}:null}function Q(k){return!0===k.value?null:{required:!0}}function q(k){return P(k.value)||Y.test(k.value)?null:{email:!0}}function ue(k){return E=>P(E.value)||!w(E.value)?null:E.value.lengthw(E.value)&&E.value.length>k?{maxlength:{requiredLength:k,actualLength:E.value.length}}:null}function xe(k){if(!k)return pe;let E,I;return"string"==typeof k?(I="","^"!==k.charAt(0)&&(I+="^"),I+=k,"$"!==k.charAt(k.length-1)&&(I+="$"),E=new RegExp(I)):(I=k.toString(),E=k),de=>{if(P(de.value))return null;const Ze=de.value;return E.test(Ze)?null:{pattern:{requiredPattern:I,actualValue:Ze}}}}function pe(k){return null}function oe(k){return null!=k}function ae(k){const E=(0,n.\u0275isPromise)(k)?(0,u.D)(k):k;return(0,n.\u0275isObservable)(E),E}function U(k){let E={};return k.forEach(I=>{E=null!=I?Object.assign(Object.assign({},E),I):E}),0===Object.keys(E).length?null:E}function ie(k,E){return E.map(I=>I(k))}function Ce(k){return k.map(E=>function(k){return!k.validate}(E)?E:I=>E.validate(I))}function Te(k){if(!k)return null;const E=k.filter(oe);return 0==E.length?null:function(I){return U(ie(I,E))}}function Ke(k){return null!=k?Te(Ce(k)):null}function tt(k){if(!k)return null;const E=k.filter(oe);return 0==E.length?null:function(I){const de=ie(I,E).map(ae);return(0,c.D)(de).pipe((0,r.U)(U))}}function ot(k){return null!=k?tt(Ce(k)):null}function pt(k,E){return null===k?[E]:Array.isArray(k)?[...k,E]:[k,E]}function Dt(k){return k._rawValidators}function Ie(k){return k._rawAsyncValidators}function Qe(k){return k?Array.isArray(k)?k:[k]:[]}function ct(k,E){return Array.isArray(k)?k.includes(E):k===E}function bt(k,E){const I=Qe(E);return Qe(k).forEach(Ze=>{ct(I,Ze)||I.push(Ze)}),I}function Et(k,E){return Qe(E).filter(I=>!ct(k,I))}class xt{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(E){this._rawValidators=E||[],this._composedValidatorFn=Ke(this._rawValidators)}_setAsyncValidators(E){this._rawAsyncValidators=E||[],this._composedAsyncValidatorFn=ot(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(E){this._onDestroyCallbacks.push(E)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(E=>E()),this._onDestroyCallbacks=[]}reset(E){this.control&&this.control.reset(E)}hasError(E,I){return!!this.control&&this.control.hasError(E,I)}getError(E,I){return this.control?this.control.getError(E,I):null}}class dt extends xt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ne extends xt{get formDirective(){return null}get path(){return null}}class rt{constructor(E){this._cd=E}is(E){var I,de,Ze;return"submitted"===E?!!(null===(I=this._cd)||void 0===I?void 0:I.submitted):!!(null===(Ze=null===(de=this._cd)||void 0===de?void 0:de.control)||void 0===Ze?void 0:Ze[E])}}let mt=(()=>{class k extends rt{constructor(I){super(I)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(dt,2))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(I,de){2&I&&n.\u0275\u0275classProp("ng-untouched",de.is("untouched"))("ng-touched",de.is("touched"))("ng-pristine",de.is("pristine"))("ng-dirty",de.is("dirty"))("ng-valid",de.is("valid"))("ng-invalid",de.is("invalid"))("ng-pending",de.is("pending"))},features:[n.\u0275\u0275InheritDefinitionFeature]}),k})(),_e=(()=>{class k extends rt{constructor(I){super(I)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(I,de){2&I&&n.\u0275\u0275classProp("ng-untouched",de.is("untouched"))("ng-touched",de.is("touched"))("ng-pristine",de.is("pristine"))("ng-dirty",de.is("dirty"))("ng-valid",de.is("valid"))("ng-invalid",de.is("invalid"))("ng-pending",de.is("pending"))("ng-submitted",de.is("submitted"))},features:[n.\u0275\u0275InheritDefinitionFeature]}),k})();function Ft(k,E){return[...E.path,k]}function gt(k,E){Mt(k,E),E.valueAccessor.writeValue(k.value),function(k,E){E.valueAccessor.registerOnChange(I=>{k._pendingValue=I,k._pendingChange=!0,k._pendingDirty=!0,"change"===k.updateOn&&Nt(k,E)})}(k,E),function(k,E){const I=(de,Ze)=>{E.valueAccessor.writeValue(de),Ze&&E.viewToModelUpdate(de)};k.registerOnChange(I),E._registerOnDestroy(()=>{k._unregisterOnChange(I)})}(k,E),function(k,E){E.valueAccessor.registerOnTouched(()=>{k._pendingTouched=!0,"blur"===k.updateOn&&k._pendingChange&&Nt(k,E),"submit"!==k.updateOn&&k.markAsTouched()})}(k,E),function(k,E){if(E.valueAccessor.setDisabledState){const I=de=>{E.valueAccessor.setDisabledState(de)};k.registerOnDisabledChange(I),E._registerOnDestroy(()=>{k._unregisterOnDisabledChange(I)})}}(k,E)}function Lt(k,E,I=!0){const de=()=>{};E.valueAccessor&&(E.valueAccessor.registerOnChange(de),E.valueAccessor.registerOnTouched(de)),Ge(k,E),k&&(E._invokeOnDestroyCallbacks(),k._registerOnCollectionChange(()=>{}))}function $e(k,E){k.forEach(I=>{I.registerOnValidatorChange&&I.registerOnValidatorChange(E)})}function Mt(k,E){const I=Dt(k);null!==E.validator?k.setValidators(pt(I,E.validator)):"function"==typeof I&&k.setValidators([I]);const de=Ie(k);null!==E.asyncValidator?k.setAsyncValidators(pt(de,E.asyncValidator)):"function"==typeof de&&k.setAsyncValidators([de]);const Ze=()=>k.updateValueAndValidity();$e(E._rawValidators,Ze),$e(E._rawAsyncValidators,Ze)}function Ge(k,E){let I=!1;if(null!==k){if(null!==E.validator){const Ze=Dt(k);if(Array.isArray(Ze)&&Ze.length>0){const wt=Ze.filter(Wt=>Wt!==E.validator);wt.length!==Ze.length&&(I=!0,k.setValidators(wt))}}if(null!==E.asyncValidator){const Ze=Ie(k);if(Array.isArray(Ze)&&Ze.length>0){const wt=Ze.filter(Wt=>Wt!==E.asyncValidator);wt.length!==Ze.length&&(I=!0,k.setAsyncValidators(wt))}}}const de=()=>{};return $e(E._rawValidators,de),$e(E._rawAsyncValidators,de),I}function Nt(k,E){k._pendingDirty&&k.markAsDirty(),k.setValue(k._pendingValue,{emitModelToViewChange:!1}),E.viewToModelUpdate(k._pendingValue),k._pendingChange=!1}function Ee(k,E){Mt(k,E)}function je(k,E){if(!k.hasOwnProperty("model"))return!1;const I=k.model;return!!I.isFirstChange()||!Object.is(E,I.currentValue)}function Ht(k,E){k._syncPendingControls(),E.forEach(I=>{const de=I.control;"submit"===de.updateOn&&de._pendingChange&&(I.viewToModelUpdate(de._pendingValue),de._pendingChange=!1)})}function $t(k,E){if(!E)return null;let I,de,Ze;return Array.isArray(E),E.forEach(wt=>{wt.constructor===C?I=wt:function(k){return Object.getPrototypeOf(k.constructor)===m}(wt)?de=wt:Ze=wt}),Ze||de||I||null}function vn(k,E){const I=k.indexOf(E);I>-1&&k.splice(I,1)}const st="VALID",Ve="INVALID",ut="PENDING",At="DISABLED";function Jt(k){return(ti(k)?k.validators:k)||null}function fn(k){return Array.isArray(k)?Ke(k):k||null}function Rn(k,E){return(ti(E)?E.asyncValidators:k)||null}function li(k){return Array.isArray(k)?ot(k):k||null}function ti(k){return null!=k&&!Array.isArray(k)&&"object"==typeof k}class pi{constructor(E,I){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=E,this._rawAsyncValidators=I,this._composedValidatorFn=fn(this._rawValidators),this._composedAsyncValidatorFn=li(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(E){this._rawValidators=this._composedValidatorFn=E}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(E){this._rawAsyncValidators=this._composedAsyncValidatorFn=E}get parent(){return this._parent}get valid(){return this.status===st}get invalid(){return this.status===Ve}get pending(){return this.status==ut}get disabled(){return this.status===At}get enabled(){return this.status!==At}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(E){this._rawValidators=E,this._composedValidatorFn=fn(E)}setAsyncValidators(E){this._rawAsyncValidators=E,this._composedAsyncValidatorFn=li(E)}addValidators(E){this.setValidators(bt(E,this._rawValidators))}addAsyncValidators(E){this.setAsyncValidators(bt(E,this._rawAsyncValidators))}removeValidators(E){this.setValidators(Et(E,this._rawValidators))}removeAsyncValidators(E){this.setAsyncValidators(Et(E,this._rawAsyncValidators))}hasValidator(E){return ct(this._rawValidators,E)}hasAsyncValidator(E){return ct(this._rawAsyncValidators,E)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(E={}){this.touched=!0,this._parent&&!E.onlySelf&&this._parent.markAsTouched(E)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(E=>E.markAllAsTouched())}markAsUntouched(E={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(I=>{I.markAsUntouched({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}markAsDirty(E={}){this.pristine=!1,this._parent&&!E.onlySelf&&this._parent.markAsDirty(E)}markAsPristine(E={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(I=>{I.markAsPristine({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}markAsPending(E={}){this.status=ut,!1!==E.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!E.onlySelf&&this._parent.markAsPending(E)}disable(E={}){const I=this._parentMarkedDirty(E.onlySelf);this.status=At,this.errors=null,this._forEachChild(de=>{de.disable(Object.assign(Object.assign({},E),{onlySelf:!0}))}),this._updateValue(),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},E),{skipPristineCheck:I})),this._onDisabledChange.forEach(de=>de(!0))}enable(E={}){const I=this._parentMarkedDirty(E.onlySelf);this.status=st,this._forEachChild(de=>{de.enable(Object.assign(Object.assign({},E),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},E),{skipPristineCheck:I})),this._onDisabledChange.forEach(de=>de(!1))}_updateAncestors(E){this._parent&&!E.onlySelf&&(this._parent.updateValueAndValidity(E),E.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(E){this._parent=E}updateValueAndValidity(E={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===st||this.status===ut)&&this._runAsyncValidator(E.emitEvent)),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.updateValueAndValidity(E)}_updateTreeValidity(E={emitEvent:!0}){this._forEachChild(I=>I._updateTreeValidity(E)),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?At:st}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(E){if(this.asyncValidator){this.status=ut,this._hasOwnPendingAsyncValidator=!0;const I=ae(this.asyncValidator(this));this._asyncValidationSubscription=I.subscribe(de=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(de,{emitEvent:E})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(E,I={}){this.errors=E,this._updateControlsErrors(!1!==I.emitEvent)}get(E){return function(k,E,I){if(null==E||(Array.isArray(E)||(E=E.split(".")),Array.isArray(E)&&0===E.length))return null;let de=k;return E.forEach(Ze=>{de=de instanceof Ln?de.controls.hasOwnProperty(Ze)?de.controls[Ze]:null:de instanceof ri&&de.at(Ze)||null}),de}(this,E)}getError(E,I){const de=I?this.get(I):this;return de&&de.errors?de.errors[E]:null}hasError(E,I){return!!this.getError(E,I)}get root(){let E=this;for(;E._parent;)E=E._parent;return E}_updateControlsErrors(E){this.status=this._calculateStatus(),E&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(E)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?At:this.errors?Ve:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ut)?ut:this._anyControlsHaveStatus(Ve)?Ve:st}_anyControlsHaveStatus(E){return this._anyControls(I=>I.status===E)}_anyControlsDirty(){return this._anyControls(E=>E.dirty)}_anyControlsTouched(){return this._anyControls(E=>E.touched)}_updatePristine(E={}){this.pristine=!this._anyControlsDirty(),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}_updateTouched(E={}){this.touched=this._anyControlsTouched(),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}_isBoxedValue(E){return"object"==typeof E&&null!==E&&2===Object.keys(E).length&&"value"in E&&"disabled"in E}_registerOnCollectionChange(E){this._onCollectionChange=E}_setUpdateStrategy(E){ti(E)&&null!=E.updateOn&&(this._updateOn=E.updateOn)}_parentMarkedDirty(E){return!E&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Jn extends pi{constructor(E=null,I,de){super(Jt(I),Rn(de,I)),this._onChange=[],this._pendingChange=!1,this._applyFormState(E),this._setUpdateStrategy(I),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(E,I={}){this.value=this._pendingValue=E,this._onChange.length&&!1!==I.emitModelToViewChange&&this._onChange.forEach(de=>de(this.value,!1!==I.emitViewToModelChange)),this.updateValueAndValidity(I)}patchValue(E,I={}){this.setValue(E,I)}reset(E=null,I={}){this._applyFormState(E),this.markAsPristine(I),this.markAsUntouched(I),this.setValue(this.value,I),this._pendingChange=!1}_updateValue(){}_anyControls(E){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(E){this._onChange.push(E)}_unregisterOnChange(E){vn(this._onChange,E)}registerOnDisabledChange(E){this._onDisabledChange.push(E)}_unregisterOnDisabledChange(E){vn(this._onDisabledChange,E)}_forEachChild(E){}_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(E){this._isBoxedValue(E)?(this.value=this._pendingValue=E.value,E.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=E}}class Ln extends pi{constructor(E,I,de){super(Jt(I),Rn(de,I)),this.controls=E,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(E,I){return this.controls[E]?this.controls[E]:(this.controls[E]=I,I.setParent(this),I._registerOnCollectionChange(this._onCollectionChange),I)}addControl(E,I,de={}){this.registerControl(E,I),this.updateValueAndValidity({emitEvent:de.emitEvent}),this._onCollectionChange()}removeControl(E,I={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}setControl(E,I,de={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],I&&this.registerControl(E,I),this.updateValueAndValidity({emitEvent:de.emitEvent}),this._onCollectionChange()}contains(E){return this.controls.hasOwnProperty(E)&&this.controls[E].enabled}setValue(E,I={}){this._checkAllValuesPresent(E),Object.keys(E).forEach(de=>{this._throwIfControlMissing(de),this.controls[de].setValue(E[de],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(E,I={}){null!=E&&(Object.keys(E).forEach(de=>{this.controls[de]&&this.controls[de].patchValue(E[de],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(E={},I={}){this._forEachChild((de,Ze)=>{de.reset(E[Ze],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this._reduceChildren({},(E,I,de)=>(E[de]=I instanceof Jn?I.value:I.getRawValue(),E))}_syncPendingControls(){let E=this._reduceChildren(!1,(I,de)=>!!de._syncPendingControls()||I);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_throwIfControlMissing(E){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[E])throw new Error(`Cannot find form control with name: ${E}.`)}_forEachChild(E){Object.keys(this.controls).forEach(I=>{const de=this.controls[I];de&&E(de,I)})}_setUpControls(){this._forEachChild(E=>{E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(E){for(const I of Object.keys(this.controls)){const de=this.controls[I];if(this.contains(I)&&E(de))return!0}return!1}_reduceValue(){return this._reduceChildren({},(E,I,de)=>((I.enabled||this.disabled)&&(E[de]=I.value),E))}_reduceChildren(E,I){let de=E;return this._forEachChild((Ze,wt)=>{de=I(de,Ze,wt)}),de}_allControlsDisabled(){for(const E of Object.keys(this.controls))if(this.controls[E].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(E){this._forEachChild((I,de)=>{if(void 0===E[de])throw new Error(`Must supply a value for form control with name: '${de}'.`)})}}class ri extends pi{constructor(E,I,de){super(Jt(I),Rn(de,I)),this.controls=E,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(E){return this.controls[E]}push(E,I={}){this.controls.push(E),this._registerControl(E),this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}insert(E,I,de={}){this.controls.splice(E,0,I),this._registerControl(I),this.updateValueAndValidity({emitEvent:de.emitEvent})}removeAt(E,I={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),this.controls.splice(E,1),this.updateValueAndValidity({emitEvent:I.emitEvent})}setControl(E,I,de={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),this.controls.splice(E,1),I&&(this.controls.splice(E,0,I),this._registerControl(I)),this.updateValueAndValidity({emitEvent:de.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(E,I={}){this._checkAllValuesPresent(E),E.forEach((de,Ze)=>{this._throwIfControlMissing(Ze),this.at(Ze).setValue(de,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(E,I={}){null!=E&&(E.forEach((de,Ze)=>{this.at(Ze)&&this.at(Ze).patchValue(de,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(E=[],I={}){this._forEachChild((de,Ze)=>{de.reset(E[Ze],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this.controls.map(E=>E instanceof Jn?E.value:E.getRawValue())}clear(E={}){this.controls.length<1||(this._forEachChild(I=>I._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:E.emitEvent}))}_syncPendingControls(){let E=this.controls.reduce((I,de)=>!!de._syncPendingControls()||I,!1);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_throwIfControlMissing(E){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(E))throw new Error(`Cannot find form control at index ${E}`)}_forEachChild(E){this.controls.forEach((I,de)=>{E(I,de)})}_updateValue(){this.value=this.controls.filter(E=>E.enabled||this.disabled).map(E=>E.value)}_anyControls(E){return this.controls.some(I=>I.enabled&&E(I))}_setUpControls(){this._forEachChild(E=>this._registerControl(E))}_checkAllValuesPresent(E){this._forEachChild((I,de)=>{if(void 0===E[de])throw new Error(`Must supply a value for form control at index: ${de}.`)})}_allControlsDisabled(){for(const E of this.controls)if(E.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(E){E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)}}const jn={provide:Ne,useExisting:(0,n.forwardRef)(()=>Xe)},Se=(()=>Promise.resolve(null))();let Xe=(()=>{class k extends Ne{constructor(I,de){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new n.EventEmitter,this.form=new Ln({},Ke(I),ot(de))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(I){Se.then(()=>{const de=this._findContainer(I.path);I.control=de.registerControl(I.name,I.control),gt(I.control,I),I.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(I)})}getControl(I){return this.form.get(I.path)}removeControl(I){Se.then(()=>{const de=this._findContainer(I.path);de&&de.removeControl(I.name),vn(this._directives,I)})}addFormGroup(I){Se.then(()=>{const de=this._findContainer(I.path),Ze=new Ln({});Ee(Ze,I),de.registerControl(I.name,Ze),Ze.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(I){Se.then(()=>{const de=this._findContainer(I.path);de&&de.removeControl(I.name)})}getFormGroup(I){return this.form.get(I.path)}updateModel(I,de){Se.then(()=>{this.form.get(I.path).setValue(de)})}setValue(I){this.control.setValue(I)}onSubmit(I){return this.submitted=!0,Ht(this.form,this._directives),this.ngSubmit.emit(I),!1}onReset(){this.resetForm()}resetForm(I){this.form.reset(I),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(I){return I.pop(),I.length?this.form.get(I):this.form}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("submit",function(wt){return de.onSubmit(wt)})("reset",function(){return de.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([jn]),n.\u0275\u0275InheritDefinitionFeature]}),k})(),J=(()=>{class k extends Ne{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ft(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275InheritDefinitionFeature]}),k})();const Ye={provide:Ne,useExisting:(0,n.forwardRef)(()=>kt)};let kt=(()=>{class k extends J{constructor(I,de,Ze){super(),this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze)}_checkParentType(){}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,5),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([Ye]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const It={provide:dt,useExisting:(0,n.forwardRef)(()=>Yt)},Rt=(()=>Promise.resolve(null))();let Yt=(()=>{class k extends dt{constructor(I,de,Ze,wt){super(),this.control=new Jn,this._registered=!1,this.update=new n.EventEmitter,this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze),this.valueAccessor=$t(0,wt)}ngOnChanges(I){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in I&&this._updateDisabled(I),je(I,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Ft(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}_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(){gt(this.control,this),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(I){Rt.then(()=>{this.control.setValue(I,{emitViewToModelChange:!1})})}_updateDisabled(I){const de=I.isDisabled.currentValue,Ze=""===de||de&&"false"!==de;Rt.then(()=>{Ze&&!this.control.disabled?this.control.disable():!Ze&&this.control.disabled&&this.control.enable()})}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,9),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(p,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,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([It]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})(),Zt=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),k})();const Mn={provide:p,useExisting:(0,n.forwardRef)(()=>Tn),multi:!0};let Tn=(()=>{class k extends m{writeValue(I){this.setProperty("value",null==I?"":I)}registerOnChange(I){this.onChange=de=>{I(""==de?null:parseFloat(de))}}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("input",function(wt){return de.onChange(wt.target.value)})("blur",function(){return de.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Mn]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const wn={provide:p,useExisting:(0,n.forwardRef)(()=>bn),multi:!0};let An=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({}),k})(),kn=(()=>{class k{constructor(){this._accessors=[]}add(I,de){this._accessors.push([I,de])}remove(I){for(let de=this._accessors.length-1;de>=0;--de)if(this._accessors[de][1]===I)return void this._accessors.splice(de,1)}select(I){this._accessors.forEach(de=>{this._isSameGroup(de,I)&&de[1]!==I&&de[1].fireUncheck(I.value)})}_isSameGroup(I,de){return!!I[0].control&&I[0]._parent===de._control._parent&&I[1].name===de.name}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:An}),k})(),bn=(()=>{class k extends m{constructor(I,de,Ze,wt){super(I,de),this._registry=Ze,this._injector=wt,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(dt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(I){this._state=I===this.value,this.setProperty("checked",this._state)}registerOnChange(I){this._fn=I,this.onChange=()=>{I(this.value),this._registry.select(this)}}fireUncheck(I){this.writeValue(I)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(kn),n.\u0275\u0275directiveInject(n.Injector))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("change",function(){return de.onChange()})("blur",function(){return de.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([wn]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const ui={provide:p,useExisting:(0,n.forwardRef)(()=>Oi),multi:!0};let Oi=(()=>{class k extends m{writeValue(I){this.setProperty("value",parseFloat(I))}registerOnChange(I){this.onChange=de=>{I(""==de?null:parseFloat(de))}}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("change",function(wt){return de.onChange(wt.target.value)})("input",function(wt){return de.onChange(wt.target.value)})("blur",function(){return de.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([ui]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const ci=new n.InjectionToken("NgModelWithFormControlWarning"),Xn={provide:dt,useExisting:(0,n.forwardRef)(()=>Ri)};let Ri=(()=>{class k extends dt{constructor(I,de,Ze,wt){super(),this._ngModelWarningConfig=wt,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(I),this._setAsyncValidators(de),this.valueAccessor=$t(0,Ze)}set isDisabled(I){}ngOnChanges(I){if(this._isControlChanged(I)){const de=I.form.previousValue;de&&Lt(de,this,!1),gt(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}je(I,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Lt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}_isControlChanged(I){return I.hasOwnProperty("form")}}return k._ngModelWarningSentOnce=!1,k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(ci,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Xn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})();const _i={provide:Ne,useExisting:(0,n.forwardRef)(()=>bi)};let bi=(()=>{class k extends Ne{constructor(I,de){super(),this.validators=I,this.asyncValidators=de,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(I),this._setAsyncValidators(de)}ngOnChanges(I){this._checkFormPresent(),I.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ge(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(I){const de=this.form.get(I.path);return gt(de,I),de.updateValueAndValidity({emitEvent:!1}),this.directives.push(I),de}getControl(I){return this.form.get(I.path)}removeControl(I){Lt(I.control||null,I,!1),vn(this.directives,I)}addFormGroup(I){this._setUpFormContainer(I)}removeFormGroup(I){this._cleanUpFormContainer(I)}getFormGroup(I){return this.form.get(I.path)}addFormArray(I){this._setUpFormContainer(I)}removeFormArray(I){this._cleanUpFormContainer(I)}getFormArray(I){return this.form.get(I.path)}updateModel(I,de){this.form.get(I.path).setValue(de)}onSubmit(I){return this.submitted=!0,Ht(this.form,this.directives),this.ngSubmit.emit(I),!1}onReset(){this.resetForm()}resetForm(I){this.form.reset(I),this.submitted=!1}_updateDomValue(){this.directives.forEach(I=>{const de=I.control,Ze=this.form.get(I.path);de!==Ze&&(Lt(de||null,I),Ze instanceof Jn&&(gt(Ze,I),I.control=Ze))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(I){const de=this.form.get(I.path);Ee(de,I),de.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(I){if(this.form){const de=this.form.get(I.path);de&&function(k,E){return Ge(k,E)}(de,I)&&de.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Mt(this.form,this),this._oldForm&&Ge(this._oldForm,this)}_checkFormPresent(){}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroup",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("submit",function(wt){return de.onSubmit(wt)})("reset",function(){return de.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([_i]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})();const si={provide:Ne,useExisting:(0,n.forwardRef)(()=>mn)};let mn=(()=>{class k extends J{constructor(I,de,Ze){super(),this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze)}_checkParentType(){xn(this._parent)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,13),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([si]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const Qi={provide:Ne,useExisting:(0,n.forwardRef)(()=>Fn)};let Fn=(()=>{class k extends Ne{constructor(I,de,Ze){super(),this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze)}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 Ft(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){xn(this._parent)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,13),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Qi]),n.\u0275\u0275InheritDefinitionFeature]}),k})();function xn(k){return!(k instanceof mn||k instanceof bi||k instanceof Fn)}const Ii={provide:dt,useExisting:(0,n.forwardRef)(()=>wi)};let wi=(()=>{class k extends dt{constructor(I,de,Ze,wt,Wt){super(),this._ngModelWarningConfig=Wt,this._added=!1,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze),this.valueAccessor=$t(0,wt)}set isDisabled(I){}ngOnChanges(I){this._added||this._setUpControl(),je(I,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}get path(){return Ft(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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return k._ngModelWarningSentOnce=!1,k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,13),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(ci,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([Ii]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})();const ir={provide:p,useExisting:(0,n.forwardRef)(()=>an),multi:!0};function Wi(k,E){return null==k?`${E}`:(E&&"object"==typeof E&&(E="Object"),`${k}: ${E}`.slice(0,50))}let an=(()=>{class k extends m{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(I){this._compareWith=I}writeValue(I){this.value=I;const de=this._getOptionId(I);null==de&&this.setProperty("selectedIndex",-1);const Ze=Wi(de,I);this.setProperty("value",Ze)}registerOnChange(I){this.onChange=de=>{this.value=this._getOptionValue(de),I(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(I){for(const de of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(de),I))return de;return null}_getOptionValue(I){const de=function(k){return k.split(":")[0]}(I);return this._optionMap.has(de)?this._optionMap.get(de):I}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("change",function(wt){return de.onChange(wt.target.value)})("blur",function(){return de.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ir]),n.\u0275\u0275InheritDefinitionFeature]}),k})(),gn=(()=>{class k{constructor(I,de,Ze){this._element=I,this._renderer=de,this._select=Ze,this._select&&(this.id=this._select._registerOption())}set ngValue(I){null!=this._select&&(this._select._optionMap.set(this.id,I),this._setElementValue(Wi(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._setElementValue(I),this._select&&this._select.writeValue(this._select.value)}_setElementValue(I){this._renderer.setProperty(this._element.nativeElement,"value",I)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(an,9))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),k})();const Sn={provide:p,useExisting:(0,n.forwardRef)(()=>lr),multi:!0};function oi(k,E){return null==k?`${E}`:("string"==typeof E&&(E=`'${E}'`),E&&"object"==typeof E&&(E="Object"),`${k}: ${E}`.slice(0,50))}let lr=(()=>{class k extends m{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(I){this._compareWith=I}writeValue(I){let de;if(this.value=I,Array.isArray(I)){const Ze=I.map(wt=>this._getOptionId(wt));de=(wt,Wt)=>{wt._setSelected(Ze.indexOf(Wt.toString())>-1)}}else de=(Ze,wt)=>{Ze._setSelected(!1)};this._optionMap.forEach(de)}registerOnChange(I){this.onChange=de=>{const Ze=[],wt=de.selectedOptions;if(void 0!==wt){const Wt=wt;for(let hn=0;hn{class k{constructor(I,de,Ze){this._element=I,this._renderer=de,this._select=Ze,this._select&&(this.id=this._select._registerOption(this))}set ngValue(I){null!=this._select&&(this._value=I,this._setElementValue(oi(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._select?(this._value=I,this._setElementValue(oi(this.id,I)),this._select.writeValue(this._select.value)):this._setElementValue(I)}_setElementValue(I){this._renderer.setProperty(this._element.nativeElement,"value",I)}_setSelected(I){this._renderer.setProperty(this._element.nativeElement,"selected",I)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(lr,9))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),k})();function Or(k){return"number"==typeof k?k:parseInt(k,10)}function Ki(k){return"number"==typeof k?k:parseFloat(k)}let Di=(()=>{class k{constructor(){this._validator=pe}ngOnChanges(I){if(this.inputName in I){const de=this.normalizeInput(I[this.inputName].currentValue);this._validator=this.enabled()?this.createValidator(de):pe,this._onChange&&this._onChange()}}validate(I){return this._validator(I)}registerOnValidatorChange(I){this._onChange=I}enabled(){return null!=this[this.inputName]}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275NgOnChangesFeature]}),k})();const Cr={provide:D,useExisting:(0,n.forwardRef)(()=>Li),multi:!0};let Li=(()=>{class k extends Di{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=I=>Ki(I),this.createValidator=I=>G(I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("max",de.enabled()?de.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([Cr]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const Er={provide:D,useExisting:(0,n.forwardRef)(()=>Si),multi:!0};let Si=(()=>{class k extends Di{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=I=>Ki(I),this.createValidator=I=>z(I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("min",de.enabled()?de.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([Er]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const Vi={provide:D,useExisting:(0,n.forwardRef)(()=>Pi),multi:!0},Gi={provide:D,useExisting:(0,n.forwardRef)(()=>ur),multi:!0};let Pi=(()=>{class k{constructor(){this._required=!1}get required(){return this._required}set required(I){this._required=null!=I&&!1!==I&&"false"!=`${I}`,this._onChange&&this._onChange()}validate(I){return this.required?X(I):null}registerOnValidatorChange(I){this._onChange=I}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("required",de.required?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([Vi])]}),k})(),ur=(()=>{class k extends Pi{validate(I){return this.required?Q(I):null}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("required",de.required?"":null)},features:[n.\u0275\u0275ProvidersFeature([Gi]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const cr={provide:D,useExisting:(0,n.forwardRef)(()=>di),multi:!0};let di=(()=>{class k{constructor(){this._enabled=!1}set email(I){this._enabled=""===I||!0===I||"true"===I,this._onChange&&this._onChange()}validate(I){return this._enabled?q(I):null}registerOnValidatorChange(I){this._onChange=I}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([cr])]}),k})();const dr={provide:D,useExisting:(0,n.forwardRef)(()=>qi),multi:!0};let qi=(()=>{class k extends Di{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=I=>Or(I),this.createValidator=I=>ue(I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("minlength",de.enabled()?de.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([dr]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const $i={provide:D,useExisting:(0,n.forwardRef)(()=>Xi),multi:!0};let Xi=(()=>{class k extends Di{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=I=>Or(I),this.createValidator=I=>me(I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("maxlength",de.enabled()?de.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([$i]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const yi={provide:D,useExisting:(0,n.forwardRef)(()=>rr),multi:!0};let rr=(()=>{class k{constructor(){this._validator=pe}ngOnChanges(I){"pattern"in I&&(this._createValidator(),this._onChange&&this._onChange())}validate(I){return this._validator(I)}registerOnValidatorChange(I){this._onChange=I}_createValidator(){this._validator=xe(this.pattern)}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("pattern",de.pattern?de.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([yi]),n.\u0275\u0275NgOnChangesFeature]}),k})(),Yi=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[[An]]}),k})(),Vr=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[Yi]}),k})(),Wn=(()=>{class k{static withConfig(I){return{ngModule:k,providers:[{provide:ci,useValue:I.warnOnNgModelWithFormControl}]}}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[Yi]}),k})(),hr=(()=>{class k{group(I,de=null){const Ze=this._reduceControls(I);let hn,wt=null,Wt=null;return null!=de&&(function(k){return void 0!==k.asyncValidators||void 0!==k.validators||void 0!==k.updateOn}(de)?(wt=null!=de.validators?de.validators:null,Wt=null!=de.asyncValidators?de.asyncValidators:null,hn=null!=de.updateOn?de.updateOn:void 0):(wt=null!=de.validator?de.validator:null,Wt=null!=de.asyncValidator?de.asyncValidator:null)),new Ln(Ze,{asyncValidators:Wt,updateOn:hn,validators:wt})}control(I,de,Ze){return new Jn(I,de,Ze)}array(I,de,Ze){const wt=I.map(Wt=>this._createControl(Wt));return new ri(wt,de,Ze)}_reduceControls(I){const de={};return Object.keys(I).forEach(Ze=>{de[Ze]=this._createControl(I[Ze])}),de}_createControl(I){return I instanceof Jn||I instanceof Ln||I instanceof ri?I:Array.isArray(I)?this.control(I[0],I.length>1?I[1]:null,I.length>2?I[2]:null):this.control(I)}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:Wn}),k})();const fe=new n.Version("13.1.1")},1079:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_AUTOCOMPLETE_DEFAULT_OPTIONS:()=>U,MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY:()=>ie,MAT_AUTOCOMPLETE_SCROLL_STRATEGY:()=>Te,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY:()=>Ke,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>tt,MAT_AUTOCOMPLETE_VALUE_ACCESSOR:()=>ot,MatAutocomplete:()=>Ce,MatAutocompleteModule:()=>bt,MatAutocompleteOrigin:()=>ct,MatAutocompleteSelectedEvent:()=>oe,MatAutocompleteTrigger:()=>Ie,_MatAutocompleteBase:()=>le,_MatAutocompleteOriginBase:()=>Qe,_MatAutocompleteTriggerBase:()=>Dt,getMatAutocompleteMissingPanelError:()=>pt});var n=o(5664),l=o(3191),u=o(5e3),c=o(508),r=o(2654),d=o(8929),m=o(8514),p=o(6787),y=o(1086),b=o(3753),h=o(925),g=o(9808),s=o(1314),C=o(9071),P=o(1159),w=o(7429),D=o(3075),T=o(7322),Y=o(2986),$=o(7545),z=o(2198),G=o(4850),X=o(2868),Q=o(943),q=o(226);const ue=["panel"];function me(Et,xt){if(1&Et&&(u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275projection(2),u.\u0275\u0275elementEnd()),2&Et){const dt=xt.id,Ne=u.\u0275\u0275nextContext();u.\u0275\u0275property("id",Ne.id)("ngClass",Ne._classList),u.\u0275\u0275attribute("aria-label",Ne.ariaLabel||null)("aria-labelledby",Ne._getPanelAriaLabelledby(dt))}}const xe=["*"];let pe=0;class oe{constructor(xt,dt){this.source=xt,this.option=dt}}const ae=(0,c.mixinDisableRipple)(class{}),U=new u.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:ie});function ie(){return{autoActiveFirstOption:!1}}let le=(()=>{class Et extends ae{constructor(dt,Ne,rt,ze){super(),this._changeDetectorRef=dt,this._elementRef=Ne,this._activeOptionChanges=r.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new u.EventEmitter,this.opened=new u.EventEmitter,this.closed=new u.EventEmitter,this.optionActivated=new u.EventEmitter,this._classList={},this.id="mat-autocomplete-"+pe++,this.inertGroups=(null==ze?void 0:ze.SAFARI)||!1,this._autoActiveFirstOption=!!rt.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(dt){this._autoActiveFirstOption=(0,l.Ig)(dt)}set classList(dt){this._classList=dt&&dt.length?(0,l.du)(dt).reduce((Ne,rt)=>(Ne[rt]=!0,Ne),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new n.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(dt=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[dt]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(dt){this.panel&&(this.panel.nativeElement.scrollTop=dt)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(dt){const Ne=new oe(this,dt);this.optionSelected.emit(Ne)}_getPanelAriaLabelledby(dt){return this.ariaLabel?null:this.ariaLabelledby?(dt?dt+" ":"")+this.ariaLabelledby:dt}_setVisibilityClasses(dt){dt[this._visibleClass]=this.showPanel,dt[this._hiddenClass]=!this.showPanel}}return Et.\u0275fac=function(dt){return new(dt||Et)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(U),u.\u0275\u0275directiveInject(h.t4))},Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et,viewQuery:function(dt,Ne){if(1&dt&&(u.\u0275\u0275viewQuery(u.TemplateRef,7),u.\u0275\u0275viewQuery(ue,5)),2&dt){let rt;u.\u0275\u0275queryRefresh(rt=u.\u0275\u0275loadQuery())&&(Ne.template=rt.first),u.\u0275\u0275queryRefresh(rt=u.\u0275\u0275loadQuery())&&(Ne.panel=rt.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[u.\u0275\u0275InheritDefinitionFeature]}),Et})(),Ce=(()=>{class Et extends le{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Et.\u0275fac=function(){let xt;return function(Ne){return(xt||(xt=u.\u0275\u0275getInheritedFactory(Et)))(Ne||Et)}}(),Et.\u0275cmp=u.\u0275\u0275defineComponent({type:Et,selectors:[["mat-autocomplete"]],contentQueries:function(dt,Ne,rt){if(1&dt&&(u.\u0275\u0275contentQuery(rt,c.MAT_OPTGROUP,5),u.\u0275\u0275contentQuery(rt,c.MatOption,5)),2&dt){let ze;u.\u0275\u0275queryRefresh(ze=u.\u0275\u0275loadQuery())&&(Ne.optionGroups=ze),u.\u0275\u0275queryRefresh(ze=u.\u0275\u0275loadQuery())&&(Ne.options=ze)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[u.\u0275\u0275ProvidersFeature([{provide:c.MAT_OPTION_PARENT_COMPONENT,useExisting:Et}]),u.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:xe,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(dt,Ne){1&dt&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275template(0,me,3,4,"ng-template"))},directives:[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}\n"],encapsulation:2,changeDetection:0}),Et})();const Te=new u.InjectionToken("mat-autocomplete-scroll-strategy");function Ke(Et){return()=>Et.scrollStrategies.reposition()}const tt={provide:Te,deps:[s.aV],useFactory:Ke},ot={provide:D.NG_VALUE_ACCESSOR,useExisting:(0,u.forwardRef)(()=>Ie),multi:!0};function pt(){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.")}let Dt=(()=>{class Et{constructor(dt,Ne,rt,ze,yt,mt,_e,Z,j,_,x){this._element=dt,this._overlay=Ne,this._viewContainerRef=rt,this._zone=ze,this._changeDetectorRef=yt,this._dir=_e,this._formField=Z,this._document=j,this._viewportRuler=_,this._defaults=x,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=r.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new d.xQ,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,m.P)(()=>this.autocomplete&&this.autocomplete.options?(0,p.T)(...this.autocomplete.options.map(N=>N.onSelectionChange)):this._zone.onStable.pipe((0,Y.q)(1),(0,$.w)(()=>this.optionSelections))),this._scrollStrategy=mt}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(dt){this._autocompleteDisabled=(0,l.Ig)(dt)}ngAfterViewInit(){const dt=this._getWindow();void 0!==dt&&this._zone.runOutsideAngular(()=>dt.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(dt){dt.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const dt=this._getWindow();void 0!==dt&&dt.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,p.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,z.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,z.h)(()=>this._overlayAttached)):(0,y.of)()).pipe((0,G.U)(dt=>dt instanceof c.MatOptionSelectionChange?dt:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,p.T)((0,b.R)(this._document,"click"),(0,b.R)(this._document,"auxclick"),(0,b.R)(this._document,"touchend")).pipe((0,z.h)(dt=>{const Ne=(0,h.sA)(dt),rt=this._formField?this._formField._elementRef.nativeElement:null,ze=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&Ne!==this._element.nativeElement&&(!rt||!rt.contains(Ne))&&(!ze||!ze.contains(Ne))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(Ne)}))}writeValue(dt){Promise.resolve(null).then(()=>this._setTriggerValue(dt))}registerOnChange(dt){this._onChange=dt}registerOnTouched(dt){this._onTouched=dt}setDisabledState(dt){this._element.nativeElement.disabled=dt}_handleKeydown(dt){const Ne=dt.keyCode;if(Ne===P.hY&&!(0,P.Vb)(dt)&&dt.preventDefault(),this.activeOption&&Ne===P.K5&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),dt.preventDefault();else if(this.autocomplete){const rt=this.autocomplete._keyManager.activeItem,ze=Ne===P.LH||Ne===P.JH;this.panelOpen||Ne===P.Mf?this.autocomplete._keyManager.onKeydown(dt):ze&&this._canOpen()&&this.openPanel(),(ze||this.autocomplete._keyManager.activeItem!==rt)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(dt){let Ne=dt.target,rt=Ne.value;"number"===Ne.type&&(rt=""==rt?null:parseFloat(rt)),this._previousValue!==rt&&(this._previousValue=rt,this._onChange(rt),this._canOpen()&&this._document.activeElement===dt.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(dt=!1){this._formField&&"auto"===this._formField.floatLabel&&(dt?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const dt=this._zone.onStable.pipe((0,Y.q)(1)),Ne=this.autocomplete.options.changes.pipe((0,X.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Q.g)(0));return(0,p.T)(dt,Ne).pipe((0,$.w)(()=>{const rt=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),rt!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,Y.q)(1)).subscribe(rt=>this._setValueAndClose(rt))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(dt){const Ne=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(dt):dt,rt=null!=Ne?Ne:"";this._formField?this._formField._control.value=rt:this._element.nativeElement.value=rt,this._previousValue=rt}_setValueAndClose(dt){dt&&dt.source&&(this._clearPreviousSelectedOption(dt.source),this._setTriggerValue(dt.source.value),this._onChange(dt.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(dt.source)),this.closePanel()}_clearPreviousSelectedOption(dt){this.autocomplete.options.forEach(Ne=>{Ne!==dt&&Ne.selected&&Ne.deselect()})}_attachOverlay(){var dt;let Ne=this._overlayRef;Ne?(this._positionStrategy.setOrigin(this._getConnectedElement()),Ne.updateSize({width:this._getPanelWidth()})):(this._portal=new w.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(dt=this._formField)||void 0===dt?void 0:dt.getLabelId()}),Ne=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Ne,Ne.keydownEvents().subscribe(ze=>{(ze.keyCode===P.hY&&!(0,P.Vb)(ze)||ze.keyCode===P.LH&&(0,P.Vb)(ze,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),ze.stopPropagation(),ze.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Ne&&Ne.updateSize({width:this._getPanelWidth()})})),Ne&&!Ne.hasAttached()&&(Ne.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const rt=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&rt!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var dt;return new s.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(dt=this._defaults)||void 0===dt?void 0:dt.overlayPanelClass})}_getOverlayPosition(){const dt=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(dt),this._positionStrategy=dt,dt}_setStrategyPositions(dt){const Ne=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],rt=this._aboveClass,ze=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:rt},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:rt}];let yt;yt="above"===this.position?ze:"below"===this.position?Ne:[...Ne,...ze],dt.withPositions(yt)}_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 dt=this.autocomplete;dt.autoActiveFirstOption?dt._keyManager.setFirstItemActive():dt._keyManager.setActiveItem(-1)}_canOpen(){const dt=this._element.nativeElement;return!dt.readOnly&&!dt.disabled&&!this._autocompleteDisabled}_getWindow(){var dt;return(null===(dt=this._document)||void 0===dt?void 0:dt.defaultView)||window}_scrollToOption(dt){const Ne=this.autocomplete,rt=(0,c._countGroupLabelsBeforeOption)(dt,Ne.options,Ne.optionGroups);if(0===dt&&1===rt)Ne._setScrollTop(0);else if(Ne.panel){const ze=Ne.options.toArray()[dt];if(ze){const yt=ze._getHostElement(),mt=(0,c._getOptionScrollPosition)(yt.offsetTop,yt.offsetHeight,Ne._getScrollTop(),Ne.panel.nativeElement.offsetHeight);Ne._setScrollTop(mt)}}}}return Et.\u0275fac=function(dt){return new(dt||Et)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(s.aV),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(Te),u.\u0275\u0275directiveInject(q.Is,8),u.\u0275\u0275directiveInject(T.MAT_FORM_FIELD,9),u.\u0275\u0275directiveInject(g.DOCUMENT,8),u.\u0275\u0275directiveInject(C.rL),u.\u0275\u0275directiveInject(U,8))},Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[u.\u0275\u0275NgOnChangesFeature]}),Et})(),Ie=(()=>{class Et extends Dt{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Et.\u0275fac=function(){let xt;return function(Ne){return(xt||(xt=u.\u0275\u0275getInheritedFactory(Et)))(Ne||Et)}}(),Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(dt,Ne){1&dt&&u.\u0275\u0275listener("focusin",function(){return Ne._handleFocus()})("blur",function(){return Ne._onTouched()})("input",function(ze){return Ne._handleInput(ze)})("keydown",function(ze){return Ne._handleKeydown(ze)}),2&dt&&u.\u0275\u0275attribute("autocomplete",Ne.autocompleteAttribute)("role",Ne.autocompleteDisabled?null:"combobox")("aria-autocomplete",Ne.autocompleteDisabled?null:"list")("aria-activedescendant",Ne.panelOpen&&Ne.activeOption?Ne.activeOption.id:null)("aria-expanded",Ne.autocompleteDisabled?null:Ne.panelOpen.toString())("aria-owns",Ne.autocompleteDisabled||!Ne.panelOpen||null==Ne.autocomplete?null:Ne.autocomplete.id)("aria-haspopup",!Ne.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[u.\u0275\u0275ProvidersFeature([ot]),u.\u0275\u0275InheritDefinitionFeature]}),Et})(),Qe=(()=>{class Et{constructor(dt){this.elementRef=dt}}return Et.\u0275fac=function(dt){return new(dt||Et)(u.\u0275\u0275directiveInject(u.ElementRef))},Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et}),Et})(),ct=(()=>{class Et extends Qe{}return Et.\u0275fac=function(){let xt;return function(Ne){return(xt||(xt=u.\u0275\u0275getInheritedFactory(Et)))(Ne||Et)}}(),Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[u.\u0275\u0275InheritDefinitionFeature]}),Et})(),bt=(()=>{class Et{}return Et.\u0275fac=function(dt){return new(dt||Et)},Et.\u0275mod=u.\u0275\u0275defineNgModule({type:Et}),Et.\u0275inj=u.\u0275\u0275defineInjector({providers:[tt],imports:[[s.U8,c.MatOptionModule,c.MatCommonModule,g.CommonModule],C.ZD,c.MatOptionModule,c.MatCommonModule]}),Et})()},7423:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatAnchor:()=>g,MatButton:()=>h,MatButtonModule:()=>s});var n=o(5e3),l=o(508),u=o(6360),c=o(5664);const r=["mat-button",""],d=["*"],y=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],b=(0,l.mixinColor)((0,l.mixinDisabled)((0,l.mixinDisableRipple)(class{constructor(C){this._elementRef=C}})));let h=(()=>{class C extends b{constructor(w,D,T){super(w),this._focusMonitor=D,this._animationMode=T,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const Y of y)this._hasHostAttributes(Y)&&this._getHostElement().classList.add(Y);w.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(w,D){w?this._focusMonitor.focusVia(this._getHostElement(),w,D):this._getHostElement().focus(D)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...w){return w.some(D=>this._getHostElement().hasAttribute(D))}}return C.\u0275fac=function(w){return new(w||C)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(u.ANIMATION_MODULE_TYPE,8))},C.\u0275cmp=n.\u0275\u0275defineComponent({type:C,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(w,D){if(1&w&&n.\u0275\u0275viewQuery(l.MatRipple,5),2&w){let T;n.\u0275\u0275queryRefresh(T=n.\u0275\u0275loadQuery())&&(D.ripple=T.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(w,D){2&w&&(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:r,ngContentSelectors:d,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(w,D){1&w&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1),n.\u0275\u0275element(3,"span",2)),2&w&&(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()))},directives:[l.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-raised-button{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-fab{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-mini-fab{transition:none;animation:none}.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}.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}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),C})(),g=(()=>{class C extends h{constructor(w,D,T){super(D,w,T)}_haltDisabledEvents(w){this.disabled&&(w.preventDefault(),w.stopImmediatePropagation())}}return C.\u0275fac=function(w){return new(w||C)(n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u.ANIMATION_MODULE_TYPE,8))},C.\u0275cmp=n.\u0275\u0275defineComponent({type:C,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(w,D){1&w&&n.\u0275\u0275listener("click",function(Y){return D._haltDisabledEvents(Y)}),2&w&&(n.\u0275\u0275attribute("tabindex",D.disabled?-1:D.tabIndex||0)("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:r,ngContentSelectors:d,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(w,D){1&w&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1),n.\u0275\u0275element(3,"span",2)),2&w&&(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()))},directives:[l.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-raised-button{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-fab{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-mini-fab{transition:none;animation:none}.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}.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}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),C})(),s=(()=>{class C{}return C.\u0275fac=function(w){return new(w||C)},C.\u0275mod=n.\u0275\u0275defineNgModule({type:C}),C.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.MatRippleModule,l.MatCommonModule],l.MatCommonModule]}),C})()},9224:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatCard:()=>z,MatCardActions:()=>s,MatCardAvatar:()=>$,MatCardContent:()=>b,MatCardFooter:()=>C,MatCardHeader:()=>G,MatCardImage:()=>P,MatCardLgImage:()=>T,MatCardMdImage:()=>D,MatCardModule:()=>Q,MatCardSmImage:()=>w,MatCardSubtitle:()=>g,MatCardTitle:()=>h,MatCardTitleGroup:()=>X,MatCardXlImage:()=>Y});var n=o(5e3),l=o(6360),u=o(508);const c=["*",[["mat-card-footer"]]],r=["*","mat-card-footer"],d=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],m=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],p=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["img"]],"*"],y=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","img","*"];let b=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),q})(),h=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),q})(),g=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),q})(),s=(()=>{class q{constructor(){this.align="start"}}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(me,xe){2&me&&n.\u0275\u0275classProp("mat-card-actions-align-end","end"===xe.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),q})(),C=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-card-footer"]}),q})(),P=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),q})(),w=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-card-sm-image"]}),q})(),D=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-card-md-image"]}),q})(),T=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-card-lg-image"]}),q})(),Y=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-card-xl-image"]}),q})(),$=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),q})(),z=(()=>{class q{constructor(me){this._animationMode=me}}return q.\u0275fac=function(me){return new(me||q)(n.\u0275\u0275directiveInject(l.ANIMATION_MODULE_TYPE,8))},q.\u0275cmp=n.\u0275\u0275defineComponent({type:q,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(me,xe){2&me&&n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===xe._animationMode)},exportAs:["matCard"],ngContentSelectors:r,decls:2,vars:0,template:function(me,xe){1&me&&(n.\u0275\u0275projectionDef(c),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-animation-noopable.mat-card{transition:none;animation:none}.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}.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}\n"],encapsulation:2,changeDetection:0}),q})(),G=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275cmp=n.\u0275\u0275defineComponent({type:q,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:m,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(me,xe){1&me&&(n.\u0275\u0275projectionDef(d),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}),q})(),X=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275cmp=n.\u0275\u0275defineComponent({type:q,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-card-title-group"],ngContentSelectors:y,decls:4,vars:0,template:function(me,xe){1&me&&(n.\u0275\u0275projectionDef(p),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}),q})(),Q=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275mod=n.\u0275\u0275defineNgModule({type:q}),q.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.MatCommonModule],u.MatCommonModule]}),q})()},7446:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR:()=>P,MAT_CHECKBOX_DEFAULT_OPTIONS:()=>h,MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY:()=>g,MAT_CHECKBOX_REQUIRED_VALIDATOR:()=>Y,MatCheckbox:()=>T,MatCheckboxChange:()=>w,MatCheckboxModule:()=>G,MatCheckboxRequiredValidator:()=>$,_MatCheckboxRequiredValidatorModule:()=>z});var n=o(3191),l=o(5e3),u=o(3075),c=o(508),r=o(6360),d=o(5664),m=o(7144);const p=["input"],y=function(X){return{enterDuration:X}},b=["*"],h=new l.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:g});function g(){return{color:"accent",clickAction:"check-indeterminate"}}let s=0;const C=g(),P={provide:u.NG_VALUE_ACCESSOR,useExisting:(0,l.forwardRef)(()=>T),multi:!0};class w{}const D=(0,c.mixinTabIndex)((0,c.mixinColor)((0,c.mixinDisableRipple)((0,c.mixinDisabled)(class{constructor(X){this._elementRef=X}}))));let T=(()=>{class X extends D{constructor(q,ue,me,xe,pe,oe,ae){super(q),this._changeDetectorRef=ue,this._focusMonitor=me,this._ngZone=xe,this._animationMode=oe,this._options=ae,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++s,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new l.EventEmitter,this.indeterminateChange=new l.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||C,this.color=this.defaultColor=this._options.color||C.color,this.tabIndex=parseInt(pe)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(q){this._required=(0,n.Ig)(q)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(q=>{q||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(q){q!=this.checked&&(this._checked=q,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(q){const ue=(0,n.Ig)(q);ue!==this.disabled&&(this._disabled=ue,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(q){const ue=q!=this._indeterminate;this._indeterminate=(0,n.Ig)(q),ue&&(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(q){this.checked=!!q}registerOnChange(q){this._controlValueAccessorChangeFn=q}registerOnTouched(q){this._onTouched=q}setDisabledState(q){this.disabled=q}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(q){let ue=this._currentCheckState,me=this._elementRef.nativeElement;if(ue!==q&&(this._currentAnimationClass.length>0&&me.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ue,q),this._currentCheckState=q,this._currentAnimationClass.length>0)){me.classList.add(this._currentAnimationClass);const xe=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{me.classList.remove(xe)},1e3)})}}_emitChangeEvent(){const q=new w;q.source=this,q.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(q),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(q){var ue;const me=null===(ue=this._options)||void 0===ue?void 0:ue.clickAction;q.stopPropagation(),this.disabled||"noop"===me?!this.disabled&&"noop"===me&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==me&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(q,ue){q?this._focusMonitor.focusVia(this._inputElement,q,ue):this._inputElement.nativeElement.focus(ue)}_onInteractionEvent(q){q.stopPropagation()}_getAnimationClassForCheckStateTransition(q,ue){if("NoopAnimations"===this._animationMode)return"";let me="";switch(q){case 0:if(1===ue)me="unchecked-checked";else{if(3!=ue)return"";me="unchecked-indeterminate"}break;case 2:me=1===ue?"unchecked-checked":"unchecked-indeterminate";break;case 1:me=2===ue?"checked-unchecked":"checked-indeterminate";break;case 3:me=1===ue?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${me}`}_syncIndeterminate(q){const ue=this._inputElement;ue&&(ue.nativeElement.indeterminate=q)}}return X.\u0275fac=function(q){return new(q||X)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(d.tE),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275injectAttribute("tabindex"),l.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8),l.\u0275\u0275directiveInject(h,8))},X.\u0275cmp=l.\u0275\u0275defineComponent({type:X,selectors:[["mat-checkbox"]],viewQuery:function(q,ue){if(1&q&&(l.\u0275\u0275viewQuery(p,5),l.\u0275\u0275viewQuery(c.MatRipple,5)),2&q){let me;l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue._inputElement=me.first),l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue.ripple=me.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(q,ue){2&q&&(l.\u0275\u0275hostProperty("id",ue.id),l.\u0275\u0275attribute("tabindex",null),l.\u0275\u0275classProp("mat-checkbox-indeterminate",ue.indeterminate)("mat-checkbox-checked",ue.checked)("mat-checkbox-disabled",ue.disabled)("mat-checkbox-label-before","before"==ue.labelPosition)("_mat-animation-noopable","NoopAnimations"===ue._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",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"},exportAs:["matCheckbox"],features:[l.\u0275\u0275ProvidersFeature([P]),l.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:b,decls:17,vars:21,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",0,"xml","space","preserve","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(q,ue){if(1&q&&(l.\u0275\u0275projectionDef(),l.\u0275\u0275elementStart(0,"label",0,1),l.\u0275\u0275elementStart(2,"span",2),l.\u0275\u0275elementStart(3,"input",3,4),l.\u0275\u0275listener("change",function(xe){return ue._onInteractionEvent(xe)})("click",function(xe){return ue._onInputClick(xe)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(5,"span",5),l.\u0275\u0275element(6,"span",6),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(7,"span",7),l.\u0275\u0275elementStart(8,"span",8),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(9,"svg",9),l.\u0275\u0275element(10,"path",10),l.\u0275\u0275elementEnd(),l.\u0275\u0275namespaceHTML(),l.\u0275\u0275element(11,"span",11),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(12,"span",12,13),l.\u0275\u0275listener("cdkObserveContent",function(){return ue._onLabelTextChange()}),l.\u0275\u0275elementStart(14,"span",14),l.\u0275\u0275text(15,"\xa0"),l.\u0275\u0275elementEnd(),l.\u0275\u0275projection(16),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&q){const me=l.\u0275\u0275reference(1),xe=l.\u0275\u0275reference(13);l.\u0275\u0275attribute("for",ue.inputId),l.\u0275\u0275advance(2),l.\u0275\u0275classProp("mat-checkbox-inner-container-no-side-margin",!xe.textContent||!xe.textContent.trim()),l.\u0275\u0275advance(1),l.\u0275\u0275property("id",ue.inputId)("required",ue.required)("checked",ue.checked)("disabled",ue.disabled)("tabIndex",ue.tabIndex),l.\u0275\u0275attribute("value",ue.value)("name",ue.name)("aria-label",ue.ariaLabel||null)("aria-labelledby",ue.ariaLabelledby)("aria-checked",ue._getAriaChecked())("aria-describedby",ue.ariaDescribedby),l.\u0275\u0275advance(2),l.\u0275\u0275property("matRippleTrigger",me)("matRippleDisabled",ue._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",l.\u0275\u0275pureFunction1(19,y,"NoopAnimations"===ue._animationMode?0:150))}},directives:[c.MatRipple,m.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:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.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}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-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;-moz-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:transparent;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:transparent}.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%}\n"],encapsulation:2,changeDetection:0}),X})();const Y={provide:u.NG_VALIDATORS,useExisting:(0,l.forwardRef)(()=>$),multi:!0};let $=(()=>{class X extends u.CheckboxRequiredValidator{}return X.\u0275fac=function(){let Q;return function(ue){return(Q||(Q=l.\u0275\u0275getInheritedFactory(X)))(ue||X)}}(),X.\u0275dir=l.\u0275\u0275defineDirective({type:X,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[l.\u0275\u0275ProvidersFeature([Y]),l.\u0275\u0275InheritDefinitionFeature]}),X})(),z=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=l.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=l.\u0275\u0275defineInjector({}),X})(),G=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=l.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=l.\u0275\u0275defineInjector({imports:[[c.MatRippleModule,c.MatCommonModule,m.Q8,z],c.MatCommonModule,z]}),X})()},508:(he,A,o)=>{"use strict";o.r(A),o.d(A,{AnimationCurves:()=>Y,AnimationDurations:()=>$,DateAdapter:()=>Te,ErrorStateMatcher:()=>bt,MATERIAL_SANITY_CHECKS:()=>X,MAT_DATE_FORMATS:()=>Ke,MAT_DATE_LOCALE:()=>le,MAT_DATE_LOCALE_FACTORY:()=>Ce,MAT_NATIVE_DATE_FORMATS:()=>Dt,MAT_OPTGROUP:()=>gt,MAT_OPTION_PARENT_COMPONENT:()=>Ae,MAT_RIPPLE_GLOBAL_OPTIONS:()=>N,MatCommonModule:()=>Q,MatLine:()=>Et,MatLineModule:()=>Ne,MatNativeDateModule:()=>Qe,MatOptgroup:()=>Lt,MatOption:()=>Ge,MatOptionModule:()=>Nt,MatOptionSelectionChange:()=>_t,MatPseudoCheckbox:()=>Oe,MatPseudoCheckboxModule:()=>ve,MatRipple:()=>ce,MatRippleModule:()=>Ue,NativeDateAdapter:()=>pt,NativeDateModule:()=>Ie,RippleRef:()=>rt,RippleRenderer:()=>j,ShowOnDirtyErrorStateMatcher:()=>ct,VERSION:()=>T,_MatOptgroupBase:()=>Ft,_MatOptionBase:()=>Mt,_countGroupLabelsBeforeOption:()=>lt,_getOptionScrollPosition:()=>Ot,defaultRippleAnimationConfig:()=>ze,mixinColor:()=>pe,mixinDisableRipple:()=>oe,mixinDisabled:()=>xe,mixinErrorState:()=>U,mixinInitialized:()=>ie,mixinTabIndex:()=>ae,setLines:()=>xt});var n=o(5e3),l=o(226),c=o(9808),r=o(925),d=o(5664),m=o(3191),p=o(8929),y=o(6498),b=o(1059),h=o(6360),g=o(1159);const s=["*",[["mat-option"],["ng-container"]]],C=["*","mat-option, ng-container"];function P(Pe,Ee){if(1&Pe&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",4),2&Pe){const B=n.\u0275\u0275nextContext();n.\u0275\u0275property("state",B.selected?"checked":"unchecked")("disabled",B.disabled)}}function w(Pe,Ee){if(1&Pe&&(n.\u0275\u0275elementStart(0,"span",5),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Pe){const B=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",B.group.label,")")}}const D=["*"],T=new n.Version("13.1.1");let Y=(()=>{class Pe{}return Pe.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",Pe.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",Pe.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",Pe.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",Pe})(),$=(()=>{class Pe{}return Pe.COMPLEX="375ms",Pe.ENTERING="225ms",Pe.EXITING="195ms",Pe})();const X=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Q=(()=>{class Pe{constructor(B,V,be){this._sanityChecks=V,this._document=be,this._hasDoneGlobalChecks=!1,B._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(B){return!(0,r.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[B])}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275inject(d.qm),n.\u0275\u0275inject(X,8),n.\u0275\u0275inject(c.DOCUMENT))},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.vT],l.vT]}),Pe})();function xe(Pe){return class extends Pe{constructor(...Ee){super(...Ee),this._disabled=!1}get disabled(){return this._disabled}set disabled(Ee){this._disabled=(0,m.Ig)(Ee)}}}function pe(Pe,Ee){return class extends Pe{constructor(...B){super(...B),this.defaultColor=Ee,this.color=Ee}get color(){return this._color}set color(B){const V=B||this.defaultColor;V!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),V&&this._elementRef.nativeElement.classList.add(`mat-${V}`),this._color=V)}}}function oe(Pe){return class extends Pe{constructor(...Ee){super(...Ee),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ee){this._disableRipple=(0,m.Ig)(Ee)}}}function ae(Pe,Ee=0){return class extends Pe{constructor(...B){super(...B),this._tabIndex=Ee,this.defaultTabIndex=Ee}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(B){this._tabIndex=null!=B?(0,m.su)(B):this.defaultTabIndex}}}function U(Pe){return class extends Pe{constructor(...Ee){super(...Ee),this.stateChanges=new p.xQ,this.errorState=!1}updateErrorState(){const Ee=this.errorState,je=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);je!==Ee&&(this.errorState=je,this.stateChanges.next())}}}function ie(Pe){return class extends Pe{constructor(...Ee){super(...Ee),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new y.y(B=>{this._isInitialized?this._notifySubscriber(B):this._pendingSubscribers.push(B)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Ee){Ee.next(),Ee.complete()}}}const le=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:Ce});function Ce(){return(0,n.inject)(n.LOCALE_ID)}class Te{constructor(){this._localeChanges=new p.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(Ee){return this.isDateInstance(Ee)&&this.isValid(Ee)?Ee:null}deserialize(Ee){return null==Ee||this.isDateInstance(Ee)&&this.isValid(Ee)?Ee:this.invalid()}setLocale(Ee){this.locale=Ee,this._localeChanges.next()}compareDate(Ee,B){return this.getYear(Ee)-this.getYear(B)||this.getMonth(Ee)-this.getMonth(B)||this.getDate(Ee)-this.getDate(B)}sameDate(Ee,B){if(Ee&&B){let V=this.isValid(Ee),be=this.isValid(B);return V&&be?!this.compareDate(Ee,B):V==be}return Ee==B}clampDate(Ee,B,V){return B&&this.compareDate(Ee,B)<0?B:V&&this.compareDate(Ee,V)>0?V:Ee}}const Ke=new n.InjectionToken("mat-date-formats"),tt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ot(Pe,Ee){const B=Array(Pe);for(let V=0;V{class Pe extends Te{constructor(B,V){super(),this.useUtcForDisplay=!1,super.setLocale(B)}getYear(B){return B.getFullYear()}getMonth(B){return B.getMonth()}getDate(B){return B.getDate()}getDayOfWeek(B){return B.getDay()}getMonthNames(B){const V=new Intl.DateTimeFormat(this.locale,{month:B,timeZone:"utc"});return ot(12,be=>this._format(V,new Date(2017,be,1)))}getDateNames(){const B=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ot(31,V=>this._format(B,new Date(2017,0,V+1)))}getDayOfWeekNames(B){const V=new Intl.DateTimeFormat(this.locale,{weekday:B,timeZone:"utc"});return ot(7,be=>this._format(V,new Date(2017,0,be+1)))}getYearName(B){const V=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(V,B)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(B){return this.getDate(this._createDateWithOverflow(this.getYear(B),this.getMonth(B)+1,0))}clone(B){return new Date(B.getTime())}createDate(B,V,be){let je=this._createDateWithOverflow(B,V,be);return je.getMonth(),je}today(){return new Date}parse(B){return"number"==typeof B?new Date(B):B?new Date(Date.parse(B)):null}format(B,V){if(!this.isValid(B))throw Error("NativeDateAdapter: Cannot format invalid date.");const be=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},V),{timeZone:"utc"}));return this._format(be,B)}addCalendarYears(B,V){return this.addCalendarMonths(B,12*V)}addCalendarMonths(B,V){let be=this._createDateWithOverflow(this.getYear(B),this.getMonth(B)+V,this.getDate(B));return this.getMonth(be)!=((this.getMonth(B)+V)%12+12)%12&&(be=this._createDateWithOverflow(this.getYear(be),this.getMonth(be),0)),be}addCalendarDays(B,V){return this._createDateWithOverflow(this.getYear(B),this.getMonth(B),this.getDate(B)+V)}toIso8601(B){return[B.getUTCFullYear(),this._2digit(B.getUTCMonth()+1),this._2digit(B.getUTCDate())].join("-")}deserialize(B){if("string"==typeof B){if(!B)return null;if(tt.test(B)){let V=new Date(B);if(this.isValid(V))return V}}return super.deserialize(B)}isDateInstance(B){return B instanceof Date}isValid(B){return!isNaN(B.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(B,V,be){const je=new Date;return je.setFullYear(B,V,be),je.setHours(0,0,0,0),je}_2digit(B){return("00"+B).slice(-2)}_format(B,V){const be=new Date;return be.setUTCFullYear(V.getFullYear(),V.getMonth(),V.getDate()),be.setUTCHours(V.getHours(),V.getMinutes(),V.getSeconds(),V.getMilliseconds()),B.format(be)}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275inject(le,8),n.\u0275\u0275inject(r.t4))},Pe.\u0275prov=n.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();const Dt={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 Ie=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:Te,useClass:pt}],imports:[[r.ud]]}),Pe})(),Qe=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:Ke,useValue:Dt}],imports:[[Ie]]}),Pe})(),ct=(()=>{class Pe{isErrorState(B,V){return!!(B&&B.invalid&&(B.dirty||V&&V.submitted))}}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275prov=n.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})(),bt=(()=>{class Pe{isErrorState(B,V){return!!(B&&B.invalid&&(B.touched||V&&V.submitted))}}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275prov=n.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})(),Et=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275dir=n.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Pe})();function xt(Pe,Ee,B="mat"){Pe.changes.pipe((0,b.O)(Pe)).subscribe(({length:V})=>{dt(Ee,`${B}-2-line`,!1),dt(Ee,`${B}-3-line`,!1),dt(Ee,`${B}-multi-line`,!1),2===V||3===V?dt(Ee,`${B}-${V}-line`,!0):V>3&&dt(Ee,`${B}-multi-line`,!0)})}function dt(Pe,Ee,B){Pe.nativeElement.classList.toggle(Ee,B)}let Ne=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Q],Q]}),Pe})();class rt{constructor(Ee,B,V){this._renderer=Ee,this.element=B,this.config=V,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ze={enterDuration:225,exitDuration:150},mt=(0,r.i$)({passive:!0}),_e=["mousedown","touchstart"],Z=["mouseup","mouseleave","touchend","touchcancel"];class j{constructor(Ee,B,V,be){this._target=Ee,this._ngZone=B,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,be.isBrowser&&(this._containerElement=(0,m.fI)(V))}fadeInRipple(Ee,B,V={}){const be=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),je=Object.assign(Object.assign({},ze),V.animation);V.centered&&(Ee=be.left+be.width/2,B=be.top+be.height/2);const Ct=V.radius||function(Pe,Ee,B){const V=Math.max(Math.abs(Pe-B.left),Math.abs(Pe-B.right)),be=Math.max(Math.abs(Ee-B.top),Math.abs(Ee-B.bottom));return Math.sqrt(V*V+be*be)}(Ee,B,be),Ht=Ee-be.left,$t=B-be.top,vn=je.enterDuration,it=document.createElement("div");it.classList.add("mat-ripple-element"),it.style.left=Ht-Ct+"px",it.style.top=$t-Ct+"px",it.style.height=2*Ct+"px",it.style.width=2*Ct+"px",null!=V.color&&(it.style.backgroundColor=V.color),it.style.transitionDuration=`${vn}ms`,this._containerElement.appendChild(it),window.getComputedStyle(it).getPropertyValue("opacity"),it.style.transform="scale(1)";const st=new rt(this,it,V);return st.state=0,this._activeRipples.add(st),V.persistent||(this._mostRecentTransientRipple=st),this._runTimeoutOutsideZone(()=>{const Ve=st===this._mostRecentTransientRipple;st.state=1,!V.persistent&&(!Ve||!this._isPointerDown)&&st.fadeOut()},vn),st}fadeOutRipple(Ee){const B=this._activeRipples.delete(Ee);if(Ee===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!B)return;const V=Ee.element,be=Object.assign(Object.assign({},ze),Ee.config.animation);V.style.transitionDuration=`${be.exitDuration}ms`,V.style.opacity="0",Ee.state=2,this._runTimeoutOutsideZone(()=>{Ee.state=3,V.remove()},be.exitDuration)}fadeOutAll(){this._activeRipples.forEach(Ee=>Ee.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(Ee=>{Ee.config.persistent||Ee.fadeOut()})}setupTriggerEvents(Ee){const B=(0,m.fI)(Ee);!B||B===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=B,this._registerEvents(_e))}handleEvent(Ee){"mousedown"===Ee.type?this._onMousedown(Ee):"touchstart"===Ee.type?this._onTouchStart(Ee):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Z),this._pointerUpEventsRegistered=!0)}_onMousedown(Ee){const B=(0,d.X6)(Ee),V=this._lastTouchStartEvent&&Date.now(){!Ee.config.persistent&&(1===Ee.state||Ee.config.terminateOnPointerUp&&0===Ee.state)&&Ee.fadeOut()}))}_runTimeoutOutsideZone(Ee,B=0){this._ngZone.runOutsideAngular(()=>setTimeout(Ee,B))}_registerEvents(Ee){this._ngZone.runOutsideAngular(()=>{Ee.forEach(B=>{this._triggerElement.addEventListener(B,this,mt)})})}_removeTriggerEvents(){this._triggerElement&&(_e.forEach(Ee=>{this._triggerElement.removeEventListener(Ee,this,mt)}),this._pointerUpEventsRegistered&&Z.forEach(Ee=>{this._triggerElement.removeEventListener(Ee,this,mt)}))}}const N=new n.InjectionToken("mat-ripple-global-options");let ce=(()=>{class Pe{constructor(B,V,be,je,Ct){this._elementRef=B,this._animationMode=Ct,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=je||{},this._rippleRenderer=new j(this,V,B,be)}get disabled(){return this._disabled}set disabled(B){B&&this.fadeOutAllNonPersistent(),this._disabled=B,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(B){this._trigger=B,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},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(B,V=0,be){return"number"==typeof B?this._rippleRenderer.fadeInRipple(B,V,Object.assign(Object.assign({},this.rippleConfig),be)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),B))}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(N,8),n.\u0275\u0275directiveInject(h.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=n.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(B,V){2&B&&n.\u0275\u0275classProp("mat-ripple-unbounded",V.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"]}),Pe})(),Ue=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Q,r.ud],Q]}),Pe})(),Oe=(()=>{class Pe{constructor(B){this._animationMode=B,this.state="unchecked",this.disabled=!1}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275directiveInject(h.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=n.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(B,V){2&B&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===V.state)("mat-pseudo-checkbox-checked","checked"===V.state)("mat-pseudo-checkbox-disabled",V.disabled)("_mat-animation-noopable","NoopAnimations"===V._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(B,V){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;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-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),Pe})(),ve=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Q]]}),Pe})();const Ae=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),nt=xe(class{});let Pt=0,Ft=(()=>{class Pe extends nt{constructor(B){var V;super(),this._labelId="mat-optgroup-label-"+Pt++,this._inert=null!==(V=null==B?void 0:B.inertGroups)&&void 0!==V&&V}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275directiveInject(Ae,8))},Pe.\u0275dir=n.\u0275\u0275defineDirective({type:Pe,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),Pe})();const gt=new n.InjectionToken("MatOptgroup");let Lt=(()=>{class Pe extends Ft{}return Pe.\u0275fac=function(){let Ee;return function(V){return(Ee||(Ee=n.\u0275\u0275getInheritedFactory(Pe)))(V||Pe)}}(),Pe.\u0275cmp=n.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(B,V){2&B&&(n.\u0275\u0275attribute("role",V._inert?null:"group")("aria-disabled",V._inert?null:V.disabled.toString())("aria-labelledby",V._inert?null:V._labelId),n.\u0275\u0275classProp("mat-optgroup-disabled",V.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:gt,useExisting:Pe}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:C,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(B,V){1&B&&(n.\u0275\u0275projectionDef(s),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275text(1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,1)),2&B&&(n.\u0275\u0275property("id",V._labelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("",V.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;-moz-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}\n"],encapsulation:2,changeDetection:0}),Pe})(),$e=0;class _t{constructor(Ee,B=!1){this.source=Ee,this.isUserInput=B}}let Mt=(()=>{class Pe{constructor(B,V,be,je){this._element=B,this._changeDetectorRef=V,this._parent=be,this.group=je,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+$e++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new p.xQ}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(B){this._disabled=(0,m.Ig)(B)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(B,V){const be=this._getHostElement();"function"==typeof be.focus&&be.focus(V)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(B){(B.keyCode===g.K5||B.keyCode===g.L_)&&!(0,g.Vb)(B)&&(this._selectViaInteraction(),B.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const B=this.viewValue;B!==this._mostRecentViewValue&&(this._mostRecentViewValue=B,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(B=!1){this.onSelectionChange.emit(new _t(this,B))}}return Pe.\u0275fac=function(B){n.\u0275\u0275invalidFactory()},Pe.\u0275dir=n.\u0275\u0275defineDirective({type:Pe,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Pe})(),Ge=(()=>{class Pe extends Mt{constructor(B,V,be,je){super(B,V,be,je)}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Ae,8),n.\u0275\u0275directiveInject(gt,8))},Pe.\u0275cmp=n.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(B,V){1&B&&n.\u0275\u0275listener("click",function(){return V._selectViaInteraction()})("keydown",function(je){return V._handleKeydown(je)}),2&B&&(n.\u0275\u0275hostProperty("id",V.id),n.\u0275\u0275attribute("tabindex",V._getTabIndex())("aria-selected",V._getAriaSelected())("aria-disabled",V.disabled.toString()),n.\u0275\u0275classProp("mat-selected",V.selected)("mat-option-multiple",V.multiple)("mat-active",V.active)("mat-option-disabled",V.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:D,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-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(B,V){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,P,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(3,w,2,1,"span",2),n.\u0275\u0275element(4,"div",3)),2&B&&(n.\u0275\u0275property("ngIf",V.multiple),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",V.group&&V.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",V._getHostElement())("matRippleDisabled",V.disabled||V.disableRipple))},directives:[c.NgIf,ce,Oe],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:transparent}.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;-moz-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}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.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}\n"],encapsulation:2,changeDetection:0}),Pe})();function lt(Pe,Ee,B){if(B.length){let V=Ee.toArray(),be=B.toArray(),je=0;for(let Ct=0;CtB+V?Math.max(0,Pe-V+Ee):B}let Nt=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Ue,c.CommonModule,Q,ve]]}),Pe})()},6856:(he,A,o)=>{"use strict";o.r(A),o.d(A,{DateRange:()=>rt,DefaultMatCalendarRangeStrategy:()=>N,MAT_DATEPICKER_SCROLL_STRATEGY:()=>Ee,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY:()=>B,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>V,MAT_DATEPICKER_VALIDATORS:()=>Ve,MAT_DATEPICKER_VALUE_ACCESSOR:()=>st,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>x,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>j,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>_,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>_e,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>Z,MatCalendar:()=>Ot,MatCalendarBody:()=>bt,MatCalendarCell:()=>ct,MatCalendarHeader:()=>lt,MatDateRangeInput:()=>Jn,MatDateRangePicker:()=>Ln,MatDateSelectionModel:()=>ze,MatDatepicker:()=>Ht,MatDatepickerActions:()=>Se,MatDatepickerApply:()=>ri,MatDatepickerCancel:()=>jn,MatDatepickerContent:()=>je,MatDatepickerInput:()=>ut,MatDatepickerInputEvent:()=>$t,MatDatepickerIntl:()=>Mt,MatDatepickerModule:()=>Xe,MatDatepickerToggle:()=>Xt,MatDatepickerToggleIcon:()=>At,MatEndDate:()=>ti,MatMonthView:()=>ve,MatMultiYearView:()=>Pt,MatRangeDateSelectionModel:()=>mt,MatSingleDateSelectionModel:()=>yt,MatStartDate:()=>li,MatYearView:()=>_t,matDatepickerAnimations:()=>Nt,yearsPerPage:()=>Ae,yearsPerRow:()=>nt});var n=o(5664),l=o(1314),u=o(7429),c=o(9808),r=o(5e3),d=o(7423),m=o(9071),p=o(508),y=o(8929),b=o(2654),h=o(6787),g=o(1086),s=o(1159),C=o(2986),P=o(1059),w=o(2198),D=o(226),T=o(3191),Y=o(925),$=o(1777),z=o(3075),G=o(7322),X=o(7531);const Q=["mat-calendar-body",""];function q(J,Re){if(1&J&&(r.\u0275\u0275elementStart(0,"tr",2),r.\u0275\u0275elementStart(1,"td",3),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&J){const S=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275styleProp("padding-top",S._cellPadding)("padding-bottom",S._cellPadding),r.\u0275\u0275attribute("colspan",S.numCols),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",S.label," ")}}function ue(J,Re){if(1&J&&(r.\u0275\u0275elementStart(0,"td",3),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&J){const S=r.\u0275\u0275nextContext(2);r.\u0275\u0275styleProp("padding-top",S._cellPadding)("padding-bottom",S._cellPadding),r.\u0275\u0275attribute("colspan",S._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",S._firstRowOffset>=S.labelMinRequiredCells?S.label:""," ")}}function me(J,Re){if(1&J){const S=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",7),r.\u0275\u0275listener("click",function(ke){const kt=r.\u0275\u0275restoreView(S).$implicit;return r.\u0275\u0275nextContext(2)._cellClicked(kt,ke)}),r.\u0275\u0275elementStart(1,"div",8),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(3,"div",9),r.\u0275\u0275elementEnd()}if(2&J){const S=Re.$implicit,te=Re.index,ke=r.\u0275\u0275nextContext().index,Ye=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("width",Ye._cellWidth)("padding-top",Ye._cellPadding)("padding-bottom",Ye._cellPadding),r.\u0275\u0275classProp("mat-calendar-body-disabled",!S.enabled)("mat-calendar-body-active",Ye._isActiveCell(ke,te))("mat-calendar-body-range-start",Ye._isRangeStart(S.compareValue))("mat-calendar-body-range-end",Ye._isRangeEnd(S.compareValue))("mat-calendar-body-in-range",Ye._isInRange(S.compareValue))("mat-calendar-body-comparison-bridge-start",Ye._isComparisonBridgeStart(S.compareValue,ke,te))("mat-calendar-body-comparison-bridge-end",Ye._isComparisonBridgeEnd(S.compareValue,ke,te))("mat-calendar-body-comparison-start",Ye._isComparisonStart(S.compareValue))("mat-calendar-body-comparison-end",Ye._isComparisonEnd(S.compareValue))("mat-calendar-body-in-comparison-range",Ye._isInComparisonRange(S.compareValue))("mat-calendar-body-preview-start",Ye._isPreviewStart(S.compareValue))("mat-calendar-body-preview-end",Ye._isPreviewEnd(S.compareValue))("mat-calendar-body-in-preview",Ye._isInPreview(S.compareValue)),r.\u0275\u0275property("ngClass",S.cssClasses)("tabindex",Ye._isActiveCell(ke,te)?0:-1),r.\u0275\u0275attribute("data-mat-row",ke)("data-mat-col",te)("aria-label",S.ariaLabel)("aria-disabled",!S.enabled||null)("aria-selected",Ye._isSelected(S.compareValue))("aria-current",Ye.todayValue===S.compareValue?"date":null),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-selected",Ye._isSelected(S.compareValue))("mat-calendar-body-comparison-identical",Ye._isComparisonIdentical(S.compareValue))("mat-calendar-body-today",Ye.todayValue===S.compareValue),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",S.displayValue," ")}}function xe(J,Re){if(1&J&&(r.\u0275\u0275elementStart(0,"tr",4),r.\u0275\u0275template(1,ue,2,6,"td",5),r.\u0275\u0275template(2,me,4,47,"td",6),r.\u0275\u0275elementEnd()),2&J){const S=Re.$implicit,te=Re.index,ke=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",0===te&&ke._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",S)}}function pe(J,Re){if(1&J&&(r.\u0275\u0275elementStart(0,"th",5),r.\u0275\u0275elementStart(1,"abbr",6),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&J){const S=Re.$implicit;r.\u0275\u0275attribute("aria-label",S.long),r.\u0275\u0275advance(1),r.\u0275\u0275attribute("title",S.long),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(S.narrow)}}const oe=["*"];function ae(J,Re){}function U(J,Re){if(1&J){const S=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-month-view",5),r.\u0275\u0275listener("activeDateChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext().activeDate=ke})("_userSelection",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._dateSelected(ke)}),r.\u0275\u0275elementEnd()}if(2&J){const S=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",S.activeDate)("selected",S.selected)("dateFilter",S.dateFilter)("maxDate",S.maxDate)("minDate",S.minDate)("dateClass",S.dateClass)("comparisonStart",S.comparisonStart)("comparisonEnd",S.comparisonEnd)}}function ie(J,Re){if(1&J){const S=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-year-view",6),r.\u0275\u0275listener("activeDateChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext().activeDate=ke})("monthSelected",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._monthSelectedInYearView(ke)})("selectedChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._goToDateInView(ke,"month")}),r.\u0275\u0275elementEnd()}if(2&J){const S=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",S.activeDate)("selected",S.selected)("dateFilter",S.dateFilter)("maxDate",S.maxDate)("minDate",S.minDate)("dateClass",S.dateClass)}}function le(J,Re){if(1&J){const S=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-multi-year-view",7),r.\u0275\u0275listener("activeDateChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext().activeDate=ke})("yearSelected",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._yearSelectedInMultiYearView(ke)})("selectedChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._goToDateInView(ke,"year")}),r.\u0275\u0275elementEnd()}if(2&J){const S=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",S.activeDate)("selected",S.selected)("dateFilter",S.dateFilter)("maxDate",S.maxDate)("minDate",S.minDate)("dateClass",S.dateClass)}}function Ce(J,Re){}const Te=["button"];function Ke(J,Re){1&J&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg",3),r.\u0275\u0275element(1,"path",4),r.\u0275\u0275elementEnd())}const tt=[[["","matDatepickerToggleIcon",""]]],ot=["[matDatepickerToggleIcon]"],pt=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Dt=["input[matStartDate]","input[matEndDate]"];function Ie(J,Re){1&J&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275projection(1),r.\u0275\u0275elementEnd())}class ct{constructor(Re,S,te,ke,Ye={},kt=Re,It){this.value=Re,this.displayValue=S,this.ariaLabel=te,this.enabled=ke,this.cssClasses=Ye,this.compareValue=kt,this.rawValue=It}}let bt=(()=>{class J{constructor(S,te){this._elementRef=S,this._ngZone=te,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._enterHandler=ke=>{if(this._skipNextFocus&&"focus"===ke.type)this._skipNextFocus=!1;else if(ke.target&&this.isRange){const Ye=this._getCellFromElement(ke.target);Ye&&this._ngZone.run(()=>this.previewChange.emit({value:Ye.enabled?Ye:null,event:ke}))}},this._leaveHandler=ke=>{null!==this.previewEnd&&this.isRange&&ke.target&&Et(ke.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:ke}))},te.runOutsideAngular(()=>{const ke=S.nativeElement;ke.addEventListener("mouseenter",this._enterHandler,!0),ke.addEventListener("focus",this._enterHandler,!0),ke.addEventListener("mouseleave",this._leaveHandler,!0),ke.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(S,te){S.enabled&&this.selectedValueChange.emit({value:S.value,event:te})}_isSelected(S){return this.startValue===S||this.endValue===S}ngOnChanges(S){const te=S.numCols,{rows:ke,numCols:Ye}=this;(S.rows||te)&&(this._firstRowOffset=ke&&ke.length&&ke[0].length?Ye-ke[0].length:0),(S.cellAspectRatio||te||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Ye+"%"),(te||!this._cellWidth)&&(this._cellWidth=100/Ye+"%")}ngOnDestroy(){const S=this._elementRef.nativeElement;S.removeEventListener("mouseenter",this._enterHandler,!0),S.removeEventListener("focus",this._enterHandler,!0),S.removeEventListener("mouseleave",this._leaveHandler,!0),S.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(S,te){let ke=S*this.numCols+te;return S&&(ke-=this._firstRowOffset),ke==this.activeCell}_focusActiveCell(S=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,C.q)(1)).subscribe(()=>{const te=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");te&&(S||(this._skipNextFocus=!0),te.focus())})})}_isRangeStart(S){return xt(S,this.startValue,this.endValue)}_isRangeEnd(S){return dt(S,this.startValue,this.endValue)}_isInRange(S){return Ne(S,this.startValue,this.endValue,this.isRange)}_isComparisonStart(S){return xt(S,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(S,te,ke){if(!this._isComparisonStart(S)||this._isRangeStart(S)||!this._isInRange(S))return!1;let Ye=this.rows[te][ke-1];if(!Ye){const kt=this.rows[te-1];Ye=kt&&kt[kt.length-1]}return Ye&&!this._isRangeEnd(Ye.compareValue)}_isComparisonBridgeEnd(S,te,ke){if(!this._isComparisonEnd(S)||this._isRangeEnd(S)||!this._isInRange(S))return!1;let Ye=this.rows[te][ke+1];if(!Ye){const kt=this.rows[te+1];Ye=kt&&kt[0]}return Ye&&!this._isRangeStart(Ye.compareValue)}_isComparisonEnd(S){return dt(S,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(S){return Ne(S,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(S){return this.comparisonStart===this.comparisonEnd&&S===this.comparisonStart}_isPreviewStart(S){return xt(S,this.previewStart,this.previewEnd)}_isPreviewEnd(S){return dt(S,this.previewStart,this.previewEnd)}_isInPreview(S){return Ne(S,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(S){let te;if(Et(S)?te=S:Et(S.parentNode)&&(te=S.parentNode),te){const ke=te.getAttribute("data-mat-row"),Ye=te.getAttribute("data-mat-col");if(ke&&Ye)return this.rows[parseInt(ke)][parseInt(Ye)]}return null}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,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"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[r.\u0275\u0275NgOnChangesFeature],attrs:Q,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["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",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(S,te){1&S&&(r.\u0275\u0275template(0,q,3,6,"tr",0),r.\u0275\u0275template(1,xe,3,2,"tr",1)),2&S&&(r.\u0275\u0275property("ngIf",te._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],encapsulation:2,changeDetection:0}),J})();function Et(J){return"TD"===J.nodeName}function xt(J,Re,S){return null!==S&&Re!==S&&J=Re&&J===S}function Ne(J,Re,S,te){return te&&null!==Re&&null!==S&&Re!==S&&J>=Re&&J<=S}class rt{constructor(Re,S){this.start=Re,this.end=S}}let ze=(()=>{class J{constructor(S,te){this.selection=S,this._adapter=te,this._selectionChanged=new y.xQ,this.selectionChanged=this._selectionChanged,this.selection=S}updateSelection(S,te){const ke=this.selection;this.selection=S,this._selectionChanged.next({selection:S,source:te,oldValue:ke})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(S){return this._adapter.isDateInstance(S)&&this._adapter.isValid(S)}}return J.\u0275fac=function(S){r.\u0275\u0275invalidFactory()},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),yt=(()=>{class J extends ze{constructor(S){super(null,S)}add(S){super.updateSelection(S,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const S=new J(this._adapter);return S.updateSelection(this.selection,this),S}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275inject(p.DateAdapter))},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),mt=(()=>{class J extends ze{constructor(S){super(new rt(null,null),S)}add(S){let{start:te,end:ke}=this.selection;null==te?te=S:null==ke?ke=S:(te=S,ke=null),super.updateSelection(new rt(te,ke),this)}isValid(){const{start:S,end:te}=this.selection;return null==S&&null==te||(null!=S&&null!=te?this._isValidDateInstance(S)&&this._isValidDateInstance(te)&&this._adapter.compareDate(S,te)<=0:(null==S||this._isValidDateInstance(S))&&(null==te||this._isValidDateInstance(te)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const S=new J(this._adapter);return S.updateSelection(this.selection,this),S}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275inject(p.DateAdapter))},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})();function _e(J,Re){return J||new yt(Re)}const Z={provide:ze,deps:[[new r.Optional,new r.SkipSelf,ze],p.DateAdapter],useFactory:_e};function j(J,Re){return J||new mt(Re)}const _={provide:ze,deps:[[new r.Optional,new r.SkipSelf,ze],p.DateAdapter],useFactory:j},x=new r.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let N=(()=>{class J{constructor(S){this._dateAdapter=S}selectionFinished(S,te){let{start:ke,end:Ye}=te;return null==ke?ke=S:null==Ye&&S&&this._dateAdapter.compareDate(S,ke)>=0?Ye=S:(ke=S,Ye=null),new rt(ke,Ye)}createPreview(S,te){let ke=null,Ye=null;return te.start&&!te.end&&S&&(ke=te.start,Ye=S),new rt(ke,Ye)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275inject(p.DateAdapter))},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})();const Ue={provide:x,deps:[[new r.Optional,new r.SkipSelf,x],p.DateAdapter],useFactory:function(J,Re){return J||new N(Re)}};let ve=(()=>{class J{constructor(S,te,ke,Ye,kt){this._changeDetectorRef=S,this._dateFormats=te,this._dateAdapter=ke,this._dir=Ye,this._rangeStrategy=kt,this._rerenderSubscription=b.w.EMPTY,this.selectedChange=new r.EventEmitter,this._userSelection=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(S){const te=this._activeDate,ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ke,this.minDate,this.maxDate),this._hasSameMonthAndYear(te,this._activeDate)||this._init()}get selected(){return this._selected}set selected(S){this._selected=S instanceof rt?S:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(S){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get maxDate(){return this._maxDate}set maxDate(S){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,P.O)(null)).subscribe(()=>this._init())}ngOnChanges(S){const te=S.comparisonStart||S.comparisonEnd;te&&!te.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(S){const te=S.value,ke=this._dateAdapter.getYear(this.activeDate),Ye=this._dateAdapter.getMonth(this.activeDate),kt=this._dateAdapter.createDate(ke,Ye,te);let It,Rt;this._selected instanceof rt?(It=this._getDateInCurrentMonth(this._selected.start),Rt=this._getDateInCurrentMonth(this._selected.end)):It=Rt=this._getDateInCurrentMonth(this._selected),(It!==te||Rt!==te)&&this.selectedChange.emit(kt),this._userSelection.emit({value:kt,event:S.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(S){const te=this._activeDate,ke=this._isRtl();switch(S.keyCode){case s.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ke?1:-1);break;case s.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ke?-1:1);break;case s.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case s.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case s.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case s.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case s.Ku:this.activeDate=S.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case s.VM:this.activeDate=S.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case s.K5:case s.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&S.preventDefault());case s.hY:return void(null!=this._previewEnd&&!(0,s.Vb)(S)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:S}),S.preventDefault(),S.stopPropagation()));default:return}this._dateAdapter.compareDate(te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),S.preventDefault()}_handleCalendarBodyKeyup(S){(S.keyCode===s.L_||S.keyCode===s.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:S}),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 S=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(S)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(S){this._matCalendarBody._focusActiveCell(S)}_previewChanged({event:S,value:te}){if(this._rangeStrategy){const Ye=this._rangeStrategy.createPreview(te?te.rawValue:null,this.selected,S);this._previewStart=this._getCellCompareValue(Ye.start),this._previewEnd=this._getCellCompareValue(Ye.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const S=this._dateAdapter.getFirstDayOfWeek(),te=this._dateAdapter.getDayOfWeekNames("narrow");let Ye=this._dateAdapter.getDayOfWeekNames("long").map((kt,It)=>({long:kt,narrow:te[It]}));this._weekdays=Ye.slice(S).concat(Ye.slice(0,S))}_createWeekCells(){const S=this._dateAdapter.getNumDaysInMonth(this.activeDate),te=this._dateAdapter.getDateNames();this._weeks=[[]];for(let ke=0,Ye=this._firstWeekOffset;ke=0)&&(!this.maxDate||this._dateAdapter.compareDate(S,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(S))}_getDateInCurrentMonth(S){return S&&this._hasSameMonthAndYear(S,this.activeDate)?this._dateAdapter.getDate(S):null}_hasSameMonthAndYear(S,te){return!(!S||!te||this._dateAdapter.getMonth(S)!=this._dateAdapter.getMonth(te)||this._dateAdapter.getYear(S)!=this._dateAdapter.getYear(te))}_getCellCompareValue(S){if(S){const te=this._dateAdapter.getYear(S),ke=this._dateAdapter.getMonth(S),Ye=this._dateAdapter.getDate(S);return new Date(te,ke,Ye).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(S){S instanceof rt?(this._rangeStart=this._getCellCompareValue(S.start),this._rangeEnd=this._getCellCompareValue(S.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(S),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(S){return!this.dateFilter||this.dateFilter(S)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(D.Is,8),r.\u0275\u0275directiveInject(x,8))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-month-view"]],viewQuery:function(S,te){if(1&S&&r.\u0275\u0275viewQuery(bt,5),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te._matCalendarBody=ke.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[r.\u0275\u0275NgOnChangesFeature],decls:7,vars:13,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","selectedValueChange","previewChange","keyup","keydown"],["scope","col"],[1,"mat-calendar-abbr"]],template:function(S,te){1&S&&(r.\u0275\u0275elementStart(0,"table",0),r.\u0275\u0275elementStart(1,"thead",1),r.\u0275\u0275elementStart(2,"tr"),r.\u0275\u0275template(3,pe,3,3,"th",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"tr"),r.\u0275\u0275element(5,"th",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(6,"tbody",4),r.\u0275\u0275listener("selectedValueChange",function(Ye){return te._dateSelected(Ye)})("previewChange",function(Ye){return te._previewChanged(Ye)})("keyup",function(Ye){return te._handleCalendarBodyKeyup(Ye)})("keydown",function(Ye){return te._handleCalendarBodyKeydown(Ye)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&S&&(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))},directives:[c.NgForOf,bt],encapsulation:2,changeDetection:0}),J})();const Ae=24,nt=4;let Pt=(()=>{class J{constructor(S,te,ke){this._changeDetectorRef=S,this._dateAdapter=te,this._dir=ke,this._rerenderSubscription=b.w.EMPTY,this.selectedChange=new r.EventEmitter,this.yearSelected=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(S){let te=this._activeDate;const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ke,this.minDate,this.maxDate),Ft(this._dateAdapter,te,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(S){this._selected=S instanceof rt?S:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S)),this._setSelectedYear(S)}get minDate(){return this._minDate}set minDate(S){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get maxDate(){return this._maxDate}set maxDate(S){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,P.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)-gt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let ke=0,Ye=[];kethis._createCellForYear(kt))),Ye=[]);this._changeDetectorRef.markForCheck()}_yearSelected(S){const te=S.value;this.yearSelected.emit(this._dateAdapter.createDate(te,0,1));let ke=this._dateAdapter.getMonth(this.activeDate),Ye=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(te,ke,1));this.selectedChange.emit(this._dateAdapter.createDate(te,ke,Math.min(this._dateAdapter.getDate(this.activeDate),Ye)))}_handleCalendarBodyKeydown(S){const te=this._activeDate,ke=this._isRtl();switch(S.keyCode){case s.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ke?1:-1);break;case s.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ke?-1:1);break;case s.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-nt);break;case s.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,nt);break;case s.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-gt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case s.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ae-gt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case s.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,S.altKey?10*-Ae:-Ae);break;case s.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,S.altKey?10*Ae:Ae);break;case s.K5:case s.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),S.preventDefault()}_handleCalendarBodyKeyup(S){(S.keyCode===s.L_||S.keyCode===s.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:S}),this._selectionKeyPressed=!1)}_getActiveCell(){return gt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(S){const te=this._dateAdapter.createDate(S,0,1),ke=this._dateAdapter.getYearName(te),Ye=this.dateClass?this.dateClass(te,"multi-year"):void 0;return new ct(S,ke,ke,this._shouldEnableYear(S),Ye)}_shouldEnableYear(S){if(null==S||this.maxDate&&S>this._dateAdapter.getYear(this.maxDate)||this.minDate&&S{class J{constructor(S,te,ke,Ye){this._changeDetectorRef=S,this._dateFormats=te,this._dateAdapter=ke,this._dir=Ye,this._rerenderSubscription=b.w.EMPTY,this.selectedChange=new r.EventEmitter,this.monthSelected=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(S){let te=this._activeDate;const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ke,this.minDate,this.maxDate),this._dateAdapter.getYear(te)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(S){this._selected=S instanceof rt?S:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S)),this._setSelectedMonth(S)}get minDate(){return this._minDate}set minDate(S){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get maxDate(){return this._maxDate}set maxDate(S){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,P.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(S){const te=S.value,ke=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,1);this.monthSelected.emit(ke);const Ye=this._dateAdapter.getNumDaysInMonth(ke);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,Math.min(this._dateAdapter.getDate(this.activeDate),Ye)))}_handleCalendarBodyKeydown(S){const te=this._activeDate,ke=this._isRtl();switch(S.keyCode){case s.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ke?1:-1);break;case s.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ke?-1:1);break;case s.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case s.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case s.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case s.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case s.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,S.altKey?-10:-1);break;case s.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,S.altKey?10:1);break;case s.K5:case s.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),S.preventDefault()}_handleCalendarBodyKeyup(S){(S.keyCode===s.L_||S.keyCode===s.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:S}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let S=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(te=>te.map(ke=>this._createCellForMonth(ke,S[ke]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(S){return S&&this._dateAdapter.getYear(S)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(S):null}_createCellForMonth(S,te){const ke=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),S,1),Ye=this._dateAdapter.format(ke,this._dateFormats.display.monthYearA11yLabel),kt=this.dateClass?this.dateClass(ke,"year"):void 0;return new ct(S,te.toLocaleUpperCase(),Ye,this._shouldEnableMonth(S),kt)}_shouldEnableMonth(S){const te=this._dateAdapter.getYear(this.activeDate);if(null==S||this._isYearAndMonthAfterMaxDate(te,S)||this._isYearAndMonthBeforeMinDate(te,S))return!1;if(!this.dateFilter)return!0;for(let Ye=this._dateAdapter.createDate(te,S,1);this._dateAdapter.getMonth(Ye)==S;Ye=this._dateAdapter.addCalendarDays(Ye,1))if(this.dateFilter(Ye))return!0;return!1}_isYearAndMonthAfterMaxDate(S,te){if(this.maxDate){const ke=this._dateAdapter.getYear(this.maxDate),Ye=this._dateAdapter.getMonth(this.maxDate);return S>ke||S===ke&&te>Ye}return!1}_isYearAndMonthBeforeMinDate(S,te){if(this.minDate){const ke=this._dateAdapter.getYear(this.minDate),Ye=this._dateAdapter.getMonth(this.minDate);return S{class J{constructor(){this.changes=new y.xQ,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"}formatYearRange(S,te){return`${S} \u2013 ${te}`}}return J.\u0275fac=function(S){return new(S||J)},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"}),J})(),Ge=0,lt=(()=>{class J{constructor(S,te,ke,Ye,kt){this._intl=S,this.calendar=te,this._dateAdapter=ke,this._dateFormats=Ye,this._buttonDescriptionId="mat-calendar-button-"+Ge++,this.calendar.stateChanges.subscribe(()=>kt.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const te=this._dateAdapter.getYear(this.calendar.activeDate)-gt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),ke=te+Ae-1,Ye=this._dateAdapter.getYearName(this._dateAdapter.createDate(te,0,1)),kt=this._dateAdapter.getYearName(this._dateAdapter.createDate(ke,0,1));return this._intl.formatYearRange(Ye,kt)}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:-Ae)}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:Ae)}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(S,te){return"month"==this.calendar.currentView?this._dateAdapter.getYear(S)==this._dateAdapter.getYear(te)&&this._dateAdapter.getMonth(S)==this._dateAdapter.getMonth(te):"year"==this.calendar.currentView?this._dateAdapter.getYear(S)==this._dateAdapter.getYear(te):Ft(this._dateAdapter,S,te,this.calendar.minDate,this.calendar.maxDate)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Mt),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Ot)),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:oe,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",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"]],template:function(S,te){1&S&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275elementStart(2,"button",2),r.\u0275\u0275listener("click",function(){return te.currentPeriodClicked()}),r.\u0275\u0275elementStart(3,"span"),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd(),r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(5,"svg",3),r.\u0275\u0275element(6,"polygon",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275namespaceHTML(),r.\u0275\u0275element(7,"div",5),r.\u0275\u0275projection(8),r.\u0275\u0275elementStart(9,"button",6),r.\u0275\u0275listener("click",function(){return te.previousClicked()}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"button",7),r.\u0275\u0275listener("click",function(){return te.nextClicked()}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&S&&(r.\u0275\u0275advance(2),r.\u0275\u0275attribute("aria-label",te.periodButtonLabel)("aria-describedby",te._buttonDescriptionId),r.\u0275\u0275advance(1),r.\u0275\u0275attribute("id",te._buttonDescriptionId),r.\u0275\u0275advance(1),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))},directives:[d.MatButton,n.Qr],encapsulation:2,changeDetection:0}),J})(),Ot=(()=>{class J{constructor(S,te,ke,Ye){this._dateAdapter=te,this._dateFormats=ke,this._changeDetectorRef=Ye,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.stateChanges=new y.xQ,this._intlChanges=S.changes.subscribe(()=>{Ye.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(S){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get selected(){return this._selected}set selected(S){this._selected=S instanceof rt?S:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get minDate(){return this._minDate}set minDate(S){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get maxDate(){return this._maxDate}set maxDate(S){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get activeDate(){return this._clampedActiveDate}set activeDate(S){this._clampedActiveDate=this._dateAdapter.clampDate(S,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(S){const te=this._currentView!==S?S:null;this._currentView=S,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),te&&this.viewChanged.emit(te)}ngAfterContentInit(){this._calendarHeaderPortal=new u.C5(this.headerComponent||lt),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(S){const te=S.minDate||S.maxDate||S.dateFilter;if(te&&!te.firstChange){const ke=this._getCurrentViewComponent();ke&&(this._changeDetectorRef.detectChanges(),ke._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(S){const te=S.value;(this.selected instanceof rt||te&&!this._dateAdapter.sameDate(te,this.selected))&&this.selectedChange.emit(te),this._userSelection.emit(S)}_yearSelectedInMultiYearView(S){this.yearSelected.emit(S)}_monthSelectedInYearView(S){this.monthSelected.emit(S)}_goToDateInView(S,te){this.activeDate=S,this.currentView=te}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Mt),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-calendar"]],viewQuery:function(S,te){if(1&S&&(r.\u0275\u0275viewQuery(ve,5),r.\u0275\u0275viewQuery(_t,5),r.\u0275\u0275viewQuery(Pt,5)),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te.monthView=ke.first),r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te.yearView=ke.first),r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te.multiYearView=ke.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"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[r.\u0275\u0275ProvidersFeature([Z]),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","activeDateChange","_userSelection",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","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(S,te){1&S&&(r.\u0275\u0275template(0,ae,0,0,"ng-template",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275template(2,U,1,8,"mat-month-view",2),r.\u0275\u0275template(3,ie,1,6,"mat-year-view",3),r.\u0275\u0275template(4,le,1,6,"mat-multi-year-view",4),r.\u0275\u0275elementEnd()),2&S&&(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"))},directives:[u.Pl,n.kH,c.NgSwitch,c.NgSwitchCase,ve,_t,Pt],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;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.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-abbr{text-decoration:none}\n'],encapsulation:2,changeDetection:0}),J})();const Nt={transformPanel:(0,$.X$)("transformPanel",[(0,$.eR)("void => enter-dropdown",(0,$.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,$.F4)([(0,$.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,$.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,$.eR)("void => enter-dialog",(0,$.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,$.F4)([(0,$.oB)({opacity:0,transform:"scale(0.7)"}),(0,$.oB)({transform:"none",opacity:1})]))),(0,$.eR)("* => void",(0,$.jt)("100ms linear",(0,$.oB)({opacity:0})))]),fadeInCalendar:(0,$.X$)("fadeInCalendar",[(0,$.SB)("void",(0,$.oB)({opacity:0})),(0,$.SB)("enter",(0,$.oB)({opacity:1})),(0,$.eR)("void => *",(0,$.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Pe=0;const Ee=new r.InjectionToken("mat-datepicker-scroll-strategy");function B(J){return()=>J.scrollStrategies.reposition()}const V={provide:Ee,deps:[l.aV],useFactory:B},be=(0,p.mixinColor)(class{constructor(J){this._elementRef=J}});let je=(()=>{class J extends be{constructor(S,te,ke,Ye,kt,It){super(S),this._changeDetectorRef=te,this._globalModel=ke,this._dateAdapter=Ye,this._rangeSelectionStrategy=kt,this._subscriptions=new b.w,this._animationDone=new y.xQ,this._actionsPortal=null,this._closeButtonText=It.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,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(S){const te=this._model.selection,ke=S.value,Ye=te instanceof rt;if(Ye&&this._rangeSelectionStrategy){const kt=this._rangeSelectionStrategy.selectionFinished(ke,te,S.event);this._model.updateSelection(kt,this)}else ke&&(Ye||!this._dateAdapter.sameDate(ke,te))&&this._model.add(ke);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(ze),r.\u0275\u0275directiveInject(p.DateAdapter),r.\u0275\u0275directiveInject(x,8),r.\u0275\u0275directiveInject(Mt))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-datepicker-content"]],viewQuery:function(S,te){if(1&S&&r.\u0275\u0275viewQuery(Ot,5),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te._calendar=ke.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(S,te){1&S&&r.\u0275\u0275syntheticHostListener("@transformPanel.done",function(){return te._animationDone.next()}),2&S&&(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:20,consts:[["cdkTrapFocus","",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(S,te){1&S&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275elementStart(1,"mat-calendar",1),r.\u0275\u0275listener("yearSelected",function(Ye){return te.datepicker._selectYear(Ye)})("monthSelected",function(Ye){return te.datepicker._selectMonth(Ye)})("viewChanged",function(Ye){return te.datepicker._viewChanged(Ye)})("_userSelection",function(Ye){return te._handleUserSelection(Ye)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(2,Ce,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(),r.\u0275\u0275elementEnd()),2&S&&(r.\u0275\u0275classProp("mat-datepicker-content-container-with-actions",te._actionsPortal),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"),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))},directives:[n.mK,Ot,c.NgClass,u.Pl,d.MatButton],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.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}}\n"],encapsulation:2,data:{animation:[Nt.transformPanel,Nt.fadeInCalendar]},changeDetection:0}),J})(),Ct=(()=>{class J{constructor(S,te,ke,Ye,kt,It,Rt){this._overlay=S,this._ngZone=te,this._viewContainerRef=ke,this._dateAdapter=kt,this._dir=It,this._model=Rt,this._inputStateChanges=b.w.EMPTY,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-"+Pe++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new y.xQ,this._scrollStrategy=Ye}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(S){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(S){this._color=S}get touchUi(){return this._touchUi}set touchUi(S){this._touchUi=(0,T.Ig)(S)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(S){const te=(0,T.Ig)(S);te!==this._disabled&&(this._disabled=te,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(S){this._restoreFocus=(0,T.Ig)(S)}get panelClass(){return this._panelClass}set panelClass(S){this._panelClass=(0,T.du)(S)}get opened(){return this._opened}set opened(S){(0,T.Ig)(S)?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}ngOnChanges(S){const te=S.xPosition||S.yPosition;if(te&&!te.firstChange&&this._overlayRef){const ke=this._overlayRef.getConfig().positionStrategy;ke instanceof l._G&&(this._setConnectedPositions(ke),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(S){this._model.add(S)}_selectYear(S){this.yearSelected.emit(S)}_selectMonth(S){this.monthSelected.emit(S)}_viewChanged(S){this.viewChanged.emit(S)}registerInput(S){return this._inputStateChanges.unsubscribe(),this.datepickerInput=S,this._inputStateChanges=S.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(S){this._actionsPortal=S}removeActions(S){S===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,Y.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const te=this._componentRef.instance;te._startExitAnimation(),te._animationDone.pipe((0,C.q)(1)).subscribe(()=>this._destroyOverlay())}const S=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(S)):S()}_applyPendingSelection(){var S,te;null===(te=null===(S=this._componentRef)||void 0===S?void 0:S.instance)||void 0===te||te._applyPendingSelection()}_forwardContentValues(S){S.datepicker=this,S.color=this.color,S._actionsPortal=this._actionsPortal}_openOverlay(){this._destroyOverlay();const S=this.touchUi,te=this.datepickerInput.getOverlayLabelId(),ke=new u.C5(je,this._viewContainerRef),Ye=this._overlayRef=this._overlay.create(new l.X_({positionStrategy:S?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[S?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:S?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(S?"dialog":"popup")})),kt=Ye.overlayElement;kt.setAttribute("role","dialog"),te&&kt.setAttribute("aria-labelledby",te),S&&kt.setAttribute("aria-modal","true"),this._getCloseStream(Ye).subscribe(It=>{It&&It.preventDefault(),this.close()}),this._componentRef=Ye.attach(ke),this._forwardContentValues(this._componentRef.instance),S||this._ngZone.onStable.pipe((0,C.q)(1)).subscribe(()=>Ye.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const S=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(S)}_setConnectedPositions(S){const te="end"===this.xPosition?"end":"start",ke="start"===te?"end":"start",Ye="above"===this.yPosition?"bottom":"top",kt="top"===Ye?"bottom":"top";return S.withPositions([{originX:te,originY:kt,overlayX:te,overlayY:Ye},{originX:te,originY:Ye,overlayX:te,overlayY:kt},{originX:ke,originY:kt,overlayX:ke,overlayY:Ye},{originX:ke,originY:Ye,overlayX:ke,overlayY:kt}])}_getCloseStream(S){return(0,h.T)(S.backdropClick(),S.detachments(),S.keydownEvents().pipe((0,w.h)(te=>te.keyCode===s.hY&&!(0,s.Vb)(te)||this.datepickerInput&&(0,s.Vb)(te,"altKey")&&te.keyCode===s.LH)))}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(l.aV),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(Ee),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(D.Is,8),r.\u0275\u0275directiveInject(ze))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,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]}),J})(),Ht=(()=>{class J extends Ct{}return J.\u0275fac=function(){let Re;return function(te){return(Re||(Re=r.\u0275\u0275getInheritedFactory(J)))(te||J)}}(),J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[r.\u0275\u0275ProvidersFeature([Z,{provide:Ct,useExisting:J}]),r.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(S,te){},encapsulation:2,changeDetection:0}),J})();class $t{constructor(Re,S){this.target=Re,this.targetElement=S,this.value=this.target.value}}let vn=(()=>{class J{constructor(S,te,ke){this._elementRef=S,this._dateAdapter=te,this._dateFormats=ke,this.dateChange=new r.EventEmitter,this.dateInput=new r.EventEmitter,this.stateChanges=new y.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=b.w.EMPTY,this._localeSubscription=b.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Ye=>{const kt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ye.value));return!kt||this._matchesFilter(kt)?null:{matDatepickerFilter:!0}},this._minValidator=Ye=>{const kt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ye.value)),It=this._getMinDate();return!It||!kt||this._dateAdapter.compareDate(It,kt)<=0?null:{matDatepickerMin:{min:It,actual:kt}}},this._maxValidator=Ye=>{const kt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ye.value)),It=this._getMaxDate();return!It||!kt||this._dateAdapter.compareDate(It,kt)>=0?null:{matDatepickerMax:{max:It,actual:kt}}},this._lastValueValid=!1,this._localeSubscription=te.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(S){this._assignValueProgrammatically(S)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(S){const te=(0,T.Ig)(S),ke=this._elementRef.nativeElement;this._disabled!==te&&(this._disabled=te,this.stateChanges.next(void 0)),te&&this._isInitialized&&ke.blur&&ke.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(S){this._model=S,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(te=>{if(this._shouldHandleChangeEvent(te)){const ke=this._getValueFromModel(te.selection);this._lastValueValid=this._isValidValue(ke),this._cvaOnChange(ke),this._onTouched(),this._formatValue(ke),this.dateInput.emit(new $t(this,this._elementRef.nativeElement)),this.dateChange.emit(new $t(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(S){it(S,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(S){this._validatorOnChange=S}validate(S){return this._validator?this._validator(S):null}writeValue(S){this._assignValueProgrammatically(S)}registerOnChange(S){this._cvaOnChange=S}registerOnTouched(S){this._onTouched=S}setDisabledState(S){this.disabled=S}_onKeydown(S){S.altKey&&S.keyCode===s.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),S.preventDefault())}_onInput(S){const te=this._lastValueValid;let ke=this._dateAdapter.parse(S,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(ke),ke=this._dateAdapter.getValidDateOrNull(ke),this._dateAdapter.sameDate(ke,this.value)?(S&&!this.value&&this._cvaOnChange(ke),te!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(ke),this._cvaOnChange(ke),this.dateInput.emit(new $t(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new $t(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(S){this._elementRef.nativeElement.value=S?this._dateAdapter.format(S,this._dateFormats.display.dateInput):""}_assignValue(S){this._model?(this._assignValueToModel(S),this._pendingValue=null):this._pendingValue=S}_isValidValue(S){return!S||this._dateAdapter.isValid(S)}_parentDisabled(){return!1}_assignValueProgrammatically(S){S=this._dateAdapter.deserialize(S),this._lastValueValid=this._isValidValue(S),S=this._dateAdapter.getValidDateOrNull(S),this._assignValue(S),this._formatValue(S)}_matchesFilter(S){const te=this._getDateFilter();return!te||te(S)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[r.\u0275\u0275NgOnChangesFeature]}),J})();function it(J,Re){const S=Object.keys(J);for(let te of S){const{previousValue:ke,currentValue:Ye}=J[te];if(!Re.isDateInstance(ke)||!Re.isDateInstance(Ye))return!0;if(!Re.sameDate(ke,Ye))return!0}return!1}const st={provide:z.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(()=>ut),multi:!0},Ve={provide:z.NG_VALIDATORS,useExisting:(0,r.forwardRef)(()=>ut),multi:!0};let ut=(()=>{class J extends vn{constructor(S,te,ke,Ye){super(S,te,ke),this._formField=Ye,this._closedSubscription=b.w.EMPTY,this._validator=z.Validators.compose(super._getValidators())}set matDatepicker(S){S&&(this._datepicker=S,this._closedSubscription=S.closedStream.subscribe(()=>this._onTouched()),this._registerModel(S.registerInput(this)))}get min(){return this._min}set min(S){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S));this._dateAdapter.sameDate(te,this._min)||(this._min=te,this._validatorOnChange())}get max(){return this._max}set max(S){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S));this._dateAdapter.sameDate(te,this._max)||(this._max=te,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(S){const te=this._matchesFilter(this.value);this._dateFilter=S,this._matchesFilter(this.value)!==te&&this._validatorOnChange()}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(S){return S}_assignValueToModel(S){this._model&&this._model.updateSelection(S,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(S){return S.source!==this}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(G.MAT_FORM_FIELD,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("input",function(Ye){return te._onInput(Ye.target.value)})("change",function(){return te._onChange()})("blur",function(){return te._onBlur()})("keydown",function(Ye){return te._onKeydown(Ye)}),2&S&&(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([st,Ve,{provide:X.MAT_INPUT_VALUE_ACCESSOR,useExisting:J}]),r.\u0275\u0275InheritDefinitionFeature]}),J})(),At=(()=>{class J{}return J.\u0275fac=function(S){return new(S||J)},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["","matDatepickerToggleIcon",""]]}),J})(),Xt=(()=>{class J{constructor(S,te,ke){this._intl=S,this._changeDetectorRef=te,this._stateChanges=b.w.EMPTY;const Ye=Number(ke);this.tabIndex=Ye||0===Ye?Ye:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(S){this._disabled=(0,T.Ig)(S)}ngOnChanges(S){S.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(S){this.datepicker&&!this.disabled&&(this.datepicker.open(),S.stopPropagation())}_watchStateChanges(){const S=this.datepicker?this.datepicker.stateChanges:(0,g.of)(),te=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,g.of)(),ke=this.datepicker?(0,h.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,g.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,h.T)(this._intl.changes,S,te,ke).subscribe(()=>this._changeDetectorRef.markForCheck())}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Mt),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275injectAttribute("tabindex"))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-datepicker-toggle"]],contentQueries:function(S,te,ke){if(1&S&&r.\u0275\u0275contentQuery(ke,At,5),2&S){let Ye;r.\u0275\u0275queryRefresh(Ye=r.\u0275\u0275loadQuery())&&(te._customIcon=Ye.first)}},viewQuery:function(S,te){if(1&S&&r.\u0275\u0275viewQuery(Te,5),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te._button=ke.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("click",function(Ye){return te._open(Ye)}),2&S&&(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:ot,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",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",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(S,te){1&S&&(r.\u0275\u0275projectionDef(tt),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275template(2,Ke,2,0,"svg",2),r.\u0275\u0275projection(3),r.\u0275\u0275elementEnd()),2&S&&(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))},directives:[d.MatButton,c.NgIf],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),J})();const Jt=new r.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT"),Rn=(0,p.mixinErrorState)((()=>{class J extends vn{constructor(S,te,ke,Ye,kt,It,Rt,Yt){super(te,Rt,Yt),this._rangeInput=S,this._defaultErrorStateMatcher=ke,this._injector=Ye,this._parentForm=kt,this._parentFormGroup=It}ngOnInit(){const S=this._injector.get(z.NgControl,null,r.InjectFlags.Self|r.InjectFlags.Optional);S&&(this.ngControl=S)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}_onInput(S){super._onInput(S),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:S}){return S!==this._rangeInput._startInput&&S!==this._rangeInput._endInput}_assignValueProgrammatically(S){super._assignValueProgrammatically(S);const te=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput;null==te||te._validatorOnChange()}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Jt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(z.NgForm,8),r.\u0275\u0275directiveInject(z.FormGroupDirective,8),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,features:[r.\u0275\u0275InheritDefinitionFeature]}),J})());let li=(()=>{class J extends Rn{constructor(S,te,ke,Ye,kt,It,Rt,Yt){super(S,te,ke,Ye,kt,It,Rt,Yt),this._startValidator=Zt=>{const Mn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Zt.value)),Tn=this._model?this._model.selection.end:null;return!Mn||!Tn||this._dateAdapter.compareDate(Mn,Tn)<=0?null:{matStartDateInvalid:{end:Tn,actual:Mn}}},this._validator=z.Validators.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(S){return S.start}_shouldHandleChangeEvent(S){var te;return!(!super._shouldHandleChangeEvent(S)||((null===(te=S.oldValue)||void 0===te?void 0:te.start)?S.selection.start&&!this._dateAdapter.compareDate(S.oldValue.start,S.selection.start):!S.selection.start))}_assignValueToModel(S){if(this._model){const te=new rt(S,this._model.selection.end);this._model.updateSelection(te,this)}}_formatValue(S){super._formatValue(S),this._rangeInput._handleChildValueChange()}getMirrorValue(){const S=this._elementRef.nativeElement,te=S.value;return te.length>0?te:S.placeholder}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Jt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(z.NgForm,8),r.\u0275\u0275directiveInject(z.FormGroupDirective,8),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:6,hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("input",function(Ye){return te._onInput(Ye.target.value)})("change",function(){return te._onChange()})("keydown",function(Ye){return te._onKeydown(Ye)})("blur",function(){return te._onBlur()}),2&S&&(r.\u0275\u0275hostProperty("disabled",te.disabled),r.\u0275\u0275attribute("id",te._rangeInput.id)("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:z.NG_VALUE_ACCESSOR,useExisting:J,multi:!0},{provide:z.NG_VALIDATORS,useExisting:J,multi:!0}]),r.\u0275\u0275InheritDefinitionFeature]}),J})(),ti=(()=>{class J extends Rn{constructor(S,te,ke,Ye,kt,It,Rt,Yt){super(S,te,ke,Ye,kt,It,Rt,Yt),this._endValidator=Zt=>{const Mn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Zt.value)),Tn=this._model?this._model.selection.start:null;return!Mn||!Tn||this._dateAdapter.compareDate(Mn,Tn)>=0?null:{matEndDateInvalid:{start:Tn,actual:Mn}}},this._validator=z.Validators.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(S){return S.end}_shouldHandleChangeEvent(S){var te;return!(!super._shouldHandleChangeEvent(S)||((null===(te=S.oldValue)||void 0===te?void 0:te.end)?S.selection.end&&!this._dateAdapter.compareDate(S.oldValue.end,S.selection.end):!S.selection.end))}_assignValueToModel(S){if(this._model){const te=new rt(this._model.selection.start,S);this._model.updateSelection(te,this)}}_onKeydown(S){S.keyCode===s.ZH&&!this._elementRef.nativeElement.value&&this._rangeInput._startInput.focus(),super._onKeydown(S)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Jt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(z.NgForm,8),r.\u0275\u0275directiveInject(z.FormGroupDirective,8),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("input",function(Ye){return te._onInput(Ye.target.value)})("change",function(){return te._onChange()})("keydown",function(Ye){return te._onKeydown(Ye)})("blur",function(){return te._onBlur()}),2&S&&(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:z.NG_VALUE_ACCESSOR,useExisting:J,multi:!0},{provide:z.NG_VALIDATORS,useExisting:J,multi:!0}]),r.\u0275\u0275InheritDefinitionFeature]}),J})(),pi=0,Jn=(()=>{class J{constructor(S,te,ke,Ye,kt){if(this._changeDetectorRef=S,this._elementRef=te,this._dateAdapter=Ye,this._formField=kt,this._closedSubscription=b.w.EMPTY,this.id="mat-date-range-input-"+pi++,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 y.xQ,null==kt?void 0:kt._elementRef.nativeElement.classList.contains("mat-mdc-form-field")){const It=te.nativeElement.classList;It.add("mat-mdc-input-element"),It.add("mat-mdc-form-field-input-control")}this.ngControl=ke}get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){var S,te;const ke=(null===(S=this._startInput)||void 0===S?void 0:S._getPlaceholder())||"",Ye=(null===(te=this._endInput)||void 0===te?void 0:te._getPlaceholder())||"";return ke||Ye?`${ke} ${this.separator} ${Ye}`:""}get rangePicker(){return this._rangePicker}set rangePicker(S){S&&(this._model=S.registerInput(this),this._rangePicker=S,this._closedSubscription.unsubscribe(),this._closedSubscription=S.closedStream.subscribe(()=>{var te,ke;null===(te=this._startInput)||void 0===te||te._onTouched(),null===(ke=this._endInput)||void 0===ke||ke._onTouched()}),this._registerModel(this._model))}get required(){return!!this._required}set required(S){this._required=(0,T.Ig)(S)}get dateFilter(){return this._dateFilter}set dateFilter(S){const te=this._startInput,ke=this._endInput,Ye=te&&te._matchesFilter(te.value),kt=ke&&ke._matchesFilter(te.value);this._dateFilter=S,te&&te._matchesFilter(te.value)!==Ye&&te._validatorOnChange(),ke&&ke._matchesFilter(ke.value)!==kt&&ke._validatorOnChange()}get min(){return this._min}set min(S){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S));this._dateAdapter.sameDate(te,this._min)||(this._min=te,this._revalidate())}get max(){return this._max}set max(S){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S));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(S){const te=(0,T.Ig)(S);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 S=!!this._startInput&&this._startInput.isEmpty(),te=!!this._endInput&&this._endInput.isEmpty();return S&&te}setDescribedByIds(S){this._ariaDescribedBy=S.length?S.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,h.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(S){it(S,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(){return this._startInput?this._startInput.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 S=this._formField;return S&&S._hasFloatingLabel()?S._labelId:null}_updateFocus(S){this.focused=null!==S,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(S){this._startInput&&this._startInput._registerModel(S),this._endInput&&this._endInput._registerModel(S)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(z.ControlContainer,10),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(G.MAT_FORM_FIELD,8))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-date-range-input"]],contentQueries:function(S,te,ke){if(1&S&&(r.\u0275\u0275contentQuery(ke,li,5),r.\u0275\u0275contentQuery(ke,ti,5)),2&S){let Ye;r.\u0275\u0275queryRefresh(Ye=r.\u0275\u0275loadQuery())&&(te._startInput=Ye.first),r.\u0275\u0275queryRefresh(Ye=r.\u0275\u0275loadQuery())&&(te._endInput=Ye.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(S,te){2&S&&(r.\u0275\u0275attribute("id",null)("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:G.MatFormFieldControl,useExisting:J},{provide:Jt,useExisting:J}]),r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:Dt,decls:9,vars:4,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-start-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-end-wrapper"]],template:function(S,te){1&S&&(r.\u0275\u0275projectionDef(pt),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275listener("cdkFocusChange",function(Ye){return te._updateFocus(Ye)}),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\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\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&S&&(r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(te._getInputMirrorValue()),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-date-range-input-separator-hidden",te._shouldHideSeparator()),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(te.separator))},directives:[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-date-range-input-separator-hidden{-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-inner{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width: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;-moz-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;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;-moz-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;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;-moz-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;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;-moz-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;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-date-range-input-mirror{-webkit-user-select:none;-moz-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-date-range-input-start-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-start-wrapper .mat-date-range-input-inner{position:absolute;top:0;left:0}.mat-date-range-input-end-wrapper{flex-grow:1;max-width:calc(50% - 4px)}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}\n"],encapsulation:2,changeDetection:0}),J})(),Ln=(()=>{class J extends Ct{_forwardContentValues(S){super._forwardContentValues(S);const te=this.datepickerInput;te&&(S.comparisonStart=te.comparisonStart,S.comparisonEnd=te.comparisonEnd)}}return J.\u0275fac=function(){let Re;return function(te){return(Re||(Re=r.\u0275\u0275getInheritedFactory(J)))(te||J)}}(),J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[r.\u0275\u0275ProvidersFeature([_,Ue,{provide:Ct,useExisting:J}]),r.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(S,te){},encapsulation:2,changeDetection:0}),J})(),ri=(()=>{class J{constructor(S){this._datepicker=S}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Ct))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("click",function(){return te._applySelection()})}}),J})(),jn=(()=>{class J{constructor(S){this._datepicker=S}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Ct))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("click",function(){return te._datepicker.close()})}}),J})(),Se=(()=>{class J{constructor(S,te){this._datepicker=S,this._viewContainerRef=te}ngAfterViewInit(){this._portal=new u.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){var S;this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&(null===(S=this._portal)||void 0===S||S.detach())}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Ct),r.\u0275\u0275directiveInject(r.ViewContainerRef))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(S,te){if(1&S&&r.\u0275\u0275viewQuery(r.TemplateRef,5),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te._template=ke.first)}},ngContentSelectors:oe,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(S,te){1&S&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,Ie,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-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}\n"],encapsulation:2,changeDetection:0}),J})(),Xe=(()=>{class J{}return J.\u0275fac=function(S){return new(S||J)},J.\u0275mod=r.\u0275\u0275defineNgModule({type:J}),J.\u0275inj=r.\u0275\u0275defineInjector({providers:[Mt,V],imports:[[c.CommonModule,d.MatButtonModule,l.U8,n.rt,u.eL,p.MatCommonModule],m.ZD]}),J})()},4834:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatDivider:()=>c,MatDividerModule:()=>r});var n=o(5e3),l=o(3191),u=o(508);let c=(()=>{class d{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(p){this._vertical=(0,l.Ig)(p)}get inset(){return this._inset}set inset(p){this._inset=(0,l.Ig)(p)}}return d.\u0275fac=function(p){return new(p||d)},d.\u0275cmp=n.\u0275\u0275defineComponent({type:d,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(p,y){2&p&&(n.\u0275\u0275attribute("aria-orientation",y.vertical?"vertical":"horizontal"),n.\u0275\u0275classProp("mat-divider-vertical",y.vertical)("mat-divider-horizontal",!y.vertical)("mat-divider-inset",y.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(p,y){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),d})(),r=(()=>{class d{}return d.\u0275fac=function(p){return new(p||d)},d.\u0275mod=n.\u0275\u0275defineNgModule({type:d}),d.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.MatCommonModule],u.MatCommonModule]}),d})()},7322:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_ERROR:()=>ie,MAT_FORM_FIELD:()=>_e,MAT_FORM_FIELD_DEFAULT_OPTIONS:()=>mt,MAT_PREFIX:()=>bt,MAT_SUFFIX:()=>xt,MatError:()=>le,MatFormField:()=>Z,MatFormFieldControl:()=>Te,MatFormFieldModule:()=>j,MatHint:()=>Ie,MatLabel:()=>Qe,MatPlaceholder:()=>ct,MatPrefix:()=>Et,MatSuffix:()=>dt,_MAT_HINT:()=>Dt,getMatFormFieldDuplicatedHintError:()=>tt,getMatFormFieldMissingControlError:()=>ot,getMatFormFieldPlaceholderConflictError:()=>Ke,matFormFieldAnimations:()=>Ce});var n=o(7144),l=o(9808),u=o(5e3),c=o(508),r=o(3191),d=o(8929),m=o(6787),p=o(3753),y=o(1059),b=o(7625),h=o(2986),g=o(1777),s=o(6360),C=o(226),P=o(925);const w=["connectionContainer"],D=["inputContainer"],T=["label"];function Y(_,x){1&_&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275elementStart(1,"div",14),u.\u0275\u0275element(2,"div",15),u.\u0275\u0275element(3,"div",16),u.\u0275\u0275element(4,"div",17),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"div",18),u.\u0275\u0275element(6,"div",15),u.\u0275\u0275element(7,"div",16),u.\u0275\u0275element(8,"div",17),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd())}function $(_,x){if(1&_){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",19),u.\u0275\u0275listener("cdkObserveContent",function(){return u.\u0275\u0275restoreView(N),u.\u0275\u0275nextContext().updateOutlineGap()}),u.\u0275\u0275projection(1,1),u.\u0275\u0275elementEnd()}if(2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275property("cdkObserveContentDisabled","outline"!=N.appearance)}}function z(_,x){if(1&_&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275projection(1,2),u.\u0275\u0275elementStart(2,"span"),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd()),2&_){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(N._control.placeholder)}}function G(_,x){1&_&&u.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function X(_,x){1&_&&(u.\u0275\u0275elementStart(0,"span",23),u.\u0275\u0275text(1," *"),u.\u0275\u0275elementEnd())}function Q(_,x){if(1&_){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"label",20,21),u.\u0275\u0275listener("cdkObserveContent",function(){return u.\u0275\u0275restoreView(N),u.\u0275\u0275nextContext().updateOutlineGap()}),u.\u0275\u0275template(2,z,4,1,"ng-container",12),u.\u0275\u0275template(3,G,1,0,"ng-content",12),u.\u0275\u0275template(4,X,2,0,"span",22),u.\u0275\u0275elementEnd()}if(2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275classProp("mat-empty",N._control.empty&&!N._shouldAlwaysFloat())("mat-form-field-empty",N._control.empty&&!N._shouldAlwaysFloat())("mat-accent","accent"==N.color)("mat-warn","warn"==N.color),u.\u0275\u0275property("cdkObserveContentDisabled","outline"!=N.appearance)("id",N._labelId)("ngSwitch",N._hasLabel()),u.\u0275\u0275attribute("for",N._control.id)("aria-owns",N._control.id),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngSwitchCase",!1),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase",!0),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",!N.hideRequiredMarker&&N._control.required&&!N._control.disabled)}}function q(_,x){1&_&&(u.\u0275\u0275elementStart(0,"div",24),u.\u0275\u0275projection(1,4),u.\u0275\u0275elementEnd())}function ue(_,x){if(1&_&&(u.\u0275\u0275elementStart(0,"div",25),u.\u0275\u0275element(1,"span",26),u.\u0275\u0275elementEnd()),2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-accent","accent"==N.color)("mat-warn","warn"==N.color)}}function me(_,x){if(1&_&&(u.\u0275\u0275elementStart(0,"div"),u.\u0275\u0275projection(1,5),u.\u0275\u0275elementEnd()),2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275property("@transitionMessages",N._subscriptAnimationState)}}function xe(_,x){if(1&_&&(u.\u0275\u0275elementStart(0,"div",30),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&_){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275property("id",N._hintLabelId),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(N.hintLabel)}}function pe(_,x){if(1&_&&(u.\u0275\u0275elementStart(0,"div",27),u.\u0275\u0275template(1,xe,2,2,"div",28),u.\u0275\u0275projection(2,6),u.\u0275\u0275element(3,"div",29),u.\u0275\u0275projection(4,7),u.\u0275\u0275elementEnd()),2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275property("@transitionMessages",N._subscriptAnimationState),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",N.hintLabel)}}const oe=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ae=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let U=0;const ie=new u.InjectionToken("MatError");let le=(()=>{class _{constructor(N,ce){this.id="mat-error-"+U++,N||ce.nativeElement.setAttribute("aria-live","polite")}}return _.\u0275fac=function(N){return new(N||_)(u.\u0275\u0275injectAttribute("aria-live"),u.\u0275\u0275directiveInject(u.ElementRef))},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(N,ce){2&N&&u.\u0275\u0275attribute("id",ce.id)},inputs:{id:"id"},features:[u.\u0275\u0275ProvidersFeature([{provide:ie,useExisting:_}])]}),_})();const Ce={transitionMessages:(0,g.X$)("transitionMessages",[(0,g.SB)("enter",(0,g.oB)({opacity:1,transform:"translateY(0%)"})),(0,g.eR)("void => enter",[(0,g.oB)({opacity:0,transform:"translateY(-5px)"}),(0,g.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Te=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_}),_})();function Ke(){return Error("Placeholder attribute and child element were both specified.")}function tt(_){return Error(`A hint was already declared for 'align="${_}"'.`)}function ot(){return Error("mat-form-field must contain a MatFormFieldControl.")}let pt=0;const Dt=new u.InjectionToken("MatHint");let Ie=(()=>{class _{constructor(){this.align="start",this.id="mat-hint-"+pt++}}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(N,ce){2&N&&(u.\u0275\u0275attribute("id",ce.id)("align",null),u.\u0275\u0275classProp("mat-form-field-hint-end","end"===ce.align))},inputs:{align:"align",id:"id"},features:[u.\u0275\u0275ProvidersFeature([{provide:Dt,useExisting:_}])]}),_})(),Qe=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["mat-label"]]}),_})(),ct=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["mat-placeholder"]]}),_})();const bt=new u.InjectionToken("MatPrefix");let Et=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["","matPrefix",""]],features:[u.\u0275\u0275ProvidersFeature([{provide:bt,useExisting:_}])]}),_})();const xt=new u.InjectionToken("MatSuffix");let dt=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["","matSuffix",""]],features:[u.\u0275\u0275ProvidersFeature([{provide:xt,useExisting:_}])]}),_})(),Ne=0;const yt=(0,c.mixinColor)(class{constructor(_){this._elementRef=_}},"primary"),mt=new u.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),_e=new u.InjectionToken("MatFormField");let Z=(()=>{class _ extends yt{constructor(N,ce,Ue,Oe,ve,Ae,nt){super(N),this._changeDetectorRef=ce,this._dir=Ue,this._defaults=Oe,this._platform=ve,this._ngZone=Ae,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new d.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Ne++,this._labelId="mat-form-field-label-"+Ne++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==nt,this.appearance=Oe&&Oe.appearance?Oe.appearance:"legacy",this._hideRequiredMarker=!(!Oe||null==Oe.hideRequiredMarker)&&Oe.hideRequiredMarker}get appearance(){return this._appearance}set appearance(N){const ce=this._appearance;this._appearance=N||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&ce!==N&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(N){this._hideRequiredMarker=(0,r.Ig)(N)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(N){this._hintLabel=N,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(N){N!==this._floatLabel&&(this._floatLabel=N||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(N){this._explicitFormFieldControl=N}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const N=this._control;N.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${N.controlType}`),N.stateChanges.pipe((0,y.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),N.ngControl&&N.ngControl.valueChanges&&N.ngControl.valueChanges.pipe((0,b.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,b.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,m.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,y.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,y.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,b.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(N){const ce=this._control?this._control.ngControl:null;return ce&&ce[N]}_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,p.R)(this._label.nativeElement,"transitionend").pipe((0,h.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 N=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&N.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const ce=this._hintChildren?this._hintChildren.find(Oe=>"start"===Oe.align):null,Ue=this._hintChildren?this._hintChildren.find(Oe=>"end"===Oe.align):null;ce?N.push(ce.id):this._hintLabel&&N.push(this._hintLabelId),Ue&&N.push(Ue.id)}else this._errorChildren&&N.push(...this._errorChildren.map(ce=>ce.id));this._control.setDescribedByIds(N)}}_validateControlChild(){}updateOutlineGap(){const N=this._label?this._label.nativeElement:null;if(!("outline"===this.appearance&&N&&N.children.length&&N.textContent.trim()&&this._platform.isBrowser))return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let ce=0,Ue=0;const Oe=this._connectionContainerRef.nativeElement,ve=Oe.querySelectorAll(".mat-form-field-outline-start"),Ae=Oe.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const nt=Oe.getBoundingClientRect();if(0===nt.width&&0===nt.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const Pt=this._getStartEnd(nt),Ft=N.children,gt=this._getStartEnd(Ft[0].getBoundingClientRect());let Lt=0;for(let $e=0;$e0?.75*Lt+10:0}for(let nt=0;nt{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275mod=u.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=u.\u0275\u0275defineInjector({imports:[[l.CommonModule,c.MatCommonModule,n.Q8],c.MatCommonModule]}),_})()},5245:(he,A,o)=>{"use strict";o.r(A),o.d(A,{ICON_REGISTRY_PROVIDER:()=>xe,ICON_REGISTRY_PROVIDER_FACTORY:()=>me,MAT_ICON_LOCATION:()=>ie,MAT_ICON_LOCATION_FACTORY:()=>le,MatIcon:()=>tt,MatIconModule:()=>ot,MatIconRegistry:()=>ue,getMatIconFailedToSanitizeLiteralError:()=>Q,getMatIconFailedToSanitizeUrlError:()=>X,getMatIconNameNotFoundError:()=>z,getMatIconNoHttpProviderError:()=>G});var n=o(5e3),l=o(508),u=o(3191),c=o(9808),r=o(1086),d=o(1737),m=o(567),p=o(2654),y=o(2868),b=o(4850),h=o(7221),g=o(537),s=o(8117),C=o(2986),P=o(520),w=o(2313);const D=["*"];let T;function $(pt){var Dt;return(null===(Dt=function(){if(void 0===T&&(T=null,"undefined"!=typeof window)){const pt=window;void 0!==pt.trustedTypes&&(T=pt.trustedTypes.createPolicy("angular#components",{createHTML:Dt=>Dt}))}return T}())||void 0===Dt?void 0:Dt.createHTML(pt))||pt}function z(pt){return Error(`Unable to find icon with the name "${pt}"`)}function G(){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 X(pt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${pt}".`)}function Q(pt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${pt}".`)}class q{constructor(Dt,Ie,Qe){this.url=Dt,this.svgText=Ie,this.options=Qe}}let ue=(()=>{class pt{constructor(Ie,Qe,ct,bt){this._httpClient=Ie,this._sanitizer=Qe,this._errorHandler=bt,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",this._document=ct}addSvgIcon(Ie,Qe,ct){return this.addSvgIconInNamespace("",Ie,Qe,ct)}addSvgIconLiteral(Ie,Qe,ct){return this.addSvgIconLiteralInNamespace("",Ie,Qe,ct)}addSvgIconInNamespace(Ie,Qe,ct,bt){return this._addSvgIconConfig(Ie,Qe,new q(ct,null,bt))}addSvgIconResolver(Ie){return this._resolvers.push(Ie),this}addSvgIconLiteralInNamespace(Ie,Qe,ct,bt){const Et=this._sanitizer.sanitize(n.SecurityContext.HTML,ct);if(!Et)throw Q(ct);const xt=$(Et);return this._addSvgIconConfig(Ie,Qe,new q("",xt,bt))}addSvgIconSet(Ie,Qe){return this.addSvgIconSetInNamespace("",Ie,Qe)}addSvgIconSetLiteral(Ie,Qe){return this.addSvgIconSetLiteralInNamespace("",Ie,Qe)}addSvgIconSetInNamespace(Ie,Qe,ct){return this._addSvgIconSetConfig(Ie,new q(Qe,null,ct))}addSvgIconSetLiteralInNamespace(Ie,Qe,ct){const bt=this._sanitizer.sanitize(n.SecurityContext.HTML,Qe);if(!bt)throw Q(Qe);const Et=$(bt);return this._addSvgIconSetConfig(Ie,new q("",Et,ct))}registerFontClassAlias(Ie,Qe=Ie){return this._fontCssClassesByAlias.set(Ie,Qe),this}classNameForFontAlias(Ie){return this._fontCssClassesByAlias.get(Ie)||Ie}setDefaultFontSetClass(Ie){return this._defaultFontSetClass=Ie,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ie){const Qe=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Ie);if(!Qe)throw X(Ie);const ct=this._cachedIconsByUrl.get(Qe);return ct?(0,r.of)(pe(ct)):this._loadSvgIconFromConfig(new q(Ie,null)).pipe((0,y.b)(bt=>this._cachedIconsByUrl.set(Qe,bt)),(0,b.U)(bt=>pe(bt)))}getNamedSvgIcon(Ie,Qe=""){const ct=oe(Qe,Ie);let bt=this._svgIconConfigs.get(ct);if(bt)return this._getSvgFromConfig(bt);if(bt=this._getIconConfigFromResolvers(Qe,Ie),bt)return this._svgIconConfigs.set(ct,bt),this._getSvgFromConfig(bt);const Et=this._iconSetConfigs.get(Qe);return Et?this._getSvgFromIconSetConfigs(Ie,Et):(0,d._)(z(ct))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ie){return Ie.svgText?(0,r.of)(pe(this._svgElementFromConfig(Ie))):this._loadSvgIconFromConfig(Ie).pipe((0,b.U)(Qe=>pe(Qe)))}_getSvgFromIconSetConfigs(Ie,Qe){const ct=this._extractIconWithNameFromAnySet(Ie,Qe);if(ct)return(0,r.of)(ct);const bt=Qe.filter(Et=>!Et.svgText).map(Et=>this._loadSvgIconSetFromConfig(Et).pipe((0,h.K)(xt=>{const Ne=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Et.url)} failed: ${xt.message}`;return this._errorHandler.handleError(new Error(Ne)),(0,r.of)(null)})));return(0,m.D)(bt).pipe((0,b.U)(()=>{const Et=this._extractIconWithNameFromAnySet(Ie,Qe);if(!Et)throw z(Ie);return Et}))}_extractIconWithNameFromAnySet(Ie,Qe){for(let ct=Qe.length-1;ct>=0;ct--){const bt=Qe[ct];if(bt.svgText&&bt.svgText.toString().indexOf(Ie)>-1){const Et=this._svgElementFromConfig(bt),xt=this._extractSvgIconFromSet(Et,Ie,bt.options);if(xt)return xt}}return null}_loadSvgIconFromConfig(Ie){return this._fetchIcon(Ie).pipe((0,y.b)(Qe=>Ie.svgText=Qe),(0,b.U)(()=>this._svgElementFromConfig(Ie)))}_loadSvgIconSetFromConfig(Ie){return Ie.svgText?(0,r.of)(null):this._fetchIcon(Ie).pipe((0,y.b)(Qe=>Ie.svgText=Qe))}_extractSvgIconFromSet(Ie,Qe,ct){const bt=Ie.querySelector(`[id="${Qe}"]`);if(!bt)return null;const Et=bt.cloneNode(!0);if(Et.removeAttribute("id"),"svg"===Et.nodeName.toLowerCase())return this._setSvgAttributes(Et,ct);if("symbol"===Et.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Et),ct);const xt=this._svgElementFromString($(""));return xt.appendChild(Et),this._setSvgAttributes(xt,ct)}_svgElementFromString(Ie){const Qe=this._document.createElement("DIV");Qe.innerHTML=Ie;const ct=Qe.querySelector("svg");if(!ct)throw Error(" tag not found");return ct}_toSvgElement(Ie){const Qe=this._svgElementFromString($("")),ct=Ie.attributes;for(let bt=0;bt$(rt)),(0,g.x)(()=>this._inProgressUrlFetches.delete(xt)),(0,s.B)());return this._inProgressUrlFetches.set(xt,Ne),Ne}_addSvgIconConfig(Ie,Qe,ct){return this._svgIconConfigs.set(oe(Ie,Qe),ct),this}_addSvgIconSetConfig(Ie,Qe){const ct=this._iconSetConfigs.get(Ie);return ct?ct.push(Qe):this._iconSetConfigs.set(Ie,[Qe]),this}_svgElementFromConfig(Ie){if(!Ie.svgElement){const Qe=this._svgElementFromString(Ie.svgText);this._setSvgAttributes(Qe,Ie.options),Ie.svgElement=Qe}return Ie.svgElement}_getIconConfigFromResolvers(Ie,Qe){for(let ct=0;ctDt?Dt.pathname+Dt.search:""}}const Ce=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Te=Ce.map(pt=>`[${pt}]`).join(", "),Ke=/^url\(['"]?#(.*?)['"]?\)$/;let tt=(()=>{class pt extends U{constructor(Ie,Qe,ct,bt,Et){super(Ie),this._iconRegistry=Qe,this._location=bt,this._errorHandler=Et,this._inline=!1,this._currentIconFetch=p.w.EMPTY,ct||Ie.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Ie){this._inline=(0,u.Ig)(Ie)}get svgIcon(){return this._svgIcon}set svgIcon(Ie){Ie!==this._svgIcon&&(Ie?this._updateSvgIcon(Ie):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ie)}get fontSet(){return this._fontSet}set fontSet(Ie){const Qe=this._cleanupFontValue(Ie);Qe!==this._fontSet&&(this._fontSet=Qe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ie){const Qe=this._cleanupFontValue(Ie);Qe!==this._fontIcon&&(this._fontIcon=Qe,this._updateFontIconClasses())}_splitIconName(Ie){if(!Ie)return["",""];const Qe=Ie.split(":");switch(Qe.length){case 1:return["",Qe[0]];case 2:return Qe;default:throw Error(`Invalid icon name: "${Ie}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ie=this._elementsWithExternalReferences;if(Ie&&Ie.size){const Qe=this._location.getPathname();Qe!==this._previousPath&&(this._previousPath=Qe,this._prependPathToReferences(Qe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ie){this._clearSvgElement();const Qe=Ie.querySelectorAll("style");for(let bt=0;bt{ct.forEach(Et=>{bt.setAttribute(Et.name,`url('${Ie}#${Et.value}')`)})})}_cacheChildrenWithExternalReferences(Ie){const Qe=Ie.querySelectorAll(Te),ct=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let bt=0;bt{const xt=Qe[bt],dt=xt.getAttribute(Et),Ne=dt?dt.match(Ke):null;if(Ne){let rt=ct.get(xt);rt||(rt=[],ct.set(xt,rt)),rt.push({name:Et,value:Ne[1]})}})}_updateSvgIcon(Ie){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ie){const[Qe,ct]=this._splitIconName(Ie);Qe&&(this._svgNamespace=Qe),ct&&(this._svgName=ct),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(ct,Qe).pipe((0,C.q)(1)).subscribe(bt=>this._setSvgElement(bt),bt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Qe}:${ct}! ${bt.message}`))})}}}return pt.\u0275fac=function(Ie){return new(Ie||pt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(ue),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(ie),n.\u0275\u0275directiveInject(n.ErrorHandler))},pt.\u0275cmp=n.\u0275\u0275defineComponent({type:pt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(Ie,Qe){2&Ie&&(n.\u0275\u0275attribute("data-mat-icon-type",Qe._usingFontIcon()?"font":"svg")("data-mat-icon-name",Qe._svgName||Qe.fontIcon)("data-mat-icon-namespace",Qe._svgNamespace||Qe.fontSet),n.\u0275\u0275classProp("mat-icon-inline",Qe.inline)("mat-icon-no-color","primary"!==Qe.color&&"accent"!==Qe.color&&"warn"!==Qe.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:D,decls:1,vars:0,template:function(Ie,Qe){1&Ie&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[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}\n"],encapsulation:2,changeDetection:0}),pt})(),ot=(()=>{class pt{}return pt.\u0275fac=function(Ie){return new(Ie||pt)},pt.\u0275mod=n.\u0275\u0275defineNgModule({type:pt}),pt.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.MatCommonModule],l.MatCommonModule]}),pt})()},7531:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_INPUT_VALUE_ACCESSOR:()=>P,MatInput:()=>Y,MatInputModule:()=>$,getMatInputUnsupportedTypeError:()=>C});var n=o(3191),l=o(925),u=o(5e3),c=o(3075),r=o(508),d=o(7322),m=o(8929),p=o(8896);const y=(0,l.i$)({passive:!0});let b=(()=>{class z{constructor(X,Q){this._platform=X,this._ngZone=Q,this._monitoredElements=new Map}monitor(X){if(!this._platform.isBrowser)return p.E;const Q=(0,n.fI)(X),q=this._monitoredElements.get(Q);if(q)return q.subject;const ue=new m.xQ,me="cdk-text-field-autofilled",xe=pe=>{"cdk-text-field-autofill-start"!==pe.animationName||Q.classList.contains(me)?"cdk-text-field-autofill-end"===pe.animationName&&Q.classList.contains(me)&&(Q.classList.remove(me),this._ngZone.run(()=>ue.next({target:pe.target,isAutofilled:!1}))):(Q.classList.add(me),this._ngZone.run(()=>ue.next({target:pe.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Q.addEventListener("animationstart",xe,y),Q.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Q,{subject:ue,unlisten:()=>{Q.removeEventListener("animationstart",xe,y)}}),ue}stopMonitoring(X){const Q=(0,n.fI)(X),q=this._monitoredElements.get(Q);q&&(q.unlisten(),q.subject.complete(),Q.classList.remove("cdk-text-field-autofill-monitored"),Q.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Q))}ngOnDestroy(){this._monitoredElements.forEach((X,Q)=>this.stopMonitoring(Q))}}return z.\u0275fac=function(X){return new(X||z)(u.\u0275\u0275inject(l.t4),u.\u0275\u0275inject(u.NgZone))},z.\u0275prov=u.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac,providedIn:"root"}),z})(),s=(()=>{class z{}return z.\u0275fac=function(X){return new(X||z)},z.\u0275mod=u.\u0275\u0275defineNgModule({type:z}),z.\u0275inj=u.\u0275\u0275defineInjector({imports:[[l.ud]]}),z})();function C(z){return Error(`Input type "${z}" isn't supported by matInput.`)}const P=new u.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),w=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let D=0;const T=(0,r.mixinErrorState)(class{constructor(z,G,X,Q){this._defaultErrorStateMatcher=z,this._parentForm=G,this._parentFormGroup=X,this.ngControl=Q}});let Y=(()=>{class z extends T{constructor(X,Q,q,ue,me,xe,pe,oe,ae,U){super(xe,ue,me,q),this._elementRef=X,this._platform=Q,this._autofillMonitor=oe,this._formField=U,this._uid="mat-input-"+D++,this.focused=!1,this.stateChanges=new m.xQ,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(Ce=>(0,l.qK)().has(Ce));const ie=this._elementRef.nativeElement,le=ie.nodeName.toLowerCase();this._inputValueAccessor=pe||ie,this._previousNativeValue=this.value,this.id=this.id,Q.IOS&&ae.runOutsideAngular(()=>{X.nativeElement.addEventListener("keyup",Ce=>{const Te=Ce.target;!Te.value&&0===Te.selectionStart&&0===Te.selectionEnd&&(Te.setSelectionRange(1,1),Te.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===le,this._isTextarea="textarea"===le,this._isInFormField=!!U,this._isNativeSelect&&(this.controlType=ie.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(X){this._disabled=(0,n.Ig)(X),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(X){this._id=X||this._uid}get required(){var X,Q,q,ue;return null!==(ue=null!==(X=this._required)&&void 0!==X?X:null===(q=null===(Q=this.ngControl)||void 0===Q?void 0:Q.control)||void 0===q?void 0:q.hasValidator(c.Validators.required))&&void 0!==ue&&ue}set required(X){this._required=(0,n.Ig)(X)}get type(){return this._type}set type(X){this._type=X||"text",this._validateType(),!this._isTextarea&&(0,l.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(X){X!==this.value&&(this._inputValueAccessor.value=X,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(X){this._readonly=(0,n.Ig)(X)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(X=>{this.autofilled=X.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(X){this._elementRef.nativeElement.focus(X)}_focusChanged(X){X!==this.focused&&(this.focused=X,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var X,Q;const q=(null===(Q=null===(X=this._formField)||void 0===X?void 0:X._hideControlPlaceholder)||void 0===Q?void 0:Q.call(X))?null:this.placeholder;if(q!==this._previousPlaceholder){const ue=this._elementRef.nativeElement;this._previousPlaceholder=q,q?ue.setAttribute("placeholder",q):ue.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const X=this._elementRef.nativeElement.value;this._previousNativeValue!==X&&(this._previousNativeValue=X,this.stateChanges.next())}_validateType(){w.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let X=this._elementRef.nativeElement.validity;return X&&X.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const X=this._elementRef.nativeElement,Q=X.options[0];return this.focused||X.multiple||!this.empty||!!(X.selectedIndex>-1&&Q&&Q.label)}return this.focused||!this.empty}setDescribedByIds(X){X.length?this._elementRef.nativeElement.setAttribute("aria-describedby",X.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const X=this._elementRef.nativeElement;return this._isNativeSelect&&(X.multiple||X.size>1)}}return z.\u0275fac=function(X){return new(X||z)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(l.t4),u.\u0275\u0275directiveInject(c.NgControl,10),u.\u0275\u0275directiveInject(c.NgForm,8),u.\u0275\u0275directiveInject(c.FormGroupDirective,8),u.\u0275\u0275directiveInject(r.ErrorStateMatcher),u.\u0275\u0275directiveInject(P,10),u.\u0275\u0275directiveInject(b),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(d.MAT_FORM_FIELD,8))},z.\u0275dir=u.\u0275\u0275defineDirective({type:z,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:11,hostBindings:function(X,Q){1&X&&u.\u0275\u0275listener("focus",function(){return Q._focusChanged(!0)})("blur",function(){return Q._focusChanged(!1)})("input",function(){return Q._onInput()}),2&X&&(u.\u0275\u0275hostProperty("disabled",Q.disabled)("required",Q.required),u.\u0275\u0275attribute("id",Q.id)("data-placeholder",Q.placeholder)("readonly",Q.readonly&&!Q._isNativeSelect||null)("aria-invalid",Q.empty&&Q.required?null:Q.errorState)("aria-required",Q.required),u.\u0275\u0275classProp("mat-input-server",Q._isServer)("mat-native-select-inline",Q._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[u.\u0275\u0275ProvidersFeature([{provide:d.MatFormFieldControl,useExisting:z}]),u.\u0275\u0275InheritDefinitionFeature,u.\u0275\u0275NgOnChangesFeature]}),z})(),$=(()=>{class z{}return z.\u0275fac=function(X){return new(X||z)},z.\u0275mod=u.\u0275\u0275defineNgModule({type:z}),z.\u0275inj=u.\u0275\u0275defineInjector({providers:[r.ErrorStateMatcher],imports:[[s,d.MatFormFieldModule,r.MatCommonModule],s,d.MatFormFieldModule]}),z})()},2181:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_MENU_CONTENT:()=>ae,MAT_MENU_DEFAULT_OPTIONS:()=>Dt,MAT_MENU_PANEL:()=>tt,MAT_MENU_SCROLL_STRATEGY:()=>Et,MatMenu:()=>bt,MatMenuContent:()=>ie,MatMenuItem:()=>pt,MatMenuModule:()=>mt,MatMenuTrigger:()=>yt,_MatMenuBase:()=>ct,_MatMenuContentBase:()=>U,_MatMenuTriggerBase:()=>ze,fadeInItems:()=>pe,matMenuAnimations:()=>xe,transformMenu:()=>oe});var n=o(5664),l=o(3191),u=o(1159),c=o(5e3),r=o(8929),d=o(2654),m=o(6787),p=o(1086),y=o(8139),b=o(1059),h=o(7545),g=o(2986),s=o(2198),C=o(7625),P=o(943),w=o(1777),D=o(7429),T=o(9808),Y=o(508),$=o(1314),z=o(925),G=o(226),X=o(9071);const Q=["mat-menu-item",""];function q(_e,Z){1&_e&&(c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(0,"svg",2),c.\u0275\u0275element(1,"polygon",3),c.\u0275\u0275elementEnd())}const ue=["*"];function me(_e,Z){if(1&_e){const j=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"div",0),c.\u0275\u0275listener("keydown",function(x){return c.\u0275\u0275restoreView(j),c.\u0275\u0275nextContext()._handleKeydown(x)})("click",function(){return c.\u0275\u0275restoreView(j),c.\u0275\u0275nextContext().closed.emit("click")})("@transformMenu.start",function(x){return c.\u0275\u0275restoreView(j),c.\u0275\u0275nextContext()._onAnimationStart(x)})("@transformMenu.done",function(x){return c.\u0275\u0275restoreView(j),c.\u0275\u0275nextContext()._onAnimationDone(x)}),c.\u0275\u0275elementStart(1,"div",1),c.\u0275\u0275projection(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd()}if(2&_e){const j=c.\u0275\u0275nextContext();c.\u0275\u0275property("id",j.panelId)("ngClass",j._classList)("@transformMenu",j._panelAnimationState),c.\u0275\u0275attribute("aria-label",j.ariaLabel||null)("aria-labelledby",j.ariaLabelledby||null)("aria-describedby",j.ariaDescribedby||null)}}const xe={transformMenu:(0,w.X$)("transformMenu",[(0,w.SB)("void",(0,w.oB)({opacity:0,transform:"scale(0.8)"})),(0,w.eR)("void => enter",(0,w.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,w.oB)({opacity:1,transform:"scale(1)"}))),(0,w.eR)("* => void",(0,w.jt)("100ms 25ms linear",(0,w.oB)({opacity:0})))]),fadeInItems:(0,w.X$)("fadeInItems",[(0,w.SB)("showing",(0,w.oB)({opacity:1})),(0,w.eR)("void => *",[(0,w.oB)({opacity:0}),(0,w.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},pe=xe.fadeInItems,oe=xe.transformMenu,ae=new c.InjectionToken("MatMenuContent");let U=(()=>{class _e{constructor(j,_,x,N,ce,Ue,Oe){this._template=j,this._componentFactoryResolver=_,this._appRef=x,this._injector=N,this._viewContainerRef=ce,this._document=Ue,this._changeDetectorRef=Oe,this._attached=new r.xQ}attach(j={}){this._portal||(this._portal=new D.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new D.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const _=this._template.elementRef.nativeElement;_.parentNode.insertBefore(this._outlet.outletElement,_),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,j),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return _e.\u0275fac=function(j){return new(j||_e)(c.\u0275\u0275directiveInject(c.TemplateRef),c.\u0275\u0275directiveInject(c.ComponentFactoryResolver),c.\u0275\u0275directiveInject(c.ApplicationRef),c.\u0275\u0275directiveInject(c.Injector),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(T.DOCUMENT),c.\u0275\u0275directiveInject(c.ChangeDetectorRef))},_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e}),_e})(),ie=(()=>{class _e extends U{}return _e.\u0275fac=function(){let Z;return function(_){return(Z||(Z=c.\u0275\u0275getInheritedFactory(_e)))(_||_e)}}(),_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["ng-template","matMenuContent",""]],features:[c.\u0275\u0275ProvidersFeature([{provide:ae,useExisting:_e}]),c.\u0275\u0275InheritDefinitionFeature]}),_e})();const tt=new c.InjectionToken("MAT_MENU_PANEL"),ot=(0,Y.mixinDisableRipple)((0,Y.mixinDisabled)(class{}));let pt=(()=>{class _e extends ot{constructor(j,_,x,N,ce){super(),this._elementRef=j,this._focusMonitor=x,this._parentMenu=N,this._changeDetectorRef=ce,this.role="menuitem",this._hovered=new r.xQ,this._focused=new r.xQ,this._highlighted=!1,this._triggersSubmenu=!1,N&&N.addItem&&N.addItem(this)}focus(j,_){this._focusMonitor&&j?this._focusMonitor.focusVia(this._getHostElement(),j,_):this._getHostElement().focus(_),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(j){this.disabled&&(j.preventDefault(),j.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var j;const _=this._elementRef.nativeElement.cloneNode(!0),x=_.querySelectorAll("mat-icon, .material-icons");for(let N=0;N{class _e{constructor(j,_,x){this._elementRef=j,this._ngZone=_,this._defaultOptions=x,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new c.QueryList,this._tabSubscription=d.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new r.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new c.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+Qe++}get xPosition(){return this._xPosition}set xPosition(j){this._xPosition=j,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(j){this._yPosition=j,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(j){this._overlapTrigger=(0,l.Ig)(j)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(j){this._hasBackdrop=(0,l.Ig)(j)}set panelClass(j){const _=this._previousPanelClass;_&&_.length&&_.split(" ").forEach(x=>{this._classList[x]=!1}),this._previousPanelClass=j,j&&j.length&&(j.split(" ").forEach(x=>{this._classList[x]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(j){this.panelClass=j}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new n.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,b.O)(this._directDescendantItems),(0,h.w)(j=>(0,m.T)(...j.map(_=>_._focused)))).subscribe(j=>this._keyManager.updateActiveItem(j))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,b.O)(this._directDescendantItems),(0,h.w)(_=>(0,m.T)(..._.map(x=>x._hovered))))}addItem(j){}removeItem(j){}_handleKeydown(j){const _=j.keyCode,x=this._keyManager;switch(_){case u.hY:(0,u.Vb)(j)||(j.preventDefault(),this.closed.emit("keydown"));break;case u.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case u.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:(_===u.LH||_===u.JH)&&x.setFocusOrigin("keyboard"),x.onKeydown(j)}}focusFirstItem(j="program"){this.lazyContent?this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(()=>this._focusFirstItem(j)):this._focusFirstItem(j)}_focusFirstItem(j){const _=this._keyManager;if(_.setFocusOrigin(j).setFirstItemActive(),!_.activeItem&&this._directDescendantItems.length){let x=this._directDescendantItems.first._getHostElement().parentElement;for(;x;){if("menu"===x.getAttribute("role")){x.focus();break}x=x.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(j){const _=Math.min(this._baseElevation+j,24),x=`${this._elevationPrefix}${_}`,N=Object.keys(this._classList).find(ce=>ce.startsWith(this._elevationPrefix));(!N||N===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[x]=!0,this._previousElevation=x)}setPositionClasses(j=this.xPosition,_=this.yPosition){const x=this._classList;x["mat-menu-before"]="before"===j,x["mat-menu-after"]="after"===j,x["mat-menu-above"]="above"===_,x["mat-menu-below"]="below"===_}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(j){this._animationDone.next(j),this._isAnimating=!1}_onAnimationStart(j){this._isAnimating=!0,"enter"===j.toState&&0===this._keyManager.activeItemIndex&&(j.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,b.O)(this._allItems)).subscribe(j=>{this._directDescendantItems.reset(j.filter(_=>_._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return _e.\u0275fac=function(j){return new(j||_e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(Dt))},_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e,contentQueries:function(j,_,x){if(1&j&&(c.\u0275\u0275contentQuery(x,ae,5),c.\u0275\u0275contentQuery(x,pt,5),c.\u0275\u0275contentQuery(x,pt,4)),2&j){let N;c.\u0275\u0275queryRefresh(N=c.\u0275\u0275loadQuery())&&(_.lazyContent=N.first),c.\u0275\u0275queryRefresh(N=c.\u0275\u0275loadQuery())&&(_._allItems=N),c.\u0275\u0275queryRefresh(N=c.\u0275\u0275loadQuery())&&(_.items=N)}},viewQuery:function(j,_){if(1&j&&c.\u0275\u0275viewQuery(c.TemplateRef,5),2&j){let x;c.\u0275\u0275queryRefresh(x=c.\u0275\u0275loadQuery())&&(_.templateRef=x.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"}}),_e})(),bt=(()=>{class _e extends ct{constructor(j,_,x){super(j,_,x),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return _e.\u0275fac=function(j){return new(j||_e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(Dt))},_e.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(j,_){2&j&&c.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[c.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:_e}]),c.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ue,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(j,_){1&j&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275template(0,me,3,6,"ng-template"))},directives:[T.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}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 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}\n"],encapsulation:2,data:{animation:[xe.transformMenu,xe.fadeInItems]},changeDetection:0}),_e})();const Et=new c.InjectionToken("mat-menu-scroll-strategy"),dt={provide:Et,deps:[$.aV],useFactory:function(_e){return()=>_e.scrollStrategies.reposition()}},rt=(0,z.i$)({passive:!0});let ze=(()=>{class _e{constructor(j,_,x,N,ce,Ue,Oe,ve){this._overlay=j,this._element=_,this._viewContainerRef=x,this._menuItemInstance=Ue,this._dir=Oe,this._focusMonitor=ve,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=d.w.EMPTY,this._hoverSubscription=d.w.EMPTY,this._menuCloseSubscription=d.w.EMPTY,this._handleTouchStart=Ae=>{(0,n.yG)(Ae)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new c.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new c.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=N,this._parentMaterialMenu=ce instanceof ct?ce:void 0,_.nativeElement.addEventListener("touchstart",this._handleTouchStart,rt),Ue&&(Ue._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(j){this.menu=j}get menu(){return this._menu}set menu(j){j!==this._menu&&(this._menu=j,this._menuCloseSubscription.unsubscribe(),j&&(this._menuCloseSubscription=j.close.subscribe(_=>{this._destroyMenu(_),("click"===_||"tab"===_)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(_)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,rt),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)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const j=this._createOverlay(),_=j.getConfig();this._setPosition(_.positionStrategy),_.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,j.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof ct&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(j,_){this._focusMonitor&&j?this._focusMonitor.focusVia(this._element,j,_):this._element.nativeElement.focus(_)}updatePosition(){var j;null===(j=this._overlayRef)||void 0===j||j.updatePosition()}_destroyMenu(j){if(!this._overlayRef||!this.menuOpen)return;const _=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===j||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,_ instanceof ct?(_._resetAnimation(),_.lazyContent?_._animationDone.pipe((0,s.h)(x=>"void"===x.toState),(0,g.q)(1),(0,C.R)(_.lazyContent._attached)).subscribe({next:()=>_.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),_.lazyContent&&_.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let j=0,_=this.menu.parentMenu;for(;_;)j++,_=_.parentMenu;this.menu.setElevation(j)}}_setIsMenuOpen(j){this._menuOpen=j,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(j)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const j=this._getOverlayConfig();this._subscribeToPositions(j.positionStrategy),this._overlayRef=this._overlay.create(j),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new $.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(j){this.menu.setPositionClasses&&j.positionChanges.subscribe(_=>{this.menu.setPositionClasses("start"===_.connectionPair.overlayX?"after":"before","top"===_.connectionPair.overlayY?"below":"above")})}_setPosition(j){let[_,x]="before"===this.menu.xPosition?["end","start"]:["start","end"],[N,ce]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[Ue,Oe]=[N,ce],[ve,Ae]=[_,x],nt=0;this.triggersSubmenu()?(Ae=_="before"===this.menu.xPosition?"start":"end",x=ve="end"===_?"start":"end",nt="bottom"===N?8:-8):this.menu.overlapTrigger||(Ue="top"===N?"bottom":"top",Oe="top"===ce?"bottom":"top"),j.withPositions([{originX:_,originY:Ue,overlayX:ve,overlayY:N,offsetY:nt},{originX:x,originY:Ue,overlayX:Ae,overlayY:N,offsetY:nt},{originX:_,originY:Oe,overlayX:ve,overlayY:ce,offsetY:-nt},{originX:x,originY:Oe,overlayX:Ae,overlayY:ce,offsetY:-nt}])}_menuClosingActions(){const j=this._overlayRef.backdropClick(),_=this._overlayRef.detachments(),x=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,p.of)(),N=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,s.h)(ce=>ce!==this._menuItemInstance),(0,s.h)(()=>this._menuOpen)):(0,p.of)();return(0,m.T)(j,x,N,_)}_handleMousedown(j){(0,n.X6)(j)||(this._openedBy=0===j.button?"mouse":void 0,this.triggersSubmenu()&&j.preventDefault())}_handleKeydown(j){const _=j.keyCode;(_===u.K5||_===u.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(_===u.SV&&"ltr"===this.dir||_===u.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(j){this.triggersSubmenu()?(j.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,s.h)(j=>j===this._menuItemInstance&&!j.disabled),(0,P.g)(0,y.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ct&&this.menu._isAnimating?this.menu._animationDone.pipe((0,g.q)(1),(0,P.g)(0,y.E),(0,C.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new D.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return _e.\u0275fac=function(j){return new(j||_e)(c.\u0275\u0275directiveInject($.aV),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(Et),c.\u0275\u0275directiveInject(tt,8),c.\u0275\u0275directiveInject(pt,10),c.\u0275\u0275directiveInject(G.Is,8),c.\u0275\u0275directiveInject(n.tE))},_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(j,_){1&j&&c.\u0275\u0275listener("click",function(N){return _._handleClick(N)})("mousedown",function(N){return _._handleMousedown(N)})("keydown",function(N){return _._handleKeydown(N)}),2&j&&c.\u0275\u0275attribute("aria-expanded",_.menuOpen||null)("aria-controls",_.menuOpen?_.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"}}),_e})(),yt=(()=>{class _e extends ze{}return _e.\u0275fac=function(){let Z;return function(_){return(Z||(Z=c.\u0275\u0275getInheritedFactory(_e)))(_||_e)}}(),_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[c.\u0275\u0275InheritDefinitionFeature]}),_e})(),mt=(()=>{class _e{}return _e.\u0275fac=function(j){return new(j||_e)},_e.\u0275mod=c.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=c.\u0275\u0275defineInjector({providers:[dt],imports:[[T.CommonModule,Y.MatCommonModule,Y.MatRippleModule,$.U8],X.ZD,Y.MatCommonModule]}),_e})()},7850:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_PAGINATOR_DEFAULT_OPTIONS:()=>ve,MAT_PAGINATOR_INTL_PROVIDER:()=>ce,MAT_PAGINATOR_INTL_PROVIDER_FACTORY:()=>N,MatPaginator:()=>Pt,MatPaginatorIntl:()=>x,MatPaginatorModule:()=>Ft,PageEvent:()=>Oe,_MatPaginatorBase:()=>nt});var n=o(9808),l=o(5e3),u=o(508),c=o(7423),r=o(4107),d=o(1314),m=o(5664),p=o(9071),y=o(3191),b=o(1159),h=o(8929),g=o(6053),s=o(1961),C=o(6498),P=o(2986),w=o(1307),D=o(13),T=o(4850),Y=o(1059),$=o(7625),z=o(925);const X=new Set;let Q,q=(()=>{class gt{constructor($e){this._platform=$e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):me}matchMedia($e){return(this._platform.WEBKIT||this._platform.BLINK)&&function(gt){if(!X.has(gt))try{Q||(Q=document.createElement("style"),Q.setAttribute("type","text/css"),document.head.appendChild(Q)),Q.sheet&&(Q.sheet.insertRule(`@media ${gt} {body{ }}`,0),X.add(gt))}catch(Lt){console.error(Lt)}}($e),this._matchMedia($e)}}return gt.\u0275fac=function($e){return new($e||gt)(l.\u0275\u0275inject(z.t4))},gt.\u0275prov=l.\u0275\u0275defineInjectable({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})();function me(gt){return{matches:"all"===gt||""===gt,media:gt,addListener:()=>{},removeListener:()=>{}}}let xe=(()=>{class gt{constructor($e,_t){this._mediaMatcher=$e,this._zone=_t,this._queries=new Map,this._destroySubject=new h.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched($e){return pe((0,y.Eq)($e)).some(Mt=>this._registerQuery(Mt).mql.matches)}observe($e){const Mt=pe((0,y.Eq)($e)).map(lt=>this._registerQuery(lt).observable);let Ge=(0,g.aj)(Mt);return Ge=(0,s.z)(Ge.pipe((0,P.q)(1)),Ge.pipe((0,w.T)(1),(0,D.b)(0))),Ge.pipe((0,T.U)(lt=>{const Ot={matches:!1,breakpoints:{}};return lt.forEach(({matches:Nt,query:Pe})=>{Ot.matches=Ot.matches||Nt,Ot.breakpoints[Pe]=Nt}),Ot}))}_registerQuery($e){if(this._queries.has($e))return this._queries.get($e);const _t=this._mediaMatcher.matchMedia($e),Ge={observable:new C.y(lt=>{const Ot=Nt=>this._zone.run(()=>lt.next(Nt));return _t.addListener(Ot),()=>{_t.removeListener(Ot)}}).pipe((0,Y.O)(_t),(0,T.U)(({matches:lt})=>({query:$e,matches:lt})),(0,$.R)(this._destroySubject)),mql:_t};return this._queries.set($e,Ge),Ge}}return gt.\u0275fac=function($e){return new($e||gt)(l.\u0275\u0275inject(q),l.\u0275\u0275inject(l.NgZone))},gt.\u0275prov=l.\u0275\u0275defineInjectable({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})();function pe(gt){return gt.map(Lt=>Lt.split(",")).reduce((Lt,$e)=>Lt.concat($e)).map(Lt=>Lt.trim())}var ae=o(7429),U=o(1777),ie=o(226);const le={tooltipState:(0,U.X$)("state",[(0,U.SB)("initial, void, hidden",(0,U.oB)({opacity:0,transform:"scale(0)"})),(0,U.SB)("visible",(0,U.oB)({transform:"scale(1)"})),(0,U.eR)("* => visible",(0,U.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,U.F4)([(0,U.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,U.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,U.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,U.eR)("* => hidden",(0,U.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,U.oB)({opacity:0})))])},Ke="tooltip-panel",tt=(0,z.i$)({passive:!0}),Dt=new l.InjectionToken("mat-tooltip-scroll-strategy"),Qe={provide:Dt,deps:[d.aV],useFactory:function(gt){return()=>gt.scrollStrategies.reposition({scrollThrottle:20})}},ct=new l.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Et=(()=>{class gt{constructor($e,_t,Mt,Ge,lt,Ot,Nt,Pe,Ee,B,V,be){this._overlay=$e,this._elementRef=_t,this._scrollDispatcher=Mt,this._viewContainerRef=Ge,this._ngZone=lt,this._platform=Ot,this._ariaDescriber=Nt,this._focusMonitor=Pe,this._dir=B,this._defaultOptions=V,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new h.xQ,this._handleKeydown=je=>{this._isTooltipVisible()&&je.keyCode===b.hY&&!(0,b.Vb)(je)&&(je.preventDefault(),je.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=Ee,this._document=be,V&&(V.position&&(this.position=V.position),V.touchGestures&&(this.touchGestures=V.touchGestures)),B.change.pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),lt.runOutsideAngular(()=>{_t.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position($e){var _t;$e!==this._position&&(this._position=$e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(_t=this._tooltipInstance)||void 0===_t||_t.show(0),this._overlayRef.updatePosition()))}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)}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)}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),$e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([_t,Mt])=>{$e.removeEventListener(_t,Mt,tt)}),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){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const _t=this._createOverlay();this._detach(),this._portal=this._portal||new ae.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=_t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,$.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show($e)}hide($e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide($e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const $e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),_t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers($e);return _t.positionChanges.pipe((0,$.R)(this._destroyed)).subscribe(Mt=>{this._updateCurrentPositionClass(Mt.connectionPair),this._tooltipInstance&&Mt.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:_t,panelClass:`${this._cssClassPrefix}-${Ke}`,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(()=>{var Mt;return null===(Mt=this._tooltipInstance)||void 0===Mt?void 0:Mt._handleBodyInteraction()}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition($e){const _t=$e.getConfig().positionStrategy,Mt=this._getOrigin(),Ge=this._getOverlayPosition();_t.withPositions([this._addOffset(Object.assign(Object.assign({},Mt.main),Ge.main)),this._addOffset(Object.assign(Object.assign({},Mt.fallback),Ge.fallback))])}_addOffset($e){return $e}_getOrigin(){const $e=!this._dir||"ltr"==this._dir.value,_t=this.position;let Mt;"above"==_t||"below"==_t?Mt={originX:"center",originY:"above"==_t?"top":"bottom"}:"before"==_t||"left"==_t&&$e||"right"==_t&&!$e?Mt={originX:"start",originY:"center"}:("after"==_t||"right"==_t&&$e||"left"==_t&&!$e)&&(Mt={originX:"end",originY:"center"});const{x:Ge,y:lt}=this._invertPosition(Mt.originX,Mt.originY);return{main:Mt,fallback:{originX:Ge,originY:lt}}}_getOverlayPosition(){const $e=!this._dir||"ltr"==this._dir.value,_t=this.position;let Mt;"above"==_t?Mt={overlayX:"center",overlayY:"bottom"}:"below"==_t?Mt={overlayX:"center",overlayY:"top"}:"before"==_t||"left"==_t&&$e||"right"==_t&&!$e?Mt={overlayX:"end",overlayY:"center"}:("after"==_t||"right"==_t&&$e||"left"==_t&&!$e)&&(Mt={overlayX:"start",overlayY:"center"});const{x:Ge,y:lt}=this._invertPosition(Mt.overlayX,Mt.overlayY);return{main:Mt,fallback:{overlayX:Ge,overlayY:lt}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,P.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,_t){return"above"===this.position||"below"===this.position?"top"===_t?_t="bottom":"bottom"===_t&&(_t="top"):"end"===$e?$e="start":"start"===$e&&($e="end"),{x:$e,y:_t}}_updateCurrentPositionClass($e){const{overlayY:_t,originX:Mt,originY:Ge}=$e;let lt;if(lt="center"===_t?this._dir&&"rtl"===this._dir.value?"end"===Mt?"left":"right":"start"===Mt?"left":"right":"bottom"===_t&&"top"===Ge?"above":"below",lt!==this._currentPosition){const Ot=this._overlayRef;if(Ot){const Nt=`${this._cssClassPrefix}-${Ke}-`;Ot.removePanelClass(Nt+this._currentPosition),Ot.addPanelClass(Nt+lt)}this._currentPosition=lt}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const $e=[];if(this._platformSupportsMouseEvents())$e.push(["mouseleave",()=>this.hide()],["wheel",_t=>this._wheelListener(_t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const _t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};$e.push(["touchend",_t],["touchcancel",_t])}this._addListeners($e),this._passiveListeners.push(...$e)}_addListeners($e){$e.forEach(([_t,Mt])=>{this._elementRef.nativeElement.addEventListener(_t,Mt,tt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener($e){if(this._isTooltipVisible()){const _t=this._document.elementFromPoint($e.clientX,$e.clientY),Mt=this._elementRef.nativeElement;_t!==Mt&&!Mt.contains(_t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const $e=this.touchGestures;if("off"!==$e){const _t=this._elementRef.nativeElement,Mt=_t.style;("on"===$e||"INPUT"!==_t.nodeName&&"TEXTAREA"!==_t.nodeName)&&(Mt.userSelect=Mt.msUserSelect=Mt.webkitUserSelect=Mt.MozUserSelect="none"),("on"===$e||!_t.draggable)&&(Mt.webkitUserDrag="none"),Mt.touchAction="none",Mt.webkitTapHighlightColor="transparent"}}}return gt.\u0275fac=function($e){l.\u0275\u0275invalidFactory()},gt.\u0275dir=l.\u0275\u0275defineDirective({type:gt,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),gt})(),xt=(()=>{class gt extends Et{constructor($e,_t,Mt,Ge,lt,Ot,Nt,Pe,Ee,B,V,be){super($e,_t,Mt,Ge,lt,Ot,Nt,Pe,Ee,B,V,be),this._tooltipComponent=Ne}}return gt.\u0275fac=function($e){return new($e||gt)(l.\u0275\u0275directiveInject(d.aV),l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(p.mF),l.\u0275\u0275directiveInject(l.ViewContainerRef),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(z.t4),l.\u0275\u0275directiveInject(m.$s),l.\u0275\u0275directiveInject(m.tE),l.\u0275\u0275directiveInject(Dt),l.\u0275\u0275directiveInject(ie.Is,8),l.\u0275\u0275directiveInject(ct,8),l.\u0275\u0275directiveInject(n.DOCUMENT))},gt.\u0275dir=l.\u0275\u0275defineDirective({type:gt,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[l.\u0275\u0275InheritDefinitionFeature]}),gt})(),dt=(()=>{class gt{constructor($e){this._changeDetectorRef=$e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new h.xQ}show($e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},$e)}hide($e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},$e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone($e){const _t=$e.toState;"hidden"===_t&&!this.isVisible()&&this._onHide.next(),("visible"===_t||"hidden"===_t)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return gt.\u0275fac=function($e){return new($e||gt)(l.\u0275\u0275directiveInject(l.ChangeDetectorRef))},gt.\u0275dir=l.\u0275\u0275defineDirective({type:gt}),gt})(),Ne=(()=>{class gt extends dt{constructor($e,_t){super($e),this._breakpointObserver=_t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return gt.\u0275fac=function($e){return new($e||gt)(l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(xe))},gt.\u0275cmp=l.\u0275\u0275defineComponent({type:gt,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function($e,_t){2&$e&&l.\u0275\u0275styleProp("zoom","visible"===_t._visibility?1:null)},features:[l.\u0275\u0275InheritDefinitionFeature],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function($e,_t){if(1&$e&&(l.\u0275\u0275elementStart(0,"div",0),l.\u0275\u0275listener("@state.start",function(){return _t._animationStart()})("@state.done",function(Ge){return _t._animationDone(Ge)}),l.\u0275\u0275pipe(1,"async"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()),2&$e){let Mt;l.\u0275\u0275classProp("mat-tooltip-handset",null==(Mt=l.\u0275\u0275pipeBind1(1,5,_t._isHandset))?null:Mt.matches),l.\u0275\u0275property("ngClass",_t.tooltipClass)("@state",_t._visibility),l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate(_t.message)}},directives:[n.NgClass],pipes:[n.AsyncPipe],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[le.tooltipState]},changeDetection:0}),gt})(),rt=(()=>{class gt{}return gt.\u0275fac=function($e){return new($e||gt)},gt.\u0275mod=l.\u0275\u0275defineNgModule({type:gt}),gt.\u0275inj=l.\u0275\u0275defineInjector({providers:[Qe],imports:[[m.rt,n.CommonModule,d.U8,u.MatCommonModule],u.MatCommonModule,p.ZD]}),gt})();var ze=o(7322);function yt(gt,Lt){if(1>&&(l.\u0275\u0275elementStart(0,"mat-option",19),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2>){const $e=Lt.$implicit;l.\u0275\u0275property("value",$e),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",$e," ")}}function mt(gt,Lt){if(1>){const $e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"mat-form-field",16),l.\u0275\u0275elementStart(1,"mat-select",17),l.\u0275\u0275listener("selectionChange",function(Mt){return l.\u0275\u0275restoreView($e),l.\u0275\u0275nextContext(2)._changePageSize(Mt.value)}),l.\u0275\u0275template(2,yt,2,2,"mat-option",18),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()}if(2>){const $e=l.\u0275\u0275nextContext(2);l.\u0275\u0275property("appearance",$e._formFieldAppearance)("color",$e.color),l.\u0275\u0275advance(1),l.\u0275\u0275property("value",$e.pageSize)("disabled",$e.disabled)("aria-label",$e._intl.itemsPerPageLabel),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",$e._displayedPageSizeOptions)}}function _e(gt,Lt){if(1>&&(l.\u0275\u0275elementStart(0,"div",20),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2>){const $e=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate($e.pageSize)}}function Z(gt,Lt){if(1>&&(l.\u0275\u0275elementStart(0,"div",12),l.\u0275\u0275elementStart(1,"div",13),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(3,mt,3,6,"mat-form-field",14),l.\u0275\u0275template(4,_e,2,1,"div",15),l.\u0275\u0275elementEnd()),2>){const $e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",$e._intl.itemsPerPageLabel," "),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",$e._displayedPageSizeOptions.length>1),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",$e._displayedPageSizeOptions.length<=1)}}function j(gt,Lt){if(1>){const $e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"button",21),l.\u0275\u0275listener("click",function(){return l.\u0275\u0275restoreView($e),l.\u0275\u0275nextContext().firstPage()}),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(1,"svg",7),l.\u0275\u0275element(2,"path",22),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()}if(2>){const $e=l.\u0275\u0275nextContext();l.\u0275\u0275property("matTooltip",$e._intl.firstPageLabel)("matTooltipDisabled",$e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",$e._previousButtonsDisabled()),l.\u0275\u0275attribute("aria-label",$e._intl.firstPageLabel)}}function _(gt,Lt){if(1>){const $e=l.\u0275\u0275getCurrentView();l.\u0275\u0275namespaceSVG(),l.\u0275\u0275namespaceHTML(),l.\u0275\u0275elementStart(0,"button",23),l.\u0275\u0275listener("click",function(){return l.\u0275\u0275restoreView($e),l.\u0275\u0275nextContext().lastPage()}),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(1,"svg",7),l.\u0275\u0275element(2,"path",24),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()}if(2>){const $e=l.\u0275\u0275nextContext();l.\u0275\u0275property("matTooltip",$e._intl.lastPageLabel)("matTooltipDisabled",$e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",$e._nextButtonsDisabled()),l.\u0275\u0275attribute("aria-label",$e._intl.lastPageLabel)}}let x=(()=>{class gt{constructor(){this.changes=new h.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=($e,_t,Mt)=>{if(0==Mt||0==_t)return`0 of ${Mt}`;const Ge=$e*_t;return`${Ge+1} \u2013 ${Ge<(Mt=Math.max(Mt,0))?Math.min(Ge+_t,Mt):Ge+_t} of ${Mt}`}}}return gt.\u0275fac=function($e){return new($e||gt)},gt.\u0275prov=l.\u0275\u0275defineInjectable({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})();function N(gt){return gt||new x}const ce={provide:x,deps:[[new l.Optional,new l.SkipSelf,x]],useFactory:N};class Oe{}const ve=new l.InjectionToken("MAT_PAGINATOR_DEFAULT_OPTIONS"),Ae=(0,u.mixinDisabled)((0,u.mixinInitialized)(class{}));let nt=(()=>{class gt extends Ae{constructor($e,_t,Mt){if(super(),this._intl=$e,this._changeDetectorRef=_t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new l.EventEmitter,this._intlChanges=$e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),Mt){const{pageSize:Ge,pageSizeOptions:lt,hidePageSize:Ot,showFirstLastButtons:Nt}=Mt;null!=Ge&&(this._pageSize=Ge),null!=lt&&(this._pageSizeOptions=lt),null!=Ot&&(this._hidePageSize=Ot),null!=Nt&&(this._showFirstLastButtons=Nt)}}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(_t=>(0,y.su)(_t)),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)}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 Mt=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/$e)||0,this.pageSize=$e,this._emitPageEvent(Mt)}_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,_t)=>$e-_t),this._changeDetectorRef.markForCheck())}_emitPageEvent($e){this.page.emit({previousPageIndex:$e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return gt.\u0275fac=function($e){l.\u0275\u0275invalidFactory()},gt.\u0275dir=l.\u0275\u0275defineDirective({type:gt,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[l.\u0275\u0275InheritDefinitionFeature]}),gt})(),Pt=(()=>{class gt extends nt{constructor($e,_t,Mt){super($e,_t,Mt),Mt&&null!=Mt.formFieldAppearance&&(this._formFieldAppearance=Mt.formFieldAppearance)}}return gt.\u0275fac=function($e){return new($e||gt)(l.\u0275\u0275directiveInject(x),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(ve,8))},gt.\u0275cmp=l.\u0275\u0275defineComponent({type:gt,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[l.\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",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","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,_t){1&$e&&(l.\u0275\u0275elementStart(0,"div",0),l.\u0275\u0275elementStart(1,"div",1),l.\u0275\u0275template(2,Z,5,3,"div",2),l.\u0275\u0275elementStart(3,"div",3),l.\u0275\u0275elementStart(4,"div",4),l.\u0275\u0275text(5),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(6,j,3,5,"button",5),l.\u0275\u0275elementStart(7,"button",6),l.\u0275\u0275listener("click",function(){return _t.previousPage()}),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(8,"svg",7),l.\u0275\u0275element(9,"path",8),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275namespaceHTML(),l.\u0275\u0275elementStart(10,"button",9),l.\u0275\u0275listener("click",function(){return _t.nextPage()}),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(11,"svg",7),l.\u0275\u0275element(12,"path",10),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(13,_,3,5,"button",11),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&$e&&(l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",!_t.hidePageSize),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate1(" ",_t._intl.getRangeLabel(_t.pageIndex,_t.pageSize,_t.length)," "),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",_t.showFirstLastButtons),l.\u0275\u0275advance(1),l.\u0275\u0275property("matTooltip",_t._intl.previousPageLabel)("matTooltipDisabled",_t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",_t._previousButtonsDisabled()),l.\u0275\u0275attribute("aria-label",_t._intl.previousPageLabel),l.\u0275\u0275advance(3),l.\u0275\u0275property("matTooltip",_t._intl.nextPageLabel)("matTooltipDisabled",_t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",_t._nextButtonsDisabled()),l.\u0275\u0275attribute("aria-label",_t._intl.nextPageLabel),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",_t.showFirstLastButtons))},directives:[n.NgIf,c.MatButton,xt,ze.MatFormField,r.MatSelect,n.NgForOf,u.MatOption],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{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),gt})(),Ft=(()=>{class gt{}return gt.\u0275fac=function($e){return new($e||gt)},gt.\u0275mod=l.\u0275\u0275defineNgModule({type:gt}),gt.\u0275inj=l.\u0275\u0275defineInjector({providers:[ce],imports:[[n.CommonModule,c.MatButtonModule,r.MatSelectModule,rt,u.MatCommonModule]]}),gt})()},773:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS:()=>P,MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY:()=>w,MatProgressSpinner:()=>T,MatProgressSpinnerModule:()=>$,MatSpinner:()=>Y});var n=o(5e3),l=o(9808),u=o(508),c=o(3191),r=o(925),d=o(6360);function m(z,G){if(1&z&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275element(0,"circle",3)),2&z){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+X._spinnerAnimationLabel)("stroke-dashoffset",X._getStrokeDashOffset(),"px")("stroke-dasharray",X._getStrokeCircumference(),"px")("stroke-width",X._getCircleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",X._getCircleRadius())}}function p(z,G){if(1&z&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275element(0,"circle",3)),2&z){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("stroke-dashoffset",X._getStrokeDashOffset(),"px")("stroke-dasharray",X._getStrokeCircumference(),"px")("stroke-width",X._getCircleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",X._getCircleRadius())}}function y(z,G){if(1&z&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275element(0,"circle",3)),2&z){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+X._spinnerAnimationLabel)("stroke-dashoffset",X._getStrokeDashOffset(),"px")("stroke-dasharray",X._getStrokeCircumference(),"px")("stroke-width",X._getCircleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",X._getCircleRadius())}}function b(z,G){if(1&z&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275element(0,"circle",3)),2&z){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("stroke-dashoffset",X._getStrokeDashOffset(),"px")("stroke-dasharray",X._getStrokeCircumference(),"px")("stroke-width",X._getCircleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",X._getCircleRadius())}}const C=(0,u.mixinColor)(class{constructor(z){this._elementRef=z}},"primary"),P=new n.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:w});function w(){return{diameter:100}}class T extends C{constructor(G,X,Q,q,ue){super(G),this._document=Q,this._diameter=100,this._value=0,this.mode="determinate";const me=T._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),me.has(Q.head)||me.set(Q.head,new Set([100])),this._noopAnimations="NoopAnimations"===q&&!!ue&&!ue._forceAnimations,ue&&(ue.diameter&&(this.diameter=ue.diameter),ue.strokeWidth&&(this.strokeWidth=ue.strokeWidth))}get diameter(){return this._diameter}set diameter(G){this._diameter=(0,c.su)(G),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(G){this._strokeWidth=(0,c.su)(G)}get value(){return"determinate"===this.mode?this._value:0}set value(G){this._value=Math.max(0,Math.min(100,(0,c.su)(G)))}ngOnInit(){const G=this._elementRef.nativeElement;this._styleRoot=(0,r.kV)(G)||this._document.head,this._attachStyleNode(),G.classList.add("mat-progress-spinner-indeterminate-animation")}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const G=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${G} ${G}`}_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}_attachStyleNode(){const G=this._styleRoot,X=this._diameter,Q=T._diameters;let q=Q.get(G);if(!q||!q.has(X)){const ue=this._document.createElement("style");ue.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),ue.textContent=this._getAnimationText(),G.appendChild(ue),q||(q=new Set,Q.set(G,q)),q.add(X)}}_getAnimationText(){const G=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*G).replace(/END_VALUE/g,""+.2*G).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}T._diameters=new WeakMap,T.\u0275fac=function(G){return new(G||T)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(l.DOCUMENT,8),n.\u0275\u0275directiveInject(d.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(P))},T.\u0275cmp=n.\u0275\u0275defineComponent({type:T,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(G,X){2&G&&(n.\u0275\u0275attribute("aria-valuemin","determinate"===X.mode?0:null)("aria-valuemax","determinate"===X.mode?100:null)("aria-valuenow","determinate"===X.mode?X.value:null)("mode",X.mode),n.\u0275\u0275styleProp("width",X.diameter,"px")("height",X.diameter,"px"),n.\u0275\u0275classProp("_mat-animation-noopable",X._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[n.\u0275\u0275InheritDefinitionFeature],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(G,X){1&G&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",0),n.\u0275\u0275template(1,m,1,9,"circle",1),n.\u0275\u0275template(2,p,1,7,"circle",2),n.\u0275\u0275elementEnd()),2&G&&(n.\u0275\u0275styleProp("width",X.diameter,"px")("height",X.diameter,"px"),n.\u0275\u0275property("ngSwitch","indeterminate"===X.mode),n.\u0275\u0275attribute("viewBox",X._getViewBox()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngSwitchCase",!0),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngSwitchCase",!1))},directives:[l.NgSwitch,l.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:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[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-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation: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)}}\n"],encapsulation:2,changeDetection:0});let Y=(()=>{class z extends T{constructor(X,Q,q,ue,me){super(X,Q,q,ue,me),this.mode="indeterminate"}}return z.\u0275fac=function(X){return new(X||z)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(l.DOCUMENT,8),n.\u0275\u0275directiveInject(d.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(P))},z.\u0275cmp=n.\u0275\u0275defineComponent({type:z,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(X,Q){2&X&&(n.\u0275\u0275styleProp("width",Q.diameter,"px")("height",Q.diameter,"px"),n.\u0275\u0275classProp("_mat-animation-noopable",Q._noopAnimations))},inputs:{color:"color"},features:[n.\u0275\u0275InheritDefinitionFeature],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(X,Q){1&X&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",0),n.\u0275\u0275template(1,y,1,9,"circle",1),n.\u0275\u0275template(2,b,1,7,"circle",2),n.\u0275\u0275elementEnd()),2&X&&(n.\u0275\u0275styleProp("width",Q.diameter,"px")("height",Q.diameter,"px"),n.\u0275\u0275property("ngSwitch","indeterminate"===Q.mode),n.\u0275\u0275attribute("viewBox",Q._getViewBox()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngSwitchCase",!0),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngSwitchCase",!1))},directives:[l.NgSwitch,l.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:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[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-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation: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)}}\n"],encapsulation:2,changeDetection:0}),z})(),$=(()=>{class z{}return z.\u0275fac=function(X){return new(X||z)},z.\u0275mod=n.\u0275\u0275defineNgModule({type:z}),z.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.MatCommonModule,l.CommonModule],u.MatCommonModule]}),z})()},9814:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_RADIO_DEFAULT_OPTIONS:()=>h,MAT_RADIO_DEFAULT_OPTIONS_FACTORY:()=>g,MAT_RADIO_GROUP:()=>w,MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR:()=>C,MatRadioButton:()=>G,MatRadioChange:()=>P,MatRadioGroup:()=>T,MatRadioModule:()=>X,_MatRadioButtonBase:()=>z,_MatRadioGroupBase:()=>D});var n=o(5e3),l=o(508),u=o(3191),c=o(3075),r=o(6360),d=o(5664),m=o(449);const p=["input"],y=function(Q){return{enterDuration:Q}},b=["*"],h=new n.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:g});function g(){return{color:"accent"}}let s=0;const C={provide:c.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>T),multi:!0};class P{constructor(q,ue){this.source=q,this.value=ue}}const w=new n.InjectionToken("MatRadioGroup");let D=(()=>{class Q{constructor(ue){this._changeDetector=ue,this._value=null,this._name="mat-radio-group-"+s++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.EventEmitter}get name(){return this._name}set name(ue){this._name=ue,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(ue){this._labelPosition="before"===ue?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(ue){this._value!==ue&&(this._value=ue,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(ue){this._selected=ue,this.value=ue?ue.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(ue){this._disabled=(0,u.Ig)(ue),this._markRadiosForCheck()}get required(){return this._required}set required(ue){this._required=(0,u.Ig)(ue),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(ue=>{ue.name=this.name,ue._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(me=>{me.checked=this.value===me.value,me.checked&&(this._selected=me)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new P(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(ue=>ue._markForCheck())}writeValue(ue){this.value=ue,this._changeDetector.markForCheck()}registerOnChange(ue){this._controlValueAccessorChangeFn=ue}registerOnTouched(ue){this.onTouched=ue}setDisabledState(ue){this.disabled=ue,this._changeDetector.markForCheck()}}return Q.\u0275fac=function(ue){return new(ue||Q)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},Q.\u0275dir=n.\u0275\u0275defineDirective({type:Q,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),Q})(),T=(()=>{class Q extends D{}return Q.\u0275fac=function(){let q;return function(me){return(q||(q=n.\u0275\u0275getInheritedFactory(Q)))(me||Q)}}(),Q.\u0275dir=n.\u0275\u0275defineDirective({type:Q,selectors:[["mat-radio-group"]],contentQueries:function(ue,me,xe){if(1&ue&&n.\u0275\u0275contentQuery(xe,G,5),2&ue){let pe;n.\u0275\u0275queryRefresh(pe=n.\u0275\u0275loadQuery())&&(me._radios=pe)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[n.\u0275\u0275ProvidersFeature([C,{provide:w,useExisting:Q}]),n.\u0275\u0275InheritDefinitionFeature]}),Q})();class Y{constructor(q){this._elementRef=q}}const $=(0,l.mixinDisableRipple)((0,l.mixinTabIndex)(Y));let z=(()=>{class Q extends ${constructor(ue,me,xe,pe,oe,ae,U,ie){super(me),this._changeDetector=xe,this._focusMonitor=pe,this._radioDispatcher=oe,this._providerOverride=U,this._uniqueId="mat-radio-"+ ++s,this.id=this._uniqueId,this.change=new n.EventEmitter,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=ue,this._noopAnimations="NoopAnimations"===ae,ie&&(this.tabIndex=(0,u.su)(ie,0)),this._removeUniqueSelectionListener=oe.listen((le,Ce)=>{le!==this.id&&Ce===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(ue){const me=(0,u.Ig)(ue);this._checked!==me&&(this._checked=me,me&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!me&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),me&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(ue){this._value!==ue&&(this._value=ue,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===ue),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(ue){this._labelPosition=ue}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(ue){this._setDisabled((0,u.Ig)(ue))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(ue){this._required=(0,u.Ig)(ue)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(ue){this._color=ue}get inputId(){return`${this.id||this._uniqueId}-input`}focus(ue,me){me?this._focusMonitor.focusVia(this._inputElement,me,ue):this._inputElement.nativeElement.focus(ue)}_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)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ue=>{!ue&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new P(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(ue){ue.stopPropagation()}_onInputInteraction(ue){if(ue.stopPropagation(),!this.checked&&!this.disabled){const me=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),me&&this.radioGroup._emitChangeEvent())}}_setDisabled(ue){this._disabled!==ue&&(this._disabled=ue,this._changeDetector.markForCheck())}}return Q.\u0275fac=function(ue){n.\u0275\u0275invalidFactory()},Q.\u0275dir=n.\u0275\u0275defineDirective({type:Q,viewQuery:function(ue,me){if(1&ue&&n.\u0275\u0275viewQuery(p,5),2&ue){let xe;n.\u0275\u0275queryRefresh(xe=n.\u0275\u0275loadQuery())&&(me._inputElement=xe.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]}),Q})(),G=(()=>{class Q extends z{constructor(ue,me,xe,pe,oe,ae,U,ie){super(ue,me,xe,pe,oe,ae,U,ie)}}return Q.\u0275fac=function(ue){return new(ue||Q)(n.\u0275\u0275directiveInject(w,8),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(d.tE),n.\u0275\u0275directiveInject(m.A8),n.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(h,8),n.\u0275\u0275injectAttribute("tabindex"))},Q.\u0275cmp=n.\u0275\u0275defineComponent({type:Q,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(ue,me){1&ue&&n.\u0275\u0275listener("focus",function(){return me._inputElement.nativeElement.focus()}),2&ue&&(n.\u0275\u0275attribute("tabindex",null)("id",me.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.\u0275\u0275classProp("mat-radio-checked",me.checked)("mat-radio-disabled",me.disabled)("_mat-animation-noopable",me._noopAnimations)("mat-primary","primary"===me.color)("mat-accent","accent"===me.color)("mat-warn","warn"===me.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:b,decls:13,vars:20,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","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","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(ue,me){if(1&ue&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"label",0,1),n.\u0275\u0275elementStart(2,"span",2),n.\u0275\u0275element(3,"span",3),n.\u0275\u0275element(4,"span",4),n.\u0275\u0275elementStart(5,"input",5,6),n.\u0275\u0275listener("change",function(pe){return me._onInputInteraction(pe)})("click",function(pe){return me._onInputClick(pe)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(7,"span",7),n.\u0275\u0275element(8,"span",8),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(9,"span",9),n.\u0275\u0275elementStart(10,"span",10),n.\u0275\u0275text(11,"\xa0"),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(12),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementEnd()),2&ue){const xe=n.\u0275\u0275reference(1);n.\u0275\u0275attribute("for",me.inputId),n.\u0275\u0275advance(5),n.\u0275\u0275property("id",me.inputId)("checked",me.checked)("disabled",me.disabled)("tabIndex",me.tabIndex)("required",me.required),n.\u0275\u0275attribute("name",me.name)("value",me.value)("aria-label",me.ariaLabel)("aria-labelledby",me.ariaLabelledby)("aria-describedby",me.ariaDescribedby),n.\u0275\u0275advance(2),n.\u0275\u0275property("matRippleTrigger",xe)("matRippleDisabled",me._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.\u0275\u0275pureFunction1(18,y,me._noopAnimations?0:150)),n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-radio-label-before","before"==me.labelPosition)}},directives:[l.MatRipple],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-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;-moz-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{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),Q})(),X=(()=>{class Q{}return Q.\u0275fac=function(ue){return new(ue||Q)},Q.\u0275mod=n.\u0275\u0275defineNgModule({type:Q}),Q.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.MatRippleModule,l.MatCommonModule],l.MatCommonModule]}),Q})()},4107:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_SELECT_CONFIG:()=>Et,MAT_SELECT_SCROLL_STRATEGY:()=>ct,MAT_SELECT_SCROLL_STRATEGY_PROVIDER:()=>xt,MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>bt,MAT_SELECT_TRIGGER:()=>rt,MatSelect:()=>mt,MatSelectChange:()=>dt,MatSelectModule:()=>_e,MatSelectTrigger:()=>ze,_MatSelectBase:()=>yt,matSelectAnimations:()=>ie});var n=o(1314),l=o(9808),u=o(5e3),c=o(508),r=o(7322),d=o(9071),m=o(5664),p=o(3191),y=o(449),b=o(1159),h=o(3075),g=o(8929),s=o(8514),C=o(6787),P=o(1059),w=o(7545),D=o(2986),T=o(2198),Y=o(4850),$=o(5778),z=o(7625),G=o(1777),X=o(226);const Q=["trigger"],q=["panel"];function ue(Z,j){if(1&Z&&(u.\u0275\u0275elementStart(0,"span",8),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&Z){const _=u.\u0275\u0275nextContext();u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(_.placeholder)}}function me(Z,j){if(1&Z&&(u.\u0275\u0275elementStart(0,"span",12),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&Z){const _=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(_.triggerValue)}}function xe(Z,j){1&Z&&u.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function pe(Z,j){if(1&Z&&(u.\u0275\u0275elementStart(0,"span",9),u.\u0275\u0275template(1,me,2,1,"span",10),u.\u0275\u0275template(2,xe,1,0,"ng-content",11),u.\u0275\u0275elementEnd()),2&Z){const _=u.\u0275\u0275nextContext();u.\u0275\u0275property("ngSwitch",!!_.customTrigger),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngSwitchCase",!0)}}function oe(Z,j){if(1&Z){const _=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",13),u.\u0275\u0275elementStart(1,"div",14,15),u.\u0275\u0275listener("@transformPanel.done",function(N){return u.\u0275\u0275restoreView(_),u.\u0275\u0275nextContext()._panelDoneAnimatingStream.next(N.toState)})("keydown",function(N){return u.\u0275\u0275restoreView(_),u.\u0275\u0275nextContext()._handleKeydown(N)}),u.\u0275\u0275projection(3,1),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd()}if(2&Z){const _=u.\u0275\u0275nextContext();u.\u0275\u0275property("@transformPanelWrap",void 0),u.\u0275\u0275advance(1),u.\u0275\u0275classMapInterpolate1("mat-select-panel ",_._getPanelTheme(),""),u.\u0275\u0275styleProp("transform-origin",_._transformOrigin)("font-size",_._triggerFontSize,"px"),u.\u0275\u0275property("ngClass",_.panelClass)("@transformPanel",_.multiple?"showing-multiple":"showing"),u.\u0275\u0275attribute("id",_.id+"-panel")("aria-multiselectable",_.multiple)("aria-label",_.ariaLabel||null)("aria-labelledby",_._getPanelAriaLabelledby())}}const ae=[[["mat-select-trigger"]],"*"],U=["mat-select-trigger","*"],ie={transformPanelWrap:(0,G.X$)("transformPanelWrap",[(0,G.eR)("* => void",(0,G.IO)("@transformPanel",[(0,G.pV)()],{optional:!0}))]),transformPanel:(0,G.X$)("transformPanel",[(0,G.SB)("void",(0,G.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,G.SB)("showing",(0,G.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,G.SB)("showing-multiple",(0,G.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,G.eR)("void => *",(0,G.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,G.eR)("* => void",(0,G.jt)("100ms 25ms linear",(0,G.oB)({opacity:0})))])};let Ke=0;const ct=new u.InjectionToken("mat-select-scroll-strategy");function bt(Z){return()=>Z.scrollStrategies.reposition()}const Et=new u.InjectionToken("MAT_SELECT_CONFIG"),xt={provide:ct,deps:[n.aV],useFactory:bt};class dt{constructor(j,_){this.source=j,this.value=_}}const Ne=(0,c.mixinDisableRipple)((0,c.mixinTabIndex)((0,c.mixinDisabled)((0,c.mixinErrorState)(class{constructor(Z,j,_,x,N){this._elementRef=Z,this._defaultErrorStateMatcher=j,this._parentForm=_,this._parentFormGroup=x,this.ngControl=N}})))),rt=new u.InjectionToken("MatSelectTrigger");let ze=(()=>{class Z{}return Z.\u0275fac=function(_){return new(_||Z)},Z.\u0275dir=u.\u0275\u0275defineDirective({type:Z,selectors:[["mat-select-trigger"]],features:[u.\u0275\u0275ProvidersFeature([{provide:rt,useExisting:Z}])]}),Z})(),yt=(()=>{class Z extends Ne{constructor(_,x,N,ce,Ue,Oe,ve,Ae,nt,Pt,Ft,gt,Lt,$e){var _t,Mt,Ge;super(Ue,ce,ve,Ae,Pt),this._viewportRuler=_,this._changeDetectorRef=x,this._ngZone=N,this._dir=Oe,this._parentFormField=nt,this._liveAnnouncer=Lt,this._defaultOptions=$e,this._panelOpen=!1,this._compareWith=(lt,Ot)=>lt===Ot,this._uid="mat-select-"+Ke++,this._triggerAriaLabelledBy=null,this._destroy=new g.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Ke++,this._panelDoneAnimatingStream=new g.xQ,this._overlayPanelClass=(null===(_t=this._defaultOptions)||void 0===_t?void 0:_t.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Ge=null===(Mt=this._defaultOptions)||void 0===Mt?void 0:Mt.disableOptionCentering)&&void 0!==Ge&&Ge,this.ariaLabel="",this.optionSelectionChanges=(0,s.P)(()=>{const lt=this.options;return lt?lt.changes.pipe((0,P.O)(lt),(0,w.w)(()=>(0,C.T)(...lt.map(Ot=>Ot.onSelectionChange)))):this._ngZone.onStable.pipe((0,D.q)(1),(0,w.w)(()=>this.optionSelectionChanges))}),this.openedChange=new u.EventEmitter,this._openedStream=this.openedChange.pipe((0,T.h)(lt=>lt),(0,Y.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,T.h)(lt=>!lt),(0,Y.U)(()=>{})),this.selectionChange=new u.EventEmitter,this.valueChange=new u.EventEmitter,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==$e?void 0:$e.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=$e.typeaheadDebounceInterval),this._scrollStrategyFactory=gt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Ft)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(_){this._placeholder=_,this.stateChanges.next()}get required(){var _,x,N,ce;return null!==(ce=null!==(_=this._required)&&void 0!==_?_:null===(N=null===(x=this.ngControl)||void 0===x?void 0:x.control)||void 0===N?void 0:N.hasValidator(h.Validators.required))&&void 0!==ce&&ce}set required(_){this._required=(0,p.Ig)(_),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(_){this._multiple=(0,p.Ig)(_)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(_){this._disableOptionCentering=(0,p.Ig)(_)}get compareWith(){return this._compareWith}set compareWith(_){this._compareWith=_,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(_){(_!==this._value||this._multiple&&Array.isArray(_))&&(this.options&&this._setSelectionByValue(_),this._value=_)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(_){this._typeaheadDebounceInterval=(0,p.su)(_)}get id(){return this._id}set id(_){this._id=_||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new y.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,$.x)(),(0,z.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,z.R)(this._destroy)).subscribe(_=>{_.added.forEach(x=>x.select()),_.removed.forEach(x=>x.deselect())}),this.options.changes.pipe((0,P.O)(null),(0,z.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const _=this._getTriggerAriaLabelledby();if(_!==this._triggerAriaLabelledBy){const x=this._elementRef.nativeElement;this._triggerAriaLabelledBy=_,_?x.setAttribute("aria-labelledby",_):x.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(_){_.disabled&&this.stateChanges.next(),_.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(_){this.value=_}registerOnChange(_){this._onChange=_}registerOnTouched(_){this._onTouched=_}setDisabledState(_){this.disabled=_,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var _,x;return this.multiple?(null===(_=this._selectionModel)||void 0===_?void 0:_.selected)||[]:null===(x=this._selectionModel)||void 0===x?void 0:x.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const _=this._selectionModel.selected.map(x=>x.viewValue);return this._isRtl()&&_.reverse(),_.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(_){this.disabled||(this.panelOpen?this._handleOpenKeydown(_):this._handleClosedKeydown(_))}_handleClosedKeydown(_){const x=_.keyCode,N=x===b.JH||x===b.LH||x===b.oh||x===b.SV,ce=x===b.K5||x===b.L_,Ue=this._keyManager;if(!Ue.isTyping()&&ce&&!(0,b.Vb)(_)||(this.multiple||_.altKey)&&N)_.preventDefault(),this.open();else if(!this.multiple){const Oe=this.selected;Ue.onKeydown(_);const ve=this.selected;ve&&Oe!==ve&&this._liveAnnouncer.announce(ve.viewValue,1e4)}}_handleOpenKeydown(_){const x=this._keyManager,N=_.keyCode,ce=N===b.JH||N===b.LH,Ue=x.isTyping();if(ce&&_.altKey)_.preventDefault(),this.close();else if(Ue||N!==b.K5&&N!==b.L_||!x.activeItem||(0,b.Vb)(_))if(!Ue&&this._multiple&&N===b.A&&_.ctrlKey){_.preventDefault();const Oe=this.options.some(ve=>!ve.disabled&&!ve.selected);this.options.forEach(ve=>{ve.disabled||(Oe?ve.select():ve.deselect())})}else{const Oe=x.activeItemIndex;x.onKeydown(_),this._multiple&&ce&&_.shiftKey&&x.activeItem&&x.activeItemIndex!==Oe&&x.activeItem._selectViaInteraction()}else _.preventDefault(),x.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,D.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._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(_){if(this._selectionModel.selected.forEach(x=>x.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&_)Array.isArray(_),_.forEach(x=>this._selectValue(x)),this._sortValues();else{const x=this._selectValue(_);x?this._keyManager.updateActiveItem(x):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(_){const x=this.options.find(N=>{if(this._selectionModel.isSelected(N))return!1;try{return null!=N.value&&this._compareWith(N.value,_)}catch(ce){return!1}});return x&&this._selectionModel.select(x),x}_initKeyManager(){this._keyManager=new m.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,z.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,z.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const _=(0,C.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,z.R)(_)).subscribe(x=>{this._onSelect(x.source,x.isUserInput),x.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,C.T)(...this.options.map(x=>x._stateChanges)).pipe((0,z.R)(_)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(_,x){const N=this._selectionModel.isSelected(_);null!=_.value||this._multiple?(N!==_.selected&&(_.selected?this._selectionModel.select(_):this._selectionModel.deselect(_)),x&&this._keyManager.setActiveItem(_),this.multiple&&(this._sortValues(),x&&this.focus())):(_.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(_.value)),N!==this._selectionModel.isSelected(_)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const _=this.options.toArray();this._selectionModel.sort((x,N)=>this.sortComparator?this.sortComparator(x,N,_):_.indexOf(x)-_.indexOf(N)),this.stateChanges.next()}}_propagateChanges(_){let x=null;x=this.multiple?this.selected.map(N=>N.value):this.selected?this.selected.value:_,this._value=x,this.valueChange.emit(x),this._onChange(x),this.selectionChange.emit(this._getChangeEvent(x)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var _;return!this._panelOpen&&!this.disabled&&(null===(_=this.options)||void 0===_?void 0:_.length)>0}focus(_){this._elementRef.nativeElement.focus(_)}_getPanelAriaLabelledby(){var _;if(this.ariaLabel)return null;const x=null===(_=this._parentFormField)||void 0===_?void 0:_.getLabelId();return this.ariaLabelledby?(x?x+" ":"")+this.ariaLabelledby:x}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var _;if(this.ariaLabel)return null;const x=null===(_=this._parentFormField)||void 0===_?void 0:_.getLabelId();let N=(x?x+" ":"")+this._valueId;return this.ariaLabelledby&&(N+=" "+this.ariaLabelledby),N}_panelDoneAnimating(_){this.openedChange.emit(_)}setDescribedByIds(_){this._ariaDescribedby=_.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Z.\u0275fac=function(_){return new(_||Z)(u.\u0275\u0275directiveInject(d.rL),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(c.ErrorStateMatcher),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(X.Is,8),u.\u0275\u0275directiveInject(h.NgForm,8),u.\u0275\u0275directiveInject(h.FormGroupDirective,8),u.\u0275\u0275directiveInject(r.MAT_FORM_FIELD,8),u.\u0275\u0275directiveInject(h.NgControl,10),u.\u0275\u0275injectAttribute("tabindex"),u.\u0275\u0275directiveInject(ct),u.\u0275\u0275directiveInject(m.Kd),u.\u0275\u0275directiveInject(Et,8))},Z.\u0275dir=u.\u0275\u0275defineDirective({type:Z,viewQuery:function(_,x){if(1&_&&(u.\u0275\u0275viewQuery(Q,5),u.\u0275\u0275viewQuery(q,5),u.\u0275\u0275viewQuery(n.pI,5)),2&_){let N;u.\u0275\u0275queryRefresh(N=u.\u0275\u0275loadQuery())&&(x.trigger=N.first),u.\u0275\u0275queryRefresh(N=u.\u0275\u0275loadQuery())&&(x.panel=N.first),u.\u0275\u0275queryRefresh(N=u.\u0275\u0275loadQuery())&&(x._overlayDir=N.first)}},inputs:{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:[u.\u0275\u0275InheritDefinitionFeature,u.\u0275\u0275NgOnChangesFeature]}),Z})(),mt=(()=>{class Z extends yt{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(_,x,N){const ce=this._getItemHeight();return Math.min(Math.max(0,ce*_-x+ce/2),N)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,z.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,D.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(_){const x=(0,c._countGroupLabelsBeforeOption)(_,this.options,this.optionGroups),N=this._getItemHeight();this.panel.nativeElement.scrollTop=0===_&&1===x?0:(0,c._getOptionScrollPosition)((_+x)*N,N,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(_){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(_)}_getChangeEvent(_){return new dt(this,_)}_calculateOverlayOffsetX(){const _=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),x=this._viewportRuler.getViewportSize(),N=this._isRtl(),ce=this.multiple?56:32;let Ue;if(this.multiple)Ue=40;else if(this.disableOptionCentering)Ue=16;else{let Ae=this._selectionModel.selected[0]||this.options.first;Ue=Ae&&Ae.group?32:16}N||(Ue*=-1);const Oe=0-(_.left+Ue-(N?ce:0)),ve=_.right+Ue-x.width+(N?0:ce);Oe>0?Ue+=Oe+8:ve>0&&(Ue-=ve+8),this._overlayDir.offsetX=Math.round(Ue),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(_,x,N){const ce=this._getItemHeight(),Ue=(ce-this._triggerRect.height)/2,Oe=Math.floor(256/ce);let ve;return this.disableOptionCentering?0:(ve=0===this._scrollTop?_*ce:this._scrollTop===N?(_-(this._getItemCount()-Oe))*ce+(ce-(this._getItemCount()*ce-256)%ce):x-ce/2,Math.round(-1*ve-Ue))}_checkOverlayWithinViewport(_){const x=this._getItemHeight(),N=this._viewportRuler.getViewportSize(),ce=this._triggerRect.top-8,Ue=N.height-this._triggerRect.bottom-8,Oe=Math.abs(this._offsetY),Ae=Math.min(this._getItemCount()*x,256)-Oe-this._triggerRect.height;Ae>Ue?this._adjustPanelUp(Ae,Ue):Oe>ce?this._adjustPanelDown(Oe,ce,_):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(_,x){const N=Math.round(_-x);this._scrollTop-=N,this._offsetY-=N,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(_,x,N){const ce=Math.round(_-x);if(this._scrollTop+=ce,this._offsetY+=ce,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=N)return this._scrollTop=N,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const _=this._getItemHeight(),x=this._getItemCount(),N=Math.min(x*_,256),Ue=x*_-N;let Oe;Oe=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Oe+=(0,c._countGroupLabelsBeforeOption)(Oe,this.options,this.optionGroups);const ve=N/2;this._scrollTop=this._calculateOverlayScroll(Oe,ve,Ue),this._offsetY=this._calculateOverlayOffsetY(Oe,ve,Ue),this._checkOverlayWithinViewport(Ue)}_getOriginBasedOnOption(){const _=this._getItemHeight(),x=(_-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-x+_/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Z.\u0275fac=function(){let j;return function(x){return(j||(j=u.\u0275\u0275getInheritedFactory(Z)))(x||Z)}}(),Z.\u0275cmp=u.\u0275\u0275defineComponent({type:Z,selectors:[["mat-select"]],contentQueries:function(_,x,N){if(1&_&&(u.\u0275\u0275contentQuery(N,rt,5),u.\u0275\u0275contentQuery(N,c.MatOption,5),u.\u0275\u0275contentQuery(N,c.MAT_OPTGROUP,5)),2&_){let ce;u.\u0275\u0275queryRefresh(ce=u.\u0275\u0275loadQuery())&&(x.customTrigger=ce.first),u.\u0275\u0275queryRefresh(ce=u.\u0275\u0275loadQuery())&&(x.options=ce),u.\u0275\u0275queryRefresh(ce=u.\u0275\u0275loadQuery())&&(x.optionGroups=ce)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(_,x){1&_&&u.\u0275\u0275listener("keydown",function(ce){return x._handleKeydown(ce)})("focus",function(){return x._onFocus()})("blur",function(){return x._onBlur()}),2&_&&(u.\u0275\u0275attribute("id",x.id)("tabindex",x.tabIndex)("aria-controls",x.panelOpen?x.id+"-panel":null)("aria-expanded",x.panelOpen)("aria-label",x.ariaLabel||null)("aria-required",x.required.toString())("aria-disabled",x.disabled.toString())("aria-invalid",x.errorState)("aria-describedby",x._ariaDescribedby||null)("aria-activedescendant",x._getAriaActiveDescendant()),u.\u0275\u0275classProp("mat-select-disabled",x.disabled)("mat-select-invalid",x.errorState)("mat-select-required",x.required)("mat-select-empty",x.empty)("mat-select-multiple",x.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[u.\u0275\u0275ProvidersFeature([{provide:r.MatFormFieldControl,useExisting:Z},{provide:c.MAT_OPTION_PARENT_COMPONENT,useExisting:Z}]),u.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:U,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(_,x){if(1&_&&(u.\u0275\u0275projectionDef(ae),u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275listener("click",function(){return x.toggle()}),u.\u0275\u0275elementStart(3,"div",2),u.\u0275\u0275template(4,ue,2,1,"span",3),u.\u0275\u0275template(5,pe,3,2,"span",4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(6,"div",5),u.\u0275\u0275element(7,"div",6),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(8,oe,4,14,"ng-template",7),u.\u0275\u0275listener("backdropClick",function(){return x.close()})("attach",function(){return x._onAttached()})("detach",function(){return x.close()})),2&_){const N=u.\u0275\u0275reference(1);u.\u0275\u0275attribute("aria-owns",x.panelOpen?x.id+"-panel":null),u.\u0275\u0275advance(3),u.\u0275\u0275property("ngSwitch",x.empty),u.\u0275\u0275attribute("id",x._valueId),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase",!0),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase",!1),u.\u0275\u0275advance(3),u.\u0275\u0275property("cdkConnectedOverlayPanelClass",x._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",x._scrollStrategy)("cdkConnectedOverlayOrigin",N)("cdkConnectedOverlayOpen",x.panelOpen)("cdkConnectedOverlayPositions",x._positions)("cdkConnectedOverlayMinWidth",null==x._triggerRect?null:x._triggerRect.width)("cdkConnectedOverlayOffsetY",x._offsetY)}},directives:[n.xu,l.NgSwitch,l.NgSwitchCase,n.pI,l.NgSwitchDefault,l.NgClass],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;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{display:table-cell;vertical-align:middle}.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 transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.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:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[ie.transformPanelWrap,ie.transformPanel]},changeDetection:0}),Z})(),_e=(()=>{class Z{}return Z.\u0275fac=function(_){return new(_||Z)},Z.\u0275mod=u.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=u.\u0275\u0275defineInjector({providers:[xt],imports:[[l.CommonModule,n.U8,c.MatOptionModule,c.MatCommonModule],d.ZD,r.MatFormFieldModule,c.MatOptionModule,c.MatCommonModule]}),Z})()},2368:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS:()=>s,MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR:()=>Y,MAT_SLIDE_TOGGLE_VALUE_ACCESSOR:()=>P,MatSlideToggle:()=>T,MatSlideToggleChange:()=>w,MatSlideToggleModule:()=>G,MatSlideToggleRequiredValidator:()=>$,_MatSlideToggleRequiredValidatorModule:()=>z});var n=o(7144),l=o(5e3),u=o(508),c=o(3191),r=o(3075),d=o(6360),m=o(5664);const p=["thumbContainer"],y=["toggleBar"],b=["input"],h=function(X){return{enterDuration:X}},g=["*"],s=new l.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let C=0;const P={provide:r.NG_VALUE_ACCESSOR,useExisting:(0,l.forwardRef)(()=>T),multi:!0};class w{constructor(Q,q){this.source=Q,this.checked=q}}const D=(0,u.mixinTabIndex)((0,u.mixinColor)((0,u.mixinDisableRipple)((0,u.mixinDisabled)(class{constructor(X){this._elementRef=X}}))));let T=(()=>{class X extends D{constructor(q,ue,me,xe,pe,oe){super(q),this._focusMonitor=ue,this._changeDetectorRef=me,this.defaults=pe,this._onChange=ae=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++C,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new l.EventEmitter,this.toggleChange=new l.EventEmitter,this.tabIndex=parseInt(xe)||0,this.color=this.defaultColor=pe.color||"accent",this._noopAnimations="NoopAnimations"===oe}get required(){return this._required}set required(q){this._required=(0,c.Ig)(q)}get checked(){return this._checked}set checked(q){this._checked=(0,c.Ig)(q),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(q=>{q||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(q){q.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(q){q.stopPropagation()}writeValue(q){this.checked=!!q}registerOnChange(q){this._onChange=q}registerOnTouched(q){this._onTouched=q}setDisabledState(q){this.disabled=q,this._changeDetectorRef.markForCheck()}focus(q,ue){ue?this._focusMonitor.focusVia(this._inputElement,ue,q):this._inputElement.nativeElement.focus(q)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new w(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return X.\u0275fac=function(q){return new(q||X)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(m.tE),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275injectAttribute("tabindex"),l.\u0275\u0275directiveInject(s),l.\u0275\u0275directiveInject(d.ANIMATION_MODULE_TYPE,8))},X.\u0275cmp=l.\u0275\u0275defineComponent({type:X,selectors:[["mat-slide-toggle"]],viewQuery:function(q,ue){if(1&q&&(l.\u0275\u0275viewQuery(p,5),l.\u0275\u0275viewQuery(y,5),l.\u0275\u0275viewQuery(b,5)),2&q){let me;l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue._thumbEl=me.first),l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue._thumbBarEl=me.first),l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue._inputElement=me.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(q,ue){2&q&&(l.\u0275\u0275hostProperty("id",ue.id),l.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null),l.\u0275\u0275classProp("mat-checked",ue.checked)("mat-disabled",ue.disabled)("mat-slide-toggle-label-before","before"==ue.labelPosition)("_mat-animation-noopable",ue._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",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"},exportAs:["matSlideToggle"],features:[l.\u0275\u0275ProvidersFeature([P]),l.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:g,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["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"],["thumbContainer",""],[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(q,ue){if(1&q&&(l.\u0275\u0275projectionDef(),l.\u0275\u0275elementStart(0,"label",0,1),l.\u0275\u0275elementStart(2,"div",2,3),l.\u0275\u0275elementStart(4,"input",4,5),l.\u0275\u0275listener("change",function(xe){return ue._onChangeEvent(xe)})("click",function(xe){return ue._onInputClick(xe)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(6,"div",6,7),l.\u0275\u0275element(8,"div",8),l.\u0275\u0275elementStart(9,"div",9),l.\u0275\u0275element(10,"div",10),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(11,"span",11,12),l.\u0275\u0275listener("cdkObserveContent",function(){return ue._onLabelTextChange()}),l.\u0275\u0275elementStart(13,"span",13),l.\u0275\u0275text(14,"\xa0"),l.\u0275\u0275elementEnd(),l.\u0275\u0275projection(15),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&q){const me=l.\u0275\u0275reference(1),xe=l.\u0275\u0275reference(12);l.\u0275\u0275attribute("for",ue.inputId),l.\u0275\u0275advance(2),l.\u0275\u0275classProp("mat-slide-toggle-bar-no-side-margin",!xe.textContent||!xe.textContent.trim()),l.\u0275\u0275advance(2),l.\u0275\u0275property("id",ue.inputId)("required",ue.required)("tabIndex",ue.tabIndex)("checked",ue.checked)("disabled",ue.disabled),l.\u0275\u0275attribute("name",ue.name)("aria-checked",ue.checked.toString())("aria-label",ue.ariaLabel)("aria-labelledby",ue.ariaLabelledby)("aria-describedby",ue.ariaDescribedby),l.\u0275\u0275advance(5),l.\u0275\u0275property("matRippleTrigger",me)("matRippleDisabled",ue.disableRipple||ue.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",l.\u0275\u0275pureFunction1(18,h,ue._noopAnimations?0:150))}},directives:[u.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:transparent}.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;-moz-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%}.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}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),X})();const Y={provide:r.NG_VALIDATORS,useExisting:(0,l.forwardRef)(()=>$),multi:!0};let $=(()=>{class X extends r.CheckboxRequiredValidator{}return X.\u0275fac=function(){let Q;return function(ue){return(Q||(Q=l.\u0275\u0275getInheritedFactory(X)))(ue||X)}}(),X.\u0275dir=l.\u0275\u0275defineDirective({type:X,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[l.\u0275\u0275ProvidersFeature([Y]),l.\u0275\u0275InheritDefinitionFeature]}),X})(),z=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=l.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=l.\u0275\u0275defineInjector({}),X})(),G=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=l.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=l.\u0275\u0275defineInjector({imports:[[z,u.MatRippleModule,u.MatCommonModule,n.Q8],z,u.MatCommonModule]}),X})()},8029:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_SLIDER_VALUE_ACCESSOR:()=>T,MatSlider:()=>z,MatSliderChange:()=>Y,MatSliderModule:()=>ue});var n=o(9808),l=o(5e3),u=o(508),c=o(3191),r=o(1159),d=o(3075),m=o(6360),p=o(925),y=o(2654),b=o(5664),h=o(226);const g=["sliderWrapper"],s=(0,p.i$)({passive:!1}),T={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,l.forwardRef)(()=>z),multi:!0};class Y{}const $=(0,u.mixinTabIndex)((0,u.mixinColor)((0,u.mixinDisabled)(class{constructor(me){this._elementRef=me}}),"accent"));let z=(()=>{class me extends ${constructor(pe,oe,ae,U,ie,le,Ce,Te){super(pe),this._focusMonitor=oe,this._changeDetectorRef=ae,this._dir=U,this._ngZone=le,this._animationMode=Te,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 l.EventEmitter,this.input=new l.EventEmitter,this.valueChange=new l.EventEmitter,this.onTouched=()=>{},this._percent=0,this._isSliding=null,this._isActive=!1,this._tickIntervalPercent=0,this._sliderDimensions=null,this._controlValueAccessorChangeFn=()=>{},this._dirChangeSubscription=y.w.EMPTY,this._pointerDown=Ke=>{this.disabled||this._isSliding||!G(Ke)&&0!==Ke.button||this._ngZone.run(()=>{this._touchId=G(Ke)?function(me,xe){for(let pe=0;pe{if("pointer"===this._isSliding){const tt=X(Ke,this._touchId);if(tt){Ke.preventDefault();const ot=this.value;this._lastPointerEvent=Ke,this._updateValueFromPosition(tt),ot!=this.value&&this._emitInputEvent()}}},this._pointerUp=Ke=>{"pointer"===this._isSliding&&(!G(Ke)||"number"!=typeof this._touchId||Q(Ke.changedTouches,this._touchId))&&(Ke.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=Ce,this.tabIndex=parseInt(ie)||0,le.runOutsideAngular(()=>{const Ke=pe.nativeElement;Ke.addEventListener("mousedown",this._pointerDown,s),Ke.addEventListener("touchstart",this._pointerDown,s)})}get invert(){return this._invert}set invert(pe){this._invert=(0,c.Ig)(pe)}get max(){return this._max}set max(pe){this._max=(0,c.su)(pe,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(pe){this._min=(0,c.su)(pe,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(pe){this._step=(0,c.su)(pe,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(pe){this._thumbLabel=(0,c.Ig)(pe)}get tickInterval(){return this._tickInterval}set tickInterval(pe){this._tickInterval="auto"===pe?"auto":"number"==typeof pe||"string"==typeof pe?(0,c.su)(pe,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(pe){if(pe!==this._value){let oe=(0,c.su)(pe,0);this._roundToDecimal&&oe!==this.min&&oe!==this.max&&(oe=parseFloat(oe.toFixed(this._roundToDecimal))),this._value=oe,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}get vertical(){return this._vertical}set vertical(pe){this._vertical=(0,c.Ig)(pe)}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(pe){this._focusHostElement(pe)}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 oe=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(${oe})`}}_getTrackFillStyles(){const pe=this.percent,ae=this.vertical?`1, ${pe}, 1`:`${pe}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${ae})`,display:0===pe?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let pe=100*this._tickIntervalPercent,le={backgroundSize:this.vertical?`2px ${pe}%`:`${pe}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${pe/2}%)${this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)"}`};if(this._isMinValue()&&this._getThumbGap()){const Ce=this._shouldInvertAxis();let Te;Te=this.vertical?Ce?"Bottom":"Top":Ce?"Right":"Left",le[`padding${Te}`]=`${this._getThumbGap()}px`}return le}_getThumbContainerStyles(){const pe=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?pe:!pe)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const pe=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?pe:!pe}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(pe=>{this._isActive=!!pe&&"keyboard"!==pe,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const pe=this._elementRef.nativeElement;pe.removeEventListener("mousedown",this._pointerDown,s),pe.removeEventListener("touchstart",this._pointerDown,s),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(pe){if(this.disabled||(0,r.Vb)(pe)||this._isSliding&&"keyboard"!==this._isSliding)return;const oe=this.value;switch(pe.keyCode){case r.Ku:this._increment(10);break;case r.VM:this._increment(-10);break;case r.uR:this.value=this.max;break;case r.Sd:this.value=this.min;break;case r.oh:this._increment("rtl"==this._getDirection()?1:-1);break;case r.LH:this._increment(1);break;case r.SV:this._increment("rtl"==this._getDirection()?-1:1);break;case r.JH:this._increment(-1);break;default:return}oe!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",pe.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(pe){const oe=this._document,ae=G(pe),ie=ae?"touchend":"mouseup";oe.addEventListener(ae?"touchmove":"mousemove",this._pointerMove,s),oe.addEventListener(ie,this._pointerUp,s),ae&&oe.addEventListener("touchcancel",this._pointerUp,s);const le=this._getWindow();void 0!==le&&le&&le.addEventListener("blur",this._windowBlur)}_removeGlobalEvents(){const pe=this._document;pe.removeEventListener("mousemove",this._pointerMove,s),pe.removeEventListener("mouseup",this._pointerUp,s),pe.removeEventListener("touchmove",this._pointerMove,s),pe.removeEventListener("touchend",this._pointerUp,s),pe.removeEventListener("touchcancel",this._pointerUp,s);const oe=this._getWindow();void 0!==oe&&oe&&oe.removeEventListener("blur",this._windowBlur)}_increment(pe){this.value=this._clamp((this.value||0)+this.step*pe,this.min,this.max)}_updateValueFromPosition(pe){if(!this._sliderDimensions)return;let ie=this._clamp(((this.vertical?pe.y:pe.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(ie=1-ie),0===ie)this.value=this.min;else if(1===ie)this.value=this.max;else{const le=this._calculateValue(ie),Ce=Math.round((le-this.min)/this.step)*this.step+this.min;this.value=this._clamp(Ce,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)if("auto"==this.tickInterval){let pe=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,U=Math.ceil(30/(pe*this.step/(this.max-this.min)))*this.step;this._tickIntervalPercent=U/pe}else this._tickIntervalPercent=this.tickInterval*this.step/(this.max-this.min)}_createChangeEvent(pe=this.value){let oe=new Y;return oe.source=this,oe.value=pe,oe}_calculatePercentage(pe){return((pe||0)-this.min)/(this.max-this.min)}_calculateValue(pe){return this.min+pe*(this.max-this.min)}_clamp(pe,oe=0,ae=1){return Math.max(oe,Math.min(pe,ae))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(pe){this._elementRef.nativeElement.focus(pe)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(pe){this.value=pe}registerOnChange(pe){this._controlValueAccessorChangeFn=pe}registerOnTouched(pe){this.onTouched=pe}setDisabledState(pe){this.disabled=pe}}return me.\u0275fac=function(pe){return new(pe||me)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(b.tE),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(h.Is,8),l.\u0275\u0275injectAttribute("tabindex"),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(n.DOCUMENT),l.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},me.\u0275cmp=l.\u0275\u0275defineComponent({type:me,selectors:[["mat-slider"]],viewQuery:function(pe,oe){if(1&pe&&l.\u0275\u0275viewQuery(g,5),2&pe){let ae;l.\u0275\u0275queryRefresh(ae=l.\u0275\u0275loadQuery())&&(oe._sliderWrapper=ae.first)}},hostAttrs:["role","slider",1,"mat-slider","mat-focus-indicator"],hostVars:29,hostBindings:function(pe,oe){1&pe&&l.\u0275\u0275listener("focus",function(){return oe._onFocus()})("blur",function(){return oe._onBlur()})("keydown",function(U){return oe._onKeydown(U)})("keyup",function(){return oe._onKeyup()})("mouseenter",function(){return oe._onMouseenter()})("selectstart",function(U){return U.preventDefault()}),2&pe&&(l.\u0275\u0275hostProperty("tabIndex",oe.tabIndex),l.\u0275\u0275attribute("aria-disabled",oe.disabled)("aria-valuemax",oe.max)("aria-valuemin",oe.min)("aria-valuenow",oe.value)("aria-valuetext",null==oe.valueText?oe.displayValue:oe.valueText)("aria-orientation",oe.vertical?"vertical":"horizontal"),l.\u0275\u0275classProp("mat-slider-disabled",oe.disabled)("mat-slider-has-ticks",oe.tickInterval)("mat-slider-horizontal",!oe.vertical)("mat-slider-axis-inverted",oe._shouldInvertAxis())("mat-slider-invert-mouse-coords",oe._shouldInvertMouseCoords())("mat-slider-sliding",oe._isSliding)("mat-slider-thumb-label-showing",oe.thumbLabel)("mat-slider-vertical",oe.vertical)("mat-slider-min-value",oe._isMinValue())("mat-slider-hide-last-tick",oe.disabled||oe._isMinValue()&&oe._getThumbGap()&&oe._shouldInvertAxis())("_mat-animation-noopable","NoopAnimations"===oe._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:[l.\u0275\u0275ProvidersFeature([T]),l.\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(pe,oe){1&pe&&(l.\u0275\u0275elementStart(0,"div",0,1),l.\u0275\u0275elementStart(2,"div",2),l.\u0275\u0275element(3,"div",3),l.\u0275\u0275element(4,"div",4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(5,"div",5),l.\u0275\u0275element(6,"div",6),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(7,"div",7),l.\u0275\u0275element(8,"div",8),l.\u0275\u0275element(9,"div",9),l.\u0275\u0275elementStart(10,"div",10),l.\u0275\u0275elementStart(11,"span",11),l.\u0275\u0275text(12),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&pe&&(l.\u0275\u0275advance(3),l.\u0275\u0275property("ngStyle",oe._getTrackBackgroundStyles()),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngStyle",oe._getTrackFillStyles()),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngStyle",oe._getTicksContainerStyles()),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngStyle",oe._getTicksStyles()),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngStyle",oe._getThumbContainerStyles()),l.\u0275\u0275advance(5),l.\u0275\u0275textInterpolate(oe.displayValue))},directives:[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:-webkit-grabbing;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:-webkit-grab;cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;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}\n'],encapsulation:2,changeDetection:0}),me})();function G(me){return"t"===me.type[0]}function X(me,xe){let pe;return pe=G(me)?"number"==typeof xe?Q(me.touches,xe)||Q(me.changedTouches,xe):me.touches[0]||me.changedTouches[0]:me,pe?{x:pe.clientX,y:pe.clientY}:void 0}function Q(me,xe){for(let pe=0;pe{class me{}return me.\u0275fac=function(pe){return new(pe||me)},me.\u0275mod=l.\u0275\u0275defineNgModule({type:me}),me.\u0275inj=l.\u0275\u0275defineInjector({imports:[[n.CommonModule,u.MatCommonModule],u.MatCommonModule]}),me})()},6346:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatCell:()=>Ve,MatCellDef:()=>Ct,MatColumnDef:()=>vn,MatFooterCell:()=>st,MatFooterCellDef:()=>$t,MatFooterRow:()=>fn,MatFooterRowDef:()=>At,MatHeaderCell:()=>it,MatHeaderCellDef:()=>Ht,MatHeaderRow:()=>Jt,MatHeaderRowDef:()=>ut,MatNoDataRow:()=>li,MatRecycleRows:()=>be,MatRow:()=>Rn,MatRowDef:()=>Xt,MatTable:()=>je,MatTableDataSource:()=>jn,MatTableModule:()=>Jn,MatTextColumn:()=>ti,_MatTableDataSource:()=>ri});var n=o(5e3),l=o(3191),u=o(449),c=o(9808),r=o(8929),d=o(5254),m=o(591),p=o(6498),b=o(1086),h=o(7625),g=o(2986),s=o(226),C=o(925),P=o(9071);const w=[[["caption"]],[["colgroup"],["col"]]],D=["caption","colgroup, col"];function T(Se,Xe){if(1&Se&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Se){const J=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",J.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",J.headerText," ")}}function Y(Se,Xe){if(1&Se&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Se){const J=Xe.$implicit,Re=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Re.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Re.dataAccessor(J,Re.name)," ")}}function $(Se){return class extends Se{constructor(...Xe){super(...Xe),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Xe){const J=this._sticky;this._sticky=(0,l.Ig)(Xe),this._hasStickyChanged=J!==this._sticky}hasStickyChanged(){const Xe=this._hasStickyChanged;return this._hasStickyChanged=!1,Xe}resetStickyChanged(){this._hasStickyChanged=!1}}}const z=new n.InjectionToken("CDK_TABLE"),G=new n.InjectionToken("text-column-options");let X=(()=>{class Se{constructor(J){this.template=J}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkCellDef",""]]}),Se})(),Q=(()=>{class Se{constructor(J){this.template=J}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkHeaderCellDef",""]]}),Se})(),q=(()=>{class Se{constructor(J){this.template=J}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkFooterCellDef",""]]}),Se})();class ue{}const me=$(ue);let xe=(()=>{class Se extends me{constructor(J){super(),this._table=J,this._stickyEnd=!1}get name(){return this._name}set name(J){this._setNameInput(J)}get stickyEnd(){return this._stickyEnd}set stickyEnd(J){const Re=this._stickyEnd;this._stickyEnd=(0,l.Ig)(J),this._hasStickyChanged=Re!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(J){J&&(this._name=J,this.cssClassFriendlyName=J.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(z,8))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkColumnDef",""]],contentQueries:function(J,Re,S){if(1&J&&(n.\u0275\u0275contentQuery(S,X,5),n.\u0275\u0275contentQuery(S,Q,5),n.\u0275\u0275contentQuery(S,q,5)),2&J){let te;n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re.cell=te.first),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re.headerCell=te.first),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re.footerCell=te.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})();class pe{constructor(Xe,J){const Re=J.nativeElement.classList;for(const S of Xe._columnCssClassName)Re.add(S)}}let oe=(()=>{class Se extends pe{constructor(J,Re){super(J,Re)}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(xe),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),ae=(()=>{class Se extends pe{constructor(J,Re){var S;if(super(J,Re),1===(null===(S=J._table)||void 0===S?void 0:S._elementRef.nativeElement.nodeType)){const te=J._table._elementRef.nativeElement.getAttribute("role");Re.nativeElement.setAttribute("role","grid"===te||"treegrid"===te?"gridcell":"cell")}}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(xe),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),U=(()=>{class Se extends pe{constructor(J,Re){var S;if(super(J,Re),1===(null===(S=J._table)||void 0===S?void 0:S._elementRef.nativeElement.nodeType)){const te=J._table._elementRef.nativeElement.getAttribute("role");Re.nativeElement.setAttribute("role","grid"===te||"treegrid"===te?"gridcell":"cell")}}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(xe),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})();class ie{constructor(){this.tasks=[],this.endTasks=[]}}const le=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let Ce=(()=>{class Se{constructor(J){this._ngZone=J,this._currentSchedule=null,this._destroyed=new r.xQ}schedule(J){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(J)}scheduleEnd(J){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(J)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ie,this._getScheduleObservable().pipe((0,h.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const J=this._currentSchedule;this._currentSchedule=new ie;for(const Re of J.tasks)Re();for(const Re of J.endTasks)Re()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,d.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,g.q)(1))}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275inject(n.NgZone))},Se.\u0275prov=n.\u0275\u0275defineInjectable({token:Se,factory:Se.\u0275fac}),Se})(),Ke=(()=>{class Se{constructor(J,Re){this.template=J,this._differs=Re}ngOnChanges(J){if(!this._columnsDiffer){const Re=J.columns&&J.columns.currentValue||[];this._columnsDiffer=this._differs.find(Re).create(),this._columnsDiffer.diff(Re)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(J){return this instanceof pt?J.headerCell.template:this instanceof Qe?J.footerCell.template:J.cell.template}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,features:[n.\u0275\u0275NgOnChangesFeature]}),Se})();class tt extends Ke{}const ot=$(tt);let pt=(()=>{class Se extends ot{constructor(J,Re,S){super(J,Re),this._table=S}ngOnChanges(J){super.ngOnChanges(J)}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(z,8))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),Se})();class Dt extends Ke{}const Ie=$(Dt);let Qe=(()=>{class Se extends Ie{constructor(J,Re,S){super(J,Re),this._table=S}ngOnChanges(J){super.ngOnChanges(J)}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(z,8))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),Se})(),ct=(()=>{class Se extends Ke{constructor(J,Re,S){super(J,Re),this._table=S}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(z,8))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),bt=(()=>{class Se{constructor(J){this._viewContainer=J,Se.mostRecentCellOutlet=this}ngOnDestroy(){Se.mostRecentCellOutlet===this&&(Se.mostRecentCellOutlet=null)}}return Se.mostRecentCellOutlet=null,Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkCellOutlet",""]]}),Se})(),Et=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),xt=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),dt=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),Ne=(()=>{class Se{constructor(J){this.templateRef=J,this._contentClassName="cdk-no-data-row"}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["ng-template","cdkNoDataRow",""]]}),Se})();const rt=["top","bottom","left","right"];class ze{constructor(Xe,J,Re,S,te=!0,ke=!0,Ye){this._isNativeHtmlTable=Xe,this._stickCellCss=J,this.direction=Re,this._coalescedStyleScheduler=S,this._isBrowser=te,this._needsPositionStickyOnElement=ke,this._positionListener=Ye,this._cachedCellWidths=[],this._borderCellCss={top:`${J}-border-elem-top`,bottom:`${J}-border-elem-bottom`,left:`${J}-border-elem-left`,right:`${J}-border-elem-right`}}clearStickyPositioning(Xe,J){const Re=[];for(const S of Xe)if(S.nodeType===S.ELEMENT_NODE){Re.push(S);for(let te=0;te{for(const S of Re)this._removeStickyStyle(S,J)})}updateStickyColumns(Xe,J,Re,S=!0){if(!Xe.length||!this._isBrowser||!J.some(Zt=>Zt)&&!Re.some(Zt=>Zt))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const te=Xe[0],ke=te.children.length,Ye=this._getCellWidths(te,S),kt=this._getStickyStartColumnPositions(Ye,J),It=this._getStickyEndColumnPositions(Ye,Re),Rt=J.lastIndexOf(!0),Yt=Re.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Zt="rtl"===this.direction,Mn=Zt?"right":"left",Tn=Zt?"left":"right";for(const wn of Xe)for(let Bn=0;BnJ[Bn]?wn:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Yt?[]:Ye.slice(Yt).map((wn,Bn)=>Re[Bn+Yt]?wn:null).reverse()}))})}stickRows(Xe,J,Re){if(!this._isBrowser)return;const S="bottom"===Re?Xe.slice().reverse():Xe,te="bottom"===Re?J.slice().reverse():J,ke=[],Ye=[],kt=[];for(let Rt=0,Yt=0;Rt{var Rt,Yt;for(let Zt=0;Zt{J.some(S=>!S)?this._removeStickyStyle(Re,["bottom"]):this._addStickyStyle(Re,"bottom",0,!1)})}_removeStickyStyle(Xe,J){for(const S of J)Xe.style[S]="",Xe.classList.remove(this._borderCellCss[S]);rt.some(S=>-1===J.indexOf(S)&&Xe.style[S])?Xe.style.zIndex=this._getCalculatedZIndex(Xe):(Xe.style.zIndex="",this._needsPositionStickyOnElement&&(Xe.style.position=""),Xe.classList.remove(this._stickCellCss))}_addStickyStyle(Xe,J,Re,S){Xe.classList.add(this._stickCellCss),S&&Xe.classList.add(this._borderCellCss[J]),Xe.style[J]=`${Re}px`,Xe.style.zIndex=this._getCalculatedZIndex(Xe),this._needsPositionStickyOnElement&&(Xe.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Xe){const J={top:100,bottom:10,left:1,right:1};let Re=0;for(const S of rt)Xe.style[S]&&(Re+=J[S]);return Re?`${Re}`:""}_getCellWidths(Xe,J=!0){if(!J&&this._cachedCellWidths.length)return this._cachedCellWidths;const Re=[],S=Xe.children;for(let te=0;te0;te--)J[te]&&(Re[te]=S,S+=Xe[te]);return Re}}const ce=new n.InjectionToken("CDK_SPL");let Oe=(()=>{class Se{constructor(J,Re){this.viewContainer=J,this.elementRef=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","rowOutlet",""]]}),Se})(),ve=(()=>{class Se{constructor(J,Re){this.viewContainer=J,this.elementRef=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","headerRowOutlet",""]]}),Se})(),Ae=(()=>{class Se{constructor(J,Re){this.viewContainer=J,this.elementRef=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","footerRowOutlet",""]]}),Se})(),nt=(()=>{class Se{constructor(J,Re){this.viewContainer=J,this.elementRef=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","noDataRowOutlet",""]]}),Se})(),gt=(()=>{class Se{constructor(J,Re,S,te,ke,Ye,kt,It,Rt,Yt,Zt){this._differs=J,this._changeDetectorRef=Re,this._elementRef=S,this._dir=ke,this._platform=kt,this._viewRepeater=It,this._coalescedStyleScheduler=Rt,this._viewportRuler=Yt,this._stickyPositioningListener=Zt,this._onDestroy=new r.xQ,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 m.X({start:0,end:Number.MAX_VALUE}),te||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Ye,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(J){this._trackByFn=J}get dataSource(){return this._dataSource}set dataSource(J){this._dataSource!==J&&this._switchDataSource(J)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(J){this._multiTemplateDataRows=(0,l.Ig)(J),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(J){this._fixedLayout=(0,l.Ig)(J),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((J,Re)=>this.trackBy?this.trackBy(Re.dataIndex,Re.data):Re),this._viewportRuler.change().pipe((0,h.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Re=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Re,this._forceRecalculateCellWidths=Re,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.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),(0,u.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const J=this._dataDiffer.diff(this._renderRows);if(!J)return this._updateNoDataRow(),void this.contentChanged.next();const Re=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(J,Re,(S,te,ke)=>this._getEmbeddedViewArgs(S.item,ke),S=>S.item.data,S=>{1===S.operation&&S.context&&this._renderCellTemplateForItem(S.record.item.rowDef,S.context)}),this._updateRowIndexContext(),J.forEachIdentityChange(S=>{Re.get(S.currentIndex).context.$implicit=S.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(J){this._customColumnDefs.add(J)}removeColumnDef(J){this._customColumnDefs.delete(J)}addRowDef(J){this._customRowDefs.add(J)}removeRowDef(J){this._customRowDefs.delete(J)}addHeaderRowDef(J){this._customHeaderRowDefs.add(J),this._headerRowDefChanged=!0}removeHeaderRowDef(J){this._customHeaderRowDefs.delete(J),this._headerRowDefChanged=!0}addFooterRowDef(J){this._customFooterRowDefs.add(J),this._footerRowDefChanged=!0}removeFooterRowDef(J){this._customFooterRowDefs.delete(J),this._footerRowDefChanged=!0}setNoDataRow(J){this._customNoDataRow=J}updateStickyHeaderRowStyles(){const J=this._getRenderedRows(this._headerRowOutlet),S=this._elementRef.nativeElement.querySelector("thead");S&&(S.style.display=J.length?"":"none");const te=this._headerRowDefs.map(ke=>ke.sticky);this._stickyStyler.clearStickyPositioning(J,["top"]),this._stickyStyler.stickRows(J,te,"top"),this._headerRowDefs.forEach(ke=>ke.resetStickyChanged())}updateStickyFooterRowStyles(){const J=this._getRenderedRows(this._footerRowOutlet),S=this._elementRef.nativeElement.querySelector("tfoot");S&&(S.style.display=J.length?"":"none");const te=this._footerRowDefs.map(ke=>ke.sticky);this._stickyStyler.clearStickyPositioning(J,["bottom"]),this._stickyStyler.stickRows(J,te,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,te),this._footerRowDefs.forEach(ke=>ke.resetStickyChanged())}updateStickyColumnStyles(){const J=this._getRenderedRows(this._headerRowOutlet),Re=this._getRenderedRows(this._rowOutlet),S=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...J,...Re,...S],["left","right"]),this._stickyColumnStylesNeedReset=!1),J.forEach((te,ke)=>{this._addStickyColumnStyles([te],this._headerRowDefs[ke])}),this._rowDefs.forEach(te=>{const ke=[];for(let Ye=0;Ye{this._addStickyColumnStyles([te],this._footerRowDefs[ke])}),Array.from(this._columnDefsByName.values()).forEach(te=>te.resetStickyChanged())}_getAllRenderRows(){const J=[],Re=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let S=0;S{const Ye=S&&S.has(ke)?S.get(ke):[];if(Ye.length){const kt=Ye.shift();return kt.dataIndex=Re,kt}return{data:J,rowDef:ke,dataIndex:Re}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Lt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Re=>{this._columnDefsByName.has(Re.name),this._columnDefsByName.set(Re.name,Re)})}_cacheRowDefs(){this._headerRowDefs=Lt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Lt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Lt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const J=this._rowDefs.filter(Re=>!Re.when);this._defaultRowDef=J[0]}_renderUpdatedColumns(){const J=(ke,Ye)=>ke||!!Ye.getColumnsDiff(),Re=this._rowDefs.reduce(J,!1);Re&&this._forceRenderDataRows();const S=this._headerRowDefs.reduce(J,!1);S&&this._forceRenderHeaderRows();const te=this._footerRowDefs.reduce(J,!1);return te&&this._forceRenderFooterRows(),Re||S||te}_switchDataSource(J){this._data=[],(0,u.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),J||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=J}_observeRenderChanges(){if(!this.dataSource)return;let J;(0,u.Z9)(this.dataSource)?J=this.dataSource.connect(this):function(Se){return!!Se&&(Se instanceof p.y||"function"==typeof Se.lift&&"function"==typeof Se.subscribe)}(this.dataSource)?J=this.dataSource:Array.isArray(this.dataSource)&&(J=(0,b.of)(this.dataSource)),this._renderChangeSubscription=J.pipe((0,h.R)(this._onDestroy)).subscribe(Re=>{this._data=Re||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((J,Re)=>this._renderRow(this._headerRowOutlet,J,Re)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((J,Re)=>this._renderRow(this._footerRowOutlet,J,Re)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(J,Re){const S=Array.from(Re.columns||[]).map(Ye=>this._columnDefsByName.get(Ye)),te=S.map(Ye=>Ye.sticky),ke=S.map(Ye=>Ye.stickyEnd);this._stickyStyler.updateStickyColumns(J,te,ke,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(J){const Re=[];for(let S=0;S!te.when||te.when(Re,J));else{let te=this._rowDefs.find(ke=>ke.when&&ke.when(Re,J))||this._defaultRowDef;te&&S.push(te)}return S}_getEmbeddedViewArgs(J,Re){return{templateRef:J.rowDef.template,context:{$implicit:J.data},index:Re}}_renderRow(J,Re,S,te={}){const ke=J.viewContainer.createEmbeddedView(Re.template,te,S);return this._renderCellTemplateForItem(Re,te),ke}_renderCellTemplateForItem(J,Re){for(let S of this._getCellTemplates(J))bt.mostRecentCellOutlet&&bt.mostRecentCellOutlet._viewContainer.createEmbeddedView(S,Re);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const J=this._rowOutlet.viewContainer;for(let Re=0,S=J.length;Re{const S=this._columnDefsByName.get(Re);return J.extractCellTemplate(S)}):[]}_applyNativeTableSections(){const J=this._document.createDocumentFragment(),Re=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const S of Re){const te=this._document.createElement(S.tag);te.setAttribute("role","rowgroup");for(const ke of S.outlets)te.appendChild(ke.elementRef.nativeElement);J.appendChild(te)}this._elementRef.nativeElement.appendChild(J)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const J=(Re,S)=>Re||S.hasStickyChanged();this._headerRowDefs.reduce(J,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(J,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(J,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new ze(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,b.of)()).pipe((0,h.R)(this._onDestroy)).subscribe(Re=>{this._stickyStyler.direction=Re,this.updateStickyColumnStyles()})}_getOwnDefs(J){return J.filter(Re=>!Re._table||Re._table===this)}_updateNoDataRow(){const J=this._customNoDataRow||this._noDataRow;if(!J)return;const Re=0===this._rowOutlet.viewContainer.length;if(Re===this._isShowingNoDataRow)return;const S=this._noDataRowOutlet.viewContainer;if(Re){const te=S.createEmbeddedView(J.templateRef),ke=te.rootNodes[0];1===te.rootNodes.length&&(null==ke?void 0:ke.nodeType)===this._document.ELEMENT_NODE&&(ke.setAttribute("role","row"),ke.classList.add(J._contentClassName))}else S.clear();this._isShowingNoDataRow=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(s.Is,8),n.\u0275\u0275directiveInject(c.DOCUMENT),n.\u0275\u0275directiveInject(C.t4),n.\u0275\u0275directiveInject(u.k),n.\u0275\u0275directiveInject(le),n.\u0275\u0275directiveInject(P.rL),n.\u0275\u0275directiveInject(ce,12))},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(J,Re,S){if(1&J&&(n.\u0275\u0275contentQuery(S,Ne,5),n.\u0275\u0275contentQuery(S,xe,5),n.\u0275\u0275contentQuery(S,ct,5),n.\u0275\u0275contentQuery(S,pt,5),n.\u0275\u0275contentQuery(S,Qe,5)),2&J){let te;n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._noDataRow=te.first),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._contentColumnDefs=te),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._contentRowDefs=te),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._contentHeaderRowDefs=te),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._contentFooterRowDefs=te)}},viewQuery:function(J,Re){if(1&J&&(n.\u0275\u0275viewQuery(Oe,7),n.\u0275\u0275viewQuery(ve,7),n.\u0275\u0275viewQuery(Ae,7),n.\u0275\u0275viewQuery(nt,7)),2&J){let S;n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re._rowOutlet=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re._headerRowOutlet=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re._footerRowOutlet=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re._noDataRowOutlet=S.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(J,Re){2&J&&n.\u0275\u0275classProp("cdk-table-fixed-layout",Re.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:z,useExisting:Se},{provide:u.k,useClass:u.yy},{provide:le,useClass:Ce},{provide:ce,useValue:null}])],ngContentSelectors:D,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(J,Re){1&J&&(n.\u0275\u0275projectionDef(w),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0),n.\u0275\u0275elementContainer(3,1),n.\u0275\u0275elementContainer(4,2),n.\u0275\u0275elementContainer(5,3))},directives:[ve,Oe,nt,Ae],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),Se})();function Lt(Se,Xe){return Se.concat(Array.from(Xe))}let $e=(()=>{class Se{constructor(J,Re){this._table=J,this._options=Re,this.justify="start",this._options=Re||{}}get name(){return this._name}set name(J){this._name=J,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((J,Re)=>J[Re])),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 J=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(J):J[0].toUpperCase()+J.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(gt,8),n.\u0275\u0275directiveInject(G,8))},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-text-column"]],viewQuery:function(J,Re){if(1&J&&(n.\u0275\u0275viewQuery(xe,7),n.\u0275\u0275viewQuery(X,7),n.\u0275\u0275viewQuery(Q,7)),2&J){let S;n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re.columnDef=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re.cell=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re.headerCell=S.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(J,Re){1&J&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,T,2,3,"th",1),n.\u0275\u0275template(2,Y,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},directives:[xe,Q,X,oe,U],encapsulation:2}),Se})(),Mt=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275mod=n.\u0275\u0275defineNgModule({type:Se}),Se.\u0275inj=n.\u0275\u0275defineInjector({imports:[[P.Cl]]}),Se})();var Ge=o(508),lt=o(6787),Ot=o(6053),Nt=o(4850);const Pe=[[["caption"]],[["colgroup"],["col"]]],Ee=["caption","colgroup, col"];function B(Se,Xe){if(1&Se&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Se){const J=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",J.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",J.headerText," ")}}function V(Se,Xe){if(1&Se&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Se){const J=Xe.$implicit,Re=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Re.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Re.dataAccessor(J,Re.name)," ")}}let be=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:u.k,useClass:u.eX}])]}),Se})(),je=(()=>{class Se extends gt{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(J,Re){2&J&&n.\u0275\u0275classProp("mat-table-fixed-layout",Re.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:u.k,useClass:u.yy},{provide:gt,useExisting:Se},{provide:z,useExisting:Se},{provide:le,useClass:Ce},{provide:ce,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Ee,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(J,Re){1&J&&(n.\u0275\u0275projectionDef(Pe),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0),n.\u0275\u0275elementContainer(3,1),n.\u0275\u0275elementContainer(4,2),n.\u0275\u0275elementContainer(5,3))},directives:[ve,Oe,nt,Ae],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-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}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:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),Se})(),Ct=(()=>{class Se extends X{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:X,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),Ht=(()=>{class Se extends Q{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Q,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),$t=(()=>{class Se extends q{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:q,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),vn=(()=>{class Se extends xe{get name(){return this._name}set name(J){this._setNameInput(J)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:xe,useExisting:Se},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),it=(()=>{class Se extends oe{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),st=(()=>{class Se extends ae{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),Ve=(()=>{class Se extends U{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),ut=(()=>{class Se extends pt{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:pt,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),At=(()=>{class Se extends Qe{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Qe,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),Xt=(()=>{class Se extends ct{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ct,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),Jt=(()=>{class Se extends Et{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Et,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),fn=(()=>{class Se extends xt{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:xt,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),Rn=(()=>{class Se extends dt{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:dt,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),li=(()=>{class Se extends Ne{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Ne,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),ti=(()=>{class Se extends $e{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-text-column"]],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(J,Re){1&J&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,B,2,3,"th",1),n.\u0275\u0275template(2,V,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},directives:[vn,Ht,Ct,it,Ve],encapsulation:2}),Se})(),Jn=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275mod=n.\u0275\u0275defineNgModule({type:Se}),Se.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Mt,Ge.MatCommonModule],Ge.MatCommonModule]}),Se})();class ri extends u.o2{constructor(Xe=[]){super(),this._renderData=new m.X([]),this._filter=new m.X(""),this._internalPageChanges=new r.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(J,Re)=>{const S=J[Re];if((0,l.t6)(S)){const te=Number(S);return te<9007199254740991?te:S}return S},this.sortData=(J,Re)=>{const S=Re.active,te=Re.direction;return S&&""!=te?J.sort((ke,Ye)=>{let kt=this.sortingDataAccessor(ke,S),It=this.sortingDataAccessor(Ye,S);const Rt=typeof kt,Yt=typeof It;Rt!==Yt&&("number"===Rt&&(kt+=""),"number"===Yt&&(It+=""));let Zt=0;return null!=kt&&null!=It?kt>It?Zt=1:kt{const S=Object.keys(J).reduce((ke,Ye)=>ke+J[Ye]+"\u25ec","").toLowerCase(),te=Re.trim().toLowerCase();return-1!=S.indexOf(te)},this._data=new m.X(Xe),this._updateChangeSubscription()}get data(){return this._data.value}set data(Xe){this._data.next(Xe),this._renderChangesSubscription||this._filterData(Xe)}get filter(){return this._filter.value}set filter(Xe){this._filter.next(Xe),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Xe){this._sort=Xe,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Xe){this._paginator=Xe,this._updateChangeSubscription()}_updateChangeSubscription(){var Xe;const J=this._sort?(0,lt.T)(this._sort.sortChange,this._sort.initialized):(0,b.of)(null),Re=this._paginator?(0,lt.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,b.of)(null),te=(0,Ot.aj)([this._data,this._filter]).pipe((0,Nt.U)(([kt])=>this._filterData(kt))),ke=(0,Ot.aj)([te,J]).pipe((0,Nt.U)(([kt])=>this._orderData(kt))),Ye=(0,Ot.aj)([ke,Re]).pipe((0,Nt.U)(([kt])=>this._pageData(kt)));null===(Xe=this._renderChangesSubscription)||void 0===Xe||Xe.unsubscribe(),this._renderChangesSubscription=Ye.subscribe(kt=>this._renderData.next(kt))}_filterData(Xe){return this.filteredData=null==this.filter||""===this.filter?Xe:Xe.filter(J=>this.filterPredicate(J,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Xe){return this.sort?this.sortData(Xe.slice(),this.sort):Xe}_pageData(Xe){if(!this.paginator)return Xe;const J=this.paginator.pageIndex*this.paginator.pageSize;return Xe.slice(J,J+this.paginator.pageSize)}_updatePaginator(Xe){Promise.resolve().then(()=>{const J=this.paginator;if(J&&(J.length=Xe,J.pageIndex>0)){const Re=Math.ceil(J.length/J.pageSize)-1||0,S=Math.min(J.pageIndex,Re);S!==J.pageIndex&&(J.pageIndex=S,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var Xe;null===(Xe=this._renderChangesSubscription)||void 0===Xe||Xe.unsubscribe(),this._renderChangesSubscription=null}}class jn extends ri{}},3251:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_TAB:()=>xt,MAT_TABS_CONFIG:()=>j,MAT_TAB_GROUP:()=>rt,MatInkBar:()=>Qe,MatTab:()=>ze,MatTabBody:()=>Z,MatTabBodyPortal:()=>mt,MatTabChangeEvent:()=>Ft,MatTabContent:()=>bt,MatTabGroup:()=>$e,MatTabHeader:()=>nt,MatTabLabel:()=>dt,MatTabLabelWrapper:()=>x,MatTabLink:()=>Ot,MatTabNav:()=>Mt,MatTabsModule:()=>Nt,_MAT_INK_BAR_POSITIONER:()=>Dt,_MatTabBodyBase:()=>_e,_MatTabGroupBase:()=>Lt,_MatTabHeaderBase:()=>Ae,_MatTabLinkBase:()=>lt,_MatTabNavBase:()=>_t,matTabsAnimations:()=>yt});var n=o(5664),l=o(7144),u=o(7429),c=o(9808),r=o(5e3),d=o(508),m=o(6360),p=o(8929),y=o(2654),b=o(3753),h=o(1086),g=o(6787),s=o(8723),C=o(1777),P=o(1059),w=o(5778),D=o(7625),T=o(226),Y=o(3191),$=o(1159),z=o(925),G=o(9071);function X(Pe,Ee){1&Pe&&r.\u0275\u0275projection(0)}const Q=["*"];function q(Pe,Ee){}const ue=function(Pe){return{animationDuration:Pe}},me=function(Pe,Ee){return{value:Pe,params:Ee}},xe=["tabListContainer"],pe=["tabList"],oe=["tabListInner"],ae=["nextPaginator"],U=["previousPaginator"],ie=["tabBodyWrapper"],le=["tabHeader"];function Ce(Pe,Ee){}function Te(Pe,Ee){if(1&Pe&&r.\u0275\u0275template(0,Ce,0,0,"ng-template",9),2&Pe){const B=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",B.templateLabel)}}function Ke(Pe,Ee){if(1&Pe&&r.\u0275\u0275text(0),2&Pe){const B=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(B.textLabel)}}function tt(Pe,Ee){if(1&Pe){const B=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const be=r.\u0275\u0275restoreView(B),je=be.$implicit,Ct=be.index,Ht=r.\u0275\u0275nextContext(),$t=r.\u0275\u0275reference(1);return Ht._handleClick(je,$t,Ct)})("cdkFocusChange",function(be){const Ct=r.\u0275\u0275restoreView(B).index;return r.\u0275\u0275nextContext()._tabFocusChanged(be,Ct)}),r.\u0275\u0275elementStart(1,"div",7),r.\u0275\u0275template(2,Te,1,1,"ng-template",8),r.\u0275\u0275template(3,Ke,1,1,"ng-template",8),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()}if(2&Pe){const B=Ee.$implicit,V=Ee.index,be=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",be.selectedIndex==V),r.\u0275\u0275property("id",be._getTabLabelId(V))("disabled",B.disabled)("matRippleDisabled",B.disabled||be.disableRipple),r.\u0275\u0275attribute("tabIndex",be._getTabIndex(B,V))("aria-posinset",V+1)("aria-setsize",be._tabs.length)("aria-controls",be._getTabContentId(V))("aria-selected",be.selectedIndex==V)("aria-label",B.ariaLabel||null)("aria-labelledby",!B.ariaLabel&&B.ariaLabelledby?B.ariaLabelledby:null),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",B.templateLabel),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!B.templateLabel)}}function ot(Pe,Ee){if(1&Pe){const B=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-tab-body",10),r.\u0275\u0275listener("_onCentered",function(){return r.\u0275\u0275restoreView(B),r.\u0275\u0275nextContext()._removeTabBodyWrapperHeight()})("_onCentering",function(be){return r.\u0275\u0275restoreView(B),r.\u0275\u0275nextContext()._setTabBodyWrapperHeight(be)}),r.\u0275\u0275elementEnd()}if(2&Pe){const B=Ee.$implicit,V=Ee.index,be=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-body-active",be.selectedIndex===V),r.\u0275\u0275property("id",be._getTabContentId(V))("content",B.content)("position",B.position)("origin",B.origin)("animationDuration",be.animationDuration),r.\u0275\u0275attribute("tabindex",null!=be.contentTabIndex&&be.selectedIndex===V?be.contentTabIndex:null)("aria-labelledby",be._getTabLabelId(V))}}const pt=["mat-tab-nav-bar",""],Dt=new r.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function(){return Ee=>({left:Ee?(Ee.offsetLeft||0)+"px":"0",width:Ee?(Ee.offsetWidth||0)+"px":"0"})}});let Qe=(()=>{class Pe{constructor(B,V,be,je){this._elementRef=B,this._ngZone=V,this._inkBarPositioner=be,this._animationMode=je}alignToElement(B){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(B))}):this._setStyles(B)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(B){const V=this._inkBarPositioner(B),be=this._elementRef.nativeElement;be.style.left=V.left,be.style.width=V.width}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Dt),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(B,V){2&B&&r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===V._animationMode)}}),Pe})();const ct=new r.InjectionToken("MatTabContent");let bt=(()=>{class Pe{constructor(B){this.template=B}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.TemplateRef))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ct,useExisting:Pe}])]}),Pe})();const Et=new r.InjectionToken("MatTabLabel"),xt=new r.InjectionToken("MAT_TAB");let dt=(()=>{class Pe extends u.ig{constructor(B,V,be){super(B,V),this._closestTab=be}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(xt,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Et,useExisting:Pe}]),r.\u0275\u0275InheritDefinitionFeature]}),Pe})();const Ne=(0,d.mixinDisabled)(class{}),rt=new r.InjectionToken("MAT_TAB_GROUP");let ze=(()=>{class Pe extends Ne{constructor(B,V){super(),this._viewContainerRef=B,this._closestTabGroup=V,this.textLabel="",this._contentPortal=null,this._stateChanges=new p.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(B){this._setTemplateLabelInput(B)}get content(){return this._contentPortal}ngOnChanges(B){(B.hasOwnProperty("textLabel")||B.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new u.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(B){B&&B._closestTab===this&&(this._templateLabel=B)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(rt,8))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab"]],contentQueries:function(B,V,be){if(1&B&&(r.\u0275\u0275contentQuery(be,Et,5),r.\u0275\u0275contentQuery(be,ct,7,r.TemplateRef)),2&B){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V.templateLabel=je.first),r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V._explicitContent=je.first)}},viewQuery:function(B,V){if(1&B&&r.\u0275\u0275viewQuery(r.TemplateRef,7),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._implicitContent=be.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[r.\u0275\u0275ProvidersFeature([{provide:xt,useExisting:Pe}]),r.\u0275\u0275InheritDefinitionFeature,r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:Q,decls:1,vars:0,template:function(B,V){1&B&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,X,1,0,"ng-template"))},encapsulation:2}),Pe})();const yt={translateTab:(0,C.X$)("translateTab",[(0,C.SB)("center, void, left-origin-center, right-origin-center",(0,C.oB)({transform:"none"})),(0,C.SB)("left",(0,C.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,C.SB)("right",(0,C.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,C.eR)("* => left, * => right, left => center, right => center",(0,C.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,C.eR)("void => left-origin-center",[(0,C.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,C.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,C.eR)("void => right-origin-center",[(0,C.oB)({transform:"translate3d(100%, 0, 0)"}),(0,C.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let mt=(()=>{class Pe extends u.Pl{constructor(B,V,be,je){super(B,V,je),this._host=be,this._centeringSub=y.w.EMPTY,this._leavingSub=y.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,P.O)(this._host._isCenterPosition(this._host._position))).subscribe(B=>{B&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Z)),r.\u0275\u0275directiveInject(c.DOCUMENT))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),_e=(()=>{class Pe{constructor(B,V,be){this._elementRef=B,this._dir=V,this._dirChangeSubscription=y.w.EMPTY,this._translateTabComplete=new p.xQ,this._onCentering=new r.EventEmitter,this._beforeCentering=new r.EventEmitter,this._afterLeavingCenter=new r.EventEmitter,this._onCentered=new r.EventEmitter(!0),this.animationDuration="500ms",V&&(this._dirChangeSubscription=V.change.subscribe(je=>{this._computePositionAnimationState(je),be.markForCheck()})),this._translateTabComplete.pipe((0,w.x)((je,Ct)=>je.fromState===Ct.fromState&&je.toState===Ct.toState)).subscribe(je=>{this._isCenterPosition(je.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(je.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(B){this._positionIndex=B,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(B){const V=this._isCenterPosition(B.toState);this._beforeCentering.emit(V),V&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(B){return"center"==B||"left-origin-center"==B||"right-origin-center"==B}_computePositionAnimationState(B=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==B?"left":"right":this._positionIndex>0?"ltr"==B?"right":"left":"center"}_computePositionFromOrigin(B){const V=this._getLayoutDirection();return"ltr"==V&&B<=0||"rtl"==V&&B>0?"left-origin-center":"right-origin-center"}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Pe})(),Z=(()=>{class Pe extends _e{constructor(B,V,be){super(B,V,be)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-body"]],viewQuery:function(B,V){if(1&B&&r.\u0275\u0275viewQuery(u.Pl,5),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._portalHost=be.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(B,V){1&B&&(r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("@translateTab.start",function(je){return V._onTranslateTabStarted(je)})("@translateTab.done",function(je){return V._translateTabComplete.next(je)}),r.\u0275\u0275template(2,q,0,0,"ng-template",2),r.\u0275\u0275elementEnd()),2&B&&r.\u0275\u0275property("@translateTab",r.\u0275\u0275pureFunction2(3,me,V._position,r.\u0275\u0275pureFunction1(1,ue,V.animationDuration)))},directives:[mt],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[yt.translateTab]}}),Pe})();const j=new r.InjectionToken("MAT_TABS_CONFIG"),_=(0,d.mixinDisabled)(class{});let x=(()=>{class Pe extends _{constructor(B){super(),this.elementRef=B}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(B,V){2&B&&(r.\u0275\u0275attribute("aria-disabled",!!V.disabled),r.\u0275\u0275classProp("mat-tab-disabled",V.disabled))},inputs:{disabled:"disabled"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})();const N=(0,z.i$)({passive:!0});let ve=(()=>{class Pe{constructor(B,V,be,je,Ct,Ht,$t){this._elementRef=B,this._changeDetectorRef=V,this._viewportRuler=be,this._dir=je,this._ngZone=Ct,this._platform=Ht,this._animationMode=$t,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new p.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new p.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new r.EventEmitter,this.indexFocused=new r.EventEmitter,Ct.runOutsideAngular(()=>{(0,b.R)(B.nativeElement,"mouseleave").pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(B){B=(0,Y.su)(B),this._selectedIndex!=B&&(this._selectedIndexChanged=!0,this._selectedIndex=B,this._keyManager&&this._keyManager.updateActiveItem(B))}ngAfterViewInit(){(0,b.R)(this._previousPaginator.nativeElement,"touchstart",N).pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,b.R)(this._nextPaginator.nativeElement,"touchstart",N).pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const B=this._dir?this._dir.change:(0,h.of)("ltr"),V=this._viewportRuler.change(150),be=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new n.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(be):be(),(0,g.T)(B,V,this._items.changes).pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(be)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,D.R)(this._destroyed)).subscribe(je=>{this.indexFocused.emit(je),this._setTabFocus(je)})}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._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(B){if(!(0,$.Vb)(B))switch(B.keyCode){case $.K5:case $.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(B));break;default:this._keyManager.onKeydown(B)}}_onContentChanges(){const B=this._elementRef.nativeElement.textContent;B!==this._currentTextContent&&(this._currentTextContent=B||"",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(B){!this._isValidIndex(B)||this.focusIndex===B||!this._keyManager||this._keyManager.setActiveItem(B)}_isValidIndex(B){if(!this._items)return!0;const V=this._items?this._items.toArray()[B]:null;return!!V&&!V.disabled}_setTabFocus(B){if(this._showPaginationControls&&this._scrollToLabel(B),this._items&&this._items.length){this._items.toArray()[B].focus();const V=this._tabListContainer.nativeElement;V.scrollLeft="ltr"==this._getLayoutDirection()?0:V.scrollWidth-V.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const B=this.scrollDistance,V="ltr"===this._getLayoutDirection()?-B:B;this._tabList.nativeElement.style.transform=`translateX(${Math.round(V)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(B){this._scrollTo(B)}_scrollHeader(B){return this._scrollTo(this._scrollDistance+("before"==B?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(B){this._stopInterval(),this._scrollHeader(B)}_scrollToLabel(B){if(this.disablePagination)return;const V=this._items?this._items.toArray()[B]:null;if(!V)return;const be=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:je,offsetWidth:Ct}=V.elementRef.nativeElement;let Ht,$t;"ltr"==this._getLayoutDirection()?(Ht=je,$t=Ht+Ct):($t=this._tabListInner.nativeElement.offsetWidth-je,Ht=$t-Ct);const vn=this.scrollDistance,it=this.scrollDistance+be;Htit&&(this.scrollDistance+=$t-it+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const B=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;B||(this.scrollDistance=0),B!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=B}}_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 B=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,V=B?B.elementRef.nativeElement:null;V?this._inkBar.alignToElement(V):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(B,V){V&&null!=V.button&&0!==V.button||(this._stopInterval(),(0,s.H)(650,100).pipe((0,D.R)((0,g.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:be,distance:je}=this._scrollHeader(B);(0===je||je>=be)&&this._stopInterval()}))}_scrollTo(B){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const V=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(V,B)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:V,distance:this._scrollDistance}}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(G.rL),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{disablePagination:"disablePagination"}}),Pe})(),Ae=(()=>{class Pe extends ve{constructor(B,V,be,je,Ct,Ht,$t){super(B,V,be,je,Ct,Ht,$t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(B){this._disableRipple=(0,Y.Ig)(B)}_itemSelected(B){B.preventDefault()}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(G.rL),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),nt=(()=>{class Pe extends Ae{constructor(B,V,be,je,Ct,Ht,$t){super(B,V,be,je,Ct,Ht,$t)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(G.rL),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-header"]],contentQueries:function(B,V,be){if(1&B&&r.\u0275\u0275contentQuery(be,x,4),2&B){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V._items=je)}},viewQuery:function(B,V){if(1&B&&(r.\u0275\u0275viewQuery(Qe,7),r.\u0275\u0275viewQuery(xe,7),r.\u0275\u0275viewQuery(pe,7),r.\u0275\u0275viewQuery(oe,7),r.\u0275\u0275viewQuery(ae,5),r.\u0275\u0275viewQuery(U,5)),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._inkBar=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabListContainer=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabList=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabListInner=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._nextPaginator=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._previousPaginator=be.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(B,V){2&B&&r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",V._showPaginationControls)("mat-tab-header-rtl","rtl"==V._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Q,decls:14,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","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","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(B,V){1&B&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("click",function(){return V._handlePaginatorClick("before")})("mousedown",function(je){return V._handlePaginatorPress("before",je)})("touchend",function(){return V._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(je){return V._handleKeydown(je)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return V._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\u0275elementEnd(),r.\u0275\u0275elementStart(11,"div",9,10),r.\u0275\u0275listener("mousedown",function(je){return V._handlePaginatorPress("after",je)})("click",function(){return V._handlePaginatorClick("after")})("touchend",function(){return V._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&B&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",V._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",V._disableScrollBefore||V.disableRipple),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===V._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",V._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",V._disableScrollAfter||V.disableRipple))},directives:[d.MatRipple,l.wD,Qe],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-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:transparent;touch-action:none}.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-animation-noopable.mat-ink-bar{transition:none;animation:none}.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-animation-noopable.mat-tab-list{transition:none;animation:none}.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}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.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{min-width:72px}}\n"],encapsulation:2}),Pe})(),Pt=0;class Ft{}const gt=(0,d.mixinColor)((0,d.mixinDisableRipple)(class{constructor(Pe){this._elementRef=Pe}}),"primary");let Lt=(()=>{class Pe extends gt{constructor(B,V,be,je){var Ct;super(B),this._changeDetectorRef=V,this._animationMode=je,this._tabs=new r.QueryList,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=y.w.EMPTY,this._tabLabelSubscription=y.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new r.EventEmitter,this.focusChange=new r.EventEmitter,this.animationDone=new r.EventEmitter,this.selectedTabChange=new r.EventEmitter(!0),this._groupId=Pt++,this.animationDuration=be&&be.animationDuration?be.animationDuration:"500ms",this.disablePagination=!(!be||null==be.disablePagination)&&be.disablePagination,this.dynamicHeight=!(!be||null==be.dynamicHeight)&&be.dynamicHeight,this.contentTabIndex=null!==(Ct=null==be?void 0:be.contentTabIndex)&&void 0!==Ct?Ct:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(B){this._dynamicHeight=(0,Y.Ig)(B)}get selectedIndex(){return this._selectedIndex}set selectedIndex(B){this._indexToSelect=(0,Y.su)(B,null)}get animationDuration(){return this._animationDuration}set animationDuration(B){this._animationDuration=/^\d+$/.test(B+"")?B+"ms":B}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(B){this._contentTabIndex=(0,Y.su)(B,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(B){const V=this._elementRef.nativeElement;V.classList.remove(`mat-background-${this.backgroundColor}`),B&&V.classList.add(`mat-background-${B}`),this._backgroundColor=B}ngAfterContentChecked(){const B=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=B){const V=null==this._selectedIndex;if(!V){this.selectedTabChange.emit(this._createChangeEvent(B));const be=this._tabBodyWrapper.nativeElement;be.style.minHeight=be.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((be,je)=>be.isActive=je===B),V||(this.selectedIndexChange.emit(B),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((V,be)=>{V.position=be-B,null!=this._selectedIndex&&0==V.position&&!V.origin&&(V.origin=B-this._selectedIndex)}),this._selectedIndex!==B&&(this._selectedIndex=B,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const V=this._tabs.toArray();for(let be=0;be{this._tabs.reset(B.filter(V=>V._closestTabGroup===this||!V._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}focusTab(B){const V=this._tabHeader;V&&(V.focusIndex=B)}_focusChanged(B){this.focusChange.emit(this._createChangeEvent(B))}_createChangeEvent(B){const V=new Ft;return V.index=B,this._tabs&&this._tabs.length&&(V.tab=this._tabs.toArray()[B]),V}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,g.T)(...this._tabs.map(B=>B._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(B){return Math.min(this._tabs.length-1,Math.max(B||0,0))}_getTabLabelId(B){return`mat-tab-label-${this._groupId}-${B}`}_getTabContentId(B){return`mat-tab-content-${this._groupId}-${B}`}_setTabBodyWrapperHeight(B){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const V=this._tabBodyWrapper.nativeElement;V.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(V.style.height=B+"px")}_removeTabBodyWrapperHeight(){const B=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=B.clientHeight,B.style.height="",this.animationDone.emit()}_handleClick(B,V,be){B.disabled||(this.selectedIndex=V.focusIndex=be)}_getTabIndex(B,V){return B.disabled?null:this.selectedIndex===V?0:-1}_tabFocusChanged(B,V){B&&"mouse"!==B&&"touch"!==B&&(this._tabHeader.focusIndex=V)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(j,8),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),$e=(()=>{class Pe extends Lt{constructor(B,V,be,je){super(B,V,be,je)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(j,8),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-group"]],contentQueries:function(B,V,be){if(1&B&&r.\u0275\u0275contentQuery(be,ze,5),2&B){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V._allTabs=je)}},viewQuery:function(B,V){if(1&B&&(r.\u0275\u0275viewQuery(ie,5),r.\u0275\u0275viewQuery(le,5)),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabBodyWrapper=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabHeader=be.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(B,V){2&B&&r.\u0275\u0275classProp("mat-tab-group-dynamic-height",V.dynamicHeight)("mat-tab-group-inverted-header","below"===V.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[r.\u0275\u0275ProvidersFeature([{provide:rt,useExisting:Pe}]),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","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(B,V){1&B&&(r.\u0275\u0275elementStart(0,"mat-tab-header",0,1),r.\u0275\u0275listener("indexFocused",function(je){return V._focusChanged(je)})("selectFocusedIndex",function(je){return V.selectedIndex=je}),r.\u0275\u0275template(2,tt,4,14,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275template(5,ot,1,9,"mat-tab-body",5),r.\u0275\u0275elementEnd()),2&B&&(r.\u0275\u0275property("selectedIndex",V.selectedIndex||0)("disableRipple",V.disableRipple)("disablePagination",V.disablePagination),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",V._tabs),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===V._animationMode),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",V._tabs))},directives:[nt,c.NgForOf,x,d.MatRipple,n.kH,c.NgIf,u.Pl,Z],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}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.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-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.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}\n"],encapsulation:2}),Pe})(),_t=(()=>{class Pe extends ve{constructor(B,V,be,je,Ct,Ht,$t){super(B,je,Ct,V,be,Ht,$t),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(B){const V=this._elementRef.nativeElement.classList;V.remove(`mat-background-${this.backgroundColor}`),B&&V.add(`mat-background-${B}`),this._backgroundColor=B}get disableRipple(){return this._disableRipple}set disableRipple(B){this._disableRipple=(0,Y.Ig)(B)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,P.O)(null),(0,D.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const B=this._items.toArray();for(let V=0;V{class Pe extends _t{constructor(B,V,be,je,Ct,Ht,$t){super(B,V,be,je,Ct,Ht,$t)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(G.rL),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(B,V,be){if(1&B&&r.\u0275\u0275contentQuery(be,Ot,5),2&B){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V._items=je)}},viewQuery:function(B,V){if(1&B&&(r.\u0275\u0275viewQuery(Qe,7),r.\u0275\u0275viewQuery(xe,7),r.\u0275\u0275viewQuery(pe,7),r.\u0275\u0275viewQuery(oe,7),r.\u0275\u0275viewQuery(ae,5),r.\u0275\u0275viewQuery(U,5)),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._inkBar=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabListContainer=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabList=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabListInner=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._nextPaginator=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._previousPaginator=be.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:10,hostBindings:function(B,V){2&B&&r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",V._showPaginationControls)("mat-tab-header-rtl","rtl"==V._getLayoutDirection())("mat-primary","warn"!==V.color&&"accent"!==V.color)("mat-accent","accent"===V.color)("mat-warn","warn"===V.color)},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[r.\u0275\u0275InheritDefinitionFeature],attrs:pt,ngContentSelectors:Q,decls:14,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","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","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(B,V){1&B&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("click",function(){return V._handlePaginatorClick("before")})("mousedown",function(je){return V._handlePaginatorPress("before",je)})("touchend",function(){return V._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(je){return V._handleKeydown(je)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return V._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\u0275elementEnd(),r.\u0275\u0275elementStart(11,"div",9,10),r.\u0275\u0275listener("mousedown",function(je){return V._handlePaginatorPress("after",je)})("click",function(){return V._handlePaginatorClick("after")})("touchend",function(){return V._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&B&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",V._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",V._disableScrollBefore||V.disableRipple),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===V._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",V._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",V._disableScrollAfter||V.disableRipple))},directives:[d.MatRipple,l.wD,Qe],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-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:transparent;touch-action:none}.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-animation-noopable.mat-ink-bar{transition:none;animation:none}.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:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.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}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n"],encapsulation:2}),Pe})();const Ge=(0,d.mixinTabIndex)((0,d.mixinDisableRipple)((0,d.mixinDisabled)(class{})));let lt=(()=>{class Pe extends Ge{constructor(B,V,be,je,Ct,Ht){super(),this._tabNavBar=B,this.elementRef=V,this._focusMonitor=Ct,this._isActive=!1,this.rippleConfig=be||{},this.tabIndex=parseInt(je)||0,"NoopAnimations"===Ht&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(B){const V=(0,Y.Ig)(B);V!==this._isActive&&(this._isActive=V,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}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)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(_t),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(d.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{active:"active"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),Ot=(()=>{class Pe extends lt{constructor(B,V,be,je,Ct,Ht,$t,vn){super(B,V,Ct,Ht,$t,vn),this._tabLinkRipple=new d.RippleRenderer(this,be,V,je),this._tabLinkRipple.setupTriggerEvents(V.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(Mt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(d.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:7,hostBindings:function(B,V){1&B&&r.\u0275\u0275listener("focus",function(){return V._handleFocus()}),2&B&&(r.\u0275\u0275attribute("aria-current",V.active?"page":null)("aria-disabled",V.disabled)("tabIndex",V.tabIndex),r.\u0275\u0275classProp("mat-tab-disabled",V.disabled)("mat-tab-label-active",V.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),Nt=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=r.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=r.\u0275\u0275defineInjector({imports:[[c.CommonModule,d.MatCommonModule,u.eL,d.MatRippleModule,l.Q8,n.rt],d.MatCommonModule]}),Pe})()},4594:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatToolbar:()=>y,MatToolbarModule:()=>h,MatToolbarRow:()=>p,throwToolbarMixedModesError:()=>b});var n=o(5e3),l=o(508),u=o(9808),c=o(925);const r=["*",[["mat-toolbar-row"]]],d=["*","mat-toolbar-row"],m=(0,l.mixinColor)(class{constructor(g){this._elementRef=g}});let p=(()=>{class g{}return g.\u0275fac=function(C){return new(C||g)},g.\u0275dir=n.\u0275\u0275defineDirective({type:g,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),g})(),y=(()=>{class g extends m{constructor(C,P,w){super(C),this._platform=P,this._document=w}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return g.\u0275fac=function(C){return new(C||g)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(c.t4),n.\u0275\u0275directiveInject(u.DOCUMENT))},g.\u0275cmp=n.\u0275\u0275defineComponent({type:g,selectors:[["mat-toolbar"]],contentQueries:function(C,P,w){if(1&C&&n.\u0275\u0275contentQuery(w,p,5),2&C){let D;n.\u0275\u0275queryRefresh(D=n.\u0275\u0275loadQuery())&&(P._toolbarRows=D)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(C,P){2&C&&n.\u0275\u0275classProp("mat-toolbar-multiple-rows",P._toolbarRows.length>0)("mat-toolbar-single-row",0===P._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:d,decls:2,vars:0,template:function(C,P){1&C&&(n.\u0275\u0275projectionDef(r),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.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}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),g})();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 h=(()=>{class g{}return g.\u0275fac=function(C){return new(C||g)},g.\u0275mod=n.\u0275\u0275defineNgModule({type:g}),g.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.MatCommonModule],l.MatCommonModule]}),g})()},6360:(he,A,o)=>{"use strict";o.r(A),o.d(A,{ANIMATION_MODULE_TYPE:()=>ji,BrowserAnimationsModule:()=>Hr,NoopAnimationsModule:()=>Cs,\u0275AnimationRenderer:()=>Hn,\u0275AnimationRendererFactory:()=>hn,\u0275BrowserAnimationBuilder:()=>E,\u0275BrowserAnimationFactory:()=>I,\u0275InjectableAnimationEngine:()=>Qn});var n=o(5e3),l=o(2313),u=o(1777);function c(){return"undefined"!=typeof window&&void 0!==window.document}function r(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function d(ye){switch(ye.length){case 0:return new u.ZN;case 1:return ye[0];default:return new u.ZE(ye)}}function m(ye,M,L,ne,we={},He={}){const Je=[],at=[];let St=-1,Vt=null;if(ne.forEach(Gt=>{const en=Gt.offset,yn=en==St,pn=yn&&Vt||{};Object.keys(Gt).forEach(rn=>{let Cn=rn,In=Gt[rn];if("offset"!==rn)switch(Cn=M.normalizePropertyName(Cn,Je),In){case u.k1:In=we[rn];break;case u.l3:In=He[rn];break;default:In=M.normalizeStyleValue(rn,Cn,In,Je)}pn[Cn]=In}),yn||at.push(pn),Vt=pn,St=en}),Je.length){const Gt="\n - ";throw new Error(`Unable to animate due to the following errors:${Gt}${Je.join(Gt)}`)}return at}function p(ye,M,L,ne){switch(M){case"start":ye.onStart(()=>ne(L&&y(L,"start",ye)));break;case"done":ye.onDone(()=>ne(L&&y(L,"done",ye)));break;case"destroy":ye.onDestroy(()=>ne(L&&y(L,"destroy",ye)))}}function y(ye,M,L){const ne=L.totalTime,He=b(ye.element,ye.triggerName,ye.fromState,ye.toState,M||ye.phaseName,null==ne?ye.totalTime:ne,!!L.disabled),Je=ye._data;return null!=Je&&(He._data=Je),He}function b(ye,M,L,ne,we="",He=0,Je){return{element:ye,triggerName:M,fromState:L,toState:ne,phaseName:we,totalTime:He,disabled:!!Je}}function h(ye,M,L){let ne;return ye instanceof Map?(ne=ye.get(M),ne||ye.set(M,ne=L)):(ne=ye[M],ne||(ne=ye[M]=L)),ne}function g(ye){const M=ye.indexOf(":");return[ye.substring(1,M),ye.substr(M+1)]}let s=(ye,M)=>!1,C=(ye,M,L)=>[];(r()||"undefined"!=typeof Element)&&(s=c()?(ye,M)=>{for(;M&&M!==document.documentElement;){if(M===ye)return!0;M=M.parentNode||M.host}return!1}:(ye,M)=>ye.contains(M),C=(ye,M,L)=>{let ne=[];if(L){const we=ye.querySelectorAll(M);for(let He=0;He{const ne=L.replace(/([a-z])([A-Z])/g,"$1-$2");M[ne]=ye[L]}),M}let Q=(()=>{class ye{validateStyleProperty(L){return Y(L)}matchesElement(L,ne){return!1}containsElement(L,ne){return z(L,ne)}query(L,ne,we){return G(L,ne,we)}computeStyle(L,ne,we){return we||""}animate(L,ne,we,He,Je,at=[],St){return new u.ZN(we,He)}}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac}),ye})(),q=(()=>{class ye{}return ye.NOOP=new Q,ye})();const pe="ng-enter",oe="ng-leave",ae="ng-trigger",U=".ng-trigger",ie="ng-animating",le=".ng-animating";function Ce(ye){if("number"==typeof ye)return ye;const M=ye.match(/^(-?[\.\d]+)(m?s)/);return!M||M.length<2?0:Te(parseFloat(M[1]),M[2])}function Te(ye,M){return"s"===M?1e3*ye:ye}function Ke(ye,M,L){return ye.hasOwnProperty("duration")?ye:function(ye,M,L){let we,He=0,Je="";if("string"==typeof ye){const at=ye.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===at)return M.push(`The provided timing value "${ye}" is invalid.`),{duration:0,delay:0,easing:""};we=Te(parseFloat(at[1]),at[2]);const St=at[3];null!=St&&(He=Te(parseFloat(St),at[4]));const Vt=at[5];Vt&&(Je=Vt)}else we=ye;if(!L){let at=!1,St=M.length;we<0&&(M.push("Duration values below 0 are not allowed for this animation step."),at=!0),He<0&&(M.push("Delay values below 0 are not allowed for this animation step."),at=!0),at&&M.splice(St,0,`The provided timing value "${ye}" is invalid.`)}return{duration:we,delay:He,easing:Je}}(ye,M,L)}function ot(ye,M={}){return Object.keys(ye).forEach(L=>{M[L]=ye[L]}),M}function Dt(ye,M,L={}){if(M)for(let ne in ye)L[ne]=ye[ne];else ot(ye,L);return L}function Ie(ye,M,L){return L?M+":"+L+";":""}function Qe(ye){let M="";for(let L=0;L{const we=mt(ne);L&&!L.hasOwnProperty(ne)&&(L[ne]=ye.style[we]),ye.style[we]=M[ne]}),r()&&Qe(ye))}function bt(ye,M){ye.style&&(Object.keys(M).forEach(L=>{const ne=mt(L);ye.style[ne]=""}),r()&&Qe(ye))}function Et(ye){return Array.isArray(ye)?1==ye.length?ye[0]:(0,u.vP)(ye):ye}const dt=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ne(ye){let M=[];if("string"==typeof ye){let L;for(;L=dt.exec(ye);)M.push(L[1]);dt.lastIndex=0}return M}function rt(ye,M,L){const ne=ye.toString(),we=ne.replace(dt,(He,Je)=>{let at=M[Je];return M.hasOwnProperty(Je)||(L.push(`Please provide a value for the animation param ${Je}`),at=""),at.toString()});return we==ne?ye:we}function ze(ye){const M=[];let L=ye.next();for(;!L.done;)M.push(L.value),L=ye.next();return M}const yt=/-+([a-z0-9])/g;function mt(ye){return ye.replace(yt,(...M)=>M[1].toUpperCase())}function _e(ye){return ye.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Z(ye,M){return 0===ye||0===M}function j(ye,M,L){const ne=Object.keys(L);if(ne.length&&M.length){let He=M[0],Je=[];if(ne.forEach(at=>{He.hasOwnProperty(at)||Je.push(at),He[at]=L[at]}),Je.length)for(var we=1;wefunction(ye,M,L){if(":"==ye[0]){const St=function(ye,M){switch(ye){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(L,ne)=>parseFloat(ne)>parseFloat(L);case":decrement":return(L,ne)=>parseFloat(ne) *"}}(ye,L);if("function"==typeof St)return void M.push(St);ye=St}const ne=ye.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==ne||ne.length<4)return L.push(`The provided transition expression "${ye}" is not supported`),M;const we=ne[1],He=ne[2],Je=ne[3];M.push(nt(we,Je));"<"==He[0]&&!(we==N&&Je==N)&&M.push(nt(Je,we))}(ne,L,M)):L.push(ye),L}const ve=new Set(["true","1"]),Ae=new Set(["false","0"]);function nt(ye,M){const L=ve.has(ye)||Ae.has(ye),ne=ve.has(M)||Ae.has(M);return(we,He)=>{let Je=ye==N||ye==we,at=M==N||M==He;return!Je&&L&&"boolean"==typeof we&&(Je=we?ve.has(ye):Ae.has(ye)),!at&&ne&&"boolean"==typeof He&&(at=He?ve.has(M):Ae.has(M)),Je&&at}}const Ft=new RegExp("s*:selfs*,?","g");function gt(ye,M,L){return new $e(ye).build(M,L)}class $e{constructor(M){this._driver=M}build(M,L){const ne=new Ge(L);return this._resetContextStyleTimingState(ne),_(this,Et(M),ne)}_resetContextStyleTimingState(M){M.currentQuerySelector="",M.collectedStyles={},M.collectedStyles[""]={},M.currentTime=0}visitTrigger(M,L){let ne=L.queryCount=0,we=L.depCount=0;const He=[],Je=[];return"@"==M.name.charAt(0)&&L.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),M.definitions.forEach(at=>{if(this._resetContextStyleTimingState(L),0==at.type){const St=at,Vt=St.name;Vt.toString().split(/\s*,\s*/).forEach(Gt=>{St.name=Gt,He.push(this.visitState(St,L))}),St.name=Vt}else if(1==at.type){const St=this.visitTransition(at,L);ne+=St.queryCount,we+=St.depCount,Je.push(St)}else L.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:M.name,states:He,transitions:Je,queryCount:ne,depCount:we,options:null}}visitState(M,L){const ne=this.visitStyle(M.styles,L),we=M.options&&M.options.params||null;if(ne.containsDynamicStyles){const He=new Set,Je=we||{};if(ne.styles.forEach(at=>{if(Ot(at)){const St=at;Object.keys(St).forEach(Vt=>{Ne(St[Vt]).forEach(Gt=>{Je.hasOwnProperty(Gt)||He.add(Gt)})})}}),He.size){const at=ze(He.values());L.errors.push(`state("${M.name}", ...) must define default values for all the following style substitutions: ${at.join(", ")}`)}}return{type:0,name:M.name,style:ne,options:we?{params:we}:null}}visitTransition(M,L){L.queryCount=0,L.depCount=0;const ne=_(this,Et(M.animation),L);return{type:1,matchers:ce(M.expr,L.errors),animation:ne,queryCount:L.queryCount,depCount:L.depCount,options:Pe(M.options)}}visitSequence(M,L){return{type:2,steps:M.steps.map(ne=>_(this,ne,L)),options:Pe(M.options)}}visitGroup(M,L){const ne=L.currentTime;let we=0;const He=M.steps.map(Je=>{L.currentTime=ne;const at=_(this,Je,L);return we=Math.max(we,L.currentTime),at});return L.currentTime=we,{type:3,steps:He,options:Pe(M.options)}}visitAnimate(M,L){const ne=function(ye,M){let L=null;if(ye.hasOwnProperty("duration"))L=ye;else if("number"==typeof ye)return Ee(Ke(ye,M).duration,0,"");const ne=ye;if(ne.split(/\s+/).some(He=>"{"==He.charAt(0)&&"{"==He.charAt(1))){const He=Ee(0,0,"");return He.dynamic=!0,He.strValue=ne,He}return L=L||Ke(ne,M),Ee(L.duration,L.delay,L.easing)}(M.timings,L.errors);L.currentAnimateTimings=ne;let we,He=M.styles?M.styles:(0,u.oB)({});if(5==He.type)we=this.visitKeyframes(He,L);else{let Je=M.styles,at=!1;if(!Je){at=!0;const Vt={};ne.easing&&(Vt.easing=ne.easing),Je=(0,u.oB)(Vt)}L.currentTime+=ne.duration+ne.delay;const St=this.visitStyle(Je,L);St.isEmptyStep=at,we=St}return L.currentAnimateTimings=null,{type:4,timings:ne,style:we,options:null}}visitStyle(M,L){const ne=this._makeStyleAst(M,L);return this._validateStyleAst(ne,L),ne}_makeStyleAst(M,L){const ne=[];Array.isArray(M.styles)?M.styles.forEach(Je=>{"string"==typeof Je?Je==u.l3?ne.push(Je):L.errors.push(`The provided style string value ${Je} is not allowed.`):ne.push(Je)}):ne.push(M.styles);let we=!1,He=null;return ne.forEach(Je=>{if(Ot(Je)){const at=Je,St=at.easing;if(St&&(He=St,delete at.easing),!we)for(let Vt in at)if(at[Vt].toString().indexOf("{{")>=0){we=!0;break}}}),{type:6,styles:ne,easing:He,offset:M.offset,containsDynamicStyles:we,options:null}}_validateStyleAst(M,L){const ne=L.currentAnimateTimings;let we=L.currentTime,He=L.currentTime;ne&&He>0&&(He-=ne.duration+ne.delay),M.styles.forEach(Je=>{"string"!=typeof Je&&Object.keys(Je).forEach(at=>{if(!this._driver.validateStyleProperty(at))return void L.errors.push(`The provided animation property "${at}" is not a supported CSS property for animations`);const St=L.collectedStyles[L.currentQuerySelector],Vt=St[at];let Gt=!0;Vt&&(He!=we&&He>=Vt.startTime&&we<=Vt.endTime&&(L.errors.push(`The CSS property "${at}" that exists between the times of "${Vt.startTime}ms" and "${Vt.endTime}ms" is also being animated in a parallel animation between the times of "${He}ms" and "${we}ms"`),Gt=!1),He=Vt.startTime),Gt&&(St[at]={startTime:He,endTime:we}),L.options&&function(ye,M,L){const ne=M.params||{},we=Ne(ye);we.length&&we.forEach(He=>{ne.hasOwnProperty(He)||L.push(`Unable to resolve the local animation param ${He} in the given list of values`)})}(Je[at],L.options,L.errors)})})}visitKeyframes(M,L){const ne={type:5,styles:[],options:null};if(!L.currentAnimateTimings)return L.errors.push("keyframes() must be placed inside of a call to animate()"),ne;let He=0;const Je=[];let at=!1,St=!1,Vt=0;const Gt=M.steps.map(Gn=>{const ai=this._makeStyleAst(Gn,L);let Ci=null!=ai.offset?ai.offset:function(ye){if("string"==typeof ye)return null;let M=null;if(Array.isArray(ye))ye.forEach(L=>{if(Ot(L)&&L.hasOwnProperty("offset")){const ne=L;M=parseFloat(ne.offset),delete ne.offset}});else if(Ot(ye)&&ye.hasOwnProperty("offset")){const L=ye;M=parseFloat(L.offset),delete L.offset}return M}(ai.styles),vi=0;return null!=Ci&&(He++,vi=ai.offset=Ci),St=St||vi<0||vi>1,at=at||vi0&&He{const Ci=yn>0?ai==pn?1:yn*ai:Je[ai],vi=Ci*In;L.currentTime=rn+Cn.delay+vi,Cn.duration=vi,this._validateStyleAst(Gn,L),Gn.offset=Ci,ne.styles.push(Gn)}),ne}visitReference(M,L){return{type:8,animation:_(this,Et(M.animation),L),options:Pe(M.options)}}visitAnimateChild(M,L){return L.depCount++,{type:9,options:Pe(M.options)}}visitAnimateRef(M,L){return{type:10,animation:this.visitReference(M.animation,L),options:Pe(M.options)}}visitQuery(M,L){const ne=L.currentQuerySelector,we=M.options||{};L.queryCount++,L.currentQuery=M;const[He,Je]=function(ye){const M=!!ye.split(/\s*,\s*/).find(L=>":self"==L);return M&&(ye=ye.replace(Ft,"")),ye=ye.replace(/@\*/g,U).replace(/@\w+/g,L=>U+"-"+L.substr(1)).replace(/:animating/g,le),[ye,M]}(M.selector);L.currentQuerySelector=ne.length?ne+" "+He:He,h(L.collectedStyles,L.currentQuerySelector,{});const at=_(this,Et(M.animation),L);return L.currentQuery=null,L.currentQuerySelector=ne,{type:11,selector:He,limit:we.limit||0,optional:!!we.optional,includeSelf:Je,animation:at,originalSelector:M.selector,options:Pe(M.options)}}visitStagger(M,L){L.currentQuery||L.errors.push("stagger() can only be used inside of query()");const ne="full"===M.timings?{duration:0,delay:0,easing:"full"}:Ke(M.timings,L.errors,!0);return{type:12,animation:_(this,Et(M.animation),L),timings:ne,options:null}}}class Ge{constructor(M){this.errors=M,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Ot(ye){return!Array.isArray(ye)&&"object"==typeof ye}function Pe(ye){return ye?(ye=ot(ye)).params&&(ye.params=function(ye){return ye?ot(ye):null}(ye.params)):ye={},ye}function Ee(ye,M,L){return{duration:ye,delay:M,easing:L}}function B(ye,M,L,ne,we,He,Je=null,at=!1){return{type:1,element:ye,keyframes:M,preStyleProps:L,postStyleProps:ne,duration:we,delay:He,totalTime:we+He,easing:Je,subTimeline:at}}class V{constructor(){this._map=new Map}get(M){return this._map.get(M)||[]}append(M,L){let ne=this._map.get(M);ne||this._map.set(M,ne=[]),ne.push(...L)}has(M){return this._map.has(M)}clear(){this._map.clear()}}const Ct=new RegExp(":enter","g"),$t=new RegExp(":leave","g");function vn(ye,M,L,ne,we,He={},Je={},at,St,Vt=[]){return(new it).buildKeyframes(ye,M,L,ne,we,He,Je,at,St,Vt)}class it{buildKeyframes(M,L,ne,we,He,Je,at,St,Vt,Gt=[]){Vt=Vt||new V;const en=new Ve(M,L,Vt,we,He,Gt,[]);en.options=St,en.currentTimeline.setStyles([Je],null,en.errors,St),_(this,ne,en);const yn=en.timelines.filter(pn=>pn.containsAnimation());if(yn.length&&Object.keys(at).length){const pn=yn[yn.length-1];pn.allowOnlyTimelineStyles()||pn.setStyles([at],null,en.errors,St)}return yn.length?yn.map(pn=>pn.buildKeyframes()):[B(L,[],[],[],0,0,"",!1)]}visitTrigger(M,L){}visitState(M,L){}visitTransition(M,L){}visitAnimateChild(M,L){const ne=L.subInstructions.get(L.element);if(ne){const we=L.createSubContext(M.options),He=L.currentTimeline.currentTime,Je=this._visitSubInstructions(ne,we,we.options);He!=Je&&L.transformIntoNewTimeline(Je)}L.previousNode=M}visitAnimateRef(M,L){const ne=L.createSubContext(M.options);ne.transformIntoNewTimeline(),this.visitReference(M.animation,ne),L.transformIntoNewTimeline(ne.currentTimeline.currentTime),L.previousNode=M}_visitSubInstructions(M,L,ne){let He=L.currentTimeline.currentTime;const Je=null!=ne.duration?Ce(ne.duration):null,at=null!=ne.delay?Ce(ne.delay):null;return 0!==Je&&M.forEach(St=>{const Vt=L.appendInstructionToTimeline(St,Je,at);He=Math.max(He,Vt.duration+Vt.delay)}),He}visitReference(M,L){L.updateOptions(M.options,!0),_(this,M.animation,L),L.previousNode=M}visitSequence(M,L){const ne=L.subContextCount;let we=L;const He=M.options;if(He&&(He.params||He.delay)&&(we=L.createSubContext(He),we.transformIntoNewTimeline(),null!=He.delay)){6==we.previousNode.type&&(we.currentTimeline.snapshotCurrentStyles(),we.previousNode=st);const Je=Ce(He.delay);we.delayNextStep(Je)}M.steps.length&&(M.steps.forEach(Je=>_(this,Je,we)),we.currentTimeline.applyStylesToKeyframe(),we.subContextCount>ne&&we.transformIntoNewTimeline()),L.previousNode=M}visitGroup(M,L){const ne=[];let we=L.currentTimeline.currentTime;const He=M.options&&M.options.delay?Ce(M.options.delay):0;M.steps.forEach(Je=>{const at=L.createSubContext(M.options);He&&at.delayNextStep(He),_(this,Je,at),we=Math.max(we,at.currentTimeline.currentTime),ne.push(at.currentTimeline)}),ne.forEach(Je=>L.currentTimeline.mergeTimelineCollectedStyles(Je)),L.transformIntoNewTimeline(we),L.previousNode=M}_visitTiming(M,L){if(M.dynamic){const ne=M.strValue;return Ke(L.params?rt(ne,L.params,L.errors):ne,L.errors)}return{duration:M.duration,delay:M.delay,easing:M.easing}}visitAnimate(M,L){const ne=L.currentAnimateTimings=this._visitTiming(M.timings,L),we=L.currentTimeline;ne.delay&&(L.incrementTime(ne.delay),we.snapshotCurrentStyles());const He=M.style;5==He.type?this.visitKeyframes(He,L):(L.incrementTime(ne.duration),this.visitStyle(He,L),we.applyStylesToKeyframe()),L.currentAnimateTimings=null,L.previousNode=M}visitStyle(M,L){const ne=L.currentTimeline,we=L.currentAnimateTimings;!we&&ne.getCurrentStyleProperties().length&&ne.forwardFrame();const He=we&&we.easing||M.easing;M.isEmptyStep?ne.applyEmptyStep(He):ne.setStyles(M.styles,He,L.errors,L.options),L.previousNode=M}visitKeyframes(M,L){const ne=L.currentAnimateTimings,we=L.currentTimeline.duration,He=ne.duration,at=L.createSubContext().currentTimeline;at.easing=ne.easing,M.styles.forEach(St=>{at.forwardTime((St.offset||0)*He),at.setStyles(St.styles,St.easing,L.errors,L.options),at.applyStylesToKeyframe()}),L.currentTimeline.mergeTimelineCollectedStyles(at),L.transformIntoNewTimeline(we+He),L.previousNode=M}visitQuery(M,L){const ne=L.currentTimeline.currentTime,we=M.options||{},He=we.delay?Ce(we.delay):0;He&&(6===L.previousNode.type||0==ne&&L.currentTimeline.getCurrentStyleProperties().length)&&(L.currentTimeline.snapshotCurrentStyles(),L.previousNode=st);let Je=ne;const at=L.invokeQuery(M.selector,M.originalSelector,M.limit,M.includeSelf,!!we.optional,L.errors);L.currentQueryTotal=at.length;let St=null;at.forEach((Vt,Gt)=>{L.currentQueryIndex=Gt;const en=L.createSubContext(M.options,Vt);He&&en.delayNextStep(He),Vt===L.element&&(St=en.currentTimeline),_(this,M.animation,en),en.currentTimeline.applyStylesToKeyframe(),Je=Math.max(Je,en.currentTimeline.currentTime)}),L.currentQueryIndex=0,L.currentQueryTotal=0,L.transformIntoNewTimeline(Je),St&&(L.currentTimeline.mergeTimelineCollectedStyles(St),L.currentTimeline.snapshotCurrentStyles()),L.previousNode=M}visitStagger(M,L){const ne=L.parentContext,we=L.currentTimeline,He=M.timings,Je=Math.abs(He.duration),at=Je*(L.currentQueryTotal-1);let St=Je*L.currentQueryIndex;switch(He.duration<0?"reverse":He.easing){case"reverse":St=at-St;break;case"full":St=ne.currentStaggerTime}const Gt=L.currentTimeline;St&&Gt.delayNextStep(St);const en=Gt.currentTime;_(this,M.animation,L),L.previousNode=M,ne.currentStaggerTime=we.currentTime-en+(we.startTime-ne.currentTimeline.startTime)}}const st={};class Ve{constructor(M,L,ne,we,He,Je,at,St){this._driver=M,this.element=L,this.subInstructions=ne,this._enterClassName=we,this._leaveClassName=He,this.errors=Je,this.timelines=at,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=st,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=St||new ut(this._driver,L,0),at.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(M,L){if(!M)return;const ne=M;let we=this.options;null!=ne.duration&&(we.duration=Ce(ne.duration)),null!=ne.delay&&(we.delay=Ce(ne.delay));const He=ne.params;if(He){let Je=we.params;Je||(Je=this.options.params={}),Object.keys(He).forEach(at=>{(!L||!Je.hasOwnProperty(at))&&(Je[at]=rt(He[at],Je,this.errors))})}}_copyOptions(){const M={};if(this.options){const L=this.options.params;if(L){const ne=M.params={};Object.keys(L).forEach(we=>{ne[we]=L[we]})}}return M}createSubContext(M=null,L,ne){const we=L||this.element,He=new Ve(this._driver,we,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(we,ne||0));return He.previousNode=this.previousNode,He.currentAnimateTimings=this.currentAnimateTimings,He.options=this._copyOptions(),He.updateOptions(M),He.currentQueryIndex=this.currentQueryIndex,He.currentQueryTotal=this.currentQueryTotal,He.parentContext=this,this.subContextCount++,He}transformIntoNewTimeline(M){return this.previousNode=st,this.currentTimeline=this.currentTimeline.fork(this.element,M),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(M,L,ne){const we={duration:null!=L?L:M.duration,delay:this.currentTimeline.currentTime+(null!=ne?ne:0)+M.delay,easing:""},He=new At(this._driver,M.element,M.keyframes,M.preStyleProps,M.postStyleProps,we,M.stretchStartingKeyframe);return this.timelines.push(He),we}incrementTime(M){this.currentTimeline.forwardTime(this.currentTimeline.duration+M)}delayNextStep(M){M>0&&this.currentTimeline.delayNextStep(M)}invokeQuery(M,L,ne,we,He,Je){let at=[];if(we&&at.push(this.element),M.length>0){M=(M=M.replace(Ct,"."+this._enterClassName)).replace($t,"."+this._leaveClassName);let Vt=this._driver.query(this.element,M,1!=ne);0!==ne&&(Vt=ne<0?Vt.slice(Vt.length+ne,Vt.length):Vt.slice(0,ne)),at.push(...Vt)}return!He&&0==at.length&&Je.push(`\`query("${L}")\` returned zero elements. (Use \`query("${L}", { optional: true })\` if you wish to allow this.)`),at}}class ut{constructor(M,L,ne,we){this._driver=M,this.element=L,this.startTime=ne,this._elementTimelineStylesLookup=we,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(L),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(L,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(M){const L=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||L?(this.forwardTime(this.currentTime+M),L&&this.snapshotCurrentStyles()):this.startTime+=M}fork(M,L){return this.applyStylesToKeyframe(),new ut(this._driver,M,L||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(M){this.applyStylesToKeyframe(),this.duration=M,this._loadKeyframe()}_updateStyle(M,L){this._localTimelineStyles[M]=L,this._globalTimelineStyles[M]=L,this._styleSummary[M]={time:this.currentTime,value:L}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(M){M&&(this._previousKeyframe.easing=M),Object.keys(this._globalTimelineStyles).forEach(L=>{this._backFill[L]=this._globalTimelineStyles[L]||u.l3,this._currentKeyframe[L]=u.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(M,L,ne,we){L&&(this._previousKeyframe.easing=L);const He=we&&we.params||{},Je=function(ye,M){const L={};let ne;return ye.forEach(we=>{"*"===we?(ne=ne||Object.keys(M),ne.forEach(He=>{L[He]=u.l3})):Dt(we,!1,L)}),L}(M,this._globalTimelineStyles);Object.keys(Je).forEach(at=>{const St=rt(Je[at],He,ne);this._pendingStyles[at]=St,this._localTimelineStyles.hasOwnProperty(at)||(this._backFill[at]=this._globalTimelineStyles.hasOwnProperty(at)?this._globalTimelineStyles[at]:u.l3),this._updateStyle(at,St)})}applyStylesToKeyframe(){const M=this._pendingStyles,L=Object.keys(M);0!=L.length&&(this._pendingStyles={},L.forEach(ne=>{this._currentKeyframe[ne]=M[ne]}),Object.keys(this._localTimelineStyles).forEach(ne=>{this._currentKeyframe.hasOwnProperty(ne)||(this._currentKeyframe[ne]=this._localTimelineStyles[ne])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(M=>{const L=this._localTimelineStyles[M];this._pendingStyles[M]=L,this._updateStyle(M,L)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const M=[];for(let L in this._currentKeyframe)M.push(L);return M}mergeTimelineCollectedStyles(M){Object.keys(M._styleSummary).forEach(L=>{const ne=this._styleSummary[L],we=M._styleSummary[L];(!ne||we.time>ne.time)&&this._updateStyle(L,we.value)})}buildKeyframes(){this.applyStylesToKeyframe();const M=new Set,L=new Set,ne=1===this._keyframes.size&&0===this.duration;let we=[];this._keyframes.forEach((at,St)=>{const Vt=Dt(at,!0);Object.keys(Vt).forEach(Gt=>{const en=Vt[Gt];en==u.k1?M.add(Gt):en==u.l3&&L.add(Gt)}),ne||(Vt.offset=St/this.duration),we.push(Vt)});const He=M.size?ze(M.values()):[],Je=L.size?ze(L.values()):[];if(ne){const at=we[0],St=ot(at);at.offset=0,St.offset=1,we=[at,St]}return B(this.element,we,He,Je,this.duration,this.startTime,this.easing,!1)}}class At extends ut{constructor(M,L,ne,we,He,Je,at=!1){super(M,L,Je.delay),this.keyframes=ne,this.preStyleProps=we,this.postStyleProps=He,this._stretchStartingKeyframe=at,this.timings={duration:Je.duration,delay:Je.delay,easing:Je.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let M=this.keyframes,{delay:L,duration:ne,easing:we}=this.timings;if(this._stretchStartingKeyframe&&L){const He=[],Je=ne+L,at=L/Je,St=Dt(M[0],!1);St.offset=0,He.push(St);const Vt=Dt(M[0],!1);Vt.offset=Xt(at),He.push(Vt);const Gt=M.length-1;for(let en=1;en<=Gt;en++){let yn=Dt(M[en],!1);yn.offset=Xt((L+yn.offset*ne)/Je),He.push(yn)}ne=Je,L=0,we="",M=He}return B(this.element,M,this.preStyleProps,this.postStyleProps,ne,L,we,!0)}}function Xt(ye,M=3){const L=Math.pow(10,M-1);return Math.round(ye*L)/L}class Rn{}class ti extends Rn{normalizePropertyName(M,L){return mt(M)}normalizeStyleValue(M,L,ne,we){let He="";const Je=ne.toString().trim();if(pi[L]&&0!==ne&&"0"!==ne)if("number"==typeof ne)He="px";else{const at=ne.match(/^[+-]?[\d\.]+([a-z]*)$/);at&&0==at[1].length&&we.push(`Please provide a CSS unit value for ${M}:${ne}`)}return Je+He}}const pi=(()=>function(ye){const M={};return ye.forEach(L=>M[L]=!0),M}("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".split(",")))();function Ln(ye,M,L,ne,we,He,Je,at,St,Vt,Gt,en,yn){return{type:0,element:ye,triggerName:M,isRemovalTransition:we,fromState:L,fromStyles:He,toState:ne,toStyles:Je,timelines:at,queriedElements:St,preStyleProps:Vt,postStyleProps:Gt,totalTime:en,errors:yn}}const ri={};class jn{constructor(M,L,ne){this._triggerName=M,this.ast=L,this._stateStyles=ne}match(M,L,ne,we){return function(ye,M,L,ne,we){return ye.some(He=>He(M,L,ne,we))}(this.ast.matchers,M,L,ne,we)}buildStyles(M,L,ne){const we=this._stateStyles["*"],He=this._stateStyles[M],Je=we?we.buildStyles(L,ne):{};return He?He.buildStyles(L,ne):Je}build(M,L,ne,we,He,Je,at,St,Vt,Gt){const en=[],yn=this.ast.options&&this.ast.options.params||ri,rn=this.buildStyles(ne,at&&at.params||ri,en),Cn=St&&St.params||ri,In=this.buildStyles(we,Cn,en),Gn=new Set,ai=new Map,Ci=new Map,vi="void"===we,pr={params:Object.assign(Object.assign({},yn),Cn)},ki=Gt?[]:vn(M,L,this.ast.animation,He,Je,rn,In,pr,Vt,en);let gi=0;if(ki.forEach(xi=>{gi=Math.max(xi.duration+xi.delay,gi)}),en.length)return Ln(L,this._triggerName,ne,we,vi,rn,In,[],[],ai,Ci,gi,en);ki.forEach(xi=>{const Ji=xi.element,Zr=h(ai,Ji,{});xi.preStyleProps.forEach(gr=>Zr[gr]=!0);const mr=h(Ci,Ji,{});xi.postStyleProps.forEach(gr=>mr[gr]=!0),Ji!==L&&Gn.add(Ji)});const Zi=ze(Gn.values());return Ln(L,this._triggerName,ne,we,vi,rn,In,ki,Zi,ai,Ci,gi)}}class Xe{constructor(M,L,ne){this.styles=M,this.defaultParams=L,this.normalizer=ne}buildStyles(M,L){const ne={},we=ot(this.defaultParams);return Object.keys(M).forEach(He=>{const Je=M[He];null!=Je&&(we[He]=Je)}),this.styles.styles.forEach(He=>{if("string"!=typeof He){const Je=He;Object.keys(Je).forEach(at=>{let St=Je[at];St.length>1&&(St=rt(St,we,L));const Vt=this.normalizer.normalizePropertyName(at,L);St=this.normalizer.normalizeStyleValue(at,Vt,St,L),ne[Vt]=St})}}),ne}}class Re{constructor(M,L,ne){this.name=M,this.ast=L,this._normalizer=ne,this.transitionFactories=[],this.states={},L.states.forEach(we=>{this.states[we.name]=new Xe(we.style,we.options&&we.options.params||{},ne)}),te(this.states,"true","1"),te(this.states,"false","0"),L.transitions.forEach(we=>{this.transitionFactories.push(new jn(M,we,this.states))}),this.fallbackTransition=function(ye,M,L){return new jn(ye,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Je,at)=>!0],options:null,queryCount:0,depCount:0},M)}(M,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(M,L,ne,we){return this.transitionFactories.find(Je=>Je.match(M,L,ne,we))||null}matchStyles(M,L,ne){return this.fallbackTransition.buildStyles(M,L,ne)}}function te(ye,M,L){ye.hasOwnProperty(M)?ye.hasOwnProperty(L)||(ye[L]=ye[M]):ye.hasOwnProperty(L)&&(ye[M]=ye[L])}const ke=new V;class Ye{constructor(M,L,ne){this.bodyNode=M,this._driver=L,this._normalizer=ne,this._animations={},this._playersById={},this.players=[]}register(M,L){const ne=[],we=gt(this._driver,L,ne);if(ne.length)throw new Error(`Unable to build the animation due to the following errors: ${ne.join("\n")}`);this._animations[M]=we}_buildPlayer(M,L,ne){const we=M.element,He=m(0,this._normalizer,0,M.keyframes,L,ne);return this._driver.animate(we,He,M.duration,M.delay,M.easing,[],!0)}create(M,L,ne={}){const we=[],He=this._animations[M];let Je;const at=new Map;if(He?(Je=vn(this._driver,L,He,pe,oe,{},{},ne,ke,we),Je.forEach(Gt=>{const en=h(at,Gt.element,{});Gt.postStyleProps.forEach(yn=>en[yn]=null)})):(we.push("The requested animation doesn't exist or has already been destroyed"),Je=[]),we.length)throw new Error(`Unable to create the animation due to the following errors: ${we.join("\n")}`);at.forEach((Gt,en)=>{Object.keys(Gt).forEach(yn=>{Gt[yn]=this._driver.computeStyle(en,yn,u.l3)})});const Vt=d(Je.map(Gt=>{const en=at.get(Gt.element);return this._buildPlayer(Gt,{},en)}));return this._playersById[M]=Vt,Vt.onDestroy(()=>this.destroy(M)),this.players.push(Vt),Vt}destroy(M){const L=this._getPlayer(M);L.destroy(),delete this._playersById[M];const ne=this.players.indexOf(L);ne>=0&&this.players.splice(ne,1)}_getPlayer(M){const L=this._playersById[M];if(!L)throw new Error(`Unable to find the timeline player referenced by ${M}`);return L}listen(M,L,ne,we){const He=b(L,"","","");return p(this._getPlayer(M),ne,He,we),()=>{}}command(M,L,ne,we){if("register"==ne)return void this.register(M,we[0]);if("create"==ne)return void this.create(M,L,we[0]||{});const He=this._getPlayer(M);switch(ne){case"play":He.play();break;case"pause":He.pause();break;case"reset":He.reset();break;case"restart":He.restart();break;case"finish":He.finish();break;case"init":He.init();break;case"setPosition":He.setPosition(parseFloat(we[0]));break;case"destroy":this.destroy(M)}}}const kt="ng-animate-queued",Rt="ng-animate-disabled",Tn=[],wn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Bn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},An="__ng_removed";class kn{constructor(M,L=""){this.namespaceId=L;const ne=M&&M.hasOwnProperty("value");if(this.value=null!=(ye=ne?M.value:M)?ye:null,ne){const He=ot(M);delete He.value,this.options=He}else this.options={};var ye;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(M){const L=M.params;if(L){const ne=this.options.params;Object.keys(L).forEach(we=>{null==ne[we]&&(ne[we]=L[we])})}}}const bn="void",ui=new kn(bn);class Oi{constructor(M,L,ne){this.id=M,this.hostElement=L,this._engine=ne,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+M,xn(L,this._hostClassName)}listen(M,L,ne,we){if(!this._triggers.hasOwnProperty(L))throw new Error(`Unable to listen on the animation trigger event "${ne}" because the animation trigger "${L}" doesn't exist!`);if(null==ne||0==ne.length)throw new Error(`Unable to listen on the animation trigger "${L}" because the provided event is undefined!`);if("start"!=(ye=ne)&&"done"!=ye)throw new Error(`The provided animation trigger event "${ne}" for the animation trigger "${L}" is not supported!`);var ye;const He=h(this._elementListeners,M,[]),Je={name:L,phase:ne,callback:we};He.push(Je);const at=h(this._engine.statesByElement,M,{});return at.hasOwnProperty(L)||(xn(M,ae),xn(M,ae+"-"+L),at[L]=ui),()=>{this._engine.afterFlush(()=>{const St=He.indexOf(Je);St>=0&&He.splice(St,1),this._triggers[L]||delete at[L]})}}register(M,L){return!this._triggers[M]&&(this._triggers[M]=L,!0)}_getTrigger(M){const L=this._triggers[M];if(!L)throw new Error(`The provided animation trigger "${M}" has not been registered!`);return L}trigger(M,L,ne,we=!0){const He=this._getTrigger(L),Je=new Xn(this.id,L,M);let at=this._engine.statesByElement.get(M);at||(xn(M,ae),xn(M,ae+"-"+L),this._engine.statesByElement.set(M,at={}));let St=at[L];const Vt=new kn(ne,this.id);if(!(ne&&ne.hasOwnProperty("value"))&&St&&Vt.absorbOptions(St.options),at[L]=Vt,St||(St=ui),Vt.value!==bn&&St.value===Vt.value){if(!function(ye,M){const L=Object.keys(ye),ne=Object.keys(M);if(L.length!=ne.length)return!1;for(let we=0;we{bt(M,In),ct(M,Gn)})}return}const yn=h(this._engine.playersByElement,M,[]);yn.forEach(Cn=>{Cn.namespaceId==this.id&&Cn.triggerName==L&&Cn.queued&&Cn.destroy()});let pn=He.matchTransition(St.value,Vt.value,M,Vt.params),rn=!1;if(!pn){if(!we)return;pn=He.fallbackTransition,rn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:L,transition:pn,fromState:St,toState:Vt,player:Je,isFallbackTransition:rn}),rn||(xn(M,kt),Je.onStart(()=>{Ii(M,kt)})),Je.onDone(()=>{let Cn=this.players.indexOf(Je);Cn>=0&&this.players.splice(Cn,1);const In=this._engine.playersByElement.get(M);if(In){let Gn=In.indexOf(Je);Gn>=0&&In.splice(Gn,1)}}),this.players.push(Je),yn.push(Je),Je}deregister(M){delete this._triggers[M],this._engine.statesByElement.forEach((L,ne)=>{delete L[M]}),this._elementListeners.forEach((L,ne)=>{this._elementListeners.set(ne,L.filter(we=>we.name!=M))})}clearElementCache(M){this._engine.statesByElement.delete(M),this._elementListeners.delete(M);const L=this._engine.playersByElement.get(M);L&&(L.forEach(ne=>ne.destroy()),this._engine.playersByElement.delete(M))}_signalRemovalForInnerTriggers(M,L){const ne=this._engine.driver.query(M,U,!0);ne.forEach(we=>{if(we[An])return;const He=this._engine.fetchNamespacesByElement(we);He.size?He.forEach(Je=>Je.triggerLeaveAnimation(we,L,!1,!0)):this.clearElementCache(we)}),this._engine.afterFlushAnimationsDone(()=>ne.forEach(we=>this.clearElementCache(we)))}triggerLeaveAnimation(M,L,ne,we){const He=this._engine.statesByElement.get(M);if(He){const Je=[];if(Object.keys(He).forEach(at=>{if(this._triggers[at]){const St=this.trigger(M,at,bn,we);St&&Je.push(St)}}),Je.length)return this._engine.markElementAsRemoved(this.id,M,!0,L),ne&&d(Je).onDone(()=>this._engine.processLeaveNode(M)),!0}return!1}prepareLeaveAnimationListeners(M){const L=this._elementListeners.get(M),ne=this._engine.statesByElement.get(M);if(L&&ne){const we=new Set;L.forEach(He=>{const Je=He.name;if(we.has(Je))return;we.add(Je);const St=this._triggers[Je].fallbackTransition,Vt=ne[Je]||ui,Gt=new kn(bn),en=new Xn(this.id,Je,M);this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:Je,transition:St,fromState:Vt,toState:Gt,player:en,isFallbackTransition:!0})})}}removeNode(M,L){const ne=this._engine;if(M.childElementCount&&this._signalRemovalForInnerTriggers(M,L),this.triggerLeaveAnimation(M,L,!0))return;let we=!1;if(ne.totalAnimations){const He=ne.players.length?ne.playersByQueriedElement.get(M):[];if(He&&He.length)we=!0;else{let Je=M;for(;Je=Je.parentNode;)if(ne.statesByElement.get(Je)){we=!0;break}}}if(this.prepareLeaveAnimationListeners(M),we)ne.markElementAsRemoved(this.id,M,!1,L);else{const He=M[An];(!He||He===wn)&&(ne.afterFlush(()=>this.clearElementCache(M)),ne.destroyInnerAnimations(M),ne._onRemovalComplete(M,L))}}insertNode(M,L){xn(M,this._hostClassName)}drainQueuedTransitions(M){const L=[];return this._queue.forEach(ne=>{const we=ne.player;if(we.destroyed)return;const He=ne.element,Je=this._elementListeners.get(He);Je&&Je.forEach(at=>{if(at.name==ne.triggerName){const St=b(He,ne.triggerName,ne.fromState.value,ne.toState.value);St._data=M,p(ne.player,at.phase,St,at.callback)}}),we.markedForDestroy?this._engine.afterFlush(()=>{we.destroy()}):L.push(ne)}),this._queue=[],L.sort((ne,we)=>{const He=ne.transition.ast.depCount,Je=we.transition.ast.depCount;return 0==He||0==Je?He-Je:this._engine.driver.containsElement(ne.element,we.element)?1:-1})}destroy(M){this.players.forEach(L=>L.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,M)}elementContainsData(M){let L=!1;return this._elementListeners.has(M)&&(L=!0),L=!!this._queue.find(ne=>ne.element===M)||L,L}}class ci{constructor(M,L,ne){this.bodyNode=M,this.driver=L,this._normalizer=ne,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=(we,He)=>{}}_onRemovalComplete(M,L){this.onRemovalComplete(M,L)}get queuedPlayers(){const M=[];return this._namespaceList.forEach(L=>{L.players.forEach(ne=>{ne.queued&&M.push(ne)})}),M}createNamespace(M,L){const ne=new Oi(M,L,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,L)?this._balanceNamespaceList(ne,L):(this.newHostElements.set(L,ne),this.collectEnterElement(L)),this._namespaceLookup[M]=ne}_balanceNamespaceList(M,L){const ne=this._namespaceList.length-1;if(ne>=0){let we=!1;for(let He=ne;He>=0;He--)if(this.driver.containsElement(this._namespaceList[He].hostElement,L)){this._namespaceList.splice(He+1,0,M),we=!0;break}we||this._namespaceList.splice(0,0,M)}else this._namespaceList.push(M);return this.namespacesByHostElement.set(L,M),M}register(M,L){let ne=this._namespaceLookup[M];return ne||(ne=this.createNamespace(M,L)),ne}registerTrigger(M,L,ne){let we=this._namespaceLookup[M];we&&we.register(L,ne)&&this.totalAnimations++}destroy(M,L){if(!M)return;const ne=this._fetchNamespace(M);this.afterFlush(()=>{this.namespacesByHostElement.delete(ne.hostElement),delete this._namespaceLookup[M];const we=this._namespaceList.indexOf(ne);we>=0&&this._namespaceList.splice(we,1)}),this.afterFlushAnimationsDone(()=>ne.destroy(L))}_fetchNamespace(M){return this._namespaceLookup[M]}fetchNamespacesByElement(M){const L=new Set,ne=this.statesByElement.get(M);if(ne){const we=Object.keys(ne);for(let He=0;He=0&&this.collectedLeaveElements.splice(Je,1)}if(M){const Je=this._fetchNamespace(M);Je&&Je.insertNode(L,ne)}we&&this.collectEnterElement(L)}collectEnterElement(M){this.collectedEnterElements.push(M)}markElementAsDisabled(M,L){L?this.disabledNodes.has(M)||(this.disabledNodes.add(M),xn(M,Rt)):this.disabledNodes.has(M)&&(this.disabledNodes.delete(M),Ii(M,Rt))}removeNode(M,L,ne,we){if(bi(L)){const He=M?this._fetchNamespace(M):null;if(He?He.removeNode(L,we):this.markElementAsRemoved(M,L,!1,we),ne){const Je=this.namespacesByHostElement.get(L);Je&&Je.id!==M&&Je.removeNode(L,we)}}else this._onRemovalComplete(L,we)}markElementAsRemoved(M,L,ne,we){this.collectedLeaveElements.push(L),L[An]={namespaceId:M,setForRemoval:we,hasAnimation:ne,removedBeforeQueried:!1}}listen(M,L,ne,we,He){return bi(L)?this._fetchNamespace(M).listen(L,ne,we,He):()=>{}}_buildInstruction(M,L,ne,we,He){return M.transition.build(this.driver,M.element,M.fromState.value,M.toState.value,ne,we,M.fromState.options,M.toState.options,L,He)}destroyInnerAnimations(M){let L=this.driver.query(M,U,!0);L.forEach(ne=>this.destroyActiveAnimationsForElement(ne)),0!=this.playersByQueriedElement.size&&(L=this.driver.query(M,le,!0),L.forEach(ne=>this.finishActiveQueriedAnimationOnElement(ne)))}destroyActiveAnimationsForElement(M){const L=this.playersByElement.get(M);L&&L.forEach(ne=>{ne.queued?ne.markedForDestroy=!0:ne.destroy()})}finishActiveQueriedAnimationOnElement(M){const L=this.playersByQueriedElement.get(M);L&&L.forEach(ne=>ne.finish())}whenRenderingDone(){return new Promise(M=>{if(this.players.length)return d(this.players).onDone(()=>M());M()})}processLeaveNode(M){var L;const ne=M[An];if(ne&&ne.setForRemoval){if(M[An]=wn,ne.namespaceId){this.destroyInnerAnimations(M);const we=this._fetchNamespace(ne.namespaceId);we&&we.clearElementCache(M)}this._onRemovalComplete(M,ne.setForRemoval)}(null===(L=M.classList)||void 0===L?void 0:L.contains(Rt))&&this.markElementAsDisabled(M,!1),this.driver.query(M,".ng-animate-disabled",!0).forEach(we=>{this.markElementAsDisabled(we,!1)})}flush(M=-1){let L=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ne,we)=>this._balanceNamespaceList(ne,we)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ne=0;nene()),this._flushFns=[],this._whenQuietFns.length){const ne=this._whenQuietFns;this._whenQuietFns=[],L.length?d(L).onDone(()=>{ne.forEach(we=>we())}):ne.forEach(we=>we())}}reportError(M){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${M.join("\n")}`)}_flushAnimations(M,L){const ne=new V,we=[],He=new Map,Je=[],at=new Map,St=new Map,Vt=new Map,Gt=new Set;this.disabledNodes.forEach(tn=>{Gt.add(tn);const un=this.driver.query(tn,".ng-animate-queued",!0);for(let ln=0;ln{const ln=pe+Cn++;rn.set(un,ln),tn.forEach(zn=>xn(zn,ln))});const In=[],Gn=new Set,ai=new Set;for(let tn=0;tnGn.add(zn)):ai.add(un))}const Ci=new Map,vi=Fn(yn,Array.from(Gn));vi.forEach((tn,un)=>{const ln=oe+Cn++;Ci.set(un,ln),tn.forEach(zn=>xn(zn,ln))}),M.push(()=>{pn.forEach((tn,un)=>{const ln=rn.get(un);tn.forEach(zn=>Ii(zn,ln))}),vi.forEach((tn,un)=>{const ln=Ci.get(un);tn.forEach(zn=>Ii(zn,ln))}),In.forEach(tn=>{this.processLeaveNode(tn)})});const pr=[],ki=[];for(let tn=this._namespaceList.length-1;tn>=0;tn--)this._namespaceList[tn].drainQueuedTransitions(L).forEach(ln=>{const zn=ln.player,Un=ln.element;if(pr.push(zn),this.collectedEnterElements.length){const Ni=Un[An];if(Ni&&Ni.setForMove)return void zn.destroy()}const hi=!en||!this.driver.containsElement(en,Un),Pn=Ci.get(Un),Ai=rn.get(Un),ei=this._buildInstruction(ln,ne,Ai,Pn,hi);if(ei.errors&&ei.errors.length)return void ki.push(ei);if(hi)return zn.onStart(()=>bt(Un,ei.fromStyles)),zn.onDestroy(()=>ct(Un,ei.toStyles)),void we.push(zn);if(ln.isFallbackTransition)return zn.onStart(()=>bt(Un,ei.fromStyles)),zn.onDestroy(()=>ct(Un,ei.toStyles)),void we.push(zn);const ds=[];ei.timelines.forEach(Ni=>{Ni.stretchStartingKeyframe=!0,this.disabledNodes.has(Ni.element)||ds.push(Ni)}),ei.timelines=ds,ne.append(Un,ei.timelines),Je.push({instruction:ei,player:zn,element:Un}),ei.queriedElements.forEach(Ni=>h(at,Ni,[]).push(zn)),ei.preStyleProps.forEach((Ni,_r)=>{const or=Object.keys(Ni);if(or.length){let Hi=St.get(_r);Hi||St.set(_r,Hi=new Set),or.forEach(zr=>Hi.add(zr))}}),ei.postStyleProps.forEach((Ni,_r)=>{const or=Object.keys(Ni);let Hi=Vt.get(_r);Hi||Vt.set(_r,Hi=new Set),or.forEach(zr=>Hi.add(zr))})});if(ki.length){const tn=[];ki.forEach(un=>{tn.push(`@${un.triggerName} has failed due to:\n`),un.errors.forEach(ln=>tn.push(`- ${ln}\n`))}),pr.forEach(un=>un.destroy()),this.reportError(tn)}const gi=new Map,Zi=new Map;Je.forEach(tn=>{const un=tn.element;ne.has(un)&&(Zi.set(un,un),this._beforeAnimationBuild(tn.player.namespaceId,tn.instruction,gi))}),we.forEach(tn=>{const un=tn.element;this._getPreviousPlayers(un,!1,tn.namespaceId,tn.triggerName,null).forEach(zn=>{h(gi,un,[]).push(zn),zn.destroy()})});const xi=In.filter(tn=>an(tn,St,Vt)),Ji=new Map;Qi(Ji,this.driver,ai,Vt,u.l3).forEach(tn=>{an(tn,St,Vt)&&xi.push(tn)});const mr=new Map;pn.forEach((tn,un)=>{Qi(mr,this.driver,new Set(tn),St,u.k1)}),xi.forEach(tn=>{const un=Ji.get(tn),ln=mr.get(tn);Ji.set(tn,Object.assign(Object.assign({},un),ln))});const gr=[],cs=[],Jr={};Je.forEach(tn=>{const{element:un,player:ln,instruction:zn}=tn;if(ne.has(un)){if(Gt.has(un))return ln.onDestroy(()=>ct(un,zn.toStyles)),ln.disabled=!0,ln.overrideTotalTime(zn.totalTime),void we.push(ln);let Un=Jr;if(Zi.size>1){let Pn=un;const Ai=[];for(;Pn=Pn.parentNode;){const ei=Zi.get(Pn);if(ei){Un=ei;break}Ai.push(Pn)}Ai.forEach(ei=>Zi.set(ei,Un))}const hi=this._buildAnimation(ln.namespaceId,zn,gi,He,mr,Ji);if(ln.setRealPlayer(hi),Un===Jr)gr.push(ln);else{const Pn=this.playersByElement.get(Un);Pn&&Pn.length&&(ln.parentPlayer=d(Pn)),we.push(ln)}}else bt(un,zn.fromStyles),ln.onDestroy(()=>ct(un,zn.toStyles)),cs.push(ln),Gt.has(un)&&we.push(ln)}),cs.forEach(tn=>{const un=He.get(tn.element);if(un&&un.length){const ln=d(un);tn.setRealPlayer(ln)}}),we.forEach(tn=>{tn.parentPlayer?tn.syncPlayerEvents(tn.parentPlayer):tn.destroy()});for(let tn=0;tn!hi.destroyed);Un.length?wi(this,un,Un):this.processLeaveNode(un)}return In.length=0,gr.forEach(tn=>{this.players.push(tn),tn.onDone(()=>{tn.destroy();const un=this.players.indexOf(tn);this.players.splice(un,1)}),tn.play()}),gr}elementContainsData(M,L){let ne=!1;const we=L[An];return we&&we.setForRemoval&&(ne=!0),this.playersByElement.has(L)&&(ne=!0),this.playersByQueriedElement.has(L)&&(ne=!0),this.statesByElement.has(L)&&(ne=!0),this._fetchNamespace(M).elementContainsData(L)||ne}afterFlush(M){this._flushFns.push(M)}afterFlushAnimationsDone(M){this._whenQuietFns.push(M)}_getPreviousPlayers(M,L,ne,we,He){let Je=[];if(L){const at=this.playersByQueriedElement.get(M);at&&(Je=at)}else{const at=this.playersByElement.get(M);if(at){const St=!He||He==bn;at.forEach(Vt=>{Vt.queued||!St&&Vt.triggerName!=we||Je.push(Vt)})}}return(ne||we)&&(Je=Je.filter(at=>!(ne&&ne!=at.namespaceId||we&&we!=at.triggerName))),Je}_beforeAnimationBuild(M,L,ne){const He=L.element,Je=L.isRemovalTransition?void 0:M,at=L.isRemovalTransition?void 0:L.triggerName;for(const St of L.timelines){const Vt=St.element,Gt=Vt!==He,en=h(ne,Vt,[]);this._getPreviousPlayers(Vt,Gt,Je,at,L.toState).forEach(pn=>{const rn=pn.getRealPlayer();rn.beforeDestroy&&rn.beforeDestroy(),pn.destroy(),en.push(pn)})}bt(He,L.fromStyles)}_buildAnimation(M,L,ne,we,He,Je){const at=L.triggerName,St=L.element,Vt=[],Gt=new Set,en=new Set,yn=L.timelines.map(rn=>{const Cn=rn.element;Gt.add(Cn);const In=Cn[An];if(In&&In.removedBeforeQueried)return new u.ZN(rn.duration,rn.delay);const Gn=Cn!==St,ai=function(ye){const M=[];return Wi(ye,M),M}((ne.get(Cn)||Tn).map(gi=>gi.getRealPlayer())).filter(gi=>!!gi.element&&gi.element===Cn),Ci=He.get(Cn),vi=Je.get(Cn),pr=m(0,this._normalizer,0,rn.keyframes,Ci,vi),ki=this._buildPlayer(rn,pr,ai);if(rn.subTimeline&&we&&en.add(Cn),Gn){const gi=new Xn(M,at,Cn);gi.setRealPlayer(ki),Vt.push(gi)}return ki});Vt.forEach(rn=>{h(this.playersByQueriedElement,rn.element,[]).push(rn),rn.onDone(()=>function(ye,M,L){let ne;if(ye instanceof Map){if(ne=ye.get(M),ne){if(ne.length){const we=ne.indexOf(L);ne.splice(we,1)}0==ne.length&&ye.delete(M)}}else if(ne=ye[M],ne){if(ne.length){const we=ne.indexOf(L);ne.splice(we,1)}0==ne.length&&delete ye[M]}return ne}(this.playersByQueriedElement,rn.element,rn))}),Gt.forEach(rn=>xn(rn,ie));const pn=d(yn);return pn.onDestroy(()=>{Gt.forEach(rn=>Ii(rn,ie)),ct(St,L.toStyles)}),en.forEach(rn=>{h(we,rn,[]).push(pn)}),pn}_buildPlayer(M,L,ne){return L.length>0?this.driver.animate(M.element,L,M.duration,M.delay,M.easing,ne):new u.ZN(M.duration,M.delay)}}class Xn{constructor(M,L,ne){this.namespaceId=M,this.triggerName=L,this.element=ne,this._player=new u.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(M){this._containsRealPlayer||(this._player=M,Object.keys(this._queuedCallbacks).forEach(L=>{this._queuedCallbacks[L].forEach(ne=>p(M,L,void 0,ne))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(M.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(M){this.totalTime=M}syncPlayerEvents(M){const L=this._player;L.triggerCallback&&M.onStart(()=>L.triggerCallback("start")),M.onDone(()=>this.finish()),M.onDestroy(()=>this.destroy())}_queueEvent(M,L){h(this._queuedCallbacks,M,[]).push(L)}onDone(M){this.queued&&this._queueEvent("done",M),this._player.onDone(M)}onStart(M){this.queued&&this._queueEvent("start",M),this._player.onStart(M)}onDestroy(M){this.queued&&this._queueEvent("destroy",M),this._player.onDestroy(M)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(M){this.queued||this._player.setPosition(M)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(M){const L=this._player;L.triggerCallback&&L.triggerCallback(M)}}function bi(ye){return ye&&1===ye.nodeType}function mn(ye,M){const L=ye.style.display;return ye.style.display=null!=M?M:"none",L}function Qi(ye,M,L,ne,we){const He=[];L.forEach(St=>He.push(mn(St)));const Je=[];ne.forEach((St,Vt)=>{const Gt={};St.forEach(en=>{const yn=Gt[en]=M.computeStyle(Vt,en,we);(!yn||0==yn.length)&&(Vt[An]=Bn,Je.push(Vt))}),ye.set(Vt,Gt)});let at=0;return L.forEach(St=>mn(St,He[at++])),Je}function Fn(ye,M){const L=new Map;if(ye.forEach(at=>L.set(at,[])),0==M.length)return L;const we=new Set(M),He=new Map;function Je(at){if(!at)return 1;let St=He.get(at);if(St)return St;const Vt=at.parentNode;return St=L.has(Vt)?Vt:we.has(Vt)?1:Je(Vt),He.set(at,St),St}return M.forEach(at=>{const St=Je(at);1!==St&&L.get(St).push(at)}),L}function xn(ye,M){var L;null===(L=ye.classList)||void 0===L||L.add(M)}function Ii(ye,M){var L;null===(L=ye.classList)||void 0===L||L.remove(M)}function wi(ye,M,L){d(L).onDone(()=>ye.processLeaveNode(M))}function Wi(ye,M){for(let L=0;Lwe.add(He)):M.set(ye,ne),L.delete(ye),!0}class gn{constructor(M,L,ne){this.bodyNode=M,this._driver=L,this._normalizer=ne,this._triggerCache={},this.onRemovalComplete=(we,He)=>{},this._transitionEngine=new ci(M,L,ne),this._timelineEngine=new Ye(M,L,ne),this._transitionEngine.onRemovalComplete=(we,He)=>this.onRemovalComplete(we,He)}registerTrigger(M,L,ne,we,He){const Je=M+"-"+we;let at=this._triggerCache[Je];if(!at){const St=[],Vt=gt(this._driver,He,St);if(St.length)throw new Error(`The animation trigger "${we}" has failed to build due to the following errors:\n - ${St.join("\n - ")}`);at=function(ye,M,L){return new Re(ye,M,L)}(we,Vt,this._normalizer),this._triggerCache[Je]=at}this._transitionEngine.registerTrigger(L,we,at)}register(M,L){this._transitionEngine.register(M,L)}destroy(M,L){this._transitionEngine.destroy(M,L)}onInsert(M,L,ne,we){this._transitionEngine.insertNode(M,L,ne,we)}onRemove(M,L,ne,we){this._transitionEngine.removeNode(M,L,we||!1,ne)}disableAnimations(M,L){this._transitionEngine.markElementAsDisabled(M,L)}process(M,L,ne,we){if("@"==ne.charAt(0)){const[He,Je]=g(ne);this._timelineEngine.command(He,L,Je,we)}else this._transitionEngine.trigger(M,L,ne,we)}listen(M,L,ne,we,He){if("@"==ne.charAt(0)){const[Je,at]=g(ne);return this._timelineEngine.listen(Je,L,at,He)}return this._transitionEngine.listen(M,L,ne,we,He)}flush(M=-1){this._transitionEngine.flush(M)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Sn(ye,M){let L=null,ne=null;return Array.isArray(M)&&M.length?(L=mi(M[0]),M.length>1&&(ne=mi(M[M.length-1]))):M&&(L=mi(M)),L||ne?new oi(ye,L,ne):null}let oi=(()=>{class ye{constructor(L,ne,we){this._element=L,this._startStyles=ne,this._endStyles=we,this._state=0;let He=ye.initialStylesByElement.get(L);He||ye.initialStylesByElement.set(L,He={}),this._initialStyles=He}start(){this._state<1&&(this._startStyles&&ct(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ct(this._element,this._initialStyles),this._endStyles&&(ct(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ye.initialStylesByElement.delete(this._element),this._startStyles&&(bt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(bt(this._element,this._endStyles),this._endStyles=null),ct(this._element,this._initialStyles),this._state=3)}}return ye.initialStylesByElement=new WeakMap,ye})();function mi(ye){let M=null;const L=Object.keys(ye);for(let ne=0;nethis._handleCallback(St)}apply(){(function(ye,M){const L=ur(ye,"").trim();let ne=0;L.length&&(function(ye,M){let L=0;for(let ne=0;ne=this._delay&&ne>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Gi(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(ye,M){const ne=ur(ye,"").split(","),we=Vi(ne,M);we>=0&&(ne.splice(we,1),Pi(ye,"",ne.join(",")))}(this._element,this._name))}}function Cr(ye,M,L){Pi(ye,"PlayState",L,Si(ye,M))}function Si(ye,M){const L=ur(ye,"");return L.indexOf(",")>0?Vi(L.split(","),M):Vi([L],M)}function Vi(ye,M){for(let L=0;L=0)return L;return-1}function Gi(ye,M,L){L?ye.removeEventListener(Or,M):ye.addEventListener(Or,M)}function Pi(ye,M,L,ne){const we=br+M;if(null!=ne){const He=ye.style[we];if(He.length){const Je=He.split(",");Je[ne]=L,L=Je.join(",")}}ye.style[we]=L}function ur(ye,M){return ye.style[br+M]||""}class qi{constructor(M,L,ne,we,He,Je,at,St){this.element=M,this.keyframes=L,this.animationName=ne,this._duration=we,this._delay=He,this._finalStyles=at,this._specialStyles=St,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=Je||"linear",this.totalTime=we+He,this._buildStyler()}onStart(M){this._onStartFns.push(M)}onDone(M){this._onDoneFns.push(M)}onDestroy(M){this._onDestroyFns.push(M)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(M=>M()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(M=>M()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(M=>M()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(M){this._styler.setPosition(M)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Di(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(M){const L="start"==M?this._onStartFns:this._onDoneFns;L.forEach(ne=>ne()),L.length=0}beforeDestroy(){this.init();const M={};if(this.hasStarted()){const L=this._state>=3;Object.keys(this._finalStyles).forEach(ne=>{"offset"!=ne&&(M[ne]=L?this._finalStyles[ne]:x(this.element,ne))})}this.currentSnapshot=M}}class $i extends u.ZN{constructor(M,L){super(),this.element=M,this._startingStyles={},this.__initialized=!1,this._styles=X(L)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(M=>{this._startingStyles[M]=this.element.style[M]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(M=>this.element.style.setProperty(M,this._styles[M])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(M=>{const L=this._startingStyles[M];L?this.element.style.setProperty(M,L):this.element.style.removeProperty(M)}),this._startingStyles=null,super.destroy())}}class rr{constructor(){this._count=0}validateStyleProperty(M){return Y(M)}matchesElement(M,L){return!1}containsElement(M,L){return z(M,L)}query(M,L,ne){return G(M,L,ne)}computeStyle(M,L,ne){return window.getComputedStyle(M)[L]}buildKeyframeElement(M,L,ne){ne=ne.map(at=>X(at));let we=`@keyframes ${L} {\n`,He="";ne.forEach(at=>{He=" ";const St=parseFloat(at.offset);we+=`${He}${100*St}% {\n`,He+=" ",Object.keys(at).forEach(Vt=>{const Gt=at[Vt];switch(Vt){case"offset":return;case"easing":return void(Gt&&(we+=`${He}animation-timing-function: ${Gt};\n`));default:return void(we+=`${He}${Vt}: ${Gt};\n`)}}),we+=`${He}}\n`}),we+="}\n";const Je=document.createElement("style");return Je.textContent=we,Je}animate(M,L,ne,we,He,Je=[],at){const St=Je.filter(In=>In instanceof qi),Vt={};Z(ne,we)&&St.forEach(In=>{let Gn=In.currentSnapshot;Object.keys(Gn).forEach(ai=>Vt[ai]=Gn[ai])});const Gt=function(ye){let M={};return ye&&(Array.isArray(ye)?ye:[ye]).forEach(ne=>{Object.keys(ne).forEach(we=>{"offset"==we||"easing"==we||(M[we]=ne[we])})}),M}(L=j(M,L,Vt));if(0==ne)return new $i(M,Gt);const en="gen_css_kf_"+this._count++,yn=this.buildKeyframeElement(M,en,L);(function(ye){var M;const L=null===(M=ye.getRootNode)||void 0===M?void 0:M.call(ye);return"undefined"!=typeof ShadowRoot&&L instanceof ShadowRoot?L:document.head})(M).appendChild(yn);const rn=Sn(M,L),Cn=new qi(M,L,en,ne,we,He,Gt,rn);return Cn.onDestroy(()=>{var ye;(ye=yn).parentNode.removeChild(ye)}),Cn}}class Wn{constructor(M,L,ne,we){this.element=M,this.keyframes=L,this.options=ne,this._specialStyles=we,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=ne.duration,this._delay=ne.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(M=>M()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const M=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,M,this.options),this._finalKeyframe=M.length?M[M.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(M,L,ne){return M.animate(L,ne)}onStart(M){this._onStartFns.push(M)}onDone(M){this._onDoneFns.push(M)}onDestroy(M){this._onDestroyFns.push(M)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(M=>M()),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}_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(M=>M()),this._onDestroyFns=[])}setPosition(M){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=M*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const M={};if(this.hasStarted()){const L=this._finalKeyframe;Object.keys(L).forEach(ne=>{"offset"!=ne&&(M[ne]=this._finished?L[ne]:x(this.element,ne))})}this.currentSnapshot=M}triggerCallback(M){const L="start"==M?this._onStartFns:this._onDoneFns;L.forEach(ne=>ne()),L.length=0}}class Dr{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(fe().toString()),this._cssKeyframesDriver=new rr}validateStyleProperty(M){return Y(M)}matchesElement(M,L){return!1}containsElement(M,L){return z(M,L)}query(M,L,ne){return G(M,L,ne)}computeStyle(M,L,ne){return window.getComputedStyle(M)[L]}overrideWebAnimationsSupport(M){this._isNativeImpl=M}animate(M,L,ne,we,He,Je=[],at){if(!at&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(M,L,ne,we,He,Je);const Gt={duration:ne,delay:we,fill:0==we?"both":"forwards"};He&&(Gt.easing=He);const en={},yn=Je.filter(rn=>rn instanceof Wn);Z(ne,we)&&yn.forEach(rn=>{let Cn=rn.currentSnapshot;Object.keys(Cn).forEach(In=>en[In]=Cn[In])});const pn=Sn(M,L=j(M,L=L.map(rn=>Dt(rn,!1)),en));return new Wn(M,L,Gt,pn)}}function fe(){return c()&&Element.prototype.animate||{}}var k=o(9808);let E=(()=>{class ye extends u._j{constructor(L,ne){super(),this._nextAnimationId=0,this._renderer=L.createRenderer(ne.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(L){const ne=this._nextAnimationId.toString();this._nextAnimationId++;const we=Array.isArray(L)?(0,u.vP)(L):L;return Ze(this._renderer,null,ne,"register",[we]),new I(ne,this._renderer)}}return ye.\u0275fac=function(L){return new(L||ye)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(k.DOCUMENT))},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac}),ye})();class I extends u.LC{constructor(M,L){super(),this._id=M,this._renderer=L}create(M,L){return new de(this._id,M,L||{},this._renderer)}}class de{constructor(M,L,ne,we){this.id=M,this.element=L,this._renderer=we,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ne)}_listen(M,L){return this._renderer.listen(this.element,`@@${this.id}:${M}`,L)}_command(M,...L){return Ze(this._renderer,this.element,this.id,M,L)}onDone(M){this._listen("done",M)}onStart(M){this._listen("start",M)}onDestroy(M){this._listen("destroy",M)}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(M){this._command("setPosition",M)}getPosition(){var M,L;return null!==(L=null===(M=this._renderer.engine.players[+this.id])||void 0===M?void 0:M.getPosition())&&void 0!==L?L:0}}function Ze(ye,M,L,ne,we){return ye.setProperty(M,`@@${L}:${ne}`,we)}const Wt="@.disabled";let hn=(()=>{class ye{constructor(L,ne,we){this.delegate=L,this.engine=ne,this._zone=we,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),ne.onRemovalComplete=(He,Je)=>{const at=null==Je?void 0:Je.parentNode(He);at&&Je.removeChild(at,He)}}createRenderer(L,ne){const He=this.delegate.createRenderer(L,ne);if(!(L&&ne&&ne.data&&ne.data.animation)){let Gt=this._rendererCache.get(He);return Gt||(Gt=new Nn("",He,this.engine),this._rendererCache.set(He,Gt)),Gt}const Je=ne.id,at=ne.id+"-"+this._currentId;this._currentId++,this.engine.register(at,L);const St=Gt=>{Array.isArray(Gt)?Gt.forEach(St):this.engine.registerTrigger(Je,at,L,Gt.name,Gt)};return ne.data.animation.forEach(St),new Hn(this,at,He,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(L,ne,we){L>=0&&Lne(we)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(He=>{const[Je,at]=He;Je(at)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([ne,we]))}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 ye.\u0275fac=function(L){return new(L||ye)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(gn),n.\u0275\u0275inject(n.NgZone))},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac}),ye})();class Nn{constructor(M,L,ne){this.namespaceId=M,this.delegate=L,this.engine=ne,this.destroyNode=this.delegate.destroyNode?we=>L.destroyNode(we):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(M,L){return this.delegate.createElement(M,L)}createComment(M){return this.delegate.createComment(M)}createText(M){return this.delegate.createText(M)}appendChild(M,L){this.delegate.appendChild(M,L),this.engine.onInsert(this.namespaceId,L,M,!1)}insertBefore(M,L,ne,we=!0){this.delegate.insertBefore(M,L,ne),this.engine.onInsert(this.namespaceId,L,M,we)}removeChild(M,L,ne){this.engine.onRemove(this.namespaceId,L,this.delegate,ne)}selectRootElement(M,L){return this.delegate.selectRootElement(M,L)}parentNode(M){return this.delegate.parentNode(M)}nextSibling(M){return this.delegate.nextSibling(M)}setAttribute(M,L,ne,we){this.delegate.setAttribute(M,L,ne,we)}removeAttribute(M,L,ne){this.delegate.removeAttribute(M,L,ne)}addClass(M,L){this.delegate.addClass(M,L)}removeClass(M,L){this.delegate.removeClass(M,L)}setStyle(M,L,ne,we){this.delegate.setStyle(M,L,ne,we)}removeStyle(M,L,ne){this.delegate.removeStyle(M,L,ne)}setProperty(M,L,ne){"@"==L.charAt(0)&&L==Wt?this.disableAnimations(M,!!ne):this.delegate.setProperty(M,L,ne)}setValue(M,L){this.delegate.setValue(M,L)}listen(M,L,ne){return this.delegate.listen(M,L,ne)}disableAnimations(M,L){this.engine.disableAnimations(M,L)}}class Hn extends Nn{constructor(M,L,ne,we){super(L,ne,we),this.factory=M,this.namespaceId=L}setProperty(M,L,ne){"@"==L.charAt(0)?"."==L.charAt(1)&&L==Wt?this.disableAnimations(M,ne=void 0===ne||!!ne):this.engine.process(this.namespaceId,M,L.substr(1),ne):this.delegate.setProperty(M,L,ne)}listen(M,L,ne){if("@"==L.charAt(0)){const we=function(ye){switch(ye){case"body":return document.body;case"document":return document;case"window":return window;default:return ye}}(M);let He=L.substr(1),Je="";return"@"!=He.charAt(0)&&([He,Je]=function(ye){const M=ye.indexOf(".");return[ye.substring(0,M),ye.substr(M+1)]}(He)),this.engine.listen(this.namespaceId,we,He,Je,at=>{this.factory.scheduleListenerCallback(at._data||-1,ne,at)})}return this.delegate.listen(M,L,ne)}}let Qn=(()=>{class ye extends gn{constructor(L,ne,we){super(L.body,ne,we)}ngOnDestroy(){this.flush()}}return ye.\u0275fac=function(L){return new(L||ye)(n.\u0275\u0275inject(k.DOCUMENT),n.\u0275\u0275inject(q),n.\u0275\u0275inject(Rn))},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac}),ye})();const ji=new n.InjectionToken("AnimationModuleType"),sr=[{provide:u._j,useClass:E},{provide:Rn,useFactory:function(){return new ti}},{provide:gn,useClass:Qn},{provide:n.RendererFactory2,useFactory:function(ye,M,L){return new hn(ye,M,L)},deps:[l.\u0275DomRendererFactory2,gn,n.NgZone]}],jr=[{provide:q,useFactory:function(){return"function"==typeof fe()?new Dr:new rr}},{provide:ji,useValue:"BrowserAnimations"},...sr],Sr=[{provide:q,useClass:Q},{provide:ji,useValue:"NoopAnimations"},...sr];let Hr=(()=>{class ye{static withConfig(L){return{ngModule:ye,providers:L.disableAnimations?Sr:jr}}}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275mod=n.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=n.\u0275\u0275defineInjector({providers:jr,imports:[l.BrowserModule]}),ye})(),Cs=(()=>{class ye{}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275mod=n.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=n.\u0275\u0275defineInjector({providers:Sr,imports:[l.BrowserModule]}),ye})()},2313:(he,A,o)=>{"use strict";o.r(A),o.d(A,{\u0275getDOM:()=>n.\u0275getDOM,BrowserModule:()=>ze,BrowserTransferStateModule:()=>lt,By:()=>Ot,DomSanitizer:()=>Ct,EVENT_MANAGER_PLUGINS:()=>C,EventManager:()=>P,HAMMER_GESTURE_CONFIG:()=>Ee,HAMMER_LOADER:()=>B,HammerGestureConfig:()=>V,HammerModule:()=>je,Meta:()=>mt,Title:()=>j,TransferState:()=>Mt,VERSION:()=>vn,disableDebugTools:()=>gt,enableDebugTools:()=>Ft,makeStateKey:()=>_t,platformBrowser:()=>Ne,\u0275BrowserDomAdapter:()=>c,\u0275BrowserGetTestability:()=>g,\u0275DomEventsPlugin:()=>Ke,\u0275DomRendererFactory2:()=>ae,\u0275DomSanitizerImpl:()=>$t,\u0275DomSharedStylesHost:()=>T,\u0275HammerGesturesPlugin:()=>be,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>dt,\u0275KeyEventsPlugin:()=>Qe,\u0275NAMESPACE_URIS:()=>$,\u0275SharedStylesHost:()=>D,\u0275TRANSITION_ID:()=>y,\u0275escapeHtml:()=>Lt,\u0275flattenStyles:()=>xe,\u0275initDomAdapter:()=>bt,\u0275shimContentAttribute:()=>ue,\u0275shimHostAttribute:()=>me});var n=o(9808),l=o(5e3);class u extends n.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class c extends u{static makeCurrent(){(0,n.\u0275setRootDomAdapter)(new c)}onAndCancel(st,Ve,ut){return st.addEventListener(Ve,ut,!1),()=>{st.removeEventListener(Ve,ut,!1)}}dispatchEvent(st,Ve){st.dispatchEvent(Ve)}remove(st){st.parentNode&&st.parentNode.removeChild(st)}createElement(st,Ve){return(Ve=Ve||this.getDefaultDocument()).createElement(st)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(st){return st.nodeType===Node.ELEMENT_NODE}isShadowRoot(st){return st instanceof DocumentFragment}getGlobalEventTarget(st,Ve){return"window"===Ve?window:"document"===Ve?st:"body"===Ve?st.body:null}getBaseHref(st){const Ve=(r=r||document.querySelector("base"),r?r.getAttribute("href"):null);return null==Ve?null:function(it){m=m||document.createElement("a"),m.setAttribute("href",it);const st=m.pathname;return"/"===st.charAt(0)?st:`/${st}`}(Ve)}resetBaseElement(){r=null}getUserAgent(){return window.navigator.userAgent}getCookie(st){return(0,n.\u0275parseCookieValue)(document.cookie,st)}}let m,r=null;const y=new l.InjectionToken("TRANSITION_ID"),h=[{provide:l.APP_INITIALIZER,useFactory:function(it,st,Ve){return()=>{Ve.get(l.ApplicationInitStatus).donePromise.then(()=>{const ut=(0,n.\u0275getDOM)(),At=st.querySelectorAll(`style[ng-transition="${it}"]`);for(let Xt=0;Xt{const Xt=st.findTestabilityInTree(ut,At);if(null==Xt)throw new Error("Could not find testability for element.");return Xt},l.\u0275global.getAllAngularTestabilities=()=>st.getAllTestabilities(),l.\u0275global.getAllAngularRootElements=()=>st.getAllRootElements(),l.\u0275global.frameworkStabilizers||(l.\u0275global.frameworkStabilizers=[]),l.\u0275global.frameworkStabilizers.push(ut=>{const At=l.\u0275global.getAllAngularTestabilities();let Xt=At.length,Jt=!1;const fn=function(Rn){Jt=Jt||Rn,Xt--,0==Xt&&ut(Jt)};At.forEach(function(Rn){Rn.whenStable(fn)})})}findTestabilityInTree(st,Ve,ut){if(null==Ve)return null;const At=st.getTestability(Ve);return null!=At?At:ut?(0,n.\u0275getDOM)().isShadowRoot(Ve)?this.findTestabilityInTree(st,Ve.host,!0):this.findTestabilityInTree(st,Ve.parentElement,!0):null}}let s=(()=>{class it{build(){return new XMLHttpRequest}}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();const C=new l.InjectionToken("EventManagerPlugins");let P=(()=>{class it{constructor(Ve,ut){this._zone=ut,this._eventNameToPlugin=new Map,Ve.forEach(At=>At.manager=this),this._plugins=Ve.slice().reverse()}addEventListener(Ve,ut,At){return this._findPluginFor(ut).addEventListener(Ve,ut,At)}addGlobalEventListener(Ve,ut,At){return this._findPluginFor(ut).addGlobalEventListener(Ve,ut,At)}getZone(){return this._zone}_findPluginFor(Ve){const ut=this._eventNameToPlugin.get(Ve);if(ut)return ut;const At=this._plugins;for(let Xt=0;Xt{class it{constructor(){this._stylesSet=new Set}addStyles(Ve){const ut=new Set;Ve.forEach(At=>{this._stylesSet.has(At)||(this._stylesSet.add(At),ut.add(At))}),this.onStylesAdded(ut)}onStylesAdded(Ve){}getAllStyles(){return Array.from(this._stylesSet)}}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})(),T=(()=>{class it extends D{constructor(Ve){super(),this._doc=Ve,this._hostNodes=new Map,this._hostNodes.set(Ve.head,[])}_addStylesToHost(Ve,ut,At){Ve.forEach(Xt=>{const Jt=this._doc.createElement("style");Jt.textContent=Xt,At.push(ut.appendChild(Jt))})}addHost(Ve){const ut=[];this._addStylesToHost(this._stylesSet,Ve,ut),this._hostNodes.set(Ve,ut)}removeHost(Ve){const ut=this._hostNodes.get(Ve);ut&&ut.forEach(Y),this._hostNodes.delete(Ve)}onStylesAdded(Ve){this._hostNodes.forEach((ut,At)=>{this._addStylesToHost(Ve,At,ut)})}ngOnDestroy(){this._hostNodes.forEach(Ve=>Ve.forEach(Y))}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();function Y(it){(0,n.\u0275getDOM)().remove(it)}const $={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/"},z=/%COMP%/g,X="%COMP%",Q=`_nghost-${X}`,q=`_ngcontent-${X}`;function ue(it){return q.replace(z,it)}function me(it){return Q.replace(z,it)}function xe(it,st,Ve){for(let ut=0;ut{if("__ngUnwrap__"===st)return it;!1===it(st)&&(st.preventDefault(),st.returnValue=!1)}}let ae=(()=>{class it{constructor(Ve,ut,At){this.eventManager=Ve,this.sharedStylesHost=ut,this.appId=At,this.rendererByCompId=new Map,this.defaultRenderer=new U(Ve)}createRenderer(Ve,ut){if(!Ve||!ut)return this.defaultRenderer;switch(ut.encapsulation){case l.ViewEncapsulation.Emulated:{let At=this.rendererByCompId.get(ut.id);return At||(At=new Ce(this.eventManager,this.sharedStylesHost,ut,this.appId),this.rendererByCompId.set(ut.id,At)),At.applyToHost(Ve),At}case 1:case l.ViewEncapsulation.ShadowDom:return new Te(this.eventManager,this.sharedStylesHost,Ve,ut);default:if(!this.rendererByCompId.has(ut.id)){const At=xe(ut.id,ut.styles,[]);this.sharedStylesHost.addStyles(At),this.rendererByCompId.set(ut.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(P),l.\u0275\u0275inject(T),l.\u0275\u0275inject(l.APP_ID))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();class U{constructor(st){this.eventManager=st,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(st,Ve){return Ve?document.createElementNS($[Ve]||Ve,st):document.createElement(st)}createComment(st){return document.createComment(st)}createText(st){return document.createTextNode(st)}appendChild(st,Ve){st.appendChild(Ve)}insertBefore(st,Ve,ut){st&&st.insertBefore(Ve,ut)}removeChild(st,Ve){st&&st.removeChild(Ve)}selectRootElement(st,Ve){let ut="string"==typeof st?document.querySelector(st):st;if(!ut)throw new Error(`The selector "${st}" did not match any elements`);return Ve||(ut.textContent=""),ut}parentNode(st){return st.parentNode}nextSibling(st){return st.nextSibling}setAttribute(st,Ve,ut,At){if(At){Ve=At+":"+Ve;const Xt=$[At];Xt?st.setAttributeNS(Xt,Ve,ut):st.setAttribute(Ve,ut)}else st.setAttribute(Ve,ut)}removeAttribute(st,Ve,ut){if(ut){const At=$[ut];At?st.removeAttributeNS(At,Ve):st.removeAttribute(`${ut}:${Ve}`)}else st.removeAttribute(Ve)}addClass(st,Ve){st.classList.add(Ve)}removeClass(st,Ve){st.classList.remove(Ve)}setStyle(st,Ve,ut,At){At&(l.RendererStyleFlags2.DashCase|l.RendererStyleFlags2.Important)?st.style.setProperty(Ve,ut,At&l.RendererStyleFlags2.Important?"important":""):st.style[Ve]=ut}removeStyle(st,Ve,ut){ut&l.RendererStyleFlags2.DashCase?st.style.removeProperty(Ve):st.style[Ve]=""}setProperty(st,Ve,ut){st[Ve]=ut}setValue(st,Ve){st.nodeValue=Ve}listen(st,Ve,ut){return"string"==typeof st?this.eventManager.addGlobalEventListener(st,Ve,pe(ut)):this.eventManager.addEventListener(st,Ve,pe(ut))}}class Ce extends U{constructor(st,Ve,ut,At){super(st),this.component=ut;const Xt=xe(At+"-"+ut.id,ut.styles,[]);Ve.addStyles(Xt),this.contentAttr=ue(At+"-"+ut.id),this.hostAttr=me(At+"-"+ut.id)}applyToHost(st){super.setAttribute(st,this.hostAttr,"")}createElement(st,Ve){const ut=super.createElement(st,Ve);return super.setAttribute(ut,this.contentAttr,""),ut}}class Te extends U{constructor(st,Ve,ut,At){super(st),this.sharedStylesHost=Ve,this.hostEl=ut,this.shadowRoot=ut.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Xt=xe(At.id,At.styles,[]);for(let Jt=0;Jt{class it extends w{constructor(Ve){super(Ve)}supports(Ve){return!0}addEventListener(Ve,ut,At){return Ve.addEventListener(ut,At,!1),()=>this.removeEventListener(Ve,ut,At)}removeEventListener(Ve,ut,At){return Ve.removeEventListener(ut,At)}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();const tt=["alt","control","meta","shift"],pt={"\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"},Dt={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ie={alt:it=>it.altKey,control:it=>it.ctrlKey,meta:it=>it.metaKey,shift:it=>it.shiftKey};let Qe=(()=>{class it extends w{constructor(Ve){super(Ve)}supports(Ve){return null!=it.parseEventName(Ve)}addEventListener(Ve,ut,At){const Xt=it.parseEventName(ut),Jt=it.eventCallback(Xt.fullKey,At,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.\u0275getDOM)().onAndCancel(Ve,Xt.domEventName,Jt))}static parseEventName(Ve){const ut=Ve.toLowerCase().split("."),At=ut.shift();if(0===ut.length||"keydown"!==At&&"keyup"!==At)return null;const Xt=it._normalizeKey(ut.pop());let Jt="";if(tt.forEach(Rn=>{const li=ut.indexOf(Rn);li>-1&&(ut.splice(li,1),Jt+=Rn+".")}),Jt+=Xt,0!=ut.length||0===Xt.length)return null;const fn={};return fn.domEventName=At,fn.fullKey=Jt,fn}static getEventFullKey(Ve){let ut="",At=function(it){let st=it.key;if(null==st){if(st=it.keyIdentifier,null==st)return"Unidentified";st.startsWith("U+")&&(st=String.fromCharCode(parseInt(st.substring(2),16)),3===it.location&&Dt.hasOwnProperty(st)&&(st=Dt[st]))}return pt[st]||st}(Ve);return At=At.toLowerCase()," "===At?At="space":"."===At&&(At="dot"),tt.forEach(Xt=>{Xt!=At&&Ie[Xt](Ve)&&(ut+=Xt+".")}),ut+=At,ut}static eventCallback(Ve,ut,At){return Xt=>{it.getEventFullKey(Xt)===Ve&&At.runGuarded(()=>ut(Xt))}}static _normalizeKey(Ve){return"esc"===Ve?"escape":Ve}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();function bt(){c.makeCurrent(),g.init()}const dt=[{provide:l.PLATFORM_ID,useValue:n.\u0275PLATFORM_BROWSER_ID},{provide:l.PLATFORM_INITIALIZER,useValue:bt,multi:!0},{provide:n.DOCUMENT,useFactory:function(){return(0,l.\u0275setDocument)(document),document},deps:[]}],Ne=(0,l.createPlatformFactory)(l.platformCore,"browser",dt),rt=[{provide:l.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:l.ErrorHandler,useFactory:function(){return new l.ErrorHandler},deps:[]},{provide:C,useClass:Ke,multi:!0,deps:[n.DOCUMENT,l.NgZone,l.PLATFORM_ID]},{provide:C,useClass:Qe,multi:!0,deps:[n.DOCUMENT]},{provide:ae,useClass:ae,deps:[P,T,l.APP_ID]},{provide:l.RendererFactory2,useExisting:ae},{provide:D,useExisting:T},{provide:T,useClass:T,deps:[n.DOCUMENT]},{provide:l.Testability,useClass:l.Testability,deps:[l.NgZone]},{provide:P,useClass:P,deps:[C,l.NgZone]},{provide:n.XhrFactory,useClass:s,deps:[]}];let ze=(()=>{class it{constructor(Ve){if(Ve)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(Ve){return{ngModule:it,providers:[{provide:l.APP_ID,useValue:Ve.appId},{provide:y,useExisting:l.APP_ID},h]}}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(it,12))},it.\u0275mod=l.\u0275\u0275defineNgModule({type:it}),it.\u0275inj=l.\u0275\u0275defineInjector({providers:rt,imports:[n.CommonModule,l.ApplicationModule]}),it})(),mt=(()=>{class it{constructor(Ve){this._doc=Ve,this._dom=(0,n.\u0275getDOM)()}addTag(Ve,ut=!1){return Ve?this._getOrCreateElement(Ve,ut):null}addTags(Ve,ut=!1){return Ve?Ve.reduce((At,Xt)=>(Xt&&At.push(this._getOrCreateElement(Xt,ut)),At),[]):[]}getTag(Ve){return Ve&&this._doc.querySelector(`meta[${Ve}]`)||null}getTags(Ve){if(!Ve)return[];const ut=this._doc.querySelectorAll(`meta[${Ve}]`);return ut?[].slice.call(ut):[]}updateTag(Ve,ut){if(!Ve)return null;ut=ut||this._parseSelector(Ve);const At=this.getTag(ut);return At?this._setMetaElementAttributes(Ve,At):this._getOrCreateElement(Ve,!0)}removeTag(Ve){this.removeTagElement(this.getTag(Ve))}removeTagElement(Ve){Ve&&this._dom.remove(Ve)}_getOrCreateElement(Ve,ut=!1){if(!ut){const Jt=this._parseSelector(Ve),fn=this.getTags(Jt).filter(Rn=>this._containsAttributes(Ve,Rn))[0];if(void 0!==fn)return fn}const At=this._dom.createElement("meta");return this._setMetaElementAttributes(Ve,At),this._doc.getElementsByTagName("head")[0].appendChild(At),At}_setMetaElementAttributes(Ve,ut){return Object.keys(Ve).forEach(At=>ut.setAttribute(this._getMetaKeyMap(At),Ve[At])),ut}_parseSelector(Ve){const ut=Ve.name?"name":"property";return`${ut}="${Ve[ut]}"`}_containsAttributes(Ve,ut){return Object.keys(Ve).every(At=>ut.getAttribute(this._getMetaKeyMap(At))===Ve[At])}_getMetaKeyMap(Ve){return _e[Ve]||Ve}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:function(Ve){let ut=null;return ut=Ve?new Ve:new mt((0,l.\u0275\u0275inject)(n.DOCUMENT)),ut},providedIn:"root"}),it})();const _e={httpEquiv:"http-equiv"};let j=(()=>{class it{constructor(Ve){this._doc=Ve}getTitle(){return this._doc.title}setTitle(Ve){this._doc.title=Ve||""}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:function(Ve){let ut=null;return ut=Ve?new Ve:new j((0,l.\u0275\u0275inject)(n.DOCUMENT)),ut},providedIn:"root"}),it})();function Ue(it,st){"undefined"!=typeof COMPILED&&COMPILED||((l.\u0275global.ng=l.\u0275global.ng||{})[it]=st)}const Oe="undefined"!=typeof window&&window||{};class ve{constructor(st,Ve){this.msPerTick=st,this.numTicks=Ve}}class Ae{constructor(st){this.appRef=st.injector.get(l.ApplicationRef)}timeChangeDetection(st){const Ve=st&&st.record,ut="Change Detection",At=null!=Oe.console.profile;Ve&&At&&Oe.console.profile(ut);const Xt=nt();let Jt=0;for(;Jt<5||nt()-Xt<500;)this.appRef.tick(),Jt++;const fn=nt();Ve&&At&&Oe.console.profileEnd(ut);const Rn=(fn-Xt)/Jt;return Oe.console.log(`ran ${Jt} change detection cycles`),Oe.console.log(`${Rn.toFixed(2)} ms per check`),new ve(Rn,Jt)}}function nt(){return Oe.performance&&Oe.performance.now?Oe.performance.now():(new Date).getTime()}const Pt="profiler";function Ft(it){return Ue(Pt,new Ae(it)),it}function gt(){Ue(Pt,null)}function Lt(it){const st={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return it.replace(/[&"'<>]/g,Ve=>st[Ve])}function _t(it){return it}let Mt=(()=>{class it{constructor(){this.store={},this.onSerializeCallbacks={}}static init(Ve){const ut=new it;return ut.store=Ve,ut}get(Ve,ut){return void 0!==this.store[Ve]?this.store[Ve]:ut}set(Ve,ut){this.store[Ve]=ut}remove(Ve){delete this.store[Ve]}hasKey(Ve){return this.store.hasOwnProperty(Ve)}onSerialize(Ve,ut){this.onSerializeCallbacks[Ve]=ut}toJson(){for(const Ve in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(Ve))try{this.store[Ve]=this.onSerializeCallbacks[Ve]()}catch(ut){console.warn("Exception in onSerialize callback: ",ut)}return JSON.stringify(this.store)}}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();function Ge(it,st){const Ve=it.getElementById(st+"-state");let ut={};if(Ve&&Ve.textContent)try{ut=JSON.parse(function(it){const st={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return it.replace(/&[^;]+;/g,Ve=>st[Ve])}(Ve.textContent))}catch(At){console.warn("Exception while restoring TransferState for app "+st,At)}return Mt.init(ut)}let lt=(()=>{class it{}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275mod=l.\u0275\u0275defineNgModule({type:it}),it.\u0275inj=l.\u0275\u0275defineInjector({providers:[{provide:Mt,useFactory:Ge,deps:[n.DOCUMENT,l.APP_ID]}]}),it})();class Ot{static all(){return()=>!0}static css(st){return Ve=>null!=Ve.nativeElement&&function(it,st){return!!(0,n.\u0275getDOM)().isElementNode(it)&&(it.matches&&it.matches(st)||it.msMatchesSelector&&it.msMatchesSelector(st)||it.webkitMatchesSelector&&it.webkitMatchesSelector(st))}(Ve.nativeElement,st)}static directive(st){return Ve=>-1!==Ve.providerTokens.indexOf(st)}}const Pe={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},Ee=new l.InjectionToken("HammerGestureConfig"),B=new l.InjectionToken("HammerLoader");let V=(()=>{class it{constructor(){this.events=[],this.overrides={}}buildHammer(Ve){const ut=new Hammer(Ve,this.options);ut.get("pinch").set({enable:!0}),ut.get("rotate").set({enable:!0});for(const At in this.overrides)ut.get(At).set(this.overrides[At]);return ut}}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})(),be=(()=>{class it extends w{constructor(Ve,ut,At,Xt){super(Ve),this._config=ut,this.console=At,this.loader=Xt,this._loaderPromise=null}supports(Ve){return!(!Pe.hasOwnProperty(Ve.toLowerCase())&&!this.isCustomEvent(Ve)||!window.Hammer&&!this.loader)}addEventListener(Ve,ut,At){const Xt=this.manager.getZone();if(ut=ut.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let Jt=!1,fn=()=>{Jt=!0};return this._loaderPromise.then(()=>{window.Hammer?Jt||(fn=this.addEventListener(Ve,ut,At)):fn=()=>{}}).catch(()=>{fn=()=>{}}),()=>{fn()}}return Xt.runOutsideAngular(()=>{const Jt=this._config.buildHammer(Ve),fn=function(Rn){Xt.runGuarded(function(){At(Rn)})};return Jt.on(ut,fn),()=>{Jt.off(ut,fn),"function"==typeof Jt.destroy&&Jt.destroy()}})}isCustomEvent(Ve){return this._config.events.indexOf(Ve)>-1}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT),l.\u0275\u0275inject(Ee),l.\u0275\u0275inject(l.\u0275Console),l.\u0275\u0275inject(B,8))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})(),je=(()=>{class it{}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275mod=l.\u0275\u0275defineNgModule({type:it}),it.\u0275inj=l.\u0275\u0275defineInjector({providers:[{provide:C,useClass:be,multi:!0,deps:[n.DOCUMENT,Ee,l.\u0275Console,[new l.Optional,B]]},{provide:Ee,useClass:V,deps:[]}]}),it})(),Ct=(()=>{class it{}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:function(Ve){let ut=null;return ut=Ve?new(Ve||it):l.\u0275\u0275inject($t),ut},providedIn:"root"}),it})(),$t=(()=>{class it extends Ct{constructor(Ve){super(),this._doc=Ve}sanitize(Ve,ut){if(null==ut)return null;switch(Ve){case l.SecurityContext.NONE:return ut;case l.SecurityContext.HTML:return(0,l.\u0275allowSanitizationBypassAndThrow)(ut,"HTML")?(0,l.\u0275unwrapSafeValue)(ut):(0,l.\u0275_sanitizeHtml)(this._doc,String(ut)).toString();case l.SecurityContext.STYLE:return(0,l.\u0275allowSanitizationBypassAndThrow)(ut,"Style")?(0,l.\u0275unwrapSafeValue)(ut):ut;case l.SecurityContext.SCRIPT:if((0,l.\u0275allowSanitizationBypassAndThrow)(ut,"Script"))return(0,l.\u0275unwrapSafeValue)(ut);throw new Error("unsafe value used in a script context");case l.SecurityContext.URL:return(0,l.\u0275getSanitizationBypassType)(ut),(0,l.\u0275allowSanitizationBypassAndThrow)(ut,"URL")?(0,l.\u0275unwrapSafeValue)(ut):(0,l.\u0275_sanitizeUrl)(String(ut));case l.SecurityContext.RESOURCE_URL:if((0,l.\u0275allowSanitizationBypassAndThrow)(ut,"ResourceURL"))return(0,l.\u0275unwrapSafeValue)(ut);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${Ve} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(Ve){return(0,l.\u0275bypassSanitizationTrustHtml)(Ve)}bypassSecurityTrustStyle(Ve){return(0,l.\u0275bypassSanitizationTrustStyle)(Ve)}bypassSecurityTrustScript(Ve){return(0,l.\u0275bypassSanitizationTrustScript)(Ve)}bypassSecurityTrustUrl(Ve){return(0,l.\u0275bypassSanitizationTrustUrl)(Ve)}bypassSecurityTrustResourceUrl(Ve){return(0,l.\u0275bypassSanitizationTrustResourceUrl)(Ve)}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:function(Ve){let ut=null;return ut=Ve?new Ve:function(it){return new $t(it.get(n.DOCUMENT))}(l.\u0275\u0275inject(l.Injector)),ut},providedIn:"root"}),it})();const vn=new l.Version("13.1.1")},4202:(he,A,o)=>{"use strict";o.r(A),o.d(A,{ActivatedRoute:()=>S,ActivatedRouteSnapshot:()=>Ye,ActivationEnd:()=>bt,ActivationStart:()=>ct,BaseRouteReuseStrategy:()=>gi,ChildActivationEnd:()=>Qe,ChildActivationStart:()=>Ie,ChildrenOutletContexts:()=>Li,DefaultUrlSerializer:()=>B,GuardsCheckEnd:()=>Ke,GuardsCheckStart:()=>Te,NavigationCancel:()=>ie,NavigationEnd:()=>U,NavigationError:()=>le,NavigationStart:()=>ae,NoPreloading:()=>_r,OutletContext:()=>Cr,PRIMARY_OUTLET:()=>xt,PreloadAllModules:()=>Ni,PreloadingStrategy:()=>hs,ROUTER_CONFIGURATION:()=>yr,ROUTER_INITIALIZER:()=>Qt,ROUTES:()=>xi,ResolveEnd:()=>ot,ResolveStart:()=>tt,RouteConfigLoadEnd:()=>Dt,RouteConfigLoadStart:()=>pt,RouteReuseStrategy:()=>ki,Router:()=>ln,RouterEvent:()=>oe,RouterLink:()=>hi,RouterLinkActive:()=>ei,RouterLinkWithHref:()=>Pn,RouterModule:()=>fs,RouterOutlet:()=>Er,RouterPreloader:()=>or,RouterState:()=>Xe,RouterStateSnapshot:()=>kt,RoutesRecognized:()=>Ce,Scroll:()=>Et,UrlHandlingStrategy:()=>Zr,UrlSegment:()=>lt,UrlSegmentGroup:()=>Ge,UrlSerializer:()=>Ee,UrlTree:()=>Mt,VERSION:()=>fi,convertToParamMap:()=>Ne,provideRoutes:()=>ms,\u0275EmptyOutletComponent:()=>Vi,\u0275ROUTER_PROVIDERS:()=>Ns,\u0275assignExtraOptionsToRouter:()=>R,\u0275flatten:()=>_});var n=o(5e3),l=o(5254),u=o(1086),c=o(591),r=o(6053),d=o(6498),m=o(4450),p=o(1961),y=o(8514),b=o(8896),h=o(1762),g=o(8929),s=o(4850),C=o(7545),P=o(2986),w=o(1059),D=o(2014),T=o(2198),Y=o(7221),$=o(1406),z=o(8127),G=o(7224),X=o(1709),Q=o(2868),q=o(2821),ue=o(4327),me=o(537),xe=o(9146),pe=o(9808);class oe{constructor(W,F){this.id=W,this.url=F}}class ae extends oe{constructor(W,F,ge="imperative",De=null){super(W,F),this.navigationTrigger=ge,this.restoredState=De}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class U extends oe{constructor(W,F,ge){super(W,F),this.urlAfterRedirects=ge}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ie extends oe{constructor(W,F,ge){super(W,F),this.reason=ge}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class le extends oe{constructor(W,F,ge){super(W,F),this.error=ge}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ce extends oe{constructor(W,F,ge,De){super(W,F),this.urlAfterRedirects=ge,this.state=De}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Te extends oe{constructor(W,F,ge,De){super(W,F),this.urlAfterRedirects=ge,this.state=De}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ke extends oe{constructor(W,F,ge,De,Fe){super(W,F),this.urlAfterRedirects=ge,this.state=De,this.shouldActivate=Fe}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class tt extends oe{constructor(W,F,ge,De){super(W,F),this.urlAfterRedirects=ge,this.state=De}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ot extends oe{constructor(W,F,ge,De){super(W,F),this.urlAfterRedirects=ge,this.state=De}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pt{constructor(W){this.route=W}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Dt{constructor(W){this.route=W}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ie{constructor(W){this.snapshot=W}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qe{constructor(W){this.snapshot=W}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ct{constructor(W){this.snapshot=W}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bt{constructor(W){this.snapshot=W}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Et{constructor(W,F,ge){this.routerEvent=W,this.position=F,this.anchor=ge}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const xt="primary";class dt{constructor(W){this.params=W||{}}has(W){return Object.prototype.hasOwnProperty.call(this.params,W)}get(W){if(this.has(W)){const F=this.params[W];return Array.isArray(F)?F[0]:F}return null}getAll(W){if(this.has(W)){const F=this.params[W];return Array.isArray(F)?F:[F]}return[]}get keys(){return Object.keys(this.params)}}function Ne(re){return new dt(re)}const rt="ngNavigationCancelingError";function ze(re){const W=Error("NavigationCancelingError: "+re);return W[rt]=!0,W}function mt(re,W,F){const ge=F.path.split("/");if(ge.length>re.length||"full"===F.pathMatch&&(W.hasChildren()||ge.lengthge[Fe]===De)}return re===W}function _(re){return Array.prototype.concat.apply([],re)}function x(re){return re.length>0?re[re.length-1]:null}function ce(re,W){for(const F in re)re.hasOwnProperty(F)&&W(re[F],F)}function Ue(re){return(0,n.\u0275isObservable)(re)?re:(0,n.\u0275isPromise)(re)?(0,l.D)(Promise.resolve(re)):(0,u.of)(re)}const ve={exact:function Ft(re,W,F){if(!Nt(re.segments,W.segments)||!_t(re.segments,W.segments,F)||re.numberOfChildren!==W.numberOfChildren)return!1;for(const ge in W.children)if(!re.children[ge]||!Ft(re.children[ge],W.children[ge],F))return!1;return!0},subset:Lt},Ae={exact:function(re,W){return Z(re,W)},subset:function(re,W){return Object.keys(W).length<=Object.keys(re).length&&Object.keys(W).every(F=>j(re[F],W[F]))},ignored:()=>!0};function nt(re,W,F){return ve[F.paths](re.root,W.root,F.matrixParams)&&Ae[F.queryParams](re.queryParams,W.queryParams)&&!("exact"===F.fragment&&re.fragment!==W.fragment)}function Lt(re,W,F){return $e(re,W,W.segments,F)}function $e(re,W,F,ge){if(re.segments.length>F.length){const De=re.segments.slice(0,F.length);return!(!Nt(De,F)||W.hasChildren()||!_t(De,F,ge))}if(re.segments.length===F.length){if(!Nt(re.segments,F)||!_t(re.segments,F,ge))return!1;for(const De in W.children)if(!re.children[De]||!Lt(re.children[De],W.children[De],ge))return!1;return!0}{const De=F.slice(0,re.segments.length),Fe=F.slice(re.segments.length);return!!(Nt(re.segments,De)&&_t(re.segments,De,ge)&&re.children[xt])&&$e(re.children[xt],W,Fe,ge)}}function _t(re,W,F){return W.every((ge,De)=>Ae[F](re[De].parameters,ge.parameters))}class Mt{constructor(W,F,ge){this.root=W,this.queryParams=F,this.fragment=ge}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ne(this.queryParams)),this._queryParamMap}toString(){return V.serialize(this)}}class Ge{constructor(W,F){this.segments=W,this.children=F,this.parent=null,ce(F,(ge,De)=>ge.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return be(this)}}class lt{constructor(W,F){this.path=W,this.parameters=F}get parameterMap(){return this._parameterMap||(this._parameterMap=Ne(this.parameters)),this._parameterMap}toString(){return Ve(this)}}function Nt(re,W){return re.length===W.length&&re.every((F,ge)=>F.path===W[ge].path)}class Ee{}class B{parse(W){const F=new pi(W);return new Mt(F.parseRootSegment(),F.parseQueryParams(),F.parseFragment())}serialize(W){const F=`/${je(W.root,!0)}`,ge=function(re){const W=Object.keys(re).map(F=>{const ge=re[F];return Array.isArray(ge)?ge.map(De=>`${Ht(F)}=${Ht(De)}`).join("&"):`${Ht(F)}=${Ht(ge)}`}).filter(F=>!!F);return W.length?`?${W.join("&")}`:""}(W.queryParams);var re;return`${F}${ge}${"string"==typeof W.fragment?`#${re=W.fragment,encodeURI(re)}`:""}`}}const V=new B;function be(re){return re.segments.map(W=>Ve(W)).join("/")}function je(re,W){if(!re.hasChildren())return be(re);if(W){const F=re.children[xt]?je(re.children[xt],!1):"",ge=[];return ce(re.children,(De,Fe)=>{Fe!==xt&&ge.push(`${Fe}:${je(De,!1)}`)}),ge.length>0?`${F}(${ge.join("//")})`:F}{const F=function(re,W){let F=[];return ce(re.children,(ge,De)=>{De===xt&&(F=F.concat(W(ge,De)))}),ce(re.children,(ge,De)=>{De!==xt&&(F=F.concat(W(ge,De)))}),F}(re,(ge,De)=>De===xt?[je(re.children[xt],!1)]:[`${De}:${je(ge,!1)}`]);return 1===Object.keys(re.children).length&&null!=re.children[xt]?`${be(re)}/${F[0]}`:`${be(re)}/(${F.join("//")})`}}function Ct(re){return encodeURIComponent(re).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ht(re){return Ct(re).replace(/%3B/gi,";")}function vn(re){return Ct(re).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function it(re){return decodeURIComponent(re)}function st(re){return it(re.replace(/\+/g,"%20"))}function Ve(re){return`${vn(re.path)}${function(re){return Object.keys(re).map(W=>`;${vn(W)}=${vn(re[W])}`).join("")}(re.parameters)}`}const Xt=/^[^\/()?;=#]+/;function Jt(re){const W=re.match(Xt);return W?W[0]:""}const fn=/^[^=?&#]+/,li=/^[^&#]+/;class pi{constructor(W){this.url=W,this.remaining=W}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ge([],{}):new Ge([],this.parseChildren())}parseQueryParams(){const W={};if(this.consumeOptional("?"))do{this.parseQueryParam(W)}while(this.consumeOptional("&"));return W}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const W=[];for(this.peekStartsWith("(")||W.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),W.push(this.parseSegment());let F={};this.peekStartsWith("/(")&&(this.capture("/"),F=this.parseParens(!0));let ge={};return this.peekStartsWith("(")&&(ge=this.parseParens(!1)),(W.length>0||Object.keys(F).length>0)&&(ge[xt]=new Ge(W,F)),ge}parseSegment(){const W=Jt(this.remaining);if(""===W&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(W),new lt(it(W),this.parseMatrixParams())}parseMatrixParams(){const W={};for(;this.consumeOptional(";");)this.parseParam(W);return W}parseParam(W){const F=Jt(this.remaining);if(!F)return;this.capture(F);let ge="";if(this.consumeOptional("=")){const De=Jt(this.remaining);De&&(ge=De,this.capture(ge))}W[it(F)]=it(ge)}parseQueryParam(W){const F=function(re){const W=re.match(fn);return W?W[0]:""}(this.remaining);if(!F)return;this.capture(F);let ge="";if(this.consumeOptional("=")){const et=function(re){const W=re.match(li);return W?W[0]:""}(this.remaining);et&&(ge=et,this.capture(ge))}const De=st(F),Fe=st(ge);if(W.hasOwnProperty(De)){let et=W[De];Array.isArray(et)||(et=[et],W[De]=et),et.push(Fe)}else W[De]=Fe}parseParens(W){const F={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const ge=Jt(this.remaining),De=this.remaining[ge.length];if("/"!==De&&")"!==De&&";"!==De)throw new Error(`Cannot parse url '${this.url}'`);let Fe;ge.indexOf(":")>-1?(Fe=ge.substr(0,ge.indexOf(":")),this.capture(Fe),this.capture(":")):W&&(Fe=xt);const et=this.parseChildren();F[Fe]=1===Object.keys(et).length?et[xt]:new Ge([],et),this.consumeOptional("//")}return F}peekStartsWith(W){return this.remaining.startsWith(W)}consumeOptional(W){return!!this.peekStartsWith(W)&&(this.remaining=this.remaining.substring(W.length),!0)}capture(W){if(!this.consumeOptional(W))throw new Error(`Expected "${W}".`)}}class Jn{constructor(W){this._root=W}get root(){return this._root.value}parent(W){const F=this.pathFromRoot(W);return F.length>1?F[F.length-2]:null}children(W){const F=Ln(W,this._root);return F?F.children.map(ge=>ge.value):[]}firstChild(W){const F=Ln(W,this._root);return F&&F.children.length>0?F.children[0].value:null}siblings(W){const F=ri(W,this._root);return F.length<2?[]:F[F.length-2].children.map(De=>De.value).filter(De=>De!==W)}pathFromRoot(W){return ri(W,this._root).map(F=>F.value)}}function Ln(re,W){if(re===W.value)return W;for(const F of W.children){const ge=Ln(re,F);if(ge)return ge}return null}function ri(re,W){if(re===W.value)return[W];for(const F of W.children){const ge=ri(re,F);if(ge.length)return ge.unshift(W),ge}return[]}class jn{constructor(W,F){this.value=W,this.children=F}toString(){return`TreeNode(${this.value})`}}function Se(re){const W={};return re&&re.children.forEach(F=>W[F.value.outlet]=F),W}class Xe extends Jn{constructor(W,F){super(W),this.snapshot=F,It(this,W)}toString(){return this.snapshot.toString()}}function J(re,W){const F=function(re,W){const et=new Ye([],{},{},"",{},xt,W,null,re.root,-1,{});return new kt("",new jn(et,[]))}(re,W),ge=new c.X([new lt("",{})]),De=new c.X({}),Fe=new c.X({}),et=new c.X({}),ft=new c.X(""),Ut=new S(ge,De,et,ft,Fe,xt,W,F.root);return Ut.snapshot=F.root,new Xe(new jn(Ut,[]),F)}class S{constructor(W,F,ge,De,Fe,et,ft,Ut){this.url=W,this.params=F,this.queryParams=ge,this.fragment=De,this.data=Fe,this.outlet=et,this.component=ft,this._futureSnapshot=Ut}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,s.U)(W=>Ne(W)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,s.U)(W=>Ne(W)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function te(re,W="emptyOnly"){const F=re.pathFromRoot;let ge=0;if("always"!==W)for(ge=F.length-1;ge>=1;){const De=F[ge],Fe=F[ge-1];if(De.routeConfig&&""===De.routeConfig.path)ge--;else{if(Fe.component)break;ge--}}return function(re){return re.reduce((W,F)=>({params:Object.assign(Object.assign({},W.params),F.params),data:Object.assign(Object.assign({},W.data),F.data),resolve:Object.assign(Object.assign({},W.resolve),F._resolvedData)}),{params:{},data:{},resolve:{}})}(F.slice(ge))}class Ye{constructor(W,F,ge,De,Fe,et,ft,Ut,sn,$n,cn){this.url=W,this.params=F,this.queryParams=ge,this.fragment=De,this.data=Fe,this.outlet=et,this.component=ft,this.routeConfig=Ut,this._urlSegment=sn,this._lastPathIndex=$n,this._resolve=cn}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=Ne(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ne(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(ge=>ge.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class kt extends Jn{constructor(W,F){super(F),this.url=W,It(this,F)}toString(){return Rt(this._root)}}function It(re,W){W.value._routerState=re,W.children.forEach(F=>It(re,F))}function Rt(re){const W=re.children.length>0?` { ${re.children.map(Rt).join(", ")} } `:"";return`${re.value}${W}`}function Yt(re){if(re.snapshot){const W=re.snapshot,F=re._futureSnapshot;re.snapshot=F,Z(W.queryParams,F.queryParams)||re.queryParams.next(F.queryParams),W.fragment!==F.fragment&&re.fragment.next(F.fragment),Z(W.params,F.params)||re.params.next(F.params),function(re,W){if(re.length!==W.length)return!1;for(let F=0;FZ(F.parameters,W[ge].parameters))}(re.url,W.url);return F&&!(!re.parent!=!W.parent)&&(!re.parent||Zt(re.parent,W.parent))}function Tn(re,W,F){if(F&&re.shouldReuseRoute(W.value,F.value.snapshot)){const ge=F.value;ge._futureSnapshot=W.value;const De=function(re,W,F){return W.children.map(ge=>{for(const De of F.children)if(re.shouldReuseRoute(ge.value,De.value.snapshot))return Tn(re,ge,De);return Tn(re,ge)})}(re,W,F);return new jn(ge,De)}{if(re.shouldAttach(W.value)){const Fe=re.retrieve(W.value);if(null!==Fe){const et=Fe.route;return et.value._futureSnapshot=W.value,et.children=W.children.map(ft=>Tn(re,ft)),et}}const ge=function(re){return new S(new c.X(re.url),new c.X(re.params),new c.X(re.queryParams),new c.X(re.fragment),new c.X(re.data),re.outlet,re.component,re)}(W.value),De=W.children.map(Fe=>Tn(re,Fe));return new jn(ge,De)}}function kn(re){return"object"==typeof re&&null!=re&&!re.outlets&&!re.segmentPath}function bn(re){return"object"==typeof re&&null!=re&&re.outlets}function ui(re,W,F,ge,De){let Fe={};return ge&&ce(ge,(et,ft)=>{Fe[ft]=Array.isArray(et)?et.map(Ut=>`${Ut}`):`${et}`}),new Mt(F.root===re?W:Oi(F.root,re,W),Fe,De)}function Oi(re,W,F){const ge={};return ce(re.children,(De,Fe)=>{ge[Fe]=De===W?F:Oi(De,W,F)}),new Ge(re.segments,ge)}class ci{constructor(W,F,ge){if(this.isAbsolute=W,this.numberOfDoubleDots=F,this.commands=ge,W&&ge.length>0&&kn(ge[0]))throw new Error("Root segment cannot have matrix parameters");const De=ge.find(bn);if(De&&De!==x(ge))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ri{constructor(W,F,ge){this.segmentGroup=W,this.processChildren=F,this.index=ge}}function mn(re,W,F){if(re||(re=new Ge([],{})),0===re.segments.length&&re.hasChildren())return Qi(re,W,F);const ge=function(re,W,F){let ge=0,De=W;const Fe={match:!1,pathIndex:0,commandIndex:0};for(;De=F.length)return Fe;const et=re.segments[De],ft=F[ge];if(bn(ft))break;const Ut=`${ft}`,sn=ge0&&void 0===Ut)break;if(Ut&&sn&&"object"==typeof sn&&void 0===sn.outlets){if(!ir(Ut,sn,et))return Fe;ge+=2}else{if(!ir(Ut,{},et))return Fe;ge++}De++}return{match:!0,pathIndex:De,commandIndex:ge}}(re,W,F),De=F.slice(ge.commandIndex);if(ge.match&&ge.pathIndex{"string"==typeof Fe&&(Fe=[Fe]),null!==Fe&&(De[et]=mn(re.children[et],W,Fe))}),ce(re.children,(Fe,et)=>{void 0===ge[et]&&(De[et]=Fe)}),new Ge(re.segments,De)}}function xn(re,W,F){const ge=re.segments.slice(0,W);let De=0;for(;De{"string"==typeof F&&(F=[F]),null!==F&&(W[ge]=xn(new Ge([],{}),0,F))}),W}function wi(re){const W={};return ce(re,(F,ge)=>W[ge]=`${F}`),W}function ir(re,W,F){return re==F.path&&Z(W,F.parameters)}class nn{constructor(W,F,ge,De){this.routeReuseStrategy=W,this.futureState=F,this.currState=ge,this.forwardEvent=De}activate(W){const F=this.futureState._root,ge=this.currState?this.currState._root:null;this.deactivateChildRoutes(F,ge,W),Yt(this.futureState.root),this.activateChildRoutes(F,ge,W)}deactivateChildRoutes(W,F,ge){const De=Se(F);W.children.forEach(Fe=>{const et=Fe.value.outlet;this.deactivateRoutes(Fe,De[et],ge),delete De[et]}),ce(De,(Fe,et)=>{this.deactivateRouteAndItsChildren(Fe,ge)})}deactivateRoutes(W,F,ge){const De=W.value,Fe=F?F.value:null;if(De===Fe)if(De.component){const et=ge.getContext(De.outlet);et&&this.deactivateChildRoutes(W,F,et.children)}else this.deactivateChildRoutes(W,F,ge);else Fe&&this.deactivateRouteAndItsChildren(F,ge)}deactivateRouteAndItsChildren(W,F){W.value.component&&this.routeReuseStrategy.shouldDetach(W.value.snapshot)?this.detachAndStoreRouteSubtree(W,F):this.deactivateRouteAndOutlet(W,F)}detachAndStoreRouteSubtree(W,F){const ge=F.getContext(W.value.outlet),De=ge&&W.value.component?ge.children:F,Fe=Se(W);for(const et of Object.keys(Fe))this.deactivateRouteAndItsChildren(Fe[et],De);if(ge&&ge.outlet){const et=ge.outlet.detach(),ft=ge.children.onOutletDeactivated();this.routeReuseStrategy.store(W.value.snapshot,{componentRef:et,route:W,contexts:ft})}}deactivateRouteAndOutlet(W,F){const ge=F.getContext(W.value.outlet),De=ge&&W.value.component?ge.children:F,Fe=Se(W);for(const et of Object.keys(Fe))this.deactivateRouteAndItsChildren(Fe[et],De);ge&&ge.outlet&&(ge.outlet.deactivate(),ge.children.onOutletDeactivated(),ge.attachRef=null,ge.resolver=null,ge.route=null)}activateChildRoutes(W,F,ge){const De=Se(F);W.children.forEach(Fe=>{this.activateRoutes(Fe,De[Fe.value.outlet],ge),this.forwardEvent(new bt(Fe.value.snapshot))}),W.children.length&&this.forwardEvent(new Qe(W.value.snapshot))}activateRoutes(W,F,ge){const De=W.value,Fe=F?F.value:null;if(Yt(De),De===Fe)if(De.component){const et=ge.getOrCreateContext(De.outlet);this.activateChildRoutes(W,F,et.children)}else this.activateChildRoutes(W,F,ge);else if(De.component){const et=ge.getOrCreateContext(De.outlet);if(this.routeReuseStrategy.shouldAttach(De.snapshot)){const ft=this.routeReuseStrategy.retrieve(De.snapshot);this.routeReuseStrategy.store(De.snapshot,null),et.children.onOutletReAttached(ft.contexts),et.attachRef=ft.componentRef,et.route=ft.route.value,et.outlet&&et.outlet.attach(ft.componentRef,ft.route.value),Yt(ft.route.value),this.activateChildRoutes(W,null,et.children)}else{const ft=function(re){for(let W=re.parent;W;W=W.parent){const F=W.routeConfig;if(F&&F._loadedConfig)return F._loadedConfig;if(F&&F.component)return null}return null}(De.snapshot),Ut=ft?ft.module.componentFactoryResolver:null;et.attachRef=null,et.route=De,et.resolver=Ut,et.outlet&&et.outlet.activateWith(De,Ut),this.activateChildRoutes(W,null,et.children)}}else this.activateChildRoutes(W,null,ge)}}class gn{constructor(W,F){this.routes=W,this.module=F}}function Sn(re){return"function"==typeof re}function mi(re){return re instanceof Mt}const Ki=Symbol("INITIAL_VALUE");function Di(){return(0,C.w)(re=>(0,r.aj)(re.map(W=>W.pipe((0,P.q)(1),(0,w.O)(Ki)))).pipe((0,D.R)((W,F)=>{let ge=!1;return F.reduce((De,Fe,et)=>De!==Ki?De:(Fe===Ki&&(ge=!0),ge||!1!==Fe&&et!==F.length-1&&!mi(Fe)?De:Fe),W)},Ki),(0,T.h)(W=>W!==Ki),(0,s.U)(W=>mi(W)?W:!0===W),(0,P.q)(1)))}class Cr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Li,this.attachRef=null}}class Li{constructor(){this.contexts=new Map}onChildOutletCreated(W,F){const ge=this.getOrCreateContext(W);ge.outlet=F,this.contexts.set(W,ge)}onChildOutletDestroyed(W){const F=this.getContext(W);F&&(F.outlet=null,F.attachRef=null)}onOutletDeactivated(){const W=this.contexts;return this.contexts=new Map,W}onOutletReAttached(W){this.contexts=W}getOrCreateContext(W){let F=this.getContext(W);return F||(F=new Cr,this.contexts.set(W,F)),F}getContext(W){return this.contexts.get(W)||null}}let Er=(()=>{class re{constructor(F,ge,De,Fe,et){this.parentContexts=F,this.location=ge,this.resolver=De,this.changeDetector=et,this.activated=null,this._activatedRoute=null,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.name=Fe||xt,F.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const F=this.parentContexts.getContext(this.name);F&&F.route&&(F.attachRef?this.attach(F.attachRef,F.route):this.activateWith(F.route,F.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const F=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(F.instance),F}attach(F,ge){this.activated=F,this._activatedRoute=ge,this.location.insert(F.hostView),this.attachEvents.emit(F.instance)}deactivate(){if(this.activated){const F=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(F)}}activateWith(F,ge){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=F;const et=(ge=ge||this.resolver).resolveComponentFactory(F._futureSnapshot.routeConfig.component),ft=this.parentContexts.getOrCreateContext(this.name).children,Ut=new Si(F,ft,this.location.injector);this.activated=this.location.createComponent(et,this.location.length,Ut),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275directiveInject(Li),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},re.\u0275dir=n.\u0275\u0275defineDirective({type:re,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),re})();class Si{constructor(W,F,ge){this.route=W,this.childContexts=F,this.parent=ge}get(W,F){return W===S?this.route:W===Li?this.childContexts:this.parent.get(W,F)}}let Vi=(()=>{class re{}return re.\u0275fac=function(F){return new(F||re)},re.\u0275cmp=n.\u0275\u0275defineComponent({type:re,selectors:[["ng-component"]],decls:1,vars:0,template:function(F,ge){1&F&&n.\u0275\u0275element(0,"router-outlet")},directives:[Er],encapsulation:2}),re})();function Gi(re,W=""){for(let F=0;Fdi(ge)===W);return F.push(...re.filter(ge=>di(ge)!==W)),F}const qi={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function $i(re,W,F){var ge;if(""===W.path)return"full"===W.pathMatch&&(re.hasChildren()||F.length>0)?Object.assign({},qi):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const Fe=(W.matcher||mt)(F,re,W);if(!Fe)return Object.assign({},qi);const et={};ce(Fe.posParams,(Ut,sn)=>{et[sn]=Ut.path});const ft=Fe.consumed.length>0?Object.assign(Object.assign({},et),Fe.consumed[Fe.consumed.length-1].parameters):et;return{matched:!0,consumedSegments:Fe.consumed,lastChild:Fe.consumed.length,parameters:ft,positionalParamSegments:null!==(ge=Fe.posParams)&&void 0!==ge?ge:{}}}function Xi(re,W,F,ge,De="corrected"){if(F.length>0&&function(re,W,F){return F.some(ge=>Mr(re,W,ge)&&di(ge)!==xt)}(re,F,ge)){const et=new Ge(W,function(re,W,F,ge){const De={};De[xt]=ge,ge._sourceSegment=re,ge._segmentIndexShift=W.length;for(const Fe of F)if(""===Fe.path&&di(Fe)!==xt){const et=new Ge([],{});et._sourceSegment=re,et._segmentIndexShift=W.length,De[di(Fe)]=et}return De}(re,W,ge,new Ge(F,re.children)));return et._sourceSegment=re,et._segmentIndexShift=W.length,{segmentGroup:et,slicedSegments:[]}}if(0===F.length&&function(re,W,F){return F.some(ge=>Mr(re,W,ge))}(re,F,ge)){const et=new Ge(re.segments,function(re,W,F,ge,De,Fe){const et={};for(const ft of ge)if(Mr(re,F,ft)&&!De[di(ft)]){const Ut=new Ge([],{});Ut._sourceSegment=re,Ut._segmentIndexShift="legacy"===Fe?re.segments.length:W.length,et[di(ft)]=Ut}return Object.assign(Object.assign({},De),et)}(re,W,F,ge,re.children,De));return et._sourceSegment=re,et._segmentIndexShift=W.length,{segmentGroup:et,slicedSegments:F}}const Fe=new Ge(re.segments,re.children);return Fe._sourceSegment=re,Fe._segmentIndexShift=W.length,{segmentGroup:Fe,slicedSegments:F}}function Mr(re,W,F){return(!(re.hasChildren()||W.length>0)||"full"!==F.pathMatch)&&""===F.path}function Yi(re,W,F,ge){return!!(di(re)===ge||ge!==xt&&Mr(W,F,re))&&("**"===re.path||$i(W,re,F).matched)}function Vr(re,W,F){return 0===W.length&&!re.children[F]}class Wn{constructor(W){this.segmentGroup=W||null}}class Dr{constructor(W){this.urlTree=W}}function hr(re){return new d.y(W=>W.error(new Wn(re)))}function fe(re){return new d.y(W=>W.error(new Dr(re)))}function k(re){return new d.y(W=>W.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${re}'`)))}class de{constructor(W,F,ge,De,Fe){this.configLoader=F,this.urlSerializer=ge,this.urlTree=De,this.config=Fe,this.allowRedirects=!0,this.ngModule=W.get(n.NgModuleRef)}apply(){const W=Xi(this.urlTree.root,[],[],this.config).segmentGroup,F=new Ge(W.segments,W.children);return this.expandSegmentGroup(this.ngModule,this.config,F,xt).pipe((0,s.U)(Fe=>this.createUrlTree(wt(Fe),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Y.K)(Fe=>{if(Fe instanceof Dr)return this.allowRedirects=!1,this.match(Fe.urlTree);throw Fe instanceof Wn?this.noMatchError(Fe):Fe}))}match(W){return this.expandSegmentGroup(this.ngModule,this.config,W.root,xt).pipe((0,s.U)(De=>this.createUrlTree(wt(De),W.queryParams,W.fragment))).pipe((0,Y.K)(De=>{throw De instanceof Wn?this.noMatchError(De):De}))}noMatchError(W){return new Error(`Cannot match any routes. URL Segment: '${W.segmentGroup}'`)}createUrlTree(W,F,ge){const De=W.segments.length>0?new Ge([],{[xt]:W}):W;return new Mt(De,F,ge)}expandSegmentGroup(W,F,ge,De){return 0===ge.segments.length&&ge.hasChildren()?this.expandChildren(W,F,ge).pipe((0,s.U)(Fe=>new Ge([],Fe))):this.expandSegment(W,ge,F,ge.segments,De,!0)}expandChildren(W,F,ge){const De=[];for(const Fe of Object.keys(ge.children))"primary"===Fe?De.unshift(Fe):De.push(Fe);return(0,l.D)(De).pipe((0,$.b)(Fe=>{const et=ge.children[Fe],ft=dr(F,Fe);return this.expandSegmentGroup(W,ft,et,Fe).pipe((0,s.U)(Ut=>({segment:Ut,outlet:Fe})))}),(0,D.R)((Fe,et)=>(Fe[et.outlet]=et.segment,Fe),{}),(0,z.Z)())}expandSegment(W,F,ge,De,Fe,et){return(0,l.D)(ge).pipe((0,$.b)(ft=>this.expandSegmentAgainstRoute(W,F,ge,ft,De,Fe,et).pipe((0,Y.K)(sn=>{if(sn instanceof Wn)return(0,u.of)(null);throw sn}))),(0,G.P)(ft=>!!ft),(0,Y.K)((ft,Ut)=>{if(ft instanceof m.K||"EmptyError"===ft.name){if(Vr(F,De,Fe))return(0,u.of)(new Ge([],{}));throw new Wn(F)}throw ft}))}expandSegmentAgainstRoute(W,F,ge,De,Fe,et,ft){return Yi(De,F,Fe,et)?void 0===De.redirectTo?this.matchSegmentAgainstRoute(W,F,De,Fe,et):ft&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(W,F,ge,De,Fe,et):hr(F):hr(F)}expandSegmentAgainstRouteUsingRedirect(W,F,ge,De,Fe,et){return"**"===De.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(W,ge,De,et):this.expandRegularSegmentAgainstRouteUsingRedirect(W,F,ge,De,Fe,et)}expandWildCardWithParamsAgainstRouteUsingRedirect(W,F,ge,De){const Fe=this.applyRedirectCommands([],ge.redirectTo,{});return ge.redirectTo.startsWith("/")?fe(Fe):this.lineralizeSegments(ge,Fe).pipe((0,X.zg)(et=>{const ft=new Ge(et,{});return this.expandSegment(W,ft,F,et,De,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(W,F,ge,De,Fe,et){const{matched:ft,consumedSegments:Ut,lastChild:sn,positionalParamSegments:$n}=$i(F,De,Fe);if(!ft)return hr(F);const cn=this.applyRedirectCommands(Ut,De.redirectTo,$n);return De.redirectTo.startsWith("/")?fe(cn):this.lineralizeSegments(De,cn).pipe((0,X.zg)(qn=>this.expandSegment(W,F,ge,qn.concat(Fe.slice(sn)),et,!1)))}matchSegmentAgainstRoute(W,F,ge,De,Fe){if("**"===ge.path)return ge.loadChildren?(ge._loadedConfig?(0,u.of)(ge._loadedConfig):this.configLoader.load(W.injector,ge)).pipe((0,s.U)(qn=>(ge._loadedConfig=qn,new Ge(De,{})))):(0,u.of)(new Ge(De,{}));const{matched:et,consumedSegments:ft,lastChild:Ut}=$i(F,ge,De);if(!et)return hr(F);const sn=De.slice(Ut);return this.getChildConfig(W,ge,De).pipe((0,X.zg)(cn=>{const qn=cn.module,Zn=cn.routes,{segmentGroup:es,slicedSegments:vr}=Xi(F,ft,sn,Zn),Wr=new Ge(es.segments,es.children);if(0===vr.length&&Wr.hasChildren())return this.expandChildren(qn,Zn,Wr).pipe((0,s.U)(gs=>new Ge(ft,gs)));if(0===Zn.length&&0===vr.length)return(0,u.of)(new Ge(ft,{}));const Kr=di(ge)===Fe;return this.expandSegment(qn,Wr,Zn,vr,Kr?xt:Fe,!0).pipe((0,s.U)(Pr=>new Ge(ft.concat(Pr.segments),Pr.children)))}))}getChildConfig(W,F,ge){return F.children?(0,u.of)(new gn(F.children,W)):F.loadChildren?void 0!==F._loadedConfig?(0,u.of)(F._loadedConfig):this.runCanLoadGuards(W.injector,F,ge).pipe((0,X.zg)(De=>{return De?this.configLoader.load(W.injector,F).pipe((0,s.U)(Fe=>(F._loadedConfig=Fe,Fe))):(re=F,new d.y(W=>W.error(ze(`Cannot load children because the guard of the route "path: '${re.path}'" returned false`))));var re})):(0,u.of)(new gn([],W))}runCanLoadGuards(W,F,ge){const De=F.canLoad;if(!De||0===De.length)return(0,u.of)(!0);const Fe=De.map(et=>{const ft=W.get(et);let Ut;if((re=ft)&&Sn(re.canLoad))Ut=ft.canLoad(F,ge);else{if(!Sn(ft))throw new Error("Invalid CanLoad guard");Ut=ft(F,ge)}var re;return Ue(Ut)});return(0,u.of)(Fe).pipe(Di(),(0,Q.b)(et=>{if(!mi(et))return;const ft=ze(`Redirecting to "${this.urlSerializer.serialize(et)}"`);throw ft.url=et,ft}),(0,s.U)(et=>!0===et))}lineralizeSegments(W,F){let ge=[],De=F.root;for(;;){if(ge=ge.concat(De.segments),0===De.numberOfChildren)return(0,u.of)(ge);if(De.numberOfChildren>1||!De.children[xt])return k(W.redirectTo);De=De.children[xt]}}applyRedirectCommands(W,F,ge){return this.applyRedirectCreatreUrlTree(F,this.urlSerializer.parse(F),W,ge)}applyRedirectCreatreUrlTree(W,F,ge,De){const Fe=this.createSegmentGroup(W,F.root,ge,De);return new Mt(Fe,this.createQueryParams(F.queryParams,this.urlTree.queryParams),F.fragment)}createQueryParams(W,F){const ge={};return ce(W,(De,Fe)=>{if("string"==typeof De&&De.startsWith(":")){const ft=De.substring(1);ge[Fe]=F[ft]}else ge[Fe]=De}),ge}createSegmentGroup(W,F,ge,De){const Fe=this.createSegments(W,F.segments,ge,De);let et={};return ce(F.children,(ft,Ut)=>{et[Ut]=this.createSegmentGroup(W,ft,ge,De)}),new Ge(Fe,et)}createSegments(W,F,ge,De){return F.map(Fe=>Fe.path.startsWith(":")?this.findPosParam(W,Fe,De):this.findOrReturn(Fe,ge))}findPosParam(W,F,ge){const De=ge[F.path.substring(1)];if(!De)throw new Error(`Cannot redirect to '${W}'. Cannot find '${F.path}'.`);return De}findOrReturn(W,F){let ge=0;for(const De of F){if(De.path===W.path)return F.splice(ge),De;ge++}return W}}function wt(re){const W={};for(const ge of Object.keys(re.children)){const Fe=wt(re.children[ge]);(Fe.segments.length>0||Fe.hasChildren())&&(W[ge]=Fe)}return function(re){if(1===re.numberOfChildren&&re.children[xt]){const W=re.children[xt];return new Ge(re.segments.concat(W.segments),W.children)}return re}(new Ge(re.segments,W))}class hn{constructor(W){this.path=W,this.route=this.path[this.path.length-1]}}class Nn{constructor(W,F){this.component=W,this.route=F}}function Hn(re,W,F){const ge=re._root;return ii(ge,W?W._root:null,F,[ge.value])}function Yn(re,W,F){const ge=function(re){if(!re)return null;for(let W=re.parent;W;W=W.parent){const F=W.routeConfig;if(F&&F._loadedConfig)return F._loadedConfig}return null}(W);return(ge?ge.module.injector:F).get(re)}function ii(re,W,F,ge,De={canDeactivateChecks:[],canActivateChecks:[]}){const Fe=Se(W);return re.children.forEach(et=>{(function(re,W,F,ge,De={canDeactivateChecks:[],canActivateChecks:[]}){const Fe=re.value,et=W?W.value:null,ft=F?F.getContext(re.value.outlet):null;if(et&&Fe.routeConfig===et.routeConfig){const Ut=function(re,W,F){if("function"==typeof F)return F(re,W);switch(F){case"pathParamsChange":return!Nt(re.url,W.url);case"pathParamsOrQueryParamsChange":return!Nt(re.url,W.url)||!Z(re.queryParams,W.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zt(re,W)||!Z(re.queryParams,W.queryParams);default:return!Zt(re,W)}}(et,Fe,Fe.routeConfig.runGuardsAndResolvers);Ut?De.canActivateChecks.push(new hn(ge)):(Fe.data=et.data,Fe._resolvedData=et._resolvedData),ii(re,W,Fe.component?ft?ft.children:null:F,ge,De),Ut&&ft&&ft.outlet&&ft.outlet.isActivated&&De.canDeactivateChecks.push(new Nn(ft.outlet.component,et))}else et&&ji(W,ft,De),De.canActivateChecks.push(new hn(ge)),ii(re,null,Fe.component?ft?ft.children:null:F,ge,De)})(et,Fe[et.value.outlet],F,ge.concat([et.value]),De),delete Fe[et.value.outlet]}),ce(Fe,(et,ft)=>ji(et,F.getContext(ft),De)),De}function ji(re,W,F){const ge=Se(re),De=re.value;ce(ge,(Fe,et)=>{ji(Fe,De.component?W?W.children.getContext(et):null:W,F)}),F.canDeactivateChecks.push(new Nn(De.component&&W&&W.outlet&&W.outlet.isActivated?W.outlet.component:null,De))}class ne{}function we(re){return new d.y(W=>W.error(re))}class Je{constructor(W,F,ge,De,Fe,et){this.rootComponentType=W,this.config=F,this.urlTree=ge,this.url=De,this.paramsInheritanceStrategy=Fe,this.relativeLinkResolution=et}recognize(){const W=Xi(this.urlTree.root,[],[],this.config.filter(et=>void 0===et.redirectTo),this.relativeLinkResolution).segmentGroup,F=this.processSegmentGroup(this.config,W,xt);if(null===F)return null;const ge=new Ye([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},xt,this.rootComponentType,null,this.urlTree.root,-1,{}),De=new jn(ge,F),Fe=new kt(this.url,De);return this.inheritParamsAndData(Fe._root),Fe}inheritParamsAndData(W){const F=W.value,ge=te(F,this.paramsInheritanceStrategy);F.params=Object.freeze(ge.params),F.data=Object.freeze(ge.data),W.children.forEach(De=>this.inheritParamsAndData(De))}processSegmentGroup(W,F,ge){return 0===F.segments.length&&F.hasChildren()?this.processChildren(W,F):this.processSegment(W,F,F.segments,ge)}processChildren(W,F){const ge=[];for(const Fe of Object.keys(F.children)){const et=F.children[Fe],ft=dr(W,Fe),Ut=this.processSegmentGroup(ft,et,Fe);if(null===Ut)return null;ge.push(...Ut)}const De=Gt(ge);return De.sort((W,F)=>W.value.outlet===xt?-1:F.value.outlet===xt?1:W.value.outlet.localeCompare(F.value.outlet)),De}processSegment(W,F,ge,De){for(const Fe of W){const et=this.processSegmentAgainstRoute(Fe,F,ge,De);if(null!==et)return et}return Vr(F,ge,De)?[]:null}processSegmentAgainstRoute(W,F,ge,De){if(W.redirectTo||!Yi(W,F,ge,De))return null;let Fe,et=[],ft=[];if("**"===W.path){const Zn=ge.length>0?x(ge).parameters:{};Fe=new Ye(ge,Zn,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,rn(W),di(W),W.component,W,yn(F),pn(F)+ge.length,Cn(W))}else{const Zn=$i(F,W,ge);if(!Zn.matched)return null;et=Zn.consumedSegments,ft=ge.slice(Zn.lastChild),Fe=new Ye(et,Zn.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,rn(W),di(W),W.component,W,yn(F),pn(F)+et.length,Cn(W))}const Ut=(re=W).children?re.children:re.loadChildren?re._loadedConfig.routes:[],{segmentGroup:sn,slicedSegments:$n}=Xi(F,et,ft,Ut.filter(Zn=>void 0===Zn.redirectTo),this.relativeLinkResolution);var re;if(0===$n.length&&sn.hasChildren()){const Zn=this.processChildren(Ut,sn);return null===Zn?null:[new jn(Fe,Zn)]}if(0===Ut.length&&0===$n.length)return[new jn(Fe,[])];const cn=di(W)===De,qn=this.processSegment(Ut,sn,$n,cn?xt:De);return null===qn?null:[new jn(Fe,qn)]}}function Vt(re){const W=re.value.routeConfig;return W&&""===W.path&&void 0===W.redirectTo}function Gt(re){const W=[],F=new Set;for(const ge of re){if(!Vt(ge)){W.push(ge);continue}const De=W.find(Fe=>ge.value.routeConfig===Fe.value.routeConfig);void 0!==De?(De.children.push(...ge.children),F.add(De)):W.push(ge)}for(const ge of F){const De=Gt(ge.children);W.push(new jn(ge.value,De))}return W.filter(ge=>!F.has(ge))}function yn(re){let W=re;for(;W._sourceSegment;)W=W._sourceSegment;return W}function pn(re){let W=re,F=W._segmentIndexShift?W._segmentIndexShift:0;for(;W._sourceSegment;)W=W._sourceSegment,F+=W._segmentIndexShift?W._segmentIndexShift:0;return F-1}function rn(re){return re.data||{}}function Cn(re){return re.resolve||{}}function pr(re){return(0,C.w)(W=>{const F=re(W);return F?(0,l.D)(F).pipe((0,s.U)(()=>W)):(0,u.of)(W)})}class ki{}class gi{shouldDetach(W){return!1}store(W,F){}shouldAttach(W){return!1}retrieve(W){return null}shouldReuseRoute(W,F){return W.routeConfig===F.routeConfig}}class Zi extends gi{}const xi=new n.InjectionToken("ROUTES");class Ji{constructor(W,F,ge,De){this.injector=W,this.compiler=F,this.onLoadStartListener=ge,this.onLoadEndListener=De}load(W,F){if(F._loader$)return F._loader$;this.onLoadStartListener&&this.onLoadStartListener(F);const De=this.loadModuleFactory(F.loadChildren).pipe((0,s.U)(Fe=>{this.onLoadEndListener&&this.onLoadEndListener(F);const et=Fe.create(W);return new gn(_(et.injector.get(xi,void 0,n.InjectFlags.Self|n.InjectFlags.Optional)).map(cr),et)}),(0,Y.K)(Fe=>{throw F._loader$=void 0,Fe}));return F._loader$=new h.c(De,()=>new g.xQ).pipe((0,ue.x)()),F._loader$}loadModuleFactory(W){return Ue(W()).pipe((0,X.zg)(F=>F instanceof n.NgModuleFactory?(0,u.of)(F):(0,l.D)(this.compiler.compileModuleAsync(F))))}}class Zr{}class mr{shouldProcessUrl(W){return!0}extract(W){return W}merge(W,F){return W}}function gr(re){throw re}function cs(re,W,F){return W.parse("/")}function Jr(re,W){return(0,u.of)(null)}const tn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},un={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ln=(()=>{class re{constructor(F,ge,De,Fe,et,ft,Ut){this.rootComponentType=F,this.urlSerializer=ge,this.rootContexts=De,this.location=Fe,this.config=Ut,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new g.xQ,this.errorHandler=gr,this.malformedUriErrorHandler=cs,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Jr,afterPreactivation:Jr},this.urlHandlingStrategy=new mr,this.routeReuseStrategy=new Zi,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=et.get(n.NgModuleRef),this.console=et.get(n.\u0275Console);const cn=et.get(n.NgZone);this.isNgZoneEnabled=cn instanceof n.NgZone&&n.NgZone.isInAngularZone(),this.resetConfig(Ut),this.currentUrlTree=new Mt(new Ge([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ji(et,ft,qn=>this.triggerEvent(new pt(qn)),qn=>this.triggerEvent(new Dt(qn))),this.routerState=J(this.currentUrlTree,this.rootComponentType),this.transitions=new c.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var F;return null===(F=this.location.getState())||void 0===F?void 0:F.\u0275routerPageId}setupNavigations(F){const ge=this.events;return F.pipe((0,T.h)(De=>0!==De.id),(0,s.U)(De=>Object.assign(Object.assign({},De),{extractedUrl:this.urlHandlingStrategy.extract(De.rawUrl)})),(0,C.w)(De=>{let Fe=!1,et=!1;return(0,u.of)(De).pipe((0,Q.b)(ft=>{this.currentNavigation={id:ft.id,initialUrl:ft.currentRawUrl,extractedUrl:ft.extractedUrl,trigger:ft.source,extras:ft.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,C.w)(ft=>{const Ut=this.browserUrlTree.toString(),sn=!this.navigated||ft.extractedUrl.toString()!==Ut||Ut!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||sn)&&this.urlHandlingStrategy.shouldProcessUrl(ft.rawUrl))return Un(ft.source)&&(this.browserUrlTree=ft.extractedUrl),(0,u.of)(ft).pipe((0,C.w)(cn=>{const qn=this.transitions.getValue();return ge.next(new ae(cn.id,this.serializeUrl(cn.extractedUrl),cn.source,cn.restoredState)),qn!==this.transitions.getValue()?b.E:Promise.resolve(cn)}),function(re,W,F,ge){return(0,C.w)(De=>function(re,W,F,ge,De){return new de(re,W,F,ge,De).apply()}(re,W,F,De.extractedUrl,ge).pipe((0,s.U)(Fe=>Object.assign(Object.assign({},De),{urlAfterRedirects:Fe}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Q.b)(cn=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:cn.urlAfterRedirects})}),function(re,W,F,ge,De){return(0,X.zg)(Fe=>function(re,W,F,ge,De="emptyOnly",Fe="legacy"){try{const et=new Je(re,W,F,ge,De,Fe).recognize();return null===et?we(new ne):(0,u.of)(et)}catch(et){return we(et)}}(re,W,Fe.urlAfterRedirects,F(Fe.urlAfterRedirects),ge,De).pipe((0,s.U)(et=>Object.assign(Object.assign({},Fe),{targetSnapshot:et}))))}(this.rootComponentType,this.config,cn=>this.serializeUrl(cn),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Q.b)(cn=>{if("eager"===this.urlUpdateStrategy){if(!cn.extras.skipLocationChange){const Zn=this.urlHandlingStrategy.merge(cn.urlAfterRedirects,cn.rawUrl);this.setBrowserUrl(Zn,cn)}this.browserUrlTree=cn.urlAfterRedirects}const qn=new Ce(cn.id,this.serializeUrl(cn.extractedUrl),this.serializeUrl(cn.urlAfterRedirects),cn.targetSnapshot);ge.next(qn)}));if(sn&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:qn,extractedUrl:Zn,source:es,restoredState:vr,extras:Wr}=ft,Kr=new ae(qn,this.serializeUrl(Zn),es,vr);ge.next(Kr);const Is=J(Zn,this.rootComponentType).snapshot;return(0,u.of)(Object.assign(Object.assign({},ft),{targetSnapshot:Is,urlAfterRedirects:Zn,extras:Object.assign(Object.assign({},Wr),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=ft.rawUrl,ft.resolve(null),b.E}),pr(ft=>{const{targetSnapshot:Ut,id:sn,extractedUrl:$n,rawUrl:cn,extras:{skipLocationChange:qn,replaceUrl:Zn}}=ft;return this.hooks.beforePreactivation(Ut,{navigationId:sn,appliedUrlTree:$n,rawUrlTree:cn,skipLocationChange:!!qn,replaceUrl:!!Zn})}),(0,Q.b)(ft=>{const Ut=new Te(ft.id,this.serializeUrl(ft.extractedUrl),this.serializeUrl(ft.urlAfterRedirects),ft.targetSnapshot);this.triggerEvent(Ut)}),(0,s.U)(ft=>Object.assign(Object.assign({},ft),{guards:Hn(ft.targetSnapshot,ft.currentSnapshot,this.rootContexts)})),function(re,W){return(0,X.zg)(F=>{const{targetSnapshot:ge,currentSnapshot:De,guards:{canActivateChecks:Fe,canDeactivateChecks:et}}=F;return 0===et.length&&0===Fe.length?(0,u.of)(Object.assign(Object.assign({},F),{guardsResult:!0})):function(re,W,F,ge){return(0,l.D)(re).pipe((0,X.zg)(De=>function(re,W,F,ge,De){const Fe=W&&W.routeConfig?W.routeConfig.canDeactivate:null;if(!Fe||0===Fe.length)return(0,u.of)(!0);const et=Fe.map(ft=>{const Ut=Yn(ft,W,De);let sn;if(function(re){return re&&Sn(re.canDeactivate)}(Ut))sn=Ue(Ut.canDeactivate(re,W,F,ge));else{if(!Sn(Ut))throw new Error("Invalid CanDeactivate guard");sn=Ue(Ut(re,W,F,ge))}return sn.pipe((0,G.P)())});return(0,u.of)(et).pipe(Di())}(De.component,De.route,F,W,ge)),(0,G.P)(De=>!0!==De,!0))}(et,ge,De,re).pipe((0,X.zg)(ft=>ft&&function(re){return"boolean"==typeof re}(ft)?function(re,W,F,ge){return(0,l.D)(W).pipe((0,$.b)(De=>(0,p.z)(function(re,W){return null!==re&&W&&W(new Ie(re)),(0,u.of)(!0)}(De.route.parent,ge),function(re,W){return null!==re&&W&&W(new ct(re)),(0,u.of)(!0)}(De.route,ge),function(re,W,F){const ge=W[W.length-1],Fe=W.slice(0,W.length-1).reverse().map(et=>function(re){const W=re.routeConfig?re.routeConfig.canActivateChild:null;return W&&0!==W.length?{node:re,guards:W}:null}(et)).filter(et=>null!==et).map(et=>(0,y.P)(()=>{const ft=et.guards.map(Ut=>{const sn=Yn(Ut,et.node,F);let $n;if(function(re){return re&&Sn(re.canActivateChild)}(sn))$n=Ue(sn.canActivateChild(ge,re));else{if(!Sn(sn))throw new Error("Invalid CanActivateChild guard");$n=Ue(sn(ge,re))}return $n.pipe((0,G.P)())});return(0,u.of)(ft).pipe(Di())}));return(0,u.of)(Fe).pipe(Di())}(re,De.path,F),function(re,W,F){const ge=W.routeConfig?W.routeConfig.canActivate:null;if(!ge||0===ge.length)return(0,u.of)(!0);const De=ge.map(Fe=>(0,y.P)(()=>{const et=Yn(Fe,W,F);let ft;if(function(re){return re&&Sn(re.canActivate)}(et))ft=Ue(et.canActivate(W,re));else{if(!Sn(et))throw new Error("Invalid CanActivate guard");ft=Ue(et(W,re))}return ft.pipe((0,G.P)())}));return(0,u.of)(De).pipe(Di())}(re,De.route,F))),(0,G.P)(De=>!0!==De,!0))}(ge,Fe,re,W):(0,u.of)(ft)),(0,s.U)(ft=>Object.assign(Object.assign({},F),{guardsResult:ft})))})}(this.ngModule.injector,ft=>this.triggerEvent(ft)),(0,Q.b)(ft=>{if(mi(ft.guardsResult)){const sn=ze(`Redirecting to "${this.serializeUrl(ft.guardsResult)}"`);throw sn.url=ft.guardsResult,sn}const Ut=new Ke(ft.id,this.serializeUrl(ft.extractedUrl),this.serializeUrl(ft.urlAfterRedirects),ft.targetSnapshot,!!ft.guardsResult);this.triggerEvent(Ut)}),(0,T.h)(ft=>!!ft.guardsResult||(this.restoreHistory(ft),this.cancelNavigationTransition(ft,""),!1)),pr(ft=>{if(ft.guards.canActivateChecks.length)return(0,u.of)(ft).pipe((0,Q.b)(Ut=>{const sn=new tt(Ut.id,this.serializeUrl(Ut.extractedUrl),this.serializeUrl(Ut.urlAfterRedirects),Ut.targetSnapshot);this.triggerEvent(sn)}),(0,C.w)(Ut=>{let sn=!1;return(0,u.of)(Ut).pipe(function(re,W){return(0,X.zg)(F=>{const{targetSnapshot:ge,guards:{canActivateChecks:De}}=F;if(!De.length)return(0,u.of)(F);let Fe=0;return(0,l.D)(De).pipe((0,$.b)(et=>function(re,W,F,ge){return function(re,W,F,ge){const De=Object.keys(re);if(0===De.length)return(0,u.of)({});const Fe={};return(0,l.D)(De).pipe((0,X.zg)(et=>function(re,W,F,ge){const De=Yn(re,W,ge);return Ue(De.resolve?De.resolve(W,F):De(W,F))}(re[et],W,F,ge).pipe((0,Q.b)(ft=>{Fe[et]=ft}))),(0,q.h)(1),(0,X.zg)(()=>Object.keys(Fe).length===De.length?(0,u.of)(Fe):b.E))}(re._resolve,re,W,ge).pipe((0,s.U)(Fe=>(re._resolvedData=Fe,re.data=Object.assign(Object.assign({},re.data),te(re,F).resolve),null)))}(et.route,ge,re,W)),(0,Q.b)(()=>Fe++),(0,q.h)(1),(0,X.zg)(et=>Fe===De.length?(0,u.of)(F):b.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Q.b)({next:()=>sn=!0,complete:()=>{sn||(this.restoreHistory(Ut),this.cancelNavigationTransition(Ut,"At least one route resolver didn't emit any value."))}}))}),(0,Q.b)(Ut=>{const sn=new ot(Ut.id,this.serializeUrl(Ut.extractedUrl),this.serializeUrl(Ut.urlAfterRedirects),Ut.targetSnapshot);this.triggerEvent(sn)}))}),pr(ft=>{const{targetSnapshot:Ut,id:sn,extractedUrl:$n,rawUrl:cn,extras:{skipLocationChange:qn,replaceUrl:Zn}}=ft;return this.hooks.afterPreactivation(Ut,{navigationId:sn,appliedUrlTree:$n,rawUrlTree:cn,skipLocationChange:!!qn,replaceUrl:!!Zn})}),(0,s.U)(ft=>{const Ut=function(re,W,F){const ge=Tn(re,W._root,F?F._root:void 0);return new Xe(ge,W)}(this.routeReuseStrategy,ft.targetSnapshot,ft.currentRouterState);return Object.assign(Object.assign({},ft),{targetRouterState:Ut})}),(0,Q.b)(ft=>{this.currentUrlTree=ft.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ft.urlAfterRedirects,ft.rawUrl),this.routerState=ft.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ft.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ft),this.browserUrlTree=ft.urlAfterRedirects)}),((re,W,F)=>(0,s.U)(ge=>(new nn(W,ge.targetRouterState,ge.currentRouterState,F).activate(re),ge)))(this.rootContexts,this.routeReuseStrategy,ft=>this.triggerEvent(ft)),(0,Q.b)({next(){Fe=!0},complete(){Fe=!0}}),(0,me.x)(()=>{var ft;Fe||et||this.cancelNavigationTransition(De,`Navigation ID ${De.id} is not equal to the current navigation id ${this.navigationId}`),(null===(ft=this.currentNavigation)||void 0===ft?void 0:ft.id)===De.id&&(this.currentNavigation=null)}),(0,Y.K)(ft=>{if(et=!0,function(re){return re&&re[rt]}(ft)){const Ut=mi(ft.url);Ut||(this.navigated=!0,this.restoreHistory(De,!0));const sn=new ie(De.id,this.serializeUrl(De.extractedUrl),ft.message);ge.next(sn),Ut?setTimeout(()=>{const $n=this.urlHandlingStrategy.merge(ft.url,this.rawUrlTree),cn={skipLocationChange:De.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Un(De.source)};this.scheduleNavigation($n,"imperative",null,cn,{resolve:De.resolve,reject:De.reject,promise:De.promise})},0):De.resolve(!1)}else{this.restoreHistory(De,!0);const Ut=new le(De.id,this.serializeUrl(De.extractedUrl),ft);ge.next(Ut);try{De.resolve(this.errorHandler(ft))}catch(sn){De.reject(sn)}}return b.E}))}))}resetRootComponentType(F){this.rootComponentType=F,this.routerState.root.component=this.rootComponentType}setTransition(F){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),F))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(F=>{const ge="popstate"===F.type?"popstate":"hashchange";"popstate"===ge&&setTimeout(()=>{var De;const Fe={replaceUrl:!0},et=(null===(De=F.state)||void 0===De?void 0:De.navigationId)?F.state:null;if(et){const Ut=Object.assign({},et);delete Ut.navigationId,delete Ut.\u0275routerPageId,0!==Object.keys(Ut).length&&(Fe.state=Ut)}const ft=this.parseUrl(F.url);this.scheduleNavigation(ft,ge,et,Fe)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(F){this.events.next(F)}resetConfig(F){Gi(F),this.config=F.map(cr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(F,ge={}){const{relativeTo:De,queryParams:Fe,fragment:et,queryParamsHandling:ft,preserveFragment:Ut}=ge,sn=De||this.routerState.root,$n=Ut?this.currentUrlTree.fragment:et;let cn=null;switch(ft){case"merge":cn=Object.assign(Object.assign({},this.currentUrlTree.queryParams),Fe);break;case"preserve":cn=this.currentUrlTree.queryParams;break;default:cn=Fe||null}return null!==cn&&(cn=this.removeEmptyProps(cn)),function(re,W,F,ge,De){if(0===F.length)return ui(W.root,W.root,W,ge,De);const Fe=function(re){if("string"==typeof re[0]&&1===re.length&&"/"===re[0])return new ci(!0,0,re);let W=0,F=!1;const ge=re.reduce((De,Fe,et)=>{if("object"==typeof Fe&&null!=Fe){if(Fe.outlets){const ft={};return ce(Fe.outlets,(Ut,sn)=>{ft[sn]="string"==typeof Ut?Ut.split("/"):Ut}),[...De,{outlets:ft}]}if(Fe.segmentPath)return[...De,Fe.segmentPath]}return"string"!=typeof Fe?[...De,Fe]:0===et?(Fe.split("/").forEach((ft,Ut)=>{0==Ut&&"."===ft||(0==Ut&&""===ft?F=!0:".."===ft?W++:""!=ft&&De.push(ft))}),De):[...De,Fe]},[]);return new ci(F,W,ge)}(F);if(Fe.toRoot())return ui(W.root,new Ge([],{}),W,ge,De);const et=function(re,W,F){if(re.isAbsolute)return new Ri(W.root,!0,0);if(-1===F.snapshot._lastPathIndex){const Fe=F.snapshot._urlSegment;return new Ri(Fe,Fe===W.root,0)}const ge=kn(re.commands[0])?0:1;return function(re,W,F){let ge=re,De=W,Fe=F;for(;Fe>De;){if(Fe-=De,ge=ge.parent,!ge)throw new Error("Invalid number of '../'");De=ge.segments.length}return new Ri(ge,!1,De-Fe)}(F.snapshot._urlSegment,F.snapshot._lastPathIndex+ge,re.numberOfDoubleDots)}(Fe,W,re),ft=et.processChildren?Qi(et.segmentGroup,et.index,Fe.commands):mn(et.segmentGroup,et.index,Fe.commands);return ui(et.segmentGroup,ft,W,ge,De)}(sn,this.currentUrlTree,F,cn,null!=$n?$n:null)}navigateByUrl(F,ge={skipLocationChange:!1}){const De=mi(F)?F:this.parseUrl(F),Fe=this.urlHandlingStrategy.merge(De,this.rawUrlTree);return this.scheduleNavigation(Fe,"imperative",null,ge)}navigate(F,ge={skipLocationChange:!1}){return function(re){for(let W=0;W{const Fe=F[De];return null!=Fe&&(ge[De]=Fe),ge},{})}processNavigations(){this.navigations.subscribe(F=>{this.navigated=!0,this.lastSuccessfulId=F.id,this.currentPageId=F.targetPageId,this.events.next(new U(F.id,this.serializeUrl(F.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,F.resolve(!0)},F=>{this.console.warn(`Unhandled Navigation Error: ${F}`)})}scheduleNavigation(F,ge,De,Fe,et){var ft,Ut,sn;if(this.disposed)return Promise.resolve(!1);const $n=this.transitions.value,cn=Un(ge)&&$n&&!Un($n.source),qn=$n.rawUrl.toString()===F.toString(),Zn=$n.id===(null===(ft=this.currentNavigation)||void 0===ft?void 0:ft.id);if(cn&&qn&&Zn)return Promise.resolve(!0);let vr,Wr,Kr;et?(vr=et.resolve,Wr=et.reject,Kr=et.promise):Kr=new Promise((gs,Xa)=>{vr=gs,Wr=Xa});const Is=++this.navigationId;let Pr;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(De=this.location.getState()),Pr=De&&De.\u0275routerPageId?De.\u0275routerPageId:Fe.replaceUrl||Fe.skipLocationChange?null!==(Ut=this.browserPageId)&&void 0!==Ut?Ut:0:(null!==(sn=this.browserPageId)&&void 0!==sn?sn:0)+1):Pr=0,this.setTransition({id:Is,targetPageId:Pr,source:ge,restoredState:De,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:F,extras:Fe,resolve:vr,reject:Wr,promise:Kr,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Kr.catch(gs=>Promise.reject(gs))}setBrowserUrl(F,ge){const De=this.urlSerializer.serialize(F),Fe=Object.assign(Object.assign({},ge.extras.state),this.generateNgRouterState(ge.id,ge.targetPageId));this.location.isCurrentPathEqualTo(De)||ge.extras.replaceUrl?this.location.replaceState(De,"",Fe):this.location.go(De,"",Fe)}restoreHistory(F,ge=!1){var De,Fe;if("computed"===this.canceledNavigationResolution){const et=this.currentPageId-F.targetPageId;"popstate"!==F.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(De=this.currentNavigation)||void 0===De?void 0:De.finalUrl)||0===et?this.currentUrlTree===(null===(Fe=this.currentNavigation)||void 0===Fe?void 0:Fe.finalUrl)&&0===et&&(this.resetState(F),this.browserUrlTree=F.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(et)}else"replace"===this.canceledNavigationResolution&&(ge&&this.resetState(F),this.resetUrlToCurrentUrlTree())}resetState(F){this.routerState=F.currentRouterState,this.currentUrlTree=F.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,F.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(F,ge){const De=new ie(F.id,this.serializeUrl(F.extractedUrl),ge);this.triggerEvent(De),F.resolve(!1)}generateNgRouterState(F,ge){return"computed"===this.canceledNavigationResolution?{navigationId:F,\u0275routerPageId:ge}:{navigationId:F}}}return re.\u0275fac=function(F){n.\u0275\u0275invalidFactory()},re.\u0275prov=n.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac}),re})();function Un(re){return"imperative"!==re}let hi=(()=>{class re{constructor(F,ge,De,Fe,et){this.router=F,this.route=ge,this.tabIndexAttribute=De,this.renderer=Fe,this.el=et,this.commands=null,this.onChanges=new g.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(F){if(null!=this.tabIndexAttribute)return;const ge=this.renderer,De=this.el.nativeElement;null!==F?ge.setAttribute(De,"tabindex",F):ge.removeAttribute(De,"tabindex")}ngOnChanges(F){this.onChanges.next(this)}set routerLink(F){null!=F?(this.commands=Array.isArray(F)?F:[F],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const F={skipLocationChange:Ai(this.skipLocationChange),replaceUrl:Ai(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,F),!0}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:Ai(this.preserveFragment)})}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275directiveInject(ln),n.\u0275\u0275directiveInject(S),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},re.\u0275dir=n.\u0275\u0275defineDirective({type:re,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(F,ge){1&F&&n.\u0275\u0275listener("click",function(){return ge.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[n.\u0275\u0275NgOnChangesFeature]}),re})(),Pn=(()=>{class re{constructor(F,ge,De){this.router=F,this.route=ge,this.locationStrategy=De,this.commands=null,this.href=null,this.onChanges=new g.xQ,this.subscription=F.events.subscribe(Fe=>{Fe instanceof U&&this.updateTargetUrlAndHref()})}set routerLink(F){this.commands=null!=F?Array.isArray(F)?F:[F]:null}ngOnChanges(F){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(F,ge,De,Fe,et){if(0!==F||ge||De||Fe||et||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const ft={skipLocationChange:Ai(this.skipLocationChange),replaceUrl:Ai(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,ft),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:Ai(this.preserveFragment)})}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275directiveInject(ln),n.\u0275\u0275directiveInject(S),n.\u0275\u0275directiveInject(pe.LocationStrategy))},re.\u0275dir=n.\u0275\u0275defineDirective({type:re,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(F,ge){1&F&&n.\u0275\u0275listener("click",function(Fe){return ge.onClick(Fe.button,Fe.ctrlKey,Fe.shiftKey,Fe.altKey,Fe.metaKey)}),2&F&&n.\u0275\u0275attribute("target",ge.target)("href",ge.href,n.\u0275\u0275sanitizeUrl)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[n.\u0275\u0275NgOnChangesFeature]}),re})();function Ai(re){return""===re||!!re}let ei=(()=>{class re{constructor(F,ge,De,Fe,et,ft){this.router=F,this.element=ge,this.renderer=De,this.cdr=Fe,this.link=et,this.linkWithHref=ft,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=F.events.subscribe(Ut=>{Ut instanceof U&&this.update()})}ngAfterContentInit(){(0,u.of)(this.links.changes,this.linksWithHrefs.changes,(0,u.of)(null)).pipe((0,xe.J)()).subscribe(F=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var F;null===(F=this.linkInputChangesSubscription)||void 0===F||F.unsubscribe();const ge=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(De=>!!De).map(De=>De.onChanges);this.linkInputChangesSubscription=(0,l.D)(ge).pipe((0,xe.J)()).subscribe(De=>{this.isActive!==this.isLinkActive(this.router)(De)&&this.update()})}set routerLinkActive(F){const ge=Array.isArray(F)?F:F.split(" ");this.classes=ge.filter(De=>!!De)}ngOnChanges(F){this.update()}ngOnDestroy(){var F;this.routerEventsSubscription.unsubscribe(),null===(F=this.linkInputChangesSubscription)||void 0===F||F.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const F=this.hasActiveLinks();this.isActive!==F&&(this.isActive=F,this.cdr.markForCheck(),this.classes.forEach(ge=>{F?this.renderer.addClass(this.element.nativeElement,ge):this.renderer.removeClass(this.element.nativeElement,ge)}),this.isActiveChange.emit(F))})}isLinkActive(F){const ge=function(re){return!!re.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return De=>!!De.urlTree&&F.isActive(De.urlTree,ge)}hasActiveLinks(){const F=this.isLinkActive(this.router);return this.link&&F(this.link)||this.linkWithHref&&F(this.linkWithHref)||this.links.some(F)||this.linksWithHrefs.some(F)}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275directiveInject(ln),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(hi,8),n.\u0275\u0275directiveInject(Pn,8))},re.\u0275dir=n.\u0275\u0275defineDirective({type:re,selectors:[["","routerLinkActive",""]],contentQueries:function(F,ge,De){if(1&F&&(n.\u0275\u0275contentQuery(De,hi,5),n.\u0275\u0275contentQuery(De,Pn,5)),2&F){let Fe;n.\u0275\u0275queryRefresh(Fe=n.\u0275\u0275loadQuery())&&(ge.links=Fe),n.\u0275\u0275queryRefresh(Fe=n.\u0275\u0275loadQuery())&&(ge.linksWithHrefs=Fe)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[n.\u0275\u0275NgOnChangesFeature]}),re})();class hs{}class Ni{preload(W,F){return F().pipe((0,Y.K)(()=>(0,u.of)(null)))}}class _r{preload(W,F){return(0,u.of)(null)}}let or=(()=>{class re{constructor(F,ge,De,Fe){this.router=F,this.injector=De,this.preloadingStrategy=Fe,this.loader=new Ji(De,ge,Ut=>F.triggerEvent(new pt(Ut)),Ut=>F.triggerEvent(new Dt(Ut)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,T.h)(F=>F instanceof U),(0,$.b)(()=>this.preload())).subscribe(()=>{})}preload(){const F=this.injector.get(n.NgModuleRef);return this.processRoutes(F,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(F,ge){const De=[];for(const Fe of ge)if(Fe.loadChildren&&!Fe.canLoad&&Fe._loadedConfig){const et=Fe._loadedConfig;De.push(this.processRoutes(et.module,et.routes))}else Fe.loadChildren&&!Fe.canLoad?De.push(this.preloadConfig(F,Fe)):Fe.children&&De.push(this.processRoutes(F,Fe.children));return(0,l.D)(De).pipe((0,xe.J)(),(0,s.U)(Fe=>{}))}preloadConfig(F,ge){return this.preloadingStrategy.preload(ge,()=>(ge._loadedConfig?(0,u.of)(ge._loadedConfig):this.loader.load(F.injector,ge)).pipe((0,X.zg)(Fe=>(ge._loadedConfig=Fe,this.processRoutes(Fe.module,Fe.routes)))))}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275inject(ln),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.Injector),n.\u0275\u0275inject(hs))},re.\u0275prov=n.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac}),re})(),Hi=(()=>{class re{constructor(F,ge,De={}){this.router=F,this.viewportScroller=ge,this.options=De,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},De.scrollPositionRestoration=De.scrollPositionRestoration||"disabled",De.anchorScrolling=De.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(F=>{F instanceof ae?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=F.navigationTrigger,this.restoredId=F.restoredState?F.restoredState.navigationId:0):F instanceof U&&(this.lastId=F.id,this.scheduleScrollEvent(F,this.router.parseUrl(F.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(F=>{F instanceof Et&&(F.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(F.position):F.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(F.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(F,ge){this.router.triggerEvent(new Et(F,"popstate"===this.lastSource?this.store[this.restoredId]:null,ge))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return re.\u0275fac=function(F){n.\u0275\u0275invalidFactory()},re.\u0275prov=n.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac}),re})();const yr=new n.InjectionToken("ROUTER_CONFIGURATION"),Ts=new n.InjectionToken("ROUTER_FORROOT_GUARD"),Ns=[pe.Location,{provide:Ee,useClass:B},{provide:ln,useFactory:function(re,W,F,ge,De,Fe,et={},ft,Ut){const sn=new ln(null,re,W,F,ge,De,_(Fe));return ft&&(sn.urlHandlingStrategy=ft),Ut&&(sn.routeReuseStrategy=Ut),R(et,sn),et.enableTracing&&sn.events.subscribe($n=>{var cn,qn;null===(cn=console.group)||void 0===cn||cn.call(console,`Router Event: ${$n.constructor.name}`),console.log($n.toString()),console.log($n),null===(qn=console.groupEnd)||void 0===qn||qn.call(console)}),sn},deps:[Ee,Li,pe.Location,n.Injector,n.Compiler,xi,yr,[Zr,new n.Optional],[ki,new n.Optional]]},Li,{provide:S,useFactory:function(re){return re.routerState.root},deps:[ln]},or,_r,Ni,{provide:yr,useValue:{enableTracing:!1}}];function Lr(){return new n.NgProbeToken("Router",ln)}let fs=(()=>{class re{constructor(F,ge){}static forRoot(F,ge){return{ngModule:re,providers:[Ns,ms(F),{provide:Ts,useFactory:ps,deps:[[ln,new n.Optional,new n.SkipSelf]]},{provide:yr,useValue:ge||{}},{provide:pe.LocationStrategy,useFactory:Fs,deps:[pe.PlatformLocation,[new n.Inject(pe.APP_BASE_HREF),new n.Optional],yr]},{provide:Hi,useFactory:Eo,deps:[ln,pe.ViewportScroller,yr]},{provide:hs,useExisting:ge&&ge.preloadingStrategy?ge.preloadingStrategy:_r},{provide:n.NgProbeToken,multi:!0,useFactory:Lr},[Be,{provide:n.APP_INITIALIZER,multi:!0,useFactory:vt,deps:[Be]},{provide:Qt,useFactory:jt,deps:[Be]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Qt}]]}}static forChild(F){return{ngModule:re,providers:[ms(F)]}}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275inject(Ts,8),n.\u0275\u0275inject(ln,8))},re.\u0275mod=n.\u0275\u0275defineNgModule({type:re}),re.\u0275inj=n.\u0275\u0275defineInjector({}),re})();function Eo(re,W,F){return F.scrollOffset&&W.setOffset(F.scrollOffset),new Hi(re,W,F)}function Fs(re,W,F={}){return F.useHash?new pe.HashLocationStrategy(re,W):new pe.PathLocationStrategy(re,W)}function ps(re){return"guarded"}function ms(re){return[{provide:n.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:re},{provide:xi,multi:!0,useValue:re}]}function R(re,W){re.errorHandler&&(W.errorHandler=re.errorHandler),re.malformedUriErrorHandler&&(W.malformedUriErrorHandler=re.malformedUriErrorHandler),re.onSameUrlNavigation&&(W.onSameUrlNavigation=re.onSameUrlNavigation),re.paramsInheritanceStrategy&&(W.paramsInheritanceStrategy=re.paramsInheritanceStrategy),re.relativeLinkResolution&&(W.relativeLinkResolution=re.relativeLinkResolution),re.urlUpdateStrategy&&(W.urlUpdateStrategy=re.urlUpdateStrategy),re.canceledNavigationResolution&&(W.canceledNavigationResolution=re.canceledNavigationResolution)}let Be=(()=>{class re{constructor(F){this.injector=F,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new g.xQ}appInitializer(){return this.injector.get(pe.LOCATION_INITIALIZED,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let ge=null;const De=new Promise(ft=>ge=ft),Fe=this.injector.get(ln),et=this.injector.get(yr);return"disabled"===et.initialNavigation?(Fe.setUpLocationChangeListener(),ge(!0)):"enabled"===et.initialNavigation||"enabledBlocking"===et.initialNavigation?(Fe.hooks.afterPreactivation=()=>this.initNavigation?(0,u.of)(null):(this.initNavigation=!0,ge(!0),this.resultOfPreactivationDone),Fe.initialNavigation()):ge(!0),De})}bootstrapListener(F){const ge=this.injector.get(yr),De=this.injector.get(or),Fe=this.injector.get(Hi),et=this.injector.get(ln),ft=this.injector.get(n.ApplicationRef);F===ft.components[0]&&(("enabledNonBlocking"===ge.initialNavigation||void 0===ge.initialNavigation)&&et.initialNavigation(),De.setUpPreloading(),Fe.init(),et.resetRootComponentType(ft.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275inject(n.Injector))},re.\u0275prov=n.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac}),re})();function vt(re){return re.appInitializer.bind(re)}function jt(re){return re.bootstrapListener.bind(re)}const Qt=new n.InjectionToken("Router Initializer"),fi=new n.Version("13.1.1")},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{AUTH_CONFIG:()=>AUTH_CONFIG,AbstractValidationHandler:()=>AbstractValidationHandler,AuthConfig:()=>AuthConfig,DateTimeProvider:()=>DateTimeProvider,DefaultHashHandler:()=>DefaultHashHandler,DefaultOAuthInterceptor:()=>DefaultOAuthInterceptor,HashHandler:()=>HashHandler,JwksValidationHandler:()=>JwksValidationHandler,LoginOptions:()=>LoginOptions,MemoryStorage:()=>MemoryStorage,NullValidationHandler:()=>NullValidationHandler,OAuthErrorEvent:()=>OAuthErrorEvent,OAuthEvent:()=>OAuthEvent,OAuthInfoEvent:()=>OAuthInfoEvent,OAuthLogger:()=>OAuthLogger,OAuthModule:()=>OAuthModule,OAuthModuleConfig:()=>OAuthModuleConfig,OAuthNoopResourceServerErrorHandler:()=>OAuthNoopResourceServerErrorHandler,OAuthResourceServerConfig:()=>OAuthResourceServerConfig,OAuthResourceServerErrorHandler:()=>OAuthResourceServerErrorHandler,OAuthService:()=>OAuthService,OAuthStorage:()=>OAuthStorage,OAuthSuccessEvent:()=>OAuthSuccessEvent,ReceivedTokens:()=>ReceivedTokens,SystemDateTimeProvider:()=>SystemDateTimeProvider,UrlHelperService:()=>UrlHelperService,ValidationHandler:()=>ValidationHandler});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(7e3),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class he extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return he.\u0275fac=function(){let A;return function(n){return(A||(A=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275getInheritedFactory(he)))(n||he)}}(),he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class he{constructor(){this.data=new Map}getItem(o){return this.data.get(o)}removeItem(o){this.data.delete(o)}setItem(o,n){this.data.set(o,n)}}return he.\u0275fac=function(o){return new(o||he)},he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})();class ReceivedTokens{}class OAuthEvent{constructor(A){this.type=A}}class OAuthSuccessEvent extends OAuthEvent{constructor(A,o=null){super(A),this.info=o}}class OAuthInfoEvent extends OAuthEvent{constructor(A,o=null){super(A),this.info=o}}class OAuthErrorEvent extends OAuthEvent{constructor(A,o,n=null){super(A),this.reason=o,this.params=n}}function b64DecodeUnicode(he){const A=he.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(A).split("").map(function(o){return"%"+("00"+o.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(he){return btoa(he).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(A){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=null,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.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=o=>{location.href=o},A&&Object.assign(this,A)}}class WebHttpUrlEncodingCodec{encodeKey(A){return encodeURIComponent(A)}encodeValue(A){return encodeURIComponent(A)}decodeKey(A){return decodeURIComponent(A)}decodeValue(A){return decodeURIComponent(A)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(A){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){let o=this.inferHashAlgorithm(A.idTokenHeader),n=yield this.calcHash(A.accessToken,o),u=base64UrlEncode(n.substr(0,n.length/2)),c=A.idTokenClaims.at_hash.replace(/=/g,"");return u!==c&&(console.error("exptected at_hash: "+u),console.error("actual at_hash: "+c)),u===c})}inferHashAlgorithm(A){let o=A.alg;if(!o.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+o);return"sha-"+o.substr(2)}}let UrlHelperService=(()=>{class he{getHashFragmentParams(o){let n=o||window.location.hash;if(n=decodeURIComponent(n),0!==n.indexOf("#"))return{};const l=n.indexOf("?");return n=n.substr(l>-1?l+1:1),this.parseQueryString(n)}parseQueryString(o){const n={};let l,u,c,r,d,m,p;if(null===o)return n;l=o.split("&");for(let y=0;y>6,u[r++]=128|63&d):d<55296||d>=57344?(u[r++]=224|d>>12,u[r++]=128|d>>6&63,u[r++]=128|63&d):(d=65536+((1023&d)<<10|1023&he.charCodeAt(++n)),u[r++]=240|d>>18,u[r++]=128|d>>12&63,u[r++]=128|d>>6&63,u[r++]=128|63&d);he=u}else{if("object"!==l)throw new Error(ERROR);if(null===he)throw new Error(ERROR);if(ARRAY_BUFFER&&he.constructor===ArrayBuffer)he=new Uint8Array(he);else if(!(Array.isArray(he)||ARRAY_BUFFER&&ArrayBuffer.isView(he)))throw new Error(ERROR)}he.length>64&&(he=new Sha256(A,!0).update(he).array());var m=[],p=[];for(n=0;n<64;++n){var y=he[n]||0;m[n]=92^y,p[n]=54^y}Sha256.call(this,A,o),this.update(p),this.oKeyPad=m,this.inner=!0,this.sharedMemory=o}Sha256.prototype.update=function(he){if(!this.finalized){var A,o=typeof he;if("string"!==o){if("object"!==o)throw new Error(ERROR);if(null===he)throw new Error(ERROR);if(ARRAY_BUFFER&&he.constructor===ArrayBuffer)he=new Uint8Array(he);else if(!(Array.isArray(he)||ARRAY_BUFFER&&ArrayBuffer.isView(he)))throw new Error(ERROR);A=!0}for(var n,u,l=0,c=he.length,r=this.blocks;l>2]|=he[l]<>2]|=n<>2]|=(192|n>>6)<>2]|=(128|63&n)<=57344?(r[u>>2]|=(224|n>>12)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<>2]|=(240|n>>18)<>2]|=(128|n>>12&63)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<=64?(this.block=r[16],this.start=u-64,this.hash(),this.hashed=!0):this.start=u}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var he=this.blocks,A=this.lastByteIndex;he[16]=this.block,he[A>>2]|=EXTRA[3&A],this.block=he[16],A>=56&&(this.hashed||this.hash(),he[0]=this.block,he[16]=he[1]=he[2]=he[3]=he[4]=he[5]=he[6]=he[7]=he[8]=he[9]=he[10]=he[11]=he[12]=he[13]=he[14]=he[15]=0),he[14]=this.hBytes<<3|this.bytes>>>29,he[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var m,h,C,P,w,D,he=this.h0,A=this.h1,o=this.h2,n=this.h3,l=this.h4,u=this.h5,c=this.h6,r=this.h7,d=this.blocks;for(m=16;m<64;++m)d[m]=d[m-16]+(((h=d[m-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3)+d[m-7]+(((h=d[m-2])>>>17|h<<15)^(h>>>19|h<<13)^h>>>10)<<0;for(D=A&o,m=0;m<64;m+=4)this.first?(this.is224?(C=300032,r=(h=d[0]-1413257819)-150054599<<0,n=h+24177077<<0):(C=704751109,r=(h=d[0]-210244248)-1521486534<<0,n=h+143694565<<0),this.first=!1):(r=n+(h=r+((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&u^~l&c)+K[m]+d[m])<<0,n=h+(((he>>>2|he<<30)^(he>>>13|he<<19)^(he>>>22|he<<10))+((C=he&A)^he&o^D))<<0),c=o+(h=c+((r>>>6|r<<26)^(r>>>11|r<<21)^(r>>>25|r<<7))+(r&l^~r&u)+K[m+1]+d[m+1])<<0,o=h+(((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+((P=n&he)^n&A^C))<<0,u=A+(h=u+((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&r^~c&l)+K[m+2]+d[m+2])<<0,A=h+(((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+((w=o&n)^o&he^P))<<0,l=he+(h=l+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&c^~u&r)+K[m+3]+d[m+3])<<0,he=h+(((A>>>2|A<<30)^(A>>>13|A<<19)^(A>>>22|A<<10))+((D=A&o)^A&n^w))<<0;this.h0=this.h0+he<<0,this.h1=this.h1+A<<0,this.h2=this.h2+o<<0,this.h3=this.h3+n<<0,this.h4=this.h4+l<<0,this.h5=this.h5+u<<0,this.h6=this.h6+c<<0,this.h7=this.h7+r<<0},Sha256.prototype.hex=function(){this.finalize();var he=this.h0,A=this.h1,o=this.h2,n=this.h3,l=this.h4,u=this.h5,c=this.h6,r=this.h7,d=HEX_CHARS[he>>28&15]+HEX_CHARS[he>>24&15]+HEX_CHARS[he>>20&15]+HEX_CHARS[he>>16&15]+HEX_CHARS[he>>12&15]+HEX_CHARS[he>>8&15]+HEX_CHARS[he>>4&15]+HEX_CHARS[15&he]+HEX_CHARS[A>>28&15]+HEX_CHARS[A>>24&15]+HEX_CHARS[A>>20&15]+HEX_CHARS[A>>16&15]+HEX_CHARS[A>>12&15]+HEX_CHARS[A>>8&15]+HEX_CHARS[A>>4&15]+HEX_CHARS[15&A]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[l>>28&15]+HEX_CHARS[l>>24&15]+HEX_CHARS[l>>20&15]+HEX_CHARS[l>>16&15]+HEX_CHARS[l>>12&15]+HEX_CHARS[l>>8&15]+HEX_CHARS[l>>4&15]+HEX_CHARS[15&l]+HEX_CHARS[u>>28&15]+HEX_CHARS[u>>24&15]+HEX_CHARS[u>>20&15]+HEX_CHARS[u>>16&15]+HEX_CHARS[u>>12&15]+HEX_CHARS[u>>8&15]+HEX_CHARS[u>>4&15]+HEX_CHARS[15&u]+HEX_CHARS[c>>28&15]+HEX_CHARS[c>>24&15]+HEX_CHARS[c>>20&15]+HEX_CHARS[c>>16&15]+HEX_CHARS[c>>12&15]+HEX_CHARS[c>>8&15]+HEX_CHARS[c>>4&15]+HEX_CHARS[15&c];return this.is224||(d+=HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]),d},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var he=this.h0,A=this.h1,o=this.h2,n=this.h3,l=this.h4,u=this.h5,c=this.h6,r=this.h7,d=[he>>24&255,he>>16&255,he>>8&255,255&he,A>>24&255,A>>16&255,A>>8&255,255&A,o>>24&255,o>>16&255,o>>8&255,255&o,n>>24&255,n>>16&255,n>>8&255,255&n,l>>24&255,l>>16&255,l>>8&255,255&l,u>>24&255,u>>16&255,u>>8&255,255&u,c>>24&255,c>>16&255,c>>8&255,255&c];return this.is224||d.push(r>>24&255,r>>16&255,r>>8&255,255&r),d},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var he=new ArrayBuffer(this.is224?28:32),A=new DataView(he);return A.setUint32(0,this.h0),A.setUint32(4,this.h1),A.setUint32(8,this.h2),A.setUint32(12,this.h3),A.setUint32(16,this.h4),A.setUint32(20,this.h5),A.setUint32(24,this.h6),this.is224||A.setUint32(28,this.h7),he},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var he=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(he),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(he){if("string"!=typeof he)throw new TypeError("expected string");var A,o=he,n=new Uint8Array(o.length);for(A=0;A{class he{calcHash(o,n){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(o)))})}toHashString2(o){let n="";for(let l of o)n+=String.fromCharCode(l);return n}toHashString(o){const n=new Uint8Array(o);let l="";for(let u of n)l+=String.fromCharCode(u);return l}}return he.\u0275fac=function(o){return new(o||he)},he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})(),OAuthService=(()=>{class he extends AuthConfig{constructor(o,n,l,u,c,r,d,m,p,y){var b;super(),this.ngZone=o,this.http=n,this.config=c,this.urlHelper=r,this.logger=d,this.crypto=m,this.dateTimeService=y,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=p,c||(c={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),u&&(this.tokenValidationHandler=u),c&&this.configure(c);try{l?this.setStorage(l):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(h){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",h)}if(this.checkLocalStorageAccessable()){const h=null===(b=null==window?void 0:window.navigator)||void 0===b?void 0:b.userAgent;((null==h?void 0:h.includes("MSIE "))||(null==h?void 0:h.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const o="test";try{return void 0!==window.localStorage&&(localStorage.setItem(o,o),localStorage.removeItem(o),!0)}catch(n){return!1}}configure(o){Object.assign(this,new AuthConfig,o),this.config=Object.assign({},new AuthConfig,o),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(o=>"token_received"===o.type)).subscribe(o=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(o={},n,l=!0){let u=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(c=>{"token_received"===c.type?u=!0:"logout"===c.type&&(u=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(c=>"token_expires"===c.type&&(null==n||"any"===n||c.info===n)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(c=>{u&&this.refreshInternal(o,l).catch(r=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(o,n){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(o,n):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(o=null){return this.loadDiscoveryDocument().then(n=>this.tryLogin(o))}loadDiscoveryDocumentAndLogin(o=null){return this.loadDiscoveryDocumentAndTryLogin(o=o||{}).then(n=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof o.state?o.state:""),!1))}debug(...o){this.showDebugInformation&&this.logger.debug.apply(this.logger,o)}validateUrlFromDiscoveryDocument(o){const n=[],l=this.validateUrlForHttps(o),u=this.validateUrlAgainstIssuer(o);return l||n.push("https for all urls required. Also for urls received by discovery."),u||n.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),n}validateUrlForHttps(o){if(!o)return!0;const n=o.toLowerCase();return!(!1!==this.requireHttps&&(!n.match(/^http:\/\/localhost($|[:\/])/)&&!n.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||n.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(o,n){if(!o)throw new Error(`'${n}' should not be null`);if(!this.validateUrlForHttps(o))throw new Error(`'${n}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(o){return!this.strictDiscoveryDocumentValidation||!o||o.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(o=>"token_received"===o.type)).subscribe(o=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const o=this.getAccessTokenExpiration(),n=this.getAccessTokenStoredAt(),l=this.calcTimeout(n,o);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(l)).subscribe(u=>{this.ngZone.run(()=>{this.eventsSubject.next(u)})})})}setupIdTokenTimer(){const o=this.getIdTokenExpiration(),n=this.getIdTokenStoredAt(),l=this.calcTimeout(n,o);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(l)).subscribe(u=>{this.ngZone.run(()=>{this.eventsSubject.next(u)})})})}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(o,n){const l=this.dateTimeService.now();return Math.max(0,(n-o)*this.timeoutFactor-(l-o))}setStorage(o){this._storage=o,this.configChanged()}loadDiscoveryDocument(o=null){return new Promise((n,l)=>{o||((o=this.issuer||"").endsWith("/")||(o+="/"),o+=".well-known/openid-configuration"),this.validateUrlForHttps(o)?this.http.get(o).subscribe(u=>{if(!this.validateDiscoveryDocument(u))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void l("discovery_document_validation_error");this.loginUrl=u.authorization_endpoint,this.logoutUrl=u.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=u.grant_types_supported,this.issuer=u.issuer,this.tokenEndpoint=u.token_endpoint,this.userinfoEndpoint=u.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=u.jwks_uri,this.sessionCheckIFrameUrl=u.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(u),this.revocationEndpoint=u.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(c=>{const d=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:u,jwks:c});this.eventsSubject.next(d),n(d)}).catch(c=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",c)),l(c)})},u=>{this.logger.error("error loading discovery document",u),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",u)),l(u)}):l("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((o,n)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(l=>{this.jwks=l,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),o(l)},l=>{this.logger.error("error loading jwks",l),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",l)),n(l)}):o(null)})}validateDiscoveryDocument(o){let n;return this.skipIssuerCheck||o.issuer===this.issuer?(n=this.validateUrlFromDiscoveryDocument(o.authorization_endpoint),n.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",n),!1):(n=this.validateUrlFromDiscoveryDocument(o.end_session_endpoint),n.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",n),!1):(n=this.validateUrlFromDiscoveryDocument(o.token_endpoint),n.length>0&&this.logger.error("error validating token_endpoint in discovery document",n),n=this.validateUrlFromDiscoveryDocument(o.revocation_endpoint),n.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",n),n=this.validateUrlFromDiscoveryDocument(o.userinfo_endpoint),n.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",n),!1):(n=this.validateUrlFromDiscoveryDocument(o.jwks_uri),n.length>0?(this.logger.error("error validating jwks_uri in discovery document",n),!1):(this.sessionChecksEnabled&&!o.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: "+o.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(o,n,l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders){return this.fetchTokenUsingPasswordFlow(o,n,l).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((o,n)=>{const l=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:l,observe:"response",responseType:"text"}).subscribe(u=>{if(this.debug("userinfo received",JSON.stringify(u)),u.headers.get("content-type").startsWith("application/json")){let c=JSON.parse(u.body);const r=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!r.sub||c.sub!==r.sub))return void n("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");c=Object.assign({},r,c),this._storage.setItem("id_token_claims_obj",JSON.stringify(c)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),o({info:c})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),o(JSON.parse(u.body))},u=>{this.logger.error("error loading user info",u),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",u)),n(u)})})}fetchTokenUsingPasswordFlow(o,n,l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:o,password:n},l)}fetchTokenUsingGrant(o,n,l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",o).set("scope",this.scope);if(this.useHttpBasicAuth){const c=btoa(`${this.clientId}:${this.dummyClientSecret}`);l=l.set("Authorization","Basic "+c)}if(this.useHttpBasicAuth||(u=u.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(u=u.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const c of Object.getOwnPropertyNames(this.customQueryParams))u=u.set(c,this.customQueryParams[c]);for(const c of Object.keys(n))u=u.set(c,n[c]);return l=l.set("Content-Type","application/x-www-form-urlencoded"),new Promise((c,r)=>{this.http.post(this.tokenEndpoint,u,{headers:l}).subscribe(d=>{this.debug("tokenResponse",d),this.storeAccessTokenResponse(d.access_token,d.refresh_token,d.expires_in||this.fallbackAccessTokenExpirationTimeInSec,d.scope,this.extractRecognizedCustomParameters(d)),this.oidc&&d.id_token&&this.processIdToken(d.id_token,d.access_token).then(m=>{this.storeIdToken(m),c(d)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),c(d)},d=>{this.logger.error("Error performing ${grantType} flow",d),this.eventsSubject.next(new OAuthErrorEvent("token_error",d)),r(d)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((o,n)=>{let l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),u=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const c=btoa(`${this.clientId}:${this.dummyClientSecret}`);u=u.set("Authorization","Basic "+c)}if(this.useHttpBasicAuth||(l=l.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(l=l.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const c of Object.getOwnPropertyNames(this.customQueryParams))l=l.set(c,this.customQueryParams[c]);this.http.post(this.tokenEndpoint,l,{headers:u}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(c=>c.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(c.id_token,c.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(r=>this.storeIdToken(r)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(r=>c)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(c))).subscribe(c=>{this.debug("refresh tokenResponse",c),this.storeAccessTokenResponse(c.access_token,c.refresh_token,c.expires_in||this.fallbackAccessTokenExpirationTimeInSec,c.scope,this.extractRecognizedCustomParameters(c)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),o(c)},c=>{this.logger.error("Error refreshing token",c),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",c)),n(c)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=o=>{const n=this.processMessageEventMessage(o);this.tryLogin({customHashFragment:n,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(l=>this.debug("tryLogin during silent refresh failed",l))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(o={},n=!0){const l=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(o.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(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const u=this.document.getElementById(this.silentRefreshIFrameName);u&&this.document.body.removeChild(u),this.silentRefreshSubject=l.sub;const c=this.document.createElement("iframe");c.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,n,o).then(y=>{c.setAttribute("src",y),this.silentRefreshShowIFrame||(c.style.display="none"),this.document.body.appendChild(c)});const d=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(y=>y instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),m=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(y=>"token_received"===y.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),p=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([d,m,p]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(y=>{if(y instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===y.type||(y=new OAuthErrorEvent("silent_refresh_error",y)),this.eventsSubject.next(y),y;return"token_received"===y.type&&(y=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(y)),y})).toPromise()}initImplicitFlowInPopup(o){return this.initLoginFlowInPopup(o)}initLoginFlowInPopup(o){return o=o||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(n=>new Promise((l,u)=>{let d,r=null;o.windowRef?o.windowRef&&!o.windowRef.closed&&(r=o.windowRef,r.location.href=n):r=window.open(n,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(o));const m=g=>{this.tryLogin({customHashFragment:g,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{y(),l(!0)},s=>{y(),u(s)})};r?d=window.setInterval(()=>{(!r||r.closed)&&(y(),u(new OAuthErrorEvent("popup_closed",{})))},500):u(new OAuthErrorEvent("popup_blocked",{}));const y=()=>{window.clearInterval(d),window.removeEventListener("storage",h),window.removeEventListener("message",b),null!==r&&r.close(),r=null},b=g=>{const s=this.processMessageEventMessage(g);s&&null!==s?(window.removeEventListener("storage",h),m(s)):console.log("false event firing")},h=g=>{"auth_hash"===g.key&&(window.removeEventListener("message",b),m(g.newValue))};window.addEventListener("message",b),window.addEventListener("storage",h)}))}calculatePopupFeatures(o){const n=o.height||470,l=o.width||500,u=window.screenLeft+(window.outerWidth-l)/2;return`location=no,toolbar=no,width=${l},height=${n},top=${window.screenTop+(window.outerHeight-n)/2},left=${u}`}processMessageEventMessage(o){let n="#";if(this.silentRefreshMessagePrefix&&(n+=this.silentRefreshMessagePrefix),!o||!o.data||"string"!=typeof o.data)return;const l=o.data;return l.startsWith(n)?"#"+l.substr(n.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(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=o=>{const n=o.origin.toLowerCase(),l=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),l.startsWith(n)){switch(o.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",o)}else this.debug("sessionCheckEventListener","wrong origin",n,"expected",l,"event",o)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(o=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(o=>{this.debug("token refresh after session change worked")}).catch(o=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(o=>"silently_refreshed"===o.type||"silent_refresh_timeout"===o.type||"silent_refresh_error"===o.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(o=>{"silently_refreshed"!==o.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const o=this.document.getElementById(this.sessionCheckIFrameName);o&&this.document.body.removeChild(o);const n=this.document.createElement("iframe");n.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),n.setAttribute("src",this.sessionCheckIFrameUrl),n.style.display="none",this.document.body.appendChild(n),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 o=this.document.getElementById(this.sessionCheckIFrameName);o||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const n=this.getSessionState();n||this.stopSessionCheckTimer(),o.contentWindow.postMessage(this.clientId+" "+n,this.issuer)}createLoginUrl(o="",n="",l="",u=!1,c={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){const r=this;let d;d=l||this.redirectUri;const m=yield this.createAndSaveNonce();if(o=o?m+this.config.nonceStateSeparator+encodeURIComponent(o):m,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const p=r.loginUrl.indexOf("?")>-1?"&":"?";let y=r.scope;this.oidc&&!y.match(/(^|\s)openid($|\s)/)&&(y="openid "+y);let b=r.loginUrl+p+"response_type="+encodeURIComponent(r.responseType)+"&client_id="+encodeURIComponent(r.clientId)+"&state="+encodeURIComponent(o)+"&redirect_uri="+encodeURIComponent(d)+"&scope="+encodeURIComponent(y);if(this.responseType.includes("code")&&!this.disablePKCE){const[h,g]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",g):this._storage.setItem("PKCE_verifier",g),b+="&code_challenge="+h,b+="&code_challenge_method=S256"}n&&(b+="&login_hint="+encodeURIComponent(n)),r.resource&&(b+="&resource="+encodeURIComponent(r.resource)),r.oidc&&(b+="&nonce="+encodeURIComponent(m)),u&&(b+="&prompt=none");for(const h of Object.keys(c))b+="&"+encodeURIComponent(h)+"="+encodeURIComponent(c[h]);if(this.customQueryParams)for(const h of Object.getOwnPropertyNames(this.customQueryParams))b+="&"+h+"="+encodeURIComponent(this.customQueryParams[h]);return b})}initImplicitFlowInternal(o="",n=""){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 l={},u=null;"string"==typeof n?u=n:"object"==typeof n&&(l=n),this.createLoginUrl(o,u,null,!1,l).then(this.config.openUri).catch(c=>{console.error("Error in initImplicitFlow",c),this.inImplicitFlow=!1})}initImplicitFlow(o="",n=""){""!==this.loginUrl?this.initImplicitFlowInternal(o,n):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(l=>"discovery_document_loaded"===l.type)).subscribe(l=>this.initImplicitFlowInternal(o,n))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(o){const n=this;if(o.onTokenReceived){const l={idClaims:n.getIdentityClaims(),idToken:n.getIdToken(),accessToken:n.getAccessToken(),state:n.state};o.onTokenReceived(l)}}storeAccessTokenResponse(o,n,l,u,c){if(this._storage.setItem("access_token",o),u&&!Array.isArray(u)?this._storage.setItem("granted_scopes",JSON.stringify(u.split(" "))):u&&Array.isArray(u)&&this._storage.setItem("granted_scopes",JSON.stringify(u)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),l){const r=1e3*l,m=this.dateTimeService.new().getTime()+r;this._storage.setItem("expires_at",""+m)}n&&this._storage.setItem("refresh_token",n),c&&c.forEach((r,d)=>{this._storage.setItem(d,r)})}tryLogin(o=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(o).then(n=>!0):this.tryLoginImplicitFlow(o)}parseQueryString(o){return o&&0!==o.length?("?"===o.charAt(0)&&(o=o.substr(1)),this.urlHelper.parseQueryString(o)):{}}tryLoginCodeFlow(o=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){const n=(o=o||{}).customHashFragment?o.customHashFragment.substring(1):window.location.search,l=this.getCodePartsFromUrl(n),u=l.code,c=l.state,r=l.session_state;if(!o.preventClearHashAfterLogin){const p=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,p)}let[d,m]=this.parseState(c);if(this.state=m,l.error){this.debug("error trying to login"),this.handleLoginError(o,l);const p=new OAuthErrorEvent("code_error",{},l);return this.eventsSubject.next(p),Promise.reject(p)}if(!o.disableNonceCheck){if(!d)return this.saveRequestedRoute(),Promise.resolve();if(!o.disableOAuth2StateCheck&&!this.validateNonce(d)){const y=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(y),Promise.reject(y)}return this.storeSessionState(r),u&&(yield this.getTokenFromCode(u,o),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const o=this._storage.getItem("requested_route");o&&history.replaceState(null,"",window.location.origin+o)}getCodePartsFromUrl(o){return o&&0!==o.length?("?"===o.charAt(0)&&(o=o.substr(1)),this.urlHelper.parseQueryString(o)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(o,n){let l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",o).set("redirect_uri",n.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let u;u=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),u?l=l.set("code_verifier",u):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(l,n)}fetchAndProcessToken(o,n){n=n||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let l=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const u=btoa(`${this.clientId}:${this.dummyClientSecret}`);l=l.set("Authorization","Basic "+u)}return this.useHttpBasicAuth||(o=o.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(o=o.set("client_secret",this.dummyClientSecret)),new Promise((u,c)=>{if(this.customQueryParams)for(let r of Object.getOwnPropertyNames(this.customQueryParams))o=o.set(r,this.customQueryParams[r]);this.http.post(this.tokenEndpoint,o,{headers:l}).subscribe(r=>{this.debug("refresh tokenResponse",r),this.storeAccessTokenResponse(r.access_token,r.refresh_token,r.expires_in||this.fallbackAccessTokenExpirationTimeInSec,r.scope,this.extractRecognizedCustomParameters(r)),this.oidc&&r.id_token?this.processIdToken(r.id_token,r.access_token,n.disableNonceCheck).then(d=>{this.storeIdToken(d),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),u(r)}).catch(d=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",d)),console.error("Error validating tokens"),console.error(d),c(d)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),u(r))},r=>{console.error("Error getting token",r),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",r)),c(r)})})}tryLoginImplicitFlow(o=null){let n;n=(o=o||{}).customHashFragment?this.urlHelper.getHashFragmentParams(o.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",n);const l=n.state;let[u,c]=this.parseState(l);if(this.state=c,n.error){this.debug("error trying to login"),this.handleLoginError(o,n);const y=new OAuthErrorEvent("token_error",{},n);return this.eventsSubject.next(y),Promise.reject(y)}const r=n.access_token,d=n.id_token,m=n.session_state,p=n.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!r||this.requestAccessToken&&!o.disableOAuth2StateCheck&&!l||this.oidc&&!d)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!m&&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&&!o.disableNonceCheck&&!this.validateNonce(u)){const b=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(b),Promise.reject(b)}return this.requestAccessToken&&this.storeAccessTokenResponse(r,null,n.expires_in||this.fallbackAccessTokenExpirationTimeInSec,p),this.oidc?this.processIdToken(d,r,o.disableNonceCheck).then(y=>o.validationHandler?o.validationHandler({accessToken:r,idClaims:y.idTokenClaims,idToken:y.idToken,state:l}).then(b=>y):y).then(y=>(this.storeIdToken(y),this.storeSessionState(m),this.clearHashAfterLogin&&!o.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(o),this.inImplicitFlow=!1,!0)).catch(y=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",y)),this.logger.error("Error validating tokens"),this.logger.error(y),Promise.reject(y))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!o.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(o),Promise.resolve(!0))}parseState(o){let n=o,l="";if(o){const u=o.indexOf(this.config.nonceStateSeparator);u>-1&&(n=o.substr(0,u),l=o.substr(u+this.config.nonceStateSeparator.length))}return[n,l]}validateNonce(o){let n;return n=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),n===o||(console.error("Validating access_token failed, wrong state/nonce.",n,o),!1)}storeIdToken(o){this._storage.setItem("id_token",o.idToken),this._storage.setItem("id_token_claims_obj",o.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+o.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(o){this._storage.setItem("session_state",o)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(o,n){o.onLoginError&&o.onLoginError(n),this.clearHashAfterLogin&&!o.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(o=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:o}processIdToken(o,n,l=!1){const u=o.split("."),r=b64DecodeUnicode(this.padBase64(u[0])),d=JSON.parse(r),p=b64DecodeUnicode(this.padBase64(u[1])),y=JSON.parse(p);let b;if(b=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(y.aud)){if(y.aud.every(w=>w!==this.clientId)){const w="Wrong audience: "+y.aud.join(",");return this.logger.warn(w),Promise.reject(w)}}else if(y.aud!==this.clientId){const w="Wrong audience: "+y.aud;return this.logger.warn(w),Promise.reject(w)}if(!y.sub){const w="No sub claim in id_token";return this.logger.warn(w),Promise.reject(w)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==y.sub){const w=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${y.sub}`;return this.logger.warn(w),Promise.reject(w)}if(!y.iat){const w="No iat claim in id_token";return this.logger.warn(w),Promise.reject(w)}if(!this.skipIssuerCheck&&y.iss!==this.issuer){const w="Wrong issuer: "+y.iss;return this.logger.warn(w),Promise.reject(w)}if(!l&&y.nonce!==b){const w="Wrong nonce: "+y.nonce;return this.logger.warn(w),Promise.reject(w)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!y.at_hash){const w="An at_hash is needed!";return this.logger.warn(w),Promise.reject(w)}const h=this.dateTimeService.now(),g=1e3*y.iat,s=1e3*y.exp,C=this.getClockSkewInMsec();if(g-C>=h||s+C<=h){const w="Token has expired";return console.error(w),console.error({now:h,issuedAtMSec:g,expiresAtMSec:s}),Promise.reject(w)}const P={accessToken:n,idToken:o,jwks:this.jwks,idTokenClaims:y,idTokenHeader:d,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(P).then(w=>({idToken:o,idTokenClaims:y,idTokenClaimsJson:p,idTokenHeader:d,idTokenHeaderJson:r,idTokenExpiresAt:s})):this.checkAtHash(P).then(w=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!w){const D="Wrong at_hash";return this.logger.warn(D),Promise.reject(D)}return this.checkSignature(P).then(D=>{const Y={idToken:o,idTokenClaims:y,idTokenClaimsJson:p,idTokenHeader:d,idTokenHeaderJson:r,idTokenExpiresAt:s};return this.disableAtHashCheck?Y:this.checkAtHash(P).then($=>{if(this.requestAccessToken&&!$){const z="Wrong at_hash";return this.logger.warn(z),Promise.reject(z)}return Y})})})}getIdentityClaims(){const o=this._storage.getItem("id_token_claims_obj");return o?JSON.parse(o):null}getGrantedScopes(){const o=this._storage.getItem("granted_scopes");return o?JSON.parse(o):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(o){for(;o.length%4!=0;)o+="=";return o}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 o=this._storage.getItem("expires_at"),n=this.dateTimeService.new();return!(o&&parseInt(o,10)=0&&null!==this._storage.getItem(o)?JSON.parse(this._storage.getItem(o)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(o={},n=""){let l=!1;"boolean"==typeof o&&(l=o,o={});const u=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(r=>this._storage.removeItem(r)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||l||!u&&!this.postLogoutRedirectUri)return;let c;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)c=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(u)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let r=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec});u&&(r=r.set("id_token_hint",u));const d=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";d&&(r=r.set("post_logout_redirect_uri",d),n&&(r=r.set("state",n)));for(let m in o)r=r.set(m,o[m]);c=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+r.toString()}this.config.openUri(c)}createAndSaveNonce(){const o=this;return this.createNonce().then(function(n){return o.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",n):o._storage.setItem("nonce",n),n})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const o=this.document.getElementById(this.silentRefreshIFrameName);o&&o.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const n=this.document.getElementById(this.sessionCheckIFrameName);n&&n.remove()}createNonce(){return new Promise(o=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let l=45,u="";const c="undefined"==typeof self?null:self.crypto||self.msCrypto;if(c){let r=new Uint8Array(l);c.getRandomValues(r),r.map||(r.map=Array.prototype.map),r=r.map(d=>n.charCodeAt(d%n.length)),u=String.fromCharCode.apply(null,r)}else for(;0"discovery_document_loaded"===l.type)).subscribe(l=>this.initCodeFlowInternal(o,n))}initCodeFlowInternal(o="",n={}){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 l={},u=null;"string"==typeof n?u=n:"object"==typeof n&&(l=n),this.createLoginUrl(o,u,null,!1,l).then(this.config.openUri).catch(c=>{console.error("Error in initAuthorizationCodeFlow"),console.error(c)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const o=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(o,"sha-256")),o]})}extractRecognizedCustomParameters(o){let n=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(l=>{o[l]&&n.set(l,JSON.stringify(o[l]))}),n}revokeTokenAndLogout(o={},n=!1){let l=this.revocationEndpoint,u=this.getAccessToken(),c=this.getRefreshToken();if(!u)return;let r=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec}),d=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const m=btoa(`${this.clientId}:${this.dummyClientSecret}`);d=d.set("Authorization","Basic "+m)}if(this.useHttpBasicAuth||(r=r.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(r=r.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const m of Object.getOwnPropertyNames(this.customQueryParams))r=r.set(m,this.customQueryParams[m]);return new Promise((m,p)=>{let y,b;if(u){let h=r.set("token",u).set("token_type_hint","access_token");y=this.http.post(l,h,{headers:d})}else y=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(c){let h=r.set("token",c).set("token_type_hint","refresh_token");b=this.http.post(l,h,{headers:d})}else b=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);n&&(y=y.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(h=>0===h.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(h))),b=b.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(h=>0===h.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(h)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([y,b]).subscribe(h=>{this.logOut(o),m(h),this.logger.info("Token successfully revoked")},h=>{this.logger.error("Error revoking token",h),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",h)),p(h)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return he.\u0275fac=function(o){return new(o||he)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpClient),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(_angular_common__WEBPACK_IMPORTED_MODULE_18__.DOCUMENT),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(DateTimeProvider))},he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(A){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(A)}}let DefaultOAuthInterceptor=(()=>{class he{constructor(o,n,l){this.oAuthService=o,this.errorHandler=n,this.moduleConfig=l}checkUrl(o){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(o):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(n=>o.toLowerCase().startsWith(n.toLowerCase()))}intercept(o,n){const l=o.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(l)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(c=>!!c)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(c=>"token_received"===c.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(c=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(c=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(c=>{if(c){const d=o.headers.set("Authorization","Bearer "+c);o=o.clone({headers:d})}return n.handle(o).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(r=>this.errorHandler.handleError(r)))})):n.handle(o).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(c=>this.errorHandler.handleError(c))):n.handle(o)}}return he.\u0275fac=function(o){return new(o||he)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthModuleConfig,8))},he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})();class NullValidationHandler{validateSignature(A){return Promise.resolve(null)}validateAtHash(A){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class he{static forRoot(o=null,n=NullValidationHandler){return{ngModule:he,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:n},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:o},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HTTP_INTERCEPTORS,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return he.\u0275fac=function(o){return new(o||he)},he.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjector({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.CommonModule]]}),he})();const err="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";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken("AUTH_CONFIG")},8231:(he,A,o)=>{"use strict";o.r(A),o.d(A,{version:()=>n,VERSION:()=>l,atob:()=>oe,atobPolyfill:()=>pe,btoa:()=>D,btoaPolyfill:()=>w,fromBase64:()=>Ce,toBase64:()=>Q,utob:()=>G,encode:()=>Q,encodeURI:()=>q,encodeURL:()=>q,btou:()=>xe,decode:()=>Ce,isValid:()=>Te,fromUint8Array:()=>Y,toUint8Array:()=>U,extendString:()=>tt,extendUint8Array:()=>ot,extendBuiltins:()=>pt,Base64:()=>Dt});const n="3.7.2",l=n,u="function"==typeof atob,c="function"==typeof btoa,r="function"==typeof Buffer,d="function"==typeof TextDecoder?new TextDecoder:void 0,m="function"==typeof TextEncoder?new TextEncoder:void 0,y=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),b=(Ie=>{let Qe={};return Ie.forEach((ct,bt)=>Qe[ct]=bt),Qe})(y),h=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,g=String.fromCharCode.bind(String),s="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):(Ie,Qe=(ct=>ct))=>new Uint8Array(Array.prototype.slice.call(Ie,0).map(Qe)),C=Ie=>Ie.replace(/=/g,"").replace(/[+\/]/g,Qe=>"+"==Qe?"-":"_"),P=Ie=>Ie.replace(/[^A-Za-z0-9\+\/]/g,""),w=Ie=>{let Qe,ct,bt,Et,xt="";const dt=Ie.length%3;for(let Ne=0;Ne255||(bt=Ie.charCodeAt(Ne++))>255||(Et=Ie.charCodeAt(Ne++))>255)throw new TypeError("invalid character found");Qe=ct<<16|bt<<8|Et,xt+=y[Qe>>18&63]+y[Qe>>12&63]+y[Qe>>6&63]+y[63&Qe]}return dt?xt.slice(0,dt-3)+"===".substring(dt):xt},D=c?Ie=>btoa(Ie):r?Ie=>Buffer.from(Ie,"binary").toString("base64"):w,T=r?Ie=>Buffer.from(Ie).toString("base64"):Ie=>{let ct=[];for(let bt=0,Et=Ie.length;btQe?C(T(Ie)):T(Ie),$=Ie=>{if(Ie.length<2)return(Qe=Ie.charCodeAt(0))<128?Ie:Qe<2048?g(192|Qe>>>6)+g(128|63&Qe):g(224|Qe>>>12&15)+g(128|Qe>>>6&63)+g(128|63&Qe);var Qe=65536+1024*(Ie.charCodeAt(0)-55296)+(Ie.charCodeAt(1)-56320);return g(240|Qe>>>18&7)+g(128|Qe>>>12&63)+g(128|Qe>>>6&63)+g(128|63&Qe)},z=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,G=Ie=>Ie.replace(z,$),X=r?Ie=>Buffer.from(Ie,"utf8").toString("base64"):m?Ie=>T(m.encode(Ie)):Ie=>D(G(Ie)),Q=(Ie,Qe=!1)=>Qe?C(X(Ie)):X(Ie),q=Ie=>Q(Ie,!0),ue=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,me=Ie=>{switch(Ie.length){case 4:var ct=((7&Ie.charCodeAt(0))<<18|(63&Ie.charCodeAt(1))<<12|(63&Ie.charCodeAt(2))<<6|63&Ie.charCodeAt(3))-65536;return g(55296+(ct>>>10))+g(56320+(1023&ct));case 3:return g((15&Ie.charCodeAt(0))<<12|(63&Ie.charCodeAt(1))<<6|63&Ie.charCodeAt(2));default:return g((31&Ie.charCodeAt(0))<<6|63&Ie.charCodeAt(1))}},xe=Ie=>Ie.replace(ue,me),pe=Ie=>{if(Ie=Ie.replace(/\s+/g,""),!h.test(Ie))throw new TypeError("malformed base64.");Ie+="==".slice(2-(3&Ie.length));let Qe,bt,Et,ct="";for(let xt=0;xt>16&255):64===Et?g(Qe>>16&255,Qe>>8&255):g(Qe>>16&255,Qe>>8&255,255&Qe);return ct},oe=u?Ie=>atob(P(Ie)):r?Ie=>Buffer.from(Ie,"base64").toString("binary"):pe,ae=r?Ie=>s(Buffer.from(Ie,"base64")):Ie=>s(oe(Ie),Qe=>Qe.charCodeAt(0)),U=Ie=>ae(le(Ie)),ie=r?Ie=>Buffer.from(Ie,"base64").toString("utf8"):d?Ie=>d.decode(ae(Ie)):Ie=>xe(oe(Ie)),le=Ie=>P(Ie.replace(/[-_]/g,Qe=>"-"==Qe?"+":"/")),Ce=Ie=>ie(le(Ie)),Te=Ie=>{if("string"!=typeof Ie)return!1;const Qe=Ie.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(Qe)||!/[^\s0-9a-zA-Z\-_]/.test(Qe)},Ke=Ie=>({value:Ie,enumerable:!1,writable:!0,configurable:!0}),tt=function(){const Ie=(Qe,ct)=>Object.defineProperty(String.prototype,Qe,Ke(ct));Ie("fromBase64",function(){return Ce(this)}),Ie("toBase64",function(Qe){return Q(this,Qe)}),Ie("toBase64URI",function(){return Q(this,!0)}),Ie("toBase64URL",function(){return Q(this,!0)}),Ie("toUint8Array",function(){return U(this)})},ot=function(){const Ie=(Qe,ct)=>Object.defineProperty(Uint8Array.prototype,Qe,Ke(ct));Ie("toBase64",function(Qe){return Y(this,Qe)}),Ie("toBase64URI",function(){return Y(this,!0)}),Ie("toBase64URL",function(){return Y(this,!0)})},pt=()=>{tt(),ot()},Dt={version:n,VERSION:l,atob:oe,atobPolyfill:pe,btoa:D,btoaPolyfill:w,fromBase64:Ce,toBase64:Q,encode:Q,encodeURI:q,encodeURL:q,utob:G,btou:xe,decode:Ce,isValid:Te,fromUint8Array:Y,toUint8Array:U,extendString:tt,extendUint8Array:ot,extendBuiltins:pt}},8210:he=>{"use strict";he.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]]}}')},4147:he=>{"use strict";he.exports=JSON.parse('{"name":"mag-client","version":"2.5.54","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":"^13.1.1","@angular/common":"^13.1.1","@angular/core":"^13.1.1","@angular/forms":"^13.1.1","@angular/material":"^13.1.1","@angular/platform-browser":"^13.1.1","@angular/platform-browser-dynamic":"^13.1.1","@angular/router":"^13.1.1","@ngx-translate/core":"^11.0.1","@ngx-translate/http-loader":"^4.0.0","@types/jasmine":"^3.6.9","@types/pako":"^1.0.3","ace-builds":"^1.4.14","angular-oauth2-oidc":"^13.0.1","browserify-zlib":"^0.2.0","core-js":"^2.6.2","debug":"^4.3.1","fhir-kit-client":"1.9.2","fhirpath":"^2.10.2","jasmine":"^3.7.0","js-base64":"^3.7.2","js-untar":"^2.0.0","ngx-highlightjs":"^4.1.3","pako":"^2.0.4","rxjs":"^6.6.7","tslib":"^2.0.0","uuid":"^8.3.2","yarn":"^1.22.17","zone.js":"^0.11.4"},"devDependencies":{"@angular-devkit/build-angular":"^13.1.2","@angular-eslint/builder":"13.0.0-alpha.1","@angular-eslint/eslint-plugin":"13.0.0-alpha.1","@angular-eslint/eslint-plugin-template":"13.0.0-alpha.1","@angular-eslint/schematics":"13.0.0-alpha.1","@angular-eslint/template-parser":"13.0.0-alpha.1","@angular/cli":"^13.1.2","@angular/compiler-cli":"^13.1.1","@angular/language-service":"^13.1.1","@types/debug":"^4.1.5","@types/node":"^10.12.18","@types/ramda":"^0.26.44","@typescript-eslint/eslint-plugin":"5.3.0","@typescript-eslint/parser":"5.3.0","eslint":"^8.2.0","husky":"^1.3.1","jasmine-core":"~3.6.0","jasmine-spec-reporter":"~5.0.0","json-patch":"^0.7.0","karma":"~6.3.1","karma-chrome-launcher":"~3.1.0","karma-cli":"~2.0.0","karma-coverage-istanbul-reporter":"~3.0.2","karma-jasmine":"~4.0.0","karma-jasmine-html-reporter":"^1.5.0","prettier":"2.2.1","pretty-quick":"^1.10.0","protractor":"~7.0.0","ts-node":"~7.0.1","tslint":"~6.1.0","typescript":"~4.5.4"},"browser":{"fs":false,"os":false,"path":false,"zlib":false},"prettier":{"singleQuote":true,"trailingComma":"es5"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}}}')}},he=>{he(he.s=4431)}]); \ No newline at end of file diff --git a/src/main/resources/static/main.e17b1d40bcbcfe0a.js b/src/main/resources/static/main.e17b1d40bcbcfe0a.js deleted file mode 100644 index 916f62be..00000000 --- a/src/main/resources/static/main.e17b1d40bcbcfe0a.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[179],{5424:(he,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Ucum=void 0,A.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"}}},6227:(he,A,o)=>{"use strict";A.R=void 0;var l=o(5424),u=o(5984);class c{constructor(d){if(0===l.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==d)this.assignZero();else if(d instanceof Array){if(d.length!==l.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(d)}`);this.dimVec_=[];for(let m=0;m=l.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[d]=1}}setElementAt(d,m){if(!u(d)||d<0||d>=l.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${d})`);this.dimVec_||this.assignZero(),null==m&&(m=1),this.dimVec_[d]=m}getElementAt(d){if(!u(d)||d<0||d>=l.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${d})`);let m=null;return this.dimVec_&&(m=this.dimVec_[d]),m}getProperty(d){return this["_"===d.charAt(d.length-1)?d:d+"_"]}toString(){let d=null;return this.dimVec_&&(d="["+this.dimVec_.join(", ")+"]"),d}add(d){if(!d instanceof c)throw new Error(`Dimension.add called with an invalid parameter - ${typeof d} instead of a Dimension object`);if(this.dimVec_&&d.dimVec_)for(let m=0;m{"use strict";A.DP=function(y){const b=y&&y.config;if(b){if(b.length&&y.data){const h=c(b);return y.data.map(d.bind(null,h))}return y.data}return y};function c(y){return y.map(b=>Array.isArray(b)?b:[b])}function d(y,b){let h={};return y.forEach((g,s)=>{let C=h;for(let P=0;P{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Prefix=void 0,o(5424),A.Prefix=class{constructor(c){if(null==c.code_||null==c.name_||null==c.value_||void 0===c.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_=c.code_,this.ciCode_=c.ciCode_,this.name_=c.name_,this.printSymbol_=c.printSymbol_,this.value_="string"==typeof c.value_?parseFloat(c.value_):c.value_,this.exp_=c.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(c){return this.code_===c.code_&&this.ciCode_===c.ciCode_&&this.name_===c.name_&&this.printSymbol_===c.printSymbol_&&this.value_===c.value_&&this.exp_===c.exp_}}},5361:(he,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.PrefixTables=A.PrefixTablesFactory=void 0;class o{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let c="",r=Object.keys(this.byValue_),d=r.length;for(let m=0;m{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var n=new class{constructor(){this.funcs={},this.funcs.cel={cnvTo:function(u){return u-273.15},cnvFrom:function(u){return u+273.15}},this.funcs.degf={cnvTo:function(u){return u-459.67},cnvFrom:function(u){return u+459.67}},this.funcs.degre={cnvTo:function(u){return u-273.15},cnvFrom:function(u){return u+273.15}},this.funcs.ph={cnvTo:function(u){return-Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,-u)}},this.funcs.ln={cnvTo:function(u){return Math.log(u)},cnvFrom:function(u){return Math.exp(u)}},this.funcs["2ln"]={cnvTo:function(u){return 2*Math.log(u)},cnvFrom:function(u){return Math.exp(u/2)}},this.funcs.lg={cnvTo:function(u){return Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,u)}},this.funcs["10lg"]={cnvTo:function(u){return 10*Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,u/10)}},this.funcs["20lg"]={cnvTo:function(u){return 20*Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,u/20)}},this.funcs["2lg"]={cnvTo:function(u){return 2*Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,u/2)}},this.funcs.lgtimes2=this.funcs["2lg"],this.funcs.ld={cnvTo:function(u){return Math.log(u)/Math.LN2},cnvFrom:function(u){return Math.pow(2,u)}},this.funcs["100tan"]={cnvTo:function(u){return 100*Math.tan(u)},cnvFrom:function(u){return Math.atan(u/100)}},this.funcs.tanTimes100=this.funcs["100tan"],this.funcs.sqrt={cnvTo:function(u){return Math.sqrt(u)},cnvFrom:function(u){return u*u}},this.funcs.inv={cnvTo:function(u){return 1/u},cnvFrom:function(u){return 1/u}},this.funcs.hpX={cnvTo:function(u){return-this.funcs.lg(u)},cnvFrom:function(u){return Math.pow(10,-u)}},this.funcs.hpC={cnvTo:function(u){return-this.func.ln(u)/this.funcs.ln(100)},cnvFrom:function(u){return Math.pow(100,-u)}},this.funcs.hpM={cnvTo:function(u){return-this.funcs.ln(u)/this.funcs.ln(1e3)},cnvFrom:function(u){return Math.pow(1e3,-u)}},this.funcs.hpQ={cnvTo:function(u){return-this.funcs.ln(u)/this.funcs.ln(5e4)},cnvFrom:function(u){return Math.pow(5e4,-u)}}}forName(u){u=u.toLowerCase();let c=this.funcs[u];if(null===c)throw new Error(`Requested function ${u} is not defined`);return c}isDefined(u){return u=u.toLowerCase(),null!==this.funcs[u]}};A.default=n},4693:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.isNumericString=function(r){let d=""+r;return!isNaN(d)&&!isNaN(parseFloat(d))},A.isIntegerUnit=function(r){return/^\d+$/.test(r)},A.getSynonyms=function(r){let d={},p={};if(p=n.getInstance().getUnitBySynonym(r),p.units){d.status="succeeded";let y=p.units.length;d.units=[];for(let b=0;b{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ucumJsonDefs=A.UcumJsonDefs=void 0;var n=o(3355),l=o(5361),u=o(8897),c=o(8334),r=o(4784).DP;class d{loadJsonDefs(){const y=o(8210);if(y.prefixes=r(y.prefixes),y.units=r(y.units),0===c.UnitTables.getInstance().unitsCount()){let b=l.PrefixTables.getInstance(),h=y.prefixes,g=h.length;for(let w=0;w{"use strict";A.n=void 0;var l=o(6395),u=function(b){if(b&&b.__esModule)return b;if(null===b||"object"!=typeof b&&"function"!=typeof b)return{default:b};var h=c();if(h&&h.has(b))return h.get(b);var g={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in b)if(Object.prototype.hasOwnProperty.call(b,C)){var P=s?Object.getOwnPropertyDescriptor(b,C):null;P&&(P.get||P.set)?Object.defineProperty(g,C,P):g[C]=b[C]}return g.default=b,h&&h.set(b,g),g}(o(4693));function c(){if("function"!=typeof WeakMap)return null;var b=new WeakMap;return c=function(){return b},b}var d=o(5424).Ucum,m=o(8334).UnitTables,p=o(5744).T;class y{constructor(){0===m.getInstance().unitsCount()&&l.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=p.getInstance()}useHTMLInMessages(h){void 0===h&&(h=!0),this.uStrParser_.useHTMLInMessages(h)}useBraceMsgForEachString(h){void 0===h&&(h=!0),this.uStrParser_.useBraceMsgForEachString(h)}validateUnitString(h,g,s){void 0===g&&(g=!1),void 0===s&&(s="validate");let C=this.getSpecifiedUnit(h,s,g),P=C.unit,w={};return w=P?{status:C.origString===h?"valid":"invalid",ucumCode:C.origString,unit:{code:P.csCode_,name:P.name_,guidance:P.guidance_}}:{status:C.origString&&null!==C.origString?"invalid":"error",ucumCode:null},C.suggestions&&(w.suggestions=C.suggestions),w.msg=C.retMsg,w}convertUnitTo(h,g,s,C,P){void 0===C&&(C=!1),void 0===P&&(P=null);let w={status:"failed",toVal:null,msg:[]};if(h&&(h=h.trim()),(!h||""==h)&&(w.status="error",w.msg.push('No "from" unit expression specified.')),(null===g||isNaN(g)||"number"!=typeof g&&!u.isNumericString(g))&&(w.status="error",w.msg.push('No "from" value, or an invalid "from" value, was specified.')),s&&(s=s.trim()),(!s||""==s)&&(w.status="error",w.msg.push('No "to" unit expression specified.')),"error"!==w.status)try{let D=null,T=this.getSpecifiedUnit(h,"convert",C);D=T.unit,T.retMsg&&(w.msg=w.msg.concat(T.retMsg)),T.suggestions&&(w.suggestions={},w.suggestions.from=T.suggestions),D||w.msg.push(`Unable to find a unit for ${h}, so no conversion could be performed.`);let Y=null;if(T=this.getSpecifiedUnit(s,"convert",C),Y=T.unit,T.retMsg&&(w.msg=w.msg.concat(T.retMsg)),T.suggestions&&(w.suggestions||(w.suggestions={}),w.suggestions.to=T.suggestions),Y||w.msg.push(`Unable to find a unit for ${s}, so no conversion could be performed.`),D&&Y)try{if(P){if(0!==D.moleExp_&&0!==Y.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===D.moleExp_&&0===Y.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(!D.isMoleMassCommensurable(Y))throw new Error(`Sorry. ${h} cannot be converted to ${s}.`);w.toVal=0!==D.moleExp_?D.convertMolToMass(g,Y,P):D.convertMassToMol(g,Y,P)}else w.toVal=Y.convertFrom(g,D);w.status="succeeded",w.fromUnit=D,w.toUnit=Y}catch($){w.status="failed",w.msg.push($.message)}}catch(D){w.status=D.message==d.needMoleWeightMsg_?"failed":"error",w.msg.push(D.message)}return w}checkSynonyms(h){let g={};return null==h?(g.status="error",g.msg="No term specified for synonym search."):g=u.getSynonyms(h),g}getSpecifiedUnit(h,g,s){void 0===s&&(s=!1);let C={retMsg:[]};if(h){let P=m.getInstance();h=h.trim();let w=P.getUnitByCode(h);if(w)C.unit=w,C.origString=h;else try{let D=this.uStrParser_.parseString(h,g,s);C.unit=D[0],C.origString=D[1],D[2]&&(C.retMsg=D[2]),C.suggestions=D[3]}catch(D){console.log(`Unit requested for unit string ${h}.request unsuccessful; error thrown = `+D.message),C.retMsg.unshift(`${h} is not a valid unit. ${D.message}`)}}else C.retMsg.push("No unit string specified.");return C}commensurablesList(h){let g=[],s=null,C=this.getSpecifiedUnit(h,"validate",!1),P=C.unit;if(C.retMsg.length>0&&(g=C.retMsg),P){let w=null,D=P.getProperty("dim_");if(D){try{w=D.getProperty("dimVec_")}catch(T){g.push(T.message),"Dimension does not have requested property(dimVec_)"===T.message&&(w=null)}w&&(s=m.getInstance().getUnitsByDimension(w))}else g.push("No commensurable units were found for "+h)}else g.push(`Could not find unit ${h}.`);return[s,g]}}A.n=y,y.getInstance=function(){return new y}},1334:(he,A,o)=>{"use strict";A.ng=void 0,o(5424);var u=o(4854).n;A.ng=u,o(8334)},8897:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Unit=void 0;var h,n=(h=o(8287))&&h.__esModule?h:{default:h},l=function(h){if(h&&h.__esModule)return h;if(null===h||"object"!=typeof h&&"function"!=typeof h)return{default:h};var g=u();if(g&&g.has(h))return g.get(h);var s={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in h)if(Object.prototype.hasOwnProperty.call(h,P)){var w=C?Object.getOwnPropertyDescriptor(h,P):null;w&&(w.get||w.set)?Object.defineProperty(s,P,w):s[P]=h[P]}return s.default=h,g&&g.set(h,s),s}(o(4693));function u(){if("function"!=typeof WeakMap)return null;var h=new WeakMap;return u=function(){return h},h}var p,d=o(5424).Ucum,m=o(6227).R,y=o(5984);class b{constructor(g={}){this.isBase_=g.isBase_||!1,this.name_=g.name_||"",this.csCode_=g.csCode_||"",this.ciCode_=g.ciCode_||"",this.property_=g.property_||"",this.magnitude_=g.magnitude_||1,this.dim_=null==g.dim_?new m:void 0!==g.dim_.dimVec_?new m(g.dim_.dimVec_):g.dim_ instanceof m?g.dim_:g.dim_ instanceof Array||y(g.dim_)?new m(g.dim_):new m,this.printSymbol_=g.printSymbol_||null,this.class_=g.class_||null,this.isMetric_=g.isMetric_||!1,this.variable_=g.variable_||null,this.cnv_=g.cnv_||null,this.cnvPfx_=g.cnvPfx_||1,this.isSpecial_=g.isSpecial_||!1,this.isArbitrary_=g.isArbitrary_||!1,this.moleExp_=g.moleExp_||0,this.synonyms_=g.synonyms_||null,this.source_=g.source_||null,this.loincProperty_=g.loincProperty_||null,this.category_=g.category_||null,this.guidance_=g.guidance_||null,this.csUnitString_=g.csUnitString_||null,this.ciUnitString_=g.ciUnitString_||null,this.baseFactorStr_=g.baseFactorStr_||null,this.baseFactor_=g.baseFactor_||null,this.defError_=g.defError_||!1}assignUnity(){return this.name_="",this.magnitude_=1,this.dim_||(this.dim_=new m),this.dim_.assignZero(),this.cnv_=null,this.cnvPfx_=1,this}assignVals(g){for(let s in g){let C="_"===!s.charAt(s.length-1)?s+"_":s;if(!this.hasOwnProperty(C))throw new Error(`Parameter error; ${s} is not a property of a Unit`);this[C]=g[s]}}clone(){let g=new b;return Object.getOwnPropertyNames(this).forEach(s=>{"dim_"===s?g.dim_=this.dim_?this.dim_.clone():null:g[s]=this[s]}),g}assign(g){Object.getOwnPropertyNames(g).forEach(s=>{"dim_"===s?this.dim_=g.dim_?g.dim_.clone():null:this[s]=g[s]})}equals(g){return this.magnitude_===g.magnitude_&&this.cnv_===g.cnv_&&this.cnvPfx_===g.cnvPfx_&&(null===this.dim_&&null===g.dim_||this.dim_.equals(g.dim_))}fullEquals(g){let s=Object.keys(this).sort(),C=Object.keys(g).sort(),P=s.length,w=P===C.length;for(let D=0;D0){let s=g.replace("/","!").replace(".","/").replace("!",".");switch(s.charAt(0)){case".":g=s.substr(1);break;case"/":g=s;break;default:g="/"+s}}return g}_concatStrs(g,s,C,P,w){return this._buildOneString(g,P,w)+s+this._buildOneString(C,P,w)}_buildOneString(g,s,C){let P="";return P=l.isNumericString(g)||"("===g.charAt(0)||"["===g.charAt(0)?g:/[./* ]/.test(g)?s+g+C:g,P}power(g){if(null!=this.cnv_)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let C=this.csCode_.match(/([./]|[^./]+)/g),P=C.length;for(let w=0;w=0;$--){let z=parseInt(D[$]);if(!y(z)){if(("-"===D[$]||"+"===D[$])&&$--,${"use strict";A.T=void 0;var l=function(b){if(b&&b.__esModule)return b;if(null===b||"object"!=typeof b&&"function"!=typeof b)return{default:b};var h=u();if(h&&h.has(b))return h.get(b);var g={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in b)if(Object.prototype.hasOwnProperty.call(b,C)){var P=s?Object.getOwnPropertyDescriptor(b,C):null;P&&(P.get||P.set)?Object.defineProperty(g,C,P):g[C]=b[C]}return g.default=b,h&&h.set(b,g),g}(o(4693));function u(){if("function"!=typeof WeakMap)return null;var b=new WeakMap;return u=function(){return b},b}var r=o(5424).Ucum,d=o(8897).Unit,m=o(8334).UnitTables,p=o(5361).PrefixTables;class y{constructor(){this.utabs_=m.getInstance(),this.pfxTabs_=p.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(h){void 0===h||h?(this.openEmph_=r.openEmphHTML_,this.closeEmph_=r.closeEmphHTML_):(this.openEmph_=r.openEmph_,this.closeEmph_=r.closeEmph_)}useBraceMsgForEachString(h){this.bracesMsg_=void 0===h||h?r.bracesMsg_:""}parseString(h,g,s){if(""===(h=h.trim())||null===h)throw new Error("Please specify a unit expression to be validated.");"validate"===g?(this.vcMsgStart_=r.valMsgStart_,this.vcMsgEnd_=r.valMsgEnd_):(this.vcMsgStart_=r.cnvMsgStart_,this.vcMsgEnd_=r.cnvMsgEnd_),this.suggestions_=void 0===s||!1===s?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];let C=h,P=[];if(h=this._getAnnotations(h),this.retMsg_.length>0)P[0]=null,P[1]=null;else{let D=null;for(D in r.specUnits_)for(;-1!==h.indexOf(D);)h=h.replace(D,r.specUnits_[D]);if(h.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");P=this._parseTheString(h,C);let T=P[0];(l.isIntegerUnit(T)||"number"==typeof T)&&(T=new d({csCode_:C,magnitude_:T,name_:C}),P[0]=T)}return P[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(P[3]=this.suggestions_),P}_parseTheString(h,g){let s=null,C=this.retMsg_.length>0,P=this._processParens(h,g);C=P[2];let w=[];if(!C){let D=this._makeUnitsArray(h=P[0],g=P[1]);if(C=D[2],!C){w=D[0],g=D[1];let T=w.length;for(let Y=0;Y=0){let z=this._getParensUnit($,g);C||(C=z[1]),C||(w[Y].un=z[0])}else{let z=this._makeUnit($,g);null===z[0]?C=!0:(w[Y].un=z[0],g=z[1])}}}}return C||(null===w[0]||" "===w[0]||null==w[0].un)&&0===this.retMsg_.length&&(this.retMsg_.push(`Unit string (${g}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),C=!0),C||(s=this._performUnitArithmetic(w,g)),[s,g]}_getAnnotations(h){let g=h.indexOf("{");for(;g>=0;){let C=h.indexOf("}");if(C<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+h.substr(g)+this.closeEmph_),g=-1;else{let P=h.substring(g,C+1),w=this.annotations_.length.toString();h=h.replace(P,this.braceFlag_+w+this.braceFlag_),this.annotations_.push(P),g=h.indexOf("{")}}let s=h.indexOf("}");return s>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+h.substring(0,s+1)+this.closeEmph_),h}_processParens(h,g){let s=[],C=0,P=!1,w=this.parensUnits_.length,D=0;for(;""!==h&&!P;){let T=0,Y=0,$=h.indexOf("(");if($<0){let z=h.indexOf(")");if(z>=0){let G=`Missing open parenthesis for close parenthesis at ${h.substring(0,z+D)}${this.openEmph_}${h.substr(z,1)}${this.closeEmph_}`;z0&&(s[C++]=h.substr(0,$));let G=0,X=$+1;for(;X0&&(Y=h.substr(0,T-1));let $=h.lastIndexOf(this.parensFlag_),z=null;$+this.pFlagLen_=0){let X=this._getAnnoText(Y,g);if(X[1]||X[2])throw new Error(`Text found before the parentheses (${Y}) included an annotation along with other text for parenthetical unit ${P.csCode_}`);this.retMsg_.push(`The annotation ${X[0]} before the unit code is invalid.\n`+this.vcMsgStart_+(h+=X[0])+this.vcMsgEnd_)}else this.suggestions_?s="succeeded"!==this._getSuggestions(Y):(this.retMsg_.push(`${Y} preceding the unit code ${h} is invalid. Unable to make a substitution.`),s=!0);if(z)if(z.indexOf(this.braceFlag_)>=0){let X=this._getAnnoText(z,g);if(X[1]||X[2])throw new Error(`Text found after the parentheses (${z}) included an annotation along with other text for parenthetical unit ${P.csCode_}`);h+=X[0]}else l.isNumericString(z)?(h+=z,P=P.power(Number(z)),this.retMsg_.push(`An exponent (${z}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.\n `+this.vcMsgStart_+h+this.vcMsgEnd_)):this.suggestions_?s="succeeded"!==this._getSuggestions(Y):(this.retMsg_.push(`Text ${z} following the unit code ${h} is invalid. Unable to make a substitution.`),s=!0);return s||(P?l.isIntegerUnit(P)?P=new d({csCode_:P,magnitude_:P,name_:P}):P.csCode_=h:P=new d({csCode_:h,magnitude_:1,name_:h})),[P,s]}_getAnnoText(h,g){let s=h.indexOf(this.braceFlag_),C=s>0?h.substring(0,s):null;0!==s&&(h=h.substr(s));let P=h.indexOf(this.braceFlag_,1),w=P+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${D} found in ${h} that was created from ${g}`);return[h=this.annotations_[T],C,w]}_getSuggestions(h){let g=l.getSynonyms(h);if("succeeded"===g.status){let s={};s.msg=`${h} is not a valid UCUM code. We found possible units that might be what was meant:`,s.invalidUnit=h;let C=g.units.length;s.units=[];for(let P=0;P=0){let C=this._getUnitWithAnnotation(h,g);s=C[0],s&&(g=C[1])}else{if(h.indexOf("^")>-1){let C=h.replace("^","*");s=this.utabs_.getUnitByCode(C),s&&(s=s.clone(),s.csCode_=s.csCode_.replace("*","^"),s.ciCode_=s.ciCode_.replace("*","^"))}if(!s){let C="["+h+"]";s=this.utabs_.getUnitByCode(C),s&&(s=s.clone(),g=g.replace(h,C),this.retMsg_.push(`${h} is not a valid unit expression, but ${C} is.\n`+this.vcMsgStart_+`${C} (${s.name_})${this.vcMsgEnd_}`))}if(!s){let C=this.utabs_.getUnitByName(h);if(C&&C.length>0){s=C[0].clone();let P="The UCUM code for "+h+" is "+s.csCode_+".\n"+this.vcMsgStart_+s.csCode_+this.vcMsgEnd_,w=!1;for(let Y=0;Y"+xe+"",csCode_:me+xe,ciCode_:q+xe,printSymbol_:ue+""+xe+""})}}else s=null,this.suggestions_?this._getSuggestions(C):this.retMsg_.push(`${C} is not a valid UCUM code.`)}}return[s,g]}_getUnitWithAnnotation(h,g){let s=null,C=this._getAnnoText(h,g),P=C[0],w=C[1],D=C[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);let T=this.retMsg_.length;if(w||D)if(w&&!D)if(l.isIntegerUnit(w))s=w;else{let Y=this._makeUnit(w,g);Y[0]?(s=Y[0],s.csCode_+=P,g=Y[1]):this.retMsg_.push(`Unable to find a unit for ${w} that precedes the annotation ${P}.`)}else if(!w&&D)if(l.isIntegerUnit(D))s=D+P,this.retMsg_.push(`The annotation ${P} before the ``${D} is invalid.\n`+this.vcMsgStart_+s+this.vcMsgEnd_);else{let Y=this._makeUnit(D,g);Y[0]?(s=Y[0],s.csCode_+=P,g=s.csCode_,this.retMsg_.push(`The annotation ${P} before the unit code is invalid.\n`+this.vcMsgStart_+s.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${w} that follows the annotation ${P}.`)}else this.retMsg_.push(`Unable to find a unit for ${w}${P}${D}.\nWe are not sure how to interpret text both before and after the annotation. Sorry`);else{let Y="["+P.substring(1,P.length-1)+"]",$=this._makeUnit(Y,g);$[0]?(s=$[0],g=g.replace(P,Y),this.retMsg_.push(`${P} is not a valid unit expression, but ${Y} is.\n`+this.vcMsgStart_+`${Y} (${s.name_})${this.vcMsgEnd_}`)):(this.retMsg_.length>T&&this.retMsg_.pop(),h=1,s=1)}return[s,g]}_performUnitArithmetic(h,g){let s=h[0].un;l.isIntegerUnit(s)&&(s=new d({csCode_:s,magnitude_:Number(s),name_:s}));let C=h.length,P=!1;for(let w=1;w{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.UnitTables=void 0;var n=o(5424).Ucum,u=new class{constructor(){this.unitNames_={},this.unitCodes_={},this.codeOrder_=[],this.unitStrings_={},this.unitDimensions_={},this.unitSynonyms_={},this.massDimIndex_=0}unitsCount(){return Object.keys(this.unitCodes_).length}addUnit(d){d.name_&&this.addUnitName(d),this.addUnitCode(d),this.addUnitString(d);try{d.dim_.getProperty("dimVec_")&&this.addUnitDimension(d)}catch(p){}}addUnitName(d){let m=d.name_;if(!m)throw new Error(`UnitTables.addUnitName called for a unit with no name. Unit code = ${d.csCode_}.`);this.unitNames_[m]?this.unitNames_[m].push(d):this.unitNames_[m]=[d]}addUnitCode(d){let m=d.csCode_;if(!m)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[m])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${m}`);if(this.unitCodes_[m]=d,this.codeOrder_.push(m),"g"==m){let p=d.dim_.dimVec_,y=0;for(;y=1&&(p=d.substr(m+n.codeSep_.length),d=d.substr(0,m));let y=this.unitNames_[d];if(y){let b=y.length;if(p&&b>1){let h=0;for(;y[h].csCode_!==p&&h0&&(p+=m),"dim_"===d[w])p+=null!=P.dim_&&P.dim_.dimVec_ instanceof Array?"["+P.dim_.dimVec_.join(",")+"]":"";else{let D=P[d[w]];p+="string"==typeof D?D.replace(/[\n\r]/g," "):D}p+="\r\n"}}return p}printUnits(d,m){void 0===d&&(d=!1),void 0===m&&(m="|");let p="",y=this.codeOrder_.length,b="csCode"+m;d&&(b+="ciCode"+m),b+="name"+m,d&&(b+="isBase"+m),b+="magnitude"+m+"dimension"+m+"from unit(s)"+m+"value"+m+"function"+m,d&&(b+="property"+m+"printSymbol"+m+"synonyms"+m+"source"+m+"class"+m+"isMetric"+m+"variable"+m+"isSpecial"+m+"isAbitrary"+m),b+="comment",p=b+"\n";for(let h=0;h{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.AppComponent=void 0;const n=o(655),c=(o(6165),o(2466),(0,n.__importStar)(o(5e3))),r=(0,n.__importStar)(o(2466)),d=(0,n.__importStar)(o(6165)),m=(0,n.__importStar)(o(4594)),p=(0,n.__importStar)(o(4202)),y=(0,n.__importStar)(o(7423)),b=(0,n.__importStar)(o(2181)),h=(0,n.__importStar)(o(5245));class g{constructor(C,P){C.setDefaultLang("de"),C.use(C.getBrowserLang());let w=location.href;w.indexOf("#")>0?w=w.substring(0,w.indexOf("#")-1)+"/fhir":w+="fhir",console.log("note: using fhir base "+w),P.changeMagMicroService(w)}}A.AppComponent=g,g.\u0275fac=function(C){return new(C||g)(c.\u0275\u0275directiveInject(r.TranslateService),c.\u0275\u0275directiveInject(d.FhirConfigService))},g.\u0275cmp=c.\u0275\u0275defineComponent({type:g,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(C,P){if(1&C&&(c.\u0275\u0275elementStart(0,"mat-toolbar",0),c.\u0275\u0275elementStart(1,"div",1),c.\u0275\u0275elementStart(2,"div",2),c.\u0275\u0275element(3,"img",3),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(4,"span",4),c.\u0275\u0275elementStart(5,"span"),c.\u0275\u0275elementStart(6,"button",5),c.\u0275\u0275elementStart(7,"mat-icon"),c.\u0275\u0275text(8,"more_vert"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(9,"mat-menu",null,6),c.\u0275\u0275elementStart(11,"button",7),c.\u0275\u0275elementStart(12,"mat-icon"),c.\u0275\u0275text(13,"home"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(14,"span"),c.\u0275\u0275text(15,"Home"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(16,"button",8),c.\u0275\u0275elementStart(17,"mat-icon"),c.\u0275\u0275text(18,"info"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(19,"span"),c.\u0275\u0275text(20,"CapabilityStatement"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(21,"button",9),c.\u0275\u0275elementStart(22,"mat-icon"),c.\u0275\u0275text(23,"search"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(24,"span"),c.\u0275\u0275text(25,"Mobile Access Gateway ..."),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(26,"button",10),c.\u0275\u0275elementStart(27,"mat-icon"),c.\u0275\u0275text(28,"people"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(29,"span"),c.\u0275\u0275text(30,"search Patients ..."),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(31,"button",11),c.\u0275\u0275elementStart(32,"mat-icon"),c.\u0275\u0275text(33,"settings"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(34,"span"),c.\u0275\u0275text(35,"Settings"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(36,"main",12),c.\u0275\u0275element(37,"router-outlet"),c.\u0275\u0275elementEnd()),2&C){const w=c.\u0275\u0275reference(10);c.\u0275\u0275advance(6),c.\u0275\u0275property("matMenuTriggerFor",w)}},directives:[m.MatToolbar,p.RouterLink,y.MatButton,b.MatMenuTrigger,h.MatIcon,b.MatMenu,b.MatMenuItem,p.RouterOutlet],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}}"]})},6747:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.AppModule=A.createTranslateLoader=void 0;const n=o(655),l=o(520),u=o(4202),c=o(2466),r=o(1744),d=o(5041),m=o(7901),p=o(5067),y=o(9862),b=o(4586),h=o(4466),g=o(2756),s=o(5764),C=o(6114),P=(0,n.__importStar)(o(5e3)),Y=((0,n.__importStar)(o(4202)),(0,n.__importStar)(o(2466)),(0,n.__importStar)(o(6114)),[{path:"",component:p.HomeComponent},{path:"patients",component:y.PatientsComponent},{path:"CapabilityStatement",component:m.CapabilityStatementComponent},{path:"settings",component:b.SettingsComponent},{path:"mag",component:s.MagComponent}]);function $(G){return new r.TranslateHttpLoader(G,"./assets/i18n/",".json")}A.createTranslateLoader=$;class z{}A.AppModule=z,z.\u0275fac=function(X){return new(X||z)},z.\u0275mod=P.\u0275\u0275defineNgModule({type:z,bootstrap:[d.AppComponent]}),z.\u0275inj=P.\u0275\u0275defineInjector({providers:[{provide:g.HIGHLIGHT_OPTIONS,useValue:{coreLibraryLoader:()=>Promise.resolve().then(()=>(0,n.__importStar)(o(5241))),lineNumbersLoader:()=>Promise.resolve().then(()=>(0,n.__importStar)(o(859))),languages:{json:()=>Promise.resolve().then(()=>(0,n.__importStar)(o(7652))),xml:()=>Promise.resolve().then(()=>(0,n.__importStar)(o(1891)))}}}],imports:[[h.SharedModule,l.HttpClientModule,g.HighlightModule,u.RouterModule.forRoot(Y,{useHash:!0,relativeLinkResolution:"legacy"}),c.TranslateModule.forRoot({loader:{provide:c.TranslateLoader,useFactory:$,deps:[l.HttpClient]}}),C.OAuthModule.forRoot()]]})},7901:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CapabilityStatementComponent=void 0;const n=o(655),u=(o(6165),(0,n.__importStar)(o(5e3))),c=(0,n.__importStar)(o(6165)),r=(0,n.__importStar)(o(9224)),d=(0,n.__importStar)(o(2756)),m=(0,n.__importStar)(o(9808)),p=(0,n.__importStar)(o(7322));function y(g,s){if(1&g&&(u.\u0275\u0275elementStart(0,"li"),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&g){const C=s.$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",C.diagnostics," ")}}function b(g,s){if(1&g&&(u.\u0275\u0275elementStart(0,"mat-error"),u.\u0275\u0275elementStart(1,"ul"),u.\u0275\u0275template(2,y,2,1,"li",3),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd()),2&g){const C=u.\u0275\u0275nextContext();u.\u0275\u0275advance(2),u.\u0275\u0275property("ngForOf",C.operationOutcome.issue)}}class h{constructor(s){this.data=s,this.client=s.getMobileAccessGatewayClient(),this.client.capabilityStatement().then(C=>{this.operationOutcome=void 0,this.capabilitystatement=C}).catch(C=>{this.capabilitystatement=void 0,this.operationOutcome=C.response.data})}getJson(){return JSON.stringify(this.capabilitystatement,null,2)}ngOnInit(){}ngOnDestroy(){}}A.CapabilityStatementComponent=h,h.\u0275fac=function(s){return new(s||h)(u.\u0275\u0275directiveInject(c.FhirConfigService))},h.\u0275cmp=u.\u0275\u0275defineComponent({type:h,selectors:[["app-capability-statement"]],decls:8,vars:4,consts:[[1,"display"],[3,"highlight","lineNumbers"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(s,C){1&s&&(u.\u0275\u0275elementStart(0,"mat-card",0),u.\u0275\u0275elementStart(1,"mat-card-content"),u.\u0275\u0275elementStart(2,"mat-card-header"),u.\u0275\u0275elementStart(3,"mat-card-title"),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"pre"),u.\u0275\u0275element(6,"code",1),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(7,b,3,1,"mat-error",2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd()),2&s&&(u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(C.client.baseUrl),u.\u0275\u0275advance(2),u.\u0275\u0275property("highlight",C.getJson())("lineNumbers",!0),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",C.operationOutcome))},directives:[r.MatCard,r.MatCardContent,r.MatCardHeader,r.MatCardTitle,d.Highlight,m.NgIf,p.MatError,m.NgForOf],styles:[".display[_ngcontent-%COMP%]{display:inline-block}"]})},6165:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.FhirConfigService=void 0;const n=o(655),l=(0,n.__importDefault)(o(6336)),u=(0,n.__importStar)(o(5e3));class c{constructor(){}changeFhirMicroService(d){localStorage.setItem("fhirMicroServer",d)}changeMagMicroService(d){localStorage.setItem("magMicroService",d)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")||"/matchbox/fhir"}getMobileAccessGatewayService(){return localStorage.getItem("magMicroService")||"/mag/fhir"}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 l.default({baseUrl:this.getFhirMicroService()})}getMobileAccessGatewayClient(){return new l.default({baseUrl:this.getMobileAccessGatewayService()})}getAuthCodeFlowConfig(){return{loginUrl:this.getMobileAccessGatewayLoginUrl(),redirectUri:this.getRedirectUri(),tokenEndpoint:this.getMobileAccessGatewayTokenEndpoint(),clientId:this.getClientId(),responseType:"code",scope:"todo",dummyClientSecret:this.getClientSecret(),showDebugInformation:!0,timeoutFactor:.75}}}A.FhirConfigService=c,c.\u0275fac=function(d){return new(d||c)},c.\u0275prov=u.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})},6315:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.FhirPathService=void 0;const n=o(655),l=o(2729),u=(0,n.__importStar)(o(5e3));class c{evaluate(d,m){return(0,l.evaluate)(d,m,null)}evaluateToString(d,m){const p=this.evaluate(d,m);return p&&p instanceof Array&&1===p.length?p[0]:null}getOauthUriToken(d){return this.evaluateToString(d,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(d){return this.evaluateToString(d,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}}A.FhirPathService=c,c.\u0275fac=function(d){return new(d||c)},c.\u0275prov=u.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})},5067:(he,A,o)=>{"use strict";var n=o(8926).default;Object.defineProperty(A,"__esModule",{value:!0}),A.HomeComponent=void 0;const l=o(655),c=(o(4202),(0,l.__importDefault)(o(4147))),r=(0,l.__importStar)(o(5e3)),d=(0,l.__importStar)(o(4202)),m=(0,l.__importStar)(o(9224)),p=(0,l.__importStar)(o(2181)),y=(0,l.__importStar)(o(5245));class b{constructor(g){this.router=g,this.version=c.default.version}update(g){}tabChanged(g){console.log("tabChangeEvent => ",g),console.log("index => ",g.index),this.update(g.index)}ngOnInit(){var g=this;return n(function*(){g.update(0)})()}}A.HomeComponent=b,b.\u0275fac=function(g){return new(g||b)(r.\u0275\u0275directiveInject(d.Router))},b.\u0275cmp=r.\u0275\u0275defineComponent({type:b,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(g,s){1&g&&(r.\u0275\u0275elementStart(0,"mat-card",0),r.\u0275\u0275elementStart(1,"mat-card-content"),r.\u0275\u0275elementStart(2,"button",1),r.\u0275\u0275elementStart(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\u0275elementEnd(),r.\u0275\u0275elementStart(7,"button",2),r.\u0275\u0275elementStart(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\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"mat-card-footer"),r.\u0275\u0275elementStart(13,"p"),r.\u0275\u0275text(14),r.\u0275\u0275elementStart(15,"a",3),r.\u0275\u0275text(16,"contact"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&g&&(r.\u0275\u0275advance(14),r.\u0275\u0275textInterpolate1("version: ",s.version," "))},directives:[m.MatCard,m.MatCardContent,p.MatMenuItem,d.RouterLink,y.MatIcon,m.MatCardFooter],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}"]})},5764:(he,A,o)=>{"use strict";var n=o(8926).default;Object.defineProperty(A,"__esModule",{value:!0}),A.MagComponent=A.toLocaleDateTime=A.toLocaleTime=A.toLocaleHHMM=A.toLocaleDate=void 0;const l=o(655),r=(o(5e3),o(6165),o(3075)),m=(o(6315),o(520)),p=o(1464),y=o(8231),b=o(6346),h=o(6114),s=(o(4202),(0,l.__importStar)(o(5e3))),C=(0,l.__importStar)(o(6165)),P=(0,l.__importStar)(o(6315)),w=(0,l.__importStar)(o(520)),D=(0,l.__importStar)(o(6114)),T=(0,l.__importStar)(o(4202)),Y=(0,l.__importStar)(o(9224)),$=(0,l.__importStar)(o(7322)),z=(0,l.__importStar)(o(7531)),G=(0,l.__importStar)(o(3075)),X=(0,l.__importStar)(o(9808)),Q=(0,l.__importStar)(o(7423)),q=(0,l.__importStar)(o(6346)),ue=(0,l.__importStar)(o(68)),me=(0,l.__importStar)(o(2756)),xe=(0,l.__importStar)(o(773)),pe=(0,l.__importStar)(o(5245));function oe(Oe,ve){1&Oe&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275element(1,"mat-progress-spinner",42),s.\u0275\u0275elementContainerEnd())}function ae(Oe,ve){if(1&Oe){const Ae=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275elementStart(1,"button",28),s.\u0275\u0275listener("click",function(){return s.\u0275\u0275restoreView(Ae),s.\u0275\u0275nextContext().onFetchPatient()}),s.\u0275\u0275text(2," get Patient "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementContainerEnd()}}function U(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275element(2,"br"),s.\u0275\u0275text(3,"\xa0"),s.\u0275\u0275element(4,"br"),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext(2);s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate3(" ",null==Ae.patient.name[0]?null:Ae.patient.name[0].given," ",null==Ae.patient.name[0]?null:Ae.patient.name[0].family,", ",Ae.patient.birthDate," ")}}function ie(Oe,ve){if(1&Oe){const Ae=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275template(1,U,5,3,"div",3),s.\u0275\u0275elementStart(2,"div"),s.\u0275\u0275elementStart(3,"mat-form-field",1),s.\u0275\u0275elementStart(4,"mat-label"),s.\u0275\u0275text(5,"sourceIdentifier system"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(6,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(7," \xa0 "),s.\u0275\u0275elementStart(8,"mat-form-field",1),s.\u0275\u0275elementStart(9,"mat-label"),s.\u0275\u0275text(10,"sourceIdentifier value"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(11,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(12,"div"),s.\u0275\u0275elementStart(13,"mat-form-field",1),s.\u0275\u0275elementStart(14,"mat-label"),s.\u0275\u0275text(15,"managingOrganization oid"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(16,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(17," \xa0 "),s.\u0275\u0275elementStart(18,"mat-form-field",1),s.\u0275\u0275elementStart(19,"mat-label"),s.\u0275\u0275text(20,"managingOrganization name"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(21,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(22,"mat-card-actions"),s.\u0275\u0275elementStart(23,"button",4),s.\u0275\u0275listener("click",function(){return s.\u0275\u0275restoreView(Ae),s.\u0275\u0275nextContext().onPIXmFeedAdd()}),s.\u0275\u0275text(24," PIXm Feed - Add Identifier "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementContainerEnd()}if(2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.patient.name),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceAddIdentifierSystem),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceAddIdentifierValue),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceManagingOrganizationOid),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceManagingOrganizationName)}}function le(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275elementStart(1,"pre"),s.\u0275\u0275element(2,"code",43),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("highlight",Ae.getScopes())}}function Ce(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",44),s.\u0275\u0275text(1,"Description"),s.\u0275\u0275elementEnd())}function Te(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"mat-cell",44),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",Ae.description," ")}}function Ke(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",45),s.\u0275\u0275text(1,"Title"),s.\u0275\u0275elementEnd())}function tt(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"mat-cell",45),s.\u0275\u0275elementStart(1,"div"),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate1(" ",Ae.content[0].attachment.title," ")}}function ot(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",46),s.\u0275\u0275text(1,"Title"),s.\u0275\u0275elementEnd())}function mt(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"mat-cell",46),s.\u0275\u0275elementStart(1,"div"),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate1(" ",Ae.content[0].attachment.contentType," ")}}function Dt(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",47),s.\u0275\u0275text(1,"formatCode"),s.\u0275\u0275elementEnd())}function Ie(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"mat-cell",47),s.\u0275\u0275elementStart(1,"div"),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate1(" ",Ae.content[0].format.code," ")}}function Qe(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",48),s.\u0275\u0275text(1,"Actions"),s.\u0275\u0275elementEnd())}function ct(Oe,ve){if(1&Oe){const Ae=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"mat-cell",48),s.\u0275\u0275elementStart(1,"button",49),s.\u0275\u0275listener("click",function(){const kt=s.\u0275\u0275restoreView(Ae).$implicit;return s.\u0275\u0275nextContext().onRemove(kt)}),s.\u0275\u0275elementStart(2,"mat-icon"),s.\u0275\u0275text(3,"remove"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(4,"button",49),s.\u0275\u0275listener("click",function(){const kt=s.\u0275\u0275restoreView(Ae).$implicit;return s.\u0275\u0275nextContext().onReplace(kt)}),s.\u0275\u0275elementStart(5,"mat-icon"),s.\u0275\u0275text(6,"reply"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(7,"button",49),s.\u0275\u0275listener("click",function(){const kt=s.\u0275\u0275restoreView(Ae).$implicit;return s.\u0275\u0275nextContext().onDownloadDocumentReferenceAttachment(kt)}),s.\u0275\u0275elementStart(8,"mat-icon"),s.\u0275\u0275text(9,"download"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()}}function bt(Oe,ve){1&Oe&&s.\u0275\u0275element(0,"mat-header-row")}function Et(Oe,ve){1&Oe&&s.\u0275\u0275element(0,"mat-row")}function xt(Oe,ve){1&Oe&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275element(1,"mat-progress-spinner",42),s.\u0275\u0275elementContainerEnd())}function dt(Oe,ve){if(1&Oe){const Ae=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275elementStart(1,"mat-card-actions"),s.\u0275\u0275elementStart(2,"button",28),s.\u0275\u0275listener("click",function(){return s.\u0275\u0275restoreView(Ae),s.\u0275\u0275nextContext().onPdf()}),s.\u0275\u0275text(3,"Pdf"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementContainerEnd()}}function Ne(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" Replace Document with ",Ae.replaceDocumentReference.identifier[0].value," ")}}function rt(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate3(" ",Ae.descr,": ",Ae.existingUuid," -> ",Ae.newUuid," ")}}function ze(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(Ae.errMsgAssignPatient)}}function yt(Oe,ve){1&Oe&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275element(1,"mat-progress-spinner",42),s.\u0275\u0275elementContainerEnd())}function gt(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(Ae.errMsg)}}const _e=function(){return["name","title","contentType","formatCode","action"]},Z=Oe=>String(Math.floor(Math.abs(Oe))).padStart(2,"0");function N(Oe){const ve=-Oe.getTimezoneOffset(),Ae=ve>=0?"+":"-",nt=`${Z(ve/60)}:${Z(ve%60)}`;return`${(0,A.toLocaleDate)(Oe)}T${(0,A.toLocaleTime)(Oe)}${Ae}${nt}`}A.toLocaleDate=Oe=>`${Oe.getFullYear()}-${Z(Oe.getMonth()+1)}-${Z(Oe.getDate())}`,A.toLocaleHHMM=Oe=>`${Z(Oe.getHours())}:${Z(Oe.getMinutes())}`,A.toLocaleTime=Oe=>`${(0,A.toLocaleHHMM)(Oe)}:${Z(Oe.getSeconds())}`,A.toLocaleDateTime=N;class Ue{constructor(ve,Ae,nt,Rt,kt,pt){this.data=ve,this.fhirPathService=Ae,this.http=nt,this.cd=Rt,this.oauthService=kt,this.router=pt,this.searchGivenValue="",this.searchFamilyValue="",this.replaceUuids=new Array,this.pageIndex=0,this.dataSource=new b.MatTableDataSource,this.length=100,this.pageSize=10,this.inMhdQueryProgress=!1,this.inMhdUploadProgress=!1,this.inPixmProgress=!1,this.mag=ve.getMobileAccessGatewayClient(),this.mag.capabilityStatement().then($e=>this.setJson(JSON.stringify($e,null,2))),this.sourceIdentifierSystem=new r.FormControl,this.sourceIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.sourceIdentifierSystem","urn:oid:2.16.756.5.30.1.196.3.2.1")),this.sourceIdentifierValue=new r.FormControl,this.sourceIdentifierValue.setValue(this.getLocalStorageItemOrDefault("mag.sourceIdentifierValue","MAGMED001")),this.sourceAddIdentifierSystem=new r.FormControl,this.sourceAddIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.sourceAddIdentifierSystem","urn:oid:2.16.756.5.30.1.196.3.2.1")),this.sourceAddIdentifierValue=new r.FormControl,this.sourceAddIdentifierValue.setValue(this.getLocalStorageItemOrDefault("mag.sourceAddIdentifierValue","MAGMED001")),this.sourceManagingOrganizationOid=new r.FormControl,this.sourceManagingOrganizationOid.setValue(this.getLocalStorageItemOrDefault("mag.sourceManagingOrganizationOid","urn:oid:1.3.6.1.4.1.21367.2017.2.7.109")),this.sourceManagingOrganizationName=new r.FormControl,this.sourceManagingOrganizationName.setValue(this.getLocalStorageItemOrDefault("mag.sourceManagingOrganizationName","TESTORG")),this.targetIdentifierSystem=new r.FormControl,this.targetIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.targetIdentifierSystem","urn:oid:2.16.756.5.30.1.191.1.0.2.1")),this.targetIdentifier2System=new r.FormControl,this.targetIdentifier2System.setValue(this.getLocalStorageItemOrDefault("mag.targetIdentifier2System","urn:oid:2.16.756.5.30.1.127.3.10.3")),this.serviceStartFrom=new r.FormControl,this.serviceStartFrom.setValue(this.getLocalStorageItemOrDefault("mag.serviceStartFrom","")),this.serviceStartTo=new r.FormControl,this.serviceStartTo.setValue(this.getLocalStorageItemOrDefault("mag.serviceStartTo","")),this.serviceEndFrom=new r.FormControl,this.serviceEndFrom.setValue(this.getLocalStorageItemOrDefault("mag.serviceEndFrom","")),this.serviceEndTo=new r.FormControl,this.serviceEndTo.setValue(this.getLocalStorageItemOrDefault("mag.serviceEndTo","")),this.authenticate=new r.FormControl,this.authenticate.setValue(this.getLocalStorageItemOrDefault("mag.authenticate","HCP")),this.documentType=new r.FormControl,this.documentType.setValue(this.getLocalStorageItemOrDefault("mag.documentType","APPC")),this.documentConfidentiality=new r.FormControl,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.FormControl,this.iheSourceId.setValue("urn:oid:2.16.756.5.30.1.145.20.1"),this.searchGiven=new r.FormControl,this.searchFamily=new r.FormControl,this.documentDescription=new r.FormControl,this.documentDescription.setValue(this.getLocalStorageItemOrDefault("mag.documentType","Titel")),this.masterIdentifier=new r.FormControl,this.masterIdentifier.setValue((0,p.v4)()),this.creationTime=new r.FormControl,this.creationTime.setValue(N(new Date)),this.languageCode=new r.FormControl,this.languageCode.setValue(this.getLocalStorageItemOrDefault("mag.languageCode","de-CH")),this.fhirConfigService=ve,kt.configure(this.fhirConfigService.getAuthCodeFlowConfig()),kt.tryLoginCodeFlow().then($e=>{this.scopes=this.oauthService.getGrantedScopes()}),kt.events.subscribe($e=>{$e instanceof h.OAuthErrorEvent?console.error($e):console.warn($e)}),this.pdf="",this.replaceDocumentReference=null}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.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(ve,Ae){return localStorage.getItem(ve)||Ae}setLocaleStorageItem(ve,Ae){return localStorage.setItem(ve,Ae),Ae}setJson(ve){this.json=ve}getJson(){return this.json}getScopes(){return this.scopes?JSON.stringify(this.scopes,null,2):""}ngOnInit(){}ngOnDestroy(){}setPixmQueryResult(ve){this.inPixmProgress=!1,this.setJson(JSON.stringify(ve,null,2)),this.targetIdentifierValue=this.fhirPathService.evaluateToString(ve,"parameter.valueIdentifier.where(system='"+this.targetIdentifierSystem.value+"').value"),this.targetIdentifier2Value=this.fhirPathService.evaluateToString(ve,"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(ve,"parameter.valueReference.reference"),this.cache()}setPatientFetchResult(ve){this.inPixmProgress=!1,this.patient=ve,this.setJson(JSON.stringify(ve,null,2)),this.cache()}setPIXmFeedAddResult(ve){this.inPixmProgress=!1,this.patient=void 0,this.setJson(JSON.stringify(ve,null,2)),this.cache()}onPIXmQuery(){this.targetIdentifierValue="",this.targetIdentifier2Value="",this.patient=void 0,this.inPixmProgress=!0,this.cache();let ve="sourceIdentifier="+encodeURIComponent(this.sourceIdentifierSystem.value+"|"+this.sourceIdentifierValue.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifierSystem.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifier2System.value);this.mag.operation({name:"$ihe-pix?"+ve,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(Ae=>this.setPixmQueryResult(Ae)).catch(Ae=>{this.setJson(JSON.stringify(Ae,null,2)),this.targetIdentifierValue="",this.targetIdentifier2Value="",this.targetId="",this.cache(),this.inPixmProgress=!1})}getPatient(){const ve=this.targetId.substring(this.targetId.indexOf("Patient/")+8);return this.mag.read({resourceType:"Patient",id:ve,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 ve=this;return n(function*(){ve.patient=void 0,ve.inPixmProgress=!0,ve.cache();try{ve.patient=yield ve.getPatient(),ve.setPatientFetchResult(ve.patient)}catch(Ae){ve.setJson(JSON.stringify(Ae,null,2)),ve.cache(),ve.inPixmProgress=!1}})()}onPIXmFeedAdd(){this.inPixmProgress=!0,this.patient.telecom&&delete this.patient.telecom,this.cache();let ve={identifier:this.sourceAddIdentifierSystem.value+"|"+this.sourceAddIdentifierValue.value},Ae={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(Ae),this.patient.managingOrganization={reference:"#org"},this.mag.update({resourceType:"Patient",body:this.patient,searchParams:ve,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}}).then(nt=>this.setPIXmFeedAddResult(nt)).catch(nt=>{this.setJson(JSON.stringify(nt,null,2)),this.cache(),this.inPixmProgress=!1})}onAuthenticate(){if(this.cache(),this.scopes=null,"HCP"===this.authenticate.value){let ve=this.fhirConfigService.getAuthCodeFlowConfig();ve.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|HCP`,this.oauthService.configure(ve),this.oauthService.initCodeFlow()}else"TCU"===this.authenticate.value?this.getSamlToken().then(ve=>this.json=ve):this.oauthService.logOut()}getAppcDocument(ve,Ae){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.documentDescription.setValue("Policy document"),this.documentType.setValue("APPC"),this.documentConfidentiality.setValue("NORM"),this.masterIdentifier.setValue("urn:uuid:"+(0,p.v4)()),this.xml=this.getAppcDocument(this.targetIdentifier2Value,this.masterIdentifier.value),this.setJson(this.xml)):this.errMsgAssignPatient="Error: select first Patient with PIXm Query"}getSimulatedSamlPmpAssertion(ve,Ae){return y.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==${Ae}http://ihe.connectathon.XUA/X-ServiceProvider-IHE-Connectathonurn:oasis:names:tc:SAML:2.0:ac:classes:unspecifiedIris Musterpatient${Ae}^^^&2.16.756.5.30.1.127.3.10.3&ISOurn:oid:3.3.3.1`)}getSimulatedSamlPmpTcuAssertion(ve,Ae,nt){return y.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${nt}^^^&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(ve){var Ae=this;return n(function*(){const Rt=yield(yield fetch("https://test.ahdis.ch/eprik-cara/camel/tcu",{cache:"no-store",headers:{Accept:"application/xml"}})).text(),pt=yield(yield fetch(Ae.fhirConfigService.getMobileAccessGatewayAssertionEndpoint(),{cache:"no-store",method:"POST",headers:{Scope:`person_id=${ve}^^^&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:Rt})).json();return Promise.resolve(pt.access_token)})()}setBundle(ve){ve?(this.bundle=ve,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry.map(Ae=>Ae.resource)):this.dataSource.data=null,this.dataSource.data=this.dataSource.data}setDocumentReferenceResult(ve){this.setJson(JSON.stringify(ve,null,2)),this.setBundle(ve)}findDocumentReferences(){var ve=this;return n(function*(){let Ae={status:"current","patient.identifier":encodeURIComponent(ve.targetIdentifierSystem.value+"|"+ve.targetIdentifierValue)},nt=yield ve.getSamlToken();return ve.mag.search({resourceType:"DocumentReference",searchParams:Ae,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+nt}}})})()}onFindDocumentReferences(){var ve=this;return n(function*(){ve.replaceDocumentReference=null,ve.inMhdQueryProgress=!0,ve.pdf="";try{const Ae=yield ve.findDocumentReferences();ve.setDocumentReferenceResult(Ae),ve.inMhdQueryProgress=!1}catch(Ae){ve.setJson(JSON.stringify(Ae,null,2)),ve.setBundle(null),ve.inMhdQueryProgress=!1}})()}findMedicationList(ve){var Ae=this;return n(function*(){var nt,Rt,kt,pt;let Pt="patient.identifier="+encodeURIComponent(Ae.targetIdentifierSystem.value+"|"+Ae.targetIdentifierValue)+(ve?"&format="+encodeURIComponent(ve):"");(null===(nt=Ae.serviceStartFrom.value)||void 0===nt?void 0:nt.length)>0&&(Pt+=`&serviceStartFrom=${encodeURIComponent(Ae.serviceStartFrom.value)}`),(null===(Rt=Ae.serviceStartTo.value)||void 0===Rt?void 0:Rt.length)>0&&(Pt+=`&serviceStartTo=${encodeURIComponent(Ae.serviceStartTo.value)}`),(null===(kt=Ae.serviceEndFrom.value)||void 0===kt?void 0:kt.length)>0&&(Pt+=`&serviceEndFrom=${encodeURIComponent(Ae.serviceEndFrom.value)}`),(null===(pt=Ae.serviceEndTo.value)||void 0===pt?void 0:pt.length)>0&&(Pt+=`&serviceEndTo=${encodeURIComponent(Ae.serviceEndTo.value)}`);const $e=yield Ae.getSamlToken();return Ae.mag.operation({name:"$find-medication-list?status=current&"+Pt,resourceType:"DocumentReference",method:"GET",options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+$e}}})})()}onFindMedicationList(){var ve=this;return n(function*(){ve.pdf="",ve.inMhdQueryProgress=!0,ve.cache();try{const Ae=yield ve.findMedicationList();ve.setDocumentReferenceResult(Ae),Ae.entry&&1==Ae.entry.length&&(yield ve.downloadDocumentReferenceAttachment(Ae.entry[0].resource)),ve.inMhdQueryProgress=!1}catch(Ae){ve.setJson(JSON.stringify(Ae,null,2)),ve.setBundle(null),ve.inMhdQueryProgress=!1}})()}onFindMedicationCard(){var ve=this;return n(function*(){ve.pdf="",ve.inMhdQueryProgress=!0,ve.cache();try{const Ae=yield ve.findMedicationList("urn:oid:2.16.756.5.30.1.127.3.10.10|urn:che:epr:ch-emed:medication-card:2022");if(ve.setDocumentReferenceResult(Ae),Ae.entry&&1==Ae.entry.length){const nt=yield ve.downloadDocumentReferenceAttachment(Ae.entry[0].resource),Rt=JSON.parse(nt);ve.pdf=ve.fhirPathService.evaluateToString(Rt,"entry.resource.where(resourceType='Binary').data")}ve.inMhdQueryProgress=!1}catch(Ae){ve.setJson(JSON.stringify(Ae,null,2)),ve.setBundle(null),ve.inMhdQueryProgress=!1}})()}getSamlToken(){var ve=this;return n(function*(){return"HCP"===ve.authenticate.value?Promise.resolve(ve.oauthService.getAccessToken()):"Patient"===ve.authenticate.value?Promise.resolve(ve.getSimulatedSamlPmpAssertion(N(new Date),ve.targetIdentifier2Value)):"TCU"===ve.authenticate.value?ve.getEprikTcuAssertion(ve.targetIdentifier2Value):null})()}downloadDocumentReferenceAttachment(ve){var Ae=this;return n(function*(){var nt;let kt=(ve.content&&ve.content.length>0?ve.content[0].attachment.url:"undefined").replace("http://test.ahdis.ch/mag-pmp/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp/camel/xdsretrieve"),pt=kt.replace("http://test.ahdis.ch/mag-pmp2/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp2/camel/xdsretrieve");const Pt=ve.content&&ve.content.length>0?null===(nt=ve.content[0].attachment)||void 0===nt?void 0:nt.contentType:"";if(Ae.selectedDocumentReference=ve,"application/pdf"===Pt){const $e=ve.content&&ve.content.length>0?ve.content[0].attachment.title:"undefined",_t=Ae,Mt=yield Ae.getSamlToken(),lt=yield(yield fetch(pt,{cache:"no-store",headers:{Authorization:"Bearer "+Mt,Accept:"application/pdf"}})).blob();return new Promise((Ot,Ft)=>{let Pe=new FileReader;Pe.onload=()=>{_t.downloadPdf(Pe.result.toString(),$e),Ot(Pe.result)},Pe.onerror=Ft,Pe.readAsDataURL(lt)})}{const $e=yield Ae.getSamlToken(),Mt={responseType:"text",headers:(new m.HttpHeaders).set("Authorization","Bearer "+$e)};return new Promise((Ge,lt)=>{Ae.http.get(kt,Mt).subscribe({next:Ot=>{Ae.xml=Ot,Ae.setJson(Ot),Ge(Ae.xml)},error:Ot=>{lt(Ot)}})})}})()}onReplace(ve){var Ae=this;return n(function*(){Ae.replaceDocumentReference=ve})()}onRemove(ve){var Ae=this;return n(function*(){Ae.replaceDocumentReference=null;let nt={...ve};Ae.inMhdQueryProgress=!0,null==nt.extension&&(nt.extension=new Array),nt.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:Ae.iheSourceId.value}}),nt.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)"}}),nt.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"}}),nt.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 Rt=yield Ae.getSamlToken();try{let kt=yield Ae.mag.update({resourceType:"DocumentReference",id:nt.id,body:nt,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0","content-type":"application/fhir+json;fhirVersion=4.0",Authorization:"Bearer "+Rt}}});Ae.setJson(JSON.stringify(kt,null,2)),Ae.inMhdQueryProgress=!1,Ae.onFindDocumentReferences()}catch(kt){Ae.setJson(JSON.stringify(kt.response.data,null,2)),Ae.inMhdQueryProgress=!1}})()}onDownloadDocumentReferenceAttachment(ve){var Ae=this;return n(function*(){Ae.replaceDocumentReference=null,Ae.inMhdQueryProgress=!0,yield Ae.downloadDocumentReferenceAttachment(ve),Ae.inMhdQueryProgress=!1})()}canTransformToPdf(){return""!=this.pdf}downloadPdf(ve,Ae){const nt=document.createElement("a");nt.href=ve,nt.download=`${Ae}.pdf`,nt.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 Ae=`0x${(0,p.v4)().replace(/-/g,"")}`;return`2.25.${BigInt(Ae).toString()}`}getDocumentReferenceType(){switch(this.documentType.value){case"APPC":case"MTP":case"PADV":case"DIS":case"PDF":return{coding:[{system:"http://snomed.info/sct",code:"419891008",display:"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(ve){if(this.uploadBase64="",this.uploadContentType="",this.uploadBundle=null,this.json="",this.xml="",this.pdf="","application/json"===ve.contentType||ve.name.endsWith(".json")||"text/xml"===ve.contentType||ve.name.endsWith(".xml"))this.addText(ve);else{var Ae=new FileReader;const nt=this;Ae.readAsDataURL(ve.blob),Ae.onloadend=function(){let Rt=Ae.result.toString();Rt.startsWith("data:application/pdf;base64,")&&(nt.uploadBase64=Rt.substring("data:application/pdf;base64,".length),nt.uploadContentType="application/pdf",nt.documentType.setValue("PDF"))}}}addText(ve){const Ae=new FileReader;Ae.readAsText(ve.blob);const nt=this;this.documentDescription.setValue(ve.name),this.creationTime.setValue(N(new Date)),Ae.onload=()=>{("application/json"===ve.contentType||ve.name.endsWith(".json"))&&(this.uploadContentType="application/fhir+json",this.autoDetectFormat(Ae.result)),("text/xml"===ve.contentType||ve.name.endsWith(".xml"))&&(this.uploadContentType="text/xml",nt.documentType.setValue("XML"),nt.xml=Ae.result,nt.setJson(nt.xml))}}getResource(ve,Ae){var nt;return null===(nt=ve.entry.filter(Rt=>Rt.fullUrl.endsWith(Ae)).pop())||void 0===nt?void 0:nt.resource}autoDetectFormat(ve){this.documentType.setValue("JSON");const Ae=JSON.parse(ve);this.setJson(ve),Ae.hasOwnProperty("resourceType")&&"Bundle"===Ae.resourceType&&this.autoDetectBundle(Ae)}autoDetectBundle(ve){var Ae;if(this.creationTime.setValue(ve.timestamp),this.masterIdentifier.setValue(ve.identifier.value),"document"===ve.type&&(null===(Ae=ve.entry)||void 0===Ae?void 0:Ae.length)>0){const nt=ve.entry[0].resource,Rt=nt.type.coding.find(pt=>"http://snomed.info/sct"===pt.system),kt=nt.type.coding.find(pt=>"http://loinc.org"===pt.system);if(nt.language&&this.languageCode.setValue(nt.language),kt&&"77603-9"===kt.code&&Rt&&"419891008"===Rt.code)return this.uploadBundle=ve,void this.documentType.setValue("MTP");if(kt&&"57833-6"===kt.code&&Rt&&"761938008"===Rt.code)return this.uploadBundle=ve,void this.documentType.setValue("PRE");if(kt&&"60593-1"===kt.code&&Rt&&"419891008"===Rt.code)return this.uploadBundle=ve,void this.documentType.setValue("DIS");if(kt&&"61356-2"===kt.code&&Rt&&"419891008"===Rt.code)return this.uploadBundle=ve,void this.documentType.setValue("PADV")}}assignMobileAccessPatient(){var ve=this;return n(function*(){if(ve.inMhdUploadProgress=!0,ve.errMsgAssignPatient="",null==ve.patient&&(ve.patient=yield ve.getPatient()),null==ve.patient)return void(ve.errMsgAssignPatient="Error: select first 'get Patient' from Mobile Access Gateway");if(null==ve.uploadBundle)return void(ve.errMsgAssignPatient="Error: need a FHIR Bundle in json format to assign the Patient");const Ae=ve.uploadBundle.entry.filter($e=>"Patient"===$e.resource.resourceType),nt={...ve.patient};nt.identifier=ve.patient.identifier.filter($e=>$e.system===ve.sourceIdentifierSystem.value),nt.identifier.find($e=>$e.system===ve.sourceIdentifierSystem.value).type={coding:[{system:"http://terminology.hl7.org/CodeSystem/v2-0203",code:"MR"}]},nt.name=Array(),nt.name[0]=ve.patient.name[0],Ae.forEach($e=>{const _t=$e.resource.id;$e.resource={...nt},$e.resource.id=_t});let Rt=JSON.stringify(ve.uploadBundle,null,2);const kt=ve.uploadBundle.identifier.value,pt="urn:uuid:"+(0,p.v4)(),Pt=ve.replaceUuids.findIndex($e=>$e.existingUuid==kt);-1==Pt?ve.replaceUuids.push({descr:ve.documentType.value,existingUuid:kt,newUuid:pt}):ve.replaceUuids[Pt]={descr:ve.documentType.value,existingUuid:kt,newUuid:pt},ve.replaceUuids.forEach($e=>Rt=Rt.split($e.existingUuid).join($e.newUuid)),ve.masterIdentifier.setValue(pt),ve.setJson(Rt),ve.inMhdUploadProgress=!1})()}createMhdTransaction(){var ve=this;return n(function*(){var Ae,nt,Rt;ve.inMhdUploadProgress=!0;let kt={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:"urn:oid:2.16.756.5.30.1.191.1.0.12.3.101",value:"$10"},{system:"urn:oid:2.16.756.5.30.1.191.1.0.2.1",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"}}]},pt="urn:uuid:"+(0,p.v4)();kt.entry[0].fullUrl=pt;const Pt=kt.entry[0].resource;Pt.contentType=ve.uploadContentType,Pt.data=(null===(Ae=ve.uploadBase64)||void 0===Ae?void 0:Ae.length)>0?ve.uploadBase64:y.Base64.encode(ve.json);let $e=(0,p.v4)();kt.entry[1].fullUrl="urn:uid:"+$e;const _t=kt.entry[1].resource;_t.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:ve.iheSourceId.value}}),_t.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"}}),_t.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 Mt="urn:uuid:"+(0,p.v4)();_t.identifier[0].value=Mt;let Ge="urn:oid:"+ve.generateOidFromUuid();_t.identifier[1].value=Ge,_t.subject.reference=ve.targetId;let lt=N(new Date);_t.date=lt;let Ot="urn:uuid:"+(0,p.v4)();_t.entry[0].item.reference=Ot,kt.entry[2].fullUrl=Ot;const Ft=kt.entry[2].resource;Ft.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!=ve.replaceDocumentReference?Ft.relatesTo.push({code:"replaces",target:{reference:ve.replaceDocumentReference.identifier[0].value}}):delete Ft.relatesTo;const Pe=Ft.contained[0];if(Pe.identifier[0].value=ve.sourceIdentifierSystem.value,Pe.identifier[0].value=ve.sourceIdentifierValue.value,Pe.identifier[1].value=ve.targetIdentifierSystem.value,Pe.identifier[1].value=ve.targetIdentifierValue,ve.patient&&(Pe.birthDate=ve.patient.birthDate,Pe.gender=ve.patient.gender,Pe.name=ve.patient.name,Pe.address=ve.patient.address),null!=ve.uploadBundle&&["PADV","DIS","MTP","PRE","PMLC"].includes(ve.documentType.value)){const je=ve.uploadBundle.entry[0].resource;if((null==je?void 0:je.author)&&je.author[0].reference){const Ct=ve.getResource(ve.uploadBundle,je.author[0].reference);if(Ct&&"PractitionerRole"==Ct.resourceType){let Ht={...Ct};delete Ht.text,Ht.id="practrole";const $t=ve.getResource(ve.uploadBundle,null===(nt=Ht.organization)||void 0===nt?void 0:nt.reference),vn=ve.getResource(ve.uploadBundle,null===(Rt=Ht.practitioner)||void 0===Rt?void 0:Rt.reference);if($t){let it={...$t};it.id="org",delete it.text,Ht.organization.reference="#org",Ft.contained.push(it)}if(vn){let it={...vn};it.id="pract",delete it.text,Ht.practitioner.reference="#pract",Ft.contained.push(it)}Ft.contained.push(Ht),Ft.author.push({reference:"#practrole"})}}}0==Ft.author.length&&delete Ft.author;let Ee=ve.masterIdentifier.value.toLocaleLowerCase();Ft.masterIdentifier.value=Ee;let B="urn:oid:"+ve.generateOidFromUuid();Ft.identifier[0].value=B,Ft.subject.reference=ve.targetId,Ft.date=lt,Ft.content[0].attachment.url=pt,Ft.content[0].attachment.contentType=ve.uploadContentType,Ft.content[0].attachment.language=ve.languageCode.value;let V=kt.entry[2].resource;V.date=ve.creationTime.value,V.type=ve.getDocumentReferenceType(),V.category.push(ve.getDocumentReferenceCategory()),V.content[0].format=ve.getDocumentReferenceContentFormat(),V.content[0].attachment.creation=ve.creationTime.value,V.description=ve.documentDescription.value,V.securityLabel[0]=ve.getDocumentConfidentiality();const be=yield ve.getSamlToken();ve.mag.transaction({body:kt,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+be}}}).then(je=>{ve.setJson(JSON.stringify(je,null,2)),ve.inMhdUploadProgress=!1}).catch(je=>{ve.setJson(JSON.stringify(je,null,2)),ve.inMhdUploadProgress=!1})})()}}A.MagComponent=Ue,Ue.\u0275fac=function(ve){return new(ve||Ue)(s.\u0275\u0275directiveInject(C.FhirConfigService),s.\u0275\u0275directiveInject(P.FhirPathService),s.\u0275\u0275directiveInject(w.HttpClient),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(D.OAuthService),s.\u0275\u0275directiveInject(T.Router))},Ue.\u0275cmp=s.\u0275\u0275defineComponent({type:Ue,selectors:[["app-mag"]],decls:192,vars:37,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"],[3,"dataSource"],["table",""],["matColumnDef","name"],["class","name",4,"matHeaderCellDef"],["class","name",4,"matCellDef"],["matColumnDef","title"],["class","title",4,"matHeaderCellDef"],["class","title",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,"highlight"],[1,"name"],[1,"title"],[1,"contentType"],[1,"formatCode"],[1,"res"],["mat-icon-button","","type","submit",3,"click"]],template:function(ve,Ae){1&ve&&(s.\u0275\u0275elementStart(0,"mat-card",0),s.\u0275\u0275elementStart(1,"mat-card-content"),s.\u0275\u0275elementStart(2,"mat-card-header"),s.\u0275\u0275elementStart(3,"mat-card-title"),s.\u0275\u0275text(4,"Mobile Access Gateway - Patient Identifiers"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(5,"div"),s.\u0275\u0275elementStart(6,"mat-form-field",1),s.\u0275\u0275elementStart(7,"mat-label"),s.\u0275\u0275text(8,"sourceIdentifier system"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(9,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(10," \xa0 "),s.\u0275\u0275elementStart(11,"mat-form-field",1),s.\u0275\u0275elementStart(12,"mat-label"),s.\u0275\u0275text(13,"sourceIdentifier value"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(14,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(15,"div"),s.\u0275\u0275elementStart(16,"mat-form-field",1),s.\u0275\u0275elementStart(17,"mat-label"),s.\u0275\u0275text(18,"targetIdentifier system (MPI-ID)"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(19,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(20),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(21,"div"),s.\u0275\u0275elementStart(22,"mat-form-field",1),s.\u0275\u0275elementStart(23,"mat-label"),s.\u0275\u0275text(24,"targetIdentifier system (EPR-SPID)"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(25,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(26),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(27,"div"),s.\u0275\u0275elementStart(28,"div"),s.\u0275\u0275text(29),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(30,oe,2,0,"ng-container",3),s.\u0275\u0275elementStart(31,"mat-card-actions"),s.\u0275\u0275elementStart(32,"button",4),s.\u0275\u0275listener("click",function(){return Ae.onPIXmQuery()}),s.\u0275\u0275text(33," PIXm Query "),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(34,ae,3,0,"ng-container",3),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(35,ie,25,5,"ng-container",3),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(36,"mat-card",0),s.\u0275\u0275elementStart(37,"mat-card-content"),s.\u0275\u0275elementStart(38,"mat-card-header"),s.\u0275\u0275elementStart(39,"mat-card-title"),s.\u0275\u0275text(40,"Mobile Access Gateway - Authenticate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(41,"div"),s.\u0275\u0275elementStart(42,"mat-form-field",1),s.\u0275\u0275elementStart(43,"mat-label"),s.\u0275\u0275text(44,"Authenticate/Authorize"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(45,"select",5),s.\u0275\u0275elementStart(46,"option",6),s.\u0275\u0275text(47,"Patient"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(48,"option",7),s.\u0275\u0275text(49,"HCP"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(50,"option",8),s.\u0275\u0275text(51,"TCU"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(52,le,3,1,"div",3),s.\u0275\u0275elementStart(53,"mat-card-actions"),s.\u0275\u0275elementStart(54,"button",4),s.\u0275\u0275listener("click",function(){return Ae.onAuthenticate()}),s.\u0275\u0275text(55," Authenticate "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(56,"mat-card",0),s.\u0275\u0275elementStart(57,"mat-card-content"),s.\u0275\u0275elementStart(58,"mat-card-header"),s.\u0275\u0275elementStart(59,"mat-card-title"),s.\u0275\u0275text(60,"Mobile Access Gateway - Query"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(61,"mat-table",9,10),s.\u0275\u0275elementContainerStart(63,11),s.\u0275\u0275template(64,Ce,2,0,"mat-header-cell",12),s.\u0275\u0275template(65,Te,2,1,"mat-cell",13),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(66,14),s.\u0275\u0275template(67,Ke,2,0,"mat-header-cell",15),s.\u0275\u0275template(68,tt,3,1,"mat-cell",16),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(69,17),s.\u0275\u0275template(70,ot,2,0,"mat-header-cell",18),s.\u0275\u0275template(71,mt,3,1,"mat-cell",19),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(72,20),s.\u0275\u0275template(73,Dt,2,0,"mat-header-cell",21),s.\u0275\u0275template(74,Ie,3,1,"mat-cell",22),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(75,23),s.\u0275\u0275template(76,Qe,2,0,"mat-header-cell",24),s.\u0275\u0275template(77,ct,10,0,"mat-cell",25),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275template(78,bt,1,0,"mat-header-row",26),s.\u0275\u0275template(79,Et,1,0,"mat-row",27),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(80,xt,2,0,"ng-container",3),s.\u0275\u0275elementStart(81,"mat-card-actions"),s.\u0275\u0275elementStart(82,"button",28),s.\u0275\u0275listener("click",function(){return Ae.onFindDocumentReferences()}),s.\u0275\u0275text(83," Document References "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(84,"div"),s.\u0275\u0275elementStart(85,"mat-form-field",1),s.\u0275\u0275elementStart(86,"mat-label"),s.\u0275\u0275text(87,"serviceStart From"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(88,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(89," \xa0 "),s.\u0275\u0275elementStart(90,"mat-form-field",1),s.\u0275\u0275elementStart(91,"mat-label"),s.\u0275\u0275text(92,"serviceStart To"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(93,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(94,"div"),s.\u0275\u0275elementStart(95,"mat-form-field",1),s.\u0275\u0275elementStart(96,"mat-label"),s.\u0275\u0275text(97,"serviceEnd From"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(98,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(99," \xa0 "),s.\u0275\u0275elementStart(100,"mat-form-field",1),s.\u0275\u0275elementStart(101,"mat-label"),s.\u0275\u0275text(102,"serviceEnd To"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(103,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(104,"mat-card-actions"),s.\u0275\u0275elementStart(105,"button",28),s.\u0275\u0275listener("click",function(){return Ae.onFindMedicationList()}),s.\u0275\u0275text(106," Medication List "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(107,"button",28),s.\u0275\u0275listener("click",function(){return Ae.onFindMedicationCard()}),s.\u0275\u0275text(108," Medication Card "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(109,dt,4,0,"ng-container",3),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(110,"mat-card",0),s.\u0275\u0275elementStart(111,"mat-card-content"),s.\u0275\u0275elementStart(112,"mat-card-header"),s.\u0275\u0275elementStart(113,"mat-card-title"),s.\u0275\u0275text(114,"Mobile Access Gateway - Upload"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(115,"app-upload",29),s.\u0275\u0275listener("addFiles",function(Rt){return Ae.addFile(Rt)}),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(116,"div"),s.\u0275\u0275elementStart(117,"mat-form-field",1),s.\u0275\u0275elementStart(118,"mat-label"),s.\u0275\u0275text(119,"Description"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(120,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(121,"div"),s.\u0275\u0275elementStart(122,"mat-form-field",1),s.\u0275\u0275elementStart(123,"mat-label"),s.\u0275\u0275text(124,"Document Type"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(125,"select",5),s.\u0275\u0275elementStart(126,"option",30),s.\u0275\u0275text(127,"APPC Document"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(128,"option",31),s.\u0275\u0275text(129,"Medication Treatment Plan document"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(130,"option",32),s.\u0275\u0275text(131,"Medication Dispense document"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(132,"option",33),s.\u0275\u0275text(133,"Medication Prescription document/option>"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(134,"option",34),s.\u0275\u0275text(135,"Pharmaceutical Advice document"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(136,"option",35),s.\u0275\u0275text(137,"PDF"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(138,"div"),s.\u0275\u0275elementStart(139,"mat-form-field",1),s.\u0275\u0275elementStart(140,"mat-label"),s.\u0275\u0275text(141,"Confidentiality"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(142,"select",5),s.\u0275\u0275elementStart(143,"option",36),s.\u0275\u0275text(144,"Normally accessible"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(145,"option",37),s.\u0275\u0275text(146,"Restricted accessible"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(147,"option",38),s.\u0275\u0275text(148,"Secret"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(149,"div"),s.\u0275\u0275elementStart(150,"mat-form-field",1),s.\u0275\u0275elementStart(151,"mat-label"),s.\u0275\u0275text(152,"DocumentEntry.masterIdentifier (uuid)"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(153,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(154,"div"),s.\u0275\u0275elementStart(155,"mat-form-field",1),s.\u0275\u0275elementStart(156,"mat-label"),s.\u0275\u0275text(157,"DocumentEntry.creationTime"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(158,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(159,"div"),s.\u0275\u0275elementStart(160,"mat-form-field",1),s.\u0275\u0275elementStart(161,"mat-label"),s.\u0275\u0275text(162,"DocumentEntry.languageCode"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(163,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(164,"div"),s.\u0275\u0275elementStart(165,"mat-form-field",1),s.\u0275\u0275elementStart(166,"mat-label"),s.\u0275\u0275text(167,"ihe-sourceId"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(168,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(169,"\xa0 "),s.\u0275\u0275elementStart(170,"a",39),s.\u0275\u0275text(171,"ig"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(172,Ne,2,1,"div",3),s.\u0275\u0275template(173,rt,2,3,"div",40),s.\u0275\u0275template(174,ze,2,1,"div",3),s.\u0275\u0275template(175,yt,2,0,"ng-container",3),s.\u0275\u0275elementStart(176,"div"),s.\u0275\u0275elementStart(177,"button",28),s.\u0275\u0275listener("click",function(){return Ae.assignMobileAccessPatient()}),s.\u0275\u0275text(178," Assign Mobile Access Patient"),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(179,"\xa0 "),s.\u0275\u0275elementStart(180,"button",28),s.\u0275\u0275listener("click",function(){return Ae.createMhdTransaction()}),s.\u0275\u0275text(181," Provide and Register "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(182,"button",28),s.\u0275\u0275listener("click",function(){return Ae.createAppc()}),s.\u0275\u0275text(183," Create APPC for PMP "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(184,"mat-card",0),s.\u0275\u0275elementStart(185,"mat-card-content"),s.\u0275\u0275elementStart(186,"mat-card-header"),s.\u0275\u0275elementStart(187,"mat-card-title"),s.\u0275\u0275text(188,"Response"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(189,gt,2,1,"div",3),s.\u0275\u0275elementStart(190,"pre"),s.\u0275\u0275element(191,"code",41),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&ve&&(s.\u0275\u0275advance(9),s.\u0275\u0275property("formControl",Ae.sourceIdentifierSystem),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceIdentifierValue),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.targetIdentifierSystem),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" \xa0 ",Ae.targetIdentifierValue," "),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.targetIdentifier2System),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" \xa0 ",Ae.targetIdentifier2Value," "),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate1("targetId: ",Ae.targetId,""),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.inPixmProgress),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngIf",Ae.targetId.length>0),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.patient),s.\u0275\u0275advance(10),s.\u0275\u0275property("formControl",Ae.authenticate),s.\u0275\u0275advance(7),s.\u0275\u0275property("ngIf",Ae.getScopes()),s.\u0275\u0275advance(9),s.\u0275\u0275property("dataSource",Ae.dataSource),s.\u0275\u0275advance(17),s.\u0275\u0275property("matHeaderRowDef",s.\u0275\u0275pureFunction0(35,_e)),s.\u0275\u0275advance(1),s.\u0275\u0275property("matRowDefColumns",s.\u0275\u0275pureFunction0(36,_e)),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.inMhdQueryProgress),s.\u0275\u0275advance(8),s.\u0275\u0275property("formControl",Ae.serviceStartFrom),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.serviceStartTo),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.serviceEndFrom),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.serviceEndTo),s.\u0275\u0275advance(6),s.\u0275\u0275property("ngIf",Ae.canTransformToPdf()),s.\u0275\u0275advance(11),s.\u0275\u0275property("formControl",Ae.documentDescription),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.documentType),s.\u0275\u0275advance(17),s.\u0275\u0275property("formControl",Ae.documentConfidentiality),s.\u0275\u0275advance(11),s.\u0275\u0275property("formControl",Ae.masterIdentifier),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.creationTime),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.languageCode),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.iheSourceId),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngIf",Ae.replaceDocumentReference),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngForOf",Ae.replaceUuids),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.errMsgAssignPatient),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.inMhdUploadProgress),s.\u0275\u0275advance(14),s.\u0275\u0275property("ngIf",Ae.errMsg),s.\u0275\u0275advance(2),s.\u0275\u0275property("highlight",Ae.getJson())("lineNumbers",!0))},directives:[Y.MatCard,Y.MatCardContent,Y.MatCardHeader,Y.MatCardTitle,$.MatFormField,$.MatLabel,z.MatInput,G.DefaultValueAccessor,G.NgControlStatus,G.FormControlDirective,X.NgIf,Y.MatCardActions,Q.MatButton,G.SelectControlValueAccessor,G.RequiredValidator,G.NgSelectOption,G.\u0275NgSelectMultipleOption,q.MatTable,q.MatColumnDef,q.MatHeaderCellDef,q.MatCellDef,q.MatHeaderRowDef,q.MatRowDef,ue.UploadComponent,X.NgForOf,me.Highlight,xe.MatProgressSpinner,q.MatHeaderCell,q.MatCell,pe.MatIcon,q.MatHeaderRow,q.MatRow],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.display[_ngcontent-%COMP%]{display:inline-block;margin-bottom:10px}.column50[_ngcontent-%COMP%]{width:40%}"]})},3423:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.PatientDetailComponent=void 0;const n=o(655),l=(0,n.__importStar)(o(5e3)),u=(0,n.__importStar)(o(9808)),c=(0,n.__importStar)(o(9224));function r(m,p){if(1&m&&(l.\u0275\u0275elementStart(0,"mat-card",1),l.\u0275\u0275elementStart(1,"mat-card-content"),l.\u0275\u0275elementStart(2,"pre"),l.\u0275\u0275text(3),l.\u0275\u0275pipe(4,"json"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&m){const y=l.\u0275\u0275nextContext();l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(l.\u0275\u0275pipeBind1(4,1,y.patient))}}class d{constructor(){}ngOnInit(){}}A.PatientDetailComponent=d,d.\u0275fac=function(p){return new(p||d)},d.\u0275cmp=l.\u0275\u0275defineComponent({type:d,selectors:[["app-patient-detail"]],inputs:{patient:"patient"},decls:1,vars:1,consts:[["class","Patient",4,"ngIf"],[1,"Patient"]],template:function(p,y){1&p&&l.\u0275\u0275template(0,r,5,3,"mat-card",0),2&p&&l.\u0275\u0275property("ngIf",y.patient)},directives:[u.NgIf,c.MatCard,c.MatCardContent],pipes:[u.JsonPipe],styles:[""]})},9862:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.PatientsComponent=void 0;const n=o(655),u=(o(6165),o(6346)),c=o(3075),r=o(3460),d=(0,n.__importStar)(o(5e3)),m=(0,n.__importStar)(o(6165)),p=(0,n.__importStar)(o(9224)),y=(0,n.__importStar)(o(7322)),b=(0,n.__importStar)(o(7531)),h=(0,n.__importStar)(o(3075)),g=(0,n.__importStar)(o(6346)),s=(0,n.__importStar)(o(7850)),C=(0,n.__importStar)(o(3423));function P(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"Family"),d.\u0275\u0275elementEnd())}function w(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientFamilyName(ae))}}function D(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"Given"),d.\u0275\u0275elementEnd())}function T(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientGivenNames(ae))}}function Y(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"Birthdate"),d.\u0275\u0275elementEnd())}function $(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientBirthDate(ae))}}function z(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"Street"),d.\u0275\u0275elementEnd())}function G(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientAddressLines(ae))}}function X(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"City"),d.\u0275\u0275elementEnd())}function Q(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientAddressCity(ae))}}function q(pe,oe){1&pe&&d.\u0275\u0275element(0,"mat-header-row")}function ue(pe,oe){if(1&pe){const ae=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"mat-row",16),d.\u0275\u0275listener("click",function(){const le=d.\u0275\u0275restoreView(ae).$implicit;return d.\u0275\u0275nextContext().selectRow(le)}),d.\u0275\u0275elementEnd()}}const me=function(){return["familyNameCol","givenNamesCol","birthDateCol","addressLinesCol","addressCityCol"]};class xe{constructor(oe){this.data=oe,this.searched=!1,this.dataSource=new u.MatTableDataSource,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=oe.getMobileAccessGatewayClient(),this.searchName=new c.FormControl,this.searchName.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(ae=>this.search()),this.searchGiven=new c.FormControl,this.searchGiven.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(ae=>this.search()),this.searchFamily=new c.FormControl,this.searchFamily.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(ae=>this.search()),this.search()}search(){let oe={...this.query};this.searchName.value&&(oe={...oe,name:this.searchName.value}),this.searchFamily.value&&(oe={...oe,family:this.searchFamily.value}),this.searchGiven.value&&(oe={...oe,given:this.searchGiven.value}),this.client.search({resourceType:"Patient",searchParams:oe}).then(ae=>(this.pageIndex=0,this.setBundle(ae),ae))}getPatientFamilyName(oe){const ae=oe.resource;return ae.name&&ae.name.length>0&&ae.name[0].family?ae.name[0].family:""}getPatientGivenNames(oe){const ae=oe.resource;return ae.name&&ae.name.length>0&&ae.name[0].given?oe.resource.name[0].given.join(" "):""}getPatientBirthDate(oe){const ae=oe.resource;return ae.birthDate?ae.birthDate:""}getPatientAddressLines(oe){const ae=oe.resource;return ae.address&&ae.address.length>0&&ae.address[0].line?ae.address[0].line.join(", "):""}getPatientAddressCity(oe){const ae=oe.resource;return ae.address&&ae.address.length>0&&ae.address[0].city?ae.address[0].city:""}selectRow(oe){this.client.read({resourceType:"Patient",id:oe.resource.id}).then(ie=>{this.selectedPatient=ie})}goToPage(oe){oe.pageIndex>this.pageIndex?this.client.nextPage({bundle:this.bundle}).then(ae=>{this.pageIndex=oe.pageIndex,this.setBundle(ae),console.log("next page called ")}):this.client.prevPage({bundle:this.bundle}).then(ae=>{this.pageIndex=oe.pageIndex,this.setBundle(ae),console.log("previous page called ")})}setBundle(oe){this.bundle=oe,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry,this.selectedPatient=void 0}ngOnInit(){}}A.PatientsComponent=xe,xe.\u0275fac=function(oe){return new(oe||xe)(d.\u0275\u0275directiveInject(m.FhirConfigService))},xe.\u0275cmp=d.\u0275\u0275defineComponent({type:xe,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(oe,ae){1&oe&&(d.\u0275\u0275elementStart(0,"mat-card",0),d.\u0275\u0275elementStart(1,"mat-card-content"),d.\u0275\u0275elementStart(2,"mat-form-field"),d.\u0275\u0275elementStart(3,"mat-label"),d.\u0275\u0275text(4,"Name"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(5,"input",1),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(6," \xa0 "),d.\u0275\u0275elementStart(7,"mat-form-field"),d.\u0275\u0275elementStart(8,"mat-label"),d.\u0275\u0275text(9,"Family"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(10,"input",1),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(11," \xa0 "),d.\u0275\u0275elementStart(12,"mat-form-field"),d.\u0275\u0275elementStart(13,"mat-label"),d.\u0275\u0275text(14,"Given"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(15,"input",1),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(16," \xa0 "),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(17,"mat-card",2),d.\u0275\u0275elementStart(18,"mat-card-content"),d.\u0275\u0275elementStart(19,"mat-table",3,4),d.\u0275\u0275elementContainerStart(21,5),d.\u0275\u0275template(22,P,2,0,"mat-header-cell",6),d.\u0275\u0275template(23,w,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(24,8),d.\u0275\u0275template(25,D,2,0,"mat-header-cell",6),d.\u0275\u0275template(26,T,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(27,9),d.\u0275\u0275template(28,Y,2,0,"mat-header-cell",6),d.\u0275\u0275template(29,$,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(30,10),d.\u0275\u0275template(31,z,2,0,"mat-header-cell",6),d.\u0275\u0275template(32,G,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(33,11),d.\u0275\u0275template(34,X,2,0,"mat-header-cell",6),d.\u0275\u0275template(35,Q,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275template(36,q,1,0,"mat-header-row",12),d.\u0275\u0275template(37,ue,1,0,"mat-row",13),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(38,"mat-paginator",14),d.\u0275\u0275listener("page",function(ie){return ae.goToPage(ie)}),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(39,"app-patient-detail",15)),2&oe&&(d.\u0275\u0275advance(5),d.\u0275\u0275property("formControl",ae.searchName),d.\u0275\u0275advance(5),d.\u0275\u0275property("formControl",ae.searchFamily),d.\u0275\u0275advance(5),d.\u0275\u0275property("formControl",ae.searchGiven),d.\u0275\u0275advance(4),d.\u0275\u0275property("dataSource",ae.dataSource),d.\u0275\u0275advance(17),d.\u0275\u0275property("matHeaderRowDef",d.\u0275\u0275pureFunction0(11,me)),d.\u0275\u0275advance(1),d.\u0275\u0275property("matRowDefColumns",d.\u0275\u0275pureFunction0(12,me)),d.\u0275\u0275advance(1),d.\u0275\u0275property("pageIndex",ae.pageIndex)("length",ae.length)("pageSize",ae.pageSize)("pageSizeOptions",ae.pageSizeOptions),d.\u0275\u0275advance(1),d.\u0275\u0275property("patient",ae.selectedPatient))},directives:[p.MatCard,p.MatCardContent,y.MatFormField,y.MatLabel,b.MatInput,h.DefaultValueAccessor,h.NgControlStatus,h.FormControlDirective,g.MatTable,g.MatColumnDef,g.MatHeaderCellDef,g.MatCellDef,g.MatHeaderRowDef,g.MatRowDef,s.MatPaginator,C.PatientDetailComponent,g.MatHeaderCell,g.MatCell,g.MatHeaderRow,g.MatRow],styles:[""]})},4586:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.SettingsComponent=void 0;const n=o(655),u=(o(6165),(0,n.__importDefault)(o(1455))),r=(o(4202),(0,n.__importStar)(o(5e3))),d=(0,n.__importStar)(o(6165)),m=(0,n.__importStar)(o(4202)),p=(0,n.__importStar)(o(9224)),y=(0,n.__importStar)(o(3075)),b=(0,n.__importStar)(o(7322)),h=(0,n.__importStar)(o(4107)),g=(0,n.__importStar)(o(9808)),s=(0,n.__importStar)(o(508));function C(w,D){if(1&w&&(r.\u0275\u0275elementStart(0,"mat-option",2),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&w){const T=D.$implicit;r.\u0275\u0275property("value",T),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",T," ")}}class P{constructor(D,T){this.data=D,this.router=T,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=D.getMobileAccessGatewayClient()}ngOnInit(){this.baseUrlMag=this.data.getMobileAccessGatewayService()}getMagSelectedValue(){return this.baseUrlMag}setMagSelectedValue(D){(0,u.default)("setting new server to "+D),this.data.changeMagMicroService(D)}}A.SettingsComponent=P,P.\u0275fac=function(D){return new(D||P)(r.\u0275\u0275directiveInject(d.FhirConfigService),r.\u0275\u0275directiveInject(m.Router))},P.\u0275cmp=r.\u0275\u0275defineComponent({type:P,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(D,T){1&D&&(r.\u0275\u0275elementStart(0,"mat-card"),r.\u0275\u0275elementStart(1,"mat-card-content"),r.\u0275\u0275elementStart(2,"form"),r.\u0275\u0275elementStart(3,"mat-form-field"),r.\u0275\u0275elementStart(4,"mat-select",0),r.\u0275\u0275listener("ngModelChange",function($){return T.setMagSelectedValue($)}),r.\u0275\u0275template(5,C,2,2,"mat-option",1),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(6,"br"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&D&&(r.\u0275\u0275advance(4),r.\u0275\u0275property("ngModel",T.getMagSelectedValue()),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",T.mobileAccessGateways))},directives:[p.MatCard,p.MatCardContent,y.\u0275NgNoValidate,y.NgControlStatusGroup,y.NgForm,b.MatFormField,h.MatSelect,y.NgControlStatus,y.NgModel,g.NgForOf,s.MatOption],styles:[""]})},4466:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.SharedModule=void 0;const n=o(655),l=o(9808),u=o(3075),c=o(6360),r=o(2313),d=o(1079),m=o(7423),p=o(9224),y=o(7446),b=o(508),h=o(6856),g=o(4834),s=o(7322),C=o(5245),P=o(7531),w=o(2181),D=o(7850),T=o(9814),Y=o(4107),$=o(2368),z=o(8029),G=o(6346),X=o(3251),Q=o(4594),q=o(2466),ue=o(773),me=(0,n.__importStar)(o(5e3)),xe=[l.CommonModule,r.BrowserModule,c.BrowserAnimationsModule,u.FormsModule,u.ReactiveFormsModule,q.TranslateModule,d.MatAutocompleteModule,m.MatButtonModule,p.MatCardModule,y.MatCheckboxModule,g.MatDividerModule,s.MatFormFieldModule,C.MatIconModule,P.MatInputModule,w.MatMenuModule,D.MatPaginatorModule,Y.MatSelectModule,z.MatSliderModule,$.MatSlideToggleModule,G.MatTableModule,Q.MatToolbarModule,X.MatTabsModule,h.MatDatepickerModule,b.MatNativeDateModule,T.MatRadioModule,ue.MatProgressSpinnerModule];class oe{}A.SharedModule=oe,oe.\u0275fac=function(U){return new(U||oe)},oe.\u0275mod=me.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=me.\u0275\u0275defineInjector({imports:[xe,l.CommonModule,r.BrowserModule,c.BrowserAnimationsModule,u.FormsModule,u.ReactiveFormsModule,q.TranslateModule,d.MatAutocompleteModule,m.MatButtonModule,p.MatCardModule,y.MatCheckboxModule,g.MatDividerModule,s.MatFormFieldModule,C.MatIconModule,P.MatInputModule,w.MatMenuModule,D.MatPaginatorModule,Y.MatSelectModule,z.MatSliderModule,$.MatSlideToggleModule,G.MatTableModule,Q.MatToolbarModule,X.MatTabsModule,h.MatDatepickerModule,b.MatNativeDateModule,T.MatRadioModule,ue.MatProgressSpinnerModule]})},68:(he,A,o)=>{"use strict";var n=o(8926).default;Object.defineProperty(A,"__esModule",{value:!0}),A.UploadComponent=void 0;const l=o(655),u=o(5e3),c=(0,l.__importStar)(o(5e3)),r=(0,l.__importStar)(o(5245)),d=(0,l.__importStar)(o(7423));class m{constructor(){this.addFiles=new u.EventEmitter,this.dragCounter=0}checkStatus(y){if(!y.ok)throw new Error(`HTTP ${y.status} - ${y.statusText}`);return y}onDrop(y){y.preventDefault(),this.dragCounter=0;const b=y.target.files||y.dataTransfer.items;if(b)for(let g=0;g0))},directives:[r.MatIcon,d.MatButton],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})},2340:(he,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.environment=void 0,A.environment={production:!0}},4431:(he,A,o)=>{"use strict";const u=(0,o(655).__importStar)(o(2313)),c=o(5e3),r=o(6747);o(2340).environment.production&&(0,c.enableProdMode)(),u.platformBrowser().bootstrapModule(r.AppModule).catch(m=>console.log(m))},2466:(he,A,o)=>{"use strict";o.r(A),o.d(A,{TranslateModule:()=>pe,TranslateLoader:()=>h,TranslateFakeLoader:()=>g,USE_STORE:()=>Q,USE_DEFAULT_LANG:()=>q,TranslateService:()=>ue,MissingTranslationHandler:()=>s,FakeMissingTranslationHandler:()=>C,TranslateParser:()=>z,TranslateDefaultParser:()=>G,TranslateCompiler:()=>P,TranslateFakeCompiler:()=>w,TranslateDirective:()=>me,TranslatePipe:()=>xe,TranslateStore:()=>X});var n=o(5e3),l=o(1086),u=o(6787),c=o(6498),r=o(1961),d=o(2986),m=o(8117),p=o(4850),y=o(864),b=o(7545);class h{}let g=(()=>{class oe extends h{getTranslation(U){return(0,l.of)({})}}return oe.\u0275fac=function(){let ae;return function(ie){return(ae||(ae=n.\u0275\u0275getInheritedFactory(oe)))(ie||oe)}}(),oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})();class s{}let C=(()=>{class oe{handle(U){return U.key}}return oe.\u0275fac=function(U){return new(U||oe)},oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})();class P{}let w=(()=>{class oe extends P{compile(U,ie){return U}compileTranslations(U,ie){return U}}return oe.\u0275fac=function(){let ae;return function(ie){return(ae||(ae=n.\u0275\u0275getInheritedFactory(oe)))(ie||oe)}}(),oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})();function D(oe,ae){if(oe===ae)return!0;if(null===oe||null===ae)return!1;if(oe!=oe&&ae!=ae)return!0;let le,Ce,Te,U=typeof oe;if(U==typeof ae&&"object"==U){if(!Array.isArray(oe)){if(Array.isArray(ae))return!1;for(Ce in Te=Object.create(null),oe){if(!D(oe[Ce],ae[Ce]))return!1;Te[Ce]=!0}for(Ce in ae)if(!(Ce in Te)&&void 0!==ae[Ce])return!1;return!0}if(!Array.isArray(ae))return!1;if((le=oe.length)==ae.length){for(Ce=0;Ce{Y(ae[ie])?ie in oe?U[ie]=$(oe[ie],ae[ie]):Object.assign(U,{[ie]:ae[ie]}):Object.assign(U,{[ie]:ae[ie]})}),U}class z{}let G=(()=>{class oe extends z{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(U,ie){let le;return le="string"==typeof U?this.interpolateString(U,ie):"function"==typeof U?this.interpolateFunction(U,ie):U,le}getValue(U,ie){let le=ie.split(".");ie="";do{ie+=le.shift(),!T(U)||!T(U[ie])||"object"!=typeof U[ie]&&le.length?le.length?ie+=".":U=void 0:(U=U[ie],ie="")}while(le.length);return U}interpolateFunction(U,ie){return U(ie)}interpolateString(U,ie){return ie?U.replace(this.templateMatcher,(le,Ce)=>{let Te=this.getValue(ie,Ce);return T(Te)?Te:le}):U}}return oe.\u0275fac=function(){let ae;return function(ie){return(ae||(ae=n.\u0275\u0275getInheritedFactory(oe)))(ie||oe)}}(),oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})();class X{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new n.EventEmitter,this.onLangChange=new n.EventEmitter,this.onDefaultLangChange=new n.EventEmitter}}const Q=new n.InjectionToken("USE_STORE"),q=new n.InjectionToken("USE_DEFAULT_LANG");let ue=(()=>{class oe{constructor(U,ie,le,Ce,Te,Ke=!0,tt=!1){this.store=U,this.currentLoader=ie,this.compiler=le,this.parser=Ce,this.missingTranslationHandler=Te,this.useDefaultLang=Ke,this.isolate=tt,this.pending=!1,this._onTranslationChange=new n.EventEmitter,this._onLangChange=new n.EventEmitter,this._onDefaultLangChange=new n.EventEmitter,this._langs=[],this._translations={},this._translationRequests={}}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(U){this.isolate?this._defaultLang=U:this.store.defaultLang=U}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(U){this.isolate?this._currentLang=U:this.store.currentLang=U}get langs(){return this.isolate?this._langs:this.store.langs}set langs(U){this.isolate?this._langs=U:this.store.langs=U}get translations(){return this.isolate?this._translations:this.store.translations}set translations(U){this.isolate?this._translations=U:this.store.translations=U}setDefaultLang(U){if(U===this.defaultLang)return;let ie=this.retrieveTranslations(U);void 0!==ie?(this.defaultLang||(this.defaultLang=U),ie.pipe((0,d.q)(1)).subscribe(le=>{this.changeDefaultLang(U)})):this.changeDefaultLang(U)}getDefaultLang(){return this.defaultLang}use(U){if(U===this.currentLang)return(0,l.of)(this.translations[U]);let ie=this.retrieveTranslations(U);return void 0!==ie?(this.currentLang||(this.currentLang=U),ie.pipe((0,d.q)(1)).subscribe(le=>{this.changeLang(U)}),ie):(this.changeLang(U),(0,l.of)(this.translations[U]))}retrieveTranslations(U){let ie;return void 0===this.translations[U]&&(this._translationRequests[U]=this._translationRequests[U]||this.getTranslation(U),ie=this._translationRequests[U]),ie}getTranslation(U){this.pending=!0;const ie=this.currentLoader.getTranslation(U).pipe((0,m.B)());return this.loadingTranslations=ie.pipe((0,d.q)(1),(0,p.U)(le=>this.compiler.compileTranslations(le,U)),(0,m.B)()),this.loadingTranslations.subscribe(le=>{this.translations[U]=le,this.updateLangs(),this.pending=!1},le=>{this.pending=!1}),ie}setTranslation(U,ie,le=!1){ie=this.compiler.compileTranslations(ie,U),this.translations[U]=le&&this.translations[U]?$(this.translations[U],ie):ie,this.updateLangs(),this.onTranslationChange.emit({lang:U,translations:this.translations[U]})}getLangs(){return this.langs}addLangs(U){U.forEach(ie=>{-1===this.langs.indexOf(ie)&&this.langs.push(ie)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(U,ie,le){let Ce;if(ie instanceof Array){let Te={},Ke=!1;for(let tt of ie)Te[tt]=this.getParsedResult(U,tt,le),"function"==typeof Te[tt].subscribe&&(Ke=!0);if(Ke){let tt;for(let ot of ie){let mt="function"==typeof Te[ot].subscribe?Te[ot]:(0,l.of)(Te[ot]);tt=void 0===tt?mt:(0,u.T)(tt,mt)}return tt.pipe((0,y.q)(),(0,p.U)(ot=>{let mt={};return ot.forEach((Dt,Ie)=>{mt[ie[Ie]]=Dt}),mt}))}return Te}if(U&&(Ce=this.parser.interpolate(this.parser.getValue(U,ie),le)),void 0===Ce&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Ce=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],ie),le)),void 0===Ce){let Te={key:ie,translateService:this};void 0!==le&&(Te.interpolateParams=le),Ce=this.missingTranslationHandler.handle(Te)}return void 0!==Ce?Ce:ie}get(U,ie){if(!T(U)||!U.length)throw new Error('Parameter "key" required');if(this.pending)return c.y.create(le=>{let Ce=Ke=>{le.next(Ke),le.complete()},Te=Ke=>{le.error(Ke)};this.loadingTranslations.subscribe(Ke=>{"function"==typeof(Ke=this.getParsedResult(Ke,U,ie)).subscribe?Ke.subscribe(Ce,Te):Ce(Ke)},Te)});{let le=this.getParsedResult(this.translations[this.currentLang],U,ie);return"function"==typeof le.subscribe?le:(0,l.of)(le)}}stream(U,ie){if(!T(U)||!U.length)throw new Error('Parameter "key" required');return(0,r.z)(this.get(U,ie),this.onLangChange.pipe((0,b.w)(le=>{const Ce=this.getParsedResult(le.translations,U,ie);return"function"==typeof Ce.subscribe?Ce:(0,l.of)(Ce)})))}instant(U,ie){if(!T(U)||!U.length)throw new Error('Parameter "key" required');let le=this.getParsedResult(this.translations[this.currentLang],U,ie);if(void 0!==le.subscribe){if(U instanceof Array){let Ce={};return U.forEach((Te,Ke)=>{Ce[U[Ke]]=U[Ke]}),Ce}return U}return le}set(U,ie,le=this.currentLang){this.translations[le][U]=this.compiler.compile(ie,le),this.updateLangs(),this.onTranslationChange.emit({lang:le,translations:this.translations[le]})}changeLang(U){this.currentLang=U,this.onLangChange.emit({lang:U,translations:this.translations[U]}),this.defaultLang||this.changeDefaultLang(U)}changeDefaultLang(U){this.defaultLang=U,this.onDefaultLangChange.emit({lang:U,translations:this.translations[U]})}reloadLang(U){return this.resetLang(U),this.getTranslation(U)}resetLang(U){this._translationRequests[U]=void 0,this.translations[U]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let U=window.navigator.languages?window.navigator.languages[0]:null;return U=U||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,-1!==U.indexOf("-")&&(U=U.split("-")[0]),-1!==U.indexOf("_")&&(U=U.split("_")[0]),U}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let U=window.navigator.languages?window.navigator.languages[0]:null;return U=U||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,U}}return oe.\u0275fac=function(U){return new(U||oe)(n.\u0275\u0275inject(X),n.\u0275\u0275inject(h),n.\u0275\u0275inject(P),n.\u0275\u0275inject(z),n.\u0275\u0275inject(s),n.\u0275\u0275inject(q),n.\u0275\u0275inject(Q))},oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})(),me=(()=>{class oe{constructor(U,ie,le){this.translateService=U,this.element=ie,this._ref=le,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(Ce=>{Ce.lang===this.translateService.currentLang&&this.checkNodes(!0,Ce.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(Ce=>{this.checkNodes(!0,Ce.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(Ce=>{this.checkNodes(!0)}))}set translate(U){U&&(this.key=U,this.checkNodes())}set translateParams(U){D(this.currentParams,U)||(this.currentParams=U,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(U=!1,ie){let le=this.element.nativeElement.childNodes;le.length||(this.setContent(this.element.nativeElement,this.key),le=this.element.nativeElement.childNodes);for(let Ce=0;Ce{Te!==U&&(ie.lastKey=U),ie.originalContent||(ie.originalContent=this.getContent(ie)),ie.currentValue=T(Te)?Te:ie.originalContent||U,this.setContent(ie,this.key?ie.currentValue:ie.originalContent.replace(U,ie.currentValue)),this._ref.markForCheck()};if(T(le)){let Te=this.translateService.getParsedResult(le,U,this.currentParams);"function"==typeof Te.subscribe?Te.subscribe(Ce):Ce(Te)}else this.translateService.get(U,this.currentParams).subscribe(Ce)}}getContent(U){return T(U.textContent)?U.textContent:U.data}setContent(U,ie){T(U.textContent)?U.textContent=ie:U.data=ie}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return oe.\u0275fac=function(U){return new(U||oe)(n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),oe})(),xe=(()=>{class oe{constructor(U,ie){this.translate=U,this._ref=ie,this.value=""}updateValue(U,ie,le){let Ce=Te=>{this.value=void 0!==Te?Te:U,this.lastKey=U,this._ref.markForCheck()};if(le){let Te=this.translate.getParsedResult(le,U,ie);"function"==typeof Te.subscribe?Te.subscribe(Ce):Ce(Te)}this.translate.get(U,ie).subscribe(Ce)}transform(U,...ie){if(!U||0===U.length)return U;if(D(U,this.lastKey)&&D(ie,this.lastParams))return this.value;let le;if(T(ie[0])&&ie.length)if("string"==typeof ie[0]&&ie[0].length){let Ce=ie[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{le=JSON.parse(Ce)}catch(Te){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${ie[0]}`)}}else"object"==typeof ie[0]&&!Array.isArray(ie[0])&&(le=ie[0]);return this.lastKey=U,this.lastParams=ie,this.updateValue(U,le),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Ce=>{this.lastKey&&Ce.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(U,le,Ce.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Ce=>{this.lastKey&&(this.lastKey=null,this.updateValue(U,le,Ce.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(U,le))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return oe.\u0275fac=function(U){return new(U||oe)(n.\u0275\u0275directiveInject(ue,16),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},oe.\u0275pipe=n.\u0275\u0275definePipe({name:"translate",type:oe,pure:!1}),oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})(),pe=(()=>{class oe{static forRoot(U={}){return{ngModule:oe,providers:[U.loader||{provide:h,useClass:g},U.compiler||{provide:P,useClass:w},U.parser||{provide:z,useClass:G},U.missingTranslationHandler||{provide:s,useClass:C},X,{provide:Q,useValue:U.isolate},{provide:q,useValue:U.useDefaultLang},ue]}}static forChild(U={}){return{ngModule:oe,providers:[U.loader||{provide:h,useClass:g},U.compiler||{provide:P,useClass:w},U.parser||{provide:z,useClass:G},U.missingTranslationHandler||{provide:s,useClass:C},{provide:Q,useValue:U.isolate},{provide:q,useValue:U.useDefaultLang},ue]}}}return oe.\u0275fac=function(U){return new(U||oe)},oe.\u0275mod=n.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=n.\u0275\u0275defineInjector({}),oe})()},1744:(he,A,o)=>{"use strict";o.r(A),o.d(A,{TranslateHttpLoader:()=>n});class n{constructor(u,c="/assets/i18n/",r=".json"){this.http=u,this.prefix=c,this.suffix=r}getTranslation(u){return this.http.get(`${this.prefix}${u}${this.suffix}`)}}},9426:he=>{function A(){}he.exports=A,he.exports.HttpsAgent=A},5618:function(){var he;he="undefined"!=typeof self?self:this,function(o){var n_searchParams="URLSearchParams"in he,n_iterable="Symbol"in he&&"iterator"in Symbol,n_blob="FileReader"in he&&"Blob"in he&&function(){try{return new Blob,!0}catch(Q){return!1}}(),n_formData="FormData"in he,n_arrayBuffer="ArrayBuffer"in he;if(n_arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(Q){return Q&&u.indexOf(Object.prototype.toString.call(Q))>-1};function r(Q){if("string"!=typeof Q&&(Q=String(Q)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(Q))throw new TypeError("Invalid character in header field name");return Q.toLowerCase()}function d(Q){return"string"!=typeof Q&&(Q=String(Q)),Q}function m(Q){var q={next:function(){var ue=Q.shift();return{done:void 0===ue,value:ue}}};return n_iterable&&(q[Symbol.iterator]=function(){return q}),q}function p(Q){this.map={},Q instanceof p?Q.forEach(function(q,ue){this.append(ue,q)},this):Array.isArray(Q)?Q.forEach(function(q){this.append(q[0],q[1])},this):Q&&Object.getOwnPropertyNames(Q).forEach(function(q){this.append(q,Q[q])},this)}function y(Q){if(Q.bodyUsed)return Promise.reject(new TypeError("Already read"));Q.bodyUsed=!0}function b(Q){return new Promise(function(q,ue){Q.onload=function(){q(Q.result)},Q.onerror=function(){ue(Q.error)}})}function h(Q){var q=new FileReader,ue=b(q);return q.readAsArrayBuffer(Q),ue}function C(Q){if(Q.slice)return Q.slice(0);var q=new Uint8Array(Q.byteLength);return q.set(new Uint8Array(Q)),q.buffer}function P(){return this.bodyUsed=!1,this._initBody=function(Q){this._bodyInit=Q,Q?"string"==typeof Q?this._bodyText=Q:n_blob&&Blob.prototype.isPrototypeOf(Q)?this._bodyBlob=Q:n_formData&&FormData.prototype.isPrototypeOf(Q)?this._bodyFormData=Q:n_searchParams&&URLSearchParams.prototype.isPrototypeOf(Q)?this._bodyText=Q.toString():n_arrayBuffer&&n_blob&&function(Q){return Q&&DataView.prototype.isPrototypeOf(Q)}(Q)?(this._bodyArrayBuffer=C(Q.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(Q)||c(Q))?this._bodyArrayBuffer=C(Q):this._bodyText=Q=Object.prototype.toString.call(Q):this._bodyText="",this.headers.get("content-type")||("string"==typeof Q?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(Q)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n_blob&&(this.blob=function(){var Q=y(this);if(Q)return Q;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?y(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var Q=y(this);if(Q)return Q;if(this._bodyBlob)return function(Q){var q=new FileReader,ue=b(q);return q.readAsText(Q),ue}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(Q){for(var q=new Uint8Array(Q),ue=new Array(q.length),me=0;me-1?q:Q}(q.method||this.method||"GET"),this.mode=q.mode||this.mode||null,this.signal=q.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&ue)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(ue)}function Y(Q){var q=new FormData;return Q.trim().split("&").forEach(function(ue){if(ue){var me=ue.split("="),xe=me.shift().replace(/\+/g," "),pe=me.join("=").replace(/\+/g," ");q.append(decodeURIComponent(xe),decodeURIComponent(pe))}}),q}function $(Q){var q=new p;return Q.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(me){var xe=me.split(":"),pe=xe.shift().trim();if(pe){var oe=xe.join(":").trim();q.append(pe,oe)}}),q}function z(Q,q){q||(q={}),this.type="default",this.status=void 0===q.status?200:q.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in q?q.statusText:"OK",this.headers=new p(q.headers),this.url=q.url||"",this._initBody(Q)}T.prototype.clone=function(){return new T(this,{body:this._bodyInit})},P.call(T.prototype),P.call(z.prototype),z.prototype.clone=function(){return new z(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},z.error=function(){var Q=new z(null,{status:0,statusText:""});return Q.type="error",Q};var G=[301,302,303,307,308];z.redirect=function(Q,q){if(-1===G.indexOf(q))throw new RangeError("Invalid status code");return new z(null,{status:q,headers:{location:Q}})},o.DOMException=he.DOMException;try{new o.DOMException}catch(Q){o.DOMException=function(q,ue){this.message=q,this.name=ue;var me=Error(q);this.stack=me.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function X(Q,q){return new Promise(function(ue,me){var xe=new T(Q,q);if(xe.signal&&xe.signal.aborted)return me(new o.DOMException("Aborted","AbortError"));var pe=new XMLHttpRequest;function oe(){pe.abort()}pe.onload=function(){var ae={status:pe.status,statusText:pe.statusText,headers:$(pe.getAllResponseHeaders()||"")};ae.url="responseURL"in pe?pe.responseURL:ae.headers.get("X-Request-URL"),ue(new z("response"in pe?pe.response:pe.responseText,ae))},pe.onerror=function(){me(new TypeError("Network request failed"))},pe.ontimeout=function(){me(new TypeError("Network request failed"))},pe.onabort=function(){me(new o.DOMException("Aborted","AbortError"))},pe.open(xe.method,xe.url,!0),"include"===xe.credentials?pe.withCredentials=!0:"omit"===xe.credentials&&(pe.withCredentials=!1),"responseType"in pe&&n_blob&&(pe.responseType="blob"),xe.headers.forEach(function(ae,U){pe.setRequestHeader(U,ae)}),xe.signal&&(xe.signal.addEventListener("abort",oe),pe.onreadystatechange=function(){4===pe.readyState&&xe.signal.removeEventListener("abort",oe)}),pe.send(void 0===xe._bodyInit?null:xe._bodyInit)})}X.polyfill=!0,he.fetch||(he.fetch=X,he.Headers=p,he.Request=T,he.Response=z),o.Headers=p,o.Request=T,o.Response=z,o.fetch=X,Object.defineProperty(o,"__esModule",{value:!0})}({})},7664:he=>{he.exports=function(n){var l=new Date(n.getTime()),u=l.getTimezoneOffset();return l.setSeconds(0,0),6e4*u+l.getTime()%6e4}},6937:(he,A,o)=>{var n=o(6910);he.exports=function(u,c){var r=n(u),d=Number(c);return r.setDate(r.getDate()+d),r}},2500:(he,A,o)=>{var n=o(7862);he.exports=function(c,r){var d=Number(r);return n(c,36e5*d)}},7862:(he,A,o)=>{var n=o(6910);he.exports=function(u,c){var r=n(u).getTime(),d=Number(c);return new Date(r+d)}},8091:(he,A,o)=>{var n=o(7862);he.exports=function(c,r){var d=Number(r);return n(c,6e4*d)}},4992:(he,A,o)=>{var n=o(6910),l=o(5490);he.exports=function(c,r){var d=n(c),m=Number(r),p=d.getMonth()+m,y=new Date(0);y.setFullYear(d.getFullYear(),p,1),y.setHours(0,0,0,0);var b=l(y);return d.setMonth(p,Math.min(b,d.getDate())),d}},734:(he,A,o)=>{var n=o(7862);he.exports=function(u,c){var r=Number(c);return n(u,1e3*r)}},5213:(he,A,o)=>{var n=o(6937);he.exports=function(u,c){var r=Number(c);return n(u,7*r)}},2486:(he,A,o)=>{var n=o(4992);he.exports=function(u,c){var r=Number(c);return n(u,12*r)}},5490:(he,A,o)=>{var n=o(6910);he.exports=function(u){var c=n(u),r=c.getFullYear(),d=c.getMonth(),m=new Date(0);return m.setFullYear(r,d+1,0),m.setHours(0,0,0,0),m.getDate()}},9882:he=>{he.exports=function(o){return o instanceof Date}},6910:(he,A,o)=>{var n=o(7664),l=o(9882),u=36e5,c=6e4,d=/[T ]/,m=/:/,p=/^(\d{2})$/,y=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],b=/^(\d{4})/,h=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],g=/^-(\d{2})$/,s=/^-?(\d{3})$/,C=/^-?(\d{2})-?(\d{2})$/,P=/^-?W(\d{2})$/,w=/^-?W(\d{2})-?(\d{1})$/,D=/^(\d{2}([.,]\d*)?)$/,T=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,Y=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,$=/([Z+-].*)$/,z=/^(Z)$/,G=/^([+-])(\d{2})$/,X=/^([+-])(\d{2}):?(\d{2})$/;function oe(ae,U,ie){U=U||0,ie=ie||0;var le=new Date(0);le.setUTCFullYear(ae,0,4);var Te=7*U+ie+1-(le.getUTCDay()||7);return le.setUTCDate(le.getUTCDate()+Te),le}he.exports=function(ae,U){if(l(ae))return new Date(ae.getTime());if("string"!=typeof ae)return new Date(ae);var le=(U||{}).additionalDigits;le=null==le?2:Number(le);var Ce=function(ae){var le,U={},ie=ae.split(d);if(m.test(ie[0])?(U.date=null,le=ie[0]):(U.date=ie[0],le=ie[1]),le){var Ce=$.exec(le);Ce?(U.time=le.replace(Ce[1],""),U.timezone=Ce[1]):U.time=le}return U}(ae),Te=function(ae,U){var Ce,ie=y[U],le=h[U];if(Ce=b.exec(ae)||le.exec(ae)){var Te=Ce[1];return{year:parseInt(Te,10),restDateString:ae.slice(Te.length)}}if(Ce=p.exec(ae)||ie.exec(ae)){var Ke=Ce[1];return{year:100*parseInt(Ke,10),restDateString:ae.slice(Ke.length)}}return{year:null}}(Ce.date,le),ot=function(ae,U){if(null===U)return null;var ie,le,Ce;if(0===ae.length)return(le=new Date(0)).setUTCFullYear(U),le;if(ie=g.exec(ae))return le=new Date(0),Ce=parseInt(ie[1],10)-1,le.setUTCFullYear(U,Ce),le;if(ie=s.exec(ae)){le=new Date(0);var Ke=parseInt(ie[1],10);return le.setUTCFullYear(U,0,Ke),le}if(ie=C.exec(ae)){le=new Date(0),Ce=parseInt(ie[1],10)-1;var tt=parseInt(ie[2],10);return le.setUTCFullYear(U,Ce,tt),le}return(ie=P.exec(ae))?oe(U,parseInt(ie[1],10)-1):(ie=w.exec(ae))?oe(U,parseInt(ie[1],10)-1,parseInt(ie[2],10)-1):null}(Te.restDateString,Te.year);if(ot){var Ie,mt=ot.getTime(),Dt=0;if(Ce.time&&(Dt=function(ae){var U,ie,le;if(U=D.exec(ae))return(ie=parseFloat(U[1].replace(",",".")))%24*u;if(U=T.exec(ae))return ie=parseInt(U[1],10),le=parseFloat(U[2].replace(",",".")),ie%24*u+le*c;if(U=Y.exec(ae)){ie=parseInt(U[1],10),le=parseInt(U[2],10);var Ce=parseFloat(U[3].replace(",","."));return ie%24*u+le*c+1e3*Ce}return null}(Ce.time)),Ce.timezone)Ie=function(ae){var U,ie;return(U=z.exec(ae))?0:(U=G.exec(ae))?(ie=60*parseInt(U[2],10),"+"===U[1]?-ie:ie):(U=X.exec(ae))?(ie=60*parseInt(U[2],10)+parseInt(U[3],10),"+"===U[1]?-ie:ie):0}(Ce.timezone)*c;else{var Qe=mt+Dt,ct=new Date(Qe);Ie=n(ct);var bt=new Date(Qe);bt.setDate(ct.getDate()+1);var Et=n(bt)-n(ct);Et>0&&(Ie+=Et)}return new Date(mt+Dt+Ie)}return new Date(ae)}},1455:(he,A,o)=>{A.formatArgs=function(m){if(m[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+m[0]+(this.useColors?"%c ":" ")+"+"+he.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;m.splice(1,0,p,"color: inherit");let y=0,b=0;m[0].replace(/%[a-zA-Z%]/g,h=>{"%%"!==h&&(y++,"%c"===h&&(b=y))}),m.splice(b,0,p)},A.save=function(m){try{m?A.storage.setItem("debug",m):A.storage.removeItem("debug")}catch(p){}},A.load=function(){let m;try{m=A.storage.getItem("debug")}catch(p){}return!m&&"undefined"!=typeof process&&"env"in process&&(m=process.env.DEBUG),m},A.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},A.storage=function(){try{return localStorage}catch(m){}}(),A.destroy=(()=>{let m=!1;return()=>{m||(m=!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`."))}})(),A.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"],A.log=console.debug||console.log||(()=>{}),he.exports=o(3283)(A);const{formatters:d}=he.exports;d.j=function(m){try{return JSON.stringify(m)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}},3283:(he,A,o)=>{he.exports=function(l){function c(g){let s,P,w,C=null;function D(...T){if(!D.enabled)return;const Y=D,$=Number(new Date);Y.diff=$-(s||$),Y.prev=s,Y.curr=$,s=$,T[0]=c.coerce(T[0]),"string"!=typeof T[0]&&T.unshift("%O");let G=0;T[0]=T[0].replace(/%([a-zA-Z%])/g,(Q,q)=>{if("%%"===Q)return"%";G++;const ue=c.formatters[q];return"function"==typeof ue&&(Q=ue.call(Y,T[G]),T.splice(G,1),G--),Q}),c.formatArgs.call(Y,T),(Y.log||c.log).apply(Y,T)}return D.namespace=g,D.useColors=c.useColors(),D.color=c.selectColor(g),D.extend=r,D.destroy=c.destroy,Object.defineProperty(D,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==C?C:(P!==c.namespaces&&(P=c.namespaces,w=c.enabled(g)),w),set:T=>{C=T}}),"function"==typeof c.init&&c.init(D),D}function r(g,s){const C=c(this.namespace+(void 0===s?":":s)+g);return C.log=this.log,C}function y(g){return g.toString().substring(2,g.toString().length-2).replace(/\.\*\?$/,"*")}return c.debug=c,c.default=c,c.coerce=function(g){return g instanceof Error?g.stack||g.message:g},c.disable=function(){const g=[...c.names.map(y),...c.skips.map(y).map(s=>"-"+s)].join(",");return c.enable(""),g},c.enable=function(g){let s;c.save(g),c.namespaces=g,c.names=[],c.skips=[];const C=("string"==typeof g?g:"").split(/[\s,]+/),P=C.length;for(s=0;s{c[g]=l[g]}),c.names=[],c.skips=[],c.formatters={},c.selectColor=function(g){let s=0;for(let C=0;C{"use strict";var A="%[a-f0-9]{2}",o=new RegExp("("+A+")|([^%]+?)","gi"),n=new RegExp("("+A+")+","gi");function l(r,d){try{return[decodeURIComponent(r.join(""))]}catch(y){}if(1===r.length)return r;var m=r.slice(0,d=d||1),p=r.slice(d);return Array.prototype.concat.call([],l(m),l(p))}function u(r){try{return decodeURIComponent(r)}catch(p){for(var d=r.match(o)||[],m=1;m=64;){for(T=C[0],Y=C[1],$=C[2],z=C[3],G=C[4],X=C[5],Q=C[6],q=C[7],me=0;me<16;me++)s[me]=(255&P[xe=w+4*me])<<24|(255&P[xe+1])<<16|(255&P[xe+2])<<8|255&P[xe+3];for(me=16;me<64;me++)s[me]=((pe=((ue=s[me-2])>>>17|ue<<15)^(ue>>>19|ue<<13)^ue>>>10)+s[me-7]|0)+((oe=((ue=s[me-15])>>>7|ue<<25)^(ue>>>18|ue<<14)^ue>>>3)+s[me-16]|0);for(me=0;me<64;me++)pe=(((G>>>6|G<<26)^(G>>>11|G<<21)^(G>>>25|G<<7))+(G&X^~G&Q)|0)+(q+(u[me]+s[me]|0)|0)|0,oe=((T>>>2|T<<30)^(T>>>13|T<<19)^(T>>>22|T<<10))+(T&Y^T&$^Y&$)|0,q=Q,Q=X,X=G,G=z+pe|0,z=$,$=Y,Y=T,T=pe+oe|0;C[0]+=T,C[1]+=Y,C[2]+=$,C[3]+=z,C[4]+=G,C[5]+=X,C[6]+=Q,C[7]+=q,w+=64,D-=64}return w}var r=function(){function s(){this.digestLength=l.digestLength,this.blockSize=l.blockSize,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()}return s.prototype.reset=function(){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},s.prototype.clean=function(){for(var C=0;C0){for(;this.bufferLength<64&&P>0;)this.buffer[this.bufferLength++]=C[w++],P--;64===this.bufferLength&&(c(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(P>=64&&(w=c(this.temp,this.state,C,w,P),P%=64);P>0;)this.buffer[this.bufferLength++]=C[w++],P--;return this},s.prototype.finish=function(C){if(!this.finished){var P=this.bytesHashed,w=this.bufferLength,D=P/536870912|0,T=P<<3,Y=P%64<56?64:128;this.buffer[w]=128;for(var $=w+1;$>>24&255,this.buffer[Y-7]=D>>>16&255,this.buffer[Y-6]=D>>>8&255,this.buffer[Y-5]=D>>>0&255,this.buffer[Y-4]=T>>>24&255,this.buffer[Y-3]=T>>>16&255,this.buffer[Y-2]=T>>>8&255,this.buffer[Y-1]=T>>>0&255,c(this.temp,this.state,this.buffer,0,Y),this.finished=!0}for($=0;$<8;$++)C[4*$+0]=this.state[$]>>>24&255,C[4*$+1]=this.state[$]>>>16&255,C[4*$+2]=this.state[$]>>>8&255,C[4*$+3]=this.state[$]>>>0&255;return this},s.prototype.digest=function(){var C=new Uint8Array(this.digestLength);return this.finish(C),C},s.prototype._saveState=function(C){for(var P=0;Pthis.blockSize)(new r).update(C).finish(P).clean();else for(var w=0;w1&&C.update(s),P&&C.update(P),C.update(w),C.finish(s),w[0]++}l.HMAC=d,l.hash=m,l.default=m,l.hmac=p;var b=new Uint8Array(l.digestLength);l.hkdf=function(s,C,P,w){void 0===C&&(C=b),void 0===w&&(w=32);for(var D=new Uint8Array([1]),T=p(C,s),Y=new d(T),$=new Uint8Array(Y.digestLength),z=$.length,G=new Uint8Array(w),X=0;X>>24&255,Y[1]=Q>>>16&255,Y[2]=Q>>>8&255,Y[3]=Q>>>0&255,D.reset(),D.update(C),D.update(Y),D.finish(z);for(var q=0;q{he.exports=class{constructor(n){this.capabilityStatement=n}serverCan(n){return this.supportFor({capabilityType:"interaction",where:{code:n}})}resourceCan(n,l){return this.supportFor({resourceType:n,capabilityType:"interaction",where:{code:l}})}serverSearch(n){return this.supportFor({capabilityType:"searchParam",where:{name:n}})}resourceSearch(n,l){return this.supportFor({resourceType:n,capabilityType:"searchParam",where:{name:l}})}supportFor({resourceType:n,capabilityType:l,where:u}={}){let c;if(c=n?this.resourceCapabilities({resourceType:n}):this.serverCapabilities(),!c)return!1;const r=c[l];if(u&&r){const d=Object.keys(u)[0];return void 0!==r.find(p=>p[d]===u[d])}return void 0!==r}interactionsFor({resourceType:n}={}){const l=this.resourceCapabilities({resourceType:n});return void 0===l?[]:l.interaction.map(u=>u.code)}searchParamsFor({resourceType:n}={}){const l=this.resourceCapabilities({resourceType:n});return void 0===l||void 0===l.searchParam?[]:l.searchParam.map(u=>u.name)}resourceCapabilities({resourceType:n}={}){return this.serverCapabilities().resource.find(c=>c.type===n)}capabilityContents({resourceType:n,capabilityType:l}={}){const u=this.resourceCapabilities({resourceType:n});if(void 0!==u)return u[l]}serverCapabilities(){return this.capabilityStatement.rest.find(n=>"server"===n.mode)}}},6336:(he,A,o)=>{var n=o(8926).default;const l=o(3230),{authFromCapability:u,authFromWellKnown:c}=o(231),r=o(3302),d=o(6357),m=o(8279),{createQueryString:p,validResourceType:y}=o(7800),{FetchQueue:b}=o(7011),{deprecatePaginationArgs:h,deprecateHeaders:g}=o(4712),s=o(5457);he.exports=class{constructor({baseUrl:w,customHeaders:D,requestOptions:T,requestSigner:Y,bearerToken:$}={}){this.httpClient=new r({baseUrl:w,customHeaders:D,requestOptions:T,requestSigner:Y}),$&&(this.httpClient.bearerToken=$),this.resolver=new d(this),this.pagination=new m(this.httpClient)}static httpFor(w){return{request:r.requestFor(w),response:r.responseFor(w)}}get baseUrl(){return this.httpClient&&this.httpClient.baseUrl}set baseUrl(w){this.httpClient&&(this.httpClient.baseUrl=w)}get customHeaders(){return this.httpClient.customHeaders}set customHeaders(w){this.httpClient.customHeaders=w}set bearerToken(w){this.httpClient.bearerToken=w}resolve({reference:w,context:D,headers:T,options:Y={}}={}){return this.resolver.resolve({reference:w,context:D,options:g(Y,T)})}smartAuthMetadata({headers:w,options:D={}}={}){var T=this;return n(function*(){const Y={options:g(D,w)};Y.options.headers||(Y.options.headers={}),Y.options.headers.accept="application/fhir+json,application/json";const $=T.baseUrl.replace(/\/*$/,"/"),z=new b,G=z.buildJob(),X=z.buildJob(),Q=z.buildJob(),q=[];return new Promise((ue,me)=>{function xe(pe){q.push(pe)===z.numJobs&&me(new Error(q.map(oe=>oe.message).join("; ")))}T.httpClient.request("GET",`${$}.well-known/smart-configuration`,X.addSignalOption(Y)).then(pe=>(z.safeAbortOthers(X),ue(c(pe)))).catch(pe=>xe(pe)),T.capabilityStatement(G.addSignalOption(Y)).then(pe=>(z.safeAbortOthers(G),ue(u(pe)))).catch(pe=>xe(pe)),T.httpClient.request("GET",`${$}.well-known/openid-configuration`,Q.addSignalOption(Y)).then(pe=>(z.safeAbortOthers(Q),ue(c(pe)))).catch(pe=>xe(pe))})})()}capabilityStatement({headers:w,options:D={}}={}){return this.metadata||(this.metadata=this.httpClient.get("metadata",g(D,w))),this.metadata}request(w,{method:D="GET",options:T={},body:Y}={}){return T.method&&T.method!==D&&console.warn(`WARNING: 'options.method' has been specified: ${T.method} but will be ignored. Use 'method' instead.`),this.httpClient.request(D,w,T,Y)}read({resourceType:w,id:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.get(`${w}/${D}`,g(Y,T))}vread({resourceType:w,id:D,version:T,headers:Y,options:$={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.get(`${w}/${D}/_history/${T}`,g($,Y))}create({resourceType:w,body:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.post(w,D,g(Y,T))}delete({resourceType:w,id:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.delete(`${w}/${D}`,g(Y,T))}update({resourceType:w,id:D,searchParams:T,body:Y,headers:$,options:z={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);if(D&&T)throw new Error("Conditional update with search params cannot be with id",w);if(T){const G=p(T);return this.httpClient.put(`${w}?${G}`,Y,g(z,$))}return this.httpClient.put(`${w}/${D}`,Y,g(z,$))}patch({resourceType:w,id:D,JSONPatch:T,headers:Y,options:$={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);const G={...g($,Y).headers||{},"Content-Type":"application/json-patch+json"};return this.httpClient.patch(`${w}/${D}`,T,{...$,headers:G})}batch({body:w,headers:D,options:T={}}={}){return this.httpClient.post("/",w,g(T,D))}transaction({body:w,headers:D,options:T={}}={}){return this.httpClient.post("/",w,g(T,D))}operation({name:w,resourceType:D,id:T,method:Y="POST",input:$,options:z={}}={}){const G=["/"];if(D){if(!y(D))throw new Error("Invalid resourceType",D);G.push(`${D}/`)}return T&&G.push(`${T}/`),G.push(`${w.startsWith("$")?w:`$${w}`}`),"POST"===Y.toUpperCase()?this.httpClient.post(G.join(""),$,z):"GET"===Y.toUpperCase()?($&&G.push(`?${l.stringify($)}`),this.httpClient.get(G.join(""),z)):void 0}nextPage(w,D){const{bundle:T,options:Y={}}=h(w,D);return this.pagination.nextPage(T,Y)}prevPage(w,D){const{bundle:T,options:Y={}}=h(w,D);return this.pagination.prevPage(T,Y)}search({resourceType:w,compartment:D,searchParams:T,headers:Y,options:$={}}={}){if(w&&!y(w))throw new Error("Invalid resourceType",w);if(D&&w)return this.compartmentSearch({resourceType:w,compartment:D,searchParams:T,options:g($,Y)});if(w)return this.resourceSearch({resourceType:w,searchParams:T,options:g($,Y)});if(T instanceof Object&&Object.keys(T).length>0)return this.systemSearch({searchParams:T,options:g($,Y)});throw new Error("search requires either searchParams or a resourceType")}resourceSearch({resourceType:w,searchParams:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);let $=w;return Y.postSearch&&($+="/_search"),this.baseSearch({searchPath:$,searchParams:D,headers:T,options:Y})}systemSearch({searchParams:w,headers:D,options:T={}}={}){return this.baseSearch({searchPath:"/_search",searchParams:w,headers:D,options:T})}compartmentSearch({resourceType:w,compartment:D,searchParams:T,headers:Y,options:$={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);const{resourceType:z,id:G}=D;if(!y(z))throw new Error("Invalid compartmentType",z);let X=`/${z}/${G}/${w}`;return $.postSearch&&(X+="/_search"),this.baseSearch({searchPath:X,searchParams:T,headers:Y,options:$})}baseSearch({searchPath:w,searchParams:D,headers:T,options:Y}){const $=p(D),z=g(Y,T);return this[Y.postSearch?"postSearch":"getSearch"](w,$,z)}postSearch(w,D,T){const $={"Content-Type":"application/x-www-form-urlencoded",...T.headers},z={...T,headers:$};return this.httpClient.post(w,D,z)}getSearch(w,D,T){let Y=w;return D&&(Y+=`?${D}`),this.httpClient.get(Y,T)}history({resourceType:w,id:D,headers:T,options:Y={}}={}){if(w&&!y(w))throw new Error("Invalid resourceType",w);return D&&w?this.resourceHistory({resourceType:w,id:D,options:g(Y,T)}):w?this.typeHistory({resourceType:w,options:g(Y,T)}):this.systemHistory({options:g(Y,T)})}resourceHistory({resourceType:w,id:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.get(`${w}/${D}/_history`,g(Y,T))}typeHistory({resourceType:w,headers:D,options:T={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.get(`${w}/_history`,g(T,D))}systemHistory({headers:w,options:D={}}={}){return this.httpClient.get("_history",g(D,w))}},he.exports.CapabilityTool=s},4712:he=>{he.exports={deprecateHeaders:(n,l)=>l?(console.warn("WARNING: headers is deprecated and will be removed in the next major version. Use options.headers instead."),console.warn(JSON.stringify(l,null," ")),{headers:l,...n}):n,deprecatePaginationArgs:(n,l)=>{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 u={bundle:n};return l&&(u.options={headers:l}),u}return n}}},7011:(he,A,o)=>{const{AbortController:n}=o(2398);class l{constructor(){this.controller=new n,this.resolving=!1}addSignalOption(r){return{signal:this.controller.signal,...r}}safeAbort(){this.resolving||this.controller.abort()}}he.exports={FetchQueue:class{constructor(){this.jobs=[],this.numJobs=0}buildJob(){const r=new l;return this.numJobs=this.jobs.push(r),r}safeAbortOthers(r){r.resolving=!0;for(let d=0,m=this.numJobs;d{he.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})?$/}},3302:(he,A,o)=>{var n=o(8926).default;o(6604).polyfill(),o(5618);const{logRequestError:l,logRequestInfo:u,logResponseInfo:c}=o(6988),r={accept:"application/fhir+json"},d="__response",m="__request";let y,b,p=!1;try{y=o(9426),b=o(9426).HttpsAgent,p=!0}catch(P){u("HTTP Agent is not available")}const h=new WeakMap;function s({status:P,data:w,method:D,headers:T,url:Y}){const $={response:{status:P,data:w},config:{method:D,url:Y,headers:T}};return l($),$}he.exports=class qa{static lcKeys(w){return w&&Object.keys(w).reduce((D,T)=>(D[T.toLowerCase()]=w[T],D),{})}constructor({baseUrl:w,customHeaders:D={},requestOptions:T={},requestSigner:Y}){this.baseUrl=w,this.customHeaders=D,this.baseRequestOptions=T,this.requestSigner=Y}set baseUrl(w){if(!w)throw new Error("baseUrl cannot be blank");if("string"!=typeof w)throw new Error("baseUrl must be a string");this.baseUrlValue=w}get baseUrl(){return this.baseUrlValue}static responseFor(w){return w[d]}static requestFor(w){return w[m]}set bearerToken(w){this.authHeader={authorization:`Bearer ${w}`}}requestBuilder(w,D,T,Y){const $={...this.baseRequestOptions,...T,method:w,body:(P=Y,"string"==typeof P?P:JSON.stringify(P))};var P;let z={};return p||(z={keepalive:!Object.prototype.hasOwnProperty.call($,"keepalive")||$.keepalive}),Object.assign($,z,{headers:new Headers(this.mergeHeaders(T.headers))},function(P,w={}){const D={baseUrl:P,agentOptions:w};return p?(h.get(D)||(P.startsWith("https")?h.set(D,{agent:new b(w)}):h.set(D,{agent:new y(w)})),h.get(D)):{}}(this.baseUrl,$)),this.requestSigner&&this.requestSigner(D,$),new Request(D,$)}request(w,D,T={},Y){var $=this;return n(function*(){const z=$.expandUrl(D),G=$.requestBuilder(w,z,T,Y);u(w,z,G.headers);const X=yield fetch(G),{status:Q,headers:q}=X;c({status:Q,response:X});const ue=yield X.text();let me={};if(ue)try{me=JSON.parse(ue)}catch(xe){throw me=ue,s({status:Q,data:me,method:w,headers:q,url:z})}if(!X.ok)throw s({status:Q,data:me,method:w,headers:q,url:z});return Object.defineProperty(me,d,{writable:!1,enumerable:!1,value:X}),Object.defineProperty(me,m,{writable:!1,enumerable:!1,value:G}),me})()}get(w,D){var T=this;return n(function*(){return T.request("GET",w,D)})()}delete(w,D){var T=this;return n(function*(){return T.request("DELETE",w,D)})()}put(w,D,T={}){var Y=this;return n(function*(){const $={"content-type":"application/fhir+json",...qa.lcKeys(T.headers)},z={...T,headers:$};return Y.request("PUT",w,z,D)})()}post(w,D,T={}){var Y=this;return n(function*(){const $={"content-type":"application/fhir+json",...qa.lcKeys(T.headers)},z={...T,headers:$};return Y.request("POST",w,z,D)})()}patch(w,D,T){var Y=this;return n(function*(){return Y.request("PATCH",w,T,D)})()}expandUrl(w=""){return w.toLowerCase().startsWith("http")?w:this.baseUrl.endsWith("/")&&w.startsWith("/")?this.baseUrl+w.slice(1):this.baseUrl.endsWith("/")||w.startsWith("/")?this.baseUrl+w:`${this.baseUrl}/${w}`}mergeHeaders(w){const{lcKeys:D}=qa;return{...D(r),...D(this.authHeader),...D(this.customHeaders),...D(w)}}}},6988:(he,A,o)=>{const n=o(642),l=o(1455)("fhir-kit-client:error"),u=o(1455)("fhir-kit-client:info");function c(b){return n(b)}function r(b){return c(b.raw&&"function"==typeof b.raw?b.raw():b)}he.exports={logRequestError:function(b){!l.enabled||(l("!!! Error"),b.response&&l(` Status: ${b.response.status}`),b.config&&(l(` ${b.config.method.toUpperCase()}: ${b.config.url}`),l(` Headers: ${r(b.config.headers)}`)),b.response&&b.response.data&&l(c(b.response.data)),l("!!! Request Error"))},logRequestInfo:function(b,h,g){!u.enabled||(h&&u(`Request: ${b.toUpperCase()} ${h.toString()}`),u(`Request Headers: ${r(g)}`))},logResponseInfo:function(b){!u.enabled||(u(`Response: ${b.status}`),b.data&&u(c(b.data)))},logError:function(b){!l.enabled||l(b)}}},8279:he=>{he.exports=class{constructor(n){this.httpClient=n}nextPage(n,{headers:l}={}){const u=n.link.find(c=>"next"===c.relation);return u?this.httpClient.get(u.url,{headers:l}):void 0}prevPage(n,{headers:l}={}){const u=n.link.find(c=>c.relation.match(/^prev(ious)?$/));return u?this.httpClient.get(u.url,{headers:l}):void 0}}},6357:(he,A,o)=>{var n=o(8926).default;const{splitReference:l}=o(7800),{deprecateHeaders:u}=o(4712);he.exports=class{constructor(c){this.client=c}resolve({reference:c,context:r,headers:d,options:m={}}={}){var p=this;return n(function*(){return void 0===r?c.startsWith("http")?p.resolveAbsoluteReference(c,u(m,d)):p.client.httpClient.get(c,u(m,d)):c.startsWith("#")?p.resolveContainedReference(c,r):p.resolveBundleReference(c,r,u(m,d))})()}resolveAbsoluteReference(c,r){var d=this;return n(function*(){if(c.startsWith(d.client.baseUrl))return d.client.httpClient.get(c,r);const{baseUrl:m,resourceType:p,id:y}=l(c);return new(o(6336))({baseUrl:m}).read({resourceType:p,id:y,options:r})})()}resolveContainedReference(c,r){if(r.contained){const d=c.slice(1),m=r.contained.find(p=>p.id===d);if(m)return m}throw new Error(`Unable to resolve contained reference: ${c}`)}resolveBundleReference(c,r,d){var m=this;return n(function*(){const p=new RegExp(`(^|/)${c}$`),y=r.entry.find(b=>p.test(b.fullUrl));return y?y.resource:m.resolve({reference:c,options:d})})()}}},231:(he,A,o)=>{const{logError:l}=o(6988);he.exports={authFromCapability:function(r){const d={};try{return r.rest.forEach(m=>{m.security.extension.find(y=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===y.url).extension.forEach(y=>{switch(y.url){case"authorize":d.authorizeUrl=new URL(y.valueUri);break;case"token":d.tokenUrl=new URL(y.valueUri);break;case"register":d.registerUrl=new URL(y.valueUri);break;case"manage":d.manageUrl=new URL(y.valueUri)}})}),d}catch(m){return l(m),d}},authFromWellKnown:function(r){const{authorization_endpoint:d,token_endpoint:m,registration_endpoint:p}=r;return{authorizeUrl:d&&new URL(d),tokenUrl:m&&new URL(m),registerUrl:p&&new URL(p)}}}},7800:(he,A,o)=>{const n=o(3230),{fhirReferenceRegEx:l}=o(3113);he.exports={createQueryString:function(d){if(d instanceof Object&&Object.keys(d).length>0)return n.stringify(d)},splitReference:function(d){if(!d.match(l))throw new Error(`${d} is not a recognized FHIR reference`);let m,p=d;d.startsWith("http")&&([,m]=l.exec(d),p=d.slice(m.length),m.endsWith("/")&&(m=m.slice(0,-1)));const[y,b]=p.split("/");return{baseUrl:m,resourceType:y,id:b}},validResourceType:function(d){return!d.startsWith("/")&&!d.includes(":")&&/\S/.test(d)}}},6665:(he,A,o)=>{var n=o(8443).Token,l=o(3805).Lexer,u=o(210).Interval;function c(){return this}function r(d){return c.call(this),this.tokenSource=d,this.tokens=[],this.index=-1,this.fetchedEOF=!1,this}(r.prototype=Object.create(c.prototype)).constructor=r,r.prototype.mark=function(){return 0},r.prototype.release=function(d){},r.prototype.reset=function(){this.seek(0)},r.prototype.seek=function(d){this.lazyInit(),this.index=this.adjustSeekIndex(d)},r.prototype.get=function(d){return this.lazyInit(),this.tokens[d]},r.prototype.consume=function(){if(!(this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(m)>=m},r.prototype.fetch=function(d){if(this.fetchedEOF)return 0;for(var m=0;m=this.tokens.length&&(m=this.tokens.length-1);for(var b=d;b=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[m]},r.prototype.adjustSeekIndex=function(d){return d},r.prototype.lazyInit=function(){-1===this.index&&this.setup()},r.prototype.setup=function(){this.sync(0),this.index=this.adjustSeekIndex(0)},r.prototype.setTokenSource=function(d){this.tokenSource=d,this.tokens=[],this.index=-1,this.fetchedEOF=!1},r.prototype.nextTokenOnChannel=function(d,m){if(this.sync(d),d>=this.tokens.length)return-1;for(var p=this.tokens[d];p.channel!==this.channel;){if(p.type===n.EOF)return-1;this.sync(d+=1),p=this.tokens[d]}return d},r.prototype.previousTokenOnChannel=function(d,m){for(;d>=0&&this.tokens[d].channel!==m;)d-=1;return d},r.prototype.getHiddenTokensToRight=function(d,m){if(void 0===m&&(m=-1),this.lazyInit(),d<0||d>=this.tokens.length)throw d+" not in 0.."+this.tokens.length-1;var p=this.nextTokenOnChannel(d+1,l.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(d+1,-1===p?this.tokens.length-1:p,m)},r.prototype.getHiddenTokensToLeft=function(d,m){if(void 0===m&&(m=-1),this.lazyInit(),d<0||d>=this.tokens.length)throw d+" not in 0.."+this.tokens.length-1;var p=this.previousTokenOnChannel(d-1,l.DEFAULT_TOKEN_CHANNEL);return p===d-1?null:this.filterForChannel(p+1,d-1,m)},r.prototype.filterForChannel=function(d,m,p){for(var y=[],b=d;b=this.tokens.length&&(p=this.tokens.length-1);for(var y="",b=m;b{var n=o(8443).CommonToken;function l(){return this}function u(c){return l.call(this),this.copyText=void 0!==c&&c,this}(u.prototype=Object.create(l.prototype)).constructor=u,u.DEFAULT=new u,u.prototype.create=function(c,r,d,m,p,y,b,h){var g=new n(c,r,m,p,y);return g.line=b,g.column=h,null!==d?g.text=d:this.copyText&&null!==c[1]&&(g.text=c[1].getText(p,y)),g},u.prototype.createThin=function(c,r){var d=new n(null,c);return d.text=r,d},A.$=u},2430:(he,A,o)=>{var n=o(8443).Token,l=o(6665).B;function u(c,r){return l.call(this,c),this.channel=void 0===r?n.DEFAULT_CHANNEL:r,this}(u.prototype=Object.create(l.prototype)).constructor=u,u.prototype.adjustSeekIndex=function(c){return this.nextTokenOnChannel(c,this.channel)},u.prototype.LB=function(c){if(0===c||this.index-c<0)return null;for(var r=this.index,d=1;d<=c;)r=this.previousTokenOnChannel(r-1,this.channel),d+=1;return r<0?null:this.tokens[r]},u.prototype.LT=function(c){if(this.lazyInit(),0===c)return null;if(c<0)return this.LB(-c);for(var r=this.index,d=1;d{var n=o(8443).Token;function u(c,r){return this.name="",this.strdata=c,this.decodeToUnicodeCodePoints=r||!1,function(c){if(c._index=0,c.data=[],c.decodeToUnicodeCodePoints)for(var r=0;r=this._size)throw"cannot consume EOF";this._index+=1},u.prototype.LA=function(c){if(0===c)return 0;c<0&&(c+=1);var r=this._index+c-1;return r<0||r>=this._size?n.EOF:this.data[r]},u.prototype.LT=function(c){return this.LA(c)},u.prototype.mark=function(){return-1},u.prototype.release=function(c){},u.prototype.seek=function(c){this._index=c<=this._index?c:Math.min(c,this._size)},u.prototype.getText=function(c,r){if(r>=this._size&&(r=this._size-1),c>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var d="",m=c;m<=r;m++)d+=String.fromCodePoint(this.data[m]);return d}return this.strdata.slice(c,r+1)},u.prototype.toString=function(){return this.strdata},A.InputStream=u},210:(he,A,o)=>{var n=o(8443).Token;function l(c,r){return this.start=c,this.stop=r,this}function u(){this.intervals=null,this.readOnly=!1}l.prototype.contains=function(c){return c>=this.start&&c=d.stop?(this.intervals.pop(c+1),this.reduce(c)):r.stop>=d.start&&(this.intervals[c]=new l(r.start,d.stop),this.intervals.pop(c+1))}},u.prototype.complement=function(c,r){var d=new u;d.addInterval(new l(c,r+1));for(var m=0;mm.start&&c.stop=m.stop?(this.intervals.splice(r,1),r-=1):c.start":"'"+String.fromCharCode(d.start)+"'":"'"+String.fromCharCode(d.start)+"'..'"+String.fromCharCode(d.stop-1)+"'")}return c.length>1?"{"+c.join(", ")+"}":c[0]},u.prototype.toIndexString=function(){for(var c=[],r=0;r":d.start.toString():d.start.toString()+".."+(d.stop-1).toString())}return c.length>1?"{"+c.join(", ")+"}":c[0]},u.prototype.toTokenString=function(c,r){for(var d=[],m=0;m1?"{"+d.join(", ")+"}":d[0]},u.prototype.elementName=function(c,r,d){return d===n.EOF?"":d===n.EPSILON?"":c[d]||r[d]},A.Interval=l,A.V=u},8802:(he,A,o)=>{var n=o(8065).Set,l=o(8065).BitSet,u=o(8443).Token,c=o(2348).m,d=(o(210),o(210).V),m=o(9855).RuleStopState,p=o(7131).RuleTransition,y=o(7131).NotSetTransition,b=o(7131).WildcardTransition,h=o(7131).AbstractPredicateTransition,g=o(4825),s=g.predictionContextFromRuleContext,C=g.PredictionContext,P=g.SingletonPredictionContext;function w(D){this.atn=D}w.HIT_PRED=u.INVALID_TYPE,w.prototype.getDecisionLookahead=function(D){if(null===D)return null;for(var T=D.transitions.length,Y=[],$=0;${var n=o(8443).Token,l=o(3788).c,u=o(5207).$,c=o(6071).RecognitionException,r=o(6071).LexerNoViableAltException;function m(p){return l.call(this),this._input=p,this._factory=u.DEFAULT,this._tokenFactorySourcePair=[this,p],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=m.DEFAULT_MODE,this._text=null,this}(m.prototype=Object.create(l.prototype)).constructor=m,m.DEFAULT_MODE=0,m.MORE=-2,m.SKIP=-3,m.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,m.HIDDEN=n.HIDDEN_CHANNEL,m.MIN_CHAR_VALUE=0,m.MAX_CHAR_VALUE=1114111,m.prototype.reset=function(){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=m.DEFAULT_MODE,this._modeStack=[],this._interp.reset()},m.prototype.nextToken=function(){if(null===this._input)throw"nextToken requires a non-null input stream.";var p=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;for(var y=!1;;){this._type=n.INVALID_TYPE;var b=m.SKIP;try{b=this._interp.match(this._input,this._mode)}catch(h){if(!(h instanceof c))throw console.log(h.stack),h;this.notifyListeners(h),this.recover(h)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=b),this._type===m.SKIP){y=!0;break}if(this._type!==m.MORE)break}if(!y)return null===this._token&&this.emit(),this._token}}finally{this._input.release(p)}},m.prototype.skip=function(){this._type=m.SKIP},m.prototype.more=function(){this._type=m.MORE},m.prototype.mode=function(p){this._mode=p},m.prototype.pushMode=function(p){this._interp.debug&&console.log("pushMode "+p),this._modeStack.push(this._mode),this.mode(p)},m.prototype.popMode=function(){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},Object.defineProperty(m.prototype,"inputStream",{get:function(){return this._input},set:function(p){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=p,this._tokenFactorySourcePair=[this,this._input]}}),Object.defineProperty(m.prototype,"sourceName",{get:function(){return this._input.sourceName}}),m.prototype.emitToken=function(p){this._token=p},m.prototype.emit=function(){var p=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(p),p},m.prototype.emitEOF=function(){var b=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(b),b},Object.defineProperty(m.prototype,"type",{get:function(){return this.type},set:function(p){this._type=p}}),Object.defineProperty(m.prototype,"line",{get:function(){return this._interp.line},set:function(p){this._interp.line=p}}),Object.defineProperty(m.prototype,"column",{get:function(){return this._interp.column},set:function(p){this._interp.column=p}}),m.prototype.getCharIndex=function(){return this._input.index},Object.defineProperty(m.prototype,"text",{get:function(){return null!==this._text?this._text:this._interp.getText(this._input)},set:function(p){this._text=p}}),m.prototype.getAllTokens=function(){for(var p=[],y=this.nextToken();y.type!==n.EOF;)p.push(y),y=this.nextToken();return p},m.prototype.notifyListeners=function(p){var h=this._input.getText(this._tokenStartCharIndex,this._input.index),g="token recognition error at: '"+this.getErrorDisplay(h)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,g,p)},m.prototype.getErrorDisplay=function(p){for(var y=[],b=0;b":"\n"===p?"\\n":"\t"===p?"\\t":"\r"===p?"\\r":p},m.prototype.getCharErrorDisplay=function(p){return"'"+this.getErrorDisplayForChar(p)+"'"},m.prototype.recover=function(p){this._input.LA(1)!==n.EOF&&(p instanceof r?this._interp.consume(this._input):this._input.consume())},A.Lexer=m},6554:(he,A,o)=>{var n=o(8443).Token,l=o(1029).ParseTreeListener,u=o(3788).c,c=o(7675).t,r=o(3031).ATNDeserializer,d=o(7360).W,m=o(1029).TerminalNode,p=o(1029).ErrorNode;function y(g){return l.call(this),this.parser=g,this}function b(g){return u.call(this),this._input=null,this._errHandler=new c,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(g),this}(y.prototype=Object.create(l.prototype)).constructor=y,y.prototype.enterEveryRule=function(g){console.log("enter "+this.parser.ruleNames[g.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},y.prototype.visitTerminal=function(g){console.log("consume "+g.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])},y.prototype.exitEveryRule=function(g){console.log("exit "+this.parser.ruleNames[g.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},(b.prototype=Object.create(u.prototype)).contructor=b,b.bypassAltsAtnCache={},b.prototype.reset=function(){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()},b.prototype.match=function(g){var s=this.getCurrentToken();return s.type===g?(this._errHandler.reportMatch(this),this.consume()):(s=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===s.tokenIndex&&this._ctx.addErrorNode(s)),s},b.prototype.matchWildcard=function(){var g=this.getCurrentToken();return g.type>0?(this._errHandler.reportMatch(this),this.consume()):(g=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===g.tokenIndex&&this._ctx.addErrorNode(g)),g},b.prototype.getParseListeners=function(){return this._parseListeners||[]},b.prototype.addParseListener=function(g){if(null===g)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(g)},b.prototype.removeParseListener=function(g){if(null!==this._parseListeners){var s=this._parseListeners.indexOf(g);s>=0&&this._parseListeners.splice(s,1),0===this._parseListeners.length&&(this._parseListeners=null)}},b.prototype.removeParseListeners=function(){this._parseListeners=null},b.prototype.triggerEnterRuleEvent=function(){if(null!==this._parseListeners){var g=this._ctx;this._parseListeners.map(function(s){s.enterEveryRule(g),g.enterRule(s)})}},b.prototype.triggerExitRuleEvent=function(){if(null!==this._parseListeners){var g=this._ctx;this._parseListeners.slice(0).reverse().map(function(s){g.exitRule(s),s.exitEveryRule(g)})}},b.prototype.getTokenFactory=function(){return this._input.tokenSource._factory},b.prototype.setTokenFactory=function(g){this._input.tokenSource._factory=g},b.prototype.getATNWithBypassAlts=function(){var g=this.getSerializedATN();if(null===g)throw"The current parser does not support an ATN with bypass alternatives.";var s=this.bypassAltsAtnCache[g];if(null===s){var C=new d;C.generateRuleBypassTransitions=!0,s=new r(C).deserialize(g),this.bypassAltsAtnCache[g]=s}return s};var h=o(3805).Lexer;b.prototype.compileParseTreePattern=function(g,s,C){if(null===(C=C||null)&&null!==this.getTokenStream()){var P=this.getTokenStream().tokenSource;P instanceof h&&(C=P)}if(null===C)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(C,this).compile(g,s)},b.prototype.getInputStream=function(){return this.getTokenStream()},b.prototype.setInputStream=function(g){this.setTokenStream(g)},b.prototype.getTokenStream=function(){return this._input},b.prototype.setTokenStream=function(g){this._input=null,this.reset(),this._input=g},b.prototype.getCurrentToken=function(){return this._input.LT(1)},b.prototype.notifyErrorListeners=function(g,s,C){C=C||null,null===(s=s||null)&&(s=this.getCurrentToken()),this._syntaxErrors+=1;var P=s.line,w=s.column;this.getErrorListenerDispatch().syntaxError(this,s,P,w,g,C)},b.prototype.consume=function(){var g=this.getCurrentToken();g.type!==n.EOF&&this.getInputStream().consume();var C,s=null!==this._parseListeners&&this._parseListeners.length>0;return(this.buildParseTrees||s)&&((C=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(g):this._ctx.addTokenNode(g)).invokingState=this.state,s&&this._parseListeners.map(function(P){C instanceof p||void 0!==C.isErrorNode&&C.isErrorNode()?P.visitErrorNode(C):C instanceof m&&P.visitTerminal(C)})),g},b.prototype.addContextToParseTree=function(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)},b.prototype.enterRule=function(g,s,C){this.state=s,this._ctx=g,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),null!==this._parseListeners&&this.triggerEnterRuleEvent()},b.prototype.exitRule=function(){this._ctx.stop=this._input.LT(-1),null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx},b.prototype.enterOuterAlt=function(g,s){g.setAltNumber(s),this.buildParseTrees&&this._ctx!==g&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(g)),this._ctx=g},b.prototype.getPrecedence=function(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]},b.prototype.enterRecursionRule=function(g,s,C,P){this.state=s,this._precedenceStack.push(P),this._ctx=g,this._ctx.start=this._input.LT(1),null!==this._parseListeners&&this.triggerEnterRuleEvent()},b.prototype.pushNewRecursionContext=function(g,s,C){var P=this._ctx;P.parentCtx=g,P.invokingState=s,P.stop=this._input.LT(-1),this._ctx=g,this._ctx.start=P.start,this.buildParseTrees&&this._ctx.addChild(P),null!==this._parseListeners&&this.triggerEnterRuleEvent()},b.prototype.unrollRecursionContexts=function(g){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var s=this._ctx;if(null!==this._parseListeners)for(;this._ctx!==g;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=g;s.parentCtx=g,this.buildParseTrees&&null!==g&&g.addChild(s)},b.prototype.getInvokingContext=function(g){for(var s=this._ctx;null!==s;){if(s.ruleIndex===g)return s;s=s.parentCtx}return null},b.prototype.precpred=function(g,s){return s>=this._precedenceStack[this._precedenceStack.length-1]},b.prototype.inContext=function(g){return!1},b.prototype.isExpectedToken=function(g){var s=this._interp.atn,C=this._ctx,w=s.nextTokens(s.states[this.state]);if(w.contains(g))return!0;if(!w.contains(n.EPSILON))return!1;for(;null!==C&&C.invokingState>=0&&w.contains(n.EPSILON);){if((w=s.nextTokens(s.states[C.invokingState].transitions[0].followState)).contains(g))return!0;C=C.parentCtx}return!(!w.contains(n.EPSILON)||g!==n.EOF)},b.prototype.getExpectedTokens=function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)},b.prototype.getExpectedTokensWithinCurrentRule=function(){var g=this._interp.atn;return g.nextTokens(g.states[this.state])},b.prototype.getRuleIndex=function(g){var s=this.getRuleIndexMap()[g];return null!==s?s:-1},b.prototype.getRuleInvocationStack=function(g){null===(g=g||null)&&(g=this._ctx);for(var s=[];null!==g;){var C=g.ruleIndex;s.push(C<0?"n/a":this.ruleNames[C]),g=g.parentCtx}return s},b.prototype.getDFAStrings=function(){return this._interp.decisionToDFA.toString()},b.prototype.dumpDFA=function(){for(var g=!1,s=0;s0&&(g&&console.log(),this.printer.println("Decision "+C.decision+":"),this.printer.print(C.toString(this.literalNames,this.symbolicNames)),g=!0)}},b.prototype.getSourceName=function(){return this._input.sourceName},b.prototype.setTrace=function(g){g?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new y(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)},A.Parser=b},911:(he,A,o)=>{var n=o(61).r,l=o(1029),u=l.INVALID_INTERVAL,c=l.TerminalNode,r=l.TerminalNodeImpl,d=l.ErrorNodeImpl,m=o(210).Interval;function p(b,h){n.call(this,b=b||null,h=h||null),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}function y(b,h,g){return p.call(b,h),this.ruleIndex=g,this}(p.prototype=Object.create(n.prototype)).constructor=p,p.prototype.copyFrom=function(b){this.parentCtx=b.parentCtx,this.invokingState=b.invokingState,this.children=null,this.start=b.start,this.stop=b.stop,b.children&&(this.children=[],b.children.map(function(h){h instanceof d&&(this.children.push(h),h.parentCtx=this)},this))},p.prototype.enterRule=function(b){},p.prototype.exitRule=function(b){},p.prototype.addChild=function(b){return null===this.children&&(this.children=[]),this.children.push(b),b},p.prototype.removeLastChild=function(){null!==this.children&&this.children.pop()},p.prototype.addTokenNode=function(b){var h=new r(b);return this.addChild(h),h.parentCtx=this,h},p.prototype.addErrorNode=function(b){var h=new d(b);return this.addChild(h),h.parentCtx=this,h},p.prototype.getChild=function(b,h){if(null===this.children||b<0||b>=this.children.length)return null;if(null===(h=h||null))return this.children[b];for(var g=0;g=this.children.length)return null;for(var g=0;g{var n=o(61).r,l=o(8065).Hash,u=o(8065).Map;function c(D){this.cachedHashCode=D}function r(){return this.cache=new u,this}function d(D,T){var Y,$=new l;null!==D?$.update(D,T):$.update(1),Y=$.finish(),c.call(this,Y),this.parentCtx=D,this.returnState=T}function m(){return d.call(this,null,c.EMPTY_RETURN_STATE),this}function p(D,T){var Y=new l;Y.update(D,T);var $=Y.finish();return c.call(this,$),this.parents=D,this.returnStates=T,this}c.EMPTY=null,c.EMPTY_RETURN_STATE=2147483647,c.id=c.globalNodeCount=1,c.prototype.isEmpty=function(){return this===c.EMPTY},c.prototype.hasEmptyPath=function(){return this.getReturnState(this.length-1)===c.EMPTY_RETURN_STATE},c.prototype.hashCode=function(){return this.cachedHashCode},c.prototype.updateHashCode=function(D){D.update(this.cachedHashCode)},r.prototype.add=function(D){if(D===c.EMPTY)return c.EMPTY;var T=this.cache.get(D)||null;return null!==T?T:(this.cache.put(D,D),D)},r.prototype.get=function(D){return this.cache.get(D)||null},Object.defineProperty(r.prototype,"length",{get:function(){return this.cache.length}}),(d.prototype=Object.create(c.prototype)).contructor=d,d.create=function(D,T){return T===c.EMPTY_RETURN_STATE&&null===D?c.EMPTY:new d(D,T)},Object.defineProperty(d.prototype,"length",{get:function(){return 1}}),d.prototype.getParent=function(D){return this.parentCtx},d.prototype.getReturnState=function(D){return this.returnState},d.prototype.equals=function(D){return this===D||D instanceof d&&this.hashCode()===D.hashCode()&&this.returnState===D.returnState&&(null==this.parentCtx?null==D.parentCtx:this.parentCtx.equals(D.parentCtx))},d.prototype.toString=function(){var D=null===this.parentCtx?"":this.parentCtx.toString();return 0===D.length?this.returnState===c.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+D},(m.prototype=Object.create(d.prototype)).constructor=m,m.prototype.isEmpty=function(){return!0},m.prototype.getParent=function(D){return null},m.prototype.getReturnState=function(D){return this.returnState},m.prototype.equals=function(D){return this===D},m.prototype.toString=function(){return"$"},c.EMPTY=new m,(p.prototype=Object.create(c.prototype)).constructor=p,p.prototype.isEmpty=function(){return this.returnStates[0]===c.EMPTY_RETURN_STATE},Object.defineProperty(p.prototype,"length",{get:function(){return this.returnStates.length}}),p.prototype.getParent=function(D){return this.parents[D]},p.prototype.getReturnState=function(D){return this.returnStates[D]},p.prototype.equals=function(D){return this===D||D instanceof p&&this.hashCode()===D.hashCode()&&this.returnStates===D.returnStates&&this.parents===D.parents},p.prototype.toString=function(){if(this.isEmpty())return"[]";for(var D="[",T=0;T0&&(D+=", "),this.returnStates[T]!==c.EMPTY_RETURN_STATE?(D+=this.returnStates[T],null!==this.parents[T]?D=D+" "+this.parents[T]:D+="null"):D+="$";return D+"]"},A.merge=function b(D,T,Y,$){if(D===T)return D;if(D instanceof d&&T instanceof d)return function(D,T,Y,$){if(null!==$){var z=$.get(D,T);if(null!==z||null!==(z=$.get(T,D)))return z}var G=function(D,T,Y){if(Y){if(D===c.EMPTY||T===c.EMPTY)return c.EMPTY}else{if(D===c.EMPTY&&T===c.EMPTY)return c.EMPTY;if(D===c.EMPTY)return new p([T.parentCtx,null],[T.returnState,c.EMPTY_RETURN_STATE]);if(T===c.EMPTY)return new p([D.parentCtx,null],[D.returnState,c.EMPTY_RETURN_STATE])}return null}(D,T,Y);if(null!==G)return null!==$&&$.set(D,T,G),G;if(D.returnState===T.returnState){var X=b(D.parentCtx,T.parentCtx,Y,$);if(X===D.parentCtx)return D;if(X===T.parentCtx)return T;var Q=d.create(X,D.returnState);return null!==$&&$.set(D,T,Q),Q}var q=null;if((D===T||null!==D.parentCtx&&D.parentCtx===T.parentCtx)&&(q=D.parentCtx),null!==q){var me=[D.returnState,T.returnState];D.returnState>T.returnState&&(me[0]=T.returnState,me[1]=D.returnState);var ue=new p(xe=[q,q],me);return null!==$&&$.set(D,T,ue),ue}me=[D.returnState,T.returnState];var xe=[D.parentCtx,T.parentCtx];D.returnState>T.returnState&&(me[0]=T.returnState,me[1]=D.returnState,xe=[T.parentCtx,D.parentCtx]);var pe=new p(xe,me);return null!==$&&$.set(D,T,pe),pe}(D,T,Y,$);if(Y){if(D instanceof m)return D;if(T instanceof m)return T}return D instanceof d&&(D=new p([D.getParent()],[D.returnState])),T instanceof d&&(T=new p([T.getParent()],[T.returnState])),function(D,T,Y,$){if(null!==$){var z=$.get(D,T);if(null!==z||null!==(z=$.get(T,D)))return z}for(var G=0,X=0,Q=0,q=[],ue=[];G{var n=o(8443).Token,l=o(1911).s,u=o(1911).N;function c(){return this._listeners=[l.INSTANCE],this._interp=null,this._stateNumber=-1,this}c.tokenTypeMapCache={},c.ruleIndexMapCache={},c.prototype.checkVersion=function(r){"4.8"!==r&&console.log("ANTLR runtime and generated code versions disagree: 4.8!="+r)},c.prototype.addErrorListener=function(r){this._listeners.push(r)},c.prototype.removeErrorListeners=function(){this._listeners=[]},c.prototype.getTokenTypeMap=function(){var r=this.getTokenNames();if(null===r)throw"The current recognizer does not provide a list of token names.";var d=this.tokenTypeMapCache[r];return void 0===d&&((d=r.reduce(function(m,p,y){m[p]=y})).EOF=n.EOF,this.tokenTypeMapCache[r]=d),d},c.prototype.getRuleIndexMap=function(){var r=this.ruleNames;if(null===r)throw"The current recognizer does not provide a list of rule names.";var d=this.ruleIndexMapCache[r];return void 0===d&&(d=r.reduce(function(m,p,y){m[p]=y}),this.ruleIndexMapCache[r]=d),d},c.prototype.getTokenType=function(r){var d=this.getTokenTypeMap()[r];return void 0!==d?d:n.INVALID_TYPE},c.prototype.getErrorHeader=function(r){return"line "+r.getOffendingToken().line+":"+r.getOffendingToken().column},c.prototype.getTokenErrorDisplay=function(r){if(null===r)return"";var d=r.text;return null===d&&(d=r.type===n.EOF?"":"<"+r.type+">"),"'"+(d=d.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"))+"'"},c.prototype.getErrorListenerDispatch=function(){return new u(this._listeners)},c.prototype.sempred=function(r,d,m){return!0},c.prototype.precpred=function(r,d){return!0},Object.defineProperty(c.prototype,"state",{get:function(){return this._stateNumber},set:function(r){this._stateNumber=r}}),A.c=c},61:(he,A,o)=>{var n=o(1029).RuleNode,l=o(1029).INVALID_INTERVAL,u=o(1828).INVALID_ALT_NUMBER;function c(d,m){return n.call(this),this.parentCtx=d||null,this.invokingState=m||-1,this}(c.prototype=Object.create(n.prototype)).constructor=c,c.prototype.depth=function(){for(var d=0,m=this;null!==m;)m=m.parentCtx,d+=1;return d},c.prototype.isEmpty=function(){return-1===this.invokingState},c.prototype.getSourceInterval=function(){return l},c.prototype.getRuleContext=function(){return this},c.prototype.getPayload=function(){return this},c.prototype.getText=function(){return 0===this.getChildCount()?"":this.children.map(function(d){return d.getText()}).join("")},c.prototype.getAltNumber=function(){return u},c.prototype.setAltNumber=function(d){},c.prototype.getChild=function(d){return null},c.prototype.getChildCount=function(){return 0},c.prototype.accept=function(d){return d.visitChildren(this)},A.r=c;var r=o(2565).Trees;c.prototype.toStringTree=function(d,m){return r.toStringTree(this,d,m)},c.prototype.toString=function(d,m){d=d||null,m=m||null;for(var p=this,y="[";null!==p&&p!==m;){if(null===d)p.isEmpty()||(y+=p.invokingState);else{var b=p.ruleIndex;y+=b>=0&&b{function o(){return 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,this}function n(l,u,c,r,d){return o.call(this),this.source=void 0!==l?l:n.EMPTY_SOURCE,this.type=void 0!==u?u:null,this.channel=void 0!==c?c:o.DEFAULT_CHANNEL,this.start=void 0!==r?r:-1,this.stop=void 0!==d?d:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=l[0].line,this.column=l[0].column):this.column=-1,this}o.INVALID_TYPE=0,o.EPSILON=-2,o.MIN_USER_TOKEN_TYPE=1,o.EOF=-1,o.DEFAULT_CHANNEL=0,o.HIDDEN_CHANNEL=1,Object.defineProperty(o.prototype,"text",{get:function(){return this._text},set:function(l){this._text=l}}),o.prototype.getTokenSource=function(){return this.source[0]},o.prototype.getInputStream=function(){return this.source[1]},(n.prototype=Object.create(o.prototype)).constructor=n,n.EMPTY_SOURCE=[null,null],n.prototype.clone=function(){var l=new n(this.source,this.type,this.channel,this.start,this.stop);return l.tokenIndex=this.tokenIndex,l.line=this.line,l.column=this.column,l.text=this.text,l},Object.defineProperty(n.prototype,"text",{get:function(){if(null!==this._text)return this._text;var l=this.getInputStream();if(null===l)return null;var u=l.size;return this.start"},set:function(l){this._text=l}}),n.prototype.toString=function(){var l=this.text;return l=null!==l?l.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+l+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"},A.Token=o,A.CommonToken=n},8065:(he,A)=>{function o(s){return"["+s.join(", ")+"]"}function n(s,C){return s.equals(C)}function l(s){return s.hashCode()}function u(s,C){return this.data={},this.hashFunction=s||l,this.equalsFunction=C||n,this}function c(){return this.data=[],this}function r(s,C){return this.data={},this.hashFunction=s||l,this.equalsFunction=C||n,this}function d(){return this.data={},this}function m(s){return this.defaultMapCtor=s||r,this.cacheMap=new this.defaultMapCtor,this}function p(){return this.count=0,this.hash=0,this}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){var s,C,P,w,D,Y,z,G,X=this.toString();for(C=X.length-(s=3&X.length),P=String.prototype.seed,D=3432918353,Y=461845907,G=0;G>>16)*D&65535)<<16)&4294967295)<<15|z>>>17))*Y+(((z>>>16)*Y&65535)<<16)&4294967295)<<13|P>>>19))+((5*(P>>>16)&65535)<<16)&4294967295))+((58964+(w>>>16)&65535)<<16);switch(z=0,s){case 3:z^=(255&X.charCodeAt(G+2))<<16;case 2:z^=(255&X.charCodeAt(G+1))<<8;case 1:P^=z=(65535&(z=(z=(65535&(z^=255&X.charCodeAt(G)))*D+(((z>>>16)*D&65535)<<16)&4294967295)<<15|z>>>17))*Y+(((z>>>16)*Y&65535)<<16)&4294967295}return P^=X.length,P=2246822507*(65535&(P^=P>>>16))+((2246822507*(P>>>16)&65535)<<16)&4294967295,P=3266489909*(65535&(P^=P>>>13))+((3266489909*(P>>>16)&65535)<<16)&4294967295,(P^=P>>>16)>>>0},Object.defineProperty(u.prototype,"length",{get:function(){var s=0;for(var C in this.data)0===C.indexOf("hash_")&&(s+=this.data[C].length);return s}}),u.prototype.add=function(s){var P="hash_"+this.hashFunction(s);if(P in this.data){for(var w=this.data[P],D=0;D>>17,P*=461845907,this.count=this.count+1;var w=this.hash^P;this.hash=w=5*(w=w<<13|w>>>19)+3864292196}}},p.prototype.finish=function(){var s=this.hash^4*this.count;return s^=s>>>16,s*=2246822507,s^=s>>>13,(s*=3266489909)^s>>>16},m.prototype.get=function(s,C){var P=this.cacheMap.get(s)||null;return null===P?null:P.get(C)||null},m.prototype.set=function(s,C,P){var w=this.cacheMap.get(s)||null;null===w&&(w=new this.defaultMapCtor,this.cacheMap.put(s,w)),w.put(C,P)},A.Hash=p,A.Set=u,A.Map=r,A.BitSet=c,A.AltDict=d,A.DoubleDict=m,A.hashStuff=function(){var s=new p;return s.update.apply(s,arguments),s.finish()},A.escapeWhitespace=function(s,C){return s=s.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),C&&(s=s.replace(/ /g,"\xb7")),s},A.arrayToString=o,A.titleCase=function(s){return s.replace(/\w\S*/g,function(C){return C.charAt(0).toUpperCase()+C.substr(1)})},A.equalArrays=function(s,C){if(!Array.isArray(s)||!Array.isArray(C))return!1;if(s==C)return!0;if(s.length!=C.length)return!1;for(var P=0;P{var n=o(8802).u,l=o(210).V;function u(r,d){return this.grammarType=r,this.maxTokenType=d,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[],this}u.prototype.nextTokensInContext=function(r,d){return new n(this).LOOK(r,null,d)},u.prototype.nextTokensNoContext=function(r){return null!==r.nextTokenWithinRule||(r.nextTokenWithinRule=this.nextTokensInContext(r,null),r.nextTokenWithinRule.readOnly=!0),r.nextTokenWithinRule},u.prototype.nextTokens=function(r,d){return void 0===d?this.nextTokensNoContext(r):this.nextTokensInContext(r,d)},u.prototype.addState=function(r){null!==r&&(r.atn=this,r.stateNumber=this.states.length),this.states.push(r)},u.prototype.removeState=function(r){this.states[r.stateNumber]=null},u.prototype.defineDecisionState=function(r){return this.decisionToState.push(r),r.decision=this.decisionToState.length-1,r.decision},u.prototype.getDecisionState=function(r){return 0===this.decisionToState.length?null:this.decisionToState[r]};var c=o(8443).Token;u.prototype.getExpectedTokens=function(r,d){if(r<0||r>=this.states.length)throw"Invalid state number.";var p=this.nextTokens(this.states[r]);if(!p.contains(c.EPSILON))return p;var y=new l;for(y.addSet(p),y.removeOne(c.EPSILON);null!==d&&d.invokingState>=0&&p.contains(c.EPSILON);)p=this.nextTokens(this.states[d.invokingState].transitions[0].followState),y.addSet(p),y.removeOne(c.EPSILON),d=d.parentCtx;return p.contains(c.EPSILON)&&y.addOne(c.EOF),y},u.INVALID_ALT_NUMBER=0,A.ATN=u},2348:(he,A,o)=>{var n=o(9855).DecisionState,l=o(4636).dP,u=o(8065).Hash;function c(m,p){if(null===m){var y={state:null,alt:null,context:null,semanticContext:null};return p&&(y.reachesIntoOuterContext=0),y}var b={};return b.state=m.state||null,b.alt=void 0===m.alt?null:m.alt,b.context=m.context||null,b.semanticContext=m.semanticContext||null,p&&(b.reachesIntoOuterContext=m.reachesIntoOuterContext||0,b.precedenceFilterSuppressed=m.precedenceFilterSuppressed||!1),b}function r(m,p){return this.checkContext(m,p),m=c(m),p=c(p,!0),this.state=null!==m.state?m.state:p.state,this.alt=null!==m.alt?m.alt:p.alt,this.context=null!==m.context?m.context:p.context,this.semanticContext=null!==m.semanticContext?m.semanticContext:null!==p.semanticContext?p.semanticContext:l.NONE,this.reachesIntoOuterContext=p.reachesIntoOuterContext,this.precedenceFilterSuppressed=p.precedenceFilterSuppressed,this}function d(m,p){return r.call(this,m,p),this.lexerActionExecutor=m.lexerActionExecutor||(null!==p?p.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==p&&this.checkNonGreedyDecision(p,this.state),this}r.prototype.checkContext=function(m,p){null==m.context&&(null===p||null==p.context)&&(this.context=null)},r.prototype.hashCode=function(){var m=new u;return this.updateHashCode(m),m.finish()},r.prototype.updateHashCode=function(m){m.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)},r.prototype.equals=function(m){return this===m||m instanceof r&&this.state.stateNumber===m.state.stateNumber&&this.alt===m.alt&&(null===this.context?null===m.context:this.context.equals(m.context))&&this.semanticContext.equals(m.semanticContext)&&this.precedenceFilterSuppressed===m.precedenceFilterSuppressed},r.prototype.hashCodeForConfigSet=function(){var m=new u;return m.update(this.state.stateNumber,this.alt,this.semanticContext),m.finish()},r.prototype.equalsForConfigSet=function(m){return this===m||m instanceof r&&this.state.stateNumber===m.state.stateNumber&&this.alt===m.alt&&this.semanticContext.equals(m.semanticContext)},r.prototype.toString=function(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==l.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"},(d.prototype=Object.create(r.prototype)).constructor=d,d.prototype.updateHashCode=function(m){m.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)},d.prototype.equals=function(m){return this===m||m instanceof d&&this.passedThroughNonGreedyDecision==m.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(m.lexerActionExecutor):!m.lexerActionExecutor)&&r.prototype.equals.call(this,m)},d.prototype.hashCodeForConfigSet=d.prototype.hashCode,d.prototype.equalsForConfigSet=d.prototype.equals,d.prototype.checkNonGreedyDecision=function(m,p){return m.passedThroughNonGreedyDecision||p instanceof n&&p.nonGreedy},A.m=r,A.P=d},9186:(he,A,o)=>{var n=o(1828).ATN,l=o(8065),u=l.Hash,c=l.Set,r=o(4636).dP,d=o(4825).merge;function m(h){return h.hashCodeForConfigSet()}function p(h,g){return h===g||null!==h&&null!==g&&h.equalsForConfigSet(g)}function y(h){return this.configLookup=new c(m,p),this.fullCtx=void 0===h||h,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1,this}function b(){return y.call(this),this.configLookup=new c,this}y.prototype.add=function(h,g){if(void 0===g&&(g=null),this.readOnly)throw"This set is readonly";h.semanticContext!==r.NONE&&(this.hasSemanticContext=!0),h.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var s=this.configLookup.add(h);if(s===h)return this.cachedHashCode=-1,this.configs.push(h),!0;var P=d(s.context,h.context,!this.fullCtx,g);return s.reachesIntoOuterContext=Math.max(s.reachesIntoOuterContext,h.reachesIntoOuterContext),h.precedenceFilterSuppressed&&(s.precedenceFilterSuppressed=!0),s.context=P,!0},y.prototype.getStates=function(){for(var h=new c,g=0;g{function o(n){return void 0===n&&(n=null),this.readOnly=!1,this.verifyATN=null===n||n.verifyATN,this.generateRuleBypassTransitions=null!==n&&n.generateRuleBypassTransitions,this}(o.defaultOptions=new o).readOnly=!0,A.W=o},3031:(he,A,o)=>{var n=o(8443).Token,l=o(1828).ATN,u=o(6796).n,c=o(9855),r=c.ATNState,d=c.BasicState,m=c.DecisionState,p=c.BlockStartState,y=c.BlockEndState,b=c.LoopEndState,h=c.RuleStartState,g=c.RuleStopState,s=c.TokensStartState,C=c.PlusLoopbackState,P=c.StarLoopbackState,w=c.StarLoopEntryState,D=c.PlusBlockStartState,T=c.StarBlockStartState,Y=c.BasicBlockStartState,$=o(7131),z=$.Transition,G=$.AtomTransition,X=$.SetTransition,Q=$.NotSetTransition,q=$.RuleTransition,ue=$.RangeTransition,me=$.ActionTransition,xe=$.EpsilonTransition,pe=$.WildcardTransition,oe=$.PredicateTransition,ae=$.PrecedencePredicateTransition,U=o(210).V,le=(o(210),o(7360).W),Ce=o(3822),Te=Ce.LexerActionType,Ke=Ce.LexerSkipAction,tt=Ce.LexerChannelAction,ot=Ce.LexerCustomAction,mt=Ce.LexerMoreAction,Dt=Ce.LexerTypeAction,Ie=Ce.LexerPushModeAction,Qe=Ce.LexerPopModeAction,ct=Ce.LexerModeAction,Et="59627784-3BE5-417A-B9EB-8131A7286089",xt=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Et];function rt(_e,Z){var j=[];return j[_e-1]=Z,j.map(function(_){return Z})}function ze(_e){return null==_e&&(_e=le.defaultOptions),this.deserializationOptions=_e,this.stateFactories=null,this.actionFactories=null,this}ze.prototype.isFeatureSupported=function(_e,Z){var j=xt.indexOf(_e);return!(j<0)&&xt.indexOf(Z)>=j},ze.prototype.deserialize=function(_e){this.reset(_e),this.checkVersion(),this.checkUUID();var Z=this.readATN();this.readStates(Z),this.readRules(Z),this.readModes(Z);var j=[];return this.readSets(Z,j,this.readInt.bind(this)),this.isFeatureSupported(Et,this.uuid)&&this.readSets(Z,j,this.readInt32.bind(this)),this.readEdges(Z,j),this.readDecisions(Z),this.readLexerActions(Z),this.markPrecedenceDecisions(Z),this.verifyATN(Z),this.deserializationOptions.generateRuleBypassTransitions&&Z.grammarType===u.PARSER&&(this.generateRuleBypassTransitions(Z),this.verifyATN(Z)),Z},ze.prototype.reset=function(_e){var j=_e.split("").map(function(_){var x=_.charCodeAt(0);return x>1?x-2:x+65534});j[0]=_e.charCodeAt(0),this.data=j,this.pos=0},ze.prototype.checkVersion=function(){var _e=this.readInt();if(3!==_e)throw"Could not deserialize ATN with version "+_e+" (expected 3)."},ze.prototype.checkUUID=function(){var _e=this.readUUID();if(xt.indexOf(_e)<0)throw"59627784-3BE5-417A-B9EB-8131A7286089";this.uuid=_e},ze.prototype.readATN=function(){var _e=this.readInt(),Z=this.readInt();return new l(_e,Z)},ze.prototype.readStates=function(_e){for(var Z,j,_,x=[],N=[],ce=this.readInt(),Ue=0;Ue0;)x.addTransition(Ae.transitions[nt-1]),Ae.transitions=Ae.transitions.slice(-1);_e.ruleToStartState[Z].addTransition(new xe(x)),N.addTransition(new xe(Ue));var Rt=new d;_e.addState(Rt),Rt.addTransition(new G(N,_e.ruleToTokenType[Z])),x.addTransition(new xe(Rt))},ze.prototype.stateIsEndStateFor=function(_e,Z){if(_e.ruleIndex!==Z||!(_e instanceof w))return null;var j=_e.transitions[_e.transitions.length-1].target;return j instanceof b&&j.epsilonOnlyTransitions&&j.transitions[0].target instanceof g?_e:null},ze.prototype.markPrecedenceDecisions=function(_e){for(var Z=0;Z<_e.states.length;Z++){var j=_e.states[Z];if(j instanceof w&&_e.ruleToStartState[j.ruleIndex].isPrecedenceRule){var _=j.transitions[j.transitions.length-1].target;_ instanceof b&&_.epsilonOnlyTransitions&&_.transitions[0].target instanceof g&&(j.isPrecedenceDecision=!0)}}},ze.prototype.verifyATN=function(_e){if(this.deserializationOptions.verifyATN)for(var Z=0;Z<_e.states.length;Z++){var j=_e.states[Z];if(null!==j)if(this.checkCondition(j.epsilonOnlyTransitions||j.transitions.length<=1),j instanceof D)this.checkCondition(null!==j.loopBackState);else if(j instanceof w)if(this.checkCondition(null!==j.loopBackState),this.checkCondition(2===j.transitions.length),j.transitions[0].target instanceof T)this.checkCondition(j.transitions[1].target instanceof b),this.checkCondition(!j.nonGreedy);else{if(!(j.transitions[0].target instanceof b))throw"IllegalState";this.checkCondition(j.transitions[1].target instanceof T),this.checkCondition(j.nonGreedy)}else j instanceof P?(this.checkCondition(1===j.transitions.length),this.checkCondition(j.transitions[0].target instanceof w)):this.checkCondition(j instanceof b?null!==j.loopBackState:j instanceof h?null!==j.stopState:j instanceof p?null!==j.endState:j instanceof y?null!==j.startState:j instanceof m?j.transitions.length<=1||j.decision>=0:j.transitions.length<=1||j instanceof g)}},ze.prototype.checkCondition=function(_e,Z){if(!_e)throw null==Z&&(Z="IllegalState"),Z},ze.prototype.readInt=function(){return this.data[this.pos++]},ze.prototype.readInt32=function(){return this.readInt()|this.readInt()<<16},ze.prototype.readLong=function(){return 4294967295&this.readInt32()|this.readInt32()<<32};var gt=function(){for(var _e=[],Z=0;Z<256;Z++)_e[Z]=(Z+256).toString(16).substr(1).toUpperCase();return _e}();ze.prototype.readUUID=function(){for(var _e=[],Z=7;Z>=0;Z--){var j=this.readInt();_e[2*Z+1]=255&j,_e[2*Z]=j>>8&255}return gt[_e[0]]+gt[_e[1]]+gt[_e[2]]+gt[_e[3]]+"-"+gt[_e[4]]+gt[_e[5]]+"-"+gt[_e[6]]+gt[_e[7]]+"-"+gt[_e[8]]+gt[_e[9]]+"-"+gt[_e[10]]+gt[_e[11]]+gt[_e[12]]+gt[_e[13]]+gt[_e[14]]+gt[_e[15]]},ze.prototype.edgeFactory=function(_e,Z,j,_,x,N,ce,Ue){var Oe=_e.states[_];switch(Z){case z.EPSILON:return new xe(Oe);case z.RANGE:return new ue(Oe,0!==ce?n.EOF:x,N);case z.RULE:return new q(_e.states[x],N,ce,Oe);case z.PREDICATE:return new oe(Oe,x,N,0!==ce);case z.PRECEDENCE:return new ae(Oe,x);case z.ATOM:return new G(Oe,0!==ce?n.EOF:x);case z.ACTION:return new me(Oe,x,N,0!==ce);case z.SET:return new X(Oe,Ue[x]);case z.NOT_SET:return new Q(Oe,Ue[x]);case z.WILDCARD:return new pe(Oe);default:throw"The specified transition type: "+Z+" is not valid."}},ze.prototype.stateFactory=function(_e,Z){if(null===this.stateFactories){var j=[];j[r.INVALID_TYPE]=null,j[r.BASIC]=function(){return new d},j[r.RULE_START]=function(){return new h},j[r.BLOCK_START]=function(){return new Y},j[r.PLUS_BLOCK_START]=function(){return new D},j[r.STAR_BLOCK_START]=function(){return new T},j[r.TOKEN_START]=function(){return new s},j[r.RULE_STOP]=function(){return new g},j[r.BLOCK_END]=function(){return new y},j[r.STAR_LOOP_BACK]=function(){return new P},j[r.STAR_LOOP_ENTRY]=function(){return new w},j[r.PLUS_LOOP_BACK]=function(){return new C},j[r.LOOP_END]=function(){return new b},this.stateFactories=j}if(_e>this.stateFactories.length||null===this.stateFactories[_e])throw"The specified state type "+_e+" is not valid.";var _=this.stateFactories[_e]();if(null!==_)return _.ruleIndex=Z,_},ze.prototype.lexerActionFactory=function(_e,Z,j){if(null===this.actionFactories){var _=[];_[Te.CHANNEL]=function(x,N){return new tt(x)},_[Te.CUSTOM]=function(x,N){return new ot(x,N)},_[Te.MODE]=function(x,N){return new ct(x)},_[Te.MORE]=function(x,N){return mt.INSTANCE},_[Te.POP_MODE]=function(x,N){return Qe.INSTANCE},_[Te.PUSH_MODE]=function(x,N){return new Ie(x)},_[Te.SKIP]=function(x,N){return Ke.INSTANCE},_[Te.TYPE]=function(x,N){return new Dt(x)},this.actionFactories=_}if(_e>this.actionFactories.length||null===this.actionFactories[_e])throw"The specified lexer action type "+_e+" is not valid.";return this.actionFactories[_e](Z,j)},A.ATNDeserializer=ze},7601:(he,A,o)=>{var n=o(1399).B,l=o(9186).B,u=o(4825).getCachedPredictionContext,c=o(8065).Map;function r(d,m){return this.atn=d,this.sharedContextCache=m,this}r.ERROR=new n(2147483647,new l),r.prototype.getCachedContext=function(d){if(null===this.sharedContextCache)return d;var m=new c;return u(d,this.sharedContextCache,m)},A.f=r},9855:(he,A)=>{function n(){return this.atn=null,this.stateNumber=n.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null,this}function l(){return n.call(this),this.stateType=n.BASIC,this}function u(){return n.call(this),this.decision=-1,this.nonGreedy=!1,this}function c(){return u.call(this),this.endState=null,this}function r(){return c.call(this),this.stateType=n.BLOCK_START,this}function d(){return n.call(this),this.stateType=n.BLOCK_END,this.startState=null,this}function m(){return n.call(this),this.stateType=n.RULE_STOP,this}function p(){return n.call(this),this.stateType=n.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}function y(){return u.call(this),this.stateType=n.PLUS_LOOP_BACK,this}function b(){return c.call(this),this.stateType=n.PLUS_BLOCK_START,this.loopBackState=null,this}function h(){return c.call(this),this.stateType=n.STAR_BLOCK_START,this}function g(){return n.call(this),this.stateType=n.STAR_LOOP_BACK,this}function s(){return u.call(this),this.stateType=n.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}function C(){return n.call(this),this.stateType=n.LOOP_END,this.loopBackState=null,this}function P(){return u.call(this),this.stateType=n.TOKEN_START,this}n.INVALID_TYPE=0,n.BASIC=1,n.RULE_START=2,n.BLOCK_START=3,n.PLUS_BLOCK_START=4,n.STAR_BLOCK_START=5,n.TOKEN_START=6,n.RULE_STOP=7,n.BLOCK_END=8,n.STAR_LOOP_BACK=9,n.STAR_LOOP_ENTRY=10,n.PLUS_LOOP_BACK=11,n.LOOP_END=12,n.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"],n.INVALID_STATE_NUMBER=-1,n.prototype.toString=function(){return this.stateNumber},n.prototype.equals=function(w){return w instanceof n&&this.stateNumber===w.stateNumber},n.prototype.isNonGreedyExitState=function(){return!1},n.prototype.addTransition=function(w,D){void 0===D&&(D=-1),0===this.transitions.length?this.epsilonOnlyTransitions=w.isEpsilon:this.epsilonOnlyTransitions!==w.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===D?this.transitions.push(w):this.transitions.splice(D,1,w)},(l.prototype=Object.create(n.prototype)).constructor=l,(u.prototype=Object.create(n.prototype)).constructor=u,(c.prototype=Object.create(u.prototype)).constructor=c,(r.prototype=Object.create(c.prototype)).constructor=r,(d.prototype=Object.create(n.prototype)).constructor=d,(m.prototype=Object.create(n.prototype)).constructor=m,(p.prototype=Object.create(n.prototype)).constructor=p,(y.prototype=Object.create(u.prototype)).constructor=y,(b.prototype=Object.create(c.prototype)).constructor=b,(h.prototype=Object.create(c.prototype)).constructor=h,(g.prototype=Object.create(n.prototype)).constructor=g,(s.prototype=Object.create(u.prototype)).constructor=s,(C.prototype=Object.create(n.prototype)).constructor=C,(P.prototype=Object.create(u.prototype)).constructor=P,A.ATNState=n,A.BasicState=l,A.DecisionState=u,A.BlockStartState=c,A.BlockEndState=d,A.LoopEndState=C,A.RuleStartState=p,A.RuleStopState=m,A.TokensStartState=P,A.PlusLoopbackState=y,A.StarLoopbackState=g,A.StarLoopEntryState=s,A.PlusBlockStartState=b,A.StarBlockStartState=h,A.BasicBlockStartState=r},6796:(he,A)=>{function o(){}o.LEXER=0,o.PARSER=1,A.n=o},6244:(he,A,o)=>{var n=o(8443).Token,l=o(3805).Lexer,u=o(1828).ATN,c=o(7601).f,r=o(1399).B,m=(o(9186),o(9186).s),p=o(4825).PredictionContext,y=o(4825).SingletonPredictionContext,b=o(9855).RuleStopState,h=o(2348).P,g=o(7131).Transition,s=o(1305).W,C=o(6071).LexerNoViableAltException;function P(T){T.index=-1,T.line=0,T.column=-1,T.dfaState=null}function w(){return P(this),this}function D(T,Y,$,z){return c.call(this,Y,z),this.decisionToDFA=$,this.recog=T,this.startIndex=-1,this.line=1,this.column=0,this.mode=l.DEFAULT_MODE,this.prevAccept=new w,this}w.prototype.reset=function(){P(this)},(D.prototype=Object.create(c.prototype)).constructor=D,D.debug=!1,D.dfa_debug=!1,D.MIN_DFA_EDGE=0,D.MAX_DFA_EDGE=127,D.match_calls=0,D.prototype.copyState=function(T){this.column=T.column,this.line=T.line,this.mode=T.mode,this.startIndex=T.startIndex},D.prototype.match=function(T,Y){this.match_calls+=1,this.mode=Y;var $=T.mark();try{this.startIndex=T.index,this.prevAccept.reset();var z=this.decisionToDFA[Y];return null===z.s0?this.matchATN(T):this.execATN(T,z.s0)}finally{T.release($)}},D.prototype.reset=function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=l.DEFAULT_MODE},D.prototype.matchATN=function(T){var Y=this.atn.modeToStartState[this.mode];D.debug&&console.log("matchATN mode "+this.mode+" start: "+Y);var $=this.mode,z=this.computeStartState(T,Y),G=z.hasSemanticContext;z.hasSemanticContext=!1;var X=this.addDFAState(z);G||(this.decisionToDFA[this.mode].s0=X);var Q=this.execATN(T,X);return D.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[$].toLexerString()),Q},D.prototype.execATN=function(T,Y){D.debug&&console.log("start state closure="+Y.configs),Y.isAcceptState&&this.captureSimState(this.prevAccept,T,Y);for(var $=T.LA(1),z=Y;;){D.debug&&console.log("execATN loop starting closure: "+z.configs);var G=this.getExistingTargetState(z,$);if(null===G&&(G=this.computeTargetState(T,z,$)),G===c.ERROR||($!==n.EOF&&this.consume(T),G.isAcceptState&&(this.captureSimState(this.prevAccept,T,G),$===n.EOF)))break;$=T.LA(1),z=G}return this.failOrAccept(this.prevAccept,T,z.configs,$)},D.prototype.getExistingTargetState=function(T,Y){if(null===T.edges||YD.MAX_DFA_EDGE)return null;var $=T.edges[Y-D.MIN_DFA_EDGE];return void 0===$&&($=null),D.debug&&null!==$&&console.log("reuse state "+T.stateNumber+" edge to "+$.stateNumber),$},D.prototype.computeTargetState=function(T,Y,$){var z=new m;return this.getReachableConfigSet(T,Y.configs,z,$),0===z.items.length?(z.hasSemanticContext||this.addDFAEdge(Y,$,c.ERROR),c.ERROR):this.addDFAEdge(Y,$,null,z)},D.prototype.failOrAccept=function(T,Y,$,z){if(null!==this.prevAccept.dfaState)return this.accept(Y,T.dfaState.lexerActionExecutor,this.startIndex,T.index,T.line,T.column),T.dfaState.prediction;if(z===n.EOF&&Y.index===this.startIndex)return n.EOF;throw new C(this.recog,Y,this.startIndex,$)},D.prototype.getReachableConfigSet=function(T,Y,$,z){for(var G=u.INVALID_ALT_NUMBER,X=0;XD.MAX_DFA_EDGE||(D.debug&&console.log("EDGE "+T+" -> "+$+" upon "+Y),null===T.edges&&(T.edges=[]),T.edges[Y-D.MIN_DFA_EDGE]=$),$},D.prototype.addDFAState=function(T){for(var Y=new r(null,T),$=null,z=0;z{function o(){}function n(h){return this.actionType=h,this.isPositionDependent=!1,this}function l(){return n.call(this,o.SKIP),this}function u(h){return n.call(this,o.TYPE),this.type=h,this}function c(h){return n.call(this,o.PUSH_MODE),this.mode=h,this}function r(){return n.call(this,o.POP_MODE),this}function d(){return n.call(this,o.MORE),this}function m(h){return n.call(this,o.MODE),this.mode=h,this}function p(h,g){return n.call(this,o.CUSTOM),this.ruleIndex=h,this.actionIndex=g,this.isPositionDependent=!0,this}function y(h){return n.call(this,o.CHANNEL),this.channel=h,this}function b(h,g){return n.call(this,g.actionType),this.offset=h,this.action=g,this.isPositionDependent=!0,this}o.CHANNEL=0,o.CUSTOM=1,o.MODE=2,o.MORE=3,o.POP_MODE=4,o.PUSH_MODE=5,o.SKIP=6,o.TYPE=7,n.prototype.hashCode=function(){var h=new Hash;return this.updateHashCode(h),h.finish()},n.prototype.updateHashCode=function(h){h.update(this.actionType)},n.prototype.equals=function(h){return this===h},(l.prototype=Object.create(n.prototype)).constructor=l,l.INSTANCE=new l,l.prototype.execute=function(h){h.skip()},l.prototype.toString=function(){return"skip"},(u.prototype=Object.create(n.prototype)).constructor=u,u.prototype.execute=function(h){h.type=this.type},u.prototype.updateHashCode=function(h){h.update(this.actionType,this.type)},u.prototype.equals=function(h){return this===h||h instanceof u&&this.type===h.type},u.prototype.toString=function(){return"type("+this.type+")"},(c.prototype=Object.create(n.prototype)).constructor=c,c.prototype.execute=function(h){h.pushMode(this.mode)},c.prototype.updateHashCode=function(h){h.update(this.actionType,this.mode)},c.prototype.equals=function(h){return this===h||h instanceof c&&this.mode===h.mode},c.prototype.toString=function(){return"pushMode("+this.mode+")"},(r.prototype=Object.create(n.prototype)).constructor=r,r.INSTANCE=new r,r.prototype.execute=function(h){h.popMode()},r.prototype.toString=function(){return"popMode"},(d.prototype=Object.create(n.prototype)).constructor=d,d.INSTANCE=new d,d.prototype.execute=function(h){h.more()},d.prototype.toString=function(){return"more"},(m.prototype=Object.create(n.prototype)).constructor=m,m.prototype.execute=function(h){h.mode(this.mode)},m.prototype.updateHashCode=function(h){h.update(this.actionType,this.mode)},m.prototype.equals=function(h){return this===h||h instanceof m&&this.mode===h.mode},m.prototype.toString=function(){return"mode("+this.mode+")"},(p.prototype=Object.create(n.prototype)).constructor=p,p.prototype.execute=function(h){h.action(null,this.ruleIndex,this.actionIndex)},p.prototype.updateHashCode=function(h){h.update(this.actionType,this.ruleIndex,this.actionIndex)},p.prototype.equals=function(h){return this===h||h instanceof p&&this.ruleIndex===h.ruleIndex&&this.actionIndex===h.actionIndex},(y.prototype=Object.create(n.prototype)).constructor=y,y.prototype.execute=function(h){h._channel=this.channel},y.prototype.updateHashCode=function(h){h.update(this.actionType,this.channel)},y.prototype.equals=function(h){return this===h||h instanceof y&&this.channel===h.channel},y.prototype.toString=function(){return"channel("+this.channel+")"},(b.prototype=Object.create(n.prototype)).constructor=b,b.prototype.execute=function(h){this.action.execute(h)},b.prototype.updateHashCode=function(h){h.update(this.actionType,this.offset,this.action)},b.prototype.equals=function(h){return this===h||h instanceof b&&this.offset===h.offset&&this.action===h.action},A.LexerActionType=o,A.LexerSkipAction=l,A.LexerChannelAction=y,A.LexerCustomAction=p,A.LexerIndexedCustomAction=b,A.LexerMoreAction=d,A.LexerTypeAction=u,A.LexerPushModeAction=c,A.LexerPopModeAction=r,A.LexerModeAction=m},1305:(he,A,o)=>{var n=o(8065).hashStuff,l=o(3822).LexerIndexedCustomAction;function u(c){return this.lexerActions=null===c?[]:c,this.cachedHashCode=n(c),this}u.append=function(c,r){return new u(null===c?[r]:c.lexerActions.concat([r]))},u.prototype.fixOffsetBeforeMatch=function(c){for(var r=null,d=0;d{var n=o(8065),l=n.Set,u=n.BitSet,c=n.DoubleDict,r=o(1828).ATN,d=o(9855).ATNState,m=o(2348).m,p=o(9186).B,y=o(8443).Token,b=o(1399).B,h=o(1399).PredPrediction,g=o(7601).f,s=o(2655).PredictionMode,C=o(61).r,w=(o(911),o(4636).dP),T=(o(9855),o(9855).RuleStopState),Y=o(4825).PredictionContext,$=o(210).Interval,z=o(7131),G=z.Transition,X=z.SetTransition,Q=z.NotSetTransition,q=z.RuleTransition,ue=z.ActionTransition,me=o(6071).NoViableAltException,xe=o(4825).SingletonPredictionContext,pe=o(4825).predictionContextFromRuleContext;function oe(ae,U,ie,le){return g.call(this,U,le),this.parser=ae,this.decisionToDFA=ie,this.predictionMode=s.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this}(oe.prototype=Object.create(g.prototype)).constructor=oe,oe.prototype.debug=!1,oe.prototype.debug_closure=!1,oe.prototype.debug_add=!1,oe.prototype.debug_list_atn_decisions=!1,oe.prototype.dfa_debug=!1,oe.prototype.retry_debug=!1,oe.prototype.reset=function(){},oe.prototype.adaptivePredict=function(ae,U,ie){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+U+" exec LA(1)=="+this.getLookaheadName(ae)+" line "+ae.LT(1).line+":"+ae.LT(1).column),this._input=ae,this._startIndex=ae.index,this._outerContext=ie;var le=this.decisionToDFA[U];this._dfa=le;var Ce=ae.mark(),Te=ae.index;try{var Ke;if(null===(Ke=le.precedenceDfa?le.getPrecedenceStartState(this.parser.getPrecedence()):le.s0)){null===ie&&(ie=C.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+le.decision+" exec LA(1)=="+this.getLookaheadName(ae)+", outerContext="+ie.toString(this.parser.ruleNames));var ot=this.computeStartState(le.atnStartState,C.EMPTY,!1);le.precedenceDfa?(le.s0.configs=ot,ot=this.applyPrecedenceFilter(ot),Ke=this.addDFAState(le,new b(null,ot)),le.setPrecedenceStartState(this.parser.getPrecedence(),Ke)):(Ke=this.addDFAState(le,new b(null,ot)),le.s0=Ke)}var mt=this.execATN(le,Ke,ae,Te,ie);return this.debug&&console.log("DFA after predictATN: "+le.toString(this.parser.literalNames)),mt}finally{this._dfa=null,this.mergeCache=null,ae.seek(Te),ae.release(Ce)}},oe.prototype.execATN=function(ae,U,ie,le,Ce){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+ae.decision+" exec LA(1)=="+this.getLookaheadName(ie)+" line "+ie.LT(1).line+":"+ie.LT(1).column);var Te,Ke=U;this.debug&&console.log("s0 = "+U);for(var tt=ie.LA(1);;){var ot=this.getExistingTargetState(Ke,tt);if(null===ot&&(ot=this.computeTargetState(ae,Ke,tt)),ot===g.ERROR){var mt=this.noViableAlt(ie,Ce,Ke.configs,le);if(ie.seek(le),(Te=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(Ke.configs,Ce))!==r.INVALID_ALT_NUMBER)return Te;throw mt}if(ot.requiresFullContext&&this.predictionMode!==s.SLL){var Dt=null;if(null!==ot.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var Ie=ie.index;if(Ie!==le&&ie.seek(le),1===(Dt=this.evalSemanticContext(ot.predicates,Ce,!0)).length)return this.debug&&console.log("Full LL avoided"),Dt.minValue();Ie!==le&&ie.seek(Ie)}this.dfa_debug&&console.log("ctx sensitive state "+Ce+" in "+ot);var ct=this.computeStartState(ae.atnStartState,Ce,!0);return this.reportAttemptingFullContext(ae,Dt,ot.configs,le,ie.index),this.execATNWithFullContext(ae,ot,ct,ie,le,Ce)}if(ot.isAcceptState){if(null===ot.predicates)return ot.prediction;var bt=ie.index;ie.seek(le);var Et=this.evalSemanticContext(ot.predicates,Ce,!0);if(0===Et.length)throw this.noViableAlt(ie,Ce,ot.configs,le);return 1===Et.length||this.reportAmbiguity(ae,ot,le,bt,!1,Et,ot.configs),Et.minValue()}Ke=ot,tt!==y.EOF&&(ie.consume(),tt=ie.LA(1))}},oe.prototype.getExistingTargetState=function(ae,U){var ie=ae.edges;return null===ie?null:ie[U+1]||null},oe.prototype.computeTargetState=function(ae,U,ie){var le=this.computeReachSet(U.configs,ie,!1);if(null===le)return this.addDFAEdge(ae,U,ie,g.ERROR),g.ERROR;var Ce=new b(null,le),Te=this.getUniqueAlt(le);if(this.debug){var Ke=s.getConflictingAltSubsets(le);console.log("SLL altSubSets="+n.arrayToString(Ke)+", previous="+U.configs+", configs="+le+", predict="+Te+", allSubsetsConflict="+s.allSubsetsConflict(Ke)+", conflictingAlts="+this.getConflictingAlts(le))}return Te!==r.INVALID_ALT_NUMBER?(Ce.isAcceptState=!0,Ce.configs.uniqueAlt=Te,Ce.prediction=Te):s.hasSLLConflictTerminatingPrediction(this.predictionMode,le)&&(Ce.configs.conflictingAlts=this.getConflictingAlts(le),Ce.requiresFullContext=!0,Ce.isAcceptState=!0,Ce.prediction=Ce.configs.conflictingAlts.minValue()),Ce.isAcceptState&&Ce.configs.hasSemanticContext&&(this.predicateDFAState(Ce,this.atn.getDecisionState(ae.decision)),null!==Ce.predicates&&(Ce.prediction=r.INVALID_ALT_NUMBER)),this.addDFAEdge(ae,U,ie,Ce)},oe.prototype.predicateDFAState=function(ae,U){var ie=U.transitions.length,le=this.getConflictingAltsOrUniqueAlt(ae.configs),Ce=this.getPredsForAmbigAlts(le,ae.configs,ie);null!==Ce?(ae.predicates=this.getPredicatePredictions(le,Ce),ae.prediction=r.INVALID_ALT_NUMBER):ae.prediction=le.minValue()},oe.prototype.execATNWithFullContext=function(ae,U,ie,le,Ce,Te){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+ie);var tt=!1,ot=null,mt=ie;le.seek(Ce);for(var Dt=le.LA(1),Ie=-1;;){if(null===(ot=this.computeReachSet(mt,Dt,!0))){var Qe=this.noViableAlt(le,Te,mt,Ce);le.seek(Ce);var ct=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(mt,Te);if(ct!==r.INVALID_ALT_NUMBER)return ct;throw Qe}var bt=s.getConflictingAltSubsets(ot);if(this.debug&&console.log("LL altSubSets="+bt+", predict="+s.getUniqueAlt(bt)+", resolvesToJustOneViableAlt="+s.resolvesToJustOneViableAlt(bt)),ot.uniqueAlt=this.getUniqueAlt(ot),ot.uniqueAlt!==r.INVALID_ALT_NUMBER){Ie=ot.uniqueAlt;break}if(this.predictionMode!==s.LL_EXACT_AMBIG_DETECTION){if((Ie=s.resolvesToJustOneViableAlt(bt))!==r.INVALID_ALT_NUMBER)break}else if(s.allSubsetsConflict(bt)&&s.allSubsetsEqual(bt)){tt=!0,Ie=s.getSingleViableAlt(bt);break}mt=ot,Dt!==y.EOF&&(le.consume(),Dt=le.LA(1))}return ot.uniqueAlt!==r.INVALID_ALT_NUMBER?(this.reportContextSensitivity(ae,Ie,ot,Ce,le.index),Ie):(this.reportAmbiguity(ae,U,Ce,le.index,tt,null,ot),Ie)},oe.prototype.computeReachSet=function(ae,U,ie){this.debug&&console.log("in computeReachSet, starting closure: "+ae),null===this.mergeCache&&(this.mergeCache=new c);for(var le=new p(ie),Ce=null,Te=0;Te0&&(Te=this.getAltThatFinishedDecisionEntryRule(Ce))!==r.INVALID_ALT_NUMBER?Te:r.INVALID_ALT_NUMBER},oe.prototype.getAltThatFinishedDecisionEntryRule=function(ae){for(var U=[],ie=0;ie0||le.state instanceof T&&le.context.hasEmptyPath())&&U.indexOf(le.alt)<0&&U.push(le.alt)}return 0===U.length?r.INVALID_ALT_NUMBER:Math.min.apply(null,U)},oe.prototype.splitAccordingToSemanticValidity=function(ae,U){for(var ie=new p(ae.fullCtx),le=new p(ae.fullCtx),Ce=0;Ce50))throw"problem";if(ae.state instanceof T){if(!ae.context.isEmpty()){for(var tt=0;tt=0&&(Qe+=1)}this.closureCheckingStopState(Ie,U,ie,Dt,Ce,Qe,Ke)}}},oe.prototype.canDropLoopEntryEdgeInLeftRecursiveRule=function(ae){var U=ae.state;if(U.stateType!=d.STAR_LOOP_ENTRY||U.stateType!=d.STAR_LOOP_ENTRY||!U.isPrecedenceDecision||ae.context.isEmpty()||ae.context.hasEmptyPath())return!1;for(var ie=ae.context.length,le=0;le=0?this.parser.ruleNames[ae]:""},oe.prototype.getEpsilonTarget=function(ae,U,ie,le,Ce,Te){switch(U.serializationType){case G.RULE:return this.ruleTransition(ae,U);case G.PRECEDENCE:return this.precedenceTransition(ae,U,ie,le,Ce);case G.PREDICATE:return this.predTransition(ae,U,ie,le,Ce);case G.ACTION:return this.actionTransition(ae,U);case G.EPSILON:return new m({state:U.target},ae);case G.ATOM:case G.RANGE:case G.SET:return Te&&U.matches(y.EOF,0,1)?new m({state:U.target},ae):null;default:return null}},oe.prototype.actionTransition=function(ae,U){return this.debug&&console.log("ACTION edge "+U.ruleIndex+":"+(-1==U.actionIndex?65535:U.actionIndex)),new m({state:U.target},ae)},oe.prototype.precedenceTransition=function(ae,U,ie,le,Ce){this.debug&&(console.log("PRED (collectPredicates="+ie+") "+U.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));var Te=null;if(ie&&le)if(Ce){var Ke=this._input.index;this._input.seek(this._startIndex);var tt=U.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(Ke),tt&&(Te=new m({state:U.target},ae))}else{var ot=w.andContext(ae.semanticContext,U.getPredicate());Te=new m({state:U.target,semanticContext:ot},ae)}else Te=new m({state:U.target},ae);return this.debug&&console.log("config from pred transition="+Te),Te},oe.prototype.predTransition=function(ae,U,ie,le,Ce){this.debug&&(console.log("PRED (collectPredicates="+ie+") "+U.ruleIndex+":"+U.predIndex+", ctx dependent="+U.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));var Te=null;if(ie&&(U.isCtxDependent&&le||!U.isCtxDependent))if(Ce){var Ke=this._input.index;this._input.seek(this._startIndex);var tt=U.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(Ke),tt&&(Te=new m({state:U.target},ae))}else{var ot=w.andContext(ae.semanticContext,U.getPredicate());Te=new m({state:U.target,semanticContext:ot},ae)}else Te=new m({state:U.target},ae);return this.debug&&console.log("config from pred transition="+Te),Te},oe.prototype.ruleTransition=function(ae,U){this.debug&&console.log("CALL rule "+this.getRuleName(U.target.ruleIndex)+", ctx="+ae.context);var le=xe.create(ae.context,U.followState.stateNumber);return new m({state:U.target,context:le},ae)},oe.prototype.getConflictingAlts=function(ae){var U=s.getConflictingAltSubsets(ae);return s.getAlts(U)},oe.prototype.getConflictingAltsOrUniqueAlt=function(ae){var U=null;return ae.uniqueAlt!==r.INVALID_ALT_NUMBER?(U=new u).add(ae.uniqueAlt):U=ae.conflictingAlts,U},oe.prototype.getTokenName=function(ae){if(ae===y.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(ae>=this.parser.literalNames.length&&ae>=this.parser.symbolicNames.length))return(this.parser.literalNames[ae]||this.parser.symbolicNames[ae])+"<"+ae+">";console.log(ae+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+ae},oe.prototype.getLookaheadName=function(ae){return this.getTokenName(ae.LA(1))},oe.prototype.dumpDeadEndConfigs=function(ae){console.log("dead end configs: ");for(var U=ae.getDeadEndConfigs(),ie=0;ie0){var Te=le.state.transitions[0];Te instanceof AtomTransition?Ce="Atom "+this.getTokenName(Te.label):Te instanceof X&&(Ce=(Te instanceof Q?"~":"")+"Set "+Te.set)}console.error(le.toString(this.parser,!0)+":"+Ce)}},oe.prototype.noViableAlt=function(ae,U,ie,le){return new me(this.parser,ae,ae.get(le),ae.LT(1),ie,U)},oe.prototype.getUniqueAlt=function(ae){for(var U=r.INVALID_ALT_NUMBER,ie=0;ie "+le+" upon "+this.getTokenName(ie)),null===le?null:(le=this.addDFAState(ae,le),null===U||ie<-1||ie>this.atn.maxTokenType||(null===U.edges&&(U.edges=[]),U.edges[ie+1]=le,this.debug&&console.log("DFA=\n"+ae.toString(null===this.parser?null:this.parser.literalNames,null===this.parser?null:this.parser.symbolicNames))),le)},oe.prototype.addDFAState=function(ae,U){if(U==g.ERROR)return U;var ie=ae.states.get(U);return null!==ie?ie:(U.stateNumber=ae.states.length,U.configs.readOnly||(U.configs.optimizeConfigs(this),U.configs.setReadonly(!0)),ae.states.add(U),this.debug&&console.log("adding new DFA state: "+U),U)},oe.prototype.reportAttemptingFullContext=function(ae,U,ie,le,Ce){if(this.debug||this.retry_debug){var Te=new $(le,Ce+1);console.log("reportAttemptingFullContext decision="+ae.decision+":"+ie+", input="+this.parser.getTokenStream().getText(Te))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,ae,le,Ce,U,ie)},oe.prototype.reportContextSensitivity=function(ae,U,ie,le,Ce){if(this.debug||this.retry_debug){var Te=new $(le,Ce+1);console.log("reportContextSensitivity decision="+ae.decision+":"+ie+", input="+this.parser.getTokenStream().getText(Te))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,ae,le,Ce,U,ie)},oe.prototype.reportAmbiguity=function(ae,U,ie,le,Ce,Te,Ke){if(this.debug||this.retry_debug){var tt=new $(ie,le+1);console.log("reportAmbiguity "+Te+":"+Ke+", input="+this.parser.getTokenStream().getText(tt))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,ae,ie,le,Ce,Te,Ke)},A.ParserATNSimulator=oe},2655:(he,A,o)=>{o(8065);var l=o(8065).Map,u=o(8065).BitSet,c=o(8065).AltDict,r=o(1828).ATN,d=o(9855).RuleStopState,m=o(9186).B,p=o(2348).m,y=o(4636).dP,h=(o(8065),o(8065).hashStuff);function s(){return this}o(8065),s.SLL=0,s.LL=1,s.LL_EXACT_AMBIG_DETECTION=2,s.hasSLLConflictTerminatingPrediction=function(C,P){if(s.allConfigsInRuleStopStates(P))return!0;if(C===s.SLL&&P.hasSemanticContext){for(var w=new m,D=0;D1)return!0;return!1},s.allSubsetsEqual=function(C){for(var P=null,w=0;w{var n=o(8065).Set,l=o(8065).Hash;function u(){return this}function c(p,y,b){return u.call(this),this.ruleIndex=void 0===p?-1:p,this.predIndex=void 0===y?-1:y,this.isCtxDependent=void 0!==b&&b,this}function r(p){u.call(this),this.precedence=void 0===p?0:p}function d(p,y){u.call(this);var b=new n;p instanceof d?p.opnds.map(function(s){b.add(s)}):b.add(p),y instanceof d?y.opnds.map(function(s){b.add(s)}):b.add(y);var h=r.filterPrecedencePredicates(b);if(h.length>0){var g=null;h.map(function(s){(null===g||s.precedence0){var g=h.sort(function(C,P){return C.compareTo(P)});b.add(g[g.length-1])}return this.opnds=b.values(),this}u.prototype.hashCode=function(){var p=new l;return this.updateHashCode(p),p.finish()},u.prototype.evaluate=function(p,y){},u.prototype.evalPrecedence=function(p,y){return this},u.andContext=function(p,y){if(null===p||p===u.NONE)return y;if(null===y||y===u.NONE)return p;var b=new d(p,y);return 1===b.opnds.length?b.opnds[0]:b},u.orContext=function(p,y){if(null===p)return y;if(null===y)return p;if(p===u.NONE||y===u.NONE)return u.NONE;var b=new m(p,y);return 1===b.opnds.length?b.opnds[0]:b},(c.prototype=Object.create(u.prototype)).constructor=c,u.NONE=new c,c.prototype.evaluate=function(p,y){return p.sempred(this.isCtxDependent?y:null,this.ruleIndex,this.predIndex)},c.prototype.updateHashCode=function(p){p.update(this.ruleIndex,this.predIndex,this.isCtxDependent)},c.prototype.equals=function(p){return this===p||p instanceof c&&this.ruleIndex===p.ruleIndex&&this.predIndex===p.predIndex&&this.isCtxDependent===p.isCtxDependent},c.prototype.toString=function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"},(r.prototype=Object.create(u.prototype)).constructor=r,r.prototype.evaluate=function(p,y){return p.precpred(y,this.precedence)},r.prototype.evalPrecedence=function(p,y){return p.precpred(y,this.precedence)?u.NONE:null},r.prototype.compareTo=function(p){return this.precedence-p.precedence},r.prototype.updateHashCode=function(p){p.update(31)},r.prototype.equals=function(p){return this===p||p instanceof r&&this.precedence===p.precedence},r.prototype.toString=function(){return"{"+this.precedence+">=prec}?"},r.filterPrecedencePredicates=function(p){var y=[];return p.values().map(function(b){b instanceof r&&y.push(b)}),y},(d.prototype=Object.create(u.prototype)).constructor=d,d.prototype.equals=function(p){return this===p||p instanceof d&&this.opnds===p.opnds},d.prototype.updateHashCode=function(p){p.update(this.opnds,"AND")},d.prototype.evaluate=function(p,y){for(var b=0;b3?p.slice(3):p},(m.prototype=Object.create(u.prototype)).constructor=m,m.prototype.constructor=function(p){return this===p||p instanceof m&&this.opnds===p.opnds},m.prototype.updateHashCode=function(p){p.update(this.opnds,"OR")},m.prototype.evaluate=function(p,y){for(var b=0;b3?p.slice(3):p},A.dP=u,A.u5=r,A.$G=c},7131:(he,A,o)=>{var n=o(8443).Token,u=(o(210),o(210).V),c=o(4636).$G,r=o(4636).u5;function d(T){if(null==T)throw"target cannot be null.";return this.target=T,this.isEpsilon=!1,this.label=null,this}function m(T,Y){return d.call(this,T),this.label_=Y,this.label=this.makeLabel(),this.serializationType=d.ATOM,this}function p(T,Y,$,z){return d.call(this,T),this.ruleIndex=Y,this.precedence=$,this.followState=z,this.serializationType=d.RULE,this.isEpsilon=!0,this}function y(T,Y){return d.call(this,T),this.serializationType=d.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=Y,this}function b(T,Y,$){return d.call(this,T),this.serializationType=d.RANGE,this.start=Y,this.stop=$,this.label=this.makeLabel(),this}function h(T){return d.call(this,T),this}function g(T,Y,$,z){return h.call(this,T),this.serializationType=d.PREDICATE,this.ruleIndex=Y,this.predIndex=$,this.isCtxDependent=z,this.isEpsilon=!0,this}function s(T,Y,$,z){return d.call(this,T),this.serializationType=d.ACTION,this.ruleIndex=Y,this.actionIndex=void 0===$?-1:$,this.isCtxDependent=void 0!==z&&z,this.isEpsilon=!0,this}function C(T,Y){return d.call(this,T),this.serializationType=d.SET,null!=Y?this.label=Y:(this.label=new u,this.label.addOne(n.INVALID_TYPE)),this}function P(T,Y){return C.call(this,T,Y),this.serializationType=d.NOT_SET,this}function w(T){return d.call(this,T),this.serializationType=d.WILDCARD,this}function D(T,Y){return h.call(this,T),this.serializationType=d.PRECEDENCE,this.precedence=Y,this.isEpsilon=!0,this}d.EPSILON=1,d.RANGE=2,d.RULE=3,d.PREDICATE=4,d.ATOM=5,d.ACTION=6,d.SET=7,d.NOT_SET=8,d.WILDCARD=9,d.PRECEDENCE=10,d.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],d.serializationTypes={EpsilonTransition:d.EPSILON,RangeTransition:d.RANGE,RuleTransition:d.RULE,PredicateTransition:d.PREDICATE,AtomTransition:d.ATOM,ActionTransition:d.ACTION,SetTransition:d.SET,NotSetTransition:d.NOT_SET,WildcardTransition:d.WILDCARD,PrecedencePredicateTransition:d.PRECEDENCE},(m.prototype=Object.create(d.prototype)).constructor=m,m.prototype.makeLabel=function(){var T=new u;return T.addOne(this.label_),T},m.prototype.matches=function(T,Y,$){return this.label_===T},m.prototype.toString=function(){return this.label_},(p.prototype=Object.create(d.prototype)).constructor=p,p.prototype.matches=function(T,Y,$){return!1},(y.prototype=Object.create(d.prototype)).constructor=y,y.prototype.matches=function(T,Y,$){return!1},y.prototype.toString=function(){return"epsilon"},(b.prototype=Object.create(d.prototype)).constructor=b,b.prototype.makeLabel=function(){var T=new u;return T.addRange(this.start,this.stop),T},b.prototype.matches=function(T,Y,$){return T>=this.start&&T<=this.stop},b.prototype.toString=function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"},(h.prototype=Object.create(d.prototype)).constructor=h,(g.prototype=Object.create(h.prototype)).constructor=g,g.prototype.matches=function(T,Y,$){return!1},g.prototype.getPredicate=function(){return new c(this.ruleIndex,this.predIndex,this.isCtxDependent)},g.prototype.toString=function(){return"pred_"+this.ruleIndex+":"+this.predIndex},(s.prototype=Object.create(d.prototype)).constructor=s,s.prototype.matches=function(T,Y,$){return!1},s.prototype.toString=function(){return"action_"+this.ruleIndex+":"+this.actionIndex},(C.prototype=Object.create(d.prototype)).constructor=C,C.prototype.matches=function(T,Y,$){return this.label.contains(T)},C.prototype.toString=function(){return this.label.toString()},(P.prototype=Object.create(C.prototype)).constructor=P,P.prototype.matches=function(T,Y,$){return T>=Y&&T<=$&&!C.prototype.matches.call(this,T,Y,$)},P.prototype.toString=function(){return"~"+C.prototype.toString.call(this)},(w.prototype=Object.create(d.prototype)).constructor=w,w.prototype.matches=function(T,Y,$){return T>=Y&&T<=$},w.prototype.toString=function(){return"."},(D.prototype=Object.create(h.prototype)).constructor=D,D.prototype.matches=function(T,Y,$){return!1},D.prototype.getPredicate=function(){return new r(this.precedence)},D.prototype.toString=function(){return this.precedence+" >= _p"},A.Transition=d,A.AtomTransition=m,A.SetTransition=C,A.NotSetTransition=P,A.RuleTransition=p,A.ActionTransition=s,A.EpsilonTransition=y,A.RangeTransition=b,A.WildcardTransition=w,A.PredicateTransition=g,A.PrecedencePredicateTransition=D,A.AbstractPredicateTransition=h},8900:(he,A,o)=>{A.ATN=o(1828).ATN,A.ATNDeserializer=o(3031).ATNDeserializer,A.LexerATNSimulator=o(6244).LexerATNSimulator,A.ParserATNSimulator=o(3464).ParserATNSimulator,A.PredictionMode=o(2655).PredictionMode},2490:(he,A,o)=>{var n=o(8065).Set,l=o(1399).B,u=o(9855).StarLoopEntryState,c=o(9186).B,r=o(5846).DFASerializer,d=o(5846).LexerDFASerializer;function m(p,y){if(void 0===y&&(y=0),this.atnStartState=p,this.decision=y,this._states=new n,this.s0=null,this.precedenceDfa=!1,p instanceof u&&p.isPrecedenceDecision){this.precedenceDfa=!0;var b=new l(null,new c);b.edges=[],b.isAcceptState=!1,b.requiresFullContext=!1,this.s0=b}return this}m.prototype.getPrecedenceStartState=function(p){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return p<0||p>=this.s0.edges.length?null:this.s0.edges[p]||null},m.prototype.setPrecedenceStartState=function(p,y){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";p<0||(this.s0.edges[p]=y)},m.prototype.setPrecedenceDfa=function(p){if(this.precedenceDfa!==p){if(this._states=new DFAStatesSet,p){var y=new l(null,new c);y.edges=[],y.isAcceptState=!1,y.requiresFullContext=!1,this.s0=y}else this.s0=null;this.precedenceDfa=p}},Object.defineProperty(m.prototype,"states",{get:function(){return this._states}}),m.prototype.sortedStates=function(){return this._states.values().sort(function(y,b){return y.stateNumber-b.stateNumber})},m.prototype.toString=function(p,y){return null===this.s0?"":new r(this,p=p||null,y=y||null).toString()},m.prototype.toLexerString=function(){return null===this.s0?"":new d(this).toString()},A.DFA=m},5846:(he,A)=>{function o(l,u,c){return this.dfa=l,this.literalNames=u||[],this.symbolicNames=c||[],this}function n(l){return o.call(this,l,null),this}o.prototype.toString=function(){if(null===this.dfa.s0)return null;for(var l="",u=this.dfa.sortedStates(),c=0;c")).concat(this.getStateString(p))).concat("\n"))}}return 0===l.length?null:l},o.prototype.getEdgeLabel=function(l){return 0===l?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[l-1]||this.symbolicNames[l-1]:String.fromCharCode(l-1)},o.prototype.getStateString=function(l){var u=(l.isAcceptState?":":"")+"s"+l.stateNumber+(l.requiresFullContext?"^":"");return l.isAcceptState?null!==l.predicates?u+"=>"+l.predicates.toString():u+"=>"+l.prediction.toString():u},(n.prototype=Object.create(o.prototype)).constructor=n,n.prototype.getEdgeLabel=function(l){return"'"+String.fromCharCode(l)+"'"},A.DFASerializer=o,A.LexerDFASerializer=n},1399:(he,A,o)=>{var n=o(9186).B,l=o(8065),u=l.Hash,c=l.Set;function r(m,p){return this.alt=p,this.pred=m,this}function d(m,p){return null===m&&(m=-1),null===p&&(p=new n),this.stateNumber=m,this.configs=p,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}r.prototype.toString=function(){return"("+this.pred+", "+this.alt+")"},d.prototype.getAltSet=function(){var m=new c;if(null!==this.configs)for(var p=0;p{A.DFA=o(2490).DFA,A.DFASerializer=o(5846).DFASerializer,A.LexerDFASerializer=o(5846).LexerDFASerializer,A.PredPrediction=o(1399).PredPrediction},3456:(he,A,o)=>{var n=o(8065).BitSet,l=o(1911).ErrorListener,u=o(210).Interval;function c(r){return l.call(this),this.exactOnly=r=r||!0,this}(c.prototype=Object.create(l.prototype)).constructor=c,c.prototype.reportAmbiguity=function(r,d,m,p,y,b,h){if(!this.exactOnly||y){var g="reportAmbiguity d="+this.getDecisionDescription(r,d)+": ambigAlts="+this.getConflictingAlts(b,h)+", input='"+r.getTokenStream().getText(new u(m,p))+"'";r.notifyErrorListeners(g)}},c.prototype.reportAttemptingFullContext=function(r,d,m,p,y,b){var h="reportAttemptingFullContext d="+this.getDecisionDescription(r,d)+", input='"+r.getTokenStream().getText(new u(m,p))+"'";r.notifyErrorListeners(h)},c.prototype.reportContextSensitivity=function(r,d,m,p,y,b){var h="reportContextSensitivity d="+this.getDecisionDescription(r,d)+", input='"+r.getTokenStream().getText(new u(m,p))+"'";r.notifyErrorListeners(h)},c.prototype.getDecisionDescription=function(r,d){var m=d.decision,p=d.atnStartState.ruleIndex,y=r.ruleNames;if(p<0||p>=y.length)return""+m;var b=y[p]||null;return null===b||0===b.length?""+m:m+" ("+b+")"},c.prototype.getConflictingAlts=function(r,d){if(null!==r)return r;for(var m=new n,p=0;p{function o(){return this}function n(){return o.call(this),this}function l(u){if(o.call(this),null===u)throw"delegates";return this.delegates=u,this}o.prototype.syntaxError=function(u,c,r,d,m,p){},o.prototype.reportAmbiguity=function(u,c,r,d,m,p,y){},o.prototype.reportAttemptingFullContext=function(u,c,r,d,m,p){},o.prototype.reportContextSensitivity=function(u,c,r,d,m,p){},(n.prototype=Object.create(o.prototype)).constructor=n,n.INSTANCE=new n,n.prototype.syntaxError=function(u,c,r,d,m,p){console.error("line "+r+":"+d+" "+m)},(l.prototype=Object.create(o.prototype)).constructor=l,l.prototype.syntaxError=function(u,c,r,d,m,p){this.delegates.map(function(y){y.syntaxError(u,c,r,d,m,p)})},l.prototype.reportAmbiguity=function(u,c,r,d,m,p,y){this.delegates.map(function(b){b.reportAmbiguity(u,c,r,d,m,p,y)})},l.prototype.reportAttemptingFullContext=function(u,c,r,d,m,p){this.delegates.map(function(y){y.reportAttemptingFullContext(u,c,r,d,m,p)})},l.prototype.reportContextSensitivity=function(u,c,r,d,m,p){this.delegates.map(function(y){y.reportContextSensitivity(u,c,r,d,m,p)})},A.ErrorListener=o,A.s=n,A.N=l},7675:(he,A,o)=>{var n=o(8443).Token,l=o(6071),u=l.NoViableAltException,c=l.InputMismatchException,r=l.FailedPredicateException,d=l.ParseCancellationException,m=o(9855).ATNState,p=o(210).Interval,y=o(210).V;function b(){}function h(){return b.call(this),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this}function g(){return h.call(this),this}b.prototype.reset=function(s){},b.prototype.recoverInline=function(s){},b.prototype.recover=function(s,C){},b.prototype.sync=function(s){},b.prototype.inErrorRecoveryMode=function(s){},b.prototype.reportError=function(s){},(h.prototype=Object.create(b.prototype)).constructor=h,h.prototype.reset=function(s){this.endErrorCondition(s)},h.prototype.beginErrorCondition=function(s){this.errorRecoveryMode=!0},h.prototype.inErrorRecoveryMode=function(s){return this.errorRecoveryMode},h.prototype.endErrorCondition=function(s){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1},h.prototype.reportMatch=function(s){this.endErrorCondition(s)},h.prototype.reportError=function(s,C){this.inErrorRecoveryMode(s)||(this.beginErrorCondition(s),C instanceof u?this.reportNoViableAlternative(s,C):C instanceof c?this.reportInputMismatch(s,C):C instanceof r?this.reportFailedPredicate(s,C):(console.log("unknown recognition error type: "+C.constructor.name),console.log(C.stack),s.notifyErrorListeners(C.getOffendingToken(),C.getMessage(),C)))},h.prototype.recover=function(s,C){this.lastErrorIndex===s.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(s.state)>=0&&s.consume(),this.lastErrorIndex=s._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(s.state);var P=this.getErrorRecoverySet(s);this.consumeUntil(s,P)},h.prototype.sync=function(s){if(!this.inErrorRecoveryMode(s)){var C=s._interp.atn.states[s.state],P=s.getTokenStream().LA(1),w=s.atn.nextTokens(C);if(!w.contains(n.EPSILON)&&!w.contains(P))switch(C.stateType){case m.BLOCK_START:case m.STAR_BLOCK_START:case m.PLUS_BLOCK_START:case m.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(s))return;throw new c(s);case m.PLUS_LOOP_BACK:case m.STAR_LOOP_BACK:this.reportUnwantedToken(s);var D=new y;D.addSet(s.getExpectedTokens());var T=D.addSet(this.getErrorRecoverySet(s));this.consumeUntil(s,T)}}},h.prototype.reportNoViableAlternative=function(s,C){var w,P=s.getTokenStream();w=null!==P?C.startToken.type===n.EOF?"":P.getText(new p(C.startToken.tokenIndex,C.offendingToken.tokenIndex)):"";var D="no viable alternative at input "+this.escapeWSAndQuote(w);s.notifyErrorListeners(D,C.offendingToken,C)},h.prototype.reportInputMismatch=function(s,C){var P="mismatched input "+this.getTokenErrorDisplay(C.offendingToken)+" expecting "+C.getExpectedTokens().toString(s.literalNames,s.symbolicNames);s.notifyErrorListeners(P,C.offendingToken,C)},h.prototype.reportFailedPredicate=function(s,C){s.notifyErrorListeners("rule "+s.ruleNames[s._ctx.ruleIndex]+" "+C.message,C.offendingToken,C)},h.prototype.reportUnwantedToken=function(s){if(!this.inErrorRecoveryMode(s)){this.beginErrorCondition(s);var C=s.getCurrentToken(),D="extraneous input "+this.getTokenErrorDisplay(C)+" expecting "+this.getExpectedTokens(s).toString(s.literalNames,s.symbolicNames);s.notifyErrorListeners(D,C,null)}},h.prototype.reportMissingToken=function(s){if(!this.inErrorRecoveryMode(s)){this.beginErrorCondition(s);var C=s.getCurrentToken(),w="missing "+this.getExpectedTokens(s).toString(s.literalNames,s.symbolicNames)+" at "+this.getTokenErrorDisplay(C);s.notifyErrorListeners(w,C,null)}},h.prototype.recoverInline=function(s){var C=this.singleTokenDeletion(s);if(null!==C)return s.consume(),C;if(this.singleTokenInsertion(s))return this.getMissingSymbol(s);throw new c(s)},h.prototype.singleTokenInsertion=function(s){var C=s.getTokenStream().LA(1),P=s._interp.atn;return!!P.nextTokens(P.states[s.state].transitions[0].target,s._ctx).contains(C)&&(this.reportMissingToken(s),!0)},h.prototype.singleTokenDeletion=function(s){var C=s.getTokenStream().LA(2);if(this.getExpectedTokens(s).contains(C)){this.reportUnwantedToken(s),s.consume();var w=s.getCurrentToken();return this.reportMatch(s),w}return null},h.prototype.getMissingSymbol=function(s){var D,C=s.getCurrentToken(),w=this.getExpectedTokens(s).first();D=w===n.EOF?"":"";var T=C,Y=s.getTokenStream().LT(-1);return T.type===n.EOF&&null!==Y&&(T=Y),s.getTokenFactory().create(T.source,w,D,n.DEFAULT_CHANNEL,-1,-1,T.line,T.column)},h.prototype.getExpectedTokens=function(s){return s.getExpectedTokens()},h.prototype.getTokenErrorDisplay=function(s){if(null===s)return"";var C=s.text;return null===C&&(C=s.type===n.EOF?"":"<"+s.type+">"),this.escapeWSAndQuote(C)},h.prototype.escapeWSAndQuote=function(s){return"'"+(s=(s=(s=s.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"},h.prototype.getErrorRecoverySet=function(s){for(var C=s._interp.atn,P=s._ctx,w=new y;null!==P&&P.invokingState>=0;){var Y=C.nextTokens(C.states[P.invokingState].transitions[0].followState);w.addSet(Y),P=P.parentCtx}return w.removeOne(n.EPSILON),w},h.prototype.consumeUntil=function(s,C){for(var P=s.getTokenStream().LA(1);P!==n.EOF&&!C.contains(P);)s.consume(),P=s.getTokenStream().LA(1)},(g.prototype=Object.create(h.prototype)).constructor=g,g.prototype.recover=function(s,C){for(var P=s._ctx;null!==P;)P.exception=C,P=P.parentCtx;throw new d(C)},g.prototype.recoverInline=function(s){this.recover(s,new c(s))},g.prototype.sync=function(s){},A.BailErrorStrategy=g,A.t=h},6071:(he,A,o)=>{var n=o(7131).PredicateTransition;function l(p){return Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,l):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),this}function u(p,y,b,h){return l.call(this,{message:"",recognizer:p,input:y,ctx:null}),this.startIndex=b,this.deadEndConfigs=h,this}function c(p,y,b,h,g,s){s=s||p._ctx,h=h||p.getCurrentToken(),b=b||p.getCurrentToken(),y=y||p.getInputStream(),l.call(this,{message:"",recognizer:p,input:y,ctx:s}),this.deadEndConfigs=g,this.startToken=b,this.offendingToken=h}function r(p){l.call(this,{message:"",recognizer:p,input:p.getInputStream(),ctx:p._ctx}),this.offendingToken=p.getCurrentToken()}function d(p,y,b){l.call(this,{message:this.formatMessage(y,b||null),recognizer:p,input:p.getInputStream(),ctx:p._ctx});var g=p._interp.atn.states[p.state].transitions[0];return g instanceof n?(this.ruleIndex=g.ruleIndex,this.predicateIndex=g.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=y,this.offendingToken=p.getCurrentToken(),this}function m(){return Error.call(this),Error.captureStackTrace(this,m),this}(l.prototype=Object.create(Error.prototype)).constructor=l,l.prototype.getExpectedTokens=function(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null},l.prototype.toString=function(){return this.message},(u.prototype=Object.create(l.prototype)).constructor=u,u.prototype.toString=function(){var p="";return this.startIndex>=0&&this.startIndex{A.RecognitionException=o(6071).RecognitionException,A.NoViableAltException=o(6071).NoViableAltException,A.LexerNoViableAltException=o(6071).LexerNoViableAltException,A.InputMismatchException=o(6071).InputMismatchException,A.FailedPredicateException=o(6071).FailedPredicateException,A.DiagnosticErrorListener=o(3456).DiagnosticErrorListener,A.BailErrorStrategy=o(7675).BailErrorStrategy,A.ErrorListener=o(1911).ErrorListener},4185:()=>{String.prototype.codePointAt||function(){"use strict";var he=function(){try{var o={},n=Object.defineProperty,l=n(o,o,o)&&n}catch(u){}return l}(),A=function(o){if(null==this)throw TypeError();var n=String(this),l=n.length,u=o?Number(o):0;if(u!=u&&(u=0),!(u<0||u>=l)){var r,c=n.charCodeAt(u);return c>=55296&&c<=56319&&l>u+1&&(r=n.charCodeAt(u+1))>=56320&&r<=57343?1024*(c-55296)+r-56320+65536:c}};he?he(String.prototype,"codePointAt",{value:A,configurable:!0,writable:!0}):String.prototype.codePointAt=A}()},9767:()=>{var he,A,o,n;String.fromCodePoint||(he=function(){try{var l={},u=Object.defineProperty,c=u(l,l,l)&&u}catch(r){}return c}(),A=String.fromCharCode,o=Math.floor,n=function(l){var u=16384,c=[],m=-1,p=arguments.length;if(!p)return"";for(var y="";++m1114111||o(b)!=b)throw RangeError("Invalid code point: "+b);b<=65535?c.push(b):c.push(55296+((b-=65536)>>10),b%1024+56320),(m+1==p||c.length>u)&&(y+=A.apply(null,c),c.length=0)}return y},he?he(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n)},1029:(he,A,o)=>{var n=o(8443).Token,l=o(210).Interval,u=new l(-1,-2);function r(){return this}function d(){return r.call(this),this}function m(){return d.call(this),this}function p(){return m.call(this),this}function y(){return m.call(this),this}function b(){return y.call(this),this}function h(){return this}function g(){return this}function s(w){return y.call(this),this.parentCtx=null,this.symbol=w,this}function C(w){return s.call(this,w),this}function P(){return this}o(8065),(d.prototype=Object.create(r.prototype)).constructor=d,(m.prototype=Object.create(d.prototype)).constructor=m,(p.prototype=Object.create(m.prototype)).constructor=p,(y.prototype=Object.create(m.prototype)).constructor=y,(b.prototype=Object.create(y.prototype)).constructor=b,h.prototype.visit=function(w){return Array.isArray(w)?w.map(function(D){return D.accept(this)},this):w.accept(this)},h.prototype.visitChildren=function(w){return w.children?this.visit(w.children):null},h.prototype.visitTerminal=function(w){},h.prototype.visitErrorNode=function(w){},g.prototype.visitTerminal=function(w){},g.prototype.visitErrorNode=function(w){},g.prototype.enterEveryRule=function(w){},g.prototype.exitEveryRule=function(w){},(s.prototype=Object.create(y.prototype)).constructor=s,s.prototype.getChild=function(w){return null},s.prototype.getSymbol=function(){return this.symbol},s.prototype.getParent=function(){return this.parentCtx},s.prototype.getPayload=function(){return this.symbol},s.prototype.getSourceInterval=function(){if(null===this.symbol)return u;var w=this.symbol.tokenIndex;return new l(w,w)},s.prototype.getChildCount=function(){return 0},s.prototype.accept=function(w){return w.visitTerminal(this)},s.prototype.getText=function(){return this.symbol.text},s.prototype.toString=function(){return this.symbol.type===n.EOF?"":this.symbol.text},(C.prototype=Object.create(s.prototype)).constructor=C,C.prototype.isErrorNode=function(){return!0},C.prototype.accept=function(w){return w.visitErrorNode(this)},P.prototype.walk=function(w,D){if(D instanceof b||void 0!==D.isErrorNode&&D.isErrorNode())w.visitErrorNode(D);else if(D instanceof y)w.visitTerminal(D);else{this.enterRule(w,D);for(var Y=0;Y{var n=o(8065),l=o(8443).Token,c=(o(1029),o(1029).ErrorNode),r=o(1029).TerminalNode,d=o(911).ParserRuleContext,m=o(61).r,p=o(1828).INVALID_ALT_NUMBER;function y(){}y.toStringTree=function(b,h,g){h=h||null,null!==(g=g||null)&&(h=g.ruleNames);var s=y.getNodeText(b,h);s=n.escapeWhitespace(s,!1);var C=b.getChildCount();if(0===C)return s;var P="("+s+" ";C>0&&(s=y.toStringTree(b.getChild(0),h),P=P.concat(s));for(var w=1;w{var n=o(1029);A.Trees=o(2565).Trees,A.RuleNode=n.RuleNode,A.ParseTreeListener=n.ParseTreeListener,A.ParseTreeVisitor=n.ParseTreeVisitor,A.ParseTreeWalker=n.ParseTreeWalker},3853:he=>{he.exports={aggregateMacro:function(o,n,l){return o.reduce((u,c,r)=>(this.$index=r,this.$total=n(c)),this.$total=l)}}},3142:(he,A,o)=>{var n=o(9640),l={};function u(c,r){if(0==r.length)return!0;for(var d=0;d1)throw new Error("Expected singleton on right side of contains, got "+JSON.stringify(r));return u(c,r)},l.in=function(c,r){if(0==c.length)return[];if(0==r.length)return!1;if(c.length>1)throw new Error("Expected singleton on right side of in, got "+JSON.stringify(r));return u(r,c)},he.exports=l},7561:(he,A,o)=>{var n={},l=o(6127);n.union=function(u,c){return l.distinctFn(u.concat(c))},n.combineFn=function(u,c){return u.concat(c)},he.exports=n},9397:he=>{he.exports={reset:function(){this.nowDate=new Date,this.today=null,this.now=null,this.localTimezoneOffset=null},today:null,now:null}},3425:(he,A,o)=>{var n={};const l=o(2563),u=o(9397),c=l.FP_DateTime;n.now=function(){if(!u.now){var d=c.isoDateTime(u.nowDate);u.now=new c(d)}return u.now},n.today=function(){if(!u.today){var d=c.isoDate(u.nowDate);u.today=new c(d)}return u.today},he.exports=n},9640:(he,A,o)=>{var l=o(2563).FP_Type,u=o(4569),c=o(5192),r=Array.prototype.slice,d=Object.keys,m=function(C){return"[object Arguments]"==Object.prototype.toString.call(C)};function p(C){return"string"==typeof C||C instanceof String}function y(C){return!isNaN(parseFloat(C))&&isFinite(C)}function b(C){return C.toUpperCase().replace(/\s+/," ")}var h=function(C,P,w){if(w||(w={}),(C=u.valData(C))===(P=u.valData(P)))return!0;if(w.fuzzy){if(p(C)&&p(P))return b(C)==b(P);if(y(C)&&y(P))return c.isEquivalent(C,P)}else if("number"==typeof C&&"number"==typeof P)return c.isEqual(C,P);if(C instanceof Date&&P instanceof Date)return C.getTime()===P.getTime();if(!C||!P||"object"!=typeof C&&"object"!=typeof P)return w.strict?C===P:C==P;var D=C instanceof l,T=P instanceof l;if(D&&T)return w.fuzzy?C.equivalentTo(P):C.equals(P);if(D||T){let Y,$;D?(Y=C,$=P):(Y=P,$=C);let z="string"==typeof $;if(z){let G=Y.constructor.checkString($);z=!!G&&(w.fuzzy?C.equivalentTo(G):Y.equals(G))}return z}return function(C,P,w){var D,T;if(g(C)||g(P)||C.prototype!==P.prototype)return!1;if(m(C)||m(P))return C=m(C)?r.call(C):C,P=m(P)?r.call(P):P,h(C,P,w);try{var Y=d(C),$=d(P)}catch(z){return!1}if(Y.length!=$.length)return!1;for(Y.sort(),$.sort(),D=Y.length-1;D>=0;D--)if(Y[D]!=$[D])return!1;if(1===Y.length)return h(C[T=Y[0]],P[T],w);for(D=Y.length-1;D>=0;D--)if(!h(C[T=Y[D]],P[T],w))return!1;return typeof C==typeof P}(C,P,w)};function g(C){return null==C}he.exports=h},2066:(he,A,o)=>{var n=o(4569),l=o(9640),u=o(2563);const c=u.FP_Type,r=u.FP_DateTime,d=u.FP_Time;var m={};function p(h,g){return n.isEmpty(h)||n.isEmpty(g)?[]:l(h,g)}function y(h,g){return n.isEmpty(h)&&n.isEmpty(g)?[!0]:n.isEmpty(h)||n.isEmpty(g)?[]:l(h,g,{fuzzy:!0})}function b(h,g){let s=null;n.assertAtMostOne(h,"Singleton was expected"),n.assertAtMostOne(g,"Singleton was expected"),h=n.valData(h[0]),g=n.valData(g[0]);let C=h.constructor,P=g.constructor;var w;return C!=P&&(C!==String||P!==r&&P!==d?P===String&&(C===r||C===d)&&(w=C.checkString(g))&&(s=[h,w]):(w=P.checkString(h))&&(s=[w,g]),s||n.raiseError('Type of "'+h+'" ('+C.name+') did not match type of "'+g+'" ('+P.name+")","InequalityExpression")),s||[h,g]}m.equal=function(h,g){return p(h,g)},m.unequal=function(h,g){var s=p(h,g);return void 0===s?void 0:!s},m.equival=function(h,g){return y(h,g)},m.unequival=function(h,g){return!y(h,g)},m.lt=function(h,g){if(!h.length||!g.length)return[];const[s,C]=b(h,g);if(s instanceof c){const P=s.compare(C);return null===P?[]:P<0}return s0}return s>C},m.lte=function(h,g){if(!h.length||!g.length)return[];const[s,C]=b(h,g);if(s instanceof c){const P=s.compare(C);return null===P?[]:P<=0}return s<=C},m.gte=function(h,g){if(!h.length||!g.length)return[];const[s,C]=b(h,g);if(s instanceof c){const P=s.compare(C);return null===P?[]:P>=0}return s>=C},he.exports=m},6127:(he,A,o)=>{const n=o(4569),l=o(8774),u=o(9502),c={};function r(p){return JSON.stringify(d(p))}function d(p){return"object"==typeof p?Array.isArray(p)?p.map(d):Object.keys(p).sort().reduce((y,b)=>(y[b]=d(p[b]),y),{}):p}function m(p,y){let b=p.length<=y.length;if(b){var h={};for(let g=0,s=p.length;g0){let b={};for(let h=0,g=p.length;h{const n=o(9410),l=o(4569);o(7070);const u=o(9397);let c={},r=o(6127),d=o(8774),m=o(3853),p=o(7561),y=o(9502),b=o(2066),h=o(3142),g=o(2492),s=o(9835),C=o(5948),P=o(3425),w=o(2306);const D=o(2563),{FP_DateTime:T,FP_Time:Y,FP_Quantity:$,FP_Type:z,ResourceNode:G,TypeInfo:X}=D;let Q=G.makeResNode;function q(ie,le,Ce,Te){if("Expr"===Ce)return function(tt){return ie.$this=tt,c.doEval(ie,l.arraify(tt),Te)};if("AnyAtRoot"===Ce)return ie.$this=ie.dataRoot,c.doEval(ie,ie.dataRoot,Te);if("Identifier"===Ce){if("TermExpression"==Te.type)return Te.text;throw new Error("Expected identifier node, got "+JSON.stringify(Te))}if("TypeSpecifier"===Ce)return c.TypeSpecifier(ie,le,Te);ie.$this=le;var Ke=c.doEval(ie,le,Te);if("Any"===Ce)return Ke;if(Array.isArray(Ce)){if(0==Ke.length)return[];Ce=Ce[0]}return y.singleton(Ke,Ce)}function me(ie){return null==ie||l.isEmpty(ie)}function xe(ie,le,Ce,Te){var Ke=c.invocationTable[le];if(Ke&&Ke.fn){var tt=Te?Te.length:0;if(2!=tt)throw new Error("Infix invoke should have arity 2");var ot=Ke.arity[tt];if(ot){for(var mt=[],Dt=0;Dt":{fn:b.gt,arity:{2:["Any","Any"]},nullable:!0},"<=":{fn:b.lte,arity:{2:["Any","Any"]},nullable:!0},">=":{fn:b.gte,arity:{2:["Any","Any"]},nullable:!0},containsOp:{fn:h.contains,arity:{2:["Any","Any"]}},inOp:{fn:h.in,arity:{2:["Any","Any"]}},isOp:{fn:D.isFn,arity:{2:["Any","TypeSpecifier"]}},"&":{fn:g.amp,arity:{2:["String","String"]}},"+":{fn:g.plus,arity:{2:["Any","Any"]},nullable:!0},"-":{fn:g.minus,arity:{2:["Any","Any"]},nullable:!0},"*":{fn:g.mul,arity:{2:["Number","Number"]},nullable:!0},"/":{fn:g.div,arity:{2:["Number","Number"]},nullable:!0},mod:{fn:g.mod,arity:{2:["Number","Number"]},nullable:!0},div:{fn:g.intdiv,arity:{2:["Number","Number"]},nullable:!0},or:{fn:w.orOp,arity:{2:[["Boolean"],["Boolean"]]}},and:{fn:w.andOp,arity:{2:[["Boolean"],["Boolean"]]}},xor:{fn:w.xorOp,arity:{2:[["Boolean"],["Boolean"]]}},implies:{fn:w.impliesOp,arity:{2:[["Boolean"],["Boolean"]]}}},c.InvocationExpression=function(ie,le,Ce){return Ce.children.reduce(function(Te,Ke){return c.doEval(ie,Te,Ke)},le)},c.TermExpression=function(ie,le,Ce){return le&&(le=le.map(Te=>Te instanceof Object&&Te.resourceType?Q(Te,Te.resourceType):Te)),c.doEval(ie,le,Ce.children[0])},c.PolarityExpression=function(ie,le,Ce){var Te=Ce.terminalNodeText[0],Ke=c.doEval(ie,le,Ce.children[0]);if(1!=Ke.length)throw new Error("Unary "+Te+" can only be applied to an individual number.");if("number"!=typeof Ke[0]||isNaN(Ke[0]))throw new Error("Unary "+Te+" can only be applied to a number.");return"-"===Te&&(Ke[0]=-Ke[0]),Ke},c.TypeSpecifier=function(ie,le,Ce){let Te,Ke;const tt=Ce.text.split(".").map(ot=>ot.replace(/(^`|`$)/g,""));switch(tt.length){case 2:[Te,Ke]=tt;break;case 1:[Ke]=tt;break;default:throw new Error("Expected TypeSpecifier node, got "+JSON.stringify(Ce))}return new X({namespace:Te,name:Ke})},c.ExternalConstantTerm=function(ie,le,Ce){var tt=c.Identifier(ie,le,Ce.children[0].children[0])[0],ot=ie.vars[tt];if(!(tt in ie.vars))throw new Error("Attempting to access an undefined environment variable: "+tt);return null==ot?[]:ot instanceof Array?ot:[ot]},c.LiteralTerm=function(ie,le,Ce){var Te=Ce.children[0];return Te?c.doEval(ie,le,Te):[Ce.text]},c.StringLiteral=function(ie,le,Ce){var Te=Ce.text.replace(/(^'|'$)/g,"");return[Te=Te.replace(/\\(u\d{4}|.)/g,function(Ke,tt){switch(Ke){case"\\r":return"\r";case"\\n":return"\n";case"\\t":return"\t";case"\\f":return"\f";default:return tt.length>1?String.fromCharCode("0x"+tt.slice(1)):tt}})]},c.BooleanLiteral=function(ie,le,Ce){return"true"===Ce.text?[!0]:[!1]},c.QuantityLiteral=function(ie,le,Ce){var Te=Ce.children[0],Ke=Number(Te.terminalNodeText[0]),tt=Te.children[0],ot=tt.terminalNodeText[0];return!ot&&tt.children&&(ot=tt.children[0].terminalNodeText[0]),[new $(Ke,ot)]},c.DateTimeLiteral=function(ie,le,Ce){var Te=Ce.text.slice(1);return[new T(Te)]},c.TimeLiteral=function(ie,le,Ce){var Te=Ce.text.slice(1);return[new Y(Te)]},c.NumberLiteral=function(ie,le,Ce){return[Number(Ce.text)]},c.Identifier=function(ie,le,Ce){return[Ce.text.replace(/(^`|`$)/g,"")]},c.InvocationTerm=function(ie,le,Ce){return c.doEval(ie,le,Ce.children[0])},c.MemberInvocation=function(ie,le,Ce){const Te=c.doEval(ie,le,Ce.children[0])[0],Ke=ie.model;return le?l.isCapitalized(Te)?le.filter(tt=>tt instanceof G&&tt.path===Te):le.reduce(function(tt,ot){var mt=(ot=Q(ot)).path+"."+Te;if(Ke){let ct=Ke.pathsDefinedElsewhere[mt];ct&&(mt=ct)}let Dt,Ie,Qe=Ke&&Ke.choiceTypePaths[mt];if(Qe)for(let ct of Qe){if(Dt=ot.data[Te+ct],void 0!==Dt){mt=ct,Ie=ot.data["_"+Te];break}Dt=ot._data[Te]}else Dt=ot.data[Te],void 0!==Dt?Ie=ot.data["_"+Te]:Dt=ot._data[Te],"extension"===Te&&(mt="Extension");return l.isSome(Dt)&&(Array.isArray(Dt)?tt=tt.concat(Dt.map((ct,bt)=>Q(ct,mt,Ie&&Ie[bt]))):tt.push(Q(Dt,mt,Ie))),tt},[]):[]},c.IndexerExpression=function(ie,le,Ce){const Ke=Ce.children[1];var tt=c.doEval(ie,le,Ce.children[0]),ot=c.doEval(ie,le,Ke);if(l.isEmpty(ot))return[];var mt=parseInt(ot[0]);return tt&&l.isSome(mt)&&tt.length>mt&&mt>=0?[tt[mt]]:[]},c.Functn=function(ie,le,Ce){return Ce.children.map(function(Te){return c.doEval(ie,le,Te)})},c.realizeParams=function(ie,le,Ce){return Ce&&Ce[0]&&Ce[0].children?Ce[0].children.map(function(Te){return c.doEval(ie,le,Te)}):[]},c.FunctionInvocation=function(ie,le,Ce){var Te=c.doEval(ie,le,Ce.children[0]);const Ke=Te[0];return Te.shift(),function(ie,le,Ce,Te){var tt,Ke=c.invocationTable[le];if(Ke){if(Ke.arity){var ot=Te?Te.length:0,mt=Ke.arity[ot];if(mt){for(var Dt=[],Ie=0;Ie{const n=o(4569),{TypeInfo:l,ResourceNode:u}=o(2563);he.exports={whereMacro:function(r,d){return!1===r||r?n.flatten(r.filter((m,p)=>(this.$index=p,d(m)[0]))):[]},extension:function(r,d){return!1!==r&&!r||!d?[]:n.flatten(r.map((m,p)=>{this.$index=p;const y=m&&(m.data&&m.data.extension||m._data&&m._data.extension);return y?y.filter(b=>b.url===d).map(b=>u.makeResNode(b,"Extension")):[]}))},selectMacro:function(r,d){return!1===r||r?n.flatten(r.map((m,p)=>(this.$index=p,d(m)))):[]},repeatMacro:function(r,d){if(!1!==r&&!r)return[];for(var m=[],p=r,b=null;0!=p.length;)(b=d(p.shift()))&&(m=m.concat(b),p=p.concat(b));return m},singleFn:function(r){return 1==r.length?r:0==r.length?[]:{$status:"error",$error:"Expected single"}},firstFn:function(r){return r[0]},lastFn:function(r){return r[r.length-1]},tailFn:function(r){return r.slice(1,r.length)},takeFn:function(r,d){return r.slice(0,d)},skipFn:function(r,d){return r.slice(d,r.length)},ofTypeFn:function(r,d){return r.filter(m=>l.fromValue(m).is(d))}}},2306:he=>{he.exports={orOp:function(o,n){if(Array.isArray(n)){if(!0===o)return!0;if(!1===o)return[];if(Array.isArray(o))return[]}return Array.isArray(o)?!0===n||[]:o||n},andOp:function(o,n){if(Array.isArray(n)){if(!0===o)return[];if(!1===o)return!1;if(Array.isArray(o))return[]}return Array.isArray(o)?!0===n&&[]:o&&n},xorOp:function(o,n){return Array.isArray(o)||Array.isArray(n)?[]:o&&!n||!o&&n},impliesOp:function(o,n){if(Array.isArray(n)){if(!0===o)return[];if(!1===o)return!0;if(Array.isArray(o))return[]}return Array.isArray(o)?!0===n||[]:!1===o||o&&n}}},2492:(he,A,o)=>{var n=o(2563);let{FP_TimeBase:l,FP_Quantity:u}=n;const c=o(4569);var r={};function d(p){let y=c.valData(p);if("number"!=typeof y){if(1==y.length&&"number"==typeof(y=c.valData(y[0])))return y;throw new Error("Expected number, but got "+JSON.stringify(y||p))}return y}function m(p){return"number"!=typeof p&&0==p.length}r.amp=function(p,y){return(p||"")+(y||"")},r.plus=function(p,y){if(1==p.length&&1==y.length){var b=c.valData(p[0]),h=c.valData(y[0]);if("string"==typeof b&&"string"==typeof h||"number"==typeof b&&"number"==typeof h)return b+h;if(b instanceof l&&h instanceof u)return b.plus(h)}throw new Error("Cannot "+JSON.stringify(p)+" + "+JSON.stringify(y))},r.minus=function(p,y){if(1==p.length&&1==y.length){var b=c.valData(p[0]),h=c.valData(y[0]);if("number"==typeof b&&"number"==typeof h)return b-h;if(b instanceof l&&h instanceof u)return b.plus(new u(-h.value,h.unit))}throw new Error("Cannot "+JSON.stringify(p)+" - "+JSON.stringify(y))},r.mul=function(p,y){return p*y},r.div=function(p,y){return p/y},r.intdiv=function(p,y){return Math.floor(p/y)},r.mod=function(p,y){return p%y},r.abs=function(p){if(m(p))return[];{let y=d(p);return Math.abs(y)}},r.ceiling=function(p){if(m(p))return[];{let y=d(p);return Math.ceil(y)}},r.exp=function(p){if(m(p))return[];{let y=d(p);return Math.exp(y)}},r.floor=function(p){if(m(p))return[];{let y=d(p);return Math.floor(y)}},r.ln=function(p){if(m(p))return[];{let y=d(p);return Math.log(y)}},r.log=function(p,y){if(m(p)||m(y))return[];{let b=d(p),h=d(y);return Math.log(b)/Math.log(h)}},r.power=function(p,y){if(m(p)||m(y))return[];{let b=d(p),h=d(y);return b<0&&Math.floor(h)!=h?[]:Math.pow(b,h)}},r.round=function(p,y){if(m(p))return[];{let b=d(p);if(m(y))return Math.round(b);{let h=d(y),g=Math.pow(10,h);return Math.round(b*g)/g}}},r.sqrt=function(p){if(m(p))return[];{let y=d(p);return y<0?[]:Math.sqrt(y)}},r.truncate=function(p){if(m(p))return[];{let y=d(p);return Math.trunc(y)}},he.exports=r},9502:(he,A,o)=>{var n=o(4569),l=o(2563);const{FP_Quantity:u}=l;var c={iifMacro:function(s,C,P,w){return n.isTrue(C(s))?P(s):w?w(s):[]},traceFn:function(s,C){return console.log("TRACE:["+(C||"")+"]",JSON.stringify(s,null," ")),s}},r=/^[+-]?\d+$/;c.toInteger=function(s){if(1!==s.length)return[];var C=n.valData(s[0]);return!1===C?0:!0===C?1:"number"==typeof C?Number.isInteger(C)?C:[]:"string"==typeof C&&r.test(C)?parseInt(C):[]};const d=/^((\+|-)?\d+(\.\d+)?)\s*(('[^']+')|([a-zA-Z]+))?$/;c.toQuantity=function(s,C){let P;if(C&&!u.mapTimeUnitsToUCUMCode[C]&&(C=`'${C}'`),s.length>1)throw new Error("Could not convert to quantity: input collection contains multiple items");if(1===s.length){const D=n.valData(s[0]);let T;if("number"==typeof D)P=new u(D,"'1'");else if(D instanceof u)P=D;else if("boolean"==typeof D)P=new u(D?1:0,"'1'");else if("string"==typeof D&&(T=d.exec(D))){const Y=T[1],$=T[5],z=T[6];(!z||u.mapTimeUnitsToUCUMCode[z])&&(P=new u(Number(Y),$||z||"'1'"))}P&&C&&P.unit!==C&&(P=u.convUnitTo(P.unit,P.value,C))}return P||[]};var p=/^[+-]?\d+(\.\d+)?$/;function y(s){let C=s.slice(3);c["to"+C]=function(P){var w=[];if(P.length>1)throw Error("to "+C+" called for a collection of length "+P.length);if(1===P.length){var D=l[s].checkString(n.valData(P[0]));D&&(w=D)}return w}}c.toDecimal=function(s){if(1!==s.length)return[];var C=n.valData(s[0]);return!1===C?0:!0===C?1:"number"==typeof C?C:"string"==typeof C&&p.test(C)?parseFloat(C):[]},c.toString=function(s){return 1!==s.length?[]:n.valData(s[0]).toString()},y("FP_DateTime"),y("FP_Time");const b=["true","t","yes","y","1","1.0"].reduce((s,C)=>(s[C]=!0,s),{}),h=["false","f","no","n","0","0.0"].reduce((s,C)=>(s[C]=!0,s),{});c.toBoolean=function(s){if(1!==s.length)return[];const C=n.valData(s[0]);switch(typeof C){case"boolean":return C;case"number":if(1===C)return!0;if(0===C)return!1;break;case"string":const P=C.toLowerCase();if(b[P])return!0;if(h[P])return!1}return[]},c.createConvertsToFn=function(s,C){return"string"==typeof C?function(P){return 1!==P.length?[]:typeof s(P)===C}:function(P){return 1!==P.length?[]:s(P)instanceof C}};const g={Integer:function(s){const C=n.valData(s[0]);if(Number.isInteger(C))return C},Boolean:function(s){const C=n.valData(s[0]);return!0===C||!1===C?C:1===s.length||void 0},Number:function(s){const C=n.valData(s[0]);if("number"==typeof C)return C},String:function(s){const C=n.valData(s[0]);if("string"==typeof C)return C}};c.singleton=function(s,C){if(s.length>1)throw new Error("Unexpected collection"+JSON.stringify(s)+"; expected singleton of type "+C);if(0===s.length)return[];const P=g[C];if(P){const w=P(s);if(void 0!==w)return w;throw new Error(`Expected ${C.toLowerCase()}, but got: ${JSON.stringify(s)}`)}throw new Error("Not supported type "+C)},he.exports=c},5948:(he,A,o)=>{const n=o(4569),{ResourceNode:l}=o(2563);let u=l.makeResNode;var c={children:function(r){let d=this.model;return r.reduce(function(m,p){let y=n.valData(p);if(p=u(p),"object"==typeof y){for(var b of Object.keys(y)){var h=y[b],g=p.path+"."+b;if(d){let s=d.pathsDefinedElsewhere[g];s&&(g=s)}Array.isArray(h)?m.push.apply(m,h.map(s=>u(s,g))):m.push(u(h,g))}return m}return m},[])},descendants:function(r){for(var d=c.children.call(this,r),m=[];d.length>0;)m.push.apply(m,d),d=c.children.call(this,d);return m}};he.exports=c},5192:he=>{let A={};function o(c){const d=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +c);if(!d)return 0;const m=d[2];return Math.max(0,("0"===m?0:(m||"").length)-(d[3]||0))}function n(c,r){const d=Math.pow(10,r);return Math.round(c*d)/d}function u(c){return 1e-8*Math.round(c/1e-8)}A.isEquivalent=function(c,r){if(Number.isInteger(c)&&Number.isInteger(r))return c===r;const d=Math.min(o(c),o(r));return 0===d?Math.round(c)===Math.round(r):n(c,d)===n(r,d)},A.isEqual=function(c,r){return u(c)===u(r)},he.exports=A},4981:(he,A,o)=>{A.atn=o(8900),A.codepointat=o(4185),A.dfa=o(8985),A.fromcodepoint=o(9767),A.tree=o(6722),A.error=o(8553),A.Token=o(8443).Token,A.CommonToken=o(8443).CommonToken,A.InputStream=o(7500).InputStream,A.CommonTokenStream=o(2430).CommonTokenStream,A.Lexer=o(3805).Lexer,A.Parser=o(6554).Parser;var n=o(4825);A.PredictionContextCache=n.PredictionContextCache,A.ParserRuleContext=o(911).ParserRuleContext,A.Interval=o(210).Interval,A.Utils=o(8065)},4621:(he,A,o)=>{var n=o(4981),l=["\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(""),u=(new n.atn.ATNDeserializer).deserialize(l),c=u.decisionToState.map(function(d,m){return new n.dfa.DFA(d,m)});function r(d){return n.Lexer.call(this,d),this._interp=new n.atn.LexerATNSimulator(this,u,c,new n.PredictionContextCache),this}(r.prototype=Object.create(n.Lexer.prototype)).constructor=r,Object.defineProperty(r.prototype,"atn",{get:function(){return u}}),r.EOF=n.Token.EOF,r.T__0=1,r.T__1=2,r.T__2=3,r.T__3=4,r.T__4=5,r.T__5=6,r.T__6=7,r.T__7=8,r.T__8=9,r.T__9=10,r.T__10=11,r.T__11=12,r.T__12=13,r.T__13=14,r.T__14=15,r.T__15=16,r.T__16=17,r.T__17=18,r.T__18=19,r.T__19=20,r.T__20=21,r.T__21=22,r.T__22=23,r.T__23=24,r.T__24=25,r.T__25=26,r.T__26=27,r.T__27=28,r.T__28=29,r.T__29=30,r.T__30=31,r.T__31=32,r.T__32=33,r.T__33=34,r.T__34=35,r.T__35=36,r.T__36=37,r.T__37=38,r.T__38=39,r.T__39=40,r.T__40=41,r.T__41=42,r.T__42=43,r.T__43=44,r.T__44=45,r.T__45=46,r.T__46=47,r.T__47=48,r.T__48=49,r.T__49=50,r.T__50=51,r.T__51=52,r.T__52=53,r.T__53=54,r.DATETIME=55,r.TIME=56,r.IDENTIFIER=57,r.DELIMITEDIDENTIFIER=58,r.STRING=59,r.NUMBER=60,r.WS=61,r.COMMENT=62,r.LINE_COMMENT=63,r.prototype.channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"],r.prototype.modeNames=["DEFAULT_MODE"],r.prototype.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'"],r.prototype.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"],r.prototype.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"],r.prototype.grammarFileName="FHIRPath.g4",A.a=r},4303:(he,A,o)=>{var n=o(4981);function l(){return n.tree.ParseTreeListener.call(this),this}(l.prototype=Object.create(n.tree.ParseTreeListener.prototype)).constructor=l,l.prototype.enterEntireExpression=function(u){},l.prototype.exitEntireExpression=function(u){},l.prototype.enterIndexerExpression=function(u){},l.prototype.exitIndexerExpression=function(u){},l.prototype.enterPolarityExpression=function(u){},l.prototype.exitPolarityExpression=function(u){},l.prototype.enterAdditiveExpression=function(u){},l.prototype.exitAdditiveExpression=function(u){},l.prototype.enterMultiplicativeExpression=function(u){},l.prototype.exitMultiplicativeExpression=function(u){},l.prototype.enterUnionExpression=function(u){},l.prototype.exitUnionExpression=function(u){},l.prototype.enterOrExpression=function(u){},l.prototype.exitOrExpression=function(u){},l.prototype.enterAndExpression=function(u){},l.prototype.exitAndExpression=function(u){},l.prototype.enterMembershipExpression=function(u){},l.prototype.exitMembershipExpression=function(u){},l.prototype.enterInequalityExpression=function(u){},l.prototype.exitInequalityExpression=function(u){},l.prototype.enterInvocationExpression=function(u){},l.prototype.exitInvocationExpression=function(u){},l.prototype.enterEqualityExpression=function(u){},l.prototype.exitEqualityExpression=function(u){},l.prototype.enterImpliesExpression=function(u){},l.prototype.exitImpliesExpression=function(u){},l.prototype.enterTermExpression=function(u){},l.prototype.exitTermExpression=function(u){},l.prototype.enterTypeExpression=function(u){},l.prototype.exitTypeExpression=function(u){},l.prototype.enterInvocationTerm=function(u){},l.prototype.exitInvocationTerm=function(u){},l.prototype.enterLiteralTerm=function(u){},l.prototype.exitLiteralTerm=function(u){},l.prototype.enterExternalConstantTerm=function(u){},l.prototype.exitExternalConstantTerm=function(u){},l.prototype.enterParenthesizedTerm=function(u){},l.prototype.exitParenthesizedTerm=function(u){},l.prototype.enterNullLiteral=function(u){},l.prototype.exitNullLiteral=function(u){},l.prototype.enterBooleanLiteral=function(u){},l.prototype.exitBooleanLiteral=function(u){},l.prototype.enterStringLiteral=function(u){},l.prototype.exitStringLiteral=function(u){},l.prototype.enterNumberLiteral=function(u){},l.prototype.exitNumberLiteral=function(u){},l.prototype.enterDateTimeLiteral=function(u){},l.prototype.exitDateTimeLiteral=function(u){},l.prototype.enterTimeLiteral=function(u){},l.prototype.exitTimeLiteral=function(u){},l.prototype.enterQuantityLiteral=function(u){},l.prototype.exitQuantityLiteral=function(u){},l.prototype.enterExternalConstant=function(u){},l.prototype.exitExternalConstant=function(u){},l.prototype.enterMemberInvocation=function(u){},l.prototype.exitMemberInvocation=function(u){},l.prototype.enterFunctionInvocation=function(u){},l.prototype.exitFunctionInvocation=function(u){},l.prototype.enterThisInvocation=function(u){},l.prototype.exitThisInvocation=function(u){},l.prototype.enterIndexInvocation=function(u){},l.prototype.exitIndexInvocation=function(u){},l.prototype.enterTotalInvocation=function(u){},l.prototype.exitTotalInvocation=function(u){},l.prototype.enterFunctn=function(u){},l.prototype.exitFunctn=function(u){},l.prototype.enterParamList=function(u){},l.prototype.exitParamList=function(u){},l.prototype.enterQuantity=function(u){},l.prototype.exitQuantity=function(u){},l.prototype.enterUnit=function(u){},l.prototype.exitUnit=function(u){},l.prototype.enterDateTimePrecision=function(u){},l.prototype.exitDateTimePrecision=function(u){},l.prototype.enterPluralDateTimePrecision=function(u){},l.prototype.exitPluralDateTimePrecision=function(u){},l.prototype.enterTypeSpecifier=function(u){},l.prototype.exitTypeSpecifier=function(u){},l.prototype.enterQualifiedIdentifier=function(u){},l.prototype.exitQualifiedIdentifier=function(u){},l.prototype.enterIdentifier=function(u){},l.prototype.exitIdentifier=function(u){},A.q=l},8974:(he,A,o)=>{var n=o(4981),l=o(4303).q,c=["\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\x03P","\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 n.atn.ATNDeserializer).deserialize(c),d=r.decisionToState.map(function(_,x){return new n.dfa.DFA(_,x)}),m=new n.PredictionContextCache,p=[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'"],y=[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"],b=["entireExpression","expression","term","literal","externalConstant","invocation","functn","paramList","quantity","unit","dateTimePrecision","pluralDateTimePrecision","typeSpecifier","qualifiedIdentifier","identifier"];function h(_){return n.Parser.call(this,_),this._interp=new n.atn.ParserATNSimulator(this,r,d,m),this.ruleNames=b,this.literalNames=p,this.symbolicNames=y,this}function g(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_entireExpression,this}function s(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_expression,this}function C(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function P(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function w(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function D(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function T(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function Y(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function $(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function z(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function G(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function X(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function Q(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function q(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function ue(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function me(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function xe(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_term,this}function pe(_,x){return xe.call(this,_),xe.prototype.copyFrom.call(this,x),this}function oe(_,x){return xe.call(this,_),xe.prototype.copyFrom.call(this,x),this}function ae(_,x){return xe.call(this,_),xe.prototype.copyFrom.call(this,x),this}function U(_,x){return xe.call(this,_),xe.prototype.copyFrom.call(this,x),this}function ie(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_literal,this}function le(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function Ce(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function Te(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function Ke(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function tt(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function ot(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function mt(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function Dt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_externalConstant,this}function Ie(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_invocation,this}function Qe(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function ct(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function bt(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function Et(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function xt(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function dt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_functn,this}function Ne(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_paramList,this}function rt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_quantity,this}function ze(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_unit,this}function yt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_dateTimePrecision,this}function gt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_pluralDateTimePrecision,this}function _e(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_typeSpecifier,this}function Z(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_qualifiedIdentifier,this}function j(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_identifier,this}(h.prototype=Object.create(n.Parser.prototype)).constructor=h,Object.defineProperty(h.prototype,"atn",{get:function(){return r}}),h.EOF=n.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,h.RULE_entireExpression=0,h.RULE_expression=1,h.RULE_term=2,h.RULE_literal=3,h.RULE_externalConstant=4,h.RULE_invocation=5,h.RULE_functn=6,h.RULE_paramList=7,h.RULE_quantity=8,h.RULE_unit=9,h.RULE_dateTimePrecision=10,h.RULE_pluralDateTimePrecision=11,h.RULE_typeSpecifier=12,h.RULE_qualifiedIdentifier=13,h.RULE_identifier=14,(g.prototype=Object.create(n.ParserRuleContext.prototype)).constructor=g,g.prototype.expression=function(){return this.getTypedRuleContext(s,0)},g.prototype.EOF=function(){return this.getToken(h.EOF,0)},g.prototype.enterRule=function(_){_ instanceof l&&_.enterEntireExpression(this)},g.prototype.exitRule=function(_){_ instanceof l&&_.exitEntireExpression(this)},h.EntireExpressionContext=g,h.prototype.entireExpression=function(){var _=new g(this,this._ctx,this.state);this.enterRule(_,0,h.RULE_entireExpression);try{this.enterOuterAlt(_,1),this.state=30,this.expression(0),this.state=31,this.match(h.EOF)}catch(x){if(!(x instanceof n.error.RecognitionException))throw x;_.exception=x,this._errHandler.reportError(this,x),this._errHandler.recover(this,x)}finally{this.exitRule()}return _},(s.prototype=Object.create(n.ParserRuleContext.prototype)).constructor=s,s.prototype.copyFrom=function(_){n.ParserRuleContext.prototype.copyFrom.call(this,_)},(C.prototype=Object.create(s.prototype)).constructor=C,h.IndexerExpressionContext=C,C.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},C.prototype.enterRule=function(_){_ instanceof l&&_.enterIndexerExpression(this)},C.prototype.exitRule=function(_){_ instanceof l&&_.exitIndexerExpression(this)},(P.prototype=Object.create(s.prototype)).constructor=P,h.PolarityExpressionContext=P,P.prototype.expression=function(){return this.getTypedRuleContext(s,0)},P.prototype.enterRule=function(_){_ instanceof l&&_.enterPolarityExpression(this)},P.prototype.exitRule=function(_){_ instanceof l&&_.exitPolarityExpression(this)},(w.prototype=Object.create(s.prototype)).constructor=w,h.AdditiveExpressionContext=w,w.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},w.prototype.enterRule=function(_){_ instanceof l&&_.enterAdditiveExpression(this)},w.prototype.exitRule=function(_){_ instanceof l&&_.exitAdditiveExpression(this)},(D.prototype=Object.create(s.prototype)).constructor=D,h.MultiplicativeExpressionContext=D,D.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},D.prototype.enterRule=function(_){_ instanceof l&&_.enterMultiplicativeExpression(this)},D.prototype.exitRule=function(_){_ instanceof l&&_.exitMultiplicativeExpression(this)},(T.prototype=Object.create(s.prototype)).constructor=T,h.UnionExpressionContext=T,T.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},T.prototype.enterRule=function(_){_ instanceof l&&_.enterUnionExpression(this)},T.prototype.exitRule=function(_){_ instanceof l&&_.exitUnionExpression(this)},(Y.prototype=Object.create(s.prototype)).constructor=Y,h.OrExpressionContext=Y,Y.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},Y.prototype.enterRule=function(_){_ instanceof l&&_.enterOrExpression(this)},Y.prototype.exitRule=function(_){_ instanceof l&&_.exitOrExpression(this)},($.prototype=Object.create(s.prototype)).constructor=$,h.AndExpressionContext=$,$.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},$.prototype.enterRule=function(_){_ instanceof l&&_.enterAndExpression(this)},$.prototype.exitRule=function(_){_ instanceof l&&_.exitAndExpression(this)},(z.prototype=Object.create(s.prototype)).constructor=z,h.MembershipExpressionContext=z,z.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},z.prototype.enterRule=function(_){_ instanceof l&&_.enterMembershipExpression(this)},z.prototype.exitRule=function(_){_ instanceof l&&_.exitMembershipExpression(this)},(G.prototype=Object.create(s.prototype)).constructor=G,h.InequalityExpressionContext=G,G.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},G.prototype.enterRule=function(_){_ instanceof l&&_.enterInequalityExpression(this)},G.prototype.exitRule=function(_){_ instanceof l&&_.exitInequalityExpression(this)},(X.prototype=Object.create(s.prototype)).constructor=X,h.InvocationExpressionContext=X,X.prototype.expression=function(){return this.getTypedRuleContext(s,0)},X.prototype.invocation=function(){return this.getTypedRuleContext(Ie,0)},X.prototype.enterRule=function(_){_ instanceof l&&_.enterInvocationExpression(this)},X.prototype.exitRule=function(_){_ instanceof l&&_.exitInvocationExpression(this)},(Q.prototype=Object.create(s.prototype)).constructor=Q,h.EqualityExpressionContext=Q,Q.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},Q.prototype.enterRule=function(_){_ instanceof l&&_.enterEqualityExpression(this)},Q.prototype.exitRule=function(_){_ instanceof l&&_.exitEqualityExpression(this)},(q.prototype=Object.create(s.prototype)).constructor=q,h.ImpliesExpressionContext=q,q.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},q.prototype.enterRule=function(_){_ instanceof l&&_.enterImpliesExpression(this)},q.prototype.exitRule=function(_){_ instanceof l&&_.exitImpliesExpression(this)},(ue.prototype=Object.create(s.prototype)).constructor=ue,h.TermExpressionContext=ue,ue.prototype.term=function(){return this.getTypedRuleContext(xe,0)},ue.prototype.enterRule=function(_){_ instanceof l&&_.enterTermExpression(this)},ue.prototype.exitRule=function(_){_ instanceof l&&_.exitTermExpression(this)},(me.prototype=Object.create(s.prototype)).constructor=me,h.TypeExpressionContext=me,me.prototype.expression=function(){return this.getTypedRuleContext(s,0)},me.prototype.typeSpecifier=function(){return this.getTypedRuleContext(_e,0)},me.prototype.enterRule=function(_){_ instanceof l&&_.enterTypeExpression(this)},me.prototype.exitRule=function(_){_ instanceof l&&_.exitTypeExpression(this)},h.prototype.expression=function(_){void 0===_&&(_=0);var x=this._ctx,N=this.state,ce=new s(this,this._ctx,N);this.enterRecursionRule(ce,2,h.RULE_expression,_);var ve=0;try{switch(this.enterOuterAlt(ce,1),this.state=37,this._errHandler.sync(this),this._input.LA(1)){case h.T__15:case h.T__16:case h.T__21:case h.T__22:case h.T__27:case h.T__29:case h.T__31:case h.T__32:case h.T__33:case h.T__34:case h.T__35:case h.T__36:case h.DATETIME:case h.TIME:case h.IDENTIFIER:case h.DELIMITEDIDENTIFIER:case h.STRING:case h.NUMBER:ce=new ue(this,ce),this._ctx=ce,this.state=34,this.term();break;case h.T__3:case h.T__4:ce=new P(this,ce),this._ctx=ce,this.state=35,(ve=this._input.LA(1))===h.T__3||ve===h.T__4?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=36,this.expression(11);break;default:throw new n.error.NoViableAltException(this)}this._ctx.stop=this._input.LT(-1),this.state=79,this._errHandler.sync(this);for(var Ae=this._interp.adaptivePredict(this._input,2,this._ctx);2!=Ae&&Ae!=n.atn.ATN.INVALID_ALT_NUMBER;){if(1===Ae)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=77,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:if(ce=new D(this,new s(this,x,N)),this.pushNewRecursionContext(ce,2,h.RULE_expression),this.state=39,!this.precpred(this._ctx,10))throw new n.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=40,0==(-32&(ve=this._input.LA(1)))&&0!=(1<{const n=o(4981),l=o(4621).a,u=o(8974)._,c=o(4303).q;var r=function(m){return n.error.ErrorListener.call(this),this.errors=m,this};(r.prototype=Object.create(n.error.ErrorListener.prototype)).constructor=r,r.prototype.syntaxError=function(m,p,y,b,h,g){this.errors.push([m,p,y,b,h,g])},he.exports={parse:function(m){var p=new n.InputStream(m),y=new l(p),b=new n.CommonTokenStream(y),h=new u(b);h.buildParseTrees=!0;var g=[],s=new r(g);y.removeErrorListeners(),y.addErrorListener(s),h.removeErrorListeners(),h.addErrorListener(s);var C=h.entireExpression();function P(){return c.call(this),this}(P.prototype=Object.create(c.prototype)).constructor=P;var D,w={},T=[w];for(let z of Object.keys(c.prototype))z.startsWith("enter")?P.prototype[z]=function(G){let X=T[T.length-1];(D={type:z.slice(5)}).text=G.getText(),X.children||(X.children=[]),X.children.push(D),T.push(D),D.terminalNodeText=[];for(let q of G.children)q.symbol&&D.terminalNodeText.push(q.getText())}:z.startsWith("exit")&&(P.prototype[z]=function(){T.pop()});var Y=new P;if(n.tree.ParseTreeWalker.DEFAULT.walk(Y,C),g.length>0){let z=[];for(let G=0,X=g.length;G{const he=Function.prototype.call.bind(Array.prototype.slice);Number.isInteger=Number.isInteger||function(A){return"number"==typeof A&&isFinite(A)&&Math.floor(A)===A},String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(A,o){return this.indexOf(A,o=o||0)===o}}),String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(A,o){var n=this.toString();(void 0===o||o>n.length)&&(o=n.length);var l=n.indexOf(A,o-=A.length);return-1!==l&&l===o}}),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(A){if(null==A)throw new TypeError("Cannot convert undefined or null to object");return he(arguments,1).reduce(function(o,n){return Object.keys(Object(n)).forEach(function(l){o[l]=n[l]}),o},Object(A))}})},9835:(he,A,o)=>{const n=o(4569),l=o(9502),u={},c={};u.indexOf=function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:y.indexOf(p)},u.substring=function(m,p,y){const b=l.singleton(m,"String");return n.isEmpty(b)||n.isEmpty(p)||p<0||p>=b.length?[]:void 0===y||n.isEmpty(y)?b.substring(p):b.substring(p,p+y)},u.startsWith=function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:y.startsWith(p)},u.endsWith=function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:y.endsWith(p)},u.containsFn=function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:y.includes(p)},u.upper=function(m){const p=l.singleton(m,"String");return n.isEmpty(p)?[]:p.toUpperCase()},u.lower=function(m){const p=l.singleton(m,"String");return n.isEmpty(p)?[]:p.toLowerCase()},u.matches=!1===new RegExp("").dotAll?function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:new RegExp(p,"s").test(y)}:function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:new RegExp(function(m){return c[m]||(c[m]=m.replace(/\./g,(p,y,b)=>{const g=b.substr(0,y).replace(/\\\\/g,"").replace(/\\[\][]/g,""),s="\\"===g[g.length-1],C=g.lastIndexOf("["),P=g.lastIndexOf("]");return s||C>P?".":"[^]"})),c[m]}(p)).test(y)},u.replace=function(m,p,y){const b=l.singleton(m,"String");if(n.isEmpty(p)||n.isEmpty(y)||n.isEmpty(b))return[];const h=new RegExp(n.escapeStringForRegExp(p),"g");return b.replace(h,y)},u.replaceMatches=function(m,p,y){const b=l.singleton(m,"String");if(n.isEmpty(p)||n.isEmpty(y)||n.isEmpty(b))return[];const h=new RegExp(p,"g");return b.replace(h,y)},u.length=function(m){const p=l.singleton(m,"String");return n.isEmpty(p)?[]:p.length},u.toChars=function(m){const p=l.singleton(m,"String");return n.isEmpty(p)?[]:p.split("")},he.exports=u},2563:(he,A,o)=>{const n=o(8091),l=o(1334).ng.getInstance(),u=o(5192);let r="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",d=new RegExp("^T?"+r+"$"),m=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+r+")?)?)?Z?$");class p{equals(){return!1}equivalentTo(){return!1}toString(){return this.asStr?this.asStr:super.toString()}toJSON(){return this.toString()}compare(){throw"Not implemented"}}class y extends p{constructor(z,G){super(),this.asStr=z+" "+G,this.value=z,this.unit=G}equals(z){if(!(z instanceof this.constructor))return!1;if(this.unit===z.unit)return u.isEqual(this.value,z.value);const G=this._compareYearsAndMonths(z);if(G)return G.isEqual;const X=y.toUcumQuantity(this.value,this.unit),Q=y.toUcumQuantity(z.value,z.unit),q=l.convertUnitTo(Q.unit,Q.value,X.unit);return"succeeded"===q.status&&u.isEqual(X.value,q.toVal)}equivalentTo(z){if(!(z instanceof this.constructor))return!1;if(this.unit===z.unit)return u.isEquivalent(this.value,z.value);const G=y.getEquivalentUcumUnitCode(this.unit),X=y.getEquivalentUcumUnitCode(z.unit),Q=l.convertUnitTo(X,z.value,G);return"succeeded"===Q.status&&u.isEquivalent(this.value,Q.toVal)}_compareYearsAndMonths(z){const G=y._yearMonthConversionFactor[this.unit],X=y._yearMonthConversionFactor[z.unit];return G&&X?{isEqual:u.isEqual(this.value*G,z.value*X)}:null}}const b=/^'|'$/g;y.getEquivalentUcumUnitCode=function($){return y.mapTimeUnitsToUCUMCode[$]||$.replace(b,"")},y.toUcumQuantity=function($,z){const G=y._calendarDuration2Seconds[z];return G?{value:G*$,unit:"s"}:{value:$,unit:z.replace(b,"")}},y.convUnitTo=function($,z,G){const X=y._yearMonthConversionFactor[$],Q=y._yearMonthConversionFactor[G];if(X&&Q)return new y(X*z/Q,G);const q=y._calendarDuration2Seconds[$],ue=y._calendarDuration2Seconds[G];if(ue){if(q)return new y(q*z/ue,G);{const me=l.convertUnitTo($.replace(/^'|'$/g,""),z,"s");if("succeeded"===me.status)return new y(me.toVal/ue,G)}}else{const me=q?l.convertUnitTo("s",q*z,G.replace(/^'|'$/g,"")):l.convertUnitTo($.replace(/^'|'$/g,""),z,G.replace(/^'|'$/g,""));if("succeeded"===me.status)return new y(me.toVal,G)}return null},y._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},y._yearMonthConversionFactor={years:12,months:1,year:12,month:1},y.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"},y.mapUCUMCodeToTimeUnits={a:"year",mo:"month",wk:"week",d:"day",h:"hour",min:"minute",s:"second",ms:"millisecond"},y.mapTimeUnitsToUCUMCode=Object.keys(y.mapUCUMCodeToTimeUnits).reduce(function($,z){return $[y.mapUCUMCodeToTimeUnits[z]]=z,$[y.mapUCUMCodeToTimeUnits[z]+"s"]=z,$},{});class h extends p{constructor(z){super(),this.asStr=z}plus(z){let X=y.arithmeticDurationUnits[z.unit];if(!X)throw new Error("For date/time arithmetic, the unit of the quantity must be one of the following time-based units: "+Object.keys(y.arithmeticDurationUnits));const Q=this.constructor,q=Q._timeUnitToDatePrecision[X];if(void 0===q)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(Q._timeUnitToDatePrecision).join(", ")+".");let ue=z.value;const me=Q===s;if((me?q<2:q<5)&&(ue=Math.trunc(ue)),this._getPrecision()2?new g(ue)._getTimeParts():this._getTimeParts(),pe=Q>2?new g(me)._getTimeParts():z._getTimeParts(),oe=0;oe<=q&&!1!==G;++oe)G=xe[oe]==pe[oe];G&&(G=void 0)}}else G=!1;return G}equivalentTo(z){var G=z instanceof this.constructor;return G&&(G=this._getPrecision()==z._getPrecision())&&(G=this._getDateObj().getTime()==z._getDateObj().getTime()),G}compare(z){var G=this._getPrecision(),X=z._getPrecision(),Q=G<=X?this._getDateObj().getTime():this._dateAtPrecision(X).getTime(),q=X<=G?z._getDateObj().getTime():z._dateAtPrecision(G).getTime();return G!==X&&Q===q?null:Q-q}_getPrecision(){return void 0===this.precision&&this._getMatchData(),this.precision}_getMatchData(z,G){if(void 0===this.timeMatchData&&(this.timeMatchData=this.asStr.match(z),this.timeMatchData))for(let X=G;X>=0&&void 0===this.precision;--X)this.timeMatchData[X]&&(this.precision=X);return this.timeMatchData}_getTimeParts(z){var G=[];G=[z[0]];var X=z[4];if(X){let me=G[0];G[0]=me.slice(0,me.length-X.length)}var Q=z[1];if(Q){let me=G[0];G[0]=me.slice(0,me.length-Q.length),G[1]=Q;var q=z[2];if(q){G[1]=Q.slice(0,Q.length-q.length),G[2]=q;var ue=z[3];ue&&(G[2]=q.slice(0,q.length-ue.length),G[3]=ue)}}return G}_getDateObj(){if(!this.dateObj){var z=this._getPrecision();this.dateObj=this._dateAtPrecision(z)}return this.dateObj}_createDate(z,G,X,Q,q,ue,me,xe){var pe=new Date(z,G,X,Q,q,ue,me);if(xe){var oe=pe.getTimezoneOffset(),ae=0;if("Z"!=xe){var U=xe.split(":"),ie=parseInt(U[0]);ae=parseInt(U[1]),ie<0&&(ae=-ae),ae+=60*ie}pe=n(pe,-oe-ae)}return pe}}h.timeUnitToAddFn={year:o(2486),month:o(4992),week:o(5213),day:o(6937),hour:o(2500),minute:o(8091),second:o(734),millisecond:o(7862)};let g=(()=>{class $ extends h{constructor(G){super(G)}compare(G){if(!(G instanceof $))throw"Invalid comparison of a DateTime with something else";return super.compare(G)}_getMatchData(){return super._getMatchData(m,5)}_getTimeParts(){if(!this.timeParts){let X=this._getMatchData(),Q=X[0];this.timeParts=[Q];var G=X[1];if(G){this.timeParts[0]=Q.slice(0,Q.length-G.length),this.timeParts[1]=G;let q=X[2];if(q){this.timeParts[1]=G.slice(0,G.length-q.length),this.timeParts[2]=q;let ue=X[3];ue&&(this.timeParts[2]=q.slice(0,q.length-ue.length),"T"===ue[0]&&(X[3]=ue.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(X.slice(3))))}}}return this.timeParts}_dateAtPrecision(G){var X=this._getTimeParts(),Q=this._getMatchData()[7],q=this._getPrecision(),ue=parseInt(X[0]),me=q>0?parseInt(X[1].slice(1))-1:0,xe=q>1?parseInt(X[2].slice(1)):1,pe=q>2?parseInt(X[3]):0,oe=q>3?parseInt(X[4].slice(1)):0,ae=q>4?parseInt(X[5].slice(1)):0,U=X.length>6?parseInt(X[6].slice(1)):0,ie=this._createDate(ue,me,xe,pe,oe,ae,U,Q);return G0?ie.getMonth():0,xe=G>1?ie.getDate():1,pe=G>2?ie.getHours():0,oe=G>3?ie.getMinutes():0,ie=new Date(ue,me,xe,pe,oe)),ie}}return $.checkString=function(z){let G=new $(z);return G._getMatchData()||(G=null),G},$._timeUnitToDatePrecision={year:0,month:1,week:2,day:2,hour:3,minute:4,second:5,millisecond:6},$._datePrecisionToTimeUnit=["year","month","day","hour","minute","second","millisecond"],$})(),s=(()=>{class $ extends h{constructor(G){"T"==G[0]&&(G=G.slice(1)),super(G)}compare(G){if(!(G instanceof $))throw"Invalid comparison of a time with something else";return super.compare(G)}_dateAtPrecision(G){var X=this._getTimeParts(),Q=this._getMatchData()[4],q=this._getPrecision(),pe=parseInt(X[0]),oe=q>0?parseInt(X[1].slice(1)):0,ae=q>1?parseInt(X[2].slice(1)):0,U=X.length>3?parseInt(X[3].slice(1)):0,ie=this._createDate(2010,0,1,pe,oe,ae,U,Q);return Q&&(ie.setYear(2010),ie.setMonth(0),ie.setDate(1)),G0?ie.getMinutes():0,ie=new Date(2010,0,1,pe,oe)),ie}_getMatchData(){return super._getMatchData(d,2)}_getTimeParts(){return this.timeParts||(this.timeParts=super._getTimeParts(this._getMatchData())),this.timeParts}}return $.checkString=function(z){let G=new $(z);return G._getMatchData()||(G=null),G},$._timeUnitToDatePrecision={hour:0,minute:1,second:2,millisecond:3},$._datePrecisionToTimeUnit=["hour","minute","second","millisecond"],$})();function C($,z){var G=$;return 3===z&&$<100&&(G="0"+$),$<10&&(G="0"+G),G}g.isoDateTime=function($,z){void 0===z&&(z=6);var G=""+$.getFullYear();if(z>0&&(G+="-"+C($.getMonth()+1),z>1&&(G+="-"+C($.getDate()),z>2&&(G+="T"+C($.getHours()),z>3&&(G+=":"+C($.getMinutes()),z>4&&(G+=":"+C($.getSeconds()),$.getMilliseconds()&&(G+="."+C($.getMilliseconds(),3))))))),z>2){var X=$.getTimezoneOffset(),Q=X<0?"+":"-",q=(X=Math.abs(X))%60;G+=Q+C((X-q)/60)+":"+C(q)}return G},g.isoDate=function($,z){return(void 0===z||z>2)&&(z=2),g.isoDateTime($,z)};class P{constructor(z,G,X){z.resourceType&&(G=z.resourceType),this.path=G,this.data=function($,z){return"Quantity"===z&&"http://unitsofmeasure.org"===$.system&&"number"==typeof $.value&&"string"==typeof $.code&&($=new y($.value,y.mapUCUMCodeToTimeUnits[$.code]||"'"+$.code+"'")),$}(z,G),this._data=X||{}}getTypeInfo(){const z=D.FHIR;return-1===this.path.indexOf(".")?new D({namespace:z,name:this.path}):D.createByValueInNamespace({namespace:z,value:this.data})}toJSON(){return JSON.stringify(this.data)}}P.makeResNode=function($,z,G){return $ instanceof P?$:new P($,z,G)};let D=(()=>{class ${constructor({name:G,namespace:X}){this.name=G,this.namespace=X}is(G){return G instanceof $&&this.name===G.name&&(!this.namespace||!G.namespace||this.namespace===G.namespace)}}return $.System="System",$.FHIR="FHIR",$.createByValueInNamespace=function({namespace:z,value:G}){let X=typeof G;return Number.isInteger(G)?X="integer":"number"===X?X="decimal":G instanceof g?X="dateTime":G instanceof s?X="time":G instanceof y&&(X="Quantity"),z===$.System&&(X=X.replace(/^\w/,Q=>Q.toUpperCase())),new $({namespace:z,name:X})},$.fromValue=function(z){return z instanceof P?z.getTypeInfo():$.createByValueInNamespace({namespace:$.System,value:z})},$})();he.exports={FP_Type:p,FP_TimeBase:h,FP_DateTime:g,FP_Time:s,FP_Quantity:y,timeRE:d,dateTimeRE:m,ResourceNode:P,TypeInfo:D,typeFn:function($){return $.map(z=>D.fromValue(z))},isFn:function($,z){if(0===$.length)return[];if($.length>1)throw new Error("Expected singleton on left side of is, got "+JSON.stringify($));return D.fromValue($[0]).is(z)}}},4569:(he,A,o)=>{var n={},l=o(2563);let{ResourceNode:u}=l;n.raiseError=function(c,r){throw(r=r?r+": ":"")+c},n.assertAtMostOne=function(c,r){c.length>1&&n.raiseError("Was expecting no more than one element but got "+JSON.stringify(c),r)},n.assertType=function(c,r,d){let m=this.valData(c);if(r.indexOf(typeof m)<0){let p=r.length>1?"one of "+r.join(", "):r[0];n.raiseError("Found type '"+typeof c+"' but was expecting "+p,d)}return m},n.isEmpty=function(c){return Array.isArray(c)&&0==c.length},n.isSome=function(c){return null!=c&&!n.isEmpty(c)},n.isTrue=function(c){return null!=c&&(!0===c||1==c.length&&!0===c[0])},n.isFalse=function(c){return null!=c&&(!1===c||1==c.length&&!1===c[0])},n.isCapitalized=function(c){return c&&c[0]===c[0].toUpperCase()},n.flatten=function(c){return c.reduce(function(r,d){return Array.isArray(d)?r=r.concat(d):r.push(d),r},[])},n.arraify=function(c){return Array.isArray(c)?c:n.isSome(c)?[c]:[]},n.valData=function(c){return c instanceof u?c.data:c},n.escapeStringForRegExp=function(c){return c.replace(/[-[\]{}()*+?.,\\/^$|#\s]/g,"\\$&")},he.exports=n},4770:he=>{"use strict";he.exports=function(A,o){for(var n={},l=Object.keys(A),u=Array.isArray(o),c=0;c{function A(Ge){return Ge instanceof Map?Ge.clear=Ge.delete=Ge.set=function(){throw new Error("map is read-only")}:Ge instanceof Set&&(Ge.add=Ge.clear=Ge.delete=function(){throw new Error("set is read-only")}),Object.freeze(Ge),Object.getOwnPropertyNames(Ge).forEach(function(lt){var Ot=Ge[lt];"object"==typeof Ot&&!Object.isFrozen(Ot)&&A(Ot)}),Ge}var o=A;o.default=A;class l{constructor(lt){void 0===lt.data&&(lt.data={}),this.data=lt.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function u(Ge){return Ge.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function c(Ge,...lt){const Ot=Object.create(null);for(const Ft in Ge)Ot[Ft]=Ge[Ft];return lt.forEach(function(Ft){for(const Pe in Ft)Ot[Pe]=Ft[Pe]}),Ot}const d=Ge=>!!Ge.kind;class m{constructor(lt,Ot){this.buffer="",this.classPrefix=Ot.classPrefix,lt.walk(this)}addText(lt){this.buffer+=u(lt)}openNode(lt){if(!d(lt))return;let Ot=lt.kind;lt.sublanguage||(Ot=`${this.classPrefix}${Ot}`),this.span(Ot)}closeNode(lt){!d(lt)||(this.buffer+="")}value(){return this.buffer}span(lt){this.buffer+=``}}class p{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(lt){this.top.children.push(lt)}openNode(lt){const Ot={kind:lt,children:[]};this.add(Ot),this.stack.push(Ot)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(lt){return this.constructor._walk(lt,this.rootNode)}static _walk(lt,Ot){return"string"==typeof Ot?lt.addText(Ot):Ot.children&&(lt.openNode(Ot),Ot.children.forEach(Ft=>this._walk(lt,Ft)),lt.closeNode(Ot)),lt}static _collapse(lt){"string"!=typeof lt&&(!lt.children||(lt.children.every(Ot=>"string"==typeof Ot)?lt.children=[lt.children.join("")]:lt.children.forEach(Ot=>{p._collapse(Ot)})))}}class y extends p{constructor(lt){super(),this.options=lt}addKeyword(lt,Ot){""!==lt&&(this.openNode(Ot),this.addText(lt),this.closeNode())}addText(lt){""!==lt&&this.add(lt)}addSublanguage(lt,Ot){const Ft=lt.root;Ft.kind=Ot,Ft.sublanguage=!0,this.add(Ft)}toHTML(){return new m(this,this.options).value()}finalize(){return!0}}function h(Ge){return Ge?"string"==typeof Ge?Ge:Ge.source:null}const w=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,Y="[a-zA-Z]\\w*",$="[a-zA-Z_]\\w*",z="\\b\\d+(\\.\\d+)?",G="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",X="\\b(0b[01]+)",ue={begin:"\\\\[\\s\\S]",relevance:0},me={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[ue]},xe={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[ue]},pe={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/},oe=function(Ge,lt,Ot={}){const Ft=c({className:"comment",begin:Ge,end:lt,contains:[]},Ot);return Ft.contains.push(pe),Ft.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),Ft},ae=oe("//","$"),U=oe("/\\*","\\*/"),ie=oe("#","$");var Qe=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:Y,UNDERSCORE_IDENT_RE:$,NUMBER_RE:z,C_NUMBER_RE:G,BINARY_NUMBER_RE:X,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(Ge={})=>{const lt=/^#![ ]*\//;return Ge.binary&&(Ge.begin=function(...Ge){return Ge.map(Ot=>h(Ot)).join("")}(lt,/.*\b/,Ge.binary,/\b.*/)),c({className:"meta",begin:lt,end:/$/,relevance:0,"on:begin":(Ot,Ft)=>{0!==Ot.index&&Ft.ignoreMatch()}},Ge)},BACKSLASH_ESCAPE:ue,APOS_STRING_MODE:me,QUOTE_STRING_MODE:xe,PHRASAL_WORDS_MODE:pe,COMMENT:oe,C_LINE_COMMENT_MODE:ae,C_BLOCK_COMMENT_MODE:U,HASH_COMMENT_MODE:ie,NUMBER_MODE:{className:"number",begin:z,relevance:0},C_NUMBER_MODE:{className:"number",begin:G,relevance:0},BINARY_NUMBER_MODE:{className:"number",begin:X,relevance:0},CSS_NUMBER_MODE:{className:"number",begin:z+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[ue,{begin:/\[/,end:/\]/,relevance:0,contains:[ue]}]}]},TITLE_MODE:{className:"title",begin:Y,relevance:0},UNDERSCORE_TITLE_MODE:{className:"title",begin:$,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+$,relevance:0},END_SAME_AS_BEGIN:function(Ge){return Object.assign(Ge,{"on:begin":(lt,Ot)=>{Ot.data._beginMatch=lt[1]},"on:end":(lt,Ot)=>{Ot.data._beginMatch!==lt[1]&&Ot.ignoreMatch()}})}});function ct(Ge,lt){"."===Ge.input[Ge.index-1]&<.ignoreMatch()}function bt(Ge,lt){!lt||!Ge.beginKeywords||(Ge.begin="\\b("+Ge.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Ge.__beforeBegin=ct,Ge.keywords=Ge.keywords||Ge.beginKeywords,delete Ge.beginKeywords,void 0===Ge.relevance&&(Ge.relevance=0))}function Et(Ge,lt){!Array.isArray(Ge.illegal)||(Ge.illegal=function(...Ge){return"("+Ge.map(Ot=>h(Ot)).join("|")+")"}(...Ge.illegal))}function xt(Ge,lt){if(Ge.match){if(Ge.begin||Ge.end)throw new Error("begin & end are not supported with match");Ge.begin=Ge.match,delete Ge.match}}function dt(Ge,lt){void 0===Ge.relevance&&(Ge.relevance=1)}const Ne=["of","and","for","in","not","or","if","then","parent","list","value"];function ze(Ge,lt,Ot="keyword"){const Ft={};return"string"==typeof Ge?Pe(Ot,Ge.split(" ")):Array.isArray(Ge)?Pe(Ot,Ge):Object.keys(Ge).forEach(function(Ee){Object.assign(Ft,ze(Ge[Ee],lt,Ee))}),Ft;function Pe(Ee,B){lt&&(B=B.map(V=>V.toLowerCase())),B.forEach(function(V){const be=V.split("|");Ft[be[0]]=[Ee,yt(be[0],be[1])]})}}function yt(Ge,lt){return lt?Number(lt):function(Ge){return Ne.includes(Ge.toLowerCase())}(Ge)?0:1}function _e(Ge,{}){function Ot(V,be){return new RegExp(h(V),"m"+(Ge.case_insensitive?"i":"")+(be?"g":""))}class Ft{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(be,je){je.position=this.position++,this.matchIndexes[this.matchAt]=je,this.regexes.push([je,be]),this.matchAt+=function(Ge){return new RegExp(Ge.toString()+"|").exec("").length-1}(be)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const be=this.regexes.map(je=>je[1]);this.matcherRe=Ot(function(Ge,lt="|"){let Ot=0;return Ge.map(Ft=>{Ot+=1;const Pe=Ot;let Ee=h(Ft),B="";for(;Ee.length>0;){const V=w.exec(Ee);if(!V){B+=Ee;break}B+=Ee.substring(0,V.index),Ee=Ee.substring(V.index+V[0].length),"\\"===V[0][0]&&V[1]?B+="\\"+String(Number(V[1])+Pe):(B+=V[0],"("===V[0]&&Ot++)}return B}).map(Ft=>`(${Ft})`).join(lt)}(be),!0),this.lastIndex=0}exec(be){this.matcherRe.lastIndex=this.lastIndex;const je=this.matcherRe.exec(be);if(!je)return null;const Ct=je.findIndex(($t,vn)=>vn>0&&void 0!==$t),Ht=this.matchIndexes[Ct];return je.splice(0,Ct),Object.assign(je,Ht)}}class Pe{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(be){if(this.multiRegexes[be])return this.multiRegexes[be];const je=new Ft;return this.rules.slice(be).forEach(([Ct,Ht])=>je.addRule(Ct,Ht)),je.compile(),this.multiRegexes[be]=je,je}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(be,je){this.rules.push([be,je]),"begin"===je.type&&this.count++}exec(be){const je=this.getMatcher(this.regexIndex);je.lastIndex=this.lastIndex;let Ct=je.exec(be);if(this.resumingScanAtSamePosition()&&(!Ct||Ct.index!==this.lastIndex)){const Ht=this.getMatcher(0);Ht.lastIndex=this.lastIndex+1,Ct=Ht.exec(be)}return Ct&&(this.regexIndex+=Ct.position+1,this.regexIndex===this.count&&this.considerAll()),Ct}}if(Ge.compilerExtensions||(Ge.compilerExtensions=[]),Ge.contains&&Ge.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Ge.classNameAliases=c(Ge.classNameAliases||{}),function B(V,be){const je=V;if(V.isCompiled)return je;[xt].forEach(Ht=>Ht(V,be)),Ge.compilerExtensions.forEach(Ht=>Ht(V,be)),V.__beforeBegin=null,[bt,Et,dt].forEach(Ht=>Ht(V,be)),V.isCompiled=!0;let Ct=null;if("object"==typeof V.keywords&&(Ct=V.keywords.$pattern,delete V.keywords.$pattern),V.keywords&&(V.keywords=ze(V.keywords,Ge.case_insensitive)),V.lexemes&&Ct)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return Ct=Ct||V.lexemes||/\w+/,je.keywordPatternRe=Ot(Ct,!0),be&&(V.begin||(V.begin=/\B|\b/),je.beginRe=Ot(V.begin),V.endSameAsBegin&&(V.end=V.begin),!V.end&&!V.endsWithParent&&(V.end=/\B|\b/),V.end&&(je.endRe=Ot(V.end)),je.terminatorEnd=h(V.end)||"",V.endsWithParent&&be.terminatorEnd&&(je.terminatorEnd+=(V.end?"|":"")+be.terminatorEnd)),V.illegal&&(je.illegalRe=Ot(V.illegal)),V.contains||(V.contains=[]),V.contains=[].concat(...V.contains.map(function(Ht){return function(Ge){return Ge.variants&&!Ge.cachedVariants&&(Ge.cachedVariants=Ge.variants.map(function(lt){return c(Ge,{variants:null},lt)})),Ge.cachedVariants?Ge.cachedVariants:Z(Ge)?c(Ge,{starts:Ge.starts?c(Ge.starts):null}):Object.isFrozen(Ge)?c(Ge):Ge}("self"===Ht?V:Ht)})),V.contains.forEach(function(Ht){B(Ht,je)}),V.starts&&B(V.starts,be),je.matcher=function(V){const be=new Pe;return V.contains.forEach(je=>be.addRule(je.begin,{rule:je,type:"begin"})),V.terminatorEnd&&be.addRule(V.terminatorEnd,{type:"end"}),V.illegal&&be.addRule(V.illegal,{type:"illegal"}),be}(je),je}(Ge)}function Z(Ge){return!!Ge&&(Ge.endsWithParent||Z(Ge.starts))}function N(Ge){const lt={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!Ge.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,u(this.code);let Ft={};return this.autoDetect?(Ft=Ge.highlightAuto(this.code),this.detectedLanguage=Ft.language):(Ft=Ge.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),Ft.value},autoDetect(){return!this.language||function(Ge){return Boolean(Ge||""===Ge)}(this.autodetect)},ignoreIllegals:()=>!0},render(Ft){return Ft("pre",{},[Ft("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:lt,VuePlugin:{install(Ft){Ft.component("highlightjs",lt)}}}}const ce={"after:highlightElement":({el:Ge,result:lt,text:Ot})=>{const Ft=Oe(Ge);if(!Ft.length)return;const Pe=document.createElement("div");Pe.innerHTML=lt.value,lt.value=function(Ge,lt,Ot){let Ft=0,Pe="";const Ee=[];function B(){return Ge.length&<.length?Ge[0].offset!==lt[0].offset?Ge[0].offset"}function be(Ct){Pe+=""}function je(Ct){("start"===Ct.event?V:be)(Ct.node)}for(;Ge.length||lt.length;){let Ct=B();if(Pe+=u(Ot.substring(Ft,Ct[0].offset)),Ft=Ct[0].offset,Ct===Ge){Ee.reverse().forEach(be);do{je(Ct.splice(0,1)[0]),Ct=B()}while(Ct===Ge&&Ct.length&&Ct[0].offset===Ft);Ee.reverse().forEach(V)}else"start"===Ct[0].event?Ee.push(Ct[0].node):Ee.pop(),je(Ct.splice(0,1)[0])}return Pe+u(Ot.substr(Ft))}(Ft,Oe(Pe),Ot)}};function Ue(Ge){return Ge.nodeName.toLowerCase()}function Oe(Ge){const lt=[];return function Ot(Ft,Pe){for(let Ee=Ft.firstChild;Ee;Ee=Ee.nextSibling)3===Ee.nodeType?Pe+=Ee.nodeValue.length:1===Ee.nodeType&&(lt.push({event:"start",offset:Pe,node:Ee}),Pe=Ot(Ee,Pe),Ue(Ee).match(/br|hr|img|input/)||lt.push({event:"stop",offset:Pe,node:Ee}));return Pe}(Ge,0),lt}const Ae={},nt=Ge=>{console.error(Ge)},Rt=(Ge,...lt)=>{console.log(`WARN: ${Ge}`,...lt)},kt=(Ge,lt)=>{Ae[`${Ge}/${lt}`]||(console.log(`Deprecated as of ${Ge}. ${lt}`),Ae[`${Ge}/${lt}`]=!0)},pt=u,Pt=c,$e=Symbol("nomatch");var Mt=function(Ge){const lt=Object.create(null),Ot=Object.create(null),Ft=[];let Pe=!0;const Ee=/(^(<[^>]+>|\t|)+|\n)/gm,B="Could not find the language '{}', did you forget to load/include a language module?",V={disableAutodetect:!0,name:"Plain text",contains:[]};let be={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:y};function je(It){return be.noHighlightRe.test(It)}function Ht(It,Lt,Yt,Zt){let Mn="",Tn="";"object"==typeof Lt?(Mn=It,Yt=Lt.ignoreIllegals,Tn=Lt.language,Zt=void 0):(kt("10.7.0","highlight(lang, code, ...args) has been deprecated."),kt("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),Tn=It,Mn=Lt);const wn={code:Mn,language:Tn};ke("before:highlight",wn);const Bn=wn.result?wn.result:$t(wn.language,wn.code,Yt,Zt);return Bn.code=wn.code,ke("after:highlight",Bn),Bn}function $t(It,Lt,Yt,Zt){function Mn(nn,an){const gn=_i.case_insensitive?an[0].toLowerCase():an[0];return Object.prototype.hasOwnProperty.call(nn.keywords,gn)&&nn.keywords[gn]}function Bn(){null!=mn.subLanguage?function(){if(""===xn)return;let nn=null;if("string"==typeof mn.subLanguage){if(!lt[mn.subLanguage])return void Fn.addText(xn);nn=$t(mn.subLanguage,xn,!0,Qi[mn.subLanguage]),Qi[mn.subLanguage]=nn.top}else nn=it(xn,mn.subLanguage.length?mn.subLanguage:null);mn.relevance>0&&(Ii+=nn.relevance),Fn.addSublanguage(nn.emitter,nn.language)}():function(){if(!mn.keywords)return void Fn.addText(xn);let nn=0;mn.keywordPatternRe.lastIndex=0;let an=mn.keywordPatternRe.exec(xn),gn="";for(;an;){gn+=xn.substring(nn,an.index);const Sn=Mn(mn,an);if(Sn){const[oi,mi]=Sn;Fn.addText(gn),gn="",Ii+=mi,oi.startsWith("_")?gn+=an[0]:Fn.addKeyword(an[0],_i.classNameAliases[oi]||oi)}else gn+=an[0];nn=mn.keywordPatternRe.lastIndex,an=mn.keywordPatternRe.exec(xn)}gn+=xn.substr(nn),Fn.addText(gn)}(),xn=""}function An(nn){return nn.className&&Fn.openNode(_i.classNameAliases[nn.className]||nn.className),mn=Object.create(nn,{parent:{value:mn}}),mn}function kn(nn,an,gn){let Sn=function(Ge,lt){const Ot=Ge&&Ge.exec(lt);return Ot&&0===Ot.index}(nn.endRe,gn);if(Sn){if(nn["on:end"]){const oi=new l(nn);nn["on:end"](an,oi),oi.isMatchIgnored&&(Sn=!1)}if(Sn){for(;nn.endsParent&&nn.parent;)nn=nn.parent;return nn}}if(nn.endsWithParent)return kn(nn.parent,an,gn)}function bn(nn){return 0===mn.matcher.regexIndex?(xn+=nn[0],1):(Wi=!0,0)}function Oi(nn){const an=nn[0],gn=Lt.substr(nn.index),Sn=kn(mn,nn,gn);if(!Sn)return $e;const oi=mn;oi.skip?xn+=an:(oi.returnEnd||oi.excludeEnd||(xn+=an),Bn(),oi.excludeEnd&&(xn=an));do{mn.className&&Fn.closeNode(),!mn.skip&&!mn.subLanguage&&(Ii+=mn.relevance),mn=mn.parent}while(mn!==Sn.parent);return Sn.starts&&(Sn.endSameAsBegin&&(Sn.starts.endRe=Sn.endRe),An(Sn.starts)),oi.returnEnd?0:an.length}let Xn={};function Ri(nn,an){const gn=an&&an[0];if(xn+=nn,null==gn)return Bn(),0;if("begin"===Xn.type&&"end"===an.type&&Xn.index===an.index&&""===gn){if(xn+=Lt.slice(an.index,an.index+1),!Pe){const Sn=new Error("0 width match regex");throw Sn.languageName=It,Sn.badRule=Xn.rule,Sn}return 1}if(Xn=an,"begin"===an.type)return function(nn){const an=nn[0],gn=nn.rule,Sn=new l(gn),oi=[gn.__beforeBegin,gn["on:begin"]];for(const mi of oi)if(mi&&(mi(nn,Sn),Sn.isMatchIgnored))return bn(an);return gn&&gn.endSameAsBegin&&(gn.endRe=function(Ge){return new RegExp(Ge.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(an)),gn.skip?xn+=an:(gn.excludeBegin&&(xn+=an),Bn(),!gn.returnBegin&&!gn.excludeBegin&&(xn=an)),An(gn),gn.returnBegin?0:an.length}(an);if("illegal"===an.type&&!Yt){const Sn=new Error('Illegal lexeme "'+gn+'" for mode "'+(mn.className||"")+'"');throw Sn.mode=mn,Sn}if("end"===an.type){const Sn=Oi(an);if(Sn!==$e)return Sn}if("illegal"===an.type&&""===gn)return 1;if(ir>1e5&&ir>3*an.index)throw new Error("potential infinite loop, way more iterations than matches");return xn+=gn,gn.length}const _i=Xe(It);if(!_i)throw nt(B.replace("{}",It)),new Error('Unknown language: "'+It+'"');const bi=_e(_i,{plugins:Ft});let si="",mn=Zt||bi;const Qi={},Fn=new be.__emitter(be);!function(){const nn=[];for(let an=mn;an!==_i;an=an.parent)an.className&&nn.unshift(an.className);nn.forEach(an=>Fn.openNode(an))}();let xn="",Ii=0,wi=0,ir=0,Wi=!1;try{for(mn.matcher.considerAll();;){ir++,Wi?Wi=!1:mn.matcher.considerAll(),mn.matcher.lastIndex=wi;const nn=mn.matcher.exec(Lt);if(!nn)break;const gn=Ri(Lt.substring(wi,nn.index),nn);wi=nn.index+gn}return Ri(Lt.substr(wi)),Fn.closeAllNodes(),Fn.finalize(),si=Fn.toHTML(),{relevance:Math.floor(Ii),value:si,language:It,illegal:!1,emitter:Fn,top:mn}}catch(nn){if(nn.message&&nn.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:nn.message,context:Lt.slice(wi-100,wi+100),mode:nn.mode},sofar:si,relevance:0,value:pt(Lt),emitter:Fn};if(Pe)return{illegal:!1,relevance:0,value:pt(Lt),emitter:Fn,language:It,top:mn,errorRaised:nn};throw nn}}function it(It,Lt){Lt=Lt||be.languages||Object.keys(lt);const Yt=function(It){const Lt={relevance:0,emitter:new be.__emitter(be),value:pt(It),illegal:!1,top:V};return Lt.emitter.addText(It),Lt}(It),Zt=Lt.filter(Xe).filter(Re).map(An=>$t(An,It,!1));Zt.unshift(Yt);const Mn=Zt.sort((An,kn)=>{if(An.relevance!==kn.relevance)return kn.relevance-An.relevance;if(An.language&&kn.language){if(Xe(An.language).supersetOf===kn.language)return 1;if(Xe(kn.language).supersetOf===An.language)return-1}return 0}),[Tn,wn]=Mn,Bn=Tn;return Bn.second_best=wn,Bn}const ut={"before:highlightElement":({el:It})=>{be.useBR&&(It.innerHTML=It.innerHTML.replace(/\n/g,"").replace(//g,"\n"))},"after:highlightElement":({result:It})=>{be.useBR&&(It.value=It.value.replace(/\n/g,"
"))}},At=/^(<[^>]+>|\t)+/gm,Xt={"after:highlightElement":({result:It})=>{be.tabReplace&&(It.value=It.value.replace(At,Lt=>Lt.replace(/\t/g,be.tabReplace)))}};function Jt(It){let Lt=null;const Yt=function(It){let Lt=It.className+" ";Lt+=It.parentNode?It.parentNode.className:"";const Yt=be.languageDetectRe.exec(Lt);if(Yt){const Zt=Xe(Yt[1]);return Zt||(Rt(B.replace("{}",Yt[1])),Rt("Falling back to no-highlight mode for this block.",It)),Zt?Yt[1]:"no-highlight"}return Lt.split(/\s+/).find(Zt=>je(Zt)||Xe(Zt))}(It);if(je(Yt))return;ke("before:highlightElement",{el:It,language:Yt}),Lt=It;const Zt=Lt.textContent,Mn=Yt?Ht(Zt,{language:Yt,ignoreIllegals:!0}):it(Zt);ke("after:highlightElement",{el:It,result:Mn,text:Zt}),It.innerHTML=Mn.value,function(It,Lt,Yt){const Zt=Lt?Ot[Lt]:Yt;It.classList.add("hljs"),Zt&&It.classList.add(Zt)}(It,Yt,Mn.language),It.result={language:Mn.language,re:Mn.relevance,relavance:Mn.relevance},Mn.second_best&&(It.second_best={language:Mn.second_best.language,re:Mn.second_best.relevance,relavance:Mn.second_best.relevance})}const Rn=()=>{Rn.called||(Rn.called=!0,kt("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(Jt))};let ti=!1;function pi(){"loading"!==document.readyState?document.querySelectorAll("pre code").forEach(Jt):ti=!0}function Xe(It){return It=(It||"").toLowerCase(),lt[It]||lt[Ot[It]]}function J(It,{languageName:Lt}){"string"==typeof It&&(It=[It]),It.forEach(Yt=>{Ot[Yt.toLowerCase()]=Lt})}function Re(It){const Lt=Xe(It);return Lt&&!Lt.disableAutodetect}function ke(It,Lt){const Yt=It;Ft.forEach(function(Zt){Zt[Yt]&&Zt[Yt](Lt)})}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function(){ti&&pi()},!1),Object.assign(Ge,{highlight:Ht,highlightAuto:it,highlightAll:pi,fixMarkup:function(It){return kt("10.2.0","fixMarkup will be removed entirely in v11.0"),kt("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function(It){return be.tabReplace||be.useBR?It.replace(Ee,Lt=>"\n"===Lt?be.useBR?"
":Lt:be.tabReplace?Lt.replace(/\t/g,be.tabReplace):Lt):It}(It)},highlightElement:Jt,highlightBlock:function(It){return kt("10.7.0","highlightBlock will be removed entirely in v12.0"),kt("10.7.0","Please use highlightElement now."),Jt(It)},configure:function(It){It.useBR&&(kt("10.3.0","'useBR' will be removed entirely in v11.0"),kt("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),be=Pt(be,It)},initHighlighting:Rn,initHighlightingOnLoad:function(){kt("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),ti=!0},registerLanguage:function(It,Lt){let Yt=null;try{Yt=Lt(Ge)}catch(Zt){if(nt("Language definition for '{}' could not be registered.".replace("{}",It)),!Pe)throw Zt;nt(Zt),Yt=V}Yt.name||(Yt.name=It),lt[It]=Yt,Yt.rawDefinition=Lt.bind(null,Ge),Yt.aliases&&J(Yt.aliases,{languageName:It})},unregisterLanguage:function(It){delete lt[It];for(const Lt of Object.keys(Ot))Ot[Lt]===It&&delete Ot[Lt]},listLanguages:function(){return Object.keys(lt)},getLanguage:Xe,registerAliases:J,requireLanguage:function(It){kt("10.4.0","requireLanguage will be removed entirely in v11."),kt("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const Lt=Xe(It);if(Lt)return Lt;throw new Error("The '{}' language is required, but not loaded.".replace("{}",It))},autoDetection:Re,inherit:Pt,addPlugin:function(It){(function(It){It["before:highlightBlock"]&&!It["before:highlightElement"]&&(It["before:highlightElement"]=Lt=>{It["before:highlightBlock"](Object.assign({block:Lt.el},Lt))}),It["after:highlightBlock"]&&!It["after:highlightElement"]&&(It["after:highlightElement"]=Lt=>{It["after:highlightBlock"](Object.assign({block:Lt.el},Lt))})})(It),Ft.push(It)},vuePlugin:N(Ge).VuePlugin}),Ge.debugMode=function(){Pe=!1},Ge.safeMode=function(){Pe=!0},Ge.versionString="10.7.2";for(const It in Qe)"object"==typeof Qe[It]&&o(Qe[It]);return Object.assign(Ge,Qe),Ge.addPlugin(ut),Ge.addPlugin(ce),Ge.addPlugin(Xt),Ge}({});he.exports=Mt},7652:he=>{he.exports=function(o){const n={literal:"true false null"},l=[o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE],u=[o.QUOTE_STRING_MODE,o.C_NUMBER_MODE],c={end:",",endsWithParent:!0,excludeEnd:!0,contains:u,keywords:n},r={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE],illegal:"\\n"},o.inherit(c,{begin:/:/})].concat(l),illegal:"\\S"},d={begin:"\\[",end:"\\]",contains:[o.inherit(c)],illegal:"\\S"};return u.push(r,d),l.forEach(function(m){u.push(m)}),{name:"JSON",contains:u,keywords:n,illegal:"\\S"}}},1891:he=>{function A(r){return r?"string"==typeof r?r:r.source:null}function o(r){return l("(?=",r,")")}function l(...r){return r.map(m=>A(m)).join("")}function u(...r){return"("+r.map(m=>A(m)).join("|")+")"}he.exports=function(r){const d=l(/[A-Z_]/,l("(",/[A-Z0-9_.-]*:/,")?"),/[A-Z0-9_.-]*/),p={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},y={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},b=r.inherit(y,{begin:/\(/,end:/\)/}),h=r.inherit(r.APOS_STRING_MODE,{className:"meta-string"}),g=r.inherit(r.QUOTE_STRING_MODE,{className:"meta-string"}),s={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[y,g,h,b,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[y,b,g,h]}]}]},r.COMMENT(//,{relevance:10}),{begin://,relevance:10},p,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[s],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[s],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:l(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:d,relevance:0,starts:s}]},{className:"tag",begin:l(/<\//,o(l(d,/>/))),contains:[{className:"name",begin:d,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},859:()=>{!function(he,A){"use strict";var pe,o="hljs-ln",l="hljs-ln-code",c="hljs-ln-n",r="data-line-number",d=/\r\n|\r|\n/g;function g(pe){try{var oe=A.querySelectorAll("code.hljs,code.nohighlight");for(var ae in oe)oe.hasOwnProperty(ae)&&(s(oe[ae])||C(oe[ae],pe))}catch(U){he.console.error("LineNumbers error: ",U)}}function s(pe){return pe.classList.contains("nohljsln")}function C(pe,oe){"object"==typeof pe&&function(pe){he.setTimeout(pe,0)}(function(){pe.innerHTML=w(pe,oe)})}function w(pe,oe){var ae=function(pe,oe){return{singleLine:Y(oe=oe||{}),startFrom:$(pe,oe)}}(pe,oe);return z(pe),function(pe,oe){var ae=X(pe);if(""===ae[ae.length-1].trim()&&ae.pop(),ae.length>1||oe.singleLine){for(var U="",ie=0,le=ae.length;ie
{6}',["hljs-ln-line","hljs-ln-numbers",c,r,l,ie+oe.startFrom,ae[ie].length>0?ae[ie]:" "]);return ue('{1}
',[o,U])}return pe}(pe.innerHTML,ae)}function Y(pe){return!!pe.singleLine&&pe.singleLine}function $(pe,oe){var U=1;isFinite(oe.startFrom)&&(U=oe.startFrom);var ie=function(pe,oe){return pe.hasAttribute(oe)?pe.getAttribute(oe):null}(pe,"data-ln-start-from");return null!==ie&&(U=function(pe,oe){if(!pe)return 1;var ae=Number(pe);return isFinite(ae)?ae:1}(ie)),U}function z(pe){var oe=pe.childNodes;for(var ae in oe)if(oe.hasOwnProperty(ae)){var U=oe[ae];Q(U.textContent)>0&&(U.childNodes.length>0?z(U):G(U.parentNode))}}function G(pe){var oe=pe.className;if(/hljs-/.test(oe)){for(var ae=X(pe.innerHTML),U=0,ie="";U{1}
\n',[oe,ae[U].length>0?ae[U]:" "]);pe.innerHTML=ie.trim()}}function X(pe){return 0===pe.length?[]:pe.split(d)}function Q(pe){return(pe.trim().match(d)||[]).length}function ue(pe,oe){return pe.replace(/\{(\d+)\}/g,function(ae,U){return void 0!==oe[U]?oe[U]:ae})}he.hljs?(he.hljs.initLineNumbersOnLoad=function(pe){"interactive"===A.readyState||"complete"===A.readyState?g(pe):he.addEventListener("DOMContentLoaded",function(){g(pe)})},he.hljs.lineNumbersBlock=C,he.hljs.lineNumbersValue=function(pe,oe){if("string"==typeof pe){var ae=document.createElement("code");return ae.innerHTML=pe,w(ae,oe)}},(pe=A.createElement("style")).type="text/css",pe.innerHTML=ue(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[o,c,r]),A.getElementsByTagName("head")[0].appendChild(pe)):he.console.error("highlight.js not detected!"),document.addEventListener("copy",function(pe){var ae,oe=window.getSelection();(function(pe){for(var oe=pe;oe;){if(oe.className&&-1!==oe.className.indexOf("hljs-ln-code"))return!0;oe=oe.parentNode}return!1})(oe.anchorNode)&&(ae=-1!==window.navigator.userAgent.indexOf("Edge")?function(pe){for(var oe=pe.toString(),ae=pe.anchorNode;"TD"!==ae.nodeName;)ae=ae.parentNode;for(var U=pe.focusNode;"TD"!==U.nodeName;)U=U.parentNode;var ie=parseInt(ae.dataset.lineNumber),le=parseInt(U.dataset.lineNumber);if(ie!=le){var Ce=ae.textContent,Te=U.textContent;if(ie>le){var Ke=ie;ie=le,le=Ke,Ke=Ce,Ce=Te,Te=Ke}for(;0!==oe.indexOf(Ce);)Ce=Ce.slice(1);for(;-1===oe.lastIndexOf(Te);)Te=Te.slice(0,-1);for(var tt=Ce,ot=function(pe){for(var oe=pe;"TABLE"!==oe.nodeName;)oe=oe.parentNode;return oe}(ae),mt=ie+1;mt{"use strict";he.exports=Number.isFinite||function(A){return!("number"!=typeof A||A!=A||A===1/0||A===-1/0)}},5984:(he,A,o)=>{var n=o(2327);he.exports=Number.isInteger||function(l){return"number"==typeof l&&n(l)&&Math.floor(l)===l}},642:(he,A)=>{function n(l,u){var c=[],r=[];return null==u&&(u=function(d,m){return c[0]===m?"[Circular ~]":"[Circular ~."+r.slice(0,c.indexOf(m)).join(".")+"]"}),function(d,m){if(c.length>0){var p=c.indexOf(this);~p?c.splice(p+1):c.push(this),~p?r.splice(p,1/0,d):r.push(d),~c.indexOf(m)&&(m=u.call(this,d,m))}else c.push(m);return null==l?m:l.call(this,d,m)}}(he.exports=function(l,u,c,r){return JSON.stringify(l,n(u,r),c)}).getSerialize=n},4366:he=>{var A=1e3,o=60*A,n=60*o,l=24*n;function m(p,y,b){if(!(p0)return function(p){if(!((p=String(p)).length>100)){var y=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(p);if(y){var b=parseFloat(y[1]);switch((y[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*b;case"days":case"day":case"d":return b*l;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*o;case"seconds":case"second":case"secs":case"sec":case"s":return b*A;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}(p);if("number"===b&&!1===isNaN(p))return y.long?function(p){return m(p,l,"day")||m(p,n,"hour")||m(p,o,"minute")||m(p,A,"second")||p+" ms"}(p):function(p){return p>=l?Math.round(p/l)+"d":p>=n?Math.round(p/n)+"h":p>=o?Math.round(p/o)+"m":p>=A?Math.round(p/A)+"s":p+"ms"}(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))}},2756:(he,A,o)=>{"use strict";o.r(A),o.d(A,{HIGHLIGHT_OPTIONS:()=>w,Highlight:()=>z,HighlightJS:()=>$,HighlightLoader:()=>D,HighlightModule:()=>G,\u02750:()=>Y});var n=o(5e3),l=o(591),u=o(8896),c=o(1737),r=o(1746),d=o(5254),m=o(352),p=o(2198),y=o(4850),b=o(2986),h=o(7545),g=o(2868),s=o(7221),C=o(9808),P=o(2313);const w=new n.InjectionToken("HIGHLIGHT_OPTIONS");let D=(()=>{class X{constructor(q,ue,me){this._options=me,this._ready=new l.X(null),this.ready=this._ready.asObservable().pipe((0,p.h)(xe=>!!xe),(0,y.U)(xe=>xe),(0,b.q)(1)),(0,C.isPlatformBrowser)(ue)&&q.defaultView.hljs?this._ready.next(q.defaultView.hljs):this._loadLibrary().pipe((0,h.w)(xe=>this._options&&this._options.lineNumbersLoader?(q.defaultView.hljs=xe,this.loadLineNumbers().pipe((0,g.b)(()=>this._ready.next(xe)))):(this._ready.next(xe),u.E)),(0,s.K)(xe=>(console.error("[HLJS] ",xe),u.E))).subscribe()}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,c._)("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,c._)("The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,c._)("The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,c._)("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)(q=>this._loadLanguages(q)))}return(0,c._)("Highlight.js library was not imported!")}_loadLanguages(q){const ue=Object.entries(this._options.languages).map(([me,xe])=>T(xe()).pipe((0,g.b)(pe=>q.registerLanguage(me,pe))));return(0,r.$R)(...ue).pipe((0,y.U)(()=>q))}loadCoreLibrary(){return T(this._options.coreLibraryLoader())}loadFullLibrary(){return T(this._options.fullLibraryLoader())}loadLineNumbers(){return T(this._options.lineNumbersLoader())}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275inject(C.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(w,8))},X.\u0275prov=(0,n.\u0275\u0275defineInjectable)({factory:function(){return new X((0,n.\u0275\u0275inject)(C.DOCUMENT),(0,n.\u0275\u0275inject)(n.PLATFORM_ID),(0,n.\u0275\u0275inject)(w,8))},token:X,providedIn:"root"}),X})();const T=X=>(0,d.D)(X).pipe((0,p.h)(Q=>!!Q&&!!Q.default),(0,y.U)(Q=>Q.default)),Y=T;let $=(()=>{class X{constructor(q,ue){this._loader=q,this._hljs=null,q.ready.pipe().subscribe(me=>{this._hljs=me,ue&&ue.config&&(me.configure(ue.config),me.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}get hljs(){return this._hljs}highlight(q,ue,me,xe){return this._loader.ready.pipe((0,y.U)(pe=>pe.highlight(q,ue,me,xe)))}highlightAuto(q,ue){return this._loader.ready.pipe((0,y.U)(me=>me.highlightAuto(q,ue)))}fixMarkup(q){return this._loader.ready.pipe((0,y.U)(ue=>ue.fixMarkup(q)))}highlightBlock(q){return this._loader.ready.pipe((0,y.U)(ue=>ue.highlightBlock(q)))}configure(q){return this._loader.ready.pipe((0,y.U)(ue=>ue.configure(q)))}initHighlighting(){return this._loader.ready.pipe((0,y.U)(q=>q.initHighlighting()))}registerLanguage(q,ue){return this._loader.ready.pipe((0,g.b)(me=>me.registerLanguage(q,ue)))}listLanguages(){return this._loader.ready.pipe((0,y.U)(q=>q.listLanguages()))}getLanguage(q){return this._loader.ready.pipe((0,y.U)(ue=>ue.getLanguage(q)))}lineNumbersBlock(q){return this._loader.ready.pipe((0,p.h)(ue=>!!ue.lineNumbersBlock),(0,g.b)(ue=>ue.lineNumbersBlock(q)))}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275inject(D),n.\u0275\u0275inject(w,8))},X.\u0275prov=(0,n.\u0275\u0275defineInjectable)({factory:function(){return new X((0,n.\u0275\u0275inject)(D),(0,n.\u0275\u0275inject)(w,8))},token:X,providedIn:"root"}),X})(),z=(()=>{class X{constructor(q,ue,me,xe){this._hljs=ue,this._sanitizer=me,this._options=xe,this.highlighted=new n.EventEmitter,this._nativeElement=q.nativeElement}ngOnChanges(q){this.code&&q.code&&void 0!==q.code.currentValue&&q.code.currentValue!==q.code.previousValue&&this.highlightElement(this.code,this.languages)}highlightElement(q,ue){this.setTextContent(q),this._hljs.highlightAuto(q,ue).subscribe(me=>{this.setInnerHTML(me.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(me)})}addLineNumbers(){this.destroyLineNumbersObserver(),m.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(q){m.Z.schedule(()=>this._nativeElement.textContent=q)}setInnerHTML(q){m.Z.schedule(()=>this._nativeElement.innerHTML=this._sanitizer.sanitize(n.SecurityContext.HTML,q)||"")}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject($),n.\u0275\u0275directiveInject(P.DomSanitizer),n.\u0275\u0275directiveInject(w,8))},X.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(q,ue){2&q&&n.\u0275\u0275classProp("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},features:[n.\u0275\u0275NgOnChangesFeature]}),X})(),G=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=n.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=n.\u0275\u0275defineInjector({}),X})()},2398:he=>{"use strict";const A="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;if(!A)throw new Error("Unable to find global scope. Are you sure this is running in the browser?");if(!A.AbortController)throw new Error('Could not find "AbortController" in the global scope. You need to polyfill it first');he.exports.AbortController=A.AbortController},3230:(he,A,o)=>{"use strict";const n=o(8372),l=o(2761),u=o(8951),c=o(4770),d=Symbol("encodeFragmentIdentifier");function y(T){if("string"!=typeof T||1!==T.length)throw new TypeError("arrayFormatSeparator must be single character string")}function b(T,Y){return Y.encode?Y.strict?n(T):encodeURIComponent(T):T}function h(T,Y){return Y.decode?l(T):T}function g(T){return Array.isArray(T)?T.sort():"object"==typeof T?g(Object.keys(T)).sort((Y,$)=>Number(Y)-Number($)).map(Y=>T[Y]):T}function s(T){const Y=T.indexOf("#");return-1!==Y&&(T=T.slice(0,Y)),T}function P(T){const Y=(T=s(T)).indexOf("?");return-1===Y?"":T.slice(Y+1)}function w(T,Y){return Y.parseNumbers&&!Number.isNaN(Number(T))&&"string"==typeof T&&""!==T.trim()?T=Number(T):Y.parseBooleans&&null!==T&&("true"===T.toLowerCase()||"false"===T.toLowerCase())&&(T="true"===T.toLowerCase()),T}function D(T,Y){y((Y=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},Y)).arrayFormatSeparator);const $=function(T){let Y;switch(T.arrayFormat){case"index":return($,z,G)=>{Y=/\[(\d*)\]$/.exec($),$=$.replace(/\[\d*\]$/,""),Y?(void 0===G[$]&&(G[$]={}),G[$][Y[1]]=z):G[$]=z};case"bracket":return($,z,G)=>{Y=/(\[\])$/.exec($),G[$=$.replace(/\[\]$/,"")]=Y?void 0!==G[$]?[].concat(G[$],z):[z]:z};case"colon-list-separator":return($,z,G)=>{Y=/(:list)$/.exec($),G[$=$.replace(/:list$/,"")]=Y?void 0!==G[$]?[].concat(G[$],z):[z]:z};case"comma":case"separator":return($,z,G)=>{const X="string"==typeof z&&z.includes(T.arrayFormatSeparator),Q="string"==typeof z&&!X&&h(z,T).includes(T.arrayFormatSeparator);z=Q?h(z,T):z;const q=X||Q?z.split(T.arrayFormatSeparator).map(ue=>h(ue,T)):null===z?z:h(z,T);G[$]=q};case"bracket-separator":return($,z,G)=>{const X=/(\[\])$/.test($);if($=$.replace(/\[\]$/,""),!X)return void(G[$]=z&&h(z,T));const Q=null===z?[]:z.split(T.arrayFormatSeparator).map(q=>h(q,T));G[$]=void 0!==G[$]?[].concat(G[$],Q):Q};default:return($,z,G)=>{G[$]=void 0!==G[$]?[].concat(G[$],z):z}}}(Y),z=Object.create(null);if("string"!=typeof T||!(T=T.trim().replace(/^[?#&]/,"")))return z;for(const G of T.split("&")){if(""===G)continue;let[X,Q]=u(Y.decode?G.replace(/\+/g," "):G,"=");Q=void 0===Q?null:["comma","separator","bracket-separator"].includes(Y.arrayFormat)?Q:h(Q,Y),$(h(X,Y),Q,z)}for(const G of Object.keys(z)){const X=z[G];if("object"==typeof X&&null!==X)for(const Q of Object.keys(X))X[Q]=w(X[Q],Y);else z[G]=w(X,Y)}return!1===Y.sort?z:(!0===Y.sort?Object.keys(z).sort():Object.keys(z).sort(Y.sort)).reduce((G,X)=>{const Q=z[X];return G[X]=Boolean(Q)&&"object"==typeof Q&&!Array.isArray(Q)?g(Q):Q,G},Object.create(null))}A.extract=P,A.parse=D,A.stringify=(T,Y)=>{if(!T)return"";y((Y=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},Y)).arrayFormatSeparator);const $=Q=>Y.skipNull&&(T=>null==T)(T[Q])||Y.skipEmptyString&&""===T[Q],z=function(T){switch(T.arrayFormat){case"index":return Y=>($,z)=>{const G=$.length;return void 0===z||T.skipNull&&null===z||T.skipEmptyString&&""===z?$:null===z?[...$,[b(Y,T),"[",G,"]"].join("")]:[...$,[b(Y,T),"[",b(G,T),"]=",b(z,T)].join("")]};case"bracket":return Y=>($,z)=>void 0===z||T.skipNull&&null===z||T.skipEmptyString&&""===z?$:null===z?[...$,[b(Y,T),"[]"].join("")]:[...$,[b(Y,T),"[]=",b(z,T)].join("")];case"colon-list-separator":return Y=>($,z)=>void 0===z||T.skipNull&&null===z||T.skipEmptyString&&""===z?$:null===z?[...$,[b(Y,T),":list="].join("")]:[...$,[b(Y,T),":list=",b(z,T)].join("")];case"comma":case"separator":case"bracket-separator":{const Y="bracket-separator"===T.arrayFormat?"[]=":"=";return $=>(z,G)=>void 0===G||T.skipNull&&null===G||T.skipEmptyString&&""===G?z:(G=null===G?"":G,0===z.length?[[b($,T),Y,b(G,T)].join("")]:[[z,b(G,T)].join(T.arrayFormatSeparator)])}default:return Y=>($,z)=>void 0===z||T.skipNull&&null===z||T.skipEmptyString&&""===z?$:null===z?[...$,b(Y,T)]:[...$,[b(Y,T),"=",b(z,T)].join("")]}}(Y),G={};for(const Q of Object.keys(T))$(Q)||(G[Q]=T[Q]);const X=Object.keys(G);return!1!==Y.sort&&X.sort(Y.sort),X.map(Q=>{const q=T[Q];return void 0===q?"":null===q?b(Q,Y):Array.isArray(q)?0===q.length&&"bracket-separator"===Y.arrayFormat?b(Q,Y)+"[]":q.reduce(z(Q),[]).join("&"):b(Q,Y)+"="+b(q,Y)}).filter(Q=>Q.length>0).join("&")},A.parseUrl=(T,Y)=>{Y=Object.assign({decode:!0},Y);const[$,z]=u(T,"#");return Object.assign({url:$.split("?")[0]||"",query:D(P(T),Y)},Y&&Y.parseFragmentIdentifier&&z?{fragmentIdentifier:h(z,Y)}:{})},A.stringifyUrl=(T,Y)=>{Y=Object.assign({encode:!0,strict:!0,[d]:!0},Y);const $=s(T.url).split("?")[0]||"",z=A.extract(T.url),G=A.parse(z,{sort:!1}),X=Object.assign(G,T.query);let Q=A.stringify(X,Y);Q&&(Q=`?${Q}`);let q=function(T){let Y="";const $=T.indexOf("#");return-1!==$&&(Y=T.slice($)),Y}(T.url);return T.fragmentIdentifier&&(q=`#${Y[d]?b(T.fragmentIdentifier,Y):T.fragmentIdentifier}`),`${$}${Q}${q}`},A.pick=(T,Y,$)=>{$=Object.assign({parseFragmentIdentifier:!0,[d]:!1},$);const{url:z,query:G,fragmentIdentifier:X}=A.parseUrl(T,$);return A.stringifyUrl({url:z,query:c(G,Y),fragmentIdentifier:X},$)},A.exclude=(T,Y,$)=>{const z=Array.isArray(Y)?G=>!Y.includes(G):(G,X)=>!Y(G,X);return A.pick(T,z,$)}},591:(he,A,o)=>{"use strict";o.d(A,{X:()=>u});var n=o(8929),l=o(5279);class u extends n.xQ{constructor(r){super(),this._value=r}get value(){return this.getValue()}_subscribe(r){const d=super._subscribe(r);return d&&!d.closed&&r.next(this._value),d}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new l.N;return this._value}next(r){super.next(this._value=r)}}},9312:(he,A,o)=>{"use strict";o.d(A,{P:()=>r});var n=o(8896),l=o(1086),u=o(1737);class r{constructor(m,p,y){this.kind=m,this.value=p,this.error=y,this.hasValue="N"===m}observe(m){switch(this.kind){case"N":return m.next&&m.next(this.value);case"E":return m.error&&m.error(this.error);case"C":return m.complete&&m.complete()}}do(m,p,y){switch(this.kind){case"N":return m&&m(this.value);case"E":return p&&p(this.error);case"C":return y&&y()}}accept(m,p,y){return m&&"function"==typeof m.next?this.observe(m):this.do(m,p,y)}toObservable(){switch(this.kind){case"N":return(0,l.of)(this.value);case"E":return(0,u._)(this.error);case"C":return(0,n.c)()}throw new Error("unexpected notification kind value")}static createNext(m){return void 0!==m?new r("N",m):r.undefinedValueNotification}static createError(m){return new r("E",void 0,m)}static createComplete(){return r.completeNotification}}r.completeNotification=new r("C"),r.undefinedValueNotification=new r("N",void 0)},6498:(he,A,o)=>{"use strict";o.d(A,{y:()=>y});var n=o(3489),u=o(7668),c=o(3292),d=o(3821),m=o(4843),p=o(2830);let y=(()=>{class h{constructor(s){this._isScalar=!1,s&&(this._subscribe=s)}lift(s){const C=new h;return C.source=this,C.operator=s,C}subscribe(s,C,P){const{operator:w}=this,D=function(h,g,s){if(h){if(h instanceof n.L)return h;if(h[u.b])return h[u.b]()}return h||g||s?new n.L(h,g,s):new n.L(c.c)}(s,C,P);if(D.add(w?w.call(D,this.source):this.source||p.v.useDeprecatedSynchronousErrorHandling&&!D.syncErrorThrowable?this._subscribe(D):this._trySubscribe(D)),p.v.useDeprecatedSynchronousErrorHandling&&D.syncErrorThrowable&&(D.syncErrorThrowable=!1,D.syncErrorThrown))throw D.syncErrorValue;return D}_trySubscribe(s){try{return this._subscribe(s)}catch(C){p.v.useDeprecatedSynchronousErrorHandling&&(s.syncErrorThrown=!0,s.syncErrorValue=C),function(h){for(;h;){const{closed:g,destination:s,isStopped:C}=h;if(g||C)return!1;h=s&&s instanceof n.L?s:null}return!0}(s)?s.error(C):console.warn(C)}}forEach(s,C){return new(C=b(C))((P,w)=>{let D;D=this.subscribe(T=>{try{s(T)}catch(Y){w(Y),D&&D.unsubscribe()}},w,P)})}_subscribe(s){const{source:C}=this;return C&&C.subscribe(s)}[d.L](){return this}pipe(...s){return 0===s.length?this:(0,m.U)(s)(this)}toPromise(s){return new(s=b(s))((C,P)=>{let w;this.subscribe(D=>w=D,D=>P(D),()=>C(w))})}}return h.create=g=>new h(g),h})();function b(h){if(h||(h=p.v.Promise||Promise),!h)throw new Error("no Promise impl found");return h}},3292:(he,A,o)=>{"use strict";o.d(A,{c:()=>u});var n=o(2830),l=o(2782);const u={closed:!0,next(c){},error(c){if(n.v.useDeprecatedSynchronousErrorHandling)throw c;(0,l.z)(c)},complete(){}}},826:(he,A,o)=>{"use strict";o.d(A,{L:()=>l});var n=o(3489);class l extends n.L{notifyNext(c,r,d,m,p){this.destination.next(r)}notifyError(c,r){this.destination.error(c)}notifyComplete(c){this.destination.complete()}}},8929:(he,A,o)=>{"use strict";o.d(A,{Yc:()=>m,xQ:()=>p});var n=o(6498),l=o(3489),u=o(2654),c=o(5279),r=o(5283),d=o(7668);class m extends l.L{constructor(h){super(h),this.destination=h}}let p=(()=>{class b extends n.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[d.b](){return new m(this)}lift(g){const s=new y(this,this);return s.operator=g,s}next(g){if(this.closed)throw new c.N;if(!this.isStopped){const{observers:s}=this,C=s.length,P=s.slice();for(let w=0;wnew y(h,g),b})();class y extends p{constructor(h,g){super(),this.destination=h,this.source=g}next(h){const{destination:g}=this;g&&g.next&&g.next(h)}error(h){const{destination:g}=this;g&&g.error&&this.destination.error(h)}complete(){const{destination:h}=this;h&&h.complete&&this.destination.complete()}_subscribe(h){const{source:g}=this;return g?this.source.subscribe(h):u.w.EMPTY}}},5283:(he,A,o)=>{"use strict";o.d(A,{W:()=>l});var n=o(2654);class l extends n.w{constructor(c,r){super(),this.subject=c,this.subscriber=r,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const c=this.subject,r=c.observers;if(this.subject=null,!r||0===r.length||c.isStopped||c.closed)return;const d=r.indexOf(this.subscriber);-1!==d&&r.splice(d,1)}}},3489:(he,A,o)=>{"use strict";o.d(A,{L:()=>m});var n=o(7043),l=o(3292),u=o(2654),c=o(7668),r=o(2830),d=o(2782);class m extends u.w{constructor(b,h,g){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l.c;break;case 1:if(!b){this.destination=l.c;break}if("object"==typeof b){b instanceof m?(this.syncErrorThrowable=b.syncErrorThrowable,this.destination=b,b.add(this)):(this.syncErrorThrowable=!0,this.destination=new p(this,b));break}default:this.syncErrorThrowable=!0,this.destination=new p(this,b,h,g)}}[c.b](){return this}static create(b,h,g){const s=new m(b,h,g);return s.syncErrorThrowable=!1,s}next(b){this.isStopped||this._next(b)}error(b){this.isStopped||(this.isStopped=!0,this._error(b))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(b){this.destination.next(b)}_error(b){this.destination.error(b),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:b}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=b,this}}class p extends m{constructor(b,h,g,s){super(),this._parentSubscriber=b;let C,P=this;(0,n.m)(h)?C=h:h&&(C=h.next,g=h.error,s=h.complete,h!==l.c&&(P=Object.create(h),(0,n.m)(P.unsubscribe)&&this.add(P.unsubscribe.bind(P)),P.unsubscribe=this.unsubscribe.bind(this))),this._context=P,this._next=C,this._error=g,this._complete=s}next(b){if(!this.isStopped&&this._next){const{_parentSubscriber:h}=this;r.v.useDeprecatedSynchronousErrorHandling&&h.syncErrorThrowable?this.__tryOrSetError(h,this._next,b)&&this.unsubscribe():this.__tryOrUnsub(this._next,b)}}error(b){if(!this.isStopped){const{_parentSubscriber:h}=this,{useDeprecatedSynchronousErrorHandling:g}=r.v;if(this._error)g&&h.syncErrorThrowable?(this.__tryOrSetError(h,this._error,b),this.unsubscribe()):(this.__tryOrUnsub(this._error,b),this.unsubscribe());else if(h.syncErrorThrowable)g?(h.syncErrorValue=b,h.syncErrorThrown=!0):(0,d.z)(b),this.unsubscribe();else{if(this.unsubscribe(),g)throw b;(0,d.z)(b)}}}complete(){if(!this.isStopped){const{_parentSubscriber:b}=this;if(this._complete){const h=()=>this._complete.call(this._context);r.v.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?(this.__tryOrSetError(b,h),this.unsubscribe()):(this.__tryOrUnsub(h),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(b,h){try{b.call(this._context,h)}catch(g){if(this.unsubscribe(),r.v.useDeprecatedSynchronousErrorHandling)throw g;(0,d.z)(g)}}__tryOrSetError(b,h,g){if(!r.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{h.call(this._context,g)}catch(s){return r.v.useDeprecatedSynchronousErrorHandling?(b.syncErrorValue=s,b.syncErrorThrown=!0,!0):((0,d.z)(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:b}=this;this._context=null,this._parentSubscriber=null,b.unsubscribe()}}},2654:(he,A,o)=>{"use strict";o.d(A,{w:()=>d});var n=o(6688),l=o(7830),u=o(7043);const r=(()=>{function p(y){return Error.call(this),this.message=y?`${y.length} errors occurred during unsubscription:\n${y.map((b,h)=>`${h+1}) ${b.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=y,this}return p.prototype=Object.create(Error.prototype),p})();class d{constructor(y){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,y&&(this._ctorUnsubscribe=!0,this._unsubscribe=y)}unsubscribe(){let y;if(this.closed)return;let{_parentOrParents:b,_ctorUnsubscribe:h,_unsubscribe:g,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,b instanceof d)b.remove(this);else if(null!==b)for(let C=0;Cy.concat(b instanceof r?b.errors:b),[])}d.EMPTY=((p=new d).closed=!0,p)},2830:(he,A,o)=>{"use strict";o.d(A,{v:()=>l});let n=!1;const l={Promise:void 0,set useDeprecatedSynchronousErrorHandling(u){if(u){const c=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+c.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=u},get useDeprecatedSynchronousErrorHandling(){return n}}},1177:(he,A,o)=>{"use strict";o.d(A,{IY:()=>c,Ds:()=>d,ft:()=>p});var n=o(3489),l=o(6498),u=o(9249);class c extends n.L{constructor(b){super(),this.parent=b}_next(b){this.parent.notifyNext(b)}_error(b){this.parent.notifyError(b),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class d extends n.L{notifyNext(b){this.destination.next(b)}notifyError(b){this.destination.error(b)}notifyComplete(){this.destination.complete()}}function p(y,b){if(b.closed)return;if(y instanceof l.y)return y.subscribe(b);let h;try{h=(0,u.s)(y)(b)}catch(g){b.error(g)}return h}},1762:(he,A,o)=>{"use strict";o.d(A,{c:()=>r,N:()=>d});var n=o(8929),l=o(6498),u=o(2654),c=o(4327);class r extends l.y{constructor(h,g){super(),this.source=h,this.subjectFactory=g,this._refCount=0,this._isComplete=!1}_subscribe(h){return this.getSubject().subscribe(h)}getSubject(){const h=this._subject;return(!h||h.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let h=this._connection;return h||(this._isComplete=!1,h=this._connection=new u.w,h.add(this.source.subscribe(new m(this.getSubject(),this))),h.closed&&(this._connection=null,h=u.w.EMPTY)),h}refCount(){return(0,c.x)()(this)}}const d=(()=>{const b=r.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:b._subscribe},_isComplete:{value:b._isComplete,writable:!0},getSubject:{value:b.getSubject},connect:{value:b.connect},refCount:{value:b.refCount}}})();class m extends n.Yc{constructor(h,g){super(h),this.connectable=g}_error(h){this._unsubscribe(),super._error(h)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const h=this.connectable;if(h){this.connectable=null;const g=h._connection;h._refCount=0,h._subject=null,h._connection=null,g&&g.unsubscribe()}}}},6053:(he,A,o)=>{"use strict";o.d(A,{aj:()=>m,Ms:()=>p});var n=o(2866),l=o(6688),u=o(826),c=o(448),r=o(3009);const d={};function m(...b){let h,g;return(0,n.K)(b[b.length-1])&&(g=b.pop()),"function"==typeof b[b.length-1]&&(h=b.pop()),1===b.length&&(0,l.k)(b[0])&&(b=b[0]),(0,r.n)(b,g).lift(new p(h))}class p{constructor(h){this.resultSelector=h}call(h,g){return g.subscribe(new y(h,this.resultSelector))}}class y extends u.L{constructor(h,g){super(h),this.resultSelector=g,this.active=0,this.values=[],this.observables=[]}_next(h){this.values.push(d),this.observables.push(h)}_complete(){const h=this.observables,g=h.length;if(0===g)this.destination.complete();else{this.active=g,this.toRespond=g;for(let s=0;s{"use strict";o.d(A,{z:()=>u});var n=o(1086),l=o(534);function u(...c){return(0,l.u)()((0,n.of)(...c))}},8514:(he,A,o)=>{"use strict";o.d(A,{P:()=>c});var n=o(6498),l=o(5254),u=o(8896);function c(r){return new n.y(d=>{let m;try{m=r()}catch(y){return void d.error(y)}return(m?(0,l.D)(m):(0,u.c)()).subscribe(d)})}},8896:(he,A,o)=>{"use strict";o.d(A,{E:()=>l,c:()=>u});var n=o(6498);const l=new n.y(r=>r.complete());function u(r){return r?function(r){return new n.y(d=>r.schedule(()=>d.complete()))}(r):l}},567:(he,A,o)=>{"use strict";o.d(A,{D:()=>d});var n=o(6498),l=o(6688),u=o(4850),c=o(7830),r=o(5254);function d(...p){if(1===p.length){const y=p[0];if((0,l.k)(y))return m(y,null);if((0,c.K)(y)&&Object.getPrototypeOf(y)===Object.prototype){const b=Object.keys(y);return m(b.map(h=>y[h]),b)}}if("function"==typeof p[p.length-1]){const y=p.pop();return m(p=1===p.length&&(0,l.k)(p[0])?p[0]:p,null).pipe((0,u.U)(b=>y(...b)))}return m(p,null)}function m(p,y){return new n.y(b=>{const h=p.length;if(0===h)return void b.complete();const g=new Array(h);let s=0,C=0;for(let P=0;P{D||(D=!0,C++),g[P]=T},error:T=>b.error(T),complete:()=>{s++,(s===h||!D)&&(C===h&&b.next(y?y.reduce((T,Y,$)=>(T[Y]=g[$],T),{}):g),b.complete())}}))}})}},5254:(he,A,o)=>{"use strict";o.d(A,{D:()=>P});var n=o(6498),l=o(9249),u=o(2654),c=o(3821),m=o(6454),p=o(5430),h=o(8955),g=o(8515);function P(w,D){return D?function(w,D){if(null!=w){if(function(w){return w&&"function"==typeof w[c.L]}(w))return function(w,D){return new n.y(T=>{const Y=new u.w;return Y.add(D.schedule(()=>{const $=w[c.L]();Y.add($.subscribe({next(z){Y.add(D.schedule(()=>T.next(z)))},error(z){Y.add(D.schedule(()=>T.error(z)))},complete(){Y.add(D.schedule(()=>T.complete()))}}))})),Y})}(w,D);if((0,h.t)(w))return function(w,D){return new n.y(T=>{const Y=new u.w;return Y.add(D.schedule(()=>w.then($=>{Y.add(D.schedule(()=>{T.next($),Y.add(D.schedule(()=>T.complete()))}))},$=>{Y.add(D.schedule(()=>T.error($)))}))),Y})}(w,D);if((0,g.z)(w))return(0,m.r)(w,D);if(function(w){return w&&"function"==typeof w[p.hZ]}(w)||"string"==typeof w)return function(w,D){if(!w)throw new Error("Iterable cannot be null");return new n.y(T=>{const Y=new u.w;let $;return Y.add(()=>{$&&"function"==typeof $.return&&$.return()}),Y.add(D.schedule(()=>{$=w[p.hZ](),Y.add(D.schedule(function(){if(T.closed)return;let z,G;try{const X=$.next();z=X.value,G=X.done}catch(X){return void T.error(X)}G?T.complete():(T.next(z),this.schedule())}))})),Y})}(w,D)}throw new TypeError((null!==w&&typeof w||w)+" is not observable")}(w,D):w instanceof n.y?w:new n.y((0,l.s)(w))}},3009:(he,A,o)=>{"use strict";o.d(A,{n:()=>c});var n=o(6498),l=o(3650),u=o(6454);function c(r,d){return d?(0,u.r)(r,d):new n.y((0,l.V)(r))}},3753:(he,A,o)=>{"use strict";o.d(A,{R:()=>d});var n=o(6498),l=o(6688),u=o(7043),c=o(4850);function d(h,g,s,C){return(0,u.m)(s)&&(C=s,s=void 0),C?d(h,g,s).pipe((0,c.U)(P=>(0,l.k)(P)?C(...P):C(P))):new n.y(P=>{m(h,g,function(D){P.next(arguments.length>1?Array.prototype.slice.call(arguments):D)},P,s)})}function m(h,g,s,C,P){let w;if(function(h){return h&&"function"==typeof h.addEventListener&&"function"==typeof h.removeEventListener}(h)){const D=h;h.addEventListener(g,s,P),w=()=>D.removeEventListener(g,s,P)}else if(function(h){return h&&"function"==typeof h.on&&"function"==typeof h.off}(h)){const D=h;h.on(g,s),w=()=>D.off(g,s)}else if(function(h){return h&&"function"==typeof h.addListener&&"function"==typeof h.removeListener}(h)){const D=h;h.addListener(g,s),w=()=>D.removeListener(g,s)}else{if(!h||!h.length)throw new TypeError("Invalid event target");for(let D=0,T=h.length;D{"use strict";o.d(A,{T:()=>r});var n=o(6498),l=o(2866),u=o(9146),c=o(3009);function r(...d){let m=Number.POSITIVE_INFINITY,p=null,y=d[d.length-1];return(0,l.K)(y)?(p=d.pop(),d.length>1&&"number"==typeof d[d.length-1]&&(m=d.pop())):"number"==typeof y&&(m=d.pop()),null===p&&1===d.length&&d[0]instanceof n.y?d[0]:(0,u.J)(m)((0,c.n)(d,p))}},1086:(he,A,o)=>{"use strict";o.d(A,{of:()=>c});var n=o(2866),l=o(3009),u=o(6454);function c(...r){let d=r[r.length-1];return(0,n.K)(d)?(r.pop(),(0,u.r)(r,d)):(0,l.n)(r)}},1946:(he,A,o)=>{"use strict";o.d(A,{S3:()=>r});var n=o(6688),l=o(3009),u=o(826),c=o(448);function r(...p){if(1===p.length){if(!(0,n.k)(p[0]))return p[0];p=p[0]}return(0,l.n)(p,void 0).lift(new d)}class d{call(y,b){return b.subscribe(new m(y))}}class m extends u.L{constructor(y){super(y),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(y){this.observables.push(y)}_complete(){const y=this.observables,b=y.length;if(0===b)this.destination.complete();else{for(let h=0;h{"use strict";o.d(A,{_:()=>l});var n=o(6498);function l(c,r){return new n.y(r?d=>r.schedule(u,0,{error:c,subscriber:d}):d=>d.error(c))}function u({error:c,subscriber:r}){r.error(c)}},8723:(he,A,o)=>{"use strict";o.d(A,{H:()=>r});var n=o(6498),l=o(353),u=o(4241),c=o(2866);function r(m=0,p,y){let b=-1;return(0,u.k)(p)?b=Number(p)<1?1:Number(p):(0,c.K)(p)&&(y=p),(0,c.K)(y)||(y=l.P),new n.y(h=>{const g=(0,u.k)(m)?m:+m-y.now();return y.schedule(d,g,{index:0,period:b,subscriber:h})})}function d(m){const{index:p,period:y,subscriber:b}=m;if(b.next(p),!b.closed){if(-1===y)return b.complete();m.index=p+1,this.schedule(m,y)}}},1746:(he,A,o)=>{"use strict";o.d(A,{$R:()=>d,mx:()=>m});var n=o(3009),l=o(6688),u=o(3489),c=o(5430),r=o(1177);function d(...g){const s=g[g.length-1];return"function"==typeof s&&g.pop(),(0,n.n)(g,void 0).lift(new m(s))}class m{constructor(s){this.resultSelector=s}call(s,C){return C.subscribe(new p(s,this.resultSelector))}}class p extends u.L{constructor(s,C,P=Object.create(null)){super(s),this.resultSelector=C,this.iterators=[],this.active=0,this.resultSelector="function"==typeof C?C:void 0}_next(s){const C=this.iterators;(0,l.k)(s)?C.push(new b(s)):C.push("function"==typeof s[c.hZ]?new y(s[c.hZ]()):new h(this.destination,this,s))}_complete(){const s=this.iterators,C=s.length;if(this.unsubscribe(),0!==C){this.active=C;for(let P=0;Pthis.index}hasCompleted(){return this.array.length===this.index}}class h extends r.Ds{constructor(s,C,P){super(s),this.parent=C,this.observable=P,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[c.hZ](){return this}next(){const s=this.buffer;return 0===s.length&&this.isComplete?{value:null,done:!0}:{value:s.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(s){this.buffer.push(s),this.parent.checkIterators()}subscribe(){return(0,r.ft)(this.observable,new r.IY(this))}}},384:(he,A,o)=>{"use strict";o.d(A,{U:()=>l});var n=o(1177);function l(r){return function(m){return m.lift(new u(r))}}class u{constructor(d){this.durationSelector=d}call(d,m){return m.subscribe(new c(d,this.durationSelector))}}class c extends n.Ds{constructor(d,m){super(d),this.durationSelector=m,this.hasValue=!1}_next(d){if(this.value=d,this.hasValue=!0,!this.throttled){let m;try{const{durationSelector:y}=this;m=y(d)}catch(y){return this.destination.error(y)}const p=(0,n.ft)(m,new n.IY(this));!p||p.closed?this.clearThrottle():this.add(this.throttled=p)}}clearThrottle(){const{value:d,hasValue:m,throttled:p}=this;p&&(this.remove(p),this.throttled=void 0,p.unsubscribe()),m&&(this.value=void 0,this.hasValue=!1,this.destination.next(d))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}},7568:(he,A,o)=>{"use strict";o.d(A,{e:()=>c});var n=o(353),l=o(384),u=o(8723);function c(r,d=n.P){return(0,l.U)(()=>(0,u.H)(r,d))}},7221:(he,A,o)=>{"use strict";o.d(A,{K:()=>l});var n=o(1177);function l(r){return function(m){const p=new u(r),y=m.lift(p);return p.caught=y}}class u{constructor(d){this.selector=d}call(d,m){return m.subscribe(new c(d,this.selector,this.caught))}}class c extends n.Ds{constructor(d,m,p){super(d),this.selector=m,this.caught=p}error(d){if(!this.isStopped){let m;try{m=this.selector(d,this.caught)}catch(b){return void super.error(b)}this._unsubscribeAndRecycle();const p=new n.IY(this);this.add(p);const y=(0,n.ft)(m,p);y!==p&&this.add(y)}}}},534:(he,A,o)=>{"use strict";o.d(A,{u:()=>l});var n=o(9146);function l(){return(0,n.J)(1)}},1406:(he,A,o)=>{"use strict";o.d(A,{b:()=>l});var n=o(1709);function l(u,c){return(0,n.zg)(u,c,1)}},13:(he,A,o)=>{"use strict";o.d(A,{b:()=>u});var n=o(3489),l=o(353);function u(m,p=l.P){return y=>y.lift(new c(m,p))}class c{constructor(p,y){this.dueTime=p,this.scheduler=y}call(p,y){return y.subscribe(new r(p,this.dueTime,this.scheduler))}}class r extends n.L{constructor(p,y,b){super(p),this.dueTime=y,this.scheduler=b,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(p){this.clearDebounce(),this.lastValue=p,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(d,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:p}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(p)}}clearDebounce(){const p=this.debouncedSubscription;null!==p&&(this.remove(p),p.unsubscribe(),this.debouncedSubscription=null)}}function d(m){m.debouncedNext()}},7314:(he,A,o)=>{"use strict";o.d(A,{d:()=>l});var n=o(3489);function l(r=null){return d=>d.lift(new u(r))}class u{constructor(d){this.defaultValue=d}call(d,m){return m.subscribe(new c(d,this.defaultValue))}}class c extends n.L{constructor(d,m){super(d),this.defaultValue=m,this.isEmpty=!0}_next(d){this.isEmpty=!1,this.destination.next(d)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(he,A,o)=>{"use strict";o.d(A,{g:()=>r});var n=o(353),l=o(2697),u=o(3489),c=o(9312);function r(y,b=n.P){const g=(0,l.J)(y)?+y-b.now():Math.abs(y);return s=>s.lift(new d(g,b))}class d{constructor(b,h){this.delay=b,this.scheduler=h}call(b,h){return h.subscribe(new m(b,this.delay,this.scheduler))}}class m extends u.L{constructor(b,h,g){super(b),this.delay=h,this.scheduler=g,this.queue=[],this.active=!1,this.errored=!1}static dispatch(b){const h=b.source,g=h.queue,s=b.scheduler,C=b.destination;for(;g.length>0&&g[0].time-s.now()<=0;)g.shift().notification.observe(C);if(g.length>0){const P=Math.max(0,g[0].time-s.now());this.schedule(b,P)}else this.unsubscribe(),h.active=!1}_schedule(b){this.active=!0,this.destination.add(b.schedule(m.dispatch,this.delay,{source:this,destination:this.destination,scheduler:b}))}scheduleNotification(b){if(!0===this.errored)return;const h=this.scheduler,g=new p(h.now()+this.delay,b);this.queue.push(g),!1===this.active&&this._schedule(h)}_next(b){this.scheduleNotification(c.P.createNext(b))}_error(b){this.errored=!0,this.queue=[],this.destination.error(b),this.unsubscribe()}_complete(){this.scheduleNotification(c.P.createComplete()),this.unsubscribe()}}class p{constructor(b,h){this.time=b,this.notification=h}}},5778:(he,A,o)=>{"use strict";o.d(A,{x:()=>l});var n=o(3489);function l(r,d){return m=>m.lift(new u(r,d))}class u{constructor(d,m){this.compare=d,this.keySelector=m}call(d,m){return m.subscribe(new c(d,this.compare,this.keySelector))}}class c extends n.L{constructor(d,m,p){super(d),this.keySelector=p,this.hasKey=!1,"function"==typeof m&&(this.compare=m)}compare(d,m){return d===m}_next(d){let m;try{const{keySelector:y}=this;m=y?y(d):d}catch(y){return this.destination.error(y)}let p=!1;if(this.hasKey)try{const{compare:y}=this;p=y(this.key,m)}catch(y){return this.destination.error(y)}else this.hasKey=!0;p||(this.key=m,this.destination.next(d))}}},2198:(he,A,o)=>{"use strict";o.d(A,{h:()=>l});var n=o(3489);function l(r,d){return function(p){return p.lift(new u(r,d))}}class u{constructor(d,m){this.predicate=d,this.thisArg=m}call(d,m){return m.subscribe(new c(d,this.predicate,this.thisArg))}}class c extends n.L{constructor(d,m,p){super(d),this.predicate=m,this.thisArg=p,this.count=0}_next(d){let m;try{m=this.predicate.call(this.thisArg,d,this.count++)}catch(p){return void this.destination.error(p)}m&&this.destination.next(d)}}},537:(he,A,o)=>{"use strict";o.d(A,{x:()=>u});var n=o(3489),l=o(2654);function u(d){return m=>m.lift(new c(d))}class c{constructor(m){this.callback=m}call(m,p){return p.subscribe(new r(m,this.callback))}}class r extends n.L{constructor(m,p){super(m),this.add(new l.w(p))}}},7224:(he,A,o)=>{"use strict";o.d(A,{P:()=>m});var n=o(4450),l=o(2198),u=o(2986),c=o(7314),r=o(4907),d=o(5379);function m(p,y){const b=arguments.length>=2;return h=>h.pipe(p?(0,l.h)((g,s)=>p(g,s,h)):d.y,(0,u.q)(1),b?(0,c.d)(y):(0,r.T)(()=>new n.K))}},8127:(he,A,o)=>{"use strict";o.d(A,{Z:()=>m});var n=o(4450),l=o(2198),u=o(2821),c=o(4907),r=o(7314),d=o(5379);function m(p,y){const b=arguments.length>=2;return h=>h.pipe(p?(0,l.h)((g,s)=>p(g,s,h)):d.y,(0,u.h)(1),b?(0,r.d)(y):(0,c.T)(()=>new n.K))}},4850:(he,A,o)=>{"use strict";o.d(A,{U:()=>l});var n=o(3489);function l(r,d){return function(p){if("function"!=typeof r)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return p.lift(new u(r,d))}}class u{constructor(d,m){this.project=d,this.thisArg=m}call(d,m){return m.subscribe(new c(d,this.project,this.thisArg))}}class c extends n.L{constructor(d,m,p){super(d),this.project=m,this.count=0,this.thisArg=p||this}_next(d){let m;try{m=this.project.call(this.thisArg,d,this.count++)}catch(p){return void this.destination.error(p)}this.destination.next(m)}}},9146:(he,A,o)=>{"use strict";o.d(A,{J:()=>u});var n=o(1709),l=o(5379);function u(c=Number.POSITIVE_INFINITY){return(0,n.zg)(l.y,c)}},1709:(he,A,o)=>{"use strict";o.d(A,{zg:()=>c,VS:()=>m});var n=o(4850),l=o(5254),u=o(1177);function c(p,y,b=Number.POSITIVE_INFINITY){return"function"==typeof y?h=>h.pipe(c((g,s)=>(0,l.D)(p(g,s)).pipe((0,n.U)((C,P)=>y(g,C,s,P))),b)):("number"==typeof y&&(b=y),h=>h.lift(new r(p,b)))}class r{constructor(y,b=Number.POSITIVE_INFINITY){this.project=y,this.concurrent=b}call(y,b){return b.subscribe(new d(y,this.project,this.concurrent))}}class d extends u.Ds{constructor(y,b,h=Number.POSITIVE_INFINITY){super(y),this.project=b,this.concurrent=h,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(y){this.active0?this._next(y.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}const m=c},2536:(he,A,o)=>{"use strict";o.d(A,{O:()=>l});var n=o(1762);function l(c,r){return function(m){let p;if(p="function"==typeof c?c:function(){return c},"function"==typeof r)return m.lift(new u(p,r));const y=Object.create(m,n.N);return y.source=m,y.subjectFactory=p,y}}class u{constructor(r,d){this.subjectFactory=r,this.selector=d}call(r,d){const{selector:m}=this,p=this.subjectFactory(),y=m(p).subscribe(r);return y.add(d.subscribe(p)),y}}},8077:(he,A,o)=>{"use strict";o.d(A,{u:()=>r});var n=o(2014),l=o(2821),u=o(7314),c=o(4843);function r(d,m){return arguments.length>=2?function(y){return(0,c.z)((0,n.R)(d,m),(0,l.h)(1),(0,u.d)(m))(y)}:function(y){return(0,c.z)((0,n.R)((b,h,g)=>d(b,h,g+1)),(0,l.h)(1))(y)}}},4327:(he,A,o)=>{"use strict";o.d(A,{x:()=>l});var n=o(3489);function l(){return function(d){return d.lift(new u(d))}}class u{constructor(d){this.connectable=d}call(d,m){const{connectable:p}=this;p._refCount++;const y=new c(d,p),b=m.subscribe(y);return y.closed||(y.connection=p.connect()),b}}class c extends n.L{constructor(d,m){super(d),this.connectable=m}_unsubscribe(){const{connectable:d}=this;if(!d)return void(this.connection=null);this.connectable=null;const m=d._refCount;if(m<=0)return void(this.connection=null);if(d._refCount=m-1,m>1)return void(this.connection=null);const{connection:p}=this,y=d._connection;this.connection=null,y&&(!p||y===p)&&y.unsubscribe()}}},2014:(he,A,o)=>{"use strict";o.d(A,{R:()=>l});var n=o(3489);function l(r,d){let m=!1;return arguments.length>=2&&(m=!0),function(y){return y.lift(new u(r,d,m))}}class u{constructor(d,m,p=!1){this.accumulator=d,this.seed=m,this.hasSeed=p}call(d,m){return m.subscribe(new c(d,this.accumulator,this.seed,this.hasSeed))}}class c extends n.L{constructor(d,m,p,y){super(d),this.accumulator=m,this._seed=p,this.hasSeed=y,this.index=0}get seed(){return this._seed}set seed(d){this.hasSeed=!0,this._seed=d}_next(d){if(this.hasSeed)return this._tryNext(d);this.seed=d,this.destination.next(d)}_tryNext(d){const m=this.index++;let p;try{p=this.accumulator(this.seed,d,m)}catch(y){this.destination.error(y)}this.seed=p,this.destination.next(p)}}},8117:(he,A,o)=>{"use strict";o.d(A,{B:()=>r});var n=o(2536),l=o(4327),u=o(8929);function c(){return new u.xQ}function r(){return d=>(0,l.x)()((0,n.O)(c)(d))}},1307:(he,A,o)=>{"use strict";o.d(A,{T:()=>l});var n=o(3489);function l(r){return d=>d.lift(new u(r))}class u{constructor(d){this.total=d}call(d,m){return m.subscribe(new c(d,this.total))}}class c extends n.L{constructor(d,m){super(d),this.total=m,this.count=0}_next(d){++this.count>this.total&&this.destination.next(d)}}},1059:(he,A,o)=>{"use strict";o.d(A,{O:()=>u});var n=o(1961),l=o(2866);function u(...c){const r=c[c.length-1];return(0,l.K)(r)?(c.pop(),d=>(0,n.z)(c,d,r)):d=>(0,n.z)(c,d)}},7545:(he,A,o)=>{"use strict";o.d(A,{w:()=>c});var n=o(4850),l=o(5254),u=o(1177);function c(m,p){return"function"==typeof p?y=>y.pipe(c((b,h)=>(0,l.D)(m(b,h)).pipe((0,n.U)((g,s)=>p(b,g,h,s))))):y=>y.lift(new r(m))}class r{constructor(p){this.project=p}call(p,y){return y.subscribe(new d(p,this.project))}}class d extends u.Ds{constructor(p,y){super(p),this.project=y,this.index=0}_next(p){let y;const b=this.index++;try{y=this.project(p,b)}catch(h){return void this.destination.error(h)}this._innerSub(y)}_innerSub(p){const y=this.innerSubscription;y&&y.unsubscribe();const b=new u.IY(this),h=this.destination;h.add(b),this.innerSubscription=(0,u.ft)(p,b),this.innerSubscription!==b&&h.add(this.innerSubscription)}_complete(){const{innerSubscription:p}=this;(!p||p.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(p){this.destination.next(p)}}},2986:(he,A,o)=>{"use strict";o.d(A,{q:()=>c});var n=o(3489),l=o(4231),u=o(8896);function c(m){return p=>0===m?(0,u.c)():p.lift(new r(m))}class r{constructor(p){if(this.total=p,this.total<0)throw new l.W}call(p,y){return y.subscribe(new d(p,this.total))}}class d extends n.L{constructor(p,y){super(p),this.total=y,this.count=0}_next(p){const y=this.total,b=++this.count;b<=y&&(this.destination.next(p),b===y&&(this.destination.complete(),this.unsubscribe()))}}},2821:(he,A,o)=>{"use strict";o.d(A,{h:()=>c});var n=o(3489),l=o(4231),u=o(8896);function c(m){return function(y){return 0===m?(0,u.c)():y.lift(new r(m))}}class r{constructor(p){if(this.total=p,this.total<0)throw new l.W}call(p,y){return y.subscribe(new d(p,this.total))}}class d extends n.L{constructor(p,y){super(p),this.total=y,this.ring=new Array,this.count=0}_next(p){const y=this.ring,b=this.total,h=this.count++;y.length0){const b=this.count>=this.total?this.total:this.count,h=this.ring;for(let g=0;g{"use strict";o.d(A,{R:()=>l});var n=o(1177);function l(r){return d=>d.lift(new u(r))}class u{constructor(d){this.notifier=d}call(d,m){const p=new c(d),y=(0,n.ft)(this.notifier,new n.IY(p));return y&&!p.seenValue?(p.add(y),m.subscribe(p)):p}}class c extends n.Ds{constructor(d){super(d),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},4290:(he,A,o)=>{"use strict";o.d(A,{o:()=>l});var n=o(3489);function l(r,d=!1){return m=>m.lift(new u(r,d))}class u{constructor(d,m){this.predicate=d,this.inclusive=m}call(d,m){return m.subscribe(new c(d,this.predicate,this.inclusive))}}class c extends n.L{constructor(d,m,p){super(d),this.predicate=m,this.inclusive=p,this.index=0}_next(d){const m=this.destination;let p;try{p=this.predicate(d,this.index++)}catch(y){return void m.error(y)}this.nextOrComplete(d,p)}nextOrComplete(d,m){const p=this.destination;Boolean(m)?p.next(d):(this.inclusive&&p.next(d),p.complete())}}},2868:(he,A,o)=>{"use strict";o.d(A,{b:()=>c});var n=o(3489);function l(){}var u=o(7043);function c(m,p,y){return function(h){return h.lift(new r(m,p,y))}}class r{constructor(p,y,b){this.nextOrObserver=p,this.error=y,this.complete=b}call(p,y){return y.subscribe(new d(p,this.nextOrObserver,this.error,this.complete))}}class d extends n.L{constructor(p,y,b,h){super(p),this._tapNext=l,this._tapError=l,this._tapComplete=l,this._tapError=b||l,this._tapComplete=h||l,(0,u.m)(y)?(this._context=this,this._tapNext=y):y&&(this._context=y,this._tapNext=y.next||l,this._tapError=y.error||l,this._tapComplete=y.complete||l)}_next(p){try{this._tapNext.call(this._context,p)}catch(y){return void this.destination.error(y)}this.destination.next(p)}_error(p){try{this._tapError.call(this._context,p)}catch(y){return void this.destination.error(y)}this.destination.error(p)}_complete(){try{this._tapComplete.call(this._context)}catch(p){return void this.destination.error(p)}return this.destination.complete()}}},4907:(he,A,o)=>{"use strict";o.d(A,{T:()=>u});var n=o(4450),l=o(3489);function u(m=d){return p=>p.lift(new c(m))}class c{constructor(p){this.errorFactory=p}call(p,y){return y.subscribe(new r(p,this.errorFactory))}}class r extends l.L{constructor(p,y){super(p),this.errorFactory=y,this.hasValue=!1}_next(p){this.hasValue=!0,this.destination.next(p)}_complete(){if(this.hasValue)return this.destination.complete();{let p;try{p=this.errorFactory()}catch(y){p=y}this.destination.error(p)}}}function d(){return new n.K}},7e3:(he,A,o)=>{"use strict";o.d(A,{V:()=>d});var n=o(353);const u=(()=>{function m(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return m.prototype=Object.create(Error.prototype),m})();var c=o(2431),r=o(1737);function d(m,p=n.P){return(0,c.L)(m,(0,r._)(new u),p)}},2431:(he,A,o)=>{"use strict";o.d(A,{L:()=>c});var n=o(353),l=o(2697),u=o(1177);function c(m,p,y=n.P){return b=>{let h=(0,l.J)(m),g=h?+m-y.now():Math.abs(m);return b.lift(new r(g,h,p,y))}}class r{constructor(p,y,b,h){this.waitFor=p,this.absoluteTimeout=y,this.withObservable=b,this.scheduler=h}call(p,y){return y.subscribe(new d(p,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class d extends u.Ds{constructor(p,y,b,h,g){super(p),this.absoluteTimeout=y,this.waitFor=b,this.withObservable=h,this.scheduler=g,this.scheduleTimeout()}static dispatchTimeout(p){const{withObservable:y}=p;p._unsubscribeAndRecycle(),p.add((0,u.ft)(y,new u.IY(p)))}scheduleTimeout(){const{action:p}=this;p?this.action=p.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(d.dispatchTimeout,this.waitFor,this))}_next(p){this.absoluteTimeout||this.scheduleTimeout(),super._next(p)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}},864:(he,A,o)=>{"use strict";o.d(A,{q:()=>u});var n=o(8077);function l(c,r,d){return 0===d?[r]:(c.push(r),c)}function u(){return(0,n.u)(l,[])}},6454:(he,A,o)=>{"use strict";o.d(A,{r:()=>u});var n=o(6498),l=o(2654);function u(c,r){return new n.y(d=>{const m=new l.w;let p=0;return m.add(r.schedule(function(){p!==c.length?(d.next(c[p++]),d.closed||m.add(this.schedule())):d.complete()})),m})}},6686:(he,A,o)=>{"use strict";o.d(A,{o:()=>u});var n=o(2654);class l extends n.w{constructor(r,d){super()}schedule(r,d=0){return this}}class u extends l{constructor(r,d){super(r,d),this.scheduler=r,this.work=d,this.pending=!1}schedule(r,d=0){if(this.closed)return this;this.state=r;const m=this.id,p=this.scheduler;return null!=m&&(this.id=this.recycleAsyncId(p,m,d)),this.pending=!0,this.delay=d,this.id=this.id||this.requestAsyncId(p,this.id,d),this}requestAsyncId(r,d,m=0){return setInterval(r.flush.bind(r,this),m)}recycleAsyncId(r,d,m=0){if(null!==m&&this.delay===m&&!1===this.pending)return d;clearInterval(d)}execute(r,d){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const m=this._execute(r,d);if(m)return m;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(r,d){let p,m=!1;try{this.work(r)}catch(y){m=!0,p=!!y&&y||new Error(y)}if(m)return this.unsubscribe(),p}_unsubscribe(){const r=this.id,d=this.scheduler,m=d.actions,p=m.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==p&&m.splice(p,1),null!=r&&(this.id=this.recycleAsyncId(d,r,null)),this.delay=null}}},2268:(he,A,o)=>{"use strict";o.d(A,{v:()=>l});let n=(()=>{class u{constructor(r,d=u.now){this.SchedulerAction=r,this.now=d}schedule(r,d=0,m){return new this.SchedulerAction(this,r).schedule(m,d)}}return u.now=()=>Date.now(),u})();class l extends n{constructor(c,r=n.now){super(c,()=>l.delegate&&l.delegate!==this?l.delegate.now():r()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(c,r=0,d){return l.delegate&&l.delegate!==this?l.delegate.schedule(c,r,d):super.schedule(c,r,d)}flush(c){const{actions:r}=this;if(this.active)return void r.push(c);let d;this.active=!0;do{if(d=c.execute(c.state,c.delay))break}while(c=r.shift());if(this.active=!1,d){for(;c=r.shift();)c.unsubscribe();throw d}}}},352:(he,A,o)=>{"use strict";o.d(A,{Z:()=>r});var n=o(6686),u=o(2268);const r=new class extends u.v{flush(p){this.active=!0,this.scheduled=void 0;const{actions:y}=this;let b,h=-1,g=y.length;p=p||y.shift();do{if(b=p.execute(p.state,p.delay))break}while(++h0?super.requestAsyncId(p,y,b):(p.actions.push(this),p.scheduled||(p.scheduled=requestAnimationFrame(()=>p.flush(null))))}recycleAsyncId(p,y,b=0){if(null!==b&&b>0||null===b&&this.delay>0)return super.recycleAsyncId(p,y,b);0===p.actions.length&&(cancelAnimationFrame(y),p.scheduled=void 0)}})},8139:(he,A,o)=>{"use strict";o.d(A,{e:()=>g,E:()=>h});let n=1;const l=Promise.resolve(),u={};function c(s){return s in u&&(delete u[s],!0)}const r={setImmediate(s){const C=n++;return u[C]=!0,l.then(()=>c(C)&&s()),C},clearImmediate(s){c(s)}};var m=o(6686),y=o(2268);const h=new class extends y.v{flush(C){this.active=!0,this.scheduled=void 0;const{actions:P}=this;let w,D=-1,T=P.length;C=C||P.shift();do{if(w=C.execute(C.state,C.delay))break}while(++D0?super.requestAsyncId(C,P,w):(C.actions.push(this),C.scheduled||(C.scheduled=r.setImmediate(C.flush.bind(C,null))))}recycleAsyncId(C,P,w=0){if(null!==w&&w>0||null===w&&this.delay>0)return super.recycleAsyncId(C,P,w);0===C.actions.length&&(r.clearImmediate(P),C.scheduled=void 0)}}),g=h},353:(he,A,o)=>{"use strict";o.d(A,{P:()=>c});var n=o(6686);const c=new(o(2268).v)(n.o)},5430:(he,A,o)=>{"use strict";o.d(A,{hZ:()=>l});const l="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},3821:(he,A,o)=>{"use strict";o.d(A,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(he,A,o)=>{"use strict";o.d(A,{b:()=>n});const n="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(he,A,o)=>{"use strict";o.d(A,{W:()=>l});const l=(()=>{function u(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return u.prototype=Object.create(Error.prototype),u})()},4450:(he,A,o)=>{"use strict";o.d(A,{K:()=>l});const l=(()=>{function u(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return u.prototype=Object.create(Error.prototype),u})()},5279:(he,A,o)=>{"use strict";o.d(A,{N:()=>l});const l=(()=>{function u(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return u.prototype=Object.create(Error.prototype),u})()},2782:(he,A,o)=>{"use strict";function n(l){setTimeout(()=>{throw l},0)}o.d(A,{z:()=>n})},5379:(he,A,o)=>{"use strict";function n(l){return l}o.d(A,{y:()=>n})},6688:(he,A,o)=>{"use strict";o.d(A,{k:()=>n});const n=Array.isArray||(l=>l&&"number"==typeof l.length)},8515:(he,A,o)=>{"use strict";o.d(A,{z:()=>n});const n=l=>l&&"number"==typeof l.length&&"function"!=typeof l},2697:(he,A,o)=>{"use strict";function n(l){return l instanceof Date&&!isNaN(+l)}o.d(A,{J:()=>n})},7043:(he,A,o)=>{"use strict";function n(l){return"function"==typeof l}o.d(A,{m:()=>n})},4241:(he,A,o)=>{"use strict";o.d(A,{k:()=>l});var n=o(6688);function l(u){return!(0,n.k)(u)&&u-parseFloat(u)+1>=0}},7830:(he,A,o)=>{"use strict";function n(l){return null!==l&&"object"==typeof l}o.d(A,{K:()=>n})},8955:(he,A,o)=>{"use strict";function n(l){return!!l&&"function"!=typeof l.subscribe&&"function"==typeof l.then}o.d(A,{t:()=>n})},2866:(he,A,o)=>{"use strict";function n(l){return l&&"function"==typeof l.schedule}o.d(A,{K:()=>n})},4843:(he,A,o)=>{"use strict";o.d(A,{z:()=>l,U:()=>u});var n=o(5379);function l(...c){return u(c)}function u(c){return 0===c.length?n.y:1===c.length?c[0]:function(d){return c.reduce((m,p)=>p(m),d)}}},9249:(he,A,o)=>{"use strict";o.d(A,{s:()=>h});var n=o(3650),l=o(2782),c=o(5430),d=o(3821),p=o(8515),y=o(8955),b=o(7830);const h=g=>{if(g&&"function"==typeof g[d.L])return(g=>s=>{const C=g[d.L]();if("function"!=typeof C.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return C.subscribe(s)})(g);if((0,p.z)(g))return(0,n.V)(g);if((0,y.t)(g))return(g=>s=>(g.then(C=>{s.closed||(s.next(C),s.complete())},C=>s.error(C)).then(null,l.z),s))(g);if(g&&"function"==typeof g[c.hZ])return(g=>s=>{const C=g[c.hZ]();for(;;){let P;try{P=C.next()}catch(w){return s.error(w),s}if(P.done){s.complete();break}if(s.next(P.value),s.closed)break}return"function"==typeof C.return&&s.add(()=>{C.return&&C.return()}),s})(g);{const C=`You provided ${(0,b.K)(g)?"an invalid object":`'${g}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(C)}}},3650:(he,A,o)=>{"use strict";o.d(A,{V:()=>n});const n=l=>u=>{for(let c=0,r=l.length;c{"use strict";o.d(A,{D:()=>r});var n=o(3489);class l extends n.L{constructor(m,p,y){super(),this.parent=m,this.outerValue=p,this.outerIndex=y,this.index=0}_next(m){this.parent.notifyNext(this.outerValue,m,this.outerIndex,this.index++,this)}_error(m){this.parent.notifyError(m,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var u=o(9249),c=o(6498);function r(d,m,p,y,b=new l(d,p,y)){if(!b.closed)return m instanceof c.y?m.subscribe(b):(0,u.s)(m)(b)}},3460:(he,A,o)=>{"use strict";o.r(A),o.d(A,{audit:()=>n.U,auditTime:()=>l.e,buffer:()=>c,bufferCount:()=>p,bufferTime:()=>C,bufferToggle:()=>Q,bufferWhen:()=>me,catchError:()=>oe.K,combineAll:()=>U,combineLatest:()=>Te,concat:()=>tt,concatAll:()=>ot.u,concatMap:()=>mt.b,concatMapTo:()=>Dt,count:()=>Ie,debounce:()=>bt,debounceTime:()=>dt.b,defaultIfEmpty:()=>Ne.d,delay:()=>rt.g,delayWhen:()=>yt,dematerialize:()=>_,distinct:()=>ce,distinctUntilChanged:()=>ve.x,distinctUntilKeyChanged:()=>Ae,elementAt:()=>Pt,endWith:()=>_t,every:()=>Mt,exhaust:()=>Ot,exhaustMap:()=>B,expand:()=>je,filter:()=>Rt.h,finalize:()=>$t.x,find:()=>vn,findIndex:()=>Ve,first:()=>ut.P,flatMap:()=>Tn.VS,groupBy:()=>Xt,ignoreElements:()=>pi,isEmpty:()=>ri,last:()=>Xe.Z,map:()=>Ee.U,mapTo:()=>J,materialize:()=>ke,max:()=>Lt,merge:()=>Zt,mergeAll:()=>Mn.J,mergeMap:()=>Tn.zg,mergeMapTo:()=>wn,mergeScan:()=>Bn,min:()=>bn,multicast:()=>ui.O,observeOn:()=>Oi,onErrorResumeNext:()=>_i,pairwise:()=>Qi,partition:()=>wi,pluck:()=>ir,publish:()=>nn,publishBehavior:()=>gn,publishLast:()=>oi,publishReplay:()=>Si,race:()=>Gi,reduce:()=>It.u,refCount:()=>Yi.x,repeat:()=>ur,repeatWhen:()=>dr,retry:()=>Xi,retryWhen:()=>Br,sample:()=>Vr,sampleTime:()=>hr,scan:()=>I.R,sequenceEqual:()=>de,share:()=>hn.B,shareReplay:()=>Nn,single:()=>Yn,skip:()=>dn.T,skipLast:()=>fr,skipUntil:()=>jr,skipWhile:()=>Cs,startWith:()=>L.O,subscribeOn:()=>Je,switchAll:()=>Gt,switchMap:()=>St.w,switchMapTo:()=>en,take:()=>pt.q,takeLast:()=>yn.h,takeUntil:()=>pn.R,takeWhile:()=>rn.o,tap:()=>Cn.b,throttle:()=>Gn,throttleTime:()=>vi,throwIfEmpty:()=>kt.T,timeInterval:()=>xi,timeout:()=>Zr.V,timeoutWith:()=>mr.L,timestamp:()=>gr,toArray:()=>Jr.q,window:()=>tn,windowCount:()=>zn,windowTime:()=>Pn,windowToggle:()=>or,windowWhen:()=>yr,withLatestFrom:()=>Lr,zip:()=>ps,zipAll:()=>ms});var n=o(384),l=o(7568),u=o(1177);function c(We){return function(ee){return ee.lift(new r(We))}}class r{constructor(R){this.closingNotifier=R}call(R,ee){return ee.subscribe(new d(R,this.closingNotifier))}}class d extends u.Ds{constructor(R,ee){super(R),this.buffer=[],this.add((0,u.ft)(ee,new u.IY(this)))}_next(R){this.buffer.push(R)}notifyNext(){const R=this.buffer;this.buffer=[],this.destination.next(R)}}var m=o(3489);function p(We,R=null){return function(Be){return Be.lift(new y(We,R))}}class y{constructor(R,ee){this.bufferSize=R,this.startBufferEvery=ee,this.subscriberClass=ee&&R!==ee?h:b}call(R,ee){return ee.subscribe(new this.subscriberClass(R,this.bufferSize,this.startBufferEvery))}}class b extends m.L{constructor(R,ee){super(R),this.bufferSize=ee,this.buffer=[]}_next(R){const ee=this.buffer;ee.push(R),ee.length==this.bufferSize&&(this.destination.next(ee),this.buffer=[])}_complete(){const R=this.buffer;R.length>0&&this.destination.next(R),super._complete()}}class h extends m.L{constructor(R,ee,Be){super(R),this.bufferSize=ee,this.startBufferEvery=Be,this.buffers=[],this.count=0}_next(R){const{bufferSize:ee,startBufferEvery:Be,buffers:vt,count:jt}=this;this.count++,jt%Be==0&&vt.push([]);for(let Qt=vt.length;Qt--;){const Dn=vt[Qt];Dn.push(R),Dn.length===ee&&(vt.splice(Qt,1),this.destination.next(Dn))}}_complete(){const{buffers:R,destination:ee}=this;for(;R.length>0;){let Be=R.shift();Be.length>0&&ee.next(Be)}super._complete()}}var g=o(353),s=o(2866);function C(We){let R=arguments.length,ee=g.P;(0,s.K)(arguments[arguments.length-1])&&(ee=arguments[arguments.length-1],R--);let Be=null;R>=2&&(Be=arguments[1]);let vt=Number.POSITIVE_INFINITY;return R>=3&&(vt=arguments[2]),function(Qt){return Qt.lift(new P(We,Be,vt,ee))}}class P{constructor(R,ee,Be,vt){this.bufferTimeSpan=R,this.bufferCreationInterval=ee,this.maxBufferSize=Be,this.scheduler=vt}call(R,ee){return ee.subscribe(new D(R,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}class w{constructor(){this.buffer=[]}}class D extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.bufferTimeSpan=ee,this.bufferCreationInterval=Be,this.maxBufferSize=vt,this.scheduler=jt,this.contexts=[];const Qt=this.openContext();if(this.timespanOnly=null==Be||Be<0,this.timespanOnly)this.add(Qt.closeAction=jt.schedule(T,ee,{subscriber:this,context:Qt,bufferTimeSpan:ee}));else{const fi={bufferTimeSpan:ee,bufferCreationInterval:Be,subscriber:this,scheduler:jt};this.add(Qt.closeAction=jt.schedule($,ee,{subscriber:this,context:Qt})),this.add(jt.schedule(Y,Be,fi))}}_next(R){const ee=this.contexts,Be=ee.length;let vt;for(let jt=0;jt0;){const Be=R.shift();ee.next(Be.buffer)}super._complete()}_unsubscribe(){this.contexts=null}onBufferFull(R){this.closeContext(R);const ee=R.closeAction;if(ee.unsubscribe(),this.remove(ee),!this.closed&&this.timespanOnly){R=this.openContext();const Be=this.bufferTimeSpan;this.add(R.closeAction=this.scheduler.schedule(T,Be,{subscriber:this,context:R,bufferTimeSpan:Be}))}}openContext(){const R=new w;return this.contexts.push(R),R}closeContext(R){this.destination.next(R.buffer);const ee=this.contexts;(ee?ee.indexOf(R):-1)>=0&&ee.splice(ee.indexOf(R),1)}}function T(We){const R=We.subscriber,ee=We.context;ee&&R.closeContext(ee),R.closed||(We.context=R.openContext(),We.context.closeAction=this.schedule(We,We.bufferTimeSpan))}function Y(We){const{bufferCreationInterval:R,bufferTimeSpan:ee,subscriber:Be,scheduler:vt}=We,jt=Be.openContext();Be.closed||(Be.add(jt.closeAction=vt.schedule($,ee,{subscriber:Be,context:jt})),this.schedule(We,R))}function $(We){const{subscriber:R,context:ee}=We;R.closeContext(ee)}var z=o(2654),G=o(448),X=o(826);function Q(We,R){return function(Be){return Be.lift(new q(We,R))}}class q{constructor(R,ee){this.openings=R,this.closingSelector=ee}call(R,ee){return ee.subscribe(new ue(R,this.openings,this.closingSelector))}}class ue extends X.L{constructor(R,ee,Be){super(R),this.closingSelector=Be,this.contexts=[],this.add((0,G.D)(this,ee))}_next(R){const ee=this.contexts,Be=ee.length;for(let vt=0;vt0;){const Be=ee.shift();Be.subscription.unsubscribe(),Be.buffer=null,Be.subscription=null}this.contexts=null,super._error(R)}_complete(){const R=this.contexts;for(;R.length>0;){const ee=R.shift();this.destination.next(ee.buffer),ee.subscription.unsubscribe(),ee.buffer=null,ee.subscription=null}this.contexts=null,super._complete()}notifyNext(R,ee){R?this.closeBuffer(R):this.openBuffer(ee)}notifyComplete(R){this.closeBuffer(R.context)}openBuffer(R){try{const Be=this.closingSelector.call(this,R);Be&&this.trySubscribe(Be)}catch(ee){this._error(ee)}}closeBuffer(R){const ee=this.contexts;if(ee&&R){const{buffer:Be,subscription:vt}=R;this.destination.next(Be),ee.splice(ee.indexOf(R),1),this.remove(vt),vt.unsubscribe()}}trySubscribe(R){const ee=this.contexts,vt=new z.w,jt={buffer:[],subscription:vt};ee.push(jt);const Qt=(0,G.D)(this,R,jt);!Qt||Qt.closed?this.closeBuffer(jt):(Qt.context=jt,this.add(Qt),vt.add(Qt))}}function me(We){return function(R){return R.lift(new xe(We))}}class xe{constructor(R){this.closingSelector=R}call(R,ee){return ee.subscribe(new pe(R,this.closingSelector))}}class pe extends u.Ds{constructor(R,ee){super(R),this.closingSelector=ee,this.subscribing=!1,this.openBuffer()}_next(R){this.buffer.push(R)}_complete(){const R=this.buffer;R&&this.destination.next(R),super._complete()}_unsubscribe(){this.buffer=void 0,this.subscribing=!1}notifyNext(){this.openBuffer()}notifyComplete(){this.subscribing?this.complete():this.openBuffer()}openBuffer(){let Be,{closingSubscription:R}=this;R&&(this.remove(R),R.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];try{const{closingSelector:vt}=this;Be=vt()}catch(vt){return this.error(vt)}R=new z.w,this.closingSubscription=R,this.add(R),this.subscribing=!0,R.add((0,u.ft)(Be,new u.IY(this))),this.subscribing=!1}}var oe=o(7221),ae=o(6053);function U(We){return R=>R.lift(new ae.Ms(We))}var ie=o(6688),le=o(5254);function Te(...We){let R=null;return"function"==typeof We[We.length-1]&&(R=We.pop()),1===We.length&&(0,ie.k)(We[0])&&(We=We[0].slice()),ee=>ee.lift.call((0,le.D)([ee,...We]),new ae.Ms(R))}var Ke=o(1961);function tt(...We){return R=>R.lift.call((0,Ke.z)(R,...We))}var ot=o(534),mt=o(1406);function Dt(We,R){return(0,mt.b)(()=>We,R)}function Ie(We){return R=>R.lift(new Qe(We,R))}class Qe{constructor(R,ee){this.predicate=R,this.source=ee}call(R,ee){return ee.subscribe(new ct(R,this.predicate,this.source))}}class ct extends m.L{constructor(R,ee,Be){super(R),this.predicate=ee,this.source=Be,this.count=0,this.index=0}_next(R){this.predicate?this._tryPredicate(R):this.count++}_tryPredicate(R){let ee;try{ee=this.predicate(R,this.index++,this.source)}catch(Be){return void this.destination.error(Be)}ee&&this.count++}_complete(){this.destination.next(this.count),this.destination.complete()}}function bt(We){return R=>R.lift(new Et(We))}class Et{constructor(R){this.durationSelector=R}call(R,ee){return ee.subscribe(new xt(R,this.durationSelector))}}class xt extends u.Ds{constructor(R,ee){super(R),this.durationSelector=ee,this.hasValue=!1}_next(R){try{const ee=this.durationSelector.call(this,R);ee&&this._tryNext(R,ee)}catch(ee){this.destination.error(ee)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(R,ee){let Be=this.durationSubscription;this.value=R,this.hasValue=!0,Be&&(Be.unsubscribe(),this.remove(Be)),Be=(0,u.ft)(ee,new u.IY(this)),Be&&!Be.closed&&this.add(this.durationSubscription=Be)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const R=this.value,ee=this.durationSubscription;ee&&(this.durationSubscription=void 0,ee.unsubscribe(),this.remove(ee)),this.value=void 0,this.hasValue=!1,super._next(R)}}}var dt=o(13),Ne=o(7314),rt=o(943),ze=o(6498);function yt(We,R){return R?ee=>new Z(ee,R).lift(new gt(We)):ee=>ee.lift(new gt(We))}class gt{constructor(R){this.delayDurationSelector=R}call(R,ee){return ee.subscribe(new _e(R,this.delayDurationSelector))}}class _e extends X.L{constructor(R,ee){super(R),this.delayDurationSelector=ee,this.completed=!1,this.delayNotifierSubscriptions=[],this.index=0}notifyNext(R,ee,Be,vt,jt){this.destination.next(R),this.removeSubscription(jt),this.tryComplete()}notifyError(R,ee){this._error(R)}notifyComplete(R){const ee=this.removeSubscription(R);ee&&this.destination.next(ee),this.tryComplete()}_next(R){const ee=this.index++;try{const Be=this.delayDurationSelector(R,ee);Be&&this.tryDelay(Be,R)}catch(Be){this.destination.error(Be)}}_complete(){this.completed=!0,this.tryComplete(),this.unsubscribe()}removeSubscription(R){R.unsubscribe();const ee=this.delayNotifierSubscriptions.indexOf(R);return-1!==ee&&this.delayNotifierSubscriptions.splice(ee,1),R.outerValue}tryDelay(R,ee){const Be=(0,G.D)(this,R,ee);Be&&!Be.closed&&(this.destination.add(Be),this.delayNotifierSubscriptions.push(Be))}tryComplete(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()}}class Z extends ze.y{constructor(R,ee){super(),this.source=R,this.subscriptionDelay=ee}_subscribe(R){this.subscriptionDelay.subscribe(new j(R,this.source))}}class j extends m.L{constructor(R,ee){super(),this.parent=R,this.source=ee,this.sourceSubscribed=!1}_next(R){this.subscribeToSource()}_error(R){this.unsubscribe(),this.parent.error(R)}_complete(){this.unsubscribe(),this.subscribeToSource()}subscribeToSource(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))}}function _(){return function(R){return R.lift(new x)}}class x{call(R,ee){return ee.subscribe(new N(R))}}class N extends m.L{constructor(R){super(R)}_next(R){R.observe(this.destination)}}function ce(We,R){return ee=>ee.lift(new Ue(We,R))}class Ue{constructor(R,ee){this.keySelector=R,this.flushes=ee}call(R,ee){return ee.subscribe(new Oe(R,this.keySelector,this.flushes))}}class Oe extends u.Ds{constructor(R,ee,Be){super(R),this.keySelector=ee,this.values=new Set,Be&&this.add((0,u.ft)(Be,new u.IY(this)))}notifyNext(){this.values.clear()}notifyError(R){this._error(R)}_next(R){this.keySelector?this._useKeySelector(R):this._finalizeNext(R,R)}_useKeySelector(R){let ee;const{destination:Be}=this;try{ee=this.keySelector(R)}catch(vt){return void Be.error(vt)}this._finalizeNext(ee,R)}_finalizeNext(R,ee){const{values:Be}=this;Be.has(R)||(Be.add(R),this.destination.next(ee))}}var ve=o(5778);function Ae(We,R){return(0,ve.x)((ee,Be)=>R?R(ee[We],Be[We]):ee[We]===Be[We])}var nt=o(4231),Rt=o(2198),kt=o(4907),pt=o(2986);function Pt(We,R){if(We<0)throw new nt.W;const ee=arguments.length>=2;return Be=>Be.pipe((0,Rt.h)((vt,jt)=>jt===We),(0,pt.q)(1),ee?(0,Ne.d)(R):(0,kt.T)(()=>new nt.W))}var $e=o(1086);function _t(...We){return R=>(0,Ke.z)(R,(0,$e.of)(...We))}function Mt(We,R){return ee=>ee.lift(new Ge(We,R,ee))}class Ge{constructor(R,ee,Be){this.predicate=R,this.thisArg=ee,this.source=Be}call(R,ee){return ee.subscribe(new lt(R,this.predicate,this.thisArg,this.source))}}class lt extends m.L{constructor(R,ee,Be,vt){super(R),this.predicate=ee,this.thisArg=Be,this.source=vt,this.index=0,this.thisArg=Be||this}notifyComplete(R){this.destination.next(R),this.destination.complete()}_next(R){let ee=!1;try{ee=this.predicate.call(this.thisArg,R,this.index++,this.source)}catch(Be){return void this.destination.error(Be)}ee||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function Ot(){return We=>We.lift(new Ft)}class Ft{call(R,ee){return ee.subscribe(new Pe(R))}}class Pe extends u.Ds{constructor(R){super(R),this.hasCompleted=!1,this.hasSubscription=!1}_next(R){this.hasSubscription||(this.hasSubscription=!0,this.add((0,u.ft)(R,new u.IY(this))))}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}var Ee=o(4850);function B(We,R){return R?ee=>ee.pipe(B((Be,vt)=>(0,le.D)(We(Be,vt)).pipe((0,Ee.U)((jt,Qt)=>R(Be,jt,vt,Qt))))):ee=>ee.lift(new V(We))}class V{constructor(R){this.project=R}call(R,ee){return ee.subscribe(new be(R,this.project))}}class be extends u.Ds{constructor(R,ee){super(R),this.project=ee,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(R){this.hasSubscription||this.tryNext(R)}tryNext(R){let ee;const Be=this.index++;try{ee=this.project(R,Be)}catch(vt){return void this.destination.error(vt)}this.hasSubscription=!0,this._innerSub(ee)}_innerSub(R){const ee=new u.IY(this),Be=this.destination;Be.add(ee);const vt=(0,u.ft)(R,ee);vt!==ee&&Be.add(vt)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(R){this.destination.next(R)}notifyError(R){this.destination.error(R)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}function je(We,R=Number.POSITIVE_INFINITY,ee){return R=(R||0)<1?Number.POSITIVE_INFINITY:R,Be=>Be.lift(new Ct(We,R,ee))}class Ct{constructor(R,ee,Be){this.project=R,this.concurrent=ee,this.scheduler=Be}call(R,ee){return ee.subscribe(new Ht(R,this.project,this.concurrent,this.scheduler))}}class Ht extends u.Ds{constructor(R,ee,Be,vt){super(R),this.project=ee,this.concurrent=Be,this.scheduler=vt,this.index=0,this.active=0,this.hasCompleted=!1,Be0&&this._next(R.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()}}var $t=o(537);function vn(We,R){if("function"!=typeof We)throw new TypeError("predicate is not a function");return ee=>ee.lift(new it(We,ee,!1,R))}class it{constructor(R,ee,Be,vt){this.predicate=R,this.source=ee,this.yieldIndex=Be,this.thisArg=vt}call(R,ee){return ee.subscribe(new st(R,this.predicate,this.source,this.yieldIndex,this.thisArg))}}class st extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.predicate=ee,this.source=Be,this.yieldIndex=vt,this.thisArg=jt,this.index=0}notifyComplete(R){const ee=this.destination;ee.next(R),ee.complete(),this.unsubscribe()}_next(R){const{predicate:ee,thisArg:Be}=this,vt=this.index++;try{ee.call(Be||this,R,vt,this.source)&&this.notifyComplete(this.yieldIndex?vt:R)}catch(jt){this.destination.error(jt)}}_complete(){this.notifyComplete(this.yieldIndex?-1:void 0)}}function Ve(We,R){return ee=>ee.lift(new it(We,ee,!0,R))}var ut=o(7224),At=o(8929);function Xt(We,R,ee,Be){return vt=>vt.lift(new Jt(We,R,ee,Be))}class Jt{constructor(R,ee,Be,vt){this.keySelector=R,this.elementSelector=ee,this.durationSelector=Be,this.subjectSelector=vt}call(R,ee){return ee.subscribe(new fn(R,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}class fn extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.keySelector=ee,this.elementSelector=Be,this.durationSelector=vt,this.subjectSelector=jt,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(R){let ee;try{ee=this.keySelector(R)}catch(Be){return void this.error(Be)}this._group(R,ee)}_group(R,ee){let Be=this.groups;Be||(Be=this.groups=new Map);let jt,vt=Be.get(ee);if(this.elementSelector)try{jt=this.elementSelector(R)}catch(Qt){this.error(Qt)}else jt=R;if(!vt){vt=this.subjectSelector?this.subjectSelector():new At.xQ,Be.set(ee,vt);const Qt=new li(ee,vt,this);if(this.destination.next(Qt),this.durationSelector){let Dn;try{Dn=this.durationSelector(new li(ee,vt))}catch(fi){return void this.error(fi)}this.add(Dn.subscribe(new Rn(ee,vt,this)))}}vt.closed||vt.next(jt)}_error(R){const ee=this.groups;ee&&(ee.forEach((Be,vt)=>{Be.error(R)}),ee.clear()),this.destination.error(R)}_complete(){const R=this.groups;R&&(R.forEach((ee,Be)=>{ee.complete()}),R.clear()),this.destination.complete()}removeGroup(R){this.groups.delete(R)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&super.unsubscribe())}}class Rn extends m.L{constructor(R,ee,Be){super(ee),this.key=R,this.group=ee,this.parent=Be}_next(R){this.complete()}_unsubscribe(){const{parent:R,key:ee}=this;this.key=this.parent=null,R&&R.removeGroup(ee)}}class li extends ze.y{constructor(R,ee,Be){super(),this.key=R,this.groupSubject=ee,this.refCountSubscription=Be}_subscribe(R){const ee=new z.w,{refCountSubscription:Be,groupSubject:vt}=this;return Be&&!Be.closed&&ee.add(new ti(Be)),ee.add(vt.subscribe(R)),ee}}class ti extends z.w{constructor(R){super(),this.parent=R,R.count++}unsubscribe(){const R=this.parent;!R.closed&&!this.closed&&(super.unsubscribe(),R.count-=1,0===R.count&&R.attemptedToUnsubscribe&&R.unsubscribe())}}function pi(){return function(R){return R.lift(new Jn)}}class Jn{call(R,ee){return ee.subscribe(new Ln(R))}}class Ln extends m.L{_next(R){}}function ri(){return We=>We.lift(new jn)}class jn{call(R,ee){return ee.subscribe(new Se(R))}}class Se extends m.L{constructor(R){super(R)}notifyComplete(R){const ee=this.destination;ee.next(R),ee.complete()}_next(R){this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var Xe=o(8127);function J(We){return R=>R.lift(new Re(We))}class Re{constructor(R){this.value=R}call(R,ee){return ee.subscribe(new S(R,this.value))}}class S extends m.L{constructor(R,ee){super(R),this.value=ee}_next(R){this.destination.next(this.value)}}var te=o(9312);function ke(){return function(R){return R.lift(new Ye)}}class Ye{call(R,ee){return ee.subscribe(new Nt(R))}}class Nt extends m.L{constructor(R){super(R)}_next(R){this.destination.next(te.P.createNext(R))}_error(R){const ee=this.destination;ee.next(te.P.createError(R)),ee.complete()}_complete(){const R=this.destination;R.next(te.P.createComplete()),R.complete()}}var It=o(8077);function Lt(We){return(0,It.u)("function"==typeof We?(ee,Be)=>We(ee,Be)>0?ee:Be:(ee,Be)=>ee>Be?ee:Be)}var Yt=o(6787);function Zt(...We){return R=>R.lift.call((0,Yt.T)(R,...We))}var Mn=o(9146),Tn=o(1709);function wn(We,R,ee=Number.POSITIVE_INFINITY){return"function"==typeof R?(0,Tn.zg)(()=>We,R,ee):("number"==typeof R&&(ee=R),(0,Tn.zg)(()=>We,ee))}function Bn(We,R,ee=Number.POSITIVE_INFINITY){return Be=>Be.lift(new An(We,R,ee))}class An{constructor(R,ee,Be){this.accumulator=R,this.seed=ee,this.concurrent=Be}call(R,ee){return ee.subscribe(new kn(R,this.accumulator,this.seed,this.concurrent))}}class kn extends u.Ds{constructor(R,ee,Be,vt){super(R),this.accumulator=ee,this.acc=Be,this.concurrent=vt,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(R){if(this.active0?this._next(R.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())}}function bn(We){return(0,It.u)("function"==typeof We?(ee,Be)=>We(ee,Be)<0?ee:Be:(ee,Be)=>eeR.lift(new si(We))}class si{constructor(R){this.nextSources=R}call(R,ee){return ee.subscribe(new mn(R,this.nextSources))}}class mn extends u.Ds{constructor(R,ee){super(R),this.destination=R,this.nextSources=ee}notifyError(){this.subscribeToNextSource()}notifyComplete(){this.subscribeToNextSource()}_error(R){this.subscribeToNextSource(),this.unsubscribe()}_complete(){this.subscribeToNextSource(),this.unsubscribe()}subscribeToNextSource(){const R=this.nextSources.shift();if(R){const ee=new u.IY(this),Be=this.destination;Be.add(ee);const vt=(0,u.ft)(R,ee);vt!==ee&&Be.add(vt)}else this.destination.complete()}}function Qi(){return We=>We.lift(new Fn)}class Fn{call(R,ee){return ee.subscribe(new xn(R))}}class xn extends m.L{constructor(R){super(R),this.hasPrev=!1}_next(R){let ee;this.hasPrev?ee=[this.prev,R]:this.hasPrev=!0,this.prev=R,ee&&this.destination.next(ee)}}function Ii(We,R){function ee(){return!ee.pred.apply(ee.thisArg,arguments)}return ee.pred=We,ee.thisArg=R,ee}function wi(We,R){return ee=>[(0,Rt.h)(We,R)(ee),(0,Rt.h)(Ii(We,R))(ee)]}function ir(...We){const R=We.length;if(0===R)throw new Error("list of properties cannot be empty.");return ee=>(0,Ee.U)(function(We,R){return Be=>{let vt=Be;for(let jt=0;jtnew At.xQ,We):(0,ui.O)(new At.xQ)}var an=o(591);function gn(We){return R=>(0,ui.O)(new an.X(We))(R)}class Sn extends At.xQ{constructor(){super(...arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}_subscribe(R){return this.hasError?(R.error(this.thrownError),z.w.EMPTY):this.hasCompleted&&this.hasNext?(R.next(this.value),R.complete(),z.w.EMPTY):super._subscribe(R)}next(R){this.hasCompleted||(this.value=R,this.hasNext=!0)}error(R){this.hasCompleted||super.error(R)}complete(){this.hasCompleted=!0,this.hasNext&&super.next(this.value),super.complete()}}function oi(){return We=>(0,ui.O)(new Sn)(We)}var mi=o(6686),lr=o(2268);const Ki=new class extends lr.v{}(class extends mi.o{constructor(R,ee){super(R,ee),this.scheduler=R,this.work=ee}schedule(R,ee=0){return ee>0?super.schedule(R,ee):(this.delay=ee,this.state=R,this.scheduler.flush(this),this)}execute(R,ee){return ee>0||this.closed?super.execute(R,ee):this._execute(R,ee)}requestAsyncId(R,ee,Be=0){return null!==Be&&Be>0||null===Be&&this.delay>0?super.requestAsyncId(R,ee,Be):R.flush(this)}});var Di=o(5279),Cr=o(5283);class Li extends At.xQ{constructor(R=Number.POSITIVE_INFINITY,ee=Number.POSITIVE_INFINITY,Be){super(),this.scheduler=Be,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=R<1?1:R,this._windowTime=ee<1?1:ee,ee===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(R){if(!this.isStopped){const ee=this._events;ee.push(R),ee.length>this._bufferSize&&ee.shift()}super.next(R)}nextTimeWindow(R){this.isStopped||(this._events.push(new Er(this._getNow(),R)),this._trimBufferThenGetEvents()),super.next(R)}_subscribe(R){const ee=this._infiniteTimeWindow,Be=ee?this._events:this._trimBufferThenGetEvents(),vt=this.scheduler,jt=Be.length;let Qt;if(this.closed)throw new Di.N;if(this.isStopped||this.hasError?Qt=z.w.EMPTY:(this.observers.push(R),Qt=new Cr.W(this,R)),vt&&R.add(R=new Xn(R,vt)),ee)for(let Dn=0;Dnee&&(Qt=Math.max(Qt,jt-ee)),Qt>0&&vt.splice(0,Qt),vt}}class Er{constructor(R,ee){this.time=R,this.value=ee}}function Si(We,R,ee,Be){ee&&"function"!=typeof ee&&(Be=ee);const vt="function"==typeof ee?ee:void 0,jt=new Li(We,R,Be);return Qt=>(0,ui.O)(()=>jt,vt)(Qt)}var Vi=o(1946);function Gi(...We){return function(ee){return 1===We.length&&(0,ie.k)(We[0])&&(We=We[0]),ee.lift.call((0,Vi.S3)(ee,...We))}}var Pi=o(8896);function ur(We=-1){return R=>0===We?(0,Pi.c)():R.lift(new cr(We<0?-1:We-1,R))}class cr{constructor(R,ee){this.count=R,this.source=ee}call(R,ee){return ee.subscribe(new di(R,this.count,this.source))}}class di extends m.L{constructor(R,ee,Be){super(R),this.count=ee,this.source=Be}complete(){if(!this.isStopped){const{source:R,count:ee}=this;if(0===ee)return super.complete();ee>-1&&(this.count=ee-1),R.subscribe(this._unsubscribeAndRecycle())}}}function dr(We){return R=>R.lift(new qi(We))}class qi{constructor(R){this.notifier=R}call(R,ee){return ee.subscribe(new $i(R,this.notifier,ee))}}class $i extends u.Ds{constructor(R,ee,Be){super(R),this.notifier=ee,this.source=Be,this.sourceIsBeingSubscribedTo=!0}notifyNext(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}notifyComplete(){if(!1===this.sourceIsBeingSubscribedTo)return super.complete()}complete(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return super.complete();this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}_unsubscribe(){const{notifications:R,retriesSubscription:ee}=this;R&&(R.unsubscribe(),this.notifications=void 0),ee&&(ee.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}_unsubscribeAndRecycle(){const{_unsubscribe:R}=this;return this._unsubscribe=null,super._unsubscribeAndRecycle(),this._unsubscribe=R,this}subscribeToRetries(){let R;this.notifications=new At.xQ;try{const{notifier:ee}=this;R=ee(this.notifications)}catch(ee){return super.complete()}this.retries=R,this.retriesSubscription=(0,u.ft)(R,new u.IY(this))}}function Xi(We=-1){return R=>R.lift(new yi(We,R))}class yi{constructor(R,ee){this.count=R,this.source=ee}call(R,ee){return ee.subscribe(new rr(R,this.count,this.source))}}class rr extends m.L{constructor(R,ee,Be){super(R),this.count=ee,this.source=Be}error(R){if(!this.isStopped){const{source:ee,count:Be}=this;if(0===Be)return super.error(R);Be>-1&&(this.count=Be-1),ee.subscribe(this._unsubscribeAndRecycle())}}}function Br(We){return R=>R.lift(new Rr(We,R))}class Rr{constructor(R,ee){this.notifier=R,this.source=ee}call(R,ee){return ee.subscribe(new Mr(R,this.notifier,this.source))}}class Mr extends u.Ds{constructor(R,ee,Be){super(R),this.notifier=ee,this.source=Be}error(R){if(!this.isStopped){let ee=this.errors,Be=this.retries,vt=this.retriesSubscription;if(Be)this.errors=void 0,this.retriesSubscription=void 0;else{ee=new At.xQ;try{const{notifier:jt}=this;Be=jt(ee)}catch(jt){return super.error(jt)}vt=(0,u.ft)(Be,new u.IY(this))}this._unsubscribeAndRecycle(),this.errors=ee,this.retries=Be,this.retriesSubscription=vt,ee.next(R)}}_unsubscribe(){const{errors:R,retriesSubscription:ee}=this;R&&(R.unsubscribe(),this.errors=void 0),ee&&(ee.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}notifyNext(){const{_unsubscribe:R}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=R,this.source.subscribe(this)}}var Yi=o(4327);function Vr(We){return R=>R.lift(new Wn(We))}class Wn{constructor(R){this.notifier=R}call(R,ee){const Be=new Dr(R),vt=ee.subscribe(Be);return vt.add((0,u.ft)(this.notifier,new u.IY(Be))),vt}}class Dr extends u.Ds{constructor(){super(...arguments),this.hasValue=!1}_next(R){this.value=R,this.hasValue=!0}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}function hr(We,R=g.P){return ee=>ee.lift(new fe(We,R))}class fe{constructor(R,ee){this.period=R,this.scheduler=ee}call(R,ee){return ee.subscribe(new k(R,this.period,this.scheduler))}}class k extends m.L{constructor(R,ee,Be){super(R),this.period=ee,this.scheduler=Be,this.hasValue=!1,this.add(Be.schedule(E,ee,{subscriber:this,period:ee}))}_next(R){this.lastValue=R,this.hasValue=!0}notifyNext(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}function E(We){let{subscriber:R,period:ee}=We;R.notifyNext(),this.schedule(We,ee)}var I=o(2014);function de(We,R){return ee=>ee.lift(new Ze(We,R))}class Ze{constructor(R,ee){this.compareTo=R,this.comparator=ee}call(R,ee){return ee.subscribe(new wt(R,this.compareTo,this.comparator))}}class wt extends m.L{constructor(R,ee,Be){super(R),this.compareTo=ee,this.comparator=Be,this._a=[],this._b=[],this._oneComplete=!1,this.destination.add(ee.subscribe(new Wt(R,this)))}_next(R){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(R),this.checkValues())}_complete(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()}checkValues(){const{_a:R,_b:ee,comparator:Be}=this;for(;R.length>0&&ee.length>0;){let vt=R.shift(),jt=ee.shift(),Qt=!1;try{Qt=Be?Be(vt,jt):vt===jt}catch(Dn){this.destination.error(Dn)}Qt||this.emit(!1)}}emit(R){const{destination:ee}=this;ee.next(R),ee.complete()}nextB(R){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(R),this.checkValues())}completeB(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0}}class Wt extends m.L{constructor(R,ee){super(R),this.parent=ee}_next(R){this.parent.nextB(R)}_error(R){this.parent.error(R),this.unsubscribe()}_complete(){this.parent.completeB(),this.unsubscribe()}}var hn=o(8117);function Nn(We,R,ee){let Be;return Be=We&&"object"==typeof We?We:{bufferSize:We,windowTime:R,refCount:!1,scheduler:ee},vt=>vt.lift(function({bufferSize:We=Number.POSITIVE_INFINITY,windowTime:R=Number.POSITIVE_INFINITY,refCount:ee,scheduler:Be}){let vt,Qt,jt=0,Dn=!1,fi=!1;return function(W){let F;jt++,!vt||Dn?(Dn=!1,vt=new Li(We,R,Be),F=vt.subscribe(this),Qt=W.subscribe({next(ge){vt.next(ge)},error(ge){Dn=!0,vt.error(ge)},complete(){fi=!0,Qt=void 0,vt.complete()}}),fi&&(Qt=void 0)):F=vt.subscribe(this),this.add(()=>{jt--,F.unsubscribe(),F=void 0,Qt&&!fi&&ee&&0===jt&&(Qt.unsubscribe(),Qt=void 0,vt=void 0)})}}(Be))}var Vn=o(4450);function Yn(We){return R=>R.lift(new Qn(We,R))}class Qn{constructor(R,ee){this.predicate=R,this.source=ee}call(R,ee){return ee.subscribe(new ii(R,this.predicate,this.source))}}class ii extends m.L{constructor(R,ee,Be){super(R),this.predicate=ee,this.source=Be,this.seenValue=!1,this.index=0}applySingleValue(R){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=R)}_next(R){const ee=this.index++;this.predicate?this.tryNext(R,ee):this.applySingleValue(R)}tryNext(R,ee){try{this.predicate(R,ee,this.source)&&this.applySingleValue(R)}catch(Be){this.destination.error(Be)}}_complete(){const R=this.destination;this.index>0?(R.next(this.seenValue?this.singleValue:void 0),R.complete()):R.error(new Vn.K)}}var dn=o(1307);function fr(We){return R=>R.lift(new ji(We))}class ji{constructor(R){if(this._skipCount=R,this._skipCount<0)throw new nt.W}call(R,ee){return ee.subscribe(0===this._skipCount?new m.L(R):new sr(R,this._skipCount))}}class sr extends m.L{constructor(R,ee){super(R),this._skipCount=ee,this._count=0,this._ring=new Array(ee)}_next(R){const ee=this._skipCount,Be=this._count++;if(BeR.lift(new Sr(We))}class Sr{constructor(R){this.notifier=R}call(R,ee){return ee.subscribe(new Hr(R,this.notifier))}}class Hr extends u.Ds{constructor(R,ee){super(R),this.hasValue=!1;const Be=new u.IY(this);this.add(Be),this.innerSubscription=Be;const vt=(0,u.ft)(ee,Be);vt!==Be&&(this.add(vt),this.innerSubscription=vt)}_next(R){this.hasValue&&super._next(R)}notifyNext(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()}notifyComplete(){}}function Cs(We){return R=>R.lift(new ye(We))}class ye{constructor(R){this.predicate=R}call(R,ee){return ee.subscribe(new M(R,this.predicate))}}class M extends m.L{constructor(R,ee){super(R),this.predicate=ee,this.skipping=!0,this.index=0}_next(R){const ee=this.destination;this.skipping&&this.tryCallPredicate(R),this.skipping||ee.next(R)}tryCallPredicate(R){try{const ee=this.predicate(R,this.index++);this.skipping=Boolean(ee)}catch(ee){this.destination.error(ee)}}}var L=o(1059),ne=o(8139),we=o(4241);class He extends ze.y{constructor(R,ee=0,Be=ne.e){super(),this.source=R,this.delayTime=ee,this.scheduler=Be,(!(0,we.k)(ee)||ee<0)&&(this.delayTime=0),(!Be||"function"!=typeof Be.schedule)&&(this.scheduler=ne.e)}static create(R,ee=0,Be=ne.e){return new He(R,ee,Be)}static dispatch(R){const{source:ee,subscriber:Be}=R;return this.add(ee.subscribe(Be))}_subscribe(R){return this.scheduler.schedule(He.dispatch,this.delayTime,{source:this.source,subscriber:R})}}function Je(We,R=0){return function(Be){return Be.lift(new at(We,R))}}class at{constructor(R,ee){this.scheduler=R,this.delay=ee}call(R,ee){return new He(ee,this.delay,this.scheduler).subscribe(R)}}var St=o(7545),Vt=o(5379);function Gt(){return(0,St.w)(Vt.y)}function en(We,R){return R?(0,St.w)(()=>We,R):(0,St.w)(()=>We)}var yn=o(2821),pn=o(7625),rn=o(4290),Cn=o(2868);const In={leading:!0,trailing:!1};function Gn(We,R=In){return ee=>ee.lift(new ai(We,!!R.leading,!!R.trailing))}class ai{constructor(R,ee,Be){this.durationSelector=R,this.leading=ee,this.trailing=Be}call(R,ee){return ee.subscribe(new Ci(R,this.durationSelector,this.leading,this.trailing))}}class Ci extends u.Ds{constructor(R,ee,Be,vt){super(R),this.destination=R,this.durationSelector=ee,this._leading=Be,this._trailing=vt,this._hasValue=!1}_next(R){this._hasValue=!0,this._sendValue=R,this._throttled||(this._leading?this.send():this.throttle(R))}send(){const{_hasValue:R,_sendValue:ee}=this;R&&(this.destination.next(ee),this.throttle(ee)),this._hasValue=!1,this._sendValue=void 0}throttle(R){const ee=this.tryDurationSelector(R);ee&&this.add(this._throttled=(0,u.ft)(ee,new u.IY(this)))}tryDurationSelector(R){try{return this.durationSelector(R)}catch(ee){return this.destination.error(ee),null}}throttlingDone(){const{_throttled:R,_trailing:ee}=this;R&&R.unsubscribe(),this._throttled=void 0,ee&&this.send()}notifyNext(){this.throttlingDone()}notifyComplete(){this.throttlingDone()}}function vi(We,R=g.P,ee=In){return Be=>Be.lift(new pr(We,R,ee.leading,ee.trailing))}class pr{constructor(R,ee,Be,vt){this.duration=R,this.scheduler=ee,this.leading=Be,this.trailing=vt}call(R,ee){return ee.subscribe(new ki(R,this.duration,this.scheduler,this.leading,this.trailing))}}class ki extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.duration=ee,this.scheduler=Be,this.leading=vt,this.trailing=jt,this._hasTrailingValue=!1,this._trailingValue=null}_next(R){this.throttled?this.trailing&&(this._trailingValue=R,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(gi,this.duration,{subscriber:this})),this.leading?this.destination.next(R):this.trailing&&(this._trailingValue=R,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const R=this.throttled;R&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),R.unsubscribe(),this.remove(R),this.throttled=null)}}function gi(We){const{subscriber:R}=We;R.clearThrottle()}var Zi=o(8514);function xi(We=g.P){return R=>(0,Zi.P)(()=>R.pipe((0,I.R)(({current:ee},Be)=>({value:Be,current:We.now(),last:ee}),{current:We.now(),value:void 0,last:void 0}),(0,Ee.U)(({current:ee,last:Be,value:vt})=>new Ji(vt,ee-Be))))}class Ji{constructor(R,ee){this.value=R,this.interval=ee}}var Zr=o(7e3),mr=o(2431);function gr(We=g.P){return(0,Ee.U)(R=>new cs(R,We.now()))}class cs{constructor(R,ee){this.value=R,this.timestamp=ee}}var Jr=o(864);function tn(We){return function(ee){return ee.lift(new un(We))}}class un{constructor(R){this.windowBoundaries=R}call(R,ee){const Be=new ln(R),vt=ee.subscribe(Be);return vt.closed||Be.add((0,u.ft)(this.windowBoundaries,new u.IY(Be))),vt}}class ln extends u.Ds{constructor(R){super(R),this.window=new At.xQ,R.next(this.window)}notifyNext(){this.openWindow()}notifyError(R){this._error(R)}notifyComplete(){this._complete()}_next(R){this.window.next(R)}_error(R){this.window.error(R),this.destination.error(R)}_complete(){this.window.complete(),this.destination.complete()}_unsubscribe(){this.window=null}openWindow(){const R=this.window;R&&R.complete();const ee=this.destination,Be=this.window=new At.xQ;ee.next(Be)}}function zn(We,R=0){return function(Be){return Be.lift(new Un(We,R))}}class Un{constructor(R,ee){this.windowSize=R,this.startWindowEvery=ee}call(R,ee){return ee.subscribe(new hi(R,this.windowSize,this.startWindowEvery))}}class hi extends m.L{constructor(R,ee,Be){super(R),this.destination=R,this.windowSize=ee,this.startWindowEvery=Be,this.windows=[new At.xQ],this.count=0,R.next(this.windows[0])}_next(R){const ee=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,Be=this.destination,vt=this.windowSize,jt=this.windows,Qt=jt.length;for(let fi=0;fi=0&&Dn%ee==0&&!this.closed&&jt.shift().complete(),++this.count%ee==0&&!this.closed){const fi=new At.xQ;jt.push(fi),Be.next(fi)}}_error(R){const ee=this.windows;if(ee)for(;ee.length>0&&!this.closed;)ee.shift().error(R);this.destination.error(R)}_complete(){const R=this.windows;if(R)for(;R.length>0&&!this.closed;)R.shift().complete();this.destination.complete()}_unsubscribe(){this.count=0,this.windows=null}}function Pn(We){let R=g.P,ee=null,Be=Number.POSITIVE_INFINITY;return(0,s.K)(arguments[3])&&(R=arguments[3]),(0,s.K)(arguments[2])?R=arguments[2]:(0,we.k)(arguments[2])&&(Be=Number(arguments[2])),(0,s.K)(arguments[1])?R=arguments[1]:(0,we.k)(arguments[1])&&(ee=Number(arguments[1])),function(jt){return jt.lift(new Ai(We,ee,Be,R))}}class Ai{constructor(R,ee,Be,vt){this.windowTimeSpan=R,this.windowCreationInterval=ee,this.maxWindowSize=Be,this.scheduler=vt}call(R,ee){return ee.subscribe(new ds(R,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))}}class ei extends At.xQ{constructor(){super(...arguments),this._numberOfNextedValues=0}next(R){this._numberOfNextedValues++,super.next(R)}get numberOfNextedValues(){return this._numberOfNextedValues}}class ds extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.destination=R,this.windowTimeSpan=ee,this.windowCreationInterval=Be,this.maxWindowSize=vt,this.scheduler=jt,this.windows=[];const Qt=this.openWindow();if(null!==Be&&Be>=0){const fi={windowTimeSpan:ee,windowCreationInterval:Be,subscriber:this,scheduler:jt};this.add(jt.schedule(_r,ee,{subscriber:this,window:Qt,context:null})),this.add(jt.schedule(Ni,Be,fi))}else this.add(jt.schedule(hs,ee,{subscriber:this,window:Qt,windowTimeSpan:ee}))}_next(R){const ee=this.windows,Be=ee.length;for(let vt=0;vt=this.maxWindowSize&&this.closeWindow(jt))}}_error(R){const ee=this.windows;for(;ee.length>0;)ee.shift().error(R);this.destination.error(R)}_complete(){const R=this.windows;for(;R.length>0;){const ee=R.shift();ee.closed||ee.complete()}this.destination.complete()}openWindow(){const R=new ei;return this.windows.push(R),this.destination.next(R),R}closeWindow(R){R.complete();const ee=this.windows;ee.splice(ee.indexOf(R),1)}}function hs(We){const{subscriber:R,windowTimeSpan:ee,window:Be}=We;Be&&R.closeWindow(Be),We.window=R.openWindow(),this.schedule(We,ee)}function Ni(We){const{windowTimeSpan:R,subscriber:ee,scheduler:Be,windowCreationInterval:vt}=We,jt=ee.openWindow();let Dn={action:this,subscription:null};Dn.subscription=Be.schedule(_r,R,{subscriber:ee,window:jt,context:Dn}),this.add(Dn.subscription),this.schedule(We,vt)}function _r(We){const{subscriber:R,window:ee,context:Be}=We;Be&&Be.action&&Be.subscription&&Be.action.remove(Be.subscription),R.closeWindow(ee)}function or(We,R){return ee=>ee.lift(new Hi(We,R))}class Hi{constructor(R,ee){this.openings=R,this.closingSelector=ee}call(R,ee){return ee.subscribe(new zr(R,this.openings,this.closingSelector))}}class zr extends X.L{constructor(R,ee,Be){super(R),this.openings=ee,this.closingSelector=Be,this.contexts=[],this.add(this.openSubscription=(0,G.D)(this,ee,ee))}_next(R){const{contexts:ee}=this;if(ee){const Be=ee.length;for(let vt=0;vt{let ee;return"function"==typeof We[We.length-1]&&(ee=We.pop()),R.lift(new fs(We,ee))}}class fs{constructor(R,ee){this.observables=R,this.project=ee}call(R,ee){return ee.subscribe(new Eo(R,this.observables,this.project))}}class Eo extends X.L{constructor(R,ee,Be){super(R),this.observables=ee,this.project=Be,this.toRespond=[];const vt=ee.length;this.values=new Array(vt);for(let jt=0;jt0){const jt=vt.indexOf(Be);-1!==jt&&vt.splice(jt,1)}}notifyComplete(){}_next(R){if(0===this.toRespond.length){const ee=[R,...this.values];this.project?this._tryProject(ee):this.destination.next(ee)}}_tryProject(R){let ee;try{ee=this.project.apply(this,R)}catch(Be){return void this.destination.error(Be)}this.destination.next(ee)}}var Fs=o(1746);function ps(...We){return function(ee){return ee.lift.call((0,Fs.$R)(ee,...We))}}function ms(We){return R=>R.lift(new Fs.mx(We))}},8951:he=>{"use strict";he.exports=(A,o)=>{if("string"!=typeof A||"string"!=typeof o)throw new TypeError("Expected the arguments to be of type `string`");if(""===o)return[A];const n=A.indexOf(o);return-1===n?[A]:[A.slice(0,n),A.slice(n+o.length)]}},8372:he=>{"use strict";he.exports=A=>encodeURIComponent(A).replace(/[!'()*]/g,o=>`%${o.charCodeAt(0).toString(16).toUpperCase()}`)},1464:(he,A,o)=>{"use strict";o.r(A),o.d(A,{NIL:()=>Et,parse:()=>T,stringify:()=>b,v1:()=>w,v3:()=>Ke,v4:()=>ot,v5:()=>bt,validate:()=>d,version:()=>dt});var n,l=new Uint8Array(16);function u(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(l)}const c=/^(?:[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,d=function(Ne){return"string"==typeof Ne&&c.test(Ne)};for(var m=[],p=0;p<256;++p)m.push((p+256).toString(16).substr(1));const b=function(Ne){var rt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,ze=(m[Ne[rt+0]]+m[Ne[rt+1]]+m[Ne[rt+2]]+m[Ne[rt+3]]+"-"+m[Ne[rt+4]]+m[Ne[rt+5]]+"-"+m[Ne[rt+6]]+m[Ne[rt+7]]+"-"+m[Ne[rt+8]]+m[Ne[rt+9]]+"-"+m[Ne[rt+10]]+m[Ne[rt+11]]+m[Ne[rt+12]]+m[Ne[rt+13]]+m[Ne[rt+14]]+m[Ne[rt+15]]).toLowerCase();if(!d(ze))throw TypeError("Stringified UUID is invalid");return ze};var h,g,s=0,C=0;const w=function(Ne,rt,ze){var yt=rt&&ze||0,gt=rt||new Array(16),_e=(Ne=Ne||{}).node||h,Z=void 0!==Ne.clockseq?Ne.clockseq:g;if(null==_e||null==Z){var j=Ne.random||(Ne.rng||u)();null==_e&&(_e=h=[1|j[0],j[1],j[2],j[3],j[4],j[5]]),null==Z&&(Z=g=16383&(j[6]<<8|j[7]))}var _=void 0!==Ne.msecs?Ne.msecs:Date.now(),x=void 0!==Ne.nsecs?Ne.nsecs:C+1,N=_-s+(x-C)/1e4;if(N<0&&void 0===Ne.clockseq&&(Z=Z+1&16383),(N<0||_>s)&&void 0===Ne.nsecs&&(x=0),x>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=_,C=x,g=Z;var ce=(1e4*(268435455&(_+=122192928e5))+x)%4294967296;gt[yt++]=ce>>>24&255,gt[yt++]=ce>>>16&255,gt[yt++]=ce>>>8&255,gt[yt++]=255&ce;var Ue=_/4294967296*1e4&268435455;gt[yt++]=Ue>>>8&255,gt[yt++]=255&Ue,gt[yt++]=Ue>>>24&15|16,gt[yt++]=Ue>>>16&255,gt[yt++]=Z>>>8|128,gt[yt++]=255&Z;for(var Oe=0;Oe<6;++Oe)gt[yt+Oe]=_e[Oe];return rt||b(gt)},T=function(Ne){if(!d(Ne))throw TypeError("Invalid UUID");var rt,ze=new Uint8Array(16);return ze[0]=(rt=parseInt(Ne.slice(0,8),16))>>>24,ze[1]=rt>>>16&255,ze[2]=rt>>>8&255,ze[3]=255&rt,ze[4]=(rt=parseInt(Ne.slice(9,13),16))>>>8,ze[5]=255&rt,ze[6]=(rt=parseInt(Ne.slice(14,18),16))>>>8,ze[7]=255&rt,ze[8]=(rt=parseInt(Ne.slice(19,23),16))>>>8,ze[9]=255&rt,ze[10]=(rt=parseInt(Ne.slice(24,36),16))/1099511627776&255,ze[11]=rt/4294967296&255,ze[12]=rt>>>24&255,ze[13]=rt>>>16&255,ze[14]=rt>>>8&255,ze[15]=255&rt,ze};function G(Ne,rt,ze){function yt(gt,_e,Z,j){if("string"==typeof gt&&(gt=function(Ne){Ne=unescape(encodeURIComponent(Ne));for(var rt=[],ze=0;ze>>9<<4)+1}function xe(Ne,rt){var ze=(65535&Ne)+(65535&rt);return(Ne>>16)+(rt>>16)+(ze>>16)<<16|65535&ze}function oe(Ne,rt,ze,yt,gt,_e){return xe(function(Ne,rt){return Ne<>>32-rt}(xe(xe(rt,Ne),xe(yt,_e)),gt),ze)}function ae(Ne,rt,ze,yt,gt,_e,Z){return oe(rt&ze|~rt&yt,Ne,rt,gt,_e,Z)}function U(Ne,rt,ze,yt,gt,_e,Z){return oe(rt&yt|ze&~yt,Ne,rt,gt,_e,Z)}function ie(Ne,rt,ze,yt,gt,_e,Z){return oe(rt^ze^yt,Ne,rt,gt,_e,Z)}function le(Ne,rt,ze,yt,gt,_e,Z){return oe(ze^(rt|~yt),Ne,rt,gt,_e,Z)}const Ke=G("v3",48,function(Ne){if("string"==typeof Ne){var rt=unescape(encodeURIComponent(Ne));Ne=new Uint8Array(rt.length);for(var ze=0;ze>5]>>>gt%32&255,Z=parseInt(yt.charAt(_e>>>4&15)+yt.charAt(15&_e),16);rt.push(Z)}return rt}(function(Ne,rt){Ne[rt>>5]|=128<>5]|=(255&Ne[yt/8])<>>32-rt}const bt=G("v5",80,function(Ne){var rt=[1518500249,1859775393,2400959708,3395469782],ze=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof Ne){var yt=unescape(encodeURIComponent(Ne));Ne=[];for(var gt=0;gt>>0;pt=kt,kt=Rt,Rt=Dt(nt,30)>>>0,nt=Ae,Ae=_t}ze[0]=ze[0]+Ae>>>0,ze[1]=ze[1]+nt>>>0,ze[2]=ze[2]+Rt>>>0,ze[3]=ze[3]+kt>>>0,ze[4]=ze[4]+pt>>>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]]}),Et="00000000-0000-0000-0000-000000000000",dt=function(Ne){if(!d(Ne))throw TypeError("Invalid UUID");return parseInt(Ne.substr(14,1),16)}},8926:he=>{function A(n,l,u,c,r,d,m){try{var p=n[d](m),y=p.value}catch(b){return void u(b)}p.done?l(y):Promise.resolve(y).then(c,r)}he.exports=function(n){return function(){var l=this,u=arguments;return new Promise(function(c,r){var d=n.apply(l,u);function m(y){A(d,c,r,m,p,"next",y)}function p(y){A(d,c,r,m,p,"throw",y)}m(void 0)})}},he.exports.default=he.exports,he.exports.__esModule=!0},655:(he,A,o)=>{"use strict";o.r(A),o.d(A,{__extends:()=>l,__assign:()=>u,__rest:()=>c,__decorate:()=>r,__param:()=>d,__metadata:()=>m,__awaiter:()=>p,__generator:()=>y,__createBinding:()=>b,__exportStar:()=>h,__values:()=>g,__read:()=>s,__spread:()=>C,__spreadArrays:()=>P,__spreadArray:()=>w,__await:()=>D,__asyncGenerator:()=>T,__asyncDelegator:()=>Y,__asyncValues:()=>$,__makeTemplateObject:()=>z,__importStar:()=>X,__importDefault:()=>Q,__classPrivateFieldGet:()=>q,__classPrivateFieldSet:()=>ue});var n=function(me,xe){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(pe,oe){pe.__proto__=oe}||function(pe,oe){for(var ae in oe)Object.prototype.hasOwnProperty.call(oe,ae)&&(pe[ae]=oe[ae])})(me,xe)};function l(me,xe){if("function"!=typeof xe&&null!==xe)throw new TypeError("Class extends value "+String(xe)+" is not a constructor or null");function pe(){this.constructor=me}n(me,xe),me.prototype=null===xe?Object.create(xe):(pe.prototype=xe.prototype,new pe)}var u=function(){return u=Object.assign||function(xe){for(var pe,oe=1,ae=arguments.length;oe=0;le--)(ie=me[le])&&(U=(ae<3?ie(U):ae>3?ie(xe,pe,U):ie(xe,pe))||U);return ae>3&&U&&Object.defineProperty(xe,pe,U),U}function d(me,xe){return function(pe,oe){xe(pe,oe,me)}}function m(me,xe){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(me,xe)}function p(me,xe,pe,oe){return new(pe||(pe=Promise))(function(U,ie){function le(Ke){try{Te(oe.next(Ke))}catch(tt){ie(tt)}}function Ce(Ke){try{Te(oe.throw(Ke))}catch(tt){ie(tt)}}function Te(Ke){Ke.done?U(Ke.value):function(U){return U instanceof pe?U:new pe(function(ie){ie(U)})}(Ke.value).then(le,Ce)}Te((oe=oe.apply(me,xe||[])).next())})}function y(me,xe){var oe,ae,U,ie,pe={label:0,sent:function(){if(1&U[0])throw U[1];return U[1]},trys:[],ops:[]};return ie={next:le(0),throw:le(1),return:le(2)},"function"==typeof Symbol&&(ie[Symbol.iterator]=function(){return this}),ie;function le(Te){return function(Ke){return function(Te){if(oe)throw new TypeError("Generator is already executing.");for(;pe;)try{if(oe=1,ae&&(U=2&Te[0]?ae.return:Te[0]?ae.throw||((U=ae.return)&&U.call(ae),0):ae.next)&&!(U=U.call(ae,Te[1])).done)return U;switch(ae=0,U&&(Te=[2&Te[0],U.value]),Te[0]){case 0:case 1:U=Te;break;case 4:return pe.label++,{value:Te[1],done:!1};case 5:pe.label++,ae=Te[1],Te=[0];continue;case 7:Te=pe.ops.pop(),pe.trys.pop();continue;default:if(!(U=(U=pe.trys).length>0&&U[U.length-1])&&(6===Te[0]||2===Te[0])){pe=0;continue}if(3===Te[0]&&(!U||Te[1]>U[0]&&Te[1]=me.length&&(me=void 0),{value:me&&me[oe++],done:!me}}};throw new TypeError(xe?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(me,xe){var pe="function"==typeof Symbol&&me[Symbol.iterator];if(!pe)return me;var ae,ie,oe=pe.call(me),U=[];try{for(;(void 0===xe||xe-- >0)&&!(ae=oe.next()).done;)U.push(ae.value)}catch(le){ie={error:le}}finally{try{ae&&!ae.done&&(pe=oe.return)&&pe.call(oe)}finally{if(ie)throw ie.error}}return U}function C(){for(var me=[],xe=0;xe1||le(ot,mt)})})}function le(ot,mt){try{!function(ot){ot.value instanceof D?Promise.resolve(ot.value.v).then(Te,Ke):tt(U[0][2],ot)}(oe[ot](mt))}catch(Dt){tt(U[0][3],Dt)}}function Te(ot){le("next",ot)}function Ke(ot){le("throw",ot)}function tt(ot,mt){ot(mt),U.shift(),U.length&&le(U[0][0],U[0][1])}}function Y(me){var xe,pe;return xe={},oe("next"),oe("throw",function(ae){throw ae}),oe("return"),xe[Symbol.iterator]=function(){return this},xe;function oe(ae,U){xe[ae]=me[ae]?function(ie){return(pe=!pe)?{value:D(me[ae](ie)),done:"return"===ae}:U?U(ie):ie}:U}}function $(me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,xe=me[Symbol.asyncIterator];return xe?xe.call(me):(me=g(me),pe={},oe("next"),oe("throw"),oe("return"),pe[Symbol.asyncIterator]=function(){return this},pe);function oe(U){pe[U]=me[U]&&function(ie){return new Promise(function(le,Ce){!function(U,ie,le,Ce){Promise.resolve(Ce).then(function(Te){U({value:Te,done:le})},ie)}(le,Ce,(ie=me[U](ie)).done,ie.value)})}}}function z(me,xe){return Object.defineProperty?Object.defineProperty(me,"raw",{value:xe}):me.raw=xe,me}var G=Object.create?function(me,xe){Object.defineProperty(me,"default",{enumerable:!0,value:xe})}:function(me,xe){me.default=xe};function X(me){if(me&&me.__esModule)return me;var xe={};if(null!=me)for(var pe in me)"default"!==pe&&Object.prototype.hasOwnProperty.call(me,pe)&&b(xe,me,pe);return G(xe,me),xe}function Q(me){return me&&me.__esModule?me:{default:me}}function q(me,xe){if(!xe.has(me))throw new TypeError("attempted to get private field on non-instance");return xe.get(me)}function ue(me,xe,pe){if(!xe.has(me))throw new TypeError("attempted to set private field on non-instance");return xe.set(me,pe),pe}},1777:(he,A,o)=>{"use strict";o.d(A,{l3:()=>u,_j:()=>n,LC:()=>l,ZN:()=>T,jt:()=>r,pV:()=>s,F4:()=>b,IO:()=>P,vP:()=>m,SB:()=>y,oB:()=>p,eR:()=>h,X$:()=>c,ZE:()=>Y,k1:()=>$});class n{}class l{}const u="*";function c(z,G){return{type:7,name:z,definitions:G,options:{}}}function r(z,G=null){return{type:4,styles:G,timings:z}}function m(z,G=null){return{type:2,steps:z,options:G}}function p(z){return{type:6,styles:z,offset:null}}function y(z,G,X){return{type:0,name:z,styles:G,options:X}}function b(z){return{type:5,steps:z}}function h(z,G,X=null){return{type:1,expr:z,animation:G,options:X}}function s(z=null){return{type:9,options:z}}function P(z,G,X=null){return{type:11,selector:z,animation:G,options:X}}function D(z){Promise.resolve(null).then(z)}class T{constructor(G=0,X=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=G+X}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(G=>G()),this._onDoneFns=[])}onStart(G){this._onStartFns.push(G)}onDone(G){this._onDoneFns.push(G)}onDestroy(G){this._onDestroyFns.push(G)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){D(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(G=>G()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(G=>G()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(G){this._position=this.totalTime?G*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(G){const X="start"==G?this._onStartFns:this._onDoneFns;X.forEach(Q=>Q()),X.length=0}}class Y{constructor(G){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=G;let X=0,Q=0,q=0;const ue=this.players.length;0==ue?D(()=>this._onFinish()):this.players.forEach(me=>{me.onDone(()=>{++X==ue&&this._onFinish()}),me.onDestroy(()=>{++Q==ue&&this._onDestroy()}),me.onStart(()=>{++q==ue&&this._onStart()})}),this.totalTime=this.players.reduce((me,xe)=>Math.max(me,xe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(G=>G()),this._onDoneFns=[])}init(){this.players.forEach(G=>G.init())}onStart(G){this._onStartFns.push(G)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(G=>G()),this._onStartFns=[])}onDone(G){this._onDoneFns.push(G)}onDestroy(G){this._onDestroyFns.push(G)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(G=>G.play())}pause(){this.players.forEach(G=>G.pause())}restart(){this.players.forEach(G=>G.restart())}finish(){this._onFinish(),this.players.forEach(G=>G.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(G=>G.destroy()),this._onDestroyFns.forEach(G=>G()),this._onDestroyFns=[])}reset(){this.players.forEach(G=>G.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(G){const X=G*this.totalTime;this.players.forEach(Q=>{const q=Q.totalTime?Math.min(1,X/Q.totalTime):1;Q.setPosition(q)})}getPosition(){const G=this.players.reduce((X,Q)=>null===X||Q.totalTime>X.totalTime?Q:X,null);return null!=G?G.getPosition():0}beforeDestroy(){this.players.forEach(G=>{G.beforeDestroy&&G.beforeDestroy()})}triggerCallback(G){const X="start"==G?this._onStartFns:this._onDoneFns;X.forEach(Q=>Q()),X.length=0}}const $="!"},5664:(he,A,o)=>{"use strict";o.d(A,{rt:()=>Pe,s1:()=>ie,$s:()=>pe,Qr:()=>pt,kH:()=>Mt,mK:()=>ze,Em:()=>le,tE:()=>_t,qm:()=>Ft,Kd:()=>kt,X6:()=>_,yG:()=>x});var n=o(9808),l=o(5e3),u=o(8929),c=o(2654),r=o(591),d=o(1086),m=o(1159),p=o(2868),y=o(13),b=o(2198),h=o(4850),g=o(2986),s=o(1307),C=o(5778),P=o(7625),w=o(3191),D=o(925),T=o(7144);function G(Ee,B){return(Ee.getAttribute(B)||"").match(/\S+/g)||[]}const X="cdk-describedby-message-container",Q="cdk-describedby-message",q="cdk-describedby-host";let ue=0;const me=new Map;let xe=null,pe=(()=>{class Ee{constructor(V){this._document=V}describe(V,be,je){if(!this._canBeDescribed(V,be))return;const Ct=oe(be,je);"string"!=typeof be?(ae(be),me.set(Ct,{messageElement:be,referenceCount:0})):me.has(Ct)||this._createMessageElement(be,je),this._isElementDescribedByMessage(V,Ct)||this._addMessageReference(V,Ct)}removeDescription(V,be,je){if(!be||!this._isElementNode(V))return;const Ct=oe(be,je);if(this._isElementDescribedByMessage(V,Ct)&&this._removeMessageReference(V,Ct),"string"==typeof be){const Ht=me.get(Ct);Ht&&0===Ht.referenceCount&&this._deleteMessageElement(Ct)}xe&&0===xe.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const V=this._document.querySelectorAll(`[${q}]`);for(let be=0;be0!=je.indexOf(Q));V.setAttribute("aria-describedby",be.join(" "))}_addMessageReference(V,be){const je=me.get(be);(function(Ee,B,V){const be=G(Ee,B);be.some(je=>je.trim()==V.trim())||(be.push(V.trim()),Ee.setAttribute(B,be.join(" ")))})(V,"aria-describedby",je.messageElement.id),V.setAttribute(q,""),je.referenceCount++}_removeMessageReference(V,be){const je=me.get(be);je.referenceCount--,function(Ee,B,V){const je=G(Ee,B).filter(Ct=>Ct!=V.trim());je.length?Ee.setAttribute(B,je.join(" ")):Ee.removeAttribute(B)}(V,"aria-describedby",je.messageElement.id),V.removeAttribute(q)}_isElementDescribedByMessage(V,be){const je=G(V,"aria-describedby"),Ct=me.get(be),Ht=Ct&&Ct.messageElement.id;return!!Ht&&-1!=je.indexOf(Ht)}_canBeDescribed(V,be){if(!this._isElementNode(V))return!1;if(be&&"object"==typeof be)return!0;const je=null==be?"":`${be}`.trim(),Ct=V.getAttribute("aria-label");return!(!je||Ct&&Ct.trim()===je)}_isElementNode(V){return V.nodeType===this._document.ELEMENT_NODE}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(n.DOCUMENT))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();function oe(Ee,B){return"string"==typeof Ee?`${B||""}/${Ee}`:Ee}function ae(Ee){Ee.id||(Ee.id=`${Q}-${ue++}`)}class U{constructor(B){this._items=B,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new u.xQ,this._typeaheadSubscription=c.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=V=>V.disabled,this._pressedLetters=[],this.tabOut=new u.xQ,this.change=new u.xQ,B instanceof l.QueryList&&B.changes.subscribe(V=>{if(this._activeItem){const je=V.toArray().indexOf(this._activeItem);je>-1&&je!==this._activeItemIndex&&(this._activeItemIndex=je)}})}skipPredicate(B){return this._skipPredicateFn=B,this}withWrap(B=!0){return this._wrap=B,this}withVerticalOrientation(B=!0){return this._vertical=B,this}withHorizontalOrientation(B){return this._horizontal=B,this}withAllowedModifierKeys(B){return this._allowedModifierKeys=B,this}withTypeAhead(B=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,p.b)(V=>this._pressedLetters.push(V)),(0,y.b)(B),(0,b.h)(()=>this._pressedLetters.length>0),(0,h.U)(()=>this._pressedLetters.join(""))).subscribe(V=>{const be=this._getItemsArray();for(let je=1;je!B[Ct]||this._allowedModifierKeys.indexOf(Ct)>-1);switch(V){case m.Mf:return void this.tabOut.next();case m.JH:if(this._vertical&&je){this.setNextItemActive();break}return;case m.LH:if(this._vertical&&je){this.setPreviousItemActive();break}return;case m.SV:if(this._horizontal&&je){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case m.oh:if(this._horizontal&&je){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case m.Sd:if(this._homeAndEnd&&je){this.setFirstItemActive();break}return;case m.uR:if(this._homeAndEnd&&je){this.setLastItemActive();break}return;default:return void((je||(0,m.Vb)(B,"shiftKey"))&&(B.key&&1===B.key.length?this._letterKeyStream.next(B.key.toLocaleUpperCase()):(V>=m.A&&V<=m.Z||V>=m.xE&&V<=m.aO)&&this._letterKeyStream.next(String.fromCharCode(V))))}this._pressedLetters=[],B.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(B){const V=this._getItemsArray(),be="number"==typeof B?B:V.indexOf(B),je=V[be];this._activeItem=null==je?null:je,this._activeItemIndex=be}_setActiveItemByDelta(B){this._wrap?this._setActiveInWrapMode(B):this._setActiveInDefaultMode(B)}_setActiveInWrapMode(B){const V=this._getItemsArray();for(let be=1;be<=V.length;be++){const je=(this._activeItemIndex+B*be+V.length)%V.length;if(!this._skipPredicateFn(V[je]))return void this.setActiveItem(je)}}_setActiveInDefaultMode(B){this._setActiveItemByIndex(this._activeItemIndex+B,B)}_setActiveItemByIndex(B,V){const be=this._getItemsArray();if(be[B]){for(;this._skipPredicateFn(be[B]);)if(!be[B+=V])return;this.setActiveItem(B)}}_getItemsArray(){return this._items instanceof l.QueryList?this._items.toArray():this._items}}class ie extends U{setActiveItem(B){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(B),this.activeItem&&this.activeItem.setActiveStyles()}}class le extends U{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(B){return this._origin=B,this}setActiveItem(B){super.setActiveItem(B),this.activeItem&&this.activeItem.focus(this._origin)}}let Te=(()=>{class Ee{constructor(V){this._platform=V}isDisabled(V){return V.hasAttribute("disabled")}isVisible(V){return function(Ee){return!!(Ee.offsetWidth||Ee.offsetHeight||"function"==typeof Ee.getClientRects&&Ee.getClientRects().length)}(V)&&"visible"===getComputedStyle(V).visibility}isTabbable(V){if(!this._platform.isBrowser)return!1;const be=function(Ee){try{return Ee.frameElement}catch(B){return null}}(function(Ee){return Ee.ownerDocument&&Ee.ownerDocument.defaultView||window}(V));if(be&&(-1===bt(be)||!this.isVisible(be)))return!1;let je=V.nodeName.toLowerCase(),Ct=bt(V);return V.hasAttribute("contenteditable")?-1!==Ct:!("iframe"===je||"object"===je||this._platform.WEBKIT&&this._platform.IOS&&!function(Ee){let B=Ee.nodeName.toLowerCase(),V="input"===B&&Ee.type;return"text"===V||"password"===V||"select"===B||"textarea"===B}(V))&&("audio"===je?!!V.hasAttribute("controls")&&-1!==Ct:"video"===je?-1!==Ct&&(null!==Ct||this._platform.FIREFOX||V.hasAttribute("controls")):V.tabIndex>=0)}isFocusable(V,be){return function(Ee){return!function(Ee){return function(Ee){return"input"==Ee.nodeName.toLowerCase()}(Ee)&&"hidden"==Ee.type}(Ee)&&(function(Ee){let B=Ee.nodeName.toLowerCase();return"input"===B||"select"===B||"button"===B||"textarea"===B}(Ee)||function(Ee){return function(Ee){return"a"==Ee.nodeName.toLowerCase()}(Ee)&&Ee.hasAttribute("href")}(Ee)||Ee.hasAttribute("contenteditable")||ct(Ee))}(V)&&!this.isDisabled(V)&&((null==be?void 0:be.ignoreVisibility)||this.isVisible(V))}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(D.t4))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();function ct(Ee){if(!Ee.hasAttribute("tabindex")||void 0===Ee.tabIndex)return!1;let B=Ee.getAttribute("tabindex");return!(!B||isNaN(parseInt(B,10)))}function bt(Ee){if(!ct(Ee))return null;const B=parseInt(Ee.getAttribute("tabindex")||"",10);return isNaN(B)?-1:B}class Ne{constructor(B,V,be,je,Ct=!1){this._element=B,this._checker=V,this._ngZone=be,this._document=je,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Ct||this.attachAnchors()}get enabled(){return this._enabled}set enabled(B){this._enabled=B,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(B,this._startAnchor),this._toggleAnchorTabIndex(B,this._endAnchor))}destroy(){const B=this._startAnchor,V=this._endAnchor;B&&(B.removeEventListener("focus",this.startAnchorListener),B.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(B){return new Promise(V=>{this._executeOnStable(()=>V(this.focusInitialElement(B)))})}focusFirstTabbableElementWhenReady(B){return new Promise(V=>{this._executeOnStable(()=>V(this.focusFirstTabbableElement(B)))})}focusLastTabbableElementWhenReady(B){return new Promise(V=>{this._executeOnStable(()=>V(this.focusLastTabbableElement(B)))})}_getRegionBoundary(B){const V=this._element.querySelectorAll(`[cdk-focus-region-${B}], [cdkFocusRegion${B}], [cdk-focus-${B}]`);return"start"==B?V.length?V[0]:this._getFirstTabbableElement(this._element):V.length?V[V.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(B){const V=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(V){if(!this._checker.isFocusable(V)){const be=this._getFirstTabbableElement(V);return null==be||be.focus(B),!!be}return V.focus(B),!0}return this.focusFirstTabbableElement(B)}focusFirstTabbableElement(B){const V=this._getRegionBoundary("start");return V&&V.focus(B),!!V}focusLastTabbableElement(B){const V=this._getRegionBoundary("end");return V&&V.focus(B),!!V}hasAttached(){return this._hasAttached}_getFirstTabbableElement(B){if(this._checker.isFocusable(B)&&this._checker.isTabbable(B))return B;const V=B.children;for(let be=0;be=0;be--){const je=V[be].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(V[be]):null;if(je)return je}return null}_createAnchor(){const B=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,B),B.classList.add("cdk-visually-hidden"),B.classList.add("cdk-focus-trap-anchor"),B.setAttribute("aria-hidden","true"),B}_toggleAnchorTabIndex(B,V){B?V.setAttribute("tabindex","0"):V.removeAttribute("tabindex")}toggleAnchors(B){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(B,this._startAnchor),this._toggleAnchorTabIndex(B,this._endAnchor))}_executeOnStable(B){this._ngZone.isStable?B():this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(B)}}let rt=(()=>{class Ee{constructor(V,be,je){this._checker=V,this._ngZone=be,this._document=je}create(V,be=!1){return new Ne(V,this._checker,this._ngZone,this._document,be)}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(Te),l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(n.DOCUMENT))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),ze=(()=>{class Ee{constructor(V,be,je){this._elementRef=V,this._focusTrapFactory=be,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(V){this.focusTrap.enabled=(0,w.Ig)(V)}get autoCapture(){return this._autoCapture}set autoCapture(V){this._autoCapture=(0,w.Ig)(V)}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 be=V.autoCapture;be&&!be.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,D.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(rt),l.\u0275\u0275directiveInject(n.DOCUMENT))},Ee.\u0275dir=l.\u0275\u0275defineDirective({type:Ee,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[l.\u0275\u0275NgOnChangesFeature]}),Ee})();function _(Ee){return 0===Ee.offsetX&&0===Ee.offsetY}function x(Ee){const B=Ee.touches&&Ee.touches[0]||Ee.changedTouches&&Ee.changedTouches[0];return!(!B||-1!==B.identifier||null!=B.radiusX&&1!==B.radiusX||null!=B.radiusY&&1!==B.radiusY)}const N=new l.InjectionToken("cdk-input-modality-detector-options"),ce={ignoreKeys:[m.zL,m.jx,m.b2,m.MW,m.JU]},Oe=(0,D.i$)({passive:!0,capture:!0});let ve=(()=>{class Ee{constructor(V,be,je,Ct){this._platform=V,this._mostRecentTarget=null,this._modality=new r.X(null),this._lastTouchMs=0,this._onKeydown=Ht=>{var $t,vn;(null===(vn=null===($t=this._options)||void 0===$t?void 0:$t.ignoreKeys)||void 0===vn?void 0:vn.some(it=>it===Ht.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,D.sA)(Ht))},this._onMousedown=Ht=>{Date.now()-this._lastTouchMs<650||(this._modality.next(_(Ht)?"keyboard":"mouse"),this._mostRecentTarget=(0,D.sA)(Ht))},this._onTouchstart=Ht=>{x(Ht)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,D.sA)(Ht))},this._options=Object.assign(Object.assign({},ce),Ct),this.modalityDetected=this._modality.pipe((0,s.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,C.x)()),V.isBrowser&&be.runOutsideAngular(()=>{je.addEventListener("keydown",this._onKeydown,Oe),je.addEventListener("mousedown",this._onMousedown,Oe),je.addEventListener("touchstart",this._onTouchstart,Oe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Oe),document.removeEventListener("mousedown",this._onMousedown,Oe),document.removeEventListener("touchstart",this._onTouchstart,Oe))}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(D.t4),l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(n.DOCUMENT),l.\u0275\u0275inject(N,8))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();const Ae=new l.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Rt=new l.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let kt=(()=>{class Ee{constructor(V,be,je,Ct){this._ngZone=be,this._defaultOptions=Ct,this._document=je,this._liveElement=V||this._createLiveElement()}announce(V,...be){const je=this._defaultOptions;let Ct,Ht;return 1===be.length&&"number"==typeof be[0]?Ht=be[0]:[Ct,Ht]=be,this.clear(),clearTimeout(this._previousTimeout),Ct||(Ct=je&&je.politeness?je.politeness:"polite"),null==Ht&&je&&(Ht=je.duration),this._liveElement.setAttribute("aria-live",Ct),this._ngZone.runOutsideAngular(()=>new Promise($t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=V,$t(),"number"==typeof Ht&&(this._previousTimeout=setTimeout(()=>this.clear(),Ht))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var V;clearTimeout(this._previousTimeout),null===(V=this._liveElement)||void 0===V||V.remove(),this._liveElement=null}_createLiveElement(){const V="cdk-live-announcer-element",be=this._document.getElementsByClassName(V),je=this._document.createElement("div");for(let Ct=0;Ct{class Ee{constructor(V,be,je,Ct){this._elementRef=V,this._liveAnnouncer=be,this._contentObserver=je,this._ngZone=Ct,this._politeness="polite"}get politeness(){return this._politeness}set politeness(V){this._politeness="off"===V||"assertive"===V?V:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const be=this._elementRef.nativeElement.textContent;be!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(be,this._politeness),this._previousAnnouncedText=be)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(kt),l.\u0275\u0275directiveInject(T.yq),l.\u0275\u0275directiveInject(l.NgZone))},Ee.\u0275dir=l.\u0275\u0275defineDirective({type:Ee,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),Ee})();const Pt=new l.InjectionToken("cdk-focus-monitor-default-options"),$e=(0,D.i$)({passive:!0,capture:!0});let _t=(()=>{class Ee{constructor(V,be,je,Ct,Ht){this._ngZone=V,this._platform=be,this._inputModalityDetector=je,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=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new u.xQ,this._rootNodeFocusAndBlurListener=$t=>{const vn=(0,D.sA)($t),it="focus"===$t.type?this._onFocus:this._onBlur;for(let st=vn;st;st=st.parentElement)it.call(this,$t,st)},this._document=Ct,this._detectionMode=(null==Ht?void 0:Ht.detectionMode)||0}monitor(V,be=!1){const je=(0,w.fI)(V);if(!this._platform.isBrowser||1!==je.nodeType)return(0,d.of)(null);const Ct=(0,D.kV)(je)||this._getDocument(),Ht=this._elementInfo.get(je);if(Ht)return be&&(Ht.checkChildren=!0),Ht.subject;const $t={checkChildren:be,subject:new u.xQ,rootNode:Ct};return this._elementInfo.set(je,$t),this._registerGlobalListeners($t),$t.subject}stopMonitoring(V){const be=(0,w.fI)(V),je=this._elementInfo.get(be);je&&(je.subject.complete(),this._setClasses(be),this._elementInfo.delete(be),this._removeGlobalListeners(je))}focusVia(V,be,je){const Ct=(0,w.fI)(V);Ct===this._getDocument().activeElement?this._getClosestElementsInfo(Ct).forEach(([$t,vn])=>this._originChanged($t,be,vn)):(this._setOrigin(be),"function"==typeof Ct.focus&&Ct.focus(je))}ngOnDestroy(){this._elementInfo.forEach((V,be)=>this.stopMonitoring(be))}_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:"program"}_shouldBeAttributedToTouch(V){return 1===this._detectionMode||!!(null==V?void 0:V.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(V,be){V.classList.toggle("cdk-focused",!!be),V.classList.toggle("cdk-touch-focused","touch"===be),V.classList.toggle("cdk-keyboard-focused","keyboard"===be),V.classList.toggle("cdk-mouse-focused","mouse"===be),V.classList.toggle("cdk-program-focused","program"===be)}_setOrigin(V,be=!1){this._ngZone.runOutsideAngular(()=>{this._origin=V,this._originFromTouchInteraction="touch"===V&&be,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(V,be){const je=this._elementInfo.get(be),Ct=(0,D.sA)(V);!je||!je.checkChildren&&be!==Ct||this._originChanged(be,this._getFocusOrigin(Ct),je)}_onBlur(V,be){const je=this._elementInfo.get(be);!je||je.checkChildren&&V.relatedTarget instanceof Node&&be.contains(V.relatedTarget)||(this._setClasses(be),this._emitOrigin(je.subject,null))}_emitOrigin(V,be){this._ngZone.run(()=>V.next(be))}_registerGlobalListeners(V){if(!this._platform.isBrowser)return;const be=V.rootNode,je=this._rootNodeFocusListenerCount.get(be)||0;je||this._ngZone.runOutsideAngular(()=>{be.addEventListener("focus",this._rootNodeFocusAndBlurListener,$e),be.addEventListener("blur",this._rootNodeFocusAndBlurListener,$e)}),this._rootNodeFocusListenerCount.set(be,je+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,P.R)(this._stopInputModalityDetector)).subscribe(Ct=>{this._setOrigin(Ct,!0)}))}_removeGlobalListeners(V){const be=V.rootNode;if(this._rootNodeFocusListenerCount.has(be)){const je=this._rootNodeFocusListenerCount.get(be);je>1?this._rootNodeFocusListenerCount.set(be,je-1):(be.removeEventListener("focus",this._rootNodeFocusAndBlurListener,$e),be.removeEventListener("blur",this._rootNodeFocusAndBlurListener,$e),this._rootNodeFocusListenerCount.delete(be))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(V,be,je){this._setClasses(V,be),this._emitOrigin(je.subject,be),this._lastFocusOrigin=be}_getClosestElementsInfo(V){const be=[];return this._elementInfo.forEach((je,Ct)=>{(Ct===V||je.checkChildren&&Ct.contains(V))&&be.push([Ct,je])}),be}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(D.t4),l.\u0275\u0275inject(ve),l.\u0275\u0275inject(n.DOCUMENT,8),l.\u0275\u0275inject(Pt,8))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),Mt=(()=>{class Ee{constructor(V,be){this._elementRef=V,this._focusMonitor=be,this.cdkFocusChange=new l.EventEmitter}ngAfterViewInit(){const V=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(V,1===V.nodeType&&V.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(be=>this.cdkFocusChange.emit(be))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(_t))},Ee.\u0275dir=l.\u0275\u0275defineDirective({type:Ee,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),Ee})();const Ge="cdk-high-contrast-black-on-white",lt="cdk-high-contrast-white-on-black",Ot="cdk-high-contrast-active";let Ft=(()=>{class Ee{constructor(V,be){this._platform=V,this._document=be}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 be=this._document.defaultView||window,je=be&&be.getComputedStyle?be.getComputedStyle(V):null,Ct=(je&&je.backgroundColor||"").replace(/ /g,"");switch(V.remove(),Ct){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const V=this._document.body.classList;V.remove(Ot),V.remove(Ge),V.remove(lt),this._hasCheckedHighContrastMode=!0;const be=this.getHighContrastMode();1===be?(V.add(Ot),V.add(Ge)):2===be&&(V.add(Ot),V.add(lt))}}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(D.t4),l.\u0275\u0275inject(n.DOCUMENT))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),Pe=(()=>{class Ee{constructor(V){V._applyBodyHighContrastModeCssClasses()}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(Ft))},Ee.\u0275mod=l.\u0275\u0275defineNgModule({type:Ee}),Ee.\u0275inj=l.\u0275\u0275defineInjector({imports:[[D.ud,T.Q8]]}),Ee})()},226:(he,A,o)=>{"use strict";o.d(A,{vT:()=>y,Is:()=>m});var n=o(5e3),l=o(9808);const u=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,n.inject)(l.DOCUMENT)}}),r=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let m=(()=>{class b{constructor(g){if(this.value="ltr",this.change=new n.EventEmitter,g){const C=g.documentElement?g.documentElement.dir:null;this.value=function(b){const h=(null==b?void 0:b.toLowerCase())||"";return"auto"===h&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?r.test(navigator.language)?"rtl":"ltr":"rtl"===h?"rtl":"ltr"}((g.body?g.body.dir:null)||C||"ltr")}}ngOnDestroy(){this.change.complete()}}return b.\u0275fac=function(g){return new(g||b)(n.\u0275\u0275inject(u,8))},b.\u0275prov=n.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),y=(()=>{class b{}return b.\u0275fac=function(g){return new(g||b)},b.\u0275mod=n.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=n.\u0275\u0275defineInjector({}),b})()},3191:(he,A,o)=>{"use strict";o.d(A,{t6:()=>c,Eq:()=>r,Ig:()=>l,HM:()=>d,fI:()=>m,su:()=>u,du:()=>p});var n=o(5e3);function l(y){return null!=y&&"false"!=`${y}`}function u(y,b=0){return c(y)?Number(y):b}function c(y){return!isNaN(parseFloat(y))&&!isNaN(Number(y))}function r(y){return Array.isArray(y)?y:[y]}function d(y){return null==y?"":"string"==typeof y?y:`${y}px`}function m(y){return y instanceof n.ElementRef?y.nativeElement:y}function p(y,b=/\s+/){const h=[];if(null!=y){const g=Array.isArray(y)?y:`${y}`.split(b);for(const s of g){const C=`${s}`.trim();C&&h.push(C)}}return h}},449:(he,A,o)=>{"use strict";o.d(A,{o2:()=>u,Ov:()=>p,A8:()=>b,yy:()=>d,eX:()=>m,k:()=>h,Z9:()=>c});var n=o(8929),l=o(5e3);class u{}function c(g){return g&&"function"==typeof g.connect}class d{applyChanges(s,C,P,w,D){s.forEachOperation((T,Y,$)=>{let z,G;if(null==T.previousIndex){const X=P(T,Y,$);z=C.createEmbeddedView(X.templateRef,X.context,X.index),G=1}else null==$?(C.remove(Y),G=3):(z=C.get(Y),C.move(z,$),G=2);D&&D({context:null==z?void 0:z.context,operation:G,record:T})})}detach(){}}class m{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(s,C,P,w,D){s.forEachOperation((T,Y,$)=>{let z,G;null==T.previousIndex?(z=this._insertView(()=>P(T,Y,$),$,C,w(T)),G=z?1:0):null==$?(this._detachAndCacheView(Y,C),G=3):(z=this._moveView(Y,$,C,w(T)),G=2),D&&D({context:null==z?void 0:z.context,operation:G,record:T})})}detach(){for(const s of this._viewCache)s.destroy();this._viewCache=[]}_insertView(s,C,P,w){const D=this._insertViewFromCache(C,P);if(D)return void(D.context.$implicit=w);const T=s();return P.createEmbeddedView(T.templateRef,T.context,T.index)}_detachAndCacheView(s,C){const P=C.detach(s);this._maybeCacheView(P,C)}_moveView(s,C,P,w){const D=P.get(s);return P.move(D,C),D.context.$implicit=w,D}_maybeCacheView(s,C){if(this._viewCache.lengththis._markSelected(w)):this._markSelected(C[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...s){this._verifyValueAssignment(s),s.forEach(C=>this._markSelected(C)),this._emitChangeEvent()}deselect(...s){this._verifyValueAssignment(s),s.forEach(C=>this._unmarkSelected(C)),this._emitChangeEvent()}toggle(s){this.isSelected(s)?this.deselect(s):this.select(s)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(s){return this._selection.has(s)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(s){this._multiple&&this.selected&&this._selected.sort(s)}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(s){this.isSelected(s)||(this._multiple||this._unmarkAll(),this._selection.add(s),this._emitChanges&&this._selectedToEmit.push(s))}_unmarkSelected(s){this.isSelected(s)&&(this._selection.delete(s),this._emitChanges&&this._deselectedToEmit.push(s))}_unmarkAll(){this.isEmpty()||this._selection.forEach(s=>this._unmarkSelected(s))}_verifyValueAssignment(s){}}let b=(()=>{class g{constructor(){this._listeners=[]}notify(C,P){for(let w of this._listeners)w(C,P)}listen(C){return this._listeners.push(C),()=>{this._listeners=this._listeners.filter(P=>C!==P)}}ngOnDestroy(){this._listeners=[]}}return g.\u0275fac=function(C){return new(C||g)},g.\u0275prov=l.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac,providedIn:"root"}),g})();const h=new l.InjectionToken("_ViewRepeater")},1159:(he,A,o)=>{"use strict";o.d(A,{A:()=>ot,zL:()=>p,ZH:()=>l,jx:()=>m,JH:()=>$,uR:()=>P,K5:()=>r,hY:()=>h,Sd:()=>w,oh:()=>D,b2:()=>Bn,MW:()=>nt,aO:()=>le,VM:()=>C,Ku:()=>s,SV:()=>Y,JU:()=>d,L_:()=>g,Mf:()=>u,LH:()=>T,Z:()=>Ae,xE:()=>q,Vb:()=>An});const l=8,u=9,r=13,d=16,m=17,p=18,h=27,g=32,s=33,C=34,P=35,w=36,D=37,T=38,Y=39,$=40,q=48,le=57,ot=65,Ae=90,nt=91,Bn=224;function An(kn,...bn){return bn.length?bn.some(ui=>kn[ui]):kn.altKey||kn.shiftKey||kn.ctrlKey||kn.metaKey}},7144:(he,A,o)=>{"use strict";o.d(A,{wD:()=>p,yq:()=>m,Q8:()=>y});var n=o(3191),l=o(5e3),u=o(6498),c=o(8929),r=o(13);let d=(()=>{class b{create(g){return"undefined"==typeof MutationObserver?null:new MutationObserver(g)}}return b.\u0275fac=function(g){return new(g||b)},b.\u0275prov=l.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),m=(()=>{class b{constructor(g){this._mutationObserverFactory=g,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((g,s)=>this._cleanupObserver(s))}observe(g){const s=(0,n.fI)(g);return new u.y(C=>{const w=this._observeElement(s).subscribe(C);return()=>{w.unsubscribe(),this._unobserveElement(s)}})}_observeElement(g){if(this._observedElements.has(g))this._observedElements.get(g).count++;else{const s=new c.xQ,C=this._mutationObserverFactory.create(P=>s.next(P));C&&C.observe(g,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(g,{observer:C,stream:s,count:1})}return this._observedElements.get(g).stream}_unobserveElement(g){this._observedElements.has(g)&&(this._observedElements.get(g).count--,this._observedElements.get(g).count||this._cleanupObserver(g))}_cleanupObserver(g){if(this._observedElements.has(g)){const{observer:s,stream:C}=this._observedElements.get(g);s&&s.disconnect(),C.complete(),this._observedElements.delete(g)}}}return b.\u0275fac=function(g){return new(g||b)(l.\u0275\u0275inject(d))},b.\u0275prov=l.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),p=(()=>{class b{constructor(g,s,C){this._contentObserver=g,this._elementRef=s,this._ngZone=C,this.event=new l.EventEmitter,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(g){this._disabled=(0,n.Ig)(g),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(g){this._debounce=(0,n.su)(g),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const g=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?g.pipe((0,r.b)(this.debounce)):g).subscribe(this.event)})}_unsubscribe(){var g;null===(g=this._currentSubscription)||void 0===g||g.unsubscribe()}}return b.\u0275fac=function(g){return new(g||b)(l.\u0275\u0275directiveInject(m),l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(l.NgZone))},b.\u0275dir=l.\u0275\u0275defineDirective({type:b,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),b})(),y=(()=>{class b{}return b.\u0275fac=function(g){return new(g||b)},b.\u0275mod=l.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=l.\u0275\u0275defineInjector({providers:[d]}),b})()},1314:(he,A,o)=>{"use strict";o.d(A,{pI:()=>Ne,xu:()=>dt,_G:()=>le,aV:()=>bt,X_:()=>Q,U8:()=>yt});var n=o(9071),l=o(9808),u=o(5e3),c=o(3191),r=o(925),d=o(226),m=o(7429),p=o(8929),y=o(2654),b=o(6787),h=o(2986),g=o(7625),s=o(4290),C=o(1159);const P=(0,r.Mq)();class w{constructor(Z,j){this._viewportRuler=Z,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=j}attach(){}enable(){if(this._canBeEnabled()){const Z=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Z.style.left||"",this._previousHTMLStyles.top=Z.style.top||"",Z.style.left=(0,c.HM)(-this._previousScrollPosition.left),Z.style.top=(0,c.HM)(-this._previousScrollPosition.top),Z.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Z=this._document.documentElement,_=Z.style,x=this._document.body.style,N=_.scrollBehavior||"",ce=x.scrollBehavior||"";this._isEnabled=!1,_.left=this._previousHTMLStyles.left,_.top=this._previousHTMLStyles.top,Z.classList.remove("cdk-global-scrollblock"),P&&(_.scrollBehavior=x.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),P&&(_.scrollBehavior=N,x.scrollBehavior=ce)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const j=this._document.body,_=this._viewportRuler.getViewportSize();return j.scrollHeight>_.height||j.scrollWidth>_.width}}class T{constructor(Z,j,_,x){this._scrollDispatcher=Z,this._ngZone=j,this._viewportRuler=_,this._config=x,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Z){this._overlayRef=Z}enable(){if(this._scrollSubscription)return;const Z=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Z.subscribe(()=>{const j=this._viewportRuler.getViewportScrollPosition().top;Math.abs(j-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Z.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Y{enable(){}disable(){}attach(){}}function $(_e,Z){return Z.some(j=>_e.bottomj.bottom||_e.rightj.right)}function z(_e,Z){return Z.some(j=>_e.topj.bottom||_e.leftj.right)}class G{constructor(Z,j,_,x){this._scrollDispatcher=Z,this._viewportRuler=j,this._ngZone=_,this._config=x,this._scrollSubscription=null}attach(Z){this._overlayRef=Z}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 j=this._overlayRef.overlayElement.getBoundingClientRect(),{width:_,height:x}=this._viewportRuler.getViewportSize();$(j,[{width:_,height:x,bottom:x,right:_,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 X=(()=>{class _e{constructor(j,_,x,N){this._scrollDispatcher=j,this._viewportRuler=_,this._ngZone=x,this.noop=()=>new Y,this.close=ce=>new T(this._scrollDispatcher,this._ngZone,this._viewportRuler,ce),this.block=()=>new w(this._viewportRuler,this._document),this.reposition=ce=>new G(this._scrollDispatcher,this._viewportRuler,this._ngZone,ce),this._document=N}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(n.mF),u.\u0275\u0275inject(n.rL),u.\u0275\u0275inject(u.NgZone),u.\u0275\u0275inject(l.DOCUMENT))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();class Q{constructor(Z){if(this.scrollStrategy=new Y,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Z){const j=Object.keys(Z);for(const _ of j)void 0!==Z[_]&&(this[_]=Z[_])}}}class me{constructor(Z,j){this.connectionPair=Z,this.scrollableViewProperties=j}}class oe{constructor(Z,j,_,x,N,ce,Ue,Oe,ve){this._portalOutlet=Z,this._host=j,this._pane=_,this._config=x,this._ngZone=N,this._keyboardDispatcher=ce,this._document=Ue,this._location=Oe,this._outsideClickDispatcher=ve,this._backdropElement=null,this._backdropClick=new p.xQ,this._attachments=new p.xQ,this._detachments=new p.xQ,this._locationChanges=y.w.EMPTY,this._backdropClickHandler=Ae=>this._backdropClick.next(Ae),this._keydownEvents=new p.xQ,this._outsidePointerEvents=new p.xQ,x.scrollStrategy&&(this._scrollStrategy=x.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=x.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Z){let j=this._portalOutlet.attach(Z);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,h.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),j}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Z=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Z}dispose(){var Z;const j=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),null===(Z=this._host)||void 0===Z||Z.remove(),this._previousHostParent=this._pane=this._host=null,j&&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(Z){Z!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Z,this.hasAttached()&&(Z.attach(this),this.updatePosition()))}updateSize(Z){this._config=Object.assign(Object.assign({},this._config),Z),this._updateElementSize()}setDirection(Z){this._config=Object.assign(Object.assign({},this._config),{direction:Z}),this._updateElementDirection()}addPanelClass(Z){this._pane&&this._toggleClasses(this._pane,Z,!0)}removePanelClass(Z){this._pane&&this._toggleClasses(this._pane,Z,!1)}getDirection(){const Z=this._config.direction;return Z?"string"==typeof Z?Z:Z.value:"ltr"}updateScrollStrategy(Z){Z!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Z,this.hasAttached()&&(Z.attach(this),Z.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Z=this._pane.style;Z.width=(0,c.HM)(this._config.width),Z.height=(0,c.HM)(this._config.height),Z.minWidth=(0,c.HM)(this._config.minWidth),Z.minHeight=(0,c.HM)(this._config.minHeight),Z.maxWidth=(0,c.HM)(this._config.maxWidth),Z.maxHeight=(0,c.HM)(this._config.maxHeight)}_togglePointerEvents(Z){this._pane.style.pointerEvents=Z?"":"none"}_attachBackdrop(){const Z="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),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),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Z)})}):this._backdropElement.classList.add(Z)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Z=this._backdropElement;if(!Z)return;let j;const _=()=>{Z&&(Z.removeEventListener("click",this._backdropClickHandler),Z.removeEventListener("transitionend",_),this._disposeBackdrop(Z)),this._config.backdropClass&&this._toggleClasses(Z,this._config.backdropClass,!1),clearTimeout(j)};Z.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Z.addEventListener("transitionend",_)}),Z.style.pointerEvents="none",j=this._ngZone.runOutsideAngular(()=>setTimeout(_,500))}_toggleClasses(Z,j,_){const x=(0,c.Eq)(j||[]).filter(N=>!!N);x.length&&(_?Z.classList.add(...x):Z.classList.remove(...x))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Z=this._ngZone.onStable.pipe((0,g.R)((0,b.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()),Z.unsubscribe())})})}_disposeScrollStrategy(){const Z=this._scrollStrategy;Z&&(Z.disable(),Z.detach&&Z.detach())}_disposeBackdrop(Z){Z&&(Z.remove(),this._backdropElement===Z&&(this._backdropElement=null))}}let ae=(()=>{class _e{constructor(j,_){this._platform=_,this._document=j}ngOnDestroy(){var j;null===(j=this._containerElement)||void 0===j||j.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const j="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const x=this._document.querySelectorAll(`.${j}[platform="server"], .${j}[platform="test"]`);for(let N=0;N{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();const Z=this._originRect,j=this._overlayRect,_=this._viewportRect,x=[];let N;for(let ce of this._preferredPositions){let Ue=this._getOriginPoint(Z,ce),Oe=this._getOverlayPoint(Ue,j,ce),ve=this._getOverlayFit(Oe,j,_,ce);if(ve.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(ce,Ue);this._canFitWithFlexibleDimensions(ve,Oe,_)?x.push({position:ce,origin:Ue,overlayRect:j,boundingBoxRect:this._calculateBoundingBoxRect(Ue,ce)}):(!N||N.overlayFit.visibleAreaUe&&(Ue=ve,ce=Oe)}return this._isPushed=!1,void this._applyPosition(ce.position,ce.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(N.position,N.originPoint);this._applyPosition(N.position,N.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ce(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(U),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const Z=this._lastPosition||this._preferredPositions[0],j=this._getOriginPoint(this._originRect,Z);this._applyPosition(Z,j)}}withScrollableContainers(Z){return this._scrollables=Z,this}withPositions(Z){return this._preferredPositions=Z,-1===Z.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Z){return this._viewportMargin=Z,this}withFlexibleDimensions(Z=!0){return this._hasFlexibleDimensions=Z,this}withGrowAfterOpen(Z=!0){return this._growAfterOpen=Z,this}withPush(Z=!0){return this._canPush=Z,this}withLockedPosition(Z=!0){return this._positionLocked=Z,this}setOrigin(Z){return this._origin=Z,this}withDefaultOffsetX(Z){return this._offsetX=Z,this}withDefaultOffsetY(Z){return this._offsetY=Z,this}withTransformOriginOn(Z){return this._transformOriginSelector=Z,this}_getOriginPoint(Z,j){let _,x;if("center"==j.originX)_=Z.left+Z.width/2;else{const N=this._isRtl()?Z.right:Z.left,ce=this._isRtl()?Z.left:Z.right;_="start"==j.originX?N:ce}return x="center"==j.originY?Z.top+Z.height/2:"top"==j.originY?Z.top:Z.bottom,{x:_,y:x}}_getOverlayPoint(Z,j,_){let x,N;return x="center"==_.overlayX?-j.width/2:"start"===_.overlayX?this._isRtl()?-j.width:0:this._isRtl()?0:-j.width,N="center"==_.overlayY?-j.height/2:"top"==_.overlayY?0:-j.height,{x:Z.x+x,y:Z.y+N}}_getOverlayFit(Z,j,_,x){const N=Ke(j);let{x:ce,y:Ue}=Z,Oe=this._getOffset(x,"x"),ve=this._getOffset(x,"y");Oe&&(ce+=Oe),ve&&(Ue+=ve);let Rt=0-Ue,kt=Ue+N.height-_.height,pt=this._subtractOverflows(N.width,0-ce,ce+N.width-_.width),Pt=this._subtractOverflows(N.height,Rt,kt),$e=pt*Pt;return{visibleArea:$e,isCompletelyWithinViewport:N.width*N.height===$e,fitsInViewportVertically:Pt===N.height,fitsInViewportHorizontally:pt==N.width}}_canFitWithFlexibleDimensions(Z,j,_){if(this._hasFlexibleDimensions){const x=_.bottom-j.y,N=_.right-j.x,ce=Te(this._overlayRef.getConfig().minHeight),Ue=Te(this._overlayRef.getConfig().minWidth),ve=Z.fitsInViewportHorizontally||null!=Ue&&Ue<=N;return(Z.fitsInViewportVertically||null!=ce&&ce<=x)&&ve}return!1}_pushOverlayOnScreen(Z,j,_){if(this._previousPushAmount&&this._positionLocked)return{x:Z.x+this._previousPushAmount.x,y:Z.y+this._previousPushAmount.y};const x=Ke(j),N=this._viewportRect,ce=Math.max(Z.x+x.width-N.width,0),Ue=Math.max(Z.y+x.height-N.height,0),Oe=Math.max(N.top-_.top-Z.y,0),ve=Math.max(N.left-_.left-Z.x,0);let Ae=0,nt=0;return Ae=x.width<=N.width?ve||-ce:Z.xpt&&!this._isInitialRender&&!this._growAfterOpen&&(ce=Z.y-pt/2)}if("end"===j.overlayX&&!x||"start"===j.overlayX&&x)Rt=_.width-Z.x+this._viewportMargin,Ae=Z.x-this._viewportMargin;else if("start"===j.overlayX&&!x||"end"===j.overlayX&&x)nt=Z.x,Ae=_.right-Z.x;else{const kt=Math.min(_.right-Z.x+_.left,Z.x),pt=this._lastBoundingBoxSize.width;Ae=2*kt,nt=Z.x-kt,Ae>pt&&!this._isInitialRender&&!this._growAfterOpen&&(nt=Z.x-pt/2)}return{top:ce,left:nt,bottom:Ue,right:Rt,width:Ae,height:N}}_setBoundingBoxStyles(Z,j){const _=this._calculateBoundingBoxRect(Z,j);!this._isInitialRender&&!this._growAfterOpen&&(_.height=Math.min(_.height,this._lastBoundingBoxSize.height),_.width=Math.min(_.width,this._lastBoundingBoxSize.width));const x={};if(this._hasExactPosition())x.top=x.left="0",x.bottom=x.right=x.maxHeight=x.maxWidth="",x.width=x.height="100%";else{const N=this._overlayRef.getConfig().maxHeight,ce=this._overlayRef.getConfig().maxWidth;x.height=(0,c.HM)(_.height),x.top=(0,c.HM)(_.top),x.bottom=(0,c.HM)(_.bottom),x.width=(0,c.HM)(_.width),x.left=(0,c.HM)(_.left),x.right=(0,c.HM)(_.right),x.alignItems="center"===j.overlayX?"center":"end"===j.overlayX?"flex-end":"flex-start",x.justifyContent="center"===j.overlayY?"center":"bottom"===j.overlayY?"flex-end":"flex-start",N&&(x.maxHeight=(0,c.HM)(N)),ce&&(x.maxWidth=(0,c.HM)(ce))}this._lastBoundingBoxSize=_,Ce(this._boundingBox.style,x)}_resetBoundingBoxStyles(){Ce(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ce(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Z,j){const _={},x=this._hasExactPosition(),N=this._hasFlexibleDimensions,ce=this._overlayRef.getConfig();if(x){const Ae=this._viewportRuler.getViewportScrollPosition();Ce(_,this._getExactOverlayY(j,Z,Ae)),Ce(_,this._getExactOverlayX(j,Z,Ae))}else _.position="static";let Ue="",Oe=this._getOffset(j,"x"),ve=this._getOffset(j,"y");Oe&&(Ue+=`translateX(${Oe}px) `),ve&&(Ue+=`translateY(${ve}px)`),_.transform=Ue.trim(),ce.maxHeight&&(x?_.maxHeight=(0,c.HM)(ce.maxHeight):N&&(_.maxHeight="")),ce.maxWidth&&(x?_.maxWidth=(0,c.HM)(ce.maxWidth):N&&(_.maxWidth="")),Ce(this._pane.style,_)}_getExactOverlayY(Z,j,_){let x={top:"",bottom:""},N=this._getOverlayPoint(j,this._overlayRect,Z);this._isPushed&&(N=this._pushOverlayOnScreen(N,this._overlayRect,_));let ce=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return N.y-=ce,"bottom"===Z.overlayY?x.bottom=this._document.documentElement.clientHeight-(N.y+this._overlayRect.height)+"px":x.top=(0,c.HM)(N.y),x}_getExactOverlayX(Z,j,_){let ce,x={left:"",right:""},N=this._getOverlayPoint(j,this._overlayRect,Z);return this._isPushed&&(N=this._pushOverlayOnScreen(N,this._overlayRect,_)),ce=this._isRtl()?"end"===Z.overlayX?"left":"right":"end"===Z.overlayX?"right":"left","right"===ce?x.right=this._document.documentElement.clientWidth-(N.x+this._overlayRect.width)+"px":x.left=(0,c.HM)(N.x),x}_getScrollVisibility(){const Z=this._getOriginRect(),j=this._pane.getBoundingClientRect(),_=this._scrollables.map(x=>x.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:z(Z,_),isOriginOutsideView:$(Z,_),isOverlayClipped:z(j,_),isOverlayOutsideView:$(j,_)}}_subtractOverflows(Z,...j){return j.reduce((_,x)=>_-Math.max(x,0),Z)}_getNarrowedViewportRect(){const Z=this._document.documentElement.clientWidth,j=this._document.documentElement.clientHeight,_=this._viewportRuler.getViewportScrollPosition();return{top:_.top+this._viewportMargin,left:_.left+this._viewportMargin,right:_.left+Z-this._viewportMargin,bottom:_.top+j-this._viewportMargin,width:Z-2*this._viewportMargin,height:j-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Z,j){return"x"===j?null==Z.offsetX?this._offsetX:Z.offsetX:null==Z.offsetY?this._offsetY:Z.offsetY}_validatePositions(){}_addPanelClasses(Z){this._pane&&(0,c.Eq)(Z).forEach(j=>{""!==j&&-1===this._appliedPanelClasses.indexOf(j)&&(this._appliedPanelClasses.push(j),this._pane.classList.add(j))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Z=>{this._pane.classList.remove(Z)}),this._appliedPanelClasses=[])}_getOriginRect(){const Z=this._origin;if(Z instanceof u.ElementRef)return Z.nativeElement.getBoundingClientRect();if(Z instanceof Element)return Z.getBoundingClientRect();const j=Z.width||0,_=Z.height||0;return{top:Z.y,bottom:Z.y+_,left:Z.x,right:Z.x+j,height:_,width:j}}}function Ce(_e,Z){for(let j in Z)Z.hasOwnProperty(j)&&(_e[j]=Z[j]);return _e}function Te(_e){if("number"!=typeof _e&&null!=_e){const[Z,j]=_e.split(ie);return j&&"px"!==j?null:parseFloat(Z)}return _e||null}function Ke(_e){return{top:Math.floor(_e.top),right:Math.floor(_e.right),bottom:Math.floor(_e.bottom),left:Math.floor(_e.left),width:Math.floor(_e.width),height:Math.floor(_e.height)}}const tt="cdk-global-overlay-wrapper";class ot{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(Z){const j=Z.getConfig();this._overlayRef=Z,this._width&&!j.width&&Z.updateSize({width:this._width}),this._height&&!j.height&&Z.updateSize({height:this._height}),Z.hostElement.classList.add(tt),this._isDisposed=!1}top(Z=""){return this._bottomOffset="",this._topOffset=Z,this._alignItems="flex-start",this}left(Z=""){return this._rightOffset="",this._leftOffset=Z,this._justifyContent="flex-start",this}bottom(Z=""){return this._topOffset="",this._bottomOffset=Z,this._alignItems="flex-end",this}right(Z=""){return this._leftOffset="",this._rightOffset=Z,this._justifyContent="flex-end",this}width(Z=""){return this._overlayRef?this._overlayRef.updateSize({width:Z}):this._width=Z,this}height(Z=""){return this._overlayRef?this._overlayRef.updateSize({height:Z}):this._height=Z,this}centerHorizontally(Z=""){return this.left(Z),this._justifyContent="center",this}centerVertically(Z=""){return this.top(Z),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Z=this._overlayRef.overlayElement.style,j=this._overlayRef.hostElement.style,_=this._overlayRef.getConfig(),{width:x,height:N,maxWidth:ce,maxHeight:Ue}=_,Oe=!("100%"!==x&&"100vw"!==x||ce&&"100%"!==ce&&"100vw"!==ce),ve=!("100%"!==N&&"100vh"!==N||Ue&&"100%"!==Ue&&"100vh"!==Ue);Z.position=this._cssPosition,Z.marginLeft=Oe?"0":this._leftOffset,Z.marginTop=ve?"0":this._topOffset,Z.marginBottom=this._bottomOffset,Z.marginRight=this._rightOffset,Oe?j.justifyContent="flex-start":"center"===this._justifyContent?j.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?j.justifyContent="flex-end":"flex-end"===this._justifyContent&&(j.justifyContent="flex-start"):j.justifyContent=this._justifyContent,j.alignItems=ve?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Z=this._overlayRef.overlayElement.style,j=this._overlayRef.hostElement,_=j.style;j.classList.remove(tt),_.justifyContent=_.alignItems=Z.marginTop=Z.marginBottom=Z.marginLeft=Z.marginRight=Z.position="",this._overlayRef=null,this._isDisposed=!0}}let mt=(()=>{class _e{constructor(j,_,x,N){this._viewportRuler=j,this._document=_,this._platform=x,this._overlayContainer=N}global(){return new ot}flexibleConnectedTo(j){return new le(j,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(n.rL),u.\u0275\u0275inject(l.DOCUMENT),u.\u0275\u0275inject(r.t4),u.\u0275\u0275inject(ae))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),Dt=(()=>{class _e{constructor(j){this._attachedOverlays=[],this._document=j}ngOnDestroy(){this.detach()}add(j){this.remove(j),this._attachedOverlays.push(j)}remove(j){const _=this._attachedOverlays.indexOf(j);_>-1&&this._attachedOverlays.splice(_,1),0===this._attachedOverlays.length&&this.detach()}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(l.DOCUMENT))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),Ie=(()=>{class _e extends Dt{constructor(j){super(j),this._keydownListener=_=>{const x=this._attachedOverlays;for(let N=x.length-1;N>-1;N--)if(x[N]._keydownEvents.observers.length>0){x[N]._keydownEvents.next(_);break}}}add(j){super.add(j),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(l.DOCUMENT))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),Qe=(()=>{class _e extends Dt{constructor(j,_){super(j),this._platform=_,this._cursorStyleIsSet=!1,this._pointerDownListener=x=>{this._pointerDownEventTarget=(0,r.sA)(x)},this._clickListener=x=>{const N=(0,r.sA)(x),ce="click"===x.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:N;this._pointerDownEventTarget=null;const Ue=this._attachedOverlays.slice();for(let Oe=Ue.length-1;Oe>-1;Oe--){const ve=Ue[Oe];if(!(ve._outsidePointerEvents.observers.length<1)&&ve.hasAttached()){if(ve.overlayElement.contains(N)||ve.overlayElement.contains(ce))break;ve._outsidePointerEvents.next(x)}}}}add(j){if(super.add(j),!this._isAttached){const _=this._document.body;_.addEventListener("pointerdown",this._pointerDownListener,!0),_.addEventListener("click",this._clickListener,!0),_.addEventListener("auxclick",this._clickListener,!0),_.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=_.style.cursor,_.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const j=this._document.body;j.removeEventListener("pointerdown",this._pointerDownListener,!0),j.removeEventListener("click",this._clickListener,!0),j.removeEventListener("auxclick",this._clickListener,!0),j.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(j.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(l.DOCUMENT),u.\u0275\u0275inject(r.t4))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),ct=0,bt=(()=>{class _e{constructor(j,_,x,N,ce,Ue,Oe,ve,Ae,nt,Rt){this.scrollStrategies=j,this._overlayContainer=_,this._componentFactoryResolver=x,this._positionBuilder=N,this._keyboardDispatcher=ce,this._injector=Ue,this._ngZone=Oe,this._document=ve,this._directionality=Ae,this._location=nt,this._outsideClickDispatcher=Rt}create(j){const _=this._createHostElement(),x=this._createPaneElement(_),N=this._createPortalOutlet(x),ce=new Q(j);return ce.direction=ce.direction||this._directionality.value,new oe(N,_,x,ce,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(j){const _=this._document.createElement("div");return _.id="cdk-overlay-"+ct++,_.classList.add("cdk-overlay-pane"),j.appendChild(_),_}_createHostElement(){const j=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(j),j}_createPortalOutlet(j){return this._appRef||(this._appRef=this._injector.get(u.ApplicationRef)),new m.u0(j,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(X),u.\u0275\u0275inject(ae),u.\u0275\u0275inject(u.ComponentFactoryResolver),u.\u0275\u0275inject(mt),u.\u0275\u0275inject(Ie),u.\u0275\u0275inject(u.Injector),u.\u0275\u0275inject(u.NgZone),u.\u0275\u0275inject(l.DOCUMENT),u.\u0275\u0275inject(d.Is),u.\u0275\u0275inject(l.Location),u.\u0275\u0275inject(Qe))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac}),_e})();const Et=[{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"}],xt=new u.InjectionToken("cdk-connected-overlay-scroll-strategy");let dt=(()=>{class _e{constructor(j){this.elementRef=j}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275directiveInject(u.ElementRef))},_e.\u0275dir=u.\u0275\u0275defineDirective({type:_e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),_e})(),Ne=(()=>{class _e{constructor(j,_,x,N,ce){this._overlay=j,this._dir=ce,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=y.w.EMPTY,this._attachSubscription=y.w.EMPTY,this._detachSubscription=y.w.EMPTY,this._positionSubscription=y.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new u.EventEmitter,this.positionChange=new u.EventEmitter,this.attach=new u.EventEmitter,this.detach=new u.EventEmitter,this.overlayKeydown=new u.EventEmitter,this.overlayOutsideClick=new u.EventEmitter,this._templatePortal=new m.UE(_,x),this._scrollStrategyFactory=N,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(j){this._offsetX=j,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(j){this._offsetY=j,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(j){this._hasBackdrop=(0,c.Ig)(j)}get lockPosition(){return this._lockPosition}set lockPosition(j){this._lockPosition=(0,c.Ig)(j)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(j){this._flexibleDimensions=(0,c.Ig)(j)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(j){this._growAfterOpen=(0,c.Ig)(j)}get push(){return this._push}set push(j){this._push=(0,c.Ig)(j)}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(j){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),j.origin&&this.open&&this._position.apply()),j.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Et);const j=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=j.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=j.detachments().subscribe(()=>this.detach.emit()),j.keydownEvents().subscribe(_=>{this.overlayKeydown.next(_),_.keyCode===C.hY&&!this.disableClose&&!(0,C.Vb)(_)&&(_.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(_=>{this.overlayOutsideClick.next(_)})}_buildConfig(){const j=this._position=this.positionStrategy||this._createPositionStrategy(),_=new Q({direction:this._dir,positionStrategy:j,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(_.width=this.width),(this.height||0===this.height)&&(_.height=this.height),(this.minWidth||0===this.minWidth)&&(_.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(_.minHeight=this.minHeight),this.backdropClass&&(_.backdropClass=this.backdropClass),this.panelClass&&(_.panelClass=this.panelClass),_}_updatePositionStrategy(j){const _=this.positions.map(x=>({originX:x.originX,originY:x.originY,overlayX:x.overlayX,overlayY:x.overlayY,offsetX:x.offsetX||this.offsetX,offsetY:x.offsetY||this.offsetY,panelClass:x.panelClass||void 0}));return j.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(_).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const j=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(j),j}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof dt?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(j=>{this.backdropClick.emit(j)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,s.o)(()=>this.positionChange.observers.length>0)).subscribe(j=>{this.positionChange.emit(j),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275directiveInject(bt),u.\u0275\u0275directiveInject(u.TemplateRef),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(xt),u.\u0275\u0275directiveInject(d.Is,8))},_e.\u0275dir=u.\u0275\u0275defineDirective({type:_e,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"],features:[u.\u0275\u0275NgOnChangesFeature]}),_e})();const ze={provide:xt,deps:[bt],useFactory:function(_e){return()=>_e.scrollStrategies.reposition()}};let yt=(()=>{class _e{}return _e.\u0275fac=function(j){return new(j||_e)},_e.\u0275mod=u.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=u.\u0275\u0275defineInjector({providers:[bt,ze],imports:[[d.vT,m.eL,n.Cl],n.Cl]}),_e})()},925:(he,A,o)=>{"use strict";o.d(A,{t4:()=>c,ud:()=>r,sA:()=>$,ht:()=>Y,kV:()=>T,Oy:()=>z,qK:()=>p,i$:()=>h,Mq:()=>C});var n=o(5e3),l=o(9808);let u;try{u="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(G){u=!1}let d,c=(()=>{class G{constructor(Q){this._platformId=Q,this.isBrowser=this._platformId?(0,l.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&&!u)&&"undefined"!=typeof CSS&&!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 G.\u0275fac=function(Q){return new(Q||G)(n.\u0275\u0275inject(n.PLATFORM_ID))},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),r=(()=>{class G{}return G.\u0275fac=function(Q){return new(Q||G)},G.\u0275mod=n.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=n.\u0275\u0275defineInjector({}),G})();const m=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function p(){if(d)return d;if("object"!=typeof document||!document)return d=new Set(m),d;let G=document.createElement("input");return d=new Set(m.filter(X=>(G.setAttribute("type",X),G.type===X))),d}let y,s,w;function h(G){return function(){if(null==y&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>y=!0}))}finally{y=y||!1}return y}()?G:!!G.capture}function C(){if(null==s){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return s=!1,s;if("scrollBehavior"in document.documentElement.style)s=!0;else{const G=Element.prototype.scrollTo;s=!!G&&!/\{\s*\[native code\]\s*\}/.test(G.toString())}}return s}function T(G){if(function(){if(null==w){const G="undefined"!=typeof document?document.head:null;w=!(!G||!G.createShadowRoot&&!G.attachShadow)}return w}()){const X=G.getRootNode?G.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&X instanceof ShadowRoot)return X}return null}function Y(){let G="undefined"!=typeof document&&document?document.activeElement:null;for(;G&&G.shadowRoot;){const X=G.shadowRoot.activeElement;if(X===G)break;G=X}return G}function $(G){return G.composedPath?G.composedPath()[0]:G.target}function z(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(he,A,o)=>{"use strict";o.d(A,{ig:()=>D,Pl:()=>Y,C5:()=>b,u0:()=>P,eL:()=>z,UE:()=>h});var n=o(5e3),l=o(9808);class y{attach(Q){return this._attachedHost=Q,Q.attach(this)}detach(){let Q=this._attachedHost;null!=Q&&(this._attachedHost=null,Q.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Q){this._attachedHost=Q}}class b extends y{constructor(Q,q,ue,me){super(),this.component=Q,this.viewContainerRef=q,this.injector=ue,this.componentFactoryResolver=me}}class h extends y{constructor(Q,q,ue){super(),this.templateRef=Q,this.viewContainerRef=q,this.context=ue}get origin(){return this.templateRef.elementRef}attach(Q,q=this.context){return this.context=q,super.attach(Q)}detach(){return this.context=void 0,super.detach()}}class g extends y{constructor(Q){super(),this.element=Q instanceof n.ElementRef?Q.nativeElement:Q}}class s{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Q){return Q instanceof b?(this._attachedPortal=Q,this.attachComponentPortal(Q)):Q instanceof h?(this._attachedPortal=Q,this.attachTemplatePortal(Q)):this.attachDomPortal&&Q instanceof g?(this._attachedPortal=Q,this.attachDomPortal(Q)):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(Q){this._disposeFn=Q}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class P extends s{constructor(Q,q,ue,me,xe){super(),this.outletElement=Q,this._componentFactoryResolver=q,this._appRef=ue,this._defaultInjector=me,this.attachDomPortal=pe=>{const oe=pe.element,ae=this._document.createComment("dom-portal");oe.parentNode.insertBefore(ae,oe),this.outletElement.appendChild(oe),this._attachedPortal=pe,super.setDisposeFn(()=>{ae.parentNode&&ae.parentNode.replaceChild(oe,ae)})},this._document=xe}attachComponentPortal(Q){const ue=(Q.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Q.component);let me;return Q.viewContainerRef?(me=Q.viewContainerRef.createComponent(ue,Q.viewContainerRef.length,Q.injector||Q.viewContainerRef.injector),this.setDisposeFn(()=>me.destroy())):(me=ue.create(Q.injector||this._defaultInjector),this._appRef.attachView(me.hostView),this.setDisposeFn(()=>{this._appRef.detachView(me.hostView),me.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(me)),this._attachedPortal=Q,me}attachTemplatePortal(Q){let q=Q.viewContainerRef,ue=q.createEmbeddedView(Q.templateRef,Q.context);return ue.rootNodes.forEach(me=>this.outletElement.appendChild(me)),ue.detectChanges(),this.setDisposeFn(()=>{let me=q.indexOf(ue);-1!==me&&q.remove(me)}),this._attachedPortal=Q,ue}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Q){return Q.hostView.rootNodes[0]}}let D=(()=>{class X extends h{constructor(q,ue){super(q,ue)}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))},X.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]}),X})(),Y=(()=>{class X extends s{constructor(q,ue,me){super(),this._componentFactoryResolver=q,this._viewContainerRef=ue,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=xe=>{const pe=xe.element,oe=this._document.createComment("dom-portal");xe.setAttachedHost(this),pe.parentNode.insertBefore(oe,pe),this._getRootNode().appendChild(pe),this._attachedPortal=xe,super.setDisposeFn(()=>{oe.parentNode&&oe.parentNode.replaceChild(pe,oe)})},this._document=me}get portal(){return this._attachedPortal}set portal(q){this.hasAttached()&&!q&&!this._isInitialized||(this.hasAttached()&&super.detach(),q&&super.attach(q),this._attachedPortal=q||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(q){q.setAttachedHost(this);const ue=null!=q.viewContainerRef?q.viewContainerRef:this._viewContainerRef,xe=(q.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(q.component),pe=ue.createComponent(xe,ue.length,q.injector||ue.injector);return ue!==this._viewContainerRef&&this._getRootNode().appendChild(pe.hostView.rootNodes[0]),super.setDisposeFn(()=>pe.destroy()),this._attachedPortal=q,this._attachedRef=pe,this.attached.emit(pe),pe}attachTemplatePortal(q){q.setAttachedHost(this);const ue=this._viewContainerRef.createEmbeddedView(q.templateRef,q.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=q,this._attachedRef=ue,this.attached.emit(ue),ue}_getRootNode(){const q=this._viewContainerRef.element.nativeElement;return q.nodeType===q.ELEMENT_NODE?q:q.parentNode}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(l.DOCUMENT))},X.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]}),X})(),z=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=n.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=n.\u0275\u0275defineInjector({}),X})()},9071:(he,A,o)=>{"use strict";o.d(A,{ZD:()=>oe,mF:()=>z,Cl:()=>ae,rL:()=>Q});var n=o(3191),l=o(5e3),u=o(8929),c=o(1086),r=o(6498),d=o(3753),y=(o(352),o(8139),o(7568)),b=o(2198),h=o(9808),g=o(925),s=o(226);let z=(()=>{class U{constructor(le,Ce,Te){this._ngZone=le,this._platform=Ce,this._scrolled=new u.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Te}register(le){this.scrollContainers.has(le)||this.scrollContainers.set(le,le.elementScrolled().subscribe(()=>this._scrolled.next(le)))}deregister(le){const Ce=this.scrollContainers.get(le);Ce&&(Ce.unsubscribe(),this.scrollContainers.delete(le))}scrolled(le=20){return this._platform.isBrowser?new r.y(Ce=>{this._globalSubscription||this._addGlobalListener();const Te=le>0?this._scrolled.pipe((0,y.e)(le)).subscribe(Ce):this._scrolled.subscribe(Ce);return this._scrolledCount++,()=>{Te.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,c.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((le,Ce)=>this.deregister(Ce)),this._scrolled.complete()}ancestorScrolled(le,Ce){const Te=this.getAncestorScrollContainers(le);return this.scrolled(Ce).pipe((0,b.h)(Ke=>!Ke||Te.indexOf(Ke)>-1))}getAncestorScrollContainers(le){const Ce=[];return this.scrollContainers.forEach((Te,Ke)=>{this._scrollableContainsElement(Ke,le)&&Ce.push(Ke)}),Ce}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(le,Ce){let Te=(0,n.fI)(Ce),Ke=le.getElementRef().nativeElement;do{if(Te==Ke)return!0}while(Te=Te.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const le=this._getWindow();return(0,d.R)(le.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return U.\u0275fac=function(le){return new(le||U)(l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(g.t4),l.\u0275\u0275inject(h.DOCUMENT,8))},U.\u0275prov=l.\u0275\u0275defineInjectable({token:U,factory:U.\u0275fac,providedIn:"root"}),U})(),Q=(()=>{class U{constructor(le,Ce,Te){this._platform=le,this._change=new u.xQ,this._changeListener=Ke=>{this._change.next(Ke)},this._document=Te,Ce.runOutsideAngular(()=>{if(le.isBrowser){const Ke=this._getWindow();Ke.addEventListener("resize",this._changeListener),Ke.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const le=this._getWindow();le.removeEventListener("resize",this._changeListener),le.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const le={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),le}getViewportRect(){const le=this.getViewportScrollPosition(),{width:Ce,height:Te}=this.getViewportSize();return{top:le.top,left:le.left,bottom:le.top+Te,right:le.left+Ce,height:Te,width:Ce}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const le=this._document,Ce=this._getWindow(),Te=le.documentElement,Ke=Te.getBoundingClientRect();return{top:-Ke.top||le.body.scrollTop||Ce.scrollY||Te.scrollTop||0,left:-Ke.left||le.body.scrollLeft||Ce.scrollX||Te.scrollLeft||0}}change(le=20){return le>0?this._change.pipe((0,y.e)(le)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const le=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:le.innerWidth,height:le.innerHeight}:{width:0,height:0}}}return U.\u0275fac=function(le){return new(le||U)(l.\u0275\u0275inject(g.t4),l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(h.DOCUMENT,8))},U.\u0275prov=l.\u0275\u0275defineInjectable({token:U,factory:U.\u0275fac,providedIn:"root"}),U})(),oe=(()=>{class U{}return U.\u0275fac=function(le){return new(le||U)},U.\u0275mod=l.\u0275\u0275defineNgModule({type:U}),U.\u0275inj=l.\u0275\u0275defineInjector({}),U})(),ae=(()=>{class U{}return U.\u0275fac=function(le){return new(le||U)},U.\u0275mod=l.\u0275\u0275defineNgModule({type:U}),U.\u0275inj=l.\u0275\u0275defineInjector({imports:[[s.vT,g.ud,oe],s.vT,oe]}),U})()},9808:(he,A,o)=>{"use strict";o.r(A),o.d(A,{APP_BASE_HREF:()=>Y,AsyncPipe:()=>Wi,CommonModule:()=>cr,CurrencyPipe:()=>Si,DATE_PIPE_DEFAULT_TIMEZONE:()=>oi,DOCUMENT:()=>m,DatePipe:()=>mi,DecimalPipe:()=>Li,FormStyle:()=>pe,FormatWidth:()=>ae,HashLocationStrategy:()=>z,I18nPluralPipe:()=>lr,I18nSelectPipe:()=>br,JsonPipe:()=>Or,KeyValuePipe:()=>Di,LOCATION_INITIALIZED:()=>b,Location:()=>G,LocationStrategy:()=>D,LowerCasePipe:()=>nn,NgClass:()=>Yt,NgComponentOutlet:()=>Zt,NgForOf:()=>Tn,NgForOfContext:()=>Mn,NgIf:()=>An,NgIfContext:()=>kn,NgLocaleLocalization:()=>Nt,NgLocalization:()=>ke,NgPlural:()=>_i,NgPluralCase:()=>bi,NgStyle:()=>si,NgSwitch:()=>Oi,NgSwitchCase:()=>ci,NgSwitchDefault:()=>Xn,NgTemplateOutlet:()=>mn,NumberFormatStyle:()=>me,NumberSymbol:()=>U,PathLocationStrategy:()=>$,PercentPipe:()=>Er,PlatformLocation:()=>p,Plural:()=>xe,SlicePipe:()=>Pi,TitleCasePipe:()=>gn,TranslationWidth:()=>oe,UpperCasePipe:()=>Sn,VERSION:()=>Rr,ViewportScroller:()=>Mr,WeekDay:()=>ie,XhrFactory:()=>hr,formatCurrency:()=>ri,formatDate:()=>Rt,formatNumber:()=>Se,formatPercent:()=>jn,getCurrencySymbol:()=>_,getLocaleCurrencyCode:()=>dt,getLocaleCurrencyName:()=>xt,getLocaleCurrencySymbol:()=>Et,getLocaleDateFormat:()=>Dt,getLocaleDateTimeFormat:()=>Qe,getLocaleDayNames:()=>Te,getLocaleDayPeriods:()=>Ce,getLocaleDirection:()=>_e,getLocaleEraNames:()=>tt,getLocaleExtraDayPeriodRules:()=>yt,getLocaleExtraDayPeriods:()=>gt,getLocaleFirstDayOfWeek:()=>ot,getLocaleId:()=>le,getLocaleMonthNames:()=>Ke,getLocaleNumberFormat:()=>bt,getLocaleNumberSymbol:()=>ct,getLocalePluralCase:()=>rt,getLocaleTimeFormat:()=>Ie,getLocaleWeekEndRange:()=>mt,getNumberOfCurrencyDigits:()=>N,isPlatformBrowser:()=>Xi,isPlatformServer:()=>yi,isPlatformWorkerApp:()=>rr,isPlatformWorkerUi:()=>Br,registerLocaleData:()=>It,\u0275BrowserPlatformLocation:()=>h,\u0275DomAdapter:()=>d,\u0275NullViewportScroller:()=>Dr,\u0275PLATFORM_BROWSER_ID:()=>di,\u0275PLATFORM_SERVER_ID:()=>dr,\u0275PLATFORM_WORKER_APP_ID:()=>qi,\u0275PLATFORM_WORKER_UI_ID:()=>$i,\u0275getDOM:()=>u,\u0275parseCookieValue:()=>Lt,\u0275setRootDomAdapter:()=>r});var n=o(5e3);let l=null;function u(){return l}function r(fe){l||(l=fe)}class d{}const m=new n.InjectionToken("DocumentToken");let p=(()=>{class fe{historyGo(E){throw new Error("Not implemented")}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:function(){return(0,n.\u0275\u0275inject)(h)},providedIn:"platform"}),fe})();const b=new n.InjectionToken("Location Initialized");let h=(()=>{class fe extends p{constructor(E){super(),this._doc=E,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return u().getBaseHref(this._doc)}onPopState(E){const I=u().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",E,!1),()=>I.removeEventListener("popstate",E)}onHashChange(E){const I=u().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",E,!1),()=>I.removeEventListener("hashchange",E)}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(E){this.location.pathname=E}pushState(E,I,de){g()?this._history.pushState(E,I,de):this.location.hash=de}replaceState(E,I,de){g()?this._history.replaceState(E,I,de):this.location.hash=de}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(m))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:function(){return new h((0,n.\u0275\u0275inject)(m))},providedIn:"platform"}),fe})();function g(){return!!window.history.pushState}function C(fe,k){if(0==fe.length)return k;if(0==k.length)return fe;let E=0;return fe.endsWith("/")&&E++,k.startsWith("/")&&E++,2==E?fe+k.substring(1):1==E?fe+k:fe+"/"+k}function P(fe){const k=fe.match(/#|\?|$/),E=k&&k.index||fe.length;return fe.slice(0,E-("/"===fe[E-1]?1:0))+fe.slice(E)}function w(fe){return fe&&"?"!==fe[0]?"?"+fe:fe}let D=(()=>{class fe{historyGo(E){throw new Error("Not implemented")}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:function(){return function(fe){const k=(0,n.\u0275\u0275inject)(m).location;return new $((0,n.\u0275\u0275inject)(p),k&&k.origin||"")}()},providedIn:"root"}),fe})();const Y=new n.InjectionToken("appBaseHref");let $=(()=>{class fe extends D{constructor(E,I){if(super(),this._platformLocation=E,this._removeListenerFns=[],null==I&&(I=this._platformLocation.getBaseHrefFromDOM()),null==I)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=I}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return C(this._baseHref,E)}path(E=!1){const I=this._platformLocation.pathname+w(this._platformLocation.search),de=this._platformLocation.hash;return de&&E?`${I}${de}`:I}pushState(E,I,de,Ze){const wt=this.prepareExternalUrl(de+w(Ze));this._platformLocation.pushState(E,I,wt)}replaceState(E,I,de,Ze){const wt=this.prepareExternalUrl(de+w(Ze));this._platformLocation.replaceState(E,I,wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var I,de;null===(de=(I=this._platformLocation).historyGo)||void 0===de||de.call(I,E)}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(Y,8))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac}),fe})(),z=(()=>{class fe extends D{constructor(E,I){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let I=this._platformLocation.hash;return null==I&&(I="#"),I.length>0?I.substring(1):I}prepareExternalUrl(E){const I=C(this._baseHref,E);return I.length>0?"#"+I:I}pushState(E,I,de,Ze){let wt=this.prepareExternalUrl(de+w(Ze));0==wt.length&&(wt=this._platformLocation.pathname),this._platformLocation.pushState(E,I,wt)}replaceState(E,I,de,Ze){let wt=this.prepareExternalUrl(de+w(Ze));0==wt.length&&(wt=this._platformLocation.pathname),this._platformLocation.replaceState(E,I,wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var I,de;null===(de=(I=this._platformLocation).historyGo)||void 0===de||de.call(I,E)}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(Y,8))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac}),fe})(),G=(()=>{class fe{constructor(E,I){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=E;const de=this._platformStrategy.getBaseHref();this._platformLocation=I,this._baseHref=P(q(de)),this._platformStrategy.onPopState(Ze=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ze.state,type:Ze.type})})}path(E=!1){return this.normalize(this._platformStrategy.path(E))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(E,I=""){return this.path()==this.normalize(E+w(I))}normalize(E){return fe.stripTrailingSlash(function(fe,k){return fe&&k.startsWith(fe)?k.substring(fe.length):k}(this._baseHref,q(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._platformStrategy.prepareExternalUrl(E)}go(E,I="",de=null){this._platformStrategy.pushState(de,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+w(I)),de)}replaceState(E,I="",de=null){this._platformStrategy.replaceState(de,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+w(I)),de)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(E=0){var I,de;null===(de=(I=this._platformStrategy).historyGo)||void 0===de||de.call(I,E)}onUrlChange(E){this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)}))}_notifyUrlChangeListeners(E="",I){this._urlChangeListeners.forEach(de=>de(E,I))}subscribe(E,I,de){return this._subject.subscribe({next:E,error:I,complete:de})}}return fe.normalizeQueryParams=w,fe.joinWithSlash=C,fe.stripTrailingSlash=P,fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(D),n.\u0275\u0275inject(p))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:function(){return new G((0,n.\u0275\u0275inject)(D),(0,n.\u0275\u0275inject)(p))},providedIn:"root"}),fe})();function q(fe){return fe.replace(/\/index.html$/,"")}const ue={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,"\u0440.",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"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],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 me=(()=>((me=me||{})[me.Decimal=0]="Decimal",me[me.Percent=1]="Percent",me[me.Currency=2]="Currency",me[me.Scientific=3]="Scientific",me))(),xe=(()=>((xe=xe||{})[xe.Zero=0]="Zero",xe[xe.One=1]="One",xe[xe.Two=2]="Two",xe[xe.Few=3]="Few",xe[xe.Many=4]="Many",xe[xe.Other=5]="Other",xe))(),pe=(()=>((pe=pe||{})[pe.Format=0]="Format",pe[pe.Standalone=1]="Standalone",pe))(),oe=(()=>((oe=oe||{})[oe.Narrow=0]="Narrow",oe[oe.Abbreviated=1]="Abbreviated",oe[oe.Wide=2]="Wide",oe[oe.Short=3]="Short",oe))(),ae=(()=>((ae=ae||{})[ae.Short=0]="Short",ae[ae.Medium=1]="Medium",ae[ae.Long=2]="Long",ae[ae.Full=3]="Full",ae))(),U=(()=>((U=U||{})[U.Decimal=0]="Decimal",U[U.Group=1]="Group",U[U.List=2]="List",U[U.PercentSign=3]="PercentSign",U[U.PlusSign=4]="PlusSign",U[U.MinusSign=5]="MinusSign",U[U.Exponential=6]="Exponential",U[U.SuperscriptingExponent=7]="SuperscriptingExponent",U[U.PerMille=8]="PerMille",U[U.Infinity=9]="Infinity",U[U.NaN=10]="NaN",U[U.TimeSeparator=11]="TimeSeparator",U[U.CurrencyDecimal=12]="CurrencyDecimal",U[U.CurrencyGroup=13]="CurrencyGroup",U))(),ie=(()=>((ie=ie||{})[ie.Sunday=0]="Sunday",ie[ie.Monday=1]="Monday",ie[ie.Tuesday=2]="Tuesday",ie[ie.Wednesday=3]="Wednesday",ie[ie.Thursday=4]="Thursday",ie[ie.Friday=5]="Friday",ie[ie.Saturday=6]="Saturday",ie))();function le(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.LocaleId]}function Ce(fe,k,E){const I=(0,n.\u0275findLocaleData)(fe),Ze=Z([I[n.\u0275LocaleDataIndex.DayPeriodsFormat],I[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],k);return Z(Ze,E)}function Te(fe,k,E){const I=(0,n.\u0275findLocaleData)(fe),Ze=Z([I[n.\u0275LocaleDataIndex.DaysFormat],I[n.\u0275LocaleDataIndex.DaysStandalone]],k);return Z(Ze,E)}function Ke(fe,k,E){const I=(0,n.\u0275findLocaleData)(fe),Ze=Z([I[n.\u0275LocaleDataIndex.MonthsFormat],I[n.\u0275LocaleDataIndex.MonthsStandalone]],k);return Z(Ze,E)}function tt(fe,k){return Z((0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.Eras],k)}function ot(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function mt(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.WeekendRange]}function Dt(fe,k){return Z((0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.DateFormat],k)}function Ie(fe,k){return Z((0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.TimeFormat],k)}function Qe(fe,k){return Z((0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.DateTimeFormat],k)}function ct(fe,k){const E=(0,n.\u0275findLocaleData)(fe),I=E[n.\u0275LocaleDataIndex.NumberSymbols][k];if(void 0===I){if(k===U.CurrencyDecimal)return E[n.\u0275LocaleDataIndex.NumberSymbols][U.Decimal];if(k===U.CurrencyGroup)return E[n.\u0275LocaleDataIndex.NumberSymbols][U.Group]}return I}function bt(fe,k){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.NumberFormats][k]}function Et(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function xt(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.CurrencyName]||null}function dt(fe){return(0,n.\u0275getLocaleCurrencyCode)(fe)}const rt=n.\u0275getLocalePluralCase;function ze(fe){if(!fe[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${fe[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function yt(fe){const k=(0,n.\u0275findLocaleData)(fe);return ze(k),(k[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(I=>"string"==typeof I?j(I):[j(I[0]),j(I[1])])}function gt(fe,k,E){const I=(0,n.\u0275findLocaleData)(fe);ze(I);const Ze=Z([I[n.\u0275LocaleDataIndex.ExtraData][0],I[n.\u0275LocaleDataIndex.ExtraData][1]],k)||[];return Z(Ze,E)||[]}function _e(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.Directionality]}function Z(fe,k){for(let E=k;E>-1;E--)if(void 0!==fe[E])return fe[E];throw new Error("Locale data API: locale data undefined")}function j(fe){const[k,E]=fe.split(":");return{hours:+k,minutes:+E}}function _(fe,k,E="en"){const I=function(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.Currencies]}(E)[fe]||ue[fe]||[],de=I[1];return"narrow"===k&&"string"==typeof de?de:I[0]||fe}function N(fe){let k;const E=ue[fe];return E&&(k=E[2]),"number"==typeof k?k:2}const ce=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ue={},Oe=/((?:[^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 ve=(()=>((ve=ve||{})[ve.Short=0]="Short",ve[ve.ShortGMT=1]="ShortGMT",ve[ve.Long=2]="Long",ve[ve.Extended=3]="Extended",ve))(),Ae=(()=>((Ae=Ae||{})[Ae.FullYear=0]="FullYear",Ae[Ae.Month=1]="Month",Ae[Ae.Date=2]="Date",Ae[Ae.Hours=3]="Hours",Ae[Ae.Minutes=4]="Minutes",Ae[Ae.Seconds=5]="Seconds",Ae[Ae.FractionalSeconds=6]="FractionalSeconds",Ae[Ae.Day=7]="Day",Ae))(),nt=(()=>((nt=nt||{})[nt.DayPeriods=0]="DayPeriods",nt[nt.Days=1]="Days",nt[nt.Months=2]="Months",nt[nt.Eras=3]="Eras",nt))();function Rt(fe,k,E,I){let de=function(fe){if(ut(fe))return fe;if("number"==typeof fe&&!isNaN(fe))return new Date(fe);if("string"==typeof fe){if(fe=fe.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(fe)){const[de,Ze=1,wt=1]=fe.split("-").map(Wt=>+Wt);return kt(de,Ze-1,wt)}const E=parseFloat(fe);if(!isNaN(fe-E))return new Date(E);let I;if(I=fe.match(ce))return function(fe){const k=new Date(0);let E=0,I=0;const de=fe[8]?k.setUTCFullYear:k.setFullYear,Ze=fe[8]?k.setUTCHours:k.setHours;fe[9]&&(E=Number(fe[9]+fe[10]),I=Number(fe[9]+fe[11])),de.call(k,Number(fe[1]),Number(fe[2])-1,Number(fe[3]));const wt=Number(fe[4]||0)-E,Wt=Number(fe[5]||0)-I,hn=Number(fe[6]||0),Nn=Math.floor(1e3*parseFloat("0."+(fe[7]||0)));return Ze.call(k,wt,Wt,hn,Nn),k}(I)}const k=new Date(fe);if(!ut(k))throw new Error(`Unable to convert "${fe}" into a date`);return k}(fe);k=pt(E,k)||k;let Wt,wt=[];for(;k;){if(Wt=Oe.exec(k),!Wt){wt.push(k);break}{wt=wt.concat(Wt.slice(1));const Hn=wt.pop();if(!Hn)break;k=Hn}}let hn=de.getTimezoneOffset();I&&(hn=$t(I,hn),de=function(fe,k,E){const de=fe.getTimezoneOffset();return function(fe,k){return(fe=new Date(fe.getTime())).setMinutes(fe.getMinutes()+k),fe}(fe,-1*($t(k,de)-de))}(de,I));let Nn="";return wt.forEach(Hn=>{const Vn=function(fe){if(Ct[fe])return Ct[fe];let k;switch(fe){case"G":case"GG":case"GGG":k=lt(nt.Eras,oe.Abbreviated);break;case"GGGG":k=lt(nt.Eras,oe.Wide);break;case"GGGGG":k=lt(nt.Eras,oe.Narrow);break;case"y":k=Mt(Ae.FullYear,1,0,!1,!0);break;case"yy":k=Mt(Ae.FullYear,2,0,!0,!0);break;case"yyy":k=Mt(Ae.FullYear,3,0,!1,!0);break;case"yyyy":k=Mt(Ae.FullYear,4,0,!1,!0);break;case"Y":k=je(1);break;case"YY":k=je(2,!0);break;case"YYY":k=je(3);break;case"YYYY":k=je(4);break;case"M":case"L":k=Mt(Ae.Month,1,1);break;case"MM":case"LL":k=Mt(Ae.Month,2,1);break;case"MMM":k=lt(nt.Months,oe.Abbreviated);break;case"MMMM":k=lt(nt.Months,oe.Wide);break;case"MMMMM":k=lt(nt.Months,oe.Narrow);break;case"LLL":k=lt(nt.Months,oe.Abbreviated,pe.Standalone);break;case"LLLL":k=lt(nt.Months,oe.Wide,pe.Standalone);break;case"LLLLL":k=lt(nt.Months,oe.Narrow,pe.Standalone);break;case"w":k=be(1);break;case"ww":k=be(2);break;case"W":k=be(1,!0);break;case"d":k=Mt(Ae.Date,1);break;case"dd":k=Mt(Ae.Date,2);break;case"c":case"cc":k=Mt(Ae.Day,1);break;case"ccc":k=lt(nt.Days,oe.Abbreviated,pe.Standalone);break;case"cccc":k=lt(nt.Days,oe.Wide,pe.Standalone);break;case"ccccc":k=lt(nt.Days,oe.Narrow,pe.Standalone);break;case"cccccc":k=lt(nt.Days,oe.Short,pe.Standalone);break;case"E":case"EE":case"EEE":k=lt(nt.Days,oe.Abbreviated);break;case"EEEE":k=lt(nt.Days,oe.Wide);break;case"EEEEE":k=lt(nt.Days,oe.Narrow);break;case"EEEEEE":k=lt(nt.Days,oe.Short);break;case"a":case"aa":case"aaa":k=lt(nt.DayPeriods,oe.Abbreviated);break;case"aaaa":k=lt(nt.DayPeriods,oe.Wide);break;case"aaaaa":k=lt(nt.DayPeriods,oe.Narrow);break;case"b":case"bb":case"bbb":k=lt(nt.DayPeriods,oe.Abbreviated,pe.Standalone,!0);break;case"bbbb":k=lt(nt.DayPeriods,oe.Wide,pe.Standalone,!0);break;case"bbbbb":k=lt(nt.DayPeriods,oe.Narrow,pe.Standalone,!0);break;case"B":case"BB":case"BBB":k=lt(nt.DayPeriods,oe.Abbreviated,pe.Format,!0);break;case"BBBB":k=lt(nt.DayPeriods,oe.Wide,pe.Format,!0);break;case"BBBBB":k=lt(nt.DayPeriods,oe.Narrow,pe.Format,!0);break;case"h":k=Mt(Ae.Hours,1,-12);break;case"hh":k=Mt(Ae.Hours,2,-12);break;case"H":k=Mt(Ae.Hours,1);break;case"HH":k=Mt(Ae.Hours,2);break;case"m":k=Mt(Ae.Minutes,1);break;case"mm":k=Mt(Ae.Minutes,2);break;case"s":k=Mt(Ae.Seconds,1);break;case"ss":k=Mt(Ae.Seconds,2);break;case"S":k=Mt(Ae.FractionalSeconds,1);break;case"SS":k=Mt(Ae.FractionalSeconds,2);break;case"SSS":k=Mt(Ae.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":k=Ft(ve.Short);break;case"ZZZZZ":k=Ft(ve.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":k=Ft(ve.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":k=Ft(ve.Long);break;default:return null}return Ct[fe]=k,k}(Hn);Nn+=Vn?Vn(de,E,hn):"''"===Hn?"'":Hn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Nn}function kt(fe,k,E){const I=new Date(0);return I.setFullYear(fe,k,E),I.setHours(0,0,0),I}function pt(fe,k){const E=le(fe);if(Ue[E]=Ue[E]||{},Ue[E][k])return Ue[E][k];let I="";switch(k){case"shortDate":I=Dt(fe,ae.Short);break;case"mediumDate":I=Dt(fe,ae.Medium);break;case"longDate":I=Dt(fe,ae.Long);break;case"fullDate":I=Dt(fe,ae.Full);break;case"shortTime":I=Ie(fe,ae.Short);break;case"mediumTime":I=Ie(fe,ae.Medium);break;case"longTime":I=Ie(fe,ae.Long);break;case"fullTime":I=Ie(fe,ae.Full);break;case"short":const de=pt(fe,"shortTime"),Ze=pt(fe,"shortDate");I=Pt(Qe(fe,ae.Short),[de,Ze]);break;case"medium":const wt=pt(fe,"mediumTime"),Wt=pt(fe,"mediumDate");I=Pt(Qe(fe,ae.Medium),[wt,Wt]);break;case"long":const hn=pt(fe,"longTime"),Nn=pt(fe,"longDate");I=Pt(Qe(fe,ae.Long),[hn,Nn]);break;case"full":const Hn=pt(fe,"fullTime"),Vn=pt(fe,"fullDate");I=Pt(Qe(fe,ae.Full),[Hn,Vn])}return I&&(Ue[E][k]=I),I}function Pt(fe,k){return k&&(fe=fe.replace(/\{([^}]+)}/g,function(E,I){return null!=k&&I in k?k[I]:E})),fe}function $e(fe,k,E="-",I,de){let Ze="";(fe<0||de&&fe<=0)&&(de?fe=1-fe:(fe=-fe,Ze=E));let wt=String(fe);for(;wt.length0||Wt>-E)&&(Wt+=E),fe===Ae.Hours)0===Wt&&-12===E&&(Wt=12);else if(fe===Ae.FractionalSeconds)return function(fe,k){return $e(fe,3).substr(0,k)}(Wt,k);const hn=ct(wt,U.MinusSign);return $e(Wt,k,hn,I,de)}}function lt(fe,k,E=pe.Format,I=!1){return function(de,Ze){return function(fe,k,E,I,de,Ze){switch(E){case nt.Months:return Ke(k,de,I)[fe.getMonth()];case nt.Days:return Te(k,de,I)[fe.getDay()];case nt.DayPeriods:const wt=fe.getHours(),Wt=fe.getMinutes();if(Ze){const Nn=yt(k),Hn=gt(k,de,I),Vn=Nn.findIndex(Yn=>{if(Array.isArray(Yn)){const[Qn,ii]=Yn,dn=wt>=Qn.hours&&Wt>=Qn.minutes,fr=wt0?Math.floor(de/60):Math.ceil(de/60);switch(fe){case ve.Short:return(de>=0?"+":"")+$e(wt,2,Ze)+$e(Math.abs(de%60),2,Ze);case ve.ShortGMT:return"GMT"+(de>=0?"+":"")+$e(wt,1,Ze);case ve.Long:return"GMT"+(de>=0?"+":"")+$e(wt,2,Ze)+":"+$e(Math.abs(de%60),2,Ze);case ve.Extended:return 0===I?"Z":(de>=0?"+":"")+$e(wt,2,Ze)+":"+$e(Math.abs(de%60),2,Ze);default:throw new Error(`Unknown zone width "${fe}"`)}}}function V(fe){return kt(fe.getFullYear(),fe.getMonth(),fe.getDate()+(4-fe.getDay()))}function be(fe,k=!1){return function(E,I){let de;if(k){const Ze=new Date(E.getFullYear(),E.getMonth(),1).getDay()-1,wt=E.getDate();de=1+Math.floor((wt+Ze)/7)}else{const Ze=V(E),wt=function(fe){const k=kt(fe,0,1).getDay();return kt(fe,0,1+(k<=4?4:11)-k)}(Ze.getFullYear()),Wt=Ze.getTime()-wt.getTime();de=1+Math.round(Wt/6048e5)}return $e(de,fe,ct(I,U.MinusSign))}}function je(fe,k=!1){return function(E,I){return $e(V(E).getFullYear(),fe,ct(I,U.MinusSign),k)}}const Ct={};function $t(fe,k){fe=fe.replace(/:/g,"");const E=Date.parse("Jan 01, 1970 00:00:00 "+fe)/6e4;return isNaN(E)?k:E}function ut(fe){return fe instanceof Date&&!isNaN(fe.valueOf())}const At=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Ln(fe,k,E,I,de,Ze,wt=!1){let Wt="",hn=!1;if(isFinite(fe)){let Nn=function(fe){let I,de,Ze,wt,Wt,k=Math.abs(fe)+"",E=0;for((de=k.indexOf("."))>-1&&(k=k.replace(".","")),(Ze=k.search(/e/i))>0?(de<0&&(de=Ze),de+=+k.slice(Ze+1),k=k.substring(0,Ze)):de<0&&(de=k.length),Ze=0;"0"===k.charAt(Ze);Ze++);if(Ze===(Wt=k.length))I=[0],de=1;else{for(Wt--;"0"===k.charAt(Wt);)Wt--;for(de-=Ze,I=[],wt=0;Ze<=Wt;Ze++,wt++)I[wt]=Number(k.charAt(Ze))}return de>22&&(I=I.splice(0,21),E=de-1,de=1),{digits:I,exponent:E,integerLen:de}}(fe);wt&&(Nn=function(fe){if(0===fe.digits[0])return fe;const k=fe.digits.length-fe.integerLen;return fe.exponent?fe.exponent+=2:(0===k?fe.digits.push(0,0):1===k&&fe.digits.push(0),fe.integerLen+=2),fe}(Nn));let Hn=k.minInt,Vn=k.minFrac,Yn=k.maxFrac;if(Ze){const sr=Ze.match(At);if(null===sr)throw new Error(`${Ze} is not a valid digit info`);const jr=sr[1],Sr=sr[3],Hr=sr[5];null!=jr&&(Hn=te(jr)),null!=Sr&&(Vn=te(Sr)),null!=Hr?Yn=te(Hr):null!=Sr&&Vn>Yn&&(Yn=Vn)}!function(fe,k,E){if(k>E)throw new Error(`The minimum number of digits after fraction (${k}) is higher than the maximum (${E}).`);let I=fe.digits,de=I.length-fe.integerLen;const Ze=Math.min(Math.max(k,de),E);let wt=Ze+fe.integerLen,Wt=I[wt];if(wt>0){I.splice(Math.max(fe.integerLen,wt));for(let Vn=wt;Vn=5)if(wt-1<0){for(let Vn=0;Vn>wt;Vn--)I.unshift(0),fe.integerLen++;I.unshift(1),fe.integerLen++}else I[wt-1]++;for(;de=Nn?ii.pop():hn=!1),Yn>=10?1:0},0);Hn&&(I.unshift(Hn),fe.integerLen++)}(Nn,Vn,Yn);let Qn=Nn.digits,ii=Nn.integerLen;const dn=Nn.exponent;let fr=[];for(hn=Qn.every(sr=>!sr);ii0?fr=Qn.splice(ii,Qn.length):(fr=Qn,Qn=[0]);const ji=[];for(Qn.length>=k.lgSize&&ji.unshift(Qn.splice(-k.lgSize,Qn.length).join(""));Qn.length>k.gSize;)ji.unshift(Qn.splice(-k.gSize,Qn.length).join(""));Qn.length&&ji.unshift(Qn.join("")),Wt=ji.join(ct(E,I)),fr.length&&(Wt+=ct(E,de)+fr.join("")),dn&&(Wt+=ct(E,U.Exponential)+"+"+dn)}else Wt=ct(E,U.Infinity);return Wt=fe<0&&!hn?k.negPre+Wt+k.negSuf:k.posPre+Wt+k.posSuf,Wt}function ri(fe,k,E,I,de){const wt=Xe(bt(k,me.Currency),ct(k,U.MinusSign));return wt.minFrac=N(I),wt.maxFrac=wt.minFrac,Ln(fe,wt,k,U.CurrencyGroup,U.CurrencyDecimal,de).replace("\xa4",E).replace("\xa4","").trim()}function jn(fe,k,E){return Ln(fe,Xe(bt(k,me.Percent),ct(k,U.MinusSign)),k,U.Group,U.Decimal,E,!0).replace(new RegExp("%","g"),ct(k,U.PercentSign))}function Se(fe,k,E){return Ln(fe,Xe(bt(k,me.Decimal),ct(k,U.MinusSign)),k,U.Group,U.Decimal,E)}function Xe(fe,k="-"){const E={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},I=fe.split(";"),de=I[0],Ze=I[1],wt=-1!==de.indexOf(".")?de.split("."):[de.substring(0,de.lastIndexOf("0")+1),de.substring(de.lastIndexOf("0")+1)],Wt=wt[0],hn=wt[1]||"";E.posPre=Wt.substr(0,Wt.indexOf("#"));for(let Hn=0;Hn-1||(de=E.getPluralCategory(fe,I),k.indexOf(de)>-1))return de;if(k.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${fe}"`)}let Nt=(()=>{class fe extends ke{constructor(E){super(),this.locale=E}getPluralCategory(E,I){switch(rt(I||this.locale)(E)){case xe.Zero:return"zero";case xe.One:return"one";case xe.Two:return"two";case xe.Few:return"few";case xe.Many:return"many";default:return"other"}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(n.LOCALE_ID))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac}),fe})();function It(fe,k,E){return(0,n.\u0275registerLocaleData)(fe,k,E)}function Lt(fe,k){k=encodeURIComponent(k);for(const E of fe.split(";")){const I=E.indexOf("="),[de,Ze]=-1==I?[E,""]:[E.slice(0,I),E.slice(I+1)];if(de.trim()===k)return decodeURIComponent(Ze)}return null}let Yt=(()=>{class fe{constructor(E,I,de,Ze){this._iterableDiffers=E,this._keyValueDiffers=I,this._ngEl=de,this._renderer=Ze,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(E){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof E?E.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(E){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof E?E.split(/\s+/):E,this._rawClass&&((0,n.\u0275isListLikeIterable)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const E=this._iterableDiffer.diff(this._rawClass);E&&this._applyIterableChanges(E)}else if(this._keyValueDiffer){const E=this._keyValueDiffer.diff(this._rawClass);E&&this._applyKeyValueChanges(E)}}_applyKeyValueChanges(E){E.forEachAddedItem(I=>this._toggleClass(I.key,I.currentValue)),E.forEachChangedItem(I=>this._toggleClass(I.key,I.currentValue)),E.forEachRemovedItem(I=>{I.previousValue&&this._toggleClass(I.key,!1)})}_applyIterableChanges(E){E.forEachAddedItem(I=>{if("string"!=typeof I.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.\u0275stringify)(I.item)}`);this._toggleClass(I.item,!0)}),E.forEachRemovedItem(I=>this._toggleClass(I.item,!1))}_applyClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(I=>this._toggleClass(I,!0)):Object.keys(E).forEach(I=>this._toggleClass(I,!!E[I])))}_removeClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(I=>this._toggleClass(I,!1)):Object.keys(E).forEach(I=>this._toggleClass(I,!1)))}_toggleClass(E,I){(E=E.trim())&&E.split(/\s+/g).forEach(de=>{I?this._renderer.addClass(this._ngEl.nativeElement,de):this._renderer.removeClass(this._ngEl.nativeElement,de)})}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),fe})(),Zt=(()=>{class fe{constructor(E){this._viewContainerRef=E,this._componentRef=null,this._moduleRef=null}ngOnChanges(E){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const I=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(E.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const wt=I.get(n.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(wt.injector)}else this._moduleRef=null;const Ze=(this._moduleRef?this._moduleRef.componentFactoryResolver:I.get(n.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(Ze,this._viewContainerRef.length,I,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[n.\u0275\u0275NgOnChangesFeature]}),fe})();class Mn{constructor(k,E,I,de){this.$implicit=k,this.ngForOf=E,this.index=I,this.count=de}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 Tn=(()=>{class fe{constructor(E,I,de){this._viewContainer=E,this._template=I,this._differs=de,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const I=this._viewContainer;E.forEachOperation((de,Ze,wt)=>{if(null==de.previousIndex)I.createEmbeddedView(this._template,new Mn(de.item,this._ngForOf,-1,-1),null===wt?void 0:wt);else if(null==wt)I.remove(null===Ze?void 0:Ze);else if(null!==Ze){const Wt=I.get(Ze);I.move(Wt,wt),wn(Wt,de)}});for(let de=0,Ze=I.length;de{wn(I.get(de.currentIndex),de)})}static ngTemplateContextGuard(E,I){return!0}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),fe})();function wn(fe,k){fe.context.$implicit=k.item}let An=(()=>{class fe{constructor(E,I){this._viewContainer=E,this._context=new kn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){bn("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){bn("ngIfElse",E),this._elseTemplateRef=E,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(E,I){return!0}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),fe})();class kn{constructor(){this.$implicit=null,this.ngIf=null}}function bn(fe,k){if(k&&!k.createEmbeddedView)throw new Error(`${fe} must be a TemplateRef, but received '${(0,n.\u0275stringify)(k)}'.`)}class ui{constructor(k,E){this._viewContainerRef=k,this._templateRef=E,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(k){k&&!this._created?this.create():!k&&this._created&&this.destroy()}}let Oi=(()=>{class fe{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(E)}_matchCase(E){const I=E==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||I,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),I}_updateDefaultCases(E){if(this._defaultViews&&E!==this._defaultUsed){this._defaultUsed=E;for(let I=0;I{class fe{constructor(E,I,de){this.ngSwitch=de,de._addCase(),this._view=new ui(E,I)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Oi,9))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),fe})(),Xn=(()=>{class fe{constructor(E,I,de){de._addDefault(new ui(E,I))}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Oi,9))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngSwitchDefault",""]]}),fe})(),_i=(()=>{class fe{constructor(E){this._localization=E,this._caseViews={}}set ngPlural(E){this._switchValue=E,this._updateView()}addCase(E,I){this._caseViews[E]=I}_updateView(){this._clearViews();const E=Object.keys(this._caseViews),I=Ye(this._switchValue,E,this._localization);this._activateView(this._caseViews[I])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(E){E&&(this._activeView=E,this._activeView.create())}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(ke))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),fe})(),bi=(()=>{class fe{constructor(E,I,de,Ze){this.value=E;const wt=!isNaN(Number(E));Ze.addCase(wt?`=${E}`:E,new ui(de,I))}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(_i,1))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngPluralCase",""]]}),fe})(),si=(()=>{class fe{constructor(E,I,de){this._ngEl=E,this._differs=I,this._renderer=de,this._ngStyle=null,this._differ=null}set ngStyle(E){this._ngStyle=E,!this._differ&&E&&(this._differ=this._differs.find(E).create())}ngDoCheck(){if(this._differ){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,I){const[de,Ze]=E.split(".");null!=(I=null!=I&&Ze?`${I}${Ze}`:I)?this._renderer.setStyle(this._ngEl.nativeElement,de,I):this._renderer.removeStyle(this._ngEl.nativeElement,de)}_applyChanges(E){E.forEachRemovedItem(I=>this._setStyle(I.key,null)),E.forEachAddedItem(I=>this._setStyle(I.key,I.currentValue)),E.forEachChangedItem(I=>this._setStyle(I.key,I.currentValue))}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),fe})(),mn=(()=>{class fe{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(E){if(E.ngTemplateOutlet){const I=this._viewContainerRef;this._viewRef&&I.remove(I.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?I.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&E.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[n.\u0275\u0275NgOnChangesFeature]}),fe})();function Fn(fe,k){return Error(`InvalidPipeArgument: '${k}' for pipe '${(0,n.\u0275stringify)(fe)}'`)}class xn{createSubscription(k,E){return k.subscribe({next:E,error:I=>{throw I}})}dispose(k){k.unsubscribe()}onDestroy(k){k.unsubscribe()}}class Ii{createSubscription(k,E){return k.then(E,I=>{throw I})}dispose(k){}onDestroy(k){}}const wi=new Ii,ir=new xn;let Wi=(()=>{class fe{constructor(E){this._ref=E,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(E){return this._obj?E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue:(E&&this._subscribe(E),this._latestValue)}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,I=>this._updateLatestValue(E,I))}_selectStrategy(E){if((0,n.\u0275isPromise)(E))return wi;if((0,n.\u0275isSubscribable)(E))return ir;throw Fn(fe,E)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,I){E===this._obj&&(this._latestValue=I,this._ref.markForCheck())}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:fe,pure:!1}),fe})(),nn=(()=>{class fe{transform(E){if(null==E)return null;if("string"!=typeof E)throw Fn(fe,E);return E.toLowerCase()}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:fe,pure:!0}),fe})();const an=/(?:[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 gn=(()=>{class fe{transform(E){if(null==E)return null;if("string"!=typeof E)throw Fn(fe,E);return E.replace(an,I=>I[0].toUpperCase()+I.substr(1).toLowerCase())}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:fe,pure:!0}),fe})(),Sn=(()=>{class fe{transform(E){if(null==E)return null;if("string"!=typeof E)throw Fn(fe,E);return E.toUpperCase()}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:fe,pure:!0}),fe})();const oi=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE");let mi=(()=>{class fe{constructor(E,I){this.locale=E,this.defaultTimezone=I}transform(E,I="mediumDate",de,Ze){var wt;if(null==E||""===E||E!=E)return null;try{return Rt(E,I,Ze||this.locale,null!==(wt=null!=de?de:this.defaultTimezone)&&void 0!==wt?wt:void 0)}catch(Wt){throw Fn(fe,Wt.message)}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(oi,24))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:fe,pure:!0}),fe})();const Ur=/#/g;let lr=(()=>{class fe{constructor(E){this._localization=E}transform(E,I,de){if(null==E)return"";if("object"!=typeof I||null===I)throw Fn(fe,I);return I[Ye(E,Object.keys(I),this._localization,de)].replace(Ur,E.toString())}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(ke,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:fe,pure:!0}),fe})(),br=(()=>{class fe{transform(E,I){if(null==E)return"";if("object"!=typeof I||"string"!=typeof E)throw Fn(fe,I);return I.hasOwnProperty(E)?I[E]:I.hasOwnProperty("other")?I.other:""}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:fe,pure:!0}),fe})(),Or=(()=>{class fe{transform(E){return JSON.stringify(E,null,2)}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:fe,pure:!1}),fe})(),Di=(()=>{class fe{constructor(E){this.differs=E,this.keyValues=[],this.compareFn=Cr}transform(E,I=Cr){if(!E||!(E instanceof Map)&&"object"!=typeof E)return null;this.differ||(this.differ=this.differs.find(E).create());const de=this.differ.diff(E),Ze=I!==this.compareFn;return de&&(this.keyValues=[],de.forEachItem(wt=>{this.keyValues.push(function(fe,k){return{key:fe,value:k}}(wt.key,wt.currentValue))})),(de||Ze)&&(this.keyValues.sort(I),this.compareFn=I),this.keyValues}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:fe,pure:!1}),fe})();function Cr(fe,k){const E=fe.key,I=k.key;if(E===I)return 0;if(void 0===E)return 1;if(void 0===I)return-1;if(null===E)return 1;if(null===I)return-1;if("string"==typeof E&&"string"==typeof I)return E{class fe{constructor(E){this._locale=E}transform(E,I,de){if(!Vi(E))return null;de=de||this._locale;try{return Se(Gi(E),de,I)}catch(Ze){throw Fn(fe,Ze.message)}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:fe,pure:!0}),fe})(),Er=(()=>{class fe{constructor(E){this._locale=E}transform(E,I,de){if(!Vi(E))return null;de=de||this._locale;try{return jn(Gi(E),de,I)}catch(Ze){throw Fn(fe,Ze.message)}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:fe,pure:!0}),fe})(),Si=(()=>{class fe{constructor(E,I="USD"){this._locale=E,this._defaultCurrencyCode=I}transform(E,I=this._defaultCurrencyCode,de="symbol",Ze,wt){if(!Vi(E))return null;wt=wt||this._locale,"boolean"==typeof de&&(de=de?"symbol":"code");let Wt=I||this._defaultCurrencyCode;"code"!==de&&(Wt="symbol"===de||"symbol-narrow"===de?_(Wt,"symbol"===de?"wide":"narrow",wt):de);try{return ri(Gi(E),wt,Wt,I,Ze)}catch(hn){throw Fn(fe,hn.message)}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:fe,pure:!0}),fe})();function Vi(fe){return!(null==fe||""===fe||fe!=fe)}function Gi(fe){if("string"==typeof fe&&!isNaN(Number(fe)-parseFloat(fe)))return Number(fe);if("number"!=typeof fe)throw new Error(`${fe} is not a number`);return fe}let Pi=(()=>{class fe{transform(E,I,de){if(null==E)return null;if(!this.supports(E))throw Fn(fe,E);return E.slice(I,de)}supports(E){return"string"==typeof E||Array.isArray(E)}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:fe,pure:!1}),fe})(),cr=(()=>{class fe{}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:ke,useClass:Nt}]}),fe})();const di="browser",dr="server",qi="browserWorkerApp",$i="browserWorkerUi";function Xi(fe){return fe===di}function yi(fe){return fe===dr}function rr(fe){return fe===qi}function Br(fe){return fe===$i}const Rr=new n.Version("13.1.1");let Mr=(()=>{class fe{}return fe.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:fe,providedIn:"root",factory:()=>new Yi((0,n.\u0275\u0275inject)(m),window)}),fe})();class Yi{constructor(k,E){this.document=k,this.window=E,this.offset=()=>[0,0]}setOffset(k){this.offset=Array.isArray(k)?()=>k:k}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(k){this.supportsScrolling()&&this.window.scrollTo(k[0],k[1])}scrollToAnchor(k){if(!this.supportsScrolling())return;const E=function(fe,k){const E=fe.getElementById(k)||fe.getElementsByName(k)[0];if(E)return E;if("function"==typeof fe.createTreeWalker&&fe.body&&(fe.body.createShadowRoot||fe.body.attachShadow)){const I=fe.createTreeWalker(fe.body,NodeFilter.SHOW_ELEMENT);let de=I.currentNode;for(;de;){const Ze=de.shadowRoot;if(Ze){const wt=Ze.getElementById(k)||Ze.querySelector(`[name="${k}"]`);if(wt)return wt}de=I.nextNode()}}return null}(this.document,k);E&&(this.scrollToElement(E),this.attemptFocus(E))}setHistoryScrollRestoration(k){if(this.supportScrollRestoration()){const E=this.window.history;E&&E.scrollRestoration&&(E.scrollRestoration=k)}}scrollToElement(k){const E=k.getBoundingClientRect(),I=E.left+this.window.pageXOffset,de=E.top+this.window.pageYOffset,Ze=this.offset();this.window.scrollTo(I-Ze[0],de-Ze[1])}attemptFocus(k){return k.focus(),this.document.activeElement===k}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const k=Vr(this.window.history)||Vr(Object.getPrototypeOf(this.window.history));return!(!k||!k.writable&&!k.set)}catch(k){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(k){return!1}}}function Vr(fe){return Object.getOwnPropertyDescriptor(fe,"scrollRestoration")}class Dr{setOffset(k){}getScrollPosition(){return[0,0]}scrollToPosition(k){}scrollToAnchor(k){}setHistoryScrollRestoration(k){}}class hr{}},520:(he,A,o)=>{"use strict";o.r(A),o.d(A,{HTTP_INTERCEPTORS:()=>le,HttpBackend:()=>y,HttpClient:()=>U,HttpClientJsonpModule:()=>j,HttpClientModule:()=>Z,HttpClientXsrfModule:()=>_e,HttpContext:()=>Y,HttpContextToken:()=>T,HttpErrorResponse:()=>oe,HttpEventType:()=>ue,HttpHandler:()=>p,HttpHeaderResponse:()=>xe,HttpHeaders:()=>b,HttpParams:()=>D,HttpRequest:()=>q,HttpResponse:()=>pe,HttpResponseBase:()=>me,HttpUrlEncodingCodec:()=>h,HttpXhrBackend:()=>bt,HttpXsrfTokenExtractor:()=>dt,JsonpClientBackend:()=>Dt,JsonpInterceptor:()=>Ie,XhrFactory:()=>_,\u0275HttpInterceptingHandler:()=>ze});var n=o(9808),l=o(5e3),u=o(1086),c=o(6498),r=o(1406),d=o(2198),m=o(4850);class p{}class y{}class b{constructor(N){this.normalizedNames=new Map,this.lazyUpdate=null,N?this.lazyInit="string"==typeof N?()=>{this.headers=new Map,N.split("\n").forEach(ce=>{const Ue=ce.indexOf(":");if(Ue>0){const Oe=ce.slice(0,Ue),ve=Oe.toLowerCase(),Ae=ce.slice(Ue+1).trim();this.maybeSetNormalizedName(Oe,ve),this.headers.has(ve)?this.headers.get(ve).push(Ae):this.headers.set(ve,[Ae])}})}:()=>{this.headers=new Map,Object.keys(N).forEach(ce=>{let Ue=N[ce];const Oe=ce.toLowerCase();"string"==typeof Ue&&(Ue=[Ue]),Ue.length>0&&(this.headers.set(Oe,Ue),this.maybeSetNormalizedName(ce,Oe))})}:this.headers=new Map}has(N){return this.init(),this.headers.has(N.toLowerCase())}get(N){this.init();const ce=this.headers.get(N.toLowerCase());return ce&&ce.length>0?ce[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(N){return this.init(),this.headers.get(N.toLowerCase())||null}append(N,ce){return this.clone({name:N,value:ce,op:"a"})}set(N,ce){return this.clone({name:N,value:ce,op:"s"})}delete(N,ce){return this.clone({name:N,value:ce,op:"d"})}maybeSetNormalizedName(N,ce){this.normalizedNames.has(ce)||this.normalizedNames.set(ce,N)}init(){this.lazyInit&&(this.lazyInit instanceof b?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(N=>this.applyUpdate(N)),this.lazyUpdate=null))}copyFrom(N){N.init(),Array.from(N.headers.keys()).forEach(ce=>{this.headers.set(ce,N.headers.get(ce)),this.normalizedNames.set(ce,N.normalizedNames.get(ce))})}clone(N){const ce=new b;return ce.lazyInit=this.lazyInit&&this.lazyInit instanceof b?this.lazyInit:this,ce.lazyUpdate=(this.lazyUpdate||[]).concat([N]),ce}applyUpdate(N){const ce=N.name.toLowerCase();switch(N.op){case"a":case"s":let Ue=N.value;if("string"==typeof Ue&&(Ue=[Ue]),0===Ue.length)return;this.maybeSetNormalizedName(N.name,ce);const Oe=("a"===N.op?this.headers.get(ce):void 0)||[];Oe.push(...Ue),this.headers.set(ce,Oe);break;case"d":const ve=N.value;if(ve){let Ae=this.headers.get(ce);if(!Ae)return;Ae=Ae.filter(nt=>-1===ve.indexOf(nt)),0===Ae.length?(this.headers.delete(ce),this.normalizedNames.delete(ce)):this.headers.set(ce,Ae)}else this.headers.delete(ce),this.normalizedNames.delete(ce)}}forEach(N){this.init(),Array.from(this.normalizedNames.keys()).forEach(ce=>N(this.normalizedNames.get(ce),this.headers.get(ce)))}}class h{encodeKey(N){return P(N)}encodeValue(N){return P(N)}decodeKey(N){return decodeURIComponent(N)}decodeValue(N){return decodeURIComponent(N)}}const s=/%(\d[a-f0-9])/gi,C={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function P(x){return encodeURIComponent(x).replace(s,(N,ce)=>{var Ue;return null!==(Ue=C[ce])&&void 0!==Ue?Ue:N})}function w(x){return`${x}`}class D{constructor(N={}){if(this.updates=null,this.cloneFrom=null,this.encoder=N.encoder||new h,N.fromString){if(N.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(x,N){const ce=new Map;return x.length>0&&x.replace(/^\?/,"").split("&").forEach(Oe=>{const ve=Oe.indexOf("="),[Ae,nt]=-1==ve?[N.decodeKey(Oe),""]:[N.decodeKey(Oe.slice(0,ve)),N.decodeValue(Oe.slice(ve+1))],Rt=ce.get(Ae)||[];Rt.push(nt),ce.set(Ae,Rt)}),ce}(N.fromString,this.encoder)}else N.fromObject?(this.map=new Map,Object.keys(N.fromObject).forEach(ce=>{const Ue=N.fromObject[ce];this.map.set(ce,Array.isArray(Ue)?Ue:[Ue])})):this.map=null}has(N){return this.init(),this.map.has(N)}get(N){this.init();const ce=this.map.get(N);return ce?ce[0]:null}getAll(N){return this.init(),this.map.get(N)||null}keys(){return this.init(),Array.from(this.map.keys())}append(N,ce){return this.clone({param:N,value:ce,op:"a"})}appendAll(N){const ce=[];return Object.keys(N).forEach(Ue=>{const Oe=N[Ue];Array.isArray(Oe)?Oe.forEach(ve=>{ce.push({param:Ue,value:ve,op:"a"})}):ce.push({param:Ue,value:Oe,op:"a"})}),this.clone(ce)}set(N,ce){return this.clone({param:N,value:ce,op:"s"})}delete(N,ce){return this.clone({param:N,value:ce,op:"d"})}toString(){return this.init(),this.keys().map(N=>{const ce=this.encoder.encodeKey(N);return this.map.get(N).map(Ue=>ce+"="+this.encoder.encodeValue(Ue)).join("&")}).filter(N=>""!==N).join("&")}clone(N){const ce=new D({encoder:this.encoder});return ce.cloneFrom=this.cloneFrom||this,ce.updates=(this.updates||[]).concat(N),ce}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(N=>this.map.set(N,this.cloneFrom.map.get(N))),this.updates.forEach(N=>{switch(N.op){case"a":case"s":const ce=("a"===N.op?this.map.get(N.param):void 0)||[];ce.push(w(N.value)),this.map.set(N.param,ce);break;case"d":if(void 0===N.value){this.map.delete(N.param);break}{let Ue=this.map.get(N.param)||[];const Oe=Ue.indexOf(w(N.value));-1!==Oe&&Ue.splice(Oe,1),Ue.length>0?this.map.set(N.param,Ue):this.map.delete(N.param)}}}),this.cloneFrom=this.updates=null)}}class T{constructor(N){this.defaultValue=N}}class Y{constructor(){this.map=new Map}set(N,ce){return this.map.set(N,ce),this}get(N){return this.map.has(N)||this.map.set(N,N.defaultValue()),this.map.get(N)}delete(N){return this.map.delete(N),this}has(N){return this.map.has(N)}keys(){return this.map.keys()}}function z(x){return"undefined"!=typeof ArrayBuffer&&x instanceof ArrayBuffer}function G(x){return"undefined"!=typeof Blob&&x instanceof Blob}function X(x){return"undefined"!=typeof FormData&&x instanceof FormData}class q{constructor(N,ce,Ue,Oe){let ve;if(this.url=ce,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=N.toUpperCase(),function(x){switch(x){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Oe?(this.body=void 0!==Ue?Ue:null,ve=Oe):ve=Ue,ve&&(this.reportProgress=!!ve.reportProgress,this.withCredentials=!!ve.withCredentials,ve.responseType&&(this.responseType=ve.responseType),ve.headers&&(this.headers=ve.headers),ve.context&&(this.context=ve.context),ve.params&&(this.params=ve.params)),this.headers||(this.headers=new b),this.context||(this.context=new Y),this.params){const Ae=this.params.toString();if(0===Ae.length)this.urlWithParams=ce;else{const nt=ce.indexOf("?");this.urlWithParams=ce+(-1===nt?"?":nt$e.set(_t,N.setHeaders[_t]),kt)),N.setParams&&(pt=Object.keys(N.setParams).reduce(($e,_t)=>$e.set(_t,N.setParams[_t]),pt)),new q(Ue,Oe,Ae,{params:pt,headers:kt,context:Pt,reportProgress:Rt,responseType:ve,withCredentials:nt})}}var ue=(()=>((ue=ue||{})[ue.Sent=0]="Sent",ue[ue.UploadProgress=1]="UploadProgress",ue[ue.ResponseHeader=2]="ResponseHeader",ue[ue.DownloadProgress=3]="DownloadProgress",ue[ue.Response=4]="Response",ue[ue.User=5]="User",ue))();class me{constructor(N,ce=200,Ue="OK"){this.headers=N.headers||new b,this.status=void 0!==N.status?N.status:ce,this.statusText=N.statusText||Ue,this.url=N.url||null,this.ok=this.status>=200&&this.status<300}}class xe extends me{constructor(N={}){super(N),this.type=ue.ResponseHeader}clone(N={}){return new xe({headers:N.headers||this.headers,status:void 0!==N.status?N.status:this.status,statusText:N.statusText||this.statusText,url:N.url||this.url||void 0})}}class pe extends me{constructor(N={}){super(N),this.type=ue.Response,this.body=void 0!==N.body?N.body:null}clone(N={}){return new pe({body:void 0!==N.body?N.body:this.body,headers:N.headers||this.headers,status:void 0!==N.status?N.status:this.status,statusText:N.statusText||this.statusText,url:N.url||this.url||void 0})}}class oe extends me{constructor(N){super(N,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${N.url||"(unknown url)"}`:`Http failure response for ${N.url||"(unknown url)"}: ${N.status} ${N.statusText}`,this.error=N.error||null}}function ae(x,N){return{body:N,headers:x.headers,context:x.context,observe:x.observe,params:x.params,reportProgress:x.reportProgress,responseType:x.responseType,withCredentials:x.withCredentials}}let U=(()=>{class x{constructor(ce){this.handler=ce}request(ce,Ue,Oe={}){let ve;if(ce instanceof q)ve=ce;else{let Rt,kt;Rt=Oe.headers instanceof b?Oe.headers:new b(Oe.headers),Oe.params&&(kt=Oe.params instanceof D?Oe.params:new D({fromObject:Oe.params})),ve=new q(ce,Ue,void 0!==Oe.body?Oe.body:null,{headers:Rt,context:Oe.context,params:kt,reportProgress:Oe.reportProgress,responseType:Oe.responseType||"json",withCredentials:Oe.withCredentials})}const Ae=(0,u.of)(ve).pipe((0,r.b)(Rt=>this.handler.handle(Rt)));if(ce instanceof q||"events"===Oe.observe)return Ae;const nt=Ae.pipe((0,d.h)(Rt=>Rt instanceof pe));switch(Oe.observe||"body"){case"body":switch(ve.responseType){case"arraybuffer":return nt.pipe((0,m.U)(Rt=>{if(null!==Rt.body&&!(Rt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Rt.body}));case"blob":return nt.pipe((0,m.U)(Rt=>{if(null!==Rt.body&&!(Rt.body instanceof Blob))throw new Error("Response is not a Blob.");return Rt.body}));case"text":return nt.pipe((0,m.U)(Rt=>{if(null!==Rt.body&&"string"!=typeof Rt.body)throw new Error("Response is not a string.");return Rt.body}));default:return nt.pipe((0,m.U)(Rt=>Rt.body))}case"response":return nt;default:throw new Error(`Unreachable: unhandled observe type ${Oe.observe}}`)}}delete(ce,Ue={}){return this.request("DELETE",ce,Ue)}get(ce,Ue={}){return this.request("GET",ce,Ue)}head(ce,Ue={}){return this.request("HEAD",ce,Ue)}jsonp(ce,Ue){return this.request("JSONP",ce,{params:(new D).append(Ue,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ce,Ue={}){return this.request("OPTIONS",ce,Ue)}patch(ce,Ue,Oe={}){return this.request("PATCH",ce,ae(Oe,Ue))}post(ce,Ue,Oe={}){return this.request("POST",ce,ae(Oe,Ue))}put(ce,Ue,Oe={}){return this.request("PUT",ce,ae(Oe,Ue))}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(p))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();class ie{constructor(N,ce){this.next=N,this.interceptor=ce}handle(N){return this.interceptor.intercept(N,this.next)}}const le=new l.InjectionToken("HTTP_INTERCEPTORS");let Ce=(()=>{class x{intercept(ce,Ue){return Ue.handle(ce)}}return x.\u0275fac=function(ce){return new(ce||x)},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})(),Te=0;class mt{}let Dt=(()=>{class x{constructor(ce,Ue){this.callbackMap=ce,this.document=Ue,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Te++}handle(ce){if("JSONP"!==ce.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==ce.responseType)throw new Error("JSONP requests must use Json response type.");return new c.y(Ue=>{const Oe=this.nextCallback(),ve=ce.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${Oe}$1`),Ae=this.document.createElement("script");Ae.src=ve;let nt=null,Rt=!1,kt=!1;this.callbackMap[Oe]=_t=>{delete this.callbackMap[Oe],!kt&&(nt=_t,Rt=!0)};const pt=()=>{Ae.parentNode&&Ae.parentNode.removeChild(Ae),delete this.callbackMap[Oe]},Pt=_t=>{kt||this.resolvedPromise.then(()=>{pt(),Rt?(Ue.next(new pe({body:nt,status:200,statusText:"OK",url:ve})),Ue.complete()):Ue.error(new oe({url:ve,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},$e=_t=>{kt||(pt(),Ue.error(new oe({error:_t,status:0,statusText:"JSONP Error",url:ve})))};return Ae.addEventListener("load",Pt),Ae.addEventListener("error",$e),this.document.body.appendChild(Ae),Ue.next({type:ue.Sent}),()=>{kt=!0,Ae.removeEventListener("load",Pt),Ae.removeEventListener("error",$e),pt()}})}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(mt),l.\u0275\u0275inject(n.DOCUMENT))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})(),Ie=(()=>{class x{constructor(ce){this.jsonp=ce}intercept(ce,Ue){return"JSONP"===ce.method?this.jsonp.handle(ce):Ue.handle(ce)}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(Dt))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();const Qe=/^\)\]\}',?\n/;let bt=(()=>{class x{constructor(ce){this.xhrFactory=ce}handle(ce){if("JSONP"===ce.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new c.y(Ue=>{const Oe=this.xhrFactory.build();if(Oe.open(ce.method,ce.urlWithParams),ce.withCredentials&&(Oe.withCredentials=!0),ce.headers.forEach((_t,Mt)=>Oe.setRequestHeader(_t,Mt.join(","))),ce.headers.has("Accept")||Oe.setRequestHeader("Accept","application/json, text/plain, */*"),!ce.headers.has("Content-Type")){const _t=ce.detectContentTypeHeader();null!==_t&&Oe.setRequestHeader("Content-Type",_t)}if(ce.responseType){const _t=ce.responseType.toLowerCase();Oe.responseType="json"!==_t?_t:"text"}const ve=ce.serializeBody();let Ae=null;const nt=()=>{if(null!==Ae)return Ae;const _t=1223===Oe.status?204:Oe.status,Mt=Oe.statusText||"OK",Ge=new b(Oe.getAllResponseHeaders()),lt=function(x){return"responseURL"in x&&x.responseURL?x.responseURL:/^X-Request-URL:/m.test(x.getAllResponseHeaders())?x.getResponseHeader("X-Request-URL"):null}(Oe)||ce.url;return Ae=new xe({headers:Ge,status:_t,statusText:Mt,url:lt}),Ae},Rt=()=>{let{headers:_t,status:Mt,statusText:Ge,url:lt}=nt(),Ot=null;204!==Mt&&(Ot=void 0===Oe.response?Oe.responseText:Oe.response),0===Mt&&(Mt=Ot?200:0);let Ft=Mt>=200&&Mt<300;if("json"===ce.responseType&&"string"==typeof Ot){const Pe=Ot;Ot=Ot.replace(Qe,"");try{Ot=""!==Ot?JSON.parse(Ot):null}catch(Ee){Ot=Pe,Ft&&(Ft=!1,Ot={error:Ee,text:Ot})}}Ft?(Ue.next(new pe({body:Ot,headers:_t,status:Mt,statusText:Ge,url:lt||void 0})),Ue.complete()):Ue.error(new oe({error:Ot,headers:_t,status:Mt,statusText:Ge,url:lt||void 0}))},kt=_t=>{const{url:Mt}=nt(),Ge=new oe({error:_t,status:Oe.status||0,statusText:Oe.statusText||"Unknown Error",url:Mt||void 0});Ue.error(Ge)};let pt=!1;const Pt=_t=>{pt||(Ue.next(nt()),pt=!0);let Mt={type:ue.DownloadProgress,loaded:_t.loaded};_t.lengthComputable&&(Mt.total=_t.total),"text"===ce.responseType&&!!Oe.responseText&&(Mt.partialText=Oe.responseText),Ue.next(Mt)},$e=_t=>{let Mt={type:ue.UploadProgress,loaded:_t.loaded};_t.lengthComputable&&(Mt.total=_t.total),Ue.next(Mt)};return Oe.addEventListener("load",Rt),Oe.addEventListener("error",kt),Oe.addEventListener("timeout",kt),Oe.addEventListener("abort",kt),ce.reportProgress&&(Oe.addEventListener("progress",Pt),null!==ve&&Oe.upload&&Oe.upload.addEventListener("progress",$e)),Oe.send(ve),Ue.next({type:ue.Sent}),()=>{Oe.removeEventListener("error",kt),Oe.removeEventListener("abort",kt),Oe.removeEventListener("load",Rt),Oe.removeEventListener("timeout",kt),ce.reportProgress&&(Oe.removeEventListener("progress",Pt),null!==ve&&Oe.upload&&Oe.upload.removeEventListener("progress",$e)),Oe.readyState!==Oe.DONE&&Oe.abort()}})}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(n.XhrFactory))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();const Et=new l.InjectionToken("XSRF_COOKIE_NAME"),xt=new l.InjectionToken("XSRF_HEADER_NAME");class dt{}let Ne=(()=>{class x{constructor(ce,Ue,Oe){this.doc=ce,this.platform=Ue,this.cookieName=Oe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ce=this.doc.cookie||"";return ce!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.\u0275parseCookieValue)(ce,this.cookieName),this.lastCookieString=ce),this.lastToken}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(n.DOCUMENT),l.\u0275\u0275inject(l.PLATFORM_ID),l.\u0275\u0275inject(Et))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})(),rt=(()=>{class x{constructor(ce,Ue){this.tokenService=ce,this.headerName=Ue}intercept(ce,Ue){const Oe=ce.url.toLowerCase();if("GET"===ce.method||"HEAD"===ce.method||Oe.startsWith("http://")||Oe.startsWith("https://"))return Ue.handle(ce);const ve=this.tokenService.getToken();return null!==ve&&!ce.headers.has(this.headerName)&&(ce=ce.clone({headers:ce.headers.set(this.headerName,ve)})),Ue.handle(ce)}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(dt),l.\u0275\u0275inject(xt))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})(),ze=(()=>{class x{constructor(ce,Ue){this.backend=ce,this.injector=Ue,this.chain=null}handle(ce){if(null===this.chain){const Ue=this.injector.get(le,[]);this.chain=Ue.reduceRight((Oe,ve)=>new ie(Oe,ve),this.backend)}return this.chain.handle(ce)}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(y),l.\u0275\u0275inject(l.Injector))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();function gt(){return"object"==typeof window?window:{}}let _e=(()=>{class x{static disable(){return{ngModule:x,providers:[{provide:rt,useClass:Ce}]}}static withOptions(ce={}){return{ngModule:x,providers:[ce.cookieName?{provide:Et,useValue:ce.cookieName}:[],ce.headerName?{provide:xt,useValue:ce.headerName}:[]]}}}return x.\u0275fac=function(ce){return new(ce||x)},x.\u0275mod=l.\u0275\u0275defineNgModule({type:x}),x.\u0275inj=l.\u0275\u0275defineInjector({providers:[rt,{provide:le,useExisting:rt,multi:!0},{provide:dt,useClass:Ne},{provide:Et,useValue:"XSRF-TOKEN"},{provide:xt,useValue:"X-XSRF-TOKEN"}]}),x})(),Z=(()=>{class x{}return x.\u0275fac=function(ce){return new(ce||x)},x.\u0275mod=l.\u0275\u0275defineNgModule({type:x}),x.\u0275inj=l.\u0275\u0275defineInjector({providers:[U,{provide:p,useClass:ze},bt,{provide:y,useExisting:bt}],imports:[[_e.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),x})(),j=(()=>{class x{}return x.\u0275fac=function(ce){return new(ce||x)},x.\u0275mod=l.\u0275\u0275defineNgModule({type:x}),x.\u0275inj=l.\u0275\u0275defineInjector({providers:[Dt,{provide:mt,useFactory:gt},{provide:le,useClass:Ie,multi:!0}]}),x})();const _=n.XhrFactory},5e3:(he,A,o)=>{"use strict";o.r(A),o.d(A,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>cg,APP_BOOTSTRAP_LISTENER:()=>xm,APP_ID:()=>Sm,APP_INITIALIZER:()=>Nc,ApplicationInitStatus:()=>Co,ApplicationModule:()=>WC,ApplicationRef:()=>ra,Attribute:()=>hd,COMPILER_OPTIONS:()=>Lm,CUSTOM_ELEMENTS_SCHEMA:()=>Yd,ChangeDetectionStrategy:()=>Ue,ChangeDetectorRef:()=>Ym,Compiler:()=>Uc,CompilerFactory:()=>eC,Component:()=>z1,ComponentFactory:()=>Na,ComponentFactoryResolver:()=>Xo,ComponentRef:()=>cp,ContentChild:()=>hg,ContentChildren:()=>dg,DEFAULT_CURRENCY_CODE:()=>Om,DebugElement:()=>wC,DebugEventListener:()=>bC,DebugNode:()=>IC,DefaultIterableDiffer:()=>eg,Directive:()=>Dm,ElementRef:()=>Zo,EmbeddedViewRef:()=>vC,ErrorHandler:()=>ko,EventEmitter:()=>ls,Host:()=>vd,HostBinding:()=>$1,HostListener:()=>Y1,INJECTOR:()=>Sa,Inject:()=>xo,InjectFlags:()=>_e,Injectable:()=>pv,InjectionToken:()=>Ei,Injector:()=>wr,Input:()=>K1,IterableDiffers:()=>Ya,KeyValueDiffers:()=>Qa,LOCALE_ID:()=>Ga,MissingTranslationStrategy:()=>us,ModuleWithComponentFactories:()=>Rm,NO_ERRORS_SCHEMA:()=>Qd,NgModule:()=>Q1,NgModuleFactory:()=>bp,NgModuleRef:()=>yo,NgProbeToken:()=>uC,NgZone:()=>xr,Optional:()=>ws,Output:()=>G1,PACKAGE_ROOT_URL:()=>X1,PLATFORM_ID:()=>wm,PLATFORM_INITIALIZER:()=>Im,Pipe:()=>W1,PlatformRef:()=>Gc,Query:()=>Do,QueryList:()=>ja,ReflectiveInjector:()=>ho,ReflectiveKey:()=>bs,Renderer2:()=>r1,RendererFactory2:()=>hp,RendererStyleFlags2:()=>rs,ResolvedReflectiveFactory:()=>Bf,Sanitizer:()=>fp,SecurityContext:()=>Ti,Self:()=>da,SimpleChange:()=>Vi,SkipSelf:()=>xs,TRANSLATIONS:()=>Z1,TRANSLATIONS_FORMAT:()=>J1,TemplateRef:()=>ta,Testability:()=>Fm,TestabilityRegistry:()=>Hc,Type:()=>aa,VERSION:()=>mp,Version:()=>pp,ViewChild:()=>pg,ViewChildren:()=>fg,ViewContainerRef:()=>za,ViewEncapsulation:()=>Ae,ViewRef:()=>qm,asNativeElements:()=>CC,assertPlatform:()=>Hm,createNgModuleRef:()=>h1,createPlatform:()=>Vm,createPlatformFactory:()=>jm,defineInjectable:()=>Qe,destroyPlatform:()=>cC,enableProdMode:()=>mC,forwardRef:()=>h,getDebugNode:()=>$a,getModuleFactory:()=>gC,getNgModuleById:()=>_C,getPlatform:()=>Kc,inject:()=>wg,isDevMode:()=>pC,platformCore:()=>FC,resolveForwardRef:()=>g,setTestabilityGetter:()=>aC,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Wc,\u0275APP_ID_RANDOM_PROVIDER:()=>Tm,\u0275ChangeDetectorStatus:()=>Oe,\u0275ComponentFactory:()=>Na,\u0275Console:()=>Am,\u0275DEFAULT_LOCALE_ID:()=>Go,\u0275INJECTOR_SCOPE:()=>eu,\u0275LifecycleHooksFeature:()=>Sf,\u0275LocaleDataIndex:()=>En,\u0275NG_COMP_DEF:()=>lt,\u0275NG_DIR_DEF:()=>Ot,\u0275NG_ELEMENT_ID:()=>B,\u0275NG_INJ_DEF:()=>ze,\u0275NG_MOD_DEF:()=>Pe,\u0275NG_PIPE_DEF:()=>Ft,\u0275NG_PROV_DEF:()=>rt,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>Fa,\u0275NO_CHANGE:()=>On,\u0275NgModuleFactory:()=>Va,\u0275NoopNgZone:()=>Nm,\u0275ReflectionCapabilities:()=>nl,\u0275Render3ComponentFactory:()=>Ba,\u0275Render3ComponentRef:()=>yp,\u0275Render3NgModuleRef:()=>Cc,\u0275RuntimeError:()=>P,\u0275ViewRef:()=>_o,\u0275_sanitizeHtml:()=>Nd,\u0275_sanitizeUrl:()=>Oo,\u0275allowSanitizationBypassAndThrow:()=>$s,\u0275bypassSanitizationTrustHtml:()=>Wg,\u0275bypassSanitizationTrustResourceUrl:()=>Yg,\u0275bypassSanitizationTrustScript:()=>Gg,\u0275bypassSanitizationTrustStyle:()=>Kg,\u0275bypassSanitizationTrustUrl:()=>$g,\u0275clearResolutionOfComponentResourcesQueue:()=>Dd,\u0275compileComponent:()=>hm,\u0275compileDirective:()=>kc,\u0275compileNgModule:()=>om,\u0275compileNgModuleDefs:()=>am,\u0275compileNgModuleFactory:()=>Um,\u0275compilePipe:()=>Em,\u0275createInjector:()=>nu,\u0275defaultIterableDiffers:()=>og,\u0275defaultKeyValueDiffers:()=>ag,\u0275detectChanges:()=>af,\u0275devModeEqual:()=>wf,\u0275findLocaleData:()=>dc,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>rm,\u0275getDebugNode:()=>$a,\u0275getDebugNodeR2:()=>TC,\u0275getDirectives:()=>yf,\u0275getHostElement:()=>su,\u0275getInjectableDef:()=>bt,\u0275getLContext:()=>er,\u0275getLocaleCurrencyCode:()=>ib,\u0275getLocalePluralCase:()=>P0,\u0275getSanitizationBypassType:()=>wd,\u0275global:()=>Pt,\u0275injectChangeDetectorRef:()=>Qm,\u0275isBoundToModule:()=>Bm,\u0275isDefaultChangeDetectionStrategy:()=>ve,\u0275isListLikeIterable:()=>jo,\u0275isObservable:()=>Yf,\u0275isPromise:()=>xu,\u0275isSubscribable:()=>$f,\u0275ivyEnabled:()=>KC,\u0275makeDecorator:()=>Hs,\u0275markDirty:()=>lf,\u0275noSideEffects:()=>ce,\u0275patchComponentDefWithScope:()=>Rc,\u0275publishDefaultGlobalUtils:()=>Xy,\u0275publishGlobalUtil:()=>Nr,\u0275registerLocaleData:()=>nb,\u0275registerNgModuleType:()=>Ep,\u0275renderComponent:()=>Zy,\u0275resetCompiledComponents:()=>L1,\u0275resetJitOptions:()=>O1,\u0275resolveComponentResources:()=>Ed,\u0275setClassMetadata:()=>vp,\u0275setCurrentInjector:()=>sl,\u0275setDocument:()=>Mr,\u0275setLocaleId:()=>F0,\u0275store:()=>Af,\u0275stringify:()=>p,\u0275transitiveScopesFor:()=>ia,\u0275unregisterLocaleData:()=>rb,\u0275unwrapSafeValue:()=>_s,\u0275whenRendered:()=>Jy,\u0275\u0275CopyDefinitionFeature:()=>If,\u0275\u0275FactoryTarget:()=>Fi,\u0275\u0275InheritDefinitionFeature:()=>au,\u0275\u0275NgOnChangesFeature:()=>Gi,\u0275\u0275ProvidersFeature:()=>up,\u0275\u0275advance:()=>Th,\u0275\u0275attribute:()=>cu,\u0275\u0275attributeInterpolate1:()=>du,\u0275\u0275attributeInterpolate2:()=>hu,\u0275\u0275attributeInterpolate3:()=>fu,\u0275\u0275attributeInterpolate4:()=>pu,\u0275\u0275attributeInterpolate5:()=>mu,\u0275\u0275attributeInterpolate6:()=>gu,\u0275\u0275attributeInterpolate7:()=>_u,\u0275\u0275attributeInterpolate8:()=>yu,\u0275\u0275attributeInterpolateV:()=>vu,\u0275\u0275classMap:()=>l0,\u0275\u0275classMapInterpolate1:()=>g0,\u0275\u0275classMapInterpolate2:()=>_0,\u0275\u0275classMapInterpolate3:()=>y0,\u0275\u0275classMapInterpolate4:()=>v0,\u0275\u0275classMapInterpolate5:()=>b0,\u0275\u0275classMapInterpolate6:()=>C0,\u0275\u0275classMapInterpolate7:()=>E0,\u0275\u0275classMapInterpolate8:()=>M0,\u0275\u0275classMapInterpolateV:()=>D0,\u0275\u0275classProp:()=>zu,\u0275\u0275contentQuery:()=>Zp,\u0275\u0275defineComponent:()=>be,\u0275\u0275defineDirective:()=>Ve,\u0275\u0275defineInjectable:()=>Ie,\u0275\u0275defineInjector:()=>ct,\u0275\u0275defineNgModule:()=>vn,\u0275\u0275definePipe:()=>ut,\u0275\u0275directiveInject:()=>Wo,\u0275\u0275disableBindings:()=>Cs,\u0275\u0275element:()=>Wf,\u0275\u0275elementContainer:()=>Kf,\u0275\u0275elementContainerEnd:()=>wu,\u0275\u0275elementContainerStart:()=>Iu,\u0275\u0275elementEnd:()=>Tu,\u0275\u0275elementStart:()=>Su,\u0275\u0275enableBindings:()=>Hr,\u0275\u0275getCurrentView:()=>Gf,\u0275\u0275getInheritedFactory:()=>dd,\u0275\u0275hostProperty:()=>uc,\u0275\u0275i18n:()=>rp,\u0275\u0275i18nApply:()=>op,\u0275\u0275i18nAttributes:()=>sp,\u0275\u0275i18nEnd:()=>mc,\u0275\u0275i18nExp:()=>gc,\u0275\u0275i18nPostprocess:()=>ap,\u0275\u0275i18nStart:()=>pc,\u0275\u0275inject:()=>zi,\u0275\u0275injectAttribute:()=>Ja,\u0275\u0275invalidFactory:()=>zf,\u0275\u0275invalidFactoryDep:()=>ol,\u0275\u0275listener:()=>Au,\u0275\u0275loadQuery:()=>Jp,\u0275\u0275namespaceHTML:()=>ds,\u0275\u0275namespaceMathML:()=>ei,\u0275\u0275namespaceSVG:()=>Ai,\u0275\u0275nextContext:()=>Xf,\u0275\u0275ngDeclareClassMetadata:()=>$C,\u0275\u0275ngDeclareComponent:()=>YC,\u0275\u0275ngDeclareDirective:()=>GC,\u0275\u0275ngDeclareFactory:()=>QC,\u0275\u0275ngDeclareInjectable:()=>XC,\u0275\u0275ngDeclareInjector:()=>ZC,\u0275\u0275ngDeclareNgModule:()=>JC,\u0275\u0275ngDeclarePipe:()=>eE,\u0275\u0275pipe:()=>Bp,\u0275\u0275pipeBind1:()=>Vp,\u0275\u0275pipeBind2:()=>jp,\u0275\u0275pipeBind3:()=>Hp,\u0275\u0275pipeBind4:()=>zp,\u0275\u0275pipeBindV:()=>Wp,\u0275\u0275projection:()=>Jf,\u0275\u0275projectionDef:()=>Zf,\u0275\u0275property:()=>Mu,\u0275\u0275propertyInterpolate:()=>Lu,\u0275\u0275propertyInterpolate1:()=>xa,\u0275\u0275propertyInterpolate2:()=>Pu,\u0275\u0275propertyInterpolate3:()=>ku,\u0275\u0275propertyInterpolate4:()=>Nu,\u0275\u0275propertyInterpolate5:()=>Fu,\u0275\u0275propertyInterpolate6:()=>Uu,\u0275\u0275propertyInterpolate7:()=>Bu,\u0275\u0275propertyInterpolate8:()=>Vu,\u0275\u0275propertyInterpolateV:()=>ju,\u0275\u0275pureFunction0:()=>Dp,\u0275\u0275pureFunction1:()=>Sp,\u0275\u0275pureFunction2:()=>Tp,\u0275\u0275pureFunction3:()=>Ip,\u0275\u0275pureFunction4:()=>wp,\u0275\u0275pureFunction5:()=>xp,\u0275\u0275pureFunction6:()=>Ap,\u0275\u0275pureFunction7:()=>Op,\u0275\u0275pureFunction8:()=>Rp,\u0275\u0275pureFunctionV:()=>Lp,\u0275\u0275queryRefresh:()=>qp,\u0275\u0275reference:()=>Of,\u0275\u0275resolveBody:()=>eh,\u0275\u0275resolveDocument:()=>Jd,\u0275\u0275resolveWindow:()=>Zd,\u0275\u0275restoreView:()=>L,\u0275\u0275sanitizeHtml:()=>Fd,\u0275\u0275sanitizeResourceUrl:()=>gl,\u0275\u0275sanitizeScript:()=>Bd,\u0275\u0275sanitizeStyle:()=>Ud,\u0275\u0275sanitizeUrl:()=>ml,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Hd,\u0275\u0275setComponentScope:()=>je,\u0275\u0275setNgModuleScope:()=>it,\u0275\u0275styleMap:()=>Yr,\u0275\u0275styleMapInterpolate1:()=>S0,\u0275\u0275styleMapInterpolate2:()=>T0,\u0275\u0275styleMapInterpolate3:()=>I0,\u0275\u0275styleMapInterpolate4:()=>w0,\u0275\u0275styleMapInterpolate5:()=>x0,\u0275\u0275styleMapInterpolate6:()=>A0,\u0275\u0275styleMapInterpolate7:()=>O0,\u0275\u0275styleMapInterpolate8:()=>R0,\u0275\u0275styleMapInterpolateV:()=>L0,\u0275\u0275styleProp:()=>Hu,\u0275\u0275stylePropInterpolate1:()=>ec,\u0275\u0275stylePropInterpolate2:()=>tc,\u0275\u0275stylePropInterpolate3:()=>nc,\u0275\u0275stylePropInterpolate4:()=>ic,\u0275\u0275stylePropInterpolate5:()=>rc,\u0275\u0275stylePropInterpolate6:()=>sc,\u0275\u0275stylePropInterpolate7:()=>oc,\u0275\u0275stylePropInterpolate8:()=>ac,\u0275\u0275stylePropInterpolateV:()=>lc,\u0275\u0275syntheticHostListener:()=>Ou,\u0275\u0275syntheticHostProperty:()=>cc,\u0275\u0275template:()=>xf,\u0275\u0275templateRefExtractor:()=>im,\u0275\u0275text:()=>m0,\u0275\u0275textInterpolate:()=>Ku,\u0275\u0275textInterpolate1:()=>Oa,\u0275\u0275textInterpolate2:()=>Gu,\u0275\u0275textInterpolate3:()=>$u,\u0275\u0275textInterpolate4:()=>Yu,\u0275\u0275textInterpolate5:()=>Qu,\u0275\u0275textInterpolate6:()=>qu,\u0275\u0275textInterpolate7:()=>Xu,\u0275\u0275textInterpolate8:()=>Zu,\u0275\u0275textInterpolateV:()=>Ju,\u0275\u0275trustConstantHtml:()=>Vd,\u0275\u0275trustConstantResourceUrl:()=>jd,\u0275\u0275viewQuery:()=>Xp});var n=o(8929),l=o(2654),u=o(6498),c=o(6787),r=o(8117);function d(e){for(let t in e)if(e[t]===d)return t;throw Error("Could not find renamed property on target object.")}function m(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function p(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(p).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 b=d({__forward_ref__:d});function h(e){return e.__forward_ref__=h,e.toString=function(){return p(this())},e}function g(e){return s(e)?e():e}function s(e){return"function"==typeof e&&e.hasOwnProperty(b)&&e.__forward_ref__===h}class P extends Error{constructor(t,i){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,i)),this.code=t}}function T(e){return"string"==typeof e?e:null==e?"":String(e)}function Y(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():T(e)}function X(e,t){const i=t?` in ${t}`:"";throw new P("201",`No provider for ${Y(e)} found${i}`)}function tt(e,t,i,a){throw new Error(`ASSERTION ERROR: ${e}`+(null==a?"":` [Expected=> ${i} ${a} ${t} <=Actual]`))}function Ie(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const Qe=Ie;function ct(e){return{providers:e.providers||[],imports:e.imports||[]}}function bt(e){return Et(e,rt)||Et(e,yt)}function Et(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ne(e){return e&&(e.hasOwnProperty(ze)||e.hasOwnProperty(gt))?e[ze]:null}const rt=d({\u0275prov:d}),ze=d({\u0275inj:d}),yt=d({ngInjectableDef:d}),gt=d({ngInjectorDef:d});var _e=(()=>((_e=_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))();let Z;function _(e){const t=Z;return Z=e,t}function x(e,t,i){const a=bt(e);return a&&"root"==a.providedIn?void 0===a.value?a.value=a.factory():a.value:i&_e.Optional?null:void 0!==t?t:void X(p(e),"Injector")}function ce(e){return{toString:e}.toString()}var Ue=(()=>((Ue=Ue||{})[Ue.OnPush=0]="OnPush",Ue[Ue.Default=1]="Default",Ue))(),Oe=(()=>((Oe=Oe||{})[Oe.CheckOnce=0]="CheckOnce",Oe[Oe.Checked=1]="Checked",Oe[Oe.CheckAlways=2]="CheckAlways",Oe[Oe.Detached=3]="Detached",Oe[Oe.Errored=4]="Errored",Oe[Oe.Destroyed=5]="Destroyed",Oe))();function ve(e){return null==e||e===Ue.Default}var Ae=(()=>{return(e=Ae||(Ae={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ae;var e})();const nt="undefined"!=typeof globalThis&&globalThis,Rt="undefined"!=typeof window&&window,kt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Pt=nt||"undefined"!=typeof global&&global||Rt||kt,Mt={},Ge=[],lt=d({\u0275cmp:d}),Ot=d({\u0275dir:d}),Ft=d({\u0275pipe:d}),Pe=d({\u0275mod:d}),Ee=d({\u0275fac:d}),B=d({__NG_ELEMENT_ID__:d});let V=0;function be(e){return ce(()=>{const i={},a={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ue.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ge,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ae.Emulated,id:"c",styles:e.styles||Ge,_:null,setInput:null,schemas:e.schemas||null,tView:null},f=e.directives,v=e.features,O=e.pipes;return a.id+=V++,a.inputs=st(e.inputs,i),a.outputs=st(e.outputs),v&&v.forEach(H=>H(a)),a.directiveDefs=f?()=>("function"==typeof f?f():f).map(Ct):null,a.pipeDefs=O?()=>("function"==typeof O?O():O).map(Ht):null,a})}function je(e,t,i){const a=e.\u0275cmp;a.directiveDefs=()=>t.map(Ct),a.pipeDefs=()=>i.map(Ht)}function Ct(e){return At(e)||Xt(e)}function Ht(e){return Jt(e)}const $t={};function vn(e){return ce(()=>{const t={type:e.type,bootstrap:e.bootstrap||Ge,declarations:e.declarations||Ge,imports:e.imports||Ge,exports:e.exports||Ge,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&($t[e.id]=e.type),t})}function it(e,t){return ce(()=>{const i=fn(e,!0);i.declarations=t.declarations||Ge,i.imports=t.imports||Ge,i.exports=t.exports||Ge})}function st(e,t){if(null==e)return Mt;const i={};for(const a in e)if(e.hasOwnProperty(a)){let f=e[a],v=f;Array.isArray(f)&&(v=f[1],f=f[0]),i[f]=a,t&&(t[f]=v)}return i}const Ve=be;function ut(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function At(e){return e[lt]||null}function Xt(e){return e[Ot]||null}function Jt(e){return e[Ft]||null}function fn(e,t){const i=e[Pe]||null;if(!i&&!0===t)throw new Error(`Type ${p(e)} does not have '\u0275mod' property.`);return i}function ci(e){return Array.isArray(e)&&"object"==typeof e[1]}function Xn(e){return Array.isArray(e)&&!0===e[1]}function Ri(e){return 0!=(8&e.flags)}function _i(e){return 2==(2&e.flags)}function bi(e){return 1==(1&e.flags)}function si(e){return null!==e.template}function mn(e){return 0!=(512&e[2])}function Si(e,t){return e.hasOwnProperty(Ee)?e[Ee]:null}class Vi{constructor(t,i,a){this.previousValue=t,this.currentValue=i,this.firstChange=a}isFirstChange(){return this.firstChange}}function Gi(){return Pi}function Pi(e){return e.type.prototype.ngOnChanges&&(e.setInput=cr),ur}function ur(){const e=dr(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===Mt)e.previous=t;else for(let a in t)i[a]=t[a];e.current=null,this.ngOnChanges(t)}}function cr(e,t,i,a){const f=dr(e)||function(e,t){return e[di]=t}(e,{previous:Mt,current:null}),v=f.current||(f.current={}),O=f.previous,H=this.declaredInputs[i],se=O[H];v[H]=new Vi(se&&se.currentValue,t,O===Mt),e[a]=t}Gi.ngInherit=!0;const di="__ngSimpleChanges__";function dr(e){return e[di]||null}let $i=null;const Xi=e=>{$i=e},yi=function(e,t,i){null!=$i&&$i(e,t,i)},rr="http://www.w3.org/2000/svg",Br="http://www.w3.org/1998/MathML/";let Rr;function Mr(e){Rr=e}function Yi(){return void 0!==Rr?Rr:"undefined"!=typeof document?document:void 0}function Wn(e){return!!e.listen}const Dr={createRenderer:(e,t)=>Yi()};function fe(e){for(;Array.isArray(e);)e=e[0];return e}function I(e,t){return fe(t[e])}function de(e,t){return fe(t[e.index])}function wt(e,t){return e.data[t]}function Wt(e,t){return e[t]}function hn(e,t){const i=t[e];return ci(i)?i:i[0]}function Nn(e){return 4==(4&e[2])}function Hn(e){return 128==(128&e[2])}function Yn(e,t){return null==t?null:e[t]}function Qn(e){e[18]=0}function ii(e,t){e[5]+=t;let i=e,a=e[3];for(;null!==a&&(1===t&&1===i[5]||-1===t&&0===i[5]);)a[5]+=t,i=a,a=a[3]}const dn={lFrame:cs(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Sr(){return dn.bindingsEnabled}function Hr(){dn.bindingsEnabled=!0}function Cs(){dn.bindingsEnabled=!1}function ye(){return dn.lFrame.lView}function M(){return dn.lFrame.tView}function L(e){return dn.lFrame.contextLView=e,e[8]}function ne(){let e=we();for(;null!==e&&64===e.type;)e=e.parent;return e}function we(){return dn.lFrame.currentTNode}function He(){const e=dn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Je(e,t){const i=dn.lFrame;i.currentTNode=e,i.isParent=t}function at(){return dn.lFrame.isParent}function St(){dn.lFrame.isParent=!1}function en(){return dn.isInCheckNoChangesMode}function yn(e){dn.isInCheckNoChangesMode=e}function pn(){const e=dn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function rn(){return dn.lFrame.bindingIndex}function Cn(e){return dn.lFrame.bindingIndex=e}function In(){return dn.lFrame.bindingIndex++}function Gn(e){const t=dn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function Ci(e){dn.lFrame.inI18n=e}function vi(e,t){const i=dn.lFrame;i.bindingIndex=i.bindingRootIndex=e,ki(t)}function ki(e){dn.lFrame.currentDirectiveIndex=e}function gi(e){const t=dn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Zi(){return dn.lFrame.currentQueryIndex}function xi(e){dn.lFrame.currentQueryIndex=e}function Ji(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Zr(e,t,i){if(i&_e.SkipSelf){let f=t,v=e;for(;!(f=f.parent,null!==f||i&_e.Host||(f=Ji(v),null===f||(v=v[15],10&f.type))););if(null===f)return!1;t=f,e=v}const a=dn.lFrame=gr();return a.currentTNode=t,a.lView=e,!0}function mr(e){const t=gr(),i=e[1];dn.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function gr(){const e=dn.lFrame,t=null===e?null:e.child;return null===t?cs(e):t}function cs(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 Jr(){const e=dn.lFrame;return dn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const tn=Jr;function un(){const e=Jr();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 Un(){return dn.lFrame.selectedIndex}function hi(e){dn.lFrame.selectedIndex=e}function Pn(){const e=dn.lFrame;return wt(e.tView,e.selectedIndex)}function Ai(){dn.lFrame.currentNamespace=rr}function ei(){dn.lFrame.currentNamespace=Br}function ds(){dn.lFrame.currentNamespace=null}function or(e,t){for(let i=t.directiveStart,a=t.directiveEnd;i=a)break}else t[se]<0&&(e[18]+=65536),(H>11>16&&(3&e[2])===t){e[2]+=2048,yi(4,H,v);try{v.call(H)}finally{yi(5,H,v)}}}else{yi(4,H,v);try{v.call(H)}finally{yi(5,H,v)}}}class fs{constructor(t,i,a){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=a}}function vt(e,t,i){const a=Wn(e);let f=0;for(;ft){O=v-1;break}}}for(;v>16}(e),a=t;for(;i>0;)a=a[15],i--;return a}let De=!0;function Fe(e){const t=De;return De=e,t}let sn=0;function cn(e,t){const i=Zn(e,t);if(-1!==i)return i;const a=t[1];a.firstCreatePass&&(e.injectorIndex=t.length,qn(a.data,e),qn(t,null),qn(a.blueprint,null));const f=es(e,t),v=e.injectorIndex;if(re(f)){const O=W(f),H=ge(f,t),se=H[1].data;for(let Me=0;Me<8;Me++)t[v+Me]=H[O+Me]|se[O+Me]}return t[v+8]=f,v}function qn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function es(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,a=null,f=t;for(;null!==f;){const v=f[1],O=v.type;if(a=2===O?v.declTNode:1===O?f[6]:null,null===a)return-1;if(i++,f=f[15],-1!==a.injectorIndex)return a.injectorIndex|i<<16}return-1}function vr(e,t,i){!function(e,t,i){let a;"string"==typeof i?a=i.charCodeAt(0)||0:i.hasOwnProperty(B)&&(a=i[B]),null==a&&(a=i[B]=sn++);const f=255&a;t.data[e+(f>>5)]|=1<=0?255&t:Xa:t}(i);if("function"==typeof v){if(!Zr(t,e,a))return a&_e.Host?Kr(f,i,a):Is(t,i,a,f);try{const O=v(a);if(null!=O||a&_e.Optional)return O;X(i)}finally{tn()}}else if("number"==typeof v){let O=null,H=Zn(e,t),se=-1,Me=a&_e.Host?t[16][6]:null;for((-1===H||a&_e.SkipSelf)&&(se=-1===H?es(e,t):t[H+8],-1!==se&&cd(a,!1)?(O=t[1],H=W(se),t=ge(se,t)):H=-1);-1!==H;){const Le=t[1];if(ud(v,H,Le.data)){const qe=lg(H,t,i,O,a,Me);if(qe!==gs)return qe}se=t[H+8],-1!==se&&cd(a,t[1].data[H+8]===Me)&&ud(v,H,t)?(O=Le,H=W(se),t=ge(se,t)):H=-1}}}return Is(t,i,a,f)}const gs={};function Xa(){return new Us(ne(),ye())}function lg(e,t,i,a,f,v){const O=t[1],H=O.data[e+8],Le=oa(H,O,i,null==a?_i(H)&&De:a!=O&&0!=(3&H.type),f&_e.Host&&v===H);return null!==Le?Mo(t,O,Le,H):gs}function oa(e,t,i,a,f){const v=e.providerIndexes,O=t.data,H=1048575&v,se=e.directiveStart,Le=v>>20,ht=f?H+Le:e.directiveEnd;for(let Tt=a?H:H+Le;Tt=se&&Bt.type===i)return Tt}if(f){const Tt=O[se];if(Tt&&si(Tt)&&Tt.type===i)return se}return null}function Mo(e,t,i,a){let f=e[i];const v=t.data;if(function(e){return e instanceof fs}(f)){const O=f;O.resolving&&function(e,t){throw new P("200",`Circular dependency in DI detected for ${e}`)}(Y(v[i]));const H=Fe(O.canSeeViewProviders);O.resolving=!0;const se=O.injectImpl?_(O.injectImpl):null;Zr(e,a,_e.Default);try{f=e[i]=O.factory(void 0,v,e,a),t.firstCreatePass&&i>=a.directiveStart&&function(e,t,i){const{ngOnChanges:a,ngOnInit:f,ngDoCheck:v}=t.type.prototype;if(a){const O=Pi(t);(i.preOrderHooks||(i.preOrderHooks=[])).push(e,O),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,O)}f&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-e,f),v&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,v),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,v))}(i,v[i],t)}finally{null!==se&&_(se),Fe(H),O.resolving=!1,tn()}}return f}function ud(e,t,i){return!!(i[t+(e>>5)]&1<{const t=e.prototype.constructor,i=t[Ee]||Za(t),a=Object.prototype;let f=Object.getPrototypeOf(e.prototype).constructor;for(;f&&f!==a;){const v=f[Ee]||Za(f);if(v&&v!==i)return v;f=Object.getPrototypeOf(f)}return v=>new v})}function Za(e){return s(e)?()=>{const t=Za(g(e));return t&&t()}:Si(e)}function Ja(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const a=i.length;let f=0;for(;f{const v=el(t);function O(...H){if(this instanceof O)return v.call(this,...H),this;const se=new O(...H);return function(Le){return f&&f(Le,...H),(Le.hasOwnProperty(Bs)?Le[Bs]:Object.defineProperty(Le,Bs,{value:[]})[Bs]).push(se),a&&a(Le),Le}}return i&&(O.prototype=Object.create(i.prototype)),O.prototype.ngMetadataName=e,O.annotationCls=O,O})}function el(e){return function(...i){if(e){const a=e(...i);for(const f in a)this[f]=a[f]}}}function zs(e,t,i){return ce(()=>{const a=el(t);function f(...v){if(this instanceof f)return a.apply(this,v),this;const O=new f(...v);return H.annotation=O,H;function H(se,Me,Le){const qe=se.hasOwnProperty(Vs)?se[Vs]:Object.defineProperty(se,Vs,{value:[]})[Vs];for(;qe.length<=Le;)qe.push(null);return(qe[Le]=qe[Le]||[]).push(O),se}}return i&&(f.prototype=Object.create(i.prototype)),f.prototype.ngMetadataName=e,f.annotationCls=f,f})}function Es(e,t,i,a){return ce(()=>{const f=el(t);function v(...O){if(this instanceof v)return f.apply(this,O),this;const H=new v(...O);return function(Me,Le){const qe=Me.constructor,ht=qe.hasOwnProperty(js)?qe[js]:Object.defineProperty(qe,js,{value:{}})[js];ht[Le]=ht.hasOwnProperty(Le)&&ht[Le]||[],ht[Le].unshift(H),a&&a(Me,Le,...O)}}return i&&(v.prototype=Object.create(i.prototype)),v.prototype.ngMetadataName=e,v.annotationCls=v,v})}const hd=zs("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Ja(e)}));class Ei{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=Ie({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}toString(){return`InjectionToken ${this._desc}`}}const cg=new Ei("AnalyzeForEntryComponents");class Do{}const dg=Es("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),Do),hg=Es("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),Do),fg=Es("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),Do),pg=Es("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),Do);var Fi=(()=>((Fi=Fi||{})[Fi.Directive=0]="Directive",Fi[Fi.Component=1]="Component",Fi[Fi.Injectable=2]="Injectable",Fi[Fi.Pipe=3]="Pipe",Fi[Fi.NgModule=4]="NgModule",Fi))();function Ui(e){const t=Pt.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const aa=Function;function So(e){return"function"==typeof e}function kr(e,t){void 0===t&&(t=e);for(let i=0;iArray.isArray(i)?ts(i,t):t(i))}function pd(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function la(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function To(e,t){const i=[];for(let a=0;a=0?e[1|a]=i:(a=~a,function(e,t,i,a){let f=e.length;if(f==t)e.push(i,a);else if(1===f)e.push(a,e[0]),e[0]=i;else{for(f--,e.push(e[f-1],e[f]);f>t;)e[f]=e[f-2],f--;e[t]=i,e[t+1]=a}}(e,a,t,i)),a}function tl(e,t){const i=Ws(e,t);if(i>=0)return e[1|i]}function Ws(e,t){return function(e,t,i){let a=0,f=e.length>>i;for(;f!==a;){const v=a+(f-a>>1),O=e[v<t?f=v:a=v+1}return~(f<new t(...i)}_zipTypesAndAnnotations(t,i){let a;a=To(void 0===t?i.length:t.length);for(let f=0;fLe&&Le.type),Me=H.map(Le=>Le&&il(Le.decorators));return this._zipTypesAndAnnotations(se,Me)}const v=t.hasOwnProperty(Vs)&&t[Vs],O=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return O||v?this._zipTypesAndAnnotations(O,v):To(t.length)}parameters(t){if(!So(t))return[];const i=ua(t);let a=this._ownParameters(t,i);return!a&&i!==Object&&(a=this.parameters(i)),a||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let a=t.annotations;return"function"==typeof a&&a.annotations&&(a=a.annotations),a}return t.decorators&&t.decorators!==i.decorators?il(t.decorators):t.hasOwnProperty(Bs)?t[Bs]:null}annotations(t){if(!So(t))return[];const i=ua(t),a=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(a)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let a=t.propMetadata;return"function"==typeof a&&a.propMetadata&&(a=a.propMetadata),a}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const a=t.propDecorators,f={};return Object.keys(a).forEach(v=>{f[v]=il(a[v])}),f}return t.hasOwnProperty(js)?t[js]:null}propMetadata(t){if(!So(t))return{};const i=ua(t),a={};if(i!==Object){const v=this.propMetadata(i);Object.keys(v).forEach(O=>{a[O]=v[O]})}const f=this._ownPropMetadata(t,i);return f&&Object.keys(f).forEach(v=>{const O=[];a.hasOwnProperty(v)&&O.push(...a[v]),O.push(...f[v]),a[v]=O}),a}ownPropMetadata(t){return So(t)&&this._ownPropMetadata(t,ua(t))||{}}hasLifecycleHook(t,i){return t instanceof aa&&i in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:`./${p(t)}`}resourceUri(t){return`./${p(t)}`}resolveIdentifier(t,i,a,f){return f}resolveEnum(t,i){return t[i]}}function il(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function ua(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Ms={},rl="__NG_DI_FLAG__",ca="ngTempTokenPath",Dg=/\n/gm,yd="__source",Tg=d({provide:String,useValue:d});let Io;function sl(e){const t=Io;return Io=e,t}function Ig(e,t=_e.Default){if(void 0===Io)throw new Error("inject() must be called from an injection context");return null===Io?x(e,void 0,t):Io.get(e,t&_e.Optional?null:void 0,t)}function zi(e,t=_e.Default){return(Z||Ig)(g(e),t)}function ol(e){throw new Error("invalid")}const wg=zi;function al(e){const t=[];for(let i=0;i({token:e})),-1),ws=wo(zs("Optional"),8),da=wo(zs("Self"),2),xs=wo(zs("SkipSelf"),4),vd=wo(zs("Host"),1);let bd=null;function ll(){return bd=bd||new nl}function ha(e){return Cd(ll().parameters(e))}function Cd(e){return e.map(t=>function(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 O=[];f.templateUrl&&O.push(a(f.templateUrl).then(qe=>{f.template=qe}));const H=f.styleUrls,se=f.styles||(f.styles=[]),Me=f.styles.length;H&&H.forEach((qe,ht)=>{se.push(""),O.push(a(qe).then(Tt=>{se[Me+ht]=Tt,H.splice(H.indexOf(qe),1),0==H.length&&(f.styleUrls=void 0)}))});const Le=Promise.all(O).then(()=>function(e){Ao.delete(e)}(v));t.push(Le)}),Dd(),Promise.all(t).then(()=>{})}let Ks=new Map;const Ao=new Set;function Md(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Dd(){const e=Ks;return Ks=new Map,e}function kg(e){return"string"==typeof e?e:e.text()}let fa,pa;function ul(){if(void 0===fa&&(fa=null,Pt.trustedTypes))try{fa=Pt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return fa}function Gs(e){var t;return(null===(t=ul())||void 0===t?void 0:t.createHTML(e))||e}function cl(){if(void 0===pa&&(pa=null,Pt.trustedTypes))try{pa=Pt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return pa}function Sd(e){var t;return(null===(t=cl())||void 0===t?void 0:t.createHTML(e))||e}function Td(e){var t;return(null===(t=cl())||void 0===t?void 0:t.createScript(e))||e}function Id(e){var t;return(null===(t=cl())||void 0===t?void 0:t.createScriptURL(e))||e}class As{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Bg extends As{getTypeName(){return"HTML"}}class Vg extends As{getTypeName(){return"Style"}}class jg extends As{getTypeName(){return"Script"}}class Hg extends As{getTypeName(){return"URL"}}class zg extends As{getTypeName(){return"ResourceURL"}}function _s(e){return e instanceof As?e.changingThisBreaksApplicationSecurity:e}function $s(e,t){const i=wd(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see https://g.co/ng/security#xss)`)}return i===t}function wd(e){return e instanceof As&&e.getTypeName()||null}function Wg(e){return new Bg(e)}function Kg(e){return new Vg(e)}function Gg(e){return new jg(e)}function $g(e){return new Hg(e)}function Yg(e){return new zg(e)}function xd(e){const t=new qg(e);return function(){try{return!!(new window.DOMParser).parseFromString(Gs(""),"text/html")}catch(e){return!1}}()?new Qg(t):t}class Qg{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(Gs(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch(i){return null}}}class qg{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const i=this.inertDocument.createElement("html");this.inertDocument.appendChild(i);const a=this.inertDocument.createElement("body");i.appendChild(a)}}getInertBodyElement(t){const i=this.inertDocument.createElement("template");if("content"in i)return i.innerHTML=Gs(t),i;const a=this.inertDocument.createElement("body");return a.innerHTML=Gs(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(a),a}stripCustomNsAttrs(t){const i=t.attributes;for(let f=i.length-1;0Oo(t.trim())).join(", ")}function ns(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Ro(...e){const t={};for(const i of e)for(const a in i)i.hasOwnProperty(a)&&(t[a]=!0);return t}const Od=ns("area,br,col,hr,img,wbr"),Rd=ns("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ld=ns("rp,rt"),dl=Ro(Od,Ro(Rd,ns("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")),Ro(Ld,ns("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")),Ro(Ld,Rd)),hl=ns("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),fl=ns("srcset"),Pd=Ro(hl,fl,ns("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ns("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")),e_=ns("script,style,template");class t_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,a=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?a=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,a&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let f=this.checkClobberedElement(i,i.nextSibling);if(f){i=f;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!dl.hasOwnProperty(i))return this.sanitizedSomething=!0,!e_.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const a=t.attributes;for(let f=0;f"),!0}endElement(t){const i=t.nodeName.toLowerCase();dl.hasOwnProperty(i)&&!Od.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(kd(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 n_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i_=/([^\#-~ |!])/g;function kd(e){return e.replace(/&/g,"&").replace(n_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(i_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let ma;function Nd(e,t){let i=null;try{ma=ma||xd(e);let a=t?String(t):"";i=ma.getInertBodyElement(a);let f=5,v=a;do{if(0===f)throw new Error("Failed to sanitize html because the input is unstable");f--,a=v,v=i.innerHTML,i=ma.getInertBodyElement(a)}while(a!==v);return Gs((new t_).sanitizeChildren(pl(i)||i))}finally{if(i){const a=pl(i)||i;for(;a.firstChild;)a.removeChild(a.firstChild)}}}function pl(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ti=(()=>((Ti=Ti||{})[Ti.NONE=0]="NONE",Ti[Ti.HTML=1]="HTML",Ti[Ti.STYLE=2]="STYLE",Ti[Ti.SCRIPT=3]="SCRIPT",Ti[Ti.URL=4]="URL",Ti[Ti.RESOURCE_URL=5]="RESOURCE_URL",Ti))();function Fd(e){const t=Lo();return t?Sd(t.sanitize(Ti.HTML,e)||""):$s(e,"HTML")?Sd(_s(e)):Nd(Yi(),T(e))}function Ud(e){const t=Lo();return t?t.sanitize(Ti.STYLE,e)||"":$s(e,"Style")?_s(e):T(e)}function ml(e){const t=Lo();return t?t.sanitize(Ti.URL,e)||"":$s(e,"URL")?_s(e):Oo(T(e))}function gl(e){const t=Lo();if(t)return Id(t.sanitize(Ti.RESOURCE_URL,e)||"");if($s(e,"ResourceURL"))return Id(_s(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Bd(e){const t=Lo();if(t)return Td(t.sanitize(Ti.SCRIPT,e)||"");if($s(e,"Script"))return Td(_s(e));throw new Error("unsafe value used in a script context")}function Vd(e){return Gs(e[0])}function jd(e){return function(e){var t;return(null===(t=ul())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Hd(e,t,i){return function(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?gl:ml}(t,i)(e)}function Lo(){const e=ye();return e&&e[12]}function er(e){let t=Po(e);if(t){if(Array.isArray(t)){const i=t;let a,f,v;if(function(e){return e&&e.constructor&&e.constructor.\u0275cmp}(e)){if(a=Gd(i,e),-1==a)throw new Error("The provided component was not found in the application");f=e}else if(function(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(a=function(e,t){let i=e[1].firstChild;for(;i;){const f=i.directiveEnd;for(let v=i.directiveStart;v=0){const H=fe(v[O]),se=_l(v,O,H);tr(H,se),t=se;break}}}}return t||null}function _l(e,t,i){return{lView:e,nodeIndex:t,native:i,component:void 0,directives:void 0,localRefs:void 0}}function zd(e){let i,t=Po(e);if(Array.isArray(t)){const a=Gd(t,e);i=hn(a,t);const f=_l(t,a,i[0]);f.component=e,tr(e,f),tr(f.native,f)}else i=hn(t.nodeIndex,t.lView);return i}const Wd="__ngContext__";function tr(e,t){e[Wd]=t}function Po(e){return e[Wd]||null}function yl(e){const t=Po(e);return t?Array.isArray(t)?t:t.lView:null}function Kd(e,t){const i=e[1];for(let a=20;a|^->||--!>|)/;const Xd=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Pt))();function Zd(e){return e.ownerDocument.defaultView}function Jd(e){return e.ownerDocument}function eh(e){return e.ownerDocument.body}function is(e){return e instanceof Function?e():e}var rs=(()=>((rs=rs||{})[rs.Important=1]="Important",rs[rs.DashCase=2]="DashCase",rs))();let Cl;function El(e,t){return Cl(e,t)}function No(e){const t=e[3];return Xn(t)?t[3]:t}function rh(e){return function(e){let t=ci(e)?e:yl(e);for(;t&&!(512&t[2]);)t=No(t);return t}(e)[8]}function Ml(e){return sh(e[13])}function Dl(e){return sh(e[4])}function sh(e){for(;null!==e&&!Xn(e);)e=e[4];return e}function Qs(e,t,i,a,f){if(null!=a){let v,O=!1;Xn(a)?v=a:ci(a)&&(O=!0,a=a[0]);const H=fe(a);0===e&&null!==i?null==f?dh(t,i,H):Os(t,i,H,f||null,!0):1===e&&null!==i?Os(t,i,H,f||null,!0):2===e?yh(t,H,O):3===e&&t.destroyNode(H),null!=v&&function(e,t,i,a,f){const v=i[7];v!==fe(i)&&Qs(t,e,a,v,f);for(let H=10;Ht.replace(y_,"\u200b$1\u200b"))}(t))}function Tl(e,t,i){return Wn(e)?e.createElement(t,i):null===i?e.createElement(t):e.createElementNS(i,t)}function ah(e,t){const i=e[9],a=i.indexOf(t),f=t[3];1024&t[2]&&(t[2]&=-1025,ii(f,-1)),i.splice(a,1)}function Il(e,t){if(e.length<=10)return;const i=10+t,a=e[i];if(a){const f=a[17];null!==f&&f!==e&&ah(f,a),t>0&&(e[i-1][4]=a[4]);const v=la(e,10+t);!function(e,t){Fo(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(a[1],a);const O=v[19];null!==O&&O.detachView(v[1]),a[3]=null,a[4]=null,a[2]&=-129}return a}function lh(e,t){if(!(256&t[2])){const i=t[11];Wn(i)&&i.destroyNode&&Fo(e,t,i,3,null,null),function(e){let t=e[13];if(!t)return wl(e[1],e);for(;t;){let i=null;if(ci(t))i=t[13];else{const a=t[10];a&&(i=a)}if(!i){for(;t&&!t[4]&&t!==e;)ci(t)&&wl(t[1],t),t=t[3];null===t&&(t=e),ci(t)&&wl(t[1],t),i=t&&t[4]}t=i}}(t)}}function wl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let a=0;a=0?a[f=Me]():a[f=-Me].unsubscribe(),v+=2}else{const O=a[f=i[v+1]];i[v].call(O)}if(null!==a){for(let v=f+1;vv?"":f[qe+1].toLowerCase();const Tt=8&a?ht:null;if(Tt&&-1!==Ch(Tt,Me,0)||2&a&&Me!==ht){if(Gr(a))return!1;O=!0}}}}else{if(!O&&!Gr(a)&&!Gr(se))return!1;if(O&&Gr(se))continue;O=!1,a=se|1&a}}return Gr(a)||O}function Gr(e){return 0==(1&e)}function H_(e,t,i,a){if(null===t)return-1;let f=0;if(a||!i){let v=!1;for(;f-1)for(i++;i0?'="'+H+'"':"")+"]"}else 8&a?f+="."+O:4&a&&(f+=" "+O);else""!==f&&!Gr(O)&&(t+=Sh(v,f),f=""),a=O,v=v||!Gr(a);i++}return""!==f&&(t+=Sh(v,f)),t}const On={};function Th(e){Ih(M(),ye(),Un()+e,en())}function Ih(e,t,i,a){if(!a)if(3==(3&t[2])){const v=e.preOrderCheckHooks;null!==v&&Hi(t,v,i)}else{const v=e.preOrderHooks;null!==v&&zr(t,v,0,i)}hi(i)}function va(e,t){return e<<17|t<<2}function $r(e){return e>>17&32767}function Ll(e){return 2|e}function ys(e){return(131068&e)>>2}function Pl(e,t){return-131069&e|t<<2}function kl(e){return 1|e}const zl=(()=>Promise.resolve(null))();function Uh(e,t){const i=e.contentQueries;if(null!==i)for(let a=0;a20&&Ih(e,t,20,en()),yi(O?2:0,f),i(a,f)}finally{hi(v),yi(O?3:1,f)}}function Vh(e,t,i){if(Ri(t)){const f=t.directiveEnd;for(let v=t.directiveStart;v0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(H)!=se&&H.push(se),H.push(a,f,O)}}function Yh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Qh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ey(e,t,i){if(i){if(t.exportAs)for(let a=0;a0&&Ql(i)}}function Ql(e){for(let a=Ml(e);null!==a;a=Dl(a))for(let f=10;f0&&Ql(v)}const i=e[1].components;if(null!==i)for(let a=0;a0&&Ql(f)}}function xy(e,t){const i=hn(t,e),a=i[1];(function(e,t){for(let i=t.length;ia=f),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Xl(e)),2&e.flags){e.flags&=-3;const f=e.playerHandler;f&&f.flushPlayers()}e.clean=zl,a(null)})}}(ql(zd(e))[8])}const Sa=new Ei("INJECTOR",-1);class uf{get(t,i=Ms){if(i===Ms){const a=new Error(`NullInjectorError: No provider for ${p(t)}!`);throw a.name="NullInjectorError",a}return i}}const eu=new Ei("Set Injector scope."),Vo={},ky={};let tu;function cf(){return void 0===tu&&(tu=new uf),tu}function nu(e,t=null,i=null,a){const f=df(e,t,i,a);return f._resolveInjectorDefTypes(),f}function df(e,t=null,i=null,a){return new Ny(e,i,t||cf(),a)}class Ny{constructor(t,i,a,f=null){this.parent=a,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const v=[];i&&ts(i,H=>this.processProvider(H,t,i)),ts([t],H=>this.processInjectorType(H,[],v)),this.records.set(Sa,Js(void 0,this));const O=this.records.get(eu);this.scope=null!=O?O.value:null,this.source=f||("object"==typeof t?null:p(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,i=Ms,a=_e.Default){this.assertNotDestroyed();const f=sl(this),v=_(void 0);try{if(!(a&_e.SkipSelf)){let H=this.records.get(t);if(void 0===H){const se=("function"==typeof(e=t)||"object"==typeof e&&e instanceof Ei)&&bt(t);H=se&&this.injectableDefInScope(se)?Js(iu(t),Vo):null,this.records.set(t,H)}if(null!=H)return this.hydrate(t,H)}return(a&_e.Self?cf():this.parent).get(t,i=a&_e.Optional&&i===Ms?null:i)}catch(O){if("NullInjectorError"===O.name){if((O[ca]=O[ca]||[]).unshift(p(t)),f)throw O;return function(e,t,i,a){const f=e[ca];throw t[yd]&&f.unshift(t[yd]),e.message=function(e,t,i,a=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let f=p(t);if(Array.isArray(t))f=t.map(p).join(" -> ");else if("object"==typeof t){let v=[];for(let O in t)if(t.hasOwnProperty(O)){let H=t[O];v.push(O+":"+("string"==typeof H?JSON.stringify(H):p(H)))}f=`{${v.join(", ")}}`}return`${i}${a?"("+a+")":""}[${f}]: ${e.replace(Dg,"\n ")}`}("\n"+e.message,f,i,a),e.ngTokenPath=f,e[ca]=null,e}(O,t,"R3InjectorError",this.source)}throw O}finally{_(v),sl(f)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((a,f)=>t.push(p(f))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,i,a){if(!(t=g(t)))return!1;let f=Ne(t);const v=null==f&&t.ngModule||void 0,O=void 0===v?t:v,H=-1!==a.indexOf(O);if(void 0!==v&&(f=Ne(v)),null==f)return!1;if(null!=f.imports&&!H){let Le;a.push(O);try{ts(f.imports,qe=>{this.processInjectorType(qe,i,a)&&(void 0===Le&&(Le=[]),Le.push(qe))})}finally{}if(void 0!==Le)for(let qe=0;qethis.processProvider(Bt,ht,Tt||Ge))}}this.injectorDefTypes.add(O);const se=Si(O)||(()=>new O);this.records.set(O,Js(se,Vo));const Me=f.providers;if(null!=Me&&!H){const Le=t;ts(Me,qe=>this.processProvider(qe,Le,Me))}return void 0!==v&&void 0!==t.providers}processProvider(t,i,a){let f=eo(t=g(t))?t:g(t&&t.provide);const v=(e=t,ff(e)?Js(void 0,e.useValue):Js(hf(e),Vo));var e;if(eo(t)||!0!==t.multi)this.records.get(f);else{let O=this.records.get(f);O||(O=Js(void 0,Vo,!0),O.factory=()=>al(O.multi),this.records.set(f,O)),f=t,O.multi.push(t)}this.records.set(f,v)}hydrate(t,i){return i.value===Vo&&(i.value=ky,i.value=i.factory()),"object"==typeof i.value&&i.value&&null!==(e=i.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(i.value),i.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const i=g(t.providedIn);return"string"==typeof i?"any"===i||i===this.scope:this.injectorDefTypes.has(i)}}function iu(e){const t=bt(e),i=null!==t?t.factory:Si(e);if(null!==i)return i;if(e instanceof Ei)throw new Error(`Token ${p(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const a=To(t,"?");throw new Error(`Can't resolve all parameters for ${p(e)}: (${a.join(", ")}).`)}const i=function(e){const t=e&&(e[rt]||e[yt]);if(t){const i=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${i}" class.`),t}return null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new Error("unreachable")}function hf(e,t,i){let a;if(eo(e)){const f=g(e);return Si(f)||iu(f)}if(ff(e))a=()=>g(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))a=()=>e.useFactory(...al(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))a=()=>zi(g(e.useExisting));else{const f=g(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Si(f)||iu(f);a=()=>new f(...al(e.deps))}return a}function Js(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function ff(e){return null!==e&&"object"==typeof e&&Tg in e}function eo(e){return"function"==typeof e}let wr=(()=>{class e{static create(i,a){var f;if(Array.isArray(i))return nu({name:""},a,i,"");{const v=null!==(f=i.name)&&void 0!==f?f:"";return nu({name:v},i.parent,i.providers,v)}}}return e.THROW_IF_NOT_FOUND=Ms,e.NULL=new uf,e.\u0275prov=Ie({token:e,providedIn:"any",factory:()=>zi(Sa)}),e.__NG_ELEMENT_ID__=-1,e})();function ru(e){ou(e);const t=er(e);return null===t?null:(void 0===t.component&&(t.component=function(e,t){const i=t[1].data[e];return 2&i.flags?t[i.directiveStart]:null}(t.nodeIndex,t.lView)),t.component)}function pf(e){ou(e);const t=er(e);return null===t?null:t.lView[8]}function mf(e){const t=er(e);if(null===t)return null;let a,i=t.lView;for(;2===i[1].type&&(a=No(i));)i=a;return 512&i[2]?null:i[8]}function gf(e){return[...rh(e).components]}function _f(e){const t=er(e);return null===t?wr.NULL:new Us(t.lView[1].data[t.nodeIndex],t.lView)}function yf(e){if(e instanceof Text)return[];const t=er(e);if(null===t)return[];const i=t.lView,a=i[1],f=t.nodeIndex;return(null==a?void 0:a.data[f])?(void 0===t.directives&&(t.directives=$d(f,i,!1)),null===t.directives?[]:[...t.directives]):[]}function Gy(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=At(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?Ue.OnPush:Ue.Default};const a=Xt(t);return a?{inputs:a.inputs,outputs:a.outputs}:null}function su(e){return er(e).native}function vf(e){ou(e);const t=er(e);if(null===t)return[];const i=t.lView,f=i[7],v=i[1].cleanup,O=[];if(v&&f)for(let H=0;H=0?"dom":"output",Kt="boolean"==typeof Tt&&Tt;e==qe&&O.push({element:e,name:Le,callback:ht,useCapture:Kt,type:Bt})}}return O.sort(Yy),O}function Yy(e,t){return e.name==t.name?0:e.nameaf(t))}let Cf=!1;function Xy(){Cf||(Cf=!0,Nr("\u0275setProfiler",Xi),Nr("getDirectiveMetadata",Gy),Nr("getComponent",ru),Nr("getContext",pf),Nr("getListeners",vf),Nr("getOwningComponent",mf),Nr("getHostElement",su),Nr("getInjector",_f),Nr("getRootComponents",gf),Nr("getDirectives",yf),Nr("applyChanges",qy))}function Nr(e,t){if("undefined"==typeof COMPILED||!COMPILED){const i=Pt;if(i){let a=i.ng;a||(a=i.ng={}),a[e]=t}}}function Zy(e,t={}){const i=t.rendererFactory||Dr,a=t.sanitizer||null,f=At(e);f.type!=e&&(f.type=e);const v=f.selectors[0][0],H=zh(i.createRenderer(null,null),t.host||v,f.encapsulation),se=f.onPush?576:528,Me=Df(t.scheduler,t.playerHandler),Le=i.createRenderer(H,f),qe=Ea(0,null,null,1,0,null,null,null,null,null),ht=Uo(null,qe,Me,se,null,null,i,Le,null,t.injector||null);let Tt;mr(ht);try{i.begin&&i.begin(),Tt=Mf(Ef(H,f,ht,i,Le,a),f,ht,Me,t.hostFeatures||null),Bo(qe,ht,null),Zs(qe,ht,null,null)}finally{un(),i.end&&i.end()}return Tt}function Ef(e,t,i,a,f,v){const O=i[1];i[20]=e;const se=qs(O,20,2,"#host",null),Me=se.mergedAttrs=t.hostAttrs;null!==Me&&(Da(se,Me,!0),null!==e&&(vt(f,e,Me),null!==se.classes&&Rl(f,e,se.classes),null!==se.styles&&bh(f,e,se.styles)));const Le=a.createRenderer(e,t),qe=Uo(i,jh(t),null,t.onPush?64:16,i[20],se,a,Le,v||null,null);return O.firstCreatePass&&(vr(cn(se,i),O,t.type),Qh(O,se),qh(se,i.length,1)),Ma(i,qe),i[20]=qe}function Mf(e,t,i,a,f){const v=i[1],O=function(e,t,i){const a=ne();e.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),Xh(e,a,t,Xs(e,t,1,null),i));const f=Mo(t,e,a.directiveStart,a);tr(f,t);const v=de(a,t);return v&&tr(v,t),f}(v,i,t);if(a.components.push(O),e[8]=O,f&&f.forEach(se=>se(O,t)),t.contentQueries){const se=ne();t.contentQueries(1,O,se.directiveStart)}const H=ne();return!v.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(hi(H.index),$h(i[1],H,0,H.directiveStart,H.directiveEnd,t),Yh(t,O)),O}function Df(e,t){return{components:[],scheduler:e||Xd,clean:Py,playerHandler:t||null,flags:0}}function Sf(e,t){or(yl(e)[1],ne())}function Jy(e){return rh(e).clean}function Tf(e){return Object.getPrototypeOf(e.prototype).constructor}function au(e){let t=Tf(e.type),i=!0;const a=[e];for(;t;){let f;if(si(e))f=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");f=t.\u0275dir}if(f){if(i){a.push(f);const O=e;O.inputs=lu(e.inputs),O.declaredInputs=lu(e.declaredInputs),O.outputs=lu(e.outputs);const H=f.hostBindings;H&&iv(e,H);const se=f.viewQuery,Me=f.contentQueries;if(se&&tv(e,se),Me&&nv(e,Me),m(e.inputs,f.inputs),m(e.declaredInputs,f.declaredInputs),m(e.outputs,f.outputs),si(f)&&f.data.animation){const Le=e.data;Le.animation=(Le.animation||[]).concat(f.data.animation)}}const v=f.features;if(v)for(let O=0;O=0;a--){const f=e[a];f.hostVars=t+=f.hostVars,f.hostAttrs=Dn(f.hostAttrs,i=Dn(i,f.hostAttrs))}}(a)}function lu(e){return e===Mt?{}:e===Ge?[]:e}function tv(e,t){const i=e.viewQuery;e.viewQuery=i?(a,f)=>{t(a,f),i(a,f)}:t}function nv(e,t){const i=e.contentQueries;e.contentQueries=i?(a,f,v)=>{t(a,f,v),i(a,f,v)}:t}function iv(e,t){const i=e.hostBindings;e.hostBindings=i?(a,f)=>{t(a,f),i(a,f)}:t}const rv=["providersResolver"],sv=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function If(e){let i,t=Tf(e.type);i=si(e)?t.\u0275cmp:t.\u0275dir;const a=e;for(const f of rv)a[f]=i[f];if(si(i))for(const f of sv)a[f]=i[f]}let Ta=null;function to(){if(!Ta){const e=Pt.Symbol;if(e&&e.iterator)Ta=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let i=0;i=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=a}function Of(e){return Wt(dn.lFrame.contextLView,20+e)}const Rf={\u0275\u0275defineInjectable:Ie,\u0275\u0275defineInjector:ct,\u0275\u0275inject:zi,\u0275\u0275invalidFactoryDep:ol,resolveForwardRef:g};const cv=d({provide:String,useValue:d});function Lf(e){return void 0!==e.useClass}function Pf(e){return void 0!==e.useFactory}const pv=Hs("Injectable",void 0,void 0,void 0,(e,t)=>function(e,t){let i=null,a=null;e.hasOwnProperty(rt)||Object.defineProperty(e,rt,{get:()=>(null===i&&(i=Ui().compileInjectable(Rf,`ng:///${e.name}/\u0275prov.js`,function(e,t){const i=t||{providedIn:null},a={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(Lf(i)||Pf(i))&&void 0!==i.deps&&(a.deps=Cd(i.deps)),Lf(i)?a.useClass=i.useClass:function(e){return cv in e}(i)?a.useValue=i.useValue:Pf(i)?a.useFactory=i.useFactory:function(e){return void 0!==e.useExisting}(i)&&(a.useExisting=i.useExisting),a}(e,t))),i)}),e.hasOwnProperty(Ee)||Object.defineProperty(e,Ee,{get:()=>{if(null===a){const f=Ui();a=f.compileFactory(Rf,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:ha(e),target:f.FactoryTarget.Injectable})}return a},configurable:!0})}(e,t));function bu(e){return e.length>1?" ("+function(e){const t=[];for(let i=0;i-1)return t.push(e[i]),t;t.push(e[i])}return t}(e.slice().reverse()).map(a=>p(a.token)).join(" -> ")+")":""}function Cu(e,t,i,a){const f=[t],v=i(f),O=a?function(e,t){const i=`${e} caused by: ${t instanceof Error?t.message:t}`,a=Error(i);return a[vl]=t,a}(v,a):Error(v);return O.addKey=gv,O.keys=f,O.injectors=[e],O.constructResolvingMessage=i,O[vl]=a,O}function gv(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function kf(e,t){const i=[];for(let a=0,f=t.length;aa,i=[wa.fromKey(bs.get(e.useExisting))]):e.useFactory?(t=e.useFactory,i=function(e,t){if(t){const i=t.map(a=>[a]);return t.map(a=>Hf(e,a,i))}return jf(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,i=Sv);return new Bf(t,i)}function Iv(e){return new Uf(bs.get(e.provide),[Tv(e)],e.multi||!1)}function wv(e){const a=function(e,t){for(let i=0;i{if(i instanceof aa)t.push({provide:i,useClass:i});else if(i&&"object"==typeof i&&void 0!==i.provide)t.push(i);else{if(!Array.isArray(i))throw function(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`)}(i);Vf(i,t)}}),t}function jf(e){const t=Ff.parameters(e);if(!t)return[];if(t.some(i=>null==i))throw kf(e,t);return t.map(i=>Hf(e,i,t))}function Hf(e,t,i){let a=null,f=!1;if(!Array.isArray(t))return Eu(t instanceof xo?t.token:t,f,null);let v=null;for(let O=0;O{class e{constructor(i,a){this._constructionCounter=0,this._providers=i,this.parent=a||null;const f=i.length;this.keyIds=[],this.objs=[];for(let v=0;v=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(i);return this._providers[i]}_new(i){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function(e,t){return Cu(e,t,function(i){return`Cannot instantiate cyclic dependency!${bu(i)}`})}(this,i.key);return this._instantiateProvider(i)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(i){if(i.multiProvider){const a=[];for(let f=0;fthis._getByReflectiveDependency(H))}catch(H){throw H.addKey&&H.addKey(this,i.key),H}try{O=f(...v)}catch(H){throw function(e,t,i,a){return Cu(e,a,function(f){const v=p(f[0].token);return`${t.message}: Error during instantiation of ${v}!${bu(f)}.`},t)}(this,H,0,i.key)}return O}_getByReflectiveDependency(i){return this._getByKey(i.key,i.visibility,i.optional?null:Ms)}_getByKey(i,a,f){return i===e.INJECTOR_KEY?this:a instanceof da?this._getByKeySelf(i,f):this._getByKeyDefault(i,f,a)}_getObjByKeyId(i){for(let a=0;a' "'+a.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=bs.get(wr),e})();function Wo(e,t=_e.Default){const i=ye();return null===i?zi(e,t):Pr(ne(),i,g(e),t)}function zf(){throw new Error("invalid")}function Mu(e,t,i){const a=ye();return nr(a,In(),t)&&Ir(M(),Pn(),a,e,t,a[11],i,!1),Mu}function Du(e,t,i,a,f){const O=f?"class":"style";sf(e,i,t.inputs[O],O,a)}function Su(e,t,i,a){const f=ye(),v=M(),O=20+e,H=f[11],se=f[O]=Tl(H,t,dn.lFrame.currentNamespace),Me=v.firstCreatePass?function(e,t,i,a,f,v,O){const H=t.consts,Me=qs(t,e,2,f,Yn(H,v));return $l(t,i,Me,Yn(H,O)),null!==Me.attrs&&Da(Me,Me.attrs,!1),null!==Me.mergedAttrs&&Da(Me,Me.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,Me),Me}(O,v,f,0,t,i,a):v.data[O];Je(Me,!0);const Le=Me.mergedAttrs;null!==Le&&vt(H,se,Le);const qe=Me.classes;null!==qe&&Rl(H,se,qe);const ht=Me.styles;null!==ht&&bh(H,se,ht),64!=(64&Me.flags)&&_a(v,f,se,Me),0===dn.lFrame.elementDepthCount&&tr(se,f),dn.lFrame.elementDepthCount++,bi(Me)&&(Kl(v,f,Me),Vh(v,Me,f)),null!==a&&Gl(f,Me)}function Tu(){let e=ne();at()?St():(e=e.parent,Je(e,!1));const t=e;dn.lFrame.elementDepthCount--;const i=M();i.firstCreatePass&&(or(i,e),Ri(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Du(i,t,ye(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Du(i,t,ye(),t.stylesWithoutHost,!1)}function Wf(e,t,i,a){Su(e,t,i,a),Tu()}function Iu(e,t,i){const a=ye(),f=M(),v=e+20,O=f.firstCreatePass?function(e,t,i,a,f){const v=t.consts,O=Yn(v,a),H=qs(t,e,8,"ng-container",O);return null!==O&&Da(H,O,!0),$l(t,i,H,Yn(v,f)),null!==t.queries&&t.queries.elementStart(t,H),H}(v,f,a,t,i):f.data[v];Je(O,!0);const H=a[v]=a[11].createComment("");_a(f,a,H,O),tr(H,a),bi(O)&&(Kl(f,a,O),Vh(f,O,a)),null!=i&&Gl(a,O)}function wu(){let e=ne();const t=M();at()?St():(e=e.parent,Je(e,!1)),t.firstCreatePass&&(or(t,e),Ri(e)&&t.queries.elementEnd(e))}function Kf(e,t,i){Iu(e,t,i),wu()}function Gf(){return ye()}function xu(e){return!!e&&"function"==typeof e.then}function $f(e){return!!e&&"function"==typeof e.subscribe}const Yf=$f;function Au(e,t,i,a){const f=ye(),v=M(),O=ne();return Qf(v,f,f[11],O,e,t,!!i,a),Au}function Ou(e,t){const i=ne(),a=ye(),f=M();return Qf(f,a,nf(gi(f.data),i,a),i,e,t,!1),Ou}function Qf(e,t,i,a,f,v,O,H){const se=bi(a),Le=e.firstCreatePass&&tf(e),qe=t[8],ht=ef(t);let Tt=!0;if(3&a.type||H){const qt=de(a,t),on=H?H(qt):qt,zt=ht.length,_n=H?Kn=>H(fe(Kn[a.index])):a.index;if(Wn(i)){let Kn=null;if(!H&&se&&(Kn=function(e,t,i,a){const f=e.cleanup;if(null!=f)for(let v=0;vse?H[se]:null}"string"==typeof O&&(v+=2)}return null}(e,t,f,a.index)),null!==Kn)(Kn.__ngLastListenerFn__||Kn).__ngNextListenerFn__=v,Kn.__ngLastListenerFn__=v,Tt=!1;else{v=Ru(a,t,qe,v,!1);const ni=i.listen(on,f,v);ht.push(v,ni),Le&&Le.push(f,_n,zt,zt+1)}}else v=Ru(a,t,qe,v,!0),on.addEventListener(f,v,O),ht.push(v),Le&&Le.push(f,_n,zt,O)}else v=Ru(a,t,qe,v,!1);const Bt=a.outputs;let Kt;if(Tt&&null!==Bt&&(Kt=Bt[f])){const qt=Kt.length;if(qt)for(let on=0;on0;)t=t[15],e--;return t}(e,dn.lFrame.contextLView))[8]}(e)}function Nv(e,t){let i=null;const a=function(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(0==(1&i))return t[i+1]}return null}(e);for(let f=0;f=0}const Bi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function t0(e){return e.substring(Bi.key,Bi.keyEnd)}function Vv(e){return e.substring(Bi.value,Bi.valueEnd)}function n0(e,t){const i=Bi.textEnd;return i===t?-1:(t=Bi.keyEnd=function(e,t,i){for(;t32;)t++;return t}(e,Bi.key=t,i),fo(e,t,i))}function r0(e,t){const i=Bi.textEnd;let a=Bi.key=fo(e,t,i);return i===a?-1:(a=Bi.keyEnd=function(e,t,i){let a;for(;t=65&&(-33&a)<=90||a>=48&&a<=57);)t++;return t}(e,a,i),a=o0(e,a,i),a=Bi.value=fo(e,a,i),a=Bi.valueEnd=function(e,t,i){let a=-1,f=-1,v=-1,O=t,H=O;for(;O32&&(H=O),v=f,f=a,a=-33&se}return H}(e,a,i),o0(e,a,i))}function s0(e){Bi.key=0,Bi.keyEnd=0,Bi.value=0,Bi.valueEnd=0,Bi.textEnd=e.length}function fo(e,t,i){for(;t=0;i=r0(t,i))d0(e,t0(t),Vv(t))}function l0(e){qr(Tr,as,e,!0)}function as(e,t){for(let i=function(e){return s0(e),n0(e,fo(e,0,Bi.textEnd))}(t);i>=0;i=n0(t,i))Tr(e,t0(t),!0)}function Qr(e,t,i,a){const f=ye(),v=M(),O=Gn(2);v.firstUpdatePass&&c0(v,e,O,a),t!==On&&nr(f,O,t)&&h0(v,v.data[Un()],f,f[11],e,f[O+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=p(_s(e)))),e}(t,i),a,O)}function qr(e,t,i,a){const f=M(),v=Gn(2);f.firstUpdatePass&&c0(f,null,v,a);const O=ye();if(i!==On&&nr(O,v,i)){const H=f.data[Un()];if(p0(H,a)&&!u0(f,v)){let se=a?H.classesWithoutHost:H.stylesWithoutHost;null!==se&&(i=y(se,i||"")),Du(f,H,O,i,a)}else!function(e,t,i,a,f,v,O,H){f===On&&(f=Ge);let se=0,Me=0,Le=0=e.expandoStartIndex}function c0(e,t,i,a){const f=e.data;if(null===f[i+1]){const v=f[Un()],O=u0(e,i);p0(v,a)&&null===t&&!O&&(t=!1),t=function(e,t,i,a){const f=gi(e);let v=a?t.residualClasses:t.residualStyles;if(null===f)0===(a?t.classBindings:t.styleBindings)&&(i=Ko(i=Wu(null,e,t,i,a),t.attrs,a),v=null);else{const O=t.directiveStylingLast;if(-1===O||e[O]!==f)if(i=Wu(f,e,t,i,a),null===v){let se=function(e,t,i){const a=i?t.classBindings:t.styleBindings;if(0!==ys(a))return e[$r(a)]}(e,t,a);void 0!==se&&Array.isArray(se)&&(se=Wu(null,e,t,se[1],a),se=Ko(se,t.attrs,a),function(e,t,i,a){e[$r(i?t.classBindings:t.styleBindings)]=a}(e,t,a,se))}else v=function(e,t,i){let a;const f=t.directiveEnd;for(let v=1+t.directiveStylingLast;v0)&&(Me=!0)}else Le=i;if(f)if(0!==se){const ht=$r(e[H+1]);e[a+1]=va(ht,H),0!==ht&&(e[ht+1]=Pl(e[ht+1],a)),e[H+1]=function(e,t){return 131071&e|t<<17}(e[H+1],a)}else e[a+1]=va(H,0),0!==H&&(e[H+1]=Pl(e[H+1],a)),H=a;else e[a+1]=va(se,0),0===H?H=a:e[se+1]=Pl(e[se+1],a),se=a;Me&&(e[a+1]=Ll(e[a+1])),e0(e,Le,a,!0),e0(e,Le,a,!1),function(e,t,i,a,f){const v=f?e.residualClasses:e.residualStyles;null!=v&&"string"==typeof t&&Ws(v,t)>=0&&(i[a+1]=kl(i[a+1]))}(t,Le,e,a,v),O=va(H,se),v?t.classBindings=O:t.styleBindings=O}(f,v,t,i,O,a)}}function Wu(e,t,i,a,f){let v=null;const O=i.directiveEnd;let H=i.directiveStylingLast;for(-1===H?H=i.directiveStart:H++;H0;){const se=e[f],Me=Array.isArray(se),Le=Me?se[1]:se,qe=null===Le;let ht=i[f+1];ht===On&&(ht=qe?Ge:void 0);let Tt=qe?tl(ht,a):Le===a?ht:void 0;if(Me&&!Aa(Tt)&&(Tt=tl(se,a)),Aa(Tt)&&(H=Tt,O))return H;const Bt=e[f+1];f=O?$r(Bt):ys(Bt)}if(null!==t){let se=v?t.residualClasses:t.residualStyles;null!=se&&(H=tl(se,a))}return H}function Aa(e){return void 0!==e}function p0(e,t){return 0!=(e.flags&(t?16:32))}function m0(e,t=""){const i=ye(),a=M(),f=e+20,v=a.firstCreatePass?qs(a,f,1,t,null):a.data[f],O=i[f]=Sl(i[11],t);_a(a,i,O,v),Je(v,!1)}function Ku(e){return Oa("",e,""),Ku}function Oa(e,t,i){const a=ye(),f=io(a,e,t,i);return f!==On&&vs(a,Un(),f),Oa}function Gu(e,t,i,a,f){const v=ye(),O=ro(v,e,t,i,a,f);return O!==On&&vs(v,Un(),O),Gu}function $u(e,t,i,a,f,v,O){const H=ye(),se=so(H,e,t,i,a,f,v,O);return se!==On&&vs(H,Un(),se),$u}function Yu(e,t,i,a,f,v,O,H,se){const Me=ye(),Le=oo(Me,e,t,i,a,f,v,O,H,se);return Le!==On&&vs(Me,Un(),Le),Yu}function Qu(e,t,i,a,f,v,O,H,se,Me,Le){const qe=ye(),ht=ao(qe,e,t,i,a,f,v,O,H,se,Me,Le);return ht!==On&&vs(qe,Un(),ht),Qu}function qu(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht){const Tt=ye(),Bt=lo(Tt,e,t,i,a,f,v,O,H,se,Me,Le,qe,ht);return Bt!==On&&vs(Tt,Un(),Bt),qu}function Xu(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt){const Kt=ye(),qt=uo(Kt,e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt);return qt!==On&&vs(Kt,Un(),qt),Xu}function Zu(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt){const on=ye(),zt=co(on,e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt);return zt!==On&&vs(on,Un(),zt),Zu}function Ju(e){const t=ye(),i=no(t,e);return i!==On&&vs(t,Un(),i),Ju}function g0(e,t,i){qr(Tr,as,io(ye(),e,t,i),!0)}function _0(e,t,i,a,f){qr(Tr,as,ro(ye(),e,t,i,a,f),!0)}function y0(e,t,i,a,f,v,O){qr(Tr,as,so(ye(),e,t,i,a,f,v,O),!0)}function v0(e,t,i,a,f,v,O,H,se){qr(Tr,as,oo(ye(),e,t,i,a,f,v,O,H,se),!0)}function b0(e,t,i,a,f,v,O,H,se,Me,Le){qr(Tr,as,ao(ye(),e,t,i,a,f,v,O,H,se,Me,Le),!0)}function C0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht){qr(Tr,as,lo(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht),!0)}function E0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt){qr(Tr,as,uo(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt),!0)}function M0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt){qr(Tr,as,co(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt),!0)}function D0(e){qr(Tr,as,no(ye(),e),!0)}function S0(e,t,i){Yr(io(ye(),e,t,i))}function T0(e,t,i,a,f){Yr(ro(ye(),e,t,i,a,f))}function I0(e,t,i,a,f,v,O){Yr(so(ye(),e,t,i,a,f,v,O))}function w0(e,t,i,a,f,v,O,H,se){Yr(oo(ye(),e,t,i,a,f,v,O,H,se))}function x0(e,t,i,a,f,v,O,H,se,Me,Le){Yr(ao(ye(),e,t,i,a,f,v,O,H,se,Me,Le))}function A0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht){Yr(lo(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht))}function O0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt){Yr(uo(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt))}function R0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt){Yr(co(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt))}function L0(e){Yr(no(ye(),e))}function ec(e,t,i,a,f){return Qr(e,io(ye(),t,i,a),f,!1),ec}function tc(e,t,i,a,f,v,O){return Qr(e,ro(ye(),t,i,a,f,v),O,!1),tc}function nc(e,t,i,a,f,v,O,H,se){return Qr(e,so(ye(),t,i,a,f,v,O,H),se,!1),nc}function ic(e,t,i,a,f,v,O,H,se,Me,Le){return Qr(e,oo(ye(),t,i,a,f,v,O,H,se,Me),Le,!1),ic}function rc(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht){return Qr(e,ao(ye(),t,i,a,f,v,O,H,se,Me,Le,qe),ht,!1),rc}function sc(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt){return Qr(e,lo(ye(),t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt),Bt,!1),sc}function oc(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt){return Qr(e,uo(ye(),t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt),qt,!1),oc}function ac(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt,on,zt){return Qr(e,co(ye(),t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt,on),zt,!1),ac}function lc(e,t,i){return Qr(e,no(ye(),t),i,!1),lc}function uc(e,t,i){const a=ye();return nr(a,In(),t)&&Ir(M(),Pn(),a,e,t,a[11],i,!0),uc}function cc(e,t,i){const a=ye();if(nr(a,In(),t)){const v=M(),O=Pn();Ir(v,O,a,e,t,nf(gi(v.data),O,a),i,!0)}return cc}const Ls=void 0;var tb=["en",[["a","p"],["AM","PM"],Ls],[["AM","PM"],Ls,Ls],[["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"]],Ls,[["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"]],Ls,[["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}",Ls,"{1} 'at' {0}",Ls],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const i=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===a?1:5}];let po={};function nb(e,t,i){"string"!=typeof t&&(i=t,t=e[En.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),po[t]=e,i&&(po[t][En.ExtraData]=i)}function dc(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=k0(t);if(i)return i;const a=t.split("-")[0];if(i=k0(a),i)return i;if("en"===a)return tb;throw new Error(`Missing locale data for the locale "${e}".`)}function ib(e){return dc(e)[En.CurrencyCode]||null}function P0(e){return dc(e)[En.PluralCase]}function k0(e){return e in po||(po[e]=Pt.ng&&Pt.ng.common&&Pt.ng.common.locales&&Pt.ng.common.locales[e]),po[e]}function rb(){po={}}var En=(()=>((En=En||{})[En.LocaleId=0]="LocaleId",En[En.DayPeriodsFormat=1]="DayPeriodsFormat",En[En.DayPeriodsStandalone=2]="DayPeriodsStandalone",En[En.DaysFormat=3]="DaysFormat",En[En.DaysStandalone=4]="DaysStandalone",En[En.MonthsFormat=5]="MonthsFormat",En[En.MonthsStandalone=6]="MonthsStandalone",En[En.Eras=7]="Eras",En[En.FirstDayOfWeek=8]="FirstDayOfWeek",En[En.WeekendRange=9]="WeekendRange",En[En.DateFormat=10]="DateFormat",En[En.TimeFormat=11]="TimeFormat",En[En.DateTimeFormat=12]="DateTimeFormat",En[En.NumberSymbols=13]="NumberSymbols",En[En.NumberFormats=14]="NumberFormats",En[En.CurrencyCode=15]="CurrencyCode",En[En.CurrencySymbol=16]="CurrencySymbol",En[En.CurrencyName=17]="CurrencyName",En[En.Currencies=18]="Currencies",En[En.Directionality=19]="Directionality",En[En.PluralCase=20]="PluralCase",En[En.ExtraData=21]="ExtraData",En))();const ob=["zero","one","two","few","many"],Go="en-US",Ra={marker:"element"},La={marker:"ICU"};var Mi=(()=>((Mi=Mi||{})[Mi.SHIFT=2]="SHIFT",Mi[Mi.APPEND_EAGERLY=1]="APPEND_EAGERLY",Mi[Mi.COMMENT=2]="COMMENT",Mi))();let N0=Go;function F0(e){(function(e,t){null==e&&tt(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(N0=e.toLowerCase().replace(/_/g,"-"))}function U0(e,t,i){const a=t.insertBeforeIndex,f=Array.isArray(a)?a[0]:a;return null===f?ph(e,0,i):fe(i[f])}function B0(e,t,i,a,f){const v=t.insertBeforeIndex;if(Array.isArray(v)){let O=a,H=null;if(3&t.type||(H=O,O=f),null!==O&&0==(2&t.flags))for(let se=1;se1)for(let i=e.length-2;i>=0;i--){const a=e[i];j0(a)||cb(a,t)&&null===db(a)&&hb(a,t.index)}}function j0(e){return!(64&e.type)}function cb(e,t){return j0(t)||e.index>t.index}function db(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function hb(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(gh(U0,B0),e.insertBeforeIndex=t)}function $o(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function mb(e,t,i){const a=Wl(e,i,64,null,null);return V0(t,a),a}function Pa(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function H0(e){return e>>>17}function z0(e){return(131070&e)>>>1}let Yo=0,Qo=0;function K0(e,t,i,a){const f=i[11];let O,v=null;for(let H=0;H>>1,i),null,null,Tt,Bt,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${se}"`)}else switch(se){case La:const Me=t[++H],Le=t[++H];null===i[Le]&&tr(i[Le]=S_(f,Me),i);break;case Ra:const qe=t[++H],ht=t[++H];null===i[ht]&&tr(i[ht]=Tl(f,qe,null),i)}}}function G0(e,t,i,a,f){for(let v=0;v>>2;switch(3&Le){case 1:const ht=i[++Me],Tt=i[++Me],Bt=e.data[qe];"string"==typeof Bt?Yl(t[11],t[qe],null,Bt,ht,se,Tt):Ir(e,Bt,t,ht,se,t[11],Tt,!1);break;case 0:const Kt=t[qe];null!==Kt&&oh(t[11],Kt,se);break;case 2:bb(e,$o(e,qe),t,se);break;case 3:$0(e,$o(e,qe),a,t)}}}}else{const se=i[v+1];if(se>0&&3==(3&se)){const Le=$o(e,se>>>2);t[Le.currentCaseLViewIndex]<0&&$0(e,Le,a,t)}}v+=H}}function $0(e,t,i,a){let f=a[t.currentCaseLViewIndex];if(null!==f){let v=Yo;f<0&&(f=a[t.currentCaseLViewIndex]=~f,v=-1),G0(e,a,t.update[f],i,v)}}function bb(e,t,i,a){const f=function(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const a=function(e,t){const i=P0(t)(parseInt(e,10)),a=ob[i];return void 0!==a?a:"other"}(t,N0);i=e.cases.indexOf(a),-1===i&&"other"!==a&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,a);if(Pa(t,i)!==f&&(Y0(e,t,i),i[t.currentCaseLViewIndex]=null===f?null:~f,null!==f)){const O=i[t.anchorIdx];O&&K0(e,t.create[f],i,O)}}function Y0(e,t,i){let a=Pa(t,i);if(null!==a){const f=t.remove[a];for(let v=0;v0){const H=I(O,i);null!==H&&yh(i[11],H)}else Y0(e,$o(e,~O),i)}}}function Eb(){const e=[];let i,a,t=-1;function v(H,se){t=0;const Me=Pa(H,se);a=null!==Me?H.remove[Me]:Ge}function O(){if(t0?i[H]:(e.push(t,a),v(i[1].data[~H],i),O())}return 0===e.length?null:(a=e.pop(),t=e.pop(),O())}return function(H,se){for(i=se;e.length;)e.pop();return v(H.value,se),O}}const ka=/\ufffd(\d+):?\d*\ufffd/gi,Mb=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,Db=/\ufffd(\d+)\ufffd/,q0=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Sb=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Tb=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Ib=/\uE500/g;function X0(e,t,i,a,f,v,O){const H=Xs(e,a,1,null);let se=H<i.length&&i.push(se)}return{type:a,mainBinding:f,cases:t,values:i}}function hc(e){if(!e)return[];let t=0;const i=[],a=[],f=/[{}]/g;let v;for(f.lastIndex=0;v=f.exec(e);){const H=v.index;if("}"==v[0]){if(i.pop(),0==i.length){const se=e.substring(t,H);q0.test(se)?a.push(kb(se)):a.push(se),t=H+1}}else{if(0==i.length){const se=e.substring(t,H);a.push(se),t=H+1}i.push("{")}}const O=e.substring(t);return a.push(O),a}function Nb(e,t,i,a,f,v,O,H){const se=[],Me=[],Le=[];t.cases.push(v),t.create.push(se),t.remove.push(Me),t.update.push(Le);const ht=xd(Yi()).getInertBodyElement(O),Tt=pl(ht)||ht;return Tt?tp(e,t,i,a,se,Me,Le,Tt,f,H,0):0}function tp(e,t,i,a,f,v,O,H,se,Me,Le){let qe=0,ht=H.firstChild;for(;ht;){const Tt=Xs(e,i,1,null);switch(ht.nodeType){case Node.ELEMENT_NODE:const Bt=ht,Kt=Bt.tagName.toLowerCase();if(dl.hasOwnProperty(Kt)){fc(f,Ra,Kt,se,Tt),e.data[Tt]=Kt;const _n=Bt.attributes;for(let Kn=0;Kn<_n.length;Kn++){const ni=_n.item(Kn),Ar=ni.name.toLowerCase();ni.value.match(ka)?Pd.hasOwnProperty(Ar)&&mo(O,ni.value,Tt,ni.name,0,hl[Ar]?Oo:fl[Ar]?Ad:null):Vb(f,Tt,ni)}qe=tp(e,t,i,a,f,v,O,ht,Tt,Me,Le+1)|qe,np(v,Tt,Le)}break;case Node.TEXT_NODE:const qt=ht.textContent||"",on=qt.match(ka);fc(f,null,on?"":qt,se,Tt),np(v,Tt,Le),on&&(qe=mo(O,qt,Tt,null,0,null)|qe);break;case Node.COMMENT_NODE:const zt=Db.exec(ht.textContent||"");if(zt){const Kn=Me[parseInt(zt[1],10)];fc(f,La,"",se,Tt),ep(e,i,a,se,Kn,Tt),Fb(v,Tt,Le)}}ht=ht.nextSibling}return qe}function np(e,t,i){0===i&&e.push(t)}function Fb(e,t,i){0===i&&(e.push(~t),e.push(t))}function fc(e,t,i,a,f){null!==t&&e.push(t),e.push(i,f,function(e,t,i){return 0|t<<17|i<<1}(0,a,f))}function Vb(e,t,i){e.push(t<<1|1,i.name,i.value)}const jb=/\[(\ufffd.+?\ufffd?)\]/,Hb=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,zb=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Wb=/{([A-Z0-9_]+)}/g,Kb=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Gb=/\/\*/,$b=/\d+\:(\d+)/;function pc(e,t,i=-1){const a=M(),f=ye(),v=20+e,O=Yn(a.consts,t),H=He();a.firstCreatePass&&function(e,t,i,a,f,v){const O=He(),H=[],se=[],Me=[[]];f=function(e,t){if(function(e){return-1===e}(t))return J0(e);{const i=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,a=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return J0(e.substring(i,a))}}(f,v);const Le=function(e){return e.replace(Ib," ")}(f).split(Tb);for(let qe=0;qe>>Mi.SHIFT;let qe=e[Le];null===qe&&(qe=e[Le]=se?f.createComment(H):Sl(f,H)),Me&&null!==i&&Os(f,i,qe,a,!1)}})(f,se.create,Le,H&&8&H.type?f[H.index]:null),Ci(!0)}function mc(){Ci(!1)}function rp(e,t,i){pc(e,t,i),mc()}function sp(e,t){const i=M();!function(e,t,i){const f=ne().index,v=[];if(e.firstCreatePass&&null===e.data[t]){for(let O=0;O0){const a=e.data[i];G0(e,t,Array.isArray(a)?a:a.update,rn()-Qo-1,Yo)}Yo=0,Qo=0}(M(),ye(),e+20)}function ap(e,t={}){return function(e,t={}){let i=e;if(jb.test(e)){const a={},f=[0];i=i.replace(Hb,(v,O,H)=>{const se=O||H,Me=a[se]||[];if(Me.length||(se.split("|").forEach(Kt=>{const qt=Kt.match($b),on=qt?parseInt(qt[1],10):0,zt=Gb.test(Kt);Me.push([on,zt,Kt])}),a[se]=Me),!Me.length)throw new Error(`i18n postprocess: unmatched placeholder - ${se}`);const Le=f[f.length-1];let qe=0;for(let Kt=0;Ktt.hasOwnProperty(v)?`${f}${t[v]}${se}`:a),i=i.replace(Wb,(a,f)=>t.hasOwnProperty(f)?t[f]:a),i=i.replace(Kb,(a,f)=>{if(t.hasOwnProperty(f)){const v=t[f];if(!v.length)throw new Error(`i18n postprocess: unmatched ICU - ${a} with key: ${f}`);return v.shift()}return a})),i}(e,t)}function _c(e,t,i,a,f){if(e=g(e),Array.isArray(e))for(let v=0;v>20;if(eo(e)||!e.multi){const Tt=new fs(se,f,Wo),Bt=vc(H,t,f?Le:Le+ht,qe);-1===Bt?(vr(cn(Me,O),v,H),yc(v,e,t.length),t.push(H),Me.directiveStart++,Me.directiveEnd++,f&&(Me.providerIndexes+=1048576),i.push(Tt),O.push(Tt)):(i[Bt]=Tt,O[Bt]=Tt)}else{const Tt=vc(H,t,Le+ht,qe),Bt=vc(H,t,Le,Le+ht),Kt=Tt>=0&&i[Tt],qt=Bt>=0&&i[Bt];if(f&&!qt||!f&&!Kt){vr(cn(Me,O),v,H);const on=function(e,t,i,a,f){const v=new fs(e,i,Wo);return v.multi=[],v.index=t,v.componentProviders=0,lp(v,f,a&&!i),v}(f?Xb:qb,i.length,f,a,se);!f&&qt&&(i[Bt].providerFactory=on),yc(v,e,t.length,0),t.push(H),Me.directiveStart++,Me.directiveEnd++,f&&(Me.providerIndexes+=1048576),i.push(on),O.push(on)}else yc(v,e,Tt>-1?Tt:Bt,lp(i[f?Bt:Tt],se,!f&&a));!f&&a&&qt&&i[Bt].componentProviders++}}}function yc(e,t,i,a){const f=eo(t),v=function(e){return!!e.useClass}(t);if(f||v){const se=(v?g(t.useClass):t).prototype.ngOnDestroy;if(se){const Me=e.destroyHooks||(e.destroyHooks=[]);if(!f&&t.multi){const Le=Me.indexOf(i);-1===Le?Me.push(i,[a,se]):Me[Le+1].push(a,se)}else Me.push(i,se)}}}function lp(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function vc(e,t,i,a){for(let f=i;f{i.providersResolver=(a,f)=>function(e,t,i){const a=M();if(a.firstCreatePass){const f=si(e);_c(i,a.data,a.blueprint,f,!0),_c(t,a.data,a.blueprint,f,!1)}}(a,f?f(e):e,t)}}class cp{}class Na{}class e1{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${p(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Xo=(()=>{class e{}return e.NULL=new e1,e})();function t1(){return go(ne(),ye())}function go(e,t){return new Zo(de(e,t))}let Zo=(()=>{class e{constructor(i){this.nativeElement=i}}return e.__NG_ELEMENT_ID__=t1,e})();function n1(e){return e instanceof Zo?e.nativeElement:e}class hp{}let r1=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function(){const e=ye(),i=hn(ne().index,e);return function(e){return e[11]}(ci(i)?i:e)}(),e})(),fp=(()=>{class e{}return e.\u0275prov=Ie({token:e,providedIn:"root",factory:()=>null}),e})();class pp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const mp=new pp("13.1.1"),Fa={};function Ua(e,t,i,a,f=!1){for(;null!==i;){const v=t[i.index];if(null!==v&&a.push(fe(v)),Xn(v))for(let H=10;H-1&&(Il(t,a),la(i,a))}this._attachedToViewContainer=!1}lh(this._lView[1],this._lView)}onDestroy(t){Wh(this._lView[1],this._lView,null,t)}markForCheck(){ql(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Zl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,i){yn(!0);try{Zl(e,t,i)}finally{yn(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Fo(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class a1 extends _o{constructor(t){super(t),this._view=t}detectChanges(){Jh(this._view)}checkNoChanges(){!function(e){yn(!0);try{Jh(e)}finally{yn(!1)}}(this._view)}get context(){return null}}class gp extends Xo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=At(t);return new Ba(i,this.ngModule)}}function _p(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}const u1=new Ei("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Xd});class Ba extends Na{constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=t.selectors.map($_).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}get inputs(){return _p(this.componentDef.inputs)}get outputs(){return _p(this.componentDef.outputs)}create(t,i,a,f){const v=(f=f||this.ngModule)?function(e,t){return{get:(i,a,f)=>{const v=e.get(i,Fa,f);return v!==Fa||a===Fa?v:t.get(i,a,f)}}}(t,f.injector):t,O=v.get(hp,Dr),H=v.get(fp,null),se=O.createRenderer(null,this.componentDef),Me=this.componentDef.selectors[0][0]||"div",Le=a?zh(se,a,this.componentDef.encapsulation):Tl(O.createRenderer(null,this.componentDef),Me,function(e){const t=e.toLowerCase();return"svg"===t?rr:"math"===t?Br:null}(Me)),qe=this.componentDef.onPush?576:528,ht=Df(),Tt=Ea(0,null,null,1,0,null,null,null,null,null),Bt=Uo(null,Tt,ht,qe,null,null,O,se,H,v);let Kt,qt;mr(Bt);try{const on=Ef(Le,this.componentDef,Bt,O,se);if(Le)if(a)vt(se,Le,["ng-version",mp.full]);else{const{attrs:zt,classes:_n}=function(e){const t=[],i=[];let a=1,f=2;for(;a0&&Rl(se,Le,_n.join(" "))}if(qt=wt(Tt,20),void 0!==i){const zt=qt.projection=[];for(let _n=0;_n{const f=e;null!==t&&(f.hasOwnProperty("decorators")&&void 0!==f.decorators?f.decorators.push(...t):f.decorators=t),null!==i&&(f.ctorParameters=i),null!==a&&(f.propDecorators=f.hasOwnProperty("propDecorators")&&void 0!==f.propDecorators?Object.assign(Object.assign({},f.propDecorators),a):a)})}class yo{}class bp{}const vo=new Map;function Ep(e){const t=new Set;!function i(a){const f=fn(a,!0),v=f.id;if(null!==v){(function(e,t,i){if(t&&t!==i)throw new Error(`Duplicate module registered for ${e} - ${p(t)} vs ${p(t.name)}`)})(v,vo.get(v),a),vo.set(v,a)}const O=is(f.imports);for(const H of O)t.has(H)||(t.add(H),i(H))}(e)}function Mp(e){return vo.get(e)||$t[e]}function h1(e,t){return new Cc(e,null!=t?t:null)}class Cc extends yo{constructor(t,i){super(),this._parent=i,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new gp(this);const a=fn(t);this._bootstrapComponents=is(a.bootstrap),this._r3Injector=df(t,i,[{provide:yo,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver}],p(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,i=wr.THROW_IF_NOT_FOUND,a=_e.Default){return t===wr||t===yo||t===Sa?this:this._r3Injector.get(t,i,a)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Va extends bp{constructor(t){super(),this.moduleType=t,null!==fn(t)&&Ep(t)}create(t){return new Cc(this.moduleType,t)}}function Dp(e,t,i){const a=pn()+e,f=ye();return f[a]===On?os(f,a,i?t.call(i):t()):Ho(f,a)}function Sp(e,t,i,a){return Pp(ye(),pn(),e,t,i,a)}function Tp(e,t,i,a,f){return kp(ye(),pn(),e,t,i,a,f)}function Ip(e,t,i,a,f,v){return Np(ye(),pn(),e,t,i,a,f,v)}function wp(e,t,i,a,f,v,O){return Fp(ye(),pn(),e,t,i,a,f,v,O)}function xp(e,t,i,a,f,v,O,H){const se=pn()+e,Me=ye(),Le=Fr(Me,se,i,a,f,v);return nr(Me,se+4,O)||Le?os(Me,se+5,H?t.call(H,i,a,f,v,O):t(i,a,f,v,O)):Ho(Me,se+5)}function Ap(e,t,i,a,f,v,O,H,se){const Me=pn()+e,Le=ye(),qe=Fr(Le,Me,i,a,f,v);return Rs(Le,Me+4,O,H)||qe?os(Le,Me+6,se?t.call(se,i,a,f,v,O,H):t(i,a,f,v,O,H)):Ho(Le,Me+6)}function Op(e,t,i,a,f,v,O,H,se,Me){const Le=pn()+e,qe=ye();let ht=Fr(qe,Le,i,a,f,v);return Ia(qe,Le+4,O,H,se)||ht?os(qe,Le+7,Me?t.call(Me,i,a,f,v,O,H,se):t(i,a,f,v,O,H,se)):Ho(qe,Le+7)}function Rp(e,t,i,a,f,v,O,H,se,Me,Le){const qe=pn()+e,ht=ye(),Tt=Fr(ht,qe,i,a,f,v);return Fr(ht,qe+4,O,H,se,Me)||Tt?os(ht,qe+8,Le?t.call(Le,i,a,f,v,O,H,se,Me):t(i,a,f,v,O,H,se,Me)):Ho(ht,qe+8)}function Lp(e,t,i,a){return Up(ye(),pn(),e,t,i,a)}function Jo(e,t){const i=e[t];return i===On?void 0:i}function Pp(e,t,i,a,f,v){const O=t+i;return nr(e,O,f)?os(e,O+1,v?a.call(v,f):a(f)):Jo(e,O+1)}function kp(e,t,i,a,f,v,O){const H=t+i;return Rs(e,H,f,v)?os(e,H+2,O?a.call(O,f,v):a(f,v)):Jo(e,H+2)}function Np(e,t,i,a,f,v,O,H){const se=t+i;return Ia(e,se,f,v,O)?os(e,se+3,H?a.call(H,f,v,O):a(f,v,O)):Jo(e,se+3)}function Fp(e,t,i,a,f,v,O,H,se){const Me=t+i;return Fr(e,Me,f,v,O,H)?os(e,Me+4,se?a.call(se,f,v,O,H):a(f,v,O,H)):Jo(e,Me+4)}function Up(e,t,i,a,f,v){let O=t+i,H=!1;for(let se=0;se=0;i--){const a=t[i];if(e===a.name)return a}}(t,i.pipeRegistry),i.data[f]=a,a.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(f,a.onDestroy)):a=i.data[f];const v=a.factory||(a.factory=Si(a.type)),O=_(Wo);try{const H=Fe(!1),se=v();return Fe(H),Af(i,ye(),f,se),se}finally{_(O)}}function Vp(e,t,i){const a=e+20,f=ye(),v=Wt(f,a);return ea(f,a)?Pp(f,pn(),t,v.transform,i,v):v.transform(i)}function jp(e,t,i,a){const f=e+20,v=ye(),O=Wt(v,f);return ea(v,f)?kp(v,pn(),t,O.transform,i,a,O):O.transform(i,a)}function Hp(e,t,i,a,f){const v=e+20,O=ye(),H=Wt(O,v);return ea(O,v)?Np(O,pn(),t,H.transform,i,a,f,H):H.transform(i,a,f)}function zp(e,t,i,a,f,v){const O=e+20,H=ye(),se=Wt(H,O);return ea(H,O)?Fp(H,pn(),t,se.transform,i,a,f,v,se):se.transform(i,a,f,v)}function Wp(e,t,i){const a=e+20,f=ye(),v=Wt(f,a);return ea(f,a)?Up(f,pn(),t,v.transform,i,v):v.transform.apply(v,i)}function ea(e,t){return e[1].data[t].pure}function Ec(e){return t=>{setTimeout(e,void 0,t)}}const ls=class extends n.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,a){var f,v,O;let H=t,se=i||(()=>null),Me=a;if(t&&"object"==typeof t){const qe=t;H=null===(f=qe.next)||void 0===f?void 0:f.bind(qe),se=null===(v=qe.error)||void 0===v?void 0:v.bind(qe),Me=null===(O=qe.complete)||void 0===O?void 0:O.bind(qe)}this.__isAsync&&(se=Ec(se),H&&(H=Ec(H)),Me&&(Me=Ec(Me)));const Le=super.subscribe({next:H,error:se,complete:Me});return t instanceof l.w&&t.add(Le),Le}};function m1(){return this._results[to()]()}class ja{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=to(),a=ja.prototype;a[i]||(a[i]=m1)}get changes(){return this._changes||(this._changes=new ls)}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 a=this;a.dirty=!1;const f=kr(t);(this._changesDetected=!function(e,t,i){if(e.length!==t.length)return!1;for(let a=0;a{class e{}return e.__NG_ELEMENT_ID__=y1,e})();const g1=ta,_1=class extends g1{constructor(t,i,a){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=a}createEmbeddedView(t){const i=this._declarationTContainer.tViews,a=Uo(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null);a[17]=this._declarationLView[this._declarationTContainer.index];const v=this._declarationLView[19];return null!==v&&(a[19]=v.createEmbeddedView(i)),Bo(i,a,t),new _o(a)}};function y1(){return Ha(ne(),ye())}function Ha(e,t){return 4&e.type?new _1(t,e,go(e,t)):null}let za=(()=>{class e{}return e.__NG_ELEMENT_ID__=v1,e})();function v1(){return $p(ne(),ye())}const b1=za,Kp=class extends b1{constructor(t,i,a){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=a}get element(){return go(this._hostTNode,this._hostLView)}get injector(){return new Us(this._hostTNode,this._hostLView)}get parentInjector(){const t=es(this._hostTNode,this._hostLView);if(re(t)){const i=ge(t,this._hostLView),a=W(t);return new Us(i[1].data[a+8],i)}return new Us(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Gp(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,i,a){const f=t.createEmbeddedView(i||{});return this.insert(f,a),f}createComponent(t,i,a,f,v){const O=t&&!So(t);let H;if(O)H=i;else{const qe=i||{};H=qe.index,a=qe.injector,f=qe.projectableNodes,v=qe.ngModuleRef}const se=O?t:new Ba(At(t)),Me=a||this.parentInjector;if(!v&&null==se.ngModule&&Me){const qe=Me.get(yo,null);qe&&(v=qe)}const Le=se.create(Me,f,void 0,v);return this.insert(Le.hostView,H),Le}insert(t,i){const a=t._lView,f=a[1];if(Xn(a[3])){const Le=this.indexOf(t);if(-1!==Le)this.detach(Le);else{const qe=a[3],ht=new Kp(qe,qe[6],qe[3]);ht.detach(ht.indexOf(t))}}const v=this._adjustIndex(i),O=this._lContainer;!function(e,t,i,a){const f=10+a,v=i.length;a>0&&(i[f-1][4]=t),a0)a.push(O[H/2]);else{const Me=v[H+1],Le=t[-se];for(let qe=10;qe({\u0275\u0275attribute:cu,\u0275\u0275attributeInterpolate1:du,\u0275\u0275attributeInterpolate2:hu,\u0275\u0275attributeInterpolate3:fu,\u0275\u0275attributeInterpolate4:pu,\u0275\u0275attributeInterpolate5:mu,\u0275\u0275attributeInterpolate6:gu,\u0275\u0275attributeInterpolate7:_u,\u0275\u0275attributeInterpolate8:yu,\u0275\u0275attributeInterpolateV:vu,\u0275\u0275defineComponent:be,\u0275\u0275defineDirective:Ve,\u0275\u0275defineInjectable:Ie,\u0275\u0275defineInjector:ct,\u0275\u0275defineNgModule:vn,\u0275\u0275definePipe:ut,\u0275\u0275directiveInject:Wo,\u0275\u0275getInheritedFactory:dd,\u0275\u0275inject:zi,\u0275\u0275injectAttribute:Ja,\u0275\u0275invalidFactory:zf,\u0275\u0275invalidFactoryDep:ol,\u0275\u0275templateRefExtractor:im,\u0275\u0275NgOnChangesFeature:Gi,\u0275\u0275ProvidersFeature:up,\u0275\u0275CopyDefinitionFeature:If,\u0275\u0275InheritDefinitionFeature:au,\u0275\u0275nextContext:Xf,\u0275\u0275namespaceHTML:ds,\u0275\u0275namespaceMathML:ei,\u0275\u0275namespaceSVG:Ai,\u0275\u0275enableBindings:Hr,\u0275\u0275disableBindings:Cs,\u0275\u0275elementStart:Su,\u0275\u0275elementEnd:Tu,\u0275\u0275element:Wf,\u0275\u0275elementContainerStart:Iu,\u0275\u0275elementContainerEnd:wu,\u0275\u0275elementContainer:Kf,\u0275\u0275pureFunction0:Dp,\u0275\u0275pureFunction1:Sp,\u0275\u0275pureFunction2:Tp,\u0275\u0275pureFunction3:Ip,\u0275\u0275pureFunction4:wp,\u0275\u0275pureFunction5:xp,\u0275\u0275pureFunction6:Ap,\u0275\u0275pureFunction7:Op,\u0275\u0275pureFunction8:Rp,\u0275\u0275pureFunctionV:Lp,\u0275\u0275getCurrentView:Gf,\u0275\u0275restoreView:L,\u0275\u0275listener:Au,\u0275\u0275projection:Jf,\u0275\u0275syntheticHostProperty:cc,\u0275\u0275syntheticHostListener:Ou,\u0275\u0275pipeBind1:Vp,\u0275\u0275pipeBind2:jp,\u0275\u0275pipeBind3:Hp,\u0275\u0275pipeBind4:zp,\u0275\u0275pipeBindV:Wp,\u0275\u0275projectionDef:Zf,\u0275\u0275hostProperty:uc,\u0275\u0275property:Mu,\u0275\u0275propertyInterpolate:Lu,\u0275\u0275propertyInterpolate1:xa,\u0275\u0275propertyInterpolate2:Pu,\u0275\u0275propertyInterpolate3:ku,\u0275\u0275propertyInterpolate4:Nu,\u0275\u0275propertyInterpolate5:Fu,\u0275\u0275propertyInterpolate6:Uu,\u0275\u0275propertyInterpolate7:Bu,\u0275\u0275propertyInterpolate8:Vu,\u0275\u0275propertyInterpolateV:ju,\u0275\u0275pipe:Bp,\u0275\u0275queryRefresh:qp,\u0275\u0275viewQuery:Xp,\u0275\u0275loadQuery:Jp,\u0275\u0275contentQuery:Zp,\u0275\u0275reference:Of,\u0275\u0275classMap:l0,\u0275\u0275classMapInterpolate1:g0,\u0275\u0275classMapInterpolate2:_0,\u0275\u0275classMapInterpolate3:y0,\u0275\u0275classMapInterpolate4:v0,\u0275\u0275classMapInterpolate5:b0,\u0275\u0275classMapInterpolate6:C0,\u0275\u0275classMapInterpolate7:E0,\u0275\u0275classMapInterpolate8:M0,\u0275\u0275classMapInterpolateV:D0,\u0275\u0275styleMap:Yr,\u0275\u0275styleMapInterpolate1:S0,\u0275\u0275styleMapInterpolate2:T0,\u0275\u0275styleMapInterpolate3:I0,\u0275\u0275styleMapInterpolate4:w0,\u0275\u0275styleMapInterpolate5:x0,\u0275\u0275styleMapInterpolate6:A0,\u0275\u0275styleMapInterpolate7:O0,\u0275\u0275styleMapInterpolate8:R0,\u0275\u0275styleMapInterpolateV:L0,\u0275\u0275styleProp:Hu,\u0275\u0275stylePropInterpolate1:ec,\u0275\u0275stylePropInterpolate2:tc,\u0275\u0275stylePropInterpolate3:nc,\u0275\u0275stylePropInterpolate4:ic,\u0275\u0275stylePropInterpolate5:rc,\u0275\u0275stylePropInterpolate6:sc,\u0275\u0275stylePropInterpolate7:oc,\u0275\u0275stylePropInterpolate8:ac,\u0275\u0275stylePropInterpolateV:lc,\u0275\u0275classProp:zu,\u0275\u0275advance:Th,\u0275\u0275template:xf,\u0275\u0275text:m0,\u0275\u0275textInterpolate:Ku,\u0275\u0275textInterpolate1:Oa,\u0275\u0275textInterpolate2:Gu,\u0275\u0275textInterpolate3:$u,\u0275\u0275textInterpolate4:Yu,\u0275\u0275textInterpolate5:Qu,\u0275\u0275textInterpolate6:qu,\u0275\u0275textInterpolate7:Xu,\u0275\u0275textInterpolate8:Zu,\u0275\u0275textInterpolateV:Ju,\u0275\u0275i18n:rp,\u0275\u0275i18nAttributes:sp,\u0275\u0275i18nExp:gc,\u0275\u0275i18nStart:pc,\u0275\u0275i18nEnd:mc,\u0275\u0275i18nApply:op,\u0275\u0275i18nPostprocess:ap,\u0275\u0275resolveWindow:Zd,\u0275\u0275resolveDocument:Jd,\u0275\u0275resolveBody:eh,\u0275\u0275setComponentScope:je,\u0275\u0275setNgModuleScope:it,\u0275\u0275sanitizeHtml:Fd,\u0275\u0275sanitizeStyle:Ud,\u0275\u0275sanitizeResourceUrl:gl,\u0275\u0275sanitizeScript:Bd,\u0275\u0275sanitizeUrl:ml,\u0275\u0275sanitizeUrlOrResourceUrl:Hd,\u0275\u0275trustConstantHtml:Vd,\u0275\u0275trustConstantResourceUrl:jd,forwardRef:h,resolveForwardRef:g}))();let bo=null;function O1(){bo=null}const na=[];let xc=!1;function rm(){if(!xc){xc=!0;try{for(let e=na.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=na[e];i.declarations&&i.declarations.every(sm)&&(na.splice(e,1),P1(t,i))}}finally{xc=!1}}}function sm(e){return Array.isArray(e)?e.every(sm):!!g(e)}function om(e,t={}){am(e,t),function(e,t){na.push({moduleType:e,ngModule:t})}(e,t)}function am(e,t,i=!1){const a=kr(t.declarations||Ge);let f=null;Object.defineProperty(e,Pe,{configurable:!0,get:()=>(null===f&&(f=Ui().compileNgModule(ar,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:kr(t.bootstrap||Ge).map(g),declarations:a.map(g),imports:kr(t.imports||Ge).map(g).map(dm),exports:kr(t.exports||Ge).map(g).map(dm),schemas:t.schemas?kr(t.schemas):null,id:t.id||null}),f.schemas||(f.schemas=[])),f)});let v=null;Object.defineProperty(e,Ee,{get:()=>{if(null===v){const H=Ui();v=H.compileFactory(ar,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:ha(e),target:H.FactoryTarget.NgModule,typeArgumentCount:0})}return v},configurable:!1});let O=null;Object.defineProperty(e,ze,{get:()=>{if(null===O){const H={name:e.name,type:e,providers:t.providers||Ge,imports:[(t.imports||Ge).map(g),(t.exports||Ge).map(g)]};O=Ui().compileInjector(ar,`ng:///${e.name}/\u0275inj.js`,H)}return O},configurable:!1})}let Wa=new WeakMap,Oc=new WeakMap;function L1(){Wa=new WeakMap,Oc=new WeakMap,na.length=0}function P1(e,t){const i=kr(t.declarations||Ge),a=ia(e);i.forEach(f=>{f.hasOwnProperty(lt)?Rc(At(f),a):!f.hasOwnProperty(Ot)&&!f.hasOwnProperty(Ft)&&(f.ngSelectorScope=e)})}function Rc(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(lt)?At(i):Xt(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>Jt(i)),e.schemas=t.schemas,e.tView=null}function ia(e){if(!Lc(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=fn(e);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 is(t.imports).forEach(a=>{const f=a;if(!Lc(f))throw new Error(`Importing ${f.name} which does not have a \u0275mod property`);const v=ia(f);v.exported.directives.forEach(O=>i.compilation.directives.add(O)),v.exported.pipes.forEach(O=>i.compilation.pipes.add(O))}),is(t.declarations).forEach(a=>{Jt(a)?i.compilation.pipes.add(a):i.compilation.directives.add(a)}),is(t.exports).forEach(a=>{const f=a;if(Lc(f)){const v=ia(f);v.exported.directives.forEach(O=>{i.compilation.directives.add(O),i.exported.directives.add(O)}),v.exported.pipes.forEach(O=>{i.compilation.pipes.add(O),i.exported.pipes.add(O)})}else Jt(f)?i.exported.pipes.add(f):i.exported.directives.add(f)}),t.transitiveCompileScopes=i,i}function dm(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function Lc(e){return!!fn(e)}let Pc=0;function hm(e,t){let i=null;(function(e,t){Md(t)&&(Ks.set(e,t),Ao.add(e))})(e,t),pm(e,t),Object.defineProperty(e,lt,{get:()=>{if(null===i){const a=Ui();if(Md(t)){const Me=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&Me.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&Me.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),Me.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(Me.join("\n"))}const f=bo;let v=t.preserveWhitespaces;void 0===v&&(v=null!==f&&void 0!==f.preserveWhitespaces&&f.preserveWhitespaces);let O=t.encapsulation;void 0===O&&(O=null!==f&&void 0!==f.defaultEncapsulation?f.defaultEncapsulation:Ae.Emulated);const H=t.templateUrl||`ng:///${e.name}/template.html`,se=Object.assign(Object.assign({},mm(e,t)),{typeSourceSpan:a.createParseSourceSpan("Component",e.name,H),template:t.template||"",preserveWhitespaces:v,styles:t.styles||Ge,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:O,interpolation:t.interpolation,viewProviders:t.viewProviders||null});Pc++;try{se.usesInheritance&&gm(e),i=a.compileComponent(ar,H,se)}finally{Pc--}if(0===Pc&&rm(),function(e){return void 0!==e.ngSelectorScope}(e)){const Me=ia(e.ngSelectorScope);Rc(i,Me)}}return i},configurable:!1})}function kc(e,t){let i=null;pm(e,t||{}),Object.defineProperty(e,Ot,{get:()=>{if(null===i){const a=fm(e,t||{});i=Ui().compileDirective(ar,a.sourceMapUrl,a.metadata)}return i},configurable:!1})}function fm(e,t){const i=e&&e.name,a=`ng:///${i}/\u0275dir.js`,f=Ui(),v=mm(e,t);return v.typeSourceSpan=f.createParseSourceSpan("Directive",i,a),v.usesInheritance&&gm(e),{metadata:v,sourceMapUrl:a}}function pm(e,t){let i=null;Object.defineProperty(e,Ee,{get:()=>{if(null===i){const a=fm(e,t),f=Ui();i=f.compileFactory(ar,`ng:///${e.name}/\u0275fac.js`,{name:a.metadata.name,type:a.metadata.type,typeArgumentCount:0,deps:ha(e),target:f.FactoryTarget.Directive})}return i},configurable:!1})}function F1(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function mm(e,t){const i=ll(),a=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Mt,propMetadata:a,inputs:t.inputs||Ge,outputs:t.outputs||Ge,queries:_m(e,a,ym),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!F1(e),exportAs:V1(t.exportAs),providers:t.providers||null,viewQueries:_m(e,a,vm)}}function gm(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!Xt(i)&&!At(i)&&H1(i)&&kc(i,null),i=Object.getPrototypeOf(i)}function U1(e){return"string"==typeof e?Cm(e):g(e)}function B1(e,t){return{propertyName:e,predicate:U1(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function _m(e,t,i){const a=[];for(const f in t)if(t.hasOwnProperty(f)){const v=t[f];v.forEach(O=>{if(i(O)){if(!O.selector)throw new Error(`Can't construct a query for the property "${f}" of "${Y(e)}" since the query selector wasn't defined.`);if(v.some(bm))throw new Error("Cannot combine @Input decorators with query decorators");a.push(B1(f,O))}})}return a}function V1(e){return void 0===e?null:Cm(e)}function ym(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function vm(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function bm(e){return"Input"===e.ngMetadataName}function Cm(e){return e.split(",").map(t=>t.trim())}const j1=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function H1(e){const t=ll();if(j1.some(a=>t.hasLifecycleHook(e,a)))return!0;const i=t.propMetadata(e);for(const a in i){const f=i[a];for(let v=0;v{if(null===a){const f=Mm(e,t),v=Ui();a=v.compileFactory(ar,`ng:///${f.name}/\u0275fac.js`,{name:f.name,type:f.type,typeArgumentCount:0,deps:ha(e),target:v.FactoryTarget.Pipe})}return a},configurable:!1}),Object.defineProperty(e,Ft,{get:()=>{if(null===i){const f=Mm(e,t);i=Ui().compilePipe(ar,`ng:///${f.name}/\u0275pipe.js`,f)}return i},configurable:!1})}function Mm(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure}}const Dm=Hs("Directive",(e={})=>e,void 0,void 0,(e,t)=>kc(e,t)),z1=Hs("Component",(e={})=>Object.assign({changeDetection:Ue.Default},e),Dm,void 0,(e,t)=>hm(e,t)),W1=Hs("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>Em(e,t)),K1=Es("Input",e=>({bindingPropertyName:e})),G1=Es("Output",e=>({bindingPropertyName:e})),$1=Es("HostBinding",e=>({hostPropertyName:e})),Y1=Es("HostListener",(e,t)=>({eventName:e,args:t})),Q1=Hs("NgModule",e=>e,void 0,void 0,(e,t)=>om(e,t));function Ka(...e){}const Nc=new Ei("Application Initializer");let Co=(()=>{class e{constructor(i){this.appInits=i,this.resolve=Ka,this.reject=Ka,this.initialized=!1,this.done=!1,this.donePromise=new Promise((a,f)=>{this.resolve=a,this.reject=f})}runInitializers(){if(this.initialized)return;const i=[],a=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let f=0;f{v.subscribe({complete:H,error:se})});i.push(O)}}Promise.all(i).then(()=>{a()}).catch(f=>{this.reject(f)}),0===i.length&&a(),this.initialized=!0}}return e.\u0275fac=function(i){return new(i||e)(zi(Nc,8))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();const Sm=new Ei("AppId"),Tm={provide:Sm,useFactory:function(){return`${Fc()}${Fc()}${Fc()}`},deps:[]};function Fc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Im=new Ei("Platform Initializer"),wm=new Ei("Platform ID"),xm=new Ei("appBootstrapListener"),X1=new Ei("Application Packages Root URL");let Am=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();const Ga=new Ei("LocaleId"),Om=new Ei("DefaultCurrencyCode"),Z1=new Ei("Translations"),J1=new Ei("TranslationsFormat");var us=(()=>((us=us||{})[us.Error=0]="Error",us[us.Warning=1]="Warning",us[us.Ignore=2]="Ignore",us))();class Rm{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let Uc=(()=>{class e{compileModuleSync(i){return new Va(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const a=this.compileModuleSync(i),v=is(fn(i).declarations).reduce((O,H)=>{const se=At(H);return se&&O.push(new Ba(se)),O},[]);return new Rm(a,v)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();const Lm=new Ei("compilerOptions");class eC{}const tC=(()=>Promise.resolve(0))();function Bc(e){"undefined"==typeof Zone?tC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class xr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:a=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ls(!1),this.onMicrotaskEmpty=new ls(!1),this.onStable=new ls(!1),this.onError=new ls(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const f=this;f._nesting=0,f._outer=f._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(f._inner=f._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(f._inner=f._inner.fork(Zone.longStackTraceZoneSpec)),f.shouldCoalesceEventChangeDetection=!a&&i,f.shouldCoalesceRunChangeDetection=a,f.lastRequestAnimationFrameId=-1,f.nativeRequestAnimationFrame=function(){let e=Pt.requestAnimationFrame,t=Pt.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);const a=t[Zone.__symbol__("OriginalDelegate")];a&&(t=a)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Pt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,jc(e),e.isCheckStableRunning=!0,Vc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),jc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,a,f,v,O,H)=>{try{return Pm(e),i.invokeTask(f,v,O,H)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===v.type||e.shouldCoalesceRunChangeDetection)&&t(),km(e)}},onInvoke:(i,a,f,v,O,H,se)=>{try{return Pm(e),i.invoke(f,v,O,H,se)}finally{e.shouldCoalesceRunChangeDetection&&t(),km(e)}},onHasTask:(i,a,f,v)=>{i.hasTask(f,v),a===f&&("microTask"==v.change?(e._hasPendingMicrotasks=v.microTask,jc(e),Vc(e)):"macroTask"==v.change&&(e.hasPendingMacrotasks=v.macroTask))},onHandleError:(i,a,f,v)=>(i.handleError(f,v),e.runOutsideAngular(()=>e.onError.emit(v)),!1)})}(f)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!xr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(xr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,i,a){return this._inner.run(t,i,a)}runTask(t,i,a,f){const v=this._inner,O=v.scheduleEventTask("NgZoneEvent: "+f,t,iC,Ka,Ka);try{return v.runTask(O,i,a)}finally{v.cancelTask(O)}}runGuarded(t,i,a){return this._inner.runGuarded(t,i,a)}runOutsideAngular(t){return this._outer.run(t)}}const iC={};function Vc(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 jc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Pm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function km(e){e._nesting--,Vc(e)}class Nm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ls,this.onMicrotaskEmpty=new ls,this.onStable=new ls,this.onError=new ls}run(t,i,a){return t.apply(i,a)}runGuarded(t,i,a){return t.apply(i,a)}runOutsideAngular(t){return t()}runTask(t,i,a,f){return t.apply(i,a)}}let Fm=(()=>{class e{constructor(i){this._ngZone=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{xr.assertNotInAngularZone(),Bc(()=>{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())Bc(()=>{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(a=>!a.updateCb||!a.updateCb(i)||(clearTimeout(a.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,a,f){let v=-1;a&&a>0&&(v=setTimeout(()=>{this._callbacks=this._callbacks.filter(O=>O.timeoutId!==v),i(this._didWork,this.getPendingTasks())},a)),this._callbacks.push({doneCb:i,timeoutId:v,updateCb:f})}whenStable(i,a,f){if(f&&!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,a,f),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(i,a,f){return[]}}return e.\u0275fac=function(i){return new(i||e)(zi(xr))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})(),Hc=(()=>{class e{constructor(){this._applications=new Map,zc.addToWindow(this)}registerApplication(i,a){this._applications.set(i,a)}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,a=!0){return zc.findTestabilityInTree(this,i,a)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();class oC{addToWindow(t){}findTestabilityInTree(t,i,a){return null}}function aC(e){zc=e}let Xr,zc=new oC;function Um(e,t,i){const a=new Va(i);return Promise.resolve(a)}function Bm(e){return e.isBoundToModule}const Wc=new Ei("AllowMultipleToken");class uC{constructor(t,i){this.name=t,this.token=i}}function Vm(e){if(Xr&&!Xr.destroyed&&!Xr.injector.get(Wc,!1))throw new P("400","");Xr=e.get(Gc);const t=e.get(Im,null);return t&&t.forEach(i=>i()),Xr}function jm(e,t,i=[]){const a=`Platform: ${t}`,f=new Ei(a);return(v=[])=>{let O=Kc();if(!O||O.injector.get(Wc,!1))if(e)e(i.concat(v).concat({provide:f,useValue:!0}));else{const H=i.concat(v).concat({provide:f,useValue:!0},{provide:eu,useValue:"platform"});Vm(wr.create({providers:H,name:a}))}return Hm()}}function Hm(e){const t=Kc();if(!t)throw new P("401","");return t}function cC(){Xr&&!Xr.destroyed&&Xr.destroy()}function Kc(){return Xr&&!Xr.destroyed?Xr:null}let Gc=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,a){const H=function(e,t){let i;return i="noop"===e?new Nm:("zone.js"===e?void 0:e)||new xr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),i}(a?a.ngZone:void 0,{ngZoneEventCoalescing:a&&a.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:a&&a.ngZoneRunCoalescing||!1}),se=[{provide:xr,useValue:H}];return H.run(()=>{const Me=wr.create({providers:se,parent:this.injector,name:i.moduleType.name}),Le=i.create(Me),qe=Le.injector.get(ko,null);if(!qe)throw new P("402","");return H.runOutsideAngular(()=>{const ht=H.onError.subscribe({next:Tt=>{qe.handleError(Tt)}});Le.onDestroy(()=>{$c(this._modules,Le),ht.unsubscribe()})}),function(e,t,i){try{const a=i();return xu(a)?a.catch(f=>{throw t.runOutsideAngular(()=>e.handleError(f)),f}):a}catch(a){throw t.runOutsideAngular(()=>e.handleError(a)),a}}(qe,H,()=>{const ht=Le.injector.get(Co);return ht.runInitializers(),ht.donePromise.then(()=>(F0(Le.injector.get(Ga,Go)||Go),this._moduleDoBootstrap(Le),Le))})})}bootstrapModule(i,a=[]){const f=zm({},a);return Um(0,0,i).then(v=>this.bootstrapModuleFactory(v,f))}_moduleDoBootstrap(i){const a=i.injector.get(ra);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(f=>a.bootstrap(f));else{if(!i.instance.ngDoBootstrap)throw new P("403","");i.instance.ngDoBootstrap(a)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new P("404","");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(i){return new(i||e)(zi(wr))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();function zm(e,t){return Array.isArray(t)?t.reduce(zm,e):Object.assign(Object.assign({},e),t)}let ra=(()=>{class e{constructor(i,a,f,v,O){this._zone=i,this._injector=a,this._exceptionHandler=f,this._componentFactoryResolver=v,this._initStatus=O,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const H=new u.y(Me=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Me.next(this._stable),Me.complete()})}),se=new u.y(Me=>{let Le;this._zone.runOutsideAngular(()=>{Le=this._zone.onStable.subscribe(()=>{xr.assertNotInAngularZone(),Bc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Me.next(!0))})})});const qe=this._zone.onUnstable.subscribe(()=>{xr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Me.next(!1)}))});return()=>{Le.unsubscribe(),qe.unsubscribe()}});this.isStable=(0,c.T)(H,se.pipe((0,r.B)()))}bootstrap(i,a){if(!this._initStatus.done)throw new P("405","");let f;f=i instanceof Na?i:this._componentFactoryResolver.resolveComponentFactory(i),this.componentTypes.push(f.componentType);const v=Bm(f)?void 0:this._injector.get(yo),H=f.create(wr.NULL,[],a||f.selector,v),se=H.location.nativeElement,Me=H.injector.get(Fm,null),Le=Me&&H.injector.get(Hc);return Me&&Le&&Le.registerApplication(se,Me),H.onDestroy(()=>{this.detachView(H.hostView),$c(this.components,H),Le&&Le.unregisterApplication(se)}),this._loadComponent(H),H}tick(){if(this._runningTick)throw new P("101","");try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(i))}finally{this._runningTick=!1}}attachView(i){const a=i;this._views.push(a),a.attachToAppRef(this)}detachView(i){const a=i;$c(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(xm,[]).concat(this._bootstrapListeners).forEach(f=>f(i))}ngOnDestroy(){this._views.slice().forEach(i=>i.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(i){return new(i||e)(zi(xr),zi(wr),zi(ko),zi(Xo),zi(Co))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();function $c(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}let Km=!0,Gm=!1;function pC(){return Gm=!0,Km}function mC(){if(Gm)throw new Error("Cannot enable prod mode after platform setup.");Km=!1}function gC(e){const t=Mp(e);if(!t)throw $m(e);return new Va(t)}function _C(e){const t=Mp(e);if(!t)throw $m(e);return t}function $m(e){return new Error(`No module with ID ${e} loaded`)}let Ym=(()=>{class e{}return e.__NG_ELEMENT_ID__=Qm,e})();function Qm(e){return function(e,t,i){if(_i(e)&&!i){const a=hn(e.index,t);return new _o(a,a)}return 47&e.type?new _o(t[16],t):null}(ne(),ye(),16==(16&e))}class qm extends Ym{}class vC extends qm{}class bC{constructor(t,i){this.name=t,this.callback=i}}function CC(e){return e.map(t=>t.nativeElement)}class Yc{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new sa(t):null}get injector(){return _f(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(ru(t)||mf(t))}get context(){return ru(this.nativeNode)||pf(this.nativeNode)}get listeners(){return vf(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function(e){const t=er(e);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){const i=e[1].data[t];if(i&&i.localNames){const a={};let f=i.index+1;for(let v=0;v1){let Le=se[1];for(let qe=1;qet[v]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,i=[];for(let a=0;a{if(v.name===t){const O=v.callback;O.call(a,i),f.push(O)}}),"function"==typeof a.eventListeners&&a.eventListeners(t).forEach(v=>{if(-1!==v.toString().indexOf("__ngUnwrap__")){const O=v("__ngUnwrap__");return-1===f.indexOf(O)&&O.call(a,i)}})}}function MC(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Xm(e,t,i,a){const f=er(e.nativeNode);null!==f?Ps(f.lView[1].data[f.nodeIndex],f.lView,t,i,a,e.nativeNode):qc(e.nativeNode,t,i,a)}function Ps(e,t,i,a,f,v){const O=function(e,t){const i=null===e?-1:e.index;return-1!==i?fe(t[i]):null}(e,t);if(11&e.type){if(Qc(O,i,a,f,v),_i(e)){const se=hn(e.index,t);se&&se[1].firstChild&&Ps(se[1].firstChild,se,i,a,f,v)}else e.child&&Ps(e.child,t,i,a,f,v),O&&qc(O,i,a,f);const H=t[e.index];Xn(H)&&Zm(H,i,a,f,v)}else if(4&e.type){const H=t[e.index];Qc(H[7],i,a,f,v),Zm(H,i,a,f,v)}else if(16&e.type){const H=t[16],Me=H[6].projection[e.projection];if(Array.isArray(Me))for(let Le of Me)Qc(Le,i,a,f,v);else if(Me){const Le=H[3];Ps(Le[1].data[Me.index],Le,i,a,f,v)}}else e.child&&Ps(e.child,t,i,a,f,v);if(v!==O){const H=4&e.flags?e.projectionNext:e.next;H&&Ps(H,t,i,a,f,v)}}function Zm(e,t,i,a,f){for(let v=10;vt;class eg{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||xC}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,a=this._removalsHead,f=0,v=null;for(;i||a;){const O=!a||i&&i.currentIndex{O=this._trackByFn(f,H),null!==i&&Object.is(i.trackById,O)?(a&&(i=this._verifyReinsertion(i,H,O,f)),Object.is(i.item,H)||this._addIdentityChange(i,H)):(i=this._mismatch(i,H,O,f),a=!0),i=i._next,f++}),this.length=f;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,a,f){let v;return null===t?v=this._itTail:(v=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,v,f)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(a,f))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,v,f)):t=this._addAfter(new AC(i,a),v,f),t}_verifyReinsertion(t,i,a,f){let v=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null);return null!==v?t=this._reinsertAfter(v,t._prev,f):t.currentIndex!=f&&(t.currentIndex=f,this._addToMoves(t,f)),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,a){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const f=t._prevRemoved,v=t._nextRemoved;return null===f?this._removalsHead=v:f._nextRemoved=v,null===v?this._removalsTail=f:v._prevRemoved=f,this._insertAfter(t,i,a),this._addToMoves(t,a),t}_moveAfter(t,i,a){return this._unlink(t),this._insertAfter(t,i,a),this._addToMoves(t,a),t}_addAfter(t,i,a){return this._insertAfter(t,i,a),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,a){const f=null===i?this._itHead:i._next;return t._next=f,t._prev=i,null===f?this._itTail=t:f._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new tg),this._linkedRecords.put(t),t.currentIndex=a,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,a=t._next;return null===i?this._itHead=a:i._next=a,null===a?this._itTail=i:a._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 tg),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 AC{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 OC{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 a;for(a=this._head;null!==a;a=a._nextDup)if((null===i||i<=a.currentIndex)&&Object.is(a.trackById,t))return a;return null}remove(t){const i=t._prevDup,a=t._nextDup;return null===i?this._head=a:i._nextDup=a,null===a?this._tail=i:a._prevDup=i,null===this._head}}class tg{constructor(){this.map=new Map}put(t){const i=t.trackById;let a=this.map.get(i);a||(a=new OC,this.map.set(i,a)),a.add(t)}get(t,i){const f=this.map.get(t);return f?f.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 ng(e,t,i){const a=e.previousIndex;if(null===a)return a;let f=0;return i&&a{if(i&&i.key===f)this._maybeAddToChanges(i,a),this._appendAfter=i,i=i._next;else{const v=this._getOrCreateRecordForKey(f,a);i=this._insertBeforeOrAppend(i,v)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let a=i;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const a=t._prev;return i._next=t,i._prev=a,t._prev=i,a&&(a._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 f=this._records.get(t);this._maybeAddToChanges(f,i);const v=f._prev,O=f._next;return v&&(v._next=O),O&&(O._prev=v),f._next=null,f._prev=null,f}const a=new LC(t);return this._records.set(t,a),a.currentValue=i,this._addToAdditions(a),a}_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(a=>i(t[a],a))}}class LC{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 rg(){return new Ya([new Jm])}let Ya=(()=>{class e{constructor(i){this.factories=i}static create(i,a){if(null!=a){const f=a.factories.slice();i=i.concat(f)}return new e(i)}static extend(i){return{provide:e,useFactory:a=>e.create(i,a||rg()),deps:[[e,new xs,new ws]]}}find(i){const a=this.factories.find(f=>f.supports(i));if(null!=a)return a;throw new Error(`Cannot find a differ supporting object '${i}' of type '${function(e){return e.name||typeof e}(i)}'`)}}return e.\u0275prov=Ie({token:e,providedIn:"root",factory:rg}),e})();function sg(){return new Qa([new ig])}let Qa=(()=>{class e{constructor(i){this.factories=i}static create(i,a){if(a){const f=a.factories.slice();i=i.concat(f)}return new e(i)}static extend(i){return{provide:e,useFactory:a=>e.create(i,a||sg()),deps:[[e,new xs,new ws]]}}find(i){const a=this.factories.find(f=>f.supports(i));if(a)return a;throw new Error(`Cannot find a differ supporting object '${i}'`)}}return e.\u0275prov=Ie({token:e,providedIn:"root",factory:sg}),e})();const kC=[new ig],og=new Ya([new Jm]),ag=new Qa(kC),FC=jm(null,"core",[{provide:wm,useValue:"unknown"},{provide:Gc,deps:[wr]},{provide:Hc,deps:[]},{provide:Am,deps:[]}]),HC=[{provide:ra,useClass:ra,deps:[xr,wr,ko,Xo,Co]},{provide:u1,deps:[xr],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(i){t.push(i)}}},{provide:Co,useClass:Co,deps:[[new ws,Nc]]},{provide:Uc,useClass:Uc,deps:[]},Tm,{provide:Ya,useFactory:function(){return og},deps:[]},{provide:Qa,useFactory:function(){return ag},deps:[]},{provide:Ga,useFactory:function(e){return e||"undefined"!=typeof $localize&&$localize.locale||Go},deps:[[new xo(Ga),new ws,new xs]]},{provide:Om,useValue:"USD"}];let WC=(()=>{class e{constructor(i){}}return e.\u0275fac=function(i){return new(i||e)(zi(ra))},e.\u0275mod=vn({type:e}),e.\u0275inj=ct({providers:HC}),e})();const KC=!0;function GC(e){return Ui().compileDirectiveDeclaration(ar,`ng:///${e.type.name}/\u0275fac.js`,e)}function $C(e){var t,i;vp(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(i=e.propDecorators)&&void 0!==i?i:null)}function YC(e){return Ui().compileComponentDeclaration(ar,`ng:///${e.type.name}/\u0275cmp.js`,e)}function QC(e){return Ui(function(e){switch(e){case Fi.Directive:return"directive";case Fi.Component:return"component";case Fi.Injectable:return"injectable";case Fi.Pipe:return"pipe";case Fi.NgModule:;}}(e.target)).compileFactoryDeclaration(ar,`ng:///${e.type.name}/\u0275fac.js`,e)}function XC(e){return Ui().compileInjectableDeclaration(ar,`ng:///${e.type.name}/\u0275prov.js`,e)}function ZC(e){return Ui().compileInjectorDeclaration(ar,`ng:///${e.type.name}/\u0275inj.js`,e)}function JC(e){return Ui().compileNgModuleDeclaration(ar,`ng:///${e.type.name}/\u0275mod.js`,e)}function eE(e){return Ui().compilePipeDeclaration(ar,`ng:///${e.type.name}/\u0275pipe.js`,e)}},3075:(he,A,o)=>{"use strict";o.r(A),o.d(A,{AbstractControl:()=>pi,AbstractControlDirective:()=>xt,AbstractFormGroupDirective:()=>J,COMPOSITION_BUFFER_MODE:()=>s,CheckboxControlValueAccessor:()=>b,CheckboxRequiredValidator:()=>ur,ControlContainer:()=>Ne,DefaultValueAccessor:()=>C,EmailValidator:()=>di,FormArray:()=>ri,FormArrayName:()=>Fn,FormBuilder:()=>hr,FormControl:()=>Jn,FormControlDirective:()=>Ri,FormControlName:()=>wi,FormGroup:()=>Ln,FormGroupDirective:()=>bi,FormGroupName:()=>mn,FormsModule:()=>Vr,MaxLengthValidator:()=>Xi,MaxValidator:()=>Li,MinLengthValidator:()=>qi,MinValidator:()=>Si,NG_ASYNC_VALIDATORS:()=>T,NG_VALIDATORS:()=>D,NG_VALUE_ACCESSOR:()=>p,NgControl:()=>dt,NgControlStatus:()=>gt,NgControlStatusGroup:()=>_e,NgForm:()=>Xe,NgModel:()=>Yt,NgModelGroup:()=>Nt,NgSelectOption:()=>gn,NumberValueAccessor:()=>Tn,PatternValidator:()=>rr,RadioControlValueAccessor:()=>bn,RangeValueAccessor:()=>Oi,ReactiveFormsModule:()=>Wn,RequiredValidator:()=>Pi,SelectControlValueAccessor:()=>an,SelectMultipleControlValueAccessor:()=>lr,VERSION:()=>fe,Validators:()=>$,\u0275InternalFormsSharedModule:()=>Yi,\u0275NgNoValidate:()=>Zt,\u0275NgSelectMultipleOption:()=>br});var n=o(5e3),l=o(9808),u=o(5254),c=o(567),r=o(4850);let d=(()=>{class k{constructor(I,de){this._renderer=I,this._elementRef=de,this.onChange=Ze=>{},this.onTouched=()=>{}}setProperty(I,de){this._renderer.setProperty(this._elementRef.nativeElement,I,de)}registerOnTouched(I){this.onTouched=I}registerOnChange(I){this.onChange=I}setDisabledState(I){this.setProperty("disabled",I)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k}),k})(),m=(()=>{class k extends d{}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275InheritDefinitionFeature]}),k})();const p=new n.InjectionToken("NgValueAccessor"),y={provide:p,useExisting:(0,n.forwardRef)(()=>b),multi:!0};let b=(()=>{class k extends m{writeValue(I){this.setProperty("checked",I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("change",function(wt){return de.onChange(wt.target.checked)})("blur",function(){return de.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([y]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const h={provide:p,useExisting:(0,n.forwardRef)(()=>C),multi:!0},s=new n.InjectionToken("CompositionEventMode");let C=(()=>{class k extends d{constructor(I,de,Ze){super(I,de),this._compositionMode=Ze,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const k=(0,l.\u0275getDOM)()?(0,l.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(k.toLowerCase())}())}writeValue(I){this.setProperty("value",null==I?"":I)}_handleInput(I){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(I)}_compositionStart(){this._composing=!0}_compositionEnd(I){this._composing=!1,this._compositionMode&&this.onChange(I)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(s,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,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(I,de){1&I&&n.\u0275\u0275listener("input",function(wt){return de._handleInput(wt.target.value)})("blur",function(){return de.onTouched()})("compositionstart",function(){return de._compositionStart()})("compositionend",function(wt){return de._compositionEnd(wt.target.value)})},features:[n.\u0275\u0275ProvidersFeature([h]),n.\u0275\u0275InheritDefinitionFeature]}),k})();function P(k){return null==k||0===k.length}function w(k){return null!=k&&"number"==typeof k.length}const D=new n.InjectionToken("NgValidators"),T=new n.InjectionToken("NgAsyncValidators"),Y=/^(?=.{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 ${static min(E){return z(E)}static max(E){return G(E)}static required(E){return X(E)}static requiredTrue(E){return Q(E)}static email(E){return q(E)}static minLength(E){return ue(E)}static maxLength(E){return me(E)}static pattern(E){return xe(E)}static nullValidator(E){return null}static compose(E){return Te(E)}static composeAsync(E){return tt(E)}}function z(k){return E=>{if(P(E.value)||P(k))return null;const I=parseFloat(E.value);return!isNaN(I)&&I{if(P(E.value)||P(k))return null;const I=parseFloat(E.value);return!isNaN(I)&&I>k?{max:{max:k,actual:E.value}}:null}}function X(k){return P(k.value)?{required:!0}:null}function Q(k){return!0===k.value?null:{required:!0}}function q(k){return P(k.value)||Y.test(k.value)?null:{email:!0}}function ue(k){return E=>P(E.value)||!w(E.value)?null:E.value.lengthw(E.value)&&E.value.length>k?{maxlength:{requiredLength:k,actualLength:E.value.length}}:null}function xe(k){if(!k)return pe;let E,I;return"string"==typeof k?(I="","^"!==k.charAt(0)&&(I+="^"),I+=k,"$"!==k.charAt(k.length-1)&&(I+="$"),E=new RegExp(I)):(I=k.toString(),E=k),de=>{if(P(de.value))return null;const Ze=de.value;return E.test(Ze)?null:{pattern:{requiredPattern:I,actualValue:Ze}}}}function pe(k){return null}function oe(k){return null!=k}function ae(k){const E=(0,n.\u0275isPromise)(k)?(0,u.D)(k):k;return(0,n.\u0275isObservable)(E),E}function U(k){let E={};return k.forEach(I=>{E=null!=I?Object.assign(Object.assign({},E),I):E}),0===Object.keys(E).length?null:E}function ie(k,E){return E.map(I=>I(k))}function Ce(k){return k.map(E=>function(k){return!k.validate}(E)?E:I=>E.validate(I))}function Te(k){if(!k)return null;const E=k.filter(oe);return 0==E.length?null:function(I){return U(ie(I,E))}}function Ke(k){return null!=k?Te(Ce(k)):null}function tt(k){if(!k)return null;const E=k.filter(oe);return 0==E.length?null:function(I){const de=ie(I,E).map(ae);return(0,c.D)(de).pipe((0,r.U)(U))}}function ot(k){return null!=k?tt(Ce(k)):null}function mt(k,E){return null===k?[E]:Array.isArray(k)?[...k,E]:[k,E]}function Dt(k){return k._rawValidators}function Ie(k){return k._rawAsyncValidators}function Qe(k){return k?Array.isArray(k)?k:[k]:[]}function ct(k,E){return Array.isArray(k)?k.includes(E):k===E}function bt(k,E){const I=Qe(E);return Qe(k).forEach(Ze=>{ct(I,Ze)||I.push(Ze)}),I}function Et(k,E){return Qe(E).filter(I=>!ct(k,I))}class xt{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(E){this._rawValidators=E||[],this._composedValidatorFn=Ke(this._rawValidators)}_setAsyncValidators(E){this._rawAsyncValidators=E||[],this._composedAsyncValidatorFn=ot(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(E){this._onDestroyCallbacks.push(E)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(E=>E()),this._onDestroyCallbacks=[]}reset(E){this.control&&this.control.reset(E)}hasError(E,I){return!!this.control&&this.control.hasError(E,I)}getError(E,I){return this.control?this.control.getError(E,I):null}}class dt extends xt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ne extends xt{get formDirective(){return null}get path(){return null}}class rt{constructor(E){this._cd=E}is(E){var I,de,Ze;return"submitted"===E?!!(null===(I=this._cd)||void 0===I?void 0:I.submitted):!!(null===(Ze=null===(de=this._cd)||void 0===de?void 0:de.control)||void 0===Ze?void 0:Ze[E])}}let gt=(()=>{class k extends rt{constructor(I){super(I)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(dt,2))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(I,de){2&I&&n.\u0275\u0275classProp("ng-untouched",de.is("untouched"))("ng-touched",de.is("touched"))("ng-pristine",de.is("pristine"))("ng-dirty",de.is("dirty"))("ng-valid",de.is("valid"))("ng-invalid",de.is("invalid"))("ng-pending",de.is("pending"))},features:[n.\u0275\u0275InheritDefinitionFeature]}),k})(),_e=(()=>{class k extends rt{constructor(I){super(I)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(I,de){2&I&&n.\u0275\u0275classProp("ng-untouched",de.is("untouched"))("ng-touched",de.is("touched"))("ng-pristine",de.is("pristine"))("ng-dirty",de.is("dirty"))("ng-valid",de.is("valid"))("ng-invalid",de.is("invalid"))("ng-pending",de.is("pending"))("ng-submitted",de.is("submitted"))},features:[n.\u0275\u0275InheritDefinitionFeature]}),k})();function kt(k,E){return[...E.path,k]}function pt(k,E){Mt(k,E),E.valueAccessor.writeValue(k.value),function(k,E){E.valueAccessor.registerOnChange(I=>{k._pendingValue=I,k._pendingChange=!0,k._pendingDirty=!0,"change"===k.updateOn&&Ft(k,E)})}(k,E),function(k,E){const I=(de,Ze)=>{E.valueAccessor.writeValue(de),Ze&&E.viewToModelUpdate(de)};k.registerOnChange(I),E._registerOnDestroy(()=>{k._unregisterOnChange(I)})}(k,E),function(k,E){E.valueAccessor.registerOnTouched(()=>{k._pendingTouched=!0,"blur"===k.updateOn&&k._pendingChange&&Ft(k,E),"submit"!==k.updateOn&&k.markAsTouched()})}(k,E),function(k,E){if(E.valueAccessor.setDisabledState){const I=de=>{E.valueAccessor.setDisabledState(de)};k.registerOnDisabledChange(I),E._registerOnDestroy(()=>{k._unregisterOnDisabledChange(I)})}}(k,E)}function Pt(k,E,I=!0){const de=()=>{};E.valueAccessor&&(E.valueAccessor.registerOnChange(de),E.valueAccessor.registerOnTouched(de)),Ge(k,E),k&&(E._invokeOnDestroyCallbacks(),k._registerOnCollectionChange(()=>{}))}function $e(k,E){k.forEach(I=>{I.registerOnValidatorChange&&I.registerOnValidatorChange(E)})}function Mt(k,E){const I=Dt(k);null!==E.validator?k.setValidators(mt(I,E.validator)):"function"==typeof I&&k.setValidators([I]);const de=Ie(k);null!==E.asyncValidator?k.setAsyncValidators(mt(de,E.asyncValidator)):"function"==typeof de&&k.setAsyncValidators([de]);const Ze=()=>k.updateValueAndValidity();$e(E._rawValidators,Ze),$e(E._rawAsyncValidators,Ze)}function Ge(k,E){let I=!1;if(null!==k){if(null!==E.validator){const Ze=Dt(k);if(Array.isArray(Ze)&&Ze.length>0){const wt=Ze.filter(Wt=>Wt!==E.validator);wt.length!==Ze.length&&(I=!0,k.setValidators(wt))}}if(null!==E.asyncValidator){const Ze=Ie(k);if(Array.isArray(Ze)&&Ze.length>0){const wt=Ze.filter(Wt=>Wt!==E.asyncValidator);wt.length!==Ze.length&&(I=!0,k.setAsyncValidators(wt))}}}const de=()=>{};return $e(E._rawValidators,de),$e(E._rawAsyncValidators,de),I}function Ft(k,E){k._pendingDirty&&k.markAsDirty(),k.setValue(k._pendingValue,{emitModelToViewChange:!1}),E.viewToModelUpdate(k._pendingValue),k._pendingChange=!1}function Ee(k,E){Mt(k,E)}function je(k,E){if(!k.hasOwnProperty("model"))return!1;const I=k.model;return!!I.isFirstChange()||!Object.is(E,I.currentValue)}function Ht(k,E){k._syncPendingControls(),E.forEach(I=>{const de=I.control;"submit"===de.updateOn&&de._pendingChange&&(I.viewToModelUpdate(de._pendingValue),de._pendingChange=!1)})}function $t(k,E){if(!E)return null;let I,de,Ze;return Array.isArray(E),E.forEach(wt=>{wt.constructor===C?I=wt:function(k){return Object.getPrototypeOf(k.constructor)===m}(wt)?de=wt:Ze=wt}),Ze||de||I||null}function vn(k,E){const I=k.indexOf(E);I>-1&&k.splice(I,1)}const st="VALID",Ve="INVALID",ut="PENDING",At="DISABLED";function Jt(k){return(ti(k)?k.validators:k)||null}function fn(k){return Array.isArray(k)?Ke(k):k||null}function Rn(k,E){return(ti(E)?E.asyncValidators:k)||null}function li(k){return Array.isArray(k)?ot(k):k||null}function ti(k){return null!=k&&!Array.isArray(k)&&"object"==typeof k}class pi{constructor(E,I){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=E,this._rawAsyncValidators=I,this._composedValidatorFn=fn(this._rawValidators),this._composedAsyncValidatorFn=li(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(E){this._rawValidators=this._composedValidatorFn=E}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(E){this._rawAsyncValidators=this._composedAsyncValidatorFn=E}get parent(){return this._parent}get valid(){return this.status===st}get invalid(){return this.status===Ve}get pending(){return this.status==ut}get disabled(){return this.status===At}get enabled(){return this.status!==At}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(E){this._rawValidators=E,this._composedValidatorFn=fn(E)}setAsyncValidators(E){this._rawAsyncValidators=E,this._composedAsyncValidatorFn=li(E)}addValidators(E){this.setValidators(bt(E,this._rawValidators))}addAsyncValidators(E){this.setAsyncValidators(bt(E,this._rawAsyncValidators))}removeValidators(E){this.setValidators(Et(E,this._rawValidators))}removeAsyncValidators(E){this.setAsyncValidators(Et(E,this._rawAsyncValidators))}hasValidator(E){return ct(this._rawValidators,E)}hasAsyncValidator(E){return ct(this._rawAsyncValidators,E)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(E={}){this.touched=!0,this._parent&&!E.onlySelf&&this._parent.markAsTouched(E)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(E=>E.markAllAsTouched())}markAsUntouched(E={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(I=>{I.markAsUntouched({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}markAsDirty(E={}){this.pristine=!1,this._parent&&!E.onlySelf&&this._parent.markAsDirty(E)}markAsPristine(E={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(I=>{I.markAsPristine({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}markAsPending(E={}){this.status=ut,!1!==E.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!E.onlySelf&&this._parent.markAsPending(E)}disable(E={}){const I=this._parentMarkedDirty(E.onlySelf);this.status=At,this.errors=null,this._forEachChild(de=>{de.disable(Object.assign(Object.assign({},E),{onlySelf:!0}))}),this._updateValue(),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},E),{skipPristineCheck:I})),this._onDisabledChange.forEach(de=>de(!0))}enable(E={}){const I=this._parentMarkedDirty(E.onlySelf);this.status=st,this._forEachChild(de=>{de.enable(Object.assign(Object.assign({},E),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},E),{skipPristineCheck:I})),this._onDisabledChange.forEach(de=>de(!1))}_updateAncestors(E){this._parent&&!E.onlySelf&&(this._parent.updateValueAndValidity(E),E.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(E){this._parent=E}updateValueAndValidity(E={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===st||this.status===ut)&&this._runAsyncValidator(E.emitEvent)),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.updateValueAndValidity(E)}_updateTreeValidity(E={emitEvent:!0}){this._forEachChild(I=>I._updateTreeValidity(E)),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?At:st}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(E){if(this.asyncValidator){this.status=ut,this._hasOwnPendingAsyncValidator=!0;const I=ae(this.asyncValidator(this));this._asyncValidationSubscription=I.subscribe(de=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(de,{emitEvent:E})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(E,I={}){this.errors=E,this._updateControlsErrors(!1!==I.emitEvent)}get(E){return function(k,E,I){if(null==E||(Array.isArray(E)||(E=E.split(".")),Array.isArray(E)&&0===E.length))return null;let de=k;return E.forEach(Ze=>{de=de instanceof Ln?de.controls.hasOwnProperty(Ze)?de.controls[Ze]:null:de instanceof ri&&de.at(Ze)||null}),de}(this,E)}getError(E,I){const de=I?this.get(I):this;return de&&de.errors?de.errors[E]:null}hasError(E,I){return!!this.getError(E,I)}get root(){let E=this;for(;E._parent;)E=E._parent;return E}_updateControlsErrors(E){this.status=this._calculateStatus(),E&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(E)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?At:this.errors?Ve:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ut)?ut:this._anyControlsHaveStatus(Ve)?Ve:st}_anyControlsHaveStatus(E){return this._anyControls(I=>I.status===E)}_anyControlsDirty(){return this._anyControls(E=>E.dirty)}_anyControlsTouched(){return this._anyControls(E=>E.touched)}_updatePristine(E={}){this.pristine=!this._anyControlsDirty(),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}_updateTouched(E={}){this.touched=this._anyControlsTouched(),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}_isBoxedValue(E){return"object"==typeof E&&null!==E&&2===Object.keys(E).length&&"value"in E&&"disabled"in E}_registerOnCollectionChange(E){this._onCollectionChange=E}_setUpdateStrategy(E){ti(E)&&null!=E.updateOn&&(this._updateOn=E.updateOn)}_parentMarkedDirty(E){return!E&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Jn extends pi{constructor(E=null,I,de){super(Jt(I),Rn(de,I)),this._onChange=[],this._pendingChange=!1,this._applyFormState(E),this._setUpdateStrategy(I),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(E,I={}){this.value=this._pendingValue=E,this._onChange.length&&!1!==I.emitModelToViewChange&&this._onChange.forEach(de=>de(this.value,!1!==I.emitViewToModelChange)),this.updateValueAndValidity(I)}patchValue(E,I={}){this.setValue(E,I)}reset(E=null,I={}){this._applyFormState(E),this.markAsPristine(I),this.markAsUntouched(I),this.setValue(this.value,I),this._pendingChange=!1}_updateValue(){}_anyControls(E){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(E){this._onChange.push(E)}_unregisterOnChange(E){vn(this._onChange,E)}registerOnDisabledChange(E){this._onDisabledChange.push(E)}_unregisterOnDisabledChange(E){vn(this._onDisabledChange,E)}_forEachChild(E){}_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(E){this._isBoxedValue(E)?(this.value=this._pendingValue=E.value,E.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=E}}class Ln extends pi{constructor(E,I,de){super(Jt(I),Rn(de,I)),this.controls=E,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(E,I){return this.controls[E]?this.controls[E]:(this.controls[E]=I,I.setParent(this),I._registerOnCollectionChange(this._onCollectionChange),I)}addControl(E,I,de={}){this.registerControl(E,I),this.updateValueAndValidity({emitEvent:de.emitEvent}),this._onCollectionChange()}removeControl(E,I={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}setControl(E,I,de={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],I&&this.registerControl(E,I),this.updateValueAndValidity({emitEvent:de.emitEvent}),this._onCollectionChange()}contains(E){return this.controls.hasOwnProperty(E)&&this.controls[E].enabled}setValue(E,I={}){this._checkAllValuesPresent(E),Object.keys(E).forEach(de=>{this._throwIfControlMissing(de),this.controls[de].setValue(E[de],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(E,I={}){null!=E&&(Object.keys(E).forEach(de=>{this.controls[de]&&this.controls[de].patchValue(E[de],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(E={},I={}){this._forEachChild((de,Ze)=>{de.reset(E[Ze],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this._reduceChildren({},(E,I,de)=>(E[de]=I instanceof Jn?I.value:I.getRawValue(),E))}_syncPendingControls(){let E=this._reduceChildren(!1,(I,de)=>!!de._syncPendingControls()||I);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_throwIfControlMissing(E){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[E])throw new Error(`Cannot find form control with name: ${E}.`)}_forEachChild(E){Object.keys(this.controls).forEach(I=>{const de=this.controls[I];de&&E(de,I)})}_setUpControls(){this._forEachChild(E=>{E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(E){for(const I of Object.keys(this.controls)){const de=this.controls[I];if(this.contains(I)&&E(de))return!0}return!1}_reduceValue(){return this._reduceChildren({},(E,I,de)=>((I.enabled||this.disabled)&&(E[de]=I.value),E))}_reduceChildren(E,I){let de=E;return this._forEachChild((Ze,wt)=>{de=I(de,Ze,wt)}),de}_allControlsDisabled(){for(const E of Object.keys(this.controls))if(this.controls[E].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(E){this._forEachChild((I,de)=>{if(void 0===E[de])throw new Error(`Must supply a value for form control with name: '${de}'.`)})}}class ri extends pi{constructor(E,I,de){super(Jt(I),Rn(de,I)),this.controls=E,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(E){return this.controls[E]}push(E,I={}){this.controls.push(E),this._registerControl(E),this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}insert(E,I,de={}){this.controls.splice(E,0,I),this._registerControl(I),this.updateValueAndValidity({emitEvent:de.emitEvent})}removeAt(E,I={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),this.controls.splice(E,1),this.updateValueAndValidity({emitEvent:I.emitEvent})}setControl(E,I,de={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),this.controls.splice(E,1),I&&(this.controls.splice(E,0,I),this._registerControl(I)),this.updateValueAndValidity({emitEvent:de.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(E,I={}){this._checkAllValuesPresent(E),E.forEach((de,Ze)=>{this._throwIfControlMissing(Ze),this.at(Ze).setValue(de,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(E,I={}){null!=E&&(E.forEach((de,Ze)=>{this.at(Ze)&&this.at(Ze).patchValue(de,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(E=[],I={}){this._forEachChild((de,Ze)=>{de.reset(E[Ze],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this.controls.map(E=>E instanceof Jn?E.value:E.getRawValue())}clear(E={}){this.controls.length<1||(this._forEachChild(I=>I._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:E.emitEvent}))}_syncPendingControls(){let E=this.controls.reduce((I,de)=>!!de._syncPendingControls()||I,!1);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_throwIfControlMissing(E){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(E))throw new Error(`Cannot find form control at index ${E}`)}_forEachChild(E){this.controls.forEach((I,de)=>{E(I,de)})}_updateValue(){this.value=this.controls.filter(E=>E.enabled||this.disabled).map(E=>E.value)}_anyControls(E){return this.controls.some(I=>I.enabled&&E(I))}_setUpControls(){this._forEachChild(E=>this._registerControl(E))}_checkAllValuesPresent(E){this._forEachChild((I,de)=>{if(void 0===E[de])throw new Error(`Must supply a value for form control at index: ${de}.`)})}_allControlsDisabled(){for(const E of this.controls)if(E.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(E){E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)}}const jn={provide:Ne,useExisting:(0,n.forwardRef)(()=>Xe)},Se=(()=>Promise.resolve(null))();let Xe=(()=>{class k extends Ne{constructor(I,de){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new n.EventEmitter,this.form=new Ln({},Ke(I),ot(de))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(I){Se.then(()=>{const de=this._findContainer(I.path);I.control=de.registerControl(I.name,I.control),pt(I.control,I),I.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(I)})}getControl(I){return this.form.get(I.path)}removeControl(I){Se.then(()=>{const de=this._findContainer(I.path);de&&de.removeControl(I.name),vn(this._directives,I)})}addFormGroup(I){Se.then(()=>{const de=this._findContainer(I.path),Ze=new Ln({});Ee(Ze,I),de.registerControl(I.name,Ze),Ze.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(I){Se.then(()=>{const de=this._findContainer(I.path);de&&de.removeControl(I.name)})}getFormGroup(I){return this.form.get(I.path)}updateModel(I,de){Se.then(()=>{this.form.get(I.path).setValue(de)})}setValue(I){this.control.setValue(I)}onSubmit(I){return this.submitted=!0,Ht(this.form,this._directives),this.ngSubmit.emit(I),!1}onReset(){this.resetForm()}resetForm(I){this.form.reset(I),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(I){return I.pop(),I.length?this.form.get(I):this.form}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("submit",function(wt){return de.onSubmit(wt)})("reset",function(){return de.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([jn]),n.\u0275\u0275InheritDefinitionFeature]}),k})(),J=(()=>{class k extends Ne{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return kt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275InheritDefinitionFeature]}),k})();const Ye={provide:Ne,useExisting:(0,n.forwardRef)(()=>Nt)};let Nt=(()=>{class k extends J{constructor(I,de,Ze){super(),this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze)}_checkParentType(){}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,5),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([Ye]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const It={provide:dt,useExisting:(0,n.forwardRef)(()=>Yt)},Lt=(()=>Promise.resolve(null))();let Yt=(()=>{class k extends dt{constructor(I,de,Ze,wt){super(),this.control=new Jn,this._registered=!1,this.update=new n.EventEmitter,this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze),this.valueAccessor=$t(0,wt)}ngOnChanges(I){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in I&&this._updateDisabled(I),je(I,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?kt(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}_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(){pt(this.control,this),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(I){Lt.then(()=>{this.control.setValue(I,{emitViewToModelChange:!1})})}_updateDisabled(I){const de=I.isDisabled.currentValue,Ze=""===de||de&&"false"!==de;Lt.then(()=>{Ze&&!this.control.disabled?this.control.disable():!Ze&&this.control.disabled&&this.control.enable()})}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,9),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(p,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,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([It]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})(),Zt=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),k})();const Mn={provide:p,useExisting:(0,n.forwardRef)(()=>Tn),multi:!0};let Tn=(()=>{class k extends m{writeValue(I){this.setProperty("value",null==I?"":I)}registerOnChange(I){this.onChange=de=>{I(""==de?null:parseFloat(de))}}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("input",function(wt){return de.onChange(wt.target.value)})("blur",function(){return de.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Mn]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const wn={provide:p,useExisting:(0,n.forwardRef)(()=>bn),multi:!0};let An=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({}),k})(),kn=(()=>{class k{constructor(){this._accessors=[]}add(I,de){this._accessors.push([I,de])}remove(I){for(let de=this._accessors.length-1;de>=0;--de)if(this._accessors[de][1]===I)return void this._accessors.splice(de,1)}select(I){this._accessors.forEach(de=>{this._isSameGroup(de,I)&&de[1]!==I&&de[1].fireUncheck(I.value)})}_isSameGroup(I,de){return!!I[0].control&&I[0]._parent===de._control._parent&&I[1].name===de.name}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:An}),k})(),bn=(()=>{class k extends m{constructor(I,de,Ze,wt){super(I,de),this._registry=Ze,this._injector=wt,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(dt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(I){this._state=I===this.value,this.setProperty("checked",this._state)}registerOnChange(I){this._fn=I,this.onChange=()=>{I(this.value),this._registry.select(this)}}fireUncheck(I){this.writeValue(I)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(kn),n.\u0275\u0275directiveInject(n.Injector))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("change",function(){return de.onChange()})("blur",function(){return de.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([wn]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const ui={provide:p,useExisting:(0,n.forwardRef)(()=>Oi),multi:!0};let Oi=(()=>{class k extends m{writeValue(I){this.setProperty("value",parseFloat(I))}registerOnChange(I){this.onChange=de=>{I(""==de?null:parseFloat(de))}}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("change",function(wt){return de.onChange(wt.target.value)})("input",function(wt){return de.onChange(wt.target.value)})("blur",function(){return de.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([ui]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const ci=new n.InjectionToken("NgModelWithFormControlWarning"),Xn={provide:dt,useExisting:(0,n.forwardRef)(()=>Ri)};let Ri=(()=>{class k extends dt{constructor(I,de,Ze,wt){super(),this._ngModelWarningConfig=wt,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(I),this._setAsyncValidators(de),this.valueAccessor=$t(0,Ze)}set isDisabled(I){}ngOnChanges(I){if(this._isControlChanged(I)){const de=I.form.previousValue;de&&Pt(de,this,!1),pt(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}je(I,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Pt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}_isControlChanged(I){return I.hasOwnProperty("form")}}return k._ngModelWarningSentOnce=!1,k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(ci,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Xn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})();const _i={provide:Ne,useExisting:(0,n.forwardRef)(()=>bi)};let bi=(()=>{class k extends Ne{constructor(I,de){super(),this.validators=I,this.asyncValidators=de,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(I),this._setAsyncValidators(de)}ngOnChanges(I){this._checkFormPresent(),I.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ge(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(I){const de=this.form.get(I.path);return pt(de,I),de.updateValueAndValidity({emitEvent:!1}),this.directives.push(I),de}getControl(I){return this.form.get(I.path)}removeControl(I){Pt(I.control||null,I,!1),vn(this.directives,I)}addFormGroup(I){this._setUpFormContainer(I)}removeFormGroup(I){this._cleanUpFormContainer(I)}getFormGroup(I){return this.form.get(I.path)}addFormArray(I){this._setUpFormContainer(I)}removeFormArray(I){this._cleanUpFormContainer(I)}getFormArray(I){return this.form.get(I.path)}updateModel(I,de){this.form.get(I.path).setValue(de)}onSubmit(I){return this.submitted=!0,Ht(this.form,this.directives),this.ngSubmit.emit(I),!1}onReset(){this.resetForm()}resetForm(I){this.form.reset(I),this.submitted=!1}_updateDomValue(){this.directives.forEach(I=>{const de=I.control,Ze=this.form.get(I.path);de!==Ze&&(Pt(de||null,I),Ze instanceof Jn&&(pt(Ze,I),I.control=Ze))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(I){const de=this.form.get(I.path);Ee(de,I),de.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(I){if(this.form){const de=this.form.get(I.path);de&&function(k,E){return Ge(k,E)}(de,I)&&de.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Mt(this.form,this),this._oldForm&&Ge(this._oldForm,this)}_checkFormPresent(){}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroup",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("submit",function(wt){return de.onSubmit(wt)})("reset",function(){return de.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([_i]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})();const si={provide:Ne,useExisting:(0,n.forwardRef)(()=>mn)};let mn=(()=>{class k extends J{constructor(I,de,Ze){super(),this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze)}_checkParentType(){xn(this._parent)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,13),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([si]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const Qi={provide:Ne,useExisting:(0,n.forwardRef)(()=>Fn)};let Fn=(()=>{class k extends Ne{constructor(I,de,Ze){super(),this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze)}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 kt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){xn(this._parent)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,13),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Qi]),n.\u0275\u0275InheritDefinitionFeature]}),k})();function xn(k){return!(k instanceof mn||k instanceof bi||k instanceof Fn)}const Ii={provide:dt,useExisting:(0,n.forwardRef)(()=>wi)};let wi=(()=>{class k extends dt{constructor(I,de,Ze,wt,Wt){super(),this._ngModelWarningConfig=Wt,this._added=!1,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze),this.valueAccessor=$t(0,wt)}set isDisabled(I){}ngOnChanges(I){this._added||this._setUpControl(),je(I,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}get path(){return kt(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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return k._ngModelWarningSentOnce=!1,k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,13),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(ci,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([Ii]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})();const ir={provide:p,useExisting:(0,n.forwardRef)(()=>an),multi:!0};function Wi(k,E){return null==k?`${E}`:(E&&"object"==typeof E&&(E="Object"),`${k}: ${E}`.slice(0,50))}let an=(()=>{class k extends m{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(I){this._compareWith=I}writeValue(I){this.value=I;const de=this._getOptionId(I);null==de&&this.setProperty("selectedIndex",-1);const Ze=Wi(de,I);this.setProperty("value",Ze)}registerOnChange(I){this.onChange=de=>{this.value=this._getOptionValue(de),I(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(I){for(const de of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(de),I))return de;return null}_getOptionValue(I){const de=function(k){return k.split(":")[0]}(I);return this._optionMap.has(de)?this._optionMap.get(de):I}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("change",function(wt){return de.onChange(wt.target.value)})("blur",function(){return de.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ir]),n.\u0275\u0275InheritDefinitionFeature]}),k})(),gn=(()=>{class k{constructor(I,de,Ze){this._element=I,this._renderer=de,this._select=Ze,this._select&&(this.id=this._select._registerOption())}set ngValue(I){null!=this._select&&(this._select._optionMap.set(this.id,I),this._setElementValue(Wi(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._setElementValue(I),this._select&&this._select.writeValue(this._select.value)}_setElementValue(I){this._renderer.setProperty(this._element.nativeElement,"value",I)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(an,9))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),k})();const Sn={provide:p,useExisting:(0,n.forwardRef)(()=>lr),multi:!0};function oi(k,E){return null==k?`${E}`:("string"==typeof E&&(E=`'${E}'`),E&&"object"==typeof E&&(E="Object"),`${k}: ${E}`.slice(0,50))}let lr=(()=>{class k extends m{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(I){this._compareWith=I}writeValue(I){let de;if(this.value=I,Array.isArray(I)){const Ze=I.map(wt=>this._getOptionId(wt));de=(wt,Wt)=>{wt._setSelected(Ze.indexOf(Wt.toString())>-1)}}else de=(Ze,wt)=>{Ze._setSelected(!1)};this._optionMap.forEach(de)}registerOnChange(I){this.onChange=de=>{const Ze=[],wt=de.selectedOptions;if(void 0!==wt){const Wt=wt;for(let hn=0;hn{class k{constructor(I,de,Ze){this._element=I,this._renderer=de,this._select=Ze,this._select&&(this.id=this._select._registerOption(this))}set ngValue(I){null!=this._select&&(this._value=I,this._setElementValue(oi(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._select?(this._value=I,this._setElementValue(oi(this.id,I)),this._select.writeValue(this._select.value)):this._setElementValue(I)}_setElementValue(I){this._renderer.setProperty(this._element.nativeElement,"value",I)}_setSelected(I){this._renderer.setProperty(this._element.nativeElement,"selected",I)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(lr,9))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),k})();function Or(k){return"number"==typeof k?k:parseInt(k,10)}function Ki(k){return"number"==typeof k?k:parseFloat(k)}let Di=(()=>{class k{constructor(){this._validator=pe}ngOnChanges(I){if(this.inputName in I){const de=this.normalizeInput(I[this.inputName].currentValue);this._validator=this.enabled()?this.createValidator(de):pe,this._onChange&&this._onChange()}}validate(I){return this._validator(I)}registerOnValidatorChange(I){this._onChange=I}enabled(){return null!=this[this.inputName]}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275NgOnChangesFeature]}),k})();const Cr={provide:D,useExisting:(0,n.forwardRef)(()=>Li),multi:!0};let Li=(()=>{class k extends Di{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=I=>Ki(I),this.createValidator=I=>G(I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("max",de.enabled()?de.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([Cr]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const Er={provide:D,useExisting:(0,n.forwardRef)(()=>Si),multi:!0};let Si=(()=>{class k extends Di{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=I=>Ki(I),this.createValidator=I=>z(I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("min",de.enabled()?de.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([Er]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const Vi={provide:D,useExisting:(0,n.forwardRef)(()=>Pi),multi:!0},Gi={provide:D,useExisting:(0,n.forwardRef)(()=>ur),multi:!0};let Pi=(()=>{class k{constructor(){this._required=!1}get required(){return this._required}set required(I){this._required=null!=I&&!1!==I&&"false"!=`${I}`,this._onChange&&this._onChange()}validate(I){return this.required?X(I):null}registerOnValidatorChange(I){this._onChange=I}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("required",de.required?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([Vi])]}),k})(),ur=(()=>{class k extends Pi{validate(I){return this.required?Q(I):null}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("required",de.required?"":null)},features:[n.\u0275\u0275ProvidersFeature([Gi]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const cr={provide:D,useExisting:(0,n.forwardRef)(()=>di),multi:!0};let di=(()=>{class k{constructor(){this._enabled=!1}set email(I){this._enabled=""===I||!0===I||"true"===I,this._onChange&&this._onChange()}validate(I){return this._enabled?q(I):null}registerOnValidatorChange(I){this._onChange=I}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([cr])]}),k})();const dr={provide:D,useExisting:(0,n.forwardRef)(()=>qi),multi:!0};let qi=(()=>{class k extends Di{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=I=>Or(I),this.createValidator=I=>ue(I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("minlength",de.enabled()?de.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([dr]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const $i={provide:D,useExisting:(0,n.forwardRef)(()=>Xi),multi:!0};let Xi=(()=>{class k extends Di{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=I=>Or(I),this.createValidator=I=>me(I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("maxlength",de.enabled()?de.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([$i]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const yi={provide:D,useExisting:(0,n.forwardRef)(()=>rr),multi:!0};let rr=(()=>{class k{constructor(){this._validator=pe}ngOnChanges(I){"pattern"in I&&(this._createValidator(),this._onChange&&this._onChange())}validate(I){return this._validator(I)}registerOnValidatorChange(I){this._onChange=I}_createValidator(){this._validator=xe(this.pattern)}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("pattern",de.pattern?de.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([yi]),n.\u0275\u0275NgOnChangesFeature]}),k})(),Yi=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[[An]]}),k})(),Vr=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[Yi]}),k})(),Wn=(()=>{class k{static withConfig(I){return{ngModule:k,providers:[{provide:ci,useValue:I.warnOnNgModelWithFormControl}]}}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[Yi]}),k})(),hr=(()=>{class k{group(I,de=null){const Ze=this._reduceControls(I);let hn,wt=null,Wt=null;return null!=de&&(function(k){return void 0!==k.asyncValidators||void 0!==k.validators||void 0!==k.updateOn}(de)?(wt=null!=de.validators?de.validators:null,Wt=null!=de.asyncValidators?de.asyncValidators:null,hn=null!=de.updateOn?de.updateOn:void 0):(wt=null!=de.validator?de.validator:null,Wt=null!=de.asyncValidator?de.asyncValidator:null)),new Ln(Ze,{asyncValidators:Wt,updateOn:hn,validators:wt})}control(I,de,Ze){return new Jn(I,de,Ze)}array(I,de,Ze){const wt=I.map(Wt=>this._createControl(Wt));return new ri(wt,de,Ze)}_reduceControls(I){const de={};return Object.keys(I).forEach(Ze=>{de[Ze]=this._createControl(I[Ze])}),de}_createControl(I){return I instanceof Jn||I instanceof Ln||I instanceof ri?I:Array.isArray(I)?this.control(I[0],I.length>1?I[1]:null,I.length>2?I[2]:null):this.control(I)}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:Wn}),k})();const fe=new n.Version("13.1.1")},1079:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_AUTOCOMPLETE_DEFAULT_OPTIONS:()=>U,MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY:()=>ie,MAT_AUTOCOMPLETE_SCROLL_STRATEGY:()=>Te,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY:()=>Ke,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>tt,MAT_AUTOCOMPLETE_VALUE_ACCESSOR:()=>ot,MatAutocomplete:()=>Ce,MatAutocompleteModule:()=>bt,MatAutocompleteOrigin:()=>ct,MatAutocompleteSelectedEvent:()=>oe,MatAutocompleteTrigger:()=>Ie,_MatAutocompleteBase:()=>le,_MatAutocompleteOriginBase:()=>Qe,_MatAutocompleteTriggerBase:()=>Dt,getMatAutocompleteMissingPanelError:()=>mt});var n=o(5664),l=o(3191),u=o(5e3),c=o(508),r=o(2654),d=o(8929),m=o(8514),p=o(6787),y=o(1086),b=o(3753),h=o(925),g=o(9808),s=o(1314),C=o(9071),P=o(1159),w=o(7429),D=o(3075),T=o(7322),Y=o(2986),$=o(7545),z=o(2198),G=o(4850),X=o(2868),Q=o(943),q=o(226);const ue=["panel"];function me(Et,xt){if(1&Et&&(u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275projection(2),u.\u0275\u0275elementEnd()),2&Et){const dt=xt.id,Ne=u.\u0275\u0275nextContext();u.\u0275\u0275property("id",Ne.id)("ngClass",Ne._classList),u.\u0275\u0275attribute("aria-label",Ne.ariaLabel||null)("aria-labelledby",Ne._getPanelAriaLabelledby(dt))}}const xe=["*"];let pe=0;class oe{constructor(xt,dt){this.source=xt,this.option=dt}}const ae=(0,c.mixinDisableRipple)(class{}),U=new u.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:ie});function ie(){return{autoActiveFirstOption:!1}}let le=(()=>{class Et extends ae{constructor(dt,Ne,rt,ze){super(),this._changeDetectorRef=dt,this._elementRef=Ne,this._activeOptionChanges=r.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new u.EventEmitter,this.opened=new u.EventEmitter,this.closed=new u.EventEmitter,this.optionActivated=new u.EventEmitter,this._classList={},this.id="mat-autocomplete-"+pe++,this.inertGroups=(null==ze?void 0:ze.SAFARI)||!1,this._autoActiveFirstOption=!!rt.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(dt){this._autoActiveFirstOption=(0,l.Ig)(dt)}set classList(dt){this._classList=dt&&dt.length?(0,l.du)(dt).reduce((Ne,rt)=>(Ne[rt]=!0,Ne),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new n.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(dt=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[dt]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(dt){this.panel&&(this.panel.nativeElement.scrollTop=dt)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(dt){const Ne=new oe(this,dt);this.optionSelected.emit(Ne)}_getPanelAriaLabelledby(dt){return this.ariaLabel?null:this.ariaLabelledby?(dt?dt+" ":"")+this.ariaLabelledby:dt}_setVisibilityClasses(dt){dt[this._visibleClass]=this.showPanel,dt[this._hiddenClass]=!this.showPanel}}return Et.\u0275fac=function(dt){return new(dt||Et)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(U),u.\u0275\u0275directiveInject(h.t4))},Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et,viewQuery:function(dt,Ne){if(1&dt&&(u.\u0275\u0275viewQuery(u.TemplateRef,7),u.\u0275\u0275viewQuery(ue,5)),2&dt){let rt;u.\u0275\u0275queryRefresh(rt=u.\u0275\u0275loadQuery())&&(Ne.template=rt.first),u.\u0275\u0275queryRefresh(rt=u.\u0275\u0275loadQuery())&&(Ne.panel=rt.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[u.\u0275\u0275InheritDefinitionFeature]}),Et})(),Ce=(()=>{class Et extends le{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Et.\u0275fac=function(){let xt;return function(Ne){return(xt||(xt=u.\u0275\u0275getInheritedFactory(Et)))(Ne||Et)}}(),Et.\u0275cmp=u.\u0275\u0275defineComponent({type:Et,selectors:[["mat-autocomplete"]],contentQueries:function(dt,Ne,rt){if(1&dt&&(u.\u0275\u0275contentQuery(rt,c.MAT_OPTGROUP,5),u.\u0275\u0275contentQuery(rt,c.MatOption,5)),2&dt){let ze;u.\u0275\u0275queryRefresh(ze=u.\u0275\u0275loadQuery())&&(Ne.optionGroups=ze),u.\u0275\u0275queryRefresh(ze=u.\u0275\u0275loadQuery())&&(Ne.options=ze)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[u.\u0275\u0275ProvidersFeature([{provide:c.MAT_OPTION_PARENT_COMPONENT,useExisting:Et}]),u.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:xe,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(dt,Ne){1&dt&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275template(0,me,3,4,"ng-template"))},directives:[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}\n"],encapsulation:2,changeDetection:0}),Et})();const Te=new u.InjectionToken("mat-autocomplete-scroll-strategy");function Ke(Et){return()=>Et.scrollStrategies.reposition()}const tt={provide:Te,deps:[s.aV],useFactory:Ke},ot={provide:D.NG_VALUE_ACCESSOR,useExisting:(0,u.forwardRef)(()=>Ie),multi:!0};function mt(){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.")}let Dt=(()=>{class Et{constructor(dt,Ne,rt,ze,yt,gt,_e,Z,j,_,x){this._element=dt,this._overlay=Ne,this._viewContainerRef=rt,this._zone=ze,this._changeDetectorRef=yt,this._dir=_e,this._formField=Z,this._document=j,this._viewportRuler=_,this._defaults=x,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=r.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new d.xQ,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,m.P)(()=>this.autocomplete&&this.autocomplete.options?(0,p.T)(...this.autocomplete.options.map(N=>N.onSelectionChange)):this._zone.onStable.pipe((0,Y.q)(1),(0,$.w)(()=>this.optionSelections))),this._scrollStrategy=gt}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(dt){this._autocompleteDisabled=(0,l.Ig)(dt)}ngAfterViewInit(){const dt=this._getWindow();void 0!==dt&&this._zone.runOutsideAngular(()=>dt.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(dt){dt.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const dt=this._getWindow();void 0!==dt&&dt.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,p.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,z.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,z.h)(()=>this._overlayAttached)):(0,y.of)()).pipe((0,G.U)(dt=>dt instanceof c.MatOptionSelectionChange?dt:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,p.T)((0,b.R)(this._document,"click"),(0,b.R)(this._document,"auxclick"),(0,b.R)(this._document,"touchend")).pipe((0,z.h)(dt=>{const Ne=(0,h.sA)(dt),rt=this._formField?this._formField._elementRef.nativeElement:null,ze=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&Ne!==this._element.nativeElement&&(!rt||!rt.contains(Ne))&&(!ze||!ze.contains(Ne))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(Ne)}))}writeValue(dt){Promise.resolve(null).then(()=>this._setTriggerValue(dt))}registerOnChange(dt){this._onChange=dt}registerOnTouched(dt){this._onTouched=dt}setDisabledState(dt){this._element.nativeElement.disabled=dt}_handleKeydown(dt){const Ne=dt.keyCode;if(Ne===P.hY&&!(0,P.Vb)(dt)&&dt.preventDefault(),this.activeOption&&Ne===P.K5&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),dt.preventDefault();else if(this.autocomplete){const rt=this.autocomplete._keyManager.activeItem,ze=Ne===P.LH||Ne===P.JH;this.panelOpen||Ne===P.Mf?this.autocomplete._keyManager.onKeydown(dt):ze&&this._canOpen()&&this.openPanel(),(ze||this.autocomplete._keyManager.activeItem!==rt)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(dt){let Ne=dt.target,rt=Ne.value;"number"===Ne.type&&(rt=""==rt?null:parseFloat(rt)),this._previousValue!==rt&&(this._previousValue=rt,this._onChange(rt),this._canOpen()&&this._document.activeElement===dt.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(dt=!1){this._formField&&"auto"===this._formField.floatLabel&&(dt?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const dt=this._zone.onStable.pipe((0,Y.q)(1)),Ne=this.autocomplete.options.changes.pipe((0,X.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Q.g)(0));return(0,p.T)(dt,Ne).pipe((0,$.w)(()=>{const rt=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),rt!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,Y.q)(1)).subscribe(rt=>this._setValueAndClose(rt))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(dt){const Ne=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(dt):dt,rt=null!=Ne?Ne:"";this._formField?this._formField._control.value=rt:this._element.nativeElement.value=rt,this._previousValue=rt}_setValueAndClose(dt){dt&&dt.source&&(this._clearPreviousSelectedOption(dt.source),this._setTriggerValue(dt.source.value),this._onChange(dt.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(dt.source)),this.closePanel()}_clearPreviousSelectedOption(dt){this.autocomplete.options.forEach(Ne=>{Ne!==dt&&Ne.selected&&Ne.deselect()})}_attachOverlay(){var dt;let Ne=this._overlayRef;Ne?(this._positionStrategy.setOrigin(this._getConnectedElement()),Ne.updateSize({width:this._getPanelWidth()})):(this._portal=new w.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(dt=this._formField)||void 0===dt?void 0:dt.getLabelId()}),Ne=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Ne,Ne.keydownEvents().subscribe(ze=>{(ze.keyCode===P.hY&&!(0,P.Vb)(ze)||ze.keyCode===P.LH&&(0,P.Vb)(ze,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),ze.stopPropagation(),ze.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Ne&&Ne.updateSize({width:this._getPanelWidth()})})),Ne&&!Ne.hasAttached()&&(Ne.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const rt=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&rt!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var dt;return new s.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(dt=this._defaults)||void 0===dt?void 0:dt.overlayPanelClass})}_getOverlayPosition(){const dt=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(dt),this._positionStrategy=dt,dt}_setStrategyPositions(dt){const Ne=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],rt=this._aboveClass,ze=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:rt},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:rt}];let yt;yt="above"===this.position?ze:"below"===this.position?Ne:[...Ne,...ze],dt.withPositions(yt)}_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 dt=this.autocomplete;dt.autoActiveFirstOption?dt._keyManager.setFirstItemActive():dt._keyManager.setActiveItem(-1)}_canOpen(){const dt=this._element.nativeElement;return!dt.readOnly&&!dt.disabled&&!this._autocompleteDisabled}_getWindow(){var dt;return(null===(dt=this._document)||void 0===dt?void 0:dt.defaultView)||window}_scrollToOption(dt){const Ne=this.autocomplete,rt=(0,c._countGroupLabelsBeforeOption)(dt,Ne.options,Ne.optionGroups);if(0===dt&&1===rt)Ne._setScrollTop(0);else if(Ne.panel){const ze=Ne.options.toArray()[dt];if(ze){const yt=ze._getHostElement(),gt=(0,c._getOptionScrollPosition)(yt.offsetTop,yt.offsetHeight,Ne._getScrollTop(),Ne.panel.nativeElement.offsetHeight);Ne._setScrollTop(gt)}}}}return Et.\u0275fac=function(dt){return new(dt||Et)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(s.aV),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(Te),u.\u0275\u0275directiveInject(q.Is,8),u.\u0275\u0275directiveInject(T.MAT_FORM_FIELD,9),u.\u0275\u0275directiveInject(g.DOCUMENT,8),u.\u0275\u0275directiveInject(C.rL),u.\u0275\u0275directiveInject(U,8))},Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[u.\u0275\u0275NgOnChangesFeature]}),Et})(),Ie=(()=>{class Et extends Dt{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Et.\u0275fac=function(){let xt;return function(Ne){return(xt||(xt=u.\u0275\u0275getInheritedFactory(Et)))(Ne||Et)}}(),Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(dt,Ne){1&dt&&u.\u0275\u0275listener("focusin",function(){return Ne._handleFocus()})("blur",function(){return Ne._onTouched()})("input",function(ze){return Ne._handleInput(ze)})("keydown",function(ze){return Ne._handleKeydown(ze)}),2&dt&&u.\u0275\u0275attribute("autocomplete",Ne.autocompleteAttribute)("role",Ne.autocompleteDisabled?null:"combobox")("aria-autocomplete",Ne.autocompleteDisabled?null:"list")("aria-activedescendant",Ne.panelOpen&&Ne.activeOption?Ne.activeOption.id:null)("aria-expanded",Ne.autocompleteDisabled?null:Ne.panelOpen.toString())("aria-owns",Ne.autocompleteDisabled||!Ne.panelOpen||null==Ne.autocomplete?null:Ne.autocomplete.id)("aria-haspopup",!Ne.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[u.\u0275\u0275ProvidersFeature([ot]),u.\u0275\u0275InheritDefinitionFeature]}),Et})(),Qe=(()=>{class Et{constructor(dt){this.elementRef=dt}}return Et.\u0275fac=function(dt){return new(dt||Et)(u.\u0275\u0275directiveInject(u.ElementRef))},Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et}),Et})(),ct=(()=>{class Et extends Qe{}return Et.\u0275fac=function(){let xt;return function(Ne){return(xt||(xt=u.\u0275\u0275getInheritedFactory(Et)))(Ne||Et)}}(),Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[u.\u0275\u0275InheritDefinitionFeature]}),Et})(),bt=(()=>{class Et{}return Et.\u0275fac=function(dt){return new(dt||Et)},Et.\u0275mod=u.\u0275\u0275defineNgModule({type:Et}),Et.\u0275inj=u.\u0275\u0275defineInjector({providers:[tt],imports:[[s.U8,c.MatOptionModule,c.MatCommonModule,g.CommonModule],C.ZD,c.MatOptionModule,c.MatCommonModule]}),Et})()},7423:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatAnchor:()=>g,MatButton:()=>h,MatButtonModule:()=>s});var n=o(5e3),l=o(508),u=o(6360),c=o(5664);const r=["mat-button",""],d=["*"],y=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],b=(0,l.mixinColor)((0,l.mixinDisabled)((0,l.mixinDisableRipple)(class{constructor(C){this._elementRef=C}})));let h=(()=>{class C extends b{constructor(w,D,T){super(w),this._focusMonitor=D,this._animationMode=T,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const Y of y)this._hasHostAttributes(Y)&&this._getHostElement().classList.add(Y);w.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(w,D){w?this._focusMonitor.focusVia(this._getHostElement(),w,D):this._getHostElement().focus(D)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...w){return w.some(D=>this._getHostElement().hasAttribute(D))}}return C.\u0275fac=function(w){return new(w||C)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(u.ANIMATION_MODULE_TYPE,8))},C.\u0275cmp=n.\u0275\u0275defineComponent({type:C,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(w,D){if(1&w&&n.\u0275\u0275viewQuery(l.MatRipple,5),2&w){let T;n.\u0275\u0275queryRefresh(T=n.\u0275\u0275loadQuery())&&(D.ripple=T.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(w,D){2&w&&(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:r,ngContentSelectors:d,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(w,D){1&w&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1),n.\u0275\u0275element(3,"span",2)),2&w&&(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()))},directives:[l.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-raised-button{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-fab{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-mini-fab{transition:none;animation:none}.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}.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}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),C})(),g=(()=>{class C extends h{constructor(w,D,T){super(D,w,T)}_haltDisabledEvents(w){this.disabled&&(w.preventDefault(),w.stopImmediatePropagation())}}return C.\u0275fac=function(w){return new(w||C)(n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u.ANIMATION_MODULE_TYPE,8))},C.\u0275cmp=n.\u0275\u0275defineComponent({type:C,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(w,D){1&w&&n.\u0275\u0275listener("click",function(Y){return D._haltDisabledEvents(Y)}),2&w&&(n.\u0275\u0275attribute("tabindex",D.disabled?-1:D.tabIndex||0)("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:r,ngContentSelectors:d,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(w,D){1&w&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1),n.\u0275\u0275element(3,"span",2)),2&w&&(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()))},directives:[l.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-raised-button{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-fab{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-mini-fab{transition:none;animation:none}.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}.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}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),C})(),s=(()=>{class C{}return C.\u0275fac=function(w){return new(w||C)},C.\u0275mod=n.\u0275\u0275defineNgModule({type:C}),C.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.MatRippleModule,l.MatCommonModule],l.MatCommonModule]}),C})()},9224:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatCard:()=>z,MatCardActions:()=>s,MatCardAvatar:()=>$,MatCardContent:()=>b,MatCardFooter:()=>C,MatCardHeader:()=>G,MatCardImage:()=>P,MatCardLgImage:()=>T,MatCardMdImage:()=>D,MatCardModule:()=>Q,MatCardSmImage:()=>w,MatCardSubtitle:()=>g,MatCardTitle:()=>h,MatCardTitleGroup:()=>X,MatCardXlImage:()=>Y});var n=o(5e3),l=o(6360),u=o(508);const c=["*",[["mat-card-footer"]]],r=["*","mat-card-footer"],d=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],m=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],p=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["img"]],"*"],y=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","img","*"];let b=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),q})(),h=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),q})(),g=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),q})(),s=(()=>{class q{constructor(){this.align="start"}}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(me,xe){2&me&&n.\u0275\u0275classProp("mat-card-actions-align-end","end"===xe.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),q})(),C=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-card-footer"]}),q})(),P=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),q})(),w=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-card-sm-image"]}),q})(),D=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-card-md-image"]}),q})(),T=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-card-lg-image"]}),q})(),Y=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-card-xl-image"]}),q})(),$=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),q})(),z=(()=>{class q{constructor(me){this._animationMode=me}}return q.\u0275fac=function(me){return new(me||q)(n.\u0275\u0275directiveInject(l.ANIMATION_MODULE_TYPE,8))},q.\u0275cmp=n.\u0275\u0275defineComponent({type:q,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(me,xe){2&me&&n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===xe._animationMode)},exportAs:["matCard"],ngContentSelectors:r,decls:2,vars:0,template:function(me,xe){1&me&&(n.\u0275\u0275projectionDef(c),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-animation-noopable.mat-card{transition:none;animation:none}.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}.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}\n"],encapsulation:2,changeDetection:0}),q})(),G=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275cmp=n.\u0275\u0275defineComponent({type:q,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:m,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(me,xe){1&me&&(n.\u0275\u0275projectionDef(d),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}),q})(),X=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275cmp=n.\u0275\u0275defineComponent({type:q,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-card-title-group"],ngContentSelectors:y,decls:4,vars:0,template:function(me,xe){1&me&&(n.\u0275\u0275projectionDef(p),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}),q})(),Q=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275mod=n.\u0275\u0275defineNgModule({type:q}),q.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.MatCommonModule],u.MatCommonModule]}),q})()},7446:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR:()=>P,MAT_CHECKBOX_DEFAULT_OPTIONS:()=>h,MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY:()=>g,MAT_CHECKBOX_REQUIRED_VALIDATOR:()=>Y,MatCheckbox:()=>T,MatCheckboxChange:()=>w,MatCheckboxModule:()=>G,MatCheckboxRequiredValidator:()=>$,_MatCheckboxRequiredValidatorModule:()=>z});var n=o(3191),l=o(5e3),u=o(3075),c=o(508),r=o(6360),d=o(5664),m=o(7144);const p=["input"],y=function(X){return{enterDuration:X}},b=["*"],h=new l.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:g});function g(){return{color:"accent",clickAction:"check-indeterminate"}}let s=0;const C=g(),P={provide:u.NG_VALUE_ACCESSOR,useExisting:(0,l.forwardRef)(()=>T),multi:!0};class w{}const D=(0,c.mixinTabIndex)((0,c.mixinColor)((0,c.mixinDisableRipple)((0,c.mixinDisabled)(class{constructor(X){this._elementRef=X}}))));let T=(()=>{class X extends D{constructor(q,ue,me,xe,pe,oe,ae){super(q),this._changeDetectorRef=ue,this._focusMonitor=me,this._ngZone=xe,this._animationMode=oe,this._options=ae,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++s,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new l.EventEmitter,this.indeterminateChange=new l.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||C,this.color=this.defaultColor=this._options.color||C.color,this.tabIndex=parseInt(pe)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(q){this._required=(0,n.Ig)(q)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(q=>{q||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(q){q!=this.checked&&(this._checked=q,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(q){const ue=(0,n.Ig)(q);ue!==this.disabled&&(this._disabled=ue,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(q){const ue=q!=this._indeterminate;this._indeterminate=(0,n.Ig)(q),ue&&(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(q){this.checked=!!q}registerOnChange(q){this._controlValueAccessorChangeFn=q}registerOnTouched(q){this._onTouched=q}setDisabledState(q){this.disabled=q}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(q){let ue=this._currentCheckState,me=this._elementRef.nativeElement;if(ue!==q&&(this._currentAnimationClass.length>0&&me.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ue,q),this._currentCheckState=q,this._currentAnimationClass.length>0)){me.classList.add(this._currentAnimationClass);const xe=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{me.classList.remove(xe)},1e3)})}}_emitChangeEvent(){const q=new w;q.source=this,q.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(q),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(q){var ue;const me=null===(ue=this._options)||void 0===ue?void 0:ue.clickAction;q.stopPropagation(),this.disabled||"noop"===me?!this.disabled&&"noop"===me&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==me&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(q,ue){q?this._focusMonitor.focusVia(this._inputElement,q,ue):this._inputElement.nativeElement.focus(ue)}_onInteractionEvent(q){q.stopPropagation()}_getAnimationClassForCheckStateTransition(q,ue){if("NoopAnimations"===this._animationMode)return"";let me="";switch(q){case 0:if(1===ue)me="unchecked-checked";else{if(3!=ue)return"";me="unchecked-indeterminate"}break;case 2:me=1===ue?"unchecked-checked":"unchecked-indeterminate";break;case 1:me=2===ue?"checked-unchecked":"checked-indeterminate";break;case 3:me=1===ue?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${me}`}_syncIndeterminate(q){const ue=this._inputElement;ue&&(ue.nativeElement.indeterminate=q)}}return X.\u0275fac=function(q){return new(q||X)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(d.tE),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275injectAttribute("tabindex"),l.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8),l.\u0275\u0275directiveInject(h,8))},X.\u0275cmp=l.\u0275\u0275defineComponent({type:X,selectors:[["mat-checkbox"]],viewQuery:function(q,ue){if(1&q&&(l.\u0275\u0275viewQuery(p,5),l.\u0275\u0275viewQuery(c.MatRipple,5)),2&q){let me;l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue._inputElement=me.first),l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue.ripple=me.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(q,ue){2&q&&(l.\u0275\u0275hostProperty("id",ue.id),l.\u0275\u0275attribute("tabindex",null),l.\u0275\u0275classProp("mat-checkbox-indeterminate",ue.indeterminate)("mat-checkbox-checked",ue.checked)("mat-checkbox-disabled",ue.disabled)("mat-checkbox-label-before","before"==ue.labelPosition)("_mat-animation-noopable","NoopAnimations"===ue._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",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"},exportAs:["matCheckbox"],features:[l.\u0275\u0275ProvidersFeature([P]),l.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:b,decls:17,vars:21,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",0,"xml","space","preserve","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(q,ue){if(1&q&&(l.\u0275\u0275projectionDef(),l.\u0275\u0275elementStart(0,"label",0,1),l.\u0275\u0275elementStart(2,"span",2),l.\u0275\u0275elementStart(3,"input",3,4),l.\u0275\u0275listener("change",function(xe){return ue._onInteractionEvent(xe)})("click",function(xe){return ue._onInputClick(xe)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(5,"span",5),l.\u0275\u0275element(6,"span",6),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(7,"span",7),l.\u0275\u0275elementStart(8,"span",8),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(9,"svg",9),l.\u0275\u0275element(10,"path",10),l.\u0275\u0275elementEnd(),l.\u0275\u0275namespaceHTML(),l.\u0275\u0275element(11,"span",11),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(12,"span",12,13),l.\u0275\u0275listener("cdkObserveContent",function(){return ue._onLabelTextChange()}),l.\u0275\u0275elementStart(14,"span",14),l.\u0275\u0275text(15,"\xa0"),l.\u0275\u0275elementEnd(),l.\u0275\u0275projection(16),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&q){const me=l.\u0275\u0275reference(1),xe=l.\u0275\u0275reference(13);l.\u0275\u0275attribute("for",ue.inputId),l.\u0275\u0275advance(2),l.\u0275\u0275classProp("mat-checkbox-inner-container-no-side-margin",!xe.textContent||!xe.textContent.trim()),l.\u0275\u0275advance(1),l.\u0275\u0275property("id",ue.inputId)("required",ue.required)("checked",ue.checked)("disabled",ue.disabled)("tabIndex",ue.tabIndex),l.\u0275\u0275attribute("value",ue.value)("name",ue.name)("aria-label",ue.ariaLabel||null)("aria-labelledby",ue.ariaLabelledby)("aria-checked",ue._getAriaChecked())("aria-describedby",ue.ariaDescribedby),l.\u0275\u0275advance(2),l.\u0275\u0275property("matRippleTrigger",me)("matRippleDisabled",ue._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",l.\u0275\u0275pureFunction1(19,y,"NoopAnimations"===ue._animationMode?0:150))}},directives:[c.MatRipple,m.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:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.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}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-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;-moz-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:transparent;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:transparent}.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%}\n"],encapsulation:2,changeDetection:0}),X})();const Y={provide:u.NG_VALIDATORS,useExisting:(0,l.forwardRef)(()=>$),multi:!0};let $=(()=>{class X extends u.CheckboxRequiredValidator{}return X.\u0275fac=function(){let Q;return function(ue){return(Q||(Q=l.\u0275\u0275getInheritedFactory(X)))(ue||X)}}(),X.\u0275dir=l.\u0275\u0275defineDirective({type:X,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[l.\u0275\u0275ProvidersFeature([Y]),l.\u0275\u0275InheritDefinitionFeature]}),X})(),z=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=l.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=l.\u0275\u0275defineInjector({}),X})(),G=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=l.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=l.\u0275\u0275defineInjector({imports:[[c.MatRippleModule,c.MatCommonModule,m.Q8,z],c.MatCommonModule,z]}),X})()},508:(he,A,o)=>{"use strict";o.r(A),o.d(A,{AnimationCurves:()=>Y,AnimationDurations:()=>$,DateAdapter:()=>Te,ErrorStateMatcher:()=>bt,MATERIAL_SANITY_CHECKS:()=>X,MAT_DATE_FORMATS:()=>Ke,MAT_DATE_LOCALE:()=>le,MAT_DATE_LOCALE_FACTORY:()=>Ce,MAT_NATIVE_DATE_FORMATS:()=>Dt,MAT_OPTGROUP:()=>pt,MAT_OPTION_PARENT_COMPONENT:()=>Ae,MAT_RIPPLE_GLOBAL_OPTIONS:()=>N,MatCommonModule:()=>Q,MatLine:()=>Et,MatLineModule:()=>Ne,MatNativeDateModule:()=>Qe,MatOptgroup:()=>Pt,MatOption:()=>Ge,MatOptionModule:()=>Ft,MatOptionSelectionChange:()=>_t,MatPseudoCheckbox:()=>Oe,MatPseudoCheckboxModule:()=>ve,MatRipple:()=>ce,MatRippleModule:()=>Ue,NativeDateAdapter:()=>mt,NativeDateModule:()=>Ie,RippleRef:()=>rt,RippleRenderer:()=>j,ShowOnDirtyErrorStateMatcher:()=>ct,VERSION:()=>T,_MatOptgroupBase:()=>kt,_MatOptionBase:()=>Mt,_countGroupLabelsBeforeOption:()=>lt,_getOptionScrollPosition:()=>Ot,defaultRippleAnimationConfig:()=>ze,mixinColor:()=>pe,mixinDisableRipple:()=>oe,mixinDisabled:()=>xe,mixinErrorState:()=>U,mixinInitialized:()=>ie,mixinTabIndex:()=>ae,setLines:()=>xt});var n=o(5e3),l=o(226),c=o(9808),r=o(925),d=o(5664),m=o(3191),p=o(8929),y=o(6498),b=o(1059),h=o(6360),g=o(1159);const s=["*",[["mat-option"],["ng-container"]]],C=["*","mat-option, ng-container"];function P(Pe,Ee){if(1&Pe&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",4),2&Pe){const B=n.\u0275\u0275nextContext();n.\u0275\u0275property("state",B.selected?"checked":"unchecked")("disabled",B.disabled)}}function w(Pe,Ee){if(1&Pe&&(n.\u0275\u0275elementStart(0,"span",5),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Pe){const B=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",B.group.label,")")}}const D=["*"],T=new n.Version("13.1.1");let Y=(()=>{class Pe{}return Pe.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",Pe.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",Pe.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",Pe.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",Pe})(),$=(()=>{class Pe{}return Pe.COMPLEX="375ms",Pe.ENTERING="225ms",Pe.EXITING="195ms",Pe})();const X=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Q=(()=>{class Pe{constructor(B,V,be){this._sanityChecks=V,this._document=be,this._hasDoneGlobalChecks=!1,B._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(B){return!(0,r.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[B])}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275inject(d.qm),n.\u0275\u0275inject(X,8),n.\u0275\u0275inject(c.DOCUMENT))},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.vT],l.vT]}),Pe})();function xe(Pe){return class extends Pe{constructor(...Ee){super(...Ee),this._disabled=!1}get disabled(){return this._disabled}set disabled(Ee){this._disabled=(0,m.Ig)(Ee)}}}function pe(Pe,Ee){return class extends Pe{constructor(...B){super(...B),this.defaultColor=Ee,this.color=Ee}get color(){return this._color}set color(B){const V=B||this.defaultColor;V!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),V&&this._elementRef.nativeElement.classList.add(`mat-${V}`),this._color=V)}}}function oe(Pe){return class extends Pe{constructor(...Ee){super(...Ee),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ee){this._disableRipple=(0,m.Ig)(Ee)}}}function ae(Pe,Ee=0){return class extends Pe{constructor(...B){super(...B),this._tabIndex=Ee,this.defaultTabIndex=Ee}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(B){this._tabIndex=null!=B?(0,m.su)(B):this.defaultTabIndex}}}function U(Pe){return class extends Pe{constructor(...Ee){super(...Ee),this.stateChanges=new p.xQ,this.errorState=!1}updateErrorState(){const Ee=this.errorState,je=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);je!==Ee&&(this.errorState=je,this.stateChanges.next())}}}function ie(Pe){return class extends Pe{constructor(...Ee){super(...Ee),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new y.y(B=>{this._isInitialized?this._notifySubscriber(B):this._pendingSubscribers.push(B)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Ee){Ee.next(),Ee.complete()}}}const le=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:Ce});function Ce(){return(0,n.inject)(n.LOCALE_ID)}class Te{constructor(){this._localeChanges=new p.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(Ee){return this.isDateInstance(Ee)&&this.isValid(Ee)?Ee:null}deserialize(Ee){return null==Ee||this.isDateInstance(Ee)&&this.isValid(Ee)?Ee:this.invalid()}setLocale(Ee){this.locale=Ee,this._localeChanges.next()}compareDate(Ee,B){return this.getYear(Ee)-this.getYear(B)||this.getMonth(Ee)-this.getMonth(B)||this.getDate(Ee)-this.getDate(B)}sameDate(Ee,B){if(Ee&&B){let V=this.isValid(Ee),be=this.isValid(B);return V&&be?!this.compareDate(Ee,B):V==be}return Ee==B}clampDate(Ee,B,V){return B&&this.compareDate(Ee,B)<0?B:V&&this.compareDate(Ee,V)>0?V:Ee}}const Ke=new n.InjectionToken("mat-date-formats"),tt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ot(Pe,Ee){const B=Array(Pe);for(let V=0;V{class Pe extends Te{constructor(B,V){super(),this.useUtcForDisplay=!1,super.setLocale(B)}getYear(B){return B.getFullYear()}getMonth(B){return B.getMonth()}getDate(B){return B.getDate()}getDayOfWeek(B){return B.getDay()}getMonthNames(B){const V=new Intl.DateTimeFormat(this.locale,{month:B,timeZone:"utc"});return ot(12,be=>this._format(V,new Date(2017,be,1)))}getDateNames(){const B=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ot(31,V=>this._format(B,new Date(2017,0,V+1)))}getDayOfWeekNames(B){const V=new Intl.DateTimeFormat(this.locale,{weekday:B,timeZone:"utc"});return ot(7,be=>this._format(V,new Date(2017,0,be+1)))}getYearName(B){const V=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(V,B)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(B){return this.getDate(this._createDateWithOverflow(this.getYear(B),this.getMonth(B)+1,0))}clone(B){return new Date(B.getTime())}createDate(B,V,be){let je=this._createDateWithOverflow(B,V,be);return je.getMonth(),je}today(){return new Date}parse(B){return"number"==typeof B?new Date(B):B?new Date(Date.parse(B)):null}format(B,V){if(!this.isValid(B))throw Error("NativeDateAdapter: Cannot format invalid date.");const be=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},V),{timeZone:"utc"}));return this._format(be,B)}addCalendarYears(B,V){return this.addCalendarMonths(B,12*V)}addCalendarMonths(B,V){let be=this._createDateWithOverflow(this.getYear(B),this.getMonth(B)+V,this.getDate(B));return this.getMonth(be)!=((this.getMonth(B)+V)%12+12)%12&&(be=this._createDateWithOverflow(this.getYear(be),this.getMonth(be),0)),be}addCalendarDays(B,V){return this._createDateWithOverflow(this.getYear(B),this.getMonth(B),this.getDate(B)+V)}toIso8601(B){return[B.getUTCFullYear(),this._2digit(B.getUTCMonth()+1),this._2digit(B.getUTCDate())].join("-")}deserialize(B){if("string"==typeof B){if(!B)return null;if(tt.test(B)){let V=new Date(B);if(this.isValid(V))return V}}return super.deserialize(B)}isDateInstance(B){return B instanceof Date}isValid(B){return!isNaN(B.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(B,V,be){const je=new Date;return je.setFullYear(B,V,be),je.setHours(0,0,0,0),je}_2digit(B){return("00"+B).slice(-2)}_format(B,V){const be=new Date;return be.setUTCFullYear(V.getFullYear(),V.getMonth(),V.getDate()),be.setUTCHours(V.getHours(),V.getMinutes(),V.getSeconds(),V.getMilliseconds()),B.format(be)}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275inject(le,8),n.\u0275\u0275inject(r.t4))},Pe.\u0275prov=n.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();const Dt={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 Ie=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:Te,useClass:mt}],imports:[[r.ud]]}),Pe})(),Qe=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:Ke,useValue:Dt}],imports:[[Ie]]}),Pe})(),ct=(()=>{class Pe{isErrorState(B,V){return!!(B&&B.invalid&&(B.dirty||V&&V.submitted))}}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275prov=n.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})(),bt=(()=>{class Pe{isErrorState(B,V){return!!(B&&B.invalid&&(B.touched||V&&V.submitted))}}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275prov=n.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})(),Et=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275dir=n.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Pe})();function xt(Pe,Ee,B="mat"){Pe.changes.pipe((0,b.O)(Pe)).subscribe(({length:V})=>{dt(Ee,`${B}-2-line`,!1),dt(Ee,`${B}-3-line`,!1),dt(Ee,`${B}-multi-line`,!1),2===V||3===V?dt(Ee,`${B}-${V}-line`,!0):V>3&&dt(Ee,`${B}-multi-line`,!0)})}function dt(Pe,Ee,B){Pe.nativeElement.classList.toggle(Ee,B)}let Ne=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Q],Q]}),Pe})();class rt{constructor(Ee,B,V){this._renderer=Ee,this.element=B,this.config=V,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ze={enterDuration:225,exitDuration:150},gt=(0,r.i$)({passive:!0}),_e=["mousedown","touchstart"],Z=["mouseup","mouseleave","touchend","touchcancel"];class j{constructor(Ee,B,V,be){this._target=Ee,this._ngZone=B,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,be.isBrowser&&(this._containerElement=(0,m.fI)(V))}fadeInRipple(Ee,B,V={}){const be=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),je=Object.assign(Object.assign({},ze),V.animation);V.centered&&(Ee=be.left+be.width/2,B=be.top+be.height/2);const Ct=V.radius||function(Pe,Ee,B){const V=Math.max(Math.abs(Pe-B.left),Math.abs(Pe-B.right)),be=Math.max(Math.abs(Ee-B.top),Math.abs(Ee-B.bottom));return Math.sqrt(V*V+be*be)}(Ee,B,be),Ht=Ee-be.left,$t=B-be.top,vn=je.enterDuration,it=document.createElement("div");it.classList.add("mat-ripple-element"),it.style.left=Ht-Ct+"px",it.style.top=$t-Ct+"px",it.style.height=2*Ct+"px",it.style.width=2*Ct+"px",null!=V.color&&(it.style.backgroundColor=V.color),it.style.transitionDuration=`${vn}ms`,this._containerElement.appendChild(it),window.getComputedStyle(it).getPropertyValue("opacity"),it.style.transform="scale(1)";const st=new rt(this,it,V);return st.state=0,this._activeRipples.add(st),V.persistent||(this._mostRecentTransientRipple=st),this._runTimeoutOutsideZone(()=>{const Ve=st===this._mostRecentTransientRipple;st.state=1,!V.persistent&&(!Ve||!this._isPointerDown)&&st.fadeOut()},vn),st}fadeOutRipple(Ee){const B=this._activeRipples.delete(Ee);if(Ee===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!B)return;const V=Ee.element,be=Object.assign(Object.assign({},ze),Ee.config.animation);V.style.transitionDuration=`${be.exitDuration}ms`,V.style.opacity="0",Ee.state=2,this._runTimeoutOutsideZone(()=>{Ee.state=3,V.remove()},be.exitDuration)}fadeOutAll(){this._activeRipples.forEach(Ee=>Ee.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(Ee=>{Ee.config.persistent||Ee.fadeOut()})}setupTriggerEvents(Ee){const B=(0,m.fI)(Ee);!B||B===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=B,this._registerEvents(_e))}handleEvent(Ee){"mousedown"===Ee.type?this._onMousedown(Ee):"touchstart"===Ee.type?this._onTouchStart(Ee):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Z),this._pointerUpEventsRegistered=!0)}_onMousedown(Ee){const B=(0,d.X6)(Ee),V=this._lastTouchStartEvent&&Date.now(){!Ee.config.persistent&&(1===Ee.state||Ee.config.terminateOnPointerUp&&0===Ee.state)&&Ee.fadeOut()}))}_runTimeoutOutsideZone(Ee,B=0){this._ngZone.runOutsideAngular(()=>setTimeout(Ee,B))}_registerEvents(Ee){this._ngZone.runOutsideAngular(()=>{Ee.forEach(B=>{this._triggerElement.addEventListener(B,this,gt)})})}_removeTriggerEvents(){this._triggerElement&&(_e.forEach(Ee=>{this._triggerElement.removeEventListener(Ee,this,gt)}),this._pointerUpEventsRegistered&&Z.forEach(Ee=>{this._triggerElement.removeEventListener(Ee,this,gt)}))}}const N=new n.InjectionToken("mat-ripple-global-options");let ce=(()=>{class Pe{constructor(B,V,be,je,Ct){this._elementRef=B,this._animationMode=Ct,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=je||{},this._rippleRenderer=new j(this,V,B,be)}get disabled(){return this._disabled}set disabled(B){B&&this.fadeOutAllNonPersistent(),this._disabled=B,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(B){this._trigger=B,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},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(B,V=0,be){return"number"==typeof B?this._rippleRenderer.fadeInRipple(B,V,Object.assign(Object.assign({},this.rippleConfig),be)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),B))}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(N,8),n.\u0275\u0275directiveInject(h.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=n.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(B,V){2&B&&n.\u0275\u0275classProp("mat-ripple-unbounded",V.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"]}),Pe})(),Ue=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Q,r.ud],Q]}),Pe})(),Oe=(()=>{class Pe{constructor(B){this._animationMode=B,this.state="unchecked",this.disabled=!1}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275directiveInject(h.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=n.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(B,V){2&B&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===V.state)("mat-pseudo-checkbox-checked","checked"===V.state)("mat-pseudo-checkbox-disabled",V.disabled)("_mat-animation-noopable","NoopAnimations"===V._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(B,V){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;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-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),Pe})(),ve=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Q]]}),Pe})();const Ae=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),nt=xe(class{});let Rt=0,kt=(()=>{class Pe extends nt{constructor(B){var V;super(),this._labelId="mat-optgroup-label-"+Rt++,this._inert=null!==(V=null==B?void 0:B.inertGroups)&&void 0!==V&&V}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275directiveInject(Ae,8))},Pe.\u0275dir=n.\u0275\u0275defineDirective({type:Pe,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),Pe})();const pt=new n.InjectionToken("MatOptgroup");let Pt=(()=>{class Pe extends kt{}return Pe.\u0275fac=function(){let Ee;return function(V){return(Ee||(Ee=n.\u0275\u0275getInheritedFactory(Pe)))(V||Pe)}}(),Pe.\u0275cmp=n.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(B,V){2&B&&(n.\u0275\u0275attribute("role",V._inert?null:"group")("aria-disabled",V._inert?null:V.disabled.toString())("aria-labelledby",V._inert?null:V._labelId),n.\u0275\u0275classProp("mat-optgroup-disabled",V.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:pt,useExisting:Pe}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:C,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(B,V){1&B&&(n.\u0275\u0275projectionDef(s),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275text(1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,1)),2&B&&(n.\u0275\u0275property("id",V._labelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("",V.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;-moz-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}\n"],encapsulation:2,changeDetection:0}),Pe})(),$e=0;class _t{constructor(Ee,B=!1){this.source=Ee,this.isUserInput=B}}let Mt=(()=>{class Pe{constructor(B,V,be,je){this._element=B,this._changeDetectorRef=V,this._parent=be,this.group=je,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+$e++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new p.xQ}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(B){this._disabled=(0,m.Ig)(B)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(B,V){const be=this._getHostElement();"function"==typeof be.focus&&be.focus(V)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(B){(B.keyCode===g.K5||B.keyCode===g.L_)&&!(0,g.Vb)(B)&&(this._selectViaInteraction(),B.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const B=this.viewValue;B!==this._mostRecentViewValue&&(this._mostRecentViewValue=B,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(B=!1){this.onSelectionChange.emit(new _t(this,B))}}return Pe.\u0275fac=function(B){n.\u0275\u0275invalidFactory()},Pe.\u0275dir=n.\u0275\u0275defineDirective({type:Pe,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Pe})(),Ge=(()=>{class Pe extends Mt{constructor(B,V,be,je){super(B,V,be,je)}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Ae,8),n.\u0275\u0275directiveInject(pt,8))},Pe.\u0275cmp=n.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(B,V){1&B&&n.\u0275\u0275listener("click",function(){return V._selectViaInteraction()})("keydown",function(je){return V._handleKeydown(je)}),2&B&&(n.\u0275\u0275hostProperty("id",V.id),n.\u0275\u0275attribute("tabindex",V._getTabIndex())("aria-selected",V._getAriaSelected())("aria-disabled",V.disabled.toString()),n.\u0275\u0275classProp("mat-selected",V.selected)("mat-option-multiple",V.multiple)("mat-active",V.active)("mat-option-disabled",V.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:D,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-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(B,V){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,P,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(3,w,2,1,"span",2),n.\u0275\u0275element(4,"div",3)),2&B&&(n.\u0275\u0275property("ngIf",V.multiple),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",V.group&&V.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",V._getHostElement())("matRippleDisabled",V.disabled||V.disableRipple))},directives:[c.NgIf,ce,Oe],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:transparent}.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;-moz-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}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.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}\n"],encapsulation:2,changeDetection:0}),Pe})();function lt(Pe,Ee,B){if(B.length){let V=Ee.toArray(),be=B.toArray(),je=0;for(let Ct=0;CtB+V?Math.max(0,Pe-V+Ee):B}let Ft=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Ue,c.CommonModule,Q,ve]]}),Pe})()},6856:(he,A,o)=>{"use strict";o.r(A),o.d(A,{DateRange:()=>rt,DefaultMatCalendarRangeStrategy:()=>N,MAT_DATEPICKER_SCROLL_STRATEGY:()=>Ee,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY:()=>B,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>V,MAT_DATEPICKER_VALIDATORS:()=>Ve,MAT_DATEPICKER_VALUE_ACCESSOR:()=>st,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>x,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>j,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>_,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>_e,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>Z,MatCalendar:()=>Ot,MatCalendarBody:()=>bt,MatCalendarCell:()=>ct,MatCalendarHeader:()=>lt,MatDateRangeInput:()=>Jn,MatDateRangePicker:()=>Ln,MatDateSelectionModel:()=>ze,MatDatepicker:()=>Ht,MatDatepickerActions:()=>Se,MatDatepickerApply:()=>ri,MatDatepickerCancel:()=>jn,MatDatepickerContent:()=>je,MatDatepickerInput:()=>ut,MatDatepickerInputEvent:()=>$t,MatDatepickerIntl:()=>Mt,MatDatepickerModule:()=>Xe,MatDatepickerToggle:()=>Xt,MatDatepickerToggleIcon:()=>At,MatEndDate:()=>ti,MatMonthView:()=>ve,MatMultiYearView:()=>Rt,MatRangeDateSelectionModel:()=>gt,MatSingleDateSelectionModel:()=>yt,MatStartDate:()=>li,MatYearView:()=>_t,matDatepickerAnimations:()=>Ft,yearsPerPage:()=>Ae,yearsPerRow:()=>nt});var n=o(5664),l=o(1314),u=o(7429),c=o(9808),r=o(5e3),d=o(7423),m=o(9071),p=o(508),y=o(8929),b=o(2654),h=o(6787),g=o(1086),s=o(1159),C=o(2986),P=o(1059),w=o(2198),D=o(226),T=o(3191),Y=o(925),$=o(1777),z=o(3075),G=o(7322),X=o(7531);const Q=["mat-calendar-body",""];function q(J,Re){if(1&J&&(r.\u0275\u0275elementStart(0,"tr",2),r.\u0275\u0275elementStart(1,"td",3),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&J){const S=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275styleProp("padding-top",S._cellPadding)("padding-bottom",S._cellPadding),r.\u0275\u0275attribute("colspan",S.numCols),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",S.label," ")}}function ue(J,Re){if(1&J&&(r.\u0275\u0275elementStart(0,"td",3),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&J){const S=r.\u0275\u0275nextContext(2);r.\u0275\u0275styleProp("padding-top",S._cellPadding)("padding-bottom",S._cellPadding),r.\u0275\u0275attribute("colspan",S._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",S._firstRowOffset>=S.labelMinRequiredCells?S.label:""," ")}}function me(J,Re){if(1&J){const S=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",7),r.\u0275\u0275listener("click",function(ke){const Nt=r.\u0275\u0275restoreView(S).$implicit;return r.\u0275\u0275nextContext(2)._cellClicked(Nt,ke)}),r.\u0275\u0275elementStart(1,"div",8),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(3,"div",9),r.\u0275\u0275elementEnd()}if(2&J){const S=Re.$implicit,te=Re.index,ke=r.\u0275\u0275nextContext().index,Ye=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("width",Ye._cellWidth)("padding-top",Ye._cellPadding)("padding-bottom",Ye._cellPadding),r.\u0275\u0275classProp("mat-calendar-body-disabled",!S.enabled)("mat-calendar-body-active",Ye._isActiveCell(ke,te))("mat-calendar-body-range-start",Ye._isRangeStart(S.compareValue))("mat-calendar-body-range-end",Ye._isRangeEnd(S.compareValue))("mat-calendar-body-in-range",Ye._isInRange(S.compareValue))("mat-calendar-body-comparison-bridge-start",Ye._isComparisonBridgeStart(S.compareValue,ke,te))("mat-calendar-body-comparison-bridge-end",Ye._isComparisonBridgeEnd(S.compareValue,ke,te))("mat-calendar-body-comparison-start",Ye._isComparisonStart(S.compareValue))("mat-calendar-body-comparison-end",Ye._isComparisonEnd(S.compareValue))("mat-calendar-body-in-comparison-range",Ye._isInComparisonRange(S.compareValue))("mat-calendar-body-preview-start",Ye._isPreviewStart(S.compareValue))("mat-calendar-body-preview-end",Ye._isPreviewEnd(S.compareValue))("mat-calendar-body-in-preview",Ye._isInPreview(S.compareValue)),r.\u0275\u0275property("ngClass",S.cssClasses)("tabindex",Ye._isActiveCell(ke,te)?0:-1),r.\u0275\u0275attribute("data-mat-row",ke)("data-mat-col",te)("aria-label",S.ariaLabel)("aria-disabled",!S.enabled||null)("aria-selected",Ye._isSelected(S.compareValue))("aria-current",Ye.todayValue===S.compareValue?"date":null),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-selected",Ye._isSelected(S.compareValue))("mat-calendar-body-comparison-identical",Ye._isComparisonIdentical(S.compareValue))("mat-calendar-body-today",Ye.todayValue===S.compareValue),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",S.displayValue," ")}}function xe(J,Re){if(1&J&&(r.\u0275\u0275elementStart(0,"tr",4),r.\u0275\u0275template(1,ue,2,6,"td",5),r.\u0275\u0275template(2,me,4,47,"td",6),r.\u0275\u0275elementEnd()),2&J){const S=Re.$implicit,te=Re.index,ke=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",0===te&&ke._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",S)}}function pe(J,Re){if(1&J&&(r.\u0275\u0275elementStart(0,"th",5),r.\u0275\u0275elementStart(1,"abbr",6),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&J){const S=Re.$implicit;r.\u0275\u0275attribute("aria-label",S.long),r.\u0275\u0275advance(1),r.\u0275\u0275attribute("title",S.long),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(S.narrow)}}const oe=["*"];function ae(J,Re){}function U(J,Re){if(1&J){const S=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-month-view",5),r.\u0275\u0275listener("activeDateChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext().activeDate=ke})("_userSelection",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._dateSelected(ke)}),r.\u0275\u0275elementEnd()}if(2&J){const S=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",S.activeDate)("selected",S.selected)("dateFilter",S.dateFilter)("maxDate",S.maxDate)("minDate",S.minDate)("dateClass",S.dateClass)("comparisonStart",S.comparisonStart)("comparisonEnd",S.comparisonEnd)}}function ie(J,Re){if(1&J){const S=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-year-view",6),r.\u0275\u0275listener("activeDateChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext().activeDate=ke})("monthSelected",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._monthSelectedInYearView(ke)})("selectedChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._goToDateInView(ke,"month")}),r.\u0275\u0275elementEnd()}if(2&J){const S=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",S.activeDate)("selected",S.selected)("dateFilter",S.dateFilter)("maxDate",S.maxDate)("minDate",S.minDate)("dateClass",S.dateClass)}}function le(J,Re){if(1&J){const S=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-multi-year-view",7),r.\u0275\u0275listener("activeDateChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext().activeDate=ke})("yearSelected",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._yearSelectedInMultiYearView(ke)})("selectedChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._goToDateInView(ke,"year")}),r.\u0275\u0275elementEnd()}if(2&J){const S=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",S.activeDate)("selected",S.selected)("dateFilter",S.dateFilter)("maxDate",S.maxDate)("minDate",S.minDate)("dateClass",S.dateClass)}}function Ce(J,Re){}const Te=["button"];function Ke(J,Re){1&J&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg",3),r.\u0275\u0275element(1,"path",4),r.\u0275\u0275elementEnd())}const tt=[[["","matDatepickerToggleIcon",""]]],ot=["[matDatepickerToggleIcon]"],mt=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Dt=["input[matStartDate]","input[matEndDate]"];function Ie(J,Re){1&J&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275projection(1),r.\u0275\u0275elementEnd())}class ct{constructor(Re,S,te,ke,Ye={},Nt=Re,It){this.value=Re,this.displayValue=S,this.ariaLabel=te,this.enabled=ke,this.cssClasses=Ye,this.compareValue=Nt,this.rawValue=It}}let bt=(()=>{class J{constructor(S,te){this._elementRef=S,this._ngZone=te,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._enterHandler=ke=>{if(this._skipNextFocus&&"focus"===ke.type)this._skipNextFocus=!1;else if(ke.target&&this.isRange){const Ye=this._getCellFromElement(ke.target);Ye&&this._ngZone.run(()=>this.previewChange.emit({value:Ye.enabled?Ye:null,event:ke}))}},this._leaveHandler=ke=>{null!==this.previewEnd&&this.isRange&&ke.target&&Et(ke.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:ke}))},te.runOutsideAngular(()=>{const ke=S.nativeElement;ke.addEventListener("mouseenter",this._enterHandler,!0),ke.addEventListener("focus",this._enterHandler,!0),ke.addEventListener("mouseleave",this._leaveHandler,!0),ke.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(S,te){S.enabled&&this.selectedValueChange.emit({value:S.value,event:te})}_isSelected(S){return this.startValue===S||this.endValue===S}ngOnChanges(S){const te=S.numCols,{rows:ke,numCols:Ye}=this;(S.rows||te)&&(this._firstRowOffset=ke&&ke.length&&ke[0].length?Ye-ke[0].length:0),(S.cellAspectRatio||te||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Ye+"%"),(te||!this._cellWidth)&&(this._cellWidth=100/Ye+"%")}ngOnDestroy(){const S=this._elementRef.nativeElement;S.removeEventListener("mouseenter",this._enterHandler,!0),S.removeEventListener("focus",this._enterHandler,!0),S.removeEventListener("mouseleave",this._leaveHandler,!0),S.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(S,te){let ke=S*this.numCols+te;return S&&(ke-=this._firstRowOffset),ke==this.activeCell}_focusActiveCell(S=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,C.q)(1)).subscribe(()=>{const te=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");te&&(S||(this._skipNextFocus=!0),te.focus())})})}_isRangeStart(S){return xt(S,this.startValue,this.endValue)}_isRangeEnd(S){return dt(S,this.startValue,this.endValue)}_isInRange(S){return Ne(S,this.startValue,this.endValue,this.isRange)}_isComparisonStart(S){return xt(S,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(S,te,ke){if(!this._isComparisonStart(S)||this._isRangeStart(S)||!this._isInRange(S))return!1;let Ye=this.rows[te][ke-1];if(!Ye){const Nt=this.rows[te-1];Ye=Nt&&Nt[Nt.length-1]}return Ye&&!this._isRangeEnd(Ye.compareValue)}_isComparisonBridgeEnd(S,te,ke){if(!this._isComparisonEnd(S)||this._isRangeEnd(S)||!this._isInRange(S))return!1;let Ye=this.rows[te][ke+1];if(!Ye){const Nt=this.rows[te+1];Ye=Nt&&Nt[0]}return Ye&&!this._isRangeStart(Ye.compareValue)}_isComparisonEnd(S){return dt(S,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(S){return Ne(S,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(S){return this.comparisonStart===this.comparisonEnd&&S===this.comparisonStart}_isPreviewStart(S){return xt(S,this.previewStart,this.previewEnd)}_isPreviewEnd(S){return dt(S,this.previewStart,this.previewEnd)}_isInPreview(S){return Ne(S,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(S){let te;if(Et(S)?te=S:Et(S.parentNode)&&(te=S.parentNode),te){const ke=te.getAttribute("data-mat-row"),Ye=te.getAttribute("data-mat-col");if(ke&&Ye)return this.rows[parseInt(ke)][parseInt(Ye)]}return null}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,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"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[r.\u0275\u0275NgOnChangesFeature],attrs:Q,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["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",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(S,te){1&S&&(r.\u0275\u0275template(0,q,3,6,"tr",0),r.\u0275\u0275template(1,xe,3,2,"tr",1)),2&S&&(r.\u0275\u0275property("ngIf",te._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],encapsulation:2,changeDetection:0}),J})();function Et(J){return"TD"===J.nodeName}function xt(J,Re,S){return null!==S&&Re!==S&&J=Re&&J===S}function Ne(J,Re,S,te){return te&&null!==Re&&null!==S&&Re!==S&&J>=Re&&J<=S}class rt{constructor(Re,S){this.start=Re,this.end=S}}let ze=(()=>{class J{constructor(S,te){this.selection=S,this._adapter=te,this._selectionChanged=new y.xQ,this.selectionChanged=this._selectionChanged,this.selection=S}updateSelection(S,te){const ke=this.selection;this.selection=S,this._selectionChanged.next({selection:S,source:te,oldValue:ke})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(S){return this._adapter.isDateInstance(S)&&this._adapter.isValid(S)}}return J.\u0275fac=function(S){r.\u0275\u0275invalidFactory()},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),yt=(()=>{class J extends ze{constructor(S){super(null,S)}add(S){super.updateSelection(S,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const S=new J(this._adapter);return S.updateSelection(this.selection,this),S}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275inject(p.DateAdapter))},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),gt=(()=>{class J extends ze{constructor(S){super(new rt(null,null),S)}add(S){let{start:te,end:ke}=this.selection;null==te?te=S:null==ke?ke=S:(te=S,ke=null),super.updateSelection(new rt(te,ke),this)}isValid(){const{start:S,end:te}=this.selection;return null==S&&null==te||(null!=S&&null!=te?this._isValidDateInstance(S)&&this._isValidDateInstance(te)&&this._adapter.compareDate(S,te)<=0:(null==S||this._isValidDateInstance(S))&&(null==te||this._isValidDateInstance(te)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const S=new J(this._adapter);return S.updateSelection(this.selection,this),S}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275inject(p.DateAdapter))},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})();function _e(J,Re){return J||new yt(Re)}const Z={provide:ze,deps:[[new r.Optional,new r.SkipSelf,ze],p.DateAdapter],useFactory:_e};function j(J,Re){return J||new gt(Re)}const _={provide:ze,deps:[[new r.Optional,new r.SkipSelf,ze],p.DateAdapter],useFactory:j},x=new r.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let N=(()=>{class J{constructor(S){this._dateAdapter=S}selectionFinished(S,te){let{start:ke,end:Ye}=te;return null==ke?ke=S:null==Ye&&S&&this._dateAdapter.compareDate(S,ke)>=0?Ye=S:(ke=S,Ye=null),new rt(ke,Ye)}createPreview(S,te){let ke=null,Ye=null;return te.start&&!te.end&&S&&(ke=te.start,Ye=S),new rt(ke,Ye)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275inject(p.DateAdapter))},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})();const Ue={provide:x,deps:[[new r.Optional,new r.SkipSelf,x],p.DateAdapter],useFactory:function(J,Re){return J||new N(Re)}};let ve=(()=>{class J{constructor(S,te,ke,Ye,Nt){this._changeDetectorRef=S,this._dateFormats=te,this._dateAdapter=ke,this._dir=Ye,this._rangeStrategy=Nt,this._rerenderSubscription=b.w.EMPTY,this.selectedChange=new r.EventEmitter,this._userSelection=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(S){const te=this._activeDate,ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ke,this.minDate,this.maxDate),this._hasSameMonthAndYear(te,this._activeDate)||this._init()}get selected(){return this._selected}set selected(S){this._selected=S instanceof rt?S:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(S){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get maxDate(){return this._maxDate}set maxDate(S){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,P.O)(null)).subscribe(()=>this._init())}ngOnChanges(S){const te=S.comparisonStart||S.comparisonEnd;te&&!te.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(S){const te=S.value,ke=this._dateAdapter.getYear(this.activeDate),Ye=this._dateAdapter.getMonth(this.activeDate),Nt=this._dateAdapter.createDate(ke,Ye,te);let It,Lt;this._selected instanceof rt?(It=this._getDateInCurrentMonth(this._selected.start),Lt=this._getDateInCurrentMonth(this._selected.end)):It=Lt=this._getDateInCurrentMonth(this._selected),(It!==te||Lt!==te)&&this.selectedChange.emit(Nt),this._userSelection.emit({value:Nt,event:S.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(S){const te=this._activeDate,ke=this._isRtl();switch(S.keyCode){case s.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ke?1:-1);break;case s.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ke?-1:1);break;case s.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case s.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case s.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case s.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case s.Ku:this.activeDate=S.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case s.VM:this.activeDate=S.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case s.K5:case s.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&S.preventDefault());case s.hY:return void(null!=this._previewEnd&&!(0,s.Vb)(S)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:S}),S.preventDefault(),S.stopPropagation()));default:return}this._dateAdapter.compareDate(te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),S.preventDefault()}_handleCalendarBodyKeyup(S){(S.keyCode===s.L_||S.keyCode===s.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:S}),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 S=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(S)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(S){this._matCalendarBody._focusActiveCell(S)}_previewChanged({event:S,value:te}){if(this._rangeStrategy){const Ye=this._rangeStrategy.createPreview(te?te.rawValue:null,this.selected,S);this._previewStart=this._getCellCompareValue(Ye.start),this._previewEnd=this._getCellCompareValue(Ye.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const S=this._dateAdapter.getFirstDayOfWeek(),te=this._dateAdapter.getDayOfWeekNames("narrow");let Ye=this._dateAdapter.getDayOfWeekNames("long").map((Nt,It)=>({long:Nt,narrow:te[It]}));this._weekdays=Ye.slice(S).concat(Ye.slice(0,S))}_createWeekCells(){const S=this._dateAdapter.getNumDaysInMonth(this.activeDate),te=this._dateAdapter.getDateNames();this._weeks=[[]];for(let ke=0,Ye=this._firstWeekOffset;ke=0)&&(!this.maxDate||this._dateAdapter.compareDate(S,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(S))}_getDateInCurrentMonth(S){return S&&this._hasSameMonthAndYear(S,this.activeDate)?this._dateAdapter.getDate(S):null}_hasSameMonthAndYear(S,te){return!(!S||!te||this._dateAdapter.getMonth(S)!=this._dateAdapter.getMonth(te)||this._dateAdapter.getYear(S)!=this._dateAdapter.getYear(te))}_getCellCompareValue(S){if(S){const te=this._dateAdapter.getYear(S),ke=this._dateAdapter.getMonth(S),Ye=this._dateAdapter.getDate(S);return new Date(te,ke,Ye).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(S){S instanceof rt?(this._rangeStart=this._getCellCompareValue(S.start),this._rangeEnd=this._getCellCompareValue(S.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(S),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(S){return!this.dateFilter||this.dateFilter(S)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(D.Is,8),r.\u0275\u0275directiveInject(x,8))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-month-view"]],viewQuery:function(S,te){if(1&S&&r.\u0275\u0275viewQuery(bt,5),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te._matCalendarBody=ke.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[r.\u0275\u0275NgOnChangesFeature],decls:7,vars:13,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","selectedValueChange","previewChange","keyup","keydown"],["scope","col"],[1,"mat-calendar-abbr"]],template:function(S,te){1&S&&(r.\u0275\u0275elementStart(0,"table",0),r.\u0275\u0275elementStart(1,"thead",1),r.\u0275\u0275elementStart(2,"tr"),r.\u0275\u0275template(3,pe,3,3,"th",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"tr"),r.\u0275\u0275element(5,"th",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(6,"tbody",4),r.\u0275\u0275listener("selectedValueChange",function(Ye){return te._dateSelected(Ye)})("previewChange",function(Ye){return te._previewChanged(Ye)})("keyup",function(Ye){return te._handleCalendarBodyKeyup(Ye)})("keydown",function(Ye){return te._handleCalendarBodyKeydown(Ye)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&S&&(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))},directives:[c.NgForOf,bt],encapsulation:2,changeDetection:0}),J})();const Ae=24,nt=4;let Rt=(()=>{class J{constructor(S,te,ke){this._changeDetectorRef=S,this._dateAdapter=te,this._dir=ke,this._rerenderSubscription=b.w.EMPTY,this.selectedChange=new r.EventEmitter,this.yearSelected=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(S){let te=this._activeDate;const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ke,this.minDate,this.maxDate),kt(this._dateAdapter,te,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(S){this._selected=S instanceof rt?S:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S)),this._setSelectedYear(S)}get minDate(){return this._minDate}set minDate(S){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get maxDate(){return this._maxDate}set maxDate(S){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,P.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)-pt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let ke=0,Ye=[];kethis._createCellForYear(Nt))),Ye=[]);this._changeDetectorRef.markForCheck()}_yearSelected(S){const te=S.value;this.yearSelected.emit(this._dateAdapter.createDate(te,0,1));let ke=this._dateAdapter.getMonth(this.activeDate),Ye=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(te,ke,1));this.selectedChange.emit(this._dateAdapter.createDate(te,ke,Math.min(this._dateAdapter.getDate(this.activeDate),Ye)))}_handleCalendarBodyKeydown(S){const te=this._activeDate,ke=this._isRtl();switch(S.keyCode){case s.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ke?1:-1);break;case s.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ke?-1:1);break;case s.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-nt);break;case s.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,nt);break;case s.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-pt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case s.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ae-pt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case s.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,S.altKey?10*-Ae:-Ae);break;case s.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,S.altKey?10*Ae:Ae);break;case s.K5:case s.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),S.preventDefault()}_handleCalendarBodyKeyup(S){(S.keyCode===s.L_||S.keyCode===s.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:S}),this._selectionKeyPressed=!1)}_getActiveCell(){return pt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(S){const te=this._dateAdapter.createDate(S,0,1),ke=this._dateAdapter.getYearName(te),Ye=this.dateClass?this.dateClass(te,"multi-year"):void 0;return new ct(S,ke,ke,this._shouldEnableYear(S),Ye)}_shouldEnableYear(S){if(null==S||this.maxDate&&S>this._dateAdapter.getYear(this.maxDate)||this.minDate&&S{class J{constructor(S,te,ke,Ye){this._changeDetectorRef=S,this._dateFormats=te,this._dateAdapter=ke,this._dir=Ye,this._rerenderSubscription=b.w.EMPTY,this.selectedChange=new r.EventEmitter,this.monthSelected=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(S){let te=this._activeDate;const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ke,this.minDate,this.maxDate),this._dateAdapter.getYear(te)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(S){this._selected=S instanceof rt?S:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S)),this._setSelectedMonth(S)}get minDate(){return this._minDate}set minDate(S){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get maxDate(){return this._maxDate}set maxDate(S){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,P.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(S){const te=S.value,ke=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,1);this.monthSelected.emit(ke);const Ye=this._dateAdapter.getNumDaysInMonth(ke);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,Math.min(this._dateAdapter.getDate(this.activeDate),Ye)))}_handleCalendarBodyKeydown(S){const te=this._activeDate,ke=this._isRtl();switch(S.keyCode){case s.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ke?1:-1);break;case s.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ke?-1:1);break;case s.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case s.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case s.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case s.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case s.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,S.altKey?-10:-1);break;case s.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,S.altKey?10:1);break;case s.K5:case s.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),S.preventDefault()}_handleCalendarBodyKeyup(S){(S.keyCode===s.L_||S.keyCode===s.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:S}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let S=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(te=>te.map(ke=>this._createCellForMonth(ke,S[ke]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(S){return S&&this._dateAdapter.getYear(S)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(S):null}_createCellForMonth(S,te){const ke=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),S,1),Ye=this._dateAdapter.format(ke,this._dateFormats.display.monthYearA11yLabel),Nt=this.dateClass?this.dateClass(ke,"year"):void 0;return new ct(S,te.toLocaleUpperCase(),Ye,this._shouldEnableMonth(S),Nt)}_shouldEnableMonth(S){const te=this._dateAdapter.getYear(this.activeDate);if(null==S||this._isYearAndMonthAfterMaxDate(te,S)||this._isYearAndMonthBeforeMinDate(te,S))return!1;if(!this.dateFilter)return!0;for(let Ye=this._dateAdapter.createDate(te,S,1);this._dateAdapter.getMonth(Ye)==S;Ye=this._dateAdapter.addCalendarDays(Ye,1))if(this.dateFilter(Ye))return!0;return!1}_isYearAndMonthAfterMaxDate(S,te){if(this.maxDate){const ke=this._dateAdapter.getYear(this.maxDate),Ye=this._dateAdapter.getMonth(this.maxDate);return S>ke||S===ke&&te>Ye}return!1}_isYearAndMonthBeforeMinDate(S,te){if(this.minDate){const ke=this._dateAdapter.getYear(this.minDate),Ye=this._dateAdapter.getMonth(this.minDate);return S{class J{constructor(){this.changes=new y.xQ,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"}formatYearRange(S,te){return`${S} \u2013 ${te}`}}return J.\u0275fac=function(S){return new(S||J)},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"}),J})(),Ge=0,lt=(()=>{class J{constructor(S,te,ke,Ye,Nt){this._intl=S,this.calendar=te,this._dateAdapter=ke,this._dateFormats=Ye,this._buttonDescriptionId="mat-calendar-button-"+Ge++,this.calendar.stateChanges.subscribe(()=>Nt.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const te=this._dateAdapter.getYear(this.calendar.activeDate)-pt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),ke=te+Ae-1,Ye=this._dateAdapter.getYearName(this._dateAdapter.createDate(te,0,1)),Nt=this._dateAdapter.getYearName(this._dateAdapter.createDate(ke,0,1));return this._intl.formatYearRange(Ye,Nt)}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:-Ae)}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:Ae)}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(S,te){return"month"==this.calendar.currentView?this._dateAdapter.getYear(S)==this._dateAdapter.getYear(te)&&this._dateAdapter.getMonth(S)==this._dateAdapter.getMonth(te):"year"==this.calendar.currentView?this._dateAdapter.getYear(S)==this._dateAdapter.getYear(te):kt(this._dateAdapter,S,te,this.calendar.minDate,this.calendar.maxDate)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Mt),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Ot)),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:oe,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",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"]],template:function(S,te){1&S&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275elementStart(2,"button",2),r.\u0275\u0275listener("click",function(){return te.currentPeriodClicked()}),r.\u0275\u0275elementStart(3,"span"),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd(),r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(5,"svg",3),r.\u0275\u0275element(6,"polygon",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275namespaceHTML(),r.\u0275\u0275element(7,"div",5),r.\u0275\u0275projection(8),r.\u0275\u0275elementStart(9,"button",6),r.\u0275\u0275listener("click",function(){return te.previousClicked()}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"button",7),r.\u0275\u0275listener("click",function(){return te.nextClicked()}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&S&&(r.\u0275\u0275advance(2),r.\u0275\u0275attribute("aria-label",te.periodButtonLabel)("aria-describedby",te._buttonDescriptionId),r.\u0275\u0275advance(1),r.\u0275\u0275attribute("id",te._buttonDescriptionId),r.\u0275\u0275advance(1),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))},directives:[d.MatButton,n.Qr],encapsulation:2,changeDetection:0}),J})(),Ot=(()=>{class J{constructor(S,te,ke,Ye){this._dateAdapter=te,this._dateFormats=ke,this._changeDetectorRef=Ye,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.stateChanges=new y.xQ,this._intlChanges=S.changes.subscribe(()=>{Ye.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(S){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get selected(){return this._selected}set selected(S){this._selected=S instanceof rt?S:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get minDate(){return this._minDate}set minDate(S){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get maxDate(){return this._maxDate}set maxDate(S){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get activeDate(){return this._clampedActiveDate}set activeDate(S){this._clampedActiveDate=this._dateAdapter.clampDate(S,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(S){const te=this._currentView!==S?S:null;this._currentView=S,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),te&&this.viewChanged.emit(te)}ngAfterContentInit(){this._calendarHeaderPortal=new u.C5(this.headerComponent||lt),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(S){const te=S.minDate||S.maxDate||S.dateFilter;if(te&&!te.firstChange){const ke=this._getCurrentViewComponent();ke&&(this._changeDetectorRef.detectChanges(),ke._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(S){const te=S.value;(this.selected instanceof rt||te&&!this._dateAdapter.sameDate(te,this.selected))&&this.selectedChange.emit(te),this._userSelection.emit(S)}_yearSelectedInMultiYearView(S){this.yearSelected.emit(S)}_monthSelectedInYearView(S){this.monthSelected.emit(S)}_goToDateInView(S,te){this.activeDate=S,this.currentView=te}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Mt),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-calendar"]],viewQuery:function(S,te){if(1&S&&(r.\u0275\u0275viewQuery(ve,5),r.\u0275\u0275viewQuery(_t,5),r.\u0275\u0275viewQuery(Rt,5)),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te.monthView=ke.first),r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te.yearView=ke.first),r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te.multiYearView=ke.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"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[r.\u0275\u0275ProvidersFeature([Z]),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","activeDateChange","_userSelection",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","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(S,te){1&S&&(r.\u0275\u0275template(0,ae,0,0,"ng-template",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275template(2,U,1,8,"mat-month-view",2),r.\u0275\u0275template(3,ie,1,6,"mat-year-view",3),r.\u0275\u0275template(4,le,1,6,"mat-multi-year-view",4),r.\u0275\u0275elementEnd()),2&S&&(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"))},directives:[u.Pl,n.kH,c.NgSwitch,c.NgSwitchCase,ve,_t,Rt],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;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.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-abbr{text-decoration:none}\n'],encapsulation:2,changeDetection:0}),J})();const Ft={transformPanel:(0,$.X$)("transformPanel",[(0,$.eR)("void => enter-dropdown",(0,$.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,$.F4)([(0,$.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,$.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,$.eR)("void => enter-dialog",(0,$.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,$.F4)([(0,$.oB)({opacity:0,transform:"scale(0.7)"}),(0,$.oB)({transform:"none",opacity:1})]))),(0,$.eR)("* => void",(0,$.jt)("100ms linear",(0,$.oB)({opacity:0})))]),fadeInCalendar:(0,$.X$)("fadeInCalendar",[(0,$.SB)("void",(0,$.oB)({opacity:0})),(0,$.SB)("enter",(0,$.oB)({opacity:1})),(0,$.eR)("void => *",(0,$.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Pe=0;const Ee=new r.InjectionToken("mat-datepicker-scroll-strategy");function B(J){return()=>J.scrollStrategies.reposition()}const V={provide:Ee,deps:[l.aV],useFactory:B},be=(0,p.mixinColor)(class{constructor(J){this._elementRef=J}});let je=(()=>{class J extends be{constructor(S,te,ke,Ye,Nt,It){super(S),this._changeDetectorRef=te,this._globalModel=ke,this._dateAdapter=Ye,this._rangeSelectionStrategy=Nt,this._subscriptions=new b.w,this._animationDone=new y.xQ,this._actionsPortal=null,this._closeButtonText=It.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,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(S){const te=this._model.selection,ke=S.value,Ye=te instanceof rt;if(Ye&&this._rangeSelectionStrategy){const Nt=this._rangeSelectionStrategy.selectionFinished(ke,te,S.event);this._model.updateSelection(Nt,this)}else ke&&(Ye||!this._dateAdapter.sameDate(ke,te))&&this._model.add(ke);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(ze),r.\u0275\u0275directiveInject(p.DateAdapter),r.\u0275\u0275directiveInject(x,8),r.\u0275\u0275directiveInject(Mt))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-datepicker-content"]],viewQuery:function(S,te){if(1&S&&r.\u0275\u0275viewQuery(Ot,5),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te._calendar=ke.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(S,te){1&S&&r.\u0275\u0275syntheticHostListener("@transformPanel.done",function(){return te._animationDone.next()}),2&S&&(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:20,consts:[["cdkTrapFocus","",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(S,te){1&S&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275elementStart(1,"mat-calendar",1),r.\u0275\u0275listener("yearSelected",function(Ye){return te.datepicker._selectYear(Ye)})("monthSelected",function(Ye){return te.datepicker._selectMonth(Ye)})("viewChanged",function(Ye){return te.datepicker._viewChanged(Ye)})("_userSelection",function(Ye){return te._handleUserSelection(Ye)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(2,Ce,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(),r.\u0275\u0275elementEnd()),2&S&&(r.\u0275\u0275classProp("mat-datepicker-content-container-with-actions",te._actionsPortal),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"),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))},directives:[n.mK,Ot,c.NgClass,u.Pl,d.MatButton],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.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}}\n"],encapsulation:2,data:{animation:[Ft.transformPanel,Ft.fadeInCalendar]},changeDetection:0}),J})(),Ct=(()=>{class J{constructor(S,te,ke,Ye,Nt,It,Lt){this._overlay=S,this._ngZone=te,this._viewContainerRef=ke,this._dateAdapter=Nt,this._dir=It,this._model=Lt,this._inputStateChanges=b.w.EMPTY,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-"+Pe++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new y.xQ,this._scrollStrategy=Ye}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(S){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(S){this._color=S}get touchUi(){return this._touchUi}set touchUi(S){this._touchUi=(0,T.Ig)(S)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(S){const te=(0,T.Ig)(S);te!==this._disabled&&(this._disabled=te,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(S){this._restoreFocus=(0,T.Ig)(S)}get panelClass(){return this._panelClass}set panelClass(S){this._panelClass=(0,T.du)(S)}get opened(){return this._opened}set opened(S){(0,T.Ig)(S)?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}ngOnChanges(S){const te=S.xPosition||S.yPosition;if(te&&!te.firstChange&&this._overlayRef){const ke=this._overlayRef.getConfig().positionStrategy;ke instanceof l._G&&(this._setConnectedPositions(ke),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(S){this._model.add(S)}_selectYear(S){this.yearSelected.emit(S)}_selectMonth(S){this.monthSelected.emit(S)}_viewChanged(S){this.viewChanged.emit(S)}registerInput(S){return this._inputStateChanges.unsubscribe(),this.datepickerInput=S,this._inputStateChanges=S.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(S){this._actionsPortal=S}removeActions(S){S===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,Y.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const te=this._componentRef.instance;te._startExitAnimation(),te._animationDone.pipe((0,C.q)(1)).subscribe(()=>this._destroyOverlay())}const S=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(S)):S()}_applyPendingSelection(){var S,te;null===(te=null===(S=this._componentRef)||void 0===S?void 0:S.instance)||void 0===te||te._applyPendingSelection()}_forwardContentValues(S){S.datepicker=this,S.color=this.color,S._actionsPortal=this._actionsPortal}_openOverlay(){this._destroyOverlay();const S=this.touchUi,te=this.datepickerInput.getOverlayLabelId(),ke=new u.C5(je,this._viewContainerRef),Ye=this._overlayRef=this._overlay.create(new l.X_({positionStrategy:S?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[S?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:S?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(S?"dialog":"popup")})),Nt=Ye.overlayElement;Nt.setAttribute("role","dialog"),te&&Nt.setAttribute("aria-labelledby",te),S&&Nt.setAttribute("aria-modal","true"),this._getCloseStream(Ye).subscribe(It=>{It&&It.preventDefault(),this.close()}),this._componentRef=Ye.attach(ke),this._forwardContentValues(this._componentRef.instance),S||this._ngZone.onStable.pipe((0,C.q)(1)).subscribe(()=>Ye.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const S=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(S)}_setConnectedPositions(S){const te="end"===this.xPosition?"end":"start",ke="start"===te?"end":"start",Ye="above"===this.yPosition?"bottom":"top",Nt="top"===Ye?"bottom":"top";return S.withPositions([{originX:te,originY:Nt,overlayX:te,overlayY:Ye},{originX:te,originY:Ye,overlayX:te,overlayY:Nt},{originX:ke,originY:Nt,overlayX:ke,overlayY:Ye},{originX:ke,originY:Ye,overlayX:ke,overlayY:Nt}])}_getCloseStream(S){return(0,h.T)(S.backdropClick(),S.detachments(),S.keydownEvents().pipe((0,w.h)(te=>te.keyCode===s.hY&&!(0,s.Vb)(te)||this.datepickerInput&&(0,s.Vb)(te,"altKey")&&te.keyCode===s.LH)))}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(l.aV),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(Ee),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(D.Is,8),r.\u0275\u0275directiveInject(ze))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,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]}),J})(),Ht=(()=>{class J extends Ct{}return J.\u0275fac=function(){let Re;return function(te){return(Re||(Re=r.\u0275\u0275getInheritedFactory(J)))(te||J)}}(),J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[r.\u0275\u0275ProvidersFeature([Z,{provide:Ct,useExisting:J}]),r.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(S,te){},encapsulation:2,changeDetection:0}),J})();class $t{constructor(Re,S){this.target=Re,this.targetElement=S,this.value=this.target.value}}let vn=(()=>{class J{constructor(S,te,ke){this._elementRef=S,this._dateAdapter=te,this._dateFormats=ke,this.dateChange=new r.EventEmitter,this.dateInput=new r.EventEmitter,this.stateChanges=new y.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=b.w.EMPTY,this._localeSubscription=b.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Ye=>{const Nt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ye.value));return!Nt||this._matchesFilter(Nt)?null:{matDatepickerFilter:!0}},this._minValidator=Ye=>{const Nt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ye.value)),It=this._getMinDate();return!It||!Nt||this._dateAdapter.compareDate(It,Nt)<=0?null:{matDatepickerMin:{min:It,actual:Nt}}},this._maxValidator=Ye=>{const Nt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ye.value)),It=this._getMaxDate();return!It||!Nt||this._dateAdapter.compareDate(It,Nt)>=0?null:{matDatepickerMax:{max:It,actual:Nt}}},this._lastValueValid=!1,this._localeSubscription=te.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(S){this._assignValueProgrammatically(S)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(S){const te=(0,T.Ig)(S),ke=this._elementRef.nativeElement;this._disabled!==te&&(this._disabled=te,this.stateChanges.next(void 0)),te&&this._isInitialized&&ke.blur&&ke.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(S){this._model=S,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(te=>{if(this._shouldHandleChangeEvent(te)){const ke=this._getValueFromModel(te.selection);this._lastValueValid=this._isValidValue(ke),this._cvaOnChange(ke),this._onTouched(),this._formatValue(ke),this.dateInput.emit(new $t(this,this._elementRef.nativeElement)),this.dateChange.emit(new $t(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(S){it(S,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(S){this._validatorOnChange=S}validate(S){return this._validator?this._validator(S):null}writeValue(S){this._assignValueProgrammatically(S)}registerOnChange(S){this._cvaOnChange=S}registerOnTouched(S){this._onTouched=S}setDisabledState(S){this.disabled=S}_onKeydown(S){S.altKey&&S.keyCode===s.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),S.preventDefault())}_onInput(S){const te=this._lastValueValid;let ke=this._dateAdapter.parse(S,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(ke),ke=this._dateAdapter.getValidDateOrNull(ke),this._dateAdapter.sameDate(ke,this.value)?(S&&!this.value&&this._cvaOnChange(ke),te!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(ke),this._cvaOnChange(ke),this.dateInput.emit(new $t(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new $t(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(S){this._elementRef.nativeElement.value=S?this._dateAdapter.format(S,this._dateFormats.display.dateInput):""}_assignValue(S){this._model?(this._assignValueToModel(S),this._pendingValue=null):this._pendingValue=S}_isValidValue(S){return!S||this._dateAdapter.isValid(S)}_parentDisabled(){return!1}_assignValueProgrammatically(S){S=this._dateAdapter.deserialize(S),this._lastValueValid=this._isValidValue(S),S=this._dateAdapter.getValidDateOrNull(S),this._assignValue(S),this._formatValue(S)}_matchesFilter(S){const te=this._getDateFilter();return!te||te(S)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[r.\u0275\u0275NgOnChangesFeature]}),J})();function it(J,Re){const S=Object.keys(J);for(let te of S){const{previousValue:ke,currentValue:Ye}=J[te];if(!Re.isDateInstance(ke)||!Re.isDateInstance(Ye))return!0;if(!Re.sameDate(ke,Ye))return!0}return!1}const st={provide:z.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(()=>ut),multi:!0},Ve={provide:z.NG_VALIDATORS,useExisting:(0,r.forwardRef)(()=>ut),multi:!0};let ut=(()=>{class J extends vn{constructor(S,te,ke,Ye){super(S,te,ke),this._formField=Ye,this._closedSubscription=b.w.EMPTY,this._validator=z.Validators.compose(super._getValidators())}set matDatepicker(S){S&&(this._datepicker=S,this._closedSubscription=S.closedStream.subscribe(()=>this._onTouched()),this._registerModel(S.registerInput(this)))}get min(){return this._min}set min(S){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S));this._dateAdapter.sameDate(te,this._min)||(this._min=te,this._validatorOnChange())}get max(){return this._max}set max(S){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S));this._dateAdapter.sameDate(te,this._max)||(this._max=te,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(S){const te=this._matchesFilter(this.value);this._dateFilter=S,this._matchesFilter(this.value)!==te&&this._validatorOnChange()}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(S){return S}_assignValueToModel(S){this._model&&this._model.updateSelection(S,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(S){return S.source!==this}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(G.MAT_FORM_FIELD,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("input",function(Ye){return te._onInput(Ye.target.value)})("change",function(){return te._onChange()})("blur",function(){return te._onBlur()})("keydown",function(Ye){return te._onKeydown(Ye)}),2&S&&(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([st,Ve,{provide:X.MAT_INPUT_VALUE_ACCESSOR,useExisting:J}]),r.\u0275\u0275InheritDefinitionFeature]}),J})(),At=(()=>{class J{}return J.\u0275fac=function(S){return new(S||J)},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["","matDatepickerToggleIcon",""]]}),J})(),Xt=(()=>{class J{constructor(S,te,ke){this._intl=S,this._changeDetectorRef=te,this._stateChanges=b.w.EMPTY;const Ye=Number(ke);this.tabIndex=Ye||0===Ye?Ye:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(S){this._disabled=(0,T.Ig)(S)}ngOnChanges(S){S.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(S){this.datepicker&&!this.disabled&&(this.datepicker.open(),S.stopPropagation())}_watchStateChanges(){const S=this.datepicker?this.datepicker.stateChanges:(0,g.of)(),te=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,g.of)(),ke=this.datepicker?(0,h.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,g.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,h.T)(this._intl.changes,S,te,ke).subscribe(()=>this._changeDetectorRef.markForCheck())}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Mt),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275injectAttribute("tabindex"))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-datepicker-toggle"]],contentQueries:function(S,te,ke){if(1&S&&r.\u0275\u0275contentQuery(ke,At,5),2&S){let Ye;r.\u0275\u0275queryRefresh(Ye=r.\u0275\u0275loadQuery())&&(te._customIcon=Ye.first)}},viewQuery:function(S,te){if(1&S&&r.\u0275\u0275viewQuery(Te,5),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te._button=ke.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("click",function(Ye){return te._open(Ye)}),2&S&&(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:ot,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",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",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(S,te){1&S&&(r.\u0275\u0275projectionDef(tt),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275template(2,Ke,2,0,"svg",2),r.\u0275\u0275projection(3),r.\u0275\u0275elementEnd()),2&S&&(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))},directives:[d.MatButton,c.NgIf],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),J})();const Jt=new r.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT"),Rn=(0,p.mixinErrorState)((()=>{class J extends vn{constructor(S,te,ke,Ye,Nt,It,Lt,Yt){super(te,Lt,Yt),this._rangeInput=S,this._defaultErrorStateMatcher=ke,this._injector=Ye,this._parentForm=Nt,this._parentFormGroup=It}ngOnInit(){const S=this._injector.get(z.NgControl,null,r.InjectFlags.Self|r.InjectFlags.Optional);S&&(this.ngControl=S)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}_onInput(S){super._onInput(S),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:S}){return S!==this._rangeInput._startInput&&S!==this._rangeInput._endInput}_assignValueProgrammatically(S){super._assignValueProgrammatically(S);const te=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput;null==te||te._validatorOnChange()}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Jt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(z.NgForm,8),r.\u0275\u0275directiveInject(z.FormGroupDirective,8),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,features:[r.\u0275\u0275InheritDefinitionFeature]}),J})());let li=(()=>{class J extends Rn{constructor(S,te,ke,Ye,Nt,It,Lt,Yt){super(S,te,ke,Ye,Nt,It,Lt,Yt),this._startValidator=Zt=>{const Mn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Zt.value)),Tn=this._model?this._model.selection.end:null;return!Mn||!Tn||this._dateAdapter.compareDate(Mn,Tn)<=0?null:{matStartDateInvalid:{end:Tn,actual:Mn}}},this._validator=z.Validators.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(S){return S.start}_shouldHandleChangeEvent(S){var te;return!(!super._shouldHandleChangeEvent(S)||((null===(te=S.oldValue)||void 0===te?void 0:te.start)?S.selection.start&&!this._dateAdapter.compareDate(S.oldValue.start,S.selection.start):!S.selection.start))}_assignValueToModel(S){if(this._model){const te=new rt(S,this._model.selection.end);this._model.updateSelection(te,this)}}_formatValue(S){super._formatValue(S),this._rangeInput._handleChildValueChange()}getMirrorValue(){const S=this._elementRef.nativeElement,te=S.value;return te.length>0?te:S.placeholder}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Jt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(z.NgForm,8),r.\u0275\u0275directiveInject(z.FormGroupDirective,8),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:6,hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("input",function(Ye){return te._onInput(Ye.target.value)})("change",function(){return te._onChange()})("keydown",function(Ye){return te._onKeydown(Ye)})("blur",function(){return te._onBlur()}),2&S&&(r.\u0275\u0275hostProperty("disabled",te.disabled),r.\u0275\u0275attribute("id",te._rangeInput.id)("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:z.NG_VALUE_ACCESSOR,useExisting:J,multi:!0},{provide:z.NG_VALIDATORS,useExisting:J,multi:!0}]),r.\u0275\u0275InheritDefinitionFeature]}),J})(),ti=(()=>{class J extends Rn{constructor(S,te,ke,Ye,Nt,It,Lt,Yt){super(S,te,ke,Ye,Nt,It,Lt,Yt),this._endValidator=Zt=>{const Mn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Zt.value)),Tn=this._model?this._model.selection.start:null;return!Mn||!Tn||this._dateAdapter.compareDate(Mn,Tn)>=0?null:{matEndDateInvalid:{start:Tn,actual:Mn}}},this._validator=z.Validators.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(S){return S.end}_shouldHandleChangeEvent(S){var te;return!(!super._shouldHandleChangeEvent(S)||((null===(te=S.oldValue)||void 0===te?void 0:te.end)?S.selection.end&&!this._dateAdapter.compareDate(S.oldValue.end,S.selection.end):!S.selection.end))}_assignValueToModel(S){if(this._model){const te=new rt(this._model.selection.start,S);this._model.updateSelection(te,this)}}_onKeydown(S){S.keyCode===s.ZH&&!this._elementRef.nativeElement.value&&this._rangeInput._startInput.focus(),super._onKeydown(S)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Jt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(z.NgForm,8),r.\u0275\u0275directiveInject(z.FormGroupDirective,8),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("input",function(Ye){return te._onInput(Ye.target.value)})("change",function(){return te._onChange()})("keydown",function(Ye){return te._onKeydown(Ye)})("blur",function(){return te._onBlur()}),2&S&&(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:z.NG_VALUE_ACCESSOR,useExisting:J,multi:!0},{provide:z.NG_VALIDATORS,useExisting:J,multi:!0}]),r.\u0275\u0275InheritDefinitionFeature]}),J})(),pi=0,Jn=(()=>{class J{constructor(S,te,ke,Ye,Nt){if(this._changeDetectorRef=S,this._elementRef=te,this._dateAdapter=Ye,this._formField=Nt,this._closedSubscription=b.w.EMPTY,this.id="mat-date-range-input-"+pi++,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 y.xQ,null==Nt?void 0:Nt._elementRef.nativeElement.classList.contains("mat-mdc-form-field")){const It=te.nativeElement.classList;It.add("mat-mdc-input-element"),It.add("mat-mdc-form-field-input-control")}this.ngControl=ke}get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){var S,te;const ke=(null===(S=this._startInput)||void 0===S?void 0:S._getPlaceholder())||"",Ye=(null===(te=this._endInput)||void 0===te?void 0:te._getPlaceholder())||"";return ke||Ye?`${ke} ${this.separator} ${Ye}`:""}get rangePicker(){return this._rangePicker}set rangePicker(S){S&&(this._model=S.registerInput(this),this._rangePicker=S,this._closedSubscription.unsubscribe(),this._closedSubscription=S.closedStream.subscribe(()=>{var te,ke;null===(te=this._startInput)||void 0===te||te._onTouched(),null===(ke=this._endInput)||void 0===ke||ke._onTouched()}),this._registerModel(this._model))}get required(){return!!this._required}set required(S){this._required=(0,T.Ig)(S)}get dateFilter(){return this._dateFilter}set dateFilter(S){const te=this._startInput,ke=this._endInput,Ye=te&&te._matchesFilter(te.value),Nt=ke&&ke._matchesFilter(te.value);this._dateFilter=S,te&&te._matchesFilter(te.value)!==Ye&&te._validatorOnChange(),ke&&ke._matchesFilter(ke.value)!==Nt&&ke._validatorOnChange()}get min(){return this._min}set min(S){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S));this._dateAdapter.sameDate(te,this._min)||(this._min=te,this._revalidate())}get max(){return this._max}set max(S){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S));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(S){const te=(0,T.Ig)(S);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 S=!!this._startInput&&this._startInput.isEmpty(),te=!!this._endInput&&this._endInput.isEmpty();return S&&te}setDescribedByIds(S){this._ariaDescribedBy=S.length?S.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,h.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(S){it(S,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(){return this._startInput?this._startInput.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 S=this._formField;return S&&S._hasFloatingLabel()?S._labelId:null}_updateFocus(S){this.focused=null!==S,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(S){this._startInput&&this._startInput._registerModel(S),this._endInput&&this._endInput._registerModel(S)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(z.ControlContainer,10),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(G.MAT_FORM_FIELD,8))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-date-range-input"]],contentQueries:function(S,te,ke){if(1&S&&(r.\u0275\u0275contentQuery(ke,li,5),r.\u0275\u0275contentQuery(ke,ti,5)),2&S){let Ye;r.\u0275\u0275queryRefresh(Ye=r.\u0275\u0275loadQuery())&&(te._startInput=Ye.first),r.\u0275\u0275queryRefresh(Ye=r.\u0275\u0275loadQuery())&&(te._endInput=Ye.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(S,te){2&S&&(r.\u0275\u0275attribute("id",null)("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:G.MatFormFieldControl,useExisting:J},{provide:Jt,useExisting:J}]),r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:Dt,decls:9,vars:4,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-start-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-end-wrapper"]],template:function(S,te){1&S&&(r.\u0275\u0275projectionDef(mt),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275listener("cdkFocusChange",function(Ye){return te._updateFocus(Ye)}),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\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\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&S&&(r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(te._getInputMirrorValue()),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-date-range-input-separator-hidden",te._shouldHideSeparator()),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(te.separator))},directives:[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-date-range-input-separator-hidden{-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-inner{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width: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;-moz-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;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;-moz-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;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;-moz-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;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;-moz-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;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-date-range-input-mirror{-webkit-user-select:none;-moz-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-date-range-input-start-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-start-wrapper .mat-date-range-input-inner{position:absolute;top:0;left:0}.mat-date-range-input-end-wrapper{flex-grow:1;max-width:calc(50% - 4px)}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}\n"],encapsulation:2,changeDetection:0}),J})(),Ln=(()=>{class J extends Ct{_forwardContentValues(S){super._forwardContentValues(S);const te=this.datepickerInput;te&&(S.comparisonStart=te.comparisonStart,S.comparisonEnd=te.comparisonEnd)}}return J.\u0275fac=function(){let Re;return function(te){return(Re||(Re=r.\u0275\u0275getInheritedFactory(J)))(te||J)}}(),J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[r.\u0275\u0275ProvidersFeature([_,Ue,{provide:Ct,useExisting:J}]),r.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(S,te){},encapsulation:2,changeDetection:0}),J})(),ri=(()=>{class J{constructor(S){this._datepicker=S}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Ct))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("click",function(){return te._applySelection()})}}),J})(),jn=(()=>{class J{constructor(S){this._datepicker=S}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Ct))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("click",function(){return te._datepicker.close()})}}),J})(),Se=(()=>{class J{constructor(S,te){this._datepicker=S,this._viewContainerRef=te}ngAfterViewInit(){this._portal=new u.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){var S;this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&(null===(S=this._portal)||void 0===S||S.detach())}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Ct),r.\u0275\u0275directiveInject(r.ViewContainerRef))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(S,te){if(1&S&&r.\u0275\u0275viewQuery(r.TemplateRef,5),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te._template=ke.first)}},ngContentSelectors:oe,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(S,te){1&S&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,Ie,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-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}\n"],encapsulation:2,changeDetection:0}),J})(),Xe=(()=>{class J{}return J.\u0275fac=function(S){return new(S||J)},J.\u0275mod=r.\u0275\u0275defineNgModule({type:J}),J.\u0275inj=r.\u0275\u0275defineInjector({providers:[Mt,V],imports:[[c.CommonModule,d.MatButtonModule,l.U8,n.rt,u.eL,p.MatCommonModule],m.ZD]}),J})()},4834:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatDivider:()=>c,MatDividerModule:()=>r});var n=o(5e3),l=o(3191),u=o(508);let c=(()=>{class d{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(p){this._vertical=(0,l.Ig)(p)}get inset(){return this._inset}set inset(p){this._inset=(0,l.Ig)(p)}}return d.\u0275fac=function(p){return new(p||d)},d.\u0275cmp=n.\u0275\u0275defineComponent({type:d,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(p,y){2&p&&(n.\u0275\u0275attribute("aria-orientation",y.vertical?"vertical":"horizontal"),n.\u0275\u0275classProp("mat-divider-vertical",y.vertical)("mat-divider-horizontal",!y.vertical)("mat-divider-inset",y.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(p,y){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),d})(),r=(()=>{class d{}return d.\u0275fac=function(p){return new(p||d)},d.\u0275mod=n.\u0275\u0275defineNgModule({type:d}),d.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.MatCommonModule],u.MatCommonModule]}),d})()},7322:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_ERROR:()=>ie,MAT_FORM_FIELD:()=>_e,MAT_FORM_FIELD_DEFAULT_OPTIONS:()=>gt,MAT_PREFIX:()=>bt,MAT_SUFFIX:()=>xt,MatError:()=>le,MatFormField:()=>Z,MatFormFieldControl:()=>Te,MatFormFieldModule:()=>j,MatHint:()=>Ie,MatLabel:()=>Qe,MatPlaceholder:()=>ct,MatPrefix:()=>Et,MatSuffix:()=>dt,_MAT_HINT:()=>Dt,getMatFormFieldDuplicatedHintError:()=>tt,getMatFormFieldMissingControlError:()=>ot,getMatFormFieldPlaceholderConflictError:()=>Ke,matFormFieldAnimations:()=>Ce});var n=o(7144),l=o(9808),u=o(5e3),c=o(508),r=o(3191),d=o(8929),m=o(6787),p=o(3753),y=o(1059),b=o(7625),h=o(2986),g=o(1777),s=o(6360),C=o(226),P=o(925);const w=["connectionContainer"],D=["inputContainer"],T=["label"];function Y(_,x){1&_&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275elementStart(1,"div",14),u.\u0275\u0275element(2,"div",15),u.\u0275\u0275element(3,"div",16),u.\u0275\u0275element(4,"div",17),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"div",18),u.\u0275\u0275element(6,"div",15),u.\u0275\u0275element(7,"div",16),u.\u0275\u0275element(8,"div",17),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd())}function $(_,x){if(1&_){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",19),u.\u0275\u0275listener("cdkObserveContent",function(){return u.\u0275\u0275restoreView(N),u.\u0275\u0275nextContext().updateOutlineGap()}),u.\u0275\u0275projection(1,1),u.\u0275\u0275elementEnd()}if(2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275property("cdkObserveContentDisabled","outline"!=N.appearance)}}function z(_,x){if(1&_&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275projection(1,2),u.\u0275\u0275elementStart(2,"span"),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd()),2&_){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(N._control.placeholder)}}function G(_,x){1&_&&u.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function X(_,x){1&_&&(u.\u0275\u0275elementStart(0,"span",23),u.\u0275\u0275text(1," *"),u.\u0275\u0275elementEnd())}function Q(_,x){if(1&_){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"label",20,21),u.\u0275\u0275listener("cdkObserveContent",function(){return u.\u0275\u0275restoreView(N),u.\u0275\u0275nextContext().updateOutlineGap()}),u.\u0275\u0275template(2,z,4,1,"ng-container",12),u.\u0275\u0275template(3,G,1,0,"ng-content",12),u.\u0275\u0275template(4,X,2,0,"span",22),u.\u0275\u0275elementEnd()}if(2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275classProp("mat-empty",N._control.empty&&!N._shouldAlwaysFloat())("mat-form-field-empty",N._control.empty&&!N._shouldAlwaysFloat())("mat-accent","accent"==N.color)("mat-warn","warn"==N.color),u.\u0275\u0275property("cdkObserveContentDisabled","outline"!=N.appearance)("id",N._labelId)("ngSwitch",N._hasLabel()),u.\u0275\u0275attribute("for",N._control.id)("aria-owns",N._control.id),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngSwitchCase",!1),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase",!0),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",!N.hideRequiredMarker&&N._control.required&&!N._control.disabled)}}function q(_,x){1&_&&(u.\u0275\u0275elementStart(0,"div",24),u.\u0275\u0275projection(1,4),u.\u0275\u0275elementEnd())}function ue(_,x){if(1&_&&(u.\u0275\u0275elementStart(0,"div",25),u.\u0275\u0275element(1,"span",26),u.\u0275\u0275elementEnd()),2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-accent","accent"==N.color)("mat-warn","warn"==N.color)}}function me(_,x){if(1&_&&(u.\u0275\u0275elementStart(0,"div"),u.\u0275\u0275projection(1,5),u.\u0275\u0275elementEnd()),2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275property("@transitionMessages",N._subscriptAnimationState)}}function xe(_,x){if(1&_&&(u.\u0275\u0275elementStart(0,"div",30),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&_){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275property("id",N._hintLabelId),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(N.hintLabel)}}function pe(_,x){if(1&_&&(u.\u0275\u0275elementStart(0,"div",27),u.\u0275\u0275template(1,xe,2,2,"div",28),u.\u0275\u0275projection(2,6),u.\u0275\u0275element(3,"div",29),u.\u0275\u0275projection(4,7),u.\u0275\u0275elementEnd()),2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275property("@transitionMessages",N._subscriptAnimationState),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",N.hintLabel)}}const oe=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ae=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let U=0;const ie=new u.InjectionToken("MatError");let le=(()=>{class _{constructor(N,ce){this.id="mat-error-"+U++,N||ce.nativeElement.setAttribute("aria-live","polite")}}return _.\u0275fac=function(N){return new(N||_)(u.\u0275\u0275injectAttribute("aria-live"),u.\u0275\u0275directiveInject(u.ElementRef))},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(N,ce){2&N&&u.\u0275\u0275attribute("id",ce.id)},inputs:{id:"id"},features:[u.\u0275\u0275ProvidersFeature([{provide:ie,useExisting:_}])]}),_})();const Ce={transitionMessages:(0,g.X$)("transitionMessages",[(0,g.SB)("enter",(0,g.oB)({opacity:1,transform:"translateY(0%)"})),(0,g.eR)("void => enter",[(0,g.oB)({opacity:0,transform:"translateY(-5px)"}),(0,g.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Te=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_}),_})();function Ke(){return Error("Placeholder attribute and child element were both specified.")}function tt(_){return Error(`A hint was already declared for 'align="${_}"'.`)}function ot(){return Error("mat-form-field must contain a MatFormFieldControl.")}let mt=0;const Dt=new u.InjectionToken("MatHint");let Ie=(()=>{class _{constructor(){this.align="start",this.id="mat-hint-"+mt++}}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(N,ce){2&N&&(u.\u0275\u0275attribute("id",ce.id)("align",null),u.\u0275\u0275classProp("mat-form-field-hint-end","end"===ce.align))},inputs:{align:"align",id:"id"},features:[u.\u0275\u0275ProvidersFeature([{provide:Dt,useExisting:_}])]}),_})(),Qe=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["mat-label"]]}),_})(),ct=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["mat-placeholder"]]}),_})();const bt=new u.InjectionToken("MatPrefix");let Et=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["","matPrefix",""]],features:[u.\u0275\u0275ProvidersFeature([{provide:bt,useExisting:_}])]}),_})();const xt=new u.InjectionToken("MatSuffix");let dt=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["","matSuffix",""]],features:[u.\u0275\u0275ProvidersFeature([{provide:xt,useExisting:_}])]}),_})(),Ne=0;const yt=(0,c.mixinColor)(class{constructor(_){this._elementRef=_}},"primary"),gt=new u.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),_e=new u.InjectionToken("MatFormField");let Z=(()=>{class _ extends yt{constructor(N,ce,Ue,Oe,ve,Ae,nt){super(N),this._changeDetectorRef=ce,this._dir=Ue,this._defaults=Oe,this._platform=ve,this._ngZone=Ae,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new d.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Ne++,this._labelId="mat-form-field-label-"+Ne++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==nt,this.appearance=Oe&&Oe.appearance?Oe.appearance:"legacy",this._hideRequiredMarker=!(!Oe||null==Oe.hideRequiredMarker)&&Oe.hideRequiredMarker}get appearance(){return this._appearance}set appearance(N){const ce=this._appearance;this._appearance=N||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&ce!==N&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(N){this._hideRequiredMarker=(0,r.Ig)(N)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(N){this._hintLabel=N,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(N){N!==this._floatLabel&&(this._floatLabel=N||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(N){this._explicitFormFieldControl=N}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const N=this._control;N.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${N.controlType}`),N.stateChanges.pipe((0,y.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),N.ngControl&&N.ngControl.valueChanges&&N.ngControl.valueChanges.pipe((0,b.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,b.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,m.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,y.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,y.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,b.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(N){const ce=this._control?this._control.ngControl:null;return ce&&ce[N]}_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,p.R)(this._label.nativeElement,"transitionend").pipe((0,h.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 N=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&N.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const ce=this._hintChildren?this._hintChildren.find(Oe=>"start"===Oe.align):null,Ue=this._hintChildren?this._hintChildren.find(Oe=>"end"===Oe.align):null;ce?N.push(ce.id):this._hintLabel&&N.push(this._hintLabelId),Ue&&N.push(Ue.id)}else this._errorChildren&&N.push(...this._errorChildren.map(ce=>ce.id));this._control.setDescribedByIds(N)}}_validateControlChild(){}updateOutlineGap(){const N=this._label?this._label.nativeElement:null;if(!("outline"===this.appearance&&N&&N.children.length&&N.textContent.trim()&&this._platform.isBrowser))return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let ce=0,Ue=0;const Oe=this._connectionContainerRef.nativeElement,ve=Oe.querySelectorAll(".mat-form-field-outline-start"),Ae=Oe.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const nt=Oe.getBoundingClientRect();if(0===nt.width&&0===nt.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const Rt=this._getStartEnd(nt),kt=N.children,pt=this._getStartEnd(kt[0].getBoundingClientRect());let Pt=0;for(let $e=0;$e0?.75*Pt+10:0}for(let nt=0;nt{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275mod=u.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=u.\u0275\u0275defineInjector({imports:[[l.CommonModule,c.MatCommonModule,n.Q8],c.MatCommonModule]}),_})()},5245:(he,A,o)=>{"use strict";o.r(A),o.d(A,{ICON_REGISTRY_PROVIDER:()=>xe,ICON_REGISTRY_PROVIDER_FACTORY:()=>me,MAT_ICON_LOCATION:()=>ie,MAT_ICON_LOCATION_FACTORY:()=>le,MatIcon:()=>tt,MatIconModule:()=>ot,MatIconRegistry:()=>ue,getMatIconFailedToSanitizeLiteralError:()=>Q,getMatIconFailedToSanitizeUrlError:()=>X,getMatIconNameNotFoundError:()=>z,getMatIconNoHttpProviderError:()=>G});var n=o(5e3),l=o(508),u=o(3191),c=o(9808),r=o(1086),d=o(1737),m=o(567),p=o(2654),y=o(2868),b=o(4850),h=o(7221),g=o(537),s=o(8117),C=o(2986),P=o(520),w=o(2313);const D=["*"];let T;function $(mt){var Dt;return(null===(Dt=function(){if(void 0===T&&(T=null,"undefined"!=typeof window)){const mt=window;void 0!==mt.trustedTypes&&(T=mt.trustedTypes.createPolicy("angular#components",{createHTML:Dt=>Dt}))}return T}())||void 0===Dt?void 0:Dt.createHTML(mt))||mt}function z(mt){return Error(`Unable to find icon with the name "${mt}"`)}function G(){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 X(mt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${mt}".`)}function Q(mt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${mt}".`)}class q{constructor(Dt,Ie,Qe){this.url=Dt,this.svgText=Ie,this.options=Qe}}let ue=(()=>{class mt{constructor(Ie,Qe,ct,bt){this._httpClient=Ie,this._sanitizer=Qe,this._errorHandler=bt,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",this._document=ct}addSvgIcon(Ie,Qe,ct){return this.addSvgIconInNamespace("",Ie,Qe,ct)}addSvgIconLiteral(Ie,Qe,ct){return this.addSvgIconLiteralInNamespace("",Ie,Qe,ct)}addSvgIconInNamespace(Ie,Qe,ct,bt){return this._addSvgIconConfig(Ie,Qe,new q(ct,null,bt))}addSvgIconResolver(Ie){return this._resolvers.push(Ie),this}addSvgIconLiteralInNamespace(Ie,Qe,ct,bt){const Et=this._sanitizer.sanitize(n.SecurityContext.HTML,ct);if(!Et)throw Q(ct);const xt=$(Et);return this._addSvgIconConfig(Ie,Qe,new q("",xt,bt))}addSvgIconSet(Ie,Qe){return this.addSvgIconSetInNamespace("",Ie,Qe)}addSvgIconSetLiteral(Ie,Qe){return this.addSvgIconSetLiteralInNamespace("",Ie,Qe)}addSvgIconSetInNamespace(Ie,Qe,ct){return this._addSvgIconSetConfig(Ie,new q(Qe,null,ct))}addSvgIconSetLiteralInNamespace(Ie,Qe,ct){const bt=this._sanitizer.sanitize(n.SecurityContext.HTML,Qe);if(!bt)throw Q(Qe);const Et=$(bt);return this._addSvgIconSetConfig(Ie,new q("",Et,ct))}registerFontClassAlias(Ie,Qe=Ie){return this._fontCssClassesByAlias.set(Ie,Qe),this}classNameForFontAlias(Ie){return this._fontCssClassesByAlias.get(Ie)||Ie}setDefaultFontSetClass(Ie){return this._defaultFontSetClass=Ie,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ie){const Qe=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Ie);if(!Qe)throw X(Ie);const ct=this._cachedIconsByUrl.get(Qe);return ct?(0,r.of)(pe(ct)):this._loadSvgIconFromConfig(new q(Ie,null)).pipe((0,y.b)(bt=>this._cachedIconsByUrl.set(Qe,bt)),(0,b.U)(bt=>pe(bt)))}getNamedSvgIcon(Ie,Qe=""){const ct=oe(Qe,Ie);let bt=this._svgIconConfigs.get(ct);if(bt)return this._getSvgFromConfig(bt);if(bt=this._getIconConfigFromResolvers(Qe,Ie),bt)return this._svgIconConfigs.set(ct,bt),this._getSvgFromConfig(bt);const Et=this._iconSetConfigs.get(Qe);return Et?this._getSvgFromIconSetConfigs(Ie,Et):(0,d._)(z(ct))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ie){return Ie.svgText?(0,r.of)(pe(this._svgElementFromConfig(Ie))):this._loadSvgIconFromConfig(Ie).pipe((0,b.U)(Qe=>pe(Qe)))}_getSvgFromIconSetConfigs(Ie,Qe){const ct=this._extractIconWithNameFromAnySet(Ie,Qe);if(ct)return(0,r.of)(ct);const bt=Qe.filter(Et=>!Et.svgText).map(Et=>this._loadSvgIconSetFromConfig(Et).pipe((0,h.K)(xt=>{const Ne=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Et.url)} failed: ${xt.message}`;return this._errorHandler.handleError(new Error(Ne)),(0,r.of)(null)})));return(0,m.D)(bt).pipe((0,b.U)(()=>{const Et=this._extractIconWithNameFromAnySet(Ie,Qe);if(!Et)throw z(Ie);return Et}))}_extractIconWithNameFromAnySet(Ie,Qe){for(let ct=Qe.length-1;ct>=0;ct--){const bt=Qe[ct];if(bt.svgText&&bt.svgText.toString().indexOf(Ie)>-1){const Et=this._svgElementFromConfig(bt),xt=this._extractSvgIconFromSet(Et,Ie,bt.options);if(xt)return xt}}return null}_loadSvgIconFromConfig(Ie){return this._fetchIcon(Ie).pipe((0,y.b)(Qe=>Ie.svgText=Qe),(0,b.U)(()=>this._svgElementFromConfig(Ie)))}_loadSvgIconSetFromConfig(Ie){return Ie.svgText?(0,r.of)(null):this._fetchIcon(Ie).pipe((0,y.b)(Qe=>Ie.svgText=Qe))}_extractSvgIconFromSet(Ie,Qe,ct){const bt=Ie.querySelector(`[id="${Qe}"]`);if(!bt)return null;const Et=bt.cloneNode(!0);if(Et.removeAttribute("id"),"svg"===Et.nodeName.toLowerCase())return this._setSvgAttributes(Et,ct);if("symbol"===Et.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Et),ct);const xt=this._svgElementFromString($(""));return xt.appendChild(Et),this._setSvgAttributes(xt,ct)}_svgElementFromString(Ie){const Qe=this._document.createElement("DIV");Qe.innerHTML=Ie;const ct=Qe.querySelector("svg");if(!ct)throw Error(" tag not found");return ct}_toSvgElement(Ie){const Qe=this._svgElementFromString($("")),ct=Ie.attributes;for(let bt=0;bt$(rt)),(0,g.x)(()=>this._inProgressUrlFetches.delete(xt)),(0,s.B)());return this._inProgressUrlFetches.set(xt,Ne),Ne}_addSvgIconConfig(Ie,Qe,ct){return this._svgIconConfigs.set(oe(Ie,Qe),ct),this}_addSvgIconSetConfig(Ie,Qe){const ct=this._iconSetConfigs.get(Ie);return ct?ct.push(Qe):this._iconSetConfigs.set(Ie,[Qe]),this}_svgElementFromConfig(Ie){if(!Ie.svgElement){const Qe=this._svgElementFromString(Ie.svgText);this._setSvgAttributes(Qe,Ie.options),Ie.svgElement=Qe}return Ie.svgElement}_getIconConfigFromResolvers(Ie,Qe){for(let ct=0;ctDt?Dt.pathname+Dt.search:""}}const Ce=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Te=Ce.map(mt=>`[${mt}]`).join(", "),Ke=/^url\(['"]?#(.*?)['"]?\)$/;let tt=(()=>{class mt extends U{constructor(Ie,Qe,ct,bt,Et){super(Ie),this._iconRegistry=Qe,this._location=bt,this._errorHandler=Et,this._inline=!1,this._currentIconFetch=p.w.EMPTY,ct||Ie.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Ie){this._inline=(0,u.Ig)(Ie)}get svgIcon(){return this._svgIcon}set svgIcon(Ie){Ie!==this._svgIcon&&(Ie?this._updateSvgIcon(Ie):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ie)}get fontSet(){return this._fontSet}set fontSet(Ie){const Qe=this._cleanupFontValue(Ie);Qe!==this._fontSet&&(this._fontSet=Qe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ie){const Qe=this._cleanupFontValue(Ie);Qe!==this._fontIcon&&(this._fontIcon=Qe,this._updateFontIconClasses())}_splitIconName(Ie){if(!Ie)return["",""];const Qe=Ie.split(":");switch(Qe.length){case 1:return["",Qe[0]];case 2:return Qe;default:throw Error(`Invalid icon name: "${Ie}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ie=this._elementsWithExternalReferences;if(Ie&&Ie.size){const Qe=this._location.getPathname();Qe!==this._previousPath&&(this._previousPath=Qe,this._prependPathToReferences(Qe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ie){this._clearSvgElement();const Qe=Ie.querySelectorAll("style");for(let bt=0;bt{ct.forEach(Et=>{bt.setAttribute(Et.name,`url('${Ie}#${Et.value}')`)})})}_cacheChildrenWithExternalReferences(Ie){const Qe=Ie.querySelectorAll(Te),ct=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let bt=0;bt{const xt=Qe[bt],dt=xt.getAttribute(Et),Ne=dt?dt.match(Ke):null;if(Ne){let rt=ct.get(xt);rt||(rt=[],ct.set(xt,rt)),rt.push({name:Et,value:Ne[1]})}})}_updateSvgIcon(Ie){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ie){const[Qe,ct]=this._splitIconName(Ie);Qe&&(this._svgNamespace=Qe),ct&&(this._svgName=ct),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(ct,Qe).pipe((0,C.q)(1)).subscribe(bt=>this._setSvgElement(bt),bt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Qe}:${ct}! ${bt.message}`))})}}}return mt.\u0275fac=function(Ie){return new(Ie||mt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(ue),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(ie),n.\u0275\u0275directiveInject(n.ErrorHandler))},mt.\u0275cmp=n.\u0275\u0275defineComponent({type:mt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(Ie,Qe){2&Ie&&(n.\u0275\u0275attribute("data-mat-icon-type",Qe._usingFontIcon()?"font":"svg")("data-mat-icon-name",Qe._svgName||Qe.fontIcon)("data-mat-icon-namespace",Qe._svgNamespace||Qe.fontSet),n.\u0275\u0275classProp("mat-icon-inline",Qe.inline)("mat-icon-no-color","primary"!==Qe.color&&"accent"!==Qe.color&&"warn"!==Qe.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:D,decls:1,vars:0,template:function(Ie,Qe){1&Ie&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[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}\n"],encapsulation:2,changeDetection:0}),mt})(),ot=(()=>{class mt{}return mt.\u0275fac=function(Ie){return new(Ie||mt)},mt.\u0275mod=n.\u0275\u0275defineNgModule({type:mt}),mt.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.MatCommonModule],l.MatCommonModule]}),mt})()},7531:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_INPUT_VALUE_ACCESSOR:()=>P,MatInput:()=>Y,MatInputModule:()=>$,getMatInputUnsupportedTypeError:()=>C});var n=o(3191),l=o(925),u=o(5e3),c=o(3075),r=o(508),d=o(7322),m=o(8929),p=o(8896);const y=(0,l.i$)({passive:!0});let b=(()=>{class z{constructor(X,Q){this._platform=X,this._ngZone=Q,this._monitoredElements=new Map}monitor(X){if(!this._platform.isBrowser)return p.E;const Q=(0,n.fI)(X),q=this._monitoredElements.get(Q);if(q)return q.subject;const ue=new m.xQ,me="cdk-text-field-autofilled",xe=pe=>{"cdk-text-field-autofill-start"!==pe.animationName||Q.classList.contains(me)?"cdk-text-field-autofill-end"===pe.animationName&&Q.classList.contains(me)&&(Q.classList.remove(me),this._ngZone.run(()=>ue.next({target:pe.target,isAutofilled:!1}))):(Q.classList.add(me),this._ngZone.run(()=>ue.next({target:pe.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Q.addEventListener("animationstart",xe,y),Q.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Q,{subject:ue,unlisten:()=>{Q.removeEventListener("animationstart",xe,y)}}),ue}stopMonitoring(X){const Q=(0,n.fI)(X),q=this._monitoredElements.get(Q);q&&(q.unlisten(),q.subject.complete(),Q.classList.remove("cdk-text-field-autofill-monitored"),Q.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Q))}ngOnDestroy(){this._monitoredElements.forEach((X,Q)=>this.stopMonitoring(Q))}}return z.\u0275fac=function(X){return new(X||z)(u.\u0275\u0275inject(l.t4),u.\u0275\u0275inject(u.NgZone))},z.\u0275prov=u.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac,providedIn:"root"}),z})(),s=(()=>{class z{}return z.\u0275fac=function(X){return new(X||z)},z.\u0275mod=u.\u0275\u0275defineNgModule({type:z}),z.\u0275inj=u.\u0275\u0275defineInjector({imports:[[l.ud]]}),z})();function C(z){return Error(`Input type "${z}" isn't supported by matInput.`)}const P=new u.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),w=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let D=0;const T=(0,r.mixinErrorState)(class{constructor(z,G,X,Q){this._defaultErrorStateMatcher=z,this._parentForm=G,this._parentFormGroup=X,this.ngControl=Q}});let Y=(()=>{class z extends T{constructor(X,Q,q,ue,me,xe,pe,oe,ae,U){super(xe,ue,me,q),this._elementRef=X,this._platform=Q,this._autofillMonitor=oe,this._formField=U,this._uid="mat-input-"+D++,this.focused=!1,this.stateChanges=new m.xQ,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(Ce=>(0,l.qK)().has(Ce));const ie=this._elementRef.nativeElement,le=ie.nodeName.toLowerCase();this._inputValueAccessor=pe||ie,this._previousNativeValue=this.value,this.id=this.id,Q.IOS&&ae.runOutsideAngular(()=>{X.nativeElement.addEventListener("keyup",Ce=>{const Te=Ce.target;!Te.value&&0===Te.selectionStart&&0===Te.selectionEnd&&(Te.setSelectionRange(1,1),Te.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===le,this._isTextarea="textarea"===le,this._isInFormField=!!U,this._isNativeSelect&&(this.controlType=ie.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(X){this._disabled=(0,n.Ig)(X),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(X){this._id=X||this._uid}get required(){var X,Q,q,ue;return null!==(ue=null!==(X=this._required)&&void 0!==X?X:null===(q=null===(Q=this.ngControl)||void 0===Q?void 0:Q.control)||void 0===q?void 0:q.hasValidator(c.Validators.required))&&void 0!==ue&&ue}set required(X){this._required=(0,n.Ig)(X)}get type(){return this._type}set type(X){this._type=X||"text",this._validateType(),!this._isTextarea&&(0,l.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(X){X!==this.value&&(this._inputValueAccessor.value=X,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(X){this._readonly=(0,n.Ig)(X)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(X=>{this.autofilled=X.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(X){this._elementRef.nativeElement.focus(X)}_focusChanged(X){X!==this.focused&&(this.focused=X,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var X,Q;const q=(null===(Q=null===(X=this._formField)||void 0===X?void 0:X._hideControlPlaceholder)||void 0===Q?void 0:Q.call(X))?null:this.placeholder;if(q!==this._previousPlaceholder){const ue=this._elementRef.nativeElement;this._previousPlaceholder=q,q?ue.setAttribute("placeholder",q):ue.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const X=this._elementRef.nativeElement.value;this._previousNativeValue!==X&&(this._previousNativeValue=X,this.stateChanges.next())}_validateType(){w.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let X=this._elementRef.nativeElement.validity;return X&&X.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const X=this._elementRef.nativeElement,Q=X.options[0];return this.focused||X.multiple||!this.empty||!!(X.selectedIndex>-1&&Q&&Q.label)}return this.focused||!this.empty}setDescribedByIds(X){X.length?this._elementRef.nativeElement.setAttribute("aria-describedby",X.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const X=this._elementRef.nativeElement;return this._isNativeSelect&&(X.multiple||X.size>1)}}return z.\u0275fac=function(X){return new(X||z)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(l.t4),u.\u0275\u0275directiveInject(c.NgControl,10),u.\u0275\u0275directiveInject(c.NgForm,8),u.\u0275\u0275directiveInject(c.FormGroupDirective,8),u.\u0275\u0275directiveInject(r.ErrorStateMatcher),u.\u0275\u0275directiveInject(P,10),u.\u0275\u0275directiveInject(b),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(d.MAT_FORM_FIELD,8))},z.\u0275dir=u.\u0275\u0275defineDirective({type:z,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:11,hostBindings:function(X,Q){1&X&&u.\u0275\u0275listener("focus",function(){return Q._focusChanged(!0)})("blur",function(){return Q._focusChanged(!1)})("input",function(){return Q._onInput()}),2&X&&(u.\u0275\u0275hostProperty("disabled",Q.disabled)("required",Q.required),u.\u0275\u0275attribute("id",Q.id)("data-placeholder",Q.placeholder)("readonly",Q.readonly&&!Q._isNativeSelect||null)("aria-invalid",Q.empty&&Q.required?null:Q.errorState)("aria-required",Q.required),u.\u0275\u0275classProp("mat-input-server",Q._isServer)("mat-native-select-inline",Q._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[u.\u0275\u0275ProvidersFeature([{provide:d.MatFormFieldControl,useExisting:z}]),u.\u0275\u0275InheritDefinitionFeature,u.\u0275\u0275NgOnChangesFeature]}),z})(),$=(()=>{class z{}return z.\u0275fac=function(X){return new(X||z)},z.\u0275mod=u.\u0275\u0275defineNgModule({type:z}),z.\u0275inj=u.\u0275\u0275defineInjector({providers:[r.ErrorStateMatcher],imports:[[s,d.MatFormFieldModule,r.MatCommonModule],s,d.MatFormFieldModule]}),z})()},2181:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_MENU_CONTENT:()=>ae,MAT_MENU_DEFAULT_OPTIONS:()=>Dt,MAT_MENU_PANEL:()=>tt,MAT_MENU_SCROLL_STRATEGY:()=>Et,MatMenu:()=>bt,MatMenuContent:()=>ie,MatMenuItem:()=>mt,MatMenuModule:()=>gt,MatMenuTrigger:()=>yt,_MatMenuBase:()=>ct,_MatMenuContentBase:()=>U,_MatMenuTriggerBase:()=>ze,fadeInItems:()=>pe,matMenuAnimations:()=>xe,transformMenu:()=>oe});var n=o(5664),l=o(3191),u=o(1159),c=o(5e3),r=o(8929),d=o(2654),m=o(6787),p=o(1086),y=o(8139),b=o(1059),h=o(7545),g=o(2986),s=o(2198),C=o(7625),P=o(943),w=o(1777),D=o(7429),T=o(9808),Y=o(508),$=o(1314),z=o(925),G=o(226),X=o(9071);const Q=["mat-menu-item",""];function q(_e,Z){1&_e&&(c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(0,"svg",2),c.\u0275\u0275element(1,"polygon",3),c.\u0275\u0275elementEnd())}const ue=["*"];function me(_e,Z){if(1&_e){const j=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"div",0),c.\u0275\u0275listener("keydown",function(x){return c.\u0275\u0275restoreView(j),c.\u0275\u0275nextContext()._handleKeydown(x)})("click",function(){return c.\u0275\u0275restoreView(j),c.\u0275\u0275nextContext().closed.emit("click")})("@transformMenu.start",function(x){return c.\u0275\u0275restoreView(j),c.\u0275\u0275nextContext()._onAnimationStart(x)})("@transformMenu.done",function(x){return c.\u0275\u0275restoreView(j),c.\u0275\u0275nextContext()._onAnimationDone(x)}),c.\u0275\u0275elementStart(1,"div",1),c.\u0275\u0275projection(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd()}if(2&_e){const j=c.\u0275\u0275nextContext();c.\u0275\u0275property("id",j.panelId)("ngClass",j._classList)("@transformMenu",j._panelAnimationState),c.\u0275\u0275attribute("aria-label",j.ariaLabel||null)("aria-labelledby",j.ariaLabelledby||null)("aria-describedby",j.ariaDescribedby||null)}}const xe={transformMenu:(0,w.X$)("transformMenu",[(0,w.SB)("void",(0,w.oB)({opacity:0,transform:"scale(0.8)"})),(0,w.eR)("void => enter",(0,w.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,w.oB)({opacity:1,transform:"scale(1)"}))),(0,w.eR)("* => void",(0,w.jt)("100ms 25ms linear",(0,w.oB)({opacity:0})))]),fadeInItems:(0,w.X$)("fadeInItems",[(0,w.SB)("showing",(0,w.oB)({opacity:1})),(0,w.eR)("void => *",[(0,w.oB)({opacity:0}),(0,w.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},pe=xe.fadeInItems,oe=xe.transformMenu,ae=new c.InjectionToken("MatMenuContent");let U=(()=>{class _e{constructor(j,_,x,N,ce,Ue,Oe){this._template=j,this._componentFactoryResolver=_,this._appRef=x,this._injector=N,this._viewContainerRef=ce,this._document=Ue,this._changeDetectorRef=Oe,this._attached=new r.xQ}attach(j={}){this._portal||(this._portal=new D.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new D.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const _=this._template.elementRef.nativeElement;_.parentNode.insertBefore(this._outlet.outletElement,_),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,j),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return _e.\u0275fac=function(j){return new(j||_e)(c.\u0275\u0275directiveInject(c.TemplateRef),c.\u0275\u0275directiveInject(c.ComponentFactoryResolver),c.\u0275\u0275directiveInject(c.ApplicationRef),c.\u0275\u0275directiveInject(c.Injector),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(T.DOCUMENT),c.\u0275\u0275directiveInject(c.ChangeDetectorRef))},_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e}),_e})(),ie=(()=>{class _e extends U{}return _e.\u0275fac=function(){let Z;return function(_){return(Z||(Z=c.\u0275\u0275getInheritedFactory(_e)))(_||_e)}}(),_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["ng-template","matMenuContent",""]],features:[c.\u0275\u0275ProvidersFeature([{provide:ae,useExisting:_e}]),c.\u0275\u0275InheritDefinitionFeature]}),_e})();const tt=new c.InjectionToken("MAT_MENU_PANEL"),ot=(0,Y.mixinDisableRipple)((0,Y.mixinDisabled)(class{}));let mt=(()=>{class _e extends ot{constructor(j,_,x,N,ce){super(),this._elementRef=j,this._focusMonitor=x,this._parentMenu=N,this._changeDetectorRef=ce,this.role="menuitem",this._hovered=new r.xQ,this._focused=new r.xQ,this._highlighted=!1,this._triggersSubmenu=!1,N&&N.addItem&&N.addItem(this)}focus(j,_){this._focusMonitor&&j?this._focusMonitor.focusVia(this._getHostElement(),j,_):this._getHostElement().focus(_),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(j){this.disabled&&(j.preventDefault(),j.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var j;const _=this._elementRef.nativeElement.cloneNode(!0),x=_.querySelectorAll("mat-icon, .material-icons");for(let N=0;N{class _e{constructor(j,_,x){this._elementRef=j,this._ngZone=_,this._defaultOptions=x,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new c.QueryList,this._tabSubscription=d.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new r.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new c.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+Qe++}get xPosition(){return this._xPosition}set xPosition(j){this._xPosition=j,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(j){this._yPosition=j,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(j){this._overlapTrigger=(0,l.Ig)(j)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(j){this._hasBackdrop=(0,l.Ig)(j)}set panelClass(j){const _=this._previousPanelClass;_&&_.length&&_.split(" ").forEach(x=>{this._classList[x]=!1}),this._previousPanelClass=j,j&&j.length&&(j.split(" ").forEach(x=>{this._classList[x]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(j){this.panelClass=j}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new n.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,b.O)(this._directDescendantItems),(0,h.w)(j=>(0,m.T)(...j.map(_=>_._focused)))).subscribe(j=>this._keyManager.updateActiveItem(j))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,b.O)(this._directDescendantItems),(0,h.w)(_=>(0,m.T)(..._.map(x=>x._hovered))))}addItem(j){}removeItem(j){}_handleKeydown(j){const _=j.keyCode,x=this._keyManager;switch(_){case u.hY:(0,u.Vb)(j)||(j.preventDefault(),this.closed.emit("keydown"));break;case u.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case u.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:(_===u.LH||_===u.JH)&&x.setFocusOrigin("keyboard"),x.onKeydown(j)}}focusFirstItem(j="program"){this.lazyContent?this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(()=>this._focusFirstItem(j)):this._focusFirstItem(j)}_focusFirstItem(j){const _=this._keyManager;if(_.setFocusOrigin(j).setFirstItemActive(),!_.activeItem&&this._directDescendantItems.length){let x=this._directDescendantItems.first._getHostElement().parentElement;for(;x;){if("menu"===x.getAttribute("role")){x.focus();break}x=x.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(j){const _=Math.min(this._baseElevation+j,24),x=`${this._elevationPrefix}${_}`,N=Object.keys(this._classList).find(ce=>ce.startsWith(this._elevationPrefix));(!N||N===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[x]=!0,this._previousElevation=x)}setPositionClasses(j=this.xPosition,_=this.yPosition){const x=this._classList;x["mat-menu-before"]="before"===j,x["mat-menu-after"]="after"===j,x["mat-menu-above"]="above"===_,x["mat-menu-below"]="below"===_}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(j){this._animationDone.next(j),this._isAnimating=!1}_onAnimationStart(j){this._isAnimating=!0,"enter"===j.toState&&0===this._keyManager.activeItemIndex&&(j.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,b.O)(this._allItems)).subscribe(j=>{this._directDescendantItems.reset(j.filter(_=>_._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return _e.\u0275fac=function(j){return new(j||_e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(Dt))},_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e,contentQueries:function(j,_,x){if(1&j&&(c.\u0275\u0275contentQuery(x,ae,5),c.\u0275\u0275contentQuery(x,mt,5),c.\u0275\u0275contentQuery(x,mt,4)),2&j){let N;c.\u0275\u0275queryRefresh(N=c.\u0275\u0275loadQuery())&&(_.lazyContent=N.first),c.\u0275\u0275queryRefresh(N=c.\u0275\u0275loadQuery())&&(_._allItems=N),c.\u0275\u0275queryRefresh(N=c.\u0275\u0275loadQuery())&&(_.items=N)}},viewQuery:function(j,_){if(1&j&&c.\u0275\u0275viewQuery(c.TemplateRef,5),2&j){let x;c.\u0275\u0275queryRefresh(x=c.\u0275\u0275loadQuery())&&(_.templateRef=x.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"}}),_e})(),bt=(()=>{class _e extends ct{constructor(j,_,x){super(j,_,x),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return _e.\u0275fac=function(j){return new(j||_e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(Dt))},_e.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(j,_){2&j&&c.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[c.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:_e}]),c.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ue,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(j,_){1&j&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275template(0,me,3,6,"ng-template"))},directives:[T.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}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 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}\n"],encapsulation:2,data:{animation:[xe.transformMenu,xe.fadeInItems]},changeDetection:0}),_e})();const Et=new c.InjectionToken("mat-menu-scroll-strategy"),dt={provide:Et,deps:[$.aV],useFactory:function(_e){return()=>_e.scrollStrategies.reposition()}},rt=(0,z.i$)({passive:!0});let ze=(()=>{class _e{constructor(j,_,x,N,ce,Ue,Oe,ve){this._overlay=j,this._element=_,this._viewContainerRef=x,this._menuItemInstance=Ue,this._dir=Oe,this._focusMonitor=ve,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=d.w.EMPTY,this._hoverSubscription=d.w.EMPTY,this._menuCloseSubscription=d.w.EMPTY,this._handleTouchStart=Ae=>{(0,n.yG)(Ae)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new c.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new c.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=N,this._parentMaterialMenu=ce instanceof ct?ce:void 0,_.nativeElement.addEventListener("touchstart",this._handleTouchStart,rt),Ue&&(Ue._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(j){this.menu=j}get menu(){return this._menu}set menu(j){j!==this._menu&&(this._menu=j,this._menuCloseSubscription.unsubscribe(),j&&(this._menuCloseSubscription=j.close.subscribe(_=>{this._destroyMenu(_),("click"===_||"tab"===_)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(_)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,rt),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)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const j=this._createOverlay(),_=j.getConfig();this._setPosition(_.positionStrategy),_.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,j.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof ct&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(j,_){this._focusMonitor&&j?this._focusMonitor.focusVia(this._element,j,_):this._element.nativeElement.focus(_)}updatePosition(){var j;null===(j=this._overlayRef)||void 0===j||j.updatePosition()}_destroyMenu(j){if(!this._overlayRef||!this.menuOpen)return;const _=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===j||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,_ instanceof ct?(_._resetAnimation(),_.lazyContent?_._animationDone.pipe((0,s.h)(x=>"void"===x.toState),(0,g.q)(1),(0,C.R)(_.lazyContent._attached)).subscribe({next:()=>_.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),_.lazyContent&&_.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let j=0,_=this.menu.parentMenu;for(;_;)j++,_=_.parentMenu;this.menu.setElevation(j)}}_setIsMenuOpen(j){this._menuOpen=j,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(j)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const j=this._getOverlayConfig();this._subscribeToPositions(j.positionStrategy),this._overlayRef=this._overlay.create(j),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new $.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(j){this.menu.setPositionClasses&&j.positionChanges.subscribe(_=>{this.menu.setPositionClasses("start"===_.connectionPair.overlayX?"after":"before","top"===_.connectionPair.overlayY?"below":"above")})}_setPosition(j){let[_,x]="before"===this.menu.xPosition?["end","start"]:["start","end"],[N,ce]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[Ue,Oe]=[N,ce],[ve,Ae]=[_,x],nt=0;this.triggersSubmenu()?(Ae=_="before"===this.menu.xPosition?"start":"end",x=ve="end"===_?"start":"end",nt="bottom"===N?8:-8):this.menu.overlapTrigger||(Ue="top"===N?"bottom":"top",Oe="top"===ce?"bottom":"top"),j.withPositions([{originX:_,originY:Ue,overlayX:ve,overlayY:N,offsetY:nt},{originX:x,originY:Ue,overlayX:Ae,overlayY:N,offsetY:nt},{originX:_,originY:Oe,overlayX:ve,overlayY:ce,offsetY:-nt},{originX:x,originY:Oe,overlayX:Ae,overlayY:ce,offsetY:-nt}])}_menuClosingActions(){const j=this._overlayRef.backdropClick(),_=this._overlayRef.detachments(),x=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,p.of)(),N=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,s.h)(ce=>ce!==this._menuItemInstance),(0,s.h)(()=>this._menuOpen)):(0,p.of)();return(0,m.T)(j,x,N,_)}_handleMousedown(j){(0,n.X6)(j)||(this._openedBy=0===j.button?"mouse":void 0,this.triggersSubmenu()&&j.preventDefault())}_handleKeydown(j){const _=j.keyCode;(_===u.K5||_===u.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(_===u.SV&&"ltr"===this.dir||_===u.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(j){this.triggersSubmenu()?(j.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,s.h)(j=>j===this._menuItemInstance&&!j.disabled),(0,P.g)(0,y.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ct&&this.menu._isAnimating?this.menu._animationDone.pipe((0,g.q)(1),(0,P.g)(0,y.E),(0,C.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new D.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return _e.\u0275fac=function(j){return new(j||_e)(c.\u0275\u0275directiveInject($.aV),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(Et),c.\u0275\u0275directiveInject(tt,8),c.\u0275\u0275directiveInject(mt,10),c.\u0275\u0275directiveInject(G.Is,8),c.\u0275\u0275directiveInject(n.tE))},_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(j,_){1&j&&c.\u0275\u0275listener("click",function(N){return _._handleClick(N)})("mousedown",function(N){return _._handleMousedown(N)})("keydown",function(N){return _._handleKeydown(N)}),2&j&&c.\u0275\u0275attribute("aria-expanded",_.menuOpen||null)("aria-controls",_.menuOpen?_.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"}}),_e})(),yt=(()=>{class _e extends ze{}return _e.\u0275fac=function(){let Z;return function(_){return(Z||(Z=c.\u0275\u0275getInheritedFactory(_e)))(_||_e)}}(),_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[c.\u0275\u0275InheritDefinitionFeature]}),_e})(),gt=(()=>{class _e{}return _e.\u0275fac=function(j){return new(j||_e)},_e.\u0275mod=c.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=c.\u0275\u0275defineInjector({providers:[dt],imports:[[T.CommonModule,Y.MatCommonModule,Y.MatRippleModule,$.U8],X.ZD,Y.MatCommonModule]}),_e})()},7850:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_PAGINATOR_DEFAULT_OPTIONS:()=>ve,MAT_PAGINATOR_INTL_PROVIDER:()=>ce,MAT_PAGINATOR_INTL_PROVIDER_FACTORY:()=>N,MatPaginator:()=>Rt,MatPaginatorIntl:()=>x,MatPaginatorModule:()=>kt,PageEvent:()=>Oe,_MatPaginatorBase:()=>nt});var n=o(9808),l=o(5e3),u=o(508),c=o(7423),r=o(4107),d=o(1314),m=o(5664),p=o(9071),y=o(3191),b=o(1159),h=o(8929),g=o(6053),s=o(1961),C=o(6498),P=o(2986),w=o(1307),D=o(13),T=o(4850),Y=o(1059),$=o(7625),z=o(925);const X=new Set;let Q,q=(()=>{class pt{constructor($e){this._platform=$e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):me}matchMedia($e){return(this._platform.WEBKIT||this._platform.BLINK)&&function(pt){if(!X.has(pt))try{Q||(Q=document.createElement("style"),Q.setAttribute("type","text/css"),document.head.appendChild(Q)),Q.sheet&&(Q.sheet.insertRule(`@media ${pt} {body{ }}`,0),X.add(pt))}catch(Pt){console.error(Pt)}}($e),this._matchMedia($e)}}return pt.\u0275fac=function($e){return new($e||pt)(l.\u0275\u0275inject(z.t4))},pt.\u0275prov=l.\u0275\u0275defineInjectable({token:pt,factory:pt.\u0275fac,providedIn:"root"}),pt})();function me(pt){return{matches:"all"===pt||""===pt,media:pt,addListener:()=>{},removeListener:()=>{}}}let xe=(()=>{class pt{constructor($e,_t){this._mediaMatcher=$e,this._zone=_t,this._queries=new Map,this._destroySubject=new h.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched($e){return pe((0,y.Eq)($e)).some(Mt=>this._registerQuery(Mt).mql.matches)}observe($e){const Mt=pe((0,y.Eq)($e)).map(lt=>this._registerQuery(lt).observable);let Ge=(0,g.aj)(Mt);return Ge=(0,s.z)(Ge.pipe((0,P.q)(1)),Ge.pipe((0,w.T)(1),(0,D.b)(0))),Ge.pipe((0,T.U)(lt=>{const Ot={matches:!1,breakpoints:{}};return lt.forEach(({matches:Ft,query:Pe})=>{Ot.matches=Ot.matches||Ft,Ot.breakpoints[Pe]=Ft}),Ot}))}_registerQuery($e){if(this._queries.has($e))return this._queries.get($e);const _t=this._mediaMatcher.matchMedia($e),Ge={observable:new C.y(lt=>{const Ot=Ft=>this._zone.run(()=>lt.next(Ft));return _t.addListener(Ot),()=>{_t.removeListener(Ot)}}).pipe((0,Y.O)(_t),(0,T.U)(({matches:lt})=>({query:$e,matches:lt})),(0,$.R)(this._destroySubject)),mql:_t};return this._queries.set($e,Ge),Ge}}return pt.\u0275fac=function($e){return new($e||pt)(l.\u0275\u0275inject(q),l.\u0275\u0275inject(l.NgZone))},pt.\u0275prov=l.\u0275\u0275defineInjectable({token:pt,factory:pt.\u0275fac,providedIn:"root"}),pt})();function pe(pt){return pt.map(Pt=>Pt.split(",")).reduce((Pt,$e)=>Pt.concat($e)).map(Pt=>Pt.trim())}var ae=o(7429),U=o(1777),ie=o(226);const le={tooltipState:(0,U.X$)("state",[(0,U.SB)("initial, void, hidden",(0,U.oB)({opacity:0,transform:"scale(0)"})),(0,U.SB)("visible",(0,U.oB)({transform:"scale(1)"})),(0,U.eR)("* => visible",(0,U.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,U.F4)([(0,U.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,U.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,U.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,U.eR)("* => hidden",(0,U.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,U.oB)({opacity:0})))])},Ke="tooltip-panel",tt=(0,z.i$)({passive:!0}),Dt=new l.InjectionToken("mat-tooltip-scroll-strategy"),Qe={provide:Dt,deps:[d.aV],useFactory:function(pt){return()=>pt.scrollStrategies.reposition({scrollThrottle:20})}},ct=new l.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Et=(()=>{class pt{constructor($e,_t,Mt,Ge,lt,Ot,Ft,Pe,Ee,B,V,be){this._overlay=$e,this._elementRef=_t,this._scrollDispatcher=Mt,this._viewContainerRef=Ge,this._ngZone=lt,this._platform=Ot,this._ariaDescriber=Ft,this._focusMonitor=Pe,this._dir=B,this._defaultOptions=V,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new h.xQ,this._handleKeydown=je=>{this._isTooltipVisible()&&je.keyCode===b.hY&&!(0,b.Vb)(je)&&(je.preventDefault(),je.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=Ee,this._document=be,V&&(V.position&&(this.position=V.position),V.touchGestures&&(this.touchGestures=V.touchGestures)),B.change.pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),lt.runOutsideAngular(()=>{_t.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position($e){var _t;$e!==this._position&&(this._position=$e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(_t=this._tooltipInstance)||void 0===_t||_t.show(0),this._overlayRef.updatePosition()))}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)}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)}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),$e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([_t,Mt])=>{$e.removeEventListener(_t,Mt,tt)}),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){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const _t=this._createOverlay();this._detach(),this._portal=this._portal||new ae.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=_t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,$.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show($e)}hide($e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide($e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const $e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),_t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers($e);return _t.positionChanges.pipe((0,$.R)(this._destroyed)).subscribe(Mt=>{this._updateCurrentPositionClass(Mt.connectionPair),this._tooltipInstance&&Mt.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:_t,panelClass:`${this._cssClassPrefix}-${Ke}`,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(()=>{var Mt;return null===(Mt=this._tooltipInstance)||void 0===Mt?void 0:Mt._handleBodyInteraction()}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition($e){const _t=$e.getConfig().positionStrategy,Mt=this._getOrigin(),Ge=this._getOverlayPosition();_t.withPositions([this._addOffset(Object.assign(Object.assign({},Mt.main),Ge.main)),this._addOffset(Object.assign(Object.assign({},Mt.fallback),Ge.fallback))])}_addOffset($e){return $e}_getOrigin(){const $e=!this._dir||"ltr"==this._dir.value,_t=this.position;let Mt;"above"==_t||"below"==_t?Mt={originX:"center",originY:"above"==_t?"top":"bottom"}:"before"==_t||"left"==_t&&$e||"right"==_t&&!$e?Mt={originX:"start",originY:"center"}:("after"==_t||"right"==_t&&$e||"left"==_t&&!$e)&&(Mt={originX:"end",originY:"center"});const{x:Ge,y:lt}=this._invertPosition(Mt.originX,Mt.originY);return{main:Mt,fallback:{originX:Ge,originY:lt}}}_getOverlayPosition(){const $e=!this._dir||"ltr"==this._dir.value,_t=this.position;let Mt;"above"==_t?Mt={overlayX:"center",overlayY:"bottom"}:"below"==_t?Mt={overlayX:"center",overlayY:"top"}:"before"==_t||"left"==_t&&$e||"right"==_t&&!$e?Mt={overlayX:"end",overlayY:"center"}:("after"==_t||"right"==_t&&$e||"left"==_t&&!$e)&&(Mt={overlayX:"start",overlayY:"center"});const{x:Ge,y:lt}=this._invertPosition(Mt.overlayX,Mt.overlayY);return{main:Mt,fallback:{overlayX:Ge,overlayY:lt}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,P.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,_t){return"above"===this.position||"below"===this.position?"top"===_t?_t="bottom":"bottom"===_t&&(_t="top"):"end"===$e?$e="start":"start"===$e&&($e="end"),{x:$e,y:_t}}_updateCurrentPositionClass($e){const{overlayY:_t,originX:Mt,originY:Ge}=$e;let lt;if(lt="center"===_t?this._dir&&"rtl"===this._dir.value?"end"===Mt?"left":"right":"start"===Mt?"left":"right":"bottom"===_t&&"top"===Ge?"above":"below",lt!==this._currentPosition){const Ot=this._overlayRef;if(Ot){const Ft=`${this._cssClassPrefix}-${Ke}-`;Ot.removePanelClass(Ft+this._currentPosition),Ot.addPanelClass(Ft+lt)}this._currentPosition=lt}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const $e=[];if(this._platformSupportsMouseEvents())$e.push(["mouseleave",()=>this.hide()],["wheel",_t=>this._wheelListener(_t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const _t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};$e.push(["touchend",_t],["touchcancel",_t])}this._addListeners($e),this._passiveListeners.push(...$e)}_addListeners($e){$e.forEach(([_t,Mt])=>{this._elementRef.nativeElement.addEventListener(_t,Mt,tt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener($e){if(this._isTooltipVisible()){const _t=this._document.elementFromPoint($e.clientX,$e.clientY),Mt=this._elementRef.nativeElement;_t!==Mt&&!Mt.contains(_t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const $e=this.touchGestures;if("off"!==$e){const _t=this._elementRef.nativeElement,Mt=_t.style;("on"===$e||"INPUT"!==_t.nodeName&&"TEXTAREA"!==_t.nodeName)&&(Mt.userSelect=Mt.msUserSelect=Mt.webkitUserSelect=Mt.MozUserSelect="none"),("on"===$e||!_t.draggable)&&(Mt.webkitUserDrag="none"),Mt.touchAction="none",Mt.webkitTapHighlightColor="transparent"}}}return pt.\u0275fac=function($e){l.\u0275\u0275invalidFactory()},pt.\u0275dir=l.\u0275\u0275defineDirective({type:pt,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),pt})(),xt=(()=>{class pt extends Et{constructor($e,_t,Mt,Ge,lt,Ot,Ft,Pe,Ee,B,V,be){super($e,_t,Mt,Ge,lt,Ot,Ft,Pe,Ee,B,V,be),this._tooltipComponent=Ne}}return pt.\u0275fac=function($e){return new($e||pt)(l.\u0275\u0275directiveInject(d.aV),l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(p.mF),l.\u0275\u0275directiveInject(l.ViewContainerRef),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(z.t4),l.\u0275\u0275directiveInject(m.$s),l.\u0275\u0275directiveInject(m.tE),l.\u0275\u0275directiveInject(Dt),l.\u0275\u0275directiveInject(ie.Is,8),l.\u0275\u0275directiveInject(ct,8),l.\u0275\u0275directiveInject(n.DOCUMENT))},pt.\u0275dir=l.\u0275\u0275defineDirective({type:pt,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[l.\u0275\u0275InheritDefinitionFeature]}),pt})(),dt=(()=>{class pt{constructor($e){this._changeDetectorRef=$e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new h.xQ}show($e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},$e)}hide($e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},$e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone($e){const _t=$e.toState;"hidden"===_t&&!this.isVisible()&&this._onHide.next(),("visible"===_t||"hidden"===_t)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return pt.\u0275fac=function($e){return new($e||pt)(l.\u0275\u0275directiveInject(l.ChangeDetectorRef))},pt.\u0275dir=l.\u0275\u0275defineDirective({type:pt}),pt})(),Ne=(()=>{class pt extends dt{constructor($e,_t){super($e),this._breakpointObserver=_t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return pt.\u0275fac=function($e){return new($e||pt)(l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(xe))},pt.\u0275cmp=l.\u0275\u0275defineComponent({type:pt,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function($e,_t){2&$e&&l.\u0275\u0275styleProp("zoom","visible"===_t._visibility?1:null)},features:[l.\u0275\u0275InheritDefinitionFeature],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function($e,_t){if(1&$e&&(l.\u0275\u0275elementStart(0,"div",0),l.\u0275\u0275listener("@state.start",function(){return _t._animationStart()})("@state.done",function(Ge){return _t._animationDone(Ge)}),l.\u0275\u0275pipe(1,"async"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()),2&$e){let Mt;l.\u0275\u0275classProp("mat-tooltip-handset",null==(Mt=l.\u0275\u0275pipeBind1(1,5,_t._isHandset))?null:Mt.matches),l.\u0275\u0275property("ngClass",_t.tooltipClass)("@state",_t._visibility),l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate(_t.message)}},directives:[n.NgClass],pipes:[n.AsyncPipe],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[le.tooltipState]},changeDetection:0}),pt})(),rt=(()=>{class pt{}return pt.\u0275fac=function($e){return new($e||pt)},pt.\u0275mod=l.\u0275\u0275defineNgModule({type:pt}),pt.\u0275inj=l.\u0275\u0275defineInjector({providers:[Qe],imports:[[m.rt,n.CommonModule,d.U8,u.MatCommonModule],u.MatCommonModule,p.ZD]}),pt})();var ze=o(7322);function yt(pt,Pt){if(1&pt&&(l.\u0275\u0275elementStart(0,"mat-option",19),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&pt){const $e=Pt.$implicit;l.\u0275\u0275property("value",$e),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",$e," ")}}function gt(pt,Pt){if(1&pt){const $e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"mat-form-field",16),l.\u0275\u0275elementStart(1,"mat-select",17),l.\u0275\u0275listener("selectionChange",function(Mt){return l.\u0275\u0275restoreView($e),l.\u0275\u0275nextContext(2)._changePageSize(Mt.value)}),l.\u0275\u0275template(2,yt,2,2,"mat-option",18),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()}if(2&pt){const $e=l.\u0275\u0275nextContext(2);l.\u0275\u0275property("appearance",$e._formFieldAppearance)("color",$e.color),l.\u0275\u0275advance(1),l.\u0275\u0275property("value",$e.pageSize)("disabled",$e.disabled)("aria-label",$e._intl.itemsPerPageLabel),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",$e._displayedPageSizeOptions)}}function _e(pt,Pt){if(1&pt&&(l.\u0275\u0275elementStart(0,"div",20),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&pt){const $e=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate($e.pageSize)}}function Z(pt,Pt){if(1&pt&&(l.\u0275\u0275elementStart(0,"div",12),l.\u0275\u0275elementStart(1,"div",13),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(3,gt,3,6,"mat-form-field",14),l.\u0275\u0275template(4,_e,2,1,"div",15),l.\u0275\u0275elementEnd()),2&pt){const $e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",$e._intl.itemsPerPageLabel," "),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",$e._displayedPageSizeOptions.length>1),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",$e._displayedPageSizeOptions.length<=1)}}function j(pt,Pt){if(1&pt){const $e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"button",21),l.\u0275\u0275listener("click",function(){return l.\u0275\u0275restoreView($e),l.\u0275\u0275nextContext().firstPage()}),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(1,"svg",7),l.\u0275\u0275element(2,"path",22),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()}if(2&pt){const $e=l.\u0275\u0275nextContext();l.\u0275\u0275property("matTooltip",$e._intl.firstPageLabel)("matTooltipDisabled",$e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",$e._previousButtonsDisabled()),l.\u0275\u0275attribute("aria-label",$e._intl.firstPageLabel)}}function _(pt,Pt){if(1&pt){const $e=l.\u0275\u0275getCurrentView();l.\u0275\u0275namespaceSVG(),l.\u0275\u0275namespaceHTML(),l.\u0275\u0275elementStart(0,"button",23),l.\u0275\u0275listener("click",function(){return l.\u0275\u0275restoreView($e),l.\u0275\u0275nextContext().lastPage()}),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(1,"svg",7),l.\u0275\u0275element(2,"path",24),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()}if(2&pt){const $e=l.\u0275\u0275nextContext();l.\u0275\u0275property("matTooltip",$e._intl.lastPageLabel)("matTooltipDisabled",$e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",$e._nextButtonsDisabled()),l.\u0275\u0275attribute("aria-label",$e._intl.lastPageLabel)}}let x=(()=>{class pt{constructor(){this.changes=new h.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=($e,_t,Mt)=>{if(0==Mt||0==_t)return`0 of ${Mt}`;const Ge=$e*_t;return`${Ge+1} \u2013 ${Ge<(Mt=Math.max(Mt,0))?Math.min(Ge+_t,Mt):Ge+_t} of ${Mt}`}}}return pt.\u0275fac=function($e){return new($e||pt)},pt.\u0275prov=l.\u0275\u0275defineInjectable({token:pt,factory:pt.\u0275fac,providedIn:"root"}),pt})();function N(pt){return pt||new x}const ce={provide:x,deps:[[new l.Optional,new l.SkipSelf,x]],useFactory:N};class Oe{}const ve=new l.InjectionToken("MAT_PAGINATOR_DEFAULT_OPTIONS"),Ae=(0,u.mixinDisabled)((0,u.mixinInitialized)(class{}));let nt=(()=>{class pt extends Ae{constructor($e,_t,Mt){if(super(),this._intl=$e,this._changeDetectorRef=_t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new l.EventEmitter,this._intlChanges=$e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),Mt){const{pageSize:Ge,pageSizeOptions:lt,hidePageSize:Ot,showFirstLastButtons:Ft}=Mt;null!=Ge&&(this._pageSize=Ge),null!=lt&&(this._pageSizeOptions=lt),null!=Ot&&(this._hidePageSize=Ot),null!=Ft&&(this._showFirstLastButtons=Ft)}}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(_t=>(0,y.su)(_t)),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)}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 Mt=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/$e)||0,this.pageSize=$e,this._emitPageEvent(Mt)}_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,_t)=>$e-_t),this._changeDetectorRef.markForCheck())}_emitPageEvent($e){this.page.emit({previousPageIndex:$e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return pt.\u0275fac=function($e){l.\u0275\u0275invalidFactory()},pt.\u0275dir=l.\u0275\u0275defineDirective({type:pt,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[l.\u0275\u0275InheritDefinitionFeature]}),pt})(),Rt=(()=>{class pt extends nt{constructor($e,_t,Mt){super($e,_t,Mt),Mt&&null!=Mt.formFieldAppearance&&(this._formFieldAppearance=Mt.formFieldAppearance)}}return pt.\u0275fac=function($e){return new($e||pt)(l.\u0275\u0275directiveInject(x),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(ve,8))},pt.\u0275cmp=l.\u0275\u0275defineComponent({type:pt,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[l.\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",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","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,_t){1&$e&&(l.\u0275\u0275elementStart(0,"div",0),l.\u0275\u0275elementStart(1,"div",1),l.\u0275\u0275template(2,Z,5,3,"div",2),l.\u0275\u0275elementStart(3,"div",3),l.\u0275\u0275elementStart(4,"div",4),l.\u0275\u0275text(5),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(6,j,3,5,"button",5),l.\u0275\u0275elementStart(7,"button",6),l.\u0275\u0275listener("click",function(){return _t.previousPage()}),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(8,"svg",7),l.\u0275\u0275element(9,"path",8),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275namespaceHTML(),l.\u0275\u0275elementStart(10,"button",9),l.\u0275\u0275listener("click",function(){return _t.nextPage()}),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(11,"svg",7),l.\u0275\u0275element(12,"path",10),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(13,_,3,5,"button",11),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&$e&&(l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",!_t.hidePageSize),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate1(" ",_t._intl.getRangeLabel(_t.pageIndex,_t.pageSize,_t.length)," "),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",_t.showFirstLastButtons),l.\u0275\u0275advance(1),l.\u0275\u0275property("matTooltip",_t._intl.previousPageLabel)("matTooltipDisabled",_t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",_t._previousButtonsDisabled()),l.\u0275\u0275attribute("aria-label",_t._intl.previousPageLabel),l.\u0275\u0275advance(3),l.\u0275\u0275property("matTooltip",_t._intl.nextPageLabel)("matTooltipDisabled",_t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",_t._nextButtonsDisabled()),l.\u0275\u0275attribute("aria-label",_t._intl.nextPageLabel),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",_t.showFirstLastButtons))},directives:[n.NgIf,c.MatButton,xt,ze.MatFormField,r.MatSelect,n.NgForOf,u.MatOption],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{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),pt})(),kt=(()=>{class pt{}return pt.\u0275fac=function($e){return new($e||pt)},pt.\u0275mod=l.\u0275\u0275defineNgModule({type:pt}),pt.\u0275inj=l.\u0275\u0275defineInjector({providers:[ce],imports:[[n.CommonModule,c.MatButtonModule,r.MatSelectModule,rt,u.MatCommonModule]]}),pt})()},773:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS:()=>P,MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY:()=>w,MatProgressSpinner:()=>T,MatProgressSpinnerModule:()=>$,MatSpinner:()=>Y});var n=o(5e3),l=o(9808),u=o(508),c=o(3191),r=o(925),d=o(6360);function m(z,G){if(1&z&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275element(0,"circle",3)),2&z){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+X._spinnerAnimationLabel)("stroke-dashoffset",X._getStrokeDashOffset(),"px")("stroke-dasharray",X._getStrokeCircumference(),"px")("stroke-width",X._getCircleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",X._getCircleRadius())}}function p(z,G){if(1&z&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275element(0,"circle",3)),2&z){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("stroke-dashoffset",X._getStrokeDashOffset(),"px")("stroke-dasharray",X._getStrokeCircumference(),"px")("stroke-width",X._getCircleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",X._getCircleRadius())}}function y(z,G){if(1&z&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275element(0,"circle",3)),2&z){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+X._spinnerAnimationLabel)("stroke-dashoffset",X._getStrokeDashOffset(),"px")("stroke-dasharray",X._getStrokeCircumference(),"px")("stroke-width",X._getCircleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",X._getCircleRadius())}}function b(z,G){if(1&z&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275element(0,"circle",3)),2&z){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("stroke-dashoffset",X._getStrokeDashOffset(),"px")("stroke-dasharray",X._getStrokeCircumference(),"px")("stroke-width",X._getCircleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",X._getCircleRadius())}}const C=(0,u.mixinColor)(class{constructor(z){this._elementRef=z}},"primary"),P=new n.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:w});function w(){return{diameter:100}}class T extends C{constructor(G,X,Q,q,ue){super(G),this._document=Q,this._diameter=100,this._value=0,this.mode="determinate";const me=T._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),me.has(Q.head)||me.set(Q.head,new Set([100])),this._noopAnimations="NoopAnimations"===q&&!!ue&&!ue._forceAnimations,ue&&(ue.diameter&&(this.diameter=ue.diameter),ue.strokeWidth&&(this.strokeWidth=ue.strokeWidth))}get diameter(){return this._diameter}set diameter(G){this._diameter=(0,c.su)(G),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(G){this._strokeWidth=(0,c.su)(G)}get value(){return"determinate"===this.mode?this._value:0}set value(G){this._value=Math.max(0,Math.min(100,(0,c.su)(G)))}ngOnInit(){const G=this._elementRef.nativeElement;this._styleRoot=(0,r.kV)(G)||this._document.head,this._attachStyleNode(),G.classList.add("mat-progress-spinner-indeterminate-animation")}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const G=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${G} ${G}`}_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}_attachStyleNode(){const G=this._styleRoot,X=this._diameter,Q=T._diameters;let q=Q.get(G);if(!q||!q.has(X)){const ue=this._document.createElement("style");ue.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),ue.textContent=this._getAnimationText(),G.appendChild(ue),q||(q=new Set,Q.set(G,q)),q.add(X)}}_getAnimationText(){const G=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*G).replace(/END_VALUE/g,""+.2*G).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}T._diameters=new WeakMap,T.\u0275fac=function(G){return new(G||T)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(l.DOCUMENT,8),n.\u0275\u0275directiveInject(d.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(P))},T.\u0275cmp=n.\u0275\u0275defineComponent({type:T,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(G,X){2&G&&(n.\u0275\u0275attribute("aria-valuemin","determinate"===X.mode?0:null)("aria-valuemax","determinate"===X.mode?100:null)("aria-valuenow","determinate"===X.mode?X.value:null)("mode",X.mode),n.\u0275\u0275styleProp("width",X.diameter,"px")("height",X.diameter,"px"),n.\u0275\u0275classProp("_mat-animation-noopable",X._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[n.\u0275\u0275InheritDefinitionFeature],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(G,X){1&G&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",0),n.\u0275\u0275template(1,m,1,9,"circle",1),n.\u0275\u0275template(2,p,1,7,"circle",2),n.\u0275\u0275elementEnd()),2&G&&(n.\u0275\u0275styleProp("width",X.diameter,"px")("height",X.diameter,"px"),n.\u0275\u0275property("ngSwitch","indeterminate"===X.mode),n.\u0275\u0275attribute("viewBox",X._getViewBox()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngSwitchCase",!0),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngSwitchCase",!1))},directives:[l.NgSwitch,l.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:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[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-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation: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)}}\n"],encapsulation:2,changeDetection:0});let Y=(()=>{class z extends T{constructor(X,Q,q,ue,me){super(X,Q,q,ue,me),this.mode="indeterminate"}}return z.\u0275fac=function(X){return new(X||z)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(l.DOCUMENT,8),n.\u0275\u0275directiveInject(d.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(P))},z.\u0275cmp=n.\u0275\u0275defineComponent({type:z,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(X,Q){2&X&&(n.\u0275\u0275styleProp("width",Q.diameter,"px")("height",Q.diameter,"px"),n.\u0275\u0275classProp("_mat-animation-noopable",Q._noopAnimations))},inputs:{color:"color"},features:[n.\u0275\u0275InheritDefinitionFeature],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(X,Q){1&X&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",0),n.\u0275\u0275template(1,y,1,9,"circle",1),n.\u0275\u0275template(2,b,1,7,"circle",2),n.\u0275\u0275elementEnd()),2&X&&(n.\u0275\u0275styleProp("width",Q.diameter,"px")("height",Q.diameter,"px"),n.\u0275\u0275property("ngSwitch","indeterminate"===Q.mode),n.\u0275\u0275attribute("viewBox",Q._getViewBox()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngSwitchCase",!0),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngSwitchCase",!1))},directives:[l.NgSwitch,l.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:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[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-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation: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)}}\n"],encapsulation:2,changeDetection:0}),z})(),$=(()=>{class z{}return z.\u0275fac=function(X){return new(X||z)},z.\u0275mod=n.\u0275\u0275defineNgModule({type:z}),z.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.MatCommonModule,l.CommonModule],u.MatCommonModule]}),z})()},9814:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_RADIO_DEFAULT_OPTIONS:()=>h,MAT_RADIO_DEFAULT_OPTIONS_FACTORY:()=>g,MAT_RADIO_GROUP:()=>w,MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR:()=>C,MatRadioButton:()=>G,MatRadioChange:()=>P,MatRadioGroup:()=>T,MatRadioModule:()=>X,_MatRadioButtonBase:()=>z,_MatRadioGroupBase:()=>D});var n=o(5e3),l=o(508),u=o(3191),c=o(3075),r=o(6360),d=o(5664),m=o(449);const p=["input"],y=function(Q){return{enterDuration:Q}},b=["*"],h=new n.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:g});function g(){return{color:"accent"}}let s=0;const C={provide:c.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>T),multi:!0};class P{constructor(q,ue){this.source=q,this.value=ue}}const w=new n.InjectionToken("MatRadioGroup");let D=(()=>{class Q{constructor(ue){this._changeDetector=ue,this._value=null,this._name="mat-radio-group-"+s++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.EventEmitter}get name(){return this._name}set name(ue){this._name=ue,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(ue){this._labelPosition="before"===ue?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(ue){this._value!==ue&&(this._value=ue,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(ue){this._selected=ue,this.value=ue?ue.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(ue){this._disabled=(0,u.Ig)(ue),this._markRadiosForCheck()}get required(){return this._required}set required(ue){this._required=(0,u.Ig)(ue),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(ue=>{ue.name=this.name,ue._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(me=>{me.checked=this.value===me.value,me.checked&&(this._selected=me)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new P(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(ue=>ue._markForCheck())}writeValue(ue){this.value=ue,this._changeDetector.markForCheck()}registerOnChange(ue){this._controlValueAccessorChangeFn=ue}registerOnTouched(ue){this.onTouched=ue}setDisabledState(ue){this.disabled=ue,this._changeDetector.markForCheck()}}return Q.\u0275fac=function(ue){return new(ue||Q)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},Q.\u0275dir=n.\u0275\u0275defineDirective({type:Q,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),Q})(),T=(()=>{class Q extends D{}return Q.\u0275fac=function(){let q;return function(me){return(q||(q=n.\u0275\u0275getInheritedFactory(Q)))(me||Q)}}(),Q.\u0275dir=n.\u0275\u0275defineDirective({type:Q,selectors:[["mat-radio-group"]],contentQueries:function(ue,me,xe){if(1&ue&&n.\u0275\u0275contentQuery(xe,G,5),2&ue){let pe;n.\u0275\u0275queryRefresh(pe=n.\u0275\u0275loadQuery())&&(me._radios=pe)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[n.\u0275\u0275ProvidersFeature([C,{provide:w,useExisting:Q}]),n.\u0275\u0275InheritDefinitionFeature]}),Q})();class Y{constructor(q){this._elementRef=q}}const $=(0,l.mixinDisableRipple)((0,l.mixinTabIndex)(Y));let z=(()=>{class Q extends ${constructor(ue,me,xe,pe,oe,ae,U,ie){super(me),this._changeDetector=xe,this._focusMonitor=pe,this._radioDispatcher=oe,this._providerOverride=U,this._uniqueId="mat-radio-"+ ++s,this.id=this._uniqueId,this.change=new n.EventEmitter,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=ue,this._noopAnimations="NoopAnimations"===ae,ie&&(this.tabIndex=(0,u.su)(ie,0)),this._removeUniqueSelectionListener=oe.listen((le,Ce)=>{le!==this.id&&Ce===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(ue){const me=(0,u.Ig)(ue);this._checked!==me&&(this._checked=me,me&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!me&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),me&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(ue){this._value!==ue&&(this._value=ue,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===ue),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(ue){this._labelPosition=ue}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(ue){this._setDisabled((0,u.Ig)(ue))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(ue){this._required=(0,u.Ig)(ue)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(ue){this._color=ue}get inputId(){return`${this.id||this._uniqueId}-input`}focus(ue,me){me?this._focusMonitor.focusVia(this._inputElement,me,ue):this._inputElement.nativeElement.focus(ue)}_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)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ue=>{!ue&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new P(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(ue){ue.stopPropagation()}_onInputInteraction(ue){if(ue.stopPropagation(),!this.checked&&!this.disabled){const me=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),me&&this.radioGroup._emitChangeEvent())}}_setDisabled(ue){this._disabled!==ue&&(this._disabled=ue,this._changeDetector.markForCheck())}}return Q.\u0275fac=function(ue){n.\u0275\u0275invalidFactory()},Q.\u0275dir=n.\u0275\u0275defineDirective({type:Q,viewQuery:function(ue,me){if(1&ue&&n.\u0275\u0275viewQuery(p,5),2&ue){let xe;n.\u0275\u0275queryRefresh(xe=n.\u0275\u0275loadQuery())&&(me._inputElement=xe.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]}),Q})(),G=(()=>{class Q extends z{constructor(ue,me,xe,pe,oe,ae,U,ie){super(ue,me,xe,pe,oe,ae,U,ie)}}return Q.\u0275fac=function(ue){return new(ue||Q)(n.\u0275\u0275directiveInject(w,8),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(d.tE),n.\u0275\u0275directiveInject(m.A8),n.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(h,8),n.\u0275\u0275injectAttribute("tabindex"))},Q.\u0275cmp=n.\u0275\u0275defineComponent({type:Q,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(ue,me){1&ue&&n.\u0275\u0275listener("focus",function(){return me._inputElement.nativeElement.focus()}),2&ue&&(n.\u0275\u0275attribute("tabindex",null)("id",me.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.\u0275\u0275classProp("mat-radio-checked",me.checked)("mat-radio-disabled",me.disabled)("_mat-animation-noopable",me._noopAnimations)("mat-primary","primary"===me.color)("mat-accent","accent"===me.color)("mat-warn","warn"===me.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:b,decls:13,vars:20,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","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","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(ue,me){if(1&ue&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"label",0,1),n.\u0275\u0275elementStart(2,"span",2),n.\u0275\u0275element(3,"span",3),n.\u0275\u0275element(4,"span",4),n.\u0275\u0275elementStart(5,"input",5,6),n.\u0275\u0275listener("change",function(pe){return me._onInputInteraction(pe)})("click",function(pe){return me._onInputClick(pe)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(7,"span",7),n.\u0275\u0275element(8,"span",8),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(9,"span",9),n.\u0275\u0275elementStart(10,"span",10),n.\u0275\u0275text(11,"\xa0"),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(12),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementEnd()),2&ue){const xe=n.\u0275\u0275reference(1);n.\u0275\u0275attribute("for",me.inputId),n.\u0275\u0275advance(5),n.\u0275\u0275property("id",me.inputId)("checked",me.checked)("disabled",me.disabled)("tabIndex",me.tabIndex)("required",me.required),n.\u0275\u0275attribute("name",me.name)("value",me.value)("aria-label",me.ariaLabel)("aria-labelledby",me.ariaLabelledby)("aria-describedby",me.ariaDescribedby),n.\u0275\u0275advance(2),n.\u0275\u0275property("matRippleTrigger",xe)("matRippleDisabled",me._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.\u0275\u0275pureFunction1(18,y,me._noopAnimations?0:150)),n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-radio-label-before","before"==me.labelPosition)}},directives:[l.MatRipple],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-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;-moz-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{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),Q})(),X=(()=>{class Q{}return Q.\u0275fac=function(ue){return new(ue||Q)},Q.\u0275mod=n.\u0275\u0275defineNgModule({type:Q}),Q.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.MatRippleModule,l.MatCommonModule],l.MatCommonModule]}),Q})()},4107:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_SELECT_CONFIG:()=>Et,MAT_SELECT_SCROLL_STRATEGY:()=>ct,MAT_SELECT_SCROLL_STRATEGY_PROVIDER:()=>xt,MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>bt,MAT_SELECT_TRIGGER:()=>rt,MatSelect:()=>gt,MatSelectChange:()=>dt,MatSelectModule:()=>_e,MatSelectTrigger:()=>ze,_MatSelectBase:()=>yt,matSelectAnimations:()=>ie});var n=o(1314),l=o(9808),u=o(5e3),c=o(508),r=o(7322),d=o(9071),m=o(5664),p=o(3191),y=o(449),b=o(1159),h=o(3075),g=o(8929),s=o(8514),C=o(6787),P=o(1059),w=o(7545),D=o(2986),T=o(2198),Y=o(4850),$=o(5778),z=o(7625),G=o(1777),X=o(226);const Q=["trigger"],q=["panel"];function ue(Z,j){if(1&Z&&(u.\u0275\u0275elementStart(0,"span",8),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&Z){const _=u.\u0275\u0275nextContext();u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(_.placeholder)}}function me(Z,j){if(1&Z&&(u.\u0275\u0275elementStart(0,"span",12),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&Z){const _=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(_.triggerValue)}}function xe(Z,j){1&Z&&u.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function pe(Z,j){if(1&Z&&(u.\u0275\u0275elementStart(0,"span",9),u.\u0275\u0275template(1,me,2,1,"span",10),u.\u0275\u0275template(2,xe,1,0,"ng-content",11),u.\u0275\u0275elementEnd()),2&Z){const _=u.\u0275\u0275nextContext();u.\u0275\u0275property("ngSwitch",!!_.customTrigger),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngSwitchCase",!0)}}function oe(Z,j){if(1&Z){const _=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",13),u.\u0275\u0275elementStart(1,"div",14,15),u.\u0275\u0275listener("@transformPanel.done",function(N){return u.\u0275\u0275restoreView(_),u.\u0275\u0275nextContext()._panelDoneAnimatingStream.next(N.toState)})("keydown",function(N){return u.\u0275\u0275restoreView(_),u.\u0275\u0275nextContext()._handleKeydown(N)}),u.\u0275\u0275projection(3,1),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd()}if(2&Z){const _=u.\u0275\u0275nextContext();u.\u0275\u0275property("@transformPanelWrap",void 0),u.\u0275\u0275advance(1),u.\u0275\u0275classMapInterpolate1("mat-select-panel ",_._getPanelTheme(),""),u.\u0275\u0275styleProp("transform-origin",_._transformOrigin)("font-size",_._triggerFontSize,"px"),u.\u0275\u0275property("ngClass",_.panelClass)("@transformPanel",_.multiple?"showing-multiple":"showing"),u.\u0275\u0275attribute("id",_.id+"-panel")("aria-multiselectable",_.multiple)("aria-label",_.ariaLabel||null)("aria-labelledby",_._getPanelAriaLabelledby())}}const ae=[[["mat-select-trigger"]],"*"],U=["mat-select-trigger","*"],ie={transformPanelWrap:(0,G.X$)("transformPanelWrap",[(0,G.eR)("* => void",(0,G.IO)("@transformPanel",[(0,G.pV)()],{optional:!0}))]),transformPanel:(0,G.X$)("transformPanel",[(0,G.SB)("void",(0,G.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,G.SB)("showing",(0,G.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,G.SB)("showing-multiple",(0,G.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,G.eR)("void => *",(0,G.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,G.eR)("* => void",(0,G.jt)("100ms 25ms linear",(0,G.oB)({opacity:0})))])};let Ke=0;const ct=new u.InjectionToken("mat-select-scroll-strategy");function bt(Z){return()=>Z.scrollStrategies.reposition()}const Et=new u.InjectionToken("MAT_SELECT_CONFIG"),xt={provide:ct,deps:[n.aV],useFactory:bt};class dt{constructor(j,_){this.source=j,this.value=_}}const Ne=(0,c.mixinDisableRipple)((0,c.mixinTabIndex)((0,c.mixinDisabled)((0,c.mixinErrorState)(class{constructor(Z,j,_,x,N){this._elementRef=Z,this._defaultErrorStateMatcher=j,this._parentForm=_,this._parentFormGroup=x,this.ngControl=N}})))),rt=new u.InjectionToken("MatSelectTrigger");let ze=(()=>{class Z{}return Z.\u0275fac=function(_){return new(_||Z)},Z.\u0275dir=u.\u0275\u0275defineDirective({type:Z,selectors:[["mat-select-trigger"]],features:[u.\u0275\u0275ProvidersFeature([{provide:rt,useExisting:Z}])]}),Z})(),yt=(()=>{class Z extends Ne{constructor(_,x,N,ce,Ue,Oe,ve,Ae,nt,Rt,kt,pt,Pt,$e){var _t,Mt,Ge;super(Ue,ce,ve,Ae,Rt),this._viewportRuler=_,this._changeDetectorRef=x,this._ngZone=N,this._dir=Oe,this._parentFormField=nt,this._liveAnnouncer=Pt,this._defaultOptions=$e,this._panelOpen=!1,this._compareWith=(lt,Ot)=>lt===Ot,this._uid="mat-select-"+Ke++,this._triggerAriaLabelledBy=null,this._destroy=new g.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Ke++,this._panelDoneAnimatingStream=new g.xQ,this._overlayPanelClass=(null===(_t=this._defaultOptions)||void 0===_t?void 0:_t.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Ge=null===(Mt=this._defaultOptions)||void 0===Mt?void 0:Mt.disableOptionCentering)&&void 0!==Ge&&Ge,this.ariaLabel="",this.optionSelectionChanges=(0,s.P)(()=>{const lt=this.options;return lt?lt.changes.pipe((0,P.O)(lt),(0,w.w)(()=>(0,C.T)(...lt.map(Ot=>Ot.onSelectionChange)))):this._ngZone.onStable.pipe((0,D.q)(1),(0,w.w)(()=>this.optionSelectionChanges))}),this.openedChange=new u.EventEmitter,this._openedStream=this.openedChange.pipe((0,T.h)(lt=>lt),(0,Y.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,T.h)(lt=>!lt),(0,Y.U)(()=>{})),this.selectionChange=new u.EventEmitter,this.valueChange=new u.EventEmitter,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==$e?void 0:$e.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=$e.typeaheadDebounceInterval),this._scrollStrategyFactory=pt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(kt)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(_){this._placeholder=_,this.stateChanges.next()}get required(){var _,x,N,ce;return null!==(ce=null!==(_=this._required)&&void 0!==_?_:null===(N=null===(x=this.ngControl)||void 0===x?void 0:x.control)||void 0===N?void 0:N.hasValidator(h.Validators.required))&&void 0!==ce&&ce}set required(_){this._required=(0,p.Ig)(_),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(_){this._multiple=(0,p.Ig)(_)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(_){this._disableOptionCentering=(0,p.Ig)(_)}get compareWith(){return this._compareWith}set compareWith(_){this._compareWith=_,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(_){(_!==this._value||this._multiple&&Array.isArray(_))&&(this.options&&this._setSelectionByValue(_),this._value=_)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(_){this._typeaheadDebounceInterval=(0,p.su)(_)}get id(){return this._id}set id(_){this._id=_||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new y.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,$.x)(),(0,z.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,z.R)(this._destroy)).subscribe(_=>{_.added.forEach(x=>x.select()),_.removed.forEach(x=>x.deselect())}),this.options.changes.pipe((0,P.O)(null),(0,z.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const _=this._getTriggerAriaLabelledby();if(_!==this._triggerAriaLabelledBy){const x=this._elementRef.nativeElement;this._triggerAriaLabelledBy=_,_?x.setAttribute("aria-labelledby",_):x.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(_){_.disabled&&this.stateChanges.next(),_.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(_){this.value=_}registerOnChange(_){this._onChange=_}registerOnTouched(_){this._onTouched=_}setDisabledState(_){this.disabled=_,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var _,x;return this.multiple?(null===(_=this._selectionModel)||void 0===_?void 0:_.selected)||[]:null===(x=this._selectionModel)||void 0===x?void 0:x.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const _=this._selectionModel.selected.map(x=>x.viewValue);return this._isRtl()&&_.reverse(),_.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(_){this.disabled||(this.panelOpen?this._handleOpenKeydown(_):this._handleClosedKeydown(_))}_handleClosedKeydown(_){const x=_.keyCode,N=x===b.JH||x===b.LH||x===b.oh||x===b.SV,ce=x===b.K5||x===b.L_,Ue=this._keyManager;if(!Ue.isTyping()&&ce&&!(0,b.Vb)(_)||(this.multiple||_.altKey)&&N)_.preventDefault(),this.open();else if(!this.multiple){const Oe=this.selected;Ue.onKeydown(_);const ve=this.selected;ve&&Oe!==ve&&this._liveAnnouncer.announce(ve.viewValue,1e4)}}_handleOpenKeydown(_){const x=this._keyManager,N=_.keyCode,ce=N===b.JH||N===b.LH,Ue=x.isTyping();if(ce&&_.altKey)_.preventDefault(),this.close();else if(Ue||N!==b.K5&&N!==b.L_||!x.activeItem||(0,b.Vb)(_))if(!Ue&&this._multiple&&N===b.A&&_.ctrlKey){_.preventDefault();const Oe=this.options.some(ve=>!ve.disabled&&!ve.selected);this.options.forEach(ve=>{ve.disabled||(Oe?ve.select():ve.deselect())})}else{const Oe=x.activeItemIndex;x.onKeydown(_),this._multiple&&ce&&_.shiftKey&&x.activeItem&&x.activeItemIndex!==Oe&&x.activeItem._selectViaInteraction()}else _.preventDefault(),x.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,D.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._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(_){if(this._selectionModel.selected.forEach(x=>x.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&_)Array.isArray(_),_.forEach(x=>this._selectValue(x)),this._sortValues();else{const x=this._selectValue(_);x?this._keyManager.updateActiveItem(x):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(_){const x=this.options.find(N=>{if(this._selectionModel.isSelected(N))return!1;try{return null!=N.value&&this._compareWith(N.value,_)}catch(ce){return!1}});return x&&this._selectionModel.select(x),x}_initKeyManager(){this._keyManager=new m.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,z.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,z.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const _=(0,C.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,z.R)(_)).subscribe(x=>{this._onSelect(x.source,x.isUserInput),x.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,C.T)(...this.options.map(x=>x._stateChanges)).pipe((0,z.R)(_)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(_,x){const N=this._selectionModel.isSelected(_);null!=_.value||this._multiple?(N!==_.selected&&(_.selected?this._selectionModel.select(_):this._selectionModel.deselect(_)),x&&this._keyManager.setActiveItem(_),this.multiple&&(this._sortValues(),x&&this.focus())):(_.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(_.value)),N!==this._selectionModel.isSelected(_)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const _=this.options.toArray();this._selectionModel.sort((x,N)=>this.sortComparator?this.sortComparator(x,N,_):_.indexOf(x)-_.indexOf(N)),this.stateChanges.next()}}_propagateChanges(_){let x=null;x=this.multiple?this.selected.map(N=>N.value):this.selected?this.selected.value:_,this._value=x,this.valueChange.emit(x),this._onChange(x),this.selectionChange.emit(this._getChangeEvent(x)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var _;return!this._panelOpen&&!this.disabled&&(null===(_=this.options)||void 0===_?void 0:_.length)>0}focus(_){this._elementRef.nativeElement.focus(_)}_getPanelAriaLabelledby(){var _;if(this.ariaLabel)return null;const x=null===(_=this._parentFormField)||void 0===_?void 0:_.getLabelId();return this.ariaLabelledby?(x?x+" ":"")+this.ariaLabelledby:x}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var _;if(this.ariaLabel)return null;const x=null===(_=this._parentFormField)||void 0===_?void 0:_.getLabelId();let N=(x?x+" ":"")+this._valueId;return this.ariaLabelledby&&(N+=" "+this.ariaLabelledby),N}_panelDoneAnimating(_){this.openedChange.emit(_)}setDescribedByIds(_){this._ariaDescribedby=_.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Z.\u0275fac=function(_){return new(_||Z)(u.\u0275\u0275directiveInject(d.rL),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(c.ErrorStateMatcher),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(X.Is,8),u.\u0275\u0275directiveInject(h.NgForm,8),u.\u0275\u0275directiveInject(h.FormGroupDirective,8),u.\u0275\u0275directiveInject(r.MAT_FORM_FIELD,8),u.\u0275\u0275directiveInject(h.NgControl,10),u.\u0275\u0275injectAttribute("tabindex"),u.\u0275\u0275directiveInject(ct),u.\u0275\u0275directiveInject(m.Kd),u.\u0275\u0275directiveInject(Et,8))},Z.\u0275dir=u.\u0275\u0275defineDirective({type:Z,viewQuery:function(_,x){if(1&_&&(u.\u0275\u0275viewQuery(Q,5),u.\u0275\u0275viewQuery(q,5),u.\u0275\u0275viewQuery(n.pI,5)),2&_){let N;u.\u0275\u0275queryRefresh(N=u.\u0275\u0275loadQuery())&&(x.trigger=N.first),u.\u0275\u0275queryRefresh(N=u.\u0275\u0275loadQuery())&&(x.panel=N.first),u.\u0275\u0275queryRefresh(N=u.\u0275\u0275loadQuery())&&(x._overlayDir=N.first)}},inputs:{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:[u.\u0275\u0275InheritDefinitionFeature,u.\u0275\u0275NgOnChangesFeature]}),Z})(),gt=(()=>{class Z extends yt{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(_,x,N){const ce=this._getItemHeight();return Math.min(Math.max(0,ce*_-x+ce/2),N)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,z.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,D.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(_){const x=(0,c._countGroupLabelsBeforeOption)(_,this.options,this.optionGroups),N=this._getItemHeight();this.panel.nativeElement.scrollTop=0===_&&1===x?0:(0,c._getOptionScrollPosition)((_+x)*N,N,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(_){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(_)}_getChangeEvent(_){return new dt(this,_)}_calculateOverlayOffsetX(){const _=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),x=this._viewportRuler.getViewportSize(),N=this._isRtl(),ce=this.multiple?56:32;let Ue;if(this.multiple)Ue=40;else if(this.disableOptionCentering)Ue=16;else{let Ae=this._selectionModel.selected[0]||this.options.first;Ue=Ae&&Ae.group?32:16}N||(Ue*=-1);const Oe=0-(_.left+Ue-(N?ce:0)),ve=_.right+Ue-x.width+(N?0:ce);Oe>0?Ue+=Oe+8:ve>0&&(Ue-=ve+8),this._overlayDir.offsetX=Math.round(Ue),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(_,x,N){const ce=this._getItemHeight(),Ue=(ce-this._triggerRect.height)/2,Oe=Math.floor(256/ce);let ve;return this.disableOptionCentering?0:(ve=0===this._scrollTop?_*ce:this._scrollTop===N?(_-(this._getItemCount()-Oe))*ce+(ce-(this._getItemCount()*ce-256)%ce):x-ce/2,Math.round(-1*ve-Ue))}_checkOverlayWithinViewport(_){const x=this._getItemHeight(),N=this._viewportRuler.getViewportSize(),ce=this._triggerRect.top-8,Ue=N.height-this._triggerRect.bottom-8,Oe=Math.abs(this._offsetY),Ae=Math.min(this._getItemCount()*x,256)-Oe-this._triggerRect.height;Ae>Ue?this._adjustPanelUp(Ae,Ue):Oe>ce?this._adjustPanelDown(Oe,ce,_):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(_,x){const N=Math.round(_-x);this._scrollTop-=N,this._offsetY-=N,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(_,x,N){const ce=Math.round(_-x);if(this._scrollTop+=ce,this._offsetY+=ce,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=N)return this._scrollTop=N,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const _=this._getItemHeight(),x=this._getItemCount(),N=Math.min(x*_,256),Ue=x*_-N;let Oe;Oe=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Oe+=(0,c._countGroupLabelsBeforeOption)(Oe,this.options,this.optionGroups);const ve=N/2;this._scrollTop=this._calculateOverlayScroll(Oe,ve,Ue),this._offsetY=this._calculateOverlayOffsetY(Oe,ve,Ue),this._checkOverlayWithinViewport(Ue)}_getOriginBasedOnOption(){const _=this._getItemHeight(),x=(_-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-x+_/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Z.\u0275fac=function(){let j;return function(x){return(j||(j=u.\u0275\u0275getInheritedFactory(Z)))(x||Z)}}(),Z.\u0275cmp=u.\u0275\u0275defineComponent({type:Z,selectors:[["mat-select"]],contentQueries:function(_,x,N){if(1&_&&(u.\u0275\u0275contentQuery(N,rt,5),u.\u0275\u0275contentQuery(N,c.MatOption,5),u.\u0275\u0275contentQuery(N,c.MAT_OPTGROUP,5)),2&_){let ce;u.\u0275\u0275queryRefresh(ce=u.\u0275\u0275loadQuery())&&(x.customTrigger=ce.first),u.\u0275\u0275queryRefresh(ce=u.\u0275\u0275loadQuery())&&(x.options=ce),u.\u0275\u0275queryRefresh(ce=u.\u0275\u0275loadQuery())&&(x.optionGroups=ce)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(_,x){1&_&&u.\u0275\u0275listener("keydown",function(ce){return x._handleKeydown(ce)})("focus",function(){return x._onFocus()})("blur",function(){return x._onBlur()}),2&_&&(u.\u0275\u0275attribute("id",x.id)("tabindex",x.tabIndex)("aria-controls",x.panelOpen?x.id+"-panel":null)("aria-expanded",x.panelOpen)("aria-label",x.ariaLabel||null)("aria-required",x.required.toString())("aria-disabled",x.disabled.toString())("aria-invalid",x.errorState)("aria-describedby",x._ariaDescribedby||null)("aria-activedescendant",x._getAriaActiveDescendant()),u.\u0275\u0275classProp("mat-select-disabled",x.disabled)("mat-select-invalid",x.errorState)("mat-select-required",x.required)("mat-select-empty",x.empty)("mat-select-multiple",x.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[u.\u0275\u0275ProvidersFeature([{provide:r.MatFormFieldControl,useExisting:Z},{provide:c.MAT_OPTION_PARENT_COMPONENT,useExisting:Z}]),u.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:U,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(_,x){if(1&_&&(u.\u0275\u0275projectionDef(ae),u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275listener("click",function(){return x.toggle()}),u.\u0275\u0275elementStart(3,"div",2),u.\u0275\u0275template(4,ue,2,1,"span",3),u.\u0275\u0275template(5,pe,3,2,"span",4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(6,"div",5),u.\u0275\u0275element(7,"div",6),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(8,oe,4,14,"ng-template",7),u.\u0275\u0275listener("backdropClick",function(){return x.close()})("attach",function(){return x._onAttached()})("detach",function(){return x.close()})),2&_){const N=u.\u0275\u0275reference(1);u.\u0275\u0275attribute("aria-owns",x.panelOpen?x.id+"-panel":null),u.\u0275\u0275advance(3),u.\u0275\u0275property("ngSwitch",x.empty),u.\u0275\u0275attribute("id",x._valueId),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase",!0),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase",!1),u.\u0275\u0275advance(3),u.\u0275\u0275property("cdkConnectedOverlayPanelClass",x._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",x._scrollStrategy)("cdkConnectedOverlayOrigin",N)("cdkConnectedOverlayOpen",x.panelOpen)("cdkConnectedOverlayPositions",x._positions)("cdkConnectedOverlayMinWidth",null==x._triggerRect?null:x._triggerRect.width)("cdkConnectedOverlayOffsetY",x._offsetY)}},directives:[n.xu,l.NgSwitch,l.NgSwitchCase,n.pI,l.NgSwitchDefault,l.NgClass],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;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{display:table-cell;vertical-align:middle}.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 transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.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:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[ie.transformPanelWrap,ie.transformPanel]},changeDetection:0}),Z})(),_e=(()=>{class Z{}return Z.\u0275fac=function(_){return new(_||Z)},Z.\u0275mod=u.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=u.\u0275\u0275defineInjector({providers:[xt],imports:[[l.CommonModule,n.U8,c.MatOptionModule,c.MatCommonModule],d.ZD,r.MatFormFieldModule,c.MatOptionModule,c.MatCommonModule]}),Z})()},2368:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS:()=>s,MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR:()=>Y,MAT_SLIDE_TOGGLE_VALUE_ACCESSOR:()=>P,MatSlideToggle:()=>T,MatSlideToggleChange:()=>w,MatSlideToggleModule:()=>G,MatSlideToggleRequiredValidator:()=>$,_MatSlideToggleRequiredValidatorModule:()=>z});var n=o(7144),l=o(5e3),u=o(508),c=o(3191),r=o(3075),d=o(6360),m=o(5664);const p=["thumbContainer"],y=["toggleBar"],b=["input"],h=function(X){return{enterDuration:X}},g=["*"],s=new l.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let C=0;const P={provide:r.NG_VALUE_ACCESSOR,useExisting:(0,l.forwardRef)(()=>T),multi:!0};class w{constructor(Q,q){this.source=Q,this.checked=q}}const D=(0,u.mixinTabIndex)((0,u.mixinColor)((0,u.mixinDisableRipple)((0,u.mixinDisabled)(class{constructor(X){this._elementRef=X}}))));let T=(()=>{class X extends D{constructor(q,ue,me,xe,pe,oe){super(q),this._focusMonitor=ue,this._changeDetectorRef=me,this.defaults=pe,this._onChange=ae=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++C,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new l.EventEmitter,this.toggleChange=new l.EventEmitter,this.tabIndex=parseInt(xe)||0,this.color=this.defaultColor=pe.color||"accent",this._noopAnimations="NoopAnimations"===oe}get required(){return this._required}set required(q){this._required=(0,c.Ig)(q)}get checked(){return this._checked}set checked(q){this._checked=(0,c.Ig)(q),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(q=>{q||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(q){q.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(q){q.stopPropagation()}writeValue(q){this.checked=!!q}registerOnChange(q){this._onChange=q}registerOnTouched(q){this._onTouched=q}setDisabledState(q){this.disabled=q,this._changeDetectorRef.markForCheck()}focus(q,ue){ue?this._focusMonitor.focusVia(this._inputElement,ue,q):this._inputElement.nativeElement.focus(q)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new w(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return X.\u0275fac=function(q){return new(q||X)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(m.tE),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275injectAttribute("tabindex"),l.\u0275\u0275directiveInject(s),l.\u0275\u0275directiveInject(d.ANIMATION_MODULE_TYPE,8))},X.\u0275cmp=l.\u0275\u0275defineComponent({type:X,selectors:[["mat-slide-toggle"]],viewQuery:function(q,ue){if(1&q&&(l.\u0275\u0275viewQuery(p,5),l.\u0275\u0275viewQuery(y,5),l.\u0275\u0275viewQuery(b,5)),2&q){let me;l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue._thumbEl=me.first),l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue._thumbBarEl=me.first),l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue._inputElement=me.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(q,ue){2&q&&(l.\u0275\u0275hostProperty("id",ue.id),l.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null),l.\u0275\u0275classProp("mat-checked",ue.checked)("mat-disabled",ue.disabled)("mat-slide-toggle-label-before","before"==ue.labelPosition)("_mat-animation-noopable",ue._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",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"},exportAs:["matSlideToggle"],features:[l.\u0275\u0275ProvidersFeature([P]),l.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:g,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["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"],["thumbContainer",""],[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(q,ue){if(1&q&&(l.\u0275\u0275projectionDef(),l.\u0275\u0275elementStart(0,"label",0,1),l.\u0275\u0275elementStart(2,"div",2,3),l.\u0275\u0275elementStart(4,"input",4,5),l.\u0275\u0275listener("change",function(xe){return ue._onChangeEvent(xe)})("click",function(xe){return ue._onInputClick(xe)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(6,"div",6,7),l.\u0275\u0275element(8,"div",8),l.\u0275\u0275elementStart(9,"div",9),l.\u0275\u0275element(10,"div",10),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(11,"span",11,12),l.\u0275\u0275listener("cdkObserveContent",function(){return ue._onLabelTextChange()}),l.\u0275\u0275elementStart(13,"span",13),l.\u0275\u0275text(14,"\xa0"),l.\u0275\u0275elementEnd(),l.\u0275\u0275projection(15),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&q){const me=l.\u0275\u0275reference(1),xe=l.\u0275\u0275reference(12);l.\u0275\u0275attribute("for",ue.inputId),l.\u0275\u0275advance(2),l.\u0275\u0275classProp("mat-slide-toggle-bar-no-side-margin",!xe.textContent||!xe.textContent.trim()),l.\u0275\u0275advance(2),l.\u0275\u0275property("id",ue.inputId)("required",ue.required)("tabIndex",ue.tabIndex)("checked",ue.checked)("disabled",ue.disabled),l.\u0275\u0275attribute("name",ue.name)("aria-checked",ue.checked.toString())("aria-label",ue.ariaLabel)("aria-labelledby",ue.ariaLabelledby)("aria-describedby",ue.ariaDescribedby),l.\u0275\u0275advance(5),l.\u0275\u0275property("matRippleTrigger",me)("matRippleDisabled",ue.disableRipple||ue.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",l.\u0275\u0275pureFunction1(18,h,ue._noopAnimations?0:150))}},directives:[u.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:transparent}.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;-moz-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%}.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}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),X})();const Y={provide:r.NG_VALIDATORS,useExisting:(0,l.forwardRef)(()=>$),multi:!0};let $=(()=>{class X extends r.CheckboxRequiredValidator{}return X.\u0275fac=function(){let Q;return function(ue){return(Q||(Q=l.\u0275\u0275getInheritedFactory(X)))(ue||X)}}(),X.\u0275dir=l.\u0275\u0275defineDirective({type:X,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[l.\u0275\u0275ProvidersFeature([Y]),l.\u0275\u0275InheritDefinitionFeature]}),X})(),z=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=l.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=l.\u0275\u0275defineInjector({}),X})(),G=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=l.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=l.\u0275\u0275defineInjector({imports:[[z,u.MatRippleModule,u.MatCommonModule,n.Q8],z,u.MatCommonModule]}),X})()},8029:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_SLIDER_VALUE_ACCESSOR:()=>T,MatSlider:()=>z,MatSliderChange:()=>Y,MatSliderModule:()=>ue});var n=o(9808),l=o(5e3),u=o(508),c=o(3191),r=o(1159),d=o(3075),m=o(6360),p=o(925),y=o(2654),b=o(5664),h=o(226);const g=["sliderWrapper"],s=(0,p.i$)({passive:!1}),T={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,l.forwardRef)(()=>z),multi:!0};class Y{}const $=(0,u.mixinTabIndex)((0,u.mixinColor)((0,u.mixinDisabled)(class{constructor(me){this._elementRef=me}}),"accent"));let z=(()=>{class me extends ${constructor(pe,oe,ae,U,ie,le,Ce,Te){super(pe),this._focusMonitor=oe,this._changeDetectorRef=ae,this._dir=U,this._ngZone=le,this._animationMode=Te,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 l.EventEmitter,this.input=new l.EventEmitter,this.valueChange=new l.EventEmitter,this.onTouched=()=>{},this._percent=0,this._isSliding=null,this._isActive=!1,this._tickIntervalPercent=0,this._sliderDimensions=null,this._controlValueAccessorChangeFn=()=>{},this._dirChangeSubscription=y.w.EMPTY,this._pointerDown=Ke=>{this.disabled||this._isSliding||!G(Ke)&&0!==Ke.button||this._ngZone.run(()=>{this._touchId=G(Ke)?function(me,xe){for(let pe=0;pe{if("pointer"===this._isSliding){const tt=X(Ke,this._touchId);if(tt){Ke.preventDefault();const ot=this.value;this._lastPointerEvent=Ke,this._updateValueFromPosition(tt),ot!=this.value&&this._emitInputEvent()}}},this._pointerUp=Ke=>{"pointer"===this._isSliding&&(!G(Ke)||"number"!=typeof this._touchId||Q(Ke.changedTouches,this._touchId))&&(Ke.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=Ce,this.tabIndex=parseInt(ie)||0,le.runOutsideAngular(()=>{const Ke=pe.nativeElement;Ke.addEventListener("mousedown",this._pointerDown,s),Ke.addEventListener("touchstart",this._pointerDown,s)})}get invert(){return this._invert}set invert(pe){this._invert=(0,c.Ig)(pe)}get max(){return this._max}set max(pe){this._max=(0,c.su)(pe,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(pe){this._min=(0,c.su)(pe,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(pe){this._step=(0,c.su)(pe,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(pe){this._thumbLabel=(0,c.Ig)(pe)}get tickInterval(){return this._tickInterval}set tickInterval(pe){this._tickInterval="auto"===pe?"auto":"number"==typeof pe||"string"==typeof pe?(0,c.su)(pe,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(pe){if(pe!==this._value){let oe=(0,c.su)(pe,0);this._roundToDecimal&&oe!==this.min&&oe!==this.max&&(oe=parseFloat(oe.toFixed(this._roundToDecimal))),this._value=oe,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}get vertical(){return this._vertical}set vertical(pe){this._vertical=(0,c.Ig)(pe)}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(pe){this._focusHostElement(pe)}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 oe=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(${oe})`}}_getTrackFillStyles(){const pe=this.percent,ae=this.vertical?`1, ${pe}, 1`:`${pe}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${ae})`,display:0===pe?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let pe=100*this._tickIntervalPercent,le={backgroundSize:this.vertical?`2px ${pe}%`:`${pe}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${pe/2}%)${this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)"}`};if(this._isMinValue()&&this._getThumbGap()){const Ce=this._shouldInvertAxis();let Te;Te=this.vertical?Ce?"Bottom":"Top":Ce?"Right":"Left",le[`padding${Te}`]=`${this._getThumbGap()}px`}return le}_getThumbContainerStyles(){const pe=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?pe:!pe)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const pe=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?pe:!pe}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(pe=>{this._isActive=!!pe&&"keyboard"!==pe,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const pe=this._elementRef.nativeElement;pe.removeEventListener("mousedown",this._pointerDown,s),pe.removeEventListener("touchstart",this._pointerDown,s),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(pe){if(this.disabled||(0,r.Vb)(pe)||this._isSliding&&"keyboard"!==this._isSliding)return;const oe=this.value;switch(pe.keyCode){case r.Ku:this._increment(10);break;case r.VM:this._increment(-10);break;case r.uR:this.value=this.max;break;case r.Sd:this.value=this.min;break;case r.oh:this._increment("rtl"==this._getDirection()?1:-1);break;case r.LH:this._increment(1);break;case r.SV:this._increment("rtl"==this._getDirection()?-1:1);break;case r.JH:this._increment(-1);break;default:return}oe!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",pe.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(pe){const oe=this._document,ae=G(pe),ie=ae?"touchend":"mouseup";oe.addEventListener(ae?"touchmove":"mousemove",this._pointerMove,s),oe.addEventListener(ie,this._pointerUp,s),ae&&oe.addEventListener("touchcancel",this._pointerUp,s);const le=this._getWindow();void 0!==le&&le&&le.addEventListener("blur",this._windowBlur)}_removeGlobalEvents(){const pe=this._document;pe.removeEventListener("mousemove",this._pointerMove,s),pe.removeEventListener("mouseup",this._pointerUp,s),pe.removeEventListener("touchmove",this._pointerMove,s),pe.removeEventListener("touchend",this._pointerUp,s),pe.removeEventListener("touchcancel",this._pointerUp,s);const oe=this._getWindow();void 0!==oe&&oe&&oe.removeEventListener("blur",this._windowBlur)}_increment(pe){this.value=this._clamp((this.value||0)+this.step*pe,this.min,this.max)}_updateValueFromPosition(pe){if(!this._sliderDimensions)return;let ie=this._clamp(((this.vertical?pe.y:pe.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(ie=1-ie),0===ie)this.value=this.min;else if(1===ie)this.value=this.max;else{const le=this._calculateValue(ie),Ce=Math.round((le-this.min)/this.step)*this.step+this.min;this.value=this._clamp(Ce,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)if("auto"==this.tickInterval){let pe=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,U=Math.ceil(30/(pe*this.step/(this.max-this.min)))*this.step;this._tickIntervalPercent=U/pe}else this._tickIntervalPercent=this.tickInterval*this.step/(this.max-this.min)}_createChangeEvent(pe=this.value){let oe=new Y;return oe.source=this,oe.value=pe,oe}_calculatePercentage(pe){return((pe||0)-this.min)/(this.max-this.min)}_calculateValue(pe){return this.min+pe*(this.max-this.min)}_clamp(pe,oe=0,ae=1){return Math.max(oe,Math.min(pe,ae))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(pe){this._elementRef.nativeElement.focus(pe)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(pe){this.value=pe}registerOnChange(pe){this._controlValueAccessorChangeFn=pe}registerOnTouched(pe){this.onTouched=pe}setDisabledState(pe){this.disabled=pe}}return me.\u0275fac=function(pe){return new(pe||me)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(b.tE),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(h.Is,8),l.\u0275\u0275injectAttribute("tabindex"),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(n.DOCUMENT),l.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},me.\u0275cmp=l.\u0275\u0275defineComponent({type:me,selectors:[["mat-slider"]],viewQuery:function(pe,oe){if(1&pe&&l.\u0275\u0275viewQuery(g,5),2&pe){let ae;l.\u0275\u0275queryRefresh(ae=l.\u0275\u0275loadQuery())&&(oe._sliderWrapper=ae.first)}},hostAttrs:["role","slider",1,"mat-slider","mat-focus-indicator"],hostVars:29,hostBindings:function(pe,oe){1&pe&&l.\u0275\u0275listener("focus",function(){return oe._onFocus()})("blur",function(){return oe._onBlur()})("keydown",function(U){return oe._onKeydown(U)})("keyup",function(){return oe._onKeyup()})("mouseenter",function(){return oe._onMouseenter()})("selectstart",function(U){return U.preventDefault()}),2&pe&&(l.\u0275\u0275hostProperty("tabIndex",oe.tabIndex),l.\u0275\u0275attribute("aria-disabled",oe.disabled)("aria-valuemax",oe.max)("aria-valuemin",oe.min)("aria-valuenow",oe.value)("aria-valuetext",null==oe.valueText?oe.displayValue:oe.valueText)("aria-orientation",oe.vertical?"vertical":"horizontal"),l.\u0275\u0275classProp("mat-slider-disabled",oe.disabled)("mat-slider-has-ticks",oe.tickInterval)("mat-slider-horizontal",!oe.vertical)("mat-slider-axis-inverted",oe._shouldInvertAxis())("mat-slider-invert-mouse-coords",oe._shouldInvertMouseCoords())("mat-slider-sliding",oe._isSliding)("mat-slider-thumb-label-showing",oe.thumbLabel)("mat-slider-vertical",oe.vertical)("mat-slider-min-value",oe._isMinValue())("mat-slider-hide-last-tick",oe.disabled||oe._isMinValue()&&oe._getThumbGap()&&oe._shouldInvertAxis())("_mat-animation-noopable","NoopAnimations"===oe._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:[l.\u0275\u0275ProvidersFeature([T]),l.\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(pe,oe){1&pe&&(l.\u0275\u0275elementStart(0,"div",0,1),l.\u0275\u0275elementStart(2,"div",2),l.\u0275\u0275element(3,"div",3),l.\u0275\u0275element(4,"div",4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(5,"div",5),l.\u0275\u0275element(6,"div",6),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(7,"div",7),l.\u0275\u0275element(8,"div",8),l.\u0275\u0275element(9,"div",9),l.\u0275\u0275elementStart(10,"div",10),l.\u0275\u0275elementStart(11,"span",11),l.\u0275\u0275text(12),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&pe&&(l.\u0275\u0275advance(3),l.\u0275\u0275property("ngStyle",oe._getTrackBackgroundStyles()),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngStyle",oe._getTrackFillStyles()),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngStyle",oe._getTicksContainerStyles()),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngStyle",oe._getTicksStyles()),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngStyle",oe._getThumbContainerStyles()),l.\u0275\u0275advance(5),l.\u0275\u0275textInterpolate(oe.displayValue))},directives:[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:-webkit-grabbing;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:-webkit-grab;cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;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}\n'],encapsulation:2,changeDetection:0}),me})();function G(me){return"t"===me.type[0]}function X(me,xe){let pe;return pe=G(me)?"number"==typeof xe?Q(me.touches,xe)||Q(me.changedTouches,xe):me.touches[0]||me.changedTouches[0]:me,pe?{x:pe.clientX,y:pe.clientY}:void 0}function Q(me,xe){for(let pe=0;pe{class me{}return me.\u0275fac=function(pe){return new(pe||me)},me.\u0275mod=l.\u0275\u0275defineNgModule({type:me}),me.\u0275inj=l.\u0275\u0275defineInjector({imports:[[n.CommonModule,u.MatCommonModule],u.MatCommonModule]}),me})()},6346:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatCell:()=>Ve,MatCellDef:()=>Ct,MatColumnDef:()=>vn,MatFooterCell:()=>st,MatFooterCellDef:()=>$t,MatFooterRow:()=>fn,MatFooterRowDef:()=>At,MatHeaderCell:()=>it,MatHeaderCellDef:()=>Ht,MatHeaderRow:()=>Jt,MatHeaderRowDef:()=>ut,MatNoDataRow:()=>li,MatRecycleRows:()=>be,MatRow:()=>Rn,MatRowDef:()=>Xt,MatTable:()=>je,MatTableDataSource:()=>jn,MatTableModule:()=>Jn,MatTextColumn:()=>ti,_MatTableDataSource:()=>ri});var n=o(5e3),l=o(3191),u=o(449),c=o(9808),r=o(8929),d=o(5254),m=o(591),p=o(6498),b=o(1086),h=o(7625),g=o(2986),s=o(226),C=o(925),P=o(9071);const w=[[["caption"]],[["colgroup"],["col"]]],D=["caption","colgroup, col"];function T(Se,Xe){if(1&Se&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Se){const J=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",J.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",J.headerText," ")}}function Y(Se,Xe){if(1&Se&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Se){const J=Xe.$implicit,Re=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Re.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Re.dataAccessor(J,Re.name)," ")}}function $(Se){return class extends Se{constructor(...Xe){super(...Xe),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Xe){const J=this._sticky;this._sticky=(0,l.Ig)(Xe),this._hasStickyChanged=J!==this._sticky}hasStickyChanged(){const Xe=this._hasStickyChanged;return this._hasStickyChanged=!1,Xe}resetStickyChanged(){this._hasStickyChanged=!1}}}const z=new n.InjectionToken("CDK_TABLE"),G=new n.InjectionToken("text-column-options");let X=(()=>{class Se{constructor(J){this.template=J}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkCellDef",""]]}),Se})(),Q=(()=>{class Se{constructor(J){this.template=J}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkHeaderCellDef",""]]}),Se})(),q=(()=>{class Se{constructor(J){this.template=J}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkFooterCellDef",""]]}),Se})();class ue{}const me=$(ue);let xe=(()=>{class Se extends me{constructor(J){super(),this._table=J,this._stickyEnd=!1}get name(){return this._name}set name(J){this._setNameInput(J)}get stickyEnd(){return this._stickyEnd}set stickyEnd(J){const Re=this._stickyEnd;this._stickyEnd=(0,l.Ig)(J),this._hasStickyChanged=Re!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(J){J&&(this._name=J,this.cssClassFriendlyName=J.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(z,8))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkColumnDef",""]],contentQueries:function(J,Re,S){if(1&J&&(n.\u0275\u0275contentQuery(S,X,5),n.\u0275\u0275contentQuery(S,Q,5),n.\u0275\u0275contentQuery(S,q,5)),2&J){let te;n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re.cell=te.first),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re.headerCell=te.first),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re.footerCell=te.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})();class pe{constructor(Xe,J){const Re=J.nativeElement.classList;for(const S of Xe._columnCssClassName)Re.add(S)}}let oe=(()=>{class Se extends pe{constructor(J,Re){super(J,Re)}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(xe),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),ae=(()=>{class Se extends pe{constructor(J,Re){var S;if(super(J,Re),1===(null===(S=J._table)||void 0===S?void 0:S._elementRef.nativeElement.nodeType)){const te=J._table._elementRef.nativeElement.getAttribute("role");Re.nativeElement.setAttribute("role","grid"===te||"treegrid"===te?"gridcell":"cell")}}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(xe),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),U=(()=>{class Se extends pe{constructor(J,Re){var S;if(super(J,Re),1===(null===(S=J._table)||void 0===S?void 0:S._elementRef.nativeElement.nodeType)){const te=J._table._elementRef.nativeElement.getAttribute("role");Re.nativeElement.setAttribute("role","grid"===te||"treegrid"===te?"gridcell":"cell")}}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(xe),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})();class ie{constructor(){this.tasks=[],this.endTasks=[]}}const le=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let Ce=(()=>{class Se{constructor(J){this._ngZone=J,this._currentSchedule=null,this._destroyed=new r.xQ}schedule(J){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(J)}scheduleEnd(J){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(J)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ie,this._getScheduleObservable().pipe((0,h.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const J=this._currentSchedule;this._currentSchedule=new ie;for(const Re of J.tasks)Re();for(const Re of J.endTasks)Re()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,d.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,g.q)(1))}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275inject(n.NgZone))},Se.\u0275prov=n.\u0275\u0275defineInjectable({token:Se,factory:Se.\u0275fac}),Se})(),Ke=(()=>{class Se{constructor(J,Re){this.template=J,this._differs=Re}ngOnChanges(J){if(!this._columnsDiffer){const Re=J.columns&&J.columns.currentValue||[];this._columnsDiffer=this._differs.find(Re).create(),this._columnsDiffer.diff(Re)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(J){return this instanceof mt?J.headerCell.template:this instanceof Qe?J.footerCell.template:J.cell.template}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,features:[n.\u0275\u0275NgOnChangesFeature]}),Se})();class tt extends Ke{}const ot=$(tt);let mt=(()=>{class Se extends ot{constructor(J,Re,S){super(J,Re),this._table=S}ngOnChanges(J){super.ngOnChanges(J)}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(z,8))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),Se})();class Dt extends Ke{}const Ie=$(Dt);let Qe=(()=>{class Se extends Ie{constructor(J,Re,S){super(J,Re),this._table=S}ngOnChanges(J){super.ngOnChanges(J)}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(z,8))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),Se})(),ct=(()=>{class Se extends Ke{constructor(J,Re,S){super(J,Re),this._table=S}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(z,8))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),bt=(()=>{class Se{constructor(J){this._viewContainer=J,Se.mostRecentCellOutlet=this}ngOnDestroy(){Se.mostRecentCellOutlet===this&&(Se.mostRecentCellOutlet=null)}}return Se.mostRecentCellOutlet=null,Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkCellOutlet",""]]}),Se})(),Et=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),xt=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),dt=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),Ne=(()=>{class Se{constructor(J){this.templateRef=J,this._contentClassName="cdk-no-data-row"}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["ng-template","cdkNoDataRow",""]]}),Se})();const rt=["top","bottom","left","right"];class ze{constructor(Xe,J,Re,S,te=!0,ke=!0,Ye){this._isNativeHtmlTable=Xe,this._stickCellCss=J,this.direction=Re,this._coalescedStyleScheduler=S,this._isBrowser=te,this._needsPositionStickyOnElement=ke,this._positionListener=Ye,this._cachedCellWidths=[],this._borderCellCss={top:`${J}-border-elem-top`,bottom:`${J}-border-elem-bottom`,left:`${J}-border-elem-left`,right:`${J}-border-elem-right`}}clearStickyPositioning(Xe,J){const Re=[];for(const S of Xe)if(S.nodeType===S.ELEMENT_NODE){Re.push(S);for(let te=0;te{for(const S of Re)this._removeStickyStyle(S,J)})}updateStickyColumns(Xe,J,Re,S=!0){if(!Xe.length||!this._isBrowser||!J.some(Zt=>Zt)&&!Re.some(Zt=>Zt))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const te=Xe[0],ke=te.children.length,Ye=this._getCellWidths(te,S),Nt=this._getStickyStartColumnPositions(Ye,J),It=this._getStickyEndColumnPositions(Ye,Re),Lt=J.lastIndexOf(!0),Yt=Re.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Zt="rtl"===this.direction,Mn=Zt?"right":"left",Tn=Zt?"left":"right";for(const wn of Xe)for(let Bn=0;BnJ[Bn]?wn:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Yt?[]:Ye.slice(Yt).map((wn,Bn)=>Re[Bn+Yt]?wn:null).reverse()}))})}stickRows(Xe,J,Re){if(!this._isBrowser)return;const S="bottom"===Re?Xe.slice().reverse():Xe,te="bottom"===Re?J.slice().reverse():J,ke=[],Ye=[],Nt=[];for(let Lt=0,Yt=0;Lt{var Lt,Yt;for(let Zt=0;Zt{J.some(S=>!S)?this._removeStickyStyle(Re,["bottom"]):this._addStickyStyle(Re,"bottom",0,!1)})}_removeStickyStyle(Xe,J){for(const S of J)Xe.style[S]="",Xe.classList.remove(this._borderCellCss[S]);rt.some(S=>-1===J.indexOf(S)&&Xe.style[S])?Xe.style.zIndex=this._getCalculatedZIndex(Xe):(Xe.style.zIndex="",this._needsPositionStickyOnElement&&(Xe.style.position=""),Xe.classList.remove(this._stickCellCss))}_addStickyStyle(Xe,J,Re,S){Xe.classList.add(this._stickCellCss),S&&Xe.classList.add(this._borderCellCss[J]),Xe.style[J]=`${Re}px`,Xe.style.zIndex=this._getCalculatedZIndex(Xe),this._needsPositionStickyOnElement&&(Xe.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Xe){const J={top:100,bottom:10,left:1,right:1};let Re=0;for(const S of rt)Xe.style[S]&&(Re+=J[S]);return Re?`${Re}`:""}_getCellWidths(Xe,J=!0){if(!J&&this._cachedCellWidths.length)return this._cachedCellWidths;const Re=[],S=Xe.children;for(let te=0;te0;te--)J[te]&&(Re[te]=S,S+=Xe[te]);return Re}}const ce=new n.InjectionToken("CDK_SPL");let Oe=(()=>{class Se{constructor(J,Re){this.viewContainer=J,this.elementRef=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","rowOutlet",""]]}),Se})(),ve=(()=>{class Se{constructor(J,Re){this.viewContainer=J,this.elementRef=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","headerRowOutlet",""]]}),Se})(),Ae=(()=>{class Se{constructor(J,Re){this.viewContainer=J,this.elementRef=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","footerRowOutlet",""]]}),Se})(),nt=(()=>{class Se{constructor(J,Re){this.viewContainer=J,this.elementRef=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","noDataRowOutlet",""]]}),Se})(),pt=(()=>{class Se{constructor(J,Re,S,te,ke,Ye,Nt,It,Lt,Yt,Zt){this._differs=J,this._changeDetectorRef=Re,this._elementRef=S,this._dir=ke,this._platform=Nt,this._viewRepeater=It,this._coalescedStyleScheduler=Lt,this._viewportRuler=Yt,this._stickyPositioningListener=Zt,this._onDestroy=new r.xQ,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 m.X({start:0,end:Number.MAX_VALUE}),te||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Ye,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(J){this._trackByFn=J}get dataSource(){return this._dataSource}set dataSource(J){this._dataSource!==J&&this._switchDataSource(J)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(J){this._multiTemplateDataRows=(0,l.Ig)(J),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(J){this._fixedLayout=(0,l.Ig)(J),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((J,Re)=>this.trackBy?this.trackBy(Re.dataIndex,Re.data):Re),this._viewportRuler.change().pipe((0,h.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Re=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Re,this._forceRecalculateCellWidths=Re,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.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),(0,u.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const J=this._dataDiffer.diff(this._renderRows);if(!J)return this._updateNoDataRow(),void this.contentChanged.next();const Re=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(J,Re,(S,te,ke)=>this._getEmbeddedViewArgs(S.item,ke),S=>S.item.data,S=>{1===S.operation&&S.context&&this._renderCellTemplateForItem(S.record.item.rowDef,S.context)}),this._updateRowIndexContext(),J.forEachIdentityChange(S=>{Re.get(S.currentIndex).context.$implicit=S.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(J){this._customColumnDefs.add(J)}removeColumnDef(J){this._customColumnDefs.delete(J)}addRowDef(J){this._customRowDefs.add(J)}removeRowDef(J){this._customRowDefs.delete(J)}addHeaderRowDef(J){this._customHeaderRowDefs.add(J),this._headerRowDefChanged=!0}removeHeaderRowDef(J){this._customHeaderRowDefs.delete(J),this._headerRowDefChanged=!0}addFooterRowDef(J){this._customFooterRowDefs.add(J),this._footerRowDefChanged=!0}removeFooterRowDef(J){this._customFooterRowDefs.delete(J),this._footerRowDefChanged=!0}setNoDataRow(J){this._customNoDataRow=J}updateStickyHeaderRowStyles(){const J=this._getRenderedRows(this._headerRowOutlet),S=this._elementRef.nativeElement.querySelector("thead");S&&(S.style.display=J.length?"":"none");const te=this._headerRowDefs.map(ke=>ke.sticky);this._stickyStyler.clearStickyPositioning(J,["top"]),this._stickyStyler.stickRows(J,te,"top"),this._headerRowDefs.forEach(ke=>ke.resetStickyChanged())}updateStickyFooterRowStyles(){const J=this._getRenderedRows(this._footerRowOutlet),S=this._elementRef.nativeElement.querySelector("tfoot");S&&(S.style.display=J.length?"":"none");const te=this._footerRowDefs.map(ke=>ke.sticky);this._stickyStyler.clearStickyPositioning(J,["bottom"]),this._stickyStyler.stickRows(J,te,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,te),this._footerRowDefs.forEach(ke=>ke.resetStickyChanged())}updateStickyColumnStyles(){const J=this._getRenderedRows(this._headerRowOutlet),Re=this._getRenderedRows(this._rowOutlet),S=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...J,...Re,...S],["left","right"]),this._stickyColumnStylesNeedReset=!1),J.forEach((te,ke)=>{this._addStickyColumnStyles([te],this._headerRowDefs[ke])}),this._rowDefs.forEach(te=>{const ke=[];for(let Ye=0;Ye{this._addStickyColumnStyles([te],this._footerRowDefs[ke])}),Array.from(this._columnDefsByName.values()).forEach(te=>te.resetStickyChanged())}_getAllRenderRows(){const J=[],Re=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let S=0;S{const Ye=S&&S.has(ke)?S.get(ke):[];if(Ye.length){const Nt=Ye.shift();return Nt.dataIndex=Re,Nt}return{data:J,rowDef:ke,dataIndex:Re}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Pt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Re=>{this._columnDefsByName.has(Re.name),this._columnDefsByName.set(Re.name,Re)})}_cacheRowDefs(){this._headerRowDefs=Pt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Pt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Pt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const J=this._rowDefs.filter(Re=>!Re.when);this._defaultRowDef=J[0]}_renderUpdatedColumns(){const J=(ke,Ye)=>ke||!!Ye.getColumnsDiff(),Re=this._rowDefs.reduce(J,!1);Re&&this._forceRenderDataRows();const S=this._headerRowDefs.reduce(J,!1);S&&this._forceRenderHeaderRows();const te=this._footerRowDefs.reduce(J,!1);return te&&this._forceRenderFooterRows(),Re||S||te}_switchDataSource(J){this._data=[],(0,u.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),J||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=J}_observeRenderChanges(){if(!this.dataSource)return;let J;(0,u.Z9)(this.dataSource)?J=this.dataSource.connect(this):function(Se){return!!Se&&(Se instanceof p.y||"function"==typeof Se.lift&&"function"==typeof Se.subscribe)}(this.dataSource)?J=this.dataSource:Array.isArray(this.dataSource)&&(J=(0,b.of)(this.dataSource)),this._renderChangeSubscription=J.pipe((0,h.R)(this._onDestroy)).subscribe(Re=>{this._data=Re||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((J,Re)=>this._renderRow(this._headerRowOutlet,J,Re)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((J,Re)=>this._renderRow(this._footerRowOutlet,J,Re)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(J,Re){const S=Array.from(Re.columns||[]).map(Ye=>this._columnDefsByName.get(Ye)),te=S.map(Ye=>Ye.sticky),ke=S.map(Ye=>Ye.stickyEnd);this._stickyStyler.updateStickyColumns(J,te,ke,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(J){const Re=[];for(let S=0;S!te.when||te.when(Re,J));else{let te=this._rowDefs.find(ke=>ke.when&&ke.when(Re,J))||this._defaultRowDef;te&&S.push(te)}return S}_getEmbeddedViewArgs(J,Re){return{templateRef:J.rowDef.template,context:{$implicit:J.data},index:Re}}_renderRow(J,Re,S,te={}){const ke=J.viewContainer.createEmbeddedView(Re.template,te,S);return this._renderCellTemplateForItem(Re,te),ke}_renderCellTemplateForItem(J,Re){for(let S of this._getCellTemplates(J))bt.mostRecentCellOutlet&&bt.mostRecentCellOutlet._viewContainer.createEmbeddedView(S,Re);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const J=this._rowOutlet.viewContainer;for(let Re=0,S=J.length;Re{const S=this._columnDefsByName.get(Re);return J.extractCellTemplate(S)}):[]}_applyNativeTableSections(){const J=this._document.createDocumentFragment(),Re=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const S of Re){const te=this._document.createElement(S.tag);te.setAttribute("role","rowgroup");for(const ke of S.outlets)te.appendChild(ke.elementRef.nativeElement);J.appendChild(te)}this._elementRef.nativeElement.appendChild(J)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const J=(Re,S)=>Re||S.hasStickyChanged();this._headerRowDefs.reduce(J,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(J,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(J,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new ze(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,b.of)()).pipe((0,h.R)(this._onDestroy)).subscribe(Re=>{this._stickyStyler.direction=Re,this.updateStickyColumnStyles()})}_getOwnDefs(J){return J.filter(Re=>!Re._table||Re._table===this)}_updateNoDataRow(){const J=this._customNoDataRow||this._noDataRow;if(!J)return;const Re=0===this._rowOutlet.viewContainer.length;if(Re===this._isShowingNoDataRow)return;const S=this._noDataRowOutlet.viewContainer;if(Re){const te=S.createEmbeddedView(J.templateRef),ke=te.rootNodes[0];1===te.rootNodes.length&&(null==ke?void 0:ke.nodeType)===this._document.ELEMENT_NODE&&(ke.setAttribute("role","row"),ke.classList.add(J._contentClassName))}else S.clear();this._isShowingNoDataRow=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(s.Is,8),n.\u0275\u0275directiveInject(c.DOCUMENT),n.\u0275\u0275directiveInject(C.t4),n.\u0275\u0275directiveInject(u.k),n.\u0275\u0275directiveInject(le),n.\u0275\u0275directiveInject(P.rL),n.\u0275\u0275directiveInject(ce,12))},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(J,Re,S){if(1&J&&(n.\u0275\u0275contentQuery(S,Ne,5),n.\u0275\u0275contentQuery(S,xe,5),n.\u0275\u0275contentQuery(S,ct,5),n.\u0275\u0275contentQuery(S,mt,5),n.\u0275\u0275contentQuery(S,Qe,5)),2&J){let te;n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._noDataRow=te.first),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._contentColumnDefs=te),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._contentRowDefs=te),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._contentHeaderRowDefs=te),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._contentFooterRowDefs=te)}},viewQuery:function(J,Re){if(1&J&&(n.\u0275\u0275viewQuery(Oe,7),n.\u0275\u0275viewQuery(ve,7),n.\u0275\u0275viewQuery(Ae,7),n.\u0275\u0275viewQuery(nt,7)),2&J){let S;n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re._rowOutlet=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re._headerRowOutlet=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re._footerRowOutlet=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re._noDataRowOutlet=S.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(J,Re){2&J&&n.\u0275\u0275classProp("cdk-table-fixed-layout",Re.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:z,useExisting:Se},{provide:u.k,useClass:u.yy},{provide:le,useClass:Ce},{provide:ce,useValue:null}])],ngContentSelectors:D,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(J,Re){1&J&&(n.\u0275\u0275projectionDef(w),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0),n.\u0275\u0275elementContainer(3,1),n.\u0275\u0275elementContainer(4,2),n.\u0275\u0275elementContainer(5,3))},directives:[ve,Oe,nt,Ae],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),Se})();function Pt(Se,Xe){return Se.concat(Array.from(Xe))}let $e=(()=>{class Se{constructor(J,Re){this._table=J,this._options=Re,this.justify="start",this._options=Re||{}}get name(){return this._name}set name(J){this._name=J,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((J,Re)=>J[Re])),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 J=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(J):J[0].toUpperCase()+J.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(pt,8),n.\u0275\u0275directiveInject(G,8))},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-text-column"]],viewQuery:function(J,Re){if(1&J&&(n.\u0275\u0275viewQuery(xe,7),n.\u0275\u0275viewQuery(X,7),n.\u0275\u0275viewQuery(Q,7)),2&J){let S;n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re.columnDef=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re.cell=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re.headerCell=S.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(J,Re){1&J&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,T,2,3,"th",1),n.\u0275\u0275template(2,Y,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},directives:[xe,Q,X,oe,U],encapsulation:2}),Se})(),Mt=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275mod=n.\u0275\u0275defineNgModule({type:Se}),Se.\u0275inj=n.\u0275\u0275defineInjector({imports:[[P.Cl]]}),Se})();var Ge=o(508),lt=o(6787),Ot=o(6053),Ft=o(4850);const Pe=[[["caption"]],[["colgroup"],["col"]]],Ee=["caption","colgroup, col"];function B(Se,Xe){if(1&Se&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Se){const J=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",J.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",J.headerText," ")}}function V(Se,Xe){if(1&Se&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Se){const J=Xe.$implicit,Re=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Re.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Re.dataAccessor(J,Re.name)," ")}}let be=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:u.k,useClass:u.eX}])]}),Se})(),je=(()=>{class Se extends pt{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(J,Re){2&J&&n.\u0275\u0275classProp("mat-table-fixed-layout",Re.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:u.k,useClass:u.yy},{provide:pt,useExisting:Se},{provide:z,useExisting:Se},{provide:le,useClass:Ce},{provide:ce,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Ee,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(J,Re){1&J&&(n.\u0275\u0275projectionDef(Pe),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0),n.\u0275\u0275elementContainer(3,1),n.\u0275\u0275elementContainer(4,2),n.\u0275\u0275elementContainer(5,3))},directives:[ve,Oe,nt,Ae],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-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}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:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),Se})(),Ct=(()=>{class Se extends X{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:X,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),Ht=(()=>{class Se extends Q{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Q,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),$t=(()=>{class Se extends q{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:q,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),vn=(()=>{class Se extends xe{get name(){return this._name}set name(J){this._setNameInput(J)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:xe,useExisting:Se},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),it=(()=>{class Se extends oe{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),st=(()=>{class Se extends ae{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),Ve=(()=>{class Se extends U{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),ut=(()=>{class Se extends mt{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:mt,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),At=(()=>{class Se extends Qe{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Qe,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),Xt=(()=>{class Se extends ct{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ct,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),Jt=(()=>{class Se extends Et{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Et,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),fn=(()=>{class Se extends xt{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:xt,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),Rn=(()=>{class Se extends dt{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:dt,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),li=(()=>{class Se extends Ne{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Ne,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),ti=(()=>{class Se extends $e{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-text-column"]],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(J,Re){1&J&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,B,2,3,"th",1),n.\u0275\u0275template(2,V,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},directives:[vn,Ht,Ct,it,Ve],encapsulation:2}),Se})(),Jn=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275mod=n.\u0275\u0275defineNgModule({type:Se}),Se.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Mt,Ge.MatCommonModule],Ge.MatCommonModule]}),Se})();class ri extends u.o2{constructor(Xe=[]){super(),this._renderData=new m.X([]),this._filter=new m.X(""),this._internalPageChanges=new r.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(J,Re)=>{const S=J[Re];if((0,l.t6)(S)){const te=Number(S);return te<9007199254740991?te:S}return S},this.sortData=(J,Re)=>{const S=Re.active,te=Re.direction;return S&&""!=te?J.sort((ke,Ye)=>{let Nt=this.sortingDataAccessor(ke,S),It=this.sortingDataAccessor(Ye,S);const Lt=typeof Nt,Yt=typeof It;Lt!==Yt&&("number"===Lt&&(Nt+=""),"number"===Yt&&(It+=""));let Zt=0;return null!=Nt&&null!=It?Nt>It?Zt=1:Nt{const S=Object.keys(J).reduce((ke,Ye)=>ke+J[Ye]+"\u25ec","").toLowerCase(),te=Re.trim().toLowerCase();return-1!=S.indexOf(te)},this._data=new m.X(Xe),this._updateChangeSubscription()}get data(){return this._data.value}set data(Xe){this._data.next(Xe),this._renderChangesSubscription||this._filterData(Xe)}get filter(){return this._filter.value}set filter(Xe){this._filter.next(Xe),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Xe){this._sort=Xe,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Xe){this._paginator=Xe,this._updateChangeSubscription()}_updateChangeSubscription(){var Xe;const J=this._sort?(0,lt.T)(this._sort.sortChange,this._sort.initialized):(0,b.of)(null),Re=this._paginator?(0,lt.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,b.of)(null),te=(0,Ot.aj)([this._data,this._filter]).pipe((0,Ft.U)(([Nt])=>this._filterData(Nt))),ke=(0,Ot.aj)([te,J]).pipe((0,Ft.U)(([Nt])=>this._orderData(Nt))),Ye=(0,Ot.aj)([ke,Re]).pipe((0,Ft.U)(([Nt])=>this._pageData(Nt)));null===(Xe=this._renderChangesSubscription)||void 0===Xe||Xe.unsubscribe(),this._renderChangesSubscription=Ye.subscribe(Nt=>this._renderData.next(Nt))}_filterData(Xe){return this.filteredData=null==this.filter||""===this.filter?Xe:Xe.filter(J=>this.filterPredicate(J,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Xe){return this.sort?this.sortData(Xe.slice(),this.sort):Xe}_pageData(Xe){if(!this.paginator)return Xe;const J=this.paginator.pageIndex*this.paginator.pageSize;return Xe.slice(J,J+this.paginator.pageSize)}_updatePaginator(Xe){Promise.resolve().then(()=>{const J=this.paginator;if(J&&(J.length=Xe,J.pageIndex>0)){const Re=Math.ceil(J.length/J.pageSize)-1||0,S=Math.min(J.pageIndex,Re);S!==J.pageIndex&&(J.pageIndex=S,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var Xe;null===(Xe=this._renderChangesSubscription)||void 0===Xe||Xe.unsubscribe(),this._renderChangesSubscription=null}}class jn extends ri{}},3251:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_TAB:()=>xt,MAT_TABS_CONFIG:()=>j,MAT_TAB_GROUP:()=>rt,MatInkBar:()=>Qe,MatTab:()=>ze,MatTabBody:()=>Z,MatTabBodyPortal:()=>gt,MatTabChangeEvent:()=>kt,MatTabContent:()=>bt,MatTabGroup:()=>$e,MatTabHeader:()=>nt,MatTabLabel:()=>dt,MatTabLabelWrapper:()=>x,MatTabLink:()=>Ot,MatTabNav:()=>Mt,MatTabsModule:()=>Ft,_MAT_INK_BAR_POSITIONER:()=>Dt,_MatTabBodyBase:()=>_e,_MatTabGroupBase:()=>Pt,_MatTabHeaderBase:()=>Ae,_MatTabLinkBase:()=>lt,_MatTabNavBase:()=>_t,matTabsAnimations:()=>yt});var n=o(5664),l=o(7144),u=o(7429),c=o(9808),r=o(5e3),d=o(508),m=o(6360),p=o(8929),y=o(2654),b=o(3753),h=o(1086),g=o(6787),s=o(8723),C=o(1777),P=o(1059),w=o(5778),D=o(7625),T=o(226),Y=o(3191),$=o(1159),z=o(925),G=o(9071);function X(Pe,Ee){1&Pe&&r.\u0275\u0275projection(0)}const Q=["*"];function q(Pe,Ee){}const ue=function(Pe){return{animationDuration:Pe}},me=function(Pe,Ee){return{value:Pe,params:Ee}},xe=["tabListContainer"],pe=["tabList"],oe=["tabListInner"],ae=["nextPaginator"],U=["previousPaginator"],ie=["tabBodyWrapper"],le=["tabHeader"];function Ce(Pe,Ee){}function Te(Pe,Ee){if(1&Pe&&r.\u0275\u0275template(0,Ce,0,0,"ng-template",9),2&Pe){const B=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",B.templateLabel)}}function Ke(Pe,Ee){if(1&Pe&&r.\u0275\u0275text(0),2&Pe){const B=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(B.textLabel)}}function tt(Pe,Ee){if(1&Pe){const B=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const be=r.\u0275\u0275restoreView(B),je=be.$implicit,Ct=be.index,Ht=r.\u0275\u0275nextContext(),$t=r.\u0275\u0275reference(1);return Ht._handleClick(je,$t,Ct)})("cdkFocusChange",function(be){const Ct=r.\u0275\u0275restoreView(B).index;return r.\u0275\u0275nextContext()._tabFocusChanged(be,Ct)}),r.\u0275\u0275elementStart(1,"div",7),r.\u0275\u0275template(2,Te,1,1,"ng-template",8),r.\u0275\u0275template(3,Ke,1,1,"ng-template",8),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()}if(2&Pe){const B=Ee.$implicit,V=Ee.index,be=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",be.selectedIndex==V),r.\u0275\u0275property("id",be._getTabLabelId(V))("disabled",B.disabled)("matRippleDisabled",B.disabled||be.disableRipple),r.\u0275\u0275attribute("tabIndex",be._getTabIndex(B,V))("aria-posinset",V+1)("aria-setsize",be._tabs.length)("aria-controls",be._getTabContentId(V))("aria-selected",be.selectedIndex==V)("aria-label",B.ariaLabel||null)("aria-labelledby",!B.ariaLabel&&B.ariaLabelledby?B.ariaLabelledby:null),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",B.templateLabel),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!B.templateLabel)}}function ot(Pe,Ee){if(1&Pe){const B=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-tab-body",10),r.\u0275\u0275listener("_onCentered",function(){return r.\u0275\u0275restoreView(B),r.\u0275\u0275nextContext()._removeTabBodyWrapperHeight()})("_onCentering",function(be){return r.\u0275\u0275restoreView(B),r.\u0275\u0275nextContext()._setTabBodyWrapperHeight(be)}),r.\u0275\u0275elementEnd()}if(2&Pe){const B=Ee.$implicit,V=Ee.index,be=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-body-active",be.selectedIndex===V),r.\u0275\u0275property("id",be._getTabContentId(V))("content",B.content)("position",B.position)("origin",B.origin)("animationDuration",be.animationDuration),r.\u0275\u0275attribute("tabindex",null!=be.contentTabIndex&&be.selectedIndex===V?be.contentTabIndex:null)("aria-labelledby",be._getTabLabelId(V))}}const mt=["mat-tab-nav-bar",""],Dt=new r.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function(){return Ee=>({left:Ee?(Ee.offsetLeft||0)+"px":"0",width:Ee?(Ee.offsetWidth||0)+"px":"0"})}});let Qe=(()=>{class Pe{constructor(B,V,be,je){this._elementRef=B,this._ngZone=V,this._inkBarPositioner=be,this._animationMode=je}alignToElement(B){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(B))}):this._setStyles(B)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(B){const V=this._inkBarPositioner(B),be=this._elementRef.nativeElement;be.style.left=V.left,be.style.width=V.width}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Dt),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(B,V){2&B&&r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===V._animationMode)}}),Pe})();const ct=new r.InjectionToken("MatTabContent");let bt=(()=>{class Pe{constructor(B){this.template=B}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.TemplateRef))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ct,useExisting:Pe}])]}),Pe})();const Et=new r.InjectionToken("MatTabLabel"),xt=new r.InjectionToken("MAT_TAB");let dt=(()=>{class Pe extends u.ig{constructor(B,V,be){super(B,V),this._closestTab=be}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(xt,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Et,useExisting:Pe}]),r.\u0275\u0275InheritDefinitionFeature]}),Pe})();const Ne=(0,d.mixinDisabled)(class{}),rt=new r.InjectionToken("MAT_TAB_GROUP");let ze=(()=>{class Pe extends Ne{constructor(B,V){super(),this._viewContainerRef=B,this._closestTabGroup=V,this.textLabel="",this._contentPortal=null,this._stateChanges=new p.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(B){this._setTemplateLabelInput(B)}get content(){return this._contentPortal}ngOnChanges(B){(B.hasOwnProperty("textLabel")||B.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new u.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(B){B&&B._closestTab===this&&(this._templateLabel=B)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(rt,8))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab"]],contentQueries:function(B,V,be){if(1&B&&(r.\u0275\u0275contentQuery(be,Et,5),r.\u0275\u0275contentQuery(be,ct,7,r.TemplateRef)),2&B){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V.templateLabel=je.first),r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V._explicitContent=je.first)}},viewQuery:function(B,V){if(1&B&&r.\u0275\u0275viewQuery(r.TemplateRef,7),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._implicitContent=be.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[r.\u0275\u0275ProvidersFeature([{provide:xt,useExisting:Pe}]),r.\u0275\u0275InheritDefinitionFeature,r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:Q,decls:1,vars:0,template:function(B,V){1&B&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,X,1,0,"ng-template"))},encapsulation:2}),Pe})();const yt={translateTab:(0,C.X$)("translateTab",[(0,C.SB)("center, void, left-origin-center, right-origin-center",(0,C.oB)({transform:"none"})),(0,C.SB)("left",(0,C.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,C.SB)("right",(0,C.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,C.eR)("* => left, * => right, left => center, right => center",(0,C.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,C.eR)("void => left-origin-center",[(0,C.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,C.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,C.eR)("void => right-origin-center",[(0,C.oB)({transform:"translate3d(100%, 0, 0)"}),(0,C.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let gt=(()=>{class Pe extends u.Pl{constructor(B,V,be,je){super(B,V,je),this._host=be,this._centeringSub=y.w.EMPTY,this._leavingSub=y.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,P.O)(this._host._isCenterPosition(this._host._position))).subscribe(B=>{B&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Z)),r.\u0275\u0275directiveInject(c.DOCUMENT))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),_e=(()=>{class Pe{constructor(B,V,be){this._elementRef=B,this._dir=V,this._dirChangeSubscription=y.w.EMPTY,this._translateTabComplete=new p.xQ,this._onCentering=new r.EventEmitter,this._beforeCentering=new r.EventEmitter,this._afterLeavingCenter=new r.EventEmitter,this._onCentered=new r.EventEmitter(!0),this.animationDuration="500ms",V&&(this._dirChangeSubscription=V.change.subscribe(je=>{this._computePositionAnimationState(je),be.markForCheck()})),this._translateTabComplete.pipe((0,w.x)((je,Ct)=>je.fromState===Ct.fromState&&je.toState===Ct.toState)).subscribe(je=>{this._isCenterPosition(je.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(je.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(B){this._positionIndex=B,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(B){const V=this._isCenterPosition(B.toState);this._beforeCentering.emit(V),V&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(B){return"center"==B||"left-origin-center"==B||"right-origin-center"==B}_computePositionAnimationState(B=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==B?"left":"right":this._positionIndex>0?"ltr"==B?"right":"left":"center"}_computePositionFromOrigin(B){const V=this._getLayoutDirection();return"ltr"==V&&B<=0||"rtl"==V&&B>0?"left-origin-center":"right-origin-center"}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Pe})(),Z=(()=>{class Pe extends _e{constructor(B,V,be){super(B,V,be)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-body"]],viewQuery:function(B,V){if(1&B&&r.\u0275\u0275viewQuery(u.Pl,5),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._portalHost=be.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(B,V){1&B&&(r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("@translateTab.start",function(je){return V._onTranslateTabStarted(je)})("@translateTab.done",function(je){return V._translateTabComplete.next(je)}),r.\u0275\u0275template(2,q,0,0,"ng-template",2),r.\u0275\u0275elementEnd()),2&B&&r.\u0275\u0275property("@translateTab",r.\u0275\u0275pureFunction2(3,me,V._position,r.\u0275\u0275pureFunction1(1,ue,V.animationDuration)))},directives:[gt],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[yt.translateTab]}}),Pe})();const j=new r.InjectionToken("MAT_TABS_CONFIG"),_=(0,d.mixinDisabled)(class{});let x=(()=>{class Pe extends _{constructor(B){super(),this.elementRef=B}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(B,V){2&B&&(r.\u0275\u0275attribute("aria-disabled",!!V.disabled),r.\u0275\u0275classProp("mat-tab-disabled",V.disabled))},inputs:{disabled:"disabled"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})();const N=(0,z.i$)({passive:!0});let ve=(()=>{class Pe{constructor(B,V,be,je,Ct,Ht,$t){this._elementRef=B,this._changeDetectorRef=V,this._viewportRuler=be,this._dir=je,this._ngZone=Ct,this._platform=Ht,this._animationMode=$t,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new p.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new p.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new r.EventEmitter,this.indexFocused=new r.EventEmitter,Ct.runOutsideAngular(()=>{(0,b.R)(B.nativeElement,"mouseleave").pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(B){B=(0,Y.su)(B),this._selectedIndex!=B&&(this._selectedIndexChanged=!0,this._selectedIndex=B,this._keyManager&&this._keyManager.updateActiveItem(B))}ngAfterViewInit(){(0,b.R)(this._previousPaginator.nativeElement,"touchstart",N).pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,b.R)(this._nextPaginator.nativeElement,"touchstart",N).pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const B=this._dir?this._dir.change:(0,h.of)("ltr"),V=this._viewportRuler.change(150),be=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new n.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(be):be(),(0,g.T)(B,V,this._items.changes).pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(be)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,D.R)(this._destroyed)).subscribe(je=>{this.indexFocused.emit(je),this._setTabFocus(je)})}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._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(B){if(!(0,$.Vb)(B))switch(B.keyCode){case $.K5:case $.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(B));break;default:this._keyManager.onKeydown(B)}}_onContentChanges(){const B=this._elementRef.nativeElement.textContent;B!==this._currentTextContent&&(this._currentTextContent=B||"",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(B){!this._isValidIndex(B)||this.focusIndex===B||!this._keyManager||this._keyManager.setActiveItem(B)}_isValidIndex(B){if(!this._items)return!0;const V=this._items?this._items.toArray()[B]:null;return!!V&&!V.disabled}_setTabFocus(B){if(this._showPaginationControls&&this._scrollToLabel(B),this._items&&this._items.length){this._items.toArray()[B].focus();const V=this._tabListContainer.nativeElement;V.scrollLeft="ltr"==this._getLayoutDirection()?0:V.scrollWidth-V.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const B=this.scrollDistance,V="ltr"===this._getLayoutDirection()?-B:B;this._tabList.nativeElement.style.transform=`translateX(${Math.round(V)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(B){this._scrollTo(B)}_scrollHeader(B){return this._scrollTo(this._scrollDistance+("before"==B?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(B){this._stopInterval(),this._scrollHeader(B)}_scrollToLabel(B){if(this.disablePagination)return;const V=this._items?this._items.toArray()[B]:null;if(!V)return;const be=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:je,offsetWidth:Ct}=V.elementRef.nativeElement;let Ht,$t;"ltr"==this._getLayoutDirection()?(Ht=je,$t=Ht+Ct):($t=this._tabListInner.nativeElement.offsetWidth-je,Ht=$t-Ct);const vn=this.scrollDistance,it=this.scrollDistance+be;Htit&&(this.scrollDistance+=$t-it+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const B=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;B||(this.scrollDistance=0),B!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=B}}_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 B=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,V=B?B.elementRef.nativeElement:null;V?this._inkBar.alignToElement(V):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(B,V){V&&null!=V.button&&0!==V.button||(this._stopInterval(),(0,s.H)(650,100).pipe((0,D.R)((0,g.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:be,distance:je}=this._scrollHeader(B);(0===je||je>=be)&&this._stopInterval()}))}_scrollTo(B){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const V=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(V,B)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:V,distance:this._scrollDistance}}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(G.rL),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{disablePagination:"disablePagination"}}),Pe})(),Ae=(()=>{class Pe extends ve{constructor(B,V,be,je,Ct,Ht,$t){super(B,V,be,je,Ct,Ht,$t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(B){this._disableRipple=(0,Y.Ig)(B)}_itemSelected(B){B.preventDefault()}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(G.rL),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),nt=(()=>{class Pe extends Ae{constructor(B,V,be,je,Ct,Ht,$t){super(B,V,be,je,Ct,Ht,$t)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(G.rL),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-header"]],contentQueries:function(B,V,be){if(1&B&&r.\u0275\u0275contentQuery(be,x,4),2&B){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V._items=je)}},viewQuery:function(B,V){if(1&B&&(r.\u0275\u0275viewQuery(Qe,7),r.\u0275\u0275viewQuery(xe,7),r.\u0275\u0275viewQuery(pe,7),r.\u0275\u0275viewQuery(oe,7),r.\u0275\u0275viewQuery(ae,5),r.\u0275\u0275viewQuery(U,5)),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._inkBar=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabListContainer=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabList=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabListInner=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._nextPaginator=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._previousPaginator=be.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(B,V){2&B&&r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",V._showPaginationControls)("mat-tab-header-rtl","rtl"==V._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Q,decls:14,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","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","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(B,V){1&B&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("click",function(){return V._handlePaginatorClick("before")})("mousedown",function(je){return V._handlePaginatorPress("before",je)})("touchend",function(){return V._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(je){return V._handleKeydown(je)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return V._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\u0275elementEnd(),r.\u0275\u0275elementStart(11,"div",9,10),r.\u0275\u0275listener("mousedown",function(je){return V._handlePaginatorPress("after",je)})("click",function(){return V._handlePaginatorClick("after")})("touchend",function(){return V._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&B&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",V._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",V._disableScrollBefore||V.disableRipple),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===V._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",V._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",V._disableScrollAfter||V.disableRipple))},directives:[d.MatRipple,l.wD,Qe],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-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:transparent;touch-action:none}.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-animation-noopable.mat-ink-bar{transition:none;animation:none}.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-animation-noopable.mat-tab-list{transition:none;animation:none}.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}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.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{min-width:72px}}\n"],encapsulation:2}),Pe})(),Rt=0;class kt{}const pt=(0,d.mixinColor)((0,d.mixinDisableRipple)(class{constructor(Pe){this._elementRef=Pe}}),"primary");let Pt=(()=>{class Pe extends pt{constructor(B,V,be,je){var Ct;super(B),this._changeDetectorRef=V,this._animationMode=je,this._tabs=new r.QueryList,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=y.w.EMPTY,this._tabLabelSubscription=y.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new r.EventEmitter,this.focusChange=new r.EventEmitter,this.animationDone=new r.EventEmitter,this.selectedTabChange=new r.EventEmitter(!0),this._groupId=Rt++,this.animationDuration=be&&be.animationDuration?be.animationDuration:"500ms",this.disablePagination=!(!be||null==be.disablePagination)&&be.disablePagination,this.dynamicHeight=!(!be||null==be.dynamicHeight)&&be.dynamicHeight,this.contentTabIndex=null!==(Ct=null==be?void 0:be.contentTabIndex)&&void 0!==Ct?Ct:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(B){this._dynamicHeight=(0,Y.Ig)(B)}get selectedIndex(){return this._selectedIndex}set selectedIndex(B){this._indexToSelect=(0,Y.su)(B,null)}get animationDuration(){return this._animationDuration}set animationDuration(B){this._animationDuration=/^\d+$/.test(B+"")?B+"ms":B}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(B){this._contentTabIndex=(0,Y.su)(B,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(B){const V=this._elementRef.nativeElement;V.classList.remove(`mat-background-${this.backgroundColor}`),B&&V.classList.add(`mat-background-${B}`),this._backgroundColor=B}ngAfterContentChecked(){const B=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=B){const V=null==this._selectedIndex;if(!V){this.selectedTabChange.emit(this._createChangeEvent(B));const be=this._tabBodyWrapper.nativeElement;be.style.minHeight=be.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((be,je)=>be.isActive=je===B),V||(this.selectedIndexChange.emit(B),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((V,be)=>{V.position=be-B,null!=this._selectedIndex&&0==V.position&&!V.origin&&(V.origin=B-this._selectedIndex)}),this._selectedIndex!==B&&(this._selectedIndex=B,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const V=this._tabs.toArray();for(let be=0;be{this._tabs.reset(B.filter(V=>V._closestTabGroup===this||!V._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}focusTab(B){const V=this._tabHeader;V&&(V.focusIndex=B)}_focusChanged(B){this.focusChange.emit(this._createChangeEvent(B))}_createChangeEvent(B){const V=new kt;return V.index=B,this._tabs&&this._tabs.length&&(V.tab=this._tabs.toArray()[B]),V}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,g.T)(...this._tabs.map(B=>B._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(B){return Math.min(this._tabs.length-1,Math.max(B||0,0))}_getTabLabelId(B){return`mat-tab-label-${this._groupId}-${B}`}_getTabContentId(B){return`mat-tab-content-${this._groupId}-${B}`}_setTabBodyWrapperHeight(B){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const V=this._tabBodyWrapper.nativeElement;V.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(V.style.height=B+"px")}_removeTabBodyWrapperHeight(){const B=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=B.clientHeight,B.style.height="",this.animationDone.emit()}_handleClick(B,V,be){B.disabled||(this.selectedIndex=V.focusIndex=be)}_getTabIndex(B,V){return B.disabled?null:this.selectedIndex===V?0:-1}_tabFocusChanged(B,V){B&&"mouse"!==B&&"touch"!==B&&(this._tabHeader.focusIndex=V)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(j,8),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),$e=(()=>{class Pe extends Pt{constructor(B,V,be,je){super(B,V,be,je)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(j,8),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-group"]],contentQueries:function(B,V,be){if(1&B&&r.\u0275\u0275contentQuery(be,ze,5),2&B){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V._allTabs=je)}},viewQuery:function(B,V){if(1&B&&(r.\u0275\u0275viewQuery(ie,5),r.\u0275\u0275viewQuery(le,5)),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabBodyWrapper=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabHeader=be.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(B,V){2&B&&r.\u0275\u0275classProp("mat-tab-group-dynamic-height",V.dynamicHeight)("mat-tab-group-inverted-header","below"===V.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[r.\u0275\u0275ProvidersFeature([{provide:rt,useExisting:Pe}]),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","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(B,V){1&B&&(r.\u0275\u0275elementStart(0,"mat-tab-header",0,1),r.\u0275\u0275listener("indexFocused",function(je){return V._focusChanged(je)})("selectFocusedIndex",function(je){return V.selectedIndex=je}),r.\u0275\u0275template(2,tt,4,14,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275template(5,ot,1,9,"mat-tab-body",5),r.\u0275\u0275elementEnd()),2&B&&(r.\u0275\u0275property("selectedIndex",V.selectedIndex||0)("disableRipple",V.disableRipple)("disablePagination",V.disablePagination),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",V._tabs),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===V._animationMode),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",V._tabs))},directives:[nt,c.NgForOf,x,d.MatRipple,n.kH,c.NgIf,u.Pl,Z],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}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.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-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.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}\n"],encapsulation:2}),Pe})(),_t=(()=>{class Pe extends ve{constructor(B,V,be,je,Ct,Ht,$t){super(B,je,Ct,V,be,Ht,$t),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(B){const V=this._elementRef.nativeElement.classList;V.remove(`mat-background-${this.backgroundColor}`),B&&V.add(`mat-background-${B}`),this._backgroundColor=B}get disableRipple(){return this._disableRipple}set disableRipple(B){this._disableRipple=(0,Y.Ig)(B)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,P.O)(null),(0,D.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const B=this._items.toArray();for(let V=0;V{class Pe extends _t{constructor(B,V,be,je,Ct,Ht,$t){super(B,V,be,je,Ct,Ht,$t)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(G.rL),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(B,V,be){if(1&B&&r.\u0275\u0275contentQuery(be,Ot,5),2&B){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V._items=je)}},viewQuery:function(B,V){if(1&B&&(r.\u0275\u0275viewQuery(Qe,7),r.\u0275\u0275viewQuery(xe,7),r.\u0275\u0275viewQuery(pe,7),r.\u0275\u0275viewQuery(oe,7),r.\u0275\u0275viewQuery(ae,5),r.\u0275\u0275viewQuery(U,5)),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._inkBar=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabListContainer=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabList=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabListInner=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._nextPaginator=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._previousPaginator=be.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:10,hostBindings:function(B,V){2&B&&r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",V._showPaginationControls)("mat-tab-header-rtl","rtl"==V._getLayoutDirection())("mat-primary","warn"!==V.color&&"accent"!==V.color)("mat-accent","accent"===V.color)("mat-warn","warn"===V.color)},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[r.\u0275\u0275InheritDefinitionFeature],attrs:mt,ngContentSelectors:Q,decls:14,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","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","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(B,V){1&B&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("click",function(){return V._handlePaginatorClick("before")})("mousedown",function(je){return V._handlePaginatorPress("before",je)})("touchend",function(){return V._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(je){return V._handleKeydown(je)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return V._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\u0275elementEnd(),r.\u0275\u0275elementStart(11,"div",9,10),r.\u0275\u0275listener("mousedown",function(je){return V._handlePaginatorPress("after",je)})("click",function(){return V._handlePaginatorClick("after")})("touchend",function(){return V._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&B&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",V._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",V._disableScrollBefore||V.disableRipple),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===V._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",V._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",V._disableScrollAfter||V.disableRipple))},directives:[d.MatRipple,l.wD,Qe],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-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:transparent;touch-action:none}.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-animation-noopable.mat-ink-bar{transition:none;animation:none}.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:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.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}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n"],encapsulation:2}),Pe})();const Ge=(0,d.mixinTabIndex)((0,d.mixinDisableRipple)((0,d.mixinDisabled)(class{})));let lt=(()=>{class Pe extends Ge{constructor(B,V,be,je,Ct,Ht){super(),this._tabNavBar=B,this.elementRef=V,this._focusMonitor=Ct,this._isActive=!1,this.rippleConfig=be||{},this.tabIndex=parseInt(je)||0,"NoopAnimations"===Ht&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(B){const V=(0,Y.Ig)(B);V!==this._isActive&&(this._isActive=V,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}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)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(_t),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(d.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{active:"active"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),Ot=(()=>{class Pe extends lt{constructor(B,V,be,je,Ct,Ht,$t,vn){super(B,V,Ct,Ht,$t,vn),this._tabLinkRipple=new d.RippleRenderer(this,be,V,je),this._tabLinkRipple.setupTriggerEvents(V.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(Mt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(d.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:7,hostBindings:function(B,V){1&B&&r.\u0275\u0275listener("focus",function(){return V._handleFocus()}),2&B&&(r.\u0275\u0275attribute("aria-current",V.active?"page":null)("aria-disabled",V.disabled)("tabIndex",V.tabIndex),r.\u0275\u0275classProp("mat-tab-disabled",V.disabled)("mat-tab-label-active",V.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),Ft=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=r.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=r.\u0275\u0275defineInjector({imports:[[c.CommonModule,d.MatCommonModule,u.eL,d.MatRippleModule,l.Q8,n.rt],d.MatCommonModule]}),Pe})()},4594:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatToolbar:()=>y,MatToolbarModule:()=>h,MatToolbarRow:()=>p,throwToolbarMixedModesError:()=>b});var n=o(5e3),l=o(508),u=o(9808),c=o(925);const r=["*",[["mat-toolbar-row"]]],d=["*","mat-toolbar-row"],m=(0,l.mixinColor)(class{constructor(g){this._elementRef=g}});let p=(()=>{class g{}return g.\u0275fac=function(C){return new(C||g)},g.\u0275dir=n.\u0275\u0275defineDirective({type:g,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),g})(),y=(()=>{class g extends m{constructor(C,P,w){super(C),this._platform=P,this._document=w}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return g.\u0275fac=function(C){return new(C||g)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(c.t4),n.\u0275\u0275directiveInject(u.DOCUMENT))},g.\u0275cmp=n.\u0275\u0275defineComponent({type:g,selectors:[["mat-toolbar"]],contentQueries:function(C,P,w){if(1&C&&n.\u0275\u0275contentQuery(w,p,5),2&C){let D;n.\u0275\u0275queryRefresh(D=n.\u0275\u0275loadQuery())&&(P._toolbarRows=D)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(C,P){2&C&&n.\u0275\u0275classProp("mat-toolbar-multiple-rows",P._toolbarRows.length>0)("mat-toolbar-single-row",0===P._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:d,decls:2,vars:0,template:function(C,P){1&C&&(n.\u0275\u0275projectionDef(r),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.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}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),g})();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 h=(()=>{class g{}return g.\u0275fac=function(C){return new(C||g)},g.\u0275mod=n.\u0275\u0275defineNgModule({type:g}),g.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.MatCommonModule],l.MatCommonModule]}),g})()},6360:(he,A,o)=>{"use strict";o.r(A),o.d(A,{ANIMATION_MODULE_TYPE:()=>ji,BrowserAnimationsModule:()=>Hr,NoopAnimationsModule:()=>Cs,\u0275AnimationRenderer:()=>Hn,\u0275AnimationRendererFactory:()=>hn,\u0275BrowserAnimationBuilder:()=>E,\u0275BrowserAnimationFactory:()=>I,\u0275InjectableAnimationEngine:()=>Qn});var n=o(5e3),l=o(2313),u=o(1777);function c(){return"undefined"!=typeof window&&void 0!==window.document}function r(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function d(ye){switch(ye.length){case 0:return new u.ZN;case 1:return ye[0];default:return new u.ZE(ye)}}function m(ye,M,L,ne,we={},He={}){const Je=[],at=[];let St=-1,Vt=null;if(ne.forEach(Gt=>{const en=Gt.offset,yn=en==St,pn=yn&&Vt||{};Object.keys(Gt).forEach(rn=>{let Cn=rn,In=Gt[rn];if("offset"!==rn)switch(Cn=M.normalizePropertyName(Cn,Je),In){case u.k1:In=we[rn];break;case u.l3:In=He[rn];break;default:In=M.normalizeStyleValue(rn,Cn,In,Je)}pn[Cn]=In}),yn||at.push(pn),Vt=pn,St=en}),Je.length){const Gt="\n - ";throw new Error(`Unable to animate due to the following errors:${Gt}${Je.join(Gt)}`)}return at}function p(ye,M,L,ne){switch(M){case"start":ye.onStart(()=>ne(L&&y(L,"start",ye)));break;case"done":ye.onDone(()=>ne(L&&y(L,"done",ye)));break;case"destroy":ye.onDestroy(()=>ne(L&&y(L,"destroy",ye)))}}function y(ye,M,L){const ne=L.totalTime,He=b(ye.element,ye.triggerName,ye.fromState,ye.toState,M||ye.phaseName,null==ne?ye.totalTime:ne,!!L.disabled),Je=ye._data;return null!=Je&&(He._data=Je),He}function b(ye,M,L,ne,we="",He=0,Je){return{element:ye,triggerName:M,fromState:L,toState:ne,phaseName:we,totalTime:He,disabled:!!Je}}function h(ye,M,L){let ne;return ye instanceof Map?(ne=ye.get(M),ne||ye.set(M,ne=L)):(ne=ye[M],ne||(ne=ye[M]=L)),ne}function g(ye){const M=ye.indexOf(":");return[ye.substring(1,M),ye.substr(M+1)]}let s=(ye,M)=>!1,C=(ye,M,L)=>[];(r()||"undefined"!=typeof Element)&&(s=c()?(ye,M)=>{for(;M&&M!==document.documentElement;){if(M===ye)return!0;M=M.parentNode||M.host}return!1}:(ye,M)=>ye.contains(M),C=(ye,M,L)=>{let ne=[];if(L){const we=ye.querySelectorAll(M);for(let He=0;He{const ne=L.replace(/([a-z])([A-Z])/g,"$1-$2");M[ne]=ye[L]}),M}let Q=(()=>{class ye{validateStyleProperty(L){return Y(L)}matchesElement(L,ne){return!1}containsElement(L,ne){return z(L,ne)}query(L,ne,we){return G(L,ne,we)}computeStyle(L,ne,we){return we||""}animate(L,ne,we,He,Je,at=[],St){return new u.ZN(we,He)}}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac}),ye})(),q=(()=>{class ye{}return ye.NOOP=new Q,ye})();const pe="ng-enter",oe="ng-leave",ae="ng-trigger",U=".ng-trigger",ie="ng-animating",le=".ng-animating";function Ce(ye){if("number"==typeof ye)return ye;const M=ye.match(/^(-?[\.\d]+)(m?s)/);return!M||M.length<2?0:Te(parseFloat(M[1]),M[2])}function Te(ye,M){return"s"===M?1e3*ye:ye}function Ke(ye,M,L){return ye.hasOwnProperty("duration")?ye:function(ye,M,L){let we,He=0,Je="";if("string"==typeof ye){const at=ye.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===at)return M.push(`The provided timing value "${ye}" is invalid.`),{duration:0,delay:0,easing:""};we=Te(parseFloat(at[1]),at[2]);const St=at[3];null!=St&&(He=Te(parseFloat(St),at[4]));const Vt=at[5];Vt&&(Je=Vt)}else we=ye;if(!L){let at=!1,St=M.length;we<0&&(M.push("Duration values below 0 are not allowed for this animation step."),at=!0),He<0&&(M.push("Delay values below 0 are not allowed for this animation step."),at=!0),at&&M.splice(St,0,`The provided timing value "${ye}" is invalid.`)}return{duration:we,delay:He,easing:Je}}(ye,M,L)}function ot(ye,M={}){return Object.keys(ye).forEach(L=>{M[L]=ye[L]}),M}function Dt(ye,M,L={}){if(M)for(let ne in ye)L[ne]=ye[ne];else ot(ye,L);return L}function Ie(ye,M,L){return L?M+":"+L+";":""}function Qe(ye){let M="";for(let L=0;L{const we=gt(ne);L&&!L.hasOwnProperty(ne)&&(L[ne]=ye.style[we]),ye.style[we]=M[ne]}),r()&&Qe(ye))}function bt(ye,M){ye.style&&(Object.keys(M).forEach(L=>{const ne=gt(L);ye.style[ne]=""}),r()&&Qe(ye))}function Et(ye){return Array.isArray(ye)?1==ye.length?ye[0]:(0,u.vP)(ye):ye}const dt=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ne(ye){let M=[];if("string"==typeof ye){let L;for(;L=dt.exec(ye);)M.push(L[1]);dt.lastIndex=0}return M}function rt(ye,M,L){const ne=ye.toString(),we=ne.replace(dt,(He,Je)=>{let at=M[Je];return M.hasOwnProperty(Je)||(L.push(`Please provide a value for the animation param ${Je}`),at=""),at.toString()});return we==ne?ye:we}function ze(ye){const M=[];let L=ye.next();for(;!L.done;)M.push(L.value),L=ye.next();return M}const yt=/-+([a-z0-9])/g;function gt(ye){return ye.replace(yt,(...M)=>M[1].toUpperCase())}function _e(ye){return ye.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Z(ye,M){return 0===ye||0===M}function j(ye,M,L){const ne=Object.keys(L);if(ne.length&&M.length){let He=M[0],Je=[];if(ne.forEach(at=>{He.hasOwnProperty(at)||Je.push(at),He[at]=L[at]}),Je.length)for(var we=1;wefunction(ye,M,L){if(":"==ye[0]){const St=function(ye,M){switch(ye){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(L,ne)=>parseFloat(ne)>parseFloat(L);case":decrement":return(L,ne)=>parseFloat(ne) *"}}(ye,L);if("function"==typeof St)return void M.push(St);ye=St}const ne=ye.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==ne||ne.length<4)return L.push(`The provided transition expression "${ye}" is not supported`),M;const we=ne[1],He=ne[2],Je=ne[3];M.push(nt(we,Je));"<"==He[0]&&!(we==N&&Je==N)&&M.push(nt(Je,we))}(ne,L,M)):L.push(ye),L}const ve=new Set(["true","1"]),Ae=new Set(["false","0"]);function nt(ye,M){const L=ve.has(ye)||Ae.has(ye),ne=ve.has(M)||Ae.has(M);return(we,He)=>{let Je=ye==N||ye==we,at=M==N||M==He;return!Je&&L&&"boolean"==typeof we&&(Je=we?ve.has(ye):Ae.has(ye)),!at&&ne&&"boolean"==typeof He&&(at=He?ve.has(M):Ae.has(M)),Je&&at}}const kt=new RegExp("s*:selfs*,?","g");function pt(ye,M,L){return new $e(ye).build(M,L)}class $e{constructor(M){this._driver=M}build(M,L){const ne=new Ge(L);return this._resetContextStyleTimingState(ne),_(this,Et(M),ne)}_resetContextStyleTimingState(M){M.currentQuerySelector="",M.collectedStyles={},M.collectedStyles[""]={},M.currentTime=0}visitTrigger(M,L){let ne=L.queryCount=0,we=L.depCount=0;const He=[],Je=[];return"@"==M.name.charAt(0)&&L.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),M.definitions.forEach(at=>{if(this._resetContextStyleTimingState(L),0==at.type){const St=at,Vt=St.name;Vt.toString().split(/\s*,\s*/).forEach(Gt=>{St.name=Gt,He.push(this.visitState(St,L))}),St.name=Vt}else if(1==at.type){const St=this.visitTransition(at,L);ne+=St.queryCount,we+=St.depCount,Je.push(St)}else L.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:M.name,states:He,transitions:Je,queryCount:ne,depCount:we,options:null}}visitState(M,L){const ne=this.visitStyle(M.styles,L),we=M.options&&M.options.params||null;if(ne.containsDynamicStyles){const He=new Set,Je=we||{};if(ne.styles.forEach(at=>{if(Ot(at)){const St=at;Object.keys(St).forEach(Vt=>{Ne(St[Vt]).forEach(Gt=>{Je.hasOwnProperty(Gt)||He.add(Gt)})})}}),He.size){const at=ze(He.values());L.errors.push(`state("${M.name}", ...) must define default values for all the following style substitutions: ${at.join(", ")}`)}}return{type:0,name:M.name,style:ne,options:we?{params:we}:null}}visitTransition(M,L){L.queryCount=0,L.depCount=0;const ne=_(this,Et(M.animation),L);return{type:1,matchers:ce(M.expr,L.errors),animation:ne,queryCount:L.queryCount,depCount:L.depCount,options:Pe(M.options)}}visitSequence(M,L){return{type:2,steps:M.steps.map(ne=>_(this,ne,L)),options:Pe(M.options)}}visitGroup(M,L){const ne=L.currentTime;let we=0;const He=M.steps.map(Je=>{L.currentTime=ne;const at=_(this,Je,L);return we=Math.max(we,L.currentTime),at});return L.currentTime=we,{type:3,steps:He,options:Pe(M.options)}}visitAnimate(M,L){const ne=function(ye,M){let L=null;if(ye.hasOwnProperty("duration"))L=ye;else if("number"==typeof ye)return Ee(Ke(ye,M).duration,0,"");const ne=ye;if(ne.split(/\s+/).some(He=>"{"==He.charAt(0)&&"{"==He.charAt(1))){const He=Ee(0,0,"");return He.dynamic=!0,He.strValue=ne,He}return L=L||Ke(ne,M),Ee(L.duration,L.delay,L.easing)}(M.timings,L.errors);L.currentAnimateTimings=ne;let we,He=M.styles?M.styles:(0,u.oB)({});if(5==He.type)we=this.visitKeyframes(He,L);else{let Je=M.styles,at=!1;if(!Je){at=!0;const Vt={};ne.easing&&(Vt.easing=ne.easing),Je=(0,u.oB)(Vt)}L.currentTime+=ne.duration+ne.delay;const St=this.visitStyle(Je,L);St.isEmptyStep=at,we=St}return L.currentAnimateTimings=null,{type:4,timings:ne,style:we,options:null}}visitStyle(M,L){const ne=this._makeStyleAst(M,L);return this._validateStyleAst(ne,L),ne}_makeStyleAst(M,L){const ne=[];Array.isArray(M.styles)?M.styles.forEach(Je=>{"string"==typeof Je?Je==u.l3?ne.push(Je):L.errors.push(`The provided style string value ${Je} is not allowed.`):ne.push(Je)}):ne.push(M.styles);let we=!1,He=null;return ne.forEach(Je=>{if(Ot(Je)){const at=Je,St=at.easing;if(St&&(He=St,delete at.easing),!we)for(let Vt in at)if(at[Vt].toString().indexOf("{{")>=0){we=!0;break}}}),{type:6,styles:ne,easing:He,offset:M.offset,containsDynamicStyles:we,options:null}}_validateStyleAst(M,L){const ne=L.currentAnimateTimings;let we=L.currentTime,He=L.currentTime;ne&&He>0&&(He-=ne.duration+ne.delay),M.styles.forEach(Je=>{"string"!=typeof Je&&Object.keys(Je).forEach(at=>{if(!this._driver.validateStyleProperty(at))return void L.errors.push(`The provided animation property "${at}" is not a supported CSS property for animations`);const St=L.collectedStyles[L.currentQuerySelector],Vt=St[at];let Gt=!0;Vt&&(He!=we&&He>=Vt.startTime&&we<=Vt.endTime&&(L.errors.push(`The CSS property "${at}" that exists between the times of "${Vt.startTime}ms" and "${Vt.endTime}ms" is also being animated in a parallel animation between the times of "${He}ms" and "${we}ms"`),Gt=!1),He=Vt.startTime),Gt&&(St[at]={startTime:He,endTime:we}),L.options&&function(ye,M,L){const ne=M.params||{},we=Ne(ye);we.length&&we.forEach(He=>{ne.hasOwnProperty(He)||L.push(`Unable to resolve the local animation param ${He} in the given list of values`)})}(Je[at],L.options,L.errors)})})}visitKeyframes(M,L){const ne={type:5,styles:[],options:null};if(!L.currentAnimateTimings)return L.errors.push("keyframes() must be placed inside of a call to animate()"),ne;let He=0;const Je=[];let at=!1,St=!1,Vt=0;const Gt=M.steps.map(Gn=>{const ai=this._makeStyleAst(Gn,L);let Ci=null!=ai.offset?ai.offset:function(ye){if("string"==typeof ye)return null;let M=null;if(Array.isArray(ye))ye.forEach(L=>{if(Ot(L)&&L.hasOwnProperty("offset")){const ne=L;M=parseFloat(ne.offset),delete ne.offset}});else if(Ot(ye)&&ye.hasOwnProperty("offset")){const L=ye;M=parseFloat(L.offset),delete L.offset}return M}(ai.styles),vi=0;return null!=Ci&&(He++,vi=ai.offset=Ci),St=St||vi<0||vi>1,at=at||vi0&&He{const Ci=yn>0?ai==pn?1:yn*ai:Je[ai],vi=Ci*In;L.currentTime=rn+Cn.delay+vi,Cn.duration=vi,this._validateStyleAst(Gn,L),Gn.offset=Ci,ne.styles.push(Gn)}),ne}visitReference(M,L){return{type:8,animation:_(this,Et(M.animation),L),options:Pe(M.options)}}visitAnimateChild(M,L){return L.depCount++,{type:9,options:Pe(M.options)}}visitAnimateRef(M,L){return{type:10,animation:this.visitReference(M.animation,L),options:Pe(M.options)}}visitQuery(M,L){const ne=L.currentQuerySelector,we=M.options||{};L.queryCount++,L.currentQuery=M;const[He,Je]=function(ye){const M=!!ye.split(/\s*,\s*/).find(L=>":self"==L);return M&&(ye=ye.replace(kt,"")),ye=ye.replace(/@\*/g,U).replace(/@\w+/g,L=>U+"-"+L.substr(1)).replace(/:animating/g,le),[ye,M]}(M.selector);L.currentQuerySelector=ne.length?ne+" "+He:He,h(L.collectedStyles,L.currentQuerySelector,{});const at=_(this,Et(M.animation),L);return L.currentQuery=null,L.currentQuerySelector=ne,{type:11,selector:He,limit:we.limit||0,optional:!!we.optional,includeSelf:Je,animation:at,originalSelector:M.selector,options:Pe(M.options)}}visitStagger(M,L){L.currentQuery||L.errors.push("stagger() can only be used inside of query()");const ne="full"===M.timings?{duration:0,delay:0,easing:"full"}:Ke(M.timings,L.errors,!0);return{type:12,animation:_(this,Et(M.animation),L),timings:ne,options:null}}}class Ge{constructor(M){this.errors=M,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Ot(ye){return!Array.isArray(ye)&&"object"==typeof ye}function Pe(ye){return ye?(ye=ot(ye)).params&&(ye.params=function(ye){return ye?ot(ye):null}(ye.params)):ye={},ye}function Ee(ye,M,L){return{duration:ye,delay:M,easing:L}}function B(ye,M,L,ne,we,He,Je=null,at=!1){return{type:1,element:ye,keyframes:M,preStyleProps:L,postStyleProps:ne,duration:we,delay:He,totalTime:we+He,easing:Je,subTimeline:at}}class V{constructor(){this._map=new Map}get(M){return this._map.get(M)||[]}append(M,L){let ne=this._map.get(M);ne||this._map.set(M,ne=[]),ne.push(...L)}has(M){return this._map.has(M)}clear(){this._map.clear()}}const Ct=new RegExp(":enter","g"),$t=new RegExp(":leave","g");function vn(ye,M,L,ne,we,He={},Je={},at,St,Vt=[]){return(new it).buildKeyframes(ye,M,L,ne,we,He,Je,at,St,Vt)}class it{buildKeyframes(M,L,ne,we,He,Je,at,St,Vt,Gt=[]){Vt=Vt||new V;const en=new Ve(M,L,Vt,we,He,Gt,[]);en.options=St,en.currentTimeline.setStyles([Je],null,en.errors,St),_(this,ne,en);const yn=en.timelines.filter(pn=>pn.containsAnimation());if(yn.length&&Object.keys(at).length){const pn=yn[yn.length-1];pn.allowOnlyTimelineStyles()||pn.setStyles([at],null,en.errors,St)}return yn.length?yn.map(pn=>pn.buildKeyframes()):[B(L,[],[],[],0,0,"",!1)]}visitTrigger(M,L){}visitState(M,L){}visitTransition(M,L){}visitAnimateChild(M,L){const ne=L.subInstructions.get(L.element);if(ne){const we=L.createSubContext(M.options),He=L.currentTimeline.currentTime,Je=this._visitSubInstructions(ne,we,we.options);He!=Je&&L.transformIntoNewTimeline(Je)}L.previousNode=M}visitAnimateRef(M,L){const ne=L.createSubContext(M.options);ne.transformIntoNewTimeline(),this.visitReference(M.animation,ne),L.transformIntoNewTimeline(ne.currentTimeline.currentTime),L.previousNode=M}_visitSubInstructions(M,L,ne){let He=L.currentTimeline.currentTime;const Je=null!=ne.duration?Ce(ne.duration):null,at=null!=ne.delay?Ce(ne.delay):null;return 0!==Je&&M.forEach(St=>{const Vt=L.appendInstructionToTimeline(St,Je,at);He=Math.max(He,Vt.duration+Vt.delay)}),He}visitReference(M,L){L.updateOptions(M.options,!0),_(this,M.animation,L),L.previousNode=M}visitSequence(M,L){const ne=L.subContextCount;let we=L;const He=M.options;if(He&&(He.params||He.delay)&&(we=L.createSubContext(He),we.transformIntoNewTimeline(),null!=He.delay)){6==we.previousNode.type&&(we.currentTimeline.snapshotCurrentStyles(),we.previousNode=st);const Je=Ce(He.delay);we.delayNextStep(Je)}M.steps.length&&(M.steps.forEach(Je=>_(this,Je,we)),we.currentTimeline.applyStylesToKeyframe(),we.subContextCount>ne&&we.transformIntoNewTimeline()),L.previousNode=M}visitGroup(M,L){const ne=[];let we=L.currentTimeline.currentTime;const He=M.options&&M.options.delay?Ce(M.options.delay):0;M.steps.forEach(Je=>{const at=L.createSubContext(M.options);He&&at.delayNextStep(He),_(this,Je,at),we=Math.max(we,at.currentTimeline.currentTime),ne.push(at.currentTimeline)}),ne.forEach(Je=>L.currentTimeline.mergeTimelineCollectedStyles(Je)),L.transformIntoNewTimeline(we),L.previousNode=M}_visitTiming(M,L){if(M.dynamic){const ne=M.strValue;return Ke(L.params?rt(ne,L.params,L.errors):ne,L.errors)}return{duration:M.duration,delay:M.delay,easing:M.easing}}visitAnimate(M,L){const ne=L.currentAnimateTimings=this._visitTiming(M.timings,L),we=L.currentTimeline;ne.delay&&(L.incrementTime(ne.delay),we.snapshotCurrentStyles());const He=M.style;5==He.type?this.visitKeyframes(He,L):(L.incrementTime(ne.duration),this.visitStyle(He,L),we.applyStylesToKeyframe()),L.currentAnimateTimings=null,L.previousNode=M}visitStyle(M,L){const ne=L.currentTimeline,we=L.currentAnimateTimings;!we&&ne.getCurrentStyleProperties().length&&ne.forwardFrame();const He=we&&we.easing||M.easing;M.isEmptyStep?ne.applyEmptyStep(He):ne.setStyles(M.styles,He,L.errors,L.options),L.previousNode=M}visitKeyframes(M,L){const ne=L.currentAnimateTimings,we=L.currentTimeline.duration,He=ne.duration,at=L.createSubContext().currentTimeline;at.easing=ne.easing,M.styles.forEach(St=>{at.forwardTime((St.offset||0)*He),at.setStyles(St.styles,St.easing,L.errors,L.options),at.applyStylesToKeyframe()}),L.currentTimeline.mergeTimelineCollectedStyles(at),L.transformIntoNewTimeline(we+He),L.previousNode=M}visitQuery(M,L){const ne=L.currentTimeline.currentTime,we=M.options||{},He=we.delay?Ce(we.delay):0;He&&(6===L.previousNode.type||0==ne&&L.currentTimeline.getCurrentStyleProperties().length)&&(L.currentTimeline.snapshotCurrentStyles(),L.previousNode=st);let Je=ne;const at=L.invokeQuery(M.selector,M.originalSelector,M.limit,M.includeSelf,!!we.optional,L.errors);L.currentQueryTotal=at.length;let St=null;at.forEach((Vt,Gt)=>{L.currentQueryIndex=Gt;const en=L.createSubContext(M.options,Vt);He&&en.delayNextStep(He),Vt===L.element&&(St=en.currentTimeline),_(this,M.animation,en),en.currentTimeline.applyStylesToKeyframe(),Je=Math.max(Je,en.currentTimeline.currentTime)}),L.currentQueryIndex=0,L.currentQueryTotal=0,L.transformIntoNewTimeline(Je),St&&(L.currentTimeline.mergeTimelineCollectedStyles(St),L.currentTimeline.snapshotCurrentStyles()),L.previousNode=M}visitStagger(M,L){const ne=L.parentContext,we=L.currentTimeline,He=M.timings,Je=Math.abs(He.duration),at=Je*(L.currentQueryTotal-1);let St=Je*L.currentQueryIndex;switch(He.duration<0?"reverse":He.easing){case"reverse":St=at-St;break;case"full":St=ne.currentStaggerTime}const Gt=L.currentTimeline;St&&Gt.delayNextStep(St);const en=Gt.currentTime;_(this,M.animation,L),L.previousNode=M,ne.currentStaggerTime=we.currentTime-en+(we.startTime-ne.currentTimeline.startTime)}}const st={};class Ve{constructor(M,L,ne,we,He,Je,at,St){this._driver=M,this.element=L,this.subInstructions=ne,this._enterClassName=we,this._leaveClassName=He,this.errors=Je,this.timelines=at,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=st,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=St||new ut(this._driver,L,0),at.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(M,L){if(!M)return;const ne=M;let we=this.options;null!=ne.duration&&(we.duration=Ce(ne.duration)),null!=ne.delay&&(we.delay=Ce(ne.delay));const He=ne.params;if(He){let Je=we.params;Je||(Je=this.options.params={}),Object.keys(He).forEach(at=>{(!L||!Je.hasOwnProperty(at))&&(Je[at]=rt(He[at],Je,this.errors))})}}_copyOptions(){const M={};if(this.options){const L=this.options.params;if(L){const ne=M.params={};Object.keys(L).forEach(we=>{ne[we]=L[we]})}}return M}createSubContext(M=null,L,ne){const we=L||this.element,He=new Ve(this._driver,we,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(we,ne||0));return He.previousNode=this.previousNode,He.currentAnimateTimings=this.currentAnimateTimings,He.options=this._copyOptions(),He.updateOptions(M),He.currentQueryIndex=this.currentQueryIndex,He.currentQueryTotal=this.currentQueryTotal,He.parentContext=this,this.subContextCount++,He}transformIntoNewTimeline(M){return this.previousNode=st,this.currentTimeline=this.currentTimeline.fork(this.element,M),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(M,L,ne){const we={duration:null!=L?L:M.duration,delay:this.currentTimeline.currentTime+(null!=ne?ne:0)+M.delay,easing:""},He=new At(this._driver,M.element,M.keyframes,M.preStyleProps,M.postStyleProps,we,M.stretchStartingKeyframe);return this.timelines.push(He),we}incrementTime(M){this.currentTimeline.forwardTime(this.currentTimeline.duration+M)}delayNextStep(M){M>0&&this.currentTimeline.delayNextStep(M)}invokeQuery(M,L,ne,we,He,Je){let at=[];if(we&&at.push(this.element),M.length>0){M=(M=M.replace(Ct,"."+this._enterClassName)).replace($t,"."+this._leaveClassName);let Vt=this._driver.query(this.element,M,1!=ne);0!==ne&&(Vt=ne<0?Vt.slice(Vt.length+ne,Vt.length):Vt.slice(0,ne)),at.push(...Vt)}return!He&&0==at.length&&Je.push(`\`query("${L}")\` returned zero elements. (Use \`query("${L}", { optional: true })\` if you wish to allow this.)`),at}}class ut{constructor(M,L,ne,we){this._driver=M,this.element=L,this.startTime=ne,this._elementTimelineStylesLookup=we,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(L),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(L,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(M){const L=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||L?(this.forwardTime(this.currentTime+M),L&&this.snapshotCurrentStyles()):this.startTime+=M}fork(M,L){return this.applyStylesToKeyframe(),new ut(this._driver,M,L||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(M){this.applyStylesToKeyframe(),this.duration=M,this._loadKeyframe()}_updateStyle(M,L){this._localTimelineStyles[M]=L,this._globalTimelineStyles[M]=L,this._styleSummary[M]={time:this.currentTime,value:L}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(M){M&&(this._previousKeyframe.easing=M),Object.keys(this._globalTimelineStyles).forEach(L=>{this._backFill[L]=this._globalTimelineStyles[L]||u.l3,this._currentKeyframe[L]=u.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(M,L,ne,we){L&&(this._previousKeyframe.easing=L);const He=we&&we.params||{},Je=function(ye,M){const L={};let ne;return ye.forEach(we=>{"*"===we?(ne=ne||Object.keys(M),ne.forEach(He=>{L[He]=u.l3})):Dt(we,!1,L)}),L}(M,this._globalTimelineStyles);Object.keys(Je).forEach(at=>{const St=rt(Je[at],He,ne);this._pendingStyles[at]=St,this._localTimelineStyles.hasOwnProperty(at)||(this._backFill[at]=this._globalTimelineStyles.hasOwnProperty(at)?this._globalTimelineStyles[at]:u.l3),this._updateStyle(at,St)})}applyStylesToKeyframe(){const M=this._pendingStyles,L=Object.keys(M);0!=L.length&&(this._pendingStyles={},L.forEach(ne=>{this._currentKeyframe[ne]=M[ne]}),Object.keys(this._localTimelineStyles).forEach(ne=>{this._currentKeyframe.hasOwnProperty(ne)||(this._currentKeyframe[ne]=this._localTimelineStyles[ne])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(M=>{const L=this._localTimelineStyles[M];this._pendingStyles[M]=L,this._updateStyle(M,L)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const M=[];for(let L in this._currentKeyframe)M.push(L);return M}mergeTimelineCollectedStyles(M){Object.keys(M._styleSummary).forEach(L=>{const ne=this._styleSummary[L],we=M._styleSummary[L];(!ne||we.time>ne.time)&&this._updateStyle(L,we.value)})}buildKeyframes(){this.applyStylesToKeyframe();const M=new Set,L=new Set,ne=1===this._keyframes.size&&0===this.duration;let we=[];this._keyframes.forEach((at,St)=>{const Vt=Dt(at,!0);Object.keys(Vt).forEach(Gt=>{const en=Vt[Gt];en==u.k1?M.add(Gt):en==u.l3&&L.add(Gt)}),ne||(Vt.offset=St/this.duration),we.push(Vt)});const He=M.size?ze(M.values()):[],Je=L.size?ze(L.values()):[];if(ne){const at=we[0],St=ot(at);at.offset=0,St.offset=1,we=[at,St]}return B(this.element,we,He,Je,this.duration,this.startTime,this.easing,!1)}}class At extends ut{constructor(M,L,ne,we,He,Je,at=!1){super(M,L,Je.delay),this.keyframes=ne,this.preStyleProps=we,this.postStyleProps=He,this._stretchStartingKeyframe=at,this.timings={duration:Je.duration,delay:Je.delay,easing:Je.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let M=this.keyframes,{delay:L,duration:ne,easing:we}=this.timings;if(this._stretchStartingKeyframe&&L){const He=[],Je=ne+L,at=L/Je,St=Dt(M[0],!1);St.offset=0,He.push(St);const Vt=Dt(M[0],!1);Vt.offset=Xt(at),He.push(Vt);const Gt=M.length-1;for(let en=1;en<=Gt;en++){let yn=Dt(M[en],!1);yn.offset=Xt((L+yn.offset*ne)/Je),He.push(yn)}ne=Je,L=0,we="",M=He}return B(this.element,M,this.preStyleProps,this.postStyleProps,ne,L,we,!0)}}function Xt(ye,M=3){const L=Math.pow(10,M-1);return Math.round(ye*L)/L}class Rn{}class ti extends Rn{normalizePropertyName(M,L){return gt(M)}normalizeStyleValue(M,L,ne,we){let He="";const Je=ne.toString().trim();if(pi[L]&&0!==ne&&"0"!==ne)if("number"==typeof ne)He="px";else{const at=ne.match(/^[+-]?[\d\.]+([a-z]*)$/);at&&0==at[1].length&&we.push(`Please provide a CSS unit value for ${M}:${ne}`)}return Je+He}}const pi=(()=>function(ye){const M={};return ye.forEach(L=>M[L]=!0),M}("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".split(",")))();function Ln(ye,M,L,ne,we,He,Je,at,St,Vt,Gt,en,yn){return{type:0,element:ye,triggerName:M,isRemovalTransition:we,fromState:L,fromStyles:He,toState:ne,toStyles:Je,timelines:at,queriedElements:St,preStyleProps:Vt,postStyleProps:Gt,totalTime:en,errors:yn}}const ri={};class jn{constructor(M,L,ne){this._triggerName=M,this.ast=L,this._stateStyles=ne}match(M,L,ne,we){return function(ye,M,L,ne,we){return ye.some(He=>He(M,L,ne,we))}(this.ast.matchers,M,L,ne,we)}buildStyles(M,L,ne){const we=this._stateStyles["*"],He=this._stateStyles[M],Je=we?we.buildStyles(L,ne):{};return He?He.buildStyles(L,ne):Je}build(M,L,ne,we,He,Je,at,St,Vt,Gt){const en=[],yn=this.ast.options&&this.ast.options.params||ri,rn=this.buildStyles(ne,at&&at.params||ri,en),Cn=St&&St.params||ri,In=this.buildStyles(we,Cn,en),Gn=new Set,ai=new Map,Ci=new Map,vi="void"===we,pr={params:Object.assign(Object.assign({},yn),Cn)},ki=Gt?[]:vn(M,L,this.ast.animation,He,Je,rn,In,pr,Vt,en);let gi=0;if(ki.forEach(xi=>{gi=Math.max(xi.duration+xi.delay,gi)}),en.length)return Ln(L,this._triggerName,ne,we,vi,rn,In,[],[],ai,Ci,gi,en);ki.forEach(xi=>{const Ji=xi.element,Zr=h(ai,Ji,{});xi.preStyleProps.forEach(gr=>Zr[gr]=!0);const mr=h(Ci,Ji,{});xi.postStyleProps.forEach(gr=>mr[gr]=!0),Ji!==L&&Gn.add(Ji)});const Zi=ze(Gn.values());return Ln(L,this._triggerName,ne,we,vi,rn,In,ki,Zi,ai,Ci,gi)}}class Xe{constructor(M,L,ne){this.styles=M,this.defaultParams=L,this.normalizer=ne}buildStyles(M,L){const ne={},we=ot(this.defaultParams);return Object.keys(M).forEach(He=>{const Je=M[He];null!=Je&&(we[He]=Je)}),this.styles.styles.forEach(He=>{if("string"!=typeof He){const Je=He;Object.keys(Je).forEach(at=>{let St=Je[at];St.length>1&&(St=rt(St,we,L));const Vt=this.normalizer.normalizePropertyName(at,L);St=this.normalizer.normalizeStyleValue(at,Vt,St,L),ne[Vt]=St})}}),ne}}class Re{constructor(M,L,ne){this.name=M,this.ast=L,this._normalizer=ne,this.transitionFactories=[],this.states={},L.states.forEach(we=>{this.states[we.name]=new Xe(we.style,we.options&&we.options.params||{},ne)}),te(this.states,"true","1"),te(this.states,"false","0"),L.transitions.forEach(we=>{this.transitionFactories.push(new jn(M,we,this.states))}),this.fallbackTransition=function(ye,M,L){return new jn(ye,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Je,at)=>!0],options:null,queryCount:0,depCount:0},M)}(M,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(M,L,ne,we){return this.transitionFactories.find(Je=>Je.match(M,L,ne,we))||null}matchStyles(M,L,ne){return this.fallbackTransition.buildStyles(M,L,ne)}}function te(ye,M,L){ye.hasOwnProperty(M)?ye.hasOwnProperty(L)||(ye[L]=ye[M]):ye.hasOwnProperty(L)&&(ye[M]=ye[L])}const ke=new V;class Ye{constructor(M,L,ne){this.bodyNode=M,this._driver=L,this._normalizer=ne,this._animations={},this._playersById={},this.players=[]}register(M,L){const ne=[],we=pt(this._driver,L,ne);if(ne.length)throw new Error(`Unable to build the animation due to the following errors: ${ne.join("\n")}`);this._animations[M]=we}_buildPlayer(M,L,ne){const we=M.element,He=m(0,this._normalizer,0,M.keyframes,L,ne);return this._driver.animate(we,He,M.duration,M.delay,M.easing,[],!0)}create(M,L,ne={}){const we=[],He=this._animations[M];let Je;const at=new Map;if(He?(Je=vn(this._driver,L,He,pe,oe,{},{},ne,ke,we),Je.forEach(Gt=>{const en=h(at,Gt.element,{});Gt.postStyleProps.forEach(yn=>en[yn]=null)})):(we.push("The requested animation doesn't exist or has already been destroyed"),Je=[]),we.length)throw new Error(`Unable to create the animation due to the following errors: ${we.join("\n")}`);at.forEach((Gt,en)=>{Object.keys(Gt).forEach(yn=>{Gt[yn]=this._driver.computeStyle(en,yn,u.l3)})});const Vt=d(Je.map(Gt=>{const en=at.get(Gt.element);return this._buildPlayer(Gt,{},en)}));return this._playersById[M]=Vt,Vt.onDestroy(()=>this.destroy(M)),this.players.push(Vt),Vt}destroy(M){const L=this._getPlayer(M);L.destroy(),delete this._playersById[M];const ne=this.players.indexOf(L);ne>=0&&this.players.splice(ne,1)}_getPlayer(M){const L=this._playersById[M];if(!L)throw new Error(`Unable to find the timeline player referenced by ${M}`);return L}listen(M,L,ne,we){const He=b(L,"","","");return p(this._getPlayer(M),ne,He,we),()=>{}}command(M,L,ne,we){if("register"==ne)return void this.register(M,we[0]);if("create"==ne)return void this.create(M,L,we[0]||{});const He=this._getPlayer(M);switch(ne){case"play":He.play();break;case"pause":He.pause();break;case"reset":He.reset();break;case"restart":He.restart();break;case"finish":He.finish();break;case"init":He.init();break;case"setPosition":He.setPosition(parseFloat(we[0]));break;case"destroy":this.destroy(M)}}}const Nt="ng-animate-queued",Lt="ng-animate-disabled",Tn=[],wn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Bn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},An="__ng_removed";class kn{constructor(M,L=""){this.namespaceId=L;const ne=M&&M.hasOwnProperty("value");if(this.value=null!=(ye=ne?M.value:M)?ye:null,ne){const He=ot(M);delete He.value,this.options=He}else this.options={};var ye;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(M){const L=M.params;if(L){const ne=this.options.params;Object.keys(L).forEach(we=>{null==ne[we]&&(ne[we]=L[we])})}}}const bn="void",ui=new kn(bn);class Oi{constructor(M,L,ne){this.id=M,this.hostElement=L,this._engine=ne,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+M,xn(L,this._hostClassName)}listen(M,L,ne,we){if(!this._triggers.hasOwnProperty(L))throw new Error(`Unable to listen on the animation trigger event "${ne}" because the animation trigger "${L}" doesn't exist!`);if(null==ne||0==ne.length)throw new Error(`Unable to listen on the animation trigger "${L}" because the provided event is undefined!`);if("start"!=(ye=ne)&&"done"!=ye)throw new Error(`The provided animation trigger event "${ne}" for the animation trigger "${L}" is not supported!`);var ye;const He=h(this._elementListeners,M,[]),Je={name:L,phase:ne,callback:we};He.push(Je);const at=h(this._engine.statesByElement,M,{});return at.hasOwnProperty(L)||(xn(M,ae),xn(M,ae+"-"+L),at[L]=ui),()=>{this._engine.afterFlush(()=>{const St=He.indexOf(Je);St>=0&&He.splice(St,1),this._triggers[L]||delete at[L]})}}register(M,L){return!this._triggers[M]&&(this._triggers[M]=L,!0)}_getTrigger(M){const L=this._triggers[M];if(!L)throw new Error(`The provided animation trigger "${M}" has not been registered!`);return L}trigger(M,L,ne,we=!0){const He=this._getTrigger(L),Je=new Xn(this.id,L,M);let at=this._engine.statesByElement.get(M);at||(xn(M,ae),xn(M,ae+"-"+L),this._engine.statesByElement.set(M,at={}));let St=at[L];const Vt=new kn(ne,this.id);if(!(ne&&ne.hasOwnProperty("value"))&&St&&Vt.absorbOptions(St.options),at[L]=Vt,St||(St=ui),Vt.value!==bn&&St.value===Vt.value){if(!function(ye,M){const L=Object.keys(ye),ne=Object.keys(M);if(L.length!=ne.length)return!1;for(let we=0;we{bt(M,In),ct(M,Gn)})}return}const yn=h(this._engine.playersByElement,M,[]);yn.forEach(Cn=>{Cn.namespaceId==this.id&&Cn.triggerName==L&&Cn.queued&&Cn.destroy()});let pn=He.matchTransition(St.value,Vt.value,M,Vt.params),rn=!1;if(!pn){if(!we)return;pn=He.fallbackTransition,rn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:L,transition:pn,fromState:St,toState:Vt,player:Je,isFallbackTransition:rn}),rn||(xn(M,Nt),Je.onStart(()=>{Ii(M,Nt)})),Je.onDone(()=>{let Cn=this.players.indexOf(Je);Cn>=0&&this.players.splice(Cn,1);const In=this._engine.playersByElement.get(M);if(In){let Gn=In.indexOf(Je);Gn>=0&&In.splice(Gn,1)}}),this.players.push(Je),yn.push(Je),Je}deregister(M){delete this._triggers[M],this._engine.statesByElement.forEach((L,ne)=>{delete L[M]}),this._elementListeners.forEach((L,ne)=>{this._elementListeners.set(ne,L.filter(we=>we.name!=M))})}clearElementCache(M){this._engine.statesByElement.delete(M),this._elementListeners.delete(M);const L=this._engine.playersByElement.get(M);L&&(L.forEach(ne=>ne.destroy()),this._engine.playersByElement.delete(M))}_signalRemovalForInnerTriggers(M,L){const ne=this._engine.driver.query(M,U,!0);ne.forEach(we=>{if(we[An])return;const He=this._engine.fetchNamespacesByElement(we);He.size?He.forEach(Je=>Je.triggerLeaveAnimation(we,L,!1,!0)):this.clearElementCache(we)}),this._engine.afterFlushAnimationsDone(()=>ne.forEach(we=>this.clearElementCache(we)))}triggerLeaveAnimation(M,L,ne,we){const He=this._engine.statesByElement.get(M);if(He){const Je=[];if(Object.keys(He).forEach(at=>{if(this._triggers[at]){const St=this.trigger(M,at,bn,we);St&&Je.push(St)}}),Je.length)return this._engine.markElementAsRemoved(this.id,M,!0,L),ne&&d(Je).onDone(()=>this._engine.processLeaveNode(M)),!0}return!1}prepareLeaveAnimationListeners(M){const L=this._elementListeners.get(M),ne=this._engine.statesByElement.get(M);if(L&&ne){const we=new Set;L.forEach(He=>{const Je=He.name;if(we.has(Je))return;we.add(Je);const St=this._triggers[Je].fallbackTransition,Vt=ne[Je]||ui,Gt=new kn(bn),en=new Xn(this.id,Je,M);this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:Je,transition:St,fromState:Vt,toState:Gt,player:en,isFallbackTransition:!0})})}}removeNode(M,L){const ne=this._engine;if(M.childElementCount&&this._signalRemovalForInnerTriggers(M,L),this.triggerLeaveAnimation(M,L,!0))return;let we=!1;if(ne.totalAnimations){const He=ne.players.length?ne.playersByQueriedElement.get(M):[];if(He&&He.length)we=!0;else{let Je=M;for(;Je=Je.parentNode;)if(ne.statesByElement.get(Je)){we=!0;break}}}if(this.prepareLeaveAnimationListeners(M),we)ne.markElementAsRemoved(this.id,M,!1,L);else{const He=M[An];(!He||He===wn)&&(ne.afterFlush(()=>this.clearElementCache(M)),ne.destroyInnerAnimations(M),ne._onRemovalComplete(M,L))}}insertNode(M,L){xn(M,this._hostClassName)}drainQueuedTransitions(M){const L=[];return this._queue.forEach(ne=>{const we=ne.player;if(we.destroyed)return;const He=ne.element,Je=this._elementListeners.get(He);Je&&Je.forEach(at=>{if(at.name==ne.triggerName){const St=b(He,ne.triggerName,ne.fromState.value,ne.toState.value);St._data=M,p(ne.player,at.phase,St,at.callback)}}),we.markedForDestroy?this._engine.afterFlush(()=>{we.destroy()}):L.push(ne)}),this._queue=[],L.sort((ne,we)=>{const He=ne.transition.ast.depCount,Je=we.transition.ast.depCount;return 0==He||0==Je?He-Je:this._engine.driver.containsElement(ne.element,we.element)?1:-1})}destroy(M){this.players.forEach(L=>L.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,M)}elementContainsData(M){let L=!1;return this._elementListeners.has(M)&&(L=!0),L=!!this._queue.find(ne=>ne.element===M)||L,L}}class ci{constructor(M,L,ne){this.bodyNode=M,this.driver=L,this._normalizer=ne,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=(we,He)=>{}}_onRemovalComplete(M,L){this.onRemovalComplete(M,L)}get queuedPlayers(){const M=[];return this._namespaceList.forEach(L=>{L.players.forEach(ne=>{ne.queued&&M.push(ne)})}),M}createNamespace(M,L){const ne=new Oi(M,L,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,L)?this._balanceNamespaceList(ne,L):(this.newHostElements.set(L,ne),this.collectEnterElement(L)),this._namespaceLookup[M]=ne}_balanceNamespaceList(M,L){const ne=this._namespaceList.length-1;if(ne>=0){let we=!1;for(let He=ne;He>=0;He--)if(this.driver.containsElement(this._namespaceList[He].hostElement,L)){this._namespaceList.splice(He+1,0,M),we=!0;break}we||this._namespaceList.splice(0,0,M)}else this._namespaceList.push(M);return this.namespacesByHostElement.set(L,M),M}register(M,L){let ne=this._namespaceLookup[M];return ne||(ne=this.createNamespace(M,L)),ne}registerTrigger(M,L,ne){let we=this._namespaceLookup[M];we&&we.register(L,ne)&&this.totalAnimations++}destroy(M,L){if(!M)return;const ne=this._fetchNamespace(M);this.afterFlush(()=>{this.namespacesByHostElement.delete(ne.hostElement),delete this._namespaceLookup[M];const we=this._namespaceList.indexOf(ne);we>=0&&this._namespaceList.splice(we,1)}),this.afterFlushAnimationsDone(()=>ne.destroy(L))}_fetchNamespace(M){return this._namespaceLookup[M]}fetchNamespacesByElement(M){const L=new Set,ne=this.statesByElement.get(M);if(ne){const we=Object.keys(ne);for(let He=0;He=0&&this.collectedLeaveElements.splice(Je,1)}if(M){const Je=this._fetchNamespace(M);Je&&Je.insertNode(L,ne)}we&&this.collectEnterElement(L)}collectEnterElement(M){this.collectedEnterElements.push(M)}markElementAsDisabled(M,L){L?this.disabledNodes.has(M)||(this.disabledNodes.add(M),xn(M,Lt)):this.disabledNodes.has(M)&&(this.disabledNodes.delete(M),Ii(M,Lt))}removeNode(M,L,ne,we){if(bi(L)){const He=M?this._fetchNamespace(M):null;if(He?He.removeNode(L,we):this.markElementAsRemoved(M,L,!1,we),ne){const Je=this.namespacesByHostElement.get(L);Je&&Je.id!==M&&Je.removeNode(L,we)}}else this._onRemovalComplete(L,we)}markElementAsRemoved(M,L,ne,we){this.collectedLeaveElements.push(L),L[An]={namespaceId:M,setForRemoval:we,hasAnimation:ne,removedBeforeQueried:!1}}listen(M,L,ne,we,He){return bi(L)?this._fetchNamespace(M).listen(L,ne,we,He):()=>{}}_buildInstruction(M,L,ne,we,He){return M.transition.build(this.driver,M.element,M.fromState.value,M.toState.value,ne,we,M.fromState.options,M.toState.options,L,He)}destroyInnerAnimations(M){let L=this.driver.query(M,U,!0);L.forEach(ne=>this.destroyActiveAnimationsForElement(ne)),0!=this.playersByQueriedElement.size&&(L=this.driver.query(M,le,!0),L.forEach(ne=>this.finishActiveQueriedAnimationOnElement(ne)))}destroyActiveAnimationsForElement(M){const L=this.playersByElement.get(M);L&&L.forEach(ne=>{ne.queued?ne.markedForDestroy=!0:ne.destroy()})}finishActiveQueriedAnimationOnElement(M){const L=this.playersByQueriedElement.get(M);L&&L.forEach(ne=>ne.finish())}whenRenderingDone(){return new Promise(M=>{if(this.players.length)return d(this.players).onDone(()=>M());M()})}processLeaveNode(M){var L;const ne=M[An];if(ne&&ne.setForRemoval){if(M[An]=wn,ne.namespaceId){this.destroyInnerAnimations(M);const we=this._fetchNamespace(ne.namespaceId);we&&we.clearElementCache(M)}this._onRemovalComplete(M,ne.setForRemoval)}(null===(L=M.classList)||void 0===L?void 0:L.contains(Lt))&&this.markElementAsDisabled(M,!1),this.driver.query(M,".ng-animate-disabled",!0).forEach(we=>{this.markElementAsDisabled(we,!1)})}flush(M=-1){let L=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ne,we)=>this._balanceNamespaceList(ne,we)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ne=0;nene()),this._flushFns=[],this._whenQuietFns.length){const ne=this._whenQuietFns;this._whenQuietFns=[],L.length?d(L).onDone(()=>{ne.forEach(we=>we())}):ne.forEach(we=>we())}}reportError(M){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${M.join("\n")}`)}_flushAnimations(M,L){const ne=new V,we=[],He=new Map,Je=[],at=new Map,St=new Map,Vt=new Map,Gt=new Set;this.disabledNodes.forEach(tn=>{Gt.add(tn);const un=this.driver.query(tn,".ng-animate-queued",!0);for(let ln=0;ln{const ln=pe+Cn++;rn.set(un,ln),tn.forEach(zn=>xn(zn,ln))});const In=[],Gn=new Set,ai=new Set;for(let tn=0;tnGn.add(zn)):ai.add(un))}const Ci=new Map,vi=Fn(yn,Array.from(Gn));vi.forEach((tn,un)=>{const ln=oe+Cn++;Ci.set(un,ln),tn.forEach(zn=>xn(zn,ln))}),M.push(()=>{pn.forEach((tn,un)=>{const ln=rn.get(un);tn.forEach(zn=>Ii(zn,ln))}),vi.forEach((tn,un)=>{const ln=Ci.get(un);tn.forEach(zn=>Ii(zn,ln))}),In.forEach(tn=>{this.processLeaveNode(tn)})});const pr=[],ki=[];for(let tn=this._namespaceList.length-1;tn>=0;tn--)this._namespaceList[tn].drainQueuedTransitions(L).forEach(ln=>{const zn=ln.player,Un=ln.element;if(pr.push(zn),this.collectedEnterElements.length){const Ni=Un[An];if(Ni&&Ni.setForMove)return void zn.destroy()}const hi=!en||!this.driver.containsElement(en,Un),Pn=Ci.get(Un),Ai=rn.get(Un),ei=this._buildInstruction(ln,ne,Ai,Pn,hi);if(ei.errors&&ei.errors.length)return void ki.push(ei);if(hi)return zn.onStart(()=>bt(Un,ei.fromStyles)),zn.onDestroy(()=>ct(Un,ei.toStyles)),void we.push(zn);if(ln.isFallbackTransition)return zn.onStart(()=>bt(Un,ei.fromStyles)),zn.onDestroy(()=>ct(Un,ei.toStyles)),void we.push(zn);const ds=[];ei.timelines.forEach(Ni=>{Ni.stretchStartingKeyframe=!0,this.disabledNodes.has(Ni.element)||ds.push(Ni)}),ei.timelines=ds,ne.append(Un,ei.timelines),Je.push({instruction:ei,player:zn,element:Un}),ei.queriedElements.forEach(Ni=>h(at,Ni,[]).push(zn)),ei.preStyleProps.forEach((Ni,_r)=>{const or=Object.keys(Ni);if(or.length){let Hi=St.get(_r);Hi||St.set(_r,Hi=new Set),or.forEach(zr=>Hi.add(zr))}}),ei.postStyleProps.forEach((Ni,_r)=>{const or=Object.keys(Ni);let Hi=Vt.get(_r);Hi||Vt.set(_r,Hi=new Set),or.forEach(zr=>Hi.add(zr))})});if(ki.length){const tn=[];ki.forEach(un=>{tn.push(`@${un.triggerName} has failed due to:\n`),un.errors.forEach(ln=>tn.push(`- ${ln}\n`))}),pr.forEach(un=>un.destroy()),this.reportError(tn)}const gi=new Map,Zi=new Map;Je.forEach(tn=>{const un=tn.element;ne.has(un)&&(Zi.set(un,un),this._beforeAnimationBuild(tn.player.namespaceId,tn.instruction,gi))}),we.forEach(tn=>{const un=tn.element;this._getPreviousPlayers(un,!1,tn.namespaceId,tn.triggerName,null).forEach(zn=>{h(gi,un,[]).push(zn),zn.destroy()})});const xi=In.filter(tn=>an(tn,St,Vt)),Ji=new Map;Qi(Ji,this.driver,ai,Vt,u.l3).forEach(tn=>{an(tn,St,Vt)&&xi.push(tn)});const mr=new Map;pn.forEach((tn,un)=>{Qi(mr,this.driver,new Set(tn),St,u.k1)}),xi.forEach(tn=>{const un=Ji.get(tn),ln=mr.get(tn);Ji.set(tn,Object.assign(Object.assign({},un),ln))});const gr=[],cs=[],Jr={};Je.forEach(tn=>{const{element:un,player:ln,instruction:zn}=tn;if(ne.has(un)){if(Gt.has(un))return ln.onDestroy(()=>ct(un,zn.toStyles)),ln.disabled=!0,ln.overrideTotalTime(zn.totalTime),void we.push(ln);let Un=Jr;if(Zi.size>1){let Pn=un;const Ai=[];for(;Pn=Pn.parentNode;){const ei=Zi.get(Pn);if(ei){Un=ei;break}Ai.push(Pn)}Ai.forEach(ei=>Zi.set(ei,Un))}const hi=this._buildAnimation(ln.namespaceId,zn,gi,He,mr,Ji);if(ln.setRealPlayer(hi),Un===Jr)gr.push(ln);else{const Pn=this.playersByElement.get(Un);Pn&&Pn.length&&(ln.parentPlayer=d(Pn)),we.push(ln)}}else bt(un,zn.fromStyles),ln.onDestroy(()=>ct(un,zn.toStyles)),cs.push(ln),Gt.has(un)&&we.push(ln)}),cs.forEach(tn=>{const un=He.get(tn.element);if(un&&un.length){const ln=d(un);tn.setRealPlayer(ln)}}),we.forEach(tn=>{tn.parentPlayer?tn.syncPlayerEvents(tn.parentPlayer):tn.destroy()});for(let tn=0;tn!hi.destroyed);Un.length?wi(this,un,Un):this.processLeaveNode(un)}return In.length=0,gr.forEach(tn=>{this.players.push(tn),tn.onDone(()=>{tn.destroy();const un=this.players.indexOf(tn);this.players.splice(un,1)}),tn.play()}),gr}elementContainsData(M,L){let ne=!1;const we=L[An];return we&&we.setForRemoval&&(ne=!0),this.playersByElement.has(L)&&(ne=!0),this.playersByQueriedElement.has(L)&&(ne=!0),this.statesByElement.has(L)&&(ne=!0),this._fetchNamespace(M).elementContainsData(L)||ne}afterFlush(M){this._flushFns.push(M)}afterFlushAnimationsDone(M){this._whenQuietFns.push(M)}_getPreviousPlayers(M,L,ne,we,He){let Je=[];if(L){const at=this.playersByQueriedElement.get(M);at&&(Je=at)}else{const at=this.playersByElement.get(M);if(at){const St=!He||He==bn;at.forEach(Vt=>{Vt.queued||!St&&Vt.triggerName!=we||Je.push(Vt)})}}return(ne||we)&&(Je=Je.filter(at=>!(ne&&ne!=at.namespaceId||we&&we!=at.triggerName))),Je}_beforeAnimationBuild(M,L,ne){const He=L.element,Je=L.isRemovalTransition?void 0:M,at=L.isRemovalTransition?void 0:L.triggerName;for(const St of L.timelines){const Vt=St.element,Gt=Vt!==He,en=h(ne,Vt,[]);this._getPreviousPlayers(Vt,Gt,Je,at,L.toState).forEach(pn=>{const rn=pn.getRealPlayer();rn.beforeDestroy&&rn.beforeDestroy(),pn.destroy(),en.push(pn)})}bt(He,L.fromStyles)}_buildAnimation(M,L,ne,we,He,Je){const at=L.triggerName,St=L.element,Vt=[],Gt=new Set,en=new Set,yn=L.timelines.map(rn=>{const Cn=rn.element;Gt.add(Cn);const In=Cn[An];if(In&&In.removedBeforeQueried)return new u.ZN(rn.duration,rn.delay);const Gn=Cn!==St,ai=function(ye){const M=[];return Wi(ye,M),M}((ne.get(Cn)||Tn).map(gi=>gi.getRealPlayer())).filter(gi=>!!gi.element&&gi.element===Cn),Ci=He.get(Cn),vi=Je.get(Cn),pr=m(0,this._normalizer,0,rn.keyframes,Ci,vi),ki=this._buildPlayer(rn,pr,ai);if(rn.subTimeline&&we&&en.add(Cn),Gn){const gi=new Xn(M,at,Cn);gi.setRealPlayer(ki),Vt.push(gi)}return ki});Vt.forEach(rn=>{h(this.playersByQueriedElement,rn.element,[]).push(rn),rn.onDone(()=>function(ye,M,L){let ne;if(ye instanceof Map){if(ne=ye.get(M),ne){if(ne.length){const we=ne.indexOf(L);ne.splice(we,1)}0==ne.length&&ye.delete(M)}}else if(ne=ye[M],ne){if(ne.length){const we=ne.indexOf(L);ne.splice(we,1)}0==ne.length&&delete ye[M]}return ne}(this.playersByQueriedElement,rn.element,rn))}),Gt.forEach(rn=>xn(rn,ie));const pn=d(yn);return pn.onDestroy(()=>{Gt.forEach(rn=>Ii(rn,ie)),ct(St,L.toStyles)}),en.forEach(rn=>{h(we,rn,[]).push(pn)}),pn}_buildPlayer(M,L,ne){return L.length>0?this.driver.animate(M.element,L,M.duration,M.delay,M.easing,ne):new u.ZN(M.duration,M.delay)}}class Xn{constructor(M,L,ne){this.namespaceId=M,this.triggerName=L,this.element=ne,this._player=new u.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(M){this._containsRealPlayer||(this._player=M,Object.keys(this._queuedCallbacks).forEach(L=>{this._queuedCallbacks[L].forEach(ne=>p(M,L,void 0,ne))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(M.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(M){this.totalTime=M}syncPlayerEvents(M){const L=this._player;L.triggerCallback&&M.onStart(()=>L.triggerCallback("start")),M.onDone(()=>this.finish()),M.onDestroy(()=>this.destroy())}_queueEvent(M,L){h(this._queuedCallbacks,M,[]).push(L)}onDone(M){this.queued&&this._queueEvent("done",M),this._player.onDone(M)}onStart(M){this.queued&&this._queueEvent("start",M),this._player.onStart(M)}onDestroy(M){this.queued&&this._queueEvent("destroy",M),this._player.onDestroy(M)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(M){this.queued||this._player.setPosition(M)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(M){const L=this._player;L.triggerCallback&&L.triggerCallback(M)}}function bi(ye){return ye&&1===ye.nodeType}function mn(ye,M){const L=ye.style.display;return ye.style.display=null!=M?M:"none",L}function Qi(ye,M,L,ne,we){const He=[];L.forEach(St=>He.push(mn(St)));const Je=[];ne.forEach((St,Vt)=>{const Gt={};St.forEach(en=>{const yn=Gt[en]=M.computeStyle(Vt,en,we);(!yn||0==yn.length)&&(Vt[An]=Bn,Je.push(Vt))}),ye.set(Vt,Gt)});let at=0;return L.forEach(St=>mn(St,He[at++])),Je}function Fn(ye,M){const L=new Map;if(ye.forEach(at=>L.set(at,[])),0==M.length)return L;const we=new Set(M),He=new Map;function Je(at){if(!at)return 1;let St=He.get(at);if(St)return St;const Vt=at.parentNode;return St=L.has(Vt)?Vt:we.has(Vt)?1:Je(Vt),He.set(at,St),St}return M.forEach(at=>{const St=Je(at);1!==St&&L.get(St).push(at)}),L}function xn(ye,M){var L;null===(L=ye.classList)||void 0===L||L.add(M)}function Ii(ye,M){var L;null===(L=ye.classList)||void 0===L||L.remove(M)}function wi(ye,M,L){d(L).onDone(()=>ye.processLeaveNode(M))}function Wi(ye,M){for(let L=0;Lwe.add(He)):M.set(ye,ne),L.delete(ye),!0}class gn{constructor(M,L,ne){this.bodyNode=M,this._driver=L,this._normalizer=ne,this._triggerCache={},this.onRemovalComplete=(we,He)=>{},this._transitionEngine=new ci(M,L,ne),this._timelineEngine=new Ye(M,L,ne),this._transitionEngine.onRemovalComplete=(we,He)=>this.onRemovalComplete(we,He)}registerTrigger(M,L,ne,we,He){const Je=M+"-"+we;let at=this._triggerCache[Je];if(!at){const St=[],Vt=pt(this._driver,He,St);if(St.length)throw new Error(`The animation trigger "${we}" has failed to build due to the following errors:\n - ${St.join("\n - ")}`);at=function(ye,M,L){return new Re(ye,M,L)}(we,Vt,this._normalizer),this._triggerCache[Je]=at}this._transitionEngine.registerTrigger(L,we,at)}register(M,L){this._transitionEngine.register(M,L)}destroy(M,L){this._transitionEngine.destroy(M,L)}onInsert(M,L,ne,we){this._transitionEngine.insertNode(M,L,ne,we)}onRemove(M,L,ne,we){this._transitionEngine.removeNode(M,L,we||!1,ne)}disableAnimations(M,L){this._transitionEngine.markElementAsDisabled(M,L)}process(M,L,ne,we){if("@"==ne.charAt(0)){const[He,Je]=g(ne);this._timelineEngine.command(He,L,Je,we)}else this._transitionEngine.trigger(M,L,ne,we)}listen(M,L,ne,we,He){if("@"==ne.charAt(0)){const[Je,at]=g(ne);return this._timelineEngine.listen(Je,L,at,He)}return this._transitionEngine.listen(M,L,ne,we,He)}flush(M=-1){this._transitionEngine.flush(M)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Sn(ye,M){let L=null,ne=null;return Array.isArray(M)&&M.length?(L=mi(M[0]),M.length>1&&(ne=mi(M[M.length-1]))):M&&(L=mi(M)),L||ne?new oi(ye,L,ne):null}let oi=(()=>{class ye{constructor(L,ne,we){this._element=L,this._startStyles=ne,this._endStyles=we,this._state=0;let He=ye.initialStylesByElement.get(L);He||ye.initialStylesByElement.set(L,He={}),this._initialStyles=He}start(){this._state<1&&(this._startStyles&&ct(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ct(this._element,this._initialStyles),this._endStyles&&(ct(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ye.initialStylesByElement.delete(this._element),this._startStyles&&(bt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(bt(this._element,this._endStyles),this._endStyles=null),ct(this._element,this._initialStyles),this._state=3)}}return ye.initialStylesByElement=new WeakMap,ye})();function mi(ye){let M=null;const L=Object.keys(ye);for(let ne=0;nethis._handleCallback(St)}apply(){(function(ye,M){const L=ur(ye,"").trim();let ne=0;L.length&&(function(ye,M){let L=0;for(let ne=0;ne=this._delay&&ne>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Gi(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(ye,M){const ne=ur(ye,"").split(","),we=Vi(ne,M);we>=0&&(ne.splice(we,1),Pi(ye,"",ne.join(",")))}(this._element,this._name))}}function Cr(ye,M,L){Pi(ye,"PlayState",L,Si(ye,M))}function Si(ye,M){const L=ur(ye,"");return L.indexOf(",")>0?Vi(L.split(","),M):Vi([L],M)}function Vi(ye,M){for(let L=0;L=0)return L;return-1}function Gi(ye,M,L){L?ye.removeEventListener(Or,M):ye.addEventListener(Or,M)}function Pi(ye,M,L,ne){const we=br+M;if(null!=ne){const He=ye.style[we];if(He.length){const Je=He.split(",");Je[ne]=L,L=Je.join(",")}}ye.style[we]=L}function ur(ye,M){return ye.style[br+M]||""}class qi{constructor(M,L,ne,we,He,Je,at,St){this.element=M,this.keyframes=L,this.animationName=ne,this._duration=we,this._delay=He,this._finalStyles=at,this._specialStyles=St,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=Je||"linear",this.totalTime=we+He,this._buildStyler()}onStart(M){this._onStartFns.push(M)}onDone(M){this._onDoneFns.push(M)}onDestroy(M){this._onDestroyFns.push(M)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(M=>M()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(M=>M()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(M=>M()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(M){this._styler.setPosition(M)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Di(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(M){const L="start"==M?this._onStartFns:this._onDoneFns;L.forEach(ne=>ne()),L.length=0}beforeDestroy(){this.init();const M={};if(this.hasStarted()){const L=this._state>=3;Object.keys(this._finalStyles).forEach(ne=>{"offset"!=ne&&(M[ne]=L?this._finalStyles[ne]:x(this.element,ne))})}this.currentSnapshot=M}}class $i extends u.ZN{constructor(M,L){super(),this.element=M,this._startingStyles={},this.__initialized=!1,this._styles=X(L)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(M=>{this._startingStyles[M]=this.element.style[M]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(M=>this.element.style.setProperty(M,this._styles[M])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(M=>{const L=this._startingStyles[M];L?this.element.style.setProperty(M,L):this.element.style.removeProperty(M)}),this._startingStyles=null,super.destroy())}}class rr{constructor(){this._count=0}validateStyleProperty(M){return Y(M)}matchesElement(M,L){return!1}containsElement(M,L){return z(M,L)}query(M,L,ne){return G(M,L,ne)}computeStyle(M,L,ne){return window.getComputedStyle(M)[L]}buildKeyframeElement(M,L,ne){ne=ne.map(at=>X(at));let we=`@keyframes ${L} {\n`,He="";ne.forEach(at=>{He=" ";const St=parseFloat(at.offset);we+=`${He}${100*St}% {\n`,He+=" ",Object.keys(at).forEach(Vt=>{const Gt=at[Vt];switch(Vt){case"offset":return;case"easing":return void(Gt&&(we+=`${He}animation-timing-function: ${Gt};\n`));default:return void(we+=`${He}${Vt}: ${Gt};\n`)}}),we+=`${He}}\n`}),we+="}\n";const Je=document.createElement("style");return Je.textContent=we,Je}animate(M,L,ne,we,He,Je=[],at){const St=Je.filter(In=>In instanceof qi),Vt={};Z(ne,we)&&St.forEach(In=>{let Gn=In.currentSnapshot;Object.keys(Gn).forEach(ai=>Vt[ai]=Gn[ai])});const Gt=function(ye){let M={};return ye&&(Array.isArray(ye)?ye:[ye]).forEach(ne=>{Object.keys(ne).forEach(we=>{"offset"==we||"easing"==we||(M[we]=ne[we])})}),M}(L=j(M,L,Vt));if(0==ne)return new $i(M,Gt);const en="gen_css_kf_"+this._count++,yn=this.buildKeyframeElement(M,en,L);(function(ye){var M;const L=null===(M=ye.getRootNode)||void 0===M?void 0:M.call(ye);return"undefined"!=typeof ShadowRoot&&L instanceof ShadowRoot?L:document.head})(M).appendChild(yn);const rn=Sn(M,L),Cn=new qi(M,L,en,ne,we,He,Gt,rn);return Cn.onDestroy(()=>{var ye;(ye=yn).parentNode.removeChild(ye)}),Cn}}class Wn{constructor(M,L,ne,we){this.element=M,this.keyframes=L,this.options=ne,this._specialStyles=we,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=ne.duration,this._delay=ne.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(M=>M()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const M=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,M,this.options),this._finalKeyframe=M.length?M[M.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(M,L,ne){return M.animate(L,ne)}onStart(M){this._onStartFns.push(M)}onDone(M){this._onDoneFns.push(M)}onDestroy(M){this._onDestroyFns.push(M)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(M=>M()),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}_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(M=>M()),this._onDestroyFns=[])}setPosition(M){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=M*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const M={};if(this.hasStarted()){const L=this._finalKeyframe;Object.keys(L).forEach(ne=>{"offset"!=ne&&(M[ne]=this._finished?L[ne]:x(this.element,ne))})}this.currentSnapshot=M}triggerCallback(M){const L="start"==M?this._onStartFns:this._onDoneFns;L.forEach(ne=>ne()),L.length=0}}class Dr{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(fe().toString()),this._cssKeyframesDriver=new rr}validateStyleProperty(M){return Y(M)}matchesElement(M,L){return!1}containsElement(M,L){return z(M,L)}query(M,L,ne){return G(M,L,ne)}computeStyle(M,L,ne){return window.getComputedStyle(M)[L]}overrideWebAnimationsSupport(M){this._isNativeImpl=M}animate(M,L,ne,we,He,Je=[],at){if(!at&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(M,L,ne,we,He,Je);const Gt={duration:ne,delay:we,fill:0==we?"both":"forwards"};He&&(Gt.easing=He);const en={},yn=Je.filter(rn=>rn instanceof Wn);Z(ne,we)&&yn.forEach(rn=>{let Cn=rn.currentSnapshot;Object.keys(Cn).forEach(In=>en[In]=Cn[In])});const pn=Sn(M,L=j(M,L=L.map(rn=>Dt(rn,!1)),en));return new Wn(M,L,Gt,pn)}}function fe(){return c()&&Element.prototype.animate||{}}var k=o(9808);let E=(()=>{class ye extends u._j{constructor(L,ne){super(),this._nextAnimationId=0,this._renderer=L.createRenderer(ne.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(L){const ne=this._nextAnimationId.toString();this._nextAnimationId++;const we=Array.isArray(L)?(0,u.vP)(L):L;return Ze(this._renderer,null,ne,"register",[we]),new I(ne,this._renderer)}}return ye.\u0275fac=function(L){return new(L||ye)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(k.DOCUMENT))},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac}),ye})();class I extends u.LC{constructor(M,L){super(),this._id=M,this._renderer=L}create(M,L){return new de(this._id,M,L||{},this._renderer)}}class de{constructor(M,L,ne,we){this.id=M,this.element=L,this._renderer=we,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ne)}_listen(M,L){return this._renderer.listen(this.element,`@@${this.id}:${M}`,L)}_command(M,...L){return Ze(this._renderer,this.element,this.id,M,L)}onDone(M){this._listen("done",M)}onStart(M){this._listen("start",M)}onDestroy(M){this._listen("destroy",M)}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(M){this._command("setPosition",M)}getPosition(){var M,L;return null!==(L=null===(M=this._renderer.engine.players[+this.id])||void 0===M?void 0:M.getPosition())&&void 0!==L?L:0}}function Ze(ye,M,L,ne,we){return ye.setProperty(M,`@@${L}:${ne}`,we)}const Wt="@.disabled";let hn=(()=>{class ye{constructor(L,ne,we){this.delegate=L,this.engine=ne,this._zone=we,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),ne.onRemovalComplete=(He,Je)=>{const at=null==Je?void 0:Je.parentNode(He);at&&Je.removeChild(at,He)}}createRenderer(L,ne){const He=this.delegate.createRenderer(L,ne);if(!(L&&ne&&ne.data&&ne.data.animation)){let Gt=this._rendererCache.get(He);return Gt||(Gt=new Nn("",He,this.engine),this._rendererCache.set(He,Gt)),Gt}const Je=ne.id,at=ne.id+"-"+this._currentId;this._currentId++,this.engine.register(at,L);const St=Gt=>{Array.isArray(Gt)?Gt.forEach(St):this.engine.registerTrigger(Je,at,L,Gt.name,Gt)};return ne.data.animation.forEach(St),new Hn(this,at,He,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(L,ne,we){L>=0&&Lne(we)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(He=>{const[Je,at]=He;Je(at)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([ne,we]))}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 ye.\u0275fac=function(L){return new(L||ye)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(gn),n.\u0275\u0275inject(n.NgZone))},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac}),ye})();class Nn{constructor(M,L,ne){this.namespaceId=M,this.delegate=L,this.engine=ne,this.destroyNode=this.delegate.destroyNode?we=>L.destroyNode(we):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(M,L){return this.delegate.createElement(M,L)}createComment(M){return this.delegate.createComment(M)}createText(M){return this.delegate.createText(M)}appendChild(M,L){this.delegate.appendChild(M,L),this.engine.onInsert(this.namespaceId,L,M,!1)}insertBefore(M,L,ne,we=!0){this.delegate.insertBefore(M,L,ne),this.engine.onInsert(this.namespaceId,L,M,we)}removeChild(M,L,ne){this.engine.onRemove(this.namespaceId,L,this.delegate,ne)}selectRootElement(M,L){return this.delegate.selectRootElement(M,L)}parentNode(M){return this.delegate.parentNode(M)}nextSibling(M){return this.delegate.nextSibling(M)}setAttribute(M,L,ne,we){this.delegate.setAttribute(M,L,ne,we)}removeAttribute(M,L,ne){this.delegate.removeAttribute(M,L,ne)}addClass(M,L){this.delegate.addClass(M,L)}removeClass(M,L){this.delegate.removeClass(M,L)}setStyle(M,L,ne,we){this.delegate.setStyle(M,L,ne,we)}removeStyle(M,L,ne){this.delegate.removeStyle(M,L,ne)}setProperty(M,L,ne){"@"==L.charAt(0)&&L==Wt?this.disableAnimations(M,!!ne):this.delegate.setProperty(M,L,ne)}setValue(M,L){this.delegate.setValue(M,L)}listen(M,L,ne){return this.delegate.listen(M,L,ne)}disableAnimations(M,L){this.engine.disableAnimations(M,L)}}class Hn extends Nn{constructor(M,L,ne,we){super(L,ne,we),this.factory=M,this.namespaceId=L}setProperty(M,L,ne){"@"==L.charAt(0)?"."==L.charAt(1)&&L==Wt?this.disableAnimations(M,ne=void 0===ne||!!ne):this.engine.process(this.namespaceId,M,L.substr(1),ne):this.delegate.setProperty(M,L,ne)}listen(M,L,ne){if("@"==L.charAt(0)){const we=function(ye){switch(ye){case"body":return document.body;case"document":return document;case"window":return window;default:return ye}}(M);let He=L.substr(1),Je="";return"@"!=He.charAt(0)&&([He,Je]=function(ye){const M=ye.indexOf(".");return[ye.substring(0,M),ye.substr(M+1)]}(He)),this.engine.listen(this.namespaceId,we,He,Je,at=>{this.factory.scheduleListenerCallback(at._data||-1,ne,at)})}return this.delegate.listen(M,L,ne)}}let Qn=(()=>{class ye extends gn{constructor(L,ne,we){super(L.body,ne,we)}ngOnDestroy(){this.flush()}}return ye.\u0275fac=function(L){return new(L||ye)(n.\u0275\u0275inject(k.DOCUMENT),n.\u0275\u0275inject(q),n.\u0275\u0275inject(Rn))},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac}),ye})();const ji=new n.InjectionToken("AnimationModuleType"),sr=[{provide:u._j,useClass:E},{provide:Rn,useFactory:function(){return new ti}},{provide:gn,useClass:Qn},{provide:n.RendererFactory2,useFactory:function(ye,M,L){return new hn(ye,M,L)},deps:[l.\u0275DomRendererFactory2,gn,n.NgZone]}],jr=[{provide:q,useFactory:function(){return"function"==typeof fe()?new Dr:new rr}},{provide:ji,useValue:"BrowserAnimations"},...sr],Sr=[{provide:q,useClass:Q},{provide:ji,useValue:"NoopAnimations"},...sr];let Hr=(()=>{class ye{static withConfig(L){return{ngModule:ye,providers:L.disableAnimations?Sr:jr}}}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275mod=n.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=n.\u0275\u0275defineInjector({providers:jr,imports:[l.BrowserModule]}),ye})(),Cs=(()=>{class ye{}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275mod=n.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=n.\u0275\u0275defineInjector({providers:Sr,imports:[l.BrowserModule]}),ye})()},2313:(he,A,o)=>{"use strict";o.r(A),o.d(A,{\u0275getDOM:()=>n.\u0275getDOM,BrowserModule:()=>ze,BrowserTransferStateModule:()=>lt,By:()=>Ot,DomSanitizer:()=>Ct,EVENT_MANAGER_PLUGINS:()=>C,EventManager:()=>P,HAMMER_GESTURE_CONFIG:()=>Ee,HAMMER_LOADER:()=>B,HammerGestureConfig:()=>V,HammerModule:()=>je,Meta:()=>gt,Title:()=>j,TransferState:()=>Mt,VERSION:()=>vn,disableDebugTools:()=>pt,enableDebugTools:()=>kt,makeStateKey:()=>_t,platformBrowser:()=>Ne,\u0275BrowserDomAdapter:()=>c,\u0275BrowserGetTestability:()=>g,\u0275DomEventsPlugin:()=>Ke,\u0275DomRendererFactory2:()=>ae,\u0275DomSanitizerImpl:()=>$t,\u0275DomSharedStylesHost:()=>T,\u0275HammerGesturesPlugin:()=>be,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>dt,\u0275KeyEventsPlugin:()=>Qe,\u0275NAMESPACE_URIS:()=>$,\u0275SharedStylesHost:()=>D,\u0275TRANSITION_ID:()=>y,\u0275escapeHtml:()=>Pt,\u0275flattenStyles:()=>xe,\u0275initDomAdapter:()=>bt,\u0275shimContentAttribute:()=>ue,\u0275shimHostAttribute:()=>me});var n=o(9808),l=o(5e3);class u extends n.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class c extends u{static makeCurrent(){(0,n.\u0275setRootDomAdapter)(new c)}onAndCancel(st,Ve,ut){return st.addEventListener(Ve,ut,!1),()=>{st.removeEventListener(Ve,ut,!1)}}dispatchEvent(st,Ve){st.dispatchEvent(Ve)}remove(st){st.parentNode&&st.parentNode.removeChild(st)}createElement(st,Ve){return(Ve=Ve||this.getDefaultDocument()).createElement(st)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(st){return st.nodeType===Node.ELEMENT_NODE}isShadowRoot(st){return st instanceof DocumentFragment}getGlobalEventTarget(st,Ve){return"window"===Ve?window:"document"===Ve?st:"body"===Ve?st.body:null}getBaseHref(st){const Ve=(r=r||document.querySelector("base"),r?r.getAttribute("href"):null);return null==Ve?null:function(it){m=m||document.createElement("a"),m.setAttribute("href",it);const st=m.pathname;return"/"===st.charAt(0)?st:`/${st}`}(Ve)}resetBaseElement(){r=null}getUserAgent(){return window.navigator.userAgent}getCookie(st){return(0,n.\u0275parseCookieValue)(document.cookie,st)}}let m,r=null;const y=new l.InjectionToken("TRANSITION_ID"),h=[{provide:l.APP_INITIALIZER,useFactory:function(it,st,Ve){return()=>{Ve.get(l.ApplicationInitStatus).donePromise.then(()=>{const ut=(0,n.\u0275getDOM)(),At=st.querySelectorAll(`style[ng-transition="${it}"]`);for(let Xt=0;Xt{const Xt=st.findTestabilityInTree(ut,At);if(null==Xt)throw new Error("Could not find testability for element.");return Xt},l.\u0275global.getAllAngularTestabilities=()=>st.getAllTestabilities(),l.\u0275global.getAllAngularRootElements=()=>st.getAllRootElements(),l.\u0275global.frameworkStabilizers||(l.\u0275global.frameworkStabilizers=[]),l.\u0275global.frameworkStabilizers.push(ut=>{const At=l.\u0275global.getAllAngularTestabilities();let Xt=At.length,Jt=!1;const fn=function(Rn){Jt=Jt||Rn,Xt--,0==Xt&&ut(Jt)};At.forEach(function(Rn){Rn.whenStable(fn)})})}findTestabilityInTree(st,Ve,ut){if(null==Ve)return null;const At=st.getTestability(Ve);return null!=At?At:ut?(0,n.\u0275getDOM)().isShadowRoot(Ve)?this.findTestabilityInTree(st,Ve.host,!0):this.findTestabilityInTree(st,Ve.parentElement,!0):null}}let s=(()=>{class it{build(){return new XMLHttpRequest}}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();const C=new l.InjectionToken("EventManagerPlugins");let P=(()=>{class it{constructor(Ve,ut){this._zone=ut,this._eventNameToPlugin=new Map,Ve.forEach(At=>At.manager=this),this._plugins=Ve.slice().reverse()}addEventListener(Ve,ut,At){return this._findPluginFor(ut).addEventListener(Ve,ut,At)}addGlobalEventListener(Ve,ut,At){return this._findPluginFor(ut).addGlobalEventListener(Ve,ut,At)}getZone(){return this._zone}_findPluginFor(Ve){const ut=this._eventNameToPlugin.get(Ve);if(ut)return ut;const At=this._plugins;for(let Xt=0;Xt{class it{constructor(){this._stylesSet=new Set}addStyles(Ve){const ut=new Set;Ve.forEach(At=>{this._stylesSet.has(At)||(this._stylesSet.add(At),ut.add(At))}),this.onStylesAdded(ut)}onStylesAdded(Ve){}getAllStyles(){return Array.from(this._stylesSet)}}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})(),T=(()=>{class it extends D{constructor(Ve){super(),this._doc=Ve,this._hostNodes=new Map,this._hostNodes.set(Ve.head,[])}_addStylesToHost(Ve,ut,At){Ve.forEach(Xt=>{const Jt=this._doc.createElement("style");Jt.textContent=Xt,At.push(ut.appendChild(Jt))})}addHost(Ve){const ut=[];this._addStylesToHost(this._stylesSet,Ve,ut),this._hostNodes.set(Ve,ut)}removeHost(Ve){const ut=this._hostNodes.get(Ve);ut&&ut.forEach(Y),this._hostNodes.delete(Ve)}onStylesAdded(Ve){this._hostNodes.forEach((ut,At)=>{this._addStylesToHost(Ve,At,ut)})}ngOnDestroy(){this._hostNodes.forEach(Ve=>Ve.forEach(Y))}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();function Y(it){(0,n.\u0275getDOM)().remove(it)}const $={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/"},z=/%COMP%/g,X="%COMP%",Q=`_nghost-${X}`,q=`_ngcontent-${X}`;function ue(it){return q.replace(z,it)}function me(it){return Q.replace(z,it)}function xe(it,st,Ve){for(let ut=0;ut{if("__ngUnwrap__"===st)return it;!1===it(st)&&(st.preventDefault(),st.returnValue=!1)}}let ae=(()=>{class it{constructor(Ve,ut,At){this.eventManager=Ve,this.sharedStylesHost=ut,this.appId=At,this.rendererByCompId=new Map,this.defaultRenderer=new U(Ve)}createRenderer(Ve,ut){if(!Ve||!ut)return this.defaultRenderer;switch(ut.encapsulation){case l.ViewEncapsulation.Emulated:{let At=this.rendererByCompId.get(ut.id);return At||(At=new Ce(this.eventManager,this.sharedStylesHost,ut,this.appId),this.rendererByCompId.set(ut.id,At)),At.applyToHost(Ve),At}case 1:case l.ViewEncapsulation.ShadowDom:return new Te(this.eventManager,this.sharedStylesHost,Ve,ut);default:if(!this.rendererByCompId.has(ut.id)){const At=xe(ut.id,ut.styles,[]);this.sharedStylesHost.addStyles(At),this.rendererByCompId.set(ut.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(P),l.\u0275\u0275inject(T),l.\u0275\u0275inject(l.APP_ID))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();class U{constructor(st){this.eventManager=st,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(st,Ve){return Ve?document.createElementNS($[Ve]||Ve,st):document.createElement(st)}createComment(st){return document.createComment(st)}createText(st){return document.createTextNode(st)}appendChild(st,Ve){st.appendChild(Ve)}insertBefore(st,Ve,ut){st&&st.insertBefore(Ve,ut)}removeChild(st,Ve){st&&st.removeChild(Ve)}selectRootElement(st,Ve){let ut="string"==typeof st?document.querySelector(st):st;if(!ut)throw new Error(`The selector "${st}" did not match any elements`);return Ve||(ut.textContent=""),ut}parentNode(st){return st.parentNode}nextSibling(st){return st.nextSibling}setAttribute(st,Ve,ut,At){if(At){Ve=At+":"+Ve;const Xt=$[At];Xt?st.setAttributeNS(Xt,Ve,ut):st.setAttribute(Ve,ut)}else st.setAttribute(Ve,ut)}removeAttribute(st,Ve,ut){if(ut){const At=$[ut];At?st.removeAttributeNS(At,Ve):st.removeAttribute(`${ut}:${Ve}`)}else st.removeAttribute(Ve)}addClass(st,Ve){st.classList.add(Ve)}removeClass(st,Ve){st.classList.remove(Ve)}setStyle(st,Ve,ut,At){At&(l.RendererStyleFlags2.DashCase|l.RendererStyleFlags2.Important)?st.style.setProperty(Ve,ut,At&l.RendererStyleFlags2.Important?"important":""):st.style[Ve]=ut}removeStyle(st,Ve,ut){ut&l.RendererStyleFlags2.DashCase?st.style.removeProperty(Ve):st.style[Ve]=""}setProperty(st,Ve,ut){st[Ve]=ut}setValue(st,Ve){st.nodeValue=Ve}listen(st,Ve,ut){return"string"==typeof st?this.eventManager.addGlobalEventListener(st,Ve,pe(ut)):this.eventManager.addEventListener(st,Ve,pe(ut))}}class Ce extends U{constructor(st,Ve,ut,At){super(st),this.component=ut;const Xt=xe(At+"-"+ut.id,ut.styles,[]);Ve.addStyles(Xt),this.contentAttr=ue(At+"-"+ut.id),this.hostAttr=me(At+"-"+ut.id)}applyToHost(st){super.setAttribute(st,this.hostAttr,"")}createElement(st,Ve){const ut=super.createElement(st,Ve);return super.setAttribute(ut,this.contentAttr,""),ut}}class Te extends U{constructor(st,Ve,ut,At){super(st),this.sharedStylesHost=Ve,this.hostEl=ut,this.shadowRoot=ut.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Xt=xe(At.id,At.styles,[]);for(let Jt=0;Jt{class it extends w{constructor(Ve){super(Ve)}supports(Ve){return!0}addEventListener(Ve,ut,At){return Ve.addEventListener(ut,At,!1),()=>this.removeEventListener(Ve,ut,At)}removeEventListener(Ve,ut,At){return Ve.removeEventListener(ut,At)}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();const tt=["alt","control","meta","shift"],mt={"\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"},Dt={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ie={alt:it=>it.altKey,control:it=>it.ctrlKey,meta:it=>it.metaKey,shift:it=>it.shiftKey};let Qe=(()=>{class it extends w{constructor(Ve){super(Ve)}supports(Ve){return null!=it.parseEventName(Ve)}addEventListener(Ve,ut,At){const Xt=it.parseEventName(ut),Jt=it.eventCallback(Xt.fullKey,At,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.\u0275getDOM)().onAndCancel(Ve,Xt.domEventName,Jt))}static parseEventName(Ve){const ut=Ve.toLowerCase().split("."),At=ut.shift();if(0===ut.length||"keydown"!==At&&"keyup"!==At)return null;const Xt=it._normalizeKey(ut.pop());let Jt="";if(tt.forEach(Rn=>{const li=ut.indexOf(Rn);li>-1&&(ut.splice(li,1),Jt+=Rn+".")}),Jt+=Xt,0!=ut.length||0===Xt.length)return null;const fn={};return fn.domEventName=At,fn.fullKey=Jt,fn}static getEventFullKey(Ve){let ut="",At=function(it){let st=it.key;if(null==st){if(st=it.keyIdentifier,null==st)return"Unidentified";st.startsWith("U+")&&(st=String.fromCharCode(parseInt(st.substring(2),16)),3===it.location&&Dt.hasOwnProperty(st)&&(st=Dt[st]))}return mt[st]||st}(Ve);return At=At.toLowerCase()," "===At?At="space":"."===At&&(At="dot"),tt.forEach(Xt=>{Xt!=At&&Ie[Xt](Ve)&&(ut+=Xt+".")}),ut+=At,ut}static eventCallback(Ve,ut,At){return Xt=>{it.getEventFullKey(Xt)===Ve&&At.runGuarded(()=>ut(Xt))}}static _normalizeKey(Ve){return"esc"===Ve?"escape":Ve}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();function bt(){c.makeCurrent(),g.init()}const dt=[{provide:l.PLATFORM_ID,useValue:n.\u0275PLATFORM_BROWSER_ID},{provide:l.PLATFORM_INITIALIZER,useValue:bt,multi:!0},{provide:n.DOCUMENT,useFactory:function(){return(0,l.\u0275setDocument)(document),document},deps:[]}],Ne=(0,l.createPlatformFactory)(l.platformCore,"browser",dt),rt=[{provide:l.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:l.ErrorHandler,useFactory:function(){return new l.ErrorHandler},deps:[]},{provide:C,useClass:Ke,multi:!0,deps:[n.DOCUMENT,l.NgZone,l.PLATFORM_ID]},{provide:C,useClass:Qe,multi:!0,deps:[n.DOCUMENT]},{provide:ae,useClass:ae,deps:[P,T,l.APP_ID]},{provide:l.RendererFactory2,useExisting:ae},{provide:D,useExisting:T},{provide:T,useClass:T,deps:[n.DOCUMENT]},{provide:l.Testability,useClass:l.Testability,deps:[l.NgZone]},{provide:P,useClass:P,deps:[C,l.NgZone]},{provide:n.XhrFactory,useClass:s,deps:[]}];let ze=(()=>{class it{constructor(Ve){if(Ve)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(Ve){return{ngModule:it,providers:[{provide:l.APP_ID,useValue:Ve.appId},{provide:y,useExisting:l.APP_ID},h]}}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(it,12))},it.\u0275mod=l.\u0275\u0275defineNgModule({type:it}),it.\u0275inj=l.\u0275\u0275defineInjector({providers:rt,imports:[n.CommonModule,l.ApplicationModule]}),it})(),gt=(()=>{class it{constructor(Ve){this._doc=Ve,this._dom=(0,n.\u0275getDOM)()}addTag(Ve,ut=!1){return Ve?this._getOrCreateElement(Ve,ut):null}addTags(Ve,ut=!1){return Ve?Ve.reduce((At,Xt)=>(Xt&&At.push(this._getOrCreateElement(Xt,ut)),At),[]):[]}getTag(Ve){return Ve&&this._doc.querySelector(`meta[${Ve}]`)||null}getTags(Ve){if(!Ve)return[];const ut=this._doc.querySelectorAll(`meta[${Ve}]`);return ut?[].slice.call(ut):[]}updateTag(Ve,ut){if(!Ve)return null;ut=ut||this._parseSelector(Ve);const At=this.getTag(ut);return At?this._setMetaElementAttributes(Ve,At):this._getOrCreateElement(Ve,!0)}removeTag(Ve){this.removeTagElement(this.getTag(Ve))}removeTagElement(Ve){Ve&&this._dom.remove(Ve)}_getOrCreateElement(Ve,ut=!1){if(!ut){const Jt=this._parseSelector(Ve),fn=this.getTags(Jt).filter(Rn=>this._containsAttributes(Ve,Rn))[0];if(void 0!==fn)return fn}const At=this._dom.createElement("meta");return this._setMetaElementAttributes(Ve,At),this._doc.getElementsByTagName("head")[0].appendChild(At),At}_setMetaElementAttributes(Ve,ut){return Object.keys(Ve).forEach(At=>ut.setAttribute(this._getMetaKeyMap(At),Ve[At])),ut}_parseSelector(Ve){const ut=Ve.name?"name":"property";return`${ut}="${Ve[ut]}"`}_containsAttributes(Ve,ut){return Object.keys(Ve).every(At=>ut.getAttribute(this._getMetaKeyMap(At))===Ve[At])}_getMetaKeyMap(Ve){return _e[Ve]||Ve}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:function(Ve){let ut=null;return ut=Ve?new Ve:new gt((0,l.\u0275\u0275inject)(n.DOCUMENT)),ut},providedIn:"root"}),it})();const _e={httpEquiv:"http-equiv"};let j=(()=>{class it{constructor(Ve){this._doc=Ve}getTitle(){return this._doc.title}setTitle(Ve){this._doc.title=Ve||""}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:function(Ve){let ut=null;return ut=Ve?new Ve:new j((0,l.\u0275\u0275inject)(n.DOCUMENT)),ut},providedIn:"root"}),it})();function Ue(it,st){"undefined"!=typeof COMPILED&&COMPILED||((l.\u0275global.ng=l.\u0275global.ng||{})[it]=st)}const Oe="undefined"!=typeof window&&window||{};class ve{constructor(st,Ve){this.msPerTick=st,this.numTicks=Ve}}class Ae{constructor(st){this.appRef=st.injector.get(l.ApplicationRef)}timeChangeDetection(st){const Ve=st&&st.record,ut="Change Detection",At=null!=Oe.console.profile;Ve&&At&&Oe.console.profile(ut);const Xt=nt();let Jt=0;for(;Jt<5||nt()-Xt<500;)this.appRef.tick(),Jt++;const fn=nt();Ve&&At&&Oe.console.profileEnd(ut);const Rn=(fn-Xt)/Jt;return Oe.console.log(`ran ${Jt} change detection cycles`),Oe.console.log(`${Rn.toFixed(2)} ms per check`),new ve(Rn,Jt)}}function nt(){return Oe.performance&&Oe.performance.now?Oe.performance.now():(new Date).getTime()}const Rt="profiler";function kt(it){return Ue(Rt,new Ae(it)),it}function pt(){Ue(Rt,null)}function Pt(it){const st={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return it.replace(/[&"'<>]/g,Ve=>st[Ve])}function _t(it){return it}let Mt=(()=>{class it{constructor(){this.store={},this.onSerializeCallbacks={}}static init(Ve){const ut=new it;return ut.store=Ve,ut}get(Ve,ut){return void 0!==this.store[Ve]?this.store[Ve]:ut}set(Ve,ut){this.store[Ve]=ut}remove(Ve){delete this.store[Ve]}hasKey(Ve){return this.store.hasOwnProperty(Ve)}onSerialize(Ve,ut){this.onSerializeCallbacks[Ve]=ut}toJson(){for(const Ve in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(Ve))try{this.store[Ve]=this.onSerializeCallbacks[Ve]()}catch(ut){console.warn("Exception in onSerialize callback: ",ut)}return JSON.stringify(this.store)}}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();function Ge(it,st){const Ve=it.getElementById(st+"-state");let ut={};if(Ve&&Ve.textContent)try{ut=JSON.parse(function(it){const st={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return it.replace(/&[^;]+;/g,Ve=>st[Ve])}(Ve.textContent))}catch(At){console.warn("Exception while restoring TransferState for app "+st,At)}return Mt.init(ut)}let lt=(()=>{class it{}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275mod=l.\u0275\u0275defineNgModule({type:it}),it.\u0275inj=l.\u0275\u0275defineInjector({providers:[{provide:Mt,useFactory:Ge,deps:[n.DOCUMENT,l.APP_ID]}]}),it})();class Ot{static all(){return()=>!0}static css(st){return Ve=>null!=Ve.nativeElement&&function(it,st){return!!(0,n.\u0275getDOM)().isElementNode(it)&&(it.matches&&it.matches(st)||it.msMatchesSelector&&it.msMatchesSelector(st)||it.webkitMatchesSelector&&it.webkitMatchesSelector(st))}(Ve.nativeElement,st)}static directive(st){return Ve=>-1!==Ve.providerTokens.indexOf(st)}}const Pe={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},Ee=new l.InjectionToken("HammerGestureConfig"),B=new l.InjectionToken("HammerLoader");let V=(()=>{class it{constructor(){this.events=[],this.overrides={}}buildHammer(Ve){const ut=new Hammer(Ve,this.options);ut.get("pinch").set({enable:!0}),ut.get("rotate").set({enable:!0});for(const At in this.overrides)ut.get(At).set(this.overrides[At]);return ut}}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})(),be=(()=>{class it extends w{constructor(Ve,ut,At,Xt){super(Ve),this._config=ut,this.console=At,this.loader=Xt,this._loaderPromise=null}supports(Ve){return!(!Pe.hasOwnProperty(Ve.toLowerCase())&&!this.isCustomEvent(Ve)||!window.Hammer&&!this.loader)}addEventListener(Ve,ut,At){const Xt=this.manager.getZone();if(ut=ut.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let Jt=!1,fn=()=>{Jt=!0};return this._loaderPromise.then(()=>{window.Hammer?Jt||(fn=this.addEventListener(Ve,ut,At)):fn=()=>{}}).catch(()=>{fn=()=>{}}),()=>{fn()}}return Xt.runOutsideAngular(()=>{const Jt=this._config.buildHammer(Ve),fn=function(Rn){Xt.runGuarded(function(){At(Rn)})};return Jt.on(ut,fn),()=>{Jt.off(ut,fn),"function"==typeof Jt.destroy&&Jt.destroy()}})}isCustomEvent(Ve){return this._config.events.indexOf(Ve)>-1}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT),l.\u0275\u0275inject(Ee),l.\u0275\u0275inject(l.\u0275Console),l.\u0275\u0275inject(B,8))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})(),je=(()=>{class it{}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275mod=l.\u0275\u0275defineNgModule({type:it}),it.\u0275inj=l.\u0275\u0275defineInjector({providers:[{provide:C,useClass:be,multi:!0,deps:[n.DOCUMENT,Ee,l.\u0275Console,[new l.Optional,B]]},{provide:Ee,useClass:V,deps:[]}]}),it})(),Ct=(()=>{class it{}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:function(Ve){let ut=null;return ut=Ve?new(Ve||it):l.\u0275\u0275inject($t),ut},providedIn:"root"}),it})(),$t=(()=>{class it extends Ct{constructor(Ve){super(),this._doc=Ve}sanitize(Ve,ut){if(null==ut)return null;switch(Ve){case l.SecurityContext.NONE:return ut;case l.SecurityContext.HTML:return(0,l.\u0275allowSanitizationBypassAndThrow)(ut,"HTML")?(0,l.\u0275unwrapSafeValue)(ut):(0,l.\u0275_sanitizeHtml)(this._doc,String(ut)).toString();case l.SecurityContext.STYLE:return(0,l.\u0275allowSanitizationBypassAndThrow)(ut,"Style")?(0,l.\u0275unwrapSafeValue)(ut):ut;case l.SecurityContext.SCRIPT:if((0,l.\u0275allowSanitizationBypassAndThrow)(ut,"Script"))return(0,l.\u0275unwrapSafeValue)(ut);throw new Error("unsafe value used in a script context");case l.SecurityContext.URL:return(0,l.\u0275getSanitizationBypassType)(ut),(0,l.\u0275allowSanitizationBypassAndThrow)(ut,"URL")?(0,l.\u0275unwrapSafeValue)(ut):(0,l.\u0275_sanitizeUrl)(String(ut));case l.SecurityContext.RESOURCE_URL:if((0,l.\u0275allowSanitizationBypassAndThrow)(ut,"ResourceURL"))return(0,l.\u0275unwrapSafeValue)(ut);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${Ve} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(Ve){return(0,l.\u0275bypassSanitizationTrustHtml)(Ve)}bypassSecurityTrustStyle(Ve){return(0,l.\u0275bypassSanitizationTrustStyle)(Ve)}bypassSecurityTrustScript(Ve){return(0,l.\u0275bypassSanitizationTrustScript)(Ve)}bypassSecurityTrustUrl(Ve){return(0,l.\u0275bypassSanitizationTrustUrl)(Ve)}bypassSecurityTrustResourceUrl(Ve){return(0,l.\u0275bypassSanitizationTrustResourceUrl)(Ve)}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:function(Ve){let ut=null;return ut=Ve?new Ve:function(it){return new $t(it.get(n.DOCUMENT))}(l.\u0275\u0275inject(l.Injector)),ut},providedIn:"root"}),it})();const vn=new l.Version("13.1.1")},4202:(he,A,o)=>{"use strict";o.r(A),o.d(A,{ActivatedRoute:()=>S,ActivatedRouteSnapshot:()=>Ye,ActivationEnd:()=>bt,ActivationStart:()=>ct,BaseRouteReuseStrategy:()=>gi,ChildActivationEnd:()=>Qe,ChildActivationStart:()=>Ie,ChildrenOutletContexts:()=>Li,DefaultUrlSerializer:()=>B,GuardsCheckEnd:()=>Ke,GuardsCheckStart:()=>Te,NavigationCancel:()=>ie,NavigationEnd:()=>U,NavigationError:()=>le,NavigationStart:()=>ae,NoPreloading:()=>_r,OutletContext:()=>Cr,PRIMARY_OUTLET:()=>xt,PreloadAllModules:()=>Ni,PreloadingStrategy:()=>hs,ROUTER_CONFIGURATION:()=>yr,ROUTER_INITIALIZER:()=>Qt,ROUTES:()=>xi,ResolveEnd:()=>ot,ResolveStart:()=>tt,RouteConfigLoadEnd:()=>Dt,RouteConfigLoadStart:()=>mt,RouteReuseStrategy:()=>ki,Router:()=>ln,RouterEvent:()=>oe,RouterLink:()=>hi,RouterLinkActive:()=>ei,RouterLinkWithHref:()=>Pn,RouterModule:()=>fs,RouterOutlet:()=>Er,RouterPreloader:()=>or,RouterState:()=>Xe,RouterStateSnapshot:()=>Nt,RoutesRecognized:()=>Ce,Scroll:()=>Et,UrlHandlingStrategy:()=>Zr,UrlSegment:()=>lt,UrlSegmentGroup:()=>Ge,UrlSerializer:()=>Ee,UrlTree:()=>Mt,VERSION:()=>fi,convertToParamMap:()=>Ne,provideRoutes:()=>ms,\u0275EmptyOutletComponent:()=>Vi,\u0275ROUTER_PROVIDERS:()=>Ns,\u0275assignExtraOptionsToRouter:()=>R,\u0275flatten:()=>_});var n=o(5e3),l=o(5254),u=o(1086),c=o(591),r=o(6053),d=o(6498),m=o(4450),p=o(1961),y=o(8514),b=o(8896),h=o(1762),g=o(8929),s=o(4850),C=o(7545),P=o(2986),w=o(1059),D=o(2014),T=o(2198),Y=o(7221),$=o(1406),z=o(8127),G=o(7224),X=o(1709),Q=o(2868),q=o(2821),ue=o(4327),me=o(537),xe=o(9146),pe=o(9808);class oe{constructor(W,F){this.id=W,this.url=F}}class ae extends oe{constructor(W,F,ge="imperative",De=null){super(W,F),this.navigationTrigger=ge,this.restoredState=De}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class U extends oe{constructor(W,F,ge){super(W,F),this.urlAfterRedirects=ge}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ie extends oe{constructor(W,F,ge){super(W,F),this.reason=ge}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class le extends oe{constructor(W,F,ge){super(W,F),this.error=ge}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ce extends oe{constructor(W,F,ge,De){super(W,F),this.urlAfterRedirects=ge,this.state=De}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Te extends oe{constructor(W,F,ge,De){super(W,F),this.urlAfterRedirects=ge,this.state=De}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ke extends oe{constructor(W,F,ge,De,Fe){super(W,F),this.urlAfterRedirects=ge,this.state=De,this.shouldActivate=Fe}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class tt extends oe{constructor(W,F,ge,De){super(W,F),this.urlAfterRedirects=ge,this.state=De}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ot extends oe{constructor(W,F,ge,De){super(W,F),this.urlAfterRedirects=ge,this.state=De}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mt{constructor(W){this.route=W}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Dt{constructor(W){this.route=W}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ie{constructor(W){this.snapshot=W}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qe{constructor(W){this.snapshot=W}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ct{constructor(W){this.snapshot=W}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bt{constructor(W){this.snapshot=W}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Et{constructor(W,F,ge){this.routerEvent=W,this.position=F,this.anchor=ge}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const xt="primary";class dt{constructor(W){this.params=W||{}}has(W){return Object.prototype.hasOwnProperty.call(this.params,W)}get(W){if(this.has(W)){const F=this.params[W];return Array.isArray(F)?F[0]:F}return null}getAll(W){if(this.has(W)){const F=this.params[W];return Array.isArray(F)?F:[F]}return[]}get keys(){return Object.keys(this.params)}}function Ne(re){return new dt(re)}const rt="ngNavigationCancelingError";function ze(re){const W=Error("NavigationCancelingError: "+re);return W[rt]=!0,W}function gt(re,W,F){const ge=F.path.split("/");if(ge.length>re.length||"full"===F.pathMatch&&(W.hasChildren()||ge.lengthge[Fe]===De)}return re===W}function _(re){return Array.prototype.concat.apply([],re)}function x(re){return re.length>0?re[re.length-1]:null}function ce(re,W){for(const F in re)re.hasOwnProperty(F)&&W(re[F],F)}function Ue(re){return(0,n.\u0275isObservable)(re)?re:(0,n.\u0275isPromise)(re)?(0,l.D)(Promise.resolve(re)):(0,u.of)(re)}const ve={exact:function kt(re,W,F){if(!Ft(re.segments,W.segments)||!_t(re.segments,W.segments,F)||re.numberOfChildren!==W.numberOfChildren)return!1;for(const ge in W.children)if(!re.children[ge]||!kt(re.children[ge],W.children[ge],F))return!1;return!0},subset:Pt},Ae={exact:function(re,W){return Z(re,W)},subset:function(re,W){return Object.keys(W).length<=Object.keys(re).length&&Object.keys(W).every(F=>j(re[F],W[F]))},ignored:()=>!0};function nt(re,W,F){return ve[F.paths](re.root,W.root,F.matrixParams)&&Ae[F.queryParams](re.queryParams,W.queryParams)&&!("exact"===F.fragment&&re.fragment!==W.fragment)}function Pt(re,W,F){return $e(re,W,W.segments,F)}function $e(re,W,F,ge){if(re.segments.length>F.length){const De=re.segments.slice(0,F.length);return!(!Ft(De,F)||W.hasChildren()||!_t(De,F,ge))}if(re.segments.length===F.length){if(!Ft(re.segments,F)||!_t(re.segments,F,ge))return!1;for(const De in W.children)if(!re.children[De]||!Pt(re.children[De],W.children[De],ge))return!1;return!0}{const De=F.slice(0,re.segments.length),Fe=F.slice(re.segments.length);return!!(Ft(re.segments,De)&&_t(re.segments,De,ge)&&re.children[xt])&&$e(re.children[xt],W,Fe,ge)}}function _t(re,W,F){return W.every((ge,De)=>Ae[F](re[De].parameters,ge.parameters))}class Mt{constructor(W,F,ge){this.root=W,this.queryParams=F,this.fragment=ge}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ne(this.queryParams)),this._queryParamMap}toString(){return V.serialize(this)}}class Ge{constructor(W,F){this.segments=W,this.children=F,this.parent=null,ce(F,(ge,De)=>ge.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return be(this)}}class lt{constructor(W,F){this.path=W,this.parameters=F}get parameterMap(){return this._parameterMap||(this._parameterMap=Ne(this.parameters)),this._parameterMap}toString(){return Ve(this)}}function Ft(re,W){return re.length===W.length&&re.every((F,ge)=>F.path===W[ge].path)}class Ee{}class B{parse(W){const F=new pi(W);return new Mt(F.parseRootSegment(),F.parseQueryParams(),F.parseFragment())}serialize(W){const F=`/${je(W.root,!0)}`,ge=function(re){const W=Object.keys(re).map(F=>{const ge=re[F];return Array.isArray(ge)?ge.map(De=>`${Ht(F)}=${Ht(De)}`).join("&"):`${Ht(F)}=${Ht(ge)}`}).filter(F=>!!F);return W.length?`?${W.join("&")}`:""}(W.queryParams);var re;return`${F}${ge}${"string"==typeof W.fragment?`#${re=W.fragment,encodeURI(re)}`:""}`}}const V=new B;function be(re){return re.segments.map(W=>Ve(W)).join("/")}function je(re,W){if(!re.hasChildren())return be(re);if(W){const F=re.children[xt]?je(re.children[xt],!1):"",ge=[];return ce(re.children,(De,Fe)=>{Fe!==xt&&ge.push(`${Fe}:${je(De,!1)}`)}),ge.length>0?`${F}(${ge.join("//")})`:F}{const F=function(re,W){let F=[];return ce(re.children,(ge,De)=>{De===xt&&(F=F.concat(W(ge,De)))}),ce(re.children,(ge,De)=>{De!==xt&&(F=F.concat(W(ge,De)))}),F}(re,(ge,De)=>De===xt?[je(re.children[xt],!1)]:[`${De}:${je(ge,!1)}`]);return 1===Object.keys(re.children).length&&null!=re.children[xt]?`${be(re)}/${F[0]}`:`${be(re)}/(${F.join("//")})`}}function Ct(re){return encodeURIComponent(re).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ht(re){return Ct(re).replace(/%3B/gi,";")}function vn(re){return Ct(re).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function it(re){return decodeURIComponent(re)}function st(re){return it(re.replace(/\+/g,"%20"))}function Ve(re){return`${vn(re.path)}${function(re){return Object.keys(re).map(W=>`;${vn(W)}=${vn(re[W])}`).join("")}(re.parameters)}`}const Xt=/^[^\/()?;=#]+/;function Jt(re){const W=re.match(Xt);return W?W[0]:""}const fn=/^[^=?&#]+/,li=/^[^&#]+/;class pi{constructor(W){this.url=W,this.remaining=W}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ge([],{}):new Ge([],this.parseChildren())}parseQueryParams(){const W={};if(this.consumeOptional("?"))do{this.parseQueryParam(W)}while(this.consumeOptional("&"));return W}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const W=[];for(this.peekStartsWith("(")||W.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),W.push(this.parseSegment());let F={};this.peekStartsWith("/(")&&(this.capture("/"),F=this.parseParens(!0));let ge={};return this.peekStartsWith("(")&&(ge=this.parseParens(!1)),(W.length>0||Object.keys(F).length>0)&&(ge[xt]=new Ge(W,F)),ge}parseSegment(){const W=Jt(this.remaining);if(""===W&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(W),new lt(it(W),this.parseMatrixParams())}parseMatrixParams(){const W={};for(;this.consumeOptional(";");)this.parseParam(W);return W}parseParam(W){const F=Jt(this.remaining);if(!F)return;this.capture(F);let ge="";if(this.consumeOptional("=")){const De=Jt(this.remaining);De&&(ge=De,this.capture(ge))}W[it(F)]=it(ge)}parseQueryParam(W){const F=function(re){const W=re.match(fn);return W?W[0]:""}(this.remaining);if(!F)return;this.capture(F);let ge="";if(this.consumeOptional("=")){const et=function(re){const W=re.match(li);return W?W[0]:""}(this.remaining);et&&(ge=et,this.capture(ge))}const De=st(F),Fe=st(ge);if(W.hasOwnProperty(De)){let et=W[De];Array.isArray(et)||(et=[et],W[De]=et),et.push(Fe)}else W[De]=Fe}parseParens(W){const F={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const ge=Jt(this.remaining),De=this.remaining[ge.length];if("/"!==De&&")"!==De&&";"!==De)throw new Error(`Cannot parse url '${this.url}'`);let Fe;ge.indexOf(":")>-1?(Fe=ge.substr(0,ge.indexOf(":")),this.capture(Fe),this.capture(":")):W&&(Fe=xt);const et=this.parseChildren();F[Fe]=1===Object.keys(et).length?et[xt]:new Ge([],et),this.consumeOptional("//")}return F}peekStartsWith(W){return this.remaining.startsWith(W)}consumeOptional(W){return!!this.peekStartsWith(W)&&(this.remaining=this.remaining.substring(W.length),!0)}capture(W){if(!this.consumeOptional(W))throw new Error(`Expected "${W}".`)}}class Jn{constructor(W){this._root=W}get root(){return this._root.value}parent(W){const F=this.pathFromRoot(W);return F.length>1?F[F.length-2]:null}children(W){const F=Ln(W,this._root);return F?F.children.map(ge=>ge.value):[]}firstChild(W){const F=Ln(W,this._root);return F&&F.children.length>0?F.children[0].value:null}siblings(W){const F=ri(W,this._root);return F.length<2?[]:F[F.length-2].children.map(De=>De.value).filter(De=>De!==W)}pathFromRoot(W){return ri(W,this._root).map(F=>F.value)}}function Ln(re,W){if(re===W.value)return W;for(const F of W.children){const ge=Ln(re,F);if(ge)return ge}return null}function ri(re,W){if(re===W.value)return[W];for(const F of W.children){const ge=ri(re,F);if(ge.length)return ge.unshift(W),ge}return[]}class jn{constructor(W,F){this.value=W,this.children=F}toString(){return`TreeNode(${this.value})`}}function Se(re){const W={};return re&&re.children.forEach(F=>W[F.value.outlet]=F),W}class Xe extends Jn{constructor(W,F){super(W),this.snapshot=F,It(this,W)}toString(){return this.snapshot.toString()}}function J(re,W){const F=function(re,W){const et=new Ye([],{},{},"",{},xt,W,null,re.root,-1,{});return new Nt("",new jn(et,[]))}(re,W),ge=new c.X([new lt("",{})]),De=new c.X({}),Fe=new c.X({}),et=new c.X({}),ft=new c.X(""),Ut=new S(ge,De,et,ft,Fe,xt,W,F.root);return Ut.snapshot=F.root,new Xe(new jn(Ut,[]),F)}class S{constructor(W,F,ge,De,Fe,et,ft,Ut){this.url=W,this.params=F,this.queryParams=ge,this.fragment=De,this.data=Fe,this.outlet=et,this.component=ft,this._futureSnapshot=Ut}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,s.U)(W=>Ne(W)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,s.U)(W=>Ne(W)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function te(re,W="emptyOnly"){const F=re.pathFromRoot;let ge=0;if("always"!==W)for(ge=F.length-1;ge>=1;){const De=F[ge],Fe=F[ge-1];if(De.routeConfig&&""===De.routeConfig.path)ge--;else{if(Fe.component)break;ge--}}return function(re){return re.reduce((W,F)=>({params:Object.assign(Object.assign({},W.params),F.params),data:Object.assign(Object.assign({},W.data),F.data),resolve:Object.assign(Object.assign({},W.resolve),F._resolvedData)}),{params:{},data:{},resolve:{}})}(F.slice(ge))}class Ye{constructor(W,F,ge,De,Fe,et,ft,Ut,sn,$n,cn){this.url=W,this.params=F,this.queryParams=ge,this.fragment=De,this.data=Fe,this.outlet=et,this.component=ft,this.routeConfig=Ut,this._urlSegment=sn,this._lastPathIndex=$n,this._resolve=cn}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=Ne(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ne(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(ge=>ge.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Nt extends Jn{constructor(W,F){super(F),this.url=W,It(this,F)}toString(){return Lt(this._root)}}function It(re,W){W.value._routerState=re,W.children.forEach(F=>It(re,F))}function Lt(re){const W=re.children.length>0?` { ${re.children.map(Lt).join(", ")} } `:"";return`${re.value}${W}`}function Yt(re){if(re.snapshot){const W=re.snapshot,F=re._futureSnapshot;re.snapshot=F,Z(W.queryParams,F.queryParams)||re.queryParams.next(F.queryParams),W.fragment!==F.fragment&&re.fragment.next(F.fragment),Z(W.params,F.params)||re.params.next(F.params),function(re,W){if(re.length!==W.length)return!1;for(let F=0;FZ(F.parameters,W[ge].parameters))}(re.url,W.url);return F&&!(!re.parent!=!W.parent)&&(!re.parent||Zt(re.parent,W.parent))}function Tn(re,W,F){if(F&&re.shouldReuseRoute(W.value,F.value.snapshot)){const ge=F.value;ge._futureSnapshot=W.value;const De=function(re,W,F){return W.children.map(ge=>{for(const De of F.children)if(re.shouldReuseRoute(ge.value,De.value.snapshot))return Tn(re,ge,De);return Tn(re,ge)})}(re,W,F);return new jn(ge,De)}{if(re.shouldAttach(W.value)){const Fe=re.retrieve(W.value);if(null!==Fe){const et=Fe.route;return et.value._futureSnapshot=W.value,et.children=W.children.map(ft=>Tn(re,ft)),et}}const ge=function(re){return new S(new c.X(re.url),new c.X(re.params),new c.X(re.queryParams),new c.X(re.fragment),new c.X(re.data),re.outlet,re.component,re)}(W.value),De=W.children.map(Fe=>Tn(re,Fe));return new jn(ge,De)}}function kn(re){return"object"==typeof re&&null!=re&&!re.outlets&&!re.segmentPath}function bn(re){return"object"==typeof re&&null!=re&&re.outlets}function ui(re,W,F,ge,De){let Fe={};return ge&&ce(ge,(et,ft)=>{Fe[ft]=Array.isArray(et)?et.map(Ut=>`${Ut}`):`${et}`}),new Mt(F.root===re?W:Oi(F.root,re,W),Fe,De)}function Oi(re,W,F){const ge={};return ce(re.children,(De,Fe)=>{ge[Fe]=De===W?F:Oi(De,W,F)}),new Ge(re.segments,ge)}class ci{constructor(W,F,ge){if(this.isAbsolute=W,this.numberOfDoubleDots=F,this.commands=ge,W&&ge.length>0&&kn(ge[0]))throw new Error("Root segment cannot have matrix parameters");const De=ge.find(bn);if(De&&De!==x(ge))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ri{constructor(W,F,ge){this.segmentGroup=W,this.processChildren=F,this.index=ge}}function mn(re,W,F){if(re||(re=new Ge([],{})),0===re.segments.length&&re.hasChildren())return Qi(re,W,F);const ge=function(re,W,F){let ge=0,De=W;const Fe={match:!1,pathIndex:0,commandIndex:0};for(;De=F.length)return Fe;const et=re.segments[De],ft=F[ge];if(bn(ft))break;const Ut=`${ft}`,sn=ge0&&void 0===Ut)break;if(Ut&&sn&&"object"==typeof sn&&void 0===sn.outlets){if(!ir(Ut,sn,et))return Fe;ge+=2}else{if(!ir(Ut,{},et))return Fe;ge++}De++}return{match:!0,pathIndex:De,commandIndex:ge}}(re,W,F),De=F.slice(ge.commandIndex);if(ge.match&&ge.pathIndex{"string"==typeof Fe&&(Fe=[Fe]),null!==Fe&&(De[et]=mn(re.children[et],W,Fe))}),ce(re.children,(Fe,et)=>{void 0===ge[et]&&(De[et]=Fe)}),new Ge(re.segments,De)}}function xn(re,W,F){const ge=re.segments.slice(0,W);let De=0;for(;De{"string"==typeof F&&(F=[F]),null!==F&&(W[ge]=xn(new Ge([],{}),0,F))}),W}function wi(re){const W={};return ce(re,(F,ge)=>W[ge]=`${F}`),W}function ir(re,W,F){return re==F.path&&Z(W,F.parameters)}class nn{constructor(W,F,ge,De){this.routeReuseStrategy=W,this.futureState=F,this.currState=ge,this.forwardEvent=De}activate(W){const F=this.futureState._root,ge=this.currState?this.currState._root:null;this.deactivateChildRoutes(F,ge,W),Yt(this.futureState.root),this.activateChildRoutes(F,ge,W)}deactivateChildRoutes(W,F,ge){const De=Se(F);W.children.forEach(Fe=>{const et=Fe.value.outlet;this.deactivateRoutes(Fe,De[et],ge),delete De[et]}),ce(De,(Fe,et)=>{this.deactivateRouteAndItsChildren(Fe,ge)})}deactivateRoutes(W,F,ge){const De=W.value,Fe=F?F.value:null;if(De===Fe)if(De.component){const et=ge.getContext(De.outlet);et&&this.deactivateChildRoutes(W,F,et.children)}else this.deactivateChildRoutes(W,F,ge);else Fe&&this.deactivateRouteAndItsChildren(F,ge)}deactivateRouteAndItsChildren(W,F){W.value.component&&this.routeReuseStrategy.shouldDetach(W.value.snapshot)?this.detachAndStoreRouteSubtree(W,F):this.deactivateRouteAndOutlet(W,F)}detachAndStoreRouteSubtree(W,F){const ge=F.getContext(W.value.outlet),De=ge&&W.value.component?ge.children:F,Fe=Se(W);for(const et of Object.keys(Fe))this.deactivateRouteAndItsChildren(Fe[et],De);if(ge&&ge.outlet){const et=ge.outlet.detach(),ft=ge.children.onOutletDeactivated();this.routeReuseStrategy.store(W.value.snapshot,{componentRef:et,route:W,contexts:ft})}}deactivateRouteAndOutlet(W,F){const ge=F.getContext(W.value.outlet),De=ge&&W.value.component?ge.children:F,Fe=Se(W);for(const et of Object.keys(Fe))this.deactivateRouteAndItsChildren(Fe[et],De);ge&&ge.outlet&&(ge.outlet.deactivate(),ge.children.onOutletDeactivated(),ge.attachRef=null,ge.resolver=null,ge.route=null)}activateChildRoutes(W,F,ge){const De=Se(F);W.children.forEach(Fe=>{this.activateRoutes(Fe,De[Fe.value.outlet],ge),this.forwardEvent(new bt(Fe.value.snapshot))}),W.children.length&&this.forwardEvent(new Qe(W.value.snapshot))}activateRoutes(W,F,ge){const De=W.value,Fe=F?F.value:null;if(Yt(De),De===Fe)if(De.component){const et=ge.getOrCreateContext(De.outlet);this.activateChildRoutes(W,F,et.children)}else this.activateChildRoutes(W,F,ge);else if(De.component){const et=ge.getOrCreateContext(De.outlet);if(this.routeReuseStrategy.shouldAttach(De.snapshot)){const ft=this.routeReuseStrategy.retrieve(De.snapshot);this.routeReuseStrategy.store(De.snapshot,null),et.children.onOutletReAttached(ft.contexts),et.attachRef=ft.componentRef,et.route=ft.route.value,et.outlet&&et.outlet.attach(ft.componentRef,ft.route.value),Yt(ft.route.value),this.activateChildRoutes(W,null,et.children)}else{const ft=function(re){for(let W=re.parent;W;W=W.parent){const F=W.routeConfig;if(F&&F._loadedConfig)return F._loadedConfig;if(F&&F.component)return null}return null}(De.snapshot),Ut=ft?ft.module.componentFactoryResolver:null;et.attachRef=null,et.route=De,et.resolver=Ut,et.outlet&&et.outlet.activateWith(De,Ut),this.activateChildRoutes(W,null,et.children)}}else this.activateChildRoutes(W,null,ge)}}class gn{constructor(W,F){this.routes=W,this.module=F}}function Sn(re){return"function"==typeof re}function mi(re){return re instanceof Mt}const Ki=Symbol("INITIAL_VALUE");function Di(){return(0,C.w)(re=>(0,r.aj)(re.map(W=>W.pipe((0,P.q)(1),(0,w.O)(Ki)))).pipe((0,D.R)((W,F)=>{let ge=!1;return F.reduce((De,Fe,et)=>De!==Ki?De:(Fe===Ki&&(ge=!0),ge||!1!==Fe&&et!==F.length-1&&!mi(Fe)?De:Fe),W)},Ki),(0,T.h)(W=>W!==Ki),(0,s.U)(W=>mi(W)?W:!0===W),(0,P.q)(1)))}class Cr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Li,this.attachRef=null}}class Li{constructor(){this.contexts=new Map}onChildOutletCreated(W,F){const ge=this.getOrCreateContext(W);ge.outlet=F,this.contexts.set(W,ge)}onChildOutletDestroyed(W){const F=this.getContext(W);F&&(F.outlet=null,F.attachRef=null)}onOutletDeactivated(){const W=this.contexts;return this.contexts=new Map,W}onOutletReAttached(W){this.contexts=W}getOrCreateContext(W){let F=this.getContext(W);return F||(F=new Cr,this.contexts.set(W,F)),F}getContext(W){return this.contexts.get(W)||null}}let Er=(()=>{class re{constructor(F,ge,De,Fe,et){this.parentContexts=F,this.location=ge,this.resolver=De,this.changeDetector=et,this.activated=null,this._activatedRoute=null,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.name=Fe||xt,F.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const F=this.parentContexts.getContext(this.name);F&&F.route&&(F.attachRef?this.attach(F.attachRef,F.route):this.activateWith(F.route,F.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const F=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(F.instance),F}attach(F,ge){this.activated=F,this._activatedRoute=ge,this.location.insert(F.hostView),this.attachEvents.emit(F.instance)}deactivate(){if(this.activated){const F=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(F)}}activateWith(F,ge){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=F;const et=(ge=ge||this.resolver).resolveComponentFactory(F._futureSnapshot.routeConfig.component),ft=this.parentContexts.getOrCreateContext(this.name).children,Ut=new Si(F,ft,this.location.injector);this.activated=this.location.createComponent(et,this.location.length,Ut),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275directiveInject(Li),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},re.\u0275dir=n.\u0275\u0275defineDirective({type:re,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),re})();class Si{constructor(W,F,ge){this.route=W,this.childContexts=F,this.parent=ge}get(W,F){return W===S?this.route:W===Li?this.childContexts:this.parent.get(W,F)}}let Vi=(()=>{class re{}return re.\u0275fac=function(F){return new(F||re)},re.\u0275cmp=n.\u0275\u0275defineComponent({type:re,selectors:[["ng-component"]],decls:1,vars:0,template:function(F,ge){1&F&&n.\u0275\u0275element(0,"router-outlet")},directives:[Er],encapsulation:2}),re})();function Gi(re,W=""){for(let F=0;Fdi(ge)===W);return F.push(...re.filter(ge=>di(ge)!==W)),F}const qi={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function $i(re,W,F){var ge;if(""===W.path)return"full"===W.pathMatch&&(re.hasChildren()||F.length>0)?Object.assign({},qi):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const Fe=(W.matcher||gt)(F,re,W);if(!Fe)return Object.assign({},qi);const et={};ce(Fe.posParams,(Ut,sn)=>{et[sn]=Ut.path});const ft=Fe.consumed.length>0?Object.assign(Object.assign({},et),Fe.consumed[Fe.consumed.length-1].parameters):et;return{matched:!0,consumedSegments:Fe.consumed,lastChild:Fe.consumed.length,parameters:ft,positionalParamSegments:null!==(ge=Fe.posParams)&&void 0!==ge?ge:{}}}function Xi(re,W,F,ge,De="corrected"){if(F.length>0&&function(re,W,F){return F.some(ge=>Mr(re,W,ge)&&di(ge)!==xt)}(re,F,ge)){const et=new Ge(W,function(re,W,F,ge){const De={};De[xt]=ge,ge._sourceSegment=re,ge._segmentIndexShift=W.length;for(const Fe of F)if(""===Fe.path&&di(Fe)!==xt){const et=new Ge([],{});et._sourceSegment=re,et._segmentIndexShift=W.length,De[di(Fe)]=et}return De}(re,W,ge,new Ge(F,re.children)));return et._sourceSegment=re,et._segmentIndexShift=W.length,{segmentGroup:et,slicedSegments:[]}}if(0===F.length&&function(re,W,F){return F.some(ge=>Mr(re,W,ge))}(re,F,ge)){const et=new Ge(re.segments,function(re,W,F,ge,De,Fe){const et={};for(const ft of ge)if(Mr(re,F,ft)&&!De[di(ft)]){const Ut=new Ge([],{});Ut._sourceSegment=re,Ut._segmentIndexShift="legacy"===Fe?re.segments.length:W.length,et[di(ft)]=Ut}return Object.assign(Object.assign({},De),et)}(re,W,F,ge,re.children,De));return et._sourceSegment=re,et._segmentIndexShift=W.length,{segmentGroup:et,slicedSegments:F}}const Fe=new Ge(re.segments,re.children);return Fe._sourceSegment=re,Fe._segmentIndexShift=W.length,{segmentGroup:Fe,slicedSegments:F}}function Mr(re,W,F){return(!(re.hasChildren()||W.length>0)||"full"!==F.pathMatch)&&""===F.path}function Yi(re,W,F,ge){return!!(di(re)===ge||ge!==xt&&Mr(W,F,re))&&("**"===re.path||$i(W,re,F).matched)}function Vr(re,W,F){return 0===W.length&&!re.children[F]}class Wn{constructor(W){this.segmentGroup=W||null}}class Dr{constructor(W){this.urlTree=W}}function hr(re){return new d.y(W=>W.error(new Wn(re)))}function fe(re){return new d.y(W=>W.error(new Dr(re)))}function k(re){return new d.y(W=>W.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${re}'`)))}class de{constructor(W,F,ge,De,Fe){this.configLoader=F,this.urlSerializer=ge,this.urlTree=De,this.config=Fe,this.allowRedirects=!0,this.ngModule=W.get(n.NgModuleRef)}apply(){const W=Xi(this.urlTree.root,[],[],this.config).segmentGroup,F=new Ge(W.segments,W.children);return this.expandSegmentGroup(this.ngModule,this.config,F,xt).pipe((0,s.U)(Fe=>this.createUrlTree(wt(Fe),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Y.K)(Fe=>{if(Fe instanceof Dr)return this.allowRedirects=!1,this.match(Fe.urlTree);throw Fe instanceof Wn?this.noMatchError(Fe):Fe}))}match(W){return this.expandSegmentGroup(this.ngModule,this.config,W.root,xt).pipe((0,s.U)(De=>this.createUrlTree(wt(De),W.queryParams,W.fragment))).pipe((0,Y.K)(De=>{throw De instanceof Wn?this.noMatchError(De):De}))}noMatchError(W){return new Error(`Cannot match any routes. URL Segment: '${W.segmentGroup}'`)}createUrlTree(W,F,ge){const De=W.segments.length>0?new Ge([],{[xt]:W}):W;return new Mt(De,F,ge)}expandSegmentGroup(W,F,ge,De){return 0===ge.segments.length&&ge.hasChildren()?this.expandChildren(W,F,ge).pipe((0,s.U)(Fe=>new Ge([],Fe))):this.expandSegment(W,ge,F,ge.segments,De,!0)}expandChildren(W,F,ge){const De=[];for(const Fe of Object.keys(ge.children))"primary"===Fe?De.unshift(Fe):De.push(Fe);return(0,l.D)(De).pipe((0,$.b)(Fe=>{const et=ge.children[Fe],ft=dr(F,Fe);return this.expandSegmentGroup(W,ft,et,Fe).pipe((0,s.U)(Ut=>({segment:Ut,outlet:Fe})))}),(0,D.R)((Fe,et)=>(Fe[et.outlet]=et.segment,Fe),{}),(0,z.Z)())}expandSegment(W,F,ge,De,Fe,et){return(0,l.D)(ge).pipe((0,$.b)(ft=>this.expandSegmentAgainstRoute(W,F,ge,ft,De,Fe,et).pipe((0,Y.K)(sn=>{if(sn instanceof Wn)return(0,u.of)(null);throw sn}))),(0,G.P)(ft=>!!ft),(0,Y.K)((ft,Ut)=>{if(ft instanceof m.K||"EmptyError"===ft.name){if(Vr(F,De,Fe))return(0,u.of)(new Ge([],{}));throw new Wn(F)}throw ft}))}expandSegmentAgainstRoute(W,F,ge,De,Fe,et,ft){return Yi(De,F,Fe,et)?void 0===De.redirectTo?this.matchSegmentAgainstRoute(W,F,De,Fe,et):ft&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(W,F,ge,De,Fe,et):hr(F):hr(F)}expandSegmentAgainstRouteUsingRedirect(W,F,ge,De,Fe,et){return"**"===De.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(W,ge,De,et):this.expandRegularSegmentAgainstRouteUsingRedirect(W,F,ge,De,Fe,et)}expandWildCardWithParamsAgainstRouteUsingRedirect(W,F,ge,De){const Fe=this.applyRedirectCommands([],ge.redirectTo,{});return ge.redirectTo.startsWith("/")?fe(Fe):this.lineralizeSegments(ge,Fe).pipe((0,X.zg)(et=>{const ft=new Ge(et,{});return this.expandSegment(W,ft,F,et,De,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(W,F,ge,De,Fe,et){const{matched:ft,consumedSegments:Ut,lastChild:sn,positionalParamSegments:$n}=$i(F,De,Fe);if(!ft)return hr(F);const cn=this.applyRedirectCommands(Ut,De.redirectTo,$n);return De.redirectTo.startsWith("/")?fe(cn):this.lineralizeSegments(De,cn).pipe((0,X.zg)(qn=>this.expandSegment(W,F,ge,qn.concat(Fe.slice(sn)),et,!1)))}matchSegmentAgainstRoute(W,F,ge,De,Fe){if("**"===ge.path)return ge.loadChildren?(ge._loadedConfig?(0,u.of)(ge._loadedConfig):this.configLoader.load(W.injector,ge)).pipe((0,s.U)(qn=>(ge._loadedConfig=qn,new Ge(De,{})))):(0,u.of)(new Ge(De,{}));const{matched:et,consumedSegments:ft,lastChild:Ut}=$i(F,ge,De);if(!et)return hr(F);const sn=De.slice(Ut);return this.getChildConfig(W,ge,De).pipe((0,X.zg)(cn=>{const qn=cn.module,Zn=cn.routes,{segmentGroup:es,slicedSegments:vr}=Xi(F,ft,sn,Zn),Wr=new Ge(es.segments,es.children);if(0===vr.length&&Wr.hasChildren())return this.expandChildren(qn,Zn,Wr).pipe((0,s.U)(gs=>new Ge(ft,gs)));if(0===Zn.length&&0===vr.length)return(0,u.of)(new Ge(ft,{}));const Kr=di(ge)===Fe;return this.expandSegment(qn,Wr,Zn,vr,Kr?xt:Fe,!0).pipe((0,s.U)(Pr=>new Ge(ft.concat(Pr.segments),Pr.children)))}))}getChildConfig(W,F,ge){return F.children?(0,u.of)(new gn(F.children,W)):F.loadChildren?void 0!==F._loadedConfig?(0,u.of)(F._loadedConfig):this.runCanLoadGuards(W.injector,F,ge).pipe((0,X.zg)(De=>{return De?this.configLoader.load(W.injector,F).pipe((0,s.U)(Fe=>(F._loadedConfig=Fe,Fe))):(re=F,new d.y(W=>W.error(ze(`Cannot load children because the guard of the route "path: '${re.path}'" returned false`))));var re})):(0,u.of)(new gn([],W))}runCanLoadGuards(W,F,ge){const De=F.canLoad;if(!De||0===De.length)return(0,u.of)(!0);const Fe=De.map(et=>{const ft=W.get(et);let Ut;if((re=ft)&&Sn(re.canLoad))Ut=ft.canLoad(F,ge);else{if(!Sn(ft))throw new Error("Invalid CanLoad guard");Ut=ft(F,ge)}var re;return Ue(Ut)});return(0,u.of)(Fe).pipe(Di(),(0,Q.b)(et=>{if(!mi(et))return;const ft=ze(`Redirecting to "${this.urlSerializer.serialize(et)}"`);throw ft.url=et,ft}),(0,s.U)(et=>!0===et))}lineralizeSegments(W,F){let ge=[],De=F.root;for(;;){if(ge=ge.concat(De.segments),0===De.numberOfChildren)return(0,u.of)(ge);if(De.numberOfChildren>1||!De.children[xt])return k(W.redirectTo);De=De.children[xt]}}applyRedirectCommands(W,F,ge){return this.applyRedirectCreatreUrlTree(F,this.urlSerializer.parse(F),W,ge)}applyRedirectCreatreUrlTree(W,F,ge,De){const Fe=this.createSegmentGroup(W,F.root,ge,De);return new Mt(Fe,this.createQueryParams(F.queryParams,this.urlTree.queryParams),F.fragment)}createQueryParams(W,F){const ge={};return ce(W,(De,Fe)=>{if("string"==typeof De&&De.startsWith(":")){const ft=De.substring(1);ge[Fe]=F[ft]}else ge[Fe]=De}),ge}createSegmentGroup(W,F,ge,De){const Fe=this.createSegments(W,F.segments,ge,De);let et={};return ce(F.children,(ft,Ut)=>{et[Ut]=this.createSegmentGroup(W,ft,ge,De)}),new Ge(Fe,et)}createSegments(W,F,ge,De){return F.map(Fe=>Fe.path.startsWith(":")?this.findPosParam(W,Fe,De):this.findOrReturn(Fe,ge))}findPosParam(W,F,ge){const De=ge[F.path.substring(1)];if(!De)throw new Error(`Cannot redirect to '${W}'. Cannot find '${F.path}'.`);return De}findOrReturn(W,F){let ge=0;for(const De of F){if(De.path===W.path)return F.splice(ge),De;ge++}return W}}function wt(re){const W={};for(const ge of Object.keys(re.children)){const Fe=wt(re.children[ge]);(Fe.segments.length>0||Fe.hasChildren())&&(W[ge]=Fe)}return function(re){if(1===re.numberOfChildren&&re.children[xt]){const W=re.children[xt];return new Ge(re.segments.concat(W.segments),W.children)}return re}(new Ge(re.segments,W))}class hn{constructor(W){this.path=W,this.route=this.path[this.path.length-1]}}class Nn{constructor(W,F){this.component=W,this.route=F}}function Hn(re,W,F){const ge=re._root;return ii(ge,W?W._root:null,F,[ge.value])}function Yn(re,W,F){const ge=function(re){if(!re)return null;for(let W=re.parent;W;W=W.parent){const F=W.routeConfig;if(F&&F._loadedConfig)return F._loadedConfig}return null}(W);return(ge?ge.module.injector:F).get(re)}function ii(re,W,F,ge,De={canDeactivateChecks:[],canActivateChecks:[]}){const Fe=Se(W);return re.children.forEach(et=>{(function(re,W,F,ge,De={canDeactivateChecks:[],canActivateChecks:[]}){const Fe=re.value,et=W?W.value:null,ft=F?F.getContext(re.value.outlet):null;if(et&&Fe.routeConfig===et.routeConfig){const Ut=function(re,W,F){if("function"==typeof F)return F(re,W);switch(F){case"pathParamsChange":return!Ft(re.url,W.url);case"pathParamsOrQueryParamsChange":return!Ft(re.url,W.url)||!Z(re.queryParams,W.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zt(re,W)||!Z(re.queryParams,W.queryParams);default:return!Zt(re,W)}}(et,Fe,Fe.routeConfig.runGuardsAndResolvers);Ut?De.canActivateChecks.push(new hn(ge)):(Fe.data=et.data,Fe._resolvedData=et._resolvedData),ii(re,W,Fe.component?ft?ft.children:null:F,ge,De),Ut&&ft&&ft.outlet&&ft.outlet.isActivated&&De.canDeactivateChecks.push(new Nn(ft.outlet.component,et))}else et&&ji(W,ft,De),De.canActivateChecks.push(new hn(ge)),ii(re,null,Fe.component?ft?ft.children:null:F,ge,De)})(et,Fe[et.value.outlet],F,ge.concat([et.value]),De),delete Fe[et.value.outlet]}),ce(Fe,(et,ft)=>ji(et,F.getContext(ft),De)),De}function ji(re,W,F){const ge=Se(re),De=re.value;ce(ge,(Fe,et)=>{ji(Fe,De.component?W?W.children.getContext(et):null:W,F)}),F.canDeactivateChecks.push(new Nn(De.component&&W&&W.outlet&&W.outlet.isActivated?W.outlet.component:null,De))}class ne{}function we(re){return new d.y(W=>W.error(re))}class Je{constructor(W,F,ge,De,Fe,et){this.rootComponentType=W,this.config=F,this.urlTree=ge,this.url=De,this.paramsInheritanceStrategy=Fe,this.relativeLinkResolution=et}recognize(){const W=Xi(this.urlTree.root,[],[],this.config.filter(et=>void 0===et.redirectTo),this.relativeLinkResolution).segmentGroup,F=this.processSegmentGroup(this.config,W,xt);if(null===F)return null;const ge=new Ye([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},xt,this.rootComponentType,null,this.urlTree.root,-1,{}),De=new jn(ge,F),Fe=new Nt(this.url,De);return this.inheritParamsAndData(Fe._root),Fe}inheritParamsAndData(W){const F=W.value,ge=te(F,this.paramsInheritanceStrategy);F.params=Object.freeze(ge.params),F.data=Object.freeze(ge.data),W.children.forEach(De=>this.inheritParamsAndData(De))}processSegmentGroup(W,F,ge){return 0===F.segments.length&&F.hasChildren()?this.processChildren(W,F):this.processSegment(W,F,F.segments,ge)}processChildren(W,F){const ge=[];for(const Fe of Object.keys(F.children)){const et=F.children[Fe],ft=dr(W,Fe),Ut=this.processSegmentGroup(ft,et,Fe);if(null===Ut)return null;ge.push(...Ut)}const De=Gt(ge);return De.sort((W,F)=>W.value.outlet===xt?-1:F.value.outlet===xt?1:W.value.outlet.localeCompare(F.value.outlet)),De}processSegment(W,F,ge,De){for(const Fe of W){const et=this.processSegmentAgainstRoute(Fe,F,ge,De);if(null!==et)return et}return Vr(F,ge,De)?[]:null}processSegmentAgainstRoute(W,F,ge,De){if(W.redirectTo||!Yi(W,F,ge,De))return null;let Fe,et=[],ft=[];if("**"===W.path){const Zn=ge.length>0?x(ge).parameters:{};Fe=new Ye(ge,Zn,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,rn(W),di(W),W.component,W,yn(F),pn(F)+ge.length,Cn(W))}else{const Zn=$i(F,W,ge);if(!Zn.matched)return null;et=Zn.consumedSegments,ft=ge.slice(Zn.lastChild),Fe=new Ye(et,Zn.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,rn(W),di(W),W.component,W,yn(F),pn(F)+et.length,Cn(W))}const Ut=(re=W).children?re.children:re.loadChildren?re._loadedConfig.routes:[],{segmentGroup:sn,slicedSegments:$n}=Xi(F,et,ft,Ut.filter(Zn=>void 0===Zn.redirectTo),this.relativeLinkResolution);var re;if(0===$n.length&&sn.hasChildren()){const Zn=this.processChildren(Ut,sn);return null===Zn?null:[new jn(Fe,Zn)]}if(0===Ut.length&&0===$n.length)return[new jn(Fe,[])];const cn=di(W)===De,qn=this.processSegment(Ut,sn,$n,cn?xt:De);return null===qn?null:[new jn(Fe,qn)]}}function Vt(re){const W=re.value.routeConfig;return W&&""===W.path&&void 0===W.redirectTo}function Gt(re){const W=[],F=new Set;for(const ge of re){if(!Vt(ge)){W.push(ge);continue}const De=W.find(Fe=>ge.value.routeConfig===Fe.value.routeConfig);void 0!==De?(De.children.push(...ge.children),F.add(De)):W.push(ge)}for(const ge of F){const De=Gt(ge.children);W.push(new jn(ge.value,De))}return W.filter(ge=>!F.has(ge))}function yn(re){let W=re;for(;W._sourceSegment;)W=W._sourceSegment;return W}function pn(re){let W=re,F=W._segmentIndexShift?W._segmentIndexShift:0;for(;W._sourceSegment;)W=W._sourceSegment,F+=W._segmentIndexShift?W._segmentIndexShift:0;return F-1}function rn(re){return re.data||{}}function Cn(re){return re.resolve||{}}function pr(re){return(0,C.w)(W=>{const F=re(W);return F?(0,l.D)(F).pipe((0,s.U)(()=>W)):(0,u.of)(W)})}class ki{}class gi{shouldDetach(W){return!1}store(W,F){}shouldAttach(W){return!1}retrieve(W){return null}shouldReuseRoute(W,F){return W.routeConfig===F.routeConfig}}class Zi extends gi{}const xi=new n.InjectionToken("ROUTES");class Ji{constructor(W,F,ge,De){this.injector=W,this.compiler=F,this.onLoadStartListener=ge,this.onLoadEndListener=De}load(W,F){if(F._loader$)return F._loader$;this.onLoadStartListener&&this.onLoadStartListener(F);const De=this.loadModuleFactory(F.loadChildren).pipe((0,s.U)(Fe=>{this.onLoadEndListener&&this.onLoadEndListener(F);const et=Fe.create(W);return new gn(_(et.injector.get(xi,void 0,n.InjectFlags.Self|n.InjectFlags.Optional)).map(cr),et)}),(0,Y.K)(Fe=>{throw F._loader$=void 0,Fe}));return F._loader$=new h.c(De,()=>new g.xQ).pipe((0,ue.x)()),F._loader$}loadModuleFactory(W){return Ue(W()).pipe((0,X.zg)(F=>F instanceof n.NgModuleFactory?(0,u.of)(F):(0,l.D)(this.compiler.compileModuleAsync(F))))}}class Zr{}class mr{shouldProcessUrl(W){return!0}extract(W){return W}merge(W,F){return W}}function gr(re){throw re}function cs(re,W,F){return W.parse("/")}function Jr(re,W){return(0,u.of)(null)}const tn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},un={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ln=(()=>{class re{constructor(F,ge,De,Fe,et,ft,Ut){this.rootComponentType=F,this.urlSerializer=ge,this.rootContexts=De,this.location=Fe,this.config=Ut,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new g.xQ,this.errorHandler=gr,this.malformedUriErrorHandler=cs,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Jr,afterPreactivation:Jr},this.urlHandlingStrategy=new mr,this.routeReuseStrategy=new Zi,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=et.get(n.NgModuleRef),this.console=et.get(n.\u0275Console);const cn=et.get(n.NgZone);this.isNgZoneEnabled=cn instanceof n.NgZone&&n.NgZone.isInAngularZone(),this.resetConfig(Ut),this.currentUrlTree=new Mt(new Ge([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ji(et,ft,qn=>this.triggerEvent(new mt(qn)),qn=>this.triggerEvent(new Dt(qn))),this.routerState=J(this.currentUrlTree,this.rootComponentType),this.transitions=new c.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var F;return null===(F=this.location.getState())||void 0===F?void 0:F.\u0275routerPageId}setupNavigations(F){const ge=this.events;return F.pipe((0,T.h)(De=>0!==De.id),(0,s.U)(De=>Object.assign(Object.assign({},De),{extractedUrl:this.urlHandlingStrategy.extract(De.rawUrl)})),(0,C.w)(De=>{let Fe=!1,et=!1;return(0,u.of)(De).pipe((0,Q.b)(ft=>{this.currentNavigation={id:ft.id,initialUrl:ft.currentRawUrl,extractedUrl:ft.extractedUrl,trigger:ft.source,extras:ft.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,C.w)(ft=>{const Ut=this.browserUrlTree.toString(),sn=!this.navigated||ft.extractedUrl.toString()!==Ut||Ut!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||sn)&&this.urlHandlingStrategy.shouldProcessUrl(ft.rawUrl))return Un(ft.source)&&(this.browserUrlTree=ft.extractedUrl),(0,u.of)(ft).pipe((0,C.w)(cn=>{const qn=this.transitions.getValue();return ge.next(new ae(cn.id,this.serializeUrl(cn.extractedUrl),cn.source,cn.restoredState)),qn!==this.transitions.getValue()?b.E:Promise.resolve(cn)}),function(re,W,F,ge){return(0,C.w)(De=>function(re,W,F,ge,De){return new de(re,W,F,ge,De).apply()}(re,W,F,De.extractedUrl,ge).pipe((0,s.U)(Fe=>Object.assign(Object.assign({},De),{urlAfterRedirects:Fe}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Q.b)(cn=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:cn.urlAfterRedirects})}),function(re,W,F,ge,De){return(0,X.zg)(Fe=>function(re,W,F,ge,De="emptyOnly",Fe="legacy"){try{const et=new Je(re,W,F,ge,De,Fe).recognize();return null===et?we(new ne):(0,u.of)(et)}catch(et){return we(et)}}(re,W,Fe.urlAfterRedirects,F(Fe.urlAfterRedirects),ge,De).pipe((0,s.U)(et=>Object.assign(Object.assign({},Fe),{targetSnapshot:et}))))}(this.rootComponentType,this.config,cn=>this.serializeUrl(cn),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Q.b)(cn=>{if("eager"===this.urlUpdateStrategy){if(!cn.extras.skipLocationChange){const Zn=this.urlHandlingStrategy.merge(cn.urlAfterRedirects,cn.rawUrl);this.setBrowserUrl(Zn,cn)}this.browserUrlTree=cn.urlAfterRedirects}const qn=new Ce(cn.id,this.serializeUrl(cn.extractedUrl),this.serializeUrl(cn.urlAfterRedirects),cn.targetSnapshot);ge.next(qn)}));if(sn&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:qn,extractedUrl:Zn,source:es,restoredState:vr,extras:Wr}=ft,Kr=new ae(qn,this.serializeUrl(Zn),es,vr);ge.next(Kr);const Is=J(Zn,this.rootComponentType).snapshot;return(0,u.of)(Object.assign(Object.assign({},ft),{targetSnapshot:Is,urlAfterRedirects:Zn,extras:Object.assign(Object.assign({},Wr),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=ft.rawUrl,ft.resolve(null),b.E}),pr(ft=>{const{targetSnapshot:Ut,id:sn,extractedUrl:$n,rawUrl:cn,extras:{skipLocationChange:qn,replaceUrl:Zn}}=ft;return this.hooks.beforePreactivation(Ut,{navigationId:sn,appliedUrlTree:$n,rawUrlTree:cn,skipLocationChange:!!qn,replaceUrl:!!Zn})}),(0,Q.b)(ft=>{const Ut=new Te(ft.id,this.serializeUrl(ft.extractedUrl),this.serializeUrl(ft.urlAfterRedirects),ft.targetSnapshot);this.triggerEvent(Ut)}),(0,s.U)(ft=>Object.assign(Object.assign({},ft),{guards:Hn(ft.targetSnapshot,ft.currentSnapshot,this.rootContexts)})),function(re,W){return(0,X.zg)(F=>{const{targetSnapshot:ge,currentSnapshot:De,guards:{canActivateChecks:Fe,canDeactivateChecks:et}}=F;return 0===et.length&&0===Fe.length?(0,u.of)(Object.assign(Object.assign({},F),{guardsResult:!0})):function(re,W,F,ge){return(0,l.D)(re).pipe((0,X.zg)(De=>function(re,W,F,ge,De){const Fe=W&&W.routeConfig?W.routeConfig.canDeactivate:null;if(!Fe||0===Fe.length)return(0,u.of)(!0);const et=Fe.map(ft=>{const Ut=Yn(ft,W,De);let sn;if(function(re){return re&&Sn(re.canDeactivate)}(Ut))sn=Ue(Ut.canDeactivate(re,W,F,ge));else{if(!Sn(Ut))throw new Error("Invalid CanDeactivate guard");sn=Ue(Ut(re,W,F,ge))}return sn.pipe((0,G.P)())});return(0,u.of)(et).pipe(Di())}(De.component,De.route,F,W,ge)),(0,G.P)(De=>!0!==De,!0))}(et,ge,De,re).pipe((0,X.zg)(ft=>ft&&function(re){return"boolean"==typeof re}(ft)?function(re,W,F,ge){return(0,l.D)(W).pipe((0,$.b)(De=>(0,p.z)(function(re,W){return null!==re&&W&&W(new Ie(re)),(0,u.of)(!0)}(De.route.parent,ge),function(re,W){return null!==re&&W&&W(new ct(re)),(0,u.of)(!0)}(De.route,ge),function(re,W,F){const ge=W[W.length-1],Fe=W.slice(0,W.length-1).reverse().map(et=>function(re){const W=re.routeConfig?re.routeConfig.canActivateChild:null;return W&&0!==W.length?{node:re,guards:W}:null}(et)).filter(et=>null!==et).map(et=>(0,y.P)(()=>{const ft=et.guards.map(Ut=>{const sn=Yn(Ut,et.node,F);let $n;if(function(re){return re&&Sn(re.canActivateChild)}(sn))$n=Ue(sn.canActivateChild(ge,re));else{if(!Sn(sn))throw new Error("Invalid CanActivateChild guard");$n=Ue(sn(ge,re))}return $n.pipe((0,G.P)())});return(0,u.of)(ft).pipe(Di())}));return(0,u.of)(Fe).pipe(Di())}(re,De.path,F),function(re,W,F){const ge=W.routeConfig?W.routeConfig.canActivate:null;if(!ge||0===ge.length)return(0,u.of)(!0);const De=ge.map(Fe=>(0,y.P)(()=>{const et=Yn(Fe,W,F);let ft;if(function(re){return re&&Sn(re.canActivate)}(et))ft=Ue(et.canActivate(W,re));else{if(!Sn(et))throw new Error("Invalid CanActivate guard");ft=Ue(et(W,re))}return ft.pipe((0,G.P)())}));return(0,u.of)(De).pipe(Di())}(re,De.route,F))),(0,G.P)(De=>!0!==De,!0))}(ge,Fe,re,W):(0,u.of)(ft)),(0,s.U)(ft=>Object.assign(Object.assign({},F),{guardsResult:ft})))})}(this.ngModule.injector,ft=>this.triggerEvent(ft)),(0,Q.b)(ft=>{if(mi(ft.guardsResult)){const sn=ze(`Redirecting to "${this.serializeUrl(ft.guardsResult)}"`);throw sn.url=ft.guardsResult,sn}const Ut=new Ke(ft.id,this.serializeUrl(ft.extractedUrl),this.serializeUrl(ft.urlAfterRedirects),ft.targetSnapshot,!!ft.guardsResult);this.triggerEvent(Ut)}),(0,T.h)(ft=>!!ft.guardsResult||(this.restoreHistory(ft),this.cancelNavigationTransition(ft,""),!1)),pr(ft=>{if(ft.guards.canActivateChecks.length)return(0,u.of)(ft).pipe((0,Q.b)(Ut=>{const sn=new tt(Ut.id,this.serializeUrl(Ut.extractedUrl),this.serializeUrl(Ut.urlAfterRedirects),Ut.targetSnapshot);this.triggerEvent(sn)}),(0,C.w)(Ut=>{let sn=!1;return(0,u.of)(Ut).pipe(function(re,W){return(0,X.zg)(F=>{const{targetSnapshot:ge,guards:{canActivateChecks:De}}=F;if(!De.length)return(0,u.of)(F);let Fe=0;return(0,l.D)(De).pipe((0,$.b)(et=>function(re,W,F,ge){return function(re,W,F,ge){const De=Object.keys(re);if(0===De.length)return(0,u.of)({});const Fe={};return(0,l.D)(De).pipe((0,X.zg)(et=>function(re,W,F,ge){const De=Yn(re,W,ge);return Ue(De.resolve?De.resolve(W,F):De(W,F))}(re[et],W,F,ge).pipe((0,Q.b)(ft=>{Fe[et]=ft}))),(0,q.h)(1),(0,X.zg)(()=>Object.keys(Fe).length===De.length?(0,u.of)(Fe):b.E))}(re._resolve,re,W,ge).pipe((0,s.U)(Fe=>(re._resolvedData=Fe,re.data=Object.assign(Object.assign({},re.data),te(re,F).resolve),null)))}(et.route,ge,re,W)),(0,Q.b)(()=>Fe++),(0,q.h)(1),(0,X.zg)(et=>Fe===De.length?(0,u.of)(F):b.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Q.b)({next:()=>sn=!0,complete:()=>{sn||(this.restoreHistory(Ut),this.cancelNavigationTransition(Ut,"At least one route resolver didn't emit any value."))}}))}),(0,Q.b)(Ut=>{const sn=new ot(Ut.id,this.serializeUrl(Ut.extractedUrl),this.serializeUrl(Ut.urlAfterRedirects),Ut.targetSnapshot);this.triggerEvent(sn)}))}),pr(ft=>{const{targetSnapshot:Ut,id:sn,extractedUrl:$n,rawUrl:cn,extras:{skipLocationChange:qn,replaceUrl:Zn}}=ft;return this.hooks.afterPreactivation(Ut,{navigationId:sn,appliedUrlTree:$n,rawUrlTree:cn,skipLocationChange:!!qn,replaceUrl:!!Zn})}),(0,s.U)(ft=>{const Ut=function(re,W,F){const ge=Tn(re,W._root,F?F._root:void 0);return new Xe(ge,W)}(this.routeReuseStrategy,ft.targetSnapshot,ft.currentRouterState);return Object.assign(Object.assign({},ft),{targetRouterState:Ut})}),(0,Q.b)(ft=>{this.currentUrlTree=ft.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ft.urlAfterRedirects,ft.rawUrl),this.routerState=ft.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ft.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ft),this.browserUrlTree=ft.urlAfterRedirects)}),((re,W,F)=>(0,s.U)(ge=>(new nn(W,ge.targetRouterState,ge.currentRouterState,F).activate(re),ge)))(this.rootContexts,this.routeReuseStrategy,ft=>this.triggerEvent(ft)),(0,Q.b)({next(){Fe=!0},complete(){Fe=!0}}),(0,me.x)(()=>{var ft;Fe||et||this.cancelNavigationTransition(De,`Navigation ID ${De.id} is not equal to the current navigation id ${this.navigationId}`),(null===(ft=this.currentNavigation)||void 0===ft?void 0:ft.id)===De.id&&(this.currentNavigation=null)}),(0,Y.K)(ft=>{if(et=!0,function(re){return re&&re[rt]}(ft)){const Ut=mi(ft.url);Ut||(this.navigated=!0,this.restoreHistory(De,!0));const sn=new ie(De.id,this.serializeUrl(De.extractedUrl),ft.message);ge.next(sn),Ut?setTimeout(()=>{const $n=this.urlHandlingStrategy.merge(ft.url,this.rawUrlTree),cn={skipLocationChange:De.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Un(De.source)};this.scheduleNavigation($n,"imperative",null,cn,{resolve:De.resolve,reject:De.reject,promise:De.promise})},0):De.resolve(!1)}else{this.restoreHistory(De,!0);const Ut=new le(De.id,this.serializeUrl(De.extractedUrl),ft);ge.next(Ut);try{De.resolve(this.errorHandler(ft))}catch(sn){De.reject(sn)}}return b.E}))}))}resetRootComponentType(F){this.rootComponentType=F,this.routerState.root.component=this.rootComponentType}setTransition(F){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),F))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(F=>{const ge="popstate"===F.type?"popstate":"hashchange";"popstate"===ge&&setTimeout(()=>{var De;const Fe={replaceUrl:!0},et=(null===(De=F.state)||void 0===De?void 0:De.navigationId)?F.state:null;if(et){const Ut=Object.assign({},et);delete Ut.navigationId,delete Ut.\u0275routerPageId,0!==Object.keys(Ut).length&&(Fe.state=Ut)}const ft=this.parseUrl(F.url);this.scheduleNavigation(ft,ge,et,Fe)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(F){this.events.next(F)}resetConfig(F){Gi(F),this.config=F.map(cr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(F,ge={}){const{relativeTo:De,queryParams:Fe,fragment:et,queryParamsHandling:ft,preserveFragment:Ut}=ge,sn=De||this.routerState.root,$n=Ut?this.currentUrlTree.fragment:et;let cn=null;switch(ft){case"merge":cn=Object.assign(Object.assign({},this.currentUrlTree.queryParams),Fe);break;case"preserve":cn=this.currentUrlTree.queryParams;break;default:cn=Fe||null}return null!==cn&&(cn=this.removeEmptyProps(cn)),function(re,W,F,ge,De){if(0===F.length)return ui(W.root,W.root,W,ge,De);const Fe=function(re){if("string"==typeof re[0]&&1===re.length&&"/"===re[0])return new ci(!0,0,re);let W=0,F=!1;const ge=re.reduce((De,Fe,et)=>{if("object"==typeof Fe&&null!=Fe){if(Fe.outlets){const ft={};return ce(Fe.outlets,(Ut,sn)=>{ft[sn]="string"==typeof Ut?Ut.split("/"):Ut}),[...De,{outlets:ft}]}if(Fe.segmentPath)return[...De,Fe.segmentPath]}return"string"!=typeof Fe?[...De,Fe]:0===et?(Fe.split("/").forEach((ft,Ut)=>{0==Ut&&"."===ft||(0==Ut&&""===ft?F=!0:".."===ft?W++:""!=ft&&De.push(ft))}),De):[...De,Fe]},[]);return new ci(F,W,ge)}(F);if(Fe.toRoot())return ui(W.root,new Ge([],{}),W,ge,De);const et=function(re,W,F){if(re.isAbsolute)return new Ri(W.root,!0,0);if(-1===F.snapshot._lastPathIndex){const Fe=F.snapshot._urlSegment;return new Ri(Fe,Fe===W.root,0)}const ge=kn(re.commands[0])?0:1;return function(re,W,F){let ge=re,De=W,Fe=F;for(;Fe>De;){if(Fe-=De,ge=ge.parent,!ge)throw new Error("Invalid number of '../'");De=ge.segments.length}return new Ri(ge,!1,De-Fe)}(F.snapshot._urlSegment,F.snapshot._lastPathIndex+ge,re.numberOfDoubleDots)}(Fe,W,re),ft=et.processChildren?Qi(et.segmentGroup,et.index,Fe.commands):mn(et.segmentGroup,et.index,Fe.commands);return ui(et.segmentGroup,ft,W,ge,De)}(sn,this.currentUrlTree,F,cn,null!=$n?$n:null)}navigateByUrl(F,ge={skipLocationChange:!1}){const De=mi(F)?F:this.parseUrl(F),Fe=this.urlHandlingStrategy.merge(De,this.rawUrlTree);return this.scheduleNavigation(Fe,"imperative",null,ge)}navigate(F,ge={skipLocationChange:!1}){return function(re){for(let W=0;W{const Fe=F[De];return null!=Fe&&(ge[De]=Fe),ge},{})}processNavigations(){this.navigations.subscribe(F=>{this.navigated=!0,this.lastSuccessfulId=F.id,this.currentPageId=F.targetPageId,this.events.next(new U(F.id,this.serializeUrl(F.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,F.resolve(!0)},F=>{this.console.warn(`Unhandled Navigation Error: ${F}`)})}scheduleNavigation(F,ge,De,Fe,et){var ft,Ut,sn;if(this.disposed)return Promise.resolve(!1);const $n=this.transitions.value,cn=Un(ge)&&$n&&!Un($n.source),qn=$n.rawUrl.toString()===F.toString(),Zn=$n.id===(null===(ft=this.currentNavigation)||void 0===ft?void 0:ft.id);if(cn&&qn&&Zn)return Promise.resolve(!0);let vr,Wr,Kr;et?(vr=et.resolve,Wr=et.reject,Kr=et.promise):Kr=new Promise((gs,Xa)=>{vr=gs,Wr=Xa});const Is=++this.navigationId;let Pr;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(De=this.location.getState()),Pr=De&&De.\u0275routerPageId?De.\u0275routerPageId:Fe.replaceUrl||Fe.skipLocationChange?null!==(Ut=this.browserPageId)&&void 0!==Ut?Ut:0:(null!==(sn=this.browserPageId)&&void 0!==sn?sn:0)+1):Pr=0,this.setTransition({id:Is,targetPageId:Pr,source:ge,restoredState:De,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:F,extras:Fe,resolve:vr,reject:Wr,promise:Kr,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Kr.catch(gs=>Promise.reject(gs))}setBrowserUrl(F,ge){const De=this.urlSerializer.serialize(F),Fe=Object.assign(Object.assign({},ge.extras.state),this.generateNgRouterState(ge.id,ge.targetPageId));this.location.isCurrentPathEqualTo(De)||ge.extras.replaceUrl?this.location.replaceState(De,"",Fe):this.location.go(De,"",Fe)}restoreHistory(F,ge=!1){var De,Fe;if("computed"===this.canceledNavigationResolution){const et=this.currentPageId-F.targetPageId;"popstate"!==F.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(De=this.currentNavigation)||void 0===De?void 0:De.finalUrl)||0===et?this.currentUrlTree===(null===(Fe=this.currentNavigation)||void 0===Fe?void 0:Fe.finalUrl)&&0===et&&(this.resetState(F),this.browserUrlTree=F.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(et)}else"replace"===this.canceledNavigationResolution&&(ge&&this.resetState(F),this.resetUrlToCurrentUrlTree())}resetState(F){this.routerState=F.currentRouterState,this.currentUrlTree=F.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,F.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(F,ge){const De=new ie(F.id,this.serializeUrl(F.extractedUrl),ge);this.triggerEvent(De),F.resolve(!1)}generateNgRouterState(F,ge){return"computed"===this.canceledNavigationResolution?{navigationId:F,\u0275routerPageId:ge}:{navigationId:F}}}return re.\u0275fac=function(F){n.\u0275\u0275invalidFactory()},re.\u0275prov=n.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac}),re})();function Un(re){return"imperative"!==re}let hi=(()=>{class re{constructor(F,ge,De,Fe,et){this.router=F,this.route=ge,this.tabIndexAttribute=De,this.renderer=Fe,this.el=et,this.commands=null,this.onChanges=new g.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(F){if(null!=this.tabIndexAttribute)return;const ge=this.renderer,De=this.el.nativeElement;null!==F?ge.setAttribute(De,"tabindex",F):ge.removeAttribute(De,"tabindex")}ngOnChanges(F){this.onChanges.next(this)}set routerLink(F){null!=F?(this.commands=Array.isArray(F)?F:[F],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const F={skipLocationChange:Ai(this.skipLocationChange),replaceUrl:Ai(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,F),!0}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:Ai(this.preserveFragment)})}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275directiveInject(ln),n.\u0275\u0275directiveInject(S),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},re.\u0275dir=n.\u0275\u0275defineDirective({type:re,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(F,ge){1&F&&n.\u0275\u0275listener("click",function(){return ge.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[n.\u0275\u0275NgOnChangesFeature]}),re})(),Pn=(()=>{class re{constructor(F,ge,De){this.router=F,this.route=ge,this.locationStrategy=De,this.commands=null,this.href=null,this.onChanges=new g.xQ,this.subscription=F.events.subscribe(Fe=>{Fe instanceof U&&this.updateTargetUrlAndHref()})}set routerLink(F){this.commands=null!=F?Array.isArray(F)?F:[F]:null}ngOnChanges(F){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(F,ge,De,Fe,et){if(0!==F||ge||De||Fe||et||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const ft={skipLocationChange:Ai(this.skipLocationChange),replaceUrl:Ai(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,ft),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:Ai(this.preserveFragment)})}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275directiveInject(ln),n.\u0275\u0275directiveInject(S),n.\u0275\u0275directiveInject(pe.LocationStrategy))},re.\u0275dir=n.\u0275\u0275defineDirective({type:re,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(F,ge){1&F&&n.\u0275\u0275listener("click",function(Fe){return ge.onClick(Fe.button,Fe.ctrlKey,Fe.shiftKey,Fe.altKey,Fe.metaKey)}),2&F&&n.\u0275\u0275attribute("target",ge.target)("href",ge.href,n.\u0275\u0275sanitizeUrl)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[n.\u0275\u0275NgOnChangesFeature]}),re})();function Ai(re){return""===re||!!re}let ei=(()=>{class re{constructor(F,ge,De,Fe,et,ft){this.router=F,this.element=ge,this.renderer=De,this.cdr=Fe,this.link=et,this.linkWithHref=ft,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=F.events.subscribe(Ut=>{Ut instanceof U&&this.update()})}ngAfterContentInit(){(0,u.of)(this.links.changes,this.linksWithHrefs.changes,(0,u.of)(null)).pipe((0,xe.J)()).subscribe(F=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var F;null===(F=this.linkInputChangesSubscription)||void 0===F||F.unsubscribe();const ge=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(De=>!!De).map(De=>De.onChanges);this.linkInputChangesSubscription=(0,l.D)(ge).pipe((0,xe.J)()).subscribe(De=>{this.isActive!==this.isLinkActive(this.router)(De)&&this.update()})}set routerLinkActive(F){const ge=Array.isArray(F)?F:F.split(" ");this.classes=ge.filter(De=>!!De)}ngOnChanges(F){this.update()}ngOnDestroy(){var F;this.routerEventsSubscription.unsubscribe(),null===(F=this.linkInputChangesSubscription)||void 0===F||F.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const F=this.hasActiveLinks();this.isActive!==F&&(this.isActive=F,this.cdr.markForCheck(),this.classes.forEach(ge=>{F?this.renderer.addClass(this.element.nativeElement,ge):this.renderer.removeClass(this.element.nativeElement,ge)}),this.isActiveChange.emit(F))})}isLinkActive(F){const ge=function(re){return!!re.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return De=>!!De.urlTree&&F.isActive(De.urlTree,ge)}hasActiveLinks(){const F=this.isLinkActive(this.router);return this.link&&F(this.link)||this.linkWithHref&&F(this.linkWithHref)||this.links.some(F)||this.linksWithHrefs.some(F)}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275directiveInject(ln),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(hi,8),n.\u0275\u0275directiveInject(Pn,8))},re.\u0275dir=n.\u0275\u0275defineDirective({type:re,selectors:[["","routerLinkActive",""]],contentQueries:function(F,ge,De){if(1&F&&(n.\u0275\u0275contentQuery(De,hi,5),n.\u0275\u0275contentQuery(De,Pn,5)),2&F){let Fe;n.\u0275\u0275queryRefresh(Fe=n.\u0275\u0275loadQuery())&&(ge.links=Fe),n.\u0275\u0275queryRefresh(Fe=n.\u0275\u0275loadQuery())&&(ge.linksWithHrefs=Fe)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[n.\u0275\u0275NgOnChangesFeature]}),re})();class hs{}class Ni{preload(W,F){return F().pipe((0,Y.K)(()=>(0,u.of)(null)))}}class _r{preload(W,F){return(0,u.of)(null)}}let or=(()=>{class re{constructor(F,ge,De,Fe){this.router=F,this.injector=De,this.preloadingStrategy=Fe,this.loader=new Ji(De,ge,Ut=>F.triggerEvent(new mt(Ut)),Ut=>F.triggerEvent(new Dt(Ut)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,T.h)(F=>F instanceof U),(0,$.b)(()=>this.preload())).subscribe(()=>{})}preload(){const F=this.injector.get(n.NgModuleRef);return this.processRoutes(F,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(F,ge){const De=[];for(const Fe of ge)if(Fe.loadChildren&&!Fe.canLoad&&Fe._loadedConfig){const et=Fe._loadedConfig;De.push(this.processRoutes(et.module,et.routes))}else Fe.loadChildren&&!Fe.canLoad?De.push(this.preloadConfig(F,Fe)):Fe.children&&De.push(this.processRoutes(F,Fe.children));return(0,l.D)(De).pipe((0,xe.J)(),(0,s.U)(Fe=>{}))}preloadConfig(F,ge){return this.preloadingStrategy.preload(ge,()=>(ge._loadedConfig?(0,u.of)(ge._loadedConfig):this.loader.load(F.injector,ge)).pipe((0,X.zg)(Fe=>(ge._loadedConfig=Fe,this.processRoutes(Fe.module,Fe.routes)))))}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275inject(ln),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.Injector),n.\u0275\u0275inject(hs))},re.\u0275prov=n.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac}),re})(),Hi=(()=>{class re{constructor(F,ge,De={}){this.router=F,this.viewportScroller=ge,this.options=De,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},De.scrollPositionRestoration=De.scrollPositionRestoration||"disabled",De.anchorScrolling=De.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(F=>{F instanceof ae?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=F.navigationTrigger,this.restoredId=F.restoredState?F.restoredState.navigationId:0):F instanceof U&&(this.lastId=F.id,this.scheduleScrollEvent(F,this.router.parseUrl(F.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(F=>{F instanceof Et&&(F.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(F.position):F.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(F.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(F,ge){this.router.triggerEvent(new Et(F,"popstate"===this.lastSource?this.store[this.restoredId]:null,ge))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return re.\u0275fac=function(F){n.\u0275\u0275invalidFactory()},re.\u0275prov=n.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac}),re})();const yr=new n.InjectionToken("ROUTER_CONFIGURATION"),Ts=new n.InjectionToken("ROUTER_FORROOT_GUARD"),Ns=[pe.Location,{provide:Ee,useClass:B},{provide:ln,useFactory:function(re,W,F,ge,De,Fe,et={},ft,Ut){const sn=new ln(null,re,W,F,ge,De,_(Fe));return ft&&(sn.urlHandlingStrategy=ft),Ut&&(sn.routeReuseStrategy=Ut),R(et,sn),et.enableTracing&&sn.events.subscribe($n=>{var cn,qn;null===(cn=console.group)||void 0===cn||cn.call(console,`Router Event: ${$n.constructor.name}`),console.log($n.toString()),console.log($n),null===(qn=console.groupEnd)||void 0===qn||qn.call(console)}),sn},deps:[Ee,Li,pe.Location,n.Injector,n.Compiler,xi,yr,[Zr,new n.Optional],[ki,new n.Optional]]},Li,{provide:S,useFactory:function(re){return re.routerState.root},deps:[ln]},or,_r,Ni,{provide:yr,useValue:{enableTracing:!1}}];function Lr(){return new n.NgProbeToken("Router",ln)}let fs=(()=>{class re{constructor(F,ge){}static forRoot(F,ge){return{ngModule:re,providers:[Ns,ms(F),{provide:Ts,useFactory:ps,deps:[[ln,new n.Optional,new n.SkipSelf]]},{provide:yr,useValue:ge||{}},{provide:pe.LocationStrategy,useFactory:Fs,deps:[pe.PlatformLocation,[new n.Inject(pe.APP_BASE_HREF),new n.Optional],yr]},{provide:Hi,useFactory:Eo,deps:[ln,pe.ViewportScroller,yr]},{provide:hs,useExisting:ge&&ge.preloadingStrategy?ge.preloadingStrategy:_r},{provide:n.NgProbeToken,multi:!0,useFactory:Lr},[Be,{provide:n.APP_INITIALIZER,multi:!0,useFactory:vt,deps:[Be]},{provide:Qt,useFactory:jt,deps:[Be]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Qt}]]}}static forChild(F){return{ngModule:re,providers:[ms(F)]}}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275inject(Ts,8),n.\u0275\u0275inject(ln,8))},re.\u0275mod=n.\u0275\u0275defineNgModule({type:re}),re.\u0275inj=n.\u0275\u0275defineInjector({}),re})();function Eo(re,W,F){return F.scrollOffset&&W.setOffset(F.scrollOffset),new Hi(re,W,F)}function Fs(re,W,F={}){return F.useHash?new pe.HashLocationStrategy(re,W):new pe.PathLocationStrategy(re,W)}function ps(re){return"guarded"}function ms(re){return[{provide:n.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:re},{provide:xi,multi:!0,useValue:re}]}function R(re,W){re.errorHandler&&(W.errorHandler=re.errorHandler),re.malformedUriErrorHandler&&(W.malformedUriErrorHandler=re.malformedUriErrorHandler),re.onSameUrlNavigation&&(W.onSameUrlNavigation=re.onSameUrlNavigation),re.paramsInheritanceStrategy&&(W.paramsInheritanceStrategy=re.paramsInheritanceStrategy),re.relativeLinkResolution&&(W.relativeLinkResolution=re.relativeLinkResolution),re.urlUpdateStrategy&&(W.urlUpdateStrategy=re.urlUpdateStrategy),re.canceledNavigationResolution&&(W.canceledNavigationResolution=re.canceledNavigationResolution)}let Be=(()=>{class re{constructor(F){this.injector=F,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new g.xQ}appInitializer(){return this.injector.get(pe.LOCATION_INITIALIZED,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let ge=null;const De=new Promise(ft=>ge=ft),Fe=this.injector.get(ln),et=this.injector.get(yr);return"disabled"===et.initialNavigation?(Fe.setUpLocationChangeListener(),ge(!0)):"enabled"===et.initialNavigation||"enabledBlocking"===et.initialNavigation?(Fe.hooks.afterPreactivation=()=>this.initNavigation?(0,u.of)(null):(this.initNavigation=!0,ge(!0),this.resultOfPreactivationDone),Fe.initialNavigation()):ge(!0),De})}bootstrapListener(F){const ge=this.injector.get(yr),De=this.injector.get(or),Fe=this.injector.get(Hi),et=this.injector.get(ln),ft=this.injector.get(n.ApplicationRef);F===ft.components[0]&&(("enabledNonBlocking"===ge.initialNavigation||void 0===ge.initialNavigation)&&et.initialNavigation(),De.setUpPreloading(),Fe.init(),et.resetRootComponentType(ft.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275inject(n.Injector))},re.\u0275prov=n.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac}),re})();function vt(re){return re.appInitializer.bind(re)}function jt(re){return re.bootstrapListener.bind(re)}const Qt=new n.InjectionToken("Router Initializer"),fi=new n.Version("13.1.1")},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{AUTH_CONFIG:()=>AUTH_CONFIG,AbstractValidationHandler:()=>AbstractValidationHandler,AuthConfig:()=>AuthConfig,DateTimeProvider:()=>DateTimeProvider,DefaultHashHandler:()=>DefaultHashHandler,DefaultOAuthInterceptor:()=>DefaultOAuthInterceptor,HashHandler:()=>HashHandler,JwksValidationHandler:()=>JwksValidationHandler,LoginOptions:()=>LoginOptions,MemoryStorage:()=>MemoryStorage,NullValidationHandler:()=>NullValidationHandler,OAuthErrorEvent:()=>OAuthErrorEvent,OAuthEvent:()=>OAuthEvent,OAuthInfoEvent:()=>OAuthInfoEvent,OAuthLogger:()=>OAuthLogger,OAuthModule:()=>OAuthModule,OAuthModuleConfig:()=>OAuthModuleConfig,OAuthNoopResourceServerErrorHandler:()=>OAuthNoopResourceServerErrorHandler,OAuthResourceServerConfig:()=>OAuthResourceServerConfig,OAuthResourceServerErrorHandler:()=>OAuthResourceServerErrorHandler,OAuthService:()=>OAuthService,OAuthStorage:()=>OAuthStorage,OAuthSuccessEvent:()=>OAuthSuccessEvent,ReceivedTokens:()=>ReceivedTokens,SystemDateTimeProvider:()=>SystemDateTimeProvider,UrlHelperService:()=>UrlHelperService,ValidationHandler:()=>ValidationHandler});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(7e3),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class he extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return he.\u0275fac=function(){let A;return function(n){return(A||(A=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275getInheritedFactory(he)))(n||he)}}(),he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class he{constructor(){this.data=new Map}getItem(o){return this.data.get(o)}removeItem(o){this.data.delete(o)}setItem(o,n){this.data.set(o,n)}}return he.\u0275fac=function(o){return new(o||he)},he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})();class ReceivedTokens{}class OAuthEvent{constructor(A){this.type=A}}class OAuthSuccessEvent extends OAuthEvent{constructor(A,o=null){super(A),this.info=o}}class OAuthInfoEvent extends OAuthEvent{constructor(A,o=null){super(A),this.info=o}}class OAuthErrorEvent extends OAuthEvent{constructor(A,o,n=null){super(A),this.reason=o,this.params=n}}function b64DecodeUnicode(he){const A=he.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(A).split("").map(function(o){return"%"+("00"+o.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(he){return btoa(he).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(A){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=null,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.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=o=>{location.href=o},A&&Object.assign(this,A)}}class WebHttpUrlEncodingCodec{encodeKey(A){return encodeURIComponent(A)}encodeValue(A){return encodeURIComponent(A)}decodeKey(A){return decodeURIComponent(A)}decodeValue(A){return decodeURIComponent(A)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(A){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){let o=this.inferHashAlgorithm(A.idTokenHeader),n=yield this.calcHash(A.accessToken,o),u=base64UrlEncode(n.substr(0,n.length/2)),c=A.idTokenClaims.at_hash.replace(/=/g,"");return u!==c&&(console.error("exptected at_hash: "+u),console.error("actual at_hash: "+c)),u===c})}inferHashAlgorithm(A){let o=A.alg;if(!o.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+o);return"sha-"+o.substr(2)}}let UrlHelperService=(()=>{class he{getHashFragmentParams(o){let n=o||window.location.hash;if(n=decodeURIComponent(n),0!==n.indexOf("#"))return{};const l=n.indexOf("?");return n=n.substr(l>-1?l+1:1),this.parseQueryString(n)}parseQueryString(o){const n={};let l,u,c,r,d,m,p;if(null===o)return n;l=o.split("&");for(let y=0;y>6,u[r++]=128|63&d):d<55296||d>=57344?(u[r++]=224|d>>12,u[r++]=128|d>>6&63,u[r++]=128|63&d):(d=65536+((1023&d)<<10|1023&he.charCodeAt(++n)),u[r++]=240|d>>18,u[r++]=128|d>>12&63,u[r++]=128|d>>6&63,u[r++]=128|63&d);he=u}else{if("object"!==l)throw new Error(ERROR);if(null===he)throw new Error(ERROR);if(ARRAY_BUFFER&&he.constructor===ArrayBuffer)he=new Uint8Array(he);else if(!(Array.isArray(he)||ARRAY_BUFFER&&ArrayBuffer.isView(he)))throw new Error(ERROR)}he.length>64&&(he=new Sha256(A,!0).update(he).array());var m=[],p=[];for(n=0;n<64;++n){var y=he[n]||0;m[n]=92^y,p[n]=54^y}Sha256.call(this,A,o),this.update(p),this.oKeyPad=m,this.inner=!0,this.sharedMemory=o}Sha256.prototype.update=function(he){if(!this.finalized){var A,o=typeof he;if("string"!==o){if("object"!==o)throw new Error(ERROR);if(null===he)throw new Error(ERROR);if(ARRAY_BUFFER&&he.constructor===ArrayBuffer)he=new Uint8Array(he);else if(!(Array.isArray(he)||ARRAY_BUFFER&&ArrayBuffer.isView(he)))throw new Error(ERROR);A=!0}for(var n,u,l=0,c=he.length,r=this.blocks;l>2]|=he[l]<>2]|=n<>2]|=(192|n>>6)<>2]|=(128|63&n)<=57344?(r[u>>2]|=(224|n>>12)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<>2]|=(240|n>>18)<>2]|=(128|n>>12&63)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<=64?(this.block=r[16],this.start=u-64,this.hash(),this.hashed=!0):this.start=u}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var he=this.blocks,A=this.lastByteIndex;he[16]=this.block,he[A>>2]|=EXTRA[3&A],this.block=he[16],A>=56&&(this.hashed||this.hash(),he[0]=this.block,he[16]=he[1]=he[2]=he[3]=he[4]=he[5]=he[6]=he[7]=he[8]=he[9]=he[10]=he[11]=he[12]=he[13]=he[14]=he[15]=0),he[14]=this.hBytes<<3|this.bytes>>>29,he[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var m,h,C,P,w,D,he=this.h0,A=this.h1,o=this.h2,n=this.h3,l=this.h4,u=this.h5,c=this.h6,r=this.h7,d=this.blocks;for(m=16;m<64;++m)d[m]=d[m-16]+(((h=d[m-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3)+d[m-7]+(((h=d[m-2])>>>17|h<<15)^(h>>>19|h<<13)^h>>>10)<<0;for(D=A&o,m=0;m<64;m+=4)this.first?(this.is224?(C=300032,r=(h=d[0]-1413257819)-150054599<<0,n=h+24177077<<0):(C=704751109,r=(h=d[0]-210244248)-1521486534<<0,n=h+143694565<<0),this.first=!1):(r=n+(h=r+((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&u^~l&c)+K[m]+d[m])<<0,n=h+(((he>>>2|he<<30)^(he>>>13|he<<19)^(he>>>22|he<<10))+((C=he&A)^he&o^D))<<0),c=o+(h=c+((r>>>6|r<<26)^(r>>>11|r<<21)^(r>>>25|r<<7))+(r&l^~r&u)+K[m+1]+d[m+1])<<0,o=h+(((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+((P=n&he)^n&A^C))<<0,u=A+(h=u+((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&r^~c&l)+K[m+2]+d[m+2])<<0,A=h+(((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+((w=o&n)^o&he^P))<<0,l=he+(h=l+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&c^~u&r)+K[m+3]+d[m+3])<<0,he=h+(((A>>>2|A<<30)^(A>>>13|A<<19)^(A>>>22|A<<10))+((D=A&o)^A&n^w))<<0;this.h0=this.h0+he<<0,this.h1=this.h1+A<<0,this.h2=this.h2+o<<0,this.h3=this.h3+n<<0,this.h4=this.h4+l<<0,this.h5=this.h5+u<<0,this.h6=this.h6+c<<0,this.h7=this.h7+r<<0},Sha256.prototype.hex=function(){this.finalize();var he=this.h0,A=this.h1,o=this.h2,n=this.h3,l=this.h4,u=this.h5,c=this.h6,r=this.h7,d=HEX_CHARS[he>>28&15]+HEX_CHARS[he>>24&15]+HEX_CHARS[he>>20&15]+HEX_CHARS[he>>16&15]+HEX_CHARS[he>>12&15]+HEX_CHARS[he>>8&15]+HEX_CHARS[he>>4&15]+HEX_CHARS[15&he]+HEX_CHARS[A>>28&15]+HEX_CHARS[A>>24&15]+HEX_CHARS[A>>20&15]+HEX_CHARS[A>>16&15]+HEX_CHARS[A>>12&15]+HEX_CHARS[A>>8&15]+HEX_CHARS[A>>4&15]+HEX_CHARS[15&A]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[l>>28&15]+HEX_CHARS[l>>24&15]+HEX_CHARS[l>>20&15]+HEX_CHARS[l>>16&15]+HEX_CHARS[l>>12&15]+HEX_CHARS[l>>8&15]+HEX_CHARS[l>>4&15]+HEX_CHARS[15&l]+HEX_CHARS[u>>28&15]+HEX_CHARS[u>>24&15]+HEX_CHARS[u>>20&15]+HEX_CHARS[u>>16&15]+HEX_CHARS[u>>12&15]+HEX_CHARS[u>>8&15]+HEX_CHARS[u>>4&15]+HEX_CHARS[15&u]+HEX_CHARS[c>>28&15]+HEX_CHARS[c>>24&15]+HEX_CHARS[c>>20&15]+HEX_CHARS[c>>16&15]+HEX_CHARS[c>>12&15]+HEX_CHARS[c>>8&15]+HEX_CHARS[c>>4&15]+HEX_CHARS[15&c];return this.is224||(d+=HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]),d},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var he=this.h0,A=this.h1,o=this.h2,n=this.h3,l=this.h4,u=this.h5,c=this.h6,r=this.h7,d=[he>>24&255,he>>16&255,he>>8&255,255&he,A>>24&255,A>>16&255,A>>8&255,255&A,o>>24&255,o>>16&255,o>>8&255,255&o,n>>24&255,n>>16&255,n>>8&255,255&n,l>>24&255,l>>16&255,l>>8&255,255&l,u>>24&255,u>>16&255,u>>8&255,255&u,c>>24&255,c>>16&255,c>>8&255,255&c];return this.is224||d.push(r>>24&255,r>>16&255,r>>8&255,255&r),d},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var he=new ArrayBuffer(this.is224?28:32),A=new DataView(he);return A.setUint32(0,this.h0),A.setUint32(4,this.h1),A.setUint32(8,this.h2),A.setUint32(12,this.h3),A.setUint32(16,this.h4),A.setUint32(20,this.h5),A.setUint32(24,this.h6),this.is224||A.setUint32(28,this.h7),he},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var he=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(he),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(he){if("string"!=typeof he)throw new TypeError("expected string");var A,o=he,n=new Uint8Array(o.length);for(A=0;A{class he{calcHash(o,n){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(o)))})}toHashString2(o){let n="";for(let l of o)n+=String.fromCharCode(l);return n}toHashString(o){const n=new Uint8Array(o);let l="";for(let u of n)l+=String.fromCharCode(u);return l}}return he.\u0275fac=function(o){return new(o||he)},he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})(),OAuthService=(()=>{class he extends AuthConfig{constructor(o,n,l,u,c,r,d,m,p,y){var b;super(),this.ngZone=o,this.http=n,this.config=c,this.urlHelper=r,this.logger=d,this.crypto=m,this.dateTimeService=y,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=p,c||(c={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),u&&(this.tokenValidationHandler=u),c&&this.configure(c);try{l?this.setStorage(l):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(h){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",h)}if(this.checkLocalStorageAccessable()){const h=null===(b=null==window?void 0:window.navigator)||void 0===b?void 0:b.userAgent;((null==h?void 0:h.includes("MSIE "))||(null==h?void 0:h.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const o="test";try{return void 0!==window.localStorage&&(localStorage.setItem(o,o),localStorage.removeItem(o),!0)}catch(n){return!1}}configure(o){Object.assign(this,new AuthConfig,o),this.config=Object.assign({},new AuthConfig,o),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(o=>"token_received"===o.type)).subscribe(o=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(o={},n,l=!0){let u=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(c=>{"token_received"===c.type?u=!0:"logout"===c.type&&(u=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(c=>"token_expires"===c.type&&(null==n||"any"===n||c.info===n)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(c=>{u&&this.refreshInternal(o,l).catch(r=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(o,n){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(o,n):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(o=null){return this.loadDiscoveryDocument().then(n=>this.tryLogin(o))}loadDiscoveryDocumentAndLogin(o=null){return this.loadDiscoveryDocumentAndTryLogin(o=o||{}).then(n=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof o.state?o.state:""),!1))}debug(...o){this.showDebugInformation&&this.logger.debug.apply(this.logger,o)}validateUrlFromDiscoveryDocument(o){const n=[],l=this.validateUrlForHttps(o),u=this.validateUrlAgainstIssuer(o);return l||n.push("https for all urls required. Also for urls received by discovery."),u||n.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),n}validateUrlForHttps(o){if(!o)return!0;const n=o.toLowerCase();return!(!1!==this.requireHttps&&(!n.match(/^http:\/\/localhost($|[:\/])/)&&!n.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||n.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(o,n){if(!o)throw new Error(`'${n}' should not be null`);if(!this.validateUrlForHttps(o))throw new Error(`'${n}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(o){return!this.strictDiscoveryDocumentValidation||!o||o.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(o=>"token_received"===o.type)).subscribe(o=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const o=this.getAccessTokenExpiration(),n=this.getAccessTokenStoredAt(),l=this.calcTimeout(n,o);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(l)).subscribe(u=>{this.ngZone.run(()=>{this.eventsSubject.next(u)})})})}setupIdTokenTimer(){const o=this.getIdTokenExpiration(),n=this.getIdTokenStoredAt(),l=this.calcTimeout(n,o);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(l)).subscribe(u=>{this.ngZone.run(()=>{this.eventsSubject.next(u)})})})}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(o,n){const l=this.dateTimeService.now();return Math.max(0,(n-o)*this.timeoutFactor-(l-o))}setStorage(o){this._storage=o,this.configChanged()}loadDiscoveryDocument(o=null){return new Promise((n,l)=>{o||((o=this.issuer||"").endsWith("/")||(o+="/"),o+=".well-known/openid-configuration"),this.validateUrlForHttps(o)?this.http.get(o).subscribe(u=>{if(!this.validateDiscoveryDocument(u))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void l("discovery_document_validation_error");this.loginUrl=u.authorization_endpoint,this.logoutUrl=u.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=u.grant_types_supported,this.issuer=u.issuer,this.tokenEndpoint=u.token_endpoint,this.userinfoEndpoint=u.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=u.jwks_uri,this.sessionCheckIFrameUrl=u.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(u),this.revocationEndpoint=u.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(c=>{const d=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:u,jwks:c});this.eventsSubject.next(d),n(d)}).catch(c=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",c)),l(c)})},u=>{this.logger.error("error loading discovery document",u),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",u)),l(u)}):l("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((o,n)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(l=>{this.jwks=l,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),o(l)},l=>{this.logger.error("error loading jwks",l),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",l)),n(l)}):o(null)})}validateDiscoveryDocument(o){let n;return this.skipIssuerCheck||o.issuer===this.issuer?(n=this.validateUrlFromDiscoveryDocument(o.authorization_endpoint),n.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",n),!1):(n=this.validateUrlFromDiscoveryDocument(o.end_session_endpoint),n.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",n),!1):(n=this.validateUrlFromDiscoveryDocument(o.token_endpoint),n.length>0&&this.logger.error("error validating token_endpoint in discovery document",n),n=this.validateUrlFromDiscoveryDocument(o.revocation_endpoint),n.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",n),n=this.validateUrlFromDiscoveryDocument(o.userinfo_endpoint),n.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",n),!1):(n=this.validateUrlFromDiscoveryDocument(o.jwks_uri),n.length>0?(this.logger.error("error validating jwks_uri in discovery document",n),!1):(this.sessionChecksEnabled&&!o.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: "+o.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(o,n,l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders){return this.fetchTokenUsingPasswordFlow(o,n,l).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((o,n)=>{const l=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:l,observe:"response",responseType:"text"}).subscribe(u=>{if(this.debug("userinfo received",JSON.stringify(u)),u.headers.get("content-type").startsWith("application/json")){let c=JSON.parse(u.body);const r=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!r.sub||c.sub!==r.sub))return void n("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");c=Object.assign({},r,c),this._storage.setItem("id_token_claims_obj",JSON.stringify(c)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),o({info:c})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),o(JSON.parse(u.body))},u=>{this.logger.error("error loading user info",u),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",u)),n(u)})})}fetchTokenUsingPasswordFlow(o,n,l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:o,password:n},l)}fetchTokenUsingGrant(o,n,l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",o).set("scope",this.scope);if(this.useHttpBasicAuth){const c=btoa(`${this.clientId}:${this.dummyClientSecret}`);l=l.set("Authorization","Basic "+c)}if(this.useHttpBasicAuth||(u=u.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(u=u.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const c of Object.getOwnPropertyNames(this.customQueryParams))u=u.set(c,this.customQueryParams[c]);for(const c of Object.keys(n))u=u.set(c,n[c]);return l=l.set("Content-Type","application/x-www-form-urlencoded"),new Promise((c,r)=>{this.http.post(this.tokenEndpoint,u,{headers:l}).subscribe(d=>{this.debug("tokenResponse",d),this.storeAccessTokenResponse(d.access_token,d.refresh_token,d.expires_in||this.fallbackAccessTokenExpirationTimeInSec,d.scope,this.extractRecognizedCustomParameters(d)),this.oidc&&d.id_token&&this.processIdToken(d.id_token,d.access_token).then(m=>{this.storeIdToken(m),c(d)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),c(d)},d=>{this.logger.error("Error performing ${grantType} flow",d),this.eventsSubject.next(new OAuthErrorEvent("token_error",d)),r(d)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((o,n)=>{let l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),u=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const c=btoa(`${this.clientId}:${this.dummyClientSecret}`);u=u.set("Authorization","Basic "+c)}if(this.useHttpBasicAuth||(l=l.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(l=l.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const c of Object.getOwnPropertyNames(this.customQueryParams))l=l.set(c,this.customQueryParams[c]);this.http.post(this.tokenEndpoint,l,{headers:u}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(c=>c.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(c.id_token,c.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(r=>this.storeIdToken(r)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(r=>c)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(c))).subscribe(c=>{this.debug("refresh tokenResponse",c),this.storeAccessTokenResponse(c.access_token,c.refresh_token,c.expires_in||this.fallbackAccessTokenExpirationTimeInSec,c.scope,this.extractRecognizedCustomParameters(c)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),o(c)},c=>{this.logger.error("Error refreshing token",c),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",c)),n(c)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=o=>{const n=this.processMessageEventMessage(o);this.tryLogin({customHashFragment:n,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(l=>this.debug("tryLogin during silent refresh failed",l))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(o={},n=!0){const l=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(o.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(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const u=this.document.getElementById(this.silentRefreshIFrameName);u&&this.document.body.removeChild(u),this.silentRefreshSubject=l.sub;const c=this.document.createElement("iframe");c.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,n,o).then(y=>{c.setAttribute("src",y),this.silentRefreshShowIFrame||(c.style.display="none"),this.document.body.appendChild(c)});const d=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(y=>y instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),m=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(y=>"token_received"===y.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),p=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([d,m,p]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(y=>{if(y instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===y.type||(y=new OAuthErrorEvent("silent_refresh_error",y)),this.eventsSubject.next(y),y;return"token_received"===y.type&&(y=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(y)),y})).toPromise()}initImplicitFlowInPopup(o){return this.initLoginFlowInPopup(o)}initLoginFlowInPopup(o){return o=o||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(n=>new Promise((l,u)=>{let d,r=null;o.windowRef?o.windowRef&&!o.windowRef.closed&&(r=o.windowRef,r.location.href=n):r=window.open(n,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(o));const m=g=>{this.tryLogin({customHashFragment:g,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{y(),l(!0)},s=>{y(),u(s)})};r?d=window.setInterval(()=>{(!r||r.closed)&&(y(),u(new OAuthErrorEvent("popup_closed",{})))},500):u(new OAuthErrorEvent("popup_blocked",{}));const y=()=>{window.clearInterval(d),window.removeEventListener("storage",h),window.removeEventListener("message",b),null!==r&&r.close(),r=null},b=g=>{const s=this.processMessageEventMessage(g);s&&null!==s?(window.removeEventListener("storage",h),m(s)):console.log("false event firing")},h=g=>{"auth_hash"===g.key&&(window.removeEventListener("message",b),m(g.newValue))};window.addEventListener("message",b),window.addEventListener("storage",h)}))}calculatePopupFeatures(o){const n=o.height||470,l=o.width||500,u=window.screenLeft+(window.outerWidth-l)/2;return`location=no,toolbar=no,width=${l},height=${n},top=${window.screenTop+(window.outerHeight-n)/2},left=${u}`}processMessageEventMessage(o){let n="#";if(this.silentRefreshMessagePrefix&&(n+=this.silentRefreshMessagePrefix),!o||!o.data||"string"!=typeof o.data)return;const l=o.data;return l.startsWith(n)?"#"+l.substr(n.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(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=o=>{const n=o.origin.toLowerCase(),l=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),l.startsWith(n)){switch(o.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",o)}else this.debug("sessionCheckEventListener","wrong origin",n,"expected",l,"event",o)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(o=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(o=>{this.debug("token refresh after session change worked")}).catch(o=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(o=>"silently_refreshed"===o.type||"silent_refresh_timeout"===o.type||"silent_refresh_error"===o.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(o=>{"silently_refreshed"!==o.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const o=this.document.getElementById(this.sessionCheckIFrameName);o&&this.document.body.removeChild(o);const n=this.document.createElement("iframe");n.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),n.setAttribute("src",this.sessionCheckIFrameUrl),n.style.display="none",this.document.body.appendChild(n),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 o=this.document.getElementById(this.sessionCheckIFrameName);o||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const n=this.getSessionState();n||this.stopSessionCheckTimer(),o.contentWindow.postMessage(this.clientId+" "+n,this.issuer)}createLoginUrl(o="",n="",l="",u=!1,c={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){const r=this;let d;d=l||this.redirectUri;const m=yield this.createAndSaveNonce();if(o=o?m+this.config.nonceStateSeparator+encodeURIComponent(o):m,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const p=r.loginUrl.indexOf("?")>-1?"&":"?";let y=r.scope;this.oidc&&!y.match(/(^|\s)openid($|\s)/)&&(y="openid "+y);let b=r.loginUrl+p+"response_type="+encodeURIComponent(r.responseType)+"&client_id="+encodeURIComponent(r.clientId)+"&state="+encodeURIComponent(o)+"&redirect_uri="+encodeURIComponent(d)+"&scope="+encodeURIComponent(y);if(this.responseType.includes("code")&&!this.disablePKCE){const[h,g]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",g):this._storage.setItem("PKCE_verifier",g),b+="&code_challenge="+h,b+="&code_challenge_method=S256"}n&&(b+="&login_hint="+encodeURIComponent(n)),r.resource&&(b+="&resource="+encodeURIComponent(r.resource)),r.oidc&&(b+="&nonce="+encodeURIComponent(m)),u&&(b+="&prompt=none");for(const h of Object.keys(c))b+="&"+encodeURIComponent(h)+"="+encodeURIComponent(c[h]);if(this.customQueryParams)for(const h of Object.getOwnPropertyNames(this.customQueryParams))b+="&"+h+"="+encodeURIComponent(this.customQueryParams[h]);return b})}initImplicitFlowInternal(o="",n=""){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 l={},u=null;"string"==typeof n?u=n:"object"==typeof n&&(l=n),this.createLoginUrl(o,u,null,!1,l).then(this.config.openUri).catch(c=>{console.error("Error in initImplicitFlow",c),this.inImplicitFlow=!1})}initImplicitFlow(o="",n=""){""!==this.loginUrl?this.initImplicitFlowInternal(o,n):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(l=>"discovery_document_loaded"===l.type)).subscribe(l=>this.initImplicitFlowInternal(o,n))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(o){const n=this;if(o.onTokenReceived){const l={idClaims:n.getIdentityClaims(),idToken:n.getIdToken(),accessToken:n.getAccessToken(),state:n.state};o.onTokenReceived(l)}}storeAccessTokenResponse(o,n,l,u,c){if(this._storage.setItem("access_token",o),u&&!Array.isArray(u)?this._storage.setItem("granted_scopes",JSON.stringify(u.split(" "))):u&&Array.isArray(u)&&this._storage.setItem("granted_scopes",JSON.stringify(u)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),l){const r=1e3*l,m=this.dateTimeService.new().getTime()+r;this._storage.setItem("expires_at",""+m)}n&&this._storage.setItem("refresh_token",n),c&&c.forEach((r,d)=>{this._storage.setItem(d,r)})}tryLogin(o=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(o).then(n=>!0):this.tryLoginImplicitFlow(o)}parseQueryString(o){return o&&0!==o.length?("?"===o.charAt(0)&&(o=o.substr(1)),this.urlHelper.parseQueryString(o)):{}}tryLoginCodeFlow(o=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){const n=(o=o||{}).customHashFragment?o.customHashFragment.substring(1):window.location.search,l=this.getCodePartsFromUrl(n),u=l.code,c=l.state,r=l.session_state;if(!o.preventClearHashAfterLogin){const p=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,p)}let[d,m]=this.parseState(c);if(this.state=m,l.error){this.debug("error trying to login"),this.handleLoginError(o,l);const p=new OAuthErrorEvent("code_error",{},l);return this.eventsSubject.next(p),Promise.reject(p)}if(!o.disableNonceCheck){if(!d)return this.saveRequestedRoute(),Promise.resolve();if(!o.disableOAuth2StateCheck&&!this.validateNonce(d)){const y=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(y),Promise.reject(y)}return this.storeSessionState(r),u&&(yield this.getTokenFromCode(u,o),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const o=this._storage.getItem("requested_route");o&&history.replaceState(null,"",window.location.origin+o)}getCodePartsFromUrl(o){return o&&0!==o.length?("?"===o.charAt(0)&&(o=o.substr(1)),this.urlHelper.parseQueryString(o)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(o,n){let l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",o).set("redirect_uri",n.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let u;u=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),u?l=l.set("code_verifier",u):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(l,n)}fetchAndProcessToken(o,n){n=n||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let l=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const u=btoa(`${this.clientId}:${this.dummyClientSecret}`);l=l.set("Authorization","Basic "+u)}return this.useHttpBasicAuth||(o=o.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(o=o.set("client_secret",this.dummyClientSecret)),new Promise((u,c)=>{if(this.customQueryParams)for(let r of Object.getOwnPropertyNames(this.customQueryParams))o=o.set(r,this.customQueryParams[r]);this.http.post(this.tokenEndpoint,o,{headers:l}).subscribe(r=>{this.debug("refresh tokenResponse",r),this.storeAccessTokenResponse(r.access_token,r.refresh_token,r.expires_in||this.fallbackAccessTokenExpirationTimeInSec,r.scope,this.extractRecognizedCustomParameters(r)),this.oidc&&r.id_token?this.processIdToken(r.id_token,r.access_token,n.disableNonceCheck).then(d=>{this.storeIdToken(d),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),u(r)}).catch(d=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",d)),console.error("Error validating tokens"),console.error(d),c(d)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),u(r))},r=>{console.error("Error getting token",r),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",r)),c(r)})})}tryLoginImplicitFlow(o=null){let n;n=(o=o||{}).customHashFragment?this.urlHelper.getHashFragmentParams(o.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",n);const l=n.state;let[u,c]=this.parseState(l);if(this.state=c,n.error){this.debug("error trying to login"),this.handleLoginError(o,n);const y=new OAuthErrorEvent("token_error",{},n);return this.eventsSubject.next(y),Promise.reject(y)}const r=n.access_token,d=n.id_token,m=n.session_state,p=n.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!r||this.requestAccessToken&&!o.disableOAuth2StateCheck&&!l||this.oidc&&!d)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!m&&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&&!o.disableNonceCheck&&!this.validateNonce(u)){const b=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(b),Promise.reject(b)}return this.requestAccessToken&&this.storeAccessTokenResponse(r,null,n.expires_in||this.fallbackAccessTokenExpirationTimeInSec,p),this.oidc?this.processIdToken(d,r,o.disableNonceCheck).then(y=>o.validationHandler?o.validationHandler({accessToken:r,idClaims:y.idTokenClaims,idToken:y.idToken,state:l}).then(b=>y):y).then(y=>(this.storeIdToken(y),this.storeSessionState(m),this.clearHashAfterLogin&&!o.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(o),this.inImplicitFlow=!1,!0)).catch(y=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",y)),this.logger.error("Error validating tokens"),this.logger.error(y),Promise.reject(y))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!o.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(o),Promise.resolve(!0))}parseState(o){let n=o,l="";if(o){const u=o.indexOf(this.config.nonceStateSeparator);u>-1&&(n=o.substr(0,u),l=o.substr(u+this.config.nonceStateSeparator.length))}return[n,l]}validateNonce(o){let n;return n=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),n===o||(console.error("Validating access_token failed, wrong state/nonce.",n,o),!1)}storeIdToken(o){this._storage.setItem("id_token",o.idToken),this._storage.setItem("id_token_claims_obj",o.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+o.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(o){this._storage.setItem("session_state",o)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(o,n){o.onLoginError&&o.onLoginError(n),this.clearHashAfterLogin&&!o.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(o=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:o}processIdToken(o,n,l=!1){const u=o.split("."),r=b64DecodeUnicode(this.padBase64(u[0])),d=JSON.parse(r),p=b64DecodeUnicode(this.padBase64(u[1])),y=JSON.parse(p);let b;if(b=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(y.aud)){if(y.aud.every(w=>w!==this.clientId)){const w="Wrong audience: "+y.aud.join(",");return this.logger.warn(w),Promise.reject(w)}}else if(y.aud!==this.clientId){const w="Wrong audience: "+y.aud;return this.logger.warn(w),Promise.reject(w)}if(!y.sub){const w="No sub claim in id_token";return this.logger.warn(w),Promise.reject(w)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==y.sub){const w=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${y.sub}`;return this.logger.warn(w),Promise.reject(w)}if(!y.iat){const w="No iat claim in id_token";return this.logger.warn(w),Promise.reject(w)}if(!this.skipIssuerCheck&&y.iss!==this.issuer){const w="Wrong issuer: "+y.iss;return this.logger.warn(w),Promise.reject(w)}if(!l&&y.nonce!==b){const w="Wrong nonce: "+y.nonce;return this.logger.warn(w),Promise.reject(w)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!y.at_hash){const w="An at_hash is needed!";return this.logger.warn(w),Promise.reject(w)}const h=this.dateTimeService.now(),g=1e3*y.iat,s=1e3*y.exp,C=this.getClockSkewInMsec();if(g-C>=h||s+C<=h){const w="Token has expired";return console.error(w),console.error({now:h,issuedAtMSec:g,expiresAtMSec:s}),Promise.reject(w)}const P={accessToken:n,idToken:o,jwks:this.jwks,idTokenClaims:y,idTokenHeader:d,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(P).then(w=>({idToken:o,idTokenClaims:y,idTokenClaimsJson:p,idTokenHeader:d,idTokenHeaderJson:r,idTokenExpiresAt:s})):this.checkAtHash(P).then(w=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!w){const D="Wrong at_hash";return this.logger.warn(D),Promise.reject(D)}return this.checkSignature(P).then(D=>{const Y={idToken:o,idTokenClaims:y,idTokenClaimsJson:p,idTokenHeader:d,idTokenHeaderJson:r,idTokenExpiresAt:s};return this.disableAtHashCheck?Y:this.checkAtHash(P).then($=>{if(this.requestAccessToken&&!$){const z="Wrong at_hash";return this.logger.warn(z),Promise.reject(z)}return Y})})})}getIdentityClaims(){const o=this._storage.getItem("id_token_claims_obj");return o?JSON.parse(o):null}getGrantedScopes(){const o=this._storage.getItem("granted_scopes");return o?JSON.parse(o):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(o){for(;o.length%4!=0;)o+="=";return o}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 o=this._storage.getItem("expires_at"),n=this.dateTimeService.new();return!(o&&parseInt(o,10)=0&&null!==this._storage.getItem(o)?JSON.parse(this._storage.getItem(o)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(o={},n=""){let l=!1;"boolean"==typeof o&&(l=o,o={});const u=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(r=>this._storage.removeItem(r)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||l||!u&&!this.postLogoutRedirectUri)return;let c;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)c=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(u)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let r=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec});u&&(r=r.set("id_token_hint",u));const d=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";d&&(r=r.set("post_logout_redirect_uri",d),n&&(r=r.set("state",n)));for(let m in o)r=r.set(m,o[m]);c=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+r.toString()}this.config.openUri(c)}createAndSaveNonce(){const o=this;return this.createNonce().then(function(n){return o.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",n):o._storage.setItem("nonce",n),n})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const o=this.document.getElementById(this.silentRefreshIFrameName);o&&o.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const n=this.document.getElementById(this.sessionCheckIFrameName);n&&n.remove()}createNonce(){return new Promise(o=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let l=45,u="";const c="undefined"==typeof self?null:self.crypto||self.msCrypto;if(c){let r=new Uint8Array(l);c.getRandomValues(r),r.map||(r.map=Array.prototype.map),r=r.map(d=>n.charCodeAt(d%n.length)),u=String.fromCharCode.apply(null,r)}else for(;0"discovery_document_loaded"===l.type)).subscribe(l=>this.initCodeFlowInternal(o,n))}initCodeFlowInternal(o="",n={}){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 l={},u=null;"string"==typeof n?u=n:"object"==typeof n&&(l=n),this.createLoginUrl(o,u,null,!1,l).then(this.config.openUri).catch(c=>{console.error("Error in initAuthorizationCodeFlow"),console.error(c)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const o=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(o,"sha-256")),o]})}extractRecognizedCustomParameters(o){let n=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(l=>{o[l]&&n.set(l,JSON.stringify(o[l]))}),n}revokeTokenAndLogout(o={},n=!1){let l=this.revocationEndpoint,u=this.getAccessToken(),c=this.getRefreshToken();if(!u)return;let r=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec}),d=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const m=btoa(`${this.clientId}:${this.dummyClientSecret}`);d=d.set("Authorization","Basic "+m)}if(this.useHttpBasicAuth||(r=r.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(r=r.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const m of Object.getOwnPropertyNames(this.customQueryParams))r=r.set(m,this.customQueryParams[m]);return new Promise((m,p)=>{let y,b;if(u){let h=r.set("token",u).set("token_type_hint","access_token");y=this.http.post(l,h,{headers:d})}else y=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(c){let h=r.set("token",c).set("token_type_hint","refresh_token");b=this.http.post(l,h,{headers:d})}else b=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);n&&(y=y.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(h=>0===h.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(h))),b=b.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(h=>0===h.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(h)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([y,b]).subscribe(h=>{this.logOut(o),m(h),this.logger.info("Token successfully revoked")},h=>{this.logger.error("Error revoking token",h),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",h)),p(h)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return he.\u0275fac=function(o){return new(o||he)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpClient),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(_angular_common__WEBPACK_IMPORTED_MODULE_18__.DOCUMENT),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(DateTimeProvider))},he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(A){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(A)}}let DefaultOAuthInterceptor=(()=>{class he{constructor(o,n,l){this.oAuthService=o,this.errorHandler=n,this.moduleConfig=l}checkUrl(o){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(o):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(n=>o.toLowerCase().startsWith(n.toLowerCase()))}intercept(o,n){const l=o.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(l)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(c=>!!c)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(c=>"token_received"===c.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(c=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(c=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(c=>{if(c){const d=o.headers.set("Authorization","Bearer "+c);o=o.clone({headers:d})}return n.handle(o).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(r=>this.errorHandler.handleError(r)))})):n.handle(o).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(c=>this.errorHandler.handleError(c))):n.handle(o)}}return he.\u0275fac=function(o){return new(o||he)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthModuleConfig,8))},he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})();class NullValidationHandler{validateSignature(A){return Promise.resolve(null)}validateAtHash(A){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class he{static forRoot(o=null,n=NullValidationHandler){return{ngModule:he,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:n},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:o},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HTTP_INTERCEPTORS,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return he.\u0275fac=function(o){return new(o||he)},he.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjector({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.CommonModule]]}),he})();const err="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";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken("AUTH_CONFIG")},8231:(he,A,o)=>{"use strict";o.r(A),o.d(A,{version:()=>n,VERSION:()=>l,atob:()=>oe,atobPolyfill:()=>pe,btoa:()=>D,btoaPolyfill:()=>w,fromBase64:()=>Ce,toBase64:()=>Q,utob:()=>G,encode:()=>Q,encodeURI:()=>q,encodeURL:()=>q,btou:()=>xe,decode:()=>Ce,isValid:()=>Te,fromUint8Array:()=>Y,toUint8Array:()=>U,extendString:()=>tt,extendUint8Array:()=>ot,extendBuiltins:()=>mt,Base64:()=>Dt});const n="3.7.2",l=n,u="function"==typeof atob,c="function"==typeof btoa,r="function"==typeof Buffer,d="function"==typeof TextDecoder?new TextDecoder:void 0,m="function"==typeof TextEncoder?new TextEncoder:void 0,y=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),b=(Ie=>{let Qe={};return Ie.forEach((ct,bt)=>Qe[ct]=bt),Qe})(y),h=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,g=String.fromCharCode.bind(String),s="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):(Ie,Qe=(ct=>ct))=>new Uint8Array(Array.prototype.slice.call(Ie,0).map(Qe)),C=Ie=>Ie.replace(/=/g,"").replace(/[+\/]/g,Qe=>"+"==Qe?"-":"_"),P=Ie=>Ie.replace(/[^A-Za-z0-9\+\/]/g,""),w=Ie=>{let Qe,ct,bt,Et,xt="";const dt=Ie.length%3;for(let Ne=0;Ne255||(bt=Ie.charCodeAt(Ne++))>255||(Et=Ie.charCodeAt(Ne++))>255)throw new TypeError("invalid character found");Qe=ct<<16|bt<<8|Et,xt+=y[Qe>>18&63]+y[Qe>>12&63]+y[Qe>>6&63]+y[63&Qe]}return dt?xt.slice(0,dt-3)+"===".substring(dt):xt},D=c?Ie=>btoa(Ie):r?Ie=>Buffer.from(Ie,"binary").toString("base64"):w,T=r?Ie=>Buffer.from(Ie).toString("base64"):Ie=>{let ct=[];for(let bt=0,Et=Ie.length;btQe?C(T(Ie)):T(Ie),$=Ie=>{if(Ie.length<2)return(Qe=Ie.charCodeAt(0))<128?Ie:Qe<2048?g(192|Qe>>>6)+g(128|63&Qe):g(224|Qe>>>12&15)+g(128|Qe>>>6&63)+g(128|63&Qe);var Qe=65536+1024*(Ie.charCodeAt(0)-55296)+(Ie.charCodeAt(1)-56320);return g(240|Qe>>>18&7)+g(128|Qe>>>12&63)+g(128|Qe>>>6&63)+g(128|63&Qe)},z=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,G=Ie=>Ie.replace(z,$),X=r?Ie=>Buffer.from(Ie,"utf8").toString("base64"):m?Ie=>T(m.encode(Ie)):Ie=>D(G(Ie)),Q=(Ie,Qe=!1)=>Qe?C(X(Ie)):X(Ie),q=Ie=>Q(Ie,!0),ue=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,me=Ie=>{switch(Ie.length){case 4:var ct=((7&Ie.charCodeAt(0))<<18|(63&Ie.charCodeAt(1))<<12|(63&Ie.charCodeAt(2))<<6|63&Ie.charCodeAt(3))-65536;return g(55296+(ct>>>10))+g(56320+(1023&ct));case 3:return g((15&Ie.charCodeAt(0))<<12|(63&Ie.charCodeAt(1))<<6|63&Ie.charCodeAt(2));default:return g((31&Ie.charCodeAt(0))<<6|63&Ie.charCodeAt(1))}},xe=Ie=>Ie.replace(ue,me),pe=Ie=>{if(Ie=Ie.replace(/\s+/g,""),!h.test(Ie))throw new TypeError("malformed base64.");Ie+="==".slice(2-(3&Ie.length));let Qe,bt,Et,ct="";for(let xt=0;xt>16&255):64===Et?g(Qe>>16&255,Qe>>8&255):g(Qe>>16&255,Qe>>8&255,255&Qe);return ct},oe=u?Ie=>atob(P(Ie)):r?Ie=>Buffer.from(Ie,"base64").toString("binary"):pe,ae=r?Ie=>s(Buffer.from(Ie,"base64")):Ie=>s(oe(Ie),Qe=>Qe.charCodeAt(0)),U=Ie=>ae(le(Ie)),ie=r?Ie=>Buffer.from(Ie,"base64").toString("utf8"):d?Ie=>d.decode(ae(Ie)):Ie=>xe(oe(Ie)),le=Ie=>P(Ie.replace(/[-_]/g,Qe=>"-"==Qe?"+":"/")),Ce=Ie=>ie(le(Ie)),Te=Ie=>{if("string"!=typeof Ie)return!1;const Qe=Ie.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(Qe)||!/[^\s0-9a-zA-Z\-_]/.test(Qe)},Ke=Ie=>({value:Ie,enumerable:!1,writable:!0,configurable:!0}),tt=function(){const Ie=(Qe,ct)=>Object.defineProperty(String.prototype,Qe,Ke(ct));Ie("fromBase64",function(){return Ce(this)}),Ie("toBase64",function(Qe){return Q(this,Qe)}),Ie("toBase64URI",function(){return Q(this,!0)}),Ie("toBase64URL",function(){return Q(this,!0)}),Ie("toUint8Array",function(){return U(this)})},ot=function(){const Ie=(Qe,ct)=>Object.defineProperty(Uint8Array.prototype,Qe,Ke(ct));Ie("toBase64",function(Qe){return Y(this,Qe)}),Ie("toBase64URI",function(){return Y(this,!0)}),Ie("toBase64URL",function(){return Y(this,!0)})},mt=()=>{tt(),ot()},Dt={version:n,VERSION:l,atob:oe,atobPolyfill:pe,btoa:D,btoaPolyfill:w,fromBase64:Ce,toBase64:Q,encode:Q,encodeURI:q,encodeURL:q,utob:G,btou:xe,decode:Ce,isValid:Te,fromUint8Array:Y,toUint8Array:U,extendString:tt,extendUint8Array:ot,extendBuiltins:mt}},8210:he=>{"use strict";he.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]]}}')},4147:he=>{"use strict";he.exports=JSON.parse('{"name":"mag-client","version":"2.5.54","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":"^13.1.1","@angular/common":"^13.1.1","@angular/core":"^13.1.1","@angular/forms":"^13.1.1","@angular/material":"^13.1.1","@angular/platform-browser":"^13.1.1","@angular/platform-browser-dynamic":"^13.1.1","@angular/router":"^13.1.1","@ngx-translate/core":"^11.0.1","@ngx-translate/http-loader":"^4.0.0","@types/jasmine":"^3.6.9","@types/pako":"^1.0.3","ace-builds":"^1.4.14","angular-oauth2-oidc":"^13.0.1","browserify-zlib":"^0.2.0","core-js":"^2.6.2","debug":"^4.3.1","fhir-kit-client":"1.9.2","fhirpath":"^2.10.2","jasmine":"^3.7.0","js-base64":"^3.7.2","js-untar":"^2.0.0","ngx-highlightjs":"^4.1.3","pako":"^2.0.4","rxjs":"^6.6.7","tslib":"^2.0.0","uuid":"^8.3.2","yarn":"^1.22.17","zone.js":"^0.11.4"},"devDependencies":{"@angular-devkit/build-angular":"^13.1.2","@angular-eslint/builder":"13.0.0-alpha.1","@angular-eslint/eslint-plugin":"13.0.0-alpha.1","@angular-eslint/eslint-plugin-template":"13.0.0-alpha.1","@angular-eslint/schematics":"13.0.0-alpha.1","@angular-eslint/template-parser":"13.0.0-alpha.1","@angular/cli":"^13.1.2","@angular/compiler-cli":"^13.1.1","@angular/language-service":"^13.1.1","@types/debug":"^4.1.5","@types/node":"^10.12.18","@types/ramda":"^0.26.44","@typescript-eslint/eslint-plugin":"5.3.0","@typescript-eslint/parser":"5.3.0","eslint":"^8.2.0","husky":"^1.3.1","jasmine-core":"~3.6.0","jasmine-spec-reporter":"~5.0.0","json-patch":"^0.7.0","karma":"~6.3.1","karma-chrome-launcher":"~3.1.0","karma-cli":"~2.0.0","karma-coverage-istanbul-reporter":"~3.0.2","karma-jasmine":"~4.0.0","karma-jasmine-html-reporter":"^1.5.0","prettier":"2.2.1","pretty-quick":"^1.10.0","protractor":"~7.0.0","ts-node":"~7.0.1","tslint":"~6.1.0","typescript":"~4.5.4"},"browser":{"fs":false,"os":false,"path":false,"zlib":false},"prettier":{"singleQuote":true,"trailingComma":"es5"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}}}')}},he=>{he(he.s=4431)}]); \ No newline at end of file From 50934f79e1b088d1d7127d70bb0ebf3aac6d615b Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Mon, 31 Jul 2023 10:24:09 +0200 Subject: [PATCH 06/29] Update to Angular 14 --- angular/angular.json | 1 - angular/package-lock.json | 8934 +++++++++-------- angular/package.json | 26 +- angular/src/app/mag/mag.component.ts | 94 +- .../src/app/patients/patients.component.ts | 14 +- angular/src/tsconfig.spec.json | 2 +- angular/tsconfig.json | 2 +- 7 files changed, 4684 insertions(+), 4389 deletions(-) diff --git a/angular/angular.json b/angular/angular.json index 8f400701..389ae3f2 100644 --- a/angular/angular.json +++ b/angular/angular.json @@ -102,7 +102,6 @@ } } }, - "defaultProject": "matchbox-formfiller", "schematics": { "@schematics/angular:component": { "prefix": "app", diff --git a/angular/package-lock.json b/angular/package-lock.json index 31cc6cf5..9038d584 100644 --- a/angular/package-lock.json +++ b/angular/package-lock.json @@ -9,14 +9,14 @@ "version": "2.5.54", "license": "MIT", "dependencies": { - "@angular/animations": "^13.1.1", - "@angular/common": "^13.1.1", - "@angular/core": "^13.1.1", - "@angular/forms": "^13.1.1", - "@angular/material": "^13.1.1", - "@angular/platform-browser": "^13.1.1", - "@angular/platform-browser-dynamic": "^13.1.1", - "@angular/router": "^13.1.1", + "@angular/animations": "^14.3.0", + "@angular/common": "^14.3.0", + "@angular/core": "^14.3.0", + "@angular/forms": "^14.3.0", + "@angular/material": "^14.2.7", + "@angular/platform-browser": "^14.3.0", + "@angular/platform-browser-dynamic": "^14.3.0", + "@angular/router": "^14.3.0", "@ngx-translate/core": "^11.0.1", "@ngx-translate/http-loader": "^4.0.0", "@types/jasmine": "^3.6.9", @@ -40,15 +40,15 @@ "zone.js": "^0.11.4" }, "devDependencies": { - "@angular-devkit/build-angular": "^13.1.2", + "@angular-devkit/build-angular": "^14.2.12", "@angular-eslint/builder": "13.0.0-alpha.1", "@angular-eslint/eslint-plugin": "13.0.0-alpha.1", "@angular-eslint/eslint-plugin-template": "13.0.0-alpha.1", "@angular-eslint/schematics": "13.0.0-alpha.1", "@angular-eslint/template-parser": "13.0.0-alpha.1", - "@angular/cli": "^13.1.2", - "@angular/compiler-cli": "^13.1.1", - "@angular/language-service": "^13.1.1", + "@angular/cli": "^14.2.12", + "@angular/compiler-cli": "^14.3.0", + "@angular/language-service": "^14.3.0", "@types/debug": "^4.1.5", "@types/node": "^10.12.18", "@types/ramda": "^0.26.44", @@ -70,125 +70,129 @@ "protractor": "~7.0.0", "ts-node": "~7.0.1", "tslint": "~6.1.0", - "typescript": "~4.5.4" + "typescript": "~4.8.4" } }, + "node_modules/@adobe/css-tools": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.2.0.tgz", + "integrity": "sha512-E09FiIft46CmH5Qnjb0wsW54/YQd69LsxeKUOWawmws1XWvyFGURnAChH0mlr7YPFR1ofwvUQfcL0J3lMxXqPA==", + "dev": true + }, "node_modules/@ampproject/remapping": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-1.0.2.tgz", - "integrity": "sha512-SncaVxs+E3EdoA9xJgHfWPxZfowAgeIsd71VpqCKP6KNKm6s7zSqqvUc70UpKUFsrV3dAmy6qxHoIj5NG+3DiA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", + "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", "dev": true, "dependencies": { - "@jridgewell/resolve-uri": "1.0.0", - "sourcemap-codec": "1.4.8" + "@jridgewell/gen-mapping": "^0.1.0", + "@jridgewell/trace-mapping": "^0.3.9" }, "engines": { "node": ">=6.0.0" } }, "node_modules/@angular-devkit/architect": { - "version": "0.1301.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1301.2.tgz", - "integrity": "sha512-v8e6OF80Ezo5MTHtFcq1AZJH+Wq+hN9pMZ1iLGkODIfKIW9zx6aPhx0JY0b7sZkfNVL8ay8JA8f339eBMnOE9A==", + "version": "0.1402.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1402.12.tgz", + "integrity": "sha512-LuK26pyaqyClEbY0n4/WIh3irUuA8wwmMmEj8uW4boziuJWv7U42lJJRF3VwkchiyOIp8qiKg995K6IoeXkWgA==", "dev": true, "dependencies": { - "@angular-devkit/core": "13.1.2", + "@angular-devkit/core": "14.2.12", "rxjs": "6.6.7" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0", + "node": "^14.15.0 || >=16.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, "node_modules/@angular-devkit/build-angular": { - "version": "13.1.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-13.1.2.tgz", - "integrity": "sha512-0FeDqfjWJjgIU42T3136RNYb7Yv2as6Z8rAnfUlX6RjRGZf98+6ZQZ80yREgrLkm7L8G1qWJc1sn3NyVMDwf9A==", - "dev": true, - "dependencies": { - "@ampproject/remapping": "1.0.2", - "@angular-devkit/architect": "0.1301.2", - "@angular-devkit/build-webpack": "0.1301.2", - "@angular-devkit/core": "13.1.2", - "@babel/core": "7.16.0", - "@babel/generator": "7.16.0", - "@babel/helper-annotate-as-pure": "7.16.0", - "@babel/plugin-proposal-async-generator-functions": "7.16.4", - "@babel/plugin-transform-async-to-generator": "7.16.0", - "@babel/plugin-transform-runtime": "7.16.4", - "@babel/preset-env": "7.16.4", - "@babel/runtime": "7.16.3", - "@babel/template": "7.16.0", - "@discoveryjs/json-ext": "0.5.6", - "@ngtools/webpack": "13.1.2", - "ansi-colors": "4.1.1", - "babel-loader": "8.2.3", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-14.2.12.tgz", + "integrity": "sha512-ei8/FaL80Q6si/aF6FLZgtT4Kr2rudlyGMqQM4Rd2Zvt8mCh3TgM7QdLhoI11t9A0LWz6RIdROlDimMyyOEF6Q==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "2.2.0", + "@angular-devkit/architect": "0.1402.12", + "@angular-devkit/build-webpack": "0.1402.12", + "@angular-devkit/core": "14.2.12", + "@babel/core": "7.18.10", + "@babel/generator": "7.18.12", + "@babel/helper-annotate-as-pure": "7.18.6", + "@babel/plugin-proposal-async-generator-functions": "7.18.10", + "@babel/plugin-transform-async-to-generator": "7.18.6", + "@babel/plugin-transform-runtime": "7.18.10", + "@babel/preset-env": "7.18.10", + "@babel/runtime": "7.18.9", + "@babel/template": "7.18.10", + "@discoveryjs/json-ext": "0.5.7", + "@ngtools/webpack": "14.2.12", + "ansi-colors": "4.1.3", + "babel-loader": "8.2.5", "babel-plugin-istanbul": "6.1.1", "browserslist": "^4.9.1", - "cacache": "15.3.0", - "circular-dependency-plugin": "5.2.2", - "copy-webpack-plugin": "10.0.0", - "core-js": "3.19.3", - "critters": "0.0.15", - "css-loader": "6.5.1", - "esbuild-wasm": "0.14.2", - "glob": "7.2.0", - "https-proxy-agent": "5.0.0", - "inquirer": "8.2.0", - "jsonc-parser": "3.0.0", + "cacache": "16.1.2", + "copy-webpack-plugin": "11.0.0", + "critters": "0.0.16", + "css-loader": "6.7.1", + "esbuild-wasm": "0.15.5", + "glob": "8.0.3", + "https-proxy-agent": "5.0.1", + "inquirer": "8.2.4", + "jsonc-parser": "3.1.0", "karma-source-map-support": "1.4.0", - "less": "4.1.2", - "less-loader": "10.2.0", - "license-webpack-plugin": "4.0.0", - "loader-utils": "3.2.0", - "mini-css-extract-plugin": "2.4.5", - "minimatch": "3.0.4", + "less": "4.1.3", + "less-loader": "11.0.0", + "license-webpack-plugin": "4.0.2", + "loader-utils": "3.2.1", + "mini-css-extract-plugin": "2.6.1", + "minimatch": "5.1.0", "open": "8.4.0", "ora": "5.4.1", "parse5-html-rewriting-stream": "6.0.1", - "piscina": "3.1.0", - "postcss": "8.4.4", - "postcss-import": "14.0.2", - "postcss-loader": "6.2.1", - "postcss-preset-env": "6.7.0", + "piscina": "3.2.0", + "postcss": "8.4.16", + "postcss-import": "15.0.0", + "postcss-loader": "7.0.1", + "postcss-preset-env": "7.8.0", "regenerator-runtime": "0.13.9", - "resolve-url-loader": "4.0.0", + "resolve-url-loader": "5.0.0", "rxjs": "6.6.7", - "sass": "1.44.0", - "sass-loader": "12.4.0", - "semver": "7.3.5", - "source-map-loader": "3.0.0", + "sass": "1.54.4", + "sass-loader": "13.0.2", + "semver": "7.5.3", + "source-map-loader": "4.0.0", "source-map-support": "0.5.21", - "stylus": "0.55.0", - "stylus-loader": "6.2.0", - "terser": "5.10.0", + "stylus": "0.59.0", + "stylus-loader": "7.0.0", + "terser": "5.14.2", "text-table": "0.2.0", "tree-kill": "1.2.2", - "tslib": "2.3.1", - "webpack": "5.65.0", - "webpack-dev-middleware": "5.2.2", - "webpack-dev-server": "4.6.0", + "tslib": "2.4.0", + "webpack": "5.76.1", + "webpack-dev-middleware": "5.3.3", + "webpack-dev-server": "4.11.0", "webpack-merge": "5.8.0", - "webpack-subresource-integrity": "5.0.0" + "webpack-subresource-integrity": "5.1.0" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0", + "node": "^14.15.0 || >=16.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, "optionalDependencies": { - "esbuild": "0.14.2" + "esbuild": "0.15.5" }, "peerDependencies": { - "@angular/compiler-cli": "^13.0.0 || ^13.1.0-next", - "@angular/localize": "^13.0.0 || ^13.1.0-next", - "@angular/service-worker": "^13.0.0 || ^13.1.0-next", + "@angular/compiler-cli": "^14.0.0", + "@angular/localize": "^14.0.0", + "@angular/service-worker": "^14.0.0", "karma": "^6.3.0", - "ng-packagr": "^13.0.0 || ^13.1.0-next", + "ng-packagr": "^14.0.0", "protractor": "^7.0.0", "tailwindcss": "^2.0.0 || ^3.0.0", - "typescript": ">=4.4.3 <4.6" + "typescript": ">=4.6.2 <4.9" }, "peerDependenciesMeta": { "@angular/localize": { @@ -211,97 +215,69 @@ } } }, - "node_modules/@angular-devkit/build-angular/node_modules/core-js": { - "version": "3.19.3", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.19.3.tgz", - "integrity": "sha512-LeLBMgEGSsG7giquSzvgBrTS7V5UL6ks3eQlUSbN8dJStlLFiRzUm5iqsRyzUB8carhfKjkJ2vzKqE6z1Vga9g==", - "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", - "dev": true, - "hasInstallScript": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, - "node_modules/@angular-devkit/build-angular/node_modules/esbuild": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.14.2.tgz", - "integrity": "sha512-l076A6o/PIgcyM24s0dWmDI/b8RQf41uWoJu9I0M71CtW/YSw5T5NUeXxs5lo2tFQD+O4CW4nBHJXx3OY5NpXg==", + "node_modules/@angular-devkit/build-angular/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, - "hasInstallScript": true, - "optional": true, - "bin": { - "esbuild": "bin/esbuild" - }, - "optionalDependencies": { - "esbuild-android-arm64": "0.14.2", - "esbuild-darwin-64": "0.14.2", - "esbuild-darwin-arm64": "0.14.2", - "esbuild-freebsd-64": "0.14.2", - "esbuild-freebsd-arm64": "0.14.2", - "esbuild-linux-32": "0.14.2", - "esbuild-linux-64": "0.14.2", - "esbuild-linux-arm": "0.14.2", - "esbuild-linux-arm64": "0.14.2", - "esbuild-linux-mips64le": "0.14.2", - "esbuild-linux-ppc64le": "0.14.2", - "esbuild-netbsd-64": "0.14.2", - "esbuild-openbsd-64": "0.14.2", - "esbuild-sunos-64": "0.14.2", - "esbuild-windows-32": "0.14.2", - "esbuild-windows-64": "0.14.2", - "esbuild-windows-arm64": "0.14.2" + "dependencies": { + "balanced-match": "^1.0.0" } }, "node_modules/@angular-devkit/build-angular/node_modules/glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", + "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "minimatch": "^5.0.1", + "once": "^1.3.0" }, "engines": { - "node": "*" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@angular-devkit/build-angular/node_modules/glob/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "node_modules/@angular-devkit/build-angular/node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "dev": true, "dependencies": { - "brace-expansion": "^1.1.7" + "agent-base": "6", + "debug": "4" }, "engines": { - "node": "*" + "node": ">= 6" } }, - "node_modules/@angular-devkit/build-angular/node_modules/https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "node_modules/@angular-devkit/build-angular/node_modules/jsonc-parser": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.1.0.tgz", + "integrity": "sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg==", + "dev": true + }, + "node_modules/@angular-devkit/build-angular/node_modules/minimatch": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", + "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", "dev": true, "dependencies": { - "agent-base": "6", - "debug": "4" + "brace-expansion": "^2.0.1" }, "engines": { - "node": ">= 6" + "node": ">=10" } }, "node_modules/@angular-devkit/build-angular/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -313,23 +289,17 @@ "node": ">=10" } }, - "node_modules/@angular-devkit/build-angular/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", - "dev": true - }, "node_modules/@angular-devkit/build-webpack": { - "version": "0.1301.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1301.2.tgz", - "integrity": "sha512-Xk0k0tMcLOy2HI1/YrfWeLUrtKvk7/E7fhG3XoozT/pXBQgiZGoPuCt34HNPDkx3WNSedzvh5DNv8kPlILfjIw==", + "version": "0.1402.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1402.12.tgz", + "integrity": "sha512-xBkbSwOhHgUsJk1tTtITqbHHiA0OdjwdrYZYceyfDASAglyRX6rT4Q9/Ppf7TSck6M1tUR76efYOn3D3ial29w==", "dev": true, "dependencies": { - "@angular-devkit/architect": "0.1301.2", + "@angular-devkit/architect": "0.1402.12", "rxjs": "6.6.7" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0", + "node": "^14.15.0 || >=16.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, @@ -339,20 +309,19 @@ } }, "node_modules/@angular-devkit/core": { - "version": "13.1.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-13.1.2.tgz", - "integrity": "sha512-uXVesIRiCL/Nv+RSV8JM4j8IoZiGCGnqV2FOJ1hvH7DPxIjhjPMdG/B54xMydZpeASW3ofuxeORyAXxFIBm8Zg==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-14.2.12.tgz", + "integrity": "sha512-tg1+deEZdm3fgk2BQ6y7tujciL6qhtN5Ums266lX//kAZeZ4nNNXTBT+oY5xgfjvmLbW+xKg0XZrAS0oIRKY5g==", "dev": true, "dependencies": { - "ajv": "8.8.2", + "ajv": "8.11.0", "ajv-formats": "2.1.1", - "fast-json-stable-stringify": "2.1.0", - "magic-string": "0.25.7", + "jsonc-parser": "3.1.0", "rxjs": "6.6.7", - "source-map": "0.7.3" + "source-map": "0.7.4" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0", + "node": "^14.15.0 || >=16.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, @@ -366,9 +335,9 @@ } }, "node_modules/@angular-devkit/core/node_modules/ajv": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.8.2.tgz", - "integrity": "sha512-x9VuX+R/jcFj1DHo/fCp99esgGDWiHENrKxaCENuCxpoMCmAt/COCGVDwA7kleEpEzJjDnvh3yGoOuLu0Dtllw==", + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", + "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", @@ -381,45 +350,51 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/@angular-devkit/core/node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, "node_modules/@angular-devkit/core/node_modules/json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", "dev": true }, + "node_modules/@angular-devkit/core/node_modules/jsonc-parser": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.1.0.tgz", + "integrity": "sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg==", + "dev": true + }, "node_modules/@angular-devkit/core/node_modules/source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", "dev": true, "engines": { "node": ">= 8" } }, "node_modules/@angular-devkit/schematics": { - "version": "13.1.2", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-13.1.2.tgz", - "integrity": "sha512-ayYbHGU8QpMGx8ZyhKOBupz+Zfv/2H1pNQErahYV3qg7hA9hfjTGmNmDQ4iw0fiT04NajjUxuomlKsCsg7oXDw==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-14.2.12.tgz", + "integrity": "sha512-MN5yGR+SSSPPBBVMf4cifDJn9u0IYvxiHst+HWokH2AkBYy+vB1x8jYES2l1wkiISD7nvjTixfqX+Y95oMBoLg==", "dev": true, "dependencies": { - "@angular-devkit/core": "13.1.2", - "jsonc-parser": "3.0.0", - "magic-string": "0.25.7", + "@angular-devkit/core": "14.2.12", + "jsonc-parser": "3.1.0", + "magic-string": "0.26.2", "ora": "5.4.1", "rxjs": "6.6.7" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0", + "node": "^14.15.0 || >=16.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, + "node_modules/@angular-devkit/schematics/node_modules/jsonc-parser": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.1.0.tgz", + "integrity": "sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg==", + "dev": true + }, "node_modules/@angular-eslint/builder": { "version": "13.0.0-alpha.1", "resolved": "https://registry.npmjs.org/@angular-eslint/builder/-/builder-13.0.0-alpha.1.tgz", @@ -542,28 +517,23 @@ } }, "node_modules/@angular/animations": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-13.1.1.tgz", - "integrity": "sha512-6ECC9Dn5gmV4U1cz1pRJ2p5lo0BET2CjG1RbhTaZR8lOsoMsmlV/JdBAp8eyYTiGii3MLS6Q2P/hN/YG2SRGQQ==", + "version": "14.3.0", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-14.3.0.tgz", + "integrity": "sha512-QoBcIKy1ZiU+4qJsAh5Ls20BupWiXiZzKb0s6L9/dntPt5Msr4Ao289XR2P6O1L+kTsCprH9Kt41zyGQ/bkRqg==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0" + "node": "^14.15.0 || >=16.10.0" }, "peerDependencies": { - "@angular/core": "13.1.1" + "@angular/core": "14.3.0" } }, - "node_modules/@angular/animations/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - }, "node_modules/@angular/cdk": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-13.1.1.tgz", - "integrity": "sha512-66PyWg+zKdxTe3b1pc1RduT8hsMs/hJ0aD0JX0pSEWVq7O0OJWJ5f0z+Mk03T9tAERA3NK1GifcKEDq5k7R2Zw==", + "version": "14.2.7", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-14.2.7.tgz", + "integrity": "sha512-/tEsYaUbDSnfEmKVvAMramIptmhI67O+9STjOV0i+74XR2NospeK0fkbywIANu1n3w6AHGMotvRWJrjmbCElFg==", "peer": true, "dependencies": { "tslib": "^2.3.0" @@ -572,8 +542,8 @@ "parse5": "^5.0.0" }, "peerDependencies": { - "@angular/common": "^13.0.0 || ^14.0.0-0", - "@angular/core": "^13.0.0 || ^14.0.0-0", + "@angular/common": "^14.0.0 || ^15.0.0", + "@angular/core": "^14.0.0 || ^15.0.0", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -584,152 +554,154 @@ "optional": true, "peer": true }, - "node_modules/@angular/cdk/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", - "peer": true - }, "node_modules/@angular/cli": { - "version": "13.1.2", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-13.1.2.tgz", - "integrity": "sha512-jEsQWzHgODFpppWGb49jfqlN8YYhphsKY3MPHlrjmd05qWgKItUGSgA46hSoDqjaJKVUN9koUnJBFCc9utERYA==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-14.2.12.tgz", + "integrity": "sha512-G/785b6jIIX7J+zS8RHaCT1OYzqANw5hJlnLf8tLgmaadLMVNQvIrvHTYtmD86pbqCYyVDLoMxefxRIwMHJuqw==", "dev": true, - "hasInstallScript": true, "dependencies": { - "@angular-devkit/architect": "0.1301.2", - "@angular-devkit/core": "13.1.2", - "@angular-devkit/schematics": "13.1.2", - "@schematics/angular": "13.1.2", + "@angular-devkit/architect": "0.1402.12", + "@angular-devkit/core": "14.2.12", + "@angular-devkit/schematics": "14.2.12", + "@schematics/angular": "14.2.12", "@yarnpkg/lockfile": "1.1.0", - "ansi-colors": "4.1.1", - "debug": "4.3.3", - "ini": "2.0.0", - "inquirer": "8.2.0", - "jsonc-parser": "3.0.0", - "npm-package-arg": "8.1.5", - "npm-pick-manifest": "6.1.1", + "ansi-colors": "4.1.3", + "debug": "4.3.4", + "ini": "3.0.0", + "inquirer": "8.2.4", + "jsonc-parser": "3.1.0", + "npm-package-arg": "9.1.0", + "npm-pick-manifest": "7.0.1", "open": "8.4.0", "ora": "5.4.1", - "pacote": "12.0.2", - "resolve": "1.20.0", - "semver": "7.3.5", + "pacote": "13.6.2", + "resolve": "1.22.1", + "semver": "7.5.3", "symbol-observable": "4.0.0", - "uuid": "8.3.2" + "uuid": "8.3.2", + "yargs": "17.5.1" }, "bin": { "ng": "bin/ng.js" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0", + "node": "^14.15.0 || >=16.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, - "node_modules/@angular/cli/node_modules/debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "node_modules/@angular/cli/node_modules/ini": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ini/-/ini-3.0.0.tgz", + "integrity": "sha512-TxYQaeNW/N8ymDvwAxPyRbhMBtnEwuvaTYpOQkFx1nSeusgezHniEc/l35Vo4iCq/mMiTJbpD7oYxN98hFlfmw==", + "dev": true, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/@angular/cli/node_modules/jsonc-parser": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.1.0.tgz", + "integrity": "sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg==", + "dev": true + }, + "node_modules/@angular/cli/node_modules/semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", "dev": true, "dependencies": { - "ms": "2.1.2" + "lru-cache": "^6.0.0" }, - "engines": { - "node": ">=6.0" + "bin": { + "semver": "bin/semver.js" }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } + "engines": { + "node": ">=10" } }, - "node_modules/@angular/cli/node_modules/ini": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz", - "integrity": "sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==", + "node_modules/@angular/cli/node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", "dev": true, "engines": { "node": ">=10" } }, - "node_modules/@angular/cli/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/@angular/cli/node_modules/resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", + "node_modules/@angular/cli/node_modules/yargs": { + "version": "17.5.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz", + "integrity": "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==", "dev": true, "dependencies": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.0.0" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">=12" } }, - "node_modules/@angular/cli/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "node_modules/@angular/cli/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, "engines": { - "node": ">=10" + "node": ">=12" } }, "node_modules/@angular/common": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-13.1.1.tgz", - "integrity": "sha512-FQwRZ1XgTH2PbPjBmq2jAZzETVNX9yWQt21MuNGtokC7V4eS0NYlFIDbhy3UPWCzRgd3+P7P4+HdX15VxCjf9g==", + "version": "14.3.0", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-14.3.0.tgz", + "integrity": "sha512-pV9oyG3JhGWeQ+TFB0Qub6a1VZWMNZ6/7zEopvYivdqa5yDLLDSBRWb6P80RuONXyGnM1pa7l5nYopX+r/23GQ==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0" + "node": "^14.15.0 || >=16.10.0" }, "peerDependencies": { - "@angular/core": "13.1.1", + "@angular/core": "14.3.0", "rxjs": "^6.5.3 || ^7.4.0" } }, - "node_modules/@angular/common/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - }, "node_modules/@angular/compiler": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-13.1.1.tgz", - "integrity": "sha512-WS+BB4h2LOBAGQ+P+RcKDw43Z7yAB5m1RY2/MAI+qI339V97WlWEQXxSMvBhCuzJnww1SSZfHMADaB54Jdjx2g==", + "version": "14.3.0", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-14.3.0.tgz", + "integrity": "sha512-E15Rh0t3vA+bctbKnBCaDmLvc3ix+ZBt6yFZmhZalReQ+KpOlvOJv+L9oiFEgg+rYVl2QdvN7US1fvT0PqswLw==", "peer": true, "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0" + "node": "^14.15.0 || >=16.10.0" + }, + "peerDependencies": { + "@angular/core": "14.3.0" + }, + "peerDependenciesMeta": { + "@angular/core": { + "optional": true + } } }, "node_modules/@angular/compiler-cli": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-13.1.1.tgz", - "integrity": "sha512-ycdXN2urBZepbXn2xx1oxF1i6g0Dq/Rb8ySQeELdL9qr6hiZF9fkvIwd91d8uhFG2PvoM4O8/U/3x4yA2bXzew==", + "version": "14.3.0", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-14.3.0.tgz", + "integrity": "sha512-eoKpKdQ2X6axMgzcPUMZVYl3bIlTMzMeTo5V29No4BzgiUB+QoOTYGNJZkGRyqTNpwD9uSBJvmT2vG9+eC4ghQ==", "dev": true, "dependencies": { - "@babel/core": "^7.8.6", - "canonical-path": "1.0.0", + "@babel/core": "^7.17.2", "chokidar": "^3.0.0", "convert-source-map": "^1.5.1", "dependency-graph": "^0.11.0", - "magic-string": "^0.25.0", + "magic-string": "^0.26.0", "reflect-metadata": "^0.1.2", "semver": "^7.0.0", "sourcemap-codec": "^1.4.8", @@ -742,35 +714,31 @@ "ngcc": "bundles/ngcc/main-ngcc.js" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0" + "node": "^14.15.0 || >=16.10.0" }, "peerDependencies": { - "@angular/compiler": "13.1.1", - "typescript": ">=4.4.2 <4.6" - } - }, - "node_modules/@angular/compiler-cli/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" + "@angular/compiler": "14.3.0", + "typescript": ">=4.6.2 <4.9" } }, - "node_modules/@angular/compiler-cli/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "node_modules/@angular/compiler-cli/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, "engines": { - "node": ">=8" + "node": ">=12" } }, "node_modules/@angular/compiler-cli/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -782,38 +750,6 @@ "node": ">=10" } }, - "node_modules/@angular/compiler-cli/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@angular/compiler-cli/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@angular/compiler-cli/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", - "dev": true - }, "node_modules/@angular/compiler-cli/node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -824,124 +760,104 @@ } }, "node_modules/@angular/compiler-cli/node_modules/yargs": { - "version": "17.3.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.3.1.tgz", - "integrity": "sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA==", + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", "dev": true, "dependencies": { - "cliui": "^7.0.2", + "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", - "yargs-parser": "^21.0.0" + "yargs-parser": "^21.1.1" }, "engines": { "node": ">=12" } }, "node_modules/@angular/compiler-cli/node_modules/yargs-parser": { - "version": "21.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.0.tgz", - "integrity": "sha512-z9kApYUOCwoeZ78rfRYYWdiU/iNL6mwwYlkkZfJoyMR1xps+NEBX5X7XmRpxkZHhXJ6+Ey00IwKxBBSW9FIjyA==", + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", "dev": true, "engines": { "node": ">=12" } }, - "node_modules/@angular/compiler/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", - "peer": true - }, "node_modules/@angular/core": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-13.1.1.tgz", - "integrity": "sha512-oLGKgzUbHqte/q7EokOJWUiXAtBjwuZM6c9Or2a7WDJNeImQilxk5qy91RPSbP8FhOBysebqAayrfiCYexlShg==", + "version": "14.3.0", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-14.3.0.tgz", + "integrity": "sha512-wYiwItc0Uyn4FWZ/OAx/Ubp2/WrD3EgUJ476y1XI7yATGPF8n9Ld5iCXT08HOvc4eBcYlDfh90kTXR6/MfhzdQ==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0" + "node": "^14.15.0 || >=16.10.0" }, "peerDependencies": { "rxjs": "^6.5.3 || ^7.4.0", - "zone.js": "~0.11.4" + "zone.js": "~0.11.4 || ~0.12.0" } }, - "node_modules/@angular/core/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - }, "node_modules/@angular/forms": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-13.1.1.tgz", - "integrity": "sha512-wtYzRHPv4mf1Vsi4GEal5qcI2wjqUW+lu8Fsd2Aoe8NqkwtY3fq+iWEP/4pnvmH0RlC+3QbNNV/01D5UKolvgg==", + "version": "14.3.0", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-14.3.0.tgz", + "integrity": "sha512-fBZZC2UFMom2AZPjGQzROPXFWO6kvCsPDKctjJwClVC8PuMrkm+RRyiYRdBbt2qxWHEqOZM2OCQo73xUyZOYHw==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0" + "node": "^14.15.0 || >=16.10.0" }, "peerDependencies": { - "@angular/common": "13.1.1", - "@angular/core": "13.1.1", - "@angular/platform-browser": "13.1.1", + "@angular/common": "14.3.0", + "@angular/core": "14.3.0", + "@angular/platform-browser": "14.3.0", "rxjs": "^6.5.3 || ^7.4.0" } }, - "node_modules/@angular/forms/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - }, "node_modules/@angular/language-service": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-13.1.1.tgz", - "integrity": "sha512-ilMwR7tv/nANTj5nkEY2/F2VtERi2BFJJEBlfzWrD9yt73pPhPg84o4GPeax07jydBwN0tYOK8jlioCm3MckQg==", + "version": "14.3.0", + "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-14.3.0.tgz", + "integrity": "sha512-Sij3OQzj1UGs1O8H9PxVAY/o27+oqZwQRnib66rsWvtbIBTjHp4FV3dTs5iVcr62GGv4V4Mff/2I82NP10GPQg==", "dev": true, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0" + "node": "^14.15.0 || >=16.10.0" } }, "node_modules/@angular/material": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@angular/material/-/material-13.1.1.tgz", - "integrity": "sha512-kKWZBhnzuBYAVO1nrkqEaVTCJ2onEWs+tzAJDIlmbo9USiQyVCnFXx+rs86m4kRUxeAAZ9mcW5BGJr6oy5ClCA==", + "version": "14.2.7", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-14.2.7.tgz", + "integrity": "sha512-WXHh8pEStpgkXZJmYOg2cI8BSHkV82ET4XTJCNPdveumaCn1UYnaNzsXD13kw5z+zmy8CufhFEzdXTrv/yt7KQ==", "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { - "@angular/animations": "^13.0.0 || ^14.0.0-0", - "@angular/cdk": "13.1.1", - "@angular/common": "^13.0.0 || ^14.0.0-0", - "@angular/core": "^13.0.0 || ^14.0.0-0", - "@angular/forms": "^13.0.0 || ^14.0.0-0", + "@angular/animations": "^14.0.0 || ^15.0.0", + "@angular/cdk": "14.2.7", + "@angular/common": "^14.0.0 || ^15.0.0", + "@angular/core": "^14.0.0 || ^15.0.0", + "@angular/forms": "^14.0.0 || ^15.0.0", + "@angular/platform-browser": "^14.0.0 || ^15.0.0", "rxjs": "^6.5.3 || ^7.4.0" } }, - "node_modules/@angular/material/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - }, "node_modules/@angular/platform-browser": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-13.1.1.tgz", - "integrity": "sha512-jk9MGwnaVc98wmw5dRBicduI/a8dHtUzaAi1dV003fUWldS9a5FBuj/ym7DJubaD5Njl8l79SFbjrP9aAsqM5A==", + "version": "14.3.0", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-14.3.0.tgz", + "integrity": "sha512-w9Y3740UmTz44T0Egvc+4QV9sEbO61L+aRHbpkLTJdlEGzHByZvxJmJyBYmdqeyTPwc/Zpy7c02frlpfAlyB7A==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0" + "node": "^14.15.0 || >=16.10.0" }, "peerDependencies": { - "@angular/animations": "13.1.1", - "@angular/common": "13.1.1", - "@angular/core": "13.1.1" + "@angular/animations": "14.3.0", + "@angular/common": "14.3.0", + "@angular/core": "14.3.0" }, "peerDependenciesMeta": { "@angular/animations": { @@ -950,54 +866,39 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-13.1.1.tgz", - "integrity": "sha512-ujHJMhJk93hjLx/SQ67y7xiGh2UDL+toVi3OlorWvnYGgPR26ufyL+J73BA+RAKHSP2WPiXU+/87vSz8r+BEgA==", + "version": "14.3.0", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-14.3.0.tgz", + "integrity": "sha512-rneZiMrIiYRhrkQvdL40E2ErKRn4Zdo6EtjBM9pAmWeyoM8oMnOZb9gz5vhrkNWg06kVMVg0yKqluP5How7j3A==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0" + "node": "^14.15.0 || >=16.10.0" }, "peerDependencies": { - "@angular/common": "13.1.1", - "@angular/compiler": "13.1.1", - "@angular/core": "13.1.1", - "@angular/platform-browser": "13.1.1" + "@angular/common": "14.3.0", + "@angular/compiler": "14.3.0", + "@angular/core": "14.3.0", + "@angular/platform-browser": "14.3.0" } }, - "node_modules/@angular/platform-browser-dynamic/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - }, - "node_modules/@angular/platform-browser/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - }, "node_modules/@angular/router": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-13.1.1.tgz", - "integrity": "sha512-rlz5BBgNX+G2vVu2Gb5avx3LL08i7R/xZO7zPwh0HhXz/Vp8XFlWwaqAGb6Hgat772K2uCxF1/JBLQCUBY2MNQ==", + "version": "14.3.0", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-14.3.0.tgz", + "integrity": "sha512-uip0V7w7k7xyxxpTPbr7EuMnYLj3FzJrwkLVJSEw3TMMGHt5VU5t4BBa9veGZOta2C205XFrTAHnp8mD+XYY1w==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0" + "node": "^14.15.0 || >=16.10.0" }, "peerDependencies": { - "@angular/common": "13.1.1", - "@angular/core": "13.1.1", - "@angular/platform-browser": "13.1.1", + "@angular/common": "14.3.0", + "@angular/core": "14.3.0", + "@angular/platform-browser": "14.3.0", "rxjs": "^6.5.3 || ^7.4.0" } }, - "node_modules/@angular/router/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==" - }, "node_modules/@assemblyscript/loader": { "version": "0.10.1", "resolved": "https://registry.npmjs.org/@assemblyscript/loader/-/loader-0.10.1.tgz", @@ -1005,47 +906,47 @@ "dev": true }, "node_modules/@babel/code-frame": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", - "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.5.tgz", + "integrity": "sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==", "dev": true, "dependencies": { - "@babel/highlight": "^7.16.0" + "@babel/highlight": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/compat-data": { - "version": "7.16.4", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.4.tgz", - "integrity": "sha512-1o/jo7D+kC9ZjHX5v+EHrdjl3PhxMrLSOTGsOdHJ+KL8HCaEK6ehrVL2RS6oHDZp+L7xLirLrPmQtEng769J/Q==", + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.22.9.tgz", + "integrity": "sha512-5UamI7xkUcJ3i9qVDS+KFDEK8/7oJ55/sJMB1Ge7IEapr7KfdfV/HErR+koZwOfd+SgtFKOKRhRakdg++DcJpQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.0.tgz", - "integrity": "sha512-mYZEvshBRHGsIAiyH5PzCFTCfbWfoYbO/jcSdXQSUQu1/pW0xDZAUP7KEc32heqWTAfAHhV9j1vH8Sav7l+JNQ==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.16.0", - "@babel/generator": "^7.16.0", - "@babel/helper-compilation-targets": "^7.16.0", - "@babel/helper-module-transforms": "^7.16.0", - "@babel/helpers": "^7.16.0", - "@babel/parser": "^7.16.0", - "@babel/template": "^7.16.0", - "@babel/traverse": "^7.16.0", - "@babel/types": "^7.16.0", + "version": "7.18.10", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.10.tgz", + "integrity": "sha512-JQM6k6ENcBFKVtWvLavlvi/mPcpYZ3+R+2EySDEMSMbp7Mn4FexlbbJVrx2R7Ijhr01T8gyqrOaABWIOgxeUyw==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.10", + "@babel/helper-compilation-targets": "^7.18.9", + "@babel/helper-module-transforms": "^7.18.9", + "@babel/helpers": "^7.18.9", + "@babel/parser": "^7.18.10", + "@babel/template": "^7.18.10", + "@babel/traverse": "^7.18.10", + "@babel/types": "^7.18.10", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", - "json5": "^2.1.2", - "semver": "^6.3.0", - "source-map": "^0.5.0" + "json5": "^2.2.1", + "semver": "^6.3.0" }, "engines": { "node": ">=6.9.0" @@ -1064,73 +965,69 @@ "semver": "bin/semver.js" } }, - "node_modules/@babel/core/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/@babel/generator": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.0.tgz", - "integrity": "sha512-RR8hUCfRQn9j9RPKEVXo9LiwoxLPYn6hNZlvUOR8tSnaxlD0p0+la00ZP9/SnRt6HchKr+X0fO2r8vrETiJGew==", + "version": "7.18.12", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.12.tgz", + "integrity": "sha512-dfQ8ebCN98SvyL7IxNMCUtZQSq5R7kxgN+r8qYTGDmmSion1hX2C0zq2yo1bsCDhXixokv1SAWTZUMYbO/V5zg==", "dev": true, "dependencies": { - "@babel/types": "^7.16.0", - "jsesc": "^2.5.1", - "source-map": "^0.5.0" + "@babel/types": "^7.18.10", + "@jridgewell/gen-mapping": "^0.3.2", + "jsesc": "^2.5.1" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/generator/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, "engines": { - "node": ">=0.10.0" + "node": ">=6.0.0" } }, "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.0.tgz", - "integrity": "sha512-ItmYF9vR4zA8cByDocY05o0LGUkp1zhbTQOH1NFyl5xXEqlTJQCEJjieriw+aFpxo16swMxUnUiKS7a/r4vtHg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz", + "integrity": "sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==", "dev": true, "dependencies": { - "@babel/types": "^7.16.0" + "@babel/types": "^7.18.6" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.5.tgz", - "integrity": "sha512-3JEA9G5dmmnIWdzaT9d0NmFRgYnWUThLsDaL7982H0XqqWr56lRrsmwheXFMjR+TMl7QMBb6mzy9kvgr1lRLUA==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.22.5.tgz", + "integrity": "sha512-m1EP3lVOPptR+2DwD125gziZNcmoNSHGmJROKoy87loWUQyJaVXDgpmruWqDARZSmtYQ+Dl25okU8+qhVzuykw==", "dev": true, "dependencies": { - "@babel/helper-explode-assignable-expression": "^7.16.0", - "@babel/types": "^7.16.0" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.16.3", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.3.tgz", - "integrity": "sha512-vKsoSQAyBmxS35JUOOt+07cLc6Nk/2ljLIHwmq2/NM6hdioUaqEXq/S+nXvbvXbZkNDlWOymPanJGOc4CBjSJA==", + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.9.tgz", + "integrity": "sha512-7qYrNM6HjpnPHJbopxmb8hSPoZ0gsX8IvUS32JGVoy+pU9e5N0nLr1VjJoR6kA4d9dmGLxNYOjeB8sUDal2WMw==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.16.0", - "@babel/helper-validator-option": "^7.14.5", - "browserslist": "^4.17.5", - "semver": "^6.3.0" + "@babel/compat-data": "^7.22.9", + "@babel/helper-validator-option": "^7.22.5", + "browserslist": "^4.21.9", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" }, "engines": { "node": ">=6.9.0" @@ -1139,28 +1036,45 @@ "@babel/core": "^7.0.0" } }, + "node_modules/@babel/helper-compilation-targets/node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "dependencies": { + "yallist": "^3.0.2" + } + }, "node_modules/@babel/helper-compilation-targets/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" } }, + "node_modules/@babel/helper-compilation-targets/node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.16.5.tgz", - "integrity": "sha512-NEohnYA7mkB8L5JhU7BLwcBdU3j83IziR9aseMueWGeAjblbul3zzb8UvJ3a1zuBiqCMObzCJHFqKIQE6hTVmg==", + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.22.9.tgz", + "integrity": "sha512-Pwyi89uO4YrGKxL/eNJ8lfEH55DnRloGPOseaA8NFNL6jAUnn+KccaISiFazCj5IolPPDjGSdzQzXVzODVRqUQ==", "dev": true, "dependencies": { - "@babel/helper-annotate-as-pure": "^7.16.0", - "@babel/helper-environment-visitor": "^7.16.5", - "@babel/helper-function-name": "^7.16.0", - "@babel/helper-member-expression-to-functions": "^7.16.5", - "@babel/helper-optimise-call-expression": "^7.16.0", - "@babel/helper-replace-supers": "^7.16.5", - "@babel/helper-split-export-declaration": "^7.16.0" + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "semver": "^6.3.1" }, "engines": { "node": ">=6.9.0" @@ -1169,14 +1083,36 @@ "@babel/core": "^7.0.0" } }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/helper-annotate-as-pure": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz", + "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-create-class-features-plugin/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.16.0.tgz", - "integrity": "sha512-3DyG0zAFAZKcOp7aVr33ddwkxJ0Z0Jr5V99y3I690eYLpukJsJvAbzTy1ewoCqsML8SbIrjH14Jc/nSQ4TvNPA==", + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.22.9.tgz", + "integrity": "sha512-+svjVa/tFwsNSG4NEy1h85+HQ5imbT92Q5/bgtS7P0GTQlP8WuFdqsiABmQouhiFGyV66oGxZFpeYHza1rNsKw==", "dev": true, "dependencies": { - "@babel/helper-annotate-as-pure": "^7.16.0", - "regexpu-core": "^4.7.1" + "@babel/helper-annotate-as-pure": "^7.22.5", + "regexpu-core": "^5.3.1", + "semver": "^6.3.1" }, "engines": { "node": ">=6.9.0" @@ -1185,293 +1121,337 @@ "@babel/core": "^7.0.0" } }, - "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.0.tgz", - "integrity": "sha512-7hfT8lUljl/tM3h+izTX/pO3W3frz2ok6Pk+gzys8iJqDfZrZy2pXjRTZAvG2YmfHun1X4q8/UZRLatMfqc5Tg==", + "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/@babel/helper-annotate-as-pure": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz", + "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==", "dev": true, "dependencies": { - "@babel/helper-compilation-targets": "^7.13.0", - "@babel/helper-module-imports": "^7.12.13", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/traverse": "^7.13.0", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2", - "semver": "^6.1.2" + "@babel/types": "^7.22.5" }, - "peerDependencies": { - "@babel/core": "^7.4.0-0" + "engines": { + "node": ">=6.9.0" } }, - "node_modules/@babel/helper-define-polyfill-provider/node_modules/resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", + "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, - "dependencies": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-define-polyfill-provider": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz", + "integrity": "sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww==", + "dev": true, + "dependencies": { + "@babel/helper-compilation-targets": "^7.17.7", + "@babel/helper-plugin-utils": "^7.16.7", + "debug": "^4.1.1", + "lodash.debounce": "^4.0.8", + "resolve": "^1.14.2", + "semver": "^6.1.2" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "peerDependencies": { + "@babel/core": "^7.4.0-0" } }, "node_modules/@babel/helper-define-polyfill-provider/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" } }, "node_modules/@babel/helper-environment-visitor": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.5.tgz", - "integrity": "sha512-ODQyc5AnxmZWm/R2W7fzhamOk1ey8gSguo5SGvF0zcB3uUzRpTRmM/jmLSm9bDMyPlvbyJ+PwPEK0BWIoZ9wjg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.16.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-explode-assignable-expression": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.0.tgz", - "integrity": "sha512-Hk2SLxC9ZbcOhLpg/yMznzJ11W++lg5GMbxt1ev6TXUiJB0N42KPC+7w8a+eWGuqDnUYuwStJoZHM7RgmIOaGQ==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz", + "integrity": "sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==", "dev": true, - "dependencies": { - "@babel/types": "^7.16.0" - }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-function-name": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz", - "integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz", + "integrity": "sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==", "dev": true, "dependencies": { - "@babel/helper-get-function-arity": "^7.16.0", - "@babel/template": "^7.16.0", - "@babel/types": "^7.16.0" + "@babel/template": "^7.22.5", + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-get-function-arity": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz", - "integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==", + "node_modules/@babel/helper-function-name/node_modules/@babel/template": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", + "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", "dev": true, "dependencies": { - "@babel/types": "^7.16.0" + "@babel/code-frame": "^7.22.5", + "@babel/parser": "^7.22.5", + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-hoist-variables": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.0.tgz", - "integrity": "sha512-1AZlpazjUR0EQZQv3sgRNfM9mEVWPK3M6vlalczA+EECcPz3XPh6VplbErL5UoMpChhSck5wAJHthlj1bYpcmg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", + "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", "dev": true, "dependencies": { - "@babel/types": "^7.16.0" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.16.5.tgz", - "integrity": "sha512-7fecSXq7ZrLE+TWshbGT+HyCLkxloWNhTbU2QM1NTI/tDqyf0oZiMcEfYtDuUDCo528EOlt39G1rftea4bRZIw==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.22.5.tgz", + "integrity": "sha512-aBiH1NKMG0H2cGZqspNvsaBe6wNGjbJjuLy29aU+eDZjSbbN53BaxlpB02xm9v34pLTZ1nIQPFYn2qMZoa5BQQ==", "dev": true, "dependencies": { - "@babel/types": "^7.16.0" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.0.tgz", - "integrity": "sha512-kkH7sWzKPq0xt3H1n+ghb4xEMP8k0U7XV3kkB+ZGy69kDk2ySFW1qPi06sjKzFY3t1j6XbJSqr4mF9L7CYVyhg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz", + "integrity": "sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg==", "dev": true, "dependencies": { - "@babel/types": "^7.16.0" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.16.5.tgz", - "integrity": "sha512-CkvMxgV4ZyyioElFwcuWnDCcNIeyqTkCm9BxXZi73RR1ozqlpboqsbGUNvRTflgZtFbbJ1v5Emvm+lkjMYY/LQ==", + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.22.9.tgz", + "integrity": "sha512-t+WA2Xn5K+rTeGtC8jCsdAH52bjggG5TKRuRrAGNM/mjIbO4GxvlLMFOEz9wXY5I2XQ60PMFsAG2WIcG82dQMQ==", "dev": true, "dependencies": { - "@babel/helper-environment-visitor": "^7.16.5", - "@babel/helper-module-imports": "^7.16.0", - "@babel/helper-simple-access": "^7.16.0", - "@babel/helper-split-export-declaration": "^7.16.0", - "@babel/helper-validator-identifier": "^7.15.7", - "@babel/template": "^7.16.0", - "@babel/traverse": "^7.16.5", - "@babel/types": "^7.16.0" + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.5" }, "engines": { "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" } }, "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.0.tgz", - "integrity": "sha512-SuI467Gi2V8fkofm2JPnZzB/SUuXoJA5zXe/xzyPP2M04686RzFKFHPK6HDVN6JvWBIEW8tt9hPR7fXdn2Lgpw==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz", + "integrity": "sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==", "dev": true, "dependencies": { - "@babel/types": "^7.16.0" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.5.tgz", - "integrity": "sha512-59KHWHXxVA9K4HNF4sbHCf+eJeFe0Te/ZFGqBT4OjXhrwvA04sGfaEGsVTdsjoszq0YTP49RC9UKe5g8uN2RwQ==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", + "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.5.tgz", - "integrity": "sha512-X+aAJldyxrOmN9v3FKp+Hu1NO69VWgYgDGq6YDykwRPzxs5f2N+X988CBXS7EQahDU+Vpet5QYMqLk+nsp+Qxw==", + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.22.9.tgz", + "integrity": "sha512-8WWC4oR4Px+tr+Fp0X3RHDVfINGpF3ad1HIbrc8A77epiR6eMMc6jsgozkzT2uDiOOdoS9cLIQ+XD2XvI2WSmQ==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-wrap-function": "^7.22.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-remap-async-to-generator/node_modules/@babel/helper-annotate-as-pure": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz", + "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==", "dev": true, "dependencies": { - "@babel/helper-annotate-as-pure": "^7.16.0", - "@babel/helper-wrap-function": "^7.16.5", - "@babel/types": "^7.16.0" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-replace-supers": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.5.tgz", - "integrity": "sha512-ao3seGVa/FZCMCCNDuBcqnBFSbdr8N2EW35mzojx3TwfIbdPmNK+JV6+2d5bR0Z71W5ocLnQp9en/cTF7pBJiQ==", + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.22.9.tgz", + "integrity": "sha512-LJIKvvpgPOPUThdYqcX6IXRuIcTkcAub0IaDRGCZH0p5GPUp7PhRU9QVgFcDDd51BaPkk77ZjqFwh6DZTAEmGg==", "dev": true, "dependencies": { - "@babel/helper-environment-visitor": "^7.16.5", - "@babel/helper-member-expression-to-functions": "^7.16.5", - "@babel/helper-optimise-call-expression": "^7.16.0", - "@babel/traverse": "^7.16.5", - "@babel/types": "^7.16.0" + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-member-expression-to-functions": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5" }, "engines": { "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" } }, "node_modules/@babel/helper-simple-access": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.0.tgz", - "integrity": "sha512-o1rjBT/gppAqKsYfUdfHq5Rk03lMQrkPHG1OWzHWpLgVXRH4HnMM9Et9CVdIqwkCQlobnGHEJMsgWP/jE1zUiw==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", + "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", "dev": true, "dependencies": { - "@babel/types": "^7.16.0" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", - "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz", + "integrity": "sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==", "dev": true, "dependencies": { - "@babel/types": "^7.16.0" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-split-export-declaration": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz", - "integrity": "sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==", + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", + "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", "dev": true, "dependencies": { - "@babel/types": "^7.16.0" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, + "node_modules/@babel/helper-string-parser": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", + "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.15.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", - "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz", + "integrity": "sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz", - "integrity": "sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.5.tgz", + "integrity": "sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-wrap-function": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.5.tgz", - "integrity": "sha512-2J2pmLBqUqVdJw78U0KPNdeE2qeuIyKoG4mKV7wAq3mc4jJG282UgjZw4ZYDnqiWQuS3Y3IYdF/AQ6CpyBV3VA==", + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.22.9.tgz", + "integrity": "sha512-sZ+QzfauuUEfxSEjKFmi3qDSHgLsTPK/pEpoD/qonZKOtTPTLbf59oabPQ4rKekt9lFcj/hTZaOhWwFYrgjk+Q==", + "dev": true, + "dependencies": { + "@babel/helper-function-name": "^7.22.5", + "@babel/template": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-wrap-function/node_modules/@babel/template": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", + "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", "dev": true, "dependencies": { - "@babel/helper-function-name": "^7.16.0", - "@babel/template": "^7.16.0", - "@babel/traverse": "^7.16.5", - "@babel/types": "^7.16.0" + "@babel/code-frame": "^7.22.5", + "@babel/parser": "^7.22.5", + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.5.tgz", - "integrity": "sha512-TLgi6Lh71vvMZGEkFuIxzaPsyeYCHQ5jJOOX1f0xXn0uciFuE8cEk0wyBquMcCxBXZ5BJhE2aUB7pnWTD150Tw==", + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.22.6.tgz", + "integrity": "sha512-YjDs6y/fVOYFV8hAf1rxd1QvR9wJe1pDBZ2AREKq/SDayfPzgk0PBnVuTCE5X1acEpMMNOVUqoe+OwiZGJ+OaA==", "dev": true, "dependencies": { - "@babel/template": "^7.16.0", - "@babel/traverse": "^7.16.5", - "@babel/types": "^7.16.0" + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.6", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers/node_modules/@babel/template": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", + "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.22.5", + "@babel/parser": "^7.22.5", + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz", - "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz", + "integrity": "sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.15.7", + "@babel/helper-validator-identifier": "^7.22.5", "chalk": "^2.0.0", "js-tokens": "^4.0.0" }, @@ -1480,9 +1460,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.16.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.6.tgz", - "integrity": "sha512-Gr86ujcNuPDnNOY8mi383Hvi8IYrJVJYuf3XcuBM/Dgd+bINn/7tHqsj+tKkoreMbmGsFLsltI/JJd8fOFWGDQ==", + "version": "7.22.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.22.7.tgz", + "integrity": "sha512-7NF8pOkHP5o2vpmGgNGcfAeCvOYhGLyA3Z4eBQkT1RJlWu47n63bCs93QfJ2hIAFCil7L5P2IWhs1oToVgrL0Q==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -1492,12 +1472,12 @@ } }, "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.16.2", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.2.tgz", - "integrity": "sha512-h37CvpLSf8gb2lIJ2CgC3t+EjFbi0t8qS7LCS1xcJIlEXE4czlofwaW7W1HA8zpgOCzI9C1nmoqNR1zWkk0pQg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.22.5.tgz", + "integrity": "sha512-NP1M5Rf+u2Gw9qfSO4ihjcTGW5zXTi36ITLd4/EoAcEhIZ0yjMqmftDNl3QC19CX7olhrjpyU454g/2W7X0jvQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1507,14 +1487,14 @@ } }, "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.16.0.tgz", - "integrity": "sha512-4tcFwwicpWTrpl9qjf7UsoosaArgImF85AxqCRZlgc3IQDvkUHjJpruXAL58Wmj+T6fypWTC/BakfEkwIL/pwA==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.22.5.tgz", + "integrity": "sha512-31Bb65aZaUwqCbWMnZPduIZxCBngHFlzyN6Dq6KAJjtx+lx6ohKHubc61OomYi7XwVD4Ol0XCVz4h+pYFR048g==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", - "@babel/plugin-proposal-optional-chaining": "^7.16.0" + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/plugin-transform-optional-chaining": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1524,13 +1504,14 @@ } }, "node_modules/@babel/plugin-proposal-async-generator-functions": { - "version": "7.16.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.4.tgz", - "integrity": "sha512-/CUekqaAaZCQHleSK/9HajvcD/zdnJiKRiuUFq8ITE+0HsPzquf53cpFiqAwl/UfmJbR6n5uGPQSPdrmKOvHHg==", + "version": "7.18.10", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.18.10.tgz", + "integrity": "sha512-1mFuY2TOsR1hxbjCo4QL+qlIjV07p4H4EUYw2J/WCqsvFV6V9X9z9YhXbWndc/4fw+hYGlDT7egYxliMp5O6Ew==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-remap-async-to-generator": "^7.16.4", + "@babel/helper-environment-visitor": "^7.18.9", + "@babel/helper-plugin-utils": "^7.18.9", + "@babel/helper-remap-async-to-generator": "^7.18.9", "@babel/plugin-syntax-async-generators": "^7.8.4" }, "engines": { @@ -1541,13 +1522,13 @@ } }, "node_modules/@babel/plugin-proposal-class-properties": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.5.tgz", - "integrity": "sha512-pJD3HjgRv83s5dv1sTnDbZOaTjghKEz8KUn1Kbh2eAIRhGuyQ1XSeI4xVXU3UlIEVA3DAyIdxqT1eRn7Wcn55A==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz", + "integrity": "sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==", "dev": true, "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.16.5", - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-create-class-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" }, "engines": { "node": ">=6.9.0" @@ -1557,13 +1538,13 @@ } }, "node_modules/@babel/plugin-proposal-class-static-block": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.16.5.tgz", - "integrity": "sha512-EEFzuLZcm/rNJ8Q5krK+FRKdVkd6FjfzT9tuSZql9sQn64K0hHA2KLJ0DqVot9/iV6+SsuadC5yI39zWnm+nmQ==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.21.0.tgz", + "integrity": "sha512-XP5G9MWNUskFuP30IfFSEFB0Z6HzLIUcjYM4bYOPHXl7eiJ9HFv8tWj6TXTN5QODiEhDZAeI4hLok2iHFFV4hw==", "dev": true, "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.16.5", - "@babel/helper-plugin-utils": "^7.16.5", + "@babel/helper-create-class-features-plugin": "^7.21.0", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-class-static-block": "^7.14.5" }, "engines": { @@ -1574,12 +1555,12 @@ } }, "node_modules/@babel/plugin-proposal-dynamic-import": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.5.tgz", - "integrity": "sha512-P05/SJZTTvHz79LNYTF8ff5xXge0kk5sIIWAypcWgX4BTRUgyHc8wRxJ/Hk+mU0KXldgOOslKaeqnhthcDJCJQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz", + "integrity": "sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-dynamic-import": "^7.8.3" }, "engines": { @@ -1590,12 +1571,12 @@ } }, "node_modules/@babel/plugin-proposal-export-namespace-from": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.16.5.tgz", - "integrity": "sha512-i+sltzEShH1vsVydvNaTRsgvq2vZsfyrd7K7vPLUU/KgS0D5yZMe6uipM0+izminnkKrEfdUnz7CxMRb6oHZWw==", + "version": "7.18.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz", + "integrity": "sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5", + "@babel/helper-plugin-utils": "^7.18.9", "@babel/plugin-syntax-export-namespace-from": "^7.8.3" }, "engines": { @@ -1606,12 +1587,12 @@ } }, "node_modules/@babel/plugin-proposal-json-strings": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.16.5.tgz", - "integrity": "sha512-QQJueTFa0y9E4qHANqIvMsuxM/qcLQmKttBACtPCQzGUEizsXDACGonlPiSwynHfOa3vNw0FPMVvQzbuXwh4SQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz", + "integrity": "sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-json-strings": "^7.8.3" }, "engines": { @@ -1622,12 +1603,12 @@ } }, "node_modules/@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.16.5.tgz", - "integrity": "sha512-xqibl7ISO2vjuQM+MzR3rkd0zfNWltk7n9QhaD8ghMmMceVguYrNDt7MikRyj4J4v3QehpnrU8RYLnC7z/gZLA==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.20.7.tgz", + "integrity": "sha512-y7C7cZgpMIjWlKE5T7eJwp+tnRYM89HmRvWM5EQuB5BoHEONjmQ8lSNmBUwOyy/GFRsohJED51YBF79hE1djug==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" }, "engines": { @@ -1638,12 +1619,12 @@ } }, "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.16.5.tgz", - "integrity": "sha512-YwMsTp/oOviSBhrjwi0vzCUycseCYwoXnLiXIL3YNjHSMBHicGTz7GjVU/IGgz4DtOEXBdCNG72pvCX22ehfqg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz", + "integrity": "sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" }, "engines": { @@ -1654,12 +1635,12 @@ } }, "node_modules/@babel/plugin-proposal-numeric-separator": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.5.tgz", - "integrity": "sha512-DvB9l/TcsCRvsIV9v4jxR/jVP45cslTVC0PMVHvaJhhNuhn2Y1SOhCSFlPK777qLB5wb8rVDaNoqMTyOqtY5Iw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz", + "integrity": "sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-numeric-separator": "^7.10.4" }, "engines": { @@ -1670,16 +1651,16 @@ } }, "node_modules/@babel/plugin-proposal-object-rest-spread": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.16.5.tgz", - "integrity": "sha512-UEd6KpChoyPhCoE840KRHOlGhEZFutdPDMGj+0I56yuTTOaT51GzmnEl/0uT41fB/vD2nT+Pci2KjezyE3HmUw==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz", + "integrity": "sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.16.4", - "@babel/helper-compilation-targets": "^7.16.3", - "@babel/helper-plugin-utils": "^7.16.5", + "@babel/compat-data": "^7.20.5", + "@babel/helper-compilation-targets": "^7.20.7", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.16.5" + "@babel/plugin-transform-parameters": "^7.20.7" }, "engines": { "node": ">=6.9.0" @@ -1689,12 +1670,12 @@ } }, "node_modules/@babel/plugin-proposal-optional-catch-binding": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.5.tgz", - "integrity": "sha512-ihCMxY1Iljmx4bWy/PIMJGXN4NS4oUj1MKynwO07kiKms23pNvIn1DMB92DNB2R0EA882sw0VXIelYGdtF7xEQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz", + "integrity": "sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" }, "engines": { @@ -1705,13 +1686,13 @@ } }, "node_modules/@babel/plugin-proposal-optional-chaining": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.16.5.tgz", - "integrity": "sha512-kzdHgnaXRonttiTfKYnSVafbWngPPr2qKw9BWYBESl91W54e+9R5pP70LtWxV56g0f05f/SQrwHYkfvbwcdQ/A==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz", + "integrity": "sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0", "@babel/plugin-syntax-optional-chaining": "^7.8.3" }, "engines": { @@ -1722,13 +1703,13 @@ } }, "node_modules/@babel/plugin-proposal-private-methods": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.16.5.tgz", - "integrity": "sha512-+yFMO4BGT3sgzXo+lrq7orX5mAZt57DwUK6seqII6AcJnJOIhBJ8pzKH47/ql/d426uQ7YhN8DpUFirQzqYSUA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz", + "integrity": "sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==", "dev": true, "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.16.5", - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-create-class-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" }, "engines": { "node": ">=6.9.0" @@ -1738,14 +1719,14 @@ } }, "node_modules/@babel/plugin-proposal-private-property-in-object": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.16.5.tgz", - "integrity": "sha512-+YGh5Wbw0NH3y/E5YMu6ci5qTDmAEVNoZ3I54aB6nVEOZ5BQ7QJlwKq5pYVucQilMByGn/bvX0af+uNaPRCabA==", + "version": "7.21.11", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.11.tgz", + "integrity": "sha512-0QZ8qP/3RLDVBwBFoWAwCtgcDZJVwA5LUJRZU8x2YFfKNuFq161wK3cuGrALu5yiPu+vzwTAg/sMWVNeWeNyaw==", "dev": true, "dependencies": { - "@babel/helper-annotate-as-pure": "^7.16.0", - "@babel/helper-create-class-features-plugin": "^7.16.5", - "@babel/helper-plugin-utils": "^7.16.5", + "@babel/helper-annotate-as-pure": "^7.18.6", + "@babel/helper-create-class-features-plugin": "^7.21.0", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-private-property-in-object": "^7.14.5" }, "engines": { @@ -1756,13 +1737,13 @@ } }, "node_modules/@babel/plugin-proposal-unicode-property-regex": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.16.5.tgz", - "integrity": "sha512-s5sKtlKQyFSatt781HQwv1hoM5BQ9qRH30r+dK56OLDsHmV74mzwJNX7R1yMuE7VZKG5O6q/gmOGSAO6ikTudg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz", + "integrity": "sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.16.0", - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" }, "engines": { "node": ">=4" @@ -1834,6 +1815,21 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-syntax-import-assertions": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.22.5.tgz", + "integrity": "sha512-rdV97N7KqsRzeNGoWUOK6yUsWarLjE5Su/Snk9IYPU9CwkWHs4t+rTGOvffTR8XGkJMTAdLfO0xVnXm8wugIJg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-syntax-json-strings": { "version": "7.8.3", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", @@ -1949,12 +1945,12 @@ } }, "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.16.5.tgz", - "integrity": "sha512-8bTHiiZyMOyfZFULjsCnYOWG059FVMes0iljEHSfARhNgFfpsqE92OrCffv3veSw9rwMkYcFe9bj0ZoXU2IGtQ==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.22.5.tgz", + "integrity": "sha512-26lTNXoVRdAnsaDXPpvCNUq+OVWEVC6bx7Vvz9rC53F2bagUWW4u4ii2+h8Fejfh7RYqPxn+libeFBBck9muEw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1964,14 +1960,14 @@ } }, "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.16.0.tgz", - "integrity": "sha512-PbIr7G9kR8tdH6g8Wouir5uVjklETk91GMVSUq+VaOgiinbCkBP6Q7NN/suM/QutZkMJMvcyAriogcYAdhg8Gw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz", + "integrity": "sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag==", "dev": true, "dependencies": { - "@babel/helper-module-imports": "^7.16.0", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-remap-async-to-generator": "^7.16.0" + "@babel/helper-module-imports": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/helper-remap-async-to-generator": "^7.18.6" }, "engines": { "node": ">=6.9.0" @@ -1981,12 +1977,12 @@ } }, "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.5.tgz", - "integrity": "sha512-BxmIyKLjUGksJ99+hJyL/HIxLIGnLKtw772zYDER7UuycDZ+Xvzs98ZQw6NGgM2ss4/hlFAaGiZmMNKvValEjw==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.22.5.tgz", + "integrity": "sha512-tdXZ2UdknEKQWKJP1KMNmuF5Lx3MymtMN/pvA+p/VEkhK8jVcQ1fzSy8KM9qRYhAf2/lV33hoMPKI/xaI9sADA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1996,12 +1992,12 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.16.5.tgz", - "integrity": "sha512-JxjSPNZSiOtmxjX7PBRBeRJTUKTyJ607YUYeT0QJCNdsedOe+/rXITjP08eG8xUpsLfPirgzdCFN+h0w6RI+pQ==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.22.5.tgz", + "integrity": "sha512-EcACl1i5fSQ6bt+YGuU/XGCeZKStLmyVGytWkpyhCLeQVA0eu6Wtiw92V+I1T/hnezUv7j74dA/Ro69gWcU+hg==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2011,18 +2007,19 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.16.5.tgz", - "integrity": "sha512-DzJ1vYf/7TaCYy57J3SJ9rV+JEuvmlnvvyvYKFbk5u46oQbBvuB9/0w+YsVsxkOv8zVWKpDmUoj4T5ILHoXevA==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.16.0", - "@babel/helper-environment-visitor": "^7.16.5", - "@babel/helper-function-name": "^7.16.0", - "@babel/helper-optimise-call-expression": "^7.16.0", - "@babel/helper-plugin-utils": "^7.16.5", - "@babel/helper-replace-supers": "^7.16.5", - "@babel/helper-split-export-declaration": "^7.16.0", + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.22.6.tgz", + "integrity": "sha512-58EgM6nuPNG6Py4Z3zSuu0xWu2VfodiMi72Jt5Kj2FECmaYk1RrTXA45z6KBFsu9tRgwQDwIiY4FXTt+YsSFAQ==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-compilation-targets": "^7.22.6", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-optimise-call-expression": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", "globals": "^11.1.0" }, "engines": { @@ -2032,13 +2029,26 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-classes/node_modules/@babel/helper-annotate-as-pure": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz", + "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.16.5.tgz", - "integrity": "sha512-n1+O7xtU5lSLraRzX88CNcpl7vtGdPakKzww74bVwpAIRgz9JVLJJpOLb0uYqcOaXVM0TL6X0RVeIJGD2CnCkg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.22.5.tgz", + "integrity": "sha512-4GHWBgRf0krxPX+AaPtgBAlTgTeZmqDynokHOX7aqqAB4tHs3U2Y02zH6ETFdLZGcg9UQSD1WCmkVrE9ErHeOg==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/template": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2047,13 +2057,27 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-computed-properties/node_modules/@babel/template": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", + "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.22.5", + "@babel/parser": "^7.22.5", + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.16.5.tgz", - "integrity": "sha512-GuRVAsjq+c9YPK6NeTkRLWyQskDC099XkBSVO+6QzbnOnH2d/4mBVXYStaPrZD3dFRfg00I6BFJ9Atsjfs8mlg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.22.5.tgz", + "integrity": "sha512-GfqcFuGW8vnEqTUBM7UtPd5A4q797LTvvwKxXTgRsFjoqaJiEg9deBG6kWeQYkVEL569NpnmpC0Pkr/8BLKGnQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2063,13 +2087,13 @@ } }, "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.5.tgz", - "integrity": "sha512-iQiEMt8Q4/5aRGHpGVK2Zc7a6mx7qEAO7qehgSug3SDImnuMzgmm/wtJALXaz25zUj1PmnNHtShjFgk4PDx4nw==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.22.5.tgz", + "integrity": "sha512-5/Yk9QxCQCl+sOIB1WelKnVRxTJDSAIxtJLL2/pqL14ZVlbH0fUQUZa/T5/UnQtBNgghR7mfB8ERBKyKPCi7Vw==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.16.0", - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2079,12 +2103,12 @@ } }, "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.16.5.tgz", - "integrity": "sha512-81tijpDg2a6I1Yhj4aWY1l3O1J4Cg/Pd7LfvuaH2VVInAkXtzibz9+zSPdUM1WvuUi128ksstAP0hM5w48vQgg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.22.5.tgz", + "integrity": "sha512-dEnYD+9BBgld5VBXHnF/DbYGp3fqGMsyxKbtD1mDyIA7AkTSpKXFhCVuj/oQVOoALfBs77DudA0BE4d5mcpmqw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2094,13 +2118,13 @@ } }, "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.5.tgz", - "integrity": "sha512-12rba2HwemQPa7BLIKCzm1pT2/RuQHtSFHdNl41cFiC6oi4tcrp7gjB07pxQvFpcADojQywSjblQth6gJyE6CA==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.22.5.tgz", + "integrity": "sha512-vIpJFNM/FjZ4rh1myqIya9jXwrwwgFRHPjT3DkUA9ZLHuzox8jiXkOLvwm1H+PQIP3CqfC++WPKeuDi0Sjdj1g==", "dev": true, "dependencies": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.5", - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2110,12 +2134,12 @@ } }, "node_modules/@babel/plugin-transform-for-of": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.16.5.tgz", - "integrity": "sha512-+DpCAJFPAvViR17PIMi9x2AE34dll5wNlXO43wagAX2YcRGgEVHCNFC4azG85b4YyyFarvkc/iD5NPrz4Oneqw==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.22.5.tgz", + "integrity": "sha512-3kxQjX1dU9uudwSshyLeEipvrLjBCVthCgeTp6CzE/9JYrlAIaeekVxRpCWsDDfYTfRZRoCeZatCQvwo+wvK8A==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2125,13 +2149,14 @@ } }, "node_modules/@babel/plugin-transform-function-name": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.5.tgz", - "integrity": "sha512-Fuec/KPSpVLbGo6z1RPw4EE1X+z9gZk1uQmnYy7v4xr4TO9p41v1AoUuXEtyqAI7H+xNJYSICzRqZBhDEkd3kQ==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.22.5.tgz", + "integrity": "sha512-UIzQNMS0p0HHiQm3oelztj+ECwFnj+ZRV4KnguvlsD2of1whUeM6o7wGNj6oLwcDoAXQ8gEqfgC24D+VdIcevg==", "dev": true, "dependencies": { - "@babel/helper-function-name": "^7.16.0", - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-compilation-targets": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2141,12 +2166,12 @@ } }, "node_modules/@babel/plugin-transform-literals": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.16.5.tgz", - "integrity": "sha512-B1j9C/IfvshnPcklsc93AVLTrNVa69iSqztylZH6qnmiAsDDOmmjEYqOm3Ts2lGSgTSywnBNiqC949VdD0/gfw==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.22.5.tgz", + "integrity": "sha512-fTLj4D79M+mepcw3dgFBTIDYpbcB9Sm0bpm4ppXPaO+U+PKFFyV9MGRvS0gvGw62sd10kT5lRMKXAADb9pWy8g==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2156,12 +2181,12 @@ } }, "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.5.tgz", - "integrity": "sha512-d57i3vPHWgIde/9Y8W/xSFUndhvhZN5Wu2TjRrN1MVz5KzdUihKnfDVlfP1U7mS5DNj/WHHhaE4/tTi4hIyHwQ==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.22.5.tgz", + "integrity": "sha512-RZEdkNtzzYCFl9SE9ATaUMTj2hqMb4StarOJLrZRbqqU4HSBE7UlBw9WBWQiDzrJZJdUWiMTVDI6Gv/8DPvfew==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2171,14 +2196,13 @@ } }, "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.16.5.tgz", - "integrity": "sha512-oHI15S/hdJuSCfnwIz+4lm6wu/wBn7oJ8+QrkzPPwSFGXk8kgdI/AIKcbR/XnD1nQVMg/i6eNaXpszbGuwYDRQ==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.22.5.tgz", + "integrity": "sha512-R+PTfLTcYEmb1+kK7FNkhQ1gP4KgjpSO6HfH9+f8/yfp2Nt3ggBjiVpRwmwTlfqZLafYKJACy36yDXlEmI9HjQ==", "dev": true, "dependencies": { - "@babel/helper-module-transforms": "^7.16.5", - "@babel/helper-plugin-utils": "^7.16.5", - "babel-plugin-dynamic-import-node": "^2.3.3" + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2188,15 +2212,14 @@ } }, "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.16.5.tgz", - "integrity": "sha512-ABhUkxvoQyqhCWyb8xXtfwqNMJD7tx+irIRnUh6lmyFud7Jln1WzONXKlax1fg/ey178EXbs4bSGNd6PngO+SQ==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.22.5.tgz", + "integrity": "sha512-B4pzOXj+ONRmuaQTg05b3y/4DuFz3WcCNAXPLb2Q0GT0TrGKGxNKV4jwsXts+StaM0LQczZbOpj8o1DLPDJIiA==", "dev": true, "dependencies": { - "@babel/helper-module-transforms": "^7.16.5", - "@babel/helper-plugin-utils": "^7.16.5", - "@babel/helper-simple-access": "^7.16.0", - "babel-plugin-dynamic-import-node": "^2.3.3" + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-simple-access": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2206,16 +2229,15 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.16.5.tgz", - "integrity": "sha512-53gmLdScNN28XpjEVIm7LbWnD/b/TpbwKbLk6KV4KqC9WyU6rq1jnNmVG6UgAdQZVVGZVoik3DqHNxk4/EvrjA==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.22.5.tgz", + "integrity": "sha512-emtEpoaTMsOs6Tzz+nbmcePl6AKVtS1yC4YNAeMun9U8YCsgadPNxnOPQ8GhHFB2qdx+LZu9LgoC0Lthuu05DQ==", "dev": true, "dependencies": { - "@babel/helper-hoist-variables": "^7.16.0", - "@babel/helper-module-transforms": "^7.16.5", - "@babel/helper-plugin-utils": "^7.16.5", - "@babel/helper-validator-identifier": "^7.15.7", - "babel-plugin-dynamic-import-node": "^2.3.3" + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2225,13 +2247,13 @@ } }, "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.16.5.tgz", - "integrity": "sha512-qTFnpxHMoenNHkS3VoWRdwrcJ3FhX567GvDA3hRZKF0Dj8Fmg0UzySZp3AP2mShl/bzcywb/UWAMQIjA1bhXvw==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.22.5.tgz", + "integrity": "sha512-+S6kzefN/E1vkSsKx8kmQuqeQsvCKCd1fraCM7zXm4SFoggI099Tr4G8U81+5gtMdUeMQ4ipdQffbKLX0/7dBQ==", "dev": true, "dependencies": { - "@babel/helper-module-transforms": "^7.16.5", - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2241,12 +2263,13 @@ } }, "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.16.5.tgz", - "integrity": "sha512-/wqGDgvFUeKELW6ex6QB7dLVRkd5ehjw34tpXu1nhKC0sFfmaLabIswnpf8JgDyV2NeDmZiwoOb0rAmxciNfjA==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.22.5.tgz", + "integrity": "sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.16.0" + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2256,12 +2279,12 @@ } }, "node_modules/@babel/plugin-transform-new-target": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.16.5.tgz", - "integrity": "sha512-ZaIrnXF08ZC8jnKR4/5g7YakGVL6go6V9ql6Jl3ecO8PQaQqFE74CuM384kezju7Z9nGCCA20BqZaR1tJ/WvHg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.22.5.tgz", + "integrity": "sha512-AsF7K0Fx/cNKVyk3a+DW0JLo+Ua598/NxMRvxDnkpCIGFh43+h/v2xyhRUYf6oD8gE4QtL83C7zZVghMjHd+iw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2271,13 +2294,30 @@ } }, "node_modules/@babel/plugin-transform-object-super": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.5.tgz", - "integrity": "sha512-tded+yZEXuxt9Jdtkc1RraW1zMF/GalVxaVVxh41IYwirdRgyAxxxCKZ9XB7LxZqmsjfjALxupNE1MIz9KH+Zg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.22.5.tgz", + "integrity": "sha512-klXqyaT9trSjIUrcsYIfETAzmOEZL3cBYqOYLJxBHfMFFggmXOv+NYSX/Jbs9mzMVESw/WycLFPRx8ba/b2Ipw==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-replace-supers": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-optional-chaining": { + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.22.6.tgz", + "integrity": "sha512-Vd5HiWml0mDVtcLHIoEU5sw6HOUW/Zk0acLs/SAeuLzkGNOPc9DB4nkUajemhCmTIz3eiaKREZn2hQQqF79YTg==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5", - "@babel/helper-replace-supers": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" }, "engines": { "node": ">=6.9.0" @@ -2287,12 +2327,12 @@ } }, "node_modules/@babel/plugin-transform-parameters": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.5.tgz", - "integrity": "sha512-B3O6AL5oPop1jAVg8CV+haeUte9oFuY85zu0jwnRNZZi3tVAbJriu5tag/oaO2kGaQM/7q7aGPBlTI5/sr9enA==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.22.5.tgz", + "integrity": "sha512-AVkFUBurORBREOmHRKo06FjHYgjrabpdqRSwq6+C7R5iTCZOsM4QbcB27St0a4U6fffyAOqh3s/qEfybAhfivg==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2302,12 +2342,12 @@ } }, "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.5.tgz", - "integrity": "sha512-+IRcVW71VdF9pEH/2R/Apab4a19LVvdVsr/gEeotH00vSDVlKD+XgfSIw+cgGWsjDB/ziqGv/pGoQZBIiQVXHg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.22.5.tgz", + "integrity": "sha512-TiOArgddK3mK/x1Qwf5hay2pxI6wCZnvQqrFSqbtg1GLl2JcNMitVH/YnqjP+M31pLUeTfzY1HAXFDnUBV30rQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2317,12 +2357,13 @@ } }, "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.16.5.tgz", - "integrity": "sha512-2z+it2eVWU8TtQQRauvGUqZwLy4+7rTfo6wO4npr+fvvN1SW30ZF3O/ZRCNmTuu4F5MIP8OJhXAhRV5QMJOuYg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.22.5.tgz", + "integrity": "sha512-rR7KePOE7gfEtNTh9Qw+iO3Q/e4DEsoQ+hdvM6QUDH7JRJ5qxq5AA52ZzBWbI5i9lfNuvySgOGP8ZN7LAmaiPw==", "dev": true, "dependencies": { - "regenerator-transform": "^0.14.2" + "@babel/helper-plugin-utils": "^7.22.5", + "regenerator-transform": "^0.15.1" }, "engines": { "node": ">=6.9.0" @@ -2332,12 +2373,12 @@ } }, "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.16.5.tgz", - "integrity": "sha512-aIB16u8lNcf7drkhXJRoggOxSTUAuihTSTfAcpynowGJOZiGf+Yvi7RuTwFzVYSYPmWyARsPqUGoZWWWxLiknw==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.22.5.tgz", + "integrity": "sha512-DTtGKFRQUDm8svigJzZHzb/2xatPc6TzNvAIJ5GqOKDsGFYgAskjRulbR/vGsPKq3OPqtexnz327qYpP57RFyA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2347,16 +2388,16 @@ } }, "node_modules/@babel/plugin-transform-runtime": { - "version": "7.16.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.16.4.tgz", - "integrity": "sha512-pru6+yHANMTukMtEZGC4fs7XPwg35v8sj5CIEmE+gEkFljFiVJxEWxx/7ZDkTK+iZRYo1bFXBtfIN95+K3cJ5A==", + "version": "7.18.10", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.18.10.tgz", + "integrity": "sha512-q5mMeYAdfEbpBAgzl7tBre/la3LeCxmDO1+wMXRdPWbcoMjR3GiXlCLk7JBZVVye0bqTGNMbt0yYVXX1B1jEWQ==", "dev": true, "dependencies": { - "@babel/helper-module-imports": "^7.16.0", - "@babel/helper-plugin-utils": "^7.14.5", - "babel-plugin-polyfill-corejs2": "^0.3.0", - "babel-plugin-polyfill-corejs3": "^0.4.0", - "babel-plugin-polyfill-regenerator": "^0.3.0", + "@babel/helper-module-imports": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.9", + "babel-plugin-polyfill-corejs2": "^0.3.2", + "babel-plugin-polyfill-corejs3": "^0.5.3", + "babel-plugin-polyfill-regenerator": "^0.4.0", "semver": "^6.3.0" }, "engines": { @@ -2367,21 +2408,21 @@ } }, "node_modules/@babel/plugin-transform-runtime/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" } }, "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.5.tgz", - "integrity": "sha512-ZbuWVcY+MAXJuuW7qDoCwoxDUNClfZxoo7/4swVbOW1s/qYLOMHlm9YRWMsxMFuLs44eXsv4op1vAaBaBaDMVg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.22.5.tgz", + "integrity": "sha512-vM4fq9IXHscXVKzDv5itkO1X52SmdFBFcMIBZ2FRn2nqVYqw6dBexUgMvAjHW+KXpPPViD/Yo3GrDEBaRC0QYA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2391,13 +2432,13 @@ } }, "node_modules/@babel/plugin-transform-spread": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.16.5.tgz", - "integrity": "sha512-5d6l/cnG7Lw4tGHEoga4xSkYp1euP7LAtrah1h1PgJ3JY7yNsjybsxQAnVK4JbtReZ/8z6ASVmd3QhYYKLaKZw==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.22.5.tgz", + "integrity": "sha512-5ZzDQIGyvN4w8+dMmpohL6MBo+l2G7tfC/O2Dg7/hjpgeWvUx8FzfeOKxGog9IimPa4YekaQ9PlDqTLOljkcxg==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2407,12 +2448,12 @@ } }, "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.5.tgz", - "integrity": "sha512-usYsuO1ID2LXxzuUxifgWtJemP7wL2uZtyrTVM4PKqsmJycdS4U4mGovL5xXkfUheds10Dd2PjoQLXw6zCsCbg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.22.5.tgz", + "integrity": "sha512-zf7LuNpHG0iEeiyCNwX4j3gDg1jgt1k3ZdXBKbZSoA3BbGQGvMiSvfbZRR3Dr3aeJe3ooWFZxOOG3IRStYp2Bw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2422,12 +2463,12 @@ } }, "node_modules/@babel/plugin-transform-template-literals": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.16.5.tgz", - "integrity": "sha512-gnyKy9RyFhkovex4BjKWL3BVYzUDG6zC0gba7VMLbQoDuqMfJ1SDXs8k/XK41Mmt1Hyp4qNAvGFb9hKzdCqBRQ==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.22.5.tgz", + "integrity": "sha512-5ciOehRNf+EyUeewo8NkbQiUs4d6ZxiHo6BcBcnFlgiJfu16q0bQUw9Jvo0b0gBKFG1SMhDSjeKXSYuJLeFSMA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2437,12 +2478,12 @@ } }, "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.16.5.tgz", - "integrity": "sha512-ldxCkW180qbrvyCVDzAUZqB0TAeF8W/vGJoRcaf75awm6By+PxfJKvuqVAnq8N9wz5Xa6mSpM19OfVKKVmGHSQ==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.22.5.tgz", + "integrity": "sha512-bYkI5lMzL4kPii4HHEEChkD0rkc+nvnlR6+o/qdqR6zrm0Sv/nodmyLhlq2DO0YKLUNd2VePmPRjJXSBh9OIdA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2452,12 +2493,12 @@ } }, "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.5.tgz", - "integrity": "sha512-shiCBHTIIChGLdyojsKQjoAyB8MBwat25lKM7MJjbe1hE0bgIppD+LX9afr41lLHOhqceqeWl4FkLp+Bgn9o1Q==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.22.5.tgz", + "integrity": "sha512-biEmVg1IYB/raUO5wT1tgfacCef15Fbzhkx493D3urBI++6hpJ+RFG4SrWMn0NEZLfvilqKf3QDrRVZHo08FYg==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2467,13 +2508,13 @@ } }, "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.5.tgz", - "integrity": "sha512-GTJ4IW012tiPEMMubd7sD07iU9O/LOo8Q/oU4xNhcaq0Xn8+6TcUQaHtC8YxySo1T+ErQ8RaWogIEeFhKGNPzw==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.22.5.tgz", + "integrity": "sha512-028laaOKptN5vHJf9/Arr/HiJekMd41hOEZYvNsrsXqJ7YPYuX2bQxh31fkZzGmq3YqHRJzYFFAVYvKfMPKqyg==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.16.0", - "@babel/helper-plugin-utils": "^7.16.5" + "@babel/helper-create-regexp-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2483,37 +2524,38 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.16.4", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.16.4.tgz", - "integrity": "sha512-v0QtNd81v/xKj4gNKeuAerQ/azeNn/G1B1qMLeXOcV8+4TWlD2j3NV1u8q29SDFBXx/NBq5kyEAO+0mpRgacjA==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.16.4", - "@babel/helper-compilation-targets": "^7.16.3", - "@babel/helper-plugin-utils": "^7.14.5", - "@babel/helper-validator-option": "^7.14.5", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.16.2", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.16.0", - "@babel/plugin-proposal-async-generator-functions": "^7.16.4", - "@babel/plugin-proposal-class-properties": "^7.16.0", - "@babel/plugin-proposal-class-static-block": "^7.16.0", - "@babel/plugin-proposal-dynamic-import": "^7.16.0", - "@babel/plugin-proposal-export-namespace-from": "^7.16.0", - "@babel/plugin-proposal-json-strings": "^7.16.0", - "@babel/plugin-proposal-logical-assignment-operators": "^7.16.0", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0", - "@babel/plugin-proposal-numeric-separator": "^7.16.0", - "@babel/plugin-proposal-object-rest-spread": "^7.16.0", - "@babel/plugin-proposal-optional-catch-binding": "^7.16.0", - "@babel/plugin-proposal-optional-chaining": "^7.16.0", - "@babel/plugin-proposal-private-methods": "^7.16.0", - "@babel/plugin-proposal-private-property-in-object": "^7.16.0", - "@babel/plugin-proposal-unicode-property-regex": "^7.16.0", + "version": "7.18.10", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz", + "integrity": "sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.18.8", + "@babel/helper-compilation-targets": "^7.18.9", + "@babel/helper-plugin-utils": "^7.18.9", + "@babel/helper-validator-option": "^7.18.6", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.18.9", + "@babel/plugin-proposal-async-generator-functions": "^7.18.10", + "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-proposal-class-static-block": "^7.18.6", + "@babel/plugin-proposal-dynamic-import": "^7.18.6", + "@babel/plugin-proposal-export-namespace-from": "^7.18.9", + "@babel/plugin-proposal-json-strings": "^7.18.6", + "@babel/plugin-proposal-logical-assignment-operators": "^7.18.9", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", + "@babel/plugin-proposal-numeric-separator": "^7.18.6", + "@babel/plugin-proposal-object-rest-spread": "^7.18.9", + "@babel/plugin-proposal-optional-catch-binding": "^7.18.6", + "@babel/plugin-proposal-optional-chaining": "^7.18.9", + "@babel/plugin-proposal-private-methods": "^7.18.6", + "@babel/plugin-proposal-private-property-in-object": "^7.18.6", + "@babel/plugin-proposal-unicode-property-regex": "^7.18.6", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-class-properties": "^7.12.13", "@babel/plugin-syntax-class-static-block": "^7.14.5", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-export-namespace-from": "^7.8.3", + "@babel/plugin-syntax-import-assertions": "^7.18.6", "@babel/plugin-syntax-json-strings": "^7.8.3", "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", @@ -2523,44 +2565,44 @@ "@babel/plugin-syntax-optional-chaining": "^7.8.3", "@babel/plugin-syntax-private-property-in-object": "^7.14.5", "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-transform-arrow-functions": "^7.16.0", - "@babel/plugin-transform-async-to-generator": "^7.16.0", - "@babel/plugin-transform-block-scoped-functions": "^7.16.0", - "@babel/plugin-transform-block-scoping": "^7.16.0", - "@babel/plugin-transform-classes": "^7.16.0", - "@babel/plugin-transform-computed-properties": "^7.16.0", - "@babel/plugin-transform-destructuring": "^7.16.0", - "@babel/plugin-transform-dotall-regex": "^7.16.0", - "@babel/plugin-transform-duplicate-keys": "^7.16.0", - "@babel/plugin-transform-exponentiation-operator": "^7.16.0", - "@babel/plugin-transform-for-of": "^7.16.0", - "@babel/plugin-transform-function-name": "^7.16.0", - "@babel/plugin-transform-literals": "^7.16.0", - "@babel/plugin-transform-member-expression-literals": "^7.16.0", - "@babel/plugin-transform-modules-amd": "^7.16.0", - "@babel/plugin-transform-modules-commonjs": "^7.16.0", - "@babel/plugin-transform-modules-systemjs": "^7.16.0", - "@babel/plugin-transform-modules-umd": "^7.16.0", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.16.0", - "@babel/plugin-transform-new-target": "^7.16.0", - "@babel/plugin-transform-object-super": "^7.16.0", - "@babel/plugin-transform-parameters": "^7.16.3", - "@babel/plugin-transform-property-literals": "^7.16.0", - "@babel/plugin-transform-regenerator": "^7.16.0", - "@babel/plugin-transform-reserved-words": "^7.16.0", - "@babel/plugin-transform-shorthand-properties": "^7.16.0", - "@babel/plugin-transform-spread": "^7.16.0", - "@babel/plugin-transform-sticky-regex": "^7.16.0", - "@babel/plugin-transform-template-literals": "^7.16.0", - "@babel/plugin-transform-typeof-symbol": "^7.16.0", - "@babel/plugin-transform-unicode-escapes": "^7.16.0", - "@babel/plugin-transform-unicode-regex": "^7.16.0", + "@babel/plugin-transform-arrow-functions": "^7.18.6", + "@babel/plugin-transform-async-to-generator": "^7.18.6", + "@babel/plugin-transform-block-scoped-functions": "^7.18.6", + "@babel/plugin-transform-block-scoping": "^7.18.9", + "@babel/plugin-transform-classes": "^7.18.9", + "@babel/plugin-transform-computed-properties": "^7.18.9", + "@babel/plugin-transform-destructuring": "^7.18.9", + "@babel/plugin-transform-dotall-regex": "^7.18.6", + "@babel/plugin-transform-duplicate-keys": "^7.18.9", + "@babel/plugin-transform-exponentiation-operator": "^7.18.6", + "@babel/plugin-transform-for-of": "^7.18.8", + "@babel/plugin-transform-function-name": "^7.18.9", + "@babel/plugin-transform-literals": "^7.18.9", + "@babel/plugin-transform-member-expression-literals": "^7.18.6", + "@babel/plugin-transform-modules-amd": "^7.18.6", + "@babel/plugin-transform-modules-commonjs": "^7.18.6", + "@babel/plugin-transform-modules-systemjs": "^7.18.9", + "@babel/plugin-transform-modules-umd": "^7.18.6", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.18.6", + "@babel/plugin-transform-new-target": "^7.18.6", + "@babel/plugin-transform-object-super": "^7.18.6", + "@babel/plugin-transform-parameters": "^7.18.8", + "@babel/plugin-transform-property-literals": "^7.18.6", + "@babel/plugin-transform-regenerator": "^7.18.6", + "@babel/plugin-transform-reserved-words": "^7.18.6", + "@babel/plugin-transform-shorthand-properties": "^7.18.6", + "@babel/plugin-transform-spread": "^7.18.9", + "@babel/plugin-transform-sticky-regex": "^7.18.6", + "@babel/plugin-transform-template-literals": "^7.18.9", + "@babel/plugin-transform-typeof-symbol": "^7.18.9", + "@babel/plugin-transform-unicode-escapes": "^7.18.10", + "@babel/plugin-transform-unicode-regex": "^7.18.6", "@babel/preset-modules": "^0.1.5", - "@babel/types": "^7.16.0", - "babel-plugin-polyfill-corejs2": "^0.3.0", - "babel-plugin-polyfill-corejs3": "^0.4.0", - "babel-plugin-polyfill-regenerator": "^0.3.0", - "core-js-compat": "^3.19.1", + "@babel/types": "^7.18.10", + "babel-plugin-polyfill-corejs2": "^0.3.2", + "babel-plugin-polyfill-corejs3": "^0.5.3", + "babel-plugin-polyfill-regenerator": "^0.4.0", + "core-js-compat": "^3.22.1", "semver": "^6.3.0" }, "engines": { @@ -2571,18 +2613,18 @@ } }, "node_modules/@babel/preset-env/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" } }, "node_modules/@babel/preset-modules": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", - "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.6.tgz", + "integrity": "sha512-ID2yj6K/4lKfhuU3+EX4UvNbIt7eACFbHmNUjzA+ep+B5971CknnA/9DEWKbRokfbbtblxxxXFJJrH47UEAMVg==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.0.0", @@ -2592,13 +2634,19 @@ "esutils": "^2.0.2" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" } }, + "node_modules/@babel/regjsgen": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@babel/regjsgen/-/regjsgen-0.8.0.tgz", + "integrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==", + "dev": true + }, "node_modules/@babel/runtime": { - "version": "7.16.3", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.16.3.tgz", - "integrity": "sha512-WBwekcqacdY2e9AF/Q7WLFUWmdJGJTkbjqTjoMDgXkVZ3ZRUvOPsLb5KdwISoQVsbP+DQzVZW4Zhci0DvpbNTQ==", + "version": "7.18.9", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz", + "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==", "dev": true, "dependencies": { "regenerator-runtime": "^0.13.4" @@ -2621,33 +2669,33 @@ } }, "node_modules/@babel/template": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz", - "integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==", + "version": "7.18.10", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz", + "integrity": "sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.16.0", - "@babel/parser": "^7.16.0", - "@babel/types": "^7.16.0" + "@babel/code-frame": "^7.18.6", + "@babel/parser": "^7.18.10", + "@babel/types": "^7.18.10" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.5.tgz", - "integrity": "sha512-FOCODAzqUMROikDYLYxl4nmwiLlu85rNqBML/A5hKRVXG2LV8d0iMqgPzdYTcIpjZEBB7D6UDU9vxRZiriASdQ==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.16.0", - "@babel/generator": "^7.16.5", - "@babel/helper-environment-visitor": "^7.16.5", - "@babel/helper-function-name": "^7.16.0", - "@babel/helper-hoist-variables": "^7.16.0", - "@babel/helper-split-export-declaration": "^7.16.0", - "@babel/parser": "^7.16.5", - "@babel/types": "^7.16.0", + "version": "7.22.8", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.22.8.tgz", + "integrity": "sha512-y6LPR+wpM2I3qJrsheCTwhIinzkETbplIgPBbwvqPKc+uljeA5gP+3nP8irdYt1mjQaDnlIcG+dw8OjAco4GXw==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.22.5", + "@babel/generator": "^7.22.7", + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-function-name": "^7.22.5", + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/parser": "^7.22.7", + "@babel/types": "^7.22.5", "debug": "^4.1.0", "globals": "^11.1.0" }, @@ -2656,35 +2704,42 @@ } }, "node_modules/@babel/traverse/node_modules/@babel/generator": { - "version": "7.16.5", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.5.tgz", - "integrity": "sha512-kIvCdjZqcdKqoDbVVdt5R99icaRtrtYhYK/xux5qiWCBmfdvEYMFZ68QCrpE5cbFM1JsuArUNs1ZkuKtTtUcZA==", + "version": "7.22.9", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.9.tgz", + "integrity": "sha512-KtLMbmicyuK2Ak/FTCJVbDnkN1SlT8/kceFTiuDiiRUUSMnHMidxSCdG4ndkTOHHpoomWe/4xkvHkEOncwjYIw==", "dev": true, "dependencies": { - "@babel/types": "^7.16.0", - "jsesc": "^2.5.1", - "source-map": "^0.5.0" + "@babel/types": "^7.22.5", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/traverse/node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "node_modules/@babel/traverse/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, "engines": { - "node": ">=0.10.0" + "node": ">=6.0.0" } }, "node_modules/@babel/types": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", - "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.5.tgz", + "integrity": "sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.15.7", + "@babel/helper-string-parser": "^7.22.5", + "@babel/helper-validator-identifier": "^7.22.5", "to-fast-properties": "^2.0.0" }, "engines": { @@ -2700,663 +2755,878 @@ "node": ">=0.1.90" } }, - "node_modules/@csstools/convert-colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@csstools/convert-colors/-/convert-colors-1.4.0.tgz", - "integrity": "sha512-5a6wqoJV/xEdbRNKVo6I4hO3VjyDq//8q2f9I6PBAvMesJHFauXDorcNCsr9RzvsZnaWi5NYCcfyqP1QeFHFbw==", + "node_modules/@csstools/postcss-cascade-layers": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@csstools/postcss-cascade-layers/-/postcss-cascade-layers-1.1.1.tgz", + "integrity": "sha512-+KdYrpKC5TgomQr2DlZF4lDEpHcoxnj5IGddYYfBWJAKfj1JtuHUIqMa+E1pJJ+z3kvDViWMqyqPlG4Ja7amQA==", "dev": true, + "dependencies": { + "@csstools/selector-specificity": "^2.0.2", + "postcss-selector-parser": "^6.0.10" + }, "engines": { - "node": ">=4.0.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/@discoveryjs/json-ext": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.6.tgz", - "integrity": "sha512-ws57AidsDvREKrZKYffXddNkyaF14iHNHm8VQnZH6t99E8gczjNN0GpvcGny0imC80yQ0tHz1xVUKk/KFQSUyA==", + "node_modules/@csstools/postcss-color-function": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@csstools/postcss-color-function/-/postcss-color-function-1.1.1.tgz", + "integrity": "sha512-Bc0f62WmHdtRDjf5f3e2STwRAl89N2CLb+9iAwzrv4L2hncrbDwnQD9PCq0gtAt7pOI2leIV08HIBUd4jxD8cw==", "dev": true, + "dependencies": { + "@csstools/postcss-progressive-custom-properties": "^1.1.0", + "postcss-value-parser": "^4.2.0" + }, "engines": { - "node": ">=10.0.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/@eslint/eslintrc": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.0.5.tgz", - "integrity": "sha512-BLxsnmK3KyPunz5wmCCpqy0YelEoxxGmH73Is+Z74oOTMtExcjkr3dDR6quwrjh1YspA8DH9gnX1o069KiS9AQ==", + "node_modules/@csstools/postcss-font-format-keywords": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@csstools/postcss-font-format-keywords/-/postcss-font-format-keywords-1.0.1.tgz", + "integrity": "sha512-ZgrlzuUAjXIOc2JueK0X5sZDjCtgimVp/O5CEqTcs5ShWBa6smhWYbS0x5cVc/+rycTDbjjzoP0KTDnUneZGOg==", "dev": true, "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.2.0", - "globals": "^13.9.0", - "ignore": "^4.0.6", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.0.4", - "strip-json-comments": "^3.1.1" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/@eslint/eslintrc/node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "13.12.1", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.12.1.tgz", - "integrity": "sha512-317dFlgY2pdJZ9rspXDks7073GpDmXdfbM3vYYp0HAMKGDh1FfWPleI2ljVNLQX5M5lXcAslTcPTrOrMEFOjyw==", + "node_modules/@csstools/postcss-hwb-function": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@csstools/postcss-hwb-function/-/postcss-hwb-function-1.0.2.tgz", + "integrity": "sha512-YHdEru4o3Rsbjmu6vHy4UKOXZD+Rn2zmkAmLRfPet6+Jz4Ojw8cbWxe1n42VaXQhD3CQUXXTooIy8OkVbUcL+w==", "dev": true, "dependencies": { - "type-fest": "^0.20.2" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=8" + "node": "^12 || ^14 || >=16" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/@eslint/eslintrc/node_modules/ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "node_modules/@csstools/postcss-ic-unit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@csstools/postcss-ic-unit/-/postcss-ic-unit-1.0.1.tgz", + "integrity": "sha512-Ot1rcwRAaRHNKC9tAqoqNZhjdYBzKk1POgWfhN4uCOE47ebGcLRqXjKkApVDpjifL6u2/55ekkpnFcp+s/OZUw==", "dev": true, + "dependencies": { + "@csstools/postcss-progressive-custom-properties": "^1.1.0", + "postcss-value-parser": "^4.2.0" + }, "engines": { - "node": ">= 4" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/@eslint/eslintrc/node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "node_modules/@csstools/postcss-is-pseudo-class": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@csstools/postcss-is-pseudo-class/-/postcss-is-pseudo-class-2.0.7.tgz", + "integrity": "sha512-7JPeVVZHd+jxYdULl87lvjgvWldYu+Bc62s9vD/ED6/QTGjy0jy0US/f6BG53sVMTBJ1lzKZFpYmofBN9eaRiA==", "dev": true, "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" + "@csstools/selector-specificity": "^2.0.0", + "postcss-selector-parser": "^6.0.10" }, "engines": { - "node": ">=6" + "node": "^12 || ^14 || >=16" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/@eslint/eslintrc/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "node_modules/@csstools/postcss-nested-calc": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@csstools/postcss-nested-calc/-/postcss-nested-calc-1.0.0.tgz", + "integrity": "sha512-JCsQsw1wjYwv1bJmgjKSoZNvf7R6+wuHDAbi5f/7MbFhl2d/+v+TvBTU4BJH3G1X1H87dHl0mh6TfYogbT/dJQ==", "dev": true, "dependencies": { - "argparse": "^2.0.1" + "postcss-value-parser": "^4.2.0" }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "engines": { + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/@eslint/eslintrc/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "node_modules/@csstools/postcss-normalize-display-values": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@csstools/postcss-normalize-display-values/-/postcss-normalize-display-values-1.0.1.tgz", + "integrity": "sha512-jcOanIbv55OFKQ3sYeFD/T0Ti7AMXc9nM1hZWu8m/2722gOTxFg7xYu4RDLJLeZmPUVQlGzo4jhzvTUq3x4ZUw==", "dev": true, + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, "engines": { - "node": ">=4" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/@eslint/eslintrc/node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "node_modules/@csstools/postcss-oklab-function": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@csstools/postcss-oklab-function/-/postcss-oklab-function-1.1.1.tgz", + "integrity": "sha512-nJpJgsdA3dA9y5pgyb/UfEzE7W5Ka7u0CX0/HIMVBNWzWemdcTH3XwANECU6anWv/ao4vVNLTMxhiPNZsTK6iA==", "dev": true, + "dependencies": { + "@csstools/postcss-progressive-custom-properties": "^1.1.0", + "postcss-value-parser": "^4.2.0" + }, "engines": { - "node": ">=10" + "node": "^12 || ^14 || >=16" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/@gar/promisify": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.2.tgz", - "integrity": "sha512-82cpyJyKRoQoRi+14ibCeGPu0CwypgtBAdBhq1WfvagpCZNKqwXbKwXllYSMG91DhmG4jt9gN8eP6lGOtozuaw==", - "dev": true - }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.3.tgz", - "integrity": "sha512-3xSMlXHh03hCcCmFc0rbKp3Ivt2PFEJnQUJDDMTJQ2wkECZWdq4GePs2ctc5H8zV+cHPaq8k2vU8mrQjA6iHdQ==", + "node_modules/@csstools/postcss-progressive-custom-properties": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@csstools/postcss-progressive-custom-properties/-/postcss-progressive-custom-properties-1.3.0.tgz", + "integrity": "sha512-ASA9W1aIy5ygskZYuWams4BzafD12ULvSypmaLJT2jvQ8G0M3I8PRQhC0h7mG0Z3LI05+agZjqSR9+K9yaQQjA==", "dev": true, "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", - "minimatch": "^3.0.4" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=10.10.0" + "node": "^12 || ^14 || >=16" + }, + "peerDependencies": { + "postcss": "^8.3" } }, - "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", - "dev": true - }, - "node_modules/@istanbuljs/load-nyc-config": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", - "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "node_modules/@csstools/postcss-stepped-value-functions": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@csstools/postcss-stepped-value-functions/-/postcss-stepped-value-functions-1.0.1.tgz", + "integrity": "sha512-dz0LNoo3ijpTOQqEJLY8nyaapl6umbmDcgj4AD0lgVQ572b2eqA1iGZYTTWhrcrHztWDDRAX2DGYyw2VBjvCvQ==", "dev": true, "dependencies": { - "camelcase": "^5.3.1", - "find-up": "^4.1.0", - "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", - "resolve-from": "^5.0.0" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=8" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "node_modules/@csstools/postcss-text-decoration-shorthand": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@csstools/postcss-text-decoration-shorthand/-/postcss-text-decoration-shorthand-1.0.0.tgz", + "integrity": "sha512-c1XwKJ2eMIWrzQenN0XbcfzckOLLJiczqy+YvfGmzoVXd7pT9FfObiSEfzs84bpE/VqfpEuAZ9tCRbZkZxxbdw==", "dev": true, "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=8" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "node_modules/@csstools/postcss-trigonometric-functions": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@csstools/postcss-trigonometric-functions/-/postcss-trigonometric-functions-1.0.2.tgz", + "integrity": "sha512-woKaLO///4bb+zZC2s80l+7cm07M7268MsyG3M0ActXXEFi6SuhvriQYcb58iiKGbjwwIU7n45iRLEHypB47Og==", "dev": true, "dependencies": { - "p-locate": "^4.1.0" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=8" + "node": "^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "node_modules/@csstools/postcss-unset-value": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@csstools/postcss-unset-value/-/postcss-unset-value-1.0.2.tgz", + "integrity": "sha512-c8J4roPBILnelAsdLr4XOAR/GsTm0GJi4XpcfvoWk3U6KiTCqiFYc63KhRMQQX35jYMp4Ao8Ij9+IZRgMfJp1g==", "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, "engines": { - "node": ">=8" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "node_modules/@csstools/selector-specificity": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-2.2.0.tgz", + "integrity": "sha512-+OJ9konv95ClSTOJCmMZqpd5+YGsB2S+x6w3E1oaM8UuR5j8nTNHYSz8c9BEPGDOCMQYIEEGlVPj/VY64iTbGw==", "dev": true, "engines": { - "node": ">=8" + "node": "^14 || ^16 || >=18" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss-selector-parser": "^6.0.10" } }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "node_modules/@discoveryjs/json-ext": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", + "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", "dev": true, "engines": { - "node": ">=8" + "node": ">=10.0.0" } }, - "node_modules/@istanbuljs/schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", + "node_modules/@esbuild/linux-loong64": { + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.15.5.tgz", + "integrity": "sha512-UHkDFCfSGTuXq08oQltXxSZmH1TXyWsL+4QhZDWvvLl6mEJQqk3u7/wq1LjhrrAXYIllaTtRSzUXl4Olkf2J8A==", + "cpu": [ + "loong64" + ], "dev": true, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=8" + "node": ">=12" } }, - "node_modules/@jridgewell/resolve-uri": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-1.0.0.tgz", - "integrity": "sha512-9oLAnygRMi8Q5QkYEU4XWK04B+nuoXoxjRvRxgjuChkLZFBja0YPSgdZ7dZtwhncLBcQe/I/E+fLuk5qxcYVJA==", + "node_modules/@eslint/eslintrc": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.0.5.tgz", + "integrity": "sha512-BLxsnmK3KyPunz5wmCCpqy0YelEoxxGmH73Is+Z74oOTMtExcjkr3dDR6quwrjh1YspA8DH9gnX1o069KiS9AQ==", "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.2.0", + "globals": "^13.9.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + }, "engines": { - "node": ">=6.0.0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@lhncbc/ucum-lhc": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/@lhncbc/ucum-lhc/-/ucum-lhc-4.1.4.tgz", - "integrity": "sha512-ErlXJv6lrerZbthxc33SWTKrZv4KjMIaCN2lNxsNrGZW4PqyVFEKDie6lok//SvC6QeEoAC1mWN8xD87r72qPQ==", + "node_modules/@eslint/eslintrc/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "13.12.1", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.12.1.tgz", + "integrity": "sha512-317dFlgY2pdJZ9rspXDks7073GpDmXdfbM3vYYp0HAMKGDh1FfWPleI2ljVNLQX5M5lXcAslTcPTrOrMEFOjyw==", + "dev": true, "dependencies": { - "csv-parse": "^4.4.6", - "csv-stringify": "^1.0.4", - "escape-html": "^1.0.3", - "is-integer": "^1.0.6", - "jsonfile": "^2.2.3", - "stream": "0.0.2", - "stream-transform": "^0.1.1", - "string-to-stream": "^1.1.0", - "xmldoc": "^0.4.0" + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@lhncbc/ucum-lhc/node_modules/jsonfile": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", - "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", - "optionalDependencies": { - "graceful-fs": "^4.1.6" + "node_modules/@eslint/eslintrc/node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true, + "engines": { + "node": ">= 4" } }, - "node_modules/@ngtools/webpack": { - "version": "13.1.2", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-13.1.2.tgz", - "integrity": "sha512-F/KraxCCUjSn5nWVEQSuyVfnoE9j/bTcpIb+6e38/Hq/saPfsUoNiRjWlTAxCD44vHbMuVkJ/ZRZT6hdICAslw==", + "node_modules/@eslint/eslintrc/node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" + "node": ">=6" }, - "peerDependencies": { - "@angular/compiler-cli": "^13.0.0 || ^13.1.0-next", - "typescript": ">=4.4.3 <4.6", - "webpack": "^5.30.0" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@ngx-translate/core": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/@ngx-translate/core/-/core-11.0.1.tgz", - "integrity": "sha512-nBCa1ZD9fAUY/3eskP3Lql2fNg8OMrYIej1/5GRsfcutx9tG/5fZLCv9m6UCw1aS+u4uK/vXjv1ctG/FdMvaWg==", + "node_modules/@eslint/eslintrc/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, "dependencies": { - "tslib": "^1.9.0" + "argparse": "^2.0.1" }, - "peerDependencies": { - "@angular/core": ">=7.0.0", - "rxjs": ">=6.3.0" + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "node_modules/@ngx-translate/core/node_modules/tslib": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", - "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==" - }, - "node_modules/@ngx-translate/http-loader": { + "node_modules/@eslint/eslintrc/node_modules/resolve-from": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@ngx-translate/http-loader/-/http-loader-4.0.0.tgz", - "integrity": "sha512-x8LumqydWD7eX9yQTAVeoCM9gFUIGVTUjZqbxdAUavAA3qVnk9wCQux7iHLPXpydl8vyQmLoPQR+fFU+DUDOMA==", - "dependencies": { - "tslib": "^1.9.0" + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/@eslint/eslintrc/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" }, - "peerDependencies": { - "@angular/common": ">=7.0.0", - "@ngx-translate/core": ">=11.0.0", - "rxjs": ">=6.3.0" + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@ngx-translate/http-loader/node_modules/tslib": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", - "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==" + "node_modules/@gar/promisify": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", + "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", + "dev": true }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "node_modules/@humanwhocodes/config-array": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.3.tgz", + "integrity": "sha512-3xSMlXHh03hCcCmFc0rbKp3Ivt2PFEJnQUJDDMTJQ2wkECZWdq4GePs2ctc5H8zV+cHPaq8k2vU8mrQjA6iHdQ==", "dev": true, "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.4" }, "engines": { - "node": ">= 8" + "node": ">=10.10.0" } }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "engines": { - "node": ">= 8" - } + "node_modules/@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", "dev": true, "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" }, "engines": { - "node": ">= 8" + "node": ">=12" } }, - "node_modules/@npmcli/fs": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.0.tgz", - "integrity": "sha512-VhP1qZLXcrXRIaPoqb4YA55JQxLNF3jNR4T55IdOJa3+IFJKNYHtPvtXx8slmeMavj37vCzCfrqQM1vWLsYKLA==", - "deprecated": "this version had an improper engines field added, update to 1.1.1", + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "dev": true, - "dependencies": { - "@gar/promisify": "^1.0.1", - "semver": "^7.3.5" - }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, - "node_modules/@npmcli/fs/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, "engines": { - "node": ">=10" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/@npmcli/git": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-2.1.0.tgz", - "integrity": "sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw==", - "dev": true, - "dependencies": { - "@npmcli/promise-spawn": "^1.3.2", - "lru-cache": "^6.0.0", - "mkdirp": "^1.0.4", - "npm-pick-manifest": "^6.1.1", - "promise-inflight": "^1.0.1", - "promise-retry": "^2.0.1", - "semver": "^7.3.5", - "which": "^2.0.2" - } + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true }, - "node_modules/@npmcli/git/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" }, "engines": { - "node": ">=10" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@npmcli/git/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", "dev": true, "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" + "ansi-regex": "^6.0.1" }, "engines": { - "node": ">=10" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "node_modules/@npmcli/git/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", "dev": true, "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" }, "engines": { - "node": ">= 8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/@npmcli/installed-package-contents": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz", - "integrity": "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==", + "node_modules/@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", "dev": true, "dependencies": { - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" - }, - "bin": { - "installed-package-contents": "index.js" + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" }, "engines": { - "node": ">= 10" + "node": ">=8" } }, - "node_modules/@npmcli/move-file": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.1.2.tgz", - "integrity": "sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==", - "deprecated": "This functionality has been moved to @npmcli/fs", + "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "dependencies": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" }, "engines": { - "node": ">=10" + "node": ">=8" } }, - "node_modules/@npmcli/move-file/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" + "dependencies": { + "p-locate": "^4.1.0" }, "engines": { - "node": ">=10" + "node": ">=8" } }, - "node_modules/@npmcli/move-file/node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" + "p-limit": "^2.2.0" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "engines": { + "node": ">=8" } }, - "node_modules/@npmcli/node-gyp": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz", - "integrity": "sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA==", - "dev": true - }, - "node_modules/@npmcli/promise-spawn": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz", - "integrity": "sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg==", + "node_modules/@istanbuljs/load-nyc-config/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, - "dependencies": { - "infer-owner": "^1.0.4" + "engines": { + "node": ">=8" } }, - "node_modules/@npmcli/run-script": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-2.0.0.tgz", - "integrity": "sha512-fSan/Pu11xS/TdaTpTB0MRn9guwGU8dye+x56mEVgBEd/QsybBbYcAL0phPXi8SGWFEChkQd6M9qL4y6VOpFig==", + "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, - "dependencies": { - "@npmcli/node-gyp": "^1.0.2", - "@npmcli/promise-spawn": "^1.3.2", - "node-gyp": "^8.2.0", - "read-package-json-fast": "^2.0.1" + "engines": { + "node": ">=8" } }, - "node_modules/@npmcli/run-script/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "node_modules/@istanbuljs/schema": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", + "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", "dev": true, "engines": { "node": ">=8" } }, - "node_modules/@npmcli/run-script/node_modules/are-we-there-yet": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", - "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", + "node_modules/@jridgewell/gen-mapping": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", + "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", "dev": true, "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" + "@jridgewell/set-array": "^1.0.0", + "@jridgewell/sourcemap-codec": "^1.4.10" }, "engines": { - "node": ">=10" + "node": ">=6.0.0" } }, - "node_modules/@npmcli/run-script/node_modules/gauge": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.0.tgz", - "integrity": "sha512-F8sU45yQpjQjxKkm1UOAhf0U/O0aFt//Fl7hsrNVto+patMHjs7dPI9mFOGUKbhrgKm0S3EjW3scMFuQmWSROw==", + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", + "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1", - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.2", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.1", - "signal-exit": "^3.0.0", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.2" - }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16" + "node": ">=6.0.0" } }, - "node_modules/@npmcli/run-script/node_modules/graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", - "dev": true - }, - "node_modules/@npmcli/run-script/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "node_modules/@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", "dev": true, "engines": { - "node": ">=8" + "node": ">=6.0.0" } }, - "node_modules/@npmcli/run-script/node_modules/node-gyp": { - "version": "8.4.1", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-8.4.1.tgz", - "integrity": "sha512-olTJRgUtAb/hOXG0E93wZDs5YiJlgbXxTwQAFHyNlRsXQnYzUaF2aGgujZbw+hR8aF4ZG/rST57bWMWD16jr9w==", + "node_modules/@jridgewell/source-map": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", + "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", "dev": true, "dependencies": { - "env-paths": "^2.2.0", - "glob": "^7.1.4", - "graceful-fs": "^4.2.6", - "make-fetch-happen": "^9.1.0", - "nopt": "^5.0.0", - "npmlog": "^6.0.0", - "rimraf": "^3.0.2", - "semver": "^7.3.5", - "tar": "^6.1.2", - "which": "^2.0.2" - }, - "bin": { - "node-gyp": "bin/node-gyp.js" - }, - "engines": { - "node": ">= 10.12.0" + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" } }, - "node_modules/@npmcli/run-script/node_modules/nopt": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "node_modules/@jridgewell/source-map/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", "dev": true, "dependencies": { - "abbrev": "1" - }, - "bin": { - "nopt": "bin/nopt.js" + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" }, "engines": { - "node": ">=6" + "node": ">=6.0.0" } }, - "node_modules/@npmcli/run-script/node_modules/npmlog": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.0.tgz", - "integrity": "sha512-03ppFRGlsyUaQFbGC2C8QWJN/C/K7PsfyD9aQdhVKAQIH4sQBc8WASqFBP7O+Ut4d2oo5LoeoboB3cGdBZSp6Q==", + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "dev": true + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.18", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz", + "integrity": "sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==", "dev": true, "dependencies": { - "are-we-there-yet": "^2.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^4.0.0", - "set-blocking": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16" + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" } }, - "node_modules/@npmcli/run-script/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, + "node_modules/@jridgewell/trace-mapping/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", + "dev": true + }, + "node_modules/@leichtgewicht/ip-codec": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz", + "integrity": "sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==", + "dev": true + }, + "node_modules/@lhncbc/ucum-lhc": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@lhncbc/ucum-lhc/-/ucum-lhc-4.1.4.tgz", + "integrity": "sha512-ErlXJv6lrerZbthxc33SWTKrZv4KjMIaCN2lNxsNrGZW4PqyVFEKDie6lok//SvC6QeEoAC1mWN8xD87r72qPQ==", "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" + "csv-parse": "^4.4.6", + "csv-stringify": "^1.0.4", + "escape-html": "^1.0.3", + "is-integer": "^1.0.6", + "jsonfile": "^2.2.3", + "stream": "0.0.2", + "stream-transform": "^0.1.1", + "string-to-stream": "^1.1.0", + "xmldoc": "^0.4.0" } }, - "node_modules/@npmcli/run-script/node_modules/rimraf": { + "node_modules/@lhncbc/ucum-lhc/node_modules/jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/@ngtools/webpack": { + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-14.2.12.tgz", + "integrity": "sha512-d/NRQAjS3BsMDUpLrhza+bvI7HKIV+lyRAvD3LYj5FE9kMoEGw4zRo9JG8ookCzvT2FjNiXQ7DWDZSAeMOy+WQ==", + "dev": true, + "engines": { + "node": "^14.15.0 || >=16.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" + }, + "peerDependencies": { + "@angular/compiler-cli": "^14.0.0", + "typescript": ">=4.6.2 <4.9", + "webpack": "^5.54.0" + } + }, + "node_modules/@ngx-translate/core": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/@ngx-translate/core/-/core-11.0.1.tgz", + "integrity": "sha512-nBCa1ZD9fAUY/3eskP3Lql2fNg8OMrYIej1/5GRsfcutx9tG/5fZLCv9m6UCw1aS+u4uK/vXjv1ctG/FdMvaWg==", + "dependencies": { + "tslib": "^1.9.0" + }, + "peerDependencies": { + "@angular/core": ">=7.0.0", + "rxjs": ">=6.3.0" + } + }, + "node_modules/@ngx-translate/core/node_modules/tslib": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", + "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==" + }, + "node_modules/@ngx-translate/http-loader": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@ngx-translate/http-loader/-/http-loader-4.0.0.tgz", + "integrity": "sha512-x8LumqydWD7eX9yQTAVeoCM9gFUIGVTUjZqbxdAUavAA3qVnk9wCQux7iHLPXpydl8vyQmLoPQR+fFU+DUDOMA==", + "dependencies": { + "tslib": "^1.9.0" + }, + "peerDependencies": { + "@angular/common": ">=7.0.0", + "@ngx-translate/core": ">=11.0.0", + "rxjs": ">=6.3.0" + } + }, + "node_modules/@ngx-translate/http-loader/node_modules/tslib": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", + "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==" + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@npmcli/fs": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.2.tgz", + "integrity": "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==", + "dev": true, + "dependencies": { + "@gar/promisify": "^1.1.3", + "semver": "^7.3.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/@npmcli/fs/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@npmcli/git": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-3.0.2.tgz", + "integrity": "sha512-CAcd08y3DWBJqJDpfuVL0uijlq5oaXaOJEKHKc4wqrjd00gkvTZB+nFuLn+doOOKddaQS9JfqtNoFCO2LCvA3w==", "dev": true, "dependencies": { - "glob": "^7.1.3" + "@npmcli/promise-spawn": "^3.0.0", + "lru-cache": "^7.4.4", + "mkdirp": "^1.0.4", + "npm-pick-manifest": "^7.0.0", + "proc-log": "^2.0.0", + "promise-inflight": "^1.0.1", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^2.0.2" }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/@npmcli/git/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/@npmcli/git/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, "bin": { - "rimraf": "bin.js" + "mkdirp": "bin/cmd.js" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "engines": { + "node": ">=10" } }, - "node_modules/@npmcli/run-script/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "node_modules/@npmcli/git/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -3368,30 +3638,125 @@ "node": ">=10" } }, - "node_modules/@npmcli/run-script/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "node_modules/@npmcli/git/node_modules/semver/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" + "yallist": "^4.0.0" }, "engines": { - "node": ">=8" + "node": ">=10" } }, - "node_modules/@npmcli/run-script/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "node_modules/@npmcli/git/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "dependencies": { - "ansi-regex": "^5.0.1" + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" }, "engines": { - "node": ">=8" + "node": ">= 8" + } + }, + "node_modules/@npmcli/installed-package-contents": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz", + "integrity": "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==", + "dev": true, + "dependencies": { + "npm-bundled": "^1.1.1", + "npm-normalize-package-bin": "^1.0.1" + }, + "bin": { + "installed-package-contents": "index.js" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/@npmcli/move-file": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-2.0.1.tgz", + "integrity": "sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==", + "deprecated": "This functionality has been moved to @npmcli/fs", + "dev": true, + "dependencies": { + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/@npmcli/move-file/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@npmcli/move-file/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/node-gyp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz", + "integrity": "sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A==", + "dev": true, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/@npmcli/promise-spawn": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-3.0.0.tgz", + "integrity": "sha512-s9SgS+p3a9Eohe68cSI3fi+hpcZUmXq5P7w0kMlAsWVtR7XbK3ptkZqKT2cK1zLDObJ3sR+8P59sJE0w/KTL1g==", + "dev": true, + "dependencies": { + "infer-owner": "^1.0.4" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/@npmcli/run-script": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-4.2.1.tgz", + "integrity": "sha512-7dqywvVudPSrRCW5nTHpHgeWnbBtz8cFkOuKrecm6ih+oO9ciydhWt6OF7HlqupRRmB8Q/gECVdB9LMfToJbRg==", + "dev": true, + "dependencies": { + "@npmcli/node-gyp": "^2.0.0", + "@npmcli/promise-spawn": "^3.0.0", + "node-gyp": "^9.0.0", + "read-package-json-fast": "^2.0.3", + "which": "^2.0.2" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/@npmcli/run-script/node_modules/which": { @@ -3545,22 +3910,38 @@ "node": ">=10" } }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "optional": true, + "engines": { + "node": ">=14" + } + }, "node_modules/@schematics/angular": { - "version": "13.1.2", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-13.1.2.tgz", - "integrity": "sha512-OMbuOsnzUFjIGeo99NYwIPwjX6udJAiT5Sj5K7QZZYj66HuAqNBMV57J8GPA56edx5mOHZZApWMjXLlOxRXbJA==", + "version": "14.2.12", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-14.2.12.tgz", + "integrity": "sha512-nCxoFzH/uh5vqhaAjAfQIBgGuCdV3RMjdSwD0VQ+GFiFvTe8rqFyDl+qpNCgETz4LwmGHb5HNjDH9+VyVLgfZQ==", "dev": true, "dependencies": { - "@angular-devkit/core": "13.1.2", - "@angular-devkit/schematics": "13.1.2", - "jsonc-parser": "3.0.0" + "@angular-devkit/core": "14.2.12", + "@angular-devkit/schematics": "14.2.12", + "jsonc-parser": "3.1.0" }, "engines": { - "node": "^12.20.0 || ^14.15.0 || >=16.10.0", + "node": "^14.15.0 || >=16.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, + "node_modules/@schematics/angular/node_modules/jsonc-parser": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.1.0.tgz", + "integrity": "sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg==", + "dev": true + }, "node_modules/@socket.io/component-emitter": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz", @@ -3568,12 +3949,50 @@ "dev": true }, "node_modules/@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", "dev": true, "engines": { - "node": ">= 6" + "node": ">= 10" + } + }, + "node_modules/@types/body-parser": { + "version": "1.19.2", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", + "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==", + "dev": true, + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "node_modules/@types/bonjour": { + "version": "3.5.10", + "resolved": "https://registry.npmjs.org/@types/bonjour/-/bonjour-3.5.10.tgz", + "integrity": "sha512-p7ienRMiS41Nu2/igbJxxLDWrSZ0WxM8UQgCeO9KhoVF7cOVFkrKsiDr1EsJIla8vV3oEEjGcz11jc5yimhzZw==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/connect": { + "version": "3.4.35", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", + "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/connect-history-api-fallback": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz", + "integrity": "sha512-4x5FkPpLipqwthjPsF7ZRbOv3uoLUFkTA9G9v583qi4pACvq0uTELrB8OLUzPWUI4IJIyvM85vzkV1nyiI2Lig==", + "dev": true, + "dependencies": { + "@types/express-serve-static-core": "*", + "@types/node": "*" } }, "node_modules/@types/cookie": { @@ -3598,9 +4017,9 @@ "dev": true }, "node_modules/@types/eslint": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.2.1.tgz", - "integrity": "sha512-UP9rzNn/XyGwb5RQ2fok+DzcIRIYwc16qTXse5+Smsy8MOIccCChT15KAwnsgQx4PzJkaMq4myFyZ4CL5TjhIQ==", + "version": "8.44.1", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.1.tgz", + "integrity": "sha512-XpNDc4Z5Tb4x+SW1MriMVeIsMoONHCkWFMkR/aPJbzEsxqHy+4Glu/BqTdPrApfDeMaXbtNh6bseNgl5KaWrSg==", "dev": true, "dependencies": { "@types/estree": "*", @@ -3608,9 +4027,9 @@ } }, "node_modules/@types/eslint-scope": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.2.tgz", - "integrity": "sha512-TzgYCWoPiTeRg6RQYgtuW7iODtVoKu3RVL72k3WohqhjfaOLK5Mg2T4Tg1o2bSfu0vPkoI48wdQFv5b/Xe04wQ==", + "version": "3.7.4", + "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.4.tgz", + "integrity": "sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==", "dev": true, "dependencies": { "@types/eslint": "*", @@ -3618,15 +4037,45 @@ } }, "node_modules/@types/estree": { - "version": "0.0.50", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.50.tgz", - "integrity": "sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw==", + "version": "0.0.51", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", + "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", + "dev": true + }, + "node_modules/@types/express": { + "version": "4.17.17", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.17.tgz", + "integrity": "sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q==", + "dev": true, + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "node_modules/@types/express-serve-static-core": { + "version": "4.17.35", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.35.tgz", + "integrity": "sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg==", + "dev": true, + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, + "node_modules/@types/http-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.1.tgz", + "integrity": "sha512-/K3ds8TRAfBvi5vfjuz8y6+GiAYBZ0x4tXv1Av6CWBWn0IlADc+ZX9pMq7oU0fNQPnBwIZl3rmeLp6SBApbxSQ==", "dev": true }, "node_modules/@types/http-proxy": { - "version": "1.17.8", - "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.8.tgz", - "integrity": "sha512-5kPLG5BKpWYkw/LVOGWpiq3nEVqxiN32rTgI53Sk12/xHFQ2rG3ehI9IO+O3W2QoKeyB92dJkoka8SUm6BX1pA==", + "version": "1.17.11", + "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.11.tgz", + "integrity": "sha512-HC8G7c1WmaF2ekqpnFq626xd3Zz0uvaqFmBJNRZCGEZCXkvSdJoNFn/8Ygbd9fKNQj8UzLdCETaI0UWPAjK7IA==", "dev": true, "dependencies": { "@types/node": "*" @@ -3643,6 +4092,12 @@ "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", "dev": true }, + "node_modules/@types/mime": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", + "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==", + "dev": true + }, "node_modules/@types/node": { "version": "10.14.10", "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.10.tgz", @@ -3666,6 +4121,12 @@ "integrity": "sha1-vShOV8hPEyXacCur/IKlMoGQwMU=", "dev": true }, + "node_modules/@types/qs": { + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", + "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==", + "dev": true + }, "node_modules/@types/ramda": { "version": "0.26.44", "resolved": "https://registry.npmjs.org/@types/ramda/-/ramda-0.26.44.tgz", @@ -3675,10 +4136,16 @@ "ts-toolbelt": "^6.3.3" } }, + "node_modules/@types/range-parser": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz", + "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==", + "dev": true + }, "node_modules/@types/retry": { - "version": "0.12.1", - "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.1.tgz", - "integrity": "sha512-xoDlM2S4ortawSWORYqsdU+2rxdh4LRW9ytc3zmT37RIKQh6IHyKwwtKhKis9ah8ol07DCkZxPt8BBvPjC6v4g==", + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", + "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==", "dev": true }, "node_modules/@types/selenium-webdriver": { @@ -3687,6 +4154,54 @@ "integrity": "sha512-lMC2G0ItF2xv4UCiwbJGbnJlIuUixHrioOhNGHSCsYCJ8l4t9hMCUimCytvFv7qy6AfSzRxhRHoGa+UqaqwyeA==", "dev": true }, + "node_modules/@types/send": { + "version": "0.17.1", + "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.1.tgz", + "integrity": "sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==", + "dev": true, + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "node_modules/@types/serve-index": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/@types/serve-index/-/serve-index-1.9.1.tgz", + "integrity": "sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg==", + "dev": true, + "dependencies": { + "@types/express": "*" + } + }, + "node_modules/@types/serve-static": { + "version": "1.15.2", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.2.tgz", + "integrity": "sha512-J2LqtvFYCzaj8pVYKw8klQXrLLk7TBZmQ4ShlcdkELFKGwGMfevMLneMMRkMgZxotOD9wg497LpC7O8PcvAmfw==", + "dev": true, + "dependencies": { + "@types/http-errors": "*", + "@types/mime": "*", + "@types/node": "*" + } + }, + "node_modules/@types/sockjs": { + "version": "0.3.33", + "resolved": "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.33.tgz", + "integrity": "sha512-f0KEEe05NvUnat+boPTZ0dgaLZ4SfSouXUgv5noUiefG2ajgKjmETo9ZJyuqsl7dfl2aHlLJUiki6B4ZYldiiw==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/ws": { + "version": "8.5.5", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.5.tgz", + "integrity": "sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@typescript-eslint/eslint-plugin": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.3.0.tgz", @@ -3926,18 +4441,6 @@ "node": ">= 4" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -4165,9 +4668,9 @@ "dev": true }, "node_modules/abab": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", - "integrity": "sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", + "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", "dev": true }, "node_modules/abbrev": { @@ -4195,9 +4698,9 @@ "integrity": "sha512-NBOQlm9+7RBqRqZwimpgquaLeTJFayqb9UEPtTkpC3TkkwDnlsT/TwsCC0svjt9kEZ6G9mH5AEOHSz6Q/HrzQQ==" }, "node_modules/acorn": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", - "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", + "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -4207,9 +4710,9 @@ } }, "node_modules/acorn-import-assertions": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz", - "integrity": "sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz", + "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==", "dev": true, "peerDependencies": { "acorn": "^8" @@ -4285,14 +4788,6 @@ "node": ">= 8.0.0" } }, - "node_modules/agentkeepalive/node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", @@ -4340,9 +4835,9 @@ } }, "node_modules/ajv-formats/node_modules/ajv": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.8.2.tgz", - "integrity": "sha512-x9VuX+R/jcFj1DHo/fCp99esgGDWiHENrKxaCENuCxpoMCmAt/COCGVDwA7kleEpEzJjDnvh3yGoOuLu0Dtllw==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", @@ -4384,9 +4879,9 @@ } }, "node_modules/ansi-colors": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", - "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", "dev": true, "engines": { "node": ">=6" @@ -4469,11 +4964,38 @@ } }, "node_modules/aproba": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", + "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", "dev": true }, + "node_modules/are-we-there-yet": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", + "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", + "dev": true, + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/are-we-there-yet/node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -4550,15 +5072,6 @@ "node": ">=0.8" } }, - "node_modules/async": { - "version": "2.6.4", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", - "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", - "dev": true, - "dependencies": { - "lodash": "^4.17.14" - } - }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -4574,61 +5087,37 @@ "node": ">= 4.0.0" } }, - "node_modules/atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "dev": true, - "bin": { - "atob": "bin/atob.js" - }, - "engines": { - "node": ">= 4.5.0" - } - }, "node_modules/autoprefixer": { - "version": "9.8.8", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.8.8.tgz", - "integrity": "sha512-eM9d/swFopRt5gdJ7jrpCwgvEMIayITpojhkkSMRsFHYuH5bkSQ4p/9qTEHtmNudUZh22Tehu7I6CxAW0IXTKA==", + "version": "10.4.14", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", + "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==", "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + } + ], "dependencies": { - "browserslist": "^4.12.0", - "caniuse-lite": "^1.0.30001109", + "browserslist": "^4.21.5", + "caniuse-lite": "^1.0.30001464", + "fraction.js": "^4.2.0", "normalize-range": "^0.1.2", - "num2fraction": "^1.2.2", - "picocolors": "^0.2.1", - "postcss": "^7.0.32", - "postcss-value-parser": "^4.1.0" + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" }, "bin": { "autoprefixer": "bin/autoprefixer" }, - "funding": { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/autoprefixer" - } - }, - "node_modules/autoprefixer/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/autoprefixer/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", - "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, "engines": { - "node": ">=6.0.0" + "node": "^10 || ^12 || >=14" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "peerDependencies": { + "postcss": "^8.1.0" } }, "node_modules/aws-sign2": { @@ -4647,13 +5136,13 @@ "dev": true }, "node_modules/babel-loader": { - "version": "8.2.3", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.3.tgz", - "integrity": "sha512-n4Zeta8NC3QAsuyiizu0GkmRcQ6clkV9WFUnUf1iXP//IeSKbWjofW3UHyZVwlOB4y039YQKefawyTn64Zwbuw==", + "version": "8.2.5", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.5.tgz", + "integrity": "sha512-OSiFfH89LrEMiWd4pLNqGz4CwJDtbs2ZVc+iGu2HrkRfPxId9F2anQj38IxWpmRfsUY0aBZYi1EFcd3mhtRMLQ==", "dev": true, "dependencies": { "find-cache-dir": "^3.3.1", - "loader-utils": "^1.4.0", + "loader-utils": "^2.0.0", "make-dir": "^3.1.0", "schema-utils": "^2.6.5" }, @@ -4665,30 +5154,18 @@ "webpack": ">=2" } }, - "node_modules/babel-loader/node_modules/json5": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", - "dev": true, - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, "node_modules/babel-loader/node_modules/loader-utils": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.2.tgz", - "integrity": "sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", "dev": true, "dependencies": { "big.js": "^5.2.2", "emojis-list": "^3.0.0", - "json5": "^1.0.1" + "json5": "^2.1.2" }, "engines": { - "node": ">=4.0.0" + "node": ">=8.9.0" } }, "node_modules/babel-loader/node_modules/make-dir": { @@ -4707,23 +5184,14 @@ } }, "node_modules/babel-loader/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" } }, - "node_modules/babel-plugin-dynamic-import-node": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", - "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", - "dev": true, - "dependencies": { - "object.assign": "^4.1.0" - } - }, "node_modules/babel-plugin-istanbul": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", @@ -4741,13 +5209,13 @@ } }, "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.0.tgz", - "integrity": "sha512-wMDoBJ6uG4u4PNFh72Ty6t3EgfA91puCuAwKIazbQlci+ENb/UU9A3xG5lutjUIiXCIn1CY5L15r9LimiJyrSA==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz", + "integrity": "sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.13.11", - "@babel/helper-define-polyfill-provider": "^0.3.0", + "@babel/compat-data": "^7.17.7", + "@babel/helper-define-polyfill-provider": "^0.3.3", "semver": "^6.1.1" }, "peerDependencies": { @@ -4755,34 +5223,34 @@ } }, "node_modules/babel-plugin-polyfill-corejs2/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" } }, "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.4.0.tgz", - "integrity": "sha512-YxFreYwUfglYKdLUGvIF2nJEsGwj+RhWSX/ije3D2vQPOXuyMLMtg/cCGMDpOA7Nd+MwlNdnGODbd2EwUZPlsw==", + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.3.tgz", + "integrity": "sha512-zKsXDh0XjnrUEW0mxIHLfjBfnXSMr5Q/goMe/fxpQnLm07mcOZiIZHBNWCMx60HmdvjxfXcalac0tfFg0wqxyw==", "dev": true, "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.3.0", - "core-js-compat": "^3.18.0" + "@babel/helper-define-polyfill-provider": "^0.3.2", + "core-js-compat": "^3.21.0" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.0.tgz", - "integrity": "sha512-dhAPTDLGoMW5/84wkgwiLRwMnio2i1fUe53EuvtKMv0pn2p3S8OCoV1xAzfJPl0KOX7IB89s2ib85vbYiea3jg==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz", + "integrity": "sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw==", "dev": true, "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.3.0" + "@babel/helper-define-polyfill-provider": "^0.3.3" }, "peerDependencies": { "@babel/core": "^7.0.0-0" @@ -4825,7 +5293,7 @@ "node_modules/batch": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", - "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=", + "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", "dev": true }, "node_modules/bcrypt-pbkdf": { @@ -4928,15 +5396,6 @@ "ms": "2.0.0" } }, - "node_modules/body-parser/node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/body-parser/node_modules/on-finished": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", @@ -4949,24 +5408,22 @@ "node": ">= 0.8" } }, - "node_modules/bonjour": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/bonjour/-/bonjour-3.5.0.tgz", - "integrity": "sha1-jokKGD2O6aI5OzhExpGkK897yfU=", + "node_modules/bonjour-service": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.1.1.tgz", + "integrity": "sha512-Z/5lQRMOG9k7W+FkeGTNjh7htqn/2LMnfOvBZ8pynNZCM9MwkQkI3zeI4oz09uWdcgmgHugVvBqxGg4VQJ5PCg==", "dev": true, "dependencies": { - "array-flatten": "^2.1.0", - "deep-equal": "^1.0.1", + "array-flatten": "^2.1.2", "dns-equal": "^1.0.0", - "dns-txt": "^2.0.2", - "multicast-dns": "^6.0.1", - "multicast-dns-service-types": "^1.1.0" + "fast-deep-equal": "^3.1.3", + "multicast-dns": "^7.2.5" } }, "node_modules/boolbase": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", "dev": true }, "node_modules/brace-expansion": { @@ -5004,26 +5461,35 @@ "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" }, "node_modules/browserslist": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.19.1.tgz", - "integrity": "sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A==", + "version": "4.21.10", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.10.tgz", + "integrity": "sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==", "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "dependencies": { - "caniuse-lite": "^1.0.30001286", - "electron-to-chromium": "^1.4.17", - "escalade": "^3.1.1", - "node-releases": "^2.0.1", - "picocolors": "^1.0.0" + "caniuse-lite": "^1.0.30001517", + "electron-to-chromium": "^1.4.477", + "node-releases": "^2.0.13", + "update-browserslist-db": "^1.0.11" }, "bin": { "browserslist": "cli.js" }, "engines": { "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" } }, "node_modules/browserstack": { @@ -5065,12 +5531,6 @@ "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", "dev": true }, - "node_modules/buffer-indexof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-indexof/-/buffer-indexof-1.1.1.tgz", - "integrity": "sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g==", - "dev": true - }, "node_modules/builtin-modules": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", @@ -5081,10 +5541,28 @@ } }, "node_modules/builtins": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", - "integrity": "sha1-y5T662HIaWRR2zZTThQi+U8K7og=", - "dev": true + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", + "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", + "dev": true, + "dependencies": { + "semver": "^7.0.0" + } + }, + "node_modules/builtins/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } }, "node_modules/bytes": { "version": "3.1.2", @@ -5096,50 +5574,99 @@ } }, "node_modules/cacache": { - "version": "15.3.0", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-15.3.0.tgz", - "integrity": "sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==", + "version": "16.1.2", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-16.1.2.tgz", + "integrity": "sha512-Xx+xPlfCZIUHagysjjOAje9nRo8pRDczQCcXb4J2O0BLtH+xeVue6ba4y1kfJfQMAnM2mkcoMIAyOctlaRGWYA==", "dev": true, "dependencies": { - "@npmcli/fs": "^1.0.0", - "@npmcli/move-file": "^1.0.1", + "@npmcli/fs": "^2.1.0", + "@npmcli/move-file": "^2.0.0", "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "glob": "^7.1.4", + "fs-minipass": "^2.1.0", + "glob": "^8.0.1", "infer-owner": "^1.0.4", - "lru-cache": "^6.0.0", - "minipass": "^3.1.1", + "lru-cache": "^7.7.1", + "minipass": "^3.1.6", "minipass-collect": "^1.0.2", "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.2", - "mkdirp": "^1.0.3", + "minipass-pipeline": "^1.2.4", + "mkdirp": "^1.0.4", "p-map": "^4.0.0", "promise-inflight": "^1.0.1", "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.0.2", + "ssri": "^9.0.0", + "tar": "^6.1.11", "unique-filename": "^1.1.1" }, "engines": { - "node": ">= 10" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/cacache/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "node_modules/cacache/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" + "dependencies": { + "balanced-match": "^1.0.0" } }, - "node_modules/cacache/node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "node_modules/cacache/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/cacache/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cacache/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cacache/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "dependencies": { "glob": "^7.1.3" @@ -5151,6 +5678,48 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/cacache/node_modules/rimraf/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/cacache/node_modules/rimraf/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/rimraf/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/call-bind": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", @@ -5207,20 +5776,24 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001294", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001294.tgz", - "integrity": "sha512-LiMlrs1nSKZ8qkNhpUf5KD0Al1KCBE3zaT7OLOwEkagXMEDij98SiOovn9wxVGQpklk9vVC/pUSqgYmkmKOS8g==", + "version": "1.0.30001517", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz", + "integrity": "sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==", "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/canonical-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/canonical-path/-/canonical-path-1.0.0.tgz", - "integrity": "sha512-feylzsbDxi1gPZ1IjystzIQZagYYLvfKrSuygUCgf7z6x790VEzze5QEkdSV1U58RA7Hi0+v6fv4K54atOzATg==", - "dev": true + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] }, "node_modules/caseless": { "version": "0.12.0", @@ -5323,18 +5896,6 @@ "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", "dev": true }, - "node_modules/circular-dependency-plugin": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/circular-dependency-plugin/-/circular-dependency-plugin-5.2.2.tgz", - "integrity": "sha512-g38K9Cm5WRwlaH6g03B9OEz/0qRizI+2I7n+Gz+L5DxXJAPAiWQvwlYNm1V1jkdpUv95bOe/ASm2vfi/G560jQ==", - "dev": true, - "engines": { - "node": ">=6.0.0" - }, - "peerDependencies": { - "webpack": ">=4.0.1" - } - }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", @@ -5442,9 +6003,9 @@ } }, "node_modules/colorette": { - "version": "2.0.16", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", - "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", "dev": true }, "node_modules/colors": { @@ -5476,7 +6037,7 @@ "node_modules/commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", "dev": true }, "node_modules/compressible": { @@ -5512,7 +6073,7 @@ "node_modules/compression/node_modules/bytes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", - "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", + "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==", "dev": true, "engines": { "node": ">= 0.8" @@ -5548,9 +6109,9 @@ } }, "node_modules/connect-history-api-fallback": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz", - "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz", + "integrity": "sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==", "dev": true, "engines": { "node": ">=0.8" @@ -5568,7 +6129,7 @@ "node_modules/console-control-strings": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==", "dev": true }, "node_modules/content-disposition": { @@ -5633,33 +6194,36 @@ "node_modules/cookie-signature": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", "dev": true }, "node_modules/copy-anything": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.3.tgz", - "integrity": "sha512-GK6QUtisv4fNS+XcI7shX0Gx9ORg7QqIznyfho79JTnX1XhLiyZHfftvGiziqzRiEi/Bjhgpi+D2o7HxJFPnDQ==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.6.tgz", + "integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==", "dev": true, "dependencies": { - "is-what": "^3.12.0" + "is-what": "^3.14.1" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" } }, "node_modules/copy-webpack-plugin": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-10.0.0.tgz", - "integrity": "sha512-tuCVuFMBbRsb7IH0q1CUb50/Skv+7a6c7DJ+xi4fAbOzNLTYVMUTPnf8uGvKPtmqTvzYBrfEFo7YgP4TsUWmtg==", + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-11.0.0.tgz", + "integrity": "sha512-fX2MWpamkW0hZxMEg0+mYnA40LTosOSa5TqZ9GYIBzyJa9C3QUaMPSE2xAi/buNr8u89SfD9wHSQVBzrRa/SOQ==", "dev": true, "dependencies": { - "fast-glob": "^3.2.7", + "fast-glob": "^3.2.11", "glob-parent": "^6.0.1", - "globby": "^12.0.2", + "globby": "^13.1.1", "normalize-path": "^3.0.0", "schema-utils": "^4.0.0", "serialize-javascript": "^6.0.0" }, "engines": { - "node": ">= 12.20.0" + "node": ">= 14.15.0" }, "funding": { "type": "opencollective", @@ -5670,9 +6234,9 @@ } }, "node_modules/copy-webpack-plugin/node_modules/ajv": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.8.2.tgz", - "integrity": "sha512-x9VuX+R/jcFj1DHo/fCp99esgGDWiHENrKxaCENuCxpoMCmAt/COCGVDwA7kleEpEzJjDnvh3yGoOuLu0Dtllw==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", @@ -5697,69 +6261,44 @@ "ajv": "^8.8.2" } }, - "node_modules/copy-webpack-plugin/node_modules/array-union": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-3.0.1.tgz", - "integrity": "sha512-1OvF9IbWwaeiM9VhzYXVQacMibxpXOMYVNIvMtKRyX9SImBXpKcFr8XvFDeEslCyuH/t6KRt7HEO94AlP8Iatw==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/copy-webpack-plugin/node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "node_modules/copy-webpack-plugin/node_modules/fast-glob": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", + "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", "dev": true, "dependencies": { - "is-glob": "^4.0.3" + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" }, "engines": { - "node": ">=10.13.0" + "node": ">=8.6.0" } }, - "node_modules/copy-webpack-plugin/node_modules/globby": { - "version": "12.0.2", - "resolved": "https://registry.npmjs.org/globby/-/globby-12.0.2.tgz", - "integrity": "sha512-lAsmb/5Lww4r7MM9nCCliDZVIKbZTavrsunAsHLr9oHthrZP1qi7/gAnHOsUs9bLvEt2vKVJhHmxuL7QbDuPdQ==", + "node_modules/copy-webpack-plugin/node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, "dependencies": { - "array-union": "^3.0.1", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.7", - "ignore": "^5.1.8", - "merge2": "^1.4.1", - "slash": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "is-glob": "^4.0.1" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/copy-webpack-plugin/node_modules/ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", - "dev": true, "engines": { - "node": ">= 4" + "node": ">= 6" } }, - "node_modules/copy-webpack-plugin/node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "node_modules/copy-webpack-plugin/node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, "dependencies": { - "is-extglob": "^2.1.1" + "is-glob": "^4.0.3" }, "engines": { - "node": ">=0.10.0" + "node": ">=10.13.0" } }, "node_modules/copy-webpack-plugin/node_modules/json-schema-traverse": { @@ -5769,15 +6308,15 @@ "dev": true }, "node_modules/copy-webpack-plugin/node_modules/schema-utils": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", - "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", + "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.9", - "ajv": "^8.8.0", + "ajv": "^8.9.0", "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.0.0" + "ajv-keywords": "^5.1.0" }, "engines": { "node": ">= 12.13.0" @@ -5787,18 +6326,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/copy-webpack-plugin/node_modules/slash": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", - "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/core-js": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz", @@ -5807,28 +6334,18 @@ "hasInstallScript": true }, "node_modules/core-js-compat": { - "version": "3.20.1", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.20.1.tgz", - "integrity": "sha512-AVhKZNpqMV3Jz8hU0YEXXE06qoxtQGsAqU0u1neUngz5IusDJRX/ZJ6t3i7mS7QxNyEONbCo14GprkBrxPlTZA==", + "version": "3.32.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.32.0.tgz", + "integrity": "sha512-7a9a3D1k4UCVKnLhrgALyFcP7YCsLOQIxPd0dKjf/6GuPcgyiGP70ewWdCGrSK7evyhymi0qO4EqCmSJofDeYw==", "dev": true, "dependencies": { - "browserslist": "^4.19.1", - "semver": "7.0.0" + "browserslist": "^4.21.9" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/core-js" } }, - "node_modules/core-js-compat/node_modules/semver": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", - "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/core-js-pure": { "version": "3.21.0", "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.21.0.tgz", @@ -5875,13 +6392,13 @@ } }, "node_modules/critters": { - "version": "0.0.15", - "resolved": "https://registry.npmjs.org/critters/-/critters-0.0.15.tgz", - "integrity": "sha512-AE7hkXb3eZUbEvS1SKZa+OU4o2kUOXtzVeE/2E/mjU/0mV1wpBT1HfUCWVRS4zwvkBNJ0AQYsVjAoFm+kIhfdw==", + "version": "0.0.16", + "resolved": "https://registry.npmjs.org/critters/-/critters-0.0.16.tgz", + "integrity": "sha512-JwjgmO6i3y6RWtLYmXwO5jMd+maZt8Tnfu7VVISmEWyQqfLpB8soBswf8/2bu6SBXxtKA68Al3c+qIG1ApT68A==", "dev": true, "dependencies": { "chalk": "^4.1.0", - "css-select": "^4.1.3", + "css-select": "^4.2.0", "parse5": "^6.0.1", "parse5-htmlparser2-tree-adapter": "^6.0.1", "postcss": "^8.3.7", @@ -5971,133 +6488,55 @@ "node": ">= 8" } }, - "node_modules/css": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/css/-/css-3.0.0.tgz", - "integrity": "sha512-DG9pFfwOrzc+hawpmqX/dHYHJG+Bsdb0klhyi1sDneOgGOXy9wQIC8hzyVp1e4NRYDBdxcylvywPkkXCHAzTyQ==", - "dev": true, - "dependencies": { - "inherits": "^2.0.4", - "source-map": "^0.6.1", - "source-map-resolve": "^0.6.0" - } - }, "node_modules/css-blank-pseudo": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/css-blank-pseudo/-/css-blank-pseudo-0.1.4.tgz", - "integrity": "sha512-LHz35Hr83dnFeipc7oqFDmsjHdljj3TQtxGGiNWSOsTLIAubSm4TEz8qCaKFpk7idaQ1GfWscF4E6mgpBysA1w==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/css-blank-pseudo/-/css-blank-pseudo-3.0.3.tgz", + "integrity": "sha512-VS90XWtsHGqoM0t4KpH053c4ehxZ2E6HtGI7x68YFV0pTo/QmkV/YFA+NnlvK8guxZVNWGQhVNJGC39Q8XF4OQ==", "dev": true, "dependencies": { - "postcss": "^7.0.5" + "postcss-selector-parser": "^6.0.9" }, "bin": { - "css-blank-pseudo": "cli.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/css-blank-pseudo/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/css-blank-pseudo/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", - "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "css-blank-pseudo": "dist/cli.cjs" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "peerDependencies": { + "postcss": "^8.4" } }, "node_modules/css-has-pseudo": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/css-has-pseudo/-/css-has-pseudo-0.10.0.tgz", - "integrity": "sha512-Z8hnfsZu4o/kt+AuFzeGpLVhFOGO9mluyHBaA2bA8aCGTwah5sT3WV/fTHH8UNZUytOIImuGPrl/prlb4oX4qQ==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/css-has-pseudo/-/css-has-pseudo-3.0.4.tgz", + "integrity": "sha512-Vse0xpR1K9MNlp2j5w1pgWIJtm1a8qS0JwS9goFYcImjlHEmywP9VUF05aGBXzGpDJF86QXk4L0ypBmwPhGArw==", "dev": true, "dependencies": { - "postcss": "^7.0.6", - "postcss-selector-parser": "^5.0.0-rc.4" - }, - "bin": { - "css-has-pseudo": "cli.js" + "postcss-selector-parser": "^6.0.9" }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/css-has-pseudo/node_modules/cssesc": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-2.0.0.tgz", - "integrity": "sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg==", - "dev": true, "bin": { - "cssesc": "bin/cssesc" + "css-has-pseudo": "dist/cli.cjs" }, "engines": { - "node": ">=4" - } - }, - "node_modules/css-has-pseudo/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/css-has-pseudo/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", - "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/css-has-pseudo/node_modules/postcss-selector-parser": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-5.0.0.tgz", - "integrity": "sha512-w+zLE5Jhg6Liz8+rQOWEAwtwkyqpfnmsinXjXg6cY7YIONZZtgvE0v2O0uhQBs0peNomOJwWRKt6JBfTdTd3OQ==", - "dev": true, - "dependencies": { - "cssesc": "^2.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" + "node": "^12 || ^14 || >=16" }, - "engines": { - "node": ">=4" + "peerDependencies": { + "postcss": "^8.4" } }, "node_modules/css-loader": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.5.1.tgz", - "integrity": "sha512-gEy2w9AnJNnD9Kuo4XAP9VflW/ujKoS9c/syO+uWMlm5igc7LysKzPXaDoR2vroROkSwsTS2tGr1yGGEbZOYZQ==", + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.7.1.tgz", + "integrity": "sha512-yB5CNFa14MbPJcomwNh3wLThtkZgcNyI2bNMRt8iE5Z8Vwl7f8vQXFAzn2HDOJvtDq2NTZBUGMSUNNyrv3/+cw==", "dev": true, "dependencies": { "icss-utils": "^5.1.0", - "postcss": "^8.2.15", + "postcss": "^8.4.7", "postcss-modules-extract-imports": "^3.0.0", "postcss-modules-local-by-default": "^4.0.0", "postcss-modules-scope": "^3.0.0", "postcss-modules-values": "^4.0.0", - "postcss-value-parser": "^4.1.0", + "postcss-value-parser": "^4.2.0", "semver": "^7.3.5" }, "engines": { @@ -6112,9 +6551,9 @@ } }, "node_modules/css-loader/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -6127,52 +6566,29 @@ } }, "node_modules/css-prefers-color-scheme": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/css-prefers-color-scheme/-/css-prefers-color-scheme-3.1.1.tgz", - "integrity": "sha512-MTu6+tMs9S3EUqzmqLXEcgNRbNkkD/TGFvowpeoWJn5Vfq7FMgsmRQs9X5NXAURiOBmOxm/lLjsDNXDE6k9bhg==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/css-prefers-color-scheme/-/css-prefers-color-scheme-6.0.3.tgz", + "integrity": "sha512-4BqMbZksRkJQx2zAjrokiGMd07RqOa2IxIrrN10lyBe9xhn9DEvjUK79J6jkeiv9D9hQFXKb6g1jwU62jziJZA==", "dev": true, - "dependencies": { - "postcss": "^7.0.5" - }, "bin": { - "css-prefers-color-scheme": "cli.js" + "css-prefers-color-scheme": "dist/cli.cjs" }, "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/css-prefers-color-scheme/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/css-prefers-color-scheme/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", - "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "peerDependencies": { + "postcss": "^8.4" } }, "node_modules/css-select": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.2.1.tgz", - "integrity": "sha512-/aUslKhzkTNCQUB2qTX84lVmfia9NyjP3WpDGtj/WxhwBzWBYUV3DgUpurHTme8UTPcPlAD1DJ+b0nN/t50zDQ==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz", + "integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==", "dev": true, "dependencies": { "boolbase": "^1.0.0", - "css-what": "^5.1.0", - "domhandler": "^4.3.0", + "css-what": "^6.0.1", + "domhandler": "^4.3.1", "domutils": "^2.8.0", "nth-check": "^2.0.1" }, @@ -6181,9 +6597,9 @@ } }, "node_modules/css-what": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-5.1.0.tgz", - "integrity": "sha512-arSMRWIIFY0hV8pIxZMEfmMI47Wj3R/aWpZDDxWYCPEiOMv6tfOrnpDtgxBYPEQD4V0Y/958+1TdC3iWTFcUPw==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", + "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", "dev": true, "engines": { "node": ">= 6" @@ -6193,10 +6609,20 @@ } }, "node_modules/cssdb": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/cssdb/-/cssdb-4.4.0.tgz", - "integrity": "sha512-LsTAR1JPEM9TpGhl/0p3nQecC2LJ0kD8X5YARu1hk/9I1gril5vDtMZyNxcEpxxDj34YNck/ucjuoUd66K03oQ==", - "dev": true + "version": "7.7.0", + "resolved": "https://registry.npmjs.org/cssdb/-/cssdb-7.7.0.tgz", + "integrity": "sha512-1hN+I3r4VqSNQ+OmMXxYexnumbOONkSil0TWMebVXHtzYW4tRRPovUNHPHj2d4nrgOuYJ8Vs3XwvywsuwwXNNA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + } + ] }, "node_modules/cssesc": { "version": "3.0.0", @@ -6293,23 +6719,6 @@ "node": ">=0.10" } }, - "node_modules/deep-equal": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz", - "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==", - "dev": true, - "dependencies": { - "is-arguments": "^1.0.4", - "is-date-object": "^1.0.1", - "is-regex": "^1.0.4", - "object-is": "^1.0.1", - "object-keys": "^1.1.1", - "regexp.prototype.flags": "^1.2.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", @@ -6396,12 +6805,6 @@ "node": ">=8" } }, - "node_modules/default-gateway/node_modules/signal-exit": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.6.tgz", - "integrity": "sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ==", - "dev": true - }, "node_modules/defaults": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", @@ -6420,18 +6823,6 @@ "node": ">=8" } }, - "node_modules/define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, - "dependencies": { - "object-keys": "^1.0.12" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/del": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", @@ -6479,16 +6870,15 @@ "node_modules/delegates": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", "dev": true }, "node_modules/depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", - "dev": true, + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", "engines": { - "node": ">= 0.6" + "node": ">= 0.8" } }, "node_modules/dependency-graph": { @@ -6546,26 +6936,19 @@ "node_modules/dns-equal": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", - "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=", + "integrity": "sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg==", "dev": true }, "node_modules/dns-packet": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.4.tgz", - "integrity": "sha512-BQ6F4vycLXBvdrJZ6S3gZewt6rcrks9KBgM9vrhW+knGRqc8uEdT7fuCwloc7nny5xNoMJ17HGH0R/6fpo8ECA==", - "dev": true, - "dependencies": { - "ip": "^1.1.0", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/dns-txt": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/dns-txt/-/dns-txt-2.0.2.tgz", - "integrity": "sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY=", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.6.0.tgz", + "integrity": "sha512-rza3UH1LwdHh9qyPXp8lkwpjSNk/AMD3dPytUoRoqnypDUhY0xvbdmVhWOfxO68frEfV9BU8V12Ez7ZsHGZpCQ==", "dev": true, "dependencies": { - "buffer-indexof": "^1.0.0" + "@leichtgewicht/ip-codec": "^2.0.1" + }, + "engines": { + "node": ">=6" } }, "node_modules/doctrine": { @@ -6593,9 +6976,9 @@ } }, "node_modules/dom-serializer": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", - "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", + "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", "dev": true, "dependencies": { "domelementtype": "^2.0.1", @@ -6607,9 +6990,9 @@ } }, "node_modules/domelementtype": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", - "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", "dev": true, "funding": [ { @@ -6619,9 +7002,9 @@ ] }, "node_modules/domhandler": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.0.tgz", - "integrity": "sha512-fC0aXNQXqKSFTr2wDNZDhsEYjCiYsDWl3D01kwt25hm1YIPyDGHvvi3rw+PLqHAl/m71MaiF7d5zvBr0p5UB2g==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", + "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", "dev": true, "dependencies": { "domelementtype": "^2.2.0" @@ -6647,6 +7030,12 @@ "url": "https://github.com/fb55/domutils?sponsor=1" } }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true + }, "node_modules/ecc-jsbn": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", @@ -6679,9 +7068,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.29", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.29.tgz", - "integrity": "sha512-N2Jbwxo5Rum8G2YXeUxycs1sv4Qme/ry71HG73bv8BvZl+I/4JtRgK/En+ST/Wh/yF1fqvVCY4jZBgMxnhjtBA==", + "version": "1.4.477", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.477.tgz", + "integrity": "sha512-shUVy6Eawp33dFBFIoYbIwLHrX0IZ857AlH9ug2o4rvbWmpaCUdBpQ5Zw39HRrfzAFm4APJE9V+E2A/WB0YqJw==", "dev": true }, "node_modules/emitter-component": { @@ -6774,9 +7163,9 @@ } }, "node_modules/enhanced-resolve": { - "version": "5.8.3", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.3.tgz", - "integrity": "sha512-EGAbGvH7j7Xt2nc0E7D99La1OiEs8LnyimkRgwExpUMScN6O+3x9tIWs7PLQZVNx4YD+00skHXPXi1yQHpAmZA==", + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz", + "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==", "dev": true, "dependencies": { "graceful-fs": "^4.2.4", @@ -6786,12 +7175,6 @@ "node": ">=10.13.0" } }, - "node_modules/enhanced-resolve/node_modules/graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", - "dev": true - }, "node_modules/enquirer": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", @@ -6876,10 +7259,63 @@ "es6-promise": "^4.0.3" } }, + "node_modules/esbuild": { + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.5.tgz", + "integrity": "sha512-VSf6S1QVqvxfIsSKb3UKr3VhUCis7wgDbtF4Vd9z84UJr05/Sp2fRKmzC+CSPG/dNAPPJZ0BTBLTT1Fhd6N9Gg==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/linux-loong64": "0.15.5", + "esbuild-android-64": "0.15.5", + "esbuild-android-arm64": "0.15.5", + "esbuild-darwin-64": "0.15.5", + "esbuild-darwin-arm64": "0.15.5", + "esbuild-freebsd-64": "0.15.5", + "esbuild-freebsd-arm64": "0.15.5", + "esbuild-linux-32": "0.15.5", + "esbuild-linux-64": "0.15.5", + "esbuild-linux-arm": "0.15.5", + "esbuild-linux-arm64": "0.15.5", + "esbuild-linux-mips64le": "0.15.5", + "esbuild-linux-ppc64le": "0.15.5", + "esbuild-linux-riscv64": "0.15.5", + "esbuild-linux-s390x": "0.15.5", + "esbuild-netbsd-64": "0.15.5", + "esbuild-openbsd-64": "0.15.5", + "esbuild-sunos-64": "0.15.5", + "esbuild-windows-32": "0.15.5", + "esbuild-windows-64": "0.15.5", + "esbuild-windows-arm64": "0.15.5" + } + }, + "node_modules/esbuild-android-64": { + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.15.5.tgz", + "integrity": "sha512-dYPPkiGNskvZqmIK29OPxolyY3tp+c47+Fsc2WYSOVjEPWNCHNyqhtFqQadcXMJDQt8eN0NMDukbyQgFcHquXg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/esbuild-android-arm64": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.14.2.tgz", - "integrity": "sha512-hEixaKMN3XXCkoe+0WcexO4CcBVU5DCSUT+7P8JZiWZCbAjSkc9b6Yz2X5DSfQmRCtI/cQRU6TfMYrMQ5NBfdw==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.15.5.tgz", + "integrity": "sha512-YyEkaQl08ze3cBzI/4Cm1S+rVh8HMOpCdq8B78JLbNFHhzi4NixVN93xDrHZLztlocEYqi45rHHCgA8kZFidFg==", "cpu": [ "arm64" ], @@ -6887,12 +7323,15 @@ "optional": true, "os": [ "android" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-darwin-64": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.14.2.tgz", - "integrity": "sha512-Uq8t0cbJQkxkQdbUfOl2wZqZ/AtLZjvJulR1HHnc96UgyzG9YlCLSDMiqjM+NANEy7/zzvwKJsy3iNC9wwqLJA==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.5.tgz", + "integrity": "sha512-Cr0iIqnWKx3ZTvDUAzG0H/u9dWjLE4c2gTtRLz4pqOBGjfjqdcZSfAObFzKTInLLSmD0ZV1I/mshhPoYSBMMCQ==", "cpu": [ "x64" ], @@ -6900,12 +7339,15 @@ "optional": true, "os": [ "darwin" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-darwin-arm64": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.2.tgz", - "integrity": "sha512-619MSa17sr7YCIrUj88KzQu2ESA4jKYtIYfLU/smX6qNgxQt3Y/gzM4s6sgJ4fPQzirvmXgcHv1ZNQAs/Xh48A==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.5.tgz", + "integrity": "sha512-WIfQkocGtFrz7vCu44ypY5YmiFXpsxvz2xqwe688jFfSVCnUsCn2qkEVDo7gT8EpsLOz1J/OmqjExePL1dr1Kg==", "cpu": [ "arm64" ], @@ -6913,12 +7355,15 @@ "optional": true, "os": [ "darwin" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-freebsd-64": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.2.tgz", - "integrity": "sha512-aP6FE/ZsChZpUV6F3HE3x1Pz0paoYXycJ7oLt06g0G9dhJKknPawXCqQg/WMyD+ldCEZfo7F1kavenPdIT/SGQ==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.5.tgz", + "integrity": "sha512-M5/EfzV2RsMd/wqwR18CELcenZ8+fFxQAAEO7TJKDmP3knhWSbD72ILzrXFMMwshlPAS1ShCZ90jsxkm+8FlaA==", "cpu": [ "x64" ], @@ -6926,12 +7371,15 @@ "optional": true, "os": [ "freebsd" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-freebsd-arm64": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.2.tgz", - "integrity": "sha512-LSm98WTb1QIhyS83+Po0KTpZNdd2XpVpI9ua5rLWqKWbKeNRFwOsjeiuwBaRNc+O32s9oC2ZMefETxHBV6VNkQ==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.5.tgz", + "integrity": "sha512-2JQQ5Qs9J0440F/n/aUBNvY6lTo4XP/4lt1TwDfHuo0DY3w5++anw+jTjfouLzbJmFFiwmX7SmUhMnysocx96w==", "cpu": [ "arm64" ], @@ -6939,12 +7387,15 @@ "optional": true, "os": [ "freebsd" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-linux-32": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.14.2.tgz", - "integrity": "sha512-8VxnNEyeUbiGflTKcuVc5JEPTqXfsx2O6ABwUbfS1Hp26lYPRPC7pKQK5Dxa0MBejGc50jy7YZae3EGQUQ8EkQ==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.15.5.tgz", + "integrity": "sha512-gO9vNnIN0FTUGjvTFucIXtBSr1Woymmx/aHQtuU+2OllGU6YFLs99960UD4Dib1kFovVgs59MTXwpFdVoSMZoQ==", "cpu": [ "ia32" ], @@ -6952,12 +7403,15 @@ "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-linux-64": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.14.2.tgz", - "integrity": "sha512-4bzMS2dNxOJoFIiHId4w+tqQzdnsch71JJV1qZnbnErSFWcR9lRgpSqWnTTFtv6XM+MvltRzSXC5wQ7AEBY6Hg==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.5.tgz", + "integrity": "sha512-ne0GFdNLsm4veXbTnYAWjbx3shpNKZJUd6XpNbKNUZaNllDZfYQt0/zRqOg0sc7O8GQ+PjSMv9IpIEULXVTVmg==", "cpu": [ "x64" ], @@ -6965,12 +7419,15 @@ "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-linux-arm": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.14.2.tgz", - "integrity": "sha512-PaylahvMHhH8YMfJPMKEqi64qA0Su+d4FNfHKvlKes/2dUe4QxgbwXT9oLVgy8iJdcFMrO7By4R8fS8S0p8aVQ==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.15.5.tgz", + "integrity": "sha512-wvAoHEN+gJ/22gnvhZnS/+2H14HyAxM07m59RSLn3iXrQsdS518jnEWRBnJz3fR6BJa+VUTo0NxYjGaNt7RA7Q==", "cpu": [ "arm" ], @@ -6978,12 +7435,15 @@ "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-linux-arm64": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.2.tgz", - "integrity": "sha512-RlIVp0RwJrdtasDF1vTFueLYZ8WuFzxoQ1OoRFZOTyJHCGCNgh7xJIC34gd7B7+RT0CzLBB4LcM5n0LS+hIoww==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.5.tgz", + "integrity": "sha512-7EgFyP2zjO065XTfdCxiXVEk+f83RQ1JsryN1X/VSX2li9rnHAt2swRbpoz5Vlrl6qjHrCmq5b6yxD13z6RheA==", "cpu": [ "arm64" ], @@ -6991,12 +7451,15 @@ "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-linux-mips64le": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.2.tgz", - "integrity": "sha512-Fdwrq2roFnO5oetIiUQQueZ3+5soCxBSJswg3MvYaXDomj47BN6oAWMZgLrFh1oVrtWrxSDLCJBenYdbm2s+qQ==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.5.tgz", + "integrity": "sha512-KdnSkHxWrJ6Y40ABu+ipTZeRhFtc8dowGyFsZY5prsmMSr1ZTG9zQawguN4/tunJ0wy3+kD54GaGwdcpwWAvZQ==", "cpu": [ "mips64el" ], @@ -7004,12 +7467,15 @@ "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-linux-ppc64le": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.2.tgz", - "integrity": "sha512-vxptskw8JfCDD9QqpRO0XnsM1osuWeRjPaXX1TwdveLogYsbdFtcuiuK/4FxGiNMUr1ojtnCS2rMPbY8puc5NA==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.5.tgz", + "integrity": "sha512-QdRHGeZ2ykl5P0KRmfGBZIHmqcwIsUKWmmpZTOq573jRWwmpfRmS7xOhmDHBj9pxv+6qRMH8tLr2fe+ZKQvCYw==", "cpu": [ "ppc64" ], @@ -7017,12 +7483,47 @@ "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-riscv64": { + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.5.tgz", + "integrity": "sha512-p+WE6RX+jNILsf+exR29DwgV6B73khEQV0qWUbzxaycxawZ8NE0wA6HnnTxbiw5f4Gx9sJDUBemh9v49lKOORA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-s390x": { + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.5.tgz", + "integrity": "sha512-J2ngOB4cNzmqLHh6TYMM/ips8aoZIuzxJnDdWutBw5482jGXiOzsPoEF4j2WJ2mGnm7FBCO4StGcwzOgic70JQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-netbsd-64": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.2.tgz", - "integrity": "sha512-I8+LzYK5iSNpspS9eCV9sW67Rj8FgMHimGri4mKiGAmN0pNfx+hFX146rYtzGtewuxKtTsPywWteHx+hPRLDsw==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.5.tgz", + "integrity": "sha512-MmKUYGDizYjFia0Rwt8oOgmiFH7zaYlsoQ3tIOfPxOqLssAsEgG0MUdRDm5lliqjiuoog8LyDu9srQk5YwWF3w==", "cpu": [ "x64" ], @@ -7030,12 +7531,15 @@ "optional": true, "os": [ "netbsd" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-openbsd-64": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.2.tgz", - "integrity": "sha512-120HgMe9elidWUvM2E6mMf0csrGwx8sYDqUIJugyMy1oHm+/nT08bTAVXuwYG/rkMIqsEO9AlMxuYnwR6En/3Q==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.5.tgz", + "integrity": "sha512-2mMFfkLk3oPWfopA9Plj4hyhqHNuGyp5KQyTT9Rc8hFd8wAn5ZrbJg+gNcLMo2yzf8Uiu0RT6G9B15YN9WQyMA==", "cpu": [ "x64" ], @@ -7043,12 +7547,15 @@ "optional": true, "os": [ "openbsd" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-sunos-64": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.14.2.tgz", - "integrity": "sha512-Q3xcf9Uyfra9UuCFxoLixVvdigo0daZaKJ97TL2KNA4bxRUPK18wwGUk3AxvgDQZpRmg82w9PnkaNYo7a+24ow==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.15.5.tgz", + "integrity": "sha512-2sIzhMUfLNoD+rdmV6AacilCHSxZIoGAU2oT7XmJ0lXcZWnCvCtObvO6D4puxX9YRE97GodciRGDLBaiC6x1SA==", "cpu": [ "x64" ], @@ -7056,24 +7563,27 @@ "optional": true, "os": [ "sunos" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-wasm": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.14.2.tgz", - "integrity": "sha512-Rs8NjWoo1UdsVjhxT2o6kLCX9Sh65pyd3/h4XeJ3jjQNM6NgL+/CSowuJgvOIjDAXMLXpc6fdGnyZQDil9IUJA==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.15.5.tgz", + "integrity": "sha512-lTJOEKekN/4JI/eOEq0wLcx53co2N6vaT/XjBz46D1tvIVoUEyM0o2K6txW6gEotf31szFD/J1PbxmnbkGlK9A==", "dev": true, "bin": { "esbuild": "bin/esbuild" }, "engines": { - "node": ">=8" + "node": ">=12" } }, "node_modules/esbuild-windows-32": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.14.2.tgz", - "integrity": "sha512-TW7O49tPsrq+N1sW8mb3m24j/iDGa4xzAZH4wHWwoIzgtZAYPKC0hpIhufRRG/LA30bdMChO9pjJZ5mtcybtBQ==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.15.5.tgz", + "integrity": "sha512-e+duNED9UBop7Vnlap6XKedA/53lIi12xv2ebeNS4gFmu7aKyTrok7DPIZyU5w/ftHD4MUDs5PJUkQPP9xJRzg==", "cpu": [ "ia32" ], @@ -7081,12 +7591,15 @@ "optional": true, "os": [ "win32" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-windows-64": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.14.2.tgz", - "integrity": "sha512-Rym6ViMNmi1E2QuQMWy0AFAfdY0wGwZD73BnzlsQBX5hZBuy/L+Speh7ucUZ16gwsrMM9v86icZUDrSN/lNBKg==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.5.tgz", + "integrity": "sha512-v+PjvNtSASHOjPDMIai9Yi+aP+Vwox+3WVdg2JB8N9aivJ7lyhp4NVU+J0MV2OkWFPnVO8AE/7xH+72ibUUEnw==", "cpu": [ "x64" ], @@ -7094,12 +7607,15 @@ "optional": true, "os": [ "win32" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/esbuild-windows-arm64": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.2.tgz", - "integrity": "sha512-ZrLbhr0vX5Em/P1faMnHucjVVWPS+m3tktAtz93WkMZLmbRJevhiW1y4CbulBd2z0MEdXZ6emDa1zFHq5O5bSA==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.5.tgz", + "integrity": "sha512-Yz8w/D8CUPYstvVQujByu6mlf48lKmXkq6bkeSZZxTA626efQOJb26aDGLzmFWx6eg/FwrXgt6SZs9V8Pwy/aA==", "cpu": [ "arm64" ], @@ -7107,7 +7623,10 @@ "optional": true, "os": [ "win32" - ] + ], + "engines": { + "node": ">=12" + } }, "node_modules/escalade": { "version": "3.1.1", @@ -7233,15 +7752,6 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/eslint/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/eslint/node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -7310,18 +7820,6 @@ "node": ">=10.13.0" } }, - "node_modules/eslint/node_modules/glob-parent/node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/eslint/node_modules/globals": { "version": "13.12.1", "resolved": "https://registry.npmjs.org/globals/-/globals-13.12.1.tgz", @@ -7383,18 +7881,6 @@ "node": ">=4" } }, - "node_modules/eslint/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/eslint/node_modules/type-fest": { "version": "0.20.2", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", @@ -7566,6 +8052,12 @@ "node": ">= 0.8.0" } }, + "node_modules/exponential-backoff": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", + "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==", + "dev": true + }, "node_modules/express": { "version": "4.18.2", "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", @@ -7611,7 +8103,7 @@ "node_modules/express/node_modules/array-flatten": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", "dev": true }, "node_modules/express/node_modules/cookie": { @@ -7632,15 +8124,6 @@ "ms": "2.0.0" } }, - "node_modules/express/node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/express/node_modules/finalhandler": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", @@ -7946,9 +8429,9 @@ } }, "node_modules/find-cache-dir": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz", - "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", "dev": true, "dependencies": { "commondir": "^1.0.1", @@ -8036,9 +8519,9 @@ } }, "node_modules/find-cache-dir/node_modules/semver": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.2.0.tgz", - "integrity": "sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -8090,13 +8573,6 @@ "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", "dev": true }, - "node_modules/flatten": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.3.tgz", - "integrity": "sha512-dVsPA/UwQ8+2uoFe5GHtiBMu48dWLTdsuEd7CKGlZlD78r1TTWBvDuFaFGKCo/ZfEr95Uk56vZoX86OsHkUeIg==", - "deprecated": "flatten is deprecated in favor of utility frameworks such as lodash.", - "dev": true - }, "node_modules/follow-redirects": { "version": "1.15.2", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", @@ -8117,8 +8593,36 @@ } } }, - "node_modules/forever-agent": { - "version": "0.6.1", + "node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/forever-agent": { + "version": "0.6.1", "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", "dev": true, @@ -8149,6 +8653,19 @@ "node": ">= 0.6" } }, + "node_modules/fraction.js": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", + "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==", + "dev": true, + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://www.patreon.com/infusion" + } + }, "node_modules/fresh": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", @@ -8185,9 +8702,9 @@ } }, "node_modules/fs-monkey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.3.tgz", - "integrity": "sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.4.tgz", + "integrity": "sha512-INM/fWAxMICjttnD0DX1rBvinKskj5G1w+oy/pnm9u/tSlnBrzFonJMcalKJ30P8RRsPzKcCG7Q8l0jx5Fh9YQ==", "dev": true }, "node_modules/fs.realpath": { @@ -8221,6 +8738,25 @@ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", "dev": true }, + "node_modules/gauge": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", + "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", + "dev": true, + "dependencies": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.3", + "console-control-strings": "^1.1.0", + "has-unicode": "^2.0.1", + "signal-exit": "^3.0.7", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, "node_modules/gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", @@ -8340,10 +8876,66 @@ "node": ">=4" } }, + "node_modules/globby": { + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-13.2.2.tgz", + "integrity": "sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==", + "dev": true, + "dependencies": { + "dir-glob": "^3.0.1", + "fast-glob": "^3.3.0", + "ignore": "^5.2.4", + "merge2": "^1.4.1", + "slash": "^4.0.0" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby/node_modules/fast-glob": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", + "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/globby/node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/globby/node_modules/slash": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", + "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/graceful-fs": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.0.tgz", - "integrity": "sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg==", + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "devOptional": true }, "node_modules/handle-thing": { @@ -8420,25 +9012,10 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "dev": true, - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/has-unicode": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==", "dev": true }, "node_modules/hdr-histogram-js": { @@ -8478,21 +9055,30 @@ "integrity": "sha512-TEf1gw0c8mb8nan0QwliqS7obT4cpUd9hzsGzsZLweteNnWea/VIqy5/aQqsa5wnz9lnvmtAkS1ZtDTjB/goYQ==" }, "node_modules/hosted-git-info": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.0.2.tgz", - "integrity": "sha512-c9OGXbZ3guC/xOlCg1Ci/VgWlwsqDv1yMQL1CWqXDL0hDjXuNcq0zuR4xqPSuasI3kqFDhqSyTjREz5gzq0fXg==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", + "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", "dev": true, "dependencies": { - "lru-cache": "^6.0.0" + "lru-cache": "^7.5.1" }, "engines": { - "node": ">=10" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/hosted-git-info/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" } }, "node_modules/hpack.js": { "version": "2.1.6", "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", - "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=", + "integrity": "sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ==", "dev": true, "dependencies": { "inherits": "^2.0.1", @@ -8502,10 +9088,20 @@ } }, "node_modules/html-entities": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.2.tgz", - "integrity": "sha512-c3Ab/url5ksaT0WyleslpBEthOzWhrjQbg75y7XUsfSzi3Dgzt0l8w5e7DylRn15MTlMMD58dTfzddNS2kcAjQ==", - "dev": true + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.4.0.tgz", + "integrity": "sha512-igBTJcNNNhvZFRtm8uA6xMY6xYleeDwn3PeBCkDz7tHttv4F2hsDI2aPgNERWzvRcNYHNT3ymRaQzllmXj4YsQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/mdevils" + }, + { + "type": "patreon", + "url": "https://patreon.com/mdevils" + } + ] }, "node_modules/html-escaper": { "version": "2.0.2", @@ -8522,7 +9118,7 @@ "node_modules/http-deceiver": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", - "integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=", + "integrity": "sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw==", "dev": true }, "node_modules/http-errors": { @@ -8541,15 +9137,6 @@ "node": ">= 0.8" } }, - "node_modules/http-errors/node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/http-errors/node_modules/statuses": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", @@ -8560,9 +9147,9 @@ } }, "node_modules/http-parser-js": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.5.tgz", - "integrity": "sha512-x+JVEkO2PoM8qqpbPbOL3cqHPwerep7OwzK7Ay+sMQjKzaKCqWvjoXm5tqMP9tXWWTnTzAjIhXg+J99XYuPhPA==", + "version": "0.5.8", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.8.tgz", + "integrity": "sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q==", "dev": true }, "node_modules/http-proxy": { @@ -8580,12 +9167,12 @@ } }, "node_modules/http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", "dev": true, "dependencies": { - "@tootallnate/once": "1", + "@tootallnate/once": "2", "agent-base": "6", "debug": "4" }, @@ -8594,12 +9181,12 @@ } }, "node_modules/http-proxy-middleware": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.1.tgz", - "integrity": "sha512-cfaXRVoZxSed/BmkA7SwBVNI9Kj7HFltaE5rqYOub5kWzWZ+gofV2koVN1j2rMW7pEfSSlCHGJ31xmuyFyfLOg==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", + "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", "dev": true, "dependencies": { - "@types/http-proxy": "^1.17.5", + "@types/http-proxy": "^1.17.8", "http-proxy": "^1.18.1", "is-glob": "^4.0.1", "is-plain-obj": "^3.0.0", @@ -8607,18 +9194,14 @@ }, "engines": { "node": ">=12.0.0" - } - }, - "node_modules/http-proxy-middleware/node_modules/is-plain-obj": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", - "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", - "dev": true, - "engines": { - "node": ">=10" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "@types/express": "^4.17.13" + }, + "peerDependenciesMeta": { + "@types/express": { + "optional": true + } } }, "node_modules/http-signature": { @@ -8783,12 +9366,33 @@ "dev": true }, "node_modules/ignore-walk": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-4.0.1.tgz", - "integrity": "sha512-rzDQLaW4jQbh2YrOFlJdCtX8qgJTehFRYiUB2r1osqTeDzV/3+Jh8fz1oAPzUThf3iku8Ds4IDqawI5d8mUiQw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-5.0.1.tgz", + "integrity": "sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==", "dev": true, "dependencies": { - "minimatch": "^3.0.4" + "minimatch": "^5.0.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/ignore-walk/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/ignore-walk/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" }, "engines": { "node": ">=10" @@ -8797,7 +9401,7 @@ "node_modules/image-size": { "version": "0.5.5", "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", - "integrity": "sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=", + "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==", "dev": true, "optional": true, "bin": { @@ -8814,9 +9418,9 @@ "dev": true }, "node_modules/immutable": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.0.0.tgz", - "integrity": "sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.1.tgz", + "integrity": "sha512-lj9cnmB/kVS0QHsJnYKD1uo3o39nrbKxszjnqS9Fr6NB7bZzW45U6WSGBPKXDL/CvDKqDNPA4r3DoDQ8GTxo2A==", "dev": true }, "node_modules/import-fresh": { @@ -8850,12 +9454,6 @@ "node": ">=8" } }, - "node_modules/indexes-of": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", - "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=", - "dev": true - }, "node_modules/infer-owner": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", @@ -8883,9 +9481,9 @@ "dev": true }, "node_modules/inquirer": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.0.tgz", - "integrity": "sha512-0crLweprevJ02tTuA6ThpoAERAGyVILC4sS74uib58Xf/zSr1/ZWtmm7D5CI+bSQEaA04f0K7idaHpQbSWgiVQ==", + "version": "8.2.4", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.4.tgz", + "integrity": "sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg==", "dev": true, "dependencies": { "ansi-escapes": "^4.2.1", @@ -8898,13 +9496,14 @@ "mute-stream": "0.0.8", "ora": "^5.4.1", "run-async": "^2.4.0", - "rxjs": "^7.2.0", + "rxjs": "^7.5.5", "string-width": "^4.1.0", "strip-ansi": "^6.0.0", - "through": "^2.3.6" + "through": "^2.3.6", + "wrap-ansi": "^7.0.0" }, "engines": { - "node": ">=8.0.0" + "node": ">=12.0.0" } }, "node_modules/inquirer/node_modules/chalk": { @@ -8924,45 +9523,29 @@ } }, "node_modules/inquirer/node_modules/rxjs": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.1.tgz", - "integrity": "sha512-KExVEeZWxMZnZhUZtsJcFwz8IvPvgu4G2Z2QyqjZQzUGr32KDYuSxrEYO4w3tFFNbfLozcrKUTvTPi+E9ywJkQ==", + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", "dev": true, "dependencies": { "tslib": "^2.1.0" } }, "node_modules/ip": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", - "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", + "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", "dev": true }, "node_modules/ipaddr.js": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.0.1.tgz", - "integrity": "sha512-1qTgH9NG+IIJ4yfKs2e6Pp1bZg8wbDbKHT21HrLIeYBTRLgMYKnMTPAuI3Lcs61nfx5h1xlXnbJtH1kX5/d/ng==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.1.0.tgz", + "integrity": "sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ==", "dev": true, "engines": { "node": ">= 10" } }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -8994,9 +9577,9 @@ } }, "node_modules/is-core-module": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", - "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", + "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", "dev": true, "dependencies": { "has": "^1.0.3" @@ -9005,21 +9588,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-directory": { "version": "0.3.1", "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", @@ -9064,10 +9632,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/is-glob": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", - "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, "dependencies": { "is-extglob": "^2.1.1" @@ -9096,7 +9673,7 @@ "node_modules/is-lambda": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", - "integrity": "sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU=", + "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", "dev": true }, "node_modules/is-path-cwd": { @@ -9132,6 +9709,18 @@ "node": ">=0.10.0" } }, + "node_modules/is-plain-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", + "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-plain-object": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", @@ -9144,22 +9733,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-stream": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", @@ -9362,6 +9935,24 @@ "node": ">=8" } }, + "node_modules/jackspeak": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.2.tgz", + "integrity": "sha512-mgNtVv4vUuaKA97yxUHoA3+FkuhtxkjdXEWOyB/N76fjy0FjezEt34oy3epBtvCvS+7DyKwqCFWx/oJLV5+kCg==", + "dev": true, + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, "node_modules/jake": { "version": "10.8.5", "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", @@ -9444,9 +10035,9 @@ } }, "node_modules/jest-worker": { - "version": "27.4.5", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.4.5.tgz", - "integrity": "sha512-f2s8kEdy15cv9r7q4KkzGXvlY0JTcmCbMHZBfSQDwW77REr45IDWwd0lksDFeVHH2jJ5pqb90T77XscrjeGzzg==", + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", "dev": true, "dependencies": { "@types/node": "*", @@ -9598,7 +10189,7 @@ "node_modules/jsonparse": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=", + "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", "dev": true, "engines": [ "node >= 0.2.0" @@ -9756,12 +10347,6 @@ "source-map-support": "^0.5.5" } }, - "node_modules/karma/node_modules/graceful-fs": { - "version": "4.2.6", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz", - "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==", - "dev": true - }, "node_modules/karma/node_modules/rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", @@ -9787,18 +10372,18 @@ } }, "node_modules/klona": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.5.tgz", - "integrity": "sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.6.tgz", + "integrity": "sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==", "dev": true, "engines": { "node": ">= 8" } }, "node_modules/less": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/less/-/less-4.1.2.tgz", - "integrity": "sha512-EoQp/Et7OSOVu0aJknJOtlXZsnr8XE8KwuzTHOLeVSEx8pVWUICc8Q0VYRHgzyjX78nMEyC/oztWFbgyhtNfDA==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/less/-/less-4.1.3.tgz", + "integrity": "sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA==", "dev": true, "dependencies": { "copy-anything": "^2.0.1", @@ -9817,20 +10402,20 @@ "image-size": "~0.5.0", "make-dir": "^2.1.0", "mime": "^1.4.1", - "needle": "^2.5.2", + "needle": "^3.1.0", "source-map": "~0.6.0" } }, "node_modules/less-loader": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/less-loader/-/less-loader-10.2.0.tgz", - "integrity": "sha512-AV5KHWvCezW27GT90WATaDnfXBv99llDbtaj4bshq6DvAihMdNjaPDcUMa6EXKLRF+P2opFenJp89BXg91XLYg==", + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/less-loader/-/less-loader-11.0.0.tgz", + "integrity": "sha512-9+LOWWjuoectIEx3zrfN83NAGxSUB5pWEabbbidVQVgZhN+wN68pOvuyirVlH1IK4VT1f3TmlyvAnCXh8O5KEw==", "dev": true, "dependencies": { "klona": "^2.0.4" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.15.0" }, "funding": { "type": "opencollective", @@ -9854,12 +10439,6 @@ "node": ">=4" } }, - "node_modules/less/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", - "dev": true - }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -9874,9 +10453,9 @@ } }, "node_modules/license-webpack-plugin": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-4.0.0.tgz", - "integrity": "sha512-b9iMrROrw2fTOJBZ57h0xJfT5/1Cxg4ucYbtpWoukv4Awb2TFPfDDFVHNM8w6SYQpVfB13a5tQJxgGamqwrsyw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-4.0.2.tgz", + "integrity": "sha512-771TFWFD70G1wLTC4oU2Cw4qvtmNrIw+wRvBtn+okgHl7slJVi7zfNcdmqDL72BojM30VNJ2UHylr1o77U37Jw==", "dev": true, "dependencies": { "webpack-sources": "^3.0.0" @@ -9906,18 +10485,18 @@ "dev": true }, "node_modules/loader-runner": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.2.0.tgz", - "integrity": "sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", + "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", "dev": true, "engines": { "node": ">=6.11.5" } }, "node_modules/loader-utils": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-3.2.0.tgz", - "integrity": "sha512-HVl9ZqccQihZ7JM85dco1MvO9G+ONvxoGa9rkhzFsneGLKSUg1gJf9bWzhRhcvm2qChhWpebQhP44qxjKIUCaQ==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-3.2.1.tgz", + "integrity": "sha512-ZvFw1KWS3GVyYBYb7qkmRM/WwL2TQQBxgCK62rlvm4WpVQ23Nb4tYjApUlfjrEGvOs7KHEsmyUn75OHZrJMWPw==", "dev": true, "engines": { "node": ">= 12.13.0" @@ -9945,7 +10524,7 @@ "node_modules/lodash.debounce": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", "dev": true }, "node_modules/lodash.get": { @@ -10020,12 +10599,15 @@ } }, "node_modules/magic-string": { - "version": "0.25.7", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.7.tgz", - "integrity": "sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==", + "version": "0.26.2", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.26.2.tgz", + "integrity": "sha512-NzzlXpclt5zAbmo6h6jNc8zl2gNRGHvmsZW4IvZhTC4W7k4OlLP+S5YLussa/r3ixNT66KOQfNORlXHSOy/X4A==", "dev": true, "dependencies": { - "sourcemap-codec": "^1.4.4" + "sourcemap-codec": "^1.4.8" + }, + "engines": { + "node": ">=12" } }, "node_modules/make-dir": { @@ -10057,36 +10639,113 @@ "dev": true }, "node_modules/make-fetch-happen": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz", - "integrity": "sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg==", + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", "dev": true, "dependencies": { - "agentkeepalive": "^4.1.3", - "cacache": "^15.2.0", - "http-cache-semantics": "^4.1.0", - "http-proxy-agent": "^4.0.1", + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", "https-proxy-agent": "^5.0.0", "is-lambda": "^1.0.1", - "lru-cache": "^6.0.0", - "minipass": "^3.1.3", - "minipass-collect": "^1.0.2", - "minipass-fetch": "^1.3.2", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.2", + "negotiator": "^0.6.3", "promise-retry": "^2.0.1", - "socks-proxy-agent": "^6.0.0", - "ssri": "^8.0.0" + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" }, "engines": { - "node": ">= 10" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/@npmcli/fs": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.0.tgz", + "integrity": "sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==", + "dev": true, + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/cacache": { + "version": "17.1.3", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.3.tgz", + "integrity": "sha512-jAdjGxmPxZh0IipMdR7fK/4sDSrHMLUV0+GvVUsjwyGNKHsh79kW/otg+GkbXwl6Uzvy9wsvHOX4nUoWldeZMg==", + "dev": true, + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/fs-minipass": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.2.tgz", + "integrity": "sha512-2GAfyfoaCDRrM6jaOS3UsBts8yJ55VioXdWcOL7dK9zdAuKT71+WBA4ifnNYqVjYv+4SsPxjK0JT4yIIn4cA/g==", + "dev": true, + "dependencies": { + "minipass": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/glob": { + "version": "10.3.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", + "integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==", + "dev": true, + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/make-fetch-happen/node_modules/https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "dev": true, "dependencies": { "agent-base": "6", @@ -10096,6 +10755,102 @@ "node": ">= 6" } }, + "node_modules/make-fetch-happen/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/make-fetch-happen/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/make-fetch-happen/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/make-fetch-happen/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-fetch-happen/node_modules/semver/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-fetch-happen/node_modules/ssri": { + "version": "10.0.4", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.4.tgz", + "integrity": "sha512-12+IR2CB2C28MMAw0Ncqwj5QbTcs0nGIhgJzYWzDkb21vWmfNI83KS4f3Ci6GI98WreIfG7o9UXp3C0qbpA8nQ==", + "dev": true, + "dependencies": { + "minipass": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/unique-filename": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", + "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", + "dev": true, + "dependencies": { + "unique-slug": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/unique-slug": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", + "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", + "dev": true, + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -10106,12 +10861,12 @@ } }, "node_modules/memfs": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.4.0.tgz", - "integrity": "sha512-o/RfP0J1d03YwsAxyHxAYs2kyJp55AFkMazlFAZFR2I2IXkxiUTXRabJ6RmNNCQ83LAD2jy52Khj0m3OffpNdA==", + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.5.3.tgz", + "integrity": "sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==", "dev": true, "dependencies": { - "fs-monkey": "1.0.3" + "fs-monkey": "^1.0.4" }, "engines": { "node": ">= 4.0.0" @@ -10120,7 +10875,7 @@ "node_modules/merge-descriptors": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", "dev": true }, "node_modules/merge-stream": { @@ -10141,7 +10896,7 @@ "node_modules/methods": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", "dev": true, "engines": { "node": ">= 0.6" @@ -10203,9 +10958,9 @@ } }, "node_modules/mini-css-extract-plugin": { - "version": "2.4.5", - "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.4.5.tgz", - "integrity": "sha512-oEIhRucyn1JbT/1tU2BhnwO6ft1jjH1iCX9Gc59WFMg0n5773rQU0oyQ0zzeYFFuBfONaRbQJyGoPtuNseMxjA==", + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.6.1.tgz", + "integrity": "sha512-wd+SD57/K6DiV7jIR34P+s3uckTRuQvx0tKPcvjFlrEylk6P4mQ2KSWk1hblj1Kxaqok7LogKOieygXqBczNlg==", "dev": true, "dependencies": { "schema-utils": "^4.0.0" @@ -10222,9 +10977,9 @@ } }, "node_modules/mini-css-extract-plugin/node_modules/ajv": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.8.2.tgz", - "integrity": "sha512-x9VuX+R/jcFj1DHo/fCp99esgGDWiHENrKxaCENuCxpoMCmAt/COCGVDwA7kleEpEzJjDnvh3yGoOuLu0Dtllw==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", @@ -10256,15 +11011,15 @@ "dev": true }, "node_modules/mini-css-extract-plugin/node_modules/schema-utils": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", - "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", + "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.9", - "ajv": "^8.8.0", + "ajv": "^8.9.0", "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.0.0" + "ajv-keywords": "^5.1.0" }, "engines": { "node": ">= 12.13.0" @@ -10302,9 +11057,9 @@ } }, "node_modules/minipass": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.6.tgz", - "integrity": "sha512-rty5kpw9/z8SX9dmxblFA6edItUmwJgMeYDZRrwlIVN27i8gysGbznJwUggw2V/FVqFSDdWy040ZPS811DYAqQ==", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", "dev": true, "dependencies": { "yallist": "^4.0.0" @@ -10326,20 +11081,29 @@ } }, "node_modules/minipass-fetch": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-1.4.1.tgz", - "integrity": "sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.3.tgz", + "integrity": "sha512-n5ITsTkDqYkYJZjcRWzZt9qnZKCT7nKCosJhHoj7S7zD+BP4jVbWs+odsniw5TA3E0sLomhTKOKjF86wf11PuQ==", "dev": true, "dependencies": { - "minipass": "^3.1.0", + "minipass": "^5.0.0", "minipass-sized": "^1.0.3", - "minizlib": "^2.0.0" + "minizlib": "^2.1.2" }, "engines": { - "node": ">=8" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" }, "optionalDependencies": { - "encoding": "^0.1.12" + "encoding": "^0.1.13" + } + }, + "node_modules/minipass-fetch/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "engines": { + "node": ">=8" } }, "node_modules/minipass-flush": { @@ -10429,24 +11193,18 @@ "dev": true }, "node_modules/multicast-dns": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz", - "integrity": "sha512-ji6J5enbMyGRHIAkAOu3WdV8nggqviKCEKtXcOqfphZZtQrmHKycfynJ2V7eVPUA4NhJ6V7Wf4TmGbTwKE9B6g==", + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.5.tgz", + "integrity": "sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==", "dev": true, "dependencies": { - "dns-packet": "^1.3.1", + "dns-packet": "^5.2.2", "thunky": "^1.0.2" }, "bin": { "multicast-dns": "cli.js" } }, - "node_modules/multicast-dns-service-types": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz", - "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=", - "dev": true - }, "node_modules/multimatch": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-3.0.0.tgz", @@ -10493,14 +11251,14 @@ "dev": true }, "node_modules/needle": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/needle/-/needle-2.9.1.tgz", - "integrity": "sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/needle/-/needle-3.2.0.tgz", + "integrity": "sha512-oUvzXnyLiVyVGoianLijF9O/RecZUf7TkBfimjGrLM4eQhXyeJwM6GeAWccwfQ9aa4gMCZKqhAOuLaMIcQxajQ==", "dev": true, "optional": true, "dependencies": { "debug": "^3.2.6", - "iconv-lite": "^0.4.4", + "iconv-lite": "^0.6.3", "sax": "^1.2.4" }, "bin": { @@ -10520,6 +11278,19 @@ "ms": "^2.1.1" } }, + "node_modules/needle/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/needle/node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -10610,18 +11381,43 @@ } }, "node_modules/node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", + "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", "dev": true, "engines": { - "node": ">= 6.0.0" + "node": ">= 6.13.0" + } + }, + "node_modules/node-gyp": { + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.0.tgz", + "integrity": "sha512-dMXsYP6gc9rRbejLXmTbVRYjAHw7ppswsKyMxuxJxxOHzluIO1rGp9TOQgjFJ+2MCqcOcQTOPB/8Xwhr+7s4Eg==", + "dev": true, + "dependencies": { + "env-paths": "^2.2.0", + "exponential-backoff": "^3.1.1", + "glob": "^7.1.4", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^11.0.3", + "nopt": "^6.0.0", + "npmlog": "^6.0.0", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.2", + "which": "^2.0.2" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": "^12.13 || ^14.13 || >=16" } }, "node_modules/node-gyp-build": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz", - "integrity": "sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", + "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==", "dev": true, "optional": true, "bin": { @@ -10630,12 +11426,72 @@ "node-gyp-build-test": "build-test.js" } }, + "node_modules/node-gyp/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/node-gyp/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-gyp/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/node-releases": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz", - "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==", + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", + "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==", "dev": true }, + "node_modules/nopt": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", + "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", + "dev": true, + "dependencies": { + "abbrev": "^1.0.0" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, "node_modules/normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", @@ -10666,7 +11522,7 @@ "node_modules/normalize-range": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", - "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", "dev": true, "engines": { "node": ">=0.10.0" @@ -10682,21 +11538,21 @@ } }, "node_modules/npm-install-checks": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-4.0.0.tgz", - "integrity": "sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-5.0.0.tgz", + "integrity": "sha512-65lUsMI8ztHCxFz5ckCEC44DRvEGdZX5usQFriauxHEwt7upv1FKaQEmAtU0YnOAdwuNWCmk64xYiQABNrEyLA==", "dev": true, "dependencies": { "semver": "^7.1.1" }, "engines": { - "node": ">=10" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/npm-install-checks/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -10715,23 +11571,24 @@ "dev": true }, "node_modules/npm-package-arg": { - "version": "8.1.5", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.5.tgz", - "integrity": "sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.0.tgz", + "integrity": "sha512-4J0GL+u2Nh6OnhvUKXRr2ZMG4lR8qtLp+kv7UiV00Y+nGiSxtttCyIRHCt5L5BNkXQld/RceYItau3MDOoGiBw==", "dev": true, "dependencies": { - "hosted-git-info": "^4.0.1", - "semver": "^7.3.4", - "validate-npm-package-name": "^3.0.0" + "hosted-git-info": "^5.0.0", + "proc-log": "^2.0.1", + "semver": "^7.3.5", + "validate-npm-package-name": "^4.0.0" }, "engines": { - "node": ">=10" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/npm-package-arg/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -10744,39 +11601,103 @@ } }, "node_modules/npm-packlist": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-3.0.0.tgz", - "integrity": "sha512-L/cbzmutAwII5glUcf2DBRNY/d0TFd4e/FnaZigJV6JD85RHZXJFGwCndjMWiiViiWSsWt3tiOLpI3ByTnIdFQ==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-5.1.3.tgz", + "integrity": "sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==", "dev": true, "dependencies": { - "glob": "^7.1.6", - "ignore-walk": "^4.0.1", - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" + "glob": "^8.0.1", + "ignore-walk": "^5.0.1", + "npm-bundled": "^2.0.0", + "npm-normalize-package-bin": "^2.0.0" }, "bin": { "npm-packlist": "bin/index.js" }, "engines": { - "node": ">=10" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/npm-pick-manifest": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz", - "integrity": "sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA==", + "node_modules/npm-packlist/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "dependencies": { - "npm-install-checks": "^4.0.0", - "npm-normalize-package-bin": "^1.0.1", - "npm-package-arg": "^8.1.2", - "semver": "^7.3.4" + "balanced-match": "^1.0.0" } }, - "node_modules/npm-pick-manifest/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "node_modules/npm-packlist/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm-packlist/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm-packlist/node_modules/npm-bundled": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-2.0.1.tgz", + "integrity": "sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==", + "dev": true, + "dependencies": { + "npm-normalize-package-bin": "^2.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/npm-packlist/node_modules/npm-normalize-package-bin": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", + "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", + "dev": true, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/npm-pick-manifest": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-7.0.1.tgz", + "integrity": "sha512-IA8+tuv8KujbsbLQvselW2XQgmXWS47t3CB0ZrzsRZ82DbDfkcFunOaPm4X7qNuhMfq+FmV7hQT4iFVpHqV7mg==", + "dev": true, + "dependencies": { + "npm-install-checks": "^5.0.0", + "npm-normalize-package-bin": "^1.0.1", + "npm-package-arg": "^9.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/npm-pick-manifest/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -10789,20 +11710,87 @@ } }, "node_modules/npm-registry-fetch": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-11.0.0.tgz", - "integrity": "sha512-jmlgSxoDNuhAtxUIG6pVwwtz840i994dL14FoNVZisrmZW5kWd63IUTNv1m/hyRSGSqWjCUp/YZlS1BJyNp9XA==", + "version": "13.3.1", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-13.3.1.tgz", + "integrity": "sha512-eukJPi++DKRTjSBRcDZSDDsGqRK3ehbxfFUcgaRd0Yp6kRwOwh2WVn0r+8rMB4nnuzvAk6rQVzl6K5CkYOmnvw==", "dev": true, "dependencies": { - "make-fetch-happen": "^9.0.1", - "minipass": "^3.1.3", - "minipass-fetch": "^1.3.0", + "make-fetch-happen": "^10.0.6", + "minipass": "^3.1.6", + "minipass-fetch": "^2.0.3", "minipass-json-stream": "^1.0.1", - "minizlib": "^2.0.0", - "npm-package-arg": "^8.0.0" + "minizlib": "^2.1.2", + "npm-package-arg": "^9.0.1", + "proc-log": "^2.0.0" }, "engines": { - "node": ">=10" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "dev": true, + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/npm-registry-fetch/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/npm-registry-fetch/node_modules/make-fetch-happen": { + "version": "10.2.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz", + "integrity": "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==", + "dev": true, + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^16.1.0", + "http-cache-semantics": "^4.1.0", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^3.1.6", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^2.0.3", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^9.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/minipass-fetch": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.1.2.tgz", + "integrity": "sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==", + "dev": true, + "dependencies": { + "minipass": "^3.1.6", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" } }, "node_modules/npm-run-path": { @@ -10817,10 +11805,25 @@ "node": ">=4" } }, + "node_modules/npmlog": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", + "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", + "dev": true, + "dependencies": { + "are-we-there-yet": "^3.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^4.0.3", + "set-blocking": "^2.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, "node_modules/nth-check": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.1.tgz", - "integrity": "sha512-it1vE95zF6dTT9lBsYbxvqh0Soy4SPowchj0UBGj/V6cTPnXXtQOPUbhZ6CmGzAD/rW22LQK6E96pcdJXk4A4w==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", "dev": true, "dependencies": { "boolbase": "^1.0.0" @@ -10829,12 +11832,6 @@ "url": "https://github.com/fb55/nth-check?sponsor=1" } }, - "node_modules/num2fraction": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", - "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=", - "dev": true - }, "node_modules/nx": { "version": "13.1.3", "resolved": "https://registry.npmjs.org/nx/-/nx-13.1.3.tgz", @@ -10966,12 +11963,6 @@ "node": ">=10" } }, - "node_modules/nx/node_modules/tslib": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", - "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", - "dev": true - }, "node_modules/nx/node_modules/universalify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", @@ -11017,49 +12008,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object-is": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", - "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/obuf": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", @@ -11173,1097 +12121,740 @@ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/p-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", - "dev": true, - "dependencies": { - "aggregate-error": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-retry": { - "version": "4.6.1", - "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.1.tgz", - "integrity": "sha512-e2xXGNhZOZ0lfgR9kL34iGlU8N/KO0xZnQxVEwdeOvpqNDQfdnxIYizvWtK8RglUa3bGqI8g0R/BdfzLMxRkiA==", - "dev": true, - "dependencies": { - "@types/retry": "^0.12.0", - "retry": "^0.13.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/pacote": { - "version": "12.0.2", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-12.0.2.tgz", - "integrity": "sha512-Ar3mhjcxhMzk+OVZ8pbnXdb0l8+pimvlsqBGRNkble2NVgyqOGE3yrCGi/lAYq7E7NRDMz89R1Wx5HIMCGgeYg==", - "dev": true, - "dependencies": { - "@npmcli/git": "^2.1.0", - "@npmcli/installed-package-contents": "^1.0.6", - "@npmcli/promise-spawn": "^1.2.0", - "@npmcli/run-script": "^2.0.0", - "cacache": "^15.0.5", - "chownr": "^2.0.0", - "fs-minipass": "^2.1.0", - "infer-owner": "^1.0.4", - "minipass": "^3.1.3", - "mkdirp": "^1.0.3", - "npm-package-arg": "^8.0.1", - "npm-packlist": "^3.0.0", - "npm-pick-manifest": "^6.0.0", - "npm-registry-fetch": "^11.0.0", - "promise-retry": "^2.0.1", - "read-package-json-fast": "^2.0.1", - "rimraf": "^3.0.2", - "ssri": "^8.0.1", - "tar": "^6.1.0" - }, - "bin": { - "pacote": "lib/bin.js" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16" - } - }, - "node_modules/pacote/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/pacote/node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/pako": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz", - "integrity": "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==" - }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/parent-module/node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "dev": true, - "dependencies": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/parse-node-version": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", - "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", - "dev": true, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", - "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", - "dev": true - }, - "node_modules/parse5-html-rewriting-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5-html-rewriting-stream/-/parse5-html-rewriting-stream-6.0.1.tgz", - "integrity": "sha512-vwLQzynJVEfUlURxgnf51yAJDQTtVpNyGD8tKi2Za7m+akukNHxCcUQMAa/mUGLhCeicFdpy7Tlvj8ZNKadprg==", - "dev": true, - "dependencies": { - "parse5": "^6.0.1", - "parse5-sax-parser": "^6.0.1" - } - }, - "node_modules/parse5-htmlparser2-tree-adapter": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz", - "integrity": "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==", - "dev": true, - "dependencies": { - "parse5": "^6.0.1" - } - }, - "node_modules/parse5-sax-parser": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-6.0.1.tgz", - "integrity": "sha512-kXX+5S81lgESA0LsDuGjAlBybImAChYRMT+/uKCEXFBFOeEhS52qUCydGhU3qLRD8D9DVjaUo821WK7DM4iCeg==", - "dev": true, - "dependencies": { - "parse5": "^6.0.1" - } - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-is-inside": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", - "dev": true - }, - "node_modules/path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", - "dev": true - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", - "dev": true - }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", - "dev": true, - "dependencies": { - "pinkie": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/piscina": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/piscina/-/piscina-3.1.0.tgz", - "integrity": "sha512-KTW4sjsCD34MHrUbx9eAAbuUSpVj407hQSgk/6Epkg0pbRBmv4a3UX7Sr8wxm9xYqQLnsN4mFOjqGDzHAdgKQg==", - "dev": true, - "dependencies": { - "eventemitter-asyncresource": "^1.0.0", - "hdr-histogram-js": "^2.0.1", - "hdr-histogram-percentiles-obj": "^3.0.0" - }, - "optionalDependencies": { - "nice-napi": "^1.0.2" - } - }, - "node_modules/pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "dependencies": { - "find-up": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/please-upgrade-node": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz", - "integrity": "sha512-KY1uHnQ2NlQHqIJQpnh/i54rKkuxCEBx+voJIS/Mvb+L2iYd2NMotwduhKTMjfC1uKoX3VXOxLjIYG66dfJTVQ==", - "dev": true, - "dependencies": { - "semver-compare": "^1.0.0" - } - }, - "node_modules/portfinder": { - "version": "1.0.28", - "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz", - "integrity": "sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA==", - "dev": true, - "dependencies": { - "async": "^2.6.2", - "debug": "^3.1.1", - "mkdirp": "^0.5.5" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, "engines": { - "node": ">= 0.12.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/portfinder/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "dev": true, - "dependencies": { - "ms": "^2.1.1" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/portfinder/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true + "node_modules/p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true, + "engines": { + "node": ">=4" + } }, - "node_modules/postcss": { - "version": "8.4.4", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.4.tgz", - "integrity": "sha512-joU6fBsN6EIer28Lj6GDFoC/5yOZzLCfn0zHAn/MYXI7aPt4m4hK5KC5ovEZXy+lnCjmYIbQWngvju2ddyEr8Q==", + "node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "dependencies": { - "nanoid": "^3.1.30", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.1" + "p-try": "^2.0.0" }, "engines": { - "node": "^10 || ^12 || >=14" + "node": ">=6" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/postcss-attribute-case-insensitive": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-attribute-case-insensitive/-/postcss-attribute-case-insensitive-4.0.2.tgz", - "integrity": "sha512-clkFxk/9pcdb4Vkn0hAHq3YnxBQ2p0CGD1dy24jN+reBck+EWxMbxSUqN4Yj7t0w8csl87K6p0gxBe1utkJsYA==", + "node_modules/p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", "dev": true, "dependencies": { - "postcss": "^7.0.2", - "postcss-selector-parser": "^6.0.2" + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" } }, - "node_modules/postcss-attribute-case-insensitive/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-attribute-case-insensitive/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "aggregate-error": "^3.0.0" }, "engines": { - "node": ">=6.0.0" + "node": ">=10" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/postcss-color-functional-notation": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/postcss-color-functional-notation/-/postcss-color-functional-notation-2.0.1.tgz", - "integrity": "sha512-ZBARCypjEDofW4P6IdPVTLhDNXPRn8T2s1zHbZidW6rPaaZvcnCS2soYFIQJrMZSxiePJ2XIYTlcb2ztr/eT2g==", + "node_modules/p-retry": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", + "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", "dev": true, "dependencies": { - "postcss": "^7.0.2", - "postcss-values-parser": "^2.0.0" + "@types/retry": "0.12.0", + "retry": "^0.13.1" }, "engines": { - "node": ">=6.0.0" + "node": ">=8" } }, - "node_modules/postcss-color-functional-notation/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true + "node_modules/p-retry/node_modules/retry": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", + "dev": true, + "engines": { + "node": ">= 4" + } }, - "node_modules/postcss-color-functional-notation/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "node": ">=6" } }, - "node_modules/postcss-color-gray": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-color-gray/-/postcss-color-gray-5.0.0.tgz", - "integrity": "sha512-q6BuRnAGKM/ZRpfDascZlIZPjvwsRye7UDNalqVz3s7GDxMtqPY6+Q871liNxsonUw8oC61OG+PSaysYpl1bnw==", + "node_modules/pacote": { + "version": "13.6.2", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-13.6.2.tgz", + "integrity": "sha512-Gu8fU3GsvOPkak2CkbojR7vjs3k3P9cA6uazKTHdsdV0gpCEQq2opelnEv30KRQWgVzP5Vd/5umjcedma3MKtg==", "dev": true, "dependencies": { - "@csstools/convert-colors": "^1.4.0", - "postcss": "^7.0.5", - "postcss-values-parser": "^2.0.0" + "@npmcli/git": "^3.0.0", + "@npmcli/installed-package-contents": "^1.0.7", + "@npmcli/promise-spawn": "^3.0.0", + "@npmcli/run-script": "^4.1.0", + "cacache": "^16.0.0", + "chownr": "^2.0.0", + "fs-minipass": "^2.1.0", + "infer-owner": "^1.0.4", + "minipass": "^3.1.6", + "mkdirp": "^1.0.4", + "npm-package-arg": "^9.0.0", + "npm-packlist": "^5.1.0", + "npm-pick-manifest": "^7.0.0", + "npm-registry-fetch": "^13.0.1", + "proc-log": "^2.0.0", + "promise-retry": "^2.0.1", + "read-package-json": "^5.0.0", + "read-package-json-fast": "^2.0.3", + "rimraf": "^3.0.2", + "ssri": "^9.0.0", + "tar": "^6.1.11" + }, + "bin": { + "pacote": "lib/bin.js" }, "engines": { - "node": ">=6.0.0" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/postcss-color-gray/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true + "node_modules/pacote/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } }, - "node_modules/postcss-color-gray/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/pacote/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "glob": "^7.1.3" }, - "engines": { - "node": ">=6.0.0" + "bin": { + "rimraf": "bin.js" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/postcss-color-hex-alpha": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/postcss-color-hex-alpha/-/postcss-color-hex-alpha-5.0.3.tgz", - "integrity": "sha512-PF4GDel8q3kkreVXKLAGNpHKilXsZ6xuu+mOQMHWHLPNyjiUBOr75sp5ZKJfmv1MCus5/DWUGcK9hm6qHEnXYw==", + "node_modules/pako": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz", + "integrity": "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==" + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, "dependencies": { - "postcss": "^7.0.14", - "postcss-values-parser": "^2.0.1" + "callsites": "^3.0.0" }, "engines": { - "node": ">=6.0.0" + "node": ">=6" } }, - "node_modules/postcss-color-hex-alpha/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true + "node_modules/parent-module/node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } }, - "node_modules/postcss-color-hex-alpha/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" }, "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "node": ">=4" } }, - "node_modules/postcss-color-mod-function": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/postcss-color-mod-function/-/postcss-color-mod-function-3.0.3.tgz", - "integrity": "sha512-YP4VG+xufxaVtzV6ZmhEtc+/aTXH3d0JLpnYfxqTvwZPbJhWqp8bSY3nfNzNRFLgB4XSaBA82OE4VjOOKpCdVQ==", + "node_modules/parse-node-version": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", + "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", "dev": true, - "dependencies": { - "@csstools/convert-colors": "^1.4.0", - "postcss": "^7.0.2", - "postcss-values-parser": "^2.0.0" - }, "engines": { - "node": ">=6.0.0" + "node": ">= 0.10" } }, - "node_modules/postcss-color-mod-function/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", + "node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", "dev": true }, - "node_modules/postcss-color-mod-function/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/parse5-html-rewriting-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5-html-rewriting-stream/-/parse5-html-rewriting-stream-6.0.1.tgz", + "integrity": "sha512-vwLQzynJVEfUlURxgnf51yAJDQTtVpNyGD8tKi2Za7m+akukNHxCcUQMAa/mUGLhCeicFdpy7Tlvj8ZNKadprg==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "parse5": "^6.0.1", + "parse5-sax-parser": "^6.0.1" } }, - "node_modules/postcss-color-rebeccapurple": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-color-rebeccapurple/-/postcss-color-rebeccapurple-4.0.1.tgz", - "integrity": "sha512-aAe3OhkS6qJXBbqzvZth2Au4V3KieR5sRQ4ptb2b2O8wgvB3SJBsdG+jsn2BZbbwekDG8nTfcCNKcSfe/lEy8g==", + "node_modules/parse5-htmlparser2-tree-adapter": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz", + "integrity": "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==", "dev": true, "dependencies": { - "postcss": "^7.0.2", - "postcss-values-parser": "^2.0.0" - }, - "engines": { - "node": ">=6.0.0" + "parse5": "^6.0.1" } }, - "node_modules/postcss-color-rebeccapurple/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-color-rebeccapurple/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/parse5-sax-parser": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-6.0.1.tgz", + "integrity": "sha512-kXX+5S81lgESA0LsDuGjAlBybImAChYRMT+/uKCEXFBFOeEhS52qUCydGhU3qLRD8D9DVjaUo821WK7DM4iCeg==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, + "parse5": "^6.0.1" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "dev": true, "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "node": ">= 0.8" } }, - "node_modules/postcss-custom-media": { - "version": "7.0.8", - "resolved": "https://registry.npmjs.org/postcss-custom-media/-/postcss-custom-media-7.0.8.tgz", - "integrity": "sha512-c9s5iX0Ge15o00HKbuRuTqNndsJUbaXdiNsksnVH8H4gdc+zbLzr/UasOwNG6CTDpLFekVY4672eWdiiWu2GUg==", + "node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", "dev": true, - "dependencies": { - "postcss": "^7.0.14" - }, "engines": { - "node": ">=6.0.0" + "node": ">=4" } }, - "node_modules/postcss-custom-media/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", + "dev": true + }, + "node_modules/path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, - "node_modules/postcss-custom-media/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" }, "engines": { - "node": ">=6.0.0" + "node": ">=16 || 14 >=14.17" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/postcss-custom-properties": { - "version": "8.0.11", - "resolved": "https://registry.npmjs.org/postcss-custom-properties/-/postcss-custom-properties-8.0.11.tgz", - "integrity": "sha512-nm+o0eLdYqdnJ5abAJeXp4CEU1c1k+eB2yMCvhgzsds/e0umabFrN6HoTy/8Q4K5ilxERdl/JD1LO5ANoYBeMA==", + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.0.tgz", + "integrity": "sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==", "dev": true, - "dependencies": { - "postcss": "^7.0.17", - "postcss-values-parser": "^2.0.1" - }, "engines": { - "node": ">=6.0.0" + "node": "14 || >=16.14" } }, - "node_modules/postcss-custom-properties/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", + "node_modules/path-scurry/node_modules/minipass": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.2.tgz", + "integrity": "sha512-eL79dXrE1q9dBbDCLg7xfn/vl7MS4F1gvJAgjJrQli/jbQWdUttuVawphqpffoIYfRdq78LHx6GP4bU/EQ2ATA==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", "dev": true }, - "node_modules/postcss-custom-properties/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, "engines": { - "node": ">=6.0.0" + "node": ">=8" + } + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/postcss-custom-selectors": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/postcss-custom-selectors/-/postcss-custom-selectors-5.1.2.tgz", - "integrity": "sha512-DSGDhqinCqXqlS4R7KGxL1OSycd1lydugJ1ky4iRXPHdBRiozyMHrdu0H3o7qNOCiZwySZTUI5MV0T8QhCLu+w==", + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", "dev": true, - "dependencies": { - "postcss": "^7.0.2", - "postcss-selector-parser": "^5.0.0-rc.3" - }, "engines": { - "node": ">=6.0.0" + "node": ">=0.10.0" } }, - "node_modules/postcss-custom-selectors/node_modules/cssesc": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-2.0.0.tgz", - "integrity": "sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg==", + "node_modules/pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", "dev": true, - "bin": { - "cssesc": "bin/cssesc" - }, "engines": { - "node": ">=4" + "node": ">=0.10.0" } }, - "node_modules/postcss-custom-selectors/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-custom-selectors/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "pinkie": "^2.0.0" }, "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "node": ">=0.10.0" } }, - "node_modules/postcss-custom-selectors/node_modules/postcss-selector-parser": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-5.0.0.tgz", - "integrity": "sha512-w+zLE5Jhg6Liz8+rQOWEAwtwkyqpfnmsinXjXg6cY7YIONZZtgvE0v2O0uhQBs0peNomOJwWRKt6JBfTdTd3OQ==", + "node_modules/piscina": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/piscina/-/piscina-3.2.0.tgz", + "integrity": "sha512-yn/jMdHRw+q2ZJhFhyqsmANcbF6V2QwmD84c6xRau+QpQOmtrBCoRGdvTfeuFDYXB5W2m6MfLkjkvQa9lUSmIA==", "dev": true, "dependencies": { - "cssesc": "^2.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" + "eventemitter-asyncresource": "^1.0.0", + "hdr-histogram-js": "^2.0.1", + "hdr-histogram-percentiles-obj": "^3.0.0" }, - "engines": { - "node": ">=4" + "optionalDependencies": { + "nice-napi": "^1.0.2" } }, - "node_modules/postcss-dir-pseudo-class": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-dir-pseudo-class/-/postcss-dir-pseudo-class-5.0.0.tgz", - "integrity": "sha512-3pm4oq8HYWMZePJY+5ANriPs3P07q+LW6FAdTlkFH2XqDdP4HeeJYMOzn0HYLhRSjBO3fhiqSwwU9xEULSrPgw==", + "node_modules/pkg-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", "dev": true, "dependencies": { - "postcss": "^7.0.2", - "postcss-selector-parser": "^5.0.0-rc.3" + "find-up": "^3.0.0" }, "engines": { - "node": ">=4.0.0" + "node": ">=6" } }, - "node_modules/postcss-dir-pseudo-class/node_modules/cssesc": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-2.0.0.tgz", - "integrity": "sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg==", + "node_modules/please-upgrade-node": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz", + "integrity": "sha512-KY1uHnQ2NlQHqIJQpnh/i54rKkuxCEBx+voJIS/Mvb+L2iYd2NMotwduhKTMjfC1uKoX3VXOxLjIYG66dfJTVQ==", "dev": true, - "bin": { - "cssesc": "bin/cssesc" + "dependencies": { + "semver-compare": "^1.0.0" + } + }, + "node_modules/postcss": { + "version": "8.4.16", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.16.tgz", + "integrity": "sha512-ipHE1XBvKzm5xI7hiHCZJCSugxvsdq2mPnsq5+UF+VHCjiBvtDrlxJfMBToWaP9D5XlgNmcFGqoHmUn0EYEaRQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + } + ], + "dependencies": { + "nanoid": "^3.3.4", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" }, "engines": { - "node": ">=4" + "node": "^10 || ^12 || >=14" } }, - "node_modules/postcss-dir-pseudo-class/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-dir-pseudo-class/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/postcss-attribute-case-insensitive": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/postcss-attribute-case-insensitive/-/postcss-attribute-case-insensitive-5.0.2.tgz", + "integrity": "sha512-XIidXV8fDr0kKt28vqki84fRK8VW8eTuIa4PChv2MqKuT6C9UjmSKzen6KaWhWEoYvwxFCa7n/tC1SZ3tyq4SQ==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "postcss-selector-parser": "^6.0.10" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/postcss-dir-pseudo-class/node_modules/postcss-selector-parser": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-5.0.0.tgz", - "integrity": "sha512-w+zLE5Jhg6Liz8+rQOWEAwtwkyqpfnmsinXjXg6cY7YIONZZtgvE0v2O0uhQBs0peNomOJwWRKt6JBfTdTd3OQ==", + "node_modules/postcss-clamp": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/postcss-clamp/-/postcss-clamp-4.1.0.tgz", + "integrity": "sha512-ry4b1Llo/9zz+PKC+030KUnPITTJAHeOwjfAyyB60eT0AorGLdzp52s31OsPRHRf8NchkgFoG2y6fCfn1IV1Ow==", "dev": true, "dependencies": { - "cssesc": "^2.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=4" + "node": ">=7.6.0" + }, + "peerDependencies": { + "postcss": "^8.4.6" } }, - "node_modules/postcss-double-position-gradients": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/postcss-double-position-gradients/-/postcss-double-position-gradients-1.0.0.tgz", - "integrity": "sha512-G+nV8EnQq25fOI8CH/B6krEohGWnF5+3A6H/+JEpOncu5dCnkS1QQ6+ct3Jkaepw1NGVqqOZH6lqrm244mCftA==", + "node_modules/postcss-color-functional-notation": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/postcss-color-functional-notation/-/postcss-color-functional-notation-4.2.4.tgz", + "integrity": "sha512-2yrTAUZUab9s6CpxkxC4rVgFEVaR6/2Pipvi6qcgvnYiVqZcbDHEoBDhrXzyb7Efh2CCfHQNtcqWcIruDTIUeg==", "dev": true, "dependencies": { - "postcss": "^7.0.5", - "postcss-values-parser": "^2.0.0" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/postcss-double-position-gradients/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-double-position-gradients/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/postcss-color-hex-alpha": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/postcss-color-hex-alpha/-/postcss-color-hex-alpha-8.0.4.tgz", + "integrity": "sha512-nLo2DCRC9eE4w2JmuKgVA3fGL3d01kGq752pVALF68qpGLmx2Qrk91QTKkdUqqp45T1K1XV8IhQpcu1hoAQflQ==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.4" } }, - "node_modules/postcss-env-function": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/postcss-env-function/-/postcss-env-function-2.0.2.tgz", - "integrity": "sha512-rwac4BuZlITeUbiBq60h/xbLzXY43qOsIErngWa4l7Mt+RaSkT7QBjXVGTcBHupykkblHMDrBFh30zchYPaOUw==", + "node_modules/postcss-color-rebeccapurple": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/postcss-color-rebeccapurple/-/postcss-color-rebeccapurple-7.1.1.tgz", + "integrity": "sha512-pGxkuVEInwLHgkNxUc4sdg4g3py7zUeCQ9sMfwyHAT+Ezk8a4OaaVZ8lIY5+oNqA/BXXgLyXv0+5wHP68R79hg==", "dev": true, "dependencies": { - "postcss": "^7.0.2", - "postcss-values-parser": "^2.0.0" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/postcss-env-function/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-env-function/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/postcss-custom-media": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/postcss-custom-media/-/postcss-custom-media-8.0.2.tgz", + "integrity": "sha512-7yi25vDAoHAkbhAzX9dHx2yc6ntS4jQvejrNcC+csQJAXjj15e7VcWfMgLqBNAbOvqi5uIa9huOVwdHbf+sKqg==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.3" } }, - "node_modules/postcss-focus-visible": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-focus-visible/-/postcss-focus-visible-4.0.0.tgz", - "integrity": "sha512-Z5CkWBw0+idJHSV6+Bgf2peDOFf/x4o+vX/pwcNYrWpXFrSfTkQ3JQ1ojrq9yS+upnAlNRHeg8uEwFTgorjI8g==", + "node_modules/postcss-custom-properties": { + "version": "12.1.11", + "resolved": "https://registry.npmjs.org/postcss-custom-properties/-/postcss-custom-properties-12.1.11.tgz", + "integrity": "sha512-0IDJYhgU8xDv1KY6+VgUwuQkVtmYzRwu+dMjnmdMafXYv86SWqfxkc7qdDvWS38vsjaEtv8e0vGOUQrAiMBLpQ==", "dev": true, "dependencies": { - "postcss": "^7.0.2" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/postcss-focus-visible/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-focus-visible/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/postcss-custom-selectors": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/postcss-custom-selectors/-/postcss-custom-selectors-6.0.3.tgz", + "integrity": "sha512-fgVkmyiWDwmD3JbpCmB45SvvlCD6z9CG6Ie6Iere22W5aHea6oWa7EM2bpnv2Fj3I94L3VbtvX9KqwSi5aFzSg==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "postcss-selector-parser": "^6.0.4" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.3" } }, - "node_modules/postcss-focus-within": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-focus-within/-/postcss-focus-within-3.0.0.tgz", - "integrity": "sha512-W0APui8jQeBKbCGZudW37EeMCjDeVxKgiYfIIEo8Bdh5SpB9sxds/Iq8SEuzS0Q4YFOlG7EPFulbbxujpkrV2w==", + "node_modules/postcss-dir-pseudo-class": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/postcss-dir-pseudo-class/-/postcss-dir-pseudo-class-6.0.5.tgz", + "integrity": "sha512-eqn4m70P031PF7ZQIvSgy9RSJ5uI2171O/OO/zcRNYpJbvaeKFUlar1aJ7rmgiQtbm0FSPsRewjpdS0Oew7MPA==", "dev": true, "dependencies": { - "postcss": "^7.0.2" + "postcss-selector-parser": "^6.0.10" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/postcss-focus-within/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-focus-within/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/postcss-double-position-gradients": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/postcss-double-position-gradients/-/postcss-double-position-gradients-3.1.2.tgz", + "integrity": "sha512-GX+FuE/uBR6eskOK+4vkXgT6pDkexLokPaz/AbJna9s5Kzp/yl488pKPjhy0obB475ovfT1Wv8ho7U/cHNaRgQ==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "@csstools/postcss-progressive-custom-properties": "^1.1.0", + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-font-variant": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-font-variant/-/postcss-font-variant-4.0.1.tgz", - "integrity": "sha512-I3ADQSTNtLTTd8uxZhtSOrTCQ9G4qUVKPjHiDk0bV75QSxXjVWiJVJ2VLdspGUi9fbW9BcjKJoRvxAH1pckqmA==", - "dev": true, - "dependencies": { - "postcss": "^7.0.2" + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/postcss-font-variant/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-font-variant/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/postcss-env-function": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/postcss-env-function/-/postcss-env-function-4.0.6.tgz", + "integrity": "sha512-kpA6FsLra+NqcFnL81TnsU+Z7orGtDTxcOhl6pwXeEq1yFPpRMkCDpHhrz8CFQDr/Wfm0jLiNQ1OsGGPjlqPwA==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "peerDependencies": { + "postcss": "^8.4" } }, - "node_modules/postcss-gap-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/postcss-gap-properties/-/postcss-gap-properties-2.0.0.tgz", - "integrity": "sha512-QZSqDaMgXCHuHTEzMsS2KfVDOq7ZFiknSpkrPJY6jmxbugUPTuSzs/vuE5I3zv0WAS+3vhrlqhijiprnuQfzmg==", + "node_modules/postcss-focus-visible": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/postcss-focus-visible/-/postcss-focus-visible-6.0.4.tgz", + "integrity": "sha512-QcKuUU/dgNsstIK6HELFRT5Y3lbrMLEOwG+A4s5cA+fx3A3y/JTq3X9LaOj3OC3ALH0XqyrgQIgey/MIZ8Wczw==", "dev": true, "dependencies": { - "postcss": "^7.0.2" + "postcss-selector-parser": "^6.0.9" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" + }, + "peerDependencies": { + "postcss": "^8.4" } }, - "node_modules/postcss-gap-properties/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-gap-properties/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/postcss-focus-within": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/postcss-focus-within/-/postcss-focus-within-5.0.4.tgz", + "integrity": "sha512-vvjDN++C0mu8jz4af5d52CB184ogg/sSxAFS+oUJQq2SuCe7T5U2iIsVJtsCp2d6R4j0jr5+q3rPkBVZkXD9fQ==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "postcss-selector-parser": "^6.0.9" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "peerDependencies": { + "postcss": "^8.4" } }, - "node_modules/postcss-image-set-function": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/postcss-image-set-function/-/postcss-image-set-function-3.0.1.tgz", - "integrity": "sha512-oPTcFFip5LZy8Y/whto91L9xdRHCWEMs3e1MdJxhgt4jy2WYXfhkng59fH5qLXSCPN8k4n94p1Czrfe5IOkKUw==", + "node_modules/postcss-font-variant": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/postcss-font-variant/-/postcss-font-variant-5.0.0.tgz", + "integrity": "sha512-1fmkBaCALD72CK2a9i468mA/+tr9/1cBxRRMXOUaZqO43oWPR5imcyPjXwuv7PXbCid4ndlP5zWhidQVVa3hmA==", + "dev": true, + "peerDependencies": { + "postcss": "^8.1.0" + } + }, + "node_modules/postcss-gap-properties": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/postcss-gap-properties/-/postcss-gap-properties-3.0.5.tgz", + "integrity": "sha512-IuE6gKSdoUNcvkGIqdtjtcMtZIFyXZhmFd5RUlg97iVEvp1BZKV5ngsAjCjrVy+14uhGBQl9tzmi1Qwq4kqVOg==", "dev": true, - "dependencies": { - "postcss": "^7.0.2", - "postcss-values-parser": "^2.0.0" - }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/postcss-image-set-function/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-image-set-function/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/postcss-image-set-function": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/postcss-image-set-function/-/postcss-image-set-function-4.0.7.tgz", + "integrity": "sha512-9T2r9rsvYzm5ndsBE8WgtrMlIT7VbtTfE7b3BQnudUqnBcBo7L758oc+o+pdj/dUV0l5wjwSdjeOH2DZtfv8qw==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, "node_modules/postcss-import": { - "version": "14.0.2", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-14.0.2.tgz", - "integrity": "sha512-BJ2pVK4KhUyMcqjuKs9RijV5tatNzNa73e/32aBVE/ejYPe37iH+6vAu9WvqUkB5OAYgLHzbSvzHnorybJCm9g==", + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.0.0.tgz", + "integrity": "sha512-Y20shPQ07RitgBGv2zvkEAu9bqvrD77C9axhj/aA1BQj4czape2MdClCExvB27EwYEJdGgKZBpKanb0t1rK2Kg==", "dev": true, "dependencies": { "postcss-value-parser": "^4.0.0", @@ -12271,93 +12862,53 @@ "resolve": "^1.1.7" }, "engines": { - "node": ">=10.0.0" + "node": ">=14.0.0" }, "peerDependencies": { "postcss": "^8.0.0" } }, "node_modules/postcss-initial": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/postcss-initial/-/postcss-initial-3.0.4.tgz", - "integrity": "sha512-3RLn6DIpMsK1l5UUy9jxQvoDeUN4gP939tDcKUHD/kM8SGSKbFAnvkpFpj3Bhtz3HGk1jWY5ZNWX6mPta5M9fg==", - "dev": true, - "dependencies": { - "postcss": "^7.0.2" - } - }, - "node_modules/postcss-initial/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-initial/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-initial/-/postcss-initial-4.0.1.tgz", + "integrity": "sha512-0ueD7rPqX8Pn1xJIjay0AZeIuDoF+V+VvMt/uOnn+4ezUKhZM/NokDeP6DwMNyIoYByuN/94IQnt5FEkaN59xQ==", "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "peerDependencies": { + "postcss": "^8.0.0" } }, "node_modules/postcss-lab-function": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/postcss-lab-function/-/postcss-lab-function-2.0.1.tgz", - "integrity": "sha512-whLy1IeZKY+3fYdqQFuDBf8Auw+qFuVnChWjmxm/UhHWqNHZx+B99EwxTvGYmUBqe3Fjxs4L1BoZTJmPu6usVg==", - "dev": true, - "dependencies": { - "@csstools/convert-colors": "^1.4.0", - "postcss": "^7.0.2", - "postcss-values-parser": "^2.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-lab-function/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-lab-function/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/postcss-lab-function/-/postcss-lab-function-4.2.1.tgz", + "integrity": "sha512-xuXll4isR03CrQsmxyz92LJB2xX9n+pZJ5jE9JgcnmsCammLyKdlzrBin+25dy6wIjfhJpKBAN80gsTlCgRk2w==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "@csstools/postcss-progressive-custom-properties": "^1.1.0", + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, "node_modules/postcss-loader": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-6.2.1.tgz", - "integrity": "sha512-WbbYpmAaKcux/P66bZ40bpWsBucjx/TTgVVzRZ9yUO8yQfVBlameJ0ZGVaPfH64hNSBh63a+ICP5nqOpBA0w+Q==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-7.0.1.tgz", + "integrity": "sha512-VRviFEyYlLjctSM93gAZtcJJ/iSkPZ79zWbN/1fSH+NisBByEiVLqpdVDrPLVSi8DX0oJo12kL/GppTBdKVXiQ==", "dev": true, "dependencies": { "cosmiconfig": "^7.0.0", "klona": "^2.0.5", - "semver": "^7.3.5" + "semver": "^7.3.7" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.15.0" }, "funding": { "type": "opencollective", @@ -12369,9 +12920,9 @@ } }, "node_modules/postcss-loader/node_modules/cosmiconfig": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz", - "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", + "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", "dev": true, "dependencies": { "@types/parse-json": "^4.0.0", @@ -12428,9 +12979,9 @@ } }, "node_modules/postcss-loader/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -12443,73 +12994,27 @@ } }, "node_modules/postcss-logical": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-logical/-/postcss-logical-3.0.0.tgz", - "integrity": "sha512-1SUKdJc2vuMOmeItqGuNaC+N8MzBWFWEkAnRnLpFYj1tGGa7NqyVBujfRtgNa2gXR+6RkGUiB2O5Vmh7E2RmiA==", - "dev": true, - "dependencies": { - "postcss": "^7.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-logical/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-logical/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/postcss-logical/-/postcss-logical-5.0.4.tgz", + "integrity": "sha512-RHXxplCeLh9VjinvMrZONq7im4wjWGlRJAqmAVLXyZaXwfDWP73/oq4NdIp+OZwhQUMj0zjqDfM5Fj7qby+B4g==", "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "peerDependencies": { + "postcss": "^8.4" } }, "node_modules/postcss-media-minmax": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-media-minmax/-/postcss-media-minmax-4.0.0.tgz", - "integrity": "sha512-fo9moya6qyxsjbFAYl97qKO9gyre3qvbMnkOZeZwlsW6XYFsvs2DMGDlchVLfAd8LHPZDxivu/+qW2SMQeTHBw==", - "dev": true, - "dependencies": { - "postcss": "^7.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-media-minmax/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-media-minmax/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/postcss-media-minmax/-/postcss-media-minmax-5.0.0.tgz", + "integrity": "sha512-yDUvFf9QdFZTuCUg0g0uNSHVlJ5X1lSzDZjPSFaiCWvjgsvu8vEVxtahPrLMinIDEEGnx6cBe6iqdx5YWz08wQ==", "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, "engines": { - "node": ">=6.0.0" + "node": ">=10.0.0" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "peerDependencies": { + "postcss": "^8.1.0" } }, "node_modules/postcss-modules-extract-imports": { @@ -12525,9 +13030,9 @@ } }, "node_modules/postcss-modules-local-by-default": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz", - "integrity": "sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.3.tgz", + "integrity": "sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA==", "dev": true, "dependencies": { "icss-utils": "^5.0.0", @@ -12572,378 +13077,212 @@ } }, "node_modules/postcss-nesting": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-7.0.1.tgz", - "integrity": "sha512-FrorPb0H3nuVq0Sff7W2rnc3SmIcruVC6YwpcS+k687VxyxO33iE1amna7wHuRVzM8vfiYofXSBHNAZ3QhLvYg==", - "dev": true, - "dependencies": { - "postcss": "^7.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-nesting/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-nesting/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-10.2.0.tgz", + "integrity": "sha512-EwMkYchxiDiKUhlJGzWsD9b2zvq/r2SSubcRrgP+jujMXFzqvANLt16lJANC+5uZ6hjI7lpRmI6O8JIl+8l1KA==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "@csstools/selector-specificity": "^2.0.0", + "postcss-selector-parser": "^6.0.10" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-overflow-shorthand": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/postcss-overflow-shorthand/-/postcss-overflow-shorthand-2.0.0.tgz", - "integrity": "sha512-aK0fHc9CBNx8jbzMYhshZcEv8LtYnBIRYQD5i7w/K/wS9c2+0NSR6B3OVMu5y0hBHYLcMGjfU+dmWYNKH0I85g==", - "dev": true, - "dependencies": { - "postcss": "^7.0.2" + "url": "https://opencollective.com/csstools" }, - "engines": { - "node": ">=6.0.0" + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/postcss-overflow-shorthand/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-overflow-shorthand/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/postcss-opacity-percentage": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/postcss-opacity-percentage/-/postcss-opacity-percentage-1.1.3.tgz", + "integrity": "sha512-An6Ba4pHBiDtyVpSLymUUERMo2cU7s+Obz6BTrS+gxkbnSBNKSuD0AVUc+CpBMrpVPKKfoVz0WQCX+Tnst0i4A==", "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, + "funding": [ + { + "type": "kofi", + "url": "https://ko-fi.com/mrcgrtz" + }, + { + "type": "liberapay", + "url": "https://liberapay.com/mrcgrtz" + } + ], "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-page-break": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/postcss-page-break/-/postcss-page-break-2.0.0.tgz", - "integrity": "sha512-tkpTSrLpfLfD9HvgOlJuigLuk39wVTbbd8RKcy8/ugV2bNBUW3xU+AIqyxhDrQr1VUj1RmyJrBn1YWrqUm9zAQ==", - "dev": true, - "dependencies": { - "postcss": "^7.0.2" + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/postcss-page-break/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-page-break/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/postcss-overflow-shorthand": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/postcss-overflow-shorthand/-/postcss-overflow-shorthand-3.0.4.tgz", + "integrity": "sha512-otYl/ylHK8Y9bcBnPLo3foYFLL6a6Ak+3EQBPOTR7luMYCOsiVTUk1iLvNf6tVPNGXcoL9Hoz37kpfriRIFb4A==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-place": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-place/-/postcss-place-4.0.1.tgz", - "integrity": "sha512-Zb6byCSLkgRKLODj/5mQugyuj9bvAAw9LqJJjgwz5cYryGeXfFZfSXoP1UfveccFmeq0b/2xxwcTEVScnqGxBg==", - "dev": true, - "dependencies": { - "postcss": "^7.0.2", - "postcss-values-parser": "^2.0.0" + "url": "https://opencollective.com/csstools" }, - "engines": { - "node": ">=6.0.0" + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/postcss-place/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-place/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/postcss-page-break": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/postcss-page-break/-/postcss-page-break-3.0.4.tgz", + "integrity": "sha512-1JGu8oCjVXLa9q9rFTo4MbeeA5FMe00/9C7lN4va606Rdb+HkxXtXsmEDrIraQ11fGz/WvKWa8gMuCKkrXpTsQ==", "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-preset-env": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/postcss-preset-env/-/postcss-preset-env-6.7.0.tgz", - "integrity": "sha512-eU4/K5xzSFwUFJ8hTdTQzo2RBLbDVt83QZrAvI07TULOkmyQlnYlpwep+2yIK+K+0KlZO4BvFcleOCCcUtwchg==", - "dev": true, - "dependencies": { - "autoprefixer": "^9.6.1", - "browserslist": "^4.6.4", - "caniuse-lite": "^1.0.30000981", - "css-blank-pseudo": "^0.1.4", - "css-has-pseudo": "^0.10.0", - "css-prefers-color-scheme": "^3.1.1", - "cssdb": "^4.4.0", - "postcss": "^7.0.17", - "postcss-attribute-case-insensitive": "^4.0.1", - "postcss-color-functional-notation": "^2.0.1", - "postcss-color-gray": "^5.0.0", - "postcss-color-hex-alpha": "^5.0.3", - "postcss-color-mod-function": "^3.0.3", - "postcss-color-rebeccapurple": "^4.0.1", - "postcss-custom-media": "^7.0.8", - "postcss-custom-properties": "^8.0.11", - "postcss-custom-selectors": "^5.1.2", - "postcss-dir-pseudo-class": "^5.0.0", - "postcss-double-position-gradients": "^1.0.0", - "postcss-env-function": "^2.0.2", - "postcss-focus-visible": "^4.0.0", - "postcss-focus-within": "^3.0.0", - "postcss-font-variant": "^4.0.0", - "postcss-gap-properties": "^2.0.0", - "postcss-image-set-function": "^3.0.1", - "postcss-initial": "^3.0.0", - "postcss-lab-function": "^2.0.1", - "postcss-logical": "^3.0.0", - "postcss-media-minmax": "^4.0.0", - "postcss-nesting": "^7.0.0", - "postcss-overflow-shorthand": "^2.0.0", - "postcss-page-break": "^2.0.0", - "postcss-place": "^4.0.1", - "postcss-pseudo-class-any-link": "^6.0.0", - "postcss-replace-overflow-wrap": "^3.0.0", - "postcss-selector-matches": "^4.0.0", - "postcss-selector-not": "^4.0.0" - }, - "engines": { - "node": ">=6.0.0" + "peerDependencies": { + "postcss": "^8" } }, - "node_modules/postcss-preset-env/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-preset-env/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/postcss-place": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/postcss-place/-/postcss-place-7.0.5.tgz", + "integrity": "sha512-wR8igaZROA6Z4pv0d+bvVrvGY4GVHihBCBQieXFY3kuSuMyOmEnnfFzHl/tQuqHZkfkIVBEbDvYcFfHmpSet9g==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "postcss-value-parser": "^4.2.0" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-pseudo-class-any-link": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/postcss-pseudo-class-any-link/-/postcss-pseudo-class-any-link-6.0.0.tgz", - "integrity": "sha512-lgXW9sYJdLqtmw23otOzrtbDXofUdfYzNm4PIpNE322/swES3VU9XlXHeJS46zT2onFO7V1QFdD4Q9LiZj8mew==", - "dev": true, - "dependencies": { - "postcss": "^7.0.2", - "postcss-selector-parser": "^5.0.0-rc.3" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-pseudo-class-any-link/node_modules/cssesc": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-2.0.0.tgz", - "integrity": "sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg==", - "dev": true, - "bin": { - "cssesc": "bin/cssesc" + "url": "https://opencollective.com/csstools" }, - "engines": { - "node": ">=4" + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/postcss-pseudo-class-any-link/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-pseudo-class-any-link/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", - "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=6.0.0" + "node_modules/postcss-preset-env": { + "version": "7.8.0", + "resolved": "https://registry.npmjs.org/postcss-preset-env/-/postcss-preset-env-7.8.0.tgz", + "integrity": "sha512-leqiqLOellpLKfbHkD06E04P6d9ZQ24mat6hu4NSqun7WG0UhspHR5Myiv/510qouCjoo4+YJtNOqg5xHaFnCA==", + "dev": true, + "dependencies": { + "@csstools/postcss-cascade-layers": "^1.0.5", + "@csstools/postcss-color-function": "^1.1.1", + "@csstools/postcss-font-format-keywords": "^1.0.1", + "@csstools/postcss-hwb-function": "^1.0.2", + "@csstools/postcss-ic-unit": "^1.0.1", + "@csstools/postcss-is-pseudo-class": "^2.0.7", + "@csstools/postcss-nested-calc": "^1.0.0", + "@csstools/postcss-normalize-display-values": "^1.0.1", + "@csstools/postcss-oklab-function": "^1.1.1", + "@csstools/postcss-progressive-custom-properties": "^1.3.0", + "@csstools/postcss-stepped-value-functions": "^1.0.1", + "@csstools/postcss-text-decoration-shorthand": "^1.0.0", + "@csstools/postcss-trigonometric-functions": "^1.0.2", + "@csstools/postcss-unset-value": "^1.0.2", + "autoprefixer": "^10.4.8", + "browserslist": "^4.21.3", + "css-blank-pseudo": "^3.0.3", + "css-has-pseudo": "^3.0.4", + "css-prefers-color-scheme": "^6.0.3", + "cssdb": "^7.0.0", + "postcss-attribute-case-insensitive": "^5.0.2", + "postcss-clamp": "^4.1.0", + "postcss-color-functional-notation": "^4.2.4", + "postcss-color-hex-alpha": "^8.0.4", + "postcss-color-rebeccapurple": "^7.1.1", + "postcss-custom-media": "^8.0.2", + "postcss-custom-properties": "^12.1.8", + "postcss-custom-selectors": "^6.0.3", + "postcss-dir-pseudo-class": "^6.0.5", + "postcss-double-position-gradients": "^3.1.2", + "postcss-env-function": "^4.0.6", + "postcss-focus-visible": "^6.0.4", + "postcss-focus-within": "^5.0.4", + "postcss-font-variant": "^5.0.0", + "postcss-gap-properties": "^3.0.5", + "postcss-image-set-function": "^4.0.7", + "postcss-initial": "^4.0.1", + "postcss-lab-function": "^4.2.1", + "postcss-logical": "^5.0.4", + "postcss-media-minmax": "^5.0.0", + "postcss-nesting": "^10.1.10", + "postcss-opacity-percentage": "^1.1.2", + "postcss-overflow-shorthand": "^3.0.4", + "postcss-page-break": "^3.0.4", + "postcss-place": "^7.0.5", + "postcss-pseudo-class-any-link": "^7.1.6", + "postcss-replace-overflow-wrap": "^4.0.0", + "postcss-selector-not": "^6.0.1", + "postcss-value-parser": "^4.2.0" + }, + "engines": { + "node": "^12 || ^14 || >=16" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-pseudo-class-any-link/node_modules/postcss-selector-parser": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-5.0.0.tgz", - "integrity": "sha512-w+zLE5Jhg6Liz8+rQOWEAwtwkyqpfnmsinXjXg6cY7YIONZZtgvE0v2O0uhQBs0peNomOJwWRKt6JBfTdTd3OQ==", - "dev": true, - "dependencies": { - "cssesc": "^2.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" + "url": "https://opencollective.com/csstools" }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-replace-overflow-wrap": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-replace-overflow-wrap/-/postcss-replace-overflow-wrap-3.0.0.tgz", - "integrity": "sha512-2T5hcEHArDT6X9+9dVSPQdo7QHzG4XKclFT8rU5TzJPDN7RIRTbO9c4drUISOVemLj03aezStHCR2AIcr8XLpw==", - "dev": true, - "dependencies": { - "postcss": "^7.0.2" - } - }, - "node_modules/postcss-replace-overflow-wrap/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-replace-overflow-wrap/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", - "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-selector-matches": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-selector-matches/-/postcss-selector-matches-4.0.0.tgz", - "integrity": "sha512-LgsHwQR/EsRYSqlwdGzeaPKVT0Ml7LAT6E75T8W8xLJY62CE4S/l03BWIt3jT8Taq22kXP08s2SfTSzaraoPww==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "postcss": "^7.0.2" - } - }, - "node_modules/postcss-selector-matches/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true + "peerDependencies": { + "postcss": "^8.2" + } }, - "node_modules/postcss-selector-matches/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/postcss-pseudo-class-any-link": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/postcss-pseudo-class-any-link/-/postcss-pseudo-class-any-link-7.1.6.tgz", + "integrity": "sha512-9sCtZkO6f/5ML9WcTLcIyV1yz9D1rf0tWc+ulKcvV30s0iZKS/ONyETvoWsr6vnrmW+X+KmuK3gV/w5EWnT37w==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "postcss-selector-parser": "^6.0.10" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, - "node_modules/postcss-selector-not": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-selector-not/-/postcss-selector-not-4.0.1.tgz", - "integrity": "sha512-YolvBgInEK5/79C+bdFMyzqTg6pkYqDbzZIST/PDMqa/o3qtXenD05apBG2jLgT0/BQ77d4U2UK12jWpilqMAQ==", + "node_modules/postcss-replace-overflow-wrap": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/postcss-replace-overflow-wrap/-/postcss-replace-overflow-wrap-4.0.0.tgz", + "integrity": "sha512-KmF7SBPphT4gPPcKZc7aDkweHiKEEO8cla/GjcBK+ckKxiZslIu3C4GCRW3DNfL0o7yW7kMQu9xlZ1kXRXLXtw==", "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "postcss": "^7.0.2" + "peerDependencies": { + "postcss": "^8.0.3" } }, - "node_modules/postcss-selector-not/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/postcss-selector-not/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", + "node_modules/postcss-selector-not": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-selector-not/-/postcss-selector-not-6.0.1.tgz", + "integrity": "sha512-1i9affjAe9xu/y9uqWH+tD4r6/hDaXJruk8xn2x1vzxC2U3J3LKO3zJW4CyxlNhA56pADJ/djpEwpH1RClI2rQ==", "dev": true, "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" + "postcss-selector-parser": "^6.0.10" }, "engines": { - "node": ">=6.0.0" + "node": "^12 || ^14 || >=16" }, "funding": { "type": "opencollective", - "url": "https://opencollective.com/postcss/" + "url": "https://opencollective.com/csstools" + }, + "peerDependencies": { + "postcss": "^8.2" } }, "node_modules/postcss-selector-parser": { - "version": "6.0.8", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.8.tgz", - "integrity": "sha512-D5PG53d209Z1Uhcc0qAZ5U3t5HagH3cxu+WLZ22jt3gLUpXM4eXXfiO14jiDWST3NNooX/E8wISfOhZ9eIjGTQ==", + "version": "6.0.13", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", + "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", "dev": true, "dependencies": { "cssesc": "^3.0.0", @@ -12959,20 +13298,6 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", "dev": true }, - "node_modules/postcss-values-parser": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/postcss-values-parser/-/postcss-values-parser-2.0.1.tgz", - "integrity": "sha512-2tLuBsA6P4rYTNKCXYG/71C7j1pU6pK503suYOmn4xYrQIzW+opD+7FAFNuGSdZC/3Qfy334QbeMu7MEb8gOxg==", - "dev": true, - "dependencies": { - "flatten": "^1.0.2", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" - }, - "engines": { - "node": ">=6.14.4" - } - }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -13138,6 +13463,15 @@ "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", "dev": true }, + "node_modules/proc-log": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-2.0.1.tgz", + "integrity": "sha512-Kcmo2FhfDTXdcbfDH76N7uBYHINxc/8GW7UAVuVP9I+Va3uHSerrnKV6dLooga/gh7GlgzuCCr/eoldnL1muGw==", + "dev": true, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, "node_modules/process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", @@ -13146,7 +13480,7 @@ "node_modules/promise-inflight": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=", + "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", "dev": true }, "node_modules/promise-retry": { @@ -13162,15 +13496,6 @@ "node": ">=10" } }, - "node_modules/promise-retry/node_modules/retry": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", - "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=", - "dev": true, - "engines": { - "node": ">= 4" - } - }, "node_modules/protractor": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/protractor/-/protractor-7.0.0.tgz", @@ -13496,7 +13821,7 @@ "node_modules/prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", - "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", + "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==", "dev": true, "optional": true }, @@ -13582,16 +13907,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", - "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", - "dev": true, - "engines": { - "node": ">=0.4.x" - } - }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -13648,12 +13963,27 @@ "node_modules/read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", - "integrity": "sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=", + "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", "dev": true, "dependencies": { "pify": "^2.3.0" } }, + "node_modules/read-package-json": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-5.0.2.tgz", + "integrity": "sha512-BSzugrt4kQ/Z0krro8zhTwV1Kd79ue25IhNN/VtHFy1mG/6Tluyi+msc0UpwaoQzxSHa28mntAjIZY6kEgfR9Q==", + "dev": true, + "dependencies": { + "glob": "^8.0.1", + "json-parse-even-better-errors": "^2.3.1", + "normalize-package-data": "^4.0.0", + "npm-normalize-package-bin": "^2.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, "node_modules/read-package-json-fast": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz", @@ -13667,6 +13997,85 @@ "node": ">=10" } }, + "node_modules/read-package-json/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/read-package-json/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-package-json/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/read-package-json/node_modules/normalize-package-data": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-4.0.1.tgz", + "integrity": "sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg==", + "dev": true, + "dependencies": { + "hosted-git-info": "^5.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/read-package-json/node_modules/npm-normalize-package-bin": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", + "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", + "dev": true, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/read-package-json/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/read-pkg": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-4.0.1.tgz", @@ -13737,9 +14146,9 @@ "dev": true }, "node_modules/regenerate-unicode-properties": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-9.0.0.tgz", - "integrity": "sha512-3E12UeNSPfjrgwjkR81m5J7Aw/T55Tu7nUyZVQYCKEOs+2dkxEY+DpPtZzO4YruuiPb7NkYLVcyJC4+zCbk5pA==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz", + "integrity": "sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ==", "dev": true, "dependencies": { "regenerate": "^1.4.2" @@ -13755,9 +14164,9 @@ "dev": true }, "node_modules/regenerator-transform": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz", - "integrity": "sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw==", + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.1.tgz", + "integrity": "sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg==", "dev": true, "dependencies": { "@babel/runtime": "^7.8.4" @@ -13769,22 +14178,6 @@ "integrity": "sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q==", "dev": true }, - "node_modules/regexp.prototype.flags": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz", - "integrity": "sha512-JiBdRBq91WlY7uRJ0ds7R+dU02i6LKi8r3BuQhNXn+kmeLN+EfHhfjqMRis1zJxnlu88hq/4dx0P2OP3APRTOA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/regexpp": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", @@ -13798,32 +14191,26 @@ } }, "node_modules/regexpu-core": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.8.0.tgz", - "integrity": "sha512-1F6bYsoYiz6is+oz70NWur2Vlh9KWtswuRuzJOfeYUrfPX2o8n74AnUVaOGDbUqVGO9fNHu48/pjJO4sNVwsOg==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.2.tgz", + "integrity": "sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==", "dev": true, "dependencies": { + "@babel/regjsgen": "^0.8.0", "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^9.0.0", - "regjsgen": "^0.5.2", - "regjsparser": "^0.7.0", + "regenerate-unicode-properties": "^10.1.0", + "regjsparser": "^0.9.1", "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.0.0" + "unicode-match-property-value-ecmascript": "^2.1.0" }, "engines": { "node": ">=4" } }, - "node_modules/regjsgen": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz", - "integrity": "sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==", - "dev": true - }, "node_modules/regjsparser": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.7.0.tgz", - "integrity": "sha512-A4pcaORqmNMDVwUjWoTzuhwMGpP+NykpfqAsEgI1FSH/EzC7lrN5TMd+kN8YCovX+jMpu8eaqXgXPCa0g8FQNQ==", + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz", + "integrity": "sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==", "dev": true, "dependencies": { "jsesc": "~0.5.0" @@ -13835,7 +14222,7 @@ "node_modules/regjsparser/node_modules/jsesc": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", "dev": true, "bin": { "jsesc": "bin/jsesc" @@ -13923,12 +14310,20 @@ "dev": true }, "node_modules/resolve": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.11.1.tgz", - "integrity": "sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==", + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", "dev": true, "dependencies": { - "path-parse": "^1.0.6" + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/resolve-from": { @@ -13941,31 +14336,19 @@ } }, "node_modules/resolve-url-loader": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-4.0.0.tgz", - "integrity": "sha512-05VEMczVREcbtT7Bz+C+96eUO5HDNvdthIiMB34t7FcF8ehcu4wC0sSgPUubs3XW2Q3CNLJk/BJrCU9wVRymiA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-5.0.0.tgz", + "integrity": "sha512-uZtduh8/8srhBoMx//5bwqjQ+rfYOUq8zC9NrMUGtjBiGTtFJM42s58/36+hTqeqINcnYe08Nj3LkK9lW4N8Xg==", "dev": true, "dependencies": { "adjust-sourcemap-loader": "^4.0.0", "convert-source-map": "^1.7.0", "loader-utils": "^2.0.0", - "postcss": "^7.0.35", + "postcss": "^8.2.14", "source-map": "0.6.1" }, "engines": { - "node": ">=8.9" - }, - "peerDependencies": { - "rework": "1.0.1", - "rework-visit": "1.0.0" - }, - "peerDependenciesMeta": { - "rework": { - "optional": true - }, - "rework-visit": { - "optional": true - } + "node": ">=12" } }, "node_modules/resolve-url-loader/node_modules/loader-utils": { @@ -13982,29 +14365,6 @@ "node": ">=8.9.0" } }, - "node_modules/resolve-url-loader/node_modules/picocolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-0.2.1.tgz", - "integrity": "sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==", - "dev": true - }, - "node_modules/resolve-url-loader/node_modules/postcss": { - "version": "7.0.39", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", - "integrity": "sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==", - "dev": true, - "dependencies": { - "picocolors": "^0.2.1", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, "node_modules/restore-cursor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", @@ -14019,9 +14379,9 @@ } }, "node_modules/retry": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", - "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", + "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", "dev": true, "engines": { "node": ">= 4" @@ -14136,32 +14496,33 @@ "devOptional": true }, "node_modules/sass": { - "version": "1.44.0", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.44.0.tgz", - "integrity": "sha512-0hLREbHFXGQqls/K8X+koeP+ogFRPF4ZqetVB19b7Cst9Er8cOR0rc6RU7MaI4W1JmUShd1BPgPoeqmmgMMYFw==", + "version": "1.54.4", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.4.tgz", + "integrity": "sha512-3tmF16yvnBwtlPrNBHw/H907j8MlOX8aTBnlNX1yrKx24RKcJGPyLhFUwkoKBKesR3unP93/2z14Ll8NicwQUA==", "dev": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0", - "immutable": "^4.0.0" + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" }, "bin": { "sass": "sass.js" }, "engines": { - "node": ">=8.9.0" + "node": ">=12.0.0" } }, "node_modules/sass-loader": { - "version": "12.4.0", - "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-12.4.0.tgz", - "integrity": "sha512-7xN+8khDIzym1oL9XyS6zP6Ges+Bo2B2xbPrjdMHEYyV3AQYhd/wXeru++3ODHF0zMjYmVadblSKrPrjEkL8mg==", + "version": "13.0.2", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-13.0.2.tgz", + "integrity": "sha512-BbiqbVmbfJaWVeOOAu2o7DhYWtcNmTfvroVgFXa6k2hHheMxNAeDHLNoDy/Q5aoaVlz0LH+MbMktKwm9vN/j8Q==", "dev": true, "dependencies": { "klona": "^2.0.4", "neo-async": "^2.6.2" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.15.0" }, "funding": { "type": "opencollective", @@ -14171,6 +14532,7 @@ "fibers": ">= 3.1.0", "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0", "sass": "^1.3.0", + "sass-embedded": "*", "webpack": "^5.0.0" }, "peerDependenciesMeta": { @@ -14182,6 +14544,9 @@ }, "sass": { "optional": true + }, + "sass-embedded": { + "optional": true } } }, @@ -14224,7 +14589,7 @@ "node_modules/select-hose": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", - "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=", + "integrity": "sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==", "dev": true }, "node_modules/selenium-webdriver": { @@ -14255,12 +14620,15 @@ } }, "node_modules/selfsigned": { - "version": "1.10.14", - "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.14.tgz", - "integrity": "sha512-lkjaiAye+wBZDCBsu5BGi0XiLRxeUlsGod5ZP924CRSEoGuZAw/f7y9RKu28rwTfiHVhdavhB0qH0INV6P1lEA==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-2.1.1.tgz", + "integrity": "sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ==", "dev": true, "dependencies": { - "node-forge": "^0.10.0" + "node-forge": "^1" + }, + "engines": { + "node": ">=10" } }, "node_modules/semver": { @@ -14317,15 +14685,6 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "dev": true }, - "node_modules/send/node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/send/node_modules/mime": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", @@ -14366,9 +14725,9 @@ } }, "node_modules/serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz", + "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==", "dev": true, "dependencies": { "randombytes": "^2.1.0" @@ -14377,7 +14736,7 @@ "node_modules/serve-index": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", - "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", + "integrity": "sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw==", "dev": true, "dependencies": { "accepts": "~1.3.4", @@ -14401,10 +14760,19 @@ "ms": "2.0.0" } }, + "node_modules/serve-index/node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/serve-index/node_modules/http-errors": { "version": "1.6.3", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", - "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", + "integrity": "sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==", "dev": true, "dependencies": { "depd": "~1.1.2", @@ -14419,7 +14787,7 @@ "node_modules/serve-index/node_modules/inherits": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "integrity": "sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==", "dev": true }, "node_modules/serve-index/node_modules/setprototypeof": { @@ -14509,9 +14877,9 @@ } }, "node_modules/signal-exit": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", - "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "dev": true }, "node_modules/slash": { @@ -14584,13 +14952,13 @@ } }, "node_modules/socks": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.6.1.tgz", - "integrity": "sha512-kLQ9N5ucj8uIcxrDwjm0Jsqk06xdpBjGNQtpXy4Q8/QY2k+fY7nZH8CARy+hkbG+SGAovmzzuauCpBlb8FrnBA==", + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", + "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", "dev": true, "dependencies": { - "ip": "^1.1.5", - "smart-buffer": "^4.1.0" + "ip": "^2.0.0", + "smart-buffer": "^4.2.0" }, "engines": { "node": ">= 10.13.0", @@ -14598,14 +14966,14 @@ } }, "node_modules/socks-proxy-agent": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.1.1.tgz", - "integrity": "sha512-t8J0kG3csjA4g6FTbsMOWws+7R7vuRC8aQ/wy3/1OWmsgwA68zs/+cExQ0koSitUDXqhufF/YJr9wtNMZHw5Ew==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz", + "integrity": "sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==", "dev": true, "dependencies": { "agent-base": "^6.0.2", - "debug": "^4.3.1", - "socks": "^2.6.1" + "debug": "^4.3.3", + "socks": "^2.6.2" }, "engines": { "node": ">= 10" @@ -14621,33 +14989,33 @@ } }, "node_modules/source-map-js": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.1.tgz", - "integrity": "sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", "dev": true, "engines": { "node": ">=0.10.0" } }, "node_modules/source-map-loader": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-3.0.0.tgz", - "integrity": "sha512-GKGWqWvYr04M7tn8dryIWvb0s8YM41z82iQv01yBtIylgxax0CwvSy6gc2Y02iuXwEfGWRlMicH0nvms9UZphw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-4.0.0.tgz", + "integrity": "sha512-i3KVgM3+QPAHNbGavK+VBq03YoJl24m9JWNbLgsjTj8aJzXG9M61bantBTNBt7CNwY2FYf+RJRYJ3pzalKjIrw==", "dev": true, "dependencies": { - "abab": "^2.0.5", - "iconv-lite": "^0.6.2", - "source-map-js": "^0.6.2" + "abab": "^2.0.6", + "iconv-lite": "^0.6.3", + "source-map-js": "^1.0.2" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.15.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/webpack" }, "peerDependencies": { - "webpack": "^5.0.0" + "webpack": "^5.72.1" } }, "node_modules/source-map-loader/node_modules/iconv-lite": { @@ -14662,26 +15030,6 @@ "node": ">=0.10.0" } }, - "node_modules/source-map-loader/node_modules/source-map-js": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-0.6.2.tgz", - "integrity": "sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-resolve": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.6.0.tgz", - "integrity": "sha512-KXBr9d/fO/bWo97NXsPIAW1bFSBOuCnjbNTBMO7N59hsv5i9yzRDfcYwwt0l04+VqnKC+EwzvJZIP/qkuMgR/w==", - "deprecated": "See https://github.com/lydell/source-map-resolve#deprecated", - "dev": true, - "dependencies": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0" - } - }, "node_modules/source-map-support": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", @@ -14762,9 +15110,9 @@ } }, "node_modules/spdy-transport/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, "dependencies": { "inherits": "^2.0.3", @@ -14809,15 +15157,15 @@ } }, "node_modules/ssri": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-8.0.1.tgz", - "integrity": "sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz", + "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==", "dev": true, "dependencies": { "minipass": "^3.1.1" }, "engines": { - "node": ">= 8" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/statuses": { @@ -14903,40 +15251,68 @@ } }, "node_modules/string-width": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", - "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" + "strip-ansi": "^6.0.1" }, "engines": { "node": ">=8" } }, - "node_modules/string-width/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, "engines": { "node": ">=8" } }, "node_modules/strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "dependencies": { - "ansi-regex": "^5.0.0" + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" }, "engines": { "node": ">=8" } }, + "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-ansi/node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", @@ -14977,18 +15353,15 @@ } }, "node_modules/stylus": { - "version": "0.55.0", - "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.55.0.tgz", - "integrity": "sha512-MuzIIVRSbc8XxHH7FjkvWqkIcr1BvoMZoR/oFuAJDlh7VSaNJzrB4uJ38GRQa+mWjLXODAMzeDe0xi9GYbGwnw==", + "version": "0.59.0", + "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.59.0.tgz", + "integrity": "sha512-lQ9w/XIOH5ZHVNuNbWW8D822r+/wBSO/d6XvtyHLF7LW4KaCIDeVbvn5DF8fGCJAUCwVhVi/h6J0NUcnylUEjg==", "dev": true, "dependencies": { - "css": "^3.0.0", - "debug": "~3.1.0", + "@adobe/css-tools": "^4.0.1", + "debug": "^4.3.2", "glob": "^7.1.6", - "mkdirp": "~1.0.4", - "safer-buffer": "^2.1.2", "sax": "~1.2.4", - "semver": "^6.3.0", "source-map": "^0.7.3" }, "bin": { @@ -14996,20 +15369,23 @@ }, "engines": { "node": "*" + }, + "funding": { + "url": "https://opencollective.com/stylus" } }, "node_modules/stylus-loader": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/stylus-loader/-/stylus-loader-6.2.0.tgz", - "integrity": "sha512-5dsDc7qVQGRoc6pvCL20eYgRUxepZ9FpeK28XhdXaIPP6kXr6nI1zAAKFQgP5OBkOfKaURp4WUpJzspg1f01Gg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/stylus-loader/-/stylus-loader-7.0.0.tgz", + "integrity": "sha512-WTbtLrNfOfLgzTaR9Lj/BPhQroKk/LC1hfTXSUbrxmxgfUo3Y3LpmKRVA2R1XbjvTAvOfaian9vOyfv1z99E+A==", "dev": true, "dependencies": { - "fast-glob": "^3.2.7", - "klona": "^2.0.4", + "fast-glob": "^3.2.11", + "klona": "^2.0.5", "normalize-path": "^3.0.0" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.15.0" }, "funding": { "type": "opencollective", @@ -15020,40 +15396,26 @@ "webpack": "^5.0.0" } }, - "node_modules/stylus/node_modules/debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "node_modules/stylus-loader/node_modules/fast-glob": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", + "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", "dev": true, "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/stylus/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" }, "engines": { - "node": ">=10" - } - }, - "node_modules/stylus/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" + "node": ">=8.6.0" } }, "node_modules/stylus/node_modules/source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", "dev": true, "engines": { "node": ">= 8" @@ -15080,6 +15442,18 @@ "node": ">=8" } }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/symbol-observable": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-4.0.0.tgz", @@ -15099,20 +15473,29 @@ } }, "node_modules/tar": { - "version": "6.1.11", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", - "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", + "version": "6.1.15", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.15.tgz", + "integrity": "sha512-/zKt9UyngnxIT/EAGYuxaMYgOIJiP81ab9ZfkILq4oNLPFX50qyYmu7jRj9qeXoxmJHjGlbH0+cm2uy1WCs10A==", "dev": true, "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", + "minipass": "^5.0.0", "minizlib": "^2.1.1", "mkdirp": "^1.0.3", "yallist": "^4.0.0" }, "engines": { - "node": ">= 10" + "node": ">=10" + } + }, + "node_modules/tar/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "engines": { + "node": ">=8" } }, "node_modules/tar/node_modules/mkdirp": { @@ -15128,13 +15511,14 @@ } }, "node_modules/terser": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.10.0.tgz", - "integrity": "sha512-AMmF99DMfEDiRJfxfY5jj5wNH/bYO09cniSqhfoyxc8sFoYIgkJy86G04UoZU5VjlpnplVu0K6Tx6E9b5+DlHA==", + "version": "5.14.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", + "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", "dev": true, "dependencies": { + "@jridgewell/source-map": "^0.3.2", + "acorn": "^8.5.0", "commander": "^2.20.0", - "source-map": "~0.7.2", "source-map-support": "~0.5.20" }, "bin": { @@ -15142,27 +15526,19 @@ }, "engines": { "node": ">=10" - }, - "peerDependencies": { - "acorn": "^8.5.0" - }, - "peerDependenciesMeta": { - "acorn": { - "optional": true - } } }, "node_modules/terser-webpack-plugin": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.0.tgz", - "integrity": "sha512-LPIisi3Ol4chwAaPP8toUJ3L4qCM1G0wao7L3qNv57Drezxj6+VEyySpPw4B1HSO2Eg/hDY/MNF5XihCAoqnsQ==", + "version": "5.3.9", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz", + "integrity": "sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==", "dev": true, "dependencies": { - "jest-worker": "^27.4.1", + "@jridgewell/trace-mapping": "^0.3.17", + "jest-worker": "^27.4.5", "schema-utils": "^3.1.1", - "serialize-javascript": "^6.0.0", - "source-map": "^0.6.1", - "terser": "^5.7.2" + "serialize-javascript": "^6.0.1", + "terser": "^5.16.8" }, "engines": { "node": ">= 10.13.0" @@ -15187,9 +15563,9 @@ } }, "node_modules/terser-webpack-plugin/node_modules/schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.8", @@ -15204,13 +15580,22 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/terser/node_modules/source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "node_modules/terser-webpack-plugin/node_modules/terser": { + "version": "5.19.2", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.2.tgz", + "integrity": "sha512-qC5+dmecKJA4cpYxRa5aVkKehYsQKc+AHeKl0Oe62aYjBL8ZA33tTljktDHJSaxxMnbI5ZYw+o/S2DxxLu8OfA==", "dev": true, + "dependencies": { + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, "engines": { - "node": ">= 8" + "node": ">=10" } }, "node_modules/test-exclude": { @@ -15236,7 +15621,7 @@ "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", "dev": true }, "node_modules/thunky": { @@ -15275,7 +15660,7 @@ "node_modules/to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", "dev": true, "engines": { "node": ">=4" @@ -15367,9 +15752,9 @@ "dev": true }, "node_modules/tslib": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", - "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==" + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, "node_modules/tslint": { "version": "6.1.3", @@ -15491,15 +15876,15 @@ } }, "node_modules/typed-assert": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/typed-assert/-/typed-assert-1.0.8.tgz", - "integrity": "sha512-5NkbXZUlmCE73Fs7gvkp1XXJWHYetPkg60QnQ2NXQmBYNFxbBr2zA8GCtaH4K2s2WhOmSlgiSTmrjrcm5tnM5g==", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/typed-assert/-/typed-assert-1.0.9.tgz", + "integrity": "sha512-KNNZtayBCtmnNmbo5mG47p1XsCyrx6iVqomjcZnec/1Y5GGARaxPs6r49RnSPeUP3YjNYiU9sQHAtY4BBvnZwg==", "dev": true }, "node_modules/typescript": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", - "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", + "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -15551,29 +15936,23 @@ } }, "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", - "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz", + "integrity": "sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==", "dev": true, "engines": { "node": ">=4" } }, "node_modules/unicode-property-aliases-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", - "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz", + "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==", "dev": true, "engines": { "node": ">=4" } }, - "node_modules/uniq": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", - "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", - "dev": true - }, "node_modules/unique-filename": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", @@ -15610,6 +15989,36 @@ "node": ">= 0.8" } }, + "node_modules/update-browserslist-db": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", + "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, "node_modules/uri-js": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", @@ -15619,22 +16028,6 @@ "punycode": "^2.1.0" } }, - "node_modules/url": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", - "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", - "dev": true, - "dependencies": { - "punycode": "1.3.2", - "querystring": "0.2.0" - } - }, - "node_modules/url/node_modules/punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", - "dev": true - }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -15674,12 +16067,15 @@ } }, "node_modules/validate-npm-package-name": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", - "integrity": "sha1-X6kS2B630MdK/BQN5zF/DKffQ34=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", + "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", "dev": true, "dependencies": { - "builtins": "^1.0.3" + "builtins": "^5.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/vary": { @@ -15715,9 +16111,9 @@ } }, "node_modules/watchpack": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.3.1.tgz", - "integrity": "sha512-x0t0JuydIo8qCNctdDrn1OzH/qDzk2+rdCOC3YzumZ42fiMqmQ7T3xQurykYMhYfHaPHTp4ZxAx2NfUo1K6QaA==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.0.tgz", + "integrity": "sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==", "dev": true, "dependencies": { "glob-to-regexp": "^0.4.1", @@ -15835,35 +16231,35 @@ "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" }, "node_modules/webpack": { - "version": "5.65.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.65.0.tgz", - "integrity": "sha512-Q5or2o6EKs7+oKmJo7LaqZaMOlDWQse9Tm5l1WAfU/ujLGN5Pb0SqGeVkN/4bpPmEqEP5RnVhiqsOtWtUVwGRw==", + "version": "5.76.1", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.1.tgz", + "integrity": "sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==", "dev": true, "dependencies": { - "@types/eslint-scope": "^3.7.0", - "@types/estree": "^0.0.50", + "@types/eslint-scope": "^3.7.3", + "@types/estree": "^0.0.51", "@webassemblyjs/ast": "1.11.1", "@webassemblyjs/wasm-edit": "1.11.1", "@webassemblyjs/wasm-parser": "1.11.1", - "acorn": "^8.4.1", + "acorn": "^8.7.1", "acorn-import-assertions": "^1.7.6", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.8.3", + "enhanced-resolve": "^5.10.0", "es-module-lexer": "^0.9.0", "eslint-scope": "5.1.1", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.2.4", - "json-parse-better-errors": "^1.0.2", + "graceful-fs": "^4.2.9", + "json-parse-even-better-errors": "^2.3.1", "loader-runner": "^4.2.0", "mime-types": "^2.1.27", "neo-async": "^2.6.2", "schema-utils": "^3.1.0", "tapable": "^2.1.1", "terser-webpack-plugin": "^5.1.3", - "watchpack": "^2.3.1", - "webpack-sources": "^3.2.2" + "watchpack": "^2.4.0", + "webpack-sources": "^3.2.3" }, "bin": { "webpack": "bin/webpack.js" @@ -15882,13 +16278,13 @@ } }, "node_modules/webpack-dev-middleware": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.2.2.tgz", - "integrity": "sha512-DjZyYrsHhkikAFNvSNKrpnziXukU1EChFAh9j4LAm6ndPLPW8cN0KhM7T+RAiOqsQ6ABfQ8hoKIs9IWMTjov+w==", + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz", + "integrity": "sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==", "dev": true, "dependencies": { "colorette": "^2.0.10", - "memfs": "^3.2.2", + "memfs": "^3.4.3", "mime-types": "^2.1.31", "range-parser": "^1.2.1", "schema-utils": "^4.0.0" @@ -15905,9 +16301,9 @@ } }, "node_modules/webpack-dev-middleware/node_modules/ajv": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.8.2.tgz", - "integrity": "sha512-x9VuX+R/jcFj1DHo/fCp99esgGDWiHENrKxaCENuCxpoMCmAt/COCGVDwA7kleEpEzJjDnvh3yGoOuLu0Dtllw==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", @@ -15939,15 +16335,15 @@ "dev": true }, "node_modules/webpack-dev-middleware/node_modules/schema-utils": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", - "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", + "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.9", - "ajv": "^8.8.0", + "ajv": "^8.9.0", "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.0.0" + "ajv-keywords": "^5.1.0" }, "engines": { "node": ">= 12.13.0" @@ -15958,36 +16354,40 @@ } }, "node_modules/webpack-dev-server": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.6.0.tgz", - "integrity": "sha512-oojcBIKvx3Ya7qs1/AVWHDgmP1Xml8rGsEBnSobxU/UJSX1xP1GPM3MwsAnDzvqcVmVki8tV7lbcsjEjk0PtYg==", - "dev": true, - "dependencies": { + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.11.0.tgz", + "integrity": "sha512-L5S4Q2zT57SK7tazgzjMiSMBdsw+rGYIX27MgPgx7LDhWO0lViPrHKoLS7jo5In06PWYAhlYu3PbyoC6yAThbw==", + "dev": true, + "dependencies": { + "@types/bonjour": "^3.5.9", + "@types/connect-history-api-fallback": "^1.3.5", + "@types/express": "^4.17.13", + "@types/serve-index": "^1.9.1", + "@types/serve-static": "^1.13.10", + "@types/sockjs": "^0.3.33", + "@types/ws": "^8.5.1", "ansi-html-community": "^0.0.8", - "bonjour": "^3.5.0", - "chokidar": "^3.5.2", + "bonjour-service": "^1.0.11", + "chokidar": "^3.5.3", "colorette": "^2.0.10", "compression": "^1.7.4", - "connect-history-api-fallback": "^1.6.0", + "connect-history-api-fallback": "^2.0.0", "default-gateway": "^6.0.3", - "del": "^6.0.0", - "express": "^4.17.1", + "express": "^4.17.3", "graceful-fs": "^4.2.6", "html-entities": "^2.3.2", - "http-proxy-middleware": "^2.0.0", + "http-proxy-middleware": "^2.0.3", "ipaddr.js": "^2.0.1", "open": "^8.0.9", "p-retry": "^4.5.0", - "portfinder": "^1.0.28", + "rimraf": "^3.0.2", "schema-utils": "^4.0.0", - "selfsigned": "^1.10.11", + "selfsigned": "^2.0.1", "serve-index": "^1.9.1", - "sockjs": "^0.3.21", + "sockjs": "^0.3.24", "spdy": "^4.0.2", - "strip-ansi": "^7.0.0", - "url": "^0.11.0", - "webpack-dev-middleware": "^5.2.1", - "ws": "^8.1.0" + "webpack-dev-middleware": "^5.3.1", + "ws": "^8.4.2" }, "bin": { "webpack-dev-server": "bin/webpack-dev-server.js" @@ -15995,6 +16395,10 @@ "engines": { "node": ">= 12.13.0" }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, "peerDependencies": { "webpack": "^4.37.0 || ^5.0.0" }, @@ -16005,9 +16409,9 @@ } }, "node_modules/webpack-dev-server/node_modules/ajv": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.8.2.tgz", - "integrity": "sha512-x9VuX+R/jcFj1DHo/fCp99esgGDWiHENrKxaCENuCxpoMCmAt/COCGVDwA7kleEpEzJjDnvh3yGoOuLu0Dtllw==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", @@ -16032,102 +16436,6 @@ "ajv": "^8.8.2" } }, - "node_modules/webpack-dev-server/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/webpack-dev-server/node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/webpack-dev-server/node_modules/del": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/del/-/del-6.0.0.tgz", - "integrity": "sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ==", - "dev": true, - "dependencies": { - "globby": "^11.0.1", - "graceful-fs": "^4.2.4", - "is-glob": "^4.0.1", - "is-path-cwd": "^2.2.0", - "is-path-inside": "^3.0.2", - "p-map": "^4.0.0", - "rimraf": "^3.0.2", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/webpack-dev-server/node_modules/globby": { - "version": "11.0.4", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz", - "integrity": "sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==", - "dev": true, - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.1.1", - "ignore": "^5.1.4", - "merge2": "^1.3.0", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/webpack-dev-server/node_modules/graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", - "dev": true - }, - "node_modules/webpack-dev-server/node_modules/ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/webpack-dev-server/node_modules/is-path-cwd": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz", - "integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/webpack-dev-server/node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/webpack-dev-server/node_modules/json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", @@ -16150,15 +16458,15 @@ } }, "node_modules/webpack-dev-server/node_modules/schema-utils": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.0.0.tgz", - "integrity": "sha512-1edyXKgh6XnJsJSQ8mKWXnN/BVaIbFMLpouRUrXgVq7WYne5kw3MW7UPhO44uRXQSIpTSXoJbmrR2X0w9kUTyg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", + "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.9", - "ajv": "^8.8.0", + "ajv": "^8.9.0", "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.0.0" + "ajv-keywords": "^5.1.0" }, "engines": { "node": ">= 12.13.0" @@ -16168,30 +16476,6 @@ "url": "https://opencollective.com/webpack" } }, - "node_modules/webpack-dev-server/node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/webpack-dev-server/node_modules/strip-ansi": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", - "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", - "dev": true, - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, "node_modules/webpack-merge": { "version": "5.8.0", "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.8.0.tgz", @@ -16206,18 +16490,18 @@ } }, "node_modules/webpack-sources": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.2.tgz", - "integrity": "sha512-cp5qdmHnu5T8wRg2G3vZZHoJPN14aqQ89SyQ11NpGH5zEMDCclt49rzo+MaRazk7/UeILhAI+/sEtcM+7Fr0nw==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", "dev": true, "engines": { "node": ">=10.13.0" } }, "node_modules/webpack-subresource-integrity": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/webpack-subresource-integrity/-/webpack-subresource-integrity-5.0.0.tgz", - "integrity": "sha512-x9514FpLRydO+UAQ8DY4aLtCjxmdLkuQVcDFN1kGzuusREYJ1B0rzk/iIlWiL6dnvrhEGFj2+UsdxDkP8Z4UKg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/webpack-subresource-integrity/-/webpack-subresource-integrity-5.1.0.tgz", + "integrity": "sha512-sacXoX+xd8r4WKsy9MvH/q/vBtEHr86cpImXwyg74pFIpERKt6FmB8cXpeuh0ZLgclOlHI4Wcll7+R5L02xk9Q==", "dev": true, "dependencies": { "typed-assert": "^1.0.8" @@ -16235,16 +16519,10 @@ } } }, - "node_modules/webpack/node_modules/graceful-fs": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", - "dev": true - }, "node_modules/webpack/node_modules/schema-utils": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", - "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.3.0.tgz", + "integrity": "sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==", "dev": true, "dependencies": { "@types/json-schema": "^7.0.8", @@ -16350,6 +16628,24 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", diff --git a/angular/package.json b/angular/package.json index f842ad2b..9d23e8e6 100644 --- a/angular/package.json +++ b/angular/package.json @@ -14,14 +14,14 @@ }, "private": true, "dependencies": { - "@angular/animations": "^13.1.1", - "@angular/common": "^13.1.1", - "@angular/core": "^13.1.1", - "@angular/forms": "^13.1.1", - "@angular/material": "^13.1.1", - "@angular/platform-browser": "^13.1.1", - "@angular/platform-browser-dynamic": "^13.1.1", - "@angular/router": "^13.1.1", + "@angular/animations": "^14.3.0", + "@angular/common": "^14.3.0", + "@angular/core": "^14.3.0", + "@angular/forms": "^14.3.0", + "@angular/material": "^14.2.7", + "@angular/platform-browser": "^14.3.0", + "@angular/platform-browser-dynamic": "^14.3.0", + "@angular/router": "^14.3.0", "@ngx-translate/core": "^11.0.1", "@ngx-translate/http-loader": "^4.0.0", "@types/jasmine": "^3.6.9", @@ -45,15 +45,15 @@ "zone.js": "^0.11.4" }, "devDependencies": { - "@angular-devkit/build-angular": "^13.1.2", + "@angular-devkit/build-angular": "^14.2.12", "@angular-eslint/builder": "13.0.0-alpha.1", "@angular-eslint/eslint-plugin": "13.0.0-alpha.1", "@angular-eslint/eslint-plugin-template": "13.0.0-alpha.1", "@angular-eslint/schematics": "13.0.0-alpha.1", "@angular-eslint/template-parser": "13.0.0-alpha.1", - "@angular/cli": "^13.1.2", - "@angular/compiler-cli": "^13.1.1", - "@angular/language-service": "^13.1.1", + "@angular/cli": "^14.2.12", + "@angular/compiler-cli": "^14.3.0", + "@angular/language-service": "^14.3.0", "@types/debug": "^4.1.5", "@types/node": "^10.12.18", "@types/ramda": "^0.26.44", @@ -75,7 +75,7 @@ "protractor": "~7.0.0", "ts-node": "~7.0.1", "tslint": "~6.1.0", - "typescript": "~4.5.4" + "typescript": "~4.8.4" }, "browser": { "fs": false, diff --git a/angular/src/app/mag/mag.component.ts b/angular/src/app/mag/mag.component.ts index b3387b13..57efa499 100644 --- a/angular/src/app/mag/mag.component.ts +++ b/angular/src/app/mag/mag.component.ts @@ -1,6 +1,6 @@ import { ChangeDetectorRef, Component, OnInit } from '@angular/core'; import { FhirConfigService } from '../fhirConfig.service'; -import { FormControl } from '@angular/forms'; +import { UntypedFormControl } from '@angular/forms'; import FhirClient from 'fhir-kit-client'; import { FhirPathService } from '../fhirpath.service'; import { HttpClient, HttpHeaders } from '@angular/common/http'; @@ -54,31 +54,31 @@ export class MagComponent implements OnInit { targetId: string; - public sourceIdentifierSystem: FormControl; - public sourceIdentifierValue: FormControl; - public sourceAddIdentifierSystem: FormControl; - public sourceAddIdentifierValue: FormControl; - public sourceManagingOrganizationOid: FormControl; - public sourceManagingOrganizationName: FormControl; - public targetIdentifierSystem: FormControl; - public targetIdentifier2System: FormControl; - public authenticate: FormControl; - public documentType: FormControl; - public documentConfidentiality: FormControl; - public documentDescription: FormControl; - public masterIdentifier: FormControl; - public creationTime: FormControl; - public languageCode: FormControl; - public serviceStartFrom: FormControl; - public serviceStartTo: FormControl; - public serviceEndFrom: FormControl; - public serviceEndTo: FormControl; - - public iheSourceId: FormControl; - - public searchGiven: FormControl; + public sourceIdentifierSystem: UntypedFormControl; + public sourceIdentifierValue: UntypedFormControl; + public sourceAddIdentifierSystem: UntypedFormControl; + public sourceAddIdentifierValue: UntypedFormControl; + public sourceManagingOrganizationOid: UntypedFormControl; + public sourceManagingOrganizationName: UntypedFormControl; + public targetIdentifierSystem: UntypedFormControl; + public targetIdentifier2System: UntypedFormControl; + public authenticate: UntypedFormControl; + public documentType: UntypedFormControl; + public documentConfidentiality: UntypedFormControl; + public documentDescription: UntypedFormControl; + public masterIdentifier: UntypedFormControl; + public creationTime: UntypedFormControl; + public languageCode: UntypedFormControl; + public serviceStartFrom: UntypedFormControl; + public serviceStartTo: UntypedFormControl; + public serviceEndFrom: UntypedFormControl; + public serviceEndTo: UntypedFormControl; + + public iheSourceId: UntypedFormControl; + + public searchGiven: UntypedFormControl; public searchGivenValue = ''; - public searchFamily: FormControl; + public searchFamily: UntypedFormControl; public searchFamilyValue = ''; public fhirConfigService: FhirConfigService; @@ -120,87 +120,87 @@ export class MagComponent implements OnInit { .then((data: fhir.r4.CapabilityStatement) => this.setJson(JSON.stringify(data, null, 2)) ); - this.sourceIdentifierSystem = new FormControl(); + this.sourceIdentifierSystem = new UntypedFormControl(); this.sourceIdentifierSystem.setValue( this.getLocalStorageItemOrDefault( 'mag.sourceIdentifierSystem', 'urn:oid:2.16.756.5.30.1.196.3.2.1' ) ); - this.sourceIdentifierValue = new FormControl(); + this.sourceIdentifierValue = new UntypedFormControl(); this.sourceIdentifierValue.setValue( this.getLocalStorageItemOrDefault( 'mag.sourceIdentifierValue', 'MAGMED001' ) ); - this.sourceAddIdentifierSystem = new FormControl(); + this.sourceAddIdentifierSystem = new UntypedFormControl(); this.sourceAddIdentifierSystem.setValue( this.getLocalStorageItemOrDefault( 'mag.sourceAddIdentifierSystem', 'urn:oid:2.16.756.5.30.1.196.3.2.1' ) ); - this.sourceAddIdentifierValue = new FormControl(); + this.sourceAddIdentifierValue = new UntypedFormControl(); this.sourceAddIdentifierValue.setValue( this.getLocalStorageItemOrDefault( 'mag.sourceAddIdentifierValue', 'MAGMED001' ) ); - this.sourceManagingOrganizationOid = new FormControl(); + this.sourceManagingOrganizationOid = new UntypedFormControl(); this.sourceManagingOrganizationOid.setValue( this.getLocalStorageItemOrDefault( 'mag.sourceManagingOrganizationOid', 'urn:oid:1.3.6.1.4.1.21367.2017.2.7.109' ) ); - this.sourceManagingOrganizationName = new FormControl(); + this.sourceManagingOrganizationName = new UntypedFormControl(); this.sourceManagingOrganizationName.setValue( this.getLocalStorageItemOrDefault( 'mag.sourceManagingOrganizationName', 'TESTORG' ) ); - this.targetIdentifierSystem = new FormControl(); + this.targetIdentifierSystem = new UntypedFormControl(); this.targetIdentifierSystem.setValue( this.getLocalStorageItemOrDefault( 'mag.targetIdentifierSystem', 'urn:oid:2.16.756.5.30.1.191.1.0.2.1' ) ); - this.targetIdentifier2System = new FormControl(); + this.targetIdentifier2System = new UntypedFormControl(); this.targetIdentifier2System.setValue( this.getLocalStorageItemOrDefault( 'mag.targetIdentifier2System', 'urn:oid:2.16.756.5.30.1.127.3.10.3' ) ); - this.serviceStartFrom = new FormControl(); + this.serviceStartFrom = new UntypedFormControl(); this.serviceStartFrom.setValue( this.getLocalStorageItemOrDefault('mag.serviceStartFrom', '') ); - this.serviceStartTo = new FormControl(); + this.serviceStartTo = new UntypedFormControl(); this.serviceStartTo.setValue( this.getLocalStorageItemOrDefault('mag.serviceStartTo', '') ); - this.serviceEndFrom = new FormControl(); + this.serviceEndFrom = new UntypedFormControl(); this.serviceEndFrom.setValue( this.getLocalStorageItemOrDefault('mag.serviceEndFrom', '') ); - this.serviceEndTo = new FormControl(); + this.serviceEndTo = new UntypedFormControl(); this.serviceEndTo.setValue( this.getLocalStorageItemOrDefault('mag.serviceEndTo', '') ); - this.authenticate = new FormControl(); + this.authenticate = new UntypedFormControl(); this.authenticate.setValue( this.getLocalStorageItemOrDefault('mag.authenticate', 'HCP') ); - this.documentType = new FormControl(); + this.documentType = new UntypedFormControl(); this.documentType.setValue( this.getLocalStorageItemOrDefault('mag.documentType', 'APPC') ); - this.documentConfidentiality = new FormControl(); + this.documentConfidentiality = new UntypedFormControl(); this.documentConfidentiality.setValue( this.getLocalStorageItemOrDefault('mag.documentConfidentiality', 'NORM') ); @@ -214,21 +214,21 @@ export class MagComponent implements OnInit { ); this.targetId = this.getLocalStorageItemOrDefault('mag.targetId', ''); - this.iheSourceId = new FormControl(); + this.iheSourceId = new UntypedFormControl(); this.iheSourceId.setValue(oid_mag_ahdis + '.1'); - this.searchGiven = new FormControl(); - this.searchFamily = new FormControl(); - this.documentDescription = new FormControl(); + this.searchGiven = new UntypedFormControl(); + this.searchFamily = new UntypedFormControl(); + this.documentDescription = new UntypedFormControl(); this.documentDescription.setValue( this.getLocalStorageItemOrDefault('mag.documentType', 'Titel') ); - this.masterIdentifier = new FormControl(); + this.masterIdentifier = new UntypedFormControl(); this.masterIdentifier.setValue(uuidv4()); - this.creationTime = new FormControl(); + this.creationTime = new UntypedFormControl(); this.creationTime.setValue(toLocaleDateTime(new Date())); - this.languageCode = new FormControl(); + this.languageCode = new UntypedFormControl(); this.languageCode.setValue( this.getLocalStorageItemOrDefault('mag.languageCode', 'de-CH') ); diff --git a/angular/src/app/patients/patients.component.ts b/angular/src/app/patients/patients.component.ts index 6eba4f0b..49883499 100644 --- a/angular/src/app/patients/patients.component.ts +++ b/angular/src/app/patients/patients.component.ts @@ -2,7 +2,7 @@ import { Component, OnInit } from '@angular/core'; import { FhirConfigService } from '../fhirConfig.service'; import { PageEvent } from '@angular/material/paginator'; import { MatTableDataSource } from '@angular/material/table'; -import { FormControl } from '@angular/forms'; +import { UntypedFormControl } from '@angular/forms'; import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; import FhirClient from 'fhir-kit-client'; @@ -29,11 +29,11 @@ export class PatientsComponent implements OnInit { }; pageSizeOptions = [this.pageSize]; - public searchName: FormControl; + public searchName: UntypedFormControl; public searchNameValue = ''; - public searchGiven: FormControl; + public searchGiven: UntypedFormControl; public searchGivenValue = ''; - public searchFamily: FormControl; + public searchFamily: UntypedFormControl; public searchFamilyValue = ''; selectedPatient: fhir.r4.Patient; @@ -41,15 +41,15 @@ export class PatientsComponent implements OnInit { constructor(private data: FhirConfigService) { this.client = data.getMobileAccessGatewayClient(); - this.searchName = new FormControl(); + this.searchName = new UntypedFormControl(); this.searchName.valueChanges .pipe(debounceTime(400), distinctUntilChanged()) .subscribe((term) => this.search()); - this.searchGiven = new FormControl(); + this.searchGiven = new UntypedFormControl(); this.searchGiven.valueChanges .pipe(debounceTime(400), distinctUntilChanged()) .subscribe((term) => this.search()); - this.searchFamily = new FormControl(); + this.searchFamily = new UntypedFormControl(); this.searchFamily.valueChanges .pipe(debounceTime(400), distinctUntilChanged()) .subscribe((term) => this.search()); diff --git a/angular/src/tsconfig.spec.json b/angular/src/tsconfig.spec.json index 622c6a6e..8f2a815e 100644 --- a/angular/src/tsconfig.spec.json +++ b/angular/src/tsconfig.spec.json @@ -4,7 +4,7 @@ "outDir": "../out-tsc/spec", "baseUrl": "./", "module": "commonjs", - "target": "es5", + "target": "es2020", "types": ["jasmine", "node"] }, "files": ["test.ts", "polyfills.ts"], diff --git a/angular/tsconfig.json b/angular/tsconfig.json index ab7617b4..275e7cf2 100644 --- a/angular/tsconfig.json +++ b/angular/tsconfig.json @@ -8,7 +8,7 @@ "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "target": "es2018", + "target": "es2020", "baseUrl": ".", "module": "commonjs", "esModuleInterop": true, From 7d5dc1696f1bf32d4635553a7743b6f15ad0c1ac Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Mon, 31 Jul 2023 10:34:34 +0200 Subject: [PATCH 07/29] Update to Angular 15 --- angular/package-lock.json | 15081 ++++++++-------- angular/package.json | 38 +- angular/src/app/app.component.spec.ts | 3 +- angular/src/app/app.module.ts | 1 - angular/src/app/mag/mag.component.ts | 2 +- .../src/app/patients/patients.component.ts | 4 +- angular/src/app/shared/shared.module.ts | 30 +- angular/src/styles.scss | 13 +- angular/src/test.ts | 5 - angular/src/tsconfig.spec.json | 1 - angular/tsconfig.json | 5 +- 11 files changed, 7620 insertions(+), 7563 deletions(-) diff --git a/angular/package-lock.json b/angular/package-lock.json index 9038d584..5e1d7c34 100644 --- a/angular/package-lock.json +++ b/angular/package-lock.json @@ -9,16 +9,16 @@ "version": "2.5.54", "license": "MIT", "dependencies": { - "@angular/animations": "^14.3.0", - "@angular/common": "^14.3.0", - "@angular/core": "^14.3.0", - "@angular/forms": "^14.3.0", - "@angular/material": "^14.2.7", - "@angular/platform-browser": "^14.3.0", - "@angular/platform-browser-dynamic": "^14.3.0", - "@angular/router": "^14.3.0", - "@ngx-translate/core": "^11.0.1", - "@ngx-translate/http-loader": "^4.0.0", + "@angular/animations": "^15.2.9", + "@angular/common": "^15.2.9", + "@angular/core": "^15.2.9", + "@angular/forms": "^15.2.9", + "@angular/material": "^15.2.9", + "@angular/platform-browser": "^15.2.9", + "@angular/platform-browser-dynamic": "^15.2.9", + "@angular/router": "^15.2.9", + "@ngx-translate/core": "^14.0.0", + "@ngx-translate/http-loader": "^7.0.0", "@types/jasmine": "^3.6.9", "@types/pako": "^1.0.3", "ace-builds": "^1.4.14", @@ -40,15 +40,15 @@ "zone.js": "^0.11.4" }, "devDependencies": { - "@angular-devkit/build-angular": "^14.2.12", - "@angular-eslint/builder": "13.0.0-alpha.1", - "@angular-eslint/eslint-plugin": "13.0.0-alpha.1", - "@angular-eslint/eslint-plugin-template": "13.0.0-alpha.1", - "@angular-eslint/schematics": "13.0.0-alpha.1", - "@angular-eslint/template-parser": "13.0.0-alpha.1", - "@angular/cli": "^14.2.12", - "@angular/compiler-cli": "^14.3.0", - "@angular/language-service": "^14.3.0", + "@angular-devkit/build-angular": "^15.2.9", + "@angular-eslint/builder": "^15.2.1", + "@angular-eslint/eslint-plugin": "^15.2.1", + "@angular-eslint/eslint-plugin-template": "^15.2.1", + "@angular-eslint/schematics": "^15.2.1", + "@angular-eslint/template-parser": "^15.2.1", + "@angular/cli": "^15.2.9", + "@angular/compiler-cli": "^15.2.9", + "@angular/language-service": "^15.2.9", "@types/debug": "^4.1.5", "@types/node": "^10.12.18", "@types/ramda": "^0.26.44", @@ -73,12 +73,6 @@ "typescript": "~4.8.4" } }, - "node_modules/@adobe/css-tools": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.2.0.tgz", - "integrity": "sha512-E09FiIft46CmH5Qnjb0wsW54/YQd69LsxeKUOWawmws1XWvyFGURnAChH0mlr7YPFR1ofwvUQfcL0J3lMxXqPA==", - "dev": true - }, "node_modules/@ampproject/remapping": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", @@ -93,111 +87,113 @@ } }, "node_modules/@angular-devkit/architect": { - "version": "0.1402.12", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1402.12.tgz", - "integrity": "sha512-LuK26pyaqyClEbY0n4/WIh3irUuA8wwmMmEj8uW4boziuJWv7U42lJJRF3VwkchiyOIp8qiKg995K6IoeXkWgA==", + "version": "0.1502.9", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1502.9.tgz", + "integrity": "sha512-CFn+LbtYeLG7WqO+BBSjogl764StHpwgfJnNAXQ/3UouUktZ92z4lxhUm0PwIPb5k0lILsf81ubcS1vzwoXEEg==", "dev": true, "dependencies": { - "@angular-devkit/core": "14.2.12", + "@angular-devkit/core": "15.2.9", "rxjs": "6.6.7" }, "engines": { - "node": "^14.15.0 || >=16.10.0", + "node": "^14.20.0 || ^16.13.0 || >=18.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, "node_modules/@angular-devkit/build-angular": { - "version": "14.2.12", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-14.2.12.tgz", - "integrity": "sha512-ei8/FaL80Q6si/aF6FLZgtT4Kr2rudlyGMqQM4Rd2Zvt8mCh3TgM7QdLhoI11t9A0LWz6RIdROlDimMyyOEF6Q==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-15.2.9.tgz", + "integrity": "sha512-djOo2Q22zLrxPccSbINz93hD+pES/nNPoze4Ys/0IdtMlLmxO/YGsA+FG5eNeNAf2jK/JRoNydaYOh7XpGoCzA==", "dev": true, "dependencies": { "@ampproject/remapping": "2.2.0", - "@angular-devkit/architect": "0.1402.12", - "@angular-devkit/build-webpack": "0.1402.12", - "@angular-devkit/core": "14.2.12", - "@babel/core": "7.18.10", - "@babel/generator": "7.18.12", + "@angular-devkit/architect": "0.1502.9", + "@angular-devkit/build-webpack": "0.1502.9", + "@angular-devkit/core": "15.2.9", + "@babel/core": "7.20.12", + "@babel/generator": "7.20.14", "@babel/helper-annotate-as-pure": "7.18.6", - "@babel/plugin-proposal-async-generator-functions": "7.18.10", - "@babel/plugin-transform-async-to-generator": "7.18.6", - "@babel/plugin-transform-runtime": "7.18.10", - "@babel/preset-env": "7.18.10", - "@babel/runtime": "7.18.9", - "@babel/template": "7.18.10", + "@babel/helper-split-export-declaration": "7.18.6", + "@babel/plugin-proposal-async-generator-functions": "7.20.7", + "@babel/plugin-transform-async-to-generator": "7.20.7", + "@babel/plugin-transform-runtime": "7.19.6", + "@babel/preset-env": "7.20.2", + "@babel/runtime": "7.20.13", + "@babel/template": "7.20.7", "@discoveryjs/json-ext": "0.5.7", - "@ngtools/webpack": "14.2.12", + "@ngtools/webpack": "15.2.9", "ansi-colors": "4.1.3", - "babel-loader": "8.2.5", + "autoprefixer": "10.4.13", + "babel-loader": "9.1.2", "babel-plugin-istanbul": "6.1.1", - "browserslist": "^4.9.1", - "cacache": "16.1.2", + "browserslist": "4.21.5", + "cacache": "17.0.4", + "chokidar": "3.5.3", "copy-webpack-plugin": "11.0.0", "critters": "0.0.16", - "css-loader": "6.7.1", - "esbuild-wasm": "0.15.5", - "glob": "8.0.3", + "css-loader": "6.7.3", + "esbuild-wasm": "0.17.8", + "glob": "8.1.0", "https-proxy-agent": "5.0.1", "inquirer": "8.2.4", - "jsonc-parser": "3.1.0", + "jsonc-parser": "3.2.0", "karma-source-map-support": "1.4.0", "less": "4.1.3", - "less-loader": "11.0.0", + "less-loader": "11.1.0", "license-webpack-plugin": "4.0.2", "loader-utils": "3.2.1", - "mini-css-extract-plugin": "2.6.1", - "minimatch": "5.1.0", - "open": "8.4.0", + "magic-string": "0.29.0", + "mini-css-extract-plugin": "2.7.2", + "open": "8.4.1", "ora": "5.4.1", - "parse5-html-rewriting-stream": "6.0.1", + "parse5-html-rewriting-stream": "7.0.0", "piscina": "3.2.0", - "postcss": "8.4.16", - "postcss-import": "15.0.0", - "postcss-loader": "7.0.1", - "postcss-preset-env": "7.8.0", - "regenerator-runtime": "0.13.9", + "postcss": "8.4.21", + "postcss-loader": "7.0.2", "resolve-url-loader": "5.0.0", "rxjs": "6.6.7", - "sass": "1.54.4", - "sass-loader": "13.0.2", + "sass": "1.58.1", + "sass-loader": "13.2.0", "semver": "7.5.3", - "source-map-loader": "4.0.0", + "source-map-loader": "4.0.1", "source-map-support": "0.5.21", - "stylus": "0.59.0", - "stylus-loader": "7.0.0", - "terser": "5.14.2", + "terser": "5.16.3", "text-table": "0.2.0", "tree-kill": "1.2.2", - "tslib": "2.4.0", + "tslib": "2.5.0", "webpack": "5.76.1", - "webpack-dev-middleware": "5.3.3", - "webpack-dev-server": "4.11.0", + "webpack-dev-middleware": "6.0.1", + "webpack-dev-server": "4.11.1", "webpack-merge": "5.8.0", "webpack-subresource-integrity": "5.1.0" }, "engines": { - "node": "^14.15.0 || >=16.10.0", + "node": "^14.20.0 || ^16.13.0 || >=18.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, "optionalDependencies": { - "esbuild": "0.15.5" + "esbuild": "0.17.8" }, "peerDependencies": { - "@angular/compiler-cli": "^14.0.0", - "@angular/localize": "^14.0.0", - "@angular/service-worker": "^14.0.0", + "@angular/compiler-cli": "^15.0.0", + "@angular/localize": "^15.0.0", + "@angular/platform-server": "^15.0.0", + "@angular/service-worker": "^15.0.0", "karma": "^6.3.0", - "ng-packagr": "^14.0.0", + "ng-packagr": "^15.0.0", "protractor": "^7.0.0", "tailwindcss": "^2.0.0 || ^3.0.0", - "typescript": ">=4.6.2 <4.9" + "typescript": ">=4.8.2 <5.0" }, "peerDependenciesMeta": { "@angular/localize": { "optional": true }, + "@angular/platform-server": { + "optional": true + }, "@angular/service-worker": { "optional": true }, @@ -215,6 +211,57 @@ } } }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/core": { + "version": "7.20.12", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.20.12.tgz", + "integrity": "sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.20.7", + "@babel/helper-compilation-targets": "^7.20.7", + "@babel/helper-module-transforms": "^7.20.11", + "@babel/helpers": "^7.20.7", + "@babel/parser": "^7.20.7", + "@babel/template": "^7.20.7", + "@babel/traverse": "^7.20.12", + "@babel/types": "^7.20.7", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.2", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@angular-devkit/build-angular/node_modules/@babel/helper-split-export-declaration": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz", + "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==", + "dev": true, + "dependencies": { + "@babel/types": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@angular-devkit/build-angular/node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -224,10 +271,38 @@ "balanced-match": "^1.0.0" } }, + "node_modules/@angular-devkit/build-angular/node_modules/browserslist": { + "version": "4.21.5", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.5.tgz", + "integrity": "sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001449", + "electron-to-chromium": "^1.4.284", + "node-releases": "^2.0.8", + "update-browserslist-db": "^1.0.10" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, "node_modules/@angular-devkit/build-angular/node_modules/glob": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", @@ -257,15 +332,15 @@ } }, "node_modules/@angular-devkit/build-angular/node_modules/jsonc-parser": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.1.0.tgz", - "integrity": "sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", "dev": true }, "node_modules/@angular-devkit/build-angular/node_modules/minimatch": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" @@ -290,16 +365,16 @@ } }, "node_modules/@angular-devkit/build-webpack": { - "version": "0.1402.12", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1402.12.tgz", - "integrity": "sha512-xBkbSwOhHgUsJk1tTtITqbHHiA0OdjwdrYZYceyfDASAglyRX6rT4Q9/Ppf7TSck6M1tUR76efYOn3D3ial29w==", + "version": "0.1502.9", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1502.9.tgz", + "integrity": "sha512-VzMXoZjrbL1XlcSegqpZCBDbVvKFGPs3cKp4bXDD5ht95jcCyJPk5FA/wrh0pGGwbOF8ae/XOWFcPRzctC35iA==", "dev": true, "dependencies": { - "@angular-devkit/architect": "0.1402.12", + "@angular-devkit/architect": "0.1502.9", "rxjs": "6.6.7" }, "engines": { - "node": "^14.15.0 || >=16.10.0", + "node": "^14.20.0 || ^16.13.0 || >=18.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, @@ -309,19 +384,19 @@ } }, "node_modules/@angular-devkit/core": { - "version": "14.2.12", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-14.2.12.tgz", - "integrity": "sha512-tg1+deEZdm3fgk2BQ6y7tujciL6qhtN5Ums266lX//kAZeZ4nNNXTBT+oY5xgfjvmLbW+xKg0XZrAS0oIRKY5g==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-15.2.9.tgz", + "integrity": "sha512-6u44YJ9tEG2hiWITL1rwA9yP6ot4a3cyN/UOMRkYSa/XO2Gz5/dM3U74E2kwg+P1NcxLXffBWl0rz8/Y/lSZyQ==", "dev": true, "dependencies": { - "ajv": "8.11.0", + "ajv": "8.12.0", "ajv-formats": "2.1.1", - "jsonc-parser": "3.1.0", + "jsonc-parser": "3.2.0", "rxjs": "6.6.7", "source-map": "0.7.4" }, "engines": { - "node": "^14.15.0 || >=16.10.0", + "node": "^14.20.0 || ^16.13.0 || >=18.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, @@ -335,9 +410,9 @@ } }, "node_modules/@angular-devkit/core/node_modules/ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, "dependencies": { "fast-deep-equal": "^3.1.1", @@ -357,9 +432,9 @@ "dev": true }, "node_modules/@angular-devkit/core/node_modules/jsonc-parser": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.1.0.tgz", - "integrity": "sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", "dev": true }, "node_modules/@angular-devkit/core/node_modules/source-map": { @@ -372,237 +447,273 @@ } }, "node_modules/@angular-devkit/schematics": { - "version": "14.2.12", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-14.2.12.tgz", - "integrity": "sha512-MN5yGR+SSSPPBBVMf4cifDJn9u0IYvxiHst+HWokH2AkBYy+vB1x8jYES2l1wkiISD7nvjTixfqX+Y95oMBoLg==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-15.2.9.tgz", + "integrity": "sha512-o08nE8sTpfq/Fknrr1rzBsM8vY36BDox+8dOo9Zc/KqcVPwDy94YKRzHb+xxVaU9jy1VYeCjy63mkyELy7Z3zQ==", "dev": true, "dependencies": { - "@angular-devkit/core": "14.2.12", - "jsonc-parser": "3.1.0", - "magic-string": "0.26.2", + "@angular-devkit/core": "15.2.9", + "jsonc-parser": "3.2.0", + "magic-string": "0.29.0", "ora": "5.4.1", "rxjs": "6.6.7" }, "engines": { - "node": "^14.15.0 || >=16.10.0", + "node": "^14.20.0 || ^16.13.0 || >=18.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, "node_modules/@angular-devkit/schematics/node_modules/jsonc-parser": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.1.0.tgz", - "integrity": "sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", "dev": true }, "node_modules/@angular-eslint/builder": { - "version": "13.0.0-alpha.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/builder/-/builder-13.0.0-alpha.1.tgz", - "integrity": "sha512-kJTD2QjgjYohnryvij9UOiIwWB9+M/KM5WsWvnm6FDVOY0Q2uLxlrxejqC/ZoimaO6GvFat8k+yxo8Jn4Skr8A==", + "version": "15.2.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/builder/-/builder-15.2.1.tgz", + "integrity": "sha512-7x2DANebLRl997Mj4DhZrnz5+vnSjavGGveJ0mBuU7CEsL0ZYLftdRqL0e0HtU3ksseS7xpchD6OM08nkNgySw==", "dev": true, - "dependencies": { - "@nrwl/devkit": "13.1.3" - }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0", + "eslint": "^7.20.0 || ^8.0.0", "typescript": "*" } }, "node_modules/@angular-eslint/bundled-angular-compiler": { - "version": "13.0.0-alpha.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-13.0.0-alpha.1.tgz", - "integrity": "sha512-C69uNh60OqpESpJq40Fkr6K5Kvxfjzk4vvYPmbqpdYvfm53NS76kyIYldKqw1EAtZlzNBy8Bowmj6L6osoHaNg==", + "version": "15.2.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-15.2.1.tgz", + "integrity": "sha512-LO7Am8eVCr7oh6a0VmKSL7K03CnQEQhFO7Wt/YtbfYOxVjrbwmYLwJn+wZPOT7A02t/BttOD/WXuDrOWtSMQ/Q==", "dev": true }, "node_modules/@angular-eslint/eslint-plugin": { - "version": "13.0.0-alpha.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin/-/eslint-plugin-13.0.0-alpha.1.tgz", - "integrity": "sha512-N2Yh0fyK+UpQDam9pQYLiH+rcHBRYOpsqzAuf/OefKCcS/u1qfoqgOxF3f8Ip6AAD6zyJY0qGw48+VA/J+ldqQ==", + "version": "15.2.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin/-/eslint-plugin-15.2.1.tgz", + "integrity": "sha512-OM7b1kS4E4CkXjkaWN+lEzawh4VxY6l7FO1Cuk4s7iv3/YpZG3rJxIZBqnFLTixwrBuqw8y4FNBzF3eDgmFAUw==", "dev": true, "dependencies": { - "@angular-eslint/utils": "13.0.0-alpha.1", - "@typescript-eslint/experimental-utils": "5.3.0" + "@angular-eslint/utils": "15.2.1", + "@typescript-eslint/utils": "5.48.2" }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0", + "eslint": "^7.20.0 || ^8.0.0", "typescript": "*" } }, "node_modules/@angular-eslint/eslint-plugin-template": { - "version": "13.0.0-alpha.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-13.0.0-alpha.1.tgz", - "integrity": "sha512-yc6bH0pF15DlWycL/NvGKtrygca4siQYlYn67iDnSM7GTUZ5QPNiBOmIX7cAOu5FrWEALadZpuz1Qwwg2FSeHw==", + "version": "15.2.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-15.2.1.tgz", + "integrity": "sha512-IeiSLk6YxapFdH2z5o/O3R7VwtBd2T6fWmhLFPwDYMDknrwegnOjwswCdBplOccpUp0wqlCeGUx7LTsuzwaz7w==", "dev": true, "dependencies": { - "@angular-eslint/bundled-angular-compiler": "13.0.0-alpha.1", - "@typescript-eslint/experimental-utils": "5.3.0", - "aria-query": "^4.2.2", - "axobject-query": "^2.2.0" + "@angular-eslint/bundled-angular-compiler": "15.2.1", + "@angular-eslint/utils": "15.2.1", + "@typescript-eslint/type-utils": "5.48.2", + "@typescript-eslint/utils": "5.48.2", + "aria-query": "5.1.3", + "axobject-query": "3.1.1" }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0", + "eslint": "^7.20.0 || ^8.0.0", "typescript": "*" } }, - "node_modules/@angular-eslint/eslint-plugin-template/node_modules/aria-query": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-4.2.2.tgz", - "integrity": "sha512-o/HelwhuKpTj/frsOsbNLNgnNGVIFsVP/SW2BSF14gVl7kAfMOJ6/8wUAUvG1R1NHKrfG+2sHZTu0yauT1qBrA==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.10.2", - "@babel/runtime-corejs3": "^7.10.2" - }, - "engines": { - "node": ">=6.0" - } - }, - "node_modules/@angular-eslint/eslint-plugin-template/node_modules/axobject-query": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz", - "integrity": "sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA==", - "dev": true - }, "node_modules/@angular-eslint/schematics": { - "version": "13.0.0-alpha.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/schematics/-/schematics-13.0.0-alpha.1.tgz", - "integrity": "sha512-uSYaIKdr+/5xhMMHWMakTcgp6COiur6g/zqcRXX+zdrH75OXgiVte1bhsyQ9rJ8nXWe9JxZ8O6cNYRtDmC1A5Q==", + "version": "15.2.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/schematics/-/schematics-15.2.1.tgz", + "integrity": "sha512-0ZfBCejHWIcgy3J5kFs9sS/jqi8i5AptxggOwFySOlCLJ+CzNrktjD4jff1Zy8K/VLzY0Ci0BSZXvgWfP0k9Rg==", "dev": true, "dependencies": { - "@angular-eslint/eslint-plugin": "13.0.0-alpha.1", - "@angular-eslint/eslint-plugin-template": "13.0.0-alpha.1", - "ignore": "5.1.9", + "@angular-eslint/eslint-plugin": "15.2.1", + "@angular-eslint/eslint-plugin-template": "15.2.1", + "ignore": "5.2.4", "strip-json-comments": "3.1.1", "tmp": "0.2.1" }, "peerDependencies": { - "@angular/cli": ">= 13.0.0 < 14.0.0" + "@angular/cli": ">= 15.0.0 < 16.0.0" } }, "node_modules/@angular-eslint/schematics/node_modules/ignore": { - "version": "5.1.9", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.9.tgz", - "integrity": "sha512-2zeMQpbKz5dhZ9IwL0gbxSW5w0NK/MSAMtNuhgIHEPmaU3vPdKPL0UdvUCXs5SS4JAwsBxysK5sFMW8ocFiVjQ==", + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", "dev": true, "engines": { "node": ">= 4" } }, "node_modules/@angular-eslint/template-parser": { - "version": "13.0.0-alpha.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-13.0.0-alpha.1.tgz", - "integrity": "sha512-NkdsToUm+7LxUuLtVdA0vMcmFfmygcvDs/oH91zYMMnsA/DUQ2fHpLccXSg0zuZlCfbIMDTGFfWuuNGuBy594Q==", + "version": "15.2.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-15.2.1.tgz", + "integrity": "sha512-ViCi79gC2aKJecmYLkOT+QlT5WMRNXeYz0Dr9Pr8qXzIbY0oAWE7nOT5jkXwQ9oUk+ybtGCWHma5JVJWVJsIog==", "dev": true, "dependencies": { - "@angular-eslint/bundled-angular-compiler": "13.0.0-alpha.1", - "eslint-scope": "^5.1.0" + "@angular-eslint/bundled-angular-compiler": "15.2.1", + "eslint-scope": "^7.0.0" }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0", + "eslint": "^7.20.0 || ^8.0.0", "typescript": "*" } }, + "node_modules/@angular-eslint/template-parser/node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@angular-eslint/template-parser/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, "node_modules/@angular-eslint/utils": { - "version": "13.0.0-alpha.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-13.0.0-alpha.1.tgz", - "integrity": "sha512-jYp1lx/xtNk/F3QoCQuG8Z3olp6By0weqPe/YU9i+wOa+iPAm3bcL4kjJg2xDCWrPUoEakjWSfeBI2SWtjnhWQ==", + "version": "15.2.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-15.2.1.tgz", + "integrity": "sha512-++FneAJHxJqcSu0igVN6uOkSoHxlzgLoMBswuovYJy3UKwm33/T6WFku8++753Ca/JucIoR1gdUfO7SoSspMDg==", "dev": true, "dependencies": { - "@angular-eslint/bundled-angular-compiler": "13.0.0-alpha.1", - "@typescript-eslint/experimental-utils": "5.3.0" + "@angular-eslint/bundled-angular-compiler": "15.2.1", + "@typescript-eslint/utils": "5.48.2" }, "peerDependencies": { - "eslint": "^7.0.0 || ^8.0.0", + "eslint": "^7.20.0 || ^8.0.0", "typescript": "*" } }, "node_modules/@angular/animations": { - "version": "14.3.0", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-14.3.0.tgz", - "integrity": "sha512-QoBcIKy1ZiU+4qJsAh5Ls20BupWiXiZzKb0s6L9/dntPt5Msr4Ao289XR2P6O1L+kTsCprH9Kt41zyGQ/bkRqg==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-15.2.9.tgz", + "integrity": "sha512-GQujLhI0cQFcl4Q8y0oSYKSRnW23GIeSL+Arl4eFufziJ9hGAAQNuesaNs/7i+9UlTHDMkPH3kd5ScXuYYz6wg==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.15.0 || >=16.10.0" + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/core": "14.3.0" + "@angular/core": "15.2.9" } }, "node_modules/@angular/cdk": { - "version": "14.2.7", - "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-14.2.7.tgz", - "integrity": "sha512-/tEsYaUbDSnfEmKVvAMramIptmhI67O+9STjOV0i+74XR2NospeK0fkbywIANu1n3w6AHGMotvRWJrjmbCElFg==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-15.2.9.tgz", + "integrity": "sha512-koaM07N1AIQ5oHU27l0/FoQSSoYAwlAYwVZ4Di3bYrJsTBNCN2Xsby7wI8gZxdepMnV4Fe9si382BDBov+oO4Q==", "peer": true, "dependencies": { "tslib": "^2.3.0" }, "optionalDependencies": { - "parse5": "^5.0.0" + "parse5": "^7.1.2" }, "peerDependencies": { - "@angular/common": "^14.0.0 || ^15.0.0", - "@angular/core": "^14.0.0 || ^15.0.0", + "@angular/common": "^15.0.0 || ^16.0.0", + "@angular/core": "^15.0.0 || ^16.0.0", "rxjs": "^6.5.3 || ^7.4.0" } }, + "node_modules/@angular/cdk/node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "optional": true, + "peer": true, + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, "node_modules/@angular/cdk/node_modules/parse5": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", - "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", + "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", "optional": true, - "peer": true + "peer": true, + "dependencies": { + "entities": "^4.4.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } }, "node_modules/@angular/cli": { - "version": "14.2.12", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-14.2.12.tgz", - "integrity": "sha512-G/785b6jIIX7J+zS8RHaCT1OYzqANw5hJlnLf8tLgmaadLMVNQvIrvHTYtmD86pbqCYyVDLoMxefxRIwMHJuqw==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-15.2.9.tgz", + "integrity": "sha512-mI6hkGyIJDKd8MRiBl3p5chsUhgnluwmpsq3g1FFPw+wv+eXsPYgCiHqXS/OsK+shFxii9XMxoZQO28bJ4NAOQ==", "dev": true, "dependencies": { - "@angular-devkit/architect": "0.1402.12", - "@angular-devkit/core": "14.2.12", - "@angular-devkit/schematics": "14.2.12", - "@schematics/angular": "14.2.12", + "@angular-devkit/architect": "0.1502.9", + "@angular-devkit/core": "15.2.9", + "@angular-devkit/schematics": "15.2.9", + "@schematics/angular": "15.2.9", "@yarnpkg/lockfile": "1.1.0", "ansi-colors": "4.1.3", - "debug": "4.3.4", - "ini": "3.0.0", + "ini": "3.0.1", "inquirer": "8.2.4", - "jsonc-parser": "3.1.0", - "npm-package-arg": "9.1.0", - "npm-pick-manifest": "7.0.1", - "open": "8.4.0", + "jsonc-parser": "3.2.0", + "npm-package-arg": "10.1.0", + "npm-pick-manifest": "8.0.1", + "open": "8.4.1", "ora": "5.4.1", - "pacote": "13.6.2", + "pacote": "15.1.0", "resolve": "1.22.1", "semver": "7.5.3", "symbol-observable": "4.0.0", - "uuid": "8.3.2", - "yargs": "17.5.1" + "yargs": "17.6.2" }, "bin": { "ng": "bin/ng.js" }, "engines": { - "node": "^14.15.0 || >=16.10.0", + "node": "^14.20.0 || ^16.13.0 || >=18.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, + "node_modules/@angular/cli/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/@angular/cli/node_modules/ini": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ini/-/ini-3.0.0.tgz", - "integrity": "sha512-TxYQaeNW/N8ymDvwAxPyRbhMBtnEwuvaTYpOQkFx1nSeusgezHniEc/l35Vo4iCq/mMiTJbpD7oYxN98hFlfmw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ini/-/ini-3.0.1.tgz", + "integrity": "sha512-it4HyVAUTKBc6m8e1iXWvXSTdndF7HbdN713+kvLrymxTaU4AUBWrJ4vEooP+V7fexnVD3LKcBshjGGPefSMUQ==", "dev": true, "engines": { "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/@angular/cli/node_modules/jsonc-parser": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.1.0.tgz", - "integrity": "sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", "dev": true }, "node_modules/@angular/cli/node_modules/semver": { @@ -630,18 +741,18 @@ } }, "node_modules/@angular/cli/node_modules/yargs": { - "version": "17.5.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz", - "integrity": "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==", + "version": "17.6.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.2.tgz", + "integrity": "sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==", "dev": true, "dependencies": { - "cliui": "^7.0.2", + "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", - "yargs-parser": "^21.0.0" + "yargs-parser": "^21.1.1" }, "engines": { "node": ">=12" @@ -657,33 +768,33 @@ } }, "node_modules/@angular/common": { - "version": "14.3.0", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-14.3.0.tgz", - "integrity": "sha512-pV9oyG3JhGWeQ+TFB0Qub6a1VZWMNZ6/7zEopvYivdqa5yDLLDSBRWb6P80RuONXyGnM1pa7l5nYopX+r/23GQ==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-15.2.9.tgz", + "integrity": "sha512-LM9/UHG2dRrOzlu2KovrFwWIziFMjRxHzSP3Igw6Symw/wIl0kXGq8Fn6RpFP78zmLqnv+IQOoRiby9MCXsI4g==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.15.0 || >=16.10.0" + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/core": "14.3.0", + "@angular/core": "15.2.9", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/compiler": { - "version": "14.3.0", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-14.3.0.tgz", - "integrity": "sha512-E15Rh0t3vA+bctbKnBCaDmLvc3ix+ZBt6yFZmhZalReQ+KpOlvOJv+L9oiFEgg+rYVl2QdvN7US1fvT0PqswLw==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-15.2.9.tgz", + "integrity": "sha512-MoKugbjk+E0wRBj12uvIyDLELlVLonnqjA2+XiF+7FxALIeyds3/qQeEoMmYIqAbN3NnTT5pV92RxWwG4tHFwA==", "peer": true, "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.15.0 || >=16.10.0" + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/core": "14.3.0" + "@angular/core": "15.2.9" }, "peerDependenciesMeta": { "@angular/core": { @@ -692,19 +803,19 @@ } }, "node_modules/@angular/compiler-cli": { - "version": "14.3.0", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-14.3.0.tgz", - "integrity": "sha512-eoKpKdQ2X6axMgzcPUMZVYl3bIlTMzMeTo5V29No4BzgiUB+QoOTYGNJZkGRyqTNpwD9uSBJvmT2vG9+eC4ghQ==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-15.2.9.tgz", + "integrity": "sha512-zsbI8G2xHOeYWI0hjFzrI//ZhZV9il/uQW5dAimfwJp06KZDeXZ3PdwY9JQslf6F+saLwOObxy6QMrIVvfjy9w==", "dev": true, "dependencies": { - "@babel/core": "^7.17.2", + "@babel/core": "7.19.3", + "@jridgewell/sourcemap-codec": "^1.4.14", "chokidar": "^3.0.0", "convert-source-map": "^1.5.1", "dependency-graph": "^0.11.0", - "magic-string": "^0.26.0", + "magic-string": "^0.27.0", "reflect-metadata": "^0.1.2", "semver": "^7.0.0", - "sourcemap-codec": "^1.4.8", "tslib": "^2.3.0", "yargs": "^17.2.1" }, @@ -714,11 +825,11 @@ "ngcc": "bundles/ngcc/main-ngcc.js" }, "engines": { - "node": "^14.15.0 || >=16.10.0" + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/compiler": "14.3.0", - "typescript": ">=4.6.2 <4.9" + "@angular/compiler": "15.2.9", + "typescript": ">=4.8.2 <5.0" } }, "node_modules/@angular/compiler-cli/node_modules/cliui": { @@ -735,6 +846,18 @@ "node": ">=12" } }, + "node_modules/@angular/compiler-cli/node_modules/magic-string": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz", + "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==", + "dev": true, + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.13" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/@angular/compiler-cli/node_modules/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", @@ -787,77 +910,124 @@ } }, "node_modules/@angular/core": { - "version": "14.3.0", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-14.3.0.tgz", - "integrity": "sha512-wYiwItc0Uyn4FWZ/OAx/Ubp2/WrD3EgUJ476y1XI7yATGPF8n9Ld5iCXT08HOvc4eBcYlDfh90kTXR6/MfhzdQ==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-15.2.9.tgz", + "integrity": "sha512-w46Z1yUXCQfKV7XfnamOoLA2VD0MVUUYVrUjO73mHSskDXSXxfZAEHO9kfUS71Cj35PvhP3mbkqWscpea2WeYg==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.15.0 || >=16.10.0" + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { "rxjs": "^6.5.3 || ^7.4.0", - "zone.js": "~0.11.4 || ~0.12.0" + "zone.js": "~0.11.4 || ~0.12.0 || ~0.13.0" } }, "node_modules/@angular/forms": { - "version": "14.3.0", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-14.3.0.tgz", - "integrity": "sha512-fBZZC2UFMom2AZPjGQzROPXFWO6kvCsPDKctjJwClVC8PuMrkm+RRyiYRdBbt2qxWHEqOZM2OCQo73xUyZOYHw==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-15.2.9.tgz", + "integrity": "sha512-sk0pC2EFi2Ohg5J0q0NYptbT+2WOkoiERSMYA39ncDvlSZBWsNlxpkbGUSck7NIxjK2QfcVN1ldGbHlZTFvtqg==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.15.0 || >=16.10.0" + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/common": "14.3.0", - "@angular/core": "14.3.0", - "@angular/platform-browser": "14.3.0", + "@angular/common": "15.2.9", + "@angular/core": "15.2.9", + "@angular/platform-browser": "15.2.9", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/language-service": { - "version": "14.3.0", - "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-14.3.0.tgz", - "integrity": "sha512-Sij3OQzj1UGs1O8H9PxVAY/o27+oqZwQRnib66rsWvtbIBTjHp4FV3dTs5iVcr62GGv4V4Mff/2I82NP10GPQg==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-15.2.9.tgz", + "integrity": "sha512-B7lP4q/eHge2lZezOXS96EYzVf4stMCWfOnz7+pUUi0HbF+A5QCV65SWQddS/M+NM2jj8N2L/j+6UCH8lJjTQA==", "dev": true, "engines": { - "node": "^14.15.0 || >=16.10.0" + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" } }, "node_modules/@angular/material": { - "version": "14.2.7", - "resolved": "https://registry.npmjs.org/@angular/material/-/material-14.2.7.tgz", - "integrity": "sha512-WXHh8pEStpgkXZJmYOg2cI8BSHkV82ET4XTJCNPdveumaCn1UYnaNzsXD13kw5z+zmy8CufhFEzdXTrv/yt7KQ==", - "dependencies": { + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-15.2.9.tgz", + "integrity": "sha512-emuFF/7+91Jq+6kVCl3FiVoFLtAZoh+woFQWNuK8nhx0HmD4ckLFI8d9a6ERYR3zRuKhq5deSRE2kYsfpjrrsQ==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/auto-init": "15.0.0-canary.684e33d25.0", + "@material/banner": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/button": "15.0.0-canary.684e33d25.0", + "@material/card": "15.0.0-canary.684e33d25.0", + "@material/checkbox": "15.0.0-canary.684e33d25.0", + "@material/chips": "15.0.0-canary.684e33d25.0", + "@material/circular-progress": "15.0.0-canary.684e33d25.0", + "@material/data-table": "15.0.0-canary.684e33d25.0", + "@material/density": "15.0.0-canary.684e33d25.0", + "@material/dialog": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/drawer": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/fab": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/floating-label": "15.0.0-canary.684e33d25.0", + "@material/form-field": "15.0.0-canary.684e33d25.0", + "@material/icon-button": "15.0.0-canary.684e33d25.0", + "@material/image-list": "15.0.0-canary.684e33d25.0", + "@material/layout-grid": "15.0.0-canary.684e33d25.0", + "@material/line-ripple": "15.0.0-canary.684e33d25.0", + "@material/linear-progress": "15.0.0-canary.684e33d25.0", + "@material/list": "15.0.0-canary.684e33d25.0", + "@material/menu": "15.0.0-canary.684e33d25.0", + "@material/menu-surface": "15.0.0-canary.684e33d25.0", + "@material/notched-outline": "15.0.0-canary.684e33d25.0", + "@material/radio": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/segmented-button": "15.0.0-canary.684e33d25.0", + "@material/select": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/slider": "15.0.0-canary.684e33d25.0", + "@material/snackbar": "15.0.0-canary.684e33d25.0", + "@material/switch": "15.0.0-canary.684e33d25.0", + "@material/tab": "15.0.0-canary.684e33d25.0", + "@material/tab-bar": "15.0.0-canary.684e33d25.0", + "@material/tab-indicator": "15.0.0-canary.684e33d25.0", + "@material/tab-scroller": "15.0.0-canary.684e33d25.0", + "@material/textfield": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tooltip": "15.0.0-canary.684e33d25.0", + "@material/top-app-bar": "15.0.0-canary.684e33d25.0", + "@material/touch-target": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", "tslib": "^2.3.0" }, "peerDependencies": { - "@angular/animations": "^14.0.0 || ^15.0.0", - "@angular/cdk": "14.2.7", - "@angular/common": "^14.0.0 || ^15.0.0", - "@angular/core": "^14.0.0 || ^15.0.0", - "@angular/forms": "^14.0.0 || ^15.0.0", - "@angular/platform-browser": "^14.0.0 || ^15.0.0", + "@angular/animations": "^15.0.0 || ^16.0.0", + "@angular/cdk": "15.2.9", + "@angular/common": "^15.0.0 || ^16.0.0", + "@angular/core": "^15.0.0 || ^16.0.0", + "@angular/forms": "^15.0.0 || ^16.0.0", + "@angular/platform-browser": "^15.0.0 || ^16.0.0", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/platform-browser": { - "version": "14.3.0", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-14.3.0.tgz", - "integrity": "sha512-w9Y3740UmTz44T0Egvc+4QV9sEbO61L+aRHbpkLTJdlEGzHByZvxJmJyBYmdqeyTPwc/Zpy7c02frlpfAlyB7A==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-15.2.9.tgz", + "integrity": "sha512-ufCHeSX+U6d43YOMkn3igwfqtlozoCXADcbyfUEG8m2y9XASobqmCKvdSk/zfl62oyiA8msntWBJVBE2l4xKXg==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.15.0 || >=16.10.0" + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/animations": "14.3.0", - "@angular/common": "14.3.0", - "@angular/core": "14.3.0" + "@angular/animations": "15.2.9", + "@angular/common": "15.2.9", + "@angular/core": "15.2.9" }, "peerDependenciesMeta": { "@angular/animations": { @@ -866,36 +1036,36 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "14.3.0", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-14.3.0.tgz", - "integrity": "sha512-rneZiMrIiYRhrkQvdL40E2ErKRn4Zdo6EtjBM9pAmWeyoM8oMnOZb9gz5vhrkNWg06kVMVg0yKqluP5How7j3A==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-15.2.9.tgz", + "integrity": "sha512-ZIYDM6MShblb8OyV1m4+18lJJ2LCeICmeg2uSbpFYptYBSOClrTiYOOFVDJvn7HLvNzljLs16XPrgyaYVqNpcw==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.15.0 || >=16.10.0" + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/common": "14.3.0", - "@angular/compiler": "14.3.0", - "@angular/core": "14.3.0", - "@angular/platform-browser": "14.3.0" + "@angular/common": "15.2.9", + "@angular/compiler": "15.2.9", + "@angular/core": "15.2.9", + "@angular/platform-browser": "15.2.9" } }, "node_modules/@angular/router": { - "version": "14.3.0", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-14.3.0.tgz", - "integrity": "sha512-uip0V7w7k7xyxxpTPbr7EuMnYLj3FzJrwkLVJSEw3TMMGHt5VU5t4BBa9veGZOta2C205XFrTAHnp8mD+XYY1w==", + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-15.2.9.tgz", + "integrity": "sha512-UCbh5DLSDhybv0xKYT7kGQMfOVdyhHIHOZz5EYVebbhste6S+W1LE57vTHq7QtxJsyKBa/WSkaUkCLXD6ntCAg==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.15.0 || >=16.10.0" + "node": "^14.20.0 || ^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/common": "14.3.0", - "@angular/core": "14.3.0", - "@angular/platform-browser": "14.3.0", + "@angular/common": "15.2.9", + "@angular/core": "15.2.9", + "@angular/platform-browser": "15.2.9", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -927,21 +1097,21 @@ } }, "node_modules/@babel/core": { - "version": "7.18.10", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.10.tgz", - "integrity": "sha512-JQM6k6ENcBFKVtWvLavlvi/mPcpYZ3+R+2EySDEMSMbp7Mn4FexlbbJVrx2R7Ijhr01T8gyqrOaABWIOgxeUyw==", + "version": "7.19.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.19.3.tgz", + "integrity": "sha512-WneDJxdsjEvyKtXKsaBGbDeiyOjR5vYq4HcShxnIbG0qixpoHjI3MqeZM9NDvsojNCEBItQE4juOo/bU6e72gQ==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.1.0", "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.18.10", - "@babel/helper-compilation-targets": "^7.18.9", - "@babel/helper-module-transforms": "^7.18.9", - "@babel/helpers": "^7.18.9", - "@babel/parser": "^7.18.10", + "@babel/generator": "^7.19.3", + "@babel/helper-compilation-targets": "^7.19.3", + "@babel/helper-module-transforms": "^7.19.0", + "@babel/helpers": "^7.19.0", + "@babel/parser": "^7.19.3", "@babel/template": "^7.18.10", - "@babel/traverse": "^7.18.10", - "@babel/types": "^7.18.10", + "@babel/traverse": "^7.19.3", + "@babel/types": "^7.19.3", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -966,12 +1136,12 @@ } }, "node_modules/@babel/generator": { - "version": "7.18.12", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.12.tgz", - "integrity": "sha512-dfQ8ebCN98SvyL7IxNMCUtZQSq5R7kxgN+r8qYTGDmmSion1hX2C0zq2yo1bsCDhXixokv1SAWTZUMYbO/V5zg==", + "version": "7.20.14", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.20.14.tgz", + "integrity": "sha512-AEmuXHdcD3A52HHXxaTmYlb8q/xMEhoRP67B3T4Oq7lbmSoqroMZzjnGj3+i1io3pdnF8iBYVu4Ilj+c4hBxYg==", "dev": true, "dependencies": { - "@babel/types": "^7.18.10", + "@babel/types": "^7.20.7", "@jridgewell/gen-mapping": "^0.3.2", "jsesc": "^2.5.1" }, @@ -1504,13 +1674,13 @@ } }, "node_modules/@babel/plugin-proposal-async-generator-functions": { - "version": "7.18.10", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.18.10.tgz", - "integrity": "sha512-1mFuY2TOsR1hxbjCo4QL+qlIjV07p4H4EUYw2J/WCqsvFV6V9X9z9YhXbWndc/4fw+hYGlDT7egYxliMp5O6Ew==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.20.7.tgz", + "integrity": "sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA==", "dev": true, "dependencies": { "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-plugin-utils": "^7.18.9", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/helper-remap-async-to-generator": "^7.18.9", "@babel/plugin-syntax-async-generators": "^7.8.4" }, @@ -1960,14 +2130,14 @@ } }, "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz", - "integrity": "sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.20.7.tgz", + "integrity": "sha512-Uo5gwHPT9vgnSXQxqGtpdufUiWp96gk7yiP4Mp5bm1QMkEmLXBO7PAGYbKoJ6DhAwiNkcHFBol/x5zZZkL/t0Q==", "dev": true, "dependencies": { "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6", - "@babel/helper-remap-async-to-generator": "^7.18.6" + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-remap-async-to-generator": "^7.18.9" }, "engines": { "node": ">=6.9.0" @@ -2388,16 +2558,16 @@ } }, "node_modules/@babel/plugin-transform-runtime": { - "version": "7.18.10", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.18.10.tgz", - "integrity": "sha512-q5mMeYAdfEbpBAgzl7tBre/la3LeCxmDO1+wMXRdPWbcoMjR3GiXlCLk7JBZVVye0bqTGNMbt0yYVXX1B1jEWQ==", + "version": "7.19.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.19.6.tgz", + "integrity": "sha512-PRH37lz4JU156lYFW1p8OxE5i7d6Sl/zV58ooyr+q1J1lnQPyg5tIiXlIwNVhJaY4W3TmOtdc8jqdXQcB1v5Yw==", "dev": true, "dependencies": { "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.9", - "babel-plugin-polyfill-corejs2": "^0.3.2", - "babel-plugin-polyfill-corejs3": "^0.5.3", - "babel-plugin-polyfill-regenerator": "^0.4.0", + "@babel/helper-plugin-utils": "^7.19.0", + "babel-plugin-polyfill-corejs2": "^0.3.3", + "babel-plugin-polyfill-corejs3": "^0.6.0", + "babel-plugin-polyfill-regenerator": "^0.4.1", "semver": "^6.3.0" }, "engines": { @@ -2524,18 +2694,18 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.18.10", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.10.tgz", - "integrity": "sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA==", + "version": "7.20.2", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.20.2.tgz", + "integrity": "sha512-1G0efQEWR1EHkKvKHqbG+IN/QdgwfByUpM5V5QroDzGV2t3S/WXNQd693cHiHTlCFMpr9B6FkPFXDA2lQcKoDg==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.18.8", - "@babel/helper-compilation-targets": "^7.18.9", - "@babel/helper-plugin-utils": "^7.18.9", + "@babel/compat-data": "^7.20.1", + "@babel/helper-compilation-targets": "^7.20.0", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/helper-validator-option": "^7.18.6", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6", "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.18.9", - "@babel/plugin-proposal-async-generator-functions": "^7.18.10", + "@babel/plugin-proposal-async-generator-functions": "^7.20.1", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-class-static-block": "^7.18.6", "@babel/plugin-proposal-dynamic-import": "^7.18.6", @@ -2544,7 +2714,7 @@ "@babel/plugin-proposal-logical-assignment-operators": "^7.18.9", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", "@babel/plugin-proposal-numeric-separator": "^7.18.6", - "@babel/plugin-proposal-object-rest-spread": "^7.18.9", + "@babel/plugin-proposal-object-rest-spread": "^7.20.2", "@babel/plugin-proposal-optional-catch-binding": "^7.18.6", "@babel/plugin-proposal-optional-chaining": "^7.18.9", "@babel/plugin-proposal-private-methods": "^7.18.6", @@ -2555,7 +2725,7 @@ "@babel/plugin-syntax-class-static-block": "^7.14.5", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-import-assertions": "^7.18.6", + "@babel/plugin-syntax-import-assertions": "^7.20.0", "@babel/plugin-syntax-json-strings": "^7.8.3", "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", @@ -2568,10 +2738,10 @@ "@babel/plugin-transform-arrow-functions": "^7.18.6", "@babel/plugin-transform-async-to-generator": "^7.18.6", "@babel/plugin-transform-block-scoped-functions": "^7.18.6", - "@babel/plugin-transform-block-scoping": "^7.18.9", - "@babel/plugin-transform-classes": "^7.18.9", + "@babel/plugin-transform-block-scoping": "^7.20.2", + "@babel/plugin-transform-classes": "^7.20.2", "@babel/plugin-transform-computed-properties": "^7.18.9", - "@babel/plugin-transform-destructuring": "^7.18.9", + "@babel/plugin-transform-destructuring": "^7.20.2", "@babel/plugin-transform-dotall-regex": "^7.18.6", "@babel/plugin-transform-duplicate-keys": "^7.18.9", "@babel/plugin-transform-exponentiation-operator": "^7.18.6", @@ -2579,30 +2749,30 @@ "@babel/plugin-transform-function-name": "^7.18.9", "@babel/plugin-transform-literals": "^7.18.9", "@babel/plugin-transform-member-expression-literals": "^7.18.6", - "@babel/plugin-transform-modules-amd": "^7.18.6", - "@babel/plugin-transform-modules-commonjs": "^7.18.6", - "@babel/plugin-transform-modules-systemjs": "^7.18.9", + "@babel/plugin-transform-modules-amd": "^7.19.6", + "@babel/plugin-transform-modules-commonjs": "^7.19.6", + "@babel/plugin-transform-modules-systemjs": "^7.19.6", "@babel/plugin-transform-modules-umd": "^7.18.6", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.18.6", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.19.1", "@babel/plugin-transform-new-target": "^7.18.6", "@babel/plugin-transform-object-super": "^7.18.6", - "@babel/plugin-transform-parameters": "^7.18.8", + "@babel/plugin-transform-parameters": "^7.20.1", "@babel/plugin-transform-property-literals": "^7.18.6", "@babel/plugin-transform-regenerator": "^7.18.6", "@babel/plugin-transform-reserved-words": "^7.18.6", "@babel/plugin-transform-shorthand-properties": "^7.18.6", - "@babel/plugin-transform-spread": "^7.18.9", + "@babel/plugin-transform-spread": "^7.19.0", "@babel/plugin-transform-sticky-regex": "^7.18.6", "@babel/plugin-transform-template-literals": "^7.18.9", "@babel/plugin-transform-typeof-symbol": "^7.18.9", "@babel/plugin-transform-unicode-escapes": "^7.18.10", "@babel/plugin-transform-unicode-regex": "^7.18.6", "@babel/preset-modules": "^0.1.5", - "@babel/types": "^7.18.10", - "babel-plugin-polyfill-corejs2": "^0.3.2", - "babel-plugin-polyfill-corejs3": "^0.5.3", - "babel-plugin-polyfill-regenerator": "^0.4.0", - "core-js-compat": "^3.22.1", + "@babel/types": "^7.20.2", + "babel-plugin-polyfill-corejs2": "^0.3.3", + "babel-plugin-polyfill-corejs3": "^0.6.0", + "babel-plugin-polyfill-regenerator": "^0.4.1", + "core-js-compat": "^3.25.1", "semver": "^6.3.0" }, "engines": { @@ -2644,39 +2814,26 @@ "dev": true }, "node_modules/@babel/runtime": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.9.tgz", - "integrity": "sha512-lkqXDcvlFT5rvEjiu6+QYO+1GXrEHRo2LOtS7E4GtX5ESIZOgepqsZBVIj6Pv+a6zqsya9VCgiK1KAK4BvJDAw==", - "dev": true, - "dependencies": { - "regenerator-runtime": "^0.13.4" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/runtime-corejs3": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.17.0.tgz", - "integrity": "sha512-qeydncU80ravKzovVncW3EYaC1ji3GpntdPgNcJy9g7hHSY6KX+ne1cbV3ov7Zzm4F1z0+QreZPCuw1ynkmYNg==", + "version": "7.20.13", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.13.tgz", + "integrity": "sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA==", "dev": true, "dependencies": { - "core-js-pure": "^3.20.2", - "regenerator-runtime": "^0.13.4" + "regenerator-runtime": "^0.13.11" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/template": { - "version": "7.18.10", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz", - "integrity": "sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.20.7.tgz", + "integrity": "sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==", "dev": true, "dependencies": { "@babel/code-frame": "^7.18.6", - "@babel/parser": "^7.18.10", - "@babel/types": "^7.18.10" + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7" }, "engines": { "node": ">=6.9.0" @@ -2755,301 +2912,261 @@ "node": ">=0.1.90" } }, - "node_modules/@csstools/postcss-cascade-layers": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@csstools/postcss-cascade-layers/-/postcss-cascade-layers-1.1.1.tgz", - "integrity": "sha512-+KdYrpKC5TgomQr2DlZF4lDEpHcoxnj5IGddYYfBWJAKfj1JtuHUIqMa+E1pJJ+z3kvDViWMqyqPlG4Ja7amQA==", + "node_modules/@discoveryjs/json-ext": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", + "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", "dev": true, - "dependencies": { - "@csstools/selector-specificity": "^2.0.2", - "postcss-selector-parser": "^6.0.10" - }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=10.0.0" } }, - "node_modules/@csstools/postcss-color-function": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@csstools/postcss-color-function/-/postcss-color-function-1.1.1.tgz", - "integrity": "sha512-Bc0f62WmHdtRDjf5f3e2STwRAl89N2CLb+9iAwzrv4L2hncrbDwnQD9PCq0gtAt7pOI2leIV08HIBUd4jxD8cw==", + "node_modules/@esbuild/android-arm": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.8.tgz", + "integrity": "sha512-0/rb91GYKhrtbeglJXOhAv9RuYimgI8h623TplY2X+vA4EXnk3Zj1fXZreJ0J3OJJu1bwmb0W7g+2cT/d8/l/w==", + "cpu": [ + "arm" + ], "dev": true, - "dependencies": { - "@csstools/postcss-progressive-custom-properties": "^1.1.0", - "postcss-value-parser": "^4.2.0" - }, + "optional": true, + "os": [ + "android" + ], "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=12" } }, - "node_modules/@csstools/postcss-font-format-keywords": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@csstools/postcss-font-format-keywords/-/postcss-font-format-keywords-1.0.1.tgz", - "integrity": "sha512-ZgrlzuUAjXIOc2JueK0X5sZDjCtgimVp/O5CEqTcs5ShWBa6smhWYbS0x5cVc/+rycTDbjjzoP0KTDnUneZGOg==", + "node_modules/@esbuild/android-arm64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.8.tgz", + "integrity": "sha512-oa/N5j6v1svZQs7EIRPqR8f+Bf8g6HBDjD/xHC02radE/NjKHK7oQmtmLxPs1iVwYyvE+Kolo6lbpfEQ9xnhxQ==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "postcss-value-parser": "^4.2.0" - }, + "optional": true, + "os": [ + "android" + ], "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=12" } }, - "node_modules/@csstools/postcss-hwb-function": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@csstools/postcss-hwb-function/-/postcss-hwb-function-1.0.2.tgz", - "integrity": "sha512-YHdEru4o3Rsbjmu6vHy4UKOXZD+Rn2zmkAmLRfPet6+Jz4Ojw8cbWxe1n42VaXQhD3CQUXXTooIy8OkVbUcL+w==", + "node_modules/@esbuild/android-x64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.8.tgz", + "integrity": "sha512-bTliMLqD7pTOoPg4zZkXqCDuzIUguEWLpeqkNfC41ODBHwoUgZ2w5JBeYimv4oP6TDVocoYmEhZrCLQTrH89bg==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "postcss-value-parser": "^4.2.0" - }, + "optional": true, + "os": [ + "android" + ], "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=12" } }, - "node_modules/@csstools/postcss-ic-unit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@csstools/postcss-ic-unit/-/postcss-ic-unit-1.0.1.tgz", - "integrity": "sha512-Ot1rcwRAaRHNKC9tAqoqNZhjdYBzKk1POgWfhN4uCOE47ebGcLRqXjKkApVDpjifL6u2/55ekkpnFcp+s/OZUw==", + "node_modules/@esbuild/darwin-arm64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.8.tgz", + "integrity": "sha512-ghAbV3ia2zybEefXRRm7+lx8J/rnupZT0gp9CaGy/3iolEXkJ6LYRq4IpQVI9zR97ID80KJVoUlo3LSeA/sMAg==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@csstools/postcss-progressive-custom-properties": "^1.1.0", - "postcss-value-parser": "^4.2.0" - }, + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=12" } }, - "node_modules/@csstools/postcss-is-pseudo-class": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/@csstools/postcss-is-pseudo-class/-/postcss-is-pseudo-class-2.0.7.tgz", - "integrity": "sha512-7JPeVVZHd+jxYdULl87lvjgvWldYu+Bc62s9vD/ED6/QTGjy0jy0US/f6BG53sVMTBJ1lzKZFpYmofBN9eaRiA==", + "node_modules/@esbuild/darwin-x64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.8.tgz", + "integrity": "sha512-n5WOpyvZ9TIdv2V1K3/iIkkJeKmUpKaCTdun9buhGRWfH//osmUjlv4Z5mmWdPWind/VGcVxTHtLfLCOohsOXw==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@csstools/selector-specificity": "^2.0.0", - "postcss-selector-parser": "^6.0.10" - }, + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=12" } }, - "node_modules/@csstools/postcss-nested-calc": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@csstools/postcss-nested-calc/-/postcss-nested-calc-1.0.0.tgz", - "integrity": "sha512-JCsQsw1wjYwv1bJmgjKSoZNvf7R6+wuHDAbi5f/7MbFhl2d/+v+TvBTU4BJH3G1X1H87dHl0mh6TfYogbT/dJQ==", + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.8.tgz", + "integrity": "sha512-a/SATTaOhPIPFWvHZDoZYgxaZRVHn0/LX1fHLGfZ6C13JqFUZ3K6SMD6/HCtwOQ8HnsNaEeokdiDSFLuizqv5A==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "postcss-value-parser": "^4.2.0" - }, + "optional": true, + "os": [ + "freebsd" + ], "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=12" } }, - "node_modules/@csstools/postcss-normalize-display-values": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@csstools/postcss-normalize-display-values/-/postcss-normalize-display-values-1.0.1.tgz", - "integrity": "sha512-jcOanIbv55OFKQ3sYeFD/T0Ti7AMXc9nM1hZWu8m/2722gOTxFg7xYu4RDLJLeZmPUVQlGzo4jhzvTUq3x4ZUw==", + "node_modules/@esbuild/freebsd-x64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.8.tgz", + "integrity": "sha512-xpFJb08dfXr5+rZc4E+ooZmayBW6R3q59daCpKZ/cDU96/kvDM+vkYzNeTJCGd8rtO6fHWMq5Rcv/1cY6p6/0Q==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "postcss-value-parser": "^4.2.0" - }, + "optional": true, + "os": [ + "freebsd" + ], "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=12" } }, - "node_modules/@csstools/postcss-oklab-function": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@csstools/postcss-oklab-function/-/postcss-oklab-function-1.1.1.tgz", - "integrity": "sha512-nJpJgsdA3dA9y5pgyb/UfEzE7W5Ka7u0CX0/HIMVBNWzWemdcTH3XwANECU6anWv/ao4vVNLTMxhiPNZsTK6iA==", + "node_modules/@esbuild/linux-arm": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.8.tgz", + "integrity": "sha512-6Ij8gfuGszcEwZpi5jQIJCVIACLS8Tz2chnEBfYjlmMzVsfqBP1iGmHQPp7JSnZg5xxK9tjCc+pJ2WtAmPRFVA==", + "cpu": [ + "arm" + ], "dev": true, - "dependencies": { - "@csstools/postcss-progressive-custom-properties": "^1.1.0", - "postcss-value-parser": "^4.2.0" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=12" } }, - "node_modules/@csstools/postcss-progressive-custom-properties": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@csstools/postcss-progressive-custom-properties/-/postcss-progressive-custom-properties-1.3.0.tgz", - "integrity": "sha512-ASA9W1aIy5ygskZYuWams4BzafD12ULvSypmaLJT2jvQ8G0M3I8PRQhC0h7mG0Z3LI05+agZjqSR9+K9yaQQjA==", + "node_modules/@esbuild/linux-arm64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.8.tgz", + "integrity": "sha512-v3iwDQuDljLTxpsqQDl3fl/yihjPAyOguxuloON9kFHYwopeJEf1BkDXODzYyXEI19gisEsQlG1bM65YqKSIww==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "postcss-value-parser": "^4.2.0" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": "^12 || ^14 || >=16" - }, - "peerDependencies": { - "postcss": "^8.3" + "node": ">=12" } }, - "node_modules/@csstools/postcss-stepped-value-functions": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@csstools/postcss-stepped-value-functions/-/postcss-stepped-value-functions-1.0.1.tgz", - "integrity": "sha512-dz0LNoo3ijpTOQqEJLY8nyaapl6umbmDcgj4AD0lgVQ572b2eqA1iGZYTTWhrcrHztWDDRAX2DGYyw2VBjvCvQ==", + "node_modules/@esbuild/linux-ia32": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.8.tgz", + "integrity": "sha512-8svILYKhE5XetuFk/B6raFYIyIqydQi+GngEXJgdPdI7OMKUbSd7uzR02wSY4kb53xBrClLkhH4Xs8P61Q2BaA==", + "cpu": [ + "ia32" + ], "dev": true, - "dependencies": { - "postcss-value-parser": "^4.2.0" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=12" } }, - "node_modules/@csstools/postcss-text-decoration-shorthand": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@csstools/postcss-text-decoration-shorthand/-/postcss-text-decoration-shorthand-1.0.0.tgz", - "integrity": "sha512-c1XwKJ2eMIWrzQenN0XbcfzckOLLJiczqy+YvfGmzoVXd7pT9FfObiSEfzs84bpE/VqfpEuAZ9tCRbZkZxxbdw==", + "node_modules/@esbuild/linux-loong64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.8.tgz", + "integrity": "sha512-B6FyMeRJeV0NpyEOYlm5qtQfxbdlgmiGdD+QsipzKfFky0K5HW5Td6dyK3L3ypu1eY4kOmo7wW0o94SBqlqBSA==", + "cpu": [ + "loong64" + ], "dev": true, - "dependencies": { - "postcss-value-parser": "^4.2.0" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=12" } }, - "node_modules/@csstools/postcss-trigonometric-functions": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@csstools/postcss-trigonometric-functions/-/postcss-trigonometric-functions-1.0.2.tgz", - "integrity": "sha512-woKaLO///4bb+zZC2s80l+7cm07M7268MsyG3M0ActXXEFi6SuhvriQYcb58iiKGbjwwIU7n45iRLEHypB47Og==", + "node_modules/@esbuild/linux-mips64el": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.8.tgz", + "integrity": "sha512-CCb67RKahNobjm/eeEqeD/oJfJlrWyw29fgiyB6vcgyq97YAf3gCOuP6qMShYSPXgnlZe/i4a8WFHBw6N8bYAA==", + "cpu": [ + "mips64el" + ], "dev": true, - "dependencies": { - "postcss-value-parser": "^4.2.0" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": "^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=12" } }, - "node_modules/@csstools/postcss-unset-value": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@csstools/postcss-unset-value/-/postcss-unset-value-1.0.2.tgz", - "integrity": "sha512-c8J4roPBILnelAsdLr4XOAR/GsTm0GJi4XpcfvoWk3U6KiTCqiFYc63KhRMQQX35jYMp4Ao8Ij9+IZRgMfJp1g==", + "node_modules/@esbuild/linux-ppc64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.8.tgz", + "integrity": "sha512-bytLJOi55y55+mGSdgwZ5qBm0K9WOCh0rx+vavVPx+gqLLhxtSFU0XbeYy/dsAAD6xECGEv4IQeFILaSS2auXw==", + "cpu": [ + "ppc64" + ], "dev": true, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=12" } }, - "node_modules/@csstools/selector-specificity": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-2.2.0.tgz", - "integrity": "sha512-+OJ9konv95ClSTOJCmMZqpd5+YGsB2S+x6w3E1oaM8UuR5j8nTNHYSz8c9BEPGDOCMQYIEEGlVPj/VY64iTbGw==", + "node_modules/@esbuild/linux-riscv64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.8.tgz", + "integrity": "sha512-2YpRyQJmKVBEHSBLa8kBAtbhucaclb6ex4wchfY0Tj3Kg39kpjeJ9vhRU7x4mUpq8ISLXRXH1L0dBYjAeqzZAw==", + "cpu": [ + "riscv64" + ], "dev": true, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": "^14 || ^16 || >=18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss-selector-parser": "^6.0.10" + "node": ">=12" } }, - "node_modules/@discoveryjs/json-ext": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", - "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", + "node_modules/@esbuild/linux-s390x": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.8.tgz", + "integrity": "sha512-QgbNY/V3IFXvNf11SS6exkpVcX0LJcob+0RWCgV9OiDAmVElnxciHIisoSix9uzYzScPmS6dJFbZULdSAEkQVw==", + "cpu": [ + "s390x" + ], "dev": true, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=10.0.0" + "node": ">=12" } }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.15.5.tgz", - "integrity": "sha512-UHkDFCfSGTuXq08oQltXxSZmH1TXyWsL+4QhZDWvvLl6mEJQqk3u7/wq1LjhrrAXYIllaTtRSzUXl4Olkf2J8A==", + "node_modules/@esbuild/linux-x64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.8.tgz", + "integrity": "sha512-mM/9S0SbAFDBc4OPoyP6SEOo5324LpUxdpeIUUSrSTOfhHU9hEfqRngmKgqILqwx/0DVJBzeNW7HmLEWp9vcOA==", "cpu": [ - "loong64" + "x64" ], "dev": true, "optional": true, @@ -3060,6 +3177,102 @@ "node": ">=12" } }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.8.tgz", + "integrity": "sha512-eKUYcWaWTaYr9zbj8GertdVtlt1DTS1gNBWov+iQfWuWyuu59YN6gSEJvFzC5ESJ4kMcKR0uqWThKUn5o8We6Q==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.8.tgz", + "integrity": "sha512-Vc9J4dXOboDyMXKD0eCeW0SIeEzr8K9oTHJU+Ci1mZc5njPfhKAqkRt3B/fUNU7dP+mRyralPu8QUkiaQn7iIg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.8.tgz", + "integrity": "sha512-0xvOTNuPXI7ft1LYUgiaXtpCEjp90RuBBYovdd2lqAFxje4sEucurg30M1WIm03+3jxByd3mfo+VUmPtRSVuOw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.8.tgz", + "integrity": "sha512-G0JQwUI5WdEFEnYNKzklxtBheCPkuDdu1YrtRrjuQv30WsYbkkoixKxLLv8qhJmNI+ATEWquZe/N0d0rpr55Mg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.8.tgz", + "integrity": "sha512-Fqy63515xl20OHGFykjJsMnoIWS+38fqfg88ClvPXyDbLtgXal2DTlhb1TfTX34qWi3u4I7Cq563QcHpqgLx8w==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.8.tgz", + "integrity": "sha512-1iuezdyDNngPnz8rLRDO2C/ZZ/emJLb72OsZeqQ6gL6Avko/XCXZw+NuxBSNhBAP13Hie418V7VMt9et1FMvpg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@eslint/eslintrc": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.0.5.tgz", @@ -3159,12 +3372,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@gar/promisify": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", - "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", - "dev": true - }, "node_modules/@humanwhocodes/config-array": { "version": "0.9.3", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.3.tgz", @@ -3468,57 +3675,798 @@ "graceful-fs": "^4.1.6" } }, - "node_modules/@ngtools/webpack": { - "version": "14.2.12", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-14.2.12.tgz", - "integrity": "sha512-d/NRQAjS3BsMDUpLrhza+bvI7HKIV+lyRAvD3LYj5FE9kMoEGw4zRo9JG8ookCzvT2FjNiXQ7DWDZSAeMOy+WQ==", - "dev": true, - "engines": { - "node": "^14.15.0 || >=16.10.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "node_modules/@material/animation": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/animation/-/animation-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-5osi1z4JQIXcklPALbH/zTfOm2pDzHt9Fxm7ZyURy250xIZj6QjULRzPTnzOhC2ropfix9ra2Cfggbf0dcRbEQ==", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@material/auto-init": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/auto-init/-/auto-init-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-OigQTmrVzkcGvxNjOaIe5oItTFPgrO9xLewvharDI6m6yvO1z7OBnkcW+sFN6ggLNYNxd0O1u9v64vMsmeDABQ==", + "dependencies": { + "@material/base": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/banner": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/banner/-/banner-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-PqtGp3KWzdu58rWv/DIvSfe38m5YKOBbAAbBinSvgadBb/da+IE1t5F7YPNKE1T5lJsQBGVUYx6QBIeXm+aI/A==", + "dependencies": { + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/button": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/base": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/base/-/base-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-oOaqb/SfjWwTKsdJUZmeh/Qrs41nIJI0N+zELsxnvbGjSIN1ZMAKYZFPMahqvC68OJ6+5CvJM8PoTNs5l+B8IQ==", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@material/button": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/button/-/button-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-Nkekk4edeX+ObVOa7UlwavaHdmckPV5wU4SAJf3iA3R61cmz+KsgAgpzfcwv5WfNhIlc2nLu8QYEecpHdo9d/w==", + "dependencies": { + "@material/density": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/focus-ring": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "@material/touch-target": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/card": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/card/-/card-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-xhyB7XX5KkEiCEqwSPkl58ZGYL6xFdnY62zimyBXJRG/Eaa0Swj3kW20hVCpt4f7c9Zmp8Se27rg8vnKmhvO3g==", + "dependencies": { + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/checkbox": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/checkbox/-/checkbox-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-NFpM3TS924PmVsk2KQLNU95OYCf8ZwYgzeqfnAexU0bEfjUJXINBun2Go0AaeOUMjuvWUe+byjrXgv8SFYbMUA==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/density": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/focus-ring": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/touch-target": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/chips": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/chips/-/chips-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-z4ajQ4NnsAQ/Si9tZ4xmxzjj2Qb+vW++4QjCjjjwAGIZbCe0xglAnMh2t66XLJUxt7RoKZuZVEO7ZqcFZpvJFQ==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/checkbox": "15.0.0-canary.684e33d25.0", + "@material/density": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/focus-ring": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "@material/touch-target": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "safevalues": "^0.3.4", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/circular-progress": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/circular-progress/-/circular-progress-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-G6qD0nGNtEUwWnAMJuA9INYFpZoKtx7KFjBaPF4Ol2YLHtmShALNAYyn54TMAK8AZ2IpW08PXjGS7Ye88vrdEQ==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/progress-indicator": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/data-table": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/data-table/-/data-table-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-+wDw1DDDFfAsKAMzs84f/5GCjux39zjNfW8tL4wFbkWNwewmQrG9zaQMJhBpVOtLCrM8Gj6SOgOANqgqoCjvGg==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/checkbox": "15.0.0-canary.684e33d25.0", + "@material/density": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/icon-button": "15.0.0-canary.684e33d25.0", + "@material/linear-progress": "15.0.0-canary.684e33d25.0", + "@material/list": "15.0.0-canary.684e33d25.0", + "@material/menu": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/select": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "@material/touch-target": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/density": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/density/-/density-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-661yEVRMGrlq6S6WuSbPRO+ZwpdUOg2glCc7y96doM6itSLOa3UEAldjOLfsYZVB74GnKCiuDp//QmfoRyYTfA==", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@material/dialog": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/dialog/-/dialog-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-szn0dHnfeQTSOC6SSRSGAzX6Tnx+4NnSMUwNkXm+3bwjds8ZVK26+DXwLrP5f3ID5F1K5sFsRf2INo5/TNTHyQ==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/button": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/icon-button": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "@material/touch-target": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/dom": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/dom/-/dom-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-7pEJLYov+tGgfuD8mZxoVU6rWtPI8ppjTAhz+F27Hz9FG0JETMWTKpDPBXLnKvX7vhIxL83GvZ9geNHCe8Hfog==", + "dependencies": { + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/drawer": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/drawer/-/drawer-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-/KMckLf1PYU/H3PXnS4e0aFl03qG3JlSv4LGgX6juJufcONqGTl/m63EMO/L/eUy6H1CRrXmVDjik/jzHLyDhg==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/list": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/elevation": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/elevation/-/elevation-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-WDF8SsRtq3rXUbVVbd9K4DUijIPH0bUFSOreVYxudpuxAfTlDS5+aeS1EK9UIBFYLuba4u5wVT2tDv6e1RTfrQ==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/fab": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/fab/-/fab-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-KCu87rWOKEAe9vZcAm6K8XazYSWPNjMG+OhrbPjHW6bCO7as1YCgtmkBkhff7csY/rFmcVpIy884xtUfLmSudQ==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/focus-ring": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "@material/touch-target": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/feature-targeting": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/feature-targeting/-/feature-targeting-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-HyH1erNTSjS63sigNSUMaCd0nJhTNdDFeC+myrxwtDaQm+uYJ8troCNtQM3g6mx0XATNtX5aTOoPmrM6yVVi1A==", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@material/floating-label": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/floating-label/-/floating-label-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-f7TPp6bKpGvV3sYYiZHSGlrixXKkXXITW3Esp7KB9jRq42c0H82novmdwvY0eTef4ootmA2JEysr78KQfHBUPg==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/focus-ring": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/focus-ring/-/focus-ring-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-ikw2RVUfgzXChpWIzPH1VzRvTjYb5ZKj4H+CZf7jqPUXMstFOZg90Bp7ARLZHqYiyNMuUq3zUTHozS6iHorSqg==", + "dependencies": { + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0" + } + }, + "node_modules/@material/form-field": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/form-field/-/form-field-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-vpF9N/uq5no/7+8GAbEH0868FhOuBgxAWRr1Sfb+jthKfBr8OS/wPU/AHzZHdHdAm7PQynbeOXfDsX2dI//PDA==", + "dependencies": { + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/icon-button": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/icon-button/-/icon-button-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-wMI+XGzmIN/o2ePBKg2hLyx7H4pXCRAyyIKMQS1FMp1UKa2tYmiHVX/V8skhKwCqxg3i6Ls/LxMjfPxTR18WvQ==", + "dependencies": { + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/density": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/focus-ring": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/touch-target": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/image-list": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/image-list/-/image-list-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-Ol+uaHYBe5R/cgzlfh5ONnMVX0wO6fV74JMUcQCQlxP6lXau/edARo4tkRc7A7UJUkU3VRv0EpEjLoCRNUPGaA==", + "dependencies": { + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/layout-grid": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/layout-grid/-/layout-grid-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-ALXE1mqFNb/RB2lVRQ3/r1Aufw2mFZnOjRE+boYDVepmAG/xWyPCyaGoavELJF5l4GAb0tXi8wA/8HeGbLOpuA==", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@material/line-ripple": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/line-ripple/-/line-ripple-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-7hRx8C/e9i0P6pgQpNOMfTwSS2r1fwEvBL72QDVGLtLuoKKwsjjgP6Z0Jat/GeHJe87u9LQvGBoD4upt+of/HA==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/linear-progress": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/linear-progress/-/linear-progress-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-iJclt7mKmcMk6pqD7ocXKfCWZhqBoODp7N593jYlxVpTJuEz2wiVAjZUDn/YGj/Uz3CRH+2YFfOiLr9pwWjhDg==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/progress-indicator": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/list": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/list/-/list-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-rQ+FCSdzmwTcT00IYE0uRV3CS4oGSccKFl9hkcF+aHFW61L7ORh/SCGUDPrEfQFrFkMn5f8qroVJjpUAMXBz4g==", + "dependencies": { + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/density": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/menu": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/menu/-/menu-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-r7wzDLSGSI9629/mfpvsMzkVxpmV75kcD3IrW0Pcu6/Bv/1xi0EvjcUXzNJJoQlwN4Zj35Ymz/PCjZkIDIz68Q==", + "dependencies": { + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/list": "15.0.0-canary.684e33d25.0", + "@material/menu-surface": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/menu-surface": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/menu-surface/-/menu-surface-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-RVO5GAYcfWPaKwxsF/NhUAmrYXQCQBKvRQW0TIlbmAJz6lcFeTs6YZqF3u1C7qrL3ZQGz+sur/7ywj6QU0oMow==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/notched-outline": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/notched-outline/-/notched-outline-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-9YHcBkvJLPVYzkHcWoTpBZAFrEd+j1hjhGxLhh0LuNrZe8VroUkZD1TTnUAPHRG3os6EqEWWaKb0RN+aPIF2yQ==", + "dependencies": { + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/floating-label": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/progress-indicator": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/progress-indicator/-/progress-indicator-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-c0icji4faeNWUoqGENGC7Hav0Puxh0RwXIDVizffaUxKIGbajpIp5+4Zop73fK/xFLGMB/npg7TbP+aCGjQ3fw==", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/@material/radio": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/radio/-/radio-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-U3Eh8sNUA8trDla1Bq8Bo02foxYvtoewaKeF8A8tAju81XZ4jRiftfOsOWZDZEHCVbbCB2QwvutvFlnay5n+Aw==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/density": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/focus-ring": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/touch-target": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/ripple": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/ripple/-/ripple-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-RyePu7SjIm/OuyyEieZ/gxiPYkNZOZHeid72WRcN9ofdlljj2pifcdPvcfZA+v/DMS33xo5GjG2L/Qj6ClWrKw==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/rtl": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/rtl/-/rtl-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-NqdJl8Ayupp1Th+vCNCpVQHbUFOuF7TCte9LD1norTIBUF/QizIxWby2W5uUEiPbnh5j9PmE1CJtfLwKun3pcw==", + "dependencies": { + "@material/theme": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/segmented-button": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/segmented-button/-/segmented-button-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-bEGgg8vgXNLyukyV8HRjFMuQ6t6nm5LQ4Pgm22um61Yc8qyi0BOqV41OR4SVdUrUqZxh1aVD+p+4NN03+LfQXw==", + "dependencies": { + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/touch-target": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/select": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/select/-/select-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-kf178/2TeEinTv0mgmSBcmmExQ2h7a7dtR1E3WuqQgisJ/R6+zVLMkC2CnfIyzxYX2vkuUTG0ue3Reh/6XiqSg==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/density": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/floating-label": "15.0.0-canary.684e33d25.0", + "@material/line-ripple": "15.0.0-canary.684e33d25.0", + "@material/list": "15.0.0-canary.684e33d25.0", + "@material/menu": "15.0.0-canary.684e33d25.0", + "@material/menu-surface": "15.0.0-canary.684e33d25.0", + "@material/notched-outline": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/shape": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/shape/-/shape-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-aEelpaTFmpnCji3TUGP9bVCS/bRVjUmLTHBPZtuu1gOrUVVtJ6kYOg73dZNJF+XOoNL2yOX/LRcKwsop29tptA==", + "dependencies": { + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/slider": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/slider/-/slider-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-WVyK+2pSNSZmj07M2K/a3TADoQ9FBCndfNC/vE7/wGIg4dddJJK5KvQ+yruf9R2cSzTL/S1sZ5WpyyeM8E9HTw==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/snackbar": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/snackbar/-/snackbar-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-itO+DCkOannZzR1/cCHcqAm7ifhuFvXmDItNoA8qLEcAyJDJJRkhpwj3XQ01yuo9gBFcSctp7Txt7e+Hncm/Jg==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/button": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/icon-button": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/switch": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/switch/-/switch-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-Jxi0gl92yvvZZsAPxvVHzXx2ga+T/djMow98jvEczmpUorWnAhgiCr9CsSSRoosahWyRB8NLZOxUQrACxvffjw==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/density": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/focus-ring": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "safevalues": "^0.3.4", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/tab": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/tab/-/tab-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-WQL3wj9syHNcfe8KbgGGUcA34M8C/xZ+n0Fkkh8Kk6puVwaU+xqUNihsxPY6YzKpmh4PZ4oJaBdiN8zvFT1zqQ==", + "dependencies": { + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/focus-ring": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/tab-indicator": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/tab-bar": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/tab-bar/-/tab-bar-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-SW/cMaDsIGGkM1ag3A7GJRlmr8eXmObWsvitQJzh6Azr5zzZtSI+GQygkMesAEE1gbpqOVN8d40rh3H7VVIAcA==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/density": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/tab": "15.0.0-canary.684e33d25.0", + "@material/tab-indicator": "15.0.0-canary.684e33d25.0", + "@material/tab-scroller": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/tab-indicator": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/tab-indicator/-/tab-indicator-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-kKICqSPqOlaf0lzaFFCmuOqPXJC+cK48Qmsc+m5o6fJhkmuZRCYpIwB2JeP+uZSOq/bTH+SrPtCtnVlgWg6ksA==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/tab-scroller": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/tab-scroller/-/tab-scroller-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-H6EU/TSiK/M2DyyORX5GEtXD9rKYxTMHC2VxsNWARPMFJGzgeW2ugYkFv+rKI1/c0bs0CJ4e+qFnOlBsQXZvyQ==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/tab": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/textfield": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/textfield/-/textfield-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-OvgpDXjvpyJTtAWskO69IDybFvDNzr9w2PN/Fk7yFm+uNVupaWz1Ew8lZ4gGslaTNSVmh2XcsvmzxcLINSiiNg==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/density": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/floating-label": "15.0.0-canary.684e33d25.0", + "@material/line-ripple": "15.0.0-canary.684e33d25.0", + "@material/notched-outline": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/theme": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/theme/-/theme-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-AZxaXXAvRKzAi20RlMxzt2U5UmkCWyv7DMWEBXsxtG5Tk54mi1HsbVUp3fxDPTlmL7Pq8p1/DESg/o7TgRCVlw==", + "dependencies": { + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/tokens": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/tokens/-/tokens-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-wVwbQOTCXDPKYPdHQHLr026y36MMFelID1CmbfRk6mSol4O8yE9U0fXcShfRDW8Qo5E3X31w9c2A6T3neJY7wQ==", + "dependencies": { + "@material/elevation": "15.0.0-canary.684e33d25.0" + } + }, + "node_modules/@material/tooltip": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/tooltip/-/tooltip-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-dtm26QjxyQdinc8btgz6yys07b7bUW4FZgNF2EBPeGrICrPg7jf+JEvDziz5g8VMaTBQLOQRSCGy0MKuRlOjLw==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/button": "15.0.0-canary.684e33d25.0", + "@material/dom": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/tokens": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "safevalues": "^0.3.4", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/top-app-bar": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/top-app-bar/-/top-app-bar-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-1M+oupUxflfW7u81P1XlxoLZB8bLzwtpKofIfDNRbEsiKhlLTERJR3Yak3BGE9xakNMysAaBHlkb5MrN5bNPFw==", + "dependencies": { + "@material/animation": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/elevation": "15.0.0-canary.684e33d25.0", + "@material/ripple": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/shape": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/typography": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/touch-target": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/touch-target/-/touch-target-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-zdE69Slg8+T7sTn1OwqZ6H7WBYac9mxJ/JlJqfTqthzIjZRcCxBSYymQJcDHjsrPnUojOtr9U4Tpm5YZ96TEkQ==", + "dependencies": { + "@material/base": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@material/typography": { + "version": "15.0.0-canary.684e33d25.0", + "resolved": "https://registry.npmjs.org/@material/typography/-/typography-15.0.0-canary.684e33d25.0.tgz", + "integrity": "sha512-aVnvgMwcfNa/K4wujzpKDIxjGl2hbkEL+m+OKDSQqWYjKcP9QrbzCXJruJBqxrBoPRHLbqo47k5f9uT8raSgjw==", + "dependencies": { + "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.684e33d25.0", + "tslib": "^2.1.0" + } + }, + "node_modules/@ngtools/webpack": { + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-15.2.9.tgz", + "integrity": "sha512-nOXUGqKkAEMlCcrhkDwWDzcVdKNH7MNRUXfNzsFc9zdeR/5p3qt6SVMN7OOE3NREyI7P6nzARc3S+6QDBjf3Jg==", + "dev": true, + "engines": { + "node": "^14.20.0 || ^16.13.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, "peerDependencies": { - "@angular/compiler-cli": "^14.0.0", - "typescript": ">=4.6.2 <4.9", + "@angular/compiler-cli": "^15.0.0", + "typescript": ">=4.8.2 <5.0", "webpack": "^5.54.0" } }, "node_modules/@ngx-translate/core": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/@ngx-translate/core/-/core-11.0.1.tgz", - "integrity": "sha512-nBCa1ZD9fAUY/3eskP3Lql2fNg8OMrYIej1/5GRsfcutx9tG/5fZLCv9m6UCw1aS+u4uK/vXjv1ctG/FdMvaWg==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@ngx-translate/core/-/core-14.0.0.tgz", + "integrity": "sha512-UevdwNCXMRCdJv//0kC8h2eSfmi02r29xeE8E9gJ1Al4D4jEJ7eiLPdjslTMc21oJNGguqqWeEVjf64SFtvw2w==", "dependencies": { - "tslib": "^1.9.0" + "tslib": "^2.3.0" }, "peerDependencies": { - "@angular/core": ">=7.0.0", - "rxjs": ">=6.3.0" + "@angular/core": ">=13.0.0", + "rxjs": "^6.5.3 || ^7.4.0" } }, - "node_modules/@ngx-translate/core/node_modules/tslib": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", - "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==" - }, "node_modules/@ngx-translate/http-loader": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@ngx-translate/http-loader/-/http-loader-4.0.0.tgz", - "integrity": "sha512-x8LumqydWD7eX9yQTAVeoCM9gFUIGVTUjZqbxdAUavAA3qVnk9wCQux7iHLPXpydl8vyQmLoPQR+fFU+DUDOMA==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@ngx-translate/http-loader/-/http-loader-7.0.0.tgz", + "integrity": "sha512-j+NpXXlcGVdyUNyY/qsJrqqeAdJdizCd+GKh3usXExSqy1aE9866jlAIL+xrfDU4w+LiMoma5pgE4emvFebZmA==", "dependencies": { - "tslib": "^1.9.0" + "tslib": "^2.3.0" }, "peerDependencies": { - "@angular/common": ">=7.0.0", - "@ngx-translate/core": ">=11.0.0", - "rxjs": ">=6.3.0" + "@angular/common": ">=13.0.0", + "@ngx-translate/core": ">=14.0.0", + "rxjs": "^6.5.3 || ^7.4.0" } }, - "node_modules/@ngx-translate/http-loader/node_modules/tslib": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", - "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==" - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -3555,16 +4503,15 @@ } }, "node_modules/@npmcli/fs": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.2.tgz", - "integrity": "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.0.tgz", + "integrity": "sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==", "dev": true, "dependencies": { - "@gar/promisify": "^1.1.3", "semver": "^7.3.5" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@npmcli/fs/node_modules/semver": { @@ -3583,23 +4530,22 @@ } }, "node_modules/@npmcli/git": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-3.0.2.tgz", - "integrity": "sha512-CAcd08y3DWBJqJDpfuVL0uijlq5oaXaOJEKHKc4wqrjd00gkvTZB+nFuLn+doOOKddaQS9JfqtNoFCO2LCvA3w==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-4.1.0.tgz", + "integrity": "sha512-9hwoB3gStVfa0N31ymBmrX+GuDGdVA/QWShZVqE0HK2Af+7QGGrCTbZia/SW0ImUTjTne7SP91qxDmtXvDHRPQ==", "dev": true, "dependencies": { - "@npmcli/promise-spawn": "^3.0.0", + "@npmcli/promise-spawn": "^6.0.0", "lru-cache": "^7.4.4", - "mkdirp": "^1.0.4", - "npm-pick-manifest": "^7.0.0", - "proc-log": "^2.0.0", + "npm-pick-manifest": "^8.0.0", + "proc-log": "^3.0.0", "promise-inflight": "^1.0.1", "promise-retry": "^2.0.1", "semver": "^7.3.5", - "which": "^2.0.2" + "which": "^3.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@npmcli/git/node_modules/lru-cache": { @@ -3611,18 +4557,6 @@ "node": ">=12" } }, - "node_modules/@npmcli/git/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@npmcli/git/node_modules/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", @@ -3651,310 +4585,228 @@ } }, "node_modules/@npmcli/git/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", "dev": true, "dependencies": { "isexe": "^2.0.0" }, "bin": { - "node-which": "bin/node-which" + "node-which": "bin/which.js" }, "engines": { - "node": ">= 8" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@npmcli/installed-package-contents": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz", - "integrity": "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz", + "integrity": "sha512-xACzLPhnfD51GKvTOOuNX2/V4G4mz9/1I2MfDoye9kBM3RYe5g2YbscsaGoTlaWqkxeiapBWyseULVKpSVHtKQ==", "dev": true, "dependencies": { - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" + "npm-bundled": "^3.0.0", + "npm-normalize-package-bin": "^3.0.0" }, "bin": { - "installed-package-contents": "index.js" + "installed-package-contents": "lib/index.js" }, "engines": { - "node": ">= 10" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@npmcli/move-file": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-2.0.1.tgz", - "integrity": "sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==", - "deprecated": "This functionality has been moved to @npmcli/fs", + "node_modules/@npmcli/node-gyp": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz", + "integrity": "sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/promise-spawn": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-6.0.2.tgz", + "integrity": "sha512-gGq0NJkIGSwdbUt4yhdF8ZrmkGKVz9vAdVzpOfnom+V8PLSmSOVhZwbNvZZS1EYcJN5hzzKBxmmVVAInM6HQLg==", "dev": true, "dependencies": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" + "which": "^3.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@npmcli/move-file/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "node_modules/@npmcli/promise-spawn/node_modules/which": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, "bin": { - "mkdirp": "bin/cmd.js" + "node-which": "bin/which.js" }, "engines": { - "node": ">=10" - } - }, - "node_modules/@npmcli/move-file/node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@npmcli/node-gyp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz", - "integrity": "sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@npmcli/promise-spawn": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-3.0.0.tgz", - "integrity": "sha512-s9SgS+p3a9Eohe68cSI3fi+hpcZUmXq5P7w0kMlAsWVtR7XbK3ptkZqKT2cK1zLDObJ3sR+8P59sJE0w/KTL1g==", - "dev": true, - "dependencies": { - "infer-owner": "^1.0.4" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@npmcli/run-script": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-4.2.1.tgz", - "integrity": "sha512-7dqywvVudPSrRCW5nTHpHgeWnbBtz8cFkOuKrecm6ih+oO9ciydhWt6OF7HlqupRRmB8Q/gECVdB9LMfToJbRg==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-6.0.2.tgz", + "integrity": "sha512-NCcr1uQo1k5U+SYlnIrbAh3cxy+OQT1VtqiAbxdymSlptbzBb62AjH2xXgjNCoP073hoa1CfCAcwoZ8k96C4nA==", "dev": true, "dependencies": { - "@npmcli/node-gyp": "^2.0.0", - "@npmcli/promise-spawn": "^3.0.0", + "@npmcli/node-gyp": "^3.0.0", + "@npmcli/promise-spawn": "^6.0.0", "node-gyp": "^9.0.0", - "read-package-json-fast": "^2.0.3", - "which": "^2.0.2" + "read-package-json-fast": "^3.0.0", + "which": "^3.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@npmcli/run-script/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", "dev": true, "dependencies": { "isexe": "^2.0.0" }, "bin": { - "node-which": "bin/node-which" + "node-which": "bin/which.js" }, "engines": { - "node": ">= 8" - } - }, - "node_modules/@nrwl/devkit": { - "version": "13.1.3", - "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-13.1.3.tgz", - "integrity": "sha512-TAAsZJvVc/obeH0rZKY6miVhyM2GHGb8qIWp9MAIdLlXf4VDcNC7rxwb5OrGVSwuTTjqGYBGPUx0yEogOOJthA==", - "dev": true, - "dependencies": { - "@nrwl/tao": "13.1.3", - "ejs": "^3.1.5", - "ignore": "^5.0.4", - "rxjs": "^6.5.4", - "semver": "7.3.4", - "tslib": "^2.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@nrwl/devkit/node_modules/ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", "dev": true, + "optional": true, "engines": { - "node": ">= 4" + "node": ">=14" } }, - "node_modules/@nrwl/devkit/node_modules/semver": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "node_modules/@schematics/angular": { + "version": "15.2.9", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-15.2.9.tgz", + "integrity": "sha512-0Lit6TLNUwcAYiEkXgZp3vY9xAO1cnZCBXuUcp+6v+Ddnrt2w/YOiGe74p21cYe0StkTpTljsqsKBTiX7TMjQg==", "dev": true, "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" + "@angular-devkit/core": "15.2.9", + "@angular-devkit/schematics": "15.2.9", + "jsonc-parser": "3.2.0" }, "engines": { - "node": ">=10" + "node": "^14.20.0 || ^16.13.0 || >=18.10.0", + "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", + "yarn": ">= 1.13.0" } }, - "node_modules/@nrwl/tao": { - "version": "13.1.3", - "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-13.1.3.tgz", - "integrity": "sha512-/IwJgSgCBD1SaF+n8RuXX2OxDAh8ut/+P8pMswjm8063ac30UlAHjQ4XTYyskLH8uoUmNi2hNaGgHUrkwt7tQA==", - "dev": true, - "dependencies": { - "chalk": "4.1.0", - "enquirer": "~2.3.6", - "fs-extra": "^9.1.0", - "jsonc-parser": "3.0.0", - "nx": "13.1.3", - "rxjs": "^6.5.4", - "rxjs-for-await": "0.0.2", - "semver": "7.3.4", - "tmp": "~0.2.1", - "tslib": "^2.0.0", - "yargs-parser": "20.0.0" - }, - "bin": { - "tao": "index.js" - } + "node_modules/@schematics/angular/node_modules/jsonc-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", + "dev": true }, - "node_modules/@nrwl/tao/node_modules/chalk": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", - "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "node_modules/@sigstore/bundle": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-1.0.0.tgz", + "integrity": "sha512-yLvrWDOh6uMOUlFCTJIZEnwOT9Xte7NPXUqVexEKGSF5XtBAuSg5du0kn3dRR0p47a4ah10Y0mNt8+uyeQXrBQ==", "dev": true, "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "@sigstore/protobuf-specs": "^0.2.0" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@nrwl/tao/node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "node_modules/@sigstore/protobuf-specs": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.2.0.tgz", + "integrity": "sha512-8ZhZKAVfXjIspDWwm3D3Kvj0ddbJ0HqDZ/pOs5cx88HpT8mVsotFrg7H1UMnXOuDHz6Zykwxn4mxG3QLuN+RUg==", "dev": true, - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, "engines": { - "node": ">=10" - } - }, - "node_modules/@nrwl/tao/node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@nrwl/tao/node_modules/semver": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "node_modules/@sigstore/tuf": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-1.0.3.tgz", + "integrity": "sha512-2bRovzs0nJZFlCN3rXirE4gwxCn97JNjMmwpecqlbgV9WcxX7WRuIrgzx/X7Ib7MYRbyUTpBYE0s2x6AmZXnlg==", "dev": true, "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" + "@sigstore/protobuf-specs": "^0.2.0", + "tuf-js": "^1.1.7" }, "engines": { - "node": ">=10" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@nrwl/tao/node_modules/universalify": { + "node_modules/@socket.io/component-emitter": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz", + "integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==", + "dev": true + }, + "node_modules/@tootallnate/once": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", "dev": true, "engines": { - "node": ">= 10.0.0" + "node": ">= 10" } }, - "node_modules/@nrwl/tao/node_modules/yargs-parser": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.0.0.tgz", - "integrity": "sha512-8eblPHTL7ZWRkyjIZJjnGf+TijiKJSwA24svzLRVvtgoi/RZiKa9fFQTrlx0OKLnyHSdt/enrdadji6WFfESVA==", + "node_modules/@tufjs/canonical-json": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-1.0.0.tgz", + "integrity": "sha512-QTnf++uxunWvG2z3UFNzAoQPHxnSXOwtaI3iJ+AohhV+5vONuArPjJE7aPXPVXfXJsqrVbZBu9b81AJoSd09IQ==", "dev": true, "engines": { - "node": ">=10" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@pkgjs/parseargs": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "node_modules/@tufjs/models": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-1.0.4.tgz", + "integrity": "sha512-qaGV9ltJP0EO25YfFUPhxRVK0evXFIAGicsVXuRim4Ed9cjPxYhNnNJ49SFmbeLgtxpslIkX317IgpfcHPVj/A==", "dev": true, - "optional": true, + "dependencies": { + "@tufjs/canonical-json": "1.0.0", + "minimatch": "^9.0.0" + }, "engines": { - "node": ">=14" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@schematics/angular": { - "version": "14.2.12", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-14.2.12.tgz", - "integrity": "sha512-nCxoFzH/uh5vqhaAjAfQIBgGuCdV3RMjdSwD0VQ+GFiFvTe8rqFyDl+qpNCgETz4LwmGHb5HNjDH9+VyVLgfZQ==", + "node_modules/@tufjs/models/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "dependencies": { - "@angular-devkit/core": "14.2.12", - "@angular-devkit/schematics": "14.2.12", - "jsonc-parser": "3.1.0" - }, - "engines": { - "node": "^14.15.0 || >=16.10.0", - "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", - "yarn": ">= 1.13.0" + "balanced-match": "^1.0.0" } }, - "node_modules/@schematics/angular/node_modules/jsonc-parser": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.1.0.tgz", - "integrity": "sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg==", - "dev": true - }, - "node_modules/@socket.io/component-emitter": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz", - "integrity": "sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==", - "dev": true - }, - "node_modules/@tootallnate/once": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "node_modules/@tufjs/models/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, "engines": { - "node": ">= 10" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/@types/body-parser": { @@ -4154,6 +5006,12 @@ "integrity": "sha512-lMC2G0ItF2xv4UCiwbJGbnJlIuUixHrioOhNGHSCsYCJ8l4t9hMCUimCytvFv7qy6AfSzRxhRHoGa+UqaqwyeA==", "dev": true }, + "node_modules/@types/semver": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz", + "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==", + "dev": true + }, "node_modules/@types/send": { "version": "0.17.1", "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.1.tgz", @@ -4347,10 +5205,37 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/types": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.3.0.tgz", - "integrity": "sha512-fce5pG41/w8O6ahQEhXmMV+xuh4+GayzqEogN24EK+vECA3I6pUwKuLi5QbXO721EMitpQne5VKXofPonYlAQg==", + "node_modules/@typescript-eslint/type-utils": { + "version": "5.48.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.48.2.tgz", + "integrity": "sha512-QVWx7J5sPMRiOMJp5dYshPxABRoZV1xbRirqSk8yuIIsu0nvMTZesKErEA3Oix1k+uvsk8Cs8TGJ6kQ0ndAcew==", + "dev": true, + "dependencies": { + "@typescript-eslint/typescript-estree": "5.48.2", + "@typescript-eslint/utils": "5.48.2", + "debug": "^4.3.4", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { + "version": "5.48.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.48.2.tgz", + "integrity": "sha512-hE7dA77xxu7ByBc6KCzikgfRyBCTst6dZQpwaTy25iMYOnbNljDT4hjhrGEJJ0QoMjrfqrx+j1l1B9/LtKeuqA==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -4360,18 +5245,18 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.3.0.tgz", - "integrity": "sha512-FJ0nqcaUOpn/6Z4Jwbtf+o0valjBLkqc3MWkMvrhA2TvzFXtcclIM8F4MBEmYa2kgcI8EZeSAzwoSrIC8JYkug==", + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { + "version": "5.48.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.2.tgz", + "integrity": "sha512-bibvD3z6ilnoVxUBFEgkO0k0aFvUc4Cttt0dAreEr+nrAHhWzkO83PEVVuieK3DqcgL6VAK5dkzK8XUVja5Zcg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.3.0", - "@typescript-eslint/visitor-keys": "5.3.0", - "debug": "^4.3.2", - "globby": "^11.0.4", + "@typescript-eslint/types": "5.48.2", + "@typescript-eslint/visitor-keys": "5.48.2", + "debug": "^4.3.4", + "globby": "^11.1.0", "is-glob": "^4.0.3", - "semver": "^7.3.5", + "semver": "^7.3.7", "tsutils": "^3.21.0" }, "engines": { @@ -4387,32 +5272,33 @@ } } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { + "version": "5.48.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.48.2.tgz", + "integrity": "sha512-z9njZLSkwmjFWUelGEwEbdf4NwKvfHxvGC0OcGN1Hp/XNDIcJ7D5DpPNPv6x6/mFvc1tQHsaWmpD/a4gOvvCJQ==", "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.48.2", + "eslint-visitor-keys": "^3.3.0" + }, "engines": { - "node": ">=8" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/fast-glob": { - "version": "3.2.11", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz", - "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", + "node_modules/@typescript-eslint/type-utils/node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", "dev": true, - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, "engines": { - "node": ">=8.6.0" + "node": ">=8" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/globby": { + "node_modules/@typescript-eslint/type-utils/node_modules/globby": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", @@ -4432,19 +5318,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", + "node_modules/@typescript-eslint/type-utils/node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", "dev": true, "engines": { "node": ">= 4" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "node_modules/@typescript-eslint/type-utils/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -4456,7 +5342,7 @@ "node": ">=10" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/slash": { + "node_modules/@typescript-eslint/type-utils/node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", @@ -4465,13 +5351,13 @@ "node": ">=8" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/tslib": { + "node_modules/@typescript-eslint/type-utils/node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "dev": true }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/tsutils": { + "node_modules/@typescript-eslint/type-utils/node_modules/tsutils": { "version": "3.21.0", "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", @@ -4486,15 +5372,11 @@ "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" } }, - "node_modules/@typescript-eslint/visitor-keys": { + "node_modules/@typescript-eslint/types": { "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.3.0.tgz", - "integrity": "sha512-oVIAfIQuq0x2TFDNLVavUn548WL+7hdhxYn+9j3YdJJXB7mH9dAmZNJsPDa7Jc+B9WGqoiex7GUDbyMxV0a/aw==", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.3.0.tgz", + "integrity": "sha512-fce5pG41/w8O6ahQEhXmMV+xuh4+GayzqEogN24EK+vECA3I6pUwKuLi5QbXO721EMitpQne5VKXofPonYlAQg==", "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.3.0", - "eslint-visitor-keys": "^3.0.0" - }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -4503,5481 +5385,4853 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@webassemblyjs/ast": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", - "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", - "dev": true, - "dependencies": { - "@webassemblyjs/helper-numbers": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1" - } - }, - "node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", - "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", - "dev": true - }, - "node_modules/@webassemblyjs/helper-api-error": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", - "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", - "dev": true - }, - "node_modules/@webassemblyjs/helper-buffer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", - "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", - "dev": true - }, - "node_modules/@webassemblyjs/helper-numbers": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", - "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", - "dev": true, - "dependencies": { - "@webassemblyjs/floating-point-hex-parser": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", - "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", - "dev": true - }, - "node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", - "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1" - } - }, - "node_modules/@webassemblyjs/ieee754": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", - "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", - "dev": true, - "dependencies": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "node_modules/@webassemblyjs/leb128": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", - "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", - "dev": true, - "dependencies": { - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/utf8": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", - "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", - "dev": true - }, - "node_modules/@webassemblyjs/wasm-edit": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", - "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/helper-wasm-section": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-opt": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "@webassemblyjs/wast-printer": "1.11.1" - } - }, - "node_modules/@webassemblyjs/wasm-gen": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", - "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" - } - }, - "node_modules/@webassemblyjs/wasm-opt": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", - "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1" - } - }, - "node_modules/@webassemblyjs/wasm-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", - "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" - } - }, - "node_modules/@webassemblyjs/wast-printer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", - "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", - "dev": true, - "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@xtuc/ieee754": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", - "dev": true - }, - "node_modules/@xtuc/long": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", - "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", - "dev": true - }, - "node_modules/@yarnpkg/lockfile": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", - "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", - "dev": true - }, - "node_modules/abab": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", - "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", - "dev": true - }, - "node_modules/abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "dev": true - }, - "node_modules/accepts": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", - "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", - "dev": true, - "dependencies": { - "mime-types": "~2.1.34", - "negotiator": "0.6.3" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/ace-builds": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.4.14.tgz", - "integrity": "sha512-NBOQlm9+7RBqRqZwimpgquaLeTJFayqb9UEPtTkpC3TkkwDnlsT/TwsCC0svjt9kEZ6G9mH5AEOHSz6Q/HrzQQ==" - }, - "node_modules/acorn": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", - "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-import-assertions": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz", - "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==", - "dev": true, - "peerDependencies": { - "acorn": "^8" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/adjust-sourcemap-loader": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-4.0.0.tgz", - "integrity": "sha512-OXwN5b9pCUXNQHJpwwD2qP40byEmSgzj8B4ydSN0uMNYWiFmJ6x6KwUllMmfk8Rwu/HJDFR7U8ubsWBoN0Xp0A==", - "dev": true, - "dependencies": { - "loader-utils": "^2.0.0", - "regex-parser": "^2.2.11" - }, - "engines": { - "node": ">=8.9" - } - }, - "node_modules/adjust-sourcemap-loader/node_modules/loader-utils": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", - "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", - "dev": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - }, - "engines": { - "node": ">=8.9.0" - } - }, - "node_modules/adm-zip": { - "version": "0.5.10", - "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.10.tgz", - "integrity": "sha512-x0HvcHqVJNTPk/Bw8JbLWlWoo6Wwnsug0fnYYro1HBrjxZ3G7/AZk7Ahv8JwDe1uIcz8eBqvu86FuF1POiG7vQ==", - "dev": true, - "engines": { - "node": ">=6.0" - } - }, - "node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dev": true, - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/agentkeepalive": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", - "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", - "dependencies": { - "debug": "^4.1.0", - "depd": "^2.0.0", - "humanize-ms": "^1.2.1" - }, - "engines": { - "node": ">= 8.0.0" - } - }, - "node_modules/aggregate-error": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", - "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", - "dev": true, - "dependencies": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-formats": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", - "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", - "dev": true, - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/ajv-formats/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-formats/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "node_modules/ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "dev": true, - "peerDependencies": { - "ajv": "^6.9.1" - } - }, - "node_modules/angular-oauth2-oidc": { - "version": "13.0.1", - "resolved": "https://registry.npmjs.org/angular-oauth2-oidc/-/angular-oauth2-oidc-13.0.1.tgz", - "integrity": "sha512-aL1VIv9Jqoqq31lbpUXIeNpM3GeN/ldb3KOlq0cV92amGpZs9J4YA+2rlJ5V9zb6NFNbvd7XfTntMbnNuS0+CQ==", - "dependencies": { - "fast-sha256": "^1.3.0", - "tslib": "^2.0.0" - }, - "peerDependencies": { - "@angular/common": ">=12.0.0", - "@angular/core": ">=12.0.0" - } - }, - "node_modules/ansi-colors": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-html-community": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz", - "integrity": "sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==", - "dev": true, - "engines": [ - "node >= 0.8.0" - ], - "bin": { - "ansi-html": "bin/ansi-html" - } - }, - "node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/ansi-styles/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "dev": true, - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/aproba": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", - "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", - "dev": true - }, - "node_modules/are-we-there-yet": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", - "dev": true, - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/are-we-there-yet/node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/argparse/node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" - }, - "node_modules/array-differ": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-2.1.0.tgz", - "integrity": "sha512-KbUpJgx909ZscOc/7CLATBFam7P1Z1QRQInvgT0UztM9Q72aGKCunKASAl7WNW0tnPmPyEMeMhdsfWhfmW037w==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/array-flatten": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", - "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==", - "dev": true - }, - "node_modules/array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", - "dev": true, - "dependencies": { - "array-uniq": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", - "dev": true, - "dependencies": { - "safer-buffer": "~2.1.0" - } - }, - "node_modules/assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "dev": true, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", - "dev": true - }, - "node_modules/at-least-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/autoprefixer": { - "version": "10.4.14", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", - "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/autoprefixer" - } - ], - "dependencies": { - "browserslist": "^4.21.5", - "caniuse-lite": "^1.0.30001464", - "fraction.js": "^4.2.0", - "normalize-range": "^0.1.2", - "picocolors": "^1.0.0", - "postcss-value-parser": "^4.2.0" - }, - "bin": { - "autoprefixer": "bin/autoprefixer" - }, - "engines": { - "node": "^10 || ^12 || >=14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", - "dev": true, - "engines": { - "node": "*" - } - }, - "node_modules/aws4": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", - "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", - "dev": true - }, - "node_modules/babel-loader": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.5.tgz", - "integrity": "sha512-OSiFfH89LrEMiWd4pLNqGz4CwJDtbs2ZVc+iGu2HrkRfPxId9F2anQj38IxWpmRfsUY0aBZYi1EFcd3mhtRMLQ==", - "dev": true, - "dependencies": { - "find-cache-dir": "^3.3.1", - "loader-utils": "^2.0.0", - "make-dir": "^3.1.0", - "schema-utils": "^2.6.5" - }, - "engines": { - "node": ">= 8.9" - }, - "peerDependencies": { - "@babel/core": "^7.0.0", - "webpack": ">=2" - } - }, - "node_modules/babel-loader/node_modules/loader-utils": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", - "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", - "dev": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - }, - "engines": { - "node": ">=8.9.0" - } - }, - "node_modules/babel-loader/node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/babel-loader/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/babel-plugin-istanbul": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", - "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-instrument": "^5.0.4", - "test-exclude": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz", - "integrity": "sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.17.7", - "@babel/helper-define-polyfill-provider": "^0.3.3", - "semver": "^6.1.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-plugin-polyfill-corejs2/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.3.tgz", - "integrity": "sha512-zKsXDh0XjnrUEW0mxIHLfjBfnXSMr5Q/goMe/fxpQnLm07mcOZiIZHBNWCMx60HmdvjxfXcalac0tfFg0wqxyw==", - "dev": true, - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.3.2", - "core-js-compat": "^3.21.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz", - "integrity": "sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw==", - "dev": true, - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.3.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/base64id": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/base64id/-/base64id-2.0.0.tgz", - "integrity": "sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==", - "dev": true, - "engines": { - "node": "^4.5.0 || >= 5.9" - } - }, - "node_modules/batch": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", - "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", - "dev": true - }, - "node_modules/bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "dev": true, - "dependencies": { - "tweetnacl": "^0.14.3" - } - }, - "node_modules/big.js": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", - "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", - "dev": true, - "engines": { - "node": "*" - } - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "dev": true, - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/bl/node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/blocking-proxy": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/blocking-proxy/-/blocking-proxy-1.0.1.tgz", - "integrity": "sha512-KE8NFMZr3mN2E0HcvCgRtX7DjhiIQrwle+nSVJVC/yqFb9+xznHl2ZcoBp2L9qzkI4t4cBFJ1efXF8Dwi132RA==", - "dev": true, - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "blocking-proxy": "built/lib/bin.js" - }, - "engines": { - "node": ">=6.9.x" - } - }, - "node_modules/body-parser": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", - "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", - "dev": true, - "dependencies": { - "bytes": "3.1.2", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "2.0.0", - "destroy": "1.2.0", - "http-errors": "2.0.0", - "iconv-lite": "0.4.24", - "on-finished": "2.4.1", - "qs": "6.11.0", - "raw-body": "2.5.1", - "type-is": "~1.6.18", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, - "node_modules/body-parser/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/body-parser/node_modules/on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "node_modules/@typescript-eslint/typescript-estree": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.3.0.tgz", + "integrity": "sha512-FJ0nqcaUOpn/6Z4Jwbtf+o0valjBLkqc3MWkMvrhA2TvzFXtcclIM8F4MBEmYa2kgcI8EZeSAzwoSrIC8JYkug==", "dev": true, "dependencies": { - "ee-first": "1.1.1" + "@typescript-eslint/types": "5.3.0", + "@typescript-eslint/visitor-keys": "5.3.0", + "debug": "^4.3.2", + "globby": "^11.0.4", + "is-glob": "^4.0.3", + "semver": "^7.3.5", + "tsutils": "^3.21.0" }, "engines": { - "node": ">= 0.8" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/bonjour-service": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.1.1.tgz", - "integrity": "sha512-Z/5lQRMOG9k7W+FkeGTNjh7htqn/2LMnfOvBZ8pynNZCM9MwkQkI3zeI4oz09uWdcgmgHugVvBqxGg4VQJ5PCg==", + "node_modules/@typescript-eslint/typescript-estree/node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", "dev": true, - "dependencies": { - "array-flatten": "^2.1.2", - "dns-equal": "^1.0.0", - "fast-deep-equal": "^3.1.3", - "multicast-dns": "^7.2.5" - } - }, - "node_modules/boolbase": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", - "dev": true - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "engines": { + "node": ">=8" } }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "node_modules/@typescript-eslint/typescript-estree/node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", "dev": true, "dependencies": { - "fill-range": "^7.0.1" + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" }, "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/browserify-zlib": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", - "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", - "dependencies": { - "pako": "~1.0.5" + "node_modules/@typescript-eslint/typescript-estree/node_modules/ignore": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", + "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", + "dev": true, + "engines": { + "node": ">= 4" } }, - "node_modules/browserify-zlib/node_modules/pako": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", - "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" - }, - "node_modules/browserslist": { - "version": "4.21.10", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.10.tgz", - "integrity": "sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==", + "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], "dependencies": { - "caniuse-lite": "^1.0.30001517", - "electron-to-chromium": "^1.4.477", - "node-releases": "^2.0.13", - "update-browserslist-db": "^1.0.11" + "lru-cache": "^6.0.0" }, "bin": { - "browserslist": "cli.js" + "semver": "bin/semver.js" }, "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/browserstack": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/browserstack/-/browserstack-1.5.2.tgz", - "integrity": "sha512-+6AFt9HzhKykcPF79W6yjEUJcdvZOV0lIXdkORXMJftGrDl0OKWqRF4GHqpDNkxiceDT/uB7Fb/aDwktvXX7dg==", - "dev": true, - "dependencies": { - "https-proxy-agent": "^2.2.1" + "node": ">=10" } }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "node_modules/@typescript-eslint/typescript-estree/node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" + "engines": { + "node": ">=8" } }, - "node_modules/buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "node_modules/@typescript-eslint/typescript-estree/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "dev": true }, - "node_modules/builtin-modules": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", - "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", + "node_modules/@typescript-eslint/typescript-estree/node_modules/tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", "dev": true, + "dependencies": { + "tslib": "^1.8.1" + }, "engines": { - "node": ">=0.10.0" + "node": ">= 6" + }, + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" } }, - "node_modules/builtins": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", + "node_modules/@typescript-eslint/utils": { + "version": "5.48.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.48.2.tgz", + "integrity": "sha512-2h18c0d7jgkw6tdKTlNaM7wyopbLRBiit8oAxoP89YnuBOzCZ8g8aBCaCqq7h208qUTroL7Whgzam7UY3HVLow==", "dev": true, "dependencies": { - "semver": "^7.0.0" + "@types/json-schema": "^7.0.9", + "@types/semver": "^7.3.12", + "@typescript-eslint/scope-manager": "5.48.2", + "@typescript-eslint/types": "5.48.2", + "@typescript-eslint/typescript-estree": "5.48.2", + "eslint-scope": "^5.1.1", + "eslint-utils": "^3.0.0", + "semver": "^7.3.7" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/builtins/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/scope-manager": { + "version": "5.48.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.48.2.tgz", + "integrity": "sha512-zEUFfonQid5KRDKoI3O+uP1GnrFd4tIHlvs+sTJXiWuypUWMuDaottkJuR612wQfOkjYbsaskSIURV9xo4f+Fw==", "dev": true, "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" + "@typescript-eslint/types": "5.48.2", + "@typescript-eslint/visitor-keys": "5.48.2" }, "engines": { - "node": ">=10" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/types": { + "version": "5.48.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.48.2.tgz", + "integrity": "sha512-hE7dA77xxu7ByBc6KCzikgfRyBCTst6dZQpwaTy25iMYOnbNljDT4hjhrGEJJ0QoMjrfqrx+j1l1B9/LtKeuqA==", "dev": true, "engines": { - "node": ">= 0.8" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/cacache": { - "version": "16.1.2", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-16.1.2.tgz", - "integrity": "sha512-Xx+xPlfCZIUHagysjjOAje9nRo8pRDczQCcXb4J2O0BLtH+xeVue6ba4y1kfJfQMAnM2mkcoMIAyOctlaRGWYA==", + "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree": { + "version": "5.48.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.2.tgz", + "integrity": "sha512-bibvD3z6ilnoVxUBFEgkO0k0aFvUc4Cttt0dAreEr+nrAHhWzkO83PEVVuieK3DqcgL6VAK5dkzK8XUVja5Zcg==", "dev": true, "dependencies": { - "@npmcli/fs": "^2.1.0", - "@npmcli/move-file": "^2.0.0", - "chownr": "^2.0.0", - "fs-minipass": "^2.1.0", - "glob": "^8.0.1", - "infer-owner": "^1.0.4", - "lru-cache": "^7.7.1", - "minipass": "^3.1.6", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "mkdirp": "^1.0.4", - "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "rimraf": "^3.0.2", - "ssri": "^9.0.0", - "tar": "^6.1.11", - "unique-filename": "^1.1.1" + "@typescript-eslint/types": "5.48.2", + "@typescript-eslint/visitor-keys": "5.48.2", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/cacache/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/cacache/node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/visitor-keys": { + "version": "5.48.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.48.2.tgz", + "integrity": "sha512-z9njZLSkwmjFWUelGEwEbdf4NwKvfHxvGC0OcGN1Hp/XNDIcJ7D5DpPNPv6x6/mFvc1tQHsaWmpD/a4gOvvCJQ==", "dev": true, "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" + "@typescript-eslint/types": "5.48.2", + "eslint-visitor-keys": "^3.3.0" }, "engines": { - "node": ">=12" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/cacache/node_modules/lru-cache": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "node_modules/@typescript-eslint/utils/node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", "dev": true, "engines": { - "node": ">=12" + "node": ">=8" } }, - "node_modules/cacache/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "node_modules/@typescript-eslint/utils/node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", "dev": true, "dependencies": { - "brace-expansion": "^2.0.1" + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/cacache/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "node_modules/@typescript-eslint/utils/node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" - }, "engines": { - "node": ">=10" + "node": ">= 4" } }, - "node_modules/cacache/node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "node_modules/@typescript-eslint/utils/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { - "glob": "^7.1.3" + "lru-cache": "^6.0.0" }, "bin": { - "rimraf": "bin.js" + "semver": "bin/semver.js" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "engines": { + "node": ">=10" } }, - "node_modules/cacache/node_modules/rimraf/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "node_modules/@typescript-eslint/utils/node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "engines": { + "node": ">=8" } }, - "node_modules/cacache/node_modules/rimraf/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "node_modules/@typescript-eslint/utils/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "node_modules/@typescript-eslint/utils/node_modules/tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", "dev": true, "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "tslib": "^1.8.1" }, "engines": { - "node": "*" + "node": ">= 6" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" } }, - "node_modules/cacache/node_modules/rimraf/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "node_modules/@typescript-eslint/visitor-keys": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.3.0.tgz", + "integrity": "sha512-oVIAfIQuq0x2TFDNLVavUn548WL+7hdhxYn+9j3YdJJXB7mH9dAmZNJsPDa7Jc+B9WGqoiex7GUDbyMxV0a/aw==", "dev": true, "dependencies": { - "brace-expansion": "^1.1.7" + "@typescript-eslint/types": "5.3.0", + "eslint-visitor-keys": "^3.0.0" }, "engines": { - "node": "*" - } - }, - "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/caller-callsite": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", - "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", + "node_modules/@webassemblyjs/ast": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", + "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", "dev": true, "dependencies": { - "callsites": "^2.0.0" - }, - "engines": { - "node": ">=4" + "@webassemblyjs/helper-numbers": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1" } }, - "node_modules/caller-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", - "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", + "node_modules/@webassemblyjs/floating-point-hex-parser": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", + "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-api-error": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", + "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-buffer": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", + "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-numbers": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", + "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", "dev": true, "dependencies": { - "caller-callsite": "^2.0.0" - }, - "engines": { - "node": ">=4" + "@webassemblyjs/floating-point-hex-parser": "1.11.1", + "@webassemblyjs/helper-api-error": "1.11.1", + "@xtuc/long": "4.2.2" } }, - "node_modules/callsites": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", - "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=", + "node_modules/@webassemblyjs/helper-wasm-bytecode": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", + "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", + "dev": true + }, + "node_modules/@webassemblyjs/helper-wasm-section": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", + "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", "dev": true, - "engines": { - "node": ">=4" + "dependencies": { + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1" } }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "node_modules/@webassemblyjs/ieee754": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", + "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", "dev": true, - "engines": { - "node": ">=6" + "dependencies": { + "@xtuc/ieee754": "^1.2.0" } }, - "node_modules/caniuse-lite": { - "version": "1.0.30001517", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz", - "integrity": "sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==", + "node_modules/@webassemblyjs/leb128": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", + "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ] + "dependencies": { + "@xtuc/long": "4.2.2" + } }, - "node_modules/caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "node_modules/@webassemblyjs/utf8": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", + "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", "dev": true }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "node_modules/@webassemblyjs/wasm-edit": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", + "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", "dev": true, "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/helper-wasm-section": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1", + "@webassemblyjs/wasm-opt": "1.11.1", + "@webassemblyjs/wasm-parser": "1.11.1", + "@webassemblyjs/wast-printer": "1.11.1" } }, - "node_modules/chalk/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "node_modules/@webassemblyjs/wasm-gen": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", + "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", "dev": true, "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/ieee754": "1.11.1", + "@webassemblyjs/leb128": "1.11.1", + "@webassemblyjs/utf8": "1.11.1" } }, - "node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "node_modules/@webassemblyjs/wasm-opt": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", + "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", "dev": true, "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-buffer": "1.11.1", + "@webassemblyjs/wasm-gen": "1.11.1", + "@webassemblyjs/wasm-parser": "1.11.1" } }, - "node_modules/chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", - "dev": true - }, - "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "node_modules/@webassemblyjs/wasm-parser": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", + "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" + "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/helper-api-error": "1.11.1", + "@webassemblyjs/helper-wasm-bytecode": "1.11.1", + "@webassemblyjs/ieee754": "1.11.1", + "@webassemblyjs/leb128": "1.11.1", + "@webassemblyjs/utf8": "1.11.1" } }, - "node_modules/chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "node_modules/@webassemblyjs/wast-printer": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", + "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", "dev": true, - "engines": { - "node": ">=10" + "dependencies": { + "@webassemblyjs/ast": "1.11.1", + "@xtuc/long": "4.2.2" } }, - "node_modules/chrome-trace-event": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", - "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", - "dev": true, - "engines": { - "node": ">=6.0" - } + "node_modules/@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true }, - "node_modules/ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", + "node_modules/@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", "dev": true }, - "node_modules/clean-stack": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", - "dev": true, - "engines": { - "node": ">=6" - } + "node_modules/@yarnpkg/lockfile": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", + "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", + "dev": true }, - "node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "node_modules/abab": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", + "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", + "dev": true + }, + "node_modules/abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", "dev": true, "dependencies": { - "restore-cursor": "^3.1.0" + "mime-types": "~2.1.34", + "negotiator": "0.6.3" }, "engines": { - "node": ">=8" + "node": ">= 0.6" } }, - "node_modules/cli-spinners": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", - "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==", - "dev": true, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "node_modules/ace-builds": { + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.4.14.tgz", + "integrity": "sha512-NBOQlm9+7RBqRqZwimpgquaLeTJFayqb9UEPtTkpC3TkkwDnlsT/TwsCC0svjt9kEZ6G9mH5AEOHSz6Q/HrzQQ==" }, - "node_modules/cli-width": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", + "node_modules/acorn": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", + "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", "dev": true, + "bin": { + "acorn": "bin/acorn" + }, "engines": { - "node": ">= 10" + "node": ">=0.4.0" } }, - "node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "node_modules/acorn-import-assertions": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz", + "integrity": "sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==", "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" + "peerDependencies": { + "acorn": "^8" } }, - "node_modules/clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, - "engines": { - "node": ">=0.8" + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/clone-deep": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "node_modules/adjust-sourcemap-loader": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-4.0.0.tgz", + "integrity": "sha512-OXwN5b9pCUXNQHJpwwD2qP40byEmSgzj8B4ydSN0uMNYWiFmJ6x6KwUllMmfk8Rwu/HJDFR7U8ubsWBoN0Xp0A==", "dev": true, "dependencies": { - "is-plain-object": "^2.0.4", - "kind-of": "^6.0.2", - "shallow-clone": "^3.0.0" + "loader-utils": "^2.0.0", + "regex-parser": "^2.2.11" }, "engines": { - "node": ">=6" + "node": ">=8.9" } }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "node_modules/adjust-sourcemap-loader/node_modules/loader-utils": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.4.tgz", + "integrity": "sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==", "dev": true, "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-convert/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/color-support": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", - "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", - "dev": true, - "bin": { - "color-support": "bin.js" - } - }, - "node_modules/colorette": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", - "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", - "dev": true + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } }, - "node_modules/colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", + "node_modules/adm-zip": { + "version": "0.5.10", + "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.10.tgz", + "integrity": "sha512-x0HvcHqVJNTPk/Bw8JbLWlWoo6Wwnsug0fnYYro1HBrjxZ3G7/AZk7Ahv8JwDe1uIcz8eBqvu86FuF1POiG7vQ==", "dev": true, "engines": { - "node": ">=0.1.90" + "node": ">=6.0" } }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "dev": true, "dependencies": { - "delayed-stream": "~1.0.0" + "debug": "4" }, "engines": { - "node": ">= 0.8" + "node": ">= 6.0.0" } }, - "node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" - }, - "node_modules/commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", - "dev": true - }, - "node_modules/compressible": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", - "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", - "dev": true, + "node_modules/agentkeepalive": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.3.0.tgz", + "integrity": "sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==", "dependencies": { - "mime-db": ">= 1.43.0 < 2" + "debug": "^4.1.0", + "depd": "^2.0.0", + "humanize-ms": "^1.2.1" }, "engines": { - "node": ">= 0.6" + "node": ">= 8.0.0" } }, - "node_modules/compression": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", - "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", + "node_modules/aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", "dev": true, "dependencies": { - "accepts": "~1.3.5", - "bytes": "3.0.0", - "compressible": "~2.0.16", - "debug": "2.6.9", - "on-headers": "~1.0.2", - "safe-buffer": "5.1.2", - "vary": "~1.1.2" + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" }, "engines": { - "node": ">= 0.8.0" + "node": ">=8" } }, - "node_modules/compression/node_modules/bytes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", - "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==", + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, - "engines": { - "node": ">= 0.8" + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/compression/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "node_modules/ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", "dev": true, "dependencies": { - "ms": "2.0.0" + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } } }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "node_modules/connect": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz", - "integrity": "sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==", + "node_modules/ajv-formats/node_modules/ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, "dependencies": { - "debug": "2.6.9", - "finalhandler": "1.1.2", - "parseurl": "~1.3.3", - "utils-merge": "1.0.1" + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" }, - "engines": { - "node": ">= 0.10.0" + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/connect-history-api-fallback": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz", - "integrity": "sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==", + "node_modules/ajv-formats/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "node_modules/ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", "dev": true, - "engines": { - "node": ">=0.8" + "peerDependencies": { + "ajv": "^6.9.1" } }, - "node_modules/connect/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, + "node_modules/angular-oauth2-oidc": { + "version": "13.0.1", + "resolved": "https://registry.npmjs.org/angular-oauth2-oidc/-/angular-oauth2-oidc-13.0.1.tgz", + "integrity": "sha512-aL1VIv9Jqoqq31lbpUXIeNpM3GeN/ldb3KOlq0cV92amGpZs9J4YA+2rlJ5V9zb6NFNbvd7XfTntMbnNuS0+CQ==", "dependencies": { - "ms": "2.0.0" + "fast-sha256": "^1.3.0", + "tslib": "^2.0.0" + }, + "peerDependencies": { + "@angular/common": ">=12.0.0", + "@angular/core": ">=12.0.0" } }, - "node_modules/console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==", - "dev": true + "node_modules/ansi-colors": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "dev": true, + "engines": { + "node": ">=6" + } }, - "node_modules/content-disposition": { - "version": "0.5.4", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", - "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", "dev": true, "dependencies": { - "safe-buffer": "5.2.1" + "type-fest": "^0.21.3" }, "engines": { - "node": ">= 0.6" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/content-disposition/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "node_modules/ansi-html-community": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz", + "integrity": "sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==", "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] + "engines": [ + "node >= 0.8.0" + ], + "bin": { + "ansi-html": "bin/ansi-html" + } }, - "node_modules/content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "dev": true, "engines": { - "node": ">= 0.6" + "node": ">=0.10.0" } }, - "node_modules/convert-source-map": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", - "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ansi-styles/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "dependencies": { - "safe-buffer": "~5.1.1" + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" } }, - "node_modules/cookie": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", - "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==", + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, "engines": { - "node": ">= 0.6" + "node": ">= 8" } }, - "node_modules/cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", + "node_modules/aproba": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", + "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", "dev": true }, - "node_modules/copy-anything": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.6.tgz", - "integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==", + "node_modules/are-we-there-yet": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", + "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", "dev": true, "dependencies": { - "is-what": "^3.14.1" + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" }, - "funding": { - "url": "https://github.com/sponsors/mesqueeb" + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/copy-webpack-plugin": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-11.0.0.tgz", - "integrity": "sha512-fX2MWpamkW0hZxMEg0+mYnA40LTosOSa5TqZ9GYIBzyJa9C3QUaMPSE2xAi/buNr8u89SfD9wHSQVBzrRa/SOQ==", + "node_modules/are-we-there-yet/node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "dev": true, "dependencies": { - "fast-glob": "^3.2.11", - "glob-parent": "^6.0.1", - "globby": "^13.1.1", - "normalize-path": "^3.0.0", - "schema-utils": "^4.0.0", - "serialize-javascript": "^6.0.0" + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" }, "engines": { - "node": ">= 14.15.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.1.0" + "node": ">= 6" } }, - "node_modules/copy-webpack-plugin/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dev": true, + "node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" + "sprintf-js": "~1.0.2" } }, - "node_modules/copy-webpack-plugin/node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "node_modules/argparse/node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" + }, + "node_modules/aria-query": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.1.3.tgz", + "integrity": "sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==", "dev": true, "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" + "deep-equal": "^2.0.5" } }, - "node_modules/copy-webpack-plugin/node_modules/fast-glob": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", - "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", + "node_modules/array-buffer-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", + "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", "dev": true, "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" + "call-bind": "^1.0.2", + "is-array-buffer": "^3.0.1" }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-differ": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-2.1.0.tgz", + "integrity": "sha512-KbUpJgx909ZscOc/7CLATBFam7P1Z1QRQInvgT0UztM9Q72aGKCunKASAl7WNW0tnPmPyEMeMhdsfWhfmW037w==", + "dev": true, "engines": { - "node": ">=8.6.0" + "node": ">=6" } }, - "node_modules/copy-webpack-plugin/node_modules/fast-glob/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "node_modules/array-flatten": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", + "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==", + "dev": true + }, + "node_modules/array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", "dev": true, "dependencies": { - "is-glob": "^4.0.1" + "array-uniq": "^1.0.1" }, "engines": { - "node": ">= 6" + "node": ">=0.10.0" } }, - "node_modules/copy-webpack-plugin/node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "node_modules/array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", "dev": true, - "dependencies": { - "is-glob": "^4.0.3" - }, "engines": { - "node": ">=10.13.0" + "node": ">=0.10.0" + } + }, + "node_modules/arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, + "dependencies": { + "safer-buffer": "~2.1.0" } }, - "node_modules/copy-webpack-plugin/node_modules/json-schema-traverse": { + "node_modules/assert-plus": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", "dev": true }, - "node_modules/copy-webpack-plugin/node_modules/schema-utils": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", - "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", + "node_modules/autoprefixer": { + "version": "10.4.13", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.13.tgz", + "integrity": "sha512-49vKpMqcZYsJjwotvt4+h/BCjJVnhGwcLpDt5xkcaOG3eLrG/HUYLagrihYsQ+qrIBgIzX1Rw7a6L8I/ZA1Atg==", "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/autoprefixer" + } + ], "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" + "browserslist": "^4.21.4", + "caniuse-lite": "^1.0.30001426", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + }, + "bin": { + "autoprefixer": "bin/autoprefixer" }, "engines": { - "node": ">= 12.13.0" + "node": "^10 || ^12 || >=14" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" + "peerDependencies": { + "postcss": "^8.1.0" } }, - "node_modules/core-js": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz", - "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==", - "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", - "hasInstallScript": true - }, - "node_modules/core-js-compat": { - "version": "3.32.0", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.32.0.tgz", - "integrity": "sha512-7a9a3D1k4UCVKnLhrgALyFcP7YCsLOQIxPd0dKjf/6GuPcgyiGP70ewWdCGrSK7evyhymi0qO4EqCmSJofDeYw==", + "node_modules/available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", "dev": true, - "dependencies": { - "browserslist": "^4.21.9" + "engines": { + "node": ">= 0.4" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/core-js-pure": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.21.0.tgz", - "integrity": "sha512-VaJUunCZLnxuDbo1rNOzwbet9E1K9joiXS5+DQMPtgxd24wfsZbJZMMfQLGYMlCUvSxLfsRUUhoOR2x28mFfeg==", - "deprecated": "core-js-pure@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js-pure.", + "node_modules/aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", "dev": true, - "hasInstallScript": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" + "engines": { + "node": "*" } }, - "node_modules/core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + "node_modules/aws4": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", + "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", + "dev": true + }, + "node_modules/axobject-query": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.1.1.tgz", + "integrity": "sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg==", + "dev": true, + "dependencies": { + "deep-equal": "^2.0.5" + } }, - "node_modules/cors": { - "version": "2.8.5", - "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", - "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", + "node_modules/babel-loader": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-9.1.2.tgz", + "integrity": "sha512-mN14niXW43tddohGl8HPu5yfQq70iUThvFL/4QzESA7GcZoC0eVOhvWdQ8+3UlSjaDE9MVtsW9mxDY07W7VpVA==", "dev": true, "dependencies": { - "object-assign": "^4", - "vary": "^1" + "find-cache-dir": "^3.3.2", + "schema-utils": "^4.0.0" }, "engines": { - "node": ">= 0.10" + "node": ">= 14.15.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0", + "webpack": ">=5" } }, - "node_modules/cosmiconfig": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", - "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", + "node_modules/babel-plugin-istanbul": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", + "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", "dev": true, "dependencies": { - "import-fresh": "^2.0.0", - "is-directory": "^0.3.1", - "js-yaml": "^3.13.1", - "parse-json": "^4.0.0" + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^5.0.4", + "test-exclude": "^6.0.0" }, "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/critters": { - "version": "0.0.16", - "resolved": "https://registry.npmjs.org/critters/-/critters-0.0.16.tgz", - "integrity": "sha512-JwjgmO6i3y6RWtLYmXwO5jMd+maZt8Tnfu7VVISmEWyQqfLpB8soBswf8/2bu6SBXxtKA68Al3c+qIG1ApT68A==", + "node_modules/babel-plugin-polyfill-corejs2": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz", + "integrity": "sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q==", "dev": true, "dependencies": { - "chalk": "^4.1.0", - "css-select": "^4.2.0", - "parse5": "^6.0.1", - "parse5-htmlparser2-tree-adapter": "^6.0.1", - "postcss": "^8.3.7", - "pretty-bytes": "^5.3.0" + "@babel/compat-data": "^7.17.7", + "@babel/helper-define-polyfill-provider": "^0.3.3", + "semver": "^6.1.1" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/critters/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "node_modules/babel-plugin-polyfill-corejs2/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "bin": { + "semver": "bin/semver.js" } }, - "node_modules/cross-fetch": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz", - "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==", + "node_modules/babel-plugin-polyfill-corejs3": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.6.0.tgz", + "integrity": "sha512-+eHqR6OPcBhJOGgsIar7xoAB1GcSwVUA3XjAd7HJNzOXT4wv6/H7KIdA/Nc60cvUlDbKApmqNvD1B1bzOt4nyA==", + "dev": true, "dependencies": { - "node-fetch": "2.6.7" + "@babel/helper-define-polyfill-provider": "^0.3.3", + "core-js-compat": "^3.25.1" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "node_modules/babel-plugin-polyfill-regenerator": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz", + "integrity": "sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw==", "dev": true, "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" + "@babel/helper-define-polyfill-provider": "^0.3.3" }, - "engines": { - "node": ">= 8" + "peerDependencies": { + "@babel/core": "^7.0.0-0" } }, - "node_modules/cross-spawn/node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "node_modules/balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/base64id": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/base64id/-/base64id-2.0.0.tgz", + "integrity": "sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==", "dev": true, "engines": { - "node": ">=8" + "node": "^4.5.0 || >= 5.9" } }, - "node_modules/cross-spawn/node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "node_modules/batch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", + "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", + "dev": true + }, + "node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", "dev": true, "dependencies": { - "shebang-regex": "^3.0.0" - }, + "tweetnacl": "^0.14.3" + } + }, + "node_modules/big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "dev": true, "engines": { - "node": ">=8" + "node": "*" } }, - "node_modules/cross-spawn/node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", "dev": true, "engines": { "node": ">=8" } }, - "node_modules/cross-spawn/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", "dev": true, "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" } }, - "node_modules/css-blank-pseudo": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/css-blank-pseudo/-/css-blank-pseudo-3.0.3.tgz", - "integrity": "sha512-VS90XWtsHGqoM0t4KpH053c4ehxZ2E6HtGI7x68YFV0pTo/QmkV/YFA+NnlvK8guxZVNWGQhVNJGC39Q8XF4OQ==", + "node_modules/bl/node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.9" - }, - "bin": { - "css-blank-pseudo": "dist/cli.cjs" + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "peerDependencies": { - "postcss": "^8.4" + "node": ">= 6" } }, - "node_modules/css-has-pseudo": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/css-has-pseudo/-/css-has-pseudo-3.0.4.tgz", - "integrity": "sha512-Vse0xpR1K9MNlp2j5w1pgWIJtm1a8qS0JwS9goFYcImjlHEmywP9VUF05aGBXzGpDJF86QXk4L0ypBmwPhGArw==", + "node_modules/blocking-proxy": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/blocking-proxy/-/blocking-proxy-1.0.1.tgz", + "integrity": "sha512-KE8NFMZr3mN2E0HcvCgRtX7DjhiIQrwle+nSVJVC/yqFb9+xznHl2ZcoBp2L9qzkI4t4cBFJ1efXF8Dwi132RA==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.9" + "minimist": "^1.2.0" }, "bin": { - "css-has-pseudo": "dist/cli.cjs" + "blocking-proxy": "built/lib/bin.js" }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "peerDependencies": { - "postcss": "^8.4" + "node": ">=6.9.x" } }, - "node_modules/css-loader": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.7.1.tgz", - "integrity": "sha512-yB5CNFa14MbPJcomwNh3wLThtkZgcNyI2bNMRt8iE5Z8Vwl7f8vQXFAzn2HDOJvtDq2NTZBUGMSUNNyrv3/+cw==", + "node_modules/body-parser": { + "version": "1.20.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", + "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", "dev": true, "dependencies": { - "icss-utils": "^5.1.0", - "postcss": "^8.4.7", - "postcss-modules-extract-imports": "^3.0.0", - "postcss-modules-local-by-default": "^4.0.0", - "postcss-modules-scope": "^3.0.0", - "postcss-modules-values": "^4.0.0", - "postcss-value-parser": "^4.2.0", - "semver": "^7.3.5" + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" }, "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.0.0" + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" } }, - "node_modules/css-loader/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/body-parser/node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", "dev": true, "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" + "ee-first": "1.1.1" }, "engines": { - "node": ">=10" + "node": ">= 0.8" } }, - "node_modules/css-prefers-color-scheme": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/css-prefers-color-scheme/-/css-prefers-color-scheme-6.0.3.tgz", - "integrity": "sha512-4BqMbZksRkJQx2zAjrokiGMd07RqOa2IxIrrN10lyBe9xhn9DEvjUK79J6jkeiv9D9hQFXKb6g1jwU62jziJZA==", + "node_modules/bonjour-service": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/bonjour-service/-/bonjour-service-1.1.1.tgz", + "integrity": "sha512-Z/5lQRMOG9k7W+FkeGTNjh7htqn/2LMnfOvBZ8pynNZCM9MwkQkI3zeI4oz09uWdcgmgHugVvBqxGg4VQJ5PCg==", "dev": true, - "bin": { - "css-prefers-color-scheme": "dist/cli.cjs" - }, - "engines": { - "node": "^12 || ^14 || >=16" - }, - "peerDependencies": { - "postcss": "^8.4" + "dependencies": { + "array-flatten": "^2.1.2", + "dns-equal": "^1.0.0", + "fast-deep-equal": "^3.1.3", + "multicast-dns": "^7.2.5" } }, - "node_modules/css-select": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz", - "integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==", - "dev": true, + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", + "dev": true + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dependencies": { - "boolbase": "^1.0.0", - "css-what": "^6.0.1", - "domhandler": "^4.3.1", - "domutils": "^2.8.0", - "nth-check": "^2.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/fb55" + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, - "node_modules/css-what": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", - "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "dev": true, - "engines": { - "node": ">= 6" + "dependencies": { + "fill-range": "^7.0.1" }, - "funding": { - "url": "https://github.com/sponsors/fb55" + "engines": { + "node": ">=8" + } + }, + "node_modules/browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "dependencies": { + "pako": "~1.0.5" } }, - "node_modules/cssdb": { - "version": "7.7.0", - "resolved": "https://registry.npmjs.org/cssdb/-/cssdb-7.7.0.tgz", - "integrity": "sha512-1hN+I3r4VqSNQ+OmMXxYexnumbOONkSil0TWMebVXHtzYW4tRRPovUNHPHj2d4nrgOuYJ8Vs3XwvywsuwwXNNA==", + "node_modules/browserify-zlib/node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "node_modules/browserslist": { + "version": "4.21.10", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.10.tgz", + "integrity": "sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==", "dev": true, "funding": [ { "type": "opencollective", - "url": "https://opencollective.com/csstools" + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" }, { "type": "github", - "url": "https://github.com/sponsors/csstools" + "url": "https://github.com/sponsors/ai" } - ] - }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "dev": true, + ], + "dependencies": { + "caniuse-lite": "^1.0.30001517", + "electron-to-chromium": "^1.4.477", + "node-releases": "^2.0.13", + "update-browserslist-db": "^1.0.11" + }, "bin": { - "cssesc": "bin/cssesc" + "browserslist": "cli.js" }, "engines": { - "node": ">=4" + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, - "node_modules/csv-parse": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-4.16.3.tgz", - "integrity": "sha512-cO1I/zmz4w2dcKHVvpCr7JVRu8/FymG5OEpmvsZYlccYolPBLoVGKUHgNoc4ZGkFeFlWGEDmMyBM+TTqRdW/wg==" + "node_modules/browserstack": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/browserstack/-/browserstack-1.5.2.tgz", + "integrity": "sha512-+6AFt9HzhKykcPF79W6yjEUJcdvZOV0lIXdkORXMJftGrDl0OKWqRF4GHqpDNkxiceDT/uB7Fb/aDwktvXX7dg==", + "dev": true, + "dependencies": { + "https-proxy-agent": "^2.2.1" + } }, - "node_modules/csv-stringify": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/csv-stringify/-/csv-stringify-1.1.2.tgz", - "integrity": "sha1-d6QVJlgbzjOA8SsA18W7rHDIK1g=", + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], "dependencies": { - "lodash.get": "~4.4.2" + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" } }, - "node_modules/custom-event": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.1.tgz", - "integrity": "sha1-XQKkaFCt8bSjF5RqOSj8y1v9BCU=", + "node_modules/buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", "dev": true }, - "node_modules/dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "node_modules/builtin-modules": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", + "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", "dev": true, - "dependencies": { - "assert-plus": "^1.0.0" - }, "engines": { - "node": ">=0.10" + "node": ">=0.10.0" } }, - "node_modules/date-fns": { - "version": "1.30.1", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.30.1.tgz", - "integrity": "sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==" - }, - "node_modules/date-format": { - "version": "4.0.14", - "resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.14.tgz", - "integrity": "sha512-39BOQLs9ZjKh0/patS9nrT8wc3ioX3/eA/zgbKNopnF2wCqJEoxywwwElATYvRsXdnOxA/OQeQoFZ3rFjVajhg==", + "node_modules/builtins": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", + "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", "dev": true, - "engines": { - "node": ">=4.0" + "dependencies": { + "semver": "^7.0.0" } }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "node_modules/builtins/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, "dependencies": { - "ms": "2.1.2" + "lru-cache": "^6.0.0" }, - "engines": { - "node": ">=6.0" + "bin": { + "semver": "bin/semver.js" }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } + "engines": { + "node": ">=10" } }, - "node_modules/debug/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">= 0.8" } }, - "node_modules/decode-uri-component": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", - "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", + "node_modules/cacache": { + "version": "17.0.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.0.4.tgz", + "integrity": "sha512-Z/nL3gU+zTUjz5pCA5vVjYM8pmaw2kxM7JEiE0fv3w77Wj+sFbi70CrBruUWH0uNcEdvLDixFpgA2JM4F4DBjA==", + "dev": true, + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^8.0.1", + "lru-cache": "^7.7.1", + "minipass": "^4.0.0", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, "engines": { - "node": ">=0.10" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true - }, - "node_modules/default-gateway": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-6.0.3.tgz", - "integrity": "sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg==", + "node_modules/cacache/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "dependencies": { - "execa": "^5.0.0" - }, - "engines": { - "node": ">= 10" + "balanced-match": "^1.0.0" } }, - "node_modules/default-gateway/node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "node_modules/cacache/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", "dev": true, "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" }, "engines": { - "node": ">=10" + "node": ">=12" }, "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/default-gateway/node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "node_modules/cacache/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=12" } }, - "node_modules/default-gateway/node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "node_modules/cacache/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, "engines": { - "node": ">=8" + "node": ">=10" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/default-gateway/node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "node_modules/caller-callsite": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", + "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", "dev": true, "dependencies": { - "path-key": "^3.0.0" + "callsites": "^2.0.0" }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/default-gateway/node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "node_modules/caller-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", + "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", "dev": true, + "dependencies": { + "caller-callsite": "^2.0.0" + }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/defaults": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", - "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", + "node_modules/callsites": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", + "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=", "dev": true, - "dependencies": { - "clone": "^1.0.2" + "engines": { + "node": ">=4" } }, - "node_modules/define-lazy-prop": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", - "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true, "engines": { - "node": ">=8" + "node": ">=6" } }, - "node_modules/del": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", - "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=", + "node_modules/caniuse-lite": { + "version": "1.0.30001517", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz", + "integrity": "sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] + }, + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "dependencies": { - "globby": "^5.0.0", - "is-path-cwd": "^1.0.0", - "is-path-in-cwd": "^1.0.0", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0", - "rimraf": "^2.2.8" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=4" } }, - "node_modules/del/node_modules/globby": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz", - "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=", + "node_modules/chalk/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "dependencies": { - "array-union": "^1.0.1", - "arrify": "^1.0.0", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" + "color-convert": "^1.9.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=4" } }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "node_modules/chalk/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, "engines": { - "node": ">=0.4.0" + "node": ">=4" } }, - "node_modules/delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", + "node_modules/chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", "dev": true }, - "node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, "engines": { - "node": ">= 0.8" + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" } }, - "node_modules/dependency-graph": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz", - "integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==", + "node_modules/chownr": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", "dev": true, "engines": { - "node": ">= 0.6.0" + "node": ">=10" } }, - "node_modules/destroy": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", - "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "node_modules/chrome-trace-event": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", + "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==", "dev": true, "engines": { - "node": ">= 0.8", - "npm": "1.2.8000 || >= 1.4.16" - } - }, - "node_modules/detect-node": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", - "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", - "dev": true + "node": ">=6.0" + } }, - "node_modules/di": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/di/-/di-0.0.1.tgz", - "integrity": "sha1-gGZJMmzqp8qjMG112YXqJ0i6kTw=", + "node_modules/ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", "dev": true }, - "node_modules/diff": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", - "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "node_modules/clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", "dev": true, "engines": { - "node": ">=0.3.1" + "node": ">=6" } }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "node_modules/cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", "dev": true, "dependencies": { - "path-type": "^4.0.0" + "restore-cursor": "^3.1.0" }, "engines": { "node": ">=8" } }, - "node_modules/dns-equal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", - "integrity": "sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg==", - "dev": true - }, - "node_modules/dns-packet": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.6.0.tgz", - "integrity": "sha512-rza3UH1LwdHh9qyPXp8lkwpjSNk/AMD3dPytUoRoqnypDUhY0xvbdmVhWOfxO68frEfV9BU8V12Ez7ZsHGZpCQ==", + "node_modules/cli-spinners": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", + "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==", "dev": true, - "dependencies": { - "@leichtgewicht/ip-codec": "^2.0.1" - }, "engines": { "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/doctrine": { + "node_modules/cli-width": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", + "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", "dev": true, - "dependencies": { - "esutils": "^2.0.2" - }, "engines": { - "node": ">=6.0.0" + "node": ">= 10" } }, - "node_modules/dom-serialize": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/dom-serialize/-/dom-serialize-2.2.1.tgz", - "integrity": "sha1-ViromZ9Evl6jB29UGdzVnrQ6yVs=", + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, "dependencies": { - "custom-event": "~1.0.0", - "ent": "~2.2.0", - "extend": "^3.0.0", - "void-elements": "^2.0.0" + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" } }, - "node_modules/dom-serializer": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", - "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", "dev": true, - "dependencies": { - "domelementtype": "^2.0.1", - "domhandler": "^4.2.0", - "entities": "^2.0.0" - }, - "funding": { - "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + "engines": { + "node": ">=0.8" } }, - "node_modules/domelementtype": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", - "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ] - }, - "node_modules/domhandler": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", - "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", + "node_modules/clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", "dev": true, "dependencies": { - "domelementtype": "^2.2.0" + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" }, "engines": { - "node": ">= 4" - }, - "funding": { - "url": "https://github.com/fb55/domhandler?sponsor=1" + "node": ">=6" } }, - "node_modules/domutils": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", - "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, "dependencies": { - "dom-serializer": "^1.0.1", - "domelementtype": "^2.2.0", - "domhandler": "^4.2.0" - }, - "funding": { - "url": "https://github.com/fb55/domutils?sponsor=1" + "color-name": "1.1.3" } }, - "node_modules/eastasianwidth": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "node_modules/color-convert/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", "dev": true }, - "node_modules/ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "dev": true, - "dependencies": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "node_modules/ejs": { - "version": "3.1.9", - "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.9.tgz", - "integrity": "sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==", + "node_modules/color-support": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", + "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", "dev": true, - "dependencies": { - "jake": "^10.8.5" - }, "bin": { - "ejs": "bin/cli.js" - }, - "engines": { - "node": ">=0.10.0" + "color-support": "bin.js" } }, - "node_modules/electron-to-chromium": { - "version": "1.4.477", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.477.tgz", - "integrity": "sha512-shUVy6Eawp33dFBFIoYbIwLHrX0IZ857AlH9ug2o4rvbWmpaCUdBpQ5Zw39HRrfzAFm4APJE9V+E2A/WB0YqJw==", - "dev": true - }, - "node_modules/emitter-component": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/emitter-component/-/emitter-component-1.1.1.tgz", - "integrity": "sha1-Bl4tvtaVm/RwZ57avq95gdEAOrY=" - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "node_modules/colorette": { + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", "dev": true }, - "node_modules/emojis-list": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", - "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "node_modules/colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", "dev": true, "engines": { - "node": ">= 4" + "node": ">=0.1.90" } }, - "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "dev": true, + "dependencies": { + "delayed-stream": "~1.0.0" + }, "engines": { "node": ">= 0.8" } }, - "node_modules/encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "optional": true, + "node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + }, + "node_modules/commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", + "dev": true + }, + "node_modules/compressible": { + "version": "2.0.18", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", + "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", + "dev": true, "dependencies": { - "iconv-lite": "^0.6.2" + "mime-db": ">= 1.43.0 < 2" + }, + "engines": { + "node": ">= 0.6" } }, - "node_modules/encoding/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "optional": true, + "node_modules/compression": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", + "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", + "dev": true, "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" + "accepts": "~1.3.5", + "bytes": "3.0.0", + "compressible": "~2.0.16", + "debug": "2.6.9", + "on-headers": "~1.0.2", + "safe-buffer": "5.1.2", + "vary": "~1.1.2" }, "engines": { - "node": ">=0.10.0" + "node": ">= 0.8.0" } }, - "node_modules/end-of-stream": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", - "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", + "node_modules/compression/node_modules/bytes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", + "integrity": "sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==", + "dev": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/compression/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "dependencies": { - "once": "^1.4.0" + "ms": "2.0.0" } }, - "node_modules/engine.io": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.4.1.tgz", - "integrity": "sha512-JFYQurD/nbsA5BSPmbaOSLa3tSVj8L6o4srSwXXY3NqE+gGUNmmPTbhn8tjzcCtSqhFgIeqef81ngny8JM25hw==", + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "node_modules/connect": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz", + "integrity": "sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==", "dev": true, "dependencies": { - "@types/cookie": "^0.4.1", - "@types/cors": "^2.8.12", - "@types/node": ">=10.0.0", - "accepts": "~1.3.4", - "base64id": "2.0.0", - "cookie": "~0.4.1", - "cors": "~2.8.5", - "debug": "~4.3.1", - "engine.io-parser": "~5.0.3", - "ws": "~8.11.0" + "debug": "2.6.9", + "finalhandler": "1.1.2", + "parseurl": "~1.3.3", + "utils-merge": "1.0.1" }, "engines": { - "node": ">=10.0.0" + "node": ">= 0.10.0" } }, - "node_modules/engine.io-parser": { - "version": "5.0.6", - "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.6.tgz", - "integrity": "sha512-tjuoZDMAdEhVnSFleYPCtdL2GXwVTGtNjoeJd9IhIG3C1xs9uwxqRNEu5WpnDZCaozwVlK/nuQhpodhXSIMaxw==", + "node_modules/connect-history-api-fallback": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz", + "integrity": "sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==", "dev": true, "engines": { - "node": ">=10.0.0" + "node": ">=0.8" } }, - "node_modules/enhanced-resolve": { - "version": "5.15.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz", - "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==", + "node_modules/connect/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.2.0" - }, - "engines": { - "node": ">=10.13.0" + "ms": "2.0.0" } }, - "node_modules/enquirer": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", - "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "node_modules/console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==", + "dev": true + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", "dev": true, "dependencies": { - "ansi-colors": "^4.1.1" + "safe-buffer": "5.2.1" }, "engines": { - "node": ">=8.6" + "node": ">= 0.6" } }, - "node_modules/ent": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", - "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=", - "dev": true - }, - "node_modules/entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", + "node_modules/content-disposition/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", "dev": true, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, - "node_modules/env-paths": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "node_modules/content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", "dev": true, "engines": { - "node": ">=6" + "node": ">= 0.6" } }, - "node_modules/err-code": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", - "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", - "dev": true - }, - "node_modules/errno": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz", - "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", + "node_modules/convert-source-map": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", "dev": true, - "optional": true, "dependencies": { - "prr": "~1.0.1" - }, - "bin": { - "errno": "cli.js" + "safe-buffer": "~5.1.1" } }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "node_modules/cookie": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz", + "integrity": "sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==", "dev": true, - "dependencies": { - "is-arrayish": "^0.2.1" + "engines": { + "node": ">= 0.6" } }, - "node_modules/es-module-lexer": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", - "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", "dev": true }, - "node_modules/es6-promise": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", - "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" - }, - "node_modules/es6-promisify": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", - "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=", + "node_modules/copy-anything": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.6.tgz", + "integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==", "dev": true, "dependencies": { - "es6-promise": "^4.0.3" + "is-what": "^3.14.1" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" } }, - "node_modules/esbuild": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.5.tgz", - "integrity": "sha512-VSf6S1QVqvxfIsSKb3UKr3VhUCis7wgDbtF4Vd9z84UJr05/Sp2fRKmzC+CSPG/dNAPPJZ0BTBLTT1Fhd6N9Gg==", + "node_modules/copy-webpack-plugin": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-11.0.0.tgz", + "integrity": "sha512-fX2MWpamkW0hZxMEg0+mYnA40LTosOSa5TqZ9GYIBzyJa9C3QUaMPSE2xAi/buNr8u89SfD9wHSQVBzrRa/SOQ==", "dev": true, - "hasInstallScript": true, - "optional": true, - "bin": { - "esbuild": "bin/esbuild" + "dependencies": { + "fast-glob": "^3.2.11", + "glob-parent": "^6.0.1", + "globby": "^13.1.1", + "normalize-path": "^3.0.0", + "schema-utils": "^4.0.0", + "serialize-javascript": "^6.0.0" }, "engines": { - "node": ">=12" + "node": ">= 14.15.0" }, - "optionalDependencies": { - "@esbuild/linux-loong64": "0.15.5", - "esbuild-android-64": "0.15.5", - "esbuild-android-arm64": "0.15.5", - "esbuild-darwin-64": "0.15.5", - "esbuild-darwin-arm64": "0.15.5", - "esbuild-freebsd-64": "0.15.5", - "esbuild-freebsd-arm64": "0.15.5", - "esbuild-linux-32": "0.15.5", - "esbuild-linux-64": "0.15.5", - "esbuild-linux-arm": "0.15.5", - "esbuild-linux-arm64": "0.15.5", - "esbuild-linux-mips64le": "0.15.5", - "esbuild-linux-ppc64le": "0.15.5", - "esbuild-linux-riscv64": "0.15.5", - "esbuild-linux-s390x": "0.15.5", - "esbuild-netbsd-64": "0.15.5", - "esbuild-openbsd-64": "0.15.5", - "esbuild-sunos-64": "0.15.5", - "esbuild-windows-32": "0.15.5", - "esbuild-windows-64": "0.15.5", - "esbuild-windows-arm64": "0.15.5" - } - }, - "node_modules/esbuild-android-64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.15.5.tgz", - "integrity": "sha512-dYPPkiGNskvZqmIK29OPxolyY3tp+c47+Fsc2WYSOVjEPWNCHNyqhtFqQadcXMJDQt8eN0NMDukbyQgFcHquXg==", - "cpu": [ - "x64" - ], + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.1.0" + } + }, + "node_modules/copy-webpack-plugin/node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, - "optional": true, - "os": [ - "android" - ], + "dependencies": { + "is-glob": "^4.0.3" + }, "engines": { - "node": ">=12" + "node": ">=10.13.0" } }, - "node_modules/esbuild-android-arm64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.15.5.tgz", - "integrity": "sha512-YyEkaQl08ze3cBzI/4Cm1S+rVh8HMOpCdq8B78JLbNFHhzi4NixVN93xDrHZLztlocEYqi45rHHCgA8kZFidFg==", - "cpu": [ - "arm64" - ], + "node_modules/core-js": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz", + "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==", + "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", + "hasInstallScript": true + }, + "node_modules/core-js-compat": { + "version": "3.32.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.32.0.tgz", + "integrity": "sha512-7a9a3D1k4UCVKnLhrgALyFcP7YCsLOQIxPd0dKjf/6GuPcgyiGP70ewWdCGrSK7evyhymi0qO4EqCmSJofDeYw==", "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" + "dependencies": { + "browserslist": "^4.21.9" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" } }, - "node_modules/esbuild-darwin-64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.5.tgz", - "integrity": "sha512-Cr0iIqnWKx3ZTvDUAzG0H/u9dWjLE4c2gTtRLz4pqOBGjfjqdcZSfAObFzKTInLLSmD0ZV1I/mshhPoYSBMMCQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } + "node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, - "node_modules/esbuild-darwin-arm64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.5.tgz", - "integrity": "sha512-WIfQkocGtFrz7vCu44ypY5YmiFXpsxvz2xqwe688jFfSVCnUsCn2qkEVDo7gT8EpsLOz1J/OmqjExePL1dr1Kg==", - "cpu": [ - "arm64" - ], + "node_modules/cors": { + "version": "2.8.5", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", + "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", "dev": true, - "optional": true, - "os": [ - "darwin" - ], + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, "engines": { - "node": ">=12" + "node": ">= 0.10" } }, - "node_modules/esbuild-freebsd-64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.5.tgz", - "integrity": "sha512-M5/EfzV2RsMd/wqwR18CELcenZ8+fFxQAAEO7TJKDmP3knhWSbD72ILzrXFMMwshlPAS1ShCZ90jsxkm+8FlaA==", - "cpu": [ - "x64" - ], + "node_modules/cosmiconfig": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", + "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", "dev": true, - "optional": true, - "os": [ - "freebsd" - ], + "dependencies": { + "import-fresh": "^2.0.0", + "is-directory": "^0.3.1", + "js-yaml": "^3.13.1", + "parse-json": "^4.0.0" + }, "engines": { - "node": ">=12" + "node": ">=4" } }, - "node_modules/esbuild-freebsd-arm64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.5.tgz", - "integrity": "sha512-2JQQ5Qs9J0440F/n/aUBNvY6lTo4XP/4lt1TwDfHuo0DY3w5++anw+jTjfouLzbJmFFiwmX7SmUhMnysocx96w==", - "cpu": [ - "arm64" - ], + "node_modules/critters": { + "version": "0.0.16", + "resolved": "https://registry.npmjs.org/critters/-/critters-0.0.16.tgz", + "integrity": "sha512-JwjgmO6i3y6RWtLYmXwO5jMd+maZt8Tnfu7VVISmEWyQqfLpB8soBswf8/2bu6SBXxtKA68Al3c+qIG1ApT68A==", "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" + "dependencies": { + "chalk": "^4.1.0", + "css-select": "^4.2.0", + "parse5": "^6.0.1", + "parse5-htmlparser2-tree-adapter": "^6.0.1", + "postcss": "^8.3.7", + "pretty-bytes": "^5.3.0" } }, - "node_modules/esbuild-linux-32": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.15.5.tgz", - "integrity": "sha512-gO9vNnIN0FTUGjvTFucIXtBSr1Woymmx/aHQtuU+2OllGU6YFLs99960UD4Dib1kFovVgs59MTXwpFdVoSMZoQ==", - "cpu": [ - "ia32" - ], + "node_modules/critters/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, - "optional": true, - "os": [ - "linux" - ], + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, "engines": { - "node": ">=12" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/esbuild-linux-64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.5.tgz", - "integrity": "sha512-ne0GFdNLsm4veXbTnYAWjbx3shpNKZJUd6XpNbKNUZaNllDZfYQt0/zRqOg0sc7O8GQ+PjSMv9IpIEULXVTVmg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" + "node_modules/cross-fetch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz", + "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==", + "dependencies": { + "node-fetch": "2.6.7" } }, - "node_modules/esbuild-linux-arm": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.15.5.tgz", - "integrity": "sha512-wvAoHEN+gJ/22gnvhZnS/+2H14HyAxM07m59RSLn3iXrQsdS518jnEWRBnJz3fR6BJa+VUTo0NxYjGaNt7RA7Q==", - "cpu": [ - "arm" - ], + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, - "optional": true, - "os": [ - "linux" - ], + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, "engines": { - "node": ">=12" + "node": ">= 8" } }, - "node_modules/esbuild-linux-arm64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.5.tgz", - "integrity": "sha512-7EgFyP2zjO065XTfdCxiXVEk+f83RQ1JsryN1X/VSX2li9rnHAt2swRbpoz5Vlrl6qjHrCmq5b6yxD13z6RheA==", - "cpu": [ - "arm64" - ], + "node_modules/cross-spawn/node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, - "optional": true, - "os": [ - "linux" - ], "engines": { - "node": ">=12" + "node": ">=8" } }, - "node_modules/esbuild-linux-mips64le": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.5.tgz", - "integrity": "sha512-KdnSkHxWrJ6Y40ABu+ipTZeRhFtc8dowGyFsZY5prsmMSr1ZTG9zQawguN4/tunJ0wy3+kD54GaGwdcpwWAvZQ==", - "cpu": [ - "mips64el" - ], + "node_modules/cross-spawn/node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, - "optional": true, - "os": [ - "linux" - ], + "dependencies": { + "shebang-regex": "^3.0.0" + }, "engines": { - "node": ">=12" + "node": ">=8" } }, - "node_modules/esbuild-linux-ppc64le": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.5.tgz", - "integrity": "sha512-QdRHGeZ2ykl5P0KRmfGBZIHmqcwIsUKWmmpZTOq573jRWwmpfRmS7xOhmDHBj9pxv+6qRMH8tLr2fe+ZKQvCYw==", - "cpu": [ - "ppc64" - ], + "node_modules/cross-spawn/node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, - "optional": true, - "os": [ - "linux" - ], "engines": { - "node": ">=12" + "node": ">=8" } }, - "node_modules/esbuild-linux-riscv64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.5.tgz", - "integrity": "sha512-p+WE6RX+jNILsf+exR29DwgV6B73khEQV0qWUbzxaycxawZ8NE0wA6HnnTxbiw5f4Gx9sJDUBemh9v49lKOORA==", - "cpu": [ - "riscv64" - ], + "node_modules/cross-spawn/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, - "optional": true, - "os": [ - "linux" - ], + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, "engines": { - "node": ">=12" + "node": ">= 8" } }, - "node_modules/esbuild-linux-s390x": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.5.tgz", - "integrity": "sha512-J2ngOB4cNzmqLHh6TYMM/ips8aoZIuzxJnDdWutBw5482jGXiOzsPoEF4j2WJ2mGnm7FBCO4StGcwzOgic70JQ==", - "cpu": [ - "s390x" - ], + "node_modules/css-loader": { + "version": "6.7.3", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.7.3.tgz", + "integrity": "sha512-qhOH1KlBMnZP8FzRO6YCH9UHXQhVMcEGLyNdb7Hv2cpcmJbW0YrddO+tG1ab5nT41KpHIYGsbeHqxB9xPu1pKQ==", "dev": true, - "optional": true, - "os": [ - "linux" - ], + "dependencies": { + "icss-utils": "^5.1.0", + "postcss": "^8.4.19", + "postcss-modules-extract-imports": "^3.0.0", + "postcss-modules-local-by-default": "^4.0.0", + "postcss-modules-scope": "^3.0.0", + "postcss-modules-values": "^4.0.0", + "postcss-value-parser": "^4.2.0", + "semver": "^7.3.8" + }, "engines": { - "node": ">=12" + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" } }, - "node_modules/esbuild-netbsd-64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.5.tgz", - "integrity": "sha512-MmKUYGDizYjFia0Rwt8oOgmiFH7zaYlsoQ3tIOfPxOqLssAsEgG0MUdRDm5lliqjiuoog8LyDu9srQk5YwWF3w==", - "cpu": [ - "x64" - ], + "node_modules/css-loader/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, - "optional": true, - "os": [ - "netbsd" - ], + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, "engines": { - "node": ">=12" + "node": ">=10" } }, - "node_modules/esbuild-openbsd-64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.5.tgz", - "integrity": "sha512-2mMFfkLk3oPWfopA9Plj4hyhqHNuGyp5KQyTT9Rc8hFd8wAn5ZrbJg+gNcLMo2yzf8Uiu0RT6G9B15YN9WQyMA==", - "cpu": [ - "x64" - ], + "node_modules/css-select": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz", + "integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==", "dev": true, - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.0.1", + "domhandler": "^4.3.1", + "domutils": "^2.8.0", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" } }, - "node_modules/esbuild-sunos-64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.15.5.tgz", - "integrity": "sha512-2sIzhMUfLNoD+rdmV6AacilCHSxZIoGAU2oT7XmJ0lXcZWnCvCtObvO6D4puxX9YRE97GodciRGDLBaiC6x1SA==", - "cpu": [ - "x64" - ], + "node_modules/css-what": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", + "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", "dev": true, - "optional": true, - "os": [ - "sunos" - ], "engines": { - "node": ">=12" + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" } }, - "node_modules/esbuild-wasm": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.15.5.tgz", - "integrity": "sha512-lTJOEKekN/4JI/eOEq0wLcx53co2N6vaT/XjBz46D1tvIVoUEyM0o2K6txW6gEotf31szFD/J1PbxmnbkGlK9A==", + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", "dev": true, "bin": { - "esbuild": "bin/esbuild" + "cssesc": "bin/cssesc" }, "engines": { - "node": ">=12" + "node": ">=4" } }, - "node_modules/esbuild-windows-32": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.15.5.tgz", - "integrity": "sha512-e+duNED9UBop7Vnlap6XKedA/53lIi12xv2ebeNS4gFmu7aKyTrok7DPIZyU5w/ftHD4MUDs5PJUkQPP9xJRzg==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" + "node_modules/csv-parse": { + "version": "4.16.3", + "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-4.16.3.tgz", + "integrity": "sha512-cO1I/zmz4w2dcKHVvpCr7JVRu8/FymG5OEpmvsZYlccYolPBLoVGKUHgNoc4ZGkFeFlWGEDmMyBM+TTqRdW/wg==" + }, + "node_modules/csv-stringify": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/csv-stringify/-/csv-stringify-1.1.2.tgz", + "integrity": "sha1-d6QVJlgbzjOA8SsA18W7rHDIK1g=", + "dependencies": { + "lodash.get": "~4.4.2" } }, - "node_modules/esbuild-windows-64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.5.tgz", - "integrity": "sha512-v+PjvNtSASHOjPDMIai9Yi+aP+Vwox+3WVdg2JB8N9aivJ7lyhp4NVU+J0MV2OkWFPnVO8AE/7xH+72ibUUEnw==", - "cpu": [ - "x64" - ], + "node_modules/custom-event": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/custom-event/-/custom-event-1.0.1.tgz", + "integrity": "sha1-XQKkaFCt8bSjF5RqOSj8y1v9BCU=", + "dev": true + }, + "node_modules/dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", "dev": true, - "optional": true, - "os": [ - "win32" - ], + "dependencies": { + "assert-plus": "^1.0.0" + }, "engines": { - "node": ">=12" + "node": ">=0.10" } }, - "node_modules/esbuild-windows-arm64": { - "version": "0.15.5", - "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.5.tgz", - "integrity": "sha512-Yz8w/D8CUPYstvVQujByu6mlf48lKmXkq6bkeSZZxTA626efQOJb26aDGLzmFWx6eg/FwrXgt6SZs9V8Pwy/aA==", - "cpu": [ - "arm64" - ], + "node_modules/date-fns": { + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.30.1.tgz", + "integrity": "sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==" + }, + "node_modules/date-format": { + "version": "4.0.14", + "resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.14.tgz", + "integrity": "sha512-39BOQLs9ZjKh0/patS9nrT8wc3ioX3/eA/zgbKNopnF2wCqJEoxywwwElATYvRsXdnOxA/OQeQoFZ3rFjVajhg==", "dev": true, - "optional": true, - "os": [ - "win32" - ], "engines": { - "node": ">=12" + "node": ">=4.0" } }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dependencies": { + "ms": "2.1.2" + }, "engines": { - "node": ">=6" + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + "node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true, "engines": { - "node": ">=0.8.0" + "node": ">=0.10.0" } }, - "node_modules/eslint": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.8.0.tgz", - "integrity": "sha512-H3KXAzQGBH1plhYS3okDix2ZthuYJlQQEGE5k0IKuEqUSiyu4AmxxlJ2MtTYeJ3xB4jDhcYCwGOg2TXYdnDXlQ==", - "dev": true, - "dependencies": { - "@eslint/eslintrc": "^1.0.5", - "@humanwhocodes/config-array": "^0.9.2", - "ajv": "^6.10.0", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.3.2", - "doctrine": "^3.0.0", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.1.0", - "eslint-utils": "^3.0.0", - "eslint-visitor-keys": "^3.2.0", - "espree": "^9.3.0", - "esquery": "^1.4.0", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "functional-red-black-tree": "^1.0.1", - "glob-parent": "^6.0.1", - "globals": "^13.6.0", - "ignore": "^5.2.0", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.0.4", - "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "regexpp": "^3.2.0", - "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", - "text-table": "^0.2.0", - "v8-compile-cache": "^2.0.3" - }, - "bin": { - "eslint": "bin/eslint.js" - }, + "node_modules/decode-uri-component": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz", + "integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==", "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=0.10" + } + }, + "node_modules/deep-equal": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.2.2.tgz", + "integrity": "sha512-xjVyBf0w5vH0I42jdAZzOKVldmPgSulmiyPRywoyq7HXC9qdgo17kxJE+rdnif5Tz6+pIrpJI8dCpMNLIGkUiA==", + "dev": true, + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "call-bind": "^1.0.2", + "es-get-iterator": "^1.1.3", + "get-intrinsic": "^1.2.1", + "is-arguments": "^1.1.1", + "is-array-buffer": "^3.0.2", + "is-date-object": "^1.0.5", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "isarray": "^2.0.5", + "object-is": "^1.1.5", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.5.0", + "side-channel": "^1.0.4", + "which-boxed-primitive": "^1.0.2", + "which-collection": "^1.0.1", + "which-typed-array": "^1.1.9" }, "funding": { - "url": "https://opencollective.com/eslint" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "node_modules/deep-equal/node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/default-gateway": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-6.0.3.tgz", + "integrity": "sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg==", "dev": true, "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" + "execa": "^5.0.0" }, "engines": { - "node": ">=8.0.0" + "node": ">= 10" } }, - "node_modules/eslint-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", - "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", + "node_modules/default-gateway/node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", "dev": true, "dependencies": { - "eslint-visitor-keys": "^2.0.0" + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" }, "engines": { - "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" + "node": ">=10" }, "funding": { - "url": "https://github.com/sponsors/mysticatea" - }, - "peerDependencies": { - "eslint": ">=5" - } - }, - "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.2.0.tgz", - "integrity": "sha512-IOzT0X126zn7ALX0dwFiUQEdsfzrm4+ISsQS8nukaJXwEyYKRSnEIIDULYg1mCtGp7UUXgfGl7BIolXREQK+XQ==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "node_modules/eslint/node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "node_modules/eslint/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, + "node_modules/default-gateway/node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, "engines": { "node": ">=10" }, "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "node_modules/default-gateway/node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true, "engines": { - "node": ">=10" + "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint/node_modules/eslint-scope": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.0.tgz", - "integrity": "sha512-aWwkhnS0qAXqNOgKOK0dJ2nvzEbhEvpy8OlJ9kZ0FeZnA6zpjv1/Vei+puGFFX7zkPCkHHXb7IDX3A+7yPrRWg==", + "node_modules/default-gateway/node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", "dev": true, "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" + "path-key": "^3.0.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=8" } }, - "node_modules/eslint/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "node_modules/default-gateway/node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, "engines": { - "node": ">=4.0" + "node": ">=8" } }, - "node_modules/eslint/node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "node_modules/defaults": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", + "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", "dev": true, "dependencies": { - "is-glob": "^4.0.3" - }, + "clone": "^1.0.2" + } + }, + "node_modules/define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "dev": true, "engines": { - "node": ">=10.13.0" + "node": ">=8" } }, - "node_modules/eslint/node_modules/globals": { - "version": "13.12.1", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.12.1.tgz", - "integrity": "sha512-317dFlgY2pdJZ9rspXDks7073GpDmXdfbM3vYYp0HAMKGDh1FfWPleI2ljVNLQX5M5lXcAslTcPTrOrMEFOjyw==", + "node_modules/define-properties": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", + "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", "dev": true, "dependencies": { - "type-fest": "^0.20.2" + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" }, "engines": { - "node": ">=8" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/eslint/node_modules/ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", + "node_modules/del": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", + "integrity": "sha1-wSyYHQZ4RshLyvhiz/kw2Qf/0ag=", "dev": true, + "dependencies": { + "globby": "^5.0.0", + "is-path-cwd": "^1.0.0", + "is-path-in-cwd": "^1.0.0", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "rimraf": "^2.2.8" + }, "engines": { - "node": ">= 4" + "node": ">=0.10.0" } }, - "node_modules/eslint/node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "node_modules/del/node_modules/globby": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz", + "integrity": "sha1-69hGZ8oNuzMLmbz8aOrCvFQ3Dg0=", "dev": true, "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" + "array-union": "^1.0.1", + "arrify": "^1.0.0", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" }, "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.10.0" } }, - "node_modules/eslint/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", "dev": true, - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "engines": { + "node": ">=0.4.0" } }, - "node_modules/eslint/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "node_modules/delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", + "dev": true + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/dependency-graph": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz", + "integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==", "dev": true, "engines": { - "node": ">=4" + "node": ">= 0.6.0" } }, - "node_modules/eslint/node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", "dev": true, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" } }, - "node_modules/espree": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.0.tgz", - "integrity": "sha512-d/5nCsb0JcqsSEeQzFZ8DH1RmxPcglRWh24EFTlUEmCKoehXGdpsx0RkHDubqUI8LSAIKMQp4r9SzQ3n+sm4HQ==", + "node_modules/detect-node": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", + "integrity": "sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==", + "dev": true + }, + "node_modules/di": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/di/-/di-0.0.1.tgz", + "integrity": "sha1-gGZJMmzqp8qjMG112YXqJ0i6kTw=", + "dev": true + }, + "node_modules/diff": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", + "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "dev": true, + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", "dev": true, "dependencies": { - "acorn": "^8.7.0", - "acorn-jsx": "^5.3.1", - "eslint-visitor-keys": "^3.1.0" + "path-type": "^4.0.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">=8" } }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" + "node_modules/dns-equal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", + "integrity": "sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg==", + "dev": true + }, + "node_modules/dns-packet": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.6.0.tgz", + "integrity": "sha512-rza3UH1LwdHh9qyPXp8lkwpjSNk/AMD3dPytUoRoqnypDUhY0xvbdmVhWOfxO68frEfV9BU8V12Ez7ZsHGZpCQ==", + "dev": true, + "dependencies": { + "@leichtgewicht/ip-codec": "^2.0.1" }, "engines": { - "node": ">=4" + "node": ">=6" } }, - "node_modules/esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", "dev": true, "dependencies": { - "estraverse": "^5.1.0" + "esutils": "^2.0.2" }, "engines": { - "node": ">=0.10" + "node": ">=6.0.0" + } + }, + "node_modules/dom-serialize": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/dom-serialize/-/dom-serialize-2.2.1.tgz", + "integrity": "sha1-ViromZ9Evl6jB29UGdzVnrQ6yVs=", + "dev": true, + "dependencies": { + "custom-event": "~1.0.0", + "ent": "~2.2.0", + "extend": "^3.0.0", + "void-elements": "^2.0.0" + } + }, + "node_modules/dom-serializer": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", + "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", + "dev": true, + "dependencies": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", + "entities": "^2.0.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" } }, - "node_modules/esquery/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", "dev": true, - "engines": { - "node": ">=4.0" - } + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "node_modules/domhandler": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", + "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", "dev": true, "dependencies": { - "estraverse": "^5.2.0" + "domelementtype": "^2.2.0" }, "engines": { - "node": ">=4.0" + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" } }, - "node_modules/esrecurse/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "node_modules/domutils": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", + "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", "dev": true, - "engines": { - "node": ">=4.0" + "dependencies": { + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" } }, - "node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "engines": { - "node": ">=4.0" - } + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true }, - "node_modules/esutils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "node_modules/ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", "dev": true, - "engines": { - "node": ">=0.10.0" + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" } }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", - "dev": true, - "engines": { - "node": ">= 0.6" - } + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", + "dev": true }, - "node_modules/eventemitter-asyncresource": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/eventemitter-asyncresource/-/eventemitter-asyncresource-1.0.0.tgz", - "integrity": "sha512-39F7TBIV0G7gTelxwbEqnwhp90eqCPON1k0NwNfwhgKn4Co4ybUbj2pECcXT0B3ztRKZ7Pw1JujUUgmQJHcVAQ==", + "node_modules/electron-to-chromium": { + "version": "1.4.477", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.477.tgz", + "integrity": "sha512-shUVy6Eawp33dFBFIoYbIwLHrX0IZ857AlH9ug2o4rvbWmpaCUdBpQ5Zw39HRrfzAFm4APJE9V+E2A/WB0YqJw==", "dev": true }, - "node_modules/eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "node_modules/emitter-component": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/emitter-component/-/emitter-component-1.1.1.tgz", + "integrity": "sha1-Bl4tvtaVm/RwZ57avq95gdEAOrY=" + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "node_modules/emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", "dev": true, "engines": { - "node": ">=0.8.x" + "node": ">= 4" } }, - "node_modules/execa": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", "dev": true, - "dependencies": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - }, "engines": { - "node": ">=6" + "node": ">= 0.8" } }, - "node_modules/execa/node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dev": true, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "optional": true, "dependencies": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - }, - "engines": { - "node": ">=4.8" - } - }, - "node_modules/exit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", - "dev": true, - "engines": { - "node": ">= 0.8.0" + "iconv-lite": "^0.6.2" } }, - "node_modules/exponential-backoff": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", - "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==", - "dev": true - }, - "node_modules/express": { - "version": "4.18.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", - "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", - "dev": true, + "node_modules/encoding/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "optional": true, "dependencies": { - "accepts": "~1.3.8", - "array-flatten": "1.1.1", - "body-parser": "1.20.1", - "content-disposition": "0.5.4", - "content-type": "~1.0.4", - "cookie": "0.5.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "2.0.0", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "1.2.0", - "fresh": "0.5.2", - "http-errors": "2.0.0", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.7", - "qs": "6.11.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.2.1", - "send": "0.18.0", - "serve-static": "1.15.0", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" + "safer-buffer": ">= 2.1.2 < 3.0.0" }, "engines": { - "node": ">= 0.10.0" + "node": ">=0.10.0" } }, - "node_modules/express/node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", - "dev": true - }, - "node_modules/express/node_modules/cookie": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", - "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "node_modules/end-of-stream": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", + "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", "dev": true, - "engines": { - "node": ">= 0.6" + "dependencies": { + "once": "^1.4.0" } }, - "node_modules/express/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "node_modules/engine.io": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.4.1.tgz", + "integrity": "sha512-JFYQurD/nbsA5BSPmbaOSLa3tSVj8L6o4srSwXXY3NqE+gGUNmmPTbhn8tjzcCtSqhFgIeqef81ngny8JM25hw==", "dev": true, "dependencies": { - "ms": "2.0.0" + "@types/cookie": "^0.4.1", + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.4.1", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.0.3", + "ws": "~8.11.0" + }, + "engines": { + "node": ">=10.0.0" } }, - "node_modules/express/node_modules/finalhandler": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", - "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "node_modules/engine.io-parser": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.0.6.tgz", + "integrity": "sha512-tjuoZDMAdEhVnSFleYPCtdL2GXwVTGtNjoeJd9IhIG3C1xs9uwxqRNEu5WpnDZCaozwVlK/nuQhpodhXSIMaxw==", "dev": true, - "dependencies": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "2.4.1", - "parseurl": "~1.3.3", - "statuses": "2.0.1", - "unpipe": "~1.0.0" - }, "engines": { - "node": ">= 0.8" + "node": ">=10.0.0" } }, - "node_modules/express/node_modules/on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "node_modules/enhanced-resolve": { + "version": "5.15.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz", + "integrity": "sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==", "dev": true, "dependencies": { - "ee-first": "1.1.1" + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" }, "engines": { - "node": ">= 0.8" + "node": ">=10.13.0" } }, - "node_modules/express/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "node_modules/ent": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", + "integrity": "sha1-6WQhkyWiHQX0RGai9obtbOX13R0=", + "dev": true + }, + "node_modules/entities": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", + "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } }, - "node_modules/express/node_modules/statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", "dev": true, "engines": { - "node": ">= 0.8" + "node": ">=6" } }, - "node_modules/extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "node_modules/err-code": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", + "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", "dev": true }, - "node_modules/external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "node_modules/errno": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz", + "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", "dev": true, + "optional": true, "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" + "prr": "~1.0.1" }, - "engines": { - "node": ">=4" + "bin": { + "errno": "cli.js" } }, - "node_modules/external-editor/node_modules/tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "dev": true, "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" + "is-arrayish": "^0.2.1" } }, - "node_modules/extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", - "dev": true, - "engines": [ - "node >=0.6.0" - ] - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true - }, - "node_modules/fast-glob": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", - "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", + "node_modules/es-get-iterator": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.3.tgz", + "integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==", "dev": true, "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "has-symbols": "^1.0.3", + "is-arguments": "^1.1.1", + "is-map": "^2.0.2", + "is-set": "^2.0.2", + "is-string": "^1.0.7", + "isarray": "^2.0.5", + "stop-iteration-iterator": "^1.0.0" }, - "engines": { - "node": ">=8" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/fast-json-stable-stringify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", - "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", + "node_modules/es-get-iterator/node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", "dev": true }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "node_modules/es-module-lexer": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", + "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", "dev": true }, - "node_modules/fast-sha256": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/fast-sha256/-/fast-sha256-1.3.0.tgz", - "integrity": "sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==" + "node_modules/es6-promise": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", + "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" }, - "node_modules/fastq": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", - "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", + "node_modules/es6-promisify": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/es6-promisify/-/es6-promisify-5.0.0.tgz", + "integrity": "sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=", "dev": true, "dependencies": { - "reusify": "^1.0.4" + "es6-promise": "^4.0.3" } }, - "node_modules/faye-websocket": { - "version": "0.11.4", - "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.4.tgz", - "integrity": "sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==", + "node_modules/esbuild": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.8.tgz", + "integrity": "sha512-g24ybC3fWhZddZK6R3uD2iF/RIPnRpwJAqLov6ouX3hMbY4+tKolP0VMF3zuIYCaXun+yHwS5IPQ91N2BT191g==", "dev": true, - "dependencies": { - "websocket-driver": ">=0.5.1" + "hasInstallScript": true, + "optional": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/android-arm": "0.17.8", + "@esbuild/android-arm64": "0.17.8", + "@esbuild/android-x64": "0.17.8", + "@esbuild/darwin-arm64": "0.17.8", + "@esbuild/darwin-x64": "0.17.8", + "@esbuild/freebsd-arm64": "0.17.8", + "@esbuild/freebsd-x64": "0.17.8", + "@esbuild/linux-arm": "0.17.8", + "@esbuild/linux-arm64": "0.17.8", + "@esbuild/linux-ia32": "0.17.8", + "@esbuild/linux-loong64": "0.17.8", + "@esbuild/linux-mips64el": "0.17.8", + "@esbuild/linux-ppc64": "0.17.8", + "@esbuild/linux-riscv64": "0.17.8", + "@esbuild/linux-s390x": "0.17.8", + "@esbuild/linux-x64": "0.17.8", + "@esbuild/netbsd-x64": "0.17.8", + "@esbuild/openbsd-x64": "0.17.8", + "@esbuild/sunos-x64": "0.17.8", + "@esbuild/win32-arm64": "0.17.8", + "@esbuild/win32-ia32": "0.17.8", + "@esbuild/win32-x64": "0.17.8" + } + }, + "node_modules/esbuild-wasm": { + "version": "0.17.8", + "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.17.8.tgz", + "integrity": "sha512-zCmpxv95E0FuCmvdw1K836UHnj4EdiQnFfjTby35y3LAjRPtXMj3sbHDRHjbD8Mqg5lTwq3knacr/1qIFU51CQ==", + "dev": true, + "bin": { + "esbuild": "bin/esbuild" }, + "engines": { + "node": ">=12" + } + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true, "engines": { "node": ">=0.8.0" } }, - "node_modules/fhir-kit-client": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/fhir-kit-client/-/fhir-kit-client-1.9.2.tgz", - "integrity": "sha512-JInH86BcHR9kUxqmdhhmvEMu7HvUP4ECjolyX1XGhfULnWACrvWA7yX6aB8dI3gODHgqWdshpMY+CT2GTWxzVg==", + "node_modules/eslint": { + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.8.0.tgz", + "integrity": "sha512-H3KXAzQGBH1plhYS3okDix2ZthuYJlQQEGE5k0IKuEqUSiyu4AmxxlJ2MtTYeJ3xB4jDhcYCwGOg2TXYdnDXlQ==", + "dev": true, "dependencies": { - "agentkeepalive": "^4.2.1", - "cross-fetch": "^3.1.5", - "debug": "^4.3.3", - "es6-promise": "^4.2.4", - "json-stringify-safe": "^5.0.1", - "node-abort-controller": "^3.0.1", - "query-string": "^7.1.1" + "@eslint/eslintrc": "^1.0.5", + "@humanwhocodes/config-array": "^0.9.2", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.1.0", + "eslint-utils": "^3.0.0", + "eslint-visitor-keys": "^3.2.0", + "espree": "^9.3.0", + "esquery": "^1.4.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^6.0.1", + "globals": "^13.6.0", + "ignore": "^5.2.0", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.0.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "regexpp": "^3.2.0", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + }, + "bin": { + "eslint": "bin/eslint.js" }, "engines": { - "node": ">=16.0.0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/fhirpath": { - "version": "2.10.2", - "resolved": "https://registry.npmjs.org/fhirpath/-/fhirpath-2.10.2.tgz", - "integrity": "sha512-PyCpDMXb5WLbJ7VMbeg66E9972utJcEJkEBRaLDLU+eguZCn8E/FBHCEeLXK17vee48rj0TOz4S9/z1QLmdzvg==", + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, "dependencies": { - "@lhncbc/ucum-lhc": "^4.1.3", - "antlr4": "~4.8.0", - "commander": "^2.18.0", - "date-fns": "^1.30.1", - "js-yaml": "^3.13.1" - }, - "bin": { - "fhirpath": "bin/fhirpath" + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" }, "engines": { - "node": ">=8.9.0" + "node": ">=8.0.0" } }, - "node_modules/fhirpath/node_modules/antlr4": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/antlr4/-/antlr4-4.8.0.tgz", - "integrity": "sha512-en/MxQ4OkPgGJQ3wD/muzj1uDnFSzdFIhc2+c6bHZokWkuBb6RRvFjpWhPxWLbgQvaEzldJZ0GSQpfSAaE3hqg==" - }, - "node_modules/figures": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", - "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", + "node_modules/eslint-utils": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", + "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", "dev": true, "dependencies": { - "escape-string-regexp": "^1.0.5" + "eslint-visitor-keys": "^2.0.0" }, "engines": { - "node": ">=8" + "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=5" } }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", + "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", "dev": true, - "dependencies": { - "flat-cache": "^3.0.4" - }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=10" } }, - "node_modules/filelist": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", - "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", + "node_modules/eslint-visitor-keys": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz", + "integrity": "sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==", "dev": true, - "dependencies": { - "minimatch": "^5.0.1" + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/filelist/node_modules/brace-expansion": { + "node_modules/eslint/node_modules/argparse": { "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/eslint/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "dependencies": { - "balanced-match": "^1.0.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/filelist/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "node_modules/eslint/node_modules/eslint-scope": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.0.tgz", + "integrity": "sha512-aWwkhnS0qAXqNOgKOK0dJ2nvzEbhEvpy8OlJ9kZ0FeZnA6zpjv1/Vei+puGFFX7zkPCkHHXb7IDX3A+7yPrRWg==", "dev": true, "dependencies": { - "to-regex-range": "^5.0.1" + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" }, "engines": { - "node": ">=8" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/filter-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz", - "integrity": "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==", + "node_modules/eslint/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=4.0" } }, - "node_modules/finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", + "node_modules/eslint/node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, "dependencies": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" + "is-glob": "^4.0.3" }, "engines": { - "node": ">= 0.8" + "node": ">=10.13.0" } }, - "node_modules/finalhandler/node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "node_modules/eslint/node_modules/globals": { + "version": "13.12.1", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.12.1.tgz", + "integrity": "sha512-317dFlgY2pdJZ9rspXDks7073GpDmXdfbM3vYYp0HAMKGDh1FfWPleI2ljVNLQX5M5lXcAslTcPTrOrMEFOjyw==", "dev": true, "dependencies": { - "ms": "2.0.0" + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/find-cache-dir": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", - "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", + "node_modules/eslint/node_modules/ignore": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", + "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/eslint/node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", "dev": true, "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" }, "engines": { - "node": ">=8" + "node": ">=6" }, "funding": { - "url": "https://github.com/avajs/find-cache-dir?sponsor=1" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/find-cache-dir/node_modules/find-up": { + "node_modules/eslint/node_modules/js-yaml": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" + "argparse": "^2.0.1" }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/eslint/node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/find-cache-dir/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "node_modules/eslint/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/find-cache-dir/node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "node_modules/espree": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.0.tgz", + "integrity": "sha512-d/5nCsb0JcqsSEeQzFZ8DH1RmxPcglRWh24EFTlUEmCKoehXGdpsx0RkHDubqUI8LSAIKMQp4r9SzQ3n+sm4HQ==", "dev": true, "dependencies": { - "semver": "^6.0.0" + "acorn": "^8.7.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^3.1.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" }, "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=4" } }, - "node_modules/find-cache-dir/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "node_modules/esquery": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", + "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", "dev": true, "dependencies": { - "p-limit": "^2.2.0" + "estraverse": "^5.1.0" }, "engines": { - "node": ">=8" + "node": ">=0.10" } }, - "node_modules/find-cache-dir/node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "node_modules/esquery/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, "engines": { - "node": ">=8" + "node": ">=4.0" } }, - "node_modules/find-cache-dir/node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, "dependencies": { - "find-up": "^4.0.0" + "estraverse": "^5.2.0" }, "engines": { - "node": ">=8" + "node": ">=4.0" } }, - "node_modules/find-cache-dir/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, - "bin": { - "semver": "bin/semver.js" + "engines": { + "node": ">=4.0" } }, - "node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", "dev": true, - "dependencies": { - "locate-path": "^3.0.0" - }, "engines": { - "node": ">=6" + "node": ">=4.0" } }, - "node_modules/flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "node_modules/esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", "dev": true, - "dependencies": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - }, "engines": { - "node": "^10.12.0 || >=12.0.0" + "node": ">=0.10.0" } }, - "node_modules/flat-cache/node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "engines": { + "node": ">= 0.6" } }, - "node_modules/flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "node_modules/eventemitter-asyncresource": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/eventemitter-asyncresource/-/eventemitter-asyncresource-1.0.0.tgz", + "integrity": "sha512-39F7TBIV0G7gTelxwbEqnwhp90eqCPON1k0NwNfwhgKn4Co4ybUbj2pECcXT0B3ztRKZ7Pw1JujUUgmQJHcVAQ==", "dev": true }, - "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true }, - "node_modules/foreground-child": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", - "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", "dev": true, - "dependencies": { - "cross-spawn": "^7.0.0", - "signal-exit": "^4.0.1" - }, "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">=0.8.x" } }, - "node_modules/foreground-child/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "node_modules/execa": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", + "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", "dev": true, - "engines": { - "node": ">=14" + "dependencies": { + "cross-spawn": "^6.0.0", + "get-stream": "^4.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", - "dev": true, "engines": { - "node": "*" + "node": ">=6" } }, - "node_modules/form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "node_modules/execa/node_modules/cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", "dev": true, "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" }, "engines": { - "node": ">= 0.12" + "node": ">=4.8" } }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "node_modules/exit": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", + "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", "dev": true, "engines": { - "node": ">= 0.6" + "node": ">= 0.8.0" } }, - "node_modules/fraction.js": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", - "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==", + "node_modules/exponential-backoff": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz", + "integrity": "sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==", + "dev": true + }, + "node_modules/express": { + "version": "4.18.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", + "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", "dev": true, - "engines": { - "node": "*" + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" }, - "funding": { - "type": "patreon", - "url": "https://www.patreon.com/infusion" + "engines": { + "node": ">= 0.10.0" } }, - "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "node_modules/express/node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", + "dev": true + }, + "node_modules/express/node_modules/cookie": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", + "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", "dev": true, "engines": { "node": ">= 0.6" } }, - "node_modules/fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "node_modules/express/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" + "ms": "2.0.0" + } + }, + "node_modules/express/node_modules/finalhandler": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", + "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "dev": true, + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" }, "engines": { - "node": ">=6 <7 || >=8" + "node": ">= 0.8" } }, - "node_modules/fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "node_modules/express/node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", "dev": true, "dependencies": { - "minipass": "^3.0.0" + "ee-first": "1.1.1" }, "engines": { - "node": ">= 8" + "node": ">= 0.8" } }, - "node_modules/fs-monkey": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.4.tgz", - "integrity": "sha512-INM/fWAxMICjttnD0DX1rBvinKskj5G1w+oy/pnm9u/tSlnBrzFonJMcalKJ30P8RRsPzKcCG7Q8l0jx5Fh9YQ==", - "dev": true - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + "node_modules/express/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "node_modules/express/node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + "node": ">= 0.8" } }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, - "node_modules/functional-red-black-tree": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", - "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", "dev": true }, - "node_modules/gauge": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", + "node_modules/external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", "dev": true, "dependencies": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.3", - "console-control-strings": "^1.1.0", - "has-unicode": "^2.0.1", - "signal-exit": "^3.0.7", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.5" + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, - "engines": { - "node": "6.* || 8.* || >= 10.*" + "node": ">=4" } }, - "node_modules/get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "node_modules/external-editor/node_modules/tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", "dev": true, "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" + "os-tmpdir": "~1.0.2" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">=0.6.0" } }, - "node_modules/get-package-type": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", - "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "node_modules/extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", "dev": true, - "engines": { - "node": ">=8.0.0" - } + "engines": [ + "node >=0.6.0" + ] }, - "node_modules/get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-glob": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", + "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", "dev": true, "dependencies": { - "pump": "^3.0.0" + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" }, "engines": { - "node": ">=6" + "node": ">=8.6.0" } }, - "node_modules/getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "node_modules/fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", + "dev": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "node_modules/fast-sha256": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-sha256/-/fast-sha256-1.3.0.tgz", + "integrity": "sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==" + }, + "node_modules/fastq": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", + "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", "dev": true, "dependencies": { - "assert-plus": "^1.0.0" + "reusify": "^1.0.4" } }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "node_modules/faye-websocket": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.4.tgz", + "integrity": "sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==", + "dev": true, "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "websocket-driver": ">=0.5.1" }, "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">=0.8.0" } }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, + "node_modules/fhir-kit-client": { + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/fhir-kit-client/-/fhir-kit-client-1.9.2.tgz", + "integrity": "sha512-JInH86BcHR9kUxqmdhhmvEMu7HvUP4ECjolyX1XGhfULnWACrvWA7yX6aB8dI3gODHgqWdshpMY+CT2GTWxzVg==", "dependencies": { - "is-glob": "^4.0.1" + "agentkeepalive": "^4.2.1", + "cross-fetch": "^3.1.5", + "debug": "^4.3.3", + "es6-promise": "^4.2.4", + "json-stringify-safe": "^5.0.1", + "node-abort-controller": "^3.0.1", + "query-string": "^7.1.1" }, "engines": { - "node": ">= 6" + "node": ">=16.0.0" } }, - "node_modules/glob-to-regexp": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", - "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", - "dev": true - }, - "node_modules/glob/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "node_modules/fhirpath": { + "version": "2.10.2", + "resolved": "https://registry.npmjs.org/fhirpath/-/fhirpath-2.10.2.tgz", + "integrity": "sha512-PyCpDMXb5WLbJ7VMbeg66E9972utJcEJkEBRaLDLU+eguZCn8E/FBHCEeLXK17vee48rj0TOz4S9/z1QLmdzvg==", "dependencies": { - "brace-expansion": "^1.1.7" + "@lhncbc/ucum-lhc": "^4.1.3", + "antlr4": "~4.8.0", + "commander": "^2.18.0", + "date-fns": "^1.30.1", + "js-yaml": "^3.13.1" + }, + "bin": { + "fhirpath": "bin/fhirpath" }, "engines": { - "node": "*" + "node": ">=8.9.0" } }, - "node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true, - "engines": { - "node": ">=4" - } + "node_modules/fhirpath/node_modules/antlr4": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/antlr4/-/antlr4-4.8.0.tgz", + "integrity": "sha512-en/MxQ4OkPgGJQ3wD/muzj1uDnFSzdFIhc2+c6bHZokWkuBb6RRvFjpWhPxWLbgQvaEzldJZ0GSQpfSAaE3hqg==" }, - "node_modules/globby": { - "version": "13.2.2", - "resolved": "https://registry.npmjs.org/globby/-/globby-13.2.2.tgz", - "integrity": "sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==", + "node_modules/figures": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", "dev": true, "dependencies": { - "dir-glob": "^3.0.1", - "fast-glob": "^3.3.0", - "ignore": "^5.2.4", - "merge2": "^1.4.1", - "slash": "^4.0.0" + "escape-string-regexp": "^1.0.5" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/globby/node_modules/fast-glob": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", - "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", "dev": true, "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" + "flat-cache": "^3.0.4" }, "engines": { - "node": ">=8.6.0" + "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/globby/node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, "engines": { - "node": ">= 4" + "node": ">=8" } }, - "node_modules/globby/node_modules/slash": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", - "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", - "dev": true, + "node_modules/filter-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-1.1.0.tgz", + "integrity": "sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.10.0" } }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "devOptional": true - }, - "node_modules/handle-thing": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", - "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", - "dev": true - }, - "node_modules/har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "node_modules/finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", "dev": true, + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, "engines": { - "node": ">=4" + "node": ">= 0.8" } }, - "node_modules/har-validator": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", - "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", - "deprecated": "this library is no longer supported", + "node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "dependencies": { - "ajv": "^6.12.3", - "har-schema": "^2.0.0" - }, - "engines": { - "node": ">=6" + "ms": "2.0.0" } }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "node_modules/find-cache-dir": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", "dev": true, "dependencies": { - "function-bind": "^1.1.1" + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" }, "engines": { - "node": ">= 0.4.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/avajs/find-cache-dir?sponsor=1" } }, - "node_modules/has-ansi": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "node_modules/find-cache-dir/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "dependencies": { - "ansi-regex": "^2.0.0" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "node_modules/find-cache-dir/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "node_modules/find-cache-dir/node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", "dev": true, + "dependencies": { + "semver": "^6.0.0" + }, "engines": { - "node": ">= 0.4" + "node": ">=8" }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==", - "dev": true - }, - "node_modules/hdr-histogram-js": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/hdr-histogram-js/-/hdr-histogram-js-2.0.3.tgz", - "integrity": "sha512-Hkn78wwzWHNCp2uarhzQ2SGFLU3JY8SBDDd3TAABK4fc30wm+MuPOrg5QVFVfkKOQd6Bfz3ukJEI+q9sXEkK1g==", + "node_modules/find-cache-dir/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "dependencies": { - "@assemblyscript/loader": "^0.10.1", - "base64-js": "^1.2.0", - "pako": "^1.0.3" + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" } }, - "node_modules/hdr-histogram-js/node_modules/pako": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", - "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", - "dev": true - }, - "node_modules/hdr-histogram-percentiles-obj": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/hdr-histogram-percentiles-obj/-/hdr-histogram-percentiles-obj-3.0.0.tgz", - "integrity": "sha512-7kIufnBqdsBGcSZLPJwqHT3yhk1QTsSlFsVD3kx5ixH/AlgBs9yM1q6DPhXZ8f8gtdqgh7N7/5btRLpQsS2gHw==", - "dev": true + "node_modules/find-cache-dir/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "node_modules/highlight.js": { - "version": "10.7.2", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.2.tgz", - "integrity": "sha512-oFLl873u4usRM9K63j4ME9u3etNF0PLiJhSQ8rdfuL51Wn3zkD6drf9ZW0dOzjnZI22YYG24z30JcmfCZjMgYg==", + "node_modules/find-cache-dir/node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "dependencies": { + "find-up": "^4.0.0" + }, "engines": { - "node": "*" + "node": ">=8" } }, - "node_modules/highlightjs-line-numbers.js": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/highlightjs-line-numbers.js/-/highlightjs-line-numbers.js-2.8.0.tgz", - "integrity": "sha512-TEf1gw0c8mb8nan0QwliqS7obT4cpUd9hzsGzsZLweteNnWea/VIqy5/aQqsa5wnz9lnvmtAkS1ZtDTjB/goYQ==" + "node_modules/find-cache-dir/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } }, - "node_modules/hosted-git-info": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", + "node_modules/find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", "dev": true, "dependencies": { - "lru-cache": "^7.5.1" + "locate-path": "^3.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=6" } }, - "node_modules/hosted-git-info/node_modules/lru-cache": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "node_modules/flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", "dev": true, + "dependencies": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + }, "engines": { - "node": ">=12" + "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/hpack.js": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", - "integrity": "sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ==", + "node_modules/flat-cache/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "dependencies": { - "inherits": "^2.0.1", - "obuf": "^1.0.0", - "readable-stream": "^2.0.1", - "wbuf": "^1.1.0" + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/html-entities": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.4.0.tgz", - "integrity": "sha512-igBTJcNNNhvZFRtm8uA6xMY6xYleeDwn3PeBCkDz7tHttv4F2hsDI2aPgNERWzvRcNYHNT3ymRaQzllmXj4YsQ==", + "node_modules/flatted": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", + "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "dev": true + }, + "node_modules/follow-redirects": { + "version": "1.15.2", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", + "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", "dev": true, "funding": [ { - "type": "github", - "url": "https://github.com/sponsors/mdevils" - }, - { - "type": "patreon", - "url": "https://patreon.com/mdevils" + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" } - ] - }, - "node_modules/html-escaper": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true - }, - "node_modules/http-cache-semantics": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", - "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", - "dev": true + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } }, - "node_modules/http-deceiver": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", - "integrity": "sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw==", - "dev": true + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.3" + } }, - "node_modules/http-errors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", - "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", "dev": true, "dependencies": { - "depd": "2.0.0", - "inherits": "2.0.4", - "setprototypeof": "1.2.0", - "statuses": "2.0.1", - "toidentifier": "1.0.1" + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" }, "engines": { - "node": ">= 0.8" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/http-errors/node_modules/statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, "engines": { - "node": ">= 0.8" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/http-parser-js": { - "version": "0.5.8", - "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.8.tgz", - "integrity": "sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q==", - "dev": true + "node_modules/forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true, + "engines": { + "node": "*" + } }, - "node_modules/http-proxy": { - "version": "1.18.1", - "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", - "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "node_modules/form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", "dev": true, "dependencies": { - "eventemitter3": "^4.0.0", - "follow-redirects": "^1.0.0", - "requires-port": "^1.0.0" + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" }, "engines": { - "node": ">=8.0.0" + "node": ">= 0.12" } }, - "node_modules/http-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", - "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", "dev": true, - "dependencies": { - "@tootallnate/once": "2", - "agent-base": "6", - "debug": "4" - }, "engines": { - "node": ">= 6" + "node": ">= 0.6" } }, - "node_modules/http-proxy-middleware": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", - "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", + "node_modules/fraction.js": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", + "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==", "dev": true, - "dependencies": { - "@types/http-proxy": "^1.17.8", - "http-proxy": "^1.18.1", - "is-glob": "^4.0.1", - "is-plain-obj": "^3.0.0", - "micromatch": "^4.0.2" - }, "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "@types/express": "^4.17.13" + "node": "*" }, - "peerDependenciesMeta": { - "@types/express": { - "optional": true - } + "funding": { + "type": "patreon", + "url": "https://www.patreon.com/infusion" } }, - "node_modules/http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", "dev": true, - "dependencies": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - }, "engines": { - "node": ">=0.8", - "npm": ">=1.3.7" + "node": ">= 0.6" } }, - "node_modules/https-proxy-agent": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz", - "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==", + "node_modules/fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", "dev": true, "dependencies": { - "agent-base": "^4.3.0", - "debug": "^3.1.0" + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" }, "engines": { - "node": ">= 4.5.0" + "node": ">=6 <7 || >=8" } - }, - "node_modules/https-proxy-agent/node_modules/agent-base": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz", - "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==", + }, + "node_modules/fs-minipass": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.2.tgz", + "integrity": "sha512-2GAfyfoaCDRrM6jaOS3UsBts8yJ55VioXdWcOL7dK9zdAuKT71+WBA4ifnNYqVjYv+4SsPxjK0JT4yIIn4cA/g==", "dev": true, "dependencies": { - "es6-promisify": "^5.0.0" + "minipass": "^5.0.0" }, "engines": { - "node": ">= 4.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/https-proxy-agent/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "node_modules/fs-minipass/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", "dev": true, - "dependencies": { - "ms": "^2.1.1" + "engines": { + "node": ">=8" } }, - "node_modules/https-proxy-agent/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "node_modules/fs-monkey": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.4.tgz", + "integrity": "sha512-INM/fWAxMICjttnD0DX1rBvinKskj5G1w+oy/pnm9u/tSlnBrzFonJMcalKJ30P8RRsPzKcCG7Q8l0jx5Fh9YQ==", "dev": true }, - "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">=10.17.0" + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "node_modules/humanize-ms": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", - "integrity": "sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=", - "dependencies": { - "ms": "^2.0.0" - } + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true }, - "node_modules/humanize-ms/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "node_modules/functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "dev": true }, - "node_modules/husky": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/husky/-/husky-1.3.1.tgz", - "integrity": "sha512-86U6sVVVf4b5NYSZ0yvv88dRgBSSXXmHaiq5pP4KDj5JVzdwKgBjEtUPOm8hcoytezFwbU+7gotXNhpHdystlg==", + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gauge": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", + "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", "dev": true, - "hasInstallScript": true, "dependencies": { - "cosmiconfig": "^5.0.7", - "execa": "^1.0.0", - "find-up": "^3.0.0", - "get-stdin": "^6.0.0", - "is-ci": "^2.0.0", - "pkg-dir": "^3.0.0", - "please-upgrade-node": "^3.1.1", - "read-pkg": "^4.0.1", - "run-node": "^1.0.0", - "slash": "^2.0.0" - }, - "bin": { - "husky-upgrade": "lib/upgrader/bin.js" + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.3", + "console-control-strings": "^1.1.0", + "has-unicode": "^2.0.1", + "signal-exit": "^3.0.7", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.5" }, "engines": { - "node": ">=6" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/husky/node_modules/get-stdin": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", - "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==", + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true, "engines": { - "node": ">=4" + "node": ">=6.9.0" } }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, "engines": { - "node": ">=0.10.0" + "node": "6.* || 8.* || >= 10.*" } }, - "node_modules/icss-utils": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", - "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", + "node_modules/get-intrinsic": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", + "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", "dev": true, - "engines": { - "node": "^10 || ^12 || >= 14" + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3" }, - "peerDependencies": { - "postcss": "^8.1.0" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/ignore": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", - "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", - "dev": true + "engines": { + "node": ">=8.0.0" + } }, - "node_modules/ignore-walk": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-5.0.1.tgz", - "integrity": "sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==", + "node_modules/get-stream": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", "dev": true, "dependencies": { - "minimatch": "^5.0.1" + "pump": "^3.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=6" } }, - "node_modules/ignore-walk/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "node_modules/getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", "dev": true, "dependencies": { - "balanced-match": "^1.0.0" + "assert-plus": "^1.0.0" } }, - "node_modules/ignore-walk/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dependencies": { - "brace-expansion": "^2.0.1" + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" }, "engines": { - "node": ">=10" + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/image-size": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", - "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==", + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, - "optional": true, - "bin": { - "image-size": "bin/image-size.js" + "dependencies": { + "is-glob": "^4.0.1" }, "engines": { - "node": ">=0.10.0" + "node": ">= 6" } }, - "node_modules/immediate": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", - "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=", + "node_modules/glob-to-regexp": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz", + "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==", "dev": true }, - "node_modules/immutable": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.1.tgz", - "integrity": "sha512-lj9cnmB/kVS0QHsJnYKD1uo3o39nrbKxszjnqS9Fr6NB7bZzW45U6WSGBPKXDL/CvDKqDNPA4r3DoDQ8GTxo2A==", - "dev": true + "node_modules/glob/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "engines": { + "node": ">=4" + } }, - "node_modules/import-fresh": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", - "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", + "node_modules/globby": { + "version": "13.2.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-13.2.2.tgz", + "integrity": "sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==", "dev": true, "dependencies": { - "caller-path": "^2.0.0", - "resolve-from": "^3.0.0" + "dir-glob": "^3.0.1", + "fast-glob": "^3.3.0", + "ignore": "^5.2.4", + "merge2": "^1.4.1", + "slash": "^4.0.0" }, "engines": { - "node": ">=4" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "node_modules/globby/node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", "dev": true, "engines": { - "node": ">=0.8.19" + "node": ">= 4" } }, - "node_modules/indent-string": { + "node_modules/globby/node_modules/slash": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", + "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", "dev": true, "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/infer-owner": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", - "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", - "dev": true - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, "dependencies": { - "once": "^1.3.0", - "wrappy": "1" + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "devOptional": true }, - "node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "node_modules/handle-thing": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", + "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==", "dev": true }, - "node_modules/inquirer": { - "version": "8.2.4", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.4.tgz", - "integrity": "sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg==", + "node_modules/har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "deprecated": "this library is no longer supported", "dev": true, "dependencies": { - "ansi-escapes": "^4.2.1", - "chalk": "^4.1.1", - "cli-cursor": "^3.1.0", - "cli-width": "^3.0.0", - "external-editor": "^3.0.3", - "figures": "^3.0.0", - "lodash": "^4.17.21", - "mute-stream": "0.0.8", - "ora": "^5.4.1", - "run-async": "^2.4.0", - "rxjs": "^7.5.5", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0", - "through": "^2.3.6", - "wrap-ansi": "^7.0.0" + "ajv": "^6.12.3", + "har-schema": "^2.0.0" }, "engines": { - "node": ">=12.0.0" + "node": ">=6" } }, - "node_modules/inquirer/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "dev": true, "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "function-bind": "^1.1.1" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "node": ">= 0.4.0" } }, - "node_modules/inquirer/node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "node_modules/has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", "dev": true, "dependencies": { - "tslib": "^2.1.0" + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" } }, - "node_modules/ip": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", - "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", - "dev": true + "node_modules/has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "node_modules/ipaddr.js": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.1.0.tgz", - "integrity": "sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ==", + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "dev": true, "engines": { - "node": ">= 10" + "node": ">=4" } }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", - "dev": true - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "node_modules/has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", "dev": true, "dependencies": { - "binary-extensions": "^2.0.0" + "get-intrinsic": "^1.1.1" }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "dev": true, "engines": { - "node": ">=8" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-ci": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", "dev": true, - "dependencies": { - "ci-info": "^2.0.0" + "engines": { + "node": ">= 0.4" }, - "bin": { - "is-ci": "bin.js" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-core-module": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", - "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", "dev": true, "dependencies": { - "has": "^1.0.3" + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-directory": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", - "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", + "node_modules/has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==", + "dev": true + }, + "node_modules/hdr-histogram-js": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/hdr-histogram-js/-/hdr-histogram-js-2.0.3.tgz", + "integrity": "sha512-Hkn78wwzWHNCp2uarhzQ2SGFLU3JY8SBDDd3TAABK4fc30wm+MuPOrg5QVFVfkKOQd6Bfz3ukJEI+q9sXEkK1g==", "dev": true, + "dependencies": { + "@assemblyscript/loader": "^0.10.1", + "base64-js": "^1.2.0", + "pako": "^1.0.3" + } + }, + "node_modules/hdr-histogram-js/node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", + "dev": true + }, + "node_modules/hdr-histogram-percentiles-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hdr-histogram-percentiles-obj/-/hdr-histogram-percentiles-obj-3.0.0.tgz", + "integrity": "sha512-7kIufnBqdsBGcSZLPJwqHT3yhk1QTsSlFsVD3kx5ixH/AlgBs9yM1q6DPhXZ8f8gtdqgh7N7/5btRLpQsS2gHw==", + "dev": true + }, + "node_modules/highlight.js": { + "version": "10.7.2", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.2.tgz", + "integrity": "sha512-oFLl873u4usRM9K63j4ME9u3etNF0PLiJhSQ8rdfuL51Wn3zkD6drf9ZW0dOzjnZI22YYG24z30JcmfCZjMgYg==", "engines": { - "node": ">=0.10.0" + "node": "*" } }, - "node_modules/is-docker": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "node_modules/highlightjs-line-numbers.js": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/highlightjs-line-numbers.js/-/highlightjs-line-numbers.js-2.8.0.tgz", + "integrity": "sha512-TEf1gw0c8mb8nan0QwliqS7obT4cpUd9hzsGzsZLweteNnWea/VIqy5/aQqsa5wnz9lnvmtAkS1ZtDTjB/goYQ==" + }, + "node_modules/hosted-git-info": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", + "integrity": "sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==", "dev": true, - "bin": { - "is-docker": "cli.js" + "dependencies": { + "lru-cache": "^7.5.1" }, "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "node_modules/hosted-git-info/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=12" } }, - "node_modules/is-finite": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", - "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node_modules/hpack.js": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", + "integrity": "sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ==", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "obuf": "^1.0.0", + "readable-stream": "^2.0.1", + "wbuf": "^1.1.0" } }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "node_modules/html-entities": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.4.0.tgz", + "integrity": "sha512-igBTJcNNNhvZFRtm8uA6xMY6xYleeDwn3PeBCkDz7tHttv4F2hsDI2aPgNERWzvRcNYHNT3ymRaQzllmXj4YsQ==", "dev": true, - "engines": { - "node": ">=8" - } + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/mdevils" + }, + { + "type": "patreon", + "url": "https://patreon.com/mdevils" + } + ] }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true + }, + "node_modules/http-cache-semantics": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", + "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", + "dev": true + }, + "node_modules/http-deceiver": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", + "integrity": "sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw==", + "dev": true + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", "dev": true, "dependencies": { - "is-extglob": "^2.1.1" + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" }, "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-integer": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-integer/-/is-integer-1.0.7.tgz", - "integrity": "sha1-a96Bqs3feLZZtmKdYpytxRqIbVw=", - "dependencies": { - "is-finite": "^1.0.0" + "node": ">= 0.8" } }, - "node_modules/is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "node_modules/http-errors/node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", "dev": true, "engines": { - "node": ">=8" + "node": ">= 0.8" } }, - "node_modules/is-lambda": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", - "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", + "node_modules/http-parser-js": { + "version": "0.5.8", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.8.tgz", + "integrity": "sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q==", "dev": true }, - "node_modules/is-path-cwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", - "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-path-in-cwd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", - "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", + "node_modules/http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", "dev": true, "dependencies": { - "is-path-inside": "^1.0.0" + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=8.0.0" } }, - "node_modules/is-path-inside": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", - "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", + "node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", "dev": true, "dependencies": { - "path-is-inside": "^1.0.1" + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" }, "engines": { - "node": ">=0.10.0" + "node": ">= 6" } }, - "node_modules/is-plain-obj": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", - "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", + "node_modules/http-proxy-middleware": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", + "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", "dev": true, + "dependencies": { + "@types/http-proxy": "^1.17.8", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.1", + "is-plain-obj": "^3.0.0", + "micromatch": "^4.0.2" + }, "engines": { - "node": ">=10" + "node": ">=12.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "peerDependencies": { + "@types/express": "^4.17.13" + }, + "peerDependenciesMeta": { + "@types/express": { + "optional": true + } } }, - "node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "node_modules/http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", "dev": true, "dependencies": { - "isobject": "^3.0.1" + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" }, "engines": { - "node": ">=0.10.0" + "node": ">=0.8", + "npm": ">=1.3.7" } }, - "node_modules/is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "node_modules/https-proxy-agent": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.4.tgz", + "integrity": "sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg==", "dev": true, + "dependencies": { + "agent-base": "^4.3.0", + "debug": "^3.1.0" + }, "engines": { - "node": ">=0.10.0" + "node": ">= 4.5.0" } }, - "node_modules/is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", - "dev": true - }, - "node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "node_modules/https-proxy-agent/node_modules/agent-base": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-4.3.0.tgz", + "integrity": "sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==", "dev": true, - "engines": { - "node": ">=10" + "dependencies": { + "es6-promisify": "^5.0.0" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": ">= 4.0.0" } }, - "node_modules/is-what": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/is-what/-/is-what-3.14.1.tgz", - "integrity": "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==", - "dev": true - }, - "node_modules/is-wsl": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "node_modules/https-proxy-agent/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, - "dependencies": { - "is-docker": "^2.0.0" - }, - "engines": { - "node": ">=8" + "dependencies": { + "ms": "^2.1.1" } }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + "node_modules/https-proxy-agent/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true }, - "node_modules/isbinaryfile": { - "version": "4.0.10", - "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-4.0.10.tgz", - "integrity": "sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==", + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true, "engines": { - "node": ">= 8.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/gjtorikian/" + "node": ">=10.17.0" } }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true + "node_modules/humanize-ms": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", + "integrity": "sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=", + "dependencies": { + "ms": "^2.0.0" + } }, - "node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "node_modules/humanize-ms/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/husky": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/husky/-/husky-1.3.1.tgz", + "integrity": "sha512-86U6sVVVf4b5NYSZ0yvv88dRgBSSXXmHaiq5pP4KDj5JVzdwKgBjEtUPOm8hcoytezFwbU+7gotXNhpHdystlg==", "dev": true, + "hasInstallScript": true, + "dependencies": { + "cosmiconfig": "^5.0.7", + "execa": "^1.0.0", + "find-up": "^3.0.0", + "get-stdin": "^6.0.0", + "is-ci": "^2.0.0", + "pkg-dir": "^3.0.0", + "please-upgrade-node": "^3.1.1", + "read-pkg": "^4.0.1", + "run-node": "^1.0.0", + "slash": "^2.0.0" + }, + "bin": { + "husky-upgrade": "lib/upgrader/bin.js" + }, "engines": { - "node": ">=0.10.0" + "node": ">=6" } }, - "node_modules/isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", - "dev": true - }, - "node_modules/istanbul-lib-coverage": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", - "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==", + "node_modules/husky/node_modules/get-stdin": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", + "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==", "dev": true, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/istanbul-lib-instrument": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.1.0.tgz", - "integrity": "sha512-czwUz525rkOFDJxfKK6mYfIs9zBKILyrZQxjz3ABhjQXhbhFsSbo1HW/BFcsDnfJYJWA6thRR5/TUY2qs5W99Q==", + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "dev": true, "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" + "safer-buffer": ">= 2.1.2 < 3" }, "engines": { - "node": ">=8" + "node": ">=0.10.0" } }, - "node_modules/istanbul-lib-instrument/node_modules/istanbul-lib-coverage": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", - "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", + "node_modules/icss-utils": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz", + "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==", "dev": true, "engines": { - "node": ">=8" + "node": "^10 || ^12 || >= 14" + }, + "peerDependencies": { + "postcss": "^8.1.0" } }, - "node_modules/istanbul-lib-instrument/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", "dev": true, - "bin": { - "semver": "bin/semver.js" - } + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, - "node_modules/istanbul-lib-report": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", - "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "node_modules/ignore": { + "version": "3.3.10", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", + "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", + "dev": true + }, + "node_modules/ignore-walk": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.3.tgz", + "integrity": "sha512-C7FfFoTA+bI10qfeydT8aZbvr91vAEU+2W5BZUlzPec47oNb07SsOfwYrtxuvOYdUApPP/Qlh4DtAO51Ekk2QA==", "dev": true, "dependencies": { - "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^3.0.0", - "supports-color": "^7.1.0" + "minimatch": "^9.0.0" }, "engines": { - "node": ">=8" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/istanbul-lib-report/node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "node_modules/ignore-walk/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", "dev": true, "dependencies": { - "semver": "^6.0.0" + "balanced-match": "^1.0.0" + } + }, + "node_modules/ignore-walk/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=8" + "node": ">=16 || 14 >=14.17" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/istanbul-lib-report/node_modules/semver": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.2.0.tgz", - "integrity": "sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A==", + "node_modules/image-size": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", + "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==", "dev": true, + "optional": true, "bin": { - "semver": "bin/semver.js" + "image-size": "bin/image-size.js" + }, + "engines": { + "node": ">=0.10.0" } }, - "node_modules/istanbul-lib-source-maps": { + "node_modules/immediate": { "version": "3.0.6", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz", - "integrity": "sha512-R47KzMtDJH6X4/YW9XTx+jrLnZnscW4VpNN+1PViSYTejLVPWv7oov+Duf8YQSPyVRUvueQqz1TcsC6mooZTXw==", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=", + "dev": true + }, + "node_modules/immutable": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.1.tgz", + "integrity": "sha512-lj9cnmB/kVS0QHsJnYKD1uo3o39nrbKxszjnqS9Fr6NB7bZzW45U6WSGBPKXDL/CvDKqDNPA4r3DoDQ8GTxo2A==", + "dev": true + }, + "node_modules/import-fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", + "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", "dev": true, "dependencies": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^2.0.5", - "make-dir": "^2.1.0", - "rimraf": "^2.6.3", - "source-map": "^0.6.1" + "caller-path": "^2.0.0", + "resolve-from": "^3.0.0" }, "engines": { - "node": ">=6" + "node": ">=4" } }, - "node_modules/istanbul-lib-source-maps/node_modules/istanbul-lib-coverage": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz", - "integrity": "sha512-8aXznuEPCJvGnMSRft4udDRDtb1V3pkQkMMI5LI+6HuQz5oQ4J2UFn1H82raA3qJtyOLkkwVqICBQkjnGtn5mA==", + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", "dev": true, "engines": { - "node": ">=6" + "node": ">=0.8.19" } }, - "node_modules/istanbul-reports": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.2.tgz", - "integrity": "sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw==", + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", "dev": true, - "dependencies": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" - }, "engines": { "node": ">=8" } }, - "node_modules/jackspeak": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.2.tgz", - "integrity": "sha512-mgNtVv4vUuaKA97yxUHoA3+FkuhtxkjdXEWOyB/N76fjy0FjezEt34oy3epBtvCvS+7DyKwqCFWx/oJLV5+kCg==", - "dev": true, - "dependencies": { - "@isaacs/cliui": "^8.0.2" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" } }, - "node_modules/jake": { - "version": "10.8.5", - "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", - "integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==", + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true + }, + "node_modules/inquirer": { + "version": "8.2.4", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.4.tgz", + "integrity": "sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg==", "dev": true, "dependencies": { - "async": "^3.2.3", - "chalk": "^4.0.2", - "filelist": "^1.0.1", - "minimatch": "^3.0.4" - }, - "bin": { - "jake": "bin/cli.js" + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.1", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.21", + "mute-stream": "0.0.8", + "ora": "^5.4.1", + "run-async": "^2.4.0", + "rxjs": "^7.5.5", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6", + "wrap-ansi": "^7.0.0" }, "engines": { - "node": ">=10" + "node": ">=12.0.0" } }, - "node_modules/jake/node_modules/async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", - "dev": true - }, - "node_modules/jake/node_modules/chalk": { + "node_modules/inquirer/node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", @@ -9993,560 +10247,442 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/jasmine": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-3.7.0.tgz", - "integrity": "sha512-wlzGQ+cIFzMEsI+wDqmOwvnjTvolLFwlcpYLCqSPPH0prOQaW3P+IzMhHYn934l1imNvw07oCyX+vGUv3wmtSQ==", - "dependencies": { - "glob": "^7.1.6", - "jasmine-core": "~3.7.0" - }, - "bin": { - "jasmine": "bin/jasmine.js" - } - }, - "node_modules/jasmine-core": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.6.0.tgz", - "integrity": "sha512-8uQYa7zJN8hq9z+g8z1bqCfdC8eoDAeVnM5sfqs7KHv9/ifoJ500m018fpFc7RDaO6SWCLCXwo/wPSNcdYTgcw==", - "dev": true - }, - "node_modules/jasmine-spec-reporter": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/jasmine-spec-reporter/-/jasmine-spec-reporter-5.0.2.tgz", - "integrity": "sha512-6gP1LbVgJ+d7PKksQBc2H0oDGNRQI3gKUsWlswKaQ2fif9X5gzhQcgM5+kiJGCQVurOG09jqNhk7payggyp5+g==", + "node_modules/inquirer/node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", "dev": true, "dependencies": { - "colors": "1.4.0" - } - }, - "node_modules/jasmine/node_modules/jasmine-core": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.7.1.tgz", - "integrity": "sha512-DH3oYDS/AUvvr22+xUBW62m1Xoy7tUlY1tsxKEJvl5JeJ7q8zd1K5bUwiOxdH+erj6l2vAMM3hV25Xs9/WrmuQ==" - }, - "node_modules/jasminewd2": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/jasminewd2/-/jasminewd2-2.2.0.tgz", - "integrity": "sha1-43zwsX8ZnM4jvqcbIDk5Uka07E4=", - "dev": true, - "engines": { - "node": ">= 6.9.x" + "tslib": "^2.1.0" } }, - "node_modules/jest-worker": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", - "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", + "node_modules/internal-slot": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", + "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", "dev": true, "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" + "get-intrinsic": "^1.2.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" }, "engines": { - "node": ">= 10.13.0" + "node": ">= 0.4" } }, - "node_modules/jest-worker/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "node_modules/ip": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", + "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", + "dev": true + }, + "node_modules/ipaddr.js": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.1.0.tgz", + "integrity": "sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ==", "dev": true, "engines": { - "node": ">=8" + "node": ">= 10" } }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "node_modules/is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", "dev": true, "dependencies": { - "has-flag": "^4.0.0" + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" }, "engines": { - "node": ">=10" + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/js-base64": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.2.tgz", - "integrity": "sha512-NnRs6dsyqUXejqk/yv2aiXlAvOs56sLkX6nUdeaNezI5LFFLlsZjOThmwnrcwh5ZZRwZlCMnVAY3CvhIhoVEKQ==" - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "node_modules/js-untar": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/js-untar/-/js-untar-2.0.0.tgz", - "integrity": "sha512-7CsDLrYQMbLxDt2zl9uKaPZSdmJMvGGQ7wo9hoB3J+z/VcO2w63bXFgHVnjF1+S9wD3zAu8FBVj7EYWjTQ3Z7g==" - }, - "node_modules/js-yaml": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", - "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", + "node_modules/is-array-buffer": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", + "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "dev": true, "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "is-typed-array": "^1.1.10" }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", "dev": true }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", "dev": true, - "bin": { - "jsesc": "bin/jsesc" + "dependencies": { + "has-bigints": "^1.0.1" }, - "engines": { - "node": ">=4" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true - }, - "node_modules/json-patch": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/json-patch/-/json-patch-0.7.0.tgz", - "integrity": "sha512-9zaGTzsV6Hal5HVMC8kb4niXYQOOcq3tUp0P/GTw6HHZFPVwtCU2+mXE9q59MelL9uknALWnoKrUxnDpUX728g==", - "dev": true - }, - "node_modules/json-schema": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", - "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", - "dev": true - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", - "dev": true - }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" - }, - "node_modules/json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", "dev": true, - "bin": { - "json5": "lib/cli.js" + "dependencies": { + "binary-extensions": "^2.0.0" }, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/jsonc-parser": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.0.0.tgz", - "integrity": "sha512-fQzRfAbIBnR0IQvftw9FJveWiHp72Fg20giDrHz6TdfB12UH/uue0D3hm57UB5KgAVuniLMCaS8P1IMj9NR7cA==", - "dev": true - }, - "node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", "dev": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/jsonparse": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", "dev": true, - "engines": [ - "node >= 0.2.0" - ] + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "node_modules/jsprim": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", - "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "node_modules/is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", "dev": true, "dependencies": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.4.0", - "verror": "1.10.0" + "ci-info": "^2.0.0" }, - "engines": { - "node": ">=0.6.0" + "bin": { + "is-ci": "bin.js" } }, - "node_modules/jszip": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz", - "integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==", + "node_modules/is-core-module": { + "version": "2.12.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", + "integrity": "sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==", "dev": true, "dependencies": { - "lie": "~3.3.0", - "pako": "~1.0.2", - "readable-stream": "~2.3.6", - "setimmediate": "^1.0.5" + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/jszip/node_modules/pako": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", - "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", - "dev": true - }, - "node_modules/karma": { - "version": "6.3.20", - "resolved": "https://registry.npmjs.org/karma/-/karma-6.3.20.tgz", - "integrity": "sha512-HRNQhMuKOwKpjYlWiJP0DUrJOh+QjaI/DTaD8b9rEm4Il3tJ8MijutVZH4ts10LuUFst/CedwTS6vieCN8yTSw==", + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", "dev": true, "dependencies": { - "@colors/colors": "1.5.0", - "body-parser": "^1.19.0", - "braces": "^3.0.2", - "chokidar": "^3.5.1", - "connect": "^3.7.0", - "di": "^0.0.1", - "dom-serialize": "^2.2.1", - "glob": "^7.1.7", - "graceful-fs": "^4.2.6", - "http-proxy": "^1.18.1", - "isbinaryfile": "^4.0.8", - "lodash": "^4.17.21", - "log4js": "^6.4.1", - "mime": "^2.5.2", - "minimatch": "^3.0.4", - "mkdirp": "^0.5.5", - "qjobs": "^1.2.0", - "range-parser": "^1.2.1", - "rimraf": "^3.0.2", - "socket.io": "^4.4.1", - "source-map": "^0.6.1", - "tmp": "^0.2.1", - "ua-parser-js": "^0.7.30", - "yargs": "^16.1.1" - }, - "bin": { - "karma": "bin/karma" + "has-tostringtag": "^1.0.0" }, "engines": { - "node": ">= 10" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/karma-chrome-launcher": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.1.0.tgz", - "integrity": "sha512-3dPs/n7vgz1rxxtynpzZTvb9y/GIaW8xjAwcIGttLbycqoFtI7yo1NGnQi6oFTherRE+GIhCAHZC4vEqWGhNvg==", + "node_modules/is-directory": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", + "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", "dev": true, - "dependencies": { - "which": "^1.2.1" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/karma-cli": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/karma-cli/-/karma-cli-2.0.0.tgz", - "integrity": "sha512-1Kb28UILg1ZsfqQmeELbPzuEb5C6GZJfVIk0qOr8LNYQuYWmAaqP16WpbpKEjhejDrDYyYOwwJXSZO6u7q5Pvw==", + "node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", "dev": true, - "dependencies": { - "resolve": "^1.3.3" - }, "bin": { - "karma": "bin/karma" + "is-docker": "cli.js" }, "engines": { - "node": ">= 6" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/karma-coverage-istanbul-reporter": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/karma-coverage-istanbul-reporter/-/karma-coverage-istanbul-reporter-3.0.3.tgz", - "integrity": "sha512-wE4VFhG/QZv2Y4CdAYWDbMmcAHeS926ZIji4z+FkB2aF/EposRb6DP6G5ncT/wXhqUfAb/d7kZrNKPonbvsATw==", + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", "dev": true, - "dependencies": { - "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-report": "^3.0.0", - "istanbul-lib-source-maps": "^3.0.6", - "istanbul-reports": "^3.0.2", - "minimatch": "^3.0.4" + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-finite": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", + "engines": { + "node": ">=0.10.0" }, "funding": { - "url": "https://github.com/sponsors/mattlewis92" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/karma-jasmine": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/karma-jasmine/-/karma-jasmine-4.0.1.tgz", - "integrity": "sha512-h8XDAhTiZjJKzfkoO1laMH+zfNlra+dEQHUAjpn5JV1zCPtOIVWGQjLBrqhnzQa/hrU2XrZwSyBa6XjEBzfXzw==", + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, "dependencies": { - "jasmine-core": "^3.6.0" + "is-extglob": "^2.1.1" }, "engines": { - "node": ">= 10" - }, - "peerDependencies": { - "karma": "*" + "node": ">=0.10.0" } }, - "node_modules/karma-jasmine-html-reporter": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.5.4.tgz", - "integrity": "sha512-PtilRLno5O6wH3lDihRnz0Ba8oSn0YUJqKjjux1peoYGwo0AQqrWRbdWk/RLzcGlb+onTyXAnHl6M+Hu3UxG/Q==", + "node_modules/is-integer": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-integer/-/is-integer-1.0.7.tgz", + "integrity": "sha1-a96Bqs3feLZZtmKdYpytxRqIbVw=", + "dependencies": { + "is-finite": "^1.0.0" + } + }, + "node_modules/is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", "dev": true, - "peerDependencies": { - "jasmine-core": ">=3.5", - "karma": ">=0.9", - "karma-jasmine": ">=1.1" + "engines": { + "node": ">=8" } }, - "node_modules/karma-jasmine/node_modules/jasmine-core": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.7.1.tgz", - "integrity": "sha512-DH3oYDS/AUvvr22+xUBW62m1Xoy7tUlY1tsxKEJvl5JeJ7q8zd1K5bUwiOxdH+erj6l2vAMM3hV25Xs9/WrmuQ==", + "node_modules/is-lambda": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", + "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", "dev": true }, - "node_modules/karma-source-map-support": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/karma-source-map-support/-/karma-source-map-support-1.4.0.tgz", - "integrity": "sha512-RsBECncGO17KAoJCYXjv+ckIz+Ii9NCi+9enk+rq6XC81ezYkb4/RHE6CTXdA7IOJqoF3wcaLfVG0CPmE5ca6A==", + "node_modules/is-map": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz", + "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==", "dev": true, - "dependencies": { - "source-map-support": "^0.5.5" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/karma/node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "node_modules/is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", "dev": true, "dependencies": { - "glob": "^7.1.3" + "has-tostringtag": "^1.0.0" }, - "bin": { - "rimraf": "bin.js" + "engines": { + "node": ">= 0.4" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "node_modules/is-path-cwd": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", + "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=", "dev": true, "engines": { "node": ">=0.10.0" } }, - "node_modules/klona": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.6.tgz", - "integrity": "sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==", + "node_modules/is-path-in-cwd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", + "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", "dev": true, + "dependencies": { + "is-path-inside": "^1.0.0" + }, "engines": { - "node": ">= 8" + "node": ">=0.10.0" } }, - "node_modules/less": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/less/-/less-4.1.3.tgz", - "integrity": "sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA==", + "node_modules/is-path-inside": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", + "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", "dev": true, "dependencies": { - "copy-anything": "^2.0.1", - "parse-node-version": "^1.0.1", - "tslib": "^2.3.0" - }, - "bin": { - "lessc": "bin/lessc" + "path-is-inside": "^1.0.1" }, "engines": { - "node": ">=6" - }, - "optionalDependencies": { - "errno": "^0.1.1", - "graceful-fs": "^4.1.2", - "image-size": "~0.5.0", - "make-dir": "^2.1.0", - "mime": "^1.4.1", - "needle": "^3.1.0", - "source-map": "~0.6.0" + "node": ">=0.10.0" } }, - "node_modules/less-loader": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/less-loader/-/less-loader-11.0.0.tgz", - "integrity": "sha512-9+LOWWjuoectIEx3zrfN83NAGxSUB5pWEabbbidVQVgZhN+wN68pOvuyirVlH1IK4VT1f3TmlyvAnCXh8O5KEw==", + "node_modules/is-plain-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", + "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", "dev": true, - "dependencies": { - "klona": "^2.0.4" - }, "engines": { - "node": ">= 14.15.0" + "node": ">=10" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "less": "^3.5.0 || ^4.0.0", - "webpack": "^5.0.0" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/less/node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "dev": true, - "optional": true, - "bin": { - "mime": "cli.js" + "dependencies": { + "isobject": "^3.0.1" }, "engines": { - "node": ">=4" + "node": ">=0.10.0" } }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", "dev": true, "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" }, "engines": { - "node": ">= 0.8.0" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/license-webpack-plugin": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-4.0.2.tgz", - "integrity": "sha512-771TFWFD70G1wLTC4oU2Cw4qvtmNrIw+wRvBtn+okgHl7slJVi7zfNcdmqDL72BojM30VNJ2UHylr1o77U37Jw==", + "node_modules/is-set": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz", + "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==", "dev": true, - "dependencies": { - "webpack-sources": "^3.0.0" - }, - "peerDependenciesMeta": { - "webpack": { - "optional": true - }, - "webpack-sources": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/lie": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", - "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "node_modules/is-shared-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", + "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", "dev": true, "dependencies": { - "immediate": "~3.0.5" + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true - }, - "node_modules/loader-runner": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", - "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", + "node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", "dev": true, "engines": { - "node": ">=6.11.5" + "node": ">=0.10.0" } }, - "node_modules/loader-utils": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-3.2.1.tgz", - "integrity": "sha512-ZvFw1KWS3GVyYBYb7qkmRM/WwL2TQQBxgCK62rlvm4WpVQ23Nb4tYjApUlfjrEGvOs7KHEsmyUn75OHZrJMWPw==", + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, "engines": { - "node": ">= 12.13.0" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", "dev": true, "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" + "has-symbols": "^1.0.2" }, "engines": { - "node": ">=6" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, - "node_modules/lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", - "dev": true - }, - "node_modules/lodash.get": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", - "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=" + "node_modules/is-typed-array": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", + "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "dev": true, + "dependencies": { + "which-typed-array": "^1.1.11" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", "dev": true }, - "node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", "dev": true, - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, "engines": { "node": ">=10" }, @@ -10554,1404 +10690,1527 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/log-symbols/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "node_modules/is-weakmap": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.1.tgz", + "integrity": "sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakset": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.2.tgz", + "integrity": "sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg==", "dev": true, "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" }, "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/log4js": { - "version": "6.9.1", - "resolved": "https://registry.npmjs.org/log4js/-/log4js-6.9.1.tgz", - "integrity": "sha512-1somDdy9sChrr9/f4UlzhdaGfDR2c/SaD2a4T7qEkG4jTS57/B3qmnjLYePwQ8cqWnUHZI0iAKxMBpCZICiZ2g==", + "node_modules/is-what": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/is-what/-/is-what-3.14.1.tgz", + "integrity": "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==", + "dev": true + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", "dev": true, "dependencies": { - "date-format": "^4.0.14", - "debug": "^4.3.4", - "flatted": "^3.2.7", - "rfdc": "^1.3.0", - "streamroller": "^3.1.5" + "is-docker": "^2.0.0" }, "engines": { - "node": ">=8.0" + "node": ">=8" } }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "node_modules/isbinaryfile": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-4.0.10.tgz", + "integrity": "sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==", "dev": true, - "dependencies": { - "yallist": "^4.0.0" + "engines": { + "node": ">= 8.0.0" }, + "funding": { + "url": "https://github.com/sponsors/gjtorikian/" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true, "engines": { - "node": ">=10" + "node": ">=0.10.0" } }, - "node_modules/magic-string": { - "version": "0.26.2", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.26.2.tgz", - "integrity": "sha512-NzzlXpclt5zAbmo6h6jNc8zl2gNRGHvmsZW4IvZhTC4W7k4OlLP+S5YLussa/r3ixNT66KOQfNORlXHSOy/X4A==", + "node_modules/isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", + "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==", "dev": true, - "dependencies": { - "sourcemap-codec": "^1.4.8" - }, "engines": { - "node": ">=12" + "node": ">=8" } }, - "node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "node_modules/istanbul-lib-instrument": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.1.0.tgz", + "integrity": "sha512-czwUz525rkOFDJxfKK6mYfIs9zBKILyrZQxjz3ABhjQXhbhFsSbo1HW/BFcsDnfJYJWA6thRR5/TUY2qs5W99Q==", "dev": true, "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" + "@babel/core": "^7.12.3", + "@babel/parser": "^7.14.7", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^6.3.0" }, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/make-dir/node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "node_modules/istanbul-lib-instrument/node_modules/istanbul-lib-coverage": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", + "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", "dev": true, "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/make-error": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.5.tgz", - "integrity": "sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g==", - "dev": true + "node_modules/istanbul-lib-instrument/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } }, - "node_modules/make-fetch-happen": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", - "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "node_modules/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", "dev": true, "dependencies": { - "agentkeepalive": "^4.2.1", - "cacache": "^17.0.0", - "http-cache-semantics": "^4.1.1", - "http-proxy-agent": "^5.0.0", - "https-proxy-agent": "^5.0.0", - "is-lambda": "^1.0.1", - "lru-cache": "^7.7.1", - "minipass": "^5.0.0", - "minipass-fetch": "^3.0.0", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.3", - "promise-retry": "^2.0.1", - "socks-proxy-agent": "^7.0.0", - "ssri": "^10.0.0" + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": ">=8" } }, - "node_modules/make-fetch-happen/node_modules/@npmcli/fs": { + "node_modules/istanbul-lib-report/node_modules/make-dir": { "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.0.tgz", - "integrity": "sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", "dev": true, "dependencies": { - "semver": "^7.3.5" + "semver": "^6.0.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/make-fetch-happen/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "node_modules/istanbul-lib-report/node_modules/semver": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.2.0.tgz", + "integrity": "sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A==", "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" + "bin": { + "semver": "bin/semver.js" } }, - "node_modules/make-fetch-happen/node_modules/cacache": { - "version": "17.1.3", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.3.tgz", - "integrity": "sha512-jAdjGxmPxZh0IipMdR7fK/4sDSrHMLUV0+GvVUsjwyGNKHsh79kW/otg+GkbXwl6Uzvy9wsvHOX4nUoWldeZMg==", + "node_modules/istanbul-lib-source-maps": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz", + "integrity": "sha512-R47KzMtDJH6X4/YW9XTx+jrLnZnscW4VpNN+1PViSYTejLVPWv7oov+Duf8YQSPyVRUvueQqz1TcsC6mooZTXw==", "dev": true, "dependencies": { - "@npmcli/fs": "^3.1.0", - "fs-minipass": "^3.0.0", - "glob": "^10.2.2", - "lru-cache": "^7.7.1", - "minipass": "^5.0.0", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "p-map": "^4.0.0", - "ssri": "^10.0.0", - "tar": "^6.1.11", - "unique-filename": "^3.0.0" + "debug": "^4.1.1", + "istanbul-lib-coverage": "^2.0.5", + "make-dir": "^2.1.0", + "rimraf": "^2.6.3", + "source-map": "^0.6.1" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": ">=6" + } + }, + "node_modules/istanbul-lib-source-maps/node_modules/istanbul-lib-coverage": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz", + "integrity": "sha512-8aXznuEPCJvGnMSRft4udDRDtb1V3pkQkMMI5LI+6HuQz5oQ4J2UFn1H82raA3qJtyOLkkwVqICBQkjnGtn5mA==", + "dev": true, + "engines": { + "node": ">=6" } }, - "node_modules/make-fetch-happen/node_modules/fs-minipass": { + "node_modules/istanbul-reports": { "version": "3.0.2", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.2.tgz", - "integrity": "sha512-2GAfyfoaCDRrM6jaOS3UsBts8yJ55VioXdWcOL7dK9zdAuKT71+WBA4ifnNYqVjYv+4SsPxjK0JT4yIIn4cA/g==", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.2.tgz", + "integrity": "sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw==", "dev": true, "dependencies": { - "minipass": "^5.0.0" + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": ">=8" } }, - "node_modules/make-fetch-happen/node_modules/glob": { - "version": "10.3.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", - "integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==", + "node_modules/jackspeak": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.2.tgz", + "integrity": "sha512-mgNtVv4vUuaKA97yxUHoA3+FkuhtxkjdXEWOyB/N76fjy0FjezEt34oy3epBtvCvS+7DyKwqCFWx/oJLV5+kCg==", "dev": true, "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^2.0.3", - "minimatch": "^9.0.1", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", - "path-scurry": "^1.10.1" - }, - "bin": { - "glob": "dist/cjs/src/bin.js" + "@isaacs/cliui": "^8.0.2" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=14" }, "funding": { "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" } }, - "node_modules/make-fetch-happen/node_modules/https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "dev": true, + "node_modules/jasmine": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-3.7.0.tgz", + "integrity": "sha512-wlzGQ+cIFzMEsI+wDqmOwvnjTvolLFwlcpYLCqSPPH0prOQaW3P+IzMhHYn934l1imNvw07oCyX+vGUv3wmtSQ==", "dependencies": { - "agent-base": "6", - "debug": "4" + "glob": "^7.1.6", + "jasmine-core": "~3.7.0" }, - "engines": { - "node": ">= 6" + "bin": { + "jasmine": "bin/jasmine.js" } }, - "node_modules/make-fetch-happen/node_modules/lru-cache": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", - "dev": true, - "engines": { - "node": ">=12" - } + "node_modules/jasmine-core": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.6.0.tgz", + "integrity": "sha512-8uQYa7zJN8hq9z+g8z1bqCfdC8eoDAeVnM5sfqs7KHv9/ifoJ500m018fpFc7RDaO6SWCLCXwo/wPSNcdYTgcw==", + "dev": true }, - "node_modules/make-fetch-happen/node_modules/minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "node_modules/jasmine-spec-reporter": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/jasmine-spec-reporter/-/jasmine-spec-reporter-5.0.2.tgz", + "integrity": "sha512-6gP1LbVgJ+d7PKksQBc2H0oDGNRQI3gKUsWlswKaQ2fif9X5gzhQcgM5+kiJGCQVurOG09jqNhk7payggyp5+g==", "dev": true, "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "colors": "1.4.0" } }, - "node_modules/make-fetch-happen/node_modules/minipass": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", - "dev": true, - "engines": { - "node": ">=8" - } + "node_modules/jasmine/node_modules/jasmine-core": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.7.1.tgz", + "integrity": "sha512-DH3oYDS/AUvvr22+xUBW62m1Xoy7tUlY1tsxKEJvl5JeJ7q8zd1K5bUwiOxdH+erj6l2vAMM3hV25Xs9/WrmuQ==" }, - "node_modules/make-fetch-happen/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "node_modules/jasminewd2": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/jasminewd2/-/jasminewd2-2.2.0.tgz", + "integrity": "sha1-43zwsX8ZnM4jvqcbIDk5Uka07E4=", "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, "engines": { - "node": ">=10" + "node": ">= 6.9.x" } }, - "node_modules/make-fetch-happen/node_modules/semver/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "node_modules/jest-worker": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-27.5.1.tgz", + "integrity": "sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==", "dev": true, "dependencies": { - "yallist": "^4.0.0" + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" }, "engines": { - "node": ">=10" + "node": ">= 10.13.0" } }, - "node_modules/make-fetch-happen/node_modules/ssri": { - "version": "10.0.4", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.4.tgz", - "integrity": "sha512-12+IR2CB2C28MMAw0Ncqwj5QbTcs0nGIhgJzYWzDkb21vWmfNI83KS4f3Ci6GI98WreIfG7o9UXp3C0qbpA8nQ==", + "node_modules/jest-worker/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, - "dependencies": { - "minipass": "^5.0.0" - }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": ">=8" } }, - "node_modules/make-fetch-happen/node_modules/unique-filename": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", - "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "dependencies": { - "unique-slug": "^4.0.0" + "has-flag": "^4.0.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "node_modules/make-fetch-happen/node_modules/unique-slug": { + "node_modules/js-base64": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.2.tgz", + "integrity": "sha512-NnRs6dsyqUXejqk/yv2aiXlAvOs56sLkX6nUdeaNezI5LFFLlsZjOThmwnrcwh5ZZRwZlCMnVAY3CvhIhoVEKQ==" + }, + "node_modules/js-tokens": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", - "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", - "dev": true, + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "node_modules/js-untar": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/js-untar/-/js-untar-2.0.0.tgz", + "integrity": "sha512-7CsDLrYQMbLxDt2zl9uKaPZSdmJMvGGQ7wo9hoB3J+z/VcO2w63bXFgHVnjF1+S9wD3zAu8FBVj7EYWjTQ3Z7g==" + }, + "node_modules/js-yaml": { + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", + "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", "dependencies": { - "imurmurhash": "^0.1.4" + "argparse": "^1.0.7", + "esprima": "^4.0.0" }, - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", - "dev": true, - "engines": { - "node": ">= 0.6" - } + "node_modules/jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true }, - "node_modules/memfs": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.5.3.tgz", - "integrity": "sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==", + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true, - "dependencies": { - "fs-monkey": "^1.0.4" + "bin": { + "jsesc": "bin/jsesc" }, "engines": { - "node": ">= 4.0.0" + "node": ">=4" } }, - "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", + "node_modules/json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", "dev": true }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", "dev": true }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "node_modules/json-patch": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/json-patch/-/json-patch-0.7.0.tgz", + "integrity": "sha512-9zaGTzsV6Hal5HVMC8kb4niXYQOOcq3tUp0P/GTw6HHZFPVwtCU2+mXE9q59MelL9uknALWnoKrUxnDpUX728g==", + "dev": true + }, + "node_modules/json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==", + "dev": true + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "dev": true + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, + "bin": { + "json5": "lib/cli.js" + }, "engines": { - "node": ">= 8" + "node": ">=6" } }, - "node_modules/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", "dev": true, - "engines": { - "node": ">= 0.6" + "optionalDependencies": { + "graceful-fs": "^4.1.6" } }, - "node_modules/micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "node_modules/jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", "dev": true, - "dependencies": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" - }, - "engines": { - "node": ">=8.6" - } + "engines": [ + "node >= 0.2.0" + ] }, - "node_modules/mime": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/mime/-/mime-2.5.2.tgz", - "integrity": "sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg==", + "node_modules/jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", "dev": true, - "bin": { - "mime": "cli.js" + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" }, "engines": { - "node": ">=4.0.0" + "node": ">=0.6.0" } }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "node_modules/jszip": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz", + "integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==", "dev": true, - "engines": { - "node": ">= 0.6" + "dependencies": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "setimmediate": "^1.0.5" } }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "node_modules/jszip/node_modules/pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", + "dev": true + }, + "node_modules/karma": { + "version": "6.3.20", + "resolved": "https://registry.npmjs.org/karma/-/karma-6.3.20.tgz", + "integrity": "sha512-HRNQhMuKOwKpjYlWiJP0DUrJOh+QjaI/DTaD8b9rEm4Il3tJ8MijutVZH4ts10LuUFst/CedwTS6vieCN8yTSw==", "dev": true, "dependencies": { - "mime-db": "1.52.0" + "@colors/colors": "1.5.0", + "body-parser": "^1.19.0", + "braces": "^3.0.2", + "chokidar": "^3.5.1", + "connect": "^3.7.0", + "di": "^0.0.1", + "dom-serialize": "^2.2.1", + "glob": "^7.1.7", + "graceful-fs": "^4.2.6", + "http-proxy": "^1.18.1", + "isbinaryfile": "^4.0.8", + "lodash": "^4.17.21", + "log4js": "^6.4.1", + "mime": "^2.5.2", + "minimatch": "^3.0.4", + "mkdirp": "^0.5.5", + "qjobs": "^1.2.0", + "range-parser": "^1.2.1", + "rimraf": "^3.0.2", + "socket.io": "^4.4.1", + "source-map": "^0.6.1", + "tmp": "^0.2.1", + "ua-parser-js": "^0.7.30", + "yargs": "^16.1.1" + }, + "bin": { + "karma": "bin/karma" }, "engines": { - "node": ">= 0.6" + "node": ">= 10" } }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "node_modules/karma-chrome-launcher": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.1.0.tgz", + "integrity": "sha512-3dPs/n7vgz1rxxtynpzZTvb9y/GIaW8xjAwcIGttLbycqoFtI7yo1NGnQi6oFTherRE+GIhCAHZC4vEqWGhNvg==", "dev": true, - "engines": { - "node": ">=6" + "dependencies": { + "which": "^1.2.1" } }, - "node_modules/mini-css-extract-plugin": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.6.1.tgz", - "integrity": "sha512-wd+SD57/K6DiV7jIR34P+s3uckTRuQvx0tKPcvjFlrEylk6P4mQ2KSWk1hblj1Kxaqok7LogKOieygXqBczNlg==", + "node_modules/karma-cli": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/karma-cli/-/karma-cli-2.0.0.tgz", + "integrity": "sha512-1Kb28UILg1ZsfqQmeELbPzuEb5C6GZJfVIk0qOr8LNYQuYWmAaqP16WpbpKEjhejDrDYyYOwwJXSZO6u7q5Pvw==", "dev": true, "dependencies": { - "schema-utils": "^4.0.0" - }, - "engines": { - "node": ">= 12.13.0" + "resolve": "^1.3.3" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" + "bin": { + "karma": "bin/karma" }, - "peerDependencies": { - "webpack": "^5.0.0" + "engines": { + "node": ">= 6" } }, - "node_modules/mini-css-extract-plugin/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "node_modules/karma-coverage-istanbul-reporter": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/karma-coverage-istanbul-reporter/-/karma-coverage-istanbul-reporter-3.0.3.tgz", + "integrity": "sha512-wE4VFhG/QZv2Y4CdAYWDbMmcAHeS926ZIji4z+FkB2aF/EposRb6DP6G5ncT/wXhqUfAb/d7kZrNKPonbvsATw==", "dev": true, "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^3.0.6", + "istanbul-reports": "^3.0.2", + "minimatch": "^3.0.4" }, "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" + "url": "https://github.com/sponsors/mattlewis92" } }, - "node_modules/mini-css-extract-plugin/node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "node_modules/karma-jasmine": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/karma-jasmine/-/karma-jasmine-4.0.1.tgz", + "integrity": "sha512-h8XDAhTiZjJKzfkoO1laMH+zfNlra+dEQHUAjpn5JV1zCPtOIVWGQjLBrqhnzQa/hrU2XrZwSyBa6XjEBzfXzw==", "dev": true, "dependencies": { - "fast-deep-equal": "^3.1.3" + "jasmine-core": "^3.6.0" + }, + "engines": { + "node": ">= 10" }, "peerDependencies": { - "ajv": "^8.8.2" + "karma": "*" } }, - "node_modules/mini-css-extract-plugin/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "node_modules/mini-css-extract-plugin/node_modules/schema-utils": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", - "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", + "node_modules/karma-jasmine-html-reporter": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.5.4.tgz", + "integrity": "sha512-PtilRLno5O6wH3lDihRnz0Ba8oSn0YUJqKjjux1peoYGwo0AQqrWRbdWk/RLzcGlb+onTyXAnHl6M+Hu3UxG/Q==", "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" - }, - "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" + "peerDependencies": { + "jasmine-core": ">=3.5", + "karma": ">=0.9", + "karma-jasmine": ">=1.1" } }, - "node_modules/minimalistic-assert": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "node_modules/karma-jasmine/node_modules/jasmine-core": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.7.1.tgz", + "integrity": "sha512-DH3oYDS/AUvvr22+xUBW62m1Xoy7tUlY1tsxKEJvl5JeJ7q8zd1K5bUwiOxdH+erj6l2vAMM3hV25Xs9/WrmuQ==", "dev": true }, - "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "node_modules/karma-source-map-support": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/karma-source-map-support/-/karma-source-map-support-1.4.0.tgz", + "integrity": "sha512-RsBECncGO17KAoJCYXjv+ckIz+Ii9NCi+9enk+rq6XC81ezYkb4/RHE6CTXdA7IOJqoF3wcaLfVG0CPmE5ca6A==", "dev": true, "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" + "source-map-support": "^0.5.5" } }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "node_modules/karma/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, "funding": { - "url": "https://github.com/sponsors/ljharb" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/minipass": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, "engines": { - "node": ">=8" + "node": ">=0.10.0" } }, - "node_modules/minipass-collect": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", - "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", + "node_modules/klona": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.6.tgz", + "integrity": "sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==", "dev": true, - "dependencies": { - "minipass": "^3.0.0" - }, "engines": { "node": ">= 8" } }, - "node_modules/minipass-fetch": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.3.tgz", - "integrity": "sha512-n5ITsTkDqYkYJZjcRWzZt9qnZKCT7nKCosJhHoj7S7zD+BP4jVbWs+odsniw5TA3E0sLomhTKOKjF86wf11PuQ==", + "node_modules/less": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/less/-/less-4.1.3.tgz", + "integrity": "sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA==", "dev": true, "dependencies": { - "minipass": "^5.0.0", - "minipass-sized": "^1.0.3", - "minizlib": "^2.1.2" + "copy-anything": "^2.0.1", + "parse-node-version": "^1.0.1", + "tslib": "^2.3.0" + }, + "bin": { + "lessc": "bin/lessc" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": ">=6" }, "optionalDependencies": { - "encoding": "^0.1.13" - } - }, - "node_modules/minipass-fetch/node_modules/minipass": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", - "dev": true, - "engines": { - "node": ">=8" + "errno": "^0.1.1", + "graceful-fs": "^4.1.2", + "image-size": "~0.5.0", + "make-dir": "^2.1.0", + "mime": "^1.4.1", + "needle": "^3.1.0", + "source-map": "~0.6.0" } }, - "node_modules/minipass-flush": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", - "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", + "node_modules/less-loader": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/less-loader/-/less-loader-11.1.0.tgz", + "integrity": "sha512-C+uDBV7kS7W5fJlUjq5mPBeBVhYpTIm5gB09APT9o3n/ILeaXVsiSFTbZpTJCJwQ/Crczfn3DmfQFwxYusWFug==", "dev": true, "dependencies": { - "minipass": "^3.0.0" + "klona": "^2.0.4" }, "engines": { - "node": ">= 8" - } - }, - "node_modules/minipass-json-stream": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz", - "integrity": "sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==", - "dev": true, - "dependencies": { - "jsonparse": "^1.3.1", - "minipass": "^3.0.0" + "node": ">= 14.15.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "less": "^3.5.0 || ^4.0.0", + "webpack": "^5.0.0" } }, - "node_modules/minipass-pipeline": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", - "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", + "node_modules/less/node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", "dev": true, - "dependencies": { - "minipass": "^3.0.0" + "optional": true, + "bin": { + "mime": "cli.js" }, "engines": { - "node": ">=8" + "node": ">=4" } }, - "node_modules/minipass-sized": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", - "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, "dependencies": { - "minipass": "^3.0.0" + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" }, "engines": { - "node": ">=8" + "node": ">= 0.8.0" } }, - "node_modules/minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "node_modules/license-webpack-plugin": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-4.0.2.tgz", + "integrity": "sha512-771TFWFD70G1wLTC4oU2Cw4qvtmNrIw+wRvBtn+okgHl7slJVi7zfNcdmqDL72BojM30VNJ2UHylr1o77U37Jw==", "dev": true, "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" + "webpack-sources": "^3.0.0" }, - "engines": { - "node": ">= 8" + "peerDependenciesMeta": { + "webpack": { + "optional": true + }, + "webpack-sources": { + "optional": true + } } }, - "node_modules/mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "node_modules/lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", "dev": true, "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "mkdirp": "bin/cmd.js" + "immediate": "~3.0.5" } }, - "node_modules/mri": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/mri/-/mri-1.1.4.tgz", - "integrity": "sha512-6y7IjGPm8AzlvoUrwAaw1tLnUBudaS3752vcd8JtrpGGQn+rXIe63LFVHm/YMwtqAuh+LJPCFdlLYPWM1nYn6w==", + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "node_modules/loader-runner": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.3.0.tgz", + "integrity": "sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==", "dev": true, "engines": { - "node": ">=4" + "node": ">=6.11.5" } }, - "node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - }, - "node_modules/multicast-dns": { - "version": "7.2.5", - "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.5.tgz", - "integrity": "sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==", + "node_modules/loader-utils": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-3.2.1.tgz", + "integrity": "sha512-ZvFw1KWS3GVyYBYb7qkmRM/WwL2TQQBxgCK62rlvm4WpVQ23Nb4tYjApUlfjrEGvOs7KHEsmyUn75OHZrJMWPw==", "dev": true, - "dependencies": { - "dns-packet": "^5.2.2", - "thunky": "^1.0.2" - }, - "bin": { - "multicast-dns": "cli.js" + "engines": { + "node": ">= 12.13.0" } }, - "node_modules/multimatch": { + "node_modules/locate-path": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-3.0.0.tgz", - "integrity": "sha512-22foS/gqQfANZ3o+W7ST2x25ueHDVNWl/b9OlGcLpy/iKxjCpvcNCM51YCenUi7Mt/jAjjqv8JwZRs8YP5sRjA==", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", "dev": true, "dependencies": { - "array-differ": "^2.0.3", - "array-union": "^1.0.2", - "arrify": "^1.0.1", - "minimatch": "^3.0.4" + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" }, "engines": { "node": ">=6" } }, - "node_modules/mute-stream": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true }, - "node_modules/nanoid": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", - "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", + "node_modules/lodash.debounce": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", + "dev": true + }, + "node_modules/lodash.get": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", + "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "bin": { - "nanoid": "bin/nanoid.cjs" + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" }, "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", - "dev": true - }, - "node_modules/needle": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/needle/-/needle-3.2.0.tgz", - "integrity": "sha512-oUvzXnyLiVyVGoianLijF9O/RecZUf7TkBfimjGrLM4eQhXyeJwM6GeAWccwfQ9aa4gMCZKqhAOuLaMIcQxajQ==", + "node_modules/log-symbols/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, - "optional": true, "dependencies": { - "debug": "^3.2.6", - "iconv-lite": "^0.6.3", - "sax": "^1.2.4" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, - "bin": { - "needle": "bin/needle" + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/log4js": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/log4js/-/log4js-6.9.1.tgz", + "integrity": "sha512-1somDdy9sChrr9/f4UlzhdaGfDR2c/SaD2a4T7qEkG4jTS57/B3qmnjLYePwQ8cqWnUHZI0iAKxMBpCZICiZ2g==", + "dev": true, + "dependencies": { + "date-format": "^4.0.14", + "debug": "^4.3.4", + "flatted": "^3.2.7", + "rfdc": "^1.3.0", + "streamroller": "^3.1.5" }, "engines": { - "node": ">= 4.4.x" + "node": ">=8.0" } }, - "node_modules/needle/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, - "optional": true, "dependencies": { - "ms": "^2.1.1" + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" } }, - "node_modules/needle/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "node_modules/magic-string": { + "version": "0.29.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.29.0.tgz", + "integrity": "sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==", "dev": true, - "optional": true, "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" + "@jridgewell/sourcemap-codec": "^1.4.13" }, "engines": { - "node": ">=0.10.0" + "node": ">=12" } }, - "node_modules/needle/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "node_modules/make-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", "dev": true, - "optional": true + "dependencies": { + "pify": "^4.0.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=6" + } }, - "node_modules/negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "node_modules/make-dir/node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", "dev": true, "engines": { - "node": ">= 0.6" + "node": ">=6" } }, - "node_modules/neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "node_modules/make-error": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.5.tgz", + "integrity": "sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g==", "dev": true }, - "node_modules/ngx-highlightjs": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ngx-highlightjs/-/ngx-highlightjs-4.1.3.tgz", - "integrity": "sha512-4pVQ4EXNDjIes7u93iX5Seyzg7dZXLdw6eAMLEQnYZ/2n1s8Wb9SHS3v2dCiO1VjpVFnfWsHzKwNxgzWbIinqg==", + "node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, "dependencies": { - "highlight.js": "*", - "highlightjs-line-numbers.js": "*", - "tslib": "^2.0.0" + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" }, - "peerDependencies": { - "@angular/common": ">=8.0.0", - "@angular/core": ">=8.0.0", - "rxjs": ">=6.0.0" + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/nice-napi": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/nice-napi/-/nice-napi-1.0.2.tgz", - "integrity": "sha512-px/KnJAJZf5RuBGcfD+Sp2pAKq0ytz8j+1NehvgIGFkvtvFrDM3T8E4x/JJODXK9WZow8RRGrbA9QQ3hs+pDhA==", + "node_modules/make-fetch-happen/node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "!win32" - ], "dependencies": { - "node-addon-api": "^3.0.0", - "node-gyp-build": "^4.2.2" + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" } }, - "node_modules/nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", - "dev": true - }, - "node_modules/node-abort-controller": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.1.1.tgz", - "integrity": "sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==" - }, - "node_modules/node-addon-api": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", - "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", + "node_modules/make-fetch-happen/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true, - "optional": true + "engines": { + "node": ">=12" + } }, - "node_modules/node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "dependencies": { - "whatwg-url": "^5.0.0" - }, + "node_modules/make-fetch-happen/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } + "node": ">=8" } }, - "node_modules/node-forge": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", - "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", "dev": true, "engines": { - "node": ">= 6.13.0" + "node": ">= 0.6" } }, - "node_modules/node-gyp": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.0.tgz", - "integrity": "sha512-dMXsYP6gc9rRbejLXmTbVRYjAHw7ppswsKyMxuxJxxOHzluIO1rGp9TOQgjFJ+2MCqcOcQTOPB/8Xwhr+7s4Eg==", + "node_modules/memfs": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.5.3.tgz", + "integrity": "sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==", "dev": true, "dependencies": { - "env-paths": "^2.2.0", - "exponential-backoff": "^3.1.1", - "glob": "^7.1.4", - "graceful-fs": "^4.2.6", - "make-fetch-happen": "^11.0.3", - "nopt": "^6.0.0", - "npmlog": "^6.0.0", - "rimraf": "^3.0.2", - "semver": "^7.3.5", - "tar": "^6.1.2", - "which": "^2.0.2" - }, - "bin": { - "node-gyp": "bin/node-gyp.js" + "fs-monkey": "^1.0.4" }, "engines": { - "node": "^12.13 || ^14.13 || >=16" + "node": ">= 4.0.0" } }, - "node_modules/node-gyp-build": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", - "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==", + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", + "dev": true + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", "dev": true, - "optional": true, - "bin": { - "node-gyp-build": "bin.js", - "node-gyp-build-optional": "optional.js", - "node-gyp-build-test": "build-test.js" + "engines": { + "node": ">= 8" } }, - "node_modules/node-gyp/node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "engines": { + "node": ">= 0.6" } }, - "node_modules/node-gyp/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "node_modules/micromatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", + "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", "dev": true, "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" + "braces": "^3.0.1", + "picomatch": "^2.2.3" }, "engines": { - "node": ">=10" + "node": ">=8.6" } }, - "node_modules/node-gyp/node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "node_modules/mime": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.5.2.tgz", + "integrity": "sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg==", "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, "bin": { - "node-which": "bin/node-which" + "mime": "cli.js" }, "engines": { - "node": ">= 8" + "node": ">=4.0.0" } }, - "node_modules/node-releases": { - "version": "2.0.13", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", - "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==", - "dev": true + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "engines": { + "node": ">= 0.6" + } }, - "node_modules/nopt": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", - "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "dev": true, "dependencies": { - "abbrev": "^1.0.0" - }, - "bin": { - "nopt": "bin/nopt.js" + "mime-db": "1.52.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">= 0.6" } }, - "node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/mini-css-extract-plugin": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.2.tgz", + "integrity": "sha512-EdlUizq13o0Pd+uCp+WO/JpkLvHRVGt97RqfeGhXqAcorYo1ypJSpkV+WDT0vY/kmh/p7wRdJNJtuyK540PXDw==", "dev": true, "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" + "schema-utils": "^4.0.0" + }, + "engines": { + "node": ">= 12.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^5.0.0" } }, - "node_modules/normalize-package-data/node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", "dev": true }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "node_modules/minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, "engines": { - "node": ">=0.10.0" + "node": "*" } }, - "node_modules/normalize-range": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", - "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "dev": true, - "engines": { - "node": ">=0.10.0" + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/npm-bundled": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz", - "integrity": "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==", + "node_modules/minipass": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz", + "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==", "dev": true, - "dependencies": { - "npm-normalize-package-bin": "^1.0.1" + "engines": { + "node": ">=8" } }, - "node_modules/npm-install-checks": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-5.0.0.tgz", - "integrity": "sha512-65lUsMI8ztHCxFz5ckCEC44DRvEGdZX5usQFriauxHEwt7upv1FKaQEmAtU0YnOAdwuNWCmk64xYiQABNrEyLA==", + "node_modules/minipass-collect": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", + "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", "dev": true, "dependencies": { - "semver": "^7.1.1" + "minipass": "^3.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">= 8" } }, - "node_modules/npm-install-checks/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "node_modules/minipass-collect/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", "dev": true, "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" + "yallist": "^4.0.0" }, "engines": { - "node": ">=10" + "node": ">=8" } }, - "node_modules/npm-normalize-package-bin": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", - "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", - "dev": true - }, - "node_modules/npm-package-arg": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.0.tgz", - "integrity": "sha512-4J0GL+u2Nh6OnhvUKXRr2ZMG4lR8qtLp+kv7UiV00Y+nGiSxtttCyIRHCt5L5BNkXQld/RceYItau3MDOoGiBw==", + "node_modules/minipass-fetch": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.3.tgz", + "integrity": "sha512-n5ITsTkDqYkYJZjcRWzZt9qnZKCT7nKCosJhHoj7S7zD+BP4jVbWs+odsniw5TA3E0sLomhTKOKjF86wf11PuQ==", "dev": true, "dependencies": { - "hosted-git-info": "^5.0.0", - "proc-log": "^2.0.1", - "semver": "^7.3.5", - "validate-npm-package-name": "^4.0.0" + "minipass": "^5.0.0", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" } }, - "node_modules/npm-package-arg/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "node_modules/minipass-fetch/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-flush": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", + "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", "dev": true, "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" + "minipass": "^3.0.0" }, "engines": { - "node": ">=10" + "node": ">= 8" } }, - "node_modules/npm-packlist": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-5.1.3.tgz", - "integrity": "sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==", + "node_modules/minipass-flush/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", "dev": true, "dependencies": { - "glob": "^8.0.1", - "ignore-walk": "^5.0.1", - "npm-bundled": "^2.0.0", - "npm-normalize-package-bin": "^2.0.0" - }, - "bin": { - "npm-packlist": "bin/index.js" + "yallist": "^4.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=8" } }, - "node_modules/npm-packlist/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "node_modules/minipass-json-stream": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz", + "integrity": "sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg==", "dev": true, "dependencies": { - "balanced-match": "^1.0.0" + "jsonparse": "^1.3.1", + "minipass": "^3.0.0" } }, - "node_modules/npm-packlist/node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "node_modules/minipass-json-stream/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", "dev": true, "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" + "yallist": "^4.0.0" }, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">=8" } }, - "node_modules/npm-packlist/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "node_modules/minipass-pipeline": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", + "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", "dev": true, "dependencies": { - "brace-expansion": "^2.0.1" + "minipass": "^3.0.0" }, "engines": { - "node": ">=10" + "node": ">=8" } }, - "node_modules/npm-packlist/node_modules/npm-bundled": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-2.0.1.tgz", - "integrity": "sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==", + "node_modules/minipass-pipeline/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", "dev": true, "dependencies": { - "npm-normalize-package-bin": "^2.0.0" + "yallist": "^4.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=8" } }, - "node_modules/npm-packlist/node_modules/npm-normalize-package-bin": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", + "node_modules/minipass-sized": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", + "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", "dev": true, + "dependencies": { + "minipass": "^3.0.0" + }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=8" } }, - "node_modules/npm-pick-manifest": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-7.0.1.tgz", - "integrity": "sha512-IA8+tuv8KujbsbLQvselW2XQgmXWS47t3CB0ZrzsRZ82DbDfkcFunOaPm4X7qNuhMfq+FmV7hQT4iFVpHqV7mg==", + "node_modules/minipass-sized/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", "dev": true, "dependencies": { - "npm-install-checks": "^5.0.0", - "npm-normalize-package-bin": "^1.0.1", - "npm-package-arg": "^9.0.0", - "semver": "^7.3.5" + "yallist": "^4.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=8" } }, - "node_modules/npm-pick-manifest/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "node_modules/minizlib": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", "dev": true, "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" + "minipass": "^3.0.0", + "yallist": "^4.0.0" }, "engines": { - "node": ">=10" + "node": ">= 8" } }, - "node_modules/npm-registry-fetch": { - "version": "13.3.1", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-13.3.1.tgz", - "integrity": "sha512-eukJPi++DKRTjSBRcDZSDDsGqRK3ehbxfFUcgaRd0Yp6kRwOwh2WVn0r+8rMB4nnuzvAk6rQVzl6K5CkYOmnvw==", + "node_modules/minizlib/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", "dev": true, "dependencies": { - "make-fetch-happen": "^10.0.6", - "minipass": "^3.1.6", - "minipass-fetch": "^2.0.3", - "minipass-json-stream": "^1.0.1", - "minizlib": "^2.1.2", - "npm-package-arg": "^9.0.1", - "proc-log": "^2.0.0" + "yallist": "^4.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=8" } }, - "node_modules/npm-registry-fetch/node_modules/https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "node_modules/mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", "dev": true, "dependencies": { - "agent-base": "6", - "debug": "4" + "minimist": "^1.2.5" }, - "engines": { - "node": ">= 6" + "bin": { + "mkdirp": "bin/cmd.js" } }, - "node_modules/npm-registry-fetch/node_modules/lru-cache": { - "version": "7.18.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", - "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "node_modules/mri": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/mri/-/mri-1.1.4.tgz", + "integrity": "sha512-6y7IjGPm8AzlvoUrwAaw1tLnUBudaS3752vcd8JtrpGGQn+rXIe63LFVHm/YMwtqAuh+LJPCFdlLYPWM1nYn6w==", "dev": true, "engines": { - "node": ">=12" + "node": ">=4" } }, - "node_modules/npm-registry-fetch/node_modules/make-fetch-happen": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz", - "integrity": "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==", + "node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/multicast-dns": { + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-7.2.5.tgz", + "integrity": "sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==", "dev": true, "dependencies": { - "agentkeepalive": "^4.2.1", - "cacache": "^16.1.0", - "http-cache-semantics": "^4.1.0", - "http-proxy-agent": "^5.0.0", - "https-proxy-agent": "^5.0.0", - "is-lambda": "^1.0.1", - "lru-cache": "^7.7.1", - "minipass": "^3.1.6", - "minipass-collect": "^1.0.2", - "minipass-fetch": "^2.0.3", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.3", - "promise-retry": "^2.0.1", - "socks-proxy-agent": "^7.0.0", - "ssri": "^9.0.0" + "dns-packet": "^5.2.2", + "thunky": "^1.0.2" }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "bin": { + "multicast-dns": "cli.js" } }, - "node_modules/npm-registry-fetch/node_modules/minipass-fetch": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.1.2.tgz", - "integrity": "sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==", + "node_modules/multimatch": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-3.0.0.tgz", + "integrity": "sha512-22foS/gqQfANZ3o+W7ST2x25ueHDVNWl/b9OlGcLpy/iKxjCpvcNCM51YCenUi7Mt/jAjjqv8JwZRs8YP5sRjA==", "dev": true, "dependencies": { - "minipass": "^3.1.6", - "minipass-sized": "^1.0.3", - "minizlib": "^2.1.2" + "array-differ": "^2.0.3", + "array-union": "^1.0.2", + "arrify": "^1.0.1", + "minimatch": "^3.0.4" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - }, - "optionalDependencies": { - "encoding": "^0.1.13" + "node": ">=6" } }, - "node_modules/npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "node_modules/mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "dev": true + }, + "node_modules/nanoid": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", + "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", "dev": true, - "dependencies": { - "path-key": "^2.0.0" + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "bin": { + "nanoid": "bin/nanoid.cjs" }, "engines": { - "node": ">=4" + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" } }, - "node_modules/npmlog": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "dev": true + }, + "node_modules/needle": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/needle/-/needle-3.2.0.tgz", + "integrity": "sha512-oUvzXnyLiVyVGoianLijF9O/RecZUf7TkBfimjGrLM4eQhXyeJwM6GeAWccwfQ9aa4gMCZKqhAOuLaMIcQxajQ==", "dev": true, + "optional": true, "dependencies": { - "are-we-there-yet": "^3.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^4.0.3", - "set-blocking": "^2.0.0" + "debug": "^3.2.6", + "iconv-lite": "^0.6.3", + "sax": "^1.2.4" + }, + "bin": { + "needle": "bin/needle" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">= 4.4.x" } }, - "node_modules/nth-check": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", - "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "node_modules/needle/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, + "optional": true, "dependencies": { - "boolbase": "^1.0.0" - }, - "funding": { - "url": "https://github.com/fb55/nth-check?sponsor=1" + "ms": "^2.1.1" } }, - "node_modules/nx": { - "version": "13.1.3", - "resolved": "https://registry.npmjs.org/nx/-/nx-13.1.3.tgz", - "integrity": "sha512-clM0NQhQKYkqcNz2E3uYRMLwhp2L/9dBhJhQi9XBX4IAyA2gWAomhRIlLm5Xxg3g4h1xwSpP3eJ5t89VikY8Pw==", + "node_modules/needle/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "dev": true, + "optional": true, "dependencies": { - "@nrwl/cli": "*" + "safer-buffer": ">= 2.1.2 < 3.0.0" }, - "bin": { - "nx": "bin/nx.js" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/nx/node_modules/@nrwl/cli": { - "version": "13.7.3", - "resolved": "https://registry.npmjs.org/@nrwl/cli/-/cli-13.7.3.tgz", - "integrity": "sha512-iL10s55Levr2mI/qhKoHuYARYHniS9zlu0+yM6W1kRglJkJpX1KkbGwQ8P6TRImEdz1FlZQqJ/X8qMSH13eOhA==", + "node_modules/needle/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "optional": true + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true + }, + "node_modules/ngx-highlightjs": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ngx-highlightjs/-/ngx-highlightjs-4.1.3.tgz", + "integrity": "sha512-4pVQ4EXNDjIes7u93iX5Seyzg7dZXLdw6eAMLEQnYZ/2n1s8Wb9SHS3v2dCiO1VjpVFnfWsHzKwNxgzWbIinqg==", "dependencies": { - "@nrwl/tao": "13.7.3", - "chalk": "4.1.0", - "enquirer": "~2.3.6", - "v8-compile-cache": "2.3.0", - "yargs-parser": "20.0.0" - }, - "bin": { - "nx": "bin/nx.js" - } - }, - "node_modules/nx/node_modules/@nrwl/tao": { - "version": "13.7.3", - "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-13.7.3.tgz", - "integrity": "sha512-D/0lZj/BhY+fkEYfrgtfOFwRCX129rbuFpAKsk52fJkXym5tWdWMrNwMQPtoi+GqSKJSksyvi9wESZuQQ+/jPA==", - "dev": true, - "dependencies": { - "chalk": "4.1.0", - "enquirer": "~2.3.6", - "fast-glob": "3.2.7", - "fs-extra": "^9.1.0", - "ignore": "^5.0.4", - "jsonc-parser": "3.0.0", - "nx": "13.7.3", - "rxjs": "^6.5.4", - "rxjs-for-await": "0.0.2", - "semver": "7.3.4", - "tmp": "~0.2.1", - "tslib": "^2.3.0", - "yargs-parser": "20.0.0" + "highlight.js": "*", + "highlightjs-line-numbers.js": "*", + "tslib": "^2.0.0" }, - "bin": { - "tao": "index.js" + "peerDependencies": { + "@angular/common": ">=8.0.0", + "@angular/core": ">=8.0.0", + "rxjs": ">=6.0.0" } }, - "node_modules/nx/node_modules/@nrwl/tao/node_modules/nx": { - "version": "13.7.3", - "resolved": "https://registry.npmjs.org/nx/-/nx-13.7.3.tgz", - "integrity": "sha512-LTj2V0+f1FIHIvPCGMDw3FilWBgNujGcjxJ85A1Pdkoy1Ovr4Onhv1BNfDpjzy9UB0zNgkTfMQzSiEzK6+p2fA==", + "node_modules/nice-napi": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nice-napi/-/nice-napi-1.0.2.tgz", + "integrity": "sha512-px/KnJAJZf5RuBGcfD+Sp2pAKq0ytz8j+1NehvgIGFkvtvFrDM3T8E4x/JJODXK9WZow8RRGrbA9QQ3hs+pDhA==", "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "!win32" + ], "dependencies": { - "@nrwl/cli": "13.7.3" - }, - "bin": { - "nx": "bin/nx.js" + "node-addon-api": "^3.0.0", + "node-gyp-build": "^4.2.2" } }, - "node_modules/nx/node_modules/chalk": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", - "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "node_modules/nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", + "dev": true + }, + "node_modules/node-abort-controller": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.1.1.tgz", + "integrity": "sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==" + }, + "node_modules/node-addon-api": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", + "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", "dev": true, + "optional": true + }, + "node_modules/node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" + "whatwg-url": "^5.0.0" }, "engines": { - "node": ">=10" + "node": "4.x || >=6.0.0" }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-forge": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", + "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", + "dev": true, + "engines": { + "node": ">= 6.13.0" } }, - "node_modules/nx/node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "node_modules/node-gyp": { + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.0.tgz", + "integrity": "sha512-dMXsYP6gc9rRbejLXmTbVRYjAHw7ppswsKyMxuxJxxOHzluIO1rGp9TOQgjFJ+2MCqcOcQTOPB/8Xwhr+7s4Eg==", "dev": true, "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" + "env-paths": "^2.2.0", + "exponential-backoff": "^3.1.1", + "glob": "^7.1.4", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^11.0.3", + "nopt": "^6.0.0", + "npmlog": "^6.0.0", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.2", + "which": "^2.0.2" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" }, "engines": { - "node": ">=10" + "node": "^12.13 || ^14.13 || >=16" } }, - "node_modules/nx/node_modules/ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", + "node_modules/node-gyp-build": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", + "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==", "dev": true, - "engines": { - "node": ">= 4" + "optional": true, + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" } }, - "node_modules/nx/node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "node_modules/node-gyp/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "dependencies": { - "universalify": "^2.0.0" + "glob": "^7.1.3" }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/nx/node_modules/semver": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", + "node_modules/node-gyp/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -11963,949 +12222,935 @@ "node": ">=10" } }, - "node_modules/nx/node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/nx/node_modules/yargs-parser": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.0.0.tgz", - "integrity": "sha512-8eblPHTL7ZWRkyjIZJjnGf+TijiKJSwA24svzLRVvtgoi/RZiKa9fFQTrlx0OKLnyHSdt/enrdadji6WFfESVA==", + "node_modules/node-gyp/node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, "engines": { - "node": ">=10" + "node": ">= 8" } }, - "node_modules/oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", - "dev": true, - "engines": { - "node": "*" - } + "node_modules/node-releases": { + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", + "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==", + "dev": true }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "node_modules/nopt": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", + "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", "dev": true, + "dependencies": { + "abbrev": "^1.0.0" + }, + "bin": { + "nopt": "bin/nopt.js" + }, "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/obuf": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", - "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", - "dev": true - }, - "node_modules/on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dev": true, "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" } }, - "node_modules/on-headers": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", - "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", + "node_modules/normalize-package-data/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true, "engines": { - "node": ">= 0.8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dependencies": { - "wrappy": "1" + "node": ">=0.10.0" } }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", "dev": true, - "dependencies": { - "mimic-fn": "^2.1.0" - }, "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.10.0" } }, - "node_modules/open": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", - "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", + "node_modules/npm-bundled": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-3.0.0.tgz", + "integrity": "sha512-Vq0eyEQy+elFpzsKjMss9kxqb9tG3YHg4dsyWuUENuzvSUWe1TCnW/vV9FkhvBk/brEDoDiVd+M1Btosa6ImdQ==", "dev": true, "dependencies": { - "define-lazy-prop": "^2.0.0", - "is-docker": "^2.1.1", - "is-wsl": "^2.2.0" + "npm-normalize-package-bin": "^3.0.0" }, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "node_modules/npm-install-checks": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.1.1.tgz", + "integrity": "sha512-dH3GmQL4vsPtld59cOn8uY0iOqRmqKvV+DLGwNXV/Q7MDgD2QfOADWd/mFXcIE5LVhYYGjA3baz6W9JneqnuCw==", "dev": true, "dependencies": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" + "semver": "^7.1.1" }, "engines": { - "node": ">= 0.8.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/ora": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "node_modules/npm-install-checks/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" }, "engines": { "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/ora/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "node_modules/npm-normalize-package-bin": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", + "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "node_modules/npm-package-arg": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-10.1.0.tgz", + "integrity": "sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA==", "dev": true, + "dependencies": { + "hosted-git-info": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, "engines": { - "node": ">=0.10.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "node_modules/npm-package-arg/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, "engines": { - "node": ">=4" + "node": ">=10" } }, - "node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "node_modules/npm-packlist": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-7.0.4.tgz", + "integrity": "sha512-d6RGEuRrNS5/N84iglPivjaJPxhDbZmlbTwTDX2IbcRHG5bZCdtysYMhwiPvcF4GisXHGn7xsxv+GQ7T/02M5Q==", "dev": true, "dependencies": { - "p-try": "^2.0.0" + "ignore-walk": "^6.0.0" }, "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "node_modules/npm-pick-manifest": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-8.0.1.tgz", + "integrity": "sha512-mRtvlBjTsJvfCCdmPtiu2bdlx8d/KXtF7yNXNWe7G0Z36qWA9Ny5zXsI2PfBZEv7SXgoxTmNaTzGSbbzDZChoA==", "dev": true, "dependencies": { - "p-limit": "^2.0.0" + "npm-install-checks": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0", + "npm-package-arg": "^10.0.0", + "semver": "^7.3.5" }, "engines": { - "node": ">=6" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/p-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "node_modules/npm-pick-manifest/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { - "aggregate-error": "^3.0.0" + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" }, "engines": { "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/p-retry": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", - "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", + "node_modules/npm-registry-fetch": { + "version": "14.0.5", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-14.0.5.tgz", + "integrity": "sha512-kIDMIo4aBm6xg7jOttupWZamsZRkAqMqwqqbVXnUqstY5+tapvv6bkH/qMR76jdgV+YljEUCyWx3hRYMrJiAgA==", "dev": true, "dependencies": { - "@types/retry": "0.12.0", - "retry": "^0.13.1" + "make-fetch-happen": "^11.0.0", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.1.2", + "npm-package-arg": "^10.0.0", + "proc-log": "^3.0.0" }, "engines": { - "node": ">=8" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/p-retry/node_modules/retry": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", - "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", + "node_modules/npm-registry-fetch/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", "dev": true, "engines": { - "node": ">= 4" + "node": ">=8" } }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "node_modules/npm-run-path": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", "dev": true, + "dependencies": { + "path-key": "^2.0.0" + }, "engines": { - "node": ">=6" + "node": ">=4" } }, - "node_modules/pacote": { - "version": "13.6.2", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-13.6.2.tgz", - "integrity": "sha512-Gu8fU3GsvOPkak2CkbojR7vjs3k3P9cA6uazKTHdsdV0gpCEQq2opelnEv30KRQWgVzP5Vd/5umjcedma3MKtg==", + "node_modules/npmlog": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", + "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, "dependencies": { - "@npmcli/git": "^3.0.0", - "@npmcli/installed-package-contents": "^1.0.7", - "@npmcli/promise-spawn": "^3.0.0", - "@npmcli/run-script": "^4.1.0", - "cacache": "^16.0.0", - "chownr": "^2.0.0", - "fs-minipass": "^2.1.0", - "infer-owner": "^1.0.4", - "minipass": "^3.1.6", - "mkdirp": "^1.0.4", - "npm-package-arg": "^9.0.0", - "npm-packlist": "^5.1.0", - "npm-pick-manifest": "^7.0.0", - "npm-registry-fetch": "^13.0.1", - "proc-log": "^2.0.0", - "promise-retry": "^2.0.1", - "read-package-json": "^5.0.0", - "read-package-json-fast": "^2.0.3", - "rimraf": "^3.0.2", - "ssri": "^9.0.0", - "tar": "^6.1.11" - }, - "bin": { - "pacote": "lib/bin.js" + "are-we-there-yet": "^3.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^4.0.3", + "set-blocking": "^2.0.0" }, "engines": { "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/pacote/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" + "dependencies": { + "boolbase": "^1.0.0" }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true, "engines": { - "node": ">=10" + "node": "*" } }, - "node_modules/pacote/node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/pako": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz", - "integrity": "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==" - }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "node_modules/object-is": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", + "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", "dev": true, "dependencies": { - "callsites": "^3.0.0" + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" }, "engines": { - "node": ">=6" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/parent-module/node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true, "engines": { - "node": ">=6" + "node": ">= 0.4" } }, - "node_modules/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "node_modules/object.assign": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", + "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", "dev": true, "dependencies": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" }, "engines": { - "node": ">=4" - } - }, - "node_modules/parse-node-version": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", - "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", - "dev": true, - "engines": { - "node": ">= 0.10" + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", - "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "node_modules/obuf": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", + "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", "dev": true }, - "node_modules/parse5-html-rewriting-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5-html-rewriting-stream/-/parse5-html-rewriting-stream-6.0.1.tgz", - "integrity": "sha512-vwLQzynJVEfUlURxgnf51yAJDQTtVpNyGD8tKi2Za7m+akukNHxCcUQMAa/mUGLhCeicFdpy7Tlvj8ZNKadprg==", + "node_modules/on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", "dev": true, "dependencies": { - "parse5": "^6.0.1", - "parse5-sax-parser": "^6.0.1" + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" } }, - "node_modules/parse5-htmlparser2-tree-adapter": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz", - "integrity": "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==", + "node_modules/on-headers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", + "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", "dev": true, - "dependencies": { - "parse5": "^6.0.1" + "engines": { + "node": ">= 0.8" } }, - "node_modules/parse5-sax-parser": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-6.0.1.tgz", - "integrity": "sha512-kXX+5S81lgESA0LsDuGjAlBybImAChYRMT+/uKCEXFBFOeEhS52qUCydGhU3qLRD8D9DVjaUo821WK7DM4iCeg==", - "dev": true, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dependencies": { - "parse5": "^6.0.1" + "wrappy": "1" } }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", "dev": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, "engines": { - "node": ">= 0.8" + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "node_modules/open": { + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.1.tgz", + "integrity": "sha512-/4b7qZNhv6Uhd7jjnREh1NjnPxlTq+XNWPG88Ydkj5AILcA5m3ajvcg57pB24EQjKv0dK62XnDqk9c/hkIG5Kg==", "dev": true, + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, "engines": { - "node": ">=4" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "node_modules/optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dev": true, + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + }, "engines": { - "node": ">=0.10.0" + "node": ">= 0.8.0" } }, - "node_modules/path-is-inside": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", - "dev": true - }, - "node_modules/path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "node_modules/ora": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", "dev": true, + "dependencies": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, "engines": { - "node": ">=4" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/path-scurry": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", - "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", + "node_modules/ora/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "dependencies": { - "lru-cache": "^9.1.1 || ^10.0.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=10" }, "funding": { - "url": "https://github.com/sponsors/isaacs" + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.0.tgz", - "integrity": "sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==", + "node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "dev": true, "engines": { - "node": "14 || >=16.14" + "node": ">=0.10.0" } }, - "node_modules/path-scurry/node_modules/minipass": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.2.tgz", - "integrity": "sha512-eL79dXrE1q9dBbDCLg7xfn/vl7MS4F1gvJAgjJrQli/jbQWdUttuVawphqpffoIYfRdq78LHx6GP4bU/EQ2ATA==", + "node_modules/p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", "dev": true, "engines": { - "node": ">=16 || 14 >=14.17" + "node": ">=4" } }, - "node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", - "dev": true - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, "engines": { - "node": ">=8" + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", - "dev": true - }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true + "node_modules/p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "dependencies": { + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" + } }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", "dev": true, + "dependencies": { + "aggregate-error": "^3.0.0" + }, "engines": { - "node": ">=8.6" + "node": ">=10" }, "funding": { - "url": "https://github.com/sponsors/jonschlinkert" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "node_modules/p-retry": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", + "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", "dev": true, + "dependencies": { + "@types/retry": "0.12.0", + "retry": "^0.13.1" + }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "node_modules/p-retry/node_modules/retry": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">= 4" } }, - "node_modules/pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true, - "dependencies": { - "pinkie": "^2.0.0" - }, "engines": { - "node": ">=0.10.0" + "node": ">=6" } }, - "node_modules/piscina": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/piscina/-/piscina-3.2.0.tgz", - "integrity": "sha512-yn/jMdHRw+q2ZJhFhyqsmANcbF6V2QwmD84c6xRau+QpQOmtrBCoRGdvTfeuFDYXB5W2m6MfLkjkvQa9lUSmIA==", + "node_modules/pacote": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-15.1.0.tgz", + "integrity": "sha512-FFcjtIl+BQNfeliSm7MZz5cpdohvUV1yjGnqgVM4UnVF7JslRY0ImXAygdaCDV0jjUADEWu4y5xsDV8brtrTLg==", "dev": true, "dependencies": { - "eventemitter-asyncresource": "^1.0.0", - "hdr-histogram-js": "^2.0.1", - "hdr-histogram-percentiles-obj": "^3.0.0" + "@npmcli/git": "^4.0.0", + "@npmcli/installed-package-contents": "^2.0.1", + "@npmcli/promise-spawn": "^6.0.1", + "@npmcli/run-script": "^6.0.0", + "cacache": "^17.0.0", + "fs-minipass": "^3.0.0", + "minipass": "^4.0.0", + "npm-package-arg": "^10.0.0", + "npm-packlist": "^7.0.0", + "npm-pick-manifest": "^8.0.0", + "npm-registry-fetch": "^14.0.0", + "proc-log": "^3.0.0", + "promise-retry": "^2.0.1", + "read-package-json": "^6.0.0", + "read-package-json-fast": "^3.0.0", + "sigstore": "^1.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11" }, - "optionalDependencies": { - "nice-napi": "^1.0.2" + "bin": { + "pacote": "lib/bin.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "node_modules/pako": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz", + "integrity": "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==" + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, "dependencies": { - "find-up": "^3.0.0" + "callsites": "^3.0.0" }, "engines": { "node": ">=6" } }, - "node_modules/please-upgrade-node": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz", - "integrity": "sha512-KY1uHnQ2NlQHqIJQpnh/i54rKkuxCEBx+voJIS/Mvb+L2iYd2NMotwduhKTMjfC1uKoX3VXOxLjIYG66dfJTVQ==", + "node_modules/parent-module/node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "dev": true, - "dependencies": { - "semver-compare": "^1.0.0" + "engines": { + "node": ">=6" } }, - "node_modules/postcss": { - "version": "8.4.16", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.16.tgz", - "integrity": "sha512-ipHE1XBvKzm5xI7hiHCZJCSugxvsdq2mPnsq5+UF+VHCjiBvtDrlxJfMBToWaP9D5XlgNmcFGqoHmUn0EYEaRQ==", + "node_modules/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - } - ], "dependencies": { - "nanoid": "^3.3.4", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" }, "engines": { - "node": "^10 || ^12 || >=14" + "node": ">=4" } }, - "node_modules/postcss-attribute-case-insensitive": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/postcss-attribute-case-insensitive/-/postcss-attribute-case-insensitive-5.0.2.tgz", - "integrity": "sha512-XIidXV8fDr0kKt28vqki84fRK8VW8eTuIa4PChv2MqKuT6C9UjmSKzen6KaWhWEoYvwxFCa7n/tC1SZ3tyq4SQ==", + "node_modules/parse-node-version": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", + "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", "dev": true, - "dependencies": { - "postcss-selector-parser": "^6.0.10" - }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">= 0.10" } }, - "node_modules/postcss-clamp": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/postcss-clamp/-/postcss-clamp-4.1.0.tgz", - "integrity": "sha512-ry4b1Llo/9zz+PKC+030KUnPITTJAHeOwjfAyyB60eT0AorGLdzp52s31OsPRHRf8NchkgFoG2y6fCfn1IV1Ow==", + "node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", + "dev": true + }, + "node_modules/parse5-html-rewriting-stream": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5-html-rewriting-stream/-/parse5-html-rewriting-stream-7.0.0.tgz", + "integrity": "sha512-mazCyGWkmCRWDI15Zp+UiCqMp/0dgEmkZRvhlsqqKYr4SsVm/TvnSpD9fCvqCA2zoWJcfRym846ejWBBHRiYEg==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" - }, - "engines": { - "node": ">=7.6.0" + "entities": "^4.3.0", + "parse5": "^7.0.0", + "parse5-sax-parser": "^7.0.0" }, - "peerDependencies": { - "postcss": "^8.4.6" + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" } }, - "node_modules/postcss-color-functional-notation": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/postcss-color-functional-notation/-/postcss-color-functional-notation-4.2.4.tgz", - "integrity": "sha512-2yrTAUZUab9s6CpxkxC4rVgFEVaR6/2Pipvi6qcgvnYiVqZcbDHEoBDhrXzyb7Efh2CCfHQNtcqWcIruDTIUeg==", + "node_modules/parse5-html-rewriting-stream/node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", "dev": true, - "dependencies": { - "postcss-value-parser": "^4.2.0" - }, "engines": { - "node": "^12 || ^14 || >=16" + "node": ">=0.12" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "url": "https://github.com/fb55/entities?sponsor=1" } }, - "node_modules/postcss-color-hex-alpha": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/postcss-color-hex-alpha/-/postcss-color-hex-alpha-8.0.4.tgz", - "integrity": "sha512-nLo2DCRC9eE4w2JmuKgVA3fGL3d01kGq752pVALF68qpGLmx2Qrk91QTKkdUqqp45T1K1XV8IhQpcu1hoAQflQ==", + "node_modules/parse5-html-rewriting-stream/node_modules/parse5": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", + "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" - }, - "engines": { - "node": "^12 || ^14 || >=16" + "entities": "^4.4.0" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.4" + "url": "https://github.com/inikulin/parse5?sponsor=1" } }, - "node_modules/postcss-color-rebeccapurple": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/postcss-color-rebeccapurple/-/postcss-color-rebeccapurple-7.1.1.tgz", - "integrity": "sha512-pGxkuVEInwLHgkNxUc4sdg4g3py7zUeCQ9sMfwyHAT+Ezk8a4OaaVZ8lIY5+oNqA/BXXgLyXv0+5wHP68R79hg==", + "node_modules/parse5-htmlparser2-tree-adapter": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz", + "integrity": "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" - }, - "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "parse5": "^6.0.1" } }, - "node_modules/postcss-custom-media": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/postcss-custom-media/-/postcss-custom-media-8.0.2.tgz", - "integrity": "sha512-7yi25vDAoHAkbhAzX9dHx2yc6ntS4jQvejrNcC+csQJAXjj15e7VcWfMgLqBNAbOvqi5uIa9huOVwdHbf+sKqg==", + "node_modules/parse5-sax-parser": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-7.0.0.tgz", + "integrity": "sha512-5A+v2SNsq8T6/mG3ahcz8ZtQ0OUFTatxPbeidoMB7tkJSGDY3tdfl4MHovtLQHkEn5CGxijNWRQHhRQ6IRpXKg==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" - }, - "engines": { - "node": "^12 || ^14 || >=16" + "parse5": "^7.0.0" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.3" + "url": "https://github.com/inikulin/parse5?sponsor=1" } }, - "node_modules/postcss-custom-properties": { - "version": "12.1.11", - "resolved": "https://registry.npmjs.org/postcss-custom-properties/-/postcss-custom-properties-12.1.11.tgz", - "integrity": "sha512-0IDJYhgU8xDv1KY6+VgUwuQkVtmYzRwu+dMjnmdMafXYv86SWqfxkc7qdDvWS38vsjaEtv8e0vGOUQrAiMBLpQ==", + "node_modules/parse5-sax-parser/node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", "dev": true, - "dependencies": { - "postcss-value-parser": "^4.2.0" - }, "engines": { - "node": "^12 || ^14 || >=16" + "node": ">=0.12" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "url": "https://github.com/fb55/entities?sponsor=1" } }, - "node_modules/postcss-custom-selectors": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/postcss-custom-selectors/-/postcss-custom-selectors-6.0.3.tgz", - "integrity": "sha512-fgVkmyiWDwmD3JbpCmB45SvvlCD6z9CG6Ie6Iere22W5aHea6oWa7EM2bpnv2Fj3I94L3VbtvX9KqwSi5aFzSg==", + "node_modules/parse5-sax-parser/node_modules/parse5": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", + "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.4" - }, - "engines": { - "node": "^12 || ^14 || >=16" + "entities": "^4.4.0" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.3" + "url": "https://github.com/inikulin/parse5?sponsor=1" } }, - "node_modules/postcss-dir-pseudo-class": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/postcss-dir-pseudo-class/-/postcss-dir-pseudo-class-6.0.5.tgz", - "integrity": "sha512-eqn4m70P031PF7ZQIvSgy9RSJ5uI2171O/OO/zcRNYpJbvaeKFUlar1aJ7rmgiQtbm0FSPsRewjpdS0Oew7MPA==", + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", "dev": true, - "dependencies": { - "postcss-selector-parser": "^6.0.10" - }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">= 0.8" } }, - "node_modules/postcss-double-position-gradients": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/postcss-double-position-gradients/-/postcss-double-position-gradients-3.1.2.tgz", - "integrity": "sha512-GX+FuE/uBR6eskOK+4vkXgT6pDkexLokPaz/AbJna9s5Kzp/yl488pKPjhy0obB475ovfT1Wv8ho7U/cHNaRgQ==", + "node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", + "dev": true + }, + "node_modules/path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/path-scurry": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", + "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", "dev": true, "dependencies": { - "@csstools/postcss-progressive-custom-properties": "^1.1.0", - "postcss-value-parser": "^4.2.0" + "lru-cache": "^9.1.1 || ^10.0.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" }, "engines": { - "node": "^12 || ^14 || >=16" + "node": ">=16 || 14 >=14.17" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/postcss-env-function": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/postcss-env-function/-/postcss-env-function-4.0.6.tgz", - "integrity": "sha512-kpA6FsLra+NqcFnL81TnsU+Z7orGtDTxcOhl6pwXeEq1yFPpRMkCDpHhrz8CFQDr/Wfm0jLiNQ1OsGGPjlqPwA==", + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.0.tgz", + "integrity": "sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==", "dev": true, - "dependencies": { - "postcss-value-parser": "^4.2.0" - }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "peerDependencies": { - "postcss": "^8.4" + "node": "14 || >=16.14" } }, - "node_modules/postcss-focus-visible": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/postcss-focus-visible/-/postcss-focus-visible-6.0.4.tgz", - "integrity": "sha512-QcKuUU/dgNsstIK6HELFRT5Y3lbrMLEOwG+A4s5cA+fx3A3y/JTq3X9LaOj3OC3ALH0XqyrgQIgey/MIZ8Wczw==", + "node_modules/path-scurry/node_modules/minipass": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.2.tgz", + "integrity": "sha512-eL79dXrE1q9dBbDCLg7xfn/vl7MS4F1gvJAgjJrQli/jbQWdUttuVawphqpffoIYfRdq78LHx6GP4bU/EQ2ATA==", "dev": true, - "dependencies": { - "postcss-selector-parser": "^6.0.9" - }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "peerDependencies": { - "postcss": "^8.4" + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", + "dev": true + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, + "engines": { + "node": ">=8" } }, - "node_modules/postcss-focus-within": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/postcss-focus-within/-/postcss-focus-within-5.0.4.tgz", - "integrity": "sha512-vvjDN++C0mu8jz4af5d52CB184ogg/sSxAFS+oUJQq2SuCe7T5U2iIsVJtsCp2d6R4j0jr5+q3rPkBVZkXD9fQ==", + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true, - "dependencies": { - "postcss-selector-parser": "^6.0.9" - }, "engines": { - "node": "^12 || ^14 || >=16" + "node": ">=8.6" }, - "peerDependencies": { - "postcss": "^8.4" + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/postcss-font-variant": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-font-variant/-/postcss-font-variant-5.0.0.tgz", - "integrity": "sha512-1fmkBaCALD72CK2a9i468mA/+tr9/1cBxRRMXOUaZqO43oWPR5imcyPjXwuv7PXbCid4ndlP5zWhidQVVa3hmA==", + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", "dev": true, - "peerDependencies": { - "postcss": "^8.1.0" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/postcss-gap-properties": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/postcss-gap-properties/-/postcss-gap-properties-3.0.5.tgz", - "integrity": "sha512-IuE6gKSdoUNcvkGIqdtjtcMtZIFyXZhmFd5RUlg97iVEvp1BZKV5ngsAjCjrVy+14uhGBQl9tzmi1Qwq4kqVOg==", + "node_modules/pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", "dev": true, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=0.10.0" } }, - "node_modules/postcss-image-set-function": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/postcss-image-set-function/-/postcss-image-set-function-4.0.7.tgz", - "integrity": "sha512-9T2r9rsvYzm5ndsBE8WgtrMlIT7VbtTfE7b3BQnudUqnBcBo7L758oc+o+pdj/dUV0l5wjwSdjeOH2DZtfv8qw==", + "node_modules/pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" + "pinkie": "^2.0.0" }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" + "node": ">=0.10.0" + } + }, + "node_modules/piscina": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/piscina/-/piscina-3.2.0.tgz", + "integrity": "sha512-yn/jMdHRw+q2ZJhFhyqsmANcbF6V2QwmD84c6xRau+QpQOmtrBCoRGdvTfeuFDYXB5W2m6MfLkjkvQa9lUSmIA==", + "dev": true, + "dependencies": { + "eventemitter-asyncresource": "^1.0.0", + "hdr-histogram-js": "^2.0.1", + "hdr-histogram-percentiles-obj": "^3.0.0" }, - "peerDependencies": { - "postcss": "^8.2" + "optionalDependencies": { + "nice-napi": "^1.0.2" } }, - "node_modules/postcss-import": { - "version": "15.0.0", - "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.0.0.tgz", - "integrity": "sha512-Y20shPQ07RitgBGv2zvkEAu9bqvrD77C9axhj/aA1BQj4czape2MdClCExvB27EwYEJdGgKZBpKanb0t1rK2Kg==", + "node_modules/pkg-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.0.0", - "read-cache": "^1.0.0", - "resolve": "^1.1.7" + "find-up": "^3.0.0" }, "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "postcss": "^8.0.0" + "node": ">=6" } }, - "node_modules/postcss-initial": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-initial/-/postcss-initial-4.0.1.tgz", - "integrity": "sha512-0ueD7rPqX8Pn1xJIjay0AZeIuDoF+V+VvMt/uOnn+4ezUKhZM/NokDeP6DwMNyIoYByuN/94IQnt5FEkaN59xQ==", + "node_modules/please-upgrade-node": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz", + "integrity": "sha512-KY1uHnQ2NlQHqIJQpnh/i54rKkuxCEBx+voJIS/Mvb+L2iYd2NMotwduhKTMjfC1uKoX3VXOxLjIYG66dfJTVQ==", "dev": true, - "peerDependencies": { - "postcss": "^8.0.0" + "dependencies": { + "semver-compare": "^1.0.0" } }, - "node_modules/postcss-lab-function": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/postcss-lab-function/-/postcss-lab-function-4.2.1.tgz", - "integrity": "sha512-xuXll4isR03CrQsmxyz92LJB2xX9n+pZJ5jE9JgcnmsCammLyKdlzrBin+25dy6wIjfhJpKBAN80gsTlCgRk2w==", + "node_modules/postcss": { + "version": "8.4.21", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz", + "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + } + ], "dependencies": { - "@csstools/postcss-progressive-custom-properties": "^1.1.0", - "postcss-value-parser": "^4.2.0" + "nanoid": "^3.3.4", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": "^10 || ^12 || >=14" } }, "node_modules/postcss-loader": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-7.0.1.tgz", - "integrity": "sha512-VRviFEyYlLjctSM93gAZtcJJ/iSkPZ79zWbN/1fSH+NisBByEiVLqpdVDrPLVSi8DX0oJo12kL/GppTBdKVXiQ==", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-7.0.2.tgz", + "integrity": "sha512-fUJzV/QH7NXUAqV8dWJ9Lg4aTkDCezpTS5HgJ2DvqznexTbSTxgi/dTECvTZ15BwKTtk8G/bqI/QTu2HPd3ZCg==", "dev": true, "dependencies": { "cosmiconfig": "^7.0.0", "klona": "^2.0.5", - "semver": "^7.3.7" + "semver": "^7.3.8" }, "engines": { "node": ">= 14.15.0" @@ -12966,317 +13211,90 @@ "node": ">=8" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/postcss-loader/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-loader/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/postcss-logical": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/postcss-logical/-/postcss-logical-5.0.4.tgz", - "integrity": "sha512-RHXxplCeLh9VjinvMrZONq7im4wjWGlRJAqmAVLXyZaXwfDWP73/oq4NdIp+OZwhQUMj0zjqDfM5Fj7qby+B4g==", - "dev": true, - "engines": { - "node": "^12 || ^14 || >=16" - }, - "peerDependencies": { - "postcss": "^8.4" - } - }, - "node_modules/postcss-media-minmax": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-media-minmax/-/postcss-media-minmax-5.0.0.tgz", - "integrity": "sha512-yDUvFf9QdFZTuCUg0g0uNSHVlJ5X1lSzDZjPSFaiCWvjgsvu8vEVxtahPrLMinIDEEGnx6cBe6iqdx5YWz08wQ==", - "dev": true, - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/postcss-modules-extract-imports": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz", - "integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==", - "dev": true, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/postcss-modules-local-by-default": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.3.tgz", - "integrity": "sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA==", - "dev": true, - "dependencies": { - "icss-utils": "^5.0.0", - "postcss-selector-parser": "^6.0.2", - "postcss-value-parser": "^4.1.0" - }, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/postcss-modules-scope": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz", - "integrity": "sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==", - "dev": true, - "dependencies": { - "postcss-selector-parser": "^6.0.4" - }, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/postcss-modules-values": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", - "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", - "dev": true, - "dependencies": { - "icss-utils": "^5.0.0" - }, - "engines": { - "node": "^10 || ^12 || >= 14" - }, - "peerDependencies": { - "postcss": "^8.1.0" - } - }, - "node_modules/postcss-nesting": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-10.2.0.tgz", - "integrity": "sha512-EwMkYchxiDiKUhlJGzWsD9b2zvq/r2SSubcRrgP+jujMXFzqvANLt16lJANC+5uZ6hjI7lpRmI6O8JIl+8l1KA==", - "dev": true, - "dependencies": { - "@csstools/selector-specificity": "^2.0.0", - "postcss-selector-parser": "^6.0.10" - }, - "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/postcss-opacity-percentage": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/postcss-opacity-percentage/-/postcss-opacity-percentage-1.1.3.tgz", - "integrity": "sha512-An6Ba4pHBiDtyVpSLymUUERMo2cU7s+Obz6BTrS+gxkbnSBNKSuD0AVUc+CpBMrpVPKKfoVz0WQCX+Tnst0i4A==", + "node_modules/postcss-loader/node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true, - "funding": [ - { - "type": "kofi", - "url": "https://ko-fi.com/mrcgrtz" - }, - { - "type": "liberapay", - "url": "https://liberapay.com/mrcgrtz" - } - ], "engines": { - "node": "^12 || ^14 || >=16" - }, - "peerDependencies": { - "postcss": "^8.2" + "node": ">=4" } }, - "node_modules/postcss-overflow-shorthand": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/postcss-overflow-shorthand/-/postcss-overflow-shorthand-3.0.4.tgz", - "integrity": "sha512-otYl/ylHK8Y9bcBnPLo3foYFLL6a6Ak+3EQBPOTR7luMYCOsiVTUk1iLvNf6tVPNGXcoL9Hoz37kpfriRIFb4A==", + "node_modules/postcss-loader/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" - }, - "engines": { - "node": "^12 || ^14 || >=16" + "lru-cache": "^6.0.0" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" + "bin": { + "semver": "bin/semver.js" }, - "peerDependencies": { - "postcss": "^8.2" + "engines": { + "node": ">=10" } }, - "node_modules/postcss-page-break": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/postcss-page-break/-/postcss-page-break-3.0.4.tgz", - "integrity": "sha512-1JGu8oCjVXLa9q9rFTo4MbeeA5FMe00/9C7lN4va606Rdb+HkxXtXsmEDrIraQ11fGz/WvKWa8gMuCKkrXpTsQ==", + "node_modules/postcss-modules-extract-imports": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz", + "integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==", "dev": true, + "engines": { + "node": "^10 || ^12 || >= 14" + }, "peerDependencies": { - "postcss": "^8" + "postcss": "^8.1.0" } }, - "node_modules/postcss-place": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/postcss-place/-/postcss-place-7.0.5.tgz", - "integrity": "sha512-wR8igaZROA6Z4pv0d+bvVrvGY4GVHihBCBQieXFY3kuSuMyOmEnnfFzHl/tQuqHZkfkIVBEbDvYcFfHmpSet9g==", + "node_modules/postcss-modules-local-by-default": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.3.tgz", + "integrity": "sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA==", "dev": true, "dependencies": { - "postcss-value-parser": "^4.2.0" - }, - "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - }, - "peerDependencies": { - "postcss": "^8.2" - } - }, - "node_modules/postcss-preset-env": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/postcss-preset-env/-/postcss-preset-env-7.8.0.tgz", - "integrity": "sha512-leqiqLOellpLKfbHkD06E04P6d9ZQ24mat6hu4NSqun7WG0UhspHR5Myiv/510qouCjoo4+YJtNOqg5xHaFnCA==", - "dev": true, - "dependencies": { - "@csstools/postcss-cascade-layers": "^1.0.5", - "@csstools/postcss-color-function": "^1.1.1", - "@csstools/postcss-font-format-keywords": "^1.0.1", - "@csstools/postcss-hwb-function": "^1.0.2", - "@csstools/postcss-ic-unit": "^1.0.1", - "@csstools/postcss-is-pseudo-class": "^2.0.7", - "@csstools/postcss-nested-calc": "^1.0.0", - "@csstools/postcss-normalize-display-values": "^1.0.1", - "@csstools/postcss-oklab-function": "^1.1.1", - "@csstools/postcss-progressive-custom-properties": "^1.3.0", - "@csstools/postcss-stepped-value-functions": "^1.0.1", - "@csstools/postcss-text-decoration-shorthand": "^1.0.0", - "@csstools/postcss-trigonometric-functions": "^1.0.2", - "@csstools/postcss-unset-value": "^1.0.2", - "autoprefixer": "^10.4.8", - "browserslist": "^4.21.3", - "css-blank-pseudo": "^3.0.3", - "css-has-pseudo": "^3.0.4", - "css-prefers-color-scheme": "^6.0.3", - "cssdb": "^7.0.0", - "postcss-attribute-case-insensitive": "^5.0.2", - "postcss-clamp": "^4.1.0", - "postcss-color-functional-notation": "^4.2.4", - "postcss-color-hex-alpha": "^8.0.4", - "postcss-color-rebeccapurple": "^7.1.1", - "postcss-custom-media": "^8.0.2", - "postcss-custom-properties": "^12.1.8", - "postcss-custom-selectors": "^6.0.3", - "postcss-dir-pseudo-class": "^6.0.5", - "postcss-double-position-gradients": "^3.1.2", - "postcss-env-function": "^4.0.6", - "postcss-focus-visible": "^6.0.4", - "postcss-focus-within": "^5.0.4", - "postcss-font-variant": "^5.0.0", - "postcss-gap-properties": "^3.0.5", - "postcss-image-set-function": "^4.0.7", - "postcss-initial": "^4.0.1", - "postcss-lab-function": "^4.2.1", - "postcss-logical": "^5.0.4", - "postcss-media-minmax": "^5.0.0", - "postcss-nesting": "^10.1.10", - "postcss-opacity-percentage": "^1.1.2", - "postcss-overflow-shorthand": "^3.0.4", - "postcss-page-break": "^3.0.4", - "postcss-place": "^7.0.5", - "postcss-pseudo-class-any-link": "^7.1.6", - "postcss-replace-overflow-wrap": "^4.0.0", - "postcss-selector-not": "^6.0.1", - "postcss-value-parser": "^4.2.0" + "icss-utils": "^5.0.0", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.1.0" }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" + "node": "^10 || ^12 || >= 14" }, "peerDependencies": { - "postcss": "^8.2" + "postcss": "^8.1.0" } }, - "node_modules/postcss-pseudo-class-any-link": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/postcss-pseudo-class-any-link/-/postcss-pseudo-class-any-link-7.1.6.tgz", - "integrity": "sha512-9sCtZkO6f/5ML9WcTLcIyV1yz9D1rf0tWc+ulKcvV30s0iZKS/ONyETvoWsr6vnrmW+X+KmuK3gV/w5EWnT37w==", + "node_modules/postcss-modules-scope": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz", + "integrity": "sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.10" + "postcss-selector-parser": "^6.0.4" }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" + "node": "^10 || ^12 || >= 14" }, "peerDependencies": { - "postcss": "^8.2" + "postcss": "^8.1.0" } }, - "node_modules/postcss-replace-overflow-wrap": { + "node_modules/postcss-modules-values": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-replace-overflow-wrap/-/postcss-replace-overflow-wrap-4.0.0.tgz", - "integrity": "sha512-KmF7SBPphT4gPPcKZc7aDkweHiKEEO8cla/GjcBK+ckKxiZslIu3C4GCRW3DNfL0o7yW7kMQu9xlZ1kXRXLXtw==", - "dev": true, - "peerDependencies": { - "postcss": "^8.0.3" - } - }, - "node_modules/postcss-selector-not": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/postcss-selector-not/-/postcss-selector-not-6.0.1.tgz", - "integrity": "sha512-1i9affjAe9xu/y9uqWH+tD4r6/hDaXJruk8xn2x1vzxC2U3J3LKO3zJW4CyxlNhA56pADJ/djpEwpH1RClI2rQ==", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz", + "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==", "dev": true, "dependencies": { - "postcss-selector-parser": "^6.0.10" + "icss-utils": "^5.0.0" }, "engines": { - "node": "^12 || ^14 || >=16" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" + "node": "^10 || ^12 || >= 14" }, "peerDependencies": { - "postcss": "^8.2" + "postcss": "^8.1.0" } }, "node_modules/postcss-selector-parser": { @@ -13464,12 +13482,12 @@ "dev": true }, "node_modules/proc-log": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-2.0.1.tgz", - "integrity": "sha512-Kcmo2FhfDTXdcbfDH76N7uBYHINxc/8GW7UAVuVP9I+Va3uHSerrnKV6dLooga/gh7GlgzuCCr/eoldnL1muGw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz", + "integrity": "sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==", "dev": true, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/process-nextick-args": { @@ -13960,41 +13978,41 @@ "node": ">= 0.8" } }, - "node_modules/read-cache": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", - "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==", - "dev": true, - "dependencies": { - "pify": "^2.3.0" - } - }, "node_modules/read-package-json": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-5.0.2.tgz", - "integrity": "sha512-BSzugrt4kQ/Z0krro8zhTwV1Kd79ue25IhNN/VtHFy1mG/6Tluyi+msc0UpwaoQzxSHa28mntAjIZY6kEgfR9Q==", + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-6.0.4.tgz", + "integrity": "sha512-AEtWXYfopBj2z5N5PbkAOeNHRPUg5q+Nen7QLxV8M2zJq1ym6/lCz3fYNTCXe19puu2d06jfHhrP7v/S2PtMMw==", "dev": true, "dependencies": { - "glob": "^8.0.1", - "json-parse-even-better-errors": "^2.3.1", - "normalize-package-data": "^4.0.0", - "npm-normalize-package-bin": "^2.0.0" + "glob": "^10.2.2", + "json-parse-even-better-errors": "^3.0.0", + "normalize-package-data": "^5.0.0", + "npm-normalize-package-bin": "^3.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/read-package-json-fast": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz", - "integrity": "sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz", + "integrity": "sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==", "dev": true, "dependencies": { - "json-parse-even-better-errors": "^2.3.0", - "npm-normalize-package-bin": "^1.0.1" + "json-parse-even-better-errors": "^3.0.0", + "npm-normalize-package-bin": "^3.0.0" }, "engines": { - "node": ">=10" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json-fast/node_modules/json-parse-even-better-errors": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.0.tgz", + "integrity": "sha512-iZbGHafX/59r39gPwVPRBGw0QQKnA7tte5pSMrhWOW7swGsVvVTjmfyAV9pNqk8YGT7tRCdxRu8uzcgZwoDooA==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/read-package-json/node_modules/brace-expansion": { @@ -14007,58 +14025,73 @@ } }, "node_modules/read-package-json/node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "version": "10.3.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", + "integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==", "dev": true, "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/cjs/src/bin.js" }, "engines": { - "node": ">=12" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/read-package-json/node_modules/json-parse-even-better-errors": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.0.tgz", + "integrity": "sha512-iZbGHafX/59r39gPwVPRBGw0QQKnA7tte5pSMrhWOW7swGsVvVTjmfyAV9pNqk8YGT7tRCdxRu8uzcgZwoDooA==", + "dev": true, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, "node_modules/read-package-json/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=10" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-package-json/node_modules/minipass": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.2.tgz", + "integrity": "sha512-eL79dXrE1q9dBbDCLg7xfn/vl7MS4F1gvJAgjJrQli/jbQWdUttuVawphqpffoIYfRdq78LHx6GP4bU/EQ2ATA==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" } }, "node_modules/read-package-json/node_modules/normalize-package-data": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-4.0.1.tgz", - "integrity": "sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz", + "integrity": "sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q==", "dev": true, "dependencies": { - "hosted-git-info": "^5.0.0", + "hosted-git-info": "^6.0.0", "is-core-module": "^2.8.1", "semver": "^7.3.5", "validate-npm-package-license": "^3.0.4" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/read-package-json/node_modules/npm-normalize-package-bin": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/read-package-json/node_modules/semver": { @@ -14158,9 +14191,9 @@ } }, "node_modules/regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==", "dev": true }, "node_modules/regenerator-transform": { @@ -14178,6 +14211,23 @@ "integrity": "sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q==", "dev": true }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz", + "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "functions-have-names": "^1.2.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/regexpp": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", @@ -14470,15 +14520,6 @@ "npm": ">=2.0.0" } }, - "node_modules/rxjs-for-await": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/rxjs-for-await/-/rxjs-for-await-0.0.2.tgz", - "integrity": "sha512-IJ8R/ZCFMHOcDIqoABs82jal00VrZx8Xkgfe7TOKoaRPAW5nH/VFlG23bXpeGdrmtqI9UobFPgUKgCuFc7Lncw==", - "dev": true, - "peerDependencies": { - "rxjs": "^6.0.0" - } - }, "node_modules/rxjs/node_modules/tslib": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", @@ -14495,10 +14536,15 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "devOptional": true }, + "node_modules/safevalues": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/safevalues/-/safevalues-0.3.4.tgz", + "integrity": "sha512-LRneZZRXNgjzwG4bDQdOTSbze3fHm1EAKN/8bePxnlEZiBmkYEDggaHbuvHI9/hoqHbGfsEA7tWS9GhYHZBBsw==" + }, "node_modules/sass": { - "version": "1.54.4", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.4.tgz", - "integrity": "sha512-3tmF16yvnBwtlPrNBHw/H907j8MlOX8aTBnlNX1yrKx24RKcJGPyLhFUwkoKBKesR3unP93/2z14Ll8NicwQUA==", + "version": "1.58.1", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.58.1.tgz", + "integrity": "sha512-bnINi6nPXbP1XNRaranMFEBZWUfdW/AF16Ql5+ypRxfTvCRTTKrLsMIakyDcayUt2t/RZotmL4kgJwNH5xO+bg==", "dev": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0", @@ -14513,9 +14559,9 @@ } }, "node_modules/sass-loader": { - "version": "13.0.2", - "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-13.0.2.tgz", - "integrity": "sha512-BbiqbVmbfJaWVeOOAu2o7DhYWtcNmTfvroVgFXa6k2hHheMxNAeDHLNoDy/Q5aoaVlz0LH+MbMktKwm9vN/j8Q==", + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-13.2.0.tgz", + "integrity": "sha512-JWEp48djQA4nbZxmgC02/Wh0eroSUutulROUusYJO9P9zltRbNN80JCBHqRGzjd4cmZCa/r88xgfkjGD0TXsHg==", "dev": true, "dependencies": { "klona": "^2.0.4", @@ -14530,7 +14576,7 @@ }, "peerDependencies": { "fibers": ">= 3.1.0", - "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0", + "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0", "sass": "^1.3.0", "sass-embedded": "*", "webpack": "^5.0.0" @@ -14569,23 +14615,58 @@ "dev": true }, "node_modules/schema-utils": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", - "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", + "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", "dev": true, "dependencies": { - "@types/json-schema": "^7.0.5", - "ajv": "^6.12.4", - "ajv-keywords": "^3.5.2" + "@types/json-schema": "^7.0.9", + "ajv": "^8.9.0", + "ajv-formats": "^2.1.1", + "ajv-keywords": "^5.1.0" }, "engines": { - "node": ">= 8.9.0" + "node": ">= 12.13.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/webpack" } }, + "node_modules/schema-utils/node_modules/ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/schema-utils/node_modules/ajv-keywords": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", + "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.3" + }, + "peerDependencies": { + "ajv": "^8.8.2" + } + }, + "node_modules/schema-utils/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, "node_modules/select-hose": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", @@ -14882,6 +14963,24 @@ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "dev": true }, + "node_modules/sigstore": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-1.8.0.tgz", + "integrity": "sha512-ogU8qtQ3VFBawRJ8wjsBEX/vIFeHuGs1fm4jZtjWQwjo8pfAt7T/rh+udlAN4+QUe0IzA8qRSc/YZ7dHP6kh+w==", + "dev": true, + "dependencies": { + "@sigstore/bundle": "^1.0.0", + "@sigstore/protobuf-specs": "^0.2.0", + "@sigstore/tuf": "^1.0.3", + "make-fetch-happen": "^11.0.1" + }, + "bin": { + "sigstore": "bin/sigstore.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, "node_modules/slash": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", @@ -14998,9 +15097,9 @@ } }, "node_modules/source-map-loader": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-4.0.0.tgz", - "integrity": "sha512-i3KVgM3+QPAHNbGavK+VBq03YoJl24m9JWNbLgsjTj8aJzXG9M61bantBTNBt7CNwY2FYf+RJRYJ3pzalKjIrw==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/source-map-loader/-/source-map-loader-4.0.1.tgz", + "integrity": "sha512-oqXpzDIByKONVY8g1NUPOTQhe0UTU5bWUl32GSkqK2LjJj0HmwTMVKxcUip0RgAYhY1mqgOxjbQM48a0mmeNfA==", "dev": true, "dependencies": { "abab": "^2.0.6", @@ -15040,13 +15139,6 @@ "source-map": "^0.6.0" } }, - "node_modules/sourcemap-codec": { - "version": "1.4.8", - "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", - "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", - "deprecated": "Please use @jridgewell/sourcemap-codec instead", - "dev": true - }, "node_modules/spdx-correct": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", @@ -15153,19 +15245,28 @@ "sshpk-verify": "bin/sshpk-verify" }, "engines": { - "node": ">=0.10.0" + "node": ">=0.10.0" + } + }, + "node_modules/ssri": { + "version": "10.0.4", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.4.tgz", + "integrity": "sha512-12+IR2CB2C28MMAw0Ncqwj5QbTcs0nGIhgJzYWzDkb21vWmfNI83KS4f3Ci6GI98WreIfG7o9UXp3C0qbpA8nQ==", + "dev": true, + "dependencies": { + "minipass": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/ssri": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz", - "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==", + "node_modules/ssri/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", "dev": true, - "dependencies": { - "minipass": "^3.1.1" - }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=8" } }, "node_modules/statuses": { @@ -15177,6 +15278,18 @@ "node": ">= 0.6" } }, + "node_modules/stop-iteration-iterator": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz", + "integrity": "sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==", + "dev": true, + "dependencies": { + "internal-slot": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/stream": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/stream/-/stream-0.0.2.tgz", @@ -15352,75 +15465,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/stylus": { - "version": "0.59.0", - "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.59.0.tgz", - "integrity": "sha512-lQ9w/XIOH5ZHVNuNbWW8D822r+/wBSO/d6XvtyHLF7LW4KaCIDeVbvn5DF8fGCJAUCwVhVi/h6J0NUcnylUEjg==", - "dev": true, - "dependencies": { - "@adobe/css-tools": "^4.0.1", - "debug": "^4.3.2", - "glob": "^7.1.6", - "sax": "~1.2.4", - "source-map": "^0.7.3" - }, - "bin": { - "stylus": "bin/stylus" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://opencollective.com/stylus" - } - }, - "node_modules/stylus-loader": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/stylus-loader/-/stylus-loader-7.0.0.tgz", - "integrity": "sha512-WTbtLrNfOfLgzTaR9Lj/BPhQroKk/LC1hfTXSUbrxmxgfUo3Y3LpmKRVA2R1XbjvTAvOfaian9vOyfv1z99E+A==", - "dev": true, - "dependencies": { - "fast-glob": "^3.2.11", - "klona": "^2.0.5", - "normalize-path": "^3.0.0" - }, - "engines": { - "node": ">= 14.15.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "stylus": ">=0.52.4", - "webpack": "^5.0.0" - } - }, - "node_modules/stylus-loader/node_modules/fast-glob": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", - "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/stylus/node_modules/source-map": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", - "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, "node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -15489,6 +15533,30 @@ "node": ">=10" } }, + "node_modules/tar/node_modules/fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/tar/node_modules/fs-minipass/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/tar/node_modules/minipass": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", @@ -15511,9 +15579,9 @@ } }, "node_modules/terser": { - "version": "5.14.2", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.14.2.tgz", - "integrity": "sha512-oL0rGeM/WFQCUd0y2QrWxYnq7tfSuKBiqTjRPWrRgB46WD/kiwHwF8T23z78H6Q6kGCuuHcPB+KULHRdxvVGQA==", + "version": "5.16.3", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.16.3.tgz", + "integrity": "sha512-v8wWLaS/xt3nE9dgKEWhNUFP6q4kngO5B8eYFUuebsu7Dw/UNAnpUod6UHo04jSSkv8TzKHjZDSd7EXdDQAl8Q==", "dev": true, "dependencies": { "@jridgewell/source-map": "^0.3.2", @@ -15752,9 +15820,9 @@ "dev": true }, "node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", + "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" }, "node_modules/tslint": { "version": "6.1.3", @@ -15820,6 +15888,20 @@ "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==", "dev": true }, + "node_modules/tuf-js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-1.1.7.tgz", + "integrity": "sha512-i3P9Kgw3ytjELUfpuKVDNBJvk4u5bXL6gskv572mcevPbSKCV3zt3djhmlEQ65yERjIbOSncy7U4cQJaB1CBCg==", + "dev": true, + "dependencies": { + "@tufjs/models": "1.0.4", + "debug": "^4.3.4", + "make-fetch-happen": "^11.1.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, "node_modules/tunnel-agent": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", @@ -15954,21 +16036,27 @@ } }, "node_modules/unique-filename": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", - "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", + "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", "dev": true, "dependencies": { - "unique-slug": "^2.0.0" + "unique-slug": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/unique-slug": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", - "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", + "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", "dev": true, "dependencies": { "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/universalify": { @@ -16067,15 +16155,15 @@ } }, "node_modules/validate-npm-package-name": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz", + "integrity": "sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==", "dev": true, "dependencies": { "builtins": "^5.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/vary": { @@ -16278,85 +16366,32 @@ } }, "node_modules/webpack-dev-middleware": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz", - "integrity": "sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-6.0.1.tgz", + "integrity": "sha512-PZPZ6jFinmqVPJZbisfggDiC+2EeGZ1ZByyMP5sOFJcPPWSexalISz+cvm+j+oYPT7FIJyxT76esjnw9DhE5sw==", "dev": true, "dependencies": { "colorette": "^2.0.10", - "memfs": "^3.4.3", + "memfs": "^3.4.12", "mime-types": "^2.1.31", "range-parser": "^1.2.1", "schema-utils": "^4.0.0" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.15.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/webpack" }, "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/webpack-dev-middleware/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/webpack-dev-middleware/node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" - } - }, - "node_modules/webpack-dev-middleware/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "node_modules/webpack-dev-middleware/node_modules/schema-utils": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", - "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" - }, - "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" + "webpack": "^5.0.0" } }, "node_modules/webpack-dev-server": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.11.0.tgz", - "integrity": "sha512-L5S4Q2zT57SK7tazgzjMiSMBdsw+rGYIX27MgPgx7LDhWO0lViPrHKoLS7jo5In06PWYAhlYu3PbyoC6yAThbw==", + "version": "4.11.1", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.11.1.tgz", + "integrity": "sha512-lILVz9tAUy1zGFwieuaQtYiadImb5M3d+H+L1zDYalYoDl0cksAB1UNyuE5MMWJrG6zR1tXkCP2fitl7yoUJiw==", "dev": true, "dependencies": { "@types/bonjour": "^3.5.9", @@ -16382,7 +16417,7 @@ "p-retry": "^4.5.0", "rimraf": "^3.0.2", "schema-utils": "^4.0.0", - "selfsigned": "^2.0.1", + "selfsigned": "^2.1.1", "serve-index": "^1.9.1", "sockjs": "^0.3.24", "spdy": "^4.0.2", @@ -16408,40 +16443,6 @@ } } }, - "node_modules/webpack-dev-server/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/webpack-dev-server/node_modules/ajv-keywords": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-5.1.0.tgz", - "integrity": "sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==", - "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" - } - }, - "node_modules/webpack-dev-server/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, "node_modules/webpack-dev-server/node_modules/rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", @@ -16457,16 +16458,17 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/webpack-dev-server/node_modules/schema-utils": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-4.2.0.tgz", - "integrity": "sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==", + "node_modules/webpack-dev-server/node_modules/webpack-dev-middleware": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz", + "integrity": "sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==", "dev": true, "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" + "colorette": "^2.0.10", + "memfs": "^3.4.3", + "mime-types": "^2.1.31", + "range-parser": "^1.2.1", + "schema-utils": "^4.0.0" }, "engines": { "node": ">= 12.13.0" @@ -16474,6 +16476,9 @@ "funding": { "type": "opencollective", "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "webpack": "^4.0.0 || ^5.0.0" } }, "node_modules/webpack-merge": { @@ -16581,12 +16586,62 @@ "which": "bin/which" } }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-collection": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.1.tgz", + "integrity": "sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==", + "dev": true, + "dependencies": { + "is-map": "^2.0.1", + "is-set": "^2.0.1", + "is-weakmap": "^2.0.1", + "is-weakset": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/which-module": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", "dev": true }, + "node_modules/which-typed-array": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.11.tgz", + "integrity": "sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew==", + "dev": true, + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/wide-align": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", diff --git a/angular/package.json b/angular/package.json index 9d23e8e6..636dc8f5 100644 --- a/angular/package.json +++ b/angular/package.json @@ -14,16 +14,16 @@ }, "private": true, "dependencies": { - "@angular/animations": "^14.3.0", - "@angular/common": "^14.3.0", - "@angular/core": "^14.3.0", - "@angular/forms": "^14.3.0", - "@angular/material": "^14.2.7", - "@angular/platform-browser": "^14.3.0", - "@angular/platform-browser-dynamic": "^14.3.0", - "@angular/router": "^14.3.0", - "@ngx-translate/core": "^11.0.1", - "@ngx-translate/http-loader": "^4.0.0", + "@angular/animations": "^15.2.9", + "@angular/common": "^15.2.9", + "@angular/core": "^15.2.9", + "@angular/forms": "^15.2.9", + "@angular/material": "^15.2.9", + "@angular/platform-browser": "^15.2.9", + "@angular/platform-browser-dynamic": "^15.2.9", + "@angular/router": "^15.2.9", + "@ngx-translate/core": "^14.0.0", + "@ngx-translate/http-loader": "^7.0.0", "@types/jasmine": "^3.6.9", "@types/pako": "^1.0.3", "ace-builds": "^1.4.14", @@ -45,15 +45,15 @@ "zone.js": "^0.11.4" }, "devDependencies": { - "@angular-devkit/build-angular": "^14.2.12", - "@angular-eslint/builder": "13.0.0-alpha.1", - "@angular-eslint/eslint-plugin": "13.0.0-alpha.1", - "@angular-eslint/eslint-plugin-template": "13.0.0-alpha.1", - "@angular-eslint/schematics": "13.0.0-alpha.1", - "@angular-eslint/template-parser": "13.0.0-alpha.1", - "@angular/cli": "^14.2.12", - "@angular/compiler-cli": "^14.3.0", - "@angular/language-service": "^14.3.0", + "@angular-devkit/build-angular": "^15.2.9", + "@angular-eslint/builder": "^15.2.1", + "@angular-eslint/eslint-plugin": "^15.2.1", + "@angular-eslint/eslint-plugin-template": "^15.2.1", + "@angular-eslint/schematics": "^15.2.1", + "@angular-eslint/template-parser": "^15.2.1", + "@angular/cli": "^15.2.9", + "@angular/compiler-cli": "^15.2.9", + "@angular/language-service": "^15.2.9", "@types/debug": "^4.1.5", "@types/node": "^10.12.18", "@types/ramda": "^0.26.44", diff --git a/angular/src/app/app.component.spec.ts b/angular/src/app/app.component.spec.ts index ac84a851..986c72cb 100644 --- a/angular/src/app/app.component.spec.ts +++ b/angular/src/app/app.component.spec.ts @@ -3,7 +3,7 @@ import { NO_ERRORS_SCHEMA } from '@angular/core'; import { TestBed, waitForAsync } from '@angular/core/testing'; import { RouterModule, Routes } from '@angular/router'; import { AppComponent } from './app.component'; -import { MatMenuModule } from '@angular/material/menu'; +import { MatLegacyMenuModule as MatMenuModule } from '@angular/material/legacy-menu'; import { TranslateModule } from '@ngx-translate/core'; export const FHIR_JS_CONFIG: FhirConfig = { @@ -24,7 +24,6 @@ describe('AppComponent', () => { HttpClientTestingModule, RouterModule.forRoot(routes, { useHash: true, - relativeLinkResolution: 'legacy', }), ], schemas: [NO_ERRORS_SCHEMA], diff --git a/angular/src/app/app.module.ts b/angular/src/app/app.module.ts index 5ba62e8e..efc3426c 100644 --- a/angular/src/app/app.module.ts +++ b/angular/src/app/app.module.ts @@ -61,7 +61,6 @@ export function createTranslateLoader(http: HttpClient) { HighlightModule, RouterModule.forRoot(routes, { useHash: true, - relativeLinkResolution: 'legacy', }), TranslateModule.forRoot({ loader: { diff --git a/angular/src/app/mag/mag.component.ts b/angular/src/app/mag/mag.component.ts index 57efa499..9d37be78 100644 --- a/angular/src/app/mag/mag.component.ts +++ b/angular/src/app/mag/mag.component.ts @@ -6,7 +6,7 @@ import { FhirPathService } from '../fhirpath.service'; import { HttpClient, HttpHeaders } from '@angular/common/http'; import { v4 as uuidv4 } from 'uuid'; import { Base64 } from 'js-base64'; -import { MatTableDataSource } from '@angular/material/table'; +import { MatLegacyTableDataSource as MatTableDataSource } from '@angular/material/legacy-table'; import { OAuthErrorEvent, OAuthService } from 'angular-oauth2-oidc'; import { Router } from '@angular/router'; import { IDroppedBlob } from '../upload/upload.component'; diff --git a/angular/src/app/patients/patients.component.ts b/angular/src/app/patients/patients.component.ts index 49883499..e8d8249e 100644 --- a/angular/src/app/patients/patients.component.ts +++ b/angular/src/app/patients/patients.component.ts @@ -1,7 +1,7 @@ import { Component, OnInit } from '@angular/core'; import { FhirConfigService } from '../fhirConfig.service'; -import { PageEvent } from '@angular/material/paginator'; -import { MatTableDataSource } from '@angular/material/table'; +import { LegacyPageEvent as PageEvent } from '@angular/material/legacy-paginator'; +import { MatLegacyTableDataSource as MatTableDataSource } from '@angular/material/legacy-table'; import { UntypedFormControl } from '@angular/forms'; import { debounceTime, distinctUntilChanged } from 'rxjs/operators'; import FhirClient from 'fhir-kit-client'; diff --git a/angular/src/app/shared/shared.module.ts b/angular/src/app/shared/shared.module.ts index df240e46..dc984882 100644 --- a/angular/src/app/shared/shared.module.ts +++ b/angular/src/app/shared/shared.module.ts @@ -3,27 +3,27 @@ import { CommonModule } from '@angular/common'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { BrowserModule } from '@angular/platform-browser'; -import { MatAutocompleteModule } from '@angular/material/autocomplete'; -import { MatButtonModule } from '@angular/material/button'; -import { MatCardModule } from '@angular/material/card'; -import { MatCheckboxModule } from '@angular/material/checkbox'; +import { MatLegacyAutocompleteModule as MatAutocompleteModule } from '@angular/material/legacy-autocomplete'; +import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button'; +import { MatLegacyCardModule as MatCardModule } from '@angular/material/legacy-card'; +import { MatLegacyCheckboxModule as MatCheckboxModule } from '@angular/material/legacy-checkbox'; import { MatNativeDateModule } from '@angular/material/core'; import { MatDatepickerModule } from '@angular/material/datepicker'; import { MatDividerModule } from '@angular/material/divider'; -import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatLegacyFormFieldModule as MatFormFieldModule } from '@angular/material/legacy-form-field'; import { MatIconModule } from '@angular/material/icon'; -import { MatInputModule } from '@angular/material/input'; -import { MatMenuModule } from '@angular/material/menu'; -import { MatPaginatorModule } from '@angular/material/paginator'; -import { MatRadioModule } from '@angular/material/radio'; -import { MatSelectModule } from '@angular/material/select'; -import { MatSlideToggleModule } from '@angular/material/slide-toggle'; -import { MatSliderModule } from '@angular/material/slider'; -import { MatTableModule } from '@angular/material/table'; -import { MatTabsModule } from '@angular/material/tabs'; +import { MatLegacyInputModule as MatInputModule } from '@angular/material/legacy-input'; +import { MatLegacyMenuModule as MatMenuModule } from '@angular/material/legacy-menu'; +import { MatLegacyPaginatorModule as MatPaginatorModule } from '@angular/material/legacy-paginator'; +import { MatLegacyRadioModule as MatRadioModule } from '@angular/material/legacy-radio'; +import { MatLegacySelectModule as MatSelectModule } from '@angular/material/legacy-select'; +import { MatLegacySlideToggleModule as MatSlideToggleModule } from '@angular/material/legacy-slide-toggle'; +import { MatLegacySliderModule as MatSliderModule } from '@angular/material/legacy-slider'; +import { MatLegacyTableModule as MatTableModule } from '@angular/material/legacy-table'; +import { MatLegacyTabsModule as MatTabsModule } from '@angular/material/legacy-tabs'; import { MatToolbarModule } from '@angular/material/toolbar'; import { TranslateModule } from '@ngx-translate/core'; -import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; +import { MatLegacyProgressSpinnerModule as MatProgressSpinnerModule } from '@angular/material/legacy-progress-spinner'; const modulesToExport = [ CommonModule, diff --git a/angular/src/styles.scss b/angular/src/styles.scss index 3b340a5b..76a31d7e 100644 --- a/angular/src/styles.scss +++ b/angular/src/styles.scss @@ -2,8 +2,17 @@ @import 'variables'; @import '~highlight.js/styles/github.css'; -@include mat.core(); -@include mat.all-component-themes($theme); +// TODO(v15): As of v15 mat.legacy-core no longer includes default typography styles. +// The following line adds: +// 1. Default typography styles for all components +// 2. Styles for typography hierarchy classes (e.g. .mat-headline-1) +// If you specify typography styles for the components you use elsewhere, you should delete this line. +// If you don't need the default component typographies but still want the hierarchy styles, +// you can delete this line and instead use: +// `@include mat.legacy-typography-hierarchy(mat.define-legacy-typography-config());` +@include mat.all-legacy-component-typographies(); +@include mat.legacy-core(); +@include mat.all-legacy-component-themes($theme); body { background: #eff0e7; diff --git a/angular/src/test.ts b/angular/src/test.ts index 4f171283..ab2f8cd0 100644 --- a/angular/src/test.ts +++ b/angular/src/test.ts @@ -14,7 +14,6 @@ import { // Unfortunately there's no typing for the `__karma__` variable. Just declare it as any. declare const __karma__: any; -declare const require: any; // Prevent Karma from running prematurely. __karma__.loaded = function () {}; @@ -27,9 +26,5 @@ getTestBed().initTestEnvironment( teardown: { destroyAfterEach: false }, } ); -// Then we find all the tests. -const context = require.context('./', true, /\.spec\.ts$/); -// And load the modules. -context.keys().map(context); // Finally, start Karma to run the tests. __karma__.start(); diff --git a/angular/src/tsconfig.spec.json b/angular/src/tsconfig.spec.json index 8f2a815e..ffab26a1 100644 --- a/angular/src/tsconfig.spec.json +++ b/angular/src/tsconfig.spec.json @@ -4,7 +4,6 @@ "outDir": "../out-tsc/spec", "baseUrl": "./", "module": "commonjs", - "target": "es2020", "types": ["jasmine", "node"] }, "files": ["test.ts", "polyfills.ts"], diff --git a/angular/tsconfig.json b/angular/tsconfig.json index 275e7cf2..fd99da0c 100644 --- a/angular/tsconfig.json +++ b/angular/tsconfig.json @@ -8,7 +8,7 @@ "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, - "target": "es2020", + "target": "ES2022", "baseUrl": ".", "module": "commonjs", "esModuleInterop": true, @@ -17,7 +17,8 @@ "paths": { "*": ["node_modules/*", "src/types/*"] }, - "lib": ["es2017", "dom"] + "lib": ["es2017", "dom"], + "useDefineForClassFields": false }, "angularCompilerOptions": { "enableIvy": true From acdbedd7cea4e8abcab3863931e26632c46a7b72 Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Mon, 31 Jul 2023 10:49:06 +0200 Subject: [PATCH 08/29] Update to Angular 16 --- angular/package-lock.json | 4863 ++++++++++++++---------- angular/package.json | 46 +- angular/src/_variables.scss | 11 +- angular/src/app/app.module.ts | 2 +- angular/src/app/home/home.component.ts | 4 +- 5 files changed, 2791 insertions(+), 2135 deletions(-) diff --git a/angular/package-lock.json b/angular/package-lock.json index 5e1d7c34..ebe7d04c 100644 --- a/angular/package-lock.json +++ b/angular/package-lock.json @@ -9,16 +9,16 @@ "version": "2.5.54", "license": "MIT", "dependencies": { - "@angular/animations": "^15.2.9", - "@angular/common": "^15.2.9", - "@angular/core": "^15.2.9", - "@angular/forms": "^15.2.9", - "@angular/material": "^15.2.9", - "@angular/platform-browser": "^15.2.9", - "@angular/platform-browser-dynamic": "^15.2.9", - "@angular/router": "^15.2.9", - "@ngx-translate/core": "^14.0.0", - "@ngx-translate/http-loader": "^7.0.0", + "@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": "^3.6.9", "@types/pako": "^1.0.3", "ace-builds": "^1.4.14", @@ -31,24 +31,24 @@ "jasmine": "^3.7.0", "js-base64": "^3.7.2", "js-untar": "^2.0.0", - "ngx-highlightjs": "^4.1.3", + "ngx-highlightjs": "^10.0.0", "pako": "^2.0.4", - "rxjs": "^6.6.7", + "rxjs": "^7.8.1", "tslib": "^2.0.0", "uuid": "^8.3.2", "yarn": "^1.22.17", - "zone.js": "^0.11.4" + "zone.js": "^0.13.1" }, "devDependencies": { - "@angular-devkit/build-angular": "^15.2.9", - "@angular-eslint/builder": "^15.2.1", - "@angular-eslint/eslint-plugin": "^15.2.1", - "@angular-eslint/eslint-plugin-template": "^15.2.1", - "@angular-eslint/schematics": "^15.2.1", - "@angular-eslint/template-parser": "^15.2.1", - "@angular/cli": "^15.2.9", - "@angular/compiler-cli": "^15.2.9", - "@angular/language-service": "^15.2.9", + "@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.5", "@types/node": "^10.12.18", "@types/ramda": "^0.26.44", @@ -70,16 +70,16 @@ "protractor": "~7.0.0", "ts-node": "~7.0.1", "tslint": "~6.1.0", - "typescript": "~4.8.4" + "typescript": "~5.1.6" } }, "node_modules/@ampproject/remapping": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", - "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", + "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", "dev": true, "dependencies": { - "@jridgewell/gen-mapping": "^0.1.0", + "@jridgewell/gen-mapping": "^0.3.0", "@jridgewell/trace-mapping": "^0.3.9" }, "engines": { @@ -87,54 +87,55 @@ } }, "node_modules/@angular-devkit/architect": { - "version": "0.1502.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1502.9.tgz", - "integrity": "sha512-CFn+LbtYeLG7WqO+BBSjogl764StHpwgfJnNAXQ/3UouUktZ92z4lxhUm0PwIPb5k0lILsf81ubcS1vzwoXEEg==", + "version": "0.1601.6", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1601.6.tgz", + "integrity": "sha512-dY+/FNUNrOj+m4iG5/v8N0PfbDmjkjjoy/YkquRHS1yo7fGGDFNqji2552mbtjN6/LwyWDhOO7fxdqppadjnvA==", "dev": true, "dependencies": { - "@angular-devkit/core": "15.2.9", - "rxjs": "6.6.7" + "@angular-devkit/core": "16.1.6", + "rxjs": "7.8.1" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0", + "node": "^16.14.0 || >=18.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, "node_modules/@angular-devkit/build-angular": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-15.2.9.tgz", - "integrity": "sha512-djOo2Q22zLrxPccSbINz93hD+pES/nNPoze4Ys/0IdtMlLmxO/YGsA+FG5eNeNAf2jK/JRoNydaYOh7XpGoCzA==", - "dev": true, - "dependencies": { - "@ampproject/remapping": "2.2.0", - "@angular-devkit/architect": "0.1502.9", - "@angular-devkit/build-webpack": "0.1502.9", - "@angular-devkit/core": "15.2.9", - "@babel/core": "7.20.12", - "@babel/generator": "7.20.14", - "@babel/helper-annotate-as-pure": "7.18.6", - "@babel/helper-split-export-declaration": "7.18.6", + "version": "16.1.6", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-16.1.6.tgz", + "integrity": "sha512-IEC1tApX8/Qa/RIVmbj0nYbOQ5WGcrkGNJ7D42q4DkIo74XKPzxDRruJE1RCjdZsj8lf4CCCZgSOPBsEI8Zbdw==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "2.2.1", + "@angular-devkit/architect": "0.1601.6", + "@angular-devkit/build-webpack": "0.1601.6", + "@angular-devkit/core": "16.1.6", + "@babel/core": "7.22.5", + "@babel/generator": "7.22.7", + "@babel/helper-annotate-as-pure": "7.22.5", + "@babel/helper-split-export-declaration": "7.22.5", "@babel/plugin-proposal-async-generator-functions": "7.20.7", - "@babel/plugin-transform-async-to-generator": "7.20.7", - "@babel/plugin-transform-runtime": "7.19.6", - "@babel/preset-env": "7.20.2", - "@babel/runtime": "7.20.13", - "@babel/template": "7.20.7", + "@babel/plugin-transform-async-to-generator": "7.22.5", + "@babel/plugin-transform-runtime": "7.22.5", + "@babel/preset-env": "7.22.5", + "@babel/runtime": "7.22.5", + "@babel/template": "7.22.5", "@discoveryjs/json-ext": "0.5.7", - "@ngtools/webpack": "15.2.9", + "@ngtools/webpack": "16.1.6", + "@vitejs/plugin-basic-ssl": "1.0.1", "ansi-colors": "4.1.3", - "autoprefixer": "10.4.13", + "autoprefixer": "10.4.14", "babel-loader": "9.1.2", "babel-plugin-istanbul": "6.1.1", - "browserslist": "4.21.5", - "cacache": "17.0.4", + "browserslist": "^4.21.5", + "cacache": "17.1.3", "chokidar": "3.5.3", "copy-webpack-plugin": "11.0.0", - "critters": "0.0.16", - "css-loader": "6.7.3", - "esbuild-wasm": "0.17.8", - "glob": "8.1.0", + "critters": "0.0.19", + "css-loader": "6.8.1", + "esbuild-wasm": "0.17.19", + "fast-glob": "3.2.12", "https-proxy-agent": "5.0.1", "inquirer": "8.2.4", "jsonc-parser": "3.2.0", @@ -143,49 +144,54 @@ "less-loader": "11.1.0", "license-webpack-plugin": "4.0.2", "loader-utils": "3.2.1", - "magic-string": "0.29.0", - "mini-css-extract-plugin": "2.7.2", - "open": "8.4.1", + "magic-string": "0.30.0", + "mini-css-extract-plugin": "2.7.6", + "mrmime": "1.0.1", + "open": "8.4.2", "ora": "5.4.1", "parse5-html-rewriting-stream": "7.0.0", + "picomatch": "2.3.1", "piscina": "3.2.0", - "postcss": "8.4.21", - "postcss-loader": "7.0.2", + "postcss": "8.4.24", + "postcss-loader": "7.3.2", "resolve-url-loader": "5.0.0", - "rxjs": "6.6.7", - "sass": "1.58.1", - "sass-loader": "13.2.0", + "rxjs": "7.8.1", + "sass": "1.63.2", + "sass-loader": "13.3.1", "semver": "7.5.3", "source-map-loader": "4.0.1", "source-map-support": "0.5.21", - "terser": "5.16.3", + "terser": "5.17.7", "text-table": "0.2.0", "tree-kill": "1.2.2", - "tslib": "2.5.0", - "webpack": "5.76.1", - "webpack-dev-middleware": "6.0.1", - "webpack-dev-server": "4.11.1", - "webpack-merge": "5.8.0", + "tslib": "2.5.3", + "vite": "4.3.9", + "webpack": "5.86.0", + "webpack-dev-middleware": "6.1.1", + "webpack-dev-server": "4.15.0", + "webpack-merge": "5.9.0", "webpack-subresource-integrity": "5.1.0" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0", + "node": "^16.14.0 || >=18.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, "optionalDependencies": { - "esbuild": "0.17.8" + "esbuild": "0.17.19" }, "peerDependencies": { - "@angular/compiler-cli": "^15.0.0", - "@angular/localize": "^15.0.0", - "@angular/platform-server": "^15.0.0", - "@angular/service-worker": "^15.0.0", + "@angular/compiler-cli": "^16.0.0", + "@angular/localize": "^16.0.0", + "@angular/platform-server": "^16.0.0", + "@angular/service-worker": "^16.0.0", + "jest": "^29.5.0", + "jest-environment-jsdom": "^29.5.0", "karma": "^6.3.0", - "ng-packagr": "^15.0.0", + "ng-packagr": "^16.0.0", "protractor": "^7.0.0", "tailwindcss": "^2.0.0 || ^3.0.0", - "typescript": ">=4.8.2 <5.0" + "typescript": ">=4.9.3 <5.2" }, "peerDependenciesMeta": { "@angular/localize": { @@ -197,6 +203,12 @@ "@angular/service-worker": { "optional": true }, + "jest": { + "optional": true + }, + "jest-environment-jsdom": { + "optional": true + }, "karma": { "optional": true }, @@ -211,111 +223,52 @@ } } }, - "node_modules/@angular-devkit/build-angular/node_modules/@babel/core": { - "version": "7.20.12", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.20.12.tgz", - "integrity": "sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg==", - "dev": true, - "dependencies": { - "@ampproject/remapping": "^2.1.0", - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.20.7", - "@babel/helper-compilation-targets": "^7.20.7", - "@babel/helper-module-transforms": "^7.20.11", - "@babel/helpers": "^7.20.7", - "@babel/parser": "^7.20.7", - "@babel/template": "^7.20.7", - "@babel/traverse": "^7.20.12", - "@babel/types": "^7.20.7", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.2", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@angular-devkit/build-angular/node_modules/@babel/core/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, "node_modules/@angular-devkit/build-angular/node_modules/@babel/helper-split-export-declaration": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz", - "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.5.tgz", + "integrity": "sha512-thqK5QFghPKWLhAV321lxF95yCg2K3Ob5yw+M3VHWfdia0IkPXUtoLH8x/6Fh486QUvzhb8YOWHChTVen2/PoQ==", "dev": true, "dependencies": { - "@babel/types": "^7.18.6" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@angular-devkit/build-angular/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "node_modules/@angular-devkit/build-angular/node_modules/@types/node": { + "version": "20.4.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.5.tgz", + "integrity": "sha512-rt40Nk13II9JwQBdeYqmbn2Q6IVTA5uPhvSO+JVqdXw/6/4glI6oR9ezty/A9Hg5u7JH4OmYmuQ+XvjKm0Datg==", "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } + "optional": true, + "peer": true }, - "node_modules/@angular-devkit/build-angular/node_modules/browserslist": { - "version": "4.21.5", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.5.tgz", - "integrity": "sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==", + "node_modules/@angular-devkit/build-angular/node_modules/@vitejs/plugin-basic-ssl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.0.1.tgz", + "integrity": "sha512-pcub+YbFtFhaGRTo1832FQHQSHvMrlb43974e2eS8EKleR3p1cDdkJFPci1UhwkEf1J9Bz+wKBSzqpKp7nNj2A==", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - } - ], - "dependencies": { - "caniuse-lite": "^1.0.30001449", - "electron-to-chromium": "^1.4.284", - "node-releases": "^2.0.8", - "update-browserslist-db": "^1.0.10" - }, - "bin": { - "browserslist": "cli.js" - }, "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + "node": ">=14.6.0" + }, + "peerDependencies": { + "vite": "^3.0.0 || ^4.0.0" } }, - "node_modules/@angular-devkit/build-angular/node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "node_modules/@angular-devkit/build-angular/node_modules/fast-glob": { + "version": "3.2.12", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", + "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", "dev": true, "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" }, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "node": ">=8.6.0" } }, "node_modules/@angular-devkit/build-angular/node_modules/https-proxy-agent": { @@ -331,24 +284,6 @@ "node": ">= 6" } }, - "node_modules/@angular-devkit/build-angular/node_modules/jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true - }, - "node_modules/@angular-devkit/build-angular/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/@angular-devkit/build-angular/node_modules/semver": { "version": "7.5.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", @@ -364,17 +299,65 @@ "node": ">=10" } }, + "node_modules/@angular-devkit/build-angular/node_modules/vite": { + "version": "4.3.9", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.3.9.tgz", + "integrity": "sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==", + "dev": true, + "dependencies": { + "esbuild": "^0.17.5", + "postcss": "^8.4.23", + "rollup": "^3.21.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + }, + "peerDependencies": { + "@types/node": ">= 14", + "less": "*", + "sass": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "sass": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, "node_modules/@angular-devkit/build-webpack": { - "version": "0.1502.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1502.9.tgz", - "integrity": "sha512-VzMXoZjrbL1XlcSegqpZCBDbVvKFGPs3cKp4bXDD5ht95jcCyJPk5FA/wrh0pGGwbOF8ae/XOWFcPRzctC35iA==", + "version": "0.1601.6", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1601.6.tgz", + "integrity": "sha512-Uz/GjnhgAqSDPxrO4HP/tHNGPPZU3tEShtAVKyAypBl20bh2Aw1L5D+lCZi/Uq3Sh2JTPD9/M0ei2u9CMLhLDw==", "dev": true, "dependencies": { - "@angular-devkit/architect": "0.1502.9", - "rxjs": "6.6.7" + "@angular-devkit/architect": "0.1601.6", + "rxjs": "7.8.1" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0", + "node": "^16.14.0 || >=18.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, @@ -384,19 +367,19 @@ } }, "node_modules/@angular-devkit/core": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-15.2.9.tgz", - "integrity": "sha512-6u44YJ9tEG2hiWITL1rwA9yP6ot4a3cyN/UOMRkYSa/XO2Gz5/dM3U74E2kwg+P1NcxLXffBWl0rz8/Y/lSZyQ==", + "version": "16.1.6", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-16.1.6.tgz", + "integrity": "sha512-3OjtrPWvsqVkMBwqPeE65ccCIw56FooNpVVAJ0XwhVQv5mA81pmbCzU7JsR6U449ZT7O4cQblzZMQvWvx74HCg==", "dev": true, "dependencies": { "ajv": "8.12.0", "ajv-formats": "2.1.1", "jsonc-parser": "3.2.0", - "rxjs": "6.6.7", + "rxjs": "7.8.1", "source-map": "0.7.4" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0", + "node": "^16.14.0 || >=18.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, @@ -431,12 +414,6 @@ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", "dev": true }, - "node_modules/@angular-devkit/core/node_modules/jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true - }, "node_modules/@angular-devkit/core/node_modules/source-map": { "version": "0.7.4", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", @@ -447,53 +424,51 @@ } }, "node_modules/@angular-devkit/schematics": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-15.2.9.tgz", - "integrity": "sha512-o08nE8sTpfq/Fknrr1rzBsM8vY36BDox+8dOo9Zc/KqcVPwDy94YKRzHb+xxVaU9jy1VYeCjy63mkyELy7Z3zQ==", + "version": "16.1.6", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-16.1.6.tgz", + "integrity": "sha512-KA8P78gaS76HMHGBOM8JHJXWLOxCIShYVB2Un/Cu6z3jVODvXq+ILZUc1Y0RsAce/vsl2wf8qpoh5Lku9KJHUQ==", "dev": true, "dependencies": { - "@angular-devkit/core": "15.2.9", + "@angular-devkit/core": "16.1.6", "jsonc-parser": "3.2.0", - "magic-string": "0.29.0", + "magic-string": "0.30.0", "ora": "5.4.1", - "rxjs": "6.6.7" + "rxjs": "7.8.1" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0", + "node": "^16.14.0 || >=18.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, - "node_modules/@angular-devkit/schematics/node_modules/jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true - }, "node_modules/@angular-eslint/builder": { - "version": "15.2.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/builder/-/builder-15.2.1.tgz", - "integrity": "sha512-7x2DANebLRl997Mj4DhZrnz5+vnSjavGGveJ0mBuU7CEsL0ZYLftdRqL0e0HtU3ksseS7xpchD6OM08nkNgySw==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@angular-eslint/builder/-/builder-16.1.0.tgz", + "integrity": "sha512-KIkE2SI1twFKoCiF/k2VR3ojOcc7TD1xPyY4kbUrx/Gxp+XEzar7O29I/ztzL4eHPBM+Uh3/NwS/jvjjBxjgAg==", "dev": true, + "dependencies": { + "@nx/devkit": "16.5.1", + "nx": "16.5.1" + }, "peerDependencies": { "eslint": "^7.20.0 || ^8.0.0", "typescript": "*" } }, "node_modules/@angular-eslint/bundled-angular-compiler": { - "version": "15.2.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-15.2.1.tgz", - "integrity": "sha512-LO7Am8eVCr7oh6a0VmKSL7K03CnQEQhFO7Wt/YtbfYOxVjrbwmYLwJn+wZPOT7A02t/BttOD/WXuDrOWtSMQ/Q==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-16.1.0.tgz", + "integrity": "sha512-5EFAWXuFJADr3imo/ZYshY8s0K7U7wyysnE2LXnpT9PAi5rmkzt70UNZNRuamCbXr4tdIiu+fXWOj7tUuJKnnw==", "dev": true }, "node_modules/@angular-eslint/eslint-plugin": { - "version": "15.2.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin/-/eslint-plugin-15.2.1.tgz", - "integrity": "sha512-OM7b1kS4E4CkXjkaWN+lEzawh4VxY6l7FO1Cuk4s7iv3/YpZG3rJxIZBqnFLTixwrBuqw8y4FNBzF3eDgmFAUw==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin/-/eslint-plugin-16.1.0.tgz", + "integrity": "sha512-BFzzJJlgQgWc8avdSBkaDWAzNSUqcwWy0L1iZSBdXGoIOxj72kLbwe99emb8M+rUfCveljQkeM2pcYu8XLbJIA==", "dev": true, "dependencies": { - "@angular-eslint/utils": "15.2.1", - "@typescript-eslint/utils": "5.48.2" + "@angular-eslint/utils": "16.1.0", + "@typescript-eslint/utils": "5.62.0" }, "peerDependencies": { "eslint": "^7.20.0 || ^8.0.0", @@ -501,16 +476,16 @@ } }, "node_modules/@angular-eslint/eslint-plugin-template": { - "version": "15.2.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-15.2.1.tgz", - "integrity": "sha512-IeiSLk6YxapFdH2z5o/O3R7VwtBd2T6fWmhLFPwDYMDknrwegnOjwswCdBplOccpUp0wqlCeGUx7LTsuzwaz7w==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-16.1.0.tgz", + "integrity": "sha512-wQHWR5vqWGgO7mqoG5ixXeplIlz/OmxBJE9QMLPTZE8GdaTx8+F/5J37OWh84zCpD3mOa/FHYZxBDm2MfUmA1Q==", "dev": true, "dependencies": { - "@angular-eslint/bundled-angular-compiler": "15.2.1", - "@angular-eslint/utils": "15.2.1", - "@typescript-eslint/type-utils": "5.48.2", - "@typescript-eslint/utils": "5.48.2", - "aria-query": "5.1.3", + "@angular-eslint/bundled-angular-compiler": "16.1.0", + "@angular-eslint/utils": "16.1.0", + "@typescript-eslint/type-utils": "5.62.0", + "@typescript-eslint/utils": "5.62.0", + "aria-query": "5.3.0", "axobject-query": "3.1.1" }, "peerDependencies": { @@ -519,19 +494,21 @@ } }, "node_modules/@angular-eslint/schematics": { - "version": "15.2.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/schematics/-/schematics-15.2.1.tgz", - "integrity": "sha512-0ZfBCejHWIcgy3J5kFs9sS/jqi8i5AptxggOwFySOlCLJ+CzNrktjD4jff1Zy8K/VLzY0Ci0BSZXvgWfP0k9Rg==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@angular-eslint/schematics/-/schematics-16.1.0.tgz", + "integrity": "sha512-L1tmP3R2krHyveaRXAvn/SeDoBFNpS1VtPPrzZm1NYr1qPcAxf3NtG2nnoyVFu6WZGt59ZGHNQ/dZxnXvm0UGg==", "dev": true, "dependencies": { - "@angular-eslint/eslint-plugin": "15.2.1", - "@angular-eslint/eslint-plugin-template": "15.2.1", + "@angular-eslint/eslint-plugin": "16.1.0", + "@angular-eslint/eslint-plugin-template": "16.1.0", + "@nx/devkit": "16.5.1", "ignore": "5.2.4", + "nx": "16.5.1", "strip-json-comments": "3.1.1", "tmp": "0.2.1" }, "peerDependencies": { - "@angular/cli": ">= 15.0.0 < 16.0.0" + "@angular/cli": ">= 16.0.0 < 17.0.0" } }, "node_modules/@angular-eslint/schematics/node_modules/ignore": { @@ -544,12 +521,12 @@ } }, "node_modules/@angular-eslint/template-parser": { - "version": "15.2.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-15.2.1.tgz", - "integrity": "sha512-ViCi79gC2aKJecmYLkOT+QlT5WMRNXeYz0Dr9Pr8qXzIbY0oAWE7nOT5jkXwQ9oUk+ybtGCWHma5JVJWVJsIog==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-16.1.0.tgz", + "integrity": "sha512-DOQtzVehtbO7+BQ+FMOXRsxGRjHb3ve6M+S4qASKTiI+twtONjRODcHezD3N4PDkjpKPbOnk7YnFsHur5csUNw==", "dev": true, "dependencies": { - "@angular-eslint/bundled-angular-compiler": "15.2.1", + "@angular-eslint/bundled-angular-compiler": "16.1.0", "eslint-scope": "^7.0.0" }, "peerDependencies": { @@ -583,13 +560,13 @@ } }, "node_modules/@angular-eslint/utils": { - "version": "15.2.1", - "resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-15.2.1.tgz", - "integrity": "sha512-++FneAJHxJqcSu0igVN6uOkSoHxlzgLoMBswuovYJy3UKwm33/T6WFku8++753Ca/JucIoR1gdUfO7SoSspMDg==", + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-16.1.0.tgz", + "integrity": "sha512-u5XscYUq1F/7RuwyVIV2a280QL27lyQz434VYR+Np/oO21NGj5jxoRKb55xhXT9EFVs5Sy4JYeEUp6S75J/cUw==", "dev": true, "dependencies": { - "@angular-eslint/bundled-angular-compiler": "15.2.1", - "@typescript-eslint/utils": "5.48.2" + "@angular-eslint/bundled-angular-compiler": "16.1.0", + "@typescript-eslint/utils": "5.62.0" }, "peerDependencies": { "eslint": "^7.20.0 || ^8.0.0", @@ -597,23 +574,23 @@ } }, "node_modules/@angular/animations": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-15.2.9.tgz", - "integrity": "sha512-GQujLhI0cQFcl4Q8y0oSYKSRnW23GIeSL+Arl4eFufziJ9hGAAQNuesaNs/7i+9UlTHDMkPH3kd5ScXuYYz6wg==", + "version": "16.1.7", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-16.1.7.tgz", + "integrity": "sha512-+fMLwUlHLNsHWzX2cnsr4sMyix0R5v/a5srQTQjl6BYhdyqFgT82h5F4P49yFu+nZr0jdsxF012wPJbDRR+1qQ==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0" + "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/core": "15.2.9" + "@angular/core": "16.1.7" } }, "node_modules/@angular/cdk": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-15.2.9.tgz", - "integrity": "sha512-koaM07N1AIQ5oHU27l0/FoQSSoYAwlAYwVZ4Di3bYrJsTBNCN2Xsby7wI8gZxdepMnV4Fe9si382BDBov+oO4Q==", + "version": "16.1.6", + "resolved": "https://registry.npmjs.org/@angular/cdk/-/cdk-16.1.6.tgz", + "integrity": "sha512-ICwX3OyxmVotlhzlkvilvfZz32y9RXvUAaVtPsU1i20orgQBOMp+JGdP/vahLjTQRioUus834Wh6bu0KdHjCEg==", "peer": true, "dependencies": { "tslib": "^2.3.0" @@ -622,67 +599,41 @@ "parse5": "^7.1.2" }, "peerDependencies": { - "@angular/common": "^15.0.0 || ^16.0.0", - "@angular/core": "^15.0.0 || ^16.0.0", + "@angular/common": "^16.0.0 || ^17.0.0", + "@angular/core": "^16.0.0 || ^17.0.0", "rxjs": "^6.5.3 || ^7.4.0" } }, - "node_modules/@angular/cdk/node_modules/entities": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", - "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "optional": true, - "peer": true, - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/@angular/cdk/node_modules/parse5": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", - "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", - "optional": true, - "peer": true, - "dependencies": { - "entities": "^4.4.0" - }, - "funding": { - "url": "https://github.com/inikulin/parse5?sponsor=1" - } - }, "node_modules/@angular/cli": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-15.2.9.tgz", - "integrity": "sha512-mI6hkGyIJDKd8MRiBl3p5chsUhgnluwmpsq3g1FFPw+wv+eXsPYgCiHqXS/OsK+shFxii9XMxoZQO28bJ4NAOQ==", + "version": "16.1.6", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-16.1.6.tgz", + "integrity": "sha512-yXVgUKMXxlAHkhc6xk3ljR7TXpMLBykyu8do+ooSP08VKEQnWjTdVgrcOHd0n5w9YHXUQgBSmjDKxtQaBmvyZQ==", "dev": true, "dependencies": { - "@angular-devkit/architect": "0.1502.9", - "@angular-devkit/core": "15.2.9", - "@angular-devkit/schematics": "15.2.9", - "@schematics/angular": "15.2.9", + "@angular-devkit/architect": "0.1601.6", + "@angular-devkit/core": "16.1.6", + "@angular-devkit/schematics": "16.1.6", + "@schematics/angular": "16.1.6", "@yarnpkg/lockfile": "1.1.0", "ansi-colors": "4.1.3", - "ini": "3.0.1", + "ini": "4.1.1", "inquirer": "8.2.4", "jsonc-parser": "3.2.0", "npm-package-arg": "10.1.0", "npm-pick-manifest": "8.0.1", - "open": "8.4.1", + "open": "8.4.2", "ora": "5.4.1", - "pacote": "15.1.0", - "resolve": "1.22.1", + "pacote": "15.2.0", + "resolve": "1.22.2", "semver": "7.5.3", "symbol-observable": "4.0.0", - "yargs": "17.6.2" + "yargs": "17.7.2" }, "bin": { "ng": "bin/ng.js" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0", + "node": "^16.14.0 || >=18.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } @@ -702,20 +653,14 @@ } }, "node_modules/@angular/cli/node_modules/ini": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ini/-/ini-3.0.1.tgz", - "integrity": "sha512-it4HyVAUTKBc6m8e1iXWvXSTdndF7HbdN713+kvLrymxTaU4AUBWrJ4vEooP+V7fexnVD3LKcBshjGGPefSMUQ==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz", + "integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==", "dev": true, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@angular/cli/node_modules/jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true - }, "node_modules/@angular/cli/node_modules/semver": { "version": "7.5.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", @@ -741,9 +686,9 @@ } }, "node_modules/@angular/cli/node_modules/yargs": { - "version": "17.6.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.2.tgz", - "integrity": "sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==", + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", "dev": true, "dependencies": { "cliui": "^8.0.1", @@ -768,33 +713,33 @@ } }, "node_modules/@angular/common": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-15.2.9.tgz", - "integrity": "sha512-LM9/UHG2dRrOzlu2KovrFwWIziFMjRxHzSP3Igw6Symw/wIl0kXGq8Fn6RpFP78zmLqnv+IQOoRiby9MCXsI4g==", + "version": "16.1.7", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-16.1.7.tgz", + "integrity": "sha512-7WwYwtJjuJtUkutB+aMCvtV5zxa43T4x+kqT+kS4KnUmLv5KdrGPxcS+/7YUuKEELWp1SG032UTwGPX0DXxH4g==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0" + "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/core": "15.2.9", + "@angular/core": "16.1.7", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/compiler": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-15.2.9.tgz", - "integrity": "sha512-MoKugbjk+E0wRBj12uvIyDLELlVLonnqjA2+XiF+7FxALIeyds3/qQeEoMmYIqAbN3NnTT5pV92RxWwG4tHFwA==", + "version": "16.1.7", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-16.1.7.tgz", + "integrity": "sha512-93nbMFPSpKNfUyuRvEQxPdYLU6g25oZ4Gp7ewzNLyDHIbTQv6FwsthHfgPigPJJUUyKak6Gr3koFsgk7Dl3LAA==", "peer": true, "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0" + "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/core": "15.2.9" + "@angular/core": "16.1.7" }, "peerDependenciesMeta": { "@angular/core": { @@ -803,17 +748,15 @@ } }, "node_modules/@angular/compiler-cli": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-15.2.9.tgz", - "integrity": "sha512-zsbI8G2xHOeYWI0hjFzrI//ZhZV9il/uQW5dAimfwJp06KZDeXZ3PdwY9JQslf6F+saLwOObxy6QMrIVvfjy9w==", + "version": "16.1.7", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-16.1.7.tgz", + "integrity": "sha512-6iuogfVrbCh6o4hWbNCClsLQdLtlXiaNc72LGz5LMXI0TOwKVlRXhbzhiQeLS0/nsYIdHFbgyr1aepI2wQA3mQ==", "dev": true, "dependencies": { - "@babel/core": "7.19.3", + "@babel/core": "7.22.5", "@jridgewell/sourcemap-codec": "^1.4.14", "chokidar": "^3.0.0", "convert-source-map": "^1.5.1", - "dependency-graph": "^0.11.0", - "magic-string": "^0.27.0", "reflect-metadata": "^0.1.2", "semver": "^7.0.0", "tslib": "^2.3.0", @@ -822,14 +765,14 @@ "bin": { "ng-xi18n": "bundles/src/bin/ng_xi18n.js", "ngc": "bundles/src/bin/ngc.js", - "ngcc": "bundles/ngcc/main-ngcc.js" + "ngcc": "bundles/ngcc/index.js" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0" + "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/compiler": "15.2.9", - "typescript": ">=4.8.2 <5.0" + "@angular/compiler": "16.1.7", + "typescript": ">=4.9.3 <5.2" } }, "node_modules/@angular/compiler-cli/node_modules/cliui": { @@ -846,18 +789,6 @@ "node": ">=12" } }, - "node_modules/@angular/compiler-cli/node_modules/magic-string": { - "version": "0.27.0", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz", - "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==", - "dev": true, - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.13" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@angular/compiler-cli/node_modules/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", @@ -910,124 +841,124 @@ } }, "node_modules/@angular/core": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-15.2.9.tgz", - "integrity": "sha512-w46Z1yUXCQfKV7XfnamOoLA2VD0MVUUYVrUjO73mHSskDXSXxfZAEHO9kfUS71Cj35PvhP3mbkqWscpea2WeYg==", + "version": "16.1.7", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-16.1.7.tgz", + "integrity": "sha512-Wl5BR9X1xnV7Z9v/MNVANhymuTKAuRv4etr4rRgaC5NbbJSuFM4y+mg4yVI4wmrYJo0gKRcV9+2mHaePr41fTg==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0" + "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { "rxjs": "^6.5.3 || ^7.4.0", - "zone.js": "~0.11.4 || ~0.12.0 || ~0.13.0" + "zone.js": "~0.13.0" } }, "node_modules/@angular/forms": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-15.2.9.tgz", - "integrity": "sha512-sk0pC2EFi2Ohg5J0q0NYptbT+2WOkoiERSMYA39ncDvlSZBWsNlxpkbGUSck7NIxjK2QfcVN1ldGbHlZTFvtqg==", + "version": "16.1.7", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-16.1.7.tgz", + "integrity": "sha512-AZ6oCIAS2JwH7rJiTOj2uKl1eykiDP98y0trgQ/42+zzpOQZyZAjXrtdqHkVUXMc1PFf5NmYioz19Muj1p+Ttg==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0" + "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/common": "15.2.9", - "@angular/core": "15.2.9", - "@angular/platform-browser": "15.2.9", + "@angular/common": "16.1.7", + "@angular/core": "16.1.7", + "@angular/platform-browser": "16.1.7", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/language-service": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-15.2.9.tgz", - "integrity": "sha512-B7lP4q/eHge2lZezOXS96EYzVf4stMCWfOnz7+pUUi0HbF+A5QCV65SWQddS/M+NM2jj8N2L/j+6UCH8lJjTQA==", + "version": "16.1.7", + "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-16.1.7.tgz", + "integrity": "sha512-BBqT8ETBu1JtNZQS5Vs8e/Ru5UQKuNf2W4TGsWJVHFKdsjaghryG4NZQPXaYERDjU3k/64dZjcFNgzhP96LlZA==", "dev": true, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0" + "node": "^16.14.0 || >=18.10.0" } }, "node_modules/@angular/material": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular/material/-/material-15.2.9.tgz", - "integrity": "sha512-emuFF/7+91Jq+6kVCl3FiVoFLtAZoh+woFQWNuK8nhx0HmD4ckLFI8d9a6ERYR3zRuKhq5deSRE2kYsfpjrrsQ==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/auto-init": "15.0.0-canary.684e33d25.0", - "@material/banner": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/button": "15.0.0-canary.684e33d25.0", - "@material/card": "15.0.0-canary.684e33d25.0", - "@material/checkbox": "15.0.0-canary.684e33d25.0", - "@material/chips": "15.0.0-canary.684e33d25.0", - "@material/circular-progress": "15.0.0-canary.684e33d25.0", - "@material/data-table": "15.0.0-canary.684e33d25.0", - "@material/density": "15.0.0-canary.684e33d25.0", - "@material/dialog": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/drawer": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/fab": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/floating-label": "15.0.0-canary.684e33d25.0", - "@material/form-field": "15.0.0-canary.684e33d25.0", - "@material/icon-button": "15.0.0-canary.684e33d25.0", - "@material/image-list": "15.0.0-canary.684e33d25.0", - "@material/layout-grid": "15.0.0-canary.684e33d25.0", - "@material/line-ripple": "15.0.0-canary.684e33d25.0", - "@material/linear-progress": "15.0.0-canary.684e33d25.0", - "@material/list": "15.0.0-canary.684e33d25.0", - "@material/menu": "15.0.0-canary.684e33d25.0", - "@material/menu-surface": "15.0.0-canary.684e33d25.0", - "@material/notched-outline": "15.0.0-canary.684e33d25.0", - "@material/radio": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/segmented-button": "15.0.0-canary.684e33d25.0", - "@material/select": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/slider": "15.0.0-canary.684e33d25.0", - "@material/snackbar": "15.0.0-canary.684e33d25.0", - "@material/switch": "15.0.0-canary.684e33d25.0", - "@material/tab": "15.0.0-canary.684e33d25.0", - "@material/tab-bar": "15.0.0-canary.684e33d25.0", - "@material/tab-indicator": "15.0.0-canary.684e33d25.0", - "@material/tab-scroller": "15.0.0-canary.684e33d25.0", - "@material/textfield": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tooltip": "15.0.0-canary.684e33d25.0", - "@material/top-app-bar": "15.0.0-canary.684e33d25.0", - "@material/touch-target": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "16.1.6", + "resolved": "https://registry.npmjs.org/@angular/material/-/material-16.1.6.tgz", + "integrity": "sha512-PhfwqWN6cCiKCN2B1hUqrg3uwHC3ZwiCndJ/2CWEwEC824aOdf2b2ifTXZdtGbP3bFTkURkfvwfJVle4j/fbHw==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/auto-init": "15.0.0-canary.b994146f6.0", + "@material/banner": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/button": "15.0.0-canary.b994146f6.0", + "@material/card": "15.0.0-canary.b994146f6.0", + "@material/checkbox": "15.0.0-canary.b994146f6.0", + "@material/chips": "15.0.0-canary.b994146f6.0", + "@material/circular-progress": "15.0.0-canary.b994146f6.0", + "@material/data-table": "15.0.0-canary.b994146f6.0", + "@material/density": "15.0.0-canary.b994146f6.0", + "@material/dialog": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/drawer": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/fab": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/floating-label": "15.0.0-canary.b994146f6.0", + "@material/form-field": "15.0.0-canary.b994146f6.0", + "@material/icon-button": "15.0.0-canary.b994146f6.0", + "@material/image-list": "15.0.0-canary.b994146f6.0", + "@material/layout-grid": "15.0.0-canary.b994146f6.0", + "@material/line-ripple": "15.0.0-canary.b994146f6.0", + "@material/linear-progress": "15.0.0-canary.b994146f6.0", + "@material/list": "15.0.0-canary.b994146f6.0", + "@material/menu": "15.0.0-canary.b994146f6.0", + "@material/menu-surface": "15.0.0-canary.b994146f6.0", + "@material/notched-outline": "15.0.0-canary.b994146f6.0", + "@material/radio": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/segmented-button": "15.0.0-canary.b994146f6.0", + "@material/select": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/slider": "15.0.0-canary.b994146f6.0", + "@material/snackbar": "15.0.0-canary.b994146f6.0", + "@material/switch": "15.0.0-canary.b994146f6.0", + "@material/tab": "15.0.0-canary.b994146f6.0", + "@material/tab-bar": "15.0.0-canary.b994146f6.0", + "@material/tab-indicator": "15.0.0-canary.b994146f6.0", + "@material/tab-scroller": "15.0.0-canary.b994146f6.0", + "@material/textfield": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tooltip": "15.0.0-canary.b994146f6.0", + "@material/top-app-bar": "15.0.0-canary.b994146f6.0", + "@material/touch-target": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.3.0" }, "peerDependencies": { - "@angular/animations": "^15.0.0 || ^16.0.0", - "@angular/cdk": "15.2.9", - "@angular/common": "^15.0.0 || ^16.0.0", - "@angular/core": "^15.0.0 || ^16.0.0", - "@angular/forms": "^15.0.0 || ^16.0.0", - "@angular/platform-browser": "^15.0.0 || ^16.0.0", + "@angular/animations": "^16.0.0 || ^17.0.0", + "@angular/cdk": "16.1.6", + "@angular/common": "^16.0.0 || ^17.0.0", + "@angular/core": "^16.0.0 || ^17.0.0", + "@angular/forms": "^16.0.0 || ^17.0.0", + "@angular/platform-browser": "^16.0.0 || ^17.0.0", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/platform-browser": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-15.2.9.tgz", - "integrity": "sha512-ufCHeSX+U6d43YOMkn3igwfqtlozoCXADcbyfUEG8m2y9XASobqmCKvdSk/zfl62oyiA8msntWBJVBE2l4xKXg==", + "version": "16.1.7", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-16.1.7.tgz", + "integrity": "sha512-AjdUUv5+v50cclHPsKVVdNRdCQZJMGNKmvxyLgeGj2hs61lGoJxBYcYqPre2PpM0SvezNJBreUvjwqM3ttOjng==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0" + "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/animations": "15.2.9", - "@angular/common": "15.2.9", - "@angular/core": "15.2.9" + "@angular/animations": "16.1.7", + "@angular/common": "16.1.7", + "@angular/core": "16.1.7" }, "peerDependenciesMeta": { "@angular/animations": { @@ -1036,36 +967,36 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-15.2.9.tgz", - "integrity": "sha512-ZIYDM6MShblb8OyV1m4+18lJJ2LCeICmeg2uSbpFYptYBSOClrTiYOOFVDJvn7HLvNzljLs16XPrgyaYVqNpcw==", + "version": "16.1.7", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-16.1.7.tgz", + "integrity": "sha512-xoT4wDl7Kurg2N5gcLNmkvqYx14xnYwa2Zm1ZIOM7kYMRXiAg1+XBzaxFXog0fCCs/lqUKUwaNn32YpLKwMNaw==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0" + "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/common": "15.2.9", - "@angular/compiler": "15.2.9", - "@angular/core": "15.2.9", - "@angular/platform-browser": "15.2.9" + "@angular/common": "16.1.7", + "@angular/compiler": "16.1.7", + "@angular/core": "16.1.7", + "@angular/platform-browser": "16.1.7" } }, "node_modules/@angular/router": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-15.2.9.tgz", - "integrity": "sha512-UCbh5DLSDhybv0xKYT7kGQMfOVdyhHIHOZz5EYVebbhste6S+W1LE57vTHq7QtxJsyKBa/WSkaUkCLXD6ntCAg==", + "version": "16.1.7", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-16.1.7.tgz", + "integrity": "sha512-nzjuAEAXLktA3puvSae54noAHEiuizNTvaOpuvQYHfvZF27QMW28XlC33+vDhckWjSD02K7Fb2+AELkOJhUM5Q==", "dependencies": { "tslib": "^2.3.0" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0" + "node": "^16.14.0 || >=18.10.0" }, "peerDependencies": { - "@angular/common": "15.2.9", - "@angular/core": "15.2.9", - "@angular/platform-browser": "15.2.9", + "@angular/common": "16.1.7", + "@angular/core": "16.1.7", + "@angular/platform-browser": "16.1.7", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -1097,25 +1028,25 @@ } }, "node_modules/@babel/core": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.19.3.tgz", - "integrity": "sha512-WneDJxdsjEvyKtXKsaBGbDeiyOjR5vYq4HcShxnIbG0qixpoHjI3MqeZM9NDvsojNCEBItQE4juOo/bU6e72gQ==", - "dev": true, - "dependencies": { - "@ampproject/remapping": "^2.1.0", - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.19.3", - "@babel/helper-compilation-targets": "^7.19.3", - "@babel/helper-module-transforms": "^7.19.0", - "@babel/helpers": "^7.19.0", - "@babel/parser": "^7.19.3", - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.3", - "@babel/types": "^7.19.3", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.22.5.tgz", + "integrity": "sha512-SBuTAjg91A3eKOvD+bPEz3LlhHZRNu1nFOVts9lzDJTXshHTjII0BAtDS3Y2DAkdZdDKWVZGVwkDfc4Clxn1dg==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.22.5", + "@babel/generator": "^7.22.5", + "@babel/helper-compilation-targets": "^7.22.5", + "@babel/helper-module-transforms": "^7.22.5", + "@babel/helpers": "^7.22.5", + "@babel/parser": "^7.22.5", + "@babel/template": "^7.22.5", + "@babel/traverse": "^7.22.5", + "@babel/types": "^7.22.5", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", - "json5": "^2.2.1", + "json5": "^2.2.2", "semver": "^6.3.0" }, "engines": { @@ -1136,40 +1067,27 @@ } }, "node_modules/@babel/generator": { - "version": "7.20.14", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.20.14.tgz", - "integrity": "sha512-AEmuXHdcD3A52HHXxaTmYlb8q/xMEhoRP67B3T4Oq7lbmSoqroMZzjnGj3+i1io3pdnF8iBYVu4Ilj+c4hBxYg==", + "version": "7.22.7", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.7.tgz", + "integrity": "sha512-p+jPjMG+SI8yvIaxGgeW24u7q9+5+TGpZh8/CuB7RhBKd7RCy8FayNEFNNKrNK/eUcY/4ExQqLmyrvBXKsIcwQ==", "dev": true, "dependencies": { - "@babel/types": "^7.20.7", + "@babel/types": "^7.22.5", "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/generator/node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", - "dev": true, - "dependencies": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz", - "integrity": "sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz", + "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==", "dev": true, "dependencies": { - "@babel/types": "^7.18.6" + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -1253,18 +1171,6 @@ "@babel/core": "^7.0.0" } }, - "node_modules/@babel/helper-create-class-features-plugin/node_modules/@babel/helper-annotate-as-pure": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz", - "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-create-class-features-plugin/node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", @@ -1291,18 +1197,6 @@ "@babel/core": "^7.0.0" } }, - "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/@babel/helper-annotate-as-pure": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz", - "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", @@ -1313,29 +1207,19 @@ } }, "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz", - "integrity": "sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww==", + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.2.tgz", + "integrity": "sha512-k0qnnOqHn5dK9pZpfD5XXZ9SojAITdCKRn2Lp6rnDGzIbaP0rHyMPk/4wsSxVBVz4RfN0q6VpXWP2pDGIoQ7hw==", "dev": true, "dependencies": { - "@babel/helper-compilation-targets": "^7.17.7", - "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-compilation-targets": "^7.22.6", + "@babel/helper-plugin-utils": "^7.22.5", "debug": "^4.1.1", "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2", - "semver": "^6.1.2" + "resolve": "^1.14.2" }, "peerDependencies": { - "@babel/core": "^7.4.0-0" - } - }, - "node_modules/@babel/helper-define-polyfill-provider/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, "node_modules/@babel/helper-environment-visitor": { @@ -1360,20 +1244,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-function-name/node_modules/@babel/template": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", - "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.22.5", - "@babel/parser": "^7.22.5", - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-hoist-variables": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", @@ -1467,18 +1337,6 @@ "@babel/core": "^7.0.0" } }, - "node_modules/@babel/helper-remap-async-to-generator/node_modules/@babel/helper-annotate-as-pure": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz", - "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-replace-supers": { "version": "7.22.9", "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.22.9.tgz", @@ -1573,20 +1431,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-wrap-function/node_modules/@babel/template": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", - "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.22.5", - "@babel/parser": "^7.22.5", - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helpers": { "version": "7.22.6", "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.22.6.tgz", @@ -1601,20 +1445,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helpers/node_modules/@babel/template": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", - "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.22.5", - "@babel/parser": "^7.22.5", - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/highlight": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.5.tgz", @@ -1691,214 +1521,11 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-proposal-class-properties": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz", - "integrity": "sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-class-static-block": { - "version": "7.21.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.21.0.tgz", - "integrity": "sha512-XP5G9MWNUskFuP30IfFSEFB0Z6HzLIUcjYM4bYOPHXl7eiJ9HFv8tWj6TXTN5QODiEhDZAeI4hLok2iHFFV4hw==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.21.0", - "@babel/helper-plugin-utils": "^7.20.2", - "@babel/plugin-syntax-class-static-block": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.12.0" - } - }, - "node_modules/@babel/plugin-proposal-dynamic-import": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz", - "integrity": "sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-export-namespace-from": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz", - "integrity": "sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-json-strings": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz", - "integrity": "sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6", - "@babel/plugin-syntax-json-strings": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.20.7.tgz", - "integrity": "sha512-y7C7cZgpMIjWlKE5T7eJwp+tnRYM89HmRvWM5EQuB5BoHEONjmQ8lSNmBUwOyy/GFRsohJED51YBF79hE1djug==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.20.2", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz", - "integrity": "sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-numeric-separator": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz", - "integrity": "sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6", - "@babel/plugin-syntax-numeric-separator": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-object-rest-spread": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz", - "integrity": "sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.20.5", - "@babel/helper-compilation-targets": "^7.20.7", - "@babel/helper-plugin-utils": "^7.20.2", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.20.7" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-optional-catch-binding": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz", - "integrity": "sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-optional-chaining": { - "version": "7.21.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz", - "integrity": "sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.20.2", - "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-private-methods": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz", - "integrity": "sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/plugin-proposal-private-property-in-object": { - "version": "7.21.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.11.tgz", - "integrity": "sha512-0QZ8qP/3RLDVBwBFoWAwCtgcDZJVwA5LUJRZU8x2YFfKNuFq161wK3cuGrALu5yiPu+vzwTAg/sMWVNeWeNyaw==", + "version": "7.21.0-placeholder-for-preset-env.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz", + "integrity": "sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==", "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.18.6", - "@babel/helper-create-class-features-plugin": "^7.21.0", - "@babel/helper-plugin-utils": "^7.20.2", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5" - }, "engines": { "node": ">=6.9.0" }, @@ -2000,6 +1627,33 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-syntax-import-attributes": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.22.5.tgz", + "integrity": "sha512-KwvoWDeNKPETmozyFE0P2rOLqh39EoQHNjqizrI5B8Vt0ZNS7M56s7dAiAqbYfiAYOuIzIh96z3iR2ktgu3tEg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-syntax-json-strings": { "version": "7.8.3", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", @@ -2114,6 +1768,22 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-syntax-unicode-sets-regex": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz", + "integrity": "sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, "node_modules/@babel/plugin-transform-arrow-functions": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.22.5.tgz", @@ -2129,15 +1799,33 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-async-generator-functions": { + "version": "7.22.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.22.7.tgz", + "integrity": "sha512-7HmE7pk/Fmke45TODvxvkxRMV9RazV+ZZzhOL9AG8G29TLrr3jkjwF7uJfxZ30EoXpO+LJkq4oA8NjO2DTnEDg==", + "dev": true, + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-remap-async-to-generator": "^7.22.5", + "@babel/plugin-syntax-async-generators": "^7.8.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.20.7.tgz", - "integrity": "sha512-Uo5gwHPT9vgnSXQxqGtpdufUiWp96gk7yiP4Mp5bm1QMkEmLXBO7PAGYbKoJ6DhAwiNkcHFBol/x5zZZkL/t0Q==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.22.5.tgz", + "integrity": "sha512-b1A8D8ZzE/VhNDoV1MSJTnpKkCG5bJo+19R4o4oy03zM7ws8yEMK755j61Dc3EyvdysbqH5BOOTquJ7ZX9C6vQ==", "dev": true, "dependencies": { - "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-plugin-utils": "^7.20.2", - "@babel/helper-remap-async-to-generator": "^7.18.9" + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-remap-async-to-generator": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2176,6 +1864,39 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-class-properties": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.22.5.tgz", + "integrity": "sha512-nDkQ0NfkOhPTq8YCLiWNxp1+f9fCobEjCb0n8WdbNUBc4IB5V7P1QnX9IjpSoquKrXF5SKojHleVNs2vGeHCHQ==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-class-static-block": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.22.5.tgz", + "integrity": "sha512-SPToJ5eYZLxlnp1UzdARpOGeC2GbHvr9d/UV0EukuVx8atktg194oe+C5BqQ8jRTkgLRVOPYeXRSBg1IlMoVRA==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-class-static-block": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.12.0" + } + }, "node_modules/@babel/plugin-transform-classes": { "version": "7.22.6", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.22.6.tgz", @@ -2199,18 +1920,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-classes/node_modules/@babel/helper-annotate-as-pure": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz", - "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/plugin-transform-computed-properties": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.22.5.tgz", @@ -2227,20 +1936,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-computed-properties/node_modules/@babel/template": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", - "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.22.5", - "@babel/parser": "^7.22.5", - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/plugin-transform-destructuring": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.22.5.tgz", @@ -2287,6 +1982,22 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-dynamic-import": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.22.5.tgz", + "integrity": "sha512-0MC3ppTB1AMxd8fXjSrbPa7LT9hrImt+/fcj+Pg5YMD7UQyWp/02+JWpdnCymmsXwIx5Z+sYn1bwCn4ZJNvhqQ==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-dynamic-import": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-transform-exponentiation-operator": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.22.5.tgz", @@ -2303,6 +2014,22 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-export-namespace-from": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.22.5.tgz", + "integrity": "sha512-X4hhm7FRnPgd4nDA4b/5V280xCx6oL7Oob5+9qVS5C13Zq4bh1qq7LU0GgRU6b5dBWBvhGaXYVB4AcN6+ol6vg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-transform-for-of": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.22.5.tgz", @@ -2335,6 +2062,22 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-json-strings": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.22.5.tgz", + "integrity": "sha512-DuCRB7fu8MyTLbEQd1ew3R85nx/88yMoqo2uPSjevMj3yoN7CDM8jkgrY0wmVxfJZyJ/B9fE1iq7EQppWQmR5A==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-json-strings": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-transform-literals": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.22.5.tgz", @@ -2350,6 +2093,22 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-logical-assignment-operators": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.22.5.tgz", + "integrity": "sha512-MQQOUW1KL8X0cDWfbwYP+TbVbZm16QmQXJQ+vndPtH/BoO0lOKpVoEDMI7+PskYxH+IiE0tS8xZye0qr1lGzSA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-transform-member-expression-literals": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.22.5.tgz", @@ -2463,6 +2222,57 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.22.5.tgz", + "integrity": "sha512-6CF8g6z1dNYZ/VXok5uYkkBBICHZPiGEl7oDnAx2Mt1hlHVHOSIKWJaXHjQJA5VB43KZnXZDIexMchY4y2PGdA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-numeric-separator": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.22.5.tgz", + "integrity": "sha512-NbslED1/6M+sXiwwtcAB/nieypGw02Ejf4KtDeMkCEpP6gWFMX1wI9WKYua+4oBneCCEmulOkRpwywypVZzs/g==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-object-rest-spread": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.22.5.tgz", + "integrity": "sha512-Kk3lyDmEslH9DnvCDA1s1kkd3YWQITiBOHngOtDL9Pt6BZjzqb6hiOlb8VfjiiQJ2unmegBqZu0rx5RxJb5vmQ==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.22.5", + "@babel/helper-compilation-targets": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-transform-object-super": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.22.5.tgz", @@ -2479,6 +2289,22 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-optional-catch-binding": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.22.5.tgz", + "integrity": "sha512-pH8orJahy+hzZje5b8e2QIlBWQvGpelS76C63Z+jhZKsmzfNaPQ+LaW6dcJ9bxTpo1mtXbgHwy765Ro3jftmUg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-transform-optional-chaining": { "version": "7.22.6", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.22.6.tgz", @@ -2511,6 +2337,40 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-private-methods": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.22.5.tgz", + "integrity": "sha512-PPjh4gyrQnGe97JTalgRGMuU4icsZFnWkzicB/fUtzlKUqvsWBKEpPPfr5a2JiyirZkHxnAqkQMO5Z5B2kK3fA==", + "dev": true, + "dependencies": { + "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-private-property-in-object": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.22.5.tgz", + "integrity": "sha512-/9xnaTTJcVoBtSSmrVyhtSvO3kbqS2ODoh2juEU72c3aYonNF0OMGiaz2gjukyKM2wBBYJP38S4JiE0Wfb5VMQ==", + "dev": true, + "dependencies": { + "@babel/helper-annotate-as-pure": "^7.22.5", + "@babel/helper-create-class-features-plugin": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, "node_modules/@babel/plugin-transform-property-literals": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.22.5.tgz", @@ -2558,16 +2418,16 @@ } }, "node_modules/@babel/plugin-transform-runtime": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.19.6.tgz", - "integrity": "sha512-PRH37lz4JU156lYFW1p8OxE5i7d6Sl/zV58ooyr+q1J1lnQPyg5tIiXlIwNVhJaY4W3TmOtdc8jqdXQcB1v5Yw==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.22.5.tgz", + "integrity": "sha512-bg4Wxd1FWeFx3daHFTWk1pkSWK/AyQuiyAoeZAOkAOUBjnZPH6KT7eMxouV47tQ6hl6ax2zyAWBdWZXbrvXlaw==", "dev": true, "dependencies": { - "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-plugin-utils": "^7.19.0", - "babel-plugin-polyfill-corejs2": "^0.3.3", - "babel-plugin-polyfill-corejs3": "^0.6.0", - "babel-plugin-polyfill-regenerator": "^0.4.1", + "@babel/helper-module-imports": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "babel-plugin-polyfill-corejs2": "^0.4.3", + "babel-plugin-polyfill-corejs3": "^0.8.1", + "babel-plugin-polyfill-regenerator": "^0.5.0", "semver": "^6.3.0" }, "engines": { @@ -2647,12 +2507,43 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-typeof-symbol": { + "node_modules/@babel/plugin-transform-typeof-symbol": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.22.5.tgz", + "integrity": "sha512-bYkI5lMzL4kPii4HHEEChkD0rkc+nvnlR6+o/qdqR6zrm0Sv/nodmyLhlq2DO0YKLUNd2VePmPRjJXSBh9OIdA==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-escapes": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.22.5.tgz", + "integrity": "sha512-biEmVg1IYB/raUO5wT1tgfacCef15Fbzhkx493D3urBI++6hpJ+RFG4SrWMn0NEZLfvilqKf3QDrRVZHo08FYg==", + "dev": true, + "dependencies": { + "@babel/helper-plugin-utils": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-unicode-property-regex": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.22.5.tgz", - "integrity": "sha512-bYkI5lMzL4kPii4HHEEChkD0rkc+nvnlR6+o/qdqR6zrm0Sv/nodmyLhlq2DO0YKLUNd2VePmPRjJXSBh9OIdA==", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.22.5.tgz", + "integrity": "sha512-HCCIb+CbJIAE6sXn5CjFQXMwkCClcOfPCzTlilJ8cUatfzwHlWQkbtV0zD338u9dZskwvuOYTuuaMaA8J5EI5A==", "dev": true, "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { @@ -2662,12 +2553,13 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-unicode-escapes": { + "node_modules/@babel/plugin-transform-unicode-regex": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.22.5.tgz", - "integrity": "sha512-biEmVg1IYB/raUO5wT1tgfacCef15Fbzhkx493D3urBI++6hpJ+RFG4SrWMn0NEZLfvilqKf3QDrRVZHo08FYg==", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.22.5.tgz", + "integrity": "sha512-028laaOKptN5vHJf9/Arr/HiJekMd41hOEZYvNsrsXqJ7YPYuX2bQxh31fkZzGmq3YqHRJzYFFAVYvKfMPKqyg==", "dev": true, "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.22.5", "@babel/helper-plugin-utils": "^7.22.5" }, "engines": { @@ -2677,10 +2569,10 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-unicode-regex": { + "node_modules/@babel/plugin-transform-unicode-sets-regex": { "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.22.5.tgz", - "integrity": "sha512-028laaOKptN5vHJf9/Arr/HiJekMd41hOEZYvNsrsXqJ7YPYuX2bQxh31fkZzGmq3YqHRJzYFFAVYvKfMPKqyg==", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.22.5.tgz", + "integrity": "sha512-lhMfi4FC15j13eKrh3DnYHjpGj6UKQHtNKTbtc1igvAhRy4+kLhV07OpLcsN0VgDEw/MjAvJO4BdMJsHwMhzCg==", "dev": true, "dependencies": { "@babel/helper-create-regexp-features-plugin": "^7.22.5", @@ -2690,42 +2582,30 @@ "node": ">=6.9.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@babel/core": "^7.0.0" } }, "node_modules/@babel/preset-env": { - "version": "7.20.2", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.20.2.tgz", - "integrity": "sha512-1G0efQEWR1EHkKvKHqbG+IN/QdgwfByUpM5V5QroDzGV2t3S/WXNQd693cHiHTlCFMpr9B6FkPFXDA2lQcKoDg==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.22.5.tgz", + "integrity": "sha512-fj06hw89dpiZzGZtxn+QybifF07nNiZjZ7sazs2aVDcysAZVGjW7+7iFYxg6GLNM47R/thYfLdrXc+2f11Vi9A==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.20.1", - "@babel/helper-compilation-targets": "^7.20.0", - "@babel/helper-plugin-utils": "^7.20.2", - "@babel/helper-validator-option": "^7.18.6", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.18.9", - "@babel/plugin-proposal-async-generator-functions": "^7.20.1", - "@babel/plugin-proposal-class-properties": "^7.18.6", - "@babel/plugin-proposal-class-static-block": "^7.18.6", - "@babel/plugin-proposal-dynamic-import": "^7.18.6", - "@babel/plugin-proposal-export-namespace-from": "^7.18.9", - "@babel/plugin-proposal-json-strings": "^7.18.6", - "@babel/plugin-proposal-logical-assignment-operators": "^7.18.9", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", - "@babel/plugin-proposal-numeric-separator": "^7.18.6", - "@babel/plugin-proposal-object-rest-spread": "^7.20.2", - "@babel/plugin-proposal-optional-catch-binding": "^7.18.6", - "@babel/plugin-proposal-optional-chaining": "^7.18.9", - "@babel/plugin-proposal-private-methods": "^7.18.6", - "@babel/plugin-proposal-private-property-in-object": "^7.18.6", - "@babel/plugin-proposal-unicode-property-regex": "^7.18.6", + "@babel/compat-data": "^7.22.5", + "@babel/helper-compilation-targets": "^7.22.5", + "@babel/helper-plugin-utils": "^7.22.5", + "@babel/helper-validator-option": "^7.22.5", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.22.5", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.5", + "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-class-properties": "^7.12.13", "@babel/plugin-syntax-class-static-block": "^7.14.5", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-import-assertions": "^7.20.0", + "@babel/plugin-syntax-import-assertions": "^7.22.5", + "@babel/plugin-syntax-import-attributes": "^7.22.5", + "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/plugin-syntax-json-strings": "^7.8.3", "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", @@ -2735,44 +2615,61 @@ "@babel/plugin-syntax-optional-chaining": "^7.8.3", "@babel/plugin-syntax-private-property-in-object": "^7.14.5", "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-transform-arrow-functions": "^7.18.6", - "@babel/plugin-transform-async-to-generator": "^7.18.6", - "@babel/plugin-transform-block-scoped-functions": "^7.18.6", - "@babel/plugin-transform-block-scoping": "^7.20.2", - "@babel/plugin-transform-classes": "^7.20.2", - "@babel/plugin-transform-computed-properties": "^7.18.9", - "@babel/plugin-transform-destructuring": "^7.20.2", - "@babel/plugin-transform-dotall-regex": "^7.18.6", - "@babel/plugin-transform-duplicate-keys": "^7.18.9", - "@babel/plugin-transform-exponentiation-operator": "^7.18.6", - "@babel/plugin-transform-for-of": "^7.18.8", - "@babel/plugin-transform-function-name": "^7.18.9", - "@babel/plugin-transform-literals": "^7.18.9", - "@babel/plugin-transform-member-expression-literals": "^7.18.6", - "@babel/plugin-transform-modules-amd": "^7.19.6", - "@babel/plugin-transform-modules-commonjs": "^7.19.6", - "@babel/plugin-transform-modules-systemjs": "^7.19.6", - "@babel/plugin-transform-modules-umd": "^7.18.6", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.19.1", - "@babel/plugin-transform-new-target": "^7.18.6", - "@babel/plugin-transform-object-super": "^7.18.6", - "@babel/plugin-transform-parameters": "^7.20.1", - "@babel/plugin-transform-property-literals": "^7.18.6", - "@babel/plugin-transform-regenerator": "^7.18.6", - "@babel/plugin-transform-reserved-words": "^7.18.6", - "@babel/plugin-transform-shorthand-properties": "^7.18.6", - "@babel/plugin-transform-spread": "^7.19.0", - "@babel/plugin-transform-sticky-regex": "^7.18.6", - "@babel/plugin-transform-template-literals": "^7.18.9", - "@babel/plugin-transform-typeof-symbol": "^7.18.9", - "@babel/plugin-transform-unicode-escapes": "^7.18.10", - "@babel/plugin-transform-unicode-regex": "^7.18.6", + "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", + "@babel/plugin-transform-arrow-functions": "^7.22.5", + "@babel/plugin-transform-async-generator-functions": "^7.22.5", + "@babel/plugin-transform-async-to-generator": "^7.22.5", + "@babel/plugin-transform-block-scoped-functions": "^7.22.5", + "@babel/plugin-transform-block-scoping": "^7.22.5", + "@babel/plugin-transform-class-properties": "^7.22.5", + "@babel/plugin-transform-class-static-block": "^7.22.5", + "@babel/plugin-transform-classes": "^7.22.5", + "@babel/plugin-transform-computed-properties": "^7.22.5", + "@babel/plugin-transform-destructuring": "^7.22.5", + "@babel/plugin-transform-dotall-regex": "^7.22.5", + "@babel/plugin-transform-duplicate-keys": "^7.22.5", + "@babel/plugin-transform-dynamic-import": "^7.22.5", + "@babel/plugin-transform-exponentiation-operator": "^7.22.5", + "@babel/plugin-transform-export-namespace-from": "^7.22.5", + "@babel/plugin-transform-for-of": "^7.22.5", + "@babel/plugin-transform-function-name": "^7.22.5", + "@babel/plugin-transform-json-strings": "^7.22.5", + "@babel/plugin-transform-literals": "^7.22.5", + "@babel/plugin-transform-logical-assignment-operators": "^7.22.5", + "@babel/plugin-transform-member-expression-literals": "^7.22.5", + "@babel/plugin-transform-modules-amd": "^7.22.5", + "@babel/plugin-transform-modules-commonjs": "^7.22.5", + "@babel/plugin-transform-modules-systemjs": "^7.22.5", + "@babel/plugin-transform-modules-umd": "^7.22.5", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5", + "@babel/plugin-transform-new-target": "^7.22.5", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.22.5", + "@babel/plugin-transform-numeric-separator": "^7.22.5", + "@babel/plugin-transform-object-rest-spread": "^7.22.5", + "@babel/plugin-transform-object-super": "^7.22.5", + "@babel/plugin-transform-optional-catch-binding": "^7.22.5", + "@babel/plugin-transform-optional-chaining": "^7.22.5", + "@babel/plugin-transform-parameters": "^7.22.5", + "@babel/plugin-transform-private-methods": "^7.22.5", + "@babel/plugin-transform-private-property-in-object": "^7.22.5", + "@babel/plugin-transform-property-literals": "^7.22.5", + "@babel/plugin-transform-regenerator": "^7.22.5", + "@babel/plugin-transform-reserved-words": "^7.22.5", + "@babel/plugin-transform-shorthand-properties": "^7.22.5", + "@babel/plugin-transform-spread": "^7.22.5", + "@babel/plugin-transform-sticky-regex": "^7.22.5", + "@babel/plugin-transform-template-literals": "^7.22.5", + "@babel/plugin-transform-typeof-symbol": "^7.22.5", + "@babel/plugin-transform-unicode-escapes": "^7.22.5", + "@babel/plugin-transform-unicode-property-regex": "^7.22.5", + "@babel/plugin-transform-unicode-regex": "^7.22.5", + "@babel/plugin-transform-unicode-sets-regex": "^7.22.5", "@babel/preset-modules": "^0.1.5", - "@babel/types": "^7.20.2", - "babel-plugin-polyfill-corejs2": "^0.3.3", - "babel-plugin-polyfill-corejs3": "^0.6.0", - "babel-plugin-polyfill-regenerator": "^0.4.1", - "core-js-compat": "^3.25.1", + "@babel/types": "^7.22.5", + "babel-plugin-polyfill-corejs2": "^0.4.3", + "babel-plugin-polyfill-corejs3": "^0.8.1", + "babel-plugin-polyfill-regenerator": "^0.5.0", + "core-js-compat": "^3.30.2", "semver": "^6.3.0" }, "engines": { @@ -2814,9 +2711,9 @@ "dev": true }, "node_modules/@babel/runtime": { - "version": "7.20.13", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.13.tgz", - "integrity": "sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.22.5.tgz", + "integrity": "sha512-ecjvYlnAaZ/KVneE/OdKYBYfgXV3Ptu6zQWmgEF7vwKhQnvVS6bjMD2XYgj+SNvQ1GfK/pjgokfPkC/2CO8CuA==", "dev": true, "dependencies": { "regenerator-runtime": "^0.13.11" @@ -2826,14 +2723,14 @@ } }, "node_modules/@babel/template": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.20.7.tgz", - "integrity": "sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==", + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.5.tgz", + "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.18.6", - "@babel/parser": "^7.20.7", - "@babel/types": "^7.20.7" + "@babel/code-frame": "^7.22.5", + "@babel/parser": "^7.22.5", + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" @@ -2875,20 +2772,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/traverse/node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", - "dev": true, - "dependencies": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@babel/types": { "version": "7.22.5", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.22.5.tgz", @@ -2922,9 +2805,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.8.tgz", - "integrity": "sha512-0/rb91GYKhrtbeglJXOhAv9RuYimgI8h623TplY2X+vA4EXnk3Zj1fXZreJ0J3OJJu1bwmb0W7g+2cT/d8/l/w==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.19.tgz", + "integrity": "sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==", "cpu": [ "arm" ], @@ -2938,9 +2821,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.8.tgz", - "integrity": "sha512-oa/N5j6v1svZQs7EIRPqR8f+Bf8g6HBDjD/xHC02radE/NjKHK7oQmtmLxPs1iVwYyvE+Kolo6lbpfEQ9xnhxQ==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz", + "integrity": "sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==", "cpu": [ "arm64" ], @@ -2954,9 +2837,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.8.tgz", - "integrity": "sha512-bTliMLqD7pTOoPg4zZkXqCDuzIUguEWLpeqkNfC41ODBHwoUgZ2w5JBeYimv4oP6TDVocoYmEhZrCLQTrH89bg==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.19.tgz", + "integrity": "sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==", "cpu": [ "x64" ], @@ -2970,9 +2853,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.8.tgz", - "integrity": "sha512-ghAbV3ia2zybEefXRRm7+lx8J/rnupZT0gp9CaGy/3iolEXkJ6LYRq4IpQVI9zR97ID80KJVoUlo3LSeA/sMAg==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz", + "integrity": "sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==", "cpu": [ "arm64" ], @@ -2986,9 +2869,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.8.tgz", - "integrity": "sha512-n5WOpyvZ9TIdv2V1K3/iIkkJeKmUpKaCTdun9buhGRWfH//osmUjlv4Z5mmWdPWind/VGcVxTHtLfLCOohsOXw==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz", + "integrity": "sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==", "cpu": [ "x64" ], @@ -3002,9 +2885,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.8.tgz", - "integrity": "sha512-a/SATTaOhPIPFWvHZDoZYgxaZRVHn0/LX1fHLGfZ6C13JqFUZ3K6SMD6/HCtwOQ8HnsNaEeokdiDSFLuizqv5A==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz", + "integrity": "sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==", "cpu": [ "arm64" ], @@ -3018,9 +2901,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.8.tgz", - "integrity": "sha512-xpFJb08dfXr5+rZc4E+ooZmayBW6R3q59daCpKZ/cDU96/kvDM+vkYzNeTJCGd8rtO6fHWMq5Rcv/1cY6p6/0Q==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz", + "integrity": "sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==", "cpu": [ "x64" ], @@ -3034,9 +2917,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.8.tgz", - "integrity": "sha512-6Ij8gfuGszcEwZpi5jQIJCVIACLS8Tz2chnEBfYjlmMzVsfqBP1iGmHQPp7JSnZg5xxK9tjCc+pJ2WtAmPRFVA==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz", + "integrity": "sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==", "cpu": [ "arm" ], @@ -3050,9 +2933,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.8.tgz", - "integrity": "sha512-v3iwDQuDljLTxpsqQDl3fl/yihjPAyOguxuloON9kFHYwopeJEf1BkDXODzYyXEI19gisEsQlG1bM65YqKSIww==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz", + "integrity": "sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==", "cpu": [ "arm64" ], @@ -3066,9 +2949,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.8.tgz", - "integrity": "sha512-8svILYKhE5XetuFk/B6raFYIyIqydQi+GngEXJgdPdI7OMKUbSd7uzR02wSY4kb53xBrClLkhH4Xs8P61Q2BaA==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz", + "integrity": "sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==", "cpu": [ "ia32" ], @@ -3082,9 +2965,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.8.tgz", - "integrity": "sha512-B6FyMeRJeV0NpyEOYlm5qtQfxbdlgmiGdD+QsipzKfFky0K5HW5Td6dyK3L3ypu1eY4kOmo7wW0o94SBqlqBSA==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz", + "integrity": "sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==", "cpu": [ "loong64" ], @@ -3098,9 +2981,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.8.tgz", - "integrity": "sha512-CCb67RKahNobjm/eeEqeD/oJfJlrWyw29fgiyB6vcgyq97YAf3gCOuP6qMShYSPXgnlZe/i4a8WFHBw6N8bYAA==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz", + "integrity": "sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==", "cpu": [ "mips64el" ], @@ -3114,9 +2997,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.8.tgz", - "integrity": "sha512-bytLJOi55y55+mGSdgwZ5qBm0K9WOCh0rx+vavVPx+gqLLhxtSFU0XbeYy/dsAAD6xECGEv4IQeFILaSS2auXw==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz", + "integrity": "sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==", "cpu": [ "ppc64" ], @@ -3130,9 +3013,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.8.tgz", - "integrity": "sha512-2YpRyQJmKVBEHSBLa8kBAtbhucaclb6ex4wchfY0Tj3Kg39kpjeJ9vhRU7x4mUpq8ISLXRXH1L0dBYjAeqzZAw==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz", + "integrity": "sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==", "cpu": [ "riscv64" ], @@ -3146,9 +3029,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.8.tgz", - "integrity": "sha512-QgbNY/V3IFXvNf11SS6exkpVcX0LJcob+0RWCgV9OiDAmVElnxciHIisoSix9uzYzScPmS6dJFbZULdSAEkQVw==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz", + "integrity": "sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==", "cpu": [ "s390x" ], @@ -3162,9 +3045,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.8.tgz", - "integrity": "sha512-mM/9S0SbAFDBc4OPoyP6SEOo5324LpUxdpeIUUSrSTOfhHU9hEfqRngmKgqILqwx/0DVJBzeNW7HmLEWp9vcOA==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz", + "integrity": "sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==", "cpu": [ "x64" ], @@ -3178,9 +3061,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.8.tgz", - "integrity": "sha512-eKUYcWaWTaYr9zbj8GertdVtlt1DTS1gNBWov+iQfWuWyuu59YN6gSEJvFzC5ESJ4kMcKR0uqWThKUn5o8We6Q==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz", + "integrity": "sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==", "cpu": [ "x64" ], @@ -3194,9 +3077,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.8.tgz", - "integrity": "sha512-Vc9J4dXOboDyMXKD0eCeW0SIeEzr8K9oTHJU+Ci1mZc5njPfhKAqkRt3B/fUNU7dP+mRyralPu8QUkiaQn7iIg==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz", + "integrity": "sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==", "cpu": [ "x64" ], @@ -3210,9 +3093,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.8.tgz", - "integrity": "sha512-0xvOTNuPXI7ft1LYUgiaXtpCEjp90RuBBYovdd2lqAFxje4sEucurg30M1WIm03+3jxByd3mfo+VUmPtRSVuOw==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz", + "integrity": "sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==", "cpu": [ "x64" ], @@ -3226,9 +3109,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.8.tgz", - "integrity": "sha512-G0JQwUI5WdEFEnYNKzklxtBheCPkuDdu1YrtRrjuQv30WsYbkkoixKxLLv8qhJmNI+ATEWquZe/N0d0rpr55Mg==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz", + "integrity": "sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==", "cpu": [ "arm64" ], @@ -3242,9 +3125,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.8.tgz", - "integrity": "sha512-Fqy63515xl20OHGFykjJsMnoIWS+38fqfg88ClvPXyDbLtgXal2DTlhb1TfTX34qWi3u4I7Cq563QcHpqgLx8w==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz", + "integrity": "sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==", "cpu": [ "ia32" ], @@ -3258,9 +3141,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.8.tgz", - "integrity": "sha512-1iuezdyDNngPnz8rLRDO2C/ZZ/emJLb72OsZeqQ6gL6Avko/XCXZw+NuxBSNhBAP13Hie418V7VMt9et1FMvpg==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz", + "integrity": "sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==", "cpu": [ "x64" ], @@ -3273,6 +3156,21 @@ "node": ">=12" } }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, "node_modules/@eslint/eslintrc": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.0.5.tgz", @@ -3569,13 +3467,14 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", - "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", + "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", "dev": true, "dependencies": { - "@jridgewell/set-array": "^1.0.0", - "@jridgewell/sourcemap-codec": "^1.4.10" + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" }, "engines": { "node": ">=6.0.0" @@ -3609,20 +3508,6 @@ "@jridgewell/trace-mapping": "^0.3.9" } }, - "node_modules/@jridgewell/source-map/node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", - "dev": true, - "dependencies": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.15", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", @@ -3676,795 +3561,798 @@ } }, "node_modules/@material/animation": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/animation/-/animation-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-5osi1z4JQIXcklPALbH/zTfOm2pDzHt9Fxm7ZyURy250xIZj6QjULRzPTnzOhC2ropfix9ra2Cfggbf0dcRbEQ==", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/animation/-/animation-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-kqqzG54tabYJ5VsBur5k1bqCFQCEpaW3hmLRMiSVVxRY7XgTt7qkuOOz48gs+MPqR6P8VIi6gFpuscV1+DWDhw==", "dependencies": { "tslib": "^2.1.0" } }, "node_modules/@material/auto-init": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/auto-init/-/auto-init-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-OigQTmrVzkcGvxNjOaIe5oItTFPgrO9xLewvharDI6m6yvO1z7OBnkcW+sFN6ggLNYNxd0O1u9v64vMsmeDABQ==", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/auto-init/-/auto-init-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-8nLe/XeueJg5yyYx5e4UxWQXpTDyUhibKfyroGwnRKc8pdpOCOulHSOj/fIVGJAIbxkEJoebwMadWUNCjUhc9A==", "dependencies": { - "@material/base": "15.0.0-canary.684e33d25.0", + "@material/base": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/banner": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/banner/-/banner-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-PqtGp3KWzdu58rWv/DIvSfe38m5YKOBbAAbBinSvgadBb/da+IE1t5F7YPNKE1T5lJsQBGVUYx6QBIeXm+aI/A==", - "dependencies": { - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/button": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/banner/-/banner-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-gJ4/VdP4dJgHP72Kdjy2f/UjHB45J4CuxoGvI0NIQYUjOSsr4kQiQHsjVgyEPZR/5wa7kBhM7/0mJ+zF7Ghv2A==", + "dependencies": { + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/button": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/base": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/base/-/base-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-oOaqb/SfjWwTKsdJUZmeh/Qrs41nIJI0N+zELsxnvbGjSIN1ZMAKYZFPMahqvC68OJ6+5CvJM8PoTNs5l+B8IQ==", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/base/-/base-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-rW2upYD5YjRFBL6DzYn3SCRhtvpEDkwplDS810e3vt71uLMRyqXyw4OQJH+Nab/t+32TFDtKNUphXIzwICXGDQ==", "dependencies": { "tslib": "^2.1.0" } }, "node_modules/@material/button": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/button/-/button-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-Nkekk4edeX+ObVOa7UlwavaHdmckPV5wU4SAJf3iA3R61cmz+KsgAgpzfcwv5WfNhIlc2nLu8QYEecpHdo9d/w==", - "dependencies": { - "@material/density": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/focus-ring": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", - "@material/touch-target": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/button/-/button-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-SMyqtsvJuCqpXBz2JgciuR6wddNJSGpTXUFxmLbGluBy5/hHm06JWlOFcUOxGDv46OdRGGrRfkg6A9JtvtsJsw==", + "dependencies": { + "@material/density": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/focus-ring": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", + "@material/touch-target": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/card": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/card/-/card-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-xhyB7XX5KkEiCEqwSPkl58ZGYL6xFdnY62zimyBXJRG/Eaa0Swj3kW20hVCpt4f7c9Zmp8Se27rg8vnKmhvO3g==", - "dependencies": { - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/card/-/card-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-WSggGon91HcDhJyatnYLFkoM9glkkeJjyjFDWrcJkwN1rdrPJU+GH+PNjvmArz5hGv9WkmjDjhOdAuPnL4Mb7g==", + "dependencies": { + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/checkbox": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/checkbox/-/checkbox-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-NFpM3TS924PmVsk2KQLNU95OYCf8ZwYgzeqfnAexU0bEfjUJXINBun2Go0AaeOUMjuvWUe+byjrXgv8SFYbMUA==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/density": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/focus-ring": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/touch-target": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/checkbox/-/checkbox-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-pulRiwG9S/dS6WBG+GteODBltddFiL0Sb7HAqdzF2BTKNKv25q1ZIR3ftoEa09TNeWM88AOzTJ4aBHiADfJn2w==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/density": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/focus-ring": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/touch-target": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/chips": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/chips/-/chips-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-z4ajQ4NnsAQ/Si9tZ4xmxzjj2Qb+vW++4QjCjjjwAGIZbCe0xglAnMh2t66XLJUxt7RoKZuZVEO7ZqcFZpvJFQ==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/checkbox": "15.0.0-canary.684e33d25.0", - "@material/density": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/focus-ring": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", - "@material/touch-target": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/chips/-/chips-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-3yJPj7x+eKLA4LMKG7aTWI+itAnKRVGOcniuR6aiXVy0OKr5asNuWNeZc9J0/VErjjxF3tdybDzDSPo01qPy9w==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/checkbox": "15.0.0-canary.b994146f6.0", + "@material/density": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/focus-ring": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", + "@material/touch-target": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "safevalues": "^0.3.4", "tslib": "^2.1.0" } }, "node_modules/@material/circular-progress": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/circular-progress/-/circular-progress-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-G6qD0nGNtEUwWnAMJuA9INYFpZoKtx7KFjBaPF4Ol2YLHtmShALNAYyn54TMAK8AZ2IpW08PXjGS7Ye88vrdEQ==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/progress-indicator": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/circular-progress/-/circular-progress-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-6YUvGXdtZKJoE7AuovR4xk1aiWp/EDZ6j2U3TOeynd1assQQCg5XT4abqAoHtpJrRPaCFgUAp836HyiDVVuYug==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/progress-indicator": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/data-table": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/data-table/-/data-table-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-+wDw1DDDFfAsKAMzs84f/5GCjux39zjNfW8tL4wFbkWNwewmQrG9zaQMJhBpVOtLCrM8Gj6SOgOANqgqoCjvGg==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/checkbox": "15.0.0-canary.684e33d25.0", - "@material/density": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/icon-button": "15.0.0-canary.684e33d25.0", - "@material/linear-progress": "15.0.0-canary.684e33d25.0", - "@material/list": "15.0.0-canary.684e33d25.0", - "@material/menu": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/select": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", - "@material/touch-target": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/data-table/-/data-table-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-v4hIduIe/wzyibuL/RPM/ErYrt8XpB7fxyQqtV+0JsMpFa8E81QYyvMCS9EJj9m4YdkrQnZgA+vXQlOkhWvmdQ==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/checkbox": "15.0.0-canary.b994146f6.0", + "@material/density": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/icon-button": "15.0.0-canary.b994146f6.0", + "@material/linear-progress": "15.0.0-canary.b994146f6.0", + "@material/list": "15.0.0-canary.b994146f6.0", + "@material/menu": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/select": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", + "@material/touch-target": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/density": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/density/-/density-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-661yEVRMGrlq6S6WuSbPRO+ZwpdUOg2glCc7y96doM6itSLOa3UEAldjOLfsYZVB74GnKCiuDp//QmfoRyYTfA==", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/density/-/density-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-m8l0vuoWSoAPItBpWp5eZDvitUcB2JWoO8V486hLgdveVcKgXG09xWM43ScH+PLXAWjzr5olDEuJ2tvfkN3SpQ==", "dependencies": { "tslib": "^2.1.0" } }, "node_modules/@material/dialog": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/dialog/-/dialog-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-szn0dHnfeQTSOC6SSRSGAzX6Tnx+4NnSMUwNkXm+3bwjds8ZVK26+DXwLrP5f3ID5F1K5sFsRf2INo5/TNTHyQ==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/button": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/icon-button": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", - "@material/touch-target": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/dialog/-/dialog-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-JucU92yh8cfZQpyRBunHr6uohacePLYmhcPaGpkAGQ1b+zCznEsNs55tjhaVQNoj91XA9rrBqtL6Otg+fxFJtQ==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/button": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/icon-button": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", + "@material/touch-target": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/dom": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/dom/-/dom-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-7pEJLYov+tGgfuD8mZxoVU6rWtPI8ppjTAhz+F27Hz9FG0JETMWTKpDPBXLnKvX7vhIxL83GvZ9geNHCe8Hfog==", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/dom/-/dom-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-DiUsTezrCi4iytjIn7xXoXZSNFvuTrVVZgc7cR9cW8yu2Hpz8bPf87PacVn4IP9OsNwy/dCDMk1Kcq/DMh7gXQ==", "dependencies": { - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/drawer": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/drawer/-/drawer-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-/KMckLf1PYU/H3PXnS4e0aFl03qG3JlSv4LGgX6juJufcONqGTl/m63EMO/L/eUy6H1CRrXmVDjik/jzHLyDhg==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/list": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/drawer/-/drawer-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-Kbuf32V0eX69amvCVbAjNSabNDerZWyG8ip466EfQHRh0OUZwvsbhLp9FZOB7AyR+/bQiHf3mVLcombOdmdkcQ==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/list": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/elevation": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/elevation/-/elevation-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-WDF8SsRtq3rXUbVVbd9K4DUijIPH0bUFSOreVYxudpuxAfTlDS5+aeS1EK9UIBFYLuba4u5wVT2tDv6e1RTfrQ==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/elevation/-/elevation-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-l2YDNgBajSI6oA2l6gaeYCTGHRao657syqQ/tv95/Hkcee9900A4RrsxCwSxOqqAs5pZZDEJ33kFJjj27nqZDw==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/fab": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/fab/-/fab-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-KCu87rWOKEAe9vZcAm6K8XazYSWPNjMG+OhrbPjHW6bCO7as1YCgtmkBkhff7csY/rFmcVpIy884xtUfLmSudQ==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/focus-ring": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", - "@material/touch-target": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/fab/-/fab-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-ExyDVkNWINpns41Ahj4u8I/OhiVkqI0nmcqjFRtgTJMmKEd4NhlvqIxE7gakAlyS68riJu5UleqTSTVmt8mv2Q==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/focus-ring": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", + "@material/touch-target": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/feature-targeting": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/feature-targeting/-/feature-targeting-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-HyH1erNTSjS63sigNSUMaCd0nJhTNdDFeC+myrxwtDaQm+uYJ8troCNtQM3g6mx0XATNtX5aTOoPmrM6yVVi1A==", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/feature-targeting/-/feature-targeting-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-HR/FjSQmza98B1DF80MRjODyfOI9r7wXkPSts/cLQsYkpwZ5uJmxhvQKjDCeYVpMV0lQuvuvVOQo7uD44TdWEg==", "dependencies": { "tslib": "^2.1.0" } }, "node_modules/@material/floating-label": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/floating-label/-/floating-label-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-f7TPp6bKpGvV3sYYiZHSGlrixXKkXXITW3Esp7KB9jRq42c0H82novmdwvY0eTef4ootmA2JEysr78KQfHBUPg==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/floating-label/-/floating-label-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-g64talBNWCS0FUfLWal0uB637gUciSIqYxFzSW//LglTtbZLGK2J4+9gAEswQGnKeO4ux08EN2n1ZcMDYQ58ow==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/focus-ring": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/focus-ring/-/focus-ring-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-ikw2RVUfgzXChpWIzPH1VzRvTjYb5ZKj4H+CZf7jqPUXMstFOZg90Bp7ARLZHqYiyNMuUq3zUTHozS6iHorSqg==", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/focus-ring/-/focus-ring-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-87qEMuXsCvlQfTiimnzJUZoebnIXWcMtRZevNLymN9Y0t9jGckQxZPmrI0llRkpyiR/Ewhec5SI/JGrFlYHnsA==", "dependencies": { - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0" + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0" } }, "node_modules/@material/form-field": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/form-field/-/form-field-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-vpF9N/uq5no/7+8GAbEH0868FhOuBgxAWRr1Sfb+jthKfBr8OS/wPU/AHzZHdHdAm7PQynbeOXfDsX2dI//PDA==", - "dependencies": { - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/form-field/-/form-field-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-Tg1SQQaopvXMyDEYxGTWnhCWQmNcWVIoKMLmle9P/gi2p8ulcj0iOCPYf+3ECqUBVozOmTPKlYOOiRwtKStAeA==", + "dependencies": { + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/icon-button": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/icon-button/-/icon-button-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-wMI+XGzmIN/o2ePBKg2hLyx7H4pXCRAyyIKMQS1FMp1UKa2tYmiHVX/V8skhKwCqxg3i6Ls/LxMjfPxTR18WvQ==", - "dependencies": { - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/density": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/focus-ring": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/touch-target": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/icon-button/-/icon-button-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-X6DvOv4jpymHUjI7ZAbO946nDgGYKDwPZfkRzBE84gv2XEr2qfMuABhojxkYubRbt03oauBdcJVVMFCXkVhArQ==", + "dependencies": { + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/density": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/focus-ring": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/touch-target": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/image-list": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/image-list/-/image-list-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-Ol+uaHYBe5R/cgzlfh5ONnMVX0wO6fV74JMUcQCQlxP6lXau/edARo4tkRc7A7UJUkU3VRv0EpEjLoCRNUPGaA==", - "dependencies": { - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/image-list/-/image-list-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-kf903XFF1P+V5ZPXCt+7R6c55g4UyQE1ZHkTViCIJfd52gU40bHODMhTQy/ywBkwDeJfNk8uf1V1IM24WQYpxA==", + "dependencies": { + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/layout-grid": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/layout-grid/-/layout-grid-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-ALXE1mqFNb/RB2lVRQ3/r1Aufw2mFZnOjRE+boYDVepmAG/xWyPCyaGoavELJF5l4GAb0tXi8wA/8HeGbLOpuA==", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/layout-grid/-/layout-grid-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-OALBSGue8g1/mEwLYYi2d950dJFpNYKW87jPS9/KM65JKMyxoU7tU2d4An1BuyqK0r9sopGq6Pn/zhill0iLaw==", "dependencies": { "tslib": "^2.1.0" } }, "node_modules/@material/line-ripple": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/line-ripple/-/line-ripple-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-7hRx8C/e9i0P6pgQpNOMfTwSS2r1fwEvBL72QDVGLtLuoKKwsjjgP6Z0Jat/GeHJe87u9LQvGBoD4upt+of/HA==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/line-ripple/-/line-ripple-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-evjZxCu4iodiKtW8N0xjY8ACRXm3sY+4rAmq3vV5BmHWAJ3BobjbFYslDMZQ+4mu3HmwMatbJehKxHegahitNg==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/linear-progress": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/linear-progress/-/linear-progress-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-iJclt7mKmcMk6pqD7ocXKfCWZhqBoODp7N593jYlxVpTJuEz2wiVAjZUDn/YGj/Uz3CRH+2YFfOiLr9pwWjhDg==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/progress-indicator": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/linear-progress/-/linear-progress-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-jlXh+tIj+/o0Ks7fHdC/24fH6IXCAl2vF52U6NwT39ESrlwmlLhp3gtag5GSBHN5E7Z09nK871Yo1G/b1F+COg==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/progress-indicator": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/list": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/list/-/list-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-rQ+FCSdzmwTcT00IYE0uRV3CS4oGSccKFl9hkcF+aHFW61L7ORh/SCGUDPrEfQFrFkMn5f8qroVJjpUAMXBz4g==", - "dependencies": { - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/density": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/list/-/list-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-kY/i6VvFBb/W3VvCPvWRMzWvu7mvNFJ+R8ijfawDoAXiv4fj42GO4iFyTcFXaUevEPKp791pN/09BMJQ6jYEvA==", + "dependencies": { + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/density": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/menu": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/menu/-/menu-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-r7wzDLSGSI9629/mfpvsMzkVxpmV75kcD3IrW0Pcu6/Bv/1xi0EvjcUXzNJJoQlwN4Zj35Ymz/PCjZkIDIz68Q==", - "dependencies": { - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/list": "15.0.0-canary.684e33d25.0", - "@material/menu-surface": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/menu/-/menu-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-y6smNmLJ+U0DoXWbyqzW+VW/uWDuklhdGHc5MbZrTOhsKkhvoTVNMSOa+NFPU4gTwrplvUjaUvnIsQ0wygwD3g==", + "dependencies": { + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/list": "15.0.0-canary.b994146f6.0", + "@material/menu-surface": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/menu-surface": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/menu-surface/-/menu-surface-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-RVO5GAYcfWPaKwxsF/NhUAmrYXQCQBKvRQW0TIlbmAJz6lcFeTs6YZqF3u1C7qrL3ZQGz+sur/7ywj6QU0oMow==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/menu-surface/-/menu-surface-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-StmM3lrRn1iMEZfq532jpMNppqyBBy68FbPurKEsHuP/3q+CscfnwjrS9ym+JcHqXKMHnQXbL/49ymffRGX2AQ==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/notched-outline": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/notched-outline/-/notched-outline-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-9YHcBkvJLPVYzkHcWoTpBZAFrEd+j1hjhGxLhh0LuNrZe8VroUkZD1TTnUAPHRG3os6EqEWWaKb0RN+aPIF2yQ==", - "dependencies": { - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/floating-label": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/notched-outline/-/notched-outline-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-UZxU8jXM2t/bk/CiO0K+TSPspuJRZIyrYlIS0gd+qq/u8Gi2DpALBlLAh9Jeu46IUg4YGlPsNWYfe8p3QAVyoA==", + "dependencies": { + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/floating-label": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/progress-indicator": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/progress-indicator/-/progress-indicator-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-c0icji4faeNWUoqGENGC7Hav0Puxh0RwXIDVizffaUxKIGbajpIp5+4Zop73fK/xFLGMB/npg7TbP+aCGjQ3fw==", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/progress-indicator/-/progress-indicator-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-VT+mOQhohaM+pBX1rknbVOI6JCGKg9NiOHBoYljIvnexNeILE+mW9g6mtQ0ZCJPz0oMmiSAMLcuxMIcBXx84Xw==", "dependencies": { "tslib": "^2.1.0" } }, "node_modules/@material/radio": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/radio/-/radio-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-U3Eh8sNUA8trDla1Bq8Bo02foxYvtoewaKeF8A8tAju81XZ4jRiftfOsOWZDZEHCVbbCB2QwvutvFlnay5n+Aw==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/density": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/focus-ring": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/touch-target": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/radio/-/radio-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-U/RR2lVNWwEO2+kJtGz9XzvnOF0gAZn1krMY0z/eU9Wnl0OgPZbqQrxXMoVNv1pzKYSEwZQEGado/rv8qp7piA==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/density": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/focus-ring": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/touch-target": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/ripple": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/ripple/-/ripple-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-RyePu7SjIm/OuyyEieZ/gxiPYkNZOZHeid72WRcN9ofdlljj2pifcdPvcfZA+v/DMS33xo5GjG2L/Qj6ClWrKw==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/ripple/-/ripple-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-WzIbc8wYTzMOczqGXVCBPdNcv/73Ef8FwcQYsscGMaqCzgVsdpoqilTfsx7Ryyz6dQbyfmJqp7s+YpPujcezOA==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/rtl": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/rtl/-/rtl-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-NqdJl8Ayupp1Th+vCNCpVQHbUFOuF7TCte9LD1norTIBUF/QizIxWby2W5uUEiPbnh5j9PmE1CJtfLwKun3pcw==", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/rtl/-/rtl-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-H/W6BVn4Ygfkrf/FgSrNhbu1uY7PST2wlsjEYQt06EfAM0CDHEwSL1MwV4FmpQA/r40Q0PqoLN6moDrtCe5S8g==", "dependencies": { - "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/theme": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/segmented-button": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/segmented-button/-/segmented-button-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-bEGgg8vgXNLyukyV8HRjFMuQ6t6nm5LQ4Pgm22um61Yc8qyi0BOqV41OR4SVdUrUqZxh1aVD+p+4NN03+LfQXw==", - "dependencies": { - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/touch-target": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/segmented-button/-/segmented-button-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-jd+f4BTnU0tghxBpAM/XdVmruDXSoQ88TYSFWbrhulS+/c/ooCZURWvVC4mHNej+QR/fODkx4adbqkBiwwCtMw==", + "dependencies": { + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/touch-target": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/select": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/select/-/select-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-kf178/2TeEinTv0mgmSBcmmExQ2h7a7dtR1E3WuqQgisJ/R6+zVLMkC2CnfIyzxYX2vkuUTG0ue3Reh/6XiqSg==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/density": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/floating-label": "15.0.0-canary.684e33d25.0", - "@material/line-ripple": "15.0.0-canary.684e33d25.0", - "@material/list": "15.0.0-canary.684e33d25.0", - "@material/menu": "15.0.0-canary.684e33d25.0", - "@material/menu-surface": "15.0.0-canary.684e33d25.0", - "@material/notched-outline": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/select/-/select-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-5thEQS+B17JSm3I8D+mqQe2G3ArVnXJALTEEE9FmMUKwKYkrsLplm3FYuEXERZGJnYeTRdkdmhYY/YeocfZoyA==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/density": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/floating-label": "15.0.0-canary.b994146f6.0", + "@material/line-ripple": "15.0.0-canary.b994146f6.0", + "@material/list": "15.0.0-canary.b994146f6.0", + "@material/menu": "15.0.0-canary.b994146f6.0", + "@material/menu-surface": "15.0.0-canary.b994146f6.0", + "@material/notched-outline": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/shape": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/shape/-/shape-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-aEelpaTFmpnCji3TUGP9bVCS/bRVjUmLTHBPZtuu1gOrUVVtJ6kYOg73dZNJF+XOoNL2yOX/LRcKwsop29tptA==", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/shape/-/shape-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-sINM3gr3aLgdvqZVfqfXV5EB77owLLJjy+2NqchJ8ZPqucCJ+F/BsCBfLA2Wu3O4Sc9IpAEn/o1hzYm/CWAFAw==", "dependencies": { - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/slider": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/slider/-/slider-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-WVyK+2pSNSZmj07M2K/a3TADoQ9FBCndfNC/vE7/wGIg4dddJJK5KvQ+yruf9R2cSzTL/S1sZ5WpyyeM8E9HTw==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/slider/-/slider-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-dyT72+Kp//AEajJxDUVoMoizUjf2uggVMGXOaQ7FhpGHuf7LC3EyEjrrJ15efFzYgTjdJUU1YQkCwGmdt6CQsA==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/snackbar": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/snackbar/-/snackbar-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-itO+DCkOannZzR1/cCHcqAm7ifhuFvXmDItNoA8qLEcAyJDJJRkhpwj3XQ01yuo9gBFcSctp7Txt7e+Hncm/Jg==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/button": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/icon-button": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/snackbar/-/snackbar-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-fEhPASJossScNpcrNYrrH8uU+rUf6+kw7/ZMrpUzzz1lVXliL28jTNEmU1nFpcDI4M2GXH+Z64f7vl2hiMDG8g==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/button": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/icon-button": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/switch": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/switch/-/switch-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-Jxi0gl92yvvZZsAPxvVHzXx2ga+T/djMow98jvEczmpUorWnAhgiCr9CsSSRoosahWyRB8NLZOxUQrACxvffjw==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/density": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/focus-ring": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/switch/-/switch-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-czCXTUa30ILIf1J3exiuSVIRcodGATHexd3eWDq4sfHo4iMh4rBMaIxcqkmnb2iwE/mMTNyVfoauijx2QiNKrA==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/density": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/focus-ring": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", "safevalues": "^0.3.4", "tslib": "^2.1.0" } }, "node_modules/@material/tab": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/tab/-/tab-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-WQL3wj9syHNcfe8KbgGGUcA34M8C/xZ+n0Fkkh8Kk6puVwaU+xqUNihsxPY6YzKpmh4PZ4oJaBdiN8zvFT1zqQ==", - "dependencies": { - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/focus-ring": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/tab-indicator": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/tab/-/tab-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-ygswooiNdBNNDnQdbPX0nzDQu7oQlHo8vWZ0/xL4IPVEXabY5zCzsEbGNZw2u/syo56c/NHPyMsUmXDGRSXOvQ==", + "dependencies": { + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/focus-ring": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/tab-indicator": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/tab-bar": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/tab-bar/-/tab-bar-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-SW/cMaDsIGGkM1ag3A7GJRlmr8eXmObWsvitQJzh6Azr5zzZtSI+GQygkMesAEE1gbpqOVN8d40rh3H7VVIAcA==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/density": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/tab": "15.0.0-canary.684e33d25.0", - "@material/tab-indicator": "15.0.0-canary.684e33d25.0", - "@material/tab-scroller": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/tab-bar/-/tab-bar-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-F9NegACnFEWMu1pAAypV4Jd7qROeffkvEgVO28Xxk/CvzZxFz8kAjYJZ+rI6RUhPX3BhXzwsz/AlLwsJMT2tnA==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/density": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/tab": "15.0.0-canary.b994146f6.0", + "@material/tab-indicator": "15.0.0-canary.b994146f6.0", + "@material/tab-scroller": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/tab-indicator": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/tab-indicator/-/tab-indicator-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-kKICqSPqOlaf0lzaFFCmuOqPXJC+cK48Qmsc+m5o6fJhkmuZRCYpIwB2JeP+uZSOq/bTH+SrPtCtnVlgWg6ksA==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/tab-indicator/-/tab-indicator-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-8IH/DmwlZhQlw/2Y3aKrEvjEhZB+qbKUiyaij3BkTAexvyFeDBh5cLNjRpYkUJSGeSPhS6yu4SYzMHPmQEwQmA==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/tab-scroller": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/tab-scroller/-/tab-scroller-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-H6EU/TSiK/M2DyyORX5GEtXD9rKYxTMHC2VxsNWARPMFJGzgeW2ugYkFv+rKI1/c0bs0CJ4e+qFnOlBsQXZvyQ==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/tab": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/tab-scroller/-/tab-scroller-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-1MeWkr62OICfTv8oqhIZe6jFo0dKeMlUfB+/WcgnpoeMBszCOSlx5tQ4pedxUkuR3I+Z7rsTfSN0LavgF8bATA==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/tab": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/textfield": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/textfield/-/textfield-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-OvgpDXjvpyJTtAWskO69IDybFvDNzr9w2PN/Fk7yFm+uNVupaWz1Ew8lZ4gGslaTNSVmh2XcsvmzxcLINSiiNg==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/density": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/floating-label": "15.0.0-canary.684e33d25.0", - "@material/line-ripple": "15.0.0-canary.684e33d25.0", - "@material/notched-outline": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/textfield/-/textfield-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-Kxb3DoJ5o8u3Y1gRMHKmWrDl1TirVxuf/UFrxPFiCE3J1SqiE2VQpakiD1emZwp+LSKtbRsQ/iILYLB/h7Wuvw==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/density": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/floating-label": "15.0.0-canary.b994146f6.0", + "@material/line-ripple": "15.0.0-canary.b994146f6.0", + "@material/notched-outline": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/theme": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/theme/-/theme-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-AZxaXXAvRKzAi20RlMxzt2U5UmkCWyv7DMWEBXsxtG5Tk54mi1HsbVUp3fxDPTlmL7Pq8p1/DESg/o7TgRCVlw==", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/theme/-/theme-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-5tsZ92dAeUcZ9g9CrIkqX/GYc0M5DIfsydtI1PAidaBzr1Uokuh4rTZVQZBv7gyglF0yDua59lkb0I6wI9vxXg==", "dependencies": { - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/tokens": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/tokens/-/tokens-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-wVwbQOTCXDPKYPdHQHLr026y36MMFelID1CmbfRk6mSol4O8yE9U0fXcShfRDW8Qo5E3X31w9c2A6T3neJY7wQ==", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/tokens/-/tokens-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-jFqU7PtvGkrP8b8i2soCrYQInTrnZ1/rIPDi+Xm3sa/qSghCNwFrdJEqwcwtv1fPlJIOtzkIuVRYRmAP9rXQIQ==", "dependencies": { - "@material/elevation": "15.0.0-canary.684e33d25.0" + "@material/elevation": "15.0.0-canary.b994146f6.0" } }, "node_modules/@material/tooltip": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/tooltip/-/tooltip-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-dtm26QjxyQdinc8btgz6yys07b7bUW4FZgNF2EBPeGrICrPg7jf+JEvDziz5g8VMaTBQLOQRSCGy0MKuRlOjLw==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/button": "15.0.0-canary.684e33d25.0", - "@material/dom": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/tokens": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/tooltip/-/tooltip-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-bVzydXGn3fauHJ8pkh32DsdyRJXleeFQ4t7jZ/rcRik+n4G1BvYiblfuu3Z/OCC0m3TJDyMdJhd+sLqRDqLUUg==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/button": "15.0.0-canary.b994146f6.0", + "@material/dom": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/tokens": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "safevalues": "^0.3.4", "tslib": "^2.1.0" } }, "node_modules/@material/top-app-bar": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/top-app-bar/-/top-app-bar-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-1M+oupUxflfW7u81P1XlxoLZB8bLzwtpKofIfDNRbEsiKhlLTERJR3Yak3BGE9xakNMysAaBHlkb5MrN5bNPFw==", - "dependencies": { - "@material/animation": "15.0.0-canary.684e33d25.0", - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/elevation": "15.0.0-canary.684e33d25.0", - "@material/ripple": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/shape": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", - "@material/typography": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/top-app-bar/-/top-app-bar-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-VHq0wX3OJE1TKvjO8Qtlu+rv5EGoqAhNLBcEjpUUGoqHH/gpd356FEuIqJId4pUh5jaWf8T4ZU9xVbQGMtntzw==", + "dependencies": { + "@material/animation": "15.0.0-canary.b994146f6.0", + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/elevation": "15.0.0-canary.b994146f6.0", + "@material/ripple": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/shape": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", + "@material/typography": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/touch-target": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/touch-target/-/touch-target-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-zdE69Slg8+T7sTn1OwqZ6H7WBYac9mxJ/JlJqfTqthzIjZRcCxBSYymQJcDHjsrPnUojOtr9U4Tpm5YZ96TEkQ==", - "dependencies": { - "@material/base": "15.0.0-canary.684e33d25.0", - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/rtl": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/touch-target/-/touch-target-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-X26Y9OWvIqYOHo+sC2VMvOoeQWlUR3/yb7uPdfq92Y44zlQ4Vexgq7nEUblEiXQ8Fj+d0T9rIhRh1y9PP3Z2dw==", + "dependencies": { + "@material/base": "15.0.0-canary.b994146f6.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/rtl": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@material/typography": { - "version": "15.0.0-canary.684e33d25.0", - "resolved": "https://registry.npmjs.org/@material/typography/-/typography-15.0.0-canary.684e33d25.0.tgz", - "integrity": "sha512-aVnvgMwcfNa/K4wujzpKDIxjGl2hbkEL+m+OKDSQqWYjKcP9QrbzCXJruJBqxrBoPRHLbqo47k5f9uT8raSgjw==", + "version": "15.0.0-canary.b994146f6.0", + "resolved": "https://registry.npmjs.org/@material/typography/-/typography-15.0.0-canary.b994146f6.0.tgz", + "integrity": "sha512-sWU5W30WWqdw5P6bsRx9AbvMNcz/QvQg56Syr06V6nfgSztpeuo7TfPk2J+N0ArRALo1mUrkAPk66iWYQ2p/QA==", "dependencies": { - "@material/feature-targeting": "15.0.0-canary.684e33d25.0", - "@material/theme": "15.0.0-canary.684e33d25.0", + "@material/feature-targeting": "15.0.0-canary.b994146f6.0", + "@material/theme": "15.0.0-canary.b994146f6.0", "tslib": "^2.1.0" } }, "node_modules/@ngtools/webpack": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-15.2.9.tgz", - "integrity": "sha512-nOXUGqKkAEMlCcrhkDwWDzcVdKNH7MNRUXfNzsFc9zdeR/5p3qt6SVMN7OOE3NREyI7P6nzARc3S+6QDBjf3Jg==", + "version": "16.1.6", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-16.1.6.tgz", + "integrity": "sha512-rDE1bV3+Ys/VyeD6l7JKtbs3+bTQAfWhi7meEuq5mkaJHOERu6Z40ce866faAIX2I1AVpsSv8rLlb7kB7t7kzw==", "dev": true, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0", + "node": "^16.14.0 || >=18.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" }, "peerDependencies": { - "@angular/compiler-cli": "^15.0.0", - "typescript": ">=4.8.2 <5.0", + "@angular/compiler-cli": "^16.0.0", + "typescript": ">=4.9.3 <5.2", "webpack": "^5.54.0" } }, "node_modules/@ngx-translate/core": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@ngx-translate/core/-/core-14.0.0.tgz", - "integrity": "sha512-UevdwNCXMRCdJv//0kC8h2eSfmi02r29xeE8E9gJ1Al4D4jEJ7eiLPdjslTMc21oJNGguqqWeEVjf64SFtvw2w==", - "dependencies": { - "tslib": "^2.3.0" + "version": "15.0.0", + "resolved": "https://registry.npmjs.org/@ngx-translate/core/-/core-15.0.0.tgz", + "integrity": "sha512-Am5uiuR0bOOxyoercDnAA3rJVizo4RRqJHo8N3RqJ+XfzVP/I845yEnMADykOHvM6HkVm4SZSnJBOiz0Anx5BA==", + "engines": { + "node": "^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/core": ">=13.0.0", - "rxjs": "^6.5.3 || ^7.4.0" + "@angular/common": ">=16.0.0", + "@angular/core": ">=16.0.0", + "rxjs": "^6.5.5 || ^7.4.0" } }, "node_modules/@ngx-translate/http-loader": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@ngx-translate/http-loader/-/http-loader-7.0.0.tgz", - "integrity": "sha512-j+NpXXlcGVdyUNyY/qsJrqqeAdJdizCd+GKh3usXExSqy1aE9866jlAIL+xrfDU4w+LiMoma5pgE4emvFebZmA==", - "dependencies": { - "tslib": "^2.3.0" + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@ngx-translate/http-loader/-/http-loader-8.0.0.tgz", + "integrity": "sha512-SFMsdUcmHF5OdZkL1CHEoSAwbP5EbAOPTLLboOCRRoOg21P4GJx+51jxGdJeGve6LSKLf4Pay7BkTwmE6vxYlg==", + "engines": { + "node": "^16.13.0 || >=18.10.0" }, "peerDependencies": { - "@angular/common": ">=13.0.0", - "@ngx-translate/core": ">=14.0.0", - "rxjs": "^6.5.3 || ^7.4.0" + "@angular/common": ">=16.0.0", + "@angular/core": ">=16.0.0", + "@ngx-translate/core": ">=15.0.0", + "rxjs": "^6.5.5 || ^7.4.0" } }, "node_modules/@nodelib/fs.scandir": { @@ -4673,13 +4561,253 @@ "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", "dev": true, "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/which.js" + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@nrwl/devkit": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-16.5.1.tgz", + "integrity": "sha512-NB+DE/+AFJ7lKH/WBFyatJEhcZGj25F24ncDkwjZ6MzEiSOGOJS0LaV/R+VUsmS5EHTPXYOpn3zHWWAcJhyOmA==", + "dev": true, + "dependencies": { + "@nx/devkit": "16.5.1" + } + }, + "node_modules/@nrwl/tao": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-16.5.1.tgz", + "integrity": "sha512-x+gi/fKdM6uQNIti9exFlm3V5LBP3Y8vOEziO42HdOigyrXa0S0HD2WMpccmp6PclYKhwEDUjKJ39xh5sdh4Ig==", + "dev": true, + "dependencies": { + "nx": "16.5.1" + }, + "bin": { + "tao": "index.js" + } + }, + "node_modules/@nx/devkit": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-16.5.1.tgz", + "integrity": "sha512-T1acZrVVmJw/sJ4PIGidCBYBiBqlg/jT9e8nIGXLSDS20xcLvfo4zBQf8UZLrmHglnwwpDpOWuVJCp2rYA5aDg==", + "dev": true, + "dependencies": { + "@nrwl/devkit": "16.5.1", + "ejs": "^3.1.7", + "ignore": "^5.0.4", + "semver": "7.5.3", + "tmp": "~0.2.1", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "nx": ">= 15 <= 17" + } + }, + "node_modules/@nx/devkit/node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/@nx/devkit/node_modules/semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@nx/nx-darwin-arm64": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-16.5.1.tgz", + "integrity": "sha512-q98TFI4B/9N9PmKUr1jcbtD4yAFs1HfYd9jUXXTQOlfO9SbDjnrYJgZ4Fp9rMNfrBhgIQ4x1qx0AukZccKmH9Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-darwin-x64": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-16.5.1.tgz", + "integrity": "sha512-j9HmL1l8k7EVJ3eOM5y8COF93gqrydpxCDoz23ZEtsY+JHY77VAiRQsmqBgEx9GGA2dXi9VEdS67B0+1vKariw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-freebsd-x64": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-16.5.1.tgz", + "integrity": "sha512-CXSPT01aVS869tvCCF2tZ7LnCa8l41wJ3mTVtWBkjmRde68E5Up093hklRMyXb3kfiDYlfIKWGwrV4r0eH6x1A==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-linux-arm-gnueabihf": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-16.5.1.tgz", + "integrity": "sha512-BhrumqJSZCWFfLFUKl4CAUwR0Y0G2H5EfFVGKivVecEQbb+INAek1aa6c89evg2/OvetQYsJ+51QknskwqvLsA==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-linux-arm64-gnu": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-16.5.1.tgz", + "integrity": "sha512-x7MsSG0W+X43WVv7JhiSq2eKvH2suNKdlUHEG09Yt0vm3z0bhtym1UCMUg3IUAK7jy9hhLeDaFVFkC6zo+H/XQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-linux-arm64-musl": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-16.5.1.tgz", + "integrity": "sha512-J+/v/mFjOm74I0PNtH5Ka+fDd+/dWbKhpcZ2R1/6b9agzZk+Ff/SrwJcSYFXXWKbPX+uQ4RcJoytT06Zs3s0ow==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-linux-x64-gnu": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-16.5.1.tgz", + "integrity": "sha512-igooWJ5YxQ94Zft7IqgL+Lw0qHaY15Btw4gfK756g/YTYLZEt4tTvR1y6RnK/wdpE3sa68bFTLVBNCGTyiTiDQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-linux-x64-musl": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-16.5.1.tgz", + "integrity": "sha512-zF/exnPqFYbrLAduGhTmZ7zNEyADid2bzNQiIjJkh8Y6NpDwrQIwVIyvIxqynsjMrIs51kBH+8TUjKjj2Jgf5A==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-win32-arm64-msvc": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-16.5.1.tgz", + "integrity": "sha512-qtqiLS9Y9TYyAbbpq58kRoOroko4ZXg5oWVqIWFHoxc5bGPweQSJCROEqd1AOl2ZDC6BxfuVHfhDDop1kK05WA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-win32-x64-msvc": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-16.5.1.tgz", + "integrity": "sha512-kUJBLakK7iyA9WfsGGQBVennA4jwf5XIgm0lu35oMOphtZIluvzItMt0EYBmylEROpmpEIhHq0P6J9FA+WH0Rg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@parcel/watcher": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.4.tgz", + "integrity": "sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "node-addon-api": "^3.2.1", + "node-gyp-build": "^4.3.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, "node_modules/@pkgjs/parseargs": { @@ -4693,27 +4821,21 @@ } }, "node_modules/@schematics/angular": { - "version": "15.2.9", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-15.2.9.tgz", - "integrity": "sha512-0Lit6TLNUwcAYiEkXgZp3vY9xAO1cnZCBXuUcp+6v+Ddnrt2w/YOiGe74p21cYe0StkTpTljsqsKBTiX7TMjQg==", + "version": "16.1.6", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-16.1.6.tgz", + "integrity": "sha512-BxghkeLfnMgV0D4DZDcbfPpox/Orw1ismSVGoQMIV/Daj2pqfSK+n97NAu0r0EsQyR5agPxOX9khVft+otODhg==", "dev": true, "dependencies": { - "@angular-devkit/core": "15.2.9", - "@angular-devkit/schematics": "15.2.9", + "@angular-devkit/core": "16.1.6", + "@angular-devkit/schematics": "16.1.6", "jsonc-parser": "3.2.0" }, "engines": { - "node": "^14.20.0 || ^16.13.0 || >=18.10.0", + "node": "^16.14.0 || >=18.10.0", "npm": "^6.11.0 || ^7.5.6 || >=8.0.0", "yarn": ">= 1.13.0" } }, - "node_modules/@schematics/angular/node_modules/jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true - }, "node_modules/@sigstore/bundle": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-1.0.0.tgz", @@ -4889,9 +5011,9 @@ } }, "node_modules/@types/estree": { - "version": "0.0.51", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.51.tgz", - "integrity": "sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.1.tgz", + "integrity": "sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==", "dev": true }, "node_modules/@types/express": { @@ -4961,12 +5083,6 @@ "resolved": "https://registry.npmjs.org/@types/pako/-/pako-1.0.3.tgz", "integrity": "sha512-EDxOsHAD5dqjbjEUM1xwa7rpKPFb8ECBE5irONTQU7/OsO3thI5YrNEWSPNMvYmvFM0l/OLQJ6Mgw7PEdXSjhg==" }, - "node_modules/@types/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", - "dev": true - }, "node_modules/@types/q": { "version": "0.0.32", "resolved": "https://registry.npmjs.org/@types/q/-/q-0.0.32.tgz", @@ -5206,13 +5322,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "5.48.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.48.2.tgz", - "integrity": "sha512-QVWx7J5sPMRiOMJp5dYshPxABRoZV1xbRirqSk8yuIIsu0nvMTZesKErEA3Oix1k+uvsk8Cs8TGJ6kQ0ndAcew==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz", + "integrity": "sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "5.48.2", - "@typescript-eslint/utils": "5.48.2", + "@typescript-eslint/typescript-estree": "5.62.0", + "@typescript-eslint/utils": "5.62.0", "debug": "^4.3.4", "tsutils": "^3.21.0" }, @@ -5233,9 +5349,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "5.48.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.48.2.tgz", - "integrity": "sha512-hE7dA77xxu7ByBc6KCzikgfRyBCTst6dZQpwaTy25iMYOnbNljDT4hjhrGEJJ0QoMjrfqrx+j1l1B9/LtKeuqA==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", + "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -5246,13 +5362,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "5.48.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.2.tgz", - "integrity": "sha512-bibvD3z6ilnoVxUBFEgkO0k0aFvUc4Cttt0dAreEr+nrAHhWzkO83PEVVuieK3DqcgL6VAK5dkzK8XUVja5Zcg==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", + "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.48.2", - "@typescript-eslint/visitor-keys": "5.48.2", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -5273,12 +5389,12 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.48.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.48.2.tgz", - "integrity": "sha512-z9njZLSkwmjFWUelGEwEbdf4NwKvfHxvGC0OcGN1Hp/XNDIcJ7D5DpPNPv6x6/mFvc1tQHsaWmpD/a4gOvvCJQ==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", + "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.48.2", + "@typescript-eslint/types": "5.62.0", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -5496,18 +5612,18 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "5.48.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.48.2.tgz", - "integrity": "sha512-2h18c0d7jgkw6tdKTlNaM7wyopbLRBiit8oAxoP89YnuBOzCZ8g8aBCaCqq7h208qUTroL7Whgzam7UY3HVLow==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.62.0.tgz", + "integrity": "sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==", "dev": true, "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", "@types/json-schema": "^7.0.9", "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.48.2", - "@typescript-eslint/types": "5.48.2", - "@typescript-eslint/typescript-estree": "5.48.2", + "@typescript-eslint/scope-manager": "5.62.0", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/typescript-estree": "5.62.0", "eslint-scope": "^5.1.1", - "eslint-utils": "^3.0.0", "semver": "^7.3.7" }, "engines": { @@ -5522,13 +5638,13 @@ } }, "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/scope-manager": { - "version": "5.48.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.48.2.tgz", - "integrity": "sha512-zEUFfonQid5KRDKoI3O+uP1GnrFd4tIHlvs+sTJXiWuypUWMuDaottkJuR612wQfOkjYbsaskSIURV9xo4f+Fw==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz", + "integrity": "sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.48.2", - "@typescript-eslint/visitor-keys": "5.48.2" + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -5539,9 +5655,9 @@ } }, "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/types": { - "version": "5.48.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.48.2.tgz", - "integrity": "sha512-hE7dA77xxu7ByBc6KCzikgfRyBCTst6dZQpwaTy25iMYOnbNljDT4hjhrGEJJ0QoMjrfqrx+j1l1B9/LtKeuqA==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.62.0.tgz", + "integrity": "sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -5552,13 +5668,13 @@ } }, "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "5.48.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.2.tgz", - "integrity": "sha512-bibvD3z6ilnoVxUBFEgkO0k0aFvUc4Cttt0dAreEr+nrAHhWzkO83PEVVuieK3DqcgL6VAK5dkzK8XUVja5Zcg==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz", + "integrity": "sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.48.2", - "@typescript-eslint/visitor-keys": "5.48.2", + "@typescript-eslint/types": "5.62.0", + "@typescript-eslint/visitor-keys": "5.62.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -5579,12 +5695,12 @@ } }, "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.48.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.48.2.tgz", - "integrity": "sha512-z9njZLSkwmjFWUelGEwEbdf4NwKvfHxvGC0OcGN1Hp/XNDIcJ7D5DpPNPv6x6/mFvc1tQHsaWmpD/a4gOvvCJQ==", + "version": "5.62.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz", + "integrity": "sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.48.2", + "@typescript-eslint/types": "5.62.0", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -5696,148 +5812,148 @@ } }, "node_modules/@webassemblyjs/ast": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", - "integrity": "sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz", + "integrity": "sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==", "dev": true, "dependencies": { - "@webassemblyjs/helper-numbers": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1" + "@webassemblyjs/helper-numbers": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6" } }, "node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz", - "integrity": "sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz", + "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==", "dev": true }, "node_modules/@webassemblyjs/helper-api-error": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz", - "integrity": "sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz", + "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==", "dev": true }, "node_modules/@webassemblyjs/helper-buffer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz", - "integrity": "sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz", + "integrity": "sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==", "dev": true }, "node_modules/@webassemblyjs/helper-numbers": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz", - "integrity": "sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz", + "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==", "dev": true, "dependencies": { - "@webassemblyjs/floating-point-hex-parser": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", + "@webassemblyjs/floating-point-hex-parser": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", "@xtuc/long": "4.2.2" } }, "node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz", - "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz", + "integrity": "sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==", "dev": true }, "node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz", - "integrity": "sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz", + "integrity": "sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==", "dev": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6" } }, "node_modules/@webassemblyjs/ieee754": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz", - "integrity": "sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz", + "integrity": "sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==", "dev": true, "dependencies": { "@xtuc/ieee754": "^1.2.0" } }, "node_modules/@webassemblyjs/leb128": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.1.tgz", - "integrity": "sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.6.tgz", + "integrity": "sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==", "dev": true, "dependencies": { "@xtuc/long": "4.2.2" } }, "node_modules/@webassemblyjs/utf8": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.1.tgz", - "integrity": "sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.6.tgz", + "integrity": "sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==", "dev": true }, "node_modules/@webassemblyjs/wasm-edit": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz", - "integrity": "sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz", + "integrity": "sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==", "dev": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/helper-wasm-section": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-opt": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", - "@webassemblyjs/wast-printer": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/helper-wasm-section": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-opt": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6", + "@webassemblyjs/wast-printer": "1.11.6" } }, "node_modules/@webassemblyjs/wasm-gen": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz", - "integrity": "sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz", + "integrity": "sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==", "dev": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" } }, "node_modules/@webassemblyjs/wasm-opt": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz", - "integrity": "sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz", + "integrity": "sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==", "dev": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-buffer": "1.11.1", - "@webassemblyjs/wasm-gen": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-buffer": "1.11.6", + "@webassemblyjs/wasm-gen": "1.11.6", + "@webassemblyjs/wasm-parser": "1.11.6" } }, "node_modules/@webassemblyjs/wasm-parser": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz", - "integrity": "sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz", + "integrity": "sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==", "dev": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/helper-api-error": "1.11.1", - "@webassemblyjs/helper-wasm-bytecode": "1.11.1", - "@webassemblyjs/ieee754": "1.11.1", - "@webassemblyjs/leb128": "1.11.1", - "@webassemblyjs/utf8": "1.11.1" + "@webassemblyjs/ast": "1.11.6", + "@webassemblyjs/helper-api-error": "1.11.6", + "@webassemblyjs/helper-wasm-bytecode": "1.11.6", + "@webassemblyjs/ieee754": "1.11.6", + "@webassemblyjs/leb128": "1.11.6", + "@webassemblyjs/utf8": "1.11.6" } }, "node_modules/@webassemblyjs/wast-printer": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz", - "integrity": "sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg==", + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz", + "integrity": "sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==", "dev": true, "dependencies": { - "@webassemblyjs/ast": "1.11.1", + "@webassemblyjs/ast": "1.11.6", "@xtuc/long": "4.2.2" } }, @@ -5859,6 +5975,37 @@ "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", "dev": true }, + "node_modules/@yarnpkg/parsers": { + "version": "3.0.0-rc.46", + "resolved": "https://registry.npmjs.org/@yarnpkg/parsers/-/parsers-3.0.0-rc.46.tgz", + "integrity": "sha512-aiATs7pSutzda/rq8fnuPwTglyVwjM22bNnK2ZgjrpAjQHSSl3lztd2f9evst1W/qnC58DRz7T7QndUDumAR4Q==", + "dev": true, + "dependencies": { + "js-yaml": "^3.10.0", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=14.15.0" + } + }, + "node_modules/@zkochan/js-yaml": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz", + "integrity": "sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@zkochan/js-yaml/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, "node_modules/abab": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", @@ -6202,12 +6349,12 @@ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" }, "node_modules/aria-query": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.1.3.tgz", - "integrity": "sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz", + "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==", "dev": true, "dependencies": { - "deep-equal": "^2.0.5" + "dequal": "^2.0.3" } }, "node_modules/array-buffer-byte-length": { @@ -6286,6 +6433,12 @@ "node": ">=0.8" } }, + "node_modules/async": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", + "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", + "dev": true + }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -6293,9 +6446,9 @@ "dev": true }, "node_modules/autoprefixer": { - "version": "10.4.13", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.13.tgz", - "integrity": "sha512-49vKpMqcZYsJjwotvt4+h/BCjJVnhGwcLpDt5xkcaOG3eLrG/HUYLagrihYsQ+qrIBgIzX1Rw7a6L8I/ZA1Atg==", + "version": "10.4.14", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.14.tgz", + "integrity": "sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==", "dev": true, "funding": [ { @@ -6308,8 +6461,8 @@ } ], "dependencies": { - "browserslist": "^4.21.4", - "caniuse-lite": "^1.0.30001426", + "browserslist": "^4.21.5", + "caniuse-lite": "^1.0.30001464", "fraction.js": "^4.2.0", "normalize-range": "^0.1.2", "picocolors": "^1.0.0", @@ -6352,6 +6505,31 @@ "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", "dev": true }, + "node_modules/axios": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", + "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", + "dev": true, + "dependencies": { + "follow-redirects": "^1.15.0", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/axios/node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/axobject-query": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.1.1.tgz", @@ -6395,17 +6573,17 @@ } }, "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz", - "integrity": "sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q==", + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.5.tgz", + "integrity": "sha512-19hwUH5FKl49JEsvyTcoHakh6BE0wgXLLptIyKZ3PijHc/Ci521wygORCUCCred+E/twuqRyAkE02BAWPmsHOg==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.17.7", - "@babel/helper-define-polyfill-provider": "^0.3.3", - "semver": "^6.1.1" + "@babel/compat-data": "^7.22.6", + "@babel/helper-define-polyfill-provider": "^0.4.2", + "semver": "^6.3.1" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, "node_modules/babel-plugin-polyfill-corejs2/node_modules/semver": { @@ -6418,28 +6596,28 @@ } }, "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.6.0.tgz", - "integrity": "sha512-+eHqR6OPcBhJOGgsIar7xoAB1GcSwVUA3XjAd7HJNzOXT4wv6/H7KIdA/Nc60cvUlDbKApmqNvD1B1bzOt4nyA==", + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.3.tgz", + "integrity": "sha512-z41XaniZL26WLrvjy7soabMXrfPWARN25PZoriDEiLMxAp50AUW3t35BGQUMg5xK3UrpVTtagIDklxYa+MhiNA==", "dev": true, "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.3.3", - "core-js-compat": "^3.25.1" + "@babel/helper-define-polyfill-provider": "^0.4.2", + "core-js-compat": "^3.31.0" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz", - "integrity": "sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw==", + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.2.tgz", + "integrity": "sha512-tAlOptU0Xj34V1Y2PNTL4Y0FOJMDB6bZmoW39FeCQIhigGLkqu3Fj6uiXpxIf6Ij274ENdYx64y6Au+ZKlb1IA==", "dev": true, "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.3.3" + "@babel/helper-define-polyfill-provider": "^0.4.2" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, "node_modules/balanced-match": { @@ -6760,21 +6938,20 @@ } }, "node_modules/cacache": { - "version": "17.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.0.4.tgz", - "integrity": "sha512-Z/nL3gU+zTUjz5pCA5vVjYM8pmaw2kxM7JEiE0fv3w77Wj+sFbi70CrBruUWH0uNcEdvLDixFpgA2JM4F4DBjA==", + "version": "17.1.3", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.3.tgz", + "integrity": "sha512-jAdjGxmPxZh0IipMdR7fK/4sDSrHMLUV0+GvVUsjwyGNKHsh79kW/otg+GkbXwl6Uzvy9wsvHOX4nUoWldeZMg==", "dev": true, "dependencies": { "@npmcli/fs": "^3.1.0", "fs-minipass": "^3.0.0", - "glob": "^8.0.1", + "glob": "^10.2.2", "lru-cache": "^7.7.1", - "minipass": "^4.0.0", + "minipass": "^5.0.0", "minipass-collect": "^1.0.2", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", "ssri": "^10.0.0", "tar": "^6.1.11", "unique-filename": "^3.0.0" @@ -6793,19 +6970,22 @@ } }, "node_modules/cacache/node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "version": "10.3.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", + "integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==", "dev": true, "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/cjs/src/bin.js" }, "engines": { - "node": ">=12" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -6821,15 +7001,18 @@ } }, "node_modules/cacache/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", "dev": true, "dependencies": { "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=10" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/call-bind": { @@ -7411,16 +7594,17 @@ } }, "node_modules/critters": { - "version": "0.0.16", - "resolved": "https://registry.npmjs.org/critters/-/critters-0.0.16.tgz", - "integrity": "sha512-JwjgmO6i3y6RWtLYmXwO5jMd+maZt8Tnfu7VVISmEWyQqfLpB8soBswf8/2bu6SBXxtKA68Al3c+qIG1ApT68A==", + "version": "0.0.19", + "resolved": "https://registry.npmjs.org/critters/-/critters-0.0.19.tgz", + "integrity": "sha512-Fm4ZAXsG0VzWy1U30rP4qxbaWGSsqXDgSupJW1OUJGDAs0KWC+j37v7p5a2kZ9BPJvhRzWm3be+Hc9WvQOBUOw==", "dev": true, "dependencies": { "chalk": "^4.1.0", - "css-select": "^4.2.0", - "parse5": "^6.0.1", - "parse5-htmlparser2-tree-adapter": "^6.0.1", - "postcss": "^8.3.7", + "css-select": "^5.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.2", + "htmlparser2": "^8.0.2", + "postcss": "^8.4.23", "pretty-bytes": "^5.3.0" } }, @@ -7508,15 +7692,15 @@ } }, "node_modules/css-loader": { - "version": "6.7.3", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.7.3.tgz", - "integrity": "sha512-qhOH1KlBMnZP8FzRO6YCH9UHXQhVMcEGLyNdb7Hv2cpcmJbW0YrddO+tG1ab5nT41KpHIYGsbeHqxB9xPu1pKQ==", + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-6.8.1.tgz", + "integrity": "sha512-xDAXtEVGlD0gJ07iclwWVkLoZOpEvAWaSyf6W18S2pOC//K8+qUDIx8IIT3D+HjnmkJPQeesOPv5aiUaJsCM2g==", "dev": true, "dependencies": { "icss-utils": "^5.1.0", - "postcss": "^8.4.19", + "postcss": "^8.4.21", "postcss-modules-extract-imports": "^3.0.0", - "postcss-modules-local-by-default": "^4.0.0", + "postcss-modules-local-by-default": "^4.0.3", "postcss-modules-scope": "^3.0.0", "postcss-modules-values": "^4.0.0", "postcss-value-parser": "^4.2.0", @@ -7549,15 +7733,15 @@ } }, "node_modules/css-select": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.3.0.tgz", - "integrity": "sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz", + "integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==", "dev": true, "dependencies": { "boolbase": "^1.0.0", - "css-what": "^6.0.1", - "domhandler": "^4.3.1", - "domutils": "^2.8.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", "nth-check": "^2.0.1" }, "funding": { @@ -7884,13 +8068,13 @@ "node": ">= 0.8" } }, - "node_modules/dependency-graph": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz", - "integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==", + "node_modules/dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", "dev": true, "engines": { - "node": ">= 0.6.0" + "node": ">=6" } }, "node_modules/destroy": { @@ -7979,14 +8163,14 @@ } }, "node_modules/dom-serializer": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", - "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", "dev": true, "dependencies": { - "domelementtype": "^2.0.1", - "domhandler": "^4.2.0", - "entities": "^2.0.0" + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" }, "funding": { "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" @@ -8005,12 +8189,12 @@ ] }, "node_modules/domhandler": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", - "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", "dev": true, "dependencies": { - "domelementtype": "^2.2.0" + "domelementtype": "^2.3.0" }, "engines": { "node": ">= 4" @@ -8020,19 +8204,34 @@ } }, "node_modules/domutils": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", - "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", + "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", "dev": true, "dependencies": { - "dom-serializer": "^1.0.1", - "domelementtype": "^2.2.0", - "domhandler": "^4.2.0" + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" }, "funding": { "url": "https://github.com/fb55/domutils?sponsor=1" } }, + "node_modules/dotenv": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz", + "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/duplexer": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", + "dev": true + }, "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", @@ -8055,6 +8254,21 @@ "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", "dev": true }, + "node_modules/ejs": { + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.9.tgz", + "integrity": "sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==", + "dev": true, + "dependencies": { + "jake": "^10.8.5" + }, + "bin": { + "ejs": "bin/cli.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/electron-to-chromium": { "version": "1.4.477", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.477.tgz", @@ -8163,6 +8377,18 @@ "node": ">=10.13.0" } }, + "node_modules/enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "dev": true, + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": ">=8.6" + } + }, "node_modules/ent": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/ent/-/ent-2.2.0.tgz", @@ -8170,10 +8396,13 @@ "dev": true }, "node_modules/entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", - "dev": true, + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "devOptional": true, + "engines": { + "node": ">=0.12" + }, "funding": { "url": "https://github.com/fb55/entities?sponsor=1" } @@ -8242,9 +8471,9 @@ "dev": true }, "node_modules/es-module-lexer": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.9.3.tgz", - "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.3.0.tgz", + "integrity": "sha512-vZK7T0N2CBmBOixhmjdqx2gWVbFZ4DXZ/NyRMZVlJXPa7CyFS+/a4QQsDGDQy9ZfEzxFuNEsMLeQJnKP2p5/JA==", "dev": true }, "node_modules/es6-promise": { @@ -8262,12 +8491,11 @@ } }, "node_modules/esbuild": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.8.tgz", - "integrity": "sha512-g24ybC3fWhZddZK6R3uD2iF/RIPnRpwJAqLov6ouX3hMbY4+tKolP0VMF3zuIYCaXun+yHwS5IPQ91N2BT191g==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.19.tgz", + "integrity": "sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==", "dev": true, "hasInstallScript": true, - "optional": true, "bin": { "esbuild": "bin/esbuild" }, @@ -8275,34 +8503,34 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.17.8", - "@esbuild/android-arm64": "0.17.8", - "@esbuild/android-x64": "0.17.8", - "@esbuild/darwin-arm64": "0.17.8", - "@esbuild/darwin-x64": "0.17.8", - "@esbuild/freebsd-arm64": "0.17.8", - "@esbuild/freebsd-x64": "0.17.8", - "@esbuild/linux-arm": "0.17.8", - "@esbuild/linux-arm64": "0.17.8", - "@esbuild/linux-ia32": "0.17.8", - "@esbuild/linux-loong64": "0.17.8", - "@esbuild/linux-mips64el": "0.17.8", - "@esbuild/linux-ppc64": "0.17.8", - "@esbuild/linux-riscv64": "0.17.8", - "@esbuild/linux-s390x": "0.17.8", - "@esbuild/linux-x64": "0.17.8", - "@esbuild/netbsd-x64": "0.17.8", - "@esbuild/openbsd-x64": "0.17.8", - "@esbuild/sunos-x64": "0.17.8", - "@esbuild/win32-arm64": "0.17.8", - "@esbuild/win32-ia32": "0.17.8", - "@esbuild/win32-x64": "0.17.8" + "@esbuild/android-arm": "0.17.19", + "@esbuild/android-arm64": "0.17.19", + "@esbuild/android-x64": "0.17.19", + "@esbuild/darwin-arm64": "0.17.19", + "@esbuild/darwin-x64": "0.17.19", + "@esbuild/freebsd-arm64": "0.17.19", + "@esbuild/freebsd-x64": "0.17.19", + "@esbuild/linux-arm": "0.17.19", + "@esbuild/linux-arm64": "0.17.19", + "@esbuild/linux-ia32": "0.17.19", + "@esbuild/linux-loong64": "0.17.19", + "@esbuild/linux-mips64el": "0.17.19", + "@esbuild/linux-ppc64": "0.17.19", + "@esbuild/linux-riscv64": "0.17.19", + "@esbuild/linux-s390x": "0.17.19", + "@esbuild/linux-x64": "0.17.19", + "@esbuild/netbsd-x64": "0.17.19", + "@esbuild/openbsd-x64": "0.17.19", + "@esbuild/sunos-x64": "0.17.19", + "@esbuild/win32-arm64": "0.17.19", + "@esbuild/win32-ia32": "0.17.19", + "@esbuild/win32-x64": "0.17.19" } }, "node_modules/esbuild-wasm": { - "version": "0.17.8", - "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.17.8.tgz", - "integrity": "sha512-zCmpxv95E0FuCmvdw1K836UHnj4EdiQnFfjTby35y3LAjRPtXMj3sbHDRHjbD8Mqg5lTwq3knacr/1qIFU51CQ==", + "version": "0.17.19", + "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.17.19.tgz", + "integrity": "sha512-X9UQEMJMZXwlGCfqcBmJ1jEa+KrLfd+gCBypO/TSzo5hZvbVwFqpxj1YCuX54ptTF75wxmrgorR4RL40AKtLVg==", "dev": true, "bin": { "esbuild": "bin/esbuild" @@ -9037,6 +9265,36 @@ "node": "^10.12.0 || >=12.0.0" } }, + "node_modules/filelist": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", + "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", + "dev": true, + "dependencies": { + "minimatch": "^5.0.1" + } + }, + "node_modules/filelist/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/filelist/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", @@ -9195,6 +9453,15 @@ "node": ">=6" } }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "bin": { + "flat": "cli.js" + } + }, "node_modules/flat-cache": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", @@ -9340,6 +9607,12 @@ "node": ">= 0.6" } }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "dev": true + }, "node_modules/fs-extra": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", @@ -9366,15 +9639,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/fs-minipass/node_modules/minipass": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/fs-monkey": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.4.tgz", @@ -9770,18 +10034,13 @@ "dev": true }, "node_modules/highlight.js": { - "version": "10.7.2", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.2.tgz", - "integrity": "sha512-oFLl873u4usRM9K63j4ME9u3etNF0PLiJhSQ8rdfuL51Wn3zkD6drf9ZW0dOzjnZI22YYG24z30JcmfCZjMgYg==", + "version": "11.8.0", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.8.0.tgz", + "integrity": "sha512-MedQhoqVdr0U6SSnWPzfiadUcDHfN/Wzq25AkXiQv9oiOO/sG0S7XkvpFIqWBl9Yq1UYyYOOVORs5UW2XlPyzg==", "engines": { - "node": "*" + "node": ">=12.0.0" } }, - "node_modules/highlightjs-line-numbers.js": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/highlightjs-line-numbers.js/-/highlightjs-line-numbers.js-2.8.0.tgz", - "integrity": "sha512-TEf1gw0c8mb8nan0QwliqS7obT4cpUd9hzsGzsZLweteNnWea/VIqy5/aQqsa5wnz9lnvmtAkS1ZtDTjB/goYQ==" - }, "node_modules/hosted-git-info": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", @@ -9837,6 +10096,25 @@ "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", "dev": true }, + "node_modules/htmlparser2": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz", + "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==", + "dev": true, + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "entities": "^4.4.0" + } + }, "node_modules/http-cache-semantics": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", @@ -10247,15 +10525,6 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/inquirer/node_modules/rxjs": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", - "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", - "dev": true, - "dependencies": { - "tslib": "^2.1.0" - } - }, "node_modules/internal-slot": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", @@ -10756,7 +11025,7 @@ "node_modules/isobject": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", "dev": true, "engines": { "node": ">=0.10.0" @@ -10905,6 +11174,52 @@ "@pkgjs/parseargs": "^0.11.0" } }, + "node_modules/jake": { + "version": "10.8.7", + "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.7.tgz", + "integrity": "sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w==", + "dev": true, + "dependencies": { + "async": "^3.2.3", + "chalk": "^4.0.2", + "filelist": "^1.0.4", + "minimatch": "^3.1.2" + }, + "bin": { + "jake": "bin/cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/jake/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jake/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/jasmine": { "version": "3.7.0", "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-3.7.0.tgz", @@ -10984,6 +11299,15 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/jiti": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.19.1.tgz", + "integrity": "sha512-oVhqoRDaBXf7sjkll95LHVS6Myyyb1zaunVwk4Z0+WPSW4gjS0pl01zYKHScTuyEhQsFxV5L4DR5r+YqSyqyyg==", + "dev": true, + "bin": { + "jiti": "bin/jiti.js" + } + }, "node_modules/js-base64": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.2.tgz", @@ -11083,6 +11407,12 @@ "node": ">=6" } }, + "node_modules/jsonc-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", + "dev": true + }, "node_modules/jsonfile": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", @@ -11286,6 +11616,16 @@ "node": ">= 8" } }, + "node_modules/launch-editor": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.6.0.tgz", + "integrity": "sha512-JpDCcQnyAAzZZaZ7vEiSqL690w7dAEyLao+KC96zBplnYbJS7TYNjvM3M7y3dGz+v7aIsJk3hllWuc0kWAjyRQ==", + "dev": true, + "dependencies": { + "picocolors": "^1.0.0", + "shell-quote": "^1.7.3" + } + }, "node_modules/less": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/less/-/less-4.1.3.tgz", @@ -11505,9 +11845,9 @@ } }, "node_modules/magic-string": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.29.0.tgz", - "integrity": "sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==", + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.0.tgz", + "integrity": "sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==", "dev": true, "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.13" @@ -11592,15 +11932,6 @@ "node": ">=12" } }, - "node_modules/make-fetch-happen/node_modules/minipass": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -11708,9 +12039,9 @@ } }, "node_modules/mini-css-extract-plugin": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.2.tgz", - "integrity": "sha512-EdlUizq13o0Pd+uCp+WO/JpkLvHRVGt97RqfeGhXqAcorYo1ypJSpkV+WDT0vY/kmh/p7wRdJNJtuyK540PXDw==", + "version": "2.7.6", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.6.tgz", + "integrity": "sha512-Qk7HcgaPkGG6eD77mLvZS1nmxlao3j+9PkrT9Uc7HAE1id3F41+DdBRYRYkbyfNRGzm8/YWtzhw7nVPmwhqTQw==", "dev": true, "dependencies": { "schema-utils": "^4.0.0" @@ -11733,9 +12064,9 @@ "dev": true }, "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", "dev": true, "dependencies": { "brace-expansion": "^1.1.7" @@ -11754,9 +12085,9 @@ } }, "node_modules/minipass": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz", - "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", "dev": true, "engines": { "node": ">=8" @@ -11803,15 +12134,6 @@ "encoding": "^0.1.13" } }, - "node_modules/minipass-fetch/node_modules/minipass": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/minipass-flush": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", @@ -11952,6 +12274,15 @@ "node": ">=4" } }, + "node_modules/mrmime": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-1.0.1.tgz", + "integrity": "sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==", + "dev": true, + "engines": { + "node": ">=10" + } + }, "node_modules/ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", @@ -12080,18 +12411,17 @@ "dev": true }, "node_modules/ngx-highlightjs": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ngx-highlightjs/-/ngx-highlightjs-4.1.3.tgz", - "integrity": "sha512-4pVQ4EXNDjIes7u93iX5Seyzg7dZXLdw6eAMLEQnYZ/2n1s8Wb9SHS3v2dCiO1VjpVFnfWsHzKwNxgzWbIinqg==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/ngx-highlightjs/-/ngx-highlightjs-10.0.0.tgz", + "integrity": "sha512-F5VXB6vnpiTPMADUoCEkyc2wnqpKUNvfeAP4tO//NrwdQP2sQK6MfPg+jHL2adoJE5LIchsJlpq6C0r+KmlOSA==", "dependencies": { - "highlight.js": "*", - "highlightjs-line-numbers.js": "*", + "highlight.js": "^11.8.0", "tslib": "^2.0.0" }, "peerDependencies": { - "@angular/common": ">=8.0.0", - "@angular/core": ">=8.0.0", - "rxjs": ">=6.0.0" + "@angular/common": ">=16.0.0", + "@angular/core": ">=16.0.0", + "rxjs": ">=7.0.0" } }, "node_modules/nice-napi": { @@ -12124,8 +12454,7 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", - "dev": true, - "optional": true + "dev": true }, "node_modules/node-fetch": { "version": "2.6.7", @@ -12185,7 +12514,6 @@ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==", "dev": true, - "optional": true, "bin": { "node-gyp-build": "bin.js", "node-gyp-build-optional": "optional.js", @@ -12432,15 +12760,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/npm-registry-fetch/node_modules/minipass": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/npm-run-path": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", @@ -12458,26 +12777,302 @@ "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", "dev": true, - "dependencies": { - "are-we-there-yet": "^3.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^4.0.3", - "set-blocking": "^2.0.0" - }, + "dependencies": { + "are-we-there-yet": "^3.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^4.0.3", + "set-blocking": "^2.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "dev": true, + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/nx": { + "version": "16.5.1", + "resolved": "https://registry.npmjs.org/nx/-/nx-16.5.1.tgz", + "integrity": "sha512-I3hJRE4hG7JWAtncWwDEO3GVeGPpN0TtM8xH5ArZXyDuVeTth/i3TtJzdDzqXO1HHtIoAQN0xeq4n9cLuMil5g==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "@nrwl/tao": "16.5.1", + "@parcel/watcher": "2.0.4", + "@yarnpkg/lockfile": "^1.1.0", + "@yarnpkg/parsers": "3.0.0-rc.46", + "@zkochan/js-yaml": "0.0.6", + "axios": "^1.0.0", + "chalk": "^4.1.0", + "cli-cursor": "3.1.0", + "cli-spinners": "2.6.1", + "cliui": "^7.0.2", + "dotenv": "~10.0.0", + "enquirer": "~2.3.6", + "fast-glob": "3.2.7", + "figures": "3.2.0", + "flat": "^5.0.2", + "fs-extra": "^11.1.0", + "glob": "7.1.4", + "ignore": "^5.0.4", + "js-yaml": "4.1.0", + "jsonc-parser": "3.2.0", + "lines-and-columns": "~2.0.3", + "minimatch": "3.0.5", + "npm-run-path": "^4.0.1", + "open": "^8.4.0", + "semver": "7.5.3", + "string-width": "^4.2.3", + "strong-log-transformer": "^2.1.0", + "tar-stream": "~2.2.0", + "tmp": "~0.2.1", + "tsconfig-paths": "^4.1.2", + "tslib": "^2.3.0", + "v8-compile-cache": "2.3.0", + "yargs": "^17.6.2", + "yargs-parser": "21.1.1" + }, + "bin": { + "nx": "bin/nx.js" + }, + "optionalDependencies": { + "@nx/nx-darwin-arm64": "16.5.1", + "@nx/nx-darwin-x64": "16.5.1", + "@nx/nx-freebsd-x64": "16.5.1", + "@nx/nx-linux-arm-gnueabihf": "16.5.1", + "@nx/nx-linux-arm64-gnu": "16.5.1", + "@nx/nx-linux-arm64-musl": "16.5.1", + "@nx/nx-linux-x64-gnu": "16.5.1", + "@nx/nx-linux-x64-musl": "16.5.1", + "@nx/nx-win32-arm64-msvc": "16.5.1", + "@nx/nx-win32-x64-msvc": "16.5.1" + }, + "peerDependencies": { + "@swc-node/register": "^1.4.2", + "@swc/core": "^1.2.173" + }, + "peerDependenciesMeta": { + "@swc-node/register": { + "optional": true + }, + "@swc/core": { + "optional": true + } + } + }, + "node_modules/nx/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/nx/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/nx/node_modules/fast-glob": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", + "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nx/node_modules/fs-extra": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.1.tgz", + "integrity": "sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/nx/node_modules/glob": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", + "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + } + }, + "node_modules/nx/node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/nx/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/nx/node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/nx/node_modules/lines-and-columns": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.3.tgz", + "integrity": "sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w==", + "dev": true, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/nx/node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nx/node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/nx/node_modules/semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/nx/node_modules/universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/nx/node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/nx/node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/nx/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": ">=12" } }, - "node_modules/nth-check": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", - "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "node_modules/nx/node_modules/yargs/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "dev": true, "dependencies": { - "boolbase": "^1.0.0" + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" }, - "funding": { - "url": "https://github.com/fb55/nth-check?sponsor=1" + "engines": { + "node": ">=12" } }, "node_modules/oauth-sign": { @@ -12601,9 +13196,9 @@ } }, "node_modules/open": { - "version": "8.4.1", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.1.tgz", - "integrity": "sha512-/4b7qZNhv6Uhd7jjnREh1NjnPxlTq+XNWPG88Ydkj5AILcA5m3ajvcg57pB24EQjKv0dK62XnDqk9c/hkIG5Kg==", + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", + "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", "dev": true, "dependencies": { "define-lazy-prop": "^2.0.0", @@ -12765,9 +13360,9 @@ } }, "node_modules/pacote": { - "version": "15.1.0", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-15.1.0.tgz", - "integrity": "sha512-FFcjtIl+BQNfeliSm7MZz5cpdohvUV1yjGnqgVM4UnVF7JslRY0ImXAygdaCDV0jjUADEWu4y5xsDV8brtrTLg==", + "version": "15.2.0", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-15.2.0.tgz", + "integrity": "sha512-rJVZeIwHTUta23sIZgEIM62WYwbmGbThdbnkt81ravBplQv+HjyroqnLRNH2+sLJHcGZmLRmhPwACqhfTcOmnA==", "dev": true, "dependencies": { "@npmcli/git": "^4.0.0", @@ -12776,7 +13371,7 @@ "@npmcli/run-script": "^6.0.0", "cacache": "^17.0.0", "fs-minipass": "^3.0.0", - "minipass": "^4.0.0", + "minipass": "^5.0.0", "npm-package-arg": "^10.0.0", "npm-packlist": "^7.0.0", "npm-pick-manifest": "^8.0.0", @@ -12785,7 +13380,7 @@ "promise-retry": "^2.0.1", "read-package-json": "^6.0.0", "read-package-json-fast": "^3.0.0", - "sigstore": "^1.0.0", + "sigstore": "^1.3.0", "ssri": "^10.0.0", "tar": "^6.1.11" }, @@ -12845,10 +13440,16 @@ } }, "node_modules/parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", - "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", - "dev": true + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", + "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", + "devOptional": true, + "dependencies": { + "entities": "^4.4.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } }, "node_modules/parse5-html-rewriting-stream": { "version": "7.0.0", @@ -12864,39 +13465,6 @@ "url": "https://github.com/inikulin/parse5?sponsor=1" } }, - "node_modules/parse5-html-rewriting-stream/node_modules/entities": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", - "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "dev": true, - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/parse5-html-rewriting-stream/node_modules/parse5": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", - "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", - "dev": true, - "dependencies": { - "entities": "^4.4.0" - }, - "funding": { - "url": "https://github.com/inikulin/parse5?sponsor=1" - } - }, - "node_modules/parse5-htmlparser2-tree-adapter": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz", - "integrity": "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==", - "dev": true, - "dependencies": { - "parse5": "^6.0.1" - } - }, "node_modules/parse5-sax-parser": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-7.0.0.tgz", @@ -12909,30 +13477,6 @@ "url": "https://github.com/inikulin/parse5?sponsor=1" } }, - "node_modules/parse5-sax-parser/node_modules/entities": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", - "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "dev": true, - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/parse5-sax-parser/node_modules/parse5": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", - "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", - "dev": true, - "dependencies": { - "entities": "^4.4.0" - }, - "funding": { - "url": "https://github.com/inikulin/parse5?sponsor=1" - } - }, "node_modules/parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", @@ -13005,15 +13549,6 @@ "node": "14 || >=16.14" } }, - "node_modules/path-scurry/node_modules/minipass": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.2.tgz", - "integrity": "sha512-eL79dXrE1q9dBbDCLg7xfn/vl7MS4F1gvJAgjJrQli/jbQWdUttuVawphqpffoIYfRdq78LHx6GP4bU/EQ2ATA==", - "dev": true, - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, "node_modules/path-to-regexp": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", @@ -13119,9 +13654,9 @@ } }, "node_modules/postcss": { - "version": "8.4.21", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz", - "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", + "version": "8.4.24", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz", + "integrity": "sha512-M0RzbcI0sO/XJNucsGjvWU9ERWxb/ytp1w6dKtxTKgixdtQDq4rmx/g8W1hnaheq9jgwL/oyEdH5Bc4WwJKMqg==", "dev": true, "funding": [ { @@ -13131,10 +13666,14 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], "dependencies": { - "nanoid": "^3.3.4", + "nanoid": "^3.3.6", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" }, @@ -13143,13 +13682,14 @@ } }, "node_modules/postcss-loader": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-7.0.2.tgz", - "integrity": "sha512-fUJzV/QH7NXUAqV8dWJ9Lg4aTkDCezpTS5HgJ2DvqznexTbSTxgi/dTECvTZ15BwKTtk8G/bqI/QTu2HPd3ZCg==", + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-7.3.2.tgz", + "integrity": "sha512-c7qDlXErX6n0VT+LUsW+nwefVtTu3ORtVvK8EXuUIDcxo+b/euYqpuHlJAvePb0Af5e8uMjR/13e0lTuYifaig==", "dev": true, "dependencies": { - "cosmiconfig": "^7.0.0", - "klona": "^2.0.5", + "cosmiconfig": "^8.1.3", + "jiti": "^1.18.2", + "klona": "^2.0.6", "semver": "^7.3.8" }, "engines": { @@ -13164,20 +13704,28 @@ "webpack": "^5.0.0" } }, + "node_modules/postcss-loader/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, "node_modules/postcss-loader/node_modules/cosmiconfig": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", - "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.2.0.tgz", + "integrity": "sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ==", "dev": true, "dependencies": { - "@types/parse-json": "^4.0.0", "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.10.0" + "path-type": "^4.0.0" }, "engines": { - "node": ">=10" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" } }, "node_modules/postcss-loader/node_modules/import-fresh": { @@ -13196,6 +13744,18 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/postcss-loader/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, "node_modules/postcss-loader/node_modules/parse-json": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", @@ -13836,6 +14396,12 @@ "node": ">= 0.10" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "dev": true + }, "node_modules/prr": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", @@ -14070,15 +14636,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/read-package-json/node_modules/minipass": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.2.tgz", - "integrity": "sha512-eL79dXrE1q9dBbDCLg7xfn/vl7MS4F1gvJAgjJrQli/jbQWdUttuVawphqpffoIYfRdq78LHx6GP4bU/EQ2ATA==", - "dev": true, - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, "node_modules/read-package-json/node_modules/normalize-package-data": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz", @@ -14360,12 +14917,12 @@ "dev": true }, "node_modules/resolve": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.2.tgz", + "integrity": "sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==", "dev": true, "dependencies": { - "is-core-module": "^2.9.0", + "is-core-module": "^2.11.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -14465,6 +15022,22 @@ "rimraf": "bin.js" } }, + "node_modules/rollup": { + "version": "3.27.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.27.0.tgz", + "integrity": "sha512-aOltLCrYZ0FhJDm7fCqwTjIUEVjWjcydKBV/Zeid6Mn8BWgDCUBBWT5beM5ieForYNo/1ZHuGJdka26kvQ3Gzg==", + "dev": true, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=14.18.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, "node_modules/run-async": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", @@ -14510,21 +15083,13 @@ } }, "node_modules/rxjs": { - "version": "6.6.7", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", - "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", "dependencies": { - "tslib": "^1.9.0" - }, - "engines": { - "npm": ">=2.0.0" + "tslib": "^2.1.0" } }, - "node_modules/rxjs/node_modules/tslib": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", - "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==" - }, "node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", @@ -14542,9 +15107,9 @@ "integrity": "sha512-LRneZZRXNgjzwG4bDQdOTSbze3fHm1EAKN/8bePxnlEZiBmkYEDggaHbuvHI9/hoqHbGfsEA7tWS9GhYHZBBsw==" }, "node_modules/sass": { - "version": "1.58.1", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.58.1.tgz", - "integrity": "sha512-bnINi6nPXbP1XNRaranMFEBZWUfdW/AF16Ql5+ypRxfTvCRTTKrLsMIakyDcayUt2t/RZotmL4kgJwNH5xO+bg==", + "version": "1.63.2", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.63.2.tgz", + "integrity": "sha512-u56TU0AIFqMtauKl/OJ1AeFsXqRHkgO7nCWmHaDwfxDo9GUMSqBA4NEh6GMuh1CYVM7zuROYtZrHzPc2ixK+ww==", "dev": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0", @@ -14555,16 +15120,16 @@ "sass": "sass.js" }, "engines": { - "node": ">=12.0.0" + "node": ">=14.0.0" } }, "node_modules/sass-loader": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-13.2.0.tgz", - "integrity": "sha512-JWEp48djQA4nbZxmgC02/Wh0eroSUutulROUusYJO9P9zltRbNN80JCBHqRGzjd4cmZCa/r88xgfkjGD0TXsHg==", + "version": "13.3.1", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-13.3.1.tgz", + "integrity": "sha512-cBTxmgyVA1nXPvIK4brjJMXOMJ2v2YrQEuHqLw3LylGb3gsR6jAvdjHMcy/+JGTmmIF9SauTrLLR7bsWDMWqgg==", "dev": true, "dependencies": { - "klona": "^2.0.4", + "klona": "^2.0.6", "neo-async": "^2.6.2" }, "engines": { @@ -14576,7 +15141,7 @@ }, "peerDependencies": { "fibers": ">= 3.1.0", - "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0", + "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0", "sass": "^1.3.0", "sass-embedded": "*", "webpack": "^5.0.0" @@ -14943,6 +15508,15 @@ "node": ">=0.10.0" } }, + "node_modules/shell-quote": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", + "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", @@ -15260,15 +15834,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/ssri/node_modules/minipass": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/statuses": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", @@ -15435,6 +16000,15 @@ "node": ">=8" } }, + "node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, "node_modules/strip-eof": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", @@ -15465,6 +16039,23 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/strong-log-transformer": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz", + "integrity": "sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA==", + "dev": true, + "dependencies": { + "duplexer": "^0.1.1", + "minimist": "^1.2.0", + "through": "^2.3.4" + }, + "bin": { + "sl-log-transformer": "bin/sl-log-transformer.js" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -15533,6 +16124,36 @@ "node": ">=10" } }, + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "dev": true, + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tar-stream/node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/tar/node_modules/fs-minipass": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", @@ -15557,15 +16178,6 @@ "node": ">=8" } }, - "node_modules/tar/node_modules/minipass": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", - "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/tar/node_modules/mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", @@ -15579,13 +16191,13 @@ } }, "node_modules/terser": { - "version": "5.16.3", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.16.3.tgz", - "integrity": "sha512-v8wWLaS/xt3nE9dgKEWhNUFP6q4kngO5B8eYFUuebsu7Dw/UNAnpUod6UHo04jSSkv8TzKHjZDSd7EXdDQAl8Q==", + "version": "5.17.7", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.17.7.tgz", + "integrity": "sha512-/bi0Zm2C6VAexlGgLlVxA0P2lru/sdLyfCVaRMfKVo9nWxbmz7f/sD8VPybPeSUJaJcwmCJis9pBIhcVcG1QcQ==", "dev": true, "dependencies": { - "@jridgewell/source-map": "^0.3.2", - "acorn": "^8.5.0", + "@jridgewell/source-map": "^0.3.3", + "acorn": "^8.8.2", "commander": "^2.20.0", "source-map-support": "~0.5.20" }, @@ -15819,10 +16431,24 @@ "integrity": "sha512-FZIXf1ksVyLcfr7M317jbB67XFJhOO1YqdTcuGaq9q5jLUoTikukZ+98TPjKiP2jC5CgmYdWWYs0s2nLSU0/1A==", "dev": true }, + "node_modules/tsconfig-paths": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", + "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", + "dev": true, + "dependencies": { + "json5": "^2.2.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==" + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", + "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==" }, "node_modules/tslint": { "version": "6.1.3", @@ -15964,16 +16590,16 @@ "dev": true }, "node_modules/typescript": { - "version": "4.8.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", - "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", + "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/ua-parser-js": { @@ -16319,22 +16945,22 @@ "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" }, "node_modules/webpack": { - "version": "5.76.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.76.1.tgz", - "integrity": "sha512-4+YIK4Abzv8172/SGqObnUjaIHjLEuUasz9EwQj/9xmPPkYJy2Mh03Q/lJfSD3YLzbxy5FeTq5Uw0323Oh6SJQ==", + "version": "5.86.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.86.0.tgz", + "integrity": "sha512-3BOvworZ8SO/D4GVP+GoRC3fVeg5MO4vzmq8TJJEkdmopxyazGDxN8ClqN12uzrZW9Tv8EED8v5VSb6Sqyi0pg==", "dev": true, "dependencies": { "@types/eslint-scope": "^3.7.3", - "@types/estree": "^0.0.51", - "@webassemblyjs/ast": "1.11.1", - "@webassemblyjs/wasm-edit": "1.11.1", - "@webassemblyjs/wasm-parser": "1.11.1", + "@types/estree": "^1.0.0", + "@webassemblyjs/ast": "^1.11.5", + "@webassemblyjs/wasm-edit": "^1.11.5", + "@webassemblyjs/wasm-parser": "^1.11.5", "acorn": "^8.7.1", - "acorn-import-assertions": "^1.7.6", + "acorn-import-assertions": "^1.9.0", "browserslist": "^4.14.5", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.10.0", - "es-module-lexer": "^0.9.0", + "enhanced-resolve": "^5.14.1", + "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", "glob-to-regexp": "^0.4.1", @@ -16343,9 +16969,9 @@ "loader-runner": "^4.2.0", "mime-types": "^2.1.27", "neo-async": "^2.6.2", - "schema-utils": "^3.1.0", + "schema-utils": "^3.1.2", "tapable": "^2.1.1", - "terser-webpack-plugin": "^5.1.3", + "terser-webpack-plugin": "^5.3.7", "watchpack": "^2.4.0", "webpack-sources": "^3.2.3" }, @@ -16366,9 +16992,9 @@ } }, "node_modules/webpack-dev-middleware": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-6.0.1.tgz", - "integrity": "sha512-PZPZ6jFinmqVPJZbisfggDiC+2EeGZ1ZByyMP5sOFJcPPWSexalISz+cvm+j+oYPT7FIJyxT76esjnw9DhE5sw==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-6.1.1.tgz", + "integrity": "sha512-y51HrHaFeeWir0YO4f0g+9GwZawuigzcAdRNon6jErXy/SqV/+O6eaVAzDqE6t3e3NpGeR5CS+cCDaTC+V3yEQ==", "dev": true, "dependencies": { "colorette": "^2.0.10", @@ -16386,12 +17012,17 @@ }, "peerDependencies": { "webpack": "^5.0.0" + }, + "peerDependenciesMeta": { + "webpack": { + "optional": true + } } }, "node_modules/webpack-dev-server": { - "version": "4.11.1", - "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.11.1.tgz", - "integrity": "sha512-lILVz9tAUy1zGFwieuaQtYiadImb5M3d+H+L1zDYalYoDl0cksAB1UNyuE5MMWJrG6zR1tXkCP2fitl7yoUJiw==", + "version": "4.15.0", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.15.0.tgz", + "integrity": "sha512-HmNB5QeSl1KpulTBQ8UT4FPrByYyaLxpJoQ0+s7EvUrMc16m0ZS1sgb1XGqzmgCPk0c9y+aaXxn11tbLzuM7NQ==", "dev": true, "dependencies": { "@types/bonjour": "^3.5.9", @@ -16413,6 +17044,7 @@ "html-entities": "^2.3.2", "http-proxy-middleware": "^2.0.3", "ipaddr.js": "^2.0.1", + "launch-editor": "^2.6.0", "open": "^8.0.9", "p-retry": "^4.5.0", "rimraf": "^3.0.2", @@ -16422,7 +17054,7 @@ "sockjs": "^0.3.24", "spdy": "^4.0.2", "webpack-dev-middleware": "^5.3.1", - "ws": "^8.4.2" + "ws": "^8.13.0" }, "bin": { "webpack-dev-server": "bin/webpack-dev-server.js" @@ -16438,6 +17070,9 @@ "webpack": "^4.37.0 || ^5.0.0" }, "peerDependenciesMeta": { + "webpack": { + "optional": true + }, "webpack-cli": { "optional": true } @@ -16481,10 +17116,31 @@ "webpack": "^4.0.0 || ^5.0.0" } }, + "node_modules/webpack-dev-server/node_modules/ws": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", + "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", + "dev": true, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/webpack-merge": { - "version": "5.8.0", - "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.8.0.tgz", - "integrity": "sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==", + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.9.0.tgz", + "integrity": "sha512-6NbRQw4+Sy50vYNTw7EyOn41OZItPiXB8GNv3INSoe3PSFaHJEz3SHTrYVaRm2LilNGnFUzh0FAwqPEmU/CwDg==", "dev": true, "dependencies": { "clone-deep": "^4.0.1", @@ -16652,9 +17308,9 @@ } }, "node_modules/wildcard": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.0.tgz", - "integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/wildcard/-/wildcard-2.0.1.tgz", + "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==", "dev": true }, "node_modules/word-wrap": { @@ -16774,15 +17430,6 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, - "node_modules/yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, "node_modules/yargs": { "version": "16.2.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", @@ -16842,11 +17489,11 @@ } }, "node_modules/zone.js": { - "version": "0.11.4", - "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.11.4.tgz", - "integrity": "sha512-DDh2Ab+A/B+9mJyajPjHFPWfYU1H+pdun4wnnk0OcQTNjem1XQSZ2CDW+rfZEUDjv5M19SBqAkjZi0x5wuB5Qw==", + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.13.1.tgz", + "integrity": "sha512-+bIeDAFEBYuXRuU3qGQvzdPap+N1zjM4KkBAiiQuVVCrHrhjDuY6VkUhNa5+U27+9w0q3fbKiMCbpJ0XzMmSWA==", "dependencies": { - "tslib": "^2.0.0" + "tslib": "^2.3.0" } } } diff --git a/angular/package.json b/angular/package.json index 636dc8f5..9e4b43a5 100644 --- a/angular/package.json +++ b/angular/package.json @@ -14,16 +14,16 @@ }, "private": true, "dependencies": { - "@angular/animations": "^15.2.9", - "@angular/common": "^15.2.9", - "@angular/core": "^15.2.9", - "@angular/forms": "^15.2.9", - "@angular/material": "^15.2.9", - "@angular/platform-browser": "^15.2.9", - "@angular/platform-browser-dynamic": "^15.2.9", - "@angular/router": "^15.2.9", - "@ngx-translate/core": "^14.0.0", - "@ngx-translate/http-loader": "^7.0.0", + "@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": "^3.6.9", "@types/pako": "^1.0.3", "ace-builds": "^1.4.14", @@ -36,24 +36,24 @@ "jasmine": "^3.7.0", "js-base64": "^3.7.2", "js-untar": "^2.0.0", - "ngx-highlightjs": "^4.1.3", + "ngx-highlightjs": "^10.0.0", "pako": "^2.0.4", - "rxjs": "^6.6.7", + "rxjs": "^7.8.1", "tslib": "^2.0.0", "uuid": "^8.3.2", "yarn": "^1.22.17", - "zone.js": "^0.11.4" + "zone.js": "^0.13.1" }, "devDependencies": { - "@angular-devkit/build-angular": "^15.2.9", - "@angular-eslint/builder": "^15.2.1", - "@angular-eslint/eslint-plugin": "^15.2.1", - "@angular-eslint/eslint-plugin-template": "^15.2.1", - "@angular-eslint/schematics": "^15.2.1", - "@angular-eslint/template-parser": "^15.2.1", - "@angular/cli": "^15.2.9", - "@angular/compiler-cli": "^15.2.9", - "@angular/language-service": "^15.2.9", + "@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.5", "@types/node": "^10.12.18", "@types/ramda": "^0.26.44", @@ -75,7 +75,7 @@ "protractor": "~7.0.0", "ts-node": "~7.0.1", "tslint": "~6.1.0", - "typescript": "~4.8.4" + "typescript": "~5.1.6" }, "browser": { "fs": false, diff --git a/angular/src/_variables.scss b/angular/src/_variables.scss index 65819c60..90979c2c 100644 --- a/angular/src/_variables.scss +++ b/angular/src/_variables.scss @@ -54,7 +54,16 @@ $my-accent: mat.define-palette($md-mcgpalette0, A400); } $theme: map-merge( - mat.define-light-theme($my-primary, $my-accent), + mat.define-light-theme( + ( + color: ( + primary: $my-primary, + accent: $my-accent, + ), + typography: mat.define-typography-config(), + density: 0, + ) + ), ( foreground: my-mat-light-theme-foreground(darken(#113549, 5%)), ) diff --git a/angular/src/app/app.module.ts b/angular/src/app/app.module.ts index efc3426c..5db28faf 100644 --- a/angular/src/app/app.module.ts +++ b/angular/src/app/app.module.ts @@ -76,7 +76,7 @@ export function createTranslateLoader(http: HttpClient) { provide: HIGHLIGHT_OPTIONS, useValue: { coreLibraryLoader: () => import('highlight.js/lib/core'), - lineNumbersLoader: () => import('highlightjs-line-numbers.js'), // Optional, only if you want the line numbers + lineNumbersLoader: () => import('ngx-highlightjs/line-numbers'), // Optional, only if you want the line numbers languages: { json: () => import('highlight.js/lib/languages/json'), xml: () => import('highlight.js/lib/languages/xml'), diff --git a/angular/src/app/home/home.component.ts b/angular/src/app/home/home.component.ts index 85f369a0..8096eb21 100644 --- a/angular/src/app/home/home.component.ts +++ b/angular/src/app/home/home.component.ts @@ -1,6 +1,6 @@ import { Component, OnInit } from '@angular/core'; import { Router } from '@angular/router'; -import { MatTabChangeEvent } from '@angular/material/tabs/tab-group'; +import { MatLegacyTabChangeEvent } from '@angular/material/legacy-tabs'; import packageJson from '../../../package.json'; @Component({ @@ -15,7 +15,7 @@ export class HomeComponent implements OnInit { update(index): void {} - tabChanged(tabChangeEvent: MatTabChangeEvent): void { + tabChanged(tabChangeEvent: MatLegacyTabChangeEvent): void { console.log('tabChangeEvent => ', tabChangeEvent); console.log('index => ', tabChangeEvent.index); this.update(tabChangeEvent.index); From 07e24cee6c2aff2d2d49f340ff786d1af40dbe79 Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Mon, 31 Jul 2023 10:56:04 +0200 Subject: [PATCH 09/29] Update other dependencies --- angular/package-lock.json | 2128 +++++++++++++++---------------------- angular/package.json | 56 +- 2 files changed, 865 insertions(+), 1319 deletions(-) diff --git a/angular/package-lock.json b/angular/package-lock.json index ebe7d04c..9622093a 100644 --- a/angular/package-lock.json +++ b/angular/package-lock.json @@ -19,24 +19,24 @@ "@angular/router": "^16.1.7", "@ngx-translate/core": "^15.0.0", "@ngx-translate/http-loader": "^8.0.0", - "@types/jasmine": "^3.6.9", - "@types/pako": "^1.0.3", - "ace-builds": "^1.4.14", - "angular-oauth2-oidc": "^13.0.1", + "@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": "^2.6.2", + "core-js": "^3.32.0", "debug": "^4.3.1", "fhir-kit-client": "1.9.2", - "fhirpath": "^2.10.2", - "jasmine": "^3.7.0", - "js-base64": "^3.7.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.0.4", + "pako": "^2.1.0", "rxjs": "^7.8.1", - "tslib": "^2.0.0", - "uuid": "^8.3.2", - "yarn": "^1.22.17", + "tslib": "^2.6.1", + "uuid": "^9.0.0", + "yarn": "^1.22.19", "zone.js": "^0.13.1" }, "devDependencies": { @@ -49,30 +49,39 @@ "@angular/cli": "^16.1.6", "@angular/compiler-cli": "^16.1.7", "@angular/language-service": "^16.1.7", - "@types/debug": "^4.1.5", - "@types/node": "^10.12.18", - "@types/ramda": "^0.26.44", - "@typescript-eslint/eslint-plugin": "5.3.0", - "@typescript-eslint/parser": "5.3.0", - "eslint": "^8.2.0", - "husky": "^1.3.1", - "jasmine-core": "~3.6.0", - "jasmine-spec-reporter": "~5.0.0", + "@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.3.1", - "karma-chrome-launcher": "~3.1.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": "~4.0.0", - "karma-jasmine-html-reporter": "^1.5.0", - "prettier": "2.2.1", - "pretty-quick": "^1.10.0", + "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": "~7.0.1", + "ts-node": "^10.9.1", "tslint": "~6.1.0", "typescript": "~5.1.6" } }, + "node_modules/@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/@ampproject/remapping": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", @@ -235,14 +244,6 @@ "node": ">=6.9.0" } }, - "node_modules/@angular-devkit/build-angular/node_modules/@types/node": { - "version": "20.4.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.5.tgz", - "integrity": "sha512-rt40Nk13II9JwQBdeYqmbn2Q6IVTA5uPhvSO+JVqdXw/6/4glI6oR9ezty/A9Hg5u7JH4OmYmuQ+XvjKm0Datg==", - "dev": true, - "optional": true, - "peer": true - }, "node_modules/@angular-devkit/build-angular/node_modules/@vitejs/plugin-basic-ssl": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.0.1.tgz", @@ -299,6 +300,12 @@ "node": ">=10" } }, + "node_modules/@angular-devkit/build-angular/node_modules/tslib": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", + "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==", + "dev": true + }, "node_modules/@angular-devkit/build-angular/node_modules/vite": { "version": "4.3.9", "resolved": "https://registry.npmjs.org/vite/-/vite-4.3.9.tgz", @@ -511,15 +518,6 @@ "@angular/cli": ">= 16.0.0 < 17.0.0" } }, - "node_modules/@angular-eslint/schematics/node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, "node_modules/@angular-eslint/template-parser": { "version": "16.1.0", "resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-16.1.0.tgz", @@ -1058,9 +1056,9 @@ } }, "node_modules/@babel/core/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -2795,6 +2793,28 @@ "node": ">=0.1.90" } }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, "node_modules/@discoveryjs/json-ext": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", @@ -3171,24 +3191,36 @@ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, + "node_modules/@eslint-community/regexpp": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.6.2.tgz", + "integrity": "sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==", + "dev": true, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, "node_modules/@eslint/eslintrc": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.0.5.tgz", - "integrity": "sha512-BLxsnmK3KyPunz5wmCCpqy0YelEoxxGmH73Is+Z74oOTMtExcjkr3dDR6quwrjh1YspA8DH9gnX1o069KiS9AQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.1.tgz", + "integrity": "sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==", "dev": true, "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.2.0", - "globals": "^13.9.0", - "ignore": "^4.0.6", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", - "minimatch": "^3.0.4", + "minimatch": "^3.1.2", "strip-json-comments": "^3.1.1" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/@eslint/eslintrc/node_modules/argparse": { @@ -3198,9 +3230,9 @@ "dev": true }, "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "13.12.1", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.12.1.tgz", - "integrity": "sha512-317dFlgY2pdJZ9rspXDks7073GpDmXdfbM3vYYp0HAMKGDh1FfWPleI2ljVNLQX5M5lXcAslTcPTrOrMEFOjyw==", + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", "dev": true, "dependencies": { "type-fest": "^0.20.2" @@ -3212,31 +3244,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@eslint/eslintrc/node_modules/ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/@eslint/eslintrc/node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@eslint/eslintrc/node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", @@ -3249,13 +3256,16 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/@eslint/eslintrc/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "node_modules/@eslint/eslintrc/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, "engines": { - "node": ">=4" + "node": "*" } }, "node_modules/@eslint/eslintrc/node_modules/type-fest": { @@ -3270,20 +3280,42 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@eslint/js": { + "version": "8.46.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.46.0.tgz", + "integrity": "sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, "node_modules/@humanwhocodes/config-array": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.3.tgz", - "integrity": "sha512-3xSMlXHh03hCcCmFc0rbKp3Ivt2PFEJnQUJDDMTJQ2wkECZWdq4GePs2ctc5H8zV+cHPaq8k2vU8mrQjA6iHdQ==", + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", + "integrity": "sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==", "dev": true, "dependencies": { "@humanwhocodes/object-schema": "^1.2.1", "debug": "^4.1.1", - "minimatch": "^3.0.4" + "minimatch": "^3.0.5" }, "engines": { "node": ">=10.10.0" } }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, "node_modules/@humanwhocodes/object-schema": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", @@ -3294,7 +3326,6 @@ "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", - "dev": true, "dependencies": { "string-width": "^5.1.2", "string-width-cjs": "npm:string-width@^4.2.0", @@ -3311,7 +3342,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dev": true, "engines": { "node": ">=12" }, @@ -3323,7 +3353,6 @@ "version": "6.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true, "engines": { "node": ">=12" }, @@ -3334,14 +3363,12 @@ "node_modules/@isaacs/cliui/node_modules/emoji-regex": { "version": "9.2.2", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", - "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", - "dev": true + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" }, "node_modules/@isaacs/cliui/node_modules/string-width": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", - "dev": true, "dependencies": { "eastasianwidth": "^0.2.0", "emoji-regex": "^9.2.2", @@ -3358,7 +3385,6 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dev": true, "dependencies": { "ansi-regex": "^6.0.1" }, @@ -3373,7 +3399,6 @@ "version": "8.1.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", - "dev": true, "dependencies": { "ansi-styles": "^6.1.0", "string-width": "^5.0.1", @@ -3402,52 +3427,6 @@ "node": ">=8" } }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/load-nyc-config/node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", @@ -4608,15 +4587,6 @@ "nx": ">= 15 <= 17" } }, - "node_modules/@nx/devkit/node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, "node_modules/@nx/devkit/node_modules/semver": { "version": "7.5.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", @@ -4814,7 +4784,6 @@ "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", - "dev": true, "optional": true, "engines": { "node": ">=14" @@ -4885,6 +4854,30 @@ "node": ">= 10" } }, + "node_modules/@tsconfig/node10": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", + "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", + "dev": true + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true + }, "node_modules/@tufjs/canonical-json": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-1.0.0.tgz", @@ -4985,10 +4978,13 @@ } }, "node_modules/@types/debug": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.5.tgz", - "integrity": "sha512-Q1y515GcOdTHgagaVFhHnIFQ38ygs/kmxdNpvpou+raI9UO3YZcHDngBSYKQklcKlvA7iuQlmIKbzvmxcOE9CQ==", - "dev": true + "version": "4.1.8", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.8.tgz", + "integrity": "sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==", + "dev": true, + "dependencies": { + "@types/ms": "*" + } }, "node_modules/@types/eslint": { "version": "8.44.1", @@ -5056,14 +5052,14 @@ } }, "node_modules/@types/jasmine": { - "version": "3.6.9", - "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-3.6.9.tgz", - "integrity": "sha512-B53NIwMj/AO0O+xfSWLYmKB0Mo6TYxfv2Mk8/c1T2w/e38t55iaPR6p7pHXTTtqfTmevPK3i8T1YweYFTZlxDw==" + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-4.3.5.tgz", + "integrity": "sha512-9YHUdvuNDDRJYXZwHqSsO72Ok0vmqoJbNn73ttyITQp/VA60SarnZ+MPLD37rJAhVoKp+9BWOvJP5tHIRfZylQ==" }, "node_modules/@types/json-schema": { - "version": "7.0.9", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", - "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.12.tgz", + "integrity": "sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==", "dev": true }, "node_modules/@types/mime": { @@ -5072,16 +5068,28 @@ "integrity": "sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==", "dev": true }, + "node_modules/@types/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", + "dev": true + }, + "node_modules/@types/ms": { + "version": "0.7.31", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.31.tgz", + "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==", + "dev": true + }, "node_modules/@types/node": { - "version": "10.14.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.10.tgz", - "integrity": "sha512-V8wj+w2YMNvGuhgl/MA5fmTxgjmVHVoasfIaxMMZJV6Y8Kk+Ydpi1z2whoShDCJ2BuNVoqH/h1hrygnBxkrw/Q==", + "version": "20.4.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.5.tgz", + "integrity": "sha512-rt40Nk13II9JwQBdeYqmbn2Q6IVTA5uPhvSO+JVqdXw/6/4glI6oR9ezty/A9Hg5u7JH4OmYmuQ+XvjKm0Datg==", "dev": true }, "node_modules/@types/pako": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@types/pako/-/pako-1.0.3.tgz", - "integrity": "sha512-EDxOsHAD5dqjbjEUM1xwa7rpKPFb8ECBE5irONTQU7/OsO3thI5YrNEWSPNMvYmvFM0l/OLQJ6Mgw7PEdXSjhg==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/pako/-/pako-2.0.0.tgz", + "integrity": "sha512-10+iaz93qR5WYxTo+PMifD5TSxiOtdRaxBf7INGGXMQgTCu8Z/7GYWYFUOS3q/G0nE5boj1r4FEB+WSy7s5gbA==" }, "node_modules/@types/q": { "version": "0.0.32", @@ -5096,12 +5104,12 @@ "dev": true }, "node_modules/@types/ramda": { - "version": "0.26.44", - "resolved": "https://registry.npmjs.org/@types/ramda/-/ramda-0.26.44.tgz", - "integrity": "sha512-s0cj9rylWw+Ax/AnttCQzMrLZGq/OxAIZgrkRLK1QHJIF6Qabd0//acMCFM6+Xb8Bi8p8PkT2fqpaQveRju/kA==", + "version": "0.29.3", + "resolved": "https://registry.npmjs.org/@types/ramda/-/ramda-0.29.3.tgz", + "integrity": "sha512-Yh/RHkjN0ru6LVhSQtTkCRo6HXkfL9trot/2elzM/yXLJmbLm2v6kJc8yftTnwv1zvUob6TEtqI2cYjdqG3U0Q==", "dev": true, "dependencies": { - "ts-toolbelt": "^6.3.3" + "types-ramda": "^0.29.4" } }, "node_modules/@types/range-parser": { @@ -5177,30 +5185,34 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.3.0.tgz", - "integrity": "sha512-ARUEJHJrq85aaiCqez7SANeahDsJTD3AEua34EoQN9pHS6S5Bq9emcIaGGySt/4X2zSi+vF5hAH52sEen7IO7g==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.2.0.tgz", + "integrity": "sha512-rClGrMuyS/3j0ETa1Ui7s6GkLhfZGKZL3ZrChLeAiACBE/tRc1wq8SNZESUuluxhLj9FkUefRs2l6bCIArWBiQ==", "dev": true, "dependencies": { - "@typescript-eslint/experimental-utils": "5.3.0", - "@typescript-eslint/scope-manager": "5.3.0", - "debug": "^4.3.2", - "functional-red-black-tree": "^1.0.1", - "ignore": "^5.1.8", - "regexpp": "^3.2.0", - "semver": "^7.3.5", - "tsutils": "^3.21.0" + "@eslint-community/regexpp": "^4.5.1", + "@typescript-eslint/scope-manager": "6.2.0", + "@typescript-eslint/type-utils": "6.2.0", + "@typescript-eslint/utils": "6.2.0", + "@typescript-eslint/visitor-keys": "6.2.0", + "debug": "^4.3.4", + "graphemer": "^1.4.0", + "ignore": "^5.2.4", + "natural-compare": "^1.4.0", + "natural-compare-lite": "^1.4.0", + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^16.0.0 || >=18.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^5.0.0", - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + "@typescript-eslint/parser": "^6.0.0 || ^6.0.0-alpha", + "eslint": "^7.0.0 || ^8.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -5208,95 +5220,94 @@ } } }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/type-utils": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.2.0.tgz", + "integrity": "sha512-DnGZuNU2JN3AYwddYIqrVkYW0uUQdv0AY+kz2M25euVNlujcN2u+rJgfJsBFlUEzBB6OQkUqSZPyuTLf2bP5mw==", "dev": true, "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" + "@typescript-eslint/typescript-estree": "6.2.0", + "@typescript-eslint/utils": "6.2.0", + "debug": "^4.3.4", + "ts-api-utils": "^1.0.1" }, "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dev": true, - "dependencies": { - "tslib": "^1.8.1" + "node": "^16.0.0 || >=18.0.0" }, - "engines": { - "node": ">= 6" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + "eslint": "^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, - "node_modules/@typescript-eslint/experimental-utils": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.3.0.tgz", - "integrity": "sha512-NFVxYTjKj69qB0FM+piah1x3G/63WB8vCBMnlnEHUsiLzXSTWb9FmFn36FD9Zb4APKBLY3xRArOGSMQkuzTF1w==", + "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.2.0.tgz", + "integrity": "sha512-RCFrC1lXiX1qEZN8LmLrxYRhOkElEsPKTVSNout8DMzf8PeWoQG7Rxz2SadpJa3VSh5oYKGwt7j7X/VRg+Y3OQ==", "dev": true, "dependencies": { - "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.3.0", - "@typescript-eslint/types": "5.3.0", - "@typescript-eslint/typescript-estree": "5.3.0", - "eslint-scope": "^5.1.1", - "eslint-utils": "^3.0.0" + "@eslint-community/eslint-utils": "^4.4.0", + "@types/json-schema": "^7.0.12", + "@types/semver": "^7.5.0", + "@typescript-eslint/scope-manager": "6.2.0", + "@typescript-eslint/types": "6.2.0", + "@typescript-eslint/typescript-estree": "6.2.0", + "semver": "^7.5.4" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^16.0.0 || >=18.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "*" + "eslint": "^7.0.0 || ^8.0.0" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" } }, "node_modules/@typescript-eslint/parser": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.3.0.tgz", - "integrity": "sha512-rKu/yAReip7ovx8UwOAszJVO5MgBquo8WjIQcp1gx4pYQCwYzag+I5nVNHO4MqyMkAo0gWt2gWUi+36gWAVKcw==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.2.0.tgz", + "integrity": "sha512-igVYOqtiK/UsvKAmmloQAruAdUHihsOCvplJpplPZ+3h4aDkC/UKZZNKgB6h93ayuYLuEymU3h8nF1xMRbh37g==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "5.3.0", - "@typescript-eslint/types": "5.3.0", - "@typescript-eslint/typescript-estree": "5.3.0", - "debug": "^4.3.2" + "@typescript-eslint/scope-manager": "6.2.0", + "@typescript-eslint/types": "6.2.0", + "@typescript-eslint/typescript-estree": "6.2.0", + "@typescript-eslint/visitor-keys": "6.2.0", + "debug": "^4.3.4" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^16.0.0 || >=18.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + "eslint": "^7.0.0 || ^8.0.0" }, "peerDependenciesMeta": { "typescript": { @@ -5305,16 +5316,16 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.3.0.tgz", - "integrity": "sha512-22Uic9oRlTsPppy5Tcwfj+QET5RWEnZ5414Prby465XxQrQFZ6nnm5KnXgnsAJefG4hEgMnaxTB3kNEyjdjj6A==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.2.0.tgz", + "integrity": "sha512-1ZMNVgm5nnHURU8ZSJ3snsHzpFeNK84rdZjluEVBGNu7jDymfqceB3kdIZ6A4xCfEFFhRIB6rF8q/JIqJd2R0Q==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.3.0", - "@typescript-eslint/visitor-keys": "5.3.0" + "@typescript-eslint/types": "6.2.0", + "@typescript-eslint/visitor-keys": "6.2.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^16.0.0 || >=18.0.0" }, "funding": { "type": "opencollective", @@ -5434,15 +5445,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@typescript-eslint/type-utils/node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, "node_modules/@typescript-eslint/type-utils/node_modules/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", @@ -5458,15 +5460,6 @@ "node": ">=10" } }, - "node_modules/@typescript-eslint/type-utils/node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/@typescript-eslint/type-utils/node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", @@ -5489,12 +5482,12 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.3.0.tgz", - "integrity": "sha512-fce5pG41/w8O6ahQEhXmMV+xuh4+GayzqEogN24EK+vECA3I6pUwKuLi5QbXO721EMitpQne5VKXofPonYlAQg==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.2.0.tgz", + "integrity": "sha512-1nRRaDlp/XYJQLvkQJG5F3uBTno5SHPT7XVcJ5n1/k2WfNI28nJsvLakxwZRNY5spuatEKO7d5nZWsQpkqXwBA==", "dev": true, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^16.0.0 || >=18.0.0" }, "funding": { "type": "opencollective", @@ -5502,21 +5495,21 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.3.0.tgz", - "integrity": "sha512-FJ0nqcaUOpn/6Z4Jwbtf+o0valjBLkqc3MWkMvrhA2TvzFXtcclIM8F4MBEmYa2kgcI8EZeSAzwoSrIC8JYkug==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.2.0.tgz", + "integrity": "sha512-Mts6+3HQMSM+LZCglsc2yMIny37IhUgp1Qe8yJUYVyO6rHP7/vN0vajKu3JvHCBIy8TSiKddJ/Zwu80jhnGj1w==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.3.0", - "@typescript-eslint/visitor-keys": "5.3.0", - "debug": "^4.3.2", - "globby": "^11.0.4", + "@typescript-eslint/types": "6.2.0", + "@typescript-eslint/visitor-keys": "6.2.0", + "debug": "^4.3.4", + "globby": "^11.1.0", "is-glob": "^4.0.3", - "semver": "^7.3.5", - "tsutils": "^3.21.0" + "semver": "^7.5.4", + "ts-api-utils": "^1.0.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^16.0.0 || >=18.0.0" }, "funding": { "type": "opencollective", @@ -5557,19 +5550,10 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -5581,36 +5565,6 @@ "node": ">=10" } }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dev": true, - "dependencies": { - "tslib": "^1.8.1" - }, - "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" - } - }, "node_modules/@typescript-eslint/utils": { "version": "5.62.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.62.0.tgz", @@ -5740,15 +5694,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@typescript-eslint/utils/node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, "node_modules/@typescript-eslint/utils/node_modules/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", @@ -5764,15 +5709,6 @@ "node": ">=10" } }, - "node_modules/@typescript-eslint/utils/node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/@typescript-eslint/utils/node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", @@ -5795,16 +5731,16 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.3.0.tgz", - "integrity": "sha512-oVIAfIQuq0x2TFDNLVavUn548WL+7hdhxYn+9j3YdJJXB7mH9dAmZNJsPDa7Jc+B9WGqoiex7GUDbyMxV0a/aw==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.2.0.tgz", + "integrity": "sha512-QbaYUQVKKo9bgCzpjz45llCfwakyoxHetIy8CAvYCtd16Zu1KrpzNHofwF8kGkpPOxZB2o6kz+0nqH8ZkIzuoQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.3.0", - "eslint-visitor-keys": "^3.0.0" + "@typescript-eslint/types": "6.2.0", + "eslint-visitor-keys": "^3.4.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^16.0.0 || >=18.0.0" }, "funding": { "type": "opencollective", @@ -6032,9 +5968,9 @@ } }, "node_modules/ace-builds": { - "version": "1.4.14", - "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.4.14.tgz", - "integrity": "sha512-NBOQlm9+7RBqRqZwimpgquaLeTJFayqb9UEPtTkpC3TkkwDnlsT/TwsCC0svjt9kEZ6G9mH5AEOHSz6Q/HrzQQ==" + "version": "1.23.4", + "resolved": "https://registry.npmjs.org/ace-builds/-/ace-builds-1.23.4.tgz", + "integrity": "sha512-a4hKAT2T7KNUQC4LQPW2peuoEsZmLYTn4Dwjkh26A3Z+fQ8/fA2JZNs3V6CqvivhbyMQXQJD1u/0qTCoSS6deA==" }, "node_modules/acorn": { "version": "8.10.0", @@ -6066,6 +6002,15 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, + "node_modules/acorn-walk": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", + "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/adjust-sourcemap-loader": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-4.0.0.tgz", @@ -6205,16 +6150,15 @@ } }, "node_modules/angular-oauth2-oidc": { - "version": "13.0.1", - "resolved": "https://registry.npmjs.org/angular-oauth2-oidc/-/angular-oauth2-oidc-13.0.1.tgz", - "integrity": "sha512-aL1VIv9Jqoqq31lbpUXIeNpM3GeN/ldb3KOlq0cV92amGpZs9J4YA+2rlJ5V9zb6NFNbvd7XfTntMbnNuS0+CQ==", + "version": "15.0.1", + "resolved": "https://registry.npmjs.org/angular-oauth2-oidc/-/angular-oauth2-oidc-15.0.1.tgz", + "integrity": "sha512-5gpqO9QL+qFqMItYFHe8F6H5nOIEaowcNUc9iTDs3P1bfVYnoKoVAaijob53PuPTF4YwzdfwKWZi4Mq6P7GENQ==", "dependencies": { - "fast-sha256": "^1.3.0", "tslib": "^2.0.0" }, "peerDependencies": { - "@angular/common": ">=12.0.0", - "@angular/core": ">=12.0.0" + "@angular/common": ">=14.0.0", + "@angular/core": ">=14.0.0" } }, "node_modules/ansi-colors": { @@ -6266,7 +6210,6 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, "dependencies": { "color-convert": "^2.0.1" }, @@ -6281,7 +6224,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, "dependencies": { "color-name": "~1.1.4" }, @@ -6289,6 +6231,14 @@ "node": ">=7.0.0" } }, + "node_modules/antlr4": { + "version": "4.9.3", + "resolved": "https://registry.npmjs.org/antlr4/-/antlr4-4.9.3.tgz", + "integrity": "sha512-qNy2odgsa0skmNMCuxzXhM4M8J1YDaPv3TI+vCdnOAanu0N982wBrSqziDKRDctEZLZy9VffqIZXc0UGjjSP/g==", + "engines": { + "node": ">=14" + } + }, "node_modules/anymatch": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", @@ -6335,6 +6285,12 @@ "node": ">= 6" } }, + "node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true + }, "node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -6371,12 +6327,12 @@ } }, "node_modules/array-differ": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-2.1.0.tgz", - "integrity": "sha512-KbUpJgx909ZscOc/7CLATBFam7P1Z1QRQInvgT0UztM9Q72aGKCunKASAl7WNW0tnPmPyEMeMhdsfWhfmW037w==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz", + "integrity": "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==", "dev": true, "engines": { - "node": ">=6" + "node": ">=8" } }, "node_modules/array-flatten": { @@ -6794,6 +6750,7 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -7028,39 +6985,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/caller-callsite": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", - "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", - "dev": true, - "dependencies": { - "callsites": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/caller-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", - "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", - "dev": true, - "dependencies": { - "caller-callsite": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/callsites": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", - "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/camelcase": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", @@ -7185,12 +7109,6 @@ "node": ">=6.0" } }, - "node_modules/ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", - "dev": true - }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", @@ -7285,8 +7203,7 @@ "node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "node_modules/color-support": { "version": "1.1.3", @@ -7386,7 +7303,8 @@ "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true }, "node_modules/connect": { "version": "3.7.0", @@ -7541,11 +7459,14 @@ } }, "node_modules/core-js": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz", - "integrity": "sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==", - "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", - "hasInstallScript": true + "version": "3.32.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.32.0.tgz", + "integrity": "sha512-rd4rYZNlF3WuoYuRIDEmbR/ga9CeuWX9U05umAvgrrZoHY4Z++cp/xwPQMvUpBB4Ag6J8KfD80G0zwCyaSxDww==", + "hasInstallScript": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } }, "node_modules/core-js-compat": { "version": "3.32.0", @@ -7578,20 +7499,11 @@ "node": ">= 0.10" } }, - "node_modules/cosmiconfig": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", - "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", - "dev": true, - "dependencies": { - "import-fresh": "^2.0.0", - "is-directory": "^0.3.1", - "js-yaml": "^3.13.1", - "parse-json": "^4.0.0" - }, - "engines": { - "node": ">=4" - } + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true }, "node_modules/critters": { "version": "0.0.19", @@ -7636,7 +7548,6 @@ "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -7646,20 +7557,10 @@ "node": ">= 8" } }, - "node_modules/cross-spawn/node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/cross-spawn/node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, "dependencies": { "shebang-regex": "^3.0.0" }, @@ -7671,7 +7572,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, "engines": { "node": ">=8" } @@ -7680,7 +7580,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, "dependencies": { "isexe": "^2.0.0" }, @@ -7943,39 +7842,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/default-gateway/node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/default-gateway/node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/default-gateway/node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/defaults": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", @@ -8100,9 +7966,9 @@ "dev": true }, "node_modules/diff": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", - "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", "dev": true, "engines": { "node": ">=0.3.1" @@ -8235,8 +8101,7 @@ "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", - "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", - "dev": true + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" }, "node_modules/ecc-jsbn": { "version": "0.1.2", @@ -8283,8 +8148,7 @@ "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "node_modules/emojis-list": { "version": "3.0.0", @@ -8335,9 +8199,9 @@ } }, "node_modules/engine.io": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.4.1.tgz", - "integrity": "sha512-JFYQurD/nbsA5BSPmbaOSLa3tSVj8L6o4srSwXXY3NqE+gGUNmmPTbhn8tjzcCtSqhFgIeqef81ngny8JM25hw==", + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.4.2.tgz", + "integrity": "sha512-FKn/3oMiJjrOEOeUub2WCox6JhxBXq/Zn3fZOMCBxKnNYtsdKjxhl7yR3fZhM9PV+rdE75SU5SYMc+2PGzo+Tg==", "dev": true, "dependencies": { "@types/cookie": "^0.4.1", @@ -8563,46 +8427,48 @@ } }, "node_modules/eslint": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.8.0.tgz", - "integrity": "sha512-H3KXAzQGBH1plhYS3okDix2ZthuYJlQQEGE5k0IKuEqUSiyu4AmxxlJ2MtTYeJ3xB4jDhcYCwGOg2TXYdnDXlQ==", + "version": "8.46.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.46.0.tgz", + "integrity": "sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==", "dev": true, "dependencies": { - "@eslint/eslintrc": "^1.0.5", - "@humanwhocodes/config-array": "^0.9.2", - "ajv": "^6.10.0", + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.1", + "@eslint/js": "^8.46.0", + "@humanwhocodes/config-array": "^0.11.10", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.2", "debug": "^4.3.2", "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.1.0", - "eslint-utils": "^3.0.0", - "eslint-visitor-keys": "^3.2.0", - "espree": "^9.3.0", - "esquery": "^1.4.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.2", + "espree": "^9.6.1", + "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^6.0.1", - "functional-red-black-tree": "^1.0.1", - "glob-parent": "^6.0.1", - "globals": "^13.6.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", "ignore": "^5.2.0", - "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", "js-yaml": "^4.1.0", "json-stable-stringify-without-jsonify": "^1.0.1", "levn": "^0.4.1", "lodash.merge": "^4.6.2", - "minimatch": "^3.0.4", + "minimatch": "^3.1.2", "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "regexpp": "^3.2.0", + "optionator": "^0.9.3", "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", - "text-table": "^0.2.0", - "v8-compile-cache": "^2.0.3" + "text-table": "^0.2.0" }, "bin": { "eslint": "bin/eslint.js" @@ -8627,33 +8493,6 @@ "node": ">=8.0.0" } }, - "node_modules/eslint-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", - "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", - "dev": true, - "dependencies": { - "eslint-visitor-keys": "^2.0.0" - }, - "engines": { - "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - }, - "peerDependencies": { - "eslint": ">=5" - } - }, - "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, "node_modules/eslint-visitor-keys": { "version": "3.4.2", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz", @@ -8701,9 +8540,9 @@ } }, "node_modules/eslint/node_modules/eslint-scope": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.0.tgz", - "integrity": "sha512-aWwkhnS0qAXqNOgKOK0dJ2nvzEbhEvpy8OlJ9kZ0FeZnA6zpjv1/Vei+puGFFX7zkPCkHHXb7IDX3A+7yPrRWg==", + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", "dev": true, "dependencies": { "esrecurse": "^4.3.0", @@ -8711,6 +8550,9 @@ }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/eslint/node_modules/estraverse": { @@ -8722,6 +8564,22 @@ "node": ">=4.0" } }, + "node_modules/eslint/node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/eslint/node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -8735,9 +8593,9 @@ } }, "node_modules/eslint/node_modules/globals": { - "version": "13.12.1", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.12.1.tgz", - "integrity": "sha512-317dFlgY2pdJZ9rspXDks7073GpDmXdfbM3vYYp0HAMKGDh1FfWPleI2ljVNLQX5M5lXcAslTcPTrOrMEFOjyw==", + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", "dev": true, "dependencies": { "type-fest": "^0.20.2" @@ -8749,50 +8607,82 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint/node_modules/ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", + "node_modules/eslint/node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", "dev": true, "engines": { - "node": ">= 4" + "node": ">=8" } }, - "node_modules/eslint/node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "node_modules/eslint/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/eslint/node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" }, "engines": { - "node": ">=6" + "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "node_modules/eslint/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "dependencies": { - "argparse": "^2.0.1" + "brace-expansion": "^1.1.7" }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "engines": { + "node": "*" } }, - "node_modules/eslint/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "node_modules/eslint/node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, "engines": { - "node": ">=4" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/eslint/node_modules/type-fest": { @@ -8808,17 +8698,20 @@ } }, "node_modules/espree": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.0.tgz", - "integrity": "sha512-d/5nCsb0JcqsSEeQzFZ8DH1RmxPcglRWh24EFTlUEmCKoehXGdpsx0RkHDubqUI8LSAIKMQp4r9SzQ3n+sm4HQ==", + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "dev": true, "dependencies": { - "acorn": "^8.7.0", - "acorn-jsx": "^5.3.1", - "eslint-visitor-keys": "^3.1.0" + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/esprima": { @@ -8834,9 +8727,9 @@ } }, "node_modules/esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", "dev": true, "dependencies": { "estraverse": "^5.1.0" @@ -8924,37 +8817,35 @@ } }, "node_modules/execa": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", + "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", "dev": true, "dependencies": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" }, "engines": { - "node": ">=6" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "node_modules/execa/node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "node_modules/execa/node_modules/human-signals": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", + "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", "dev": true, - "dependencies": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - }, "engines": { - "node": ">=4.8" + "node": ">=8.12.0" } }, "node_modules/exit": { @@ -9169,14 +9060,9 @@ "node_modules/fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "dev": true }, - "node_modules/fast-sha256": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/fast-sha256/-/fast-sha256-1.3.0.tgz", - "integrity": "sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==" - }, "node_modules/fastq": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", @@ -9216,12 +9102,12 @@ } }, "node_modules/fhirpath": { - "version": "2.10.2", - "resolved": "https://registry.npmjs.org/fhirpath/-/fhirpath-2.10.2.tgz", - "integrity": "sha512-PyCpDMXb5WLbJ7VMbeg66E9972utJcEJkEBRaLDLU+eguZCn8E/FBHCEeLXK17vee48rj0TOz4S9/z1QLmdzvg==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/fhirpath/-/fhirpath-3.6.0.tgz", + "integrity": "sha512-tYVCRUooGW0w+vNCBEyC9+oyUVyKgpSxpYULWIBYUfRhD4CrmrmSaTq/EkM8fnDB/pQHqOktv2iMuLi/iTne0Q==", "dependencies": { "@lhncbc/ucum-lhc": "^4.1.3", - "antlr4": "~4.8.0", + "antlr4": "~4.9.3", "commander": "^2.18.0", "date-fns": "^1.30.1", "js-yaml": "^3.13.1" @@ -9233,11 +9119,6 @@ "node": ">=8.9.0" } }, - "node_modules/fhirpath/node_modules/antlr4": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/antlr4/-/antlr4-4.8.0.tgz", - "integrity": "sha512-en/MxQ4OkPgGJQ3wD/muzj1uDnFSzdFIhc2+c6bHZokWkuBb6RRvFjpWhPxWLbgQvaEzldJZ0GSQpfSAaE3hqg==" - }, "node_modules/figures": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", @@ -9359,31 +9240,6 @@ "url": "https://github.com/avajs/find-cache-dir?sponsor=1" } }, - "node_modules/find-cache-dir/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-cache-dir/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/find-cache-dir/node_modules/make-dir": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", @@ -9399,27 +9255,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/find-cache-dir/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-cache-dir/node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/find-cache-dir/node_modules/pkg-dir": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", @@ -9442,15 +9277,16 @@ } }, "node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "dependencies": { - "locate-path": "^3.0.0" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" }, "engines": { - "node": ">=6" + "node": ">=8" } }, "node_modules/flat": { @@ -9529,7 +9365,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", - "dev": true, "dependencies": { "cross-spawn": "^7.0.0", "signal-exit": "^4.0.1" @@ -9545,7 +9380,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, "engines": { "node": ">=14" }, @@ -9648,7 +9482,8 @@ "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true }, "node_modules/fsevents": { "version": "2.3.2", @@ -9670,12 +9505,6 @@ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", "dev": true }, - "node_modules/functional-red-black-tree": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", - "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", - "dev": true - }, "node_modules/functions-have-names": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", @@ -9747,15 +9576,18 @@ } }, "node_modules/get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dev": true, "dependencies": { "pump": "^3.0.0" }, "engines": { - "node": ">=6" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/getpass": { @@ -9771,6 +9603,7 @@ "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -9808,6 +9641,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -9843,15 +9677,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/globby/node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, "node_modules/globby/node_modules/slash": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", @@ -9882,6 +9707,12 @@ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "devOptional": true }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, "node_modules/handle-thing": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", @@ -10288,37 +10119,18 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/husky": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/husky/-/husky-1.3.1.tgz", - "integrity": "sha512-86U6sVVVf4b5NYSZ0yvv88dRgBSSXXmHaiq5pP4KDj5JVzdwKgBjEtUPOm8hcoytezFwbU+7gotXNhpHdystlg==", + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", + "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", "dev": true, - "hasInstallScript": true, - "dependencies": { - "cosmiconfig": "^5.0.7", - "execa": "^1.0.0", - "find-up": "^3.0.0", - "get-stdin": "^6.0.0", - "is-ci": "^2.0.0", - "pkg-dir": "^3.0.0", - "please-upgrade-node": "^3.1.1", - "read-pkg": "^4.0.1", - "run-node": "^1.0.0", - "slash": "^2.0.0" - }, "bin": { - "husky-upgrade": "lib/upgrader/bin.js" + "husky": "lib/bin.js" }, "engines": { - "node": ">=6" - } - }, - "node_modules/husky/node_modules/get-stdin": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", - "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==", - "dev": true, - "engines": { - "node": ">=4" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/typicode" } }, "node_modules/iconv-lite": { @@ -10366,10 +10178,13 @@ ] }, "node_modules/ignore": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", - "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", - "dev": true + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "dev": true, + "engines": { + "node": ">= 4" + } }, "node_modules/ignore-walk": { "version": "6.0.3", @@ -10433,16 +10248,19 @@ "dev": true }, "node_modules/import-fresh": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", - "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", "dev": true, "dependencies": { - "caller-path": "^2.0.0", - "resolve-from": "^3.0.0" + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" }, "engines": { - "node": ">=4" + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/imurmurhash": { @@ -10467,6 +10285,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -10642,18 +10461,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-ci": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", - "dev": true, - "dependencies": { - "ci-info": "^2.0.0" - }, - "bin": { - "is-ci": "bin.js" - } - }, "node_modules/is-core-module": { "version": "2.12.1", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.12.1.tgz", @@ -10681,15 +10488,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-directory": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", - "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-docker": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", @@ -10729,7 +10527,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, "engines": { "node": ">=8" } @@ -10888,12 +10685,15 @@ } }, "node_modules/is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true, "engines": { - "node": ">=0.10.0" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/is-string": { @@ -11019,8 +10819,7 @@ "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, "node_modules/isobject": { "version": "3.0.1", @@ -11072,9 +10871,9 @@ } }, "node_modules/istanbul-lib-instrument/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -11110,9 +10909,9 @@ } }, "node_modules/istanbul-lib-report/node_modules/semver": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.2.0.tgz", - "integrity": "sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -11160,7 +10959,6 @@ "version": "2.2.2", "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.2.tgz", "integrity": "sha512-mgNtVv4vUuaKA97yxUHoA3+FkuhtxkjdXEWOyB/N76fjy0FjezEt34oy3epBtvCvS+7DyKwqCFWx/oJLV5+kCg==", - "dev": true, "dependencies": { "@isaacs/cliui": "^8.0.2" }, @@ -11221,36 +11019,73 @@ } }, "node_modules/jasmine": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-3.7.0.tgz", - "integrity": "sha512-wlzGQ+cIFzMEsI+wDqmOwvnjTvolLFwlcpYLCqSPPH0prOQaW3P+IzMhHYn934l1imNvw07oCyX+vGUv3wmtSQ==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-5.1.0.tgz", + "integrity": "sha512-prmJlC1dbLhti4nE4XAPDWmfJesYO15sjGXVp7Cs7Ym5I9Xtwa/hUHxxJXjnpfLO72+ySttA0Ztf8g/RiVnUKw==", "dependencies": { - "glob": "^7.1.6", - "jasmine-core": "~3.7.0" + "glob": "^10.2.2", + "jasmine-core": "~5.1.0" }, "bin": { "jasmine": "bin/jasmine.js" } }, "node_modules/jasmine-core": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.6.0.tgz", - "integrity": "sha512-8uQYa7zJN8hq9z+g8z1bqCfdC8eoDAeVnM5sfqs7KHv9/ifoJ500m018fpFc7RDaO6SWCLCXwo/wPSNcdYTgcw==", - "dev": true + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-5.1.0.tgz", + "integrity": "sha512-bFMMwpKuTZXCuGd51yClFobw5SOtad1kmdWnYO8dNwYV8i01Xj0C2+nyQpSKl1EKxiPfyd1ZgBl/rsusL3aS6w==" }, "node_modules/jasmine-spec-reporter": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/jasmine-spec-reporter/-/jasmine-spec-reporter-5.0.2.tgz", - "integrity": "sha512-6gP1LbVgJ+d7PKksQBc2H0oDGNRQI3gKUsWlswKaQ2fif9X5gzhQcgM5+kiJGCQVurOG09jqNhk7payggyp5+g==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/jasmine-spec-reporter/-/jasmine-spec-reporter-7.0.0.tgz", + "integrity": "sha512-OtC7JRasiTcjsaCBPtMO0Tl8glCejM4J4/dNuOJdA8lBjz4PmWjYQ6pzb0uzpBNAWJMDudYuj9OdXJWqM2QTJg==", "dev": true, "dependencies": { "colors": "1.4.0" } }, - "node_modules/jasmine/node_modules/jasmine-core": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.7.1.tgz", - "integrity": "sha512-DH3oYDS/AUvvr22+xUBW62m1Xoy7tUlY1tsxKEJvl5JeJ7q8zd1K5bUwiOxdH+erj6l2vAMM3hV25Xs9/WrmuQ==" + "node_modules/jasmine/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/jasmine/node_modules/glob": { + "version": "10.3.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz", + "integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.0.3", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jasmine/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } }, "node_modules/jasminewd2": { "version": "2.2.0", @@ -11309,9 +11144,9 @@ } }, "node_modules/js-base64": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.2.tgz", - "integrity": "sha512-NnRs6dsyqUXejqk/yv2aiXlAvOs56sLkX6nUdeaNezI5LFFLlsZjOThmwnrcwh5ZZRwZlCMnVAY3CvhIhoVEKQ==" + "version": "3.7.5", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.5.tgz", + "integrity": "sha512-3MEt5DTINKqfScXKfJFrRbxkrnk2AxPWGBL/ycjz4dK8iqiSJ06UxD8jh8xuh6p10TX4t2+7FsBYVxxQbMg+qA==" }, "node_modules/js-tokens": { "version": "4.0.0", @@ -11354,12 +11189,6 @@ "node": ">=4" } }, - "node_modules/json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true - }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", @@ -11465,9 +11294,9 @@ "dev": true }, "node_modules/karma": { - "version": "6.3.20", - "resolved": "https://registry.npmjs.org/karma/-/karma-6.3.20.tgz", - "integrity": "sha512-HRNQhMuKOwKpjYlWiJP0DUrJOh+QjaI/DTaD8b9rEm4Il3tJ8MijutVZH4ts10LuUFst/CedwTS6vieCN8yTSw==", + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/karma/-/karma-6.4.2.tgz", + "integrity": "sha512-C6SU/53LB31BEgRg+omznBEMY4SjHU3ricV6zBcAe1EeILKkeScr+fZXtaI5WyDbkVowJxxAI6h73NcFPmXolQ==", "dev": true, "dependencies": { "@colors/colors": "1.5.0", @@ -11503,9 +11332,9 @@ } }, "node_modules/karma-chrome-launcher": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.1.0.tgz", - "integrity": "sha512-3dPs/n7vgz1rxxtynpzZTvb9y/GIaW8xjAwcIGttLbycqoFtI7yo1NGnQi6oFTherRE+GIhCAHZC4vEqWGhNvg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/karma-chrome-launcher/-/karma-chrome-launcher-3.2.0.tgz", + "integrity": "sha512-rE9RkUPI7I9mAxByQWkGJFXfFD6lE4gC5nPuZdobf/QdTEJI6EU4yIay/cfU/xV4ZxlM5JiTv7zWYgA64NpS5Q==", "dev": true, "dependencies": { "which": "^1.2.1" @@ -11543,35 +11372,35 @@ } }, "node_modules/karma-jasmine": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/karma-jasmine/-/karma-jasmine-4.0.1.tgz", - "integrity": "sha512-h8XDAhTiZjJKzfkoO1laMH+zfNlra+dEQHUAjpn5JV1zCPtOIVWGQjLBrqhnzQa/hrU2XrZwSyBa6XjEBzfXzw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/karma-jasmine/-/karma-jasmine-5.1.0.tgz", + "integrity": "sha512-i/zQLFrfEpRyQoJF9fsCdTMOF5c2dK7C7OmsuKg2D0YSsuZSfQDiLuaiktbuio6F2wiCsZSnSnieIQ0ant/uzQ==", "dev": true, "dependencies": { - "jasmine-core": "^3.6.0" + "jasmine-core": "^4.1.0" }, "engines": { - "node": ">= 10" + "node": ">=12" }, "peerDependencies": { - "karma": "*" + "karma": "^6.0.0" } }, "node_modules/karma-jasmine-html-reporter": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-1.5.4.tgz", - "integrity": "sha512-PtilRLno5O6wH3lDihRnz0Ba8oSn0YUJqKjjux1peoYGwo0AQqrWRbdWk/RLzcGlb+onTyXAnHl6M+Hu3UxG/Q==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/karma-jasmine-html-reporter/-/karma-jasmine-html-reporter-2.1.0.tgz", + "integrity": "sha512-sPQE1+nlsn6Hwb5t+HHwyy0A1FNCVKuL1192b+XNauMYWThz2kweiBVW1DqloRpVvZIJkIoHVB7XRpK78n1xbQ==", "dev": true, "peerDependencies": { - "jasmine-core": ">=3.5", - "karma": ">=0.9", - "karma-jasmine": ">=1.1" + "jasmine-core": "^4.0.0 || ^5.0.0", + "karma": "^6.0.0", + "karma-jasmine": "^5.0.0" } }, "node_modules/karma-jasmine/node_modules/jasmine-core": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.7.1.tgz", - "integrity": "sha512-DH3oYDS/AUvvr22+xUBW62m1Xoy7tUlY1tsxKEJvl5JeJ7q8zd1K5bUwiOxdH+erj6l2vAMM3hV25Xs9/WrmuQ==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-4.6.0.tgz", + "integrity": "sha512-O236+gd0ZXS8YAjFx8xKaJ94/erqUliEkJTDedyE7iHvv4ZVqi+q+8acJxu05/WJDKm512EUNn809In37nWlAQ==", "dev": true }, "node_modules/karma-source-map-support": { @@ -11749,16 +11578,15 @@ } }, "node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" + "p-locate": "^4.1.0" }, "engines": { - "node": ">=6" + "node": ">=8" } }, "node_modules/lodash": { @@ -12088,7 +11916,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", - "dev": true, "engines": { "node": ">=8" } @@ -12266,9 +12093,9 @@ } }, "node_modules/mri": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/mri/-/mri-1.1.4.tgz", - "integrity": "sha512-6y7IjGPm8AzlvoUrwAaw1tLnUBudaS3752vcd8JtrpGGQn+rXIe63LFVHm/YMwtqAuh+LJPCFdlLYPWM1nYn6w==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", + "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", "dev": true, "engines": { "node": ">=4" @@ -12303,18 +12130,37 @@ } }, "node_modules/multimatch": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-3.0.0.tgz", - "integrity": "sha512-22foS/gqQfANZ3o+W7ST2x25ueHDVNWl/b9OlGcLpy/iKxjCpvcNCM51YCenUi7Mt/jAjjqv8JwZRs8YP5sRjA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-4.0.0.tgz", + "integrity": "sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ==", "dev": true, "dependencies": { - "array-differ": "^2.0.3", - "array-union": "^1.0.2", - "arrify": "^1.0.1", + "@types/minimatch": "^3.0.3", + "array-differ": "^3.0.0", + "array-union": "^2.1.0", + "arrify": "^2.0.1", "minimatch": "^3.0.4" }, "engines": { - "node": ">=6" + "node": ">=8" + } + }, + "node_modules/multimatch/node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/multimatch/node_modules/arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", + "dev": true, + "engines": { + "node": ">=8" } }, "node_modules/mute-stream": { @@ -12347,6 +12193,12 @@ "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", "dev": true }, + "node_modules/natural-compare-lite": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", + "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", + "dev": true + }, "node_modules/needle": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/needle/-/needle-3.2.0.tgz", @@ -12439,12 +12291,6 @@ "node-gyp-build": "^4.2.2" } }, - "node_modules/nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", - "dev": true - }, "node_modules/node-abort-controller": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-3.1.1.tgz", @@ -12586,24 +12432,6 @@ "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, - "node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/normalize-package-data/node_modules/hosted-git-info": { - "version": "2.8.9", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", - "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", - "dev": true - }, "node_modules/normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", @@ -12761,15 +12589,15 @@ } }, "node_modules/npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", "dev": true, "dependencies": { - "path-key": "^2.0.0" + "path-key": "^3.0.0" }, "engines": { - "node": ">=4" + "node": ">=8" } }, "node_modules/npmlog": { @@ -12938,15 +12766,6 @@ "node": "*" } }, - "node_modules/nx/node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, "node_modules/nx/node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", @@ -12980,27 +12799,6 @@ "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, - "node_modules/nx/node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/nx/node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/nx/node_modules/semver": { "version": "7.5.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", @@ -13176,6 +12974,7 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, "dependencies": { "wrappy": "1" } @@ -13213,17 +13012,17 @@ } }, "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", "dev": true, "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" + "type-check": "^0.4.0" }, "engines": { "node": ">= 0.8.0" @@ -13277,15 +13076,6 @@ "node": ">=0.10.0" } }, - "node_modules/p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/p-limit": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", @@ -13302,15 +13092,15 @@ } }, "node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "dependencies": { - "p-limit": "^2.0.0" + "p-limit": "^2.2.0" }, "engines": { - "node": ">=6" + "node": ">=8" } }, "node_modules/p-map": { @@ -13392,9 +13182,9 @@ } }, "node_modules/pako": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pako/-/pako-2.0.4.tgz", - "integrity": "sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg==" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz", + "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==" }, "node_modules/parent-module": { "version": "1.0.1", @@ -13417,19 +13207,6 @@ "node": ">=6" } }, - "node_modules/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "dev": true, - "dependencies": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/parse-node-version": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", @@ -13487,18 +13264,19 @@ } }, "node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, "engines": { - "node": ">=4" + "node": ">=8" } }, "node_modules/path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -13510,12 +13288,11 @@ "dev": true }, "node_modules/path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", - "dev": true, + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "engines": { - "node": ">=4" + "node": ">=8" } }, "node_modules/path-parse": { @@ -13528,7 +13305,6 @@ "version": "1.10.1", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz", "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==", - "dev": true, "dependencies": { "lru-cache": "^9.1.1 || ^10.0.0", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" @@ -13544,7 +13320,6 @@ "version": "10.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.0.tgz", "integrity": "sha512-svTf/fzsKHffP42sujkO/Rjs37BCIsQVRCeNYIm9WN8rgT7ffoUnRtZCqU+6BqcSBdv8gwJeTz8knJpgACeQMw==", - "dev": true, "engines": { "node": "14 || >=16.14" } @@ -13632,27 +13407,6 @@ "nice-napi": "^1.0.2" } }, - "node_modules/pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dev": true, - "dependencies": { - "find-up": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/please-upgrade-node": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz", - "integrity": "sha512-KY1uHnQ2NlQHqIJQpnh/i54rKkuxCEBx+voJIS/Mvb+L2iYd2NMotwduhKTMjfC1uKoX3VXOxLjIYG66dfJTVQ==", - "dev": true, - "dependencies": { - "semver-compare": "^1.0.0" - } - }, "node_modules/postcss": { "version": "8.4.24", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.24.tgz", @@ -13728,22 +13482,6 @@ "url": "https://github.com/sponsors/d-fischer" } }, - "node_modules/postcss-loader/node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/postcss-loader/node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", @@ -13774,15 +13512,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/postcss-loader/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/postcss-loader/node_modules/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", @@ -13886,15 +13615,18 @@ } }, "node_modules/prettier": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz", - "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.0.tgz", + "integrity": "sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==", "dev": true, "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" } }, "node_modules/pretty-bytes": { @@ -13910,137 +13642,41 @@ } }, "node_modules/pretty-quick": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/pretty-quick/-/pretty-quick-1.11.1.tgz", - "integrity": "sha512-kSXCkcETfak7EQXz6WOkCeCqpbC4GIzrN/vaneTGMP/fAtD8NerA9bPhCUqHAks1geo7biZNl5uEMPceeneLuA==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/pretty-quick/-/pretty-quick-3.1.3.tgz", + "integrity": "sha512-kOCi2FJabvuh1as9enxYmrnBC6tVMoVOenMaBqRfsvBHB0cbpYHjdQEpSglpASDFEXVwplpcGR4CLEaisYAFcA==", "dev": true, "dependencies": { - "chalk": "^2.3.0", - "execa": "^0.8.0", - "find-up": "^2.1.0", - "ignore": "^3.3.7", - "mri": "^1.1.0", - "multimatch": "^3.0.0" + "chalk": "^3.0.0", + "execa": "^4.0.0", + "find-up": "^4.1.0", + "ignore": "^5.1.4", + "mri": "^1.1.5", + "multimatch": "^4.0.0" }, "bin": { "pretty-quick": "bin/pretty-quick.js" }, - "peerDependencies": { - "prettier": ">=1.8.0" - } - }, - "node_modules/pretty-quick/node_modules/cross-spawn": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", - "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", - "dev": true, - "dependencies": { - "lru-cache": "^4.0.1", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - } - }, - "node_modules/pretty-quick/node_modules/execa": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-0.8.0.tgz", - "integrity": "sha1-2NdrvBtVIX7RkP1t1J08d07PyNo=", - "dev": true, - "dependencies": { - "cross-spawn": "^5.0.1", - "get-stream": "^3.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - }, "engines": { - "node": ">=4" - } - }, - "node_modules/pretty-quick/node_modules/find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "dependencies": { - "locate-path": "^2.0.0" + "node": ">=10.13" }, - "engines": { - "node": ">=4" + "peerDependencies": { + "prettier": ">=2.0.0" } }, - "node_modules/pretty-quick/node_modules/get-stream": { + "node_modules/pretty-quick/node_modules/chalk": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", - "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/pretty-quick/node_modules/locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dev": true, - "dependencies": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/pretty-quick/node_modules/lru-cache": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", - "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", - "dev": true, - "dependencies": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" - } - }, - "node_modules/pretty-quick/node_modules/p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "dependencies": { - "p-try": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/pretty-quick/node_modules/p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", "dev": true, "dependencies": { - "p-limit": "^1.1.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, "engines": { - "node": ">=4" - } - }, - "node_modules/pretty-quick/node_modules/p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "dev": true, - "engines": { - "node": ">=4" + "node": ">=8" } }, - "node_modules/pretty-quick/node_modules/yallist": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", - "dev": true - }, "node_modules/proc-log": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz", @@ -14174,19 +13810,6 @@ "node": ">=7.0.0" } }, - "node_modules/protractor/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/protractor/node_modules/jasmine": { "version": "2.8.0", "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-2.8.0.tgz", @@ -14207,39 +13830,6 @@ "integrity": "sha1-vMl5rh+f0FcB5F5S5l06XWPxok4=", "dev": true }, - "node_modules/protractor/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/protractor/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/protractor/node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/protractor/node_modules/q": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", @@ -14409,12 +13999,6 @@ "dev": true, "optional": true }, - "node_modules/pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", - "dev": true - }, "node_modules/psl": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.2.0.tgz", @@ -14666,29 +14250,6 @@ "node": ">=10" } }, - "node_modules/read-pkg": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-4.0.1.tgz", - "integrity": "sha1-ljYlN48+HE1IyFhytabsfV0JMjc=", - "dev": true, - "dependencies": { - "normalize-package-data": "^2.3.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/read-pkg/node_modules/pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/readable-stream": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", @@ -14785,18 +14346,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/regexpp": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", - "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - } - }, "node_modules/regexpu-core": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.2.tgz", @@ -14934,9 +14483,9 @@ } }, "node_modules/resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true, "engines": { "node": ">=4" @@ -15047,18 +14596,6 @@ "node": ">=0.12.0" } }, - "node_modules/run-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/run-node/-/run-node-1.0.0.tgz", - "integrity": "sha512-kc120TBlQ3mih1LSzdAJXo4xn/GWS2ec0l3S+syHDXP9uRr0JAT8Qd3mdMuyjqCzeZktgP3try92cEgf9Nks8A==", - "dev": true, - "bin": { - "run-node": "run-node" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -15278,20 +14815,14 @@ } }, "node_modules/semver": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", - "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", "dev": true, "bin": { "semver": "bin/semver" } }, - "node_modules/semver-compare": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", - "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", - "dev": true - }, "node_modules/send": { "version": "0.18.0", "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", @@ -15487,27 +15018,6 @@ "node": ">=8" } }, - "node_modules/shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", - "dev": true, - "dependencies": { - "shebang-regex": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/shell-quote": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", @@ -15556,12 +15066,12 @@ } }, "node_modules/slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true, "engines": { - "node": ">=6" + "node": ">=8" } }, "node_modules/smart-buffer": { @@ -15601,9 +15111,9 @@ } }, "node_modules/socket.io-parser": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.2.tgz", - "integrity": "sha512-DJtziuKypFkMMHCm2uIshOYC7QaylbtzQwiMYDuCKy3OPkjLzu4B2vAhTlqipRHHzrI0NJeBAizTK7X+6m1jVw==", + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz", + "integrity": "sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==", "dev": true, "dependencies": { "@socket.io/component-emitter": "~3.1.0", @@ -15624,6 +15134,15 @@ "websocket-driver": "^0.7.4" } }, + "node_modules/sockjs/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/socks": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", @@ -15932,7 +15451,6 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -15947,7 +15465,6 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -15961,7 +15478,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -15974,7 +15490,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -15986,7 +15501,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, "engines": { "node": ">=8" } @@ -15995,7 +15509,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, "engines": { "node": ">=8" } @@ -16009,15 +15522,6 @@ "node": ">=4" } }, - "node_modules/strip-eof": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/strip-final-newline": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", @@ -16403,32 +15907,65 @@ "tree-kill": "cli.js" } }, - "node_modules/ts-node": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-7.0.1.tgz", - "integrity": "sha512-BVwVbPJRspzNh2yfslyT1PSbl5uIk03EZlb493RKHN4qej/D06n1cEhjlOJG69oFsE7OT8XjpTUcYf6pKTLMhw==", + "node_modules/ts-api-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.1.tgz", + "integrity": "sha512-lC/RGlPmwdrIBFTX59wwNzqh7aR2otPNPR/5brHZm/XKFYKsfqxihXUe9pU3JI+3vGkl+vyCoNNnPhJn3aLK1A==", "dev": true, - "dependencies": { - "arrify": "^1.0.0", - "buffer-from": "^1.1.0", - "diff": "^3.1.0", + "engines": { + "node": ">=16.13.0" + }, + "peerDependencies": { + "typescript": ">=4.2.0" + } + }, + "node_modules/ts-node": { + "version": "10.9.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", + "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", + "dev": true, + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", "make-error": "^1.1.1", - "minimist": "^1.2.0", - "mkdirp": "^0.5.1", - "source-map-support": "^0.5.6", - "yn": "^2.0.0" + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" }, "bin": { - "ts-node": "dist/bin.js" + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" }, - "engines": { - "node": ">=4.2.0" + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } } }, "node_modules/ts-toolbelt": { - "version": "6.15.5", - "resolved": "https://registry.npmjs.org/ts-toolbelt/-/ts-toolbelt-6.15.5.tgz", - "integrity": "sha512-FZIXf1ksVyLcfr7M317jbB67XFJhOO1YqdTcuGaq9q5jLUoTikukZ+98TPjKiP2jC5CgmYdWWYs0s2nLSU0/1A==", + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/ts-toolbelt/-/ts-toolbelt-9.6.0.tgz", + "integrity": "sha512-nsZd8ZeNUzukXPlJmTBwUAuABDe/9qtVDelJeT/qW0ow3ZS3BsQJtNkan1802aM9Uf68/Y8ljw86Hu0h5IUW3w==", "dev": true }, "node_modules/tsconfig-paths": { @@ -16446,9 +15983,9 @@ } }, "node_modules/tslib": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", - "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==" + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.1.tgz", + "integrity": "sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==" }, "node_modules/tslint": { "version": "6.1.3", @@ -16481,15 +16018,6 @@ "typescript": ">=2.3.0-dev || >=2.4.0-dev || >=2.5.0-dev || >=2.6.0-dev || >=2.7.0-dev || >=2.8.0-dev || >=2.9.0-dev || >=3.0.0-dev || >= 3.1.0-dev || >= 3.2.0-dev || >= 4.0.0-dev" } }, - "node_modules/tslint/node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true, - "engines": { - "node": ">=0.3.1" - } - }, "node_modules/tslint/node_modules/tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", @@ -16589,6 +16117,15 @@ "integrity": "sha512-KNNZtayBCtmnNmbo5mG47p1XsCyrx6iVqomjcZnec/1Y5GGARaxPs6r49RnSPeUP3YjNYiU9sQHAtY4BBvnZwg==", "dev": true }, + "node_modules/types-ramda": { + "version": "0.29.4", + "resolved": "https://registry.npmjs.org/types-ramda/-/types-ramda-0.29.4.tgz", + "integrity": "sha512-XO/820iRsCDwqLjE8XE+b57cVGPyk1h+U9lBGpDWvbEky+NQChvHVwaKM05WnW1c5z3EVQh8NhXFmh2E/1YazQ==", + "dev": true, + "dependencies": { + "ts-toolbelt": "^9.6.0" + } + }, "node_modules/typescript": { "version": "5.1.6", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", @@ -16757,9 +16294,9 @@ } }, "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz", + "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==", "bin": { "uuid": "dist/bin/uuid" } @@ -16770,6 +16307,12 @@ "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", "dev": true }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true + }, "node_modules/validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", @@ -17313,15 +16856,6 @@ "integrity": "sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==", "dev": true }, - "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", @@ -17344,7 +16878,6 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -17360,7 +16893,8 @@ "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true }, "node_modules/ws": { "version": "8.11.0", @@ -17467,9 +17001,9 @@ } }, "node_modules/yarn": { - "version": "1.22.17", - "resolved": "https://registry.npmjs.org/yarn/-/yarn-1.22.17.tgz", - "integrity": "sha512-H0p241BXaH0UN9IeH//RT82tl5PfNraVpSpEoW+ET7lmopNC61eZ+A+IDvU8FM6Go5vx162SncDL8J1ZjRBriQ==", + "version": "1.22.19", + "resolved": "https://registry.npmjs.org/yarn/-/yarn-1.22.19.tgz", + "integrity": "sha512-/0V5q0WbslqnwP91tirOvldvYISzaqhClxzyUKXYxs07yUILIs5jx/k6CFe8bvKSkds5w+eiOqta39Wk3WxdcQ==", "hasInstallScript": true, "bin": { "yarn": "bin/yarn.js", @@ -17480,12 +17014,24 @@ } }, "node_modules/yn": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/yn/-/yn-2.0.0.tgz", - "integrity": "sha1-5a2ryKz0CPY4X8dklWhMiOavaJo=", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", "dev": true, "engines": { - "node": ">=4" + "node": ">=6" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/zone.js": { diff --git a/angular/package.json b/angular/package.json index 9e4b43a5..985b986a 100644 --- a/angular/package.json +++ b/angular/package.json @@ -24,24 +24,24 @@ "@angular/router": "^16.1.7", "@ngx-translate/core": "^15.0.0", "@ngx-translate/http-loader": "^8.0.0", - "@types/jasmine": "^3.6.9", - "@types/pako": "^1.0.3", - "ace-builds": "^1.4.14", - "angular-oauth2-oidc": "^13.0.1", + "@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": "^2.6.2", + "core-js": "^3.32.0", "debug": "^4.3.1", "fhir-kit-client": "1.9.2", - "fhirpath": "^2.10.2", - "jasmine": "^3.7.0", - "js-base64": "^3.7.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.0.4", + "pako": "^2.1.0", "rxjs": "^7.8.1", - "tslib": "^2.0.0", - "uuid": "^8.3.2", - "yarn": "^1.22.17", + "tslib": "^2.6.1", + "uuid": "^9.0.0", + "yarn": "^1.22.19", "zone.js": "^0.13.1" }, "devDependencies": { @@ -54,26 +54,26 @@ "@angular/cli": "^16.1.6", "@angular/compiler-cli": "^16.1.7", "@angular/language-service": "^16.1.7", - "@types/debug": "^4.1.5", - "@types/node": "^10.12.18", - "@types/ramda": "^0.26.44", - "@typescript-eslint/eslint-plugin": "5.3.0", - "@typescript-eslint/parser": "5.3.0", - "eslint": "^8.2.0", - "husky": "^1.3.1", - "jasmine-core": "~3.6.0", - "jasmine-spec-reporter": "~5.0.0", + "@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.3.1", - "karma-chrome-launcher": "~3.1.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": "~4.0.0", - "karma-jasmine-html-reporter": "^1.5.0", - "prettier": "2.2.1", - "pretty-quick": "^1.10.0", + "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": "~7.0.1", + "ts-node": "^10.9.1", "tslint": "~6.1.0", "typescript": "~5.1.6" }, From defca078fdc86d5c5b76ede75e8bde03e894ab54 Mon Sep 17 00:00:00 2001 From: qligier Date: Mon, 31 Jul 2023 09:12:06 +0000 Subject: [PATCH 10/29] Rebuild the Angular GUI resources --- .../resources/static/3rdpartylicenses.txt | 64 ++----------------- src/main/resources/static/index.html | 11 ++-- .../resources/static/main.381331d4e84c1cbe.js | 1 - .../resources/static/main.a126e678e7da9d35.js | 1 + .../static/polyfills.85b661583cb8b0e8.js | 1 - .../static/polyfills.faaea47b1b6ef438.js | 1 + .../static/runtime.19a1fe9fd2786b5a.js | 1 - .../static/runtime.b36ad241e7dd5c21.js | 1 + .../static/styles.40c876f06111a7dc.css | 1 - .../static/styles.9022959394317ac6.css | 10 +++ 10 files changed, 24 insertions(+), 68 deletions(-) delete mode 100644 src/main/resources/static/main.381331d4e84c1cbe.js create mode 100644 src/main/resources/static/main.a126e678e7da9d35.js delete mode 100644 src/main/resources/static/polyfills.85b661583cb8b0e8.js create mode 100644 src/main/resources/static/polyfills.faaea47b1b6ef438.js delete mode 100644 src/main/resources/static/runtime.19a1fe9fd2786b5a.js create mode 100644 src/main/resources/static/runtime.b36ad241e7dd5c21.js delete mode 100644 src/main/resources/static/styles.40c876f06111a7dc.css create mode 100644 src/main/resources/static/styles.9022959394317ac6.css diff --git a/src/main/resources/static/3rdpartylicenses.txt b/src/main/resources/static/3rdpartylicenses.txt index 48f0f469..0b0b30aa 100644 --- a/src/main/resources/static/3rdpartylicenses.txt +++ b/src/main/resources/static/3rdpartylicenses.txt @@ -5,7 +5,7 @@ MIT MIT The MIT License -Copyright (c) 2021 Google LLC. +Copyright (c) 2023 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -39,7 +39,7 @@ MIT MIT The MIT License -Copyright (c) 2021 Google LLC. +Copyright (c) 2023 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -96,10 +96,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. SEE LICENSE IN LICENSE.md @ngx-translate/core -MIT +SEE LICENSE IN LICENSE @ngx-translate/http-loader -MIT +SEE LICENSE IN LICENSE agentkeepalive MIT @@ -235,34 +235,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -fast-sha256 -Unlicense -This is free and unencumbered software released into the public domain. - -Anyone is free to copy, modify, publish, use, compile, sell, or -distribute this software, either in source code form or as a compiled -binary, for any purpose, commercial or non-commercial, and by any -means. - -In jurisdictions that recognize copyright laws, the author or authors -of this software dedicate any and all copyright interest in the -software to the public domain. We make this dedication for the benefit -of the public at large and to the detriment of our heirs and -successors. We intend this dedication to be an overt act of -relinquishment in perpetuity of all present and future rights to this -software under copyright law. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR -OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - -For more information, please refer to - - fhir-kit-client MIT MIT License @@ -389,32 +361,6 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -highlightjs-line-numbers.js -MIT -The MIT License (MIT) - -Copyright (c) 2017 Yauheni Pakala - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - - is-finite MIT MIT License @@ -834,7 +780,7 @@ zone.js MIT The MIT License -Copyright (c) 2010-2020 Google LLC. https://angular.io/license +Copyright (c) 2010-2023 Google LLC. https://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index bd7530aa..14d19ffe 100644 --- a/src/main/resources/static/index.html +++ b/src/main/resources/static/index.html @@ -1,4 +1,6 @@ - + + + Mobile Access Gateway @@ -13,9 +15,8 @@ }"/>` ); - + - - - \ No newline at end of file + + diff --git a/src/main/resources/static/main.381331d4e84c1cbe.js b/src/main/resources/static/main.381331d4e84c1cbe.js deleted file mode 100644 index 97db6be5..00000000 --- a/src/main/resources/static/main.381331d4e84c1cbe.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[179],{5424:(he,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Ucum=void 0,A.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"}}},6227:(he,A,o)=>{"use strict";A.R=void 0;var l=o(5424),u=o(5984);class c{constructor(d){if(0===l.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==d)this.assignZero();else if(d instanceof Array){if(d.length!==l.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(d)}`);this.dimVec_=[];for(let m=0;m=l.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[d]=1}}setElementAt(d,m){if(!u(d)||d<0||d>=l.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${d})`);this.dimVec_||this.assignZero(),null==m&&(m=1),this.dimVec_[d]=m}getElementAt(d){if(!u(d)||d<0||d>=l.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${d})`);let m=null;return this.dimVec_&&(m=this.dimVec_[d]),m}getProperty(d){return this["_"===d.charAt(d.length-1)?d:d+"_"]}toString(){let d=null;return this.dimVec_&&(d="["+this.dimVec_.join(", ")+"]"),d}add(d){if(!d instanceof c)throw new Error(`Dimension.add called with an invalid parameter - ${typeof d} instead of a Dimension object`);if(this.dimVec_&&d.dimVec_)for(let m=0;m{"use strict";A.DP=function(y){const b=y&&y.config;if(b){if(b.length&&y.data){const h=c(b);return y.data.map(d.bind(null,h))}return y.data}return y};function c(y){return y.map(b=>Array.isArray(b)?b:[b])}function d(y,b){let h={};return y.forEach((g,s)=>{let C=h;for(let P=0;P{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Prefix=void 0,o(5424),A.Prefix=class{constructor(c){if(null==c.code_||null==c.name_||null==c.value_||void 0===c.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_=c.code_,this.ciCode_=c.ciCode_,this.name_=c.name_,this.printSymbol_=c.printSymbol_,this.value_="string"==typeof c.value_?parseFloat(c.value_):c.value_,this.exp_=c.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(c){return this.code_===c.code_&&this.ciCode_===c.ciCode_&&this.name_===c.name_&&this.printSymbol_===c.printSymbol_&&this.value_===c.value_&&this.exp_===c.exp_}}},5361:(he,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.PrefixTables=A.PrefixTablesFactory=void 0;class o{constructor(){this.byCode_={},this.byValue_={}}prefixCount(){return Object.keys(this.byCode_).length}allPrefixesByValue(){let c="",r=Object.keys(this.byValue_),d=r.length;for(let m=0;m{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var n=new class{constructor(){this.funcs={},this.funcs.cel={cnvTo:function(u){return u-273.15},cnvFrom:function(u){return u+273.15}},this.funcs.degf={cnvTo:function(u){return u-459.67},cnvFrom:function(u){return u+459.67}},this.funcs.degre={cnvTo:function(u){return u-273.15},cnvFrom:function(u){return u+273.15}},this.funcs.ph={cnvTo:function(u){return-Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,-u)}},this.funcs.ln={cnvTo:function(u){return Math.log(u)},cnvFrom:function(u){return Math.exp(u)}},this.funcs["2ln"]={cnvTo:function(u){return 2*Math.log(u)},cnvFrom:function(u){return Math.exp(u/2)}},this.funcs.lg={cnvTo:function(u){return Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,u)}},this.funcs["10lg"]={cnvTo:function(u){return 10*Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,u/10)}},this.funcs["20lg"]={cnvTo:function(u){return 20*Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,u/20)}},this.funcs["2lg"]={cnvTo:function(u){return 2*Math.log(u)/Math.LN10},cnvFrom:function(u){return Math.pow(10,u/2)}},this.funcs.lgtimes2=this.funcs["2lg"],this.funcs.ld={cnvTo:function(u){return Math.log(u)/Math.LN2},cnvFrom:function(u){return Math.pow(2,u)}},this.funcs["100tan"]={cnvTo:function(u){return 100*Math.tan(u)},cnvFrom:function(u){return Math.atan(u/100)}},this.funcs.tanTimes100=this.funcs["100tan"],this.funcs.sqrt={cnvTo:function(u){return Math.sqrt(u)},cnvFrom:function(u){return u*u}},this.funcs.inv={cnvTo:function(u){return 1/u},cnvFrom:function(u){return 1/u}},this.funcs.hpX={cnvTo:function(u){return-this.funcs.lg(u)},cnvFrom:function(u){return Math.pow(10,-u)}},this.funcs.hpC={cnvTo:function(u){return-this.func.ln(u)/this.funcs.ln(100)},cnvFrom:function(u){return Math.pow(100,-u)}},this.funcs.hpM={cnvTo:function(u){return-this.funcs.ln(u)/this.funcs.ln(1e3)},cnvFrom:function(u){return Math.pow(1e3,-u)}},this.funcs.hpQ={cnvTo:function(u){return-this.funcs.ln(u)/this.funcs.ln(5e4)},cnvFrom:function(u){return Math.pow(5e4,-u)}}}forName(u){u=u.toLowerCase();let c=this.funcs[u];if(null===c)throw new Error(`Requested function ${u} is not defined`);return c}isDefined(u){return u=u.toLowerCase(),null!==this.funcs[u]}};A.default=n},4693:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.isNumericString=function(r){let d=""+r;return!isNaN(d)&&!isNaN(parseFloat(d))},A.isIntegerUnit=function(r){return/^\d+$/.test(r)},A.getSynonyms=function(r){let d={},p={};if(p=n.getInstance().getUnitBySynonym(r),p.units){d.status="succeeded";let y=p.units.length;d.units=[];for(let b=0;b{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.ucumJsonDefs=A.UcumJsonDefs=void 0;var n=o(3355),l=o(5361),u=o(8897),c=o(8334),r=o(4784).DP;class d{loadJsonDefs(){const y=o(8210);if(y.prefixes=r(y.prefixes),y.units=r(y.units),0===c.UnitTables.getInstance().unitsCount()){let b=l.PrefixTables.getInstance(),h=y.prefixes,g=h.length;for(let w=0;w{"use strict";A.n=void 0;var l=o(6395),u=function(b){if(b&&b.__esModule)return b;if(null===b||"object"!=typeof b&&"function"!=typeof b)return{default:b};var h=c();if(h&&h.has(b))return h.get(b);var g={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in b)if(Object.prototype.hasOwnProperty.call(b,C)){var P=s?Object.getOwnPropertyDescriptor(b,C):null;P&&(P.get||P.set)?Object.defineProperty(g,C,P):g[C]=b[C]}return g.default=b,h&&h.set(b,g),g}(o(4693));function c(){if("function"!=typeof WeakMap)return null;var b=new WeakMap;return c=function(){return b},b}var d=o(5424).Ucum,m=o(8334).UnitTables,p=o(5744).T;class y{constructor(){0===m.getInstance().unitsCount()&&l.ucumJsonDefs.loadJsonDefs(),this.uStrParser_=p.getInstance()}useHTMLInMessages(h){void 0===h&&(h=!0),this.uStrParser_.useHTMLInMessages(h)}useBraceMsgForEachString(h){void 0===h&&(h=!0),this.uStrParser_.useBraceMsgForEachString(h)}validateUnitString(h,g,s){void 0===g&&(g=!1),void 0===s&&(s="validate");let C=this.getSpecifiedUnit(h,s,g),P=C.unit,w={};return w=P?{status:C.origString===h?"valid":"invalid",ucumCode:C.origString,unit:{code:P.csCode_,name:P.name_,guidance:P.guidance_}}:{status:C.origString&&null!==C.origString?"invalid":"error",ucumCode:null},C.suggestions&&(w.suggestions=C.suggestions),w.msg=C.retMsg,w}convertUnitTo(h,g,s,C,P){void 0===C&&(C=!1),void 0===P&&(P=null);let w={status:"failed",toVal:null,msg:[]};if(h&&(h=h.trim()),(!h||""==h)&&(w.status="error",w.msg.push('No "from" unit expression specified.')),(null===g||isNaN(g)||"number"!=typeof g&&!u.isNumericString(g))&&(w.status="error",w.msg.push('No "from" value, or an invalid "from" value, was specified.')),s&&(s=s.trim()),(!s||""==s)&&(w.status="error",w.msg.push('No "to" unit expression specified.')),"error"!==w.status)try{let D=null,T=this.getSpecifiedUnit(h,"convert",C);D=T.unit,T.retMsg&&(w.msg=w.msg.concat(T.retMsg)),T.suggestions&&(w.suggestions={},w.suggestions.from=T.suggestions),D||w.msg.push(`Unable to find a unit for ${h}, so no conversion could be performed.`);let Y=null;if(T=this.getSpecifiedUnit(s,"convert",C),Y=T.unit,T.retMsg&&(w.msg=w.msg.concat(T.retMsg)),T.suggestions&&(w.suggestions||(w.suggestions={}),w.suggestions.to=T.suggestions),Y||w.msg.push(`Unable to find a unit for ${s}, so no conversion could be performed.`),D&&Y)try{if(P){if(0!==D.moleExp_&&0!==Y.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===D.moleExp_&&0===Y.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(!D.isMoleMassCommensurable(Y))throw new Error(`Sorry. ${h} cannot be converted to ${s}.`);w.toVal=0!==D.moleExp_?D.convertMolToMass(g,Y,P):D.convertMassToMol(g,Y,P)}else w.toVal=Y.convertFrom(g,D);w.status="succeeded",w.fromUnit=D,w.toUnit=Y}catch($){w.status="failed",w.msg.push($.message)}}catch(D){w.status=D.message==d.needMoleWeightMsg_?"failed":"error",w.msg.push(D.message)}return w}checkSynonyms(h){let g={};return null==h?(g.status="error",g.msg="No term specified for synonym search."):g=u.getSynonyms(h),g}getSpecifiedUnit(h,g,s){void 0===s&&(s=!1);let C={retMsg:[]};if(h){let P=m.getInstance();h=h.trim();let w=P.getUnitByCode(h);if(w)C.unit=w,C.origString=h;else try{let D=this.uStrParser_.parseString(h,g,s);C.unit=D[0],C.origString=D[1],D[2]&&(C.retMsg=D[2]),C.suggestions=D[3]}catch(D){console.log(`Unit requested for unit string ${h}.request unsuccessful; error thrown = `+D.message),C.retMsg.unshift(`${h} is not a valid unit. ${D.message}`)}}else C.retMsg.push("No unit string specified.");return C}commensurablesList(h){let g=[],s=null,C=this.getSpecifiedUnit(h,"validate",!1),P=C.unit;if(C.retMsg.length>0&&(g=C.retMsg),P){let w=null,D=P.getProperty("dim_");if(D){try{w=D.getProperty("dimVec_")}catch(T){g.push(T.message),"Dimension does not have requested property(dimVec_)"===T.message&&(w=null)}w&&(s=m.getInstance().getUnitsByDimension(w))}else g.push("No commensurable units were found for "+h)}else g.push(`Could not find unit ${h}.`);return[s,g]}}A.n=y,y.getInstance=function(){return new y}},1334:(he,A,o)=>{"use strict";A.ng=void 0,o(5424);var u=o(4854).n;A.ng=u,o(8334)},8897:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.Unit=void 0;var h,n=(h=o(8287))&&h.__esModule?h:{default:h},l=function(h){if(h&&h.__esModule)return h;if(null===h||"object"!=typeof h&&"function"!=typeof h)return{default:h};var g=u();if(g&&g.has(h))return g.get(h);var s={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in h)if(Object.prototype.hasOwnProperty.call(h,P)){var w=C?Object.getOwnPropertyDescriptor(h,P):null;w&&(w.get||w.set)?Object.defineProperty(s,P,w):s[P]=h[P]}return s.default=h,g&&g.set(h,s),s}(o(4693));function u(){if("function"!=typeof WeakMap)return null;var h=new WeakMap;return u=function(){return h},h}var p,d=o(5424).Ucum,m=o(6227).R,y=o(5984);class b{constructor(g={}){this.isBase_=g.isBase_||!1,this.name_=g.name_||"",this.csCode_=g.csCode_||"",this.ciCode_=g.ciCode_||"",this.property_=g.property_||"",this.magnitude_=g.magnitude_||1,this.dim_=null==g.dim_?new m:void 0!==g.dim_.dimVec_?new m(g.dim_.dimVec_):g.dim_ instanceof m?g.dim_:g.dim_ instanceof Array||y(g.dim_)?new m(g.dim_):new m,this.printSymbol_=g.printSymbol_||null,this.class_=g.class_||null,this.isMetric_=g.isMetric_||!1,this.variable_=g.variable_||null,this.cnv_=g.cnv_||null,this.cnvPfx_=g.cnvPfx_||1,this.isSpecial_=g.isSpecial_||!1,this.isArbitrary_=g.isArbitrary_||!1,this.moleExp_=g.moleExp_||0,this.synonyms_=g.synonyms_||null,this.source_=g.source_||null,this.loincProperty_=g.loincProperty_||null,this.category_=g.category_||null,this.guidance_=g.guidance_||null,this.csUnitString_=g.csUnitString_||null,this.ciUnitString_=g.ciUnitString_||null,this.baseFactorStr_=g.baseFactorStr_||null,this.baseFactor_=g.baseFactor_||null,this.defError_=g.defError_||!1}assignUnity(){return this.name_="",this.magnitude_=1,this.dim_||(this.dim_=new m),this.dim_.assignZero(),this.cnv_=null,this.cnvPfx_=1,this}assignVals(g){for(let s in g){let C="_"===!s.charAt(s.length-1)?s+"_":s;if(!this.hasOwnProperty(C))throw new Error(`Parameter error; ${s} is not a property of a Unit`);this[C]=g[s]}}clone(){let g=new b;return Object.getOwnPropertyNames(this).forEach(s=>{"dim_"===s?g.dim_=this.dim_?this.dim_.clone():null:g[s]=this[s]}),g}assign(g){Object.getOwnPropertyNames(g).forEach(s=>{"dim_"===s?this.dim_=g.dim_?g.dim_.clone():null:this[s]=g[s]})}equals(g){return this.magnitude_===g.magnitude_&&this.cnv_===g.cnv_&&this.cnvPfx_===g.cnvPfx_&&(null===this.dim_&&null===g.dim_||this.dim_.equals(g.dim_))}fullEquals(g){let s=Object.keys(this).sort(),C=Object.keys(g).sort(),P=s.length,w=P===C.length;for(let D=0;D0){let s=g.replace("/","!").replace(".","/").replace("!",".");switch(s.charAt(0)){case".":g=s.substr(1);break;case"/":g=s;break;default:g="/"+s}}return g}_concatStrs(g,s,C,P,w){return this._buildOneString(g,P,w)+s+this._buildOneString(C,P,w)}_buildOneString(g,s,C){let P="";return P=l.isNumericString(g)||"("===g.charAt(0)||"["===g.charAt(0)?g:/[./* ]/.test(g)?s+g+C:g,P}power(g){if(null!=this.cnv_)throw new Error(`Attempt to raise a non-ratio unit, ${this.name_}, to a power.`);let C=this.csCode_.match(/([./]|[^./]+)/g),P=C.length;for(let w=0;w=0;$--){let z=parseInt(D[$]);if(!y(z)){if(("-"===D[$]||"+"===D[$])&&$--,${"use strict";A.T=void 0;var l=function(b){if(b&&b.__esModule)return b;if(null===b||"object"!=typeof b&&"function"!=typeof b)return{default:b};var h=u();if(h&&h.has(b))return h.get(b);var g={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in b)if(Object.prototype.hasOwnProperty.call(b,C)){var P=s?Object.getOwnPropertyDescriptor(b,C):null;P&&(P.get||P.set)?Object.defineProperty(g,C,P):g[C]=b[C]}return g.default=b,h&&h.set(b,g),g}(o(4693));function u(){if("function"!=typeof WeakMap)return null;var b=new WeakMap;return u=function(){return b},b}var r=o(5424).Ucum,d=o(8897).Unit,m=o(8334).UnitTables,p=o(5361).PrefixTables;class y{constructor(){this.utabs_=m.getInstance(),this.pfxTabs_=p.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(h){void 0===h||h?(this.openEmph_=r.openEmphHTML_,this.closeEmph_=r.closeEmphHTML_):(this.openEmph_=r.openEmph_,this.closeEmph_=r.closeEmph_)}useBraceMsgForEachString(h){this.bracesMsg_=void 0===h||h?r.bracesMsg_:""}parseString(h,g,s){if(""===(h=h.trim())||null===h)throw new Error("Please specify a unit expression to be validated.");"validate"===g?(this.vcMsgStart_=r.valMsgStart_,this.vcMsgEnd_=r.valMsgEnd_):(this.vcMsgStart_=r.cnvMsgStart_,this.vcMsgEnd_=r.cnvMsgEnd_),this.suggestions_=void 0===s||!1===s?null:[],this.retMsg_=[],this.parensUnits_=[],this.annotations_=[];let C=h,P=[];if(h=this._getAnnotations(h),this.retMsg_.length>0)P[0]=null,P[1]=null;else{let D=null;for(D in r.specUnits_)for(;-1!==h.indexOf(D);)h=h.replace(D,r.specUnits_[D]);if(h.indexOf(" ")>-1)throw new Error("Blank spaces are not allowed in unit expressions.");P=this._parseTheString(h,C);let T=P[0];(l.isIntegerUnit(T)||"number"==typeof T)&&(T=new d({csCode_:C,magnitude_:T,name_:C}),P[0]=T)}return P[2]=this.retMsg_,this.suggestions_&&this.suggestions_.length>0&&(P[3]=this.suggestions_),P}_parseTheString(h,g){let s=null,C=this.retMsg_.length>0,P=this._processParens(h,g);C=P[2];let w=[];if(!C){let D=this._makeUnitsArray(h=P[0],g=P[1]);if(C=D[2],!C){w=D[0],g=D[1];let T=w.length;for(let Y=0;Y=0){let z=this._getParensUnit($,g);C||(C=z[1]),C||(w[Y].un=z[0])}else{let z=this._makeUnit($,g);null===z[0]?C=!0:(w[Y].un=z[0],g=z[1])}}}}return C||(null===w[0]||" "===w[0]||null==w[0].un)&&0===this.retMsg_.length&&(this.retMsg_.push(`Unit string (${g}) did not contain anything that could be used to create a unit, or else something that is not handled yet by this package. Sorry`),C=!0),C||(s=this._performUnitArithmetic(w,g)),[s,g]}_getAnnotations(h){let g=h.indexOf("{");for(;g>=0;){let C=h.indexOf("}");if(C<0)this.retMsg_.push("Missing closing brace for annotation starting at "+this.openEmph_+h.substr(g)+this.closeEmph_),g=-1;else{let P=h.substring(g,C+1),w=this.annotations_.length.toString();h=h.replace(P,this.braceFlag_+w+this.braceFlag_),this.annotations_.push(P),g=h.indexOf("{")}}let s=h.indexOf("}");return s>=0&&this.retMsg_.push("Missing opening brace for closing brace found at "+this.openEmph_+h.substring(0,s+1)+this.closeEmph_),h}_processParens(h,g){let s=[],C=0,P=!1,w=this.parensUnits_.length,D=0;for(;""!==h&&!P;){let T=0,Y=0,$=h.indexOf("(");if($<0){let z=h.indexOf(")");if(z>=0){let G=`Missing open parenthesis for close parenthesis at ${h.substring(0,z+D)}${this.openEmph_}${h.substr(z,1)}${this.closeEmph_}`;z0&&(s[C++]=h.substr(0,$));let G=0,X=$+1;for(;X0&&(Y=h.substr(0,T-1));let $=h.lastIndexOf(this.parensFlag_),z=null;$+this.pFlagLen_=0){let X=this._getAnnoText(Y,g);if(X[1]||X[2])throw new Error(`Text found before the parentheses (${Y}) included an annotation along with other text for parenthetical unit ${P.csCode_}`);this.retMsg_.push(`The annotation ${X[0]} before the unit code is invalid.\n`+this.vcMsgStart_+(h+=X[0])+this.vcMsgEnd_)}else this.suggestions_?s="succeeded"!==this._getSuggestions(Y):(this.retMsg_.push(`${Y} preceding the unit code ${h} is invalid. Unable to make a substitution.`),s=!0);if(z)if(z.indexOf(this.braceFlag_)>=0){let X=this._getAnnoText(z,g);if(X[1]||X[2])throw new Error(`Text found after the parentheses (${z}) included an annotation along with other text for parenthetical unit ${P.csCode_}`);h+=X[0]}else l.isNumericString(z)?(h+=z,P=P.power(Number(z)),this.retMsg_.push(`An exponent (${z}) following a parenthesis is invalid as of revision 1.9 of the UCUM Specification.\n `+this.vcMsgStart_+h+this.vcMsgEnd_)):this.suggestions_?s="succeeded"!==this._getSuggestions(Y):(this.retMsg_.push(`Text ${z} following the unit code ${h} is invalid. Unable to make a substitution.`),s=!0);return s||(P?l.isIntegerUnit(P)?P=new d({csCode_:P,magnitude_:P,name_:P}):P.csCode_=h:P=new d({csCode_:h,magnitude_:1,name_:h})),[P,s]}_getAnnoText(h,g){let s=h.indexOf(this.braceFlag_),C=s>0?h.substring(0,s):null;0!==s&&(h=h.substr(s));let P=h.indexOf(this.braceFlag_,1),w=P+this.bFlagLen_=this.annotations_.length)throw new Error(`Processing Error - invalid annotation index ${D} found in ${h} that was created from ${g}`);return[h=this.annotations_[T],C,w]}_getSuggestions(h){let g=l.getSynonyms(h);if("succeeded"===g.status){let s={};s.msg=`${h} is not a valid UCUM code. We found possible units that might be what was meant:`,s.invalidUnit=h;let C=g.units.length;s.units=[];for(let P=0;P=0){let C=this._getUnitWithAnnotation(h,g);s=C[0],s&&(g=C[1])}else{if(h.indexOf("^")>-1){let C=h.replace("^","*");s=this.utabs_.getUnitByCode(C),s&&(s=s.clone(),s.csCode_=s.csCode_.replace("*","^"),s.ciCode_=s.ciCode_.replace("*","^"))}if(!s){let C="["+h+"]";s=this.utabs_.getUnitByCode(C),s&&(s=s.clone(),g=g.replace(h,C),this.retMsg_.push(`${h} is not a valid unit expression, but ${C} is.\n`+this.vcMsgStart_+`${C} (${s.name_})${this.vcMsgEnd_}`))}if(!s){let C=this.utabs_.getUnitByName(h);if(C&&C.length>0){s=C[0].clone();let P="The UCUM code for "+h+" is "+s.csCode_+".\n"+this.vcMsgStart_+s.csCode_+this.vcMsgEnd_,w=!1;for(let Y=0;Y"+xe+"",csCode_:me+xe,ciCode_:q+xe,printSymbol_:ue+""+xe+""})}}else s=null,this.suggestions_?this._getSuggestions(C):this.retMsg_.push(`${C} is not a valid UCUM code.`)}}return[s,g]}_getUnitWithAnnotation(h,g){let s=null,C=this._getAnnoText(h,g),P=C[0],w=C[1],D=C[2];this.bracesMsg_&&-1===this.retMsg_.indexOf(this.bracesMsg_)&&this.retMsg_.push(this.bracesMsg_);let T=this.retMsg_.length;if(w||D)if(w&&!D)if(l.isIntegerUnit(w))s=w;else{let Y=this._makeUnit(w,g);Y[0]?(s=Y[0],s.csCode_+=P,g=Y[1]):this.retMsg_.push(`Unable to find a unit for ${w} that precedes the annotation ${P}.`)}else if(!w&&D)if(l.isIntegerUnit(D))s=D+P,this.retMsg_.push(`The annotation ${P} before the ``${D} is invalid.\n`+this.vcMsgStart_+s+this.vcMsgEnd_);else{let Y=this._makeUnit(D,g);Y[0]?(s=Y[0],s.csCode_+=P,g=s.csCode_,this.retMsg_.push(`The annotation ${P} before the unit code is invalid.\n`+this.vcMsgStart_+s.csCode_+this.vcMsgEnd_)):this.retMsg_.push(`Unable to find a unit for ${w} that follows the annotation ${P}.`)}else this.retMsg_.push(`Unable to find a unit for ${w}${P}${D}.\nWe are not sure how to interpret text both before and after the annotation. Sorry`);else{let Y="["+P.substring(1,P.length-1)+"]",$=this._makeUnit(Y,g);$[0]?(s=$[0],g=g.replace(P,Y),this.retMsg_.push(`${P} is not a valid unit expression, but ${Y} is.\n`+this.vcMsgStart_+`${Y} (${s.name_})${this.vcMsgEnd_}`)):(this.retMsg_.length>T&&this.retMsg_.pop(),h=1,s=1)}return[s,g]}_performUnitArithmetic(h,g){let s=h[0].un;l.isIntegerUnit(s)&&(s=new d({csCode_:s,magnitude_:Number(s),name_:s}));let C=h.length,P=!1;for(let w=1;w{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.UnitTables=void 0;var n=o(5424).Ucum,u=new class{constructor(){this.unitNames_={},this.unitCodes_={},this.codeOrder_=[],this.unitStrings_={},this.unitDimensions_={},this.unitSynonyms_={},this.massDimIndex_=0}unitsCount(){return Object.keys(this.unitCodes_).length}addUnit(d){d.name_&&this.addUnitName(d),this.addUnitCode(d),this.addUnitString(d);try{d.dim_.getProperty("dimVec_")&&this.addUnitDimension(d)}catch(p){}}addUnitName(d){let m=d.name_;if(!m)throw new Error(`UnitTables.addUnitName called for a unit with no name. Unit code = ${d.csCode_}.`);this.unitNames_[m]?this.unitNames_[m].push(d):this.unitNames_[m]=[d]}addUnitCode(d){let m=d.csCode_;if(!m)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[m])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${m}`);if(this.unitCodes_[m]=d,this.codeOrder_.push(m),"g"==m){let p=d.dim_.dimVec_,y=0;for(;y=1&&(p=d.substr(m+n.codeSep_.length),d=d.substr(0,m));let y=this.unitNames_[d];if(y){let b=y.length;if(p&&b>1){let h=0;for(;y[h].csCode_!==p&&h0&&(p+=m),"dim_"===d[w])p+=null!=P.dim_&&P.dim_.dimVec_ instanceof Array?"["+P.dim_.dimVec_.join(",")+"]":"";else{let D=P[d[w]];p+="string"==typeof D?D.replace(/[\n\r]/g," "):D}p+="\r\n"}}return p}printUnits(d,m){void 0===d&&(d=!1),void 0===m&&(m="|");let p="",y=this.codeOrder_.length,b="csCode"+m;d&&(b+="ciCode"+m),b+="name"+m,d&&(b+="isBase"+m),b+="magnitude"+m+"dimension"+m+"from unit(s)"+m+"value"+m+"function"+m,d&&(b+="property"+m+"printSymbol"+m+"synonyms"+m+"source"+m+"class"+m+"isMetric"+m+"variable"+m+"isSpecial"+m+"isAbitrary"+m),b+="comment",p=b+"\n";for(let h=0;h{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.AppComponent=void 0;const n=o(655),c=(o(6165),o(2466),(0,n.__importStar)(o(5e3))),r=(0,n.__importStar)(o(2466)),d=(0,n.__importStar)(o(6165)),m=(0,n.__importStar)(o(4594)),p=(0,n.__importStar)(o(4202)),y=(0,n.__importStar)(o(7423)),b=(0,n.__importStar)(o(2181)),h=(0,n.__importStar)(o(5245));class g{constructor(C,P){C.setDefaultLang("de"),C.use(C.getBrowserLang());let w=location.href;w.indexOf("#")>0?w=w.substring(0,w.indexOf("#")-1)+"/fhir":w+="fhir",console.log("note: using fhir base "+w),P.changeMagMicroService(w)}}A.AppComponent=g,g.\u0275fac=function(C){return new(C||g)(c.\u0275\u0275directiveInject(r.TranslateService),c.\u0275\u0275directiveInject(d.FhirConfigService))},g.\u0275cmp=c.\u0275\u0275defineComponent({type:g,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(C,P){if(1&C&&(c.\u0275\u0275elementStart(0,"mat-toolbar",0),c.\u0275\u0275elementStart(1,"div",1),c.\u0275\u0275elementStart(2,"div",2),c.\u0275\u0275element(3,"img",3),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(4,"span",4),c.\u0275\u0275elementStart(5,"span"),c.\u0275\u0275elementStart(6,"button",5),c.\u0275\u0275elementStart(7,"mat-icon"),c.\u0275\u0275text(8,"more_vert"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(9,"mat-menu",null,6),c.\u0275\u0275elementStart(11,"button",7),c.\u0275\u0275elementStart(12,"mat-icon"),c.\u0275\u0275text(13,"home"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(14,"span"),c.\u0275\u0275text(15,"Home"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(16,"button",8),c.\u0275\u0275elementStart(17,"mat-icon"),c.\u0275\u0275text(18,"info"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(19,"span"),c.\u0275\u0275text(20,"CapabilityStatement"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(21,"button",9),c.\u0275\u0275elementStart(22,"mat-icon"),c.\u0275\u0275text(23,"search"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(24,"span"),c.\u0275\u0275text(25,"Mobile Access Gateway ..."),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(26,"button",10),c.\u0275\u0275elementStart(27,"mat-icon"),c.\u0275\u0275text(28,"people"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(29,"span"),c.\u0275\u0275text(30,"search Patients ..."),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(31,"button",11),c.\u0275\u0275elementStart(32,"mat-icon"),c.\u0275\u0275text(33,"settings"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(34,"span"),c.\u0275\u0275text(35,"Settings"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(36,"main",12),c.\u0275\u0275element(37,"router-outlet"),c.\u0275\u0275elementEnd()),2&C){const w=c.\u0275\u0275reference(10);c.\u0275\u0275advance(6),c.\u0275\u0275property("matMenuTriggerFor",w)}},directives:[m.MatToolbar,p.RouterLink,y.MatButton,b.MatMenuTrigger,h.MatIcon,b.MatMenu,b.MatMenuItem,p.RouterOutlet],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}}"]})},6747:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.AppModule=A.createTranslateLoader=void 0;const n=o(655),l=o(520),u=o(4202),c=o(2466),r=o(1744),d=o(5041),m=o(7901),p=o(5067),y=o(9862),b=o(4586),h=o(4466),g=o(2756),s=o(5764),C=o(6114),P=(0,n.__importStar)(o(5e3)),Y=((0,n.__importStar)(o(4202)),(0,n.__importStar)(o(2466)),(0,n.__importStar)(o(6114)),[{path:"",component:p.HomeComponent},{path:"patients",component:y.PatientsComponent},{path:"CapabilityStatement",component:m.CapabilityStatementComponent},{path:"settings",component:b.SettingsComponent},{path:"mag",component:s.MagComponent}]);function $(G){return new r.TranslateHttpLoader(G,"./assets/i18n/",".json")}A.createTranslateLoader=$;class z{}A.AppModule=z,z.\u0275fac=function(X){return new(X||z)},z.\u0275mod=P.\u0275\u0275defineNgModule({type:z,bootstrap:[d.AppComponent]}),z.\u0275inj=P.\u0275\u0275defineInjector({providers:[{provide:g.HIGHLIGHT_OPTIONS,useValue:{coreLibraryLoader:()=>Promise.resolve().then(()=>(0,n.__importStar)(o(5241))),lineNumbersLoader:()=>Promise.resolve().then(()=>(0,n.__importStar)(o(859))),languages:{json:()=>Promise.resolve().then(()=>(0,n.__importStar)(o(7652))),xml:()=>Promise.resolve().then(()=>(0,n.__importStar)(o(1891)))}}}],imports:[[h.SharedModule,l.HttpClientModule,g.HighlightModule,u.RouterModule.forRoot(Y,{useHash:!0,relativeLinkResolution:"legacy"}),c.TranslateModule.forRoot({loader:{provide:c.TranslateLoader,useFactory:$,deps:[l.HttpClient]}}),C.OAuthModule.forRoot()]]})},7901:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.CapabilityStatementComponent=void 0;const n=o(655),u=(o(6165),(0,n.__importStar)(o(5e3))),c=(0,n.__importStar)(o(6165)),r=(0,n.__importStar)(o(9224)),d=(0,n.__importStar)(o(2756)),m=(0,n.__importStar)(o(9808)),p=(0,n.__importStar)(o(7322));function y(g,s){if(1&g&&(u.\u0275\u0275elementStart(0,"li"),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&g){const C=s.$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate1(" ",C.diagnostics," ")}}function b(g,s){if(1&g&&(u.\u0275\u0275elementStart(0,"mat-error"),u.\u0275\u0275elementStart(1,"ul"),u.\u0275\u0275template(2,y,2,1,"li",3),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd()),2&g){const C=u.\u0275\u0275nextContext();u.\u0275\u0275advance(2),u.\u0275\u0275property("ngForOf",C.operationOutcome.issue)}}class h{constructor(s){this.data=s,this.client=s.getMobileAccessGatewayClient(),this.client.capabilityStatement().then(C=>{this.operationOutcome=void 0,this.capabilitystatement=C}).catch(C=>{this.capabilitystatement=void 0,this.operationOutcome=C.response.data})}getJson(){return JSON.stringify(this.capabilitystatement,null,2)}ngOnInit(){}ngOnDestroy(){}}A.CapabilityStatementComponent=h,h.\u0275fac=function(s){return new(s||h)(u.\u0275\u0275directiveInject(c.FhirConfigService))},h.\u0275cmp=u.\u0275\u0275defineComponent({type:h,selectors:[["app-capability-statement"]],decls:8,vars:4,consts:[[1,"display"],[3,"highlight","lineNumbers"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(s,C){1&s&&(u.\u0275\u0275elementStart(0,"mat-card",0),u.\u0275\u0275elementStart(1,"mat-card-content"),u.\u0275\u0275elementStart(2,"mat-card-header"),u.\u0275\u0275elementStart(3,"mat-card-title"),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"pre"),u.\u0275\u0275element(6,"code",1),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(7,b,3,1,"mat-error",2),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd()),2&s&&(u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(C.client.baseUrl),u.\u0275\u0275advance(2),u.\u0275\u0275property("highlight",C.getJson())("lineNumbers",!0),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",C.operationOutcome))},directives:[r.MatCard,r.MatCardContent,r.MatCardHeader,r.MatCardTitle,d.Highlight,m.NgIf,p.MatError,m.NgForOf],styles:[".display[_ngcontent-%COMP%]{display:inline-block}"]})},6165:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.FhirConfigService=void 0;const n=o(655),l=(0,n.__importDefault)(o(6336)),u=(0,n.__importStar)(o(5e3));class c{constructor(){}changeFhirMicroService(d){localStorage.setItem("fhirMicroServer",d)}changeMagMicroService(d){localStorage.setItem("magMicroService",d)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")||"/matchbox/fhir"}getMobileAccessGatewayService(){return localStorage.getItem("magMicroService")||"/mag/fhir"}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 l.default({baseUrl:this.getFhirMicroService()})}getMobileAccessGatewayClient(){return new l.default({baseUrl:this.getMobileAccessGatewayService()})}getAuthCodeFlowConfig(){return{loginUrl:this.getMobileAccessGatewayLoginUrl(),redirectUri:this.getRedirectUri(),tokenEndpoint:this.getMobileAccessGatewayTokenEndpoint(),clientId:this.getClientId(),responseType:"code",scope:"todo",dummyClientSecret:this.getClientSecret(),showDebugInformation:!0,timeoutFactor:.75}}}A.FhirConfigService=c,c.\u0275fac=function(d){return new(d||c)},c.\u0275prov=u.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})},6315:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.FhirPathService=void 0;const n=o(655),l=o(2729),u=(0,n.__importStar)(o(5e3));class c{evaluate(d,m){return(0,l.evaluate)(d,m,null)}evaluateToString(d,m){const p=this.evaluate(d,m);return p&&p instanceof Array&&1===p.length?p[0]:null}getOauthUriToken(d){return this.evaluateToString(d,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(d){return this.evaluateToString(d,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}}A.FhirPathService=c,c.\u0275fac=function(d){return new(d||c)},c.\u0275prov=u.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})},5067:(he,A,o)=>{"use strict";var n=o(8926).default;Object.defineProperty(A,"__esModule",{value:!0}),A.HomeComponent=void 0;const l=o(655),c=(o(4202),(0,l.__importDefault)(o(4147))),r=(0,l.__importStar)(o(5e3)),d=(0,l.__importStar)(o(4202)),m=(0,l.__importStar)(o(9224)),p=(0,l.__importStar)(o(2181)),y=(0,l.__importStar)(o(5245));class b{constructor(g){this.router=g,this.version=c.default.version}update(g){}tabChanged(g){console.log("tabChangeEvent => ",g),console.log("index => ",g.index),this.update(g.index)}ngOnInit(){var g=this;return n(function*(){g.update(0)})()}}A.HomeComponent=b,b.\u0275fac=function(g){return new(g||b)(r.\u0275\u0275directiveInject(d.Router))},b.\u0275cmp=r.\u0275\u0275defineComponent({type:b,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(g,s){1&g&&(r.\u0275\u0275elementStart(0,"mat-card",0),r.\u0275\u0275elementStart(1,"mat-card-content"),r.\u0275\u0275elementStart(2,"button",1),r.\u0275\u0275elementStart(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\u0275elementEnd(),r.\u0275\u0275elementStart(7,"button",2),r.\u0275\u0275elementStart(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\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(12,"mat-card-footer"),r.\u0275\u0275elementStart(13,"p"),r.\u0275\u0275text(14),r.\u0275\u0275elementStart(15,"a",3),r.\u0275\u0275text(16,"contact"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&g&&(r.\u0275\u0275advance(14),r.\u0275\u0275textInterpolate1("version: ",s.version," "))},directives:[m.MatCard,m.MatCardContent,p.MatMenuItem,d.RouterLink,y.MatIcon,m.MatCardFooter],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}"]})},5764:(he,A,o)=>{"use strict";var n=o(8926).default;Object.defineProperty(A,"__esModule",{value:!0}),A.MagComponent=A.toLocaleDateTime=A.toLocaleTime=A.toLocaleHHMM=A.toLocaleDate=void 0;const l=o(655),r=(o(5e3),o(6165),o(3075)),m=(o(6315),o(520)),p=o(1464),y=o(8231),b=o(6346),h=o(6114),s=(o(4202),(0,l.__importStar)(o(5e3))),C=(0,l.__importStar)(o(6165)),P=(0,l.__importStar)(o(6315)),w=(0,l.__importStar)(o(520)),D=(0,l.__importStar)(o(6114)),T=(0,l.__importStar)(o(4202)),Y=(0,l.__importStar)(o(9224)),$=(0,l.__importStar)(o(7322)),z=(0,l.__importStar)(o(7531)),G=(0,l.__importStar)(o(3075)),X=(0,l.__importStar)(o(9808)),Q=(0,l.__importStar)(o(7423)),q=(0,l.__importStar)(o(6346)),ue=(0,l.__importStar)(o(68)),me=(0,l.__importStar)(o(2756)),xe=(0,l.__importStar)(o(773)),pe=(0,l.__importStar)(o(5245));function oe(Oe,ve){1&Oe&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275element(1,"mat-progress-spinner",42),s.\u0275\u0275elementContainerEnd())}function ae(Oe,ve){if(1&Oe){const Ae=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275elementStart(1,"button",28),s.\u0275\u0275listener("click",function(){return s.\u0275\u0275restoreView(Ae),s.\u0275\u0275nextContext().onFetchPatient()}),s.\u0275\u0275text(2," get Patient "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementContainerEnd()}}function U(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275element(2,"br"),s.\u0275\u0275text(3,"\xa0"),s.\u0275\u0275element(4,"br"),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext(2);s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate3(" ",null==Ae.patient.name[0]?null:Ae.patient.name[0].given," ",null==Ae.patient.name[0]?null:Ae.patient.name[0].family,", ",Ae.patient.birthDate," ")}}function ie(Oe,ve){if(1&Oe){const Ae=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275template(1,U,5,3,"div",3),s.\u0275\u0275elementStart(2,"div"),s.\u0275\u0275elementStart(3,"mat-form-field",1),s.\u0275\u0275elementStart(4,"mat-label"),s.\u0275\u0275text(5,"sourceIdentifier system"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(6,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(7," \xa0 "),s.\u0275\u0275elementStart(8,"mat-form-field",1),s.\u0275\u0275elementStart(9,"mat-label"),s.\u0275\u0275text(10,"sourceIdentifier value"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(11,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(12,"div"),s.\u0275\u0275elementStart(13,"mat-form-field",1),s.\u0275\u0275elementStart(14,"mat-label"),s.\u0275\u0275text(15,"managingOrganization oid"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(16,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(17," \xa0 "),s.\u0275\u0275elementStart(18,"mat-form-field",1),s.\u0275\u0275elementStart(19,"mat-label"),s.\u0275\u0275text(20,"managingOrganization name"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(21,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(22,"mat-card-actions"),s.\u0275\u0275elementStart(23,"button",4),s.\u0275\u0275listener("click",function(){return s.\u0275\u0275restoreView(Ae),s.\u0275\u0275nextContext().onPIXmFeedAdd()}),s.\u0275\u0275text(24," PIXm Feed - Add Identifier "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementContainerEnd()}if(2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.patient.name),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceAddIdentifierSystem),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceAddIdentifierValue),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceManagingOrganizationOid),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceManagingOrganizationName)}}function le(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275elementStart(1,"pre"),s.\u0275\u0275element(2,"code",43),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(2),s.\u0275\u0275property("highlight",Ae.getScopes())}}function Ce(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",44),s.\u0275\u0275text(1,"Description"),s.\u0275\u0275elementEnd())}function Te(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"mat-cell",44),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" ",Ae.description," ")}}function Ke(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",45),s.\u0275\u0275text(1,"Title"),s.\u0275\u0275elementEnd())}function tt(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"mat-cell",45),s.\u0275\u0275elementStart(1,"div"),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate1(" ",Ae.content[0].attachment.title," ")}}function ot(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",46),s.\u0275\u0275text(1,"Title"),s.\u0275\u0275elementEnd())}function pt(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"mat-cell",46),s.\u0275\u0275elementStart(1,"div"),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate1(" ",Ae.content[0].attachment.contentType," ")}}function Dt(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",47),s.\u0275\u0275text(1,"formatCode"),s.\u0275\u0275elementEnd())}function Ie(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"mat-cell",47),s.\u0275\u0275elementStart(1,"div"),s.\u0275\u0275text(2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(2),s.\u0275\u0275textInterpolate1(" ",Ae.content[0].format.code," ")}}function Qe(Oe,ve){1&Oe&&(s.\u0275\u0275elementStart(0,"mat-header-cell",48),s.\u0275\u0275text(1,"Actions"),s.\u0275\u0275elementEnd())}function ct(Oe,ve){if(1&Oe){const Ae=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementStart(0,"mat-cell",48),s.\u0275\u0275elementStart(1,"button",49),s.\u0275\u0275listener("click",function(){const Ft=s.\u0275\u0275restoreView(Ae).$implicit;return s.\u0275\u0275nextContext().onRemove(Ft)}),s.\u0275\u0275elementStart(2,"mat-icon"),s.\u0275\u0275text(3,"remove"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(4,"button",49),s.\u0275\u0275listener("click",function(){const Ft=s.\u0275\u0275restoreView(Ae).$implicit;return s.\u0275\u0275nextContext().onReplace(Ft)}),s.\u0275\u0275elementStart(5,"mat-icon"),s.\u0275\u0275text(6,"reply"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(7,"button",49),s.\u0275\u0275listener("click",function(){const Ft=s.\u0275\u0275restoreView(Ae).$implicit;return s.\u0275\u0275nextContext().onDownloadDocumentReferenceAttachment(Ft)}),s.\u0275\u0275elementStart(8,"mat-icon"),s.\u0275\u0275text(9,"download"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()}}function bt(Oe,ve){1&Oe&&s.\u0275\u0275element(0,"mat-header-row")}function Et(Oe,ve){1&Oe&&s.\u0275\u0275element(0,"mat-row")}function xt(Oe,ve){1&Oe&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275element(1,"mat-progress-spinner",42),s.\u0275\u0275elementContainerEnd())}function dt(Oe,ve){if(1&Oe){const Ae=s.\u0275\u0275getCurrentView();s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275elementStart(1,"mat-card-actions"),s.\u0275\u0275elementStart(2,"button",28),s.\u0275\u0275listener("click",function(){return s.\u0275\u0275restoreView(Ae),s.\u0275\u0275nextContext().onPdf()}),s.\u0275\u0275text(3,"Pdf"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementContainerEnd()}}function Ne(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" Replace Document with ",Ae.replaceDocumentReference.identifier[0].value," ")}}function rt(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=ve.$implicit;s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate3(" ",Ae.descr,": ",Ae.existingUuid," -> ",Ae.newUuid," ")}}function ze(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(Ae.errMsgAssignPatient)}}function yt(Oe,ve){1&Oe&&(s.\u0275\u0275elementContainerStart(0),s.\u0275\u0275element(1,"mat-progress-spinner",42),s.\u0275\u0275elementContainerEnd())}function mt(Oe,ve){if(1&Oe&&(s.\u0275\u0275elementStart(0,"div"),s.\u0275\u0275text(1),s.\u0275\u0275elementEnd()),2&Oe){const Ae=s.\u0275\u0275nextContext();s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate(Ae.errMsg)}}const _e=function(){return["name","title","contentType","formatCode","action"]},Z=Oe=>String(Math.floor(Math.abs(Oe))).padStart(2,"0");function N(Oe){const ve=-Oe.getTimezoneOffset(),Ae=ve>=0?"+":"-",nt=`${Z(ve/60)}:${Z(ve%60)}`;return`${(0,A.toLocaleDate)(Oe)}T${(0,A.toLocaleTime)(Oe)}${Ae}${nt}`}A.toLocaleDate=Oe=>`${Oe.getFullYear()}-${Z(Oe.getMonth()+1)}-${Z(Oe.getDate())}`,A.toLocaleHHMM=Oe=>`${Z(Oe.getHours())}:${Z(Oe.getMinutes())}`,A.toLocaleTime=Oe=>`${(0,A.toLocaleHHMM)(Oe)}:${Z(Oe.getSeconds())}`,A.toLocaleDateTime=N;class Ue{constructor(ve,Ae,nt,Pt,Ft,gt){this.data=ve,this.fhirPathService=Ae,this.http=nt,this.cd=Pt,this.oauthService=Ft,this.router=gt,this.searchGivenValue="",this.searchFamilyValue="",this.replaceUuids=new Array,this.pageIndex=0,this.dataSource=new b.MatTableDataSource,this.length=100,this.pageSize=10,this.inMhdQueryProgress=!1,this.inMhdUploadProgress=!1,this.inPixmProgress=!1,this.mag=ve.getMobileAccessGatewayClient(),this.mag.capabilityStatement().then($e=>this.setJson(JSON.stringify($e,null,2))),this.sourceIdentifierSystem=new r.FormControl,this.sourceIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.sourceIdentifierSystem","urn:oid:2.16.756.5.30.1.196.3.2.1")),this.sourceIdentifierValue=new r.FormControl,this.sourceIdentifierValue.setValue(this.getLocalStorageItemOrDefault("mag.sourceIdentifierValue","MAGMED001")),this.sourceAddIdentifierSystem=new r.FormControl,this.sourceAddIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.sourceAddIdentifierSystem","urn:oid:2.16.756.5.30.1.196.3.2.1")),this.sourceAddIdentifierValue=new r.FormControl,this.sourceAddIdentifierValue.setValue(this.getLocalStorageItemOrDefault("mag.sourceAddIdentifierValue","MAGMED001")),this.sourceManagingOrganizationOid=new r.FormControl,this.sourceManagingOrganizationOid.setValue(this.getLocalStorageItemOrDefault("mag.sourceManagingOrganizationOid","urn:oid:1.3.6.1.4.1.21367.2017.2.7.109")),this.sourceManagingOrganizationName=new r.FormControl,this.sourceManagingOrganizationName.setValue(this.getLocalStorageItemOrDefault("mag.sourceManagingOrganizationName","TESTORG")),this.targetIdentifierSystem=new r.FormControl,this.targetIdentifierSystem.setValue(this.getLocalStorageItemOrDefault("mag.targetIdentifierSystem","urn:oid:2.16.756.5.30.1.191.1.0.2.1")),this.targetIdentifier2System=new r.FormControl,this.targetIdentifier2System.setValue(this.getLocalStorageItemOrDefault("mag.targetIdentifier2System","urn:oid:2.16.756.5.30.1.127.3.10.3")),this.serviceStartFrom=new r.FormControl,this.serviceStartFrom.setValue(this.getLocalStorageItemOrDefault("mag.serviceStartFrom","")),this.serviceStartTo=new r.FormControl,this.serviceStartTo.setValue(this.getLocalStorageItemOrDefault("mag.serviceStartTo","")),this.serviceEndFrom=new r.FormControl,this.serviceEndFrom.setValue(this.getLocalStorageItemOrDefault("mag.serviceEndFrom","")),this.serviceEndTo=new r.FormControl,this.serviceEndTo.setValue(this.getLocalStorageItemOrDefault("mag.serviceEndTo","")),this.authenticate=new r.FormControl,this.authenticate.setValue(this.getLocalStorageItemOrDefault("mag.authenticate","HCP")),this.documentType=new r.FormControl,this.documentType.setValue(this.getLocalStorageItemOrDefault("mag.documentType","APPC")),this.documentConfidentiality=new r.FormControl,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.FormControl,this.iheSourceId.setValue("urn:oid:2.16.756.5.30.1.145.20.1"),this.searchGiven=new r.FormControl,this.searchFamily=new r.FormControl,this.documentDescription=new r.FormControl,this.documentDescription.setValue(this.getLocalStorageItemOrDefault("mag.documentType","Titel")),this.masterIdentifier=new r.FormControl,this.masterIdentifier.setValue((0,p.v4)()),this.creationTime=new r.FormControl,this.creationTime.setValue(N(new Date)),this.languageCode=new r.FormControl,this.languageCode.setValue(this.getLocalStorageItemOrDefault("mag.languageCode","de-CH")),this.fhirConfigService=ve,Ft.configure(this.fhirConfigService.getAuthCodeFlowConfig()),Ft.tryLoginCodeFlow().then($e=>{this.scopes=this.oauthService.getGrantedScopes()}),Ft.events.subscribe($e=>{$e instanceof h.OAuthErrorEvent?console.error($e):console.warn($e)}),this.pdf="",this.replaceDocumentReference=null}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.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(ve,Ae){return localStorage.getItem(ve)||Ae}setLocaleStorageItem(ve,Ae){return localStorage.setItem(ve,Ae),Ae}setJson(ve){this.json=ve}getJson(){return this.json}getScopes(){return this.scopes?JSON.stringify(this.scopes,null,2):""}ngOnInit(){}ngOnDestroy(){}setPixmQueryResult(ve){this.inPixmProgress=!1,this.setJson(JSON.stringify(ve,null,2)),this.targetIdentifierValue=this.fhirPathService.evaluateToString(ve,"parameter.valueIdentifier.where(system='"+this.targetIdentifierSystem.value+"').value"),this.targetIdentifier2Value=this.fhirPathService.evaluateToString(ve,"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(ve,"parameter.valueReference.reference"),this.cache()}setPatientFetchResult(ve){this.inPixmProgress=!1,this.patient=ve,this.setJson(JSON.stringify(ve,null,2)),this.cache()}setPIXmFeedAddResult(ve){this.inPixmProgress=!1,this.patient=void 0,this.setJson(JSON.stringify(ve,null,2)),this.cache()}onPIXmQuery(){this.targetIdentifierValue="",this.targetIdentifier2Value="",this.patient=void 0,this.inPixmProgress=!0,this.cache();let ve="sourceIdentifier="+encodeURIComponent(this.sourceIdentifierSystem.value+"|"+this.sourceIdentifierValue.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifierSystem.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifier2System.value);this.mag.operation({name:"$ihe-pix?"+ve,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(Ae=>this.setPixmQueryResult(Ae)).catch(Ae=>{this.setJson(JSON.stringify(Ae,null,2)),this.targetIdentifierValue="",this.targetIdentifier2Value="",this.targetId="",this.cache(),this.inPixmProgress=!1})}getPatient(){const ve=this.targetId.substring(this.targetId.indexOf("Patient/")+8);return this.mag.read({resourceType:"Patient",id:ve,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 ve=this;return n(function*(){ve.patient=void 0,ve.inPixmProgress=!0,ve.cache();try{ve.patient=yield ve.getPatient(),ve.setPatientFetchResult(ve.patient)}catch(Ae){ve.setJson(JSON.stringify(Ae,null,2)),ve.cache(),ve.inPixmProgress=!1}})()}onPIXmFeedAdd(){this.inPixmProgress=!0,this.patient.telecom&&delete this.patient.telecom,this.cache();let ve={identifier:this.sourceAddIdentifierSystem.value+"|"+this.sourceAddIdentifierValue.value},Ae={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(Ae),this.patient.managingOrganization={reference:"#org"},this.mag.update({resourceType:"Patient",body:this.patient,searchParams:ve,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}}).then(nt=>this.setPIXmFeedAddResult(nt)).catch(nt=>{this.setJson(JSON.stringify(nt,null,2)),this.cache(),this.inPixmProgress=!1})}onAuthenticate(){if(this.cache(),this.scopes=null,"HCP"===this.authenticate.value){let ve=this.fhirConfigService.getAuthCodeFlowConfig();ve.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|HCP`,this.oauthService.configure(ve),this.oauthService.initCodeFlow()}else"TCU"===this.authenticate.value?this.getSamlToken().then(ve=>this.json=ve):this.oauthService.logOut()}getAppcDocument(ve,Ae){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.documentDescription.setValue("Policy document"),this.documentType.setValue("APPC"),this.documentConfidentiality.setValue("NORM"),this.masterIdentifier.setValue("urn:uuid:"+(0,p.v4)()),this.xml=this.getAppcDocument(this.targetIdentifier2Value,this.masterIdentifier.value),this.setJson(this.xml)):this.errMsgAssignPatient="Error: select first Patient with PIXm Query"}getSimulatedSamlPmpAssertion(ve,Ae){return y.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==${Ae}http://ihe.connectathon.XUA/X-ServiceProvider-IHE-Connectathonurn:oasis:names:tc:SAML:2.0:ac:classes:unspecifiedIris Musterpatient${Ae}^^^&2.16.756.5.30.1.127.3.10.3&ISOurn:oid:3.3.3.1`)}getSimulatedSamlPmpTcuAssertion(ve,Ae,nt){return y.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${nt}^^^&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(ve){var Ae=this;return n(function*(){const Pt=yield(yield fetch("https://test.ahdis.ch/eprik-cara/camel/tcu",{cache:"no-store",headers:{Accept:"application/xml"}})).text(),gt=yield(yield fetch(Ae.fhirConfigService.getMobileAccessGatewayAssertionEndpoint(),{cache:"no-store",method:"POST",headers:{Scope:`person_id=${ve}^^^&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:Pt})).json();return Promise.resolve(gt.access_token)})()}setBundle(ve){ve?(this.bundle=ve,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry.map(Ae=>Ae.resource)):this.dataSource.data=null,this.dataSource.data=this.dataSource.data}setDocumentReferenceResult(ve){this.setJson(JSON.stringify(ve,null,2)),this.setBundle(ve)}findDocumentReferences(){var ve=this;return n(function*(){let Ae={status:"current","patient.identifier":encodeURIComponent(ve.targetIdentifierSystem.value+"|"+ve.targetIdentifierValue)},nt=yield ve.getSamlToken();return ve.mag.search({resourceType:"DocumentReference",searchParams:Ae,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+nt}}})})()}onFindDocumentReferences(){var ve=this;return n(function*(){ve.replaceDocumentReference=null,ve.inMhdQueryProgress=!0,ve.pdf="";try{const Ae=yield ve.findDocumentReferences();ve.setDocumentReferenceResult(Ae),ve.inMhdQueryProgress=!1}catch(Ae){ve.setJson(JSON.stringify(Ae,null,2)),ve.setBundle(null),ve.inMhdQueryProgress=!1}})()}findMedicationList(ve){var Ae=this;return n(function*(){var nt,Pt,Ft,gt;let Lt="patient.identifier="+encodeURIComponent(Ae.targetIdentifierSystem.value+"|"+Ae.targetIdentifierValue)+(ve?"&format="+encodeURIComponent(ve):"");(null===(nt=Ae.serviceStartFrom.value)||void 0===nt?void 0:nt.length)>0&&(Lt+=`&serviceStartFrom=${encodeURIComponent(Ae.serviceStartFrom.value)}`),(null===(Pt=Ae.serviceStartTo.value)||void 0===Pt?void 0:Pt.length)>0&&(Lt+=`&serviceStartTo=${encodeURIComponent(Ae.serviceStartTo.value)}`),(null===(Ft=Ae.serviceEndFrom.value)||void 0===Ft?void 0:Ft.length)>0&&(Lt+=`&serviceEndFrom=${encodeURIComponent(Ae.serviceEndFrom.value)}`),(null===(gt=Ae.serviceEndTo.value)||void 0===gt?void 0:gt.length)>0&&(Lt+=`&serviceEndTo=${encodeURIComponent(Ae.serviceEndTo.value)}`);const $e=yield Ae.getSamlToken();return Ae.mag.operation({name:"$find-medication-list?status=current&"+Lt,resourceType:"DocumentReference",method:"GET",options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+$e}}})})()}onFindMedicationList(){var ve=this;return n(function*(){ve.pdf="",ve.inMhdQueryProgress=!0,ve.cache();try{const Ae=yield ve.findMedicationList();ve.setDocumentReferenceResult(Ae),Ae.entry&&1==Ae.entry.length&&(yield ve.downloadDocumentReferenceAttachment(Ae.entry[0].resource)),ve.inMhdQueryProgress=!1}catch(Ae){ve.setJson(JSON.stringify(Ae,null,2)),ve.setBundle(null),ve.inMhdQueryProgress=!1}})()}onFindMedicationCard(){var ve=this;return n(function*(){ve.pdf="",ve.inMhdQueryProgress=!0,ve.cache();try{const Ae=yield ve.findMedicationList("urn:oid:2.16.756.5.30.1.127.3.10.10|urn:che:epr:ch-emed:medication-card:2022");if(ve.setDocumentReferenceResult(Ae),Ae.entry&&1==Ae.entry.length){const nt=yield ve.downloadDocumentReferenceAttachment(Ae.entry[0].resource),Pt=JSON.parse(nt);ve.pdf=ve.fhirPathService.evaluateToString(Pt,"entry.resource.where(resourceType='Binary').data")}ve.inMhdQueryProgress=!1}catch(Ae){ve.setJson(JSON.stringify(Ae,null,2)),ve.setBundle(null),ve.inMhdQueryProgress=!1}})()}getSamlToken(){var ve=this;return n(function*(){return"HCP"===ve.authenticate.value?Promise.resolve(ve.oauthService.getAccessToken()):"Patient"===ve.authenticate.value?Promise.resolve(ve.getSimulatedSamlPmpAssertion(N(new Date),ve.targetIdentifier2Value)):"TCU"===ve.authenticate.value?ve.getEprikTcuAssertion(ve.targetIdentifier2Value):null})()}downloadDocumentReferenceAttachment(ve){var Ae=this;return n(function*(){var nt;let Ft=(ve.content&&ve.content.length>0?ve.content[0].attachment.url:"undefined").replace("http://test.ahdis.ch/mag-pmp/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp/camel/xdsretrieve"),gt=Ft.replace("http://test.ahdis.ch/mag-pmp2/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp2/camel/xdsretrieve");const Lt=ve.content&&ve.content.length>0?null===(nt=ve.content[0].attachment)||void 0===nt?void 0:nt.contentType:"";if(Ae.selectedDocumentReference=ve,"application/pdf"===Lt){const $e=ve.content&&ve.content.length>0?ve.content[0].attachment.title:"undefined",_t=Ae,Mt=yield Ae.getSamlToken(),lt=yield(yield fetch(gt,{cache:"no-store",headers:{Authorization:"Bearer "+Mt,Accept:"application/pdf"}})).blob();return new Promise((Ot,Nt)=>{let Pe=new FileReader;Pe.onload=()=>{_t.downloadPdf(Pe.result.toString(),$e),Ot(Pe.result)},Pe.onerror=Nt,Pe.readAsDataURL(lt)})}{const $e=yield Ae.getSamlToken(),Mt={responseType:"text",headers:(new m.HttpHeaders).set("Authorization","Bearer "+$e)};return new Promise((Ge,lt)=>{Ae.http.get(Ft,Mt).subscribe({next:Ot=>{Ae.xml=Ot,Ae.setJson(Ot),Ge(Ae.xml)},error:Ot=>{lt(Ot)}})})}})()}onReplace(ve){var Ae=this;return n(function*(){Ae.replaceDocumentReference=ve})()}onRemove(ve){var Ae=this;return n(function*(){Ae.replaceDocumentReference=null;let nt={...ve};Ae.inMhdQueryProgress=!0,null==nt.extension&&(nt.extension=new Array),nt.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:Ae.iheSourceId.value}}),nt.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)"}}),nt.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"}}),nt.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 Pt=yield Ae.getSamlToken();try{let Ft=yield Ae.mag.update({resourceType:"DocumentReference",id:nt.id,body:nt,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0","content-type":"application/fhir+json;fhirVersion=4.0",Authorization:"Bearer "+Pt}}});Ae.setJson(JSON.stringify(Ft,null,2)),Ae.inMhdQueryProgress=!1,Ae.onFindDocumentReferences()}catch(Ft){Ae.setJson(JSON.stringify(Ft.response.data,null,2)),Ae.inMhdQueryProgress=!1}})()}onDownloadDocumentReferenceAttachment(ve){var Ae=this;return n(function*(){Ae.replaceDocumentReference=null,Ae.inMhdQueryProgress=!0,yield Ae.downloadDocumentReferenceAttachment(ve),Ae.inMhdQueryProgress=!1})()}canTransformToPdf(){return""!=this.pdf}downloadPdf(ve,Ae){const nt=document.createElement("a");nt.href=ve,nt.download=`${Ae}.pdf`,nt.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 Ae=`0x${(0,p.v4)().replace(/-/g,"")}`;return`2.25.${BigInt(Ae).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(ve){if(this.uploadBase64="",this.uploadContentType="",this.uploadBundle=null,this.json="",this.xml="",this.pdf="","application/json"===ve.contentType||ve.name.endsWith(".json")||"text/xml"===ve.contentType||ve.name.endsWith(".xml"))this.addText(ve);else{var Ae=new FileReader;const nt=this;Ae.readAsDataURL(ve.blob),Ae.onloadend=function(){let Pt=Ae.result.toString();Pt.startsWith("data:application/pdf;base64,")&&(nt.uploadBase64=Pt.substring("data:application/pdf;base64,".length),nt.uploadContentType="application/pdf",nt.documentType.setValue("PDF"))}}}addText(ve){const Ae=new FileReader;Ae.readAsText(ve.blob);const nt=this;this.documentDescription.setValue(ve.name),this.creationTime.setValue(N(new Date)),Ae.onload=()=>{("application/json"===ve.contentType||ve.name.endsWith(".json"))&&(this.uploadContentType="application/fhir+json",this.autoDetectFormat(Ae.result)),("text/xml"===ve.contentType||ve.name.endsWith(".xml"))&&(this.uploadContentType="text/xml",nt.documentType.setValue("XML"),nt.xml=Ae.result,nt.setJson(nt.xml))}}getResource(ve,Ae){var nt;return null===(nt=ve.entry.filter(Pt=>Pt.fullUrl.endsWith(Ae)).pop())||void 0===nt?void 0:nt.resource}autoDetectFormat(ve){this.documentType.setValue("JSON");const Ae=JSON.parse(ve);this.setJson(ve),Ae.hasOwnProperty("resourceType")&&"Bundle"===Ae.resourceType&&this.autoDetectBundle(Ae)}autoDetectBundle(ve){var Ae;if(this.creationTime.setValue(ve.timestamp),this.masterIdentifier.setValue(ve.identifier.value),"document"===ve.type&&(null===(Ae=ve.entry)||void 0===Ae?void 0:Ae.length)>0){const nt=ve.entry[0].resource,Pt=nt.type.coding.find(Ft=>"http://snomed.info/sct"===Ft.system);if(nt.language&&this.languageCode.setValue(nt.language),!Pt)return;switch(Pt.code){case"761931002":return this.uploadBundle=ve,void this.documentType.setValue("MTP");case"761938008":return this.uploadBundle=ve,void this.documentType.setValue("PRE");case"294121000195110":return this.uploadBundle=ve,void this.documentType.setValue("DIS");case"419891008":return this.uploadBundle=ve,void this.documentType.setValue("PADV")}}}assignMobileAccessPatient(){var ve=this;return n(function*(){if(ve.inMhdUploadProgress=!0,ve.errMsgAssignPatient="",null==ve.patient&&(ve.patient=yield ve.getPatient()),null==ve.patient)return void(ve.errMsgAssignPatient="Error: select first 'get Patient' from Mobile Access Gateway");if(null==ve.uploadBundle)return void(ve.errMsgAssignPatient="Error: need a FHIR Bundle in json format to assign the Patient");const Ae=ve.uploadBundle.entry.filter($e=>"Patient"===$e.resource.resourceType),nt={...ve.patient};nt.identifier=ve.patient.identifier.filter($e=>$e.system===ve.sourceIdentifierSystem.value),nt.identifier.find($e=>$e.system===ve.sourceIdentifierSystem.value).type={coding:[{system:"http://terminology.hl7.org/CodeSystem/v2-0203",code:"MR"}]},nt.name=Array(),nt.name[0]=ve.patient.name[0],Ae.forEach($e=>{const _t=$e.resource.id;$e.resource={...nt},$e.resource.id=_t});let Pt=JSON.stringify(ve.uploadBundle,null,2);const Ft=ve.uploadBundle.identifier.value,gt="urn:uuid:"+(0,p.v4)(),Lt=ve.replaceUuids.findIndex($e=>$e.existingUuid==Ft);-1==Lt?ve.replaceUuids.push({descr:ve.documentType.value,existingUuid:Ft,newUuid:gt}):ve.replaceUuids[Lt]={descr:ve.documentType.value,existingUuid:Ft,newUuid:gt},ve.replaceUuids.forEach($e=>Pt=Pt.split($e.existingUuid).join($e.newUuid)),ve.masterIdentifier.setValue(gt),ve.setJson(Pt),ve.inMhdUploadProgress=!1})()}createMhdTransaction(){var ve=this;return n(function*(){var Ae,nt,Pt;ve.inMhdUploadProgress=!0;let Ft={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:"urn:oid:2.16.756.5.30.1.191.1.0.12.3.101",value:"$10"},{system:"urn:oid:2.16.756.5.30.1.191.1.0.2.1",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"}}]},gt="urn:uuid:"+(0,p.v4)();Ft.entry[0].fullUrl=gt;const Lt=Ft.entry[0].resource;Lt.contentType=ve.uploadContentType,Lt.data=(null===(Ae=ve.uploadBase64)||void 0===Ae?void 0:Ae.length)>0?ve.uploadBase64:y.Base64.encode(ve.json);let $e=(0,p.v4)();Ft.entry[1].fullUrl="urn:uid:"+$e;const _t=Ft.entry[1].resource;_t.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:ve.iheSourceId.value}}),_t.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"}}),_t.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 Mt="urn:uuid:"+(0,p.v4)();_t.identifier[0].value=Mt;let Ge="urn:oid:"+ve.generateOidFromUuid();_t.identifier[1].value=Ge,_t.subject.reference=ve.targetId;let lt=N(new Date);_t.date=lt;let Ot="urn:uuid:"+(0,p.v4)();_t.entry[0].item.reference=Ot,Ft.entry[2].fullUrl=Ot;const Nt=Ft.entry[2].resource;Nt.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!=ve.replaceDocumentReference?Nt.relatesTo.push({code:"replaces",target:{reference:ve.replaceDocumentReference.identifier[0].value}}):delete Nt.relatesTo;const Pe=Nt.contained[0];if(Pe.identifier[0].value=ve.sourceIdentifierSystem.value,Pe.identifier[0].value=ve.sourceIdentifierValue.value,Pe.identifier[1].value=ve.targetIdentifierSystem.value,Pe.identifier[1].value=ve.targetIdentifierValue,ve.patient&&(Pe.birthDate=ve.patient.birthDate,Pe.gender=ve.patient.gender,Pe.name=ve.patient.name,Pe.address=ve.patient.address),null!=ve.uploadBundle&&["PADV","DIS","MTP","PRE","PMLC"].includes(ve.documentType.value)){const je=ve.uploadBundle.entry[0].resource;if((null==je?void 0:je.author)&&je.author[0].reference){const Ct=ve.getResource(ve.uploadBundle,je.author[0].reference);if(Ct&&"PractitionerRole"==Ct.resourceType){let Ht={...Ct};delete Ht.text,Ht.id="practrole";const $t=ve.getResource(ve.uploadBundle,null===(nt=Ht.organization)||void 0===nt?void 0:nt.reference),vn=ve.getResource(ve.uploadBundle,null===(Pt=Ht.practitioner)||void 0===Pt?void 0:Pt.reference);if($t){let it={...$t};it.id="org",delete it.text,Ht.organization.reference="#org",Nt.contained.push(it)}if(vn){let it={...vn};it.id="pract",delete it.text,Ht.practitioner.reference="#pract",Nt.contained.push(it)}Nt.contained.push(Ht),Nt.author.push({reference:"#practrole"})}}}0==Nt.author.length&&delete Nt.author;let Ee=ve.masterIdentifier.value.toLocaleLowerCase();Nt.masterIdentifier.value=Ee;let B="urn:oid:"+ve.generateOidFromUuid();Nt.identifier[0].value=B,Nt.subject.reference=ve.targetId,Nt.date=lt,Nt.content[0].attachment.url=gt,Nt.content[0].attachment.contentType=ve.uploadContentType,Nt.content[0].attachment.language=ve.languageCode.value;let V=Ft.entry[2].resource;V.date=ve.creationTime.value,V.type=ve.getDocumentReferenceType(),V.category.push(ve.getDocumentReferenceCategory()),V.content[0].format=ve.getDocumentReferenceContentFormat(),V.content[0].attachment.creation=ve.creationTime.value,V.description=ve.documentDescription.value,V.securityLabel[0]=ve.getDocumentConfidentiality();const be=yield ve.getSamlToken();ve.mag.transaction({body:Ft,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+be}}}).then(je=>{ve.setJson(JSON.stringify(je,null,2)),ve.inMhdUploadProgress=!1}).catch(je=>{ve.setJson(JSON.stringify(je,null,2)),ve.inMhdUploadProgress=!1})})()}}A.MagComponent=Ue,Ue.\u0275fac=function(ve){return new(ve||Ue)(s.\u0275\u0275directiveInject(C.FhirConfigService),s.\u0275\u0275directiveInject(P.FhirPathService),s.\u0275\u0275directiveInject(w.HttpClient),s.\u0275\u0275directiveInject(s.ChangeDetectorRef),s.\u0275\u0275directiveInject(D.OAuthService),s.\u0275\u0275directiveInject(T.Router))},Ue.\u0275cmp=s.\u0275\u0275defineComponent({type:Ue,selectors:[["app-mag"]],decls:192,vars:37,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"],[3,"dataSource"],["table",""],["matColumnDef","name"],["class","name",4,"matHeaderCellDef"],["class","name",4,"matCellDef"],["matColumnDef","title"],["class","title",4,"matHeaderCellDef"],["class","title",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,"highlight"],[1,"name"],[1,"title"],[1,"contentType"],[1,"formatCode"],[1,"res"],["mat-icon-button","","type","submit",3,"click"]],template:function(ve,Ae){1&ve&&(s.\u0275\u0275elementStart(0,"mat-card",0),s.\u0275\u0275elementStart(1,"mat-card-content"),s.\u0275\u0275elementStart(2,"mat-card-header"),s.\u0275\u0275elementStart(3,"mat-card-title"),s.\u0275\u0275text(4,"Mobile Access Gateway - Patient Identifiers"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(5,"div"),s.\u0275\u0275elementStart(6,"mat-form-field",1),s.\u0275\u0275elementStart(7,"mat-label"),s.\u0275\u0275text(8,"sourceIdentifier system"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(9,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(10," \xa0 "),s.\u0275\u0275elementStart(11,"mat-form-field",1),s.\u0275\u0275elementStart(12,"mat-label"),s.\u0275\u0275text(13,"sourceIdentifier value"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(14,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(15,"div"),s.\u0275\u0275elementStart(16,"mat-form-field",1),s.\u0275\u0275elementStart(17,"mat-label"),s.\u0275\u0275text(18,"targetIdentifier system (MPI-ID)"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(19,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(20),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(21,"div"),s.\u0275\u0275elementStart(22,"mat-form-field",1),s.\u0275\u0275elementStart(23,"mat-label"),s.\u0275\u0275text(24,"targetIdentifier system (EPR-SPID)"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(25,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(26),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(27,"div"),s.\u0275\u0275elementStart(28,"div"),s.\u0275\u0275text(29),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(30,oe,2,0,"ng-container",3),s.\u0275\u0275elementStart(31,"mat-card-actions"),s.\u0275\u0275elementStart(32,"button",4),s.\u0275\u0275listener("click",function(){return Ae.onPIXmQuery()}),s.\u0275\u0275text(33," PIXm Query "),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(34,ae,3,0,"ng-container",3),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(35,ie,25,5,"ng-container",3),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(36,"mat-card",0),s.\u0275\u0275elementStart(37,"mat-card-content"),s.\u0275\u0275elementStart(38,"mat-card-header"),s.\u0275\u0275elementStart(39,"mat-card-title"),s.\u0275\u0275text(40,"Mobile Access Gateway - Authenticate"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(41,"div"),s.\u0275\u0275elementStart(42,"mat-form-field",1),s.\u0275\u0275elementStart(43,"mat-label"),s.\u0275\u0275text(44,"Authenticate/Authorize"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(45,"select",5),s.\u0275\u0275elementStart(46,"option",6),s.\u0275\u0275text(47,"Patient"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(48,"option",7),s.\u0275\u0275text(49,"HCP"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(50,"option",8),s.\u0275\u0275text(51,"TCU"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(52,le,3,1,"div",3),s.\u0275\u0275elementStart(53,"mat-card-actions"),s.\u0275\u0275elementStart(54,"button",4),s.\u0275\u0275listener("click",function(){return Ae.onAuthenticate()}),s.\u0275\u0275text(55," Authenticate "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(56,"mat-card",0),s.\u0275\u0275elementStart(57,"mat-card-content"),s.\u0275\u0275elementStart(58,"mat-card-header"),s.\u0275\u0275elementStart(59,"mat-card-title"),s.\u0275\u0275text(60,"Mobile Access Gateway - Query"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(61,"mat-table",9,10),s.\u0275\u0275elementContainerStart(63,11),s.\u0275\u0275template(64,Ce,2,0,"mat-header-cell",12),s.\u0275\u0275template(65,Te,2,1,"mat-cell",13),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(66,14),s.\u0275\u0275template(67,Ke,2,0,"mat-header-cell",15),s.\u0275\u0275template(68,tt,3,1,"mat-cell",16),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(69,17),s.\u0275\u0275template(70,ot,2,0,"mat-header-cell",18),s.\u0275\u0275template(71,pt,3,1,"mat-cell",19),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(72,20),s.\u0275\u0275template(73,Dt,2,0,"mat-header-cell",21),s.\u0275\u0275template(74,Ie,3,1,"mat-cell",22),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275elementContainerStart(75,23),s.\u0275\u0275template(76,Qe,2,0,"mat-header-cell",24),s.\u0275\u0275template(77,ct,10,0,"mat-cell",25),s.\u0275\u0275elementContainerEnd(),s.\u0275\u0275template(78,bt,1,0,"mat-header-row",26),s.\u0275\u0275template(79,Et,1,0,"mat-row",27),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(80,xt,2,0,"ng-container",3),s.\u0275\u0275elementStart(81,"mat-card-actions"),s.\u0275\u0275elementStart(82,"button",28),s.\u0275\u0275listener("click",function(){return Ae.onFindDocumentReferences()}),s.\u0275\u0275text(83," Document References "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(84,"div"),s.\u0275\u0275elementStart(85,"mat-form-field",1),s.\u0275\u0275elementStart(86,"mat-label"),s.\u0275\u0275text(87,"serviceStart From"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(88,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(89," \xa0 "),s.\u0275\u0275elementStart(90,"mat-form-field",1),s.\u0275\u0275elementStart(91,"mat-label"),s.\u0275\u0275text(92,"serviceStart To"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(93,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(94,"div"),s.\u0275\u0275elementStart(95,"mat-form-field",1),s.\u0275\u0275elementStart(96,"mat-label"),s.\u0275\u0275text(97,"serviceEnd From"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(98,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(99," \xa0 "),s.\u0275\u0275elementStart(100,"mat-form-field",1),s.\u0275\u0275elementStart(101,"mat-label"),s.\u0275\u0275text(102,"serviceEnd To"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(103,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(104,"mat-card-actions"),s.\u0275\u0275elementStart(105,"button",28),s.\u0275\u0275listener("click",function(){return Ae.onFindMedicationList()}),s.\u0275\u0275text(106," Medication List "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(107,"button",28),s.\u0275\u0275listener("click",function(){return Ae.onFindMedicationCard()}),s.\u0275\u0275text(108," Medication Card "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(109,dt,4,0,"ng-container",3),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(110,"mat-card",0),s.\u0275\u0275elementStart(111,"mat-card-content"),s.\u0275\u0275elementStart(112,"mat-card-header"),s.\u0275\u0275elementStart(113,"mat-card-title"),s.\u0275\u0275text(114,"Mobile Access Gateway - Upload"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(115,"app-upload",29),s.\u0275\u0275listener("addFiles",function(Pt){return Ae.addFile(Pt)}),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(116,"div"),s.\u0275\u0275elementStart(117,"mat-form-field",1),s.\u0275\u0275elementStart(118,"mat-label"),s.\u0275\u0275text(119,"Description"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(120,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(121,"div"),s.\u0275\u0275elementStart(122,"mat-form-field",1),s.\u0275\u0275elementStart(123,"mat-label"),s.\u0275\u0275text(124,"Document Type"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(125,"select",5),s.\u0275\u0275elementStart(126,"option",30),s.\u0275\u0275text(127,"APPC Document"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(128,"option",31),s.\u0275\u0275text(129,"Medication Treatment Plan document"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(130,"option",32),s.\u0275\u0275text(131,"Medication Dispense document"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(132,"option",33),s.\u0275\u0275text(133,"Medication Prescription document"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(134,"option",34),s.\u0275\u0275text(135,"Pharmaceutical Advice document"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(136,"option",35),s.\u0275\u0275text(137,"PDF"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(138,"div"),s.\u0275\u0275elementStart(139,"mat-form-field",1),s.\u0275\u0275elementStart(140,"mat-label"),s.\u0275\u0275text(141,"Confidentiality"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(142,"select",5),s.\u0275\u0275elementStart(143,"option",36),s.\u0275\u0275text(144,"Normally accessible"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(145,"option",37),s.\u0275\u0275text(146,"Restricted accessible"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(147,"option",38),s.\u0275\u0275text(148,"Secret"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(149,"div"),s.\u0275\u0275elementStart(150,"mat-form-field",1),s.\u0275\u0275elementStart(151,"mat-label"),s.\u0275\u0275text(152,"DocumentEntry.masterIdentifier (uuid)"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(153,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(154,"div"),s.\u0275\u0275elementStart(155,"mat-form-field",1),s.\u0275\u0275elementStart(156,"mat-label"),s.\u0275\u0275text(157,"DocumentEntry.creationTime"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(158,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(159,"div"),s.\u0275\u0275elementStart(160,"mat-form-field",1),s.\u0275\u0275elementStart(161,"mat-label"),s.\u0275\u0275text(162,"DocumentEntry.languageCode"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(163,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(164,"div"),s.\u0275\u0275elementStart(165,"mat-form-field",1),s.\u0275\u0275elementStart(166,"mat-label"),s.\u0275\u0275text(167,"ihe-sourceId"),s.\u0275\u0275elementEnd(),s.\u0275\u0275element(168,"input",2),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(169,"\xa0 "),s.\u0275\u0275elementStart(170,"a",39),s.\u0275\u0275text(171,"ig"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(172,Ne,2,1,"div",3),s.\u0275\u0275template(173,rt,2,3,"div",40),s.\u0275\u0275template(174,ze,2,1,"div",3),s.\u0275\u0275template(175,yt,2,0,"ng-container",3),s.\u0275\u0275elementStart(176,"div"),s.\u0275\u0275elementStart(177,"button",28),s.\u0275\u0275listener("click",function(){return Ae.assignMobileAccessPatient()}),s.\u0275\u0275text(178," Assign Mobile Access Patient"),s.\u0275\u0275elementEnd(),s.\u0275\u0275text(179,"\xa0 "),s.\u0275\u0275elementStart(180,"button",28),s.\u0275\u0275listener("click",function(){return Ae.createMhdTransaction()}),s.\u0275\u0275text(181," Provide and Register "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(182,"button",28),s.\u0275\u0275listener("click",function(){return Ae.createAppc()}),s.\u0275\u0275text(183," Create APPC for PMP "),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementStart(184,"mat-card",0),s.\u0275\u0275elementStart(185,"mat-card-content"),s.\u0275\u0275elementStart(186,"mat-card-header"),s.\u0275\u0275elementStart(187,"mat-card-title"),s.\u0275\u0275text(188,"Response"),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275template(189,mt,2,1,"div",3),s.\u0275\u0275elementStart(190,"pre"),s.\u0275\u0275element(191,"code",41),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd(),s.\u0275\u0275elementEnd()),2&ve&&(s.\u0275\u0275advance(9),s.\u0275\u0275property("formControl",Ae.sourceIdentifierSystem),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.sourceIdentifierValue),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.targetIdentifierSystem),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" \xa0 ",Ae.targetIdentifierValue," "),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.targetIdentifier2System),s.\u0275\u0275advance(1),s.\u0275\u0275textInterpolate1(" \xa0 ",Ae.targetIdentifier2Value," "),s.\u0275\u0275advance(3),s.\u0275\u0275textInterpolate1("targetId: ",Ae.targetId,""),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.inPixmProgress),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngIf",Ae.targetId.length>0),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.patient),s.\u0275\u0275advance(10),s.\u0275\u0275property("formControl",Ae.authenticate),s.\u0275\u0275advance(7),s.\u0275\u0275property("ngIf",Ae.getScopes()),s.\u0275\u0275advance(9),s.\u0275\u0275property("dataSource",Ae.dataSource),s.\u0275\u0275advance(17),s.\u0275\u0275property("matHeaderRowDef",s.\u0275\u0275pureFunction0(35,_e)),s.\u0275\u0275advance(1),s.\u0275\u0275property("matRowDefColumns",s.\u0275\u0275pureFunction0(36,_e)),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.inMhdQueryProgress),s.\u0275\u0275advance(8),s.\u0275\u0275property("formControl",Ae.serviceStartFrom),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.serviceStartTo),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.serviceEndFrom),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.serviceEndTo),s.\u0275\u0275advance(6),s.\u0275\u0275property("ngIf",Ae.canTransformToPdf()),s.\u0275\u0275advance(11),s.\u0275\u0275property("formControl",Ae.documentDescription),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.documentType),s.\u0275\u0275advance(17),s.\u0275\u0275property("formControl",Ae.documentConfidentiality),s.\u0275\u0275advance(11),s.\u0275\u0275property("formControl",Ae.masterIdentifier),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.creationTime),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.languageCode),s.\u0275\u0275advance(5),s.\u0275\u0275property("formControl",Ae.iheSourceId),s.\u0275\u0275advance(4),s.\u0275\u0275property("ngIf",Ae.replaceDocumentReference),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngForOf",Ae.replaceUuids),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.errMsgAssignPatient),s.\u0275\u0275advance(1),s.\u0275\u0275property("ngIf",Ae.inMhdUploadProgress),s.\u0275\u0275advance(14),s.\u0275\u0275property("ngIf",Ae.errMsg),s.\u0275\u0275advance(2),s.\u0275\u0275property("highlight",Ae.getJson())("lineNumbers",!0))},directives:[Y.MatCard,Y.MatCardContent,Y.MatCardHeader,Y.MatCardTitle,$.MatFormField,$.MatLabel,z.MatInput,G.DefaultValueAccessor,G.NgControlStatus,G.FormControlDirective,X.NgIf,Y.MatCardActions,Q.MatButton,G.SelectControlValueAccessor,G.RequiredValidator,G.NgSelectOption,G.\u0275NgSelectMultipleOption,q.MatTable,q.MatColumnDef,q.MatHeaderCellDef,q.MatCellDef,q.MatHeaderRowDef,q.MatRowDef,ue.UploadComponent,X.NgForOf,me.Highlight,xe.MatProgressSpinner,q.MatHeaderCell,q.MatCell,pe.MatIcon,q.MatHeaderRow,q.MatRow],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.display[_ngcontent-%COMP%]{display:inline-block;margin-bottom:10px}.column50[_ngcontent-%COMP%]{width:40%}"]})},3423:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.PatientDetailComponent=void 0;const n=o(655),l=(0,n.__importStar)(o(5e3)),u=(0,n.__importStar)(o(9808)),c=(0,n.__importStar)(o(9224));function r(m,p){if(1&m&&(l.\u0275\u0275elementStart(0,"mat-card",1),l.\u0275\u0275elementStart(1,"mat-card-content"),l.\u0275\u0275elementStart(2,"pre"),l.\u0275\u0275text(3),l.\u0275\u0275pipe(4,"json"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&m){const y=l.\u0275\u0275nextContext();l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(l.\u0275\u0275pipeBind1(4,1,y.patient))}}class d{constructor(){}ngOnInit(){}}A.PatientDetailComponent=d,d.\u0275fac=function(p){return new(p||d)},d.\u0275cmp=l.\u0275\u0275defineComponent({type:d,selectors:[["app-patient-detail"]],inputs:{patient:"patient"},decls:1,vars:1,consts:[["class","Patient",4,"ngIf"],[1,"Patient"]],template:function(p,y){1&p&&l.\u0275\u0275template(0,r,5,3,"mat-card",0),2&p&&l.\u0275\u0275property("ngIf",y.patient)},directives:[u.NgIf,c.MatCard,c.MatCardContent],pipes:[u.JsonPipe],styles:[""]})},9862:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.PatientsComponent=void 0;const n=o(655),u=(o(6165),o(6346)),c=o(3075),r=o(3460),d=(0,n.__importStar)(o(5e3)),m=(0,n.__importStar)(o(6165)),p=(0,n.__importStar)(o(9224)),y=(0,n.__importStar)(o(7322)),b=(0,n.__importStar)(o(7531)),h=(0,n.__importStar)(o(3075)),g=(0,n.__importStar)(o(6346)),s=(0,n.__importStar)(o(7850)),C=(0,n.__importStar)(o(3423));function P(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"Family"),d.\u0275\u0275elementEnd())}function w(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientFamilyName(ae))}}function D(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"Given"),d.\u0275\u0275elementEnd())}function T(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientGivenNames(ae))}}function Y(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"Birthdate"),d.\u0275\u0275elementEnd())}function $(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientBirthDate(ae))}}function z(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"Street"),d.\u0275\u0275elementEnd())}function G(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientAddressLines(ae))}}function X(pe,oe){1&pe&&(d.\u0275\u0275elementStart(0,"mat-header-cell"),d.\u0275\u0275text(1,"City"),d.\u0275\u0275elementEnd())}function Q(pe,oe){if(1&pe&&(d.\u0275\u0275elementStart(0,"mat-cell"),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&pe){const ae=oe.$implicit,U=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(U.getPatientAddressCity(ae))}}function q(pe,oe){1&pe&&d.\u0275\u0275element(0,"mat-header-row")}function ue(pe,oe){if(1&pe){const ae=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"mat-row",16),d.\u0275\u0275listener("click",function(){const le=d.\u0275\u0275restoreView(ae).$implicit;return d.\u0275\u0275nextContext().selectRow(le)}),d.\u0275\u0275elementEnd()}}const me=function(){return["familyNameCol","givenNamesCol","birthDateCol","addressLinesCol","addressCityCol"]};class xe{constructor(oe){this.data=oe,this.searched=!1,this.dataSource=new u.MatTableDataSource,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=oe.getMobileAccessGatewayClient(),this.searchName=new c.FormControl,this.searchName.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(ae=>this.search()),this.searchGiven=new c.FormControl,this.searchGiven.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(ae=>this.search()),this.searchFamily=new c.FormControl,this.searchFamily.valueChanges.pipe((0,r.debounceTime)(400),(0,r.distinctUntilChanged)()).subscribe(ae=>this.search()),this.search()}search(){let oe={...this.query};this.searchName.value&&(oe={...oe,name:this.searchName.value}),this.searchFamily.value&&(oe={...oe,family:this.searchFamily.value}),this.searchGiven.value&&(oe={...oe,given:this.searchGiven.value}),this.client.search({resourceType:"Patient",searchParams:oe}).then(ae=>(this.pageIndex=0,this.setBundle(ae),ae))}getPatientFamilyName(oe){const ae=oe.resource;return ae.name&&ae.name.length>0&&ae.name[0].family?ae.name[0].family:""}getPatientGivenNames(oe){const ae=oe.resource;return ae.name&&ae.name.length>0&&ae.name[0].given?oe.resource.name[0].given.join(" "):""}getPatientBirthDate(oe){const ae=oe.resource;return ae.birthDate?ae.birthDate:""}getPatientAddressLines(oe){const ae=oe.resource;return ae.address&&ae.address.length>0&&ae.address[0].line?ae.address[0].line.join(", "):""}getPatientAddressCity(oe){const ae=oe.resource;return ae.address&&ae.address.length>0&&ae.address[0].city?ae.address[0].city:""}selectRow(oe){this.client.read({resourceType:"Patient",id:oe.resource.id}).then(ie=>{this.selectedPatient=ie})}goToPage(oe){oe.pageIndex>this.pageIndex?this.client.nextPage({bundle:this.bundle}).then(ae=>{this.pageIndex=oe.pageIndex,this.setBundle(ae),console.log("next page called ")}):this.client.prevPage({bundle:this.bundle}).then(ae=>{this.pageIndex=oe.pageIndex,this.setBundle(ae),console.log("previous page called ")})}setBundle(oe){this.bundle=oe,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry,this.selectedPatient=void 0}ngOnInit(){}}A.PatientsComponent=xe,xe.\u0275fac=function(oe){return new(oe||xe)(d.\u0275\u0275directiveInject(m.FhirConfigService))},xe.\u0275cmp=d.\u0275\u0275defineComponent({type:xe,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(oe,ae){1&oe&&(d.\u0275\u0275elementStart(0,"mat-card",0),d.\u0275\u0275elementStart(1,"mat-card-content"),d.\u0275\u0275elementStart(2,"mat-form-field"),d.\u0275\u0275elementStart(3,"mat-label"),d.\u0275\u0275text(4,"Name"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(5,"input",1),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(6," \xa0 "),d.\u0275\u0275elementStart(7,"mat-form-field"),d.\u0275\u0275elementStart(8,"mat-label"),d.\u0275\u0275text(9,"Family"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(10,"input",1),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(11," \xa0 "),d.\u0275\u0275elementStart(12,"mat-form-field"),d.\u0275\u0275elementStart(13,"mat-label"),d.\u0275\u0275text(14,"Given"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(15,"input",1),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(16," \xa0 "),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(17,"mat-card",2),d.\u0275\u0275elementStart(18,"mat-card-content"),d.\u0275\u0275elementStart(19,"mat-table",3,4),d.\u0275\u0275elementContainerStart(21,5),d.\u0275\u0275template(22,P,2,0,"mat-header-cell",6),d.\u0275\u0275template(23,w,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(24,8),d.\u0275\u0275template(25,D,2,0,"mat-header-cell",6),d.\u0275\u0275template(26,T,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(27,9),d.\u0275\u0275template(28,Y,2,0,"mat-header-cell",6),d.\u0275\u0275template(29,$,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(30,10),d.\u0275\u0275template(31,z,2,0,"mat-header-cell",6),d.\u0275\u0275template(32,G,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275elementContainerStart(33,11),d.\u0275\u0275template(34,X,2,0,"mat-header-cell",6),d.\u0275\u0275template(35,Q,2,1,"mat-cell",7),d.\u0275\u0275elementContainerEnd(),d.\u0275\u0275template(36,q,1,0,"mat-header-row",12),d.\u0275\u0275template(37,ue,1,0,"mat-row",13),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(38,"mat-paginator",14),d.\u0275\u0275listener("page",function(ie){return ae.goToPage(ie)}),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(39,"app-patient-detail",15)),2&oe&&(d.\u0275\u0275advance(5),d.\u0275\u0275property("formControl",ae.searchName),d.\u0275\u0275advance(5),d.\u0275\u0275property("formControl",ae.searchFamily),d.\u0275\u0275advance(5),d.\u0275\u0275property("formControl",ae.searchGiven),d.\u0275\u0275advance(4),d.\u0275\u0275property("dataSource",ae.dataSource),d.\u0275\u0275advance(17),d.\u0275\u0275property("matHeaderRowDef",d.\u0275\u0275pureFunction0(11,me)),d.\u0275\u0275advance(1),d.\u0275\u0275property("matRowDefColumns",d.\u0275\u0275pureFunction0(12,me)),d.\u0275\u0275advance(1),d.\u0275\u0275property("pageIndex",ae.pageIndex)("length",ae.length)("pageSize",ae.pageSize)("pageSizeOptions",ae.pageSizeOptions),d.\u0275\u0275advance(1),d.\u0275\u0275property("patient",ae.selectedPatient))},directives:[p.MatCard,p.MatCardContent,y.MatFormField,y.MatLabel,b.MatInput,h.DefaultValueAccessor,h.NgControlStatus,h.FormControlDirective,g.MatTable,g.MatColumnDef,g.MatHeaderCellDef,g.MatCellDef,g.MatHeaderRowDef,g.MatRowDef,s.MatPaginator,C.PatientDetailComponent,g.MatHeaderCell,g.MatCell,g.MatHeaderRow,g.MatRow],styles:[""]})},4586:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.SettingsComponent=void 0;const n=o(655),u=(o(6165),(0,n.__importDefault)(o(1455))),r=(o(4202),(0,n.__importStar)(o(5e3))),d=(0,n.__importStar)(o(6165)),m=(0,n.__importStar)(o(4202)),p=(0,n.__importStar)(o(9224)),y=(0,n.__importStar)(o(3075)),b=(0,n.__importStar)(o(7322)),h=(0,n.__importStar)(o(4107)),g=(0,n.__importStar)(o(9808)),s=(0,n.__importStar)(o(508));function C(w,D){if(1&w&&(r.\u0275\u0275elementStart(0,"mat-option",2),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&w){const T=D.$implicit;r.\u0275\u0275property("value",T),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",T," ")}}class P{constructor(D,T){this.data=D,this.router=T,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=D.getMobileAccessGatewayClient()}ngOnInit(){this.baseUrlMag=this.data.getMobileAccessGatewayService()}getMagSelectedValue(){return this.baseUrlMag}setMagSelectedValue(D){(0,u.default)("setting new server to "+D),this.data.changeMagMicroService(D)}}A.SettingsComponent=P,P.\u0275fac=function(D){return new(D||P)(r.\u0275\u0275directiveInject(d.FhirConfigService),r.\u0275\u0275directiveInject(m.Router))},P.\u0275cmp=r.\u0275\u0275defineComponent({type:P,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(D,T){1&D&&(r.\u0275\u0275elementStart(0,"mat-card"),r.\u0275\u0275elementStart(1,"mat-card-content"),r.\u0275\u0275elementStart(2,"form"),r.\u0275\u0275elementStart(3,"mat-form-field"),r.\u0275\u0275elementStart(4,"mat-select",0),r.\u0275\u0275listener("ngModelChange",function($){return T.setMagSelectedValue($)}),r.\u0275\u0275template(5,C,2,2,"mat-option",1),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(6,"br"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&D&&(r.\u0275\u0275advance(4),r.\u0275\u0275property("ngModel",T.getMagSelectedValue()),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",T.mobileAccessGateways))},directives:[p.MatCard,p.MatCardContent,y.\u0275NgNoValidate,y.NgControlStatusGroup,y.NgForm,b.MatFormField,h.MatSelect,y.NgControlStatus,y.NgModel,g.NgForOf,s.MatOption],styles:[""]})},4466:(he,A,o)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.SharedModule=void 0;const n=o(655),l=o(9808),u=o(3075),c=o(6360),r=o(2313),d=o(1079),m=o(7423),p=o(9224),y=o(7446),b=o(508),h=o(6856),g=o(4834),s=o(7322),C=o(5245),P=o(7531),w=o(2181),D=o(7850),T=o(9814),Y=o(4107),$=o(2368),z=o(8029),G=o(6346),X=o(3251),Q=o(4594),q=o(2466),ue=o(773),me=(0,n.__importStar)(o(5e3)),xe=[l.CommonModule,r.BrowserModule,c.BrowserAnimationsModule,u.FormsModule,u.ReactiveFormsModule,q.TranslateModule,d.MatAutocompleteModule,m.MatButtonModule,p.MatCardModule,y.MatCheckboxModule,g.MatDividerModule,s.MatFormFieldModule,C.MatIconModule,P.MatInputModule,w.MatMenuModule,D.MatPaginatorModule,Y.MatSelectModule,z.MatSliderModule,$.MatSlideToggleModule,G.MatTableModule,Q.MatToolbarModule,X.MatTabsModule,h.MatDatepickerModule,b.MatNativeDateModule,T.MatRadioModule,ue.MatProgressSpinnerModule];class oe{}A.SharedModule=oe,oe.\u0275fac=function(U){return new(U||oe)},oe.\u0275mod=me.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=me.\u0275\u0275defineInjector({imports:[xe,l.CommonModule,r.BrowserModule,c.BrowserAnimationsModule,u.FormsModule,u.ReactiveFormsModule,q.TranslateModule,d.MatAutocompleteModule,m.MatButtonModule,p.MatCardModule,y.MatCheckboxModule,g.MatDividerModule,s.MatFormFieldModule,C.MatIconModule,P.MatInputModule,w.MatMenuModule,D.MatPaginatorModule,Y.MatSelectModule,z.MatSliderModule,$.MatSlideToggleModule,G.MatTableModule,Q.MatToolbarModule,X.MatTabsModule,h.MatDatepickerModule,b.MatNativeDateModule,T.MatRadioModule,ue.MatProgressSpinnerModule]})},68:(he,A,o)=>{"use strict";var n=o(8926).default;Object.defineProperty(A,"__esModule",{value:!0}),A.UploadComponent=void 0;const l=o(655),u=o(5e3),c=(0,l.__importStar)(o(5e3)),r=(0,l.__importStar)(o(5245)),d=(0,l.__importStar)(o(7423));class m{constructor(){this.addFiles=new u.EventEmitter,this.dragCounter=0}checkStatus(y){if(!y.ok)throw new Error(`HTTP ${y.status} - ${y.statusText}`);return y}onDrop(y){y.preventDefault(),this.dragCounter=0;const b=y.target.files||y.dataTransfer.items;if(b)for(let g=0;g0))},directives:[r.MatIcon,d.MatButton],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})},2340:(he,A)=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0}),A.environment=void 0,A.environment={production:!0}},4431:(he,A,o)=>{"use strict";const u=(0,o(655).__importStar)(o(2313)),c=o(5e3),r=o(6747);o(2340).environment.production&&(0,c.enableProdMode)(),u.platformBrowser().bootstrapModule(r.AppModule).catch(m=>console.log(m))},2466:(he,A,o)=>{"use strict";o.r(A),o.d(A,{TranslateModule:()=>pe,TranslateLoader:()=>h,TranslateFakeLoader:()=>g,USE_STORE:()=>Q,USE_DEFAULT_LANG:()=>q,TranslateService:()=>ue,MissingTranslationHandler:()=>s,FakeMissingTranslationHandler:()=>C,TranslateParser:()=>z,TranslateDefaultParser:()=>G,TranslateCompiler:()=>P,TranslateFakeCompiler:()=>w,TranslateDirective:()=>me,TranslatePipe:()=>xe,TranslateStore:()=>X});var n=o(5e3),l=o(1086),u=o(6787),c=o(6498),r=o(1961),d=o(2986),m=o(8117),p=o(4850),y=o(864),b=o(7545);class h{}let g=(()=>{class oe extends h{getTranslation(U){return(0,l.of)({})}}return oe.\u0275fac=function(){let ae;return function(ie){return(ae||(ae=n.\u0275\u0275getInheritedFactory(oe)))(ie||oe)}}(),oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})();class s{}let C=(()=>{class oe{handle(U){return U.key}}return oe.\u0275fac=function(U){return new(U||oe)},oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})();class P{}let w=(()=>{class oe extends P{compile(U,ie){return U}compileTranslations(U,ie){return U}}return oe.\u0275fac=function(){let ae;return function(ie){return(ae||(ae=n.\u0275\u0275getInheritedFactory(oe)))(ie||oe)}}(),oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})();function D(oe,ae){if(oe===ae)return!0;if(null===oe||null===ae)return!1;if(oe!=oe&&ae!=ae)return!0;let le,Ce,Te,U=typeof oe;if(U==typeof ae&&"object"==U){if(!Array.isArray(oe)){if(Array.isArray(ae))return!1;for(Ce in Te=Object.create(null),oe){if(!D(oe[Ce],ae[Ce]))return!1;Te[Ce]=!0}for(Ce in ae)if(!(Ce in Te)&&void 0!==ae[Ce])return!1;return!0}if(!Array.isArray(ae))return!1;if((le=oe.length)==ae.length){for(Ce=0;Ce{Y(ae[ie])?ie in oe?U[ie]=$(oe[ie],ae[ie]):Object.assign(U,{[ie]:ae[ie]}):Object.assign(U,{[ie]:ae[ie]})}),U}class z{}let G=(()=>{class oe extends z{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(U,ie){let le;return le="string"==typeof U?this.interpolateString(U,ie):"function"==typeof U?this.interpolateFunction(U,ie):U,le}getValue(U,ie){let le=ie.split(".");ie="";do{ie+=le.shift(),!T(U)||!T(U[ie])||"object"!=typeof U[ie]&&le.length?le.length?ie+=".":U=void 0:(U=U[ie],ie="")}while(le.length);return U}interpolateFunction(U,ie){return U(ie)}interpolateString(U,ie){return ie?U.replace(this.templateMatcher,(le,Ce)=>{let Te=this.getValue(ie,Ce);return T(Te)?Te:le}):U}}return oe.\u0275fac=function(){let ae;return function(ie){return(ae||(ae=n.\u0275\u0275getInheritedFactory(oe)))(ie||oe)}}(),oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})();class X{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new n.EventEmitter,this.onLangChange=new n.EventEmitter,this.onDefaultLangChange=new n.EventEmitter}}const Q=new n.InjectionToken("USE_STORE"),q=new n.InjectionToken("USE_DEFAULT_LANG");let ue=(()=>{class oe{constructor(U,ie,le,Ce,Te,Ke=!0,tt=!1){this.store=U,this.currentLoader=ie,this.compiler=le,this.parser=Ce,this.missingTranslationHandler=Te,this.useDefaultLang=Ke,this.isolate=tt,this.pending=!1,this._onTranslationChange=new n.EventEmitter,this._onLangChange=new n.EventEmitter,this._onDefaultLangChange=new n.EventEmitter,this._langs=[],this._translations={},this._translationRequests={}}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(U){this.isolate?this._defaultLang=U:this.store.defaultLang=U}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(U){this.isolate?this._currentLang=U:this.store.currentLang=U}get langs(){return this.isolate?this._langs:this.store.langs}set langs(U){this.isolate?this._langs=U:this.store.langs=U}get translations(){return this.isolate?this._translations:this.store.translations}set translations(U){this.isolate?this._translations=U:this.store.translations=U}setDefaultLang(U){if(U===this.defaultLang)return;let ie=this.retrieveTranslations(U);void 0!==ie?(this.defaultLang||(this.defaultLang=U),ie.pipe((0,d.q)(1)).subscribe(le=>{this.changeDefaultLang(U)})):this.changeDefaultLang(U)}getDefaultLang(){return this.defaultLang}use(U){if(U===this.currentLang)return(0,l.of)(this.translations[U]);let ie=this.retrieveTranslations(U);return void 0!==ie?(this.currentLang||(this.currentLang=U),ie.pipe((0,d.q)(1)).subscribe(le=>{this.changeLang(U)}),ie):(this.changeLang(U),(0,l.of)(this.translations[U]))}retrieveTranslations(U){let ie;return void 0===this.translations[U]&&(this._translationRequests[U]=this._translationRequests[U]||this.getTranslation(U),ie=this._translationRequests[U]),ie}getTranslation(U){this.pending=!0;const ie=this.currentLoader.getTranslation(U).pipe((0,m.B)());return this.loadingTranslations=ie.pipe((0,d.q)(1),(0,p.U)(le=>this.compiler.compileTranslations(le,U)),(0,m.B)()),this.loadingTranslations.subscribe(le=>{this.translations[U]=le,this.updateLangs(),this.pending=!1},le=>{this.pending=!1}),ie}setTranslation(U,ie,le=!1){ie=this.compiler.compileTranslations(ie,U),this.translations[U]=le&&this.translations[U]?$(this.translations[U],ie):ie,this.updateLangs(),this.onTranslationChange.emit({lang:U,translations:this.translations[U]})}getLangs(){return this.langs}addLangs(U){U.forEach(ie=>{-1===this.langs.indexOf(ie)&&this.langs.push(ie)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(U,ie,le){let Ce;if(ie instanceof Array){let Te={},Ke=!1;for(let tt of ie)Te[tt]=this.getParsedResult(U,tt,le),"function"==typeof Te[tt].subscribe&&(Ke=!0);if(Ke){let tt;for(let ot of ie){let pt="function"==typeof Te[ot].subscribe?Te[ot]:(0,l.of)(Te[ot]);tt=void 0===tt?pt:(0,u.T)(tt,pt)}return tt.pipe((0,y.q)(),(0,p.U)(ot=>{let pt={};return ot.forEach((Dt,Ie)=>{pt[ie[Ie]]=Dt}),pt}))}return Te}if(U&&(Ce=this.parser.interpolate(this.parser.getValue(U,ie),le)),void 0===Ce&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(Ce=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],ie),le)),void 0===Ce){let Te={key:ie,translateService:this};void 0!==le&&(Te.interpolateParams=le),Ce=this.missingTranslationHandler.handle(Te)}return void 0!==Ce?Ce:ie}get(U,ie){if(!T(U)||!U.length)throw new Error('Parameter "key" required');if(this.pending)return c.y.create(le=>{let Ce=Ke=>{le.next(Ke),le.complete()},Te=Ke=>{le.error(Ke)};this.loadingTranslations.subscribe(Ke=>{"function"==typeof(Ke=this.getParsedResult(Ke,U,ie)).subscribe?Ke.subscribe(Ce,Te):Ce(Ke)},Te)});{let le=this.getParsedResult(this.translations[this.currentLang],U,ie);return"function"==typeof le.subscribe?le:(0,l.of)(le)}}stream(U,ie){if(!T(U)||!U.length)throw new Error('Parameter "key" required');return(0,r.z)(this.get(U,ie),this.onLangChange.pipe((0,b.w)(le=>{const Ce=this.getParsedResult(le.translations,U,ie);return"function"==typeof Ce.subscribe?Ce:(0,l.of)(Ce)})))}instant(U,ie){if(!T(U)||!U.length)throw new Error('Parameter "key" required');let le=this.getParsedResult(this.translations[this.currentLang],U,ie);if(void 0!==le.subscribe){if(U instanceof Array){let Ce={};return U.forEach((Te,Ke)=>{Ce[U[Ke]]=U[Ke]}),Ce}return U}return le}set(U,ie,le=this.currentLang){this.translations[le][U]=this.compiler.compile(ie,le),this.updateLangs(),this.onTranslationChange.emit({lang:le,translations:this.translations[le]})}changeLang(U){this.currentLang=U,this.onLangChange.emit({lang:U,translations:this.translations[U]}),this.defaultLang||this.changeDefaultLang(U)}changeDefaultLang(U){this.defaultLang=U,this.onDefaultLangChange.emit({lang:U,translations:this.translations[U]})}reloadLang(U){return this.resetLang(U),this.getTranslation(U)}resetLang(U){this._translationRequests[U]=void 0,this.translations[U]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let U=window.navigator.languages?window.navigator.languages[0]:null;return U=U||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,-1!==U.indexOf("-")&&(U=U.split("-")[0]),-1!==U.indexOf("_")&&(U=U.split("_")[0]),U}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let U=window.navigator.languages?window.navigator.languages[0]:null;return U=U||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,U}}return oe.\u0275fac=function(U){return new(U||oe)(n.\u0275\u0275inject(X),n.\u0275\u0275inject(h),n.\u0275\u0275inject(P),n.\u0275\u0275inject(z),n.\u0275\u0275inject(s),n.\u0275\u0275inject(q),n.\u0275\u0275inject(Q))},oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})(),me=(()=>{class oe{constructor(U,ie,le){this.translateService=U,this.element=ie,this._ref=le,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(Ce=>{Ce.lang===this.translateService.currentLang&&this.checkNodes(!0,Ce.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(Ce=>{this.checkNodes(!0,Ce.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(Ce=>{this.checkNodes(!0)}))}set translate(U){U&&(this.key=U,this.checkNodes())}set translateParams(U){D(this.currentParams,U)||(this.currentParams=U,this.checkNodes(!0))}ngAfterViewChecked(){this.checkNodes()}checkNodes(U=!1,ie){let le=this.element.nativeElement.childNodes;le.length||(this.setContent(this.element.nativeElement,this.key),le=this.element.nativeElement.childNodes);for(let Ce=0;Ce{Te!==U&&(ie.lastKey=U),ie.originalContent||(ie.originalContent=this.getContent(ie)),ie.currentValue=T(Te)?Te:ie.originalContent||U,this.setContent(ie,this.key?ie.currentValue:ie.originalContent.replace(U,ie.currentValue)),this._ref.markForCheck()};if(T(le)){let Te=this.translateService.getParsedResult(le,U,this.currentParams);"function"==typeof Te.subscribe?Te.subscribe(Ce):Ce(Te)}else this.translateService.get(U,this.currentParams).subscribe(Ce)}}getContent(U){return T(U.textContent)?U.textContent:U.data}setContent(U,ie){T(U.textContent)?U.textContent=ie:U.data=ie}ngOnDestroy(){this.onLangChangeSub&&this.onLangChangeSub.unsubscribe(),this.onDefaultLangChangeSub&&this.onDefaultLangChangeSub.unsubscribe(),this.onTranslationChangeSub&&this.onTranslationChangeSub.unsubscribe()}}return oe.\u0275fac=function(U){return new(U||oe)(n.\u0275\u0275directiveInject(ue),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},oe.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","translate",""],["","ngx-translate",""]],inputs:{translate:"translate",translateParams:"translateParams"}}),oe})(),xe=(()=>{class oe{constructor(U,ie){this.translate=U,this._ref=ie,this.value=""}updateValue(U,ie,le){let Ce=Te=>{this.value=void 0!==Te?Te:U,this.lastKey=U,this._ref.markForCheck()};if(le){let Te=this.translate.getParsedResult(le,U,ie);"function"==typeof Te.subscribe?Te.subscribe(Ce):Ce(Te)}this.translate.get(U,ie).subscribe(Ce)}transform(U,...ie){if(!U||0===U.length)return U;if(D(U,this.lastKey)&&D(ie,this.lastParams))return this.value;let le;if(T(ie[0])&&ie.length)if("string"==typeof ie[0]&&ie[0].length){let Ce=ie[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{le=JSON.parse(Ce)}catch(Te){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${ie[0]}`)}}else"object"==typeof ie[0]&&!Array.isArray(ie[0])&&(le=ie[0]);return this.lastKey=U,this.lastParams=ie,this.updateValue(U,le),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(Ce=>{this.lastKey&&Ce.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(U,le,Ce.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(Ce=>{this.lastKey&&(this.lastKey=null,this.updateValue(U,le,Ce.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(U,le))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return oe.\u0275fac=function(U){return new(U||oe)(n.\u0275\u0275directiveInject(ue,16),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},oe.\u0275pipe=n.\u0275\u0275definePipe({name:"translate",type:oe,pure:!1}),oe.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac}),oe})(),pe=(()=>{class oe{static forRoot(U={}){return{ngModule:oe,providers:[U.loader||{provide:h,useClass:g},U.compiler||{provide:P,useClass:w},U.parser||{provide:z,useClass:G},U.missingTranslationHandler||{provide:s,useClass:C},X,{provide:Q,useValue:U.isolate},{provide:q,useValue:U.useDefaultLang},ue]}}static forChild(U={}){return{ngModule:oe,providers:[U.loader||{provide:h,useClass:g},U.compiler||{provide:P,useClass:w},U.parser||{provide:z,useClass:G},U.missingTranslationHandler||{provide:s,useClass:C},{provide:Q,useValue:U.isolate},{provide:q,useValue:U.useDefaultLang},ue]}}}return oe.\u0275fac=function(U){return new(U||oe)},oe.\u0275mod=n.\u0275\u0275defineNgModule({type:oe}),oe.\u0275inj=n.\u0275\u0275defineInjector({}),oe})()},1744:(he,A,o)=>{"use strict";o.r(A),o.d(A,{TranslateHttpLoader:()=>n});class n{constructor(u,c="/assets/i18n/",r=".json"){this.http=u,this.prefix=c,this.suffix=r}getTranslation(u){return this.http.get(`${this.prefix}${u}${this.suffix}`)}}},9426:he=>{function A(){}he.exports=A,he.exports.HttpsAgent=A},5618:function(){var he;he="undefined"!=typeof self?self:this,function(o){var n_searchParams="URLSearchParams"in he,n_iterable="Symbol"in he&&"iterator"in Symbol,n_blob="FileReader"in he&&"Blob"in he&&function(){try{return new Blob,!0}catch(Q){return!1}}(),n_formData="FormData"in he,n_arrayBuffer="ArrayBuffer"in he;if(n_arrayBuffer)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(Q){return Q&&u.indexOf(Object.prototype.toString.call(Q))>-1};function r(Q){if("string"!=typeof Q&&(Q=String(Q)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(Q))throw new TypeError("Invalid character in header field name");return Q.toLowerCase()}function d(Q){return"string"!=typeof Q&&(Q=String(Q)),Q}function m(Q){var q={next:function(){var ue=Q.shift();return{done:void 0===ue,value:ue}}};return n_iterable&&(q[Symbol.iterator]=function(){return q}),q}function p(Q){this.map={},Q instanceof p?Q.forEach(function(q,ue){this.append(ue,q)},this):Array.isArray(Q)?Q.forEach(function(q){this.append(q[0],q[1])},this):Q&&Object.getOwnPropertyNames(Q).forEach(function(q){this.append(q,Q[q])},this)}function y(Q){if(Q.bodyUsed)return Promise.reject(new TypeError("Already read"));Q.bodyUsed=!0}function b(Q){return new Promise(function(q,ue){Q.onload=function(){q(Q.result)},Q.onerror=function(){ue(Q.error)}})}function h(Q){var q=new FileReader,ue=b(q);return q.readAsArrayBuffer(Q),ue}function C(Q){if(Q.slice)return Q.slice(0);var q=new Uint8Array(Q.byteLength);return q.set(new Uint8Array(Q)),q.buffer}function P(){return this.bodyUsed=!1,this._initBody=function(Q){this._bodyInit=Q,Q?"string"==typeof Q?this._bodyText=Q:n_blob&&Blob.prototype.isPrototypeOf(Q)?this._bodyBlob=Q:n_formData&&FormData.prototype.isPrototypeOf(Q)?this._bodyFormData=Q:n_searchParams&&URLSearchParams.prototype.isPrototypeOf(Q)?this._bodyText=Q.toString():n_arrayBuffer&&n_blob&&function(Q){return Q&&DataView.prototype.isPrototypeOf(Q)}(Q)?(this._bodyArrayBuffer=C(Q.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(Q)||c(Q))?this._bodyArrayBuffer=C(Q):this._bodyText=Q=Object.prototype.toString.call(Q):this._bodyText="",this.headers.get("content-type")||("string"==typeof Q?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(Q)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n_blob&&(this.blob=function(){var Q=y(this);if(Q)return Q;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?y(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var Q=y(this);if(Q)return Q;if(this._bodyBlob)return function(Q){var q=new FileReader,ue=b(q);return q.readAsText(Q),ue}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(Q){for(var q=new Uint8Array(Q),ue=new Array(q.length),me=0;me-1?q:Q}(q.method||this.method||"GET"),this.mode=q.mode||this.mode||null,this.signal=q.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&ue)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(ue)}function Y(Q){var q=new FormData;return Q.trim().split("&").forEach(function(ue){if(ue){var me=ue.split("="),xe=me.shift().replace(/\+/g," "),pe=me.join("=").replace(/\+/g," ");q.append(decodeURIComponent(xe),decodeURIComponent(pe))}}),q}function $(Q){var q=new p;return Q.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(me){var xe=me.split(":"),pe=xe.shift().trim();if(pe){var oe=xe.join(":").trim();q.append(pe,oe)}}),q}function z(Q,q){q||(q={}),this.type="default",this.status=void 0===q.status?200:q.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in q?q.statusText:"OK",this.headers=new p(q.headers),this.url=q.url||"",this._initBody(Q)}T.prototype.clone=function(){return new T(this,{body:this._bodyInit})},P.call(T.prototype),P.call(z.prototype),z.prototype.clone=function(){return new z(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},z.error=function(){var Q=new z(null,{status:0,statusText:""});return Q.type="error",Q};var G=[301,302,303,307,308];z.redirect=function(Q,q){if(-1===G.indexOf(q))throw new RangeError("Invalid status code");return new z(null,{status:q,headers:{location:Q}})},o.DOMException=he.DOMException;try{new o.DOMException}catch(Q){o.DOMException=function(q,ue){this.message=q,this.name=ue;var me=Error(q);this.stack=me.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function X(Q,q){return new Promise(function(ue,me){var xe=new T(Q,q);if(xe.signal&&xe.signal.aborted)return me(new o.DOMException("Aborted","AbortError"));var pe=new XMLHttpRequest;function oe(){pe.abort()}pe.onload=function(){var ae={status:pe.status,statusText:pe.statusText,headers:$(pe.getAllResponseHeaders()||"")};ae.url="responseURL"in pe?pe.responseURL:ae.headers.get("X-Request-URL"),ue(new z("response"in pe?pe.response:pe.responseText,ae))},pe.onerror=function(){me(new TypeError("Network request failed"))},pe.ontimeout=function(){me(new TypeError("Network request failed"))},pe.onabort=function(){me(new o.DOMException("Aborted","AbortError"))},pe.open(xe.method,xe.url,!0),"include"===xe.credentials?pe.withCredentials=!0:"omit"===xe.credentials&&(pe.withCredentials=!1),"responseType"in pe&&n_blob&&(pe.responseType="blob"),xe.headers.forEach(function(ae,U){pe.setRequestHeader(U,ae)}),xe.signal&&(xe.signal.addEventListener("abort",oe),pe.onreadystatechange=function(){4===pe.readyState&&xe.signal.removeEventListener("abort",oe)}),pe.send(void 0===xe._bodyInit?null:xe._bodyInit)})}X.polyfill=!0,he.fetch||(he.fetch=X,he.Headers=p,he.Request=T,he.Response=z),o.Headers=p,o.Request=T,o.Response=z,o.fetch=X,Object.defineProperty(o,"__esModule",{value:!0})}({})},7664:he=>{he.exports=function(n){var l=new Date(n.getTime()),u=l.getTimezoneOffset();return l.setSeconds(0,0),6e4*u+l.getTime()%6e4}},6937:(he,A,o)=>{var n=o(6910);he.exports=function(u,c){var r=n(u),d=Number(c);return r.setDate(r.getDate()+d),r}},2500:(he,A,o)=>{var n=o(7862);he.exports=function(c,r){var d=Number(r);return n(c,36e5*d)}},7862:(he,A,o)=>{var n=o(6910);he.exports=function(u,c){var r=n(u).getTime(),d=Number(c);return new Date(r+d)}},8091:(he,A,o)=>{var n=o(7862);he.exports=function(c,r){var d=Number(r);return n(c,6e4*d)}},4992:(he,A,o)=>{var n=o(6910),l=o(5490);he.exports=function(c,r){var d=n(c),m=Number(r),p=d.getMonth()+m,y=new Date(0);y.setFullYear(d.getFullYear(),p,1),y.setHours(0,0,0,0);var b=l(y);return d.setMonth(p,Math.min(b,d.getDate())),d}},734:(he,A,o)=>{var n=o(7862);he.exports=function(u,c){var r=Number(c);return n(u,1e3*r)}},5213:(he,A,o)=>{var n=o(6937);he.exports=function(u,c){var r=Number(c);return n(u,7*r)}},2486:(he,A,o)=>{var n=o(4992);he.exports=function(u,c){var r=Number(c);return n(u,12*r)}},5490:(he,A,o)=>{var n=o(6910);he.exports=function(u){var c=n(u),r=c.getFullYear(),d=c.getMonth(),m=new Date(0);return m.setFullYear(r,d+1,0),m.setHours(0,0,0,0),m.getDate()}},9882:he=>{he.exports=function(o){return o instanceof Date}},6910:(he,A,o)=>{var n=o(7664),l=o(9882),u=36e5,c=6e4,d=/[T ]/,m=/:/,p=/^(\d{2})$/,y=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],b=/^(\d{4})/,h=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],g=/^-(\d{2})$/,s=/^-?(\d{3})$/,C=/^-?(\d{2})-?(\d{2})$/,P=/^-?W(\d{2})$/,w=/^-?W(\d{2})-?(\d{1})$/,D=/^(\d{2}([.,]\d*)?)$/,T=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,Y=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,$=/([Z+-].*)$/,z=/^(Z)$/,G=/^([+-])(\d{2})$/,X=/^([+-])(\d{2}):?(\d{2})$/;function oe(ae,U,ie){U=U||0,ie=ie||0;var le=new Date(0);le.setUTCFullYear(ae,0,4);var Te=7*U+ie+1-(le.getUTCDay()||7);return le.setUTCDate(le.getUTCDate()+Te),le}he.exports=function(ae,U){if(l(ae))return new Date(ae.getTime());if("string"!=typeof ae)return new Date(ae);var le=(U||{}).additionalDigits;le=null==le?2:Number(le);var Ce=function(ae){var le,U={},ie=ae.split(d);if(m.test(ie[0])?(U.date=null,le=ie[0]):(U.date=ie[0],le=ie[1]),le){var Ce=$.exec(le);Ce?(U.time=le.replace(Ce[1],""),U.timezone=Ce[1]):U.time=le}return U}(ae),Te=function(ae,U){var Ce,ie=y[U],le=h[U];if(Ce=b.exec(ae)||le.exec(ae)){var Te=Ce[1];return{year:parseInt(Te,10),restDateString:ae.slice(Te.length)}}if(Ce=p.exec(ae)||ie.exec(ae)){var Ke=Ce[1];return{year:100*parseInt(Ke,10),restDateString:ae.slice(Ke.length)}}return{year:null}}(Ce.date,le),ot=function(ae,U){if(null===U)return null;var ie,le,Ce;if(0===ae.length)return(le=new Date(0)).setUTCFullYear(U),le;if(ie=g.exec(ae))return le=new Date(0),Ce=parseInt(ie[1],10)-1,le.setUTCFullYear(U,Ce),le;if(ie=s.exec(ae)){le=new Date(0);var Ke=parseInt(ie[1],10);return le.setUTCFullYear(U,0,Ke),le}if(ie=C.exec(ae)){le=new Date(0),Ce=parseInt(ie[1],10)-1;var tt=parseInt(ie[2],10);return le.setUTCFullYear(U,Ce,tt),le}return(ie=P.exec(ae))?oe(U,parseInt(ie[1],10)-1):(ie=w.exec(ae))?oe(U,parseInt(ie[1],10)-1,parseInt(ie[2],10)-1):null}(Te.restDateString,Te.year);if(ot){var Ie,pt=ot.getTime(),Dt=0;if(Ce.time&&(Dt=function(ae){var U,ie,le;if(U=D.exec(ae))return(ie=parseFloat(U[1].replace(",",".")))%24*u;if(U=T.exec(ae))return ie=parseInt(U[1],10),le=parseFloat(U[2].replace(",",".")),ie%24*u+le*c;if(U=Y.exec(ae)){ie=parseInt(U[1],10),le=parseInt(U[2],10);var Ce=parseFloat(U[3].replace(",","."));return ie%24*u+le*c+1e3*Ce}return null}(Ce.time)),Ce.timezone)Ie=function(ae){var U,ie;return(U=z.exec(ae))?0:(U=G.exec(ae))?(ie=60*parseInt(U[2],10),"+"===U[1]?-ie:ie):(U=X.exec(ae))?(ie=60*parseInt(U[2],10)+parseInt(U[3],10),"+"===U[1]?-ie:ie):0}(Ce.timezone)*c;else{var Qe=pt+Dt,ct=new Date(Qe);Ie=n(ct);var bt=new Date(Qe);bt.setDate(ct.getDate()+1);var Et=n(bt)-n(ct);Et>0&&(Ie+=Et)}return new Date(pt+Dt+Ie)}return new Date(ae)}},1455:(he,A,o)=>{A.formatArgs=function(m){if(m[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+m[0]+(this.useColors?"%c ":" ")+"+"+he.exports.humanize(this.diff),!this.useColors)return;const p="color: "+this.color;m.splice(1,0,p,"color: inherit");let y=0,b=0;m[0].replace(/%[a-zA-Z%]/g,h=>{"%%"!==h&&(y++,"%c"===h&&(b=y))}),m.splice(b,0,p)},A.save=function(m){try{m?A.storage.setItem("debug",m):A.storage.removeItem("debug")}catch(p){}},A.load=function(){let m;try{m=A.storage.getItem("debug")}catch(p){}return!m&&"undefined"!=typeof process&&"env"in process&&(m=process.env.DEBUG),m},A.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},A.storage=function(){try{return localStorage}catch(m){}}(),A.destroy=(()=>{let m=!1;return()=>{m||(m=!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`."))}})(),A.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"],A.log=console.debug||console.log||(()=>{}),he.exports=o(3283)(A);const{formatters:d}=he.exports;d.j=function(m){try{return JSON.stringify(m)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}},3283:(he,A,o)=>{he.exports=function(l){function c(g){let s,P,w,C=null;function D(...T){if(!D.enabled)return;const Y=D,$=Number(new Date);Y.diff=$-(s||$),Y.prev=s,Y.curr=$,s=$,T[0]=c.coerce(T[0]),"string"!=typeof T[0]&&T.unshift("%O");let G=0;T[0]=T[0].replace(/%([a-zA-Z%])/g,(Q,q)=>{if("%%"===Q)return"%";G++;const ue=c.formatters[q];return"function"==typeof ue&&(Q=ue.call(Y,T[G]),T.splice(G,1),G--),Q}),c.formatArgs.call(Y,T),(Y.log||c.log).apply(Y,T)}return D.namespace=g,D.useColors=c.useColors(),D.color=c.selectColor(g),D.extend=r,D.destroy=c.destroy,Object.defineProperty(D,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==C?C:(P!==c.namespaces&&(P=c.namespaces,w=c.enabled(g)),w),set:T=>{C=T}}),"function"==typeof c.init&&c.init(D),D}function r(g,s){const C=c(this.namespace+(void 0===s?":":s)+g);return C.log=this.log,C}function y(g){return g.toString().substring(2,g.toString().length-2).replace(/\.\*\?$/,"*")}return c.debug=c,c.default=c,c.coerce=function(g){return g instanceof Error?g.stack||g.message:g},c.disable=function(){const g=[...c.names.map(y),...c.skips.map(y).map(s=>"-"+s)].join(",");return c.enable(""),g},c.enable=function(g){let s;c.save(g),c.namespaces=g,c.names=[],c.skips=[];const C=("string"==typeof g?g:"").split(/[\s,]+/),P=C.length;for(s=0;s{c[g]=l[g]}),c.names=[],c.skips=[],c.formatters={},c.selectColor=function(g){let s=0;for(let C=0;C{"use strict";var A="%[a-f0-9]{2}",o=new RegExp("("+A+")|([^%]+?)","gi"),n=new RegExp("("+A+")+","gi");function l(r,d){try{return[decodeURIComponent(r.join(""))]}catch(y){}if(1===r.length)return r;var m=r.slice(0,d=d||1),p=r.slice(d);return Array.prototype.concat.call([],l(m),l(p))}function u(r){try{return decodeURIComponent(r)}catch(p){for(var d=r.match(o)||[],m=1;m=64;){for(T=C[0],Y=C[1],$=C[2],z=C[3],G=C[4],X=C[5],Q=C[6],q=C[7],me=0;me<16;me++)s[me]=(255&P[xe=w+4*me])<<24|(255&P[xe+1])<<16|(255&P[xe+2])<<8|255&P[xe+3];for(me=16;me<64;me++)s[me]=((pe=((ue=s[me-2])>>>17|ue<<15)^(ue>>>19|ue<<13)^ue>>>10)+s[me-7]|0)+((oe=((ue=s[me-15])>>>7|ue<<25)^(ue>>>18|ue<<14)^ue>>>3)+s[me-16]|0);for(me=0;me<64;me++)pe=(((G>>>6|G<<26)^(G>>>11|G<<21)^(G>>>25|G<<7))+(G&X^~G&Q)|0)+(q+(u[me]+s[me]|0)|0)|0,oe=((T>>>2|T<<30)^(T>>>13|T<<19)^(T>>>22|T<<10))+(T&Y^T&$^Y&$)|0,q=Q,Q=X,X=G,G=z+pe|0,z=$,$=Y,Y=T,T=pe+oe|0;C[0]+=T,C[1]+=Y,C[2]+=$,C[3]+=z,C[4]+=G,C[5]+=X,C[6]+=Q,C[7]+=q,w+=64,D-=64}return w}var r=function(){function s(){this.digestLength=l.digestLength,this.blockSize=l.blockSize,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()}return s.prototype.reset=function(){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},s.prototype.clean=function(){for(var C=0;C0){for(;this.bufferLength<64&&P>0;)this.buffer[this.bufferLength++]=C[w++],P--;64===this.bufferLength&&(c(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(P>=64&&(w=c(this.temp,this.state,C,w,P),P%=64);P>0;)this.buffer[this.bufferLength++]=C[w++],P--;return this},s.prototype.finish=function(C){if(!this.finished){var P=this.bytesHashed,w=this.bufferLength,D=P/536870912|0,T=P<<3,Y=P%64<56?64:128;this.buffer[w]=128;for(var $=w+1;$>>24&255,this.buffer[Y-7]=D>>>16&255,this.buffer[Y-6]=D>>>8&255,this.buffer[Y-5]=D>>>0&255,this.buffer[Y-4]=T>>>24&255,this.buffer[Y-3]=T>>>16&255,this.buffer[Y-2]=T>>>8&255,this.buffer[Y-1]=T>>>0&255,c(this.temp,this.state,this.buffer,0,Y),this.finished=!0}for($=0;$<8;$++)C[4*$+0]=this.state[$]>>>24&255,C[4*$+1]=this.state[$]>>>16&255,C[4*$+2]=this.state[$]>>>8&255,C[4*$+3]=this.state[$]>>>0&255;return this},s.prototype.digest=function(){var C=new Uint8Array(this.digestLength);return this.finish(C),C},s.prototype._saveState=function(C){for(var P=0;Pthis.blockSize)(new r).update(C).finish(P).clean();else for(var w=0;w1&&C.update(s),P&&C.update(P),C.update(w),C.finish(s),w[0]++}l.HMAC=d,l.hash=m,l.default=m,l.hmac=p;var b=new Uint8Array(l.digestLength);l.hkdf=function(s,C,P,w){void 0===C&&(C=b),void 0===w&&(w=32);for(var D=new Uint8Array([1]),T=p(C,s),Y=new d(T),$=new Uint8Array(Y.digestLength),z=$.length,G=new Uint8Array(w),X=0;X>>24&255,Y[1]=Q>>>16&255,Y[2]=Q>>>8&255,Y[3]=Q>>>0&255,D.reset(),D.update(C),D.update(Y),D.finish(z);for(var q=0;q{he.exports=class{constructor(n){this.capabilityStatement=n}serverCan(n){return this.supportFor({capabilityType:"interaction",where:{code:n}})}resourceCan(n,l){return this.supportFor({resourceType:n,capabilityType:"interaction",where:{code:l}})}serverSearch(n){return this.supportFor({capabilityType:"searchParam",where:{name:n}})}resourceSearch(n,l){return this.supportFor({resourceType:n,capabilityType:"searchParam",where:{name:l}})}supportFor({resourceType:n,capabilityType:l,where:u}={}){let c;if(c=n?this.resourceCapabilities({resourceType:n}):this.serverCapabilities(),!c)return!1;const r=c[l];if(u&&r){const d=Object.keys(u)[0];return void 0!==r.find(p=>p[d]===u[d])}return void 0!==r}interactionsFor({resourceType:n}={}){const l=this.resourceCapabilities({resourceType:n});return void 0===l?[]:l.interaction.map(u=>u.code)}searchParamsFor({resourceType:n}={}){const l=this.resourceCapabilities({resourceType:n});return void 0===l||void 0===l.searchParam?[]:l.searchParam.map(u=>u.name)}resourceCapabilities({resourceType:n}={}){return this.serverCapabilities().resource.find(c=>c.type===n)}capabilityContents({resourceType:n,capabilityType:l}={}){const u=this.resourceCapabilities({resourceType:n});if(void 0!==u)return u[l]}serverCapabilities(){return this.capabilityStatement.rest.find(n=>"server"===n.mode)}}},6336:(he,A,o)=>{var n=o(8926).default;const l=o(3230),{authFromCapability:u,authFromWellKnown:c}=o(231),r=o(3302),d=o(6357),m=o(8279),{createQueryString:p,validResourceType:y}=o(7800),{FetchQueue:b}=o(7011),{deprecatePaginationArgs:h,deprecateHeaders:g}=o(4712),s=o(5457);he.exports=class{constructor({baseUrl:w,customHeaders:D,requestOptions:T,requestSigner:Y,bearerToken:$}={}){this.httpClient=new r({baseUrl:w,customHeaders:D,requestOptions:T,requestSigner:Y}),$&&(this.httpClient.bearerToken=$),this.resolver=new d(this),this.pagination=new m(this.httpClient)}static httpFor(w){return{request:r.requestFor(w),response:r.responseFor(w)}}get baseUrl(){return this.httpClient&&this.httpClient.baseUrl}set baseUrl(w){this.httpClient&&(this.httpClient.baseUrl=w)}get customHeaders(){return this.httpClient.customHeaders}set customHeaders(w){this.httpClient.customHeaders=w}set bearerToken(w){this.httpClient.bearerToken=w}resolve({reference:w,context:D,headers:T,options:Y={}}={}){return this.resolver.resolve({reference:w,context:D,options:g(Y,T)})}smartAuthMetadata({headers:w,options:D={}}={}){var T=this;return n(function*(){const Y={options:g(D,w)};Y.options.headers||(Y.options.headers={}),Y.options.headers.accept="application/fhir+json,application/json";const $=T.baseUrl.replace(/\/*$/,"/"),z=new b,G=z.buildJob(),X=z.buildJob(),Q=z.buildJob(),q=[];return new Promise((ue,me)=>{function xe(pe){q.push(pe)===z.numJobs&&me(new Error(q.map(oe=>oe.message).join("; ")))}T.httpClient.request("GET",`${$}.well-known/smart-configuration`,X.addSignalOption(Y)).then(pe=>(z.safeAbortOthers(X),ue(c(pe)))).catch(pe=>xe(pe)),T.capabilityStatement(G.addSignalOption(Y)).then(pe=>(z.safeAbortOthers(G),ue(u(pe)))).catch(pe=>xe(pe)),T.httpClient.request("GET",`${$}.well-known/openid-configuration`,Q.addSignalOption(Y)).then(pe=>(z.safeAbortOthers(Q),ue(c(pe)))).catch(pe=>xe(pe))})})()}capabilityStatement({headers:w,options:D={}}={}){return this.metadata||(this.metadata=this.httpClient.get("metadata",g(D,w))),this.metadata}request(w,{method:D="GET",options:T={},body:Y}={}){return T.method&&T.method!==D&&console.warn(`WARNING: 'options.method' has been specified: ${T.method} but will be ignored. Use 'method' instead.`),this.httpClient.request(D,w,T,Y)}read({resourceType:w,id:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.get(`${w}/${D}`,g(Y,T))}vread({resourceType:w,id:D,version:T,headers:Y,options:$={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.get(`${w}/${D}/_history/${T}`,g($,Y))}create({resourceType:w,body:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.post(w,D,g(Y,T))}delete({resourceType:w,id:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.delete(`${w}/${D}`,g(Y,T))}update({resourceType:w,id:D,searchParams:T,body:Y,headers:$,options:z={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);if(D&&T)throw new Error("Conditional update with search params cannot be with id",w);if(T){const G=p(T);return this.httpClient.put(`${w}?${G}`,Y,g(z,$))}return this.httpClient.put(`${w}/${D}`,Y,g(z,$))}patch({resourceType:w,id:D,JSONPatch:T,headers:Y,options:$={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);const G={...g($,Y).headers||{},"Content-Type":"application/json-patch+json"};return this.httpClient.patch(`${w}/${D}`,T,{...$,headers:G})}batch({body:w,headers:D,options:T={}}={}){return this.httpClient.post("/",w,g(T,D))}transaction({body:w,headers:D,options:T={}}={}){return this.httpClient.post("/",w,g(T,D))}operation({name:w,resourceType:D,id:T,method:Y="POST",input:$,options:z={}}={}){const G=["/"];if(D){if(!y(D))throw new Error("Invalid resourceType",D);G.push(`${D}/`)}return T&&G.push(`${T}/`),G.push(`${w.startsWith("$")?w:`$${w}`}`),"POST"===Y.toUpperCase()?this.httpClient.post(G.join(""),$,z):"GET"===Y.toUpperCase()?($&&G.push(`?${l.stringify($)}`),this.httpClient.get(G.join(""),z)):void 0}nextPage(w,D){const{bundle:T,options:Y={}}=h(w,D);return this.pagination.nextPage(T,Y)}prevPage(w,D){const{bundle:T,options:Y={}}=h(w,D);return this.pagination.prevPage(T,Y)}search({resourceType:w,compartment:D,searchParams:T,headers:Y,options:$={}}={}){if(w&&!y(w))throw new Error("Invalid resourceType",w);if(D&&w)return this.compartmentSearch({resourceType:w,compartment:D,searchParams:T,options:g($,Y)});if(w)return this.resourceSearch({resourceType:w,searchParams:T,options:g($,Y)});if(T instanceof Object&&Object.keys(T).length>0)return this.systemSearch({searchParams:T,options:g($,Y)});throw new Error("search requires either searchParams or a resourceType")}resourceSearch({resourceType:w,searchParams:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);let $=w;return Y.postSearch&&($+="/_search"),this.baseSearch({searchPath:$,searchParams:D,headers:T,options:Y})}systemSearch({searchParams:w,headers:D,options:T={}}={}){return this.baseSearch({searchPath:"/_search",searchParams:w,headers:D,options:T})}compartmentSearch({resourceType:w,compartment:D,searchParams:T,headers:Y,options:$={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);const{resourceType:z,id:G}=D;if(!y(z))throw new Error("Invalid compartmentType",z);let X=`/${z}/${G}/${w}`;return $.postSearch&&(X+="/_search"),this.baseSearch({searchPath:X,searchParams:T,headers:Y,options:$})}baseSearch({searchPath:w,searchParams:D,headers:T,options:Y}){const $=p(D),z=g(Y,T);return this[Y.postSearch?"postSearch":"getSearch"](w,$,z)}postSearch(w,D,T){const $={"Content-Type":"application/x-www-form-urlencoded",...T.headers},z={...T,headers:$};return this.httpClient.post(w,D,z)}getSearch(w,D,T){let Y=w;return D&&(Y+=`?${D}`),this.httpClient.get(Y,T)}history({resourceType:w,id:D,headers:T,options:Y={}}={}){if(w&&!y(w))throw new Error("Invalid resourceType",w);return D&&w?this.resourceHistory({resourceType:w,id:D,options:g(Y,T)}):w?this.typeHistory({resourceType:w,options:g(Y,T)}):this.systemHistory({options:g(Y,T)})}resourceHistory({resourceType:w,id:D,headers:T,options:Y={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.get(`${w}/${D}/_history`,g(Y,T))}typeHistory({resourceType:w,headers:D,options:T={}}={}){if(!y(w))throw new Error("Invalid resourceType",w);return this.httpClient.get(`${w}/_history`,g(T,D))}systemHistory({headers:w,options:D={}}={}){return this.httpClient.get("_history",g(D,w))}},he.exports.CapabilityTool=s},4712:he=>{he.exports={deprecateHeaders:(n,l)=>l?(console.warn("WARNING: headers is deprecated and will be removed in the next major version. Use options.headers instead."),console.warn(JSON.stringify(l,null," ")),{headers:l,...n}):n,deprecatePaginationArgs:(n,l)=>{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 u={bundle:n};return l&&(u.options={headers:l}),u}return n}}},7011:(he,A,o)=>{const{AbortController:n}=o(2398);class l{constructor(){this.controller=new n,this.resolving=!1}addSignalOption(r){return{signal:this.controller.signal,...r}}safeAbort(){this.resolving||this.controller.abort()}}he.exports={FetchQueue:class{constructor(){this.jobs=[],this.numJobs=0}buildJob(){const r=new l;return this.numJobs=this.jobs.push(r),r}safeAbortOthers(r){r.resolving=!0;for(let d=0,m=this.numJobs;d{he.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})?$/}},3302:(he,A,o)=>{var n=o(8926).default;o(6604).polyfill(),o(5618);const{logRequestError:l,logRequestInfo:u,logResponseInfo:c}=o(6988),r={accept:"application/fhir+json"},d="__response",m="__request";let y,b,p=!1;try{y=o(9426),b=o(9426).HttpsAgent,p=!0}catch(P){u("HTTP Agent is not available")}const h=new WeakMap;function s({status:P,data:w,method:D,headers:T,url:Y}){const $={response:{status:P,data:w},config:{method:D,url:Y,headers:T}};return l($),$}he.exports=class qa{static lcKeys(w){return w&&Object.keys(w).reduce((D,T)=>(D[T.toLowerCase()]=w[T],D),{})}constructor({baseUrl:w,customHeaders:D={},requestOptions:T={},requestSigner:Y}){this.baseUrl=w,this.customHeaders=D,this.baseRequestOptions=T,this.requestSigner=Y}set baseUrl(w){if(!w)throw new Error("baseUrl cannot be blank");if("string"!=typeof w)throw new Error("baseUrl must be a string");this.baseUrlValue=w}get baseUrl(){return this.baseUrlValue}static responseFor(w){return w[d]}static requestFor(w){return w[m]}set bearerToken(w){this.authHeader={authorization:`Bearer ${w}`}}requestBuilder(w,D,T,Y){const $={...this.baseRequestOptions,...T,method:w,body:(P=Y,"string"==typeof P?P:JSON.stringify(P))};var P;let z={};return p||(z={keepalive:!Object.prototype.hasOwnProperty.call($,"keepalive")||$.keepalive}),Object.assign($,z,{headers:new Headers(this.mergeHeaders(T.headers))},function(P,w={}){const D={baseUrl:P,agentOptions:w};return p?(h.get(D)||(P.startsWith("https")?h.set(D,{agent:new b(w)}):h.set(D,{agent:new y(w)})),h.get(D)):{}}(this.baseUrl,$)),this.requestSigner&&this.requestSigner(D,$),new Request(D,$)}request(w,D,T={},Y){var $=this;return n(function*(){const z=$.expandUrl(D),G=$.requestBuilder(w,z,T,Y);u(w,z,G.headers);const X=yield fetch(G),{status:Q,headers:q}=X;c({status:Q,response:X});const ue=yield X.text();let me={};if(ue)try{me=JSON.parse(ue)}catch(xe){throw me=ue,s({status:Q,data:me,method:w,headers:q,url:z})}if(!X.ok)throw s({status:Q,data:me,method:w,headers:q,url:z});return Object.defineProperty(me,d,{writable:!1,enumerable:!1,value:X}),Object.defineProperty(me,m,{writable:!1,enumerable:!1,value:G}),me})()}get(w,D){var T=this;return n(function*(){return T.request("GET",w,D)})()}delete(w,D){var T=this;return n(function*(){return T.request("DELETE",w,D)})()}put(w,D,T={}){var Y=this;return n(function*(){const $={"content-type":"application/fhir+json",...qa.lcKeys(T.headers)},z={...T,headers:$};return Y.request("PUT",w,z,D)})()}post(w,D,T={}){var Y=this;return n(function*(){const $={"content-type":"application/fhir+json",...qa.lcKeys(T.headers)},z={...T,headers:$};return Y.request("POST",w,z,D)})()}patch(w,D,T){var Y=this;return n(function*(){return Y.request("PATCH",w,T,D)})()}expandUrl(w=""){return w.toLowerCase().startsWith("http")?w:this.baseUrl.endsWith("/")&&w.startsWith("/")?this.baseUrl+w.slice(1):this.baseUrl.endsWith("/")||w.startsWith("/")?this.baseUrl+w:`${this.baseUrl}/${w}`}mergeHeaders(w){const{lcKeys:D}=qa;return{...D(r),...D(this.authHeader),...D(this.customHeaders),...D(w)}}}},6988:(he,A,o)=>{const n=o(642),l=o(1455)("fhir-kit-client:error"),u=o(1455)("fhir-kit-client:info");function c(b){return n(b)}function r(b){return c(b.raw&&"function"==typeof b.raw?b.raw():b)}he.exports={logRequestError:function(b){!l.enabled||(l("!!! Error"),b.response&&l(` Status: ${b.response.status}`),b.config&&(l(` ${b.config.method.toUpperCase()}: ${b.config.url}`),l(` Headers: ${r(b.config.headers)}`)),b.response&&b.response.data&&l(c(b.response.data)),l("!!! Request Error"))},logRequestInfo:function(b,h,g){!u.enabled||(h&&u(`Request: ${b.toUpperCase()} ${h.toString()}`),u(`Request Headers: ${r(g)}`))},logResponseInfo:function(b){!u.enabled||(u(`Response: ${b.status}`),b.data&&u(c(b.data)))},logError:function(b){!l.enabled||l(b)}}},8279:he=>{he.exports=class{constructor(n){this.httpClient=n}nextPage(n,{headers:l}={}){const u=n.link.find(c=>"next"===c.relation);return u?this.httpClient.get(u.url,{headers:l}):void 0}prevPage(n,{headers:l}={}){const u=n.link.find(c=>c.relation.match(/^prev(ious)?$/));return u?this.httpClient.get(u.url,{headers:l}):void 0}}},6357:(he,A,o)=>{var n=o(8926).default;const{splitReference:l}=o(7800),{deprecateHeaders:u}=o(4712);he.exports=class{constructor(c){this.client=c}resolve({reference:c,context:r,headers:d,options:m={}}={}){var p=this;return n(function*(){return void 0===r?c.startsWith("http")?p.resolveAbsoluteReference(c,u(m,d)):p.client.httpClient.get(c,u(m,d)):c.startsWith("#")?p.resolveContainedReference(c,r):p.resolveBundleReference(c,r,u(m,d))})()}resolveAbsoluteReference(c,r){var d=this;return n(function*(){if(c.startsWith(d.client.baseUrl))return d.client.httpClient.get(c,r);const{baseUrl:m,resourceType:p,id:y}=l(c);return new(o(6336))({baseUrl:m}).read({resourceType:p,id:y,options:r})})()}resolveContainedReference(c,r){if(r.contained){const d=c.slice(1),m=r.contained.find(p=>p.id===d);if(m)return m}throw new Error(`Unable to resolve contained reference: ${c}`)}resolveBundleReference(c,r,d){var m=this;return n(function*(){const p=new RegExp(`(^|/)${c}$`),y=r.entry.find(b=>p.test(b.fullUrl));return y?y.resource:m.resolve({reference:c,options:d})})()}}},231:(he,A,o)=>{const{logError:l}=o(6988);he.exports={authFromCapability:function(r){const d={};try{return r.rest.forEach(m=>{m.security.extension.find(y=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===y.url).extension.forEach(y=>{switch(y.url){case"authorize":d.authorizeUrl=new URL(y.valueUri);break;case"token":d.tokenUrl=new URL(y.valueUri);break;case"register":d.registerUrl=new URL(y.valueUri);break;case"manage":d.manageUrl=new URL(y.valueUri)}})}),d}catch(m){return l(m),d}},authFromWellKnown:function(r){const{authorization_endpoint:d,token_endpoint:m,registration_endpoint:p}=r;return{authorizeUrl:d&&new URL(d),tokenUrl:m&&new URL(m),registerUrl:p&&new URL(p)}}}},7800:(he,A,o)=>{const n=o(3230),{fhirReferenceRegEx:l}=o(3113);he.exports={createQueryString:function(d){if(d instanceof Object&&Object.keys(d).length>0)return n.stringify(d)},splitReference:function(d){if(!d.match(l))throw new Error(`${d} is not a recognized FHIR reference`);let m,p=d;d.startsWith("http")&&([,m]=l.exec(d),p=d.slice(m.length),m.endsWith("/")&&(m=m.slice(0,-1)));const[y,b]=p.split("/");return{baseUrl:m,resourceType:y,id:b}},validResourceType:function(d){return!d.startsWith("/")&&!d.includes(":")&&/\S/.test(d)}}},6665:(he,A,o)=>{var n=o(8443).Token,l=o(3805).Lexer,u=o(210).Interval;function c(){return this}function r(d){return c.call(this),this.tokenSource=d,this.tokens=[],this.index=-1,this.fetchedEOF=!1,this}(r.prototype=Object.create(c.prototype)).constructor=r,r.prototype.mark=function(){return 0},r.prototype.release=function(d){},r.prototype.reset=function(){this.seek(0)},r.prototype.seek=function(d){this.lazyInit(),this.index=this.adjustSeekIndex(d)},r.prototype.get=function(d){return this.lazyInit(),this.tokens[d]},r.prototype.consume=function(){if(!(this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(m)>=m},r.prototype.fetch=function(d){if(this.fetchedEOF)return 0;for(var m=0;m=this.tokens.length&&(m=this.tokens.length-1);for(var b=d;b=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[m]},r.prototype.adjustSeekIndex=function(d){return d},r.prototype.lazyInit=function(){-1===this.index&&this.setup()},r.prototype.setup=function(){this.sync(0),this.index=this.adjustSeekIndex(0)},r.prototype.setTokenSource=function(d){this.tokenSource=d,this.tokens=[],this.index=-1,this.fetchedEOF=!1},r.prototype.nextTokenOnChannel=function(d,m){if(this.sync(d),d>=this.tokens.length)return-1;for(var p=this.tokens[d];p.channel!==this.channel;){if(p.type===n.EOF)return-1;this.sync(d+=1),p=this.tokens[d]}return d},r.prototype.previousTokenOnChannel=function(d,m){for(;d>=0&&this.tokens[d].channel!==m;)d-=1;return d},r.prototype.getHiddenTokensToRight=function(d,m){if(void 0===m&&(m=-1),this.lazyInit(),d<0||d>=this.tokens.length)throw d+" not in 0.."+this.tokens.length-1;var p=this.nextTokenOnChannel(d+1,l.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(d+1,-1===p?this.tokens.length-1:p,m)},r.prototype.getHiddenTokensToLeft=function(d,m){if(void 0===m&&(m=-1),this.lazyInit(),d<0||d>=this.tokens.length)throw d+" not in 0.."+this.tokens.length-1;var p=this.previousTokenOnChannel(d-1,l.DEFAULT_TOKEN_CHANNEL);return p===d-1?null:this.filterForChannel(p+1,d-1,m)},r.prototype.filterForChannel=function(d,m,p){for(var y=[],b=d;b=this.tokens.length&&(p=this.tokens.length-1);for(var y="",b=m;b{var n=o(8443).CommonToken;function l(){return this}function u(c){return l.call(this),this.copyText=void 0!==c&&c,this}(u.prototype=Object.create(l.prototype)).constructor=u,u.DEFAULT=new u,u.prototype.create=function(c,r,d,m,p,y,b,h){var g=new n(c,r,m,p,y);return g.line=b,g.column=h,null!==d?g.text=d:this.copyText&&null!==c[1]&&(g.text=c[1].getText(p,y)),g},u.prototype.createThin=function(c,r){var d=new n(null,c);return d.text=r,d},A.$=u},2430:(he,A,o)=>{var n=o(8443).Token,l=o(6665).B;function u(c,r){return l.call(this,c),this.channel=void 0===r?n.DEFAULT_CHANNEL:r,this}(u.prototype=Object.create(l.prototype)).constructor=u,u.prototype.adjustSeekIndex=function(c){return this.nextTokenOnChannel(c,this.channel)},u.prototype.LB=function(c){if(0===c||this.index-c<0)return null;for(var r=this.index,d=1;d<=c;)r=this.previousTokenOnChannel(r-1,this.channel),d+=1;return r<0?null:this.tokens[r]},u.prototype.LT=function(c){if(this.lazyInit(),0===c)return null;if(c<0)return this.LB(-c);for(var r=this.index,d=1;d{var n=o(8443).Token;function u(c,r){return this.name="",this.strdata=c,this.decodeToUnicodeCodePoints=r||!1,function(c){if(c._index=0,c.data=[],c.decodeToUnicodeCodePoints)for(var r=0;r=this._size)throw"cannot consume EOF";this._index+=1},u.prototype.LA=function(c){if(0===c)return 0;c<0&&(c+=1);var r=this._index+c-1;return r<0||r>=this._size?n.EOF:this.data[r]},u.prototype.LT=function(c){return this.LA(c)},u.prototype.mark=function(){return-1},u.prototype.release=function(c){},u.prototype.seek=function(c){this._index=c<=this._index?c:Math.min(c,this._size)},u.prototype.getText=function(c,r){if(r>=this._size&&(r=this._size-1),c>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var d="",m=c;m<=r;m++)d+=String.fromCodePoint(this.data[m]);return d}return this.strdata.slice(c,r+1)},u.prototype.toString=function(){return this.strdata},A.InputStream=u},210:(he,A,o)=>{var n=o(8443).Token;function l(c,r){return this.start=c,this.stop=r,this}function u(){this.intervals=null,this.readOnly=!1}l.prototype.contains=function(c){return c>=this.start&&c=d.stop?(this.intervals.pop(c+1),this.reduce(c)):r.stop>=d.start&&(this.intervals[c]=new l(r.start,d.stop),this.intervals.pop(c+1))}},u.prototype.complement=function(c,r){var d=new u;d.addInterval(new l(c,r+1));for(var m=0;mm.start&&c.stop=m.stop?(this.intervals.splice(r,1),r-=1):c.start":"'"+String.fromCharCode(d.start)+"'":"'"+String.fromCharCode(d.start)+"'..'"+String.fromCharCode(d.stop-1)+"'")}return c.length>1?"{"+c.join(", ")+"}":c[0]},u.prototype.toIndexString=function(){for(var c=[],r=0;r":d.start.toString():d.start.toString()+".."+(d.stop-1).toString())}return c.length>1?"{"+c.join(", ")+"}":c[0]},u.prototype.toTokenString=function(c,r){for(var d=[],m=0;m1?"{"+d.join(", ")+"}":d[0]},u.prototype.elementName=function(c,r,d){return d===n.EOF?"":d===n.EPSILON?"":c[d]||r[d]},A.Interval=l,A.V=u},8802:(he,A,o)=>{var n=o(8065).Set,l=o(8065).BitSet,u=o(8443).Token,c=o(2348).m,d=(o(210),o(210).V),m=o(9855).RuleStopState,p=o(7131).RuleTransition,y=o(7131).NotSetTransition,b=o(7131).WildcardTransition,h=o(7131).AbstractPredicateTransition,g=o(4825),s=g.predictionContextFromRuleContext,C=g.PredictionContext,P=g.SingletonPredictionContext;function w(D){this.atn=D}w.HIT_PRED=u.INVALID_TYPE,w.prototype.getDecisionLookahead=function(D){if(null===D)return null;for(var T=D.transitions.length,Y=[],$=0;${var n=o(8443).Token,l=o(3788).c,u=o(5207).$,c=o(6071).RecognitionException,r=o(6071).LexerNoViableAltException;function m(p){return l.call(this),this._input=p,this._factory=u.DEFAULT,this._tokenFactorySourcePair=[this,p],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=m.DEFAULT_MODE,this._text=null,this}(m.prototype=Object.create(l.prototype)).constructor=m,m.DEFAULT_MODE=0,m.MORE=-2,m.SKIP=-3,m.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,m.HIDDEN=n.HIDDEN_CHANNEL,m.MIN_CHAR_VALUE=0,m.MAX_CHAR_VALUE=1114111,m.prototype.reset=function(){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=m.DEFAULT_MODE,this._modeStack=[],this._interp.reset()},m.prototype.nextToken=function(){if(null===this._input)throw"nextToken requires a non-null input stream.";var p=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;for(var y=!1;;){this._type=n.INVALID_TYPE;var b=m.SKIP;try{b=this._interp.match(this._input,this._mode)}catch(h){if(!(h instanceof c))throw console.log(h.stack),h;this.notifyListeners(h),this.recover(h)}if(this._input.LA(1)===n.EOF&&(this._hitEOF=!0),this._type===n.INVALID_TYPE&&(this._type=b),this._type===m.SKIP){y=!0;break}if(this._type!==m.MORE)break}if(!y)return null===this._token&&this.emit(),this._token}}finally{this._input.release(p)}},m.prototype.skip=function(){this._type=m.SKIP},m.prototype.more=function(){this._type=m.MORE},m.prototype.mode=function(p){this._mode=p},m.prototype.pushMode=function(p){this._interp.debug&&console.log("pushMode "+p),this._modeStack.push(this._mode),this.mode(p)},m.prototype.popMode=function(){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},Object.defineProperty(m.prototype,"inputStream",{get:function(){return this._input},set:function(p){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=p,this._tokenFactorySourcePair=[this,this._input]}}),Object.defineProperty(m.prototype,"sourceName",{get:function(){return this._input.sourceName}}),m.prototype.emitToken=function(p){this._token=p},m.prototype.emit=function(){var p=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(p),p},m.prototype.emitEOF=function(){var b=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(b),b},Object.defineProperty(m.prototype,"type",{get:function(){return this.type},set:function(p){this._type=p}}),Object.defineProperty(m.prototype,"line",{get:function(){return this._interp.line},set:function(p){this._interp.line=p}}),Object.defineProperty(m.prototype,"column",{get:function(){return this._interp.column},set:function(p){this._interp.column=p}}),m.prototype.getCharIndex=function(){return this._input.index},Object.defineProperty(m.prototype,"text",{get:function(){return null!==this._text?this._text:this._interp.getText(this._input)},set:function(p){this._text=p}}),m.prototype.getAllTokens=function(){for(var p=[],y=this.nextToken();y.type!==n.EOF;)p.push(y),y=this.nextToken();return p},m.prototype.notifyListeners=function(p){var h=this._input.getText(this._tokenStartCharIndex,this._input.index),g="token recognition error at: '"+this.getErrorDisplay(h)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,g,p)},m.prototype.getErrorDisplay=function(p){for(var y=[],b=0;b":"\n"===p?"\\n":"\t"===p?"\\t":"\r"===p?"\\r":p},m.prototype.getCharErrorDisplay=function(p){return"'"+this.getErrorDisplayForChar(p)+"'"},m.prototype.recover=function(p){this._input.LA(1)!==n.EOF&&(p instanceof r?this._interp.consume(this._input):this._input.consume())},A.Lexer=m},6554:(he,A,o)=>{var n=o(8443).Token,l=o(1029).ParseTreeListener,u=o(3788).c,c=o(7675).t,r=o(3031).ATNDeserializer,d=o(7360).W,m=o(1029).TerminalNode,p=o(1029).ErrorNode;function y(g){return l.call(this),this.parser=g,this}function b(g){return u.call(this),this._input=null,this._errHandler=new c,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(g),this}(y.prototype=Object.create(l.prototype)).constructor=y,y.prototype.enterEveryRule=function(g){console.log("enter "+this.parser.ruleNames[g.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},y.prototype.visitTerminal=function(g){console.log("consume "+g.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])},y.prototype.exitEveryRule=function(g){console.log("exit "+this.parser.ruleNames[g.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},(b.prototype=Object.create(u.prototype)).contructor=b,b.bypassAltsAtnCache={},b.prototype.reset=function(){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()},b.prototype.match=function(g){var s=this.getCurrentToken();return s.type===g?(this._errHandler.reportMatch(this),this.consume()):(s=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===s.tokenIndex&&this._ctx.addErrorNode(s)),s},b.prototype.matchWildcard=function(){var g=this.getCurrentToken();return g.type>0?(this._errHandler.reportMatch(this),this.consume()):(g=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===g.tokenIndex&&this._ctx.addErrorNode(g)),g},b.prototype.getParseListeners=function(){return this._parseListeners||[]},b.prototype.addParseListener=function(g){if(null===g)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(g)},b.prototype.removeParseListener=function(g){if(null!==this._parseListeners){var s=this._parseListeners.indexOf(g);s>=0&&this._parseListeners.splice(s,1),0===this._parseListeners.length&&(this._parseListeners=null)}},b.prototype.removeParseListeners=function(){this._parseListeners=null},b.prototype.triggerEnterRuleEvent=function(){if(null!==this._parseListeners){var g=this._ctx;this._parseListeners.map(function(s){s.enterEveryRule(g),g.enterRule(s)})}},b.prototype.triggerExitRuleEvent=function(){if(null!==this._parseListeners){var g=this._ctx;this._parseListeners.slice(0).reverse().map(function(s){g.exitRule(s),s.exitEveryRule(g)})}},b.prototype.getTokenFactory=function(){return this._input.tokenSource._factory},b.prototype.setTokenFactory=function(g){this._input.tokenSource._factory=g},b.prototype.getATNWithBypassAlts=function(){var g=this.getSerializedATN();if(null===g)throw"The current parser does not support an ATN with bypass alternatives.";var s=this.bypassAltsAtnCache[g];if(null===s){var C=new d;C.generateRuleBypassTransitions=!0,s=new r(C).deserialize(g),this.bypassAltsAtnCache[g]=s}return s};var h=o(3805).Lexer;b.prototype.compileParseTreePattern=function(g,s,C){if(null===(C=C||null)&&null!==this.getTokenStream()){var P=this.getTokenStream().tokenSource;P instanceof h&&(C=P)}if(null===C)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(C,this).compile(g,s)},b.prototype.getInputStream=function(){return this.getTokenStream()},b.prototype.setInputStream=function(g){this.setTokenStream(g)},b.prototype.getTokenStream=function(){return this._input},b.prototype.setTokenStream=function(g){this._input=null,this.reset(),this._input=g},b.prototype.getCurrentToken=function(){return this._input.LT(1)},b.prototype.notifyErrorListeners=function(g,s,C){C=C||null,null===(s=s||null)&&(s=this.getCurrentToken()),this._syntaxErrors+=1;var P=s.line,w=s.column;this.getErrorListenerDispatch().syntaxError(this,s,P,w,g,C)},b.prototype.consume=function(){var g=this.getCurrentToken();g.type!==n.EOF&&this.getInputStream().consume();var C,s=null!==this._parseListeners&&this._parseListeners.length>0;return(this.buildParseTrees||s)&&((C=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(g):this._ctx.addTokenNode(g)).invokingState=this.state,s&&this._parseListeners.map(function(P){C instanceof p||void 0!==C.isErrorNode&&C.isErrorNode()?P.visitErrorNode(C):C instanceof m&&P.visitTerminal(C)})),g},b.prototype.addContextToParseTree=function(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)},b.prototype.enterRule=function(g,s,C){this.state=s,this._ctx=g,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),null!==this._parseListeners&&this.triggerEnterRuleEvent()},b.prototype.exitRule=function(){this._ctx.stop=this._input.LT(-1),null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx},b.prototype.enterOuterAlt=function(g,s){g.setAltNumber(s),this.buildParseTrees&&this._ctx!==g&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(g)),this._ctx=g},b.prototype.getPrecedence=function(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]},b.prototype.enterRecursionRule=function(g,s,C,P){this.state=s,this._precedenceStack.push(P),this._ctx=g,this._ctx.start=this._input.LT(1),null!==this._parseListeners&&this.triggerEnterRuleEvent()},b.prototype.pushNewRecursionContext=function(g,s,C){var P=this._ctx;P.parentCtx=g,P.invokingState=s,P.stop=this._input.LT(-1),this._ctx=g,this._ctx.start=P.start,this.buildParseTrees&&this._ctx.addChild(P),null!==this._parseListeners&&this.triggerEnterRuleEvent()},b.prototype.unrollRecursionContexts=function(g){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var s=this._ctx;if(null!==this._parseListeners)for(;this._ctx!==g;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=g;s.parentCtx=g,this.buildParseTrees&&null!==g&&g.addChild(s)},b.prototype.getInvokingContext=function(g){for(var s=this._ctx;null!==s;){if(s.ruleIndex===g)return s;s=s.parentCtx}return null},b.prototype.precpred=function(g,s){return s>=this._precedenceStack[this._precedenceStack.length-1]},b.prototype.inContext=function(g){return!1},b.prototype.isExpectedToken=function(g){var s=this._interp.atn,C=this._ctx,w=s.nextTokens(s.states[this.state]);if(w.contains(g))return!0;if(!w.contains(n.EPSILON))return!1;for(;null!==C&&C.invokingState>=0&&w.contains(n.EPSILON);){if((w=s.nextTokens(s.states[C.invokingState].transitions[0].followState)).contains(g))return!0;C=C.parentCtx}return!(!w.contains(n.EPSILON)||g!==n.EOF)},b.prototype.getExpectedTokens=function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)},b.prototype.getExpectedTokensWithinCurrentRule=function(){var g=this._interp.atn;return g.nextTokens(g.states[this.state])},b.prototype.getRuleIndex=function(g){var s=this.getRuleIndexMap()[g];return null!==s?s:-1},b.prototype.getRuleInvocationStack=function(g){null===(g=g||null)&&(g=this._ctx);for(var s=[];null!==g;){var C=g.ruleIndex;s.push(C<0?"n/a":this.ruleNames[C]),g=g.parentCtx}return s},b.prototype.getDFAStrings=function(){return this._interp.decisionToDFA.toString()},b.prototype.dumpDFA=function(){for(var g=!1,s=0;s0&&(g&&console.log(),this.printer.println("Decision "+C.decision+":"),this.printer.print(C.toString(this.literalNames,this.symbolicNames)),g=!0)}},b.prototype.getSourceName=function(){return this._input.sourceName},b.prototype.setTrace=function(g){g?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new y(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)},A.Parser=b},911:(he,A,o)=>{var n=o(61).r,l=o(1029),u=l.INVALID_INTERVAL,c=l.TerminalNode,r=l.TerminalNodeImpl,d=l.ErrorNodeImpl,m=o(210).Interval;function p(b,h){n.call(this,b=b||null,h=h||null),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}function y(b,h,g){return p.call(b,h),this.ruleIndex=g,this}(p.prototype=Object.create(n.prototype)).constructor=p,p.prototype.copyFrom=function(b){this.parentCtx=b.parentCtx,this.invokingState=b.invokingState,this.children=null,this.start=b.start,this.stop=b.stop,b.children&&(this.children=[],b.children.map(function(h){h instanceof d&&(this.children.push(h),h.parentCtx=this)},this))},p.prototype.enterRule=function(b){},p.prototype.exitRule=function(b){},p.prototype.addChild=function(b){return null===this.children&&(this.children=[]),this.children.push(b),b},p.prototype.removeLastChild=function(){null!==this.children&&this.children.pop()},p.prototype.addTokenNode=function(b){var h=new r(b);return this.addChild(h),h.parentCtx=this,h},p.prototype.addErrorNode=function(b){var h=new d(b);return this.addChild(h),h.parentCtx=this,h},p.prototype.getChild=function(b,h){if(null===this.children||b<0||b>=this.children.length)return null;if(null===(h=h||null))return this.children[b];for(var g=0;g=this.children.length)return null;for(var g=0;g{var n=o(61).r,l=o(8065).Hash,u=o(8065).Map;function c(D){this.cachedHashCode=D}function r(){return this.cache=new u,this}function d(D,T){var Y,$=new l;null!==D?$.update(D,T):$.update(1),Y=$.finish(),c.call(this,Y),this.parentCtx=D,this.returnState=T}function m(){return d.call(this,null,c.EMPTY_RETURN_STATE),this}function p(D,T){var Y=new l;Y.update(D,T);var $=Y.finish();return c.call(this,$),this.parents=D,this.returnStates=T,this}c.EMPTY=null,c.EMPTY_RETURN_STATE=2147483647,c.id=c.globalNodeCount=1,c.prototype.isEmpty=function(){return this===c.EMPTY},c.prototype.hasEmptyPath=function(){return this.getReturnState(this.length-1)===c.EMPTY_RETURN_STATE},c.prototype.hashCode=function(){return this.cachedHashCode},c.prototype.updateHashCode=function(D){D.update(this.cachedHashCode)},r.prototype.add=function(D){if(D===c.EMPTY)return c.EMPTY;var T=this.cache.get(D)||null;return null!==T?T:(this.cache.put(D,D),D)},r.prototype.get=function(D){return this.cache.get(D)||null},Object.defineProperty(r.prototype,"length",{get:function(){return this.cache.length}}),(d.prototype=Object.create(c.prototype)).contructor=d,d.create=function(D,T){return T===c.EMPTY_RETURN_STATE&&null===D?c.EMPTY:new d(D,T)},Object.defineProperty(d.prototype,"length",{get:function(){return 1}}),d.prototype.getParent=function(D){return this.parentCtx},d.prototype.getReturnState=function(D){return this.returnState},d.prototype.equals=function(D){return this===D||D instanceof d&&this.hashCode()===D.hashCode()&&this.returnState===D.returnState&&(null==this.parentCtx?null==D.parentCtx:this.parentCtx.equals(D.parentCtx))},d.prototype.toString=function(){var D=null===this.parentCtx?"":this.parentCtx.toString();return 0===D.length?this.returnState===c.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+D},(m.prototype=Object.create(d.prototype)).constructor=m,m.prototype.isEmpty=function(){return!0},m.prototype.getParent=function(D){return null},m.prototype.getReturnState=function(D){return this.returnState},m.prototype.equals=function(D){return this===D},m.prototype.toString=function(){return"$"},c.EMPTY=new m,(p.prototype=Object.create(c.prototype)).constructor=p,p.prototype.isEmpty=function(){return this.returnStates[0]===c.EMPTY_RETURN_STATE},Object.defineProperty(p.prototype,"length",{get:function(){return this.returnStates.length}}),p.prototype.getParent=function(D){return this.parents[D]},p.prototype.getReturnState=function(D){return this.returnStates[D]},p.prototype.equals=function(D){return this===D||D instanceof p&&this.hashCode()===D.hashCode()&&this.returnStates===D.returnStates&&this.parents===D.parents},p.prototype.toString=function(){if(this.isEmpty())return"[]";for(var D="[",T=0;T0&&(D+=", "),this.returnStates[T]!==c.EMPTY_RETURN_STATE?(D+=this.returnStates[T],null!==this.parents[T]?D=D+" "+this.parents[T]:D+="null"):D+="$";return D+"]"},A.merge=function b(D,T,Y,$){if(D===T)return D;if(D instanceof d&&T instanceof d)return function(D,T,Y,$){if(null!==$){var z=$.get(D,T);if(null!==z||null!==(z=$.get(T,D)))return z}var G=function(D,T,Y){if(Y){if(D===c.EMPTY||T===c.EMPTY)return c.EMPTY}else{if(D===c.EMPTY&&T===c.EMPTY)return c.EMPTY;if(D===c.EMPTY)return new p([T.parentCtx,null],[T.returnState,c.EMPTY_RETURN_STATE]);if(T===c.EMPTY)return new p([D.parentCtx,null],[D.returnState,c.EMPTY_RETURN_STATE])}return null}(D,T,Y);if(null!==G)return null!==$&&$.set(D,T,G),G;if(D.returnState===T.returnState){var X=b(D.parentCtx,T.parentCtx,Y,$);if(X===D.parentCtx)return D;if(X===T.parentCtx)return T;var Q=d.create(X,D.returnState);return null!==$&&$.set(D,T,Q),Q}var q=null;if((D===T||null!==D.parentCtx&&D.parentCtx===T.parentCtx)&&(q=D.parentCtx),null!==q){var me=[D.returnState,T.returnState];D.returnState>T.returnState&&(me[0]=T.returnState,me[1]=D.returnState);var ue=new p(xe=[q,q],me);return null!==$&&$.set(D,T,ue),ue}me=[D.returnState,T.returnState];var xe=[D.parentCtx,T.parentCtx];D.returnState>T.returnState&&(me[0]=T.returnState,me[1]=D.returnState,xe=[T.parentCtx,D.parentCtx]);var pe=new p(xe,me);return null!==$&&$.set(D,T,pe),pe}(D,T,Y,$);if(Y){if(D instanceof m)return D;if(T instanceof m)return T}return D instanceof d&&(D=new p([D.getParent()],[D.returnState])),T instanceof d&&(T=new p([T.getParent()],[T.returnState])),function(D,T,Y,$){if(null!==$){var z=$.get(D,T);if(null!==z||null!==(z=$.get(T,D)))return z}for(var G=0,X=0,Q=0,q=[],ue=[];G{var n=o(8443).Token,l=o(1911).s,u=o(1911).N;function c(){return this._listeners=[l.INSTANCE],this._interp=null,this._stateNumber=-1,this}c.tokenTypeMapCache={},c.ruleIndexMapCache={},c.prototype.checkVersion=function(r){"4.8"!==r&&console.log("ANTLR runtime and generated code versions disagree: 4.8!="+r)},c.prototype.addErrorListener=function(r){this._listeners.push(r)},c.prototype.removeErrorListeners=function(){this._listeners=[]},c.prototype.getTokenTypeMap=function(){var r=this.getTokenNames();if(null===r)throw"The current recognizer does not provide a list of token names.";var d=this.tokenTypeMapCache[r];return void 0===d&&((d=r.reduce(function(m,p,y){m[p]=y})).EOF=n.EOF,this.tokenTypeMapCache[r]=d),d},c.prototype.getRuleIndexMap=function(){var r=this.ruleNames;if(null===r)throw"The current recognizer does not provide a list of rule names.";var d=this.ruleIndexMapCache[r];return void 0===d&&(d=r.reduce(function(m,p,y){m[p]=y}),this.ruleIndexMapCache[r]=d),d},c.prototype.getTokenType=function(r){var d=this.getTokenTypeMap()[r];return void 0!==d?d:n.INVALID_TYPE},c.prototype.getErrorHeader=function(r){return"line "+r.getOffendingToken().line+":"+r.getOffendingToken().column},c.prototype.getTokenErrorDisplay=function(r){if(null===r)return"";var d=r.text;return null===d&&(d=r.type===n.EOF?"":"<"+r.type+">"),"'"+(d=d.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"))+"'"},c.prototype.getErrorListenerDispatch=function(){return new u(this._listeners)},c.prototype.sempred=function(r,d,m){return!0},c.prototype.precpred=function(r,d){return!0},Object.defineProperty(c.prototype,"state",{get:function(){return this._stateNumber},set:function(r){this._stateNumber=r}}),A.c=c},61:(he,A,o)=>{var n=o(1029).RuleNode,l=o(1029).INVALID_INTERVAL,u=o(1828).INVALID_ALT_NUMBER;function c(d,m){return n.call(this),this.parentCtx=d||null,this.invokingState=m||-1,this}(c.prototype=Object.create(n.prototype)).constructor=c,c.prototype.depth=function(){for(var d=0,m=this;null!==m;)m=m.parentCtx,d+=1;return d},c.prototype.isEmpty=function(){return-1===this.invokingState},c.prototype.getSourceInterval=function(){return l},c.prototype.getRuleContext=function(){return this},c.prototype.getPayload=function(){return this},c.prototype.getText=function(){return 0===this.getChildCount()?"":this.children.map(function(d){return d.getText()}).join("")},c.prototype.getAltNumber=function(){return u},c.prototype.setAltNumber=function(d){},c.prototype.getChild=function(d){return null},c.prototype.getChildCount=function(){return 0},c.prototype.accept=function(d){return d.visitChildren(this)},A.r=c;var r=o(2565).Trees;c.prototype.toStringTree=function(d,m){return r.toStringTree(this,d,m)},c.prototype.toString=function(d,m){d=d||null,m=m||null;for(var p=this,y="[";null!==p&&p!==m;){if(null===d)p.isEmpty()||(y+=p.invokingState);else{var b=p.ruleIndex;y+=b>=0&&b{function o(){return 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,this}function n(l,u,c,r,d){return o.call(this),this.source=void 0!==l?l:n.EMPTY_SOURCE,this.type=void 0!==u?u:null,this.channel=void 0!==c?c:o.DEFAULT_CHANNEL,this.start=void 0!==r?r:-1,this.stop=void 0!==d?d:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=l[0].line,this.column=l[0].column):this.column=-1,this}o.INVALID_TYPE=0,o.EPSILON=-2,o.MIN_USER_TOKEN_TYPE=1,o.EOF=-1,o.DEFAULT_CHANNEL=0,o.HIDDEN_CHANNEL=1,Object.defineProperty(o.prototype,"text",{get:function(){return this._text},set:function(l){this._text=l}}),o.prototype.getTokenSource=function(){return this.source[0]},o.prototype.getInputStream=function(){return this.source[1]},(n.prototype=Object.create(o.prototype)).constructor=n,n.EMPTY_SOURCE=[null,null],n.prototype.clone=function(){var l=new n(this.source,this.type,this.channel,this.start,this.stop);return l.tokenIndex=this.tokenIndex,l.line=this.line,l.column=this.column,l.text=this.text,l},Object.defineProperty(n.prototype,"text",{get:function(){if(null!==this._text)return this._text;var l=this.getInputStream();if(null===l)return null;var u=l.size;return this.start"},set:function(l){this._text=l}}),n.prototype.toString=function(){var l=this.text;return l=null!==l?l.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+l+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"},A.Token=o,A.CommonToken=n},8065:(he,A)=>{function o(s){return"["+s.join(", ")+"]"}function n(s,C){return s.equals(C)}function l(s){return s.hashCode()}function u(s,C){return this.data={},this.hashFunction=s||l,this.equalsFunction=C||n,this}function c(){return this.data=[],this}function r(s,C){return this.data={},this.hashFunction=s||l,this.equalsFunction=C||n,this}function d(){return this.data={},this}function m(s){return this.defaultMapCtor=s||r,this.cacheMap=new this.defaultMapCtor,this}function p(){return this.count=0,this.hash=0,this}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){var s,C,P,w,D,Y,z,G,X=this.toString();for(C=X.length-(s=3&X.length),P=String.prototype.seed,D=3432918353,Y=461845907,G=0;G>>16)*D&65535)<<16)&4294967295)<<15|z>>>17))*Y+(((z>>>16)*Y&65535)<<16)&4294967295)<<13|P>>>19))+((5*(P>>>16)&65535)<<16)&4294967295))+((58964+(w>>>16)&65535)<<16);switch(z=0,s){case 3:z^=(255&X.charCodeAt(G+2))<<16;case 2:z^=(255&X.charCodeAt(G+1))<<8;case 1:P^=z=(65535&(z=(z=(65535&(z^=255&X.charCodeAt(G)))*D+(((z>>>16)*D&65535)<<16)&4294967295)<<15|z>>>17))*Y+(((z>>>16)*Y&65535)<<16)&4294967295}return P^=X.length,P=2246822507*(65535&(P^=P>>>16))+((2246822507*(P>>>16)&65535)<<16)&4294967295,P=3266489909*(65535&(P^=P>>>13))+((3266489909*(P>>>16)&65535)<<16)&4294967295,(P^=P>>>16)>>>0},Object.defineProperty(u.prototype,"length",{get:function(){var s=0;for(var C in this.data)0===C.indexOf("hash_")&&(s+=this.data[C].length);return s}}),u.prototype.add=function(s){var P="hash_"+this.hashFunction(s);if(P in this.data){for(var w=this.data[P],D=0;D>>17,P*=461845907,this.count=this.count+1;var w=this.hash^P;this.hash=w=5*(w=w<<13|w>>>19)+3864292196}}},p.prototype.finish=function(){var s=this.hash^4*this.count;return s^=s>>>16,s*=2246822507,s^=s>>>13,(s*=3266489909)^s>>>16},m.prototype.get=function(s,C){var P=this.cacheMap.get(s)||null;return null===P?null:P.get(C)||null},m.prototype.set=function(s,C,P){var w=this.cacheMap.get(s)||null;null===w&&(w=new this.defaultMapCtor,this.cacheMap.put(s,w)),w.put(C,P)},A.Hash=p,A.Set=u,A.Map=r,A.BitSet=c,A.AltDict=d,A.DoubleDict=m,A.hashStuff=function(){var s=new p;return s.update.apply(s,arguments),s.finish()},A.escapeWhitespace=function(s,C){return s=s.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),C&&(s=s.replace(/ /g,"\xb7")),s},A.arrayToString=o,A.titleCase=function(s){return s.replace(/\w\S*/g,function(C){return C.charAt(0).toUpperCase()+C.substr(1)})},A.equalArrays=function(s,C){if(!Array.isArray(s)||!Array.isArray(C))return!1;if(s==C)return!0;if(s.length!=C.length)return!1;for(var P=0;P{var n=o(8802).u,l=o(210).V;function u(r,d){return this.grammarType=r,this.maxTokenType=d,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[],this}u.prototype.nextTokensInContext=function(r,d){return new n(this).LOOK(r,null,d)},u.prototype.nextTokensNoContext=function(r){return null!==r.nextTokenWithinRule||(r.nextTokenWithinRule=this.nextTokensInContext(r,null),r.nextTokenWithinRule.readOnly=!0),r.nextTokenWithinRule},u.prototype.nextTokens=function(r,d){return void 0===d?this.nextTokensNoContext(r):this.nextTokensInContext(r,d)},u.prototype.addState=function(r){null!==r&&(r.atn=this,r.stateNumber=this.states.length),this.states.push(r)},u.prototype.removeState=function(r){this.states[r.stateNumber]=null},u.prototype.defineDecisionState=function(r){return this.decisionToState.push(r),r.decision=this.decisionToState.length-1,r.decision},u.prototype.getDecisionState=function(r){return 0===this.decisionToState.length?null:this.decisionToState[r]};var c=o(8443).Token;u.prototype.getExpectedTokens=function(r,d){if(r<0||r>=this.states.length)throw"Invalid state number.";var p=this.nextTokens(this.states[r]);if(!p.contains(c.EPSILON))return p;var y=new l;for(y.addSet(p),y.removeOne(c.EPSILON);null!==d&&d.invokingState>=0&&p.contains(c.EPSILON);)p=this.nextTokens(this.states[d.invokingState].transitions[0].followState),y.addSet(p),y.removeOne(c.EPSILON),d=d.parentCtx;return p.contains(c.EPSILON)&&y.addOne(c.EOF),y},u.INVALID_ALT_NUMBER=0,A.ATN=u},2348:(he,A,o)=>{var n=o(9855).DecisionState,l=o(4636).dP,u=o(8065).Hash;function c(m,p){if(null===m){var y={state:null,alt:null,context:null,semanticContext:null};return p&&(y.reachesIntoOuterContext=0),y}var b={};return b.state=m.state||null,b.alt=void 0===m.alt?null:m.alt,b.context=m.context||null,b.semanticContext=m.semanticContext||null,p&&(b.reachesIntoOuterContext=m.reachesIntoOuterContext||0,b.precedenceFilterSuppressed=m.precedenceFilterSuppressed||!1),b}function r(m,p){return this.checkContext(m,p),m=c(m),p=c(p,!0),this.state=null!==m.state?m.state:p.state,this.alt=null!==m.alt?m.alt:p.alt,this.context=null!==m.context?m.context:p.context,this.semanticContext=null!==m.semanticContext?m.semanticContext:null!==p.semanticContext?p.semanticContext:l.NONE,this.reachesIntoOuterContext=p.reachesIntoOuterContext,this.precedenceFilterSuppressed=p.precedenceFilterSuppressed,this}function d(m,p){return r.call(this,m,p),this.lexerActionExecutor=m.lexerActionExecutor||(null!==p?p.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==p&&this.checkNonGreedyDecision(p,this.state),this}r.prototype.checkContext=function(m,p){null==m.context&&(null===p||null==p.context)&&(this.context=null)},r.prototype.hashCode=function(){var m=new u;return this.updateHashCode(m),m.finish()},r.prototype.updateHashCode=function(m){m.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)},r.prototype.equals=function(m){return this===m||m instanceof r&&this.state.stateNumber===m.state.stateNumber&&this.alt===m.alt&&(null===this.context?null===m.context:this.context.equals(m.context))&&this.semanticContext.equals(m.semanticContext)&&this.precedenceFilterSuppressed===m.precedenceFilterSuppressed},r.prototype.hashCodeForConfigSet=function(){var m=new u;return m.update(this.state.stateNumber,this.alt,this.semanticContext),m.finish()},r.prototype.equalsForConfigSet=function(m){return this===m||m instanceof r&&this.state.stateNumber===m.state.stateNumber&&this.alt===m.alt&&this.semanticContext.equals(m.semanticContext)},r.prototype.toString=function(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==l.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"},(d.prototype=Object.create(r.prototype)).constructor=d,d.prototype.updateHashCode=function(m){m.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)},d.prototype.equals=function(m){return this===m||m instanceof d&&this.passedThroughNonGreedyDecision==m.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(m.lexerActionExecutor):!m.lexerActionExecutor)&&r.prototype.equals.call(this,m)},d.prototype.hashCodeForConfigSet=d.prototype.hashCode,d.prototype.equalsForConfigSet=d.prototype.equals,d.prototype.checkNonGreedyDecision=function(m,p){return m.passedThroughNonGreedyDecision||p instanceof n&&p.nonGreedy},A.m=r,A.P=d},9186:(he,A,o)=>{var n=o(1828).ATN,l=o(8065),u=l.Hash,c=l.Set,r=o(4636).dP,d=o(4825).merge;function m(h){return h.hashCodeForConfigSet()}function p(h,g){return h===g||null!==h&&null!==g&&h.equalsForConfigSet(g)}function y(h){return this.configLookup=new c(m,p),this.fullCtx=void 0===h||h,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1,this}function b(){return y.call(this),this.configLookup=new c,this}y.prototype.add=function(h,g){if(void 0===g&&(g=null),this.readOnly)throw"This set is readonly";h.semanticContext!==r.NONE&&(this.hasSemanticContext=!0),h.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var s=this.configLookup.add(h);if(s===h)return this.cachedHashCode=-1,this.configs.push(h),!0;var P=d(s.context,h.context,!this.fullCtx,g);return s.reachesIntoOuterContext=Math.max(s.reachesIntoOuterContext,h.reachesIntoOuterContext),h.precedenceFilterSuppressed&&(s.precedenceFilterSuppressed=!0),s.context=P,!0},y.prototype.getStates=function(){for(var h=new c,g=0;g{function o(n){return void 0===n&&(n=null),this.readOnly=!1,this.verifyATN=null===n||n.verifyATN,this.generateRuleBypassTransitions=null!==n&&n.generateRuleBypassTransitions,this}(o.defaultOptions=new o).readOnly=!0,A.W=o},3031:(he,A,o)=>{var n=o(8443).Token,l=o(1828).ATN,u=o(6796).n,c=o(9855),r=c.ATNState,d=c.BasicState,m=c.DecisionState,p=c.BlockStartState,y=c.BlockEndState,b=c.LoopEndState,h=c.RuleStartState,g=c.RuleStopState,s=c.TokensStartState,C=c.PlusLoopbackState,P=c.StarLoopbackState,w=c.StarLoopEntryState,D=c.PlusBlockStartState,T=c.StarBlockStartState,Y=c.BasicBlockStartState,$=o(7131),z=$.Transition,G=$.AtomTransition,X=$.SetTransition,Q=$.NotSetTransition,q=$.RuleTransition,ue=$.RangeTransition,me=$.ActionTransition,xe=$.EpsilonTransition,pe=$.WildcardTransition,oe=$.PredicateTransition,ae=$.PrecedencePredicateTransition,U=o(210).V,le=(o(210),o(7360).W),Ce=o(3822),Te=Ce.LexerActionType,Ke=Ce.LexerSkipAction,tt=Ce.LexerChannelAction,ot=Ce.LexerCustomAction,pt=Ce.LexerMoreAction,Dt=Ce.LexerTypeAction,Ie=Ce.LexerPushModeAction,Qe=Ce.LexerPopModeAction,ct=Ce.LexerModeAction,Et="59627784-3BE5-417A-B9EB-8131A7286089",xt=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Et];function rt(_e,Z){var j=[];return j[_e-1]=Z,j.map(function(_){return Z})}function ze(_e){return null==_e&&(_e=le.defaultOptions),this.deserializationOptions=_e,this.stateFactories=null,this.actionFactories=null,this}ze.prototype.isFeatureSupported=function(_e,Z){var j=xt.indexOf(_e);return!(j<0)&&xt.indexOf(Z)>=j},ze.prototype.deserialize=function(_e){this.reset(_e),this.checkVersion(),this.checkUUID();var Z=this.readATN();this.readStates(Z),this.readRules(Z),this.readModes(Z);var j=[];return this.readSets(Z,j,this.readInt.bind(this)),this.isFeatureSupported(Et,this.uuid)&&this.readSets(Z,j,this.readInt32.bind(this)),this.readEdges(Z,j),this.readDecisions(Z),this.readLexerActions(Z),this.markPrecedenceDecisions(Z),this.verifyATN(Z),this.deserializationOptions.generateRuleBypassTransitions&&Z.grammarType===u.PARSER&&(this.generateRuleBypassTransitions(Z),this.verifyATN(Z)),Z},ze.prototype.reset=function(_e){var j=_e.split("").map(function(_){var x=_.charCodeAt(0);return x>1?x-2:x+65534});j[0]=_e.charCodeAt(0),this.data=j,this.pos=0},ze.prototype.checkVersion=function(){var _e=this.readInt();if(3!==_e)throw"Could not deserialize ATN with version "+_e+" (expected 3)."},ze.prototype.checkUUID=function(){var _e=this.readUUID();if(xt.indexOf(_e)<0)throw"59627784-3BE5-417A-B9EB-8131A7286089";this.uuid=_e},ze.prototype.readATN=function(){var _e=this.readInt(),Z=this.readInt();return new l(_e,Z)},ze.prototype.readStates=function(_e){for(var Z,j,_,x=[],N=[],ce=this.readInt(),Ue=0;Ue0;)x.addTransition(Ae.transitions[nt-1]),Ae.transitions=Ae.transitions.slice(-1);_e.ruleToStartState[Z].addTransition(new xe(x)),N.addTransition(new xe(Ue));var Pt=new d;_e.addState(Pt),Pt.addTransition(new G(N,_e.ruleToTokenType[Z])),x.addTransition(new xe(Pt))},ze.prototype.stateIsEndStateFor=function(_e,Z){if(_e.ruleIndex!==Z||!(_e instanceof w))return null;var j=_e.transitions[_e.transitions.length-1].target;return j instanceof b&&j.epsilonOnlyTransitions&&j.transitions[0].target instanceof g?_e:null},ze.prototype.markPrecedenceDecisions=function(_e){for(var Z=0;Z<_e.states.length;Z++){var j=_e.states[Z];if(j instanceof w&&_e.ruleToStartState[j.ruleIndex].isPrecedenceRule){var _=j.transitions[j.transitions.length-1].target;_ instanceof b&&_.epsilonOnlyTransitions&&_.transitions[0].target instanceof g&&(j.isPrecedenceDecision=!0)}}},ze.prototype.verifyATN=function(_e){if(this.deserializationOptions.verifyATN)for(var Z=0;Z<_e.states.length;Z++){var j=_e.states[Z];if(null!==j)if(this.checkCondition(j.epsilonOnlyTransitions||j.transitions.length<=1),j instanceof D)this.checkCondition(null!==j.loopBackState);else if(j instanceof w)if(this.checkCondition(null!==j.loopBackState),this.checkCondition(2===j.transitions.length),j.transitions[0].target instanceof T)this.checkCondition(j.transitions[1].target instanceof b),this.checkCondition(!j.nonGreedy);else{if(!(j.transitions[0].target instanceof b))throw"IllegalState";this.checkCondition(j.transitions[1].target instanceof T),this.checkCondition(j.nonGreedy)}else j instanceof P?(this.checkCondition(1===j.transitions.length),this.checkCondition(j.transitions[0].target instanceof w)):this.checkCondition(j instanceof b?null!==j.loopBackState:j instanceof h?null!==j.stopState:j instanceof p?null!==j.endState:j instanceof y?null!==j.startState:j instanceof m?j.transitions.length<=1||j.decision>=0:j.transitions.length<=1||j instanceof g)}},ze.prototype.checkCondition=function(_e,Z){if(!_e)throw null==Z&&(Z="IllegalState"),Z},ze.prototype.readInt=function(){return this.data[this.pos++]},ze.prototype.readInt32=function(){return this.readInt()|this.readInt()<<16},ze.prototype.readLong=function(){return 4294967295&this.readInt32()|this.readInt32()<<32};var mt=function(){for(var _e=[],Z=0;Z<256;Z++)_e[Z]=(Z+256).toString(16).substr(1).toUpperCase();return _e}();ze.prototype.readUUID=function(){for(var _e=[],Z=7;Z>=0;Z--){var j=this.readInt();_e[2*Z+1]=255&j,_e[2*Z]=j>>8&255}return mt[_e[0]]+mt[_e[1]]+mt[_e[2]]+mt[_e[3]]+"-"+mt[_e[4]]+mt[_e[5]]+"-"+mt[_e[6]]+mt[_e[7]]+"-"+mt[_e[8]]+mt[_e[9]]+"-"+mt[_e[10]]+mt[_e[11]]+mt[_e[12]]+mt[_e[13]]+mt[_e[14]]+mt[_e[15]]},ze.prototype.edgeFactory=function(_e,Z,j,_,x,N,ce,Ue){var Oe=_e.states[_];switch(Z){case z.EPSILON:return new xe(Oe);case z.RANGE:return new ue(Oe,0!==ce?n.EOF:x,N);case z.RULE:return new q(_e.states[x],N,ce,Oe);case z.PREDICATE:return new oe(Oe,x,N,0!==ce);case z.PRECEDENCE:return new ae(Oe,x);case z.ATOM:return new G(Oe,0!==ce?n.EOF:x);case z.ACTION:return new me(Oe,x,N,0!==ce);case z.SET:return new X(Oe,Ue[x]);case z.NOT_SET:return new Q(Oe,Ue[x]);case z.WILDCARD:return new pe(Oe);default:throw"The specified transition type: "+Z+" is not valid."}},ze.prototype.stateFactory=function(_e,Z){if(null===this.stateFactories){var j=[];j[r.INVALID_TYPE]=null,j[r.BASIC]=function(){return new d},j[r.RULE_START]=function(){return new h},j[r.BLOCK_START]=function(){return new Y},j[r.PLUS_BLOCK_START]=function(){return new D},j[r.STAR_BLOCK_START]=function(){return new T},j[r.TOKEN_START]=function(){return new s},j[r.RULE_STOP]=function(){return new g},j[r.BLOCK_END]=function(){return new y},j[r.STAR_LOOP_BACK]=function(){return new P},j[r.STAR_LOOP_ENTRY]=function(){return new w},j[r.PLUS_LOOP_BACK]=function(){return new C},j[r.LOOP_END]=function(){return new b},this.stateFactories=j}if(_e>this.stateFactories.length||null===this.stateFactories[_e])throw"The specified state type "+_e+" is not valid.";var _=this.stateFactories[_e]();if(null!==_)return _.ruleIndex=Z,_},ze.prototype.lexerActionFactory=function(_e,Z,j){if(null===this.actionFactories){var _=[];_[Te.CHANNEL]=function(x,N){return new tt(x)},_[Te.CUSTOM]=function(x,N){return new ot(x,N)},_[Te.MODE]=function(x,N){return new ct(x)},_[Te.MORE]=function(x,N){return pt.INSTANCE},_[Te.POP_MODE]=function(x,N){return Qe.INSTANCE},_[Te.PUSH_MODE]=function(x,N){return new Ie(x)},_[Te.SKIP]=function(x,N){return Ke.INSTANCE},_[Te.TYPE]=function(x,N){return new Dt(x)},this.actionFactories=_}if(_e>this.actionFactories.length||null===this.actionFactories[_e])throw"The specified lexer action type "+_e+" is not valid.";return this.actionFactories[_e](Z,j)},A.ATNDeserializer=ze},7601:(he,A,o)=>{var n=o(1399).B,l=o(9186).B,u=o(4825).getCachedPredictionContext,c=o(8065).Map;function r(d,m){return this.atn=d,this.sharedContextCache=m,this}r.ERROR=new n(2147483647,new l),r.prototype.getCachedContext=function(d){if(null===this.sharedContextCache)return d;var m=new c;return u(d,this.sharedContextCache,m)},A.f=r},9855:(he,A)=>{function n(){return this.atn=null,this.stateNumber=n.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null,this}function l(){return n.call(this),this.stateType=n.BASIC,this}function u(){return n.call(this),this.decision=-1,this.nonGreedy=!1,this}function c(){return u.call(this),this.endState=null,this}function r(){return c.call(this),this.stateType=n.BLOCK_START,this}function d(){return n.call(this),this.stateType=n.BLOCK_END,this.startState=null,this}function m(){return n.call(this),this.stateType=n.RULE_STOP,this}function p(){return n.call(this),this.stateType=n.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}function y(){return u.call(this),this.stateType=n.PLUS_LOOP_BACK,this}function b(){return c.call(this),this.stateType=n.PLUS_BLOCK_START,this.loopBackState=null,this}function h(){return c.call(this),this.stateType=n.STAR_BLOCK_START,this}function g(){return n.call(this),this.stateType=n.STAR_LOOP_BACK,this}function s(){return u.call(this),this.stateType=n.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}function C(){return n.call(this),this.stateType=n.LOOP_END,this.loopBackState=null,this}function P(){return u.call(this),this.stateType=n.TOKEN_START,this}n.INVALID_TYPE=0,n.BASIC=1,n.RULE_START=2,n.BLOCK_START=3,n.PLUS_BLOCK_START=4,n.STAR_BLOCK_START=5,n.TOKEN_START=6,n.RULE_STOP=7,n.BLOCK_END=8,n.STAR_LOOP_BACK=9,n.STAR_LOOP_ENTRY=10,n.PLUS_LOOP_BACK=11,n.LOOP_END=12,n.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"],n.INVALID_STATE_NUMBER=-1,n.prototype.toString=function(){return this.stateNumber},n.prototype.equals=function(w){return w instanceof n&&this.stateNumber===w.stateNumber},n.prototype.isNonGreedyExitState=function(){return!1},n.prototype.addTransition=function(w,D){void 0===D&&(D=-1),0===this.transitions.length?this.epsilonOnlyTransitions=w.isEpsilon:this.epsilonOnlyTransitions!==w.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===D?this.transitions.push(w):this.transitions.splice(D,1,w)},(l.prototype=Object.create(n.prototype)).constructor=l,(u.prototype=Object.create(n.prototype)).constructor=u,(c.prototype=Object.create(u.prototype)).constructor=c,(r.prototype=Object.create(c.prototype)).constructor=r,(d.prototype=Object.create(n.prototype)).constructor=d,(m.prototype=Object.create(n.prototype)).constructor=m,(p.prototype=Object.create(n.prototype)).constructor=p,(y.prototype=Object.create(u.prototype)).constructor=y,(b.prototype=Object.create(c.prototype)).constructor=b,(h.prototype=Object.create(c.prototype)).constructor=h,(g.prototype=Object.create(n.prototype)).constructor=g,(s.prototype=Object.create(u.prototype)).constructor=s,(C.prototype=Object.create(n.prototype)).constructor=C,(P.prototype=Object.create(u.prototype)).constructor=P,A.ATNState=n,A.BasicState=l,A.DecisionState=u,A.BlockStartState=c,A.BlockEndState=d,A.LoopEndState=C,A.RuleStartState=p,A.RuleStopState=m,A.TokensStartState=P,A.PlusLoopbackState=y,A.StarLoopbackState=g,A.StarLoopEntryState=s,A.PlusBlockStartState=b,A.StarBlockStartState=h,A.BasicBlockStartState=r},6796:(he,A)=>{function o(){}o.LEXER=0,o.PARSER=1,A.n=o},6244:(he,A,o)=>{var n=o(8443).Token,l=o(3805).Lexer,u=o(1828).ATN,c=o(7601).f,r=o(1399).B,m=(o(9186),o(9186).s),p=o(4825).PredictionContext,y=o(4825).SingletonPredictionContext,b=o(9855).RuleStopState,h=o(2348).P,g=o(7131).Transition,s=o(1305).W,C=o(6071).LexerNoViableAltException;function P(T){T.index=-1,T.line=0,T.column=-1,T.dfaState=null}function w(){return P(this),this}function D(T,Y,$,z){return c.call(this,Y,z),this.decisionToDFA=$,this.recog=T,this.startIndex=-1,this.line=1,this.column=0,this.mode=l.DEFAULT_MODE,this.prevAccept=new w,this}w.prototype.reset=function(){P(this)},(D.prototype=Object.create(c.prototype)).constructor=D,D.debug=!1,D.dfa_debug=!1,D.MIN_DFA_EDGE=0,D.MAX_DFA_EDGE=127,D.match_calls=0,D.prototype.copyState=function(T){this.column=T.column,this.line=T.line,this.mode=T.mode,this.startIndex=T.startIndex},D.prototype.match=function(T,Y){this.match_calls+=1,this.mode=Y;var $=T.mark();try{this.startIndex=T.index,this.prevAccept.reset();var z=this.decisionToDFA[Y];return null===z.s0?this.matchATN(T):this.execATN(T,z.s0)}finally{T.release($)}},D.prototype.reset=function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=l.DEFAULT_MODE},D.prototype.matchATN=function(T){var Y=this.atn.modeToStartState[this.mode];D.debug&&console.log("matchATN mode "+this.mode+" start: "+Y);var $=this.mode,z=this.computeStartState(T,Y),G=z.hasSemanticContext;z.hasSemanticContext=!1;var X=this.addDFAState(z);G||(this.decisionToDFA[this.mode].s0=X);var Q=this.execATN(T,X);return D.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[$].toLexerString()),Q},D.prototype.execATN=function(T,Y){D.debug&&console.log("start state closure="+Y.configs),Y.isAcceptState&&this.captureSimState(this.prevAccept,T,Y);for(var $=T.LA(1),z=Y;;){D.debug&&console.log("execATN loop starting closure: "+z.configs);var G=this.getExistingTargetState(z,$);if(null===G&&(G=this.computeTargetState(T,z,$)),G===c.ERROR||($!==n.EOF&&this.consume(T),G.isAcceptState&&(this.captureSimState(this.prevAccept,T,G),$===n.EOF)))break;$=T.LA(1),z=G}return this.failOrAccept(this.prevAccept,T,z.configs,$)},D.prototype.getExistingTargetState=function(T,Y){if(null===T.edges||YD.MAX_DFA_EDGE)return null;var $=T.edges[Y-D.MIN_DFA_EDGE];return void 0===$&&($=null),D.debug&&null!==$&&console.log("reuse state "+T.stateNumber+" edge to "+$.stateNumber),$},D.prototype.computeTargetState=function(T,Y,$){var z=new m;return this.getReachableConfigSet(T,Y.configs,z,$),0===z.items.length?(z.hasSemanticContext||this.addDFAEdge(Y,$,c.ERROR),c.ERROR):this.addDFAEdge(Y,$,null,z)},D.prototype.failOrAccept=function(T,Y,$,z){if(null!==this.prevAccept.dfaState)return this.accept(Y,T.dfaState.lexerActionExecutor,this.startIndex,T.index,T.line,T.column),T.dfaState.prediction;if(z===n.EOF&&Y.index===this.startIndex)return n.EOF;throw new C(this.recog,Y,this.startIndex,$)},D.prototype.getReachableConfigSet=function(T,Y,$,z){for(var G=u.INVALID_ALT_NUMBER,X=0;XD.MAX_DFA_EDGE||(D.debug&&console.log("EDGE "+T+" -> "+$+" upon "+Y),null===T.edges&&(T.edges=[]),T.edges[Y-D.MIN_DFA_EDGE]=$),$},D.prototype.addDFAState=function(T){for(var Y=new r(null,T),$=null,z=0;z{function o(){}function n(h){return this.actionType=h,this.isPositionDependent=!1,this}function l(){return n.call(this,o.SKIP),this}function u(h){return n.call(this,o.TYPE),this.type=h,this}function c(h){return n.call(this,o.PUSH_MODE),this.mode=h,this}function r(){return n.call(this,o.POP_MODE),this}function d(){return n.call(this,o.MORE),this}function m(h){return n.call(this,o.MODE),this.mode=h,this}function p(h,g){return n.call(this,o.CUSTOM),this.ruleIndex=h,this.actionIndex=g,this.isPositionDependent=!0,this}function y(h){return n.call(this,o.CHANNEL),this.channel=h,this}function b(h,g){return n.call(this,g.actionType),this.offset=h,this.action=g,this.isPositionDependent=!0,this}o.CHANNEL=0,o.CUSTOM=1,o.MODE=2,o.MORE=3,o.POP_MODE=4,o.PUSH_MODE=5,o.SKIP=6,o.TYPE=7,n.prototype.hashCode=function(){var h=new Hash;return this.updateHashCode(h),h.finish()},n.prototype.updateHashCode=function(h){h.update(this.actionType)},n.prototype.equals=function(h){return this===h},(l.prototype=Object.create(n.prototype)).constructor=l,l.INSTANCE=new l,l.prototype.execute=function(h){h.skip()},l.prototype.toString=function(){return"skip"},(u.prototype=Object.create(n.prototype)).constructor=u,u.prototype.execute=function(h){h.type=this.type},u.prototype.updateHashCode=function(h){h.update(this.actionType,this.type)},u.prototype.equals=function(h){return this===h||h instanceof u&&this.type===h.type},u.prototype.toString=function(){return"type("+this.type+")"},(c.prototype=Object.create(n.prototype)).constructor=c,c.prototype.execute=function(h){h.pushMode(this.mode)},c.prototype.updateHashCode=function(h){h.update(this.actionType,this.mode)},c.prototype.equals=function(h){return this===h||h instanceof c&&this.mode===h.mode},c.prototype.toString=function(){return"pushMode("+this.mode+")"},(r.prototype=Object.create(n.prototype)).constructor=r,r.INSTANCE=new r,r.prototype.execute=function(h){h.popMode()},r.prototype.toString=function(){return"popMode"},(d.prototype=Object.create(n.prototype)).constructor=d,d.INSTANCE=new d,d.prototype.execute=function(h){h.more()},d.prototype.toString=function(){return"more"},(m.prototype=Object.create(n.prototype)).constructor=m,m.prototype.execute=function(h){h.mode(this.mode)},m.prototype.updateHashCode=function(h){h.update(this.actionType,this.mode)},m.prototype.equals=function(h){return this===h||h instanceof m&&this.mode===h.mode},m.prototype.toString=function(){return"mode("+this.mode+")"},(p.prototype=Object.create(n.prototype)).constructor=p,p.prototype.execute=function(h){h.action(null,this.ruleIndex,this.actionIndex)},p.prototype.updateHashCode=function(h){h.update(this.actionType,this.ruleIndex,this.actionIndex)},p.prototype.equals=function(h){return this===h||h instanceof p&&this.ruleIndex===h.ruleIndex&&this.actionIndex===h.actionIndex},(y.prototype=Object.create(n.prototype)).constructor=y,y.prototype.execute=function(h){h._channel=this.channel},y.prototype.updateHashCode=function(h){h.update(this.actionType,this.channel)},y.prototype.equals=function(h){return this===h||h instanceof y&&this.channel===h.channel},y.prototype.toString=function(){return"channel("+this.channel+")"},(b.prototype=Object.create(n.prototype)).constructor=b,b.prototype.execute=function(h){this.action.execute(h)},b.prototype.updateHashCode=function(h){h.update(this.actionType,this.offset,this.action)},b.prototype.equals=function(h){return this===h||h instanceof b&&this.offset===h.offset&&this.action===h.action},A.LexerActionType=o,A.LexerSkipAction=l,A.LexerChannelAction=y,A.LexerCustomAction=p,A.LexerIndexedCustomAction=b,A.LexerMoreAction=d,A.LexerTypeAction=u,A.LexerPushModeAction=c,A.LexerPopModeAction=r,A.LexerModeAction=m},1305:(he,A,o)=>{var n=o(8065).hashStuff,l=o(3822).LexerIndexedCustomAction;function u(c){return this.lexerActions=null===c?[]:c,this.cachedHashCode=n(c),this}u.append=function(c,r){return new u(null===c?[r]:c.lexerActions.concat([r]))},u.prototype.fixOffsetBeforeMatch=function(c){for(var r=null,d=0;d{var n=o(8065),l=n.Set,u=n.BitSet,c=n.DoubleDict,r=o(1828).ATN,d=o(9855).ATNState,m=o(2348).m,p=o(9186).B,y=o(8443).Token,b=o(1399).B,h=o(1399).PredPrediction,g=o(7601).f,s=o(2655).PredictionMode,C=o(61).r,w=(o(911),o(4636).dP),T=(o(9855),o(9855).RuleStopState),Y=o(4825).PredictionContext,$=o(210).Interval,z=o(7131),G=z.Transition,X=z.SetTransition,Q=z.NotSetTransition,q=z.RuleTransition,ue=z.ActionTransition,me=o(6071).NoViableAltException,xe=o(4825).SingletonPredictionContext,pe=o(4825).predictionContextFromRuleContext;function oe(ae,U,ie,le){return g.call(this,U,le),this.parser=ae,this.decisionToDFA=ie,this.predictionMode=s.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this}(oe.prototype=Object.create(g.prototype)).constructor=oe,oe.prototype.debug=!1,oe.prototype.debug_closure=!1,oe.prototype.debug_add=!1,oe.prototype.debug_list_atn_decisions=!1,oe.prototype.dfa_debug=!1,oe.prototype.retry_debug=!1,oe.prototype.reset=function(){},oe.prototype.adaptivePredict=function(ae,U,ie){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+U+" exec LA(1)=="+this.getLookaheadName(ae)+" line "+ae.LT(1).line+":"+ae.LT(1).column),this._input=ae,this._startIndex=ae.index,this._outerContext=ie;var le=this.decisionToDFA[U];this._dfa=le;var Ce=ae.mark(),Te=ae.index;try{var Ke;if(null===(Ke=le.precedenceDfa?le.getPrecedenceStartState(this.parser.getPrecedence()):le.s0)){null===ie&&(ie=C.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+le.decision+" exec LA(1)=="+this.getLookaheadName(ae)+", outerContext="+ie.toString(this.parser.ruleNames));var ot=this.computeStartState(le.atnStartState,C.EMPTY,!1);le.precedenceDfa?(le.s0.configs=ot,ot=this.applyPrecedenceFilter(ot),Ke=this.addDFAState(le,new b(null,ot)),le.setPrecedenceStartState(this.parser.getPrecedence(),Ke)):(Ke=this.addDFAState(le,new b(null,ot)),le.s0=Ke)}var pt=this.execATN(le,Ke,ae,Te,ie);return this.debug&&console.log("DFA after predictATN: "+le.toString(this.parser.literalNames)),pt}finally{this._dfa=null,this.mergeCache=null,ae.seek(Te),ae.release(Ce)}},oe.prototype.execATN=function(ae,U,ie,le,Ce){(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+ae.decision+" exec LA(1)=="+this.getLookaheadName(ie)+" line "+ie.LT(1).line+":"+ie.LT(1).column);var Te,Ke=U;this.debug&&console.log("s0 = "+U);for(var tt=ie.LA(1);;){var ot=this.getExistingTargetState(Ke,tt);if(null===ot&&(ot=this.computeTargetState(ae,Ke,tt)),ot===g.ERROR){var pt=this.noViableAlt(ie,Ce,Ke.configs,le);if(ie.seek(le),(Te=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(Ke.configs,Ce))!==r.INVALID_ALT_NUMBER)return Te;throw pt}if(ot.requiresFullContext&&this.predictionMode!==s.SLL){var Dt=null;if(null!==ot.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var Ie=ie.index;if(Ie!==le&&ie.seek(le),1===(Dt=this.evalSemanticContext(ot.predicates,Ce,!0)).length)return this.debug&&console.log("Full LL avoided"),Dt.minValue();Ie!==le&&ie.seek(Ie)}this.dfa_debug&&console.log("ctx sensitive state "+Ce+" in "+ot);var ct=this.computeStartState(ae.atnStartState,Ce,!0);return this.reportAttemptingFullContext(ae,Dt,ot.configs,le,ie.index),this.execATNWithFullContext(ae,ot,ct,ie,le,Ce)}if(ot.isAcceptState){if(null===ot.predicates)return ot.prediction;var bt=ie.index;ie.seek(le);var Et=this.evalSemanticContext(ot.predicates,Ce,!0);if(0===Et.length)throw this.noViableAlt(ie,Ce,ot.configs,le);return 1===Et.length||this.reportAmbiguity(ae,ot,le,bt,!1,Et,ot.configs),Et.minValue()}Ke=ot,tt!==y.EOF&&(ie.consume(),tt=ie.LA(1))}},oe.prototype.getExistingTargetState=function(ae,U){var ie=ae.edges;return null===ie?null:ie[U+1]||null},oe.prototype.computeTargetState=function(ae,U,ie){var le=this.computeReachSet(U.configs,ie,!1);if(null===le)return this.addDFAEdge(ae,U,ie,g.ERROR),g.ERROR;var Ce=new b(null,le),Te=this.getUniqueAlt(le);if(this.debug){var Ke=s.getConflictingAltSubsets(le);console.log("SLL altSubSets="+n.arrayToString(Ke)+", previous="+U.configs+", configs="+le+", predict="+Te+", allSubsetsConflict="+s.allSubsetsConflict(Ke)+", conflictingAlts="+this.getConflictingAlts(le))}return Te!==r.INVALID_ALT_NUMBER?(Ce.isAcceptState=!0,Ce.configs.uniqueAlt=Te,Ce.prediction=Te):s.hasSLLConflictTerminatingPrediction(this.predictionMode,le)&&(Ce.configs.conflictingAlts=this.getConflictingAlts(le),Ce.requiresFullContext=!0,Ce.isAcceptState=!0,Ce.prediction=Ce.configs.conflictingAlts.minValue()),Ce.isAcceptState&&Ce.configs.hasSemanticContext&&(this.predicateDFAState(Ce,this.atn.getDecisionState(ae.decision)),null!==Ce.predicates&&(Ce.prediction=r.INVALID_ALT_NUMBER)),this.addDFAEdge(ae,U,ie,Ce)},oe.prototype.predicateDFAState=function(ae,U){var ie=U.transitions.length,le=this.getConflictingAltsOrUniqueAlt(ae.configs),Ce=this.getPredsForAmbigAlts(le,ae.configs,ie);null!==Ce?(ae.predicates=this.getPredicatePredictions(le,Ce),ae.prediction=r.INVALID_ALT_NUMBER):ae.prediction=le.minValue()},oe.prototype.execATNWithFullContext=function(ae,U,ie,le,Ce,Te){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+ie);var tt=!1,ot=null,pt=ie;le.seek(Ce);for(var Dt=le.LA(1),Ie=-1;;){if(null===(ot=this.computeReachSet(pt,Dt,!0))){var Qe=this.noViableAlt(le,Te,pt,Ce);le.seek(Ce);var ct=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(pt,Te);if(ct!==r.INVALID_ALT_NUMBER)return ct;throw Qe}var bt=s.getConflictingAltSubsets(ot);if(this.debug&&console.log("LL altSubSets="+bt+", predict="+s.getUniqueAlt(bt)+", resolvesToJustOneViableAlt="+s.resolvesToJustOneViableAlt(bt)),ot.uniqueAlt=this.getUniqueAlt(ot),ot.uniqueAlt!==r.INVALID_ALT_NUMBER){Ie=ot.uniqueAlt;break}if(this.predictionMode!==s.LL_EXACT_AMBIG_DETECTION){if((Ie=s.resolvesToJustOneViableAlt(bt))!==r.INVALID_ALT_NUMBER)break}else if(s.allSubsetsConflict(bt)&&s.allSubsetsEqual(bt)){tt=!0,Ie=s.getSingleViableAlt(bt);break}pt=ot,Dt!==y.EOF&&(le.consume(),Dt=le.LA(1))}return ot.uniqueAlt!==r.INVALID_ALT_NUMBER?(this.reportContextSensitivity(ae,Ie,ot,Ce,le.index),Ie):(this.reportAmbiguity(ae,U,Ce,le.index,tt,null,ot),Ie)},oe.prototype.computeReachSet=function(ae,U,ie){this.debug&&console.log("in computeReachSet, starting closure: "+ae),null===this.mergeCache&&(this.mergeCache=new c);for(var le=new p(ie),Ce=null,Te=0;Te0&&(Te=this.getAltThatFinishedDecisionEntryRule(Ce))!==r.INVALID_ALT_NUMBER?Te:r.INVALID_ALT_NUMBER},oe.prototype.getAltThatFinishedDecisionEntryRule=function(ae){for(var U=[],ie=0;ie0||le.state instanceof T&&le.context.hasEmptyPath())&&U.indexOf(le.alt)<0&&U.push(le.alt)}return 0===U.length?r.INVALID_ALT_NUMBER:Math.min.apply(null,U)},oe.prototype.splitAccordingToSemanticValidity=function(ae,U){for(var ie=new p(ae.fullCtx),le=new p(ae.fullCtx),Ce=0;Ce50))throw"problem";if(ae.state instanceof T){if(!ae.context.isEmpty()){for(var tt=0;tt=0&&(Qe+=1)}this.closureCheckingStopState(Ie,U,ie,Dt,Ce,Qe,Ke)}}},oe.prototype.canDropLoopEntryEdgeInLeftRecursiveRule=function(ae){var U=ae.state;if(U.stateType!=d.STAR_LOOP_ENTRY||U.stateType!=d.STAR_LOOP_ENTRY||!U.isPrecedenceDecision||ae.context.isEmpty()||ae.context.hasEmptyPath())return!1;for(var ie=ae.context.length,le=0;le=0?this.parser.ruleNames[ae]:""},oe.prototype.getEpsilonTarget=function(ae,U,ie,le,Ce,Te){switch(U.serializationType){case G.RULE:return this.ruleTransition(ae,U);case G.PRECEDENCE:return this.precedenceTransition(ae,U,ie,le,Ce);case G.PREDICATE:return this.predTransition(ae,U,ie,le,Ce);case G.ACTION:return this.actionTransition(ae,U);case G.EPSILON:return new m({state:U.target},ae);case G.ATOM:case G.RANGE:case G.SET:return Te&&U.matches(y.EOF,0,1)?new m({state:U.target},ae):null;default:return null}},oe.prototype.actionTransition=function(ae,U){return this.debug&&console.log("ACTION edge "+U.ruleIndex+":"+(-1==U.actionIndex?65535:U.actionIndex)),new m({state:U.target},ae)},oe.prototype.precedenceTransition=function(ae,U,ie,le,Ce){this.debug&&(console.log("PRED (collectPredicates="+ie+") "+U.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));var Te=null;if(ie&&le)if(Ce){var Ke=this._input.index;this._input.seek(this._startIndex);var tt=U.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(Ke),tt&&(Te=new m({state:U.target},ae))}else{var ot=w.andContext(ae.semanticContext,U.getPredicate());Te=new m({state:U.target,semanticContext:ot},ae)}else Te=new m({state:U.target},ae);return this.debug&&console.log("config from pred transition="+Te),Te},oe.prototype.predTransition=function(ae,U,ie,le,Ce){this.debug&&(console.log("PRED (collectPredicates="+ie+") "+U.ruleIndex+":"+U.predIndex+", ctx dependent="+U.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+n.arrayToString(this.parser.getRuleInvocationStack())));var Te=null;if(ie&&(U.isCtxDependent&&le||!U.isCtxDependent))if(Ce){var Ke=this._input.index;this._input.seek(this._startIndex);var tt=U.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(Ke),tt&&(Te=new m({state:U.target},ae))}else{var ot=w.andContext(ae.semanticContext,U.getPredicate());Te=new m({state:U.target,semanticContext:ot},ae)}else Te=new m({state:U.target},ae);return this.debug&&console.log("config from pred transition="+Te),Te},oe.prototype.ruleTransition=function(ae,U){this.debug&&console.log("CALL rule "+this.getRuleName(U.target.ruleIndex)+", ctx="+ae.context);var le=xe.create(ae.context,U.followState.stateNumber);return new m({state:U.target,context:le},ae)},oe.prototype.getConflictingAlts=function(ae){var U=s.getConflictingAltSubsets(ae);return s.getAlts(U)},oe.prototype.getConflictingAltsOrUniqueAlt=function(ae){var U=null;return ae.uniqueAlt!==r.INVALID_ALT_NUMBER?(U=new u).add(ae.uniqueAlt):U=ae.conflictingAlts,U},oe.prototype.getTokenName=function(ae){if(ae===y.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(ae>=this.parser.literalNames.length&&ae>=this.parser.symbolicNames.length))return(this.parser.literalNames[ae]||this.parser.symbolicNames[ae])+"<"+ae+">";console.log(ae+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+ae},oe.prototype.getLookaheadName=function(ae){return this.getTokenName(ae.LA(1))},oe.prototype.dumpDeadEndConfigs=function(ae){console.log("dead end configs: ");for(var U=ae.getDeadEndConfigs(),ie=0;ie0){var Te=le.state.transitions[0];Te instanceof AtomTransition?Ce="Atom "+this.getTokenName(Te.label):Te instanceof X&&(Ce=(Te instanceof Q?"~":"")+"Set "+Te.set)}console.error(le.toString(this.parser,!0)+":"+Ce)}},oe.prototype.noViableAlt=function(ae,U,ie,le){return new me(this.parser,ae,ae.get(le),ae.LT(1),ie,U)},oe.prototype.getUniqueAlt=function(ae){for(var U=r.INVALID_ALT_NUMBER,ie=0;ie "+le+" upon "+this.getTokenName(ie)),null===le?null:(le=this.addDFAState(ae,le),null===U||ie<-1||ie>this.atn.maxTokenType||(null===U.edges&&(U.edges=[]),U.edges[ie+1]=le,this.debug&&console.log("DFA=\n"+ae.toString(null===this.parser?null:this.parser.literalNames,null===this.parser?null:this.parser.symbolicNames))),le)},oe.prototype.addDFAState=function(ae,U){if(U==g.ERROR)return U;var ie=ae.states.get(U);return null!==ie?ie:(U.stateNumber=ae.states.length,U.configs.readOnly||(U.configs.optimizeConfigs(this),U.configs.setReadonly(!0)),ae.states.add(U),this.debug&&console.log("adding new DFA state: "+U),U)},oe.prototype.reportAttemptingFullContext=function(ae,U,ie,le,Ce){if(this.debug||this.retry_debug){var Te=new $(le,Ce+1);console.log("reportAttemptingFullContext decision="+ae.decision+":"+ie+", input="+this.parser.getTokenStream().getText(Te))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,ae,le,Ce,U,ie)},oe.prototype.reportContextSensitivity=function(ae,U,ie,le,Ce){if(this.debug||this.retry_debug){var Te=new $(le,Ce+1);console.log("reportContextSensitivity decision="+ae.decision+":"+ie+", input="+this.parser.getTokenStream().getText(Te))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,ae,le,Ce,U,ie)},oe.prototype.reportAmbiguity=function(ae,U,ie,le,Ce,Te,Ke){if(this.debug||this.retry_debug){var tt=new $(ie,le+1);console.log("reportAmbiguity "+Te+":"+Ke+", input="+this.parser.getTokenStream().getText(tt))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,ae,ie,le,Ce,Te,Ke)},A.ParserATNSimulator=oe},2655:(he,A,o)=>{o(8065);var l=o(8065).Map,u=o(8065).BitSet,c=o(8065).AltDict,r=o(1828).ATN,d=o(9855).RuleStopState,m=o(9186).B,p=o(2348).m,y=o(4636).dP,h=(o(8065),o(8065).hashStuff);function s(){return this}o(8065),s.SLL=0,s.LL=1,s.LL_EXACT_AMBIG_DETECTION=2,s.hasSLLConflictTerminatingPrediction=function(C,P){if(s.allConfigsInRuleStopStates(P))return!0;if(C===s.SLL&&P.hasSemanticContext){for(var w=new m,D=0;D1)return!0;return!1},s.allSubsetsEqual=function(C){for(var P=null,w=0;w{var n=o(8065).Set,l=o(8065).Hash;function u(){return this}function c(p,y,b){return u.call(this),this.ruleIndex=void 0===p?-1:p,this.predIndex=void 0===y?-1:y,this.isCtxDependent=void 0!==b&&b,this}function r(p){u.call(this),this.precedence=void 0===p?0:p}function d(p,y){u.call(this);var b=new n;p instanceof d?p.opnds.map(function(s){b.add(s)}):b.add(p),y instanceof d?y.opnds.map(function(s){b.add(s)}):b.add(y);var h=r.filterPrecedencePredicates(b);if(h.length>0){var g=null;h.map(function(s){(null===g||s.precedence0){var g=h.sort(function(C,P){return C.compareTo(P)});b.add(g[g.length-1])}return this.opnds=b.values(),this}u.prototype.hashCode=function(){var p=new l;return this.updateHashCode(p),p.finish()},u.prototype.evaluate=function(p,y){},u.prototype.evalPrecedence=function(p,y){return this},u.andContext=function(p,y){if(null===p||p===u.NONE)return y;if(null===y||y===u.NONE)return p;var b=new d(p,y);return 1===b.opnds.length?b.opnds[0]:b},u.orContext=function(p,y){if(null===p)return y;if(null===y)return p;if(p===u.NONE||y===u.NONE)return u.NONE;var b=new m(p,y);return 1===b.opnds.length?b.opnds[0]:b},(c.prototype=Object.create(u.prototype)).constructor=c,u.NONE=new c,c.prototype.evaluate=function(p,y){return p.sempred(this.isCtxDependent?y:null,this.ruleIndex,this.predIndex)},c.prototype.updateHashCode=function(p){p.update(this.ruleIndex,this.predIndex,this.isCtxDependent)},c.prototype.equals=function(p){return this===p||p instanceof c&&this.ruleIndex===p.ruleIndex&&this.predIndex===p.predIndex&&this.isCtxDependent===p.isCtxDependent},c.prototype.toString=function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"},(r.prototype=Object.create(u.prototype)).constructor=r,r.prototype.evaluate=function(p,y){return p.precpred(y,this.precedence)},r.prototype.evalPrecedence=function(p,y){return p.precpred(y,this.precedence)?u.NONE:null},r.prototype.compareTo=function(p){return this.precedence-p.precedence},r.prototype.updateHashCode=function(p){p.update(31)},r.prototype.equals=function(p){return this===p||p instanceof r&&this.precedence===p.precedence},r.prototype.toString=function(){return"{"+this.precedence+">=prec}?"},r.filterPrecedencePredicates=function(p){var y=[];return p.values().map(function(b){b instanceof r&&y.push(b)}),y},(d.prototype=Object.create(u.prototype)).constructor=d,d.prototype.equals=function(p){return this===p||p instanceof d&&this.opnds===p.opnds},d.prototype.updateHashCode=function(p){p.update(this.opnds,"AND")},d.prototype.evaluate=function(p,y){for(var b=0;b3?p.slice(3):p},(m.prototype=Object.create(u.prototype)).constructor=m,m.prototype.constructor=function(p){return this===p||p instanceof m&&this.opnds===p.opnds},m.prototype.updateHashCode=function(p){p.update(this.opnds,"OR")},m.prototype.evaluate=function(p,y){for(var b=0;b3?p.slice(3):p},A.dP=u,A.u5=r,A.$G=c},7131:(he,A,o)=>{var n=o(8443).Token,u=(o(210),o(210).V),c=o(4636).$G,r=o(4636).u5;function d(T){if(null==T)throw"target cannot be null.";return this.target=T,this.isEpsilon=!1,this.label=null,this}function m(T,Y){return d.call(this,T),this.label_=Y,this.label=this.makeLabel(),this.serializationType=d.ATOM,this}function p(T,Y,$,z){return d.call(this,T),this.ruleIndex=Y,this.precedence=$,this.followState=z,this.serializationType=d.RULE,this.isEpsilon=!0,this}function y(T,Y){return d.call(this,T),this.serializationType=d.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=Y,this}function b(T,Y,$){return d.call(this,T),this.serializationType=d.RANGE,this.start=Y,this.stop=$,this.label=this.makeLabel(),this}function h(T){return d.call(this,T),this}function g(T,Y,$,z){return h.call(this,T),this.serializationType=d.PREDICATE,this.ruleIndex=Y,this.predIndex=$,this.isCtxDependent=z,this.isEpsilon=!0,this}function s(T,Y,$,z){return d.call(this,T),this.serializationType=d.ACTION,this.ruleIndex=Y,this.actionIndex=void 0===$?-1:$,this.isCtxDependent=void 0!==z&&z,this.isEpsilon=!0,this}function C(T,Y){return d.call(this,T),this.serializationType=d.SET,null!=Y?this.label=Y:(this.label=new u,this.label.addOne(n.INVALID_TYPE)),this}function P(T,Y){return C.call(this,T,Y),this.serializationType=d.NOT_SET,this}function w(T){return d.call(this,T),this.serializationType=d.WILDCARD,this}function D(T,Y){return h.call(this,T),this.serializationType=d.PRECEDENCE,this.precedence=Y,this.isEpsilon=!0,this}d.EPSILON=1,d.RANGE=2,d.RULE=3,d.PREDICATE=4,d.ATOM=5,d.ACTION=6,d.SET=7,d.NOT_SET=8,d.WILDCARD=9,d.PRECEDENCE=10,d.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],d.serializationTypes={EpsilonTransition:d.EPSILON,RangeTransition:d.RANGE,RuleTransition:d.RULE,PredicateTransition:d.PREDICATE,AtomTransition:d.ATOM,ActionTransition:d.ACTION,SetTransition:d.SET,NotSetTransition:d.NOT_SET,WildcardTransition:d.WILDCARD,PrecedencePredicateTransition:d.PRECEDENCE},(m.prototype=Object.create(d.prototype)).constructor=m,m.prototype.makeLabel=function(){var T=new u;return T.addOne(this.label_),T},m.prototype.matches=function(T,Y,$){return this.label_===T},m.prototype.toString=function(){return this.label_},(p.prototype=Object.create(d.prototype)).constructor=p,p.prototype.matches=function(T,Y,$){return!1},(y.prototype=Object.create(d.prototype)).constructor=y,y.prototype.matches=function(T,Y,$){return!1},y.prototype.toString=function(){return"epsilon"},(b.prototype=Object.create(d.prototype)).constructor=b,b.prototype.makeLabel=function(){var T=new u;return T.addRange(this.start,this.stop),T},b.prototype.matches=function(T,Y,$){return T>=this.start&&T<=this.stop},b.prototype.toString=function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"},(h.prototype=Object.create(d.prototype)).constructor=h,(g.prototype=Object.create(h.prototype)).constructor=g,g.prototype.matches=function(T,Y,$){return!1},g.prototype.getPredicate=function(){return new c(this.ruleIndex,this.predIndex,this.isCtxDependent)},g.prototype.toString=function(){return"pred_"+this.ruleIndex+":"+this.predIndex},(s.prototype=Object.create(d.prototype)).constructor=s,s.prototype.matches=function(T,Y,$){return!1},s.prototype.toString=function(){return"action_"+this.ruleIndex+":"+this.actionIndex},(C.prototype=Object.create(d.prototype)).constructor=C,C.prototype.matches=function(T,Y,$){return this.label.contains(T)},C.prototype.toString=function(){return this.label.toString()},(P.prototype=Object.create(C.prototype)).constructor=P,P.prototype.matches=function(T,Y,$){return T>=Y&&T<=$&&!C.prototype.matches.call(this,T,Y,$)},P.prototype.toString=function(){return"~"+C.prototype.toString.call(this)},(w.prototype=Object.create(d.prototype)).constructor=w,w.prototype.matches=function(T,Y,$){return T>=Y&&T<=$},w.prototype.toString=function(){return"."},(D.prototype=Object.create(h.prototype)).constructor=D,D.prototype.matches=function(T,Y,$){return!1},D.prototype.getPredicate=function(){return new r(this.precedence)},D.prototype.toString=function(){return this.precedence+" >= _p"},A.Transition=d,A.AtomTransition=m,A.SetTransition=C,A.NotSetTransition=P,A.RuleTransition=p,A.ActionTransition=s,A.EpsilonTransition=y,A.RangeTransition=b,A.WildcardTransition=w,A.PredicateTransition=g,A.PrecedencePredicateTransition=D,A.AbstractPredicateTransition=h},8900:(he,A,o)=>{A.ATN=o(1828).ATN,A.ATNDeserializer=o(3031).ATNDeserializer,A.LexerATNSimulator=o(6244).LexerATNSimulator,A.ParserATNSimulator=o(3464).ParserATNSimulator,A.PredictionMode=o(2655).PredictionMode},2490:(he,A,o)=>{var n=o(8065).Set,l=o(1399).B,u=o(9855).StarLoopEntryState,c=o(9186).B,r=o(5846).DFASerializer,d=o(5846).LexerDFASerializer;function m(p,y){if(void 0===y&&(y=0),this.atnStartState=p,this.decision=y,this._states=new n,this.s0=null,this.precedenceDfa=!1,p instanceof u&&p.isPrecedenceDecision){this.precedenceDfa=!0;var b=new l(null,new c);b.edges=[],b.isAcceptState=!1,b.requiresFullContext=!1,this.s0=b}return this}m.prototype.getPrecedenceStartState=function(p){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return p<0||p>=this.s0.edges.length?null:this.s0.edges[p]||null},m.prototype.setPrecedenceStartState=function(p,y){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";p<0||(this.s0.edges[p]=y)},m.prototype.setPrecedenceDfa=function(p){if(this.precedenceDfa!==p){if(this._states=new DFAStatesSet,p){var y=new l(null,new c);y.edges=[],y.isAcceptState=!1,y.requiresFullContext=!1,this.s0=y}else this.s0=null;this.precedenceDfa=p}},Object.defineProperty(m.prototype,"states",{get:function(){return this._states}}),m.prototype.sortedStates=function(){return this._states.values().sort(function(y,b){return y.stateNumber-b.stateNumber})},m.prototype.toString=function(p,y){return null===this.s0?"":new r(this,p=p||null,y=y||null).toString()},m.prototype.toLexerString=function(){return null===this.s0?"":new d(this).toString()},A.DFA=m},5846:(he,A)=>{function o(l,u,c){return this.dfa=l,this.literalNames=u||[],this.symbolicNames=c||[],this}function n(l){return o.call(this,l,null),this}o.prototype.toString=function(){if(null===this.dfa.s0)return null;for(var l="",u=this.dfa.sortedStates(),c=0;c")).concat(this.getStateString(p))).concat("\n"))}}return 0===l.length?null:l},o.prototype.getEdgeLabel=function(l){return 0===l?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[l-1]||this.symbolicNames[l-1]:String.fromCharCode(l-1)},o.prototype.getStateString=function(l){var u=(l.isAcceptState?":":"")+"s"+l.stateNumber+(l.requiresFullContext?"^":"");return l.isAcceptState?null!==l.predicates?u+"=>"+l.predicates.toString():u+"=>"+l.prediction.toString():u},(n.prototype=Object.create(o.prototype)).constructor=n,n.prototype.getEdgeLabel=function(l){return"'"+String.fromCharCode(l)+"'"},A.DFASerializer=o,A.LexerDFASerializer=n},1399:(he,A,o)=>{var n=o(9186).B,l=o(8065),u=l.Hash,c=l.Set;function r(m,p){return this.alt=p,this.pred=m,this}function d(m,p){return null===m&&(m=-1),null===p&&(p=new n),this.stateNumber=m,this.configs=p,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}r.prototype.toString=function(){return"("+this.pred+", "+this.alt+")"},d.prototype.getAltSet=function(){var m=new c;if(null!==this.configs)for(var p=0;p{A.DFA=o(2490).DFA,A.DFASerializer=o(5846).DFASerializer,A.LexerDFASerializer=o(5846).LexerDFASerializer,A.PredPrediction=o(1399).PredPrediction},3456:(he,A,o)=>{var n=o(8065).BitSet,l=o(1911).ErrorListener,u=o(210).Interval;function c(r){return l.call(this),this.exactOnly=r=r||!0,this}(c.prototype=Object.create(l.prototype)).constructor=c,c.prototype.reportAmbiguity=function(r,d,m,p,y,b,h){if(!this.exactOnly||y){var g="reportAmbiguity d="+this.getDecisionDescription(r,d)+": ambigAlts="+this.getConflictingAlts(b,h)+", input='"+r.getTokenStream().getText(new u(m,p))+"'";r.notifyErrorListeners(g)}},c.prototype.reportAttemptingFullContext=function(r,d,m,p,y,b){var h="reportAttemptingFullContext d="+this.getDecisionDescription(r,d)+", input='"+r.getTokenStream().getText(new u(m,p))+"'";r.notifyErrorListeners(h)},c.prototype.reportContextSensitivity=function(r,d,m,p,y,b){var h="reportContextSensitivity d="+this.getDecisionDescription(r,d)+", input='"+r.getTokenStream().getText(new u(m,p))+"'";r.notifyErrorListeners(h)},c.prototype.getDecisionDescription=function(r,d){var m=d.decision,p=d.atnStartState.ruleIndex,y=r.ruleNames;if(p<0||p>=y.length)return""+m;var b=y[p]||null;return null===b||0===b.length?""+m:m+" ("+b+")"},c.prototype.getConflictingAlts=function(r,d){if(null!==r)return r;for(var m=new n,p=0;p{function o(){return this}function n(){return o.call(this),this}function l(u){if(o.call(this),null===u)throw"delegates";return this.delegates=u,this}o.prototype.syntaxError=function(u,c,r,d,m,p){},o.prototype.reportAmbiguity=function(u,c,r,d,m,p,y){},o.prototype.reportAttemptingFullContext=function(u,c,r,d,m,p){},o.prototype.reportContextSensitivity=function(u,c,r,d,m,p){},(n.prototype=Object.create(o.prototype)).constructor=n,n.INSTANCE=new n,n.prototype.syntaxError=function(u,c,r,d,m,p){console.error("line "+r+":"+d+" "+m)},(l.prototype=Object.create(o.prototype)).constructor=l,l.prototype.syntaxError=function(u,c,r,d,m,p){this.delegates.map(function(y){y.syntaxError(u,c,r,d,m,p)})},l.prototype.reportAmbiguity=function(u,c,r,d,m,p,y){this.delegates.map(function(b){b.reportAmbiguity(u,c,r,d,m,p,y)})},l.prototype.reportAttemptingFullContext=function(u,c,r,d,m,p){this.delegates.map(function(y){y.reportAttemptingFullContext(u,c,r,d,m,p)})},l.prototype.reportContextSensitivity=function(u,c,r,d,m,p){this.delegates.map(function(y){y.reportContextSensitivity(u,c,r,d,m,p)})},A.ErrorListener=o,A.s=n,A.N=l},7675:(he,A,o)=>{var n=o(8443).Token,l=o(6071),u=l.NoViableAltException,c=l.InputMismatchException,r=l.FailedPredicateException,d=l.ParseCancellationException,m=o(9855).ATNState,p=o(210).Interval,y=o(210).V;function b(){}function h(){return b.call(this),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this}function g(){return h.call(this),this}b.prototype.reset=function(s){},b.prototype.recoverInline=function(s){},b.prototype.recover=function(s,C){},b.prototype.sync=function(s){},b.prototype.inErrorRecoveryMode=function(s){},b.prototype.reportError=function(s){},(h.prototype=Object.create(b.prototype)).constructor=h,h.prototype.reset=function(s){this.endErrorCondition(s)},h.prototype.beginErrorCondition=function(s){this.errorRecoveryMode=!0},h.prototype.inErrorRecoveryMode=function(s){return this.errorRecoveryMode},h.prototype.endErrorCondition=function(s){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1},h.prototype.reportMatch=function(s){this.endErrorCondition(s)},h.prototype.reportError=function(s,C){this.inErrorRecoveryMode(s)||(this.beginErrorCondition(s),C instanceof u?this.reportNoViableAlternative(s,C):C instanceof c?this.reportInputMismatch(s,C):C instanceof r?this.reportFailedPredicate(s,C):(console.log("unknown recognition error type: "+C.constructor.name),console.log(C.stack),s.notifyErrorListeners(C.getOffendingToken(),C.getMessage(),C)))},h.prototype.recover=function(s,C){this.lastErrorIndex===s.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(s.state)>=0&&s.consume(),this.lastErrorIndex=s._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(s.state);var P=this.getErrorRecoverySet(s);this.consumeUntil(s,P)},h.prototype.sync=function(s){if(!this.inErrorRecoveryMode(s)){var C=s._interp.atn.states[s.state],P=s.getTokenStream().LA(1),w=s.atn.nextTokens(C);if(!w.contains(n.EPSILON)&&!w.contains(P))switch(C.stateType){case m.BLOCK_START:case m.STAR_BLOCK_START:case m.PLUS_BLOCK_START:case m.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(s))return;throw new c(s);case m.PLUS_LOOP_BACK:case m.STAR_LOOP_BACK:this.reportUnwantedToken(s);var D=new y;D.addSet(s.getExpectedTokens());var T=D.addSet(this.getErrorRecoverySet(s));this.consumeUntil(s,T)}}},h.prototype.reportNoViableAlternative=function(s,C){var w,P=s.getTokenStream();w=null!==P?C.startToken.type===n.EOF?"":P.getText(new p(C.startToken.tokenIndex,C.offendingToken.tokenIndex)):"";var D="no viable alternative at input "+this.escapeWSAndQuote(w);s.notifyErrorListeners(D,C.offendingToken,C)},h.prototype.reportInputMismatch=function(s,C){var P="mismatched input "+this.getTokenErrorDisplay(C.offendingToken)+" expecting "+C.getExpectedTokens().toString(s.literalNames,s.symbolicNames);s.notifyErrorListeners(P,C.offendingToken,C)},h.prototype.reportFailedPredicate=function(s,C){s.notifyErrorListeners("rule "+s.ruleNames[s._ctx.ruleIndex]+" "+C.message,C.offendingToken,C)},h.prototype.reportUnwantedToken=function(s){if(!this.inErrorRecoveryMode(s)){this.beginErrorCondition(s);var C=s.getCurrentToken(),D="extraneous input "+this.getTokenErrorDisplay(C)+" expecting "+this.getExpectedTokens(s).toString(s.literalNames,s.symbolicNames);s.notifyErrorListeners(D,C,null)}},h.prototype.reportMissingToken=function(s){if(!this.inErrorRecoveryMode(s)){this.beginErrorCondition(s);var C=s.getCurrentToken(),w="missing "+this.getExpectedTokens(s).toString(s.literalNames,s.symbolicNames)+" at "+this.getTokenErrorDisplay(C);s.notifyErrorListeners(w,C,null)}},h.prototype.recoverInline=function(s){var C=this.singleTokenDeletion(s);if(null!==C)return s.consume(),C;if(this.singleTokenInsertion(s))return this.getMissingSymbol(s);throw new c(s)},h.prototype.singleTokenInsertion=function(s){var C=s.getTokenStream().LA(1),P=s._interp.atn;return!!P.nextTokens(P.states[s.state].transitions[0].target,s._ctx).contains(C)&&(this.reportMissingToken(s),!0)},h.prototype.singleTokenDeletion=function(s){var C=s.getTokenStream().LA(2);if(this.getExpectedTokens(s).contains(C)){this.reportUnwantedToken(s),s.consume();var w=s.getCurrentToken();return this.reportMatch(s),w}return null},h.prototype.getMissingSymbol=function(s){var D,C=s.getCurrentToken(),w=this.getExpectedTokens(s).first();D=w===n.EOF?"":"";var T=C,Y=s.getTokenStream().LT(-1);return T.type===n.EOF&&null!==Y&&(T=Y),s.getTokenFactory().create(T.source,w,D,n.DEFAULT_CHANNEL,-1,-1,T.line,T.column)},h.prototype.getExpectedTokens=function(s){return s.getExpectedTokens()},h.prototype.getTokenErrorDisplay=function(s){if(null===s)return"";var C=s.text;return null===C&&(C=s.type===n.EOF?"":"<"+s.type+">"),this.escapeWSAndQuote(C)},h.prototype.escapeWSAndQuote=function(s){return"'"+(s=(s=(s=s.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"},h.prototype.getErrorRecoverySet=function(s){for(var C=s._interp.atn,P=s._ctx,w=new y;null!==P&&P.invokingState>=0;){var Y=C.nextTokens(C.states[P.invokingState].transitions[0].followState);w.addSet(Y),P=P.parentCtx}return w.removeOne(n.EPSILON),w},h.prototype.consumeUntil=function(s,C){for(var P=s.getTokenStream().LA(1);P!==n.EOF&&!C.contains(P);)s.consume(),P=s.getTokenStream().LA(1)},(g.prototype=Object.create(h.prototype)).constructor=g,g.prototype.recover=function(s,C){for(var P=s._ctx;null!==P;)P.exception=C,P=P.parentCtx;throw new d(C)},g.prototype.recoverInline=function(s){this.recover(s,new c(s))},g.prototype.sync=function(s){},A.BailErrorStrategy=g,A.t=h},6071:(he,A,o)=>{var n=o(7131).PredicateTransition;function l(p){return Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,l):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),this}function u(p,y,b,h){return l.call(this,{message:"",recognizer:p,input:y,ctx:null}),this.startIndex=b,this.deadEndConfigs=h,this}function c(p,y,b,h,g,s){s=s||p._ctx,h=h||p.getCurrentToken(),b=b||p.getCurrentToken(),y=y||p.getInputStream(),l.call(this,{message:"",recognizer:p,input:y,ctx:s}),this.deadEndConfigs=g,this.startToken=b,this.offendingToken=h}function r(p){l.call(this,{message:"",recognizer:p,input:p.getInputStream(),ctx:p._ctx}),this.offendingToken=p.getCurrentToken()}function d(p,y,b){l.call(this,{message:this.formatMessage(y,b||null),recognizer:p,input:p.getInputStream(),ctx:p._ctx});var g=p._interp.atn.states[p.state].transitions[0];return g instanceof n?(this.ruleIndex=g.ruleIndex,this.predicateIndex=g.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=y,this.offendingToken=p.getCurrentToken(),this}function m(){return Error.call(this),Error.captureStackTrace(this,m),this}(l.prototype=Object.create(Error.prototype)).constructor=l,l.prototype.getExpectedTokens=function(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null},l.prototype.toString=function(){return this.message},(u.prototype=Object.create(l.prototype)).constructor=u,u.prototype.toString=function(){var p="";return this.startIndex>=0&&this.startIndex{A.RecognitionException=o(6071).RecognitionException,A.NoViableAltException=o(6071).NoViableAltException,A.LexerNoViableAltException=o(6071).LexerNoViableAltException,A.InputMismatchException=o(6071).InputMismatchException,A.FailedPredicateException=o(6071).FailedPredicateException,A.DiagnosticErrorListener=o(3456).DiagnosticErrorListener,A.BailErrorStrategy=o(7675).BailErrorStrategy,A.ErrorListener=o(1911).ErrorListener},4185:()=>{String.prototype.codePointAt||function(){"use strict";var he=function(){try{var o={},n=Object.defineProperty,l=n(o,o,o)&&n}catch(u){}return l}(),A=function(o){if(null==this)throw TypeError();var n=String(this),l=n.length,u=o?Number(o):0;if(u!=u&&(u=0),!(u<0||u>=l)){var r,c=n.charCodeAt(u);return c>=55296&&c<=56319&&l>u+1&&(r=n.charCodeAt(u+1))>=56320&&r<=57343?1024*(c-55296)+r-56320+65536:c}};he?he(String.prototype,"codePointAt",{value:A,configurable:!0,writable:!0}):String.prototype.codePointAt=A}()},9767:()=>{var he,A,o,n;String.fromCodePoint||(he=function(){try{var l={},u=Object.defineProperty,c=u(l,l,l)&&u}catch(r){}return c}(),A=String.fromCharCode,o=Math.floor,n=function(l){var u=16384,c=[],m=-1,p=arguments.length;if(!p)return"";for(var y="";++m1114111||o(b)!=b)throw RangeError("Invalid code point: "+b);b<=65535?c.push(b):c.push(55296+((b-=65536)>>10),b%1024+56320),(m+1==p||c.length>u)&&(y+=A.apply(null,c),c.length=0)}return y},he?he(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n)},1029:(he,A,o)=>{var n=o(8443).Token,l=o(210).Interval,u=new l(-1,-2);function r(){return this}function d(){return r.call(this),this}function m(){return d.call(this),this}function p(){return m.call(this),this}function y(){return m.call(this),this}function b(){return y.call(this),this}function h(){return this}function g(){return this}function s(w){return y.call(this),this.parentCtx=null,this.symbol=w,this}function C(w){return s.call(this,w),this}function P(){return this}o(8065),(d.prototype=Object.create(r.prototype)).constructor=d,(m.prototype=Object.create(d.prototype)).constructor=m,(p.prototype=Object.create(m.prototype)).constructor=p,(y.prototype=Object.create(m.prototype)).constructor=y,(b.prototype=Object.create(y.prototype)).constructor=b,h.prototype.visit=function(w){return Array.isArray(w)?w.map(function(D){return D.accept(this)},this):w.accept(this)},h.prototype.visitChildren=function(w){return w.children?this.visit(w.children):null},h.prototype.visitTerminal=function(w){},h.prototype.visitErrorNode=function(w){},g.prototype.visitTerminal=function(w){},g.prototype.visitErrorNode=function(w){},g.prototype.enterEveryRule=function(w){},g.prototype.exitEveryRule=function(w){},(s.prototype=Object.create(y.prototype)).constructor=s,s.prototype.getChild=function(w){return null},s.prototype.getSymbol=function(){return this.symbol},s.prototype.getParent=function(){return this.parentCtx},s.prototype.getPayload=function(){return this.symbol},s.prototype.getSourceInterval=function(){if(null===this.symbol)return u;var w=this.symbol.tokenIndex;return new l(w,w)},s.prototype.getChildCount=function(){return 0},s.prototype.accept=function(w){return w.visitTerminal(this)},s.prototype.getText=function(){return this.symbol.text},s.prototype.toString=function(){return this.symbol.type===n.EOF?"":this.symbol.text},(C.prototype=Object.create(s.prototype)).constructor=C,C.prototype.isErrorNode=function(){return!0},C.prototype.accept=function(w){return w.visitErrorNode(this)},P.prototype.walk=function(w,D){if(D instanceof b||void 0!==D.isErrorNode&&D.isErrorNode())w.visitErrorNode(D);else if(D instanceof y)w.visitTerminal(D);else{this.enterRule(w,D);for(var Y=0;Y{var n=o(8065),l=o(8443).Token,c=(o(1029),o(1029).ErrorNode),r=o(1029).TerminalNode,d=o(911).ParserRuleContext,m=o(61).r,p=o(1828).INVALID_ALT_NUMBER;function y(){}y.toStringTree=function(b,h,g){h=h||null,null!==(g=g||null)&&(h=g.ruleNames);var s=y.getNodeText(b,h);s=n.escapeWhitespace(s,!1);var C=b.getChildCount();if(0===C)return s;var P="("+s+" ";C>0&&(s=y.toStringTree(b.getChild(0),h),P=P.concat(s));for(var w=1;w{var n=o(1029);A.Trees=o(2565).Trees,A.RuleNode=n.RuleNode,A.ParseTreeListener=n.ParseTreeListener,A.ParseTreeVisitor=n.ParseTreeVisitor,A.ParseTreeWalker=n.ParseTreeWalker},3853:he=>{he.exports={aggregateMacro:function(o,n,l){return o.reduce((u,c,r)=>(this.$index=r,this.$total=n(c)),this.$total=l)}}},3142:(he,A,o)=>{var n=o(9640),l={};function u(c,r){if(0==r.length)return!0;for(var d=0;d1)throw new Error("Expected singleton on right side of contains, got "+JSON.stringify(r));return u(c,r)},l.in=function(c,r){if(0==c.length)return[];if(0==r.length)return!1;if(c.length>1)throw new Error("Expected singleton on right side of in, got "+JSON.stringify(r));return u(r,c)},he.exports=l},7561:(he,A,o)=>{var n={},l=o(6127);n.union=function(u,c){return l.distinctFn(u.concat(c))},n.combineFn=function(u,c){return u.concat(c)},he.exports=n},9397:he=>{he.exports={reset:function(){this.nowDate=new Date,this.today=null,this.now=null,this.localTimezoneOffset=null},today:null,now:null}},3425:(he,A,o)=>{var n={};const l=o(2563),u=o(9397),c=l.FP_DateTime;n.now=function(){if(!u.now){var d=c.isoDateTime(u.nowDate);u.now=new c(d)}return u.now},n.today=function(){if(!u.today){var d=c.isoDate(u.nowDate);u.today=new c(d)}return u.today},he.exports=n},9640:(he,A,o)=>{var l=o(2563).FP_Type,u=o(4569),c=o(5192),r=Array.prototype.slice,d=Object.keys,m=function(C){return"[object Arguments]"==Object.prototype.toString.call(C)};function p(C){return"string"==typeof C||C instanceof String}function y(C){return!isNaN(parseFloat(C))&&isFinite(C)}function b(C){return C.toUpperCase().replace(/\s+/," ")}var h=function(C,P,w){if(w||(w={}),(C=u.valData(C))===(P=u.valData(P)))return!0;if(w.fuzzy){if(p(C)&&p(P))return b(C)==b(P);if(y(C)&&y(P))return c.isEquivalent(C,P)}else if("number"==typeof C&&"number"==typeof P)return c.isEqual(C,P);if(C instanceof Date&&P instanceof Date)return C.getTime()===P.getTime();if(!C||!P||"object"!=typeof C&&"object"!=typeof P)return w.strict?C===P:C==P;var D=C instanceof l,T=P instanceof l;if(D&&T)return w.fuzzy?C.equivalentTo(P):C.equals(P);if(D||T){let Y,$;D?(Y=C,$=P):(Y=P,$=C);let z="string"==typeof $;if(z){let G=Y.constructor.checkString($);z=!!G&&(w.fuzzy?C.equivalentTo(G):Y.equals(G))}return z}return function(C,P,w){var D,T;if(g(C)||g(P)||C.prototype!==P.prototype)return!1;if(m(C)||m(P))return C=m(C)?r.call(C):C,P=m(P)?r.call(P):P,h(C,P,w);try{var Y=d(C),$=d(P)}catch(z){return!1}if(Y.length!=$.length)return!1;for(Y.sort(),$.sort(),D=Y.length-1;D>=0;D--)if(Y[D]!=$[D])return!1;if(1===Y.length)return h(C[T=Y[0]],P[T],w);for(D=Y.length-1;D>=0;D--)if(!h(C[T=Y[D]],P[T],w))return!1;return typeof C==typeof P}(C,P,w)};function g(C){return null==C}he.exports=h},2066:(he,A,o)=>{var n=o(4569),l=o(9640),u=o(2563);const c=u.FP_Type,r=u.FP_DateTime,d=u.FP_Time;var m={};function p(h,g){return n.isEmpty(h)||n.isEmpty(g)?[]:l(h,g)}function y(h,g){return n.isEmpty(h)&&n.isEmpty(g)?[!0]:n.isEmpty(h)||n.isEmpty(g)?[]:l(h,g,{fuzzy:!0})}function b(h,g){let s=null;n.assertAtMostOne(h,"Singleton was expected"),n.assertAtMostOne(g,"Singleton was expected"),h=n.valData(h[0]),g=n.valData(g[0]);let C=h.constructor,P=g.constructor;var w;return C!=P&&(C!==String||P!==r&&P!==d?P===String&&(C===r||C===d)&&(w=C.checkString(g))&&(s=[h,w]):(w=P.checkString(h))&&(s=[w,g]),s||n.raiseError('Type of "'+h+'" ('+C.name+') did not match type of "'+g+'" ('+P.name+")","InequalityExpression")),s||[h,g]}m.equal=function(h,g){return p(h,g)},m.unequal=function(h,g){var s=p(h,g);return void 0===s?void 0:!s},m.equival=function(h,g){return y(h,g)},m.unequival=function(h,g){return!y(h,g)},m.lt=function(h,g){if(!h.length||!g.length)return[];const[s,C]=b(h,g);if(s instanceof c){const P=s.compare(C);return null===P?[]:P<0}return s0}return s>C},m.lte=function(h,g){if(!h.length||!g.length)return[];const[s,C]=b(h,g);if(s instanceof c){const P=s.compare(C);return null===P?[]:P<=0}return s<=C},m.gte=function(h,g){if(!h.length||!g.length)return[];const[s,C]=b(h,g);if(s instanceof c){const P=s.compare(C);return null===P?[]:P>=0}return s>=C},he.exports=m},6127:(he,A,o)=>{const n=o(4569),l=o(8774),u=o(9502),c={};function r(p){return JSON.stringify(d(p))}function d(p){return"object"==typeof p?Array.isArray(p)?p.map(d):Object.keys(p).sort().reduce((y,b)=>(y[b]=d(p[b]),y),{}):p}function m(p,y){let b=p.length<=y.length;if(b){var h={};for(let g=0,s=p.length;g0){let b={};for(let h=0,g=p.length;h{const n=o(9410),l=o(4569);o(7070);const u=o(9397);let c={},r=o(6127),d=o(8774),m=o(3853),p=o(7561),y=o(9502),b=o(2066),h=o(3142),g=o(2492),s=o(9835),C=o(5948),P=o(3425),w=o(2306);const D=o(2563),{FP_DateTime:T,FP_Time:Y,FP_Quantity:$,FP_Type:z,ResourceNode:G,TypeInfo:X}=D;let Q=G.makeResNode;function q(ie,le,Ce,Te){if("Expr"===Ce)return function(tt){return ie.$this=tt,c.doEval(ie,l.arraify(tt),Te)};if("AnyAtRoot"===Ce)return ie.$this=ie.dataRoot,c.doEval(ie,ie.dataRoot,Te);if("Identifier"===Ce){if("TermExpression"==Te.type)return Te.text;throw new Error("Expected identifier node, got "+JSON.stringify(Te))}if("TypeSpecifier"===Ce)return c.TypeSpecifier(ie,le,Te);ie.$this=le;var Ke=c.doEval(ie,le,Te);if("Any"===Ce)return Ke;if(Array.isArray(Ce)){if(0==Ke.length)return[];Ce=Ce[0]}return y.singleton(Ke,Ce)}function me(ie){return null==ie||l.isEmpty(ie)}function xe(ie,le,Ce,Te){var Ke=c.invocationTable[le];if(Ke&&Ke.fn){var tt=Te?Te.length:0;if(2!=tt)throw new Error("Infix invoke should have arity 2");var ot=Ke.arity[tt];if(ot){for(var pt=[],Dt=0;Dt":{fn:b.gt,arity:{2:["Any","Any"]},nullable:!0},"<=":{fn:b.lte,arity:{2:["Any","Any"]},nullable:!0},">=":{fn:b.gte,arity:{2:["Any","Any"]},nullable:!0},containsOp:{fn:h.contains,arity:{2:["Any","Any"]}},inOp:{fn:h.in,arity:{2:["Any","Any"]}},isOp:{fn:D.isFn,arity:{2:["Any","TypeSpecifier"]}},"&":{fn:g.amp,arity:{2:["String","String"]}},"+":{fn:g.plus,arity:{2:["Any","Any"]},nullable:!0},"-":{fn:g.minus,arity:{2:["Any","Any"]},nullable:!0},"*":{fn:g.mul,arity:{2:["Number","Number"]},nullable:!0},"/":{fn:g.div,arity:{2:["Number","Number"]},nullable:!0},mod:{fn:g.mod,arity:{2:["Number","Number"]},nullable:!0},div:{fn:g.intdiv,arity:{2:["Number","Number"]},nullable:!0},or:{fn:w.orOp,arity:{2:[["Boolean"],["Boolean"]]}},and:{fn:w.andOp,arity:{2:[["Boolean"],["Boolean"]]}},xor:{fn:w.xorOp,arity:{2:[["Boolean"],["Boolean"]]}},implies:{fn:w.impliesOp,arity:{2:[["Boolean"],["Boolean"]]}}},c.InvocationExpression=function(ie,le,Ce){return Ce.children.reduce(function(Te,Ke){return c.doEval(ie,Te,Ke)},le)},c.TermExpression=function(ie,le,Ce){return le&&(le=le.map(Te=>Te instanceof Object&&Te.resourceType?Q(Te,Te.resourceType):Te)),c.doEval(ie,le,Ce.children[0])},c.PolarityExpression=function(ie,le,Ce){var Te=Ce.terminalNodeText[0],Ke=c.doEval(ie,le,Ce.children[0]);if(1!=Ke.length)throw new Error("Unary "+Te+" can only be applied to an individual number.");if("number"!=typeof Ke[0]||isNaN(Ke[0]))throw new Error("Unary "+Te+" can only be applied to a number.");return"-"===Te&&(Ke[0]=-Ke[0]),Ke},c.TypeSpecifier=function(ie,le,Ce){let Te,Ke;const tt=Ce.text.split(".").map(ot=>ot.replace(/(^`|`$)/g,""));switch(tt.length){case 2:[Te,Ke]=tt;break;case 1:[Ke]=tt;break;default:throw new Error("Expected TypeSpecifier node, got "+JSON.stringify(Ce))}return new X({namespace:Te,name:Ke})},c.ExternalConstantTerm=function(ie,le,Ce){var tt=c.Identifier(ie,le,Ce.children[0].children[0])[0],ot=ie.vars[tt];if(!(tt in ie.vars))throw new Error("Attempting to access an undefined environment variable: "+tt);return null==ot?[]:ot instanceof Array?ot:[ot]},c.LiteralTerm=function(ie,le,Ce){var Te=Ce.children[0];return Te?c.doEval(ie,le,Te):[Ce.text]},c.StringLiteral=function(ie,le,Ce){var Te=Ce.text.replace(/(^'|'$)/g,"");return[Te=Te.replace(/\\(u\d{4}|.)/g,function(Ke,tt){switch(Ke){case"\\r":return"\r";case"\\n":return"\n";case"\\t":return"\t";case"\\f":return"\f";default:return tt.length>1?String.fromCharCode("0x"+tt.slice(1)):tt}})]},c.BooleanLiteral=function(ie,le,Ce){return"true"===Ce.text?[!0]:[!1]},c.QuantityLiteral=function(ie,le,Ce){var Te=Ce.children[0],Ke=Number(Te.terminalNodeText[0]),tt=Te.children[0],ot=tt.terminalNodeText[0];return!ot&&tt.children&&(ot=tt.children[0].terminalNodeText[0]),[new $(Ke,ot)]},c.DateTimeLiteral=function(ie,le,Ce){var Te=Ce.text.slice(1);return[new T(Te)]},c.TimeLiteral=function(ie,le,Ce){var Te=Ce.text.slice(1);return[new Y(Te)]},c.NumberLiteral=function(ie,le,Ce){return[Number(Ce.text)]},c.Identifier=function(ie,le,Ce){return[Ce.text.replace(/(^`|`$)/g,"")]},c.InvocationTerm=function(ie,le,Ce){return c.doEval(ie,le,Ce.children[0])},c.MemberInvocation=function(ie,le,Ce){const Te=c.doEval(ie,le,Ce.children[0])[0],Ke=ie.model;return le?l.isCapitalized(Te)?le.filter(tt=>tt instanceof G&&tt.path===Te):le.reduce(function(tt,ot){var pt=(ot=Q(ot)).path+"."+Te;if(Ke){let ct=Ke.pathsDefinedElsewhere[pt];ct&&(pt=ct)}let Dt,Ie,Qe=Ke&&Ke.choiceTypePaths[pt];if(Qe)for(let ct of Qe){if(Dt=ot.data[Te+ct],void 0!==Dt){pt=ct,Ie=ot.data["_"+Te];break}Dt=ot._data[Te]}else Dt=ot.data[Te],void 0!==Dt?Ie=ot.data["_"+Te]:Dt=ot._data[Te],"extension"===Te&&(pt="Extension");return l.isSome(Dt)&&(Array.isArray(Dt)?tt=tt.concat(Dt.map((ct,bt)=>Q(ct,pt,Ie&&Ie[bt]))):tt.push(Q(Dt,pt,Ie))),tt},[]):[]},c.IndexerExpression=function(ie,le,Ce){const Ke=Ce.children[1];var tt=c.doEval(ie,le,Ce.children[0]),ot=c.doEval(ie,le,Ke);if(l.isEmpty(ot))return[];var pt=parseInt(ot[0]);return tt&&l.isSome(pt)&&tt.length>pt&&pt>=0?[tt[pt]]:[]},c.Functn=function(ie,le,Ce){return Ce.children.map(function(Te){return c.doEval(ie,le,Te)})},c.realizeParams=function(ie,le,Ce){return Ce&&Ce[0]&&Ce[0].children?Ce[0].children.map(function(Te){return c.doEval(ie,le,Te)}):[]},c.FunctionInvocation=function(ie,le,Ce){var Te=c.doEval(ie,le,Ce.children[0]);const Ke=Te[0];return Te.shift(),function(ie,le,Ce,Te){var tt,Ke=c.invocationTable[le];if(Ke){if(Ke.arity){var ot=Te?Te.length:0,pt=Ke.arity[ot];if(pt){for(var Dt=[],Ie=0;Ie{const n=o(4569),{TypeInfo:l,ResourceNode:u}=o(2563);he.exports={whereMacro:function(r,d){return!1===r||r?n.flatten(r.filter((m,p)=>(this.$index=p,d(m)[0]))):[]},extension:function(r,d){return!1!==r&&!r||!d?[]:n.flatten(r.map((m,p)=>{this.$index=p;const y=m&&(m.data&&m.data.extension||m._data&&m._data.extension);return y?y.filter(b=>b.url===d).map(b=>u.makeResNode(b,"Extension")):[]}))},selectMacro:function(r,d){return!1===r||r?n.flatten(r.map((m,p)=>(this.$index=p,d(m)))):[]},repeatMacro:function(r,d){if(!1!==r&&!r)return[];for(var m=[],p=r,b=null;0!=p.length;)(b=d(p.shift()))&&(m=m.concat(b),p=p.concat(b));return m},singleFn:function(r){return 1==r.length?r:0==r.length?[]:{$status:"error",$error:"Expected single"}},firstFn:function(r){return r[0]},lastFn:function(r){return r[r.length-1]},tailFn:function(r){return r.slice(1,r.length)},takeFn:function(r,d){return r.slice(0,d)},skipFn:function(r,d){return r.slice(d,r.length)},ofTypeFn:function(r,d){return r.filter(m=>l.fromValue(m).is(d))}}},2306:he=>{he.exports={orOp:function(o,n){if(Array.isArray(n)){if(!0===o)return!0;if(!1===o)return[];if(Array.isArray(o))return[]}return Array.isArray(o)?!0===n||[]:o||n},andOp:function(o,n){if(Array.isArray(n)){if(!0===o)return[];if(!1===o)return!1;if(Array.isArray(o))return[]}return Array.isArray(o)?!0===n&&[]:o&&n},xorOp:function(o,n){return Array.isArray(o)||Array.isArray(n)?[]:o&&!n||!o&&n},impliesOp:function(o,n){if(Array.isArray(n)){if(!0===o)return[];if(!1===o)return!0;if(Array.isArray(o))return[]}return Array.isArray(o)?!0===n||[]:!1===o||o&&n}}},2492:(he,A,o)=>{var n=o(2563);let{FP_TimeBase:l,FP_Quantity:u}=n;const c=o(4569);var r={};function d(p){let y=c.valData(p);if("number"!=typeof y){if(1==y.length&&"number"==typeof(y=c.valData(y[0])))return y;throw new Error("Expected number, but got "+JSON.stringify(y||p))}return y}function m(p){return"number"!=typeof p&&0==p.length}r.amp=function(p,y){return(p||"")+(y||"")},r.plus=function(p,y){if(1==p.length&&1==y.length){var b=c.valData(p[0]),h=c.valData(y[0]);if("string"==typeof b&&"string"==typeof h||"number"==typeof b&&"number"==typeof h)return b+h;if(b instanceof l&&h instanceof u)return b.plus(h)}throw new Error("Cannot "+JSON.stringify(p)+" + "+JSON.stringify(y))},r.minus=function(p,y){if(1==p.length&&1==y.length){var b=c.valData(p[0]),h=c.valData(y[0]);if("number"==typeof b&&"number"==typeof h)return b-h;if(b instanceof l&&h instanceof u)return b.plus(new u(-h.value,h.unit))}throw new Error("Cannot "+JSON.stringify(p)+" - "+JSON.stringify(y))},r.mul=function(p,y){return p*y},r.div=function(p,y){return p/y},r.intdiv=function(p,y){return Math.floor(p/y)},r.mod=function(p,y){return p%y},r.abs=function(p){if(m(p))return[];{let y=d(p);return Math.abs(y)}},r.ceiling=function(p){if(m(p))return[];{let y=d(p);return Math.ceil(y)}},r.exp=function(p){if(m(p))return[];{let y=d(p);return Math.exp(y)}},r.floor=function(p){if(m(p))return[];{let y=d(p);return Math.floor(y)}},r.ln=function(p){if(m(p))return[];{let y=d(p);return Math.log(y)}},r.log=function(p,y){if(m(p)||m(y))return[];{let b=d(p),h=d(y);return Math.log(b)/Math.log(h)}},r.power=function(p,y){if(m(p)||m(y))return[];{let b=d(p),h=d(y);return b<0&&Math.floor(h)!=h?[]:Math.pow(b,h)}},r.round=function(p,y){if(m(p))return[];{let b=d(p);if(m(y))return Math.round(b);{let h=d(y),g=Math.pow(10,h);return Math.round(b*g)/g}}},r.sqrt=function(p){if(m(p))return[];{let y=d(p);return y<0?[]:Math.sqrt(y)}},r.truncate=function(p){if(m(p))return[];{let y=d(p);return Math.trunc(y)}},he.exports=r},9502:(he,A,o)=>{var n=o(4569),l=o(2563);const{FP_Quantity:u}=l;var c={iifMacro:function(s,C,P,w){return n.isTrue(C(s))?P(s):w?w(s):[]},traceFn:function(s,C){return console.log("TRACE:["+(C||"")+"]",JSON.stringify(s,null," ")),s}},r=/^[+-]?\d+$/;c.toInteger=function(s){if(1!==s.length)return[];var C=n.valData(s[0]);return!1===C?0:!0===C?1:"number"==typeof C?Number.isInteger(C)?C:[]:"string"==typeof C&&r.test(C)?parseInt(C):[]};const d=/^((\+|-)?\d+(\.\d+)?)\s*(('[^']+')|([a-zA-Z]+))?$/;c.toQuantity=function(s,C){let P;if(C&&!u.mapTimeUnitsToUCUMCode[C]&&(C=`'${C}'`),s.length>1)throw new Error("Could not convert to quantity: input collection contains multiple items");if(1===s.length){const D=n.valData(s[0]);let T;if("number"==typeof D)P=new u(D,"'1'");else if(D instanceof u)P=D;else if("boolean"==typeof D)P=new u(D?1:0,"'1'");else if("string"==typeof D&&(T=d.exec(D))){const Y=T[1],$=T[5],z=T[6];(!z||u.mapTimeUnitsToUCUMCode[z])&&(P=new u(Number(Y),$||z||"'1'"))}P&&C&&P.unit!==C&&(P=u.convUnitTo(P.unit,P.value,C))}return P||[]};var p=/^[+-]?\d+(\.\d+)?$/;function y(s){let C=s.slice(3);c["to"+C]=function(P){var w=[];if(P.length>1)throw Error("to "+C+" called for a collection of length "+P.length);if(1===P.length){var D=l[s].checkString(n.valData(P[0]));D&&(w=D)}return w}}c.toDecimal=function(s){if(1!==s.length)return[];var C=n.valData(s[0]);return!1===C?0:!0===C?1:"number"==typeof C?C:"string"==typeof C&&p.test(C)?parseFloat(C):[]},c.toString=function(s){return 1!==s.length?[]:n.valData(s[0]).toString()},y("FP_DateTime"),y("FP_Time");const b=["true","t","yes","y","1","1.0"].reduce((s,C)=>(s[C]=!0,s),{}),h=["false","f","no","n","0","0.0"].reduce((s,C)=>(s[C]=!0,s),{});c.toBoolean=function(s){if(1!==s.length)return[];const C=n.valData(s[0]);switch(typeof C){case"boolean":return C;case"number":if(1===C)return!0;if(0===C)return!1;break;case"string":const P=C.toLowerCase();if(b[P])return!0;if(h[P])return!1}return[]},c.createConvertsToFn=function(s,C){return"string"==typeof C?function(P){return 1!==P.length?[]:typeof s(P)===C}:function(P){return 1!==P.length?[]:s(P)instanceof C}};const g={Integer:function(s){const C=n.valData(s[0]);if(Number.isInteger(C))return C},Boolean:function(s){const C=n.valData(s[0]);return!0===C||!1===C?C:1===s.length||void 0},Number:function(s){const C=n.valData(s[0]);if("number"==typeof C)return C},String:function(s){const C=n.valData(s[0]);if("string"==typeof C)return C}};c.singleton=function(s,C){if(s.length>1)throw new Error("Unexpected collection"+JSON.stringify(s)+"; expected singleton of type "+C);if(0===s.length)return[];const P=g[C];if(P){const w=P(s);if(void 0!==w)return w;throw new Error(`Expected ${C.toLowerCase()}, but got: ${JSON.stringify(s)}`)}throw new Error("Not supported type "+C)},he.exports=c},5948:(he,A,o)=>{const n=o(4569),{ResourceNode:l}=o(2563);let u=l.makeResNode;var c={children:function(r){let d=this.model;return r.reduce(function(m,p){let y=n.valData(p);if(p=u(p),"object"==typeof y){for(var b of Object.keys(y)){var h=y[b],g=p.path+"."+b;if(d){let s=d.pathsDefinedElsewhere[g];s&&(g=s)}Array.isArray(h)?m.push.apply(m,h.map(s=>u(s,g))):m.push(u(h,g))}return m}return m},[])},descendants:function(r){for(var d=c.children.call(this,r),m=[];d.length>0;)m.push.apply(m,d),d=c.children.call(this,d);return m}};he.exports=c},5192:he=>{let A={};function o(c){const d=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +c);if(!d)return 0;const m=d[2];return Math.max(0,("0"===m?0:(m||"").length)-(d[3]||0))}function n(c,r){const d=Math.pow(10,r);return Math.round(c*d)/d}function u(c){return 1e-8*Math.round(c/1e-8)}A.isEquivalent=function(c,r){if(Number.isInteger(c)&&Number.isInteger(r))return c===r;const d=Math.min(o(c),o(r));return 0===d?Math.round(c)===Math.round(r):n(c,d)===n(r,d)},A.isEqual=function(c,r){return u(c)===u(r)},he.exports=A},4981:(he,A,o)=>{A.atn=o(8900),A.codepointat=o(4185),A.dfa=o(8985),A.fromcodepoint=o(9767),A.tree=o(6722),A.error=o(8553),A.Token=o(8443).Token,A.CommonToken=o(8443).CommonToken,A.InputStream=o(7500).InputStream,A.CommonTokenStream=o(2430).CommonTokenStream,A.Lexer=o(3805).Lexer,A.Parser=o(6554).Parser;var n=o(4825);A.PredictionContextCache=n.PredictionContextCache,A.ParserRuleContext=o(911).ParserRuleContext,A.Interval=o(210).Interval,A.Utils=o(8065)},4621:(he,A,o)=>{var n=o(4981),l=["\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(""),u=(new n.atn.ATNDeserializer).deserialize(l),c=u.decisionToState.map(function(d,m){return new n.dfa.DFA(d,m)});function r(d){return n.Lexer.call(this,d),this._interp=new n.atn.LexerATNSimulator(this,u,c,new n.PredictionContextCache),this}(r.prototype=Object.create(n.Lexer.prototype)).constructor=r,Object.defineProperty(r.prototype,"atn",{get:function(){return u}}),r.EOF=n.Token.EOF,r.T__0=1,r.T__1=2,r.T__2=3,r.T__3=4,r.T__4=5,r.T__5=6,r.T__6=7,r.T__7=8,r.T__8=9,r.T__9=10,r.T__10=11,r.T__11=12,r.T__12=13,r.T__13=14,r.T__14=15,r.T__15=16,r.T__16=17,r.T__17=18,r.T__18=19,r.T__19=20,r.T__20=21,r.T__21=22,r.T__22=23,r.T__23=24,r.T__24=25,r.T__25=26,r.T__26=27,r.T__27=28,r.T__28=29,r.T__29=30,r.T__30=31,r.T__31=32,r.T__32=33,r.T__33=34,r.T__34=35,r.T__35=36,r.T__36=37,r.T__37=38,r.T__38=39,r.T__39=40,r.T__40=41,r.T__41=42,r.T__42=43,r.T__43=44,r.T__44=45,r.T__45=46,r.T__46=47,r.T__47=48,r.T__48=49,r.T__49=50,r.T__50=51,r.T__51=52,r.T__52=53,r.T__53=54,r.DATETIME=55,r.TIME=56,r.IDENTIFIER=57,r.DELIMITEDIDENTIFIER=58,r.STRING=59,r.NUMBER=60,r.WS=61,r.COMMENT=62,r.LINE_COMMENT=63,r.prototype.channelNames=["DEFAULT_TOKEN_CHANNEL","HIDDEN"],r.prototype.modeNames=["DEFAULT_MODE"],r.prototype.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'"],r.prototype.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"],r.prototype.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"],r.prototype.grammarFileName="FHIRPath.g4",A.a=r},4303:(he,A,o)=>{var n=o(4981);function l(){return n.tree.ParseTreeListener.call(this),this}(l.prototype=Object.create(n.tree.ParseTreeListener.prototype)).constructor=l,l.prototype.enterEntireExpression=function(u){},l.prototype.exitEntireExpression=function(u){},l.prototype.enterIndexerExpression=function(u){},l.prototype.exitIndexerExpression=function(u){},l.prototype.enterPolarityExpression=function(u){},l.prototype.exitPolarityExpression=function(u){},l.prototype.enterAdditiveExpression=function(u){},l.prototype.exitAdditiveExpression=function(u){},l.prototype.enterMultiplicativeExpression=function(u){},l.prototype.exitMultiplicativeExpression=function(u){},l.prototype.enterUnionExpression=function(u){},l.prototype.exitUnionExpression=function(u){},l.prototype.enterOrExpression=function(u){},l.prototype.exitOrExpression=function(u){},l.prototype.enterAndExpression=function(u){},l.prototype.exitAndExpression=function(u){},l.prototype.enterMembershipExpression=function(u){},l.prototype.exitMembershipExpression=function(u){},l.prototype.enterInequalityExpression=function(u){},l.prototype.exitInequalityExpression=function(u){},l.prototype.enterInvocationExpression=function(u){},l.prototype.exitInvocationExpression=function(u){},l.prototype.enterEqualityExpression=function(u){},l.prototype.exitEqualityExpression=function(u){},l.prototype.enterImpliesExpression=function(u){},l.prototype.exitImpliesExpression=function(u){},l.prototype.enterTermExpression=function(u){},l.prototype.exitTermExpression=function(u){},l.prototype.enterTypeExpression=function(u){},l.prototype.exitTypeExpression=function(u){},l.prototype.enterInvocationTerm=function(u){},l.prototype.exitInvocationTerm=function(u){},l.prototype.enterLiteralTerm=function(u){},l.prototype.exitLiteralTerm=function(u){},l.prototype.enterExternalConstantTerm=function(u){},l.prototype.exitExternalConstantTerm=function(u){},l.prototype.enterParenthesizedTerm=function(u){},l.prototype.exitParenthesizedTerm=function(u){},l.prototype.enterNullLiteral=function(u){},l.prototype.exitNullLiteral=function(u){},l.prototype.enterBooleanLiteral=function(u){},l.prototype.exitBooleanLiteral=function(u){},l.prototype.enterStringLiteral=function(u){},l.prototype.exitStringLiteral=function(u){},l.prototype.enterNumberLiteral=function(u){},l.prototype.exitNumberLiteral=function(u){},l.prototype.enterDateTimeLiteral=function(u){},l.prototype.exitDateTimeLiteral=function(u){},l.prototype.enterTimeLiteral=function(u){},l.prototype.exitTimeLiteral=function(u){},l.prototype.enterQuantityLiteral=function(u){},l.prototype.exitQuantityLiteral=function(u){},l.prototype.enterExternalConstant=function(u){},l.prototype.exitExternalConstant=function(u){},l.prototype.enterMemberInvocation=function(u){},l.prototype.exitMemberInvocation=function(u){},l.prototype.enterFunctionInvocation=function(u){},l.prototype.exitFunctionInvocation=function(u){},l.prototype.enterThisInvocation=function(u){},l.prototype.exitThisInvocation=function(u){},l.prototype.enterIndexInvocation=function(u){},l.prototype.exitIndexInvocation=function(u){},l.prototype.enterTotalInvocation=function(u){},l.prototype.exitTotalInvocation=function(u){},l.prototype.enterFunctn=function(u){},l.prototype.exitFunctn=function(u){},l.prototype.enterParamList=function(u){},l.prototype.exitParamList=function(u){},l.prototype.enterQuantity=function(u){},l.prototype.exitQuantity=function(u){},l.prototype.enterUnit=function(u){},l.prototype.exitUnit=function(u){},l.prototype.enterDateTimePrecision=function(u){},l.prototype.exitDateTimePrecision=function(u){},l.prototype.enterPluralDateTimePrecision=function(u){},l.prototype.exitPluralDateTimePrecision=function(u){},l.prototype.enterTypeSpecifier=function(u){},l.prototype.exitTypeSpecifier=function(u){},l.prototype.enterQualifiedIdentifier=function(u){},l.prototype.exitQualifiedIdentifier=function(u){},l.prototype.enterIdentifier=function(u){},l.prototype.exitIdentifier=function(u){},A.q=l},8974:(he,A,o)=>{var n=o(4981),l=o(4303).q,c=["\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\x03P","\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 n.atn.ATNDeserializer).deserialize(c),d=r.decisionToState.map(function(_,x){return new n.dfa.DFA(_,x)}),m=new n.PredictionContextCache,p=[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'"],y=[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"],b=["entireExpression","expression","term","literal","externalConstant","invocation","functn","paramList","quantity","unit","dateTimePrecision","pluralDateTimePrecision","typeSpecifier","qualifiedIdentifier","identifier"];function h(_){return n.Parser.call(this,_),this._interp=new n.atn.ParserATNSimulator(this,r,d,m),this.ruleNames=b,this.literalNames=p,this.symbolicNames=y,this}function g(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_entireExpression,this}function s(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_expression,this}function C(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function P(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function w(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function D(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function T(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function Y(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function $(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function z(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function G(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function X(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function Q(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function q(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function ue(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function me(_,x){return s.call(this,_),s.prototype.copyFrom.call(this,x),this}function xe(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_term,this}function pe(_,x){return xe.call(this,_),xe.prototype.copyFrom.call(this,x),this}function oe(_,x){return xe.call(this,_),xe.prototype.copyFrom.call(this,x),this}function ae(_,x){return xe.call(this,_),xe.prototype.copyFrom.call(this,x),this}function U(_,x){return xe.call(this,_),xe.prototype.copyFrom.call(this,x),this}function ie(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_literal,this}function le(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function Ce(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function Te(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function Ke(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function tt(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function ot(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function pt(_,x){return ie.call(this,_),ie.prototype.copyFrom.call(this,x),this}function Dt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_externalConstant,this}function Ie(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_invocation,this}function Qe(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function ct(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function bt(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function Et(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function xt(_,x){return Ie.call(this,_),Ie.prototype.copyFrom.call(this,x),this}function dt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_functn,this}function Ne(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_paramList,this}function rt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_quantity,this}function ze(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_unit,this}function yt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_dateTimePrecision,this}function mt(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_pluralDateTimePrecision,this}function _e(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_typeSpecifier,this}function Z(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_qualifiedIdentifier,this}function j(_,x,N){return void 0===x&&(x=null),null==N&&(N=-1),n.ParserRuleContext.call(this,x,N),this.parser=_,this.ruleIndex=h.RULE_identifier,this}(h.prototype=Object.create(n.Parser.prototype)).constructor=h,Object.defineProperty(h.prototype,"atn",{get:function(){return r}}),h.EOF=n.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,h.RULE_entireExpression=0,h.RULE_expression=1,h.RULE_term=2,h.RULE_literal=3,h.RULE_externalConstant=4,h.RULE_invocation=5,h.RULE_functn=6,h.RULE_paramList=7,h.RULE_quantity=8,h.RULE_unit=9,h.RULE_dateTimePrecision=10,h.RULE_pluralDateTimePrecision=11,h.RULE_typeSpecifier=12,h.RULE_qualifiedIdentifier=13,h.RULE_identifier=14,(g.prototype=Object.create(n.ParserRuleContext.prototype)).constructor=g,g.prototype.expression=function(){return this.getTypedRuleContext(s,0)},g.prototype.EOF=function(){return this.getToken(h.EOF,0)},g.prototype.enterRule=function(_){_ instanceof l&&_.enterEntireExpression(this)},g.prototype.exitRule=function(_){_ instanceof l&&_.exitEntireExpression(this)},h.EntireExpressionContext=g,h.prototype.entireExpression=function(){var _=new g(this,this._ctx,this.state);this.enterRule(_,0,h.RULE_entireExpression);try{this.enterOuterAlt(_,1),this.state=30,this.expression(0),this.state=31,this.match(h.EOF)}catch(x){if(!(x instanceof n.error.RecognitionException))throw x;_.exception=x,this._errHandler.reportError(this,x),this._errHandler.recover(this,x)}finally{this.exitRule()}return _},(s.prototype=Object.create(n.ParserRuleContext.prototype)).constructor=s,s.prototype.copyFrom=function(_){n.ParserRuleContext.prototype.copyFrom.call(this,_)},(C.prototype=Object.create(s.prototype)).constructor=C,h.IndexerExpressionContext=C,C.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},C.prototype.enterRule=function(_){_ instanceof l&&_.enterIndexerExpression(this)},C.prototype.exitRule=function(_){_ instanceof l&&_.exitIndexerExpression(this)},(P.prototype=Object.create(s.prototype)).constructor=P,h.PolarityExpressionContext=P,P.prototype.expression=function(){return this.getTypedRuleContext(s,0)},P.prototype.enterRule=function(_){_ instanceof l&&_.enterPolarityExpression(this)},P.prototype.exitRule=function(_){_ instanceof l&&_.exitPolarityExpression(this)},(w.prototype=Object.create(s.prototype)).constructor=w,h.AdditiveExpressionContext=w,w.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},w.prototype.enterRule=function(_){_ instanceof l&&_.enterAdditiveExpression(this)},w.prototype.exitRule=function(_){_ instanceof l&&_.exitAdditiveExpression(this)},(D.prototype=Object.create(s.prototype)).constructor=D,h.MultiplicativeExpressionContext=D,D.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},D.prototype.enterRule=function(_){_ instanceof l&&_.enterMultiplicativeExpression(this)},D.prototype.exitRule=function(_){_ instanceof l&&_.exitMultiplicativeExpression(this)},(T.prototype=Object.create(s.prototype)).constructor=T,h.UnionExpressionContext=T,T.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},T.prototype.enterRule=function(_){_ instanceof l&&_.enterUnionExpression(this)},T.prototype.exitRule=function(_){_ instanceof l&&_.exitUnionExpression(this)},(Y.prototype=Object.create(s.prototype)).constructor=Y,h.OrExpressionContext=Y,Y.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},Y.prototype.enterRule=function(_){_ instanceof l&&_.enterOrExpression(this)},Y.prototype.exitRule=function(_){_ instanceof l&&_.exitOrExpression(this)},($.prototype=Object.create(s.prototype)).constructor=$,h.AndExpressionContext=$,$.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},$.prototype.enterRule=function(_){_ instanceof l&&_.enterAndExpression(this)},$.prototype.exitRule=function(_){_ instanceof l&&_.exitAndExpression(this)},(z.prototype=Object.create(s.prototype)).constructor=z,h.MembershipExpressionContext=z,z.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},z.prototype.enterRule=function(_){_ instanceof l&&_.enterMembershipExpression(this)},z.prototype.exitRule=function(_){_ instanceof l&&_.exitMembershipExpression(this)},(G.prototype=Object.create(s.prototype)).constructor=G,h.InequalityExpressionContext=G,G.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},G.prototype.enterRule=function(_){_ instanceof l&&_.enterInequalityExpression(this)},G.prototype.exitRule=function(_){_ instanceof l&&_.exitInequalityExpression(this)},(X.prototype=Object.create(s.prototype)).constructor=X,h.InvocationExpressionContext=X,X.prototype.expression=function(){return this.getTypedRuleContext(s,0)},X.prototype.invocation=function(){return this.getTypedRuleContext(Ie,0)},X.prototype.enterRule=function(_){_ instanceof l&&_.enterInvocationExpression(this)},X.prototype.exitRule=function(_){_ instanceof l&&_.exitInvocationExpression(this)},(Q.prototype=Object.create(s.prototype)).constructor=Q,h.EqualityExpressionContext=Q,Q.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},Q.prototype.enterRule=function(_){_ instanceof l&&_.enterEqualityExpression(this)},Q.prototype.exitRule=function(_){_ instanceof l&&_.exitEqualityExpression(this)},(q.prototype=Object.create(s.prototype)).constructor=q,h.ImpliesExpressionContext=q,q.prototype.expression=function(_){return void 0===_&&(_=null),null===_?this.getTypedRuleContexts(s):this.getTypedRuleContext(s,_)},q.prototype.enterRule=function(_){_ instanceof l&&_.enterImpliesExpression(this)},q.prototype.exitRule=function(_){_ instanceof l&&_.exitImpliesExpression(this)},(ue.prototype=Object.create(s.prototype)).constructor=ue,h.TermExpressionContext=ue,ue.prototype.term=function(){return this.getTypedRuleContext(xe,0)},ue.prototype.enterRule=function(_){_ instanceof l&&_.enterTermExpression(this)},ue.prototype.exitRule=function(_){_ instanceof l&&_.exitTermExpression(this)},(me.prototype=Object.create(s.prototype)).constructor=me,h.TypeExpressionContext=me,me.prototype.expression=function(){return this.getTypedRuleContext(s,0)},me.prototype.typeSpecifier=function(){return this.getTypedRuleContext(_e,0)},me.prototype.enterRule=function(_){_ instanceof l&&_.enterTypeExpression(this)},me.prototype.exitRule=function(_){_ instanceof l&&_.exitTypeExpression(this)},h.prototype.expression=function(_){void 0===_&&(_=0);var x=this._ctx,N=this.state,ce=new s(this,this._ctx,N);this.enterRecursionRule(ce,2,h.RULE_expression,_);var ve=0;try{switch(this.enterOuterAlt(ce,1),this.state=37,this._errHandler.sync(this),this._input.LA(1)){case h.T__15:case h.T__16:case h.T__21:case h.T__22:case h.T__27:case h.T__29:case h.T__31:case h.T__32:case h.T__33:case h.T__34:case h.T__35:case h.T__36:case h.DATETIME:case h.TIME:case h.IDENTIFIER:case h.DELIMITEDIDENTIFIER:case h.STRING:case h.NUMBER:ce=new ue(this,ce),this._ctx=ce,this.state=34,this.term();break;case h.T__3:case h.T__4:ce=new P(this,ce),this._ctx=ce,this.state=35,(ve=this._input.LA(1))===h.T__3||ve===h.T__4?(this._errHandler.reportMatch(this),this.consume()):this._errHandler.recoverInline(this),this.state=36,this.expression(11);break;default:throw new n.error.NoViableAltException(this)}this._ctx.stop=this._input.LT(-1),this.state=79,this._errHandler.sync(this);for(var Ae=this._interp.adaptivePredict(this._input,2,this._ctx);2!=Ae&&Ae!=n.atn.ATN.INVALID_ALT_NUMBER;){if(1===Ae)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=77,this._errHandler.sync(this),this._interp.adaptivePredict(this._input,1,this._ctx)){case 1:if(ce=new D(this,new s(this,x,N)),this.pushNewRecursionContext(ce,2,h.RULE_expression),this.state=39,!this.precpred(this._ctx,10))throw new n.error.FailedPredicateException(this,"this.precpred(this._ctx, 10)");this.state=40,0==(-32&(ve=this._input.LA(1)))&&0!=(1<{const n=o(4981),l=o(4621).a,u=o(8974)._,c=o(4303).q;var r=function(m){return n.error.ErrorListener.call(this),this.errors=m,this};(r.prototype=Object.create(n.error.ErrorListener.prototype)).constructor=r,r.prototype.syntaxError=function(m,p,y,b,h,g){this.errors.push([m,p,y,b,h,g])},he.exports={parse:function(m){var p=new n.InputStream(m),y=new l(p),b=new n.CommonTokenStream(y),h=new u(b);h.buildParseTrees=!0;var g=[],s=new r(g);y.removeErrorListeners(),y.addErrorListener(s),h.removeErrorListeners(),h.addErrorListener(s);var C=h.entireExpression();function P(){return c.call(this),this}(P.prototype=Object.create(c.prototype)).constructor=P;var D,w={},T=[w];for(let z of Object.keys(c.prototype))z.startsWith("enter")?P.prototype[z]=function(G){let X=T[T.length-1];(D={type:z.slice(5)}).text=G.getText(),X.children||(X.children=[]),X.children.push(D),T.push(D),D.terminalNodeText=[];for(let q of G.children)q.symbol&&D.terminalNodeText.push(q.getText())}:z.startsWith("exit")&&(P.prototype[z]=function(){T.pop()});var Y=new P;if(n.tree.ParseTreeWalker.DEFAULT.walk(Y,C),g.length>0){let z=[];for(let G=0,X=g.length;G{const he=Function.prototype.call.bind(Array.prototype.slice);Number.isInteger=Number.isInteger||function(A){return"number"==typeof A&&isFinite(A)&&Math.floor(A)===A},String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{value:function(A,o){return this.indexOf(A,o=o||0)===o}}),String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{value:function(A,o){var n=this.toString();(void 0===o||o>n.length)&&(o=n.length);var l=n.indexOf(A,o-=A.length);return-1!==l&&l===o}}),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(A){if(null==A)throw new TypeError("Cannot convert undefined or null to object");return he(arguments,1).reduce(function(o,n){return Object.keys(Object(n)).forEach(function(l){o[l]=n[l]}),o},Object(A))}})},9835:(he,A,o)=>{const n=o(4569),l=o(9502),u={},c={};u.indexOf=function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:y.indexOf(p)},u.substring=function(m,p,y){const b=l.singleton(m,"String");return n.isEmpty(b)||n.isEmpty(p)||p<0||p>=b.length?[]:void 0===y||n.isEmpty(y)?b.substring(p):b.substring(p,p+y)},u.startsWith=function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:y.startsWith(p)},u.endsWith=function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:y.endsWith(p)},u.containsFn=function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:y.includes(p)},u.upper=function(m){const p=l.singleton(m,"String");return n.isEmpty(p)?[]:p.toUpperCase()},u.lower=function(m){const p=l.singleton(m,"String");return n.isEmpty(p)?[]:p.toLowerCase()},u.matches=!1===new RegExp("").dotAll?function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:new RegExp(p,"s").test(y)}:function(m,p){const y=l.singleton(m,"String");return n.isEmpty(p)||n.isEmpty(y)?[]:new RegExp(function(m){return c[m]||(c[m]=m.replace(/\./g,(p,y,b)=>{const g=b.substr(0,y).replace(/\\\\/g,"").replace(/\\[\][]/g,""),s="\\"===g[g.length-1],C=g.lastIndexOf("["),P=g.lastIndexOf("]");return s||C>P?".":"[^]"})),c[m]}(p)).test(y)},u.replace=function(m,p,y){const b=l.singleton(m,"String");if(n.isEmpty(p)||n.isEmpty(y)||n.isEmpty(b))return[];const h=new RegExp(n.escapeStringForRegExp(p),"g");return b.replace(h,y)},u.replaceMatches=function(m,p,y){const b=l.singleton(m,"String");if(n.isEmpty(p)||n.isEmpty(y)||n.isEmpty(b))return[];const h=new RegExp(p,"g");return b.replace(h,y)},u.length=function(m){const p=l.singleton(m,"String");return n.isEmpty(p)?[]:p.length},u.toChars=function(m){const p=l.singleton(m,"String");return n.isEmpty(p)?[]:p.split("")},he.exports=u},2563:(he,A,o)=>{const n=o(8091),l=o(1334).ng.getInstance(),u=o(5192);let r="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",d=new RegExp("^T?"+r+"$"),m=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+r+")?)?)?Z?$");class p{equals(){return!1}equivalentTo(){return!1}toString(){return this.asStr?this.asStr:super.toString()}toJSON(){return this.toString()}compare(){throw"Not implemented"}}class y extends p{constructor(z,G){super(),this.asStr=z+" "+G,this.value=z,this.unit=G}equals(z){if(!(z instanceof this.constructor))return!1;if(this.unit===z.unit)return u.isEqual(this.value,z.value);const G=this._compareYearsAndMonths(z);if(G)return G.isEqual;const X=y.toUcumQuantity(this.value,this.unit),Q=y.toUcumQuantity(z.value,z.unit),q=l.convertUnitTo(Q.unit,Q.value,X.unit);return"succeeded"===q.status&&u.isEqual(X.value,q.toVal)}equivalentTo(z){if(!(z instanceof this.constructor))return!1;if(this.unit===z.unit)return u.isEquivalent(this.value,z.value);const G=y.getEquivalentUcumUnitCode(this.unit),X=y.getEquivalentUcumUnitCode(z.unit),Q=l.convertUnitTo(X,z.value,G);return"succeeded"===Q.status&&u.isEquivalent(this.value,Q.toVal)}_compareYearsAndMonths(z){const G=y._yearMonthConversionFactor[this.unit],X=y._yearMonthConversionFactor[z.unit];return G&&X?{isEqual:u.isEqual(this.value*G,z.value*X)}:null}}const b=/^'|'$/g;y.getEquivalentUcumUnitCode=function($){return y.mapTimeUnitsToUCUMCode[$]||$.replace(b,"")},y.toUcumQuantity=function($,z){const G=y._calendarDuration2Seconds[z];return G?{value:G*$,unit:"s"}:{value:$,unit:z.replace(b,"")}},y.convUnitTo=function($,z,G){const X=y._yearMonthConversionFactor[$],Q=y._yearMonthConversionFactor[G];if(X&&Q)return new y(X*z/Q,G);const q=y._calendarDuration2Seconds[$],ue=y._calendarDuration2Seconds[G];if(ue){if(q)return new y(q*z/ue,G);{const me=l.convertUnitTo($.replace(/^'|'$/g,""),z,"s");if("succeeded"===me.status)return new y(me.toVal/ue,G)}}else{const me=q?l.convertUnitTo("s",q*z,G.replace(/^'|'$/g,"")):l.convertUnitTo($.replace(/^'|'$/g,""),z,G.replace(/^'|'$/g,""));if("succeeded"===me.status)return new y(me.toVal,G)}return null},y._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},y._yearMonthConversionFactor={years:12,months:1,year:12,month:1},y.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"},y.mapUCUMCodeToTimeUnits={a:"year",mo:"month",wk:"week",d:"day",h:"hour",min:"minute",s:"second",ms:"millisecond"},y.mapTimeUnitsToUCUMCode=Object.keys(y.mapUCUMCodeToTimeUnits).reduce(function($,z){return $[y.mapUCUMCodeToTimeUnits[z]]=z,$[y.mapUCUMCodeToTimeUnits[z]+"s"]=z,$},{});class h extends p{constructor(z){super(),this.asStr=z}plus(z){let X=y.arithmeticDurationUnits[z.unit];if(!X)throw new Error("For date/time arithmetic, the unit of the quantity must be one of the following time-based units: "+Object.keys(y.arithmeticDurationUnits));const Q=this.constructor,q=Q._timeUnitToDatePrecision[X];if(void 0===q)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(Q._timeUnitToDatePrecision).join(", ")+".");let ue=z.value;const me=Q===s;if((me?q<2:q<5)&&(ue=Math.trunc(ue)),this._getPrecision()2?new g(ue)._getTimeParts():this._getTimeParts(),pe=Q>2?new g(me)._getTimeParts():z._getTimeParts(),oe=0;oe<=q&&!1!==G;++oe)G=xe[oe]==pe[oe];G&&(G=void 0)}}else G=!1;return G}equivalentTo(z){var G=z instanceof this.constructor;return G&&(G=this._getPrecision()==z._getPrecision())&&(G=this._getDateObj().getTime()==z._getDateObj().getTime()),G}compare(z){var G=this._getPrecision(),X=z._getPrecision(),Q=G<=X?this._getDateObj().getTime():this._dateAtPrecision(X).getTime(),q=X<=G?z._getDateObj().getTime():z._dateAtPrecision(G).getTime();return G!==X&&Q===q?null:Q-q}_getPrecision(){return void 0===this.precision&&this._getMatchData(),this.precision}_getMatchData(z,G){if(void 0===this.timeMatchData&&(this.timeMatchData=this.asStr.match(z),this.timeMatchData))for(let X=G;X>=0&&void 0===this.precision;--X)this.timeMatchData[X]&&(this.precision=X);return this.timeMatchData}_getTimeParts(z){var G=[];G=[z[0]];var X=z[4];if(X){let me=G[0];G[0]=me.slice(0,me.length-X.length)}var Q=z[1];if(Q){let me=G[0];G[0]=me.slice(0,me.length-Q.length),G[1]=Q;var q=z[2];if(q){G[1]=Q.slice(0,Q.length-q.length),G[2]=q;var ue=z[3];ue&&(G[2]=q.slice(0,q.length-ue.length),G[3]=ue)}}return G}_getDateObj(){if(!this.dateObj){var z=this._getPrecision();this.dateObj=this._dateAtPrecision(z)}return this.dateObj}_createDate(z,G,X,Q,q,ue,me,xe){var pe=new Date(z,G,X,Q,q,ue,me);if(xe){var oe=pe.getTimezoneOffset(),ae=0;if("Z"!=xe){var U=xe.split(":"),ie=parseInt(U[0]);ae=parseInt(U[1]),ie<0&&(ae=-ae),ae+=60*ie}pe=n(pe,-oe-ae)}return pe}}h.timeUnitToAddFn={year:o(2486),month:o(4992),week:o(5213),day:o(6937),hour:o(2500),minute:o(8091),second:o(734),millisecond:o(7862)};let g=(()=>{class $ extends h{constructor(G){super(G)}compare(G){if(!(G instanceof $))throw"Invalid comparison of a DateTime with something else";return super.compare(G)}_getMatchData(){return super._getMatchData(m,5)}_getTimeParts(){if(!this.timeParts){let X=this._getMatchData(),Q=X[0];this.timeParts=[Q];var G=X[1];if(G){this.timeParts[0]=Q.slice(0,Q.length-G.length),this.timeParts[1]=G;let q=X[2];if(q){this.timeParts[1]=G.slice(0,G.length-q.length),this.timeParts[2]=q;let ue=X[3];ue&&(this.timeParts[2]=q.slice(0,q.length-ue.length),"T"===ue[0]&&(X[3]=ue.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(X.slice(3))))}}}return this.timeParts}_dateAtPrecision(G){var X=this._getTimeParts(),Q=this._getMatchData()[7],q=this._getPrecision(),ue=parseInt(X[0]),me=q>0?parseInt(X[1].slice(1))-1:0,xe=q>1?parseInt(X[2].slice(1)):1,pe=q>2?parseInt(X[3]):0,oe=q>3?parseInt(X[4].slice(1)):0,ae=q>4?parseInt(X[5].slice(1)):0,U=X.length>6?parseInt(X[6].slice(1)):0,ie=this._createDate(ue,me,xe,pe,oe,ae,U,Q);return G0?ie.getMonth():0,xe=G>1?ie.getDate():1,pe=G>2?ie.getHours():0,oe=G>3?ie.getMinutes():0,ie=new Date(ue,me,xe,pe,oe)),ie}}return $.checkString=function(z){let G=new $(z);return G._getMatchData()||(G=null),G},$._timeUnitToDatePrecision={year:0,month:1,week:2,day:2,hour:3,minute:4,second:5,millisecond:6},$._datePrecisionToTimeUnit=["year","month","day","hour","minute","second","millisecond"],$})(),s=(()=>{class $ extends h{constructor(G){"T"==G[0]&&(G=G.slice(1)),super(G)}compare(G){if(!(G instanceof $))throw"Invalid comparison of a time with something else";return super.compare(G)}_dateAtPrecision(G){var X=this._getTimeParts(),Q=this._getMatchData()[4],q=this._getPrecision(),pe=parseInt(X[0]),oe=q>0?parseInt(X[1].slice(1)):0,ae=q>1?parseInt(X[2].slice(1)):0,U=X.length>3?parseInt(X[3].slice(1)):0,ie=this._createDate(2010,0,1,pe,oe,ae,U,Q);return Q&&(ie.setYear(2010),ie.setMonth(0),ie.setDate(1)),G0?ie.getMinutes():0,ie=new Date(2010,0,1,pe,oe)),ie}_getMatchData(){return super._getMatchData(d,2)}_getTimeParts(){return this.timeParts||(this.timeParts=super._getTimeParts(this._getMatchData())),this.timeParts}}return $.checkString=function(z){let G=new $(z);return G._getMatchData()||(G=null),G},$._timeUnitToDatePrecision={hour:0,minute:1,second:2,millisecond:3},$._datePrecisionToTimeUnit=["hour","minute","second","millisecond"],$})();function C($,z){var G=$;return 3===z&&$<100&&(G="0"+$),$<10&&(G="0"+G),G}g.isoDateTime=function($,z){void 0===z&&(z=6);var G=""+$.getFullYear();if(z>0&&(G+="-"+C($.getMonth()+1),z>1&&(G+="-"+C($.getDate()),z>2&&(G+="T"+C($.getHours()),z>3&&(G+=":"+C($.getMinutes()),z>4&&(G+=":"+C($.getSeconds()),$.getMilliseconds()&&(G+="."+C($.getMilliseconds(),3))))))),z>2){var X=$.getTimezoneOffset(),Q=X<0?"+":"-",q=(X=Math.abs(X))%60;G+=Q+C((X-q)/60)+":"+C(q)}return G},g.isoDate=function($,z){return(void 0===z||z>2)&&(z=2),g.isoDateTime($,z)};class P{constructor(z,G,X){z.resourceType&&(G=z.resourceType),this.path=G,this.data=function($,z){return"Quantity"===z&&"http://unitsofmeasure.org"===$.system&&"number"==typeof $.value&&"string"==typeof $.code&&($=new y($.value,y.mapUCUMCodeToTimeUnits[$.code]||"'"+$.code+"'")),$}(z,G),this._data=X||{}}getTypeInfo(){const z=D.FHIR;return-1===this.path.indexOf(".")?new D({namespace:z,name:this.path}):D.createByValueInNamespace({namespace:z,value:this.data})}toJSON(){return JSON.stringify(this.data)}}P.makeResNode=function($,z,G){return $ instanceof P?$:new P($,z,G)};let D=(()=>{class ${constructor({name:G,namespace:X}){this.name=G,this.namespace=X}is(G){return G instanceof $&&this.name===G.name&&(!this.namespace||!G.namespace||this.namespace===G.namespace)}}return $.System="System",$.FHIR="FHIR",$.createByValueInNamespace=function({namespace:z,value:G}){let X=typeof G;return Number.isInteger(G)?X="integer":"number"===X?X="decimal":G instanceof g?X="dateTime":G instanceof s?X="time":G instanceof y&&(X="Quantity"),z===$.System&&(X=X.replace(/^\w/,Q=>Q.toUpperCase())),new $({namespace:z,name:X})},$.fromValue=function(z){return z instanceof P?z.getTypeInfo():$.createByValueInNamespace({namespace:$.System,value:z})},$})();he.exports={FP_Type:p,FP_TimeBase:h,FP_DateTime:g,FP_Time:s,FP_Quantity:y,timeRE:d,dateTimeRE:m,ResourceNode:P,TypeInfo:D,typeFn:function($){return $.map(z=>D.fromValue(z))},isFn:function($,z){if(0===$.length)return[];if($.length>1)throw new Error("Expected singleton on left side of is, got "+JSON.stringify($));return D.fromValue($[0]).is(z)}}},4569:(he,A,o)=>{var n={},l=o(2563);let{ResourceNode:u}=l;n.raiseError=function(c,r){throw(r=r?r+": ":"")+c},n.assertAtMostOne=function(c,r){c.length>1&&n.raiseError("Was expecting no more than one element but got "+JSON.stringify(c),r)},n.assertType=function(c,r,d){let m=this.valData(c);if(r.indexOf(typeof m)<0){let p=r.length>1?"one of "+r.join(", "):r[0];n.raiseError("Found type '"+typeof c+"' but was expecting "+p,d)}return m},n.isEmpty=function(c){return Array.isArray(c)&&0==c.length},n.isSome=function(c){return null!=c&&!n.isEmpty(c)},n.isTrue=function(c){return null!=c&&(!0===c||1==c.length&&!0===c[0])},n.isFalse=function(c){return null!=c&&(!1===c||1==c.length&&!1===c[0])},n.isCapitalized=function(c){return c&&c[0]===c[0].toUpperCase()},n.flatten=function(c){return c.reduce(function(r,d){return Array.isArray(d)?r=r.concat(d):r.push(d),r},[])},n.arraify=function(c){return Array.isArray(c)?c:n.isSome(c)?[c]:[]},n.valData=function(c){return c instanceof u?c.data:c},n.escapeStringForRegExp=function(c){return c.replace(/[-[\]{}()*+?.,\\/^$|#\s]/g,"\\$&")},he.exports=n},4770:he=>{"use strict";he.exports=function(A,o){for(var n={},l=Object.keys(A),u=Array.isArray(o),c=0;c{function A(Ge){return Ge instanceof Map?Ge.clear=Ge.delete=Ge.set=function(){throw new Error("map is read-only")}:Ge instanceof Set&&(Ge.add=Ge.clear=Ge.delete=function(){throw new Error("set is read-only")}),Object.freeze(Ge),Object.getOwnPropertyNames(Ge).forEach(function(lt){var Ot=Ge[lt];"object"==typeof Ot&&!Object.isFrozen(Ot)&&A(Ot)}),Ge}var o=A;o.default=A;class l{constructor(lt){void 0===lt.data&&(lt.data={}),this.data=lt.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function u(Ge){return Ge.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function c(Ge,...lt){const Ot=Object.create(null);for(const Nt in Ge)Ot[Nt]=Ge[Nt];return lt.forEach(function(Nt){for(const Pe in Nt)Ot[Pe]=Nt[Pe]}),Ot}const d=Ge=>!!Ge.kind;class m{constructor(lt,Ot){this.buffer="",this.classPrefix=Ot.classPrefix,lt.walk(this)}addText(lt){this.buffer+=u(lt)}openNode(lt){if(!d(lt))return;let Ot=lt.kind;lt.sublanguage||(Ot=`${this.classPrefix}${Ot}`),this.span(Ot)}closeNode(lt){!d(lt)||(this.buffer+="")}value(){return this.buffer}span(lt){this.buffer+=``}}class p{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(lt){this.top.children.push(lt)}openNode(lt){const Ot={kind:lt,children:[]};this.add(Ot),this.stack.push(Ot)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(lt){return this.constructor._walk(lt,this.rootNode)}static _walk(lt,Ot){return"string"==typeof Ot?lt.addText(Ot):Ot.children&&(lt.openNode(Ot),Ot.children.forEach(Nt=>this._walk(lt,Nt)),lt.closeNode(Ot)),lt}static _collapse(lt){"string"!=typeof lt&&(!lt.children||(lt.children.every(Ot=>"string"==typeof Ot)?lt.children=[lt.children.join("")]:lt.children.forEach(Ot=>{p._collapse(Ot)})))}}class y extends p{constructor(lt){super(),this.options=lt}addKeyword(lt,Ot){""!==lt&&(this.openNode(Ot),this.addText(lt),this.closeNode())}addText(lt){""!==lt&&this.add(lt)}addSublanguage(lt,Ot){const Nt=lt.root;Nt.kind=Ot,Nt.sublanguage=!0,this.add(Nt)}toHTML(){return new m(this,this.options).value()}finalize(){return!0}}function h(Ge){return Ge?"string"==typeof Ge?Ge:Ge.source:null}const w=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,Y="[a-zA-Z]\\w*",$="[a-zA-Z_]\\w*",z="\\b\\d+(\\.\\d+)?",G="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",X="\\b(0b[01]+)",ue={begin:"\\\\[\\s\\S]",relevance:0},me={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[ue]},xe={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[ue]},pe={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/},oe=function(Ge,lt,Ot={}){const Nt=c({className:"comment",begin:Ge,end:lt,contains:[]},Ot);return Nt.contains.push(pe),Nt.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),Nt},ae=oe("//","$"),U=oe("/\\*","\\*/"),ie=oe("#","$");var Qe=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:Y,UNDERSCORE_IDENT_RE:$,NUMBER_RE:z,C_NUMBER_RE:G,BINARY_NUMBER_RE:X,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(Ge={})=>{const lt=/^#![ ]*\//;return Ge.binary&&(Ge.begin=function(...Ge){return Ge.map(Ot=>h(Ot)).join("")}(lt,/.*\b/,Ge.binary,/\b.*/)),c({className:"meta",begin:lt,end:/$/,relevance:0,"on:begin":(Ot,Nt)=>{0!==Ot.index&&Nt.ignoreMatch()}},Ge)},BACKSLASH_ESCAPE:ue,APOS_STRING_MODE:me,QUOTE_STRING_MODE:xe,PHRASAL_WORDS_MODE:pe,COMMENT:oe,C_LINE_COMMENT_MODE:ae,C_BLOCK_COMMENT_MODE:U,HASH_COMMENT_MODE:ie,NUMBER_MODE:{className:"number",begin:z,relevance:0},C_NUMBER_MODE:{className:"number",begin:G,relevance:0},BINARY_NUMBER_MODE:{className:"number",begin:X,relevance:0},CSS_NUMBER_MODE:{className:"number",begin:z+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[ue,{begin:/\[/,end:/\]/,relevance:0,contains:[ue]}]}]},TITLE_MODE:{className:"title",begin:Y,relevance:0},UNDERSCORE_TITLE_MODE:{className:"title",begin:$,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+$,relevance:0},END_SAME_AS_BEGIN:function(Ge){return Object.assign(Ge,{"on:begin":(lt,Ot)=>{Ot.data._beginMatch=lt[1]},"on:end":(lt,Ot)=>{Ot.data._beginMatch!==lt[1]&&Ot.ignoreMatch()}})}});function ct(Ge,lt){"."===Ge.input[Ge.index-1]&<.ignoreMatch()}function bt(Ge,lt){!lt||!Ge.beginKeywords||(Ge.begin="\\b("+Ge.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Ge.__beforeBegin=ct,Ge.keywords=Ge.keywords||Ge.beginKeywords,delete Ge.beginKeywords,void 0===Ge.relevance&&(Ge.relevance=0))}function Et(Ge,lt){!Array.isArray(Ge.illegal)||(Ge.illegal=function(...Ge){return"("+Ge.map(Ot=>h(Ot)).join("|")+")"}(...Ge.illegal))}function xt(Ge,lt){if(Ge.match){if(Ge.begin||Ge.end)throw new Error("begin & end are not supported with match");Ge.begin=Ge.match,delete Ge.match}}function dt(Ge,lt){void 0===Ge.relevance&&(Ge.relevance=1)}const Ne=["of","and","for","in","not","or","if","then","parent","list","value"];function ze(Ge,lt,Ot="keyword"){const Nt={};return"string"==typeof Ge?Pe(Ot,Ge.split(" ")):Array.isArray(Ge)?Pe(Ot,Ge):Object.keys(Ge).forEach(function(Ee){Object.assign(Nt,ze(Ge[Ee],lt,Ee))}),Nt;function Pe(Ee,B){lt&&(B=B.map(V=>V.toLowerCase())),B.forEach(function(V){const be=V.split("|");Nt[be[0]]=[Ee,yt(be[0],be[1])]})}}function yt(Ge,lt){return lt?Number(lt):function(Ge){return Ne.includes(Ge.toLowerCase())}(Ge)?0:1}function _e(Ge,{}){function Ot(V,be){return new RegExp(h(V),"m"+(Ge.case_insensitive?"i":"")+(be?"g":""))}class Nt{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(be,je){je.position=this.position++,this.matchIndexes[this.matchAt]=je,this.regexes.push([je,be]),this.matchAt+=function(Ge){return new RegExp(Ge.toString()+"|").exec("").length-1}(be)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const be=this.regexes.map(je=>je[1]);this.matcherRe=Ot(function(Ge,lt="|"){let Ot=0;return Ge.map(Nt=>{Ot+=1;const Pe=Ot;let Ee=h(Nt),B="";for(;Ee.length>0;){const V=w.exec(Ee);if(!V){B+=Ee;break}B+=Ee.substring(0,V.index),Ee=Ee.substring(V.index+V[0].length),"\\"===V[0][0]&&V[1]?B+="\\"+String(Number(V[1])+Pe):(B+=V[0],"("===V[0]&&Ot++)}return B}).map(Nt=>`(${Nt})`).join(lt)}(be),!0),this.lastIndex=0}exec(be){this.matcherRe.lastIndex=this.lastIndex;const je=this.matcherRe.exec(be);if(!je)return null;const Ct=je.findIndex(($t,vn)=>vn>0&&void 0!==$t),Ht=this.matchIndexes[Ct];return je.splice(0,Ct),Object.assign(je,Ht)}}class Pe{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(be){if(this.multiRegexes[be])return this.multiRegexes[be];const je=new Nt;return this.rules.slice(be).forEach(([Ct,Ht])=>je.addRule(Ct,Ht)),je.compile(),this.multiRegexes[be]=je,je}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(be,je){this.rules.push([be,je]),"begin"===je.type&&this.count++}exec(be){const je=this.getMatcher(this.regexIndex);je.lastIndex=this.lastIndex;let Ct=je.exec(be);if(this.resumingScanAtSamePosition()&&(!Ct||Ct.index!==this.lastIndex)){const Ht=this.getMatcher(0);Ht.lastIndex=this.lastIndex+1,Ct=Ht.exec(be)}return Ct&&(this.regexIndex+=Ct.position+1,this.regexIndex===this.count&&this.considerAll()),Ct}}if(Ge.compilerExtensions||(Ge.compilerExtensions=[]),Ge.contains&&Ge.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Ge.classNameAliases=c(Ge.classNameAliases||{}),function B(V,be){const je=V;if(V.isCompiled)return je;[xt].forEach(Ht=>Ht(V,be)),Ge.compilerExtensions.forEach(Ht=>Ht(V,be)),V.__beforeBegin=null,[bt,Et,dt].forEach(Ht=>Ht(V,be)),V.isCompiled=!0;let Ct=null;if("object"==typeof V.keywords&&(Ct=V.keywords.$pattern,delete V.keywords.$pattern),V.keywords&&(V.keywords=ze(V.keywords,Ge.case_insensitive)),V.lexemes&&Ct)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return Ct=Ct||V.lexemes||/\w+/,je.keywordPatternRe=Ot(Ct,!0),be&&(V.begin||(V.begin=/\B|\b/),je.beginRe=Ot(V.begin),V.endSameAsBegin&&(V.end=V.begin),!V.end&&!V.endsWithParent&&(V.end=/\B|\b/),V.end&&(je.endRe=Ot(V.end)),je.terminatorEnd=h(V.end)||"",V.endsWithParent&&be.terminatorEnd&&(je.terminatorEnd+=(V.end?"|":"")+be.terminatorEnd)),V.illegal&&(je.illegalRe=Ot(V.illegal)),V.contains||(V.contains=[]),V.contains=[].concat(...V.contains.map(function(Ht){return function(Ge){return Ge.variants&&!Ge.cachedVariants&&(Ge.cachedVariants=Ge.variants.map(function(lt){return c(Ge,{variants:null},lt)})),Ge.cachedVariants?Ge.cachedVariants:Z(Ge)?c(Ge,{starts:Ge.starts?c(Ge.starts):null}):Object.isFrozen(Ge)?c(Ge):Ge}("self"===Ht?V:Ht)})),V.contains.forEach(function(Ht){B(Ht,je)}),V.starts&&B(V.starts,be),je.matcher=function(V){const be=new Pe;return V.contains.forEach(je=>be.addRule(je.begin,{rule:je,type:"begin"})),V.terminatorEnd&&be.addRule(V.terminatorEnd,{type:"end"}),V.illegal&&be.addRule(V.illegal,{type:"illegal"}),be}(je),je}(Ge)}function Z(Ge){return!!Ge&&(Ge.endsWithParent||Z(Ge.starts))}function N(Ge){const lt={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!Ge.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,u(this.code);let Nt={};return this.autoDetect?(Nt=Ge.highlightAuto(this.code),this.detectedLanguage=Nt.language):(Nt=Ge.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),Nt.value},autoDetect(){return!this.language||function(Ge){return Boolean(Ge||""===Ge)}(this.autodetect)},ignoreIllegals:()=>!0},render(Nt){return Nt("pre",{},[Nt("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:lt,VuePlugin:{install(Nt){Nt.component("highlightjs",lt)}}}}const ce={"after:highlightElement":({el:Ge,result:lt,text:Ot})=>{const Nt=Oe(Ge);if(!Nt.length)return;const Pe=document.createElement("div");Pe.innerHTML=lt.value,lt.value=function(Ge,lt,Ot){let Nt=0,Pe="";const Ee=[];function B(){return Ge.length&<.length?Ge[0].offset!==lt[0].offset?Ge[0].offset"}function be(Ct){Pe+=""}function je(Ct){("start"===Ct.event?V:be)(Ct.node)}for(;Ge.length||lt.length;){let Ct=B();if(Pe+=u(Ot.substring(Nt,Ct[0].offset)),Nt=Ct[0].offset,Ct===Ge){Ee.reverse().forEach(be);do{je(Ct.splice(0,1)[0]),Ct=B()}while(Ct===Ge&&Ct.length&&Ct[0].offset===Nt);Ee.reverse().forEach(V)}else"start"===Ct[0].event?Ee.push(Ct[0].node):Ee.pop(),je(Ct.splice(0,1)[0])}return Pe+u(Ot.substr(Nt))}(Nt,Oe(Pe),Ot)}};function Ue(Ge){return Ge.nodeName.toLowerCase()}function Oe(Ge){const lt=[];return function Ot(Nt,Pe){for(let Ee=Nt.firstChild;Ee;Ee=Ee.nextSibling)3===Ee.nodeType?Pe+=Ee.nodeValue.length:1===Ee.nodeType&&(lt.push({event:"start",offset:Pe,node:Ee}),Pe=Ot(Ee,Pe),Ue(Ee).match(/br|hr|img|input/)||lt.push({event:"stop",offset:Pe,node:Ee}));return Pe}(Ge,0),lt}const Ae={},nt=Ge=>{console.error(Ge)},Pt=(Ge,...lt)=>{console.log(`WARN: ${Ge}`,...lt)},Ft=(Ge,lt)=>{Ae[`${Ge}/${lt}`]||(console.log(`Deprecated as of ${Ge}. ${lt}`),Ae[`${Ge}/${lt}`]=!0)},gt=u,Lt=c,$e=Symbol("nomatch");var Mt=function(Ge){const lt=Object.create(null),Ot=Object.create(null),Nt=[];let Pe=!0;const Ee=/(^(<[^>]+>|\t|)+|\n)/gm,B="Could not find the language '{}', did you forget to load/include a language module?",V={disableAutodetect:!0,name:"Plain text",contains:[]};let be={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:y};function je(It){return be.noHighlightRe.test(It)}function Ht(It,Rt,Yt,Zt){let Mn="",Tn="";"object"==typeof Rt?(Mn=It,Yt=Rt.ignoreIllegals,Tn=Rt.language,Zt=void 0):(Ft("10.7.0","highlight(lang, code, ...args) has been deprecated."),Ft("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),Tn=It,Mn=Rt);const wn={code:Mn,language:Tn};ke("before:highlight",wn);const Bn=wn.result?wn.result:$t(wn.language,wn.code,Yt,Zt);return Bn.code=wn.code,ke("after:highlight",Bn),Bn}function $t(It,Rt,Yt,Zt){function Mn(nn,an){const gn=_i.case_insensitive?an[0].toLowerCase():an[0];return Object.prototype.hasOwnProperty.call(nn.keywords,gn)&&nn.keywords[gn]}function Bn(){null!=mn.subLanguage?function(){if(""===xn)return;let nn=null;if("string"==typeof mn.subLanguage){if(!lt[mn.subLanguage])return void Fn.addText(xn);nn=$t(mn.subLanguage,xn,!0,Qi[mn.subLanguage]),Qi[mn.subLanguage]=nn.top}else nn=it(xn,mn.subLanguage.length?mn.subLanguage:null);mn.relevance>0&&(Ii+=nn.relevance),Fn.addSublanguage(nn.emitter,nn.language)}():function(){if(!mn.keywords)return void Fn.addText(xn);let nn=0;mn.keywordPatternRe.lastIndex=0;let an=mn.keywordPatternRe.exec(xn),gn="";for(;an;){gn+=xn.substring(nn,an.index);const Sn=Mn(mn,an);if(Sn){const[oi,mi]=Sn;Fn.addText(gn),gn="",Ii+=mi,oi.startsWith("_")?gn+=an[0]:Fn.addKeyword(an[0],_i.classNameAliases[oi]||oi)}else gn+=an[0];nn=mn.keywordPatternRe.lastIndex,an=mn.keywordPatternRe.exec(xn)}gn+=xn.substr(nn),Fn.addText(gn)}(),xn=""}function An(nn){return nn.className&&Fn.openNode(_i.classNameAliases[nn.className]||nn.className),mn=Object.create(nn,{parent:{value:mn}}),mn}function kn(nn,an,gn){let Sn=function(Ge,lt){const Ot=Ge&&Ge.exec(lt);return Ot&&0===Ot.index}(nn.endRe,gn);if(Sn){if(nn["on:end"]){const oi=new l(nn);nn["on:end"](an,oi),oi.isMatchIgnored&&(Sn=!1)}if(Sn){for(;nn.endsParent&&nn.parent;)nn=nn.parent;return nn}}if(nn.endsWithParent)return kn(nn.parent,an,gn)}function bn(nn){return 0===mn.matcher.regexIndex?(xn+=nn[0],1):(Wi=!0,0)}function Oi(nn){const an=nn[0],gn=Rt.substr(nn.index),Sn=kn(mn,nn,gn);if(!Sn)return $e;const oi=mn;oi.skip?xn+=an:(oi.returnEnd||oi.excludeEnd||(xn+=an),Bn(),oi.excludeEnd&&(xn=an));do{mn.className&&Fn.closeNode(),!mn.skip&&!mn.subLanguage&&(Ii+=mn.relevance),mn=mn.parent}while(mn!==Sn.parent);return Sn.starts&&(Sn.endSameAsBegin&&(Sn.starts.endRe=Sn.endRe),An(Sn.starts)),oi.returnEnd?0:an.length}let Xn={};function Ri(nn,an){const gn=an&&an[0];if(xn+=nn,null==gn)return Bn(),0;if("begin"===Xn.type&&"end"===an.type&&Xn.index===an.index&&""===gn){if(xn+=Rt.slice(an.index,an.index+1),!Pe){const Sn=new Error("0 width match regex");throw Sn.languageName=It,Sn.badRule=Xn.rule,Sn}return 1}if(Xn=an,"begin"===an.type)return function(nn){const an=nn[0],gn=nn.rule,Sn=new l(gn),oi=[gn.__beforeBegin,gn["on:begin"]];for(const mi of oi)if(mi&&(mi(nn,Sn),Sn.isMatchIgnored))return bn(an);return gn&&gn.endSameAsBegin&&(gn.endRe=function(Ge){return new RegExp(Ge.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(an)),gn.skip?xn+=an:(gn.excludeBegin&&(xn+=an),Bn(),!gn.returnBegin&&!gn.excludeBegin&&(xn=an)),An(gn),gn.returnBegin?0:an.length}(an);if("illegal"===an.type&&!Yt){const Sn=new Error('Illegal lexeme "'+gn+'" for mode "'+(mn.className||"")+'"');throw Sn.mode=mn,Sn}if("end"===an.type){const Sn=Oi(an);if(Sn!==$e)return Sn}if("illegal"===an.type&&""===gn)return 1;if(ir>1e5&&ir>3*an.index)throw new Error("potential infinite loop, way more iterations than matches");return xn+=gn,gn.length}const _i=Xe(It);if(!_i)throw nt(B.replace("{}",It)),new Error('Unknown language: "'+It+'"');const bi=_e(_i,{plugins:Nt});let si="",mn=Zt||bi;const Qi={},Fn=new be.__emitter(be);!function(){const nn=[];for(let an=mn;an!==_i;an=an.parent)an.className&&nn.unshift(an.className);nn.forEach(an=>Fn.openNode(an))}();let xn="",Ii=0,wi=0,ir=0,Wi=!1;try{for(mn.matcher.considerAll();;){ir++,Wi?Wi=!1:mn.matcher.considerAll(),mn.matcher.lastIndex=wi;const nn=mn.matcher.exec(Rt);if(!nn)break;const gn=Ri(Rt.substring(wi,nn.index),nn);wi=nn.index+gn}return Ri(Rt.substr(wi)),Fn.closeAllNodes(),Fn.finalize(),si=Fn.toHTML(),{relevance:Math.floor(Ii),value:si,language:It,illegal:!1,emitter:Fn,top:mn}}catch(nn){if(nn.message&&nn.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:nn.message,context:Rt.slice(wi-100,wi+100),mode:nn.mode},sofar:si,relevance:0,value:gt(Rt),emitter:Fn};if(Pe)return{illegal:!1,relevance:0,value:gt(Rt),emitter:Fn,language:It,top:mn,errorRaised:nn};throw nn}}function it(It,Rt){Rt=Rt||be.languages||Object.keys(lt);const Yt=function(It){const Rt={relevance:0,emitter:new be.__emitter(be),value:gt(It),illegal:!1,top:V};return Rt.emitter.addText(It),Rt}(It),Zt=Rt.filter(Xe).filter(Re).map(An=>$t(An,It,!1));Zt.unshift(Yt);const Mn=Zt.sort((An,kn)=>{if(An.relevance!==kn.relevance)return kn.relevance-An.relevance;if(An.language&&kn.language){if(Xe(An.language).supersetOf===kn.language)return 1;if(Xe(kn.language).supersetOf===An.language)return-1}return 0}),[Tn,wn]=Mn,Bn=Tn;return Bn.second_best=wn,Bn}const ut={"before:highlightElement":({el:It})=>{be.useBR&&(It.innerHTML=It.innerHTML.replace(/\n/g,"").replace(//g,"\n"))},"after:highlightElement":({result:It})=>{be.useBR&&(It.value=It.value.replace(/\n/g,"
"))}},At=/^(<[^>]+>|\t)+/gm,Xt={"after:highlightElement":({result:It})=>{be.tabReplace&&(It.value=It.value.replace(At,Rt=>Rt.replace(/\t/g,be.tabReplace)))}};function Jt(It){let Rt=null;const Yt=function(It){let Rt=It.className+" ";Rt+=It.parentNode?It.parentNode.className:"";const Yt=be.languageDetectRe.exec(Rt);if(Yt){const Zt=Xe(Yt[1]);return Zt||(Pt(B.replace("{}",Yt[1])),Pt("Falling back to no-highlight mode for this block.",It)),Zt?Yt[1]:"no-highlight"}return Rt.split(/\s+/).find(Zt=>je(Zt)||Xe(Zt))}(It);if(je(Yt))return;ke("before:highlightElement",{el:It,language:Yt}),Rt=It;const Zt=Rt.textContent,Mn=Yt?Ht(Zt,{language:Yt,ignoreIllegals:!0}):it(Zt);ke("after:highlightElement",{el:It,result:Mn,text:Zt}),It.innerHTML=Mn.value,function(It,Rt,Yt){const Zt=Rt?Ot[Rt]:Yt;It.classList.add("hljs"),Zt&&It.classList.add(Zt)}(It,Yt,Mn.language),It.result={language:Mn.language,re:Mn.relevance,relavance:Mn.relevance},Mn.second_best&&(It.second_best={language:Mn.second_best.language,re:Mn.second_best.relevance,relavance:Mn.second_best.relevance})}const Rn=()=>{Rn.called||(Rn.called=!0,Ft("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(Jt))};let ti=!1;function pi(){"loading"!==document.readyState?document.querySelectorAll("pre code").forEach(Jt):ti=!0}function Xe(It){return It=(It||"").toLowerCase(),lt[It]||lt[Ot[It]]}function J(It,{languageName:Rt}){"string"==typeof It&&(It=[It]),It.forEach(Yt=>{Ot[Yt.toLowerCase()]=Rt})}function Re(It){const Rt=Xe(It);return Rt&&!Rt.disableAutodetect}function ke(It,Rt){const Yt=It;Nt.forEach(function(Zt){Zt[Yt]&&Zt[Yt](Rt)})}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function(){ti&&pi()},!1),Object.assign(Ge,{highlight:Ht,highlightAuto:it,highlightAll:pi,fixMarkup:function(It){return Ft("10.2.0","fixMarkup will be removed entirely in v11.0"),Ft("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function(It){return be.tabReplace||be.useBR?It.replace(Ee,Rt=>"\n"===Rt?be.useBR?"
":Rt:be.tabReplace?Rt.replace(/\t/g,be.tabReplace):Rt):It}(It)},highlightElement:Jt,highlightBlock:function(It){return Ft("10.7.0","highlightBlock will be removed entirely in v12.0"),Ft("10.7.0","Please use highlightElement now."),Jt(It)},configure:function(It){It.useBR&&(Ft("10.3.0","'useBR' will be removed entirely in v11.0"),Ft("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),be=Lt(be,It)},initHighlighting:Rn,initHighlightingOnLoad:function(){Ft("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),ti=!0},registerLanguage:function(It,Rt){let Yt=null;try{Yt=Rt(Ge)}catch(Zt){if(nt("Language definition for '{}' could not be registered.".replace("{}",It)),!Pe)throw Zt;nt(Zt),Yt=V}Yt.name||(Yt.name=It),lt[It]=Yt,Yt.rawDefinition=Rt.bind(null,Ge),Yt.aliases&&J(Yt.aliases,{languageName:It})},unregisterLanguage:function(It){delete lt[It];for(const Rt of Object.keys(Ot))Ot[Rt]===It&&delete Ot[Rt]},listLanguages:function(){return Object.keys(lt)},getLanguage:Xe,registerAliases:J,requireLanguage:function(It){Ft("10.4.0","requireLanguage will be removed entirely in v11."),Ft("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const Rt=Xe(It);if(Rt)return Rt;throw new Error("The '{}' language is required, but not loaded.".replace("{}",It))},autoDetection:Re,inherit:Lt,addPlugin:function(It){(function(It){It["before:highlightBlock"]&&!It["before:highlightElement"]&&(It["before:highlightElement"]=Rt=>{It["before:highlightBlock"](Object.assign({block:Rt.el},Rt))}),It["after:highlightBlock"]&&!It["after:highlightElement"]&&(It["after:highlightElement"]=Rt=>{It["after:highlightBlock"](Object.assign({block:Rt.el},Rt))})})(It),Nt.push(It)},vuePlugin:N(Ge).VuePlugin}),Ge.debugMode=function(){Pe=!1},Ge.safeMode=function(){Pe=!0},Ge.versionString="10.7.2";for(const It in Qe)"object"==typeof Qe[It]&&o(Qe[It]);return Object.assign(Ge,Qe),Ge.addPlugin(ut),Ge.addPlugin(ce),Ge.addPlugin(Xt),Ge}({});he.exports=Mt},7652:he=>{he.exports=function(o){const n={literal:"true false null"},l=[o.C_LINE_COMMENT_MODE,o.C_BLOCK_COMMENT_MODE],u=[o.QUOTE_STRING_MODE,o.C_NUMBER_MODE],c={end:",",endsWithParent:!0,excludeEnd:!0,contains:u,keywords:n},r={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE],illegal:"\\n"},o.inherit(c,{begin:/:/})].concat(l),illegal:"\\S"},d={begin:"\\[",end:"\\]",contains:[o.inherit(c)],illegal:"\\S"};return u.push(r,d),l.forEach(function(m){u.push(m)}),{name:"JSON",contains:u,keywords:n,illegal:"\\S"}}},1891:he=>{function A(r){return r?"string"==typeof r?r:r.source:null}function o(r){return l("(?=",r,")")}function l(...r){return r.map(m=>A(m)).join("")}function u(...r){return"("+r.map(m=>A(m)).join("|")+")"}he.exports=function(r){const d=l(/[A-Z_]/,l("(",/[A-Z0-9_.-]*:/,")?"),/[A-Z0-9_.-]*/),p={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},y={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},b=r.inherit(y,{begin:/\(/,end:/\)/}),h=r.inherit(r.APOS_STRING_MODE,{className:"meta-string"}),g=r.inherit(r.QUOTE_STRING_MODE,{className:"meta-string"}),s={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[y,g,h,b,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[y,b,g,h]}]}]},r.COMMENT(//,{relevance:10}),{begin://,relevance:10},p,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[s],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[s],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:l(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:d,relevance:0,starts:s}]},{className:"tag",begin:l(/<\//,o(l(d,/>/))),contains:[{className:"name",begin:d,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},859:()=>{!function(he,A){"use strict";var pe,o="hljs-ln",l="hljs-ln-code",c="hljs-ln-n",r="data-line-number",d=/\r\n|\r|\n/g;function g(pe){try{var oe=A.querySelectorAll("code.hljs,code.nohighlight");for(var ae in oe)oe.hasOwnProperty(ae)&&(s(oe[ae])||C(oe[ae],pe))}catch(U){he.console.error("LineNumbers error: ",U)}}function s(pe){return pe.classList.contains("nohljsln")}function C(pe,oe){"object"==typeof pe&&function(pe){he.setTimeout(pe,0)}(function(){pe.innerHTML=w(pe,oe)})}function w(pe,oe){var ae=function(pe,oe){return{singleLine:Y(oe=oe||{}),startFrom:$(pe,oe)}}(pe,oe);return z(pe),function(pe,oe){var ae=X(pe);if(""===ae[ae.length-1].trim()&&ae.pop(),ae.length>1||oe.singleLine){for(var U="",ie=0,le=ae.length;ie
{6}',["hljs-ln-line","hljs-ln-numbers",c,r,l,ie+oe.startFrom,ae[ie].length>0?ae[ie]:" "]);return ue('{1}
',[o,U])}return pe}(pe.innerHTML,ae)}function Y(pe){return!!pe.singleLine&&pe.singleLine}function $(pe,oe){var U=1;isFinite(oe.startFrom)&&(U=oe.startFrom);var ie=function(pe,oe){return pe.hasAttribute(oe)?pe.getAttribute(oe):null}(pe,"data-ln-start-from");return null!==ie&&(U=function(pe,oe){if(!pe)return 1;var ae=Number(pe);return isFinite(ae)?ae:1}(ie)),U}function z(pe){var oe=pe.childNodes;for(var ae in oe)if(oe.hasOwnProperty(ae)){var U=oe[ae];Q(U.textContent)>0&&(U.childNodes.length>0?z(U):G(U.parentNode))}}function G(pe){var oe=pe.className;if(/hljs-/.test(oe)){for(var ae=X(pe.innerHTML),U=0,ie="";U{1}
\n',[oe,ae[U].length>0?ae[U]:" "]);pe.innerHTML=ie.trim()}}function X(pe){return 0===pe.length?[]:pe.split(d)}function Q(pe){return(pe.trim().match(d)||[]).length}function ue(pe,oe){return pe.replace(/\{(\d+)\}/g,function(ae,U){return void 0!==oe[U]?oe[U]:ae})}he.hljs?(he.hljs.initLineNumbersOnLoad=function(pe){"interactive"===A.readyState||"complete"===A.readyState?g(pe):he.addEventListener("DOMContentLoaded",function(){g(pe)})},he.hljs.lineNumbersBlock=C,he.hljs.lineNumbersValue=function(pe,oe){if("string"==typeof pe){var ae=document.createElement("code");return ae.innerHTML=pe,w(ae,oe)}},(pe=A.createElement("style")).type="text/css",pe.innerHTML=ue(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[o,c,r]),A.getElementsByTagName("head")[0].appendChild(pe)):he.console.error("highlight.js not detected!"),document.addEventListener("copy",function(pe){var ae,oe=window.getSelection();(function(pe){for(var oe=pe;oe;){if(oe.className&&-1!==oe.className.indexOf("hljs-ln-code"))return!0;oe=oe.parentNode}return!1})(oe.anchorNode)&&(ae=-1!==window.navigator.userAgent.indexOf("Edge")?function(pe){for(var oe=pe.toString(),ae=pe.anchorNode;"TD"!==ae.nodeName;)ae=ae.parentNode;for(var U=pe.focusNode;"TD"!==U.nodeName;)U=U.parentNode;var ie=parseInt(ae.dataset.lineNumber),le=parseInt(U.dataset.lineNumber);if(ie!=le){var Ce=ae.textContent,Te=U.textContent;if(ie>le){var Ke=ie;ie=le,le=Ke,Ke=Ce,Ce=Te,Te=Ke}for(;0!==oe.indexOf(Ce);)Ce=Ce.slice(1);for(;-1===oe.lastIndexOf(Te);)Te=Te.slice(0,-1);for(var tt=Ce,ot=function(pe){for(var oe=pe;"TABLE"!==oe.nodeName;)oe=oe.parentNode;return oe}(ae),pt=ie+1;pt{"use strict";he.exports=Number.isFinite||function(A){return!("number"!=typeof A||A!=A||A===1/0||A===-1/0)}},5984:(he,A,o)=>{var n=o(2327);he.exports=Number.isInteger||function(l){return"number"==typeof l&&n(l)&&Math.floor(l)===l}},642:(he,A)=>{function n(l,u){var c=[],r=[];return null==u&&(u=function(d,m){return c[0]===m?"[Circular ~]":"[Circular ~."+r.slice(0,c.indexOf(m)).join(".")+"]"}),function(d,m){if(c.length>0){var p=c.indexOf(this);~p?c.splice(p+1):c.push(this),~p?r.splice(p,1/0,d):r.push(d),~c.indexOf(m)&&(m=u.call(this,d,m))}else c.push(m);return null==l?m:l.call(this,d,m)}}(he.exports=function(l,u,c,r){return JSON.stringify(l,n(u,r),c)}).getSerialize=n},4366:he=>{var A=1e3,o=60*A,n=60*o,l=24*n;function m(p,y,b){if(!(p0)return function(p){if(!((p=String(p)).length>100)){var y=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(p);if(y){var b=parseFloat(y[1]);switch((y[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*b;case"days":case"day":case"d":return b*l;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*o;case"seconds":case"second":case"secs":case"sec":case"s":return b*A;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}(p);if("number"===b&&!1===isNaN(p))return y.long?function(p){return m(p,l,"day")||m(p,n,"hour")||m(p,o,"minute")||m(p,A,"second")||p+" ms"}(p):function(p){return p>=l?Math.round(p/l)+"d":p>=n?Math.round(p/n)+"h":p>=o?Math.round(p/o)+"m":p>=A?Math.round(p/A)+"s":p+"ms"}(p);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))}},2756:(he,A,o)=>{"use strict";o.r(A),o.d(A,{HIGHLIGHT_OPTIONS:()=>w,Highlight:()=>z,HighlightJS:()=>$,HighlightLoader:()=>D,HighlightModule:()=>G,\u02750:()=>Y});var n=o(5e3),l=o(591),u=o(8896),c=o(1737),r=o(1746),d=o(5254),m=o(352),p=o(2198),y=o(4850),b=o(2986),h=o(7545),g=o(2868),s=o(7221),C=o(9808),P=o(2313);const w=new n.InjectionToken("HIGHLIGHT_OPTIONS");let D=(()=>{class X{constructor(q,ue,me){this._options=me,this._ready=new l.X(null),this.ready=this._ready.asObservable().pipe((0,p.h)(xe=>!!xe),(0,y.U)(xe=>xe),(0,b.q)(1)),(0,C.isPlatformBrowser)(ue)&&q.defaultView.hljs?this._ready.next(q.defaultView.hljs):this._loadLibrary().pipe((0,h.w)(xe=>this._options&&this._options.lineNumbersLoader?(q.defaultView.hljs=xe,this.loadLineNumbers().pipe((0,g.b)(()=>this._ready.next(xe)))):(this._ready.next(xe),u.E)),(0,s.K)(xe=>(console.error("[HLJS] ",xe),u.E))).subscribe()}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,c._)("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,c._)("The highlighting languages were imported they are not needed!");if(this._options.coreLibraryLoader&&!this._options.languages)return(0,c._)("The highlighting languages were not imported!");if(!this._options.coreLibraryLoader&&this._options.languages)return(0,c._)("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)(q=>this._loadLanguages(q)))}return(0,c._)("Highlight.js library was not imported!")}_loadLanguages(q){const ue=Object.entries(this._options.languages).map(([me,xe])=>T(xe()).pipe((0,g.b)(pe=>q.registerLanguage(me,pe))));return(0,r.$R)(...ue).pipe((0,y.U)(()=>q))}loadCoreLibrary(){return T(this._options.coreLibraryLoader())}loadFullLibrary(){return T(this._options.fullLibraryLoader())}loadLineNumbers(){return T(this._options.lineNumbersLoader())}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275inject(C.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(w,8))},X.\u0275prov=(0,n.\u0275\u0275defineInjectable)({factory:function(){return new X((0,n.\u0275\u0275inject)(C.DOCUMENT),(0,n.\u0275\u0275inject)(n.PLATFORM_ID),(0,n.\u0275\u0275inject)(w,8))},token:X,providedIn:"root"}),X})();const T=X=>(0,d.D)(X).pipe((0,p.h)(Q=>!!Q&&!!Q.default),(0,y.U)(Q=>Q.default)),Y=T;let $=(()=>{class X{constructor(q,ue){this._loader=q,this._hljs=null,q.ready.pipe().subscribe(me=>{this._hljs=me,ue&&ue.config&&(me.configure(ue.config),me.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}get hljs(){return this._hljs}highlight(q,ue,me,xe){return this._loader.ready.pipe((0,y.U)(pe=>pe.highlight(q,ue,me,xe)))}highlightAuto(q,ue){return this._loader.ready.pipe((0,y.U)(me=>me.highlightAuto(q,ue)))}fixMarkup(q){return this._loader.ready.pipe((0,y.U)(ue=>ue.fixMarkup(q)))}highlightBlock(q){return this._loader.ready.pipe((0,y.U)(ue=>ue.highlightBlock(q)))}configure(q){return this._loader.ready.pipe((0,y.U)(ue=>ue.configure(q)))}initHighlighting(){return this._loader.ready.pipe((0,y.U)(q=>q.initHighlighting()))}registerLanguage(q,ue){return this._loader.ready.pipe((0,g.b)(me=>me.registerLanguage(q,ue)))}listLanguages(){return this._loader.ready.pipe((0,y.U)(q=>q.listLanguages()))}getLanguage(q){return this._loader.ready.pipe((0,y.U)(ue=>ue.getLanguage(q)))}lineNumbersBlock(q){return this._loader.ready.pipe((0,p.h)(ue=>!!ue.lineNumbersBlock),(0,g.b)(ue=>ue.lineNumbersBlock(q)))}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275inject(D),n.\u0275\u0275inject(w,8))},X.\u0275prov=(0,n.\u0275\u0275defineInjectable)({factory:function(){return new X((0,n.\u0275\u0275inject)(D),(0,n.\u0275\u0275inject)(w,8))},token:X,providedIn:"root"}),X})(),z=(()=>{class X{constructor(q,ue,me,xe){this._hljs=ue,this._sanitizer=me,this._options=xe,this.highlighted=new n.EventEmitter,this._nativeElement=q.nativeElement}ngOnChanges(q){this.code&&q.code&&void 0!==q.code.currentValue&&q.code.currentValue!==q.code.previousValue&&this.highlightElement(this.code,this.languages)}highlightElement(q,ue){this.setTextContent(q),this._hljs.highlightAuto(q,ue).subscribe(me=>{this.setInnerHTML(me.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(me)})}addLineNumbers(){this.destroyLineNumbersObserver(),m.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(q){m.Z.schedule(()=>this._nativeElement.textContent=q)}setInnerHTML(q){m.Z.schedule(()=>this._nativeElement.innerHTML=this._sanitizer.sanitize(n.SecurityContext.HTML,q)||"")}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject($),n.\u0275\u0275directiveInject(P.DomSanitizer),n.\u0275\u0275directiveInject(w,8))},X.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(q,ue){2&q&&n.\u0275\u0275classProp("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},features:[n.\u0275\u0275NgOnChangesFeature]}),X})(),G=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=n.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=n.\u0275\u0275defineInjector({}),X})()},2398:he=>{"use strict";const A="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;if(!A)throw new Error("Unable to find global scope. Are you sure this is running in the browser?");if(!A.AbortController)throw new Error('Could not find "AbortController" in the global scope. You need to polyfill it first');he.exports.AbortController=A.AbortController},3230:(he,A,o)=>{"use strict";const n=o(8372),l=o(2761),u=o(8951),c=o(4770),d=Symbol("encodeFragmentIdentifier");function y(T){if("string"!=typeof T||1!==T.length)throw new TypeError("arrayFormatSeparator must be single character string")}function b(T,Y){return Y.encode?Y.strict?n(T):encodeURIComponent(T):T}function h(T,Y){return Y.decode?l(T):T}function g(T){return Array.isArray(T)?T.sort():"object"==typeof T?g(Object.keys(T)).sort((Y,$)=>Number(Y)-Number($)).map(Y=>T[Y]):T}function s(T){const Y=T.indexOf("#");return-1!==Y&&(T=T.slice(0,Y)),T}function P(T){const Y=(T=s(T)).indexOf("?");return-1===Y?"":T.slice(Y+1)}function w(T,Y){return Y.parseNumbers&&!Number.isNaN(Number(T))&&"string"==typeof T&&""!==T.trim()?T=Number(T):Y.parseBooleans&&null!==T&&("true"===T.toLowerCase()||"false"===T.toLowerCase())&&(T="true"===T.toLowerCase()),T}function D(T,Y){y((Y=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},Y)).arrayFormatSeparator);const $=function(T){let Y;switch(T.arrayFormat){case"index":return($,z,G)=>{Y=/\[(\d*)\]$/.exec($),$=$.replace(/\[\d*\]$/,""),Y?(void 0===G[$]&&(G[$]={}),G[$][Y[1]]=z):G[$]=z};case"bracket":return($,z,G)=>{Y=/(\[\])$/.exec($),G[$=$.replace(/\[\]$/,"")]=Y?void 0!==G[$]?[].concat(G[$],z):[z]:z};case"colon-list-separator":return($,z,G)=>{Y=/(:list)$/.exec($),G[$=$.replace(/:list$/,"")]=Y?void 0!==G[$]?[].concat(G[$],z):[z]:z};case"comma":case"separator":return($,z,G)=>{const X="string"==typeof z&&z.includes(T.arrayFormatSeparator),Q="string"==typeof z&&!X&&h(z,T).includes(T.arrayFormatSeparator);z=Q?h(z,T):z;const q=X||Q?z.split(T.arrayFormatSeparator).map(ue=>h(ue,T)):null===z?z:h(z,T);G[$]=q};case"bracket-separator":return($,z,G)=>{const X=/(\[\])$/.test($);if($=$.replace(/\[\]$/,""),!X)return void(G[$]=z&&h(z,T));const Q=null===z?[]:z.split(T.arrayFormatSeparator).map(q=>h(q,T));G[$]=void 0!==G[$]?[].concat(G[$],Q):Q};default:return($,z,G)=>{G[$]=void 0!==G[$]?[].concat(G[$],z):z}}}(Y),z=Object.create(null);if("string"!=typeof T||!(T=T.trim().replace(/^[?#&]/,"")))return z;for(const G of T.split("&")){if(""===G)continue;let[X,Q]=u(Y.decode?G.replace(/\+/g," "):G,"=");Q=void 0===Q?null:["comma","separator","bracket-separator"].includes(Y.arrayFormat)?Q:h(Q,Y),$(h(X,Y),Q,z)}for(const G of Object.keys(z)){const X=z[G];if("object"==typeof X&&null!==X)for(const Q of Object.keys(X))X[Q]=w(X[Q],Y);else z[G]=w(X,Y)}return!1===Y.sort?z:(!0===Y.sort?Object.keys(z).sort():Object.keys(z).sort(Y.sort)).reduce((G,X)=>{const Q=z[X];return G[X]=Boolean(Q)&&"object"==typeof Q&&!Array.isArray(Q)?g(Q):Q,G},Object.create(null))}A.extract=P,A.parse=D,A.stringify=(T,Y)=>{if(!T)return"";y((Y=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},Y)).arrayFormatSeparator);const $=Q=>Y.skipNull&&(T=>null==T)(T[Q])||Y.skipEmptyString&&""===T[Q],z=function(T){switch(T.arrayFormat){case"index":return Y=>($,z)=>{const G=$.length;return void 0===z||T.skipNull&&null===z||T.skipEmptyString&&""===z?$:null===z?[...$,[b(Y,T),"[",G,"]"].join("")]:[...$,[b(Y,T),"[",b(G,T),"]=",b(z,T)].join("")]};case"bracket":return Y=>($,z)=>void 0===z||T.skipNull&&null===z||T.skipEmptyString&&""===z?$:null===z?[...$,[b(Y,T),"[]"].join("")]:[...$,[b(Y,T),"[]=",b(z,T)].join("")];case"colon-list-separator":return Y=>($,z)=>void 0===z||T.skipNull&&null===z||T.skipEmptyString&&""===z?$:null===z?[...$,[b(Y,T),":list="].join("")]:[...$,[b(Y,T),":list=",b(z,T)].join("")];case"comma":case"separator":case"bracket-separator":{const Y="bracket-separator"===T.arrayFormat?"[]=":"=";return $=>(z,G)=>void 0===G||T.skipNull&&null===G||T.skipEmptyString&&""===G?z:(G=null===G?"":G,0===z.length?[[b($,T),Y,b(G,T)].join("")]:[[z,b(G,T)].join(T.arrayFormatSeparator)])}default:return Y=>($,z)=>void 0===z||T.skipNull&&null===z||T.skipEmptyString&&""===z?$:null===z?[...$,b(Y,T)]:[...$,[b(Y,T),"=",b(z,T)].join("")]}}(Y),G={};for(const Q of Object.keys(T))$(Q)||(G[Q]=T[Q]);const X=Object.keys(G);return!1!==Y.sort&&X.sort(Y.sort),X.map(Q=>{const q=T[Q];return void 0===q?"":null===q?b(Q,Y):Array.isArray(q)?0===q.length&&"bracket-separator"===Y.arrayFormat?b(Q,Y)+"[]":q.reduce(z(Q),[]).join("&"):b(Q,Y)+"="+b(q,Y)}).filter(Q=>Q.length>0).join("&")},A.parseUrl=(T,Y)=>{Y=Object.assign({decode:!0},Y);const[$,z]=u(T,"#");return Object.assign({url:$.split("?")[0]||"",query:D(P(T),Y)},Y&&Y.parseFragmentIdentifier&&z?{fragmentIdentifier:h(z,Y)}:{})},A.stringifyUrl=(T,Y)=>{Y=Object.assign({encode:!0,strict:!0,[d]:!0},Y);const $=s(T.url).split("?")[0]||"",z=A.extract(T.url),G=A.parse(z,{sort:!1}),X=Object.assign(G,T.query);let Q=A.stringify(X,Y);Q&&(Q=`?${Q}`);let q=function(T){let Y="";const $=T.indexOf("#");return-1!==$&&(Y=T.slice($)),Y}(T.url);return T.fragmentIdentifier&&(q=`#${Y[d]?b(T.fragmentIdentifier,Y):T.fragmentIdentifier}`),`${$}${Q}${q}`},A.pick=(T,Y,$)=>{$=Object.assign({parseFragmentIdentifier:!0,[d]:!1},$);const{url:z,query:G,fragmentIdentifier:X}=A.parseUrl(T,$);return A.stringifyUrl({url:z,query:c(G,Y),fragmentIdentifier:X},$)},A.exclude=(T,Y,$)=>{const z=Array.isArray(Y)?G=>!Y.includes(G):(G,X)=>!Y(G,X);return A.pick(T,z,$)}},591:(he,A,o)=>{"use strict";o.d(A,{X:()=>u});var n=o(8929),l=o(5279);class u extends n.xQ{constructor(r){super(),this._value=r}get value(){return this.getValue()}_subscribe(r){const d=super._subscribe(r);return d&&!d.closed&&r.next(this._value),d}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new l.N;return this._value}next(r){super.next(this._value=r)}}},9312:(he,A,o)=>{"use strict";o.d(A,{P:()=>r});var n=o(8896),l=o(1086),u=o(1737);class r{constructor(m,p,y){this.kind=m,this.value=p,this.error=y,this.hasValue="N"===m}observe(m){switch(this.kind){case"N":return m.next&&m.next(this.value);case"E":return m.error&&m.error(this.error);case"C":return m.complete&&m.complete()}}do(m,p,y){switch(this.kind){case"N":return m&&m(this.value);case"E":return p&&p(this.error);case"C":return y&&y()}}accept(m,p,y){return m&&"function"==typeof m.next?this.observe(m):this.do(m,p,y)}toObservable(){switch(this.kind){case"N":return(0,l.of)(this.value);case"E":return(0,u._)(this.error);case"C":return(0,n.c)()}throw new Error("unexpected notification kind value")}static createNext(m){return void 0!==m?new r("N",m):r.undefinedValueNotification}static createError(m){return new r("E",void 0,m)}static createComplete(){return r.completeNotification}}r.completeNotification=new r("C"),r.undefinedValueNotification=new r("N",void 0)},6498:(he,A,o)=>{"use strict";o.d(A,{y:()=>y});var n=o(3489),u=o(7668),c=o(3292),d=o(3821),m=o(4843),p=o(2830);let y=(()=>{class h{constructor(s){this._isScalar=!1,s&&(this._subscribe=s)}lift(s){const C=new h;return C.source=this,C.operator=s,C}subscribe(s,C,P){const{operator:w}=this,D=function(h,g,s){if(h){if(h instanceof n.L)return h;if(h[u.b])return h[u.b]()}return h||g||s?new n.L(h,g,s):new n.L(c.c)}(s,C,P);if(D.add(w?w.call(D,this.source):this.source||p.v.useDeprecatedSynchronousErrorHandling&&!D.syncErrorThrowable?this._subscribe(D):this._trySubscribe(D)),p.v.useDeprecatedSynchronousErrorHandling&&D.syncErrorThrowable&&(D.syncErrorThrowable=!1,D.syncErrorThrown))throw D.syncErrorValue;return D}_trySubscribe(s){try{return this._subscribe(s)}catch(C){p.v.useDeprecatedSynchronousErrorHandling&&(s.syncErrorThrown=!0,s.syncErrorValue=C),function(h){for(;h;){const{closed:g,destination:s,isStopped:C}=h;if(g||C)return!1;h=s&&s instanceof n.L?s:null}return!0}(s)?s.error(C):console.warn(C)}}forEach(s,C){return new(C=b(C))((P,w)=>{let D;D=this.subscribe(T=>{try{s(T)}catch(Y){w(Y),D&&D.unsubscribe()}},w,P)})}_subscribe(s){const{source:C}=this;return C&&C.subscribe(s)}[d.L](){return this}pipe(...s){return 0===s.length?this:(0,m.U)(s)(this)}toPromise(s){return new(s=b(s))((C,P)=>{let w;this.subscribe(D=>w=D,D=>P(D),()=>C(w))})}}return h.create=g=>new h(g),h})();function b(h){if(h||(h=p.v.Promise||Promise),!h)throw new Error("no Promise impl found");return h}},3292:(he,A,o)=>{"use strict";o.d(A,{c:()=>u});var n=o(2830),l=o(2782);const u={closed:!0,next(c){},error(c){if(n.v.useDeprecatedSynchronousErrorHandling)throw c;(0,l.z)(c)},complete(){}}},826:(he,A,o)=>{"use strict";o.d(A,{L:()=>l});var n=o(3489);class l extends n.L{notifyNext(c,r,d,m,p){this.destination.next(r)}notifyError(c,r){this.destination.error(c)}notifyComplete(c){this.destination.complete()}}},8929:(he,A,o)=>{"use strict";o.d(A,{Yc:()=>m,xQ:()=>p});var n=o(6498),l=o(3489),u=o(2654),c=o(5279),r=o(5283),d=o(7668);class m extends l.L{constructor(h){super(h),this.destination=h}}let p=(()=>{class b extends n.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[d.b](){return new m(this)}lift(g){const s=new y(this,this);return s.operator=g,s}next(g){if(this.closed)throw new c.N;if(!this.isStopped){const{observers:s}=this,C=s.length,P=s.slice();for(let w=0;wnew y(h,g),b})();class y extends p{constructor(h,g){super(),this.destination=h,this.source=g}next(h){const{destination:g}=this;g&&g.next&&g.next(h)}error(h){const{destination:g}=this;g&&g.error&&this.destination.error(h)}complete(){const{destination:h}=this;h&&h.complete&&this.destination.complete()}_subscribe(h){const{source:g}=this;return g?this.source.subscribe(h):u.w.EMPTY}}},5283:(he,A,o)=>{"use strict";o.d(A,{W:()=>l});var n=o(2654);class l extends n.w{constructor(c,r){super(),this.subject=c,this.subscriber=r,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const c=this.subject,r=c.observers;if(this.subject=null,!r||0===r.length||c.isStopped||c.closed)return;const d=r.indexOf(this.subscriber);-1!==d&&r.splice(d,1)}}},3489:(he,A,o)=>{"use strict";o.d(A,{L:()=>m});var n=o(7043),l=o(3292),u=o(2654),c=o(7668),r=o(2830),d=o(2782);class m extends u.w{constructor(b,h,g){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l.c;break;case 1:if(!b){this.destination=l.c;break}if("object"==typeof b){b instanceof m?(this.syncErrorThrowable=b.syncErrorThrowable,this.destination=b,b.add(this)):(this.syncErrorThrowable=!0,this.destination=new p(this,b));break}default:this.syncErrorThrowable=!0,this.destination=new p(this,b,h,g)}}[c.b](){return this}static create(b,h,g){const s=new m(b,h,g);return s.syncErrorThrowable=!1,s}next(b){this.isStopped||this._next(b)}error(b){this.isStopped||(this.isStopped=!0,this._error(b))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(b){this.destination.next(b)}_error(b){this.destination.error(b),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:b}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=b,this}}class p extends m{constructor(b,h,g,s){super(),this._parentSubscriber=b;let C,P=this;(0,n.m)(h)?C=h:h&&(C=h.next,g=h.error,s=h.complete,h!==l.c&&(P=Object.create(h),(0,n.m)(P.unsubscribe)&&this.add(P.unsubscribe.bind(P)),P.unsubscribe=this.unsubscribe.bind(this))),this._context=P,this._next=C,this._error=g,this._complete=s}next(b){if(!this.isStopped&&this._next){const{_parentSubscriber:h}=this;r.v.useDeprecatedSynchronousErrorHandling&&h.syncErrorThrowable?this.__tryOrSetError(h,this._next,b)&&this.unsubscribe():this.__tryOrUnsub(this._next,b)}}error(b){if(!this.isStopped){const{_parentSubscriber:h}=this,{useDeprecatedSynchronousErrorHandling:g}=r.v;if(this._error)g&&h.syncErrorThrowable?(this.__tryOrSetError(h,this._error,b),this.unsubscribe()):(this.__tryOrUnsub(this._error,b),this.unsubscribe());else if(h.syncErrorThrowable)g?(h.syncErrorValue=b,h.syncErrorThrown=!0):(0,d.z)(b),this.unsubscribe();else{if(this.unsubscribe(),g)throw b;(0,d.z)(b)}}}complete(){if(!this.isStopped){const{_parentSubscriber:b}=this;if(this._complete){const h=()=>this._complete.call(this._context);r.v.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?(this.__tryOrSetError(b,h),this.unsubscribe()):(this.__tryOrUnsub(h),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(b,h){try{b.call(this._context,h)}catch(g){if(this.unsubscribe(),r.v.useDeprecatedSynchronousErrorHandling)throw g;(0,d.z)(g)}}__tryOrSetError(b,h,g){if(!r.v.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{h.call(this._context,g)}catch(s){return r.v.useDeprecatedSynchronousErrorHandling?(b.syncErrorValue=s,b.syncErrorThrown=!0,!0):((0,d.z)(s),!0)}return!1}_unsubscribe(){const{_parentSubscriber:b}=this;this._context=null,this._parentSubscriber=null,b.unsubscribe()}}},2654:(he,A,o)=>{"use strict";o.d(A,{w:()=>d});var n=o(6688),l=o(7830),u=o(7043);const r=(()=>{function p(y){return Error.call(this),this.message=y?`${y.length} errors occurred during unsubscription:\n${y.map((b,h)=>`${h+1}) ${b.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=y,this}return p.prototype=Object.create(Error.prototype),p})();class d{constructor(y){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,y&&(this._ctorUnsubscribe=!0,this._unsubscribe=y)}unsubscribe(){let y;if(this.closed)return;let{_parentOrParents:b,_ctorUnsubscribe:h,_unsubscribe:g,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,b instanceof d)b.remove(this);else if(null!==b)for(let C=0;Cy.concat(b instanceof r?b.errors:b),[])}d.EMPTY=((p=new d).closed=!0,p)},2830:(he,A,o)=>{"use strict";o.d(A,{v:()=>l});let n=!1;const l={Promise:void 0,set useDeprecatedSynchronousErrorHandling(u){if(u){const c=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+c.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=u},get useDeprecatedSynchronousErrorHandling(){return n}}},1177:(he,A,o)=>{"use strict";o.d(A,{IY:()=>c,Ds:()=>d,ft:()=>p});var n=o(3489),l=o(6498),u=o(9249);class c extends n.L{constructor(b){super(),this.parent=b}_next(b){this.parent.notifyNext(b)}_error(b){this.parent.notifyError(b),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class d extends n.L{notifyNext(b){this.destination.next(b)}notifyError(b){this.destination.error(b)}notifyComplete(){this.destination.complete()}}function p(y,b){if(b.closed)return;if(y instanceof l.y)return y.subscribe(b);let h;try{h=(0,u.s)(y)(b)}catch(g){b.error(g)}return h}},1762:(he,A,o)=>{"use strict";o.d(A,{c:()=>r,N:()=>d});var n=o(8929),l=o(6498),u=o(2654),c=o(4327);class r extends l.y{constructor(h,g){super(),this.source=h,this.subjectFactory=g,this._refCount=0,this._isComplete=!1}_subscribe(h){return this.getSubject().subscribe(h)}getSubject(){const h=this._subject;return(!h||h.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let h=this._connection;return h||(this._isComplete=!1,h=this._connection=new u.w,h.add(this.source.subscribe(new m(this.getSubject(),this))),h.closed&&(this._connection=null,h=u.w.EMPTY)),h}refCount(){return(0,c.x)()(this)}}const d=(()=>{const b=r.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:b._subscribe},_isComplete:{value:b._isComplete,writable:!0},getSubject:{value:b.getSubject},connect:{value:b.connect},refCount:{value:b.refCount}}})();class m extends n.Yc{constructor(h,g){super(h),this.connectable=g}_error(h){this._unsubscribe(),super._error(h)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const h=this.connectable;if(h){this.connectable=null;const g=h._connection;h._refCount=0,h._subject=null,h._connection=null,g&&g.unsubscribe()}}}},6053:(he,A,o)=>{"use strict";o.d(A,{aj:()=>m,Ms:()=>p});var n=o(2866),l=o(6688),u=o(826),c=o(448),r=o(3009);const d={};function m(...b){let h,g;return(0,n.K)(b[b.length-1])&&(g=b.pop()),"function"==typeof b[b.length-1]&&(h=b.pop()),1===b.length&&(0,l.k)(b[0])&&(b=b[0]),(0,r.n)(b,g).lift(new p(h))}class p{constructor(h){this.resultSelector=h}call(h,g){return g.subscribe(new y(h,this.resultSelector))}}class y extends u.L{constructor(h,g){super(h),this.resultSelector=g,this.active=0,this.values=[],this.observables=[]}_next(h){this.values.push(d),this.observables.push(h)}_complete(){const h=this.observables,g=h.length;if(0===g)this.destination.complete();else{this.active=g,this.toRespond=g;for(let s=0;s{"use strict";o.d(A,{z:()=>u});var n=o(1086),l=o(534);function u(...c){return(0,l.u)()((0,n.of)(...c))}},8514:(he,A,o)=>{"use strict";o.d(A,{P:()=>c});var n=o(6498),l=o(5254),u=o(8896);function c(r){return new n.y(d=>{let m;try{m=r()}catch(y){return void d.error(y)}return(m?(0,l.D)(m):(0,u.c)()).subscribe(d)})}},8896:(he,A,o)=>{"use strict";o.d(A,{E:()=>l,c:()=>u});var n=o(6498);const l=new n.y(r=>r.complete());function u(r){return r?function(r){return new n.y(d=>r.schedule(()=>d.complete()))}(r):l}},567:(he,A,o)=>{"use strict";o.d(A,{D:()=>d});var n=o(6498),l=o(6688),u=o(4850),c=o(7830),r=o(5254);function d(...p){if(1===p.length){const y=p[0];if((0,l.k)(y))return m(y,null);if((0,c.K)(y)&&Object.getPrototypeOf(y)===Object.prototype){const b=Object.keys(y);return m(b.map(h=>y[h]),b)}}if("function"==typeof p[p.length-1]){const y=p.pop();return m(p=1===p.length&&(0,l.k)(p[0])?p[0]:p,null).pipe((0,u.U)(b=>y(...b)))}return m(p,null)}function m(p,y){return new n.y(b=>{const h=p.length;if(0===h)return void b.complete();const g=new Array(h);let s=0,C=0;for(let P=0;P{D||(D=!0,C++),g[P]=T},error:T=>b.error(T),complete:()=>{s++,(s===h||!D)&&(C===h&&b.next(y?y.reduce((T,Y,$)=>(T[Y]=g[$],T),{}):g),b.complete())}}))}})}},5254:(he,A,o)=>{"use strict";o.d(A,{D:()=>P});var n=o(6498),l=o(9249),u=o(2654),c=o(3821),m=o(6454),p=o(5430),h=o(8955),g=o(8515);function P(w,D){return D?function(w,D){if(null!=w){if(function(w){return w&&"function"==typeof w[c.L]}(w))return function(w,D){return new n.y(T=>{const Y=new u.w;return Y.add(D.schedule(()=>{const $=w[c.L]();Y.add($.subscribe({next(z){Y.add(D.schedule(()=>T.next(z)))},error(z){Y.add(D.schedule(()=>T.error(z)))},complete(){Y.add(D.schedule(()=>T.complete()))}}))})),Y})}(w,D);if((0,h.t)(w))return function(w,D){return new n.y(T=>{const Y=new u.w;return Y.add(D.schedule(()=>w.then($=>{Y.add(D.schedule(()=>{T.next($),Y.add(D.schedule(()=>T.complete()))}))},$=>{Y.add(D.schedule(()=>T.error($)))}))),Y})}(w,D);if((0,g.z)(w))return(0,m.r)(w,D);if(function(w){return w&&"function"==typeof w[p.hZ]}(w)||"string"==typeof w)return function(w,D){if(!w)throw new Error("Iterable cannot be null");return new n.y(T=>{const Y=new u.w;let $;return Y.add(()=>{$&&"function"==typeof $.return&&$.return()}),Y.add(D.schedule(()=>{$=w[p.hZ](),Y.add(D.schedule(function(){if(T.closed)return;let z,G;try{const X=$.next();z=X.value,G=X.done}catch(X){return void T.error(X)}G?T.complete():(T.next(z),this.schedule())}))})),Y})}(w,D)}throw new TypeError((null!==w&&typeof w||w)+" is not observable")}(w,D):w instanceof n.y?w:new n.y((0,l.s)(w))}},3009:(he,A,o)=>{"use strict";o.d(A,{n:()=>c});var n=o(6498),l=o(3650),u=o(6454);function c(r,d){return d?(0,u.r)(r,d):new n.y((0,l.V)(r))}},3753:(he,A,o)=>{"use strict";o.d(A,{R:()=>d});var n=o(6498),l=o(6688),u=o(7043),c=o(4850);function d(h,g,s,C){return(0,u.m)(s)&&(C=s,s=void 0),C?d(h,g,s).pipe((0,c.U)(P=>(0,l.k)(P)?C(...P):C(P))):new n.y(P=>{m(h,g,function(D){P.next(arguments.length>1?Array.prototype.slice.call(arguments):D)},P,s)})}function m(h,g,s,C,P){let w;if(function(h){return h&&"function"==typeof h.addEventListener&&"function"==typeof h.removeEventListener}(h)){const D=h;h.addEventListener(g,s,P),w=()=>D.removeEventListener(g,s,P)}else if(function(h){return h&&"function"==typeof h.on&&"function"==typeof h.off}(h)){const D=h;h.on(g,s),w=()=>D.off(g,s)}else if(function(h){return h&&"function"==typeof h.addListener&&"function"==typeof h.removeListener}(h)){const D=h;h.addListener(g,s),w=()=>D.removeListener(g,s)}else{if(!h||!h.length)throw new TypeError("Invalid event target");for(let D=0,T=h.length;D{"use strict";o.d(A,{T:()=>r});var n=o(6498),l=o(2866),u=o(9146),c=o(3009);function r(...d){let m=Number.POSITIVE_INFINITY,p=null,y=d[d.length-1];return(0,l.K)(y)?(p=d.pop(),d.length>1&&"number"==typeof d[d.length-1]&&(m=d.pop())):"number"==typeof y&&(m=d.pop()),null===p&&1===d.length&&d[0]instanceof n.y?d[0]:(0,u.J)(m)((0,c.n)(d,p))}},1086:(he,A,o)=>{"use strict";o.d(A,{of:()=>c});var n=o(2866),l=o(3009),u=o(6454);function c(...r){let d=r[r.length-1];return(0,n.K)(d)?(r.pop(),(0,u.r)(r,d)):(0,l.n)(r)}},1946:(he,A,o)=>{"use strict";o.d(A,{S3:()=>r});var n=o(6688),l=o(3009),u=o(826),c=o(448);function r(...p){if(1===p.length){if(!(0,n.k)(p[0]))return p[0];p=p[0]}return(0,l.n)(p,void 0).lift(new d)}class d{call(y,b){return b.subscribe(new m(y))}}class m extends u.L{constructor(y){super(y),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(y){this.observables.push(y)}_complete(){const y=this.observables,b=y.length;if(0===b)this.destination.complete();else{for(let h=0;h{"use strict";o.d(A,{_:()=>l});var n=o(6498);function l(c,r){return new n.y(r?d=>r.schedule(u,0,{error:c,subscriber:d}):d=>d.error(c))}function u({error:c,subscriber:r}){r.error(c)}},8723:(he,A,o)=>{"use strict";o.d(A,{H:()=>r});var n=o(6498),l=o(353),u=o(4241),c=o(2866);function r(m=0,p,y){let b=-1;return(0,u.k)(p)?b=Number(p)<1?1:Number(p):(0,c.K)(p)&&(y=p),(0,c.K)(y)||(y=l.P),new n.y(h=>{const g=(0,u.k)(m)?m:+m-y.now();return y.schedule(d,g,{index:0,period:b,subscriber:h})})}function d(m){const{index:p,period:y,subscriber:b}=m;if(b.next(p),!b.closed){if(-1===y)return b.complete();m.index=p+1,this.schedule(m,y)}}},1746:(he,A,o)=>{"use strict";o.d(A,{$R:()=>d,mx:()=>m});var n=o(3009),l=o(6688),u=o(3489),c=o(5430),r=o(1177);function d(...g){const s=g[g.length-1];return"function"==typeof s&&g.pop(),(0,n.n)(g,void 0).lift(new m(s))}class m{constructor(s){this.resultSelector=s}call(s,C){return C.subscribe(new p(s,this.resultSelector))}}class p extends u.L{constructor(s,C,P=Object.create(null)){super(s),this.resultSelector=C,this.iterators=[],this.active=0,this.resultSelector="function"==typeof C?C:void 0}_next(s){const C=this.iterators;(0,l.k)(s)?C.push(new b(s)):C.push("function"==typeof s[c.hZ]?new y(s[c.hZ]()):new h(this.destination,this,s))}_complete(){const s=this.iterators,C=s.length;if(this.unsubscribe(),0!==C){this.active=C;for(let P=0;Pthis.index}hasCompleted(){return this.array.length===this.index}}class h extends r.Ds{constructor(s,C,P){super(s),this.parent=C,this.observable=P,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[c.hZ](){return this}next(){const s=this.buffer;return 0===s.length&&this.isComplete?{value:null,done:!0}:{value:s.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(s){this.buffer.push(s),this.parent.checkIterators()}subscribe(){return(0,r.ft)(this.observable,new r.IY(this))}}},384:(he,A,o)=>{"use strict";o.d(A,{U:()=>l});var n=o(1177);function l(r){return function(m){return m.lift(new u(r))}}class u{constructor(d){this.durationSelector=d}call(d,m){return m.subscribe(new c(d,this.durationSelector))}}class c extends n.Ds{constructor(d,m){super(d),this.durationSelector=m,this.hasValue=!1}_next(d){if(this.value=d,this.hasValue=!0,!this.throttled){let m;try{const{durationSelector:y}=this;m=y(d)}catch(y){return this.destination.error(y)}const p=(0,n.ft)(m,new n.IY(this));!p||p.closed?this.clearThrottle():this.add(this.throttled=p)}}clearThrottle(){const{value:d,hasValue:m,throttled:p}=this;p&&(this.remove(p),this.throttled=void 0,p.unsubscribe()),m&&(this.value=void 0,this.hasValue=!1,this.destination.next(d))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}},7568:(he,A,o)=>{"use strict";o.d(A,{e:()=>c});var n=o(353),l=o(384),u=o(8723);function c(r,d=n.P){return(0,l.U)(()=>(0,u.H)(r,d))}},7221:(he,A,o)=>{"use strict";o.d(A,{K:()=>l});var n=o(1177);function l(r){return function(m){const p=new u(r),y=m.lift(p);return p.caught=y}}class u{constructor(d){this.selector=d}call(d,m){return m.subscribe(new c(d,this.selector,this.caught))}}class c extends n.Ds{constructor(d,m,p){super(d),this.selector=m,this.caught=p}error(d){if(!this.isStopped){let m;try{m=this.selector(d,this.caught)}catch(b){return void super.error(b)}this._unsubscribeAndRecycle();const p=new n.IY(this);this.add(p);const y=(0,n.ft)(m,p);y!==p&&this.add(y)}}}},534:(he,A,o)=>{"use strict";o.d(A,{u:()=>l});var n=o(9146);function l(){return(0,n.J)(1)}},1406:(he,A,o)=>{"use strict";o.d(A,{b:()=>l});var n=o(1709);function l(u,c){return(0,n.zg)(u,c,1)}},13:(he,A,o)=>{"use strict";o.d(A,{b:()=>u});var n=o(3489),l=o(353);function u(m,p=l.P){return y=>y.lift(new c(m,p))}class c{constructor(p,y){this.dueTime=p,this.scheduler=y}call(p,y){return y.subscribe(new r(p,this.dueTime,this.scheduler))}}class r extends n.L{constructor(p,y,b){super(p),this.dueTime=y,this.scheduler=b,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(p){this.clearDebounce(),this.lastValue=p,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(d,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:p}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(p)}}clearDebounce(){const p=this.debouncedSubscription;null!==p&&(this.remove(p),p.unsubscribe(),this.debouncedSubscription=null)}}function d(m){m.debouncedNext()}},7314:(he,A,o)=>{"use strict";o.d(A,{d:()=>l});var n=o(3489);function l(r=null){return d=>d.lift(new u(r))}class u{constructor(d){this.defaultValue=d}call(d,m){return m.subscribe(new c(d,this.defaultValue))}}class c extends n.L{constructor(d,m){super(d),this.defaultValue=m,this.isEmpty=!0}_next(d){this.isEmpty=!1,this.destination.next(d)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},943:(he,A,o)=>{"use strict";o.d(A,{g:()=>r});var n=o(353),l=o(2697),u=o(3489),c=o(9312);function r(y,b=n.P){const g=(0,l.J)(y)?+y-b.now():Math.abs(y);return s=>s.lift(new d(g,b))}class d{constructor(b,h){this.delay=b,this.scheduler=h}call(b,h){return h.subscribe(new m(b,this.delay,this.scheduler))}}class m extends u.L{constructor(b,h,g){super(b),this.delay=h,this.scheduler=g,this.queue=[],this.active=!1,this.errored=!1}static dispatch(b){const h=b.source,g=h.queue,s=b.scheduler,C=b.destination;for(;g.length>0&&g[0].time-s.now()<=0;)g.shift().notification.observe(C);if(g.length>0){const P=Math.max(0,g[0].time-s.now());this.schedule(b,P)}else this.unsubscribe(),h.active=!1}_schedule(b){this.active=!0,this.destination.add(b.schedule(m.dispatch,this.delay,{source:this,destination:this.destination,scheduler:b}))}scheduleNotification(b){if(!0===this.errored)return;const h=this.scheduler,g=new p(h.now()+this.delay,b);this.queue.push(g),!1===this.active&&this._schedule(h)}_next(b){this.scheduleNotification(c.P.createNext(b))}_error(b){this.errored=!0,this.queue=[],this.destination.error(b),this.unsubscribe()}_complete(){this.scheduleNotification(c.P.createComplete()),this.unsubscribe()}}class p{constructor(b,h){this.time=b,this.notification=h}}},5778:(he,A,o)=>{"use strict";o.d(A,{x:()=>l});var n=o(3489);function l(r,d){return m=>m.lift(new u(r,d))}class u{constructor(d,m){this.compare=d,this.keySelector=m}call(d,m){return m.subscribe(new c(d,this.compare,this.keySelector))}}class c extends n.L{constructor(d,m,p){super(d),this.keySelector=p,this.hasKey=!1,"function"==typeof m&&(this.compare=m)}compare(d,m){return d===m}_next(d){let m;try{const{keySelector:y}=this;m=y?y(d):d}catch(y){return this.destination.error(y)}let p=!1;if(this.hasKey)try{const{compare:y}=this;p=y(this.key,m)}catch(y){return this.destination.error(y)}else this.hasKey=!0;p||(this.key=m,this.destination.next(d))}}},2198:(he,A,o)=>{"use strict";o.d(A,{h:()=>l});var n=o(3489);function l(r,d){return function(p){return p.lift(new u(r,d))}}class u{constructor(d,m){this.predicate=d,this.thisArg=m}call(d,m){return m.subscribe(new c(d,this.predicate,this.thisArg))}}class c extends n.L{constructor(d,m,p){super(d),this.predicate=m,this.thisArg=p,this.count=0}_next(d){let m;try{m=this.predicate.call(this.thisArg,d,this.count++)}catch(p){return void this.destination.error(p)}m&&this.destination.next(d)}}},537:(he,A,o)=>{"use strict";o.d(A,{x:()=>u});var n=o(3489),l=o(2654);function u(d){return m=>m.lift(new c(d))}class c{constructor(m){this.callback=m}call(m,p){return p.subscribe(new r(m,this.callback))}}class r extends n.L{constructor(m,p){super(m),this.add(new l.w(p))}}},7224:(he,A,o)=>{"use strict";o.d(A,{P:()=>m});var n=o(4450),l=o(2198),u=o(2986),c=o(7314),r=o(4907),d=o(5379);function m(p,y){const b=arguments.length>=2;return h=>h.pipe(p?(0,l.h)((g,s)=>p(g,s,h)):d.y,(0,u.q)(1),b?(0,c.d)(y):(0,r.T)(()=>new n.K))}},8127:(he,A,o)=>{"use strict";o.d(A,{Z:()=>m});var n=o(4450),l=o(2198),u=o(2821),c=o(4907),r=o(7314),d=o(5379);function m(p,y){const b=arguments.length>=2;return h=>h.pipe(p?(0,l.h)((g,s)=>p(g,s,h)):d.y,(0,u.h)(1),b?(0,r.d)(y):(0,c.T)(()=>new n.K))}},4850:(he,A,o)=>{"use strict";o.d(A,{U:()=>l});var n=o(3489);function l(r,d){return function(p){if("function"!=typeof r)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return p.lift(new u(r,d))}}class u{constructor(d,m){this.project=d,this.thisArg=m}call(d,m){return m.subscribe(new c(d,this.project,this.thisArg))}}class c extends n.L{constructor(d,m,p){super(d),this.project=m,this.count=0,this.thisArg=p||this}_next(d){let m;try{m=this.project.call(this.thisArg,d,this.count++)}catch(p){return void this.destination.error(p)}this.destination.next(m)}}},9146:(he,A,o)=>{"use strict";o.d(A,{J:()=>u});var n=o(1709),l=o(5379);function u(c=Number.POSITIVE_INFINITY){return(0,n.zg)(l.y,c)}},1709:(he,A,o)=>{"use strict";o.d(A,{zg:()=>c,VS:()=>m});var n=o(4850),l=o(5254),u=o(1177);function c(p,y,b=Number.POSITIVE_INFINITY){return"function"==typeof y?h=>h.pipe(c((g,s)=>(0,l.D)(p(g,s)).pipe((0,n.U)((C,P)=>y(g,C,s,P))),b)):("number"==typeof y&&(b=y),h=>h.lift(new r(p,b)))}class r{constructor(y,b=Number.POSITIVE_INFINITY){this.project=y,this.concurrent=b}call(y,b){return b.subscribe(new d(y,this.project,this.concurrent))}}class d extends u.Ds{constructor(y,b,h=Number.POSITIVE_INFINITY){super(y),this.project=b,this.concurrent=h,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(y){this.active0?this._next(y.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}const m=c},2536:(he,A,o)=>{"use strict";o.d(A,{O:()=>l});var n=o(1762);function l(c,r){return function(m){let p;if(p="function"==typeof c?c:function(){return c},"function"==typeof r)return m.lift(new u(p,r));const y=Object.create(m,n.N);return y.source=m,y.subjectFactory=p,y}}class u{constructor(r,d){this.subjectFactory=r,this.selector=d}call(r,d){const{selector:m}=this,p=this.subjectFactory(),y=m(p).subscribe(r);return y.add(d.subscribe(p)),y}}},8077:(he,A,o)=>{"use strict";o.d(A,{u:()=>r});var n=o(2014),l=o(2821),u=o(7314),c=o(4843);function r(d,m){return arguments.length>=2?function(y){return(0,c.z)((0,n.R)(d,m),(0,l.h)(1),(0,u.d)(m))(y)}:function(y){return(0,c.z)((0,n.R)((b,h,g)=>d(b,h,g+1)),(0,l.h)(1))(y)}}},4327:(he,A,o)=>{"use strict";o.d(A,{x:()=>l});var n=o(3489);function l(){return function(d){return d.lift(new u(d))}}class u{constructor(d){this.connectable=d}call(d,m){const{connectable:p}=this;p._refCount++;const y=new c(d,p),b=m.subscribe(y);return y.closed||(y.connection=p.connect()),b}}class c extends n.L{constructor(d,m){super(d),this.connectable=m}_unsubscribe(){const{connectable:d}=this;if(!d)return void(this.connection=null);this.connectable=null;const m=d._refCount;if(m<=0)return void(this.connection=null);if(d._refCount=m-1,m>1)return void(this.connection=null);const{connection:p}=this,y=d._connection;this.connection=null,y&&(!p||y===p)&&y.unsubscribe()}}},2014:(he,A,o)=>{"use strict";o.d(A,{R:()=>l});var n=o(3489);function l(r,d){let m=!1;return arguments.length>=2&&(m=!0),function(y){return y.lift(new u(r,d,m))}}class u{constructor(d,m,p=!1){this.accumulator=d,this.seed=m,this.hasSeed=p}call(d,m){return m.subscribe(new c(d,this.accumulator,this.seed,this.hasSeed))}}class c extends n.L{constructor(d,m,p,y){super(d),this.accumulator=m,this._seed=p,this.hasSeed=y,this.index=0}get seed(){return this._seed}set seed(d){this.hasSeed=!0,this._seed=d}_next(d){if(this.hasSeed)return this._tryNext(d);this.seed=d,this.destination.next(d)}_tryNext(d){const m=this.index++;let p;try{p=this.accumulator(this.seed,d,m)}catch(y){this.destination.error(y)}this.seed=p,this.destination.next(p)}}},8117:(he,A,o)=>{"use strict";o.d(A,{B:()=>r});var n=o(2536),l=o(4327),u=o(8929);function c(){return new u.xQ}function r(){return d=>(0,l.x)()((0,n.O)(c)(d))}},1307:(he,A,o)=>{"use strict";o.d(A,{T:()=>l});var n=o(3489);function l(r){return d=>d.lift(new u(r))}class u{constructor(d){this.total=d}call(d,m){return m.subscribe(new c(d,this.total))}}class c extends n.L{constructor(d,m){super(d),this.total=m,this.count=0}_next(d){++this.count>this.total&&this.destination.next(d)}}},1059:(he,A,o)=>{"use strict";o.d(A,{O:()=>u});var n=o(1961),l=o(2866);function u(...c){const r=c[c.length-1];return(0,l.K)(r)?(c.pop(),d=>(0,n.z)(c,d,r)):d=>(0,n.z)(c,d)}},7545:(he,A,o)=>{"use strict";o.d(A,{w:()=>c});var n=o(4850),l=o(5254),u=o(1177);function c(m,p){return"function"==typeof p?y=>y.pipe(c((b,h)=>(0,l.D)(m(b,h)).pipe((0,n.U)((g,s)=>p(b,g,h,s))))):y=>y.lift(new r(m))}class r{constructor(p){this.project=p}call(p,y){return y.subscribe(new d(p,this.project))}}class d extends u.Ds{constructor(p,y){super(p),this.project=y,this.index=0}_next(p){let y;const b=this.index++;try{y=this.project(p,b)}catch(h){return void this.destination.error(h)}this._innerSub(y)}_innerSub(p){const y=this.innerSubscription;y&&y.unsubscribe();const b=new u.IY(this),h=this.destination;h.add(b),this.innerSubscription=(0,u.ft)(p,b),this.innerSubscription!==b&&h.add(this.innerSubscription)}_complete(){const{innerSubscription:p}=this;(!p||p.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(p){this.destination.next(p)}}},2986:(he,A,o)=>{"use strict";o.d(A,{q:()=>c});var n=o(3489),l=o(4231),u=o(8896);function c(m){return p=>0===m?(0,u.c)():p.lift(new r(m))}class r{constructor(p){if(this.total=p,this.total<0)throw new l.W}call(p,y){return y.subscribe(new d(p,this.total))}}class d extends n.L{constructor(p,y){super(p),this.total=y,this.count=0}_next(p){const y=this.total,b=++this.count;b<=y&&(this.destination.next(p),b===y&&(this.destination.complete(),this.unsubscribe()))}}},2821:(he,A,o)=>{"use strict";o.d(A,{h:()=>c});var n=o(3489),l=o(4231),u=o(8896);function c(m){return function(y){return 0===m?(0,u.c)():y.lift(new r(m))}}class r{constructor(p){if(this.total=p,this.total<0)throw new l.W}call(p,y){return y.subscribe(new d(p,this.total))}}class d extends n.L{constructor(p,y){super(p),this.total=y,this.ring=new Array,this.count=0}_next(p){const y=this.ring,b=this.total,h=this.count++;y.length0){const b=this.count>=this.total?this.total:this.count,h=this.ring;for(let g=0;g{"use strict";o.d(A,{R:()=>l});var n=o(1177);function l(r){return d=>d.lift(new u(r))}class u{constructor(d){this.notifier=d}call(d,m){const p=new c(d),y=(0,n.ft)(this.notifier,new n.IY(p));return y&&!p.seenValue?(p.add(y),m.subscribe(p)):p}}class c extends n.Ds{constructor(d){super(d),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},4290:(he,A,o)=>{"use strict";o.d(A,{o:()=>l});var n=o(3489);function l(r,d=!1){return m=>m.lift(new u(r,d))}class u{constructor(d,m){this.predicate=d,this.inclusive=m}call(d,m){return m.subscribe(new c(d,this.predicate,this.inclusive))}}class c extends n.L{constructor(d,m,p){super(d),this.predicate=m,this.inclusive=p,this.index=0}_next(d){const m=this.destination;let p;try{p=this.predicate(d,this.index++)}catch(y){return void m.error(y)}this.nextOrComplete(d,p)}nextOrComplete(d,m){const p=this.destination;Boolean(m)?p.next(d):(this.inclusive&&p.next(d),p.complete())}}},2868:(he,A,o)=>{"use strict";o.d(A,{b:()=>c});var n=o(3489);function l(){}var u=o(7043);function c(m,p,y){return function(h){return h.lift(new r(m,p,y))}}class r{constructor(p,y,b){this.nextOrObserver=p,this.error=y,this.complete=b}call(p,y){return y.subscribe(new d(p,this.nextOrObserver,this.error,this.complete))}}class d extends n.L{constructor(p,y,b,h){super(p),this._tapNext=l,this._tapError=l,this._tapComplete=l,this._tapError=b||l,this._tapComplete=h||l,(0,u.m)(y)?(this._context=this,this._tapNext=y):y&&(this._context=y,this._tapNext=y.next||l,this._tapError=y.error||l,this._tapComplete=y.complete||l)}_next(p){try{this._tapNext.call(this._context,p)}catch(y){return void this.destination.error(y)}this.destination.next(p)}_error(p){try{this._tapError.call(this._context,p)}catch(y){return void this.destination.error(y)}this.destination.error(p)}_complete(){try{this._tapComplete.call(this._context)}catch(p){return void this.destination.error(p)}return this.destination.complete()}}},4907:(he,A,o)=>{"use strict";o.d(A,{T:()=>u});var n=o(4450),l=o(3489);function u(m=d){return p=>p.lift(new c(m))}class c{constructor(p){this.errorFactory=p}call(p,y){return y.subscribe(new r(p,this.errorFactory))}}class r extends l.L{constructor(p,y){super(p),this.errorFactory=y,this.hasValue=!1}_next(p){this.hasValue=!0,this.destination.next(p)}_complete(){if(this.hasValue)return this.destination.complete();{let p;try{p=this.errorFactory()}catch(y){p=y}this.destination.error(p)}}}function d(){return new n.K}},7e3:(he,A,o)=>{"use strict";o.d(A,{V:()=>d});var n=o(353);const u=(()=>{function m(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return m.prototype=Object.create(Error.prototype),m})();var c=o(2431),r=o(1737);function d(m,p=n.P){return(0,c.L)(m,(0,r._)(new u),p)}},2431:(he,A,o)=>{"use strict";o.d(A,{L:()=>c});var n=o(353),l=o(2697),u=o(1177);function c(m,p,y=n.P){return b=>{let h=(0,l.J)(m),g=h?+m-y.now():Math.abs(m);return b.lift(new r(g,h,p,y))}}class r{constructor(p,y,b,h){this.waitFor=p,this.absoluteTimeout=y,this.withObservable=b,this.scheduler=h}call(p,y){return y.subscribe(new d(p,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class d extends u.Ds{constructor(p,y,b,h,g){super(p),this.absoluteTimeout=y,this.waitFor=b,this.withObservable=h,this.scheduler=g,this.scheduleTimeout()}static dispatchTimeout(p){const{withObservable:y}=p;p._unsubscribeAndRecycle(),p.add((0,u.ft)(y,new u.IY(p)))}scheduleTimeout(){const{action:p}=this;p?this.action=p.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(d.dispatchTimeout,this.waitFor,this))}_next(p){this.absoluteTimeout||this.scheduleTimeout(),super._next(p)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}},864:(he,A,o)=>{"use strict";o.d(A,{q:()=>u});var n=o(8077);function l(c,r,d){return 0===d?[r]:(c.push(r),c)}function u(){return(0,n.u)(l,[])}},6454:(he,A,o)=>{"use strict";o.d(A,{r:()=>u});var n=o(6498),l=o(2654);function u(c,r){return new n.y(d=>{const m=new l.w;let p=0;return m.add(r.schedule(function(){p!==c.length?(d.next(c[p++]),d.closed||m.add(this.schedule())):d.complete()})),m})}},6686:(he,A,o)=>{"use strict";o.d(A,{o:()=>u});var n=o(2654);class l extends n.w{constructor(r,d){super()}schedule(r,d=0){return this}}class u extends l{constructor(r,d){super(r,d),this.scheduler=r,this.work=d,this.pending=!1}schedule(r,d=0){if(this.closed)return this;this.state=r;const m=this.id,p=this.scheduler;return null!=m&&(this.id=this.recycleAsyncId(p,m,d)),this.pending=!0,this.delay=d,this.id=this.id||this.requestAsyncId(p,this.id,d),this}requestAsyncId(r,d,m=0){return setInterval(r.flush.bind(r,this),m)}recycleAsyncId(r,d,m=0){if(null!==m&&this.delay===m&&!1===this.pending)return d;clearInterval(d)}execute(r,d){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const m=this._execute(r,d);if(m)return m;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(r,d){let p,m=!1;try{this.work(r)}catch(y){m=!0,p=!!y&&y||new Error(y)}if(m)return this.unsubscribe(),p}_unsubscribe(){const r=this.id,d=this.scheduler,m=d.actions,p=m.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==p&&m.splice(p,1),null!=r&&(this.id=this.recycleAsyncId(d,r,null)),this.delay=null}}},2268:(he,A,o)=>{"use strict";o.d(A,{v:()=>l});let n=(()=>{class u{constructor(r,d=u.now){this.SchedulerAction=r,this.now=d}schedule(r,d=0,m){return new this.SchedulerAction(this,r).schedule(m,d)}}return u.now=()=>Date.now(),u})();class l extends n{constructor(c,r=n.now){super(c,()=>l.delegate&&l.delegate!==this?l.delegate.now():r()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(c,r=0,d){return l.delegate&&l.delegate!==this?l.delegate.schedule(c,r,d):super.schedule(c,r,d)}flush(c){const{actions:r}=this;if(this.active)return void r.push(c);let d;this.active=!0;do{if(d=c.execute(c.state,c.delay))break}while(c=r.shift());if(this.active=!1,d){for(;c=r.shift();)c.unsubscribe();throw d}}}},352:(he,A,o)=>{"use strict";o.d(A,{Z:()=>r});var n=o(6686),u=o(2268);const r=new class extends u.v{flush(p){this.active=!0,this.scheduled=void 0;const{actions:y}=this;let b,h=-1,g=y.length;p=p||y.shift();do{if(b=p.execute(p.state,p.delay))break}while(++h0?super.requestAsyncId(p,y,b):(p.actions.push(this),p.scheduled||(p.scheduled=requestAnimationFrame(()=>p.flush(null))))}recycleAsyncId(p,y,b=0){if(null!==b&&b>0||null===b&&this.delay>0)return super.recycleAsyncId(p,y,b);0===p.actions.length&&(cancelAnimationFrame(y),p.scheduled=void 0)}})},8139:(he,A,o)=>{"use strict";o.d(A,{e:()=>g,E:()=>h});let n=1;const l=Promise.resolve(),u={};function c(s){return s in u&&(delete u[s],!0)}const r={setImmediate(s){const C=n++;return u[C]=!0,l.then(()=>c(C)&&s()),C},clearImmediate(s){c(s)}};var m=o(6686),y=o(2268);const h=new class extends y.v{flush(C){this.active=!0,this.scheduled=void 0;const{actions:P}=this;let w,D=-1,T=P.length;C=C||P.shift();do{if(w=C.execute(C.state,C.delay))break}while(++D0?super.requestAsyncId(C,P,w):(C.actions.push(this),C.scheduled||(C.scheduled=r.setImmediate(C.flush.bind(C,null))))}recycleAsyncId(C,P,w=0){if(null!==w&&w>0||null===w&&this.delay>0)return super.recycleAsyncId(C,P,w);0===C.actions.length&&(r.clearImmediate(P),C.scheduled=void 0)}}),g=h},353:(he,A,o)=>{"use strict";o.d(A,{P:()=>c});var n=o(6686);const c=new(o(2268).v)(n.o)},5430:(he,A,o)=>{"use strict";o.d(A,{hZ:()=>l});const l="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},3821:(he,A,o)=>{"use strict";o.d(A,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},7668:(he,A,o)=>{"use strict";o.d(A,{b:()=>n});const n="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},4231:(he,A,o)=>{"use strict";o.d(A,{W:()=>l});const l=(()=>{function u(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return u.prototype=Object.create(Error.prototype),u})()},4450:(he,A,o)=>{"use strict";o.d(A,{K:()=>l});const l=(()=>{function u(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return u.prototype=Object.create(Error.prototype),u})()},5279:(he,A,o)=>{"use strict";o.d(A,{N:()=>l});const l=(()=>{function u(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return u.prototype=Object.create(Error.prototype),u})()},2782:(he,A,o)=>{"use strict";function n(l){setTimeout(()=>{throw l},0)}o.d(A,{z:()=>n})},5379:(he,A,o)=>{"use strict";function n(l){return l}o.d(A,{y:()=>n})},6688:(he,A,o)=>{"use strict";o.d(A,{k:()=>n});const n=Array.isArray||(l=>l&&"number"==typeof l.length)},8515:(he,A,o)=>{"use strict";o.d(A,{z:()=>n});const n=l=>l&&"number"==typeof l.length&&"function"!=typeof l},2697:(he,A,o)=>{"use strict";function n(l){return l instanceof Date&&!isNaN(+l)}o.d(A,{J:()=>n})},7043:(he,A,o)=>{"use strict";function n(l){return"function"==typeof l}o.d(A,{m:()=>n})},4241:(he,A,o)=>{"use strict";o.d(A,{k:()=>l});var n=o(6688);function l(u){return!(0,n.k)(u)&&u-parseFloat(u)+1>=0}},7830:(he,A,o)=>{"use strict";function n(l){return null!==l&&"object"==typeof l}o.d(A,{K:()=>n})},8955:(he,A,o)=>{"use strict";function n(l){return!!l&&"function"!=typeof l.subscribe&&"function"==typeof l.then}o.d(A,{t:()=>n})},2866:(he,A,o)=>{"use strict";function n(l){return l&&"function"==typeof l.schedule}o.d(A,{K:()=>n})},4843:(he,A,o)=>{"use strict";o.d(A,{z:()=>l,U:()=>u});var n=o(5379);function l(...c){return u(c)}function u(c){return 0===c.length?n.y:1===c.length?c[0]:function(d){return c.reduce((m,p)=>p(m),d)}}},9249:(he,A,o)=>{"use strict";o.d(A,{s:()=>h});var n=o(3650),l=o(2782),c=o(5430),d=o(3821),p=o(8515),y=o(8955),b=o(7830);const h=g=>{if(g&&"function"==typeof g[d.L])return(g=>s=>{const C=g[d.L]();if("function"!=typeof C.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return C.subscribe(s)})(g);if((0,p.z)(g))return(0,n.V)(g);if((0,y.t)(g))return(g=>s=>(g.then(C=>{s.closed||(s.next(C),s.complete())},C=>s.error(C)).then(null,l.z),s))(g);if(g&&"function"==typeof g[c.hZ])return(g=>s=>{const C=g[c.hZ]();for(;;){let P;try{P=C.next()}catch(w){return s.error(w),s}if(P.done){s.complete();break}if(s.next(P.value),s.closed)break}return"function"==typeof C.return&&s.add(()=>{C.return&&C.return()}),s})(g);{const C=`You provided ${(0,b.K)(g)?"an invalid object":`'${g}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(C)}}},3650:(he,A,o)=>{"use strict";o.d(A,{V:()=>n});const n=l=>u=>{for(let c=0,r=l.length;c{"use strict";o.d(A,{D:()=>r});var n=o(3489);class l extends n.L{constructor(m,p,y){super(),this.parent=m,this.outerValue=p,this.outerIndex=y,this.index=0}_next(m){this.parent.notifyNext(this.outerValue,m,this.outerIndex,this.index++,this)}_error(m){this.parent.notifyError(m,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var u=o(9249),c=o(6498);function r(d,m,p,y,b=new l(d,p,y)){if(!b.closed)return m instanceof c.y?m.subscribe(b):(0,u.s)(m)(b)}},3460:(he,A,o)=>{"use strict";o.r(A),o.d(A,{audit:()=>n.U,auditTime:()=>l.e,buffer:()=>c,bufferCount:()=>p,bufferTime:()=>C,bufferToggle:()=>Q,bufferWhen:()=>me,catchError:()=>oe.K,combineAll:()=>U,combineLatest:()=>Te,concat:()=>tt,concatAll:()=>ot.u,concatMap:()=>pt.b,concatMapTo:()=>Dt,count:()=>Ie,debounce:()=>bt,debounceTime:()=>dt.b,defaultIfEmpty:()=>Ne.d,delay:()=>rt.g,delayWhen:()=>yt,dematerialize:()=>_,distinct:()=>ce,distinctUntilChanged:()=>ve.x,distinctUntilKeyChanged:()=>Ae,elementAt:()=>Lt,endWith:()=>_t,every:()=>Mt,exhaust:()=>Ot,exhaustMap:()=>B,expand:()=>je,filter:()=>Pt.h,finalize:()=>$t.x,find:()=>vn,findIndex:()=>Ve,first:()=>ut.P,flatMap:()=>Tn.VS,groupBy:()=>Xt,ignoreElements:()=>pi,isEmpty:()=>ri,last:()=>Xe.Z,map:()=>Ee.U,mapTo:()=>J,materialize:()=>ke,max:()=>Rt,merge:()=>Zt,mergeAll:()=>Mn.J,mergeMap:()=>Tn.zg,mergeMapTo:()=>wn,mergeScan:()=>Bn,min:()=>bn,multicast:()=>ui.O,observeOn:()=>Oi,onErrorResumeNext:()=>_i,pairwise:()=>Qi,partition:()=>wi,pluck:()=>ir,publish:()=>nn,publishBehavior:()=>gn,publishLast:()=>oi,publishReplay:()=>Si,race:()=>Gi,reduce:()=>It.u,refCount:()=>Yi.x,repeat:()=>ur,repeatWhen:()=>dr,retry:()=>Xi,retryWhen:()=>Br,sample:()=>Vr,sampleTime:()=>hr,scan:()=>I.R,sequenceEqual:()=>de,share:()=>hn.B,shareReplay:()=>Nn,single:()=>Yn,skip:()=>dn.T,skipLast:()=>fr,skipUntil:()=>jr,skipWhile:()=>Cs,startWith:()=>L.O,subscribeOn:()=>Je,switchAll:()=>Gt,switchMap:()=>St.w,switchMapTo:()=>en,take:()=>gt.q,takeLast:()=>yn.h,takeUntil:()=>pn.R,takeWhile:()=>rn.o,tap:()=>Cn.b,throttle:()=>Gn,throttleTime:()=>vi,throwIfEmpty:()=>Ft.T,timeInterval:()=>xi,timeout:()=>Zr.V,timeoutWith:()=>mr.L,timestamp:()=>gr,toArray:()=>Jr.q,window:()=>tn,windowCount:()=>zn,windowTime:()=>Pn,windowToggle:()=>or,windowWhen:()=>yr,withLatestFrom:()=>Lr,zip:()=>ps,zipAll:()=>ms});var n=o(384),l=o(7568),u=o(1177);function c(We){return function(ee){return ee.lift(new r(We))}}class r{constructor(R){this.closingNotifier=R}call(R,ee){return ee.subscribe(new d(R,this.closingNotifier))}}class d extends u.Ds{constructor(R,ee){super(R),this.buffer=[],this.add((0,u.ft)(ee,new u.IY(this)))}_next(R){this.buffer.push(R)}notifyNext(){const R=this.buffer;this.buffer=[],this.destination.next(R)}}var m=o(3489);function p(We,R=null){return function(Be){return Be.lift(new y(We,R))}}class y{constructor(R,ee){this.bufferSize=R,this.startBufferEvery=ee,this.subscriberClass=ee&&R!==ee?h:b}call(R,ee){return ee.subscribe(new this.subscriberClass(R,this.bufferSize,this.startBufferEvery))}}class b extends m.L{constructor(R,ee){super(R),this.bufferSize=ee,this.buffer=[]}_next(R){const ee=this.buffer;ee.push(R),ee.length==this.bufferSize&&(this.destination.next(ee),this.buffer=[])}_complete(){const R=this.buffer;R.length>0&&this.destination.next(R),super._complete()}}class h extends m.L{constructor(R,ee,Be){super(R),this.bufferSize=ee,this.startBufferEvery=Be,this.buffers=[],this.count=0}_next(R){const{bufferSize:ee,startBufferEvery:Be,buffers:vt,count:jt}=this;this.count++,jt%Be==0&&vt.push([]);for(let Qt=vt.length;Qt--;){const Dn=vt[Qt];Dn.push(R),Dn.length===ee&&(vt.splice(Qt,1),this.destination.next(Dn))}}_complete(){const{buffers:R,destination:ee}=this;for(;R.length>0;){let Be=R.shift();Be.length>0&&ee.next(Be)}super._complete()}}var g=o(353),s=o(2866);function C(We){let R=arguments.length,ee=g.P;(0,s.K)(arguments[arguments.length-1])&&(ee=arguments[arguments.length-1],R--);let Be=null;R>=2&&(Be=arguments[1]);let vt=Number.POSITIVE_INFINITY;return R>=3&&(vt=arguments[2]),function(Qt){return Qt.lift(new P(We,Be,vt,ee))}}class P{constructor(R,ee,Be,vt){this.bufferTimeSpan=R,this.bufferCreationInterval=ee,this.maxBufferSize=Be,this.scheduler=vt}call(R,ee){return ee.subscribe(new D(R,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))}}class w{constructor(){this.buffer=[]}}class D extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.bufferTimeSpan=ee,this.bufferCreationInterval=Be,this.maxBufferSize=vt,this.scheduler=jt,this.contexts=[];const Qt=this.openContext();if(this.timespanOnly=null==Be||Be<0,this.timespanOnly)this.add(Qt.closeAction=jt.schedule(T,ee,{subscriber:this,context:Qt,bufferTimeSpan:ee}));else{const fi={bufferTimeSpan:ee,bufferCreationInterval:Be,subscriber:this,scheduler:jt};this.add(Qt.closeAction=jt.schedule($,ee,{subscriber:this,context:Qt})),this.add(jt.schedule(Y,Be,fi))}}_next(R){const ee=this.contexts,Be=ee.length;let vt;for(let jt=0;jt0;){const Be=R.shift();ee.next(Be.buffer)}super._complete()}_unsubscribe(){this.contexts=null}onBufferFull(R){this.closeContext(R);const ee=R.closeAction;if(ee.unsubscribe(),this.remove(ee),!this.closed&&this.timespanOnly){R=this.openContext();const Be=this.bufferTimeSpan;this.add(R.closeAction=this.scheduler.schedule(T,Be,{subscriber:this,context:R,bufferTimeSpan:Be}))}}openContext(){const R=new w;return this.contexts.push(R),R}closeContext(R){this.destination.next(R.buffer);const ee=this.contexts;(ee?ee.indexOf(R):-1)>=0&&ee.splice(ee.indexOf(R),1)}}function T(We){const R=We.subscriber,ee=We.context;ee&&R.closeContext(ee),R.closed||(We.context=R.openContext(),We.context.closeAction=this.schedule(We,We.bufferTimeSpan))}function Y(We){const{bufferCreationInterval:R,bufferTimeSpan:ee,subscriber:Be,scheduler:vt}=We,jt=Be.openContext();Be.closed||(Be.add(jt.closeAction=vt.schedule($,ee,{subscriber:Be,context:jt})),this.schedule(We,R))}function $(We){const{subscriber:R,context:ee}=We;R.closeContext(ee)}var z=o(2654),G=o(448),X=o(826);function Q(We,R){return function(Be){return Be.lift(new q(We,R))}}class q{constructor(R,ee){this.openings=R,this.closingSelector=ee}call(R,ee){return ee.subscribe(new ue(R,this.openings,this.closingSelector))}}class ue extends X.L{constructor(R,ee,Be){super(R),this.closingSelector=Be,this.contexts=[],this.add((0,G.D)(this,ee))}_next(R){const ee=this.contexts,Be=ee.length;for(let vt=0;vt0;){const Be=ee.shift();Be.subscription.unsubscribe(),Be.buffer=null,Be.subscription=null}this.contexts=null,super._error(R)}_complete(){const R=this.contexts;for(;R.length>0;){const ee=R.shift();this.destination.next(ee.buffer),ee.subscription.unsubscribe(),ee.buffer=null,ee.subscription=null}this.contexts=null,super._complete()}notifyNext(R,ee){R?this.closeBuffer(R):this.openBuffer(ee)}notifyComplete(R){this.closeBuffer(R.context)}openBuffer(R){try{const Be=this.closingSelector.call(this,R);Be&&this.trySubscribe(Be)}catch(ee){this._error(ee)}}closeBuffer(R){const ee=this.contexts;if(ee&&R){const{buffer:Be,subscription:vt}=R;this.destination.next(Be),ee.splice(ee.indexOf(R),1),this.remove(vt),vt.unsubscribe()}}trySubscribe(R){const ee=this.contexts,vt=new z.w,jt={buffer:[],subscription:vt};ee.push(jt);const Qt=(0,G.D)(this,R,jt);!Qt||Qt.closed?this.closeBuffer(jt):(Qt.context=jt,this.add(Qt),vt.add(Qt))}}function me(We){return function(R){return R.lift(new xe(We))}}class xe{constructor(R){this.closingSelector=R}call(R,ee){return ee.subscribe(new pe(R,this.closingSelector))}}class pe extends u.Ds{constructor(R,ee){super(R),this.closingSelector=ee,this.subscribing=!1,this.openBuffer()}_next(R){this.buffer.push(R)}_complete(){const R=this.buffer;R&&this.destination.next(R),super._complete()}_unsubscribe(){this.buffer=void 0,this.subscribing=!1}notifyNext(){this.openBuffer()}notifyComplete(){this.subscribing?this.complete():this.openBuffer()}openBuffer(){let Be,{closingSubscription:R}=this;R&&(this.remove(R),R.unsubscribe()),this.buffer&&this.destination.next(this.buffer),this.buffer=[];try{const{closingSelector:vt}=this;Be=vt()}catch(vt){return this.error(vt)}R=new z.w,this.closingSubscription=R,this.add(R),this.subscribing=!0,R.add((0,u.ft)(Be,new u.IY(this))),this.subscribing=!1}}var oe=o(7221),ae=o(6053);function U(We){return R=>R.lift(new ae.Ms(We))}var ie=o(6688),le=o(5254);function Te(...We){let R=null;return"function"==typeof We[We.length-1]&&(R=We.pop()),1===We.length&&(0,ie.k)(We[0])&&(We=We[0].slice()),ee=>ee.lift.call((0,le.D)([ee,...We]),new ae.Ms(R))}var Ke=o(1961);function tt(...We){return R=>R.lift.call((0,Ke.z)(R,...We))}var ot=o(534),pt=o(1406);function Dt(We,R){return(0,pt.b)(()=>We,R)}function Ie(We){return R=>R.lift(new Qe(We,R))}class Qe{constructor(R,ee){this.predicate=R,this.source=ee}call(R,ee){return ee.subscribe(new ct(R,this.predicate,this.source))}}class ct extends m.L{constructor(R,ee,Be){super(R),this.predicate=ee,this.source=Be,this.count=0,this.index=0}_next(R){this.predicate?this._tryPredicate(R):this.count++}_tryPredicate(R){let ee;try{ee=this.predicate(R,this.index++,this.source)}catch(Be){return void this.destination.error(Be)}ee&&this.count++}_complete(){this.destination.next(this.count),this.destination.complete()}}function bt(We){return R=>R.lift(new Et(We))}class Et{constructor(R){this.durationSelector=R}call(R,ee){return ee.subscribe(new xt(R,this.durationSelector))}}class xt extends u.Ds{constructor(R,ee){super(R),this.durationSelector=ee,this.hasValue=!1}_next(R){try{const ee=this.durationSelector.call(this,R);ee&&this._tryNext(R,ee)}catch(ee){this.destination.error(ee)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(R,ee){let Be=this.durationSubscription;this.value=R,this.hasValue=!0,Be&&(Be.unsubscribe(),this.remove(Be)),Be=(0,u.ft)(ee,new u.IY(this)),Be&&!Be.closed&&this.add(this.durationSubscription=Be)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const R=this.value,ee=this.durationSubscription;ee&&(this.durationSubscription=void 0,ee.unsubscribe(),this.remove(ee)),this.value=void 0,this.hasValue=!1,super._next(R)}}}var dt=o(13),Ne=o(7314),rt=o(943),ze=o(6498);function yt(We,R){return R?ee=>new Z(ee,R).lift(new mt(We)):ee=>ee.lift(new mt(We))}class mt{constructor(R){this.delayDurationSelector=R}call(R,ee){return ee.subscribe(new _e(R,this.delayDurationSelector))}}class _e extends X.L{constructor(R,ee){super(R),this.delayDurationSelector=ee,this.completed=!1,this.delayNotifierSubscriptions=[],this.index=0}notifyNext(R,ee,Be,vt,jt){this.destination.next(R),this.removeSubscription(jt),this.tryComplete()}notifyError(R,ee){this._error(R)}notifyComplete(R){const ee=this.removeSubscription(R);ee&&this.destination.next(ee),this.tryComplete()}_next(R){const ee=this.index++;try{const Be=this.delayDurationSelector(R,ee);Be&&this.tryDelay(Be,R)}catch(Be){this.destination.error(Be)}}_complete(){this.completed=!0,this.tryComplete(),this.unsubscribe()}removeSubscription(R){R.unsubscribe();const ee=this.delayNotifierSubscriptions.indexOf(R);return-1!==ee&&this.delayNotifierSubscriptions.splice(ee,1),R.outerValue}tryDelay(R,ee){const Be=(0,G.D)(this,R,ee);Be&&!Be.closed&&(this.destination.add(Be),this.delayNotifierSubscriptions.push(Be))}tryComplete(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()}}class Z extends ze.y{constructor(R,ee){super(),this.source=R,this.subscriptionDelay=ee}_subscribe(R){this.subscriptionDelay.subscribe(new j(R,this.source))}}class j extends m.L{constructor(R,ee){super(),this.parent=R,this.source=ee,this.sourceSubscribed=!1}_next(R){this.subscribeToSource()}_error(R){this.unsubscribe(),this.parent.error(R)}_complete(){this.unsubscribe(),this.subscribeToSource()}subscribeToSource(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))}}function _(){return function(R){return R.lift(new x)}}class x{call(R,ee){return ee.subscribe(new N(R))}}class N extends m.L{constructor(R){super(R)}_next(R){R.observe(this.destination)}}function ce(We,R){return ee=>ee.lift(new Ue(We,R))}class Ue{constructor(R,ee){this.keySelector=R,this.flushes=ee}call(R,ee){return ee.subscribe(new Oe(R,this.keySelector,this.flushes))}}class Oe extends u.Ds{constructor(R,ee,Be){super(R),this.keySelector=ee,this.values=new Set,Be&&this.add((0,u.ft)(Be,new u.IY(this)))}notifyNext(){this.values.clear()}notifyError(R){this._error(R)}_next(R){this.keySelector?this._useKeySelector(R):this._finalizeNext(R,R)}_useKeySelector(R){let ee;const{destination:Be}=this;try{ee=this.keySelector(R)}catch(vt){return void Be.error(vt)}this._finalizeNext(ee,R)}_finalizeNext(R,ee){const{values:Be}=this;Be.has(R)||(Be.add(R),this.destination.next(ee))}}var ve=o(5778);function Ae(We,R){return(0,ve.x)((ee,Be)=>R?R(ee[We],Be[We]):ee[We]===Be[We])}var nt=o(4231),Pt=o(2198),Ft=o(4907),gt=o(2986);function Lt(We,R){if(We<0)throw new nt.W;const ee=arguments.length>=2;return Be=>Be.pipe((0,Pt.h)((vt,jt)=>jt===We),(0,gt.q)(1),ee?(0,Ne.d)(R):(0,Ft.T)(()=>new nt.W))}var $e=o(1086);function _t(...We){return R=>(0,Ke.z)(R,(0,$e.of)(...We))}function Mt(We,R){return ee=>ee.lift(new Ge(We,R,ee))}class Ge{constructor(R,ee,Be){this.predicate=R,this.thisArg=ee,this.source=Be}call(R,ee){return ee.subscribe(new lt(R,this.predicate,this.thisArg,this.source))}}class lt extends m.L{constructor(R,ee,Be,vt){super(R),this.predicate=ee,this.thisArg=Be,this.source=vt,this.index=0,this.thisArg=Be||this}notifyComplete(R){this.destination.next(R),this.destination.complete()}_next(R){let ee=!1;try{ee=this.predicate.call(this.thisArg,R,this.index++,this.source)}catch(Be){return void this.destination.error(Be)}ee||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function Ot(){return We=>We.lift(new Nt)}class Nt{call(R,ee){return ee.subscribe(new Pe(R))}}class Pe extends u.Ds{constructor(R){super(R),this.hasCompleted=!1,this.hasSubscription=!1}_next(R){this.hasSubscription||(this.hasSubscription=!0,this.add((0,u.ft)(R,new u.IY(this))))}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}var Ee=o(4850);function B(We,R){return R?ee=>ee.pipe(B((Be,vt)=>(0,le.D)(We(Be,vt)).pipe((0,Ee.U)((jt,Qt)=>R(Be,jt,vt,Qt))))):ee=>ee.lift(new V(We))}class V{constructor(R){this.project=R}call(R,ee){return ee.subscribe(new be(R,this.project))}}class be extends u.Ds{constructor(R,ee){super(R),this.project=ee,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}_next(R){this.hasSubscription||this.tryNext(R)}tryNext(R){let ee;const Be=this.index++;try{ee=this.project(R,Be)}catch(vt){return void this.destination.error(vt)}this.hasSubscription=!0,this._innerSub(ee)}_innerSub(R){const ee=new u.IY(this),Be=this.destination;Be.add(ee);const vt=(0,u.ft)(R,ee);vt!==ee&&Be.add(vt)}_complete(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()}notifyNext(R){this.destination.next(R)}notifyError(R){this.destination.error(R)}notifyComplete(){this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()}}function je(We,R=Number.POSITIVE_INFINITY,ee){return R=(R||0)<1?Number.POSITIVE_INFINITY:R,Be=>Be.lift(new Ct(We,R,ee))}class Ct{constructor(R,ee,Be){this.project=R,this.concurrent=ee,this.scheduler=Be}call(R,ee){return ee.subscribe(new Ht(R,this.project,this.concurrent,this.scheduler))}}class Ht extends u.Ds{constructor(R,ee,Be,vt){super(R),this.project=ee,this.concurrent=Be,this.scheduler=vt,this.index=0,this.active=0,this.hasCompleted=!1,Be0&&this._next(R.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()}}var $t=o(537);function vn(We,R){if("function"!=typeof We)throw new TypeError("predicate is not a function");return ee=>ee.lift(new it(We,ee,!1,R))}class it{constructor(R,ee,Be,vt){this.predicate=R,this.source=ee,this.yieldIndex=Be,this.thisArg=vt}call(R,ee){return ee.subscribe(new st(R,this.predicate,this.source,this.yieldIndex,this.thisArg))}}class st extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.predicate=ee,this.source=Be,this.yieldIndex=vt,this.thisArg=jt,this.index=0}notifyComplete(R){const ee=this.destination;ee.next(R),ee.complete(),this.unsubscribe()}_next(R){const{predicate:ee,thisArg:Be}=this,vt=this.index++;try{ee.call(Be||this,R,vt,this.source)&&this.notifyComplete(this.yieldIndex?vt:R)}catch(jt){this.destination.error(jt)}}_complete(){this.notifyComplete(this.yieldIndex?-1:void 0)}}function Ve(We,R){return ee=>ee.lift(new it(We,ee,!0,R))}var ut=o(7224),At=o(8929);function Xt(We,R,ee,Be){return vt=>vt.lift(new Jt(We,R,ee,Be))}class Jt{constructor(R,ee,Be,vt){this.keySelector=R,this.elementSelector=ee,this.durationSelector=Be,this.subjectSelector=vt}call(R,ee){return ee.subscribe(new fn(R,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}class fn extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.keySelector=ee,this.elementSelector=Be,this.durationSelector=vt,this.subjectSelector=jt,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0}_next(R){let ee;try{ee=this.keySelector(R)}catch(Be){return void this.error(Be)}this._group(R,ee)}_group(R,ee){let Be=this.groups;Be||(Be=this.groups=new Map);let jt,vt=Be.get(ee);if(this.elementSelector)try{jt=this.elementSelector(R)}catch(Qt){this.error(Qt)}else jt=R;if(!vt){vt=this.subjectSelector?this.subjectSelector():new At.xQ,Be.set(ee,vt);const Qt=new li(ee,vt,this);if(this.destination.next(Qt),this.durationSelector){let Dn;try{Dn=this.durationSelector(new li(ee,vt))}catch(fi){return void this.error(fi)}this.add(Dn.subscribe(new Rn(ee,vt,this)))}}vt.closed||vt.next(jt)}_error(R){const ee=this.groups;ee&&(ee.forEach((Be,vt)=>{Be.error(R)}),ee.clear()),this.destination.error(R)}_complete(){const R=this.groups;R&&(R.forEach((ee,Be)=>{ee.complete()}),R.clear()),this.destination.complete()}removeGroup(R){this.groups.delete(R)}unsubscribe(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&super.unsubscribe())}}class Rn extends m.L{constructor(R,ee,Be){super(ee),this.key=R,this.group=ee,this.parent=Be}_next(R){this.complete()}_unsubscribe(){const{parent:R,key:ee}=this;this.key=this.parent=null,R&&R.removeGroup(ee)}}class li extends ze.y{constructor(R,ee,Be){super(),this.key=R,this.groupSubject=ee,this.refCountSubscription=Be}_subscribe(R){const ee=new z.w,{refCountSubscription:Be,groupSubject:vt}=this;return Be&&!Be.closed&&ee.add(new ti(Be)),ee.add(vt.subscribe(R)),ee}}class ti extends z.w{constructor(R){super(),this.parent=R,R.count++}unsubscribe(){const R=this.parent;!R.closed&&!this.closed&&(super.unsubscribe(),R.count-=1,0===R.count&&R.attemptedToUnsubscribe&&R.unsubscribe())}}function pi(){return function(R){return R.lift(new Jn)}}class Jn{call(R,ee){return ee.subscribe(new Ln(R))}}class Ln extends m.L{_next(R){}}function ri(){return We=>We.lift(new jn)}class jn{call(R,ee){return ee.subscribe(new Se(R))}}class Se extends m.L{constructor(R){super(R)}notifyComplete(R){const ee=this.destination;ee.next(R),ee.complete()}_next(R){this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var Xe=o(8127);function J(We){return R=>R.lift(new Re(We))}class Re{constructor(R){this.value=R}call(R,ee){return ee.subscribe(new S(R,this.value))}}class S extends m.L{constructor(R,ee){super(R),this.value=ee}_next(R){this.destination.next(this.value)}}var te=o(9312);function ke(){return function(R){return R.lift(new Ye)}}class Ye{call(R,ee){return ee.subscribe(new kt(R))}}class kt extends m.L{constructor(R){super(R)}_next(R){this.destination.next(te.P.createNext(R))}_error(R){const ee=this.destination;ee.next(te.P.createError(R)),ee.complete()}_complete(){const R=this.destination;R.next(te.P.createComplete()),R.complete()}}var It=o(8077);function Rt(We){return(0,It.u)("function"==typeof We?(ee,Be)=>We(ee,Be)>0?ee:Be:(ee,Be)=>ee>Be?ee:Be)}var Yt=o(6787);function Zt(...We){return R=>R.lift.call((0,Yt.T)(R,...We))}var Mn=o(9146),Tn=o(1709);function wn(We,R,ee=Number.POSITIVE_INFINITY){return"function"==typeof R?(0,Tn.zg)(()=>We,R,ee):("number"==typeof R&&(ee=R),(0,Tn.zg)(()=>We,ee))}function Bn(We,R,ee=Number.POSITIVE_INFINITY){return Be=>Be.lift(new An(We,R,ee))}class An{constructor(R,ee,Be){this.accumulator=R,this.seed=ee,this.concurrent=Be}call(R,ee){return ee.subscribe(new kn(R,this.accumulator,this.seed,this.concurrent))}}class kn extends u.Ds{constructor(R,ee,Be,vt){super(R),this.accumulator=ee,this.acc=Be,this.concurrent=vt,this.hasValue=!1,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(R){if(this.active0?this._next(R.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())}}function bn(We){return(0,It.u)("function"==typeof We?(ee,Be)=>We(ee,Be)<0?ee:Be:(ee,Be)=>eeR.lift(new si(We))}class si{constructor(R){this.nextSources=R}call(R,ee){return ee.subscribe(new mn(R,this.nextSources))}}class mn extends u.Ds{constructor(R,ee){super(R),this.destination=R,this.nextSources=ee}notifyError(){this.subscribeToNextSource()}notifyComplete(){this.subscribeToNextSource()}_error(R){this.subscribeToNextSource(),this.unsubscribe()}_complete(){this.subscribeToNextSource(),this.unsubscribe()}subscribeToNextSource(){const R=this.nextSources.shift();if(R){const ee=new u.IY(this),Be=this.destination;Be.add(ee);const vt=(0,u.ft)(R,ee);vt!==ee&&Be.add(vt)}else this.destination.complete()}}function Qi(){return We=>We.lift(new Fn)}class Fn{call(R,ee){return ee.subscribe(new xn(R))}}class xn extends m.L{constructor(R){super(R),this.hasPrev=!1}_next(R){let ee;this.hasPrev?ee=[this.prev,R]:this.hasPrev=!0,this.prev=R,ee&&this.destination.next(ee)}}function Ii(We,R){function ee(){return!ee.pred.apply(ee.thisArg,arguments)}return ee.pred=We,ee.thisArg=R,ee}function wi(We,R){return ee=>[(0,Pt.h)(We,R)(ee),(0,Pt.h)(Ii(We,R))(ee)]}function ir(...We){const R=We.length;if(0===R)throw new Error("list of properties cannot be empty.");return ee=>(0,Ee.U)(function(We,R){return Be=>{let vt=Be;for(let jt=0;jtnew At.xQ,We):(0,ui.O)(new At.xQ)}var an=o(591);function gn(We){return R=>(0,ui.O)(new an.X(We))(R)}class Sn extends At.xQ{constructor(){super(...arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}_subscribe(R){return this.hasError?(R.error(this.thrownError),z.w.EMPTY):this.hasCompleted&&this.hasNext?(R.next(this.value),R.complete(),z.w.EMPTY):super._subscribe(R)}next(R){this.hasCompleted||(this.value=R,this.hasNext=!0)}error(R){this.hasCompleted||super.error(R)}complete(){this.hasCompleted=!0,this.hasNext&&super.next(this.value),super.complete()}}function oi(){return We=>(0,ui.O)(new Sn)(We)}var mi=o(6686),lr=o(2268);const Ki=new class extends lr.v{}(class extends mi.o{constructor(R,ee){super(R,ee),this.scheduler=R,this.work=ee}schedule(R,ee=0){return ee>0?super.schedule(R,ee):(this.delay=ee,this.state=R,this.scheduler.flush(this),this)}execute(R,ee){return ee>0||this.closed?super.execute(R,ee):this._execute(R,ee)}requestAsyncId(R,ee,Be=0){return null!==Be&&Be>0||null===Be&&this.delay>0?super.requestAsyncId(R,ee,Be):R.flush(this)}});var Di=o(5279),Cr=o(5283);class Li extends At.xQ{constructor(R=Number.POSITIVE_INFINITY,ee=Number.POSITIVE_INFINITY,Be){super(),this.scheduler=Be,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=R<1?1:R,this._windowTime=ee<1?1:ee,ee===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(R){if(!this.isStopped){const ee=this._events;ee.push(R),ee.length>this._bufferSize&&ee.shift()}super.next(R)}nextTimeWindow(R){this.isStopped||(this._events.push(new Er(this._getNow(),R)),this._trimBufferThenGetEvents()),super.next(R)}_subscribe(R){const ee=this._infiniteTimeWindow,Be=ee?this._events:this._trimBufferThenGetEvents(),vt=this.scheduler,jt=Be.length;let Qt;if(this.closed)throw new Di.N;if(this.isStopped||this.hasError?Qt=z.w.EMPTY:(this.observers.push(R),Qt=new Cr.W(this,R)),vt&&R.add(R=new Xn(R,vt)),ee)for(let Dn=0;Dnee&&(Qt=Math.max(Qt,jt-ee)),Qt>0&&vt.splice(0,Qt),vt}}class Er{constructor(R,ee){this.time=R,this.value=ee}}function Si(We,R,ee,Be){ee&&"function"!=typeof ee&&(Be=ee);const vt="function"==typeof ee?ee:void 0,jt=new Li(We,R,Be);return Qt=>(0,ui.O)(()=>jt,vt)(Qt)}var Vi=o(1946);function Gi(...We){return function(ee){return 1===We.length&&(0,ie.k)(We[0])&&(We=We[0]),ee.lift.call((0,Vi.S3)(ee,...We))}}var Pi=o(8896);function ur(We=-1){return R=>0===We?(0,Pi.c)():R.lift(new cr(We<0?-1:We-1,R))}class cr{constructor(R,ee){this.count=R,this.source=ee}call(R,ee){return ee.subscribe(new di(R,this.count,this.source))}}class di extends m.L{constructor(R,ee,Be){super(R),this.count=ee,this.source=Be}complete(){if(!this.isStopped){const{source:R,count:ee}=this;if(0===ee)return super.complete();ee>-1&&(this.count=ee-1),R.subscribe(this._unsubscribeAndRecycle())}}}function dr(We){return R=>R.lift(new qi(We))}class qi{constructor(R){this.notifier=R}call(R,ee){return ee.subscribe(new $i(R,this.notifier,ee))}}class $i extends u.Ds{constructor(R,ee,Be){super(R),this.notifier=ee,this.source=Be,this.sourceIsBeingSubscribedTo=!0}notifyNext(){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)}notifyComplete(){if(!1===this.sourceIsBeingSubscribedTo)return super.complete()}complete(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return super.complete();this._unsubscribeAndRecycle(),this.notifications.next(void 0)}}_unsubscribe(){const{notifications:R,retriesSubscription:ee}=this;R&&(R.unsubscribe(),this.notifications=void 0),ee&&(ee.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}_unsubscribeAndRecycle(){const{_unsubscribe:R}=this;return this._unsubscribe=null,super._unsubscribeAndRecycle(),this._unsubscribe=R,this}subscribeToRetries(){let R;this.notifications=new At.xQ;try{const{notifier:ee}=this;R=ee(this.notifications)}catch(ee){return super.complete()}this.retries=R,this.retriesSubscription=(0,u.ft)(R,new u.IY(this))}}function Xi(We=-1){return R=>R.lift(new yi(We,R))}class yi{constructor(R,ee){this.count=R,this.source=ee}call(R,ee){return ee.subscribe(new rr(R,this.count,this.source))}}class rr extends m.L{constructor(R,ee,Be){super(R),this.count=ee,this.source=Be}error(R){if(!this.isStopped){const{source:ee,count:Be}=this;if(0===Be)return super.error(R);Be>-1&&(this.count=Be-1),ee.subscribe(this._unsubscribeAndRecycle())}}}function Br(We){return R=>R.lift(new Rr(We,R))}class Rr{constructor(R,ee){this.notifier=R,this.source=ee}call(R,ee){return ee.subscribe(new Mr(R,this.notifier,this.source))}}class Mr extends u.Ds{constructor(R,ee,Be){super(R),this.notifier=ee,this.source=Be}error(R){if(!this.isStopped){let ee=this.errors,Be=this.retries,vt=this.retriesSubscription;if(Be)this.errors=void 0,this.retriesSubscription=void 0;else{ee=new At.xQ;try{const{notifier:jt}=this;Be=jt(ee)}catch(jt){return super.error(jt)}vt=(0,u.ft)(Be,new u.IY(this))}this._unsubscribeAndRecycle(),this.errors=ee,this.retries=Be,this.retriesSubscription=vt,ee.next(R)}}_unsubscribe(){const{errors:R,retriesSubscription:ee}=this;R&&(R.unsubscribe(),this.errors=void 0),ee&&(ee.unsubscribe(),this.retriesSubscription=void 0),this.retries=void 0}notifyNext(){const{_unsubscribe:R}=this;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=R,this.source.subscribe(this)}}var Yi=o(4327);function Vr(We){return R=>R.lift(new Wn(We))}class Wn{constructor(R){this.notifier=R}call(R,ee){const Be=new Dr(R),vt=ee.subscribe(Be);return vt.add((0,u.ft)(this.notifier,new u.IY(Be))),vt}}class Dr extends u.Ds{constructor(){super(...arguments),this.hasValue=!1}_next(R){this.value=R,this.hasValue=!0}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))}}function hr(We,R=g.P){return ee=>ee.lift(new fe(We,R))}class fe{constructor(R,ee){this.period=R,this.scheduler=ee}call(R,ee){return ee.subscribe(new k(R,this.period,this.scheduler))}}class k extends m.L{constructor(R,ee,Be){super(R),this.period=ee,this.scheduler=Be,this.hasValue=!1,this.add(Be.schedule(E,ee,{subscriber:this,period:ee}))}_next(R){this.lastValue=R,this.hasValue=!0}notifyNext(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))}}function E(We){let{subscriber:R,period:ee}=We;R.notifyNext(),this.schedule(We,ee)}var I=o(2014);function de(We,R){return ee=>ee.lift(new Ze(We,R))}class Ze{constructor(R,ee){this.compareTo=R,this.comparator=ee}call(R,ee){return ee.subscribe(new wt(R,this.compareTo,this.comparator))}}class wt extends m.L{constructor(R,ee,Be){super(R),this.compareTo=ee,this.comparator=Be,this._a=[],this._b=[],this._oneComplete=!1,this.destination.add(ee.subscribe(new Wt(R,this)))}_next(R){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(R),this.checkValues())}_complete(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()}checkValues(){const{_a:R,_b:ee,comparator:Be}=this;for(;R.length>0&&ee.length>0;){let vt=R.shift(),jt=ee.shift(),Qt=!1;try{Qt=Be?Be(vt,jt):vt===jt}catch(Dn){this.destination.error(Dn)}Qt||this.emit(!1)}}emit(R){const{destination:ee}=this;ee.next(R),ee.complete()}nextB(R){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(R),this.checkValues())}completeB(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0}}class Wt extends m.L{constructor(R,ee){super(R),this.parent=ee}_next(R){this.parent.nextB(R)}_error(R){this.parent.error(R),this.unsubscribe()}_complete(){this.parent.completeB(),this.unsubscribe()}}var hn=o(8117);function Nn(We,R,ee){let Be;return Be=We&&"object"==typeof We?We:{bufferSize:We,windowTime:R,refCount:!1,scheduler:ee},vt=>vt.lift(function({bufferSize:We=Number.POSITIVE_INFINITY,windowTime:R=Number.POSITIVE_INFINITY,refCount:ee,scheduler:Be}){let vt,Qt,jt=0,Dn=!1,fi=!1;return function(W){let F;jt++,!vt||Dn?(Dn=!1,vt=new Li(We,R,Be),F=vt.subscribe(this),Qt=W.subscribe({next(ge){vt.next(ge)},error(ge){Dn=!0,vt.error(ge)},complete(){fi=!0,Qt=void 0,vt.complete()}}),fi&&(Qt=void 0)):F=vt.subscribe(this),this.add(()=>{jt--,F.unsubscribe(),F=void 0,Qt&&!fi&&ee&&0===jt&&(Qt.unsubscribe(),Qt=void 0,vt=void 0)})}}(Be))}var Vn=o(4450);function Yn(We){return R=>R.lift(new Qn(We,R))}class Qn{constructor(R,ee){this.predicate=R,this.source=ee}call(R,ee){return ee.subscribe(new ii(R,this.predicate,this.source))}}class ii extends m.L{constructor(R,ee,Be){super(R),this.predicate=ee,this.source=Be,this.seenValue=!1,this.index=0}applySingleValue(R){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=R)}_next(R){const ee=this.index++;this.predicate?this.tryNext(R,ee):this.applySingleValue(R)}tryNext(R,ee){try{this.predicate(R,ee,this.source)&&this.applySingleValue(R)}catch(Be){this.destination.error(Be)}}_complete(){const R=this.destination;this.index>0?(R.next(this.seenValue?this.singleValue:void 0),R.complete()):R.error(new Vn.K)}}var dn=o(1307);function fr(We){return R=>R.lift(new ji(We))}class ji{constructor(R){if(this._skipCount=R,this._skipCount<0)throw new nt.W}call(R,ee){return ee.subscribe(0===this._skipCount?new m.L(R):new sr(R,this._skipCount))}}class sr extends m.L{constructor(R,ee){super(R),this._skipCount=ee,this._count=0,this._ring=new Array(ee)}_next(R){const ee=this._skipCount,Be=this._count++;if(BeR.lift(new Sr(We))}class Sr{constructor(R){this.notifier=R}call(R,ee){return ee.subscribe(new Hr(R,this.notifier))}}class Hr extends u.Ds{constructor(R,ee){super(R),this.hasValue=!1;const Be=new u.IY(this);this.add(Be),this.innerSubscription=Be;const vt=(0,u.ft)(ee,Be);vt!==Be&&(this.add(vt),this.innerSubscription=vt)}_next(R){this.hasValue&&super._next(R)}notifyNext(){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()}notifyComplete(){}}function Cs(We){return R=>R.lift(new ye(We))}class ye{constructor(R){this.predicate=R}call(R,ee){return ee.subscribe(new M(R,this.predicate))}}class M extends m.L{constructor(R,ee){super(R),this.predicate=ee,this.skipping=!0,this.index=0}_next(R){const ee=this.destination;this.skipping&&this.tryCallPredicate(R),this.skipping||ee.next(R)}tryCallPredicate(R){try{const ee=this.predicate(R,this.index++);this.skipping=Boolean(ee)}catch(ee){this.destination.error(ee)}}}var L=o(1059),ne=o(8139),we=o(4241);class He extends ze.y{constructor(R,ee=0,Be=ne.e){super(),this.source=R,this.delayTime=ee,this.scheduler=Be,(!(0,we.k)(ee)||ee<0)&&(this.delayTime=0),(!Be||"function"!=typeof Be.schedule)&&(this.scheduler=ne.e)}static create(R,ee=0,Be=ne.e){return new He(R,ee,Be)}static dispatch(R){const{source:ee,subscriber:Be}=R;return this.add(ee.subscribe(Be))}_subscribe(R){return this.scheduler.schedule(He.dispatch,this.delayTime,{source:this.source,subscriber:R})}}function Je(We,R=0){return function(Be){return Be.lift(new at(We,R))}}class at{constructor(R,ee){this.scheduler=R,this.delay=ee}call(R,ee){return new He(ee,this.delay,this.scheduler).subscribe(R)}}var St=o(7545),Vt=o(5379);function Gt(){return(0,St.w)(Vt.y)}function en(We,R){return R?(0,St.w)(()=>We,R):(0,St.w)(()=>We)}var yn=o(2821),pn=o(7625),rn=o(4290),Cn=o(2868);const In={leading:!0,trailing:!1};function Gn(We,R=In){return ee=>ee.lift(new ai(We,!!R.leading,!!R.trailing))}class ai{constructor(R,ee,Be){this.durationSelector=R,this.leading=ee,this.trailing=Be}call(R,ee){return ee.subscribe(new Ci(R,this.durationSelector,this.leading,this.trailing))}}class Ci extends u.Ds{constructor(R,ee,Be,vt){super(R),this.destination=R,this.durationSelector=ee,this._leading=Be,this._trailing=vt,this._hasValue=!1}_next(R){this._hasValue=!0,this._sendValue=R,this._throttled||(this._leading?this.send():this.throttle(R))}send(){const{_hasValue:R,_sendValue:ee}=this;R&&(this.destination.next(ee),this.throttle(ee)),this._hasValue=!1,this._sendValue=void 0}throttle(R){const ee=this.tryDurationSelector(R);ee&&this.add(this._throttled=(0,u.ft)(ee,new u.IY(this)))}tryDurationSelector(R){try{return this.durationSelector(R)}catch(ee){return this.destination.error(ee),null}}throttlingDone(){const{_throttled:R,_trailing:ee}=this;R&&R.unsubscribe(),this._throttled=void 0,ee&&this.send()}notifyNext(){this.throttlingDone()}notifyComplete(){this.throttlingDone()}}function vi(We,R=g.P,ee=In){return Be=>Be.lift(new pr(We,R,ee.leading,ee.trailing))}class pr{constructor(R,ee,Be,vt){this.duration=R,this.scheduler=ee,this.leading=Be,this.trailing=vt}call(R,ee){return ee.subscribe(new ki(R,this.duration,this.scheduler,this.leading,this.trailing))}}class ki extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.duration=ee,this.scheduler=Be,this.leading=vt,this.trailing=jt,this._hasTrailingValue=!1,this._trailingValue=null}_next(R){this.throttled?this.trailing&&(this._trailingValue=R,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(gi,this.duration,{subscriber:this})),this.leading?this.destination.next(R):this.trailing&&(this._trailingValue=R,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const R=this.throttled;R&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),R.unsubscribe(),this.remove(R),this.throttled=null)}}function gi(We){const{subscriber:R}=We;R.clearThrottle()}var Zi=o(8514);function xi(We=g.P){return R=>(0,Zi.P)(()=>R.pipe((0,I.R)(({current:ee},Be)=>({value:Be,current:We.now(),last:ee}),{current:We.now(),value:void 0,last:void 0}),(0,Ee.U)(({current:ee,last:Be,value:vt})=>new Ji(vt,ee-Be))))}class Ji{constructor(R,ee){this.value=R,this.interval=ee}}var Zr=o(7e3),mr=o(2431);function gr(We=g.P){return(0,Ee.U)(R=>new cs(R,We.now()))}class cs{constructor(R,ee){this.value=R,this.timestamp=ee}}var Jr=o(864);function tn(We){return function(ee){return ee.lift(new un(We))}}class un{constructor(R){this.windowBoundaries=R}call(R,ee){const Be=new ln(R),vt=ee.subscribe(Be);return vt.closed||Be.add((0,u.ft)(this.windowBoundaries,new u.IY(Be))),vt}}class ln extends u.Ds{constructor(R){super(R),this.window=new At.xQ,R.next(this.window)}notifyNext(){this.openWindow()}notifyError(R){this._error(R)}notifyComplete(){this._complete()}_next(R){this.window.next(R)}_error(R){this.window.error(R),this.destination.error(R)}_complete(){this.window.complete(),this.destination.complete()}_unsubscribe(){this.window=null}openWindow(){const R=this.window;R&&R.complete();const ee=this.destination,Be=this.window=new At.xQ;ee.next(Be)}}function zn(We,R=0){return function(Be){return Be.lift(new Un(We,R))}}class Un{constructor(R,ee){this.windowSize=R,this.startWindowEvery=ee}call(R,ee){return ee.subscribe(new hi(R,this.windowSize,this.startWindowEvery))}}class hi extends m.L{constructor(R,ee,Be){super(R),this.destination=R,this.windowSize=ee,this.startWindowEvery=Be,this.windows=[new At.xQ],this.count=0,R.next(this.windows[0])}_next(R){const ee=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,Be=this.destination,vt=this.windowSize,jt=this.windows,Qt=jt.length;for(let fi=0;fi=0&&Dn%ee==0&&!this.closed&&jt.shift().complete(),++this.count%ee==0&&!this.closed){const fi=new At.xQ;jt.push(fi),Be.next(fi)}}_error(R){const ee=this.windows;if(ee)for(;ee.length>0&&!this.closed;)ee.shift().error(R);this.destination.error(R)}_complete(){const R=this.windows;if(R)for(;R.length>0&&!this.closed;)R.shift().complete();this.destination.complete()}_unsubscribe(){this.count=0,this.windows=null}}function Pn(We){let R=g.P,ee=null,Be=Number.POSITIVE_INFINITY;return(0,s.K)(arguments[3])&&(R=arguments[3]),(0,s.K)(arguments[2])?R=arguments[2]:(0,we.k)(arguments[2])&&(Be=Number(arguments[2])),(0,s.K)(arguments[1])?R=arguments[1]:(0,we.k)(arguments[1])&&(ee=Number(arguments[1])),function(jt){return jt.lift(new Ai(We,ee,Be,R))}}class Ai{constructor(R,ee,Be,vt){this.windowTimeSpan=R,this.windowCreationInterval=ee,this.maxWindowSize=Be,this.scheduler=vt}call(R,ee){return ee.subscribe(new ds(R,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))}}class ei extends At.xQ{constructor(){super(...arguments),this._numberOfNextedValues=0}next(R){this._numberOfNextedValues++,super.next(R)}get numberOfNextedValues(){return this._numberOfNextedValues}}class ds extends m.L{constructor(R,ee,Be,vt,jt){super(R),this.destination=R,this.windowTimeSpan=ee,this.windowCreationInterval=Be,this.maxWindowSize=vt,this.scheduler=jt,this.windows=[];const Qt=this.openWindow();if(null!==Be&&Be>=0){const fi={windowTimeSpan:ee,windowCreationInterval:Be,subscriber:this,scheduler:jt};this.add(jt.schedule(_r,ee,{subscriber:this,window:Qt,context:null})),this.add(jt.schedule(Ni,Be,fi))}else this.add(jt.schedule(hs,ee,{subscriber:this,window:Qt,windowTimeSpan:ee}))}_next(R){const ee=this.windows,Be=ee.length;for(let vt=0;vt=this.maxWindowSize&&this.closeWindow(jt))}}_error(R){const ee=this.windows;for(;ee.length>0;)ee.shift().error(R);this.destination.error(R)}_complete(){const R=this.windows;for(;R.length>0;){const ee=R.shift();ee.closed||ee.complete()}this.destination.complete()}openWindow(){const R=new ei;return this.windows.push(R),this.destination.next(R),R}closeWindow(R){R.complete();const ee=this.windows;ee.splice(ee.indexOf(R),1)}}function hs(We){const{subscriber:R,windowTimeSpan:ee,window:Be}=We;Be&&R.closeWindow(Be),We.window=R.openWindow(),this.schedule(We,ee)}function Ni(We){const{windowTimeSpan:R,subscriber:ee,scheduler:Be,windowCreationInterval:vt}=We,jt=ee.openWindow();let Dn={action:this,subscription:null};Dn.subscription=Be.schedule(_r,R,{subscriber:ee,window:jt,context:Dn}),this.add(Dn.subscription),this.schedule(We,vt)}function _r(We){const{subscriber:R,window:ee,context:Be}=We;Be&&Be.action&&Be.subscription&&Be.action.remove(Be.subscription),R.closeWindow(ee)}function or(We,R){return ee=>ee.lift(new Hi(We,R))}class Hi{constructor(R,ee){this.openings=R,this.closingSelector=ee}call(R,ee){return ee.subscribe(new zr(R,this.openings,this.closingSelector))}}class zr extends X.L{constructor(R,ee,Be){super(R),this.openings=ee,this.closingSelector=Be,this.contexts=[],this.add(this.openSubscription=(0,G.D)(this,ee,ee))}_next(R){const{contexts:ee}=this;if(ee){const Be=ee.length;for(let vt=0;vt{let ee;return"function"==typeof We[We.length-1]&&(ee=We.pop()),R.lift(new fs(We,ee))}}class fs{constructor(R,ee){this.observables=R,this.project=ee}call(R,ee){return ee.subscribe(new Eo(R,this.observables,this.project))}}class Eo extends X.L{constructor(R,ee,Be){super(R),this.observables=ee,this.project=Be,this.toRespond=[];const vt=ee.length;this.values=new Array(vt);for(let jt=0;jt0){const jt=vt.indexOf(Be);-1!==jt&&vt.splice(jt,1)}}notifyComplete(){}_next(R){if(0===this.toRespond.length){const ee=[R,...this.values];this.project?this._tryProject(ee):this.destination.next(ee)}}_tryProject(R){let ee;try{ee=this.project.apply(this,R)}catch(Be){return void this.destination.error(Be)}this.destination.next(ee)}}var Fs=o(1746);function ps(...We){return function(ee){return ee.lift.call((0,Fs.$R)(ee,...We))}}function ms(We){return R=>R.lift(new Fs.mx(We))}},8951:he=>{"use strict";he.exports=(A,o)=>{if("string"!=typeof A||"string"!=typeof o)throw new TypeError("Expected the arguments to be of type `string`");if(""===o)return[A];const n=A.indexOf(o);return-1===n?[A]:[A.slice(0,n),A.slice(n+o.length)]}},8372:he=>{"use strict";he.exports=A=>encodeURIComponent(A).replace(/[!'()*]/g,o=>`%${o.charCodeAt(0).toString(16).toUpperCase()}`)},1464:(he,A,o)=>{"use strict";o.r(A),o.d(A,{NIL:()=>Et,parse:()=>T,stringify:()=>b,v1:()=>w,v3:()=>Ke,v4:()=>ot,v5:()=>bt,validate:()=>d,version:()=>dt});var n,l=new Uint8Array(16);function u(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(l)}const c=/^(?:[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,d=function(Ne){return"string"==typeof Ne&&c.test(Ne)};for(var m=[],p=0;p<256;++p)m.push((p+256).toString(16).substr(1));const b=function(Ne){var rt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,ze=(m[Ne[rt+0]]+m[Ne[rt+1]]+m[Ne[rt+2]]+m[Ne[rt+3]]+"-"+m[Ne[rt+4]]+m[Ne[rt+5]]+"-"+m[Ne[rt+6]]+m[Ne[rt+7]]+"-"+m[Ne[rt+8]]+m[Ne[rt+9]]+"-"+m[Ne[rt+10]]+m[Ne[rt+11]]+m[Ne[rt+12]]+m[Ne[rt+13]]+m[Ne[rt+14]]+m[Ne[rt+15]]).toLowerCase();if(!d(ze))throw TypeError("Stringified UUID is invalid");return ze};var h,g,s=0,C=0;const w=function(Ne,rt,ze){var yt=rt&&ze||0,mt=rt||new Array(16),_e=(Ne=Ne||{}).node||h,Z=void 0!==Ne.clockseq?Ne.clockseq:g;if(null==_e||null==Z){var j=Ne.random||(Ne.rng||u)();null==_e&&(_e=h=[1|j[0],j[1],j[2],j[3],j[4],j[5]]),null==Z&&(Z=g=16383&(j[6]<<8|j[7]))}var _=void 0!==Ne.msecs?Ne.msecs:Date.now(),x=void 0!==Ne.nsecs?Ne.nsecs:C+1,N=_-s+(x-C)/1e4;if(N<0&&void 0===Ne.clockseq&&(Z=Z+1&16383),(N<0||_>s)&&void 0===Ne.nsecs&&(x=0),x>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=_,C=x,g=Z;var ce=(1e4*(268435455&(_+=122192928e5))+x)%4294967296;mt[yt++]=ce>>>24&255,mt[yt++]=ce>>>16&255,mt[yt++]=ce>>>8&255,mt[yt++]=255&ce;var Ue=_/4294967296*1e4&268435455;mt[yt++]=Ue>>>8&255,mt[yt++]=255&Ue,mt[yt++]=Ue>>>24&15|16,mt[yt++]=Ue>>>16&255,mt[yt++]=Z>>>8|128,mt[yt++]=255&Z;for(var Oe=0;Oe<6;++Oe)mt[yt+Oe]=_e[Oe];return rt||b(mt)},T=function(Ne){if(!d(Ne))throw TypeError("Invalid UUID");var rt,ze=new Uint8Array(16);return ze[0]=(rt=parseInt(Ne.slice(0,8),16))>>>24,ze[1]=rt>>>16&255,ze[2]=rt>>>8&255,ze[3]=255&rt,ze[4]=(rt=parseInt(Ne.slice(9,13),16))>>>8,ze[5]=255&rt,ze[6]=(rt=parseInt(Ne.slice(14,18),16))>>>8,ze[7]=255&rt,ze[8]=(rt=parseInt(Ne.slice(19,23),16))>>>8,ze[9]=255&rt,ze[10]=(rt=parseInt(Ne.slice(24,36),16))/1099511627776&255,ze[11]=rt/4294967296&255,ze[12]=rt>>>24&255,ze[13]=rt>>>16&255,ze[14]=rt>>>8&255,ze[15]=255&rt,ze};function G(Ne,rt,ze){function yt(mt,_e,Z,j){if("string"==typeof mt&&(mt=function(Ne){Ne=unescape(encodeURIComponent(Ne));for(var rt=[],ze=0;ze>>9<<4)+1}function xe(Ne,rt){var ze=(65535&Ne)+(65535&rt);return(Ne>>16)+(rt>>16)+(ze>>16)<<16|65535&ze}function oe(Ne,rt,ze,yt,mt,_e){return xe(function(Ne,rt){return Ne<>>32-rt}(xe(xe(rt,Ne),xe(yt,_e)),mt),ze)}function ae(Ne,rt,ze,yt,mt,_e,Z){return oe(rt&ze|~rt&yt,Ne,rt,mt,_e,Z)}function U(Ne,rt,ze,yt,mt,_e,Z){return oe(rt&yt|ze&~yt,Ne,rt,mt,_e,Z)}function ie(Ne,rt,ze,yt,mt,_e,Z){return oe(rt^ze^yt,Ne,rt,mt,_e,Z)}function le(Ne,rt,ze,yt,mt,_e,Z){return oe(ze^(rt|~yt),Ne,rt,mt,_e,Z)}const Ke=G("v3",48,function(Ne){if("string"==typeof Ne){var rt=unescape(encodeURIComponent(Ne));Ne=new Uint8Array(rt.length);for(var ze=0;ze>5]>>>mt%32&255,Z=parseInt(yt.charAt(_e>>>4&15)+yt.charAt(15&_e),16);rt.push(Z)}return rt}(function(Ne,rt){Ne[rt>>5]|=128<>5]|=(255&Ne[yt/8])<>>32-rt}const bt=G("v5",80,function(Ne){var rt=[1518500249,1859775393,2400959708,3395469782],ze=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof Ne){var yt=unescape(encodeURIComponent(Ne));Ne=[];for(var mt=0;mt>>0;gt=Ft,Ft=Pt,Pt=Dt(nt,30)>>>0,nt=Ae,Ae=_t}ze[0]=ze[0]+Ae>>>0,ze[1]=ze[1]+nt>>>0,ze[2]=ze[2]+Pt>>>0,ze[3]=ze[3]+Ft>>>0,ze[4]=ze[4]+gt>>>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]]}),Et="00000000-0000-0000-0000-000000000000",dt=function(Ne){if(!d(Ne))throw TypeError("Invalid UUID");return parseInt(Ne.substr(14,1),16)}},8926:he=>{function A(n,l,u,c,r,d,m){try{var p=n[d](m),y=p.value}catch(b){return void u(b)}p.done?l(y):Promise.resolve(y).then(c,r)}he.exports=function(n){return function(){var l=this,u=arguments;return new Promise(function(c,r){var d=n.apply(l,u);function m(y){A(d,c,r,m,p,"next",y)}function p(y){A(d,c,r,m,p,"throw",y)}m(void 0)})}},he.exports.default=he.exports,he.exports.__esModule=!0},655:(he,A,o)=>{"use strict";o.r(A),o.d(A,{__extends:()=>l,__assign:()=>u,__rest:()=>c,__decorate:()=>r,__param:()=>d,__metadata:()=>m,__awaiter:()=>p,__generator:()=>y,__createBinding:()=>b,__exportStar:()=>h,__values:()=>g,__read:()=>s,__spread:()=>C,__spreadArrays:()=>P,__spreadArray:()=>w,__await:()=>D,__asyncGenerator:()=>T,__asyncDelegator:()=>Y,__asyncValues:()=>$,__makeTemplateObject:()=>z,__importStar:()=>X,__importDefault:()=>Q,__classPrivateFieldGet:()=>q,__classPrivateFieldSet:()=>ue});var n=function(me,xe){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(pe,oe){pe.__proto__=oe}||function(pe,oe){for(var ae in oe)Object.prototype.hasOwnProperty.call(oe,ae)&&(pe[ae]=oe[ae])})(me,xe)};function l(me,xe){if("function"!=typeof xe&&null!==xe)throw new TypeError("Class extends value "+String(xe)+" is not a constructor or null");function pe(){this.constructor=me}n(me,xe),me.prototype=null===xe?Object.create(xe):(pe.prototype=xe.prototype,new pe)}var u=function(){return u=Object.assign||function(xe){for(var pe,oe=1,ae=arguments.length;oe=0;le--)(ie=me[le])&&(U=(ae<3?ie(U):ae>3?ie(xe,pe,U):ie(xe,pe))||U);return ae>3&&U&&Object.defineProperty(xe,pe,U),U}function d(me,xe){return function(pe,oe){xe(pe,oe,me)}}function m(me,xe){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(me,xe)}function p(me,xe,pe,oe){return new(pe||(pe=Promise))(function(U,ie){function le(Ke){try{Te(oe.next(Ke))}catch(tt){ie(tt)}}function Ce(Ke){try{Te(oe.throw(Ke))}catch(tt){ie(tt)}}function Te(Ke){Ke.done?U(Ke.value):function(U){return U instanceof pe?U:new pe(function(ie){ie(U)})}(Ke.value).then(le,Ce)}Te((oe=oe.apply(me,xe||[])).next())})}function y(me,xe){var oe,ae,U,ie,pe={label:0,sent:function(){if(1&U[0])throw U[1];return U[1]},trys:[],ops:[]};return ie={next:le(0),throw:le(1),return:le(2)},"function"==typeof Symbol&&(ie[Symbol.iterator]=function(){return this}),ie;function le(Te){return function(Ke){return function(Te){if(oe)throw new TypeError("Generator is already executing.");for(;pe;)try{if(oe=1,ae&&(U=2&Te[0]?ae.return:Te[0]?ae.throw||((U=ae.return)&&U.call(ae),0):ae.next)&&!(U=U.call(ae,Te[1])).done)return U;switch(ae=0,U&&(Te=[2&Te[0],U.value]),Te[0]){case 0:case 1:U=Te;break;case 4:return pe.label++,{value:Te[1],done:!1};case 5:pe.label++,ae=Te[1],Te=[0];continue;case 7:Te=pe.ops.pop(),pe.trys.pop();continue;default:if(!(U=(U=pe.trys).length>0&&U[U.length-1])&&(6===Te[0]||2===Te[0])){pe=0;continue}if(3===Te[0]&&(!U||Te[1]>U[0]&&Te[1]=me.length&&(me=void 0),{value:me&&me[oe++],done:!me}}};throw new TypeError(xe?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(me,xe){var pe="function"==typeof Symbol&&me[Symbol.iterator];if(!pe)return me;var ae,ie,oe=pe.call(me),U=[];try{for(;(void 0===xe||xe-- >0)&&!(ae=oe.next()).done;)U.push(ae.value)}catch(le){ie={error:le}}finally{try{ae&&!ae.done&&(pe=oe.return)&&pe.call(oe)}finally{if(ie)throw ie.error}}return U}function C(){for(var me=[],xe=0;xe1||le(ot,pt)})})}function le(ot,pt){try{!function(ot){ot.value instanceof D?Promise.resolve(ot.value.v).then(Te,Ke):tt(U[0][2],ot)}(oe[ot](pt))}catch(Dt){tt(U[0][3],Dt)}}function Te(ot){le("next",ot)}function Ke(ot){le("throw",ot)}function tt(ot,pt){ot(pt),U.shift(),U.length&&le(U[0][0],U[0][1])}}function Y(me){var xe,pe;return xe={},oe("next"),oe("throw",function(ae){throw ae}),oe("return"),xe[Symbol.iterator]=function(){return this},xe;function oe(ae,U){xe[ae]=me[ae]?function(ie){return(pe=!pe)?{value:D(me[ae](ie)),done:"return"===ae}:U?U(ie):ie}:U}}function $(me){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe,xe=me[Symbol.asyncIterator];return xe?xe.call(me):(me=g(me),pe={},oe("next"),oe("throw"),oe("return"),pe[Symbol.asyncIterator]=function(){return this},pe);function oe(U){pe[U]=me[U]&&function(ie){return new Promise(function(le,Ce){!function(U,ie,le,Ce){Promise.resolve(Ce).then(function(Te){U({value:Te,done:le})},ie)}(le,Ce,(ie=me[U](ie)).done,ie.value)})}}}function z(me,xe){return Object.defineProperty?Object.defineProperty(me,"raw",{value:xe}):me.raw=xe,me}var G=Object.create?function(me,xe){Object.defineProperty(me,"default",{enumerable:!0,value:xe})}:function(me,xe){me.default=xe};function X(me){if(me&&me.__esModule)return me;var xe={};if(null!=me)for(var pe in me)"default"!==pe&&Object.prototype.hasOwnProperty.call(me,pe)&&b(xe,me,pe);return G(xe,me),xe}function Q(me){return me&&me.__esModule?me:{default:me}}function q(me,xe){if(!xe.has(me))throw new TypeError("attempted to get private field on non-instance");return xe.get(me)}function ue(me,xe,pe){if(!xe.has(me))throw new TypeError("attempted to set private field on non-instance");return xe.set(me,pe),pe}},1777:(he,A,o)=>{"use strict";o.d(A,{l3:()=>u,_j:()=>n,LC:()=>l,ZN:()=>T,jt:()=>r,pV:()=>s,F4:()=>b,IO:()=>P,vP:()=>m,SB:()=>y,oB:()=>p,eR:()=>h,X$:()=>c,ZE:()=>Y,k1:()=>$});class n{}class l{}const u="*";function c(z,G){return{type:7,name:z,definitions:G,options:{}}}function r(z,G=null){return{type:4,styles:G,timings:z}}function m(z,G=null){return{type:2,steps:z,options:G}}function p(z){return{type:6,styles:z,offset:null}}function y(z,G,X){return{type:0,name:z,styles:G,options:X}}function b(z){return{type:5,steps:z}}function h(z,G,X=null){return{type:1,expr:z,animation:G,options:X}}function s(z=null){return{type:9,options:z}}function P(z,G,X=null){return{type:11,selector:z,animation:G,options:X}}function D(z){Promise.resolve(null).then(z)}class T{constructor(G=0,X=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=G+X}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(G=>G()),this._onDoneFns=[])}onStart(G){this._onStartFns.push(G)}onDone(G){this._onDoneFns.push(G)}onDestroy(G){this._onDestroyFns.push(G)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){D(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(G=>G()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(G=>G()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(G){this._position=this.totalTime?G*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(G){const X="start"==G?this._onStartFns:this._onDoneFns;X.forEach(Q=>Q()),X.length=0}}class Y{constructor(G){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=G;let X=0,Q=0,q=0;const ue=this.players.length;0==ue?D(()=>this._onFinish()):this.players.forEach(me=>{me.onDone(()=>{++X==ue&&this._onFinish()}),me.onDestroy(()=>{++Q==ue&&this._onDestroy()}),me.onStart(()=>{++q==ue&&this._onStart()})}),this.totalTime=this.players.reduce((me,xe)=>Math.max(me,xe.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(G=>G()),this._onDoneFns=[])}init(){this.players.forEach(G=>G.init())}onStart(G){this._onStartFns.push(G)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(G=>G()),this._onStartFns=[])}onDone(G){this._onDoneFns.push(G)}onDestroy(G){this._onDestroyFns.push(G)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(G=>G.play())}pause(){this.players.forEach(G=>G.pause())}restart(){this.players.forEach(G=>G.restart())}finish(){this._onFinish(),this.players.forEach(G=>G.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(G=>G.destroy()),this._onDestroyFns.forEach(G=>G()),this._onDestroyFns=[])}reset(){this.players.forEach(G=>G.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(G){const X=G*this.totalTime;this.players.forEach(Q=>{const q=Q.totalTime?Math.min(1,X/Q.totalTime):1;Q.setPosition(q)})}getPosition(){const G=this.players.reduce((X,Q)=>null===X||Q.totalTime>X.totalTime?Q:X,null);return null!=G?G.getPosition():0}beforeDestroy(){this.players.forEach(G=>{G.beforeDestroy&&G.beforeDestroy()})}triggerCallback(G){const X="start"==G?this._onStartFns:this._onDoneFns;X.forEach(Q=>Q()),X.length=0}}const $="!"},5664:(he,A,o)=>{"use strict";o.d(A,{rt:()=>Pe,s1:()=>ie,$s:()=>pe,Qr:()=>gt,kH:()=>Mt,mK:()=>ze,Em:()=>le,tE:()=>_t,qm:()=>Nt,Kd:()=>Ft,X6:()=>_,yG:()=>x});var n=o(9808),l=o(5e3),u=o(8929),c=o(2654),r=o(591),d=o(1086),m=o(1159),p=o(2868),y=o(13),b=o(2198),h=o(4850),g=o(2986),s=o(1307),C=o(5778),P=o(7625),w=o(3191),D=o(925),T=o(7144);function G(Ee,B){return(Ee.getAttribute(B)||"").match(/\S+/g)||[]}const X="cdk-describedby-message-container",Q="cdk-describedby-message",q="cdk-describedby-host";let ue=0;const me=new Map;let xe=null,pe=(()=>{class Ee{constructor(V){this._document=V}describe(V,be,je){if(!this._canBeDescribed(V,be))return;const Ct=oe(be,je);"string"!=typeof be?(ae(be),me.set(Ct,{messageElement:be,referenceCount:0})):me.has(Ct)||this._createMessageElement(be,je),this._isElementDescribedByMessage(V,Ct)||this._addMessageReference(V,Ct)}removeDescription(V,be,je){if(!be||!this._isElementNode(V))return;const Ct=oe(be,je);if(this._isElementDescribedByMessage(V,Ct)&&this._removeMessageReference(V,Ct),"string"==typeof be){const Ht=me.get(Ct);Ht&&0===Ht.referenceCount&&this._deleteMessageElement(Ct)}xe&&0===xe.childNodes.length&&this._deleteMessagesContainer()}ngOnDestroy(){const V=this._document.querySelectorAll(`[${q}]`);for(let be=0;be0!=je.indexOf(Q));V.setAttribute("aria-describedby",be.join(" "))}_addMessageReference(V,be){const je=me.get(be);(function(Ee,B,V){const be=G(Ee,B);be.some(je=>je.trim()==V.trim())||(be.push(V.trim()),Ee.setAttribute(B,be.join(" ")))})(V,"aria-describedby",je.messageElement.id),V.setAttribute(q,""),je.referenceCount++}_removeMessageReference(V,be){const je=me.get(be);je.referenceCount--,function(Ee,B,V){const je=G(Ee,B).filter(Ct=>Ct!=V.trim());je.length?Ee.setAttribute(B,je.join(" ")):Ee.removeAttribute(B)}(V,"aria-describedby",je.messageElement.id),V.removeAttribute(q)}_isElementDescribedByMessage(V,be){const je=G(V,"aria-describedby"),Ct=me.get(be),Ht=Ct&&Ct.messageElement.id;return!!Ht&&-1!=je.indexOf(Ht)}_canBeDescribed(V,be){if(!this._isElementNode(V))return!1;if(be&&"object"==typeof be)return!0;const je=null==be?"":`${be}`.trim(),Ct=V.getAttribute("aria-label");return!(!je||Ct&&Ct.trim()===je)}_isElementNode(V){return V.nodeType===this._document.ELEMENT_NODE}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(n.DOCUMENT))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();function oe(Ee,B){return"string"==typeof Ee?`${B||""}/${Ee}`:Ee}function ae(Ee){Ee.id||(Ee.id=`${Q}-${ue++}`)}class U{constructor(B){this._items=B,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new u.xQ,this._typeaheadSubscription=c.w.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=V=>V.disabled,this._pressedLetters=[],this.tabOut=new u.xQ,this.change=new u.xQ,B instanceof l.QueryList&&B.changes.subscribe(V=>{if(this._activeItem){const je=V.toArray().indexOf(this._activeItem);je>-1&&je!==this._activeItemIndex&&(this._activeItemIndex=je)}})}skipPredicate(B){return this._skipPredicateFn=B,this}withWrap(B=!0){return this._wrap=B,this}withVerticalOrientation(B=!0){return this._vertical=B,this}withHorizontalOrientation(B){return this._horizontal=B,this}withAllowedModifierKeys(B){return this._allowedModifierKeys=B,this}withTypeAhead(B=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,p.b)(V=>this._pressedLetters.push(V)),(0,y.b)(B),(0,b.h)(()=>this._pressedLetters.length>0),(0,h.U)(()=>this._pressedLetters.join(""))).subscribe(V=>{const be=this._getItemsArray();for(let je=1;je!B[Ct]||this._allowedModifierKeys.indexOf(Ct)>-1);switch(V){case m.Mf:return void this.tabOut.next();case m.JH:if(this._vertical&&je){this.setNextItemActive();break}return;case m.LH:if(this._vertical&&je){this.setPreviousItemActive();break}return;case m.SV:if(this._horizontal&&je){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case m.oh:if(this._horizontal&&je){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case m.Sd:if(this._homeAndEnd&&je){this.setFirstItemActive();break}return;case m.uR:if(this._homeAndEnd&&je){this.setLastItemActive();break}return;default:return void((je||(0,m.Vb)(B,"shiftKey"))&&(B.key&&1===B.key.length?this._letterKeyStream.next(B.key.toLocaleUpperCase()):(V>=m.A&&V<=m.Z||V>=m.xE&&V<=m.aO)&&this._letterKeyStream.next(String.fromCharCode(V))))}this._pressedLetters=[],B.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(B){const V=this._getItemsArray(),be="number"==typeof B?B:V.indexOf(B),je=V[be];this._activeItem=null==je?null:je,this._activeItemIndex=be}_setActiveItemByDelta(B){this._wrap?this._setActiveInWrapMode(B):this._setActiveInDefaultMode(B)}_setActiveInWrapMode(B){const V=this._getItemsArray();for(let be=1;be<=V.length;be++){const je=(this._activeItemIndex+B*be+V.length)%V.length;if(!this._skipPredicateFn(V[je]))return void this.setActiveItem(je)}}_setActiveInDefaultMode(B){this._setActiveItemByIndex(this._activeItemIndex+B,B)}_setActiveItemByIndex(B,V){const be=this._getItemsArray();if(be[B]){for(;this._skipPredicateFn(be[B]);)if(!be[B+=V])return;this.setActiveItem(B)}}_getItemsArray(){return this._items instanceof l.QueryList?this._items.toArray():this._items}}class ie extends U{setActiveItem(B){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(B),this.activeItem&&this.activeItem.setActiveStyles()}}class le extends U{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(B){return this._origin=B,this}setActiveItem(B){super.setActiveItem(B),this.activeItem&&this.activeItem.focus(this._origin)}}let Te=(()=>{class Ee{constructor(V){this._platform=V}isDisabled(V){return V.hasAttribute("disabled")}isVisible(V){return function(Ee){return!!(Ee.offsetWidth||Ee.offsetHeight||"function"==typeof Ee.getClientRects&&Ee.getClientRects().length)}(V)&&"visible"===getComputedStyle(V).visibility}isTabbable(V){if(!this._platform.isBrowser)return!1;const be=function(Ee){try{return Ee.frameElement}catch(B){return null}}(function(Ee){return Ee.ownerDocument&&Ee.ownerDocument.defaultView||window}(V));if(be&&(-1===bt(be)||!this.isVisible(be)))return!1;let je=V.nodeName.toLowerCase(),Ct=bt(V);return V.hasAttribute("contenteditable")?-1!==Ct:!("iframe"===je||"object"===je||this._platform.WEBKIT&&this._platform.IOS&&!function(Ee){let B=Ee.nodeName.toLowerCase(),V="input"===B&&Ee.type;return"text"===V||"password"===V||"select"===B||"textarea"===B}(V))&&("audio"===je?!!V.hasAttribute("controls")&&-1!==Ct:"video"===je?-1!==Ct&&(null!==Ct||this._platform.FIREFOX||V.hasAttribute("controls")):V.tabIndex>=0)}isFocusable(V,be){return function(Ee){return!function(Ee){return function(Ee){return"input"==Ee.nodeName.toLowerCase()}(Ee)&&"hidden"==Ee.type}(Ee)&&(function(Ee){let B=Ee.nodeName.toLowerCase();return"input"===B||"select"===B||"button"===B||"textarea"===B}(Ee)||function(Ee){return function(Ee){return"a"==Ee.nodeName.toLowerCase()}(Ee)&&Ee.hasAttribute("href")}(Ee)||Ee.hasAttribute("contenteditable")||ct(Ee))}(V)&&!this.isDisabled(V)&&((null==be?void 0:be.ignoreVisibility)||this.isVisible(V))}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(D.t4))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();function ct(Ee){if(!Ee.hasAttribute("tabindex")||void 0===Ee.tabIndex)return!1;let B=Ee.getAttribute("tabindex");return!(!B||isNaN(parseInt(B,10)))}function bt(Ee){if(!ct(Ee))return null;const B=parseInt(Ee.getAttribute("tabindex")||"",10);return isNaN(B)?-1:B}class Ne{constructor(B,V,be,je,Ct=!1){this._element=B,this._checker=V,this._ngZone=be,this._document=je,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Ct||this.attachAnchors()}get enabled(){return this._enabled}set enabled(B){this._enabled=B,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(B,this._startAnchor),this._toggleAnchorTabIndex(B,this._endAnchor))}destroy(){const B=this._startAnchor,V=this._endAnchor;B&&(B.removeEventListener("focus",this.startAnchorListener),B.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(B){return new Promise(V=>{this._executeOnStable(()=>V(this.focusInitialElement(B)))})}focusFirstTabbableElementWhenReady(B){return new Promise(V=>{this._executeOnStable(()=>V(this.focusFirstTabbableElement(B)))})}focusLastTabbableElementWhenReady(B){return new Promise(V=>{this._executeOnStable(()=>V(this.focusLastTabbableElement(B)))})}_getRegionBoundary(B){const V=this._element.querySelectorAll(`[cdk-focus-region-${B}], [cdkFocusRegion${B}], [cdk-focus-${B}]`);return"start"==B?V.length?V[0]:this._getFirstTabbableElement(this._element):V.length?V[V.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(B){const V=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(V){if(!this._checker.isFocusable(V)){const be=this._getFirstTabbableElement(V);return null==be||be.focus(B),!!be}return V.focus(B),!0}return this.focusFirstTabbableElement(B)}focusFirstTabbableElement(B){const V=this._getRegionBoundary("start");return V&&V.focus(B),!!V}focusLastTabbableElement(B){const V=this._getRegionBoundary("end");return V&&V.focus(B),!!V}hasAttached(){return this._hasAttached}_getFirstTabbableElement(B){if(this._checker.isFocusable(B)&&this._checker.isTabbable(B))return B;const V=B.children;for(let be=0;be=0;be--){const je=V[be].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(V[be]):null;if(je)return je}return null}_createAnchor(){const B=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,B),B.classList.add("cdk-visually-hidden"),B.classList.add("cdk-focus-trap-anchor"),B.setAttribute("aria-hidden","true"),B}_toggleAnchorTabIndex(B,V){B?V.setAttribute("tabindex","0"):V.removeAttribute("tabindex")}toggleAnchors(B){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(B,this._startAnchor),this._toggleAnchorTabIndex(B,this._endAnchor))}_executeOnStable(B){this._ngZone.isStable?B():this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(B)}}let rt=(()=>{class Ee{constructor(V,be,je){this._checker=V,this._ngZone=be,this._document=je}create(V,be=!1){return new Ne(V,this._checker,this._ngZone,this._document,be)}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(Te),l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(n.DOCUMENT))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),ze=(()=>{class Ee{constructor(V,be,je){this._elementRef=V,this._focusTrapFactory=be,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(V){this.focusTrap.enabled=(0,w.Ig)(V)}get autoCapture(){return this._autoCapture}set autoCapture(V){this._autoCapture=(0,w.Ig)(V)}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 be=V.autoCapture;be&&!be.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,D.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(rt),l.\u0275\u0275directiveInject(n.DOCUMENT))},Ee.\u0275dir=l.\u0275\u0275defineDirective({type:Ee,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[l.\u0275\u0275NgOnChangesFeature]}),Ee})();function _(Ee){return 0===Ee.offsetX&&0===Ee.offsetY}function x(Ee){const B=Ee.touches&&Ee.touches[0]||Ee.changedTouches&&Ee.changedTouches[0];return!(!B||-1!==B.identifier||null!=B.radiusX&&1!==B.radiusX||null!=B.radiusY&&1!==B.radiusY)}const N=new l.InjectionToken("cdk-input-modality-detector-options"),ce={ignoreKeys:[m.zL,m.jx,m.b2,m.MW,m.JU]},Oe=(0,D.i$)({passive:!0,capture:!0});let ve=(()=>{class Ee{constructor(V,be,je,Ct){this._platform=V,this._mostRecentTarget=null,this._modality=new r.X(null),this._lastTouchMs=0,this._onKeydown=Ht=>{var $t,vn;(null===(vn=null===($t=this._options)||void 0===$t?void 0:$t.ignoreKeys)||void 0===vn?void 0:vn.some(it=>it===Ht.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=(0,D.sA)(Ht))},this._onMousedown=Ht=>{Date.now()-this._lastTouchMs<650||(this._modality.next(_(Ht)?"keyboard":"mouse"),this._mostRecentTarget=(0,D.sA)(Ht))},this._onTouchstart=Ht=>{x(Ht)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,D.sA)(Ht))},this._options=Object.assign(Object.assign({},ce),Ct),this.modalityDetected=this._modality.pipe((0,s.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,C.x)()),V.isBrowser&&be.runOutsideAngular(()=>{je.addEventListener("keydown",this._onKeydown,Oe),je.addEventListener("mousedown",this._onMousedown,Oe),je.addEventListener("touchstart",this._onTouchstart,Oe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Oe),document.removeEventListener("mousedown",this._onMousedown,Oe),document.removeEventListener("touchstart",this._onTouchstart,Oe))}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(D.t4),l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(n.DOCUMENT),l.\u0275\u0275inject(N,8))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})();const Ae=new l.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Pt=new l.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Ft=(()=>{class Ee{constructor(V,be,je,Ct){this._ngZone=be,this._defaultOptions=Ct,this._document=je,this._liveElement=V||this._createLiveElement()}announce(V,...be){const je=this._defaultOptions;let Ct,Ht;return 1===be.length&&"number"==typeof be[0]?Ht=be[0]:[Ct,Ht]=be,this.clear(),clearTimeout(this._previousTimeout),Ct||(Ct=je&&je.politeness?je.politeness:"polite"),null==Ht&&je&&(Ht=je.duration),this._liveElement.setAttribute("aria-live",Ct),this._ngZone.runOutsideAngular(()=>new Promise($t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=V,$t(),"number"==typeof Ht&&(this._previousTimeout=setTimeout(()=>this.clear(),Ht))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var V;clearTimeout(this._previousTimeout),null===(V=this._liveElement)||void 0===V||V.remove(),this._liveElement=null}_createLiveElement(){const V="cdk-live-announcer-element",be=this._document.getElementsByClassName(V),je=this._document.createElement("div");for(let Ct=0;Ct{class Ee{constructor(V,be,je,Ct){this._elementRef=V,this._liveAnnouncer=be,this._contentObserver=je,this._ngZone=Ct,this._politeness="polite"}get politeness(){return this._politeness}set politeness(V){this._politeness="off"===V||"assertive"===V?V:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const be=this._elementRef.nativeElement.textContent;be!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(be,this._politeness),this._previousAnnouncedText=be)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(Ft),l.\u0275\u0275directiveInject(T.yq),l.\u0275\u0275directiveInject(l.NgZone))},Ee.\u0275dir=l.\u0275\u0275defineDirective({type:Ee,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),Ee})();const Lt=new l.InjectionToken("cdk-focus-monitor-default-options"),$e=(0,D.i$)({passive:!0,capture:!0});let _t=(()=>{class Ee{constructor(V,be,je,Ct,Ht){this._ngZone=V,this._platform=be,this._inputModalityDetector=je,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=setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new u.xQ,this._rootNodeFocusAndBlurListener=$t=>{const vn=(0,D.sA)($t),it="focus"===$t.type?this._onFocus:this._onBlur;for(let st=vn;st;st=st.parentElement)it.call(this,$t,st)},this._document=Ct,this._detectionMode=(null==Ht?void 0:Ht.detectionMode)||0}monitor(V,be=!1){const je=(0,w.fI)(V);if(!this._platform.isBrowser||1!==je.nodeType)return(0,d.of)(null);const Ct=(0,D.kV)(je)||this._getDocument(),Ht=this._elementInfo.get(je);if(Ht)return be&&(Ht.checkChildren=!0),Ht.subject;const $t={checkChildren:be,subject:new u.xQ,rootNode:Ct};return this._elementInfo.set(je,$t),this._registerGlobalListeners($t),$t.subject}stopMonitoring(V){const be=(0,w.fI)(V),je=this._elementInfo.get(be);je&&(je.subject.complete(),this._setClasses(be),this._elementInfo.delete(be),this._removeGlobalListeners(je))}focusVia(V,be,je){const Ct=(0,w.fI)(V);Ct===this._getDocument().activeElement?this._getClosestElementsInfo(Ct).forEach(([$t,vn])=>this._originChanged($t,be,vn)):(this._setOrigin(be),"function"==typeof Ct.focus&&Ct.focus(je))}ngOnDestroy(){this._elementInfo.forEach((V,be)=>this.stopMonitoring(be))}_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:"program"}_shouldBeAttributedToTouch(V){return 1===this._detectionMode||!!(null==V?void 0:V.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(V,be){V.classList.toggle("cdk-focused",!!be),V.classList.toggle("cdk-touch-focused","touch"===be),V.classList.toggle("cdk-keyboard-focused","keyboard"===be),V.classList.toggle("cdk-mouse-focused","mouse"===be),V.classList.toggle("cdk-program-focused","program"===be)}_setOrigin(V,be=!1){this._ngZone.runOutsideAngular(()=>{this._origin=V,this._originFromTouchInteraction="touch"===V&&be,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(V,be){const je=this._elementInfo.get(be),Ct=(0,D.sA)(V);!je||!je.checkChildren&&be!==Ct||this._originChanged(be,this._getFocusOrigin(Ct),je)}_onBlur(V,be){const je=this._elementInfo.get(be);!je||je.checkChildren&&V.relatedTarget instanceof Node&&be.contains(V.relatedTarget)||(this._setClasses(be),this._emitOrigin(je.subject,null))}_emitOrigin(V,be){this._ngZone.run(()=>V.next(be))}_registerGlobalListeners(V){if(!this._platform.isBrowser)return;const be=V.rootNode,je=this._rootNodeFocusListenerCount.get(be)||0;je||this._ngZone.runOutsideAngular(()=>{be.addEventListener("focus",this._rootNodeFocusAndBlurListener,$e),be.addEventListener("blur",this._rootNodeFocusAndBlurListener,$e)}),this._rootNodeFocusListenerCount.set(be,je+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,P.R)(this._stopInputModalityDetector)).subscribe(Ct=>{this._setOrigin(Ct,!0)}))}_removeGlobalListeners(V){const be=V.rootNode;if(this._rootNodeFocusListenerCount.has(be)){const je=this._rootNodeFocusListenerCount.get(be);je>1?this._rootNodeFocusListenerCount.set(be,je-1):(be.removeEventListener("focus",this._rootNodeFocusAndBlurListener,$e),be.removeEventListener("blur",this._rootNodeFocusAndBlurListener,$e),this._rootNodeFocusListenerCount.delete(be))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(V,be,je){this._setClasses(V,be),this._emitOrigin(je.subject,be),this._lastFocusOrigin=be}_getClosestElementsInfo(V){const be=[];return this._elementInfo.forEach((je,Ct)=>{(Ct===V||je.checkChildren&&Ct.contains(V))&&be.push([Ct,je])}),be}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(D.t4),l.\u0275\u0275inject(ve),l.\u0275\u0275inject(n.DOCUMENT,8),l.\u0275\u0275inject(Lt,8))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),Mt=(()=>{class Ee{constructor(V,be){this._elementRef=V,this._focusMonitor=be,this.cdkFocusChange=new l.EventEmitter}ngAfterViewInit(){const V=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(V,1===V.nodeType&&V.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(be=>this.cdkFocusChange.emit(be))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(_t))},Ee.\u0275dir=l.\u0275\u0275defineDirective({type:Ee,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),Ee})();const Ge="cdk-high-contrast-black-on-white",lt="cdk-high-contrast-white-on-black",Ot="cdk-high-contrast-active";let Nt=(()=>{class Ee{constructor(V,be){this._platform=V,this._document=be}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 be=this._document.defaultView||window,je=be&&be.getComputedStyle?be.getComputedStyle(V):null,Ct=(je&&je.backgroundColor||"").replace(/ /g,"");switch(V.remove(),Ct){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const V=this._document.body.classList;V.remove(Ot),V.remove(Ge),V.remove(lt),this._hasCheckedHighContrastMode=!0;const be=this.getHighContrastMode();1===be?(V.add(Ot),V.add(Ge)):2===be&&(V.add(Ot),V.add(lt))}}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(D.t4),l.\u0275\u0275inject(n.DOCUMENT))},Ee.\u0275prov=l.\u0275\u0275defineInjectable({token:Ee,factory:Ee.\u0275fac,providedIn:"root"}),Ee})(),Pe=(()=>{class Ee{constructor(V){V._applyBodyHighContrastModeCssClasses()}}return Ee.\u0275fac=function(V){return new(V||Ee)(l.\u0275\u0275inject(Nt))},Ee.\u0275mod=l.\u0275\u0275defineNgModule({type:Ee}),Ee.\u0275inj=l.\u0275\u0275defineInjector({imports:[[D.ud,T.Q8]]}),Ee})()},226:(he,A,o)=>{"use strict";o.d(A,{vT:()=>y,Is:()=>m});var n=o(5e3),l=o(9808);const u=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return(0,n.inject)(l.DOCUMENT)}}),r=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let m=(()=>{class b{constructor(g){if(this.value="ltr",this.change=new n.EventEmitter,g){const C=g.documentElement?g.documentElement.dir:null;this.value=function(b){const h=(null==b?void 0:b.toLowerCase())||"";return"auto"===h&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?r.test(navigator.language)?"rtl":"ltr":"rtl"===h?"rtl":"ltr"}((g.body?g.body.dir:null)||C||"ltr")}}ngOnDestroy(){this.change.complete()}}return b.\u0275fac=function(g){return new(g||b)(n.\u0275\u0275inject(u,8))},b.\u0275prov=n.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),y=(()=>{class b{}return b.\u0275fac=function(g){return new(g||b)},b.\u0275mod=n.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=n.\u0275\u0275defineInjector({}),b})()},3191:(he,A,o)=>{"use strict";o.d(A,{t6:()=>c,Eq:()=>r,Ig:()=>l,HM:()=>d,fI:()=>m,su:()=>u,du:()=>p});var n=o(5e3);function l(y){return null!=y&&"false"!=`${y}`}function u(y,b=0){return c(y)?Number(y):b}function c(y){return!isNaN(parseFloat(y))&&!isNaN(Number(y))}function r(y){return Array.isArray(y)?y:[y]}function d(y){return null==y?"":"string"==typeof y?y:`${y}px`}function m(y){return y instanceof n.ElementRef?y.nativeElement:y}function p(y,b=/\s+/){const h=[];if(null!=y){const g=Array.isArray(y)?y:`${y}`.split(b);for(const s of g){const C=`${s}`.trim();C&&h.push(C)}}return h}},449:(he,A,o)=>{"use strict";o.d(A,{o2:()=>u,Ov:()=>p,A8:()=>b,yy:()=>d,eX:()=>m,k:()=>h,Z9:()=>c});var n=o(8929),l=o(5e3);class u{}function c(g){return g&&"function"==typeof g.connect}class d{applyChanges(s,C,P,w,D){s.forEachOperation((T,Y,$)=>{let z,G;if(null==T.previousIndex){const X=P(T,Y,$);z=C.createEmbeddedView(X.templateRef,X.context,X.index),G=1}else null==$?(C.remove(Y),G=3):(z=C.get(Y),C.move(z,$),G=2);D&&D({context:null==z?void 0:z.context,operation:G,record:T})})}detach(){}}class m{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(s,C,P,w,D){s.forEachOperation((T,Y,$)=>{let z,G;null==T.previousIndex?(z=this._insertView(()=>P(T,Y,$),$,C,w(T)),G=z?1:0):null==$?(this._detachAndCacheView(Y,C),G=3):(z=this._moveView(Y,$,C,w(T)),G=2),D&&D({context:null==z?void 0:z.context,operation:G,record:T})})}detach(){for(const s of this._viewCache)s.destroy();this._viewCache=[]}_insertView(s,C,P,w){const D=this._insertViewFromCache(C,P);if(D)return void(D.context.$implicit=w);const T=s();return P.createEmbeddedView(T.templateRef,T.context,T.index)}_detachAndCacheView(s,C){const P=C.detach(s);this._maybeCacheView(P,C)}_moveView(s,C,P,w){const D=P.get(s);return P.move(D,C),D.context.$implicit=w,D}_maybeCacheView(s,C){if(this._viewCache.lengththis._markSelected(w)):this._markSelected(C[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...s){this._verifyValueAssignment(s),s.forEach(C=>this._markSelected(C)),this._emitChangeEvent()}deselect(...s){this._verifyValueAssignment(s),s.forEach(C=>this._unmarkSelected(C)),this._emitChangeEvent()}toggle(s){this.isSelected(s)?this.deselect(s):this.select(s)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(s){return this._selection.has(s)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(s){this._multiple&&this.selected&&this._selected.sort(s)}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(s){this.isSelected(s)||(this._multiple||this._unmarkAll(),this._selection.add(s),this._emitChanges&&this._selectedToEmit.push(s))}_unmarkSelected(s){this.isSelected(s)&&(this._selection.delete(s),this._emitChanges&&this._deselectedToEmit.push(s))}_unmarkAll(){this.isEmpty()||this._selection.forEach(s=>this._unmarkSelected(s))}_verifyValueAssignment(s){}}let b=(()=>{class g{constructor(){this._listeners=[]}notify(C,P){for(let w of this._listeners)w(C,P)}listen(C){return this._listeners.push(C),()=>{this._listeners=this._listeners.filter(P=>C!==P)}}ngOnDestroy(){this._listeners=[]}}return g.\u0275fac=function(C){return new(C||g)},g.\u0275prov=l.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac,providedIn:"root"}),g})();const h=new l.InjectionToken("_ViewRepeater")},1159:(he,A,o)=>{"use strict";o.d(A,{A:()=>ot,zL:()=>p,ZH:()=>l,jx:()=>m,JH:()=>$,uR:()=>P,K5:()=>r,hY:()=>h,Sd:()=>w,oh:()=>D,b2:()=>Bn,MW:()=>nt,aO:()=>le,VM:()=>C,Ku:()=>s,SV:()=>Y,JU:()=>d,L_:()=>g,Mf:()=>u,LH:()=>T,Z:()=>Ae,xE:()=>q,Vb:()=>An});const l=8,u=9,r=13,d=16,m=17,p=18,h=27,g=32,s=33,C=34,P=35,w=36,D=37,T=38,Y=39,$=40,q=48,le=57,ot=65,Ae=90,nt=91,Bn=224;function An(kn,...bn){return bn.length?bn.some(ui=>kn[ui]):kn.altKey||kn.shiftKey||kn.ctrlKey||kn.metaKey}},7144:(he,A,o)=>{"use strict";o.d(A,{wD:()=>p,yq:()=>m,Q8:()=>y});var n=o(3191),l=o(5e3),u=o(6498),c=o(8929),r=o(13);let d=(()=>{class b{create(g){return"undefined"==typeof MutationObserver?null:new MutationObserver(g)}}return b.\u0275fac=function(g){return new(g||b)},b.\u0275prov=l.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),m=(()=>{class b{constructor(g){this._mutationObserverFactory=g,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((g,s)=>this._cleanupObserver(s))}observe(g){const s=(0,n.fI)(g);return new u.y(C=>{const w=this._observeElement(s).subscribe(C);return()=>{w.unsubscribe(),this._unobserveElement(s)}})}_observeElement(g){if(this._observedElements.has(g))this._observedElements.get(g).count++;else{const s=new c.xQ,C=this._mutationObserverFactory.create(P=>s.next(P));C&&C.observe(g,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(g,{observer:C,stream:s,count:1})}return this._observedElements.get(g).stream}_unobserveElement(g){this._observedElements.has(g)&&(this._observedElements.get(g).count--,this._observedElements.get(g).count||this._cleanupObserver(g))}_cleanupObserver(g){if(this._observedElements.has(g)){const{observer:s,stream:C}=this._observedElements.get(g);s&&s.disconnect(),C.complete(),this._observedElements.delete(g)}}}return b.\u0275fac=function(g){return new(g||b)(l.\u0275\u0275inject(d))},b.\u0275prov=l.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),p=(()=>{class b{constructor(g,s,C){this._contentObserver=g,this._elementRef=s,this._ngZone=C,this.event=new l.EventEmitter,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(g){this._disabled=(0,n.Ig)(g),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(g){this._debounce=(0,n.su)(g),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const g=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?g.pipe((0,r.b)(this.debounce)):g).subscribe(this.event)})}_unsubscribe(){var g;null===(g=this._currentSubscription)||void 0===g||g.unsubscribe()}}return b.\u0275fac=function(g){return new(g||b)(l.\u0275\u0275directiveInject(m),l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(l.NgZone))},b.\u0275dir=l.\u0275\u0275defineDirective({type:b,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),b})(),y=(()=>{class b{}return b.\u0275fac=function(g){return new(g||b)},b.\u0275mod=l.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=l.\u0275\u0275defineInjector({providers:[d]}),b})()},1314:(he,A,o)=>{"use strict";o.d(A,{pI:()=>Ne,xu:()=>dt,_G:()=>le,aV:()=>bt,X_:()=>Q,U8:()=>yt});var n=o(9071),l=o(9808),u=o(5e3),c=o(3191),r=o(925),d=o(226),m=o(7429),p=o(8929),y=o(2654),b=o(6787),h=o(2986),g=o(7625),s=o(4290),C=o(1159);const P=(0,r.Mq)();class w{constructor(Z,j){this._viewportRuler=Z,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=j}attach(){}enable(){if(this._canBeEnabled()){const Z=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Z.style.left||"",this._previousHTMLStyles.top=Z.style.top||"",Z.style.left=(0,c.HM)(-this._previousScrollPosition.left),Z.style.top=(0,c.HM)(-this._previousScrollPosition.top),Z.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Z=this._document.documentElement,_=Z.style,x=this._document.body.style,N=_.scrollBehavior||"",ce=x.scrollBehavior||"";this._isEnabled=!1,_.left=this._previousHTMLStyles.left,_.top=this._previousHTMLStyles.top,Z.classList.remove("cdk-global-scrollblock"),P&&(_.scrollBehavior=x.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),P&&(_.scrollBehavior=N,x.scrollBehavior=ce)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const j=this._document.body,_=this._viewportRuler.getViewportSize();return j.scrollHeight>_.height||j.scrollWidth>_.width}}class T{constructor(Z,j,_,x){this._scrollDispatcher=Z,this._ngZone=j,this._viewportRuler=_,this._config=x,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Z){this._overlayRef=Z}enable(){if(this._scrollSubscription)return;const Z=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Z.subscribe(()=>{const j=this._viewportRuler.getViewportScrollPosition().top;Math.abs(j-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Z.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Y{enable(){}disable(){}attach(){}}function $(_e,Z){return Z.some(j=>_e.bottomj.bottom||_e.rightj.right)}function z(_e,Z){return Z.some(j=>_e.topj.bottom||_e.leftj.right)}class G{constructor(Z,j,_,x){this._scrollDispatcher=Z,this._viewportRuler=j,this._ngZone=_,this._config=x,this._scrollSubscription=null}attach(Z){this._overlayRef=Z}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 j=this._overlayRef.overlayElement.getBoundingClientRect(),{width:_,height:x}=this._viewportRuler.getViewportSize();$(j,[{width:_,height:x,bottom:x,right:_,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 X=(()=>{class _e{constructor(j,_,x,N){this._scrollDispatcher=j,this._viewportRuler=_,this._ngZone=x,this.noop=()=>new Y,this.close=ce=>new T(this._scrollDispatcher,this._ngZone,this._viewportRuler,ce),this.block=()=>new w(this._viewportRuler,this._document),this.reposition=ce=>new G(this._scrollDispatcher,this._viewportRuler,this._ngZone,ce),this._document=N}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(n.mF),u.\u0275\u0275inject(n.rL),u.\u0275\u0275inject(u.NgZone),u.\u0275\u0275inject(l.DOCUMENT))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})();class Q{constructor(Z){if(this.scrollStrategy=new Y,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Z){const j=Object.keys(Z);for(const _ of j)void 0!==Z[_]&&(this[_]=Z[_])}}}class me{constructor(Z,j){this.connectionPair=Z,this.scrollableViewProperties=j}}class oe{constructor(Z,j,_,x,N,ce,Ue,Oe,ve){this._portalOutlet=Z,this._host=j,this._pane=_,this._config=x,this._ngZone=N,this._keyboardDispatcher=ce,this._document=Ue,this._location=Oe,this._outsideClickDispatcher=ve,this._backdropElement=null,this._backdropClick=new p.xQ,this._attachments=new p.xQ,this._detachments=new p.xQ,this._locationChanges=y.w.EMPTY,this._backdropClickHandler=Ae=>this._backdropClick.next(Ae),this._keydownEvents=new p.xQ,this._outsidePointerEvents=new p.xQ,x.scrollStrategy&&(this._scrollStrategy=x.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=x.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Z){let j=this._portalOutlet.attach(Z);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,h.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),j}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Z=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Z}dispose(){var Z;const j=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),null===(Z=this._host)||void 0===Z||Z.remove(),this._previousHostParent=this._pane=this._host=null,j&&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(Z){Z!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Z,this.hasAttached()&&(Z.attach(this),this.updatePosition()))}updateSize(Z){this._config=Object.assign(Object.assign({},this._config),Z),this._updateElementSize()}setDirection(Z){this._config=Object.assign(Object.assign({},this._config),{direction:Z}),this._updateElementDirection()}addPanelClass(Z){this._pane&&this._toggleClasses(this._pane,Z,!0)}removePanelClass(Z){this._pane&&this._toggleClasses(this._pane,Z,!1)}getDirection(){const Z=this._config.direction;return Z?"string"==typeof Z?Z:Z.value:"ltr"}updateScrollStrategy(Z){Z!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Z,this.hasAttached()&&(Z.attach(this),Z.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Z=this._pane.style;Z.width=(0,c.HM)(this._config.width),Z.height=(0,c.HM)(this._config.height),Z.minWidth=(0,c.HM)(this._config.minWidth),Z.minHeight=(0,c.HM)(this._config.minHeight),Z.maxWidth=(0,c.HM)(this._config.maxWidth),Z.maxHeight=(0,c.HM)(this._config.maxHeight)}_togglePointerEvents(Z){this._pane.style.pointerEvents=Z?"":"none"}_attachBackdrop(){const Z="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),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),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Z)})}):this._backdropElement.classList.add(Z)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Z=this._backdropElement;if(!Z)return;let j;const _=()=>{Z&&(Z.removeEventListener("click",this._backdropClickHandler),Z.removeEventListener("transitionend",_),this._disposeBackdrop(Z)),this._config.backdropClass&&this._toggleClasses(Z,this._config.backdropClass,!1),clearTimeout(j)};Z.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Z.addEventListener("transitionend",_)}),Z.style.pointerEvents="none",j=this._ngZone.runOutsideAngular(()=>setTimeout(_,500))}_toggleClasses(Z,j,_){const x=(0,c.Eq)(j||[]).filter(N=>!!N);x.length&&(_?Z.classList.add(...x):Z.classList.remove(...x))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Z=this._ngZone.onStable.pipe((0,g.R)((0,b.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()),Z.unsubscribe())})})}_disposeScrollStrategy(){const Z=this._scrollStrategy;Z&&(Z.disable(),Z.detach&&Z.detach())}_disposeBackdrop(Z){Z&&(Z.remove(),this._backdropElement===Z&&(this._backdropElement=null))}}let ae=(()=>{class _e{constructor(j,_){this._platform=_,this._document=j}ngOnDestroy(){var j;null===(j=this._containerElement)||void 0===j||j.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const j="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const x=this._document.querySelectorAll(`.${j}[platform="server"], .${j}[platform="test"]`);for(let N=0;N{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();const Z=this._originRect,j=this._overlayRect,_=this._viewportRect,x=[];let N;for(let ce of this._preferredPositions){let Ue=this._getOriginPoint(Z,ce),Oe=this._getOverlayPoint(Ue,j,ce),ve=this._getOverlayFit(Oe,j,_,ce);if(ve.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(ce,Ue);this._canFitWithFlexibleDimensions(ve,Oe,_)?x.push({position:ce,origin:Ue,overlayRect:j,boundingBoxRect:this._calculateBoundingBoxRect(Ue,ce)}):(!N||N.overlayFit.visibleAreaUe&&(Ue=ve,ce=Oe)}return this._isPushed=!1,void this._applyPosition(ce.position,ce.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(N.position,N.originPoint);this._applyPosition(N.position,N.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ce(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(U),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const Z=this._lastPosition||this._preferredPositions[0],j=this._getOriginPoint(this._originRect,Z);this._applyPosition(Z,j)}}withScrollableContainers(Z){return this._scrollables=Z,this}withPositions(Z){return this._preferredPositions=Z,-1===Z.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Z){return this._viewportMargin=Z,this}withFlexibleDimensions(Z=!0){return this._hasFlexibleDimensions=Z,this}withGrowAfterOpen(Z=!0){return this._growAfterOpen=Z,this}withPush(Z=!0){return this._canPush=Z,this}withLockedPosition(Z=!0){return this._positionLocked=Z,this}setOrigin(Z){return this._origin=Z,this}withDefaultOffsetX(Z){return this._offsetX=Z,this}withDefaultOffsetY(Z){return this._offsetY=Z,this}withTransformOriginOn(Z){return this._transformOriginSelector=Z,this}_getOriginPoint(Z,j){let _,x;if("center"==j.originX)_=Z.left+Z.width/2;else{const N=this._isRtl()?Z.right:Z.left,ce=this._isRtl()?Z.left:Z.right;_="start"==j.originX?N:ce}return x="center"==j.originY?Z.top+Z.height/2:"top"==j.originY?Z.top:Z.bottom,{x:_,y:x}}_getOverlayPoint(Z,j,_){let x,N;return x="center"==_.overlayX?-j.width/2:"start"===_.overlayX?this._isRtl()?-j.width:0:this._isRtl()?0:-j.width,N="center"==_.overlayY?-j.height/2:"top"==_.overlayY?0:-j.height,{x:Z.x+x,y:Z.y+N}}_getOverlayFit(Z,j,_,x){const N=Ke(j);let{x:ce,y:Ue}=Z,Oe=this._getOffset(x,"x"),ve=this._getOffset(x,"y");Oe&&(ce+=Oe),ve&&(Ue+=ve);let Pt=0-Ue,Ft=Ue+N.height-_.height,gt=this._subtractOverflows(N.width,0-ce,ce+N.width-_.width),Lt=this._subtractOverflows(N.height,Pt,Ft),$e=gt*Lt;return{visibleArea:$e,isCompletelyWithinViewport:N.width*N.height===$e,fitsInViewportVertically:Lt===N.height,fitsInViewportHorizontally:gt==N.width}}_canFitWithFlexibleDimensions(Z,j,_){if(this._hasFlexibleDimensions){const x=_.bottom-j.y,N=_.right-j.x,ce=Te(this._overlayRef.getConfig().minHeight),Ue=Te(this._overlayRef.getConfig().minWidth),ve=Z.fitsInViewportHorizontally||null!=Ue&&Ue<=N;return(Z.fitsInViewportVertically||null!=ce&&ce<=x)&&ve}return!1}_pushOverlayOnScreen(Z,j,_){if(this._previousPushAmount&&this._positionLocked)return{x:Z.x+this._previousPushAmount.x,y:Z.y+this._previousPushAmount.y};const x=Ke(j),N=this._viewportRect,ce=Math.max(Z.x+x.width-N.width,0),Ue=Math.max(Z.y+x.height-N.height,0),Oe=Math.max(N.top-_.top-Z.y,0),ve=Math.max(N.left-_.left-Z.x,0);let Ae=0,nt=0;return Ae=x.width<=N.width?ve||-ce:Z.xgt&&!this._isInitialRender&&!this._growAfterOpen&&(ce=Z.y-gt/2)}if("end"===j.overlayX&&!x||"start"===j.overlayX&&x)Pt=_.width-Z.x+this._viewportMargin,Ae=Z.x-this._viewportMargin;else if("start"===j.overlayX&&!x||"end"===j.overlayX&&x)nt=Z.x,Ae=_.right-Z.x;else{const Ft=Math.min(_.right-Z.x+_.left,Z.x),gt=this._lastBoundingBoxSize.width;Ae=2*Ft,nt=Z.x-Ft,Ae>gt&&!this._isInitialRender&&!this._growAfterOpen&&(nt=Z.x-gt/2)}return{top:ce,left:nt,bottom:Ue,right:Pt,width:Ae,height:N}}_setBoundingBoxStyles(Z,j){const _=this._calculateBoundingBoxRect(Z,j);!this._isInitialRender&&!this._growAfterOpen&&(_.height=Math.min(_.height,this._lastBoundingBoxSize.height),_.width=Math.min(_.width,this._lastBoundingBoxSize.width));const x={};if(this._hasExactPosition())x.top=x.left="0",x.bottom=x.right=x.maxHeight=x.maxWidth="",x.width=x.height="100%";else{const N=this._overlayRef.getConfig().maxHeight,ce=this._overlayRef.getConfig().maxWidth;x.height=(0,c.HM)(_.height),x.top=(0,c.HM)(_.top),x.bottom=(0,c.HM)(_.bottom),x.width=(0,c.HM)(_.width),x.left=(0,c.HM)(_.left),x.right=(0,c.HM)(_.right),x.alignItems="center"===j.overlayX?"center":"end"===j.overlayX?"flex-end":"flex-start",x.justifyContent="center"===j.overlayY?"center":"bottom"===j.overlayY?"flex-end":"flex-start",N&&(x.maxHeight=(0,c.HM)(N)),ce&&(x.maxWidth=(0,c.HM)(ce))}this._lastBoundingBoxSize=_,Ce(this._boundingBox.style,x)}_resetBoundingBoxStyles(){Ce(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ce(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Z,j){const _={},x=this._hasExactPosition(),N=this._hasFlexibleDimensions,ce=this._overlayRef.getConfig();if(x){const Ae=this._viewportRuler.getViewportScrollPosition();Ce(_,this._getExactOverlayY(j,Z,Ae)),Ce(_,this._getExactOverlayX(j,Z,Ae))}else _.position="static";let Ue="",Oe=this._getOffset(j,"x"),ve=this._getOffset(j,"y");Oe&&(Ue+=`translateX(${Oe}px) `),ve&&(Ue+=`translateY(${ve}px)`),_.transform=Ue.trim(),ce.maxHeight&&(x?_.maxHeight=(0,c.HM)(ce.maxHeight):N&&(_.maxHeight="")),ce.maxWidth&&(x?_.maxWidth=(0,c.HM)(ce.maxWidth):N&&(_.maxWidth="")),Ce(this._pane.style,_)}_getExactOverlayY(Z,j,_){let x={top:"",bottom:""},N=this._getOverlayPoint(j,this._overlayRect,Z);this._isPushed&&(N=this._pushOverlayOnScreen(N,this._overlayRect,_));let ce=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return N.y-=ce,"bottom"===Z.overlayY?x.bottom=this._document.documentElement.clientHeight-(N.y+this._overlayRect.height)+"px":x.top=(0,c.HM)(N.y),x}_getExactOverlayX(Z,j,_){let ce,x={left:"",right:""},N=this._getOverlayPoint(j,this._overlayRect,Z);return this._isPushed&&(N=this._pushOverlayOnScreen(N,this._overlayRect,_)),ce=this._isRtl()?"end"===Z.overlayX?"left":"right":"end"===Z.overlayX?"right":"left","right"===ce?x.right=this._document.documentElement.clientWidth-(N.x+this._overlayRect.width)+"px":x.left=(0,c.HM)(N.x),x}_getScrollVisibility(){const Z=this._getOriginRect(),j=this._pane.getBoundingClientRect(),_=this._scrollables.map(x=>x.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:z(Z,_),isOriginOutsideView:$(Z,_),isOverlayClipped:z(j,_),isOverlayOutsideView:$(j,_)}}_subtractOverflows(Z,...j){return j.reduce((_,x)=>_-Math.max(x,0),Z)}_getNarrowedViewportRect(){const Z=this._document.documentElement.clientWidth,j=this._document.documentElement.clientHeight,_=this._viewportRuler.getViewportScrollPosition();return{top:_.top+this._viewportMargin,left:_.left+this._viewportMargin,right:_.left+Z-this._viewportMargin,bottom:_.top+j-this._viewportMargin,width:Z-2*this._viewportMargin,height:j-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Z,j){return"x"===j?null==Z.offsetX?this._offsetX:Z.offsetX:null==Z.offsetY?this._offsetY:Z.offsetY}_validatePositions(){}_addPanelClasses(Z){this._pane&&(0,c.Eq)(Z).forEach(j=>{""!==j&&-1===this._appliedPanelClasses.indexOf(j)&&(this._appliedPanelClasses.push(j),this._pane.classList.add(j))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Z=>{this._pane.classList.remove(Z)}),this._appliedPanelClasses=[])}_getOriginRect(){const Z=this._origin;if(Z instanceof u.ElementRef)return Z.nativeElement.getBoundingClientRect();if(Z instanceof Element)return Z.getBoundingClientRect();const j=Z.width||0,_=Z.height||0;return{top:Z.y,bottom:Z.y+_,left:Z.x,right:Z.x+j,height:_,width:j}}}function Ce(_e,Z){for(let j in Z)Z.hasOwnProperty(j)&&(_e[j]=Z[j]);return _e}function Te(_e){if("number"!=typeof _e&&null!=_e){const[Z,j]=_e.split(ie);return j&&"px"!==j?null:parseFloat(Z)}return _e||null}function Ke(_e){return{top:Math.floor(_e.top),right:Math.floor(_e.right),bottom:Math.floor(_e.bottom),left:Math.floor(_e.left),width:Math.floor(_e.width),height:Math.floor(_e.height)}}const tt="cdk-global-overlay-wrapper";class ot{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(Z){const j=Z.getConfig();this._overlayRef=Z,this._width&&!j.width&&Z.updateSize({width:this._width}),this._height&&!j.height&&Z.updateSize({height:this._height}),Z.hostElement.classList.add(tt),this._isDisposed=!1}top(Z=""){return this._bottomOffset="",this._topOffset=Z,this._alignItems="flex-start",this}left(Z=""){return this._rightOffset="",this._leftOffset=Z,this._justifyContent="flex-start",this}bottom(Z=""){return this._topOffset="",this._bottomOffset=Z,this._alignItems="flex-end",this}right(Z=""){return this._leftOffset="",this._rightOffset=Z,this._justifyContent="flex-end",this}width(Z=""){return this._overlayRef?this._overlayRef.updateSize({width:Z}):this._width=Z,this}height(Z=""){return this._overlayRef?this._overlayRef.updateSize({height:Z}):this._height=Z,this}centerHorizontally(Z=""){return this.left(Z),this._justifyContent="center",this}centerVertically(Z=""){return this.top(Z),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Z=this._overlayRef.overlayElement.style,j=this._overlayRef.hostElement.style,_=this._overlayRef.getConfig(),{width:x,height:N,maxWidth:ce,maxHeight:Ue}=_,Oe=!("100%"!==x&&"100vw"!==x||ce&&"100%"!==ce&&"100vw"!==ce),ve=!("100%"!==N&&"100vh"!==N||Ue&&"100%"!==Ue&&"100vh"!==Ue);Z.position=this._cssPosition,Z.marginLeft=Oe?"0":this._leftOffset,Z.marginTop=ve?"0":this._topOffset,Z.marginBottom=this._bottomOffset,Z.marginRight=this._rightOffset,Oe?j.justifyContent="flex-start":"center"===this._justifyContent?j.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?j.justifyContent="flex-end":"flex-end"===this._justifyContent&&(j.justifyContent="flex-start"):j.justifyContent=this._justifyContent,j.alignItems=ve?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Z=this._overlayRef.overlayElement.style,j=this._overlayRef.hostElement,_=j.style;j.classList.remove(tt),_.justifyContent=_.alignItems=Z.marginTop=Z.marginBottom=Z.marginLeft=Z.marginRight=Z.position="",this._overlayRef=null,this._isDisposed=!0}}let pt=(()=>{class _e{constructor(j,_,x,N){this._viewportRuler=j,this._document=_,this._platform=x,this._overlayContainer=N}global(){return new ot}flexibleConnectedTo(j){return new le(j,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(n.rL),u.\u0275\u0275inject(l.DOCUMENT),u.\u0275\u0275inject(r.t4),u.\u0275\u0275inject(ae))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),Dt=(()=>{class _e{constructor(j){this._attachedOverlays=[],this._document=j}ngOnDestroy(){this.detach()}add(j){this.remove(j),this._attachedOverlays.push(j)}remove(j){const _=this._attachedOverlays.indexOf(j);_>-1&&this._attachedOverlays.splice(_,1),0===this._attachedOverlays.length&&this.detach()}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(l.DOCUMENT))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),Ie=(()=>{class _e extends Dt{constructor(j){super(j),this._keydownListener=_=>{const x=this._attachedOverlays;for(let N=x.length-1;N>-1;N--)if(x[N]._keydownEvents.observers.length>0){x[N]._keydownEvents.next(_);break}}}add(j){super.add(j),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(l.DOCUMENT))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),Qe=(()=>{class _e extends Dt{constructor(j,_){super(j),this._platform=_,this._cursorStyleIsSet=!1,this._pointerDownListener=x=>{this._pointerDownEventTarget=(0,r.sA)(x)},this._clickListener=x=>{const N=(0,r.sA)(x),ce="click"===x.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:N;this._pointerDownEventTarget=null;const Ue=this._attachedOverlays.slice();for(let Oe=Ue.length-1;Oe>-1;Oe--){const ve=Ue[Oe];if(!(ve._outsidePointerEvents.observers.length<1)&&ve.hasAttached()){if(ve.overlayElement.contains(N)||ve.overlayElement.contains(ce))break;ve._outsidePointerEvents.next(x)}}}}add(j){if(super.add(j),!this._isAttached){const _=this._document.body;_.addEventListener("pointerdown",this._pointerDownListener,!0),_.addEventListener("click",this._clickListener,!0),_.addEventListener("auxclick",this._clickListener,!0),_.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=_.style.cursor,_.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const j=this._document.body;j.removeEventListener("pointerdown",this._pointerDownListener,!0),j.removeEventListener("click",this._clickListener,!0),j.removeEventListener("auxclick",this._clickListener,!0),j.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(j.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(l.DOCUMENT),u.\u0275\u0275inject(r.t4))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac,providedIn:"root"}),_e})(),ct=0,bt=(()=>{class _e{constructor(j,_,x,N,ce,Ue,Oe,ve,Ae,nt,Pt){this.scrollStrategies=j,this._overlayContainer=_,this._componentFactoryResolver=x,this._positionBuilder=N,this._keyboardDispatcher=ce,this._injector=Ue,this._ngZone=Oe,this._document=ve,this._directionality=Ae,this._location=nt,this._outsideClickDispatcher=Pt}create(j){const _=this._createHostElement(),x=this._createPaneElement(_),N=this._createPortalOutlet(x),ce=new Q(j);return ce.direction=ce.direction||this._directionality.value,new oe(N,_,x,ce,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(j){const _=this._document.createElement("div");return _.id="cdk-overlay-"+ct++,_.classList.add("cdk-overlay-pane"),j.appendChild(_),_}_createHostElement(){const j=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(j),j}_createPortalOutlet(j){return this._appRef||(this._appRef=this._injector.get(u.ApplicationRef)),new m.u0(j,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275inject(X),u.\u0275\u0275inject(ae),u.\u0275\u0275inject(u.ComponentFactoryResolver),u.\u0275\u0275inject(pt),u.\u0275\u0275inject(Ie),u.\u0275\u0275inject(u.Injector),u.\u0275\u0275inject(u.NgZone),u.\u0275\u0275inject(l.DOCUMENT),u.\u0275\u0275inject(d.Is),u.\u0275\u0275inject(l.Location),u.\u0275\u0275inject(Qe))},_e.\u0275prov=u.\u0275\u0275defineInjectable({token:_e,factory:_e.\u0275fac}),_e})();const Et=[{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"}],xt=new u.InjectionToken("cdk-connected-overlay-scroll-strategy");let dt=(()=>{class _e{constructor(j){this.elementRef=j}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275directiveInject(u.ElementRef))},_e.\u0275dir=u.\u0275\u0275defineDirective({type:_e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),_e})(),Ne=(()=>{class _e{constructor(j,_,x,N,ce){this._overlay=j,this._dir=ce,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=y.w.EMPTY,this._attachSubscription=y.w.EMPTY,this._detachSubscription=y.w.EMPTY,this._positionSubscription=y.w.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new u.EventEmitter,this.positionChange=new u.EventEmitter,this.attach=new u.EventEmitter,this.detach=new u.EventEmitter,this.overlayKeydown=new u.EventEmitter,this.overlayOutsideClick=new u.EventEmitter,this._templatePortal=new m.UE(_,x),this._scrollStrategyFactory=N,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(j){this._offsetX=j,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(j){this._offsetY=j,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(j){this._hasBackdrop=(0,c.Ig)(j)}get lockPosition(){return this._lockPosition}set lockPosition(j){this._lockPosition=(0,c.Ig)(j)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(j){this._flexibleDimensions=(0,c.Ig)(j)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(j){this._growAfterOpen=(0,c.Ig)(j)}get push(){return this._push}set push(j){this._push=(0,c.Ig)(j)}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(j){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),j.origin&&this.open&&this._position.apply()),j.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Et);const j=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=j.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=j.detachments().subscribe(()=>this.detach.emit()),j.keydownEvents().subscribe(_=>{this.overlayKeydown.next(_),_.keyCode===C.hY&&!this.disableClose&&!(0,C.Vb)(_)&&(_.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(_=>{this.overlayOutsideClick.next(_)})}_buildConfig(){const j=this._position=this.positionStrategy||this._createPositionStrategy(),_=new Q({direction:this._dir,positionStrategy:j,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(_.width=this.width),(this.height||0===this.height)&&(_.height=this.height),(this.minWidth||0===this.minWidth)&&(_.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(_.minHeight=this.minHeight),this.backdropClass&&(_.backdropClass=this.backdropClass),this.panelClass&&(_.panelClass=this.panelClass),_}_updatePositionStrategy(j){const _=this.positions.map(x=>({originX:x.originX,originY:x.originY,overlayX:x.overlayX,overlayY:x.overlayY,offsetX:x.offsetX||this.offsetX,offsetY:x.offsetY||this.offsetY,panelClass:x.panelClass||void 0}));return j.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(_).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const j=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(j),j}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof dt?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(j=>{this.backdropClick.emit(j)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,s.o)(()=>this.positionChange.observers.length>0)).subscribe(j=>{this.positionChange.emit(j),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return _e.\u0275fac=function(j){return new(j||_e)(u.\u0275\u0275directiveInject(bt),u.\u0275\u0275directiveInject(u.TemplateRef),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(xt),u.\u0275\u0275directiveInject(d.Is,8))},_e.\u0275dir=u.\u0275\u0275defineDirective({type:_e,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"],features:[u.\u0275\u0275NgOnChangesFeature]}),_e})();const ze={provide:xt,deps:[bt],useFactory:function(_e){return()=>_e.scrollStrategies.reposition()}};let yt=(()=>{class _e{}return _e.\u0275fac=function(j){return new(j||_e)},_e.\u0275mod=u.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=u.\u0275\u0275defineInjector({providers:[bt,ze],imports:[[d.vT,m.eL,n.Cl],n.Cl]}),_e})()},925:(he,A,o)=>{"use strict";o.d(A,{t4:()=>c,ud:()=>r,sA:()=>$,ht:()=>Y,kV:()=>T,Oy:()=>z,qK:()=>p,i$:()=>h,Mq:()=>C});var n=o(5e3),l=o(9808);let u;try{u="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(G){u=!1}let d,c=(()=>{class G{constructor(Q){this._platformId=Q,this.isBrowser=this._platformId?(0,l.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&&!u)&&"undefined"!=typeof CSS&&!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 G.\u0275fac=function(Q){return new(Q||G)(n.\u0275\u0275inject(n.PLATFORM_ID))},G.\u0275prov=n.\u0275\u0275defineInjectable({token:G,factory:G.\u0275fac,providedIn:"root"}),G})(),r=(()=>{class G{}return G.\u0275fac=function(Q){return new(Q||G)},G.\u0275mod=n.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=n.\u0275\u0275defineInjector({}),G})();const m=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function p(){if(d)return d;if("object"!=typeof document||!document)return d=new Set(m),d;let G=document.createElement("input");return d=new Set(m.filter(X=>(G.setAttribute("type",X),G.type===X))),d}let y,s,w;function h(G){return function(){if(null==y&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>y=!0}))}finally{y=y||!1}return y}()?G:!!G.capture}function C(){if(null==s){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return s=!1,s;if("scrollBehavior"in document.documentElement.style)s=!0;else{const G=Element.prototype.scrollTo;s=!!G&&!/\{\s*\[native code\]\s*\}/.test(G.toString())}}return s}function T(G){if(function(){if(null==w){const G="undefined"!=typeof document?document.head:null;w=!(!G||!G.createShadowRoot&&!G.attachShadow)}return w}()){const X=G.getRootNode?G.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&X instanceof ShadowRoot)return X}return null}function Y(){let G="undefined"!=typeof document&&document?document.activeElement:null;for(;G&&G.shadowRoot;){const X=G.shadowRoot.activeElement;if(X===G)break;G=X}return G}function $(G){return G.composedPath?G.composedPath()[0]:G.target}function z(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(he,A,o)=>{"use strict";o.d(A,{ig:()=>D,Pl:()=>Y,C5:()=>b,u0:()=>P,eL:()=>z,UE:()=>h});var n=o(5e3),l=o(9808);class y{attach(Q){return this._attachedHost=Q,Q.attach(this)}detach(){let Q=this._attachedHost;null!=Q&&(this._attachedHost=null,Q.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(Q){this._attachedHost=Q}}class b extends y{constructor(Q,q,ue,me){super(),this.component=Q,this.viewContainerRef=q,this.injector=ue,this.componentFactoryResolver=me}}class h extends y{constructor(Q,q,ue){super(),this.templateRef=Q,this.viewContainerRef=q,this.context=ue}get origin(){return this.templateRef.elementRef}attach(Q,q=this.context){return this.context=q,super.attach(Q)}detach(){return this.context=void 0,super.detach()}}class g extends y{constructor(Q){super(),this.element=Q instanceof n.ElementRef?Q.nativeElement:Q}}class s{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(Q){return Q instanceof b?(this._attachedPortal=Q,this.attachComponentPortal(Q)):Q instanceof h?(this._attachedPortal=Q,this.attachTemplatePortal(Q)):this.attachDomPortal&&Q instanceof g?(this._attachedPortal=Q,this.attachDomPortal(Q)):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(Q){this._disposeFn=Q}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class P extends s{constructor(Q,q,ue,me,xe){super(),this.outletElement=Q,this._componentFactoryResolver=q,this._appRef=ue,this._defaultInjector=me,this.attachDomPortal=pe=>{const oe=pe.element,ae=this._document.createComment("dom-portal");oe.parentNode.insertBefore(ae,oe),this.outletElement.appendChild(oe),this._attachedPortal=pe,super.setDisposeFn(()=>{ae.parentNode&&ae.parentNode.replaceChild(oe,ae)})},this._document=xe}attachComponentPortal(Q){const ue=(Q.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Q.component);let me;return Q.viewContainerRef?(me=Q.viewContainerRef.createComponent(ue,Q.viewContainerRef.length,Q.injector||Q.viewContainerRef.injector),this.setDisposeFn(()=>me.destroy())):(me=ue.create(Q.injector||this._defaultInjector),this._appRef.attachView(me.hostView),this.setDisposeFn(()=>{this._appRef.detachView(me.hostView),me.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(me)),this._attachedPortal=Q,me}attachTemplatePortal(Q){let q=Q.viewContainerRef,ue=q.createEmbeddedView(Q.templateRef,Q.context);return ue.rootNodes.forEach(me=>this.outletElement.appendChild(me)),ue.detectChanges(),this.setDisposeFn(()=>{let me=q.indexOf(ue);-1!==me&&q.remove(me)}),this._attachedPortal=Q,ue}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(Q){return Q.hostView.rootNodes[0]}}let D=(()=>{class X extends h{constructor(q,ue){super(q,ue)}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))},X.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]}),X})(),Y=(()=>{class X extends s{constructor(q,ue,me){super(),this._componentFactoryResolver=q,this._viewContainerRef=ue,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=xe=>{const pe=xe.element,oe=this._document.createComment("dom-portal");xe.setAttachedHost(this),pe.parentNode.insertBefore(oe,pe),this._getRootNode().appendChild(pe),this._attachedPortal=xe,super.setDisposeFn(()=>{oe.parentNode&&oe.parentNode.replaceChild(pe,oe)})},this._document=me}get portal(){return this._attachedPortal}set portal(q){this.hasAttached()&&!q&&!this._isInitialized||(this.hasAttached()&&super.detach(),q&&super.attach(q),this._attachedPortal=q||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(q){q.setAttachedHost(this);const ue=null!=q.viewContainerRef?q.viewContainerRef:this._viewContainerRef,xe=(q.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(q.component),pe=ue.createComponent(xe,ue.length,q.injector||ue.injector);return ue!==this._viewContainerRef&&this._getRootNode().appendChild(pe.hostView.rootNodes[0]),super.setDisposeFn(()=>pe.destroy()),this._attachedPortal=q,this._attachedRef=pe,this.attached.emit(pe),pe}attachTemplatePortal(q){q.setAttachedHost(this);const ue=this._viewContainerRef.createEmbeddedView(q.templateRef,q.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=q,this._attachedRef=ue,this.attached.emit(ue),ue}_getRootNode(){const q=this._viewContainerRef.element.nativeElement;return q.nodeType===q.ELEMENT_NODE?q:q.parentNode}}return X.\u0275fac=function(q){return new(q||X)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(l.DOCUMENT))},X.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]}),X})(),z=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=n.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=n.\u0275\u0275defineInjector({}),X})()},9071:(he,A,o)=>{"use strict";o.d(A,{ZD:()=>oe,mF:()=>z,Cl:()=>ae,rL:()=>Q});var n=o(3191),l=o(5e3),u=o(8929),c=o(1086),r=o(6498),d=o(3753),y=(o(352),o(8139),o(7568)),b=o(2198),h=o(9808),g=o(925),s=o(226);let z=(()=>{class U{constructor(le,Ce,Te){this._ngZone=le,this._platform=Ce,this._scrolled=new u.xQ,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Te}register(le){this.scrollContainers.has(le)||this.scrollContainers.set(le,le.elementScrolled().subscribe(()=>this._scrolled.next(le)))}deregister(le){const Ce=this.scrollContainers.get(le);Ce&&(Ce.unsubscribe(),this.scrollContainers.delete(le))}scrolled(le=20){return this._platform.isBrowser?new r.y(Ce=>{this._globalSubscription||this._addGlobalListener();const Te=le>0?this._scrolled.pipe((0,y.e)(le)).subscribe(Ce):this._scrolled.subscribe(Ce);return this._scrolledCount++,()=>{Te.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,c.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((le,Ce)=>this.deregister(Ce)),this._scrolled.complete()}ancestorScrolled(le,Ce){const Te=this.getAncestorScrollContainers(le);return this.scrolled(Ce).pipe((0,b.h)(Ke=>!Ke||Te.indexOf(Ke)>-1))}getAncestorScrollContainers(le){const Ce=[];return this.scrollContainers.forEach((Te,Ke)=>{this._scrollableContainsElement(Ke,le)&&Ce.push(Ke)}),Ce}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(le,Ce){let Te=(0,n.fI)(Ce),Ke=le.getElementRef().nativeElement;do{if(Te==Ke)return!0}while(Te=Te.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const le=this._getWindow();return(0,d.R)(le.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return U.\u0275fac=function(le){return new(le||U)(l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(g.t4),l.\u0275\u0275inject(h.DOCUMENT,8))},U.\u0275prov=l.\u0275\u0275defineInjectable({token:U,factory:U.\u0275fac,providedIn:"root"}),U})(),Q=(()=>{class U{constructor(le,Ce,Te){this._platform=le,this._change=new u.xQ,this._changeListener=Ke=>{this._change.next(Ke)},this._document=Te,Ce.runOutsideAngular(()=>{if(le.isBrowser){const Ke=this._getWindow();Ke.addEventListener("resize",this._changeListener),Ke.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const le=this._getWindow();le.removeEventListener("resize",this._changeListener),le.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const le={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),le}getViewportRect(){const le=this.getViewportScrollPosition(),{width:Ce,height:Te}=this.getViewportSize();return{top:le.top,left:le.left,bottom:le.top+Te,right:le.left+Ce,height:Te,width:Ce}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const le=this._document,Ce=this._getWindow(),Te=le.documentElement,Ke=Te.getBoundingClientRect();return{top:-Ke.top||le.body.scrollTop||Ce.scrollY||Te.scrollTop||0,left:-Ke.left||le.body.scrollLeft||Ce.scrollX||Te.scrollLeft||0}}change(le=20){return le>0?this._change.pipe((0,y.e)(le)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const le=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:le.innerWidth,height:le.innerHeight}:{width:0,height:0}}}return U.\u0275fac=function(le){return new(le||U)(l.\u0275\u0275inject(g.t4),l.\u0275\u0275inject(l.NgZone),l.\u0275\u0275inject(h.DOCUMENT,8))},U.\u0275prov=l.\u0275\u0275defineInjectable({token:U,factory:U.\u0275fac,providedIn:"root"}),U})(),oe=(()=>{class U{}return U.\u0275fac=function(le){return new(le||U)},U.\u0275mod=l.\u0275\u0275defineNgModule({type:U}),U.\u0275inj=l.\u0275\u0275defineInjector({}),U})(),ae=(()=>{class U{}return U.\u0275fac=function(le){return new(le||U)},U.\u0275mod=l.\u0275\u0275defineNgModule({type:U}),U.\u0275inj=l.\u0275\u0275defineInjector({imports:[[s.vT,g.ud,oe],s.vT,oe]}),U})()},9808:(he,A,o)=>{"use strict";o.r(A),o.d(A,{APP_BASE_HREF:()=>Y,AsyncPipe:()=>Wi,CommonModule:()=>cr,CurrencyPipe:()=>Si,DATE_PIPE_DEFAULT_TIMEZONE:()=>oi,DOCUMENT:()=>m,DatePipe:()=>mi,DecimalPipe:()=>Li,FormStyle:()=>pe,FormatWidth:()=>ae,HashLocationStrategy:()=>z,I18nPluralPipe:()=>lr,I18nSelectPipe:()=>br,JsonPipe:()=>Or,KeyValuePipe:()=>Di,LOCATION_INITIALIZED:()=>b,Location:()=>G,LocationStrategy:()=>D,LowerCasePipe:()=>nn,NgClass:()=>Yt,NgComponentOutlet:()=>Zt,NgForOf:()=>Tn,NgForOfContext:()=>Mn,NgIf:()=>An,NgIfContext:()=>kn,NgLocaleLocalization:()=>kt,NgLocalization:()=>ke,NgPlural:()=>_i,NgPluralCase:()=>bi,NgStyle:()=>si,NgSwitch:()=>Oi,NgSwitchCase:()=>ci,NgSwitchDefault:()=>Xn,NgTemplateOutlet:()=>mn,NumberFormatStyle:()=>me,NumberSymbol:()=>U,PathLocationStrategy:()=>$,PercentPipe:()=>Er,PlatformLocation:()=>p,Plural:()=>xe,SlicePipe:()=>Pi,TitleCasePipe:()=>gn,TranslationWidth:()=>oe,UpperCasePipe:()=>Sn,VERSION:()=>Rr,ViewportScroller:()=>Mr,WeekDay:()=>ie,XhrFactory:()=>hr,formatCurrency:()=>ri,formatDate:()=>Pt,formatNumber:()=>Se,formatPercent:()=>jn,getCurrencySymbol:()=>_,getLocaleCurrencyCode:()=>dt,getLocaleCurrencyName:()=>xt,getLocaleCurrencySymbol:()=>Et,getLocaleDateFormat:()=>Dt,getLocaleDateTimeFormat:()=>Qe,getLocaleDayNames:()=>Te,getLocaleDayPeriods:()=>Ce,getLocaleDirection:()=>_e,getLocaleEraNames:()=>tt,getLocaleExtraDayPeriodRules:()=>yt,getLocaleExtraDayPeriods:()=>mt,getLocaleFirstDayOfWeek:()=>ot,getLocaleId:()=>le,getLocaleMonthNames:()=>Ke,getLocaleNumberFormat:()=>bt,getLocaleNumberSymbol:()=>ct,getLocalePluralCase:()=>rt,getLocaleTimeFormat:()=>Ie,getLocaleWeekEndRange:()=>pt,getNumberOfCurrencyDigits:()=>N,isPlatformBrowser:()=>Xi,isPlatformServer:()=>yi,isPlatformWorkerApp:()=>rr,isPlatformWorkerUi:()=>Br,registerLocaleData:()=>It,\u0275BrowserPlatformLocation:()=>h,\u0275DomAdapter:()=>d,\u0275NullViewportScroller:()=>Dr,\u0275PLATFORM_BROWSER_ID:()=>di,\u0275PLATFORM_SERVER_ID:()=>dr,\u0275PLATFORM_WORKER_APP_ID:()=>qi,\u0275PLATFORM_WORKER_UI_ID:()=>$i,\u0275getDOM:()=>u,\u0275parseCookieValue:()=>Rt,\u0275setRootDomAdapter:()=>r});var n=o(5e3);let l=null;function u(){return l}function r(fe){l||(l=fe)}class d{}const m=new n.InjectionToken("DocumentToken");let p=(()=>{class fe{historyGo(E){throw new Error("Not implemented")}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:function(){return(0,n.\u0275\u0275inject)(h)},providedIn:"platform"}),fe})();const b=new n.InjectionToken("Location Initialized");let h=(()=>{class fe extends p{constructor(E){super(),this._doc=E,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return u().getBaseHref(this._doc)}onPopState(E){const I=u().getGlobalEventTarget(this._doc,"window");return I.addEventListener("popstate",E,!1),()=>I.removeEventListener("popstate",E)}onHashChange(E){const I=u().getGlobalEventTarget(this._doc,"window");return I.addEventListener("hashchange",E,!1),()=>I.removeEventListener("hashchange",E)}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(E){this.location.pathname=E}pushState(E,I,de){g()?this._history.pushState(E,I,de):this.location.hash=de}replaceState(E,I,de){g()?this._history.replaceState(E,I,de):this.location.hash=de}forward(){this._history.forward()}back(){this._history.back()}historyGo(E=0){this._history.go(E)}getState(){return this._history.state}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(m))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:function(){return new h((0,n.\u0275\u0275inject)(m))},providedIn:"platform"}),fe})();function g(){return!!window.history.pushState}function C(fe,k){if(0==fe.length)return k;if(0==k.length)return fe;let E=0;return fe.endsWith("/")&&E++,k.startsWith("/")&&E++,2==E?fe+k.substring(1):1==E?fe+k:fe+"/"+k}function P(fe){const k=fe.match(/#|\?|$/),E=k&&k.index||fe.length;return fe.slice(0,E-("/"===fe[E-1]?1:0))+fe.slice(E)}function w(fe){return fe&&"?"!==fe[0]?"?"+fe:fe}let D=(()=>{class fe{historyGo(E){throw new Error("Not implemented")}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:function(){return function(fe){const k=(0,n.\u0275\u0275inject)(m).location;return new $((0,n.\u0275\u0275inject)(p),k&&k.origin||"")}()},providedIn:"root"}),fe})();const Y=new n.InjectionToken("appBaseHref");let $=(()=>{class fe extends D{constructor(E,I){if(super(),this._platformLocation=E,this._removeListenerFns=[],null==I&&(I=this._platformLocation.getBaseHrefFromDOM()),null==I)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=I}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}prepareExternalUrl(E){return C(this._baseHref,E)}path(E=!1){const I=this._platformLocation.pathname+w(this._platformLocation.search),de=this._platformLocation.hash;return de&&E?`${I}${de}`:I}pushState(E,I,de,Ze){const wt=this.prepareExternalUrl(de+w(Ze));this._platformLocation.pushState(E,I,wt)}replaceState(E,I,de,Ze){const wt=this.prepareExternalUrl(de+w(Ze));this._platformLocation.replaceState(E,I,wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var I,de;null===(de=(I=this._platformLocation).historyGo)||void 0===de||de.call(I,E)}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(Y,8))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac}),fe})(),z=(()=>{class fe extends D{constructor(E,I){super(),this._platformLocation=E,this._baseHref="",this._removeListenerFns=[],null!=I&&(this._baseHref=I)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(E){this._removeListenerFns.push(this._platformLocation.onPopState(E),this._platformLocation.onHashChange(E))}getBaseHref(){return this._baseHref}path(E=!1){let I=this._platformLocation.hash;return null==I&&(I="#"),I.length>0?I.substring(1):I}prepareExternalUrl(E){const I=C(this._baseHref,E);return I.length>0?"#"+I:I}pushState(E,I,de,Ze){let wt=this.prepareExternalUrl(de+w(Ze));0==wt.length&&(wt=this._platformLocation.pathname),this._platformLocation.pushState(E,I,wt)}replaceState(E,I,de,Ze){let wt=this.prepareExternalUrl(de+w(Ze));0==wt.length&&(wt=this._platformLocation.pathname),this._platformLocation.replaceState(E,I,wt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(E=0){var I,de;null===(de=(I=this._platformLocation).historyGo)||void 0===de||de.call(I,E)}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(Y,8))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac}),fe})(),G=(()=>{class fe{constructor(E,I){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=E;const de=this._platformStrategy.getBaseHref();this._platformLocation=I,this._baseHref=P(q(de)),this._platformStrategy.onPopState(Ze=>{this._subject.emit({url:this.path(!0),pop:!0,state:Ze.state,type:Ze.type})})}path(E=!1){return this.normalize(this._platformStrategy.path(E))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(E,I=""){return this.path()==this.normalize(E+w(I))}normalize(E){return fe.stripTrailingSlash(function(fe,k){return fe&&k.startsWith(fe)?k.substring(fe.length):k}(this._baseHref,q(E)))}prepareExternalUrl(E){return E&&"/"!==E[0]&&(E="/"+E),this._platformStrategy.prepareExternalUrl(E)}go(E,I="",de=null){this._platformStrategy.pushState(de,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+w(I)),de)}replaceState(E,I="",de=null){this._platformStrategy.replaceState(de,"",E,I),this._notifyUrlChangeListeners(this.prepareExternalUrl(E+w(I)),de)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(E=0){var I,de;null===(de=(I=this._platformStrategy).historyGo)||void 0===de||de.call(I,E)}onUrlChange(E){this._urlChangeListeners.push(E),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(I=>{this._notifyUrlChangeListeners(I.url,I.state)}))}_notifyUrlChangeListeners(E="",I){this._urlChangeListeners.forEach(de=>de(E,I))}subscribe(E,I,de){return this._subject.subscribe({next:E,error:I,complete:de})}}return fe.normalizeQueryParams=w,fe.joinWithSlash=C,fe.stripTrailingSlash=P,fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(D),n.\u0275\u0275inject(p))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:function(){return new G((0,n.\u0275\u0275inject)(D),(0,n.\u0275\u0275inject)(p))},providedIn:"root"}),fe})();function q(fe){return fe.replace(/\/index.html$/,"")}const ue={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,"\u0440.",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"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],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 me=(()=>((me=me||{})[me.Decimal=0]="Decimal",me[me.Percent=1]="Percent",me[me.Currency=2]="Currency",me[me.Scientific=3]="Scientific",me))(),xe=(()=>((xe=xe||{})[xe.Zero=0]="Zero",xe[xe.One=1]="One",xe[xe.Two=2]="Two",xe[xe.Few=3]="Few",xe[xe.Many=4]="Many",xe[xe.Other=5]="Other",xe))(),pe=(()=>((pe=pe||{})[pe.Format=0]="Format",pe[pe.Standalone=1]="Standalone",pe))(),oe=(()=>((oe=oe||{})[oe.Narrow=0]="Narrow",oe[oe.Abbreviated=1]="Abbreviated",oe[oe.Wide=2]="Wide",oe[oe.Short=3]="Short",oe))(),ae=(()=>((ae=ae||{})[ae.Short=0]="Short",ae[ae.Medium=1]="Medium",ae[ae.Long=2]="Long",ae[ae.Full=3]="Full",ae))(),U=(()=>((U=U||{})[U.Decimal=0]="Decimal",U[U.Group=1]="Group",U[U.List=2]="List",U[U.PercentSign=3]="PercentSign",U[U.PlusSign=4]="PlusSign",U[U.MinusSign=5]="MinusSign",U[U.Exponential=6]="Exponential",U[U.SuperscriptingExponent=7]="SuperscriptingExponent",U[U.PerMille=8]="PerMille",U[U.Infinity=9]="Infinity",U[U.NaN=10]="NaN",U[U.TimeSeparator=11]="TimeSeparator",U[U.CurrencyDecimal=12]="CurrencyDecimal",U[U.CurrencyGroup=13]="CurrencyGroup",U))(),ie=(()=>((ie=ie||{})[ie.Sunday=0]="Sunday",ie[ie.Monday=1]="Monday",ie[ie.Tuesday=2]="Tuesday",ie[ie.Wednesday=3]="Wednesday",ie[ie.Thursday=4]="Thursday",ie[ie.Friday=5]="Friday",ie[ie.Saturday=6]="Saturday",ie))();function le(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.LocaleId]}function Ce(fe,k,E){const I=(0,n.\u0275findLocaleData)(fe),Ze=Z([I[n.\u0275LocaleDataIndex.DayPeriodsFormat],I[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],k);return Z(Ze,E)}function Te(fe,k,E){const I=(0,n.\u0275findLocaleData)(fe),Ze=Z([I[n.\u0275LocaleDataIndex.DaysFormat],I[n.\u0275LocaleDataIndex.DaysStandalone]],k);return Z(Ze,E)}function Ke(fe,k,E){const I=(0,n.\u0275findLocaleData)(fe),Ze=Z([I[n.\u0275LocaleDataIndex.MonthsFormat],I[n.\u0275LocaleDataIndex.MonthsStandalone]],k);return Z(Ze,E)}function tt(fe,k){return Z((0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.Eras],k)}function ot(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function pt(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.WeekendRange]}function Dt(fe,k){return Z((0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.DateFormat],k)}function Ie(fe,k){return Z((0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.TimeFormat],k)}function Qe(fe,k){return Z((0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.DateTimeFormat],k)}function ct(fe,k){const E=(0,n.\u0275findLocaleData)(fe),I=E[n.\u0275LocaleDataIndex.NumberSymbols][k];if(void 0===I){if(k===U.CurrencyDecimal)return E[n.\u0275LocaleDataIndex.NumberSymbols][U.Decimal];if(k===U.CurrencyGroup)return E[n.\u0275LocaleDataIndex.NumberSymbols][U.Group]}return I}function bt(fe,k){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.NumberFormats][k]}function Et(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function xt(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.CurrencyName]||null}function dt(fe){return(0,n.\u0275getLocaleCurrencyCode)(fe)}const rt=n.\u0275getLocalePluralCase;function ze(fe){if(!fe[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${fe[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function yt(fe){const k=(0,n.\u0275findLocaleData)(fe);return ze(k),(k[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(I=>"string"==typeof I?j(I):[j(I[0]),j(I[1])])}function mt(fe,k,E){const I=(0,n.\u0275findLocaleData)(fe);ze(I);const Ze=Z([I[n.\u0275LocaleDataIndex.ExtraData][0],I[n.\u0275LocaleDataIndex.ExtraData][1]],k)||[];return Z(Ze,E)||[]}function _e(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.Directionality]}function Z(fe,k){for(let E=k;E>-1;E--)if(void 0!==fe[E])return fe[E];throw new Error("Locale data API: locale data undefined")}function j(fe){const[k,E]=fe.split(":");return{hours:+k,minutes:+E}}function _(fe,k,E="en"){const I=function(fe){return(0,n.\u0275findLocaleData)(fe)[n.\u0275LocaleDataIndex.Currencies]}(E)[fe]||ue[fe]||[],de=I[1];return"narrow"===k&&"string"==typeof de?de:I[0]||fe}function N(fe){let k;const E=ue[fe];return E&&(k=E[2]),"number"==typeof k?k:2}const ce=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ue={},Oe=/((?:[^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 ve=(()=>((ve=ve||{})[ve.Short=0]="Short",ve[ve.ShortGMT=1]="ShortGMT",ve[ve.Long=2]="Long",ve[ve.Extended=3]="Extended",ve))(),Ae=(()=>((Ae=Ae||{})[Ae.FullYear=0]="FullYear",Ae[Ae.Month=1]="Month",Ae[Ae.Date=2]="Date",Ae[Ae.Hours=3]="Hours",Ae[Ae.Minutes=4]="Minutes",Ae[Ae.Seconds=5]="Seconds",Ae[Ae.FractionalSeconds=6]="FractionalSeconds",Ae[Ae.Day=7]="Day",Ae))(),nt=(()=>((nt=nt||{})[nt.DayPeriods=0]="DayPeriods",nt[nt.Days=1]="Days",nt[nt.Months=2]="Months",nt[nt.Eras=3]="Eras",nt))();function Pt(fe,k,E,I){let de=function(fe){if(ut(fe))return fe;if("number"==typeof fe&&!isNaN(fe))return new Date(fe);if("string"==typeof fe){if(fe=fe.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(fe)){const[de,Ze=1,wt=1]=fe.split("-").map(Wt=>+Wt);return Ft(de,Ze-1,wt)}const E=parseFloat(fe);if(!isNaN(fe-E))return new Date(E);let I;if(I=fe.match(ce))return function(fe){const k=new Date(0);let E=0,I=0;const de=fe[8]?k.setUTCFullYear:k.setFullYear,Ze=fe[8]?k.setUTCHours:k.setHours;fe[9]&&(E=Number(fe[9]+fe[10]),I=Number(fe[9]+fe[11])),de.call(k,Number(fe[1]),Number(fe[2])-1,Number(fe[3]));const wt=Number(fe[4]||0)-E,Wt=Number(fe[5]||0)-I,hn=Number(fe[6]||0),Nn=Math.floor(1e3*parseFloat("0."+(fe[7]||0)));return Ze.call(k,wt,Wt,hn,Nn),k}(I)}const k=new Date(fe);if(!ut(k))throw new Error(`Unable to convert "${fe}" into a date`);return k}(fe);k=gt(E,k)||k;let Wt,wt=[];for(;k;){if(Wt=Oe.exec(k),!Wt){wt.push(k);break}{wt=wt.concat(Wt.slice(1));const Hn=wt.pop();if(!Hn)break;k=Hn}}let hn=de.getTimezoneOffset();I&&(hn=$t(I,hn),de=function(fe,k,E){const de=fe.getTimezoneOffset();return function(fe,k){return(fe=new Date(fe.getTime())).setMinutes(fe.getMinutes()+k),fe}(fe,-1*($t(k,de)-de))}(de,I));let Nn="";return wt.forEach(Hn=>{const Vn=function(fe){if(Ct[fe])return Ct[fe];let k;switch(fe){case"G":case"GG":case"GGG":k=lt(nt.Eras,oe.Abbreviated);break;case"GGGG":k=lt(nt.Eras,oe.Wide);break;case"GGGGG":k=lt(nt.Eras,oe.Narrow);break;case"y":k=Mt(Ae.FullYear,1,0,!1,!0);break;case"yy":k=Mt(Ae.FullYear,2,0,!0,!0);break;case"yyy":k=Mt(Ae.FullYear,3,0,!1,!0);break;case"yyyy":k=Mt(Ae.FullYear,4,0,!1,!0);break;case"Y":k=je(1);break;case"YY":k=je(2,!0);break;case"YYY":k=je(3);break;case"YYYY":k=je(4);break;case"M":case"L":k=Mt(Ae.Month,1,1);break;case"MM":case"LL":k=Mt(Ae.Month,2,1);break;case"MMM":k=lt(nt.Months,oe.Abbreviated);break;case"MMMM":k=lt(nt.Months,oe.Wide);break;case"MMMMM":k=lt(nt.Months,oe.Narrow);break;case"LLL":k=lt(nt.Months,oe.Abbreviated,pe.Standalone);break;case"LLLL":k=lt(nt.Months,oe.Wide,pe.Standalone);break;case"LLLLL":k=lt(nt.Months,oe.Narrow,pe.Standalone);break;case"w":k=be(1);break;case"ww":k=be(2);break;case"W":k=be(1,!0);break;case"d":k=Mt(Ae.Date,1);break;case"dd":k=Mt(Ae.Date,2);break;case"c":case"cc":k=Mt(Ae.Day,1);break;case"ccc":k=lt(nt.Days,oe.Abbreviated,pe.Standalone);break;case"cccc":k=lt(nt.Days,oe.Wide,pe.Standalone);break;case"ccccc":k=lt(nt.Days,oe.Narrow,pe.Standalone);break;case"cccccc":k=lt(nt.Days,oe.Short,pe.Standalone);break;case"E":case"EE":case"EEE":k=lt(nt.Days,oe.Abbreviated);break;case"EEEE":k=lt(nt.Days,oe.Wide);break;case"EEEEE":k=lt(nt.Days,oe.Narrow);break;case"EEEEEE":k=lt(nt.Days,oe.Short);break;case"a":case"aa":case"aaa":k=lt(nt.DayPeriods,oe.Abbreviated);break;case"aaaa":k=lt(nt.DayPeriods,oe.Wide);break;case"aaaaa":k=lt(nt.DayPeriods,oe.Narrow);break;case"b":case"bb":case"bbb":k=lt(nt.DayPeriods,oe.Abbreviated,pe.Standalone,!0);break;case"bbbb":k=lt(nt.DayPeriods,oe.Wide,pe.Standalone,!0);break;case"bbbbb":k=lt(nt.DayPeriods,oe.Narrow,pe.Standalone,!0);break;case"B":case"BB":case"BBB":k=lt(nt.DayPeriods,oe.Abbreviated,pe.Format,!0);break;case"BBBB":k=lt(nt.DayPeriods,oe.Wide,pe.Format,!0);break;case"BBBBB":k=lt(nt.DayPeriods,oe.Narrow,pe.Format,!0);break;case"h":k=Mt(Ae.Hours,1,-12);break;case"hh":k=Mt(Ae.Hours,2,-12);break;case"H":k=Mt(Ae.Hours,1);break;case"HH":k=Mt(Ae.Hours,2);break;case"m":k=Mt(Ae.Minutes,1);break;case"mm":k=Mt(Ae.Minutes,2);break;case"s":k=Mt(Ae.Seconds,1);break;case"ss":k=Mt(Ae.Seconds,2);break;case"S":k=Mt(Ae.FractionalSeconds,1);break;case"SS":k=Mt(Ae.FractionalSeconds,2);break;case"SSS":k=Mt(Ae.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":k=Nt(ve.Short);break;case"ZZZZZ":k=Nt(ve.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":k=Nt(ve.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":k=Nt(ve.Long);break;default:return null}return Ct[fe]=k,k}(Hn);Nn+=Vn?Vn(de,E,hn):"''"===Hn?"'":Hn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Nn}function Ft(fe,k,E){const I=new Date(0);return I.setFullYear(fe,k,E),I.setHours(0,0,0),I}function gt(fe,k){const E=le(fe);if(Ue[E]=Ue[E]||{},Ue[E][k])return Ue[E][k];let I="";switch(k){case"shortDate":I=Dt(fe,ae.Short);break;case"mediumDate":I=Dt(fe,ae.Medium);break;case"longDate":I=Dt(fe,ae.Long);break;case"fullDate":I=Dt(fe,ae.Full);break;case"shortTime":I=Ie(fe,ae.Short);break;case"mediumTime":I=Ie(fe,ae.Medium);break;case"longTime":I=Ie(fe,ae.Long);break;case"fullTime":I=Ie(fe,ae.Full);break;case"short":const de=gt(fe,"shortTime"),Ze=gt(fe,"shortDate");I=Lt(Qe(fe,ae.Short),[de,Ze]);break;case"medium":const wt=gt(fe,"mediumTime"),Wt=gt(fe,"mediumDate");I=Lt(Qe(fe,ae.Medium),[wt,Wt]);break;case"long":const hn=gt(fe,"longTime"),Nn=gt(fe,"longDate");I=Lt(Qe(fe,ae.Long),[hn,Nn]);break;case"full":const Hn=gt(fe,"fullTime"),Vn=gt(fe,"fullDate");I=Lt(Qe(fe,ae.Full),[Hn,Vn])}return I&&(Ue[E][k]=I),I}function Lt(fe,k){return k&&(fe=fe.replace(/\{([^}]+)}/g,function(E,I){return null!=k&&I in k?k[I]:E})),fe}function $e(fe,k,E="-",I,de){let Ze="";(fe<0||de&&fe<=0)&&(de?fe=1-fe:(fe=-fe,Ze=E));let wt=String(fe);for(;wt.length0||Wt>-E)&&(Wt+=E),fe===Ae.Hours)0===Wt&&-12===E&&(Wt=12);else if(fe===Ae.FractionalSeconds)return function(fe,k){return $e(fe,3).substr(0,k)}(Wt,k);const hn=ct(wt,U.MinusSign);return $e(Wt,k,hn,I,de)}}function lt(fe,k,E=pe.Format,I=!1){return function(de,Ze){return function(fe,k,E,I,de,Ze){switch(E){case nt.Months:return Ke(k,de,I)[fe.getMonth()];case nt.Days:return Te(k,de,I)[fe.getDay()];case nt.DayPeriods:const wt=fe.getHours(),Wt=fe.getMinutes();if(Ze){const Nn=yt(k),Hn=mt(k,de,I),Vn=Nn.findIndex(Yn=>{if(Array.isArray(Yn)){const[Qn,ii]=Yn,dn=wt>=Qn.hours&&Wt>=Qn.minutes,fr=wt0?Math.floor(de/60):Math.ceil(de/60);switch(fe){case ve.Short:return(de>=0?"+":"")+$e(wt,2,Ze)+$e(Math.abs(de%60),2,Ze);case ve.ShortGMT:return"GMT"+(de>=0?"+":"")+$e(wt,1,Ze);case ve.Long:return"GMT"+(de>=0?"+":"")+$e(wt,2,Ze)+":"+$e(Math.abs(de%60),2,Ze);case ve.Extended:return 0===I?"Z":(de>=0?"+":"")+$e(wt,2,Ze)+":"+$e(Math.abs(de%60),2,Ze);default:throw new Error(`Unknown zone width "${fe}"`)}}}function V(fe){return Ft(fe.getFullYear(),fe.getMonth(),fe.getDate()+(4-fe.getDay()))}function be(fe,k=!1){return function(E,I){let de;if(k){const Ze=new Date(E.getFullYear(),E.getMonth(),1).getDay()-1,wt=E.getDate();de=1+Math.floor((wt+Ze)/7)}else{const Ze=V(E),wt=function(fe){const k=Ft(fe,0,1).getDay();return Ft(fe,0,1+(k<=4?4:11)-k)}(Ze.getFullYear()),Wt=Ze.getTime()-wt.getTime();de=1+Math.round(Wt/6048e5)}return $e(de,fe,ct(I,U.MinusSign))}}function je(fe,k=!1){return function(E,I){return $e(V(E).getFullYear(),fe,ct(I,U.MinusSign),k)}}const Ct={};function $t(fe,k){fe=fe.replace(/:/g,"");const E=Date.parse("Jan 01, 1970 00:00:00 "+fe)/6e4;return isNaN(E)?k:E}function ut(fe){return fe instanceof Date&&!isNaN(fe.valueOf())}const At=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Ln(fe,k,E,I,de,Ze,wt=!1){let Wt="",hn=!1;if(isFinite(fe)){let Nn=function(fe){let I,de,Ze,wt,Wt,k=Math.abs(fe)+"",E=0;for((de=k.indexOf("."))>-1&&(k=k.replace(".","")),(Ze=k.search(/e/i))>0?(de<0&&(de=Ze),de+=+k.slice(Ze+1),k=k.substring(0,Ze)):de<0&&(de=k.length),Ze=0;"0"===k.charAt(Ze);Ze++);if(Ze===(Wt=k.length))I=[0],de=1;else{for(Wt--;"0"===k.charAt(Wt);)Wt--;for(de-=Ze,I=[],wt=0;Ze<=Wt;Ze++,wt++)I[wt]=Number(k.charAt(Ze))}return de>22&&(I=I.splice(0,21),E=de-1,de=1),{digits:I,exponent:E,integerLen:de}}(fe);wt&&(Nn=function(fe){if(0===fe.digits[0])return fe;const k=fe.digits.length-fe.integerLen;return fe.exponent?fe.exponent+=2:(0===k?fe.digits.push(0,0):1===k&&fe.digits.push(0),fe.integerLen+=2),fe}(Nn));let Hn=k.minInt,Vn=k.minFrac,Yn=k.maxFrac;if(Ze){const sr=Ze.match(At);if(null===sr)throw new Error(`${Ze} is not a valid digit info`);const jr=sr[1],Sr=sr[3],Hr=sr[5];null!=jr&&(Hn=te(jr)),null!=Sr&&(Vn=te(Sr)),null!=Hr?Yn=te(Hr):null!=Sr&&Vn>Yn&&(Yn=Vn)}!function(fe,k,E){if(k>E)throw new Error(`The minimum number of digits after fraction (${k}) is higher than the maximum (${E}).`);let I=fe.digits,de=I.length-fe.integerLen;const Ze=Math.min(Math.max(k,de),E);let wt=Ze+fe.integerLen,Wt=I[wt];if(wt>0){I.splice(Math.max(fe.integerLen,wt));for(let Vn=wt;Vn=5)if(wt-1<0){for(let Vn=0;Vn>wt;Vn--)I.unshift(0),fe.integerLen++;I.unshift(1),fe.integerLen++}else I[wt-1]++;for(;de=Nn?ii.pop():hn=!1),Yn>=10?1:0},0);Hn&&(I.unshift(Hn),fe.integerLen++)}(Nn,Vn,Yn);let Qn=Nn.digits,ii=Nn.integerLen;const dn=Nn.exponent;let fr=[];for(hn=Qn.every(sr=>!sr);ii0?fr=Qn.splice(ii,Qn.length):(fr=Qn,Qn=[0]);const ji=[];for(Qn.length>=k.lgSize&&ji.unshift(Qn.splice(-k.lgSize,Qn.length).join(""));Qn.length>k.gSize;)ji.unshift(Qn.splice(-k.gSize,Qn.length).join(""));Qn.length&&ji.unshift(Qn.join("")),Wt=ji.join(ct(E,I)),fr.length&&(Wt+=ct(E,de)+fr.join("")),dn&&(Wt+=ct(E,U.Exponential)+"+"+dn)}else Wt=ct(E,U.Infinity);return Wt=fe<0&&!hn?k.negPre+Wt+k.negSuf:k.posPre+Wt+k.posSuf,Wt}function ri(fe,k,E,I,de){const wt=Xe(bt(k,me.Currency),ct(k,U.MinusSign));return wt.minFrac=N(I),wt.maxFrac=wt.minFrac,Ln(fe,wt,k,U.CurrencyGroup,U.CurrencyDecimal,de).replace("\xa4",E).replace("\xa4","").trim()}function jn(fe,k,E){return Ln(fe,Xe(bt(k,me.Percent),ct(k,U.MinusSign)),k,U.Group,U.Decimal,E,!0).replace(new RegExp("%","g"),ct(k,U.PercentSign))}function Se(fe,k,E){return Ln(fe,Xe(bt(k,me.Decimal),ct(k,U.MinusSign)),k,U.Group,U.Decimal,E)}function Xe(fe,k="-"){const E={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},I=fe.split(";"),de=I[0],Ze=I[1],wt=-1!==de.indexOf(".")?de.split("."):[de.substring(0,de.lastIndexOf("0")+1),de.substring(de.lastIndexOf("0")+1)],Wt=wt[0],hn=wt[1]||"";E.posPre=Wt.substr(0,Wt.indexOf("#"));for(let Hn=0;Hn-1||(de=E.getPluralCategory(fe,I),k.indexOf(de)>-1))return de;if(k.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${fe}"`)}let kt=(()=>{class fe extends ke{constructor(E){super(),this.locale=E}getPluralCategory(E,I){switch(rt(I||this.locale)(E)){case xe.Zero:return"zero";case xe.One:return"one";case xe.Two:return"two";case xe.Few:return"few";case xe.Many:return"many";default:return"other"}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275inject(n.LOCALE_ID))},fe.\u0275prov=n.\u0275\u0275defineInjectable({token:fe,factory:fe.\u0275fac}),fe})();function It(fe,k,E){return(0,n.\u0275registerLocaleData)(fe,k,E)}function Rt(fe,k){k=encodeURIComponent(k);for(const E of fe.split(";")){const I=E.indexOf("="),[de,Ze]=-1==I?[E,""]:[E.slice(0,I),E.slice(I+1)];if(de.trim()===k)return decodeURIComponent(Ze)}return null}let Yt=(()=>{class fe{constructor(E,I,de,Ze){this._iterableDiffers=E,this._keyValueDiffers=I,this._ngEl=de,this._renderer=Ze,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(E){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof E?E.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(E){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof E?E.split(/\s+/):E,this._rawClass&&((0,n.\u0275isListLikeIterable)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const E=this._iterableDiffer.diff(this._rawClass);E&&this._applyIterableChanges(E)}else if(this._keyValueDiffer){const E=this._keyValueDiffer.diff(this._rawClass);E&&this._applyKeyValueChanges(E)}}_applyKeyValueChanges(E){E.forEachAddedItem(I=>this._toggleClass(I.key,I.currentValue)),E.forEachChangedItem(I=>this._toggleClass(I.key,I.currentValue)),E.forEachRemovedItem(I=>{I.previousValue&&this._toggleClass(I.key,!1)})}_applyIterableChanges(E){E.forEachAddedItem(I=>{if("string"!=typeof I.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.\u0275stringify)(I.item)}`);this._toggleClass(I.item,!0)}),E.forEachRemovedItem(I=>this._toggleClass(I.item,!1))}_applyClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(I=>this._toggleClass(I,!0)):Object.keys(E).forEach(I=>this._toggleClass(I,!!E[I])))}_removeClasses(E){E&&(Array.isArray(E)||E instanceof Set?E.forEach(I=>this._toggleClass(I,!1)):Object.keys(E).forEach(I=>this._toggleClass(I,!1)))}_toggleClass(E,I){(E=E.trim())&&E.split(/\s+/g).forEach(de=>{I?this._renderer.addClass(this._ngEl.nativeElement,de):this._renderer.removeClass(this._ngEl.nativeElement,de)})}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),fe})(),Zt=(()=>{class fe{constructor(E){this._viewContainerRef=E,this._componentRef=null,this._moduleRef=null}ngOnChanges(E){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const I=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(E.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const wt=I.get(n.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(wt.injector)}else this._moduleRef=null;const Ze=(this._moduleRef?this._moduleRef.componentFactoryResolver:I.get(n.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(Ze,this._viewContainerRef.length,I,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[n.\u0275\u0275NgOnChangesFeature]}),fe})();class Mn{constructor(k,E,I,de){this.$implicit=k,this.ngForOf=E,this.index=I,this.count=de}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 Tn=(()=>{class fe{constructor(E,I,de){this._viewContainer=E,this._template=I,this._differs=de,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(E){this._ngForOf=E,this._ngForOfDirty=!0}set ngForTrackBy(E){this._trackByFn=E}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(E){E&&(this._template=E)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const E=this._ngForOf;!this._differ&&E&&(this._differ=this._differs.find(E).create(this.ngForTrackBy))}if(this._differ){const E=this._differ.diff(this._ngForOf);E&&this._applyChanges(E)}}_applyChanges(E){const I=this._viewContainer;E.forEachOperation((de,Ze,wt)=>{if(null==de.previousIndex)I.createEmbeddedView(this._template,new Mn(de.item,this._ngForOf,-1,-1),null===wt?void 0:wt);else if(null==wt)I.remove(null===Ze?void 0:Ze);else if(null!==Ze){const Wt=I.get(Ze);I.move(Wt,wt),wn(Wt,de)}});for(let de=0,Ze=I.length;de{wn(I.get(de.currentIndex),de)})}static ngTemplateContextGuard(E,I){return!0}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),fe})();function wn(fe,k){fe.context.$implicit=k.item}let An=(()=>{class fe{constructor(E,I){this._viewContainer=E,this._context=new kn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=I}set ngIf(E){this._context.$implicit=this._context.ngIf=E,this._updateView()}set ngIfThen(E){bn("ngIfThen",E),this._thenTemplateRef=E,this._thenViewRef=null,this._updateView()}set ngIfElse(E){bn("ngIfElse",E),this._elseTemplateRef=E,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(E,I){return!0}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),fe})();class kn{constructor(){this.$implicit=null,this.ngIf=null}}function bn(fe,k){if(k&&!k.createEmbeddedView)throw new Error(`${fe} must be a TemplateRef, but received '${(0,n.\u0275stringify)(k)}'.`)}class ui{constructor(k,E){this._viewContainerRef=k,this._templateRef=E,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(k){k&&!this._created?this.create():!k&&this._created&&this.destroy()}}let Oi=(()=>{class fe{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(E){this._ngSwitch=E,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(E){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(E)}_matchCase(E){const I=E==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||I,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),I}_updateDefaultCases(E){if(this._defaultViews&&E!==this._defaultUsed){this._defaultUsed=E;for(let I=0;I{class fe{constructor(E,I,de){this.ngSwitch=de,de._addCase(),this._view=new ui(E,I)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Oi,9))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),fe})(),Xn=(()=>{class fe{constructor(E,I,de){de._addDefault(new ui(E,I))}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(Oi,9))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngSwitchDefault",""]]}),fe})(),_i=(()=>{class fe{constructor(E){this._localization=E,this._caseViews={}}set ngPlural(E){this._switchValue=E,this._updateView()}addCase(E,I){this._caseViews[E]=I}_updateView(){this._clearViews();const E=Object.keys(this._caseViews),I=Ye(this._switchValue,E,this._localization);this._activateView(this._caseViews[I])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(E){E&&(this._activeView=E,this._activeView.create())}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(ke))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),fe})(),bi=(()=>{class fe{constructor(E,I,de,Ze){this.value=E;const wt=!isNaN(Number(E));Ze.addCase(wt?`=${E}`:E,new ui(de,I))}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(_i,1))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngPluralCase",""]]}),fe})(),si=(()=>{class fe{constructor(E,I,de){this._ngEl=E,this._differs=I,this._renderer=de,this._ngStyle=null,this._differ=null}set ngStyle(E){this._ngStyle=E,!this._differ&&E&&(this._differ=this._differs.find(E).create())}ngDoCheck(){if(this._differ){const E=this._differ.diff(this._ngStyle);E&&this._applyChanges(E)}}_setStyle(E,I){const[de,Ze]=E.split(".");null!=(I=null!=I&&Ze?`${I}${Ze}`:I)?this._renderer.setStyle(this._ngEl.nativeElement,de,I):this._renderer.removeStyle(this._ngEl.nativeElement,de)}_applyChanges(E){E.forEachRemovedItem(I=>this._setStyle(I.key,null)),E.forEachAddedItem(I=>this._setStyle(I.key,I.currentValue)),E.forEachChangedItem(I=>this._setStyle(I.key,I.currentValue))}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),fe})(),mn=(()=>{class fe{constructor(E){this._viewContainerRef=E,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(E){if(E.ngTemplateOutlet){const I=this._viewContainerRef;this._viewRef&&I.remove(I.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?I.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&E.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[n.\u0275\u0275NgOnChangesFeature]}),fe})();function Fn(fe,k){return Error(`InvalidPipeArgument: '${k}' for pipe '${(0,n.\u0275stringify)(fe)}'`)}class xn{createSubscription(k,E){return k.subscribe({next:E,error:I=>{throw I}})}dispose(k){k.unsubscribe()}onDestroy(k){k.unsubscribe()}}class Ii{createSubscription(k,E){return k.then(E,I=>{throw I})}dispose(k){}onDestroy(k){}}const wi=new Ii,ir=new xn;let Wi=(()=>{class fe{constructor(E){this._ref=E,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(E){return this._obj?E!==this._obj?(this._dispose(),this.transform(E)):this._latestValue:(E&&this._subscribe(E),this._latestValue)}_subscribe(E){this._obj=E,this._strategy=this._selectStrategy(E),this._subscription=this._strategy.createSubscription(E,I=>this._updateLatestValue(E,I))}_selectStrategy(E){if((0,n.\u0275isPromise)(E))return wi;if((0,n.\u0275isSubscribable)(E))return ir;throw Fn(fe,E)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(E,I){E===this._obj&&(this._latestValue=I,this._ref.markForCheck())}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:fe,pure:!1}),fe})(),nn=(()=>{class fe{transform(E){if(null==E)return null;if("string"!=typeof E)throw Fn(fe,E);return E.toLowerCase()}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:fe,pure:!0}),fe})();const an=/(?:[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 gn=(()=>{class fe{transform(E){if(null==E)return null;if("string"!=typeof E)throw Fn(fe,E);return E.replace(an,I=>I[0].toUpperCase()+I.substr(1).toLowerCase())}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:fe,pure:!0}),fe})(),Sn=(()=>{class fe{transform(E){if(null==E)return null;if("string"!=typeof E)throw Fn(fe,E);return E.toUpperCase()}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:fe,pure:!0}),fe})();const oi=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE");let mi=(()=>{class fe{constructor(E,I){this.locale=E,this.defaultTimezone=I}transform(E,I="mediumDate",de,Ze){var wt;if(null==E||""===E||E!=E)return null;try{return Pt(E,I,Ze||this.locale,null!==(wt=null!=de?de:this.defaultTimezone)&&void 0!==wt?wt:void 0)}catch(Wt){throw Fn(fe,Wt.message)}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(oi,24))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:fe,pure:!0}),fe})();const Ur=/#/g;let lr=(()=>{class fe{constructor(E){this._localization=E}transform(E,I,de){if(null==E)return"";if("object"!=typeof I||null===I)throw Fn(fe,I);return I[Ye(E,Object.keys(I),this._localization,de)].replace(Ur,E.toString())}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(ke,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:fe,pure:!0}),fe})(),br=(()=>{class fe{transform(E,I){if(null==E)return"";if("object"!=typeof I||"string"!=typeof E)throw Fn(fe,I);return I.hasOwnProperty(E)?I[E]:I.hasOwnProperty("other")?I.other:""}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:fe,pure:!0}),fe})(),Or=(()=>{class fe{transform(E){return JSON.stringify(E,null,2)}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:fe,pure:!1}),fe})(),Di=(()=>{class fe{constructor(E){this.differs=E,this.keyValues=[],this.compareFn=Cr}transform(E,I=Cr){if(!E||!(E instanceof Map)&&"object"!=typeof E)return null;this.differ||(this.differ=this.differs.find(E).create());const de=this.differ.diff(E),Ze=I!==this.compareFn;return de&&(this.keyValues=[],de.forEachItem(wt=>{this.keyValues.push(function(fe,k){return{key:fe,value:k}}(wt.key,wt.currentValue))})),(de||Ze)&&(this.keyValues.sort(I),this.compareFn=I),this.keyValues}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:fe,pure:!1}),fe})();function Cr(fe,k){const E=fe.key,I=k.key;if(E===I)return 0;if(void 0===E)return 1;if(void 0===I)return-1;if(null===E)return 1;if(null===I)return-1;if("string"==typeof E&&"string"==typeof I)return E{class fe{constructor(E){this._locale=E}transform(E,I,de){if(!Vi(E))return null;de=de||this._locale;try{return Se(Gi(E),de,I)}catch(Ze){throw Fn(fe,Ze.message)}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:fe,pure:!0}),fe})(),Er=(()=>{class fe{constructor(E){this._locale=E}transform(E,I,de){if(!Vi(E))return null;de=de||this._locale;try{return jn(Gi(E),de,I)}catch(Ze){throw Fn(fe,Ze.message)}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:fe,pure:!0}),fe})(),Si=(()=>{class fe{constructor(E,I="USD"){this._locale=E,this._defaultCurrencyCode=I}transform(E,I=this._defaultCurrencyCode,de="symbol",Ze,wt){if(!Vi(E))return null;wt=wt||this._locale,"boolean"==typeof de&&(de=de?"symbol":"code");let Wt=I||this._defaultCurrencyCode;"code"!==de&&(Wt="symbol"===de||"symbol-narrow"===de?_(Wt,"symbol"===de?"wide":"narrow",wt):de);try{return ri(Gi(E),wt,Wt,I,Ze)}catch(hn){throw Fn(fe,hn.message)}}}return fe.\u0275fac=function(E){return new(E||fe)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:fe,pure:!0}),fe})();function Vi(fe){return!(null==fe||""===fe||fe!=fe)}function Gi(fe){if("string"==typeof fe&&!isNaN(Number(fe)-parseFloat(fe)))return Number(fe);if("number"!=typeof fe)throw new Error(`${fe} is not a number`);return fe}let Pi=(()=>{class fe{transform(E,I,de){if(null==E)return null;if(!this.supports(E))throw Fn(fe,E);return E.slice(I,de)}supports(E){return"string"==typeof E||Array.isArray(E)}}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:fe,pure:!1}),fe})(),cr=(()=>{class fe{}return fe.\u0275fac=function(E){return new(E||fe)},fe.\u0275mod=n.\u0275\u0275defineNgModule({type:fe}),fe.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:ke,useClass:kt}]}),fe})();const di="browser",dr="server",qi="browserWorkerApp",$i="browserWorkerUi";function Xi(fe){return fe===di}function yi(fe){return fe===dr}function rr(fe){return fe===qi}function Br(fe){return fe===$i}const Rr=new n.Version("13.1.1");let Mr=(()=>{class fe{}return fe.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:fe,providedIn:"root",factory:()=>new Yi((0,n.\u0275\u0275inject)(m),window)}),fe})();class Yi{constructor(k,E){this.document=k,this.window=E,this.offset=()=>[0,0]}setOffset(k){this.offset=Array.isArray(k)?()=>k:k}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(k){this.supportsScrolling()&&this.window.scrollTo(k[0],k[1])}scrollToAnchor(k){if(!this.supportsScrolling())return;const E=function(fe,k){const E=fe.getElementById(k)||fe.getElementsByName(k)[0];if(E)return E;if("function"==typeof fe.createTreeWalker&&fe.body&&(fe.body.createShadowRoot||fe.body.attachShadow)){const I=fe.createTreeWalker(fe.body,NodeFilter.SHOW_ELEMENT);let de=I.currentNode;for(;de;){const Ze=de.shadowRoot;if(Ze){const wt=Ze.getElementById(k)||Ze.querySelector(`[name="${k}"]`);if(wt)return wt}de=I.nextNode()}}return null}(this.document,k);E&&(this.scrollToElement(E),this.attemptFocus(E))}setHistoryScrollRestoration(k){if(this.supportScrollRestoration()){const E=this.window.history;E&&E.scrollRestoration&&(E.scrollRestoration=k)}}scrollToElement(k){const E=k.getBoundingClientRect(),I=E.left+this.window.pageXOffset,de=E.top+this.window.pageYOffset,Ze=this.offset();this.window.scrollTo(I-Ze[0],de-Ze[1])}attemptFocus(k){return k.focus(),this.document.activeElement===k}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const k=Vr(this.window.history)||Vr(Object.getPrototypeOf(this.window.history));return!(!k||!k.writable&&!k.set)}catch(k){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(k){return!1}}}function Vr(fe){return Object.getOwnPropertyDescriptor(fe,"scrollRestoration")}class Dr{setOffset(k){}getScrollPosition(){return[0,0]}scrollToPosition(k){}scrollToAnchor(k){}setHistoryScrollRestoration(k){}}class hr{}},520:(he,A,o)=>{"use strict";o.r(A),o.d(A,{HTTP_INTERCEPTORS:()=>le,HttpBackend:()=>y,HttpClient:()=>U,HttpClientJsonpModule:()=>j,HttpClientModule:()=>Z,HttpClientXsrfModule:()=>_e,HttpContext:()=>Y,HttpContextToken:()=>T,HttpErrorResponse:()=>oe,HttpEventType:()=>ue,HttpHandler:()=>p,HttpHeaderResponse:()=>xe,HttpHeaders:()=>b,HttpParams:()=>D,HttpRequest:()=>q,HttpResponse:()=>pe,HttpResponseBase:()=>me,HttpUrlEncodingCodec:()=>h,HttpXhrBackend:()=>bt,HttpXsrfTokenExtractor:()=>dt,JsonpClientBackend:()=>Dt,JsonpInterceptor:()=>Ie,XhrFactory:()=>_,\u0275HttpInterceptingHandler:()=>ze});var n=o(9808),l=o(5e3),u=o(1086),c=o(6498),r=o(1406),d=o(2198),m=o(4850);class p{}class y{}class b{constructor(N){this.normalizedNames=new Map,this.lazyUpdate=null,N?this.lazyInit="string"==typeof N?()=>{this.headers=new Map,N.split("\n").forEach(ce=>{const Ue=ce.indexOf(":");if(Ue>0){const Oe=ce.slice(0,Ue),ve=Oe.toLowerCase(),Ae=ce.slice(Ue+1).trim();this.maybeSetNormalizedName(Oe,ve),this.headers.has(ve)?this.headers.get(ve).push(Ae):this.headers.set(ve,[Ae])}})}:()=>{this.headers=new Map,Object.keys(N).forEach(ce=>{let Ue=N[ce];const Oe=ce.toLowerCase();"string"==typeof Ue&&(Ue=[Ue]),Ue.length>0&&(this.headers.set(Oe,Ue),this.maybeSetNormalizedName(ce,Oe))})}:this.headers=new Map}has(N){return this.init(),this.headers.has(N.toLowerCase())}get(N){this.init();const ce=this.headers.get(N.toLowerCase());return ce&&ce.length>0?ce[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(N){return this.init(),this.headers.get(N.toLowerCase())||null}append(N,ce){return this.clone({name:N,value:ce,op:"a"})}set(N,ce){return this.clone({name:N,value:ce,op:"s"})}delete(N,ce){return this.clone({name:N,value:ce,op:"d"})}maybeSetNormalizedName(N,ce){this.normalizedNames.has(ce)||this.normalizedNames.set(ce,N)}init(){this.lazyInit&&(this.lazyInit instanceof b?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(N=>this.applyUpdate(N)),this.lazyUpdate=null))}copyFrom(N){N.init(),Array.from(N.headers.keys()).forEach(ce=>{this.headers.set(ce,N.headers.get(ce)),this.normalizedNames.set(ce,N.normalizedNames.get(ce))})}clone(N){const ce=new b;return ce.lazyInit=this.lazyInit&&this.lazyInit instanceof b?this.lazyInit:this,ce.lazyUpdate=(this.lazyUpdate||[]).concat([N]),ce}applyUpdate(N){const ce=N.name.toLowerCase();switch(N.op){case"a":case"s":let Ue=N.value;if("string"==typeof Ue&&(Ue=[Ue]),0===Ue.length)return;this.maybeSetNormalizedName(N.name,ce);const Oe=("a"===N.op?this.headers.get(ce):void 0)||[];Oe.push(...Ue),this.headers.set(ce,Oe);break;case"d":const ve=N.value;if(ve){let Ae=this.headers.get(ce);if(!Ae)return;Ae=Ae.filter(nt=>-1===ve.indexOf(nt)),0===Ae.length?(this.headers.delete(ce),this.normalizedNames.delete(ce)):this.headers.set(ce,Ae)}else this.headers.delete(ce),this.normalizedNames.delete(ce)}}forEach(N){this.init(),Array.from(this.normalizedNames.keys()).forEach(ce=>N(this.normalizedNames.get(ce),this.headers.get(ce)))}}class h{encodeKey(N){return P(N)}encodeValue(N){return P(N)}decodeKey(N){return decodeURIComponent(N)}decodeValue(N){return decodeURIComponent(N)}}const s=/%(\d[a-f0-9])/gi,C={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function P(x){return encodeURIComponent(x).replace(s,(N,ce)=>{var Ue;return null!==(Ue=C[ce])&&void 0!==Ue?Ue:N})}function w(x){return`${x}`}class D{constructor(N={}){if(this.updates=null,this.cloneFrom=null,this.encoder=N.encoder||new h,N.fromString){if(N.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(x,N){const ce=new Map;return x.length>0&&x.replace(/^\?/,"").split("&").forEach(Oe=>{const ve=Oe.indexOf("="),[Ae,nt]=-1==ve?[N.decodeKey(Oe),""]:[N.decodeKey(Oe.slice(0,ve)),N.decodeValue(Oe.slice(ve+1))],Pt=ce.get(Ae)||[];Pt.push(nt),ce.set(Ae,Pt)}),ce}(N.fromString,this.encoder)}else N.fromObject?(this.map=new Map,Object.keys(N.fromObject).forEach(ce=>{const Ue=N.fromObject[ce];this.map.set(ce,Array.isArray(Ue)?Ue:[Ue])})):this.map=null}has(N){return this.init(),this.map.has(N)}get(N){this.init();const ce=this.map.get(N);return ce?ce[0]:null}getAll(N){return this.init(),this.map.get(N)||null}keys(){return this.init(),Array.from(this.map.keys())}append(N,ce){return this.clone({param:N,value:ce,op:"a"})}appendAll(N){const ce=[];return Object.keys(N).forEach(Ue=>{const Oe=N[Ue];Array.isArray(Oe)?Oe.forEach(ve=>{ce.push({param:Ue,value:ve,op:"a"})}):ce.push({param:Ue,value:Oe,op:"a"})}),this.clone(ce)}set(N,ce){return this.clone({param:N,value:ce,op:"s"})}delete(N,ce){return this.clone({param:N,value:ce,op:"d"})}toString(){return this.init(),this.keys().map(N=>{const ce=this.encoder.encodeKey(N);return this.map.get(N).map(Ue=>ce+"="+this.encoder.encodeValue(Ue)).join("&")}).filter(N=>""!==N).join("&")}clone(N){const ce=new D({encoder:this.encoder});return ce.cloneFrom=this.cloneFrom||this,ce.updates=(this.updates||[]).concat(N),ce}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(N=>this.map.set(N,this.cloneFrom.map.get(N))),this.updates.forEach(N=>{switch(N.op){case"a":case"s":const ce=("a"===N.op?this.map.get(N.param):void 0)||[];ce.push(w(N.value)),this.map.set(N.param,ce);break;case"d":if(void 0===N.value){this.map.delete(N.param);break}{let Ue=this.map.get(N.param)||[];const Oe=Ue.indexOf(w(N.value));-1!==Oe&&Ue.splice(Oe,1),Ue.length>0?this.map.set(N.param,Ue):this.map.delete(N.param)}}}),this.cloneFrom=this.updates=null)}}class T{constructor(N){this.defaultValue=N}}class Y{constructor(){this.map=new Map}set(N,ce){return this.map.set(N,ce),this}get(N){return this.map.has(N)||this.map.set(N,N.defaultValue()),this.map.get(N)}delete(N){return this.map.delete(N),this}has(N){return this.map.has(N)}keys(){return this.map.keys()}}function z(x){return"undefined"!=typeof ArrayBuffer&&x instanceof ArrayBuffer}function G(x){return"undefined"!=typeof Blob&&x instanceof Blob}function X(x){return"undefined"!=typeof FormData&&x instanceof FormData}class q{constructor(N,ce,Ue,Oe){let ve;if(this.url=ce,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=N.toUpperCase(),function(x){switch(x){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Oe?(this.body=void 0!==Ue?Ue:null,ve=Oe):ve=Ue,ve&&(this.reportProgress=!!ve.reportProgress,this.withCredentials=!!ve.withCredentials,ve.responseType&&(this.responseType=ve.responseType),ve.headers&&(this.headers=ve.headers),ve.context&&(this.context=ve.context),ve.params&&(this.params=ve.params)),this.headers||(this.headers=new b),this.context||(this.context=new Y),this.params){const Ae=this.params.toString();if(0===Ae.length)this.urlWithParams=ce;else{const nt=ce.indexOf("?");this.urlWithParams=ce+(-1===nt?"?":nt$e.set(_t,N.setHeaders[_t]),Ft)),N.setParams&&(gt=Object.keys(N.setParams).reduce(($e,_t)=>$e.set(_t,N.setParams[_t]),gt)),new q(Ue,Oe,Ae,{params:gt,headers:Ft,context:Lt,reportProgress:Pt,responseType:ve,withCredentials:nt})}}var ue=(()=>((ue=ue||{})[ue.Sent=0]="Sent",ue[ue.UploadProgress=1]="UploadProgress",ue[ue.ResponseHeader=2]="ResponseHeader",ue[ue.DownloadProgress=3]="DownloadProgress",ue[ue.Response=4]="Response",ue[ue.User=5]="User",ue))();class me{constructor(N,ce=200,Ue="OK"){this.headers=N.headers||new b,this.status=void 0!==N.status?N.status:ce,this.statusText=N.statusText||Ue,this.url=N.url||null,this.ok=this.status>=200&&this.status<300}}class xe extends me{constructor(N={}){super(N),this.type=ue.ResponseHeader}clone(N={}){return new xe({headers:N.headers||this.headers,status:void 0!==N.status?N.status:this.status,statusText:N.statusText||this.statusText,url:N.url||this.url||void 0})}}class pe extends me{constructor(N={}){super(N),this.type=ue.Response,this.body=void 0!==N.body?N.body:null}clone(N={}){return new pe({body:void 0!==N.body?N.body:this.body,headers:N.headers||this.headers,status:void 0!==N.status?N.status:this.status,statusText:N.statusText||this.statusText,url:N.url||this.url||void 0})}}class oe extends me{constructor(N){super(N,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${N.url||"(unknown url)"}`:`Http failure response for ${N.url||"(unknown url)"}: ${N.status} ${N.statusText}`,this.error=N.error||null}}function ae(x,N){return{body:N,headers:x.headers,context:x.context,observe:x.observe,params:x.params,reportProgress:x.reportProgress,responseType:x.responseType,withCredentials:x.withCredentials}}let U=(()=>{class x{constructor(ce){this.handler=ce}request(ce,Ue,Oe={}){let ve;if(ce instanceof q)ve=ce;else{let Pt,Ft;Pt=Oe.headers instanceof b?Oe.headers:new b(Oe.headers),Oe.params&&(Ft=Oe.params instanceof D?Oe.params:new D({fromObject:Oe.params})),ve=new q(ce,Ue,void 0!==Oe.body?Oe.body:null,{headers:Pt,context:Oe.context,params:Ft,reportProgress:Oe.reportProgress,responseType:Oe.responseType||"json",withCredentials:Oe.withCredentials})}const Ae=(0,u.of)(ve).pipe((0,r.b)(Pt=>this.handler.handle(Pt)));if(ce instanceof q||"events"===Oe.observe)return Ae;const nt=Ae.pipe((0,d.h)(Pt=>Pt instanceof pe));switch(Oe.observe||"body"){case"body":switch(ve.responseType){case"arraybuffer":return nt.pipe((0,m.U)(Pt=>{if(null!==Pt.body&&!(Pt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Pt.body}));case"blob":return nt.pipe((0,m.U)(Pt=>{if(null!==Pt.body&&!(Pt.body instanceof Blob))throw new Error("Response is not a Blob.");return Pt.body}));case"text":return nt.pipe((0,m.U)(Pt=>{if(null!==Pt.body&&"string"!=typeof Pt.body)throw new Error("Response is not a string.");return Pt.body}));default:return nt.pipe((0,m.U)(Pt=>Pt.body))}case"response":return nt;default:throw new Error(`Unreachable: unhandled observe type ${Oe.observe}}`)}}delete(ce,Ue={}){return this.request("DELETE",ce,Ue)}get(ce,Ue={}){return this.request("GET",ce,Ue)}head(ce,Ue={}){return this.request("HEAD",ce,Ue)}jsonp(ce,Ue){return this.request("JSONP",ce,{params:(new D).append(Ue,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ce,Ue={}){return this.request("OPTIONS",ce,Ue)}patch(ce,Ue,Oe={}){return this.request("PATCH",ce,ae(Oe,Ue))}post(ce,Ue,Oe={}){return this.request("POST",ce,ae(Oe,Ue))}put(ce,Ue,Oe={}){return this.request("PUT",ce,ae(Oe,Ue))}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(p))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();class ie{constructor(N,ce){this.next=N,this.interceptor=ce}handle(N){return this.interceptor.intercept(N,this.next)}}const le=new l.InjectionToken("HTTP_INTERCEPTORS");let Ce=(()=>{class x{intercept(ce,Ue){return Ue.handle(ce)}}return x.\u0275fac=function(ce){return new(ce||x)},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})(),Te=0;class pt{}let Dt=(()=>{class x{constructor(ce,Ue){this.callbackMap=ce,this.document=Ue,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Te++}handle(ce){if("JSONP"!==ce.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==ce.responseType)throw new Error("JSONP requests must use Json response type.");return new c.y(Ue=>{const Oe=this.nextCallback(),ve=ce.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${Oe}$1`),Ae=this.document.createElement("script");Ae.src=ve;let nt=null,Pt=!1,Ft=!1;this.callbackMap[Oe]=_t=>{delete this.callbackMap[Oe],!Ft&&(nt=_t,Pt=!0)};const gt=()=>{Ae.parentNode&&Ae.parentNode.removeChild(Ae),delete this.callbackMap[Oe]},Lt=_t=>{Ft||this.resolvedPromise.then(()=>{gt(),Pt?(Ue.next(new pe({body:nt,status:200,statusText:"OK",url:ve})),Ue.complete()):Ue.error(new oe({url:ve,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})},$e=_t=>{Ft||(gt(),Ue.error(new oe({error:_t,status:0,statusText:"JSONP Error",url:ve})))};return Ae.addEventListener("load",Lt),Ae.addEventListener("error",$e),this.document.body.appendChild(Ae),Ue.next({type:ue.Sent}),()=>{Ft=!0,Ae.removeEventListener("load",Lt),Ae.removeEventListener("error",$e),gt()}})}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(pt),l.\u0275\u0275inject(n.DOCUMENT))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})(),Ie=(()=>{class x{constructor(ce){this.jsonp=ce}intercept(ce,Ue){return"JSONP"===ce.method?this.jsonp.handle(ce):Ue.handle(ce)}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(Dt))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();const Qe=/^\)\]\}',?\n/;let bt=(()=>{class x{constructor(ce){this.xhrFactory=ce}handle(ce){if("JSONP"===ce.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new c.y(Ue=>{const Oe=this.xhrFactory.build();if(Oe.open(ce.method,ce.urlWithParams),ce.withCredentials&&(Oe.withCredentials=!0),ce.headers.forEach((_t,Mt)=>Oe.setRequestHeader(_t,Mt.join(","))),ce.headers.has("Accept")||Oe.setRequestHeader("Accept","application/json, text/plain, */*"),!ce.headers.has("Content-Type")){const _t=ce.detectContentTypeHeader();null!==_t&&Oe.setRequestHeader("Content-Type",_t)}if(ce.responseType){const _t=ce.responseType.toLowerCase();Oe.responseType="json"!==_t?_t:"text"}const ve=ce.serializeBody();let Ae=null;const nt=()=>{if(null!==Ae)return Ae;const _t=1223===Oe.status?204:Oe.status,Mt=Oe.statusText||"OK",Ge=new b(Oe.getAllResponseHeaders()),lt=function(x){return"responseURL"in x&&x.responseURL?x.responseURL:/^X-Request-URL:/m.test(x.getAllResponseHeaders())?x.getResponseHeader("X-Request-URL"):null}(Oe)||ce.url;return Ae=new xe({headers:Ge,status:_t,statusText:Mt,url:lt}),Ae},Pt=()=>{let{headers:_t,status:Mt,statusText:Ge,url:lt}=nt(),Ot=null;204!==Mt&&(Ot=void 0===Oe.response?Oe.responseText:Oe.response),0===Mt&&(Mt=Ot?200:0);let Nt=Mt>=200&&Mt<300;if("json"===ce.responseType&&"string"==typeof Ot){const Pe=Ot;Ot=Ot.replace(Qe,"");try{Ot=""!==Ot?JSON.parse(Ot):null}catch(Ee){Ot=Pe,Nt&&(Nt=!1,Ot={error:Ee,text:Ot})}}Nt?(Ue.next(new pe({body:Ot,headers:_t,status:Mt,statusText:Ge,url:lt||void 0})),Ue.complete()):Ue.error(new oe({error:Ot,headers:_t,status:Mt,statusText:Ge,url:lt||void 0}))},Ft=_t=>{const{url:Mt}=nt(),Ge=new oe({error:_t,status:Oe.status||0,statusText:Oe.statusText||"Unknown Error",url:Mt||void 0});Ue.error(Ge)};let gt=!1;const Lt=_t=>{gt||(Ue.next(nt()),gt=!0);let Mt={type:ue.DownloadProgress,loaded:_t.loaded};_t.lengthComputable&&(Mt.total=_t.total),"text"===ce.responseType&&!!Oe.responseText&&(Mt.partialText=Oe.responseText),Ue.next(Mt)},$e=_t=>{let Mt={type:ue.UploadProgress,loaded:_t.loaded};_t.lengthComputable&&(Mt.total=_t.total),Ue.next(Mt)};return Oe.addEventListener("load",Pt),Oe.addEventListener("error",Ft),Oe.addEventListener("timeout",Ft),Oe.addEventListener("abort",Ft),ce.reportProgress&&(Oe.addEventListener("progress",Lt),null!==ve&&Oe.upload&&Oe.upload.addEventListener("progress",$e)),Oe.send(ve),Ue.next({type:ue.Sent}),()=>{Oe.removeEventListener("error",Ft),Oe.removeEventListener("abort",Ft),Oe.removeEventListener("load",Pt),Oe.removeEventListener("timeout",Ft),ce.reportProgress&&(Oe.removeEventListener("progress",Lt),null!==ve&&Oe.upload&&Oe.upload.removeEventListener("progress",$e)),Oe.readyState!==Oe.DONE&&Oe.abort()}})}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(n.XhrFactory))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();const Et=new l.InjectionToken("XSRF_COOKIE_NAME"),xt=new l.InjectionToken("XSRF_HEADER_NAME");class dt{}let Ne=(()=>{class x{constructor(ce,Ue,Oe){this.doc=ce,this.platform=Ue,this.cookieName=Oe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ce=this.doc.cookie||"";return ce!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.\u0275parseCookieValue)(ce,this.cookieName),this.lastCookieString=ce),this.lastToken}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(n.DOCUMENT),l.\u0275\u0275inject(l.PLATFORM_ID),l.\u0275\u0275inject(Et))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})(),rt=(()=>{class x{constructor(ce,Ue){this.tokenService=ce,this.headerName=Ue}intercept(ce,Ue){const Oe=ce.url.toLowerCase();if("GET"===ce.method||"HEAD"===ce.method||Oe.startsWith("http://")||Oe.startsWith("https://"))return Ue.handle(ce);const ve=this.tokenService.getToken();return null!==ve&&!ce.headers.has(this.headerName)&&(ce=ce.clone({headers:ce.headers.set(this.headerName,ve)})),Ue.handle(ce)}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(dt),l.\u0275\u0275inject(xt))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})(),ze=(()=>{class x{constructor(ce,Ue){this.backend=ce,this.injector=Ue,this.chain=null}handle(ce){if(null===this.chain){const Ue=this.injector.get(le,[]);this.chain=Ue.reduceRight((Oe,ve)=>new ie(Oe,ve),this.backend)}return this.chain.handle(ce)}}return x.\u0275fac=function(ce){return new(ce||x)(l.\u0275\u0275inject(y),l.\u0275\u0275inject(l.Injector))},x.\u0275prov=l.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();function mt(){return"object"==typeof window?window:{}}let _e=(()=>{class x{static disable(){return{ngModule:x,providers:[{provide:rt,useClass:Ce}]}}static withOptions(ce={}){return{ngModule:x,providers:[ce.cookieName?{provide:Et,useValue:ce.cookieName}:[],ce.headerName?{provide:xt,useValue:ce.headerName}:[]]}}}return x.\u0275fac=function(ce){return new(ce||x)},x.\u0275mod=l.\u0275\u0275defineNgModule({type:x}),x.\u0275inj=l.\u0275\u0275defineInjector({providers:[rt,{provide:le,useExisting:rt,multi:!0},{provide:dt,useClass:Ne},{provide:Et,useValue:"XSRF-TOKEN"},{provide:xt,useValue:"X-XSRF-TOKEN"}]}),x})(),Z=(()=>{class x{}return x.\u0275fac=function(ce){return new(ce||x)},x.\u0275mod=l.\u0275\u0275defineNgModule({type:x}),x.\u0275inj=l.\u0275\u0275defineInjector({providers:[U,{provide:p,useClass:ze},bt,{provide:y,useExisting:bt}],imports:[[_e.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),x})(),j=(()=>{class x{}return x.\u0275fac=function(ce){return new(ce||x)},x.\u0275mod=l.\u0275\u0275defineNgModule({type:x}),x.\u0275inj=l.\u0275\u0275defineInjector({providers:[Dt,{provide:pt,useFactory:mt},{provide:le,useClass:Ie,multi:!0}]}),x})();const _=n.XhrFactory},5e3:(he,A,o)=>{"use strict";o.r(A),o.d(A,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>cg,APP_BOOTSTRAP_LISTENER:()=>xm,APP_ID:()=>Sm,APP_INITIALIZER:()=>Nc,ApplicationInitStatus:()=>Co,ApplicationModule:()=>WC,ApplicationRef:()=>ra,Attribute:()=>hd,COMPILER_OPTIONS:()=>Lm,CUSTOM_ELEMENTS_SCHEMA:()=>Yd,ChangeDetectionStrategy:()=>Ue,ChangeDetectorRef:()=>Ym,Compiler:()=>Uc,CompilerFactory:()=>eC,Component:()=>z1,ComponentFactory:()=>Na,ComponentFactoryResolver:()=>Xo,ComponentRef:()=>cp,ContentChild:()=>hg,ContentChildren:()=>dg,DEFAULT_CURRENCY_CODE:()=>Om,DebugElement:()=>wC,DebugEventListener:()=>bC,DebugNode:()=>IC,DefaultIterableDiffer:()=>eg,Directive:()=>Dm,ElementRef:()=>Zo,EmbeddedViewRef:()=>vC,ErrorHandler:()=>ko,EventEmitter:()=>ls,Host:()=>vd,HostBinding:()=>$1,HostListener:()=>Y1,INJECTOR:()=>Sa,Inject:()=>xo,InjectFlags:()=>_e,Injectable:()=>pv,InjectionToken:()=>Ei,Injector:()=>wr,Input:()=>K1,IterableDiffers:()=>Ya,KeyValueDiffers:()=>Qa,LOCALE_ID:()=>Ga,MissingTranslationStrategy:()=>us,ModuleWithComponentFactories:()=>Rm,NO_ERRORS_SCHEMA:()=>Qd,NgModule:()=>Q1,NgModuleFactory:()=>bp,NgModuleRef:()=>yo,NgProbeToken:()=>uC,NgZone:()=>xr,Optional:()=>ws,Output:()=>G1,PACKAGE_ROOT_URL:()=>X1,PLATFORM_ID:()=>wm,PLATFORM_INITIALIZER:()=>Im,Pipe:()=>W1,PlatformRef:()=>Gc,Query:()=>Do,QueryList:()=>ja,ReflectiveInjector:()=>ho,ReflectiveKey:()=>bs,Renderer2:()=>r1,RendererFactory2:()=>hp,RendererStyleFlags2:()=>rs,ResolvedReflectiveFactory:()=>Bf,Sanitizer:()=>fp,SecurityContext:()=>Ti,Self:()=>da,SimpleChange:()=>Vi,SkipSelf:()=>xs,TRANSLATIONS:()=>Z1,TRANSLATIONS_FORMAT:()=>J1,TemplateRef:()=>ta,Testability:()=>Fm,TestabilityRegistry:()=>Hc,Type:()=>aa,VERSION:()=>mp,Version:()=>pp,ViewChild:()=>pg,ViewChildren:()=>fg,ViewContainerRef:()=>za,ViewEncapsulation:()=>Ae,ViewRef:()=>qm,asNativeElements:()=>CC,assertPlatform:()=>Hm,createNgModuleRef:()=>h1,createPlatform:()=>Vm,createPlatformFactory:()=>jm,defineInjectable:()=>Qe,destroyPlatform:()=>cC,enableProdMode:()=>mC,forwardRef:()=>h,getDebugNode:()=>$a,getModuleFactory:()=>gC,getNgModuleById:()=>_C,getPlatform:()=>Kc,inject:()=>wg,isDevMode:()=>pC,platformCore:()=>FC,resolveForwardRef:()=>g,setTestabilityGetter:()=>aC,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Wc,\u0275APP_ID_RANDOM_PROVIDER:()=>Tm,\u0275ChangeDetectorStatus:()=>Oe,\u0275ComponentFactory:()=>Na,\u0275Console:()=>Am,\u0275DEFAULT_LOCALE_ID:()=>Go,\u0275INJECTOR_SCOPE:()=>eu,\u0275LifecycleHooksFeature:()=>Sf,\u0275LocaleDataIndex:()=>En,\u0275NG_COMP_DEF:()=>lt,\u0275NG_DIR_DEF:()=>Ot,\u0275NG_ELEMENT_ID:()=>B,\u0275NG_INJ_DEF:()=>ze,\u0275NG_MOD_DEF:()=>Pe,\u0275NG_PIPE_DEF:()=>Nt,\u0275NG_PROV_DEF:()=>rt,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>Fa,\u0275NO_CHANGE:()=>On,\u0275NgModuleFactory:()=>Va,\u0275NoopNgZone:()=>Nm,\u0275ReflectionCapabilities:()=>nl,\u0275Render3ComponentFactory:()=>Ba,\u0275Render3ComponentRef:()=>yp,\u0275Render3NgModuleRef:()=>Cc,\u0275RuntimeError:()=>P,\u0275ViewRef:()=>_o,\u0275_sanitizeHtml:()=>Nd,\u0275_sanitizeUrl:()=>Oo,\u0275allowSanitizationBypassAndThrow:()=>$s,\u0275bypassSanitizationTrustHtml:()=>Wg,\u0275bypassSanitizationTrustResourceUrl:()=>Yg,\u0275bypassSanitizationTrustScript:()=>Gg,\u0275bypassSanitizationTrustStyle:()=>Kg,\u0275bypassSanitizationTrustUrl:()=>$g,\u0275clearResolutionOfComponentResourcesQueue:()=>Dd,\u0275compileComponent:()=>hm,\u0275compileDirective:()=>kc,\u0275compileNgModule:()=>om,\u0275compileNgModuleDefs:()=>am,\u0275compileNgModuleFactory:()=>Um,\u0275compilePipe:()=>Em,\u0275createInjector:()=>nu,\u0275defaultIterableDiffers:()=>og,\u0275defaultKeyValueDiffers:()=>ag,\u0275detectChanges:()=>af,\u0275devModeEqual:()=>wf,\u0275findLocaleData:()=>dc,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>rm,\u0275getDebugNode:()=>$a,\u0275getDebugNodeR2:()=>TC,\u0275getDirectives:()=>yf,\u0275getHostElement:()=>su,\u0275getInjectableDef:()=>bt,\u0275getLContext:()=>er,\u0275getLocaleCurrencyCode:()=>ib,\u0275getLocalePluralCase:()=>P0,\u0275getSanitizationBypassType:()=>wd,\u0275global:()=>Lt,\u0275injectChangeDetectorRef:()=>Qm,\u0275isBoundToModule:()=>Bm,\u0275isDefaultChangeDetectionStrategy:()=>ve,\u0275isListLikeIterable:()=>jo,\u0275isObservable:()=>Yf,\u0275isPromise:()=>xu,\u0275isSubscribable:()=>$f,\u0275ivyEnabled:()=>KC,\u0275makeDecorator:()=>Hs,\u0275markDirty:()=>lf,\u0275noSideEffects:()=>ce,\u0275patchComponentDefWithScope:()=>Rc,\u0275publishDefaultGlobalUtils:()=>Xy,\u0275publishGlobalUtil:()=>Nr,\u0275registerLocaleData:()=>nb,\u0275registerNgModuleType:()=>Ep,\u0275renderComponent:()=>Zy,\u0275resetCompiledComponents:()=>L1,\u0275resetJitOptions:()=>O1,\u0275resolveComponentResources:()=>Ed,\u0275setClassMetadata:()=>vp,\u0275setCurrentInjector:()=>sl,\u0275setDocument:()=>Mr,\u0275setLocaleId:()=>F0,\u0275store:()=>Af,\u0275stringify:()=>p,\u0275transitiveScopesFor:()=>ia,\u0275unregisterLocaleData:()=>rb,\u0275unwrapSafeValue:()=>_s,\u0275whenRendered:()=>Jy,\u0275\u0275CopyDefinitionFeature:()=>If,\u0275\u0275FactoryTarget:()=>Fi,\u0275\u0275InheritDefinitionFeature:()=>au,\u0275\u0275NgOnChangesFeature:()=>Gi,\u0275\u0275ProvidersFeature:()=>up,\u0275\u0275advance:()=>Th,\u0275\u0275attribute:()=>cu,\u0275\u0275attributeInterpolate1:()=>du,\u0275\u0275attributeInterpolate2:()=>hu,\u0275\u0275attributeInterpolate3:()=>fu,\u0275\u0275attributeInterpolate4:()=>pu,\u0275\u0275attributeInterpolate5:()=>mu,\u0275\u0275attributeInterpolate6:()=>gu,\u0275\u0275attributeInterpolate7:()=>_u,\u0275\u0275attributeInterpolate8:()=>yu,\u0275\u0275attributeInterpolateV:()=>vu,\u0275\u0275classMap:()=>l0,\u0275\u0275classMapInterpolate1:()=>g0,\u0275\u0275classMapInterpolate2:()=>_0,\u0275\u0275classMapInterpolate3:()=>y0,\u0275\u0275classMapInterpolate4:()=>v0,\u0275\u0275classMapInterpolate5:()=>b0,\u0275\u0275classMapInterpolate6:()=>C0,\u0275\u0275classMapInterpolate7:()=>E0,\u0275\u0275classMapInterpolate8:()=>M0,\u0275\u0275classMapInterpolateV:()=>D0,\u0275\u0275classProp:()=>zu,\u0275\u0275contentQuery:()=>Zp,\u0275\u0275defineComponent:()=>be,\u0275\u0275defineDirective:()=>Ve,\u0275\u0275defineInjectable:()=>Ie,\u0275\u0275defineInjector:()=>ct,\u0275\u0275defineNgModule:()=>vn,\u0275\u0275definePipe:()=>ut,\u0275\u0275directiveInject:()=>Wo,\u0275\u0275disableBindings:()=>Cs,\u0275\u0275element:()=>Wf,\u0275\u0275elementContainer:()=>Kf,\u0275\u0275elementContainerEnd:()=>wu,\u0275\u0275elementContainerStart:()=>Iu,\u0275\u0275elementEnd:()=>Tu,\u0275\u0275elementStart:()=>Su,\u0275\u0275enableBindings:()=>Hr,\u0275\u0275getCurrentView:()=>Gf,\u0275\u0275getInheritedFactory:()=>dd,\u0275\u0275hostProperty:()=>uc,\u0275\u0275i18n:()=>rp,\u0275\u0275i18nApply:()=>op,\u0275\u0275i18nAttributes:()=>sp,\u0275\u0275i18nEnd:()=>mc,\u0275\u0275i18nExp:()=>gc,\u0275\u0275i18nPostprocess:()=>ap,\u0275\u0275i18nStart:()=>pc,\u0275\u0275inject:()=>zi,\u0275\u0275injectAttribute:()=>Ja,\u0275\u0275invalidFactory:()=>zf,\u0275\u0275invalidFactoryDep:()=>ol,\u0275\u0275listener:()=>Au,\u0275\u0275loadQuery:()=>Jp,\u0275\u0275namespaceHTML:()=>ds,\u0275\u0275namespaceMathML:()=>ei,\u0275\u0275namespaceSVG:()=>Ai,\u0275\u0275nextContext:()=>Xf,\u0275\u0275ngDeclareClassMetadata:()=>$C,\u0275\u0275ngDeclareComponent:()=>YC,\u0275\u0275ngDeclareDirective:()=>GC,\u0275\u0275ngDeclareFactory:()=>QC,\u0275\u0275ngDeclareInjectable:()=>XC,\u0275\u0275ngDeclareInjector:()=>ZC,\u0275\u0275ngDeclareNgModule:()=>JC,\u0275\u0275ngDeclarePipe:()=>eE,\u0275\u0275pipe:()=>Bp,\u0275\u0275pipeBind1:()=>Vp,\u0275\u0275pipeBind2:()=>jp,\u0275\u0275pipeBind3:()=>Hp,\u0275\u0275pipeBind4:()=>zp,\u0275\u0275pipeBindV:()=>Wp,\u0275\u0275projection:()=>Jf,\u0275\u0275projectionDef:()=>Zf,\u0275\u0275property:()=>Mu,\u0275\u0275propertyInterpolate:()=>Lu,\u0275\u0275propertyInterpolate1:()=>xa,\u0275\u0275propertyInterpolate2:()=>Pu,\u0275\u0275propertyInterpolate3:()=>ku,\u0275\u0275propertyInterpolate4:()=>Nu,\u0275\u0275propertyInterpolate5:()=>Fu,\u0275\u0275propertyInterpolate6:()=>Uu,\u0275\u0275propertyInterpolate7:()=>Bu,\u0275\u0275propertyInterpolate8:()=>Vu,\u0275\u0275propertyInterpolateV:()=>ju,\u0275\u0275pureFunction0:()=>Dp,\u0275\u0275pureFunction1:()=>Sp,\u0275\u0275pureFunction2:()=>Tp,\u0275\u0275pureFunction3:()=>Ip,\u0275\u0275pureFunction4:()=>wp,\u0275\u0275pureFunction5:()=>xp,\u0275\u0275pureFunction6:()=>Ap,\u0275\u0275pureFunction7:()=>Op,\u0275\u0275pureFunction8:()=>Rp,\u0275\u0275pureFunctionV:()=>Lp,\u0275\u0275queryRefresh:()=>qp,\u0275\u0275reference:()=>Of,\u0275\u0275resolveBody:()=>eh,\u0275\u0275resolveDocument:()=>Jd,\u0275\u0275resolveWindow:()=>Zd,\u0275\u0275restoreView:()=>L,\u0275\u0275sanitizeHtml:()=>Fd,\u0275\u0275sanitizeResourceUrl:()=>gl,\u0275\u0275sanitizeScript:()=>Bd,\u0275\u0275sanitizeStyle:()=>Ud,\u0275\u0275sanitizeUrl:()=>ml,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Hd,\u0275\u0275setComponentScope:()=>je,\u0275\u0275setNgModuleScope:()=>it,\u0275\u0275styleMap:()=>Yr,\u0275\u0275styleMapInterpolate1:()=>S0,\u0275\u0275styleMapInterpolate2:()=>T0,\u0275\u0275styleMapInterpolate3:()=>I0,\u0275\u0275styleMapInterpolate4:()=>w0,\u0275\u0275styleMapInterpolate5:()=>x0,\u0275\u0275styleMapInterpolate6:()=>A0,\u0275\u0275styleMapInterpolate7:()=>O0,\u0275\u0275styleMapInterpolate8:()=>R0,\u0275\u0275styleMapInterpolateV:()=>L0,\u0275\u0275styleProp:()=>Hu,\u0275\u0275stylePropInterpolate1:()=>ec,\u0275\u0275stylePropInterpolate2:()=>tc,\u0275\u0275stylePropInterpolate3:()=>nc,\u0275\u0275stylePropInterpolate4:()=>ic,\u0275\u0275stylePropInterpolate5:()=>rc,\u0275\u0275stylePropInterpolate6:()=>sc,\u0275\u0275stylePropInterpolate7:()=>oc,\u0275\u0275stylePropInterpolate8:()=>ac,\u0275\u0275stylePropInterpolateV:()=>lc,\u0275\u0275syntheticHostListener:()=>Ou,\u0275\u0275syntheticHostProperty:()=>cc,\u0275\u0275template:()=>xf,\u0275\u0275templateRefExtractor:()=>im,\u0275\u0275text:()=>m0,\u0275\u0275textInterpolate:()=>Ku,\u0275\u0275textInterpolate1:()=>Oa,\u0275\u0275textInterpolate2:()=>Gu,\u0275\u0275textInterpolate3:()=>$u,\u0275\u0275textInterpolate4:()=>Yu,\u0275\u0275textInterpolate5:()=>Qu,\u0275\u0275textInterpolate6:()=>qu,\u0275\u0275textInterpolate7:()=>Xu,\u0275\u0275textInterpolate8:()=>Zu,\u0275\u0275textInterpolateV:()=>Ju,\u0275\u0275trustConstantHtml:()=>Vd,\u0275\u0275trustConstantResourceUrl:()=>jd,\u0275\u0275viewQuery:()=>Xp});var n=o(8929),l=o(2654),u=o(6498),c=o(6787),r=o(8117);function d(e){for(let t in e)if(e[t]===d)return t;throw Error("Could not find renamed property on target object.")}function m(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function p(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(p).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 b=d({__forward_ref__:d});function h(e){return e.__forward_ref__=h,e.toString=function(){return p(this())},e}function g(e){return s(e)?e():e}function s(e){return"function"==typeof e&&e.hasOwnProperty(b)&&e.__forward_ref__===h}class P extends Error{constructor(t,i){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,i)),this.code=t}}function T(e){return"string"==typeof e?e:null==e?"":String(e)}function Y(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():T(e)}function X(e,t){const i=t?` in ${t}`:"";throw new P("201",`No provider for ${Y(e)} found${i}`)}function tt(e,t,i,a){throw new Error(`ASSERTION ERROR: ${e}`+(null==a?"":` [Expected=> ${i} ${a} ${t} <=Actual]`))}function Ie(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const Qe=Ie;function ct(e){return{providers:e.providers||[],imports:e.imports||[]}}function bt(e){return Et(e,rt)||Et(e,yt)}function Et(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ne(e){return e&&(e.hasOwnProperty(ze)||e.hasOwnProperty(mt))?e[ze]:null}const rt=d({\u0275prov:d}),ze=d({\u0275inj:d}),yt=d({ngInjectableDef:d}),mt=d({ngInjectorDef:d});var _e=(()=>((_e=_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))();let Z;function _(e){const t=Z;return Z=e,t}function x(e,t,i){const a=bt(e);return a&&"root"==a.providedIn?void 0===a.value?a.value=a.factory():a.value:i&_e.Optional?null:void 0!==t?t:void X(p(e),"Injector")}function ce(e){return{toString:e}.toString()}var Ue=(()=>((Ue=Ue||{})[Ue.OnPush=0]="OnPush",Ue[Ue.Default=1]="Default",Ue))(),Oe=(()=>((Oe=Oe||{})[Oe.CheckOnce=0]="CheckOnce",Oe[Oe.Checked=1]="Checked",Oe[Oe.CheckAlways=2]="CheckAlways",Oe[Oe.Detached=3]="Detached",Oe[Oe.Errored=4]="Errored",Oe[Oe.Destroyed=5]="Destroyed",Oe))();function ve(e){return null==e||e===Ue.Default}var Ae=(()=>{return(e=Ae||(Ae={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ae;var e})();const nt="undefined"!=typeof globalThis&&globalThis,Pt="undefined"!=typeof window&&window,Ft="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Lt=nt||"undefined"!=typeof global&&global||Pt||Ft,Mt={},Ge=[],lt=d({\u0275cmp:d}),Ot=d({\u0275dir:d}),Nt=d({\u0275pipe:d}),Pe=d({\u0275mod:d}),Ee=d({\u0275fac:d}),B=d({__NG_ELEMENT_ID__:d});let V=0;function be(e){return ce(()=>{const i={},a={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ue.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ge,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ae.Emulated,id:"c",styles:e.styles||Ge,_:null,setInput:null,schemas:e.schemas||null,tView:null},f=e.directives,v=e.features,O=e.pipes;return a.id+=V++,a.inputs=st(e.inputs,i),a.outputs=st(e.outputs),v&&v.forEach(H=>H(a)),a.directiveDefs=f?()=>("function"==typeof f?f():f).map(Ct):null,a.pipeDefs=O?()=>("function"==typeof O?O():O).map(Ht):null,a})}function je(e,t,i){const a=e.\u0275cmp;a.directiveDefs=()=>t.map(Ct),a.pipeDefs=()=>i.map(Ht)}function Ct(e){return At(e)||Xt(e)}function Ht(e){return Jt(e)}const $t={};function vn(e){return ce(()=>{const t={type:e.type,bootstrap:e.bootstrap||Ge,declarations:e.declarations||Ge,imports:e.imports||Ge,exports:e.exports||Ge,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&($t[e.id]=e.type),t})}function it(e,t){return ce(()=>{const i=fn(e,!0);i.declarations=t.declarations||Ge,i.imports=t.imports||Ge,i.exports=t.exports||Ge})}function st(e,t){if(null==e)return Mt;const i={};for(const a in e)if(e.hasOwnProperty(a)){let f=e[a],v=f;Array.isArray(f)&&(v=f[1],f=f[0]),i[f]=a,t&&(t[f]=v)}return i}const Ve=be;function ut(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function At(e){return e[lt]||null}function Xt(e){return e[Ot]||null}function Jt(e){return e[Nt]||null}function fn(e,t){const i=e[Pe]||null;if(!i&&!0===t)throw new Error(`Type ${p(e)} does not have '\u0275mod' property.`);return i}function ci(e){return Array.isArray(e)&&"object"==typeof e[1]}function Xn(e){return Array.isArray(e)&&!0===e[1]}function Ri(e){return 0!=(8&e.flags)}function _i(e){return 2==(2&e.flags)}function bi(e){return 1==(1&e.flags)}function si(e){return null!==e.template}function mn(e){return 0!=(512&e[2])}function Si(e,t){return e.hasOwnProperty(Ee)?e[Ee]:null}class Vi{constructor(t,i,a){this.previousValue=t,this.currentValue=i,this.firstChange=a}isFirstChange(){return this.firstChange}}function Gi(){return Pi}function Pi(e){return e.type.prototype.ngOnChanges&&(e.setInput=cr),ur}function ur(){const e=dr(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===Mt)e.previous=t;else for(let a in t)i[a]=t[a];e.current=null,this.ngOnChanges(t)}}function cr(e,t,i,a){const f=dr(e)||function(e,t){return e[di]=t}(e,{previous:Mt,current:null}),v=f.current||(f.current={}),O=f.previous,H=this.declaredInputs[i],se=O[H];v[H]=new Vi(se&&se.currentValue,t,O===Mt),e[a]=t}Gi.ngInherit=!0;const di="__ngSimpleChanges__";function dr(e){return e[di]||null}let $i=null;const Xi=e=>{$i=e},yi=function(e,t,i){null!=$i&&$i(e,t,i)},rr="http://www.w3.org/2000/svg",Br="http://www.w3.org/1998/MathML/";let Rr;function Mr(e){Rr=e}function Yi(){return void 0!==Rr?Rr:"undefined"!=typeof document?document:void 0}function Wn(e){return!!e.listen}const Dr={createRenderer:(e,t)=>Yi()};function fe(e){for(;Array.isArray(e);)e=e[0];return e}function I(e,t){return fe(t[e])}function de(e,t){return fe(t[e.index])}function wt(e,t){return e.data[t]}function Wt(e,t){return e[t]}function hn(e,t){const i=t[e];return ci(i)?i:i[0]}function Nn(e){return 4==(4&e[2])}function Hn(e){return 128==(128&e[2])}function Yn(e,t){return null==t?null:e[t]}function Qn(e){e[18]=0}function ii(e,t){e[5]+=t;let i=e,a=e[3];for(;null!==a&&(1===t&&1===i[5]||-1===t&&0===i[5]);)a[5]+=t,i=a,a=a[3]}const dn={lFrame:cs(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Sr(){return dn.bindingsEnabled}function Hr(){dn.bindingsEnabled=!0}function Cs(){dn.bindingsEnabled=!1}function ye(){return dn.lFrame.lView}function M(){return dn.lFrame.tView}function L(e){return dn.lFrame.contextLView=e,e[8]}function ne(){let e=we();for(;null!==e&&64===e.type;)e=e.parent;return e}function we(){return dn.lFrame.currentTNode}function He(){const e=dn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Je(e,t){const i=dn.lFrame;i.currentTNode=e,i.isParent=t}function at(){return dn.lFrame.isParent}function St(){dn.lFrame.isParent=!1}function en(){return dn.isInCheckNoChangesMode}function yn(e){dn.isInCheckNoChangesMode=e}function pn(){const e=dn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function rn(){return dn.lFrame.bindingIndex}function Cn(e){return dn.lFrame.bindingIndex=e}function In(){return dn.lFrame.bindingIndex++}function Gn(e){const t=dn.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function Ci(e){dn.lFrame.inI18n=e}function vi(e,t){const i=dn.lFrame;i.bindingIndex=i.bindingRootIndex=e,ki(t)}function ki(e){dn.lFrame.currentDirectiveIndex=e}function gi(e){const t=dn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Zi(){return dn.lFrame.currentQueryIndex}function xi(e){dn.lFrame.currentQueryIndex=e}function Ji(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Zr(e,t,i){if(i&_e.SkipSelf){let f=t,v=e;for(;!(f=f.parent,null!==f||i&_e.Host||(f=Ji(v),null===f||(v=v[15],10&f.type))););if(null===f)return!1;t=f,e=v}const a=dn.lFrame=gr();return a.currentTNode=t,a.lView=e,!0}function mr(e){const t=gr(),i=e[1];dn.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function gr(){const e=dn.lFrame,t=null===e?null:e.child;return null===t?cs(e):t}function cs(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 Jr(){const e=dn.lFrame;return dn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const tn=Jr;function un(){const e=Jr();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 Un(){return dn.lFrame.selectedIndex}function hi(e){dn.lFrame.selectedIndex=e}function Pn(){const e=dn.lFrame;return wt(e.tView,e.selectedIndex)}function Ai(){dn.lFrame.currentNamespace=rr}function ei(){dn.lFrame.currentNamespace=Br}function ds(){dn.lFrame.currentNamespace=null}function or(e,t){for(let i=t.directiveStart,a=t.directiveEnd;i=a)break}else t[se]<0&&(e[18]+=65536),(H>11>16&&(3&e[2])===t){e[2]+=2048,yi(4,H,v);try{v.call(H)}finally{yi(5,H,v)}}}else{yi(4,H,v);try{v.call(H)}finally{yi(5,H,v)}}}class fs{constructor(t,i,a){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=a}}function vt(e,t,i){const a=Wn(e);let f=0;for(;ft){O=v-1;break}}}for(;v>16}(e),a=t;for(;i>0;)a=a[15],i--;return a}let De=!0;function Fe(e){const t=De;return De=e,t}let sn=0;function cn(e,t){const i=Zn(e,t);if(-1!==i)return i;const a=t[1];a.firstCreatePass&&(e.injectorIndex=t.length,qn(a.data,e),qn(t,null),qn(a.blueprint,null));const f=es(e,t),v=e.injectorIndex;if(re(f)){const O=W(f),H=ge(f,t),se=H[1].data;for(let Me=0;Me<8;Me++)t[v+Me]=H[O+Me]|se[O+Me]}return t[v+8]=f,v}function qn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Zn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function es(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,a=null,f=t;for(;null!==f;){const v=f[1],O=v.type;if(a=2===O?v.declTNode:1===O?f[6]:null,null===a)return-1;if(i++,f=f[15],-1!==a.injectorIndex)return a.injectorIndex|i<<16}return-1}function vr(e,t,i){!function(e,t,i){let a;"string"==typeof i?a=i.charCodeAt(0)||0:i.hasOwnProperty(B)&&(a=i[B]),null==a&&(a=i[B]=sn++);const f=255&a;t.data[e+(f>>5)]|=1<=0?255&t:Xa:t}(i);if("function"==typeof v){if(!Zr(t,e,a))return a&_e.Host?Kr(f,i,a):Is(t,i,a,f);try{const O=v(a);if(null!=O||a&_e.Optional)return O;X(i)}finally{tn()}}else if("number"==typeof v){let O=null,H=Zn(e,t),se=-1,Me=a&_e.Host?t[16][6]:null;for((-1===H||a&_e.SkipSelf)&&(se=-1===H?es(e,t):t[H+8],-1!==se&&cd(a,!1)?(O=t[1],H=W(se),t=ge(se,t)):H=-1);-1!==H;){const Le=t[1];if(ud(v,H,Le.data)){const qe=lg(H,t,i,O,a,Me);if(qe!==gs)return qe}se=t[H+8],-1!==se&&cd(a,t[1].data[H+8]===Me)&&ud(v,H,t)?(O=Le,H=W(se),t=ge(se,t)):H=-1}}}return Is(t,i,a,f)}const gs={};function Xa(){return new Us(ne(),ye())}function lg(e,t,i,a,f,v){const O=t[1],H=O.data[e+8],Le=oa(H,O,i,null==a?_i(H)&&De:a!=O&&0!=(3&H.type),f&_e.Host&&v===H);return null!==Le?Mo(t,O,Le,H):gs}function oa(e,t,i,a,f){const v=e.providerIndexes,O=t.data,H=1048575&v,se=e.directiveStart,Le=v>>20,ht=f?H+Le:e.directiveEnd;for(let Tt=a?H:H+Le;Tt=se&&Bt.type===i)return Tt}if(f){const Tt=O[se];if(Tt&&si(Tt)&&Tt.type===i)return se}return null}function Mo(e,t,i,a){let f=e[i];const v=t.data;if(function(e){return e instanceof fs}(f)){const O=f;O.resolving&&function(e,t){throw new P("200",`Circular dependency in DI detected for ${e}`)}(Y(v[i]));const H=Fe(O.canSeeViewProviders);O.resolving=!0;const se=O.injectImpl?_(O.injectImpl):null;Zr(e,a,_e.Default);try{f=e[i]=O.factory(void 0,v,e,a),t.firstCreatePass&&i>=a.directiveStart&&function(e,t,i){const{ngOnChanges:a,ngOnInit:f,ngDoCheck:v}=t.type.prototype;if(a){const O=Pi(t);(i.preOrderHooks||(i.preOrderHooks=[])).push(e,O),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,O)}f&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-e,f),v&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,v),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,v))}(i,v[i],t)}finally{null!==se&&_(se),Fe(H),O.resolving=!1,tn()}}return f}function ud(e,t,i){return!!(i[t+(e>>5)]&1<{const t=e.prototype.constructor,i=t[Ee]||Za(t),a=Object.prototype;let f=Object.getPrototypeOf(e.prototype).constructor;for(;f&&f!==a;){const v=f[Ee]||Za(f);if(v&&v!==i)return v;f=Object.getPrototypeOf(f)}return v=>new v})}function Za(e){return s(e)?()=>{const t=Za(g(e));return t&&t()}:Si(e)}function Ja(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const a=i.length;let f=0;for(;f{const v=el(t);function O(...H){if(this instanceof O)return v.call(this,...H),this;const se=new O(...H);return function(Le){return f&&f(Le,...H),(Le.hasOwnProperty(Bs)?Le[Bs]:Object.defineProperty(Le,Bs,{value:[]})[Bs]).push(se),a&&a(Le),Le}}return i&&(O.prototype=Object.create(i.prototype)),O.prototype.ngMetadataName=e,O.annotationCls=O,O})}function el(e){return function(...i){if(e){const a=e(...i);for(const f in a)this[f]=a[f]}}}function zs(e,t,i){return ce(()=>{const a=el(t);function f(...v){if(this instanceof f)return a.apply(this,v),this;const O=new f(...v);return H.annotation=O,H;function H(se,Me,Le){const qe=se.hasOwnProperty(Vs)?se[Vs]:Object.defineProperty(se,Vs,{value:[]})[Vs];for(;qe.length<=Le;)qe.push(null);return(qe[Le]=qe[Le]||[]).push(O),se}}return i&&(f.prototype=Object.create(i.prototype)),f.prototype.ngMetadataName=e,f.annotationCls=f,f})}function Es(e,t,i,a){return ce(()=>{const f=el(t);function v(...O){if(this instanceof v)return f.apply(this,O),this;const H=new v(...O);return function(Me,Le){const qe=Me.constructor,ht=qe.hasOwnProperty(js)?qe[js]:Object.defineProperty(qe,js,{value:{}})[js];ht[Le]=ht.hasOwnProperty(Le)&&ht[Le]||[],ht[Le].unshift(H),a&&a(Me,Le,...O)}}return i&&(v.prototype=Object.create(i.prototype)),v.prototype.ngMetadataName=e,v.annotationCls=v,v})}const hd=zs("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Ja(e)}));class Ei{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=Ie({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}toString(){return`InjectionToken ${this._desc}`}}const cg=new Ei("AnalyzeForEntryComponents");class Do{}const dg=Es("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),Do),hg=Es("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),Do),fg=Es("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),Do),pg=Es("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),Do);var Fi=(()=>((Fi=Fi||{})[Fi.Directive=0]="Directive",Fi[Fi.Component=1]="Component",Fi[Fi.Injectable=2]="Injectable",Fi[Fi.Pipe=3]="Pipe",Fi[Fi.NgModule=4]="NgModule",Fi))();function Ui(e){const t=Lt.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const aa=Function;function So(e){return"function"==typeof e}function kr(e,t){void 0===t&&(t=e);for(let i=0;iArray.isArray(i)?ts(i,t):t(i))}function pd(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function la(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function To(e,t){const i=[];for(let a=0;a=0?e[1|a]=i:(a=~a,function(e,t,i,a){let f=e.length;if(f==t)e.push(i,a);else if(1===f)e.push(a,e[0]),e[0]=i;else{for(f--,e.push(e[f-1],e[f]);f>t;)e[f]=e[f-2],f--;e[t]=i,e[t+1]=a}}(e,a,t,i)),a}function tl(e,t){const i=Ws(e,t);if(i>=0)return e[1|i]}function Ws(e,t){return function(e,t,i){let a=0,f=e.length>>i;for(;f!==a;){const v=a+(f-a>>1),O=e[v<t?f=v:a=v+1}return~(f<new t(...i)}_zipTypesAndAnnotations(t,i){let a;a=To(void 0===t?i.length:t.length);for(let f=0;fLe&&Le.type),Me=H.map(Le=>Le&&il(Le.decorators));return this._zipTypesAndAnnotations(se,Me)}const v=t.hasOwnProperty(Vs)&&t[Vs],O=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return O||v?this._zipTypesAndAnnotations(O,v):To(t.length)}parameters(t){if(!So(t))return[];const i=ua(t);let a=this._ownParameters(t,i);return!a&&i!==Object&&(a=this.parameters(i)),a||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let a=t.annotations;return"function"==typeof a&&a.annotations&&(a=a.annotations),a}return t.decorators&&t.decorators!==i.decorators?il(t.decorators):t.hasOwnProperty(Bs)?t[Bs]:null}annotations(t){if(!So(t))return[];const i=ua(t),a=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(a)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let a=t.propMetadata;return"function"==typeof a&&a.propMetadata&&(a=a.propMetadata),a}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const a=t.propDecorators,f={};return Object.keys(a).forEach(v=>{f[v]=il(a[v])}),f}return t.hasOwnProperty(js)?t[js]:null}propMetadata(t){if(!So(t))return{};const i=ua(t),a={};if(i!==Object){const v=this.propMetadata(i);Object.keys(v).forEach(O=>{a[O]=v[O]})}const f=this._ownPropMetadata(t,i);return f&&Object.keys(f).forEach(v=>{const O=[];a.hasOwnProperty(v)&&O.push(...a[v]),O.push(...f[v]),a[v]=O}),a}ownPropMetadata(t){return So(t)&&this._ownPropMetadata(t,ua(t))||{}}hasLifecycleHook(t,i){return t instanceof aa&&i in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:`./${p(t)}`}resourceUri(t){return`./${p(t)}`}resolveIdentifier(t,i,a,f){return f}resolveEnum(t,i){return t[i]}}function il(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function ua(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Ms={},rl="__NG_DI_FLAG__",ca="ngTempTokenPath",Dg=/\n/gm,yd="__source",Tg=d({provide:String,useValue:d});let Io;function sl(e){const t=Io;return Io=e,t}function Ig(e,t=_e.Default){if(void 0===Io)throw new Error("inject() must be called from an injection context");return null===Io?x(e,void 0,t):Io.get(e,t&_e.Optional?null:void 0,t)}function zi(e,t=_e.Default){return(Z||Ig)(g(e),t)}function ol(e){throw new Error("invalid")}const wg=zi;function al(e){const t=[];for(let i=0;i({token:e})),-1),ws=wo(zs("Optional"),8),da=wo(zs("Self"),2),xs=wo(zs("SkipSelf"),4),vd=wo(zs("Host"),1);let bd=null;function ll(){return bd=bd||new nl}function ha(e){return Cd(ll().parameters(e))}function Cd(e){return e.map(t=>function(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 O=[];f.templateUrl&&O.push(a(f.templateUrl).then(qe=>{f.template=qe}));const H=f.styleUrls,se=f.styles||(f.styles=[]),Me=f.styles.length;H&&H.forEach((qe,ht)=>{se.push(""),O.push(a(qe).then(Tt=>{se[Me+ht]=Tt,H.splice(H.indexOf(qe),1),0==H.length&&(f.styleUrls=void 0)}))});const Le=Promise.all(O).then(()=>function(e){Ao.delete(e)}(v));t.push(Le)}),Dd(),Promise.all(t).then(()=>{})}let Ks=new Map;const Ao=new Set;function Md(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Dd(){const e=Ks;return Ks=new Map,e}function kg(e){return"string"==typeof e?e:e.text()}let fa,pa;function ul(){if(void 0===fa&&(fa=null,Lt.trustedTypes))try{fa=Lt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return fa}function Gs(e){var t;return(null===(t=ul())||void 0===t?void 0:t.createHTML(e))||e}function cl(){if(void 0===pa&&(pa=null,Lt.trustedTypes))try{pa=Lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return pa}function Sd(e){var t;return(null===(t=cl())||void 0===t?void 0:t.createHTML(e))||e}function Td(e){var t;return(null===(t=cl())||void 0===t?void 0:t.createScript(e))||e}function Id(e){var t;return(null===(t=cl())||void 0===t?void 0:t.createScriptURL(e))||e}class As{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Bg extends As{getTypeName(){return"HTML"}}class Vg extends As{getTypeName(){return"Style"}}class jg extends As{getTypeName(){return"Script"}}class Hg extends As{getTypeName(){return"URL"}}class zg extends As{getTypeName(){return"ResourceURL"}}function _s(e){return e instanceof As?e.changingThisBreaksApplicationSecurity:e}function $s(e,t){const i=wd(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see https://g.co/ng/security#xss)`)}return i===t}function wd(e){return e instanceof As&&e.getTypeName()||null}function Wg(e){return new Bg(e)}function Kg(e){return new Vg(e)}function Gg(e){return new jg(e)}function $g(e){return new Hg(e)}function Yg(e){return new zg(e)}function xd(e){const t=new qg(e);return function(){try{return!!(new window.DOMParser).parseFromString(Gs(""),"text/html")}catch(e){return!1}}()?new Qg(t):t}class Qg{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const i=(new window.DOMParser).parseFromString(Gs(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch(i){return null}}}class qg{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const i=this.inertDocument.createElement("html");this.inertDocument.appendChild(i);const a=this.inertDocument.createElement("body");i.appendChild(a)}}getInertBodyElement(t){const i=this.inertDocument.createElement("template");if("content"in i)return i.innerHTML=Gs(t),i;const a=this.inertDocument.createElement("body");return a.innerHTML=Gs(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(a),a}stripCustomNsAttrs(t){const i=t.attributes;for(let f=i.length-1;0Oo(t.trim())).join(", ")}function ns(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Ro(...e){const t={};for(const i of e)for(const a in i)i.hasOwnProperty(a)&&(t[a]=!0);return t}const Od=ns("area,br,col,hr,img,wbr"),Rd=ns("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ld=ns("rp,rt"),dl=Ro(Od,Ro(Rd,ns("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")),Ro(Ld,ns("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")),Ro(Ld,Rd)),hl=ns("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),fl=ns("srcset"),Pd=Ro(hl,fl,ns("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ns("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")),e_=ns("script,style,template");class t_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,a=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?a=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,a&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let f=this.checkClobberedElement(i,i.nextSibling);if(f){i=f;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!dl.hasOwnProperty(i))return this.sanitizedSomething=!0,!e_.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const a=t.attributes;for(let f=0;f"),!0}endElement(t){const i=t.nodeName.toLowerCase();dl.hasOwnProperty(i)&&!Od.hasOwnProperty(i)&&(this.buf.push(""))}chars(t){this.buf.push(kd(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 n_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i_=/([^\#-~ |!])/g;function kd(e){return e.replace(/&/g,"&").replace(n_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(i_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let ma;function Nd(e,t){let i=null;try{ma=ma||xd(e);let a=t?String(t):"";i=ma.getInertBodyElement(a);let f=5,v=a;do{if(0===f)throw new Error("Failed to sanitize html because the input is unstable");f--,a=v,v=i.innerHTML,i=ma.getInertBodyElement(a)}while(a!==v);return Gs((new t_).sanitizeChildren(pl(i)||i))}finally{if(i){const a=pl(i)||i;for(;a.firstChild;)a.removeChild(a.firstChild)}}}function pl(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ti=(()=>((Ti=Ti||{})[Ti.NONE=0]="NONE",Ti[Ti.HTML=1]="HTML",Ti[Ti.STYLE=2]="STYLE",Ti[Ti.SCRIPT=3]="SCRIPT",Ti[Ti.URL=4]="URL",Ti[Ti.RESOURCE_URL=5]="RESOURCE_URL",Ti))();function Fd(e){const t=Lo();return t?Sd(t.sanitize(Ti.HTML,e)||""):$s(e,"HTML")?Sd(_s(e)):Nd(Yi(),T(e))}function Ud(e){const t=Lo();return t?t.sanitize(Ti.STYLE,e)||"":$s(e,"Style")?_s(e):T(e)}function ml(e){const t=Lo();return t?t.sanitize(Ti.URL,e)||"":$s(e,"URL")?_s(e):Oo(T(e))}function gl(e){const t=Lo();if(t)return Id(t.sanitize(Ti.RESOURCE_URL,e)||"");if($s(e,"ResourceURL"))return Id(_s(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Bd(e){const t=Lo();if(t)return Td(t.sanitize(Ti.SCRIPT,e)||"");if($s(e,"Script"))return Td(_s(e));throw new Error("unsafe value used in a script context")}function Vd(e){return Gs(e[0])}function jd(e){return function(e){var t;return(null===(t=ul())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Hd(e,t,i){return function(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?gl:ml}(t,i)(e)}function Lo(){const e=ye();return e&&e[12]}function er(e){let t=Po(e);if(t){if(Array.isArray(t)){const i=t;let a,f,v;if(function(e){return e&&e.constructor&&e.constructor.\u0275cmp}(e)){if(a=Gd(i,e),-1==a)throw new Error("The provided component was not found in the application");f=e}else if(function(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(a=function(e,t){let i=e[1].firstChild;for(;i;){const f=i.directiveEnd;for(let v=i.directiveStart;v=0){const H=fe(v[O]),se=_l(v,O,H);tr(H,se),t=se;break}}}}return t||null}function _l(e,t,i){return{lView:e,nodeIndex:t,native:i,component:void 0,directives:void 0,localRefs:void 0}}function zd(e){let i,t=Po(e);if(Array.isArray(t)){const a=Gd(t,e);i=hn(a,t);const f=_l(t,a,i[0]);f.component=e,tr(e,f),tr(f.native,f)}else i=hn(t.nodeIndex,t.lView);return i}const Wd="__ngContext__";function tr(e,t){e[Wd]=t}function Po(e){return e[Wd]||null}function yl(e){const t=Po(e);return t?Array.isArray(t)?t:t.lView:null}function Kd(e,t){const i=e[1];for(let a=20;a|^->||--!>|)/;const Xd=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Lt))();function Zd(e){return e.ownerDocument.defaultView}function Jd(e){return e.ownerDocument}function eh(e){return e.ownerDocument.body}function is(e){return e instanceof Function?e():e}var rs=(()=>((rs=rs||{})[rs.Important=1]="Important",rs[rs.DashCase=2]="DashCase",rs))();let Cl;function El(e,t){return Cl(e,t)}function No(e){const t=e[3];return Xn(t)?t[3]:t}function rh(e){return function(e){let t=ci(e)?e:yl(e);for(;t&&!(512&t[2]);)t=No(t);return t}(e)[8]}function Ml(e){return sh(e[13])}function Dl(e){return sh(e[4])}function sh(e){for(;null!==e&&!Xn(e);)e=e[4];return e}function Qs(e,t,i,a,f){if(null!=a){let v,O=!1;Xn(a)?v=a:ci(a)&&(O=!0,a=a[0]);const H=fe(a);0===e&&null!==i?null==f?dh(t,i,H):Os(t,i,H,f||null,!0):1===e&&null!==i?Os(t,i,H,f||null,!0):2===e?yh(t,H,O):3===e&&t.destroyNode(H),null!=v&&function(e,t,i,a,f){const v=i[7];v!==fe(i)&&Qs(t,e,a,v,f);for(let H=10;Ht.replace(y_,"\u200b$1\u200b"))}(t))}function Tl(e,t,i){return Wn(e)?e.createElement(t,i):null===i?e.createElement(t):e.createElementNS(i,t)}function ah(e,t){const i=e[9],a=i.indexOf(t),f=t[3];1024&t[2]&&(t[2]&=-1025,ii(f,-1)),i.splice(a,1)}function Il(e,t){if(e.length<=10)return;const i=10+t,a=e[i];if(a){const f=a[17];null!==f&&f!==e&&ah(f,a),t>0&&(e[i-1][4]=a[4]);const v=la(e,10+t);!function(e,t){Fo(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(a[1],a);const O=v[19];null!==O&&O.detachView(v[1]),a[3]=null,a[4]=null,a[2]&=-129}return a}function lh(e,t){if(!(256&t[2])){const i=t[11];Wn(i)&&i.destroyNode&&Fo(e,t,i,3,null,null),function(e){let t=e[13];if(!t)return wl(e[1],e);for(;t;){let i=null;if(ci(t))i=t[13];else{const a=t[10];a&&(i=a)}if(!i){for(;t&&!t[4]&&t!==e;)ci(t)&&wl(t[1],t),t=t[3];null===t&&(t=e),ci(t)&&wl(t[1],t),i=t&&t[4]}t=i}}(t)}}function wl(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let a=0;a=0?a[f=Me]():a[f=-Me].unsubscribe(),v+=2}else{const O=a[f=i[v+1]];i[v].call(O)}if(null!==a){for(let v=f+1;vv?"":f[qe+1].toLowerCase();const Tt=8&a?ht:null;if(Tt&&-1!==Ch(Tt,Me,0)||2&a&&Me!==ht){if(Gr(a))return!1;O=!0}}}}else{if(!O&&!Gr(a)&&!Gr(se))return!1;if(O&&Gr(se))continue;O=!1,a=se|1&a}}return Gr(a)||O}function Gr(e){return 0==(1&e)}function H_(e,t,i,a){if(null===t)return-1;let f=0;if(a||!i){let v=!1;for(;f-1)for(i++;i0?'="'+H+'"':"")+"]"}else 8&a?f+="."+O:4&a&&(f+=" "+O);else""!==f&&!Gr(O)&&(t+=Sh(v,f),f=""),a=O,v=v||!Gr(a);i++}return""!==f&&(t+=Sh(v,f)),t}const On={};function Th(e){Ih(M(),ye(),Un()+e,en())}function Ih(e,t,i,a){if(!a)if(3==(3&t[2])){const v=e.preOrderCheckHooks;null!==v&&Hi(t,v,i)}else{const v=e.preOrderHooks;null!==v&&zr(t,v,0,i)}hi(i)}function va(e,t){return e<<17|t<<2}function $r(e){return e>>17&32767}function Ll(e){return 2|e}function ys(e){return(131068&e)>>2}function Pl(e,t){return-131069&e|t<<2}function kl(e){return 1|e}const zl=(()=>Promise.resolve(null))();function Uh(e,t){const i=e.contentQueries;if(null!==i)for(let a=0;a20&&Ih(e,t,20,en()),yi(O?2:0,f),i(a,f)}finally{hi(v),yi(O?3:1,f)}}function Vh(e,t,i){if(Ri(t)){const f=t.directiveEnd;for(let v=t.directiveStart;v0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(H)!=se&&H.push(se),H.push(a,f,O)}}function Yh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Qh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ey(e,t,i){if(i){if(t.exportAs)for(let a=0;a0&&Ql(i)}}function Ql(e){for(let a=Ml(e);null!==a;a=Dl(a))for(let f=10;f0&&Ql(v)}const i=e[1].components;if(null!==i)for(let a=0;a0&&Ql(f)}}function xy(e,t){const i=hn(t,e),a=i[1];(function(e,t){for(let i=t.length;ia=f),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Xl(e)),2&e.flags){e.flags&=-3;const f=e.playerHandler;f&&f.flushPlayers()}e.clean=zl,a(null)})}}(ql(zd(e))[8])}const Sa=new Ei("INJECTOR",-1);class uf{get(t,i=Ms){if(i===Ms){const a=new Error(`NullInjectorError: No provider for ${p(t)}!`);throw a.name="NullInjectorError",a}return i}}const eu=new Ei("Set Injector scope."),Vo={},ky={};let tu;function cf(){return void 0===tu&&(tu=new uf),tu}function nu(e,t=null,i=null,a){const f=df(e,t,i,a);return f._resolveInjectorDefTypes(),f}function df(e,t=null,i=null,a){return new Ny(e,i,t||cf(),a)}class Ny{constructor(t,i,a,f=null){this.parent=a,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const v=[];i&&ts(i,H=>this.processProvider(H,t,i)),ts([t],H=>this.processInjectorType(H,[],v)),this.records.set(Sa,Js(void 0,this));const O=this.records.get(eu);this.scope=null!=O?O.value:null,this.source=f||("object"==typeof t?null:p(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,i=Ms,a=_e.Default){this.assertNotDestroyed();const f=sl(this),v=_(void 0);try{if(!(a&_e.SkipSelf)){let H=this.records.get(t);if(void 0===H){const se=("function"==typeof(e=t)||"object"==typeof e&&e instanceof Ei)&&bt(t);H=se&&this.injectableDefInScope(se)?Js(iu(t),Vo):null,this.records.set(t,H)}if(null!=H)return this.hydrate(t,H)}return(a&_e.Self?cf():this.parent).get(t,i=a&_e.Optional&&i===Ms?null:i)}catch(O){if("NullInjectorError"===O.name){if((O[ca]=O[ca]||[]).unshift(p(t)),f)throw O;return function(e,t,i,a){const f=e[ca];throw t[yd]&&f.unshift(t[yd]),e.message=function(e,t,i,a=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let f=p(t);if(Array.isArray(t))f=t.map(p).join(" -> ");else if("object"==typeof t){let v=[];for(let O in t)if(t.hasOwnProperty(O)){let H=t[O];v.push(O+":"+("string"==typeof H?JSON.stringify(H):p(H)))}f=`{${v.join(", ")}}`}return`${i}${a?"("+a+")":""}[${f}]: ${e.replace(Dg,"\n ")}`}("\n"+e.message,f,i,a),e.ngTokenPath=f,e[ca]=null,e}(O,t,"R3InjectorError",this.source)}throw O}finally{_(v),sl(f)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((a,f)=>t.push(p(f))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,i,a){if(!(t=g(t)))return!1;let f=Ne(t);const v=null==f&&t.ngModule||void 0,O=void 0===v?t:v,H=-1!==a.indexOf(O);if(void 0!==v&&(f=Ne(v)),null==f)return!1;if(null!=f.imports&&!H){let Le;a.push(O);try{ts(f.imports,qe=>{this.processInjectorType(qe,i,a)&&(void 0===Le&&(Le=[]),Le.push(qe))})}finally{}if(void 0!==Le)for(let qe=0;qethis.processProvider(Bt,ht,Tt||Ge))}}this.injectorDefTypes.add(O);const se=Si(O)||(()=>new O);this.records.set(O,Js(se,Vo));const Me=f.providers;if(null!=Me&&!H){const Le=t;ts(Me,qe=>this.processProvider(qe,Le,Me))}return void 0!==v&&void 0!==t.providers}processProvider(t,i,a){let f=eo(t=g(t))?t:g(t&&t.provide);const v=(e=t,ff(e)?Js(void 0,e.useValue):Js(hf(e),Vo));var e;if(eo(t)||!0!==t.multi)this.records.get(f);else{let O=this.records.get(f);O||(O=Js(void 0,Vo,!0),O.factory=()=>al(O.multi),this.records.set(f,O)),f=t,O.multi.push(t)}this.records.set(f,v)}hydrate(t,i){return i.value===Vo&&(i.value=ky,i.value=i.factory()),"object"==typeof i.value&&i.value&&null!==(e=i.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(i.value),i.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const i=g(t.providedIn);return"string"==typeof i?"any"===i||i===this.scope:this.injectorDefTypes.has(i)}}function iu(e){const t=bt(e),i=null!==t?t.factory:Si(e);if(null!==i)return i;if(e instanceof Ei)throw new Error(`Token ${p(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const a=To(t,"?");throw new Error(`Can't resolve all parameters for ${p(e)}: (${a.join(", ")}).`)}const i=function(e){const t=e&&(e[rt]||e[yt]);if(t){const i=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${i}" class.`),t}return null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new Error("unreachable")}function hf(e,t,i){let a;if(eo(e)){const f=g(e);return Si(f)||iu(f)}if(ff(e))a=()=>g(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))a=()=>e.useFactory(...al(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))a=()=>zi(g(e.useExisting));else{const f=g(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return Si(f)||iu(f);a=()=>new f(...al(e.deps))}return a}function Js(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function ff(e){return null!==e&&"object"==typeof e&&Tg in e}function eo(e){return"function"==typeof e}let wr=(()=>{class e{static create(i,a){var f;if(Array.isArray(i))return nu({name:""},a,i,"");{const v=null!==(f=i.name)&&void 0!==f?f:"";return nu({name:v},i.parent,i.providers,v)}}}return e.THROW_IF_NOT_FOUND=Ms,e.NULL=new uf,e.\u0275prov=Ie({token:e,providedIn:"any",factory:()=>zi(Sa)}),e.__NG_ELEMENT_ID__=-1,e})();function ru(e){ou(e);const t=er(e);return null===t?null:(void 0===t.component&&(t.component=function(e,t){const i=t[1].data[e];return 2&i.flags?t[i.directiveStart]:null}(t.nodeIndex,t.lView)),t.component)}function pf(e){ou(e);const t=er(e);return null===t?null:t.lView[8]}function mf(e){const t=er(e);if(null===t)return null;let a,i=t.lView;for(;2===i[1].type&&(a=No(i));)i=a;return 512&i[2]?null:i[8]}function gf(e){return[...rh(e).components]}function _f(e){const t=er(e);return null===t?wr.NULL:new Us(t.lView[1].data[t.nodeIndex],t.lView)}function yf(e){if(e instanceof Text)return[];const t=er(e);if(null===t)return[];const i=t.lView,a=i[1],f=t.nodeIndex;return(null==a?void 0:a.data[f])?(void 0===t.directives&&(t.directives=$d(f,i,!1)),null===t.directives?[]:[...t.directives]):[]}function Gy(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=At(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?Ue.OnPush:Ue.Default};const a=Xt(t);return a?{inputs:a.inputs,outputs:a.outputs}:null}function su(e){return er(e).native}function vf(e){ou(e);const t=er(e);if(null===t)return[];const i=t.lView,f=i[7],v=i[1].cleanup,O=[];if(v&&f)for(let H=0;H=0?"dom":"output",Kt="boolean"==typeof Tt&&Tt;e==qe&&O.push({element:e,name:Le,callback:ht,useCapture:Kt,type:Bt})}}return O.sort(Yy),O}function Yy(e,t){return e.name==t.name?0:e.nameaf(t))}let Cf=!1;function Xy(){Cf||(Cf=!0,Nr("\u0275setProfiler",Xi),Nr("getDirectiveMetadata",Gy),Nr("getComponent",ru),Nr("getContext",pf),Nr("getListeners",vf),Nr("getOwningComponent",mf),Nr("getHostElement",su),Nr("getInjector",_f),Nr("getRootComponents",gf),Nr("getDirectives",yf),Nr("applyChanges",qy))}function Nr(e,t){if("undefined"==typeof COMPILED||!COMPILED){const i=Lt;if(i){let a=i.ng;a||(a=i.ng={}),a[e]=t}}}function Zy(e,t={}){const i=t.rendererFactory||Dr,a=t.sanitizer||null,f=At(e);f.type!=e&&(f.type=e);const v=f.selectors[0][0],H=zh(i.createRenderer(null,null),t.host||v,f.encapsulation),se=f.onPush?576:528,Me=Df(t.scheduler,t.playerHandler),Le=i.createRenderer(H,f),qe=Ea(0,null,null,1,0,null,null,null,null,null),ht=Uo(null,qe,Me,se,null,null,i,Le,null,t.injector||null);let Tt;mr(ht);try{i.begin&&i.begin(),Tt=Mf(Ef(H,f,ht,i,Le,a),f,ht,Me,t.hostFeatures||null),Bo(qe,ht,null),Zs(qe,ht,null,null)}finally{un(),i.end&&i.end()}return Tt}function Ef(e,t,i,a,f,v){const O=i[1];i[20]=e;const se=qs(O,20,2,"#host",null),Me=se.mergedAttrs=t.hostAttrs;null!==Me&&(Da(se,Me,!0),null!==e&&(vt(f,e,Me),null!==se.classes&&Rl(f,e,se.classes),null!==se.styles&&bh(f,e,se.styles)));const Le=a.createRenderer(e,t),qe=Uo(i,jh(t),null,t.onPush?64:16,i[20],se,a,Le,v||null,null);return O.firstCreatePass&&(vr(cn(se,i),O,t.type),Qh(O,se),qh(se,i.length,1)),Ma(i,qe),i[20]=qe}function Mf(e,t,i,a,f){const v=i[1],O=function(e,t,i){const a=ne();e.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),Xh(e,a,t,Xs(e,t,1,null),i));const f=Mo(t,e,a.directiveStart,a);tr(f,t);const v=de(a,t);return v&&tr(v,t),f}(v,i,t);if(a.components.push(O),e[8]=O,f&&f.forEach(se=>se(O,t)),t.contentQueries){const se=ne();t.contentQueries(1,O,se.directiveStart)}const H=ne();return!v.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(hi(H.index),$h(i[1],H,0,H.directiveStart,H.directiveEnd,t),Yh(t,O)),O}function Df(e,t){return{components:[],scheduler:e||Xd,clean:Py,playerHandler:t||null,flags:0}}function Sf(e,t){or(yl(e)[1],ne())}function Jy(e){return rh(e).clean}function Tf(e){return Object.getPrototypeOf(e.prototype).constructor}function au(e){let t=Tf(e.type),i=!0;const a=[e];for(;t;){let f;if(si(e))f=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");f=t.\u0275dir}if(f){if(i){a.push(f);const O=e;O.inputs=lu(e.inputs),O.declaredInputs=lu(e.declaredInputs),O.outputs=lu(e.outputs);const H=f.hostBindings;H&&iv(e,H);const se=f.viewQuery,Me=f.contentQueries;if(se&&tv(e,se),Me&&nv(e,Me),m(e.inputs,f.inputs),m(e.declaredInputs,f.declaredInputs),m(e.outputs,f.outputs),si(f)&&f.data.animation){const Le=e.data;Le.animation=(Le.animation||[]).concat(f.data.animation)}}const v=f.features;if(v)for(let O=0;O=0;a--){const f=e[a];f.hostVars=t+=f.hostVars,f.hostAttrs=Dn(f.hostAttrs,i=Dn(i,f.hostAttrs))}}(a)}function lu(e){return e===Mt?{}:e===Ge?[]:e}function tv(e,t){const i=e.viewQuery;e.viewQuery=i?(a,f)=>{t(a,f),i(a,f)}:t}function nv(e,t){const i=e.contentQueries;e.contentQueries=i?(a,f,v)=>{t(a,f,v),i(a,f,v)}:t}function iv(e,t){const i=e.hostBindings;e.hostBindings=i?(a,f)=>{t(a,f),i(a,f)}:t}const rv=["providersResolver"],sv=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function If(e){let i,t=Tf(e.type);i=si(e)?t.\u0275cmp:t.\u0275dir;const a=e;for(const f of rv)a[f]=i[f];if(si(i))for(const f of sv)a[f]=i[f]}let Ta=null;function to(){if(!Ta){const e=Lt.Symbol;if(e&&e.iterator)Ta=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let i=0;i=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=a}function Of(e){return Wt(dn.lFrame.contextLView,20+e)}const Rf={\u0275\u0275defineInjectable:Ie,\u0275\u0275defineInjector:ct,\u0275\u0275inject:zi,\u0275\u0275invalidFactoryDep:ol,resolveForwardRef:g};const cv=d({provide:String,useValue:d});function Lf(e){return void 0!==e.useClass}function Pf(e){return void 0!==e.useFactory}const pv=Hs("Injectable",void 0,void 0,void 0,(e,t)=>function(e,t){let i=null,a=null;e.hasOwnProperty(rt)||Object.defineProperty(e,rt,{get:()=>(null===i&&(i=Ui().compileInjectable(Rf,`ng:///${e.name}/\u0275prov.js`,function(e,t){const i=t||{providedIn:null},a={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(Lf(i)||Pf(i))&&void 0!==i.deps&&(a.deps=Cd(i.deps)),Lf(i)?a.useClass=i.useClass:function(e){return cv in e}(i)?a.useValue=i.useValue:Pf(i)?a.useFactory=i.useFactory:function(e){return void 0!==e.useExisting}(i)&&(a.useExisting=i.useExisting),a}(e,t))),i)}),e.hasOwnProperty(Ee)||Object.defineProperty(e,Ee,{get:()=>{if(null===a){const f=Ui();a=f.compileFactory(Rf,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:ha(e),target:f.FactoryTarget.Injectable})}return a},configurable:!0})}(e,t));function bu(e){return e.length>1?" ("+function(e){const t=[];for(let i=0;i-1)return t.push(e[i]),t;t.push(e[i])}return t}(e.slice().reverse()).map(a=>p(a.token)).join(" -> ")+")":""}function Cu(e,t,i,a){const f=[t],v=i(f),O=a?function(e,t){const i=`${e} caused by: ${t instanceof Error?t.message:t}`,a=Error(i);return a[vl]=t,a}(v,a):Error(v);return O.addKey=gv,O.keys=f,O.injectors=[e],O.constructResolvingMessage=i,O[vl]=a,O}function gv(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function kf(e,t){const i=[];for(let a=0,f=t.length;aa,i=[wa.fromKey(bs.get(e.useExisting))]):e.useFactory?(t=e.useFactory,i=function(e,t){if(t){const i=t.map(a=>[a]);return t.map(a=>Hf(e,a,i))}return jf(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,i=Sv);return new Bf(t,i)}function Iv(e){return new Uf(bs.get(e.provide),[Tv(e)],e.multi||!1)}function wv(e){const a=function(e,t){for(let i=0;i{if(i instanceof aa)t.push({provide:i,useClass:i});else if(i&&"object"==typeof i&&void 0!==i.provide)t.push(i);else{if(!Array.isArray(i))throw function(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`)}(i);Vf(i,t)}}),t}function jf(e){const t=Ff.parameters(e);if(!t)return[];if(t.some(i=>null==i))throw kf(e,t);return t.map(i=>Hf(e,i,t))}function Hf(e,t,i){let a=null,f=!1;if(!Array.isArray(t))return Eu(t instanceof xo?t.token:t,f,null);let v=null;for(let O=0;O{class e{constructor(i,a){this._constructionCounter=0,this._providers=i,this.parent=a||null;const f=i.length;this.keyIds=[],this.objs=[];for(let v=0;v=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(i);return this._providers[i]}_new(i){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function(e,t){return Cu(e,t,function(i){return`Cannot instantiate cyclic dependency!${bu(i)}`})}(this,i.key);return this._instantiateProvider(i)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(i){if(i.multiProvider){const a=[];for(let f=0;fthis._getByReflectiveDependency(H))}catch(H){throw H.addKey&&H.addKey(this,i.key),H}try{O=f(...v)}catch(H){throw function(e,t,i,a){return Cu(e,a,function(f){const v=p(f[0].token);return`${t.message}: Error during instantiation of ${v}!${bu(f)}.`},t)}(this,H,0,i.key)}return O}_getByReflectiveDependency(i){return this._getByKey(i.key,i.visibility,i.optional?null:Ms)}_getByKey(i,a,f){return i===e.INJECTOR_KEY?this:a instanceof da?this._getByKeySelf(i,f):this._getByKeyDefault(i,f,a)}_getObjByKeyId(i){for(let a=0;a' "'+a.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=bs.get(wr),e})();function Wo(e,t=_e.Default){const i=ye();return null===i?zi(e,t):Pr(ne(),i,g(e),t)}function zf(){throw new Error("invalid")}function Mu(e,t,i){const a=ye();return nr(a,In(),t)&&Ir(M(),Pn(),a,e,t,a[11],i,!1),Mu}function Du(e,t,i,a,f){const O=f?"class":"style";sf(e,i,t.inputs[O],O,a)}function Su(e,t,i,a){const f=ye(),v=M(),O=20+e,H=f[11],se=f[O]=Tl(H,t,dn.lFrame.currentNamespace),Me=v.firstCreatePass?function(e,t,i,a,f,v,O){const H=t.consts,Me=qs(t,e,2,f,Yn(H,v));return $l(t,i,Me,Yn(H,O)),null!==Me.attrs&&Da(Me,Me.attrs,!1),null!==Me.mergedAttrs&&Da(Me,Me.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,Me),Me}(O,v,f,0,t,i,a):v.data[O];Je(Me,!0);const Le=Me.mergedAttrs;null!==Le&&vt(H,se,Le);const qe=Me.classes;null!==qe&&Rl(H,se,qe);const ht=Me.styles;null!==ht&&bh(H,se,ht),64!=(64&Me.flags)&&_a(v,f,se,Me),0===dn.lFrame.elementDepthCount&&tr(se,f),dn.lFrame.elementDepthCount++,bi(Me)&&(Kl(v,f,Me),Vh(v,Me,f)),null!==a&&Gl(f,Me)}function Tu(){let e=ne();at()?St():(e=e.parent,Je(e,!1));const t=e;dn.lFrame.elementDepthCount--;const i=M();i.firstCreatePass&&(or(i,e),Ri(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Du(i,t,ye(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Du(i,t,ye(),t.stylesWithoutHost,!1)}function Wf(e,t,i,a){Su(e,t,i,a),Tu()}function Iu(e,t,i){const a=ye(),f=M(),v=e+20,O=f.firstCreatePass?function(e,t,i,a,f){const v=t.consts,O=Yn(v,a),H=qs(t,e,8,"ng-container",O);return null!==O&&Da(H,O,!0),$l(t,i,H,Yn(v,f)),null!==t.queries&&t.queries.elementStart(t,H),H}(v,f,a,t,i):f.data[v];Je(O,!0);const H=a[v]=a[11].createComment("");_a(f,a,H,O),tr(H,a),bi(O)&&(Kl(f,a,O),Vh(f,O,a)),null!=i&&Gl(a,O)}function wu(){let e=ne();const t=M();at()?St():(e=e.parent,Je(e,!1)),t.firstCreatePass&&(or(t,e),Ri(e)&&t.queries.elementEnd(e))}function Kf(e,t,i){Iu(e,t,i),wu()}function Gf(){return ye()}function xu(e){return!!e&&"function"==typeof e.then}function $f(e){return!!e&&"function"==typeof e.subscribe}const Yf=$f;function Au(e,t,i,a){const f=ye(),v=M(),O=ne();return Qf(v,f,f[11],O,e,t,!!i,a),Au}function Ou(e,t){const i=ne(),a=ye(),f=M();return Qf(f,a,nf(gi(f.data),i,a),i,e,t,!1),Ou}function Qf(e,t,i,a,f,v,O,H){const se=bi(a),Le=e.firstCreatePass&&tf(e),qe=t[8],ht=ef(t);let Tt=!0;if(3&a.type||H){const qt=de(a,t),on=H?H(qt):qt,zt=ht.length,_n=H?Kn=>H(fe(Kn[a.index])):a.index;if(Wn(i)){let Kn=null;if(!H&&se&&(Kn=function(e,t,i,a){const f=e.cleanup;if(null!=f)for(let v=0;vse?H[se]:null}"string"==typeof O&&(v+=2)}return null}(e,t,f,a.index)),null!==Kn)(Kn.__ngLastListenerFn__||Kn).__ngNextListenerFn__=v,Kn.__ngLastListenerFn__=v,Tt=!1;else{v=Ru(a,t,qe,v,!1);const ni=i.listen(on,f,v);ht.push(v,ni),Le&&Le.push(f,_n,zt,zt+1)}}else v=Ru(a,t,qe,v,!0),on.addEventListener(f,v,O),ht.push(v),Le&&Le.push(f,_n,zt,O)}else v=Ru(a,t,qe,v,!1);const Bt=a.outputs;let Kt;if(Tt&&null!==Bt&&(Kt=Bt[f])){const qt=Kt.length;if(qt)for(let on=0;on0;)t=t[15],e--;return t}(e,dn.lFrame.contextLView))[8]}(e)}function Nv(e,t){let i=null;const a=function(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(0==(1&i))return t[i+1]}return null}(e);for(let f=0;f=0}const Bi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function t0(e){return e.substring(Bi.key,Bi.keyEnd)}function Vv(e){return e.substring(Bi.value,Bi.valueEnd)}function n0(e,t){const i=Bi.textEnd;return i===t?-1:(t=Bi.keyEnd=function(e,t,i){for(;t32;)t++;return t}(e,Bi.key=t,i),fo(e,t,i))}function r0(e,t){const i=Bi.textEnd;let a=Bi.key=fo(e,t,i);return i===a?-1:(a=Bi.keyEnd=function(e,t,i){let a;for(;t=65&&(-33&a)<=90||a>=48&&a<=57);)t++;return t}(e,a,i),a=o0(e,a,i),a=Bi.value=fo(e,a,i),a=Bi.valueEnd=function(e,t,i){let a=-1,f=-1,v=-1,O=t,H=O;for(;O32&&(H=O),v=f,f=a,a=-33&se}return H}(e,a,i),o0(e,a,i))}function s0(e){Bi.key=0,Bi.keyEnd=0,Bi.value=0,Bi.valueEnd=0,Bi.textEnd=e.length}function fo(e,t,i){for(;t=0;i=r0(t,i))d0(e,t0(t),Vv(t))}function l0(e){qr(Tr,as,e,!0)}function as(e,t){for(let i=function(e){return s0(e),n0(e,fo(e,0,Bi.textEnd))}(t);i>=0;i=n0(t,i))Tr(e,t0(t),!0)}function Qr(e,t,i,a){const f=ye(),v=M(),O=Gn(2);v.firstUpdatePass&&c0(v,e,O,a),t!==On&&nr(f,O,t)&&h0(v,v.data[Un()],f,f[11],e,f[O+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=p(_s(e)))),e}(t,i),a,O)}function qr(e,t,i,a){const f=M(),v=Gn(2);f.firstUpdatePass&&c0(f,null,v,a);const O=ye();if(i!==On&&nr(O,v,i)){const H=f.data[Un()];if(p0(H,a)&&!u0(f,v)){let se=a?H.classesWithoutHost:H.stylesWithoutHost;null!==se&&(i=y(se,i||"")),Du(f,H,O,i,a)}else!function(e,t,i,a,f,v,O,H){f===On&&(f=Ge);let se=0,Me=0,Le=0=e.expandoStartIndex}function c0(e,t,i,a){const f=e.data;if(null===f[i+1]){const v=f[Un()],O=u0(e,i);p0(v,a)&&null===t&&!O&&(t=!1),t=function(e,t,i,a){const f=gi(e);let v=a?t.residualClasses:t.residualStyles;if(null===f)0===(a?t.classBindings:t.styleBindings)&&(i=Ko(i=Wu(null,e,t,i,a),t.attrs,a),v=null);else{const O=t.directiveStylingLast;if(-1===O||e[O]!==f)if(i=Wu(f,e,t,i,a),null===v){let se=function(e,t,i){const a=i?t.classBindings:t.styleBindings;if(0!==ys(a))return e[$r(a)]}(e,t,a);void 0!==se&&Array.isArray(se)&&(se=Wu(null,e,t,se[1],a),se=Ko(se,t.attrs,a),function(e,t,i,a){e[$r(i?t.classBindings:t.styleBindings)]=a}(e,t,a,se))}else v=function(e,t,i){let a;const f=t.directiveEnd;for(let v=1+t.directiveStylingLast;v0)&&(Me=!0)}else Le=i;if(f)if(0!==se){const ht=$r(e[H+1]);e[a+1]=va(ht,H),0!==ht&&(e[ht+1]=Pl(e[ht+1],a)),e[H+1]=function(e,t){return 131071&e|t<<17}(e[H+1],a)}else e[a+1]=va(H,0),0!==H&&(e[H+1]=Pl(e[H+1],a)),H=a;else e[a+1]=va(se,0),0===H?H=a:e[se+1]=Pl(e[se+1],a),se=a;Me&&(e[a+1]=Ll(e[a+1])),e0(e,Le,a,!0),e0(e,Le,a,!1),function(e,t,i,a,f){const v=f?e.residualClasses:e.residualStyles;null!=v&&"string"==typeof t&&Ws(v,t)>=0&&(i[a+1]=kl(i[a+1]))}(t,Le,e,a,v),O=va(H,se),v?t.classBindings=O:t.styleBindings=O}(f,v,t,i,O,a)}}function Wu(e,t,i,a,f){let v=null;const O=i.directiveEnd;let H=i.directiveStylingLast;for(-1===H?H=i.directiveStart:H++;H0;){const se=e[f],Me=Array.isArray(se),Le=Me?se[1]:se,qe=null===Le;let ht=i[f+1];ht===On&&(ht=qe?Ge:void 0);let Tt=qe?tl(ht,a):Le===a?ht:void 0;if(Me&&!Aa(Tt)&&(Tt=tl(se,a)),Aa(Tt)&&(H=Tt,O))return H;const Bt=e[f+1];f=O?$r(Bt):ys(Bt)}if(null!==t){let se=v?t.residualClasses:t.residualStyles;null!=se&&(H=tl(se,a))}return H}function Aa(e){return void 0!==e}function p0(e,t){return 0!=(e.flags&(t?16:32))}function m0(e,t=""){const i=ye(),a=M(),f=e+20,v=a.firstCreatePass?qs(a,f,1,t,null):a.data[f],O=i[f]=Sl(i[11],t);_a(a,i,O,v),Je(v,!1)}function Ku(e){return Oa("",e,""),Ku}function Oa(e,t,i){const a=ye(),f=io(a,e,t,i);return f!==On&&vs(a,Un(),f),Oa}function Gu(e,t,i,a,f){const v=ye(),O=ro(v,e,t,i,a,f);return O!==On&&vs(v,Un(),O),Gu}function $u(e,t,i,a,f,v,O){const H=ye(),se=so(H,e,t,i,a,f,v,O);return se!==On&&vs(H,Un(),se),$u}function Yu(e,t,i,a,f,v,O,H,se){const Me=ye(),Le=oo(Me,e,t,i,a,f,v,O,H,se);return Le!==On&&vs(Me,Un(),Le),Yu}function Qu(e,t,i,a,f,v,O,H,se,Me,Le){const qe=ye(),ht=ao(qe,e,t,i,a,f,v,O,H,se,Me,Le);return ht!==On&&vs(qe,Un(),ht),Qu}function qu(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht){const Tt=ye(),Bt=lo(Tt,e,t,i,a,f,v,O,H,se,Me,Le,qe,ht);return Bt!==On&&vs(Tt,Un(),Bt),qu}function Xu(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt){const Kt=ye(),qt=uo(Kt,e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt);return qt!==On&&vs(Kt,Un(),qt),Xu}function Zu(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt){const on=ye(),zt=co(on,e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt);return zt!==On&&vs(on,Un(),zt),Zu}function Ju(e){const t=ye(),i=no(t,e);return i!==On&&vs(t,Un(),i),Ju}function g0(e,t,i){qr(Tr,as,io(ye(),e,t,i),!0)}function _0(e,t,i,a,f){qr(Tr,as,ro(ye(),e,t,i,a,f),!0)}function y0(e,t,i,a,f,v,O){qr(Tr,as,so(ye(),e,t,i,a,f,v,O),!0)}function v0(e,t,i,a,f,v,O,H,se){qr(Tr,as,oo(ye(),e,t,i,a,f,v,O,H,se),!0)}function b0(e,t,i,a,f,v,O,H,se,Me,Le){qr(Tr,as,ao(ye(),e,t,i,a,f,v,O,H,se,Me,Le),!0)}function C0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht){qr(Tr,as,lo(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht),!0)}function E0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt){qr(Tr,as,uo(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt),!0)}function M0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt){qr(Tr,as,co(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt),!0)}function D0(e){qr(Tr,as,no(ye(),e),!0)}function S0(e,t,i){Yr(io(ye(),e,t,i))}function T0(e,t,i,a,f){Yr(ro(ye(),e,t,i,a,f))}function I0(e,t,i,a,f,v,O){Yr(so(ye(),e,t,i,a,f,v,O))}function w0(e,t,i,a,f,v,O,H,se){Yr(oo(ye(),e,t,i,a,f,v,O,H,se))}function x0(e,t,i,a,f,v,O,H,se,Me,Le){Yr(ao(ye(),e,t,i,a,f,v,O,H,se,Me,Le))}function A0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht){Yr(lo(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht))}function O0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt){Yr(uo(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt))}function R0(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt){Yr(co(ye(),e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt))}function L0(e){Yr(no(ye(),e))}function ec(e,t,i,a,f){return Qr(e,io(ye(),t,i,a),f,!1),ec}function tc(e,t,i,a,f,v,O){return Qr(e,ro(ye(),t,i,a,f,v),O,!1),tc}function nc(e,t,i,a,f,v,O,H,se){return Qr(e,so(ye(),t,i,a,f,v,O,H),se,!1),nc}function ic(e,t,i,a,f,v,O,H,se,Me,Le){return Qr(e,oo(ye(),t,i,a,f,v,O,H,se,Me),Le,!1),ic}function rc(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht){return Qr(e,ao(ye(),t,i,a,f,v,O,H,se,Me,Le,qe),ht,!1),rc}function sc(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt){return Qr(e,lo(ye(),t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt),Bt,!1),sc}function oc(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt){return Qr(e,uo(ye(),t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt),qt,!1),oc}function ac(e,t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt,on,zt){return Qr(e,co(ye(),t,i,a,f,v,O,H,se,Me,Le,qe,ht,Tt,Bt,Kt,qt,on),zt,!1),ac}function lc(e,t,i){return Qr(e,no(ye(),t),i,!1),lc}function uc(e,t,i){const a=ye();return nr(a,In(),t)&&Ir(M(),Pn(),a,e,t,a[11],i,!0),uc}function cc(e,t,i){const a=ye();if(nr(a,In(),t)){const v=M(),O=Pn();Ir(v,O,a,e,t,nf(gi(v.data),O,a),i,!0)}return cc}const Ls=void 0;var tb=["en",[["a","p"],["AM","PM"],Ls],[["AM","PM"],Ls,Ls],[["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"]],Ls,[["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"]],Ls,[["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}",Ls,"{1} 'at' {0}",Ls],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const i=Math.floor(Math.abs(e)),a=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===a?1:5}];let po={};function nb(e,t,i){"string"!=typeof t&&(i=t,t=e[En.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),po[t]=e,i&&(po[t][En.ExtraData]=i)}function dc(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=k0(t);if(i)return i;const a=t.split("-")[0];if(i=k0(a),i)return i;if("en"===a)return tb;throw new Error(`Missing locale data for the locale "${e}".`)}function ib(e){return dc(e)[En.CurrencyCode]||null}function P0(e){return dc(e)[En.PluralCase]}function k0(e){return e in po||(po[e]=Lt.ng&&Lt.ng.common&&Lt.ng.common.locales&&Lt.ng.common.locales[e]),po[e]}function rb(){po={}}var En=(()=>((En=En||{})[En.LocaleId=0]="LocaleId",En[En.DayPeriodsFormat=1]="DayPeriodsFormat",En[En.DayPeriodsStandalone=2]="DayPeriodsStandalone",En[En.DaysFormat=3]="DaysFormat",En[En.DaysStandalone=4]="DaysStandalone",En[En.MonthsFormat=5]="MonthsFormat",En[En.MonthsStandalone=6]="MonthsStandalone",En[En.Eras=7]="Eras",En[En.FirstDayOfWeek=8]="FirstDayOfWeek",En[En.WeekendRange=9]="WeekendRange",En[En.DateFormat=10]="DateFormat",En[En.TimeFormat=11]="TimeFormat",En[En.DateTimeFormat=12]="DateTimeFormat",En[En.NumberSymbols=13]="NumberSymbols",En[En.NumberFormats=14]="NumberFormats",En[En.CurrencyCode=15]="CurrencyCode",En[En.CurrencySymbol=16]="CurrencySymbol",En[En.CurrencyName=17]="CurrencyName",En[En.Currencies=18]="Currencies",En[En.Directionality=19]="Directionality",En[En.PluralCase=20]="PluralCase",En[En.ExtraData=21]="ExtraData",En))();const ob=["zero","one","two","few","many"],Go="en-US",Ra={marker:"element"},La={marker:"ICU"};var Mi=(()=>((Mi=Mi||{})[Mi.SHIFT=2]="SHIFT",Mi[Mi.APPEND_EAGERLY=1]="APPEND_EAGERLY",Mi[Mi.COMMENT=2]="COMMENT",Mi))();let N0=Go;function F0(e){(function(e,t){null==e&&tt(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(N0=e.toLowerCase().replace(/_/g,"-"))}function U0(e,t,i){const a=t.insertBeforeIndex,f=Array.isArray(a)?a[0]:a;return null===f?ph(e,0,i):fe(i[f])}function B0(e,t,i,a,f){const v=t.insertBeforeIndex;if(Array.isArray(v)){let O=a,H=null;if(3&t.type||(H=O,O=f),null!==O&&0==(2&t.flags))for(let se=1;se1)for(let i=e.length-2;i>=0;i--){const a=e[i];j0(a)||cb(a,t)&&null===db(a)&&hb(a,t.index)}}function j0(e){return!(64&e.type)}function cb(e,t){return j0(t)||e.index>t.index}function db(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function hb(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(gh(U0,B0),e.insertBeforeIndex=t)}function $o(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function mb(e,t,i){const a=Wl(e,i,64,null,null);return V0(t,a),a}function Pa(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function H0(e){return e>>>17}function z0(e){return(131070&e)>>>1}let Yo=0,Qo=0;function K0(e,t,i,a){const f=i[11];let O,v=null;for(let H=0;H>>1,i),null,null,Tt,Bt,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${se}"`)}else switch(se){case La:const Me=t[++H],Le=t[++H];null===i[Le]&&tr(i[Le]=S_(f,Me),i);break;case Ra:const qe=t[++H],ht=t[++H];null===i[ht]&&tr(i[ht]=Tl(f,qe,null),i)}}}function G0(e,t,i,a,f){for(let v=0;v>>2;switch(3&Le){case 1:const ht=i[++Me],Tt=i[++Me],Bt=e.data[qe];"string"==typeof Bt?Yl(t[11],t[qe],null,Bt,ht,se,Tt):Ir(e,Bt,t,ht,se,t[11],Tt,!1);break;case 0:const Kt=t[qe];null!==Kt&&oh(t[11],Kt,se);break;case 2:bb(e,$o(e,qe),t,se);break;case 3:$0(e,$o(e,qe),a,t)}}}}else{const se=i[v+1];if(se>0&&3==(3&se)){const Le=$o(e,se>>>2);t[Le.currentCaseLViewIndex]<0&&$0(e,Le,a,t)}}v+=H}}function $0(e,t,i,a){let f=a[t.currentCaseLViewIndex];if(null!==f){let v=Yo;f<0&&(f=a[t.currentCaseLViewIndex]=~f,v=-1),G0(e,a,t.update[f],i,v)}}function bb(e,t,i,a){const f=function(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const a=function(e,t){const i=P0(t)(parseInt(e,10)),a=ob[i];return void 0!==a?a:"other"}(t,N0);i=e.cases.indexOf(a),-1===i&&"other"!==a&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,a);if(Pa(t,i)!==f&&(Y0(e,t,i),i[t.currentCaseLViewIndex]=null===f?null:~f,null!==f)){const O=i[t.anchorIdx];O&&K0(e,t.create[f],i,O)}}function Y0(e,t,i){let a=Pa(t,i);if(null!==a){const f=t.remove[a];for(let v=0;v0){const H=I(O,i);null!==H&&yh(i[11],H)}else Y0(e,$o(e,~O),i)}}}function Eb(){const e=[];let i,a,t=-1;function v(H,se){t=0;const Me=Pa(H,se);a=null!==Me?H.remove[Me]:Ge}function O(){if(t0?i[H]:(e.push(t,a),v(i[1].data[~H],i),O())}return 0===e.length?null:(a=e.pop(),t=e.pop(),O())}return function(H,se){for(i=se;e.length;)e.pop();return v(H.value,se),O}}const ka=/\ufffd(\d+):?\d*\ufffd/gi,Mb=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,Db=/\ufffd(\d+)\ufffd/,q0=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,Sb=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,Tb=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,Ib=/\uE500/g;function X0(e,t,i,a,f,v,O){const H=Xs(e,a,1,null);let se=H<i.length&&i.push(se)}return{type:a,mainBinding:f,cases:t,values:i}}function hc(e){if(!e)return[];let t=0;const i=[],a=[],f=/[{}]/g;let v;for(f.lastIndex=0;v=f.exec(e);){const H=v.index;if("}"==v[0]){if(i.pop(),0==i.length){const se=e.substring(t,H);q0.test(se)?a.push(kb(se)):a.push(se),t=H+1}}else{if(0==i.length){const se=e.substring(t,H);a.push(se),t=H+1}i.push("{")}}const O=e.substring(t);return a.push(O),a}function Nb(e,t,i,a,f,v,O,H){const se=[],Me=[],Le=[];t.cases.push(v),t.create.push(se),t.remove.push(Me),t.update.push(Le);const ht=xd(Yi()).getInertBodyElement(O),Tt=pl(ht)||ht;return Tt?tp(e,t,i,a,se,Me,Le,Tt,f,H,0):0}function tp(e,t,i,a,f,v,O,H,se,Me,Le){let qe=0,ht=H.firstChild;for(;ht;){const Tt=Xs(e,i,1,null);switch(ht.nodeType){case Node.ELEMENT_NODE:const Bt=ht,Kt=Bt.tagName.toLowerCase();if(dl.hasOwnProperty(Kt)){fc(f,Ra,Kt,se,Tt),e.data[Tt]=Kt;const _n=Bt.attributes;for(let Kn=0;Kn<_n.length;Kn++){const ni=_n.item(Kn),Ar=ni.name.toLowerCase();ni.value.match(ka)?Pd.hasOwnProperty(Ar)&&mo(O,ni.value,Tt,ni.name,0,hl[Ar]?Oo:fl[Ar]?Ad:null):Vb(f,Tt,ni)}qe=tp(e,t,i,a,f,v,O,ht,Tt,Me,Le+1)|qe,np(v,Tt,Le)}break;case Node.TEXT_NODE:const qt=ht.textContent||"",on=qt.match(ka);fc(f,null,on?"":qt,se,Tt),np(v,Tt,Le),on&&(qe=mo(O,qt,Tt,null,0,null)|qe);break;case Node.COMMENT_NODE:const zt=Db.exec(ht.textContent||"");if(zt){const Kn=Me[parseInt(zt[1],10)];fc(f,La,"",se,Tt),ep(e,i,a,se,Kn,Tt),Fb(v,Tt,Le)}}ht=ht.nextSibling}return qe}function np(e,t,i){0===i&&e.push(t)}function Fb(e,t,i){0===i&&(e.push(~t),e.push(t))}function fc(e,t,i,a,f){null!==t&&e.push(t),e.push(i,f,function(e,t,i){return 0|t<<17|i<<1}(0,a,f))}function Vb(e,t,i){e.push(t<<1|1,i.name,i.value)}const jb=/\[(\ufffd.+?\ufffd?)\]/,Hb=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,zb=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Wb=/{([A-Z0-9_]+)}/g,Kb=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Gb=/\/\*/,$b=/\d+\:(\d+)/;function pc(e,t,i=-1){const a=M(),f=ye(),v=20+e,O=Yn(a.consts,t),H=He();a.firstCreatePass&&function(e,t,i,a,f,v){const O=He(),H=[],se=[],Me=[[]];f=function(e,t){if(function(e){return-1===e}(t))return J0(e);{const i=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,a=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return J0(e.substring(i,a))}}(f,v);const Le=function(e){return e.replace(Ib," ")}(f).split(Tb);for(let qe=0;qe>>Mi.SHIFT;let qe=e[Le];null===qe&&(qe=e[Le]=se?f.createComment(H):Sl(f,H)),Me&&null!==i&&Os(f,i,qe,a,!1)}})(f,se.create,Le,H&&8&H.type?f[H.index]:null),Ci(!0)}function mc(){Ci(!1)}function rp(e,t,i){pc(e,t,i),mc()}function sp(e,t){const i=M();!function(e,t,i){const f=ne().index,v=[];if(e.firstCreatePass&&null===e.data[t]){for(let O=0;O0){const a=e.data[i];G0(e,t,Array.isArray(a)?a:a.update,rn()-Qo-1,Yo)}Yo=0,Qo=0}(M(),ye(),e+20)}function ap(e,t={}){return function(e,t={}){let i=e;if(jb.test(e)){const a={},f=[0];i=i.replace(Hb,(v,O,H)=>{const se=O||H,Me=a[se]||[];if(Me.length||(se.split("|").forEach(Kt=>{const qt=Kt.match($b),on=qt?parseInt(qt[1],10):0,zt=Gb.test(Kt);Me.push([on,zt,Kt])}),a[se]=Me),!Me.length)throw new Error(`i18n postprocess: unmatched placeholder - ${se}`);const Le=f[f.length-1];let qe=0;for(let Kt=0;Ktt.hasOwnProperty(v)?`${f}${t[v]}${se}`:a),i=i.replace(Wb,(a,f)=>t.hasOwnProperty(f)?t[f]:a),i=i.replace(Kb,(a,f)=>{if(t.hasOwnProperty(f)){const v=t[f];if(!v.length)throw new Error(`i18n postprocess: unmatched ICU - ${a} with key: ${f}`);return v.shift()}return a})),i}(e,t)}function _c(e,t,i,a,f){if(e=g(e),Array.isArray(e))for(let v=0;v>20;if(eo(e)||!e.multi){const Tt=new fs(se,f,Wo),Bt=vc(H,t,f?Le:Le+ht,qe);-1===Bt?(vr(cn(Me,O),v,H),yc(v,e,t.length),t.push(H),Me.directiveStart++,Me.directiveEnd++,f&&(Me.providerIndexes+=1048576),i.push(Tt),O.push(Tt)):(i[Bt]=Tt,O[Bt]=Tt)}else{const Tt=vc(H,t,Le+ht,qe),Bt=vc(H,t,Le,Le+ht),Kt=Tt>=0&&i[Tt],qt=Bt>=0&&i[Bt];if(f&&!qt||!f&&!Kt){vr(cn(Me,O),v,H);const on=function(e,t,i,a,f){const v=new fs(e,i,Wo);return v.multi=[],v.index=t,v.componentProviders=0,lp(v,f,a&&!i),v}(f?Xb:qb,i.length,f,a,se);!f&&qt&&(i[Bt].providerFactory=on),yc(v,e,t.length,0),t.push(H),Me.directiveStart++,Me.directiveEnd++,f&&(Me.providerIndexes+=1048576),i.push(on),O.push(on)}else yc(v,e,Tt>-1?Tt:Bt,lp(i[f?Bt:Tt],se,!f&&a));!f&&a&&qt&&i[Bt].componentProviders++}}}function yc(e,t,i,a){const f=eo(t),v=function(e){return!!e.useClass}(t);if(f||v){const se=(v?g(t.useClass):t).prototype.ngOnDestroy;if(se){const Me=e.destroyHooks||(e.destroyHooks=[]);if(!f&&t.multi){const Le=Me.indexOf(i);-1===Le?Me.push(i,[a,se]):Me[Le+1].push(a,se)}else Me.push(i,se)}}}function lp(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function vc(e,t,i,a){for(let f=i;f{i.providersResolver=(a,f)=>function(e,t,i){const a=M();if(a.firstCreatePass){const f=si(e);_c(i,a.data,a.blueprint,f,!0),_c(t,a.data,a.blueprint,f,!1)}}(a,f?f(e):e,t)}}class cp{}class Na{}class e1{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${p(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let Xo=(()=>{class e{}return e.NULL=new e1,e})();function t1(){return go(ne(),ye())}function go(e,t){return new Zo(de(e,t))}let Zo=(()=>{class e{constructor(i){this.nativeElement=i}}return e.__NG_ELEMENT_ID__=t1,e})();function n1(e){return e instanceof Zo?e.nativeElement:e}class hp{}let r1=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function(){const e=ye(),i=hn(ne().index,e);return function(e){return e[11]}(ci(i)?i:e)}(),e})(),fp=(()=>{class e{}return e.\u0275prov=Ie({token:e,providedIn:"root",factory:()=>null}),e})();class pp{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const mp=new pp("13.1.1"),Fa={};function Ua(e,t,i,a,f=!1){for(;null!==i;){const v=t[i.index];if(null!==v&&a.push(fe(v)),Xn(v))for(let H=10;H-1&&(Il(t,a),la(i,a))}this._attachedToViewContainer=!1}lh(this._lView[1],this._lView)}onDestroy(t){Wh(this._lView[1],this._lView,null,t)}markForCheck(){ql(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Zl(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,i){yn(!0);try{Zl(e,t,i)}finally{yn(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Fo(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class a1 extends _o{constructor(t){super(t),this._view=t}detectChanges(){Jh(this._view)}checkNoChanges(){!function(e){yn(!0);try{Jh(e)}finally{yn(!1)}}(this._view)}get context(){return null}}class gp extends Xo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=At(t);return new Ba(i,this.ngModule)}}function _p(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}const u1=new Ei("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Xd});class Ba extends Na{constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=t.selectors.map($_).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}get inputs(){return _p(this.componentDef.inputs)}get outputs(){return _p(this.componentDef.outputs)}create(t,i,a,f){const v=(f=f||this.ngModule)?function(e,t){return{get:(i,a,f)=>{const v=e.get(i,Fa,f);return v!==Fa||a===Fa?v:t.get(i,a,f)}}}(t,f.injector):t,O=v.get(hp,Dr),H=v.get(fp,null),se=O.createRenderer(null,this.componentDef),Me=this.componentDef.selectors[0][0]||"div",Le=a?zh(se,a,this.componentDef.encapsulation):Tl(O.createRenderer(null,this.componentDef),Me,function(e){const t=e.toLowerCase();return"svg"===t?rr:"math"===t?Br:null}(Me)),qe=this.componentDef.onPush?576:528,ht=Df(),Tt=Ea(0,null,null,1,0,null,null,null,null,null),Bt=Uo(null,Tt,ht,qe,null,null,O,se,H,v);let Kt,qt;mr(Bt);try{const on=Ef(Le,this.componentDef,Bt,O,se);if(Le)if(a)vt(se,Le,["ng-version",mp.full]);else{const{attrs:zt,classes:_n}=function(e){const t=[],i=[];let a=1,f=2;for(;a0&&Rl(se,Le,_n.join(" "))}if(qt=wt(Tt,20),void 0!==i){const zt=qt.projection=[];for(let _n=0;_n{const f=e;null!==t&&(f.hasOwnProperty("decorators")&&void 0!==f.decorators?f.decorators.push(...t):f.decorators=t),null!==i&&(f.ctorParameters=i),null!==a&&(f.propDecorators=f.hasOwnProperty("propDecorators")&&void 0!==f.propDecorators?Object.assign(Object.assign({},f.propDecorators),a):a)})}class yo{}class bp{}const vo=new Map;function Ep(e){const t=new Set;!function i(a){const f=fn(a,!0),v=f.id;if(null!==v){(function(e,t,i){if(t&&t!==i)throw new Error(`Duplicate module registered for ${e} - ${p(t)} vs ${p(t.name)}`)})(v,vo.get(v),a),vo.set(v,a)}const O=is(f.imports);for(const H of O)t.has(H)||(t.add(H),i(H))}(e)}function Mp(e){return vo.get(e)||$t[e]}function h1(e,t){return new Cc(e,null!=t?t:null)}class Cc extends yo{constructor(t,i){super(),this._parent=i,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new gp(this);const a=fn(t);this._bootstrapComponents=is(a.bootstrap),this._r3Injector=df(t,i,[{provide:yo,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver}],p(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,i=wr.THROW_IF_NOT_FOUND,a=_e.Default){return t===wr||t===yo||t===Sa?this:this._r3Injector.get(t,i,a)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Va extends bp{constructor(t){super(),this.moduleType=t,null!==fn(t)&&Ep(t)}create(t){return new Cc(this.moduleType,t)}}function Dp(e,t,i){const a=pn()+e,f=ye();return f[a]===On?os(f,a,i?t.call(i):t()):Ho(f,a)}function Sp(e,t,i,a){return Pp(ye(),pn(),e,t,i,a)}function Tp(e,t,i,a,f){return kp(ye(),pn(),e,t,i,a,f)}function Ip(e,t,i,a,f,v){return Np(ye(),pn(),e,t,i,a,f,v)}function wp(e,t,i,a,f,v,O){return Fp(ye(),pn(),e,t,i,a,f,v,O)}function xp(e,t,i,a,f,v,O,H){const se=pn()+e,Me=ye(),Le=Fr(Me,se,i,a,f,v);return nr(Me,se+4,O)||Le?os(Me,se+5,H?t.call(H,i,a,f,v,O):t(i,a,f,v,O)):Ho(Me,se+5)}function Ap(e,t,i,a,f,v,O,H,se){const Me=pn()+e,Le=ye(),qe=Fr(Le,Me,i,a,f,v);return Rs(Le,Me+4,O,H)||qe?os(Le,Me+6,se?t.call(se,i,a,f,v,O,H):t(i,a,f,v,O,H)):Ho(Le,Me+6)}function Op(e,t,i,a,f,v,O,H,se,Me){const Le=pn()+e,qe=ye();let ht=Fr(qe,Le,i,a,f,v);return Ia(qe,Le+4,O,H,se)||ht?os(qe,Le+7,Me?t.call(Me,i,a,f,v,O,H,se):t(i,a,f,v,O,H,se)):Ho(qe,Le+7)}function Rp(e,t,i,a,f,v,O,H,se,Me,Le){const qe=pn()+e,ht=ye(),Tt=Fr(ht,qe,i,a,f,v);return Fr(ht,qe+4,O,H,se,Me)||Tt?os(ht,qe+8,Le?t.call(Le,i,a,f,v,O,H,se,Me):t(i,a,f,v,O,H,se,Me)):Ho(ht,qe+8)}function Lp(e,t,i,a){return Up(ye(),pn(),e,t,i,a)}function Jo(e,t){const i=e[t];return i===On?void 0:i}function Pp(e,t,i,a,f,v){const O=t+i;return nr(e,O,f)?os(e,O+1,v?a.call(v,f):a(f)):Jo(e,O+1)}function kp(e,t,i,a,f,v,O){const H=t+i;return Rs(e,H,f,v)?os(e,H+2,O?a.call(O,f,v):a(f,v)):Jo(e,H+2)}function Np(e,t,i,a,f,v,O,H){const se=t+i;return Ia(e,se,f,v,O)?os(e,se+3,H?a.call(H,f,v,O):a(f,v,O)):Jo(e,se+3)}function Fp(e,t,i,a,f,v,O,H,se){const Me=t+i;return Fr(e,Me,f,v,O,H)?os(e,Me+4,se?a.call(se,f,v,O,H):a(f,v,O,H)):Jo(e,Me+4)}function Up(e,t,i,a,f,v){let O=t+i,H=!1;for(let se=0;se=0;i--){const a=t[i];if(e===a.name)return a}}(t,i.pipeRegistry),i.data[f]=a,a.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(f,a.onDestroy)):a=i.data[f];const v=a.factory||(a.factory=Si(a.type)),O=_(Wo);try{const H=Fe(!1),se=v();return Fe(H),Af(i,ye(),f,se),se}finally{_(O)}}function Vp(e,t,i){const a=e+20,f=ye(),v=Wt(f,a);return ea(f,a)?Pp(f,pn(),t,v.transform,i,v):v.transform(i)}function jp(e,t,i,a){const f=e+20,v=ye(),O=Wt(v,f);return ea(v,f)?kp(v,pn(),t,O.transform,i,a,O):O.transform(i,a)}function Hp(e,t,i,a,f){const v=e+20,O=ye(),H=Wt(O,v);return ea(O,v)?Np(O,pn(),t,H.transform,i,a,f,H):H.transform(i,a,f)}function zp(e,t,i,a,f,v){const O=e+20,H=ye(),se=Wt(H,O);return ea(H,O)?Fp(H,pn(),t,se.transform,i,a,f,v,se):se.transform(i,a,f,v)}function Wp(e,t,i){const a=e+20,f=ye(),v=Wt(f,a);return ea(f,a)?Up(f,pn(),t,v.transform,i,v):v.transform.apply(v,i)}function ea(e,t){return e[1].data[t].pure}function Ec(e){return t=>{setTimeout(e,void 0,t)}}const ls=class extends n.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,a){var f,v,O;let H=t,se=i||(()=>null),Me=a;if(t&&"object"==typeof t){const qe=t;H=null===(f=qe.next)||void 0===f?void 0:f.bind(qe),se=null===(v=qe.error)||void 0===v?void 0:v.bind(qe),Me=null===(O=qe.complete)||void 0===O?void 0:O.bind(qe)}this.__isAsync&&(se=Ec(se),H&&(H=Ec(H)),Me&&(Me=Ec(Me)));const Le=super.subscribe({next:H,error:se,complete:Me});return t instanceof l.w&&t.add(Le),Le}};function m1(){return this._results[to()]()}class ja{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=to(),a=ja.prototype;a[i]||(a[i]=m1)}get changes(){return this._changes||(this._changes=new ls)}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 a=this;a.dirty=!1;const f=kr(t);(this._changesDetected=!function(e,t,i){if(e.length!==t.length)return!1;for(let a=0;a{class e{}return e.__NG_ELEMENT_ID__=y1,e})();const g1=ta,_1=class extends g1{constructor(t,i,a){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=a}createEmbeddedView(t){const i=this._declarationTContainer.tViews,a=Uo(this._declarationLView,i,t,16,null,i.declTNode,null,null,null,null);a[17]=this._declarationLView[this._declarationTContainer.index];const v=this._declarationLView[19];return null!==v&&(a[19]=v.createEmbeddedView(i)),Bo(i,a,t),new _o(a)}};function y1(){return Ha(ne(),ye())}function Ha(e,t){return 4&e.type?new _1(t,e,go(e,t)):null}let za=(()=>{class e{}return e.__NG_ELEMENT_ID__=v1,e})();function v1(){return $p(ne(),ye())}const b1=za,Kp=class extends b1{constructor(t,i,a){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=a}get element(){return go(this._hostTNode,this._hostLView)}get injector(){return new Us(this._hostTNode,this._hostLView)}get parentInjector(){const t=es(this._hostTNode,this._hostLView);if(re(t)){const i=ge(t,this._hostLView),a=W(t);return new Us(i[1].data[a+8],i)}return new Us(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Gp(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,i,a){const f=t.createEmbeddedView(i||{});return this.insert(f,a),f}createComponent(t,i,a,f,v){const O=t&&!So(t);let H;if(O)H=i;else{const qe=i||{};H=qe.index,a=qe.injector,f=qe.projectableNodes,v=qe.ngModuleRef}const se=O?t:new Ba(At(t)),Me=a||this.parentInjector;if(!v&&null==se.ngModule&&Me){const qe=Me.get(yo,null);qe&&(v=qe)}const Le=se.create(Me,f,void 0,v);return this.insert(Le.hostView,H),Le}insert(t,i){const a=t._lView,f=a[1];if(Xn(a[3])){const Le=this.indexOf(t);if(-1!==Le)this.detach(Le);else{const qe=a[3],ht=new Kp(qe,qe[6],qe[3]);ht.detach(ht.indexOf(t))}}const v=this._adjustIndex(i),O=this._lContainer;!function(e,t,i,a){const f=10+a,v=i.length;a>0&&(i[f-1][4]=t),a0)a.push(O[H/2]);else{const Me=v[H+1],Le=t[-se];for(let qe=10;qe({\u0275\u0275attribute:cu,\u0275\u0275attributeInterpolate1:du,\u0275\u0275attributeInterpolate2:hu,\u0275\u0275attributeInterpolate3:fu,\u0275\u0275attributeInterpolate4:pu,\u0275\u0275attributeInterpolate5:mu,\u0275\u0275attributeInterpolate6:gu,\u0275\u0275attributeInterpolate7:_u,\u0275\u0275attributeInterpolate8:yu,\u0275\u0275attributeInterpolateV:vu,\u0275\u0275defineComponent:be,\u0275\u0275defineDirective:Ve,\u0275\u0275defineInjectable:Ie,\u0275\u0275defineInjector:ct,\u0275\u0275defineNgModule:vn,\u0275\u0275definePipe:ut,\u0275\u0275directiveInject:Wo,\u0275\u0275getInheritedFactory:dd,\u0275\u0275inject:zi,\u0275\u0275injectAttribute:Ja,\u0275\u0275invalidFactory:zf,\u0275\u0275invalidFactoryDep:ol,\u0275\u0275templateRefExtractor:im,\u0275\u0275NgOnChangesFeature:Gi,\u0275\u0275ProvidersFeature:up,\u0275\u0275CopyDefinitionFeature:If,\u0275\u0275InheritDefinitionFeature:au,\u0275\u0275nextContext:Xf,\u0275\u0275namespaceHTML:ds,\u0275\u0275namespaceMathML:ei,\u0275\u0275namespaceSVG:Ai,\u0275\u0275enableBindings:Hr,\u0275\u0275disableBindings:Cs,\u0275\u0275elementStart:Su,\u0275\u0275elementEnd:Tu,\u0275\u0275element:Wf,\u0275\u0275elementContainerStart:Iu,\u0275\u0275elementContainerEnd:wu,\u0275\u0275elementContainer:Kf,\u0275\u0275pureFunction0:Dp,\u0275\u0275pureFunction1:Sp,\u0275\u0275pureFunction2:Tp,\u0275\u0275pureFunction3:Ip,\u0275\u0275pureFunction4:wp,\u0275\u0275pureFunction5:xp,\u0275\u0275pureFunction6:Ap,\u0275\u0275pureFunction7:Op,\u0275\u0275pureFunction8:Rp,\u0275\u0275pureFunctionV:Lp,\u0275\u0275getCurrentView:Gf,\u0275\u0275restoreView:L,\u0275\u0275listener:Au,\u0275\u0275projection:Jf,\u0275\u0275syntheticHostProperty:cc,\u0275\u0275syntheticHostListener:Ou,\u0275\u0275pipeBind1:Vp,\u0275\u0275pipeBind2:jp,\u0275\u0275pipeBind3:Hp,\u0275\u0275pipeBind4:zp,\u0275\u0275pipeBindV:Wp,\u0275\u0275projectionDef:Zf,\u0275\u0275hostProperty:uc,\u0275\u0275property:Mu,\u0275\u0275propertyInterpolate:Lu,\u0275\u0275propertyInterpolate1:xa,\u0275\u0275propertyInterpolate2:Pu,\u0275\u0275propertyInterpolate3:ku,\u0275\u0275propertyInterpolate4:Nu,\u0275\u0275propertyInterpolate5:Fu,\u0275\u0275propertyInterpolate6:Uu,\u0275\u0275propertyInterpolate7:Bu,\u0275\u0275propertyInterpolate8:Vu,\u0275\u0275propertyInterpolateV:ju,\u0275\u0275pipe:Bp,\u0275\u0275queryRefresh:qp,\u0275\u0275viewQuery:Xp,\u0275\u0275loadQuery:Jp,\u0275\u0275contentQuery:Zp,\u0275\u0275reference:Of,\u0275\u0275classMap:l0,\u0275\u0275classMapInterpolate1:g0,\u0275\u0275classMapInterpolate2:_0,\u0275\u0275classMapInterpolate3:y0,\u0275\u0275classMapInterpolate4:v0,\u0275\u0275classMapInterpolate5:b0,\u0275\u0275classMapInterpolate6:C0,\u0275\u0275classMapInterpolate7:E0,\u0275\u0275classMapInterpolate8:M0,\u0275\u0275classMapInterpolateV:D0,\u0275\u0275styleMap:Yr,\u0275\u0275styleMapInterpolate1:S0,\u0275\u0275styleMapInterpolate2:T0,\u0275\u0275styleMapInterpolate3:I0,\u0275\u0275styleMapInterpolate4:w0,\u0275\u0275styleMapInterpolate5:x0,\u0275\u0275styleMapInterpolate6:A0,\u0275\u0275styleMapInterpolate7:O0,\u0275\u0275styleMapInterpolate8:R0,\u0275\u0275styleMapInterpolateV:L0,\u0275\u0275styleProp:Hu,\u0275\u0275stylePropInterpolate1:ec,\u0275\u0275stylePropInterpolate2:tc,\u0275\u0275stylePropInterpolate3:nc,\u0275\u0275stylePropInterpolate4:ic,\u0275\u0275stylePropInterpolate5:rc,\u0275\u0275stylePropInterpolate6:sc,\u0275\u0275stylePropInterpolate7:oc,\u0275\u0275stylePropInterpolate8:ac,\u0275\u0275stylePropInterpolateV:lc,\u0275\u0275classProp:zu,\u0275\u0275advance:Th,\u0275\u0275template:xf,\u0275\u0275text:m0,\u0275\u0275textInterpolate:Ku,\u0275\u0275textInterpolate1:Oa,\u0275\u0275textInterpolate2:Gu,\u0275\u0275textInterpolate3:$u,\u0275\u0275textInterpolate4:Yu,\u0275\u0275textInterpolate5:Qu,\u0275\u0275textInterpolate6:qu,\u0275\u0275textInterpolate7:Xu,\u0275\u0275textInterpolate8:Zu,\u0275\u0275textInterpolateV:Ju,\u0275\u0275i18n:rp,\u0275\u0275i18nAttributes:sp,\u0275\u0275i18nExp:gc,\u0275\u0275i18nStart:pc,\u0275\u0275i18nEnd:mc,\u0275\u0275i18nApply:op,\u0275\u0275i18nPostprocess:ap,\u0275\u0275resolveWindow:Zd,\u0275\u0275resolveDocument:Jd,\u0275\u0275resolveBody:eh,\u0275\u0275setComponentScope:je,\u0275\u0275setNgModuleScope:it,\u0275\u0275sanitizeHtml:Fd,\u0275\u0275sanitizeStyle:Ud,\u0275\u0275sanitizeResourceUrl:gl,\u0275\u0275sanitizeScript:Bd,\u0275\u0275sanitizeUrl:ml,\u0275\u0275sanitizeUrlOrResourceUrl:Hd,\u0275\u0275trustConstantHtml:Vd,\u0275\u0275trustConstantResourceUrl:jd,forwardRef:h,resolveForwardRef:g}))();let bo=null;function O1(){bo=null}const na=[];let xc=!1;function rm(){if(!xc){xc=!0;try{for(let e=na.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=na[e];i.declarations&&i.declarations.every(sm)&&(na.splice(e,1),P1(t,i))}}finally{xc=!1}}}function sm(e){return Array.isArray(e)?e.every(sm):!!g(e)}function om(e,t={}){am(e,t),function(e,t){na.push({moduleType:e,ngModule:t})}(e,t)}function am(e,t,i=!1){const a=kr(t.declarations||Ge);let f=null;Object.defineProperty(e,Pe,{configurable:!0,get:()=>(null===f&&(f=Ui().compileNgModule(ar,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:kr(t.bootstrap||Ge).map(g),declarations:a.map(g),imports:kr(t.imports||Ge).map(g).map(dm),exports:kr(t.exports||Ge).map(g).map(dm),schemas:t.schemas?kr(t.schemas):null,id:t.id||null}),f.schemas||(f.schemas=[])),f)});let v=null;Object.defineProperty(e,Ee,{get:()=>{if(null===v){const H=Ui();v=H.compileFactory(ar,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:ha(e),target:H.FactoryTarget.NgModule,typeArgumentCount:0})}return v},configurable:!1});let O=null;Object.defineProperty(e,ze,{get:()=>{if(null===O){const H={name:e.name,type:e,providers:t.providers||Ge,imports:[(t.imports||Ge).map(g),(t.exports||Ge).map(g)]};O=Ui().compileInjector(ar,`ng:///${e.name}/\u0275inj.js`,H)}return O},configurable:!1})}let Wa=new WeakMap,Oc=new WeakMap;function L1(){Wa=new WeakMap,Oc=new WeakMap,na.length=0}function P1(e,t){const i=kr(t.declarations||Ge),a=ia(e);i.forEach(f=>{f.hasOwnProperty(lt)?Rc(At(f),a):!f.hasOwnProperty(Ot)&&!f.hasOwnProperty(Nt)&&(f.ngSelectorScope=e)})}function Rc(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(lt)?At(i):Xt(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>Jt(i)),e.schemas=t.schemas,e.tView=null}function ia(e){if(!Lc(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=fn(e);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 is(t.imports).forEach(a=>{const f=a;if(!Lc(f))throw new Error(`Importing ${f.name} which does not have a \u0275mod property`);const v=ia(f);v.exported.directives.forEach(O=>i.compilation.directives.add(O)),v.exported.pipes.forEach(O=>i.compilation.pipes.add(O))}),is(t.declarations).forEach(a=>{Jt(a)?i.compilation.pipes.add(a):i.compilation.directives.add(a)}),is(t.exports).forEach(a=>{const f=a;if(Lc(f)){const v=ia(f);v.exported.directives.forEach(O=>{i.compilation.directives.add(O),i.exported.directives.add(O)}),v.exported.pipes.forEach(O=>{i.compilation.pipes.add(O),i.exported.pipes.add(O)})}else Jt(f)?i.exported.pipes.add(f):i.exported.directives.add(f)}),t.transitiveCompileScopes=i,i}function dm(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function Lc(e){return!!fn(e)}let Pc=0;function hm(e,t){let i=null;(function(e,t){Md(t)&&(Ks.set(e,t),Ao.add(e))})(e,t),pm(e,t),Object.defineProperty(e,lt,{get:()=>{if(null===i){const a=Ui();if(Md(t)){const Me=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&Me.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&Me.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),Me.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(Me.join("\n"))}const f=bo;let v=t.preserveWhitespaces;void 0===v&&(v=null!==f&&void 0!==f.preserveWhitespaces&&f.preserveWhitespaces);let O=t.encapsulation;void 0===O&&(O=null!==f&&void 0!==f.defaultEncapsulation?f.defaultEncapsulation:Ae.Emulated);const H=t.templateUrl||`ng:///${e.name}/template.html`,se=Object.assign(Object.assign({},mm(e,t)),{typeSourceSpan:a.createParseSourceSpan("Component",e.name,H),template:t.template||"",preserveWhitespaces:v,styles:t.styles||Ge,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:O,interpolation:t.interpolation,viewProviders:t.viewProviders||null});Pc++;try{se.usesInheritance&&gm(e),i=a.compileComponent(ar,H,se)}finally{Pc--}if(0===Pc&&rm(),function(e){return void 0!==e.ngSelectorScope}(e)){const Me=ia(e.ngSelectorScope);Rc(i,Me)}}return i},configurable:!1})}function kc(e,t){let i=null;pm(e,t||{}),Object.defineProperty(e,Ot,{get:()=>{if(null===i){const a=fm(e,t||{});i=Ui().compileDirective(ar,a.sourceMapUrl,a.metadata)}return i},configurable:!1})}function fm(e,t){const i=e&&e.name,a=`ng:///${i}/\u0275dir.js`,f=Ui(),v=mm(e,t);return v.typeSourceSpan=f.createParseSourceSpan("Directive",i,a),v.usesInheritance&&gm(e),{metadata:v,sourceMapUrl:a}}function pm(e,t){let i=null;Object.defineProperty(e,Ee,{get:()=>{if(null===i){const a=fm(e,t),f=Ui();i=f.compileFactory(ar,`ng:///${e.name}/\u0275fac.js`,{name:a.metadata.name,type:a.metadata.type,typeArgumentCount:0,deps:ha(e),target:f.FactoryTarget.Directive})}return i},configurable:!1})}function F1(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function mm(e,t){const i=ll(),a=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Mt,propMetadata:a,inputs:t.inputs||Ge,outputs:t.outputs||Ge,queries:_m(e,a,ym),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!F1(e),exportAs:V1(t.exportAs),providers:t.providers||null,viewQueries:_m(e,a,vm)}}function gm(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!Xt(i)&&!At(i)&&H1(i)&&kc(i,null),i=Object.getPrototypeOf(i)}function U1(e){return"string"==typeof e?Cm(e):g(e)}function B1(e,t){return{propertyName:e,predicate:U1(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function _m(e,t,i){const a=[];for(const f in t)if(t.hasOwnProperty(f)){const v=t[f];v.forEach(O=>{if(i(O)){if(!O.selector)throw new Error(`Can't construct a query for the property "${f}" of "${Y(e)}" since the query selector wasn't defined.`);if(v.some(bm))throw new Error("Cannot combine @Input decorators with query decorators");a.push(B1(f,O))}})}return a}function V1(e){return void 0===e?null:Cm(e)}function ym(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function vm(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function bm(e){return"Input"===e.ngMetadataName}function Cm(e){return e.split(",").map(t=>t.trim())}const j1=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function H1(e){const t=ll();if(j1.some(a=>t.hasLifecycleHook(e,a)))return!0;const i=t.propMetadata(e);for(const a in i){const f=i[a];for(let v=0;v{if(null===a){const f=Mm(e,t),v=Ui();a=v.compileFactory(ar,`ng:///${f.name}/\u0275fac.js`,{name:f.name,type:f.type,typeArgumentCount:0,deps:ha(e),target:v.FactoryTarget.Pipe})}return a},configurable:!1}),Object.defineProperty(e,Nt,{get:()=>{if(null===i){const f=Mm(e,t);i=Ui().compilePipe(ar,`ng:///${f.name}/\u0275pipe.js`,f)}return i},configurable:!1})}function Mm(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure}}const Dm=Hs("Directive",(e={})=>e,void 0,void 0,(e,t)=>kc(e,t)),z1=Hs("Component",(e={})=>Object.assign({changeDetection:Ue.Default},e),Dm,void 0,(e,t)=>hm(e,t)),W1=Hs("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>Em(e,t)),K1=Es("Input",e=>({bindingPropertyName:e})),G1=Es("Output",e=>({bindingPropertyName:e})),$1=Es("HostBinding",e=>({hostPropertyName:e})),Y1=Es("HostListener",(e,t)=>({eventName:e,args:t})),Q1=Hs("NgModule",e=>e,void 0,void 0,(e,t)=>om(e,t));function Ka(...e){}const Nc=new Ei("Application Initializer");let Co=(()=>{class e{constructor(i){this.appInits=i,this.resolve=Ka,this.reject=Ka,this.initialized=!1,this.done=!1,this.donePromise=new Promise((a,f)=>{this.resolve=a,this.reject=f})}runInitializers(){if(this.initialized)return;const i=[],a=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let f=0;f{v.subscribe({complete:H,error:se})});i.push(O)}}Promise.all(i).then(()=>{a()}).catch(f=>{this.reject(f)}),0===i.length&&a(),this.initialized=!0}}return e.\u0275fac=function(i){return new(i||e)(zi(Nc,8))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();const Sm=new Ei("AppId"),Tm={provide:Sm,useFactory:function(){return`${Fc()}${Fc()}${Fc()}`},deps:[]};function Fc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Im=new Ei("Platform Initializer"),wm=new Ei("Platform ID"),xm=new Ei("appBootstrapListener"),X1=new Ei("Application Packages Root URL");let Am=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();const Ga=new Ei("LocaleId"),Om=new Ei("DefaultCurrencyCode"),Z1=new Ei("Translations"),J1=new Ei("TranslationsFormat");var us=(()=>((us=us||{})[us.Error=0]="Error",us[us.Warning=1]="Warning",us[us.Ignore=2]="Ignore",us))();class Rm{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let Uc=(()=>{class e{compileModuleSync(i){return new Va(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const a=this.compileModuleSync(i),v=is(fn(i).declarations).reduce((O,H)=>{const se=At(H);return se&&O.push(new Ba(se)),O},[]);return new Rm(a,v)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();const Lm=new Ei("compilerOptions");class eC{}const tC=(()=>Promise.resolve(0))();function Bc(e){"undefined"==typeof Zone?tC.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class xr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:a=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ls(!1),this.onMicrotaskEmpty=new ls(!1),this.onStable=new ls(!1),this.onError=new ls(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const f=this;f._nesting=0,f._outer=f._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(f._inner=f._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(f._inner=f._inner.fork(Zone.longStackTraceZoneSpec)),f.shouldCoalesceEventChangeDetection=!a&&i,f.shouldCoalesceRunChangeDetection=a,f.lastRequestAnimationFrameId=-1,f.nativeRequestAnimationFrame=function(){let e=Lt.requestAnimationFrame,t=Lt.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);const a=t[Zone.__symbol__("OriginalDelegate")];a&&(t=a)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Lt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,jc(e),e.isCheckStableRunning=!0,Vc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),jc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,a,f,v,O,H)=>{try{return Pm(e),i.invokeTask(f,v,O,H)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===v.type||e.shouldCoalesceRunChangeDetection)&&t(),km(e)}},onInvoke:(i,a,f,v,O,H,se)=>{try{return Pm(e),i.invoke(f,v,O,H,se)}finally{e.shouldCoalesceRunChangeDetection&&t(),km(e)}},onHasTask:(i,a,f,v)=>{i.hasTask(f,v),a===f&&("microTask"==v.change?(e._hasPendingMicrotasks=v.microTask,jc(e),Vc(e)):"macroTask"==v.change&&(e.hasPendingMacrotasks=v.macroTask))},onHandleError:(i,a,f,v)=>(i.handleError(f,v),e.runOutsideAngular(()=>e.onError.emit(v)),!1)})}(f)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!xr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(xr.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,i,a){return this._inner.run(t,i,a)}runTask(t,i,a,f){const v=this._inner,O=v.scheduleEventTask("NgZoneEvent: "+f,t,iC,Ka,Ka);try{return v.runTask(O,i,a)}finally{v.cancelTask(O)}}runGuarded(t,i,a){return this._inner.runGuarded(t,i,a)}runOutsideAngular(t){return this._outer.run(t)}}const iC={};function Vc(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 jc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Pm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function km(e){e._nesting--,Vc(e)}class Nm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ls,this.onMicrotaskEmpty=new ls,this.onStable=new ls,this.onError=new ls}run(t,i,a){return t.apply(i,a)}runGuarded(t,i,a){return t.apply(i,a)}runOutsideAngular(t){return t()}runTask(t,i,a,f){return t.apply(i,a)}}let Fm=(()=>{class e{constructor(i){this._ngZone=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{xr.assertNotInAngularZone(),Bc(()=>{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())Bc(()=>{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(a=>!a.updateCb||!a.updateCb(i)||(clearTimeout(a.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,a,f){let v=-1;a&&a>0&&(v=setTimeout(()=>{this._callbacks=this._callbacks.filter(O=>O.timeoutId!==v),i(this._didWork,this.getPendingTasks())},a)),this._callbacks.push({doneCb:i,timeoutId:v,updateCb:f})}whenStable(i,a,f){if(f&&!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,a,f),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(i,a,f){return[]}}return e.\u0275fac=function(i){return new(i||e)(zi(xr))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})(),Hc=(()=>{class e{constructor(){this._applications=new Map,zc.addToWindow(this)}registerApplication(i,a){this._applications.set(i,a)}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,a=!0){return zc.findTestabilityInTree(this,i,a)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();class oC{addToWindow(t){}findTestabilityInTree(t,i,a){return null}}function aC(e){zc=e}let Xr,zc=new oC;function Um(e,t,i){const a=new Va(i);return Promise.resolve(a)}function Bm(e){return e.isBoundToModule}const Wc=new Ei("AllowMultipleToken");class uC{constructor(t,i){this.name=t,this.token=i}}function Vm(e){if(Xr&&!Xr.destroyed&&!Xr.injector.get(Wc,!1))throw new P("400","");Xr=e.get(Gc);const t=e.get(Im,null);return t&&t.forEach(i=>i()),Xr}function jm(e,t,i=[]){const a=`Platform: ${t}`,f=new Ei(a);return(v=[])=>{let O=Kc();if(!O||O.injector.get(Wc,!1))if(e)e(i.concat(v).concat({provide:f,useValue:!0}));else{const H=i.concat(v).concat({provide:f,useValue:!0},{provide:eu,useValue:"platform"});Vm(wr.create({providers:H,name:a}))}return Hm()}}function Hm(e){const t=Kc();if(!t)throw new P("401","");return t}function cC(){Xr&&!Xr.destroyed&&Xr.destroy()}function Kc(){return Xr&&!Xr.destroyed?Xr:null}let Gc=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,a){const H=function(e,t){let i;return i="noop"===e?new Nm:("zone.js"===e?void 0:e)||new xr({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),i}(a?a.ngZone:void 0,{ngZoneEventCoalescing:a&&a.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:a&&a.ngZoneRunCoalescing||!1}),se=[{provide:xr,useValue:H}];return H.run(()=>{const Me=wr.create({providers:se,parent:this.injector,name:i.moduleType.name}),Le=i.create(Me),qe=Le.injector.get(ko,null);if(!qe)throw new P("402","");return H.runOutsideAngular(()=>{const ht=H.onError.subscribe({next:Tt=>{qe.handleError(Tt)}});Le.onDestroy(()=>{$c(this._modules,Le),ht.unsubscribe()})}),function(e,t,i){try{const a=i();return xu(a)?a.catch(f=>{throw t.runOutsideAngular(()=>e.handleError(f)),f}):a}catch(a){throw t.runOutsideAngular(()=>e.handleError(a)),a}}(qe,H,()=>{const ht=Le.injector.get(Co);return ht.runInitializers(),ht.donePromise.then(()=>(F0(Le.injector.get(Ga,Go)||Go),this._moduleDoBootstrap(Le),Le))})})}bootstrapModule(i,a=[]){const f=zm({},a);return Um(0,0,i).then(v=>this.bootstrapModuleFactory(v,f))}_moduleDoBootstrap(i){const a=i.injector.get(ra);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(f=>a.bootstrap(f));else{if(!i.instance.ngDoBootstrap)throw new P("403","");i.instance.ngDoBootstrap(a)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new P("404","");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(i){return new(i||e)(zi(wr))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();function zm(e,t){return Array.isArray(t)?t.reduce(zm,e):Object.assign(Object.assign({},e),t)}let ra=(()=>{class e{constructor(i,a,f,v,O){this._zone=i,this._injector=a,this._exceptionHandler=f,this._componentFactoryResolver=v,this._initStatus=O,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const H=new u.y(Me=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Me.next(this._stable),Me.complete()})}),se=new u.y(Me=>{let Le;this._zone.runOutsideAngular(()=>{Le=this._zone.onStable.subscribe(()=>{xr.assertNotInAngularZone(),Bc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Me.next(!0))})})});const qe=this._zone.onUnstable.subscribe(()=>{xr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Me.next(!1)}))});return()=>{Le.unsubscribe(),qe.unsubscribe()}});this.isStable=(0,c.T)(H,se.pipe((0,r.B)()))}bootstrap(i,a){if(!this._initStatus.done)throw new P("405","");let f;f=i instanceof Na?i:this._componentFactoryResolver.resolveComponentFactory(i),this.componentTypes.push(f.componentType);const v=Bm(f)?void 0:this._injector.get(yo),H=f.create(wr.NULL,[],a||f.selector,v),se=H.location.nativeElement,Me=H.injector.get(Fm,null),Le=Me&&H.injector.get(Hc);return Me&&Le&&Le.registerApplication(se,Me),H.onDestroy(()=>{this.detachView(H.hostView),$c(this.components,H),Le&&Le.unregisterApplication(se)}),this._loadComponent(H),H}tick(){if(this._runningTick)throw new P("101","");try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(i))}finally{this._runningTick=!1}}attachView(i){const a=i;this._views.push(a),a.attachToAppRef(this)}detachView(i){const a=i;$c(this._views,a),a.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(xm,[]).concat(this._bootstrapListeners).forEach(f=>f(i))}ngOnDestroy(){this._views.slice().forEach(i=>i.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(i){return new(i||e)(zi(xr),zi(wr),zi(ko),zi(Xo),zi(Co))},e.\u0275prov=Ie({token:e,factory:e.\u0275fac}),e})();function $c(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}let Km=!0,Gm=!1;function pC(){return Gm=!0,Km}function mC(){if(Gm)throw new Error("Cannot enable prod mode after platform setup.");Km=!1}function gC(e){const t=Mp(e);if(!t)throw $m(e);return new Va(t)}function _C(e){const t=Mp(e);if(!t)throw $m(e);return t}function $m(e){return new Error(`No module with ID ${e} loaded`)}let Ym=(()=>{class e{}return e.__NG_ELEMENT_ID__=Qm,e})();function Qm(e){return function(e,t,i){if(_i(e)&&!i){const a=hn(e.index,t);return new _o(a,a)}return 47&e.type?new _o(t[16],t):null}(ne(),ye(),16==(16&e))}class qm extends Ym{}class vC extends qm{}class bC{constructor(t,i){this.name=t,this.callback=i}}function CC(e){return e.map(t=>t.nativeElement)}class Yc{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new sa(t):null}get injector(){return _f(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(ru(t)||mf(t))}get context(){return ru(this.nativeNode)||pf(this.nativeNode)}get listeners(){return vf(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function(e){const t=er(e);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){const i=e[1].data[t];if(i&&i.localNames){const a={};let f=i.index+1;for(let v=0;v1){let Le=se[1];for(let qe=1;qet[v]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,i=[];for(let a=0;a{if(v.name===t){const O=v.callback;O.call(a,i),f.push(O)}}),"function"==typeof a.eventListeners&&a.eventListeners(t).forEach(v=>{if(-1!==v.toString().indexOf("__ngUnwrap__")){const O=v("__ngUnwrap__");return-1===f.indexOf(O)&&O.call(a,i)}})}}function MC(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Xm(e,t,i,a){const f=er(e.nativeNode);null!==f?Ps(f.lView[1].data[f.nodeIndex],f.lView,t,i,a,e.nativeNode):qc(e.nativeNode,t,i,a)}function Ps(e,t,i,a,f,v){const O=function(e,t){const i=null===e?-1:e.index;return-1!==i?fe(t[i]):null}(e,t);if(11&e.type){if(Qc(O,i,a,f,v),_i(e)){const se=hn(e.index,t);se&&se[1].firstChild&&Ps(se[1].firstChild,se,i,a,f,v)}else e.child&&Ps(e.child,t,i,a,f,v),O&&qc(O,i,a,f);const H=t[e.index];Xn(H)&&Zm(H,i,a,f,v)}else if(4&e.type){const H=t[e.index];Qc(H[7],i,a,f,v),Zm(H,i,a,f,v)}else if(16&e.type){const H=t[16],Me=H[6].projection[e.projection];if(Array.isArray(Me))for(let Le of Me)Qc(Le,i,a,f,v);else if(Me){const Le=H[3];Ps(Le[1].data[Me.index],Le,i,a,f,v)}}else e.child&&Ps(e.child,t,i,a,f,v);if(v!==O){const H=4&e.flags?e.projectionNext:e.next;H&&Ps(H,t,i,a,f,v)}}function Zm(e,t,i,a,f){for(let v=10;vt;class eg{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||xC}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,a=this._removalsHead,f=0,v=null;for(;i||a;){const O=!a||i&&i.currentIndex{O=this._trackByFn(f,H),null!==i&&Object.is(i.trackById,O)?(a&&(i=this._verifyReinsertion(i,H,O,f)),Object.is(i.item,H)||this._addIdentityChange(i,H)):(i=this._mismatch(i,H,O,f),a=!0),i=i._next,f++}),this.length=f;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,a,f){let v;return null===t?v=this._itTail:(v=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,v,f)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(a,f))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,v,f)):t=this._addAfter(new AC(i,a),v,f),t}_verifyReinsertion(t,i,a,f){let v=null===this._unlinkedRecords?null:this._unlinkedRecords.get(a,null);return null!==v?t=this._reinsertAfter(v,t._prev,f):t.currentIndex!=f&&(t.currentIndex=f,this._addToMoves(t,f)),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,a){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const f=t._prevRemoved,v=t._nextRemoved;return null===f?this._removalsHead=v:f._nextRemoved=v,null===v?this._removalsTail=f:v._prevRemoved=f,this._insertAfter(t,i,a),this._addToMoves(t,a),t}_moveAfter(t,i,a){return this._unlink(t),this._insertAfter(t,i,a),this._addToMoves(t,a),t}_addAfter(t,i,a){return this._insertAfter(t,i,a),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,a){const f=null===i?this._itHead:i._next;return t._next=f,t._prev=i,null===f?this._itTail=t:f._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new tg),this._linkedRecords.put(t),t.currentIndex=a,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,a=t._next;return null===i?this._itHead=a:i._next=a,null===a?this._itTail=i:a._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 tg),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 AC{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 OC{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 a;for(a=this._head;null!==a;a=a._nextDup)if((null===i||i<=a.currentIndex)&&Object.is(a.trackById,t))return a;return null}remove(t){const i=t._prevDup,a=t._nextDup;return null===i?this._head=a:i._nextDup=a,null===a?this._tail=i:a._prevDup=i,null===this._head}}class tg{constructor(){this.map=new Map}put(t){const i=t.trackById;let a=this.map.get(i);a||(a=new OC,this.map.set(i,a)),a.add(t)}get(t,i){const f=this.map.get(t);return f?f.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 ng(e,t,i){const a=e.previousIndex;if(null===a)return a;let f=0;return i&&a{if(i&&i.key===f)this._maybeAddToChanges(i,a),this._appendAfter=i,i=i._next;else{const v=this._getOrCreateRecordForKey(f,a);i=this._insertBeforeOrAppend(i,v)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let a=i;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const a=t._prev;return i._next=t,i._prev=a,t._prev=i,a&&(a._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 f=this._records.get(t);this._maybeAddToChanges(f,i);const v=f._prev,O=f._next;return v&&(v._next=O),O&&(O._prev=v),f._next=null,f._prev=null,f}const a=new LC(t);return this._records.set(t,a),a.currentValue=i,this._addToAdditions(a),a}_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(a=>i(t[a],a))}}class LC{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 rg(){return new Ya([new Jm])}let Ya=(()=>{class e{constructor(i){this.factories=i}static create(i,a){if(null!=a){const f=a.factories.slice();i=i.concat(f)}return new e(i)}static extend(i){return{provide:e,useFactory:a=>e.create(i,a||rg()),deps:[[e,new xs,new ws]]}}find(i){const a=this.factories.find(f=>f.supports(i));if(null!=a)return a;throw new Error(`Cannot find a differ supporting object '${i}' of type '${function(e){return e.name||typeof e}(i)}'`)}}return e.\u0275prov=Ie({token:e,providedIn:"root",factory:rg}),e})();function sg(){return new Qa([new ig])}let Qa=(()=>{class e{constructor(i){this.factories=i}static create(i,a){if(a){const f=a.factories.slice();i=i.concat(f)}return new e(i)}static extend(i){return{provide:e,useFactory:a=>e.create(i,a||sg()),deps:[[e,new xs,new ws]]}}find(i){const a=this.factories.find(f=>f.supports(i));if(a)return a;throw new Error(`Cannot find a differ supporting object '${i}'`)}}return e.\u0275prov=Ie({token:e,providedIn:"root",factory:sg}),e})();const kC=[new ig],og=new Ya([new Jm]),ag=new Qa(kC),FC=jm(null,"core",[{provide:wm,useValue:"unknown"},{provide:Gc,deps:[wr]},{provide:Hc,deps:[]},{provide:Am,deps:[]}]),HC=[{provide:ra,useClass:ra,deps:[xr,wr,ko,Xo,Co]},{provide:u1,deps:[xr],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(i){t.push(i)}}},{provide:Co,useClass:Co,deps:[[new ws,Nc]]},{provide:Uc,useClass:Uc,deps:[]},Tm,{provide:Ya,useFactory:function(){return og},deps:[]},{provide:Qa,useFactory:function(){return ag},deps:[]},{provide:Ga,useFactory:function(e){return e||"undefined"!=typeof $localize&&$localize.locale||Go},deps:[[new xo(Ga),new ws,new xs]]},{provide:Om,useValue:"USD"}];let WC=(()=>{class e{constructor(i){}}return e.\u0275fac=function(i){return new(i||e)(zi(ra))},e.\u0275mod=vn({type:e}),e.\u0275inj=ct({providers:HC}),e})();const KC=!0;function GC(e){return Ui().compileDirectiveDeclaration(ar,`ng:///${e.type.name}/\u0275fac.js`,e)}function $C(e){var t,i;vp(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(i=e.propDecorators)&&void 0!==i?i:null)}function YC(e){return Ui().compileComponentDeclaration(ar,`ng:///${e.type.name}/\u0275cmp.js`,e)}function QC(e){return Ui(function(e){switch(e){case Fi.Directive:return"directive";case Fi.Component:return"component";case Fi.Injectable:return"injectable";case Fi.Pipe:return"pipe";case Fi.NgModule:;}}(e.target)).compileFactoryDeclaration(ar,`ng:///${e.type.name}/\u0275fac.js`,e)}function XC(e){return Ui().compileInjectableDeclaration(ar,`ng:///${e.type.name}/\u0275prov.js`,e)}function ZC(e){return Ui().compileInjectorDeclaration(ar,`ng:///${e.type.name}/\u0275inj.js`,e)}function JC(e){return Ui().compileNgModuleDeclaration(ar,`ng:///${e.type.name}/\u0275mod.js`,e)}function eE(e){return Ui().compilePipeDeclaration(ar,`ng:///${e.type.name}/\u0275pipe.js`,e)}},3075:(he,A,o)=>{"use strict";o.r(A),o.d(A,{AbstractControl:()=>pi,AbstractControlDirective:()=>xt,AbstractFormGroupDirective:()=>J,COMPOSITION_BUFFER_MODE:()=>s,CheckboxControlValueAccessor:()=>b,CheckboxRequiredValidator:()=>ur,ControlContainer:()=>Ne,DefaultValueAccessor:()=>C,EmailValidator:()=>di,FormArray:()=>ri,FormArrayName:()=>Fn,FormBuilder:()=>hr,FormControl:()=>Jn,FormControlDirective:()=>Ri,FormControlName:()=>wi,FormGroup:()=>Ln,FormGroupDirective:()=>bi,FormGroupName:()=>mn,FormsModule:()=>Vr,MaxLengthValidator:()=>Xi,MaxValidator:()=>Li,MinLengthValidator:()=>qi,MinValidator:()=>Si,NG_ASYNC_VALIDATORS:()=>T,NG_VALIDATORS:()=>D,NG_VALUE_ACCESSOR:()=>p,NgControl:()=>dt,NgControlStatus:()=>mt,NgControlStatusGroup:()=>_e,NgForm:()=>Xe,NgModel:()=>Yt,NgModelGroup:()=>kt,NgSelectOption:()=>gn,NumberValueAccessor:()=>Tn,PatternValidator:()=>rr,RadioControlValueAccessor:()=>bn,RangeValueAccessor:()=>Oi,ReactiveFormsModule:()=>Wn,RequiredValidator:()=>Pi,SelectControlValueAccessor:()=>an,SelectMultipleControlValueAccessor:()=>lr,VERSION:()=>fe,Validators:()=>$,\u0275InternalFormsSharedModule:()=>Yi,\u0275NgNoValidate:()=>Zt,\u0275NgSelectMultipleOption:()=>br});var n=o(5e3),l=o(9808),u=o(5254),c=o(567),r=o(4850);let d=(()=>{class k{constructor(I,de){this._renderer=I,this._elementRef=de,this.onChange=Ze=>{},this.onTouched=()=>{}}setProperty(I,de){this._renderer.setProperty(this._elementRef.nativeElement,I,de)}registerOnTouched(I){this.onTouched=I}registerOnChange(I){this.onChange=I}setDisabledState(I){this.setProperty("disabled",I)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k}),k})(),m=(()=>{class k extends d{}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275InheritDefinitionFeature]}),k})();const p=new n.InjectionToken("NgValueAccessor"),y={provide:p,useExisting:(0,n.forwardRef)(()=>b),multi:!0};let b=(()=>{class k extends m{writeValue(I){this.setProperty("checked",I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("change",function(wt){return de.onChange(wt.target.checked)})("blur",function(){return de.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([y]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const h={provide:p,useExisting:(0,n.forwardRef)(()=>C),multi:!0},s=new n.InjectionToken("CompositionEventMode");let C=(()=>{class k extends d{constructor(I,de,Ze){super(I,de),this._compositionMode=Ze,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const k=(0,l.\u0275getDOM)()?(0,l.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(k.toLowerCase())}())}writeValue(I){this.setProperty("value",null==I?"":I)}_handleInput(I){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(I)}_compositionStart(){this._composing=!0}_compositionEnd(I){this._composing=!1,this._compositionMode&&this.onChange(I)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(s,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,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(I,de){1&I&&n.\u0275\u0275listener("input",function(wt){return de._handleInput(wt.target.value)})("blur",function(){return de.onTouched()})("compositionstart",function(){return de._compositionStart()})("compositionend",function(wt){return de._compositionEnd(wt.target.value)})},features:[n.\u0275\u0275ProvidersFeature([h]),n.\u0275\u0275InheritDefinitionFeature]}),k})();function P(k){return null==k||0===k.length}function w(k){return null!=k&&"number"==typeof k.length}const D=new n.InjectionToken("NgValidators"),T=new n.InjectionToken("NgAsyncValidators"),Y=/^(?=.{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 ${static min(E){return z(E)}static max(E){return G(E)}static required(E){return X(E)}static requiredTrue(E){return Q(E)}static email(E){return q(E)}static minLength(E){return ue(E)}static maxLength(E){return me(E)}static pattern(E){return xe(E)}static nullValidator(E){return null}static compose(E){return Te(E)}static composeAsync(E){return tt(E)}}function z(k){return E=>{if(P(E.value)||P(k))return null;const I=parseFloat(E.value);return!isNaN(I)&&I{if(P(E.value)||P(k))return null;const I=parseFloat(E.value);return!isNaN(I)&&I>k?{max:{max:k,actual:E.value}}:null}}function X(k){return P(k.value)?{required:!0}:null}function Q(k){return!0===k.value?null:{required:!0}}function q(k){return P(k.value)||Y.test(k.value)?null:{email:!0}}function ue(k){return E=>P(E.value)||!w(E.value)?null:E.value.lengthw(E.value)&&E.value.length>k?{maxlength:{requiredLength:k,actualLength:E.value.length}}:null}function xe(k){if(!k)return pe;let E,I;return"string"==typeof k?(I="","^"!==k.charAt(0)&&(I+="^"),I+=k,"$"!==k.charAt(k.length-1)&&(I+="$"),E=new RegExp(I)):(I=k.toString(),E=k),de=>{if(P(de.value))return null;const Ze=de.value;return E.test(Ze)?null:{pattern:{requiredPattern:I,actualValue:Ze}}}}function pe(k){return null}function oe(k){return null!=k}function ae(k){const E=(0,n.\u0275isPromise)(k)?(0,u.D)(k):k;return(0,n.\u0275isObservable)(E),E}function U(k){let E={};return k.forEach(I=>{E=null!=I?Object.assign(Object.assign({},E),I):E}),0===Object.keys(E).length?null:E}function ie(k,E){return E.map(I=>I(k))}function Ce(k){return k.map(E=>function(k){return!k.validate}(E)?E:I=>E.validate(I))}function Te(k){if(!k)return null;const E=k.filter(oe);return 0==E.length?null:function(I){return U(ie(I,E))}}function Ke(k){return null!=k?Te(Ce(k)):null}function tt(k){if(!k)return null;const E=k.filter(oe);return 0==E.length?null:function(I){const de=ie(I,E).map(ae);return(0,c.D)(de).pipe((0,r.U)(U))}}function ot(k){return null!=k?tt(Ce(k)):null}function pt(k,E){return null===k?[E]:Array.isArray(k)?[...k,E]:[k,E]}function Dt(k){return k._rawValidators}function Ie(k){return k._rawAsyncValidators}function Qe(k){return k?Array.isArray(k)?k:[k]:[]}function ct(k,E){return Array.isArray(k)?k.includes(E):k===E}function bt(k,E){const I=Qe(E);return Qe(k).forEach(Ze=>{ct(I,Ze)||I.push(Ze)}),I}function Et(k,E){return Qe(E).filter(I=>!ct(k,I))}class xt{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(E){this._rawValidators=E||[],this._composedValidatorFn=Ke(this._rawValidators)}_setAsyncValidators(E){this._rawAsyncValidators=E||[],this._composedAsyncValidatorFn=ot(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(E){this._onDestroyCallbacks.push(E)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(E=>E()),this._onDestroyCallbacks=[]}reset(E){this.control&&this.control.reset(E)}hasError(E,I){return!!this.control&&this.control.hasError(E,I)}getError(E,I){return this.control?this.control.getError(E,I):null}}class dt extends xt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ne extends xt{get formDirective(){return null}get path(){return null}}class rt{constructor(E){this._cd=E}is(E){var I,de,Ze;return"submitted"===E?!!(null===(I=this._cd)||void 0===I?void 0:I.submitted):!!(null===(Ze=null===(de=this._cd)||void 0===de?void 0:de.control)||void 0===Ze?void 0:Ze[E])}}let mt=(()=>{class k extends rt{constructor(I){super(I)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(dt,2))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(I,de){2&I&&n.\u0275\u0275classProp("ng-untouched",de.is("untouched"))("ng-touched",de.is("touched"))("ng-pristine",de.is("pristine"))("ng-dirty",de.is("dirty"))("ng-valid",de.is("valid"))("ng-invalid",de.is("invalid"))("ng-pending",de.is("pending"))},features:[n.\u0275\u0275InheritDefinitionFeature]}),k})(),_e=(()=>{class k extends rt{constructor(I){super(I)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(I,de){2&I&&n.\u0275\u0275classProp("ng-untouched",de.is("untouched"))("ng-touched",de.is("touched"))("ng-pristine",de.is("pristine"))("ng-dirty",de.is("dirty"))("ng-valid",de.is("valid"))("ng-invalid",de.is("invalid"))("ng-pending",de.is("pending"))("ng-submitted",de.is("submitted"))},features:[n.\u0275\u0275InheritDefinitionFeature]}),k})();function Ft(k,E){return[...E.path,k]}function gt(k,E){Mt(k,E),E.valueAccessor.writeValue(k.value),function(k,E){E.valueAccessor.registerOnChange(I=>{k._pendingValue=I,k._pendingChange=!0,k._pendingDirty=!0,"change"===k.updateOn&&Nt(k,E)})}(k,E),function(k,E){const I=(de,Ze)=>{E.valueAccessor.writeValue(de),Ze&&E.viewToModelUpdate(de)};k.registerOnChange(I),E._registerOnDestroy(()=>{k._unregisterOnChange(I)})}(k,E),function(k,E){E.valueAccessor.registerOnTouched(()=>{k._pendingTouched=!0,"blur"===k.updateOn&&k._pendingChange&&Nt(k,E),"submit"!==k.updateOn&&k.markAsTouched()})}(k,E),function(k,E){if(E.valueAccessor.setDisabledState){const I=de=>{E.valueAccessor.setDisabledState(de)};k.registerOnDisabledChange(I),E._registerOnDestroy(()=>{k._unregisterOnDisabledChange(I)})}}(k,E)}function Lt(k,E,I=!0){const de=()=>{};E.valueAccessor&&(E.valueAccessor.registerOnChange(de),E.valueAccessor.registerOnTouched(de)),Ge(k,E),k&&(E._invokeOnDestroyCallbacks(),k._registerOnCollectionChange(()=>{}))}function $e(k,E){k.forEach(I=>{I.registerOnValidatorChange&&I.registerOnValidatorChange(E)})}function Mt(k,E){const I=Dt(k);null!==E.validator?k.setValidators(pt(I,E.validator)):"function"==typeof I&&k.setValidators([I]);const de=Ie(k);null!==E.asyncValidator?k.setAsyncValidators(pt(de,E.asyncValidator)):"function"==typeof de&&k.setAsyncValidators([de]);const Ze=()=>k.updateValueAndValidity();$e(E._rawValidators,Ze),$e(E._rawAsyncValidators,Ze)}function Ge(k,E){let I=!1;if(null!==k){if(null!==E.validator){const Ze=Dt(k);if(Array.isArray(Ze)&&Ze.length>0){const wt=Ze.filter(Wt=>Wt!==E.validator);wt.length!==Ze.length&&(I=!0,k.setValidators(wt))}}if(null!==E.asyncValidator){const Ze=Ie(k);if(Array.isArray(Ze)&&Ze.length>0){const wt=Ze.filter(Wt=>Wt!==E.asyncValidator);wt.length!==Ze.length&&(I=!0,k.setAsyncValidators(wt))}}}const de=()=>{};return $e(E._rawValidators,de),$e(E._rawAsyncValidators,de),I}function Nt(k,E){k._pendingDirty&&k.markAsDirty(),k.setValue(k._pendingValue,{emitModelToViewChange:!1}),E.viewToModelUpdate(k._pendingValue),k._pendingChange=!1}function Ee(k,E){Mt(k,E)}function je(k,E){if(!k.hasOwnProperty("model"))return!1;const I=k.model;return!!I.isFirstChange()||!Object.is(E,I.currentValue)}function Ht(k,E){k._syncPendingControls(),E.forEach(I=>{const de=I.control;"submit"===de.updateOn&&de._pendingChange&&(I.viewToModelUpdate(de._pendingValue),de._pendingChange=!1)})}function $t(k,E){if(!E)return null;let I,de,Ze;return Array.isArray(E),E.forEach(wt=>{wt.constructor===C?I=wt:function(k){return Object.getPrototypeOf(k.constructor)===m}(wt)?de=wt:Ze=wt}),Ze||de||I||null}function vn(k,E){const I=k.indexOf(E);I>-1&&k.splice(I,1)}const st="VALID",Ve="INVALID",ut="PENDING",At="DISABLED";function Jt(k){return(ti(k)?k.validators:k)||null}function fn(k){return Array.isArray(k)?Ke(k):k||null}function Rn(k,E){return(ti(E)?E.asyncValidators:k)||null}function li(k){return Array.isArray(k)?ot(k):k||null}function ti(k){return null!=k&&!Array.isArray(k)&&"object"==typeof k}class pi{constructor(E,I){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=E,this._rawAsyncValidators=I,this._composedValidatorFn=fn(this._rawValidators),this._composedAsyncValidatorFn=li(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(E){this._rawValidators=this._composedValidatorFn=E}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(E){this._rawAsyncValidators=this._composedAsyncValidatorFn=E}get parent(){return this._parent}get valid(){return this.status===st}get invalid(){return this.status===Ve}get pending(){return this.status==ut}get disabled(){return this.status===At}get enabled(){return this.status!==At}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(E){this._rawValidators=E,this._composedValidatorFn=fn(E)}setAsyncValidators(E){this._rawAsyncValidators=E,this._composedAsyncValidatorFn=li(E)}addValidators(E){this.setValidators(bt(E,this._rawValidators))}addAsyncValidators(E){this.setAsyncValidators(bt(E,this._rawAsyncValidators))}removeValidators(E){this.setValidators(Et(E,this._rawValidators))}removeAsyncValidators(E){this.setAsyncValidators(Et(E,this._rawAsyncValidators))}hasValidator(E){return ct(this._rawValidators,E)}hasAsyncValidator(E){return ct(this._rawAsyncValidators,E)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(E={}){this.touched=!0,this._parent&&!E.onlySelf&&this._parent.markAsTouched(E)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(E=>E.markAllAsTouched())}markAsUntouched(E={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(I=>{I.markAsUntouched({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}markAsDirty(E={}){this.pristine=!1,this._parent&&!E.onlySelf&&this._parent.markAsDirty(E)}markAsPristine(E={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(I=>{I.markAsPristine({onlySelf:!0})}),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}markAsPending(E={}){this.status=ut,!1!==E.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!E.onlySelf&&this._parent.markAsPending(E)}disable(E={}){const I=this._parentMarkedDirty(E.onlySelf);this.status=At,this.errors=null,this._forEachChild(de=>{de.disable(Object.assign(Object.assign({},E),{onlySelf:!0}))}),this._updateValue(),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},E),{skipPristineCheck:I})),this._onDisabledChange.forEach(de=>de(!0))}enable(E={}){const I=this._parentMarkedDirty(E.onlySelf);this.status=st,this._forEachChild(de=>{de.enable(Object.assign(Object.assign({},E),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},E),{skipPristineCheck:I})),this._onDisabledChange.forEach(de=>de(!1))}_updateAncestors(E){this._parent&&!E.onlySelf&&(this._parent.updateValueAndValidity(E),E.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(E){this._parent=E}updateValueAndValidity(E={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===st||this.status===ut)&&this._runAsyncValidator(E.emitEvent)),!1!==E.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!E.onlySelf&&this._parent.updateValueAndValidity(E)}_updateTreeValidity(E={emitEvent:!0}){this._forEachChild(I=>I._updateTreeValidity(E)),this.updateValueAndValidity({onlySelf:!0,emitEvent:E.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?At:st}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(E){if(this.asyncValidator){this.status=ut,this._hasOwnPendingAsyncValidator=!0;const I=ae(this.asyncValidator(this));this._asyncValidationSubscription=I.subscribe(de=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(de,{emitEvent:E})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(E,I={}){this.errors=E,this._updateControlsErrors(!1!==I.emitEvent)}get(E){return function(k,E,I){if(null==E||(Array.isArray(E)||(E=E.split(".")),Array.isArray(E)&&0===E.length))return null;let de=k;return E.forEach(Ze=>{de=de instanceof Ln?de.controls.hasOwnProperty(Ze)?de.controls[Ze]:null:de instanceof ri&&de.at(Ze)||null}),de}(this,E)}getError(E,I){const de=I?this.get(I):this;return de&&de.errors?de.errors[E]:null}hasError(E,I){return!!this.getError(E,I)}get root(){let E=this;for(;E._parent;)E=E._parent;return E}_updateControlsErrors(E){this.status=this._calculateStatus(),E&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(E)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?At:this.errors?Ve:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ut)?ut:this._anyControlsHaveStatus(Ve)?Ve:st}_anyControlsHaveStatus(E){return this._anyControls(I=>I.status===E)}_anyControlsDirty(){return this._anyControls(E=>E.dirty)}_anyControlsTouched(){return this._anyControls(E=>E.touched)}_updatePristine(E={}){this.pristine=!this._anyControlsDirty(),this._parent&&!E.onlySelf&&this._parent._updatePristine(E)}_updateTouched(E={}){this.touched=this._anyControlsTouched(),this._parent&&!E.onlySelf&&this._parent._updateTouched(E)}_isBoxedValue(E){return"object"==typeof E&&null!==E&&2===Object.keys(E).length&&"value"in E&&"disabled"in E}_registerOnCollectionChange(E){this._onCollectionChange=E}_setUpdateStrategy(E){ti(E)&&null!=E.updateOn&&(this._updateOn=E.updateOn)}_parentMarkedDirty(E){return!E&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Jn extends pi{constructor(E=null,I,de){super(Jt(I),Rn(de,I)),this._onChange=[],this._pendingChange=!1,this._applyFormState(E),this._setUpdateStrategy(I),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(E,I={}){this.value=this._pendingValue=E,this._onChange.length&&!1!==I.emitModelToViewChange&&this._onChange.forEach(de=>de(this.value,!1!==I.emitViewToModelChange)),this.updateValueAndValidity(I)}patchValue(E,I={}){this.setValue(E,I)}reset(E=null,I={}){this._applyFormState(E),this.markAsPristine(I),this.markAsUntouched(I),this.setValue(this.value,I),this._pendingChange=!1}_updateValue(){}_anyControls(E){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(E){this._onChange.push(E)}_unregisterOnChange(E){vn(this._onChange,E)}registerOnDisabledChange(E){this._onDisabledChange.push(E)}_unregisterOnDisabledChange(E){vn(this._onDisabledChange,E)}_forEachChild(E){}_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(E){this._isBoxedValue(E)?(this.value=this._pendingValue=E.value,E.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=E}}class Ln extends pi{constructor(E,I,de){super(Jt(I),Rn(de,I)),this.controls=E,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(E,I){return this.controls[E]?this.controls[E]:(this.controls[E]=I,I.setParent(this),I._registerOnCollectionChange(this._onCollectionChange),I)}addControl(E,I,de={}){this.registerControl(E,I),this.updateValueAndValidity({emitEvent:de.emitEvent}),this._onCollectionChange()}removeControl(E,I={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}setControl(E,I,de={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),delete this.controls[E],I&&this.registerControl(E,I),this.updateValueAndValidity({emitEvent:de.emitEvent}),this._onCollectionChange()}contains(E){return this.controls.hasOwnProperty(E)&&this.controls[E].enabled}setValue(E,I={}){this._checkAllValuesPresent(E),Object.keys(E).forEach(de=>{this._throwIfControlMissing(de),this.controls[de].setValue(E[de],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(E,I={}){null!=E&&(Object.keys(E).forEach(de=>{this.controls[de]&&this.controls[de].patchValue(E[de],{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(E={},I={}){this._forEachChild((de,Ze)=>{de.reset(E[Ze],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this._reduceChildren({},(E,I,de)=>(E[de]=I instanceof Jn?I.value:I.getRawValue(),E))}_syncPendingControls(){let E=this._reduceChildren(!1,(I,de)=>!!de._syncPendingControls()||I);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_throwIfControlMissing(E){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[E])throw new Error(`Cannot find form control with name: ${E}.`)}_forEachChild(E){Object.keys(this.controls).forEach(I=>{const de=this.controls[I];de&&E(de,I)})}_setUpControls(){this._forEachChild(E=>{E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(E){for(const I of Object.keys(this.controls)){const de=this.controls[I];if(this.contains(I)&&E(de))return!0}return!1}_reduceValue(){return this._reduceChildren({},(E,I,de)=>((I.enabled||this.disabled)&&(E[de]=I.value),E))}_reduceChildren(E,I){let de=E;return this._forEachChild((Ze,wt)=>{de=I(de,Ze,wt)}),de}_allControlsDisabled(){for(const E of Object.keys(this.controls))if(this.controls[E].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(E){this._forEachChild((I,de)=>{if(void 0===E[de])throw new Error(`Must supply a value for form control with name: '${de}'.`)})}}class ri extends pi{constructor(E,I,de){super(Jt(I),Rn(de,I)),this.controls=E,this._initObservables(),this._setUpdateStrategy(I),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(E){return this.controls[E]}push(E,I={}){this.controls.push(E),this._registerControl(E),this.updateValueAndValidity({emitEvent:I.emitEvent}),this._onCollectionChange()}insert(E,I,de={}){this.controls.splice(E,0,I),this._registerControl(I),this.updateValueAndValidity({emitEvent:de.emitEvent})}removeAt(E,I={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),this.controls.splice(E,1),this.updateValueAndValidity({emitEvent:I.emitEvent})}setControl(E,I,de={}){this.controls[E]&&this.controls[E]._registerOnCollectionChange(()=>{}),this.controls.splice(E,1),I&&(this.controls.splice(E,0,I),this._registerControl(I)),this.updateValueAndValidity({emitEvent:de.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(E,I={}){this._checkAllValuesPresent(E),E.forEach((de,Ze)=>{this._throwIfControlMissing(Ze),this.at(Ze).setValue(de,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I)}patchValue(E,I={}){null!=E&&(E.forEach((de,Ze)=>{this.at(Ze)&&this.at(Ze).patchValue(de,{onlySelf:!0,emitEvent:I.emitEvent})}),this.updateValueAndValidity(I))}reset(E=[],I={}){this._forEachChild((de,Ze)=>{de.reset(E[Ze],{onlySelf:!0,emitEvent:I.emitEvent})}),this._updatePristine(I),this._updateTouched(I),this.updateValueAndValidity(I)}getRawValue(){return this.controls.map(E=>E instanceof Jn?E.value:E.getRawValue())}clear(E={}){this.controls.length<1||(this._forEachChild(I=>I._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:E.emitEvent}))}_syncPendingControls(){let E=this.controls.reduce((I,de)=>!!de._syncPendingControls()||I,!1);return E&&this.updateValueAndValidity({onlySelf:!0}),E}_throwIfControlMissing(E){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(E))throw new Error(`Cannot find form control at index ${E}`)}_forEachChild(E){this.controls.forEach((I,de)=>{E(I,de)})}_updateValue(){this.value=this.controls.filter(E=>E.enabled||this.disabled).map(E=>E.value)}_anyControls(E){return this.controls.some(I=>I.enabled&&E(I))}_setUpControls(){this._forEachChild(E=>this._registerControl(E))}_checkAllValuesPresent(E){this._forEachChild((I,de)=>{if(void 0===E[de])throw new Error(`Must supply a value for form control at index: ${de}.`)})}_allControlsDisabled(){for(const E of this.controls)if(E.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(E){E.setParent(this),E._registerOnCollectionChange(this._onCollectionChange)}}const jn={provide:Ne,useExisting:(0,n.forwardRef)(()=>Xe)},Se=(()=>Promise.resolve(null))();let Xe=(()=>{class k extends Ne{constructor(I,de){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new n.EventEmitter,this.form=new Ln({},Ke(I),ot(de))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(I){Se.then(()=>{const de=this._findContainer(I.path);I.control=de.registerControl(I.name,I.control),gt(I.control,I),I.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(I)})}getControl(I){return this.form.get(I.path)}removeControl(I){Se.then(()=>{const de=this._findContainer(I.path);de&&de.removeControl(I.name),vn(this._directives,I)})}addFormGroup(I){Se.then(()=>{const de=this._findContainer(I.path),Ze=new Ln({});Ee(Ze,I),de.registerControl(I.name,Ze),Ze.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(I){Se.then(()=>{const de=this._findContainer(I.path);de&&de.removeControl(I.name)})}getFormGroup(I){return this.form.get(I.path)}updateModel(I,de){Se.then(()=>{this.form.get(I.path).setValue(de)})}setValue(I){this.control.setValue(I)}onSubmit(I){return this.submitted=!0,Ht(this.form,this._directives),this.ngSubmit.emit(I),!1}onReset(){this.resetForm()}resetForm(I){this.form.reset(I),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(I){return I.pop(),I.length?this.form.get(I):this.form}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("submit",function(wt){return de.onSubmit(wt)})("reset",function(){return de.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([jn]),n.\u0275\u0275InheritDefinitionFeature]}),k})(),J=(()=>{class k extends Ne{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Ft(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275InheritDefinitionFeature]}),k})();const Ye={provide:Ne,useExisting:(0,n.forwardRef)(()=>kt)};let kt=(()=>{class k extends J{constructor(I,de,Ze){super(),this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze)}_checkParentType(){}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,5),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([Ye]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const It={provide:dt,useExisting:(0,n.forwardRef)(()=>Yt)},Rt=(()=>Promise.resolve(null))();let Yt=(()=>{class k extends dt{constructor(I,de,Ze,wt){super(),this.control=new Jn,this._registered=!1,this.update=new n.EventEmitter,this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze),this.valueAccessor=$t(0,wt)}ngOnChanges(I){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in I&&this._updateDisabled(I),je(I,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Ft(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}_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(){gt(this.control,this),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(I){Rt.then(()=>{this.control.setValue(I,{emitViewToModelChange:!1})})}_updateDisabled(I){const de=I.isDisabled.currentValue,Ze=""===de||de&&"false"!==de;Rt.then(()=>{Ze&&!this.control.disabled?this.control.disable():!Ze&&this.control.disabled&&this.control.enable()})}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,9),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(p,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,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([It]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})(),Zt=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),k})();const Mn={provide:p,useExisting:(0,n.forwardRef)(()=>Tn),multi:!0};let Tn=(()=>{class k extends m{writeValue(I){this.setProperty("value",null==I?"":I)}registerOnChange(I){this.onChange=de=>{I(""==de?null:parseFloat(de))}}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("input",function(wt){return de.onChange(wt.target.value)})("blur",function(){return de.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Mn]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const wn={provide:p,useExisting:(0,n.forwardRef)(()=>bn),multi:!0};let An=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({}),k})(),kn=(()=>{class k{constructor(){this._accessors=[]}add(I,de){this._accessors.push([I,de])}remove(I){for(let de=this._accessors.length-1;de>=0;--de)if(this._accessors[de][1]===I)return void this._accessors.splice(de,1)}select(I){this._accessors.forEach(de=>{this._isSameGroup(de,I)&&de[1]!==I&&de[1].fireUncheck(I.value)})}_isSameGroup(I,de){return!!I[0].control&&I[0]._parent===de._control._parent&&I[1].name===de.name}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:An}),k})(),bn=(()=>{class k extends m{constructor(I,de,Ze,wt){super(I,de),this._registry=Ze,this._injector=wt,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(dt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(I){this._state=I===this.value,this.setProperty("checked",this._state)}registerOnChange(I){this._fn=I,this.onChange=()=>{I(this.value),this._registry.select(this)}}fireUncheck(I){this.writeValue(I)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(kn),n.\u0275\u0275directiveInject(n.Injector))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("change",function(){return de.onChange()})("blur",function(){return de.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([wn]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const ui={provide:p,useExisting:(0,n.forwardRef)(()=>Oi),multi:!0};let Oi=(()=>{class k extends m{writeValue(I){this.setProperty("value",parseFloat(I))}registerOnChange(I){this.onChange=de=>{I(""==de?null:parseFloat(de))}}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("change",function(wt){return de.onChange(wt.target.value)})("input",function(wt){return de.onChange(wt.target.value)})("blur",function(){return de.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([ui]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const ci=new n.InjectionToken("NgModelWithFormControlWarning"),Xn={provide:dt,useExisting:(0,n.forwardRef)(()=>Ri)};let Ri=(()=>{class k extends dt{constructor(I,de,Ze,wt){super(),this._ngModelWarningConfig=wt,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(I),this._setAsyncValidators(de),this.valueAccessor=$t(0,Ze)}set isDisabled(I){}ngOnChanges(I){if(this._isControlChanged(I)){const de=I.form.previousValue;de&&Lt(de,this,!1),gt(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}je(I,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Lt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}_isControlChanged(I){return I.hasOwnProperty("form")}}return k._ngModelWarningSentOnce=!1,k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(ci,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Xn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})();const _i={provide:Ne,useExisting:(0,n.forwardRef)(()=>bi)};let bi=(()=>{class k extends Ne{constructor(I,de){super(),this.validators=I,this.asyncValidators=de,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(I),this._setAsyncValidators(de)}ngOnChanges(I){this._checkFormPresent(),I.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ge(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(I){const de=this.form.get(I.path);return gt(de,I),de.updateValueAndValidity({emitEvent:!1}),this.directives.push(I),de}getControl(I){return this.form.get(I.path)}removeControl(I){Lt(I.control||null,I,!1),vn(this.directives,I)}addFormGroup(I){this._setUpFormContainer(I)}removeFormGroup(I){this._cleanUpFormContainer(I)}getFormGroup(I){return this.form.get(I.path)}addFormArray(I){this._setUpFormContainer(I)}removeFormArray(I){this._cleanUpFormContainer(I)}getFormArray(I){return this.form.get(I.path)}updateModel(I,de){this.form.get(I.path).setValue(de)}onSubmit(I){return this.submitted=!0,Ht(this.form,this.directives),this.ngSubmit.emit(I),!1}onReset(){this.resetForm()}resetForm(I){this.form.reset(I),this.submitted=!1}_updateDomValue(){this.directives.forEach(I=>{const de=I.control,Ze=this.form.get(I.path);de!==Ze&&(Lt(de||null,I),Ze instanceof Jn&&(gt(Ze,I),I.control=Ze))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(I){const de=this.form.get(I.path);Ee(de,I),de.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(I){if(this.form){const de=this.form.get(I.path);de&&function(k,E){return Ge(k,E)}(de,I)&&de.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Mt(this.form,this),this._oldForm&&Ge(this._oldForm,this)}_checkFormPresent(){}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroup",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("submit",function(wt){return de.onSubmit(wt)})("reset",function(){return de.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([_i]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})();const si={provide:Ne,useExisting:(0,n.forwardRef)(()=>mn)};let mn=(()=>{class k extends J{constructor(I,de,Ze){super(),this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze)}_checkParentType(){xn(this._parent)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,13),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([si]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const Qi={provide:Ne,useExisting:(0,n.forwardRef)(()=>Fn)};let Fn=(()=>{class k extends Ne{constructor(I,de,Ze){super(),this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze)}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 Ft(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){xn(this._parent)}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,13),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Qi]),n.\u0275\u0275InheritDefinitionFeature]}),k})();function xn(k){return!(k instanceof mn||k instanceof bi||k instanceof Fn)}const Ii={provide:dt,useExisting:(0,n.forwardRef)(()=>wi)};let wi=(()=>{class k extends dt{constructor(I,de,Ze,wt,Wt){super(),this._ngModelWarningConfig=Wt,this._added=!1,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=I,this._setValidators(de),this._setAsyncValidators(Ze),this.valueAccessor=$t(0,wt)}set isDisabled(I){}ngOnChanges(I){this._added||this._setUpControl(),je(I,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(I){this.viewModel=I,this.update.emit(I)}get path(){return Ft(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.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return k._ngModelWarningSentOnce=!1,k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(Ne,13),n.\u0275\u0275directiveInject(D,10),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(ci,8))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([Ii]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),k})();const ir={provide:p,useExisting:(0,n.forwardRef)(()=>an),multi:!0};function Wi(k,E){return null==k?`${E}`:(E&&"object"==typeof E&&(E="Object"),`${k}: ${E}`.slice(0,50))}let an=(()=>{class k extends m{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(I){this._compareWith=I}writeValue(I){this.value=I;const de=this._getOptionId(I);null==de&&this.setProperty("selectedIndex",-1);const Ze=Wi(de,I);this.setProperty("value",Ze)}registerOnChange(I){this.onChange=de=>{this.value=this._getOptionValue(de),I(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(I){for(const de of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(de),I))return de;return null}_getOptionValue(I){const de=function(k){return k.split(":")[0]}(I);return this._optionMap.has(de)?this._optionMap.get(de):I}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(I,de){1&I&&n.\u0275\u0275listener("change",function(wt){return de.onChange(wt.target.value)})("blur",function(){return de.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ir]),n.\u0275\u0275InheritDefinitionFeature]}),k})(),gn=(()=>{class k{constructor(I,de,Ze){this._element=I,this._renderer=de,this._select=Ze,this._select&&(this.id=this._select._registerOption())}set ngValue(I){null!=this._select&&(this._select._optionMap.set(this.id,I),this._setElementValue(Wi(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._setElementValue(I),this._select&&this._select.writeValue(this._select.value)}_setElementValue(I){this._renderer.setProperty(this._element.nativeElement,"value",I)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(an,9))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),k})();const Sn={provide:p,useExisting:(0,n.forwardRef)(()=>lr),multi:!0};function oi(k,E){return null==k?`${E}`:("string"==typeof E&&(E=`'${E}'`),E&&"object"==typeof E&&(E="Object"),`${k}: ${E}`.slice(0,50))}let lr=(()=>{class k extends m{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(I){this._compareWith=I}writeValue(I){let de;if(this.value=I,Array.isArray(I)){const Ze=I.map(wt=>this._getOptionId(wt));de=(wt,Wt)=>{wt._setSelected(Ze.indexOf(Wt.toString())>-1)}}else de=(Ze,wt)=>{Ze._setSelected(!1)};this._optionMap.forEach(de)}registerOnChange(I){this.onChange=de=>{const Ze=[],wt=de.selectedOptions;if(void 0!==wt){const Wt=wt;for(let hn=0;hn{class k{constructor(I,de,Ze){this._element=I,this._renderer=de,this._select=Ze,this._select&&(this.id=this._select._registerOption(this))}set ngValue(I){null!=this._select&&(this._value=I,this._setElementValue(oi(this.id,I)),this._select.writeValue(this._select.value))}set value(I){this._select?(this._value=I,this._setElementValue(oi(this.id,I)),this._select.writeValue(this._select.value)):this._setElementValue(I)}_setElementValue(I){this._renderer.setProperty(this._element.nativeElement,"value",I)}_setSelected(I){this._renderer.setProperty(this._element.nativeElement,"selected",I)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return k.\u0275fac=function(I){return new(I||k)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(lr,9))},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),k})();function Or(k){return"number"==typeof k?k:parseInt(k,10)}function Ki(k){return"number"==typeof k?k:parseFloat(k)}let Di=(()=>{class k{constructor(){this._validator=pe}ngOnChanges(I){if(this.inputName in I){const de=this.normalizeInput(I[this.inputName].currentValue);this._validator=this.enabled()?this.createValidator(de):pe,this._onChange&&this._onChange()}}validate(I){return this._validator(I)}registerOnValidatorChange(I){this._onChange=I}enabled(){return null!=this[this.inputName]}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,features:[n.\u0275\u0275NgOnChangesFeature]}),k})();const Cr={provide:D,useExisting:(0,n.forwardRef)(()=>Li),multi:!0};let Li=(()=>{class k extends Di{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=I=>Ki(I),this.createValidator=I=>G(I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("max",de.enabled()?de.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([Cr]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const Er={provide:D,useExisting:(0,n.forwardRef)(()=>Si),multi:!0};let Si=(()=>{class k extends Di{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=I=>Ki(I),this.createValidator=I=>z(I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("min",de.enabled()?de.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([Er]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const Vi={provide:D,useExisting:(0,n.forwardRef)(()=>Pi),multi:!0},Gi={provide:D,useExisting:(0,n.forwardRef)(()=>ur),multi:!0};let Pi=(()=>{class k{constructor(){this._required=!1}get required(){return this._required}set required(I){this._required=null!=I&&!1!==I&&"false"!=`${I}`,this._onChange&&this._onChange()}validate(I){return this.required?X(I):null}registerOnValidatorChange(I){this._onChange=I}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("required",de.required?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([Vi])]}),k})(),ur=(()=>{class k extends Pi{validate(I){return this.required?Q(I):null}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("required",de.required?"":null)},features:[n.\u0275\u0275ProvidersFeature([Gi]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const cr={provide:D,useExisting:(0,n.forwardRef)(()=>di),multi:!0};let di=(()=>{class k{constructor(){this._enabled=!1}set email(I){this._enabled=""===I||!0===I||"true"===I,this._onChange&&this._onChange()}validate(I){return this._enabled?q(I):null}registerOnValidatorChange(I){this._onChange=I}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([cr])]}),k})();const dr={provide:D,useExisting:(0,n.forwardRef)(()=>qi),multi:!0};let qi=(()=>{class k extends Di{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=I=>Or(I),this.createValidator=I=>ue(I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("minlength",de.enabled()?de.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([dr]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const $i={provide:D,useExisting:(0,n.forwardRef)(()=>Xi),multi:!0};let Xi=(()=>{class k extends Di{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=I=>Or(I),this.createValidator=I=>me(I)}}return k.\u0275fac=function(){let E;return function(de){return(E||(E=n.\u0275\u0275getInheritedFactory(k)))(de||k)}}(),k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("maxlength",de.enabled()?de.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([$i]),n.\u0275\u0275InheritDefinitionFeature]}),k})();const yi={provide:D,useExisting:(0,n.forwardRef)(()=>rr),multi:!0};let rr=(()=>{class k{constructor(){this._validator=pe}ngOnChanges(I){"pattern"in I&&(this._createValidator(),this._onChange&&this._onChange())}validate(I){return this._validator(I)}registerOnValidatorChange(I){this._onChange=I}_createValidator(){this._validator=xe(this.pattern)}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275dir=n.\u0275\u0275defineDirective({type:k,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(I,de){2&I&&n.\u0275\u0275attribute("pattern",de.pattern?de.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([yi]),n.\u0275\u0275NgOnChangesFeature]}),k})(),Yi=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[[An]]}),k})(),Vr=(()=>{class k{}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[Yi]}),k})(),Wn=(()=>{class k{static withConfig(I){return{ngModule:k,providers:[{provide:ci,useValue:I.warnOnNgModelWithFormControl}]}}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275mod=n.\u0275\u0275defineNgModule({type:k}),k.\u0275inj=n.\u0275\u0275defineInjector({imports:[Yi]}),k})(),hr=(()=>{class k{group(I,de=null){const Ze=this._reduceControls(I);let hn,wt=null,Wt=null;return null!=de&&(function(k){return void 0!==k.asyncValidators||void 0!==k.validators||void 0!==k.updateOn}(de)?(wt=null!=de.validators?de.validators:null,Wt=null!=de.asyncValidators?de.asyncValidators:null,hn=null!=de.updateOn?de.updateOn:void 0):(wt=null!=de.validator?de.validator:null,Wt=null!=de.asyncValidator?de.asyncValidator:null)),new Ln(Ze,{asyncValidators:Wt,updateOn:hn,validators:wt})}control(I,de,Ze){return new Jn(I,de,Ze)}array(I,de,Ze){const wt=I.map(Wt=>this._createControl(Wt));return new ri(wt,de,Ze)}_reduceControls(I){const de={};return Object.keys(I).forEach(Ze=>{de[Ze]=this._createControl(I[Ze])}),de}_createControl(I){return I instanceof Jn||I instanceof Ln||I instanceof ri?I:Array.isArray(I)?this.control(I[0],I.length>1?I[1]:null,I.length>2?I[2]:null):this.control(I)}}return k.\u0275fac=function(I){return new(I||k)},k.\u0275prov=n.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:Wn}),k})();const fe=new n.Version("13.1.1")},1079:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_AUTOCOMPLETE_DEFAULT_OPTIONS:()=>U,MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY:()=>ie,MAT_AUTOCOMPLETE_SCROLL_STRATEGY:()=>Te,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY:()=>Ke,MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>tt,MAT_AUTOCOMPLETE_VALUE_ACCESSOR:()=>ot,MatAutocomplete:()=>Ce,MatAutocompleteModule:()=>bt,MatAutocompleteOrigin:()=>ct,MatAutocompleteSelectedEvent:()=>oe,MatAutocompleteTrigger:()=>Ie,_MatAutocompleteBase:()=>le,_MatAutocompleteOriginBase:()=>Qe,_MatAutocompleteTriggerBase:()=>Dt,getMatAutocompleteMissingPanelError:()=>pt});var n=o(5664),l=o(3191),u=o(5e3),c=o(508),r=o(2654),d=o(8929),m=o(8514),p=o(6787),y=o(1086),b=o(3753),h=o(925),g=o(9808),s=o(1314),C=o(9071),P=o(1159),w=o(7429),D=o(3075),T=o(7322),Y=o(2986),$=o(7545),z=o(2198),G=o(4850),X=o(2868),Q=o(943),q=o(226);const ue=["panel"];function me(Et,xt){if(1&Et&&(u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275projection(2),u.\u0275\u0275elementEnd()),2&Et){const dt=xt.id,Ne=u.\u0275\u0275nextContext();u.\u0275\u0275property("id",Ne.id)("ngClass",Ne._classList),u.\u0275\u0275attribute("aria-label",Ne.ariaLabel||null)("aria-labelledby",Ne._getPanelAriaLabelledby(dt))}}const xe=["*"];let pe=0;class oe{constructor(xt,dt){this.source=xt,this.option=dt}}const ae=(0,c.mixinDisableRipple)(class{}),U=new u.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:ie});function ie(){return{autoActiveFirstOption:!1}}let le=(()=>{class Et extends ae{constructor(dt,Ne,rt,ze){super(),this._changeDetectorRef=dt,this._elementRef=Ne,this._activeOptionChanges=r.w.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new u.EventEmitter,this.opened=new u.EventEmitter,this.closed=new u.EventEmitter,this.optionActivated=new u.EventEmitter,this._classList={},this.id="mat-autocomplete-"+pe++,this.inertGroups=(null==ze?void 0:ze.SAFARI)||!1,this._autoActiveFirstOption=!!rt.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(dt){this._autoActiveFirstOption=(0,l.Ig)(dt)}set classList(dt){this._classList=dt&&dt.length?(0,l.du)(dt).reduce((Ne,rt)=>(Ne[rt]=!0,Ne),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new n.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(dt=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[dt]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(dt){this.panel&&(this.panel.nativeElement.scrollTop=dt)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(dt){const Ne=new oe(this,dt);this.optionSelected.emit(Ne)}_getPanelAriaLabelledby(dt){return this.ariaLabel?null:this.ariaLabelledby?(dt?dt+" ":"")+this.ariaLabelledby:dt}_setVisibilityClasses(dt){dt[this._visibleClass]=this.showPanel,dt[this._hiddenClass]=!this.showPanel}}return Et.\u0275fac=function(dt){return new(dt||Et)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(U),u.\u0275\u0275directiveInject(h.t4))},Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et,viewQuery:function(dt,Ne){if(1&dt&&(u.\u0275\u0275viewQuery(u.TemplateRef,7),u.\u0275\u0275viewQuery(ue,5)),2&dt){let rt;u.\u0275\u0275queryRefresh(rt=u.\u0275\u0275loadQuery())&&(Ne.template=rt.first),u.\u0275\u0275queryRefresh(rt=u.\u0275\u0275loadQuery())&&(Ne.panel=rt.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[u.\u0275\u0275InheritDefinitionFeature]}),Et})(),Ce=(()=>{class Et extends le{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Et.\u0275fac=function(){let xt;return function(Ne){return(xt||(xt=u.\u0275\u0275getInheritedFactory(Et)))(Ne||Et)}}(),Et.\u0275cmp=u.\u0275\u0275defineComponent({type:Et,selectors:[["mat-autocomplete"]],contentQueries:function(dt,Ne,rt){if(1&dt&&(u.\u0275\u0275contentQuery(rt,c.MAT_OPTGROUP,5),u.\u0275\u0275contentQuery(rt,c.MatOption,5)),2&dt){let ze;u.\u0275\u0275queryRefresh(ze=u.\u0275\u0275loadQuery())&&(Ne.optionGroups=ze),u.\u0275\u0275queryRefresh(ze=u.\u0275\u0275loadQuery())&&(Ne.options=ze)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[u.\u0275\u0275ProvidersFeature([{provide:c.MAT_OPTION_PARENT_COMPONENT,useExisting:Et}]),u.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:xe,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(dt,Ne){1&dt&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275template(0,me,3,4,"ng-template"))},directives:[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}\n"],encapsulation:2,changeDetection:0}),Et})();const Te=new u.InjectionToken("mat-autocomplete-scroll-strategy");function Ke(Et){return()=>Et.scrollStrategies.reposition()}const tt={provide:Te,deps:[s.aV],useFactory:Ke},ot={provide:D.NG_VALUE_ACCESSOR,useExisting:(0,u.forwardRef)(()=>Ie),multi:!0};function pt(){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.")}let Dt=(()=>{class Et{constructor(dt,Ne,rt,ze,yt,mt,_e,Z,j,_,x){this._element=dt,this._overlay=Ne,this._viewContainerRef=rt,this._zone=ze,this._changeDetectorRef=yt,this._dir=_e,this._formField=Z,this._document=j,this._viewportRuler=_,this._defaults=x,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=r.w.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new d.xQ,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,m.P)(()=>this.autocomplete&&this.autocomplete.options?(0,p.T)(...this.autocomplete.options.map(N=>N.onSelectionChange)):this._zone.onStable.pipe((0,Y.q)(1),(0,$.w)(()=>this.optionSelections))),this._scrollStrategy=mt}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(dt){this._autocompleteDisabled=(0,l.Ig)(dt)}ngAfterViewInit(){const dt=this._getWindow();void 0!==dt&&this._zone.runOutsideAngular(()=>dt.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(dt){dt.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const dt=this._getWindow();void 0!==dt&&dt.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,p.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,z.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,z.h)(()=>this._overlayAttached)):(0,y.of)()).pipe((0,G.U)(dt=>dt instanceof c.MatOptionSelectionChange?dt:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,p.T)((0,b.R)(this._document,"click"),(0,b.R)(this._document,"auxclick"),(0,b.R)(this._document,"touchend")).pipe((0,z.h)(dt=>{const Ne=(0,h.sA)(dt),rt=this._formField?this._formField._elementRef.nativeElement:null,ze=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&Ne!==this._element.nativeElement&&(!rt||!rt.contains(Ne))&&(!ze||!ze.contains(Ne))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(Ne)}))}writeValue(dt){Promise.resolve(null).then(()=>this._setTriggerValue(dt))}registerOnChange(dt){this._onChange=dt}registerOnTouched(dt){this._onTouched=dt}setDisabledState(dt){this._element.nativeElement.disabled=dt}_handleKeydown(dt){const Ne=dt.keyCode;if(Ne===P.hY&&!(0,P.Vb)(dt)&&dt.preventDefault(),this.activeOption&&Ne===P.K5&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),dt.preventDefault();else if(this.autocomplete){const rt=this.autocomplete._keyManager.activeItem,ze=Ne===P.LH||Ne===P.JH;this.panelOpen||Ne===P.Mf?this.autocomplete._keyManager.onKeydown(dt):ze&&this._canOpen()&&this.openPanel(),(ze||this.autocomplete._keyManager.activeItem!==rt)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(dt){let Ne=dt.target,rt=Ne.value;"number"===Ne.type&&(rt=""==rt?null:parseFloat(rt)),this._previousValue!==rt&&(this._previousValue=rt,this._onChange(rt),this._canOpen()&&this._document.activeElement===dt.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(dt=!1){this._formField&&"auto"===this._formField.floatLabel&&(dt?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const dt=this._zone.onStable.pipe((0,Y.q)(1)),Ne=this.autocomplete.options.changes.pipe((0,X.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Q.g)(0));return(0,p.T)(dt,Ne).pipe((0,$.w)(()=>{const rt=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),rt!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),(0,Y.q)(1)).subscribe(rt=>this._setValueAndClose(rt))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(dt){const Ne=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(dt):dt,rt=null!=Ne?Ne:"";this._formField?this._formField._control.value=rt:this._element.nativeElement.value=rt,this._previousValue=rt}_setValueAndClose(dt){dt&&dt.source&&(this._clearPreviousSelectedOption(dt.source),this._setTriggerValue(dt.source.value),this._onChange(dt.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(dt.source)),this.closePanel()}_clearPreviousSelectedOption(dt){this.autocomplete.options.forEach(Ne=>{Ne!==dt&&Ne.selected&&Ne.deselect()})}_attachOverlay(){var dt;let Ne=this._overlayRef;Ne?(this._positionStrategy.setOrigin(this._getConnectedElement()),Ne.updateSize({width:this._getPanelWidth()})):(this._portal=new w.UE(this.autocomplete.template,this._viewContainerRef,{id:null===(dt=this._formField)||void 0===dt?void 0:dt.getLabelId()}),Ne=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Ne,Ne.keydownEvents().subscribe(ze=>{(ze.keyCode===P.hY&&!(0,P.Vb)(ze)||ze.keyCode===P.LH&&(0,P.Vb)(ze,"altKey"))&&(this._closeKeyEventStream.next(),this._resetActiveItem(),ze.stopPropagation(),ze.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Ne&&Ne.updateSize({width:this._getPanelWidth()})})),Ne&&!Ne.hasAttached()&&(Ne.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const rt=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&rt!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var dt;return new s.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(dt=this._defaults)||void 0===dt?void 0:dt.overlayPanelClass})}_getOverlayPosition(){const dt=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(dt),this._positionStrategy=dt,dt}_setStrategyPositions(dt){const Ne=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],rt=this._aboveClass,ze=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:rt},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:rt}];let yt;yt="above"===this.position?ze:"below"===this.position?Ne:[...Ne,...ze],dt.withPositions(yt)}_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 dt=this.autocomplete;dt.autoActiveFirstOption?dt._keyManager.setFirstItemActive():dt._keyManager.setActiveItem(-1)}_canOpen(){const dt=this._element.nativeElement;return!dt.readOnly&&!dt.disabled&&!this._autocompleteDisabled}_getWindow(){var dt;return(null===(dt=this._document)||void 0===dt?void 0:dt.defaultView)||window}_scrollToOption(dt){const Ne=this.autocomplete,rt=(0,c._countGroupLabelsBeforeOption)(dt,Ne.options,Ne.optionGroups);if(0===dt&&1===rt)Ne._setScrollTop(0);else if(Ne.panel){const ze=Ne.options.toArray()[dt];if(ze){const yt=ze._getHostElement(),mt=(0,c._getOptionScrollPosition)(yt.offsetTop,yt.offsetHeight,Ne._getScrollTop(),Ne.panel.nativeElement.offsetHeight);Ne._setScrollTop(mt)}}}}return Et.\u0275fac=function(dt){return new(dt||Et)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(s.aV),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(Te),u.\u0275\u0275directiveInject(q.Is,8),u.\u0275\u0275directiveInject(T.MAT_FORM_FIELD,9),u.\u0275\u0275directiveInject(g.DOCUMENT,8),u.\u0275\u0275directiveInject(C.rL),u.\u0275\u0275directiveInject(U,8))},Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[u.\u0275\u0275NgOnChangesFeature]}),Et})(),Ie=(()=>{class Et extends Dt{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Et.\u0275fac=function(){let xt;return function(Ne){return(xt||(xt=u.\u0275\u0275getInheritedFactory(Et)))(Ne||Et)}}(),Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(dt,Ne){1&dt&&u.\u0275\u0275listener("focusin",function(){return Ne._handleFocus()})("blur",function(){return Ne._onTouched()})("input",function(ze){return Ne._handleInput(ze)})("keydown",function(ze){return Ne._handleKeydown(ze)}),2&dt&&u.\u0275\u0275attribute("autocomplete",Ne.autocompleteAttribute)("role",Ne.autocompleteDisabled?null:"combobox")("aria-autocomplete",Ne.autocompleteDisabled?null:"list")("aria-activedescendant",Ne.panelOpen&&Ne.activeOption?Ne.activeOption.id:null)("aria-expanded",Ne.autocompleteDisabled?null:Ne.panelOpen.toString())("aria-owns",Ne.autocompleteDisabled||!Ne.panelOpen||null==Ne.autocomplete?null:Ne.autocomplete.id)("aria-haspopup",!Ne.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[u.\u0275\u0275ProvidersFeature([ot]),u.\u0275\u0275InheritDefinitionFeature]}),Et})(),Qe=(()=>{class Et{constructor(dt){this.elementRef=dt}}return Et.\u0275fac=function(dt){return new(dt||Et)(u.\u0275\u0275directiveInject(u.ElementRef))},Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et}),Et})(),ct=(()=>{class Et extends Qe{}return Et.\u0275fac=function(){let xt;return function(Ne){return(xt||(xt=u.\u0275\u0275getInheritedFactory(Et)))(Ne||Et)}}(),Et.\u0275dir=u.\u0275\u0275defineDirective({type:Et,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[u.\u0275\u0275InheritDefinitionFeature]}),Et})(),bt=(()=>{class Et{}return Et.\u0275fac=function(dt){return new(dt||Et)},Et.\u0275mod=u.\u0275\u0275defineNgModule({type:Et}),Et.\u0275inj=u.\u0275\u0275defineInjector({providers:[tt],imports:[[s.U8,c.MatOptionModule,c.MatCommonModule,g.CommonModule],C.ZD,c.MatOptionModule,c.MatCommonModule]}),Et})()},7423:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatAnchor:()=>g,MatButton:()=>h,MatButtonModule:()=>s});var n=o(5e3),l=o(508),u=o(6360),c=o(5664);const r=["mat-button",""],d=["*"],y=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],b=(0,l.mixinColor)((0,l.mixinDisabled)((0,l.mixinDisableRipple)(class{constructor(C){this._elementRef=C}})));let h=(()=>{class C extends b{constructor(w,D,T){super(w),this._focusMonitor=D,this._animationMode=T,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const Y of y)this._hasHostAttributes(Y)&&this._getHostElement().classList.add(Y);w.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(w,D){w?this._focusMonitor.focusVia(this._getHostElement(),w,D):this._getHostElement().focus(D)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...w){return w.some(D=>this._getHostElement().hasAttribute(D))}}return C.\u0275fac=function(w){return new(w||C)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(u.ANIMATION_MODULE_TYPE,8))},C.\u0275cmp=n.\u0275\u0275defineComponent({type:C,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(w,D){if(1&w&&n.\u0275\u0275viewQuery(l.MatRipple,5),2&w){let T;n.\u0275\u0275queryRefresh(T=n.\u0275\u0275loadQuery())&&(D.ripple=T.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(w,D){2&w&&(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:r,ngContentSelectors:d,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(w,D){1&w&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1),n.\u0275\u0275element(3,"span",2)),2&w&&(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()))},directives:[l.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-raised-button{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-fab{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-mini-fab{transition:none;animation:none}.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}.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}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),C})(),g=(()=>{class C extends h{constructor(w,D,T){super(D,w,T)}_haltDisabledEvents(w){this.disabled&&(w.preventDefault(),w.stopImmediatePropagation())}}return C.\u0275fac=function(w){return new(w||C)(n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(u.ANIMATION_MODULE_TYPE,8))},C.\u0275cmp=n.\u0275\u0275defineComponent({type:C,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(w,D){1&w&&n.\u0275\u0275listener("click",function(Y){return D._haltDisabledEvents(Y)}),2&w&&(n.\u0275\u0275attribute("tabindex",D.disabled?-1:D.tabIndex||0)("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:r,ngContentSelectors:d,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(w,D){1&w&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1),n.\u0275\u0275element(3,"span",2)),2&w&&(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()))},directives:[l.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-raised-button{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-fab{transition:none;animation:none}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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-animation-noopable.mat-mini-fab{transition:none;animation:none}.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}.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}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),C})(),s=(()=>{class C{}return C.\u0275fac=function(w){return new(w||C)},C.\u0275mod=n.\u0275\u0275defineNgModule({type:C}),C.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.MatRippleModule,l.MatCommonModule],l.MatCommonModule]}),C})()},9224:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatCard:()=>z,MatCardActions:()=>s,MatCardAvatar:()=>$,MatCardContent:()=>b,MatCardFooter:()=>C,MatCardHeader:()=>G,MatCardImage:()=>P,MatCardLgImage:()=>T,MatCardMdImage:()=>D,MatCardModule:()=>Q,MatCardSmImage:()=>w,MatCardSubtitle:()=>g,MatCardTitle:()=>h,MatCardTitleGroup:()=>X,MatCardXlImage:()=>Y});var n=o(5e3),l=o(6360),u=o(508);const c=["*",[["mat-card-footer"]]],r=["*","mat-card-footer"],d=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],m=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],p=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["img"]],"*"],y=["mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","img","*"];let b=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),q})(),h=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),q})(),g=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),q})(),s=(()=>{class q{constructor(){this.align="start"}}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(me,xe){2&me&&n.\u0275\u0275classProp("mat-card-actions-align-end","end"===xe.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),q})(),C=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["mat-card-footer"]],hostAttrs:[1,"mat-card-footer"]}),q})(),P=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),q})(),w=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-sm-image",""],["","matCardImageSmall",""]],hostAttrs:[1,"mat-card-sm-image"]}),q})(),D=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-card-md-image"]}),q})(),T=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-lg-image",""],["","matCardImageLarge",""]],hostAttrs:[1,"mat-card-lg-image"]}),q})(),Y=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-xl-image",""],["","matCardImageXLarge",""]],hostAttrs:[1,"mat-card-xl-image"]}),q})(),$=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275dir=n.\u0275\u0275defineDirective({type:q,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),q})(),z=(()=>{class q{constructor(me){this._animationMode=me}}return q.\u0275fac=function(me){return new(me||q)(n.\u0275\u0275directiveInject(l.ANIMATION_MODULE_TYPE,8))},q.\u0275cmp=n.\u0275\u0275defineComponent({type:q,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(me,xe){2&me&&n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===xe._animationMode)},exportAs:["matCard"],ngContentSelectors:r,decls:2,vars:0,template:function(me,xe){1&me&&(n.\u0275\u0275projectionDef(c),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-animation-noopable.mat-card{transition:none;animation:none}.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}.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}\n"],encapsulation:2,changeDetection:0}),q})(),G=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275cmp=n.\u0275\u0275defineComponent({type:q,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:m,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(me,xe){1&me&&(n.\u0275\u0275projectionDef(d),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}),q})(),X=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275cmp=n.\u0275\u0275defineComponent({type:q,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-card-title-group"],ngContentSelectors:y,decls:4,vars:0,template:function(me,xe){1&me&&(n.\u0275\u0275projectionDef(p),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}),q})(),Q=(()=>{class q{}return q.\u0275fac=function(me){return new(me||q)},q.\u0275mod=n.\u0275\u0275defineNgModule({type:q}),q.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.MatCommonModule],u.MatCommonModule]}),q})()},7446:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR:()=>P,MAT_CHECKBOX_DEFAULT_OPTIONS:()=>h,MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY:()=>g,MAT_CHECKBOX_REQUIRED_VALIDATOR:()=>Y,MatCheckbox:()=>T,MatCheckboxChange:()=>w,MatCheckboxModule:()=>G,MatCheckboxRequiredValidator:()=>$,_MatCheckboxRequiredValidatorModule:()=>z});var n=o(3191),l=o(5e3),u=o(3075),c=o(508),r=o(6360),d=o(5664),m=o(7144);const p=["input"],y=function(X){return{enterDuration:X}},b=["*"],h=new l.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:g});function g(){return{color:"accent",clickAction:"check-indeterminate"}}let s=0;const C=g(),P={provide:u.NG_VALUE_ACCESSOR,useExisting:(0,l.forwardRef)(()=>T),multi:!0};class w{}const D=(0,c.mixinTabIndex)((0,c.mixinColor)((0,c.mixinDisableRipple)((0,c.mixinDisabled)(class{constructor(X){this._elementRef=X}}))));let T=(()=>{class X extends D{constructor(q,ue,me,xe,pe,oe,ae){super(q),this._changeDetectorRef=ue,this._focusMonitor=me,this._ngZone=xe,this._animationMode=oe,this._options=ae,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++s,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new l.EventEmitter,this.indeterminateChange=new l.EventEmitter,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||C,this.color=this.defaultColor=this._options.color||C.color,this.tabIndex=parseInt(pe)||0}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(q){this._required=(0,n.Ig)(q)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(q=>{q||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(q){q!=this.checked&&(this._checked=q,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(q){const ue=(0,n.Ig)(q);ue!==this.disabled&&(this._disabled=ue,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(q){const ue=q!=this._indeterminate;this._indeterminate=(0,n.Ig)(q),ue&&(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(q){this.checked=!!q}registerOnChange(q){this._controlValueAccessorChangeFn=q}registerOnTouched(q){this._onTouched=q}setDisabledState(q){this.disabled=q}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(q){let ue=this._currentCheckState,me=this._elementRef.nativeElement;if(ue!==q&&(this._currentAnimationClass.length>0&&me.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ue,q),this._currentCheckState=q,this._currentAnimationClass.length>0)){me.classList.add(this._currentAnimationClass);const xe=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{me.classList.remove(xe)},1e3)})}}_emitChangeEvent(){const q=new w;q.source=this,q.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(q),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked}_onInputClick(q){var ue;const me=null===(ue=this._options)||void 0===ue?void 0:ue.clickAction;q.stopPropagation(),this.disabled||"noop"===me?!this.disabled&&"noop"===me&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==me&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(q,ue){q?this._focusMonitor.focusVia(this._inputElement,q,ue):this._inputElement.nativeElement.focus(ue)}_onInteractionEvent(q){q.stopPropagation()}_getAnimationClassForCheckStateTransition(q,ue){if("NoopAnimations"===this._animationMode)return"";let me="";switch(q){case 0:if(1===ue)me="unchecked-checked";else{if(3!=ue)return"";me="unchecked-indeterminate"}break;case 2:me=1===ue?"unchecked-checked":"unchecked-indeterminate";break;case 1:me=2===ue?"checked-unchecked":"checked-indeterminate";break;case 3:me=1===ue?"indeterminate-checked":"indeterminate-unchecked"}return`mat-checkbox-anim-${me}`}_syncIndeterminate(q){const ue=this._inputElement;ue&&(ue.nativeElement.indeterminate=q)}}return X.\u0275fac=function(q){return new(q||X)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(d.tE),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275injectAttribute("tabindex"),l.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8),l.\u0275\u0275directiveInject(h,8))},X.\u0275cmp=l.\u0275\u0275defineComponent({type:X,selectors:[["mat-checkbox"]],viewQuery:function(q,ue){if(1&q&&(l.\u0275\u0275viewQuery(p,5),l.\u0275\u0275viewQuery(c.MatRipple,5)),2&q){let me;l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue._inputElement=me.first),l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue.ripple=me.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(q,ue){2&q&&(l.\u0275\u0275hostProperty("id",ue.id),l.\u0275\u0275attribute("tabindex",null),l.\u0275\u0275classProp("mat-checkbox-indeterminate",ue.indeterminate)("mat-checkbox-checked",ue.checked)("mat-checkbox-disabled",ue.disabled)("mat-checkbox-label-before","before"==ue.labelPosition)("_mat-animation-noopable","NoopAnimations"===ue._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",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"},exportAs:["matCheckbox"],features:[l.\u0275\u0275ProvidersFeature([P]),l.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:b,decls:17,vars:21,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",0,"xml","space","preserve","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(q,ue){if(1&q&&(l.\u0275\u0275projectionDef(),l.\u0275\u0275elementStart(0,"label",0,1),l.\u0275\u0275elementStart(2,"span",2),l.\u0275\u0275elementStart(3,"input",3,4),l.\u0275\u0275listener("change",function(xe){return ue._onInteractionEvent(xe)})("click",function(xe){return ue._onInputClick(xe)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(5,"span",5),l.\u0275\u0275element(6,"span",6),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(7,"span",7),l.\u0275\u0275elementStart(8,"span",8),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(9,"svg",9),l.\u0275\u0275element(10,"path",10),l.\u0275\u0275elementEnd(),l.\u0275\u0275namespaceHTML(),l.\u0275\u0275element(11,"span",11),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(12,"span",12,13),l.\u0275\u0275listener("cdkObserveContent",function(){return ue._onLabelTextChange()}),l.\u0275\u0275elementStart(14,"span",14),l.\u0275\u0275text(15,"\xa0"),l.\u0275\u0275elementEnd(),l.\u0275\u0275projection(16),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&q){const me=l.\u0275\u0275reference(1),xe=l.\u0275\u0275reference(13);l.\u0275\u0275attribute("for",ue.inputId),l.\u0275\u0275advance(2),l.\u0275\u0275classProp("mat-checkbox-inner-container-no-side-margin",!xe.textContent||!xe.textContent.trim()),l.\u0275\u0275advance(1),l.\u0275\u0275property("id",ue.inputId)("required",ue.required)("checked",ue.checked)("disabled",ue.disabled)("tabIndex",ue.tabIndex),l.\u0275\u0275attribute("value",ue.value)("name",ue.name)("aria-label",ue.ariaLabel||null)("aria-labelledby",ue.ariaLabelledby)("aria-checked",ue._getAriaChecked())("aria-describedby",ue.ariaDescribedby),l.\u0275\u0275advance(2),l.\u0275\u0275property("matRippleTrigger",me)("matRippleDisabled",ue._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",l.\u0275\u0275pureFunction1(19,y,"NoopAnimations"===ue._animationMode?0:150))}},directives:[c.MatRipple,m.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:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.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}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-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;-moz-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:transparent;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:transparent}.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%}\n"],encapsulation:2,changeDetection:0}),X})();const Y={provide:u.NG_VALIDATORS,useExisting:(0,l.forwardRef)(()=>$),multi:!0};let $=(()=>{class X extends u.CheckboxRequiredValidator{}return X.\u0275fac=function(){let Q;return function(ue){return(Q||(Q=l.\u0275\u0275getInheritedFactory(X)))(ue||X)}}(),X.\u0275dir=l.\u0275\u0275defineDirective({type:X,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[l.\u0275\u0275ProvidersFeature([Y]),l.\u0275\u0275InheritDefinitionFeature]}),X})(),z=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=l.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=l.\u0275\u0275defineInjector({}),X})(),G=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=l.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=l.\u0275\u0275defineInjector({imports:[[c.MatRippleModule,c.MatCommonModule,m.Q8,z],c.MatCommonModule,z]}),X})()},508:(he,A,o)=>{"use strict";o.r(A),o.d(A,{AnimationCurves:()=>Y,AnimationDurations:()=>$,DateAdapter:()=>Te,ErrorStateMatcher:()=>bt,MATERIAL_SANITY_CHECKS:()=>X,MAT_DATE_FORMATS:()=>Ke,MAT_DATE_LOCALE:()=>le,MAT_DATE_LOCALE_FACTORY:()=>Ce,MAT_NATIVE_DATE_FORMATS:()=>Dt,MAT_OPTGROUP:()=>gt,MAT_OPTION_PARENT_COMPONENT:()=>Ae,MAT_RIPPLE_GLOBAL_OPTIONS:()=>N,MatCommonModule:()=>Q,MatLine:()=>Et,MatLineModule:()=>Ne,MatNativeDateModule:()=>Qe,MatOptgroup:()=>Lt,MatOption:()=>Ge,MatOptionModule:()=>Nt,MatOptionSelectionChange:()=>_t,MatPseudoCheckbox:()=>Oe,MatPseudoCheckboxModule:()=>ve,MatRipple:()=>ce,MatRippleModule:()=>Ue,NativeDateAdapter:()=>pt,NativeDateModule:()=>Ie,RippleRef:()=>rt,RippleRenderer:()=>j,ShowOnDirtyErrorStateMatcher:()=>ct,VERSION:()=>T,_MatOptgroupBase:()=>Ft,_MatOptionBase:()=>Mt,_countGroupLabelsBeforeOption:()=>lt,_getOptionScrollPosition:()=>Ot,defaultRippleAnimationConfig:()=>ze,mixinColor:()=>pe,mixinDisableRipple:()=>oe,mixinDisabled:()=>xe,mixinErrorState:()=>U,mixinInitialized:()=>ie,mixinTabIndex:()=>ae,setLines:()=>xt});var n=o(5e3),l=o(226),c=o(9808),r=o(925),d=o(5664),m=o(3191),p=o(8929),y=o(6498),b=o(1059),h=o(6360),g=o(1159);const s=["*",[["mat-option"],["ng-container"]]],C=["*","mat-option, ng-container"];function P(Pe,Ee){if(1&Pe&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",4),2&Pe){const B=n.\u0275\u0275nextContext();n.\u0275\u0275property("state",B.selected?"checked":"unchecked")("disabled",B.disabled)}}function w(Pe,Ee){if(1&Pe&&(n.\u0275\u0275elementStart(0,"span",5),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Pe){const B=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",B.group.label,")")}}const D=["*"],T=new n.Version("13.1.1");let Y=(()=>{class Pe{}return Pe.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",Pe.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",Pe.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",Pe.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",Pe})(),$=(()=>{class Pe{}return Pe.COMPLEX="375ms",Pe.ENTERING="225ms",Pe.EXITING="195ms",Pe})();const X=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Q=(()=>{class Pe{constructor(B,V,be){this._sanityChecks=V,this._document=be,this._hasDoneGlobalChecks=!1,B._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(B){return!(0,r.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[B])}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275inject(d.qm),n.\u0275\u0275inject(X,8),n.\u0275\u0275inject(c.DOCUMENT))},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.vT],l.vT]}),Pe})();function xe(Pe){return class extends Pe{constructor(...Ee){super(...Ee),this._disabled=!1}get disabled(){return this._disabled}set disabled(Ee){this._disabled=(0,m.Ig)(Ee)}}}function pe(Pe,Ee){return class extends Pe{constructor(...B){super(...B),this.defaultColor=Ee,this.color=Ee}get color(){return this._color}set color(B){const V=B||this.defaultColor;V!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),V&&this._elementRef.nativeElement.classList.add(`mat-${V}`),this._color=V)}}}function oe(Pe){return class extends Pe{constructor(...Ee){super(...Ee),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ee){this._disableRipple=(0,m.Ig)(Ee)}}}function ae(Pe,Ee=0){return class extends Pe{constructor(...B){super(...B),this._tabIndex=Ee,this.defaultTabIndex=Ee}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(B){this._tabIndex=null!=B?(0,m.su)(B):this.defaultTabIndex}}}function U(Pe){return class extends Pe{constructor(...Ee){super(...Ee),this.stateChanges=new p.xQ,this.errorState=!1}updateErrorState(){const Ee=this.errorState,je=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);je!==Ee&&(this.errorState=je,this.stateChanges.next())}}}function ie(Pe){return class extends Pe{constructor(...Ee){super(...Ee),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new y.y(B=>{this._isInitialized?this._notifySubscriber(B):this._pendingSubscribers.push(B)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Ee){Ee.next(),Ee.complete()}}}const le=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:Ce});function Ce(){return(0,n.inject)(n.LOCALE_ID)}class Te{constructor(){this._localeChanges=new p.xQ,this.localeChanges=this._localeChanges}getValidDateOrNull(Ee){return this.isDateInstance(Ee)&&this.isValid(Ee)?Ee:null}deserialize(Ee){return null==Ee||this.isDateInstance(Ee)&&this.isValid(Ee)?Ee:this.invalid()}setLocale(Ee){this.locale=Ee,this._localeChanges.next()}compareDate(Ee,B){return this.getYear(Ee)-this.getYear(B)||this.getMonth(Ee)-this.getMonth(B)||this.getDate(Ee)-this.getDate(B)}sameDate(Ee,B){if(Ee&&B){let V=this.isValid(Ee),be=this.isValid(B);return V&&be?!this.compareDate(Ee,B):V==be}return Ee==B}clampDate(Ee,B,V){return B&&this.compareDate(Ee,B)<0?B:V&&this.compareDate(Ee,V)>0?V:Ee}}const Ke=new n.InjectionToken("mat-date-formats"),tt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ot(Pe,Ee){const B=Array(Pe);for(let V=0;V{class Pe extends Te{constructor(B,V){super(),this.useUtcForDisplay=!1,super.setLocale(B)}getYear(B){return B.getFullYear()}getMonth(B){return B.getMonth()}getDate(B){return B.getDate()}getDayOfWeek(B){return B.getDay()}getMonthNames(B){const V=new Intl.DateTimeFormat(this.locale,{month:B,timeZone:"utc"});return ot(12,be=>this._format(V,new Date(2017,be,1)))}getDateNames(){const B=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ot(31,V=>this._format(B,new Date(2017,0,V+1)))}getDayOfWeekNames(B){const V=new Intl.DateTimeFormat(this.locale,{weekday:B,timeZone:"utc"});return ot(7,be=>this._format(V,new Date(2017,0,be+1)))}getYearName(B){const V=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(V,B)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(B){return this.getDate(this._createDateWithOverflow(this.getYear(B),this.getMonth(B)+1,0))}clone(B){return new Date(B.getTime())}createDate(B,V,be){let je=this._createDateWithOverflow(B,V,be);return je.getMonth(),je}today(){return new Date}parse(B){return"number"==typeof B?new Date(B):B?new Date(Date.parse(B)):null}format(B,V){if(!this.isValid(B))throw Error("NativeDateAdapter: Cannot format invalid date.");const be=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},V),{timeZone:"utc"}));return this._format(be,B)}addCalendarYears(B,V){return this.addCalendarMonths(B,12*V)}addCalendarMonths(B,V){let be=this._createDateWithOverflow(this.getYear(B),this.getMonth(B)+V,this.getDate(B));return this.getMonth(be)!=((this.getMonth(B)+V)%12+12)%12&&(be=this._createDateWithOverflow(this.getYear(be),this.getMonth(be),0)),be}addCalendarDays(B,V){return this._createDateWithOverflow(this.getYear(B),this.getMonth(B),this.getDate(B)+V)}toIso8601(B){return[B.getUTCFullYear(),this._2digit(B.getUTCMonth()+1),this._2digit(B.getUTCDate())].join("-")}deserialize(B){if("string"==typeof B){if(!B)return null;if(tt.test(B)){let V=new Date(B);if(this.isValid(V))return V}}return super.deserialize(B)}isDateInstance(B){return B instanceof Date}isValid(B){return!isNaN(B.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(B,V,be){const je=new Date;return je.setFullYear(B,V,be),je.setHours(0,0,0,0),je}_2digit(B){return("00"+B).slice(-2)}_format(B,V){const be=new Date;return be.setUTCFullYear(V.getFullYear(),V.getMonth(),V.getDate()),be.setUTCHours(V.getHours(),V.getMinutes(),V.getSeconds(),V.getMilliseconds()),B.format(be)}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275inject(le,8),n.\u0275\u0275inject(r.t4))},Pe.\u0275prov=n.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})();const Dt={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 Ie=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:Te,useClass:pt}],imports:[[r.ud]]}),Pe})(),Qe=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:Ke,useValue:Dt}],imports:[[Ie]]}),Pe})(),ct=(()=>{class Pe{isErrorState(B,V){return!!(B&&B.invalid&&(B.dirty||V&&V.submitted))}}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275prov=n.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac}),Pe})(),bt=(()=>{class Pe{isErrorState(B,V){return!!(B&&B.invalid&&(B.touched||V&&V.submitted))}}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275prov=n.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})(),Et=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275dir=n.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),Pe})();function xt(Pe,Ee,B="mat"){Pe.changes.pipe((0,b.O)(Pe)).subscribe(({length:V})=>{dt(Ee,`${B}-2-line`,!1),dt(Ee,`${B}-3-line`,!1),dt(Ee,`${B}-multi-line`,!1),2===V||3===V?dt(Ee,`${B}-${V}-line`,!0):V>3&&dt(Ee,`${B}-multi-line`,!0)})}function dt(Pe,Ee,B){Pe.nativeElement.classList.toggle(Ee,B)}let Ne=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Q],Q]}),Pe})();class rt{constructor(Ee,B,V){this._renderer=Ee,this.element=B,this.config=V,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ze={enterDuration:225,exitDuration:150},mt=(0,r.i$)({passive:!0}),_e=["mousedown","touchstart"],Z=["mouseup","mouseleave","touchend","touchcancel"];class j{constructor(Ee,B,V,be){this._target=Ee,this._ngZone=B,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,be.isBrowser&&(this._containerElement=(0,m.fI)(V))}fadeInRipple(Ee,B,V={}){const be=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),je=Object.assign(Object.assign({},ze),V.animation);V.centered&&(Ee=be.left+be.width/2,B=be.top+be.height/2);const Ct=V.radius||function(Pe,Ee,B){const V=Math.max(Math.abs(Pe-B.left),Math.abs(Pe-B.right)),be=Math.max(Math.abs(Ee-B.top),Math.abs(Ee-B.bottom));return Math.sqrt(V*V+be*be)}(Ee,B,be),Ht=Ee-be.left,$t=B-be.top,vn=je.enterDuration,it=document.createElement("div");it.classList.add("mat-ripple-element"),it.style.left=Ht-Ct+"px",it.style.top=$t-Ct+"px",it.style.height=2*Ct+"px",it.style.width=2*Ct+"px",null!=V.color&&(it.style.backgroundColor=V.color),it.style.transitionDuration=`${vn}ms`,this._containerElement.appendChild(it),window.getComputedStyle(it).getPropertyValue("opacity"),it.style.transform="scale(1)";const st=new rt(this,it,V);return st.state=0,this._activeRipples.add(st),V.persistent||(this._mostRecentTransientRipple=st),this._runTimeoutOutsideZone(()=>{const Ve=st===this._mostRecentTransientRipple;st.state=1,!V.persistent&&(!Ve||!this._isPointerDown)&&st.fadeOut()},vn),st}fadeOutRipple(Ee){const B=this._activeRipples.delete(Ee);if(Ee===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!B)return;const V=Ee.element,be=Object.assign(Object.assign({},ze),Ee.config.animation);V.style.transitionDuration=`${be.exitDuration}ms`,V.style.opacity="0",Ee.state=2,this._runTimeoutOutsideZone(()=>{Ee.state=3,V.remove()},be.exitDuration)}fadeOutAll(){this._activeRipples.forEach(Ee=>Ee.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(Ee=>{Ee.config.persistent||Ee.fadeOut()})}setupTriggerEvents(Ee){const B=(0,m.fI)(Ee);!B||B===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=B,this._registerEvents(_e))}handleEvent(Ee){"mousedown"===Ee.type?this._onMousedown(Ee):"touchstart"===Ee.type?this._onTouchStart(Ee):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Z),this._pointerUpEventsRegistered=!0)}_onMousedown(Ee){const B=(0,d.X6)(Ee),V=this._lastTouchStartEvent&&Date.now(){!Ee.config.persistent&&(1===Ee.state||Ee.config.terminateOnPointerUp&&0===Ee.state)&&Ee.fadeOut()}))}_runTimeoutOutsideZone(Ee,B=0){this._ngZone.runOutsideAngular(()=>setTimeout(Ee,B))}_registerEvents(Ee){this._ngZone.runOutsideAngular(()=>{Ee.forEach(B=>{this._triggerElement.addEventListener(B,this,mt)})})}_removeTriggerEvents(){this._triggerElement&&(_e.forEach(Ee=>{this._triggerElement.removeEventListener(Ee,this,mt)}),this._pointerUpEventsRegistered&&Z.forEach(Ee=>{this._triggerElement.removeEventListener(Ee,this,mt)}))}}const N=new n.InjectionToken("mat-ripple-global-options");let ce=(()=>{class Pe{constructor(B,V,be,je,Ct){this._elementRef=B,this._animationMode=Ct,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=je||{},this._rippleRenderer=new j(this,V,B,be)}get disabled(){return this._disabled}set disabled(B){B&&this.fadeOutAllNonPersistent(),this._disabled=B,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(B){this._trigger=B,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},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(B,V=0,be){return"number"==typeof B?this._rippleRenderer.fadeInRipple(B,V,Object.assign(Object.assign({},this.rippleConfig),be)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),B))}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(N,8),n.\u0275\u0275directiveInject(h.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=n.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(B,V){2&B&&n.\u0275\u0275classProp("mat-ripple-unbounded",V.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"]}),Pe})(),Ue=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Q,r.ud],Q]}),Pe})(),Oe=(()=>{class Pe{constructor(B){this._animationMode=B,this.state="unchecked",this.disabled=!1}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275directiveInject(h.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=n.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(B,V){2&B&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===V.state)("mat-pseudo-checkbox-checked","checked"===V.state)("mat-pseudo-checkbox-disabled",V.disabled)("_mat-animation-noopable","NoopAnimations"===V._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(B,V){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;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-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),Pe})(),ve=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Q]]}),Pe})();const Ae=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),nt=xe(class{});let Pt=0,Ft=(()=>{class Pe extends nt{constructor(B){var V;super(),this._labelId="mat-optgroup-label-"+Pt++,this._inert=null!==(V=null==B?void 0:B.inertGroups)&&void 0!==V&&V}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275directiveInject(Ae,8))},Pe.\u0275dir=n.\u0275\u0275defineDirective({type:Pe,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),Pe})();const gt=new n.InjectionToken("MatOptgroup");let Lt=(()=>{class Pe extends Ft{}return Pe.\u0275fac=function(){let Ee;return function(V){return(Ee||(Ee=n.\u0275\u0275getInheritedFactory(Pe)))(V||Pe)}}(),Pe.\u0275cmp=n.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(B,V){2&B&&(n.\u0275\u0275attribute("role",V._inert?null:"group")("aria-disabled",V._inert?null:V.disabled.toString())("aria-labelledby",V._inert?null:V._labelId),n.\u0275\u0275classProp("mat-optgroup-disabled",V.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:gt,useExisting:Pe}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:C,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(B,V){1&B&&(n.\u0275\u0275projectionDef(s),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275text(1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,1)),2&B&&(n.\u0275\u0275property("id",V._labelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("",V.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;-moz-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}\n"],encapsulation:2,changeDetection:0}),Pe})(),$e=0;class _t{constructor(Ee,B=!1){this.source=Ee,this.isUserInput=B}}let Mt=(()=>{class Pe{constructor(B,V,be,je){this._element=B,this._changeDetectorRef=V,this._parent=be,this.group=je,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+$e++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new p.xQ}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(B){this._disabled=(0,m.Ig)(B)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(B,V){const be=this._getHostElement();"function"==typeof be.focus&&be.focus(V)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(B){(B.keyCode===g.K5||B.keyCode===g.L_)&&!(0,g.Vb)(B)&&(this._selectViaInteraction(),B.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const B=this.viewValue;B!==this._mostRecentViewValue&&(this._mostRecentViewValue=B,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(B=!1){this.onSelectionChange.emit(new _t(this,B))}}return Pe.\u0275fac=function(B){n.\u0275\u0275invalidFactory()},Pe.\u0275dir=n.\u0275\u0275defineDirective({type:Pe,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),Pe})(),Ge=(()=>{class Pe extends Mt{constructor(B,V,be,je){super(B,V,be,je)}}return Pe.\u0275fac=function(B){return new(B||Pe)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Ae,8),n.\u0275\u0275directiveInject(gt,8))},Pe.\u0275cmp=n.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(B,V){1&B&&n.\u0275\u0275listener("click",function(){return V._selectViaInteraction()})("keydown",function(je){return V._handleKeydown(je)}),2&B&&(n.\u0275\u0275hostProperty("id",V.id),n.\u0275\u0275attribute("tabindex",V._getTabIndex())("aria-selected",V._getAriaSelected())("aria-disabled",V.disabled.toString()),n.\u0275\u0275classProp("mat-selected",V.selected)("mat-option-multiple",V.multiple)("mat-active",V.active)("mat-option-disabled",V.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:D,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-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(B,V){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,P,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(3,w,2,1,"span",2),n.\u0275\u0275element(4,"div",3)),2&B&&(n.\u0275\u0275property("ngIf",V.multiple),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",V.group&&V.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",V._getHostElement())("matRippleDisabled",V.disabled||V.disableRipple))},directives:[c.NgIf,ce,Oe],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:transparent}.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;-moz-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}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.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}\n"],encapsulation:2,changeDetection:0}),Pe})();function lt(Pe,Ee,B){if(B.length){let V=Ee.toArray(),be=B.toArray(),je=0;for(let Ct=0;CtB+V?Math.max(0,Pe-V+Ee):B}let Nt=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=n.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Ue,c.CommonModule,Q,ve]]}),Pe})()},6856:(he,A,o)=>{"use strict";o.r(A),o.d(A,{DateRange:()=>rt,DefaultMatCalendarRangeStrategy:()=>N,MAT_DATEPICKER_SCROLL_STRATEGY:()=>Ee,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY:()=>B,MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>V,MAT_DATEPICKER_VALIDATORS:()=>Ve,MAT_DATEPICKER_VALUE_ACCESSOR:()=>st,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>x,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>j,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>_,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>_e,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>Z,MatCalendar:()=>Ot,MatCalendarBody:()=>bt,MatCalendarCell:()=>ct,MatCalendarHeader:()=>lt,MatDateRangeInput:()=>Jn,MatDateRangePicker:()=>Ln,MatDateSelectionModel:()=>ze,MatDatepicker:()=>Ht,MatDatepickerActions:()=>Se,MatDatepickerApply:()=>ri,MatDatepickerCancel:()=>jn,MatDatepickerContent:()=>je,MatDatepickerInput:()=>ut,MatDatepickerInputEvent:()=>$t,MatDatepickerIntl:()=>Mt,MatDatepickerModule:()=>Xe,MatDatepickerToggle:()=>Xt,MatDatepickerToggleIcon:()=>At,MatEndDate:()=>ti,MatMonthView:()=>ve,MatMultiYearView:()=>Pt,MatRangeDateSelectionModel:()=>mt,MatSingleDateSelectionModel:()=>yt,MatStartDate:()=>li,MatYearView:()=>_t,matDatepickerAnimations:()=>Nt,yearsPerPage:()=>Ae,yearsPerRow:()=>nt});var n=o(5664),l=o(1314),u=o(7429),c=o(9808),r=o(5e3),d=o(7423),m=o(9071),p=o(508),y=o(8929),b=o(2654),h=o(6787),g=o(1086),s=o(1159),C=o(2986),P=o(1059),w=o(2198),D=o(226),T=o(3191),Y=o(925),$=o(1777),z=o(3075),G=o(7322),X=o(7531);const Q=["mat-calendar-body",""];function q(J,Re){if(1&J&&(r.\u0275\u0275elementStart(0,"tr",2),r.\u0275\u0275elementStart(1,"td",3),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&J){const S=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275styleProp("padding-top",S._cellPadding)("padding-bottom",S._cellPadding),r.\u0275\u0275attribute("colspan",S.numCols),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",S.label," ")}}function ue(J,Re){if(1&J&&(r.\u0275\u0275elementStart(0,"td",3),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&J){const S=r.\u0275\u0275nextContext(2);r.\u0275\u0275styleProp("padding-top",S._cellPadding)("padding-bottom",S._cellPadding),r.\u0275\u0275attribute("colspan",S._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",S._firstRowOffset>=S.labelMinRequiredCells?S.label:""," ")}}function me(J,Re){if(1&J){const S=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",7),r.\u0275\u0275listener("click",function(ke){const kt=r.\u0275\u0275restoreView(S).$implicit;return r.\u0275\u0275nextContext(2)._cellClicked(kt,ke)}),r.\u0275\u0275elementStart(1,"div",8),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(3,"div",9),r.\u0275\u0275elementEnd()}if(2&J){const S=Re.$implicit,te=Re.index,ke=r.\u0275\u0275nextContext().index,Ye=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("width",Ye._cellWidth)("padding-top",Ye._cellPadding)("padding-bottom",Ye._cellPadding),r.\u0275\u0275classProp("mat-calendar-body-disabled",!S.enabled)("mat-calendar-body-active",Ye._isActiveCell(ke,te))("mat-calendar-body-range-start",Ye._isRangeStart(S.compareValue))("mat-calendar-body-range-end",Ye._isRangeEnd(S.compareValue))("mat-calendar-body-in-range",Ye._isInRange(S.compareValue))("mat-calendar-body-comparison-bridge-start",Ye._isComparisonBridgeStart(S.compareValue,ke,te))("mat-calendar-body-comparison-bridge-end",Ye._isComparisonBridgeEnd(S.compareValue,ke,te))("mat-calendar-body-comparison-start",Ye._isComparisonStart(S.compareValue))("mat-calendar-body-comparison-end",Ye._isComparisonEnd(S.compareValue))("mat-calendar-body-in-comparison-range",Ye._isInComparisonRange(S.compareValue))("mat-calendar-body-preview-start",Ye._isPreviewStart(S.compareValue))("mat-calendar-body-preview-end",Ye._isPreviewEnd(S.compareValue))("mat-calendar-body-in-preview",Ye._isInPreview(S.compareValue)),r.\u0275\u0275property("ngClass",S.cssClasses)("tabindex",Ye._isActiveCell(ke,te)?0:-1),r.\u0275\u0275attribute("data-mat-row",ke)("data-mat-col",te)("aria-label",S.ariaLabel)("aria-disabled",!S.enabled||null)("aria-selected",Ye._isSelected(S.compareValue))("aria-current",Ye.todayValue===S.compareValue?"date":null),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-selected",Ye._isSelected(S.compareValue))("mat-calendar-body-comparison-identical",Ye._isComparisonIdentical(S.compareValue))("mat-calendar-body-today",Ye.todayValue===S.compareValue),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",S.displayValue," ")}}function xe(J,Re){if(1&J&&(r.\u0275\u0275elementStart(0,"tr",4),r.\u0275\u0275template(1,ue,2,6,"td",5),r.\u0275\u0275template(2,me,4,47,"td",6),r.\u0275\u0275elementEnd()),2&J){const S=Re.$implicit,te=Re.index,ke=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",0===te&&ke._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",S)}}function pe(J,Re){if(1&J&&(r.\u0275\u0275elementStart(0,"th",5),r.\u0275\u0275elementStart(1,"abbr",6),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&J){const S=Re.$implicit;r.\u0275\u0275attribute("aria-label",S.long),r.\u0275\u0275advance(1),r.\u0275\u0275attribute("title",S.long),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(S.narrow)}}const oe=["*"];function ae(J,Re){}function U(J,Re){if(1&J){const S=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-month-view",5),r.\u0275\u0275listener("activeDateChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext().activeDate=ke})("_userSelection",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._dateSelected(ke)}),r.\u0275\u0275elementEnd()}if(2&J){const S=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",S.activeDate)("selected",S.selected)("dateFilter",S.dateFilter)("maxDate",S.maxDate)("minDate",S.minDate)("dateClass",S.dateClass)("comparisonStart",S.comparisonStart)("comparisonEnd",S.comparisonEnd)}}function ie(J,Re){if(1&J){const S=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-year-view",6),r.\u0275\u0275listener("activeDateChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext().activeDate=ke})("monthSelected",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._monthSelectedInYearView(ke)})("selectedChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._goToDateInView(ke,"month")}),r.\u0275\u0275elementEnd()}if(2&J){const S=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",S.activeDate)("selected",S.selected)("dateFilter",S.dateFilter)("maxDate",S.maxDate)("minDate",S.minDate)("dateClass",S.dateClass)}}function le(J,Re){if(1&J){const S=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-multi-year-view",7),r.\u0275\u0275listener("activeDateChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext().activeDate=ke})("yearSelected",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._yearSelectedInMultiYearView(ke)})("selectedChange",function(ke){return r.\u0275\u0275restoreView(S),r.\u0275\u0275nextContext()._goToDateInView(ke,"year")}),r.\u0275\u0275elementEnd()}if(2&J){const S=r.\u0275\u0275nextContext();r.\u0275\u0275property("activeDate",S.activeDate)("selected",S.selected)("dateFilter",S.dateFilter)("maxDate",S.maxDate)("minDate",S.minDate)("dateClass",S.dateClass)}}function Ce(J,Re){}const Te=["button"];function Ke(J,Re){1&J&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg",3),r.\u0275\u0275element(1,"path",4),r.\u0275\u0275elementEnd())}const tt=[[["","matDatepickerToggleIcon",""]]],ot=["[matDatepickerToggleIcon]"],pt=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Dt=["input[matStartDate]","input[matEndDate]"];function Ie(J,Re){1&J&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275projection(1),r.\u0275\u0275elementEnd())}class ct{constructor(Re,S,te,ke,Ye={},kt=Re,It){this.value=Re,this.displayValue=S,this.ariaLabel=te,this.enabled=ke,this.cssClasses=Ye,this.compareValue=kt,this.rawValue=It}}let bt=(()=>{class J{constructor(S,te){this._elementRef=S,this._ngZone=te,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._enterHandler=ke=>{if(this._skipNextFocus&&"focus"===ke.type)this._skipNextFocus=!1;else if(ke.target&&this.isRange){const Ye=this._getCellFromElement(ke.target);Ye&&this._ngZone.run(()=>this.previewChange.emit({value:Ye.enabled?Ye:null,event:ke}))}},this._leaveHandler=ke=>{null!==this.previewEnd&&this.isRange&&ke.target&&Et(ke.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:ke}))},te.runOutsideAngular(()=>{const ke=S.nativeElement;ke.addEventListener("mouseenter",this._enterHandler,!0),ke.addEventListener("focus",this._enterHandler,!0),ke.addEventListener("mouseleave",this._leaveHandler,!0),ke.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(S,te){S.enabled&&this.selectedValueChange.emit({value:S.value,event:te})}_isSelected(S){return this.startValue===S||this.endValue===S}ngOnChanges(S){const te=S.numCols,{rows:ke,numCols:Ye}=this;(S.rows||te)&&(this._firstRowOffset=ke&&ke.length&&ke[0].length?Ye-ke[0].length:0),(S.cellAspectRatio||te||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Ye+"%"),(te||!this._cellWidth)&&(this._cellWidth=100/Ye+"%")}ngOnDestroy(){const S=this._elementRef.nativeElement;S.removeEventListener("mouseenter",this._enterHandler,!0),S.removeEventListener("focus",this._enterHandler,!0),S.removeEventListener("mouseleave",this._leaveHandler,!0),S.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(S,te){let ke=S*this.numCols+te;return S&&(ke-=this._firstRowOffset),ke==this.activeCell}_focusActiveCell(S=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,C.q)(1)).subscribe(()=>{const te=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");te&&(S||(this._skipNextFocus=!0),te.focus())})})}_isRangeStart(S){return xt(S,this.startValue,this.endValue)}_isRangeEnd(S){return dt(S,this.startValue,this.endValue)}_isInRange(S){return Ne(S,this.startValue,this.endValue,this.isRange)}_isComparisonStart(S){return xt(S,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(S,te,ke){if(!this._isComparisonStart(S)||this._isRangeStart(S)||!this._isInRange(S))return!1;let Ye=this.rows[te][ke-1];if(!Ye){const kt=this.rows[te-1];Ye=kt&&kt[kt.length-1]}return Ye&&!this._isRangeEnd(Ye.compareValue)}_isComparisonBridgeEnd(S,te,ke){if(!this._isComparisonEnd(S)||this._isRangeEnd(S)||!this._isInRange(S))return!1;let Ye=this.rows[te][ke+1];if(!Ye){const kt=this.rows[te+1];Ye=kt&&kt[0]}return Ye&&!this._isRangeStart(Ye.compareValue)}_isComparisonEnd(S){return dt(S,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(S){return Ne(S,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(S){return this.comparisonStart===this.comparisonEnd&&S===this.comparisonStart}_isPreviewStart(S){return xt(S,this.previewStart,this.previewEnd)}_isPreviewEnd(S){return dt(S,this.previewStart,this.previewEnd)}_isInPreview(S){return Ne(S,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(S){let te;if(Et(S)?te=S:Et(S.parentNode)&&(te=S.parentNode),te){const ke=te.getAttribute("data-mat-row"),Ye=te.getAttribute("data-mat-col");if(ke&&Ye)return this.rows[parseInt(ke)][parseInt(Ye)]}return null}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,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"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[r.\u0275\u0275NgOnChangesFeature],attrs:Q,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["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",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(S,te){1&S&&(r.\u0275\u0275template(0,q,3,6,"tr",0),r.\u0275\u0275template(1,xe,3,2,"tr",1)),2&S&&(r.\u0275\u0275property("ngIf",te._firstRowOffset.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],encapsulation:2,changeDetection:0}),J})();function Et(J){return"TD"===J.nodeName}function xt(J,Re,S){return null!==S&&Re!==S&&J=Re&&J===S}function Ne(J,Re,S,te){return te&&null!==Re&&null!==S&&Re!==S&&J>=Re&&J<=S}class rt{constructor(Re,S){this.start=Re,this.end=S}}let ze=(()=>{class J{constructor(S,te){this.selection=S,this._adapter=te,this._selectionChanged=new y.xQ,this.selectionChanged=this._selectionChanged,this.selection=S}updateSelection(S,te){const ke=this.selection;this.selection=S,this._selectionChanged.next({selection:S,source:te,oldValue:ke})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(S){return this._adapter.isDateInstance(S)&&this._adapter.isValid(S)}}return J.\u0275fac=function(S){r.\u0275\u0275invalidFactory()},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),yt=(()=>{class J extends ze{constructor(S){super(null,S)}add(S){super.updateSelection(S,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const S=new J(this._adapter);return S.updateSelection(this.selection,this),S}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275inject(p.DateAdapter))},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})(),mt=(()=>{class J extends ze{constructor(S){super(new rt(null,null),S)}add(S){let{start:te,end:ke}=this.selection;null==te?te=S:null==ke?ke=S:(te=S,ke=null),super.updateSelection(new rt(te,ke),this)}isValid(){const{start:S,end:te}=this.selection;return null==S&&null==te||(null!=S&&null!=te?this._isValidDateInstance(S)&&this._isValidDateInstance(te)&&this._adapter.compareDate(S,te)<=0:(null==S||this._isValidDateInstance(S))&&(null==te||this._isValidDateInstance(te)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const S=new J(this._adapter);return S.updateSelection(this.selection,this),S}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275inject(p.DateAdapter))},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})();function _e(J,Re){return J||new yt(Re)}const Z={provide:ze,deps:[[new r.Optional,new r.SkipSelf,ze],p.DateAdapter],useFactory:_e};function j(J,Re){return J||new mt(Re)}const _={provide:ze,deps:[[new r.Optional,new r.SkipSelf,ze],p.DateAdapter],useFactory:j},x=new r.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let N=(()=>{class J{constructor(S){this._dateAdapter=S}selectionFinished(S,te){let{start:ke,end:Ye}=te;return null==ke?ke=S:null==Ye&&S&&this._dateAdapter.compareDate(S,ke)>=0?Ye=S:(ke=S,Ye=null),new rt(ke,Ye)}createPreview(S,te){let ke=null,Ye=null;return te.start&&!te.end&&S&&(ke=te.start,Ye=S),new rt(ke,Ye)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275inject(p.DateAdapter))},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac}),J})();const Ue={provide:x,deps:[[new r.Optional,new r.SkipSelf,x],p.DateAdapter],useFactory:function(J,Re){return J||new N(Re)}};let ve=(()=>{class J{constructor(S,te,ke,Ye,kt){this._changeDetectorRef=S,this._dateFormats=te,this._dateAdapter=ke,this._dir=Ye,this._rangeStrategy=kt,this._rerenderSubscription=b.w.EMPTY,this.selectedChange=new r.EventEmitter,this._userSelection=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(S){const te=this._activeDate,ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ke,this.minDate,this.maxDate),this._hasSameMonthAndYear(te,this._activeDate)||this._init()}get selected(){return this._selected}set selected(S){this._selected=S instanceof rt?S:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(S){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get maxDate(){return this._maxDate}set maxDate(S){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,P.O)(null)).subscribe(()=>this._init())}ngOnChanges(S){const te=S.comparisonStart||S.comparisonEnd;te&&!te.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(S){const te=S.value,ke=this._dateAdapter.getYear(this.activeDate),Ye=this._dateAdapter.getMonth(this.activeDate),kt=this._dateAdapter.createDate(ke,Ye,te);let It,Rt;this._selected instanceof rt?(It=this._getDateInCurrentMonth(this._selected.start),Rt=this._getDateInCurrentMonth(this._selected.end)):It=Rt=this._getDateInCurrentMonth(this._selected),(It!==te||Rt!==te)&&this.selectedChange.emit(kt),this._userSelection.emit({value:kt,event:S.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(S){const te=this._activeDate,ke=this._isRtl();switch(S.keyCode){case s.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ke?1:-1);break;case s.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ke?-1:1);break;case s.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case s.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case s.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case s.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case s.Ku:this.activeDate=S.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case s.VM:this.activeDate=S.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case s.K5:case s.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&S.preventDefault());case s.hY:return void(null!=this._previewEnd&&!(0,s.Vb)(S)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:S}),S.preventDefault(),S.stopPropagation()));default:return}this._dateAdapter.compareDate(te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),S.preventDefault()}_handleCalendarBodyKeyup(S){(S.keyCode===s.L_||S.keyCode===s.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:S}),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 S=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(S)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(S){this._matCalendarBody._focusActiveCell(S)}_previewChanged({event:S,value:te}){if(this._rangeStrategy){const Ye=this._rangeStrategy.createPreview(te?te.rawValue:null,this.selected,S);this._previewStart=this._getCellCompareValue(Ye.start),this._previewEnd=this._getCellCompareValue(Ye.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const S=this._dateAdapter.getFirstDayOfWeek(),te=this._dateAdapter.getDayOfWeekNames("narrow");let Ye=this._dateAdapter.getDayOfWeekNames("long").map((kt,It)=>({long:kt,narrow:te[It]}));this._weekdays=Ye.slice(S).concat(Ye.slice(0,S))}_createWeekCells(){const S=this._dateAdapter.getNumDaysInMonth(this.activeDate),te=this._dateAdapter.getDateNames();this._weeks=[[]];for(let ke=0,Ye=this._firstWeekOffset;ke=0)&&(!this.maxDate||this._dateAdapter.compareDate(S,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(S))}_getDateInCurrentMonth(S){return S&&this._hasSameMonthAndYear(S,this.activeDate)?this._dateAdapter.getDate(S):null}_hasSameMonthAndYear(S,te){return!(!S||!te||this._dateAdapter.getMonth(S)!=this._dateAdapter.getMonth(te)||this._dateAdapter.getYear(S)!=this._dateAdapter.getYear(te))}_getCellCompareValue(S){if(S){const te=this._dateAdapter.getYear(S),ke=this._dateAdapter.getMonth(S),Ye=this._dateAdapter.getDate(S);return new Date(te,ke,Ye).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(S){S instanceof rt?(this._rangeStart=this._getCellCompareValue(S.start),this._rangeEnd=this._getCellCompareValue(S.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(S),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(S){return!this.dateFilter||this.dateFilter(S)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(D.Is,8),r.\u0275\u0275directiveInject(x,8))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-month-view"]],viewQuery:function(S,te){if(1&S&&r.\u0275\u0275viewQuery(bt,5),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te._matCalendarBody=ke.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[r.\u0275\u0275NgOnChangesFeature],decls:7,vars:13,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","selectedValueChange","previewChange","keyup","keydown"],["scope","col"],[1,"mat-calendar-abbr"]],template:function(S,te){1&S&&(r.\u0275\u0275elementStart(0,"table",0),r.\u0275\u0275elementStart(1,"thead",1),r.\u0275\u0275elementStart(2,"tr"),r.\u0275\u0275template(3,pe,3,3,"th",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(4,"tr"),r.\u0275\u0275element(5,"th",3),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(6,"tbody",4),r.\u0275\u0275listener("selectedValueChange",function(Ye){return te._dateSelected(Ye)})("previewChange",function(Ye){return te._previewChanged(Ye)})("keyup",function(Ye){return te._handleCalendarBodyKeyup(Ye)})("keydown",function(Ye){return te._handleCalendarBodyKeydown(Ye)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&S&&(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))},directives:[c.NgForOf,bt],encapsulation:2,changeDetection:0}),J})();const Ae=24,nt=4;let Pt=(()=>{class J{constructor(S,te,ke){this._changeDetectorRef=S,this._dateAdapter=te,this._dir=ke,this._rerenderSubscription=b.w.EMPTY,this.selectedChange=new r.EventEmitter,this.yearSelected=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(S){let te=this._activeDate;const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ke,this.minDate,this.maxDate),Ft(this._dateAdapter,te,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(S){this._selected=S instanceof rt?S:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S)),this._setSelectedYear(S)}get minDate(){return this._minDate}set minDate(S){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get maxDate(){return this._maxDate}set maxDate(S){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,P.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)-gt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let ke=0,Ye=[];kethis._createCellForYear(kt))),Ye=[]);this._changeDetectorRef.markForCheck()}_yearSelected(S){const te=S.value;this.yearSelected.emit(this._dateAdapter.createDate(te,0,1));let ke=this._dateAdapter.getMonth(this.activeDate),Ye=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(te,ke,1));this.selectedChange.emit(this._dateAdapter.createDate(te,ke,Math.min(this._dateAdapter.getDate(this.activeDate),Ye)))}_handleCalendarBodyKeydown(S){const te=this._activeDate,ke=this._isRtl();switch(S.keyCode){case s.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ke?1:-1);break;case s.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ke?-1:1);break;case s.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-nt);break;case s.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,nt);break;case s.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-gt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case s.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ae-gt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case s.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,S.altKey?10*-Ae:-Ae);break;case s.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,S.altKey?10*Ae:Ae);break;case s.K5:case s.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),S.preventDefault()}_handleCalendarBodyKeyup(S){(S.keyCode===s.L_||S.keyCode===s.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:S}),this._selectionKeyPressed=!1)}_getActiveCell(){return gt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(S){const te=this._dateAdapter.createDate(S,0,1),ke=this._dateAdapter.getYearName(te),Ye=this.dateClass?this.dateClass(te,"multi-year"):void 0;return new ct(S,ke,ke,this._shouldEnableYear(S),Ye)}_shouldEnableYear(S){if(null==S||this.maxDate&&S>this._dateAdapter.getYear(this.maxDate)||this.minDate&&S{class J{constructor(S,te,ke,Ye){this._changeDetectorRef=S,this._dateFormats=te,this._dateAdapter=ke,this._dir=Ye,this._rerenderSubscription=b.w.EMPTY,this.selectedChange=new r.EventEmitter,this.monthSelected=new r.EventEmitter,this.activeDateChange=new r.EventEmitter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(S){let te=this._activeDate;const ke=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ke,this.minDate,this.maxDate),this._dateAdapter.getYear(te)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(S){this._selected=S instanceof rt?S:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S)),this._setSelectedMonth(S)}get minDate(){return this._minDate}set minDate(S){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get maxDate(){return this._maxDate}set maxDate(S){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,P.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(S){const te=S.value,ke=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,1);this.monthSelected.emit(ke);const Ye=this._dateAdapter.getNumDaysInMonth(ke);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,Math.min(this._dateAdapter.getDate(this.activeDate),Ye)))}_handleCalendarBodyKeydown(S){const te=this._activeDate,ke=this._isRtl();switch(S.keyCode){case s.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ke?1:-1);break;case s.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ke?-1:1);break;case s.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case s.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case s.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case s.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case s.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,S.altKey?-10:-1);break;case s.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,S.altKey?10:1);break;case s.K5:case s.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(te,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),S.preventDefault()}_handleCalendarBodyKeyup(S){(S.keyCode===s.L_||S.keyCode===s.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:S}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let S=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(te=>te.map(ke=>this._createCellForMonth(ke,S[ke]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(S){return S&&this._dateAdapter.getYear(S)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(S):null}_createCellForMonth(S,te){const ke=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),S,1),Ye=this._dateAdapter.format(ke,this._dateFormats.display.monthYearA11yLabel),kt=this.dateClass?this.dateClass(ke,"year"):void 0;return new ct(S,te.toLocaleUpperCase(),Ye,this._shouldEnableMonth(S),kt)}_shouldEnableMonth(S){const te=this._dateAdapter.getYear(this.activeDate);if(null==S||this._isYearAndMonthAfterMaxDate(te,S)||this._isYearAndMonthBeforeMinDate(te,S))return!1;if(!this.dateFilter)return!0;for(let Ye=this._dateAdapter.createDate(te,S,1);this._dateAdapter.getMonth(Ye)==S;Ye=this._dateAdapter.addCalendarDays(Ye,1))if(this.dateFilter(Ye))return!0;return!1}_isYearAndMonthAfterMaxDate(S,te){if(this.maxDate){const ke=this._dateAdapter.getYear(this.maxDate),Ye=this._dateAdapter.getMonth(this.maxDate);return S>ke||S===ke&&te>Ye}return!1}_isYearAndMonthBeforeMinDate(S,te){if(this.minDate){const ke=this._dateAdapter.getYear(this.minDate),Ye=this._dateAdapter.getMonth(this.minDate);return S{class J{constructor(){this.changes=new y.xQ,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"}formatYearRange(S,te){return`${S} \u2013 ${te}`}}return J.\u0275fac=function(S){return new(S||J)},J.\u0275prov=r.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"}),J})(),Ge=0,lt=(()=>{class J{constructor(S,te,ke,Ye,kt){this._intl=S,this.calendar=te,this._dateAdapter=ke,this._dateFormats=Ye,this._buttonDescriptionId="mat-calendar-button-"+Ge++,this.calendar.stateChanges.subscribe(()=>kt.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const te=this._dateAdapter.getYear(this.calendar.activeDate)-gt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),ke=te+Ae-1,Ye=this._dateAdapter.getYearName(this._dateAdapter.createDate(te,0,1)),kt=this._dateAdapter.getYearName(this._dateAdapter.createDate(ke,0,1));return this._intl.formatYearRange(Ye,kt)}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:-Ae)}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:Ae)}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(S,te){return"month"==this.calendar.currentView?this._dateAdapter.getYear(S)==this._dateAdapter.getYear(te)&&this._dateAdapter.getMonth(S)==this._dateAdapter.getMonth(te):"year"==this.calendar.currentView?this._dateAdapter.getYear(S)==this._dateAdapter.getYear(te):Ft(this._dateAdapter,S,te,this.calendar.minDate,this.calendar.maxDate)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Mt),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Ot)),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:oe,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",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"]],template:function(S,te){1&S&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275elementStart(2,"button",2),r.\u0275\u0275listener("click",function(){return te.currentPeriodClicked()}),r.\u0275\u0275elementStart(3,"span"),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd(),r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(5,"svg",3),r.\u0275\u0275element(6,"polygon",4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275namespaceHTML(),r.\u0275\u0275element(7,"div",5),r.\u0275\u0275projection(8),r.\u0275\u0275elementStart(9,"button",6),r.\u0275\u0275listener("click",function(){return te.previousClicked()}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(10,"button",7),r.\u0275\u0275listener("click",function(){return te.nextClicked()}),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&S&&(r.\u0275\u0275advance(2),r.\u0275\u0275attribute("aria-label",te.periodButtonLabel)("aria-describedby",te._buttonDescriptionId),r.\u0275\u0275advance(1),r.\u0275\u0275attribute("id",te._buttonDescriptionId),r.\u0275\u0275advance(1),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))},directives:[d.MatButton,n.Qr],encapsulation:2,changeDetection:0}),J})(),Ot=(()=>{class J{constructor(S,te,ke,Ye){this._dateAdapter=te,this._dateFormats=ke,this._changeDetectorRef=Ye,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.stateChanges=new y.xQ,this._intlChanges=S.changes.subscribe(()=>{Ye.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(S){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get selected(){return this._selected}set selected(S){this._selected=S instanceof rt?S:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get minDate(){return this._minDate}set minDate(S){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get maxDate(){return this._maxDate}set maxDate(S){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get activeDate(){return this._clampedActiveDate}set activeDate(S){this._clampedActiveDate=this._dateAdapter.clampDate(S,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(S){const te=this._currentView!==S?S:null;this._currentView=S,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),te&&this.viewChanged.emit(te)}ngAfterContentInit(){this._calendarHeaderPortal=new u.C5(this.headerComponent||lt),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(S){const te=S.minDate||S.maxDate||S.dateFilter;if(te&&!te.firstChange){const ke=this._getCurrentViewComponent();ke&&(this._changeDetectorRef.detectChanges(),ke._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(S){const te=S.value;(this.selected instanceof rt||te&&!this._dateAdapter.sameDate(te,this.selected))&&this.selectedChange.emit(te),this._userSelection.emit(S)}_yearSelectedInMultiYearView(S){this.yearSelected.emit(S)}_monthSelectedInYearView(S){this.monthSelected.emit(S)}_goToDateInView(S,te){this.activeDate=S,this.currentView=te}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Mt),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-calendar"]],viewQuery:function(S,te){if(1&S&&(r.\u0275\u0275viewQuery(ve,5),r.\u0275\u0275viewQuery(_t,5),r.\u0275\u0275viewQuery(Pt,5)),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te.monthView=ke.first),r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te.yearView=ke.first),r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te.multiYearView=ke.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"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[r.\u0275\u0275ProvidersFeature([Z]),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","activeDateChange","_userSelection",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","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(S,te){1&S&&(r.\u0275\u0275template(0,ae,0,0,"ng-template",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275template(2,U,1,8,"mat-month-view",2),r.\u0275\u0275template(3,ie,1,6,"mat-year-view",3),r.\u0275\u0275template(4,le,1,6,"mat-multi-year-view",4),r.\u0275\u0275elementEnd()),2&S&&(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"))},directives:[u.Pl,n.kH,c.NgSwitch,c.NgSwitchCase,ve,_t,Pt],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;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.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-abbr{text-decoration:none}\n'],encapsulation:2,changeDetection:0}),J})();const Nt={transformPanel:(0,$.X$)("transformPanel",[(0,$.eR)("void => enter-dropdown",(0,$.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,$.F4)([(0,$.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,$.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,$.eR)("void => enter-dialog",(0,$.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,$.F4)([(0,$.oB)({opacity:0,transform:"scale(0.7)"}),(0,$.oB)({transform:"none",opacity:1})]))),(0,$.eR)("* => void",(0,$.jt)("100ms linear",(0,$.oB)({opacity:0})))]),fadeInCalendar:(0,$.X$)("fadeInCalendar",[(0,$.SB)("void",(0,$.oB)({opacity:0})),(0,$.SB)("enter",(0,$.oB)({opacity:1})),(0,$.eR)("void => *",(0,$.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let Pe=0;const Ee=new r.InjectionToken("mat-datepicker-scroll-strategy");function B(J){return()=>J.scrollStrategies.reposition()}const V={provide:Ee,deps:[l.aV],useFactory:B},be=(0,p.mixinColor)(class{constructor(J){this._elementRef=J}});let je=(()=>{class J extends be{constructor(S,te,ke,Ye,kt,It){super(S),this._changeDetectorRef=te,this._globalModel=ke,this._dateAdapter=Ye,this._rangeSelectionStrategy=kt,this._subscriptions=new b.w,this._animationDone=new y.xQ,this._actionsPortal=null,this._closeButtonText=It.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,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(S){const te=this._model.selection,ke=S.value,Ye=te instanceof rt;if(Ye&&this._rangeSelectionStrategy){const kt=this._rangeSelectionStrategy.selectionFinished(ke,te,S.event);this._model.updateSelection(kt,this)}else ke&&(Ye||!this._dateAdapter.sameDate(ke,te))&&this._model.add(ke);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(ze),r.\u0275\u0275directiveInject(p.DateAdapter),r.\u0275\u0275directiveInject(x,8),r.\u0275\u0275directiveInject(Mt))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-datepicker-content"]],viewQuery:function(S,te){if(1&S&&r.\u0275\u0275viewQuery(Ot,5),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te._calendar=ke.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(S,te){1&S&&r.\u0275\u0275syntheticHostListener("@transformPanel.done",function(){return te._animationDone.next()}),2&S&&(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:20,consts:[["cdkTrapFocus","",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(S,te){1&S&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275elementStart(1,"mat-calendar",1),r.\u0275\u0275listener("yearSelected",function(Ye){return te.datepicker._selectYear(Ye)})("monthSelected",function(Ye){return te.datepicker._selectMonth(Ye)})("viewChanged",function(Ye){return te.datepicker._viewChanged(Ye)})("_userSelection",function(Ye){return te._handleUserSelection(Ye)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(2,Ce,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(),r.\u0275\u0275elementEnd()),2&S&&(r.\u0275\u0275classProp("mat-datepicker-content-container-with-actions",te._actionsPortal),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"),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))},directives:[n.mK,Ot,c.NgClass,u.Pl,d.MatButton],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.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}}\n"],encapsulation:2,data:{animation:[Nt.transformPanel,Nt.fadeInCalendar]},changeDetection:0}),J})(),Ct=(()=>{class J{constructor(S,te,ke,Ye,kt,It,Rt){this._overlay=S,this._ngZone=te,this._viewContainerRef=ke,this._dateAdapter=kt,this._dir=It,this._model=Rt,this._inputStateChanges=b.w.EMPTY,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-"+Pe++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new y.xQ,this._scrollStrategy=Ye}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(S){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(S){this._color=S}get touchUi(){return this._touchUi}set touchUi(S){this._touchUi=(0,T.Ig)(S)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(S){const te=(0,T.Ig)(S);te!==this._disabled&&(this._disabled=te,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(S){this._restoreFocus=(0,T.Ig)(S)}get panelClass(){return this._panelClass}set panelClass(S){this._panelClass=(0,T.du)(S)}get opened(){return this._opened}set opened(S){(0,T.Ig)(S)?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}ngOnChanges(S){const te=S.xPosition||S.yPosition;if(te&&!te.firstChange&&this._overlayRef){const ke=this._overlayRef.getConfig().positionStrategy;ke instanceof l._G&&(this._setConnectedPositions(ke),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(S){this._model.add(S)}_selectYear(S){this.yearSelected.emit(S)}_selectMonth(S){this.monthSelected.emit(S)}_viewChanged(S){this.viewChanged.emit(S)}registerInput(S){return this._inputStateChanges.unsubscribe(),this.datepickerInput=S,this._inputStateChanges=S.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(S){this._actionsPortal=S}removeActions(S){S===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=(0,Y.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const te=this._componentRef.instance;te._startExitAnimation(),te._animationDone.pipe((0,C.q)(1)).subscribe(()=>this._destroyOverlay())}const S=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(S)):S()}_applyPendingSelection(){var S,te;null===(te=null===(S=this._componentRef)||void 0===S?void 0:S.instance)||void 0===te||te._applyPendingSelection()}_forwardContentValues(S){S.datepicker=this,S.color=this.color,S._actionsPortal=this._actionsPortal}_openOverlay(){this._destroyOverlay();const S=this.touchUi,te=this.datepickerInput.getOverlayLabelId(),ke=new u.C5(je,this._viewContainerRef),Ye=this._overlayRef=this._overlay.create(new l.X_({positionStrategy:S?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[S?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:S?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(S?"dialog":"popup")})),kt=Ye.overlayElement;kt.setAttribute("role","dialog"),te&&kt.setAttribute("aria-labelledby",te),S&&kt.setAttribute("aria-modal","true"),this._getCloseStream(Ye).subscribe(It=>{It&&It.preventDefault(),this.close()}),this._componentRef=Ye.attach(ke),this._forwardContentValues(this._componentRef.instance),S||this._ngZone.onStable.pipe((0,C.q)(1)).subscribe(()=>Ye.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const S=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(S)}_setConnectedPositions(S){const te="end"===this.xPosition?"end":"start",ke="start"===te?"end":"start",Ye="above"===this.yPosition?"bottom":"top",kt="top"===Ye?"bottom":"top";return S.withPositions([{originX:te,originY:kt,overlayX:te,overlayY:Ye},{originX:te,originY:Ye,overlayX:te,overlayY:kt},{originX:ke,originY:kt,overlayX:ke,overlayY:Ye},{originX:ke,originY:Ye,overlayX:ke,overlayY:kt}])}_getCloseStream(S){return(0,h.T)(S.backdropClick(),S.detachments(),S.keydownEvents().pipe((0,w.h)(te=>te.keyCode===s.hY&&!(0,s.Vb)(te)||this.datepickerInput&&(0,s.Vb)(te,"altKey")&&te.keyCode===s.LH)))}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(l.aV),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(Ee),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(D.Is,8),r.\u0275\u0275directiveInject(ze))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,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]}),J})(),Ht=(()=>{class J extends Ct{}return J.\u0275fac=function(){let Re;return function(te){return(Re||(Re=r.\u0275\u0275getInheritedFactory(J)))(te||J)}}(),J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[r.\u0275\u0275ProvidersFeature([Z,{provide:Ct,useExisting:J}]),r.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(S,te){},encapsulation:2,changeDetection:0}),J})();class $t{constructor(Re,S){this.target=Re,this.targetElement=S,this.value=this.target.value}}let vn=(()=>{class J{constructor(S,te,ke){this._elementRef=S,this._dateAdapter=te,this._dateFormats=ke,this.dateChange=new r.EventEmitter,this.dateInput=new r.EventEmitter,this.stateChanges=new y.xQ,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=b.w.EMPTY,this._localeSubscription=b.w.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Ye=>{const kt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ye.value));return!kt||this._matchesFilter(kt)?null:{matDatepickerFilter:!0}},this._minValidator=Ye=>{const kt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ye.value)),It=this._getMinDate();return!It||!kt||this._dateAdapter.compareDate(It,kt)<=0?null:{matDatepickerMin:{min:It,actual:kt}}},this._maxValidator=Ye=>{const kt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Ye.value)),It=this._getMaxDate();return!It||!kt||this._dateAdapter.compareDate(It,kt)>=0?null:{matDatepickerMax:{max:It,actual:kt}}},this._lastValueValid=!1,this._localeSubscription=te.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(S){this._assignValueProgrammatically(S)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(S){const te=(0,T.Ig)(S),ke=this._elementRef.nativeElement;this._disabled!==te&&(this._disabled=te,this.stateChanges.next(void 0)),te&&this._isInitialized&&ke.blur&&ke.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(S){this._model=S,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(te=>{if(this._shouldHandleChangeEvent(te)){const ke=this._getValueFromModel(te.selection);this._lastValueValid=this._isValidValue(ke),this._cvaOnChange(ke),this._onTouched(),this._formatValue(ke),this.dateInput.emit(new $t(this,this._elementRef.nativeElement)),this.dateChange.emit(new $t(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(S){it(S,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(S){this._validatorOnChange=S}validate(S){return this._validator?this._validator(S):null}writeValue(S){this._assignValueProgrammatically(S)}registerOnChange(S){this._cvaOnChange=S}registerOnTouched(S){this._onTouched=S}setDisabledState(S){this.disabled=S}_onKeydown(S){S.altKey&&S.keyCode===s.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),S.preventDefault())}_onInput(S){const te=this._lastValueValid;let ke=this._dateAdapter.parse(S,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(ke),ke=this._dateAdapter.getValidDateOrNull(ke),this._dateAdapter.sameDate(ke,this.value)?(S&&!this.value&&this._cvaOnChange(ke),te!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(ke),this._cvaOnChange(ke),this.dateInput.emit(new $t(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new $t(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(S){this._elementRef.nativeElement.value=S?this._dateAdapter.format(S,this._dateFormats.display.dateInput):""}_assignValue(S){this._model?(this._assignValueToModel(S),this._pendingValue=null):this._pendingValue=S}_isValidValue(S){return!S||this._dateAdapter.isValid(S)}_parentDisabled(){return!1}_assignValueProgrammatically(S){S=this._dateAdapter.deserialize(S),this._lastValueValid=this._isValidValue(S),S=this._dateAdapter.getValidDateOrNull(S),this._assignValue(S),this._formatValue(S)}_matchesFilter(S){const te=this._getDateFilter();return!te||te(S)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[r.\u0275\u0275NgOnChangesFeature]}),J})();function it(J,Re){const S=Object.keys(J);for(let te of S){const{previousValue:ke,currentValue:Ye}=J[te];if(!Re.isDateInstance(ke)||!Re.isDateInstance(Ye))return!0;if(!Re.sameDate(ke,Ye))return!0}return!1}const st={provide:z.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)(()=>ut),multi:!0},Ve={provide:z.NG_VALIDATORS,useExisting:(0,r.forwardRef)(()=>ut),multi:!0};let ut=(()=>{class J extends vn{constructor(S,te,ke,Ye){super(S,te,ke),this._formField=Ye,this._closedSubscription=b.w.EMPTY,this._validator=z.Validators.compose(super._getValidators())}set matDatepicker(S){S&&(this._datepicker=S,this._closedSubscription=S.closedStream.subscribe(()=>this._onTouched()),this._registerModel(S.registerInput(this)))}get min(){return this._min}set min(S){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S));this._dateAdapter.sameDate(te,this._min)||(this._min=te,this._validatorOnChange())}get max(){return this._max}set max(S){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S));this._dateAdapter.sameDate(te,this._max)||(this._max=te,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(S){const te=this._matchesFilter(this.value);this._dateFilter=S,this._matchesFilter(this.value)!==te&&this._validatorOnChange()}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(S){return S}_assignValueToModel(S){this._model&&this._model.updateSelection(S,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(S){return S.source!==this}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(G.MAT_FORM_FIELD,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("input",function(Ye){return te._onInput(Ye.target.value)})("change",function(){return te._onChange()})("blur",function(){return te._onBlur()})("keydown",function(Ye){return te._onKeydown(Ye)}),2&S&&(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([st,Ve,{provide:X.MAT_INPUT_VALUE_ACCESSOR,useExisting:J}]),r.\u0275\u0275InheritDefinitionFeature]}),J})(),At=(()=>{class J{}return J.\u0275fac=function(S){return new(S||J)},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["","matDatepickerToggleIcon",""]]}),J})(),Xt=(()=>{class J{constructor(S,te,ke){this._intl=S,this._changeDetectorRef=te,this._stateChanges=b.w.EMPTY;const Ye=Number(ke);this.tabIndex=Ye||0===Ye?Ye:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(S){this._disabled=(0,T.Ig)(S)}ngOnChanges(S){S.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(S){this.datepicker&&!this.disabled&&(this.datepicker.open(),S.stopPropagation())}_watchStateChanges(){const S=this.datepicker?this.datepicker.stateChanges:(0,g.of)(),te=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,g.of)(),ke=this.datepicker?(0,h.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,g.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,h.T)(this._intl.changes,S,te,ke).subscribe(()=>this._changeDetectorRef.markForCheck())}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Mt),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275injectAttribute("tabindex"))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-datepicker-toggle"]],contentQueries:function(S,te,ke){if(1&S&&r.\u0275\u0275contentQuery(ke,At,5),2&S){let Ye;r.\u0275\u0275queryRefresh(Ye=r.\u0275\u0275loadQuery())&&(te._customIcon=Ye.first)}},viewQuery:function(S,te){if(1&S&&r.\u0275\u0275viewQuery(Te,5),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te._button=ke.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("click",function(Ye){return te._open(Ye)}),2&S&&(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:ot,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",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",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(S,te){1&S&&(r.\u0275\u0275projectionDef(tt),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275template(2,Ke,2,0,"svg",2),r.\u0275\u0275projection(3),r.\u0275\u0275elementEnd()),2&S&&(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))},directives:[d.MatButton,c.NgIf],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),J})();const Jt=new r.InjectionToken("MAT_DATE_RANGE_INPUT_PARENT"),Rn=(0,p.mixinErrorState)((()=>{class J extends vn{constructor(S,te,ke,Ye,kt,It,Rt,Yt){super(te,Rt,Yt),this._rangeInput=S,this._defaultErrorStateMatcher=ke,this._injector=Ye,this._parentForm=kt,this._parentFormGroup=It}ngOnInit(){const S=this._injector.get(z.NgControl,null,r.InjectFlags.Self|r.InjectFlags.Optional);S&&(this.ngControl=S)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}_onInput(S){super._onInput(S),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:S}){return S!==this._rangeInput._startInput&&S!==this._rangeInput._endInput}_assignValueProgrammatically(S){super._assignValueProgrammatically(S);const te=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput;null==te||te._validatorOnChange()}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Jt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(z.NgForm,8),r.\u0275\u0275directiveInject(z.FormGroupDirective,8),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,features:[r.\u0275\u0275InheritDefinitionFeature]}),J})());let li=(()=>{class J extends Rn{constructor(S,te,ke,Ye,kt,It,Rt,Yt){super(S,te,ke,Ye,kt,It,Rt,Yt),this._startValidator=Zt=>{const Mn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Zt.value)),Tn=this._model?this._model.selection.end:null;return!Mn||!Tn||this._dateAdapter.compareDate(Mn,Tn)<=0?null:{matStartDateInvalid:{end:Tn,actual:Mn}}},this._validator=z.Validators.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(S){return S.start}_shouldHandleChangeEvent(S){var te;return!(!super._shouldHandleChangeEvent(S)||((null===(te=S.oldValue)||void 0===te?void 0:te.start)?S.selection.start&&!this._dateAdapter.compareDate(S.oldValue.start,S.selection.start):!S.selection.start))}_assignValueToModel(S){if(this._model){const te=new rt(S,this._model.selection.end);this._model.updateSelection(te,this)}}_formatValue(S){super._formatValue(S),this._rangeInput._handleChildValueChange()}getMirrorValue(){const S=this._elementRef.nativeElement,te=S.value;return te.length>0?te:S.placeholder}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Jt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(z.NgForm,8),r.\u0275\u0275directiveInject(z.FormGroupDirective,8),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:6,hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("input",function(Ye){return te._onInput(Ye.target.value)})("change",function(){return te._onChange()})("keydown",function(Ye){return te._onKeydown(Ye)})("blur",function(){return te._onBlur()}),2&S&&(r.\u0275\u0275hostProperty("disabled",te.disabled),r.\u0275\u0275attribute("id",te._rangeInput.id)("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:z.NG_VALUE_ACCESSOR,useExisting:J,multi:!0},{provide:z.NG_VALIDATORS,useExisting:J,multi:!0}]),r.\u0275\u0275InheritDefinitionFeature]}),J})(),ti=(()=>{class J extends Rn{constructor(S,te,ke,Ye,kt,It,Rt,Yt){super(S,te,ke,Ye,kt,It,Rt,Yt),this._endValidator=Zt=>{const Mn=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Zt.value)),Tn=this._model?this._model.selection.start:null;return!Mn||!Tn||this._dateAdapter.compareDate(Mn,Tn)>=0?null:{matEndDateInvalid:{start:Tn,actual:Mn}}},this._validator=z.Validators.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(S){return S.end}_shouldHandleChangeEvent(S){var te;return!(!super._shouldHandleChangeEvent(S)||((null===(te=S.oldValue)||void 0===te?void 0:te.end)?S.selection.end&&!this._dateAdapter.compareDate(S.oldValue.end,S.selection.end):!S.selection.end))}_assignValueToModel(S){if(this._model){const te=new rt(this._model.selection.start,S);this._model.updateSelection(te,this)}}_onKeydown(S){S.keyCode===s.ZH&&!this._elementRef.nativeElement.value&&this._rangeInput._startInput.focus(),super._onKeydown(S)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Jt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(p.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(z.NgForm,8),r.\u0275\u0275directiveInject(z.FormGroupDirective,8),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(p.MAT_DATE_FORMATS,8))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("input",function(Ye){return te._onInput(Ye.target.value)})("change",function(){return te._onChange()})("keydown",function(Ye){return te._onKeydown(Ye)})("blur",function(){return te._onBlur()}),2&S&&(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:z.NG_VALUE_ACCESSOR,useExisting:J,multi:!0},{provide:z.NG_VALIDATORS,useExisting:J,multi:!0}]),r.\u0275\u0275InheritDefinitionFeature]}),J})(),pi=0,Jn=(()=>{class J{constructor(S,te,ke,Ye,kt){if(this._changeDetectorRef=S,this._elementRef=te,this._dateAdapter=Ye,this._formField=kt,this._closedSubscription=b.w.EMPTY,this.id="mat-date-range-input-"+pi++,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 y.xQ,null==kt?void 0:kt._elementRef.nativeElement.classList.contains("mat-mdc-form-field")){const It=te.nativeElement.classList;It.add("mat-mdc-input-element"),It.add("mat-mdc-form-field-input-control")}this.ngControl=ke}get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){var S,te;const ke=(null===(S=this._startInput)||void 0===S?void 0:S._getPlaceholder())||"",Ye=(null===(te=this._endInput)||void 0===te?void 0:te._getPlaceholder())||"";return ke||Ye?`${ke} ${this.separator} ${Ye}`:""}get rangePicker(){return this._rangePicker}set rangePicker(S){S&&(this._model=S.registerInput(this),this._rangePicker=S,this._closedSubscription.unsubscribe(),this._closedSubscription=S.closedStream.subscribe(()=>{var te,ke;null===(te=this._startInput)||void 0===te||te._onTouched(),null===(ke=this._endInput)||void 0===ke||ke._onTouched()}),this._registerModel(this._model))}get required(){return!!this._required}set required(S){this._required=(0,T.Ig)(S)}get dateFilter(){return this._dateFilter}set dateFilter(S){const te=this._startInput,ke=this._endInput,Ye=te&&te._matchesFilter(te.value),kt=ke&&ke._matchesFilter(te.value);this._dateFilter=S,te&&te._matchesFilter(te.value)!==Ye&&te._validatorOnChange(),ke&&ke._matchesFilter(ke.value)!==kt&&ke._validatorOnChange()}get min(){return this._min}set min(S){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S));this._dateAdapter.sameDate(te,this._min)||(this._min=te,this._revalidate())}get max(){return this._max}set max(S){const te=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(S));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(S){const te=(0,T.Ig)(S);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 S=!!this._startInput&&this._startInput.isEmpty(),te=!!this._endInput&&this._endInput.isEmpty();return S&&te}setDescribedByIds(S){this._ariaDescribedBy=S.length?S.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,h.T)(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(S){it(S,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(){return this._startInput?this._startInput.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 S=this._formField;return S&&S._hasFloatingLabel()?S._labelId:null}_updateFocus(S){this.focused=null!==S,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(S){this._startInput&&this._startInput._registerModel(S),this._endInput&&this._endInput._registerModel(S)}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(z.ControlContainer,10),r.\u0275\u0275directiveInject(p.DateAdapter,8),r.\u0275\u0275directiveInject(G.MAT_FORM_FIELD,8))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-date-range-input"]],contentQueries:function(S,te,ke){if(1&S&&(r.\u0275\u0275contentQuery(ke,li,5),r.\u0275\u0275contentQuery(ke,ti,5)),2&S){let Ye;r.\u0275\u0275queryRefresh(Ye=r.\u0275\u0275loadQuery())&&(te._startInput=Ye.first),r.\u0275\u0275queryRefresh(Ye=r.\u0275\u0275loadQuery())&&(te._endInput=Ye.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(S,te){2&S&&(r.\u0275\u0275attribute("id",null)("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:G.MatFormFieldControl,useExisting:J},{provide:Jt,useExisting:J}]),r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:Dt,decls:9,vars:4,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-start-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-end-wrapper"]],template:function(S,te){1&S&&(r.\u0275\u0275projectionDef(pt),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275listener("cdkFocusChange",function(Ye){return te._updateFocus(Ye)}),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\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\u0275elementEnd(),r.\u0275\u0275elementEnd()),2&S&&(r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(te._getInputMirrorValue()),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-date-range-input-separator-hidden",te._shouldHideSeparator()),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(te.separator))},directives:[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-date-range-input-separator-hidden{-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-inner{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width: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;-moz-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;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;-moz-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;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;-moz-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;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;-moz-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;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-date-range-input-mirror{-webkit-user-select:none;-moz-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-date-range-input-start-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-start-wrapper .mat-date-range-input-inner{position:absolute;top:0;left:0}.mat-date-range-input-end-wrapper{flex-grow:1;max-width:calc(50% - 4px)}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}\n"],encapsulation:2,changeDetection:0}),J})(),Ln=(()=>{class J extends Ct{_forwardContentValues(S){super._forwardContentValues(S);const te=this.datepickerInput;te&&(S.comparisonStart=te.comparisonStart,S.comparisonEnd=te.comparisonEnd)}}return J.\u0275fac=function(){let Re;return function(te){return(Re||(Re=r.\u0275\u0275getInheritedFactory(J)))(te||J)}}(),J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[r.\u0275\u0275ProvidersFeature([_,Ue,{provide:Ct,useExisting:J}]),r.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(S,te){},encapsulation:2,changeDetection:0}),J})(),ri=(()=>{class J{constructor(S){this._datepicker=S}_applySelection(){this._datepicker._applyPendingSelection(),this._datepicker.close()}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Ct))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["","matDatepickerApply",""],["","matDateRangePickerApply",""]],hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("click",function(){return te._applySelection()})}}),J})(),jn=(()=>{class J{constructor(S){this._datepicker=S}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Ct))},J.\u0275dir=r.\u0275\u0275defineDirective({type:J,selectors:[["","matDatepickerCancel",""],["","matDateRangePickerCancel",""]],hostBindings:function(S,te){1&S&&r.\u0275\u0275listener("click",function(){return te._datepicker.close()})}}),J})(),Se=(()=>{class J{constructor(S,te){this._datepicker=S,this._viewContainerRef=te}ngAfterViewInit(){this._portal=new u.UE(this._template,this._viewContainerRef),this._datepicker.registerActions(this._portal)}ngOnDestroy(){var S;this._datepicker.removeActions(this._portal),this._portal&&this._portal.isAttached&&(null===(S=this._portal)||void 0===S||S.detach())}}return J.\u0275fac=function(S){return new(S||J)(r.\u0275\u0275directiveInject(Ct),r.\u0275\u0275directiveInject(r.ViewContainerRef))},J.\u0275cmp=r.\u0275\u0275defineComponent({type:J,selectors:[["mat-datepicker-actions"],["mat-date-range-picker-actions"]],viewQuery:function(S,te){if(1&S&&r.\u0275\u0275viewQuery(r.TemplateRef,5),2&S){let ke;r.\u0275\u0275queryRefresh(ke=r.\u0275\u0275loadQuery())&&(te._template=ke.first)}},ngContentSelectors:oe,decls:1,vars:0,consts:[[1,"mat-datepicker-actions"]],template:function(S,te){1&S&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,Ie,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-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}\n"],encapsulation:2,changeDetection:0}),J})(),Xe=(()=>{class J{}return J.\u0275fac=function(S){return new(S||J)},J.\u0275mod=r.\u0275\u0275defineNgModule({type:J}),J.\u0275inj=r.\u0275\u0275defineInjector({providers:[Mt,V],imports:[[c.CommonModule,d.MatButtonModule,l.U8,n.rt,u.eL,p.MatCommonModule],m.ZD]}),J})()},4834:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatDivider:()=>c,MatDividerModule:()=>r});var n=o(5e3),l=o(3191),u=o(508);let c=(()=>{class d{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(p){this._vertical=(0,l.Ig)(p)}get inset(){return this._inset}set inset(p){this._inset=(0,l.Ig)(p)}}return d.\u0275fac=function(p){return new(p||d)},d.\u0275cmp=n.\u0275\u0275defineComponent({type:d,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(p,y){2&p&&(n.\u0275\u0275attribute("aria-orientation",y.vertical?"vertical":"horizontal"),n.\u0275\u0275classProp("mat-divider-vertical",y.vertical)("mat-divider-horizontal",!y.vertical)("mat-divider-inset",y.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(p,y){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),d})(),r=(()=>{class d{}return d.\u0275fac=function(p){return new(p||d)},d.\u0275mod=n.\u0275\u0275defineNgModule({type:d}),d.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.MatCommonModule],u.MatCommonModule]}),d})()},7322:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_ERROR:()=>ie,MAT_FORM_FIELD:()=>_e,MAT_FORM_FIELD_DEFAULT_OPTIONS:()=>mt,MAT_PREFIX:()=>bt,MAT_SUFFIX:()=>xt,MatError:()=>le,MatFormField:()=>Z,MatFormFieldControl:()=>Te,MatFormFieldModule:()=>j,MatHint:()=>Ie,MatLabel:()=>Qe,MatPlaceholder:()=>ct,MatPrefix:()=>Et,MatSuffix:()=>dt,_MAT_HINT:()=>Dt,getMatFormFieldDuplicatedHintError:()=>tt,getMatFormFieldMissingControlError:()=>ot,getMatFormFieldPlaceholderConflictError:()=>Ke,matFormFieldAnimations:()=>Ce});var n=o(7144),l=o(9808),u=o(5e3),c=o(508),r=o(3191),d=o(8929),m=o(6787),p=o(3753),y=o(1059),b=o(7625),h=o(2986),g=o(1777),s=o(6360),C=o(226),P=o(925);const w=["connectionContainer"],D=["inputContainer"],T=["label"];function Y(_,x){1&_&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275elementStart(1,"div",14),u.\u0275\u0275element(2,"div",15),u.\u0275\u0275element(3,"div",16),u.\u0275\u0275element(4,"div",17),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(5,"div",18),u.\u0275\u0275element(6,"div",15),u.\u0275\u0275element(7,"div",16),u.\u0275\u0275element(8,"div",17),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd())}function $(_,x){if(1&_){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",19),u.\u0275\u0275listener("cdkObserveContent",function(){return u.\u0275\u0275restoreView(N),u.\u0275\u0275nextContext().updateOutlineGap()}),u.\u0275\u0275projection(1,1),u.\u0275\u0275elementEnd()}if(2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275property("cdkObserveContentDisabled","outline"!=N.appearance)}}function z(_,x){if(1&_&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275projection(1,2),u.\u0275\u0275elementStart(2,"span"),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd()),2&_){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(N._control.placeholder)}}function G(_,x){1&_&&u.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function X(_,x){1&_&&(u.\u0275\u0275elementStart(0,"span",23),u.\u0275\u0275text(1," *"),u.\u0275\u0275elementEnd())}function Q(_,x){if(1&_){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"label",20,21),u.\u0275\u0275listener("cdkObserveContent",function(){return u.\u0275\u0275restoreView(N),u.\u0275\u0275nextContext().updateOutlineGap()}),u.\u0275\u0275template(2,z,4,1,"ng-container",12),u.\u0275\u0275template(3,G,1,0,"ng-content",12),u.\u0275\u0275template(4,X,2,0,"span",22),u.\u0275\u0275elementEnd()}if(2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275classProp("mat-empty",N._control.empty&&!N._shouldAlwaysFloat())("mat-form-field-empty",N._control.empty&&!N._shouldAlwaysFloat())("mat-accent","accent"==N.color)("mat-warn","warn"==N.color),u.\u0275\u0275property("cdkObserveContentDisabled","outline"!=N.appearance)("id",N._labelId)("ngSwitch",N._hasLabel()),u.\u0275\u0275attribute("for",N._control.id)("aria-owns",N._control.id),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngSwitchCase",!1),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase",!0),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",!N.hideRequiredMarker&&N._control.required&&!N._control.disabled)}}function q(_,x){1&_&&(u.\u0275\u0275elementStart(0,"div",24),u.\u0275\u0275projection(1,4),u.\u0275\u0275elementEnd())}function ue(_,x){if(1&_&&(u.\u0275\u0275elementStart(0,"div",25),u.\u0275\u0275element(1,"span",26),u.\u0275\u0275elementEnd()),2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275advance(1),u.\u0275\u0275classProp("mat-accent","accent"==N.color)("mat-warn","warn"==N.color)}}function me(_,x){if(1&_&&(u.\u0275\u0275elementStart(0,"div"),u.\u0275\u0275projection(1,5),u.\u0275\u0275elementEnd()),2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275property("@transitionMessages",N._subscriptAnimationState)}}function xe(_,x){if(1&_&&(u.\u0275\u0275elementStart(0,"div",30),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&_){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275property("id",N._hintLabelId),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(N.hintLabel)}}function pe(_,x){if(1&_&&(u.\u0275\u0275elementStart(0,"div",27),u.\u0275\u0275template(1,xe,2,2,"div",28),u.\u0275\u0275projection(2,6),u.\u0275\u0275element(3,"div",29),u.\u0275\u0275projection(4,7),u.\u0275\u0275elementEnd()),2&_){const N=u.\u0275\u0275nextContext();u.\u0275\u0275property("@transitionMessages",N._subscriptAnimationState),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",N.hintLabel)}}const oe=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ae=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let U=0;const ie=new u.InjectionToken("MatError");let le=(()=>{class _{constructor(N,ce){this.id="mat-error-"+U++,N||ce.nativeElement.setAttribute("aria-live","polite")}}return _.\u0275fac=function(N){return new(N||_)(u.\u0275\u0275injectAttribute("aria-live"),u.\u0275\u0275directiveInject(u.ElementRef))},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(N,ce){2&N&&u.\u0275\u0275attribute("id",ce.id)},inputs:{id:"id"},features:[u.\u0275\u0275ProvidersFeature([{provide:ie,useExisting:_}])]}),_})();const Ce={transitionMessages:(0,g.X$)("transitionMessages",[(0,g.SB)("enter",(0,g.oB)({opacity:1,transform:"translateY(0%)"})),(0,g.eR)("void => enter",[(0,g.oB)({opacity:0,transform:"translateY(-5px)"}),(0,g.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Te=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_}),_})();function Ke(){return Error("Placeholder attribute and child element were both specified.")}function tt(_){return Error(`A hint was already declared for 'align="${_}"'.`)}function ot(){return Error("mat-form-field must contain a MatFormFieldControl.")}let pt=0;const Dt=new u.InjectionToken("MatHint");let Ie=(()=>{class _{constructor(){this.align="start",this.id="mat-hint-"+pt++}}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(N,ce){2&N&&(u.\u0275\u0275attribute("id",ce.id)("align",null),u.\u0275\u0275classProp("mat-form-field-hint-end","end"===ce.align))},inputs:{align:"align",id:"id"},features:[u.\u0275\u0275ProvidersFeature([{provide:Dt,useExisting:_}])]}),_})(),Qe=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["mat-label"]]}),_})(),ct=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["mat-placeholder"]]}),_})();const bt=new u.InjectionToken("MatPrefix");let Et=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["","matPrefix",""]],features:[u.\u0275\u0275ProvidersFeature([{provide:bt,useExisting:_}])]}),_})();const xt=new u.InjectionToken("MatSuffix");let dt=(()=>{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275dir=u.\u0275\u0275defineDirective({type:_,selectors:[["","matSuffix",""]],features:[u.\u0275\u0275ProvidersFeature([{provide:xt,useExisting:_}])]}),_})(),Ne=0;const yt=(0,c.mixinColor)(class{constructor(_){this._elementRef=_}},"primary"),mt=new u.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),_e=new u.InjectionToken("MatFormField");let Z=(()=>{class _ extends yt{constructor(N,ce,Ue,Oe,ve,Ae,nt){super(N),this._changeDetectorRef=ce,this._dir=Ue,this._defaults=Oe,this._platform=ve,this._ngZone=Ae,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new d.xQ,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Ne++,this._labelId="mat-form-field-label-"+Ne++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==nt,this.appearance=Oe&&Oe.appearance?Oe.appearance:"legacy",this._hideRequiredMarker=!(!Oe||null==Oe.hideRequiredMarker)&&Oe.hideRequiredMarker}get appearance(){return this._appearance}set appearance(N){const ce=this._appearance;this._appearance=N||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&ce!==N&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(N){this._hideRequiredMarker=(0,r.Ig)(N)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(N){this._hintLabel=N,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(N){N!==this._floatLabel&&(this._floatLabel=N||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(N){this._explicitFormFieldControl=N}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const N=this._control;N.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${N.controlType}`),N.stateChanges.pipe((0,y.O)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),N.ngControl&&N.ngControl.valueChanges&&N.ngControl.valueChanges.pipe((0,b.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,b.R)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),(0,m.T)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe((0,y.O)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe((0,y.O)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe((0,b.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(N){const ce=this._control?this._control.ngControl:null;return ce&&ce[N]}_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,p.R)(this._label.nativeElement,"transitionend").pipe((0,h.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 N=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&N.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const ce=this._hintChildren?this._hintChildren.find(Oe=>"start"===Oe.align):null,Ue=this._hintChildren?this._hintChildren.find(Oe=>"end"===Oe.align):null;ce?N.push(ce.id):this._hintLabel&&N.push(this._hintLabelId),Ue&&N.push(Ue.id)}else this._errorChildren&&N.push(...this._errorChildren.map(ce=>ce.id));this._control.setDescribedByIds(N)}}_validateControlChild(){}updateOutlineGap(){const N=this._label?this._label.nativeElement:null;if(!("outline"===this.appearance&&N&&N.children.length&&N.textContent.trim()&&this._platform.isBrowser))return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let ce=0,Ue=0;const Oe=this._connectionContainerRef.nativeElement,ve=Oe.querySelectorAll(".mat-form-field-outline-start"),Ae=Oe.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const nt=Oe.getBoundingClientRect();if(0===nt.width&&0===nt.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const Pt=this._getStartEnd(nt),Ft=N.children,gt=this._getStartEnd(Ft[0].getBoundingClientRect());let Lt=0;for(let $e=0;$e0?.75*Lt+10:0}for(let nt=0;nt{class _{}return _.\u0275fac=function(N){return new(N||_)},_.\u0275mod=u.\u0275\u0275defineNgModule({type:_}),_.\u0275inj=u.\u0275\u0275defineInjector({imports:[[l.CommonModule,c.MatCommonModule,n.Q8],c.MatCommonModule]}),_})()},5245:(he,A,o)=>{"use strict";o.r(A),o.d(A,{ICON_REGISTRY_PROVIDER:()=>xe,ICON_REGISTRY_PROVIDER_FACTORY:()=>me,MAT_ICON_LOCATION:()=>ie,MAT_ICON_LOCATION_FACTORY:()=>le,MatIcon:()=>tt,MatIconModule:()=>ot,MatIconRegistry:()=>ue,getMatIconFailedToSanitizeLiteralError:()=>Q,getMatIconFailedToSanitizeUrlError:()=>X,getMatIconNameNotFoundError:()=>z,getMatIconNoHttpProviderError:()=>G});var n=o(5e3),l=o(508),u=o(3191),c=o(9808),r=o(1086),d=o(1737),m=o(567),p=o(2654),y=o(2868),b=o(4850),h=o(7221),g=o(537),s=o(8117),C=o(2986),P=o(520),w=o(2313);const D=["*"];let T;function $(pt){var Dt;return(null===(Dt=function(){if(void 0===T&&(T=null,"undefined"!=typeof window)){const pt=window;void 0!==pt.trustedTypes&&(T=pt.trustedTypes.createPolicy("angular#components",{createHTML:Dt=>Dt}))}return T}())||void 0===Dt?void 0:Dt.createHTML(pt))||pt}function z(pt){return Error(`Unable to find icon with the name "${pt}"`)}function G(){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 X(pt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${pt}".`)}function Q(pt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${pt}".`)}class q{constructor(Dt,Ie,Qe){this.url=Dt,this.svgText=Ie,this.options=Qe}}let ue=(()=>{class pt{constructor(Ie,Qe,ct,bt){this._httpClient=Ie,this._sanitizer=Qe,this._errorHandler=bt,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",this._document=ct}addSvgIcon(Ie,Qe,ct){return this.addSvgIconInNamespace("",Ie,Qe,ct)}addSvgIconLiteral(Ie,Qe,ct){return this.addSvgIconLiteralInNamespace("",Ie,Qe,ct)}addSvgIconInNamespace(Ie,Qe,ct,bt){return this._addSvgIconConfig(Ie,Qe,new q(ct,null,bt))}addSvgIconResolver(Ie){return this._resolvers.push(Ie),this}addSvgIconLiteralInNamespace(Ie,Qe,ct,bt){const Et=this._sanitizer.sanitize(n.SecurityContext.HTML,ct);if(!Et)throw Q(ct);const xt=$(Et);return this._addSvgIconConfig(Ie,Qe,new q("",xt,bt))}addSvgIconSet(Ie,Qe){return this.addSvgIconSetInNamespace("",Ie,Qe)}addSvgIconSetLiteral(Ie,Qe){return this.addSvgIconSetLiteralInNamespace("",Ie,Qe)}addSvgIconSetInNamespace(Ie,Qe,ct){return this._addSvgIconSetConfig(Ie,new q(Qe,null,ct))}addSvgIconSetLiteralInNamespace(Ie,Qe,ct){const bt=this._sanitizer.sanitize(n.SecurityContext.HTML,Qe);if(!bt)throw Q(Qe);const Et=$(bt);return this._addSvgIconSetConfig(Ie,new q("",Et,ct))}registerFontClassAlias(Ie,Qe=Ie){return this._fontCssClassesByAlias.set(Ie,Qe),this}classNameForFontAlias(Ie){return this._fontCssClassesByAlias.get(Ie)||Ie}setDefaultFontSetClass(Ie){return this._defaultFontSetClass=Ie,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ie){const Qe=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Ie);if(!Qe)throw X(Ie);const ct=this._cachedIconsByUrl.get(Qe);return ct?(0,r.of)(pe(ct)):this._loadSvgIconFromConfig(new q(Ie,null)).pipe((0,y.b)(bt=>this._cachedIconsByUrl.set(Qe,bt)),(0,b.U)(bt=>pe(bt)))}getNamedSvgIcon(Ie,Qe=""){const ct=oe(Qe,Ie);let bt=this._svgIconConfigs.get(ct);if(bt)return this._getSvgFromConfig(bt);if(bt=this._getIconConfigFromResolvers(Qe,Ie),bt)return this._svgIconConfigs.set(ct,bt),this._getSvgFromConfig(bt);const Et=this._iconSetConfigs.get(Qe);return Et?this._getSvgFromIconSetConfigs(Ie,Et):(0,d._)(z(ct))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ie){return Ie.svgText?(0,r.of)(pe(this._svgElementFromConfig(Ie))):this._loadSvgIconFromConfig(Ie).pipe((0,b.U)(Qe=>pe(Qe)))}_getSvgFromIconSetConfigs(Ie,Qe){const ct=this._extractIconWithNameFromAnySet(Ie,Qe);if(ct)return(0,r.of)(ct);const bt=Qe.filter(Et=>!Et.svgText).map(Et=>this._loadSvgIconSetFromConfig(Et).pipe((0,h.K)(xt=>{const Ne=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Et.url)} failed: ${xt.message}`;return this._errorHandler.handleError(new Error(Ne)),(0,r.of)(null)})));return(0,m.D)(bt).pipe((0,b.U)(()=>{const Et=this._extractIconWithNameFromAnySet(Ie,Qe);if(!Et)throw z(Ie);return Et}))}_extractIconWithNameFromAnySet(Ie,Qe){for(let ct=Qe.length-1;ct>=0;ct--){const bt=Qe[ct];if(bt.svgText&&bt.svgText.toString().indexOf(Ie)>-1){const Et=this._svgElementFromConfig(bt),xt=this._extractSvgIconFromSet(Et,Ie,bt.options);if(xt)return xt}}return null}_loadSvgIconFromConfig(Ie){return this._fetchIcon(Ie).pipe((0,y.b)(Qe=>Ie.svgText=Qe),(0,b.U)(()=>this._svgElementFromConfig(Ie)))}_loadSvgIconSetFromConfig(Ie){return Ie.svgText?(0,r.of)(null):this._fetchIcon(Ie).pipe((0,y.b)(Qe=>Ie.svgText=Qe))}_extractSvgIconFromSet(Ie,Qe,ct){const bt=Ie.querySelector(`[id="${Qe}"]`);if(!bt)return null;const Et=bt.cloneNode(!0);if(Et.removeAttribute("id"),"svg"===Et.nodeName.toLowerCase())return this._setSvgAttributes(Et,ct);if("symbol"===Et.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Et),ct);const xt=this._svgElementFromString($(""));return xt.appendChild(Et),this._setSvgAttributes(xt,ct)}_svgElementFromString(Ie){const Qe=this._document.createElement("DIV");Qe.innerHTML=Ie;const ct=Qe.querySelector("svg");if(!ct)throw Error(" tag not found");return ct}_toSvgElement(Ie){const Qe=this._svgElementFromString($("")),ct=Ie.attributes;for(let bt=0;bt$(rt)),(0,g.x)(()=>this._inProgressUrlFetches.delete(xt)),(0,s.B)());return this._inProgressUrlFetches.set(xt,Ne),Ne}_addSvgIconConfig(Ie,Qe,ct){return this._svgIconConfigs.set(oe(Ie,Qe),ct),this}_addSvgIconSetConfig(Ie,Qe){const ct=this._iconSetConfigs.get(Ie);return ct?ct.push(Qe):this._iconSetConfigs.set(Ie,[Qe]),this}_svgElementFromConfig(Ie){if(!Ie.svgElement){const Qe=this._svgElementFromString(Ie.svgText);this._setSvgAttributes(Qe,Ie.options),Ie.svgElement=Qe}return Ie.svgElement}_getIconConfigFromResolvers(Ie,Qe){for(let ct=0;ctDt?Dt.pathname+Dt.search:""}}const Ce=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Te=Ce.map(pt=>`[${pt}]`).join(", "),Ke=/^url\(['"]?#(.*?)['"]?\)$/;let tt=(()=>{class pt extends U{constructor(Ie,Qe,ct,bt,Et){super(Ie),this._iconRegistry=Qe,this._location=bt,this._errorHandler=Et,this._inline=!1,this._currentIconFetch=p.w.EMPTY,ct||Ie.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Ie){this._inline=(0,u.Ig)(Ie)}get svgIcon(){return this._svgIcon}set svgIcon(Ie){Ie!==this._svgIcon&&(Ie?this._updateSvgIcon(Ie):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ie)}get fontSet(){return this._fontSet}set fontSet(Ie){const Qe=this._cleanupFontValue(Ie);Qe!==this._fontSet&&(this._fontSet=Qe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ie){const Qe=this._cleanupFontValue(Ie);Qe!==this._fontIcon&&(this._fontIcon=Qe,this._updateFontIconClasses())}_splitIconName(Ie){if(!Ie)return["",""];const Qe=Ie.split(":");switch(Qe.length){case 1:return["",Qe[0]];case 2:return Qe;default:throw Error(`Invalid icon name: "${Ie}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ie=this._elementsWithExternalReferences;if(Ie&&Ie.size){const Qe=this._location.getPathname();Qe!==this._previousPath&&(this._previousPath=Qe,this._prependPathToReferences(Qe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ie){this._clearSvgElement();const Qe=Ie.querySelectorAll("style");for(let bt=0;bt{ct.forEach(Et=>{bt.setAttribute(Et.name,`url('${Ie}#${Et.value}')`)})})}_cacheChildrenWithExternalReferences(Ie){const Qe=Ie.querySelectorAll(Te),ct=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let bt=0;bt{const xt=Qe[bt],dt=xt.getAttribute(Et),Ne=dt?dt.match(Ke):null;if(Ne){let rt=ct.get(xt);rt||(rt=[],ct.set(xt,rt)),rt.push({name:Et,value:Ne[1]})}})}_updateSvgIcon(Ie){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ie){const[Qe,ct]=this._splitIconName(Ie);Qe&&(this._svgNamespace=Qe),ct&&(this._svgName=ct),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(ct,Qe).pipe((0,C.q)(1)).subscribe(bt=>this._setSvgElement(bt),bt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Qe}:${ct}! ${bt.message}`))})}}}return pt.\u0275fac=function(Ie){return new(Ie||pt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(ue),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(ie),n.\u0275\u0275directiveInject(n.ErrorHandler))},pt.\u0275cmp=n.\u0275\u0275defineComponent({type:pt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(Ie,Qe){2&Ie&&(n.\u0275\u0275attribute("data-mat-icon-type",Qe._usingFontIcon()?"font":"svg")("data-mat-icon-name",Qe._svgName||Qe.fontIcon)("data-mat-icon-namespace",Qe._svgNamespace||Qe.fontSet),n.\u0275\u0275classProp("mat-icon-inline",Qe.inline)("mat-icon-no-color","primary"!==Qe.color&&"accent"!==Qe.color&&"warn"!==Qe.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:D,decls:1,vars:0,template:function(Ie,Qe){1&Ie&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:[".mat-icon{-webkit-user-select:none;-moz-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[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}\n"],encapsulation:2,changeDetection:0}),pt})(),ot=(()=>{class pt{}return pt.\u0275fac=function(Ie){return new(Ie||pt)},pt.\u0275mod=n.\u0275\u0275defineNgModule({type:pt}),pt.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.MatCommonModule],l.MatCommonModule]}),pt})()},7531:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_INPUT_VALUE_ACCESSOR:()=>P,MatInput:()=>Y,MatInputModule:()=>$,getMatInputUnsupportedTypeError:()=>C});var n=o(3191),l=o(925),u=o(5e3),c=o(3075),r=o(508),d=o(7322),m=o(8929),p=o(8896);const y=(0,l.i$)({passive:!0});let b=(()=>{class z{constructor(X,Q){this._platform=X,this._ngZone=Q,this._monitoredElements=new Map}monitor(X){if(!this._platform.isBrowser)return p.E;const Q=(0,n.fI)(X),q=this._monitoredElements.get(Q);if(q)return q.subject;const ue=new m.xQ,me="cdk-text-field-autofilled",xe=pe=>{"cdk-text-field-autofill-start"!==pe.animationName||Q.classList.contains(me)?"cdk-text-field-autofill-end"===pe.animationName&&Q.classList.contains(me)&&(Q.classList.remove(me),this._ngZone.run(()=>ue.next({target:pe.target,isAutofilled:!1}))):(Q.classList.add(me),this._ngZone.run(()=>ue.next({target:pe.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{Q.addEventListener("animationstart",xe,y),Q.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(Q,{subject:ue,unlisten:()=>{Q.removeEventListener("animationstart",xe,y)}}),ue}stopMonitoring(X){const Q=(0,n.fI)(X),q=this._monitoredElements.get(Q);q&&(q.unlisten(),q.subject.complete(),Q.classList.remove("cdk-text-field-autofill-monitored"),Q.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(Q))}ngOnDestroy(){this._monitoredElements.forEach((X,Q)=>this.stopMonitoring(Q))}}return z.\u0275fac=function(X){return new(X||z)(u.\u0275\u0275inject(l.t4),u.\u0275\u0275inject(u.NgZone))},z.\u0275prov=u.\u0275\u0275defineInjectable({token:z,factory:z.\u0275fac,providedIn:"root"}),z})(),s=(()=>{class z{}return z.\u0275fac=function(X){return new(X||z)},z.\u0275mod=u.\u0275\u0275defineNgModule({type:z}),z.\u0275inj=u.\u0275\u0275defineInjector({imports:[[l.ud]]}),z})();function C(z){return Error(`Input type "${z}" isn't supported by matInput.`)}const P=new u.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),w=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let D=0;const T=(0,r.mixinErrorState)(class{constructor(z,G,X,Q){this._defaultErrorStateMatcher=z,this._parentForm=G,this._parentFormGroup=X,this.ngControl=Q}});let Y=(()=>{class z extends T{constructor(X,Q,q,ue,me,xe,pe,oe,ae,U){super(xe,ue,me,q),this._elementRef=X,this._platform=Q,this._autofillMonitor=oe,this._formField=U,this._uid="mat-input-"+D++,this.focused=!1,this.stateChanges=new m.xQ,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(Ce=>(0,l.qK)().has(Ce));const ie=this._elementRef.nativeElement,le=ie.nodeName.toLowerCase();this._inputValueAccessor=pe||ie,this._previousNativeValue=this.value,this.id=this.id,Q.IOS&&ae.runOutsideAngular(()=>{X.nativeElement.addEventListener("keyup",Ce=>{const Te=Ce.target;!Te.value&&0===Te.selectionStart&&0===Te.selectionEnd&&(Te.setSelectionRange(1,1),Te.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===le,this._isTextarea="textarea"===le,this._isInFormField=!!U,this._isNativeSelect&&(this.controlType=ie.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(X){this._disabled=(0,n.Ig)(X),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(X){this._id=X||this._uid}get required(){var X,Q,q,ue;return null!==(ue=null!==(X=this._required)&&void 0!==X?X:null===(q=null===(Q=this.ngControl)||void 0===Q?void 0:Q.control)||void 0===q?void 0:q.hasValidator(c.Validators.required))&&void 0!==ue&&ue}set required(X){this._required=(0,n.Ig)(X)}get type(){return this._type}set type(X){this._type=X||"text",this._validateType(),!this._isTextarea&&(0,l.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(X){X!==this.value&&(this._inputValueAccessor.value=X,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(X){this._readonly=(0,n.Ig)(X)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(X=>{this.autofilled=X.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(X){this._elementRef.nativeElement.focus(X)}_focusChanged(X){X!==this.focused&&(this.focused=X,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var X,Q;const q=(null===(Q=null===(X=this._formField)||void 0===X?void 0:X._hideControlPlaceholder)||void 0===Q?void 0:Q.call(X))?null:this.placeholder;if(q!==this._previousPlaceholder){const ue=this._elementRef.nativeElement;this._previousPlaceholder=q,q?ue.setAttribute("placeholder",q):ue.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const X=this._elementRef.nativeElement.value;this._previousNativeValue!==X&&(this._previousNativeValue=X,this.stateChanges.next())}_validateType(){w.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let X=this._elementRef.nativeElement.validity;return X&&X.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const X=this._elementRef.nativeElement,Q=X.options[0];return this.focused||X.multiple||!this.empty||!!(X.selectedIndex>-1&&Q&&Q.label)}return this.focused||!this.empty}setDescribedByIds(X){X.length?this._elementRef.nativeElement.setAttribute("aria-describedby",X.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const X=this._elementRef.nativeElement;return this._isNativeSelect&&(X.multiple||X.size>1)}}return z.\u0275fac=function(X){return new(X||z)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(l.t4),u.\u0275\u0275directiveInject(c.NgControl,10),u.\u0275\u0275directiveInject(c.NgForm,8),u.\u0275\u0275directiveInject(c.FormGroupDirective,8),u.\u0275\u0275directiveInject(r.ErrorStateMatcher),u.\u0275\u0275directiveInject(P,10),u.\u0275\u0275directiveInject(b),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(d.MAT_FORM_FIELD,8))},z.\u0275dir=u.\u0275\u0275defineDirective({type:z,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:11,hostBindings:function(X,Q){1&X&&u.\u0275\u0275listener("focus",function(){return Q._focusChanged(!0)})("blur",function(){return Q._focusChanged(!1)})("input",function(){return Q._onInput()}),2&X&&(u.\u0275\u0275hostProperty("disabled",Q.disabled)("required",Q.required),u.\u0275\u0275attribute("id",Q.id)("data-placeholder",Q.placeholder)("readonly",Q.readonly&&!Q._isNativeSelect||null)("aria-invalid",Q.empty&&Q.required?null:Q.errorState)("aria-required",Q.required),u.\u0275\u0275classProp("mat-input-server",Q._isServer)("mat-native-select-inline",Q._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[u.\u0275\u0275ProvidersFeature([{provide:d.MatFormFieldControl,useExisting:z}]),u.\u0275\u0275InheritDefinitionFeature,u.\u0275\u0275NgOnChangesFeature]}),z})(),$=(()=>{class z{}return z.\u0275fac=function(X){return new(X||z)},z.\u0275mod=u.\u0275\u0275defineNgModule({type:z}),z.\u0275inj=u.\u0275\u0275defineInjector({providers:[r.ErrorStateMatcher],imports:[[s,d.MatFormFieldModule,r.MatCommonModule],s,d.MatFormFieldModule]}),z})()},2181:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_MENU_CONTENT:()=>ae,MAT_MENU_DEFAULT_OPTIONS:()=>Dt,MAT_MENU_PANEL:()=>tt,MAT_MENU_SCROLL_STRATEGY:()=>Et,MatMenu:()=>bt,MatMenuContent:()=>ie,MatMenuItem:()=>pt,MatMenuModule:()=>mt,MatMenuTrigger:()=>yt,_MatMenuBase:()=>ct,_MatMenuContentBase:()=>U,_MatMenuTriggerBase:()=>ze,fadeInItems:()=>pe,matMenuAnimations:()=>xe,transformMenu:()=>oe});var n=o(5664),l=o(3191),u=o(1159),c=o(5e3),r=o(8929),d=o(2654),m=o(6787),p=o(1086),y=o(8139),b=o(1059),h=o(7545),g=o(2986),s=o(2198),C=o(7625),P=o(943),w=o(1777),D=o(7429),T=o(9808),Y=o(508),$=o(1314),z=o(925),G=o(226),X=o(9071);const Q=["mat-menu-item",""];function q(_e,Z){1&_e&&(c.\u0275\u0275namespaceSVG(),c.\u0275\u0275elementStart(0,"svg",2),c.\u0275\u0275element(1,"polygon",3),c.\u0275\u0275elementEnd())}const ue=["*"];function me(_e,Z){if(1&_e){const j=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"div",0),c.\u0275\u0275listener("keydown",function(x){return c.\u0275\u0275restoreView(j),c.\u0275\u0275nextContext()._handleKeydown(x)})("click",function(){return c.\u0275\u0275restoreView(j),c.\u0275\u0275nextContext().closed.emit("click")})("@transformMenu.start",function(x){return c.\u0275\u0275restoreView(j),c.\u0275\u0275nextContext()._onAnimationStart(x)})("@transformMenu.done",function(x){return c.\u0275\u0275restoreView(j),c.\u0275\u0275nextContext()._onAnimationDone(x)}),c.\u0275\u0275elementStart(1,"div",1),c.\u0275\u0275projection(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementEnd()}if(2&_e){const j=c.\u0275\u0275nextContext();c.\u0275\u0275property("id",j.panelId)("ngClass",j._classList)("@transformMenu",j._panelAnimationState),c.\u0275\u0275attribute("aria-label",j.ariaLabel||null)("aria-labelledby",j.ariaLabelledby||null)("aria-describedby",j.ariaDescribedby||null)}}const xe={transformMenu:(0,w.X$)("transformMenu",[(0,w.SB)("void",(0,w.oB)({opacity:0,transform:"scale(0.8)"})),(0,w.eR)("void => enter",(0,w.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,w.oB)({opacity:1,transform:"scale(1)"}))),(0,w.eR)("* => void",(0,w.jt)("100ms 25ms linear",(0,w.oB)({opacity:0})))]),fadeInItems:(0,w.X$)("fadeInItems",[(0,w.SB)("showing",(0,w.oB)({opacity:1})),(0,w.eR)("void => *",[(0,w.oB)({opacity:0}),(0,w.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},pe=xe.fadeInItems,oe=xe.transformMenu,ae=new c.InjectionToken("MatMenuContent");let U=(()=>{class _e{constructor(j,_,x,N,ce,Ue,Oe){this._template=j,this._componentFactoryResolver=_,this._appRef=x,this._injector=N,this._viewContainerRef=ce,this._document=Ue,this._changeDetectorRef=Oe,this._attached=new r.xQ}attach(j={}){this._portal||(this._portal=new D.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new D.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const _=this._template.elementRef.nativeElement;_.parentNode.insertBefore(this._outlet.outletElement,_),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,j),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return _e.\u0275fac=function(j){return new(j||_e)(c.\u0275\u0275directiveInject(c.TemplateRef),c.\u0275\u0275directiveInject(c.ComponentFactoryResolver),c.\u0275\u0275directiveInject(c.ApplicationRef),c.\u0275\u0275directiveInject(c.Injector),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(T.DOCUMENT),c.\u0275\u0275directiveInject(c.ChangeDetectorRef))},_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e}),_e})(),ie=(()=>{class _e extends U{}return _e.\u0275fac=function(){let Z;return function(_){return(Z||(Z=c.\u0275\u0275getInheritedFactory(_e)))(_||_e)}}(),_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["ng-template","matMenuContent",""]],features:[c.\u0275\u0275ProvidersFeature([{provide:ae,useExisting:_e}]),c.\u0275\u0275InheritDefinitionFeature]}),_e})();const tt=new c.InjectionToken("MAT_MENU_PANEL"),ot=(0,Y.mixinDisableRipple)((0,Y.mixinDisabled)(class{}));let pt=(()=>{class _e extends ot{constructor(j,_,x,N,ce){super(),this._elementRef=j,this._focusMonitor=x,this._parentMenu=N,this._changeDetectorRef=ce,this.role="menuitem",this._hovered=new r.xQ,this._focused=new r.xQ,this._highlighted=!1,this._triggersSubmenu=!1,N&&N.addItem&&N.addItem(this)}focus(j,_){this._focusMonitor&&j?this._focusMonitor.focusVia(this._getHostElement(),j,_):this._getHostElement().focus(_),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(j){this.disabled&&(j.preventDefault(),j.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var j;const _=this._elementRef.nativeElement.cloneNode(!0),x=_.querySelectorAll("mat-icon, .material-icons");for(let N=0;N{class _e{constructor(j,_,x){this._elementRef=j,this._ngZone=_,this._defaultOptions=x,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new c.QueryList,this._tabSubscription=d.w.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new r.xQ,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new c.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+Qe++}get xPosition(){return this._xPosition}set xPosition(j){this._xPosition=j,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(j){this._yPosition=j,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(j){this._overlapTrigger=(0,l.Ig)(j)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(j){this._hasBackdrop=(0,l.Ig)(j)}set panelClass(j){const _=this._previousPanelClass;_&&_.length&&_.split(" ").forEach(x=>{this._classList[x]=!1}),this._previousPanelClass=j,j&&j.length&&(j.split(" ").forEach(x=>{this._classList[x]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(j){this.panelClass=j}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new n.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,b.O)(this._directDescendantItems),(0,h.w)(j=>(0,m.T)(...j.map(_=>_._focused)))).subscribe(j=>this._keyManager.updateActiveItem(j))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,b.O)(this._directDescendantItems),(0,h.w)(_=>(0,m.T)(..._.map(x=>x._hovered))))}addItem(j){}removeItem(j){}_handleKeydown(j){const _=j.keyCode,x=this._keyManager;switch(_){case u.hY:(0,u.Vb)(j)||(j.preventDefault(),this.closed.emit("keydown"));break;case u.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case u.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:(_===u.LH||_===u.JH)&&x.setFocusOrigin("keyboard"),x.onKeydown(j)}}focusFirstItem(j="program"){this.lazyContent?this._ngZone.onStable.pipe((0,g.q)(1)).subscribe(()=>this._focusFirstItem(j)):this._focusFirstItem(j)}_focusFirstItem(j){const _=this._keyManager;if(_.setFocusOrigin(j).setFirstItemActive(),!_.activeItem&&this._directDescendantItems.length){let x=this._directDescendantItems.first._getHostElement().parentElement;for(;x;){if("menu"===x.getAttribute("role")){x.focus();break}x=x.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(j){const _=Math.min(this._baseElevation+j,24),x=`${this._elevationPrefix}${_}`,N=Object.keys(this._classList).find(ce=>ce.startsWith(this._elevationPrefix));(!N||N===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[x]=!0,this._previousElevation=x)}setPositionClasses(j=this.xPosition,_=this.yPosition){const x=this._classList;x["mat-menu-before"]="before"===j,x["mat-menu-after"]="after"===j,x["mat-menu-above"]="above"===_,x["mat-menu-below"]="below"===_}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(j){this._animationDone.next(j),this._isAnimating=!1}_onAnimationStart(j){this._isAnimating=!0,"enter"===j.toState&&0===this._keyManager.activeItemIndex&&(j.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,b.O)(this._allItems)).subscribe(j=>{this._directDescendantItems.reset(j.filter(_=>_._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return _e.\u0275fac=function(j){return new(j||_e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(Dt))},_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e,contentQueries:function(j,_,x){if(1&j&&(c.\u0275\u0275contentQuery(x,ae,5),c.\u0275\u0275contentQuery(x,pt,5),c.\u0275\u0275contentQuery(x,pt,4)),2&j){let N;c.\u0275\u0275queryRefresh(N=c.\u0275\u0275loadQuery())&&(_.lazyContent=N.first),c.\u0275\u0275queryRefresh(N=c.\u0275\u0275loadQuery())&&(_._allItems=N),c.\u0275\u0275queryRefresh(N=c.\u0275\u0275loadQuery())&&(_.items=N)}},viewQuery:function(j,_){if(1&j&&c.\u0275\u0275viewQuery(c.TemplateRef,5),2&j){let x;c.\u0275\u0275queryRefresh(x=c.\u0275\u0275loadQuery())&&(_.templateRef=x.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"}}),_e})(),bt=(()=>{class _e extends ct{constructor(j,_,x){super(j,_,x),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return _e.\u0275fac=function(j){return new(j||_e)(c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.NgZone),c.\u0275\u0275directiveInject(Dt))},_e.\u0275cmp=c.\u0275\u0275defineComponent({type:_e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(j,_){2&j&&c.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[c.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:_e}]),c.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:ue,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(j,_){1&j&&(c.\u0275\u0275projectionDef(),c.\u0275\u0275template(0,me,3,6,"ng-template"))},directives:[T.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}.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;-moz-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;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]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 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}\n"],encapsulation:2,data:{animation:[xe.transformMenu,xe.fadeInItems]},changeDetection:0}),_e})();const Et=new c.InjectionToken("mat-menu-scroll-strategy"),dt={provide:Et,deps:[$.aV],useFactory:function(_e){return()=>_e.scrollStrategies.reposition()}},rt=(0,z.i$)({passive:!0});let ze=(()=>{class _e{constructor(j,_,x,N,ce,Ue,Oe,ve){this._overlay=j,this._element=_,this._viewContainerRef=x,this._menuItemInstance=Ue,this._dir=Oe,this._focusMonitor=ve,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=d.w.EMPTY,this._hoverSubscription=d.w.EMPTY,this._menuCloseSubscription=d.w.EMPTY,this._handleTouchStart=Ae=>{(0,n.yG)(Ae)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new c.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new c.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=N,this._parentMaterialMenu=ce instanceof ct?ce:void 0,_.nativeElement.addEventListener("touchstart",this._handleTouchStart,rt),Ue&&(Ue._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(j){this.menu=j}get menu(){return this._menu}set menu(j){j!==this._menu&&(this._menu=j,this._menuCloseSubscription.unsubscribe(),j&&(this._menuCloseSubscription=j.close.subscribe(_=>{this._destroyMenu(_),("click"===_||"tab"===_)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(_)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,rt),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)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const j=this._createOverlay(),_=j.getConfig();this._setPosition(_.positionStrategy),_.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,j.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof ct&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(j,_){this._focusMonitor&&j?this._focusMonitor.focusVia(this._element,j,_):this._element.nativeElement.focus(_)}updatePosition(){var j;null===(j=this._overlayRef)||void 0===j||j.updatePosition()}_destroyMenu(j){if(!this._overlayRef||!this.menuOpen)return;const _=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===j||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,_ instanceof ct?(_._resetAnimation(),_.lazyContent?_._animationDone.pipe((0,s.h)(x=>"void"===x.toState),(0,g.q)(1),(0,C.R)(_.lazyContent._attached)).subscribe({next:()=>_.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),_.lazyContent&&_.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let j=0,_=this.menu.parentMenu;for(;_;)j++,_=_.parentMenu;this.menu.setElevation(j)}}_setIsMenuOpen(j){this._menuOpen=j,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(j)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const j=this._getOverlayConfig();this._subscribeToPositions(j.positionStrategy),this._overlayRef=this._overlay.create(j),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new $.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(j){this.menu.setPositionClasses&&j.positionChanges.subscribe(_=>{this.menu.setPositionClasses("start"===_.connectionPair.overlayX?"after":"before","top"===_.connectionPair.overlayY?"below":"above")})}_setPosition(j){let[_,x]="before"===this.menu.xPosition?["end","start"]:["start","end"],[N,ce]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[Ue,Oe]=[N,ce],[ve,Ae]=[_,x],nt=0;this.triggersSubmenu()?(Ae=_="before"===this.menu.xPosition?"start":"end",x=ve="end"===_?"start":"end",nt="bottom"===N?8:-8):this.menu.overlapTrigger||(Ue="top"===N?"bottom":"top",Oe="top"===ce?"bottom":"top"),j.withPositions([{originX:_,originY:Ue,overlayX:ve,overlayY:N,offsetY:nt},{originX:x,originY:Ue,overlayX:Ae,overlayY:N,offsetY:nt},{originX:_,originY:Oe,overlayX:ve,overlayY:ce,offsetY:-nt},{originX:x,originY:Oe,overlayX:Ae,overlayY:ce,offsetY:-nt}])}_menuClosingActions(){const j=this._overlayRef.backdropClick(),_=this._overlayRef.detachments(),x=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,p.of)(),N=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,s.h)(ce=>ce!==this._menuItemInstance),(0,s.h)(()=>this._menuOpen)):(0,p.of)();return(0,m.T)(j,x,N,_)}_handleMousedown(j){(0,n.X6)(j)||(this._openedBy=0===j.button?"mouse":void 0,this.triggersSubmenu()&&j.preventDefault())}_handleKeydown(j){const _=j.keyCode;(_===u.K5||_===u.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(_===u.SV&&"ltr"===this.dir||_===u.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(j){this.triggersSubmenu()?(j.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,s.h)(j=>j===this._menuItemInstance&&!j.disabled),(0,P.g)(0,y.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof ct&&this.menu._isAnimating?this.menu._animationDone.pipe((0,g.q)(1),(0,P.g)(0,y.E),(0,C.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new D.UE(this.menu.templateRef,this._viewContainerRef)),this._portal}}return _e.\u0275fac=function(j){return new(j||_e)(c.\u0275\u0275directiveInject($.aV),c.\u0275\u0275directiveInject(c.ElementRef),c.\u0275\u0275directiveInject(c.ViewContainerRef),c.\u0275\u0275directiveInject(Et),c.\u0275\u0275directiveInject(tt,8),c.\u0275\u0275directiveInject(pt,10),c.\u0275\u0275directiveInject(G.Is,8),c.\u0275\u0275directiveInject(n.tE))},_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(j,_){1&j&&c.\u0275\u0275listener("click",function(N){return _._handleClick(N)})("mousedown",function(N){return _._handleMousedown(N)})("keydown",function(N){return _._handleKeydown(N)}),2&j&&c.\u0275\u0275attribute("aria-expanded",_.menuOpen||null)("aria-controls",_.menuOpen?_.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"}}),_e})(),yt=(()=>{class _e extends ze{}return _e.\u0275fac=function(){let Z;return function(_){return(Z||(Z=c.\u0275\u0275getInheritedFactory(_e)))(_||_e)}}(),_e.\u0275dir=c.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[c.\u0275\u0275InheritDefinitionFeature]}),_e})(),mt=(()=>{class _e{}return _e.\u0275fac=function(j){return new(j||_e)},_e.\u0275mod=c.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=c.\u0275\u0275defineInjector({providers:[dt],imports:[[T.CommonModule,Y.MatCommonModule,Y.MatRippleModule,$.U8],X.ZD,Y.MatCommonModule]}),_e})()},7850:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_PAGINATOR_DEFAULT_OPTIONS:()=>ve,MAT_PAGINATOR_INTL_PROVIDER:()=>ce,MAT_PAGINATOR_INTL_PROVIDER_FACTORY:()=>N,MatPaginator:()=>Pt,MatPaginatorIntl:()=>x,MatPaginatorModule:()=>Ft,PageEvent:()=>Oe,_MatPaginatorBase:()=>nt});var n=o(9808),l=o(5e3),u=o(508),c=o(7423),r=o(4107),d=o(1314),m=o(5664),p=o(9071),y=o(3191),b=o(1159),h=o(8929),g=o(6053),s=o(1961),C=o(6498),P=o(2986),w=o(1307),D=o(13),T=o(4850),Y=o(1059),$=o(7625),z=o(925);const X=new Set;let Q,q=(()=>{class gt{constructor($e){this._platform=$e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):me}matchMedia($e){return(this._platform.WEBKIT||this._platform.BLINK)&&function(gt){if(!X.has(gt))try{Q||(Q=document.createElement("style"),Q.setAttribute("type","text/css"),document.head.appendChild(Q)),Q.sheet&&(Q.sheet.insertRule(`@media ${gt} {body{ }}`,0),X.add(gt))}catch(Lt){console.error(Lt)}}($e),this._matchMedia($e)}}return gt.\u0275fac=function($e){return new($e||gt)(l.\u0275\u0275inject(z.t4))},gt.\u0275prov=l.\u0275\u0275defineInjectable({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})();function me(gt){return{matches:"all"===gt||""===gt,media:gt,addListener:()=>{},removeListener:()=>{}}}let xe=(()=>{class gt{constructor($e,_t){this._mediaMatcher=$e,this._zone=_t,this._queries=new Map,this._destroySubject=new h.xQ}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched($e){return pe((0,y.Eq)($e)).some(Mt=>this._registerQuery(Mt).mql.matches)}observe($e){const Mt=pe((0,y.Eq)($e)).map(lt=>this._registerQuery(lt).observable);let Ge=(0,g.aj)(Mt);return Ge=(0,s.z)(Ge.pipe((0,P.q)(1)),Ge.pipe((0,w.T)(1),(0,D.b)(0))),Ge.pipe((0,T.U)(lt=>{const Ot={matches:!1,breakpoints:{}};return lt.forEach(({matches:Nt,query:Pe})=>{Ot.matches=Ot.matches||Nt,Ot.breakpoints[Pe]=Nt}),Ot}))}_registerQuery($e){if(this._queries.has($e))return this._queries.get($e);const _t=this._mediaMatcher.matchMedia($e),Ge={observable:new C.y(lt=>{const Ot=Nt=>this._zone.run(()=>lt.next(Nt));return _t.addListener(Ot),()=>{_t.removeListener(Ot)}}).pipe((0,Y.O)(_t),(0,T.U)(({matches:lt})=>({query:$e,matches:lt})),(0,$.R)(this._destroySubject)),mql:_t};return this._queries.set($e,Ge),Ge}}return gt.\u0275fac=function($e){return new($e||gt)(l.\u0275\u0275inject(q),l.\u0275\u0275inject(l.NgZone))},gt.\u0275prov=l.\u0275\u0275defineInjectable({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})();function pe(gt){return gt.map(Lt=>Lt.split(",")).reduce((Lt,$e)=>Lt.concat($e)).map(Lt=>Lt.trim())}var ae=o(7429),U=o(1777),ie=o(226);const le={tooltipState:(0,U.X$)("state",[(0,U.SB)("initial, void, hidden",(0,U.oB)({opacity:0,transform:"scale(0)"})),(0,U.SB)("visible",(0,U.oB)({transform:"scale(1)"})),(0,U.eR)("* => visible",(0,U.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,U.F4)([(0,U.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,U.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,U.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,U.eR)("* => hidden",(0,U.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,U.oB)({opacity:0})))])},Ke="tooltip-panel",tt=(0,z.i$)({passive:!0}),Dt=new l.InjectionToken("mat-tooltip-scroll-strategy"),Qe={provide:Dt,deps:[d.aV],useFactory:function(gt){return()=>gt.scrollStrategies.reposition({scrollThrottle:20})}},ct=new l.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Et=(()=>{class gt{constructor($e,_t,Mt,Ge,lt,Ot,Nt,Pe,Ee,B,V,be){this._overlay=$e,this._elementRef=_t,this._scrollDispatcher=Mt,this._viewContainerRef=Ge,this._ngZone=lt,this._platform=Ot,this._ariaDescriber=Nt,this._focusMonitor=Pe,this._dir=B,this._defaultOptions=V,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new h.xQ,this._handleKeydown=je=>{this._isTooltipVisible()&&je.keyCode===b.hY&&!(0,b.Vb)(je)&&(je.preventDefault(),je.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=Ee,this._document=be,V&&(V.position&&(this.position=V.position),V.touchGestures&&(this.touchGestures=V.touchGestures)),B.change.pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),lt.runOutsideAngular(()=>{_t.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position($e){var _t;$e!==this._position&&(this._position=$e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(_t=this._tooltipInstance)||void 0===_t||_t.show(0),this._overlayRef.updatePosition()))}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)}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)}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),$e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(([_t,Mt])=>{$e.removeEventListener(_t,Mt,tt)}),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){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const _t=this._createOverlay();this._detach(),this._portal=this._portal||new ae.C5(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=_t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe((0,$.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show($e)}hide($e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide($e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const $e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),_t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers($e);return _t.positionChanges.pipe((0,$.R)(this._destroyed)).subscribe(Mt=>{this._updateCurrentPositionClass(Mt.connectionPair),this._tooltipInstance&&Mt.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:_t,panelClass:`${this._cssClassPrefix}-${Ke}`,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(()=>{var Mt;return null===(Mt=this._tooltipInstance)||void 0===Mt?void 0:Mt._handleBodyInteraction()}),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition($e){const _t=$e.getConfig().positionStrategy,Mt=this._getOrigin(),Ge=this._getOverlayPosition();_t.withPositions([this._addOffset(Object.assign(Object.assign({},Mt.main),Ge.main)),this._addOffset(Object.assign(Object.assign({},Mt.fallback),Ge.fallback))])}_addOffset($e){return $e}_getOrigin(){const $e=!this._dir||"ltr"==this._dir.value,_t=this.position;let Mt;"above"==_t||"below"==_t?Mt={originX:"center",originY:"above"==_t?"top":"bottom"}:"before"==_t||"left"==_t&&$e||"right"==_t&&!$e?Mt={originX:"start",originY:"center"}:("after"==_t||"right"==_t&&$e||"left"==_t&&!$e)&&(Mt={originX:"end",originY:"center"});const{x:Ge,y:lt}=this._invertPosition(Mt.originX,Mt.originY);return{main:Mt,fallback:{originX:Ge,originY:lt}}}_getOverlayPosition(){const $e=!this._dir||"ltr"==this._dir.value,_t=this.position;let Mt;"above"==_t?Mt={overlayX:"center",overlayY:"bottom"}:"below"==_t?Mt={overlayX:"center",overlayY:"top"}:"before"==_t||"left"==_t&&$e||"right"==_t&&!$e?Mt={overlayX:"end",overlayY:"center"}:("after"==_t||"right"==_t&&$e||"left"==_t&&!$e)&&(Mt={overlayX:"start",overlayY:"center"});const{x:Ge,y:lt}=this._invertPosition(Mt.overlayX,Mt.overlayY);return{main:Mt,fallback:{overlayX:Ge,overlayY:lt}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,P.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,_t){return"above"===this.position||"below"===this.position?"top"===_t?_t="bottom":"bottom"===_t&&(_t="top"):"end"===$e?$e="start":"start"===$e&&($e="end"),{x:$e,y:_t}}_updateCurrentPositionClass($e){const{overlayY:_t,originX:Mt,originY:Ge}=$e;let lt;if(lt="center"===_t?this._dir&&"rtl"===this._dir.value?"end"===Mt?"left":"right":"start"===Mt?"left":"right":"bottom"===_t&&"top"===Ge?"above":"below",lt!==this._currentPosition){const Ot=this._overlayRef;if(Ot){const Nt=`${this._cssClassPrefix}-${Ke}-`;Ot.removePanelClass(Nt+this._currentPosition),Ot.addPanelClass(Nt+lt)}this._currentPosition=lt}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const $e=[];if(this._platformSupportsMouseEvents())$e.push(["mouseleave",()=>this.hide()],["wheel",_t=>this._wheelListener(_t)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const _t=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};$e.push(["touchend",_t],["touchcancel",_t])}this._addListeners($e),this._passiveListeners.push(...$e)}_addListeners($e){$e.forEach(([_t,Mt])=>{this._elementRef.nativeElement.addEventListener(_t,Mt,tt)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener($e){if(this._isTooltipVisible()){const _t=this._document.elementFromPoint($e.clientX,$e.clientY),Mt=this._elementRef.nativeElement;_t!==Mt&&!Mt.contains(_t)&&this.hide()}}_disableNativeGesturesIfNecessary(){const $e=this.touchGestures;if("off"!==$e){const _t=this._elementRef.nativeElement,Mt=_t.style;("on"===$e||"INPUT"!==_t.nodeName&&"TEXTAREA"!==_t.nodeName)&&(Mt.userSelect=Mt.msUserSelect=Mt.webkitUserSelect=Mt.MozUserSelect="none"),("on"===$e||!_t.draggable)&&(Mt.webkitUserDrag="none"),Mt.touchAction="none",Mt.webkitTapHighlightColor="transparent"}}}return gt.\u0275fac=function($e){l.\u0275\u0275invalidFactory()},gt.\u0275dir=l.\u0275\u0275defineDirective({type:gt,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),gt})(),xt=(()=>{class gt extends Et{constructor($e,_t,Mt,Ge,lt,Ot,Nt,Pe,Ee,B,V,be){super($e,_t,Mt,Ge,lt,Ot,Nt,Pe,Ee,B,V,be),this._tooltipComponent=Ne}}return gt.\u0275fac=function($e){return new($e||gt)(l.\u0275\u0275directiveInject(d.aV),l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(p.mF),l.\u0275\u0275directiveInject(l.ViewContainerRef),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(z.t4),l.\u0275\u0275directiveInject(m.$s),l.\u0275\u0275directiveInject(m.tE),l.\u0275\u0275directiveInject(Dt),l.\u0275\u0275directiveInject(ie.Is,8),l.\u0275\u0275directiveInject(ct,8),l.\u0275\u0275directiveInject(n.DOCUMENT))},gt.\u0275dir=l.\u0275\u0275defineDirective({type:gt,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[l.\u0275\u0275InheritDefinitionFeature]}),gt})(),dt=(()=>{class gt{constructor($e){this._changeDetectorRef=$e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new h.xQ}show($e){clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=void 0,this._onShow(),this._markForCheck()},$e)}hide($e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=void 0,this._markForCheck()},$e)}afterHidden(){return this._onHide}isVisible(){return"visible"===this._visibility}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone($e){const _t=$e.toState;"hidden"===_t&&!this.isVisible()&&this._onHide.next(),("visible"===_t||"hidden"===_t)&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_onShow(){}}return gt.\u0275fac=function($e){return new($e||gt)(l.\u0275\u0275directiveInject(l.ChangeDetectorRef))},gt.\u0275dir=l.\u0275\u0275defineDirective({type:gt}),gt})(),Ne=(()=>{class gt extends dt{constructor($e,_t){super($e),this._breakpointObserver=_t,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")}}return gt.\u0275fac=function($e){return new($e||gt)(l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(xe))},gt.\u0275cmp=l.\u0275\u0275defineComponent({type:gt,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function($e,_t){2&$e&&l.\u0275\u0275styleProp("zoom","visible"===_t._visibility?1:null)},features:[l.\u0275\u0275InheritDefinitionFeature],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function($e,_t){if(1&$e&&(l.\u0275\u0275elementStart(0,"div",0),l.\u0275\u0275listener("@state.start",function(){return _t._animationStart()})("@state.done",function(Ge){return _t._animationDone(Ge)}),l.\u0275\u0275pipe(1,"async"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()),2&$e){let Mt;l.\u0275\u0275classProp("mat-tooltip-handset",null==(Mt=l.\u0275\u0275pipeBind1(1,5,_t._isHandset))?null:Mt.matches),l.\u0275\u0275property("ngClass",_t.tooltipClass)("@state",_t._visibility),l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate(_t.message)}},directives:[n.NgClass],pipes:[n.AsyncPipe],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[le.tooltipState]},changeDetection:0}),gt})(),rt=(()=>{class gt{}return gt.\u0275fac=function($e){return new($e||gt)},gt.\u0275mod=l.\u0275\u0275defineNgModule({type:gt}),gt.\u0275inj=l.\u0275\u0275defineInjector({providers:[Qe],imports:[[m.rt,n.CommonModule,d.U8,u.MatCommonModule],u.MatCommonModule,p.ZD]}),gt})();var ze=o(7322);function yt(gt,Lt){if(1>&&(l.\u0275\u0275elementStart(0,"mat-option",19),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2>){const $e=Lt.$implicit;l.\u0275\u0275property("value",$e),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",$e," ")}}function mt(gt,Lt){if(1>){const $e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"mat-form-field",16),l.\u0275\u0275elementStart(1,"mat-select",17),l.\u0275\u0275listener("selectionChange",function(Mt){return l.\u0275\u0275restoreView($e),l.\u0275\u0275nextContext(2)._changePageSize(Mt.value)}),l.\u0275\u0275template(2,yt,2,2,"mat-option",18),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()}if(2>){const $e=l.\u0275\u0275nextContext(2);l.\u0275\u0275property("appearance",$e._formFieldAppearance)("color",$e.color),l.\u0275\u0275advance(1),l.\u0275\u0275property("value",$e.pageSize)("disabled",$e.disabled)("aria-label",$e._intl.itemsPerPageLabel),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",$e._displayedPageSizeOptions)}}function _e(gt,Lt){if(1>&&(l.\u0275\u0275elementStart(0,"div",20),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2>){const $e=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate($e.pageSize)}}function Z(gt,Lt){if(1>&&(l.\u0275\u0275elementStart(0,"div",12),l.\u0275\u0275elementStart(1,"div",13),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(3,mt,3,6,"mat-form-field",14),l.\u0275\u0275template(4,_e,2,1,"div",15),l.\u0275\u0275elementEnd()),2>){const $e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",$e._intl.itemsPerPageLabel," "),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",$e._displayedPageSizeOptions.length>1),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",$e._displayedPageSizeOptions.length<=1)}}function j(gt,Lt){if(1>){const $e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"button",21),l.\u0275\u0275listener("click",function(){return l.\u0275\u0275restoreView($e),l.\u0275\u0275nextContext().firstPage()}),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(1,"svg",7),l.\u0275\u0275element(2,"path",22),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()}if(2>){const $e=l.\u0275\u0275nextContext();l.\u0275\u0275property("matTooltip",$e._intl.firstPageLabel)("matTooltipDisabled",$e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",$e._previousButtonsDisabled()),l.\u0275\u0275attribute("aria-label",$e._intl.firstPageLabel)}}function _(gt,Lt){if(1>){const $e=l.\u0275\u0275getCurrentView();l.\u0275\u0275namespaceSVG(),l.\u0275\u0275namespaceHTML(),l.\u0275\u0275elementStart(0,"button",23),l.\u0275\u0275listener("click",function(){return l.\u0275\u0275restoreView($e),l.\u0275\u0275nextContext().lastPage()}),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(1,"svg",7),l.\u0275\u0275element(2,"path",24),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()}if(2>){const $e=l.\u0275\u0275nextContext();l.\u0275\u0275property("matTooltip",$e._intl.lastPageLabel)("matTooltipDisabled",$e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",$e._nextButtonsDisabled()),l.\u0275\u0275attribute("aria-label",$e._intl.lastPageLabel)}}let x=(()=>{class gt{constructor(){this.changes=new h.xQ,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=($e,_t,Mt)=>{if(0==Mt||0==_t)return`0 of ${Mt}`;const Ge=$e*_t;return`${Ge+1} \u2013 ${Ge<(Mt=Math.max(Mt,0))?Math.min(Ge+_t,Mt):Ge+_t} of ${Mt}`}}}return gt.\u0275fac=function($e){return new($e||gt)},gt.\u0275prov=l.\u0275\u0275defineInjectable({token:gt,factory:gt.\u0275fac,providedIn:"root"}),gt})();function N(gt){return gt||new x}const ce={provide:x,deps:[[new l.Optional,new l.SkipSelf,x]],useFactory:N};class Oe{}const ve=new l.InjectionToken("MAT_PAGINATOR_DEFAULT_OPTIONS"),Ae=(0,u.mixinDisabled)((0,u.mixinInitialized)(class{}));let nt=(()=>{class gt extends Ae{constructor($e,_t,Mt){if(super(),this._intl=$e,this._changeDetectorRef=_t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new l.EventEmitter,this._intlChanges=$e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),Mt){const{pageSize:Ge,pageSizeOptions:lt,hidePageSize:Ot,showFirstLastButtons:Nt}=Mt;null!=Ge&&(this._pageSize=Ge),null!=lt&&(this._pageSizeOptions=lt),null!=Ot&&(this._hidePageSize=Ot),null!=Nt&&(this._showFirstLastButtons=Nt)}}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(_t=>(0,y.su)(_t)),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)}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 Mt=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/$e)||0,this.pageSize=$e,this._emitPageEvent(Mt)}_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,_t)=>$e-_t),this._changeDetectorRef.markForCheck())}_emitPageEvent($e){this.page.emit({previousPageIndex:$e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return gt.\u0275fac=function($e){l.\u0275\u0275invalidFactory()},gt.\u0275dir=l.\u0275\u0275defineDirective({type:gt,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[l.\u0275\u0275InheritDefinitionFeature]}),gt})(),Pt=(()=>{class gt extends nt{constructor($e,_t,Mt){super($e,_t,Mt),Mt&&null!=Mt.formFieldAppearance&&(this._formFieldAppearance=Mt.formFieldAppearance)}}return gt.\u0275fac=function($e){return new($e||gt)(l.\u0275\u0275directiveInject(x),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(ve,8))},gt.\u0275cmp=l.\u0275\u0275defineComponent({type:gt,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[l.\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",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","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,_t){1&$e&&(l.\u0275\u0275elementStart(0,"div",0),l.\u0275\u0275elementStart(1,"div",1),l.\u0275\u0275template(2,Z,5,3,"div",2),l.\u0275\u0275elementStart(3,"div",3),l.\u0275\u0275elementStart(4,"div",4),l.\u0275\u0275text(5),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(6,j,3,5,"button",5),l.\u0275\u0275elementStart(7,"button",6),l.\u0275\u0275listener("click",function(){return _t.previousPage()}),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(8,"svg",7),l.\u0275\u0275element(9,"path",8),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275namespaceHTML(),l.\u0275\u0275elementStart(10,"button",9),l.\u0275\u0275listener("click",function(){return _t.nextPage()}),l.\u0275\u0275namespaceSVG(),l.\u0275\u0275elementStart(11,"svg",7),l.\u0275\u0275element(12,"path",10),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(13,_,3,5,"button",11),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&$e&&(l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",!_t.hidePageSize),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate1(" ",_t._intl.getRangeLabel(_t.pageIndex,_t.pageSize,_t.length)," "),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",_t.showFirstLastButtons),l.\u0275\u0275advance(1),l.\u0275\u0275property("matTooltip",_t._intl.previousPageLabel)("matTooltipDisabled",_t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",_t._previousButtonsDisabled()),l.\u0275\u0275attribute("aria-label",_t._intl.previousPageLabel),l.\u0275\u0275advance(3),l.\u0275\u0275property("matTooltip",_t._intl.nextPageLabel)("matTooltipDisabled",_t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",_t._nextButtonsDisabled()),l.\u0275\u0275attribute("aria-label",_t._intl.nextPageLabel),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",_t.showFirstLastButtons))},directives:[n.NgIf,c.MatButton,xt,ze.MatFormField,r.MatSelect,n.NgForOf,u.MatOption],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{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),gt})(),Ft=(()=>{class gt{}return gt.\u0275fac=function($e){return new($e||gt)},gt.\u0275mod=l.\u0275\u0275defineNgModule({type:gt}),gt.\u0275inj=l.\u0275\u0275defineInjector({providers:[ce],imports:[[n.CommonModule,c.MatButtonModule,r.MatSelectModule,rt,u.MatCommonModule]]}),gt})()},773:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS:()=>P,MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY:()=>w,MatProgressSpinner:()=>T,MatProgressSpinnerModule:()=>$,MatSpinner:()=>Y});var n=o(5e3),l=o(9808),u=o(508),c=o(3191),r=o(925),d=o(6360);function m(z,G){if(1&z&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275element(0,"circle",3)),2&z){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+X._spinnerAnimationLabel)("stroke-dashoffset",X._getStrokeDashOffset(),"px")("stroke-dasharray",X._getStrokeCircumference(),"px")("stroke-width",X._getCircleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",X._getCircleRadius())}}function p(z,G){if(1&z&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275element(0,"circle",3)),2&z){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("stroke-dashoffset",X._getStrokeDashOffset(),"px")("stroke-dasharray",X._getStrokeCircumference(),"px")("stroke-width",X._getCircleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",X._getCircleRadius())}}function y(z,G){if(1&z&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275element(0,"circle",3)),2&z){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+X._spinnerAnimationLabel)("stroke-dashoffset",X._getStrokeDashOffset(),"px")("stroke-dasharray",X._getStrokeCircumference(),"px")("stroke-width",X._getCircleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",X._getCircleRadius())}}function b(z,G){if(1&z&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275element(0,"circle",3)),2&z){const X=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("stroke-dashoffset",X._getStrokeDashOffset(),"px")("stroke-dasharray",X._getStrokeCircumference(),"px")("stroke-width",X._getCircleStrokeWidth(),"%"),n.\u0275\u0275attribute("r",X._getCircleRadius())}}const C=(0,u.mixinColor)(class{constructor(z){this._elementRef=z}},"primary"),P=new n.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:w});function w(){return{diameter:100}}class T extends C{constructor(G,X,Q,q,ue){super(G),this._document=Q,this._diameter=100,this._value=0,this.mode="determinate";const me=T._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),me.has(Q.head)||me.set(Q.head,new Set([100])),this._noopAnimations="NoopAnimations"===q&&!!ue&&!ue._forceAnimations,ue&&(ue.diameter&&(this.diameter=ue.diameter),ue.strokeWidth&&(this.strokeWidth=ue.strokeWidth))}get diameter(){return this._diameter}set diameter(G){this._diameter=(0,c.su)(G),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(G){this._strokeWidth=(0,c.su)(G)}get value(){return"determinate"===this.mode?this._value:0}set value(G){this._value=Math.max(0,Math.min(100,(0,c.su)(G)))}ngOnInit(){const G=this._elementRef.nativeElement;this._styleRoot=(0,r.kV)(G)||this._document.head,this._attachStyleNode(),G.classList.add("mat-progress-spinner-indeterminate-animation")}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const G=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${G} ${G}`}_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}_attachStyleNode(){const G=this._styleRoot,X=this._diameter,Q=T._diameters;let q=Q.get(G);if(!q||!q.has(X)){const ue=this._document.createElement("style");ue.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),ue.textContent=this._getAnimationText(),G.appendChild(ue),q||(q=new Set,Q.set(G,q)),q.add(X)}}_getAnimationText(){const G=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*G).replace(/END_VALUE/g,""+.2*G).replace(/DIAMETER/g,`${this._spinnerAnimationLabel}`)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}T._diameters=new WeakMap,T.\u0275fac=function(G){return new(G||T)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(l.DOCUMENT,8),n.\u0275\u0275directiveInject(d.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(P))},T.\u0275cmp=n.\u0275\u0275defineComponent({type:T,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(G,X){2&G&&(n.\u0275\u0275attribute("aria-valuemin","determinate"===X.mode?0:null)("aria-valuemax","determinate"===X.mode?100:null)("aria-valuenow","determinate"===X.mode?X.value:null)("mode",X.mode),n.\u0275\u0275styleProp("width",X.diameter,"px")("height",X.diameter,"px"),n.\u0275\u0275classProp("_mat-animation-noopable",X._noopAnimations))},inputs:{color:"color",diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[n.\u0275\u0275InheritDefinitionFeature],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(G,X){1&G&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",0),n.\u0275\u0275template(1,m,1,9,"circle",1),n.\u0275\u0275template(2,p,1,7,"circle",2),n.\u0275\u0275elementEnd()),2&G&&(n.\u0275\u0275styleProp("width",X.diameter,"px")("height",X.diameter,"px"),n.\u0275\u0275property("ngSwitch","indeterminate"===X.mode),n.\u0275\u0275attribute("viewBox",X._getViewBox()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngSwitchCase",!0),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngSwitchCase",!1))},directives:[l.NgSwitch,l.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:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[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-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation: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)}}\n"],encapsulation:2,changeDetection:0});let Y=(()=>{class z extends T{constructor(X,Q,q,ue,me){super(X,Q,q,ue,me),this.mode="indeterminate"}}return z.\u0275fac=function(X){return new(X||z)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(l.DOCUMENT,8),n.\u0275\u0275directiveInject(d.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(P))},z.\u0275cmp=n.\u0275\u0275defineComponent({type:z,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(X,Q){2&X&&(n.\u0275\u0275styleProp("width",Q.diameter,"px")("height",Q.diameter,"px"),n.\u0275\u0275classProp("_mat-animation-noopable",Q._noopAnimations))},inputs:{color:"color"},features:[n.\u0275\u0275InheritDefinitionFeature],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(X,Q){1&X&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",0),n.\u0275\u0275template(1,y,1,9,"circle",1),n.\u0275\u0275template(2,b,1,7,"circle",2),n.\u0275\u0275elementEnd()),2&X&&(n.\u0275\u0275styleProp("width",Q.diameter,"px")("height",Q.diameter,"px"),n.\u0275\u0275property("ngSwitch","indeterminate"===Q.mode),n.\u0275\u0275attribute("viewBox",Q._getViewBox()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngSwitchCase",!0),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngSwitchCase",!1))},directives:[l.NgSwitch,l.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:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[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-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation: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)}}\n"],encapsulation:2,changeDetection:0}),z})(),$=(()=>{class z{}return z.\u0275fac=function(X){return new(X||z)},z.\u0275mod=n.\u0275\u0275defineNgModule({type:z}),z.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.MatCommonModule,l.CommonModule],u.MatCommonModule]}),z})()},9814:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_RADIO_DEFAULT_OPTIONS:()=>h,MAT_RADIO_DEFAULT_OPTIONS_FACTORY:()=>g,MAT_RADIO_GROUP:()=>w,MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR:()=>C,MatRadioButton:()=>G,MatRadioChange:()=>P,MatRadioGroup:()=>T,MatRadioModule:()=>X,_MatRadioButtonBase:()=>z,_MatRadioGroupBase:()=>D});var n=o(5e3),l=o(508),u=o(3191),c=o(3075),r=o(6360),d=o(5664),m=o(449);const p=["input"],y=function(Q){return{enterDuration:Q}},b=["*"],h=new n.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:g});function g(){return{color:"accent"}}let s=0;const C={provide:c.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>T),multi:!0};class P{constructor(q,ue){this.source=q,this.value=ue}}const w=new n.InjectionToken("MatRadioGroup");let D=(()=>{class Q{constructor(ue){this._changeDetector=ue,this._value=null,this._name="mat-radio-group-"+s++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new n.EventEmitter}get name(){return this._name}set name(ue){this._name=ue,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(ue){this._labelPosition="before"===ue?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(ue){this._value!==ue&&(this._value=ue,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(ue){this._selected=ue,this.value=ue?ue.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(ue){this._disabled=(0,u.Ig)(ue),this._markRadiosForCheck()}get required(){return this._required}set required(ue){this._required=(0,u.Ig)(ue),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(ue=>{ue.name=this.name,ue._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(me=>{me.checked=this.value===me.value,me.checked&&(this._selected=me)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new P(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(ue=>ue._markForCheck())}writeValue(ue){this.value=ue,this._changeDetector.markForCheck()}registerOnChange(ue){this._controlValueAccessorChangeFn=ue}registerOnTouched(ue){this.onTouched=ue}setDisabledState(ue){this.disabled=ue,this._changeDetector.markForCheck()}}return Q.\u0275fac=function(ue){return new(ue||Q)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},Q.\u0275dir=n.\u0275\u0275defineDirective({type:Q,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),Q})(),T=(()=>{class Q extends D{}return Q.\u0275fac=function(){let q;return function(me){return(q||(q=n.\u0275\u0275getInheritedFactory(Q)))(me||Q)}}(),Q.\u0275dir=n.\u0275\u0275defineDirective({type:Q,selectors:[["mat-radio-group"]],contentQueries:function(ue,me,xe){if(1&ue&&n.\u0275\u0275contentQuery(xe,G,5),2&ue){let pe;n.\u0275\u0275queryRefresh(pe=n.\u0275\u0275loadQuery())&&(me._radios=pe)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[n.\u0275\u0275ProvidersFeature([C,{provide:w,useExisting:Q}]),n.\u0275\u0275InheritDefinitionFeature]}),Q})();class Y{constructor(q){this._elementRef=q}}const $=(0,l.mixinDisableRipple)((0,l.mixinTabIndex)(Y));let z=(()=>{class Q extends ${constructor(ue,me,xe,pe,oe,ae,U,ie){super(me),this._changeDetector=xe,this._focusMonitor=pe,this._radioDispatcher=oe,this._providerOverride=U,this._uniqueId="mat-radio-"+ ++s,this.id=this._uniqueId,this.change=new n.EventEmitter,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=ue,this._noopAnimations="NoopAnimations"===ae,ie&&(this.tabIndex=(0,u.su)(ie,0)),this._removeUniqueSelectionListener=oe.listen((le,Ce)=>{le!==this.id&&Ce===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(ue){const me=(0,u.Ig)(ue);this._checked!==me&&(this._checked=me,me&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!me&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),me&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(ue){this._value!==ue&&(this._value=ue,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===ue),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(ue){this._labelPosition=ue}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(ue){this._setDisabled((0,u.Ig)(ue))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(ue){this._required=(0,u.Ig)(ue)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(ue){this._color=ue}get inputId(){return`${this.id||this._uniqueId}-input`}focus(ue,me){me?this._focusMonitor.focusVia(this._inputElement,me,ue):this._inputElement.nativeElement.focus(ue)}_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)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(ue=>{!ue&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new P(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(ue){ue.stopPropagation()}_onInputInteraction(ue){if(ue.stopPropagation(),!this.checked&&!this.disabled){const me=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),me&&this.radioGroup._emitChangeEvent())}}_setDisabled(ue){this._disabled!==ue&&(this._disabled=ue,this._changeDetector.markForCheck())}}return Q.\u0275fac=function(ue){n.\u0275\u0275invalidFactory()},Q.\u0275dir=n.\u0275\u0275defineDirective({type:Q,viewQuery:function(ue,me){if(1&ue&&n.\u0275\u0275viewQuery(p,5),2&ue){let xe;n.\u0275\u0275queryRefresh(xe=n.\u0275\u0275loadQuery())&&(me._inputElement=xe.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]}),Q})(),G=(()=>{class Q extends z{constructor(ue,me,xe,pe,oe,ae,U,ie){super(ue,me,xe,pe,oe,ae,U,ie)}}return Q.\u0275fac=function(ue){return new(ue||Q)(n.\u0275\u0275directiveInject(w,8),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(d.tE),n.\u0275\u0275directiveInject(m.A8),n.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(h,8),n.\u0275\u0275injectAttribute("tabindex"))},Q.\u0275cmp=n.\u0275\u0275defineComponent({type:Q,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(ue,me){1&ue&&n.\u0275\u0275listener("focus",function(){return me._inputElement.nativeElement.focus()}),2&ue&&(n.\u0275\u0275attribute("tabindex",null)("id",me.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),n.\u0275\u0275classProp("mat-radio-checked",me.checked)("mat-radio-disabled",me.disabled)("_mat-animation-noopable",me._noopAnimations)("mat-primary","primary"===me.color)("mat-accent","accent"===me.color)("mat-warn","warn"===me.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:b,decls:13,vars:20,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","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","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(ue,me){if(1&ue&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"label",0,1),n.\u0275\u0275elementStart(2,"span",2),n.\u0275\u0275element(3,"span",3),n.\u0275\u0275element(4,"span",4),n.\u0275\u0275elementStart(5,"input",5,6),n.\u0275\u0275listener("change",function(pe){return me._onInputInteraction(pe)})("click",function(pe){return me._onInputClick(pe)}),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(7,"span",7),n.\u0275\u0275element(8,"span",8),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(9,"span",9),n.\u0275\u0275elementStart(10,"span",10),n.\u0275\u0275text(11,"\xa0"),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(12),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementEnd()),2&ue){const xe=n.\u0275\u0275reference(1);n.\u0275\u0275attribute("for",me.inputId),n.\u0275\u0275advance(5),n.\u0275\u0275property("id",me.inputId)("checked",me.checked)("disabled",me.disabled)("tabIndex",me.tabIndex)("required",me.required),n.\u0275\u0275attribute("name",me.name)("value",me.value)("aria-label",me.ariaLabel)("aria-labelledby",me.ariaLabelledby)("aria-describedby",me.ariaDescribedby),n.\u0275\u0275advance(2),n.\u0275\u0275property("matRippleTrigger",xe)("matRippleDisabled",me._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",n.\u0275\u0275pureFunction1(18,y,me._noopAnimations?0:150)),n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-radio-label-before","before"==me.labelPosition)}},directives:[l.MatRipple],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-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;-moz-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{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-ripple,.cdk-high-contrast-active .mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-ripple{outline:solid 3px}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),Q})(),X=(()=>{class Q{}return Q.\u0275fac=function(ue){return new(ue||Q)},Q.\u0275mod=n.\u0275\u0275defineNgModule({type:Q}),Q.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.MatRippleModule,l.MatCommonModule],l.MatCommonModule]}),Q})()},4107:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_SELECT_CONFIG:()=>Et,MAT_SELECT_SCROLL_STRATEGY:()=>ct,MAT_SELECT_SCROLL_STRATEGY_PROVIDER:()=>xt,MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>bt,MAT_SELECT_TRIGGER:()=>rt,MatSelect:()=>mt,MatSelectChange:()=>dt,MatSelectModule:()=>_e,MatSelectTrigger:()=>ze,_MatSelectBase:()=>yt,matSelectAnimations:()=>ie});var n=o(1314),l=o(9808),u=o(5e3),c=o(508),r=o(7322),d=o(9071),m=o(5664),p=o(3191),y=o(449),b=o(1159),h=o(3075),g=o(8929),s=o(8514),C=o(6787),P=o(1059),w=o(7545),D=o(2986),T=o(2198),Y=o(4850),$=o(5778),z=o(7625),G=o(1777),X=o(226);const Q=["trigger"],q=["panel"];function ue(Z,j){if(1&Z&&(u.\u0275\u0275elementStart(0,"span",8),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&Z){const _=u.\u0275\u0275nextContext();u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(_.placeholder)}}function me(Z,j){if(1&Z&&(u.\u0275\u0275elementStart(0,"span",12),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&Z){const _=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(_.triggerValue)}}function xe(Z,j){1&Z&&u.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function pe(Z,j){if(1&Z&&(u.\u0275\u0275elementStart(0,"span",9),u.\u0275\u0275template(1,me,2,1,"span",10),u.\u0275\u0275template(2,xe,1,0,"ng-content",11),u.\u0275\u0275elementEnd()),2&Z){const _=u.\u0275\u0275nextContext();u.\u0275\u0275property("ngSwitch",!!_.customTrigger),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngSwitchCase",!0)}}function oe(Z,j){if(1&Z){const _=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",13),u.\u0275\u0275elementStart(1,"div",14,15),u.\u0275\u0275listener("@transformPanel.done",function(N){return u.\u0275\u0275restoreView(_),u.\u0275\u0275nextContext()._panelDoneAnimatingStream.next(N.toState)})("keydown",function(N){return u.\u0275\u0275restoreView(_),u.\u0275\u0275nextContext()._handleKeydown(N)}),u.\u0275\u0275projection(3,1),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd()}if(2&Z){const _=u.\u0275\u0275nextContext();u.\u0275\u0275property("@transformPanelWrap",void 0),u.\u0275\u0275advance(1),u.\u0275\u0275classMapInterpolate1("mat-select-panel ",_._getPanelTheme(),""),u.\u0275\u0275styleProp("transform-origin",_._transformOrigin)("font-size",_._triggerFontSize,"px"),u.\u0275\u0275property("ngClass",_.panelClass)("@transformPanel",_.multiple?"showing-multiple":"showing"),u.\u0275\u0275attribute("id",_.id+"-panel")("aria-multiselectable",_.multiple)("aria-label",_.ariaLabel||null)("aria-labelledby",_._getPanelAriaLabelledby())}}const ae=[[["mat-select-trigger"]],"*"],U=["mat-select-trigger","*"],ie={transformPanelWrap:(0,G.X$)("transformPanelWrap",[(0,G.eR)("* => void",(0,G.IO)("@transformPanel",[(0,G.pV)()],{optional:!0}))]),transformPanel:(0,G.X$)("transformPanel",[(0,G.SB)("void",(0,G.oB)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),(0,G.SB)("showing",(0,G.oB)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),(0,G.SB)("showing-multiple",(0,G.oB)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),(0,G.eR)("void => *",(0,G.jt)("120ms cubic-bezier(0, 0, 0.2, 1)")),(0,G.eR)("* => void",(0,G.jt)("100ms 25ms linear",(0,G.oB)({opacity:0})))])};let Ke=0;const ct=new u.InjectionToken("mat-select-scroll-strategy");function bt(Z){return()=>Z.scrollStrategies.reposition()}const Et=new u.InjectionToken("MAT_SELECT_CONFIG"),xt={provide:ct,deps:[n.aV],useFactory:bt};class dt{constructor(j,_){this.source=j,this.value=_}}const Ne=(0,c.mixinDisableRipple)((0,c.mixinTabIndex)((0,c.mixinDisabled)((0,c.mixinErrorState)(class{constructor(Z,j,_,x,N){this._elementRef=Z,this._defaultErrorStateMatcher=j,this._parentForm=_,this._parentFormGroup=x,this.ngControl=N}})))),rt=new u.InjectionToken("MatSelectTrigger");let ze=(()=>{class Z{}return Z.\u0275fac=function(_){return new(_||Z)},Z.\u0275dir=u.\u0275\u0275defineDirective({type:Z,selectors:[["mat-select-trigger"]],features:[u.\u0275\u0275ProvidersFeature([{provide:rt,useExisting:Z}])]}),Z})(),yt=(()=>{class Z extends Ne{constructor(_,x,N,ce,Ue,Oe,ve,Ae,nt,Pt,Ft,gt,Lt,$e){var _t,Mt,Ge;super(Ue,ce,ve,Ae,Pt),this._viewportRuler=_,this._changeDetectorRef=x,this._ngZone=N,this._dir=Oe,this._parentFormField=nt,this._liveAnnouncer=Lt,this._defaultOptions=$e,this._panelOpen=!1,this._compareWith=(lt,Ot)=>lt===Ot,this._uid="mat-select-"+Ke++,this._triggerAriaLabelledBy=null,this._destroy=new g.xQ,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+Ke++,this._panelDoneAnimatingStream=new g.xQ,this._overlayPanelClass=(null===(_t=this._defaultOptions)||void 0===_t?void 0:_t.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(Ge=null===(Mt=this._defaultOptions)||void 0===Mt?void 0:Mt.disableOptionCentering)&&void 0!==Ge&&Ge,this.ariaLabel="",this.optionSelectionChanges=(0,s.P)(()=>{const lt=this.options;return lt?lt.changes.pipe((0,P.O)(lt),(0,w.w)(()=>(0,C.T)(...lt.map(Ot=>Ot.onSelectionChange)))):this._ngZone.onStable.pipe((0,D.q)(1),(0,w.w)(()=>this.optionSelectionChanges))}),this.openedChange=new u.EventEmitter,this._openedStream=this.openedChange.pipe((0,T.h)(lt=>lt),(0,Y.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,T.h)(lt=>!lt),(0,Y.U)(()=>{})),this.selectionChange=new u.EventEmitter,this.valueChange=new u.EventEmitter,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==$e?void 0:$e.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=$e.typeaheadDebounceInterval),this._scrollStrategyFactory=gt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Ft)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(_){this._placeholder=_,this.stateChanges.next()}get required(){var _,x,N,ce;return null!==(ce=null!==(_=this._required)&&void 0!==_?_:null===(N=null===(x=this.ngControl)||void 0===x?void 0:x.control)||void 0===N?void 0:N.hasValidator(h.Validators.required))&&void 0!==ce&&ce}set required(_){this._required=(0,p.Ig)(_),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(_){this._multiple=(0,p.Ig)(_)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(_){this._disableOptionCentering=(0,p.Ig)(_)}get compareWith(){return this._compareWith}set compareWith(_){this._compareWith=_,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(_){(_!==this._value||this._multiple&&Array.isArray(_))&&(this.options&&this._setSelectionByValue(_),this._value=_)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(_){this._typeaheadDebounceInterval=(0,p.su)(_)}get id(){return this._id}set id(_){this._id=_||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new y.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,$.x)(),(0,z.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,z.R)(this._destroy)).subscribe(_=>{_.added.forEach(x=>x.select()),_.removed.forEach(x=>x.deselect())}),this.options.changes.pipe((0,P.O)(null),(0,z.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const _=this._getTriggerAriaLabelledby();if(_!==this._triggerAriaLabelledBy){const x=this._elementRef.nativeElement;this._triggerAriaLabelledBy=_,_?x.setAttribute("aria-labelledby",_):x.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(_){_.disabled&&this.stateChanges.next(),_.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(_){this.value=_}registerOnChange(_){this._onChange=_}registerOnTouched(_){this._onTouched=_}setDisabledState(_){this.disabled=_,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var _,x;return this.multiple?(null===(_=this._selectionModel)||void 0===_?void 0:_.selected)||[]:null===(x=this._selectionModel)||void 0===x?void 0:x.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const _=this._selectionModel.selected.map(x=>x.viewValue);return this._isRtl()&&_.reverse(),_.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(_){this.disabled||(this.panelOpen?this._handleOpenKeydown(_):this._handleClosedKeydown(_))}_handleClosedKeydown(_){const x=_.keyCode,N=x===b.JH||x===b.LH||x===b.oh||x===b.SV,ce=x===b.K5||x===b.L_,Ue=this._keyManager;if(!Ue.isTyping()&&ce&&!(0,b.Vb)(_)||(this.multiple||_.altKey)&&N)_.preventDefault(),this.open();else if(!this.multiple){const Oe=this.selected;Ue.onKeydown(_);const ve=this.selected;ve&&Oe!==ve&&this._liveAnnouncer.announce(ve.viewValue,1e4)}}_handleOpenKeydown(_){const x=this._keyManager,N=_.keyCode,ce=N===b.JH||N===b.LH,Ue=x.isTyping();if(ce&&_.altKey)_.preventDefault(),this.close();else if(Ue||N!==b.K5&&N!==b.L_||!x.activeItem||(0,b.Vb)(_))if(!Ue&&this._multiple&&N===b.A&&_.ctrlKey){_.preventDefault();const Oe=this.options.some(ve=>!ve.disabled&&!ve.selected);this.options.forEach(ve=>{ve.disabled||(Oe?ve.select():ve.deselect())})}else{const Oe=x.activeItemIndex;x.onKeydown(_),this._multiple&&ce&&_.shiftKey&&x.activeItem&&x.activeItemIndex!==Oe&&x.activeItem._selectViaInteraction()}else _.preventDefault(),x.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,D.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._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(_){if(this._selectionModel.selected.forEach(x=>x.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&_)Array.isArray(_),_.forEach(x=>this._selectValue(x)),this._sortValues();else{const x=this._selectValue(_);x?this._keyManager.updateActiveItem(x):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(_){const x=this.options.find(N=>{if(this._selectionModel.isSelected(N))return!1;try{return null!=N.value&&this._compareWith(N.value,_)}catch(ce){return!1}});return x&&this._selectionModel.select(x),x}_initKeyManager(){this._keyManager=new m.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe((0,z.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe((0,z.R)(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const _=(0,C.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,z.R)(_)).subscribe(x=>{this._onSelect(x.source,x.isUserInput),x.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,C.T)(...this.options.map(x=>x._stateChanges)).pipe((0,z.R)(_)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(_,x){const N=this._selectionModel.isSelected(_);null!=_.value||this._multiple?(N!==_.selected&&(_.selected?this._selectionModel.select(_):this._selectionModel.deselect(_)),x&&this._keyManager.setActiveItem(_),this.multiple&&(this._sortValues(),x&&this.focus())):(_.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(_.value)),N!==this._selectionModel.isSelected(_)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const _=this.options.toArray();this._selectionModel.sort((x,N)=>this.sortComparator?this.sortComparator(x,N,_):_.indexOf(x)-_.indexOf(N)),this.stateChanges.next()}}_propagateChanges(_){let x=null;x=this.multiple?this.selected.map(N=>N.value):this.selected?this.selected.value:_,this._value=x,this.valueChange.emit(x),this._onChange(x),this.selectionChange.emit(this._getChangeEvent(x)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var _;return!this._panelOpen&&!this.disabled&&(null===(_=this.options)||void 0===_?void 0:_.length)>0}focus(_){this._elementRef.nativeElement.focus(_)}_getPanelAriaLabelledby(){var _;if(this.ariaLabel)return null;const x=null===(_=this._parentFormField)||void 0===_?void 0:_.getLabelId();return this.ariaLabelledby?(x?x+" ":"")+this.ariaLabelledby:x}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var _;if(this.ariaLabel)return null;const x=null===(_=this._parentFormField)||void 0===_?void 0:_.getLabelId();let N=(x?x+" ":"")+this._valueId;return this.ariaLabelledby&&(N+=" "+this.ariaLabelledby),N}_panelDoneAnimating(_){this.openedChange.emit(_)}setDescribedByIds(_){this._ariaDescribedby=_.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Z.\u0275fac=function(_){return new(_||Z)(u.\u0275\u0275directiveInject(d.rL),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(c.ErrorStateMatcher),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(X.Is,8),u.\u0275\u0275directiveInject(h.NgForm,8),u.\u0275\u0275directiveInject(h.FormGroupDirective,8),u.\u0275\u0275directiveInject(r.MAT_FORM_FIELD,8),u.\u0275\u0275directiveInject(h.NgControl,10),u.\u0275\u0275injectAttribute("tabindex"),u.\u0275\u0275directiveInject(ct),u.\u0275\u0275directiveInject(m.Kd),u.\u0275\u0275directiveInject(Et,8))},Z.\u0275dir=u.\u0275\u0275defineDirective({type:Z,viewQuery:function(_,x){if(1&_&&(u.\u0275\u0275viewQuery(Q,5),u.\u0275\u0275viewQuery(q,5),u.\u0275\u0275viewQuery(n.pI,5)),2&_){let N;u.\u0275\u0275queryRefresh(N=u.\u0275\u0275loadQuery())&&(x.trigger=N.first),u.\u0275\u0275queryRefresh(N=u.\u0275\u0275loadQuery())&&(x.panel=N.first),u.\u0275\u0275queryRefresh(N=u.\u0275\u0275loadQuery())&&(x._overlayDir=N.first)}},inputs:{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:[u.\u0275\u0275InheritDefinitionFeature,u.\u0275\u0275NgOnChangesFeature]}),Z})(),mt=(()=>{class Z extends yt{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(_,x,N){const ce=this._getItemHeight();return Math.min(Math.max(0,ce*_-x+ce/2),N)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,z.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,D.q)(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(_){const x=(0,c._countGroupLabelsBeforeOption)(_,this.options,this.optionGroups),N=this._getItemHeight();this.panel.nativeElement.scrollTop=0===_&&1===x?0:(0,c._getOptionScrollPosition)((_+x)*N,N,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(_){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(_)}_getChangeEvent(_){return new dt(this,_)}_calculateOverlayOffsetX(){const _=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),x=this._viewportRuler.getViewportSize(),N=this._isRtl(),ce=this.multiple?56:32;let Ue;if(this.multiple)Ue=40;else if(this.disableOptionCentering)Ue=16;else{let Ae=this._selectionModel.selected[0]||this.options.first;Ue=Ae&&Ae.group?32:16}N||(Ue*=-1);const Oe=0-(_.left+Ue-(N?ce:0)),ve=_.right+Ue-x.width+(N?0:ce);Oe>0?Ue+=Oe+8:ve>0&&(Ue-=ve+8),this._overlayDir.offsetX=Math.round(Ue),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(_,x,N){const ce=this._getItemHeight(),Ue=(ce-this._triggerRect.height)/2,Oe=Math.floor(256/ce);let ve;return this.disableOptionCentering?0:(ve=0===this._scrollTop?_*ce:this._scrollTop===N?(_-(this._getItemCount()-Oe))*ce+(ce-(this._getItemCount()*ce-256)%ce):x-ce/2,Math.round(-1*ve-Ue))}_checkOverlayWithinViewport(_){const x=this._getItemHeight(),N=this._viewportRuler.getViewportSize(),ce=this._triggerRect.top-8,Ue=N.height-this._triggerRect.bottom-8,Oe=Math.abs(this._offsetY),Ae=Math.min(this._getItemCount()*x,256)-Oe-this._triggerRect.height;Ae>Ue?this._adjustPanelUp(Ae,Ue):Oe>ce?this._adjustPanelDown(Oe,ce,_):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(_,x){const N=Math.round(_-x);this._scrollTop-=N,this._offsetY-=N,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(_,x,N){const ce=Math.round(_-x);if(this._scrollTop+=ce,this._offsetY+=ce,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=N)return this._scrollTop=N,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const _=this._getItemHeight(),x=this._getItemCount(),N=Math.min(x*_,256),Ue=x*_-N;let Oe;Oe=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Oe+=(0,c._countGroupLabelsBeforeOption)(Oe,this.options,this.optionGroups);const ve=N/2;this._scrollTop=this._calculateOverlayScroll(Oe,ve,Ue),this._offsetY=this._calculateOverlayOffsetY(Oe,ve,Ue),this._checkOverlayWithinViewport(Ue)}_getOriginBasedOnOption(){const _=this._getItemHeight(),x=(_-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-x+_/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Z.\u0275fac=function(){let j;return function(x){return(j||(j=u.\u0275\u0275getInheritedFactory(Z)))(x||Z)}}(),Z.\u0275cmp=u.\u0275\u0275defineComponent({type:Z,selectors:[["mat-select"]],contentQueries:function(_,x,N){if(1&_&&(u.\u0275\u0275contentQuery(N,rt,5),u.\u0275\u0275contentQuery(N,c.MatOption,5),u.\u0275\u0275contentQuery(N,c.MAT_OPTGROUP,5)),2&_){let ce;u.\u0275\u0275queryRefresh(ce=u.\u0275\u0275loadQuery())&&(x.customTrigger=ce.first),u.\u0275\u0275queryRefresh(ce=u.\u0275\u0275loadQuery())&&(x.options=ce),u.\u0275\u0275queryRefresh(ce=u.\u0275\u0275loadQuery())&&(x.optionGroups=ce)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(_,x){1&_&&u.\u0275\u0275listener("keydown",function(ce){return x._handleKeydown(ce)})("focus",function(){return x._onFocus()})("blur",function(){return x._onBlur()}),2&_&&(u.\u0275\u0275attribute("id",x.id)("tabindex",x.tabIndex)("aria-controls",x.panelOpen?x.id+"-panel":null)("aria-expanded",x.panelOpen)("aria-label",x.ariaLabel||null)("aria-required",x.required.toString())("aria-disabled",x.disabled.toString())("aria-invalid",x.errorState)("aria-describedby",x._ariaDescribedby||null)("aria-activedescendant",x._getAriaActiveDescendant()),u.\u0275\u0275classProp("mat-select-disabled",x.disabled)("mat-select-invalid",x.errorState)("mat-select-required",x.required)("mat-select-empty",x.empty)("mat-select-multiple",x.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[u.\u0275\u0275ProvidersFeature([{provide:r.MatFormFieldControl,useExisting:Z},{provide:c.MAT_OPTION_PARENT_COMPONENT,useExisting:Z}]),u.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:U,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(_,x){if(1&_&&(u.\u0275\u0275projectionDef(ae),u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275listener("click",function(){return x.toggle()}),u.\u0275\u0275elementStart(3,"div",2),u.\u0275\u0275template(4,ue,2,1,"span",3),u.\u0275\u0275template(5,pe,3,2,"span",4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(6,"div",5),u.\u0275\u0275element(7,"div",6),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(8,oe,4,14,"ng-template",7),u.\u0275\u0275listener("backdropClick",function(){return x.close()})("attach",function(){return x._onAttached()})("detach",function(){return x.close()})),2&_){const N=u.\u0275\u0275reference(1);u.\u0275\u0275attribute("aria-owns",x.panelOpen?x.id+"-panel":null),u.\u0275\u0275advance(3),u.\u0275\u0275property("ngSwitch",x.empty),u.\u0275\u0275attribute("id",x._valueId),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase",!0),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase",!1),u.\u0275\u0275advance(3),u.\u0275\u0275property("cdkConnectedOverlayPanelClass",x._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",x._scrollStrategy)("cdkConnectedOverlayOrigin",N)("cdkConnectedOverlayOpen",x.panelOpen)("cdkConnectedOverlayPositions",x._positions)("cdkConnectedOverlayMinWidth",null==x._triggerRect?null:x._triggerRect.width)("cdkConnectedOverlayOffsetY",x._offsetY)}},directives:[n.xu,l.NgSwitch,l.NgSwitchCase,n.pI,l.NgSwitchDefault,l.NgClass],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;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{display:table-cell;vertical-align:middle}.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 transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.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:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[ie.transformPanelWrap,ie.transformPanel]},changeDetection:0}),Z})(),_e=(()=>{class Z{}return Z.\u0275fac=function(_){return new(_||Z)},Z.\u0275mod=u.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=u.\u0275\u0275defineInjector({providers:[xt],imports:[[l.CommonModule,n.U8,c.MatOptionModule,c.MatCommonModule],d.ZD,r.MatFormFieldModule,c.MatOptionModule,c.MatCommonModule]}),Z})()},2368:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS:()=>s,MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR:()=>Y,MAT_SLIDE_TOGGLE_VALUE_ACCESSOR:()=>P,MatSlideToggle:()=>T,MatSlideToggleChange:()=>w,MatSlideToggleModule:()=>G,MatSlideToggleRequiredValidator:()=>$,_MatSlideToggleRequiredValidatorModule:()=>z});var n=o(7144),l=o(5e3),u=o(508),c=o(3191),r=o(3075),d=o(6360),m=o(5664);const p=["thumbContainer"],y=["toggleBar"],b=["input"],h=function(X){return{enterDuration:X}},g=["*"],s=new l.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let C=0;const P={provide:r.NG_VALUE_ACCESSOR,useExisting:(0,l.forwardRef)(()=>T),multi:!0};class w{constructor(Q,q){this.source=Q,this.checked=q}}const D=(0,u.mixinTabIndex)((0,u.mixinColor)((0,u.mixinDisableRipple)((0,u.mixinDisabled)(class{constructor(X){this._elementRef=X}}))));let T=(()=>{class X extends D{constructor(q,ue,me,xe,pe,oe){super(q),this._focusMonitor=ue,this._changeDetectorRef=me,this.defaults=pe,this._onChange=ae=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++C,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new l.EventEmitter,this.toggleChange=new l.EventEmitter,this.tabIndex=parseInt(xe)||0,this.color=this.defaultColor=pe.color||"accent",this._noopAnimations="NoopAnimations"===oe}get required(){return this._required}set required(q){this._required=(0,c.Ig)(q)}get checked(){return this._checked}set checked(q){this._checked=(0,c.Ig)(q),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(q=>{q||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(q){q.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(q){q.stopPropagation()}writeValue(q){this.checked=!!q}registerOnChange(q){this._onChange=q}registerOnTouched(q){this._onTouched=q}setDisabledState(q){this.disabled=q,this._changeDetectorRef.markForCheck()}focus(q,ue){ue?this._focusMonitor.focusVia(this._inputElement,ue,q):this._inputElement.nativeElement.focus(q)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new w(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return X.\u0275fac=function(q){return new(q||X)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(m.tE),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275injectAttribute("tabindex"),l.\u0275\u0275directiveInject(s),l.\u0275\u0275directiveInject(d.ANIMATION_MODULE_TYPE,8))},X.\u0275cmp=l.\u0275\u0275defineComponent({type:X,selectors:[["mat-slide-toggle"]],viewQuery:function(q,ue){if(1&q&&(l.\u0275\u0275viewQuery(p,5),l.\u0275\u0275viewQuery(y,5),l.\u0275\u0275viewQuery(b,5)),2&q){let me;l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue._thumbEl=me.first),l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue._thumbBarEl=me.first),l.\u0275\u0275queryRefresh(me=l.\u0275\u0275loadQuery())&&(ue._inputElement=me.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(q,ue){2&q&&(l.\u0275\u0275hostProperty("id",ue.id),l.\u0275\u0275attribute("tabindex",null)("aria-label",null)("aria-labelledby",null),l.\u0275\u0275classProp("mat-checked",ue.checked)("mat-disabled",ue.disabled)("mat-slide-toggle-label-before","before"==ue.labelPosition)("_mat-animation-noopable",ue._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",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"},exportAs:["matSlideToggle"],features:[l.\u0275\u0275ProvidersFeature([P]),l.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:g,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["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"],["thumbContainer",""],[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(q,ue){if(1&q&&(l.\u0275\u0275projectionDef(),l.\u0275\u0275elementStart(0,"label",0,1),l.\u0275\u0275elementStart(2,"div",2,3),l.\u0275\u0275elementStart(4,"input",4,5),l.\u0275\u0275listener("change",function(xe){return ue._onChangeEvent(xe)})("click",function(xe){return ue._onInputClick(xe)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(6,"div",6,7),l.\u0275\u0275element(8,"div",8),l.\u0275\u0275elementStart(9,"div",9),l.\u0275\u0275element(10,"div",10),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(11,"span",11,12),l.\u0275\u0275listener("cdkObserveContent",function(){return ue._onLabelTextChange()}),l.\u0275\u0275elementStart(13,"span",13),l.\u0275\u0275text(14,"\xa0"),l.\u0275\u0275elementEnd(),l.\u0275\u0275projection(15),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&q){const me=l.\u0275\u0275reference(1),xe=l.\u0275\u0275reference(12);l.\u0275\u0275attribute("for",ue.inputId),l.\u0275\u0275advance(2),l.\u0275\u0275classProp("mat-slide-toggle-bar-no-side-margin",!xe.textContent||!xe.textContent.trim()),l.\u0275\u0275advance(2),l.\u0275\u0275property("id",ue.inputId)("required",ue.required)("tabIndex",ue.tabIndex)("checked",ue.checked)("disabled",ue.disabled),l.\u0275\u0275attribute("name",ue.name)("aria-checked",ue.checked.toString())("aria-label",ue.ariaLabel)("aria-labelledby",ue.ariaLabelledby)("aria-describedby",ue.ariaDescribedby),l.\u0275\u0275advance(5),l.\u0275\u0275property("matRippleTrigger",me)("matRippleDisabled",ue.disableRipple||ue.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",l.\u0275\u0275pureFunction1(18,h,ue._noopAnimations?0:150))}},directives:[u.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:transparent}.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;-moz-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%}.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}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),X})();const Y={provide:r.NG_VALIDATORS,useExisting:(0,l.forwardRef)(()=>$),multi:!0};let $=(()=>{class X extends r.CheckboxRequiredValidator{}return X.\u0275fac=function(){let Q;return function(ue){return(Q||(Q=l.\u0275\u0275getInheritedFactory(X)))(ue||X)}}(),X.\u0275dir=l.\u0275\u0275defineDirective({type:X,selectors:[["mat-slide-toggle","required","","formControlName",""],["mat-slide-toggle","required","","formControl",""],["mat-slide-toggle","required","","ngModel",""]],features:[l.\u0275\u0275ProvidersFeature([Y]),l.\u0275\u0275InheritDefinitionFeature]}),X})(),z=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=l.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=l.\u0275\u0275defineInjector({}),X})(),G=(()=>{class X{}return X.\u0275fac=function(q){return new(q||X)},X.\u0275mod=l.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=l.\u0275\u0275defineInjector({imports:[[z,u.MatRippleModule,u.MatCommonModule,n.Q8],z,u.MatCommonModule]}),X})()},8029:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_SLIDER_VALUE_ACCESSOR:()=>T,MatSlider:()=>z,MatSliderChange:()=>Y,MatSliderModule:()=>ue});var n=o(9808),l=o(5e3),u=o(508),c=o(3191),r=o(1159),d=o(3075),m=o(6360),p=o(925),y=o(2654),b=o(5664),h=o(226);const g=["sliderWrapper"],s=(0,p.i$)({passive:!1}),T={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,l.forwardRef)(()=>z),multi:!0};class Y{}const $=(0,u.mixinTabIndex)((0,u.mixinColor)((0,u.mixinDisabled)(class{constructor(me){this._elementRef=me}}),"accent"));let z=(()=>{class me extends ${constructor(pe,oe,ae,U,ie,le,Ce,Te){super(pe),this._focusMonitor=oe,this._changeDetectorRef=ae,this._dir=U,this._ngZone=le,this._animationMode=Te,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 l.EventEmitter,this.input=new l.EventEmitter,this.valueChange=new l.EventEmitter,this.onTouched=()=>{},this._percent=0,this._isSliding=null,this._isActive=!1,this._tickIntervalPercent=0,this._sliderDimensions=null,this._controlValueAccessorChangeFn=()=>{},this._dirChangeSubscription=y.w.EMPTY,this._pointerDown=Ke=>{this.disabled||this._isSliding||!G(Ke)&&0!==Ke.button||this._ngZone.run(()=>{this._touchId=G(Ke)?function(me,xe){for(let pe=0;pe{if("pointer"===this._isSliding){const tt=X(Ke,this._touchId);if(tt){Ke.preventDefault();const ot=this.value;this._lastPointerEvent=Ke,this._updateValueFromPosition(tt),ot!=this.value&&this._emitInputEvent()}}},this._pointerUp=Ke=>{"pointer"===this._isSliding&&(!G(Ke)||"number"!=typeof this._touchId||Q(Ke.changedTouches,this._touchId))&&(Ke.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=Ce,this.tabIndex=parseInt(ie)||0,le.runOutsideAngular(()=>{const Ke=pe.nativeElement;Ke.addEventListener("mousedown",this._pointerDown,s),Ke.addEventListener("touchstart",this._pointerDown,s)})}get invert(){return this._invert}set invert(pe){this._invert=(0,c.Ig)(pe)}get max(){return this._max}set max(pe){this._max=(0,c.su)(pe,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(pe){this._min=(0,c.su)(pe,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(pe){this._step=(0,c.su)(pe,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(pe){this._thumbLabel=(0,c.Ig)(pe)}get tickInterval(){return this._tickInterval}set tickInterval(pe){this._tickInterval="auto"===pe?"auto":"number"==typeof pe||"string"==typeof pe?(0,c.su)(pe,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(pe){if(pe!==this._value){let oe=(0,c.su)(pe,0);this._roundToDecimal&&oe!==this.min&&oe!==this.max&&(oe=parseFloat(oe.toFixed(this._roundToDecimal))),this._value=oe,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}get vertical(){return this._vertical}set vertical(pe){this._vertical=(0,c.Ig)(pe)}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(pe){this._focusHostElement(pe)}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 oe=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(${oe})`}}_getTrackFillStyles(){const pe=this.percent,ae=this.vertical?`1, ${pe}, 1`:`${pe}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${ae})`,display:0===pe?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let pe=100*this._tickIntervalPercent,le={backgroundSize:this.vertical?`2px ${pe}%`:`${pe}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${pe/2}%)${this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)"}`};if(this._isMinValue()&&this._getThumbGap()){const Ce=this._shouldInvertAxis();let Te;Te=this.vertical?Ce?"Bottom":"Top":Ce?"Right":"Left",le[`padding${Te}`]=`${this._getThumbGap()}px`}return le}_getThumbContainerStyles(){const pe=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?pe:!pe)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const pe=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?pe:!pe}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(pe=>{this._isActive=!!pe&&"keyboard"!==pe,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const pe=this._elementRef.nativeElement;pe.removeEventListener("mousedown",this._pointerDown,s),pe.removeEventListener("touchstart",this._pointerDown,s),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(pe){if(this.disabled||(0,r.Vb)(pe)||this._isSliding&&"keyboard"!==this._isSliding)return;const oe=this.value;switch(pe.keyCode){case r.Ku:this._increment(10);break;case r.VM:this._increment(-10);break;case r.uR:this.value=this.max;break;case r.Sd:this.value=this.min;break;case r.oh:this._increment("rtl"==this._getDirection()?1:-1);break;case r.LH:this._increment(1);break;case r.SV:this._increment("rtl"==this._getDirection()?-1:1);break;case r.JH:this._increment(-1);break;default:return}oe!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",pe.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(pe){const oe=this._document,ae=G(pe),ie=ae?"touchend":"mouseup";oe.addEventListener(ae?"touchmove":"mousemove",this._pointerMove,s),oe.addEventListener(ie,this._pointerUp,s),ae&&oe.addEventListener("touchcancel",this._pointerUp,s);const le=this._getWindow();void 0!==le&&le&&le.addEventListener("blur",this._windowBlur)}_removeGlobalEvents(){const pe=this._document;pe.removeEventListener("mousemove",this._pointerMove,s),pe.removeEventListener("mouseup",this._pointerUp,s),pe.removeEventListener("touchmove",this._pointerMove,s),pe.removeEventListener("touchend",this._pointerUp,s),pe.removeEventListener("touchcancel",this._pointerUp,s);const oe=this._getWindow();void 0!==oe&&oe&&oe.removeEventListener("blur",this._windowBlur)}_increment(pe){this.value=this._clamp((this.value||0)+this.step*pe,this.min,this.max)}_updateValueFromPosition(pe){if(!this._sliderDimensions)return;let ie=this._clamp(((this.vertical?pe.y:pe.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(ie=1-ie),0===ie)this.value=this.min;else if(1===ie)this.value=this.max;else{const le=this._calculateValue(ie),Ce=Math.round((le-this.min)/this.step)*this.step+this.min;this.value=this._clamp(Ce,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)if("auto"==this.tickInterval){let pe=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,U=Math.ceil(30/(pe*this.step/(this.max-this.min)))*this.step;this._tickIntervalPercent=U/pe}else this._tickIntervalPercent=this.tickInterval*this.step/(this.max-this.min)}_createChangeEvent(pe=this.value){let oe=new Y;return oe.source=this,oe.value=pe,oe}_calculatePercentage(pe){return((pe||0)-this.min)/(this.max-this.min)}_calculateValue(pe){return this.min+pe*(this.max-this.min)}_clamp(pe,oe=0,ae=1){return Math.max(oe,Math.min(pe,ae))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(pe){this._elementRef.nativeElement.focus(pe)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(pe){this.value=pe}registerOnChange(pe){this._controlValueAccessorChangeFn=pe}registerOnTouched(pe){this.onTouched=pe}setDisabledState(pe){this.disabled=pe}}return me.\u0275fac=function(pe){return new(pe||me)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(b.tE),l.\u0275\u0275directiveInject(l.ChangeDetectorRef),l.\u0275\u0275directiveInject(h.Is,8),l.\u0275\u0275injectAttribute("tabindex"),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(n.DOCUMENT),l.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},me.\u0275cmp=l.\u0275\u0275defineComponent({type:me,selectors:[["mat-slider"]],viewQuery:function(pe,oe){if(1&pe&&l.\u0275\u0275viewQuery(g,5),2&pe){let ae;l.\u0275\u0275queryRefresh(ae=l.\u0275\u0275loadQuery())&&(oe._sliderWrapper=ae.first)}},hostAttrs:["role","slider",1,"mat-slider","mat-focus-indicator"],hostVars:29,hostBindings:function(pe,oe){1&pe&&l.\u0275\u0275listener("focus",function(){return oe._onFocus()})("blur",function(){return oe._onBlur()})("keydown",function(U){return oe._onKeydown(U)})("keyup",function(){return oe._onKeyup()})("mouseenter",function(){return oe._onMouseenter()})("selectstart",function(U){return U.preventDefault()}),2&pe&&(l.\u0275\u0275hostProperty("tabIndex",oe.tabIndex),l.\u0275\u0275attribute("aria-disabled",oe.disabled)("aria-valuemax",oe.max)("aria-valuemin",oe.min)("aria-valuenow",oe.value)("aria-valuetext",null==oe.valueText?oe.displayValue:oe.valueText)("aria-orientation",oe.vertical?"vertical":"horizontal"),l.\u0275\u0275classProp("mat-slider-disabled",oe.disabled)("mat-slider-has-ticks",oe.tickInterval)("mat-slider-horizontal",!oe.vertical)("mat-slider-axis-inverted",oe._shouldInvertAxis())("mat-slider-invert-mouse-coords",oe._shouldInvertMouseCoords())("mat-slider-sliding",oe._isSliding)("mat-slider-thumb-label-showing",oe.thumbLabel)("mat-slider-vertical",oe.vertical)("mat-slider-min-value",oe._isMinValue())("mat-slider-hide-last-tick",oe.disabled||oe._isMinValue()&&oe._getThumbGap()&&oe._shouldInvertAxis())("_mat-animation-noopable","NoopAnimations"===oe._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:[l.\u0275\u0275ProvidersFeature([T]),l.\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(pe,oe){1&pe&&(l.\u0275\u0275elementStart(0,"div",0,1),l.\u0275\u0275elementStart(2,"div",2),l.\u0275\u0275element(3,"div",3),l.\u0275\u0275element(4,"div",4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(5,"div",5),l.\u0275\u0275element(6,"div",6),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(7,"div",7),l.\u0275\u0275element(8,"div",8),l.\u0275\u0275element(9,"div",9),l.\u0275\u0275elementStart(10,"div",10),l.\u0275\u0275elementStart(11,"span",11),l.\u0275\u0275text(12),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementEnd()),2&pe&&(l.\u0275\u0275advance(3),l.\u0275\u0275property("ngStyle",oe._getTrackBackgroundStyles()),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngStyle",oe._getTrackFillStyles()),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngStyle",oe._getTicksContainerStyles()),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngStyle",oe._getTicksStyles()),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngStyle",oe._getThumbContainerStyles()),l.\u0275\u0275advance(5),l.\u0275\u0275textInterpolate(oe.displayValue))},directives:[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:-webkit-grabbing;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:-webkit-grab;cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;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}\n'],encapsulation:2,changeDetection:0}),me})();function G(me){return"t"===me.type[0]}function X(me,xe){let pe;return pe=G(me)?"number"==typeof xe?Q(me.touches,xe)||Q(me.changedTouches,xe):me.touches[0]||me.changedTouches[0]:me,pe?{x:pe.clientX,y:pe.clientY}:void 0}function Q(me,xe){for(let pe=0;pe{class me{}return me.\u0275fac=function(pe){return new(pe||me)},me.\u0275mod=l.\u0275\u0275defineNgModule({type:me}),me.\u0275inj=l.\u0275\u0275defineInjector({imports:[[n.CommonModule,u.MatCommonModule],u.MatCommonModule]}),me})()},6346:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatCell:()=>Ve,MatCellDef:()=>Ct,MatColumnDef:()=>vn,MatFooterCell:()=>st,MatFooterCellDef:()=>$t,MatFooterRow:()=>fn,MatFooterRowDef:()=>At,MatHeaderCell:()=>it,MatHeaderCellDef:()=>Ht,MatHeaderRow:()=>Jt,MatHeaderRowDef:()=>ut,MatNoDataRow:()=>li,MatRecycleRows:()=>be,MatRow:()=>Rn,MatRowDef:()=>Xt,MatTable:()=>je,MatTableDataSource:()=>jn,MatTableModule:()=>Jn,MatTextColumn:()=>ti,_MatTableDataSource:()=>ri});var n=o(5e3),l=o(3191),u=o(449),c=o(9808),r=o(8929),d=o(5254),m=o(591),p=o(6498),b=o(1086),h=o(7625),g=o(2986),s=o(226),C=o(925),P=o(9071);const w=[[["caption"]],[["colgroup"],["col"]]],D=["caption","colgroup, col"];function T(Se,Xe){if(1&Se&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Se){const J=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",J.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",J.headerText," ")}}function Y(Se,Xe){if(1&Se&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Se){const J=Xe.$implicit,Re=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Re.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Re.dataAccessor(J,Re.name)," ")}}function $(Se){return class extends Se{constructor(...Xe){super(...Xe),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Xe){const J=this._sticky;this._sticky=(0,l.Ig)(Xe),this._hasStickyChanged=J!==this._sticky}hasStickyChanged(){const Xe=this._hasStickyChanged;return this._hasStickyChanged=!1,Xe}resetStickyChanged(){this._hasStickyChanged=!1}}}const z=new n.InjectionToken("CDK_TABLE"),G=new n.InjectionToken("text-column-options");let X=(()=>{class Se{constructor(J){this.template=J}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkCellDef",""]]}),Se})(),Q=(()=>{class Se{constructor(J){this.template=J}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkHeaderCellDef",""]]}),Se})(),q=(()=>{class Se{constructor(J){this.template=J}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkFooterCellDef",""]]}),Se})();class ue{}const me=$(ue);let xe=(()=>{class Se extends me{constructor(J){super(),this._table=J,this._stickyEnd=!1}get name(){return this._name}set name(J){this._setNameInput(J)}get stickyEnd(){return this._stickyEnd}set stickyEnd(J){const Re=this._stickyEnd;this._stickyEnd=(0,l.Ig)(J),this._hasStickyChanged=Re!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(J){J&&(this._name=J,this.cssClassFriendlyName=J.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(z,8))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkColumnDef",""]],contentQueries:function(J,Re,S){if(1&J&&(n.\u0275\u0275contentQuery(S,X,5),n.\u0275\u0275contentQuery(S,Q,5),n.\u0275\u0275contentQuery(S,q,5)),2&J){let te;n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re.cell=te.first),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re.headerCell=te.first),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re.footerCell=te.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})();class pe{constructor(Xe,J){const Re=J.nativeElement.classList;for(const S of Xe._columnCssClassName)Re.add(S)}}let oe=(()=>{class Se extends pe{constructor(J,Re){super(J,Re)}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(xe),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),ae=(()=>{class Se extends pe{constructor(J,Re){var S;if(super(J,Re),1===(null===(S=J._table)||void 0===S?void 0:S._elementRef.nativeElement.nodeType)){const te=J._table._elementRef.nativeElement.getAttribute("role");Re.nativeElement.setAttribute("role","grid"===te||"treegrid"===te?"gridcell":"cell")}}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(xe),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),U=(()=>{class Se extends pe{constructor(J,Re){var S;if(super(J,Re),1===(null===(S=J._table)||void 0===S?void 0:S._elementRef.nativeElement.nodeType)){const te=J._table._elementRef.nativeElement.getAttribute("role");Re.nativeElement.setAttribute("role","grid"===te||"treegrid"===te?"gridcell":"cell")}}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(xe),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})();class ie{constructor(){this.tasks=[],this.endTasks=[]}}const le=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let Ce=(()=>{class Se{constructor(J){this._ngZone=J,this._currentSchedule=null,this._destroyed=new r.xQ}schedule(J){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(J)}scheduleEnd(J){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(J)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ie,this._getScheduleObservable().pipe((0,h.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const J=this._currentSchedule;this._currentSchedule=new ie;for(const Re of J.tasks)Re();for(const Re of J.endTasks)Re()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,d.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,g.q)(1))}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275inject(n.NgZone))},Se.\u0275prov=n.\u0275\u0275defineInjectable({token:Se,factory:Se.\u0275fac}),Se})(),Ke=(()=>{class Se{constructor(J,Re){this.template=J,this._differs=Re}ngOnChanges(J){if(!this._columnsDiffer){const Re=J.columns&&J.columns.currentValue||[];this._columnsDiffer=this._differs.find(Re).create(),this._columnsDiffer.diff(Re)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(J){return this instanceof pt?J.headerCell.template:this instanceof Qe?J.footerCell.template:J.cell.template}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,features:[n.\u0275\u0275NgOnChangesFeature]}),Se})();class tt extends Ke{}const ot=$(tt);let pt=(()=>{class Se extends ot{constructor(J,Re,S){super(J,Re),this._table=S}ngOnChanges(J){super.ngOnChanges(J)}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(z,8))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),Se})();class Dt extends Ke{}const Ie=$(Dt);let Qe=(()=>{class Se extends Ie{constructor(J,Re,S){super(J,Re),this._table=S}ngOnChanges(J){super.ngOnChanges(J)}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(z,8))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),Se})(),ct=(()=>{class Se extends Ke{constructor(J,Re,S){super(J,Re),this._table=S}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(z,8))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),bt=(()=>{class Se{constructor(J){this._viewContainer=J,Se.mostRecentCellOutlet=this}ngOnDestroy(){Se.mostRecentCellOutlet===this&&(Se.mostRecentCellOutlet=null)}}return Se.mostRecentCellOutlet=null,Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","cdkCellOutlet",""]]}),Se})(),Et=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),xt=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),dt=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),Ne=(()=>{class Se{constructor(J){this.templateRef=J,this._contentClassName="cdk-no-data-row"}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.TemplateRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["ng-template","cdkNoDataRow",""]]}),Se})();const rt=["top","bottom","left","right"];class ze{constructor(Xe,J,Re,S,te=!0,ke=!0,Ye){this._isNativeHtmlTable=Xe,this._stickCellCss=J,this.direction=Re,this._coalescedStyleScheduler=S,this._isBrowser=te,this._needsPositionStickyOnElement=ke,this._positionListener=Ye,this._cachedCellWidths=[],this._borderCellCss={top:`${J}-border-elem-top`,bottom:`${J}-border-elem-bottom`,left:`${J}-border-elem-left`,right:`${J}-border-elem-right`}}clearStickyPositioning(Xe,J){const Re=[];for(const S of Xe)if(S.nodeType===S.ELEMENT_NODE){Re.push(S);for(let te=0;te{for(const S of Re)this._removeStickyStyle(S,J)})}updateStickyColumns(Xe,J,Re,S=!0){if(!Xe.length||!this._isBrowser||!J.some(Zt=>Zt)&&!Re.some(Zt=>Zt))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const te=Xe[0],ke=te.children.length,Ye=this._getCellWidths(te,S),kt=this._getStickyStartColumnPositions(Ye,J),It=this._getStickyEndColumnPositions(Ye,Re),Rt=J.lastIndexOf(!0),Yt=Re.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Zt="rtl"===this.direction,Mn=Zt?"right":"left",Tn=Zt?"left":"right";for(const wn of Xe)for(let Bn=0;BnJ[Bn]?wn:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Yt?[]:Ye.slice(Yt).map((wn,Bn)=>Re[Bn+Yt]?wn:null).reverse()}))})}stickRows(Xe,J,Re){if(!this._isBrowser)return;const S="bottom"===Re?Xe.slice().reverse():Xe,te="bottom"===Re?J.slice().reverse():J,ke=[],Ye=[],kt=[];for(let Rt=0,Yt=0;Rt{var Rt,Yt;for(let Zt=0;Zt{J.some(S=>!S)?this._removeStickyStyle(Re,["bottom"]):this._addStickyStyle(Re,"bottom",0,!1)})}_removeStickyStyle(Xe,J){for(const S of J)Xe.style[S]="",Xe.classList.remove(this._borderCellCss[S]);rt.some(S=>-1===J.indexOf(S)&&Xe.style[S])?Xe.style.zIndex=this._getCalculatedZIndex(Xe):(Xe.style.zIndex="",this._needsPositionStickyOnElement&&(Xe.style.position=""),Xe.classList.remove(this._stickCellCss))}_addStickyStyle(Xe,J,Re,S){Xe.classList.add(this._stickCellCss),S&&Xe.classList.add(this._borderCellCss[J]),Xe.style[J]=`${Re}px`,Xe.style.zIndex=this._getCalculatedZIndex(Xe),this._needsPositionStickyOnElement&&(Xe.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Xe){const J={top:100,bottom:10,left:1,right:1};let Re=0;for(const S of rt)Xe.style[S]&&(Re+=J[S]);return Re?`${Re}`:""}_getCellWidths(Xe,J=!0){if(!J&&this._cachedCellWidths.length)return this._cachedCellWidths;const Re=[],S=Xe.children;for(let te=0;te0;te--)J[te]&&(Re[te]=S,S+=Xe[te]);return Re}}const ce=new n.InjectionToken("CDK_SPL");let Oe=(()=>{class Se{constructor(J,Re){this.viewContainer=J,this.elementRef=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","rowOutlet",""]]}),Se})(),ve=(()=>{class Se{constructor(J,Re){this.viewContainer=J,this.elementRef=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","headerRowOutlet",""]]}),Se})(),Ae=(()=>{class Se{constructor(J,Re){this.viewContainer=J,this.elementRef=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","footerRowOutlet",""]]}),Se})(),nt=(()=>{class Se{constructor(J,Re){this.viewContainer=J,this.elementRef=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","noDataRowOutlet",""]]}),Se})(),gt=(()=>{class Se{constructor(J,Re,S,te,ke,Ye,kt,It,Rt,Yt,Zt){this._differs=J,this._changeDetectorRef=Re,this._elementRef=S,this._dir=ke,this._platform=kt,this._viewRepeater=It,this._coalescedStyleScheduler=Rt,this._viewportRuler=Yt,this._stickyPositioningListener=Zt,this._onDestroy=new r.xQ,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 m.X({start:0,end:Number.MAX_VALUE}),te||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Ye,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(J){this._trackByFn=J}get dataSource(){return this._dataSource}set dataSource(J){this._dataSource!==J&&this._switchDataSource(J)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(J){this._multiTemplateDataRows=(0,l.Ig)(J),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(J){this._fixedLayout=(0,l.Ig)(J),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((J,Re)=>this.trackBy?this.trackBy(Re.dataIndex,Re.data):Re),this._viewportRuler.change().pipe((0,h.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Re=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Re,this._forceRecalculateCellWidths=Re,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.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),(0,u.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const J=this._dataDiffer.diff(this._renderRows);if(!J)return this._updateNoDataRow(),void this.contentChanged.next();const Re=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(J,Re,(S,te,ke)=>this._getEmbeddedViewArgs(S.item,ke),S=>S.item.data,S=>{1===S.operation&&S.context&&this._renderCellTemplateForItem(S.record.item.rowDef,S.context)}),this._updateRowIndexContext(),J.forEachIdentityChange(S=>{Re.get(S.currentIndex).context.$implicit=S.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(J){this._customColumnDefs.add(J)}removeColumnDef(J){this._customColumnDefs.delete(J)}addRowDef(J){this._customRowDefs.add(J)}removeRowDef(J){this._customRowDefs.delete(J)}addHeaderRowDef(J){this._customHeaderRowDefs.add(J),this._headerRowDefChanged=!0}removeHeaderRowDef(J){this._customHeaderRowDefs.delete(J),this._headerRowDefChanged=!0}addFooterRowDef(J){this._customFooterRowDefs.add(J),this._footerRowDefChanged=!0}removeFooterRowDef(J){this._customFooterRowDefs.delete(J),this._footerRowDefChanged=!0}setNoDataRow(J){this._customNoDataRow=J}updateStickyHeaderRowStyles(){const J=this._getRenderedRows(this._headerRowOutlet),S=this._elementRef.nativeElement.querySelector("thead");S&&(S.style.display=J.length?"":"none");const te=this._headerRowDefs.map(ke=>ke.sticky);this._stickyStyler.clearStickyPositioning(J,["top"]),this._stickyStyler.stickRows(J,te,"top"),this._headerRowDefs.forEach(ke=>ke.resetStickyChanged())}updateStickyFooterRowStyles(){const J=this._getRenderedRows(this._footerRowOutlet),S=this._elementRef.nativeElement.querySelector("tfoot");S&&(S.style.display=J.length?"":"none");const te=this._footerRowDefs.map(ke=>ke.sticky);this._stickyStyler.clearStickyPositioning(J,["bottom"]),this._stickyStyler.stickRows(J,te,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,te),this._footerRowDefs.forEach(ke=>ke.resetStickyChanged())}updateStickyColumnStyles(){const J=this._getRenderedRows(this._headerRowOutlet),Re=this._getRenderedRows(this._rowOutlet),S=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...J,...Re,...S],["left","right"]),this._stickyColumnStylesNeedReset=!1),J.forEach((te,ke)=>{this._addStickyColumnStyles([te],this._headerRowDefs[ke])}),this._rowDefs.forEach(te=>{const ke=[];for(let Ye=0;Ye{this._addStickyColumnStyles([te],this._footerRowDefs[ke])}),Array.from(this._columnDefsByName.values()).forEach(te=>te.resetStickyChanged())}_getAllRenderRows(){const J=[],Re=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let S=0;S{const Ye=S&&S.has(ke)?S.get(ke):[];if(Ye.length){const kt=Ye.shift();return kt.dataIndex=Re,kt}return{data:J,rowDef:ke,dataIndex:Re}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Lt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Re=>{this._columnDefsByName.has(Re.name),this._columnDefsByName.set(Re.name,Re)})}_cacheRowDefs(){this._headerRowDefs=Lt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Lt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Lt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const J=this._rowDefs.filter(Re=>!Re.when);this._defaultRowDef=J[0]}_renderUpdatedColumns(){const J=(ke,Ye)=>ke||!!Ye.getColumnsDiff(),Re=this._rowDefs.reduce(J,!1);Re&&this._forceRenderDataRows();const S=this._headerRowDefs.reduce(J,!1);S&&this._forceRenderHeaderRows();const te=this._footerRowDefs.reduce(J,!1);return te&&this._forceRenderFooterRows(),Re||S||te}_switchDataSource(J){this._data=[],(0,u.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),J||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=J}_observeRenderChanges(){if(!this.dataSource)return;let J;(0,u.Z9)(this.dataSource)?J=this.dataSource.connect(this):function(Se){return!!Se&&(Se instanceof p.y||"function"==typeof Se.lift&&"function"==typeof Se.subscribe)}(this.dataSource)?J=this.dataSource:Array.isArray(this.dataSource)&&(J=(0,b.of)(this.dataSource)),this._renderChangeSubscription=J.pipe((0,h.R)(this._onDestroy)).subscribe(Re=>{this._data=Re||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((J,Re)=>this._renderRow(this._headerRowOutlet,J,Re)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((J,Re)=>this._renderRow(this._footerRowOutlet,J,Re)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(J,Re){const S=Array.from(Re.columns||[]).map(Ye=>this._columnDefsByName.get(Ye)),te=S.map(Ye=>Ye.sticky),ke=S.map(Ye=>Ye.stickyEnd);this._stickyStyler.updateStickyColumns(J,te,ke,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(J){const Re=[];for(let S=0;S!te.when||te.when(Re,J));else{let te=this._rowDefs.find(ke=>ke.when&&ke.when(Re,J))||this._defaultRowDef;te&&S.push(te)}return S}_getEmbeddedViewArgs(J,Re){return{templateRef:J.rowDef.template,context:{$implicit:J.data},index:Re}}_renderRow(J,Re,S,te={}){const ke=J.viewContainer.createEmbeddedView(Re.template,te,S);return this._renderCellTemplateForItem(Re,te),ke}_renderCellTemplateForItem(J,Re){for(let S of this._getCellTemplates(J))bt.mostRecentCellOutlet&&bt.mostRecentCellOutlet._viewContainer.createEmbeddedView(S,Re);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const J=this._rowOutlet.viewContainer;for(let Re=0,S=J.length;Re{const S=this._columnDefsByName.get(Re);return J.extractCellTemplate(S)}):[]}_applyNativeTableSections(){const J=this._document.createDocumentFragment(),Re=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const S of Re){const te=this._document.createElement(S.tag);te.setAttribute("role","rowgroup");for(const ke of S.outlets)te.appendChild(ke.elementRef.nativeElement);J.appendChild(te)}this._elementRef.nativeElement.appendChild(J)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const J=(Re,S)=>Re||S.hasStickyChanged();this._headerRowDefs.reduce(J,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(J,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(J,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new ze(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,b.of)()).pipe((0,h.R)(this._onDestroy)).subscribe(Re=>{this._stickyStyler.direction=Re,this.updateStickyColumnStyles()})}_getOwnDefs(J){return J.filter(Re=>!Re._table||Re._table===this)}_updateNoDataRow(){const J=this._customNoDataRow||this._noDataRow;if(!J)return;const Re=0===this._rowOutlet.viewContainer.length;if(Re===this._isShowingNoDataRow)return;const S=this._noDataRowOutlet.viewContainer;if(Re){const te=S.createEmbeddedView(J.templateRef),ke=te.rootNodes[0];1===te.rootNodes.length&&(null==ke?void 0:ke.nodeType)===this._document.ELEMENT_NODE&&(ke.setAttribute("role","row"),ke.classList.add(J._contentClassName))}else S.clear();this._isShowingNoDataRow=Re}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(s.Is,8),n.\u0275\u0275directiveInject(c.DOCUMENT),n.\u0275\u0275directiveInject(C.t4),n.\u0275\u0275directiveInject(u.k),n.\u0275\u0275directiveInject(le),n.\u0275\u0275directiveInject(P.rL),n.\u0275\u0275directiveInject(ce,12))},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(J,Re,S){if(1&J&&(n.\u0275\u0275contentQuery(S,Ne,5),n.\u0275\u0275contentQuery(S,xe,5),n.\u0275\u0275contentQuery(S,ct,5),n.\u0275\u0275contentQuery(S,pt,5),n.\u0275\u0275contentQuery(S,Qe,5)),2&J){let te;n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._noDataRow=te.first),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._contentColumnDefs=te),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._contentRowDefs=te),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._contentHeaderRowDefs=te),n.\u0275\u0275queryRefresh(te=n.\u0275\u0275loadQuery())&&(Re._contentFooterRowDefs=te)}},viewQuery:function(J,Re){if(1&J&&(n.\u0275\u0275viewQuery(Oe,7),n.\u0275\u0275viewQuery(ve,7),n.\u0275\u0275viewQuery(Ae,7),n.\u0275\u0275viewQuery(nt,7)),2&J){let S;n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re._rowOutlet=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re._headerRowOutlet=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re._footerRowOutlet=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re._noDataRowOutlet=S.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(J,Re){2&J&&n.\u0275\u0275classProp("cdk-table-fixed-layout",Re.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:z,useExisting:Se},{provide:u.k,useClass:u.yy},{provide:le,useClass:Ce},{provide:ce,useValue:null}])],ngContentSelectors:D,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(J,Re){1&J&&(n.\u0275\u0275projectionDef(w),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0),n.\u0275\u0275elementContainer(3,1),n.\u0275\u0275elementContainer(4,2),n.\u0275\u0275elementContainer(5,3))},directives:[ve,Oe,nt,Ae],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),Se})();function Lt(Se,Xe){return Se.concat(Array.from(Xe))}let $e=(()=>{class Se{constructor(J,Re){this._table=J,this._options=Re,this.justify="start",this._options=Re||{}}get name(){return this._name}set name(J){this._name=J,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((J,Re)=>J[Re])),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 J=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(J):J[0].toUpperCase()+J.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return Se.\u0275fac=function(J){return new(J||Se)(n.\u0275\u0275directiveInject(gt,8),n.\u0275\u0275directiveInject(G,8))},Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["cdk-text-column"]],viewQuery:function(J,Re){if(1&J&&(n.\u0275\u0275viewQuery(xe,7),n.\u0275\u0275viewQuery(X,7),n.\u0275\u0275viewQuery(Q,7)),2&J){let S;n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re.columnDef=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re.cell=S.first),n.\u0275\u0275queryRefresh(S=n.\u0275\u0275loadQuery())&&(Re.headerCell=S.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(J,Re){1&J&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,T,2,3,"th",1),n.\u0275\u0275template(2,Y,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},directives:[xe,Q,X,oe,U],encapsulation:2}),Se})(),Mt=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275mod=n.\u0275\u0275defineNgModule({type:Se}),Se.\u0275inj=n.\u0275\u0275defineInjector({imports:[[P.Cl]]}),Se})();var Ge=o(508),lt=o(6787),Ot=o(6053),Nt=o(4850);const Pe=[[["caption"]],[["colgroup"],["col"]]],Ee=["caption","colgroup, col"];function B(Se,Xe){if(1&Se&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Se){const J=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",J.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",J.headerText," ")}}function V(Se,Xe){if(1&Se&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&Se){const J=Xe.$implicit,Re=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Re.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Re.dataAccessor(J,Re.name)," ")}}let be=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:u.k,useClass:u.eX}])]}),Se})(),je=(()=>{class Se extends gt{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(J,Re){2&J&&n.\u0275\u0275classProp("mat-table-fixed-layout",Re.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:u.k,useClass:u.yy},{provide:gt,useExisting:Se},{provide:z,useExisting:Se},{provide:le,useClass:Ce},{provide:ce,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Ee,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(J,Re){1&J&&(n.\u0275\u0275projectionDef(Pe),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0),n.\u0275\u0275elementContainer(3,1),n.\u0275\u0275elementContainer(4,2),n.\u0275\u0275elementContainer(5,3))},directives:[ve,Oe,nt,Ae],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-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}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:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),Se})(),Ct=(()=>{class Se extends X{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:X,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),Ht=(()=>{class Se extends Q{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Q,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),$t=(()=>{class Se extends q{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:q,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),vn=(()=>{class Se extends xe{get name(){return this._name}set name(J){this._setNameInput(J)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:xe,useExisting:Se},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),it=(()=>{class Se extends oe{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),st=(()=>{class Se extends ae{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),Ve=(()=>{class Se extends U{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Se})(),ut=(()=>{class Se extends pt{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:pt,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),At=(()=>{class Se extends Qe{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Qe,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),Xt=(()=>{class Se extends ct{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ct,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),Jt=(()=>{class Se extends Et{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Et,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),fn=(()=>{class Se extends xt{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:xt,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),Rn=(()=>{class Se extends dt{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:dt,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(J,Re){1&J&&n.\u0275\u0275elementContainer(0,0)},directives:[bt],encapsulation:2}),Se})(),li=(()=>{class Se extends Ne{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275dir=n.\u0275\u0275defineDirective({type:Se,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Ne,useExisting:Se}]),n.\u0275\u0275InheritDefinitionFeature]}),Se})(),ti=(()=>{class Se extends $e{}return Se.\u0275fac=function(){let Xe;return function(Re){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Se)))(Re||Se)}}(),Se.\u0275cmp=n.\u0275\u0275defineComponent({type:Se,selectors:[["mat-text-column"]],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(J,Re){1&J&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,B,2,3,"th",1),n.\u0275\u0275template(2,V,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},directives:[vn,Ht,Ct,it,Ve],encapsulation:2}),Se})(),Jn=(()=>{class Se{}return Se.\u0275fac=function(J){return new(J||Se)},Se.\u0275mod=n.\u0275\u0275defineNgModule({type:Se}),Se.\u0275inj=n.\u0275\u0275defineInjector({imports:[[Mt,Ge.MatCommonModule],Ge.MatCommonModule]}),Se})();class ri extends u.o2{constructor(Xe=[]){super(),this._renderData=new m.X([]),this._filter=new m.X(""),this._internalPageChanges=new r.xQ,this._renderChangesSubscription=null,this.sortingDataAccessor=(J,Re)=>{const S=J[Re];if((0,l.t6)(S)){const te=Number(S);return te<9007199254740991?te:S}return S},this.sortData=(J,Re)=>{const S=Re.active,te=Re.direction;return S&&""!=te?J.sort((ke,Ye)=>{let kt=this.sortingDataAccessor(ke,S),It=this.sortingDataAccessor(Ye,S);const Rt=typeof kt,Yt=typeof It;Rt!==Yt&&("number"===Rt&&(kt+=""),"number"===Yt&&(It+=""));let Zt=0;return null!=kt&&null!=It?kt>It?Zt=1:kt{const S=Object.keys(J).reduce((ke,Ye)=>ke+J[Ye]+"\u25ec","").toLowerCase(),te=Re.trim().toLowerCase();return-1!=S.indexOf(te)},this._data=new m.X(Xe),this._updateChangeSubscription()}get data(){return this._data.value}set data(Xe){this._data.next(Xe),this._renderChangesSubscription||this._filterData(Xe)}get filter(){return this._filter.value}set filter(Xe){this._filter.next(Xe),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Xe){this._sort=Xe,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Xe){this._paginator=Xe,this._updateChangeSubscription()}_updateChangeSubscription(){var Xe;const J=this._sort?(0,lt.T)(this._sort.sortChange,this._sort.initialized):(0,b.of)(null),Re=this._paginator?(0,lt.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,b.of)(null),te=(0,Ot.aj)([this._data,this._filter]).pipe((0,Nt.U)(([kt])=>this._filterData(kt))),ke=(0,Ot.aj)([te,J]).pipe((0,Nt.U)(([kt])=>this._orderData(kt))),Ye=(0,Ot.aj)([ke,Re]).pipe((0,Nt.U)(([kt])=>this._pageData(kt)));null===(Xe=this._renderChangesSubscription)||void 0===Xe||Xe.unsubscribe(),this._renderChangesSubscription=Ye.subscribe(kt=>this._renderData.next(kt))}_filterData(Xe){return this.filteredData=null==this.filter||""===this.filter?Xe:Xe.filter(J=>this.filterPredicate(J,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Xe){return this.sort?this.sortData(Xe.slice(),this.sort):Xe}_pageData(Xe){if(!this.paginator)return Xe;const J=this.paginator.pageIndex*this.paginator.pageSize;return Xe.slice(J,J+this.paginator.pageSize)}_updatePaginator(Xe){Promise.resolve().then(()=>{const J=this.paginator;if(J&&(J.length=Xe,J.pageIndex>0)){const Re=Math.ceil(J.length/J.pageSize)-1||0,S=Math.min(J.pageIndex,Re);S!==J.pageIndex&&(J.pageIndex=S,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var Xe;null===(Xe=this._renderChangesSubscription)||void 0===Xe||Xe.unsubscribe(),this._renderChangesSubscription=null}}class jn extends ri{}},3251:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MAT_TAB:()=>xt,MAT_TABS_CONFIG:()=>j,MAT_TAB_GROUP:()=>rt,MatInkBar:()=>Qe,MatTab:()=>ze,MatTabBody:()=>Z,MatTabBodyPortal:()=>mt,MatTabChangeEvent:()=>Ft,MatTabContent:()=>bt,MatTabGroup:()=>$e,MatTabHeader:()=>nt,MatTabLabel:()=>dt,MatTabLabelWrapper:()=>x,MatTabLink:()=>Ot,MatTabNav:()=>Mt,MatTabsModule:()=>Nt,_MAT_INK_BAR_POSITIONER:()=>Dt,_MatTabBodyBase:()=>_e,_MatTabGroupBase:()=>Lt,_MatTabHeaderBase:()=>Ae,_MatTabLinkBase:()=>lt,_MatTabNavBase:()=>_t,matTabsAnimations:()=>yt});var n=o(5664),l=o(7144),u=o(7429),c=o(9808),r=o(5e3),d=o(508),m=o(6360),p=o(8929),y=o(2654),b=o(3753),h=o(1086),g=o(6787),s=o(8723),C=o(1777),P=o(1059),w=o(5778),D=o(7625),T=o(226),Y=o(3191),$=o(1159),z=o(925),G=o(9071);function X(Pe,Ee){1&Pe&&r.\u0275\u0275projection(0)}const Q=["*"];function q(Pe,Ee){}const ue=function(Pe){return{animationDuration:Pe}},me=function(Pe,Ee){return{value:Pe,params:Ee}},xe=["tabListContainer"],pe=["tabList"],oe=["tabListInner"],ae=["nextPaginator"],U=["previousPaginator"],ie=["tabBodyWrapper"],le=["tabHeader"];function Ce(Pe,Ee){}function Te(Pe,Ee){if(1&Pe&&r.\u0275\u0275template(0,Ce,0,0,"ng-template",9),2&Pe){const B=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",B.templateLabel)}}function Ke(Pe,Ee){if(1&Pe&&r.\u0275\u0275text(0),2&Pe){const B=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(B.textLabel)}}function tt(Pe,Ee){if(1&Pe){const B=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const be=r.\u0275\u0275restoreView(B),je=be.$implicit,Ct=be.index,Ht=r.\u0275\u0275nextContext(),$t=r.\u0275\u0275reference(1);return Ht._handleClick(je,$t,Ct)})("cdkFocusChange",function(be){const Ct=r.\u0275\u0275restoreView(B).index;return r.\u0275\u0275nextContext()._tabFocusChanged(be,Ct)}),r.\u0275\u0275elementStart(1,"div",7),r.\u0275\u0275template(2,Te,1,1,"ng-template",8),r.\u0275\u0275template(3,Ke,1,1,"ng-template",8),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementEnd()}if(2&Pe){const B=Ee.$implicit,V=Ee.index,be=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",be.selectedIndex==V),r.\u0275\u0275property("id",be._getTabLabelId(V))("disabled",B.disabled)("matRippleDisabled",B.disabled||be.disableRipple),r.\u0275\u0275attribute("tabIndex",be._getTabIndex(B,V))("aria-posinset",V+1)("aria-setsize",be._tabs.length)("aria-controls",be._getTabContentId(V))("aria-selected",be.selectedIndex==V)("aria-label",B.ariaLabel||null)("aria-labelledby",!B.ariaLabel&&B.ariaLabelledby?B.ariaLabelledby:null),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",B.templateLabel),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",!B.templateLabel)}}function ot(Pe,Ee){if(1&Pe){const B=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-tab-body",10),r.\u0275\u0275listener("_onCentered",function(){return r.\u0275\u0275restoreView(B),r.\u0275\u0275nextContext()._removeTabBodyWrapperHeight()})("_onCentering",function(be){return r.\u0275\u0275restoreView(B),r.\u0275\u0275nextContext()._setTabBodyWrapperHeight(be)}),r.\u0275\u0275elementEnd()}if(2&Pe){const B=Ee.$implicit,V=Ee.index,be=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-body-active",be.selectedIndex===V),r.\u0275\u0275property("id",be._getTabContentId(V))("content",B.content)("position",B.position)("origin",B.origin)("animationDuration",be.animationDuration),r.\u0275\u0275attribute("tabindex",null!=be.contentTabIndex&&be.selectedIndex===V?be.contentTabIndex:null)("aria-labelledby",be._getTabLabelId(V))}}const pt=["mat-tab-nav-bar",""],Dt=new r.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function(){return Ee=>({left:Ee?(Ee.offsetLeft||0)+"px":"0",width:Ee?(Ee.offsetWidth||0)+"px":"0"})}});let Qe=(()=>{class Pe{constructor(B,V,be,je){this._elementRef=B,this._ngZone=V,this._inkBarPositioner=be,this._animationMode=je}alignToElement(B){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(B))}):this._setStyles(B)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(B){const V=this._inkBarPositioner(B),be=this._elementRef.nativeElement;be.style.left=V.left,be.style.width=V.width}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Dt),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(B,V){2&B&&r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===V._animationMode)}}),Pe})();const ct=new r.InjectionToken("MatTabContent");let bt=(()=>{class Pe{constructor(B){this.template=B}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.TemplateRef))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ct,useExisting:Pe}])]}),Pe})();const Et=new r.InjectionToken("MatTabLabel"),xt=new r.InjectionToken("MAT_TAB");let dt=(()=>{class Pe extends u.ig{constructor(B,V,be){super(B,V),this._closestTab=be}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(xt,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Et,useExisting:Pe}]),r.\u0275\u0275InheritDefinitionFeature]}),Pe})();const Ne=(0,d.mixinDisabled)(class{}),rt=new r.InjectionToken("MAT_TAB_GROUP");let ze=(()=>{class Pe extends Ne{constructor(B,V){super(),this._viewContainerRef=B,this._closestTabGroup=V,this.textLabel="",this._contentPortal=null,this._stateChanges=new p.xQ,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(B){this._setTemplateLabelInput(B)}get content(){return this._contentPortal}ngOnChanges(B){(B.hasOwnProperty("textLabel")||B.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new u.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(B){B&&B._closestTab===this&&(this._templateLabel=B)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(rt,8))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab"]],contentQueries:function(B,V,be){if(1&B&&(r.\u0275\u0275contentQuery(be,Et,5),r.\u0275\u0275contentQuery(be,ct,7,r.TemplateRef)),2&B){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V.templateLabel=je.first),r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V._explicitContent=je.first)}},viewQuery:function(B,V){if(1&B&&r.\u0275\u0275viewQuery(r.TemplateRef,7),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._implicitContent=be.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[r.\u0275\u0275ProvidersFeature([{provide:xt,useExisting:Pe}]),r.\u0275\u0275InheritDefinitionFeature,r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:Q,decls:1,vars:0,template:function(B,V){1&B&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,X,1,0,"ng-template"))},encapsulation:2}),Pe})();const yt={translateTab:(0,C.X$)("translateTab",[(0,C.SB)("center, void, left-origin-center, right-origin-center",(0,C.oB)({transform:"none"})),(0,C.SB)("left",(0,C.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),(0,C.SB)("right",(0,C.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),(0,C.eR)("* => left, * => right, left => center, right => center",(0,C.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,C.eR)("void => left-origin-center",[(0,C.oB)({transform:"translate3d(-100%, 0, 0)"}),(0,C.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,C.eR)("void => right-origin-center",[(0,C.oB)({transform:"translate3d(100%, 0, 0)"}),(0,C.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let mt=(()=>{class Pe extends u.Pl{constructor(B,V,be,je){super(B,V,je),this._host=be,this._centeringSub=y.w.EMPTY,this._leavingSub=y.w.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,P.O)(this._host._isCenterPosition(this._host._position))).subscribe(B=>{B&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Z)),r.\u0275\u0275directiveInject(c.DOCUMENT))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),_e=(()=>{class Pe{constructor(B,V,be){this._elementRef=B,this._dir=V,this._dirChangeSubscription=y.w.EMPTY,this._translateTabComplete=new p.xQ,this._onCentering=new r.EventEmitter,this._beforeCentering=new r.EventEmitter,this._afterLeavingCenter=new r.EventEmitter,this._onCentered=new r.EventEmitter(!0),this.animationDuration="500ms",V&&(this._dirChangeSubscription=V.change.subscribe(je=>{this._computePositionAnimationState(je),be.markForCheck()})),this._translateTabComplete.pipe((0,w.x)((je,Ct)=>je.fromState===Ct.fromState&&je.toState===Ct.toState)).subscribe(je=>{this._isCenterPosition(je.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(je.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(B){this._positionIndex=B,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(B){const V=this._isCenterPosition(B.toState);this._beforeCentering.emit(V),V&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(B){return"center"==B||"left-origin-center"==B||"right-origin-center"==B}_computePositionAnimationState(B=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==B?"left":"right":this._positionIndex>0?"ltr"==B?"right":"left":"center"}_computePositionFromOrigin(B){const V=this._getLayoutDirection();return"ltr"==V&&B<=0||"rtl"==V&&B>0?"left-origin-center":"right-origin-center"}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Pe})(),Z=(()=>{class Pe extends _e{constructor(B,V,be){super(B,V,be)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-body"]],viewQuery:function(B,V){if(1&B&&r.\u0275\u0275viewQuery(u.Pl,5),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._portalHost=be.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(B,V){1&B&&(r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("@translateTab.start",function(je){return V._onTranslateTabStarted(je)})("@translateTab.done",function(je){return V._translateTabComplete.next(je)}),r.\u0275\u0275template(2,q,0,0,"ng-template",2),r.\u0275\u0275elementEnd()),2&B&&r.\u0275\u0275property("@translateTab",r.\u0275\u0275pureFunction2(3,me,V._position,r.\u0275\u0275pureFunction1(1,ue,V.animationDuration)))},directives:[mt],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[yt.translateTab]}}),Pe})();const j=new r.InjectionToken("MAT_TABS_CONFIG"),_=(0,d.mixinDisabled)(class{});let x=(()=>{class Pe extends _{constructor(B){super(),this.elementRef=B}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(B,V){2&B&&(r.\u0275\u0275attribute("aria-disabled",!!V.disabled),r.\u0275\u0275classProp("mat-tab-disabled",V.disabled))},inputs:{disabled:"disabled"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})();const N=(0,z.i$)({passive:!0});let ve=(()=>{class Pe{constructor(B,V,be,je,Ct,Ht,$t){this._elementRef=B,this._changeDetectorRef=V,this._viewportRuler=be,this._dir=je,this._ngZone=Ct,this._platform=Ht,this._animationMode=$t,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new p.xQ,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new p.xQ,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new r.EventEmitter,this.indexFocused=new r.EventEmitter,Ct.runOutsideAngular(()=>{(0,b.R)(B.nativeElement,"mouseleave").pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(B){B=(0,Y.su)(B),this._selectedIndex!=B&&(this._selectedIndexChanged=!0,this._selectedIndex=B,this._keyManager&&this._keyManager.updateActiveItem(B))}ngAfterViewInit(){(0,b.R)(this._previousPaginator.nativeElement,"touchstart",N).pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,b.R)(this._nextPaginator.nativeElement,"touchstart",N).pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const B=this._dir?this._dir.change:(0,h.of)("ltr"),V=this._viewportRuler.change(150),be=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new n.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(be):be(),(0,g.T)(B,V,this._items.changes).pipe((0,D.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>Promise.resolve().then(be)),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,D.R)(this._destroyed)).subscribe(je=>{this.indexFocused.emit(je),this._setTabFocus(je)})}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._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(B){if(!(0,$.Vb)(B))switch(B.keyCode){case $.K5:case $.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(B));break;default:this._keyManager.onKeydown(B)}}_onContentChanges(){const B=this._elementRef.nativeElement.textContent;B!==this._currentTextContent&&(this._currentTextContent=B||"",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(B){!this._isValidIndex(B)||this.focusIndex===B||!this._keyManager||this._keyManager.setActiveItem(B)}_isValidIndex(B){if(!this._items)return!0;const V=this._items?this._items.toArray()[B]:null;return!!V&&!V.disabled}_setTabFocus(B){if(this._showPaginationControls&&this._scrollToLabel(B),this._items&&this._items.length){this._items.toArray()[B].focus();const V=this._tabListContainer.nativeElement;V.scrollLeft="ltr"==this._getLayoutDirection()?0:V.scrollWidth-V.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const B=this.scrollDistance,V="ltr"===this._getLayoutDirection()?-B:B;this._tabList.nativeElement.style.transform=`translateX(${Math.round(V)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(B){this._scrollTo(B)}_scrollHeader(B){return this._scrollTo(this._scrollDistance+("before"==B?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(B){this._stopInterval(),this._scrollHeader(B)}_scrollToLabel(B){if(this.disablePagination)return;const V=this._items?this._items.toArray()[B]:null;if(!V)return;const be=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:je,offsetWidth:Ct}=V.elementRef.nativeElement;let Ht,$t;"ltr"==this._getLayoutDirection()?(Ht=je,$t=Ht+Ct):($t=this._tabListInner.nativeElement.offsetWidth-je,Ht=$t-Ct);const vn=this.scrollDistance,it=this.scrollDistance+be;Htit&&(this.scrollDistance+=$t-it+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const B=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;B||(this.scrollDistance=0),B!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=B}}_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 B=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,V=B?B.elementRef.nativeElement:null;V?this._inkBar.alignToElement(V):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(B,V){V&&null!=V.button&&0!==V.button||(this._stopInterval(),(0,s.H)(650,100).pipe((0,D.R)((0,g.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:be,distance:je}=this._scrollHeader(B);(0===je||je>=be)&&this._stopInterval()}))}_scrollTo(B){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const V=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(V,B)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:V,distance:this._scrollDistance}}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(G.rL),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{disablePagination:"disablePagination"}}),Pe})(),Ae=(()=>{class Pe extends ve{constructor(B,V,be,je,Ct,Ht,$t){super(B,V,be,je,Ct,Ht,$t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(B){this._disableRipple=(0,Y.Ig)(B)}_itemSelected(B){B.preventDefault()}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(G.rL),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),nt=(()=>{class Pe extends Ae{constructor(B,V,be,je,Ct,Ht,$t){super(B,V,be,je,Ct,Ht,$t)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(G.rL),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-header"]],contentQueries:function(B,V,be){if(1&B&&r.\u0275\u0275contentQuery(be,x,4),2&B){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V._items=je)}},viewQuery:function(B,V){if(1&B&&(r.\u0275\u0275viewQuery(Qe,7),r.\u0275\u0275viewQuery(xe,7),r.\u0275\u0275viewQuery(pe,7),r.\u0275\u0275viewQuery(oe,7),r.\u0275\u0275viewQuery(ae,5),r.\u0275\u0275viewQuery(U,5)),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._inkBar=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabListContainer=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabList=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabListInner=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._nextPaginator=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._previousPaginator=be.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(B,V){2&B&&r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",V._showPaginationControls)("mat-tab-header-rtl","rtl"==V._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Q,decls:14,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","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","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(B,V){1&B&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("click",function(){return V._handlePaginatorClick("before")})("mousedown",function(je){return V._handlePaginatorPress("before",je)})("touchend",function(){return V._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(je){return V._handleKeydown(je)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return V._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\u0275elementEnd(),r.\u0275\u0275elementStart(11,"div",9,10),r.\u0275\u0275listener("mousedown",function(je){return V._handlePaginatorPress("after",je)})("click",function(){return V._handlePaginatorClick("after")})("touchend",function(){return V._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&B&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",V._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",V._disableScrollBefore||V.disableRipple),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===V._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",V._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",V._disableScrollAfter||V.disableRipple))},directives:[d.MatRipple,l.wD,Qe],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-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:transparent;touch-action:none}.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-animation-noopable.mat-ink-bar{transition:none;animation:none}.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-animation-noopable.mat-tab-list{transition:none;animation:none}.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}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.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{min-width:72px}}\n"],encapsulation:2}),Pe})(),Pt=0;class Ft{}const gt=(0,d.mixinColor)((0,d.mixinDisableRipple)(class{constructor(Pe){this._elementRef=Pe}}),"primary");let Lt=(()=>{class Pe extends gt{constructor(B,V,be,je){var Ct;super(B),this._changeDetectorRef=V,this._animationMode=je,this._tabs=new r.QueryList,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=y.w.EMPTY,this._tabLabelSubscription=y.w.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new r.EventEmitter,this.focusChange=new r.EventEmitter,this.animationDone=new r.EventEmitter,this.selectedTabChange=new r.EventEmitter(!0),this._groupId=Pt++,this.animationDuration=be&&be.animationDuration?be.animationDuration:"500ms",this.disablePagination=!(!be||null==be.disablePagination)&&be.disablePagination,this.dynamicHeight=!(!be||null==be.dynamicHeight)&&be.dynamicHeight,this.contentTabIndex=null!==(Ct=null==be?void 0:be.contentTabIndex)&&void 0!==Ct?Ct:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(B){this._dynamicHeight=(0,Y.Ig)(B)}get selectedIndex(){return this._selectedIndex}set selectedIndex(B){this._indexToSelect=(0,Y.su)(B,null)}get animationDuration(){return this._animationDuration}set animationDuration(B){this._animationDuration=/^\d+$/.test(B+"")?B+"ms":B}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(B){this._contentTabIndex=(0,Y.su)(B,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(B){const V=this._elementRef.nativeElement;V.classList.remove(`mat-background-${this.backgroundColor}`),B&&V.classList.add(`mat-background-${B}`),this._backgroundColor=B}ngAfterContentChecked(){const B=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=B){const V=null==this._selectedIndex;if(!V){this.selectedTabChange.emit(this._createChangeEvent(B));const be=this._tabBodyWrapper.nativeElement;be.style.minHeight=be.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((be,je)=>be.isActive=je===B),V||(this.selectedIndexChange.emit(B),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((V,be)=>{V.position=be-B,null!=this._selectedIndex&&0==V.position&&!V.origin&&(V.origin=B-this._selectedIndex)}),this._selectedIndex!==B&&(this._selectedIndex=B,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const V=this._tabs.toArray();for(let be=0;be{this._tabs.reset(B.filter(V=>V._closestTabGroup===this||!V._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}focusTab(B){const V=this._tabHeader;V&&(V.focusIndex=B)}_focusChanged(B){this.focusChange.emit(this._createChangeEvent(B))}_createChangeEvent(B){const V=new Ft;return V.index=B,this._tabs&&this._tabs.length&&(V.tab=this._tabs.toArray()[B]),V}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,g.T)(...this._tabs.map(B=>B._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(B){return Math.min(this._tabs.length-1,Math.max(B||0,0))}_getTabLabelId(B){return`mat-tab-label-${this._groupId}-${B}`}_getTabContentId(B){return`mat-tab-content-${this._groupId}-${B}`}_setTabBodyWrapperHeight(B){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const V=this._tabBodyWrapper.nativeElement;V.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(V.style.height=B+"px")}_removeTabBodyWrapperHeight(){const B=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=B.clientHeight,B.style.height="",this.animationDone.emit()}_handleClick(B,V,be){B.disabled||(this.selectedIndex=V.focusIndex=be)}_getTabIndex(B,V){return B.disabled?null:this.selectedIndex===V?0:-1}_tabFocusChanged(B,V){B&&"mouse"!==B&&"touch"!==B&&(this._tabHeader.focusIndex=V)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(j,8),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),$e=(()=>{class Pe extends Lt{constructor(B,V,be,je){super(B,V,be,je)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(j,8),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["mat-tab-group"]],contentQueries:function(B,V,be){if(1&B&&r.\u0275\u0275contentQuery(be,ze,5),2&B){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V._allTabs=je)}},viewQuery:function(B,V){if(1&B&&(r.\u0275\u0275viewQuery(ie,5),r.\u0275\u0275viewQuery(le,5)),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabBodyWrapper=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabHeader=be.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(B,V){2&B&&r.\u0275\u0275classProp("mat-tab-group-dynamic-height",V.dynamicHeight)("mat-tab-group-inverted-header","below"===V.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[r.\u0275\u0275ProvidersFeature([{provide:rt,useExisting:Pe}]),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","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(B,V){1&B&&(r.\u0275\u0275elementStart(0,"mat-tab-header",0,1),r.\u0275\u0275listener("indexFocused",function(je){return V._focusChanged(je)})("selectFocusedIndex",function(je){return V.selectedIndex=je}),r.\u0275\u0275template(2,tt,4,14,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275template(5,ot,1,9,"mat-tab-body",5),r.\u0275\u0275elementEnd()),2&B&&(r.\u0275\u0275property("selectedIndex",V.selectedIndex||0)("disableRipple",V.disableRipple)("disablePagination",V.disablePagination),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",V._tabs),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===V._animationMode),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",V._tabs))},directives:[nt,c.NgForOf,x,d.MatRipple,n.kH,c.NgIf,u.Pl,Z],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}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.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-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.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}\n"],encapsulation:2}),Pe})(),_t=(()=>{class Pe extends ve{constructor(B,V,be,je,Ct,Ht,$t){super(B,je,Ct,V,be,Ht,$t),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(B){const V=this._elementRef.nativeElement.classList;V.remove(`mat-background-${this.backgroundColor}`),B&&V.add(`mat-background-${B}`),this._backgroundColor=B}get disableRipple(){return this._disableRipple}set disableRipple(B){this._disableRipple=(0,Y.Ig)(B)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,P.O)(null),(0,D.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const B=this._items.toArray();for(let V=0;V{class Pe extends _t{constructor(B,V,be,je,Ct,Ht,$t){super(B,V,be,je,Ct,Ht,$t)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(T.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(G.rL),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275cmp=r.\u0275\u0275defineComponent({type:Pe,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(B,V,be){if(1&B&&r.\u0275\u0275contentQuery(be,Ot,5),2&B){let je;r.\u0275\u0275queryRefresh(je=r.\u0275\u0275loadQuery())&&(V._items=je)}},viewQuery:function(B,V){if(1&B&&(r.\u0275\u0275viewQuery(Qe,7),r.\u0275\u0275viewQuery(xe,7),r.\u0275\u0275viewQuery(pe,7),r.\u0275\u0275viewQuery(oe,7),r.\u0275\u0275viewQuery(ae,5),r.\u0275\u0275viewQuery(U,5)),2&B){let be;r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._inkBar=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabListContainer=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabList=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._tabListInner=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._nextPaginator=be.first),r.\u0275\u0275queryRefresh(be=r.\u0275\u0275loadQuery())&&(V._previousPaginator=be.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:10,hostBindings:function(B,V){2&B&&r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",V._showPaginationControls)("mat-tab-header-rtl","rtl"==V._getLayoutDirection())("mat-primary","warn"!==V.color&&"accent"!==V.color)("mat-accent","accent"===V.color)("mat-warn","warn"===V.color)},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[r.\u0275\u0275InheritDefinitionFeature],attrs:pt,ngContentSelectors:Q,decls:14,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","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","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(B,V){1&B&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("click",function(){return V._handlePaginatorClick("before")})("mousedown",function(je){return V._handlePaginatorPress("before",je)})("touchend",function(){return V._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(je){return V._handleKeydown(je)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return V._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\u0275elementEnd(),r.\u0275\u0275elementStart(11,"div",9,10),r.\u0275\u0275listener("mousedown",function(je){return V._handlePaginatorPress("after",je)})("click",function(){return V._handlePaginatorClick("after")})("touchend",function(){return V._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&B&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",V._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",V._disableScrollBefore||V.disableRipple),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===V._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",V._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",V._disableScrollAfter||V.disableRipple))},directives:[d.MatRipple,l.wD,Qe],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-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:transparent;touch-action:none}.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-animation-noopable.mat-ink-bar{transition:none;animation:none}.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:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.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}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n"],encapsulation:2}),Pe})();const Ge=(0,d.mixinTabIndex)((0,d.mixinDisableRipple)((0,d.mixinDisabled)(class{})));let lt=(()=>{class Pe extends Ge{constructor(B,V,be,je,Ct,Ht){super(),this._tabNavBar=B,this.elementRef=V,this._focusMonitor=Ct,this._isActive=!1,this.rippleConfig=be||{},this.tabIndex=parseInt(je)||0,"NoopAnimations"===Ht&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(B){const V=(0,Y.Ig)(B);V!==this._isActive&&(this._isActive=V,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}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)}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(_t),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(d.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,inputs:{active:"active"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),Ot=(()=>{class Pe extends lt{constructor(B,V,be,je,Ct,Ht,$t,vn){super(B,V,Ct,Ht,$t,vn),this._tabLinkRipple=new d.RippleRenderer(this,be,V,je),this._tabLinkRipple.setupTriggerEvents(V.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Pe.\u0275fac=function(B){return new(B||Pe)(r.\u0275\u0275directiveInject(Mt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(z.t4),r.\u0275\u0275directiveInject(d.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(m.ANIMATION_MODULE_TYPE,8))},Pe.\u0275dir=r.\u0275\u0275defineDirective({type:Pe,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:7,hostBindings:function(B,V){1&B&&r.\u0275\u0275listener("focus",function(){return V._handleFocus()}),2&B&&(r.\u0275\u0275attribute("aria-current",V.active?"page":null)("aria-disabled",V.disabled)("tabIndex",V.tabIndex),r.\u0275\u0275classProp("mat-tab-disabled",V.disabled)("mat-tab-label-active",V.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[r.\u0275\u0275InheritDefinitionFeature]}),Pe})(),Nt=(()=>{class Pe{}return Pe.\u0275fac=function(B){return new(B||Pe)},Pe.\u0275mod=r.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=r.\u0275\u0275defineInjector({imports:[[c.CommonModule,d.MatCommonModule,u.eL,d.MatRippleModule,l.Q8,n.rt],d.MatCommonModule]}),Pe})()},4594:(he,A,o)=>{"use strict";o.r(A),o.d(A,{MatToolbar:()=>y,MatToolbarModule:()=>h,MatToolbarRow:()=>p,throwToolbarMixedModesError:()=>b});var n=o(5e3),l=o(508),u=o(9808),c=o(925);const r=["*",[["mat-toolbar-row"]]],d=["*","mat-toolbar-row"],m=(0,l.mixinColor)(class{constructor(g){this._elementRef=g}});let p=(()=>{class g{}return g.\u0275fac=function(C){return new(C||g)},g.\u0275dir=n.\u0275\u0275defineDirective({type:g,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),g})(),y=(()=>{class g extends m{constructor(C,P,w){super(C),this._platform=P,this._document=w}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return g.\u0275fac=function(C){return new(C||g)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(c.t4),n.\u0275\u0275directiveInject(u.DOCUMENT))},g.\u0275cmp=n.\u0275\u0275defineComponent({type:g,selectors:[["mat-toolbar"]],contentQueries:function(C,P,w){if(1&C&&n.\u0275\u0275contentQuery(w,p,5),2&C){let D;n.\u0275\u0275queryRefresh(D=n.\u0275\u0275loadQuery())&&(P._toolbarRows=D)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(C,P){2&C&&n.\u0275\u0275classProp("mat-toolbar-multiple-rows",P._toolbarRows.length>0)("mat-toolbar-single-row",0===P._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:d,decls:2,vars:0,template:function(C,P){1&C&&(n.\u0275\u0275projectionDef(r),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.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}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),g})();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 h=(()=>{class g{}return g.\u0275fac=function(C){return new(C||g)},g.\u0275mod=n.\u0275\u0275defineNgModule({type:g}),g.\u0275inj=n.\u0275\u0275defineInjector({imports:[[l.MatCommonModule],l.MatCommonModule]}),g})()},6360:(he,A,o)=>{"use strict";o.r(A),o.d(A,{ANIMATION_MODULE_TYPE:()=>ji,BrowserAnimationsModule:()=>Hr,NoopAnimationsModule:()=>Cs,\u0275AnimationRenderer:()=>Hn,\u0275AnimationRendererFactory:()=>hn,\u0275BrowserAnimationBuilder:()=>E,\u0275BrowserAnimationFactory:()=>I,\u0275InjectableAnimationEngine:()=>Qn});var n=o(5e3),l=o(2313),u=o(1777);function c(){return"undefined"!=typeof window&&void 0!==window.document}function r(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function d(ye){switch(ye.length){case 0:return new u.ZN;case 1:return ye[0];default:return new u.ZE(ye)}}function m(ye,M,L,ne,we={},He={}){const Je=[],at=[];let St=-1,Vt=null;if(ne.forEach(Gt=>{const en=Gt.offset,yn=en==St,pn=yn&&Vt||{};Object.keys(Gt).forEach(rn=>{let Cn=rn,In=Gt[rn];if("offset"!==rn)switch(Cn=M.normalizePropertyName(Cn,Je),In){case u.k1:In=we[rn];break;case u.l3:In=He[rn];break;default:In=M.normalizeStyleValue(rn,Cn,In,Je)}pn[Cn]=In}),yn||at.push(pn),Vt=pn,St=en}),Je.length){const Gt="\n - ";throw new Error(`Unable to animate due to the following errors:${Gt}${Je.join(Gt)}`)}return at}function p(ye,M,L,ne){switch(M){case"start":ye.onStart(()=>ne(L&&y(L,"start",ye)));break;case"done":ye.onDone(()=>ne(L&&y(L,"done",ye)));break;case"destroy":ye.onDestroy(()=>ne(L&&y(L,"destroy",ye)))}}function y(ye,M,L){const ne=L.totalTime,He=b(ye.element,ye.triggerName,ye.fromState,ye.toState,M||ye.phaseName,null==ne?ye.totalTime:ne,!!L.disabled),Je=ye._data;return null!=Je&&(He._data=Je),He}function b(ye,M,L,ne,we="",He=0,Je){return{element:ye,triggerName:M,fromState:L,toState:ne,phaseName:we,totalTime:He,disabled:!!Je}}function h(ye,M,L){let ne;return ye instanceof Map?(ne=ye.get(M),ne||ye.set(M,ne=L)):(ne=ye[M],ne||(ne=ye[M]=L)),ne}function g(ye){const M=ye.indexOf(":");return[ye.substring(1,M),ye.substr(M+1)]}let s=(ye,M)=>!1,C=(ye,M,L)=>[];(r()||"undefined"!=typeof Element)&&(s=c()?(ye,M)=>{for(;M&&M!==document.documentElement;){if(M===ye)return!0;M=M.parentNode||M.host}return!1}:(ye,M)=>ye.contains(M),C=(ye,M,L)=>{let ne=[];if(L){const we=ye.querySelectorAll(M);for(let He=0;He{const ne=L.replace(/([a-z])([A-Z])/g,"$1-$2");M[ne]=ye[L]}),M}let Q=(()=>{class ye{validateStyleProperty(L){return Y(L)}matchesElement(L,ne){return!1}containsElement(L,ne){return z(L,ne)}query(L,ne,we){return G(L,ne,we)}computeStyle(L,ne,we){return we||""}animate(L,ne,we,He,Je,at=[],St){return new u.ZN(we,He)}}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac}),ye})(),q=(()=>{class ye{}return ye.NOOP=new Q,ye})();const pe="ng-enter",oe="ng-leave",ae="ng-trigger",U=".ng-trigger",ie="ng-animating",le=".ng-animating";function Ce(ye){if("number"==typeof ye)return ye;const M=ye.match(/^(-?[\.\d]+)(m?s)/);return!M||M.length<2?0:Te(parseFloat(M[1]),M[2])}function Te(ye,M){return"s"===M?1e3*ye:ye}function Ke(ye,M,L){return ye.hasOwnProperty("duration")?ye:function(ye,M,L){let we,He=0,Je="";if("string"==typeof ye){const at=ye.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===at)return M.push(`The provided timing value "${ye}" is invalid.`),{duration:0,delay:0,easing:""};we=Te(parseFloat(at[1]),at[2]);const St=at[3];null!=St&&(He=Te(parseFloat(St),at[4]));const Vt=at[5];Vt&&(Je=Vt)}else we=ye;if(!L){let at=!1,St=M.length;we<0&&(M.push("Duration values below 0 are not allowed for this animation step."),at=!0),He<0&&(M.push("Delay values below 0 are not allowed for this animation step."),at=!0),at&&M.splice(St,0,`The provided timing value "${ye}" is invalid.`)}return{duration:we,delay:He,easing:Je}}(ye,M,L)}function ot(ye,M={}){return Object.keys(ye).forEach(L=>{M[L]=ye[L]}),M}function Dt(ye,M,L={}){if(M)for(let ne in ye)L[ne]=ye[ne];else ot(ye,L);return L}function Ie(ye,M,L){return L?M+":"+L+";":""}function Qe(ye){let M="";for(let L=0;L{const we=mt(ne);L&&!L.hasOwnProperty(ne)&&(L[ne]=ye.style[we]),ye.style[we]=M[ne]}),r()&&Qe(ye))}function bt(ye,M){ye.style&&(Object.keys(M).forEach(L=>{const ne=mt(L);ye.style[ne]=""}),r()&&Qe(ye))}function Et(ye){return Array.isArray(ye)?1==ye.length?ye[0]:(0,u.vP)(ye):ye}const dt=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ne(ye){let M=[];if("string"==typeof ye){let L;for(;L=dt.exec(ye);)M.push(L[1]);dt.lastIndex=0}return M}function rt(ye,M,L){const ne=ye.toString(),we=ne.replace(dt,(He,Je)=>{let at=M[Je];return M.hasOwnProperty(Je)||(L.push(`Please provide a value for the animation param ${Je}`),at=""),at.toString()});return we==ne?ye:we}function ze(ye){const M=[];let L=ye.next();for(;!L.done;)M.push(L.value),L=ye.next();return M}const yt=/-+([a-z0-9])/g;function mt(ye){return ye.replace(yt,(...M)=>M[1].toUpperCase())}function _e(ye){return ye.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Z(ye,M){return 0===ye||0===M}function j(ye,M,L){const ne=Object.keys(L);if(ne.length&&M.length){let He=M[0],Je=[];if(ne.forEach(at=>{He.hasOwnProperty(at)||Je.push(at),He[at]=L[at]}),Je.length)for(var we=1;wefunction(ye,M,L){if(":"==ye[0]){const St=function(ye,M){switch(ye){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(L,ne)=>parseFloat(ne)>parseFloat(L);case":decrement":return(L,ne)=>parseFloat(ne) *"}}(ye,L);if("function"==typeof St)return void M.push(St);ye=St}const ne=ye.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==ne||ne.length<4)return L.push(`The provided transition expression "${ye}" is not supported`),M;const we=ne[1],He=ne[2],Je=ne[3];M.push(nt(we,Je));"<"==He[0]&&!(we==N&&Je==N)&&M.push(nt(Je,we))}(ne,L,M)):L.push(ye),L}const ve=new Set(["true","1"]),Ae=new Set(["false","0"]);function nt(ye,M){const L=ve.has(ye)||Ae.has(ye),ne=ve.has(M)||Ae.has(M);return(we,He)=>{let Je=ye==N||ye==we,at=M==N||M==He;return!Je&&L&&"boolean"==typeof we&&(Je=we?ve.has(ye):Ae.has(ye)),!at&&ne&&"boolean"==typeof He&&(at=He?ve.has(M):Ae.has(M)),Je&&at}}const Ft=new RegExp("s*:selfs*,?","g");function gt(ye,M,L){return new $e(ye).build(M,L)}class $e{constructor(M){this._driver=M}build(M,L){const ne=new Ge(L);return this._resetContextStyleTimingState(ne),_(this,Et(M),ne)}_resetContextStyleTimingState(M){M.currentQuerySelector="",M.collectedStyles={},M.collectedStyles[""]={},M.currentTime=0}visitTrigger(M,L){let ne=L.queryCount=0,we=L.depCount=0;const He=[],Je=[];return"@"==M.name.charAt(0)&&L.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),M.definitions.forEach(at=>{if(this._resetContextStyleTimingState(L),0==at.type){const St=at,Vt=St.name;Vt.toString().split(/\s*,\s*/).forEach(Gt=>{St.name=Gt,He.push(this.visitState(St,L))}),St.name=Vt}else if(1==at.type){const St=this.visitTransition(at,L);ne+=St.queryCount,we+=St.depCount,Je.push(St)}else L.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:M.name,states:He,transitions:Je,queryCount:ne,depCount:we,options:null}}visitState(M,L){const ne=this.visitStyle(M.styles,L),we=M.options&&M.options.params||null;if(ne.containsDynamicStyles){const He=new Set,Je=we||{};if(ne.styles.forEach(at=>{if(Ot(at)){const St=at;Object.keys(St).forEach(Vt=>{Ne(St[Vt]).forEach(Gt=>{Je.hasOwnProperty(Gt)||He.add(Gt)})})}}),He.size){const at=ze(He.values());L.errors.push(`state("${M.name}", ...) must define default values for all the following style substitutions: ${at.join(", ")}`)}}return{type:0,name:M.name,style:ne,options:we?{params:we}:null}}visitTransition(M,L){L.queryCount=0,L.depCount=0;const ne=_(this,Et(M.animation),L);return{type:1,matchers:ce(M.expr,L.errors),animation:ne,queryCount:L.queryCount,depCount:L.depCount,options:Pe(M.options)}}visitSequence(M,L){return{type:2,steps:M.steps.map(ne=>_(this,ne,L)),options:Pe(M.options)}}visitGroup(M,L){const ne=L.currentTime;let we=0;const He=M.steps.map(Je=>{L.currentTime=ne;const at=_(this,Je,L);return we=Math.max(we,L.currentTime),at});return L.currentTime=we,{type:3,steps:He,options:Pe(M.options)}}visitAnimate(M,L){const ne=function(ye,M){let L=null;if(ye.hasOwnProperty("duration"))L=ye;else if("number"==typeof ye)return Ee(Ke(ye,M).duration,0,"");const ne=ye;if(ne.split(/\s+/).some(He=>"{"==He.charAt(0)&&"{"==He.charAt(1))){const He=Ee(0,0,"");return He.dynamic=!0,He.strValue=ne,He}return L=L||Ke(ne,M),Ee(L.duration,L.delay,L.easing)}(M.timings,L.errors);L.currentAnimateTimings=ne;let we,He=M.styles?M.styles:(0,u.oB)({});if(5==He.type)we=this.visitKeyframes(He,L);else{let Je=M.styles,at=!1;if(!Je){at=!0;const Vt={};ne.easing&&(Vt.easing=ne.easing),Je=(0,u.oB)(Vt)}L.currentTime+=ne.duration+ne.delay;const St=this.visitStyle(Je,L);St.isEmptyStep=at,we=St}return L.currentAnimateTimings=null,{type:4,timings:ne,style:we,options:null}}visitStyle(M,L){const ne=this._makeStyleAst(M,L);return this._validateStyleAst(ne,L),ne}_makeStyleAst(M,L){const ne=[];Array.isArray(M.styles)?M.styles.forEach(Je=>{"string"==typeof Je?Je==u.l3?ne.push(Je):L.errors.push(`The provided style string value ${Je} is not allowed.`):ne.push(Je)}):ne.push(M.styles);let we=!1,He=null;return ne.forEach(Je=>{if(Ot(Je)){const at=Je,St=at.easing;if(St&&(He=St,delete at.easing),!we)for(let Vt in at)if(at[Vt].toString().indexOf("{{")>=0){we=!0;break}}}),{type:6,styles:ne,easing:He,offset:M.offset,containsDynamicStyles:we,options:null}}_validateStyleAst(M,L){const ne=L.currentAnimateTimings;let we=L.currentTime,He=L.currentTime;ne&&He>0&&(He-=ne.duration+ne.delay),M.styles.forEach(Je=>{"string"!=typeof Je&&Object.keys(Je).forEach(at=>{if(!this._driver.validateStyleProperty(at))return void L.errors.push(`The provided animation property "${at}" is not a supported CSS property for animations`);const St=L.collectedStyles[L.currentQuerySelector],Vt=St[at];let Gt=!0;Vt&&(He!=we&&He>=Vt.startTime&&we<=Vt.endTime&&(L.errors.push(`The CSS property "${at}" that exists between the times of "${Vt.startTime}ms" and "${Vt.endTime}ms" is also being animated in a parallel animation between the times of "${He}ms" and "${we}ms"`),Gt=!1),He=Vt.startTime),Gt&&(St[at]={startTime:He,endTime:we}),L.options&&function(ye,M,L){const ne=M.params||{},we=Ne(ye);we.length&&we.forEach(He=>{ne.hasOwnProperty(He)||L.push(`Unable to resolve the local animation param ${He} in the given list of values`)})}(Je[at],L.options,L.errors)})})}visitKeyframes(M,L){const ne={type:5,styles:[],options:null};if(!L.currentAnimateTimings)return L.errors.push("keyframes() must be placed inside of a call to animate()"),ne;let He=0;const Je=[];let at=!1,St=!1,Vt=0;const Gt=M.steps.map(Gn=>{const ai=this._makeStyleAst(Gn,L);let Ci=null!=ai.offset?ai.offset:function(ye){if("string"==typeof ye)return null;let M=null;if(Array.isArray(ye))ye.forEach(L=>{if(Ot(L)&&L.hasOwnProperty("offset")){const ne=L;M=parseFloat(ne.offset),delete ne.offset}});else if(Ot(ye)&&ye.hasOwnProperty("offset")){const L=ye;M=parseFloat(L.offset),delete L.offset}return M}(ai.styles),vi=0;return null!=Ci&&(He++,vi=ai.offset=Ci),St=St||vi<0||vi>1,at=at||vi0&&He{const Ci=yn>0?ai==pn?1:yn*ai:Je[ai],vi=Ci*In;L.currentTime=rn+Cn.delay+vi,Cn.duration=vi,this._validateStyleAst(Gn,L),Gn.offset=Ci,ne.styles.push(Gn)}),ne}visitReference(M,L){return{type:8,animation:_(this,Et(M.animation),L),options:Pe(M.options)}}visitAnimateChild(M,L){return L.depCount++,{type:9,options:Pe(M.options)}}visitAnimateRef(M,L){return{type:10,animation:this.visitReference(M.animation,L),options:Pe(M.options)}}visitQuery(M,L){const ne=L.currentQuerySelector,we=M.options||{};L.queryCount++,L.currentQuery=M;const[He,Je]=function(ye){const M=!!ye.split(/\s*,\s*/).find(L=>":self"==L);return M&&(ye=ye.replace(Ft,"")),ye=ye.replace(/@\*/g,U).replace(/@\w+/g,L=>U+"-"+L.substr(1)).replace(/:animating/g,le),[ye,M]}(M.selector);L.currentQuerySelector=ne.length?ne+" "+He:He,h(L.collectedStyles,L.currentQuerySelector,{});const at=_(this,Et(M.animation),L);return L.currentQuery=null,L.currentQuerySelector=ne,{type:11,selector:He,limit:we.limit||0,optional:!!we.optional,includeSelf:Je,animation:at,originalSelector:M.selector,options:Pe(M.options)}}visitStagger(M,L){L.currentQuery||L.errors.push("stagger() can only be used inside of query()");const ne="full"===M.timings?{duration:0,delay:0,easing:"full"}:Ke(M.timings,L.errors,!0);return{type:12,animation:_(this,Et(M.animation),L),timings:ne,options:null}}}class Ge{constructor(M){this.errors=M,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function Ot(ye){return!Array.isArray(ye)&&"object"==typeof ye}function Pe(ye){return ye?(ye=ot(ye)).params&&(ye.params=function(ye){return ye?ot(ye):null}(ye.params)):ye={},ye}function Ee(ye,M,L){return{duration:ye,delay:M,easing:L}}function B(ye,M,L,ne,we,He,Je=null,at=!1){return{type:1,element:ye,keyframes:M,preStyleProps:L,postStyleProps:ne,duration:we,delay:He,totalTime:we+He,easing:Je,subTimeline:at}}class V{constructor(){this._map=new Map}get(M){return this._map.get(M)||[]}append(M,L){let ne=this._map.get(M);ne||this._map.set(M,ne=[]),ne.push(...L)}has(M){return this._map.has(M)}clear(){this._map.clear()}}const Ct=new RegExp(":enter","g"),$t=new RegExp(":leave","g");function vn(ye,M,L,ne,we,He={},Je={},at,St,Vt=[]){return(new it).buildKeyframes(ye,M,L,ne,we,He,Je,at,St,Vt)}class it{buildKeyframes(M,L,ne,we,He,Je,at,St,Vt,Gt=[]){Vt=Vt||new V;const en=new Ve(M,L,Vt,we,He,Gt,[]);en.options=St,en.currentTimeline.setStyles([Je],null,en.errors,St),_(this,ne,en);const yn=en.timelines.filter(pn=>pn.containsAnimation());if(yn.length&&Object.keys(at).length){const pn=yn[yn.length-1];pn.allowOnlyTimelineStyles()||pn.setStyles([at],null,en.errors,St)}return yn.length?yn.map(pn=>pn.buildKeyframes()):[B(L,[],[],[],0,0,"",!1)]}visitTrigger(M,L){}visitState(M,L){}visitTransition(M,L){}visitAnimateChild(M,L){const ne=L.subInstructions.get(L.element);if(ne){const we=L.createSubContext(M.options),He=L.currentTimeline.currentTime,Je=this._visitSubInstructions(ne,we,we.options);He!=Je&&L.transformIntoNewTimeline(Je)}L.previousNode=M}visitAnimateRef(M,L){const ne=L.createSubContext(M.options);ne.transformIntoNewTimeline(),this.visitReference(M.animation,ne),L.transformIntoNewTimeline(ne.currentTimeline.currentTime),L.previousNode=M}_visitSubInstructions(M,L,ne){let He=L.currentTimeline.currentTime;const Je=null!=ne.duration?Ce(ne.duration):null,at=null!=ne.delay?Ce(ne.delay):null;return 0!==Je&&M.forEach(St=>{const Vt=L.appendInstructionToTimeline(St,Je,at);He=Math.max(He,Vt.duration+Vt.delay)}),He}visitReference(M,L){L.updateOptions(M.options,!0),_(this,M.animation,L),L.previousNode=M}visitSequence(M,L){const ne=L.subContextCount;let we=L;const He=M.options;if(He&&(He.params||He.delay)&&(we=L.createSubContext(He),we.transformIntoNewTimeline(),null!=He.delay)){6==we.previousNode.type&&(we.currentTimeline.snapshotCurrentStyles(),we.previousNode=st);const Je=Ce(He.delay);we.delayNextStep(Je)}M.steps.length&&(M.steps.forEach(Je=>_(this,Je,we)),we.currentTimeline.applyStylesToKeyframe(),we.subContextCount>ne&&we.transformIntoNewTimeline()),L.previousNode=M}visitGroup(M,L){const ne=[];let we=L.currentTimeline.currentTime;const He=M.options&&M.options.delay?Ce(M.options.delay):0;M.steps.forEach(Je=>{const at=L.createSubContext(M.options);He&&at.delayNextStep(He),_(this,Je,at),we=Math.max(we,at.currentTimeline.currentTime),ne.push(at.currentTimeline)}),ne.forEach(Je=>L.currentTimeline.mergeTimelineCollectedStyles(Je)),L.transformIntoNewTimeline(we),L.previousNode=M}_visitTiming(M,L){if(M.dynamic){const ne=M.strValue;return Ke(L.params?rt(ne,L.params,L.errors):ne,L.errors)}return{duration:M.duration,delay:M.delay,easing:M.easing}}visitAnimate(M,L){const ne=L.currentAnimateTimings=this._visitTiming(M.timings,L),we=L.currentTimeline;ne.delay&&(L.incrementTime(ne.delay),we.snapshotCurrentStyles());const He=M.style;5==He.type?this.visitKeyframes(He,L):(L.incrementTime(ne.duration),this.visitStyle(He,L),we.applyStylesToKeyframe()),L.currentAnimateTimings=null,L.previousNode=M}visitStyle(M,L){const ne=L.currentTimeline,we=L.currentAnimateTimings;!we&&ne.getCurrentStyleProperties().length&&ne.forwardFrame();const He=we&&we.easing||M.easing;M.isEmptyStep?ne.applyEmptyStep(He):ne.setStyles(M.styles,He,L.errors,L.options),L.previousNode=M}visitKeyframes(M,L){const ne=L.currentAnimateTimings,we=L.currentTimeline.duration,He=ne.duration,at=L.createSubContext().currentTimeline;at.easing=ne.easing,M.styles.forEach(St=>{at.forwardTime((St.offset||0)*He),at.setStyles(St.styles,St.easing,L.errors,L.options),at.applyStylesToKeyframe()}),L.currentTimeline.mergeTimelineCollectedStyles(at),L.transformIntoNewTimeline(we+He),L.previousNode=M}visitQuery(M,L){const ne=L.currentTimeline.currentTime,we=M.options||{},He=we.delay?Ce(we.delay):0;He&&(6===L.previousNode.type||0==ne&&L.currentTimeline.getCurrentStyleProperties().length)&&(L.currentTimeline.snapshotCurrentStyles(),L.previousNode=st);let Je=ne;const at=L.invokeQuery(M.selector,M.originalSelector,M.limit,M.includeSelf,!!we.optional,L.errors);L.currentQueryTotal=at.length;let St=null;at.forEach((Vt,Gt)=>{L.currentQueryIndex=Gt;const en=L.createSubContext(M.options,Vt);He&&en.delayNextStep(He),Vt===L.element&&(St=en.currentTimeline),_(this,M.animation,en),en.currentTimeline.applyStylesToKeyframe(),Je=Math.max(Je,en.currentTimeline.currentTime)}),L.currentQueryIndex=0,L.currentQueryTotal=0,L.transformIntoNewTimeline(Je),St&&(L.currentTimeline.mergeTimelineCollectedStyles(St),L.currentTimeline.snapshotCurrentStyles()),L.previousNode=M}visitStagger(M,L){const ne=L.parentContext,we=L.currentTimeline,He=M.timings,Je=Math.abs(He.duration),at=Je*(L.currentQueryTotal-1);let St=Je*L.currentQueryIndex;switch(He.duration<0?"reverse":He.easing){case"reverse":St=at-St;break;case"full":St=ne.currentStaggerTime}const Gt=L.currentTimeline;St&&Gt.delayNextStep(St);const en=Gt.currentTime;_(this,M.animation,L),L.previousNode=M,ne.currentStaggerTime=we.currentTime-en+(we.startTime-ne.currentTimeline.startTime)}}const st={};class Ve{constructor(M,L,ne,we,He,Je,at,St){this._driver=M,this.element=L,this.subInstructions=ne,this._enterClassName=we,this._leaveClassName=He,this.errors=Je,this.timelines=at,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=st,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=St||new ut(this._driver,L,0),at.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(M,L){if(!M)return;const ne=M;let we=this.options;null!=ne.duration&&(we.duration=Ce(ne.duration)),null!=ne.delay&&(we.delay=Ce(ne.delay));const He=ne.params;if(He){let Je=we.params;Je||(Je=this.options.params={}),Object.keys(He).forEach(at=>{(!L||!Je.hasOwnProperty(at))&&(Je[at]=rt(He[at],Je,this.errors))})}}_copyOptions(){const M={};if(this.options){const L=this.options.params;if(L){const ne=M.params={};Object.keys(L).forEach(we=>{ne[we]=L[we]})}}return M}createSubContext(M=null,L,ne){const we=L||this.element,He=new Ve(this._driver,we,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(we,ne||0));return He.previousNode=this.previousNode,He.currentAnimateTimings=this.currentAnimateTimings,He.options=this._copyOptions(),He.updateOptions(M),He.currentQueryIndex=this.currentQueryIndex,He.currentQueryTotal=this.currentQueryTotal,He.parentContext=this,this.subContextCount++,He}transformIntoNewTimeline(M){return this.previousNode=st,this.currentTimeline=this.currentTimeline.fork(this.element,M),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(M,L,ne){const we={duration:null!=L?L:M.duration,delay:this.currentTimeline.currentTime+(null!=ne?ne:0)+M.delay,easing:""},He=new At(this._driver,M.element,M.keyframes,M.preStyleProps,M.postStyleProps,we,M.stretchStartingKeyframe);return this.timelines.push(He),we}incrementTime(M){this.currentTimeline.forwardTime(this.currentTimeline.duration+M)}delayNextStep(M){M>0&&this.currentTimeline.delayNextStep(M)}invokeQuery(M,L,ne,we,He,Je){let at=[];if(we&&at.push(this.element),M.length>0){M=(M=M.replace(Ct,"."+this._enterClassName)).replace($t,"."+this._leaveClassName);let Vt=this._driver.query(this.element,M,1!=ne);0!==ne&&(Vt=ne<0?Vt.slice(Vt.length+ne,Vt.length):Vt.slice(0,ne)),at.push(...Vt)}return!He&&0==at.length&&Je.push(`\`query("${L}")\` returned zero elements. (Use \`query("${L}", { optional: true })\` if you wish to allow this.)`),at}}class ut{constructor(M,L,ne,we){this._driver=M,this.element=L,this.startTime=ne,this._elementTimelineStylesLookup=we,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(L),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(L,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(M){const L=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||L?(this.forwardTime(this.currentTime+M),L&&this.snapshotCurrentStyles()):this.startTime+=M}fork(M,L){return this.applyStylesToKeyframe(),new ut(this._driver,M,L||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(M){this.applyStylesToKeyframe(),this.duration=M,this._loadKeyframe()}_updateStyle(M,L){this._localTimelineStyles[M]=L,this._globalTimelineStyles[M]=L,this._styleSummary[M]={time:this.currentTime,value:L}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(M){M&&(this._previousKeyframe.easing=M),Object.keys(this._globalTimelineStyles).forEach(L=>{this._backFill[L]=this._globalTimelineStyles[L]||u.l3,this._currentKeyframe[L]=u.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(M,L,ne,we){L&&(this._previousKeyframe.easing=L);const He=we&&we.params||{},Je=function(ye,M){const L={};let ne;return ye.forEach(we=>{"*"===we?(ne=ne||Object.keys(M),ne.forEach(He=>{L[He]=u.l3})):Dt(we,!1,L)}),L}(M,this._globalTimelineStyles);Object.keys(Je).forEach(at=>{const St=rt(Je[at],He,ne);this._pendingStyles[at]=St,this._localTimelineStyles.hasOwnProperty(at)||(this._backFill[at]=this._globalTimelineStyles.hasOwnProperty(at)?this._globalTimelineStyles[at]:u.l3),this._updateStyle(at,St)})}applyStylesToKeyframe(){const M=this._pendingStyles,L=Object.keys(M);0!=L.length&&(this._pendingStyles={},L.forEach(ne=>{this._currentKeyframe[ne]=M[ne]}),Object.keys(this._localTimelineStyles).forEach(ne=>{this._currentKeyframe.hasOwnProperty(ne)||(this._currentKeyframe[ne]=this._localTimelineStyles[ne])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(M=>{const L=this._localTimelineStyles[M];this._pendingStyles[M]=L,this._updateStyle(M,L)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const M=[];for(let L in this._currentKeyframe)M.push(L);return M}mergeTimelineCollectedStyles(M){Object.keys(M._styleSummary).forEach(L=>{const ne=this._styleSummary[L],we=M._styleSummary[L];(!ne||we.time>ne.time)&&this._updateStyle(L,we.value)})}buildKeyframes(){this.applyStylesToKeyframe();const M=new Set,L=new Set,ne=1===this._keyframes.size&&0===this.duration;let we=[];this._keyframes.forEach((at,St)=>{const Vt=Dt(at,!0);Object.keys(Vt).forEach(Gt=>{const en=Vt[Gt];en==u.k1?M.add(Gt):en==u.l3&&L.add(Gt)}),ne||(Vt.offset=St/this.duration),we.push(Vt)});const He=M.size?ze(M.values()):[],Je=L.size?ze(L.values()):[];if(ne){const at=we[0],St=ot(at);at.offset=0,St.offset=1,we=[at,St]}return B(this.element,we,He,Je,this.duration,this.startTime,this.easing,!1)}}class At extends ut{constructor(M,L,ne,we,He,Je,at=!1){super(M,L,Je.delay),this.keyframes=ne,this.preStyleProps=we,this.postStyleProps=He,this._stretchStartingKeyframe=at,this.timings={duration:Je.duration,delay:Je.delay,easing:Je.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let M=this.keyframes,{delay:L,duration:ne,easing:we}=this.timings;if(this._stretchStartingKeyframe&&L){const He=[],Je=ne+L,at=L/Je,St=Dt(M[0],!1);St.offset=0,He.push(St);const Vt=Dt(M[0],!1);Vt.offset=Xt(at),He.push(Vt);const Gt=M.length-1;for(let en=1;en<=Gt;en++){let yn=Dt(M[en],!1);yn.offset=Xt((L+yn.offset*ne)/Je),He.push(yn)}ne=Je,L=0,we="",M=He}return B(this.element,M,this.preStyleProps,this.postStyleProps,ne,L,we,!0)}}function Xt(ye,M=3){const L=Math.pow(10,M-1);return Math.round(ye*L)/L}class Rn{}class ti extends Rn{normalizePropertyName(M,L){return mt(M)}normalizeStyleValue(M,L,ne,we){let He="";const Je=ne.toString().trim();if(pi[L]&&0!==ne&&"0"!==ne)if("number"==typeof ne)He="px";else{const at=ne.match(/^[+-]?[\d\.]+([a-z]*)$/);at&&0==at[1].length&&we.push(`Please provide a CSS unit value for ${M}:${ne}`)}return Je+He}}const pi=(()=>function(ye){const M={};return ye.forEach(L=>M[L]=!0),M}("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".split(",")))();function Ln(ye,M,L,ne,we,He,Je,at,St,Vt,Gt,en,yn){return{type:0,element:ye,triggerName:M,isRemovalTransition:we,fromState:L,fromStyles:He,toState:ne,toStyles:Je,timelines:at,queriedElements:St,preStyleProps:Vt,postStyleProps:Gt,totalTime:en,errors:yn}}const ri={};class jn{constructor(M,L,ne){this._triggerName=M,this.ast=L,this._stateStyles=ne}match(M,L,ne,we){return function(ye,M,L,ne,we){return ye.some(He=>He(M,L,ne,we))}(this.ast.matchers,M,L,ne,we)}buildStyles(M,L,ne){const we=this._stateStyles["*"],He=this._stateStyles[M],Je=we?we.buildStyles(L,ne):{};return He?He.buildStyles(L,ne):Je}build(M,L,ne,we,He,Je,at,St,Vt,Gt){const en=[],yn=this.ast.options&&this.ast.options.params||ri,rn=this.buildStyles(ne,at&&at.params||ri,en),Cn=St&&St.params||ri,In=this.buildStyles(we,Cn,en),Gn=new Set,ai=new Map,Ci=new Map,vi="void"===we,pr={params:Object.assign(Object.assign({},yn),Cn)},ki=Gt?[]:vn(M,L,this.ast.animation,He,Je,rn,In,pr,Vt,en);let gi=0;if(ki.forEach(xi=>{gi=Math.max(xi.duration+xi.delay,gi)}),en.length)return Ln(L,this._triggerName,ne,we,vi,rn,In,[],[],ai,Ci,gi,en);ki.forEach(xi=>{const Ji=xi.element,Zr=h(ai,Ji,{});xi.preStyleProps.forEach(gr=>Zr[gr]=!0);const mr=h(Ci,Ji,{});xi.postStyleProps.forEach(gr=>mr[gr]=!0),Ji!==L&&Gn.add(Ji)});const Zi=ze(Gn.values());return Ln(L,this._triggerName,ne,we,vi,rn,In,ki,Zi,ai,Ci,gi)}}class Xe{constructor(M,L,ne){this.styles=M,this.defaultParams=L,this.normalizer=ne}buildStyles(M,L){const ne={},we=ot(this.defaultParams);return Object.keys(M).forEach(He=>{const Je=M[He];null!=Je&&(we[He]=Je)}),this.styles.styles.forEach(He=>{if("string"!=typeof He){const Je=He;Object.keys(Je).forEach(at=>{let St=Je[at];St.length>1&&(St=rt(St,we,L));const Vt=this.normalizer.normalizePropertyName(at,L);St=this.normalizer.normalizeStyleValue(at,Vt,St,L),ne[Vt]=St})}}),ne}}class Re{constructor(M,L,ne){this.name=M,this.ast=L,this._normalizer=ne,this.transitionFactories=[],this.states={},L.states.forEach(we=>{this.states[we.name]=new Xe(we.style,we.options&&we.options.params||{},ne)}),te(this.states,"true","1"),te(this.states,"false","0"),L.transitions.forEach(we=>{this.transitionFactories.push(new jn(M,we,this.states))}),this.fallbackTransition=function(ye,M,L){return new jn(ye,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Je,at)=>!0],options:null,queryCount:0,depCount:0},M)}(M,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(M,L,ne,we){return this.transitionFactories.find(Je=>Je.match(M,L,ne,we))||null}matchStyles(M,L,ne){return this.fallbackTransition.buildStyles(M,L,ne)}}function te(ye,M,L){ye.hasOwnProperty(M)?ye.hasOwnProperty(L)||(ye[L]=ye[M]):ye.hasOwnProperty(L)&&(ye[M]=ye[L])}const ke=new V;class Ye{constructor(M,L,ne){this.bodyNode=M,this._driver=L,this._normalizer=ne,this._animations={},this._playersById={},this.players=[]}register(M,L){const ne=[],we=gt(this._driver,L,ne);if(ne.length)throw new Error(`Unable to build the animation due to the following errors: ${ne.join("\n")}`);this._animations[M]=we}_buildPlayer(M,L,ne){const we=M.element,He=m(0,this._normalizer,0,M.keyframes,L,ne);return this._driver.animate(we,He,M.duration,M.delay,M.easing,[],!0)}create(M,L,ne={}){const we=[],He=this._animations[M];let Je;const at=new Map;if(He?(Je=vn(this._driver,L,He,pe,oe,{},{},ne,ke,we),Je.forEach(Gt=>{const en=h(at,Gt.element,{});Gt.postStyleProps.forEach(yn=>en[yn]=null)})):(we.push("The requested animation doesn't exist or has already been destroyed"),Je=[]),we.length)throw new Error(`Unable to create the animation due to the following errors: ${we.join("\n")}`);at.forEach((Gt,en)=>{Object.keys(Gt).forEach(yn=>{Gt[yn]=this._driver.computeStyle(en,yn,u.l3)})});const Vt=d(Je.map(Gt=>{const en=at.get(Gt.element);return this._buildPlayer(Gt,{},en)}));return this._playersById[M]=Vt,Vt.onDestroy(()=>this.destroy(M)),this.players.push(Vt),Vt}destroy(M){const L=this._getPlayer(M);L.destroy(),delete this._playersById[M];const ne=this.players.indexOf(L);ne>=0&&this.players.splice(ne,1)}_getPlayer(M){const L=this._playersById[M];if(!L)throw new Error(`Unable to find the timeline player referenced by ${M}`);return L}listen(M,L,ne,we){const He=b(L,"","","");return p(this._getPlayer(M),ne,He,we),()=>{}}command(M,L,ne,we){if("register"==ne)return void this.register(M,we[0]);if("create"==ne)return void this.create(M,L,we[0]||{});const He=this._getPlayer(M);switch(ne){case"play":He.play();break;case"pause":He.pause();break;case"reset":He.reset();break;case"restart":He.restart();break;case"finish":He.finish();break;case"init":He.init();break;case"setPosition":He.setPosition(parseFloat(we[0]));break;case"destroy":this.destroy(M)}}}const kt="ng-animate-queued",Rt="ng-animate-disabled",Tn=[],wn={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Bn={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},An="__ng_removed";class kn{constructor(M,L=""){this.namespaceId=L;const ne=M&&M.hasOwnProperty("value");if(this.value=null!=(ye=ne?M.value:M)?ye:null,ne){const He=ot(M);delete He.value,this.options=He}else this.options={};var ye;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(M){const L=M.params;if(L){const ne=this.options.params;Object.keys(L).forEach(we=>{null==ne[we]&&(ne[we]=L[we])})}}}const bn="void",ui=new kn(bn);class Oi{constructor(M,L,ne){this.id=M,this.hostElement=L,this._engine=ne,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+M,xn(L,this._hostClassName)}listen(M,L,ne,we){if(!this._triggers.hasOwnProperty(L))throw new Error(`Unable to listen on the animation trigger event "${ne}" because the animation trigger "${L}" doesn't exist!`);if(null==ne||0==ne.length)throw new Error(`Unable to listen on the animation trigger "${L}" because the provided event is undefined!`);if("start"!=(ye=ne)&&"done"!=ye)throw new Error(`The provided animation trigger event "${ne}" for the animation trigger "${L}" is not supported!`);var ye;const He=h(this._elementListeners,M,[]),Je={name:L,phase:ne,callback:we};He.push(Je);const at=h(this._engine.statesByElement,M,{});return at.hasOwnProperty(L)||(xn(M,ae),xn(M,ae+"-"+L),at[L]=ui),()=>{this._engine.afterFlush(()=>{const St=He.indexOf(Je);St>=0&&He.splice(St,1),this._triggers[L]||delete at[L]})}}register(M,L){return!this._triggers[M]&&(this._triggers[M]=L,!0)}_getTrigger(M){const L=this._triggers[M];if(!L)throw new Error(`The provided animation trigger "${M}" has not been registered!`);return L}trigger(M,L,ne,we=!0){const He=this._getTrigger(L),Je=new Xn(this.id,L,M);let at=this._engine.statesByElement.get(M);at||(xn(M,ae),xn(M,ae+"-"+L),this._engine.statesByElement.set(M,at={}));let St=at[L];const Vt=new kn(ne,this.id);if(!(ne&&ne.hasOwnProperty("value"))&&St&&Vt.absorbOptions(St.options),at[L]=Vt,St||(St=ui),Vt.value!==bn&&St.value===Vt.value){if(!function(ye,M){const L=Object.keys(ye),ne=Object.keys(M);if(L.length!=ne.length)return!1;for(let we=0;we{bt(M,In),ct(M,Gn)})}return}const yn=h(this._engine.playersByElement,M,[]);yn.forEach(Cn=>{Cn.namespaceId==this.id&&Cn.triggerName==L&&Cn.queued&&Cn.destroy()});let pn=He.matchTransition(St.value,Vt.value,M,Vt.params),rn=!1;if(!pn){if(!we)return;pn=He.fallbackTransition,rn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:L,transition:pn,fromState:St,toState:Vt,player:Je,isFallbackTransition:rn}),rn||(xn(M,kt),Je.onStart(()=>{Ii(M,kt)})),Je.onDone(()=>{let Cn=this.players.indexOf(Je);Cn>=0&&this.players.splice(Cn,1);const In=this._engine.playersByElement.get(M);if(In){let Gn=In.indexOf(Je);Gn>=0&&In.splice(Gn,1)}}),this.players.push(Je),yn.push(Je),Je}deregister(M){delete this._triggers[M],this._engine.statesByElement.forEach((L,ne)=>{delete L[M]}),this._elementListeners.forEach((L,ne)=>{this._elementListeners.set(ne,L.filter(we=>we.name!=M))})}clearElementCache(M){this._engine.statesByElement.delete(M),this._elementListeners.delete(M);const L=this._engine.playersByElement.get(M);L&&(L.forEach(ne=>ne.destroy()),this._engine.playersByElement.delete(M))}_signalRemovalForInnerTriggers(M,L){const ne=this._engine.driver.query(M,U,!0);ne.forEach(we=>{if(we[An])return;const He=this._engine.fetchNamespacesByElement(we);He.size?He.forEach(Je=>Je.triggerLeaveAnimation(we,L,!1,!0)):this.clearElementCache(we)}),this._engine.afterFlushAnimationsDone(()=>ne.forEach(we=>this.clearElementCache(we)))}triggerLeaveAnimation(M,L,ne,we){const He=this._engine.statesByElement.get(M);if(He){const Je=[];if(Object.keys(He).forEach(at=>{if(this._triggers[at]){const St=this.trigger(M,at,bn,we);St&&Je.push(St)}}),Je.length)return this._engine.markElementAsRemoved(this.id,M,!0,L),ne&&d(Je).onDone(()=>this._engine.processLeaveNode(M)),!0}return!1}prepareLeaveAnimationListeners(M){const L=this._elementListeners.get(M),ne=this._engine.statesByElement.get(M);if(L&&ne){const we=new Set;L.forEach(He=>{const Je=He.name;if(we.has(Je))return;we.add(Je);const St=this._triggers[Je].fallbackTransition,Vt=ne[Je]||ui,Gt=new kn(bn),en=new Xn(this.id,Je,M);this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:Je,transition:St,fromState:Vt,toState:Gt,player:en,isFallbackTransition:!0})})}}removeNode(M,L){const ne=this._engine;if(M.childElementCount&&this._signalRemovalForInnerTriggers(M,L),this.triggerLeaveAnimation(M,L,!0))return;let we=!1;if(ne.totalAnimations){const He=ne.players.length?ne.playersByQueriedElement.get(M):[];if(He&&He.length)we=!0;else{let Je=M;for(;Je=Je.parentNode;)if(ne.statesByElement.get(Je)){we=!0;break}}}if(this.prepareLeaveAnimationListeners(M),we)ne.markElementAsRemoved(this.id,M,!1,L);else{const He=M[An];(!He||He===wn)&&(ne.afterFlush(()=>this.clearElementCache(M)),ne.destroyInnerAnimations(M),ne._onRemovalComplete(M,L))}}insertNode(M,L){xn(M,this._hostClassName)}drainQueuedTransitions(M){const L=[];return this._queue.forEach(ne=>{const we=ne.player;if(we.destroyed)return;const He=ne.element,Je=this._elementListeners.get(He);Je&&Je.forEach(at=>{if(at.name==ne.triggerName){const St=b(He,ne.triggerName,ne.fromState.value,ne.toState.value);St._data=M,p(ne.player,at.phase,St,at.callback)}}),we.markedForDestroy?this._engine.afterFlush(()=>{we.destroy()}):L.push(ne)}),this._queue=[],L.sort((ne,we)=>{const He=ne.transition.ast.depCount,Je=we.transition.ast.depCount;return 0==He||0==Je?He-Je:this._engine.driver.containsElement(ne.element,we.element)?1:-1})}destroy(M){this.players.forEach(L=>L.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,M)}elementContainsData(M){let L=!1;return this._elementListeners.has(M)&&(L=!0),L=!!this._queue.find(ne=>ne.element===M)||L,L}}class ci{constructor(M,L,ne){this.bodyNode=M,this.driver=L,this._normalizer=ne,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=(we,He)=>{}}_onRemovalComplete(M,L){this.onRemovalComplete(M,L)}get queuedPlayers(){const M=[];return this._namespaceList.forEach(L=>{L.players.forEach(ne=>{ne.queued&&M.push(ne)})}),M}createNamespace(M,L){const ne=new Oi(M,L,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,L)?this._balanceNamespaceList(ne,L):(this.newHostElements.set(L,ne),this.collectEnterElement(L)),this._namespaceLookup[M]=ne}_balanceNamespaceList(M,L){const ne=this._namespaceList.length-1;if(ne>=0){let we=!1;for(let He=ne;He>=0;He--)if(this.driver.containsElement(this._namespaceList[He].hostElement,L)){this._namespaceList.splice(He+1,0,M),we=!0;break}we||this._namespaceList.splice(0,0,M)}else this._namespaceList.push(M);return this.namespacesByHostElement.set(L,M),M}register(M,L){let ne=this._namespaceLookup[M];return ne||(ne=this.createNamespace(M,L)),ne}registerTrigger(M,L,ne){let we=this._namespaceLookup[M];we&&we.register(L,ne)&&this.totalAnimations++}destroy(M,L){if(!M)return;const ne=this._fetchNamespace(M);this.afterFlush(()=>{this.namespacesByHostElement.delete(ne.hostElement),delete this._namespaceLookup[M];const we=this._namespaceList.indexOf(ne);we>=0&&this._namespaceList.splice(we,1)}),this.afterFlushAnimationsDone(()=>ne.destroy(L))}_fetchNamespace(M){return this._namespaceLookup[M]}fetchNamespacesByElement(M){const L=new Set,ne=this.statesByElement.get(M);if(ne){const we=Object.keys(ne);for(let He=0;He=0&&this.collectedLeaveElements.splice(Je,1)}if(M){const Je=this._fetchNamespace(M);Je&&Je.insertNode(L,ne)}we&&this.collectEnterElement(L)}collectEnterElement(M){this.collectedEnterElements.push(M)}markElementAsDisabled(M,L){L?this.disabledNodes.has(M)||(this.disabledNodes.add(M),xn(M,Rt)):this.disabledNodes.has(M)&&(this.disabledNodes.delete(M),Ii(M,Rt))}removeNode(M,L,ne,we){if(bi(L)){const He=M?this._fetchNamespace(M):null;if(He?He.removeNode(L,we):this.markElementAsRemoved(M,L,!1,we),ne){const Je=this.namespacesByHostElement.get(L);Je&&Je.id!==M&&Je.removeNode(L,we)}}else this._onRemovalComplete(L,we)}markElementAsRemoved(M,L,ne,we){this.collectedLeaveElements.push(L),L[An]={namespaceId:M,setForRemoval:we,hasAnimation:ne,removedBeforeQueried:!1}}listen(M,L,ne,we,He){return bi(L)?this._fetchNamespace(M).listen(L,ne,we,He):()=>{}}_buildInstruction(M,L,ne,we,He){return M.transition.build(this.driver,M.element,M.fromState.value,M.toState.value,ne,we,M.fromState.options,M.toState.options,L,He)}destroyInnerAnimations(M){let L=this.driver.query(M,U,!0);L.forEach(ne=>this.destroyActiveAnimationsForElement(ne)),0!=this.playersByQueriedElement.size&&(L=this.driver.query(M,le,!0),L.forEach(ne=>this.finishActiveQueriedAnimationOnElement(ne)))}destroyActiveAnimationsForElement(M){const L=this.playersByElement.get(M);L&&L.forEach(ne=>{ne.queued?ne.markedForDestroy=!0:ne.destroy()})}finishActiveQueriedAnimationOnElement(M){const L=this.playersByQueriedElement.get(M);L&&L.forEach(ne=>ne.finish())}whenRenderingDone(){return new Promise(M=>{if(this.players.length)return d(this.players).onDone(()=>M());M()})}processLeaveNode(M){var L;const ne=M[An];if(ne&&ne.setForRemoval){if(M[An]=wn,ne.namespaceId){this.destroyInnerAnimations(M);const we=this._fetchNamespace(ne.namespaceId);we&&we.clearElementCache(M)}this._onRemovalComplete(M,ne.setForRemoval)}(null===(L=M.classList)||void 0===L?void 0:L.contains(Rt))&&this.markElementAsDisabled(M,!1),this.driver.query(M,".ng-animate-disabled",!0).forEach(we=>{this.markElementAsDisabled(we,!1)})}flush(M=-1){let L=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ne,we)=>this._balanceNamespaceList(ne,we)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ne=0;nene()),this._flushFns=[],this._whenQuietFns.length){const ne=this._whenQuietFns;this._whenQuietFns=[],L.length?d(L).onDone(()=>{ne.forEach(we=>we())}):ne.forEach(we=>we())}}reportError(M){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${M.join("\n")}`)}_flushAnimations(M,L){const ne=new V,we=[],He=new Map,Je=[],at=new Map,St=new Map,Vt=new Map,Gt=new Set;this.disabledNodes.forEach(tn=>{Gt.add(tn);const un=this.driver.query(tn,".ng-animate-queued",!0);for(let ln=0;ln{const ln=pe+Cn++;rn.set(un,ln),tn.forEach(zn=>xn(zn,ln))});const In=[],Gn=new Set,ai=new Set;for(let tn=0;tnGn.add(zn)):ai.add(un))}const Ci=new Map,vi=Fn(yn,Array.from(Gn));vi.forEach((tn,un)=>{const ln=oe+Cn++;Ci.set(un,ln),tn.forEach(zn=>xn(zn,ln))}),M.push(()=>{pn.forEach((tn,un)=>{const ln=rn.get(un);tn.forEach(zn=>Ii(zn,ln))}),vi.forEach((tn,un)=>{const ln=Ci.get(un);tn.forEach(zn=>Ii(zn,ln))}),In.forEach(tn=>{this.processLeaveNode(tn)})});const pr=[],ki=[];for(let tn=this._namespaceList.length-1;tn>=0;tn--)this._namespaceList[tn].drainQueuedTransitions(L).forEach(ln=>{const zn=ln.player,Un=ln.element;if(pr.push(zn),this.collectedEnterElements.length){const Ni=Un[An];if(Ni&&Ni.setForMove)return void zn.destroy()}const hi=!en||!this.driver.containsElement(en,Un),Pn=Ci.get(Un),Ai=rn.get(Un),ei=this._buildInstruction(ln,ne,Ai,Pn,hi);if(ei.errors&&ei.errors.length)return void ki.push(ei);if(hi)return zn.onStart(()=>bt(Un,ei.fromStyles)),zn.onDestroy(()=>ct(Un,ei.toStyles)),void we.push(zn);if(ln.isFallbackTransition)return zn.onStart(()=>bt(Un,ei.fromStyles)),zn.onDestroy(()=>ct(Un,ei.toStyles)),void we.push(zn);const ds=[];ei.timelines.forEach(Ni=>{Ni.stretchStartingKeyframe=!0,this.disabledNodes.has(Ni.element)||ds.push(Ni)}),ei.timelines=ds,ne.append(Un,ei.timelines),Je.push({instruction:ei,player:zn,element:Un}),ei.queriedElements.forEach(Ni=>h(at,Ni,[]).push(zn)),ei.preStyleProps.forEach((Ni,_r)=>{const or=Object.keys(Ni);if(or.length){let Hi=St.get(_r);Hi||St.set(_r,Hi=new Set),or.forEach(zr=>Hi.add(zr))}}),ei.postStyleProps.forEach((Ni,_r)=>{const or=Object.keys(Ni);let Hi=Vt.get(_r);Hi||Vt.set(_r,Hi=new Set),or.forEach(zr=>Hi.add(zr))})});if(ki.length){const tn=[];ki.forEach(un=>{tn.push(`@${un.triggerName} has failed due to:\n`),un.errors.forEach(ln=>tn.push(`- ${ln}\n`))}),pr.forEach(un=>un.destroy()),this.reportError(tn)}const gi=new Map,Zi=new Map;Je.forEach(tn=>{const un=tn.element;ne.has(un)&&(Zi.set(un,un),this._beforeAnimationBuild(tn.player.namespaceId,tn.instruction,gi))}),we.forEach(tn=>{const un=tn.element;this._getPreviousPlayers(un,!1,tn.namespaceId,tn.triggerName,null).forEach(zn=>{h(gi,un,[]).push(zn),zn.destroy()})});const xi=In.filter(tn=>an(tn,St,Vt)),Ji=new Map;Qi(Ji,this.driver,ai,Vt,u.l3).forEach(tn=>{an(tn,St,Vt)&&xi.push(tn)});const mr=new Map;pn.forEach((tn,un)=>{Qi(mr,this.driver,new Set(tn),St,u.k1)}),xi.forEach(tn=>{const un=Ji.get(tn),ln=mr.get(tn);Ji.set(tn,Object.assign(Object.assign({},un),ln))});const gr=[],cs=[],Jr={};Je.forEach(tn=>{const{element:un,player:ln,instruction:zn}=tn;if(ne.has(un)){if(Gt.has(un))return ln.onDestroy(()=>ct(un,zn.toStyles)),ln.disabled=!0,ln.overrideTotalTime(zn.totalTime),void we.push(ln);let Un=Jr;if(Zi.size>1){let Pn=un;const Ai=[];for(;Pn=Pn.parentNode;){const ei=Zi.get(Pn);if(ei){Un=ei;break}Ai.push(Pn)}Ai.forEach(ei=>Zi.set(ei,Un))}const hi=this._buildAnimation(ln.namespaceId,zn,gi,He,mr,Ji);if(ln.setRealPlayer(hi),Un===Jr)gr.push(ln);else{const Pn=this.playersByElement.get(Un);Pn&&Pn.length&&(ln.parentPlayer=d(Pn)),we.push(ln)}}else bt(un,zn.fromStyles),ln.onDestroy(()=>ct(un,zn.toStyles)),cs.push(ln),Gt.has(un)&&we.push(ln)}),cs.forEach(tn=>{const un=He.get(tn.element);if(un&&un.length){const ln=d(un);tn.setRealPlayer(ln)}}),we.forEach(tn=>{tn.parentPlayer?tn.syncPlayerEvents(tn.parentPlayer):tn.destroy()});for(let tn=0;tn!hi.destroyed);Un.length?wi(this,un,Un):this.processLeaveNode(un)}return In.length=0,gr.forEach(tn=>{this.players.push(tn),tn.onDone(()=>{tn.destroy();const un=this.players.indexOf(tn);this.players.splice(un,1)}),tn.play()}),gr}elementContainsData(M,L){let ne=!1;const we=L[An];return we&&we.setForRemoval&&(ne=!0),this.playersByElement.has(L)&&(ne=!0),this.playersByQueriedElement.has(L)&&(ne=!0),this.statesByElement.has(L)&&(ne=!0),this._fetchNamespace(M).elementContainsData(L)||ne}afterFlush(M){this._flushFns.push(M)}afterFlushAnimationsDone(M){this._whenQuietFns.push(M)}_getPreviousPlayers(M,L,ne,we,He){let Je=[];if(L){const at=this.playersByQueriedElement.get(M);at&&(Je=at)}else{const at=this.playersByElement.get(M);if(at){const St=!He||He==bn;at.forEach(Vt=>{Vt.queued||!St&&Vt.triggerName!=we||Je.push(Vt)})}}return(ne||we)&&(Je=Je.filter(at=>!(ne&&ne!=at.namespaceId||we&&we!=at.triggerName))),Je}_beforeAnimationBuild(M,L,ne){const He=L.element,Je=L.isRemovalTransition?void 0:M,at=L.isRemovalTransition?void 0:L.triggerName;for(const St of L.timelines){const Vt=St.element,Gt=Vt!==He,en=h(ne,Vt,[]);this._getPreviousPlayers(Vt,Gt,Je,at,L.toState).forEach(pn=>{const rn=pn.getRealPlayer();rn.beforeDestroy&&rn.beforeDestroy(),pn.destroy(),en.push(pn)})}bt(He,L.fromStyles)}_buildAnimation(M,L,ne,we,He,Je){const at=L.triggerName,St=L.element,Vt=[],Gt=new Set,en=new Set,yn=L.timelines.map(rn=>{const Cn=rn.element;Gt.add(Cn);const In=Cn[An];if(In&&In.removedBeforeQueried)return new u.ZN(rn.duration,rn.delay);const Gn=Cn!==St,ai=function(ye){const M=[];return Wi(ye,M),M}((ne.get(Cn)||Tn).map(gi=>gi.getRealPlayer())).filter(gi=>!!gi.element&&gi.element===Cn),Ci=He.get(Cn),vi=Je.get(Cn),pr=m(0,this._normalizer,0,rn.keyframes,Ci,vi),ki=this._buildPlayer(rn,pr,ai);if(rn.subTimeline&&we&&en.add(Cn),Gn){const gi=new Xn(M,at,Cn);gi.setRealPlayer(ki),Vt.push(gi)}return ki});Vt.forEach(rn=>{h(this.playersByQueriedElement,rn.element,[]).push(rn),rn.onDone(()=>function(ye,M,L){let ne;if(ye instanceof Map){if(ne=ye.get(M),ne){if(ne.length){const we=ne.indexOf(L);ne.splice(we,1)}0==ne.length&&ye.delete(M)}}else if(ne=ye[M],ne){if(ne.length){const we=ne.indexOf(L);ne.splice(we,1)}0==ne.length&&delete ye[M]}return ne}(this.playersByQueriedElement,rn.element,rn))}),Gt.forEach(rn=>xn(rn,ie));const pn=d(yn);return pn.onDestroy(()=>{Gt.forEach(rn=>Ii(rn,ie)),ct(St,L.toStyles)}),en.forEach(rn=>{h(we,rn,[]).push(pn)}),pn}_buildPlayer(M,L,ne){return L.length>0?this.driver.animate(M.element,L,M.duration,M.delay,M.easing,ne):new u.ZN(M.duration,M.delay)}}class Xn{constructor(M,L,ne){this.namespaceId=M,this.triggerName=L,this.element=ne,this._player=new u.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(M){this._containsRealPlayer||(this._player=M,Object.keys(this._queuedCallbacks).forEach(L=>{this._queuedCallbacks[L].forEach(ne=>p(M,L,void 0,ne))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(M.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(M){this.totalTime=M}syncPlayerEvents(M){const L=this._player;L.triggerCallback&&M.onStart(()=>L.triggerCallback("start")),M.onDone(()=>this.finish()),M.onDestroy(()=>this.destroy())}_queueEvent(M,L){h(this._queuedCallbacks,M,[]).push(L)}onDone(M){this.queued&&this._queueEvent("done",M),this._player.onDone(M)}onStart(M){this.queued&&this._queueEvent("start",M),this._player.onStart(M)}onDestroy(M){this.queued&&this._queueEvent("destroy",M),this._player.onDestroy(M)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(M){this.queued||this._player.setPosition(M)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(M){const L=this._player;L.triggerCallback&&L.triggerCallback(M)}}function bi(ye){return ye&&1===ye.nodeType}function mn(ye,M){const L=ye.style.display;return ye.style.display=null!=M?M:"none",L}function Qi(ye,M,L,ne,we){const He=[];L.forEach(St=>He.push(mn(St)));const Je=[];ne.forEach((St,Vt)=>{const Gt={};St.forEach(en=>{const yn=Gt[en]=M.computeStyle(Vt,en,we);(!yn||0==yn.length)&&(Vt[An]=Bn,Je.push(Vt))}),ye.set(Vt,Gt)});let at=0;return L.forEach(St=>mn(St,He[at++])),Je}function Fn(ye,M){const L=new Map;if(ye.forEach(at=>L.set(at,[])),0==M.length)return L;const we=new Set(M),He=new Map;function Je(at){if(!at)return 1;let St=He.get(at);if(St)return St;const Vt=at.parentNode;return St=L.has(Vt)?Vt:we.has(Vt)?1:Je(Vt),He.set(at,St),St}return M.forEach(at=>{const St=Je(at);1!==St&&L.get(St).push(at)}),L}function xn(ye,M){var L;null===(L=ye.classList)||void 0===L||L.add(M)}function Ii(ye,M){var L;null===(L=ye.classList)||void 0===L||L.remove(M)}function wi(ye,M,L){d(L).onDone(()=>ye.processLeaveNode(M))}function Wi(ye,M){for(let L=0;Lwe.add(He)):M.set(ye,ne),L.delete(ye),!0}class gn{constructor(M,L,ne){this.bodyNode=M,this._driver=L,this._normalizer=ne,this._triggerCache={},this.onRemovalComplete=(we,He)=>{},this._transitionEngine=new ci(M,L,ne),this._timelineEngine=new Ye(M,L,ne),this._transitionEngine.onRemovalComplete=(we,He)=>this.onRemovalComplete(we,He)}registerTrigger(M,L,ne,we,He){const Je=M+"-"+we;let at=this._triggerCache[Je];if(!at){const St=[],Vt=gt(this._driver,He,St);if(St.length)throw new Error(`The animation trigger "${we}" has failed to build due to the following errors:\n - ${St.join("\n - ")}`);at=function(ye,M,L){return new Re(ye,M,L)}(we,Vt,this._normalizer),this._triggerCache[Je]=at}this._transitionEngine.registerTrigger(L,we,at)}register(M,L){this._transitionEngine.register(M,L)}destroy(M,L){this._transitionEngine.destroy(M,L)}onInsert(M,L,ne,we){this._transitionEngine.insertNode(M,L,ne,we)}onRemove(M,L,ne,we){this._transitionEngine.removeNode(M,L,we||!1,ne)}disableAnimations(M,L){this._transitionEngine.markElementAsDisabled(M,L)}process(M,L,ne,we){if("@"==ne.charAt(0)){const[He,Je]=g(ne);this._timelineEngine.command(He,L,Je,we)}else this._transitionEngine.trigger(M,L,ne,we)}listen(M,L,ne,we,He){if("@"==ne.charAt(0)){const[Je,at]=g(ne);return this._timelineEngine.listen(Je,L,at,He)}return this._transitionEngine.listen(M,L,ne,we,He)}flush(M=-1){this._transitionEngine.flush(M)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Sn(ye,M){let L=null,ne=null;return Array.isArray(M)&&M.length?(L=mi(M[0]),M.length>1&&(ne=mi(M[M.length-1]))):M&&(L=mi(M)),L||ne?new oi(ye,L,ne):null}let oi=(()=>{class ye{constructor(L,ne,we){this._element=L,this._startStyles=ne,this._endStyles=we,this._state=0;let He=ye.initialStylesByElement.get(L);He||ye.initialStylesByElement.set(L,He={}),this._initialStyles=He}start(){this._state<1&&(this._startStyles&&ct(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ct(this._element,this._initialStyles),this._endStyles&&(ct(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ye.initialStylesByElement.delete(this._element),this._startStyles&&(bt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(bt(this._element,this._endStyles),this._endStyles=null),ct(this._element,this._initialStyles),this._state=3)}}return ye.initialStylesByElement=new WeakMap,ye})();function mi(ye){let M=null;const L=Object.keys(ye);for(let ne=0;nethis._handleCallback(St)}apply(){(function(ye,M){const L=ur(ye,"").trim();let ne=0;L.length&&(function(ye,M){let L=0;for(let ne=0;ne=this._delay&&ne>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Gi(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(ye,M){const ne=ur(ye,"").split(","),we=Vi(ne,M);we>=0&&(ne.splice(we,1),Pi(ye,"",ne.join(",")))}(this._element,this._name))}}function Cr(ye,M,L){Pi(ye,"PlayState",L,Si(ye,M))}function Si(ye,M){const L=ur(ye,"");return L.indexOf(",")>0?Vi(L.split(","),M):Vi([L],M)}function Vi(ye,M){for(let L=0;L=0)return L;return-1}function Gi(ye,M,L){L?ye.removeEventListener(Or,M):ye.addEventListener(Or,M)}function Pi(ye,M,L,ne){const we=br+M;if(null!=ne){const He=ye.style[we];if(He.length){const Je=He.split(",");Je[ne]=L,L=Je.join(",")}}ye.style[we]=L}function ur(ye,M){return ye.style[br+M]||""}class qi{constructor(M,L,ne,we,He,Je,at,St){this.element=M,this.keyframes=L,this.animationName=ne,this._duration=we,this._delay=He,this._finalStyles=at,this._specialStyles=St,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=Je||"linear",this.totalTime=we+He,this._buildStyler()}onStart(M){this._onStartFns.push(M)}onDone(M){this._onDoneFns.push(M)}onDestroy(M){this._onDestroyFns.push(M)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(M=>M()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(M=>M()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(M=>M()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(M){this._styler.setPosition(M)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Di(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(M){const L="start"==M?this._onStartFns:this._onDoneFns;L.forEach(ne=>ne()),L.length=0}beforeDestroy(){this.init();const M={};if(this.hasStarted()){const L=this._state>=3;Object.keys(this._finalStyles).forEach(ne=>{"offset"!=ne&&(M[ne]=L?this._finalStyles[ne]:x(this.element,ne))})}this.currentSnapshot=M}}class $i extends u.ZN{constructor(M,L){super(),this.element=M,this._startingStyles={},this.__initialized=!1,this._styles=X(L)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(M=>{this._startingStyles[M]=this.element.style[M]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(M=>this.element.style.setProperty(M,this._styles[M])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(M=>{const L=this._startingStyles[M];L?this.element.style.setProperty(M,L):this.element.style.removeProperty(M)}),this._startingStyles=null,super.destroy())}}class rr{constructor(){this._count=0}validateStyleProperty(M){return Y(M)}matchesElement(M,L){return!1}containsElement(M,L){return z(M,L)}query(M,L,ne){return G(M,L,ne)}computeStyle(M,L,ne){return window.getComputedStyle(M)[L]}buildKeyframeElement(M,L,ne){ne=ne.map(at=>X(at));let we=`@keyframes ${L} {\n`,He="";ne.forEach(at=>{He=" ";const St=parseFloat(at.offset);we+=`${He}${100*St}% {\n`,He+=" ",Object.keys(at).forEach(Vt=>{const Gt=at[Vt];switch(Vt){case"offset":return;case"easing":return void(Gt&&(we+=`${He}animation-timing-function: ${Gt};\n`));default:return void(we+=`${He}${Vt}: ${Gt};\n`)}}),we+=`${He}}\n`}),we+="}\n";const Je=document.createElement("style");return Je.textContent=we,Je}animate(M,L,ne,we,He,Je=[],at){const St=Je.filter(In=>In instanceof qi),Vt={};Z(ne,we)&&St.forEach(In=>{let Gn=In.currentSnapshot;Object.keys(Gn).forEach(ai=>Vt[ai]=Gn[ai])});const Gt=function(ye){let M={};return ye&&(Array.isArray(ye)?ye:[ye]).forEach(ne=>{Object.keys(ne).forEach(we=>{"offset"==we||"easing"==we||(M[we]=ne[we])})}),M}(L=j(M,L,Vt));if(0==ne)return new $i(M,Gt);const en="gen_css_kf_"+this._count++,yn=this.buildKeyframeElement(M,en,L);(function(ye){var M;const L=null===(M=ye.getRootNode)||void 0===M?void 0:M.call(ye);return"undefined"!=typeof ShadowRoot&&L instanceof ShadowRoot?L:document.head})(M).appendChild(yn);const rn=Sn(M,L),Cn=new qi(M,L,en,ne,we,He,Gt,rn);return Cn.onDestroy(()=>{var ye;(ye=yn).parentNode.removeChild(ye)}),Cn}}class Wn{constructor(M,L,ne,we){this.element=M,this.keyframes=L,this.options=ne,this._specialStyles=we,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=ne.duration,this._delay=ne.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(M=>M()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const M=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,M,this.options),this._finalKeyframe=M.length?M[M.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(M,L,ne){return M.animate(L,ne)}onStart(M){this._onStartFns.push(M)}onDone(M){this._onDoneFns.push(M)}onDestroy(M){this._onDestroyFns.push(M)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(M=>M()),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}_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(M=>M()),this._onDestroyFns=[])}setPosition(M){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=M*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const M={};if(this.hasStarted()){const L=this._finalKeyframe;Object.keys(L).forEach(ne=>{"offset"!=ne&&(M[ne]=this._finished?L[ne]:x(this.element,ne))})}this.currentSnapshot=M}triggerCallback(M){const L="start"==M?this._onStartFns:this._onDoneFns;L.forEach(ne=>ne()),L.length=0}}class Dr{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(fe().toString()),this._cssKeyframesDriver=new rr}validateStyleProperty(M){return Y(M)}matchesElement(M,L){return!1}containsElement(M,L){return z(M,L)}query(M,L,ne){return G(M,L,ne)}computeStyle(M,L,ne){return window.getComputedStyle(M)[L]}overrideWebAnimationsSupport(M){this._isNativeImpl=M}animate(M,L,ne,we,He,Je=[],at){if(!at&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(M,L,ne,we,He,Je);const Gt={duration:ne,delay:we,fill:0==we?"both":"forwards"};He&&(Gt.easing=He);const en={},yn=Je.filter(rn=>rn instanceof Wn);Z(ne,we)&&yn.forEach(rn=>{let Cn=rn.currentSnapshot;Object.keys(Cn).forEach(In=>en[In]=Cn[In])});const pn=Sn(M,L=j(M,L=L.map(rn=>Dt(rn,!1)),en));return new Wn(M,L,Gt,pn)}}function fe(){return c()&&Element.prototype.animate||{}}var k=o(9808);let E=(()=>{class ye extends u._j{constructor(L,ne){super(),this._nextAnimationId=0,this._renderer=L.createRenderer(ne.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(L){const ne=this._nextAnimationId.toString();this._nextAnimationId++;const we=Array.isArray(L)?(0,u.vP)(L):L;return Ze(this._renderer,null,ne,"register",[we]),new I(ne,this._renderer)}}return ye.\u0275fac=function(L){return new(L||ye)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(k.DOCUMENT))},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac}),ye})();class I extends u.LC{constructor(M,L){super(),this._id=M,this._renderer=L}create(M,L){return new de(this._id,M,L||{},this._renderer)}}class de{constructor(M,L,ne,we){this.id=M,this.element=L,this._renderer=we,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ne)}_listen(M,L){return this._renderer.listen(this.element,`@@${this.id}:${M}`,L)}_command(M,...L){return Ze(this._renderer,this.element,this.id,M,L)}onDone(M){this._listen("done",M)}onStart(M){this._listen("start",M)}onDestroy(M){this._listen("destroy",M)}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(M){this._command("setPosition",M)}getPosition(){var M,L;return null!==(L=null===(M=this._renderer.engine.players[+this.id])||void 0===M?void 0:M.getPosition())&&void 0!==L?L:0}}function Ze(ye,M,L,ne,we){return ye.setProperty(M,`@@${L}:${ne}`,we)}const Wt="@.disabled";let hn=(()=>{class ye{constructor(L,ne,we){this.delegate=L,this.engine=ne,this._zone=we,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),ne.onRemovalComplete=(He,Je)=>{const at=null==Je?void 0:Je.parentNode(He);at&&Je.removeChild(at,He)}}createRenderer(L,ne){const He=this.delegate.createRenderer(L,ne);if(!(L&&ne&&ne.data&&ne.data.animation)){let Gt=this._rendererCache.get(He);return Gt||(Gt=new Nn("",He,this.engine),this._rendererCache.set(He,Gt)),Gt}const Je=ne.id,at=ne.id+"-"+this._currentId;this._currentId++,this.engine.register(at,L);const St=Gt=>{Array.isArray(Gt)?Gt.forEach(St):this.engine.registerTrigger(Je,at,L,Gt.name,Gt)};return ne.data.animation.forEach(St),new Hn(this,at,He,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(L,ne,we){L>=0&&Lne(we)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(He=>{const[Je,at]=He;Je(at)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([ne,we]))}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 ye.\u0275fac=function(L){return new(L||ye)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(gn),n.\u0275\u0275inject(n.NgZone))},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac}),ye})();class Nn{constructor(M,L,ne){this.namespaceId=M,this.delegate=L,this.engine=ne,this.destroyNode=this.delegate.destroyNode?we=>L.destroyNode(we):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(M,L){return this.delegate.createElement(M,L)}createComment(M){return this.delegate.createComment(M)}createText(M){return this.delegate.createText(M)}appendChild(M,L){this.delegate.appendChild(M,L),this.engine.onInsert(this.namespaceId,L,M,!1)}insertBefore(M,L,ne,we=!0){this.delegate.insertBefore(M,L,ne),this.engine.onInsert(this.namespaceId,L,M,we)}removeChild(M,L,ne){this.engine.onRemove(this.namespaceId,L,this.delegate,ne)}selectRootElement(M,L){return this.delegate.selectRootElement(M,L)}parentNode(M){return this.delegate.parentNode(M)}nextSibling(M){return this.delegate.nextSibling(M)}setAttribute(M,L,ne,we){this.delegate.setAttribute(M,L,ne,we)}removeAttribute(M,L,ne){this.delegate.removeAttribute(M,L,ne)}addClass(M,L){this.delegate.addClass(M,L)}removeClass(M,L){this.delegate.removeClass(M,L)}setStyle(M,L,ne,we){this.delegate.setStyle(M,L,ne,we)}removeStyle(M,L,ne){this.delegate.removeStyle(M,L,ne)}setProperty(M,L,ne){"@"==L.charAt(0)&&L==Wt?this.disableAnimations(M,!!ne):this.delegate.setProperty(M,L,ne)}setValue(M,L){this.delegate.setValue(M,L)}listen(M,L,ne){return this.delegate.listen(M,L,ne)}disableAnimations(M,L){this.engine.disableAnimations(M,L)}}class Hn extends Nn{constructor(M,L,ne,we){super(L,ne,we),this.factory=M,this.namespaceId=L}setProperty(M,L,ne){"@"==L.charAt(0)?"."==L.charAt(1)&&L==Wt?this.disableAnimations(M,ne=void 0===ne||!!ne):this.engine.process(this.namespaceId,M,L.substr(1),ne):this.delegate.setProperty(M,L,ne)}listen(M,L,ne){if("@"==L.charAt(0)){const we=function(ye){switch(ye){case"body":return document.body;case"document":return document;case"window":return window;default:return ye}}(M);let He=L.substr(1),Je="";return"@"!=He.charAt(0)&&([He,Je]=function(ye){const M=ye.indexOf(".");return[ye.substring(0,M),ye.substr(M+1)]}(He)),this.engine.listen(this.namespaceId,we,He,Je,at=>{this.factory.scheduleListenerCallback(at._data||-1,ne,at)})}return this.delegate.listen(M,L,ne)}}let Qn=(()=>{class ye extends gn{constructor(L,ne,we){super(L.body,ne,we)}ngOnDestroy(){this.flush()}}return ye.\u0275fac=function(L){return new(L||ye)(n.\u0275\u0275inject(k.DOCUMENT),n.\u0275\u0275inject(q),n.\u0275\u0275inject(Rn))},ye.\u0275prov=n.\u0275\u0275defineInjectable({token:ye,factory:ye.\u0275fac}),ye})();const ji=new n.InjectionToken("AnimationModuleType"),sr=[{provide:u._j,useClass:E},{provide:Rn,useFactory:function(){return new ti}},{provide:gn,useClass:Qn},{provide:n.RendererFactory2,useFactory:function(ye,M,L){return new hn(ye,M,L)},deps:[l.\u0275DomRendererFactory2,gn,n.NgZone]}],jr=[{provide:q,useFactory:function(){return"function"==typeof fe()?new Dr:new rr}},{provide:ji,useValue:"BrowserAnimations"},...sr],Sr=[{provide:q,useClass:Q},{provide:ji,useValue:"NoopAnimations"},...sr];let Hr=(()=>{class ye{static withConfig(L){return{ngModule:ye,providers:L.disableAnimations?Sr:jr}}}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275mod=n.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=n.\u0275\u0275defineInjector({providers:jr,imports:[l.BrowserModule]}),ye})(),Cs=(()=>{class ye{}return ye.\u0275fac=function(L){return new(L||ye)},ye.\u0275mod=n.\u0275\u0275defineNgModule({type:ye}),ye.\u0275inj=n.\u0275\u0275defineInjector({providers:Sr,imports:[l.BrowserModule]}),ye})()},2313:(he,A,o)=>{"use strict";o.r(A),o.d(A,{\u0275getDOM:()=>n.\u0275getDOM,BrowserModule:()=>ze,BrowserTransferStateModule:()=>lt,By:()=>Ot,DomSanitizer:()=>Ct,EVENT_MANAGER_PLUGINS:()=>C,EventManager:()=>P,HAMMER_GESTURE_CONFIG:()=>Ee,HAMMER_LOADER:()=>B,HammerGestureConfig:()=>V,HammerModule:()=>je,Meta:()=>mt,Title:()=>j,TransferState:()=>Mt,VERSION:()=>vn,disableDebugTools:()=>gt,enableDebugTools:()=>Ft,makeStateKey:()=>_t,platformBrowser:()=>Ne,\u0275BrowserDomAdapter:()=>c,\u0275BrowserGetTestability:()=>g,\u0275DomEventsPlugin:()=>Ke,\u0275DomRendererFactory2:()=>ae,\u0275DomSanitizerImpl:()=>$t,\u0275DomSharedStylesHost:()=>T,\u0275HammerGesturesPlugin:()=>be,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>dt,\u0275KeyEventsPlugin:()=>Qe,\u0275NAMESPACE_URIS:()=>$,\u0275SharedStylesHost:()=>D,\u0275TRANSITION_ID:()=>y,\u0275escapeHtml:()=>Lt,\u0275flattenStyles:()=>xe,\u0275initDomAdapter:()=>bt,\u0275shimContentAttribute:()=>ue,\u0275shimHostAttribute:()=>me});var n=o(9808),l=o(5e3);class u extends n.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class c extends u{static makeCurrent(){(0,n.\u0275setRootDomAdapter)(new c)}onAndCancel(st,Ve,ut){return st.addEventListener(Ve,ut,!1),()=>{st.removeEventListener(Ve,ut,!1)}}dispatchEvent(st,Ve){st.dispatchEvent(Ve)}remove(st){st.parentNode&&st.parentNode.removeChild(st)}createElement(st,Ve){return(Ve=Ve||this.getDefaultDocument()).createElement(st)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(st){return st.nodeType===Node.ELEMENT_NODE}isShadowRoot(st){return st instanceof DocumentFragment}getGlobalEventTarget(st,Ve){return"window"===Ve?window:"document"===Ve?st:"body"===Ve?st.body:null}getBaseHref(st){const Ve=(r=r||document.querySelector("base"),r?r.getAttribute("href"):null);return null==Ve?null:function(it){m=m||document.createElement("a"),m.setAttribute("href",it);const st=m.pathname;return"/"===st.charAt(0)?st:`/${st}`}(Ve)}resetBaseElement(){r=null}getUserAgent(){return window.navigator.userAgent}getCookie(st){return(0,n.\u0275parseCookieValue)(document.cookie,st)}}let m,r=null;const y=new l.InjectionToken("TRANSITION_ID"),h=[{provide:l.APP_INITIALIZER,useFactory:function(it,st,Ve){return()=>{Ve.get(l.ApplicationInitStatus).donePromise.then(()=>{const ut=(0,n.\u0275getDOM)(),At=st.querySelectorAll(`style[ng-transition="${it}"]`);for(let Xt=0;Xt{const Xt=st.findTestabilityInTree(ut,At);if(null==Xt)throw new Error("Could not find testability for element.");return Xt},l.\u0275global.getAllAngularTestabilities=()=>st.getAllTestabilities(),l.\u0275global.getAllAngularRootElements=()=>st.getAllRootElements(),l.\u0275global.frameworkStabilizers||(l.\u0275global.frameworkStabilizers=[]),l.\u0275global.frameworkStabilizers.push(ut=>{const At=l.\u0275global.getAllAngularTestabilities();let Xt=At.length,Jt=!1;const fn=function(Rn){Jt=Jt||Rn,Xt--,0==Xt&&ut(Jt)};At.forEach(function(Rn){Rn.whenStable(fn)})})}findTestabilityInTree(st,Ve,ut){if(null==Ve)return null;const At=st.getTestability(Ve);return null!=At?At:ut?(0,n.\u0275getDOM)().isShadowRoot(Ve)?this.findTestabilityInTree(st,Ve.host,!0):this.findTestabilityInTree(st,Ve.parentElement,!0):null}}let s=(()=>{class it{build(){return new XMLHttpRequest}}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();const C=new l.InjectionToken("EventManagerPlugins");let P=(()=>{class it{constructor(Ve,ut){this._zone=ut,this._eventNameToPlugin=new Map,Ve.forEach(At=>At.manager=this),this._plugins=Ve.slice().reverse()}addEventListener(Ve,ut,At){return this._findPluginFor(ut).addEventListener(Ve,ut,At)}addGlobalEventListener(Ve,ut,At){return this._findPluginFor(ut).addGlobalEventListener(Ve,ut,At)}getZone(){return this._zone}_findPluginFor(Ve){const ut=this._eventNameToPlugin.get(Ve);if(ut)return ut;const At=this._plugins;for(let Xt=0;Xt{class it{constructor(){this._stylesSet=new Set}addStyles(Ve){const ut=new Set;Ve.forEach(At=>{this._stylesSet.has(At)||(this._stylesSet.add(At),ut.add(At))}),this.onStylesAdded(ut)}onStylesAdded(Ve){}getAllStyles(){return Array.from(this._stylesSet)}}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})(),T=(()=>{class it extends D{constructor(Ve){super(),this._doc=Ve,this._hostNodes=new Map,this._hostNodes.set(Ve.head,[])}_addStylesToHost(Ve,ut,At){Ve.forEach(Xt=>{const Jt=this._doc.createElement("style");Jt.textContent=Xt,At.push(ut.appendChild(Jt))})}addHost(Ve){const ut=[];this._addStylesToHost(this._stylesSet,Ve,ut),this._hostNodes.set(Ve,ut)}removeHost(Ve){const ut=this._hostNodes.get(Ve);ut&&ut.forEach(Y),this._hostNodes.delete(Ve)}onStylesAdded(Ve){this._hostNodes.forEach((ut,At)=>{this._addStylesToHost(Ve,At,ut)})}ngOnDestroy(){this._hostNodes.forEach(Ve=>Ve.forEach(Y))}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();function Y(it){(0,n.\u0275getDOM)().remove(it)}const $={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/"},z=/%COMP%/g,X="%COMP%",Q=`_nghost-${X}`,q=`_ngcontent-${X}`;function ue(it){return q.replace(z,it)}function me(it){return Q.replace(z,it)}function xe(it,st,Ve){for(let ut=0;ut{if("__ngUnwrap__"===st)return it;!1===it(st)&&(st.preventDefault(),st.returnValue=!1)}}let ae=(()=>{class it{constructor(Ve,ut,At){this.eventManager=Ve,this.sharedStylesHost=ut,this.appId=At,this.rendererByCompId=new Map,this.defaultRenderer=new U(Ve)}createRenderer(Ve,ut){if(!Ve||!ut)return this.defaultRenderer;switch(ut.encapsulation){case l.ViewEncapsulation.Emulated:{let At=this.rendererByCompId.get(ut.id);return At||(At=new Ce(this.eventManager,this.sharedStylesHost,ut,this.appId),this.rendererByCompId.set(ut.id,At)),At.applyToHost(Ve),At}case 1:case l.ViewEncapsulation.ShadowDom:return new Te(this.eventManager,this.sharedStylesHost,Ve,ut);default:if(!this.rendererByCompId.has(ut.id)){const At=xe(ut.id,ut.styles,[]);this.sharedStylesHost.addStyles(At),this.rendererByCompId.set(ut.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(P),l.\u0275\u0275inject(T),l.\u0275\u0275inject(l.APP_ID))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();class U{constructor(st){this.eventManager=st,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(st,Ve){return Ve?document.createElementNS($[Ve]||Ve,st):document.createElement(st)}createComment(st){return document.createComment(st)}createText(st){return document.createTextNode(st)}appendChild(st,Ve){st.appendChild(Ve)}insertBefore(st,Ve,ut){st&&st.insertBefore(Ve,ut)}removeChild(st,Ve){st&&st.removeChild(Ve)}selectRootElement(st,Ve){let ut="string"==typeof st?document.querySelector(st):st;if(!ut)throw new Error(`The selector "${st}" did not match any elements`);return Ve||(ut.textContent=""),ut}parentNode(st){return st.parentNode}nextSibling(st){return st.nextSibling}setAttribute(st,Ve,ut,At){if(At){Ve=At+":"+Ve;const Xt=$[At];Xt?st.setAttributeNS(Xt,Ve,ut):st.setAttribute(Ve,ut)}else st.setAttribute(Ve,ut)}removeAttribute(st,Ve,ut){if(ut){const At=$[ut];At?st.removeAttributeNS(At,Ve):st.removeAttribute(`${ut}:${Ve}`)}else st.removeAttribute(Ve)}addClass(st,Ve){st.classList.add(Ve)}removeClass(st,Ve){st.classList.remove(Ve)}setStyle(st,Ve,ut,At){At&(l.RendererStyleFlags2.DashCase|l.RendererStyleFlags2.Important)?st.style.setProperty(Ve,ut,At&l.RendererStyleFlags2.Important?"important":""):st.style[Ve]=ut}removeStyle(st,Ve,ut){ut&l.RendererStyleFlags2.DashCase?st.style.removeProperty(Ve):st.style[Ve]=""}setProperty(st,Ve,ut){st[Ve]=ut}setValue(st,Ve){st.nodeValue=Ve}listen(st,Ve,ut){return"string"==typeof st?this.eventManager.addGlobalEventListener(st,Ve,pe(ut)):this.eventManager.addEventListener(st,Ve,pe(ut))}}class Ce extends U{constructor(st,Ve,ut,At){super(st),this.component=ut;const Xt=xe(At+"-"+ut.id,ut.styles,[]);Ve.addStyles(Xt),this.contentAttr=ue(At+"-"+ut.id),this.hostAttr=me(At+"-"+ut.id)}applyToHost(st){super.setAttribute(st,this.hostAttr,"")}createElement(st,Ve){const ut=super.createElement(st,Ve);return super.setAttribute(ut,this.contentAttr,""),ut}}class Te extends U{constructor(st,Ve,ut,At){super(st),this.sharedStylesHost=Ve,this.hostEl=ut,this.shadowRoot=ut.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Xt=xe(At.id,At.styles,[]);for(let Jt=0;Jt{class it extends w{constructor(Ve){super(Ve)}supports(Ve){return!0}addEventListener(Ve,ut,At){return Ve.addEventListener(ut,At,!1),()=>this.removeEventListener(Ve,ut,At)}removeEventListener(Ve,ut,At){return Ve.removeEventListener(ut,At)}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();const tt=["alt","control","meta","shift"],pt={"\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"},Dt={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ie={alt:it=>it.altKey,control:it=>it.ctrlKey,meta:it=>it.metaKey,shift:it=>it.shiftKey};let Qe=(()=>{class it extends w{constructor(Ve){super(Ve)}supports(Ve){return null!=it.parseEventName(Ve)}addEventListener(Ve,ut,At){const Xt=it.parseEventName(ut),Jt=it.eventCallback(Xt.fullKey,At,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.\u0275getDOM)().onAndCancel(Ve,Xt.domEventName,Jt))}static parseEventName(Ve){const ut=Ve.toLowerCase().split("."),At=ut.shift();if(0===ut.length||"keydown"!==At&&"keyup"!==At)return null;const Xt=it._normalizeKey(ut.pop());let Jt="";if(tt.forEach(Rn=>{const li=ut.indexOf(Rn);li>-1&&(ut.splice(li,1),Jt+=Rn+".")}),Jt+=Xt,0!=ut.length||0===Xt.length)return null;const fn={};return fn.domEventName=At,fn.fullKey=Jt,fn}static getEventFullKey(Ve){let ut="",At=function(it){let st=it.key;if(null==st){if(st=it.keyIdentifier,null==st)return"Unidentified";st.startsWith("U+")&&(st=String.fromCharCode(parseInt(st.substring(2),16)),3===it.location&&Dt.hasOwnProperty(st)&&(st=Dt[st]))}return pt[st]||st}(Ve);return At=At.toLowerCase()," "===At?At="space":"."===At&&(At="dot"),tt.forEach(Xt=>{Xt!=At&&Ie[Xt](Ve)&&(ut+=Xt+".")}),ut+=At,ut}static eventCallback(Ve,ut,At){return Xt=>{it.getEventFullKey(Xt)===Ve&&At.runGuarded(()=>ut(Xt))}}static _normalizeKey(Ve){return"esc"===Ve?"escape":Ve}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();function bt(){c.makeCurrent(),g.init()}const dt=[{provide:l.PLATFORM_ID,useValue:n.\u0275PLATFORM_BROWSER_ID},{provide:l.PLATFORM_INITIALIZER,useValue:bt,multi:!0},{provide:n.DOCUMENT,useFactory:function(){return(0,l.\u0275setDocument)(document),document},deps:[]}],Ne=(0,l.createPlatformFactory)(l.platformCore,"browser",dt),rt=[{provide:l.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:l.ErrorHandler,useFactory:function(){return new l.ErrorHandler},deps:[]},{provide:C,useClass:Ke,multi:!0,deps:[n.DOCUMENT,l.NgZone,l.PLATFORM_ID]},{provide:C,useClass:Qe,multi:!0,deps:[n.DOCUMENT]},{provide:ae,useClass:ae,deps:[P,T,l.APP_ID]},{provide:l.RendererFactory2,useExisting:ae},{provide:D,useExisting:T},{provide:T,useClass:T,deps:[n.DOCUMENT]},{provide:l.Testability,useClass:l.Testability,deps:[l.NgZone]},{provide:P,useClass:P,deps:[C,l.NgZone]},{provide:n.XhrFactory,useClass:s,deps:[]}];let ze=(()=>{class it{constructor(Ve){if(Ve)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(Ve){return{ngModule:it,providers:[{provide:l.APP_ID,useValue:Ve.appId},{provide:y,useExisting:l.APP_ID},h]}}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(it,12))},it.\u0275mod=l.\u0275\u0275defineNgModule({type:it}),it.\u0275inj=l.\u0275\u0275defineInjector({providers:rt,imports:[n.CommonModule,l.ApplicationModule]}),it})(),mt=(()=>{class it{constructor(Ve){this._doc=Ve,this._dom=(0,n.\u0275getDOM)()}addTag(Ve,ut=!1){return Ve?this._getOrCreateElement(Ve,ut):null}addTags(Ve,ut=!1){return Ve?Ve.reduce((At,Xt)=>(Xt&&At.push(this._getOrCreateElement(Xt,ut)),At),[]):[]}getTag(Ve){return Ve&&this._doc.querySelector(`meta[${Ve}]`)||null}getTags(Ve){if(!Ve)return[];const ut=this._doc.querySelectorAll(`meta[${Ve}]`);return ut?[].slice.call(ut):[]}updateTag(Ve,ut){if(!Ve)return null;ut=ut||this._parseSelector(Ve);const At=this.getTag(ut);return At?this._setMetaElementAttributes(Ve,At):this._getOrCreateElement(Ve,!0)}removeTag(Ve){this.removeTagElement(this.getTag(Ve))}removeTagElement(Ve){Ve&&this._dom.remove(Ve)}_getOrCreateElement(Ve,ut=!1){if(!ut){const Jt=this._parseSelector(Ve),fn=this.getTags(Jt).filter(Rn=>this._containsAttributes(Ve,Rn))[0];if(void 0!==fn)return fn}const At=this._dom.createElement("meta");return this._setMetaElementAttributes(Ve,At),this._doc.getElementsByTagName("head")[0].appendChild(At),At}_setMetaElementAttributes(Ve,ut){return Object.keys(Ve).forEach(At=>ut.setAttribute(this._getMetaKeyMap(At),Ve[At])),ut}_parseSelector(Ve){const ut=Ve.name?"name":"property";return`${ut}="${Ve[ut]}"`}_containsAttributes(Ve,ut){return Object.keys(Ve).every(At=>ut.getAttribute(this._getMetaKeyMap(At))===Ve[At])}_getMetaKeyMap(Ve){return _e[Ve]||Ve}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:function(Ve){let ut=null;return ut=Ve?new Ve:new mt((0,l.\u0275\u0275inject)(n.DOCUMENT)),ut},providedIn:"root"}),it})();const _e={httpEquiv:"http-equiv"};let j=(()=>{class it{constructor(Ve){this._doc=Ve}getTitle(){return this._doc.title}setTitle(Ve){this._doc.title=Ve||""}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:function(Ve){let ut=null;return ut=Ve?new Ve:new j((0,l.\u0275\u0275inject)(n.DOCUMENT)),ut},providedIn:"root"}),it})();function Ue(it,st){"undefined"!=typeof COMPILED&&COMPILED||((l.\u0275global.ng=l.\u0275global.ng||{})[it]=st)}const Oe="undefined"!=typeof window&&window||{};class ve{constructor(st,Ve){this.msPerTick=st,this.numTicks=Ve}}class Ae{constructor(st){this.appRef=st.injector.get(l.ApplicationRef)}timeChangeDetection(st){const Ve=st&&st.record,ut="Change Detection",At=null!=Oe.console.profile;Ve&&At&&Oe.console.profile(ut);const Xt=nt();let Jt=0;for(;Jt<5||nt()-Xt<500;)this.appRef.tick(),Jt++;const fn=nt();Ve&&At&&Oe.console.profileEnd(ut);const Rn=(fn-Xt)/Jt;return Oe.console.log(`ran ${Jt} change detection cycles`),Oe.console.log(`${Rn.toFixed(2)} ms per check`),new ve(Rn,Jt)}}function nt(){return Oe.performance&&Oe.performance.now?Oe.performance.now():(new Date).getTime()}const Pt="profiler";function Ft(it){return Ue(Pt,new Ae(it)),it}function gt(){Ue(Pt,null)}function Lt(it){const st={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return it.replace(/[&"'<>]/g,Ve=>st[Ve])}function _t(it){return it}let Mt=(()=>{class it{constructor(){this.store={},this.onSerializeCallbacks={}}static init(Ve){const ut=new it;return ut.store=Ve,ut}get(Ve,ut){return void 0!==this.store[Ve]?this.store[Ve]:ut}set(Ve,ut){this.store[Ve]=ut}remove(Ve){delete this.store[Ve]}hasKey(Ve){return this.store.hasOwnProperty(Ve)}onSerialize(Ve,ut){this.onSerializeCallbacks[Ve]=ut}toJson(){for(const Ve in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(Ve))try{this.store[Ve]=this.onSerializeCallbacks[Ve]()}catch(ut){console.warn("Exception in onSerialize callback: ",ut)}return JSON.stringify(this.store)}}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})();function Ge(it,st){const Ve=it.getElementById(st+"-state");let ut={};if(Ve&&Ve.textContent)try{ut=JSON.parse(function(it){const st={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return it.replace(/&[^;]+;/g,Ve=>st[Ve])}(Ve.textContent))}catch(At){console.warn("Exception while restoring TransferState for app "+st,At)}return Mt.init(ut)}let lt=(()=>{class it{}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275mod=l.\u0275\u0275defineNgModule({type:it}),it.\u0275inj=l.\u0275\u0275defineInjector({providers:[{provide:Mt,useFactory:Ge,deps:[n.DOCUMENT,l.APP_ID]}]}),it})();class Ot{static all(){return()=>!0}static css(st){return Ve=>null!=Ve.nativeElement&&function(it,st){return!!(0,n.\u0275getDOM)().isElementNode(it)&&(it.matches&&it.matches(st)||it.msMatchesSelector&&it.msMatchesSelector(st)||it.webkitMatchesSelector&&it.webkitMatchesSelector(st))}(Ve.nativeElement,st)}static directive(st){return Ve=>-1!==Ve.providerTokens.indexOf(st)}}const Pe={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},Ee=new l.InjectionToken("HammerGestureConfig"),B=new l.InjectionToken("HammerLoader");let V=(()=>{class it{constructor(){this.events=[],this.overrides={}}buildHammer(Ve){const ut=new Hammer(Ve,this.options);ut.get("pinch").set({enable:!0}),ut.get("rotate").set({enable:!0});for(const At in this.overrides)ut.get(At).set(this.overrides[At]);return ut}}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})(),be=(()=>{class it extends w{constructor(Ve,ut,At,Xt){super(Ve),this._config=ut,this.console=At,this.loader=Xt,this._loaderPromise=null}supports(Ve){return!(!Pe.hasOwnProperty(Ve.toLowerCase())&&!this.isCustomEvent(Ve)||!window.Hammer&&!this.loader)}addEventListener(Ve,ut,At){const Xt=this.manager.getZone();if(ut=ut.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let Jt=!1,fn=()=>{Jt=!0};return this._loaderPromise.then(()=>{window.Hammer?Jt||(fn=this.addEventListener(Ve,ut,At)):fn=()=>{}}).catch(()=>{fn=()=>{}}),()=>{fn()}}return Xt.runOutsideAngular(()=>{const Jt=this._config.buildHammer(Ve),fn=function(Rn){Xt.runGuarded(function(){At(Rn)})};return Jt.on(ut,fn),()=>{Jt.off(ut,fn),"function"==typeof Jt.destroy&&Jt.destroy()}})}isCustomEvent(Ve){return this._config.events.indexOf(Ve)>-1}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT),l.\u0275\u0275inject(Ee),l.\u0275\u0275inject(l.\u0275Console),l.\u0275\u0275inject(B,8))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:it.\u0275fac}),it})(),je=(()=>{class it{}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275mod=l.\u0275\u0275defineNgModule({type:it}),it.\u0275inj=l.\u0275\u0275defineInjector({providers:[{provide:C,useClass:be,multi:!0,deps:[n.DOCUMENT,Ee,l.\u0275Console,[new l.Optional,B]]},{provide:Ee,useClass:V,deps:[]}]}),it})(),Ct=(()=>{class it{}return it.\u0275fac=function(Ve){return new(Ve||it)},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:function(Ve){let ut=null;return ut=Ve?new(Ve||it):l.\u0275\u0275inject($t),ut},providedIn:"root"}),it})(),$t=(()=>{class it extends Ct{constructor(Ve){super(),this._doc=Ve}sanitize(Ve,ut){if(null==ut)return null;switch(Ve){case l.SecurityContext.NONE:return ut;case l.SecurityContext.HTML:return(0,l.\u0275allowSanitizationBypassAndThrow)(ut,"HTML")?(0,l.\u0275unwrapSafeValue)(ut):(0,l.\u0275_sanitizeHtml)(this._doc,String(ut)).toString();case l.SecurityContext.STYLE:return(0,l.\u0275allowSanitizationBypassAndThrow)(ut,"Style")?(0,l.\u0275unwrapSafeValue)(ut):ut;case l.SecurityContext.SCRIPT:if((0,l.\u0275allowSanitizationBypassAndThrow)(ut,"Script"))return(0,l.\u0275unwrapSafeValue)(ut);throw new Error("unsafe value used in a script context");case l.SecurityContext.URL:return(0,l.\u0275getSanitizationBypassType)(ut),(0,l.\u0275allowSanitizationBypassAndThrow)(ut,"URL")?(0,l.\u0275unwrapSafeValue)(ut):(0,l.\u0275_sanitizeUrl)(String(ut));case l.SecurityContext.RESOURCE_URL:if((0,l.\u0275allowSanitizationBypassAndThrow)(ut,"ResourceURL"))return(0,l.\u0275unwrapSafeValue)(ut);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${Ve} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(Ve){return(0,l.\u0275bypassSanitizationTrustHtml)(Ve)}bypassSecurityTrustStyle(Ve){return(0,l.\u0275bypassSanitizationTrustStyle)(Ve)}bypassSecurityTrustScript(Ve){return(0,l.\u0275bypassSanitizationTrustScript)(Ve)}bypassSecurityTrustUrl(Ve){return(0,l.\u0275bypassSanitizationTrustUrl)(Ve)}bypassSecurityTrustResourceUrl(Ve){return(0,l.\u0275bypassSanitizationTrustResourceUrl)(Ve)}}return it.\u0275fac=function(Ve){return new(Ve||it)(l.\u0275\u0275inject(n.DOCUMENT))},it.\u0275prov=l.\u0275\u0275defineInjectable({token:it,factory:function(Ve){let ut=null;return ut=Ve?new Ve:function(it){return new $t(it.get(n.DOCUMENT))}(l.\u0275\u0275inject(l.Injector)),ut},providedIn:"root"}),it})();const vn=new l.Version("13.1.1")},4202:(he,A,o)=>{"use strict";o.r(A),o.d(A,{ActivatedRoute:()=>S,ActivatedRouteSnapshot:()=>Ye,ActivationEnd:()=>bt,ActivationStart:()=>ct,BaseRouteReuseStrategy:()=>gi,ChildActivationEnd:()=>Qe,ChildActivationStart:()=>Ie,ChildrenOutletContexts:()=>Li,DefaultUrlSerializer:()=>B,GuardsCheckEnd:()=>Ke,GuardsCheckStart:()=>Te,NavigationCancel:()=>ie,NavigationEnd:()=>U,NavigationError:()=>le,NavigationStart:()=>ae,NoPreloading:()=>_r,OutletContext:()=>Cr,PRIMARY_OUTLET:()=>xt,PreloadAllModules:()=>Ni,PreloadingStrategy:()=>hs,ROUTER_CONFIGURATION:()=>yr,ROUTER_INITIALIZER:()=>Qt,ROUTES:()=>xi,ResolveEnd:()=>ot,ResolveStart:()=>tt,RouteConfigLoadEnd:()=>Dt,RouteConfigLoadStart:()=>pt,RouteReuseStrategy:()=>ki,Router:()=>ln,RouterEvent:()=>oe,RouterLink:()=>hi,RouterLinkActive:()=>ei,RouterLinkWithHref:()=>Pn,RouterModule:()=>fs,RouterOutlet:()=>Er,RouterPreloader:()=>or,RouterState:()=>Xe,RouterStateSnapshot:()=>kt,RoutesRecognized:()=>Ce,Scroll:()=>Et,UrlHandlingStrategy:()=>Zr,UrlSegment:()=>lt,UrlSegmentGroup:()=>Ge,UrlSerializer:()=>Ee,UrlTree:()=>Mt,VERSION:()=>fi,convertToParamMap:()=>Ne,provideRoutes:()=>ms,\u0275EmptyOutletComponent:()=>Vi,\u0275ROUTER_PROVIDERS:()=>Ns,\u0275assignExtraOptionsToRouter:()=>R,\u0275flatten:()=>_});var n=o(5e3),l=o(5254),u=o(1086),c=o(591),r=o(6053),d=o(6498),m=o(4450),p=o(1961),y=o(8514),b=o(8896),h=o(1762),g=o(8929),s=o(4850),C=o(7545),P=o(2986),w=o(1059),D=o(2014),T=o(2198),Y=o(7221),$=o(1406),z=o(8127),G=o(7224),X=o(1709),Q=o(2868),q=o(2821),ue=o(4327),me=o(537),xe=o(9146),pe=o(9808);class oe{constructor(W,F){this.id=W,this.url=F}}class ae extends oe{constructor(W,F,ge="imperative",De=null){super(W,F),this.navigationTrigger=ge,this.restoredState=De}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class U extends oe{constructor(W,F,ge){super(W,F),this.urlAfterRedirects=ge}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ie extends oe{constructor(W,F,ge){super(W,F),this.reason=ge}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class le extends oe{constructor(W,F,ge){super(W,F),this.error=ge}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Ce extends oe{constructor(W,F,ge,De){super(W,F),this.urlAfterRedirects=ge,this.state=De}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Te extends oe{constructor(W,F,ge,De){super(W,F),this.urlAfterRedirects=ge,this.state=De}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ke extends oe{constructor(W,F,ge,De,Fe){super(W,F),this.urlAfterRedirects=ge,this.state=De,this.shouldActivate=Fe}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class tt extends oe{constructor(W,F,ge,De){super(W,F),this.urlAfterRedirects=ge,this.state=De}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ot extends oe{constructor(W,F,ge,De){super(W,F),this.urlAfterRedirects=ge,this.state=De}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pt{constructor(W){this.route=W}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Dt{constructor(W){this.route=W}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ie{constructor(W){this.snapshot=W}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qe{constructor(W){this.snapshot=W}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ct{constructor(W){this.snapshot=W}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bt{constructor(W){this.snapshot=W}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Et{constructor(W,F,ge){this.routerEvent=W,this.position=F,this.anchor=ge}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const xt="primary";class dt{constructor(W){this.params=W||{}}has(W){return Object.prototype.hasOwnProperty.call(this.params,W)}get(W){if(this.has(W)){const F=this.params[W];return Array.isArray(F)?F[0]:F}return null}getAll(W){if(this.has(W)){const F=this.params[W];return Array.isArray(F)?F:[F]}return[]}get keys(){return Object.keys(this.params)}}function Ne(re){return new dt(re)}const rt="ngNavigationCancelingError";function ze(re){const W=Error("NavigationCancelingError: "+re);return W[rt]=!0,W}function mt(re,W,F){const ge=F.path.split("/");if(ge.length>re.length||"full"===F.pathMatch&&(W.hasChildren()||ge.lengthge[Fe]===De)}return re===W}function _(re){return Array.prototype.concat.apply([],re)}function x(re){return re.length>0?re[re.length-1]:null}function ce(re,W){for(const F in re)re.hasOwnProperty(F)&&W(re[F],F)}function Ue(re){return(0,n.\u0275isObservable)(re)?re:(0,n.\u0275isPromise)(re)?(0,l.D)(Promise.resolve(re)):(0,u.of)(re)}const ve={exact:function Ft(re,W,F){if(!Nt(re.segments,W.segments)||!_t(re.segments,W.segments,F)||re.numberOfChildren!==W.numberOfChildren)return!1;for(const ge in W.children)if(!re.children[ge]||!Ft(re.children[ge],W.children[ge],F))return!1;return!0},subset:Lt},Ae={exact:function(re,W){return Z(re,W)},subset:function(re,W){return Object.keys(W).length<=Object.keys(re).length&&Object.keys(W).every(F=>j(re[F],W[F]))},ignored:()=>!0};function nt(re,W,F){return ve[F.paths](re.root,W.root,F.matrixParams)&&Ae[F.queryParams](re.queryParams,W.queryParams)&&!("exact"===F.fragment&&re.fragment!==W.fragment)}function Lt(re,W,F){return $e(re,W,W.segments,F)}function $e(re,W,F,ge){if(re.segments.length>F.length){const De=re.segments.slice(0,F.length);return!(!Nt(De,F)||W.hasChildren()||!_t(De,F,ge))}if(re.segments.length===F.length){if(!Nt(re.segments,F)||!_t(re.segments,F,ge))return!1;for(const De in W.children)if(!re.children[De]||!Lt(re.children[De],W.children[De],ge))return!1;return!0}{const De=F.slice(0,re.segments.length),Fe=F.slice(re.segments.length);return!!(Nt(re.segments,De)&&_t(re.segments,De,ge)&&re.children[xt])&&$e(re.children[xt],W,Fe,ge)}}function _t(re,W,F){return W.every((ge,De)=>Ae[F](re[De].parameters,ge.parameters))}class Mt{constructor(W,F,ge){this.root=W,this.queryParams=F,this.fragment=ge}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ne(this.queryParams)),this._queryParamMap}toString(){return V.serialize(this)}}class Ge{constructor(W,F){this.segments=W,this.children=F,this.parent=null,ce(F,(ge,De)=>ge.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return be(this)}}class lt{constructor(W,F){this.path=W,this.parameters=F}get parameterMap(){return this._parameterMap||(this._parameterMap=Ne(this.parameters)),this._parameterMap}toString(){return Ve(this)}}function Nt(re,W){return re.length===W.length&&re.every((F,ge)=>F.path===W[ge].path)}class Ee{}class B{parse(W){const F=new pi(W);return new Mt(F.parseRootSegment(),F.parseQueryParams(),F.parseFragment())}serialize(W){const F=`/${je(W.root,!0)}`,ge=function(re){const W=Object.keys(re).map(F=>{const ge=re[F];return Array.isArray(ge)?ge.map(De=>`${Ht(F)}=${Ht(De)}`).join("&"):`${Ht(F)}=${Ht(ge)}`}).filter(F=>!!F);return W.length?`?${W.join("&")}`:""}(W.queryParams);var re;return`${F}${ge}${"string"==typeof W.fragment?`#${re=W.fragment,encodeURI(re)}`:""}`}}const V=new B;function be(re){return re.segments.map(W=>Ve(W)).join("/")}function je(re,W){if(!re.hasChildren())return be(re);if(W){const F=re.children[xt]?je(re.children[xt],!1):"",ge=[];return ce(re.children,(De,Fe)=>{Fe!==xt&&ge.push(`${Fe}:${je(De,!1)}`)}),ge.length>0?`${F}(${ge.join("//")})`:F}{const F=function(re,W){let F=[];return ce(re.children,(ge,De)=>{De===xt&&(F=F.concat(W(ge,De)))}),ce(re.children,(ge,De)=>{De!==xt&&(F=F.concat(W(ge,De)))}),F}(re,(ge,De)=>De===xt?[je(re.children[xt],!1)]:[`${De}:${je(ge,!1)}`]);return 1===Object.keys(re.children).length&&null!=re.children[xt]?`${be(re)}/${F[0]}`:`${be(re)}/(${F.join("//")})`}}function Ct(re){return encodeURIComponent(re).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ht(re){return Ct(re).replace(/%3B/gi,";")}function vn(re){return Ct(re).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function it(re){return decodeURIComponent(re)}function st(re){return it(re.replace(/\+/g,"%20"))}function Ve(re){return`${vn(re.path)}${function(re){return Object.keys(re).map(W=>`;${vn(W)}=${vn(re[W])}`).join("")}(re.parameters)}`}const Xt=/^[^\/()?;=#]+/;function Jt(re){const W=re.match(Xt);return W?W[0]:""}const fn=/^[^=?&#]+/,li=/^[^&#]+/;class pi{constructor(W){this.url=W,this.remaining=W}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ge([],{}):new Ge([],this.parseChildren())}parseQueryParams(){const W={};if(this.consumeOptional("?"))do{this.parseQueryParam(W)}while(this.consumeOptional("&"));return W}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const W=[];for(this.peekStartsWith("(")||W.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),W.push(this.parseSegment());let F={};this.peekStartsWith("/(")&&(this.capture("/"),F=this.parseParens(!0));let ge={};return this.peekStartsWith("(")&&(ge=this.parseParens(!1)),(W.length>0||Object.keys(F).length>0)&&(ge[xt]=new Ge(W,F)),ge}parseSegment(){const W=Jt(this.remaining);if(""===W&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(W),new lt(it(W),this.parseMatrixParams())}parseMatrixParams(){const W={};for(;this.consumeOptional(";");)this.parseParam(W);return W}parseParam(W){const F=Jt(this.remaining);if(!F)return;this.capture(F);let ge="";if(this.consumeOptional("=")){const De=Jt(this.remaining);De&&(ge=De,this.capture(ge))}W[it(F)]=it(ge)}parseQueryParam(W){const F=function(re){const W=re.match(fn);return W?W[0]:""}(this.remaining);if(!F)return;this.capture(F);let ge="";if(this.consumeOptional("=")){const et=function(re){const W=re.match(li);return W?W[0]:""}(this.remaining);et&&(ge=et,this.capture(ge))}const De=st(F),Fe=st(ge);if(W.hasOwnProperty(De)){let et=W[De];Array.isArray(et)||(et=[et],W[De]=et),et.push(Fe)}else W[De]=Fe}parseParens(W){const F={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const ge=Jt(this.remaining),De=this.remaining[ge.length];if("/"!==De&&")"!==De&&";"!==De)throw new Error(`Cannot parse url '${this.url}'`);let Fe;ge.indexOf(":")>-1?(Fe=ge.substr(0,ge.indexOf(":")),this.capture(Fe),this.capture(":")):W&&(Fe=xt);const et=this.parseChildren();F[Fe]=1===Object.keys(et).length?et[xt]:new Ge([],et),this.consumeOptional("//")}return F}peekStartsWith(W){return this.remaining.startsWith(W)}consumeOptional(W){return!!this.peekStartsWith(W)&&(this.remaining=this.remaining.substring(W.length),!0)}capture(W){if(!this.consumeOptional(W))throw new Error(`Expected "${W}".`)}}class Jn{constructor(W){this._root=W}get root(){return this._root.value}parent(W){const F=this.pathFromRoot(W);return F.length>1?F[F.length-2]:null}children(W){const F=Ln(W,this._root);return F?F.children.map(ge=>ge.value):[]}firstChild(W){const F=Ln(W,this._root);return F&&F.children.length>0?F.children[0].value:null}siblings(W){const F=ri(W,this._root);return F.length<2?[]:F[F.length-2].children.map(De=>De.value).filter(De=>De!==W)}pathFromRoot(W){return ri(W,this._root).map(F=>F.value)}}function Ln(re,W){if(re===W.value)return W;for(const F of W.children){const ge=Ln(re,F);if(ge)return ge}return null}function ri(re,W){if(re===W.value)return[W];for(const F of W.children){const ge=ri(re,F);if(ge.length)return ge.unshift(W),ge}return[]}class jn{constructor(W,F){this.value=W,this.children=F}toString(){return`TreeNode(${this.value})`}}function Se(re){const W={};return re&&re.children.forEach(F=>W[F.value.outlet]=F),W}class Xe extends Jn{constructor(W,F){super(W),this.snapshot=F,It(this,W)}toString(){return this.snapshot.toString()}}function J(re,W){const F=function(re,W){const et=new Ye([],{},{},"",{},xt,W,null,re.root,-1,{});return new kt("",new jn(et,[]))}(re,W),ge=new c.X([new lt("",{})]),De=new c.X({}),Fe=new c.X({}),et=new c.X({}),ft=new c.X(""),Ut=new S(ge,De,et,ft,Fe,xt,W,F.root);return Ut.snapshot=F.root,new Xe(new jn(Ut,[]),F)}class S{constructor(W,F,ge,De,Fe,et,ft,Ut){this.url=W,this.params=F,this.queryParams=ge,this.fragment=De,this.data=Fe,this.outlet=et,this.component=ft,this._futureSnapshot=Ut}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,s.U)(W=>Ne(W)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,s.U)(W=>Ne(W)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function te(re,W="emptyOnly"){const F=re.pathFromRoot;let ge=0;if("always"!==W)for(ge=F.length-1;ge>=1;){const De=F[ge],Fe=F[ge-1];if(De.routeConfig&&""===De.routeConfig.path)ge--;else{if(Fe.component)break;ge--}}return function(re){return re.reduce((W,F)=>({params:Object.assign(Object.assign({},W.params),F.params),data:Object.assign(Object.assign({},W.data),F.data),resolve:Object.assign(Object.assign({},W.resolve),F._resolvedData)}),{params:{},data:{},resolve:{}})}(F.slice(ge))}class Ye{constructor(W,F,ge,De,Fe,et,ft,Ut,sn,$n,cn){this.url=W,this.params=F,this.queryParams=ge,this.fragment=De,this.data=Fe,this.outlet=et,this.component=ft,this.routeConfig=Ut,this._urlSegment=sn,this._lastPathIndex=$n,this._resolve=cn}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=Ne(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ne(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(ge=>ge.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class kt extends Jn{constructor(W,F){super(F),this.url=W,It(this,F)}toString(){return Rt(this._root)}}function It(re,W){W.value._routerState=re,W.children.forEach(F=>It(re,F))}function Rt(re){const W=re.children.length>0?` { ${re.children.map(Rt).join(", ")} } `:"";return`${re.value}${W}`}function Yt(re){if(re.snapshot){const W=re.snapshot,F=re._futureSnapshot;re.snapshot=F,Z(W.queryParams,F.queryParams)||re.queryParams.next(F.queryParams),W.fragment!==F.fragment&&re.fragment.next(F.fragment),Z(W.params,F.params)||re.params.next(F.params),function(re,W){if(re.length!==W.length)return!1;for(let F=0;FZ(F.parameters,W[ge].parameters))}(re.url,W.url);return F&&!(!re.parent!=!W.parent)&&(!re.parent||Zt(re.parent,W.parent))}function Tn(re,W,F){if(F&&re.shouldReuseRoute(W.value,F.value.snapshot)){const ge=F.value;ge._futureSnapshot=W.value;const De=function(re,W,F){return W.children.map(ge=>{for(const De of F.children)if(re.shouldReuseRoute(ge.value,De.value.snapshot))return Tn(re,ge,De);return Tn(re,ge)})}(re,W,F);return new jn(ge,De)}{if(re.shouldAttach(W.value)){const Fe=re.retrieve(W.value);if(null!==Fe){const et=Fe.route;return et.value._futureSnapshot=W.value,et.children=W.children.map(ft=>Tn(re,ft)),et}}const ge=function(re){return new S(new c.X(re.url),new c.X(re.params),new c.X(re.queryParams),new c.X(re.fragment),new c.X(re.data),re.outlet,re.component,re)}(W.value),De=W.children.map(Fe=>Tn(re,Fe));return new jn(ge,De)}}function kn(re){return"object"==typeof re&&null!=re&&!re.outlets&&!re.segmentPath}function bn(re){return"object"==typeof re&&null!=re&&re.outlets}function ui(re,W,F,ge,De){let Fe={};return ge&&ce(ge,(et,ft)=>{Fe[ft]=Array.isArray(et)?et.map(Ut=>`${Ut}`):`${et}`}),new Mt(F.root===re?W:Oi(F.root,re,W),Fe,De)}function Oi(re,W,F){const ge={};return ce(re.children,(De,Fe)=>{ge[Fe]=De===W?F:Oi(De,W,F)}),new Ge(re.segments,ge)}class ci{constructor(W,F,ge){if(this.isAbsolute=W,this.numberOfDoubleDots=F,this.commands=ge,W&&ge.length>0&&kn(ge[0]))throw new Error("Root segment cannot have matrix parameters");const De=ge.find(bn);if(De&&De!==x(ge))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ri{constructor(W,F,ge){this.segmentGroup=W,this.processChildren=F,this.index=ge}}function mn(re,W,F){if(re||(re=new Ge([],{})),0===re.segments.length&&re.hasChildren())return Qi(re,W,F);const ge=function(re,W,F){let ge=0,De=W;const Fe={match:!1,pathIndex:0,commandIndex:0};for(;De=F.length)return Fe;const et=re.segments[De],ft=F[ge];if(bn(ft))break;const Ut=`${ft}`,sn=ge0&&void 0===Ut)break;if(Ut&&sn&&"object"==typeof sn&&void 0===sn.outlets){if(!ir(Ut,sn,et))return Fe;ge+=2}else{if(!ir(Ut,{},et))return Fe;ge++}De++}return{match:!0,pathIndex:De,commandIndex:ge}}(re,W,F),De=F.slice(ge.commandIndex);if(ge.match&&ge.pathIndex{"string"==typeof Fe&&(Fe=[Fe]),null!==Fe&&(De[et]=mn(re.children[et],W,Fe))}),ce(re.children,(Fe,et)=>{void 0===ge[et]&&(De[et]=Fe)}),new Ge(re.segments,De)}}function xn(re,W,F){const ge=re.segments.slice(0,W);let De=0;for(;De{"string"==typeof F&&(F=[F]),null!==F&&(W[ge]=xn(new Ge([],{}),0,F))}),W}function wi(re){const W={};return ce(re,(F,ge)=>W[ge]=`${F}`),W}function ir(re,W,F){return re==F.path&&Z(W,F.parameters)}class nn{constructor(W,F,ge,De){this.routeReuseStrategy=W,this.futureState=F,this.currState=ge,this.forwardEvent=De}activate(W){const F=this.futureState._root,ge=this.currState?this.currState._root:null;this.deactivateChildRoutes(F,ge,W),Yt(this.futureState.root),this.activateChildRoutes(F,ge,W)}deactivateChildRoutes(W,F,ge){const De=Se(F);W.children.forEach(Fe=>{const et=Fe.value.outlet;this.deactivateRoutes(Fe,De[et],ge),delete De[et]}),ce(De,(Fe,et)=>{this.deactivateRouteAndItsChildren(Fe,ge)})}deactivateRoutes(W,F,ge){const De=W.value,Fe=F?F.value:null;if(De===Fe)if(De.component){const et=ge.getContext(De.outlet);et&&this.deactivateChildRoutes(W,F,et.children)}else this.deactivateChildRoutes(W,F,ge);else Fe&&this.deactivateRouteAndItsChildren(F,ge)}deactivateRouteAndItsChildren(W,F){W.value.component&&this.routeReuseStrategy.shouldDetach(W.value.snapshot)?this.detachAndStoreRouteSubtree(W,F):this.deactivateRouteAndOutlet(W,F)}detachAndStoreRouteSubtree(W,F){const ge=F.getContext(W.value.outlet),De=ge&&W.value.component?ge.children:F,Fe=Se(W);for(const et of Object.keys(Fe))this.deactivateRouteAndItsChildren(Fe[et],De);if(ge&&ge.outlet){const et=ge.outlet.detach(),ft=ge.children.onOutletDeactivated();this.routeReuseStrategy.store(W.value.snapshot,{componentRef:et,route:W,contexts:ft})}}deactivateRouteAndOutlet(W,F){const ge=F.getContext(W.value.outlet),De=ge&&W.value.component?ge.children:F,Fe=Se(W);for(const et of Object.keys(Fe))this.deactivateRouteAndItsChildren(Fe[et],De);ge&&ge.outlet&&(ge.outlet.deactivate(),ge.children.onOutletDeactivated(),ge.attachRef=null,ge.resolver=null,ge.route=null)}activateChildRoutes(W,F,ge){const De=Se(F);W.children.forEach(Fe=>{this.activateRoutes(Fe,De[Fe.value.outlet],ge),this.forwardEvent(new bt(Fe.value.snapshot))}),W.children.length&&this.forwardEvent(new Qe(W.value.snapshot))}activateRoutes(W,F,ge){const De=W.value,Fe=F?F.value:null;if(Yt(De),De===Fe)if(De.component){const et=ge.getOrCreateContext(De.outlet);this.activateChildRoutes(W,F,et.children)}else this.activateChildRoutes(W,F,ge);else if(De.component){const et=ge.getOrCreateContext(De.outlet);if(this.routeReuseStrategy.shouldAttach(De.snapshot)){const ft=this.routeReuseStrategy.retrieve(De.snapshot);this.routeReuseStrategy.store(De.snapshot,null),et.children.onOutletReAttached(ft.contexts),et.attachRef=ft.componentRef,et.route=ft.route.value,et.outlet&&et.outlet.attach(ft.componentRef,ft.route.value),Yt(ft.route.value),this.activateChildRoutes(W,null,et.children)}else{const ft=function(re){for(let W=re.parent;W;W=W.parent){const F=W.routeConfig;if(F&&F._loadedConfig)return F._loadedConfig;if(F&&F.component)return null}return null}(De.snapshot),Ut=ft?ft.module.componentFactoryResolver:null;et.attachRef=null,et.route=De,et.resolver=Ut,et.outlet&&et.outlet.activateWith(De,Ut),this.activateChildRoutes(W,null,et.children)}}else this.activateChildRoutes(W,null,ge)}}class gn{constructor(W,F){this.routes=W,this.module=F}}function Sn(re){return"function"==typeof re}function mi(re){return re instanceof Mt}const Ki=Symbol("INITIAL_VALUE");function Di(){return(0,C.w)(re=>(0,r.aj)(re.map(W=>W.pipe((0,P.q)(1),(0,w.O)(Ki)))).pipe((0,D.R)((W,F)=>{let ge=!1;return F.reduce((De,Fe,et)=>De!==Ki?De:(Fe===Ki&&(ge=!0),ge||!1!==Fe&&et!==F.length-1&&!mi(Fe)?De:Fe),W)},Ki),(0,T.h)(W=>W!==Ki),(0,s.U)(W=>mi(W)?W:!0===W),(0,P.q)(1)))}class Cr{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Li,this.attachRef=null}}class Li{constructor(){this.contexts=new Map}onChildOutletCreated(W,F){const ge=this.getOrCreateContext(W);ge.outlet=F,this.contexts.set(W,ge)}onChildOutletDestroyed(W){const F=this.getContext(W);F&&(F.outlet=null,F.attachRef=null)}onOutletDeactivated(){const W=this.contexts;return this.contexts=new Map,W}onOutletReAttached(W){this.contexts=W}getOrCreateContext(W){let F=this.getContext(W);return F||(F=new Cr,this.contexts.set(W,F)),F}getContext(W){return this.contexts.get(W)||null}}let Er=(()=>{class re{constructor(F,ge,De,Fe,et){this.parentContexts=F,this.location=ge,this.resolver=De,this.changeDetector=et,this.activated=null,this._activatedRoute=null,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.name=Fe||xt,F.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const F=this.parentContexts.getContext(this.name);F&&F.route&&(F.attachRef?this.attach(F.attachRef,F.route):this.activateWith(F.route,F.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const F=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(F.instance),F}attach(F,ge){this.activated=F,this._activatedRoute=ge,this.location.insert(F.hostView),this.attachEvents.emit(F.instance)}deactivate(){if(this.activated){const F=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(F)}}activateWith(F,ge){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=F;const et=(ge=ge||this.resolver).resolveComponentFactory(F._futureSnapshot.routeConfig.component),ft=this.parentContexts.getOrCreateContext(this.name).children,Ut=new Si(F,ft,this.location.injector);this.activated=this.location.createComponent(et,this.location.length,Ut),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275directiveInject(Li),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},re.\u0275dir=n.\u0275\u0275defineDirective({type:re,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),re})();class Si{constructor(W,F,ge){this.route=W,this.childContexts=F,this.parent=ge}get(W,F){return W===S?this.route:W===Li?this.childContexts:this.parent.get(W,F)}}let Vi=(()=>{class re{}return re.\u0275fac=function(F){return new(F||re)},re.\u0275cmp=n.\u0275\u0275defineComponent({type:re,selectors:[["ng-component"]],decls:1,vars:0,template:function(F,ge){1&F&&n.\u0275\u0275element(0,"router-outlet")},directives:[Er],encapsulation:2}),re})();function Gi(re,W=""){for(let F=0;Fdi(ge)===W);return F.push(...re.filter(ge=>di(ge)!==W)),F}const qi={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function $i(re,W,F){var ge;if(""===W.path)return"full"===W.pathMatch&&(re.hasChildren()||F.length>0)?Object.assign({},qi):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const Fe=(W.matcher||mt)(F,re,W);if(!Fe)return Object.assign({},qi);const et={};ce(Fe.posParams,(Ut,sn)=>{et[sn]=Ut.path});const ft=Fe.consumed.length>0?Object.assign(Object.assign({},et),Fe.consumed[Fe.consumed.length-1].parameters):et;return{matched:!0,consumedSegments:Fe.consumed,lastChild:Fe.consumed.length,parameters:ft,positionalParamSegments:null!==(ge=Fe.posParams)&&void 0!==ge?ge:{}}}function Xi(re,W,F,ge,De="corrected"){if(F.length>0&&function(re,W,F){return F.some(ge=>Mr(re,W,ge)&&di(ge)!==xt)}(re,F,ge)){const et=new Ge(W,function(re,W,F,ge){const De={};De[xt]=ge,ge._sourceSegment=re,ge._segmentIndexShift=W.length;for(const Fe of F)if(""===Fe.path&&di(Fe)!==xt){const et=new Ge([],{});et._sourceSegment=re,et._segmentIndexShift=W.length,De[di(Fe)]=et}return De}(re,W,ge,new Ge(F,re.children)));return et._sourceSegment=re,et._segmentIndexShift=W.length,{segmentGroup:et,slicedSegments:[]}}if(0===F.length&&function(re,W,F){return F.some(ge=>Mr(re,W,ge))}(re,F,ge)){const et=new Ge(re.segments,function(re,W,F,ge,De,Fe){const et={};for(const ft of ge)if(Mr(re,F,ft)&&!De[di(ft)]){const Ut=new Ge([],{});Ut._sourceSegment=re,Ut._segmentIndexShift="legacy"===Fe?re.segments.length:W.length,et[di(ft)]=Ut}return Object.assign(Object.assign({},De),et)}(re,W,F,ge,re.children,De));return et._sourceSegment=re,et._segmentIndexShift=W.length,{segmentGroup:et,slicedSegments:F}}const Fe=new Ge(re.segments,re.children);return Fe._sourceSegment=re,Fe._segmentIndexShift=W.length,{segmentGroup:Fe,slicedSegments:F}}function Mr(re,W,F){return(!(re.hasChildren()||W.length>0)||"full"!==F.pathMatch)&&""===F.path}function Yi(re,W,F,ge){return!!(di(re)===ge||ge!==xt&&Mr(W,F,re))&&("**"===re.path||$i(W,re,F).matched)}function Vr(re,W,F){return 0===W.length&&!re.children[F]}class Wn{constructor(W){this.segmentGroup=W||null}}class Dr{constructor(W){this.urlTree=W}}function hr(re){return new d.y(W=>W.error(new Wn(re)))}function fe(re){return new d.y(W=>W.error(new Dr(re)))}function k(re){return new d.y(W=>W.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${re}'`)))}class de{constructor(W,F,ge,De,Fe){this.configLoader=F,this.urlSerializer=ge,this.urlTree=De,this.config=Fe,this.allowRedirects=!0,this.ngModule=W.get(n.NgModuleRef)}apply(){const W=Xi(this.urlTree.root,[],[],this.config).segmentGroup,F=new Ge(W.segments,W.children);return this.expandSegmentGroup(this.ngModule,this.config,F,xt).pipe((0,s.U)(Fe=>this.createUrlTree(wt(Fe),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,Y.K)(Fe=>{if(Fe instanceof Dr)return this.allowRedirects=!1,this.match(Fe.urlTree);throw Fe instanceof Wn?this.noMatchError(Fe):Fe}))}match(W){return this.expandSegmentGroup(this.ngModule,this.config,W.root,xt).pipe((0,s.U)(De=>this.createUrlTree(wt(De),W.queryParams,W.fragment))).pipe((0,Y.K)(De=>{throw De instanceof Wn?this.noMatchError(De):De}))}noMatchError(W){return new Error(`Cannot match any routes. URL Segment: '${W.segmentGroup}'`)}createUrlTree(W,F,ge){const De=W.segments.length>0?new Ge([],{[xt]:W}):W;return new Mt(De,F,ge)}expandSegmentGroup(W,F,ge,De){return 0===ge.segments.length&&ge.hasChildren()?this.expandChildren(W,F,ge).pipe((0,s.U)(Fe=>new Ge([],Fe))):this.expandSegment(W,ge,F,ge.segments,De,!0)}expandChildren(W,F,ge){const De=[];for(const Fe of Object.keys(ge.children))"primary"===Fe?De.unshift(Fe):De.push(Fe);return(0,l.D)(De).pipe((0,$.b)(Fe=>{const et=ge.children[Fe],ft=dr(F,Fe);return this.expandSegmentGroup(W,ft,et,Fe).pipe((0,s.U)(Ut=>({segment:Ut,outlet:Fe})))}),(0,D.R)((Fe,et)=>(Fe[et.outlet]=et.segment,Fe),{}),(0,z.Z)())}expandSegment(W,F,ge,De,Fe,et){return(0,l.D)(ge).pipe((0,$.b)(ft=>this.expandSegmentAgainstRoute(W,F,ge,ft,De,Fe,et).pipe((0,Y.K)(sn=>{if(sn instanceof Wn)return(0,u.of)(null);throw sn}))),(0,G.P)(ft=>!!ft),(0,Y.K)((ft,Ut)=>{if(ft instanceof m.K||"EmptyError"===ft.name){if(Vr(F,De,Fe))return(0,u.of)(new Ge([],{}));throw new Wn(F)}throw ft}))}expandSegmentAgainstRoute(W,F,ge,De,Fe,et,ft){return Yi(De,F,Fe,et)?void 0===De.redirectTo?this.matchSegmentAgainstRoute(W,F,De,Fe,et):ft&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(W,F,ge,De,Fe,et):hr(F):hr(F)}expandSegmentAgainstRouteUsingRedirect(W,F,ge,De,Fe,et){return"**"===De.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(W,ge,De,et):this.expandRegularSegmentAgainstRouteUsingRedirect(W,F,ge,De,Fe,et)}expandWildCardWithParamsAgainstRouteUsingRedirect(W,F,ge,De){const Fe=this.applyRedirectCommands([],ge.redirectTo,{});return ge.redirectTo.startsWith("/")?fe(Fe):this.lineralizeSegments(ge,Fe).pipe((0,X.zg)(et=>{const ft=new Ge(et,{});return this.expandSegment(W,ft,F,et,De,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(W,F,ge,De,Fe,et){const{matched:ft,consumedSegments:Ut,lastChild:sn,positionalParamSegments:$n}=$i(F,De,Fe);if(!ft)return hr(F);const cn=this.applyRedirectCommands(Ut,De.redirectTo,$n);return De.redirectTo.startsWith("/")?fe(cn):this.lineralizeSegments(De,cn).pipe((0,X.zg)(qn=>this.expandSegment(W,F,ge,qn.concat(Fe.slice(sn)),et,!1)))}matchSegmentAgainstRoute(W,F,ge,De,Fe){if("**"===ge.path)return ge.loadChildren?(ge._loadedConfig?(0,u.of)(ge._loadedConfig):this.configLoader.load(W.injector,ge)).pipe((0,s.U)(qn=>(ge._loadedConfig=qn,new Ge(De,{})))):(0,u.of)(new Ge(De,{}));const{matched:et,consumedSegments:ft,lastChild:Ut}=$i(F,ge,De);if(!et)return hr(F);const sn=De.slice(Ut);return this.getChildConfig(W,ge,De).pipe((0,X.zg)(cn=>{const qn=cn.module,Zn=cn.routes,{segmentGroup:es,slicedSegments:vr}=Xi(F,ft,sn,Zn),Wr=new Ge(es.segments,es.children);if(0===vr.length&&Wr.hasChildren())return this.expandChildren(qn,Zn,Wr).pipe((0,s.U)(gs=>new Ge(ft,gs)));if(0===Zn.length&&0===vr.length)return(0,u.of)(new Ge(ft,{}));const Kr=di(ge)===Fe;return this.expandSegment(qn,Wr,Zn,vr,Kr?xt:Fe,!0).pipe((0,s.U)(Pr=>new Ge(ft.concat(Pr.segments),Pr.children)))}))}getChildConfig(W,F,ge){return F.children?(0,u.of)(new gn(F.children,W)):F.loadChildren?void 0!==F._loadedConfig?(0,u.of)(F._loadedConfig):this.runCanLoadGuards(W.injector,F,ge).pipe((0,X.zg)(De=>{return De?this.configLoader.load(W.injector,F).pipe((0,s.U)(Fe=>(F._loadedConfig=Fe,Fe))):(re=F,new d.y(W=>W.error(ze(`Cannot load children because the guard of the route "path: '${re.path}'" returned false`))));var re})):(0,u.of)(new gn([],W))}runCanLoadGuards(W,F,ge){const De=F.canLoad;if(!De||0===De.length)return(0,u.of)(!0);const Fe=De.map(et=>{const ft=W.get(et);let Ut;if((re=ft)&&Sn(re.canLoad))Ut=ft.canLoad(F,ge);else{if(!Sn(ft))throw new Error("Invalid CanLoad guard");Ut=ft(F,ge)}var re;return Ue(Ut)});return(0,u.of)(Fe).pipe(Di(),(0,Q.b)(et=>{if(!mi(et))return;const ft=ze(`Redirecting to "${this.urlSerializer.serialize(et)}"`);throw ft.url=et,ft}),(0,s.U)(et=>!0===et))}lineralizeSegments(W,F){let ge=[],De=F.root;for(;;){if(ge=ge.concat(De.segments),0===De.numberOfChildren)return(0,u.of)(ge);if(De.numberOfChildren>1||!De.children[xt])return k(W.redirectTo);De=De.children[xt]}}applyRedirectCommands(W,F,ge){return this.applyRedirectCreatreUrlTree(F,this.urlSerializer.parse(F),W,ge)}applyRedirectCreatreUrlTree(W,F,ge,De){const Fe=this.createSegmentGroup(W,F.root,ge,De);return new Mt(Fe,this.createQueryParams(F.queryParams,this.urlTree.queryParams),F.fragment)}createQueryParams(W,F){const ge={};return ce(W,(De,Fe)=>{if("string"==typeof De&&De.startsWith(":")){const ft=De.substring(1);ge[Fe]=F[ft]}else ge[Fe]=De}),ge}createSegmentGroup(W,F,ge,De){const Fe=this.createSegments(W,F.segments,ge,De);let et={};return ce(F.children,(ft,Ut)=>{et[Ut]=this.createSegmentGroup(W,ft,ge,De)}),new Ge(Fe,et)}createSegments(W,F,ge,De){return F.map(Fe=>Fe.path.startsWith(":")?this.findPosParam(W,Fe,De):this.findOrReturn(Fe,ge))}findPosParam(W,F,ge){const De=ge[F.path.substring(1)];if(!De)throw new Error(`Cannot redirect to '${W}'. Cannot find '${F.path}'.`);return De}findOrReturn(W,F){let ge=0;for(const De of F){if(De.path===W.path)return F.splice(ge),De;ge++}return W}}function wt(re){const W={};for(const ge of Object.keys(re.children)){const Fe=wt(re.children[ge]);(Fe.segments.length>0||Fe.hasChildren())&&(W[ge]=Fe)}return function(re){if(1===re.numberOfChildren&&re.children[xt]){const W=re.children[xt];return new Ge(re.segments.concat(W.segments),W.children)}return re}(new Ge(re.segments,W))}class hn{constructor(W){this.path=W,this.route=this.path[this.path.length-1]}}class Nn{constructor(W,F){this.component=W,this.route=F}}function Hn(re,W,F){const ge=re._root;return ii(ge,W?W._root:null,F,[ge.value])}function Yn(re,W,F){const ge=function(re){if(!re)return null;for(let W=re.parent;W;W=W.parent){const F=W.routeConfig;if(F&&F._loadedConfig)return F._loadedConfig}return null}(W);return(ge?ge.module.injector:F).get(re)}function ii(re,W,F,ge,De={canDeactivateChecks:[],canActivateChecks:[]}){const Fe=Se(W);return re.children.forEach(et=>{(function(re,W,F,ge,De={canDeactivateChecks:[],canActivateChecks:[]}){const Fe=re.value,et=W?W.value:null,ft=F?F.getContext(re.value.outlet):null;if(et&&Fe.routeConfig===et.routeConfig){const Ut=function(re,W,F){if("function"==typeof F)return F(re,W);switch(F){case"pathParamsChange":return!Nt(re.url,W.url);case"pathParamsOrQueryParamsChange":return!Nt(re.url,W.url)||!Z(re.queryParams,W.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zt(re,W)||!Z(re.queryParams,W.queryParams);default:return!Zt(re,W)}}(et,Fe,Fe.routeConfig.runGuardsAndResolvers);Ut?De.canActivateChecks.push(new hn(ge)):(Fe.data=et.data,Fe._resolvedData=et._resolvedData),ii(re,W,Fe.component?ft?ft.children:null:F,ge,De),Ut&&ft&&ft.outlet&&ft.outlet.isActivated&&De.canDeactivateChecks.push(new Nn(ft.outlet.component,et))}else et&&ji(W,ft,De),De.canActivateChecks.push(new hn(ge)),ii(re,null,Fe.component?ft?ft.children:null:F,ge,De)})(et,Fe[et.value.outlet],F,ge.concat([et.value]),De),delete Fe[et.value.outlet]}),ce(Fe,(et,ft)=>ji(et,F.getContext(ft),De)),De}function ji(re,W,F){const ge=Se(re),De=re.value;ce(ge,(Fe,et)=>{ji(Fe,De.component?W?W.children.getContext(et):null:W,F)}),F.canDeactivateChecks.push(new Nn(De.component&&W&&W.outlet&&W.outlet.isActivated?W.outlet.component:null,De))}class ne{}function we(re){return new d.y(W=>W.error(re))}class Je{constructor(W,F,ge,De,Fe,et){this.rootComponentType=W,this.config=F,this.urlTree=ge,this.url=De,this.paramsInheritanceStrategy=Fe,this.relativeLinkResolution=et}recognize(){const W=Xi(this.urlTree.root,[],[],this.config.filter(et=>void 0===et.redirectTo),this.relativeLinkResolution).segmentGroup,F=this.processSegmentGroup(this.config,W,xt);if(null===F)return null;const ge=new Ye([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},xt,this.rootComponentType,null,this.urlTree.root,-1,{}),De=new jn(ge,F),Fe=new kt(this.url,De);return this.inheritParamsAndData(Fe._root),Fe}inheritParamsAndData(W){const F=W.value,ge=te(F,this.paramsInheritanceStrategy);F.params=Object.freeze(ge.params),F.data=Object.freeze(ge.data),W.children.forEach(De=>this.inheritParamsAndData(De))}processSegmentGroup(W,F,ge){return 0===F.segments.length&&F.hasChildren()?this.processChildren(W,F):this.processSegment(W,F,F.segments,ge)}processChildren(W,F){const ge=[];for(const Fe of Object.keys(F.children)){const et=F.children[Fe],ft=dr(W,Fe),Ut=this.processSegmentGroup(ft,et,Fe);if(null===Ut)return null;ge.push(...Ut)}const De=Gt(ge);return De.sort((W,F)=>W.value.outlet===xt?-1:F.value.outlet===xt?1:W.value.outlet.localeCompare(F.value.outlet)),De}processSegment(W,F,ge,De){for(const Fe of W){const et=this.processSegmentAgainstRoute(Fe,F,ge,De);if(null!==et)return et}return Vr(F,ge,De)?[]:null}processSegmentAgainstRoute(W,F,ge,De){if(W.redirectTo||!Yi(W,F,ge,De))return null;let Fe,et=[],ft=[];if("**"===W.path){const Zn=ge.length>0?x(ge).parameters:{};Fe=new Ye(ge,Zn,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,rn(W),di(W),W.component,W,yn(F),pn(F)+ge.length,Cn(W))}else{const Zn=$i(F,W,ge);if(!Zn.matched)return null;et=Zn.consumedSegments,ft=ge.slice(Zn.lastChild),Fe=new Ye(et,Zn.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,rn(W),di(W),W.component,W,yn(F),pn(F)+et.length,Cn(W))}const Ut=(re=W).children?re.children:re.loadChildren?re._loadedConfig.routes:[],{segmentGroup:sn,slicedSegments:$n}=Xi(F,et,ft,Ut.filter(Zn=>void 0===Zn.redirectTo),this.relativeLinkResolution);var re;if(0===$n.length&&sn.hasChildren()){const Zn=this.processChildren(Ut,sn);return null===Zn?null:[new jn(Fe,Zn)]}if(0===Ut.length&&0===$n.length)return[new jn(Fe,[])];const cn=di(W)===De,qn=this.processSegment(Ut,sn,$n,cn?xt:De);return null===qn?null:[new jn(Fe,qn)]}}function Vt(re){const W=re.value.routeConfig;return W&&""===W.path&&void 0===W.redirectTo}function Gt(re){const W=[],F=new Set;for(const ge of re){if(!Vt(ge)){W.push(ge);continue}const De=W.find(Fe=>ge.value.routeConfig===Fe.value.routeConfig);void 0!==De?(De.children.push(...ge.children),F.add(De)):W.push(ge)}for(const ge of F){const De=Gt(ge.children);W.push(new jn(ge.value,De))}return W.filter(ge=>!F.has(ge))}function yn(re){let W=re;for(;W._sourceSegment;)W=W._sourceSegment;return W}function pn(re){let W=re,F=W._segmentIndexShift?W._segmentIndexShift:0;for(;W._sourceSegment;)W=W._sourceSegment,F+=W._segmentIndexShift?W._segmentIndexShift:0;return F-1}function rn(re){return re.data||{}}function Cn(re){return re.resolve||{}}function pr(re){return(0,C.w)(W=>{const F=re(W);return F?(0,l.D)(F).pipe((0,s.U)(()=>W)):(0,u.of)(W)})}class ki{}class gi{shouldDetach(W){return!1}store(W,F){}shouldAttach(W){return!1}retrieve(W){return null}shouldReuseRoute(W,F){return W.routeConfig===F.routeConfig}}class Zi extends gi{}const xi=new n.InjectionToken("ROUTES");class Ji{constructor(W,F,ge,De){this.injector=W,this.compiler=F,this.onLoadStartListener=ge,this.onLoadEndListener=De}load(W,F){if(F._loader$)return F._loader$;this.onLoadStartListener&&this.onLoadStartListener(F);const De=this.loadModuleFactory(F.loadChildren).pipe((0,s.U)(Fe=>{this.onLoadEndListener&&this.onLoadEndListener(F);const et=Fe.create(W);return new gn(_(et.injector.get(xi,void 0,n.InjectFlags.Self|n.InjectFlags.Optional)).map(cr),et)}),(0,Y.K)(Fe=>{throw F._loader$=void 0,Fe}));return F._loader$=new h.c(De,()=>new g.xQ).pipe((0,ue.x)()),F._loader$}loadModuleFactory(W){return Ue(W()).pipe((0,X.zg)(F=>F instanceof n.NgModuleFactory?(0,u.of)(F):(0,l.D)(this.compiler.compileModuleAsync(F))))}}class Zr{}class mr{shouldProcessUrl(W){return!0}extract(W){return W}merge(W,F){return W}}function gr(re){throw re}function cs(re,W,F){return W.parse("/")}function Jr(re,W){return(0,u.of)(null)}const tn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},un={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let ln=(()=>{class re{constructor(F,ge,De,Fe,et,ft,Ut){this.rootComponentType=F,this.urlSerializer=ge,this.rootContexts=De,this.location=Fe,this.config=Ut,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new g.xQ,this.errorHandler=gr,this.malformedUriErrorHandler=cs,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Jr,afterPreactivation:Jr},this.urlHandlingStrategy=new mr,this.routeReuseStrategy=new Zi,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=et.get(n.NgModuleRef),this.console=et.get(n.\u0275Console);const cn=et.get(n.NgZone);this.isNgZoneEnabled=cn instanceof n.NgZone&&n.NgZone.isInAngularZone(),this.resetConfig(Ut),this.currentUrlTree=new Mt(new Ge([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Ji(et,ft,qn=>this.triggerEvent(new pt(qn)),qn=>this.triggerEvent(new Dt(qn))),this.routerState=J(this.currentUrlTree,this.rootComponentType),this.transitions=new c.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var F;return null===(F=this.location.getState())||void 0===F?void 0:F.\u0275routerPageId}setupNavigations(F){const ge=this.events;return F.pipe((0,T.h)(De=>0!==De.id),(0,s.U)(De=>Object.assign(Object.assign({},De),{extractedUrl:this.urlHandlingStrategy.extract(De.rawUrl)})),(0,C.w)(De=>{let Fe=!1,et=!1;return(0,u.of)(De).pipe((0,Q.b)(ft=>{this.currentNavigation={id:ft.id,initialUrl:ft.currentRawUrl,extractedUrl:ft.extractedUrl,trigger:ft.source,extras:ft.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,C.w)(ft=>{const Ut=this.browserUrlTree.toString(),sn=!this.navigated||ft.extractedUrl.toString()!==Ut||Ut!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||sn)&&this.urlHandlingStrategy.shouldProcessUrl(ft.rawUrl))return Un(ft.source)&&(this.browserUrlTree=ft.extractedUrl),(0,u.of)(ft).pipe((0,C.w)(cn=>{const qn=this.transitions.getValue();return ge.next(new ae(cn.id,this.serializeUrl(cn.extractedUrl),cn.source,cn.restoredState)),qn!==this.transitions.getValue()?b.E:Promise.resolve(cn)}),function(re,W,F,ge){return(0,C.w)(De=>function(re,W,F,ge,De){return new de(re,W,F,ge,De).apply()}(re,W,F,De.extractedUrl,ge).pipe((0,s.U)(Fe=>Object.assign(Object.assign({},De),{urlAfterRedirects:Fe}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,Q.b)(cn=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:cn.urlAfterRedirects})}),function(re,W,F,ge,De){return(0,X.zg)(Fe=>function(re,W,F,ge,De="emptyOnly",Fe="legacy"){try{const et=new Je(re,W,F,ge,De,Fe).recognize();return null===et?we(new ne):(0,u.of)(et)}catch(et){return we(et)}}(re,W,Fe.urlAfterRedirects,F(Fe.urlAfterRedirects),ge,De).pipe((0,s.U)(et=>Object.assign(Object.assign({},Fe),{targetSnapshot:et}))))}(this.rootComponentType,this.config,cn=>this.serializeUrl(cn),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,Q.b)(cn=>{if("eager"===this.urlUpdateStrategy){if(!cn.extras.skipLocationChange){const Zn=this.urlHandlingStrategy.merge(cn.urlAfterRedirects,cn.rawUrl);this.setBrowserUrl(Zn,cn)}this.browserUrlTree=cn.urlAfterRedirects}const qn=new Ce(cn.id,this.serializeUrl(cn.extractedUrl),this.serializeUrl(cn.urlAfterRedirects),cn.targetSnapshot);ge.next(qn)}));if(sn&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:qn,extractedUrl:Zn,source:es,restoredState:vr,extras:Wr}=ft,Kr=new ae(qn,this.serializeUrl(Zn),es,vr);ge.next(Kr);const Is=J(Zn,this.rootComponentType).snapshot;return(0,u.of)(Object.assign(Object.assign({},ft),{targetSnapshot:Is,urlAfterRedirects:Zn,extras:Object.assign(Object.assign({},Wr),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=ft.rawUrl,ft.resolve(null),b.E}),pr(ft=>{const{targetSnapshot:Ut,id:sn,extractedUrl:$n,rawUrl:cn,extras:{skipLocationChange:qn,replaceUrl:Zn}}=ft;return this.hooks.beforePreactivation(Ut,{navigationId:sn,appliedUrlTree:$n,rawUrlTree:cn,skipLocationChange:!!qn,replaceUrl:!!Zn})}),(0,Q.b)(ft=>{const Ut=new Te(ft.id,this.serializeUrl(ft.extractedUrl),this.serializeUrl(ft.urlAfterRedirects),ft.targetSnapshot);this.triggerEvent(Ut)}),(0,s.U)(ft=>Object.assign(Object.assign({},ft),{guards:Hn(ft.targetSnapshot,ft.currentSnapshot,this.rootContexts)})),function(re,W){return(0,X.zg)(F=>{const{targetSnapshot:ge,currentSnapshot:De,guards:{canActivateChecks:Fe,canDeactivateChecks:et}}=F;return 0===et.length&&0===Fe.length?(0,u.of)(Object.assign(Object.assign({},F),{guardsResult:!0})):function(re,W,F,ge){return(0,l.D)(re).pipe((0,X.zg)(De=>function(re,W,F,ge,De){const Fe=W&&W.routeConfig?W.routeConfig.canDeactivate:null;if(!Fe||0===Fe.length)return(0,u.of)(!0);const et=Fe.map(ft=>{const Ut=Yn(ft,W,De);let sn;if(function(re){return re&&Sn(re.canDeactivate)}(Ut))sn=Ue(Ut.canDeactivate(re,W,F,ge));else{if(!Sn(Ut))throw new Error("Invalid CanDeactivate guard");sn=Ue(Ut(re,W,F,ge))}return sn.pipe((0,G.P)())});return(0,u.of)(et).pipe(Di())}(De.component,De.route,F,W,ge)),(0,G.P)(De=>!0!==De,!0))}(et,ge,De,re).pipe((0,X.zg)(ft=>ft&&function(re){return"boolean"==typeof re}(ft)?function(re,W,F,ge){return(0,l.D)(W).pipe((0,$.b)(De=>(0,p.z)(function(re,W){return null!==re&&W&&W(new Ie(re)),(0,u.of)(!0)}(De.route.parent,ge),function(re,W){return null!==re&&W&&W(new ct(re)),(0,u.of)(!0)}(De.route,ge),function(re,W,F){const ge=W[W.length-1],Fe=W.slice(0,W.length-1).reverse().map(et=>function(re){const W=re.routeConfig?re.routeConfig.canActivateChild:null;return W&&0!==W.length?{node:re,guards:W}:null}(et)).filter(et=>null!==et).map(et=>(0,y.P)(()=>{const ft=et.guards.map(Ut=>{const sn=Yn(Ut,et.node,F);let $n;if(function(re){return re&&Sn(re.canActivateChild)}(sn))$n=Ue(sn.canActivateChild(ge,re));else{if(!Sn(sn))throw new Error("Invalid CanActivateChild guard");$n=Ue(sn(ge,re))}return $n.pipe((0,G.P)())});return(0,u.of)(ft).pipe(Di())}));return(0,u.of)(Fe).pipe(Di())}(re,De.path,F),function(re,W,F){const ge=W.routeConfig?W.routeConfig.canActivate:null;if(!ge||0===ge.length)return(0,u.of)(!0);const De=ge.map(Fe=>(0,y.P)(()=>{const et=Yn(Fe,W,F);let ft;if(function(re){return re&&Sn(re.canActivate)}(et))ft=Ue(et.canActivate(W,re));else{if(!Sn(et))throw new Error("Invalid CanActivate guard");ft=Ue(et(W,re))}return ft.pipe((0,G.P)())}));return(0,u.of)(De).pipe(Di())}(re,De.route,F))),(0,G.P)(De=>!0!==De,!0))}(ge,Fe,re,W):(0,u.of)(ft)),(0,s.U)(ft=>Object.assign(Object.assign({},F),{guardsResult:ft})))})}(this.ngModule.injector,ft=>this.triggerEvent(ft)),(0,Q.b)(ft=>{if(mi(ft.guardsResult)){const sn=ze(`Redirecting to "${this.serializeUrl(ft.guardsResult)}"`);throw sn.url=ft.guardsResult,sn}const Ut=new Ke(ft.id,this.serializeUrl(ft.extractedUrl),this.serializeUrl(ft.urlAfterRedirects),ft.targetSnapshot,!!ft.guardsResult);this.triggerEvent(Ut)}),(0,T.h)(ft=>!!ft.guardsResult||(this.restoreHistory(ft),this.cancelNavigationTransition(ft,""),!1)),pr(ft=>{if(ft.guards.canActivateChecks.length)return(0,u.of)(ft).pipe((0,Q.b)(Ut=>{const sn=new tt(Ut.id,this.serializeUrl(Ut.extractedUrl),this.serializeUrl(Ut.urlAfterRedirects),Ut.targetSnapshot);this.triggerEvent(sn)}),(0,C.w)(Ut=>{let sn=!1;return(0,u.of)(Ut).pipe(function(re,W){return(0,X.zg)(F=>{const{targetSnapshot:ge,guards:{canActivateChecks:De}}=F;if(!De.length)return(0,u.of)(F);let Fe=0;return(0,l.D)(De).pipe((0,$.b)(et=>function(re,W,F,ge){return function(re,W,F,ge){const De=Object.keys(re);if(0===De.length)return(0,u.of)({});const Fe={};return(0,l.D)(De).pipe((0,X.zg)(et=>function(re,W,F,ge){const De=Yn(re,W,ge);return Ue(De.resolve?De.resolve(W,F):De(W,F))}(re[et],W,F,ge).pipe((0,Q.b)(ft=>{Fe[et]=ft}))),(0,q.h)(1),(0,X.zg)(()=>Object.keys(Fe).length===De.length?(0,u.of)(Fe):b.E))}(re._resolve,re,W,ge).pipe((0,s.U)(Fe=>(re._resolvedData=Fe,re.data=Object.assign(Object.assign({},re.data),te(re,F).resolve),null)))}(et.route,ge,re,W)),(0,Q.b)(()=>Fe++),(0,q.h)(1),(0,X.zg)(et=>Fe===De.length?(0,u.of)(F):b.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,Q.b)({next:()=>sn=!0,complete:()=>{sn||(this.restoreHistory(Ut),this.cancelNavigationTransition(Ut,"At least one route resolver didn't emit any value."))}}))}),(0,Q.b)(Ut=>{const sn=new ot(Ut.id,this.serializeUrl(Ut.extractedUrl),this.serializeUrl(Ut.urlAfterRedirects),Ut.targetSnapshot);this.triggerEvent(sn)}))}),pr(ft=>{const{targetSnapshot:Ut,id:sn,extractedUrl:$n,rawUrl:cn,extras:{skipLocationChange:qn,replaceUrl:Zn}}=ft;return this.hooks.afterPreactivation(Ut,{navigationId:sn,appliedUrlTree:$n,rawUrlTree:cn,skipLocationChange:!!qn,replaceUrl:!!Zn})}),(0,s.U)(ft=>{const Ut=function(re,W,F){const ge=Tn(re,W._root,F?F._root:void 0);return new Xe(ge,W)}(this.routeReuseStrategy,ft.targetSnapshot,ft.currentRouterState);return Object.assign(Object.assign({},ft),{targetRouterState:Ut})}),(0,Q.b)(ft=>{this.currentUrlTree=ft.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(ft.urlAfterRedirects,ft.rawUrl),this.routerState=ft.targetRouterState,"deferred"===this.urlUpdateStrategy&&(ft.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,ft),this.browserUrlTree=ft.urlAfterRedirects)}),((re,W,F)=>(0,s.U)(ge=>(new nn(W,ge.targetRouterState,ge.currentRouterState,F).activate(re),ge)))(this.rootContexts,this.routeReuseStrategy,ft=>this.triggerEvent(ft)),(0,Q.b)({next(){Fe=!0},complete(){Fe=!0}}),(0,me.x)(()=>{var ft;Fe||et||this.cancelNavigationTransition(De,`Navigation ID ${De.id} is not equal to the current navigation id ${this.navigationId}`),(null===(ft=this.currentNavigation)||void 0===ft?void 0:ft.id)===De.id&&(this.currentNavigation=null)}),(0,Y.K)(ft=>{if(et=!0,function(re){return re&&re[rt]}(ft)){const Ut=mi(ft.url);Ut||(this.navigated=!0,this.restoreHistory(De,!0));const sn=new ie(De.id,this.serializeUrl(De.extractedUrl),ft.message);ge.next(sn),Ut?setTimeout(()=>{const $n=this.urlHandlingStrategy.merge(ft.url,this.rawUrlTree),cn={skipLocationChange:De.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Un(De.source)};this.scheduleNavigation($n,"imperative",null,cn,{resolve:De.resolve,reject:De.reject,promise:De.promise})},0):De.resolve(!1)}else{this.restoreHistory(De,!0);const Ut=new le(De.id,this.serializeUrl(De.extractedUrl),ft);ge.next(Ut);try{De.resolve(this.errorHandler(ft))}catch(sn){De.reject(sn)}}return b.E}))}))}resetRootComponentType(F){this.rootComponentType=F,this.routerState.root.component=this.rootComponentType}setTransition(F){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),F))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(F=>{const ge="popstate"===F.type?"popstate":"hashchange";"popstate"===ge&&setTimeout(()=>{var De;const Fe={replaceUrl:!0},et=(null===(De=F.state)||void 0===De?void 0:De.navigationId)?F.state:null;if(et){const Ut=Object.assign({},et);delete Ut.navigationId,delete Ut.\u0275routerPageId,0!==Object.keys(Ut).length&&(Fe.state=Ut)}const ft=this.parseUrl(F.url);this.scheduleNavigation(ft,ge,et,Fe)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(F){this.events.next(F)}resetConfig(F){Gi(F),this.config=F.map(cr),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(F,ge={}){const{relativeTo:De,queryParams:Fe,fragment:et,queryParamsHandling:ft,preserveFragment:Ut}=ge,sn=De||this.routerState.root,$n=Ut?this.currentUrlTree.fragment:et;let cn=null;switch(ft){case"merge":cn=Object.assign(Object.assign({},this.currentUrlTree.queryParams),Fe);break;case"preserve":cn=this.currentUrlTree.queryParams;break;default:cn=Fe||null}return null!==cn&&(cn=this.removeEmptyProps(cn)),function(re,W,F,ge,De){if(0===F.length)return ui(W.root,W.root,W,ge,De);const Fe=function(re){if("string"==typeof re[0]&&1===re.length&&"/"===re[0])return new ci(!0,0,re);let W=0,F=!1;const ge=re.reduce((De,Fe,et)=>{if("object"==typeof Fe&&null!=Fe){if(Fe.outlets){const ft={};return ce(Fe.outlets,(Ut,sn)=>{ft[sn]="string"==typeof Ut?Ut.split("/"):Ut}),[...De,{outlets:ft}]}if(Fe.segmentPath)return[...De,Fe.segmentPath]}return"string"!=typeof Fe?[...De,Fe]:0===et?(Fe.split("/").forEach((ft,Ut)=>{0==Ut&&"."===ft||(0==Ut&&""===ft?F=!0:".."===ft?W++:""!=ft&&De.push(ft))}),De):[...De,Fe]},[]);return new ci(F,W,ge)}(F);if(Fe.toRoot())return ui(W.root,new Ge([],{}),W,ge,De);const et=function(re,W,F){if(re.isAbsolute)return new Ri(W.root,!0,0);if(-1===F.snapshot._lastPathIndex){const Fe=F.snapshot._urlSegment;return new Ri(Fe,Fe===W.root,0)}const ge=kn(re.commands[0])?0:1;return function(re,W,F){let ge=re,De=W,Fe=F;for(;Fe>De;){if(Fe-=De,ge=ge.parent,!ge)throw new Error("Invalid number of '../'");De=ge.segments.length}return new Ri(ge,!1,De-Fe)}(F.snapshot._urlSegment,F.snapshot._lastPathIndex+ge,re.numberOfDoubleDots)}(Fe,W,re),ft=et.processChildren?Qi(et.segmentGroup,et.index,Fe.commands):mn(et.segmentGroup,et.index,Fe.commands);return ui(et.segmentGroup,ft,W,ge,De)}(sn,this.currentUrlTree,F,cn,null!=$n?$n:null)}navigateByUrl(F,ge={skipLocationChange:!1}){const De=mi(F)?F:this.parseUrl(F),Fe=this.urlHandlingStrategy.merge(De,this.rawUrlTree);return this.scheduleNavigation(Fe,"imperative",null,ge)}navigate(F,ge={skipLocationChange:!1}){return function(re){for(let W=0;W{const Fe=F[De];return null!=Fe&&(ge[De]=Fe),ge},{})}processNavigations(){this.navigations.subscribe(F=>{this.navigated=!0,this.lastSuccessfulId=F.id,this.currentPageId=F.targetPageId,this.events.next(new U(F.id,this.serializeUrl(F.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,F.resolve(!0)},F=>{this.console.warn(`Unhandled Navigation Error: ${F}`)})}scheduleNavigation(F,ge,De,Fe,et){var ft,Ut,sn;if(this.disposed)return Promise.resolve(!1);const $n=this.transitions.value,cn=Un(ge)&&$n&&!Un($n.source),qn=$n.rawUrl.toString()===F.toString(),Zn=$n.id===(null===(ft=this.currentNavigation)||void 0===ft?void 0:ft.id);if(cn&&qn&&Zn)return Promise.resolve(!0);let vr,Wr,Kr;et?(vr=et.resolve,Wr=et.reject,Kr=et.promise):Kr=new Promise((gs,Xa)=>{vr=gs,Wr=Xa});const Is=++this.navigationId;let Pr;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(De=this.location.getState()),Pr=De&&De.\u0275routerPageId?De.\u0275routerPageId:Fe.replaceUrl||Fe.skipLocationChange?null!==(Ut=this.browserPageId)&&void 0!==Ut?Ut:0:(null!==(sn=this.browserPageId)&&void 0!==sn?sn:0)+1):Pr=0,this.setTransition({id:Is,targetPageId:Pr,source:ge,restoredState:De,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:F,extras:Fe,resolve:vr,reject:Wr,promise:Kr,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Kr.catch(gs=>Promise.reject(gs))}setBrowserUrl(F,ge){const De=this.urlSerializer.serialize(F),Fe=Object.assign(Object.assign({},ge.extras.state),this.generateNgRouterState(ge.id,ge.targetPageId));this.location.isCurrentPathEqualTo(De)||ge.extras.replaceUrl?this.location.replaceState(De,"",Fe):this.location.go(De,"",Fe)}restoreHistory(F,ge=!1){var De,Fe;if("computed"===this.canceledNavigationResolution){const et=this.currentPageId-F.targetPageId;"popstate"!==F.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(De=this.currentNavigation)||void 0===De?void 0:De.finalUrl)||0===et?this.currentUrlTree===(null===(Fe=this.currentNavigation)||void 0===Fe?void 0:Fe.finalUrl)&&0===et&&(this.resetState(F),this.browserUrlTree=F.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(et)}else"replace"===this.canceledNavigationResolution&&(ge&&this.resetState(F),this.resetUrlToCurrentUrlTree())}resetState(F){this.routerState=F.currentRouterState,this.currentUrlTree=F.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,F.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(F,ge){const De=new ie(F.id,this.serializeUrl(F.extractedUrl),ge);this.triggerEvent(De),F.resolve(!1)}generateNgRouterState(F,ge){return"computed"===this.canceledNavigationResolution?{navigationId:F,\u0275routerPageId:ge}:{navigationId:F}}}return re.\u0275fac=function(F){n.\u0275\u0275invalidFactory()},re.\u0275prov=n.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac}),re})();function Un(re){return"imperative"!==re}let hi=(()=>{class re{constructor(F,ge,De,Fe,et){this.router=F,this.route=ge,this.tabIndexAttribute=De,this.renderer=Fe,this.el=et,this.commands=null,this.onChanges=new g.xQ,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(F){if(null!=this.tabIndexAttribute)return;const ge=this.renderer,De=this.el.nativeElement;null!==F?ge.setAttribute(De,"tabindex",F):ge.removeAttribute(De,"tabindex")}ngOnChanges(F){this.onChanges.next(this)}set routerLink(F){null!=F?(this.commands=Array.isArray(F)?F:[F],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const F={skipLocationChange:Ai(this.skipLocationChange),replaceUrl:Ai(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,F),!0}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:Ai(this.preserveFragment)})}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275directiveInject(ln),n.\u0275\u0275directiveInject(S),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},re.\u0275dir=n.\u0275\u0275defineDirective({type:re,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(F,ge){1&F&&n.\u0275\u0275listener("click",function(){return ge.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[n.\u0275\u0275NgOnChangesFeature]}),re})(),Pn=(()=>{class re{constructor(F,ge,De){this.router=F,this.route=ge,this.locationStrategy=De,this.commands=null,this.href=null,this.onChanges=new g.xQ,this.subscription=F.events.subscribe(Fe=>{Fe instanceof U&&this.updateTargetUrlAndHref()})}set routerLink(F){this.commands=null!=F?Array.isArray(F)?F:[F]:null}ngOnChanges(F){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(F,ge,De,Fe,et){if(0!==F||ge||De||Fe||et||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const ft={skipLocationChange:Ai(this.skipLocationChange),replaceUrl:Ai(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,ft),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}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:Ai(this.preserveFragment)})}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275directiveInject(ln),n.\u0275\u0275directiveInject(S),n.\u0275\u0275directiveInject(pe.LocationStrategy))},re.\u0275dir=n.\u0275\u0275defineDirective({type:re,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(F,ge){1&F&&n.\u0275\u0275listener("click",function(Fe){return ge.onClick(Fe.button,Fe.ctrlKey,Fe.shiftKey,Fe.altKey,Fe.metaKey)}),2&F&&n.\u0275\u0275attribute("target",ge.target)("href",ge.href,n.\u0275\u0275sanitizeUrl)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[n.\u0275\u0275NgOnChangesFeature]}),re})();function Ai(re){return""===re||!!re}let ei=(()=>{class re{constructor(F,ge,De,Fe,et,ft){this.router=F,this.element=ge,this.renderer=De,this.cdr=Fe,this.link=et,this.linkWithHref=ft,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=F.events.subscribe(Ut=>{Ut instanceof U&&this.update()})}ngAfterContentInit(){(0,u.of)(this.links.changes,this.linksWithHrefs.changes,(0,u.of)(null)).pipe((0,xe.J)()).subscribe(F=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var F;null===(F=this.linkInputChangesSubscription)||void 0===F||F.unsubscribe();const ge=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(De=>!!De).map(De=>De.onChanges);this.linkInputChangesSubscription=(0,l.D)(ge).pipe((0,xe.J)()).subscribe(De=>{this.isActive!==this.isLinkActive(this.router)(De)&&this.update()})}set routerLinkActive(F){const ge=Array.isArray(F)?F:F.split(" ");this.classes=ge.filter(De=>!!De)}ngOnChanges(F){this.update()}ngOnDestroy(){var F;this.routerEventsSubscription.unsubscribe(),null===(F=this.linkInputChangesSubscription)||void 0===F||F.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const F=this.hasActiveLinks();this.isActive!==F&&(this.isActive=F,this.cdr.markForCheck(),this.classes.forEach(ge=>{F?this.renderer.addClass(this.element.nativeElement,ge):this.renderer.removeClass(this.element.nativeElement,ge)}),this.isActiveChange.emit(F))})}isLinkActive(F){const ge=function(re){return!!re.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return De=>!!De.urlTree&&F.isActive(De.urlTree,ge)}hasActiveLinks(){const F=this.isLinkActive(this.router);return this.link&&F(this.link)||this.linkWithHref&&F(this.linkWithHref)||this.links.some(F)||this.linksWithHrefs.some(F)}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275directiveInject(ln),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(hi,8),n.\u0275\u0275directiveInject(Pn,8))},re.\u0275dir=n.\u0275\u0275defineDirective({type:re,selectors:[["","routerLinkActive",""]],contentQueries:function(F,ge,De){if(1&F&&(n.\u0275\u0275contentQuery(De,hi,5),n.\u0275\u0275contentQuery(De,Pn,5)),2&F){let Fe;n.\u0275\u0275queryRefresh(Fe=n.\u0275\u0275loadQuery())&&(ge.links=Fe),n.\u0275\u0275queryRefresh(Fe=n.\u0275\u0275loadQuery())&&(ge.linksWithHrefs=Fe)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[n.\u0275\u0275NgOnChangesFeature]}),re})();class hs{}class Ni{preload(W,F){return F().pipe((0,Y.K)(()=>(0,u.of)(null)))}}class _r{preload(W,F){return(0,u.of)(null)}}let or=(()=>{class re{constructor(F,ge,De,Fe){this.router=F,this.injector=De,this.preloadingStrategy=Fe,this.loader=new Ji(De,ge,Ut=>F.triggerEvent(new pt(Ut)),Ut=>F.triggerEvent(new Dt(Ut)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,T.h)(F=>F instanceof U),(0,$.b)(()=>this.preload())).subscribe(()=>{})}preload(){const F=this.injector.get(n.NgModuleRef);return this.processRoutes(F,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(F,ge){const De=[];for(const Fe of ge)if(Fe.loadChildren&&!Fe.canLoad&&Fe._loadedConfig){const et=Fe._loadedConfig;De.push(this.processRoutes(et.module,et.routes))}else Fe.loadChildren&&!Fe.canLoad?De.push(this.preloadConfig(F,Fe)):Fe.children&&De.push(this.processRoutes(F,Fe.children));return(0,l.D)(De).pipe((0,xe.J)(),(0,s.U)(Fe=>{}))}preloadConfig(F,ge){return this.preloadingStrategy.preload(ge,()=>(ge._loadedConfig?(0,u.of)(ge._loadedConfig):this.loader.load(F.injector,ge)).pipe((0,X.zg)(Fe=>(ge._loadedConfig=Fe,this.processRoutes(Fe.module,Fe.routes)))))}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275inject(ln),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.Injector),n.\u0275\u0275inject(hs))},re.\u0275prov=n.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac}),re})(),Hi=(()=>{class re{constructor(F,ge,De={}){this.router=F,this.viewportScroller=ge,this.options=De,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},De.scrollPositionRestoration=De.scrollPositionRestoration||"disabled",De.anchorScrolling=De.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(F=>{F instanceof ae?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=F.navigationTrigger,this.restoredId=F.restoredState?F.restoredState.navigationId:0):F instanceof U&&(this.lastId=F.id,this.scheduleScrollEvent(F,this.router.parseUrl(F.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(F=>{F instanceof Et&&(F.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(F.position):F.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(F.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(F,ge){this.router.triggerEvent(new Et(F,"popstate"===this.lastSource?this.store[this.restoredId]:null,ge))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return re.\u0275fac=function(F){n.\u0275\u0275invalidFactory()},re.\u0275prov=n.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac}),re})();const yr=new n.InjectionToken("ROUTER_CONFIGURATION"),Ts=new n.InjectionToken("ROUTER_FORROOT_GUARD"),Ns=[pe.Location,{provide:Ee,useClass:B},{provide:ln,useFactory:function(re,W,F,ge,De,Fe,et={},ft,Ut){const sn=new ln(null,re,W,F,ge,De,_(Fe));return ft&&(sn.urlHandlingStrategy=ft),Ut&&(sn.routeReuseStrategy=Ut),R(et,sn),et.enableTracing&&sn.events.subscribe($n=>{var cn,qn;null===(cn=console.group)||void 0===cn||cn.call(console,`Router Event: ${$n.constructor.name}`),console.log($n.toString()),console.log($n),null===(qn=console.groupEnd)||void 0===qn||qn.call(console)}),sn},deps:[Ee,Li,pe.Location,n.Injector,n.Compiler,xi,yr,[Zr,new n.Optional],[ki,new n.Optional]]},Li,{provide:S,useFactory:function(re){return re.routerState.root},deps:[ln]},or,_r,Ni,{provide:yr,useValue:{enableTracing:!1}}];function Lr(){return new n.NgProbeToken("Router",ln)}let fs=(()=>{class re{constructor(F,ge){}static forRoot(F,ge){return{ngModule:re,providers:[Ns,ms(F),{provide:Ts,useFactory:ps,deps:[[ln,new n.Optional,new n.SkipSelf]]},{provide:yr,useValue:ge||{}},{provide:pe.LocationStrategy,useFactory:Fs,deps:[pe.PlatformLocation,[new n.Inject(pe.APP_BASE_HREF),new n.Optional],yr]},{provide:Hi,useFactory:Eo,deps:[ln,pe.ViewportScroller,yr]},{provide:hs,useExisting:ge&&ge.preloadingStrategy?ge.preloadingStrategy:_r},{provide:n.NgProbeToken,multi:!0,useFactory:Lr},[Be,{provide:n.APP_INITIALIZER,multi:!0,useFactory:vt,deps:[Be]},{provide:Qt,useFactory:jt,deps:[Be]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Qt}]]}}static forChild(F){return{ngModule:re,providers:[ms(F)]}}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275inject(Ts,8),n.\u0275\u0275inject(ln,8))},re.\u0275mod=n.\u0275\u0275defineNgModule({type:re}),re.\u0275inj=n.\u0275\u0275defineInjector({}),re})();function Eo(re,W,F){return F.scrollOffset&&W.setOffset(F.scrollOffset),new Hi(re,W,F)}function Fs(re,W,F={}){return F.useHash?new pe.HashLocationStrategy(re,W):new pe.PathLocationStrategy(re,W)}function ps(re){return"guarded"}function ms(re){return[{provide:n.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:re},{provide:xi,multi:!0,useValue:re}]}function R(re,W){re.errorHandler&&(W.errorHandler=re.errorHandler),re.malformedUriErrorHandler&&(W.malformedUriErrorHandler=re.malformedUriErrorHandler),re.onSameUrlNavigation&&(W.onSameUrlNavigation=re.onSameUrlNavigation),re.paramsInheritanceStrategy&&(W.paramsInheritanceStrategy=re.paramsInheritanceStrategy),re.relativeLinkResolution&&(W.relativeLinkResolution=re.relativeLinkResolution),re.urlUpdateStrategy&&(W.urlUpdateStrategy=re.urlUpdateStrategy),re.canceledNavigationResolution&&(W.canceledNavigationResolution=re.canceledNavigationResolution)}let Be=(()=>{class re{constructor(F){this.injector=F,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new g.xQ}appInitializer(){return this.injector.get(pe.LOCATION_INITIALIZED,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let ge=null;const De=new Promise(ft=>ge=ft),Fe=this.injector.get(ln),et=this.injector.get(yr);return"disabled"===et.initialNavigation?(Fe.setUpLocationChangeListener(),ge(!0)):"enabled"===et.initialNavigation||"enabledBlocking"===et.initialNavigation?(Fe.hooks.afterPreactivation=()=>this.initNavigation?(0,u.of)(null):(this.initNavigation=!0,ge(!0),this.resultOfPreactivationDone),Fe.initialNavigation()):ge(!0),De})}bootstrapListener(F){const ge=this.injector.get(yr),De=this.injector.get(or),Fe=this.injector.get(Hi),et=this.injector.get(ln),ft=this.injector.get(n.ApplicationRef);F===ft.components[0]&&(("enabledNonBlocking"===ge.initialNavigation||void 0===ge.initialNavigation)&&et.initialNavigation(),De.setUpPreloading(),Fe.init(),et.resetRootComponentType(ft.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return re.\u0275fac=function(F){return new(F||re)(n.\u0275\u0275inject(n.Injector))},re.\u0275prov=n.\u0275\u0275defineInjectable({token:re,factory:re.\u0275fac}),re})();function vt(re){return re.appInitializer.bind(re)}function jt(re){return re.bootstrapListener.bind(re)}const Qt=new n.InjectionToken("Router Initializer"),fi=new n.Version("13.1.1")},6114:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{AUTH_CONFIG:()=>AUTH_CONFIG,AbstractValidationHandler:()=>AbstractValidationHandler,AuthConfig:()=>AuthConfig,DateTimeProvider:()=>DateTimeProvider,DefaultHashHandler:()=>DefaultHashHandler,DefaultOAuthInterceptor:()=>DefaultOAuthInterceptor,HashHandler:()=>HashHandler,JwksValidationHandler:()=>JwksValidationHandler,LoginOptions:()=>LoginOptions,MemoryStorage:()=>MemoryStorage,NullValidationHandler:()=>NullValidationHandler,OAuthErrorEvent:()=>OAuthErrorEvent,OAuthEvent:()=>OAuthEvent,OAuthInfoEvent:()=>OAuthInfoEvent,OAuthLogger:()=>OAuthLogger,OAuthModule:()=>OAuthModule,OAuthModuleConfig:()=>OAuthModuleConfig,OAuthNoopResourceServerErrorHandler:()=>OAuthNoopResourceServerErrorHandler,OAuthResourceServerConfig:()=>OAuthResourceServerConfig,OAuthResourceServerErrorHandler:()=>OAuthResourceServerErrorHandler,OAuthService:()=>OAuthService,OAuthStorage:()=>OAuthStorage,OAuthSuccessEvent:()=>OAuthSuccessEvent,ReceivedTokens:()=>ReceivedTokens,SystemDateTimeProvider:()=>SystemDateTimeProvider,UrlHelperService:()=>UrlHelperService,ValidationHandler:()=>ValidationHandler});var _angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(5e3),_angular_common__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(9808),_angular_common_http__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(520),tslib__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(655),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8929),rxjs__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1086),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(5254),rxjs__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1946),rxjs__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1737),rxjs__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(6053),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(6787),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(2198),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(2868),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(13),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(943),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7545),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(4850),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(7224),rxjs_operators__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(7221),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(7e3),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(2986),rxjs_operators__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(1709),fast_sha256__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1302);class DateTimeProvider{}let SystemDateTimeProvider=(()=>{class he extends DateTimeProvider{now(){return Date.now()}new(){return new Date}}return he.\u0275fac=function(){let A;return function(n){return(A||(A=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275getInheritedFactory(he)))(n||he)}}(),he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})();class LoginOptions{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class OAuthLogger{}class OAuthStorage{}let MemoryStorage=(()=>{class he{constructor(){this.data=new Map}getItem(o){return this.data.get(o)}removeItem(o){this.data.delete(o)}setItem(o,n){this.data.set(o,n)}}return he.\u0275fac=function(o){return new(o||he)},he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})();class ReceivedTokens{}class OAuthEvent{constructor(A){this.type=A}}class OAuthSuccessEvent extends OAuthEvent{constructor(A,o=null){super(A),this.info=o}}class OAuthInfoEvent extends OAuthEvent{constructor(A,o=null){super(A),this.info=o}}class OAuthErrorEvent extends OAuthEvent{constructor(A,o,n=null){super(A),this.reason=o,this.params=n}}function b64DecodeUnicode(he){const A=he.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(A).split("").map(function(o){return"%"+("00"+o.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function base64UrlEncode(he){return btoa(he).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class AuthConfig{constructor(A){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=null,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.waitForTokenInMsec=0,this.disablePKCE=!1,this.preserveRequestedRoute=!1,this.openUri=o=>{location.href=o},A&&Object.assign(this,A)}}class WebHttpUrlEncodingCodec{encodeKey(A){return encodeURIComponent(A)}encodeValue(A){return encodeURIComponent(A)}decodeKey(A){return decodeURIComponent(A)}decodeValue(A){return decodeURIComponent(A)}}class ValidationHandler{}class AbstractValidationHandler{validateAtHash(A){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){let o=this.inferHashAlgorithm(A.idTokenHeader),n=yield this.calcHash(A.accessToken,o),u=base64UrlEncode(n.substr(0,n.length/2)),c=A.idTokenClaims.at_hash.replace(/=/g,"");return u!==c&&(console.error("exptected at_hash: "+u),console.error("actual at_hash: "+c)),u===c})}inferHashAlgorithm(A){let o=A.alg;if(!o.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+o);return"sha-"+o.substr(2)}}let UrlHelperService=(()=>{class he{getHashFragmentParams(o){let n=o||window.location.hash;if(n=decodeURIComponent(n),0!==n.indexOf("#"))return{};const l=n.indexOf("?");return n=n.substr(l>-1?l+1:1),this.parseQueryString(n)}parseQueryString(o){const n={};let l,u,c,r,d,m,p;if(null===o)return n;l=o.split("&");for(let y=0;y>6,u[r++]=128|63&d):d<55296||d>=57344?(u[r++]=224|d>>12,u[r++]=128|d>>6&63,u[r++]=128|63&d):(d=65536+((1023&d)<<10|1023&he.charCodeAt(++n)),u[r++]=240|d>>18,u[r++]=128|d>>12&63,u[r++]=128|d>>6&63,u[r++]=128|63&d);he=u}else{if("object"!==l)throw new Error(ERROR);if(null===he)throw new Error(ERROR);if(ARRAY_BUFFER&&he.constructor===ArrayBuffer)he=new Uint8Array(he);else if(!(Array.isArray(he)||ARRAY_BUFFER&&ArrayBuffer.isView(he)))throw new Error(ERROR)}he.length>64&&(he=new Sha256(A,!0).update(he).array());var m=[],p=[];for(n=0;n<64;++n){var y=he[n]||0;m[n]=92^y,p[n]=54^y}Sha256.call(this,A,o),this.update(p),this.oKeyPad=m,this.inner=!0,this.sharedMemory=o}Sha256.prototype.update=function(he){if(!this.finalized){var A,o=typeof he;if("string"!==o){if("object"!==o)throw new Error(ERROR);if(null===he)throw new Error(ERROR);if(ARRAY_BUFFER&&he.constructor===ArrayBuffer)he=new Uint8Array(he);else if(!(Array.isArray(he)||ARRAY_BUFFER&&ArrayBuffer.isView(he)))throw new Error(ERROR);A=!0}for(var n,u,l=0,c=he.length,r=this.blocks;l>2]|=he[l]<>2]|=n<>2]|=(192|n>>6)<>2]|=(128|63&n)<=57344?(r[u>>2]|=(224|n>>12)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<>2]|=(240|n>>18)<>2]|=(128|n>>12&63)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<=64?(this.block=r[16],this.start=u-64,this.hash(),this.hashed=!0):this.start=u}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var he=this.blocks,A=this.lastByteIndex;he[16]=this.block,he[A>>2]|=EXTRA[3&A],this.block=he[16],A>=56&&(this.hashed||this.hash(),he[0]=this.block,he[16]=he[1]=he[2]=he[3]=he[4]=he[5]=he[6]=he[7]=he[8]=he[9]=he[10]=he[11]=he[12]=he[13]=he[14]=he[15]=0),he[14]=this.hBytes<<3|this.bytes>>>29,he[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var m,h,C,P,w,D,he=this.h0,A=this.h1,o=this.h2,n=this.h3,l=this.h4,u=this.h5,c=this.h6,r=this.h7,d=this.blocks;for(m=16;m<64;++m)d[m]=d[m-16]+(((h=d[m-15])>>>7|h<<25)^(h>>>18|h<<14)^h>>>3)+d[m-7]+(((h=d[m-2])>>>17|h<<15)^(h>>>19|h<<13)^h>>>10)<<0;for(D=A&o,m=0;m<64;m+=4)this.first?(this.is224?(C=300032,r=(h=d[0]-1413257819)-150054599<<0,n=h+24177077<<0):(C=704751109,r=(h=d[0]-210244248)-1521486534<<0,n=h+143694565<<0),this.first=!1):(r=n+(h=r+((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&u^~l&c)+K[m]+d[m])<<0,n=h+(((he>>>2|he<<30)^(he>>>13|he<<19)^(he>>>22|he<<10))+((C=he&A)^he&o^D))<<0),c=o+(h=c+((r>>>6|r<<26)^(r>>>11|r<<21)^(r>>>25|r<<7))+(r&l^~r&u)+K[m+1]+d[m+1])<<0,o=h+(((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+((P=n&he)^n&A^C))<<0,u=A+(h=u+((c>>>6|c<<26)^(c>>>11|c<<21)^(c>>>25|c<<7))+(c&r^~c&l)+K[m+2]+d[m+2])<<0,A=h+(((o>>>2|o<<30)^(o>>>13|o<<19)^(o>>>22|o<<10))+((w=o&n)^o&he^P))<<0,l=he+(h=l+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&c^~u&r)+K[m+3]+d[m+3])<<0,he=h+(((A>>>2|A<<30)^(A>>>13|A<<19)^(A>>>22|A<<10))+((D=A&o)^A&n^w))<<0;this.h0=this.h0+he<<0,this.h1=this.h1+A<<0,this.h2=this.h2+o<<0,this.h3=this.h3+n<<0,this.h4=this.h4+l<<0,this.h5=this.h5+u<<0,this.h6=this.h6+c<<0,this.h7=this.h7+r<<0},Sha256.prototype.hex=function(){this.finalize();var he=this.h0,A=this.h1,o=this.h2,n=this.h3,l=this.h4,u=this.h5,c=this.h6,r=this.h7,d=HEX_CHARS[he>>28&15]+HEX_CHARS[he>>24&15]+HEX_CHARS[he>>20&15]+HEX_CHARS[he>>16&15]+HEX_CHARS[he>>12&15]+HEX_CHARS[he>>8&15]+HEX_CHARS[he>>4&15]+HEX_CHARS[15&he]+HEX_CHARS[A>>28&15]+HEX_CHARS[A>>24&15]+HEX_CHARS[A>>20&15]+HEX_CHARS[A>>16&15]+HEX_CHARS[A>>12&15]+HEX_CHARS[A>>8&15]+HEX_CHARS[A>>4&15]+HEX_CHARS[15&A]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[l>>28&15]+HEX_CHARS[l>>24&15]+HEX_CHARS[l>>20&15]+HEX_CHARS[l>>16&15]+HEX_CHARS[l>>12&15]+HEX_CHARS[l>>8&15]+HEX_CHARS[l>>4&15]+HEX_CHARS[15&l]+HEX_CHARS[u>>28&15]+HEX_CHARS[u>>24&15]+HEX_CHARS[u>>20&15]+HEX_CHARS[u>>16&15]+HEX_CHARS[u>>12&15]+HEX_CHARS[u>>8&15]+HEX_CHARS[u>>4&15]+HEX_CHARS[15&u]+HEX_CHARS[c>>28&15]+HEX_CHARS[c>>24&15]+HEX_CHARS[c>>20&15]+HEX_CHARS[c>>16&15]+HEX_CHARS[c>>12&15]+HEX_CHARS[c>>8&15]+HEX_CHARS[c>>4&15]+HEX_CHARS[15&c];return this.is224||(d+=HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]),d},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var he=this.h0,A=this.h1,o=this.h2,n=this.h3,l=this.h4,u=this.h5,c=this.h6,r=this.h7,d=[he>>24&255,he>>16&255,he>>8&255,255&he,A>>24&255,A>>16&255,A>>8&255,255&A,o>>24&255,o>>16&255,o>>8&255,255&o,n>>24&255,n>>16&255,n>>8&255,255&n,l>>24&255,l>>16&255,l>>8&255,255&l,u>>24&255,u>>16&255,u>>8&255,255&u,c>>24&255,c>>16&255,c>>8&255,255&c];return this.is224||d.push(r>>24&255,r>>16&255,r>>8&255,255&r),d},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var he=new ArrayBuffer(this.is224?28:32),A=new DataView(he);return A.setUint32(0,this.h0),A.setUint32(4,this.h1),A.setUint32(8,this.h2),A.setUint32(12,this.h3),A.setUint32(16,this.h4),A.setUint32(20,this.h5),A.setUint32(24,this.h6),this.is224||A.setUint32(28,this.h7),he},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var he=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(he),Sha256.prototype.finalize.call(this)}};var exports=createMethod();return exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),exports}const sha256=factory();class HashHandler{}function decodeUTF8(he){if("string"!=typeof he)throw new TypeError("expected string");var A,o=he,n=new Uint8Array(o.length);for(A=0;A{class he{calcHash(o,n){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){return encodeUTF8(fast_sha256__WEBPACK_IMPORTED_MODULE_0__(decodeUTF8(o)))})}toHashString2(o){let n="";for(let l of o)n+=String.fromCharCode(l);return n}toHashString(o){const n=new Uint8Array(o);let l="";for(let u of n)l+=String.fromCharCode(u);return l}}return he.\u0275fac=function(o){return new(o||he)},he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})(),OAuthService=(()=>{class he extends AuthConfig{constructor(o,n,l,u,c,r,d,m,p,y){var b;super(),this.ngZone=o,this.http=n,this.config=c,this.urlHelper=r,this.logger=d,this.crypto=m,this.dateTimeService=y,this.discoveryDocumentLoaded=!1,this.state="",this.eventsSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.discoveryDocumentLoadedSubject=new rxjs__WEBPACK_IMPORTED_MODULE_3__.xQ,this.grantTypesSupported=[],this.inImplicitFlow=!1,this.saveNoncesInLocalStorage=!1,this.debug("angular-oauth2-oidc v10"),this.document=p,c||(c={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),u&&(this.tokenValidationHandler=u),c&&this.configure(c);try{l?this.setStorage(l):"undefined"!=typeof sessionStorage&&this.setStorage(sessionStorage)}catch(h){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",h)}if(this.checkLocalStorageAccessable()){const h=null===(b=null==window?void 0:window.navigator)||void 0===b?void 0:b.userAgent;((null==h?void 0:h.includes("MSIE "))||(null==h?void 0:h.includes("Trident")))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if("undefined"==typeof window)return!1;const o="test";try{return void 0!==window.localStorage&&(localStorage.setItem(o,o),localStorage.removeItem(o),!0)}catch(n){return!1}}configure(o){Object.assign(this,new AuthConfig,o),this.config=Object.assign({},new AuthConfig,o),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(o=>"token_received"===o.type)).subscribe(o=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(o={},n,l=!0){let u=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(c=>{"token_received"===c.type?u=!0:"logout"===c.type&&(u=!1)}),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(c=>"token_expires"===c.type&&(null==n||"any"===n||c.info===n)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.b)(1e3)).subscribe(c=>{u&&this.refreshInternal(o,l).catch(r=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(o,n){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(o,n):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(o=null){return this.loadDiscoveryDocument().then(n=>this.tryLogin(o))}loadDiscoveryDocumentAndLogin(o=null){return this.loadDiscoveryDocumentAndTryLogin(o=o||{}).then(n=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof o.state?o.state:""),!1))}debug(...o){this.showDebugInformation&&this.logger.debug.apply(this.logger,o)}validateUrlFromDiscoveryDocument(o){const n=[],l=this.validateUrlForHttps(o),u=this.validateUrlAgainstIssuer(o);return l||n.push("https for all urls required. Also for urls received by discovery."),u||n.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),n}validateUrlForHttps(o){if(!o)return!0;const n=o.toLowerCase();return!(!1!==this.requireHttps&&(!n.match(/^http:\/\/localhost($|[:\/])/)&&!n.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||n.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(o,n){if(!o)throw new Error(`'${n}' should not be null`);if(!this.validateUrlForHttps(o))throw new Error(`'${n}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(o){return!this.strictDiscoveryDocumentValidation||!o||o.toLowerCase().startsWith(this.issuer.toLowerCase())}setupRefreshTimer(){"undefined"!=typeof window?((this.hasValidIdToken()||this.hasValidAccessToken())&&(this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()),this.tokenReceivedSubscription&&this.tokenReceivedSubscription.unsubscribe(),this.tokenReceivedSubscription=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(o=>"token_received"===o.type)).subscribe(o=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()})):this.debug("timer not supported on this plattform")}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const o=this.getAccessTokenExpiration(),n=this.getAccessTokenStoredAt(),l=this.calcTimeout(n,o);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","access_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(l)).subscribe(u=>{this.ngZone.run(()=>{this.eventsSubject.next(u)})})})}setupIdTokenTimer(){const o=this.getIdTokenExpiration(),n=this.getIdTokenStoredAt(),l=this.calcTimeout(n,o);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthInfoEvent("token_expires","id_token")).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(l)).subscribe(u=>{this.ngZone.run(()=>{this.eventsSubject.next(u)})})})}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(o,n){const l=this.dateTimeService.now();return Math.max(0,(n-o)*this.timeoutFactor-(l-o))}setStorage(o){this._storage=o,this.configChanged()}loadDiscoveryDocument(o=null){return new Promise((n,l)=>{o||((o=this.issuer||"").endsWith("/")||(o+="/"),o+=".well-known/openid-configuration"),this.validateUrlForHttps(o)?this.http.get(o).subscribe(u=>{if(!this.validateDiscoveryDocument(u))return this.eventsSubject.next(new OAuthErrorEvent("discovery_document_validation_error",null)),void l("discovery_document_validation_error");this.loginUrl=u.authorization_endpoint,this.logoutUrl=u.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=u.grant_types_supported,this.issuer=u.issuer,this.tokenEndpoint=u.token_endpoint,this.userinfoEndpoint=u.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=u.jwks_uri,this.sessionCheckIFrameUrl=u.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(u),this.revocationEndpoint=u.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(c=>{const d=new OAuthSuccessEvent("discovery_document_loaded",{discoveryDocument:u,jwks:c});this.eventsSubject.next(d),n(d)}).catch(c=>{this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",c)),l(c)})},u=>{this.logger.error("error loading discovery document",u),this.eventsSubject.next(new OAuthErrorEvent("discovery_document_load_error",u)),l(u)}):l("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((o,n)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(l=>{this.jwks=l,this.eventsSubject.next(new OAuthSuccessEvent("discovery_document_loaded")),o(l)},l=>{this.logger.error("error loading jwks",l),this.eventsSubject.next(new OAuthErrorEvent("jwks_load_error",l)),n(l)}):o(null)})}validateDiscoveryDocument(o){let n;return this.skipIssuerCheck||o.issuer===this.issuer?(n=this.validateUrlFromDiscoveryDocument(o.authorization_endpoint),n.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",n),!1):(n=this.validateUrlFromDiscoveryDocument(o.end_session_endpoint),n.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",n),!1):(n=this.validateUrlFromDiscoveryDocument(o.token_endpoint),n.length>0&&this.logger.error("error validating token_endpoint in discovery document",n),n=this.validateUrlFromDiscoveryDocument(o.revocation_endpoint),n.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",n),n=this.validateUrlFromDiscoveryDocument(o.userinfo_endpoint),n.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",n),!1):(n=this.validateUrlFromDiscoveryDocument(o.jwks_uri),n.length>0?(this.logger.error("error validating jwks_uri in discovery document",n),!1):(this.sessionChecksEnabled&&!o.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: "+o.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(o,n,l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders){return this.fetchTokenUsingPasswordFlow(o,n,l).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((o,n)=>{const l=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:l,observe:"response",responseType:"text"}).subscribe(u=>{if(this.debug("userinfo received",JSON.stringify(u)),u.headers.get("content-type").startsWith("application/json")){let c=JSON.parse(u.body);const r=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!r.sub||c.sub!==r.sub))return void n("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");c=Object.assign({},r,c),this._storage.setItem("id_token_claims_obj",JSON.stringify(c)),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),o({info:c})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new OAuthSuccessEvent("user_profile_loaded")),o(JSON.parse(u.body))},u=>{this.logger.error("error loading user info",u),this.eventsSubject.next(new OAuthErrorEvent("user_profile_load_error",u)),n(u)})})}fetchTokenUsingPasswordFlow(o,n,l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:o,password:n},l)}fetchTokenUsingGrant(o,n,l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let u=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec}).set("grant_type",o).set("scope",this.scope);if(this.useHttpBasicAuth){const c=btoa(`${this.clientId}:${this.dummyClientSecret}`);l=l.set("Authorization","Basic "+c)}if(this.useHttpBasicAuth||(u=u.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(u=u.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const c of Object.getOwnPropertyNames(this.customQueryParams))u=u.set(c,this.customQueryParams[c]);for(const c of Object.keys(n))u=u.set(c,n[c]);return l=l.set("Content-Type","application/x-www-form-urlencoded"),new Promise((c,r)=>{this.http.post(this.tokenEndpoint,u,{headers:l}).subscribe(d=>{this.debug("tokenResponse",d),this.storeAccessTokenResponse(d.access_token,d.refresh_token,d.expires_in||this.fallbackAccessTokenExpirationTimeInSec,d.scope,this.extractRecognizedCustomParameters(d)),this.oidc&&d.id_token&&this.processIdToken(d.id_token,d.access_token).then(m=>{this.storeIdToken(m),c(d)}),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),c(d)},d=>{this.logger.error("Error performing ${grantType} flow",d),this.eventsSubject.next(new OAuthErrorEvent("token_error",d)),r(d)})})}refreshToken(){return this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint"),new Promise((o,n)=>{let l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),u=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const c=btoa(`${this.clientId}:${this.dummyClientSecret}`);u=u.set("Authorization","Basic "+c)}if(this.useHttpBasicAuth||(l=l.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(l=l.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const c of Object.getOwnPropertyNames(this.customQueryParams))l=l.set(c,this.customQueryParams[c]);this.http.post(this.tokenEndpoint,l,{headers:u}).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.w)(c=>c.id_token?(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.D)(this.processIdToken(c.id_token,c.access_token,!0)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.b)(r=>this.storeIdToken(r)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(r=>c)):(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(c))).subscribe(c=>{this.debug("refresh tokenResponse",c),this.storeAccessTokenResponse(c.access_token,c.refresh_token,c.expires_in||this.fallbackAccessTokenExpirationTimeInSec,c.scope,this.extractRecognizedCustomParameters(c)),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),o(c)},c=>{this.logger.error("Error refreshing token",c),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",c)),n(c)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=o=>{const n=this.processMessageEventMessage(o);this.tryLogin({customHashFragment:n,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(l=>this.debug("tryLogin during silent refresh failed",l))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(o={},n=!0){const l=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(o.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(void 0===this.document)throw new Error("silent refresh is not supported on this platform");const u=this.document.getElementById(this.silentRefreshIFrameName);u&&this.document.body.removeChild(u),this.silentRefreshSubject=l.sub;const c=this.document.createElement("iframe");c.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,n,o).then(y=>{c.setAttribute("src",y),this.silentRefreshShowIFrame||(c.style.display="none"),this.document.body.appendChild(c)});const d=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(y=>y instanceof OAuthErrorEvent),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),m=this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(y=>"token_received"===y.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()),p=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(new OAuthErrorEvent("silent_refresh_timeout",null)).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.g)(this.silentRefreshTimeout));return(0,rxjs__WEBPACK_IMPORTED_MODULE_14__.S3)([d,m,p]).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(y=>{if(y instanceof OAuthErrorEvent)throw"silent_refresh_timeout"===y.type||(y=new OAuthErrorEvent("silent_refresh_error",y)),this.eventsSubject.next(y),y;return"token_received"===y.type&&(y=new OAuthSuccessEvent("silently_refreshed"),this.eventsSubject.next(y)),y})).toPromise()}initImplicitFlowInPopup(o){return this.initLoginFlowInPopup(o)}initLoginFlowInPopup(o){return o=o||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(n=>new Promise((l,u)=>{let d,r=null;o.windowRef?o.windowRef&&!o.windowRef.closed&&(r=o.windowRef,r.location.href=n):r=window.open(n,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(o));const m=g=>{this.tryLogin({customHashFragment:g,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{y(),l(!0)},s=>{y(),u(s)})};r?d=window.setInterval(()=>{(!r||r.closed)&&(y(),u(new OAuthErrorEvent("popup_closed",{})))},500):u(new OAuthErrorEvent("popup_blocked",{}));const y=()=>{window.clearInterval(d),window.removeEventListener("storage",h),window.removeEventListener("message",b),null!==r&&r.close(),r=null},b=g=>{const s=this.processMessageEventMessage(g);s&&null!==s?(window.removeEventListener("storage",h),m(s)):console.log("false event firing")},h=g=>{"auth_hash"===g.key&&(window.removeEventListener("message",b),m(g.newValue))};window.addEventListener("message",b),window.addEventListener("storage",h)}))}calculatePopupFeatures(o){const n=o.height||470,l=o.width||500,u=window.screenLeft+(window.outerWidth-l)/2;return`location=no,toolbar=no,width=${l},height=${n},top=${window.screenTop+(window.outerHeight-n)/2},left=${u}`}processMessageEventMessage(o){let n="#";if(this.silentRefreshMessagePrefix&&(n+=this.silentRefreshMessagePrefix),!o||!o.data||"string"!=typeof o.data)return;const l=o.data;return l.startsWith(n)?"#"+l.substr(n.length):void 0}canPerformSessionCheck(){return!!this.sessionChecksEnabled&&(this.sessionCheckIFrameUrl?this.getSessionState()?void 0!==this.document:(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=o=>{const n=o.origin.toLowerCase(),l=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),l.startsWith(n)){switch(o.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",o)}else this.debug("sessionCheckEventListener","wrong origin",n,"expected",l,"event",o)},this.ngZone.runOutsideAngular(()=>{window.addEventListener("message",this.sessionCheckEventListener)})}handleSessionUnchanged(){this.debug("session check","session unchanged"),this.eventsSubject.next(new OAuthInfoEvent("session_unchanged"))}handleSessionChange(){this.eventsSubject.next(new OAuthInfoEvent("session_changed")),this.stopSessionCheckTimer(),this.useSilentRefresh||"code"!==this.responseType?this.silentRefreshRedirectUri?(this.silentRefresh().catch(o=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)):this.refreshToken().then(o=>{this.debug("token refresh after session change worked")}).catch(o=>{this.debug("token refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0)})}waitForSilentRefreshAfterSessionChange(){this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(o=>"silently_refreshed"===o.type||"silent_refresh_timeout"===o.type||"silent_refresh_error"===o.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.P)()).subscribe(o=>{"silently_refreshed"!==o.type&&(this.debug("silent refresh did not work after session changed"),this.eventsSubject.next(new OAuthInfoEvent("session_terminated")),this.logOut(!0))})}handleSessionError(){this.stopSessionCheckTimer(),this.eventsSubject.next(new OAuthInfoEvent("session_error"))}removeSessionCheckEventListener(){this.sessionCheckEventListener&&(window.removeEventListener("message",this.sessionCheckEventListener),this.sessionCheckEventListener=null)}initSessionCheck(){if(!this.canPerformSessionCheck())return;const o=this.document.getElementById(this.sessionCheckIFrameName);o&&this.document.body.removeChild(o);const n=this.document.createElement("iframe");n.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),n.setAttribute("src",this.sessionCheckIFrameUrl),n.style.display="none",this.document.body.appendChild(n),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 o=this.document.getElementById(this.sessionCheckIFrameName);o||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const n=this.getSessionState();n||this.stopSessionCheckTimer(),o.contentWindow.postMessage(this.clientId+" "+n,this.issuer)}createLoginUrl(o="",n="",l="",u=!1,c={}){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){const r=this;let d;d=l||this.redirectUri;const m=yield this.createAndSaveNonce();if(o=o?m+this.config.nonceStateSeparator+encodeURIComponent(o):m,!this.requestAccessToken&&!this.oidc)throw new Error("Either requestAccessToken or oidc or both must be true");this.responseType=this.config.responseType?this.config.responseType:this.oidc&&this.requestAccessToken?"id_token token":this.oidc&&!this.requestAccessToken?"id_token":"token";const p=r.loginUrl.indexOf("?")>-1?"&":"?";let y=r.scope;this.oidc&&!y.match(/(^|\s)openid($|\s)/)&&(y="openid "+y);let b=r.loginUrl+p+"response_type="+encodeURIComponent(r.responseType)+"&client_id="+encodeURIComponent(r.clientId)+"&state="+encodeURIComponent(o)+"&redirect_uri="+encodeURIComponent(d)+"&scope="+encodeURIComponent(y);if(this.responseType.includes("code")&&!this.disablePKCE){const[h,g]=yield this.createChallangeVerifierPairForPKCE();this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("PKCE_verifier",g):this._storage.setItem("PKCE_verifier",g),b+="&code_challenge="+h,b+="&code_challenge_method=S256"}n&&(b+="&login_hint="+encodeURIComponent(n)),r.resource&&(b+="&resource="+encodeURIComponent(r.resource)),r.oidc&&(b+="&nonce="+encodeURIComponent(m)),u&&(b+="&prompt=none");for(const h of Object.keys(c))b+="&"+encodeURIComponent(h)+"="+encodeURIComponent(c[h]);if(this.customQueryParams)for(const h of Object.getOwnPropertyNames(this.customQueryParams))b+="&"+h+"="+encodeURIComponent(this.customQueryParams[h]);return b})}initImplicitFlowInternal(o="",n=""){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 l={},u=null;"string"==typeof n?u=n:"object"==typeof n&&(l=n),this.createLoginUrl(o,u,null,!1,l).then(this.config.openUri).catch(c=>{console.error("Error in initImplicitFlow",c),this.inImplicitFlow=!1})}initImplicitFlow(o="",n=""){""!==this.loginUrl?this.initImplicitFlowInternal(o,n):this.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(l=>"discovery_document_loaded"===l.type)).subscribe(l=>this.initImplicitFlowInternal(o,n))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(o){const n=this;if(o.onTokenReceived){const l={idClaims:n.getIdentityClaims(),idToken:n.getIdToken(),accessToken:n.getAccessToken(),state:n.state};o.onTokenReceived(l)}}storeAccessTokenResponse(o,n,l,u,c){if(this._storage.setItem("access_token",o),u&&!Array.isArray(u)?this._storage.setItem("granted_scopes",JSON.stringify(u.split(" "))):u&&Array.isArray(u)&&this._storage.setItem("granted_scopes",JSON.stringify(u)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),l){const r=1e3*l,m=this.dateTimeService.new().getTime()+r;this._storage.setItem("expires_at",""+m)}n&&this._storage.setItem("refresh_token",n),c&&c.forEach((r,d)=>{this._storage.setItem(d,r)})}tryLogin(o=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(o).then(n=>!0):this.tryLoginImplicitFlow(o)}parseQueryString(o){return o&&0!==o.length?("?"===o.charAt(0)&&(o=o.substr(1)),this.urlHelper.parseQueryString(o)):{}}tryLoginCodeFlow(o=null){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){const n=(o=o||{}).customHashFragment?o.customHashFragment.substring(1):window.location.search,l=this.getCodePartsFromUrl(n),u=l.code,c=l.state,r=l.session_state;if(!o.preventClearHashAfterLogin){const p=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,p)}let[d,m]=this.parseState(c);if(this.state=m,l.error){this.debug("error trying to login"),this.handleLoginError(o,l);const p=new OAuthErrorEvent("code_error",{},l);return this.eventsSubject.next(p),Promise.reject(p)}if(!o.disableNonceCheck){if(!d)return this.saveRequestedRoute(),Promise.resolve();if(!o.disableOAuth2StateCheck&&!this.validateNonce(d)){const y=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(y),Promise.reject(y)}return this.storeSessionState(r),u&&(yield this.getTokenFromCode(u,o),this.restoreRequestedRoute()),Promise.resolve()}return Promise.reject()})}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const o=this._storage.getItem("requested_route");o&&history.replaceState(null,"",window.location.origin+o)}getCodePartsFromUrl(o){return o&&0!==o.length?("?"===o.charAt(0)&&(o=o.substr(1)),this.urlHelper.parseQueryString(o)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(o,n){let l=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec}).set("grant_type","authorization_code").set("code",o).set("redirect_uri",n.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let u;u=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),u?l=l.set("code_verifier",u):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(l,n)}fetchAndProcessToken(o,n){n=n||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let l=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const u=btoa(`${this.clientId}:${this.dummyClientSecret}`);l=l.set("Authorization","Basic "+u)}return this.useHttpBasicAuth||(o=o.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(o=o.set("client_secret",this.dummyClientSecret)),new Promise((u,c)=>{if(this.customQueryParams)for(let r of Object.getOwnPropertyNames(this.customQueryParams))o=o.set(r,this.customQueryParams[r]);this.http.post(this.tokenEndpoint,o,{headers:l}).subscribe(r=>{this.debug("refresh tokenResponse",r),this.storeAccessTokenResponse(r.access_token,r.refresh_token,r.expires_in||this.fallbackAccessTokenExpirationTimeInSec,r.scope,this.extractRecognizedCustomParameters(r)),this.oidc&&r.id_token?this.processIdToken(r.id_token,r.access_token,n.disableNonceCheck).then(d=>{this.storeIdToken(d),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),u(r)}).catch(d=>{this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",d)),console.error("Error validating tokens"),console.error(d),c(d)}):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.eventsSubject.next(new OAuthSuccessEvent("token_refreshed")),u(r))},r=>{console.error("Error getting token",r),this.eventsSubject.next(new OAuthErrorEvent("token_refresh_error",r)),c(r)})})}tryLoginImplicitFlow(o=null){let n;n=(o=o||{}).customHashFragment?this.urlHelper.getHashFragmentParams(o.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",n);const l=n.state;let[u,c]=this.parseState(l);if(this.state=c,n.error){this.debug("error trying to login"),this.handleLoginError(o,n);const y=new OAuthErrorEvent("token_error",{},n);return this.eventsSubject.next(y),Promise.reject(y)}const r=n.access_token,d=n.id_token,m=n.session_state,p=n.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!r||this.requestAccessToken&&!o.disableOAuth2StateCheck&&!l||this.oidc&&!d)return Promise.resolve(!1);if(this.sessionChecksEnabled&&!m&&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&&!o.disableNonceCheck&&!this.validateNonce(u)){const b=new OAuthErrorEvent("invalid_nonce_in_state",null);return this.eventsSubject.next(b),Promise.reject(b)}return this.requestAccessToken&&this.storeAccessTokenResponse(r,null,n.expires_in||this.fallbackAccessTokenExpirationTimeInSec,p),this.oidc?this.processIdToken(d,r,o.disableNonceCheck).then(y=>o.validationHandler?o.validationHandler({accessToken:r,idClaims:y.idTokenClaims,idToken:y.idToken,state:l}).then(b=>y):y).then(y=>(this.storeIdToken(y),this.storeSessionState(m),this.clearHashAfterLogin&&!o.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.callOnTokenReceivedIfExists(o),this.inImplicitFlow=!1,!0)).catch(y=>(this.eventsSubject.next(new OAuthErrorEvent("token_validation_error",y)),this.logger.error("Error validating tokens"),this.logger.error(y),Promise.reject(y))):(this.eventsSubject.next(new OAuthSuccessEvent("token_received")),this.clearHashAfterLogin&&!o.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(o),Promise.resolve(!0))}parseState(o){let n=o,l="";if(o){const u=o.indexOf(this.config.nonceStateSeparator);u>-1&&(n=o.substr(0,u),l=o.substr(u+this.config.nonceStateSeparator.length))}return[n,l]}validateNonce(o){let n;return n=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),n===o||(console.error("Validating access_token failed, wrong state/nonce.",n,o),!1)}storeIdToken(o){this._storage.setItem("id_token",o.idToken),this._storage.setItem("id_token_claims_obj",o.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+o.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(o){this._storage.setItem("session_state",o)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(o,n){o.onLoginError&&o.onLoginError(n),this.clearHashAfterLogin&&!o.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(o=6e5){return this.clockSkewInSec?1e3*this.clockSkewInSec:o}processIdToken(o,n,l=!1){const u=o.split("."),r=b64DecodeUnicode(this.padBase64(u[0])),d=JSON.parse(r),p=b64DecodeUnicode(this.padBase64(u[1])),y=JSON.parse(p);let b;if(b=this.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(y.aud)){if(y.aud.every(w=>w!==this.clientId)){const w="Wrong audience: "+y.aud.join(",");return this.logger.warn(w),Promise.reject(w)}}else if(y.aud!==this.clientId){const w="Wrong audience: "+y.aud;return this.logger.warn(w),Promise.reject(w)}if(!y.sub){const w="No sub claim in id_token";return this.logger.warn(w),Promise.reject(w)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==y.sub){const w=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${y.sub}`;return this.logger.warn(w),Promise.reject(w)}if(!y.iat){const w="No iat claim in id_token";return this.logger.warn(w),Promise.reject(w)}if(!this.skipIssuerCheck&&y.iss!==this.issuer){const w="Wrong issuer: "+y.iss;return this.logger.warn(w),Promise.reject(w)}if(!l&&y.nonce!==b){const w="Wrong nonce: "+y.nonce;return this.logger.warn(w),Promise.reject(w)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!y.at_hash){const w="An at_hash is needed!";return this.logger.warn(w),Promise.reject(w)}const h=this.dateTimeService.now(),g=1e3*y.iat,s=1e3*y.exp,C=this.getClockSkewInMsec();if(g-C>=h||s+C<=h){const w="Token has expired";return console.error(w),console.error({now:h,issuedAtMSec:g,expiresAtMSec:s}),Promise.reject(w)}const P={accessToken:n,idToken:o,jwks:this.jwks,idTokenClaims:y,idTokenHeader:d,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(P).then(w=>({idToken:o,idTokenClaims:y,idTokenClaimsJson:p,idTokenHeader:d,idTokenHeaderJson:r,idTokenExpiresAt:s})):this.checkAtHash(P).then(w=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!w){const D="Wrong at_hash";return this.logger.warn(D),Promise.reject(D)}return this.checkSignature(P).then(D=>{const Y={idToken:o,idTokenClaims:y,idTokenClaimsJson:p,idTokenHeader:d,idTokenHeaderJson:r,idTokenExpiresAt:s};return this.disableAtHashCheck?Y:this.checkAtHash(P).then($=>{if(this.requestAccessToken&&!$){const z="Wrong at_hash";return this.logger.warn(z),Promise.reject(z)}return Y})})})}getIdentityClaims(){const o=this._storage.getItem("id_token_claims_obj");return o?JSON.parse(o):null}getGrantedScopes(){const o=this._storage.getItem("granted_scopes");return o?JSON.parse(o):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(o){for(;o.length%4!=0;)o+="=";return o}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 o=this._storage.getItem("expires_at"),n=this.dateTimeService.new();return!(o&&parseInt(o,10)=0&&null!==this._storage.getItem(o)?JSON.parse(this._storage.getItem(o)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(o={},n=""){let l=!1;"boolean"==typeof o&&(l=o,o={});const u=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(r=>this._storage.removeItem(r)),this.silentRefreshSubject=null,this.eventsSubject.next(new OAuthInfoEvent("logout")),!this.logoutUrl||l||!u&&!this.postLogoutRedirectUri)return;let c;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)c=this.logoutUrl.replace(/\{\{id_token\}\}/,encodeURIComponent(u)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let r=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec});u&&(r=r.set("id_token_hint",u));const d=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";d&&(r=r.set("post_logout_redirect_uri",d),n&&(r=r.set("state",n)));for(let m in o)r=r.set(m,o[m]);c=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+r.toString()}this.config.openUri(c)}createAndSaveNonce(){const o=this;return this.createNonce().then(function(n){return o.saveNoncesInLocalStorage&&void 0!==window.localStorage?localStorage.setItem("nonce",n):o._storage.setItem("nonce",n),n})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const o=this.document.getElementById(this.silentRefreshIFrameName);o&&o.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const n=this.document.getElementById(this.sessionCheckIFrameName);n&&n.remove()}createNonce(){return new Promise(o=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let l=45,u="";const c="undefined"==typeof self?null:self.crypto||self.msCrypto;if(c){let r=new Uint8Array(l);c.getRandomValues(r),r.map||(r.map=Array.prototype.map),r=r.map(d=>n.charCodeAt(d%n.length)),u=String.fromCharCode.apply(null,r)}else for(;0"discovery_document_loaded"===l.type)).subscribe(l=>this.initCodeFlowInternal(o,n))}initCodeFlowInternal(o="",n={}){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 l={},u=null;"string"==typeof n?u=n:"object"==typeof n&&(l=n),this.createLoginUrl(o,u,null,!1,l).then(this.config.openUri).catch(c=>{console.error("Error in initAuthorizationCodeFlow"),console.error(c)})}createChallangeVerifierPairForPKCE(){return(0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this,void 0,void 0,function*(){if(!this.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const o=yield this.createNonce();return[base64UrlEncode(yield this.crypto.calcHash(o,"sha-256")),o]})}extractRecognizedCustomParameters(o){let n=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(l=>{o[l]&&n.set(l,JSON.stringify(o[l]))}),n}revokeTokenAndLogout(o={},n=!1){let l=this.revocationEndpoint,u=this.getAccessToken(),c=this.getRefreshToken();if(!u)return;let r=new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpParams({encoder:new WebHttpUrlEncodingCodec}),d=(new _angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const m=btoa(`${this.clientId}:${this.dummyClientSecret}`);d=d.set("Authorization","Basic "+m)}if(this.useHttpBasicAuth||(r=r.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(r=r.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const m of Object.getOwnPropertyNames(this.customQueryParams))r=r.set(m,this.customQueryParams[m]);return new Promise((m,p)=>{let y,b;if(u){let h=r.set("token",u).set("token_type_hint","access_token");y=this.http.post(l,h,{headers:d})}else y=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);if(c){let h=r.set("token",c).set("token_type_hint","refresh_token");b=this.http.post(l,h,{headers:d})}else b=(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null);n&&(y=y.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(h=>0===h.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(h))),b=b.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(h=>0===h.status?(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null):(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(h)))),(0,rxjs__WEBPACK_IMPORTED_MODULE_17__.aj)([y,b]).subscribe(h=>{this.logOut(o),m(h),this.logger.info("Token successfully revoked")},h=>{this.logger.error("Error revoking token",h),this.eventsSubject.next(new OAuthErrorEvent("token_revoke_error",h)),p(h)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return he.\u0275fac=function(o){return new(o||he)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HttpClient),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthStorage,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(ValidationHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(AuthConfig,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(UrlHelperService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthLogger),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(HashHandler,8),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(_angular_common__WEBPACK_IMPORTED_MODULE_18__.DOCUMENT),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(DateTimeProvider))},he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})();class OAuthModuleConfig{}class OAuthResourceServerConfig{}class OAuthResourceServerErrorHandler{}class OAuthNoopResourceServerErrorHandler{handleError(A){return(0,rxjs__WEBPACK_IMPORTED_MODULE_16__._)(A)}}let DefaultOAuthInterceptor=(()=>{class he{constructor(o,n,l){this.oAuthService=o,this.errorHandler=n,this.moduleConfig=l}checkUrl(o){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(o):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(n=>o.toLowerCase().startsWith(n.toLowerCase()))}intercept(o,n){const l=o.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(l)?this.moduleConfig.resourceServer.sendAccessToken?(0,rxjs__WEBPACK_IMPORTED_MODULE_19__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(this.oAuthService.getAccessToken()).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(c=>!!c)),this.oAuthService.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.h)(c=>"token_received"===c.type),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.V)(this.oAuthService.waitForTokenInMsec||0),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(c=>(0,rxjs__WEBPACK_IMPORTED_MODULE_7__.of)(null)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.U)(c=>this.oAuthService.getAccessToken()))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.q)(1),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_22__.zg)(c=>{if(c){const d=o.headers.set("Authorization","Bearer "+c);o=o.clone({headers:d})}return n.handle(o).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(r=>this.errorHandler.handleError(r)))})):n.handle(o).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_15__.K)(c=>this.errorHandler.handleError(c))):n.handle(o)}}return he.\u0275fac=function(o){return new(o||he)(_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthService),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthResourceServerErrorHandler),_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275inject(OAuthModuleConfig,8))},he.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjectable({token:he,factory:he.\u0275fac}),he})();class NullValidationHandler{validateSignature(A){return Promise.resolve(null)}validateAtHash(A){return Promise.resolve(!0)}}function createDefaultLogger(){return console}function createDefaultStorage(){return"undefined"!=typeof sessionStorage?sessionStorage:new MemoryStorage}let OAuthModule=(()=>{class he{static forRoot(o=null,n=NullValidationHandler){return{ngModule:he,providers:[OAuthService,UrlHelperService,{provide:OAuthLogger,useFactory:createDefaultLogger},{provide:OAuthStorage,useFactory:createDefaultStorage},{provide:ValidationHandler,useClass:n},{provide:HashHandler,useClass:DefaultHashHandler},{provide:OAuthResourceServerErrorHandler,useClass:OAuthNoopResourceServerErrorHandler},{provide:OAuthModuleConfig,useValue:o},{provide:_angular_common_http__WEBPACK_IMPORTED_MODULE_9__.HTTP_INTERCEPTORS,useClass:DefaultOAuthInterceptor,multi:!0},{provide:DateTimeProvider,useClass:SystemDateTimeProvider}]}}}return he.\u0275fac=function(o){return new(o||he)},he.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineNgModule({type:he}),he.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_1__.\u0275\u0275defineInjector({imports:[[_angular_common__WEBPACK_IMPORTED_MODULE_18__.CommonModule]]}),he})();const err="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";class JwksValidationHandler extends NullValidationHandler{constructor(){super(),console.error(err)}}const AUTH_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_1__.InjectionToken("AUTH_CONFIG")},8231:(he,A,o)=>{"use strict";o.r(A),o.d(A,{version:()=>n,VERSION:()=>l,atob:()=>oe,atobPolyfill:()=>pe,btoa:()=>D,btoaPolyfill:()=>w,fromBase64:()=>Ce,toBase64:()=>Q,utob:()=>G,encode:()=>Q,encodeURI:()=>q,encodeURL:()=>q,btou:()=>xe,decode:()=>Ce,isValid:()=>Te,fromUint8Array:()=>Y,toUint8Array:()=>U,extendString:()=>tt,extendUint8Array:()=>ot,extendBuiltins:()=>pt,Base64:()=>Dt});const n="3.7.2",l=n,u="function"==typeof atob,c="function"==typeof btoa,r="function"==typeof Buffer,d="function"==typeof TextDecoder?new TextDecoder:void 0,m="function"==typeof TextEncoder?new TextEncoder:void 0,y=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),b=(Ie=>{let Qe={};return Ie.forEach((ct,bt)=>Qe[ct]=bt),Qe})(y),h=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,g=String.fromCharCode.bind(String),s="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):(Ie,Qe=(ct=>ct))=>new Uint8Array(Array.prototype.slice.call(Ie,0).map(Qe)),C=Ie=>Ie.replace(/=/g,"").replace(/[+\/]/g,Qe=>"+"==Qe?"-":"_"),P=Ie=>Ie.replace(/[^A-Za-z0-9\+\/]/g,""),w=Ie=>{let Qe,ct,bt,Et,xt="";const dt=Ie.length%3;for(let Ne=0;Ne255||(bt=Ie.charCodeAt(Ne++))>255||(Et=Ie.charCodeAt(Ne++))>255)throw new TypeError("invalid character found");Qe=ct<<16|bt<<8|Et,xt+=y[Qe>>18&63]+y[Qe>>12&63]+y[Qe>>6&63]+y[63&Qe]}return dt?xt.slice(0,dt-3)+"===".substring(dt):xt},D=c?Ie=>btoa(Ie):r?Ie=>Buffer.from(Ie,"binary").toString("base64"):w,T=r?Ie=>Buffer.from(Ie).toString("base64"):Ie=>{let ct=[];for(let bt=0,Et=Ie.length;btQe?C(T(Ie)):T(Ie),$=Ie=>{if(Ie.length<2)return(Qe=Ie.charCodeAt(0))<128?Ie:Qe<2048?g(192|Qe>>>6)+g(128|63&Qe):g(224|Qe>>>12&15)+g(128|Qe>>>6&63)+g(128|63&Qe);var Qe=65536+1024*(Ie.charCodeAt(0)-55296)+(Ie.charCodeAt(1)-56320);return g(240|Qe>>>18&7)+g(128|Qe>>>12&63)+g(128|Qe>>>6&63)+g(128|63&Qe)},z=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,G=Ie=>Ie.replace(z,$),X=r?Ie=>Buffer.from(Ie,"utf8").toString("base64"):m?Ie=>T(m.encode(Ie)):Ie=>D(G(Ie)),Q=(Ie,Qe=!1)=>Qe?C(X(Ie)):X(Ie),q=Ie=>Q(Ie,!0),ue=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,me=Ie=>{switch(Ie.length){case 4:var ct=((7&Ie.charCodeAt(0))<<18|(63&Ie.charCodeAt(1))<<12|(63&Ie.charCodeAt(2))<<6|63&Ie.charCodeAt(3))-65536;return g(55296+(ct>>>10))+g(56320+(1023&ct));case 3:return g((15&Ie.charCodeAt(0))<<12|(63&Ie.charCodeAt(1))<<6|63&Ie.charCodeAt(2));default:return g((31&Ie.charCodeAt(0))<<6|63&Ie.charCodeAt(1))}},xe=Ie=>Ie.replace(ue,me),pe=Ie=>{if(Ie=Ie.replace(/\s+/g,""),!h.test(Ie))throw new TypeError("malformed base64.");Ie+="==".slice(2-(3&Ie.length));let Qe,bt,Et,ct="";for(let xt=0;xt>16&255):64===Et?g(Qe>>16&255,Qe>>8&255):g(Qe>>16&255,Qe>>8&255,255&Qe);return ct},oe=u?Ie=>atob(P(Ie)):r?Ie=>Buffer.from(Ie,"base64").toString("binary"):pe,ae=r?Ie=>s(Buffer.from(Ie,"base64")):Ie=>s(oe(Ie),Qe=>Qe.charCodeAt(0)),U=Ie=>ae(le(Ie)),ie=r?Ie=>Buffer.from(Ie,"base64").toString("utf8"):d?Ie=>d.decode(ae(Ie)):Ie=>xe(oe(Ie)),le=Ie=>P(Ie.replace(/[-_]/g,Qe=>"-"==Qe?"+":"/")),Ce=Ie=>ie(le(Ie)),Te=Ie=>{if("string"!=typeof Ie)return!1;const Qe=Ie.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(Qe)||!/[^\s0-9a-zA-Z\-_]/.test(Qe)},Ke=Ie=>({value:Ie,enumerable:!1,writable:!0,configurable:!0}),tt=function(){const Ie=(Qe,ct)=>Object.defineProperty(String.prototype,Qe,Ke(ct));Ie("fromBase64",function(){return Ce(this)}),Ie("toBase64",function(Qe){return Q(this,Qe)}),Ie("toBase64URI",function(){return Q(this,!0)}),Ie("toBase64URL",function(){return Q(this,!0)}),Ie("toUint8Array",function(){return U(this)})},ot=function(){const Ie=(Qe,ct)=>Object.defineProperty(Uint8Array.prototype,Qe,Ke(ct));Ie("toBase64",function(Qe){return Y(this,Qe)}),Ie("toBase64URI",function(){return Y(this,!0)}),Ie("toBase64URL",function(){return Y(this,!0)})},pt=()=>{tt(),ot()},Dt={version:n,VERSION:l,atob:oe,atobPolyfill:pe,btoa:D,btoaPolyfill:w,fromBase64:Ce,toBase64:Q,encode:Q,encodeURI:q,encodeURL:q,utob:G,btou:xe,decode:Ce,isValid:Te,fromUint8Array:Y,toUint8Array:U,extendString:tt,extendUint8Array:ot,extendBuiltins:pt}},8210:he=>{"use strict";he.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]]}}')},4147:he=>{"use strict";he.exports=JSON.parse('{"name":"mag-client","version":"2.5.54","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":"^13.1.1","@angular/common":"^13.1.1","@angular/core":"^13.1.1","@angular/forms":"^13.1.1","@angular/material":"^13.1.1","@angular/platform-browser":"^13.1.1","@angular/platform-browser-dynamic":"^13.1.1","@angular/router":"^13.1.1","@ngx-translate/core":"^11.0.1","@ngx-translate/http-loader":"^4.0.0","@types/jasmine":"^3.6.9","@types/pako":"^1.0.3","ace-builds":"^1.4.14","angular-oauth2-oidc":"^13.0.1","browserify-zlib":"^0.2.0","core-js":"^2.6.2","debug":"^4.3.1","fhir-kit-client":"1.9.2","fhirpath":"^2.10.2","jasmine":"^3.7.0","js-base64":"^3.7.2","js-untar":"^2.0.0","ngx-highlightjs":"^4.1.3","pako":"^2.0.4","rxjs":"^6.6.7","tslib":"^2.0.0","uuid":"^8.3.2","yarn":"^1.22.17","zone.js":"^0.11.4"},"devDependencies":{"@angular-devkit/build-angular":"^13.1.2","@angular-eslint/builder":"13.0.0-alpha.1","@angular-eslint/eslint-plugin":"13.0.0-alpha.1","@angular-eslint/eslint-plugin-template":"13.0.0-alpha.1","@angular-eslint/schematics":"13.0.0-alpha.1","@angular-eslint/template-parser":"13.0.0-alpha.1","@angular/cli":"^13.1.2","@angular/compiler-cli":"^13.1.1","@angular/language-service":"^13.1.1","@types/debug":"^4.1.5","@types/node":"^10.12.18","@types/ramda":"^0.26.44","@typescript-eslint/eslint-plugin":"5.3.0","@typescript-eslint/parser":"5.3.0","eslint":"^8.2.0","husky":"^1.3.1","jasmine-core":"~3.6.0","jasmine-spec-reporter":"~5.0.0","json-patch":"^0.7.0","karma":"~6.3.1","karma-chrome-launcher":"~3.1.0","karma-cli":"~2.0.0","karma-coverage-istanbul-reporter":"~3.0.2","karma-jasmine":"~4.0.0","karma-jasmine-html-reporter":"^1.5.0","prettier":"2.2.1","pretty-quick":"^1.10.0","protractor":"~7.0.0","ts-node":"~7.0.1","tslint":"~6.1.0","typescript":"~4.5.4"},"browser":{"fs":false,"os":false,"path":false,"zlib":false},"prettier":{"singleQuote":true,"trailingComma":"es5"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}}}')}},he=>{he(he.s=4431)}]); \ No newline at end of file diff --git a/src/main/resources/static/main.a126e678e7da9d35.js b/src/main/resources/static/main.a126e678e7da9d35.js new file mode 100644 index 00000000..1b1c6492 --- /dev/null +++ b/src/main/resources/static/main.a126e678e7da9d35.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(f){if(0===c.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==f)this.assignZero();else if(f instanceof Array){if(f.length!==c.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(f)}`);this.dimVec_=[];for(let h=0;h=c.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[f]=1}}setElementAt(f,h){if(!d(f)||f<0||f>=c.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${f})`);this.dimVec_||this.assignZero(),null==h&&(h=1),this.dimVec_[f]=h}getElementAt(f){if(!d(f)||f<0||f>=c.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${f})`);let h=null;return this.dimVec_&&(h=this.dimVec_[f]),h}getProperty(f){return this["_"===f.charAt(f.length-1)?f:f+"_"]}toString(){let f=null;return this.dimVec_&&(f="["+this.dimVec_.join(", ")+"]"),f}add(f){if(!f instanceof g)throw new Error(`Dimension.add called with an invalid parameter - ${typeof f} instead of a Dimension object`);if(this.dimVec_&&f.dimVec_)for(let h=0;h{"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(f.bind(null,p))}return v.data}return v};function g(v){return v.map(b=>Array.isArray(b)?b:[b])}function f(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_),f=r.length;for(let h=0;h{"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 f=""+r;return!isNaN(f)&&!isNaN(parseFloat(f))},B.isIntegerUnit=function d(r){return/^\d+$/.test(r)},B.getSynonyms=function g(r){let f={},u={};if(u=n.getInstance().getUnitBySynonym(r),u.units){f.status="succeeded";let v=u.units.length;f.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 f{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 f=a(9473).Ucum,h=a(7894).UnitTables,u=a(4206).T;class v{constructor(){0===h.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==f.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=h.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=h.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,f=a(9473).Ucum,h=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 h:void 0!==_.dim_.dimVec_?new h(_.dim_.dimVec_):_.dim_ instanceof h?_.dim_:_.dim_ instanceof Array||v(_.dim_)?new h(_.dim_):new h,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 h),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,f=a(5744).Unit,h=a(7894).UnitTables,u=a(8902).PrefixTables;class v{constructor(){this.utabs_=h.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 f({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 f({csCode_:x,magnitude_:x,name_:x}):x.csCode_=p:x=new f({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_:Ce+""+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 f({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(f){f.name_&&this.addUnitName(f),this.addUnitCode(f),this.addUnitString(f);try{f.dim_.getProperty("dimVec_")&&this.addUnitDimension(f)}catch{}}addUnitName(f){let h=f.name_;if(!h)throw new Error(`UnitTables.addUnitName called for a unit with no name. Unit code = ${f.csCode_}.`);this.unitNames_[h]?this.unitNames_[h].push(f):this.unitNames_[h]=[f]}addUnitCode(f){let h=f.csCode_;if(!h)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[h])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${h}`);if(this.unitCodes_[h]=f,this.codeOrder_.push(h),"g"==h){let u=f.dim_.dimVec_,v=0;for(;v=1&&(u=f.substr(h+n.codeSep_.length),f=f.substr(0,h));let v=this.unitNames_[f];if(v){let b=v.length;if(u&&b>1){let p=0;for(;v[p].csCode_!==u&&p0&&(u+=h),"dim_"===f[D])u+=null!=x.dim_&&x.dim_.dimVec_ instanceof Array?"["+x.dim_.dimVec_.join(",")+"]":"";else{let S=x[f[D]];u+="string"==typeof S?S.replace(/[\n\r]/g," "):S}u+="\r\n"}}return u}printUnits(f,h){void 0===f&&(f=!1),void 0===h&&(h="|");let u="",v=this.codeOrder_.length,b="csCode"+h;f&&(b+="ciCode"+h),b+="name"+h,f&&(b+="isBase"+h),b+="magnitude"+h+"dimension"+h+"from unit(s)"+h+"value"+h+"function"+h,f&&(b+="property"+h+"printSymbol"+h+"synonyms"+h+"source"+h+"class"+h+"isMetric"+h+"variable"+h+"isSpecial"+h+"isAbitrary"+h),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),g=(a(7088),a(9515),n.__importStar(a(5879))),r=n.__importStar(a(9515)),f=n.__importStar(a(7088)),h=n.__importStar(a(4505)),u=n.__importStar(a(617)),v=n.__importStar(a(6718)),b=n.__importStar(a(1274)),p=n.__importStar(a(5187));B.AppComponent=(()=>{class l{constructor(x,D){x.setDefaultLang("de"),x.use(x.getBrowserLang());let S=location.href;S.indexOf("#")>0?S=S.substring(0,S.indexOf("#")-1)+"/fhir":S+="fhir",console.log("note: using fhir base "+S),D.changeMagMicroService(S)}}return l.\u0275fac=function(x){return new(x||l)(g.\u0275\u0275directiveInject(r.TranslateService),g.\u0275\u0275directiveInject(f.FhirConfigService))},l.\u0275cmp=g.\u0275\u0275defineComponent({type:l,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(x,D){if(1&x&&(g.\u0275\u0275elementStart(0,"mat-toolbar",0)(1,"div",1)(2,"div",2),g.\u0275\u0275element(3,"img",3),g.\u0275\u0275elementEnd()(),g.\u0275\u0275element(4,"span",4),g.\u0275\u0275elementStart(5,"span")(6,"button",5)(7,"mat-icon"),g.\u0275\u0275text(8,"more_vert"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(9,"mat-menu",null,6)(11,"button",7)(12,"mat-icon"),g.\u0275\u0275text(13,"home"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(14,"span"),g.\u0275\u0275text(15,"Home"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(16,"button",8)(17,"mat-icon"),g.\u0275\u0275text(18,"info"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(19,"span"),g.\u0275\u0275text(20,"CapabilityStatement"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(21,"button",9)(22,"mat-icon"),g.\u0275\u0275text(23,"search"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(24,"span"),g.\u0275\u0275text(25,"Mobile Access Gateway ..."),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(26,"button",10)(27,"mat-icon"),g.\u0275\u0275text(28,"people"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(29,"span"),g.\u0275\u0275text(30,"search Patients ..."),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(31,"button",11)(32,"mat-icon"),g.\u0275\u0275text(33,"settings"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(34,"span"),g.\u0275\u0275text(35,"Settings"),g.\u0275\u0275elementEnd()()()()(),g.\u0275\u0275elementStart(36,"main",12),g.\u0275\u0275element(37,"router-outlet"),g.\u0275\u0275elementEnd()),2&x){const S=g.\u0275\u0275reference(10);g.\u0275\u0275advance(6),g.\u0275\u0275property("matMenuTriggerFor",S)}},dependencies:[h.MatLegacyButton,u.MatIcon,v.MatLegacyMenu,v.MatLegacyMenuItem,v.MatLegacyMenuTrigger,b.MatToolbar,p.RouterOutlet,p.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}}"]}),l})()},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),f=a(6401),h=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:h.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:[f.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)),f=n.__importStar(a(9025)),h=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,f.MatLegacyCard,f.MatLegacyCardHeader,f.MatLegacyCardContent,f.MatLegacyCardTitle,h.MatLegacyError,u.Highlight],styles:[".display[_ngcontent-%COMP%]{display:inline-block}"]}),_})()},7088:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.FhirConfigService=void 0;const n=a(655),c=n.__importDefault(a(8907)),d=n.__importStar(a(5879));B.FhirConfigService=(()=>{class r{constructor(){}changeFhirMicroService(h){localStorage.setItem("fhirMicroServer",h)}changeMagMicroService(h){localStorage.setItem("magMicroService",h)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")||"/matchbox/fhir"}getMobileAccessGatewayService(){return localStorage.getItem("magMicroService")||"/mag/fhir"}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 c.default({baseUrl:this.getFhirMicroService()})}getMobileAccessGatewayClient(){return new c.default({baseUrl:this.getMobileAccessGatewayService()})}getAuthCodeFlowConfig(){return{loginUrl:this.getMobileAccessGatewayLoginUrl(),redirectUri:this.getRedirectUri(),tokenEndpoint:this.getMobileAccessGatewayTokenEndpoint(),clientId:this.getClientId(),responseType:"code",scope:"todo",dummyClientSecret:this.getClientSecret(),showDebugInformation:!0,timeoutFactor:.75}}}return r.\u0275fac=function(h){return new(h||r)},r.\u0275prov=d.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r})()},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(h,u){return(0,c.evaluate)(h,u,null)}evaluateToString(h,u){const v=this.evaluate(h,u);return v&&v instanceof Array&&1===v.length?v[0]:null}getOauthUriToken(h){return this.evaluateToString(h,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(h){return this.evaluateToString(h,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}}return r.\u0275fac=function(h){return new(h||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)),f=c.__importStar(a(5187)),h=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(f.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:[h.MatLegacyCard,h.MatLegacyCardContent,h.MatLegacyCardFooter,u.MatIcon,v.MatLegacyMenuItem,f.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)),h=(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)),Ce=c.__importStar(a(2214)),Re=c.__importStar(a(1438)),Ae=c.__importStar(a(9949)),de=c.__importStar(a(9009));function H(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function W(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"button",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onFetchPatient())}),l.\u0275\u0275text(2," get Patient "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()}}function pe(et,Dt){if(1&et&&(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&et){const _e=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",null==_e.patient.name[0]?null:_e.patient.name[0].given," ",null==_e.patient.name[0]?null:_e.patient.name[0].family,", ",_e.patient.birthDate," ")}}function we(et,Dt){if(1&et){const _e=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(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onPIXmFeedAdd())}),l.\u0275\u0275text(24," PIXm Feed - Add Identifier "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}if(2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",_e.patient.name),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceAddIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceAddIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceManagingOrganizationOid),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceManagingOrganizationName)}}function Ee(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div")(1,"pre"),l.\u0275\u0275element(2,"code",43),l.\u0275\u0275elementEnd()()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",_e.getScopes())}}function Be(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",44),l.\u0275\u0275text(1,"Description"),l.\u0275\u0275elementEnd())}function G(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",44),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",_e.description," ")}}function re(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",45),l.\u0275\u0275text(1,"Title"),l.\u0275\u0275elementEnd())}function ae(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",45)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].attachment.title," ")}}function ve(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",46),l.\u0275\u0275text(1,"Title"),l.\u0275\u0275elementEnd())}function He(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",46)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].attachment.contentType," ")}}function Ze(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",47),l.\u0275\u0275text(1,"formatCode"),l.\u0275\u0275elementEnd())}function Qe(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",47)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].format.code," ")}}function Ge(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",48),l.\u0275\u0275text(1,"Actions"),l.\u0275\u0275elementEnd())}function tt(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"mat-cell",48)(1,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onRemove(mt))}),l.\u0275\u0275elementStart(2,"mat-icon"),l.\u0275\u0275text(3,"remove"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onReplace(mt))}),l.\u0275\u0275elementStart(5,"mat-icon"),l.\u0275\u0275text(6,"reply"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(7,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onDownloadDocumentReferenceAttachment(mt))}),l.\u0275\u0275elementStart(8,"mat-icon"),l.\u0275\u0275text(9,"download"),l.\u0275\u0275elementEnd()()()}}function Ct(et,Dt){1&et&&l.\u0275\u0275element(0,"mat-header-row")}function Nt(et,Dt){1&et&&l.\u0275\u0275element(0,"mat-row")}function _t(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function Bt(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-card-actions")(2,"button",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onPdf())}),l.\u0275\u0275text(3,"Pdf"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}}function Tt(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" Replace Document with ",_e.replaceDocumentReference.identifier[0].value," ")}}function Lt(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",_e.descr,": ",_e.existingUuid," -> ",_e.newUuid," ")}}function Le(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(_e.errMsgAssignPatient)}}function lt(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function ze(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(_e.errMsg)}}const at=function(){return["name","title","contentType","formatCode","action"]},N=et=>String(Math.floor(Math.abs(et))).padStart(2,"0");function K(et){const Dt=-et.getTimezoneOffset(),_e=Dt>=0?"+":"-",ut=`${N(Dt/60)}:${N(Dt%60)}`;return`${(0,B.toLocaleDate)(et)}T${(0,B.toLocaleTime)(et)}${_e}${ut}`}B.toLocaleDate=et=>`${et.getFullYear()}-${N(et.getMonth()+1)}-${N(et.getDate())}`,B.toLocaleHHMM=et=>`${N(et.getHours())}:${N(et.getMinutes())}`,B.toLocaleTime=et=>`${(0,B.toLocaleHHMM)(et)}:${N(et.getSeconds())}`,B.toLocaleDateTime=K,B.MagComponent=(()=>{class et{constructor(_e,ut,Pe,mt,Pt,Ft){this.data=_e,this.fhirPathService=ut,this.http=Pe,this.cd=mt,this.oauthService=Pt,this.router=Ft,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=_e.getMobileAccessGatewayClient(),this.mag.capabilityStatement().then(Oe=>this.setJson(JSON.stringify(Oe,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.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.documentDescription=new r.UntypedFormControl,this.documentDescription.setValue(this.getLocalStorageItemOrDefault("mag.documentType","Titel")),this.masterIdentifier=new r.UntypedFormControl,this.masterIdentifier.setValue((0,u.v4)()),this.creationTime=new r.UntypedFormControl,this.creationTime.setValue(K(new Date)),this.languageCode=new r.UntypedFormControl,this.languageCode.setValue(this.getLocalStorageItemOrDefault("mag.languageCode","de-CH")),this.fhirConfigService=_e,Pt.configure(this.fhirConfigService.getAuthCodeFlowConfig()),Pt.tryLoginCodeFlow().then(Oe=>{this.scopes=this.oauthService.getGrantedScopes()}),Pt.events.subscribe(Oe=>{Oe instanceof p.OAuthErrorEvent?console.error(Oe):console.warn(Oe)}),this.pdf="",this.replaceDocumentReference=null}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.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(_e,ut){return localStorage.getItem(_e)||ut}setLocaleStorageItem(_e,ut){return localStorage.setItem(_e,ut),ut}setJson(_e){this.json=_e}getJson(){return this.json}getScopes(){return this.scopes?JSON.stringify(this.scopes,null,2):""}ngOnInit(){}ngOnDestroy(){}setPixmQueryResult(_e){this.inPixmProgress=!1,this.setJson(JSON.stringify(_e,null,2)),this.targetIdentifierValue=this.fhirPathService.evaluateToString(_e,"parameter.valueIdentifier.where(system='"+this.targetIdentifierSystem.value+"').value"),this.targetIdentifier2Value=this.fhirPathService.evaluateToString(_e,"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(_e,"parameter.valueReference.reference"),this.cache()}setPatientFetchResult(_e){this.inPixmProgress=!1,this.patient=_e,this.setJson(JSON.stringify(_e,null,2)),this.cache()}setPIXmFeedAddResult(_e){this.inPixmProgress=!1,this.patient=void 0,this.setJson(JSON.stringify(_e,null,2)),this.cache()}onPIXmQuery(){this.targetIdentifierValue="",this.targetIdentifier2Value="",this.patient=void 0,this.inPixmProgress=!0,this.cache();let _e="sourceIdentifier="+encodeURIComponent(this.sourceIdentifierSystem.value+"|"+this.sourceIdentifierValue.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifierSystem.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifier2System.value);this.mag.operation({name:"$ihe-pix?"+_e,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(ut=>this.setPixmQueryResult(ut)).catch(ut=>{this.setJson(JSON.stringify(ut,null,2)),this.targetIdentifierValue="",this.targetIdentifier2Value="",this.targetId="",this.cache(),this.inPixmProgress=!1})}getPatient(){const _e=this.targetId.substring(this.targetId.indexOf("Patient/")+8);return this.mag.read({resourceType:"Patient",id:_e,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 _e=this;return n(function*(){_e.patient=void 0,_e.inPixmProgress=!0,_e.cache();try{_e.patient=yield _e.getPatient(),_e.setPatientFetchResult(_e.patient)}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.cache(),_e.inPixmProgress=!1}})()}onPIXmFeedAdd(){this.inPixmProgress=!0,this.patient.telecom&&delete this.patient.telecom,this.cache();let _e={identifier:this.sourceAddIdentifierSystem.value+"|"+this.sourceAddIdentifierValue.value},ut={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(ut),this.patient.managingOrganization={reference:"#org"},this.mag.update({resourceType:"Patient",body:this.patient,searchParams:_e,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}}).then(Pe=>this.setPIXmFeedAddResult(Pe)).catch(Pe=>{this.setJson(JSON.stringify(Pe,null,2)),this.cache(),this.inPixmProgress=!1})}onAuthenticate(){if(this.cache(),this.scopes=null,"HCP"===this.authenticate.value){let _e=this.fhirConfigService.getAuthCodeFlowConfig();_e.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|HCP`,this.oauthService.configure(_e),this.oauthService.initCodeFlow()}else"TCU"===this.authenticate.value?this.getSamlToken().then(_e=>this.json=_e):this.oauthService.logOut()}getAppcDocument(_e,ut){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.documentDescription.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(_e,ut){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==${ut}http://ihe.connectathon.XUA/X-ServiceProvider-IHE-Connectathonurn:oasis:names:tc:SAML:2.0:ac:classes:unspecifiedIris Musterpatient${ut}^^^&2.16.756.5.30.1.127.3.10.3&ISOurn:oid:3.3.3.1`)}getSimulatedSamlPmpTcuAssertion(_e,ut,Pe){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${Pe}^^^&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(_e){var ut=this;return n(function*(){const mt=yield(yield fetch("https://test.ahdis.ch/eprik-cara/camel/tcu",{cache:"no-store",headers:{Accept:"application/xml"}})).text(),Ft=yield(yield fetch(ut.fhirConfigService.getMobileAccessGatewayAssertionEndpoint(),{cache:"no-store",method:"POST",headers:{Scope:`person_id=${_e}^^^&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:mt})).json();return Promise.resolve(Ft.access_token)})()}setBundle(_e){_e?(this.bundle=_e,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry.map(ut=>ut.resource)):this.dataSource.data=null,this.dataSource.data=this.dataSource.data}setDocumentReferenceResult(_e){this.setJson(JSON.stringify(_e,null,2)),this.setBundle(_e)}findDocumentReferences(){var _e=this;return n(function*(){let ut={status:"current","patient.identifier":encodeURIComponent(_e.targetIdentifierSystem.value+"|"+_e.targetIdentifierValue)},Pe=yield _e.getSamlToken();return _e.mag.search({resourceType:"DocumentReference",searchParams:ut,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+Pe}}})})()}onFindDocumentReferences(){var _e=this;return n(function*(){_e.replaceDocumentReference=null,_e.inMhdQueryProgress=!0,_e.pdf="";try{const ut=yield _e.findDocumentReferences();_e.setDocumentReferenceResult(ut),_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}findMedicationList(_e){var ut=this;return n(function*(){let Pe="patient.identifier="+encodeURIComponent(ut.targetIdentifierSystem.value+"|"+ut.targetIdentifierValue)+(_e?"&format="+encodeURIComponent(_e):"");ut.serviceStartFrom.value?.length>0&&(Pe+=`&serviceStartFrom=${encodeURIComponent(ut.serviceStartFrom.value)}`),ut.serviceStartTo.value?.length>0&&(Pe+=`&serviceStartTo=${encodeURIComponent(ut.serviceStartTo.value)}`),ut.serviceEndFrom.value?.length>0&&(Pe+=`&serviceEndFrom=${encodeURIComponent(ut.serviceEndFrom.value)}`),ut.serviceEndTo.value?.length>0&&(Pe+=`&serviceEndTo=${encodeURIComponent(ut.serviceEndTo.value)}`);const mt=yield ut.getSamlToken();return ut.mag.operation({name:"$find-medication-list?status=current&"+Pe,resourceType:"DocumentReference",method:"GET",options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+mt}}})})()}onFindMedicationList(){var _e=this;return n(function*(){_e.pdf="",_e.inMhdQueryProgress=!0,_e.cache();try{const ut=yield _e.findMedicationList();_e.setDocumentReferenceResult(ut),ut.entry&&1==ut.entry.length&&(yield _e.downloadDocumentReferenceAttachment(ut.entry[0].resource)),_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}onFindMedicationCard(){var _e=this;return n(function*(){_e.pdf="",_e.inMhdQueryProgress=!0,_e.cache();try{const ut=yield _e.findMedicationList("urn:oid:2.16.756.5.30.1.127.3.10.10|urn:che:epr:ch-emed:medication-card:2022");if(_e.setDocumentReferenceResult(ut),ut.entry&&1==ut.entry.length){const Pe=yield _e.downloadDocumentReferenceAttachment(ut.entry[0].resource),mt=JSON.parse(Pe);_e.pdf=_e.fhirPathService.evaluateToString(mt,"entry.resource.where(resourceType='Binary').data")}_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}getSamlToken(){var _e=this;return n(function*(){return"HCP"===_e.authenticate.value?Promise.resolve(_e.oauthService.getAccessToken()):"Patient"===_e.authenticate.value?Promise.resolve(_e.getSimulatedSamlPmpAssertion(K(new Date),_e.targetIdentifier2Value)):"TCU"===_e.authenticate.value?_e.getEprikTcuAssertion(_e.targetIdentifier2Value):null})()}downloadDocumentReferenceAttachment(_e){var ut=this;return n(function*(){let mt=(_e.content&&_e.content.length>0?_e.content[0].attachment.url:"undefined").replace("http://test.ahdis.ch/mag-pmp/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp/camel/xdsretrieve"),Pt=mt.replace("http://test.ahdis.ch/mag-pmp2/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp2/camel/xdsretrieve");const Ft=_e.content&&_e.content.length>0?_e.content[0].attachment?.contentType:"";if(ut.selectedDocumentReference=_e,"application/pdf"===Ft){const Gt=_e.content&&_e.content.length>0?_e.content[0].attachment.title:"undefined",Oe=ut,Ke=yield ut.getSamlToken(),ge=yield(yield fetch(Pt,{cache:"no-store",headers:{Authorization:"Bearer "+Ke,Accept:"application/pdf"}})).blob();return new Promise((ct,Me)=>{let Ye=new FileReader;Ye.onload=()=>{Oe.downloadPdf(Ye.result.toString(),Gt),ct(Ye.result)},Ye.onerror=Me,Ye.readAsDataURL(ge)})}{const Gt=yield ut.getSamlToken(),Ke={responseType:"text",headers:(new h.HttpHeaders).set("Authorization","Bearer "+Gt)};return new Promise((he,ge)=>{ut.http.get(mt,Ke).subscribe({next:ct=>{ut.xml=ct,ut.setJson(ct),he(ut.xml)},error:ct=>{ge(ct)}})})}})()}onReplace(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=_e})()}onRemove(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=null;let Pe={..._e};ut.inMhdQueryProgress=!0,null==Pe.extension&&(Pe.extension=new Array),Pe.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:ut.iheSourceId.value}}),Pe.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)"}}),Pe.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"}}),Pe.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 mt=yield ut.getSamlToken();try{let Pt=yield ut.mag.update({resourceType:"DocumentReference",id:Pe.id,body:Pe,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0","content-type":"application/fhir+json;fhirVersion=4.0",Authorization:"Bearer "+mt}}});ut.setJson(JSON.stringify(Pt,null,2)),ut.inMhdQueryProgress=!1,ut.onFindDocumentReferences()}catch(Pt){ut.setJson(JSON.stringify(Pt.response.data,null,2)),ut.inMhdQueryProgress=!1}})()}onDownloadDocumentReferenceAttachment(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=null,ut.inMhdQueryProgress=!0,yield ut.downloadDocumentReferenceAttachment(_e),ut.inMhdQueryProgress=!1})()}canTransformToPdf(){return""!=this.pdf}downloadPdf(_e,ut){const Pe=document.createElement("a");Pe.href=_e,Pe.download=`${ut}.pdf`,Pe.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 ut=`0x${(0,u.v4)().replace(/-/g,"")}`;return`2.25.${BigInt(ut).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(_e){if(this.uploadBase64="",this.uploadContentType="",this.uploadBundle=null,this.json="",this.xml="",this.pdf="","application/json"===_e.contentType||_e.name.endsWith(".json")||"text/xml"===_e.contentType||_e.name.endsWith(".xml"))this.addText(_e);else{var ut=new FileReader;const Pe=this;ut.readAsDataURL(_e.blob),ut.onloadend=function(){let mt=ut.result.toString();mt.startsWith("data:application/pdf;base64,")&&(Pe.uploadBase64=mt.substring(28),Pe.uploadContentType="application/pdf",Pe.documentType.setValue("PDF"))}}}addText(_e){const ut=new FileReader;ut.readAsText(_e.blob);const Pe=this;this.documentDescription.setValue(_e.name),this.creationTime.setValue(K(new Date)),ut.onload=()=>{("application/json"===_e.contentType||_e.name.endsWith(".json"))&&(this.uploadContentType="application/fhir+json",this.autoDetectFormat(ut.result)),("text/xml"===_e.contentType||_e.name.endsWith(".xml"))&&(this.uploadContentType="text/xml",Pe.documentType.setValue("XML"),Pe.xml=ut.result,Pe.setJson(Pe.xml))}}getResource(_e,ut){return _e.entry.filter(Pe=>Pe.fullUrl.endsWith(ut)).pop()?.resource}autoDetectFormat(_e){this.documentType.setValue("JSON");const ut=JSON.parse(_e);this.setJson(_e),ut.hasOwnProperty("resourceType")&&"Bundle"===ut.resourceType&&this.autoDetectBundle(ut)}autoDetectBundle(_e){if(this.creationTime.setValue(_e.timestamp),this.masterIdentifier.setValue(_e.identifier.value),"document"===_e.type&&_e.entry?.length>0){const ut=_e.entry[0].resource,Pe=ut.type.coding.find(mt=>"http://snomed.info/sct"===mt.system);if(ut.language&&this.languageCode.setValue(ut.language),!Pe)return;switch(Pe.code){case"761931002":return this.uploadBundle=_e,void this.documentType.setValue("MTP");case"761938008":return this.uploadBundle=_e,void this.documentType.setValue("PRE");case"294121000195110":return this.uploadBundle=_e,void this.documentType.setValue("DIS");case"419891008":return this.uploadBundle=_e,void this.documentType.setValue("PADV")}}}assignMobileAccessPatient(){var _e=this;return n(function*(){if(_e.inMhdUploadProgress=!0,_e.errMsgAssignPatient="",null==_e.patient&&(_e.patient=yield _e.getPatient()),null==_e.patient)return void(_e.errMsgAssignPatient="Error: select first 'get Patient' from Mobile Access Gateway");if(null==_e.uploadBundle)return void(_e.errMsgAssignPatient="Error: need a FHIR Bundle in json format to assign the Patient");const ut=_e.uploadBundle.entry.filter(Oe=>"Patient"===Oe.resource.resourceType),Pe={..._e.patient};Pe.identifier=_e.patient.identifier.filter(Oe=>Oe.system===_e.sourceIdentifierSystem.value),Pe.identifier.find(Oe=>Oe.system===_e.sourceIdentifierSystem.value).type={coding:[{system:"http://terminology.hl7.org/CodeSystem/v2-0203",code:"MR"}]},Pe.name=Array(),Pe.name[0]=_e.patient.name[0],ut.forEach(Oe=>{const Ke=Oe.resource.id;Oe.resource={...Pe},Oe.resource.id=Ke});let mt=JSON.stringify(_e.uploadBundle,null,2);const Pt=_e.uploadBundle.identifier.value,Ft="urn:uuid:"+(0,u.v4)(),Gt=_e.replaceUuids.findIndex(Oe=>Oe.existingUuid==Pt);-1==Gt?_e.replaceUuids.push({descr:_e.documentType.value,existingUuid:Pt,newUuid:Ft}):_e.replaceUuids[Gt]={descr:_e.documentType.value,existingUuid:Pt,newUuid:Ft},_e.replaceUuids.forEach(Oe=>mt=mt.split(Oe.existingUuid).join(Oe.newUuid)),_e.masterIdentifier.setValue(Ft),_e.setJson(mt),_e.inMhdUploadProgress=!1})()}createMhdTransaction(){var _e=this;return n(function*(){_e.inMhdUploadProgress=!0;let ut={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:"urn:oid:2.16.756.5.30.1.191.1.0.12.3.101",value:"$10"},{system:"urn:oid:2.16.756.5.30.1.191.1.0.2.1",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"}}]},Pe="urn:uuid:"+(0,u.v4)();ut.entry[0].fullUrl=Pe;const mt=ut.entry[0].resource;mt.contentType=_e.uploadContentType,mt.data=_e.uploadBase64?.length>0?_e.uploadBase64:v.Base64.encode(_e.json);let Pt=(0,u.v4)();ut.entry[1].fullUrl="urn:uid:"+Pt;const Ft=ut.entry[1].resource;Ft.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:_e.iheSourceId.value}}),Ft.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"}}),Ft.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 Gt="urn:uuid:"+(0,u.v4)();Ft.identifier[0].value=Gt;let Oe="urn:oid:"+_e.generateOidFromUuid();Ft.identifier[1].value=Oe,Ft.subject.reference=_e.targetId;let Ke=K(new Date);Ft.date=Ke;let he="urn:uuid:"+(0,u.v4)();Ft.entry[0].item.reference=he,ut.entry[2].fullUrl=he;const ge=ut.entry[2].resource;ge.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!=_e.replaceDocumentReference?ge.relatesTo.push({code:"replaces",target:{reference:_e.replaceDocumentReference.identifier[0].value}}):delete ge.relatesTo;const ct=ge.contained[0];if(ct.identifier[0].value=_e.sourceIdentifierSystem.value,ct.identifier[0].value=_e.sourceIdentifierValue.value,ct.identifier[1].value=_e.targetIdentifierSystem.value,ct.identifier[1].value=_e.targetIdentifierValue,_e.patient&&(ct.birthDate=_e.patient.birthDate,ct.gender=_e.patient.gender,ct.name=_e.patient.name,ct.address=_e.patient.address),null!=_e.uploadBundle&&["PADV","DIS","MTP","PRE","PMLC"].includes(_e.documentType.value)){const V=_e.uploadBundle.entry[0].resource;if(V?.author&&V.author[0].reference){const Q=_e.getResource(_e.uploadBundle,V.author[0].reference);if(Q&&"PractitionerRole"==Q.resourceType){let be={...Q};delete be.text,be.id="practrole";const dt=_e.getResource(_e.uploadBundle,be.organization?.reference),Rt=_e.getResource(_e.uploadBundle,be.practitioner?.reference);if(dt){let qe={...dt};qe.id="org",delete qe.text,be.organization.reference="#org",ge.contained.push(qe)}if(Rt){let qe={...Rt};qe.id="pract",delete qe.text,be.practitioner.reference="#pract",ge.contained.push(qe)}ge.contained.push(be),ge.author.push({reference:"#practrole"})}}}0==ge.author.length&&delete ge.author;let Me=_e.masterIdentifier.value.toLocaleLowerCase();ge.masterIdentifier.value=Me;let Ye="urn:oid:"+_e.generateOidFromUuid();ge.identifier[0].value=Ye,ge.subject.reference=_e.targetId,ge.date=Ke,ge.content[0].attachment.url=Pe,ge.content[0].attachment.contentType=_e.uploadContentType,ge.content[0].attachment.language=_e.languageCode.value;let De=ut.entry[2].resource;De.date=_e.creationTime.value,De.type=_e.getDocumentReferenceType(),De.category.push(_e.getDocumentReferenceCategory()),De.content[0].format=_e.getDocumentReferenceContentFormat(),De.content[0].attachment.creation=_e.creationTime.value,De.description=_e.documentDescription.value,De.securityLabel[0]=_e.getDocumentConfidentiality();const F=yield _e.getSamlToken();_e.mag.transaction({body:ut,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+F}}}).then(V=>{_e.setJson(JSON.stringify(V,null,2)),_e.inMhdUploadProgress=!1}).catch(V=>{_e.setJson(JSON.stringify(V,null,2)),_e.inMhdUploadProgress=!1})})()}}return et.\u0275fac=function(_e){return new(_e||et)(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))},et.\u0275cmp=l.\u0275\u0275defineComponent({type:et,selectors:[["app-mag"]],decls:192,vars:37,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"],[3,"dataSource"],["table",""],["matColumnDef","name"],["class","name",4,"matHeaderCellDef"],["class","name",4,"matCellDef"],["matColumnDef","title"],["class","title",4,"matHeaderCellDef"],["class","title",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,"highlight"],[1,"name"],[1,"title"],[1,"contentType"],[1,"formatCode"],[1,"res"],["mat-icon-button","","type","submit",3,"click"]],template:function(_e,ut){1&_e&&(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 ut.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\u0275template(52,Ee,3,1,"div",3),l.\u0275\u0275elementStart(53,"mat-card-actions")(54,"button",4),l.\u0275\u0275listener("click",function(){return ut.onAuthenticate()}),l.\u0275\u0275text(55," Authenticate "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(56,"mat-card",0)(57,"mat-card-content")(58,"mat-card-header")(59,"mat-card-title"),l.\u0275\u0275text(60,"Mobile Access Gateway - Query"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(61,"mat-table",9,10),l.\u0275\u0275elementContainerStart(63,11),l.\u0275\u0275template(64,Be,2,0,"mat-header-cell",12),l.\u0275\u0275template(65,G,2,1,"mat-cell",13),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(66,14),l.\u0275\u0275template(67,re,2,0,"mat-header-cell",15),l.\u0275\u0275template(68,ae,3,1,"mat-cell",16),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(69,17),l.\u0275\u0275template(70,ve,2,0,"mat-header-cell",18),l.\u0275\u0275template(71,He,3,1,"mat-cell",19),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(72,20),l.\u0275\u0275template(73,Ze,2,0,"mat-header-cell",21),l.\u0275\u0275template(74,Qe,3,1,"mat-cell",22),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(75,23),l.\u0275\u0275template(76,Ge,2,0,"mat-header-cell",24),l.\u0275\u0275template(77,tt,10,0,"mat-cell",25),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275template(78,Ct,1,0,"mat-header-row",26),l.\u0275\u0275template(79,Nt,1,0,"mat-row",27),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(80,_t,2,0,"ng-container",3),l.\u0275\u0275elementStart(81,"mat-card-actions")(82,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindDocumentReferences()}),l.\u0275\u0275text(83," Document References "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(84,"div")(85,"mat-form-field",1)(86,"mat-label"),l.\u0275\u0275text(87,"serviceStart From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(88,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(89," \xa0 "),l.\u0275\u0275elementStart(90,"mat-form-field",1)(91,"mat-label"),l.\u0275\u0275text(92,"serviceStart To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(93,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(94,"div")(95,"mat-form-field",1)(96,"mat-label"),l.\u0275\u0275text(97,"serviceEnd From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(98,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(99," \xa0 "),l.\u0275\u0275elementStart(100,"mat-form-field",1)(101,"mat-label"),l.\u0275\u0275text(102,"serviceEnd To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(103,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(104,"mat-card-actions")(105,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindMedicationList()}),l.\u0275\u0275text(106," Medication List "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(107,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindMedicationCard()}),l.\u0275\u0275text(108," Medication Card "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(109,Bt,4,0,"ng-container",3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(110,"mat-card",0)(111,"mat-card-content")(112,"mat-card-header")(113,"mat-card-title"),l.\u0275\u0275text(114,"Mobile Access Gateway - Upload"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(115,"app-upload",29),l.\u0275\u0275listener("addFiles",function(mt){return ut.addFile(mt)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(116,"div")(117,"mat-form-field",1)(118,"mat-label"),l.\u0275\u0275text(119,"Description"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(120,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(121,"div")(122,"mat-form-field",1)(123,"mat-label"),l.\u0275\u0275text(124,"Document Type"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(125,"select",5)(126,"option",30),l.\u0275\u0275text(127,"APPC Document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(128,"option",31),l.\u0275\u0275text(129,"Medication Treatment Plan document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(130,"option",32),l.\u0275\u0275text(131,"Medication Dispense document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(132,"option",33),l.\u0275\u0275text(133,"Medication Prescription document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(134,"option",34),l.\u0275\u0275text(135,"Pharmaceutical Advice document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(136,"option",35),l.\u0275\u0275text(137,"PDF"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(138,"div")(139,"mat-form-field",1)(140,"mat-label"),l.\u0275\u0275text(141,"Confidentiality"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(142,"select",5)(143,"option",36),l.\u0275\u0275text(144,"Normally accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(145,"option",37),l.\u0275\u0275text(146,"Restricted accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(147,"option",38),l.\u0275\u0275text(148,"Secret"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(149,"div")(150,"mat-form-field",1)(151,"mat-label"),l.\u0275\u0275text(152,"DocumentEntry.masterIdentifier (uuid)"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(153,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(154,"div")(155,"mat-form-field",1)(156,"mat-label"),l.\u0275\u0275text(157,"DocumentEntry.creationTime"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(158,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(159,"div")(160,"mat-form-field",1)(161,"mat-label"),l.\u0275\u0275text(162,"DocumentEntry.languageCode"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(163,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(164,"div")(165,"mat-form-field",1)(166,"mat-label"),l.\u0275\u0275text(167,"ihe-sourceId"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(168,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(169,"\xa0 "),l.\u0275\u0275elementStart(170,"a",39),l.\u0275\u0275text(171,"ig"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(172,Tt,2,1,"div",3),l.\u0275\u0275template(173,Lt,2,3,"div",40),l.\u0275\u0275template(174,Le,2,1,"div",3),l.\u0275\u0275template(175,lt,2,0,"ng-container",3),l.\u0275\u0275elementStart(176,"div")(177,"button",28),l.\u0275\u0275listener("click",function(){return ut.assignMobileAccessPatient()}),l.\u0275\u0275text(178," Assign Mobile Access Patient"),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(179,"\xa0 "),l.\u0275\u0275elementStart(180,"button",28),l.\u0275\u0275listener("click",function(){return ut.createMhdTransaction()}),l.\u0275\u0275text(181," Provide and Register "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(182,"button",28),l.\u0275\u0275listener("click",function(){return ut.createAppc()}),l.\u0275\u0275text(183," Create APPC for PMP "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(184,"mat-card",0)(185,"mat-card-content")(186,"mat-card-header")(187,"mat-card-title"),l.\u0275\u0275text(188,"Response"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(189,ze,2,1,"div",3),l.\u0275\u0275elementStart(190,"pre"),l.\u0275\u0275element(191,"code",41),l.\u0275\u0275elementEnd()()()),2&_e&&(l.\u0275\u0275advance(9),l.\u0275\u0275property("formControl",ut.sourceIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.sourceIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.targetIdentifierSystem),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ut.targetIdentifierValue," "),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.targetIdentifier2System),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ut.targetIdentifier2Value," "),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate1("targetId: ",ut.targetId,""),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inPixmProgress),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ut.targetId.length>0),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.patient),l.\u0275\u0275advance(10),l.\u0275\u0275property("formControl",ut.authenticate),l.\u0275\u0275advance(7),l.\u0275\u0275property("ngIf",ut.getScopes()),l.\u0275\u0275advance(9),l.\u0275\u0275property("dataSource",ut.dataSource),l.\u0275\u0275advance(17),l.\u0275\u0275property("matHeaderRowDef",l.\u0275\u0275pureFunction0(35,at)),l.\u0275\u0275advance(1),l.\u0275\u0275property("matRowDefColumns",l.\u0275\u0275pureFunction0(36,at)),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inMhdQueryProgress),l.\u0275\u0275advance(8),l.\u0275\u0275property("formControl",ut.serviceStartFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceStartTo),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceEndFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceEndTo),l.\u0275\u0275advance(6),l.\u0275\u0275property("ngIf",ut.canTransformToPdf()),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ut.documentDescription),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.documentType),l.\u0275\u0275advance(17),l.\u0275\u0275property("formControl",ut.documentConfidentiality),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ut.masterIdentifier),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.creationTime),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.languageCode),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.iheSourceId),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ut.replaceDocumentReference),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",ut.replaceUuids),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.errMsgAssignPatient),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inMhdUploadProgress),l.\u0275\u0275advance(14),l.\u0275\u0275property("ngIf",ut.errMsg),l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",ut.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,Ce.MatLegacyTable,Ce.MatLegacyHeaderCellDef,Ce.MatLegacyHeaderRowDef,Ce.MatLegacyColumnDef,Ce.MatLegacyCellDef,Ce.MatLegacyRowDef,Ce.MatLegacyHeaderCell,Ce.MatLegacyCell,Ce.MatLegacyHeaderRow,Ce.MatLegacyRow,Re.MatLegacyProgressSpinner,Ae.Highlight,de.UploadComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.display[_ngcontent-%COMP%]{display:inline-block;margin-bottom:10px}.column50[_ngcontent-%COMP%]{width:40%}"]}),et})()},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(h,u){if(1&h&&(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&h){const v=c.\u0275\u0275nextContext();c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(c.\u0275\u0275pipeBind1(4,1,v.patient))}}B.PatientDetailComponent=(()=>{class h{constructor(){}ngOnInit(){}}return h.\u0275fac=function(v){return new(v||h)},h.\u0275cmp=c.\u0275\u0275defineComponent({type:h,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]}),h})()},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),f=n.__importStar(a(5879)),h=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(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Family"),f.\u0275\u0275elementEnd())}function D(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientFamilyName(W))}}function S(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Given"),f.\u0275\u0275elementEnd())}function E(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientGivenNames(W))}}function I(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Birthdate"),f.\u0275\u0275elementEnd())}function X(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientBirthDate(W))}}function $(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Street"),f.\u0275\u0275elementEnd())}function ee(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientAddressLines(W))}}function ie(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"City"),f.\u0275\u0275elementEnd())}function A(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientAddressCity(W))}}function U(de,H){1&de&&f.\u0275\u0275element(0,"mat-header-row")}function Ce(de,H){if(1&de){const W=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-row",16),f.\u0275\u0275listener("click",function(){const Ee=f.\u0275\u0275restoreView(W).$implicit,Be=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Be.selectRow(Ee))}),f.\u0275\u0275elementEnd()}}const Re=function(){return["familyNameCol","givenNamesCol","birthDateCol","addressLinesCol","addressCityCol"]};B.PatientsComponent=(()=>{class de{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 de.\u0275fac=function(W){return new(W||de)(f.\u0275\u0275directiveInject(h.FhirConfigService))},de.\u0275cmp=f.\u0275\u0275defineComponent({type:de,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&&(f.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-form-field")(3,"mat-label"),f.\u0275\u0275text(4,"Name"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(5,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(6," \xa0 "),f.\u0275\u0275elementStart(7,"mat-form-field")(8,"mat-label"),f.\u0275\u0275text(9,"Family"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(10,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(11," \xa0 "),f.\u0275\u0275elementStart(12,"mat-form-field")(13,"mat-label"),f.\u0275\u0275text(14,"Given"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(15,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(16," \xa0 "),f.\u0275\u0275elementEnd()(),f.\u0275\u0275elementStart(17,"mat-card",2)(18,"mat-card-content")(19,"mat-table",3,4),f.\u0275\u0275elementContainerStart(21,5),f.\u0275\u0275template(22,x,2,0,"mat-header-cell",6),f.\u0275\u0275template(23,D,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(24,8),f.\u0275\u0275template(25,S,2,0,"mat-header-cell",6),f.\u0275\u0275template(26,E,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(27,9),f.\u0275\u0275template(28,I,2,0,"mat-header-cell",6),f.\u0275\u0275template(29,X,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(30,10),f.\u0275\u0275template(31,$,2,0,"mat-header-cell",6),f.\u0275\u0275template(32,ee,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(33,11),f.\u0275\u0275template(34,ie,2,0,"mat-header-cell",6),f.\u0275\u0275template(35,A,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275template(36,U,1,0,"mat-header-row",12),f.\u0275\u0275template(37,Ce,1,0,"mat-row",13),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(38,"mat-paginator",14),f.\u0275\u0275listener("page",function(Ee){return pe.goToPage(Ee)}),f.\u0275\u0275elementEnd()()(),f.\u0275\u0275element(39,"app-patient-detail",15)),2&W&&(f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchName),f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchFamily),f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchGiven),f.\u0275\u0275advance(4),f.\u0275\u0275property("dataSource",pe.dataSource),f.\u0275\u0275advance(17),f.\u0275\u0275property("matHeaderRowDef",f.\u0275\u0275pureFunction0(11,Re)),f.\u0275\u0275advance(1),f.\u0275\u0275property("matRowDefColumns",f.\u0275\u0275pureFunction0(12,Re)),f.\u0275\u0275advance(1),f.\u0275\u0275property("pageIndex",pe.pageIndex)("length",pe.length)("pageSize",pe.pageSize)("pageSizeOptions",pe.pageSizeOptions),f.\u0275\u0275advance(1),f.\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]}),de})()},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))),f=n.__importStar(a(7088)),h=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(f.FhirConfigService),r.\u0275\u0275directiveInject(h.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),f=a(9241),h=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),Ce=a(1438),Re=n.__importStar(a(5879)),Ae=[c.CommonModule,r.BrowserModule,g.BrowserAnimationsModule,d.FormsModule,d.ReactiveFormsModule,U.TranslateModule,f.MatLegacyAutocompleteModule,h.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,Ce.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,f.MatLegacyAutocompleteModule,h.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,Ce.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)),f=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,f.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(h=>console.log(h))},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(h){super(),this.tokenSource=h,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(h){}reset(){this.seek(0)}seek(h){this.lazyInit(),this.index=this.adjustSeekIndex(h)}get(h){return this.lazyInit(),this.tokens[h]}consume(){let h=!1;if(h=this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(u)>=u}fetch(h){if(this.fetchedEOF)return 0;for(let u=0;u=this.tokens.length&&(u=this.tokens.length-1);for(let p=h;p=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[u]}adjustSeekIndex(h){return h}lazyInit(){-1===this.index&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(h){this.tokenSource=h,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(h,u){if(this.sync(h),h>=this.tokens.length)return-1;let v=this.tokens[h];for(;v.channel!==this.channel;){if(v.type===n.EOF)return-1;this.sync(h+=1),v=this.tokens[h]}return h}previousTokenOnChannel(h,u){for(;h>=0&&this.tokens[h].channel!==u;)h-=1;return h}getHiddenTokensToRight(h,u){if(void 0===u&&(u=-1),this.lazyInit(),h<0||h>=this.tokens.length)throw h+" not in 0.."+this.tokens.length-1;const v=this.nextTokenOnChannel(h+1,c.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(h+1,-1===v?this.tokens.length-1:v,u)}getHiddenTokensToLeft(h,u){if(void 0===u&&(u=-1),this.lazyInit(),h<0||h>=this.tokens.length)throw h+" not in 0.."+this.tokens.length-1;const v=this.previousTokenOnChannel(h-1,c.DEFAULT_TOKEN_CHANNEL);return v===h-1?null:this.filterForChannel(v+1,h-1,u)}filterForChannel(h,u,v){const b=[];for(let p=h;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,f,h,u,v,b,p,_){const l=new n(r,f,u,v,b);return l.line=p,l.column=_,null!==h?l.text=h:this.copyText&&null!==r[1]&&(l.text=r[1].getText(v,b)),l}createThin(r,f){const h=new n(null,r);return h.text=f,h}}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,f){super(r),this.channel=void 0===f?n.DEFAULT_CHANNEL:f}adjustSeekIndex(r){return this.nextTokenOnChannel(r,this.channel)}LB(r){if(0===r||this.index-r<0)return null;let f=this.index,h=1;for(;h<=r;)f=this.previousTokenOnChannel(f-1,this.channel),h+=1;return f<0?null:this.tokens[f]}LT(r){if(this.lazyInit(),0===r)return null;if(r<0)return this.LB(-r);let f=this.index,h=1;for(;h{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 f=0;f=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 f="";for(let h=g;h<=r;h++)f+=String.fromCodePoint(this.data[h]);return f}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,f){this.start=r,this.stop=f}clone(){return new c(this.start,this.stop)}contains(r){return r>=this.start&&rthis.addInterval(f),this),this}reduce(r){if(r=h.stop?(this.intervals.splice(r+1,1),this.reduce(r)):f.stop>=h.start&&(this.intervals[r]=new c(f.start,h.stop),this.intervals.splice(r+1,1))}}complement(r,f){const h=new d;return h.addInterval(new c(r,f+1)),null!==this.intervals&&this.intervals.forEach(u=>h.removeRange(u)),h}contains(r){if(null===this.intervals)return!1;for(let f=0;fu.start&&r.stop=u.stop?(this.intervals.splice(f,1),f-=1):r.start":"'"+String.fromCharCode(h.start)+"'":"'"+String.fromCharCode(h.start)+"'..'"+String.fromCharCode(h.stop-1)+"'")}return r.length>1?"{"+r.join(", ")+"}":r[0]}toIndexString(){const r=[];for(let f=0;f":h.start.toString():h.start.toString()+".."+(h.stop-1).toString())}return r.length>1?"{"+r.join(", ")+"}":r[0]}toTokenString(r,f){const h=[];for(let u=0;u1?"{"+h.join(", ")+"}":h[0]}elementName(r,f,h){return h===n.EOF?"":h===n.EPSILON?"":r[h]||f[h]}get length(){return this.intervals.map(r=>r.length).reduce((r,f)=>r+f)}}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:f}=a(5516),{RuleTransition:h,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 h 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=h.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=h.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=h.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===h.SKIP){b=!0;break}if(this._type!==h.MORE)break}if(!b)return null===this._token&&this.emit(),this._token}}finally{this._input.release(v)}}skip(){this._type=h.SKIP}more(){this._type=h.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}}h.DEFAULT_MODE=0,h.MORE=-2,h.SKIP=-3,h.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,h.HIDDEN=n.HIDDEN_CHANNEL,h.MIN_CHAR_VALUE=0,h.MAX_CHAR_VALUE=1114111,Ie.exports=h},111:(Ie,B,a)=>{const{Token:n}=a(6205),{ParseTreeListener:c,TerminalNode:d,ErrorNode:g}=a(5829),r=a(9495),{DefaultErrorStrategy:f}=a(2487),h=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 f,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 h(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,f=c.ErrorNodeImpl,h=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 f&&(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 f(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 h 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 h&&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 h(I,X)}}class u extends h{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 h&&I instanceof h)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=h.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 de=new v([ie,ie],Re);return null!==$&&$.set(E,I,de),de}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 Ce=new v(U,A);return null!==$&&$.set(E,I,Ce),Ce}}(E,I,X,$);if(X){if(E instanceof u)return E;if(I instanceof u)return I}return E instanceof h&&(E=new v([E.getParent()],[E.returnState])),I instanceof h&&(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=[],Ce=[];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(h){"4.9.3"!==h&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+h)}addErrorListener(h){this._listeners.push(h)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const h=this.getLiteralNames(),u=this.getSymbolicNames(),v=h.length>u.length?h.length:u.length;this.tokenNames=[];for(let b=0;b";let u=h.text;return null===u&&(u=h.type===n.EOF?"":"<"+h.type+">"),u=u.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+u+"'"}getErrorListenerDispatch(){return new d(this._listeners)}sempred(h,u,v){return!0}precpred(h,u){return!0}get state(){return this._stateNumber}set state(h){this._stateNumber=h}}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(f,h){super(),this.parentCtx=f||null,this.invokingState=h||-1}depth(){let f=0,h=this;for(;null!==h;)h=h.parentCtx,f+=1;return f}isEmpty(){return-1===this.invokingState}getSourceInterval(){return c}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(f){return f.getText()}).join("")}getAltNumber(){return 0}setAltNumber(f){}getChild(f){return null}getChildCount(){return 0}accept(f){return f.visitChildren(this)}toStringTree(f,h){return d.toStringTree(this,f,h)}toString(f,h){f=f||null,h=h||null;let u=this,v="[";for(;null!==u&&u!==h;){if(null===f)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,f,h){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!==f?f:-1,this.stop=void 0!==h?h:-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(h,u){this.grammarType=h,this.maxTokenType=u,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(h,u){return new n(this).LOOK(h,null,u)}nextTokensNoContext(h){return null!==h.nextTokenWithinRule||(h.nextTokenWithinRule=this.nextTokensInContext(h,null),h.nextTokenWithinRule.readOnly=!0),h.nextTokenWithinRule}nextTokens(h,u){return void 0===u?this.nextTokensNoContext(h):this.nextTokensInContext(h,u)}addState(h){null!==h&&(h.atn=this,h.stateNumber=this.states.length),this.states.push(h)}removeState(h){this.states[h.stateNumber]=null}defineDecisionState(h){return this.decisionToState.push(h),h.decision=this.decisionToState.length-1,h.decision}getDecisionState(h){return 0===this.decisionToState.length?null:this.decisionToState[h]}getExpectedTokens(h,u){if(h<0||h>=this.states.length)throw"Invalid state number.";let b=this.nextTokens(this.states[h]);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(h,u){if(null===h){const v={state:null,alt:null,context:null,semanticContext:null};return u&&(v.reachesIntoOuterContext=0),v}{const v={};return v.state=h.state||null,v.alt=void 0===h.alt?null:h.alt,v.context=h.context||null,v.semanticContext=h.semanticContext||null,u&&(v.reachesIntoOuterContext=h.reachesIntoOuterContext||0,v.precedenceFilterSuppressed=h.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 f 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=f.prototype.hashCode,this.equalsForConfigSet=f.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 f&&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=f},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 f(v,b){return v===b||null!==v&&null!==b&&v.equalsForConfigSet(b)}class h{constructor(b){this.configLookup=new c.Set(r,f),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:f,BlockStartState:h,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:Ce,WildcardTransition:Re,PredicateTransition:Ae,PrecedencePredicateTransition:de}=a(6850),{IntervalSet:H}=a(9173),W=a(2905),{LexerActionType:pe,LexerSkipAction:we,LexerChannelAction:Ee,LexerCustomAction:Be,LexerMoreAction:G,LexerTypeAction:re,LexerPushModeAction:ae,LexerPopModeAction:ve,LexerModeAction:He}=a(201),Qe="59627784-3BE5-417A-B9EB-8131A7286089",Ge=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Qe],Ct=Qe;function Nt(Lt,Le){const lt=[];return lt[Lt-1]=Le,lt.map(function(ze){return Le})}const Tt=function Bt(){const Lt=[];for(let Le=0;Le<256;Le++)Lt[Le]=(Le+256).toString(16).substr(1).toUpperCase();return Lt}();Ie.exports=class _t{constructor(Le){null==Le&&(Le=W.defaultOptions),this.deserializationOptions=Le,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Le,lt){const ze=Ge.indexOf(Le);return!(ze<0)&&Ge.indexOf(lt)>=ze}deserialize(Le){this.reset(Le),this.checkVersion(),this.checkUUID();const lt=this.readATN();this.readStates(lt),this.readRules(lt),this.readModes(lt);const ze=[];return this.readSets(lt,ze,this.readInt.bind(this)),this.isFeatureSupported(Qe,this.uuid)&&this.readSets(lt,ze,this.readInt32.bind(this)),this.readEdges(lt,ze),this.readDecisions(lt),this.readLexerActions(lt),this.markPrecedenceDecisions(lt),this.verifyATN(lt),this.deserializationOptions.generateRuleBypassTransitions&<.grammarType===d.PARSER&&(this.generateRuleBypassTransitions(lt),this.verifyATN(lt)),lt}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(Ge.indexOf(Le)<0)throw Ct;this.uuid=Le}readATN(){const Le=this.readInt(),lt=this.readInt();return new c(Le,lt)}readStates(Le){let lt,ze,at;const N=[],oe=[],Y=this.readInt();for(let ce=0;ce0;)N.addTransition(K.transitions[ce-1]),K.transitions=K.transitions.slice(-1);Le.ruleToStartState[lt].addTransition(new Ce(N)),oe.addTransition(new Ce(ne));const Te=new r;Le.addState(Te),Te.addTransition(new X(oe,Le.ruleToTokenType[lt])),N.addTransition(new Ce(Te))}stateIsEndStateFor(Le,lt){if(Le.ruleIndex!==lt||!(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 lt=0;lt=0:ze.transitions.length<=1||ze instanceof p)}}checkCondition(Le,lt){if(!Le)throw null==lt&&(lt="IllegalState"),lt}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 lt=7;lt>=0;lt--){const ze=this.readInt();Le[2*lt+1]=255&ze,Le[2*lt]=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,lt,ze,at,N,oe,Y,ne){const K=Le.states[at];switch(lt){case I.EPSILON:return new Ce(K);case I.RANGE:return new A(K,0!==Y?n.EOF:N,oe);case I.RULE:return new ie(Le.states[N],oe,Y,K);case I.PREDICATE:return new Ae(K,N,oe,0!==Y);case I.PRECEDENCE:return new de(K,N);case I.ATOM:return new X(K,0!==Y?n.EOF:N);case I.ACTION:return new U(K,N,oe,0!==Y);case I.SET:return new $(K,ne[N]);case I.NOT_SET:return new ee(K,ne[N]);case I.WILDCARD:return new Re(K);default:throw"The specified transition type: "+lt+" is not valid."}}stateFactory(Le,lt){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=lt,ze}}lexerActionFactory(Le,lt,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)=>ve.INSTANCE,at[pe.PUSH_MODE]=(N,oe)=>new ae(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](lt,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(h,u){return this.atn=h,this.sharedContextCache=u,this}getCachedContext(h){if(null===this.sharedContextCache)return h;const u=new g;return d(h,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 h extends a{constructor(){return super(),this.stateType=a.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class f 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:f}=a(4280),{PredictionContext:h}=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 f;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 f 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 f&&this.mode===p.mode}toString(){return"mode("+this.mode+")"}}class h 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 h&&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:h,LexerIndexedCustomAction:v,LexerMoreAction:r,LexerTypeAction:c,LexerPushModeAction:d,LexerPopModeAction:g,LexerModeAction:f}},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 f=null;for(let h=0;h{const n=a(3340),{Set:c,BitSet:d,DoubleDict:g}=n,r=a(9800),{ATNState:f,RuleStopState:h}=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:Ce,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 ve=this.computeStartState(we.atnStartState,x.EMPTY,!1);we.precedenceDfa?(we.s0.configs=ve,ve=this.applyPrecedenceFilter(ve),G=this.addDFAState(we,new p(null,ve)),we.setPrecedenceStartState(this.parser.getPrecedence(),G)):(G=this.addDFAState(we,new p(null,ve)),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 ae=this.getExistingTargetState(G,re);if(null===ae&&(ae=this.computeTargetState(H,G,re)),ae===l.ERROR){const ve=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 ve}if(ae.requiresFullContext&&this.predictionMode!==y.SLL){let ve=null;if(null!==ae.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const Qe=pe.index;if(Qe!==we&&pe.seek(we),ve=this.evalSemanticContext(ae.predicates,Ee,!0),1===ve.length)return this.debug&&console.log("Full LL avoided"),ve.minValue();Qe!==we&&pe.seek(Qe)}this.dfa_debug&&console.log("ctx sensitive state "+Ee+" in "+ae);const Ze=this.computeStartState(H.atnStartState,Ee,!0);return this.reportAttemptingFullContext(H,ve,ae.configs,we,pe.index),Be=this.execATNWithFullContext(H,ae,Ze,pe,we,Ee),Be}if(ae.isAcceptState){if(null===ae.predicates)return ae.prediction;const ve=pe.index;pe.seek(we);const He=this.evalSemanticContext(ae.predicates,Ee,!0);if(0===He.length)throw this.noViableAlt(pe,Ee,ae.configs,we);return 1===He.length||this.reportAmbiguity(H,ae,we,ve,!1,He,ae.configs),He.minValue()}G=ae,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 ae,re=!1,ve=pe;we.seek(Ee);let He=we.LA(1),Ze=-1;for(;;){if(ae=this.computeReachSet(ve,He,!0),null===ae){const Ge=this.noViableAlt(we,Be,ve,Ee);we.seek(Ee);const tt=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(ve,Be);if(tt!==r.INVALID_ALT_NUMBER)return tt;throw Ge}const Qe=y.getConflictingAltSubsets(ae);if(this.debug&&console.log("LL altSubSets="+Qe+", predict="+y.getUniqueAlt(Qe)+", resolvesToJustOneViableAlt="+y.resolvesToJustOneViableAlt(Qe)),ae.uniqueAlt=this.getUniqueAlt(ae),ae.uniqueAlt!==r.INVALID_ALT_NUMBER){Ze=ae.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}ve=ae,He!==b.EOF&&(we.consume(),He=we.LA(1))}return ae.uniqueAlt!==r.INVALID_ALT_NUMBER?(this.reportContextSensitivity(H,Ze,ae,Ee,we.index),Ze):(this.reportAmbiguity(H,W,Ee,we.index,re,null,ae),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 h&&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 h){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!==f.STAR_LOOP_ENTRY||W.stateType!==f.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=Ce.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:f}=a(5516),{ATNConfigSet:h}=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 h;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 h(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 f 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 f&&this.precedence===b.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(b){const p=[];return b.values().map(function(_){_ instanceof f&&p.push(_)}),p}}class h extends g{constructor(b,p){super();const _=new n;b instanceof h?b.opnds.map(function(y){_.add(y)}):_.add(b),p instanceof h?p.opnds.map(function(y){_.add(y)}):_.add(p);const l=f.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=f.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:f,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 f 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 h 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:f}=a(7279);Ie.exports=class h{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 f(this).toString()}get states(){return this._states}}},7279:(Ie,B,a)=>{const n=a(3340);class c{constructor(r,f,h){this.dfa=r,this.literalNames=f||[],this.symbolicNames=h||[]}toString(){if(null===this.dfa.s0)return null;let r="";const f=this.dfa.sortedStates();for(let h=0;h"),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 f=(r.isAcceptState?":":"")+"s"+r.stateNumber+(r.requiresFullContext?"^":"");return r.isAcceptState?null!==r.predicates?f+"=>"+n.arrayToString(r.predicates):f+"=>"+r.prediction.toString():f}}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(h,u){return null===h&&(h=-1),null===u&&(u=new n),this.stateNumber=h,this.configs=u,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const h=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(f){super(),this.exactOnly=f=f||!0}reportAmbiguity(f,h,u,v,b,p,_){if(this.exactOnly&&!b)return;const l="reportAmbiguity d="+this.getDecisionDescription(f,h)+": ambigAlts="+this.getConflictingAlts(p,_)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(l)}reportAttemptingFullContext(f,h,u,v,b,p){const _="reportAttemptingFullContext d="+this.getDecisionDescription(f,h)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(_)}reportContextSensitivity(f,h,u,v,b,p){const _="reportContextSensitivity d="+this.getDecisionDescription(f,h)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(_)}getDecisionDescription(f,h){const u=h.decision,v=h.atnStartState.ruleIndex,b=f.ruleNames;if(v<0||v>=b.length)return""+u;const p=b[v]||null;return null===p||0===p.length?""+u:`${u} (${p})`}getConflictingAlts(f,h){if(null!==f)return f;const u=new n;for(let v=0;v{class B{syntaxError(d,g,r,f,h,u){}reportAmbiguity(d,g,r,f,h,u,v){}reportAttemptingFullContext(d,g,r,f,h,u){}reportContextSensitivity(d,g,r,f,h,u){}}class a extends B{constructor(){super()}syntaxError(d,g,r,f,h,u){console.error("line "+r+":"+f+" "+h)}}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,f,h,u){this.delegates.map(v=>v.syntaxError(d,g,r,f,h,u))}reportAmbiguity(d,g,r,f,h,u,v){this.delegates.map(b=>b.reportAmbiguity(d,g,r,f,h,u,v))}reportAttemptingFullContext(d,g,r,f,h,u){this.delegates.map(v=>v.reportAttemptingFullContext(d,g,r,f,h,u))}reportContextSensitivity(d,g,r,f,h,u){this.delegates.map(v=>v.reportContextSensitivity(d,g,r,f,h,u))}}}},2487:(Ie,B,a)=>{const{Token:n}=a(6205),{NoViableAltException:c,InputMismatchException:d,FailedPredicateException:g,ParseCancellationException:r}=a(5858),{ATNState:f}=a(5516),{Interval:h,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=f.INVALID_STATE_NUMBER);if(D.contains(n.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=l._ctx,this.nextTokensState=l._stateNumber);else switch(y.stateType){case f.BLOCK_START:case f.STAR_BLOCK_START:case f.PLUS_BLOCK_START:case f.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(l))return;throw new d(l);case f.PLUS_LOOP_BACK:case f.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 h(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 h(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,f,h=-1;const u=arguments.length;if(!u)return"";let v="";for(;++h1114111||a(b)!==b)throw RangeError("Invalid code point: "+b);b<=65535?g.push(b):(b-=65536,r=55296+(b>>10),f=b%1024+56320,g.push(r,f)),(h+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 f extends r{constructor(){super()}}class u extends f{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),f={toStringTree:function(h,u,v){u=u||null,null!==(v=v||null)&&(u=v.ruleNames);let b=f.getNodeText(h,u);b=n.escapeWhitespace(b,!1);const p=h.getChildCount();if(0===p)return b;let _="("+b+" ";p>0&&(b=f.toStringTree(h.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 f(A){return"string"!=typeof A&&(A=String(A)),A}function h(A){var U={next:function(){var Ce=A.shift();return{done:void 0===Ce,value:Ce}}};return n_iterable&&(U[Symbol.iterator]=function(){return U}),U}function u(A){this.map={},A instanceof u?A.forEach(function(U,Ce){this.append(Ce,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,Ce){A.onload=function(){U(A.result)},A.onerror=function(){Ce(A.error)}})}function p(A){var U=new FileReader,Ce=b(U);return U.readAsArrayBuffer(A),Ce}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,Ce=b(U);return U.readAsText(A),Ce}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function l(A){for(var U=new Uint8Array(A),Ce=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)&&Ce)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(Ce)}function I(A){var U=new FormData;return A.trim().split("&").forEach(function(Ce){if(Ce){var Re=Ce.split("="),Ae=Re.shift().replace(/\+/g," "),de=Re.join("=").replace(/\+/g," ");U.append(decodeURIComponent(Ae),decodeURIComponent(de))}}),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(":"),de=Ae.shift().trim();if(de){var H=Ae.join(":").trim();U.append(de,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,Ce){this.message=U,this.name=Ce;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(Ce,Re){var Ae=new E(A,U);if(Ae.signal&&Ae.signal.aborted)return Re(new a.DOMException("Aborted","AbortError"));var de=new XMLHttpRequest;function H(){de.abort()}de.onload=function(){var W={status:de.status,statusText:de.statusText,headers:X(de.getAllResponseHeaders()||"")};W.url="responseURL"in de?de.responseURL:W.headers.get("X-Request-URL"),Ce(new $("response"in de?de.response:de.responseText,W))},de.onerror=function(){Re(new TypeError("Network request failed"))},de.ontimeout=function(){Re(new TypeError("Network request failed"))},de.onabort=function(){Re(new a.DOMException("Aborted","AbortError"))},de.open(Ae.method,Ae.url,!0),"include"===Ae.credentials?de.withCredentials=!0:"omit"===Ae.credentials&&(de.withCredentials=!1),"responseType"in de&&n_blob&&(de.responseType="blob"),Ae.headers.forEach(function(W,pe){de.setRequestHeader(pe,W)}),Ae.signal&&(Ae.signal.addEventListener("abort",H),de.onreadystatechange=function(){4===de.readyState&&Ae.signal.removeEventListener("abort",H)}),de.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),f=Number(g);return r.setDate(r.getDate()+f),r}},6888:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var f=Number(r);return n(g,36e5*f)}},3895:(Ie,B,a)=>{var n=a(1420);Ie.exports=function c(d,g){var r=n(d).getTime(),f=Number(g);return new Date(r+f)}},3745:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var f=Number(r);return n(g,6e4*f)}},1277:(Ie,B,a)=>{var n=a(1420),c=a(7255);Ie.exports=function d(g,r){var f=n(g),h=Number(r),u=f.getMonth()+h,v=new Date(0);v.setFullYear(f.getFullYear(),u,1),v.setHours(0,0,0,0);var b=c(v);return f.setMonth(u,Math.min(b,f.getDate())),f}},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(),f=g.getMonth(),h=new Date(0);return h.setFullYear(r,f+1,0),h.setHours(0,0,0,0),h.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,f=/[T ]/,h=/:/,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(f);if(h.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 Ce(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),ve=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 ae=parseInt(we[2],10);return Ee.setUTCFullYear(pe,Be,ae),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(ve){var Qe,He=ve.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 de(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 Ge=He+Ze,tt=new Date(Ge);Qe=n(tt);var Ct=new Date(Ge);Ct.setDate(tt.getDate()+1);var Nt=n(Ct)-n(tt);Nt>0&&(Qe+=Nt)}return new Date(He+Ze+Qe)}return new Date(W)}},563:(Ie,B,a)=>{B.formatArgs=function c(h){if(h[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+h[0]+(this.useColors?"%c ":" ")+"+"+Ie.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;h.splice(1,0,u,"color: inherit");let v=0,b=0;h[0].replace(/%[a-zA-Z%]/g,p=>{"%%"!==p&&(v++,"%c"===p&&(b=v))}),h.splice(b,0,u)},B.save=function d(h){try{h?B.storage.setItem("debug",h):B.storage.removeItem("debug")}catch{}},B.load=function g(){let h;try{h=B.storage.getItem("debug")}catch{}return!h&&typeof process<"u"&&"env"in process&&(h=process.env.DEBUG),h},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 h=!1;return()=>{h||(h=!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:f}=Ie.exports;f.j=function(h){try{return JSON.stringify(h)}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 Ce=g.formatters[U];return"function"==typeof Ce&&(A=Ce.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 h(){const _=[...g.names.map(v),...g.skips.map(v).map(l=>"-"+l)].join(",");return g.enable(""),_},g.enable=function f(_){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,f){try{return[decodeURIComponent(r.join(""))]}catch{}if(1===r.length)return r;var h=r.slice(0,f=f||1),u=r.slice(f);return Array.prototype.concat.call([],c(h),c(u))}function d(r){try{return decodeURIComponent(r)}catch{for(var f=r.match(a)||[],h=1;h"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 f=Object.keys(d)[0];return void 0!==r.find(u=>u[f]===d[f])}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),f=a(7681),h=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 f(this),this.pagination=new h(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((Ce,Re)=>{function Ae(de){U.push(de)===$.numJobs&&Re(new Error(U.map(H=>H.message).join("; ")))}E.httpClient.request("GET",`${X}.well-known/smart-configuration`,ie.addSignalOption(I)).then(de=>($.safeAbortOthers(ie),Ce(g(de)))).catch(de=>Ae(de)),E.capabilityStatement(ee.addSignalOption(I)).then(de=>($.safeAbortOthers(ee),Ce(d(de)))).catch(de=>Ae(de)),E.httpClient.request("GET",`${X}.well-known/openid-configuration`,A.addSignalOption(I)).then(de=>($.safeAbortOthers(A),Ce(g(de)))).catch(de=>Ae(de))})})()}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 f=0,h=this.numJobs;f{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"},f="__response",h="__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[f]}static requestFor(D){return D[h]}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 Ce=yield ie.text();let Re={};if(Ce)try{Re=JSON.parse(Ce)}catch{throw Re=Ce,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,f,{writable:!1,enumerable:!1,value:ie}),Object.defineProperty(Re,h,{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 f(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 h(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:f,options:h={}}={}){var u=this;return n(function*(){return void 0===r?g.startsWith("http")?u.resolveAbsoluteReference(g,d(h,f)):u.client.httpClient.get(g,d(h,f)):g.startsWith("#")?u.resolveContainedReference(g,r):u.resolveBundleReference(g,r,d(h,f))})()}resolveAbsoluteReference(g,r){var f=this;return n(function*(){if(g.startsWith(f.client.baseUrl))return f.client.httpClient.get(g,r);const{baseUrl:h,resourceType:u,id:v}=c(g);return new(a(8907))({baseUrl:h}).read({resourceType:u,id:v,options:r})})()}resolveContainedReference(g,r){if(r.contained){const f=g.slice(1),h=r.contained.find(u=>u.id===f);if(h)return h}throw new Error(`Unable to resolve contained reference: ${g}`)}resolveBundleReference(g,r,f){var h=this;return n(function*(){const u=new RegExp(`(^|/)${g}$`),v=r.entry.find(b=>u.test(b.fullUrl));return v?v.resource:h.resolve({reference:g,options:f})})()}}},6686:(Ie,B,a)=>{const{logError:c}=a(1566);Ie.exports={authFromCapability:function d(r){const f={};try{return r.rest.forEach(h=>{h.security.extension.find(v=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===v.url).extension.forEach(v=>{switch(v.url){case"authorize":f.authorizeUrl=new URL(v.valueUri);break;case"token":f.tokenUrl=new URL(v.valueUri);break;case"register":f.registerUrl=new URL(v.valueUri);break;case"manage":f.manageUrl=new URL(v.valueUri)}})}),f}catch(h){return c(h),f}},authFromWellKnown:function g(r){const{authorization_endpoint:f,token_endpoint:h,registration_endpoint:u}=r;return{authorizeUrl:f&&new URL(f),tokenUrl:h&&new URL(h),registerUrl:u&&new URL(u)}}}},9047:(Ie,B,a)=>{const n=a(133),{fhirReferenceRegEx:c}=a(4115);Ie.exports={createQueryString:function r(f){if(f instanceof Object&&Object.keys(f).length>0)return n.stringify(f)},splitReference:function d(f){if(!f.match(c))throw new Error(`${f} is not a recognized FHIR reference`);let h,u=f;f.startsWith("http")&&([,h]=c.exec(f),u=f.slice(h.length),h.endsWith("/")&&(h=h.slice(0,-1)));const[v,b]=u.split("/");return{baseUrl:h,resourceType:v,id:b}},validResourceType:function g(f){return!f.startsWith("/")&&!f.includes(":")&&/\S/.test(f)}}},4258:(Ie,B,a)=>{let n={};const c=a(7353),d=a(5117),g=a(5827);n.aggregateMacro=function(r,f,h){return r.reduce((u,v,b)=>(this.$index=b,this.$total=f(v)),this.$total=h)},n.countFn=function(r){return r&&r.length?r.length:0},n.sumFn=function(r){return n.aggregateMacro.apply(this,[r,f=>c.plus(g.arraify(f),g.arraify(this.$total)),0])},n.minFn=function(r){return n.aggregateMacro.apply(this,[r,f=>{const h=g.arraify(f),u=g.arraify(this.$total);return g.isEmpty(u)||d.lt(h,u)?h:u}])},n.maxFn=function(r){return n.aggregateMacro.apply(this,[r,f=>{const h=g.arraify(f),u=g.arraify(this.$total);return g.isEmpty(u)||d.gt(h,u)?h: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 f=0;f1)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 f=[];const h=g.length;let u=r.length;if(h&&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[_]&&(f.push(p),v[_]=!1,u--)}}return f},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,f=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 f(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,f=Object.keys,h=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(h(y)||h(x))return p(y=h(y)?r.call(y):y,x=h(x)?r.call(x):x,D);try{var I=f(y),X=f(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,f=d.FP_DateTime;var h={};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?f:p.constructor,y=_.constructor===r?f:_.constructor;return l!==y&&n.raiseError('Type of "'+p+'" ('+l.name+') did not match type of "'+_+'" ('+y.name+")","InequalityExpression"),[p,_]}h.equal=function(p,_){return u(p,_)},h.unequal=function(p,_){var l=u(p,_);return void 0===l?void 0:!l},h.equival=function(p,_){return v(p,_)},h.unequival=function(p,_){return!v(p,_)},h.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},h.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},h.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=h},631:(Ie,B,a)=>{const n=a(5827),{whereMacro:c,distinctFn:d}=a(5073),g=a(6777),r=a(6190),f={};function h(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}f.emptyFn=n.isEmpty,f.notFn=function(u){let v=g.singleton(u,"Boolean");return"boolean"==typeof v?!v:[]},f.existsMacro=function(u,v){var b=u;return v?f.existsMacro(c(u,v)):!n.isEmpty(b)},f.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={},f=a(631),h=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 Ce=A.makeResNode;function Re(re,ae,ve,He){if("Expr"===ve)return function(Qe){return re.$this=d.arraify(Qe),r.doEval(re,re.$this,He)};if("AnyAtRoot"===ve)return re.$this=re.$this||re.dataRoot,r.doEval(re,re.$this,He);if("Identifier"===ve){if("TermExpression"===He.type)return He.text;throw new Error("Expected identifier node, got "+JSON.stringify(He))}if("TypeSpecifier"===ve)return r.TypeSpecifier(re,ae,He);re.$this=ae;const Ze=r.doEval(re,ae,He);if("Any"===ve)return Ze;if(Array.isArray(ve)){if(0===Ze.length)return[];ve=ve[0]}return b.singleton(Ze,ve)}function de(re){return null==re||d.isEmpty(re)}function H(re,ae,ve,He){var Ze=r.invocationTable[ae];if(Ze&&Ze.fn){var Qe=He?He.length:0;if(2!==Qe)throw new Error("Infix invoke should have arity 2");var Ge=Ze.arity[Qe];if(Ge){for(var tt=[],Ct=0;CtCt?.__path__?Ce(Ct,Ct?.__path__):Ct),Ge={context:Qe,ucum:"http://unitsofmeasure.org"};ve&&(ve=Object.keys(ve).reduce((Ct,Nt)=>(Ct[Nt]=Array.isArray(ve[Nt])?ve[Nt].map(_t=>_t?.__path__?Ce(_t,_t.__path__):_t):ve[Nt]?.__path__?Ce(ve[Nt],ve[Nt].__path__):ve[Nt],Ct),{}));let tt={dataRoot:Qe,vars:Object.assign(Ge,ve),model:He};return Ze&&Ze.traceFn&&(tt.customTraceFn=Ze.traceFn),r.doEval(tt,Qe,ae.children[0]).map(Ct=>{let Nt=Ct instanceof A?Ct.path:null;return(Ct=d.valData(Ct))instanceof ie&&Ze.resolveInternalTypes&&(Ct=Ct.toString()),Nt&&"object"==typeof Ct&&Object.defineProperty(Ct,"__path__",{value:Nt}),Ct})}function Be(re,ae,ve){if(ve={resolveInternalTypes:!0,...ve},"object"==typeof re){const He=W(re.expression);return function(Ze,Qe){const Ge=re.base?Ce(Ze,re.base):Ze;return U.model=ae,pe(Ge,He,Qe,ae,ve)}}{const He=W(re);return function(Ze,Qe){return U.model=ae,pe(Ze,He,Qe,ae,ve)}}}r.invocationTable={empty:{fn:f.emptyFn},not:{fn:f.notFn},exists:{fn:f.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:f.allMacro,arity:{1:["Expr"]}},allTrue:{fn:f.allTrueFn},anyTrue:{fn:f.anyTrueFn},allFalse:{fn:f.allFalseFn},anyFalse:{fn:f.anyFalseFn},subsetOf:{fn:f.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:f.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:f.isDistinctFn},distinct:{fn:h.distinctFn},count:{fn:u.countFn},where:{fn:h.whereMacro,arity:{1:["Expr"]}},extension:{fn:h.extension,arity:{1:["String"]}},select:{fn:h.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:h.singleFn},first:{fn:h.firstFn},last:{fn:h.lastFn},type:{fn:E.typeFn,arity:{0:[]}},ofType:{fn:h.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:E.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:E.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:h.tailFn},take:{fn:h.takeFn,arity:{1:["Integer"]}},skip:{fn:h.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:h.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,ae,ve){return ve.children.reduce(function(He,Ze){return r.doEval(re,He,Ze)},ae)},r.TermExpression=function(re,ae,ve){return ae&&(ae=ae.map(He=>He instanceof Object&&He.resourceType?Ce(He,He.resourceType):He)),r.doEval(re,ae,ve.children[0])},r.PolarityExpression=function(re,ae,ve){var He=ve.terminalNodeText[0],Ze=r.doEval(re,ae,ve.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,ae,ve){let He,Ze;const Qe=ve.text.split(".").map(Ge=>Ge.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(ve))}return new U({namespace:He,name:Ze})},r.ExternalConstantTerm=function(re,ae,ve){var Qe=r.Identifier(re,ae,ve.children[0].children[0])[0],Ge=re.vars[Qe];if(!(Qe in re.vars))throw new Error("Attempting to access an undefined environment variable: "+Qe);return null==Ge?[]:Ge instanceof Array?Ge:[Ge]},r.LiteralTerm=function(re,ae,ve){var He=ve.children[0];return He?r.doEval(re,ae,He):[ve.text]},r.StringLiteral=function(re,ae,ve){var He=ve.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,ae,ve){return"true"===ve.text?[!0]:[!1]},r.QuantityLiteral=function(re,ae,ve){var He=ve.children[0],Ze=Number(He.terminalNodeText[0]),Qe=He.children[0],Ge=Qe.terminalNodeText[0];return!Ge&&Qe.children&&(Ge=Qe.children[0].terminalNodeText[0]),[new ee(Ze,Ge)]},r.DateTimeLiteral=function(re,ae,ve){var He=ve.text.slice(1);return[new X(He)]},r.TimeLiteral=function(re,ae,ve){var He=ve.text.slice(1);return[new $(He)]},r.NumberLiteral=function(re,ae,ve){return[Number(ve.text)]},r.Identifier=function(re,ae,ve){return[ve.text.replace(/(^`|`$)/g,"")]},r.InvocationTerm=function(re,ae,ve){return r.doEval(re,ae,ve.children[0])},r.MemberInvocation=function(re,ae,ve){const He=r.doEval(re,ae,ve.children[0])[0],Ze=re.model;if(ae){if(d.isCapitalized(He))return ae.filter(Qe=>Qe instanceof A&&Qe.path===He);{const Qe=ae.path||ae.__path__;return ae.reduce(function(Ge,tt){var Ct=(tt=Ce(tt,Qe)).path+"."+He;if(Ze){let Tt=Ze.pathsDefinedElsewhere[Ct];Tt&&(Ct=Tt)}let Nt,_t,Bt=Ze&&Ze.choiceTypePaths[Ct];if(Bt)for(let Tt of Bt){let Lt=He+Tt;if(Nt=tt.data?.[Lt],_t=tt.data?.["_"+Lt],void 0!==Nt||void 0!==_t){Ct+=Tt;break}}else Nt=tt.data?.[He],_t=tt.data?.["_"+He],void 0===Nt&&void 0===_t&&(Nt=tt._data[He]),"extension"===He&&(Ct="Extension");return Ct=Ze&&Ze.path2Type[Ct]||Ct,(d.isSome(Nt)||d.isSome(_t))&&(Array.isArray(Nt)?Ge=Ge.concat(Nt.map((Tt,Lt)=>Ce(Tt,Ct,_t&&_t[Lt]))):Ge.push(Ce(Nt,Ct,_t))),Ge},[])}}return[]},r.IndexerExpression=function(re,ae,ve){const Ze=ve.children[1];var Qe=r.doEval(re,ae,ve.children[0]),Ge=r.doEval(re,ae,Ze);if(d.isEmpty(Ge))return[];var tt=parseInt(Ge[0]);return Qe&&d.isSome(tt)&&Qe.length>tt&&tt>=0?[Qe[tt]]:[]},r.Functn=function(re,ae,ve){return ve.children.map(function(He){return r.doEval(re,ae,He)})},r.realizeParams=function(re,ae,ve){return ve&&ve[0]&&ve[0].children?ve[0].children.map(function(He){return r.doEval(re,ae,He)}):[]},r.FunctionInvocation=function(re,ae,ve){var He=r.doEval(re,ae,ve.children[0]);const Ze=He[0];return He.shift(),function Ae(re,ae,ve,He){var Qe,Ze=r.invocationTable[ae];if(Ze){if(Ze.arity){var Ge=He?He.length:0,tt=Ze.arity[Ge];if(tt){for(var Ct=[],Nt=0;Nt{const ve=U.fromValue(ae?.__path__?new A(ae,ae.__path__):ae);return`${ve.namespace}.${ve.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(f,h){return!1===f||f?n.flatten(f.filter((u,v)=>(this.$index=v,h(u)[0]))):[]},extension:function(f,h){return!1!==f&&!f||!h?[]:n.flatten(f.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===h).map(p=>d.makeResNode(p,"Extension")):[]}))},selectMacro:function(f,h){return!1===f||f?n.flatten(f.map((u,v)=>(this.$index=v,h(u)))):[]},repeatMacro:function(f,h){if(!1!==f&&!f)return[];let u=[];const v={},b=f.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(h))},distinctFn:function(f){let h=[];if(f.length>0){let u={};for(let v=0,b=f.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 h(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(h):Object.keys(u).sort().reduce((v,b)=>(v[b]=h(u[b]),v),{}):u}Ie.exports=function f(u){return JSON.stringify(h(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 f(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 h(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(h(u))return[];{let v=f(u);return Math.abs(v)}},r.ceiling=function(u){if(h(u))return[];{let v=f(u);return Math.ceil(v)}},r.exp=function(u){if(h(u))return[];{let v=f(u);return Math.exp(v)}},r.floor=function(u){if(h(u))return[];{let v=f(u);return Math.floor(v)}},r.ln=function(u){if(h(u))return[];{let v=f(u);return Math.log(v)}},r.log=function(u,v){if(h(u)||h(v))return[];{let b=f(u),p=f(v);return Math.log(b)/Math.log(p)}},r.power=function(u,v){if(h(u)||h(v))return[];{let b=f(u),p=f(v);return b<0&&Math.floor(p)!=p?[]:Math.pow(b,p)}},r.round=function(u,v){if(h(u))return[];{let b=f(u);if(h(v))return Math.round(b);{let p=f(v),_=Math.pow(10,p);return Math.round(b*_)/_}}},r.sqrt=function(u){if(h(u))return[];{let v=f(u);return v<0?[]:Math.sqrt(v)}},r.truncate=function(u){if(h(u))return[];{let v=f(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 f=/^((\+|-)?\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=f.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 f=this.model;return r.reduce(function(h,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(f){let l=f.pathsDefinedElsewhere[_];l&&(_=l)}Array.isArray(p)?h.push.apply(h,p.map(l=>d(l,_))):h.push(d(p,_))}return h}return h},[])},descendants:function(r){for(var f=g.children.call(this,r),h=[];f.length>0;)h.push.apply(h,f),f=g.children.call(this,f);return h}};Ie.exports=g},4192:Ie=>{let B={};function a(g){const f=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +g);if(!f)return 0;const h=f[2];return Math.max(0,("0"===h?0:(h||"").length)-(f[3]||0))}function n(g,r){const f=Math.pow(10,r);return Math.round(g*f)/f}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 f=Math.min(a(g),a(r));return 0===f?Math.round(g)===Math.round(r):n(g,f)===n(r,f)},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((h,u)=>new c.dfa.DFA(h,u));class f extends c.Lexer{constructor(u){super(u),this._interp=new c.atn.LexerATNSimulator(this,g,r,new c.PredictionContextCache)}get atn(){return g}}n(f,"grammarFileName","FHIRPath.g4"),n(f,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),n(f,"modeNames",["DEFAULT_MODE"]),n(f,"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(f,"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(f,"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"]),f.EOF=c.Token.EOF,f.T__0=1,f.T__1=2,f.T__2=3,f.T__3=4,f.T__4=5,f.T__5=6,f.T__6=7,f.T__7=8,f.T__8=9,f.T__9=10,f.T__10=11,f.T__11=12,f.T__12=13,f.T__13=14,f.T__14=15,f.T__15=16,f.T__16=17,f.T__17=18,f.T__18=19,f.T__19=20,f.T__20=21,f.T__21=22,f.T__22=23,f.T__23=24,f.T__24=25,f.T__25=26,f.T__26=27,f.T__27=28,f.T__28=29,f.T__29=30,f.T__30=31,f.T__31=32,f.T__32=33,f.T__33=34,f.T__34=35,f.T__35=36,f.T__36=37,f.T__37=38,f.T__38=39,f.T__39=40,f.T__40=41,f.T__41=42,f.T__42=43,f.T__43=44,f.T__44=45,f.T__45=46,f.T__46=47,f.T__47=48,f.T__48=49,f.T__49=50,f.T__50=51,f.T__51=52,f.T__52=53,f.T__53=54,f.DATETIME=55,f.TIME=56,f.IDENTIFIER=57,f.DELIMITEDIDENTIFIER=58,f.STRING=59,f.NUMBER=60,f.WS=61,f.COMMENT=62,f.LINE_COMMENT=63,Ie.exports=f},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),f=r.decisionToState.map((at,N)=>new c.dfa.DFA(at,N)),h=new c.PredictionContextCache;class u extends c.Parser{constructor(N){super(N),this._interp=new c.atn.ParserATNSimulator(this,r,f,h),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),K=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,K=ne,this.state=34,this.term();break;case u.T__3:case u.T__4:ne=new _(this,ne),this._ctx=ne,K=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 et=this._interp.adaptivePredict(this._input,2,this._ctx);2!=et&&et!=c.atn.ATN.INVALID_ALT_NUMBER;){if(1===et)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),K=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(ve,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 Ce extends U{constructor(N,oe){super(N),super.copyFrom(oe)}externalConstant(){return this.getTypedRuleContext(ae,0)}enterRule(N){N instanceof d&&N.enterExternalConstantTerm(this)}exitRule(N){N instanceof d&&N.exitExternalConstantTerm(this)}}u.ExternalConstantTermContext=Ce;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 de extends U{constructor(N,oe){super(N),super.copyFrom(oe)}invocation(){return this.getTypedRuleContext(ve,0)}enterRule(N){N instanceof d&&N.enterInvocationTerm(this)}exitRule(N){N instanceof d&&N.exitInvocationTerm(this)}}u.InvocationTermContext=de;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(_t,0)}enterRule(N){N instanceof d&&N.enterQuantityLiteral(this)}exitRule(N){N instanceof d&&N.exitQuantityLiteral(this)}}u.QuantityLiteralContext=re;class ae 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 ve 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 ve{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 ve{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 ve{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 Ge extends ve{constructor(N,oe){super(N),super.copyFrom(oe)}functn(){return this.getTypedRuleContext(Ct,0)}enterRule(N){N instanceof d&&N.enterFunctionInvocation(this)}exitRule(N){N instanceof d&&N.exitFunctionInvocation(this)}}u.FunctionInvocationContext=Ge;class tt extends ve{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 Ct 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(Nt,0)}enterRule(N){N instanceof d&&N.enterFunctn(this)}exitRule(N){N instanceof d&&N.exitFunctn(this)}}class Nt 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 _t 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(Lt,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 Lt 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(lt,0)}enterRule(N){N instanceof d&&N.enterTypeSpecifier(this)}exitRule(N){N instanceof d&&N.exitTypeSpecifier(this)}}class lt 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=ae,u.InvocationContext=ve,u.FunctnContext=Ct,u.ParamListContext=Nt,u.QuantityContext=_t,u.UnitContext=Bt,u.DateTimePrecisionContext=Tt,u.PluralDateTimePrecisionContext=Lt,u.TypeSpecifierContext=Le,u.QualifiedIdentifierContext=lt,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(h){var u=new n.InputStream(h),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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.indexOf(u)},d.substring=function(h,u,v){const b=c.singleton(h,"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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.startsWith(u)},d.endsWith=function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.endsWith(u)},d.containsFn=function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.includes(u)},d.upper=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.toUpperCase()},d.lower=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.toLowerCase()},d.joinFn=function(h,u){return void 0===u&&(u=""),h.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(h,u){const v=c.singleton(h,"String");return n.isEmpty(v)?[]:v.split(u)},d.trimFn=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.trim()},d.encodeFn=function(h,u){const v=c.singleton(h,"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(h,u){const v=c.singleton(h,"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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(u,"s").test(v)}:function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(function r(h){return g[h]||(g[h]=h.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[h]}(u)).test(v)},d.replace=function(h,u,v){const b=c.singleton(h,"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(h,u,v){const b=c.singleton(h,"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(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.length},d.toChars=function(h){const u=c.singleton(h,"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 f="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",h=new RegExp("^T?"+f+"$"),u=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+f+")?)?)?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 Ce=p.toUcumQuantity(this.value,this.unit),Re=p.toUcumQuantity(A.value,A.unit),Ae=d.convertUnitTo(Re.unit,Re.value,Ce.unit);return"succeeded"===Ae.status&&g.isEqual(Ce.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),Ce=p.getEquivalentUcumUnitCode(A.unit),Re=d.convertUnitTo(Ce,A.value,U);return"succeeded"===Re.status&&g.isEquivalent(this.value,Re.toVal)}_compareYearsAndMonths(A){const U=p._yearMonthConversionFactor[this.unit],Ce=p._yearMonthConversionFactor[A.unit];return U&&Ce?{isEqual:g.isEqual(this.value*U,A.value*Ce)}: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 Ce=p._yearMonthConversionFactor[ie],Re=p._yearMonthConversionFactor[U];if(Ce&&Re)return new p(Ce*A/Re,U);const Ae=p._calendarDuration2Seconds[ie],de=p._calendarDuration2Seconds[U];if(de){if(Ae)return new p(Ae*A/de,U);{const H=d.convertUnitTo(ie.replace(/^'|'$/g,""),A,"s");if("succeeded"===H.status)return new p(H.toVal/de,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 Ce=p.arithmeticDurationUnits[A.unit];if(!Ce)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[Ce];if(void 0===Ae)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(Re._timeUnitToDatePrecision).join(", ")+".");let de=A.value;const H=Re===x;if((H?Ae<2:Ae<5)&&(de=Math.trunc(de)),this._getPrecision()2?new y(de)._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(),Ce=A._getPrecision(),Re=U<=Ce?this._getDateObj().getTime():this._dateAtPrecision(Ce).getTime(),Ae=Ce<=U?A._getDateObj().getTime():A._dateAtPrecision(U).getTime();return U!==Ce&&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 Ce=U;Ce>=0&&void 0===this.precision;--Ce)this.timeMatchData[Ce]&&(this.precision=Ce);return this.timeMatchData}_getTimeParts(A){var U=[];U=[A[0]];var Ce=A[4];if(Ce){let H=U[0];U[0]=H.slice(0,H.length-Ce.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 de=A[3];de&&(U[2]=Ae.slice(0,Ae.length-de.length),U[3]=de)}}return U}_getDateObj(){if(!this.dateObj){var A=this._getPrecision();this.dateObj=this._dateAtPrecision(A)}return this.dateObj}_createDate(A,U,Ce,Re,Ae,de,H,W){var pe=new Date(A,U,Ce,Re,Ae,de,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 Ce=this._getMatchData(),Re=Ce[0];this.timeParts=[Re];var U=Ce[1];if(U){this.timeParts[0]=Re.slice(0,Re.length-U.length),this.timeParts[1]=U;let Ae=Ce[2];if(Ae){this.timeParts[1]=U.slice(0,U.length-Ae.length),this.timeParts[2]=Ae;let de=Ce[3];de&&(this.timeParts[2]=Ae.slice(0,Ae.length-de.length),"T"===de[0]&&(Ce[3]=de.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(Ce.slice(3))))}}}return this.timeParts}_dateAtPrecision(U){var Ce=this._getTimeParts(),Re=this._getMatchData()[7],Ae=this._getPrecision(),de=parseInt(Ce[0]),H=Ae>0?parseInt(Ce[1].slice(1))-1:0,W=Ae>1?parseInt(Ce[2].slice(1)):1,pe=Ae>2?parseInt(Ce[3]):0,we=Ae>3?parseInt(Ce[4].slice(1)):0,Ee=Ae>4?parseInt(Ce[5].slice(1)):0,Be=Ce.length>6?parseInt(Ce[6].slice(1)):0,G=this._createDate(de,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(de,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 Ce=this._getTimeParts(),Re=this._getMatchData()[4],Ae=this._getPrecision(),pe=parseInt(Ce[0]),we=Ae>0?parseInt(Ce[1].slice(1)):0,Ee=Ae>1?parseInt(Ce[2].slice(1)):0,Be=Ce.length>3?parseInt(Ce[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(h,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 Ce=ie.getTimezoneOffset(),Re=Ce<0?"+":"-",Ae=(Ce=Math.abs(Ce))%60;U+=Re+D((Ce-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,Ce,Re){U?.resourceType&&(Ce=U.resourceType),this.path=Ce,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,Ce){return A instanceof ie?A:new ie(A,U,Ce)},ie})(),I=(()=>{class ie{constructor({name:U,namespace:Ce}){this.name=U,this.namespace=Ce}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 Ce=typeof U;return Number.isInteger(U)?Ce="integer":"number"===Ce?Ce="decimal":U instanceof S?Ce="date":U instanceof y?Ce="dateTime":U instanceof x?Ce="time":U instanceof p&&(Ce="Quantity"),A===ie.System&&(Ce=Ce.replace(/^\w/,Re=>Re.toUpperCase())),new ie({namespace:A,name:Ce})},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:h,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,f){let h=this.valData(g);if(r.indexOf(typeof h)<0){let u=r.length>1?"one of "+r.join(", "):r[0];n.raiseError("Found type '"+typeof g+"' but was expecting "+u,f)}return h},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,f){return Array.isArray(f)?r=r.concat(f):r.push(f),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(f,h){return g[0]===h?"[Circular ~]":"[Circular ~."+r.slice(0,g.indexOf(h)).join(".")+"]"}),function(f,h){if(g.length>0){var u=g.indexOf(this);~u?g.splice(u+1):g.push(this),~u?r.splice(u,1/0,f):r.push(f),~g.indexOf(h)&&(h=d.call(this,f,h))}else g.push(h);return null==c?h:c.call(this,f,h)}}(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 h(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 f(u){return h(u,c,"day")||h(u,n,"hour")||h(u,a,"minute")||h(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),f=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(Ce=>p(Ce,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 h(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,[f]:!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[f]?b(E.fragmentIdentifier,I):E.fragmentIdentifier}`),`${X}${A}${U}`},B.pick=(E,I,X)=>{X=Object.assign({parseFragmentIdentifier:!0,[f]:!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:f}=this;if(g)throw r;return this._throwIfClosed(),f}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),f=a(4674),h=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,f.m)(_.next)&&(0,f.m)(_.error)&&(0,f.m)(_.complete)}(_)&&(0,c.Nn)(_)}(y)?y:new n.Hp(y,x,D);return(0,h.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,f=1/0,h=c.l){super(),this._bufferSize=r,this._windowTime=f,this._timestampProvider=h,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=f===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,f)}next(r){const{isStopped:f,_buffer:h,_infiniteTimeWindow:u,_timestampProvider:v,_windowTime:b}=this;f||(h.push(r),!u&&h.push(v.now()+b)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const f=this._innerSubscribe(r),{_infiniteTimeWindow:h,_buffer:u}=this,v=u.slice();for(let b=0;b{"use strict";a.d(B,{x:()=>h});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),f=a(1441);let h=(()=>{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,f.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const _ of this.currentObservers)_.next(p)}})}error(p){(0,f.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:_}=this;for(;_.length;)_.shift().error(p)}})}complete(){(0,f.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 h{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 f=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 h($){return v("E",void 0,$)}(ee),this):(this.isStopped=!0,this._error(ee))}complete(){this.isStopped?I(f,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 Ce;this&&d.config.useDeprecatedNextContext?(Ce=Object.create(ee),Ce.unsubscribe=()=>this.unsubscribe(),U={next:ee.next&&y(ee.next,Ce),error:ee.error&&y(ee.error,Ce),complete:ee.complete&&y(ee.complete,Ce)}):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:()=>f,w0:()=>r,Nn:()=>h});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 f=r.EMPTY;function h(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:()=>f});var n=a(5592),c=a(7394),d=a(6196),g=a(8251),r=a(9360);class f 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),f=a(9940),h=a(2714),u=a(8251),v=a(7103);function b(...l){const y=(0,f.yG)(l),x=(0,f.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,h.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),f=a(7400),h=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,h.n)(_,D):D),y.complete())}))}});return b?l.pipe((0,f.Z)(b)):l}},2459:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>ee});var n=a(4829),c=a(3093),d=a(5137),f=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 f.y(U=>{(0,b.f)(U,A,()=>{const Ce=ie[Symbol.asyncIterator]();(0,b.f)(U,A,()=>{Ce.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 h(ie,A){return new f.y(U=>{let Ce=0;return A.schedule(function(){Ce===ie.length?U.complete():(U.next(ie[Ce++]),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 f.y(U=>{let Ce;return(0,b.f)(U,A,()=>{Ce=ie[u.h](),(0,b.f)(U,A,()=>{let Re,Ae;try{({value:Re,done:Ae}=Ce.next())}catch(de){return void U.error(de)}Ae?U.complete():U.next(Re)},0,!0)}),()=>(0,v.m)(Ce?.return)&&Ce.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),f=a(7400);const h=["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,f.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)?h.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),f=a(5726),h=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,f.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,h.z)($)}function E($){return new g.y(ee=>{(function X($,ee){var ie,A,U,Ce;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&&(Ce=ie.return)&&(yield Ce.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:()=>f});var n=a(7537),c=a(4829),d=a(6232),g=a(9940),r=a(2459);function f(...h){const u=(0,g.yG)(h),v=(0,g._6)(h,1/0),b=h;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:()=>f,S:()=>r});var n=a(5592),c=a(4829),d=a(7728),g=a(8251);function r(...h){return 1===(h=(0,d.k)(h)).length?(0,c.Xf)(h[0]):new n.y(f(h))}function f(h){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 f=(0,c.m)(g)?g:()=>g,h=u=>u.error(f());return new n.y(r?u=>r.schedule(h,0,u):h)}},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(f=0,h,u=c.P){let v=-1;return null!=h&&((0,d.K)(h)?u=h:v=h),new n.y(b=>{let p=(0,g.q)(f)?+f-u.now():f;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,{$:()=>h});var n=a(5592),c=a(4829),d=a(7728),g=a(6232),r=a(8251),f=a(9940);function h(...u){const v=(0,f.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,f,h,u){return new d(g,r,f,h,u)}class d extends n.Lv{constructor(r,f,h,u,v,b){super(r),this.onFinalize=v,this.shouldUnsubscribe=b,this._next=f?function(p){try{f(p)}catch(_){r.error(_)}}:super._next,this._error=u?function(p){try{u(p)}catch(_){r.error(_)}finally{this.unsubscribe()}}:super._error,this._complete=h?function(){try{h()}catch(p){r.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:f}=this;super.unsubscribe(),!f&&(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)((f,h)=>{let u=!1,v=null,b=null,p=!1;const _=()=>{if(b?.unsubscribe(),b=null,u){u=!1;const y=v;v=null,h.next(y)}p&&h.complete()},l=()=>{b=null,p&&h.complete()};f.subscribe((0,d.x)(h,y=>{u=!0,v=y,b||(0,c.Xf)(r(y)).subscribe(b=(0,d.x)(h,_,l))},()=>{p=!0,(!u||!b||b.closed)&&h.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,f=n.z){return(0,c.U)(()=>(0,d.H)(r,f))}},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)((f,h)=>{let b,u=null,v=!1;u=f.subscribe((0,c.x)(h,void 0,void 0,p=>{b=(0,n.Xf)(r(p,g(r)(f))),u?(u.unsubscribe(),u=null,b.subscribe(h)):v=!0})),v&&(u.unsubscribe(),u=null,b.subscribe(h))})}},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,f=n.z){return(0,c.e)((h,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=f.now();if(x{b=y,p=f.now(),v||(v=f.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,f)=>{let h=!1;r.subscribe((0,c.x)(f,u=>{h=!0,f.next(u)},()=>{h||f.next(g),f.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,f=n.z){const h=(0,d.H)(r,f);return(0,c.j)(()=>h)}},4610:(Ie,B,a)=>{"use strict";a.d(B,{j:()=>h});var n=a(34),c=a(8180),d=a(7538),g=a(975),r=a(9769),f=a(4829);function h(u,v){return v?b=>(0,n.z)(v.pipe((0,c.q)(1),(0,d.l)()),b.pipe(h(u))):(0,r.z)((b,p)=>(0,f.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(f,h=n.y){return f=f??r,(0,c.e)((u,v)=>{let b,p=!0;u.subscribe((0,d.x)(v,_=>{const l=h(_);(p||!f(b,l))&&(p=!1,b=l,v.next(_))}))})}function r(f,h){return f===h}},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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>g.call(r,v,u++)&&h.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:()=>h});var n=a(6973),c=a(2181),d=a(8180),g=a(3572),r=a(3026),f=a(2737);function h(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):f.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,f)=>{r.subscribe((0,c.x)(f,d.Z))})}},2032:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>h});var n=a(6973),c=a(2181),d=a(4418),g=a(3026),r=a(3572),f=a(2737);function h(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):f.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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>{h.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,f,h,u,v,b,p,_){const l=[];let y=0,x=0,D=!1;const S=()=>{D&&!l.length&&!y&&f.complete()},E=X=>y{b&&f.next(X),y++;let $=!1;(0,n.Xf)(h(X,x++)).subscribe((0,d.x)(f,ee=>{v?.(ee),b?E(ee):f.next(ee)},()=>{$=!0},void 0,()=>{if($)try{for(y--;l.length&&yI(ee)):I(ee)}S()}catch(ee){f.error(ee)}}))};return r.subscribe((0,d.x)(f,E,()=>{D=!0,S()})),()=>{_?.()}}},9769:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>f});var n=a(7398),c=a(4829),d=a(9360),g=a(564),r=a(4674);function f(h,u,v=1/0){return(0,r.m)(u)?f((b,p)=>(0,n.U)((_,l)=>u(b,_,p,l))((0,c.Xf)(h(b,p))),v):("number"==typeof u&&(v=u),(0,d.e)((b,p)=>(0,g.p)(b,p,h,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,f=0){return(0,c.e)((h,u)=>{h.subscribe((0,d.x)(u,v=>(0,n.f)(u,r,()=>u.next(v),f),()=>(0,n.f)(u,r,()=>u.complete(),f),v=>(0,n.f)(u,r,()=>u.error(v),f)))})}},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 f=null;g._refCount++;const h=(0,c.x)(r,void 0,void 0,void 0,()=>{if(!g||g._refCount<=0||0<--g._refCount)return void(f=null);const u=g._connection,v=f;f=null,u&&(!v||u===v)&&u.unsubscribe(),r.unsubscribe()});g.subscribe(h),h.closed||(f=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,f,h){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),f&&v.next(p)},h&&(()=>{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(h={}){const{connector:u=(()=>new c.x),resetOnError:v=!0,resetOnComplete:b=!0,resetOnRefCountZero:p=!0}=h;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=f($,p))}),A.subscribe(ie),!l&&D>0&&(l=new d.Hp({next:U=>A.next(U),error:U=>{E=!0,I(),y=f(X,v,U),A.error(U)},complete:()=>{S=!0,I(),y=f(X,b),A.complete()}}),(0,n.Xf)(ee).subscribe(l))})(_)}}function f(h,u,...v){if(!0===u)return void h();if(!1===u)return;const b=new d.Hp({next:()=>{b.unsubscribe(),h()}});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,f){let h,u=!1;return g&&"object"==typeof g?({bufferSize:h=1/0,windowTime:r=1/0,refCount:u=!1,scheduler:f}=g):h=g??1/0,(0,c.B)({connector:()=>new n.t(h,r,f),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 f=(0,c.yG)(r);return(0,d.e)((h,u)=>{(f?(0,n.z)(r,h,f):(0,n.z)(r,h)).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,f)=>{f.add(d.schedule(()=>r.subscribe(f),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,f){return(0,c.e)((h,u)=>{let v=null,b=0,p=!1;const _=()=>p&&!v&&u.complete();h.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(f?f(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)((f,h)=>{let u=0;f.subscribe((0,d.x)(h,v=>{++u<=r&&(h.next(v),r<=u&&h.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)((f,h)=>{let u=[];f.subscribe((0,d.x)(h,v=>{u.push(v),r{for(const v of u)h.next(v);h.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(f){return(0,n.e)((h,u)=>{(0,d.Xf)(f).subscribe((0,c.x)(u,()=>u.complete(),g.Z)),!u.closed&&h.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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>{const b=g(v,u++);(b||r)&&h.next(v),!b&&h.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(f,h,u){const v=(0,n.m)(f)||h||u?{next:f,error:h,complete:u}:f;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(f=r){return(0,c.e)((h,u)=>{let v=!1;h.subscribe((0,d.x)(u,b=>{v=!0,u.next(b)},()=>v?u.complete():u.error(f())))})}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),f=a(8251),h=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,h.f)(I,D,()=>{try{X.unsubscribe(),(0,g.Xf)(x({meta:S,lastValue:ee,seen:ie})).subscribe(I)}catch(Ce){I.error(Ce)}},U)};X=E.subscribe((0,f.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(h,u){super()}schedule(h,u=0){return this}}const d={setInterval(f,h,...u){const{delegate:v}=d;return v?.setInterval?v.setInterval(f,h,...u):setInterval(f,h,...u)},clearInterval(f){const{delegate:h}=d;return(h?.clearInterval||clearInterval)(f)},delegate:void 0};var g=a(9039);class r extends c{constructor(h,u){super(h,u),this.scheduler=h,this.work=u,this.pending=!1}schedule(h,u=0){var v;if(this.closed)return this;this.state=h;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(h,u,v=0){return d.setInterval(h.flush.bind(h,this),v)}recycleAsyncId(h,u,v=0){if(null!=v&&this.delay===v&&!1===this.pending)return u;null!=u&&d.clearInterval(u)}execute(h,u){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const v=this._execute(h,u);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(h,u){let b,v=!1;try{this.work(h)}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:h,scheduler:u}=this,{actions:v}=u;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.P)(v,this),null!=h&&(this.id=this.recycleAsyncId(u,h,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,f=c.now){this.schedulerActionCtor=r,this.now=f}schedule(r,f=0,h){return new this.schedulerActionCtor(this,r).schedule(h,f)}}c.now=n.l.now;class d extends c{constructor(r,f=c.now){super(r,f),this.actions=[],this._active=!1}flush(r){const{actions:f}=this;if(this._active)return void f.push(r);let h;this._active=!0;do{if(h=r.execute(r.state,r.delay))break}while(r=f.shift());if(this._active=!1,h){for(;r=f.shift();)r.unsubscribe();throw h}}}},927:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>h});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 h=new class f 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 f={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}=f,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:()=>f,jO:()=>g,yG:()=>r});var n=a(4674),c=a(671);function d(h){return h[h.length-1]}function g(h){return(0,n.m)(d(h))?h.pop():void 0}function r(h){return(0,c.K)(d(h))?h.pop():void 0}function f(h,u){return"number"==typeof d(h)?h.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(h){if(1===h.length){const u=h[0];if(n(u))return{args:u,keys:null};if(function f(h){return h&&"object"==typeof h&&c(h)===d}(u)){const v=g(u);return{args:v.map(b=>u[b]),keys:v}}}return{args:h,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,f)=>(g[r]=d[f],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 f=!c;if(f&&(c={errorThrown:!1,error:null}),r(),f){const{errorThrown:h,error:u}=c;if(c=null,h)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,f=!1){const h=d.schedule(function(){g(),f?c.add(this.schedule(null,r)):this.unsubscribe()},r);if(c.add(h),!f)return h}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 h=r.getReader();try{for(;;){const{value:u,done:v}=yield(0,n.__await)(h.read());if(v)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(u)}}finally{h.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(f){try{return g(f,this)}catch(h){this.error(h)}});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)(f=>function d(r,f){return c(f)?r(...f):r(f)}(r,f))}},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(f){return g.reduce((h,u)=>u(h),f)}}},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:()=>h,bufferCount:()=>v,bufferTime:()=>y,bufferToggle:()=>x,bufferWhen:()=>D,catchError:()=>S.K,combineAll:()=>de,combineLatest:()=>W,combineLatestAll:()=>Ae,combineLatestWith:()=>pe,concat:()=>Be,concatAll:()=>we.u,concatMap:()=>G.b,concatMapTo:()=>ae,concatWith:()=>ve,connect:()=>tt,count:()=>Ct,debounce:()=>Nt,debounceTime:()=>_t.b,defaultIfEmpty:()=>Bt.d,delay:()=>Tt.g,delayWhen:()=>Lt.j,dematerialize:()=>Y,distinct:()=>ne,distinctUntilChanged:()=>K.x,distinctUntilKeyChanged:()=>ce,elementAt:()=>Pe,endWith:()=>Pt,every:()=>Ft,exhaust:()=>he,exhaustAll:()=>Ke,exhaustMap:()=>Oe,expand:()=>ct,filter:()=>Dt.h,finalize:()=>Me.x,find:()=>Ye,findIndex:()=>F,first:()=>V.P,flatMap:()=>on,groupBy:()=>Q,ignoreElements:()=>be.l,isEmpty:()=>dt,last:()=>Rt.Z,map:()=>Gt.U,mapTo:()=>qe.h,materialize:()=>nt,max:()=>Ve,merge:()=>At,mergeAll:()=>yt.J,mergeMap:()=>ee.z,mergeMapTo:()=>xn,mergeScan:()=>Sn,mergeWith:()=>_n,min:()=>Mn,multicast:()=>fi,observeOn:()=>Vi.Q,onErrorResumeNext:()=>bt,pairwise:()=>pt,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:()=>Mt,scan:()=>jt.R,sequenceEqual:()=>ke,share:()=>me.B,shareReplay:()=>se.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:()=>ut.q,takeLast:()=>Cn.h,takeUntil:()=>tn.R,takeWhile:()=>En.o,tap:()=>ei.b,throttle:()=>Ei,throttleTime:()=>tr,throwIfEmpty:()=>_e.T,timeInterval:()=>Ai,timeout:()=>yi.V,timeoutWith:()=>Ot,timestamp:()=>te,toArray:()=>Ce,window:()=>Ne,windowCount:()=>ot,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),f=a(4829);function h(wt){return(0,d.e)((vt,gt)=>{let St=[];return vt.subscribe((0,r.x)(gt,Ht=>St.push(Ht),()=>{gt.next(St),gt.complete()})),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{const Ht=St;St=[],gt.next(Ht)},g.Z)),()=>{St=null}})}var u=a(9039);function v(wt,vt=null){return vt=vt??wt,(0,d.e)((gt,St)=>{let Ht=[],Yt=0;gt.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 gt,St;const Ht=null!==(gt=(0,_.yG)(vt))&&void 0!==gt?gt: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)((gt,St)=>{const Ht=[];(0,f.Xf)(wt).subscribe((0,r.x)(St,Yt=>{const Jt=[];Ht.push(Jt);const yn=new b.w0;yn.add((0,f.Xf)(vt(Yt)).subscribe((0,r.x)(St,()=>{(0,u.P)(Ht,Jt),St.next(Jt),yn.unsubscribe()},g.Z)))},g.Z)),gt.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,gt)=>{let St=null,Ht=null;const Yt=()=>{Ht?.unsubscribe();const Jt=St;St=[],Jt&>.next(Jt),(0,f.Xf)(wt()).subscribe(Ht=(0,r.x)(gt,Yt,g.Z))};Yt(),vt.subscribe((0,r.x)(gt,Jt=>St?.push(Jt),()=>{St&>.next(St),gt.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 Ce(){return(0,d.e)((wt,vt)=>{A(U,[])(wt).subscribe(vt)})}function Re(wt,vt){return(0,$.z)(Ce(),(0,ee.z)(gt=>wt(gt)),vt?(0,X.Z)(vt):I.y)}function Ae(wt){return Re(E.a,wt)}const de=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)((gt,St)=>{(0,E.l)([gt,...(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)((gt,St)=>{(0,we.u)()((0,Ee.D)([gt,...wt],vt)).subscribe(St)})}var G=a(6328),re=a(4674);function ae(wt,vt){return(0,re.m)(vt)?(0,G.b)(()=>wt,vt):(0,G.b)(()=>wt)}function ve(...wt){return Be(...wt)}var He=a(8645),Ze=a(5592);const Ge={connector:()=>new He.x};function tt(wt,vt=Ge){const{connector:gt}=vt;return(0,d.e)((St,Ht)=>{const Yt=gt();(0,f.Xf)(wt(function Qe(wt){return new Ze.y(vt=>wt.subscribe(vt))}(Yt))).subscribe(Ht),Ht.add(St.subscribe(Yt))})}function Ct(wt){return A((vt,gt,St)=>!wt||wt(gt,St)?vt+1:vt,0)}function Nt(wt){return(0,d.e)((vt,gt)=>{let St=!1,Ht=null,Yt=null;const Jt=()=>{if(Yt?.unsubscribe(),Yt=null,St){St=!1;const yn=Ht;Ht=null,gt.next(yn)}};vt.subscribe((0,r.x)(gt,yn=>{Yt?.unsubscribe(),St=!0,Ht=yn,Yt=(0,r.x)(gt,Jt,g.Z),(0,f.Xf)(wt(yn)).subscribe(Yt)},()=>{Jt(),gt.complete()},void 0,()=>{Ht=Yt=null}))})}var _t=a(3620),Bt=a(3572),Tt=a(7547),Lt=a(4610),Le=a(6232),lt=a(2096),ze=a(8504);class N{constructor(vt,gt,St){this.kind=vt,this.value=gt,this.error=St,this.hasValue="N"===vt}observe(vt){return oe(this,vt)}do(vt,gt,St){const{kind:Ht,value:Yt,error:Jt}=this;return"N"===Ht?vt?.(Yt):"E"===Ht?gt?.(Jt):St?.()}accept(vt,gt,St){var Ht;return(0,re.m)(null===(Ht=vt)||void 0===Ht?void 0:Ht.next)?this.observe(vt):this.do(vt,gt,St)}toObservable(){const{kind:vt,value:gt,error:St}=this,Ht="N"===vt?(0,lt.of)(gt):"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 gt,St,Ht;const{kind:Yt,value:Jt,error:yn}=wt;if("string"!=typeof Yt)throw new TypeError('Invalid notification, missing "kind"');"N"===Yt?null===(gt=vt.next)||void 0===gt||gt.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,gt=>oe(gt,vt)))})}function ne(wt,vt){return(0,d.e)((gt,St)=>{const Ht=new Set;gt.subscribe((0,r.x)(St,Yt=>{const Jt=wt?wt(Yt):Yt;Ht.has(Jt)||(Ht.add(Jt),St.next(Yt))})),vt&&(0,f.Xf)(vt).subscribe((0,r.x)(St,()=>Ht.clear(),g.Z))})}N.completeNotification=new N("C");var K=a(3997);function ce(wt,vt){return(0,K.x)((gt,St)=>vt?vt(gt[wt],St[wt]):gt[wt]===St[wt])}var Te=a(2306);const et=(0,Te.d)(wt=>function(){wt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Dt=a(2181),_e=a(3026),ut=a(8180);function Pe(wt,vt){if(wt<0)throw new et;const gt=arguments.length>=2;return St=>St.pipe((0,Dt.h)((Ht,Yt)=>Yt===wt),(0,ut.q)(1),gt?(0,Bt.d)(vt):(0,_e.T)(()=>new et))}var mt=a(34);function Pt(...wt){return vt=>(0,mt.z)(vt,(0,lt.of)(...wt))}function Ft(wt,vt){return(0,d.e)((gt,St)=>{let Ht=0;gt.subscribe((0,r.x)(St,Yt=>{wt.call(vt,Yt,Ht++,gt)||(St.next(!1),St.complete())},()=>{St.next(!0),St.complete()}))})}var Gt=a(7398);function Oe(wt,vt){return vt?gt=>gt.pipe(Oe((St,Ht)=>(0,f.Xf)(wt(St,Ht)).pipe((0,Gt.U)((Yt,Jt)=>vt(St,Yt,Ht,Jt))))):(0,d.e)((gt,St)=>{let Ht=0,Yt=null,Jt=!1;gt.subscribe((0,r.x)(St,yn=>{Yt||(Yt=(0,r.x)(St,void 0,()=>{Yt=null,Jt&&St.complete()}),(0,f.Xf)(wt(yn,Ht++)).subscribe(Yt))},()=>{Jt=!0,!Yt&&St.complete()}))})}function Ke(){return Oe(I.y)}const he=Ke;var ge=a(564);function ct(wt,vt=1/0,gt){return vt=(vt||0)<1?1/0:vt,(0,d.e)((St,Ht)=>(0,ge.p)(St,Ht,wt,vt,void 0,!0,gt))}var Me=a(4716);function Ye(wt,vt){return(0,d.e)(De(wt,vt,"value"))}function De(wt,vt,gt){const St="index"===gt;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 Q(wt,vt,gt,St){return(0,d.e)((Ht,Yt)=>{let Jt;vt&&"function"!=typeof vt?({duration:gt,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),gt){const Zi=(0,r.x)(oi,()=>{oi.complete(),Zi?.unsubscribe()},void 0,void 0,()=>yn.delete(ni));ui.add((0,f.Xf)(gt(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 be=a(7538);function dt(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,()=>{vt.next(!1),vt.complete()},()=>{vt.next(!0),vt.complete()}))})}var Rt=a(2032),qe=a(975);function nt(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,gt=>{vt.next(N.createNext(gt))},()=>{vt.next(N.createComplete()),vt.complete()},gt=>{vt.next(N.createError(gt)),vt.complete()}))})}function Ve(wt){return A((0,re.m)(wt)?(vt,gt)=>wt(vt,gt)>0?vt:gt:(vt,gt)=>vt>gt?vt:gt)}var yt=a(7537);function At(...wt){const vt=(0,_.yG)(wt),gt=(0,_._6)(wt,1/0);return wt=(0,H.k)(wt),(0,d.e)((St,Ht)=>{(0,yt.J)(gt)((0,Ee.D)([St,...wt],vt)).subscribe(Ht)})}const on=ee.z;function xn(wt,vt,gt=1/0){return(0,re.m)(vt)?(0,ee.z)(()=>wt,vt,gt):("number"==typeof vt&&(gt=vt),(0,ee.z)(()=>wt,gt))}function Sn(wt,vt,gt=1/0){return(0,d.e)((St,Ht)=>{let Yt=vt;return(0,ge.p)(St,Ht,(Jt,yn)=>wt(Yt,Jt,yn),gt,Jt=>{Yt=Jt},!1,void 0,()=>Yt=null)})}function _n(...wt){return At(...wt)}function Mn(wt){return A((0,re.m)(wt)?(vt,gt)=>wt(vt,gt)<0?vt:gt:(vt,gt)=>vtwt;return(0,re.m)(vt)?tt(vt,{connector:gt}):St=>new xi.c(St,gt)}var Vi=a(3093);const bt=function xt(...wt){const vt=(0,H.k)(wt);return gt=>function Yi(...wt){const vt=(0,H.k)(wt);return new Ze.y(gt=>{let St=0;const Ht=()=>{if(St{let gt,St=!1;wt.subscribe((0,r.x)(vt,Ht=>{const Yt=gt;gt=Ht,St&&vt.next([Yt,Ht]),St=!0}))})}function qt(wt,vt){return(gt,St)=>!wt.call(vt,gt,St)}function nn(wt,vt){return gt=>[(0,Dt.h)(wt,vt)(gt),(0,Dt.h)(qt(wt,vt))(gt)]}function cn(...wt){const vt=wt.length;if(0===vt)throw new Error("list of properties cannot be empty.");return(0,Gt.U)(gt=>{let St=gt;for(let Ht=0;Httt(wt)(vt):vt=>fi(new He.x)(vt)}var Nn=a(5619);function wn(wt){return vt=>{const gt=new Nn.X(wt);return new xi.c(vt,()=>gt)}}class Xn extends He.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(vt){const{hasError:gt,_hasValue:St,_value:Ht,thrownError:Yt,isStopped:Jt,_isComplete:yn}=this;gt?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:gt,_isComplete:St}=this;St||(this._isComplete=!0,vt&&super.next(gt),super.complete())}}function _i(){return wt=>{const vt=new Xn;return new xi.c(wt,()=>vt)}}var $n=a(7328);function ti(wt,vt,gt,St){gt&&!(0,re.m)(gt)&&(St=gt);const Ht=(0,re.m)(gt)?gt: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,gt)=>{(0,an.R)([vt,...wt])(gt)}):I.y}function Tn(...wt){return mn(...(0,H.k)(wt))}var Rn=a(9080);function Wn(wt){let gt,vt=1/0;return null!=wt&&("object"==typeof wt?({count:vt=1/0,delay:gt}=wt):vt=wt),vt<=0?()=>Le.E:(0,d.e)((St,Ht)=>{let Jt,Yt=0;const yn=()=>{if(Jt?.unsubscribe(),Jt=null,null!=gt){const Vn="number"==typeof gt?(0,Rn.H)(gt):(0,f.Xf)(gt(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&&(gt.complete(),!0),On=()=>{yn=!1,St=vt.subscribe((0,r.x)(gt,void 0,()=>{yn=!0,!vn()&&(Yt||(Yt=new He.x,(0,f.Xf)(wt(Yt)).subscribe((0,r.x)(gt,()=>{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:gt=1/0,delay:St,resetOnSuccess:Ht=!1}=vt;return gt<=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,f.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,gt)=>{let St,Yt,Ht=!1;const Jt=()=>{St=vt.subscribe((0,r.x)(gt,void 0,void 0,yn=>{Yt||(Yt=new He.x,(0,f.Xf)(wt(Yt)).subscribe((0,r.x)(gt,()=>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,gt)=>{let St=!1,Ht=null;vt.subscribe((0,r.x)(gt,Yt=>{St=!0,Ht=Yt})),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{if(St){St=!1;const Yt=Ht;Ht=null,gt.next(Yt)}},g.Z))})}function Mt(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=((gt,St)=>gt===St)){return(0,d.e)((gt,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};gt.subscribe(yn(Ht,Yt)),(0,f.Xf)(wt).subscribe(yn(Yt,Ht))})}var me=a(3020),se=a(7081),Xe=a(6973);const kt=(0,Te.d)(wt=>function(gt){wt(this),this.name="SequenceError",this.message=gt}),Wt=(0,Te.d)(wt=>function(gt){wt(this),this.name="NotFoundError",this.message=gt});function un(wt){return(0,d.e)((vt,gt)=>{let Ht,St=!1,Yt=!1,Jt=0;vt.subscribe((0,r.x)(gt,yn=>{Yt=!0,(!wt||wt(yn,Jt++,vt))&&(St&>.error(new kt("Too many matching values")),St=!0,Ht=yn)},()=>{St?(gt.next(Ht),gt.complete()):gt.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,gt)=>{let St=new Array(wt),Ht=0;return vt.subscribe((0,r.x)(gt,Yt=>{const Jt=Ht++;if(Jt{St=null}})}function si(wt){return(0,d.e)((vt,gt)=>{let St=!1;const Ht=(0,r.x)(gt,()=>{Ht?.unsubscribe(),St=!0},g.Z);(0,f.Xf)(wt).subscribe(Ht),vt.subscribe((0,r.x)(gt,Yt=>St&>.next(Yt)))})}function jn(wt){return(0,d.e)((vt,gt)=>{let St=!1,Ht=0;vt.subscribe((0,r.x)(gt,Yt=>(St||(St=!wt(Yt,Ht++)))&>.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)((gt,St)=>{let Ht=vt;return(0,Ti.w)((Yt,Jt)=>wt(Ht,Yt,Jt),(Yt,Jt)=>(Ht=Jt,Jt))(gt).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)((gt,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,f.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)}};gt.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,gt){const St=(0,Rn.H)(wt,vt);return Ei(()=>St,gt)}function Ai(wt=p.z){return(0,d.e)((vt,gt)=>{let St=wt.now();vt.subscribe((0,r.x)(gt,Ht=>{const Yt=wt.now(),Jt=Yt-St;St=Yt,gt.next(new ar(Ht,Jt))}))})}class ar{constructor(vt,gt){this.value=vt,this.interval=gt}}var yi=a(5178),Je=a(93);function Ot(wt,vt,gt){let St,Ht,Yt;if(gt=gt??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:gt,with:Yt})}var C=a(4552);function te(wt=C.l){return(0,Gt.U)(vt=>({value:vt,timestamp:wt.now()}))}function Ne(wt){return(0,d.e)((vt,gt)=>{let St=new He.x;gt.next(St.asObservable());const Ht=Yt=>{St.error(Yt),gt.error(Yt)};return vt.subscribe((0,r.x)(gt,Yt=>St?.next(Yt),()=>{St.complete(),gt.complete()},Ht)),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{St.complete(),gt.next(St=new He.x)},g.Z,Ht)),()=>{St?.unsubscribe(),St=null}})}function ot(wt,vt=0){const gt=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%gt==0&&Yt.shift().complete(),++yn%gt==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 gt,St;const Ht=null!==(gt=(0,_.yG)(vt))&&void 0!==gt?gt: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)((gt,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,f.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)),gt.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),gt.error(yn)},Jt=()=>{let yn;Ht?.unsubscribe(),St?.complete(),St=new He.x,gt.next(St.asObservable());try{yn=(0,f.Xf)(wt())}catch(vn){return void Yt(vn)}yn.subscribe(Ht=(0,r.x)(gt,Jt,Jt,Yt))};Jt(),vt.subscribe((0,r.x)(gt,yn=>St.next(yn),()=>{St.complete(),gt.complete()},Yt,()=>{Ht?.unsubscribe(),St=null}))})}function Pi(...wt){const vt=(0,_.jO)(wt);return(0,d.e)((gt,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));gt.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,gt)=>{(0,Li.$)(vt,...wt).subscribe(gt)})}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:()=>_t,validate:()=>f,version:()=>Lt});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,f=function r(Le){return"string"==typeof Le&&g.test(Le)},h=[];for(let Le=0;Le<256;++Le)h.push((Le+256).toString(16).slice(1));function u(Le,lt=0){return(h[Le[lt+0]]+h[Le[lt+1]]+h[Le[lt+2]]+h[Le[lt+3]]+"-"+h[Le[lt+4]]+h[Le[lt+5]]+"-"+h[Le[lt+6]]+h[Le[lt+7]]+"-"+h[Le[lt+8]]+h[Le[lt+9]]+"-"+h[Le[lt+10]]+h[Le[lt+11]]+h[Le[lt+12]]+h[Le[lt+13]]+h[Le[lt+14]]+h[Le[lt+15]]).toLowerCase()}const b=function v(Le,lt=0){const ze=u(Le,lt);if(!f(ze))throw TypeError("Stringified UUID is invalid");return ze};let p,_,l=0,y=0;const D=function x(Le,lt,ze){let at=lt&&ze||0;const N=lt||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(),K=void 0!==Le.nsecs?Le.nsecs:y+1;const ce=ne-l+(K-y)/1e4;if(ce<0&&void 0===Le.clockseq&&(Y=Y+1&16383),(ce<0||ne>l)&&void 0===Le.nsecs&&(K=0),K>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=ne,y=K,_=Y,ne+=122192928e5;const Te=(1e4*(268435455&ne)+K)%4294967296;N[at++]=Te>>>24&255,N[at++]=Te>>>16&255,N[at++]=Te>>>8&255,N[at++]=255&Te;const et=ne/4294967296*1e4&268435455;N[at++]=et>>>8&255,N[at++]=255&et,N[at++]=et>>>24&15|16,N[at++]=et>>>16&255,N[at++]=Y>>>8|128,N[at++]=255&Y;for(let Dt=0;Dt<6;++Dt)N[at+Dt]=oe[Dt];return lt||u(N)},E=function S(Le){if(!f(Le))throw TypeError("Invalid UUID");let lt;const ze=new Uint8Array(16);return ze[0]=(lt=parseInt(Le.slice(0,8),16))>>>24,ze[1]=lt>>>16&255,ze[2]=lt>>>8&255,ze[3]=255<,ze[4]=(lt=parseInt(Le.slice(9,13),16))>>>8,ze[5]=255<,ze[6]=(lt=parseInt(Le.slice(14,18),16))>>>8,ze[7]=255<,ze[8]=(lt=parseInt(Le.slice(19,23),16))>>>8,ze[9]=255<,ze[10]=(lt=parseInt(Le.slice(24,36),16))/1099511627776&255,ze[11]=lt/4294967296&255,ze[12]=lt>>>24&255,ze[13]=lt>>>16&255,ze[14]=lt>>>8&255,ze[15]=255<,ze};function ee(Le,lt,ze){function at(N,oe,Y,ne){var K;if("string"==typeof N&&(N=function I(Le){Le=unescape(encodeURIComponent(Le));const lt=[];for(let ze=0;ze>>9<<4)+1}function Ae(Le,lt){const ze=(65535&Le)+(65535<);return(Le>>16)+(lt>>16)+(ze>>16)<<16|65535&ze}function H(Le,lt,ze,at,N,oe){return Ae(function de(Le,lt){return Le<>>32-lt}(Ae(Ae(lt,Le),Ae(at,oe)),N),ze)}function W(Le,lt,ze,at,N,oe,Y){return H(lt&ze|~lt&at,Le,lt,N,oe,Y)}function pe(Le,lt,ze,at,N,oe,Y){return H(lt&at|ze&~at,Le,lt,N,oe,Y)}function we(Le,lt,ze,at,N,oe,Y){return H(lt^ze^at,Le,lt,N,oe,Y)}function Ee(Le,lt,ze,at,N,oe,Y){return H(ze^(lt|~at),Le,lt,N,oe,Y)}const re=ee("v3",48,function ie(Le){if("string"==typeof Le){const lt=unescape(encodeURIComponent(Le));Le=new Uint8Array(lt.length);for(let ze=0;ze>5]>>>N%32&255,Y=parseInt(at.charAt(oe>>>4&15)+at.charAt(15&oe),16);lt.push(Y)}return lt}(function Ce(Le,lt){Le[lt>>5]|=128<>5]|=(255&Le[at/8])<>>32-lt}const _t=ee("v5",80,function tt(Le){const lt=[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=et,et=Te,Te=Ge(ce,30)>>>0,ce=K,K=Pe}ze[0]=ze[0]+K>>>0,ze[1]=ze[1]+ce>>>0,ze[2]=ze[2]+Te>>>0,ze[3]=ze[3]+et>>>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",Lt=function Tt(Le){if(!f(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:()=>de,__classPrivateFieldIn:()=>W,__classPrivateFieldSet:()=>H,__createBinding:()=>y,__decorate:()=>r,__disposeResources:()=>Ee,__esDecorate:()=>h,__exportStar:()=>x,__extends:()=>c,__generator:()=>l,__importDefault:()=>Ae,__importStar:()=>Re,__makeTemplateObject:()=>U,__metadata:()=>p,__param:()=>f,__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(ae,ve){ae.__proto__=ve}||function(ae,ve){for(var He in ve)Object.prototype.hasOwnProperty.call(ve,He)&&(ae[He]=ve[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 ae(){this.constructor=G}n(G,re),G.prototype=null===re?Object.create(re):(ae.prototype=re.prototype,new ae)}var d=function(){return d=Object.assign||function(re){for(var ae,ve=1,He=arguments.length;ve=0;Ge--)(Qe=G[Ge])&&(Ze=(He<3?Qe(Ze):He>3?Qe(re,ae,Ze):Qe(re,ae))||Ze);return He>3&&Ze&&Object.defineProperty(re,ae,Ze),Ze}function f(G,re){return function(ae,ve){re(ae,ve,G)}}function h(G,re,ae,ve,He,Ze){function Qe(ze){if(void 0!==ze&&"function"!=typeof ze)throw new TypeError("Function expected");return ze}for(var _t,Ge=ve.kind,tt="getter"===Ge?"get":"setter"===Ge?"set":"value",Ct=!re&&G?ve.static?G:G.prototype:null,Nt=re||(Ct?Object.getOwnPropertyDescriptor(Ct,ve.name):{}),Bt=!1,Tt=ae.length-1;Tt>=0;Tt--){var Lt={};for(var Le in ve)Lt[Le]="access"===Le?{}:ve[Le];for(var Le in ve.access)Lt.access[Le]=ve.access[Le];Lt.addInitializer=function(ze){if(Bt)throw new TypeError("Cannot add initializers after decoration has completed");Ze.push(Qe(ze||null))};var lt=(0,ae[Tt])("accessor"===Ge?{get:Nt.get,set:Nt.set}:Nt[tt],Lt);if("accessor"===Ge){if(void 0===lt)continue;if(null===lt||"object"!=typeof lt)throw new TypeError("Object expected");(_t=Qe(lt.get))&&(Nt.get=_t),(_t=Qe(lt.set))&&(Nt.set=_t),(_t=Qe(lt.init))&&He.unshift(_t)}else(_t=Qe(lt))&&("field"===Ge?He.unshift(_t):Nt[tt]=_t)}Ct&&Object.defineProperty(Ct,ve.name,Nt),Bt=!0}function u(G,re,ae){for(var ve=arguments.length>2,He=0;He0&&Ze[Ze.length-1])&&(6===Ct[0]||2===Ct[0])){ae=0;continue}if(3===Ct[0]&&(!Ze||Ct[1]>Ze[0]&&Ct[1]=G.length&&(G=void 0),{value:G&&G[ve++],done:!G}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(G,re){var ae="function"==typeof Symbol&&G[Symbol.iterator];if(!ae)return G;var He,Qe,ve=ae.call(G),Ze=[];try{for(;(void 0===re||re-- >0)&&!(He=ve.next()).done;)Ze.push(He.value)}catch(Ge){Qe={error:Ge}}finally{try{He&&!He.done&&(ae=ve.return)&&ae.call(ve)}finally{if(Qe)throw Qe.error}}return Ze}function E(){for(var G=[],re=0;re1||Ge(Bt,Tt)})})}function Ge(Bt,Tt){try{!function tt(Bt){Bt.value instanceof $?Promise.resolve(Bt.value.v).then(Ct,Nt):_t(Ze[0][2],Bt)}(ve[Bt](Tt))}catch(Lt){_t(Ze[0][3],Lt)}}function Ct(Bt){Ge("next",Bt)}function Nt(Bt){Ge("throw",Bt)}function _t(Bt,Tt){Bt(Tt),Ze.shift(),Ze.length&&Ge(Ze[0][0],Ze[0][1])}}function ie(G){var re,ae;return re={},ve("next"),ve("throw",function(He){throw He}),ve("return"),re[Symbol.iterator]=function(){return this},re;function ve(He,Ze){re[He]=G[He]?function(Qe){return(ae=!ae)?{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 ae,re=G[Symbol.asyncIterator];return re?re.call(G):(G=D(G),ae={},ve("next"),ve("throw"),ve("return"),ae[Symbol.asyncIterator]=function(){return this},ae);function ve(Ze){ae[Ze]=G[Ze]&&function(Qe){return new Promise(function(Ge,tt){!function He(Ze,Qe,Ge,tt){Promise.resolve(tt).then(function(Ct){Ze({value:Ct,done:Ge})},Qe)}(Ge,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 Ce=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 ae in G)"default"!==ae&&Object.prototype.hasOwnProperty.call(G,ae)&&y(re,G,ae);return Ce(re,G),re}function Ae(G){return G&&G.__esModule?G:{default:G}}function de(G,re,ae,ve){if("a"===ae&&!ve)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof re?G!==re||!ve:!re.has(G))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===ae?ve:"a"===ae?ve.call(G):ve?ve.value:re.get(G)}function H(G,re,ae,ve,He){if("m"===ve)throw new TypeError("Private method is not writable");if("a"===ve&&!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"===ve?He.call(G,ae):He?He.value=ae:re.set(G,ae),ae}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,ae){if(null!=re){if("object"!=typeof re&&"function"!=typeof re)throw new TypeError("Object expected.");var ve;if(ae){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ve=re[Symbol.asyncDispose]}if(void 0===ve){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ve=re[Symbol.dispose]}if("function"!=typeof ve)throw new TypeError("Object not disposable.");G.stack.push({value:re,dispose:ve,async:ae})}else ae&&G.stack.push({async:!0});return re}var we="function"==typeof SuppressedError?SuppressedError:function(G,re,ae){var ve=new Error(ae);return ve.name="SuppressedError",ve.error=G,ve.suppressed=re,ve};function Ee(G){function re(ve){G.error=G.hasError?new we(ve,G.error,"An error was suppressed during disposal."):ve,G.hasError=!0}return function ae(){for(;G.stack.length;){var ve=G.stack.pop();try{var He=ve.dispose&&ve.dispose.call(ve.value);if(ve.async)return Promise.resolve(He).then(ae,function(Ze){return re(Ze),ae()})}catch(Ze){re(Ze)}}if(G.hasError)throw G.error}()}const Be={__extends:c,__assign:d,__rest:g,__decorate:r,__param:f,__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:de,__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 Q=F[V],be=typeof Q;("object"===be||"function"===be)&&!Object.isFrozen(Q)&&B(Q)}),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 Q=Object.create(null);for(const be in F)Q[be]=F[be];return V.forEach(function(be){for(const dt in be)Q[dt]=be[dt]}),Q}const g=F=>!!F.scope;class f{constructor(V,Q){this.buffer="",this.classPrefix=Q.classPrefix,V.walk(this)}addText(V){this.buffer+=n(V)}openNode(V){if(!g(V))return;const Q=((F,{prefix:V})=>{if(F.startsWith("language:"))return F.replace("language:","language-");if(F.includes(".")){const Q=F.split(".");return[`${V}${Q.shift()}`,...Q.map((be,dt)=>`${be}${"_".repeat(dt+1)}`)].join(" ")}return`${V}${F}`})(V.scope,{prefix:this.classPrefix});this.span(Q)}closeNode(V){g(V)&&(this.buffer+="")}value(){return this.buffer}span(V){this.buffer+=``}}const h=(F={})=>{const V={children:[]};return Object.assign(V,F),V};class u{constructor(){this.rootNode=h(),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 Q=h({scope:V});this.add(Q),this.stack.push(Q)}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,Q){return"string"==typeof Q?V.addText(Q):Q.children&&(V.openNode(Q),Q.children.forEach(be=>this._walk(V,be)),V.closeNode(Q)),V}static _collapse(V){"string"!=typeof V&&V.children&&(V.children.every(Q=>"string"==typeof Q)?V.children=[V.children.join("")]:V.children.forEach(Q=>{u._collapse(Q)}))}}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,Q){const be=V.root;Q&&(be.scope=`language:${Q}`),this.add(be)}toHTML(){return new f(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(Q=>b(Q)).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(be=>b(be)).join("|")+")"}function S(F){return new RegExp(F.toString()+"|").exec("").length-1}const I=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function X(F,{joinWith:V}){let Q=0;return F.map(be=>{Q+=1;const dt=Q;let Rt=b(be),qe="";for(;Rt.length>0;){const nt=I.exec(Rt);if(!nt){qe+=Rt;break}qe+=Rt.substring(0,nt.index),Rt=Rt.substring(nt.index+nt[0].length),"\\"===nt[0][0]&&nt[1]?qe+="\\"+String(Number(nt[1])+dt):(qe+=nt[0],"("===nt[0]&&Q++)}return qe}).map(be=>`(${be})`).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+)?)",Ce="\\b(0b[01]+)",de={begin:"\\\\[\\s\\S]",relevance:0},H={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[de]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[de]},we=function(F,V,Q={}){const be=c({scope:"comment",begin:F,end:V,contains:[]},Q);be.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 dt=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 be.contains.push({begin:y(/[ ]+/,"(",dt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),be},Ee=we("//","$"),Be=we("/\\*","\\*/"),G=we("#","$");var Ct=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:Ce,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":(Q,be)=>{0!==Q.index&&be.ignoreMatch()}},F)},BACKSLASH_ESCAPE:de,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:Ce,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[de,{begin:/\[/,end:/\]/,relevance:0,contains:[de]}]}]},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,Q)=>{Q.data._beginMatch=V[1]},"on:end":(V,Q)=>{Q.data._beginMatch!==V[1]&&Q.ignoreMatch()}})}});function Nt(F,V){"."===F.input[F.index-1]&&V.ignoreMatch()}function _t(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=Nt,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 Lt(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 lt=(F,V)=>{if(!F.beforeMatch)return;if(F.starts)throw new Error("beforeMatch cannot be used with starts");const Q=Object.assign({},F);Object.keys(F).forEach(be=>{delete F[be]}),F.keywords=Q.keywords,F.begin=y(Q.beforeMatch,p(Q.begin)),F.starts={relevance:0,contains:[Object.assign(Q,{endsParent:!0})]},F.relevance=0,delete Q.beforeMatch},ze=["of","and","for","in","not","or","if","then","parent","list","value"],at="keyword";function N(F,V,Q=at){const be=Object.create(null);return"string"==typeof F?dt(Q,F.split(" ")):Array.isArray(F)?dt(Q,F):Object.keys(F).forEach(function(Rt){Object.assign(be,N(F[Rt],V,Rt))}),be;function dt(Rt,qe){V&&(qe=qe.map(nt=>nt.toLowerCase())),qe.forEach(function(nt){const Ve=nt.split("|");be[Ve[0]]=[Rt,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={},K=F=>{console.error(F)},ce=(F,...V)=>{console.log(`WARN: ${F}`,...V)},Te=(F,V)=>{ne[`${F}/${V}`]||(console.log(`Deprecated as of ${F}. ${V}`),ne[`${F}/${V}`]=!0)},et=new Error;function Dt(F,V,{key:Q}){let be=0;const dt=F[Q],Rt={},qe={};for(let nt=1;nt<=V.length;nt++)qe[nt+be]=dt[nt],Rt[nt+be]=!0,be+=S(V[nt-1]);F[Q]=qe,F[Q]._emit=Rt,F[Q]._multi=!0}function mt(F){(function Pe(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 _e(F){if(Array.isArray(F.begin)){if(F.skip||F.excludeBegin||F.returnBegin)throw K("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),et;if("object"!=typeof F.beginScope||null===F.beginScope)throw K("beginScope must be object"),et;Dt(F,F.begin,{key:"beginScope"}),F.begin=X(F.begin,{joinWith:""})}}(F),function ut(F){if(Array.isArray(F.end)){if(F.skip||F.excludeEnd||F.returnEnd)throw K("skip, excludeEnd, returnEnd not compatible with endScope: {}"),et;if("object"!=typeof F.endScope||null===F.endScope)throw K("endScope must be object"),et;Dt(F,F.end,{key:"endScope"}),F.end=X(F.end,{joinWith:""})}}(F)}function Pt(F){function V(qe,nt){return new RegExp(b(qe),"m"+(F.case_insensitive?"i":"")+(F.unicodeRegex?"u":"")+(nt?"g":""))}class Q{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(nt,Ve){Ve.position=this.position++,this.matchIndexes[this.matchAt]=Ve,this.regexes.push([Ve,nt]),this.matchAt+=S(nt)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const nt=this.regexes.map(Ve=>Ve[1]);this.matcherRe=V(X(nt,{joinWith:"|"}),!0),this.lastIndex=0}exec(nt){this.matcherRe.lastIndex=this.lastIndex;const Ve=this.matcherRe.exec(nt);if(!Ve)return null;const yt=Ve.findIndex((on,xn)=>xn>0&&void 0!==on),At=this.matchIndexes[yt];return Ve.splice(0,yt),Object.assign(Ve,At)}}class be{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(nt){if(this.multiRegexes[nt])return this.multiRegexes[nt];const Ve=new Q;return this.rules.slice(nt).forEach(([yt,At])=>Ve.addRule(yt,At)),Ve.compile(),this.multiRegexes[nt]=Ve,Ve}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(nt,Ve){this.rules.push([nt,Ve]),"begin"===Ve.type&&this.count++}exec(nt){const Ve=this.getMatcher(this.regexIndex);Ve.lastIndex=this.lastIndex;let yt=Ve.exec(nt);if(this.resumingScanAtSamePosition()&&(!yt||yt.index!==this.lastIndex)){const At=this.getMatcher(0);At.lastIndex=this.lastIndex+1,yt=At.exec(nt)}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 Rt(qe,nt){const Ve=qe;if(qe.isCompiled)return Ve;[_t,Lt,mt,lt].forEach(At=>At(qe,nt)),F.compilerExtensions.forEach(At=>At(qe,nt)),qe.__beforeBegin=null,[Bt,Tt,Le].forEach(At=>At(qe,nt)),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),nt&&(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&&nt.terminatorEnd&&(Ve.terminatorEnd+=(qe.end?"|":"")+nt.terminatorEnd)),qe.illegal&&(Ve.illegalRe=V(qe.illegal)),qe.contains||(qe.contains=[]),qe.contains=[].concat(...qe.contains.map(function(At){return function Gt(F){return F.variants&&!F.cachedVariants&&(F.cachedVariants=F.variants.map(function(V){return c(F,{variants:null},V)})),F.cachedVariants?F.cachedVariants:Ft(F)?c(F,{starts:F.starts?c(F.starts):null}):Object.isFrozen(F)?c(F):F}("self"===At?qe:At)})),qe.contains.forEach(function(At){Rt(At,Ve)}),qe.starts&&Rt(qe.starts,nt),Ve.matcher=function dt(qe){const nt=new be;return qe.contains.forEach(Ve=>nt.addRule(Ve.begin,{rule:Ve,type:"begin"})),qe.terminatorEnd&&nt.addRule(qe.terminatorEnd,{type:"end"}),qe.illegal&&nt.addRule(qe.illegal,{type:"illegal"}),nt}(Ve),Ve}(F)}function Ft(F){return!!F&&(F.endsWithParent||Ft(F.starts))}class Ke extends Error{constructor(V,Q){super(V),this.name="HTMLInjectionError",this.html=Q}}const he=n,ge=c,ct=Symbol("nomatch"),Ye=function(F){const V=Object.create(null),Q=Object.create(null),be=[];let dt=!0;const Rt="Could not find the language '{}', did you forget to load/include a language module?",qe={disableAutodetect:!0,name:"Plain text",contains:[]};let nt={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 nt.noHighlightRe.test(an)}function At(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 Mt(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 Q=F&&F.exec(V);return Q&&0===Q.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 ct;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&&Mt(En.starts,fn),ei.returnEnd?0:Cn.length}let Xe={};function kt(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),!dt){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)),Mt(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!==ct)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 K(Rt.replace("{}",an)),new Error('Unknown language: "'+an+'"');const un=Pt(Wt);let gn="",pn=Rn||un;const si={},jn=new nt.__emitter(nt);!function se(){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=kt(mn.substring(Ti,fn.index),fn);Ti=fn.index+tn}kt(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:he(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(dt)return{language:an,value:he(mn),illegal:!1,relevance:0,errorRaised:fn,_emitter:jn,_top:pn};throw fn}}function Sn(an,mn){mn=mn||nt.languages||Object.keys(V);const Tn=function xn(an){const mn={value:he(an),illegal:!1,relevance:0,_top:qe,_emitter:new nt.__emitter(nt)};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=nt.languageDetectRe.exec(mn);if(Tn){const Rn=cn(Tn[1]);return Rn||(ce(Rt.replace("{}",Tn[1])),ce("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&&(nt.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)),nt.throwUnescapedHTML))throw new Ke("One of your code blocks includes unescaped HTML.",an.innerHTML);mn=an;const Rn=mn.textContent,Wn=Tn?At(Rn,{language:Tn,ignoreIllegals:!0}):Sn(Rn);an.innerHTML=Wn.value,function _n(an,mn,Tn){const Rn=mn&&Q[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 xt(){"loading"!==document.readyState?document.querySelectorAll(nt.cssSelector).forEach(Mn):Yi=!0}function cn(an){return an=(an||"").toLowerCase(),V[an]||V[Q[an]]}function sn(an,{languageName:mn}){"string"==typeof an&&(an=[an]),an.forEach(Tn=>{Q[Tn.toLowerCase()]=mn})}function Nn(an){const mn=cn(an);return mn&&!mn.disableAutodetect}function $n(an,mn){const Tn=an;be.forEach(function(Rn){Rn[Tn]&&Rn[Tn](mn)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function bt(){Yi&&xt()},!1),Object.assign(F,{highlight:At,highlightAuto:Sn,highlightAll:xt,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){nt=ge(nt,an)},initHighlighting:()=>{xt(),Te("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function Vi(){xt(),Te("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function pt(an,mn){let Tn=null;try{Tn=mn(F)}catch(Rn){if(K("Language definition for '{}' could not be registered.".replace("{}",an)),!dt)throw Rn;K(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(Q))Q[mn]===an&&delete Q[mn]},listLanguages:function nn(){return Object.keys(V)},getLanguage:cn,registerAliases:sn,autoDetection:Nn,inherit:ge,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),be.push(an)},removePlugin:function _i(an){const mn=be.indexOf(an);-1!==mn&&be.splice(mn,1)}}),F.debugMode=function(){dt=!1},F.safeMode=function(){dt=!0},F.versionString="11.8.0",F.regex={concat:y,lookahead:p,either:D,optional:l,anyNumberOfTimes:_};for(const an in Ct)"object"==typeof Ct[an]&&B(Ct[an]);return Object.assign(F,Ct),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/}]},f=a.inherit(r,{begin:/\(/,end:/\)/}),h=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,h,f,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,f,u,h]}]}]},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,f,h){try{var u=n[f](h),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 f=n.apply(c,d);function h(v){B(f,g,r,h,u,"next",v)}function u(v){B(f,g,r,h,u,"throw",v)}h(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 f=r.call(d,g||"default");if("object"!==n(f))return f;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:()=>f,vP:()=>h});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 f(X,$=null){return{type:3,steps:X,options:$}}function h(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(Ce=>{Ce.onDone(()=>{++ee==U&&this._onFinish()}),Ce.onDestroy(()=>{++ie==U&&this._onDestroy()}),Ce.onStart(()=>{++A==U&&this._onStart()})}),this.totalTime=this.players.reduce((Ce,Re)=>Math.max(Ce,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:()=>mt,X6:()=>oe,Zf:()=>$,iD:()=>ee,kH:()=>Ke,mK:()=>Lt,qm:()=>Me,rt:()=>Ye,s1:()=>pe,tE:()=>Oe,yG:()=>Y});var n=a(6814),c=a(5879),d=a(2831),g=a(8645),r=a(7394),f=a(5619),h=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 Q=ie(De,F);Q.some(be=>be.trim()==V.trim())||(Q.push(V.trim()),De.setAttribute(F,Q.join(X)))}function ee(De,F,V){const be=ie(De,F).filter(dt=>dt!=V.trim());be.length?De.setAttribute(F,be.join(X)):De.removeAttribute(F)}function ie(De,F){return(De.getAttribute(F)||"").match(/\S+/g)||[]}const U="cdk-describedby-message",Ce="cdk-describedby-host";let Re=0,Ae=(()=>{class De{constructor(V,Q){this._platform=Q,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Re++,this._document=V,this._id=(0,c.inject)(c.APP_ID)+"-"+Re++}describe(V,Q,be){if(!this._canBeDescribed(V,Q))return;const dt=de(Q,be);"string"!=typeof Q?(H(Q,this._id),this._messageRegistry.set(dt,{messageElement:Q,referenceCount:0})):this._messageRegistry.has(dt)||this._createMessageElement(Q,be),this._isElementDescribedByMessage(V,dt)||this._addMessageReference(V,dt)}removeDescription(V,Q,be){if(!Q||!this._isElementNode(V))return;const dt=de(Q,be);if(this._isElementDescribedByMessage(V,dt)&&this._removeMessageReference(V,dt),"string"==typeof Q){const Rt=this._messageRegistry.get(dt);Rt&&0===Rt.referenceCount&&this._deleteMessageElement(dt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const V=this._document.querySelectorAll(`[${Ce}="${this._id}"]`);for(let Q=0;Q0!=be.indexOf(U));V.setAttribute("aria-describedby",Q.join(" "))}_addMessageReference(V,Q){const be=this._messageRegistry.get(Q);$(V,"aria-describedby",be.messageElement.id),V.setAttribute(Ce,this._id),be.referenceCount++}_removeMessageReference(V,Q){const be=this._messageRegistry.get(Q);be.referenceCount--,ee(V,"aria-describedby",be.messageElement.id),V.removeAttribute(Ce)}_isElementDescribedByMessage(V,Q){const be=ie(V,"aria-describedby"),dt=this._messageRegistry.get(Q),Rt=dt&&dt.messageElement.id;return!!Rt&&-1!=be.indexOf(Rt)}_canBeDescribed(V,Q){if(!this._isElementNode(V))return!1;if(Q&&"object"==typeof Q)return!0;const be=null==Q?"":`${Q}`.trim(),dt=V.getAttribute("aria-label");return!(!be||dt&&dt.trim()===be)}_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 de(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 be=V.toArray().indexOf(this._activeItem);be>-1&&be!==this._activeItemIndex&&(this._activeItemIndex=be)}}))}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 Q=this._getItemsArray();for(let be=1;be!F[dt]||this._allowedModifierKeys.indexOf(dt)>-1);switch(V){case u.Mf:return void this.tabOut.next();case u.JH:if(this._vertical&&be){this.setNextItemActive();break}return;case u.LH:if(this._vertical&&be){this.setPreviousItemActive();break}return;case u.SV:if(this._horizontal&&be){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case u.oh:if(this._horizontal&&be){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case u.Sd:if(this._homeAndEnd&&be){this.setFirstItemActive();break}return;case u.uR:if(this._homeAndEnd&&be){this.setLastItemActive();break}return;case u.Ku:if(this._pageUpAndDown.enabled&&be){const dt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(dt>0?dt:0,1);break}return;case u.VM:if(this._pageUpAndDown.enabled&&be){const dt=this._activeItemIndex+this._pageUpAndDown.delta,Rt=this._getItemsArray().length;this._setActiveItemByIndex(dt=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(),Q="number"==typeof F?F:V.indexOf(F);this._activeItem=V[Q]??null,this._activeItemIndex=Q}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 Q=1;Q<=V.length;Q++){const be=(this._activeItemIndex+F*Q+V.length)%V.length;if(!this._skipPredicateFn(V[be]))return void this.setActiveItem(be)}}_setActiveInDefaultMode(F){this._setActiveItemByIndex(this._activeItemIndex+F,F)}_setActiveItemByIndex(F,V){const Q=this._getItemsArray();if(Q[F]){for(;this._skipPredicateFn(Q[F]);)if(!Q[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 Q=function G(De){try{return De.frameElement}catch{return null}}(function _t(De){return De.ownerDocument&&De.ownerDocument.defaultView||window}(V));if(Q&&(-1===tt(Q)||!this.isVisible(Q)))return!1;let be=V.nodeName.toLowerCase(),dt=tt(V);return V.hasAttribute("contenteditable")?-1!==dt:!("iframe"===be||"object"===be||this._platform.WEBKIT&&this._platform.IOS&&!function Ct(De){let F=De.nodeName.toLowerCase(),V="input"===F&&De.type;return"text"===V||"password"===V||"select"===F||"textarea"===F}(V))&&("audio"===be?!!V.hasAttribute("controls")&&-1!==dt:"video"===be?-1!==dt&&(null!==dt||this._platform.FIREFOX||V.hasAttribute("controls")):V.tabIndex>=0)}isFocusable(V,Q){return function Nt(De){return!function ve(De){return function Ze(De){return"input"==De.nodeName.toLowerCase()}(De)&&"hidden"==De.type}(De)&&(function ae(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")||Ge(De))}(V)&&!this.isDisabled(V)&&(Q?.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 Ge(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(!Ge(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,Q,be,dt=!1){this._element=F,this._checker=V,this._ngZone=Q,this._document=be,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,dt||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 Q=this._getFirstTabbableElement(V);return Q?.focus(F),!!Q}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 Q=0;Q=0;Q--){const be=V[Q].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(V[Q]):null;if(be)return be}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,Q,be){this._checker=V,this._ngZone=Q,this._document=be}create(V,Q=!1){return new Bt(V,this._checker,this._ngZone,this._document,Q)}}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})(),Lt=(()=>{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,Q,be){this._elementRef=V,this._focusTrapFactory=Q,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 Q=V.autoCapture;Q&&!Q.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"),K={ignoreKeys:[u.zL,u.jx,u.b2,u.MW,u.JU]},Te=(0,d.i$)({passive:!0,capture:!0});let et=(()=>{class De{get mostRecentModality(){return this._modality.value}constructor(V,Q,be,dt){this._platform=V,this._mostRecentTarget=null,this._modality=new f.X(null),this._lastTouchMs=0,this._onKeydown=Rt=>{this._options?.ignoreKeys?.some(qe=>qe===Rt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,d.sA)(Rt))},this._onMousedown=Rt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(oe(Rt)?"keyboard":"mouse"),this._mostRecentTarget=(0,d.sA)(Rt))},this._onTouchstart=Rt=>{Y(Rt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,d.sA)(Rt))},this._options={...K,...dt},this.modalityDetected=this._modality.pipe((0,y.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,x.x)()),V.isBrowser&&Q.runOutsideAngular(()=>{be.addEventListener("keydown",this._onKeydown,Te),be.addEventListener("mousedown",this._onMousedown,Te),be.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 _e(){return null}}),ut=new c.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Pe=0,mt=(()=>{class De{constructor(V,Q,be,dt){this._ngZone=Q,this._defaultOptions=dt,this._document=be,this._liveElement=V||this._createLiveElement()}announce(V,...Q){const be=this._defaultOptions;let dt,Rt;return 1===Q.length&&"number"==typeof Q[0]?Rt=Q[0]:[dt,Rt]=Q,this.clear(),clearTimeout(this._previousTimeout),dt||(dt=be&&be.politeness?be.politeness:"polite"),null==Rt&&be&&(Rt=be.duration),this._liveElement.setAttribute("aria-live",dt),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 Rt&&(this._previousTimeout=setTimeout(()=>this.clear(),Rt)),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",Q=this._document.getElementsByClassName(V),be=this._document.createElement("div");for(let dt=0;dt .cdk-overlay-container [aria-modal="true"]');for(let be=0;be{class De{constructor(V,Q,be,dt,Rt){this._ngZone=V,this._platform=Q,this._inputModalityDetector=be,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=dt,this._detectionMode=Rt?.detectionMode||0}monitor(V,Q=!1){const be=(0,S.fI)(V);if(!this._platform.isBrowser||1!==be.nodeType)return(0,h.of)();const dt=(0,d.kV)(be)||this._getDocument(),Rt=this._elementInfo.get(be);if(Rt)return Q&&(Rt.checkChildren=!0),Rt.subject;const qe={checkChildren:Q,subject:new g.x,rootNode:dt};return this._elementInfo.set(be,qe),this._registerGlobalListeners(qe),qe.subject}stopMonitoring(V){const Q=(0,S.fI)(V),be=this._elementInfo.get(Q);be&&(be.subject.complete(),this._setClasses(Q),this._elementInfo.delete(Q),this._removeGlobalListeners(be))}focusVia(V,Q,be){const dt=(0,S.fI)(V);dt===this._getDocument().activeElement?this._getClosestElementsInfo(dt).forEach(([qe,nt])=>this._originChanged(qe,Q,nt)):(this._setOrigin(Q),"function"==typeof dt.focus&&dt.focus(be))}ngOnDestroy(){this._elementInfo.forEach((V,Q)=>this.stopMonitoring(Q))}_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,Q){V.classList.toggle("cdk-focused",!!Q),V.classList.toggle("cdk-touch-focused","touch"===Q),V.classList.toggle("cdk-keyboard-focused","keyboard"===Q),V.classList.toggle("cdk-mouse-focused","mouse"===Q),V.classList.toggle("cdk-program-focused","program"===Q)}_setOrigin(V,Q=!1){this._ngZone.runOutsideAngular(()=>{this._origin=V,this._originFromTouchInteraction="touch"===V&&Q,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(V,Q){const be=this._elementInfo.get(Q),dt=(0,d.sA)(V);!be||!be.checkChildren&&Q!==dt||this._originChanged(Q,this._getFocusOrigin(dt),be)}_onBlur(V,Q){const be=this._elementInfo.get(Q);!be||be.checkChildren&&V.relatedTarget instanceof Node&&Q.contains(V.relatedTarget)||(this._setClasses(Q),this._emitOrigin(be,null))}_emitOrigin(V,Q){V.subject.observers.length&&this._ngZone.run(()=>V.subject.next(Q))}_registerGlobalListeners(V){if(!this._platform.isBrowser)return;const Q=V.rootNode,be=this._rootNodeFocusListenerCount.get(Q)||0;be||this._ngZone.runOutsideAngular(()=>{Q.addEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),Q.addEventListener("blur",this._rootNodeFocusAndBlurListener,Gt)}),this._rootNodeFocusListenerCount.set(Q,be+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,D.R)(this._stopInputModalityDetector)).subscribe(dt=>{this._setOrigin(dt,!0)}))}_removeGlobalListeners(V){const Q=V.rootNode;if(this._rootNodeFocusListenerCount.has(Q)){const be=this._rootNodeFocusListenerCount.get(Q);be>1?this._rootNodeFocusListenerCount.set(Q,be-1):(Q.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),Q.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Gt),this._rootNodeFocusListenerCount.delete(Q))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(V,Q,be){this._setClasses(V,Q),this._emitOrigin(be,Q),this._lastFocusOrigin=Q}_getClosestElementsInfo(V){const Q=[];return this._elementInfo.forEach((be,dt)=>{(dt===V||be.checkChildren&&dt.contains(V))&&Q.push([dt,be])}),Q}_isLastInteractionFromInputLabel(V){const{_mostRecentTarget:Q,mostRecentModality:be}=this._inputModalityDetector;if("mouse"!==be||!Q||Q===V||"INPUT"!==V.nodeName&&"TEXTAREA"!==V.nodeName||V.disabled)return!1;const dt=V.labels;if(dt)for(let Rt=0;Rt{class De{constructor(V,Q){this._elementRef=V,this._focusMonitor=Q,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(Q=>{this._focusOrigin=Q,this.cdkFocusChange.emit(Q)})}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(Oe))},De.\u0275dir=c.\u0275\u0275defineDirective({type:De,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),De})();const he="cdk-high-contrast-black-on-white",ge="cdk-high-contrast-white-on-black",ct="cdk-high-contrast-active";let Me=(()=>{class De{constructor(V,Q){this._platform=V,this._document=Q,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 Q=this._document.defaultView||window,be=Q&&Q.getComputedStyle?Q.getComputedStyle(V):null,dt=(be&&be.backgroundColor||"").replace(/ /g,"");switch(V.remove(),dt){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(ct,he,ge),this._hasCheckedHighContrastMode=!0;const Q=this.getHighContrastMode();1===Q?V.add(ct,he):2===Q&&V.add(ct,ge)}}}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(Me))},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:()=>h,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 h=(()=>{class b{constructor(_){this.value="ltr",this.change=new n.EventEmitter,_&&(this.value=function f(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:()=>f,Ig:()=>c,du:()=>u,fI:()=>h,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 f(v){return null==v?"":"string"==typeof v?v:`${v}px`}function h(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:()=>h});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 h{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:()=>ve,JH:()=>X,JU:()=>f,K5:()=>r,Ku:()=>l,LH:()=>E,L_:()=>_,MW:()=>ut,Mf:()=>d,SV:()=>I,Sd:()=>D,VM:()=>y,Vb:()=>ri,Z:()=>_e,ZH:()=>c,aO:()=>Ee,b2:()=>wi,hY:()=>p,jx:()=>h,oh:()=>S,uR:()=>x,xE:()=>U,zL:()=>u});const c=8,d=9,r=13,f=16,h=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,ve=65,_e=90,ut=91,wi=224;function ri(ai,...Ni){return Ni.length?Ni.some(Mt=>ai[Mt]):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),f=a(5592),h=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,Ce){this._platform=U,this._nonce=Ce,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,Ce){this._mediaMatcher=U,this._zone=Ce,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(de=>this._registerQuery(de).observable);let Ae=(0,g.a)(Re);return Ae=(0,r.z)(Ae.pipe((0,h.q)(1)),Ae.pipe((0,u.T)(1),(0,v.b)(0))),Ae.pipe((0,b.U)(de=>{const H={matches:!1,breakpoints:{}};return de.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 Ce=this._mediaMatcher.matchMedia(U),Ae={observable:new f.y(de=>{const H=W=>this._zone.run(()=>de.next(W));return Ce.addListener(H),()=>{Ce.removeListener(H)}}).pipe((0,p.O)(Ce),(0,b.U)(({matches:de})=>({query:U,matches:de})),(0,_.R)(this._destroySubject)),mql:Ce};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 f=(()=>{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})(),h=(()=>{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(f))},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(h),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:[f]}),b})()},9594:(Ie,B,a)=>{"use strict";a.d(B,{U8:()=>N,X_:()=>U,_G:()=>ae,aV:()=>Bt,pI:()=>lt,xu:()=>Le});var n=a(6672),c=a(6814),d=a(5879),g=a(2495),r=a(2831),f=a(2181),h=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,K){this._viewportRuler=ne,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=K}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,ce=ne.style,Te=this._document.body.style,et=ce.scrollBehavior||"",Dt=Te.scrollBehavior||"";this._isEnabled=!1,ce.left=this._previousHTMLStyles.left,ce.top=this._previousHTMLStyles.top,ne.classList.remove("cdk-global-scrollblock"),D&&(ce.scrollBehavior=Te.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),D&&(ce.scrollBehavior=et,Te.scrollBehavior=Dt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const K=this._document.body,ce=this._viewportRuler.getViewportSize();return K.scrollHeight>ce.height||K.scrollWidth>ce.width}}class I{constructor(ne,K,ce,Te){this._scrollDispatcher=ne,this._ngZone=K,this._viewportRuler=ce,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,f.h)(K=>!K||!this._overlayRef.overlayElement.contains(K.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ne.subscribe(()=>{const K=this._viewportRuler.getViewportScrollPosition().top;Math.abs(K-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(K=>Y.bottomK.bottom||Y.rightK.right)}function ee(Y,ne){return ne.some(K=>Y.topK.bottom||Y.leftK.right)}class ie{constructor(ne,K,ce,Te){this._scrollDispatcher=ne,this._viewportRuler=K,this._ngZone=ce,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 K=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ce,height:Te}=this._viewportRuler.getViewportSize();$(K,[{width:ce,height:Te,bottom:Te,right:ce,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(K,ce,Te,et){this._scrollDispatcher=K,this._viewportRuler=ce,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=et}}return Y.\u0275fac=function(K){return new(K||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 K=Object.keys(ne);for(const ce of K)void 0!==ne[ce]&&(this[ce]=ne[ce])}}}class Ae{constructor(ne,K){this.connectionPair=ne,this.scrollableViewProperties=K}}let W=(()=>{class Y{constructor(K){this._attachedOverlays=[],this._document=K}ngOnDestroy(){this.detach()}add(K){this.remove(K),this._attachedOverlays.push(K)}remove(K){const ce=this._attachedOverlays.indexOf(K);ce>-1&&this._attachedOverlays.splice(ce,1),0===this._attachedOverlays.length&&this.detach()}}return Y.\u0275fac=function(K){return new(K||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(K,ce){super(K),this._ngZone=ce,this._keydownListener=Te=>{const et=this._attachedOverlays;for(let Dt=et.length-1;Dt>-1;Dt--)if(et[Dt]._keydownEvents.observers.length>0){const _e=et[Dt]._keydownEvents;this._ngZone?this._ngZone.run(()=>_e.next(Te)):_e.next(Te);break}}}add(K){super.add(K),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(K){return new(K||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(K,ce,Te){super(K),this._platform=ce,this._ngZone=Te,this._cursorStyleIsSet=!1,this._pointerDownListener=et=>{this._pointerDownEventTarget=(0,r.sA)(et)},this._clickListener=et=>{const Dt=(0,r.sA)(et),_e="click"===et.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Dt;this._pointerDownEventTarget=null;const ut=this._attachedOverlays.slice();for(let Pe=ut.length-1;Pe>-1;Pe--){const mt=ut[Pe];if(mt._outsidePointerEvents.observers.length<1||!mt.hasAttached())continue;if(mt.overlayElement.contains(Dt)||mt.overlayElement.contains(_e))break;const Pt=mt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Pt.next(et)):Pt.next(et)}}}add(K){if(super.add(K),!this._isAttached){const ce=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ce)):this._addEventListeners(ce),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ce.style.cursor,ce.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const K=this._document.body;K.removeEventListener("pointerdown",this._pointerDownListener,!0),K.removeEventListener("click",this._clickListener,!0),K.removeEventListener("auxclick",this._clickListener,!0),K.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(K.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(K){K.addEventListener("pointerdown",this._pointerDownListener,!0),K.addEventListener("click",this._clickListener,!0),K.addEventListener("auxclick",this._clickListener,!0),K.addEventListener("contextmenu",this._clickListener,!0)}}return Y.\u0275fac=function(K){return new(K||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(K,ce){this._platform=ce,this._document=K}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const K="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const Te=this._document.querySelectorAll(`.${K}[platform="server"], .${K}[platform="test"]`);for(let et=0;etthis._backdropClick.next(Pt),this._backdropTransitionendHandler=Pt=>{this._disposeBackdrop(Pt.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 K=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,h.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 K?.onDestroy&&K.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),K}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,K,ce){const Te=(0,g.Eq)(K||[]).filter(et=>!!et);Te.length&&(ce?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 ae{get positions(){return this._preferredPositions}constructor(ne,K,ce,Te,et){this._viewportRuler=K,this._document=ce,this._platform=Te,this._overlayContainer=et,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,K=this._overlayRect,ce=this._viewportRect,Te=this._containerRect,et=[];let Dt;for(let _e of this._preferredPositions){let ut=this._getOriginPoint(ne,Te,_e),Pe=this._getOverlayPoint(ut,K,_e),mt=this._getOverlayFit(Pe,K,ce,_e);if(mt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(_e,ut);this._canFitWithFlexibleDimensions(mt,Pe,ce)?et.push({position:_e,origin:ut,overlayRect:K,boundingBoxRect:this._calculateBoundingBoxRect(ut,_e)}):(!Dt||Dt.overlayFit.visibleAreaut&&(ut=mt,_e=Pe)}return this._isPushed=!1,void this._applyPosition(_e.position,_e.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&&ve(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 K=this._getOriginPoint(this._originRect,this._containerRect,ne);this._applyPosition(ne,K)}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,K,ce){let Te,et;if("center"==ce.originX)Te=ne.left+ne.width/2;else{const Dt=this._isRtl()?ne.right:ne.left,_e=this._isRtl()?ne.left:ne.right;Te="start"==ce.originX?Dt:_e}return K.left<0&&(Te-=K.left),et="center"==ce.originY?ne.top+ne.height/2:"top"==ce.originY?ne.top:ne.bottom,K.top<0&&(et-=K.top),{x:Te,y:et}}_getOverlayPoint(ne,K,ce){let Te,et;return Te="center"==ce.overlayX?-K.width/2:"start"===ce.overlayX?this._isRtl()?-K.width:0:this._isRtl()?0:-K.width,et="center"==ce.overlayY?-K.height/2:"top"==ce.overlayY?0:-K.height,{x:ne.x+Te,y:ne.y+et}}_getOverlayFit(ne,K,ce,Te){const et=Ze(K);let{x:Dt,y:_e}=ne,ut=this._getOffset(Te,"x"),Pe=this._getOffset(Te,"y");ut&&(Dt+=ut),Pe&&(_e+=Pe);let Ft=0-_e,Gt=_e+et.height-ce.height,Oe=this._subtractOverflows(et.width,0-Dt,Dt+et.width-ce.width),Ke=this._subtractOverflows(et.height,Ft,Gt),he=Oe*Ke;return{visibleArea:he,isCompletelyWithinViewport:et.width*et.height===he,fitsInViewportVertically:Ke===et.height,fitsInViewportHorizontally:Oe==et.width}}_canFitWithFlexibleDimensions(ne,K,ce){if(this._hasFlexibleDimensions){const Te=ce.bottom-K.y,et=ce.right-K.x,Dt=He(this._overlayRef.getConfig().minHeight),_e=He(this._overlayRef.getConfig().minWidth);return(ne.fitsInViewportVertically||null!=Dt&&Dt<=Te)&&(ne.fitsInViewportHorizontally||null!=_e&&_e<=et)}return!1}_pushOverlayOnScreen(ne,K,ce){if(this._previousPushAmount&&this._positionLocked)return{x:ne.x+this._previousPushAmount.x,y:ne.y+this._previousPushAmount.y};const Te=Ze(K),et=this._viewportRect,Dt=Math.max(ne.x+Te.width-et.width,0),_e=Math.max(ne.y+Te.height-et.height,0),ut=Math.max(et.top-ce.top-ne.y,0),Pe=Math.max(et.left-ce.left-ne.x,0);let mt=0,Pt=0;return mt=Te.width<=et.width?Pe||-Dt:ne.xOe&&!this._isInitialRender&&!this._growAfterOpen&&(Dt=ne.y-Oe/2)}if("end"===K.overlayX&&!Te||"start"===K.overlayX&&Te)Ft=ce.width-ne.x+this._viewportMargin,mt=ne.x-this._viewportMargin;else if("start"===K.overlayX&&!Te||"end"===K.overlayX&&Te)Pt=ne.x,mt=ce.right-ne.x;else{const Gt=Math.min(ce.right-ne.x+ce.left,ne.x),Oe=this._lastBoundingBoxSize.width;mt=2*Gt,Pt=ne.x-Gt,mt>Oe&&!this._isInitialRender&&!this._growAfterOpen&&(Pt=ne.x-Oe/2)}return{top:Dt,left:Pt,bottom:_e,right:Ft,width:mt,height:et}}_setBoundingBoxStyles(ne,K){const ce=this._calculateBoundingBoxRect(ne,K);!this._isInitialRender&&!this._growAfterOpen&&(ce.height=Math.min(ce.height,this._lastBoundingBoxSize.height),ce.width=Math.min(ce.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 et=this._overlayRef.getConfig().maxHeight,Dt=this._overlayRef.getConfig().maxWidth;Te.height=(0,g.HM)(ce.height),Te.top=(0,g.HM)(ce.top),Te.bottom=(0,g.HM)(ce.bottom),Te.width=(0,g.HM)(ce.width),Te.left=(0,g.HM)(ce.left),Te.right=(0,g.HM)(ce.right),Te.alignItems="center"===K.overlayX?"center":"end"===K.overlayX?"flex-end":"flex-start",Te.justifyContent="center"===K.overlayY?"center":"bottom"===K.overlayY?"flex-end":"flex-start",et&&(Te.maxHeight=(0,g.HM)(et)),Dt&&(Te.maxWidth=(0,g.HM)(Dt))}this._lastBoundingBoxSize=ce,ve(this._boundingBox.style,Te)}_resetBoundingBoxStyles(){ve(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ve(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ne,K){const ce={},Te=this._hasExactPosition(),et=this._hasFlexibleDimensions,Dt=this._overlayRef.getConfig();if(Te){const mt=this._viewportRuler.getViewportScrollPosition();ve(ce,this._getExactOverlayY(K,ne,mt)),ve(ce,this._getExactOverlayX(K,ne,mt))}else ce.position="static";let _e="",ut=this._getOffset(K,"x"),Pe=this._getOffset(K,"y");ut&&(_e+=`translateX(${ut}px) `),Pe&&(_e+=`translateY(${Pe}px)`),ce.transform=_e.trim(),Dt.maxHeight&&(Te?ce.maxHeight=(0,g.HM)(Dt.maxHeight):et&&(ce.maxHeight="")),Dt.maxWidth&&(Te?ce.maxWidth=(0,g.HM)(Dt.maxWidth):et&&(ce.maxWidth="")),ve(this._pane.style,ce)}_getExactOverlayY(ne,K,ce){let Te={top:"",bottom:""},et=this._getOverlayPoint(K,this._overlayRect,ne);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,ce)),"bottom"===ne.overlayY?Te.bottom=this._document.documentElement.clientHeight-(et.y+this._overlayRect.height)+"px":Te.top=(0,g.HM)(et.y),Te}_getExactOverlayX(ne,K,ce){let Dt,Te={left:"",right:""},et=this._getOverlayPoint(K,this._overlayRect,ne);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,ce)),Dt=this._isRtl()?"end"===ne.overlayX?"left":"right":"end"===ne.overlayX?"right":"left","right"===Dt?Te.right=this._document.documentElement.clientWidth-(et.x+this._overlayRect.width)+"px":Te.left=(0,g.HM)(et.x),Te}_getScrollVisibility(){const ne=this._getOriginRect(),K=this._pane.getBoundingClientRect(),ce=this._scrollables.map(Te=>Te.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ee(ne,ce),isOriginOutsideView:$(ne,ce),isOverlayClipped:ee(K,ce),isOverlayOutsideView:$(K,ce)}}_subtractOverflows(ne,...K){return K.reduce((ce,Te)=>ce-Math.max(Te,0),ne)}_getNarrowedViewportRect(){const ne=this._document.documentElement.clientWidth,K=this._document.documentElement.clientHeight,ce=this._viewportRuler.getViewportScrollPosition();return{top:ce.top+this._viewportMargin,left:ce.left+this._viewportMargin,right:ce.left+ne-this._viewportMargin,bottom:ce.top+K-this._viewportMargin,width:ne-2*this._viewportMargin,height:K-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ne,K){return"x"===K?null==ne.offsetX?this._offsetX:ne.offsetX:null==ne.offsetY?this._offsetY:ne.offsetY}_validatePositions(){}_addPanelClasses(ne){this._pane&&(0,g.Eq)(ne).forEach(K=>{""!==K&&-1===this._appliedPanelClasses.indexOf(K)&&(this._appliedPanelClasses.push(K),this._pane.classList.add(K))})}_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 K=ne.width||0,ce=ne.height||0;return{top:ne.y,bottom:ne.y+ce,left:ne.x,right:ne.x+K,height:ce,width:K}}}function ve(Y,ne){for(let K in ne)ne.hasOwnProperty(K)&&(Y[K]=ne[K]);return Y}function He(Y){if("number"!=typeof Y&&null!=Y){const[ne,K]=Y.split(re);return K&&"px"!==K?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 Ct{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ne){const K=ne.getConfig();this._overlayRef=ne,this._width&&!K.width&&ne.updateSize({width:this._width}),this._height&&!K.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,K=this._overlayRef.hostElement.style,ce=this._overlayRef.getConfig(),{width:Te,height:et,maxWidth:Dt,maxHeight:_e}=ce,ut=!("100%"!==Te&&"100vw"!==Te||Dt&&"100%"!==Dt&&"100vw"!==Dt),Pe=!("100%"!==et&&"100vh"!==et||_e&&"100%"!==_e&&"100vh"!==_e),mt=this._xPosition,Pt=this._xOffset,Ft="rtl"===this._overlayRef.getConfig().direction;let Gt="",Oe="",Ke="";ut?Ke="flex-start":"center"===mt?(Ke="center",Ft?Oe=Pt:Gt=Pt):Ft?"left"===mt||"end"===mt?(Ke="flex-end",Gt=Pt):("right"===mt||"start"===mt)&&(Ke="flex-start",Oe=Pt):"left"===mt||"start"===mt?(Ke="flex-start",Gt=Pt):("right"===mt||"end"===mt)&&(Ke="flex-end",Oe=Pt),ne.position=this._cssPosition,ne.marginLeft=ut?"0":Gt,ne.marginTop=Pe?"0":this._topOffset,ne.marginBottom=this._bottomOffset,ne.marginRight=ut?"0":Oe,K.justifyContent=Ke,K.alignItems=Pe?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ne=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement,ce=K.style;K.classList.remove(tt),ce.justifyContent=ce.alignItems=ne.marginTop=ne.marginBottom=ne.marginLeft=ne.marginRight=ne.position="",this._overlayRef=null,this._isDisposed=!0}}let Nt=(()=>{class Y{constructor(K,ce,Te,et){this._viewportRuler=K,this._document=ce,this._platform=Te,this._overlayContainer=et}global(){return new Ct}flexibleConnectedTo(K){return new ae(K,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Y.\u0275fac=function(K){return new(K||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})(),_t=0,Bt=(()=>{class Y{constructor(K,ce,Te,et,Dt,_e,ut,Pe,mt,Pt,Ft,Gt){this.scrollStrategies=K,this._overlayContainer=ce,this._componentFactoryResolver=Te,this._positionBuilder=et,this._keyboardDispatcher=Dt,this._injector=_e,this._ngZone=ut,this._document=Pe,this._directionality=mt,this._location=Pt,this._outsideClickDispatcher=Ft,this._animationsModuleType=Gt}create(K){const ce=this._createHostElement(),Te=this._createPaneElement(ce),et=this._createPortalOutlet(Te),Dt=new U(K);return Dt.direction=Dt.direction||this._directionality.value,new Be(et,ce,Te,Dt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(K){const ce=this._document.createElement("div");return ce.id="cdk-overlay-"+_t++,ce.classList.add("cdk-overlay-pane"),K.appendChild(ce),ce}_createHostElement(){const K=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(K),K}_createPortalOutlet(K){return this._appRef||(this._appRef=this._injector.get(d.ApplicationRef)),new p.u0(K,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Y.\u0275fac=function(K){return new(K||Y)(d.\u0275\u0275inject(A),d.\u0275\u0275inject(Ee),d.\u0275\u0275inject(d.ComponentFactoryResolver),d.\u0275\u0275inject(Nt),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"}],Lt=new d.InjectionToken("cdk-connected-overlay-scroll-strategy");let Le=(()=>{class Y{constructor(K){this.elementRef=K}}return Y.\u0275fac=function(K){return new(K||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})(),lt=(()=>{class Y{get offsetX(){return this._offsetX}set offsetX(K){this._offsetX=K,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(K){this._offsetY=K,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(K){this._hasBackdrop=(0,g.Ig)(K)}get lockPosition(){return this._lockPosition}set lockPosition(K){this._lockPosition=(0,g.Ig)(K)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(K){this._flexibleDimensions=(0,g.Ig)(K)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(K){this._growAfterOpen=(0,g.Ig)(K)}get push(){return this._push}set push(K){this._push=(0,g.Ig)(K)}constructor(K,ce,Te,et,Dt){this._overlay=K,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(ce,Te),this._scrollStrategyFactory=et,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(K){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),K.origin&&this.open&&this._position.apply()),K.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Tt);const K=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=K.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=K.detachments().subscribe(()=>this.detach.emit()),K.keydownEvents().subscribe(ce=>{this.overlayKeydown.next(ce),ce.keyCode===x.hY&&!this.disableClose&&!(0,x.Vb)(ce)&&(ce.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ce=>{this.overlayOutsideClick.next(ce)})}_buildConfig(){const K=this._position=this.positionStrategy||this._createPositionStrategy(),ce=new U({direction:this._dir,positionStrategy:K,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(ce.width=this.width),(this.height||0===this.height)&&(ce.height=this.height),(this.minWidth||0===this.minWidth)&&(ce.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ce.minHeight=this.minHeight),this.backdropClass&&(ce.backdropClass=this.backdropClass),this.panelClass&&(ce.panelClass=this.panelClass),ce}_updatePositionStrategy(K){const ce=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 K.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ce).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const K=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(K),K}_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(K=>{this.backdropClick.emit(K)}):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(K=>{this.positionChange.emit(K),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Y.\u0275fac=function(K){return new(K||Y)(d.\u0275\u0275directiveInject(Bt),d.\u0275\u0275directiveInject(d.TemplateRef),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(Lt),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:Lt,deps:[Bt],useFactory:function ze(Y){return()=>Y.scrollStrategies.reposition()}};let N=(()=>{class Y{}return Y.\u0275fac=function(K){return new(K||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 f,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 h=["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(f)return f;if("object"!=typeof document||!document)return f=new Set(h),f;let ee=document.createElement("input");return f=new Set(h.filter(ie=>(ee.setAttribute("type",ie),ee.type===ie))),f}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,Ce,Re,Ae){super(),this.component=A,this.viewContainerRef=U,this.injector=Ce,this.componentFactoryResolver=Re,this.projectableNodes=Ae}}class p extends v{constructor(A,U,Ce,Re){super(),this.templateRef=A,this.viewContainerRef=U,this.context=Ce,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,Ce,Re,Ae){super(),this.outletElement=A,this._componentFactoryResolver=U,this._appRef=Ce,this._defaultInjector=Re,this.attachDomPortal=de=>{const H=de.element,W=this._document.createComment("dom-portal");H.parentNode.insertBefore(W,H),this.outletElement.appendChild(H),this._attachedPortal=de,super.setDisposeFn(()=>{W.parentNode&&W.parentNode.replaceChild(H,W)})},this._document=Ae}attachComponentPortal(A){const Ce=(A.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(A.component);let Re;return A.viewContainerRef?(Re=A.viewContainerRef.createComponent(Ce,A.viewContainerRef.length,A.injector||A.viewContainerRef.injector,A.projectableNodes||void 0),this.setDisposeFn(()=>Re.destroy())):(Re=Ce.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,Ce=U.createEmbeddedView(A.templateRef,A.context,{injector:A.injector});return Ce.rootNodes.forEach(Re=>this.outletElement.appendChild(Re)),Ce.detectChanges(),this.setDisposeFn(()=>{let Re=U.indexOf(Ce);-1!==Re&&U.remove(Re)}),this._attachedPortal=A,Ce}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(A){return A.hostView.rootNodes[0]}}let S=(()=>{class ie extends p{constructor(U,Ce){super(U,Ce)}}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,Ce,Re){super(),this._componentFactoryResolver=U,this._viewContainerRef=Ce,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=Ae=>{const de=Ae.element,H=this._document.createComment("dom-portal");Ae.setAttachedHost(this),de.parentNode.insertBefore(H,de),this._getRootNode().appendChild(de),this._attachedPortal=Ae,super.setDisposeFn(()=>{H.parentNode&&H.parentNode.replaceChild(de,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 Ce=null!=U.viewContainerRef?U.viewContainerRef:this._viewContainerRef,Ae=(U.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(U.component),de=Ce.createComponent(Ae,Ce.length,U.injector||Ce.injector,U.projectableNodes||void 0);return Ce!==this._viewContainerRef&&this._getRootNode().appendChild(de.hostView.rootNodes[0]),super.setDisposeFn(()=>de.destroy()),this._attachedPortal=U,this._attachedRef=de,this.attached.emit(de),de}attachTemplatePortal(U){U.setAttachedHost(this);const Ce=this._viewContainerRef.createEmbeddedView(U.templateRef,U.context,{injector:U.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=U,this._attachedRef=Ce,this.attached.emit(Ce),Ce}_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),f=a(2438),v=(a(927),a(6410),a(8672)),b=a(2181),p=a(2831),_=a(6814),l=a(9388);let $=(()=>{class G{constructor(ae,ve,He){this._ngZone=ae,this._platform=ve,this._scrolled=new d.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=He}register(ae){this.scrollContainers.has(ae)||this.scrollContainers.set(ae,ae.elementScrolled().subscribe(()=>this._scrolled.next(ae)))}deregister(ae){const ve=this.scrollContainers.get(ae);ve&&(ve.unsubscribe(),this.scrollContainers.delete(ae))}scrolled(ae=20){return this._platform.isBrowser?new r.y(ve=>{this._globalSubscription||this._addGlobalListener();const He=ae>0?this._scrolled.pipe((0,v.e)(ae)).subscribe(ve):this._scrolled.subscribe(ve);return this._scrolledCount++,()=>{He.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,g.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ae,ve)=>this.deregister(ve)),this._scrolled.complete()}ancestorScrolled(ae,ve){const He=this.getAncestorScrollContainers(ae);return this.scrolled(ve).pipe((0,b.h)(Ze=>!Ze||He.indexOf(Ze)>-1))}getAncestorScrollContainers(ae){const ve=[];return this.scrollContainers.forEach((He,Ze)=>{this._scrollableContainsElement(Ze,ae)&&ve.push(Ze)}),ve}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ae,ve){let He=(0,n.fI)(ve),Ze=ae.getElementRef().nativeElement;do{if(He==Ze)return!0}while(He=He.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ae=this._getWindow();return(0,f.R)(ae.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return G.\u0275fac=function(ae){return new(ae||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(ae,ve,He){this._platform=ae,this._change=new d.x,this._changeListener=Ze=>{this._change.next(Ze)},this._document=He,ve.runOutsideAngular(()=>{if(ae.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 ae=this._getWindow();ae.removeEventListener("resize",this._changeListener),ae.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ae={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ae}getViewportRect(){const ae=this.getViewportScrollPosition(),{width:ve,height:He}=this.getViewportSize();return{top:ae.top,left:ae.left,bottom:ae.top+He,right:ae.left+ve,height:He,width:ve}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ae=this._document,ve=this._getWindow(),He=ae.documentElement,Ze=He.getBoundingClientRect();return{top:-Ze.top||ae.body.scrollTop||ve.scrollY||He.scrollTop||0,left:-Ze.left||ae.body.scrollLeft||ve.scrollX||He.scrollLeft||0}}change(ae=20){return ae>0?this._change.pipe((0,v.e)(ae)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ae=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ae.innerWidth,height:ae.innerHeight}:{width:0,height:0}}}return G.\u0275fac=function(ae){return new(ae||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(ae){return new(ae||G)},G.\u0275mod=c.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=c.\u0275\u0275defineInjector({}),G})(),Be=(()=>{class G{}return G.\u0275fac=function(ae){return new(ae||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:()=>h});var n=a(2831),c=a(5879),d=a(2495),g=a(6232),r=a(8645);const f=(0,n.i$)({passive:!0});let h=(()=>{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,f),y.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(y,{subject:D,unlisten:()=>{y.removeEventListener("animationstart",E,f)}}),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:()=>f,DatePipe:()=>En,DecimalPipe:()=>Ot,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:()=>se,NgStyle:()=>Xe,NgSwitch:()=>Mt,NgSwitchCase:()=>jt,NgSwitchDefault:()=>ke,NgTemplateOutlet:()=>kt,NumberFormatStyle:()=>ie,NumberSymbol:()=>Ae,PRECONNECT_CHECK_BLOCKLIST:()=>bo,PathLocationStrategy:()=>x,PercentPipe:()=>C,PlatformLocation:()=>h,Plural:()=>A,SlicePipe:()=>Zt,TitleCasePipe:()=>Fi,TranslationWidth:()=>Ce,UpperCasePipe:()=>Gi,VERSION:()=>St,ViewportScroller:()=>Ht,WeekDay:()=>de,XhrFactory:()=>Vn,formatCurrency:()=>Vi,formatDate:()=>et,formatNumber:()=>xt,formatPercent:()=>Yi,getCurrencySymbol:()=>ze,getLocaleCurrencyCode:()=>tt,getLocaleCurrencyName:()=>Ge,getLocaleCurrencySymbol:()=>Qe,getLocaleDateFormat:()=>re,getLocaleDateTimeFormat:()=>ve,getLocaleDayNames:()=>pe,getLocaleDayPeriods:()=>W,getLocaleDirection:()=>Lt,getLocaleEraNames:()=>Ee,getLocaleExtraDayPeriodRules:()=>Bt,getLocaleExtraDayPeriods:()=>Tt,getLocaleFirstDayOfWeek:()=>Be,getLocaleId:()=>H,getLocaleMonthNames:()=>we,getLocaleNumberFormat:()=>Ze,getLocaleNumberSymbol:()=>He,getLocalePluralCase:()=>Nt,getLocaleTimeFormat:()=>ae,getLocaleWeekEndRange:()=>G,getNumberOfCurrencyDigits:()=>N,isPlatformBrowser:()=>ir,isPlatformServer:()=>wt,isPlatformWorkerApp:()=>vt,isPlatformWorkerUi:()=>gt,provideCloudflareLoader:()=>Oo,provideCloudinaryLoader:()=>po,provideImageKitLoader:()=>go,provideImgixLoader:()=>We,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 f=new n.InjectionToken("DocumentToken");let h=(()=>{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 h{constructor(){super(),this._doc=(0,n.inject)(f),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)(f).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,$t){const Kt=this.prepareExternalUrl(ht+_($t));this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,$t){const Kt=this.prepareExternalUrl(ht+_($t));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(h),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,$t){let Kt=this.prepareExternalUrl(ht+_($t));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,$t){let Kt=this.prepareExternalUrl(ht+_($t));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(h),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||{}),Ce=function(L){return L[L.Narrow=0]="Narrow",L[L.Abbreviated=1]="Abbreviated",L[L.Wide=2]="Wide",L[L.Short=3]="Short",L}(Ce||{}),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||{}),de=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}(de||{});function H(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.LocaleId]}function W(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.DayPeriodsFormat],Ue[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],xe);return Le($t,Z)}function pe(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.DaysFormat],Ue[n.\u0275LocaleDataIndex.DaysStandalone]],xe);return Le($t,Z)}function we(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.MonthsFormat],Ue[n.\u0275LocaleDataIndex.MonthsStandalone]],xe);return Le($t,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 ae(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.TimeFormat],xe)}function ve(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 Ge(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.CurrencyName]||null}function tt(L){return(0,n.\u0275getLocaleCurrencyCode)(L)}const Nt=n.\u0275getLocalePluralCase;function _t(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 _t(xe),(xe[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Ue=>"string"==typeof Ue?lt(Ue):[lt(Ue[0]),lt(Ue[1])])}function Tt(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L);_t(Ue);const $t=Le([Ue[n.\u0275LocaleDataIndex.ExtraData][0],Ue[n.\u0275LocaleDataIndex.ExtraData][1]],xe)||[];return Le($t,Z)||[]}function Lt(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 lt(L){const[xe,Z]=L.split(":");return{hours:+xe,minutes:+Z}}function ze(L,xe,Z="en"){const Ue=function Ct(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 K=function(L){return L[L.Short=0]="Short",L[L.ShortGMT=1]="ShortGMT",L[L.Long=2]="Long",L[L.Extended=3]="Extended",L}(K||{}),ce=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}(ce||{}),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 et(L,xe,Z,Ue){let ht=function Rt(L){if(nt(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,$t=1,Kt=1]=L.split("-").map(Un=>+Un);return Dt(ht,$t-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,$t=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 $t.call(xe,Kt,Un,ki,Hi),xe}(Ue)}const xe=new Date(L);if(!nt(xe))throw new Error(`Unable to convert "${L}" into a date`);return xe}(L);xe=_e(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=Q(Ue,ki),ht=function dt(L,xe,Z){const Ue=Z?-1:1,ht=L.getTimezoneOffset();return function be(L,xe){return(L=new Date(L.getTime())).setMinutes(L.getMinutes()+xe),L}(L,Ue*(Q(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=Gt(Te.Eras,Ce.Abbreviated);break;case"GGGG":xe=Gt(Te.Eras,Ce.Wide);break;case"GGGGG":xe=Gt(Te.Eras,Ce.Narrow);break;case"y":xe=Pt(ce.FullYear,1,0,!1,!0);break;case"yy":xe=Pt(ce.FullYear,2,0,!0,!0);break;case"yyy":xe=Pt(ce.FullYear,3,0,!1,!0);break;case"yyyy":xe=Pt(ce.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=Pt(ce.Month,1,1);break;case"MM":case"LL":xe=Pt(ce.Month,2,1);break;case"MMM":xe=Gt(Te.Months,Ce.Abbreviated);break;case"MMMM":xe=Gt(Te.Months,Ce.Wide);break;case"MMMMM":xe=Gt(Te.Months,Ce.Narrow);break;case"LLL":xe=Gt(Te.Months,Ce.Abbreviated,U.Standalone);break;case"LLLL":xe=Gt(Te.Months,Ce.Wide,U.Standalone);break;case"LLLLL":xe=Gt(Te.Months,Ce.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=Pt(ce.Date,1);break;case"dd":xe=Pt(ce.Date,2);break;case"c":case"cc":xe=Pt(ce.Day,1);break;case"ccc":xe=Gt(Te.Days,Ce.Abbreviated,U.Standalone);break;case"cccc":xe=Gt(Te.Days,Ce.Wide,U.Standalone);break;case"ccccc":xe=Gt(Te.Days,Ce.Narrow,U.Standalone);break;case"cccccc":xe=Gt(Te.Days,Ce.Short,U.Standalone);break;case"E":case"EE":case"EEE":xe=Gt(Te.Days,Ce.Abbreviated);break;case"EEEE":xe=Gt(Te.Days,Ce.Wide);break;case"EEEEE":xe=Gt(Te.Days,Ce.Narrow);break;case"EEEEEE":xe=Gt(Te.Days,Ce.Short);break;case"a":case"aa":case"aaa":xe=Gt(Te.DayPeriods,Ce.Abbreviated);break;case"aaaa":xe=Gt(Te.DayPeriods,Ce.Wide);break;case"aaaaa":xe=Gt(Te.DayPeriods,Ce.Narrow);break;case"b":case"bb":case"bbb":xe=Gt(Te.DayPeriods,Ce.Abbreviated,U.Standalone,!0);break;case"bbbb":xe=Gt(Te.DayPeriods,Ce.Wide,U.Standalone,!0);break;case"bbbbb":xe=Gt(Te.DayPeriods,Ce.Narrow,U.Standalone,!0);break;case"B":case"BB":case"BBB":xe=Gt(Te.DayPeriods,Ce.Abbreviated,U.Format,!0);break;case"BBBB":xe=Gt(Te.DayPeriods,Ce.Wide,U.Format,!0);break;case"BBBBB":xe=Gt(Te.DayPeriods,Ce.Narrow,U.Format,!0);break;case"h":xe=Pt(ce.Hours,1,-12);break;case"hh":xe=Pt(ce.Hours,2,-12);break;case"H":xe=Pt(ce.Hours,1);break;case"HH":xe=Pt(ce.Hours,2);break;case"m":xe=Pt(ce.Minutes,1);break;case"mm":xe=Pt(ce.Minutes,2);break;case"s":xe=Pt(ce.Seconds,1);break;case"ss":xe=Pt(ce.Seconds,2);break;case"S":xe=Pt(ce.FractionalSeconds,1);break;case"SS":xe=Pt(ce.FractionalSeconds,2);break;case"SSS":xe=Pt(ce.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":xe=Ke(K.Short);break;case"ZZZZZ":xe=Ke(K.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":xe=Ke(K.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":xe=Ke(K.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 _e(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=ae(L,Re.Short);break;case"mediumTime":Ue=ae(L,Re.Medium);break;case"longTime":Ue=ae(L,Re.Long);break;case"fullTime":Ue=ae(L,Re.Full);break;case"short":const ht=_e(L,"shortTime"),$t=_e(L,"shortDate");Ue=ut(ve(L,Re.Short),[ht,$t]);break;case"medium":const Kt=_e(L,"mediumTime"),Un=_e(L,"mediumDate");Ue=ut(ve(L,Re.Medium),[Kt,Un]);break;case"long":const ki=_e(L,"longTime"),Hi=_e(L,"longDate");Ue=ut(ve(L,Re.Long),[ki,Hi]);break;case"full":const Ci=_e(L,"fullTime"),Jn=_e(L,"fullDate");Ue=ut(ve(L,Re.Full),[Ci,Jn])}return Ue&&(Y[Z][xe]=Ue),Ue}function ut(L,xe){return xe&&(L=L.replace(/\{([^}]+)}/g,function(Z,Ue){return null!=xe&&Ue in xe?xe[Ue]:Z})),L}function Pe(L,xe,Z="-",Ue,ht){let $t="";(L<0||ht&&L<=0)&&(ht?L=1-L:(L=-L,$t=Z));let Kt=String(L);for(;Kt.length0||Un>-Z)&&(Un+=Z),L===ce.Hours)0===Un&&-12===Z&&(Un=12);else if(L===ce.FractionalSeconds)return function mt(L,xe){return Pe(L,3).substring(0,xe)}(Un,xe);const ki=He(Kt,Ae.MinusSign);return Pe(Un,xe,ki,Ue,ht)}}function Gt(L,xe,Z=U.Format,Ue=!1){return function(ht,$t){return function Oe(L,xe,Z,Ue,ht,$t){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($t){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 K.Short:return(ht>=0?"+":"")+Pe(Kt,2,$t)+Pe(Math.abs(ht%60),2,$t);case K.ShortGMT:return"GMT"+(ht>=0?"+":"")+Pe(Kt,1,$t);case K.Long:return"GMT"+(ht>=0?"+":"")+Pe(Kt,2,$t)+":"+Pe(Math.abs(ht%60),2,$t);case K.Extended:return 0===Ue?"Z":(ht>=0?"+":"")+Pe(Kt,2,$t)+":"+Pe(Math.abs(ht%60),2,$t);default:throw new Error(`Unknown zone width "${L}"`)}}}const he=0,ge=4;function Me(L){return Dt(L.getFullYear(),L.getMonth(),L.getDate()+(ge-L.getDay()))}function Ye(L,xe=!1){return function(Z,Ue){let ht;if(xe){const $t=new Date(Z.getFullYear(),Z.getMonth(),1).getDay()-1,Kt=Z.getDate();ht=1+Math.floor((Kt+$t)/7)}else{const $t=Me(Z),Kt=function ct(L){const xe=Dt(L,he,1).getDay();return Dt(L,0,1+(xe<=ge?ge:ge+7)-xe)}($t.getFullYear()),Un=$t.getTime()-Kt.getTime();ht=1+Math.round(Un/6048e5)}return Pe(ht,L,He(Ue,Ae.MinusSign))}}function De(L,xe=!1){return function(Z,Ue){return Pe(Me(Z).getFullYear(),L,He(Ue,Ae.MinusSign),xe)}}const F={};function Q(L,xe){L=L.replace(/:/g,"");const Z=Date.parse("Jan 01, 1970 00:00:00 "+L)/6e4;return isNaN(Z)?xe:Z}function nt(L){return L instanceof Date&&!isNaN(L.valueOf())}const Ve=/^(\d+)?\.((\d+)(-(\d+))?)?$/,yt=22,At=".",on="0",xn=";",Sn=",",_n="#",Mn="\xa4",xi="%";function fi(L,xe,Z,Ue,ht,$t,Kt=!1){let Un="",ki=!1;if(isFinite(L)){let Hi=function qt(L){let Ue,ht,$t,Kt,Un,xe=Math.abs(L)+"",Z=0;for((ht=xe.indexOf(At))>-1&&(xe=xe.replace(At,"")),($t=xe.search(/e/i))>0?(ht<0&&(ht=$t),ht+=+xe.slice($t+1),xe=xe.substring(0,$t)):ht<0&&(ht=xe.length),$t=0;xe.charAt($t)===on;$t++);if($t===(Un=xe.length))Ue=[0],ht=1;else{for(Un--;xe.charAt(Un)===on;)Un--;for(ht-=$t,Ue=[],Kt=0;$t<=Un;$t++,Kt++)Ue[Kt]=Number(xe.charAt($t))}return ht>yt&&(Ue=Ue.splice(0,yt-1),Z=ht-1,ht=1),{digits:Ue,exponent:Z,integerLen:ht}}(L);Kt&&(Hi=function pt(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($t){const pr=$t.match(Ve);if(null===pr)throw new Error(`${$t} 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 $t=Math.min(Math.max(xe,ht),Z);let Kt=$t+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=bt(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,bt(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 xt(L,xe,Z){return fi(L,bt(Ze(xe,ie.Decimal),He(xe,Ae.MinusSign)),xe,Ae.Group,Ae.Decimal,Z)}function bt(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],$t=Ue[1],Kt=-1!==ht.indexOf(At)?ht.split(At):[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(Nt(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,$t]=-1==Ue?[Z,""]:[Z.slice(0,Ue),Z.slice(Ue+1)];if(ht.trim()===xe)return decodeURIComponent($t)}return null}const $n=/\s+/,ti=[];let an=(()=>{class L{constructor(Z,Ue,ht,$t){this._iterableDiffers=Z,this._keyValueDiffers=Ue,this._ngEl=ht,this._renderer=$t,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:$t}=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)):$t?$t.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,$t,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===$t?void 0:$t);else if(null!==$t){const Un=Ue.get($t);Ue.move(Un,Kt),mi(Un,ht)}});for(let ht=0,$t=Ue.length;ht<$t;ht++){const Un=Ue.get(ht).context;Un.index=ht,Un.count=$t,Un.ngForOf=this._ngForOf}Z.forEachIdentityChange(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 Mt=(()=>{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(Mt,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(Mt,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})(),se=(()=>{class L{constructor(Z,Ue,ht,$t){this.value=Z;const Kt=!isNaN(Number(Z));$t.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,$t]=Z.split("."),Kt=-1===ht.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Ue?this._renderer.setStyle(this._ngEl.nativeElement,ht,$t?`${Ue}${$t}`: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})(),kt=(()=>{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:$t,ngTemplateOutletInjector:Kt}=this;this._viewRef=Ue.createEmbeddedView(ht,$t,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,$t){if(null==Z||""===Z||Z!=Z)return null;try{return et(Z,Ue??this.defaultOptions?.dateFormat??"mediumDate",$t||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),$t=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||$t)&&(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(!Ne(Z))return null;ht=ht||this._locale;try{return xt(ot(Z),ht,Ue)}catch($t){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(!Ne(Z))return null;ht=ht||this._locale;try{return Yi(ot(Z),ht,Ue)}catch($t){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",$t,Kt){if(!Ne(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(ot(Z),Kt,Un,Ue,$t)}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 Ne(L){return!(null==L||""===L||L!=L)}function ot(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 gt(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)(f),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 $t=ht.shadowRoot;if($t){const Kt=$t.getElementById(xe)||$t.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,$t=this.offset();this.window.scrollTo(Ue-$t[0],ht-$t[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 We=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)(f)}createPreloadLinkTag(Z,Ue,ht,$t){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"),$t&&Z.setAttribute(Kt,"imageSizes",$t),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 $t=Z?parseFloat(ht):parseFloat(ht)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:$t})} ${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($t=>$t>=640)),Ue.map($t=>`${this.callImageLoader({src:this.ngSrc,width:$t})} ${$t}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:()=>Ge,HTTP_INTERCEPTORS:()=>Lt,HttpBackend:()=>x,HttpClient:()=>ve,HttpClientJsonpModule:()=>xn,HttpClientModule:()=>on,HttpClientXsrfModule:()=>At,HttpContext:()=>Ce,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:()=>Pt,HttpXsrfTokenExtractor:()=>ge,JsonpClientBackend:()=>Dt,JsonpInterceptor:()=>ut,provideHttpClient:()=>V,withFetch:()=>yt,withInterceptors:()=>Q,withInterceptorsFromDi:()=>dt,withJsonpSupport:()=>nt,withNoXsrfProtection:()=>qe,withRequestsMadeViaParent:()=>Ve,withXsrfConfiguration:()=>Rt,\u0275HttpInterceptingHandler:()=>at,\u0275HttpInterceptorHandler:()=>at,\u0275withHttpTransferCache:()=>Yi});var n=a(5861),c=a(5879),d=a(2096),g=a(5592),r=a(2459),f=a(6328),h=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(bt){this.normalizedNames=new Map,this.lazyUpdate=null,bt?"string"==typeof bt?this.lazyInit=()=>{this.headers=new Map,bt.split("\n").forEach(pt=>{const qt=pt.indexOf(":");if(qt>0){const nn=pt.slice(0,qt),cn=nn.toLowerCase(),sn=pt.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"&&bt instanceof Headers?(this.headers=new Map,bt.forEach((pt,qt)=>{this.setHeaderEntries(qt,pt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(bt).forEach(([pt,qt])=>{this.setHeaderEntries(pt,qt)})}:this.headers=new Map}has(bt){return this.init(),this.headers.has(bt.toLowerCase())}get(bt){this.init();const pt=this.headers.get(bt.toLowerCase());return pt&&pt.length>0?pt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(bt){return this.init(),this.headers.get(bt.toLowerCase())||null}append(bt,pt){return this.clone({name:bt,value:pt,op:"a"})}set(bt,pt){return this.clone({name:bt,value:pt,op:"s"})}delete(bt,pt){return this.clone({name:bt,value:pt,op:"d"})}maybeSetNormalizedName(bt,pt){this.normalizedNames.has(pt)||this.normalizedNames.set(pt,bt)}init(){this.lazyInit&&(this.lazyInit instanceof D?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(bt=>this.applyUpdate(bt)),this.lazyUpdate=null))}copyFrom(bt){bt.init(),Array.from(bt.headers.keys()).forEach(pt=>{this.headers.set(pt,bt.headers.get(pt)),this.normalizedNames.set(pt,bt.normalizedNames.get(pt))})}clone(bt){const pt=new D;return pt.lazyInit=this.lazyInit&&this.lazyInit instanceof D?this.lazyInit:this,pt.lazyUpdate=(this.lazyUpdate||[]).concat([bt]),pt}applyUpdate(bt){const pt=bt.name.toLowerCase();switch(bt.op){case"a":case"s":let qt=bt.value;if("string"==typeof qt&&(qt=[qt]),0===qt.length)return;this.maybeSetNormalizedName(bt.name,pt);const nn=("a"===bt.op?this.headers.get(pt):void 0)||[];nn.push(...qt),this.headers.set(pt,nn);break;case"d":const cn=bt.value;if(cn){let sn=this.headers.get(pt);if(!sn)return;sn=sn.filter(Nn=>-1===cn.indexOf(Nn)),0===sn.length?(this.headers.delete(pt),this.normalizedNames.delete(pt)):this.headers.set(pt,sn)}else this.headers.delete(pt),this.normalizedNames.delete(pt)}}setHeaderEntries(bt,pt){const qt=(Array.isArray(pt)?pt:[pt]).map(cn=>cn.toString()),nn=bt.toLowerCase();this.headers.set(nn,qt),this.maybeSetNormalizedName(bt,nn)}forEach(bt){this.init(),Array.from(this.normalizedNames.keys()).forEach(pt=>bt(this.normalizedNames.get(pt),this.headers.get(pt)))}}class E{encodeKey(bt){return ee(bt)}encodeValue(bt){return ee(bt)}decodeKey(bt){return decodeURIComponent(bt)}decodeValue(bt){return decodeURIComponent(bt)}}const X=/%(\d[a-f0-9])/gi,$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ee(xt){return encodeURIComponent(xt).replace(X,(bt,pt)=>$[pt]??bt)}function ie(xt){return`${xt}`}class A{constructor(bt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=bt.encoder||new E,bt.fromString){if(bt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function I(xt,bt){const pt=new Map;return xt.length>0&&xt.replace(/^\?/,"").split("&").forEach(nn=>{const cn=nn.indexOf("="),[sn,Nn]=-1==cn?[bt.decodeKey(nn),""]:[bt.decodeKey(nn.slice(0,cn)),bt.decodeValue(nn.slice(cn+1))],wn=pt.get(sn)||[];wn.push(Nn),pt.set(sn,wn)}),pt}(bt.fromString,this.encoder)}else bt.fromObject?(this.map=new Map,Object.keys(bt.fromObject).forEach(pt=>{const qt=bt.fromObject[pt],nn=Array.isArray(qt)?qt.map(ie):[ie(qt)];this.map.set(pt,nn)})):this.map=null}has(bt){return this.init(),this.map.has(bt)}get(bt){this.init();const pt=this.map.get(bt);return pt?pt[0]:null}getAll(bt){return this.init(),this.map.get(bt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(bt,pt){return this.clone({param:bt,value:pt,op:"a"})}appendAll(bt){const pt=[];return Object.keys(bt).forEach(qt=>{const nn=bt[qt];Array.isArray(nn)?nn.forEach(cn=>{pt.push({param:qt,value:cn,op:"a"})}):pt.push({param:qt,value:nn,op:"a"})}),this.clone(pt)}set(bt,pt){return this.clone({param:bt,value:pt,op:"s"})}delete(bt,pt){return this.clone({param:bt,value:pt,op:"d"})}toString(){return this.init(),this.keys().map(bt=>{const pt=this.encoder.encodeKey(bt);return this.map.get(bt).map(qt=>pt+"="+this.encoder.encodeValue(qt)).join("&")}).filter(bt=>""!==bt).join("&")}clone(bt){const pt=new A({encoder:this.encoder});return pt.cloneFrom=this.cloneFrom||this,pt.updates=(this.updates||[]).concat(bt),pt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(bt=>this.map.set(bt,this.cloneFrom.map.get(bt))),this.updates.forEach(bt=>{switch(bt.op){case"a":case"s":const pt=("a"===bt.op?this.map.get(bt.param):void 0)||[];pt.push(ie(bt.value)),this.map.set(bt.param,pt);break;case"d":if(void 0===bt.value){this.map.delete(bt.param);break}{let qt=this.map.get(bt.param)||[];const nn=qt.indexOf(ie(bt.value));-1!==nn&&qt.splice(nn,1),qt.length>0?this.map.set(bt.param,qt):this.map.delete(bt.param)}}}),this.cloneFrom=this.updates=null)}}class U{constructor(bt){this.defaultValue=bt}}class Ce{constructor(){this.map=new Map}set(bt,pt){return this.map.set(bt,pt),this}get(bt){return this.map.has(bt)||this.map.set(bt,bt.defaultValue()),this.map.get(bt)}delete(bt){return this.map.delete(bt),this}has(bt){return this.map.has(bt)}keys(){return this.map.keys()}}function Ae(xt){return typeof ArrayBuffer<"u"&&xt instanceof ArrayBuffer}function de(xt){return typeof Blob<"u"&&xt instanceof Blob}function H(xt){return typeof FormData<"u"&&xt instanceof FormData}class pe{constructor(bt,pt,qt,nn){let cn;if(this.url=pt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=bt.toUpperCase(),function Re(xt){switch(xt){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 Ce),this.params){const sn=this.params.toString();if(0===sn.length)this.urlWithParams=pt;else{const Nn=pt.indexOf("?");this.urlWithParams=pt+(-1===Nn?"?":Nn$n.set(ti,bt.setHeaders[ti]),wn)),bt.setParams&&(Xn=Object.keys(bt.setParams).reduce(($n,ti)=>$n.set(ti,bt.setParams[ti]),Xn)),new pe(pt,qt,cn,{params:Xn,headers:wn,context:_i,reportProgress:Nn,responseType:nn,withCredentials:sn})}}var we=function(xt){return xt[xt.Sent=0]="Sent",xt[xt.UploadProgress=1]="UploadProgress",xt[xt.ResponseHeader=2]="ResponseHeader",xt[xt.DownloadProgress=3]="DownloadProgress",xt[xt.Response=4]="Response",xt[xt.User=5]="User",xt}(we||{});class Ee{constructor(bt,pt=200,qt="OK"){this.headers=bt.headers||new D,this.status=void 0!==bt.status?bt.status:pt,this.statusText=bt.statusText||qt,this.url=bt.url||null,this.ok=this.status>=200&&this.status<300}}class Be extends Ee{constructor(bt={}){super(bt),this.type=we.ResponseHeader}clone(bt={}){return new Be({headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class G extends Ee{constructor(bt={}){super(bt),this.type=we.Response,this.body=void 0!==bt.body?bt.body:null}clone(bt={}){return new G({body:void 0!==bt.body?bt.body:this.body,headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class re extends Ee{constructor(bt){super(bt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${bt.url||"(unknown url)"}`:`Http failure response for ${bt.url||"(unknown url)"}: ${bt.status} ${bt.statusText}`,this.error=bt.error||null}}function ae(xt,bt){return{body:bt,headers:xt.headers,context:xt.context,observe:xt.observe,params:xt.params,reportProgress:xt.reportProgress,responseType:xt.responseType,withCredentials:xt.withCredentials}}let ve=(()=>{class xt{constructor(pt){this.handler=pt}request(pt,qt,nn={}){let cn;if(pt instanceof pe)cn=pt;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(pt,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,f.b)(wn=>this.handler.handle(wn)));if(pt instanceof pe||"events"===nn.observe)return sn;const Nn=sn.pipe((0,h.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(pt,qt={}){return this.request("DELETE",pt,qt)}get(pt,qt={}){return this.request("GET",pt,qt)}head(pt,qt={}){return this.request("HEAD",pt,qt)}jsonp(pt,qt){return this.request("JSONP",pt,{params:(new A).append(qt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(pt,qt={}){return this.request("OPTIONS",pt,qt)}patch(pt,qt,nn={}){return this.request("PATCH",pt,ae(nn,qt))}post(pt,qt,nn={}){return this.request("POST",pt,ae(nn,qt))}put(pt,qt,nn={}){return this.request("PUT",pt,ae(nn,qt))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(y))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const He=/^\)\]\}',?\n/;function Qe(xt){if(xt.url)return xt.url;const bt="X-Request-URL".toLocaleLowerCase();return xt.headers.get(bt)}let Ge=(()=>{class xt{constructor(){this.fetchImpl=(0,c.inject)(tt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,c.inject)(c.NgZone)}handle(pt){return new g.y(qt=>{const nn=new AbortController;return this.doRequest(pt,nn.signal,qt).then(Ct,cn=>qt.error(new re({error:cn}))),()=>nn.abort()})}doRequest(pt,qt,nn){var cn=this;return(0,n.Z)(function*(){const sn=cn.createRequestInit(pt);let Nn;try{const mn=cn.fetchImpl(pt.urlWithParams,{signal:qt,...sn});(function Nt(xt){xt.then(Ct,Ct)})(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:pt.urlWithParams,headers:mn.headers}))}const wn=new D(Nn.headers),Xn=Nn.statusText,_i=Qe(Nn)??pt.urlWithParams;let $n=Nn.status,ti=null;if(pt.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,pt.reportProgress){Yn="text"===pt.responseType?(Yn??"")+(mi??=new TextDecoder).decode(Ni,{stream:!0}):void 0;const Mt=()=>nn.next({type:we.DownloadProgress,total:mn?+mn:void 0,loaded:Wn,partialText:Yn});wi?wi.run(Mt):Mt()}}}));const ri=cn.concatChunks(Tn,Wn);try{ti=cn.parseBody(pt,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)??pt.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(pt,qt){switch(pt.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(pt){const qt={},nn=pt.withCredentials?"include":void 0;if(pt.headers.forEach((cn,sn)=>qt[cn]=sn.join(",")),qt.Accept??="application/json, text/plain, */*",!qt["Content-Type"]){const cn=pt.detectContentTypeHeader();null!==cn&&(qt["Content-Type"]=cn)}return{body:pt.serializeBody(),method:pt.method,headers:qt,credentials:nn}}concatChunks(pt,qt){const nn=new Uint8Array(qt);let cn=0;for(const sn of pt)nn.set(sn,cn),cn+=sn.length;return nn}}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();class tt{}function Ct(){}function _t(xt,bt){return bt(xt)}function Bt(xt,bt){return(pt,qt)=>bt.intercept(pt,{handle:nn=>xt(nn,qt)})}const Lt=new c.InjectionToken(""),Le=new c.InjectionToken(""),lt=new c.InjectionToken("");function ze(){let xt=null;return(bt,pt)=>{null===xt&&(xt=((0,c.inject)(Lt,{optional:!0})??[]).reduceRight(Bt,_t));const qt=(0,c.inject)(c.\u0275InitialRenderPendingTasks),nn=qt.add();return xt(bt,pt).pipe((0,v.x)(()=>qt.remove(nn)))}}let oe,at=(()=>{class xt extends y{constructor(pt,qt){super(),this.backend=pt,this.injector=qt,this.chain=null,this.pendingTasks=(0,c.inject)(c.\u0275InitialRenderPendingTasks)}handle(pt){if(null===this.chain){const nn=Array.from(new Set([...this.injector.get(Le),...this.injector.get(lt,[])]));this.chain=nn.reduceRight((cn,sn)=>function Tt(xt,bt,pt){return(qt,nn)=>pt.runInContext(()=>bt(qt,cn=>xt(cn,nn)))}(cn,sn,this.injector),_t)}const qt=this.pendingTasks.add();return this.chain(pt,nn=>this.backend.handle(nn)).pipe((0,v.x)(()=>this.pendingTasks.remove(qt)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(x),c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})(),N=0;class Te{}function et(){return"object"==typeof window?window:{}}let Dt=(()=>{class xt{constructor(pt,qt){this.callbackMap=pt,this.document=qt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+N++}handle(pt){if("JSONP"!==pt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==pt.responseType)throw new Error("JSONP requests must use Json response type.");if(pt.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new g.y(qt=>{const nn=this.nextCallback(),cn=pt.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(pt){oe||(oe=this.document.implementation.createHTMLDocument()),oe.adoptNode(pt)}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(Te),c.\u0275\u0275inject(l.DOCUMENT))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();function _e(xt,bt){return"JSONP"===xt.method?(0,c.inject)(Dt).handle(xt):bt(xt)}let ut=(()=>{class xt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>_e(pt,nn=>qt.handle(nn)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const Pe=/^\)\]\}',?\n/;let Pt=(()=>{class xt{constructor(pt){this.xhrFactory=pt}handle(pt){if("JSONP"===pt.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(pt.method,pt.urlWithParams),pt.withCredentials&&(sn.withCredentials=!0),pt.headers.forEach((Tn,Rn)=>sn.setRequestHeader(Tn,Rn.join(","))),pt.headers.has("Accept")||sn.setRequestHeader("Accept","application/json, text/plain, */*"),!pt.headers.has("Content-Type")){const Tn=pt.detectContentTypeHeader();null!==Tn&&sn.setRequestHeader("Content-Type",Tn)}if(pt.responseType){const Tn=pt.responseType.toLowerCase();sn.responseType="json"!==Tn?Tn:"text"}const Nn=pt.serializeBody();let wn=null;const Xn=()=>{if(null!==wn)return wn;const Tn=sn.statusText||"OK",Rn=new D(sn.getAllResponseHeaders()),Wn=function mt(xt){return"responseURL"in xt&&xt.responseURL?xt.responseURL:/^X-Request-URL:/m.test(xt.getAllResponseHeaders())?xt.getResponseHeader("X-Request-URL"):null}(sn)||pt.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"===pt.responseType&&"string"==typeof Yn){const ri=Yn;Yn=Yn.replace(Pe,"");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"===pt.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),pt.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),pt.reportProgress&&(sn.removeEventListener("progress",an),null!==Nn&&sn.upload&&sn.upload.removeEventListener("progress",mn)),sn.readyState!==sn.DONE&&sn.abort()}})))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(l.XhrFactory))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const Ft=new c.InjectionToken("XSRF_ENABLED"),Gt="XSRF-TOKEN",Oe=new c.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Gt}),Ke="X-XSRF-TOKEN",he=new c.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Ke});class ge{}let ct=(()=>{class xt{constructor(pt,qt,nn){this.doc=pt,this.platform=qt,this.cookieName=nn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const pt=this.doc.cookie||"";return pt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.\u0275parseCookieValue)(pt,this.cookieName),this.lastCookieString=pt),this.lastToken}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(c.PLATFORM_ID),c.\u0275\u0275inject(Oe))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();function Me(xt,bt){const pt=xt.url.toLowerCase();if(!(0,c.inject)(Ft)||"GET"===xt.method||"HEAD"===xt.method||pt.startsWith("http://")||pt.startsWith("https://"))return bt(xt);const qt=(0,c.inject)(ge).getToken(),nn=(0,c.inject)(he);return null!=qt&&!xt.headers.has(nn)&&(xt=xt.clone({headers:xt.headers.set(nn,qt)})),bt(xt)}let Ye=(()=>{class xt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>Me(pt,nn=>qt.handle(nn)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();var De=function(xt){return xt[xt.Interceptors=0]="Interceptors",xt[xt.LegacyInterceptors=1]="LegacyInterceptors",xt[xt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",xt[xt.NoXsrfProtection=3]="NoXsrfProtection",xt[xt.JsonpSupport=4]="JsonpSupport",xt[xt.RequestsMadeViaParent=5]="RequestsMadeViaParent",xt[xt.Fetch=6]="Fetch",xt}(De||{});function F(xt,bt){return{\u0275kind:xt,\u0275providers:bt}}function V(...xt){const bt=[ve,Pt,at,{provide:y,useExisting:at},{provide:x,useExisting:Pt},{provide:Le,useValue:Me,multi:!0},{provide:Ft,useValue:!0},{provide:ge,useClass:ct}];for(const pt of xt)bt.push(...pt.\u0275providers);return(0,c.makeEnvironmentProviders)(bt)}function Q(xt){return F(De.Interceptors,xt.map(bt=>({provide:Le,useValue:bt,multi:!0})))}const be=new c.InjectionToken("LEGACY_INTERCEPTOR_FN");function dt(){return F(De.LegacyInterceptors,[{provide:be,useFactory:ze},{provide:Le,useExisting:be,multi:!0}])}function Rt({cookieName:xt,headerName:bt}){const pt=[];return void 0!==xt&&pt.push({provide:Oe,useValue:xt}),void 0!==bt&&pt.push({provide:he,useValue:bt}),F(De.CustomXsrfConfiguration,pt)}function qe(){return F(De.NoXsrfProtection,[{provide:Ft,useValue:!1}])}function nt(){return F(De.JsonpSupport,[Dt,{provide:Te,useFactory:et},{provide:Le,useValue:_e,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,[Ge,{provide:x,useExisting:Ge}])}let At=(()=>{class xt{static disable(){return{ngModule:xt,providers:[qe().\u0275providers]}}static withOptions(pt={}){return{ngModule:xt,providers:Rt(pt).\u0275providers}}}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[Ye,{provide:Lt,useExisting:Ye,multi:!0},{provide:ge,useClass:ct},Rt({cookieName:Gt,headerName:Ke}).\u0275providers,{provide:Ft,useValue:!0}]}),xt})(),on=(()=>{class xt{}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[V(dt())]}),xt})(),xn=(()=>{class xt{}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[nt().\u0275providers]}),xt})();const Sn=new c.InjectionToken(""),_n=["GET","HEAD"];function Mn(xt,bt){const{isCacheActive:pt}=(0,c.inject)(Sn);if(!pt||!_n.includes(xt.method))return bt(xt);const qt=(0,c.inject)(c.TransferState),nn=function fi(xt){const{params:bt,method:pt,responseType:qt,url:nn}=xt,Nn=function Vi(xt){let bt=0;for(const pt of xt)bt=Math.imul(31,bt)+pt.charCodeAt(0)<<0;return bt+=2147483648,bt.toString()}(pt+"."+qt+"."+nn+"?"+bt.keys().sort().map(wn=>`${wn}=${bt.getAll(wn)}`).join("&"));return(0,c.makeStateKey)(Nn)}(xt),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 bt(xt).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:xt.responseType})}))}function xi(xt){const bt={};for(const pt of xt.keys()){const qt=xt.getAll(pt);null!==qt&&(bt[pt]=qt)}return bt}function Yi(){return[{provide:Sn,useFactory:()=>((0,c.inject)(c.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:lt,useValue:Mn,multi:!0,deps:[c.TransferState,Sn]},{provide:c.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const xt=(0,c.inject)(c.ApplicationRef),bt=(0,c.inject)(Sn);return()=>{xt.isStable.pipe((0,_.P)(pt=>pt)).toPromise().then(()=>{bt.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:()=>ce,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:()=>dt,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:()=>bt,\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:()=>Rt,\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:()=>Pe,\u0275injectChangeDetectorRef:()=>j_,\u0275internalCreateApplication:()=>Nx,\u0275isBoundToModule:()=>w_,\u0275isEnvironmentProviders:()=>I,\u0275isInjectable:()=>lt,\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:()=>ue,\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:()=>Lt,\u0275\u0275defineNgModule:()=>se,\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:()=>Q,\u0275\u0275injectAttribute:()=>hc,\u0275\u0275invalidFactory:()=>Rm,\u0275\u0275invalidFactoryDep:()=>be,\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),f=a(2096),h=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 de(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 Lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Le(e){return ze(e,oe)||ze(e,ne)}function lt(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(K))?e[Y]:null}const oe=p({\u0275prov:p}),Y=p({\u0275inj:p}),ne=p({ngInjectableDef:p}),K=p({ngInjectorDef:p});var ce=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}(ce||{});let Te;function et(){return Te}function Dt(e){const t=Te;return Te=e,t}function _e(e,t,i){const o=Le(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&ce.Optional?null:void 0!==t?t:void de(l(e))}const Pe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Gt={},Oe="__NG_DI_FLAG__",Ke="ngTempTokenPath",ge=/\n/gm,Me="__source";let Ye;function F(e){const t=Ye;return Ye=e,t}function V(e,t=ce.Default){if(void 0===Ye)throw new ee(-203,!1);return null===Ye?_e(e,void 0,t):Ye.get(e,t&ce.Optional?null:void 0,t)}function Q(e,t=ce.Default){return(et()||V)(S(e),t)}function be(e){throw new ee(202,!1)}function dt(e,t=ce.Default){return Q(e,Rt(t))}function Rt(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 zt=8&o?Ut:null;if(zt&&-1!==qt(zt,ye,0)||2&o&&ye!==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 se(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 kt(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:kt(e.inputs,t),outputs:kt(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,Ot=10,C=11,te=12,Ne=13,ot=14,Zt=15,Pn=16,ji=17,Pi=18,Li=19,Qi=20,Ui=21,ir=22,wt=23,vt=24,gt=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(xt)?e[xt]: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=Pe.WeakRef??class je{constructor(t){this.ref=t}deref(){return this.ref}};function ue(e){}let Fe=0,it=null,It=!1;function Et(e){const t=it;return it=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===it)return;let t=it.producers.get(this.id);void 0===t?(t={consumerNode:it.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:it.trackingVersion},it.producers.set(this.id,t),this.consumers.set(it.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=it.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==it?.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=Et(this);let o;try{o=this.computation()}catch(s){o=pi,this.error=s}finally{Et(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=Et(null);try{return e()}finally{Et(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=Et(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=rr,this.watch(this.registerOnCleanup)}finally{Et(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 $t(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&ce.SkipSelf){let s=t,m=e;for(;!(s=s.parent,null!==s||i&ce.Host||(s=rc(m),null===s||(m=m[ot],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[ot],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 ye=0;ye<8;ye++)t[m+ye]=R[M+ye]|z[M+ye]}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[ot],-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(bt)&&(o=i[bt]),null==o&&(o=i[bt]=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&ce.Host?xh(s,0,o):Eh(t,i,o,s);try{const M=m(o);if(null!=M||o&ce.Optional)return M;de()}finally{q()}}else if("number"==typeof m){let M=null,R=Mh(e,t),z=Ko,ye=o&ce.Host?t[Zt][Ai]:null;for((-1===R||o&ce.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 $e=t[tn];if(Th(m,R,$e.data)){const ft=mb(R,t,i,M,o,ye);if(ft!==so)return ft}z=t[R+8],z!==Ko&&Ih(o,t[tn].data[R+8]===ye)&&Th(m,R,t)?(M=$e,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],$e=Hs(R,M,i,null==o?ni(R)&&sc:o!=M&&0!=(3&R.type),s&ce.Host&&m===R);return null!==$e?Ro(t,M,$e,R):so}function Hs(e,t,i,o,s){const m=e.providerIndexes,M=t.data,R=1048575&m,z=e.directiveStart,$e=m>>20,Ut=s?R+$e:e.directiveEnd;for(let zt=o?R:R+$e;zt=z&&rn.type===i)return zt}if(s){const zt=M[z];if(zt&&Ii(zt)&&zt.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 Ce(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,ce.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[xt]||dc(t),o=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==o;){const m=s[xt]||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($e){return s&&s($e,...R),($e.hasOwnProperty(Qo)?$e[Qo]:Object.defineProperty($e,Qo,{value:[]})[Qo]).push(z),o&&o($e),$e}}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,ye,$e){const ft=z.hasOwnProperty(Zo)?z[Zo]:Object.defineProperty(z,Zo,{value:[]})[Zo];for(;ft.length<=$e;)ft.push(null);return(ft[$e]=ft[$e]||[]).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(ye,$e){if(void 0===ye)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const ft=ye.constructor,Ut=ft.hasOwnProperty(Xo)?ft[Xo]:Object.defineProperty(ft,Xo,{value:{}})[Xo];Ut[$e]=Ut.hasOwnProperty($e)&&Ut[$e]||[],Ut[$e].unshift(R),o&&o(ye,$e,...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=Pe.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($e=>$e&&$e.type),ye=R.map($e=>$e&&pc($e.decorators));return this._zipTypesAndAnnotations(z,ye)}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=nt(qo("Inject",e=>({token:e})),-1),Gs=nt(qo("Optional"),8),Uh=nt(qo("Self"),2),Ws=nt(qo("SkipSelf"),4),Bh=nt(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=[]),ye=s.styles.length;R&&R.forEach((ft,Ut)=>{z.push(""),M.push(o(ft).then(zt=>{z[ye+Ut]=zt,R.splice(R.indexOf(ft),1),0==R.length&&(s.styleUrls=void 0)}))});const $e=Promise.all(M).then(()=>function Nb(e){Qa.delete(e)}(m));t.push($e)}),$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=gt;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,Pe.trustedTypes))try{al=Pe.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[Ot].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=Gt){if(i===Gt){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 ye of z)Hc(ye,t,i,o)}}else{if(!m)return!1;{if(null!=m.imports&&!R){let ye;o.add(s);try{Ka(m.imports,$e=>{Hc($e,t,i,o)&&(ye||=[],ye.push($e))})}finally{}void 0!==ye&&Xf(ye,t)}if(!R){const ye=or(s)||(()=>new s);t.push({provide:s,useFactory:ye,deps:Mn},{provide:Kf,useValue:s,multi:!0},{provide:is,useValue:()=>Q(s),multi:!0})}const z=m.providers;null==z||R||zc(z,$e=>{t.push($e)})}}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,ce.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=Gt,o=ce.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(pt))return t[pt](this);o=Rt(o);const s=F(this),m=Dt(void 0);try{if(!(o&ce.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&ce.Self?ul():this.parent).get(t,i=o&ce.Optional&&i===Gt?null:i)}catch(M){if("NullInjectorError"===M.name){if((M[Ke]=M[Ke]||[]).unshift(l(t)),s)throw M;return function yt(e,t,i,o){const s=e[Ke];throw t[Me]&&s.unshift(t[Me]),e.message=function At(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(ge,"\n ")}`}("\n"+e.message,s,i,o),e.ngTokenPath=s,e[Ke]=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,ce.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=()=>Q(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"===dt(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(),dt(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[gt]),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=Et(this);this.trackingVersion++;try{t(i,o)}finally{Et(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(!et()&&!function De(){return Ye}())throw new ee(-203,!1)}const Am={\u0275\u0275defineInjectable:Bt,\u0275\u0275defineInjector:Lt,\u0275\u0275inject:Q,\u0275\u0275invalidFactoryDep:be,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(xt)||Object.defineProperty(e,xt,{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=Gt,e.NULL=new Yf,e.\u0275prov=Bt({token:e,providedIn:"any",factory:()=>Q(Vc)}),e.__NG_ELEMENT_ID__=-1,e})();function ua(e,t=ce.Default){const i=dn();return null===i?Q(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,ye,$e){const ft=t.blueprint.slice();return ft[Cn]=s,ft[En]=140|o,(null!==ye||e&&2048&e[En])&&(ft[En]|=2048),Jn(ft),ft[ei]=ft[ot]=e,ft[yi]=i,ft[Ot]=M||e&&e[Ot],ft[C]=R||e&&e[C],ft[Je]=z||e&&e[Je]||null,ft[Ai]=m,ft[Li]=function Yb(){return Kb++}(),ft[ir]=$e,ft[Qi]=ye,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;mgt&&Im(e,t,gt,!1),ci(R?2:0,s),R)m.runInContext(i,o,s);else{const ye=Et(null);try{i(o,s)}finally{Et(ye)}}}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=Et(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 $e,ye=t.inputs;!R&&null!=ye&&($e=ye[o])?(yu(e,i,$e,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,ye=>{this.all.has(ye)&&this.queue.set(ye,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??dt(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=Rt(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 $e={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",zt=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,$e,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=gt;return e[o]=t,da(i,o,2,"#host",null)}(ln,zt),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 ye=m.rendererFactory.createRenderer(t,i);let $e=16;i.signals?$e=4096:i.onPush&&($e=64);const ft=_l(s,Nm(i),null,$e,s[e.index],e,m,ye,null,null,z);return R.firstCreatePass&&gu(R,e,o.length-1),bl(s,ft),s[e.index]=ft}(OE,zt,Ri,vr,ln,$e,ft);Si=ht(zn,gt),zt&&function h1(e,t,i,o){if(o)nn(e,i,["ng-version",mm.full]);else{const{attrs:s,classes:m}=function Mt(e){const t=[],i=[];let o=1,s=2;for(;o0&&Tf(e,i,m.join(" "))}}(ft,Ri,zt,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-gt}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,ye,$e]of m.matchAll(/(f|n)(\d*)/g)){const ft=parseInt($e,10)||1;R.push(ye,ft)}return[M,...R]}(e);let s;return s=i===Xc?t[Zt][Cn]:i===qc?lu(t[Zt][Cn]):di(t[Number(i)+gt]),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-gt)):(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(),ye=Di(),$e=e+gt,ft=ye.firstCreatePass?function B1(e,t,i,o,s,m,M,R,z){const ye=t.consts,$e=da(t,e,4,M||null,Ci(ye,R));pu(t,i,$e,Ci(ye,z)),Ps(t,$e);const ft=$e.tView=mu(2,$e,o,s,m,t.directiveRegistry,t.pipeRegistry,null,t.schemas,ye,null);return null!==t.queries&&(t.queries.template(t,$e),ft.queries=t.queries.embeddedTView($e)),$e}($e,ye,z,t,i,o,s,m,M):ye.data[$e];zr(ft,!1);const Ut=bp(ye,z,ft,e);Io()&&il(ye,z,Ut,ft),br(Ut,z),bl(z,z[$e]=zm(Ut,z,Ut,ft)),oi(ft)&&hu(ye,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 $t(function As(){return Zn.lFrame.contextLView}(),gt+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=gt+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],ye=Mp(m,s,z,R,t,e);s[M]=ye;const $e=oi(z);return zr(z,!0),If(R,ye,z),32!=(32&z.flags)&&Io()&&il(m,s,ye,z),0===function Nr(){return Zn.lFrame.elementDepthCount}()&&br(ye,s),function Zr(){Zn.lFrame.elementDepthCount++}(),$e&&(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+gt,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),ye=e.firstCreatePass&&Wm(e),$e=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,$e,m,!1);const Si=i.listen(kn,s,m);ft.push(m,Si),ye&&ye.push(s,ln,zn,zn+1)}}else m=Ip(o,t,$e,m,!1);const zt=o.outputs;let rn;if(Ut&&null!==zt&&(rn=zt[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),ye=m.__ngNextListenerFn__;for(;ye;)z=Tp(t,i,ye,M)&&z,ye=ye.__ngNextListenerFn__;return s&&!1===z&&M.preventDefault(),z}}function Sp(e=1){return function rt(e){return(Zn.lFrame.contextLView=function st(e,t){for(;e>0;)t=t[ot],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 $e=e[R+1];tC(e[R],t)&&(z=!0,e[R+1]=o?id($e):td($e)),R=o?Lo($e):Ho($e)}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,ye=0,$e=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)&&(ye=!0)):$e=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;ye&&(e[o+1]=td(e[o+1])),kp(e,$e,o,!0),kp(e,$e,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,$e,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],ye=Array.isArray(z),$e=ye?z[1]:z,ft=null===$e;let Ut=i[s+1];Ut===gi&&(Ut=ft?Mn:void 0);let zt=ft?mc(Ut,o):$e===o?Ut:void 0;if(ye&&!Ol(zt)&&(zt=mc(z,o)),Ol(zt)&&(R=zt,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+gt,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 ye=dn(),$e=ba(ye,e,t,i,o,s,m,M,R,z);return $e!==gi&&xo(ye,Vt(),$e),ud}function dd(e,t,i,o,s,m,M,R,z,ye,$e){const ft=dn(),Ut=ya(ft,e,t,i,o,s,m,M,R,z,ye,$e);return Ut!==gi&&xo(ft,Vt(),Ut),dd}function hd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){const zt=dn(),rn=va(zt,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut);return rn!==gi&&xo(zt,Vt(),rn),hd}function fd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){const bn=dn(),kn=Ca(bn,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn);return kn!==gi&&xo(bn,Vt(),kn),fd}function md(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){const zn=dn(),ln=Ma(zn,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){to(Ur,uo,ya(dn(),e,t,i,o,s,m,M,R,z,ye,$e),!0)}function Jp(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){to(Ur,uo,va(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut),!0)}function e0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){to(Ur,uo,Ca(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn),!0)}function t0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){to(Ur,uo,Ma(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){Jr(ya(dn(),e,t,i,o,s,m,M,R,z,ye,$e))}function c0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){Jr(va(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut))}function u0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){Jr(Ca(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn))}function d0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){Jr(Ma(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){return eo(e,ba(dn(),t,i,o,s,m,M,R,z,ye),$e,!1),yd}function vd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){return eo(e,ya(dn(),t,i,o,s,m,M,R,z,ye,$e,ft),Ut,!1),vd}function Cd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){return eo(e,va(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt),rn,!1),Cd}function Md(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){return eo(e,Ca(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn),kn,!1),Md}function xd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn,zn,ln){return eo(e,Ma(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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]=Pe.ng&&Pe.ng.common&&Pe.ng.common.locales&&Pe.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 Ge(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,zt,rn,null)}else switch(z){case Nl:const ye=t[++R],$e=t[++R];null===i[$e]&&br(i[$e]=Dc(s,ye),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&$e){case 1:const Ut=i[++ye],zt=i[++ye],rn=e.data[ft];"string"==typeof rn?_u(t[C],t[ft],null,rn,Ut,z,zt):Br(e,rn,t,Ut,z,t[C],zt,!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 $e=bs(e,z>>>2);t[$e.currentCaseLViewIndex]<0&&D0(e,$e,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 ye=Fl(R,z);o=null!==ye?R.remove[ye]: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=[],ye=[],$e=[];t.cases.push(m),t.create.push(z),t.remove.push(ye),t.update.push($e);const Ut=Rf(es()).getInertBodyElement(M),zt=Fc(Ut)||Ut;return zt?O0(e,t,i,o,z,ye,$e,zt,s,R,0):0}function O0(e,t,i,o,s,m,M,R,z,ye,$e){let ft=0,Ut=R.firstChild;for(;Ut;){const zt=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,zt),e.data[zt]=bn;const hi=rn.attributes;for(let Si=0;Si>>Or.SHIFT;let ft=e[$e];null===ft&&(ft=e[$e]=(M&Or.COMMENT)===Or.COMMENT?s.createComment(R):el(s,R)),ye&&null!==i&&No(s,i,ft,o,!1)}})(s,z.create,$e,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+gt)}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,ye=o[z]||[];if(ye.length||(z.split("|").forEach(bn=>{const kn=bn.match(hM),zn=kn?parseInt(kn[1],10):P0,ln=dM.test(bn);ye.push([zn,ln,bn])}),o[z]=ye),!ye.length)throw new Error(`i18n postprocess: unmatched placeholder - ${z}`);const $e=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 zt=new za(z,s,ua),rn=Nd(R,t,s?$e:$e+Ut,ft);-1===rn?(uc(js(ye,M),m,R),Pd(m,e,t.length),t.push(R),ye.directiveStart++,ye.directiveEnd++,s&&(ye.providerIndexes+=1048576),i.push(zt),M.push(zt)):(i[rn]=zt,M[rn]=zt)}else{const zt=Nd(R,t,$e+Ut,ft),rn=Nd(R,t,$e,$e+Ut),kn=rn>=0&&i[rn];if(s&&!kn||!s&&!(zt>=0&&i[zt])){uc(js(ye,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),ye.directiveStart++,ye.directiveEnd++,s&&(ye.providerIndexes+=1048576),i.push(zn),M.push(zn)}else Pd(m,e,zt>-1?zt:rn,V0(i[s?rn:zt],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 ye=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const $e=ye.indexOf(i);-1===$e?ye.push(i,[o,z]):ye[$e+1].push(o,z)}else ye.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(Q(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,ye=dn(),$e=Gr(ye,z,i,o,s,m);return yr(ye,z+4,M)||$e?co(ye,z+5,R?t.call(R,i,o,s,m,M):t(i,o,s,m,M)):fs(ye,z+5)}function ag(e,t,i,o,s,m,M,R,z){const ye=hr()+e,$e=dn(),ft=Gr($e,ye,i,o,s,m);return jo($e,ye+4,M,R)||ft?co($e,ye+6,z?t.call(z,i,o,s,m,M,R):t(i,o,s,m,M,R)):fs($e,ye+6)}function sg(e,t,i,o,s,m,M,R,z,ye){const $e=hr()+e,ft=dn();let Ut=Gr(ft,$e,i,o,s,m);return xl(ft,$e+4,M,R,z)||Ut?co(ft,$e+7,ye?t.call(ye,i,o,s,m,M,R,z):t(i,o,s,m,M,R,z)):fs(ft,$e+7)}function lg(e,t,i,o,s,m,M,R,z,ye,$e){const ft=hr()+e,Ut=dn(),zt=Gr(Ut,ft,i,o,s,m);return Gr(Ut,ft+4,M,R,z,ye)||zt?co(Ut,ft+8,$e?t.call($e,i,o,s,m,M,R,z,ye):t(i,o,s,m,M,R,z,ye)):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 ye=t+i;return Gr(e,ye,s,m,M,R)?co(e,ye+4,z?o.call(z,s,m,M,R):o(s,m,M,R)):xs(e,ye+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+gt,s=dn(),m=$t(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+gt,m=dn(),M=$t(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+gt,M=dn(),R=$t(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+gt,R=dn(),z=$t(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+gt,s=dn(),m=$t(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 ye=this._declarationLView[Pi];return null!==ye&&(R[Pi]=ye.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)),ye=o||this.parentInjector;if(!m&&null==z.ngModule){const kn=(M?ye:this.parentInjector).get(Vo,null);kn&&(m=kn)}const $e=gn(z.componentType??{}),ft=xg(this._lContainer,$e?.id??null),zt=z.create(ye,s,ft?.firstChild??null,m),rn=!!ft&&!Xs(this._hostTNode);return this.insertImpl(zt.hostView,R,rn),zt}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 ye=s[ei],$e=new Eg(ye,ye[Ai],ye[ei]);$e.detach($e.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,ye);e[Jt]=$e,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 ye=m[R+1],$e=t[-z];for(let ft=On;ft<$e.length;ft++){const Ut=$e[ft];Ut[Pn]===Ut[ei]&&Kd(Ut[tn],Ut,ye,o)}if(null!==$e[vn]){const ft=$e[vn];for(let Ut=0;Ut({\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:Lt,\u0275\u0275defineNgModule:se,\u0275\u0275definePipe:un,\u0275\u0275directiveInject:ua,\u0275\u0275getInheritedFactory:Sh,\u0275\u0275inject:Q,\u0275\u0275injectAttribute:hc,\u0275\u0275invalidFactory:Rm,\u0275\u0275invalidFactoryDep:be,\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,xt,{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 ye=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&ye.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&ye.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),ye.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(ye.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 ye=$r(t.imports||Mn),{directiveDefs:$e,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 ye=Go(z);for(const $e of ye.exported.directives){const ft=gn($e)||pn($e);ft&&!M.has($e)&&(M.add($e),i.push(ft))}}else{const ye=gn(z)||pn(z);ye&&i.push(ye)}}}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 ye=Go(z);for(const $e of ye.exported.pipes){const ft=si($e);ft&&!M.has($e)&&(M.add($e),o.push(ft))}}else{const ye=si(z);ye&&o.push(ye)}}}return o}}}(e,ye);i.directiveDefs=$e,i.pipeDefs=ft,i.dependencies=()=>ye.map(S)}}finally{Jd--}if(0===Jd&&Vg(),function sx(e){return void 0!==e.ngSelectorScope}(e)){const ye=Go(e.ngSelectorScope);qd(i,ye)}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,xt,{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=dt(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:()=>dt(Wl,ce.Optional|ce.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)&&Pe){let o=Pe[h_];o||(o=Pe[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 Pe.requestAnimationFrame;let t=Pe[e?"requestAnimationFrame":"setTimeout"],i=Pe[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(Pe,()=>{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=dt(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,h.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)(Q(Ir),Q(M_),Q(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 ye=R.get(la,null);let $e;z.runOutsideAngular(()=>{$e=z.onError.subscribe({next:zt=>{ye.handleError(zt)}})});const ft=()=>R.destroy(),Ut=s.get(oh);return Ut.add(ft),R.onDestroy(()=>{$e.unsubscribe(),Ut.delete(ft)}),O_(ye,z,()=>{const zt=R.get(Gl);return zt.runInitializers(),zt.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)(Q(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=dt(N_),this.zoneIsStable=dt(b_),this.componentTypes=[],this.components=[],this.isStable=dt(c_).hasPendingTasks.pipe((0,u.w)(i=>i?(0,f.of)(!1):this.zoneIsStable),(0,v.x)(),(0,h.B)()),this._injector=dt(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),ye=M.create(Ao.NULL,[],o||M.selector,R),$e=ye.location.nativeElement,ft=ye.injector.get(v_,null);return ft?.registerApplication($e),ye.onDestroy(()=>{this.detachView(ye.hostView),Yl(this.components,ye),ft?.unregisterApplication($e)}),this._loadComponent(ye),ye}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:()=>dt(la).handleError.bind(void 0)});function Bx(){const e=dt(Ir),t=dt(la);return i=>e.runOutsideAngular(()=>t.handleError(i))}let Vx=(()=>{class e{constructor(){this.zone=dt(Ir),this.applicationRef=dt(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=dt(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 $e=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],ye=R[Ai].projection[e.projection];if(Array.isArray(ye))for(let $e of ye)ch($e,i,o,s,m);else if(ye){const $e=R[ei];Wo($e[tn].data[ye.index],$e,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)(Q(Ia))},e.\u0275mod=se({type:e}),e.\u0275inj=Lt({}),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 ye=z[Cn];ye&&!ye.hasAttribute(ta)&&(gh(ye,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&&$e===o){const ft=i[i.length-1];ft[dl]??=1,ft[dl]++}else o=$e,i.push(ye)}return i}function ph(e,t,i){const o=t.index-gt;e[tu]??={},e[tu][o]=U1(t,i)}function eb(e,t){const i=t.index-gt;e[hl]??=[],e[hl].includes(i)||e[hl].push(i)}function tb(e,t){const i={},o=e[tn];for(let s=gt;s{let e=!0;return Ql()&&(e=!!dt(rs,{optional:!0})?.get(nu,null)),e&&dt(im).add("hydration"),e}},{provide:is,useValue:()=>{Ql()&&dt(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()&&dt(us)},{provide:ah,useFactory:()=>{if(Ql()&&dt(us)){const e=dt(Ia);return dt(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:()=>dt,AbstractControlDirective:()=>_t,AbstractFormGroupDirective:()=>Mt,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:()=>Rt,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:()=>nt,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 f=(()=>{class fe{constructor(J,We){this._renderer=J,this._elementRef=We,this.onChange=Xt=>{},this.onTouched=()=>{}}setProperty(J,We){this._renderer.setProperty(this._elementRef.nativeElement,J,We)}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})(),h=(()=>{class fe extends f{}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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 h{writeValue(J){this.setProperty("checked",J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.checked)})("blur",function(){return We.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 f{constructor(J,We,Xt){super(J,We),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,We){1&J&&n.\u0275\u0275listener("input",function(Dn){return We._handleInput(Dn.target.value)})("blur",function(){return We.onTouched()})("compositionstart",function(){return We._compositionStart()})("compositionend",function(Dn){return We._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(le){return $(le)}static max(le){return ee(le)}static required(le){return ie(le)}static requiredTrue(le){return A(le)}static email(le){return U(le)}static minLength(le){return Ce(le)}static maxLength(le){return Re(le)}static pattern(le){return Ae(le)}static nullValidator(le){return null}static compose(le){return G(le)}static composeAsync(le){return ae(le)}}function $(fe){return le=>{if(x(le.value)||x(fe))return null;const J=parseFloat(le.value);return!isNaN(J)&&J{if(x(le.value)||x(fe))return null;const J=parseFloat(le.value);return!isNaN(J)&&J>fe?{max:{max:fe,actual:le.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 Ce(fe){return le=>x(le.value)||!D(le.value)?null:le.value.lengthD(le.value)&&le.value.length>fe?{maxlength:{requiredLength:fe,actualLength:le.value.length}}:null}function Ae(fe){if(!fe)return de;let le,J;return"string"==typeof fe?(J="","^"!==fe.charAt(0)&&(J+="^"),J+=fe,"$"!==fe.charAt(fe.length-1)&&(J+="$"),le=new RegExp(J)):(J=fe.toString(),le=fe),We=>{if(x(We.value))return null;const Xt=We.value;return le.test(Xt)?null:{pattern:{requiredPattern:J,actualValue:Xt}}}}function de(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 le={};return fe.forEach(J=>{le=null!=J?{...le,...J}:le}),0===Object.keys(le).length?null:le}function we(fe,le){return le.map(J=>J(fe))}function Be(fe){return fe.map(le=>function Ee(fe){return!fe.validate}(le)?le:J=>le.validate(J))}function G(fe){if(!fe)return null;const le=fe.filter(H);return 0==le.length?null:function(J){return pe(we(J,le))}}function re(fe){return null!=fe?G(Be(fe)):null}function ae(fe){if(!fe)return null;const le=fe.filter(H);return 0==le.length?null:function(J){const We=we(J,le).map(W);return(0,g.D)(We).pipe((0,r.U)(pe))}}function ve(fe){return null!=fe?ae(Be(fe)):null}function He(fe,le){return null===fe?[le]:Array.isArray(fe)?[...fe,le]:[fe,le]}function Ze(fe){return fe._rawValidators}function Qe(fe){return fe._rawAsyncValidators}function Ge(fe){return fe?Array.isArray(fe)?fe:[fe]:[]}function tt(fe,le){return Array.isArray(fe)?fe.includes(le):fe===le}function Ct(fe,le){const J=Ge(le);return Ge(fe).forEach(Xt=>{tt(J,Xt)||J.push(Xt)}),J}function Nt(fe,le){return Ge(le).filter(J=>!tt(fe,J))}class _t{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(le){this._rawValidators=le||[],this._composedValidatorFn=re(this._rawValidators)}_setAsyncValidators(le){this._rawAsyncValidators=le||[],this._composedAsyncValidatorFn=ve(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(le){this._onDestroyCallbacks.push(le)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(le=>le()),this._onDestroyCallbacks=[]}reset(le=void 0){this.control&&this.control.reset(le)}hasError(le,J){return!!this.control&&this.control.hasError(le,J)}getError(le,J){return this.control?this.control.getError(le,J):null}}class Bt extends _t{get formDirective(){return null}get path(){return null}}class Tt extends _t{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Lt{constructor(le){this._cd=le}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 Lt{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,We){2&J&&n.\u0275\u0275classProp("ng-untouched",We.isUntouched)("ng-touched",We.isTouched)("ng-pristine",We.isPristine)("ng-dirty",We.isDirty)("ng-valid",We.isValid)("ng-invalid",We.isInvalid)("ng-pending",We.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})(),at=(()=>{class fe extends Lt{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,We){2&J&&n.\u0275\u0275classProp("ng-untouched",We.isUntouched)("ng-touched",We.isTouched)("ng-pristine",We.isPristine)("ng-dirty",We.isDirty)("ng-valid",We.isValid)("ng-invalid",We.isInvalid)("ng-pending",We.isPending)("ng-submitted",We.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Ke="VALID",he="INVALID",ge="PENDING",ct="DISABLED";function Me(fe){return(V(fe)?fe.validators:fe)||null}function De(fe,le){return(V(le)?le.asyncValidators:fe)||null}function V(fe){return null!=fe&&!Array.isArray(fe)&&"object"==typeof fe}function Q(fe,le,J){const We=fe.controls;if(!(le?Object.keys(We):We).length)throw new n.\u0275RuntimeError(1e3,"");if(!We[J])throw new n.\u0275RuntimeError(1001,"")}function be(fe,le,J){fe._forEachChild((We,Xt)=>{if(void 0===J[Xt])throw new n.\u0275RuntimeError(1002,"")})}class dt{constructor(le,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(le),this._assignAsyncValidators(J)}get validator(){return this._composedValidatorFn}set validator(le){this._rawValidators=this._composedValidatorFn=le}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(le){this._rawAsyncValidators=this._composedAsyncValidatorFn=le}get parent(){return this._parent}get valid(){return this.status===Ke}get invalid(){return this.status===he}get pending(){return this.status==ge}get disabled(){return this.status===ct}get enabled(){return this.status!==ct}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(le){this._assignValidators(le)}setAsyncValidators(le){this._assignAsyncValidators(le)}addValidators(le){this.setValidators(Ct(le,this._rawValidators))}addAsyncValidators(le){this.setAsyncValidators(Ct(le,this._rawAsyncValidators))}removeValidators(le){this.setValidators(Nt(le,this._rawValidators))}removeAsyncValidators(le){this.setAsyncValidators(Nt(le,this._rawAsyncValidators))}hasValidator(le){return tt(this._rawValidators,le)}hasAsyncValidator(le){return tt(this._rawAsyncValidators,le)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(le={}){this.touched=!0,this._parent&&!le.onlySelf&&this._parent.markAsTouched(le)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(le=>le.markAllAsTouched())}markAsUntouched(le={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(J=>{J.markAsUntouched({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}markAsDirty(le={}){this.pristine=!1,this._parent&&!le.onlySelf&&this._parent.markAsDirty(le)}markAsPristine(le={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(J=>{J.markAsPristine({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}markAsPending(le={}){this.status=ge,!1!==le.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!le.onlySelf&&this._parent.markAsPending(le)}disable(le={}){const J=this._parentMarkedDirty(le.onlySelf);this.status=ct,this.errors=null,this._forEachChild(We=>{We.disable({...le,onlySelf:!0})}),this._updateValue(),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...le,skipPristineCheck:J}),this._onDisabledChange.forEach(We=>We(!0))}enable(le={}){const J=this._parentMarkedDirty(le.onlySelf);this.status=Ke,this._forEachChild(We=>{We.enable({...le,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent}),this._updateAncestors({...le,skipPristineCheck:J}),this._onDisabledChange.forEach(We=>We(!1))}_updateAncestors(le){this._parent&&!le.onlySelf&&(this._parent.updateValueAndValidity(le),le.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(le){this._parent=le}getRawValue(){return this.value}updateValueAndValidity(le={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ke||this.status===ge)&&this._runAsyncValidator(le.emitEvent)),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!le.onlySelf&&this._parent.updateValueAndValidity(le)}_updateTreeValidity(le={emitEvent:!0}){this._forEachChild(J=>J._updateTreeValidity(le)),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ct:Ke}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(le){if(this.asyncValidator){this.status=ge,this._hasOwnPendingAsyncValidator=!0;const J=W(this.asyncValidator(this));this._asyncValidationSubscription=J.subscribe(We=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(We,{emitEvent:le})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(le,J={}){this.errors=le,this._updateControlsErrors(!1!==J.emitEvent)}get(le){let J=le;return null==J||(Array.isArray(J)||(J=J.split(".")),0===J.length)?null:J.reduce((We,Xt)=>We&&We._find(Xt),this)}getError(le,J){const We=J?this.get(J):this;return We&&We.errors?We.errors[le]:null}hasError(le,J){return!!this.getError(le,J)}get root(){let le=this;for(;le._parent;)le=le._parent;return le}_updateControlsErrors(le){this.status=this._calculateStatus(),le&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(le)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?ct:this.errors?he:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ge)?ge:this._anyControlsHaveStatus(he)?he:Ke}_anyControlsHaveStatus(le){return this._anyControls(J=>J.status===le)}_anyControlsDirty(){return this._anyControls(le=>le.dirty)}_anyControlsTouched(){return this._anyControls(le=>le.touched)}_updatePristine(le={}){this.pristine=!this._anyControlsDirty(),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}_updateTouched(le={}){this.touched=this._anyControlsTouched(),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}_registerOnCollectionChange(le){this._onCollectionChange=le}_setUpdateStrategy(le){V(le)&&null!=le.updateOn&&(this._updateOn=le.updateOn)}_parentMarkedDirty(le){return!le&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(le){return null}_assignValidators(le){this._rawValidators=Array.isArray(le)?le.slice():le,this._composedValidatorFn=function Ye(fe){return Array.isArray(fe)?re(fe):fe||null}(this._rawValidators)}_assignAsyncValidators(le){this._rawAsyncValidators=Array.isArray(le)?le.slice():le,this._composedAsyncValidatorFn=function F(fe){return Array.isArray(fe)?ve(fe):fe||null}(this._rawAsyncValidators)}}class Rt extends dt{constructor(le,J,We){super(Me(J),De(We,J)),this.controls=le,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(le,J){return this.controls[le]?this.controls[le]:(this.controls[le]=J,J.setParent(this),J._registerOnCollectionChange(this._onCollectionChange),J)}addControl(le,J,We={}){this.registerControl(le,J),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}removeControl(le,J={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}setControl(le,J,We={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],J&&this.registerControl(le,J),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}contains(le){return this.controls.hasOwnProperty(le)&&this.controls[le].enabled}setValue(le,J={}){be(this,0,le),Object.keys(le).forEach(We=>{Q(this,!0,We),this.controls[We].setValue(le[We],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(le,J={}){null!=le&&(Object.keys(le).forEach(We=>{const Xt=this.controls[We];Xt&&Xt.patchValue(le[We],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(le={},J={}){this._forEachChild((We,Xt)=>{We.reset(le[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this._reduceChildren({},(le,J,We)=>(le[We]=J.getRawValue(),le))}_syncPendingControls(){let le=this._reduceChildren(!1,(J,We)=>!!We._syncPendingControls()||J);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){Object.keys(this.controls).forEach(J=>{const We=this.controls[J];We&&le(We,J)})}_setUpControls(){this._forEachChild(le=>{le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(le){for(const[J,We]of Object.entries(this.controls))if(this.contains(J)&&le(We))return!0;return!1}_reduceValue(){return this._reduceChildren({},(J,We,Xt)=>((We.enabled||this.disabled)&&(J[Xt]=We.value),J))}_reduceChildren(le,J){let We=le;return this._forEachChild((Xt,Dn)=>{We=J(We,Xt,Dn)}),We}_allControlsDisabled(){for(const le of Object.keys(this.controls))if(this.controls[le].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(le){return this.controls.hasOwnProperty(le)?this.controls[le]:null}}const qe=Rt,nt=fe=>fe instanceof Rt;class Ve extends Rt{}const yt=fe=>fe instanceof Ve,At=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>on}),on="always";function xn(fe,le){return[...le.path,fe]}function Sn(fe,le,J=on){fi(fe,le),le.valueAccessor.writeValue(fe.value),(fe.disabled||"always"===J)&&le.valueAccessor.setDisabledState?.(fe.disabled),function Yi(fe,le){le.valueAccessor.registerOnChange(J=>{fe._pendingValue=J,fe._pendingChange=!0,fe._pendingDirty=!0,"change"===fe.updateOn&&bt(fe,le)})}(fe,le),function pt(fe,le){const J=(We,Xt)=>{le.valueAccessor.writeValue(We),Xt&&le.viewToModelUpdate(We)};fe.registerOnChange(J),le._registerOnDestroy(()=>{fe._unregisterOnChange(J)})}(fe,le),function xt(fe,le){le.valueAccessor.registerOnTouched(()=>{fe._pendingTouched=!0,"blur"===fe.updateOn&&fe._pendingChange&&bt(fe,le),"submit"!==fe.updateOn&&fe.markAsTouched()})}(fe,le),function xi(fe,le){if(le.valueAccessor.setDisabledState){const J=We=>{le.valueAccessor.setDisabledState(We)};fe.registerOnDisabledChange(J),le._registerOnDestroy(()=>{fe._unregisterOnDisabledChange(J)})}}(fe,le)}function _n(fe,le,J=!0){const We=()=>{};le.valueAccessor&&(le.valueAccessor.registerOnChange(We),le.valueAccessor.registerOnTouched(We)),Vi(fe,le),fe&&(le._invokeOnDestroyCallbacks(),fe._registerOnCollectionChange(()=>{}))}function Mn(fe,le){fe.forEach(J=>{J.registerOnValidatorChange&&J.registerOnValidatorChange(le)})}function fi(fe,le){const J=Ze(fe);null!==le.validator?fe.setValidators(He(J,le.validator)):"function"==typeof J&&fe.setValidators([J]);const We=Qe(fe);null!==le.asyncValidator?fe.setAsyncValidators(He(We,le.asyncValidator)):"function"==typeof We&&fe.setAsyncValidators([We]);const Xt=()=>fe.updateValueAndValidity();Mn(le._rawValidators,Xt),Mn(le._rawAsyncValidators,Xt)}function Vi(fe,le){let J=!1;if(null!==fe){if(null!==le.validator){const Xt=Ze(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==le.validator);Dn.length!==Xt.length&&(J=!0,fe.setValidators(Dn))}}if(null!==le.asyncValidator){const Xt=Qe(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==le.asyncValidator);Dn.length!==Xt.length&&(J=!0,fe.setAsyncValidators(Dn))}}}const We=()=>{};return Mn(le._rawValidators,We),Mn(le._rawAsyncValidators,We),J}function bt(fe,le){fe._pendingDirty&&fe.markAsDirty(),fe.setValue(fe._pendingValue,{emitModelToViewChange:!1}),le.viewToModelUpdate(fe._pendingValue),fe._pendingChange=!1}function qt(fe,le){fi(fe,le)}function _i(fe,le){if(!fe.hasOwnProperty("model"))return!1;const J=fe.model;return!!J.isFirstChange()||!Object.is(le,J.currentValue)}function ti(fe,le){fe._syncPendingControls(),le.forEach(J=>{const We=J.control;"submit"===We.updateOn&&We._pendingChange&&(J.viewToModelUpdate(We._pendingValue),We._pendingChange=!1)})}function an(fe,le){if(!le)return null;let J,We,Xt;return Array.isArray(le),le.forEach(Dn=>{Dn.constructor===y?J=Dn:function $n(fe){return Object.getPrototypeOf(fe.constructor)===h}(Dn)?We=Dn:Xt=Dn}),Xt||We||J||null}const Rn={provide:Bt,useExisting:(0,n.forwardRef)(()=>mi)},Wn=(()=>Promise.resolve())();let mi=(()=>{class fe extends Bt{constructor(J,We,Xt){super(),this.callSetDisabledState=Xt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Rt({},re(J),ve(We))}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 We=this._findContainer(J.path);J.control=We.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 We=this._findContainer(J.path);We&&We.removeControl(J.name),this._directives.delete(J)})}addFormGroup(J){Wn.then(()=>{const We=this._findContainer(J.path),Xt=new Rt({});qt(Xt,J),We.registerControl(J.name,Xt),Xt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(J){Wn.then(()=>{const We=this._findContainer(J.path);We&&We.removeControl(J.name)})}getFormGroup(J){return this.form.get(J.path)}updateModel(J,We){Wn.then(()=>{this.form.get(J.path).setValue(We)})}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(At,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("submit",function(Dn){return We.onSubmit(Dn)})("reset",function(){return We.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Rn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();function Yn(fe,le){const J=fe.indexOf(le);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 dt{constructor(le=null,J,We){super(Me(J),De(We,J)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(le),this._setUpdateStrategy(J),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),V(J)&&(J.nonNullable||J.initialValueIsDefault)&&(this.defaultValue=wi(le)?le.value:le)}setValue(le,J={}){this.value=this._pendingValue=le,this._onChange.length&&!1!==J.emitModelToViewChange&&this._onChange.forEach(We=>We(this.value,!1!==J.emitViewToModelChange)),this.updateValueAndValidity(J)}patchValue(le,J={}){this.setValue(le,J)}reset(le=this.defaultValue,J={}){this._applyFormState(le),this.markAsPristine(J),this.markAsUntouched(J),this.setValue(this.value,J),this._pendingChange=!1}_updateValue(){}_anyControls(le){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(le){this._onChange.push(le)}_unregisterOnChange(le){Yn(this._onChange,le)}registerOnDisabledChange(le){this._onDisabledChange.push(le)}_unregisterOnDisabledChange(le){Yn(this._onDisabledChange,le)}_forEachChild(le){}_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(le){wi(le)?(this.value=this._pendingValue=le.value,le.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=le}},ai=ri,Ni=fe=>fe instanceof ri;let Mt=(()=>{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 le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const se={provide:Bt,useExisting:(0,n.forwardRef)(()=>Xe)};let Xe=(()=>{class fe extends Mt{constructor(J,We,Xt){super(),this.name="",this._parent=J,this._setValidators(We),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([se]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const kt={provide:Tt,useExisting:(0,n.forwardRef)(()=>un)},Wt=(()=>Promise.resolve())();let un=(()=>{class fe extends Tt{constructor(J,We,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(We),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 We=J.name.previousValue;this.formDirective.removeControl({name:We,path:this._getPath(We)})}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 We=J.isDisabled.currentValue,Xt=0!==We&&(0,n.booleanAttribute)(We);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(At,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([kt]),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 h{writeValue(J){this.setProperty("value",J??"")}registerOnChange(J){this.onChange=We=>{J(""==We?null:parseFloat(We))}}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("input",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.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,We){this._accessors.push([J,We])}remove(J){for(let We=this._accessors.length-1;We>=0;--We)if(this._accessors[We][1]===J)return void this._accessors.splice(We,1)}select(J){this._accessors.forEach(We=>{this._isSameGroup(We,J)&&We[1]!==J&&We[1].fireUncheck(J.value)})}_isSameGroup(J,We){return!!J[0].control&&J[0]._parent===We._control._parent&&J[1].name===We.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 h{constructor(J,We,Xt,Dn){super(J,We),this._registry=Xt,this._injector=Dn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(At,{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,We){1&J&&n.\u0275\u0275listener("change",function(){return We.onChange()})("blur",function(){return We.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 h{writeValue(J){this.setProperty("value",parseFloat(J))}registerOnChange(J){this.onChange=We=>{J(""==We?null:parseFloat(We))}}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.value)})("input",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.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,We,Xt,Dn,Wi){super(),this._ngModelWarningConfig=Dn,this.callSetDisabledState=Wi,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(J),this._setAsyncValidators(We),this.valueAccessor=an(0,Xt)}ngOnChanges(J){if(this._isControlChanged(J)){const We=J.form.previousValue;We&&_n(We,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(At,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,We,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(We)}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 We=this.form.get(J.path);return Sn(We,J,this.callSetDisabledState),We.updateValueAndValidity({emitEvent:!1}),this.directives.push(J),We}getControl(J){return this.form.get(J.path)}removeControl(J){_n(J.control||null,J,!1),function mn(fe,le){const J=fe.indexOf(le);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,We){this.form.get(J.path).setValue(We)}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 We=J.control,Xt=this.form.get(J.path);We!==Xt&&(_n(We||null,J),Ni(Xt)&&(Sn(Xt,J,this.callSetDisabledState),J.control=Xt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(J){const We=this.form.get(J.path);qt(We,J),We.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(J){if(this.form){const We=this.form.get(J.path);We&&function nn(fe,le){return Vi(fe,le)}(We,J)&&We.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(At,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formGroup",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("submit",function(Dn){return We.onSubmit(Dn)})("reset",function(){return We.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 Mt{constructor(J,We,Xt){super(),this.name=null,this._parent=J,this._setValidators(We),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,We,Xt){super(),this.name=null,this._parent=J,this._setValidators(We),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 Ot={provide:Tt,useExisting:(0,n.forwardRef)(()=>C)};let C=(()=>{class fe extends Tt{set isDisabled(J){}constructor(J,We,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(We),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([Ot]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})();const te={provide:u,useExisting:(0,n.forwardRef)(()=>Zt),multi:!0};function Ne(fe,le){return null==fe?`${le}`:(le&&"object"==typeof le&&(le="Object"),`${fe}: ${le}`.slice(0,50))}let Zt=(()=>{class fe extends h{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=Ne(this._getOptionId(J),J);this.setProperty("value",Xt)}registerOnChange(J){this.onChange=We=>{this.value=this._getOptionValue(We),J(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(J){for(const We of this._optionMap.keys())if(this._compareWith(this._optionMap.get(We),J))return We;return null}_getOptionValue(J){const We=function ot(fe){return fe.split(":")[0]}(J);return this._optionMap.has(We)?this._optionMap.get(We):J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([te]),n.\u0275\u0275InheritDefinitionFeature]}),fe})(),Pn=(()=>{class fe{constructor(J,We,Xt){this._element=J,this._renderer=We,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(Ne(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,le){return null==fe?`${le}`:("string"==typeof le&&(le=`'${le}'`),le&&"object"==typeof le&&(le="Object"),`${fe}: ${le}`.slice(0,50))}let Ui=(()=>{class fe extends h{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(J){this._compareWith=J}writeValue(J){let We;if(this.value=J,Array.isArray(J)){const Xt=J.map(Dn=>this._getOptionId(Dn));We=(Dn,Wi)=>{Dn._setSelected(Xt.indexOf(Wi.toString())>-1)}}else We=(Xt,Dn)=>{Xt._setSelected(!1)};this._optionMap.forEach(We)}registerOnChange(J){this.onChange=We=>{const Xt=[],Dn=We.selectedOptions;if(void 0!==Dn){const Wi=Dn;for(let dr=0;dr{class fe{constructor(J,We,Xt){this._element=J,this._renderer=We,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 gt=(()=>{class fe{constructor(){this._validator=de}ngOnChanges(J){if(this.inputName in J){const We=this.normalizeInput(J[this.inputName].currentValue);this._enabled=this.enabled(We),this._validator=this._enabled?this.createValidator(We):de,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 gt{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=J=>vt(J),this.createValidator=J=>ee(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("max",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=J=>vt(J),this.createValidator=J=>$(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("min",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>ie}enabled(J){return J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("required",We._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 le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("required",We._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 gt{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>U}enabled(J){return J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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 gt{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Ce(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("minlength",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Re(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("maxlength",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=J=>J,this.createValidator=J=>Ae(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("pattern",We._enabled?We.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 dt{constructor(le,J,We){super(Me(J),De(We,J)),this.controls=le,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(le){return this.controls[this._adjustIndex(le)]}push(le,J={}){this.controls.push(le),this._registerControl(le),this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}insert(le,J,We={}){this.controls.splice(le,0,J),this._registerControl(J),this.updateValueAndValidity({emitEvent:We.emitEvent})}removeAt(le,J={}){let We=this._adjustIndex(le);We<0&&(We=0),this.controls[We]&&this.controls[We]._registerOnCollectionChange(()=>{}),this.controls.splice(We,1),this.updateValueAndValidity({emitEvent:J.emitEvent})}setControl(le,J,We={}){let Xt=this._adjustIndex(le);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:We.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(le,J={}){be(this,0,le),le.forEach((We,Xt)=>{Q(this,!1,Xt),this.at(Xt).setValue(We,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(le,J={}){null!=le&&(le.forEach((We,Xt)=>{this.at(Xt)&&this.at(Xt).patchValue(We,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(le=[],J={}){this._forEachChild((We,Xt)=>{We.reset(le[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this.controls.map(le=>le.getRawValue())}clear(le={}){this.controls.length<1||(this._forEachChild(J=>J._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:le.emitEvent}))}_adjustIndex(le){return le<0?le+this.length:le}_syncPendingControls(){let le=this.controls.reduce((J,We)=>!!We._syncPendingControls()||J,!1);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){this.controls.forEach((J,We)=>{le(J,We)})}_updateValue(){this.value=this.controls.filter(le=>le.enabled||this.disabled).map(le=>le.value)}_anyControls(le){return this.controls.some(J=>J.enabled&&le(J))}_setUpControls(){this._forEachChild(le=>this._registerControl(le))}_allControlsDisabled(){for(const le of this.controls)if(le.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(le){le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)}_find(le){return this.at(le)??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,We=null){const Xt=this._reduceControls(J);let Dn={};return po(We)?Dn=We:null!==We&&(Dn.validators=We.validator,Dn.asyncValidators=We.asyncValidator),new Rt(Xt,Dn)}record(J,We=null){const Xt=this._reduceControls(J);return new Ve(Xt,We)}control(J,We,Xt){let Dn={};return this.useNonNullable?(po(We)?Dn=We:(Dn.validators=We,Dn.asyncValidators=Xt),new ri(J,{...Dn,nonNullable:!0})):new ri(J,We,Xt)}array(J,We,Xt){const Dn=J.map(Wi=>this._createControl(Wi));return new Hr(Dn,We,Xt)}_reduceControls(J){const We={};return Object.keys(J).forEach(Xt=>{We[Xt]=this._createControl(J[Xt])}),We}_createControl(J){return J instanceof ri||J instanceof dt?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,We=null){return super.group(J,We)}control(J,We,Xt){return super.control(J,We,Xt)}array(J,We,Xt){return super.array(J,We,Xt)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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:At,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:At,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:()=>Nt,MATERIAL_SANITY_CHECKS:()=>A,MAT_DATE_FORMATS:()=>ae,MAT_DATE_LOCALE:()=>Be,MAT_DATE_LOCALE_FACTORY:()=>G,MAT_NATIVE_DATE_FORMATS:()=>Qe,MAT_OPTGROUP:()=>Gt,MAT_OPTION_PARENT_COMPONENT:()=>Pe,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Te,MatCommonModule:()=>U,MatLine:()=>_t,MatLineModule:()=>Lt,MatNativeDateModule:()=>tt,MatOptgroup:()=>Oe,MatOption:()=>ct,MatOptionModule:()=>De,MatOptionSelectionChange:()=>he,MatPseudoCheckbox:()=>_e,MatPseudoCheckboxModule:()=>ut,MatRipple:()=>et,MatRippleModule:()=>Dt,NativeDateAdapter:()=>Ze,NativeDateModule:()=>Ge,RippleRef:()=>Le,RippleRenderer:()=>K,ShowOnDirtyErrorStateMatcher:()=>Ct,VERSION:()=>X,_MatOptgroupBase:()=>Ft,_MatOptionBase:()=>ge,_countGroupLabelsBeforeOption:()=>Me,_getOptionScrollPosition:()=>Ye,defaultRippleAnimationConfig:()=>at,mixinColor:()=>H,mixinDisableRipple:()=>W,mixinDisabled:()=>de,mixinErrorState:()=>we,mixinInitialized:()=>Ee,mixinTabIndex:()=>pe,setLines:()=>Bt});var n=a(5879),c=a(4300),d=a(9388),r=a(6814),f=a(2831),h=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 Q=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",Q.disabled)("state",Q.selected?"checked":"unchecked")}}function D(F,V){if(1&F&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&F){const Q=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",Q.disabled)}}function S(F,V){if(1&F&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&F){const Q=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",Q.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(Q,be,dt){this._sanityChecks=be,this._document=dt,this._hasDoneGlobalChecks=!1,Q._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Q){return!(0,f.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Q])}}return F.\u0275fac=function(Q){return new(Q||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 de(F){return class extends F{get disabled(){return this._disabled}set disabled(V){this._disabled=(0,h.Ig)(V)}constructor(...V){super(...V),this._disabled=!1}}}function H(F,V){return class extends F{get color(){return this._color}set color(Q){const be=Q||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}constructor(...Q){super(...Q),this.defaultColor=V,this.color=V}}}function W(F){return class extends F{get disableRipple(){return this._disableRipple}set disableRipple(V){this._disableRipple=(0,h.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(Q){this._tabIndex=null!=Q?(0,h.su)(Q):this.defaultTabIndex}constructor(...Q){super(...Q),this._tabIndex=V,this.defaultTabIndex=V}}}function we(F){return class extends F{updateErrorState(){const V=this.errorState,Rt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Rt!==V&&(this.errorState=Rt,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(Q=>{this._isInitialized?this._notifySubscriber(Q):this._pendingSubscribers.push(Q)})}_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,Q){return this.getYear(V)-this.getYear(Q)||this.getMonth(V)-this.getMonth(Q)||this.getDate(V)-this.getDate(Q)}sameDate(V,Q){if(V&&Q){let be=this.isValid(V),dt=this.isValid(Q);return be&&dt?!this.compareDate(V,Q):be==dt}return V==Q}clampDate(V,Q,be){return Q&&this.compareDate(V,Q)<0?Q:be&&this.compareDate(V,be)>0?be:V}}const ae=new n.InjectionToken("mat-date-formats"),ve=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function He(F,V){const Q=Array(F);for(let be=0;be{class F extends re{constructor(Q,be){super(),this.useUtcForDisplay=!1,super.setLocale(Q)}getYear(Q){return Q.getFullYear()}getMonth(Q){return Q.getMonth()}getDate(Q){return Q.getDate()}getDayOfWeek(Q){return Q.getDay()}getMonthNames(Q){const be=new Intl.DateTimeFormat(this.locale,{month:Q,timeZone:"utc"});return He(12,dt=>this._format(be,new Date(2017,dt,1)))}getDateNames(){const Q=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return He(31,be=>this._format(Q,new Date(2017,0,be+1)))}getDayOfWeekNames(Q){const be=new Intl.DateTimeFormat(this.locale,{weekday:Q,timeZone:"utc"});return He(7,dt=>this._format(be,new Date(2017,0,dt+1)))}getYearName(Q){const be=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(be,Q)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Q){return this.getDate(this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q)+1,0))}clone(Q){return new Date(Q.getTime())}createDate(Q,be,dt){let Rt=this._createDateWithOverflow(Q,be,dt);return Rt.getMonth(),Rt}today(){return new Date}parse(Q,be){return"number"==typeof Q?new Date(Q):Q?new Date(Date.parse(Q)):null}format(Q,be){if(!this.isValid(Q))throw Error("NativeDateAdapter: Cannot format invalid date.");const dt=new Intl.DateTimeFormat(this.locale,{...be,timeZone:"utc"});return this._format(dt,Q)}addCalendarYears(Q,be){return this.addCalendarMonths(Q,12*be)}addCalendarMonths(Q,be){let dt=this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q)+be,this.getDate(Q));return this.getMonth(dt)!=((this.getMonth(Q)+be)%12+12)%12&&(dt=this._createDateWithOverflow(this.getYear(dt),this.getMonth(dt),0)),dt}addCalendarDays(Q,be){return this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q),this.getDate(Q)+be)}toIso8601(Q){return[Q.getUTCFullYear(),this._2digit(Q.getUTCMonth()+1),this._2digit(Q.getUTCDate())].join("-")}deserialize(Q){if("string"==typeof Q){if(!Q)return null;if(ve.test(Q)){let be=new Date(Q);if(this.isValid(be))return be}}return super.deserialize(Q)}isDateInstance(Q){return Q instanceof Date}isValid(Q){return!isNaN(Q.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Q,be,dt){const Rt=new Date;return Rt.setFullYear(Q,be,dt),Rt.setHours(0,0,0,0),Rt}_2digit(Q){return("00"+Q).slice(-2)}_format(Q,be){const dt=new Date;return dt.setUTCFullYear(be.getFullYear(),be.getMonth(),be.getDate()),dt.setUTCHours(be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()),Q.format(dt)}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275inject(Be,8),n.\u0275\u0275inject(f.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 Ge=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||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(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:ae,useValue:Qe}],imports:[Ge]}),F})(),Ct=(()=>{class F{isErrorState(Q,be){return!!(Q&&Q.invalid&&(Q.dirty||be&&be.submitted))}}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),Nt=(()=>{class F{isErrorState(Q,be){return!!(Q&&Q.invalid&&(Q.touched||be&&be.submitted))}}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),_t=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),F})();function Bt(F,V,Q="mat"){F.changes.pipe((0,b.O)(F)).subscribe(({length:be})=>{Tt(V,`${Q}-2-line`,!1),Tt(V,`${Q}-3-line`,!1),Tt(V,`${Q}-multi-line`,!1),2===be||3===be?Tt(V,`${Q}-${be}-line`,!0):be>3&&Tt(V,`${Q}-multi-line`,!0)})}function Tt(F,V,Q){F.nativeElement.classList.toggle(V,Q)}let Lt=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})();class Le{constructor(V,Q,be,dt=!1){this._renderer=V,this.element=Q,this.config=be,this._animationForciblyDisabledThroughCss=dt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const lt=(0,f.i$)({passive:!0,capture:!0});class ze{constructor(){this._events=new Map,this._delegateEventHandler=V=>{const Q=(0,f.sA)(V);Q&&this._events.get(V.type)?.forEach((be,dt)=>{(dt===Q||dt.contains(Q))&&be.forEach(Rt=>Rt.handleEvent(V))})}}addHandler(V,Q,be,dt){const Rt=this._events.get(Q);if(Rt){const qe=Rt.get(be);qe?qe.add(dt):Rt.set(be,new Set([dt]))}else this._events.set(Q,new Map([[be,new Set([dt])]])),V.runOutsideAngular(()=>{document.addEventListener(Q,this._delegateEventHandler,lt)})}removeHandler(V,Q,be){const dt=this._events.get(V);if(!dt)return;const Rt=dt.get(Q);Rt&&(Rt.delete(be),0===Rt.size&&dt.delete(Q),0===dt.size&&(this._events.delete(V),document.removeEventListener(V,this._delegateEventHandler,lt)))}}const at={enterDuration:225,exitDuration:150},oe=(0,f.i$)({passive:!0,capture:!0}),Y=["mousedown","touchstart"],ne=["mouseup","mouseleave","touchend","touchcancel"];class K{constructor(V,Q,be,dt){this._target=V,this._ngZone=Q,this._platform=dt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,dt.isBrowser&&(this._containerElement=(0,h.fI)(be))}fadeInRipple(V,Q,be={}){const dt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Rt={...at,...be.animation};be.centered&&(V=dt.left+dt.width/2,Q=dt.top+dt.height/2);const qe=be.radius||function ce(F,V,Q){const be=Math.max(Math.abs(F-Q.left),Math.abs(F-Q.right)),dt=Math.max(Math.abs(V-Q.top),Math.abs(V-Q.bottom));return Math.sqrt(be*be+dt*dt)}(V,Q,dt),nt=V-dt.left,Ve=Q-dt.top,yt=Rt.enterDuration,At=document.createElement("div");At.classList.add("mat-ripple-element"),At.style.left=nt-qe+"px",At.style.top=Ve-qe+"px",At.style.height=2*qe+"px",At.style.width=2*qe+"px",null!=be.color&&(At.style.backgroundColor=be.color),At.style.transitionDuration=`${yt}ms`,this._containerElement.appendChild(At);const on=window.getComputedStyle(At),Sn=on.transitionDuration,_n="none"===on.transitionProperty||"0s"===Sn||"0s, 0s"===Sn||0===dt.width&&0===dt.height,Mn=new Le(this,At,be,_n);At.style.transform="scale3d(1, 1, 1)",Mn.state=0,be.persistent||(this._mostRecentTransientRipple=Mn);let xi=null;return!_n&&(yt||Rt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const fi=()=>this._finishRippleTransition(Mn),Vi=()=>this._destroyRipple(Mn);At.addEventListener("transitionend",fi),At.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 Q=V.element,be={...at,...V.config.animation};Q.style.transitionDuration=`${be.exitDuration}ms`,Q.style.opacity="0",V.state=2,(V._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(V)}fadeOutAll(){this._getActiveRipples().forEach(V=>V.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(V=>{V.config.persistent||V.fadeOut()})}setupTriggerEvents(V){const Q=(0,h.fI)(V);!this._platform.isBrowser||!Q||Q===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Q,Y.forEach(be=>{K._eventManager.addHandler(this._ngZone,be,Q,this)}))}handleEvent(V){"mousedown"===V.type?this._onMousedown(V):"touchstart"===V.type?this._onTouchStart(V):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ne.forEach(Q=>{this._triggerElement.addEventListener(Q,this,oe)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(V){0===V.state?this._startFadeOutTransition(V):2===V.state&&this._destroyRipple(V)}_startFadeOutTransition(V){const Q=V===this._mostRecentTransientRipple,{persistent:be}=V.config;V.state=1,!be&&(!Q||!this._isPointerDown)&&V.fadeOut()}_destroyRipple(V){const Q=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!==Q&&(V.element.removeEventListener("transitionend",Q.onTransitionEnd),V.element.removeEventListener("transitioncancel",Q.onTransitionCancel)),V.element.remove()}_onMousedown(V){const Q=(0,c.X6)(V),be=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(Q=>K._eventManager.removeHandler(Q,V,this)),this._pointerUpEventsRegistered&&ne.forEach(Q=>V.removeEventListener(Q,this,oe)))}}K._eventManager=new ze;const Te=new n.InjectionToken("mat-ripple-global-options");let et=(()=>{class F{get disabled(){return this._disabled}set disabled(Q){Q&&this.fadeOutAllNonPersistent(),this._disabled=Q,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Q){this._trigger=Q,this._setupTriggerEventsIfEnabled()}constructor(Q,be,dt,Rt,qe){this._elementRef=Q,this._animationMode=qe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Rt||{},this._rippleRenderer=new K(this,be,Q,dt)}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(Q,be=0,dt){return"number"==typeof Q?this._rippleRenderer.fadeInRipple(Q,be,{...this.rippleConfig,...dt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Q})}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(f.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(Q,be){2&Q&&n.\u0275\u0275classProp("mat-ripple-unbounded",be.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(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})(),_e=(()=>{class F{constructor(Q){this._animationMode=Q,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return F.\u0275fac=function(Q){return new(Q||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(Q,be){2&Q&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===be.state)("mat-pseudo-checkbox-checked","checked"===be.state)("mat-pseudo-checkbox-disabled",be.disabled)("mat-pseudo-checkbox-minimal","minimal"===be.appearance)("mat-pseudo-checkbox-full","full"===be.appearance)("_mat-animation-noopable","NoopAnimations"===be._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(Q,be){},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})(),ut=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U]}),F})();const Pe=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),mt=de(class{});let Pt=0,Ft=(()=>{class F extends mt{constructor(Q){super(),this._labelId="mat-optgroup-label-"+Pt++,this._inert=Q?.inertGroups??!1}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(Pe,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),F})();const Gt=new n.InjectionToken("MatOptgroup");let Oe=(()=>{class F extends Ft{}return F.\u0275fac=function(){let V;return function(be){return(V||(V=n.\u0275\u0275getInheritedFactory(F)))(be||F)}}(),F.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(Q,be){2&Q&&n.\u0275\u0275attribute("role",be._inert?null:"group")("aria-disabled",be._inert?null:be.disabled.toString())("aria-labelledby",be._inert?null:be._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:Gt,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(Q,be){1&Q&&(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&Q&&(n.\u0275\u0275classProp("mdc-list-item--disabled",be.disabled),n.\u0275\u0275property("id",be._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",be.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})(),Ke=0;class he{constructor(V,Q=!1){this.source=V,this.isUserInput=Q}}let ge=(()=>{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(Q){this._disabled=(0,h.Ig)(Q)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(Q,be,dt,Rt){this._element=Q,this._changeDetectorRef=be,this._parent=dt,this.group=Rt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ke++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new v.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Q=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Q&&this._emitSelectionChangeEvent())}deselect(Q=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Q&&this._emitSelectionChangeEvent())}focus(Q,be){const dt=this._getHostElement();"function"==typeof dt.focus&&dt.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Q){(Q.keyCode===p.K5||Q.keyCode===p.L_)&&!(0,p.Vb)(Q)&&(this._selectViaInteraction(),Q.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 Q=this.viewValue;Q!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Q)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Q=!1){this.onSelectionChange.emit(new he(this,Q))}}return F.\u0275fac=function(Q){n.\u0275\u0275invalidFactory()},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,viewQuery:function(Q,be){if(1&Q&&n.\u0275\u0275viewQuery(y,7),2&Q){let dt;n.\u0275\u0275queryRefresh(dt=n.\u0275\u0275loadQuery())&&(be._text=dt.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),F})(),ct=(()=>{class F extends ge{constructor(Q,be,dt,Rt){super(Q,be,dt,Rt)}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Pe,8),n.\u0275\u0275directiveInject(Gt,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(Q,be){1&Q&&n.\u0275\u0275listener("click",function(){return be._selectViaInteraction()})("keydown",function(Rt){return be._handleKeydown(Rt)}),2&Q&&(n.\u0275\u0275hostProperty("id",be.id),n.\u0275\u0275attribute("aria-selected",be.selected)("aria-disabled",be.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",be.selected)("mat-mdc-option-multiple",be.multiple)("mat-mdc-option-active",be.active)("mdc-list-item--disabled",be.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(Q,be){1&Q&&(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&Q&&(n.\u0275\u0275property("ngIf",be.multiple),n.\u0275\u0275advance(5),n.\u0275\u0275property("ngIf",!be.multiple&&be.selected&&!be.hideSingleSelectionIndicator),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",be.group&&be.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",be._getHostElement())("matRippleDisabled",be.disabled||be.disableRipple))},dependencies:[et,r.NgIf,_e],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 Me(F,V,Q){if(Q.length){let be=V.toArray(),dt=Q.toArray(),Rt=0;for(let qe=0;qeQ+be?Math.max(0,F-be+V):Q}let De=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[Dt,r.CommonModule,U,ut]}),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:()=>kt,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>pt,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>xt,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>bt,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Vi,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>Yi,MatCalendar:()=>mi,MatCalendarBody:()=>nt,MatCalendarCell:()=>Q,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),f=a(2831),h=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)(h.MAT_RIPPLE_GLOBAL_OPTIONS,{optional:!0}),this._platform=(0,r.inject)(f.t4),this._ngZone=(0,r.inject)(r.NgZone),this._onInteraction=C=>{if(C.target===this._document)return;const Ne=C.target.closest(`[${$}]`);Ne&&(Ne.removeAttribute($),this._appendRipple(Ne))},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 Ne=new ie(C,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);Ne.rippleConfig.centered=C.hasAttribute("mat-icon-button"),new h.RippleRenderer(Ne,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 Ne=new h.MatRipple(new r.ElementRef(te),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Ne._isInitialized=!0,Ne.trigger=C,C.append(te),Ne}}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(Ot,C,te){this._button=Ot,this._globalRippleOptions=C,this._setRippleConfig(C,te)}_setRippleConfig(Ot,C){this.rippleConfig=Ot||{},"NoopAnimations"===C&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const Ce=[{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,h.mixinColor)((0,h.mixinDisabled)((0,h.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,Ne,ot){super(C),this._platform=te,this._ngZone=Ne,this._animationMode=ot,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 Ce)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,Ne,ot){super(C,te,Ne,ot)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.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,Ne,ot){super(C,te,Ne,ot)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.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:[h.MatCommonModule,h.MatRippleModule,h.MatCommonModule]}),Je})();var Ct=a(6672),Nt=a(8645),_t=a(7394),Bt=a(3019),Tt=a(2096),Lt=a(6028),Le=a(9388),lt=a(8180),ze=a(7921),at=a(2181),N=a(2495),oe=a(6825),Y=a(6223),ne=a(1043),K=a(4516);const ce=["mat-calendar-body",""];function Te(Je,Ot){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 et(Je,Ot){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,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",8)(1,"button",9),r.\u0275\u0275listener("click",function(Ne){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._cellClicked(Zt,Ne))})("focus",function(Ne){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._emitActiveDateChange(Zt,Ne))}),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=Ot.$implicit,te=Ot.index,Ne=r.\u0275\u0275nextContext().index,ot=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("width",ot._cellWidth)("padding-top",ot._cellPadding)("padding-bottom",ot._cellPadding),r.\u0275\u0275attribute("data-mat-row",Ne)("data-mat-col",te),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-disabled",!C.enabled)("mat-calendar-body-active",ot._isActiveCell(Ne,te))("mat-calendar-body-range-start",ot._isRangeStart(C.compareValue))("mat-calendar-body-range-end",ot._isRangeEnd(C.compareValue))("mat-calendar-body-in-range",ot._isInRange(C.compareValue))("mat-calendar-body-comparison-bridge-start",ot._isComparisonBridgeStart(C.compareValue,Ne,te))("mat-calendar-body-comparison-bridge-end",ot._isComparisonBridgeEnd(C.compareValue,Ne,te))("mat-calendar-body-comparison-start",ot._isComparisonStart(C.compareValue))("mat-calendar-body-comparison-end",ot._isComparisonEnd(C.compareValue))("mat-calendar-body-in-comparison-range",ot._isInComparisonRange(C.compareValue))("mat-calendar-body-preview-start",ot._isPreviewStart(C.compareValue))("mat-calendar-body-preview-end",ot._isPreviewEnd(C.compareValue))("mat-calendar-body-in-preview",ot._isInPreview(C.compareValue)),r.\u0275\u0275property("ngClass",C.cssClasses)("tabindex",ot._isActiveCell(Ne,te)?0:-1),r.\u0275\u0275attribute("aria-label",C.ariaLabel)("aria-disabled",!C.enabled||null)("aria-pressed",ot._isSelected(C.compareValue))("aria-current",ot.todayValue===C.compareValue?"date":null)("aria-describedby",ot._getDescribedby(C.compareValue)),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-selected",ot._isSelected(C.compareValue))("mat-calendar-body-comparison-identical",ot._isComparisonIdentical(C.compareValue))("mat-calendar-body-today",ot.todayValue===C.compareValue),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",C.displayValue," ")}}function _e(Je,Ot){if(1&Je&&(r.\u0275\u0275elementStart(0,"tr",5),r.\u0275\u0275template(1,et,2,6,"td",6),r.\u0275\u0275template(2,Dt,5,48,"td",7),r.\u0275\u0275elementEnd()),2&Je){const C=Ot.$implicit,te=Ot.index,Ne=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",0===te&&Ne._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",C)}}function ut(Je,Ot){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=Ot.$implicit;r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.long),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.narrow)}}const Pe=["*"];function mt(Je,Ot){}function Pt(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-month-view",5),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("_userSelection",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dateSelected(Ne))})("dragStarted",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dragStarted(Ne))})("dragEnded",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dragEnded(Ne))}),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 Ft(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-year-view",6),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("monthSelected",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._monthSelectedInYearView(Ne))})("selectedChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._goToDateInView(Ne,"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 Gt(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-multi-year-view",7),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("yearSelected",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._yearSelectedInMultiYearView(Ne))})("selectedChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._goToDateInView(Ne,"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 Oe(Je,Ot){}const Ke=["button"];function he(Je,Ot){1&Je&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg",3),r.\u0275\u0275element(1,"path",4),r.\u0275\u0275elementEnd())}const ge=[[["","matDatepickerToggleIcon",""]]],ct=["[matDatepickerToggleIcon]"],Me=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Ye=["input[matStartDate]","input[matEndDate]"];function De(Je,Ot){1&Je&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275projection(1),r.\u0275\u0275elementEnd())}let V=(()=>{class Je{constructor(){this.changes=new Nt.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 Q{constructor(Ot,C,te,Ne,ot={},Zt=Ot,Pn){this.value=Ot,this.displayValue=C,this.ariaLabel=te,this.enabled=Ne,this.cssClasses=ot,this.compareValue=Zt,this.rawValue=Pn}}let be=1;const dt=(0,f.i$)({passive:!1,capture:!0}),Rt=(0,f.i$)({passive:!0,capture:!0}),qe=(0,f.i$)({passive:!0});let nt=(()=>{class Je{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(C,te){this._elementRef=C,this._ngZone=te,this._platform=(0,r.inject)(f.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=Ne=>{if(this._skipNextFocus&&"focus"===Ne.type)this._skipNextFocus=!1;else if(Ne.target&&this.isRange){const ot=this._getCellFromElement(Ne.target);ot&&this._ngZone.run(()=>this.previewChange.emit({value:ot.enabled?ot:null,event:Ne}))}},this._touchmoveHandler=Ne=>{if(!this.isRange)return;const ot=Sn(Ne),Zt=ot?this._getCellFromElement(ot):null;ot!==Ne.target&&(this._didDragSinceMouseDown=!0),yt(Ne.target)&&Ne.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Zt?.enabled?Zt:null,event:Ne}))},this._leaveHandler=Ne=>{null!==this.previewEnd&&this.isRange&&("blur"!==Ne.type&&(this._didDragSinceMouseDown=!0),Ne.target&&this._getCellFromElement(Ne.target)&&(!Ne.relatedTarget||!this._getCellFromElement(Ne.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Ne})))},this._mousedownHandler=Ne=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const ot=Ne.target&&this._getCellFromElement(Ne.target);!ot||!this._isInRange(ot.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:ot.rawValue,event:Ne})})},this._mouseupHandler=Ne=>{if(!this.isRange)return;const ot=yt(Ne.target);ot?ot.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Zt=this._getCellFromElement(ot);this.dragEnded.emit({value:Zt?.rawValue??null,event:Ne})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Ne})})},this._touchendHandler=Ne=>{const ot=Sn(Ne);ot&&this._mouseupHandler({target:ot})},this._id="mat-calendar-body-"+be++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,te.runOutsideAngular(()=>{const Ne=C.nativeElement;Ne.addEventListener("touchmove",this._touchmoveHandler,dt),Ne.addEventListener("mouseenter",this._enterHandler,Rt),Ne.addEventListener("focus",this._enterHandler,Rt),Ne.addEventListener("mouseleave",this._leaveHandler,Rt),Ne.addEventListener("blur",this._leaveHandler,Rt),Ne.addEventListener("mousedown",this._mousedownHandler,qe),Ne.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:Ne,numCols:ot}=this;(C.rows||te)&&(this._firstRowOffset=Ne&&Ne.length&&Ne[0].length?ot-Ne[0].length:0),(C.cellAspectRatio||te||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/ot+"%"),(te||!this._cellWidth)&&(this._cellWidth=100/ot+"%")}ngOnDestroy(){const C=this._elementRef.nativeElement;C.removeEventListener("touchmove",this._touchmoveHandler,dt),C.removeEventListener("mouseenter",this._enterHandler,Rt),C.removeEventListener("focus",this._enterHandler,Rt),C.removeEventListener("mouseleave",this._leaveHandler,Rt),C.removeEventListener("blur",this._leaveHandler,Rt),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 Ne=C*this.numCols+te;return C&&(Ne-=this._firstRowOffset),Ne==this.activeCell}_focusActiveCell(C=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,lt.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 At(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 At(C,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(C,te,Ne){if(!this._isComparisonStart(C)||this._isRangeStart(C)||!this._isInRange(C))return!1;let ot=this.rows[te][Ne-1];if(!ot){const Zt=this.rows[te-1];ot=Zt&&Zt[Zt.length-1]}return ot&&!this._isRangeEnd(ot.compareValue)}_isComparisonBridgeEnd(C,te,Ne){if(!this._isComparisonEnd(C)||this._isRangeEnd(C)||!this._isInRange(C))return!1;let ot=this.rows[te][Ne+1];if(!ot){const Zt=this.rows[te+1];ot=Zt&&Zt[0]}return ot&&!this._isRangeStart(ot.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 At(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 Ne=te.getAttribute("data-mat-row"),ot=te.getAttribute("data-mat-col");if(Ne&&ot)return this.rows[parseInt(Ne)][parseInt(ot)]}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:ce,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,_e,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=Ot&&Je===C}function xn(Je,Ot,C,te){return te&&null!==Ot&&null!==C&&Ot!==C&&Je>=Ot&&Je<=C}function Sn(Je){const Ot=Je.changedTouches[0];return document.elementFromPoint(Ot.clientX,Ot.clientY)}class _n{constructor(Ot,C){this.start=Ot,this.end=C}}let Mn=(()=>{class Je{constructor(C,te){this.selection=C,this._adapter=te,this._selectionChanged=new Nt.x,this.selectionChanged=this._selectionChanged,this.selection=C}updateSelection(C,te){const Ne=this.selection;this.selection=C,this._selectionChanged.next({selection:C,source:te,oldValue:Ne})}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(h.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:Ne}=this.selection;null==te?te=C:null==Ne?Ne=C:(te=C,Ne=null),super.updateSelection(new _n(te,Ne),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(h.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();function Vi(Je,Ot){return Je||new xi(Ot)}const Yi={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],h.DateAdapter],useFactory:Vi};function xt(Je,Ot){return Je||new fi(Ot)}const bt={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],h.DateAdapter],useFactory:xt},pt=new r.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let qt=(()=>{class Je{constructor(C){this._dateAdapter=C}selectionFinished(C,te){let{start:Ne,end:ot}=te;return null==Ne?Ne=C:null==ot&&C&&this._dateAdapter.compareDate(C,Ne)>=0?ot=C:(Ne=C,ot=null),new _n(Ne,ot)}createPreview(C,te){let Ne=null,ot=null;return te.start&&!te.end&&C&&(Ne=te.start,ot=C),new _n(Ne,ot)}createDrag(C,te,Ne){let ot=te.start,Zt=te.end;if(!ot||!Zt)return null;const Pn=this._dateAdapter,ji=0!==Pn.compareDate(ot,Zt),Pi=Pn.getYear(Ne)-Pn.getYear(C),Li=Pn.getMonth(Ne)-Pn.getMonth(C),Qi=Pn.getDate(Ne)-Pn.getDate(C);return ji&&Pn.sameDate(C,te.start)?(ot=Ne,Pn.compareDate(Ne,Zt)>0&&(Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi))):ji&&Pn.sameDate(C,te.end)?(Zt=Ne,Pn.compareDate(Ne,ot)<0&&(ot=Pn.addCalendarYears(ot,Pi),ot=Pn.addCalendarMonths(ot,Li),ot=Pn.addCalendarDays(ot,Qi))):(ot=Pn.addCalendarYears(ot,Pi),ot=Pn.addCalendarMonths(ot,Li),ot=Pn.addCalendarDays(ot,Qi),Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi)),new _n(ot,Zt)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275inject(h.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();const cn={provide:pt,deps:[[new r.Optional,new r.SkipSelf,pt],h.DateAdapter],useFactory:function nn(Je,Ot){return Je||new qt(Ot)}};let Nn=(()=>{class Je{get activeDate(){return this._activeDate}set activeDate(C){const te=this._activeDate,Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne,ot,Zt){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Ne,this._dir=ot,this._rangeStrategy=Zt,this._rerenderSubscription=_t.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,Ne=this._getDateFromDayOfMonth(te);let ot,Zt;this._selected instanceof _n?(ot=this._getDateInCurrentMonth(this._selected.start),Zt=this._getDateInCurrentMonth(this._selected.end)):ot=Zt=this._getDateInCurrentMonth(this._selected),(ot!==te||Zt!==te)&&this.selectedChange.emit(Ne),this._userSelection.emit({value:Ne,event:C.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case Lt.Ku:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case Lt.VM:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case Lt.K5:case Lt.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&C.preventDefault());case Lt.hY:return void(null!=this._previewEnd&&!(0,Lt.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===Lt.L_||C.keyCode===Lt.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 Ne=te?te.rawValue:null,ot=this._rangeStrategy.createPreview(Ne,this.selected,C);if(this._previewStart=this._getCellCompareValue(ot.start),this._previewEnd=this._getCellCompareValue(ot.end),this.activeDrag&&Ne){const Zt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Ne,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 ot=this._dateAdapter.getDayOfWeekNames("long").map((Zt,Pn)=>({long:Zt,narrow:te[Pn]}));this._weekdays=ot.slice(C).concat(ot.slice(0,C))}_createWeekCells(){const C=this._dateAdapter.getNumDaysInMonth(this.activeDate),te=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Ne=0,ot=this._firstWeekOffset;Ne=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),Ne=this._dateAdapter.getMonth(C),ot=this._dateAdapter.getDate(C);return new Date(te,Ne,ot).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(h.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(Le.Is,8),r.\u0275\u0275directiveInject(pt,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-month-view"]],viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(nt,5),2&C){let Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._matCalendarBody=Ne.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,ut,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(ot){return te._dateSelected(ot)})("activeDateChange",function(ot){return te._updateActiveDate(ot)})("previewChange",function(ot){return te._previewChanged(ot)})("dragStarted",function(ot){return te.dragStarted.emit(ot)})("dragEnded",function(ot){return te._dragEnded(ot)})("keyup",function(ot){return te._handleCalendarBodyKeyup(ot)})("keydown",function(ot){return te._handleCalendarBodyKeydown(ot)}),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,nt],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 Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne){this._changeDetectorRef=C,this._dateAdapter=te,this._dir=Ne,this._rerenderSubscription=_t.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 Ne=0,ot=[];Nethis._createCellForYear(Zt))),ot=[]);this._changeDetectorRef.markForCheck()}_yearSelected(C){const te=C.value,Ne=this._dateAdapter.createDate(te,0,1),ot=this._getDateFromYear(te);this.yearSelected.emit(Ne),this.selectedChange.emit(ot)}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromYear(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Xn);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xn);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,wn-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case Lt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*-wn:-wn);break;case Lt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*wn:wn);break;case Lt.K5:case Lt.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===Lt.L_||C.keyCode===Lt.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),Ne=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(C,te,1));return this._dateAdapter.createDate(C,te,Math.min(this._dateAdapter.getDate(this.activeDate),Ne))}_createCellForYear(C){const te=this._dateAdapter.createDate(C,0,1),Ne=this._dateAdapter.getYearName(te),ot=this.dateClass?this.dateClass(te,"multi-year"):void 0;return new Q(C,Ne,Ne,this._shouldEnableYear(C),ot)}_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 Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne,ot){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Ne,this._dir=ot,this._rerenderSubscription=_t.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,Ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,1);this.monthSelected.emit(Ne);const ot=this._getDateFromMonth(te);this.selectedChange.emit(ot)}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromMonth(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case Lt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?-10:-1);break;case Lt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10:1);break;case Lt.K5:case Lt.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===Lt.L_||C.keyCode===Lt.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(Ne=>this._createCellForMonth(Ne,C[Ne]))),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),Ne=this._dateAdapter.getNumDaysInMonth(te);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,Math.min(this._dateAdapter.getDate(this.activeDate),Ne))}_createCellForMonth(C,te){const Ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,1),ot=this._dateAdapter.format(Ne,this._dateFormats.display.monthYearA11yLabel),Zt=this.dateClass?this.dateClass(Ne,"year"):void 0;return new Q(C,te.toLocaleUpperCase(),ot,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 ot=this._dateAdapter.createDate(te,C,1);this._dateAdapter.getMonth(ot)==C;ot=this._dateAdapter.addCalendarDays(ot,1))if(this.dateFilter(ot))return!0;return!1}_isYearAndMonthAfterMaxDate(C,te){if(this.maxDate){const Ne=this._dateAdapter.getYear(this.maxDate),ot=this._dateAdapter.getMonth(this.maxDate);return C>Ne||C===Ne&&te>ot}return!1}_isYearAndMonthBeforeMinDate(C,te){if(this.minDate){const Ne=this._dateAdapter.getYear(this.minDate),ot=this._dateAdapter.getMonth(this.minDate);return C{class Je{constructor(C,te,Ne,ot,Zt){this._intl=C,this.calendar=te,this._dateAdapter=Ne,this._dateFormats=ot,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),Ne=te+wn-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(te,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Ne,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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Pe,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,Ne,ot){this._dateAdapter=te,this._dateFormats=Ne,this._changeDetectorRef=ot,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 Nt.x,this._intlChanges=C.changes.subscribe(()=>{ot.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,Ne=C.maxDate&&!this._dateAdapter.sameDate(C.maxDate.previousValue,C.maxDate.currentValue)?C.maxDate:void 0,ot=te||Ne||C.dateFilter;if(ot&&!ot.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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.monthView=Ne.first),r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.yearView=Ne.first),r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.multiYearView=Ne.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,mt,0,0,"ng-template",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275template(2,Pt,1,11,"mat-month-view",2),r.\u0275\u0275template(3,Ft,1,6,"mat-year-view",3),r.\u0275\u0275template(4,Gt,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},Mt=(0,h.mixinColor)(class{constructor(Je){this._elementRef=Je}});let jt=(()=>{class Je extends Mt{constructor(C,te,Ne,ot,Zt,Pn){super(C),this._changeDetectorRef=te,this._globalModel=Ne,this._dateAdapter=ot,this._rangeSelectionStrategy=Zt,this._subscriptions=new _t.w0,this._animationDone=new Nt.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,Ne=C.value,ot=te instanceof _n;if(ot&&this._rangeSelectionStrategy){const Zt=this._rangeSelectionStrategy.selectionFinished(Ne,te,C.event);this._model.updateSelection(Zt,this)}else Ne&&(ot||!this._dateAdapter.sameDate(Ne,te))&&this._model.add(Ne);(!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(h.DateAdapter),r.\u0275\u0275directiveInject(pt,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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._calendar=Ne.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(C,te){1&C&&r.\u0275\u0275syntheticHostListener("@transformPanel.start",function(ot){return te._handleAnimationEvent(ot)})("@transformPanel.done",function(ot){return te._handleAnimationEvent(ot)}),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(ot){return te.datepicker._selectYear(ot)})("monthSelected",function(ot){return te.datepicker._selectMonth(ot)})("viewChanged",function(ot){return te.datepicker._viewChanged(ot)})("_userSelection",function(ot){return te._handleUserSelection(ot)})("_userDragDrop",function(ot){return te._handleUserDragDrop(ot)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(2,Oe,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 Ne;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!==(Ne=te._dialogLabelId)&&void 0!==Ne?Ne: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,Ne,ot,Zt,Pn,ji){this._overlay=C,this._ngZone=te,this._viewContainerRef=Ne,this._dateAdapter=Zt,this._dir=Pn,this._model=ji,this._inputStateChanges=_t.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 Nt.x,this._scrollStrategy=ot}ngOnChanges(C){const te=C.xPosition||C.yPosition;if(te&&!te.firstChange&&this._overlayRef){const Ne=this._overlayRef.getConfig().positionStrategy;Ne instanceof c._G&&(this._setConnectedPositions(Ne),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,f.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:Ne,location:ot}=this._componentRef;Ne._startExitAnimation(),Ne._animationDone.pipe((0,lt.q)(1)).subscribe(()=>{const Zt=this._document.activeElement;C&&(!Zt||Zt===this._document.activeElement||ot.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),Ne=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(Ne).subscribe(ot=>{ot&&ot.preventDefault(),this.close()}),Ne.keydownEvents().subscribe(ot=>{const Zt=ot.keyCode;(Zt===Lt.LH||Zt===Lt.JH||Zt===Lt.oh||Zt===Lt.SV||Zt===Lt.Ku||Zt===Lt.VM)&&ot.preventDefault()}),this._componentRef=Ne.attach(te),this._forwardContentValues(this._componentRef.instance),C||this._ngZone.onStable.pipe((0,lt.q)(1)).subscribe(()=>Ne.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",Ne="start"===te?"end":"start",ot="above"===this.yPosition?"bottom":"top",Zt="top"===ot?"bottom":"top";return C.withPositions([{originX:te,originY:Zt,overlayX:te,overlayY:ot},{originX:te,originY:ot,overlayX:te,overlayY:Zt},{originX:Ne,originY:Zt,overlayX:Ne,overlayY:ot},{originX:Ne,originY:ot,overlayX:Ne,overlayY:Zt}])}_getCloseStream(C){const te=["ctrlKey","shiftKey","metaKey"];return(0,Bt.T)(C.backdropClick(),C.detachments(),C.keydownEvents().pipe((0,at.h)(Ne=>Ne.keyCode===Lt.hY&&!(0,Lt.Vb)(Ne)||this.datepickerInput&&(0,Lt.Vb)(Ne,"altKey")&&Ne.keyCode===Lt.LH&&te.every(ot=>!(0,Lt.Vb)(Ne,ot)))))}}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(h.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 Ot;return function(te){return(Ot||(Ot=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(Ot,C){this.target=Ot,this.targetElement=C,this.value=this.target.value}}let se=(()=>{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),Ne=this._elementRef.nativeElement;this._disabled!==te&&(this._disabled=te,this.stateChanges.next(void 0)),te&&this._isInitialized&&Ne.blur&&Ne.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 Ne=this._getValueFromModel(te.selection);this._lastValueValid=this._isValidValue(Ne),this._cvaOnChange(Ne),this._onTouched(),this._formatValue(Ne),this.dateInput.emit(new me(this,this._elementRef.nativeElement)),this.dateChange.emit(new me(this,this._elementRef.nativeElement))}})}constructor(C,te,Ne){this._elementRef=C,this._dateAdapter=te,this._dateFormats=Ne,this.dateChange=new r.EventEmitter,this.dateInput=new r.EventEmitter,this.stateChanges=new Nt.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=_t.w0.EMPTY,this._localeSubscription=_t.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value));return!Zt||this._matchesFilter(Zt)?null:{matDatepickerFilter:!0}},this._minValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value)),Pn=this._getMinDate();return!Pn||!Zt||this._dateAdapter.compareDate(Pn,Zt)<=0?null:{matDatepickerMin:{min:Pn,actual:Zt}}},this._maxValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.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,Lt.Vb)(C,"altKey")&&C.keyCode===Lt.JH&&["ctrlKey","shiftKey","metaKey"].every(ot=>!(0,Lt.Vb)(C,ot))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),C.preventDefault())}_onInput(C){const te=this._lastValueValid;let Ne=this._dateAdapter.parse(C,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Ne),Ne=this._dateAdapter.getValidDateOrNull(Ne);const ot=!this._dateAdapter.sameDate(Ne,this.value);!Ne||ot?this._cvaOnChange(Ne):(C&&!this.value&&this._cvaOnChange(Ne),te!==this._lastValueValid&&this._validatorOnChange()),ot&&(this._assignValue(Ne),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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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,Ot){const C=Object.keys(Je);for(let te of C){const{previousValue:Ne,currentValue:ot}=Je[te];if(!Ot.isDateInstance(Ne)||!Ot.isDateInstance(ot))return!0;if(!Ot.sameDate(Ne,ot))return!0}return!1}const kt={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 se{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,Ne,ot){super(C,te,Ne),this._formField=ot,this._closedSubscription=_t.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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("blur",function(){return te._onBlur()})("keydown",function(ot){return te._onKeydown(ot)}),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([kt,Wt,{provide:K.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,Ne){this._intl=C,this._changeDetectorRef=te,this._stateChanges=_t.w0.EMPTY;const ot=Number(Ne);this.tabIndex=ot||0===ot?ot: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)(),Ne=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,Ne).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,Ne){if(1&C&&r.\u0275\u0275contentQuery(Ne,gn,5),2&C){let ot;r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._customIcon=ot.first)}},viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(Ke,5),2&C){let Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._button=Ne.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("click",function(ot){return te._open(ot)}),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:ct,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(ge),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275template(2,he,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,Ot){if(jn(Je)&&Ot){const te=(Je.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((Ne,ot)=>{const Zt=document.getElementById(ot);return Zt&&Ne.push(Zt),Ne},[]);if(te.length)return te.map(Ne=>Ti(Ne,!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(Ne=>Ti(Ne,!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,h.mixinErrorState)((()=>{class Je extends se{constructor(C,te,Ne,ot,Zt,Pn,ji,Pi){super(te,ji,Pi),this._rangeInput=C,this._elementRef=te,this._defaultErrorStateMatcher=Ne,this._injector=ot,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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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,Ne,ot,Zt,Pn,ji,Pi){super(C,te,Ne,ot,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,Ne=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;(C.keyCode===Lt.SV&&ot||C.keyCode===Lt.oh&&!ot)&&Ne.selectionStart===Ne.value.length&&Ne.selectionEnd===Ne.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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("keydown",function(ot){return te._onKeydown(ot)})("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,Ne,ot,Zt,Pn,ji,Pi){super(C,te,Ne,ot,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,Ne=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;if(C.keyCode!==Lt.ZH||Ne.value)if((C.keyCode===Lt.oh&&ot||C.keyCode===Lt.SV&&!ot)&&0===Ne.selectionStart&&0===Ne.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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("keydown",function(ot){return te._onKeydown(ot)})("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,Ne=this._endInput,ot=te&&te._matchesFilter(te.value),Zt=Ne&&Ne._matchesFilter(te.value);this._dateFilter=C,te&&te._matchesFilter(te.value)!==ot&&te._validatorOnChange(),Ne&&Ne._matchesFilter(Ne.value)!==Zt&&Ne._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,Ne,ot,Zt){this._changeDetectorRef=C,this._elementRef=te,this._dateAdapter=ot,this._formField=Zt,this._closedSubscription=_t.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 Nt.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=Ne}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(h.DateAdapter,8),r.\u0275\u0275directiveInject(ne.G_,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-input"]],contentQueries:function(C,te,Ne){if(1&C&&(r.\u0275\u0275contentQuery(Ne,Cn,5),r.\u0275\u0275contentQuery(Ne,tn,5)),2&C){let ot;r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._startInput=ot.first),r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._endInput=ot.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(Me),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275listener("cdkFocusChange",function(ot){return te._updateFocus(ot)}),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 Ot;return function(te){return(Ot||(Ot=r.\u0275\u0275getInheritedFactory(Je)))(te||Je)}}(),Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[r.\u0275\u0275ProvidersFeature([bt,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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._template=Ne.first)}},ngContentSelectors:Pe,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,h.MatCommonModule,Ct.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 f{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 f.\u0275fac=function(u){return new(u||f)},f.\u0275cmp=n.\u0275\u0275defineComponent({type:f,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}),f})(),r=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=n.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=n.\u0275\u0275defineInjector({imports:[d.MatCommonModule,d.MatCommonModule]}),f})()},1043:(Ie,B,a)=>{"use strict";a.d(B,{Bi:()=>Bt,Eo:()=>Nt,G_:()=>Lt,Lv:()=>Tt,Px:()=>Ee,TN:()=>Ct,UO:()=>_t,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"),Ct={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 Nt=(()=>{class K{}return K.\u0275fac=function(Te){return new(Te||K)},K.\u0275dir=n.\u0275\u0275defineDirective({type:K}),K})();function _t(){return Error("Placeholder attribute and child element were both specified.")}function Bt(K){return Error(`A hint was already declared for 'align="${K}"'.`)}function Tt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const Lt=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:()=>ve,MatIconModule:()=>He,MatIconRegistry:()=>Ce,getMatIconFailedToSanitizeLiteralError:()=>A,getMatIconFailedToSanitizeUrlError:()=>ie,getMatIconNameNotFoundError:()=>$,getMatIconNoHttpProviderError:()=>ee});var n=a(5879),c=a(3680),d=a(2495),g=a(6814),r=a(2096),f=a(8504),h=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,Ge,tt){this.url=Qe,this.svgText=Ge,this.options=tt}}let Ce=(()=>{class Ze{constructor(Ge,tt,Ct,Nt){this._httpClient=Ge,this._sanitizer=tt,this._errorHandler=Nt,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=Ct}addSvgIcon(Ge,tt,Ct){return this.addSvgIconInNamespace("",Ge,tt,Ct)}addSvgIconLiteral(Ge,tt,Ct){return this.addSvgIconLiteralInNamespace("",Ge,tt,Ct)}addSvgIconInNamespace(Ge,tt,Ct,Nt){return this._addSvgIconConfig(Ge,tt,new U(Ct,null,Nt))}addSvgIconResolver(Ge){return this._resolvers.push(Ge),this}addSvgIconLiteralInNamespace(Ge,tt,Ct,Nt){const _t=this._sanitizer.sanitize(n.SecurityContext.HTML,Ct);if(!_t)throw A(Ct);const Bt=X(_t);return this._addSvgIconConfig(Ge,tt,new U("",Bt,Nt))}addSvgIconSet(Ge,tt){return this.addSvgIconSetInNamespace("",Ge,tt)}addSvgIconSetLiteral(Ge,tt){return this.addSvgIconSetLiteralInNamespace("",Ge,tt)}addSvgIconSetInNamespace(Ge,tt,Ct){return this._addSvgIconSetConfig(Ge,new U(tt,null,Ct))}addSvgIconSetLiteralInNamespace(Ge,tt,Ct){const Nt=this._sanitizer.sanitize(n.SecurityContext.HTML,tt);if(!Nt)throw A(tt);const _t=X(Nt);return this._addSvgIconSetConfig(Ge,new U("",_t,Ct))}registerFontClassAlias(Ge,tt=Ge){return this._fontCssClassesByAlias.set(Ge,tt),this}classNameForFontAlias(Ge){return this._fontCssClassesByAlias.get(Ge)||Ge}setDefaultFontSetClass(...Ge){return this._defaultFontSetClass=Ge,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ge){const tt=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Ge);if(!tt)throw ie(Ge);const Ct=this._cachedIconsByUrl.get(tt);return Ct?(0,r.of)(de(Ct)):this._loadSvgIconFromConfig(new U(Ge,null)).pipe((0,v.b)(Nt=>this._cachedIconsByUrl.set(tt,Nt)),(0,b.U)(Nt=>de(Nt)))}getNamedSvgIcon(Ge,tt=""){const Ct=H(tt,Ge);let Nt=this._svgIconConfigs.get(Ct);if(Nt)return this._getSvgFromConfig(Nt);if(Nt=this._getIconConfigFromResolvers(tt,Ge),Nt)return this._svgIconConfigs.set(Ct,Nt),this._getSvgFromConfig(Nt);const _t=this._iconSetConfigs.get(tt);return _t?this._getSvgFromIconSetConfigs(Ge,_t):(0,f._)($(Ct))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ge){return Ge.svgText?(0,r.of)(de(this._svgElementFromConfig(Ge))):this._loadSvgIconFromConfig(Ge).pipe((0,b.U)(tt=>de(tt)))}_getSvgFromIconSetConfigs(Ge,tt){const Ct=this._extractIconWithNameFromAnySet(Ge,tt);if(Ct)return(0,r.of)(Ct);const Nt=tt.filter(_t=>!_t.svgText).map(_t=>this._loadSvgIconSetFromConfig(_t).pipe((0,p.K)(Bt=>{const Lt=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,_t.url)} failed: ${Bt.message}`;return this._errorHandler.handleError(new Error(Lt)),(0,r.of)(null)})));return(0,h.D)(Nt).pipe((0,b.U)(()=>{const _t=this._extractIconWithNameFromAnySet(Ge,tt);if(!_t)throw $(Ge);return _t}))}_extractIconWithNameFromAnySet(Ge,tt){for(let Ct=tt.length-1;Ct>=0;Ct--){const Nt=tt[Ct];if(Nt.svgText&&Nt.svgText.toString().indexOf(Ge)>-1){const _t=this._svgElementFromConfig(Nt),Bt=this._extractSvgIconFromSet(_t,Ge,Nt.options);if(Bt)return Bt}}return null}_loadSvgIconFromConfig(Ge){return this._fetchIcon(Ge).pipe((0,v.b)(tt=>Ge.svgText=tt),(0,b.U)(()=>this._svgElementFromConfig(Ge)))}_loadSvgIconSetFromConfig(Ge){return Ge.svgText?(0,r.of)(null):this._fetchIcon(Ge).pipe((0,v.b)(tt=>Ge.svgText=tt))}_extractSvgIconFromSet(Ge,tt,Ct){const Nt=Ge.querySelector(`[id="${tt}"]`);if(!Nt)return null;const _t=Nt.cloneNode(!0);if(_t.removeAttribute("id"),"svg"===_t.nodeName.toLowerCase())return this._setSvgAttributes(_t,Ct);if("symbol"===_t.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(_t),Ct);const Bt=this._svgElementFromString(X(""));return Bt.appendChild(_t),this._setSvgAttributes(Bt,Ct)}_svgElementFromString(Ge){const tt=this._document.createElement("DIV");tt.innerHTML=Ge;const Ct=tt.querySelector("svg");if(!Ct)throw Error(" tag not found");return Ct}_toSvgElement(Ge){const tt=this._svgElementFromString(X("")),Ct=Ge.attributes;for(let Nt=0;NtX(Lt)),(0,_.x)(()=>this._inProgressUrlFetches.delete(_t)),(0,l.B)());return this._inProgressUrlFetches.set(_t,Tt),Tt}_addSvgIconConfig(Ge,tt,Ct){return this._svgIconConfigs.set(H(Ge,tt),Ct),this}_addSvgIconSetConfig(Ge,tt){const Ct=this._iconSetConfigs.get(Ge);return Ct?Ct.push(tt):this._iconSetConfigs.set(Ge,[tt]),this}_svgElementFromConfig(Ge){if(!Ge.svgElement){const tt=this._svgElementFromString(Ge.svgText);this._setSvgAttributes(tt,Ge.options),Ge.svgElement=tt}return Ge.svgElement}_getIconConfigFromResolvers(Ge,tt){for(let Ct=0;CtQe?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(", "),ae=/^url\(['"]?#(.*?)['"]?\)$/;let ve=(()=>{class Ze extends pe{get inline(){return this._inline}set inline(Ge){this._inline=(0,d.Ig)(Ge)}get svgIcon(){return this._svgIcon}set svgIcon(Ge){Ge!==this._svgIcon&&(Ge?this._updateSvgIcon(Ge):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ge)}get fontSet(){return this._fontSet}set fontSet(Ge){const tt=this._cleanupFontValue(Ge);tt!==this._fontSet&&(this._fontSet=tt,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ge){const tt=this._cleanupFontValue(Ge);tt!==this._fontIcon&&(this._fontIcon=tt,this._updateFontIconClasses())}constructor(Ge,tt,Ct,Nt,_t,Bt){super(Ge),this._iconRegistry=tt,this._location=Nt,this._errorHandler=_t,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)),Ct||Ge.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Ge){if(!Ge)return["",""];const tt=Ge.split(":");switch(tt.length){case 1:return["",tt[0]];case 2:return tt;default:throw Error(`Invalid icon name: "${Ge}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ge=this._elementsWithExternalReferences;if(Ge&&Ge.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(Ge){this._clearSvgElement();const tt=this._location.getPathname();this._previousPath=tt,this._cacheChildrenWithExternalReferences(Ge),this._prependPathToReferences(tt),this._elementRef.nativeElement.appendChild(Ge)}_clearSvgElement(){const Ge=this._elementRef.nativeElement;let tt=Ge.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();tt--;){const Ct=Ge.childNodes[tt];(1!==Ct.nodeType||"svg"===Ct.nodeName.toLowerCase())&&Ct.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ge=this._elementRef.nativeElement,tt=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ct=>Ct.length>0);this._previousFontSetClass.forEach(Ct=>Ge.classList.remove(Ct)),tt.forEach(Ct=>Ge.classList.add(Ct)),this._previousFontSetClass=tt,this.fontIcon!==this._previousFontIconClass&&!tt.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ge.classList.remove(this._previousFontIconClass),this.fontIcon&&Ge.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ge){return"string"==typeof Ge?Ge.trim().split(" ")[0]:Ge}_prependPathToReferences(Ge){const tt=this._elementsWithExternalReferences;tt&&tt.forEach((Ct,Nt)=>{Ct.forEach(_t=>{Nt.setAttribute(_t.name,`url('${Ge}#${_t.value}')`)})})}_cacheChildrenWithExternalReferences(Ge){const tt=Ge.querySelectorAll(re),Ct=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Nt=0;Nt{const Bt=tt[Nt],Tt=Bt.getAttribute(_t),Lt=Tt?Tt.match(ae):null;if(Lt){let Le=Ct.get(Bt);Le||(Le=[],Ct.set(Bt,Le)),Le.push({name:_t,value:Lt[1]})}})}_updateSvgIcon(Ge){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ge){const[tt,Ct]=this._splitIconName(Ge);tt&&(this._svgNamespace=tt),Ct&&(this._svgName=Ct),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ct,tt).pipe((0,y.q)(1)).subscribe(Nt=>this._setSvgElement(Nt),Nt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${tt}:${Ct}! ${Nt.message}`))})}}}return Ze.\u0275fac=function(Ge){return new(Ge||Ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Ce),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(Ge,tt){2&Ge&&(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(Ge,tt){1&Ge&&(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(Ge){return new(Ge||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),f=a(3680),h=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,f.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,Ce,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,de=Ae.nodeName.toLowerCase();this._inputValueAccessor=A||Ae,this._previousNativeValue=this.value,this.id=this.id,I.IOS&&Ce.runOutsideAngular(()=>{E.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===de,this._isTextarea="textarea"===de,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(f.ErrorStateMatcher),g.\u0275\u0275directiveInject(b,10),g.\u0275\u0275directiveInject(d.Lq),g.\u0275\u0275directiveInject(g.NgZone),g.\u0275\u0275directiveInject(h.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:h.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:()=>Ct,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Nt,MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR:()=>ze,MatLegacyAutocomplete:()=>lt,MatLegacyAutocompleteModule:()=>oe,MatLegacyAutocompleteOrigin:()=>N,MatLegacyAutocompleteSelectedEvent:()=>Ee,MatLegacyAutocompleteTrigger:()=>at,getMatLegacyAutocompleteMissingPanelError:()=>Ge});var n=a(5879),c=a(3680),d=a(4678),g=a(6814),r=a(6672),f=a(9594),h=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),Ce=a(9397),Re=a(7547),Ae=a(9388);const de=["panel"];let we=0;class Ee{constructor(ne,K){this.source=ne,this.option=K}}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 ae=(()=>{class Y extends Be{get isOpen(){return this._isOpen&&this.showPanel}_setColor(K){this._color=K,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(K){this._autoActiveFirstOption=(0,u.Ig)(K)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(K){this._autoSelectActiveOption=(0,u.Ig)(K)}set classList(K){this._classList=K&&K.length?(0,u.du)(K).reduce((ce,Te)=>(ce[Te]=!0,ce),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(K,ce,Te,et){super(),this._changeDetectorRef=K,this._elementRef=ce,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=et?.SAFARI||!1,this._autoActiveFirstOption=!!Te.autoActiveFirstOption,this._autoSelectActiveOption=!!Te.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new h.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(K=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[K]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(K){this.panel&&(this.panel.nativeElement.scrollTop=K)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(K){const ce=new Ee(this,K);this.optionSelected.emit(ce)}_getPanelAriaLabelledby(K){return this.ariaLabel?null:this.ariaLabelledby?(K?K+" ":"")+this.ariaLabelledby:K}_setVisibilityClasses(K){K[this._visibleClass]=this.showPanel,K[this._hiddenClass]=!this.showPanel}_setThemeClasses(K){K["mat-primary"]="primary"===this._color,K["mat-warn"]="warn"===this._color,K["mat-accent"]="accent"===this._color}_skipPredicate(K){return K.disabled}}return Y.\u0275fac=function(K){return new(K||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(K,ce){if(1&K&&(n.\u0275\u0275viewQuery(n.TemplateRef,7),n.\u0275\u0275viewQuery(de,5)),2&K){let Te;n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ce.template=Te.first),n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ce.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(K){this.elementRef=K}}return Y.\u0275fac=function(K){return new(K||Y)(n.\u0275\u0275directiveInject(n.ElementRef))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y}),Y})();function Ge(){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 Ct(Y){return()=>Y.scrollStrategies.reposition()}const Nt={provide:tt,deps:[f.aV],useFactory:Ct};let _t=(()=>{class Y{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(K){this._autocompleteDisabled=(0,u.Ig)(K)}constructor(K,ce,Te,et,Dt,_e,ut,Pe,mt,Pt,Ft){this._element=K,this._overlay=ce,this._viewContainerRef=Te,this._zone=et,this._changeDetectorRef=Dt,this._dir=ut,this._formField=Pe,this._document=mt,this._viewportRuler=Pt,this._defaults=Ft,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 Gt=this.autocomplete?this.autocomplete.options:null;return Gt?Gt.changes.pipe((0,$.O)(Gt),(0,ee.w)(()=>(0,y.T)(...Gt.map(Oe=>Oe.onSelectionChange)))):this._zone.onStable.pipe((0,ie.q)(1),(0,ee.w)(()=>this.optionSelections))}),this._handlePanelKeydown=Gt=>{(Gt.keyCode===S.hY&&!(0,S.Vb)(Gt)||Gt.keyCode===S.LH&&(0,S.Vb)(Gt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Gt.stopPropagation(),Gt.preventDefault())},this._trackedModal=null,this._scrollStrategy=_e}ngAfterViewInit(){const K=this._getWindow();typeof K<"u"&&this._zone.runOutsideAngular(()=>K.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(K){K.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const K=this._getWindow();typeof K<"u"&&K.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)(K=>K instanceof c.MatOptionSelectionChange?K: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)(K=>{const ce=(0,v.sA)(K),Te=this._formField?this._formField._elementRef.nativeElement:null,et=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&ce!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Te||!Te.contains(ce))&&(!et||!et.contains(ce))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(ce)}))}writeValue(K){Promise.resolve(null).then(()=>this._assignOptionValue(K))}registerOnChange(K){this._onChange=K}registerOnTouched(K){this._onTouched=K}setDisabledState(K){this._element.nativeElement.disabled=K}_handleKeydown(K){const ce=K.keyCode,Te=(0,S.Vb)(K);if(ce===S.hY&&!Te&&K.preventDefault(),this.activeOption&&ce===S.K5&&this.panelOpen&&!Te)this.activeOption._selectViaInteraction(),this._resetActiveItem(),K.preventDefault();else if(this.autocomplete){const et=this.autocomplete._keyManager.activeItem,Dt=ce===S.LH||ce===S.JH;ce===S.Mf||Dt&&!Te&&this.panelOpen?this.autocomplete._keyManager.onKeydown(K):Dt&&this._canOpen()&&this.openPanel(),(Dt||this.autocomplete._keyManager.activeItem!==et)&&(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(K){let ce=K.target,Te=ce.value;"number"===ce.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===K.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(K=!1){this._formField&&"auto"===this._formField.floatLabel&&(K?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const K=this._zone.onStable.pipe((0,ie.q)(1)),ce=this.autocomplete.options.changes.pipe((0,Ce.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Re.g)(0));return(0,y.T)(K,ce).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(K){const ce=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(K):K;this._updateNativeInputValue(ce??"")}_updateNativeInputValue(K){this._formField?this._formField._control.value=K:this._element.nativeElement.value=K,this._previousValue=K}_setValueAndClose(K){const ce=K?K.source:this._pendingAutoselectedOption;ce&&(this._clearPreviousSelectedOption(ce),this._assignOptionValue(ce.value),this._onChange(ce.value),this.autocomplete._emitSelectEvent(ce),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(K,ce){this.autocomplete&&this.autocomplete.options&&this.autocomplete.options.forEach(Te=>{Te!==K&&Te.selected&&Te.deselect(ce)})}_attachOverlay(){let K=this._overlayRef;K?(this._positionStrategy.setOrigin(this._getConnectedElement()),K.updateSize({width:this._getPanelWidth()})):(this._portal=new E.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),K=this._overlay.create(this._getOverlayConfig()),this._overlayRef=K,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&K&&K.updateSize({width:this._getPanelWidth()})})),K&&!K.hasAttached()&&(K.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const ce=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&ce!==this.panelOpen&&this.autocomplete.opened.emit()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const K=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=K.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=K.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new f.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const K=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(K),this._positionStrategy=K,K}_setStrategyPositions(K){const ce=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Te=this._aboveClass,et=[{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?et:"below"===this.position?ce:[...ce,...et],K.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 K=this.autocomplete;if(K.autoActiveFirstOption){let ce=-1;for(let Te=0;Te .cdk-overlay-container [aria-modal="true"]');if(!K)return;const ce=this.autocomplete.id;this._trackedModal&&(0,h.iD)(this._trackedModal,"aria-owns",ce),(0,h.Zf)(K,"aria-owns",ce),this._trackedModal=K}_clearFromModal(){this._trackedModal&&((0,h.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return Y.\u0275fac=function(K){return new(K||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(f.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 Lt(Y,ne){if(1&Y&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()),2&Y){const K=ne.id,ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ce.id)("ngClass",ce._classList),n.\u0275\u0275attribute("aria-label",ce.ariaLabel||null)("aria-labelledby",ce._getPanelAriaLabelledby(K))}}const Le=["*"];let lt=(()=>{class Y extends ae{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Y.\u0275fac=function(){let ne;return function(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275cmp=n.\u0275\u0275defineComponent({type:Y,selectors:[["mat-autocomplete"]],contentQueries:function(K,ce,Te){if(1&K&&(n.\u0275\u0275contentQuery(Te,c.MAT_OPTGROUP,5),n.\u0275\u0275contentQuery(Te,d.MatLegacyOption,5)),2&K){let et;n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ce.optionGroups=et),n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ce.options=et)}},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(K,ce){1&K&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,Lt,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 _t{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Y.\u0275fac=function(){let ne;return function(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(K,ce){1&K&&n.\u0275\u0275listener("focusin",function(){return ce._handleFocus()})("blur",function(){return ce._onTouched()})("input",function(et){return ce._handleInput(et)})("keydown",function(et){return ce._handleKeydown(et)})("click",function(){return ce._handleClick()}),2&K&&n.\u0275\u0275attribute("autocomplete",ce.autocompleteAttribute)("role",ce.autocompleteDisabled?null:"combobox")("aria-autocomplete",ce.autocompleteDisabled?null:"list")("aria-activedescendant",ce.panelOpen&&ce.activeOption?ce.activeOption.id:null)("aria-expanded",ce.autocompleteDisabled?null:ce.panelOpen.toString())("aria-owns",ce.autocompleteDisabled||!ce.panelOpen||null==ce.autocomplete?null:ce.autocomplete.id)("aria-haspopup",ce.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(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Y})(),oe=(()=>{class Y{}return Y.\u0275fac=function(K){return new(K||Y)},Y.\u0275mod=n.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=n.\u0275\u0275defineInjector({providers:[Nt],imports:[f.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",""]],"*"],f=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],h=[[["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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(Ce,Re){2&Ce&&n.\u0275\u0275classProp("mat-card-actions-align-end","end"===Re.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),A})(),l=(()=>{class A{}return A.\u0275fac=function(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),A})(),X=(()=>{class A{constructor(Ce){this._animationMode=Ce}}return A.\u0275fac=function(Ce){return new(Ce||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(Ce,Re){2&Ce&&n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Re._animationMode)},exportAs:["matCard"],ngContentSelectors:g,decls:2,vars:0,template:function(Ce,Re){1&Ce&&(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(Ce){return new(Ce||A)},A.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:f,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(Ce,Re){1&Ce&&(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(Ce){return new(Ce||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(Ce,Re){1&Ce&&(n.\u0275\u0275projectionDef(h),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(Ce){return new(Ce||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:()=>Ce,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 f=["input"],h=["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(de){this._elementRef=de}}))));let D=(()=>{class de 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 de.\u0275fac=function(W){c.\u0275\u0275invalidFactory()},de.\u0275dir=c.\u0275\u0275defineDirective({type:de,viewQuery:function(W,pe){if(1&W&&(c.\u0275\u0275viewQuery(f,5),c.\u0275\u0275viewQuery(h,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]}),de})();const E={provide:d.NG_VALIDATORS,useExisting:(0,c.forwardRef)(()=>I),multi:!0};let I=(()=>{class de extends d.CheckboxRequiredValidator{}return de.\u0275fac=function(){let H;return function(pe){return(H||(H=c.\u0275\u0275getInheritedFactory(de)))(pe||de)}}(),de.\u0275dir=c.\u0275\u0275defineDirective({type:de,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[c.\u0275\u0275ProvidersFeature([E]),c.\u0275\u0275InheritDefinitionFeature]}),de})(),X=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=c.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=c.\u0275\u0275defineInjector({}),de})();var ee=a(7131);const ie=function(de){return{enterDuration:de}},A=["*"];class U{}const Ce={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>Re),multi:!0};let Re=(()=>{class de 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 de.\u0275fac=function(W){return new(W||de)(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))},de.\u0275cmp=c.\u0275\u0275defineComponent({type:de,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([Ce]),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}),de})(),Ae=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=c.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=c.\u0275\u0275defineInjector({imports:[g.MatRippleModule,g.MatCommonModule,ee.Q8,X,g.MatCommonModule,X]}),de})()},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 f(_,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 h(_,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,f,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1,2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(4,h,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:()=>Ge,MatLegacyFormFieldControl:()=>r.Eo,MatLegacyFormFieldModule:()=>Nt,MatLegacyHint:()=>Be,MatLegacyLabel:()=>G,MatLegacyPlaceholder:()=>re,MatLegacyPrefix:()=>tt,MatLegacySuffix:()=>Ct,_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),f=a(9388),h=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(_t,Bt){1&_t&&(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(_t,Bt){if(1&_t){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&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("cdkObserveContentDisabled","outline"!=Tt.appearance)}}function X(_t,Bt){if(1&_t&&(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&_t){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(Tt._control.placeholder)}}function $(_t,Bt){1&_t&&d.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function ee(_t,Bt){1&_t&&(d.\u0275\u0275elementStart(0,"span",23),d.\u0275\u0275text(1," *"),d.\u0275\u0275elementEnd())}function ie(_t,Bt){if(1&_t){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&_t){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(_t,Bt){1&_t&&(d.\u0275\u0275elementStart(0,"div",24),d.\u0275\u0275projection(1,4),d.\u0275\u0275elementEnd())}function U(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div",25),d.\u0275\u0275element(1,"span",26),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275classProp("mat-accent","accent"==Tt.color)("mat-warn","warn"==Tt.color)}}function Ce(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div"),d.\u0275\u0275projection(1,5),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState)}}function Re(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div",30),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("id",Tt._hintLabelId),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Tt.hintLabel)}}function Ae(_t,Bt){if(1&_t&&(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&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",Tt.hintLabel)}}const de=["*",[["","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 _t{constructor(Tt,Lt){this.id="mat-error-"+W++,Tt||Lt.nativeElement.setAttribute("aria-live","polite")}}return _t.\u0275fac=function(Tt){return new(Tt||_t)(d.\u0275\u0275injectAttribute("aria-live"),d.\u0275\u0275directiveInject(d.ElementRef))},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(Tt,Lt){2&Tt&&d.\u0275\u0275attribute("id",Lt.id)},inputs:{id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:r.ab,useExisting:_t}])]}),_t})(),we=0;const Ee=new d.InjectionToken("MatHint");let Be=(()=>{class _t{constructor(){this.align="start",this.id="mat-hint-"+we++}}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(Tt,Lt){2&Tt&&(d.\u0275\u0275attribute("id",Lt.id)("align",null),d.\u0275\u0275classProp("mat-form-field-hint-end","end"===Lt.align))},inputs:{align:"align",id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:Ee,useExisting:_t}])]}),_t})(),G=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-label"]]}),_t})(),re=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-placeholder"]]}),_t})(),ae=0;const Ze=(0,g.mixinColor)(class{constructor(_t){this._elementRef=_t}},"primary"),Qe=new d.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ge=(()=>{class _t extends Ze{get appearance(){return this._appearance}set appearance(Tt){const Lt=this._appearance;this._appearance=Tt||this._defaults?.appearance||"legacy","outline"===this._appearance&&Lt!==Tt&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Tt){this._hideRequiredMarker=(0,h.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,Lt,Le,lt,ze,at,N){super(Tt),this._changeDetectorRef=Lt,this._dir=Le,this._defaults=lt,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-"+ae++,this._labelId="mat-form-field-label-"+ae++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==N,this.appearance=lt?.appearance||"legacy",lt&&(this._hideRequiredMarker=!!lt.hideRequiredMarker,lt.color&&(this.color=this.defaultColor=lt.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 Lt=this._control?this._control.ngControl:null;return Lt&&Lt[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 Lt=this._hintChildren?this._hintChildren.find(lt=>"start"===lt.align):null,Le=this._hintChildren?this._hintChildren.find(lt=>"end"===lt.align):null;Lt?Tt.push(Lt.id):this._hintLabel&&Tt.push(this._hintLabelId),Le&&Tt.push(Le.id)}else this._errorChildren&&Tt.push(...this._errorChildren.map(Lt=>Lt.id));this._control.setDescribedByIds(Tt)}}_validateControlChild(){}updateOutlineGap(){const Tt=this._label?this._label.nativeElement:null,Lt=this._connectionContainerRef.nativeElement,Le=".mat-form-field-outline-start",lt=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!Tt||!Tt.children.length||!Tt.textContent.trim()){const Y=Lt.querySelectorAll(`${Le}, ${lt}`);for(let ne=0;ne0?.75*Te+10:0}for(let Y=0;Y{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["","matPrefix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Px,useExisting:_t}])]}),_t})(),Ct=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["","matSuffix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Ve,useExisting:_t}])]}),_t})(),Nt=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275mod=d.\u0275\u0275defineNgModule({type:_t}),_t.\u0275inj=d.\u0275\u0275defineInjector({imports:[c.CommonModule,g.MatCommonModule,n.Q8,g.MatCommonModule]}),_t})()},2400:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_INPUT_VALUE_ACCESSOR:()=>c.Jk,MatLegacyInput:()=>h,MatLegacyInputModule:()=>u,getMatLegacyInputUnsupportedTypeError:()=>c.b7});var n=a(5879),c=a(4516),d=a(1043),g=a(4187),r=a(6263),f=a(3680);let h=(()=>{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:[f.ErrorStateMatcher],imports:[r.Ky,g.MatLegacyFormFieldModule,f.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:()=>de,MAT_LEGACY_MENU_SCROLL_STRATEGY:()=>Nt,MatLegacyMenu:()=>K,MatLegacyMenuContent:()=>et,MatLegacyMenuItem:()=>ce,MatLegacyMenuModule:()=>Dt,MatLegacyMenuTrigger:()=>Te,fadeInLegacyItems:()=>ve,matLegacyMenuAnimations:()=>ae,transformLegacyMenu:()=>He});var n=a(5879),c=a(4300),d=a(2495),g=a(6028),r=a(8645),f=a(3019),h=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(_e,ut){1&_e&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const U=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Ce=["mat-icon, [matMenuItemIcon]","*"],de=new n.InjectionToken("MAT_MENU_PANEL"),H=(0,D.mixinDisableRipple)((0,D.mixinDisabled)(class{}));let W=(()=>{class _e extends H{constructor(Pe,mt,Pt,Ft,Gt){super(),this._elementRef=Pe,this._document=mt,this._focusMonitor=Pt,this._parentMenu=Ft,this._changeDetectorRef=Gt,this.role="menuitem",this._hovered=new r.x,this._focused=new r.x,this._highlighted=!1,this._triggersSubmenu=!1,Ft?.addItem?.(this)}focus(Pe,mt){this._focusMonitor&&Pe?this._focusMonitor.focusVia(this._getHostElement(),Pe,mt):this._getHostElement().focus(mt),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(Pe){this.disabled&&(Pe.preventDefault(),Pe.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Pe=this._elementRef.nativeElement.cloneNode(!0),mt=Pe.querySelectorAll("mat-icon, .material-icons");for(let Pt=0;Pt{class _e{constructor(Pe,mt,Pt,Ft,Gt,Oe,Ke){this._template=Pe,this._componentFactoryResolver=mt,this._appRef=Pt,this._injector=Ft,this._viewContainerRef=Gt,this._document=Oe,this._changeDetectorRef=Ke,this._attached=new r.x}attach(Pe={}){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 mt=this._template.elementRef.nativeElement;mt.parentNode.insertBefore(this._outlet.outletElement,mt),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,Pe),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(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))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e}),_e})();const ae={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)")])])},ve=ae.fadeInItems,He=ae.transformMenu;let Ze=0;const Qe=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function Ge(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let tt=(()=>{class _e{get xPosition(){return this._xPosition}set xPosition(Pe){this._xPosition=Pe,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Pe){this._yPosition=Pe,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Pe){this._overlapTrigger=(0,d.Ig)(Pe)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Pe){this._hasBackdrop=(0,d.Ig)(Pe)}set panelClass(Pe){const mt=this._previousPanelClass;mt&&mt.length&&mt.split(" ").forEach(Pt=>{this._classList[Pt]=!1}),this._previousPanelClass=Pe,Pe&&Pe.length&&(Pe.split(" ").forEach(Pt=>{this._classList[Pt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Pe){this.panelClass=Pe}constructor(Pe,mt,Pt,Ft){this._elementRef=Pe,this._ngZone=mt,this._changeDetectorRef=Ft,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=Pt.overlayPanelClass||"",this._xPosition=Pt.xPosition,this._yPosition=Pt.yPosition,this.backdropClass=Pt.backdropClass,this._overlapTrigger=Pt.overlapTrigger,this._hasBackdrop=Pt.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)(Pe=>(0,f.T)(...Pe.map(mt=>mt._focused)))).subscribe(Pe=>this._keyManager.updateActiveItem(Pe)),this._directDescendantItems.changes.subscribe(Pe=>{const mt=this._keyManager;if("enter"===this._panelAnimationState&&mt.activeItem?._hasFocus()){const Pt=Pe.toArray(),Ft=Math.max(0,Math.min(Pt.length-1,mt.activeItemIndex||0));Pt[Ft]&&!Pt[Ft].disabled?mt.setActiveItem(Ft):mt.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)(mt=>(0,f.T)(...mt.map(Pt=>Pt._hovered))))}addItem(Pe){}removeItem(Pe){}_handleKeydown(Pe){const mt=Pe.keyCode,Pt=this._keyManager;switch(mt){case g.hY:(0,g.Vb)(Pe)||(Pe.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(mt===g.LH||mt===g.JH)&&Pt.setFocusOrigin("keyboard"),void Pt.onKeydown(Pe)}Pe.stopPropagation()}focusFirstItem(Pe="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(()=>{let mt=null;if(this._directDescendantItems.length&&(mt=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!mt||!mt.contains(document.activeElement)){const Pt=this._keyManager;Pt.setFocusOrigin(Pe).setFirstItemActive(),!Pt.activeItem&&mt&&mt.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Pe){const mt=Math.min(this._baseElevation+Pe,24),Pt=`${this._elevationPrefix}${mt}`,Ft=Object.keys(this._classList).find(Gt=>Gt.startsWith(this._elevationPrefix));(!Ft||Ft===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Pt]=!0,this._previousElevation=Pt)}setPositionClasses(Pe=this.xPosition,mt=this.yPosition){const Pt=this._classList;Pt["mat-menu-before"]="before"===Pe,Pt["mat-menu-after"]="after"===Pe,Pt["mat-menu-above"]="above"===mt,Pt["mat-menu-below"]="below"===mt,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Pe){this._animationDone.next(Pe),this._isAnimating=!1}_onAnimationStart(Pe){this._isAnimating=!0,"enter"===Pe.toState&&0===this._keyManager.activeItemIndex&&(Pe.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,b.O)(this._allItems)).subscribe(Pe=>{this._directDescendantItems.reset(Pe.filter(mt=>mt._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,contentQueries:function(Pe,mt,Pt){if(1&Pe&&(n.\u0275\u0275contentQuery(Pt,Be,5),n.\u0275\u0275contentQuery(Pt,W,5),n.\u0275\u0275contentQuery(Pt,W,4)),2&Pe){let Ft;n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt.lazyContent=Ft.first),n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt._allItems=Ft),n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt.items=Ft)}},viewQuery:function(Pe,mt){if(1&Pe&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&Pe){let Pt;n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(mt.templateRef=Pt.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"}}),_e})();const Nt=new n.InjectionToken("mat-menu-scroll-strategy"),Bt={provide:Nt,deps:[$.aV],useFactory:function _t(_e){return()=>_e.scrollStrategies.reposition()}},Tt=(0,ee.i$)({passive:!0});let Le=(()=>{class _e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Pe){this.menu=Pe}get menu(){return this._menu}set menu(Pe){Pe!==this._menu&&(this._menu=Pe,this._menuCloseSubscription.unsubscribe(),Pe&&(this._menuCloseSubscription=Pe.close.subscribe(mt=>{this._destroyMenu(mt),("click"===mt||"tab"===mt)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(mt)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Pe,mt,Pt,Ft,Gt,Oe,Ke,he,ge){this._overlay=Pe,this._element=mt,this._viewContainerRef=Pt,this._menuItemInstance=Oe,this._dir=Ke,this._focusMonitor=he,this._ngZone=ge,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=h.w0.EMPTY,this._hoverSubscription=h.w0.EMPTY,this._menuCloseSubscription=h.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=ct=>{(0,c.yG)(ct)||(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=Ft,this._parentMaterialMenu=Gt instanceof tt?Gt:void 0,mt.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 Pe=this.menu;if(this._menuOpen||!Pe)return;const mt=this._createOverlay(Pe),Pt=mt.getConfig(),Ft=Pt.positionStrategy;this._setPosition(Pe,Ft),Pt.hasBackdrop=null==Pe.hasBackdrop?!this.triggersSubmenu():Pe.hasBackdrop,mt.attach(this._getPortal(Pe)),Pe.lazyContent&&Pe.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Pe),Pe instanceof tt&&(Pe._startAnimation(),Pe._directDescendantItems.changes.pipe((0,l.R)(Pe.close)).subscribe(()=>{Ft.withLockedPosition(!1).reapplyLastPosition(),Ft.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Pe,mt){this._focusMonitor&&Pe?this._focusMonitor.focusVia(this._element,Pe,mt):this._element.nativeElement.focus(mt)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Pe){if(!this._overlayRef||!this.menuOpen)return;const mt=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Pe||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,mt instanceof tt?(mt._resetAnimation(),mt.lazyContent?mt._animationDone.pipe((0,y.h)(Pt=>"void"===Pt.toState),(0,_.q)(1),(0,l.R)(mt.lazyContent._attached)).subscribe({next:()=>mt.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),mt?.lazyContent?.detach())}_initMenu(Pe){Pe.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Pe.direction=this.dir,this._setMenuElevation(Pe),Pe.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Pe){if(Pe.setElevation){let mt=0,Pt=Pe.parentMenu;for(;Pt;)mt++,Pt=Pt.parentMenu;Pe.setElevation(mt)}}_setIsMenuOpen(Pe){Pe!==this._menuOpen&&(this._menuOpen=Pe,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Pe),this._changeDetectorRef.markForCheck())}_createOverlay(Pe){if(!this._overlayRef){const mt=this._getOverlayConfig(Pe);this._subscribeToPositions(Pe,mt.positionStrategy),this._overlayRef=this._overlay.create(mt),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Pe){return new $.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Pe.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Pe.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Pe,mt){Pe.setPositionClasses&&mt.positionChanges.subscribe(Pt=>{const Ft="start"===Pt.connectionPair.overlayX?"after":"before",Gt="top"===Pt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Pe.setPositionClasses(Ft,Gt)):Pe.setPositionClasses(Ft,Gt)})}_setPosition(Pe,mt){let[Pt,Ft]="before"===Pe.xPosition?["end","start"]:["start","end"],[Gt,Oe]="above"===Pe.yPosition?["bottom","top"]:["top","bottom"],[Ke,he]=[Gt,Oe],[ge,ct]=[Pt,Ft],Me=0;if(this.triggersSubmenu()){if(ct=Pt="before"===Pe.xPosition?"start":"end",Ft=ge="end"===Pt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ye=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ye?Ye._getHostElement().offsetTop:0}Me="bottom"===Gt?this._parentInnerPadding:-this._parentInnerPadding}}else Pe.overlapTrigger||(Ke="top"===Gt?"bottom":"top",he="top"===Oe?"bottom":"top");mt.withPositions([{originX:Pt,originY:Ke,overlayX:ge,overlayY:Gt,offsetY:Me},{originX:Ft,originY:Ke,overlayX:ct,overlayY:Gt,offsetY:Me},{originX:Pt,originY:he,overlayX:ge,overlayY:Oe,offsetY:-Me},{originX:Ft,originY:he,overlayX:ct,overlayY:Oe,offsetY:-Me}])}_menuClosingActions(){const Pe=this._overlayRef.backdropClick(),mt=this._overlayRef.detachments(),Pt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,u.of)(),Ft=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,y.h)(Gt=>Gt!==this._menuItemInstance),(0,y.h)(()=>this._menuOpen)):(0,u.of)();return(0,f.T)(Pe,Pt,Ft,mt)}_handleMousedown(Pe){(0,c.X6)(Pe)||(this._openedBy=0===Pe.button?"mouse":void 0,this.triggersSubmenu()&&Pe.preventDefault())}_handleKeydown(Pe){const mt=Pe.keyCode;(mt===g.K5||mt===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(mt===g.SV&&"ltr"===this.dir||mt===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Pe){this.triggersSubmenu()?(Pe.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,y.h)(Pe=>Pe===this._menuItemInstance&&!Pe.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(Pe){return(!this._portal||this._portal.templateRef!==Pe.templateRef)&&(this._portal=new E.UE(Pe.templateRef,this._viewContainerRef)),this._portal}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject($.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Nt),n.\u0275\u0275directiveInject(de,8),n.\u0275\u0275directiveInject(W,10),n.\u0275\u0275directiveInject(X.Is,8),n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(n.NgZone))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,hostVars:3,hostBindings:function(Pe,mt){1&Pe&&n.\u0275\u0275listener("click",function(Ft){return mt._handleClick(Ft)})("mousedown",function(Ft){return mt._handleMousedown(Ft)})("keydown",function(Ft){return mt._handleKeydown(Ft)}),2&Pe&&n.\u0275\u0275attribute("aria-haspopup",mt.menu?"menu":null)("aria-expanded",mt.menuOpen)("aria-controls",mt.menuOpen?mt.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"}}),_e})();var at=a(6672);function N(_e,ut){if(1&_e){const Pe=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._handleKeydown(Pt))})("click",function(){n.\u0275\u0275restoreView(Pe);const Pt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Pt.closed.emit("click"))})("@transformMenu.start",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._onAnimationStart(Pt))})("@transformMenu.done",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._onAnimationDone(Pt))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&_e){const Pe=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",Pe.panelId)("ngClass",Pe._classList)("@transformMenu",Pe._panelAnimationState),n.\u0275\u0275attribute("aria-label",Pe.ariaLabel||null)("aria-labelledby",Pe.ariaLabelledby||null)("aria-describedby",Pe.ariaDescribedby||null)}}const oe=["*"],Y=["mat-menu-item",""];function ne(_e,ut){1&_e&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",2),n.\u0275\u0275element(1,"polygon",3),n.\u0275\u0275elementEnd())}let K=(()=>{class _e extends tt{constructor(Pe,mt,Pt,Ft){super(Pe,mt,Pt,Ft),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:4,hostBindings:function(Pe,mt){2&Pe&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null)},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:de,useExisting:_e}]),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(Pe,mt){1&Pe&&(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:[ae.transformMenu,ae.fadeInItems]},changeDetection:0}),_e})(),ce=(()=>{class _e extends W{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(Pe,mt){2&Pe&&(n.\u0275\u0275attribute("role",mt.role)("tabindex",mt._getTabIndex())("aria-disabled",mt.disabled.toString())("disabled",mt.disabled||null),n.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",mt._highlighted)("mat-menu-item-submenu-trigger",mt._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:_e}]),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(Pe,mt){1&Pe&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275element(1,"div",0),n.\u0275\u0275template(2,ne,2,0,"svg",1)),2&Pe&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleDisabled",mt.disableRipple||mt.disabled)("matRippleTrigger",mt._getHostElement()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",mt._triggersSubmenu))},dependencies:[S.NgIf,D.MatRipple],encapsulation:2,changeDetection:0}),_e})(),Te=(()=>{class _e extends Le{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[n.\u0275\u0275InheritDefinitionFeature]}),_e})(),et=(()=>{class _e extends G{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Be,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]}),_e})(),Dt=(()=>{class _e{}return _e.\u0275fac=function(Pe){return new(Pe||_e)},_e.\u0275mod=n.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=n.\u0275\u0275defineInjector({providers:[Bt],imports:[S.CommonModule,D.MatCommonModule,D.MatRippleModule,$.U8,at.ZD,D.MatCommonModule]}),_e})()},9559:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{LegacyPageEvent:()=>oe,MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS:()=>Oe,MAT_LEGACY_PAGINATOR_INTL_PROVIDER:()=>at,MAT_LEGACY_PAGINATOR_INTL_PROVIDER_FACTORY:()=>ze,MatLegacyPaginator:()=>Ke,MatLegacyPaginatorIntl:()=>lt,MatLegacyPaginatorModule:()=>he,_MatLegacyPaginatorBase:()=>K});var n=a(6814),c=a(5879),d=a(3680),g=a(4505),r=a(1798),f=a(9594),h=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:[f.aV],useFactory:function ie(ge){return()=>ge.scrollStrategies.reposition({scrollThrottle:20})}},Ce=new c.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function U(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Ae="tooltip-panel",de=(0,p.i$)({passive:!0});let Be=(()=>{class ge{get position(){return this._position}set position(Me){Me!==this._position&&(this._position=Me,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Me){this._positionAtOrigin=(0,y.Ig)(Me),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Me){this._disabled=(0,y.Ig)(Me),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(Me){this._showDelay=(0,y.su)(Me)}get hideDelay(){return this._hideDelay}set hideDelay(Me){this._hideDelay=(0,y.su)(Me),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(Me){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=Me?String(Me).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(Me){this._tooltipClass=Me,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve){this._overlay=Me,this._elementRef=Ye,this._scrollDispatcher=De,this._viewContainerRef=F,this._ngZone=V,this._platform=Q,this._ariaDescriber=be,this._focusMonitor=dt,this._dir=qe,this._defaultOptions=nt,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=Rt,this._document=Ve,nt&&(this._showDelay=nt.showDelay,this._hideDelay=nt.hideDelay,nt.position&&(this.position=nt.position),nt.positionAtOrigin&&(this.positionAtOrigin=nt.positionAtOrigin),nt.touchGestures&&(this.touchGestures=nt.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(Me=>{Me?"keyboard"===Me&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Me=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Ye,De])=>{Me.removeEventListener(Ye,De,de)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Me,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Me)}show(Me=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(Me)}hide(Me=this.hideDelay){const Ye=this._tooltipInstance;Ye&&(Ye.isVisible()?Ye.hide(Me):(Ye._cancelPendingAnimations(),this._detach()))}toggle(Me){this._isTooltipVisible()?this.hide():this.show(void 0,Me)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Me){if(this._overlayRef){const F=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!Me)&&F._origin instanceof c.ElementRef)return this._overlayRef;this._detach()}const Ye=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),De=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&Me||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(Me){const Ye=Me.getConfig().positionStrategy,De=this._getOrigin(),F=this._getOverlayPosition();Ye.withPositions([this._addOffset({...De.main,...F.main}),this._addOffset({...De.fallback,...F.fallback})])}_addOffset(Me){return Me}_getOrigin(){const Me=!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&&Me||"right"==Ye&&!Me?De={originX:"start",originY:"center"}:("after"==Ye||"right"==Ye&&Me||"left"==Ye&&!Me)&&(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 Me=!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&&Me||"right"==Ye&&!Me?De={overlayX:"end",overlayY:"center"}:("after"==Ye||"right"==Ye&&Me||"left"==Ye&&!Me)&&(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(Me){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Me,this._tooltipInstance._markForCheck())}_invertPosition(Me,Ye){return"above"===this.position||"below"===this.position?"top"===Ye?Ye="bottom":"bottom"===Ye&&(Ye="top"):"end"===Me?Me="start":"start"===Me&&(Me="end"),{x:Me,y:Ye}}_updateCurrentPositionClass(Me){const{overlayY:Ye,originX:De,originY:F}=Me;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 Q=this._overlayRef;if(Q){const be=`${this._cssClassPrefix}-${Ae}-`;Q.removePanelClass(be+this._currentPosition),Q.addPanelClass(be+V)}this._currentPosition=V}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",Me=>{let Ye;this._setupPointerExitEventsIfNeeded(),void 0!==Me.x&&void 0!==Me.y&&(Ye=Me),this.show(void 0,Ye)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",Me=>{const Ye=Me.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 Me=[];if(this._platformSupportsMouseEvents())Me.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)};Me.push(["touchend",Ye],["touchcancel",Ye])}this._addListeners(Me),this._passiveListeners.push(...Me)}_addListeners(Me){Me.forEach(([Ye,De])=>{this._elementRef.nativeElement.addEventListener(Ye,De,de)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Me){if(this._isTooltipVisible()){const Ye=this._document.elementFromPoint(Me.clientX,Me.clientY),De=this._elementRef.nativeElement;Ye!==De&&!De.contains(Ye)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Me=this.touchGestures;if("off"!==Me){const Ye=this._elementRef.nativeElement,De=Ye.style;("on"===Me||"INPUT"!==Ye.nodeName&&"TEXTAREA"!==Ye.nodeName)&&(De.userSelect=De.msUserSelect=De.webkitUserSelect=De.MozUserSelect="none"),("on"===Me||!Ye.draggable)&&(De.webkitUserDrag="none"),De.touchAction="none",De.webkitTapHighlightColor="transparent"}}}return ge.\u0275fac=function(Me){c.\u0275\u0275invalidFactory()},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,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"]}}),ge})(),re=(()=>{class ge{constructor(Me,Ye){this._changeDetectorRef=Me,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new S.x,this._animationsDisabled="NoopAnimations"===Ye}show(Me){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Me)}hide(Me){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Me)}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:Me}){(!Me||!this._triggerElement.contains(Me))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:Me}){(Me===this._showAnimation||Me===this._hideAnimation)&&this._finalizeAnimation(Me===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Me){Me?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Me){const Ye=this._tooltip.nativeElement,De=this._showAnimation,F=this._hideAnimation;if(Ye.classList.remove(Me?F:De),Ye.classList.add(Me?De:F),this._isVisible=Me,Me&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const V=getComputedStyle(Ye);("0s"===V.getPropertyValue("animation-duration")||"none"===V.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Me&&this._onShow(),this._animationsDisabled&&(Ye.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Me))}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge}),ge})();const Ze=["tooltip"];let Qe=(()=>{class ge extends Be{constructor(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve){super(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve),this._tooltipComponent=Ge}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(f.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(h.$s),c.\u0275\u0275directiveInject(h.tE),c.\u0275\u0275directiveInject(ee),c.\u0275\u0275directiveInject(v.Is,8),c.\u0275\u0275directiveInject(Ce,8),c.\u0275\u0275directiveInject(n.DOCUMENT))},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(Me,Ye){2&Me&&c.\u0275\u0275classProp("mat-tooltip-disabled",Ye.disabled)},exportAs:["matTooltip"],features:[c.\u0275\u0275InheritDefinitionFeature]}),ge})(),Ge=(()=>{class ge extends re{constructor(Me,Ye,De){super(Me,De),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=Ye.observe(b.u3.Handset)}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(b.Yg),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},ge.\u0275cmp=c.\u0275\u0275defineComponent({type:ge,selectors:[["mat-tooltip-component"]],viewQuery:function(Me,Ye){if(1&Me&&c.\u0275\u0275viewQuery(Ze,7),2&Me){let De;c.\u0275\u0275queryRefresh(De=c.\u0275\u0275loadQuery())&&(Ye._tooltip=De.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(Me,Ye){1&Me&&c.\u0275\u0275listener("mouseleave",function(F){return Ye._handleMouseLeave(F)}),2&Me&&(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(Me,Ye){if(1&Me&&(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&Me){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}),ge})(),tt=(()=>{class ge{}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275mod=c.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=c.\u0275\u0275defineInjector({providers:[A],imports:[h.rt,n.CommonModule,f.U8,d.MatCommonModule,d.MatCommonModule,u.ZD]}),ge})(),lt=(()=>{class ge{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=(Me,Ye,De)=>{if(0==De||0==Ye)return`0 of ${De}`;const F=Me*Ye;return`${F+1} \u2013 ${F<(De=Math.max(De,0))?Math.min(F+Ye,De):F+Ye} of ${De}`}}}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275prov=c.\u0275\u0275defineInjectable({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();function ze(ge){return ge||new lt}const at={provide:lt,deps:[[new c.Optional,new c.SkipSelf,lt]],useFactory:ze};class oe{}const ne=(0,d.mixinDisabled)((0,d.mixinInitialized)(class{}));let K=(()=>{class ge extends ne{get pageIndex(){return this._pageIndex}set pageIndex(Me){this._pageIndex=Math.max((0,y.su)(Me),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Me){this._length=(0,y.su)(Me),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Me){this._pageSize=Math.max((0,y.su)(Me),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Me){this._pageSizeOptions=(Me||[]).map(Ye=>(0,y.su)(Ye)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Me){this._hidePageSize=(0,y.Ig)(Me)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Me){this._showFirstLastButtons=(0,y.Ig)(Me)}constructor(Me,Ye,De){if(super(),this._intl=Me,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=Me.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),De){const{pageSize:F,pageSizeOptions:V,hidePageSize:Q,showFirstLastButtons:be}=De;null!=F&&(this._pageSize=F),null!=V&&(this._pageSizeOptions=V),null!=Q&&(this._hidePageSize=Q),null!=be&&(this._showFirstLastButtons=be)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Me=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Me)}previousPage(){if(!this.hasPreviousPage())return;const Me=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Me)}firstPage(){if(!this.hasPreviousPage())return;const Me=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Me)}lastPage(){if(!this.hasNextPage())return;const Me=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Me)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Me=this.getNumberOfPages()-1;return this.pageIndexMe-Ye),this._changeDetectorRef.markForCheck())}_emitPageEvent(Me){this.page.emit({previousPageIndex:Me,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return ge.\u0275fac=function(Me){c.\u0275\u0275invalidFactory()},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[c.\u0275\u0275InheritDefinitionFeature]}),ge})();var Dt=a(4187),_e=a(4678);function ut(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"mat-option",19),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&ge){const Me=ct.$implicit;c.\u0275\u0275property("value",Me),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate1(" ",Me," ")}}function Pe(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),c.\u0275\u0275listener("selectionChange",function(De){c.\u0275\u0275restoreView(Me);const F=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(F._changePageSize(De.value))}),c.\u0275\u0275template(2,ut,2,2,"mat-option",18),c.\u0275\u0275elementEnd()()}if(2&ge){const Me=c.\u0275\u0275nextContext(2);c.\u0275\u0275property("appearance",Me._formFieldAppearance)("color",Me.color),c.\u0275\u0275advance(1),c.\u0275\u0275property("value",Me.pageSize)("disabled",Me.disabled)("panelClass",Me.selectConfig.panelClass||"")("disableOptionCentering",Me.selectConfig.disableOptionCentering)("aria-label",Me._intl.itemsPerPageLabel),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngForOf",Me._displayedPageSizeOptions)}}function mt(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"div",20),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&ge){const Me=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(Me.pageSize)}}function Pt(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"div",12)(1,"div",13),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(3,Pe,3,8,"mat-form-field",14),c.\u0275\u0275template(4,mt,2,1,"div",15),c.\u0275\u0275elementEnd()),2&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate1(" ",Me._intl.itemsPerPageLabel," "),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Me._displayedPageSizeOptions.length>1),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Me._displayedPageSizeOptions.length<=1)}}function Ft(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"button",21),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(Me);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&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",Me._intl.firstPageLabel)("matTooltipDisabled",Me._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Me._previousButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Me._intl.firstPageLabel)}}function Gt(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275namespaceSVG(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(0,"button",23),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(Me);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&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",Me._intl.lastPageLabel)("matTooltipDisabled",Me._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Me._nextButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Me._intl.lastPageLabel)}}const Oe=new c.InjectionToken("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS");let Ke=(()=>{class ge extends K{constructor(Me,Ye,De){super(Me,Ye,De),De&&null!=De.formFieldAppearance&&(this._formFieldAppearance=De.formFieldAppearance)}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(lt),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(Oe,8))},ge.\u0275cmp=c.\u0275\u0275defineComponent({type:ge,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(Me,Ye){1&Me&&(c.\u0275\u0275elementStart(0,"div",0)(1,"div",1),c.\u0275\u0275template(2,Pt,5,3,"div",2),c.\u0275\u0275elementStart(3,"div",3)(4,"div",4),c.\u0275\u0275text(5),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(6,Ft,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,Gt,3,5,"button",11),c.\u0275\u0275elementEnd()()()),2&Me&&(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,_e.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}),ge})(),he=(()=>{class ge{}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275mod=c.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=c.\u0275\u0275defineInjector({providers:[at],imports:[n.CommonModule,g.MatLegacyButtonModule,r.MatLegacySelectModule,tt,d.MatCommonModule]}),ge})()},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:()=>Ce});var n=a(2495),c=a(2831),d=a(6672),g=a(6814),r=a(5879),f=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 de=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+de._spinnerAnimationLabel)("stroke-dashoffset",de._getStrokeDashOffset(),"px")("stroke-dasharray",de._getStrokeCircumference(),"px")("stroke-width",de._getCircleStrokeWidth(),"%")("transform-origin",de._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",de._getCircleRadius())}}function I(Re,Ae){if(1&Re&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275element(0,"circle",4)),2&Re){const de=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("stroke-dashoffset",de._getStrokeDashOffset(),"px")("stroke-dasharray",de._getStrokeCircumference(),"px")("stroke-width",de._getCircleStrokeWidth(),"%")("transform-origin",de._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",de._getCircleRadius())}}const ee=(0,f.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,de,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)),de.isBrowser&&de.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 de=50*(Ae.currentScale??1);return`${de}% ${de}%`}_attachStyleNode(){const Ae=this._styleRoot,de=this._diameter,H=A._diameters;let W=H.get(Ae);if(!W||!W.has(de)){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(de)}}_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,de){2&Ae&&(r.\u0275\u0275attribute("aria-valuemin","determinate"===de.mode?0:null)("aria-valuemax","determinate"===de.mode?100:null)("aria-valuenow","determinate"===de.mode?de.value:null)("mode",de.mode),r.\u0275\u0275styleProp("width",de.diameter,"px")("height",de.diameter,"px"),r.\u0275\u0275classProp("_mat-animation-noopable",de._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,de){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",de.diameter,"px")("height",de.diameter,"px"),r.\u0275\u0275property("ngSwitch","indeterminate"===de.mode),r.\u0275\u0275attribute("viewBox",de._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(de){return new(de||Re)},Re.\u0275mod=r.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=r.\u0275\u0275defineInjector({imports:[f.MatCommonModule,g.CommonModule,f.MatCommonModule]}),Re})();const Ce=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:()=>Ce,MatLegacyRadioChange:()=>b,MatLegacyRadioGroup:()=>U,MatLegacyRadioModule:()=>Re});var n=a(5879),c=a(3680),d=a(4300),g=a(8337),r=a(6223),f=a(2495);const h=["input"];let v=0;class b{constructor(de,H){this.source=de,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,f.Ig)(H),this._markRadiosForCheck()}get required(){return this._required}set required(H){this._required=(0,f.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(de){this._elementRef=de}}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,f.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,f.Ig)(H))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(H){this._required=(0,f.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,f.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(h,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 de;return function(W){return(de||(de=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,Ce,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})(),Ce=(()=>{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:()=>Ge,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Ze,MAT_LEGACY_SELECT_TRIGGER:()=>tt,MatLegacySelect:()=>mt,MatLegacySelectChange:()=>ut,MatLegacySelectModule:()=>Pt,MatLegacySelectTrigger:()=>Pe,matLegacySelectAnimations:()=>ne});var n=a(9594),c=a(6814),d=a(5879),g=a(3680),r=a(4678),f=a(1043),h=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 Ce=["trigger"],Re=["panel"];let ve=0;const He=new d.InjectionToken("mat-select-scroll-strategy");function Ze(Ft){return()=>Ft.scrollStrategies.reposition()}const Qe=new d.InjectionToken("MAT_SELECT_CONFIG"),Ge={provide:He,deps:[n.aV],useFactory:Ze},tt=new d.InjectionToken("MatSelectTrigger"),Nt=(0,g.mixinDisableRipple)((0,g.mixinTabIndex)((0,g.mixinDisabled)((0,g.mixinErrorState)(class{constructor(Ft,Gt,Oe,Ke,he){this._elementRef=Ft,this._defaultErrorStateMatcher=Gt,this._parentForm=Oe,this._parentFormGroup=Ke,this.ngControl=he,this.stateChanges=new x.x}}))));let _t=(()=>{class Ft extends Nt{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Oe){this._placeholder=Oe,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(y.Validators.required)??!1}set required(Oe){this._required=(0,p.Ig)(Oe),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Oe){this._multiple=(0,p.Ig)(Oe)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Oe){this._disableOptionCentering=(0,p.Ig)(Oe)}get compareWith(){return this._compareWith}set compareWith(Oe){this._compareWith=Oe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Oe){this._assignValue(Oe)&&this._onChange(Oe)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Oe){this._typeaheadDebounceInterval=(0,p.su)(Oe)}get id(){return this._id}set id(Oe){this._id=Oe||this._uid,this.stateChanges.next()}constructor(Oe,Ke,he,ge,ct,Me,Ye,De,F,V,Q,be,dt,Rt){super(ct,ge,Ye,De,V),this._viewportRuler=Oe,this._changeDetectorRef=Ke,this._ngZone=he,this._dir=Me,this._parentFormField=F,this._liveAnnouncer=dt,this._defaultOptions=Rt,this._panelOpen=!1,this._compareWith=(qe,nt)=>qe===nt,this._uid="mat-select-"+ve++,this._triggerAriaLabelledBy=null,this._destroy=new x.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ve++,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(nt=>nt.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!=Rt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Rt.typeaheadDebounceInterval),this._scrollStrategyFactory=be,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Q)||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(Oe=>{Oe.added.forEach(Ke=>Ke.select()),Oe.removed.forEach(Ke=>Ke.deselect())}),this.options.changes.pipe((0,E.O)(null),(0,A.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Oe=this._getTriggerAriaLabelledby(),Ke=this.ngControl;if(Oe!==this._triggerAriaLabelledBy){const he=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Oe,Oe?he.setAttribute("aria-labelledby",Oe):he.removeAttribute("aria-labelledby")}Ke&&(this._previousControl!==Ke.control&&(void 0!==this._previousControl&&null!==Ke.disabled&&Ke.disabled!==this.disabled&&(this.disabled=Ke.disabled),this._previousControl=Ke.control),this.updateErrorState())}ngOnChanges(Oe){(Oe.disabled||Oe.userAriaDescribedBy)&&this.stateChanges.next(),Oe.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 Oe=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Oe)return;const Ke=`${this.id}-panel`;this._trackedModal&&(0,v.iD)(this._trackedModal,"aria-owns",Ke),(0,v.Zf)(Oe,"aria-owns",Ke),this._trackedModal=Oe}_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(Oe){this._assignValue(Oe)}registerOnChange(Oe){this._onChange=Oe}registerOnTouched(Oe){this._onTouched=Oe}setDisabledState(Oe){this.disabled=Oe,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 Oe=this._selectionModel.selected.map(Ke=>Ke.viewValue);return this._isRtl()&&Oe.reverse(),Oe.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Oe){this.disabled||(this.panelOpen?this._handleOpenKeydown(Oe):this._handleClosedKeydown(Oe))}_handleClosedKeydown(Oe){const Ke=Oe.keyCode,he=Ke===l.JH||Ke===l.LH||Ke===l.oh||Ke===l.SV,ge=Ke===l.K5||Ke===l.L_,ct=this._keyManager;if(!ct.isTyping()&&ge&&!(0,l.Vb)(Oe)||(this.multiple||Oe.altKey)&&he)Oe.preventDefault(),this.open();else if(!this.multiple){const Me=this.selected;ct.onKeydown(Oe);const Ye=this.selected;Ye&&Me!==Ye&&this._liveAnnouncer.announce(Ye.viewValue,1e4)}}_handleOpenKeydown(Oe){const Ke=this._keyManager,he=Oe.keyCode,ge=he===l.JH||he===l.LH,ct=Ke.isTyping();if(ge&&Oe.altKey)Oe.preventDefault(),this.close();else if(ct||he!==l.K5&&he!==l.L_||!Ke.activeItem||(0,l.Vb)(Oe))if(!ct&&this._multiple&&he===l.A&&Oe.ctrlKey){Oe.preventDefault();const Me=this.options.some(Ye=>!Ye.disabled&&!Ye.selected);this.options.forEach(Ye=>{Ye.disabled||(Me?Ye.select():Ye.deselect())})}else{const Me=Ke.activeItemIndex;Ke.onKeydown(Oe),this._multiple&&ge&&Oe.shiftKey&&Ke.activeItem&&Ke.activeItemIndex!==Me&&Ke.activeItem._selectViaInteraction()}else Oe.preventDefault(),Ke.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(Oe){if(this.options.forEach(Ke=>Ke.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Oe)Array.isArray(Oe),Oe.forEach(Ke=>this._selectOptionByValue(Ke)),this._sortValues();else{const Ke=this._selectOptionByValue(Oe);Ke?this._keyManager.updateActiveItem(Ke):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Oe){const Ke=this.options.find(he=>{if(this._selectionModel.isSelected(he))return!1;try{return null!=he.value&&this._compareWith(he.value,Oe)}catch{return!1}});return Ke&&this._selectionModel.select(Ke),Ke}_assignValue(Oe){return!!(Oe!==this._value||this._multiple&&Array.isArray(Oe))&&(this.options&&this._setSelectionByValue(Oe),this._value=Oe,!0)}_skipPredicate(Oe){return Oe.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 Oe=(0,S.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,A.R)(Oe)).subscribe(Ke=>{this._onSelect(Ke.source,Ke.isUserInput),Ke.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,S.T)(...this.options.map(Ke=>Ke._stateChanges)).pipe((0,A.R)(Oe)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Oe,Ke){const he=this._selectionModel.isSelected(Oe);null!=Oe.value||this._multiple?(he!==Oe.selected&&(Oe.selected?this._selectionModel.select(Oe):this._selectionModel.deselect(Oe)),Ke&&this._keyManager.setActiveItem(Oe),this.multiple&&(this._sortValues(),Ke&&this.focus())):(Oe.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Oe.value)),he!==this._selectionModel.isSelected(Oe)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Oe=this.options.toArray();this._selectionModel.sort((Ke,he)=>this.sortComparator?this.sortComparator(Ke,he,Oe):Oe.indexOf(Ke)-Oe.indexOf(he)),this.stateChanges.next()}}_propagateChanges(Oe){let Ke=null;Ke=this.multiple?this.selected.map(he=>he.value):this.selected?this.selected.value:Oe,this._value=Ke,this.valueChange.emit(Ke),this._onChange(Ke),this.selectionChange.emit(this._getChangeEvent(Ke)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Oe=-1;for(let Ke=0;Ke0}focus(Oe){this._elementRef.nativeElement.focus(Oe)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Oe?Oe+" ":"")+this.ariaLabelledby:Oe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();let Ke=(Oe?Oe+" ":"")+this._valueId;return this.ariaLabelledby&&(Ke+=" "+this.ariaLabelledby),Ke}_panelDoneAnimating(Oe){this.openedChange.emit(Oe)}setDescribedByIds(Oe){Oe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Oe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)(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(f.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))},Ft.\u0275dir=d.\u0275\u0275defineDirective({type:Ft,viewQuery:function(Oe,Ke){if(1&Oe&&(d.\u0275\u0275viewQuery(Ce,5),d.\u0275\u0275viewQuery(Re,5),d.\u0275\u0275viewQuery(n.pI,5)),2&Oe){let he;d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke.trigger=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke.panel=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke._overlayDir=he.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]}),Ft})();function Le(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",8),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Oe.placeholder)}}function lt(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",12),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Oe.triggerValue)}}function ze(Ft,Gt){1&Ft&&d.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function at(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",9),d.\u0275\u0275template(1,lt,2,1,"span",10),d.\u0275\u0275template(2,ze,1,0,"ng-content",11),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("ngSwitch",!!Oe.customTrigger),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngSwitchCase",!0)}}function N(Ft,Gt){if(1&Ft){const Oe=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",13)(1,"div",14,15),d.\u0275\u0275listener("@transformPanel.done",function(he){d.\u0275\u0275restoreView(Oe);const ge=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ge._panelDoneAnimatingStream.next(he.toState))})("keydown",function(he){d.\u0275\u0275restoreView(Oe);const ge=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ge._handleKeydown(he))}),d.\u0275\u0275projection(3,1),d.\u0275\u0275elementEnd()()}if(2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transformPanelWrap",void 0),d.\u0275\u0275advance(1),d.\u0275\u0275classMapInterpolate1("mat-select-panel ",Oe._getPanelTheme(),""),d.\u0275\u0275styleProp("transform-origin",Oe._transformOrigin)("font-size",Oe._triggerFontSize,"px"),d.\u0275\u0275property("ngClass",Oe.panelClass)("@transformPanel",Oe.multiple?"showing-multiple":"showing"),d.\u0275\u0275attribute("id",Oe.id+"-panel")("aria-multiselectable",Oe.multiple)("aria-label",Oe.ariaLabel||null)("aria-labelledby",Oe._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})))])},K=256;class ut{constructor(Gt,Oe){this.source=Gt,this.value=Oe}}let Pe=(()=>{class Ft{}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)},Ft.\u0275dir=d.\u0275\u0275defineDirective({type:Ft,selectors:[["mat-select-trigger"]],features:[d.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:Ft}])]}),Ft})(),mt=(()=>{class Ft extends _t{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(Oe,Ke,he){const ge=this._getItemHeight();return Math.min(Math.max(0,ge*Oe-Ke+ge/2),he)}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(Oe){const Ke=(0,g._countGroupLabelsBeforeOption)(Oe,this.options,this.optionGroups),he=this._getItemHeight();this.panel.nativeElement.scrollTop=0===Oe&&1===Ke?0:(0,g._getOptionScrollPosition)((Oe+Ke)*he,he,this.panel.nativeElement.scrollTop,K)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(Oe){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(Oe)}_getChangeEvent(Oe){return new ut(this,Oe)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){const Oe=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),Ke=this._viewportRuler.getViewportSize(),he=this._isRtl(),ge=this.multiple?56:32;let ct;if(this.multiple)ct=40;else if(this.disableOptionCentering)ct=16;else{let De=this._selectionModel.selected[0]||this.options.first;ct=De&&De.group?32:16}he||(ct*=-1);const Me=0-(Oe.left+ct-(he?ge:0)),Ye=Oe.right+ct-Ke.width+(he?0:ge);Me>0?ct+=Me+8:Ye>0&&(ct-=Ye+8),this._overlayDir.offsetX=Math.round(ct),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(Oe,Ke,he){const ge=this._getItemHeight(),ct=(ge-this._triggerRect.height)/2,Me=Math.floor(K/ge);let Ye;return this.disableOptionCentering?0:(Ye=0===this._scrollTop?Oe*ge:this._scrollTop===he?(Oe-(this._getItemCount()-Me))*ge+(ge-(this._getItemCount()*ge-K)%ge):Ke-ge/2,Math.round(-1*Ye-ct))}_checkOverlayWithinViewport(Oe){const Ke=this._getItemHeight(),he=this._viewportRuler.getViewportSize(),ge=this._triggerRect.top-8,ct=he.height-this._triggerRect.bottom-8,Me=Math.abs(this._offsetY),De=Math.min(this._getItemCount()*Ke,K)-Me-this._triggerRect.height;De>ct?this._adjustPanelUp(De,ct):Me>ge?this._adjustPanelDown(Me,ge,Oe):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(Oe,Ke){const he=Math.round(Oe-Ke);this._scrollTop-=he,this._offsetY-=he,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(Oe,Ke,he){const ge=Math.round(Oe-Ke);if(this._scrollTop+=ge,this._offsetY+=ge,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=he)return this._scrollTop=he,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const Oe=this._getItemHeight(),Ke=this._getItemCount(),he=Math.min(Ke*Oe,K),ct=Ke*Oe-he;let Me;Me=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Me+=(0,g._countGroupLabelsBeforeOption)(Me,this.options,this.optionGroups);const Ye=he/2;this._scrollTop=this._calculateOverlayScroll(Me,Ye,ct),this._offsetY=this._calculateOverlayOffsetY(Me,Ye,ct),this._checkOverlayWithinViewport(ct)}_getOriginBasedOnOption(){const Oe=this._getItemHeight(),Ke=(Oe-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-Ke+Oe/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Ft.\u0275fac=function(){let Gt;return function(Ke){return(Gt||(Gt=d.\u0275\u0275getInheritedFactory(Ft)))(Ke||Ft)}}(),Ft.\u0275cmp=d.\u0275\u0275defineComponent({type:Ft,selectors:[["mat-select"]],contentQueries:function(Oe,Ke,he){if(1&Oe&&(d.\u0275\u0275contentQuery(he,tt,5),d.\u0275\u0275contentQuery(he,r.MatLegacyOption,5),d.\u0275\u0275contentQuery(he,g.MAT_OPTGROUP,5)),2&Oe){let ge;d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.customTrigger=ge.first),d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.options=ge),d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.optionGroups=ge)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(Oe,Ke){1&Oe&&d.\u0275\u0275listener("keydown",function(ge){return Ke._handleKeydown(ge)})("focus",function(){return Ke._onFocus()})("blur",function(){return Ke._onBlur()}),2&Oe&&(d.\u0275\u0275attribute("id",Ke.id)("tabindex",Ke.tabIndex)("aria-controls",Ke.panelOpen?Ke.id+"-panel":null)("aria-expanded",Ke.panelOpen)("aria-label",Ke.ariaLabel||null)("aria-required",Ke.required.toString())("aria-disabled",Ke.disabled.toString())("aria-invalid",Ke.errorState)("aria-activedescendant",Ke._getAriaActiveDescendant()),d.\u0275\u0275classProp("mat-select-disabled",Ke.disabled)("mat-select-invalid",Ke.errorState)("mat-select-required",Ke.required)("mat-select-empty",Ke.empty)("mat-select-multiple",Ke.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[d.\u0275\u0275ProvidersFeature([{provide:f.Eo,useExisting:Ft},{provide:g.MAT_OPTION_PARENT_COMPONENT,useExisting:Ft}]),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(Oe,Ke){if(1&Oe&&(d.\u0275\u0275projectionDef(oe),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275listener("click",function(){return Ke.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 Ke.close()})("attach",function(){return Ke._onAttached()})("detach",function(){return Ke.close()})),2&Oe){const he=d.\u0275\u0275reference(1);d.\u0275\u0275attribute("aria-owns",Ke.panelOpen?Ke.id+"-panel":null),d.\u0275\u0275advance(3),d.\u0275\u0275property("ngSwitch",Ke.empty),d.\u0275\u0275attribute("id",Ke._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",Ke._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Ke._scrollStrategy)("cdkConnectedOverlayOrigin",he)("cdkConnectedOverlayOpen",Ke.panelOpen)("cdkConnectedOverlayPositions",Ke._positions)("cdkConnectedOverlayMinWidth",Ke._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",Ke._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}),Ft})(),Pt=(()=>{class Ft{}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)},Ft.\u0275mod=d.\u0275\u0275defineNgModule({type:Ft}),Ft.\u0275inj=d.\u0275\u0275defineInjector({providers:[Ge],imports:[c.CommonModule,n.U8,r.MatLegacyOptionModule,g.MatCommonModule,u.ZD,h.MatLegacyFormFieldModule,r.MatLegacyOptionModule,g.MatCommonModule]}),Ft})()},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:()=>Ce,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),f=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,f.Ig)(H)}get checked(){return this._checked}set checked(H){this._checked=(0,f.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 de;return function(W){return(de||(de=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)(()=>Ce),multi:!0};class U{constructor(de,H){this.source=de,this.checked=H}}let Ce=(()=>{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:()=>Ce});var n=a(6814),c=a(5879),d=a(3680),g=a(4300),r=a(9388),f=a(2495),h=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(de){this._invert=(0,f.Ig)(de)}get max(){return this._max}set max(de){this._max=(0,f.su)(de,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(de){this._min=(0,f.su)(de,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(de){this._step=(0,f.su)(de,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(de){this._thumbLabel=(0,f.Ig)(de)}get tickInterval(){return this._tickInterval}set tickInterval(de){this._tickInterval="auto"===de?"auto":"number"==typeof de||"string"==typeof de?(0,f.su)(de,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(de){if(de!==this._value){let H=(0,f.su)(de,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(de){this._vertical=(0,f.Ig)(de)}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(de){this._focusHostElement(de)}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 de=this.percent,W=this.vertical?`1, ${de}, 1`:`${de}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${W})`,display:0===de?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let de=100*this._tickIntervalPercent,Ee={backgroundSize:this.vertical?`2px ${de}%`:`${de}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${de/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 de=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?de:!de)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const de=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?de:!de}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}constructor(de,H,W,pe,we,Ee,Be,G){super(de),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 de=0;de{if("pointer"===this._isSliding){const ae=ie(re,this._touchId);if(ae){re.cancelable&&re.preventDefault();const ve=this.value;this._lastPointerEvent=re,this._updateValueFromPosition(ae),ve!=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=de.nativeElement;re.addEventListener("mousedown",this._pointerDown,_),re.addEventListener("touchstart",this._pointerDown,_)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(de=>{this._isActive=!!de&&"keyboard"!==de,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const de=this._elementRef.nativeElement;de.removeEventListener("mousedown",this._pointerDown,_),de.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(de){if(this.disabled||(0,h.Vb)(de)||this._isSliding&&"keyboard"!==this._isSliding)return;const H=this.value;switch(de.keyCode){case h.Ku:this._increment(10);break;case h.VM:this._increment(-10);break;case h.uR:this.value=this.max;break;case h.Sd:this.value=this.min;break;case h.oh:this._increment("rtl"==this._getDirection()?1:-1);break;case h.LH:this._increment(1);break;case h.SV:this._increment("rtl"==this._getDirection()?-1:1);break;case h.JH:this._increment(-1);break;default:return}H!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",de.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(de){const H=this._document,W=ee(de),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 de=this._document;de.removeEventListener("mousemove",this._pointerMove,_),de.removeEventListener("mouseup",this._pointerUp,_),de.removeEventListener("touchmove",this._pointerMove,_),de.removeEventListener("touchend",this._pointerUp,_),de.removeEventListener("touchcancel",this._pointerUp,_);const H=this._getWindow();typeof H<"u"&&H&&H.removeEventListener("blur",this._windowBlur)}_increment(de){const H=this._clamp(this.value||0,this.min,this.max);this.value=this._clamp(H+this.step*de,this.min,this.max)}_updateValueFromPosition(de){if(!this._sliderDimensions)return;let we=this._clamp(((this.vertical?de.y:de.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 de;if("auto"==this.tickInterval){let H=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width;de=Math.ceil(30/(H*this.step/(this.max-this.min)))*this.step/H}else de=this.tickInterval*this.step/(this.max-this.min);this._tickIntervalPercent=$(de)?de:0}_createChangeEvent(de=this.value){let H=new E;return H.source=this,H.value=de,H}_calculatePercentage(de){const H=((de||0)-this.min)/(this.max-this.min);return $(H)?H:0}_calculateValue(de){return this.min+de*(this.max-this.min)}_clamp(de,H=0,W=1){return Math.max(H,Math.min(de,W))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(de){this._elementRef.nativeElement.focus(de)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(de){this.value=de}registerOnChange(de){this._controlValueAccessorChangeFn=de}registerOnTouched(de){this.onTouched=de}setDisabledState(de){this.disabled=de}}return Re.\u0275fac=function(de){return new(de||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(de,H){if(1&de&&c.\u0275\u0275viewQuery(p,5),2&de){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(de,H){1&de&&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&de&&(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(de,H){1&de&&(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&de&&(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 de;return de=ee(Re)?"number"==typeof Ae?A(Re.touches,Ae)||A(Re.changedTouches,Ae):Re.touches[0]||Re.changedTouches[0]:Re,de?{x:de.clientX,y:de.clientY}:void 0}function A(Re,Ae){for(let de=0;de{class Re{}return Re.\u0275fac=function(de){return new(de||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:()=>bt});var n=a(5879),c=a(9388),d=a(2495),g=a(8337),r=a(2831),f=a(6672),h=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 se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",se.headerText," ")}}function E(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const se=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(se,Xe.name)," ")}}function I(O){return class extends O{get sticky(){return this._sticky}set sticky(me){const se=this._sticky;this._sticky=(0,d.Ig)(me),this._hasStickyChanged=se!==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(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellDef",""]]}),O})(),ie=(()=>{class O{constructor(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkHeaderCellDef",""]]}),O})(),A=(()=>{class O{constructor(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkFooterCellDef",""]]}),O})();class U{}const Ce=I(U);let Re=(()=>{class O extends Ce{get name(){return this._name}set name(se){this._setNameInput(se)}get stickyEnd(){return this._stickyEnd}set stickyEnd(se){const Xe=this._stickyEnd;this._stickyEnd=(0,d.Ig)(se),this._hasStickyChanged=Xe!==this._stickyEnd}constructor(se){super(),this._table=se,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(se){se&&(this._name=se,this.cssClassFriendlyName=se.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkColumnDef",""]],contentQueries:function(se,Xe,kt){if(1&se&&(n.\u0275\u0275contentQuery(kt,ee,5),n.\u0275\u0275contentQuery(kt,ie,5),n.\u0275\u0275contentQuery(kt,A,5)),2&se){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,se){se.nativeElement.classList.add(...me._columnCssClassName)}}let de=(()=>{class O extends Ae{constructor(se,Xe){super(se,Xe)}}return O.\u0275fac=function(se){return new(se||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(se,Xe){if(super(se,Xe),1===se._table?._elementRef.nativeElement.nodeType){const kt=se._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===kt||"treegrid"===kt?"gridcell":"cell")}}}return O.\u0275fac=function(se){return new(se||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(se,Xe){if(super(se,Xe),1===se._table?._elementRef.nativeElement.nodeType){const kt=se._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===kt||"treegrid"===kt?"gridcell":"cell")}}}return O.\u0275fac=function(se){return new(se||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(se){this._ngZone=se,this._currentSchedule=null,this._destroyed=new u.x}schedule(se){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(se)}scheduleEnd(se){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(se)}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 se=this._currentSchedule;this._currentSchedule=new pe;for(const Xe of se.tasks)Xe();for(const Xe of se.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(se){return new(se||O)(n.\u0275\u0275inject(n.NgZone))},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})(),G=(()=>{class O{constructor(se,Xe){this.template=se,this._differs=Xe}ngOnChanges(se){if(!this._columnsDiffer){const Xe=se.columns&&se.columns.currentValue||[];this._columnsDiffer=this._differs.find(Xe).create(),this._columnsDiffer.diff(Xe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(se){return this instanceof ve?se.headerCell.template:this instanceof Qe?se.footerCell.template:se.cell.template}}return O.\u0275fac=function(se){return new(se||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 ae=I(re);let ve=(()=>{class O extends ae{constructor(se,Xe,kt){super(se,Xe),this._table=kt}ngOnChanges(se){super.ngOnChanges(se)}}return O.\u0275fac=function(se){return new(se||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(se,Xe,kt){super(se,Xe),this._table=kt}ngOnChanges(se){super.ngOnChanges(se)}}return O.\u0275fac=function(se){return new(se||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})(),Ge=(()=>{class O extends G{constructor(se,Xe,kt){super(se,Xe),this._table=kt}}return O.\u0275fac=function(se){return new(se||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(se){this._viewContainer=se,O.mostRecentCellOutlet=this}ngOnDestroy(){O.mostRecentCellOutlet===this&&(O.mostRecentCellOutlet=null)}}return O.mostRecentCellOutlet=null,O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellOutlet",""]]}),O})(),Ct=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Nt=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),_t=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Bt=(()=>{class O{constructor(se){this.templateRef=se,this._contentClassName="cdk-no-data-row"}}return O.\u0275fac=function(se){return new(se||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 Lt{constructor(me,se,Xe,kt,Wt=!0,un=!0,gn){this._isNativeHtmlTable=me,this._stickCellCss=se,this.direction=Xe,this._coalescedStyleScheduler=kt,this._isBrowser=Wt,this._needsPositionStickyOnElement=un,this._positionListener=gn,this._cachedCellWidths=[],this._borderCellCss={top:`${se}-border-elem-top`,bottom:`${se}-border-elem-bottom`,left:`${se}-border-elem-left`,right:`${se}-border-elem-right`}}clearStickyPositioning(me,se){const Xe=[];for(const kt of me)if(kt.nodeType===kt.ELEMENT_NODE){Xe.push(kt);for(let Wt=0;Wt{for(const kt of Xe)this._removeStickyStyle(kt,se)})}updateStickyColumns(me,se,Xe,kt=!0){if(!me.length||!this._isBrowser||!se.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,kt),pn=this._getStickyStartColumnPositions(gn,se),si=this._getStickyEndColumnPositions(gn,Xe),jn=se.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;fnse[fn]?Gi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Fn?[]:gn.slice(Fn).map((Gi,fn)=>Xe[fn+Fn]?Gi:null).reverse()}))})}stickRows(me,se,Xe){if(!this._isBrowser)return;const kt="bottom"===Xe?me.slice().reverse():me,Wt="bottom"===Xe?se.slice().reverse():se,un=[],gn=[],pn=[];for(let jn=0,Fn=0;jn{for(let jn=0;jn{se.some(kt=>!kt)?this._removeStickyStyle(Xe,["bottom"]):this._addStickyStyle(Xe,"bottom",0,!1)})}_removeStickyStyle(me,se){for(const kt of se)me.style[kt]="",me.classList.remove(this._borderCellCss[kt]);Tt.some(kt=>-1===se.indexOf(kt)&&me.style[kt])?me.style.zIndex=this._getCalculatedZIndex(me):(me.style.zIndex="",this._needsPositionStickyOnElement&&(me.style.position=""),me.classList.remove(this._stickCellCss))}_addStickyStyle(me,se,Xe,kt){me.classList.add(this._stickCellCss),kt&&me.classList.add(this._borderCellCss[se]),me.style[se]=`${Xe}px`,me.style.zIndex=this._getCalculatedZIndex(me),this._needsPositionStickyOnElement&&(me.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(me){const se={top:100,bottom:10,left:1,right:1};let Xe=0;for(const kt of Tt)me.style[kt]&&(Xe+=se[kt]);return Xe?`${Xe}`:""}_getCellWidths(me,se=!0){if(!se&&this._cachedCellWidths.length)return this._cachedCellWidths;const Xe=[],kt=me.children;for(let Wt=0;Wt0;Wt--)se[Wt]&&(Xe[Wt]=kt,kt+=me[Wt]);return Xe}}const K=new n.InjectionToken("CDK_SPL");let Te=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","rowOutlet",""]]}),O})(),et=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||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(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","footerRowOutlet",""]]}),O})(),_e=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","noDataRowOutlet",""]]}),O})(),mt=(()=>{class O{get trackBy(){return this._trackByFn}set trackBy(se){this._trackByFn=se}get dataSource(){return this._dataSource}set dataSource(se){this._dataSource!==se&&this._switchDataSource(se)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(se){this._multiTemplateDataRows=(0,d.Ig)(se),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(se){this._fixedLayout=(0,d.Ig)(se),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(se,Xe,kt,Wt,un,gn,pn,si,jn,Fn,bi,Ti){this._differs=se,this._changeDetectorRef=Xe,this._elementRef=kt,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((se,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(se=>{se.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 se=this._dataDiffer.diff(this._renderRows);if(!se)return this._updateNoDataRow(),void this.contentChanged.next();const Xe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(se,Xe,(kt,Wt,un)=>this._getEmbeddedViewArgs(kt.item,un),kt=>kt.item.data,kt=>{1===kt.operation&&kt.context&&this._renderCellTemplateForItem(kt.record.item.rowDef,kt.context)}),this._updateRowIndexContext(),se.forEachIdentityChange(kt=>{Xe.get(kt.currentIndex).context.$implicit=kt.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(se){this._customColumnDefs.add(se)}removeColumnDef(se){this._customColumnDefs.delete(se)}addRowDef(se){this._customRowDefs.add(se)}removeRowDef(se){this._customRowDefs.delete(se)}addHeaderRowDef(se){this._customHeaderRowDefs.add(se),this._headerRowDefChanged=!0}removeHeaderRowDef(se){this._customHeaderRowDefs.delete(se),this._headerRowDefChanged=!0}addFooterRowDef(se){this._customFooterRowDefs.add(se),this._footerRowDefChanged=!0}removeFooterRowDef(se){this._customFooterRowDefs.delete(se),this._footerRowDefChanged=!0}setNoDataRow(se){this._customNoDataRow=se}updateStickyHeaderRowStyles(){const se=this._getRenderedRows(this._headerRowOutlet),kt=this._elementRef.nativeElement.querySelector("thead");kt&&(kt.style.display=se.length?"":"none");const Wt=this._headerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(se,["top"]),this._stickyStyler.stickRows(se,Wt,"top"),this._headerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyFooterRowStyles(){const se=this._getRenderedRows(this._footerRowOutlet),kt=this._elementRef.nativeElement.querySelector("tfoot");kt&&(kt.style.display=se.length?"":"none");const Wt=this._footerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(se,["bottom"]),this._stickyStyler.stickRows(se,Wt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Wt),this._footerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyColumnStyles(){const se=this._getRenderedRows(this._headerRowOutlet),Xe=this._getRenderedRows(this._rowOutlet),kt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...se,...Xe,...kt],["left","right"]),this._stickyColumnStylesNeedReset=!1),se.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 se=[],Xe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let kt=0;kt{const gn=kt&&kt.has(un)?kt.get(un):[];if(gn.length){const pn=gn.shift();return pn.dataIndex=Xe,pn}return{data:se,rowDef:un,dataIndex:Xe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Pt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Xe=>{this._columnDefsByName.has(Xe.name),this._columnDefsByName.set(Xe.name,Xe)})}_cacheRowDefs(){this._headerRowDefs=Pt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Pt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Pt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const se=this._rowDefs.filter(Xe=>!Xe.when);this._defaultRowDef=se[0]}_renderUpdatedColumns(){const se=(un,gn)=>un||!!gn.getColumnsDiff(),Xe=this._rowDefs.reduce(se,!1);Xe&&this._forceRenderDataRows();const kt=this._headerRowDefs.reduce(se,!1);kt&&this._forceRenderHeaderRows();const Wt=this._footerRowDefs.reduce(se,!1);return Wt&&this._forceRenderFooterRows(),Xe||kt||Wt}_switchDataSource(se){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),se||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=se}_observeRenderChanges(){if(!this.dataSource)return;let se;(0,g.Z9)(this.dataSource)?se=this.dataSource.connect(this):(0,p.b)(this.dataSource)?se=this.dataSource:Array.isArray(this.dataSource)&&(se=(0,_.of)(this.dataSource)),this._renderChangeSubscription=se.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((se,Xe)=>this._renderRow(this._headerRowOutlet,se,Xe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((se,Xe)=>this._renderRow(this._footerRowOutlet,se,Xe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(se,Xe){const kt=Array.from(Xe.columns||[]).map(gn=>this._columnDefsByName.get(gn)),Wt=kt.map(gn=>gn.sticky),un=kt.map(gn=>gn.stickyEnd);this._stickyStyler.updateStickyColumns(se,Wt,un,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(se){const Xe=[];for(let kt=0;kt!Wt.when||Wt.when(Xe,se));else{let Wt=this._rowDefs.find(un=>un.when&&un.when(Xe,se))||this._defaultRowDef;Wt&&kt.push(Wt)}return kt}_getEmbeddedViewArgs(se,Xe){return{templateRef:se.rowDef.template,context:{$implicit:se.data},index:Xe}}_renderRow(se,Xe,kt,Wt={}){const un=se.viewContainer.createEmbeddedView(Xe.template,Wt,kt);return this._renderCellTemplateForItem(Xe,Wt),un}_renderCellTemplateForItem(se,Xe){for(let kt of this._getCellTemplates(se))tt.mostRecentCellOutlet&&tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(kt,Xe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const se=this._rowOutlet.viewContainer;for(let Xe=0,kt=se.length;Xe{const kt=this._columnDefsByName.get(Xe);return se.extractCellTemplate(kt)}):[]}_applyNativeTableSections(){const se=this._document.createDocumentFragment(),Xe=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const kt of Xe){const Wt=this._document.createElement(kt.tag);Wt.setAttribute("role","rowgroup");for(const un of kt.outlets)Wt.appendChild(un.elementRef.nativeElement);se.appendChild(Wt)}this._elementRef.nativeElement.appendChild(se)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const se=(Xe,kt)=>Xe||kt.hasStickyChanged();this._headerRowDefs.reduce(se,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(se,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(se,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Lt(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(se){return se.filter(Xe=>!Xe._table||Xe._table===this)}_updateNoDataRow(){const se=this._customNoDataRow||this._noDataRow;if(!se)return;const Xe=0===this._rowOutlet.viewContainer.length;if(Xe===this._isShowingNoDataRow)return;const kt=this._noDataRowOutlet.viewContainer;if(Xe){const Wt=kt.createEmbeddedView(se.templateRef),un=Wt.rootNodes[0];1===Wt.rootNodes.length&&un?.nodeType===this._document.ELEMENT_NODE&&(un.setAttribute("role","row"),un.classList.add(se._contentClassName))}else kt.clear();this._isShowingNoDataRow=Xe}}return O.\u0275fac=function(se){return new(se||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(h.DOCUMENT),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(g.k),n.\u0275\u0275directiveInject(we),n.\u0275\u0275directiveInject(f.rL),n.\u0275\u0275directiveInject(K,12),n.\u0275\u0275directiveInject(n.NgZone,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(se,Xe,kt){if(1&se&&(n.\u0275\u0275contentQuery(kt,Bt,5),n.\u0275\u0275contentQuery(kt,Re,5),n.\u0275\u0275contentQuery(kt,Ge,5),n.\u0275\u0275contentQuery(kt,ve,5),n.\u0275\u0275contentQuery(kt,Qe,5)),2&se){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(se,Xe){if(1&se&&(n.\u0275\u0275viewQuery(Te,7),n.\u0275\u0275viewQuery(et,7),n.\u0275\u0275viewQuery(Dt,7),n.\u0275\u0275viewQuery(_e,7)),2&se){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._rowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._headerRowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._footerRowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._noDataRowOutlet=kt.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(se,Xe){2&se&&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:K,useValue:null}])],ngContentSelectors:D,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,Xe){1&se&&(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,et,Dt,_e],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),O})();function Pt(O,me){return O.concat(Array.from(me))}let Ft=(()=>{class O{get name(){return this._name}set name(se){this._name=se,this._syncColumnDefName()}constructor(se,Xe){this._table=se,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||((se,Xe)=>se[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 se=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(se):se[0].toUpperCase()+se.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(mt,8),n.\u0275\u0275directiveInject($,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-text-column"]],viewQuery:function(se,Xe){if(1&se&&(n.\u0275\u0275viewQuery(Re,7),n.\u0275\u0275viewQuery(ee,7),n.\u0275\u0275viewQuery(ie,7)),2&se){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.columnDef=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.cell=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.headerCell=kt.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(se,Xe){1&se&&(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,de],encapsulation:2}),O})(),Oe=(()=>{class O{}return O.\u0275fac=function(se){return new(se||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.Cl]}),O})();var Ke=a(3680),he=a(3019),ge=a(2572),ct=a(7398);class bt 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=(se,Xe)=>{const kt=se[Xe];if((0,d.t6)(kt)){const Wt=Number(kt);return Wt<9007199254740991?Wt:kt}return kt},this.sortData=(se,Xe)=>{const kt=Xe.active,Wt=Xe.direction;return kt&&""!=Wt?se.sort((un,gn)=>{let pn=this.sortingDataAccessor(un,kt),si=this.sortingDataAccessor(gn,kt);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 kt=Object.keys(se).reduce((un,gn)=>un+se[gn]+"\u25ec","").toLowerCase(),Wt=Xe.trim().toLowerCase();return-1!=kt.indexOf(Wt)},this._data=new b.X(me),this._updateChangeSubscription()}_updateChangeSubscription(){const me=this._sort?(0,he.T)(this._sort.sortChange,this._sort.initialized):(0,_.of)(null),se=this._paginator?(0,he.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,_.of)(null),kt=(0,ge.a)([this._data,this._filter]).pipe((0,ct.U)(([gn])=>this._filterData(gn))),Wt=(0,ge.a)([kt,me]).pipe((0,ct.U)(([gn])=>this._orderData(gn))),un=(0,ge.a)([Wt,se]).pipe((0,ct.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(se=>this.filterPredicate(se,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 se=this.paginator.pageIndex*this.paginator.pageSize;return me.slice(se,se+this.paginator.pageSize)}_updatePaginator(me){Promise.resolve().then(()=>{const se=this.paginator;if(se&&(se.length=me,se.pageIndex>0)){const Xe=Math.ceil(se.length/se.pageSize)-1||0,kt=Math.min(se.pageIndex,Xe);kt!==se.pageIndex&&(se.pageIndex=kt,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 se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",se.headerText," ")}}function sn(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const se=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(se,Xe.name)," ")}}let Nn=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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 mt{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(se,Xe){2&se&&n.\u0275\u0275classProp("mat-table-fixed-layout",Xe.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:g.k,useClass:g.yy},{provide:mt,useExisting:O},{provide:X,useExisting:O},{provide:we,useClass:Ee},{provide:K,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:nn,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,Xe){1&se&&(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,et,Dt,_e],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(se){this._setNameInput(se)}_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 de{}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 ve{}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:ve,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 Ge{}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:Ge,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),Yn=(()=>{class O extends Ct{}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:Ct,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),wi=(()=>{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-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Nt,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),ri=(()=>{class O extends _t{}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:_t,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&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 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-text-column"]],hostVars:1,hostBindings:function(se,Xe){2&se&&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(se,Xe){1&se&&(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(se){return new(se||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[Oe,Ke.MatCommonModule,Ke.MatCommonModule]}),O})();class ke extends bt{}},8615:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_TAB:()=>at,MAT_LEGACY_TABS_CONFIG:()=>Me,MAT_LEGACY_TAB_CONTENT:()=>Le,MAT_LEGACY_TAB_GROUP:()=>mt,MatLegacyInkBar:()=>_i,MatLegacyPaginatedTabHeader:()=>he,MatLegacyTab:()=>$n,MatLegacyTabBody:()=>an,MatLegacyTabBodyPortal:()=>ti,MatLegacyTabChangeEvent:()=>Q,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:()=>ce,_MatLegacyTabBase:()=>Pt,_MatLegacyTabBodyBase:()=>Tt,_MatLegacyTabGroupBase:()=>F,_MatLegacyTabHeaderBase:()=>ge,_MatLegacyTabLinkBase:()=>qe,_MatLegacyTabNavBase:()=>dt,matLegacyTabsAnimations:()=>_t});var n=a(4300),c=a(7131),d=a(8484),g=a(6814),r=a(5879),f=a(3680),h=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),Ce=a(2831),Re=a(6028);function Ae(Mt,jt){}const de=function(Mt){return{animationDuration:Mt}},H=function(Mt,jt){return{value:Mt,params:jt}},_t={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 Mt extends d.Pl{constructor(ke,O,me,se){super(ke,O,se),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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Lt)),r.\u0275\u0275directiveInject(g.DOCUMENT))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),Tt=(()=>{class Mt{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(se=>{this._computePositionAnimationState(se),me.markForCheck()})),this._translateTabComplete.pipe((0,E.x)((se,Xe)=>se.fromState===Xe.fromState&&se.toState===Xe.toState)).subscribe(se=>{this._isCenterPosition(se.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(se.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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Mt})(),Lt=(()=>{class Mt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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(se){return O._onTranslateTabStarted(se)})("@translateTab.done",function(se){return O._translateTabComplete.next(se)}),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,de,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:[_t.translateTab]}}),Mt})();const Le=new r.InjectionToken("MatTabContent");let lt=(()=>{class Mt{constructor(ke){this.template=ke}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.TemplateRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Mt}])]}),Mt})();const ze=new r.InjectionToken("MatTabLabel"),at=new r.InjectionToken("MAT_TAB");let N=(()=>{class Mt extends d.ig{constructor(ke,O,me){super(ke,O),this._closestTab=me}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(at,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})();function ce(){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:ce}),et=(0,f.mixinDisabled)(class{});let Dt=(()=>{class Mt extends et{constructor(ke){super(),this.elementRef=ke}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();const Pe=(0,f.mixinDisabled)(class{}),mt=new r.InjectionToken("MAT_TAB_GROUP");let Pt=(()=>{class Mt extends Pe{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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(mt,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})();const Gt=(0,Ce.i$)({passive:!0});let he=(()=>{class Mt{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,se,Xe,kt,Wt){this._elementRef=ke,this._changeDetectorRef=O,this._viewportRuler=me,this._dir=se,this._ngZone=Xe,this._platform=kt,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",Gt).pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,p.R)(this._nextPaginator.nativeElement,"touchstart",Gt).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,h.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(se=>{this.indexFocused.emit(se),this._setTabFocus(se)})}_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(se=>O.next(se));return ke.forEach(se=>me.observe(se.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:se,offsetWidth:Xe}=O.elementRef.nativeElement;let kt,Wt;"ltr"==this._getLayoutDirection()?(kt=se,Wt=kt+Xe):(Wt=this._tabListInner.nativeElement.offsetWidth-se,kt=Wt-Xe);const un=this.scrollDistance,gn=this.scrollDistance+me;ktgn&&(this.scrollDistance+=Math.min(Wt-gn,kt-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:se}=this._scrollHeader(ke);(0===se||se>=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 Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{disablePagination:"disablePagination"}}),Mt})(),ge=(()=>{class Mt extends he{get disableRipple(){return this._disableRipple}set disableRipple(ke){this._disableRipple=(0,A.Ig)(ke)}constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt),this._disableRipple=!1}_itemSelected(ke){ke.preventDefault()}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();const Me=new r.InjectionToken("MAT_TABS_CONFIG");let Ye=0;const De=(0,f.mixinColor)((0,f.mixinDisableRipple)(class{constructor(Mt){this._elementRef=Mt}}),"primary");let F=(()=>{class Mt 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,se){super(ke),this._changeDetectorRef=O,this._animationMode=se,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,se)=>me.isActive=se===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 se=0;se{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 Q;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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Me,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})();class Q{}let be=0,dt=(()=>{class Mt extends he{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,se,Xe,kt,Wt){super(ke,se,Xe,O,me,kt,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 Mt extends Rt{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,se,Xe,kt){super(),this._tabNavBar=ke,this.elementRef=O,this._focusMonitor=Xe,this._isActive=!1,this.id="mat-tab-link-"+be++,this.rippleConfig=me||{},this.tabIndex=parseInt(se)||0,"NoopAnimations"===kt&&(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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(dt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{active:"active",id:"id"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();function xn(Mt,jt){1&Mt&&r.\u0275\u0275projection(0)}const Sn=["*"];function _n(Mt,jt){}const Mn=function(Mt){return{animationDuration:Mt}},xi=function(Mt,jt){return{value:Mt,params:jt}},fi=["tabListContainer"],Vi=["tabList"],Yi=["tabListInner"],xt=["nextPaginator"],bt=["previousPaginator"],pt=["tabBodyWrapper"],qt=["tabHeader"];function nn(Mt,jt){}function cn(Mt,jt){if(1&Mt&&r.\u0275\u0275template(0,nn,0,0,"ng-template",10),2&Mt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",ke.templateLabel)}}function sn(Mt,jt){if(1&Mt&&r.\u0275\u0275text(0),2&Mt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(ke.textLabel)}}function Nn(Mt,jt){if(1&Mt){const ke=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const me=r.\u0275\u0275restoreView(ke),se=me.$implicit,Xe=me.index,kt=r.\u0275\u0275nextContext(),Wt=r.\u0275\u0275reference(1);return r.\u0275\u0275resetView(kt._handleClick(se,Wt,Xe))})("cdkFocusChange",function(me){const Xe=r.\u0275\u0275restoreView(ke).index,kt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(kt._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&Mt){const ke=jt.$implicit,O=jt.index,me=r.\u0275\u0275reference(4),se=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",se.selectedIndex===O),r.\u0275\u0275property("id",se._getTabLabelId(O))("ngClass",ke.labelClass)("disabled",ke.disabled)("matRippleDisabled",ke.disabled||se.disableRipple),r.\u0275\u0275attribute("tabIndex",se._getTabIndex(O))("aria-posinset",O+1)("aria-setsize",se._tabs.length)("aria-controls",se._getTabContentId(O))("aria-selected",se.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(Mt,jt){if(1&Mt){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 se=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(se._setTabBodyWrapperHeight(me))}),r.\u0275\u0275elementEnd()}if(2&Mt){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 Mt{constructor(ke,O,me,se){this._elementRef=ke,this._ngZone=O,this._inkBarPositioner=me,this._animationMode=se}alignToElement(ke){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,h.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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Te),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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)}}),Mt})(),$n=(()=>{class Mt extends Pt{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(ke){this._setTemplateLabelInput(ke)}}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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 se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O.templateLabel=se.first),r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._explicitContent=se.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:Mt}]),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}),Mt})(),ti=(()=>{class Mt extends Bt{constructor(ke,O,me,se){super(ke,O,me,se)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>an)),r.\u0275\u0275directiveInject(g.DOCUMENT))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),an=(()=>{class Mt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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(se){return O._onTranslateTabStarted(se)})("@translateTab.done",function(se){return O._translateTabComplete.next(se)}),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:[_t.translateTab]}}),Mt})(),mn=(()=>{class Mt extends Dt{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})(),Tn=(()=>{class Mt extends ge{constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["mat-tab-header"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,mn,4),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._items=se)}},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(xt,5),r.\u0275\u0275viewQuery(bt,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(se){return O._handlePaginatorPress("before",se)})("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(se){return O._handleKeydown(se)}),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(se){return O._handlePaginatorPress("after",se)})("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:[f.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}),Mt})(),Rn=(()=>{class Mt extends F{constructor(ke,O,me,se){super(ke,O,me,se)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Me,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["mat-tab-group"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,$n,5),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._allTabs=se)}},viewQuery:function(ke,O){if(1&ke&&(r.\u0275\u0275viewQuery(pt,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:mt,useExisting:Mt}]),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(se){return O._focusChanged(se)})("selectFocusedIndex",function(se){return O.selectedIndex=se}),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,f.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}),Mt})(),Wn=0,mi=(()=>{class Mt extends dt{constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,Yn,5),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._items=se)}},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(xt,5),r.\u0275\u0275viewQuery(bt,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(se){return O._handlePaginatorPress("before",se)})("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(se){return O._handleKeydown(se)}),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(se){return O._handlePaginatorPress("after",se)})("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:[f.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}),Mt})(),Yn=(()=>{class Mt extends qe{constructor(ke,O,me,se,Xe,kt,Wt,un){super(ke,O,Xe,kt,Wt,un),this._tabLinkRipple=new f.RippleRenderer(this,me,O,se),this._tabLinkRipple.setupTriggerEvents(O.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(mi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Ce.t4),r.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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(se){return O._handleKeydown(se)}),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]}),Mt})(),wi=(()=>{class Mt{constructor(){this.id="mat-tab-nav-panel-"+Wn++}}return Mt.\u0275fac=function(ke){return new(ke||Mt)},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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}),Mt})(),ri=(()=>{class Mt extends N{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),ai=(()=>{class Mt extends lt{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),Ni=(()=>{class Mt{}return Mt.\u0275fac=function(ke){return new(ke||Mt)},Mt.\u0275mod=r.\u0275\u0275defineNgModule({type:Mt}),Mt.\u0275inj=r.\u0275\u0275defineInjector({imports:[g.CommonModule,f.MatCommonModule,d.eL,f.MatRippleModule,c.Q8,n.rt,f.MatCommonModule]}),Mt})()},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"]]],f=["*","mat-toolbar-row"],h=(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 h{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:f,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:()=>We});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 Ge(je,T,P=new Map,ue=new Map){const Fe=[],it=[];let It=-1,Et=null;if(T.forEach(Qt=>{const en=Qt.get("offset"),In=en==It,Ln=In&&Et||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=ue.get(li);break;default:ii=je.normalizeStyleValue(li,Gn,ii,Fe)}Ln.set(Gn,ii)}),In||it.push(Ln),Et=Ln,It=en}),Fe.length)throw function de(je){return new n.\u0275RuntimeError(3502,!1)}();return it}function tt(je,T,P,ue){switch(T){case"start":je.onStart(()=>ue(P&&Ct(P,"start",je)));break;case"done":je.onDone(()=>ue(P&&Ct(P,"done",je)));break;case"destroy":je.onDestroy(()=>ue(P&&Ct(P,"destroy",je)))}}function Ct(je,T,P){const it=Nt(je.element,je.triggerName,je.fromState,je.toState,T||je.phaseName,P.totalTime??je.totalTime,!!P.disabled),It=je._data;return null!=It&&(it._data=It),it}function Nt(je,T,P,ue,Fe="",it=0,It){return{element:je,triggerName:T,fromState:P,toState:ue,phaseName:Fe,totalTime:it,disabled:!!It}}function _t(je,T,P){let ue=je.get(T);return ue||je.set(T,ue=P),ue}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 Lt(je){const T=je.parentNode||je.host||null;return T===Tt?null:T}let lt=null,ze=!1;function Y(je,T){for(;T;){if(T===je)return!0;T=Lt(T)}return!1}function ne(je,T,P){if(P)return Array.from(je.querySelectorAll(T));const ue=je.querySelector(T);return ue?[ue]:[]}let ce=(()=>{class je{validateStyleProperty(P){return function at(je){lt||(lt=function oe(){return typeof document<"u"?document.body:null}()||{},ze=!!lt.style&&"WebkitAppearance"in lt.style);let T=!0;return lt.style&&!function Le(je){return"ebkit"==je.substring(1,6)}(je)&&(T=je in lt.style,!T&&ze&&(T="Webkit"+je.charAt(0).toUpperCase()+je.slice(1)in lt.style)),T}(P)}matchesElement(P,ue){return!1}containsElement(P,ue){return Y(P,ue)}getParentElement(P){return Lt(P)}query(P,ue,Fe){return ne(P,ue,Fe)}computeStyle(P,ue,Fe){return Fe||""}animate(P,ue,Fe,it,It,Et=[],Qt){return new d.ZN(Fe,it)}}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 ce,je})();const et=1e3,ut="ng-enter",Pe="ng-leave",mt="ng-trigger",Pt=".ng-trigger",Ft="ng-animating",Gt=".ng-animating";function Oe(je){if("number"==typeof je)return je;const T=je.match(/^(-?[\.\d]+)(m?s)/);return!T||T.length<2?0:Ke(parseFloat(T[1]),T[2])}function Ke(je,T){return"s"===T?je*et:je}function he(je,T,P){return je.hasOwnProperty("duration")?je:function ge(je,T,P){let Fe,it=0,It="";if("string"==typeof je){const Et=je.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Et)return T.push(r()),{duration:0,delay:0,easing:""};Fe=Ke(parseFloat(Et[1]),Et[2]);const Qt=Et[3];null!=Qt&&(it=Ke(parseFloat(Qt),Et[4]));const en=Et[5];en&&(It=en)}else Fe=je;if(!P){let Et=!1,Qt=T.length;Fe<0&&(T.push(function f(){return new n.\u0275RuntimeError(3100,!1)}()),Et=!0),it<0&&(T.push(function h(){return new n.\u0275RuntimeError(3101,!1)}()),Et=!0),Et&&T.splice(Qt,0,r())}return{duration:Fe,delay:it,easing:It}}(je,T,P)}function ct(je,T={}){return Object.keys(je).forEach(P=>{T[P]=je[P]}),T}function Me(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[ue,Fe]of P)T.set(ue,Fe);for(let[ue,Fe]of je)T.set(ue,Fe);return T}function V(je,T,P){T.forEach((ue,Fe)=>{const it=At(Fe);P&&!P.has(Fe)&&P.set(Fe,je.style[it]),je.style[it]=ue})}function Q(je,T){T.forEach((P,ue)=>{const Fe=At(ue);je.style[Fe]=""})}function be(je){return Array.isArray(je)?1==je.length?je[0]:(0,d.vP)(je):je}const Rt=new RegExp("{{\\s*(.+?)\\s*}}","g");function qe(je){let T=[];if("string"==typeof je){let P;for(;P=Rt.exec(je);)T.push(P[1]);Rt.lastIndex=0}return T}function nt(je,T,P){const ue=je.toString(),Fe=ue.replace(Rt,(it,It)=>{let Et=T[It];return null==Et&&(P.push(function v(je){return new n.\u0275RuntimeError(3003,!1)}()),Et=""),Et.toString()});return Fe==ue?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 At(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 pt="*";function qt(je,T){const P=[];return"string"==typeof je?je.split(/\s*,\s*/).forEach(ue=>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,ue)=>parseFloat(ue)>parseFloat(P);case":decrement":return(P,ue)=>parseFloat(ue) *"}}(je,P);if("function"==typeof Qt)return void T.push(Qt);je=Qt}const ue=je.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==ue||ue.length<4)return P.push(function A(je){return new n.\u0275RuntimeError(3015,!1)}()),T;const Fe=ue[1],it=ue[2],It=ue[3];T.push(wn(Fe,It));"<"==it[0]&&!(Fe==pt&&It==pt)&&T.push(wn(It,Fe))}(ue,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),ue=sn.has(T)||Nn.has(T);return(Fe,it)=>{let It=je==pt||je==Fe,Et=T==pt||T==it;return!It&&P&&"boolean"==typeof Fe&&(It=Fe?sn.has(je):Nn.has(je)),!Et&&ue&&"boolean"==typeof it&&(Et=it?sn.has(T):Nn.has(T)),It&&Et}}const _i=new RegExp("s*:selfs*,?","g");function $n(je,T,P,ue){return new an(je).build(T,P,ue)}class an{constructor(T){this._driver=T}build(T,P,ue){const Fe=new Rn(P);return this._resetContextStyleTimingState(Fe),_n(this,be(T),Fe)}_resetContextStyleTimingState(T){T.currentQuerySelector="",T.collectedStyles=new Map,T.collectedStyles.set("",new Map),T.currentTime=0}visitTrigger(T,P){let ue=P.queryCount=0,Fe=P.depCount=0;const it=[],It=[];return"@"==T.name.charAt(0)&&P.errors.push(function _(){return new n.\u0275RuntimeError(3006,!1)}()),T.definitions.forEach(Et=>{if(this._resetContextStyleTimingState(P),0==Et.type){const Qt=Et,en=Qt.name;en.toString().split(/\s*,\s*/).forEach(In=>{Qt.name=In,it.push(this.visitState(Qt,P))}),Qt.name=en}else if(1==Et.type){const Qt=this.visitTransition(Et,P);ue+=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:it,transitions:It,queryCount:ue,depCount:Fe,options:null}}visitState(T,P){const ue=this.visitStyle(T.styles,P),Fe=T.options&&T.options.params||null;if(ue.containsDynamicStyles){const it=new Set,It=Fe||{};ue.styles.forEach(Et=>{Et instanceof Map&&Et.forEach(Qt=>{qe(Qt).forEach(en=>{It.hasOwnProperty(en)||it.add(en)})})}),it.size&&(Ve(it.values()),P.errors.push(function y(je,T){return new n.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:T.name,style:ue,options:Fe?{params:Fe}:null}}visitTransition(T,P){P.queryCount=0,P.depCount=0;const ue=_n(this,be(T.animation),P);return{type:1,matchers:qt(T.expr,P.errors),animation:ue,queryCount:P.queryCount,depCount:P.depCount,options:Yn(T.options)}}visitSequence(T,P){return{type:2,steps:T.steps.map(ue=>_n(this,ue,P)),options:Yn(T.options)}}visitGroup(T,P){const ue=P.currentTime;let Fe=0;const it=T.steps.map(It=>{P.currentTime=ue;const Et=_n(this,It,P);return Fe=Math.max(Fe,P.currentTime),Et});return P.currentTime=Fe,{type:3,steps:it,options:Yn(T.options)}}visitAnimate(T,P){const ue=function mi(je,T){if(je.hasOwnProperty("duration"))return je;if("number"==typeof je)return wi(he(je,T).duration,0,"");const P=je;if(P.split(/\s+/).some(it=>"{"==it.charAt(0)&&"{"==it.charAt(1))){const it=wi(0,0,"");return it.dynamic=!0,it.strValue=P,it}const Fe=he(P,T);return wi(Fe.duration,Fe.delay,Fe.easing)}(T.timings,P.errors);P.currentAnimateTimings=ue;let Fe,it=T.styles?T.styles:(0,d.oB)({});if(5==it.type)Fe=this.visitKeyframes(it,P);else{let It=T.styles,Et=!1;if(!It){Et=!0;const en={};ue.easing&&(en.easing=ue.easing),It=(0,d.oB)(en)}P.currentTime+=ue.duration+ue.delay;const Qt=this.visitStyle(It,P);Qt.isEmptyStep=Et,Fe=Qt}return P.currentAnimateTimings=null,{type:4,timings:ue,style:Fe,options:null}}visitStyle(T,P){const ue=this._makeStyleAst(T,P);return this._validateStyleAst(ue,P),ue}_makeStyleAst(T,P){const ue=[],Fe=Array.isArray(T.styles)?T.styles:[T.styles];for(let Et of Fe)"string"==typeof Et?Et===d.l3?ue.push(Et):P.errors.push(new n.\u0275RuntimeError(3002,!1)):ue.push(Me(Et));let it=!1,It=null;return ue.forEach(Et=>{if(Et instanceof Map&&(Et.has("easing")&&(It=Et.get("easing"),Et.delete("easing")),!it))for(let Qt of Et.values())if(Qt.toString().indexOf("{{")>=0){it=!0;break}}),{type:6,styles:ue,easing:It,offset:T.offset,containsDynamicStyles:it,options:null}}_validateStyleAst(T,P){const ue=P.currentAnimateTimings;let Fe=P.currentTime,it=P.currentTime;ue&&it>0&&(it-=ue.duration+ue.delay),T.styles.forEach(It=>{"string"!=typeof It&&It.forEach((Et,Qt)=>{const en=P.collectedStyles.get(P.currentQuerySelector),In=en.get(Qt);let Ln=!0;In&&(it!=Fe&&it>=In.startTime&&Fe<=In.endTime&&(P.errors.push(function S(je,T,P,ue,Fe){return new n.\u0275RuntimeError(3010,!1)}()),Ln=!1),it=In.startTime),Ln&&en.set(Qt,{startTime:it,endTime:Fe}),P.options&&function dt(je,T,P){const ue=T.params||{},Fe=qe(je);Fe.length&&Fe.forEach(it=>{ue.hasOwnProperty(it)||P.push(function u(je){return new n.\u0275RuntimeError(3001,!1)}())})}(Et,P.options,P.errors)})})}visitKeyframes(T,P){const ue={type:5,styles:[],options:null};if(!P.currentAnimateTimings)return P.errors.push(function E(){return new n.\u0275RuntimeError(3011,!1)}()),ue;let it=0;const It=[];let Et=!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 ue=P;T=parseFloat(ue.get("offset")),ue.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&&(it++,nr=Ki.offset=sr),Qt=Qt||nr<0||nr>1,Et=Et||nr0&&it{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,ue.styles.push(qi)}),ue}visitReference(T,P){return{type:8,animation:_n(this,be(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 ue=P.currentQuerySelector,Fe=T.options||{};P.queryCount++,P.currentQuery=T;const[it,It]=function mn(je){const T=!!je.split(/\s*,\s*/).find(P=>":self"==P);return T&&(je=je.replace(_i,"")),je=je.replace(/@\*/g,Pt).replace(/@\w+/g,P=>Pt+"-"+P.slice(1)).replace(/:animating/g,Gt),[je,T]}(T.selector);P.currentQuerySelector=ue.length?ue+" "+it:it,_t(P.collectedStyles,P.currentQuerySelector,new Map);const Et=_n(this,be(T.animation),P);return P.currentQuery=null,P.currentQuerySelector=ue,{type:11,selector:it,limit:Fe.limit||0,optional:!!Fe.optional,includeSelf:It,animation:Et,originalSelector:T.selector,options:Yn(T.options)}}visitStagger(T,P){P.currentQuery||P.errors.push(function ee(){return new n.\u0275RuntimeError(3013,!1)}());const ue="full"===T.timings?{duration:0,delay:0,easing:"full"}:he(T.timings,P.errors,!0);return{type:12,animation:_n(this,be(T.animation),P),timings:ue,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=ct(je)).params&&(je.params=function Tn(je){return je?ct(je):null}(je.params)):je={},je}function wi(je,T,P){return{duration:je,delay:T,easing:P}}function ri(je,T,P,ue,Fe,it,It=null,Et=!1){return{type:1,element:je,keyframes:T,preStyleProps:P,postStyleProps:ue,duration:Fe,delay:it,totalTime:Fe+it,easing:It,subTimeline:Et}}class ai{constructor(){this._map=new Map}get(T){return this._map.get(T)||[]}append(T,P){let ue=this._map.get(T);ue||this._map.set(T,ue=[]),ue.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,ue,Fe,it=new Map,It=new Map,Et,Qt,en=[]){return(new se).buildKeyframes(je,T,P,ue,Fe,it,It,Et,Qt,en)}class se{buildKeyframes(T,P,ue,Fe,it,It,Et,Qt,en,In=[]){en=en||new ai;const Ln=new kt(T,P,en,Fe,it,In,[]);Ln.options=Qt;const pi=Qt.delay?Oe(Qt.delay):0;Ln.currentTimeline.delayNextStep(pi),Ln.currentTimeline.setStyles([It],null,Ln.errors,Qt),_n(this,ue,Ln);const li=Ln.timelines.filter(Gn=>Gn.containsAnimation());if(li.length&&Et.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([Et],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 ue=P.subInstructions.get(P.element);if(ue){const Fe=P.createSubContext(T.options),it=P.currentTimeline.currentTime,It=this._visitSubInstructions(ue,Fe,Fe.options);it!=It&&P.transformIntoNewTimeline(It)}P.previousNode=T}visitAnimateRef(T,P){const ue=P.createSubContext(T.options);ue.transformIntoNewTimeline(),this._applyAnimationRefDelays([T.options,T.animation.options],P,ue),this.visitReference(T.animation,ue),P.transformIntoNewTimeline(ue.currentTimeline.currentTime),P.previousNode=T}_applyAnimationRefDelays(T,P,ue){for(const Fe of T){const it=Fe?.delay;if(it){const It="number"==typeof it?it:Oe(nt(it,Fe?.params??{},P.errors));ue.delayNextStep(It)}}}_visitSubInstructions(T,P,ue){let it=P.currentTimeline.currentTime;const It=null!=ue.duration?Oe(ue.duration):null,Et=null!=ue.delay?Oe(ue.delay):null;return 0!==It&&T.forEach(Qt=>{const en=P.appendInstructionToTimeline(Qt,It,Et);it=Math.max(it,en.duration+en.delay)}),it}visitReference(T,P){P.updateOptions(T.options,!0),_n(this,T.animation,P),P.previousNode=T}visitSequence(T,P){const ue=P.subContextCount;let Fe=P;const it=T.options;if(it&&(it.params||it.delay)&&(Fe=P.createSubContext(it),Fe.transformIntoNewTimeline(),null!=it.delay)){6==Fe.previousNode.type&&(Fe.currentTimeline.snapshotCurrentStyles(),Fe.previousNode=Xe);const It=Oe(it.delay);Fe.delayNextStep(It)}T.steps.length&&(T.steps.forEach(It=>_n(this,It,Fe)),Fe.currentTimeline.applyStylesToKeyframe(),Fe.subContextCount>ue&&Fe.transformIntoNewTimeline()),P.previousNode=T}visitGroup(T,P){const ue=[];let Fe=P.currentTimeline.currentTime;const it=T.options&&T.options.delay?Oe(T.options.delay):0;T.steps.forEach(It=>{const Et=P.createSubContext(T.options);it&&Et.delayNextStep(it),_n(this,It,Et),Fe=Math.max(Fe,Et.currentTimeline.currentTime),ue.push(Et.currentTimeline)}),ue.forEach(It=>P.currentTimeline.mergeTimelineCollectedStyles(It)),P.transformIntoNewTimeline(Fe),P.previousNode=T}_visitTiming(T,P){if(T.dynamic){const ue=T.strValue;return he(P.params?nt(ue,P.params,P.errors):ue,P.errors)}return{duration:T.duration,delay:T.delay,easing:T.easing}}visitAnimate(T,P){const ue=P.currentAnimateTimings=this._visitTiming(T.timings,P),Fe=P.currentTimeline;ue.delay&&(P.incrementTime(ue.delay),Fe.snapshotCurrentStyles());const it=T.style;5==it.type?this.visitKeyframes(it,P):(P.incrementTime(ue.duration),this.visitStyle(it,P),Fe.applyStylesToKeyframe()),P.currentAnimateTimings=null,P.previousNode=T}visitStyle(T,P){const ue=P.currentTimeline,Fe=P.currentAnimateTimings;!Fe&&ue.hasCurrentStyleProperties()&&ue.forwardFrame();const it=Fe&&Fe.easing||T.easing;T.isEmptyStep?ue.applyEmptyStep(it):ue.setStyles(T.styles,it,P.errors,P.options),P.previousNode=T}visitKeyframes(T,P){const ue=P.currentAnimateTimings,Fe=P.currentTimeline.duration,it=ue.duration,Et=P.createSubContext().currentTimeline;Et.easing=ue.easing,T.styles.forEach(Qt=>{Et.forwardTime((Qt.offset||0)*it),Et.setStyles(Qt.styles,Qt.easing,P.errors,P.options),Et.applyStylesToKeyframe()}),P.currentTimeline.mergeTimelineCollectedStyles(Et),P.transformIntoNewTimeline(Fe+it),P.previousNode=T}visitQuery(T,P){const ue=P.currentTimeline.currentTime,Fe=T.options||{},it=Fe.delay?Oe(Fe.delay):0;it&&(6===P.previousNode.type||0==ue&&P.currentTimeline.hasCurrentStyleProperties())&&(P.currentTimeline.snapshotCurrentStyles(),P.previousNode=Xe);let It=ue;const Et=P.invokeQuery(T.selector,T.originalSelector,T.limit,T.includeSelf,!!Fe.optional,P.errors);P.currentQueryTotal=Et.length;let Qt=null;Et.forEach((en,In)=>{P.currentQueryIndex=In;const Ln=P.createSubContext(T.options,en);it&&Ln.delayNextStep(it),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 ue=P.parentContext,Fe=P.currentTimeline,it=T.timings,It=Math.abs(it.duration),Et=It*(P.currentQueryTotal-1);let Qt=It*P.currentQueryIndex;switch(it.duration<0?"reverse":it.easing){case"reverse":Qt=Et-Qt;break;case"full":Qt=ue.currentStaggerTime}const In=P.currentTimeline;Qt&&In.delayNextStep(Qt);const Ln=In.currentTime;_n(this,T.animation,P),P.previousNode=T,ue.currentStaggerTime=Fe.currentTime-Ln+(Fe.startTime-ue.currentTimeline.startTime)}}const Xe={};class kt{constructor(T,P,ue,Fe,it,It,Et,Qt){this._driver=T,this.element=P,this.subInstructions=ue,this._enterClassName=Fe,this._leaveClassName=it,this.errors=It,this.timelines=Et,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),Et.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(T,P){if(!T)return;const ue=T;let Fe=this.options;null!=ue.duration&&(Fe.duration=Oe(ue.duration)),null!=ue.delay&&(Fe.delay=Oe(ue.delay));const it=ue.params;if(it){let It=Fe.params;It||(It=this.options.params={}),Object.keys(it).forEach(Et=>{(!P||!It.hasOwnProperty(Et))&&(It[Et]=nt(it[Et],It,this.errors))})}}_copyOptions(){const T={};if(this.options){const P=this.options.params;if(P){const ue=T.params={};Object.keys(P).forEach(Fe=>{ue[Fe]=P[Fe]})}}return T}createSubContext(T=null,P,ue){const Fe=P||this.element,it=new kt(this._driver,Fe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Fe,ue||0));return it.previousNode=this.previousNode,it.currentAnimateTimings=this.currentAnimateTimings,it.options=this._copyOptions(),it.updateOptions(T),it.currentQueryIndex=this.currentQueryIndex,it.currentQueryTotal=this.currentQueryTotal,it.parentContext=this,this.subContextCount++,it}transformIntoNewTimeline(T){return this.previousNode=Xe,this.currentTimeline=this.currentTimeline.fork(this.element,T),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(T,P,ue){const Fe={duration:P??T.duration,delay:this.currentTimeline.currentTime+(ue??0)+T.delay,easing:""},it=new un(this._driver,T.element,T.keyframes,T.preStyleProps,T.postStyleProps,Fe,T.stretchStartingKeyframe);return this.timelines.push(it),Fe}incrementTime(T){this.currentTimeline.forwardTime(this.currentTimeline.duration+T)}delayNextStep(T){T>0&&this.currentTimeline.delayNextStep(T)}invokeQuery(T,P,ue,Fe,it,It){let Et=[];if(Fe&&Et.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!=ue);0!==ue&&(en=ue<0?en.slice(en.length+ue,en.length):en.slice(0,ue)),Et.push(...en)}return!it&&0==Et.length&&It.push(function ie(je){return new n.\u0275RuntimeError(3014,!1)}()),Et}}class Wt{constructor(T,P,ue,Fe){this._driver=T,this.element=P,this.startTime=ue,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,ue]of this._globalTimelineStyles)this._backFill.set(P,ue||d.l3),this._currentKeyframe.set(P,d.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(T,P,ue,Fe){P&&this._previousKeyframe.set("easing",P);const it=Fe&&Fe.params||{},It=function pn(je,T){const P=new Map;let ue;return je.forEach(Fe=>{if("*"===Fe){ue=ue||T.keys();for(let it of ue)P.set(it,d.l3)}else F(Fe,P)}),P}(T,this._globalTimelineStyles);for(let[Et,Qt]of It){const en=nt(Qt,it,ue);this._pendingStyles.set(Et,en),this._localTimelineStyles.has(Et)||this._backFill.set(Et,this._globalTimelineStyles.get(Et)??d.l3),this._updateStyle(Et,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,ue)=>{const Fe=this._styleSummary.get(ue);(!Fe||P.time>Fe.time)&&this._updateStyle(ue,P.value)})}buildKeyframes(){this.applyStylesToKeyframe();const T=new Set,P=new Set,ue=1===this._keyframes.size&&0===this.duration;let Fe=[];this._keyframes.forEach((Et,Qt)=>{const en=F(Et,new Map,this._backFill);en.forEach((In,Ln)=>{In===d.k1?T.add(Ln):In===d.l3&&P.add(Ln)}),ue||en.set("offset",Qt/this.duration),Fe.push(en)});const it=T.size?Ve(T.values()):[],It=P.size?Ve(P.values()):[];if(ue){const Et=Fe[0],Qt=new Map(Et);Et.set("offset",0),Qt.set("offset",1),Fe=[Et,Qt]}return ri(this.element,Fe,it,It,this.duration,this.startTime,this.easing,!1)}}class un extends Wt{constructor(T,P,ue,Fe,it,It,Et=!1){super(T,P,It.delay),this.keyframes=ue,this.preStyleProps=Fe,this.postStyleProps=it,this._stretchStartingKeyframe=Et,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:ue,easing:Fe}=this.timings;if(this._stretchStartingKeyframe&&P){const it=[],It=ue+P,Et=P/It,Qt=F(T[0]);Qt.set("offset",0),it.push(Qt);const en=F(T[0]);en.set("offset",gn(Et)),it.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*ue)/It)),it.push(pi)}ue=It,P=0,Fe="",T=it}return ri(this.element,T,this.preStyleProps,this.postStyleProps,ue,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 At(T)}normalizeStyleValue(T,P,ue,Fe){let it="";const It=ue.toString().trim();if(bi.has(P)&&0!==ue&&"0"!==ue)if("number"==typeof ue)it="px";else{const Et=ue.match(/^[+-]?[\d\.]+([a-z]*)$/);Et&&0==Et[1].length&&Fe.push(function p(je,T){return new n.\u0275RuntimeError(3005,!1)}())}return It+it}}function Fi(je,T,P,ue,Fe,it,It,Et,Qt,en,In,Ln,pi){return{type:0,element:je,triggerName:T,isRemovalTransition:Fe,fromState:P,fromStyles:it,toState:ue,toStyles:It,timelines:Et,queriedElements:Qt,preStyleProps:en,postStyleProps:In,totalTime:Ln,errors:pi}}const Gi={};class fn{constructor(T,P,ue){this._triggerName=T,this.ast=P,this._stateStyles=ue}match(T,P,ue,Fe){return function tn(je,T,P,ue,Fe){return je.some(it=>it(T,P,ue,Fe))}(this.ast.matchers,T,P,ue,Fe)}buildStyles(T,P,ue){let Fe=this._stateStyles.get("*");return void 0!==T&&(Fe=this._stateStyles.get(T?.toString())||Fe),Fe?Fe.buildStyles(P,ue):new Map}build(T,P,ue,Fe,it,It,Et,Qt,en,In){const Ln=[],pi=this.ast.options&&this.ast.options.params||Gi,Gn=this.buildStyles(ue,Et&&Et.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,it,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,ue,Fe,nr,Gn,Bi,[],[],Ki,sr,rr,Ln);Mr.forEach(Er=>{const fr=Er.element,yo=_t(Ki,fr,new Set);Er.preStyleProps.forEach(Lr=>yo.add(Lr));const Yr=_t(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,ue,Fe,nr,Gn,Bi,Mr,xr,Ki,sr,rr)}}function En(je,T){const P=ct(T);for(const ue in je)je.hasOwnProperty(ue)&&null!=je[ue]&&(P[ue]=je[ue]);return P}class ei{constructor(T,P,ue){this.styles=T,this.defaultParams=P,this.normalizer=ue}buildStyles(T,P){const ue=new Map,Fe=ct(this.defaultParams);return Object.keys(T).forEach(it=>{const It=T[it];null!==It&&(Fe[it]=It)}),this.styles.styles.forEach(it=>{"string"!=typeof it&&it.forEach((It,Et)=>{It&&(It=nt(It,Fe,P));const Qt=this.normalizer.normalizePropertyName(Et,P);It=this.normalizer.normalizeStyleValue(Et,Qt,It,P),ue.set(Et,It)})}),ue}}class tr{constructor(T,P,ue){this.name=T,this.ast=P,this._normalizer=ue,this.transitionFactories=[],this.states=new Map,P.states.forEach(Fe=>{this.states.set(Fe.name,new ei(Fe.style,Fe.options&&Fe.options.params||{},ue))}),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,Et)=>!0],options:null,queryCount:0,depCount:0},T)}(T,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(T,P,ue,Fe){return this.transitionFactories.find(It=>It.match(T,P,ue,Fe))||null}matchStyles(T,P,ue){return this.fallbackTransition.buildStyles(T,P,ue)}}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,ue){this.bodyNode=T,this._driver=P,this._normalizer=ue,this._animations=new Map,this._playersById=new Map,this.players=[]}register(T,P){const ue=[],it=$n(this._driver,P,ue,[]);if(ue.length)throw function H(je){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(T,it)}_buildPlayer(T,P,ue){const Fe=T.element,it=Ge(this._normalizer,T.keyframes,P,ue);return this._driver.animate(Fe,it,T.duration,T.delay,T.easing,[],!0)}create(T,P,ue={}){const Fe=[],it=this._animations.get(T);let It;const Et=new Map;if(it?(It=me(this._driver,P,it,ut,Pe,new Map,new Map,ue,yi,Fe),It.forEach(In=>{const Ln=_t(Et,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)}();Et.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=Et.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 ue=this.players.indexOf(P);ue>=0&&this.players.splice(ue,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,ue,Fe){const it=Nt(P,"","","");return tt(this._getPlayer(T),ue,it,Fe),()=>{}}command(T,P,ue,Fe){if("register"==ue)return void this.register(T,Fe[0]);if("create"==ue)return void this.create(T,P,Fe[0]||{});const it=this._getPlayer(T);switch(ue){case"play":it.play();break;case"pause":it.pause();break;case"reset":it.reset();break;case"restart":it.restart();break;case"finish":it.finish();break;case"init":it.init();break;case"setPosition":it.setPosition(parseFloat(Fe[0]));break;case"destroy":this.destroy(T)}}}const Ot="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 ue=T&&T.hasOwnProperty("value");if(this.value=function Ht(je){return je??null}(ue?T.value:T),ue){const it=ct(T);delete it.value,this.options=it}else this.options={};this.options.params||(this.options.params={})}absorbOptions(T){const P=T.params;if(P){const ue=this.options.params;Object.keys(P).forEach(Fe=>{null==ue[Fe]&&(ue[Fe]=P[Fe])})}}}const Ui="void",ir=new Qi(Ui);class wt{constructor(T,P,ue){this.id=T,this.hostElement=P,this._engine=ue,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+T,On(P,this._hostClassName)}listen(T,P,ue,Fe){if(!this._triggers.has(P))throw function Ee(je,T){return new n.\u0275RuntimeError(3302,!1)}();if(null==ue||0==ue.length)throw function Be(je){return new n.\u0275RuntimeError(3303,!1)}();if(!function Jt(je){return"start"==je||"done"==je}(ue))throw function G(je,T){return new n.\u0275RuntimeError(3400,!1)}();const it=_t(this._elementListeners,T,[]),It={name:P,phase:ue,callback:Fe};it.push(It);const Et=_t(this._engine.statesByElement,T,new Map);return Et.has(P)||(On(T,mt),On(T,mt+"-"+P),Et.set(P,ir)),()=>{this._engine.afterFlush(()=>{const Qt=it.indexOf(It);Qt>=0&&it.splice(Qt,1),this._triggers.has(P)||Et.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,ue,Fe=!0){const it=this._getTrigger(P),It=new gt(this.id,P,T);let Et=this._engine.statesByElement.get(T);Et||(On(T,mt),On(T,mt+"-"+P),this._engine.statesByElement.set(T,Et=new Map));let Qt=Et.get(P);const en=new Qi(ue,this.id);if(!(ue&&ue.hasOwnProperty("value"))&&Qt&&en.absorbOptions(Qt.options),Et.set(P,en),Qt||(Qt=ir),en.value!==Ui&&Qt.value===en.value){if(!function ni(je,T){const P=Object.keys(je),ue=Object.keys(T);if(P.length!=ue.length)return!1;for(let Fe=0;Fe{Q(T,Bi),V(T,qi)})}return}const pi=_t(this._engine.playersByElement,T,[]);pi.forEach(ii=>{ii.namespaceId==this.id&&ii.triggerName==P&&ii.queued&&ii.destroy()});let li=it.matchTransition(Qt.value,en.value,T,en.params),Gn=!1;if(!li){if(!Fe)return;li=it.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,Ot),It.onStart(()=>{vi(T,Ot)})),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,ue)=>{this._elementListeners.set(ue,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(ue=>ue.destroy()),this._engine.playersByElement.delete(T))}_signalRemovalForInnerTriggers(T,P){const ue=this._engine.driver.query(T,Pt,!0);ue.forEach(Fe=>{if(Fe[Li])return;const it=this._engine.fetchNamespacesByElement(Fe);it.size?it.forEach(It=>It.triggerLeaveAnimation(Fe,P,!1,!0)):this.clearElementCache(Fe)}),this._engine.afterFlushAnimationsDone(()=>ue.forEach(Fe=>this.clearElementCache(Fe)))}triggerLeaveAnimation(T,P,ue,Fe){const it=this._engine.statesByElement.get(T),It=new Map;if(it){const Et=[];if(it.forEach((Qt,en)=>{if(It.set(en,Qt.value),this._triggers.has(en)){const In=this.trigger(T,en,Ui,Fe);In&&Et.push(In)}}),Et.length)return this._engine.markElementAsRemoved(this.id,T,!0,P,It),ue&&Qe(Et).onDone(()=>this._engine.processLeaveNode(T)),!0}return!1}prepareLeaveAnimationListeners(T){const P=this._elementListeners.get(T),ue=this._engine.statesByElement.get(T);if(P&&ue){const Fe=new Set;P.forEach(it=>{const It=it.name;if(Fe.has(It))return;Fe.add(It);const Qt=this._triggers.get(It).fallbackTransition,en=ue.get(It)||ir,In=new Qi(Ui),Ln=new gt(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 ue=this._engine;if(T.childElementCount&&this._signalRemovalForInnerTriggers(T,P),this.triggerLeaveAnimation(T,P,!0))return;let Fe=!1;if(ue.totalAnimations){const it=ue.players.length?ue.playersByQueriedElement.get(T):[];if(it&&it.length)Fe=!0;else{let It=T;for(;It=It.parentNode;)if(ue.statesByElement.get(It)){Fe=!0;break}}}if(this.prepareLeaveAnimationListeners(T),Fe)ue.markElementAsRemoved(this.id,T,!1,P);else{const it=T[Li];(!it||it===ji)&&(ue.afterFlush(()=>this.clearElementCache(T)),ue.destroyInnerAnimations(T),ue._onRemovalComplete(T,P))}}insertNode(T,P){On(T,this._hostClassName)}drainQueuedTransitions(T){const P=[];return this._queue.forEach(ue=>{const Fe=ue.player;if(Fe.destroyed)return;const it=ue.element,It=this._elementListeners.get(it);It&&It.forEach(Et=>{if(Et.name==ue.triggerName){const Qt=Nt(it,ue.triggerName,ue.fromState.value,ue.toState.value);Qt._data=T,tt(ue.player,Et.phase,Qt,Et.callback)}}),Fe.markedForDestroy?this._engine.afterFlush(()=>{Fe.destroy()}):P.push(ue)}),this._queue=[],P.sort((ue,Fe)=>{const it=ue.transition.ast.depCount,It=Fe.transition.ast.depCount;return 0==it||0==It?it-It:this._engine.driver.containsElement(ue.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,ue){this.bodyNode=T,this.driver=P,this._normalizer=ue,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,it)=>{}}get queuedPlayers(){const T=[];return this._namespaceList.forEach(P=>{P.players.forEach(ue=>{ue.queued&&T.push(ue)})}),T}createNamespace(T,P){const ue=new wt(T,P,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,P)?this._balanceNamespaceList(ue,P):(this.newHostElements.set(P,ue),this.collectEnterElement(P)),this._namespaceLookup[T]=ue}_balanceNamespaceList(T,P){const ue=this._namespaceList,Fe=this.namespacesByHostElement;if(ue.length-1>=0){let It=!1,Et=this.driver.getParentElement(P);for(;Et;){const Qt=Fe.get(Et);if(Qt){const en=ue.indexOf(Qt);ue.splice(en+1,0,T),It=!0;break}Et=this.driver.getParentElement(Et)}It||ue.unshift(T)}else ue.push(T);return Fe.set(P,T),T}register(T,P){let ue=this._namespaceLookup[T];return ue||(ue=this.createNamespace(T,P)),ue}registerTrigger(T,P,ue){let Fe=this._namespaceLookup[T];Fe&&Fe.register(P,ue)&&this.totalAnimations++}destroy(T,P){T&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const ue=this._fetchNamespace(T);this.namespacesByHostElement.delete(ue.hostElement);const Fe=this._namespaceList.indexOf(ue);Fe>=0&&this._namespaceList.splice(Fe,1),ue.destroy(P),delete this._namespaceLookup[T]}))}_fetchNamespace(T){return this._namespaceLookup[T]}fetchNamespacesByElement(T){const P=new Set,ue=this.statesByElement.get(T);if(ue)for(let Fe of ue.values())if(Fe.namespaceId){const it=this._fetchNamespace(Fe.namespaceId);it&&P.add(it)}return P}trigger(T,P,ue,Fe){if(Yt(P)){const it=this._fetchNamespace(T);if(it)return it.trigger(P,ue,Fe),!0}return!1}insertNode(T,P,ue,Fe){if(!Yt(P))return;const it=P[Li];if(it&&it.setForRemoval){it.setForRemoval=!1,it.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,ue)}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,ue){if(Yt(P)){const Fe=T?this._fetchNamespace(T):null;Fe?Fe.removeNode(P,ue):this.markElementAsRemoved(T,P,!1,ue);const it=this.namespacesByHostElement.get(P);it&&it.id!==T&&it.removeNode(P,ue)}else this._onRemovalComplete(P,ue)}markElementAsRemoved(T,P,ue,Fe,it){this.collectedLeaveElements.push(P),P[Li]={namespaceId:T,setForRemoval:Fe,hasAnimation:ue,removedBeforeQueried:!1,previousTriggersValues:it}}listen(T,P,ue,Fe,it){return Yt(P)?this._fetchNamespace(T).listen(P,ue,Fe,it):()=>{}}_buildInstruction(T,P,ue,Fe,it){return T.transition.build(this.driver,T.element,T.fromState.value,T.toState.value,ue,Fe,T.fromState.options,T.toState.options,P,it)}destroyInnerAnimations(T){let P=this.driver.query(T,Pt,!0);P.forEach(ue=>this.destroyActiveAnimationsForElement(ue)),0!=this.playersByQueriedElement.size&&(P=this.driver.query(T,Gt,!0),P.forEach(ue=>this.finishActiveQueriedAnimationOnElement(ue)))}destroyActiveAnimationsForElement(T){const P=this.playersByElement.get(T);P&&P.forEach(ue=>{ue.queued?ue.markedForDestroy=!0:ue.destroy()})}finishActiveQueriedAnimationOnElement(T){const P=this.playersByQueriedElement.get(T);P&&P.forEach(ue=>ue.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 ue=this._fetchNamespace(P.namespaceId);ue&&ue.clearElementCache(T)}this._onRemovalComplete(T,P.setForRemoval)}T.classList?.contains(te)&&this.markElementAsDisabled(T,!1),this.driver.query(T,".ng-animate-disabled",!0).forEach(ue=>{this.markElementAsDisabled(ue,!1)})}flush(T=-1){let P=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ue,Fe)=>this._balanceNamespaceList(ue,Fe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ue=0;ueue()),this._flushFns=[],this._whenQuietFns.length){const ue=this._whenQuietFns;this._whenQuietFns=[],P.length?Qe(P).onDone(()=>{ue.forEach(Fe=>Fe())}):ue.forEach(Fe=>Fe())}}reportError(T){throw function ae(je){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(T,P){const ue=new ai,Fe=[],it=new Map,It=[],Et=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=ut+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=Pe+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 $t=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=$t,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,ue,L,di,mr);if(xe.errors&&xe.errors.length)return void Mr.push(xe);if(mr)return ci.onStart(()=>Q(Xi,xe.fromStyles)),ci.onDestroy(()=>V(Xi,xe.toStyles)),void Fe.push(ci);if(Qn.isFallbackTransition)return ci.onStart(()=>Q(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,ue.append(Xi,xe.timelines),It.push({instruction:xe,player:ci,element:Xi}),xe.queriedElements.forEach(ht=>_t(Et,ht,[]).push(ci)),xe.preStyleProps.forEach((ht,$t)=>{if(ht.size){let Kt=Qt.get($t);Kt||Qt.set($t,Kt=new Set),ht.forEach((Un,ki)=>Kt.add(ki))}}),xe.postStyleProps.forEach((ht,$t)=>{let Kt=en.get($t);Kt||en.set($t,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;ue.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=>{_t(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(ue.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,it,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 Q(Hn,ci.fromStyles),Qn.onDestroy(()=>V(Hn,ci.toStyles)),kr.push(Qn),In.has(Hn)&&Fe.push(Qn)}),kr.forEach(Bn=>{const Hn=it.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,ue,Fe,it){let It=[];if(P){const Et=this.playersByQueriedElement.get(T);Et&&(It=Et)}else{const Et=this.playersByElement.get(T);if(Et){const Qt=!it||it==Ui;Et.forEach(en=>{en.queued||!Qt&&en.triggerName!=Fe||It.push(en)})}}return(ue||Fe)&&(It=It.filter(Et=>!(ue&&ue!=Et.namespaceId||Fe&&Fe!=Et.triggerName))),It}_beforeAnimationBuild(T,P,ue){const it=P.element,It=P.isRemovalTransition?void 0:T,Et=P.isRemovalTransition?void 0:P.triggerName;for(const Qt of P.timelines){const en=Qt.element,In=en!==it,Ln=_t(ue,en,[]);this._getPreviousPlayers(en,In,It,Et,P.toState).forEach(li=>{const Gn=li.getRealPlayer();Gn.beforeDestroy&&Gn.beforeDestroy(),li.destroy(),Ln.push(li)})}Q(it,P.fromStyles)}_buildAnimation(T,P,ue,Fe,it,It){const Et=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}((ue.get(ii)||Pn).map(rr=>rr.getRealPlayer())).filter(rr=>!!rr.element&&rr.element===ii),sr=it.get(ii),nr=It.get(ii),Kr=Ge(this._normalizer,Gn.keyframes,sr,nr),Mr=this._buildPlayer(Gn,Kr,Ki);if(Gn.subTimeline&&Fe&&Ln.add(ii),qi){const rr=new gt(T,Et,ii);rr.setRealPlayer(Mr),en.push(rr)}return Mr});en.forEach(Gn=>{_t(this.playersByQueriedElement,Gn.element,[]).push(Gn),Gn.onDone(()=>function St(je,T,P){let ue=je.get(T);if(ue){if(ue.length){const Fe=ue.indexOf(P);ue.splice(Fe,1)}0==ue.length&&je.delete(T)}return ue}(this.playersByQueriedElement,Gn.element,Gn))}),In.forEach(Gn=>On(Gn,Ft));const li=Qe(pi);return li.onDestroy(()=>{In.forEach(Gn=>vi(Gn,Ft)),V(Qt,P.toStyles)}),Ln.forEach(Gn=>{_t(Fe,Gn,[]).push(li)}),li}_buildPlayer(T,P,ue){return P.length>0?this.driver.animate(T.element,P,T.duration,T.delay,T.easing,ue):new d.ZN(T.duration,T.delay)}}class gt{constructor(T,P,ue){this.namespaceId=T,this.triggerName=P,this.element=ue,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,ue)=>{P.forEach(Fe=>tt(T,ue,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){_t(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,ue,Fe){const it=[];P.forEach(Qt=>it.push(yn(Qt)));const It=[];ue.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 Et=0;return P.forEach(Qt=>yn(Qt,it[Et++])),It}function Vn(je,T){const P=new Map;if(je.forEach(Et=>P.set(Et,[])),0==T.length)return P;const Fe=new Set(T),it=new Map;function It(Et){if(!Et)return 1;let Qt=it.get(Et);if(Qt)return Qt;const en=Et.parentNode;return Qt=P.has(en)?en:Fe.has(en)?1:It(en),it.set(Et,Qt),Qt}return T.forEach(Et=>{const Qt=It(Et);1!==Qt&&P.get(Qt).push(Et)}),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(it)):T.set(je,ue),P.delete(je),!0}class Ii{constructor(T,P,ue){this.bodyNode=T,this._driver=P,this._normalizer=ue,this._triggerCache={},this.onRemovalComplete=(Fe,it)=>{},this._transitionEngine=new vt(T,P,ue),this._timelineEngine=new Je(T,P,ue),this._transitionEngine.onRemovalComplete=(Fe,it)=>this.onRemovalComplete(Fe,it)}registerTrigger(T,P,ue,Fe,it){const It=T+"-"+Fe;let Et=this._triggerCache[It];if(!Et){const Qt=[],In=$n(this._driver,it,Qt,[]);if(Qt.length)throw function Ae(je,T){return new n.\u0275RuntimeError(3404,!1)}();Et=function Ei(je,T,P){return new tr(je,T,P)}(Fe,In,this._normalizer),this._triggerCache[It]=Et}this._transitionEngine.registerTrigger(P,Fe,Et)}register(T,P){this._transitionEngine.register(T,P)}destroy(T,P){this._transitionEngine.destroy(T,P)}onInsert(T,P,ue,Fe){this._transitionEngine.insertNode(T,P,ue,Fe)}onRemove(T,P,ue){this._transitionEngine.removeNode(T,P,ue)}disableAnimations(T,P){this._transitionEngine.markElementAsDisabled(T,P)}process(T,P,ue,Fe){if("@"==ue.charAt(0)){const[it,It]=Bt(ue);this._timelineEngine.command(it,P,It,Fe)}else this._transitionEngine.trigger(T,P,ue,Fe)}listen(T,P,ue,Fe,it){if("@"==ue.charAt(0)){const[It,Et]=Bt(ue);return this._timelineEngine.listen(It,P,Et,it)}return this._transitionEngine.listen(T,P,ue,Fe,it)}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,ue,Fe){this._element=P,this._startStyles=ue,this._endStyles=Fe,this._state=0;let it=je.initialStylesByElement.get(P);it||je.initialStylesByElement.set(P,it=new Map),this._initialStyles=it}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&&(Q(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Q(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,ue)=>{(function Oo(je){return"display"===je||"position"===je})(ue)&&(T=T||new Map,T.set(ue,P))}),T}class jr{constructor(T,P,ue,Fe){this.element=T,this.keyframes=P,this.options=ue,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=ue.duration,this._delay=ue.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(ue=>{P.push(Object.fromEntries(ue))}),P}_triggerWebAnimation(T,P,ue){return T.animate(this._convertKeyframesToObject(P),ue)}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((ue,Fe)=>{"offset"!==Fe&&T.set(Fe,this._finished?ue:Mn(this.element,Fe))}),this.currentSnapshot=T}triggerCallback(T){const P="start"===T?this._onStartFns:this._onDoneFns;P.forEach(ue=>ue()),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 Lt(T)}query(T,P,ue){return ne(T,P,ue)}computeStyle(T,P,ue){return window.getComputedStyle(T)[P]}animate(T,P,ue,Fe,it,It=[]){const Qt={duration:ue,delay:Fe,fill:0==Fe?"both":"forwards"};it&&(Qt.easing=it);const en=new Map,In=It.filter(li=>li instanceof jr);(function xn(je,T){return 0===je||0===T})(ue,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=>Me(T)):[]}(P).map(li=>F(li));Ln=function Sn(je,T,P){if(P.size&&T.length){let ue=T[0],Fe=[];if(P.forEach((it,It)=>{ue.has(It)||Fe.push(It),ue.set(It,it)}),Fe.length)for(let it=1;itIt.set(Et,Mn(je,Et)))}}return T}(T,Ln,en);const pi=function Zi(je,T){let P=null,ue=null;return Array.isArray(T)&&T.length?(P=no(T[0]),T.length>1&&(ue=no(T[T.length-1]))):T instanceof Map&&(P=no(T)),P||ue?new Vr(je,P,ue):null}(T,Ln);return new jr(T,Ln,Qt,pi)}}var fo=a(6814);let mo=(()=>{class je extends d._j{constructor(P,ue){super(),this._nextAnimationId=0,this._renderer=P.createRenderer(ue.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(P){const ue=this._nextAnimationId.toString();this._nextAnimationId++;const Fe=Array.isArray(P)?(0,d.vP)(P):P;return ro(this._renderer,null,ue,"register",[Fe]),new po(ue,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,ue,Fe){this.id=T,this.element=P,this._renderer=Fe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ue)}_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,ue,Fe){return je.setProperty(T,`@@${P}:${ue}`,Fe)}const Ar="@.disabled";let go=(()=>{class je{constructor(P,ue,Fe){this.delegate=P,this.engine=ue,this._zone=Fe,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,ue.onRemovalComplete=(it,It)=>{const Et=It?.parentNode(it);Et&&It.removeChild(Et,it)}}createRenderer(P,ue){const it=this.delegate.createRenderer(P,ue);if(!(P&&ue&&ue.data&&ue.data.animation)){let In=this._rendererCache.get(it);return In||(In=new _o("",it,this.engine,()=>this._rendererCache.delete(it)),this._rendererCache.set(it,In)),In}const It=ue.id,Et=ue.id+"-"+this._currentId;this._currentId++,this.engine.register(Et,P);const Qt=In=>{Array.isArray(In)?In.forEach(Qt):this.engine.registerTrigger(It,Et,P,In.name,In)};return ue.data.animation.forEach(Qt),new fe(this,Et,it,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(P,ue,Fe){P>=0&&Pue(Fe)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(it=>{const[It,Et]=it;It(Et)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([ue,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,ue,Fe){this.namespaceId=T,this.delegate=P,this.engine=ue,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,ue,Fe=!0){this.delegate.insertBefore(T,P,ue),this.engine.onInsert(this.namespaceId,P,T,Fe)}removeChild(T,P,ue){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,ue,Fe){this.delegate.setAttribute(T,P,ue,Fe)}removeAttribute(T,P,ue){this.delegate.removeAttribute(T,P,ue)}addClass(T,P){this.delegate.addClass(T,P)}removeClass(T,P){this.delegate.removeClass(T,P)}setStyle(T,P,ue,Fe){this.delegate.setStyle(T,P,ue,Fe)}removeStyle(T,P,ue){this.delegate.removeStyle(T,P,ue)}setProperty(T,P,ue){"@"==P.charAt(0)&&P==Ar?this.disableAnimations(T,!!ue):this.delegate.setProperty(T,P,ue)}setValue(T,P){this.delegate.setValue(T,P)}listen(T,P,ue){return this.delegate.listen(T,P,ue)}disableAnimations(T,P){this.engine.disableAnimations(T,P)}}class fe extends _o{constructor(T,P,ue,Fe,it){super(P,ue,Fe,it),this.factory=T,this.namespaceId=P}setProperty(T,P,ue){"@"==P.charAt(0)?"."==P.charAt(1)&&P==Ar?this.disableAnimations(T,ue=void 0===ue||!!ue):this.engine.process(this.namespaceId,T,P.slice(1),ue):this.delegate.setProperty(T,P,ue)}listen(T,P,ue){if("@"==P.charAt(0)){const Fe=function le(je){switch(je){case"body":return document.body;case"document":return document;case"window":return window;default:return je}}(T);let it=P.slice(1),It="";return"@"!=it.charAt(0)&&([it,It]=function J(je){const T=je.indexOf(".");return[je.substring(0,T),je.slice(T+1)]}(it)),this.engine.listen(this.namespaceId,Fe,it,It,Et=>{this.factory.scheduleListenerCallback(Et._data||-1,ue,Et)})}return this.delegate.listen(T,P,ue)}}let We=(()=>{class je extends Ii{constructor(P,ue,Fe,it){super(P.body,ue,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:We},{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:ce},{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:()=>lt,By:()=>Pe,DomSanitizer:()=>ge,EVENT_MANAGER_PLUGINS:()=>_,EventManager:()=>l,HAMMER_GESTURE_CONFIG:()=>Ft,HAMMER_LOADER:()=>Gt,HammerGestureConfig:()=>Oe,HammerModule:()=>he,Meta:()=>at,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>ie,Title:()=>Y,TransferState:()=>Rt,VERSION:()=>be,bootstrapApplication:()=>He,createApplication:()=>Ze,disableDebugTools:()=>ut,enableDebugTools:()=>_e,makeStateKey:()=>dt,platformBrowser:()=>Bt,provideClientHydration:()=>Q,provideProtractorTestingSupport:()=>Ge,withNoDomReuse:()=>De,withNoHttpTransferCache:()=>F,\u0275BrowserDomAdapter:()=>r,\u0275BrowserGetTestability:()=>b,\u0275DomEventsPlugin:()=>Be,\u0275DomRendererFactory2:()=>Re,\u0275DomSanitizerImpl:()=>Me,\u0275HammerGesturesPlugin:()=>Ke,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>_t,\u0275KeyEventsPlugin:()=>ve,\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(nt,Ve,yt){return nt.addEventListener(Ve,yt),()=>{nt.removeEventListener(Ve,yt)}}dispatchEvent(nt,Ve){nt.dispatchEvent(Ve)}remove(nt){nt.parentNode&&nt.parentNode.removeChild(nt)}createElement(nt,Ve){return(Ve=Ve||this.getDefaultDocument()).createElement(nt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(nt){return nt.nodeType===Node.ELEMENT_NODE}isShadowRoot(nt){return nt instanceof DocumentFragment}getGlobalEventTarget(nt,Ve){return"window"===Ve?window:"document"===Ve?nt:"body"===Ve?nt.body:null}getBaseHref(nt){const Ve=function h(){return f=f||document.querySelector("base"),f?f.getAttribute("href"):null}();return null==Ve?null:function v(qe){u=u||document.createElement("a"),u.setAttribute("href",qe);const nt=u.pathname;return"/"===nt.charAt(0)?nt:`/${nt}`}(Ve)}resetBaseElement(){f=null}getUserAgent(){return window.navigator.userAgent}getCookie(nt){return(0,c.\u0275parseCookieValue)(document.cookie,nt)}}let u,f=null;class b{addToWindow(nt){n.\u0275global.getAngularTestability=(yt,At=!0)=>{const on=nt.findTestabilityInTree(yt,At);if(null==on)throw new n.\u0275RuntimeError(5103,!1);return on},n.\u0275global.getAllAngularTestabilities=()=>nt.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>nt.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(yt=>{const At=n.\u0275global.getAllAngularTestabilities();let on=At.length,xn=!1;const Sn=function(_n){xn=xn||_n,on--,0==on&&yt(xn)};At.forEach(_n=>{_n.whenStable(Sn)})})}findTestabilityInTree(nt,Ve,yt){return null==Ve?null:nt.getTestability(Ve)??(yt?(0,c.\u0275getDOM)().isShadowRoot(Ve)?this.findTestabilityInTree(nt,Ve.host,!0):this.findTestabilityInTree(nt,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(At=>{At.manager=this}),this._plugins=Ve.slice().reverse()}addEventListener(Ve,yt,At){return this._findPluginFor(yt).addEventListener(Ve,yt,At)}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(nt){this._doc=nt}}const x="ng-app-id";let D=(()=>{class qe{constructor(Ve,yt,At,on={}){this.doc=Ve,this.appId=yt,this.nonce=At,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(At=>At.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(At=>{null!=At.textContent&&yt.set(At.textContent,At)}),yt}return null}changeUsageCount(Ve,yt){const At=this.styleRef;if(At.has(Ve)){const on=At.get(Ve);return on.usage+=yt,on.usage}return At.set(Ve,{usage:yt,elements:[]}),yt}getStyleElement(Ve,yt){const At=this.styleNodesInDOM,on=At?.get(yt);if(on?.parentNode===Ve)return At.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 At=this.getStyleElement(Ve,yt);Ve.appendChild(At);const on=this.styleRef,xn=on.get(yt)?.elements;xn?xn.push(At):on.set(yt,{elements:[At],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 Ce(qe,nt){return nt.map(Ve=>Ve.replace(E,qe))}let Re=(()=>{class qe{constructor(Ve,yt,At,on,xn,Sn,_n,Mn=null){this.eventManager=Ve,this.sharedStylesHost=yt,this.appId=At,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 At=this.getOrCreateRenderer(Ve,yt);return At instanceof Ee?At.applyToHost(Ve):At instanceof we&&At.applyStyles(),At}getOrCreateRenderer(Ve,yt){const At=this.rendererByCompId;let on=At.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)}At.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(nt,Ve,yt,At){this.eventManager=nt,this.doc=Ve,this.ngZone=yt,this.platformIsServer=At,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(nt,Ve){return Ve?this.doc.createElementNS(S[Ve]||Ve,nt):this.doc.createElement(nt)}createComment(nt){return this.doc.createComment(nt)}createText(nt){return this.doc.createTextNode(nt)}appendChild(nt,Ve){(W(nt)?nt.content:nt).appendChild(Ve)}insertBefore(nt,Ve,yt){nt&&(W(nt)?nt.content:nt).insertBefore(Ve,yt)}removeChild(nt,Ve){nt&&nt.removeChild(Ve)}selectRootElement(nt,Ve){let yt="string"==typeof nt?this.doc.querySelector(nt):nt;if(!yt)throw new n.\u0275RuntimeError(-5104,!1);return Ve||(yt.textContent=""),yt}parentNode(nt){return nt.parentNode}nextSibling(nt){return nt.nextSibling}setAttribute(nt,Ve,yt,At){if(At){Ve=At+":"+Ve;const on=S[At];on?nt.setAttributeNS(on,Ve,yt):nt.setAttribute(Ve,yt)}else nt.setAttribute(Ve,yt)}removeAttribute(nt,Ve,yt){if(yt){const At=S[yt];At?nt.removeAttributeNS(At,Ve):nt.removeAttribute(`${yt}:${Ve}`)}else nt.removeAttribute(Ve)}addClass(nt,Ve){nt.classList.add(Ve)}removeClass(nt,Ve){nt.classList.remove(Ve)}setStyle(nt,Ve,yt,At){At&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?nt.style.setProperty(Ve,yt,At&n.RendererStyleFlags2.Important?"important":""):nt.style[Ve]=yt}removeStyle(nt,Ve,yt){yt&n.RendererStyleFlags2.DashCase?nt.style.removeProperty(Ve):nt.style[Ve]=""}setProperty(nt,Ve,yt){nt[Ve]=yt}setValue(nt,Ve){nt.nodeValue=Ve}listen(nt,Ve,yt){if("string"==typeof nt&&!(nt=(0,c.\u0275getDOM)().getGlobalEventTarget(this.doc,nt)))throw new Error(`Unsupported event target ${nt} for event ${Ve}`);return this.eventManager.addEventListener(nt,Ve,this.decoratePreventDefault(yt))}decoratePreventDefault(nt){return Ve=>{if("__ngUnwrap__"===Ve)return nt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>nt(Ve)):nt(Ve))&&Ve.preventDefault()}}}function W(qe){return"TEMPLATE"===qe.tagName&&void 0!==qe.content}class pe extends Ae{constructor(nt,Ve,yt,At,on,xn,Sn,_n){super(nt,on,xn,_n),this.sharedStylesHost=Ve,this.hostEl=yt,this.shadowRoot=yt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mn=Ce(At.id,At.styles);for(const xi of Mn){const fi=document.createElement("style");Sn&&fi.setAttribute("nonce",Sn),fi.textContent=xi,this.shadowRoot.appendChild(fi)}}nodeOrShadowRoot(nt){return nt===this.hostEl?this.shadowRoot:nt}appendChild(nt,Ve){return super.appendChild(this.nodeOrShadowRoot(nt),Ve)}insertBefore(nt,Ve,yt){return super.insertBefore(this.nodeOrShadowRoot(nt),Ve,yt)}removeChild(nt,Ve){return super.removeChild(this.nodeOrShadowRoot(nt),Ve)}parentNode(nt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(nt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class we extends Ae{constructor(nt,Ve,yt,At,on,xn,Sn,_n){super(nt,on,xn,Sn),this.sharedStylesHost=Ve,this.removeStylesOnCompDestroy=At,this.styles=_n?Ce(_n,yt.styles):yt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ee extends we{constructor(nt,Ve,yt,At,on,xn,Sn,_n){const Mn=At+"-"+yt.id;super(nt,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(nt){this.applyStyles(),this.setAttribute(nt,this.hostAttr,"")}createElement(nt,Ve){const yt=super.createElement(nt,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,At){return Ve.addEventListener(yt,At,!1),()=>this.removeEventListener(Ve,yt,At)}removeEventListener(Ve,yt,At){return Ve.removeEventListener(yt,At)}}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"},ae={alt:qe=>qe.altKey,control:qe=>qe.ctrlKey,meta:qe=>qe.metaKey,shift:qe=>qe.shiftKey};let ve=(()=>{class qe extends y{constructor(Ve){super(Ve)}supports(Ve){return null!=qe.parseEventName(Ve)}addEventListener(Ve,yt,At){const on=qe.parseEventName(yt),xn=qe.eventCallback(on.fullKey,At,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.\u0275getDOM)().onAndCancel(Ve,on.domEventName,xn))}static parseEventName(Ve){const yt=Ve.toLowerCase().split("."),At=yt.shift();if(0===yt.length||"keydown"!==At&&"keyup"!==At)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=At,_n.fullKey=xn,_n}static matchEventFullKeyCode(Ve,yt){let At=re[Ve.key]||Ve.key,on="";return yt.indexOf("code.")>-1&&(At=Ve.code,on="code."),!(null==At||!At)&&(At=At.toLowerCase()," "===At?At="space":"."===At&&(At="dot"),G.forEach(xn=>{xn!==At&&(0,ae[xn])(Ve)&&(on+=xn+".")}),on+=At,on===yt)}static eventCallback(Ve,yt,At){return on=>{qe.matchEventFullKeyCode(on,Ve)&&At.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,nt){return(0,n.\u0275internalCreateApplication)({rootComponent:qe,...Qe(nt)})}function Ze(qe){return(0,n.\u0275internalCreateApplication)(Qe(qe))}function Qe(qe){return{appProviders:[...Le,...qe?.providers??[]],platformProviders:_t}}function Ge(){return[...Lt]}function tt(){r.makeCurrent()}const _t=[{provide:n.PLATFORM_ID,useValue:c.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:tt,multi:!0},{provide:c.DOCUMENT,useFactory:function Nt(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Bt=(0,n.createPlatformFactory)(n.platformCore,"browser",_t),Tt=new n.InjectionToken(""),Lt=[{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 Ct(){return new n.ErrorHandler},deps:[]},{provide:_,useClass:Be,multi:!0,deps:[c.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:_,useClass:ve,multi:!0,deps:[c.DOCUMENT]},Re,D,l,{provide:n.RendererFactory2,useExisting:Re},{provide:c.XhrFactory,useClass:p,deps:[]},[]];let lt=(()=>{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,...Lt],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((At,on)=>(on&&At.push(this._getOrCreateElement(on,yt)),At),[]):[]}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 At=this.getTag(yt);return At?this._setMetaElementAttributes(Ve,At):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 At=this._dom.createElement("meta");return this._setMetaElementAttributes(Ve,At),this._doc.getElementsByTagName("head")[0].appendChild(At),At}_setMetaElementAttributes(Ve,yt){return Object.keys(Ve).forEach(At=>yt.setAttribute(this._getMetaKeyMap(At),Ve[At])),yt}_parseSelector(Ve){const yt=Ve.name?"name":"property";return`${yt}="${Ve[yt]}"`}_containsAttributes(Ve,yt){return Object.keys(Ve).every(At=>yt.getAttribute(this._getMetaKeyMap(At))===Ve[At])}_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,nt){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[qe]=nt)}const K=typeof window<"u"&&window||{};class ce{constructor(nt,Ve){this.msPerTick=nt,this.numTicks=Ve}}class Te{constructor(nt){this.appRef=nt.injector.get(n.ApplicationRef)}timeChangeDetection(nt){const Ve=nt&&nt.record,yt="Change Detection",At=null!=K.console.profile;Ve&&At&&K.console.profile(yt);const on=et();let xn=0;for(;xn<5||et()-on<500;)this.appRef.tick(),xn++;const Sn=et();Ve&&At&&K.console.profileEnd(yt);const _n=(Sn-on)/xn;return K.console.log(`ran ${xn} change detection cycles`),K.console.log(`${_n.toFixed(2)} ms per check`),new ce(_n,xn)}}function et(){return K.performance&&K.performance.now?K.performance.now():(new Date).getTime()}const Dt="profiler";function _e(qe){return ne(Dt,new Te(qe)),qe}function ut(){ne(Dt,null)}class Pe{static all(){return()=>!0}static css(nt){return Ve=>null!=Ve.nativeElement&&function mt(qe,nt){return!!(0,c.\u0275getDOM)().isElementNode(qe)&&(qe.matches&&qe.matches(nt)||qe.msMatchesSelector&&qe.msMatchesSelector(nt)||qe.webkitMatchesSelector&&qe.webkitMatchesSelector(nt))}(Ve.nativeElement,nt)}static directive(nt){return Ve=>-1!==Ve.providerTokens.indexOf(nt)}}const Pt={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},Ft=new n.InjectionToken("HammerGestureConfig"),Gt=new n.InjectionToken("HammerLoader");let Oe=(()=>{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 At in this.overrides)yt.get(At).set(this.overrides[At]);return yt}}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),Ke=(()=>{class qe extends y{constructor(Ve,yt,At,on){super(Ve),this._config=yt,this.console=At,this.loader=on,this._loaderPromise=null}supports(Ve){return!(!Pt.hasOwnProperty(Ve.toLowerCase())&&!this.isCustomEvent(Ve)||!window.Hammer&&!this.loader)}addEventListener(Ve,yt,At){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,At)):Sn=()=>{}}).catch(()=>{Sn=()=>{}})),()=>{Sn()}}return on.runOutsideAngular(()=>{const xn=this._config.buildHammer(Ve),Sn=function(_n){on.runGuarded(function(){At(_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(Ft),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(Gt,8))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),he=(()=>{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:Ke,multi:!0,deps:[c.DOCUMENT,Ft,n.\u0275Console,[new n.Optional,Gt]]},{provide:Ft,useClass:Oe,deps:[]}]}),qe})(),ge=(()=>{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(Me),yt},providedIn:"root"}),qe})(),Me=(()=>{class qe extends ge{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 ct(qe){return new Me(qe.get(c.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),yt},providedIn:"root"}),qe})();function Ye(qe,nt=[]){return{\u0275kind:qe,\u0275providers:nt}}function De(){return Ye(0)}function F(){return Ye(1)}function Q(...qe){const nt=[],Ve=new Set;for(const{\u0275providers:yt,\u0275kind:At}of qe)Ve.add(At),yt.length&&nt.push(yt);return(0,n.makeEnvironmentProviders)([[],Ve.has(0)?[]:(0,n.\u0275withDomHydration)(),Ve.has(1)?[]:(0,d.\u0275withHttpTransferCache)(),nt])}const be=new n.Version("16.1.7"),dt=n.makeStateKey,Rt=n.TransferState},5187:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ActivatedRoute:()=>Fn,ActivatedRouteSnapshot:()=>Fi,ActivationEnd:()=>jt,ActivationStart:()=>Mt,BaseRouteReuseStrategy:()=>L,ChildActivationEnd:()=>Ni,ChildActivationStart:()=>ai,ChildrenOutletContexts:()=>se,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:()=>ce,UrlTree:()=>at,VERSION:()=>ja,convertToParamMap:()=>ae,createUrlTreeFromSnapshot:()=>Ve,defaultUrlMatcher:()=>ve,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),f=a(2572),h=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),Ce=a(6424),Re=a(3572),Ae=a(2032),de=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 ae(k){return new re(k)}function ve(k,j,w){const q=w.path.split("/");if(q.length>k.length||"full"===w.pathMatch&&(j.hasChildren()||q.lengthq[rt]===Se)}return k===j}function Ge(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 Ct={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},Nt={exact:function Bt(k,j){return Ze(k,j)},subset:function Lt(k,j){return Object.keys(j).length<=Object.keys(k).length&&Object.keys(j).every(w=>Qe(k[w],j[w]))},ignored:()=>!0};function _t(k,j,w){return Ct[w.paths](k.root,j.root,w.matrixParams)&&Nt[w.queryParams](k.queryParams,j.queryParams)&&!("exact"===w.fragment&&k.fragment!==j.fragment)}function Le(k,j,w){return lt(k,j,j.segments,w)}function lt(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),rt=w.slice(k.segments.length);return!!(ne(k.segments,Se)&&ze(k.segments,Se,q)&&k.children[Be])&<(k.children[Be],j,rt,q)}}function ze(k,j,w){return j.every((q,Se)=>Nt[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=ae(this.queryParams)),this._queryParamMap}toString(){return et.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=ae(this.parameters)),this._parameterMap}toString(){return Oe(this)}}function ne(k,j){return k.length===j.length&&k.every((w,q)=>w.path===j[q].path)}let ce=(()=>{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 be(j);return new at(w.parseRootSegment(),w.parseQueryParams(),w.parseFragment())}serialize(j){const w=`/${_e(j.root,!0)}`,q=function he(k){const j=Object.keys(k).map(w=>{const q=k[w];return Array.isArray(q)?q.map(Se=>`${Pe(w)}=${Pe(Se)}`).join("&"):`${Pe(w)}=${Pe(q)}`}).filter(w=>!!w);return j.length?`?${j.join("&")}`:""}(j.queryParams);return`${w}${q}${"string"==typeof j.fragment?`#${function mt(k){return encodeURI(k)}(j.fragment)}`:""}`}}const et=new Te;function Dt(k){return k.segments.map(j=>Oe(j)).join("/")}function _e(k,j){if(!k.hasChildren())return Dt(k);if(j){const w=k.children[Be]?_e(k.children[Be],!1):"",q=[];return Object.entries(k.children).forEach(([Se,rt])=>{Se!==Be&&q.push(`${Se}:${_e(rt,!1)}`)}),q.length>0?`${w}(${q.join("//")})`:w}{const w=function K(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?[_e(k.children[Be],!1)]:[`${Se}:${_e(q,!1)}`]);return 1===Object.keys(k.children).length&&null!=k.children[Be]?`${Dt(k)}/${w[0]}`:`${Dt(k)}/(${w.join("//")})`}}function ut(k){return encodeURIComponent(k).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pe(k){return ut(k).replace(/%3B/gi,";")}function Pt(k){return ut(k).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ft(k){return decodeURIComponent(k)}function Gt(k){return Ft(k.replace(/\+/g,"%20"))}function Oe(k){return`${Pt(k.path)}${function Ke(k){return Object.keys(k).map(j=>`;${Pt(j)}=${Pt(k[j])}`).join("")}(k.parameters)}`}const ge=/^[^\/()?;#]+/;function ct(k){const j=k.match(ge);return j?j[0]:""}const Me=/^[^\/()?;=#]+/,De=/^[^=?&#]+/,V=/^[^&#]+/;class be{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=ct(this.remaining);if(""===j&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(j),new oe(Ft(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(Me);return j?j[0]:""}(this.remaining);if(!w)return;this.capture(w);let q="";if(this.consumeOptional("=")){const Se=ct(this.remaining);Se&&(q=Se,this.capture(q))}j[Ft(w)]=Ft(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 Q(k){const j=k.match(V);return j?j[0]:""}(this.remaining);st&&(q=st,this.capture(q))}const Se=Gt(w),rt=Gt(q);if(j.hasOwnProperty(Se)){let st=j[Se];Array.isArray(st)||(st=[st],j[Se]=st),st.push(rt)}else j[Se]=rt}parseParens(j){const w={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const q=ct(this.remaining),Se=this.remaining[q.length];if("/"!==Se&&")"!==Se&&";"!==Se)throw new n.\u0275RuntimeError(4010,!1);let rt;q.indexOf(":")>-1?(rt=q.slice(0,q.indexOf(":")),this.capture(rt),this.capture(":")):j&&(rt=Be);const st=this.parseChildren();w[rt]=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 dt(k){return k.segments.length>0?new N([],{[Be]:k}):k}function Rt(k){const j={};for(const q of Object.keys(k.children)){const rt=Rt(k.children[q]);if(q===Be&&0===rt.segments.length&&rt.hasChildren())for(const[st,Vt]of Object.entries(rt.children))j[st]=Vt;else(rt.segments.length>0||rt.hasChildren())&&(j[q]=rt)}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 nt(k){return k instanceof at}function Ve(k,j,w=null,q=null){return At(yt(k),j,w,q)}function yt(k){let j;const Se=dt(function w(rt){const st={};for(const hn of rt.children){const An=w(hn);st[hn.outlet]=An}const Vt=new N(rt.url,st);return rt===k&&(j=Vt),Vt}(k.root));return j??Se}function At(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 rt=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,rt,st)=>{if("object"==typeof rt&&null!=rt){if(rt.outlets){const Vt={};return Object.entries(rt.outlets).forEach(([hn,An])=>{Vt[hn]="string"==typeof An?An.split("/"):An}),[...Se,{outlets:Vt}]}if(rt.segmentPath)return[...Se,rt.segmentPath]}return"string"!=typeof rt?[...Se,rt]:0===st?(rt.split("/").forEach((Vt,hn)=>{0==hn&&"."===Vt||(0==hn&&""===Vt?w=!0:".."===Vt?j++:""!=Vt&&Se.push(Vt))}),Se):[...Se,rt]},[]);return new Mn(w,j,q)}(j);if(rt.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,rt=w;for(;rt>Se;){if(rt-=Se,q=q.parent,!q)throw new n.\u0275RuntimeError(4005,!1);Se=q.segments.length}return new fi(q,!1,Se-rt)}(w,w.segments.length-1+q,k.numberOfDoubleDots)}(rt,Se,k),Vt=st.processChildren?pt(st.segmentGroup,st.index,rt.commands):bt(st.segmentGroup,st.index,rt.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,rt={};q&&Object.entries(q).forEach(([hn,An])=>{rt[hn]=Array.isArray(An)?An.map(Kn=>`${Kn}`):`${An}`}),st=k===j?w:_n(k,j,w);const Vt=dt(Rt(st));return new at(Vt,rt,Se)}function _n(k,j,w){const q={};return Object.entries(k.children).forEach(([Se,rt])=>{q[Se]=rt===j?w:_n(rt,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!==Ge(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 bt(k,j,w){if(k||(k=new N([],{})),0===k.segments.length&&k.hasChildren())return pt(k,j,w);const q=function qt(k,j,w){let q=0,Se=j;const rt={match:!1,pathIndex:0,commandIndex:0};for(;Se=w.length)return rt;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 rt;q+=2}else{if(!Nn(hn,{},st))return rt;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[rt]=bt(k.children[rt],j,st))}),Object.entries(k.children).forEach(([rt,st])=>{void 0===q[rt]&&(Se[rt]=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,rt){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.shouldActivate=rt,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 Mt{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 se,this.attachRef=null}}let se=(()=>{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=kt(j,this._root);return w?w.children.map(q=>q.value):[]}firstChild(j){const w=kt(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 kt(k,j){if(k===j.value)return j;for(const w of j.children){const q=kt(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({}),rt=new r.X({}),st=new r.X({}),Vt=new r.X(""),hn=new Fn(q,Se,st,Vt,rt,Be,j,w.root);return hn.snapshot=w.root,new pn(new un(hn,[]),w)}class Fn{constructor(j,w,q,Se,rt,st,Vt,hn){this.urlSubject=j,this.paramsSubject=w,this.queryParamsSubject=q,this.fragmentSubject=Se,this.dataSubject=rt,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=rt}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=>ae(j)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,D.U)(j=>ae(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],rt=w[q-1];if(Se.routeConfig&&""===Se.routeConfig.path)q--;else{if(rt.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,rt,st,Vt,hn,An){this.url=j,this.params=w,this.queryParams=q,this.fragment=Se,this.data=rt,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=ae(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ae(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)(se),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===se?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,f.a)([q.queryParams,q.params,q.data]).pipe((0,S.w)(([rt,st,Vt],hn)=>(Vt={...rt,...st,...Vt},0===hn?(0,g.of)(Vt):Promise.resolve(Vt)))).subscribe(rt=>{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,rt[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 rt=k.retrieve(j.value);if(null!==rt){const st=rt.route;return st.value._futureSnapshot=j.value,st.children=j.children.map(Vt=>yi(k,Vt)),st}}const q=function Ot(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(rt=>yi(k,rt));return new un(q,Se)}}const C="ngNavigationCancelingError";function te(k,j){const{redirectTo:w,navigationBehaviorOptions:q}=nt(j)?{redirectTo:j,navigationBehaviorOptions:void 0}:j,Se=Ne(!1,0,j);return Se.url=w,Se.navigationBehaviorOptions=q,Se}function Ne(k,j,w){const q=new Error("NavigationCancelingError: "+(k||""));return q[C]=!0,q.cancellationCode=j,w&&(q.url=w),q}function ot(k){return Zt(k)&&nt(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,rt){this.routeReuseStrategy=j,this.futureState=w,this.currState=q,this.forwardEvent=Se,this.inputBindingEnabled=rt}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(rt=>{const st=rt.value.outlet;this.deactivateRoutes(rt,Se[st],q),delete Se[st]}),Object.values(Se).forEach(rt=>{this.deactivateRouteAndItsChildren(rt,q)})}deactivateRoutes(j,w,q){const Se=j.value,rt=w?w.value:null;if(Se===rt)if(Se.component){const st=q.getContext(Se.outlet);st&&this.deactivateChildRoutes(j,w,st.children)}else this.deactivateChildRoutes(j,w,q);else rt&&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,rt=gn(j);for(const st of Object.keys(rt))this.deactivateRouteAndItsChildren(rt[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,rt=gn(j);for(const st of Object.keys(rt))this.deactivateRouteAndItsChildren(rt[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(rt=>{this.activateRoutes(rt,Se[rt.value.outlet],q),this.forwardEvent(new jt(rt.value.snapshot))}),j.children.length&&this.forwardEvent(new Ni(j.value.snapshot))}activateRoutes(j,w,q){const Se=j.value,rt=w?w.value:null;if(tn(Se),Se===rt)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 rt=gn(j);return k.children.forEach(st=>{(function oi(k,j,w,q,Se={canDeactivateChecks:[],canActivateChecks:[]}){const rt=k.value,st=j?j.value:null,Vt=w?w.getContext(k.value.outlet):null;if(st&&rt.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,rt,rt.routeConfig.runGuardsAndResolvers);hn?Se.canActivateChecks.push(new On(q)):(rt.data=st.data,rt._resolvedData=st._resolvedData),ni(k,j,rt.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,rt.component?Vt?Vt.children:null:w,q,Se)})(st,rt[st.value.outlet],w,q.concat([st.value]),Se),delete rt[st.value.outlet]}),Object.entries(rt).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(([rt,st])=>{Zi(st,Se.component?j?j.children.getContext(rt):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 h.K||"EmptyError"===k?.name}const Sr=Symbol("INITIAL_VALUE");function Ar(){return(0,S.w)(k=>(0,f.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(nt(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 rt=this.createSegmentGroup(j,w.root,q,Se);return new at(rt,this.createQueryParams(w.queryParams,this.urlTree.queryParams),w.fragment)}createQueryParams(j,w){const q={};return Object.entries(j).forEach(([Se,rt])=>{if("string"==typeof rt&&rt.startsWith(":")){const Vt=rt.substring(1);q[Se]=w[Vt]}else q[Se]=rt}),q}createSegmentGroup(j,w,q,Se){const rt=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(rt,st)}createSegments(j,w,q,Se){return w.map(rt=>rt.path.startsWith(":")?this.findPosParam(j,rt,Se):this.findOrReturn(rt,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 ue={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fe(k,j,w,q,Se){const rt=it(k,j,w);return rt.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 rt=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)(rt).pipe(Ar(),dr())}(q,j,w).pipe((0,D.U)(st=>!0===st?rt:{...ue}))):(0,g.of)(rt)}function it(k,j,w){if(""===j.path)return"full"===j.pathMatch&&(k.hasChildren()||w.length>0)?{...ue}:{matched:!0,consumedSegments:[],remainingSegments:w,parameters:{},positionalParamSegments:{}};const Se=(j.matcher||ve)(w,k,j);if(!Se)return{...ue};const rt={};Object.entries(Se.posParams??{}).forEach(([Vt,hn])=>{rt[Vt]=hn.path});const st=Se.consumed.length>0?{...rt,...Se.consumed[Se.consumed.length-1].parameters}:rt;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,Et(k,0,w,q,k.children)),slicedSegments:w}:{segmentGroup:new N(k.segments,k.children),slicedSegments:w}}function Et(k,j,w,q,Se){const rt={};for(const st of q)if(Ln(k,w,st)&&!Se[Ht(st)]){const Vt=new N([],{});rt[Ht(st)]=Vt}return{...Se,...rt}}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,rt,st,Vt){this.injector=j,this.configLoader=w,this.rootComponentType=q,this.config=Se,this.urlTree=rt,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),rt=new Gi("",Se),st=Ve(q,[],this.urlTree.queryParams,this.urlTree.fragment);return st.queryParams=this.urlTree.queryParams,rt.url=this.urlSerializer.serialize(st),this.inheritParamsAndData(rt._root),{state:rt,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 rt of Object.keys(q.children))"primary"===rt?Se.unshift(rt):Se.push(rt);return(0,d.D)(Se).pipe((0,ie.b)(rt=>{const st=q.children[rt],Vt=function Yt(k,j){const w=k.filter(q=>Ht(q)===j);return w.push(...k.filter(q=>Ht(q)!==j)),w}(w,rt);return this.processSegmentGroup(j,Vt,st,rt)}),(0,Ce.R)((rt,st)=>(rt.push(...st),rt)),(0,Re.d)(null),(0,Ae.Z)(),(0,$.z)(rt=>{if(null===rt)return Rr(q);const st=Ki(rt);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,rt,st){return(0,d.D)(w).pipe((0,ie.b)(Vt=>this.processSegmentAgainstRoute(Vt._injector??j,w,Vt,q,Se,rt,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,rt)?(0,g.of)([]):Rr(q);throw Vt}))}processSegmentAgainstRoute(j,w,q,Se,rt,st,Vt){return function pi(k,j,w,q){return!!(Ht(k)===q||q!==Be&&Ln(j,w,k))&&("**"===k.path||it(j,k,w).matched)}(q,Se,rt,st)?void 0===q.redirectTo?this.matchSegmentAgainstRoute(j,Se,q,rt,st,Vt):Vt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(j,Se,w,q,rt,st):Rr(Se):Rr(Se)}expandSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st){return"**"===Se.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(j,q,Se,st):this.expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st)}expandWildCardWithParamsAgainstRouteUsingRedirect(j,w,q,Se){const rt=this.applyRedirects.applyRedirectCommands([],q.redirectTo,{});return q.redirectTo.startsWith("/")?oo(rt):this.applyRedirects.lineralizeSegments(q,rt).pipe((0,$.z)(st=>{const Vt=new N(st,{});return this.processSegment(j,w,Vt,st,Se,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st){const{matched:Vt,consumedSegments:hn,remainingSegments:An,positionalParamSegments:Kn}=it(w,Se,rt);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,rt,st){let Vt;if("**"===q.path){const hn=Se.length>0?Ge(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)===rt;return this.processSegment(Kn,An,wo,To,Io?Be:rt,!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 rt=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)(rt).pipe(Ar(),dr())}(j,w,q).pipe((0,$.z)(Se=>Se?this.configLoader.loadChildren(j,w).pipe((0,A.b)(rt=>{w._loadedRoutes=rt.routes,w._loadedInjector=rt.injector})):function T(k){return(0,p._)(Ne(!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(rt=>q.value.routeConfig===rt.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)(rt=>{this.onLoadEndListener&&this.onLoadEndListener(w),w._loadedComponent=rt}),(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 rt=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(rt,()=>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)(ce),this.rootContexts=(0,n.inject)(se),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,rt=!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,rt){return(0,$.z)(st=>function Gn(k,j,w,q,Se,rt,st="emptyOnly"){return new ii(k,j,w,q,Se,st,rt).recognize()}(k,j,w,q,st.extractedUrl,Se,rt).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:rt,canDeactivateChecks:st}}=w;return 0===st.length&&0===rt.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 rt=j&&j.routeConfig?j.routeConfig.canDeactivate:null;if(!rt||0===rt.length)return(0,g.of)(!0);const st=rt.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 le(k,j){return null!==k&&j&&j(new Mt(k)),(0,g.of)(!0)}(Se.route,q),function Xt(k,j,w){const q=j[j.length-1],rt=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)(rt).pipe(Ar())}(k,Se.path,w),function We(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(rt=>(0,v.P)(()=>{const st=Jt(j)??w,Vt=qn(rt,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,rt,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,nt(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 rt=0;return(0,d.D)(Se).pipe((0,ie.b)(st=>function xr(k,j,w,q){const Se=k.routeConfig,rt=k._resolve;return void 0!==Se?.title&&!Yr(Se)&&(rt[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 rt={};return(0,d.D)(Se).pipe((0,$.z)(st=>function yo(k,j,w,q){const Se=Jt(j)??q,rt=qn(k,Se);return tt(rt.resolve?rt.resolve(j,w):Se.runInContext(()=>rt(j,w)))}(k[st],j,w,q).pipe((0,ee.P)(),(0,A.b)(Vt=>{rt[st]=Vt}))),(0,de.h)(1),(0,H.h)(rt),(0,U.K)(st=>ro(st)?_.E:(0,p._)(st)))}(rt,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)(()=>rt++),(0,de.h)(1),(0,$.z)(st=>rt===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,f.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||rt||this.cancelNavigationTransition(q,"",1),this.currentNavigation?.id===q.id&&(this.currentNavigation=null)}),(0,U.K)(st=>{if(rt=!0,Zt(st)){ot(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),ot(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 rt=new ti(w.id,this.urlSerializer.serialize(w.extractedUrl),q,Se);this.events.next(rt),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(rt=>rt.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 $t=function(k){return k[k.COMPLETE=0]="COMPLETE",k[k.FAILED=1]="FAILED",k[k.REDIRECTING=2]="REDIRECTING",k}($t||{});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?$t.COMPLETE:w instanceof ti&&(0===w.code||1===w.code)?$t.REDIRECTING:$t.FAILED),(0,X.h)(w=>w!==$t.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)(ce),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 rt={replaceUrl:!0},st=Se?.navigationId?Se:null;if(Se){const hn={...Se};delete hn.navigationId,delete hn.\u0275routerPageId,0!==Object.keys(hn).length&&(rt.state=hn)}const Vt=this.parseUrl(w);this.scheduleNavigation(Vt,q,st,rt)}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:rt,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,...rt};break;case"preserve":Kn=this.currentUrlTree.queryParams;break;default:Kn=rt||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 At($i,w,Kn,An??null)}navigateByUrl(w,q={skipLocationChange:!1}){const Se=nt(w)?w:this.parseUrl(w),rt=this.urlHandlingStrategy.merge(Se,this.rawUrlTree);return this.scheduleNavigation(rt,wn,null,q)}navigate(w,q={skipLocationChange:!1}){return function Ji(k){for(let j=0;j{const rt=w[Se];return null!=rt&&(q[Se]=rt),q},{})}scheduleNavigation(w,q,Se,rt,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:rt,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 rt={...q.extras.state,...this.generateNgRouterState(q.id,(this.browserPageId??0)+1)};this.location.go(Se,"",rt)}}restoreHistory(w,q=!1){if("computed"===this.canceledNavigationResolution){const rt=this.currentPageId-(this.browserPageId??this.currentPageId);0!==rt?this.location.historyGo(rt):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===rt&&(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,rt,st,Vt){this.router=w,this.route=q,this.tabIndexAttribute=Se,this.renderer=rt,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,rt,st){return!!(null===this.urlTree||this.isAnchorElement&&(0!==w||q||Se||rt||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,rt=this.el.nativeElement;null!==q?Se.setAttribute(rt,w,q):Se.removeAttribute(rt,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(rt){return q.onClick(rt.button,rt.ctrlKey,rt.shiftKey,rt.altKey,rt.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,rt,st){this.router=w,this.element=q,this.renderer=Se,this.cdr=rt,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 rt;n.\u0275\u0275queryRefresh(rt=n.\u0275\u0275loadQuery())&&(q.links=rt)}},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,rt,st){this.router=w,this.injector=Se,this.preloadingStrategy=rt,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 rt of q){rt.providers&&!rt._injector&&(rt._injector=(0,n.createEnvironmentInjector)(rt.providers,w,`Route: ${rt.path}`));const st=rt._injector??w,Vt=rt._loadedInjector??st;(rt.loadChildren&&!rt._loadedRoutes&&void 0===rt.canLoad||rt.loadComponent&&!rt._loadedComponent)&&Se.push(this.preloadConfig(st,rt)),(rt.children||rt._loadedRoutes)&&Se.push(this.processRoutes(Vt,rt.children??rt._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 rt=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)([rt,st]).pipe((0,we.J)())}return rt})}}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,rt,st={}){this.urlSerializer=w,this.transitions=q,this.viewportScroller=Se,this.zone=rt,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),rt=(0,n.inject)(ce);return new Zr(rt,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),rt=j.get(dn);Kt(Se,()=>{q(!0)}),j.get(Qn).afterPreactivation=()=>(q(!0),rt.closed?(0,g.of)(void 0):rt),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:ce,useClass:Te},Jn,se,{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)(ce);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:()=>de,USE_STORE:()=>Ce});var n=a(1180),c=a(5879),d=a(2096),g=a(2664),r=a(9315),f=a(34),h=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 ae,ve,He,G=typeof Ee;if(G==typeof Be&&"object"==G){if(!Array.isArray(Ee)){if(Array.isArray(Be))return!1;for(ve in He=Object.create(null),Ee){if(!S(Ee[ve],Be[ve]))return!1;He[ve]=!0}for(ve in Be)if(!(ve in He)&&typeof Be[ve]<"u")return!1;return!0}if(!Array.isArray(Be))return!1;if((ae=Ee.length)==Be.length){for(ve=0;ve{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 ae;return ae="string"==typeof G?this.interpolateString(G,re):"function"==typeof G?this.interpolateFunction(G,re):G,ae}getValue(G,re){let ae="string"==typeof re?re.split("."):[re];re="";do{re+=ae.shift(),!E(G)||!E(G[re])||"object"!=typeof G[re]&&ae.length?ae.length?re+=".":G=void 0:(G=G[re],re="")}while(ae.length);return G}interpolateFunction(G,re){return G(re)}interpolateString(G,re){return re?G.replace(this.templateMatcher,(ae,ve)=>{let He=this.getValue(re,ve);return E(He)?He:ae}):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 Ce=new c.InjectionToken("USE_STORE"),Re=new c.InjectionToken("USE_DEFAULT_LANG"),Ae=new c.InjectionToken("DEFAULT_LANGUAGE"),de=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,ae,ve,He,Ze=!0,Qe=!1,Ge=!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=ae,this.parser=ve,this.missingTranslationHandler=He,this.useDefaultLang=Ze,this.isolate=Qe,this.extend=Ge,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(ae=>{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(ae=>{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)(ae=>this.compiler.compileTranslations(ae,G)),(0,v.d)(1),(0,u.q)(1)),this.loadingTranslations.subscribe({next:ae=>{this.translations[G]=this.extend&&this.translations[G]?{...ae,...this.translations[G]}:ae,this.updateLangs(),this.pending=!1},error:ae=>{this.pending=!1}}),re}setTranslation(G,re,ae=!1){re=this.compiler.compileTranslations(re,G),this.translations[G]=(ae||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,ae){let ve;if(re instanceof Array){let He={},Ze=!1;for(let Qe of re)He[Qe]=this.getParsedResult(G,Qe,ae),(0,g.b)(He[Qe])&&(Ze=!0);if(Ze){const Qe=re.map(Ge=>(0,g.b)(He[Ge])?He[Ge]:(0,d.of)(He[Ge]));return(0,r.D)(Qe).pipe((0,b.U)(Ge=>{let tt={};return Ge.forEach((Ct,Nt)=>{tt[re[Nt]]=Ct}),tt}))}return He}if(G&&(ve=this.parser.interpolate(this.parser.getValue(G,re),ae)),typeof ve>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ve=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],re),ae)),typeof ve>"u"){let He={key:re,translateService:this};typeof ae<"u"&&(He.interpolateParams=ae),ve=this.missingTranslationHandler.handle(He)}return typeof ve<"u"?ve: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)(ae=>(ae=this.getParsedResult(ae,G,re),(0,g.b)(ae)?ae:(0,d.of)(ae))));{let ae=this.getParsedResult(this.translations[this.currentLang],G,re);return(0,g.b)(ae)?ae:(0,d.of)(ae)}}getStreamOnTranslationChange(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,f.z)((0,h.P)(()=>this.get(G,re)),this.onTranslationChange.pipe((0,_.w)(ae=>{const ve=this.getParsedResult(ae.translations,G,re);return"function"==typeof ve.subscribe?ve:(0,d.of)(ve)})))}stream(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,f.z)((0,h.P)(()=>this.get(G,re)),this.onLangChange.pipe((0,_.w)(ae=>{const ve=this.getParsedResult(ae.translations,G,re);return(0,g.b)(ve)?ve:(0,d.of)(ve)})))}instant(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');let ae=this.getParsedResult(this.translations[this.currentLang],G,re);if((0,g.b)(ae)){if(G instanceof Array){let ve={};return G.forEach((He,Ze)=>{ve[G[Ze]]=G[Ze]}),ve}return G}return ae}set(G,re,ae=this.currentLang){this.translations[ae][G]=this.compiler.compile(re,ae),this.updateLangs(),this.onTranslationChange.emit({lang:ae,translations:this.translations[ae]})}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(Ce),c.\u0275\u0275inject(de),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,ae){(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=ae,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(ve=>{ve.lang===this.translateService.currentLang&&this.checkNodes(!0,ve.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(ve=>{this.checkNodes(!0,ve.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(ve=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(G=!1,re){let ae=this.element.nativeElement.childNodes;ae.length||(this.setContent(this.element.nativeElement,this.key),ae=this.element.nativeElement.childNodes);for(let ve=0;ve{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(ae)){let He=this.translateService.getParsedResult(ae,G,this.currentParams);(0,g.b)(He)?He.subscribe({next:ve}):ve(He)}else this.translateService.get(G,this.currentParams).subscribe(ve)}}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,ae){let ve=He=>{this.value=void 0!==He?He:G,this.lastKey=G,this._ref.markForCheck()};if(ae){let He=this.translate.getParsedResult(ae,G,re);(0,g.b)(He.subscribe)?He.subscribe(ve):ve(He)}this.translate.get(G,re).subscribe(ve)}transform(G,...re){if(!G||!G.length)return G;if(S(G,this.lastKey)&&S(re,this.lastParams))return this.value;let ae;if(E(re[0])&&re.length)if("string"==typeof re[0]&&re[0].length){let ve=re[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{ae=JSON.parse(ve)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${re[0]}`)}}else"object"==typeof re[0]&&!Array.isArray(re[0])&&(ae=re[0]);return this.lastKey=G,this.lastParams=re,this.updateValue(G,ae),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ve=>{this.lastKey&&ve.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(G,ae,ve.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ve=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,ae,ve.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,ae))})),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:Ce,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:de,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:Ce,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:de,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/",f=".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=f}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:()=>Gt,AbstractValidationHandler:()=>Qe,AuthConfig:()=>ve,DateTimeProvider:()=>Ce,DefaultHashHandler:()=>K,DefaultOAuthInterceptor:()=>Dt,HashHandler:()=>oe,JwksValidationHandler:()=>Ft,LoginOptions:()=>Ae,MemoryStorage:()=>W,NullValidationHandler:()=>ie,OAuthErrorEvent:()=>G,OAuthEvent:()=>we,OAuthInfoEvent:()=>Be,OAuthLogger:()=>de,OAuthModule:()=>mt,OAuthModuleConfig:()=>A,OAuthNoopResourceServerErrorHandler:()=>et,OAuthResourceServerConfig:()=>U,OAuthResourceServerErrorHandler:()=>Te,OAuthService:()=>ce,OAuthStorage:()=>H,OAuthSuccessEvent:()=>Ee,ReceivedTokens:()=>pe,SystemDateTimeProvider:()=>Re,UrlHelperService:()=>Ge,ValidationHandler:()=>Ze,provideOAuthClient:()=>Pe});var n=a(5861),c=a(5879),d=a(6814),g=a(9862),r=a(8645),f=a(2096),h=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(Ke){return Promise.resolve(null)}validateAtHash(Ke){return Promise.resolve(!0)}}class A{}class U{}class Ce{}let Re=(()=>{class Oe extends Ce{now(){return Date.now()}new(){return new Date}}return Oe.\u0275fac=function(){let Ke;return function(ge){return(Ke||(Ke=c.\u0275\u0275getInheritedFactory(Oe)))(ge||Oe)}}(),Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class Ae{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class de{}class H{}let W=(()=>{class Oe{constructor(){this.data=new Map}getItem(he){return this.data.get(he)}removeItem(he){this.data.delete(he)}setItem(he,ge){this.data.set(he,ge)}}return Oe.\u0275fac=function(he){return new(he||Oe)},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class pe{}class we{constructor(Ke){this.type=Ke}}class Ee extends we{constructor(Ke,he=null){super(Ke),this.info=he}}class Be extends we{constructor(Ke,he=null){super(Ke),this.info=he}}class G extends we{constructor(Ke,he,ge=null){super(Ke),this.reason=he,this.params=ge}}function re(Oe){const Ke=Oe.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(Ke).split("").map(function(he){return"%"+("00"+he.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function ae(Oe){return btoa(Oe).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ve{constructor(Ke){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=he=>{location.href=he},Ke&&Object.assign(this,Ke)}}class He{encodeKey(Ke){return encodeURIComponent(Ke)}encodeValue(Ke){return encodeURIComponent(Ke)}decodeKey(Ke){return decodeURIComponent(Ke)}decodeValue(Ke){return decodeURIComponent(Ke)}}class Ze{}class Qe{validateAtHash(Ke){var he=this;return(0,n.Z)(function*(){let ge=he.inferHashAlgorithm(Ke.idTokenHeader),ct=yield he.calcHash(Ke.accessToken,ge),Ye=ae(ct.substr(0,ct.length/2)),De=Ke.idTokenClaims.at_hash.replace(/=/g,"");return Ye!==De&&(console.error("exptected at_hash: "+Ye),console.error("actual at_hash: "+De)),Ye===De})()}inferHashAlgorithm(Ke){let he=Ke.alg;if(!he.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+he);return"sha-"+he.substr(2)}}let Ge=(()=>{class Oe{getHashFragmentParams(he){let ge=he||window.location.hash;if(ge=decodeURIComponent(ge),0!==ge.indexOf("#"))return{};const ct=ge.indexOf("?");return ge=ge.substr(ct>-1?ct+1:1),this.parseQueryString(ge)}parseQueryString(he){const ge={};let ct,Me,Ye,De,F,V,Q;if(null===he)return ge;ct=he.split("&");for(let be=0;be=64;){for(Me=Ke[0],Ye=Ke[1],De=Ke[2],F=Ke[3],V=Ke[4],Q=Ke[5],be=Ke[6],dt=Ke[7],qe=0;qe<16;qe++)nt=ge+4*qe,Oe[qe]=(255&he[nt])<<24|(255&he[nt+1])<<16|(255&he[nt+2])<<8|255&he[nt+3];for(qe=16;qe<64;qe++)Rt=Oe[qe-2],Ve=(Rt>>>17|Rt<<15)^(Rt>>>19|Rt<<13)^Rt>>>10,Rt=Oe[qe-15],yt=(Rt>>>7|Rt<<25)^(Rt>>>18|Rt<<14)^Rt>>>3,Oe[qe]=(Ve+Oe[qe-7]|0)+(yt+Oe[qe-16]|0);for(qe=0;qe<64;qe++)Ve=(((V>>>6|V<<26)^(V>>>11|V<<21)^(V>>>25|V<<7))+(V&Q^~V&be)|0)+(dt+(Nt[qe]+Oe[qe]|0)|0)|0,yt=((Me>>>2|Me<<30)^(Me>>>13|Me<<19)^(Me>>>22|Me<<10))+(Me&Ye^Me&De^Ye&De)|0,dt=be,be=Q,Q=V,V=F+Ve|0,F=De,De=Ye,Ye=Me,Me=Ve+yt|0;Ke[0]+=Me,Ke[1]+=Ye,Ke[2]+=De,Ke[3]+=F,Ke[4]+=V,Ke[5]+=Q,Ke[6]+=be,Ke[7]+=dt,ge+=64,ct-=64}return ge}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 Ke=0;Ke0){for(;this.bufferLength<64&&he>0;)this.buffer[this.bufferLength++]=Ke[ge++],he--;64===this.bufferLength&&(_t(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(he>=64&&(ge=_t(this.temp,this.state,Ke,ge,he),he%=64);he>0;)this.buffer[this.bufferLength++]=Ke[ge++],he--;return this}finish(Ke){if(!this.finished){const he=this.bytesHashed,ge=this.bufferLength,ct=he/536870912|0,Me=he<<3,Ye=he%64<56?64:128;this.buffer[ge]=128;for(let De=ge+1;De>>24&255,this.buffer[Ye-7]=ct>>>16&255,this.buffer[Ye-6]=ct>>>8&255,this.buffer[Ye-5]=ct>>>0&255,this.buffer[Ye-4]=Me>>>24&255,this.buffer[Ye-3]=Me>>>16&255,this.buffer[Ye-2]=Me>>>8&255,this.buffer[Ye-1]=Me>>>0&255,_t(this.temp,this.state,this.buffer,0,Ye),this.finished=!0}for(let he=0;he<8;he++)Ke[4*he+0]=this.state[he]>>>24&255,Ke[4*he+1]=this.state[he]>>>16&255,Ke[4*he+2]=this.state[he]>>>8&255,Ke[4*he+3]=this.state[he]>>>0&255;return this}digest(){const Ke=new Uint8Array(this.digestLength);return this.finish(Ke),Ke}_saveState(Ke){for(let he=0;he{class Oe{calcHash(he,ge){return(0,n.Z)(function*(){return function ne(Oe){var Ke,he=[];for(Ke=0;Ke{class Oe extends ve{constructor(he,ge,ct,Me,Ye,De,F,V,Q,be){super(),this.ngZone=he,this.http=ge,this.config=Ye,this.urlHelper=De,this.logger=F,this.crypto=V,this.dateTimeService=be,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=Q,Ye||(Ye={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),Me&&(this.tokenValidationHandler=Me),Ye&&this.configure(Ye);try{ct?this.setStorage(ct):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(dt){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",dt)}if(this.checkLocalStorageAccessable()){const dt=window?.navigator?.userAgent;(dt?.includes("MSIE ")||dt?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const he="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(he,he),localStorage.removeItem(he),0))}catch{return!1}}configure(he){Object.assign(this,new ve,he),this.config=Object.assign({},new ve,he),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,_.h)(he=>"token_received"===he.type)).subscribe(he=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(he={},ge,ct=!0){let Me=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,l.b)(Ye=>{"token_received"===Ye.type?Me=!0:"logout"===Ye.type&&(Me=!1)}),(0,_.h)(Ye=>"token_expires"===Ye.type&&(null==ge||"any"===ge||Ye.info===ge)),(0,y.b)(1e3)).subscribe(Ye=>{Me&&this.refreshInternal(he,ct).catch(De=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(he,ge){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(he,ge):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(he=null){return this.loadDiscoveryDocument().then(ge=>this.tryLogin(he))}loadDiscoveryDocumentAndLogin(he=null){return this.loadDiscoveryDocumentAndTryLogin(he=he||{}).then(ge=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof he.state?he.state:""),!1))}debug(...he){this.showDebugInformation&&this.logger.debug.apply(this.logger,he)}validateUrlFromDiscoveryDocument(he){const ge=[],ct=this.validateUrlForHttps(he),Me=this.validateUrlAgainstIssuer(he);return ct||ge.push("https for all urls required. Also for urls received by discovery."),Me||ge.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),ge}validateUrlForHttps(he){if(!he)return!0;const ge=he.toLowerCase();return!(!1!==this.requireHttps&&(!ge.match(/^http:\/\/localhost($|[:\/])/)&&!ge.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||ge.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(he,ge){if(!he)throw new Error(`'${ge}' should not be null`);if(!this.validateUrlForHttps(he))throw new Error(`'${ge}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(he){return!this.strictDiscoveryDocumentValidation||!he||he.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)(he=>"token_received"===he.type)).subscribe(he=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const he=this.getAccessTokenExpiration(),ge=this.getAccessTokenStoredAt(),ct=this.calcTimeout(ge,he);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,f.of)(new Be("token_expires","access_token")).pipe((0,x.g)(ct)).subscribe(Me=>{this.ngZone.run(()=>{this.eventsSubject.next(Me)})})})}setupIdTokenTimer(){const he=this.getIdTokenExpiration(),ge=this.getIdTokenStoredAt(),ct=this.calcTimeout(ge,he);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,f.of)(new Be("token_expires","id_token")).pipe((0,x.g)(ct)).subscribe(Me=>{this.ngZone.run(()=>{this.eventsSubject.next(Me)})})})}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(he,ge){const ct=this.dateTimeService.now(),Ye=Math.max(0,(ge-he)*this.timeoutFactor-(ct-he)),De=2147483647;return Ye>De?De:Ye}setStorage(he){this._storage=he,this.configChanged()}loadDiscoveryDocument(he=null){return new Promise((ge,ct)=>{he||((he=this.issuer||"").endsWith("/")||(he+="/"),he+=".well-known/openid-configuration"),this.validateUrlForHttps(he)?this.http.get(he).subscribe(Me=>{if(!this.validateDiscoveryDocument(Me))return this.eventsSubject.next(new G("discovery_document_validation_error",null)),void ct("discovery_document_validation_error");this.loginUrl=Me.authorization_endpoint,this.logoutUrl=Me.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=Me.grant_types_supported,this.issuer=Me.issuer,this.tokenEndpoint=Me.token_endpoint,this.userinfoEndpoint=Me.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=Me.jwks_uri,this.sessionCheckIFrameUrl=Me.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(Me),this.revocationEndpoint=Me.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(Ye=>{const F=new Ee("discovery_document_loaded",{discoveryDocument:Me,jwks:Ye});this.eventsSubject.next(F),ge(F)}).catch(Ye=>{this.eventsSubject.next(new G("discovery_document_load_error",Ye)),ct(Ye)})},Me=>{this.logger.error("error loading discovery document",Me),this.eventsSubject.next(new G("discovery_document_load_error",Me)),ct(Me)}):ct("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((he,ge)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(ct=>{this.jwks=ct,he(ct)},ct=>{this.logger.error("error loading jwks",ct),this.eventsSubject.next(new G("jwks_load_error",ct)),ge(ct)}):he(null)})}validateDiscoveryDocument(he){let ge;return this.skipIssuerCheck||he.issuer===this.issuer?(ge=this.validateUrlFromDiscoveryDocument(he.authorization_endpoint),ge.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.end_session_endpoint),ge.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.token_endpoint),ge.length>0&&this.logger.error("error validating token_endpoint in discovery document",ge),ge=this.validateUrlFromDiscoveryDocument(he.revocation_endpoint),ge.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",ge),ge=this.validateUrlFromDiscoveryDocument(he.userinfo_endpoint),ge.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.jwks_uri),ge.length>0?(this.logger.error("error validating jwks_uri in discovery document",ge),!1):(this.sessionChecksEnabled&&!he.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: "+he.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(he,ge,ct=new g.HttpHeaders){return this.fetchTokenUsingPasswordFlow(he,ge,ct).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((he,ge)=>{const ct=(new g.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:ct,observe:"response",responseType:"text"}).subscribe(Me=>{if(this.debug("userinfo received",JSON.stringify(Me)),Me.headers.get("content-type").startsWith("application/json")){let Ye=JSON.parse(Me.body);const De=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!De.sub||Ye.sub!==De.sub))return void ge("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")),he({info:Ye})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new Ee("user_profile_loaded")),he(JSON.parse(Me.body))},Me=>{this.logger.error("error loading user info",Me),this.eventsSubject.next(new G("user_profile_load_error",Me)),ge(Me)})})}fetchTokenUsingPasswordFlow(he,ge,ct=new g.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:he,password:ge},ct)}fetchTokenUsingGrant(he,ge,ct=new g.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let Me=new g.HttpParams({encoder:new He}).set("grant_type",he).set("scope",this.scope);if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);ct=ct.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(Me=Me.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Me=Me.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))Me=Me.set(Ye,this.customQueryParams[Ye]);for(const Ye of Object.keys(ge))Me=Me.set(Ye,ge[Ye]);return ct=ct.set("Content-Type","application/x-www-form-urlencoded"),new Promise((Ye,De)=>{this.http.post(this.tokenEndpoint,Me,{headers:ct}).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((he,ge)=>{let ct=new g.HttpParams({encoder:new He}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),Me=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);Me=Me.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(ct=ct.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ct=ct.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))ct=ct.set(Ye,this.customQueryParams[Ye]);this.http.post(this.tokenEndpoint,ct,{headers:Me}).pipe((0,D.w)(Ye=>this.oidc&&Ye.id_token?(0,h.D)(this.processIdToken(Ye.id_token,Ye.access_token,!0)).pipe((0,l.b)(De=>this.storeIdToken(De)),(0,S.U)(De=>Ye)):(0,f.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")),he(Ye)},Ye=>{this.logger.error("Error refreshing token",Ye),this.eventsSubject.next(new G("token_refresh_error",Ye)),ge(Ye)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=he=>{const ge=this.processMessageEventMessage(he);this.checkOrigin&&he.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:ge,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(ct=>this.debug("tryLogin during silent refresh failed",ct))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(he={},ge=!0){const ct=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(he.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 Me=this.document.getElementById(this.silentRefreshIFrameName);Me&&this.document.body.removeChild(Me),this.silentRefreshSubject=ct.sub;const Ye=this.document.createElement("iframe");Ye.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,ge,he).then(be=>{Ye.setAttribute("src",be),this.silentRefreshShowIFrame||(Ye.style.display="none"),this.document.body.appendChild(Ye)});const F=this.events.pipe((0,_.h)(be=>be instanceof G),(0,E.P)()),V=this.events.pipe((0,_.h)(be=>"token_received"===be.type),(0,E.P)()),Q=(0,f.of)(new G("silent_refresh_timeout",null)).pipe((0,x.g)(this.silentRefreshTimeout));return(0,u.S)([F,V,Q]).pipe((0,S.U)(be=>{if(be instanceof G)throw"silent_refresh_timeout"===be.type||(be=new G("silent_refresh_error",be)),this.eventsSubject.next(be),be;return"token_received"===be.type&&(be=new Ee("silently_refreshed"),this.eventsSubject.next(be)),be})).toPromise()}initImplicitFlowInPopup(he){return this.initLoginFlowInPopup(he)}initLoginFlowInPopup(he){return he=he||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(ge=>new Promise((ct,Me)=>{let F,De=null;he.windowRef?he.windowRef&&!he.windowRef.closed&&(De=he.windowRef,De.location.href=ge):De=window.open(ge,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(he));const V=qe=>{this.tryLogin({customHashFragment:qe,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{be(),ct(!0)},nt=>{be(),Me(nt)})};De?F=window.setInterval(()=>{(!De||De.closed)&&(be(),Me(new G("popup_closed",{})))},500):Me(new G("popup_blocked",{}));const be=()=>{window.clearInterval(F),window.removeEventListener("storage",Rt),window.removeEventListener("message",dt),null!==De&&De.close(),De=null},dt=qe=>{const nt=this.processMessageEventMessage(qe);nt&&null!==nt?(window.removeEventListener("storage",Rt),V(nt)):console.log("false event firing")},Rt=qe=>{"auth_hash"===qe.key&&(window.removeEventListener("message",dt),V(qe.newValue))};window.addEventListener("message",dt),window.addEventListener("storage",Rt)}))}calculatePopupFeatures(he){const ge=he.height||470,ct=he.width||500,Me=window.screenLeft+(window.outerWidth-ct)/2;return`location=no,toolbar=no,width=${ct},height=${ge},top=${window.screenTop+(window.outerHeight-ge)/2},left=${Me}`}processMessageEventMessage(he){let ge="#";if(this.silentRefreshMessagePrefix&&(ge+=this.silentRefreshMessagePrefix),!he||!he.data||"string"!=typeof he.data)return;const ct=he.data;return ct.startsWith(ge)?"#"+ct.substr(ge.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=he=>{const ge=he.origin.toLowerCase(),ct=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),ct.startsWith(ge)){switch(he.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",he)}else this.debug("sessionCheckEventListener","wrong origin",ge,"expected",ct,"event",he)},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(he=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new Be("session_terminated")),this.logOut(!0)):this.refreshToken().then(he=>{this.debug("token refresh after session change worked")}).catch(he=>{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)(he=>"silently_refreshed"===he.type||"silent_refresh_timeout"===he.type||"silent_refresh_error"===he.type),(0,E.P)()).subscribe(he=>{"silently_refreshed"!==he.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 he=this.document.getElementById(this.sessionCheckIFrameName);he&&this.document.body.removeChild(he);const ge=this.document.createElement("iframe");ge.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),ge.setAttribute("src",this.sessionCheckIFrameUrl),ge.style.display="none",this.document.body.appendChild(ge),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 he=this.document.getElementById(this.sessionCheckIFrameName);he||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const ge=this.getSessionState();ge||this.stopSessionCheckTimer(),he.contentWindow.postMessage(this.clientId+" "+ge,this.issuer)}createLoginUrl(he="",ge="",ct="",Me=!1,Ye={}){var De=this;return(0,n.Z)(function*(){const F=De;let V;V=ct||De.redirectUri;const Q=yield De.createAndSaveNonce();if(he=he?Q+De.config.nonceStateSeparator+encodeURIComponent(he):Q,!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 be=F.loginUrl.indexOf("?")>-1?"&":"?";let dt=F.scope;De.oidc&&!dt.match(/(^|\s)openid($|\s)/)&&(dt="openid "+dt);let Rt=F.loginUrl+be+"response_type="+encodeURIComponent(F.responseType)+"&client_id="+encodeURIComponent(F.clientId)+"&state="+encodeURIComponent(he)+"&redirect_uri="+encodeURIComponent(V)+"&scope="+encodeURIComponent(dt);if(De.responseType.includes("code")&&!De.disablePKCE){const[qe,nt]=yield De.createChallangeVerifierPairForPKCE();De.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",nt):De._storage.setItem("PKCE_verifier",nt),Rt+="&code_challenge="+qe,Rt+="&code_challenge_method=S256"}ge&&(Rt+="&login_hint="+encodeURIComponent(ge)),F.resource&&(Rt+="&resource="+encodeURIComponent(F.resource)),F.oidc&&(Rt+="&nonce="+encodeURIComponent(Q)),Me&&(Rt+="&prompt=none");for(const qe of Object.keys(Ye))Rt+="&"+encodeURIComponent(qe)+"="+encodeURIComponent(Ye[qe]);if(De.customQueryParams)for(const qe of Object.getOwnPropertyNames(De.customQueryParams))Rt+="&"+qe+"="+encodeURIComponent(De.customQueryParams[qe]);return Rt})()}initImplicitFlowInternal(he="",ge=""){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 ct={},Me=null;"string"==typeof ge?Me=ge:"object"==typeof ge&&(ct=ge),this.createLoginUrl(he,Me,null,!1,ct).then(this.config.openUri).catch(Ye=>{console.error("Error in initImplicitFlow",Ye),this.inImplicitFlow=!1})}initImplicitFlow(he="",ge=""){""!==this.loginUrl?this.initImplicitFlowInternal(he,ge):this.events.pipe((0,_.h)(ct=>"discovery_document_loaded"===ct.type)).subscribe(ct=>this.initImplicitFlowInternal(he,ge))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(he){const ge=this;if(he.onTokenReceived){const ct={idClaims:ge.getIdentityClaims(),idToken:ge.getIdToken(),accessToken:ge.getAccessToken(),state:ge.state};he.onTokenReceived(ct)}}storeAccessTokenResponse(he,ge,ct,Me,Ye){if(this._storage.setItem("access_token",he),Me&&!Array.isArray(Me)?this._storage.setItem("granted_scopes",JSON.stringify(Me.split(" "))):Me&&Array.isArray(Me)&&this._storage.setItem("granted_scopes",JSON.stringify(Me)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),ct){const De=1e3*ct,V=this.dateTimeService.new().getTime()+De;this._storage.setItem("expires_at",""+V)}ge&&this._storage.setItem("refresh_token",ge),Ye&&Ye.forEach((De,F)=>{this._storage.setItem(F,De)})}tryLogin(he=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(he).then(ge=>!0):this.tryLoginImplicitFlow(he)}parseQueryString(he){return he&&0!==he.length?("?"===he.charAt(0)&&(he=he.substr(1)),this.urlHelper.parseQueryString(he)):{}}tryLoginCodeFlow(he=null){var ge=this;return(0,n.Z)(function*(){const ct=(he=he||{}).customHashFragment?he.customHashFragment.substring(1):window.location.search,Me=ge.getCodePartsFromUrl(ct),Ye=Me.code,De=Me.state,F=Me.session_state;if(!he.preventClearHashAfterLogin){const be=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,be)}let[V,Q]=ge.parseState(De);if(ge.state=Q,Me.error){ge.debug("error trying to login"),ge.handleLoginError(he,Me);const be=new G("code_error",{},Me);return ge.eventsSubject.next(be),Promise.reject(be)}if(!he.disableNonceCheck){if(!V)return ge.saveRequestedRoute(),Promise.resolve();if(!he.disableOAuth2StateCheck&&!ge.validateNonce(V)){const dt=new G("invalid_nonce_in_state",null);return ge.eventsSubject.next(dt),Promise.reject(dt)}}return ge.storeSessionState(F),Ye&&(yield ge.getTokenFromCode(Ye,he),ge.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const he=this._storage.getItem("requested_route");he&&history.replaceState(null,"",window.location.origin+he)}getCodePartsFromUrl(he){return he&&0!==he.length?("?"===he.charAt(0)&&(he=he.substr(1)),this.urlHelper.parseQueryString(he)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(he,ge){let ct=new g.HttpParams({encoder:new He}).set("grant_type","authorization_code").set("code",he).set("redirect_uri",ge.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let Me;Me=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),Me?ct=ct.set("code_verifier",Me):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(ct,ge)}fetchAndProcessToken(he,ge){ge=ge||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let ct=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Me=btoa(`${this.clientId}:${this.dummyClientSecret}`);ct=ct.set("Authorization","Basic "+Me)}return this.useHttpBasicAuth||(he=he.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(he=he.set("client_secret",this.dummyClientSecret)),new Promise((Me,Ye)=>{if(this.customQueryParams)for(let De of Object.getOwnPropertyNames(this.customQueryParams))he=he.set(De,this.customQueryParams[De]);this.http.post(this.tokenEndpoint,he,{headers:ct}).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,ge.disableNonceCheck).then(F=>{this.storeIdToken(F),this.eventsSubject.next(new Ee("token_received")),this.eventsSubject.next(new Ee("token_refreshed")),Me(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")),Me(De))},De=>{console.error("Error getting token",De),this.eventsSubject.next(new G("token_refresh_error",De)),Ye(De)})})}tryLoginImplicitFlow(he=null){let ge;ge=(he=he||{}).customHashFragment?this.urlHelper.getHashFragmentParams(he.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",ge);const ct=ge.state;let[Me,Ye]=this.parseState(ct);if(this.state=Ye,ge.error){this.debug("error trying to login"),this.handleLoginError(he,ge);const be=new G("token_error",{},ge);return this.eventsSubject.next(be),Promise.reject(be)}const De=ge.access_token,F=ge.id_token,V=ge.session_state,Q=ge.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!De||this.requestAccessToken&&!he.disableOAuth2StateCheck&&!ct||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&&!he.disableNonceCheck&&!this.validateNonce(Me)){const dt=new G("invalid_nonce_in_state",null);return this.eventsSubject.next(dt),Promise.reject(dt)}return this.requestAccessToken&&this.storeAccessTokenResponse(De,null,ge.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Q),this.oidc?this.processIdToken(F,De,he.disableNonceCheck).then(be=>he.validationHandler?he.validationHandler({accessToken:De,idClaims:be.idTokenClaims,idToken:be.idToken,state:ct}).then(dt=>be):be).then(be=>(this.storeIdToken(be),this.storeSessionState(V),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new Ee("token_received")),this.callOnTokenReceivedIfExists(he),this.inImplicitFlow=!1,!0)).catch(be=>(this.eventsSubject.next(new G("token_validation_error",be)),this.logger.error("Error validating tokens"),this.logger.error(be),Promise.reject(be))):(this.eventsSubject.next(new Ee("token_received")),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(he),Promise.resolve(!0))}parseState(he){let ge=he,ct="";if(he){const Me=he.indexOf(this.config.nonceStateSeparator);Me>-1&&(ge=he.substr(0,Me),ct=he.substr(Me+this.config.nonceStateSeparator.length))}return[ge,ct]}validateNonce(he){let ge;return ge=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),ge===he||(console.error("Validating access_token failed, wrong state/nonce.",ge,he),!1)}storeIdToken(he){this._storage.setItem("id_token",he.idToken),this._storage.setItem("id_token_claims_obj",he.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+he.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(he){this._storage.setItem("session_state",he)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(he,ge){he.onLoginError&&he.onLoginError(ge),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(he=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:he}processIdToken(he,ge,ct=!1){const Me=he.split("."),De=re(this.padBase64(Me[0])),F=JSON.parse(De),Q=re(this.padBase64(Me[1])),be=JSON.parse(Q);let dt;if(dt=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(be.aud)){if(be.aud.every(At=>At!==this.clientId)){const At="Wrong audience: "+be.aud.join(",");return this.logger.warn(At),Promise.reject(At)}}else if(be.aud!==this.clientId){const At="Wrong audience: "+be.aud;return this.logger.warn(At),Promise.reject(At)}if(!be.sub){const At="No sub claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==be.sub){const At=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${be.sub}`;return this.logger.warn(At),Promise.reject(At)}if(!be.iat){const At="No iat claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(!this.skipIssuerCheck&&be.iss!==this.issuer){const At="Wrong issuer: "+be.iss;return this.logger.warn(At),Promise.reject(At)}if(!ct&&be.nonce!==dt){const At="Wrong nonce: "+be.nonce;return this.logger.warn(At),Promise.reject(At)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!be.at_hash){const At="An at_hash is needed!";return this.logger.warn(At),Promise.reject(At)}const Rt=this.dateTimeService.now(),qe=1e3*be.iat,nt=1e3*be.exp,Ve=this.getClockSkewInMsec();if(qe-Ve>=Rt||nt+Ve-this.decreaseExpirationBySec<=Rt){const At="Token has expired";return console.error(At),console.error({now:Rt,issuedAtMSec:qe,expiresAtMSec:nt}),Promise.reject(At)}const yt={accessToken:ge,idToken:he,jwks:this.jwks,idTokenClaims:be,idTokenHeader:F,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(yt).then(At=>({idToken:he,idTokenClaims:be,idTokenClaimsJson:Q,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:nt})):this.checkAtHash(yt).then(At=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!At){const on="Wrong at_hash";return this.logger.warn(on),Promise.reject(on)}return this.checkSignature(yt).then(on=>{const Sn={idToken:he,idTokenClaims:be,idTokenClaimsJson:Q,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:nt};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 he=this._storage.getItem("id_token_claims_obj");return he?JSON.parse(he):null}getGrantedScopes(){const he=this._storage.getItem("granted_scopes");return he?JSON.parse(he):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(he){for(;he.length%4!=0;)he+="=";return he}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 he=this._storage.getItem("expires_at"),ge=this.dateTimeService.new();return!(he&&parseInt(he,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(he)?JSON.parse(this._storage.getItem(he)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(he={},ge=""){let ct=!1;"boolean"==typeof he&&(ct=he,he={});const Me=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||ct)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(Me)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let De=new g.HttpParams({encoder:new He});Me&&(De=De.set("id_token_hint",Me));const F=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";F&&(De=De.set("post_logout_redirect_uri",F),ge&&(De=De.set("state",ge)));for(let V in he)De=De.set(V,he[V]);Ye=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+De.toString()}this.config.openUri(Ye)}createAndSaveNonce(){const he=this;return this.createNonce().then(function(ge){return he.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",ge):he._storage.setItem("nonce",ge),ge})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const he=this.document.getElementById(this.silentRefreshIFrameName);he&&he.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const ge=this.document.getElementById(this.sessionCheckIFrameName);ge&&ge.remove()}createNonce(){return new Promise(he=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const ge="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let ct=45,Me="";const Ye=typeof self>"u"?null:self.crypto||self.msCrypto;if(Ye){let De=new Uint8Array(ct);Ye.getRandomValues(De),De.map||(De.map=Array.prototype.map),De=De.map(F=>ge.charCodeAt(F%66)),Me=String.fromCharCode.apply(null,De)}else for(;0"discovery_document_loaded"===ct.type)).subscribe(ct=>this.initCodeFlowInternal(he,ge))}initCodeFlowInternal(he="",ge={}){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 ct={},Me=null;"string"==typeof ge?Me=ge:"object"==typeof ge&&(ct=ge),this.createLoginUrl(he,Me,null,!1,ct).then(this.config.openUri).catch(Ye=>{console.error("Error in initAuthorizationCodeFlow"),console.error(Ye)})}createChallangeVerifierPairForPKCE(){var he=this;return(0,n.Z)(function*(){if(!he.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const ge=yield he.createNonce();return[ae(yield he.crypto.calcHash(ge,"sha-256")),ge]})()}extractRecognizedCustomParameters(he){let ge=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(ct=>{he[ct]&&ge.set(ct,JSON.stringify(he[ct]))}),ge}revokeTokenAndLogout(he={},ge=!1){let ct=this.revocationEndpoint,Me=this.getAccessToken(),Ye=this.getRefreshToken();if(!Me)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,Q)=>{let be,dt;if(Me){let Rt=De.set("token",Me).set("token_type_hint","access_token");be=this.http.post(ct,Rt,{headers:F})}else be=(0,f.of)(null);if(Ye){let Rt=De.set("token",Ye).set("token_type_hint","refresh_token");dt=this.http.post(ct,Rt,{headers:F})}else dt=(0,f.of)(null);ge&&(be=be.pipe((0,I.K)(Rt=>0===Rt.status?(0,f.of)(null):(0,v._)(Rt))),dt=dt.pipe((0,I.K)(Rt=>0===Rt.status?(0,f.of)(null):(0,v._)(Rt)))),(0,b.a)([be,dt]).subscribe(Rt=>{this.logOut(he),V(Rt),this.logger.info("Token successfully revoked")},Rt=>{this.logger.error("Error revoking token",Rt),this.eventsSubject.next(new G("token_revoke_error",Rt)),Q(Rt)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Oe.\u0275fac=function(he){return new(he||Oe)(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(g.HttpClient),c.\u0275\u0275inject(H,8),c.\u0275\u0275inject(Ze,8),c.\u0275\u0275inject(ve,8),c.\u0275\u0275inject(Ge),c.\u0275\u0275inject(de),c.\u0275\u0275inject(oe,8),c.\u0275\u0275inject(d.DOCUMENT),c.\u0275\u0275inject(Ce))},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class Te{}class et{handleError(Ke){return(0,v._)(Ke)}}let Dt=(()=>{class Oe{constructor(he,ge,ct){this.oAuthService=he,this.errorHandler=ge,this.moduleConfig=ct}checkUrl(he){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(he):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(ge=>he.toLowerCase().startsWith(ge.toLowerCase()))}intercept(he,ge){const ct=he.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(ct)?this.moduleConfig.resourceServer.sendAccessToken?(0,p.T)((0,f.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,f.of)(null)),(0,S.U)(Ye=>this.oAuthService.getAccessToken()))).pipe((0,$.q)(1),(0,ee.z)(Ye=>{if(Ye){const F=he.headers.set("Authorization","Bearer "+Ye);he=he.clone({headers:F})}return ge.handle(he).pipe((0,I.K)(De=>this.errorHandler.handleError(De)))})):ge.handle(he).pipe((0,I.K)(Ye=>this.errorHandler.handleError(Ye))):ge.handle(he)}}return Oe.\u0275fac=function(he){return new(he||Oe)(c.\u0275\u0275inject(ce),c.\u0275\u0275inject(Te),c.\u0275\u0275inject(A,8))},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();function _e(){return console}function ut(){return typeof sessionStorage<"u"?sessionStorage:new W}function Pe(Oe=null,Ke=ie){return(0,c.makeEnvironmentProviders)([ce,Ge,{provide:de,useFactory:_e},{provide:H,useFactory:ut},{provide:Ze,useClass:Ke},{provide:oe,useClass:K},{provide:Te,useClass:et},{provide:A,useValue:Oe},{provide:g.HTTP_INTERCEPTORS,useClass:Dt,multi:!0},{provide:Ce,useClass:Re}])}let mt=(()=>{class Oe{static forRoot(he=null,ge=ie){return{ngModule:Oe,providers:[Pe(he,ge)]}}}return Oe.\u0275fac=function(he){return new(he||Oe)},Oe.\u0275mod=c.\u0275\u0275defineNgModule({type:Oe}),Oe.\u0275inj=c.\u0275\u0275defineInjector({imports:[d.CommonModule]}),Oe})();class Ft 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 Gt=new c.InjectionToken("AUTH_CONFIG")},9256:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{Base64:()=>Ze,VERSION:()=>c,atob:()=>H,atobPolyfill:()=>de,btoa:()=>S,btoaPolyfill:()=>D,btou:()=>Ae,decode:()=>Be,encode:()=>A,encodeURI:()=>U,encodeURL:()=>U,extendBuiltins:()=>He,extendString:()=>ae,extendUint8Array:()=>ve,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,f="function"==typeof TextDecoder?new TextDecoder:void 0,h="function"==typeof TextEncoder?new TextEncoder:void 0,v=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),b=(Qe=>{let Ge={};return Qe.forEach((tt,Ct)=>Ge[tt]=Ct),Ge})(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,Ge=>"+"==Ge?"-":"_"),x=Qe=>Qe.replace(/[^A-Za-z0-9\+\/]/g,""),D=Qe=>{let Ge,tt,Ct,Nt,_t="";const Bt=Qe.length%3;for(let Tt=0;Tt255||(Ct=Qe.charCodeAt(Tt++))>255||(Nt=Qe.charCodeAt(Tt++))>255)throw new TypeError("invalid character found");Ge=tt<<16|Ct<<8|Nt,_t+=v[Ge>>18&63]+v[Ge>>12&63]+v[Ge>>6&63]+v[63&Ge]}return Bt?_t.slice(0,Bt-3)+"===".substring(Bt):_t},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 Ct=0,Nt=Qe.length;CtGe?y(E(Qe)):E(Qe),X=Qe=>{if(Qe.length<2)return(Ge=Qe.charCodeAt(0))<128?Qe:Ge<2048?_(192|Ge>>>6)+_(128|63&Ge):_(224|Ge>>>12&15)+_(128|Ge>>>6&63)+_(128|63&Ge);var Ge=65536+1024*(Qe.charCodeAt(0)-55296)+(Qe.charCodeAt(1)-56320);return _(240|Ge>>>18&7)+_(128|Ge>>>12&63)+_(128|Ge>>>6&63)+_(128|63&Ge)},$=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ee=Qe=>Qe.replace($,X),ie=r?Qe=>Buffer.from(Qe,"utf8").toString("base64"):h?Qe=>E(h.encode(Qe)):Qe=>S(ee(Qe)),A=(Qe,Ge=!1)=>Ge?y(ie(Qe)):ie(Qe),U=Qe=>A(Qe,!0),Ce=/[\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(Ce,Re),de=Qe=>{if(Qe=Qe.replace(/\s+/g,""),!p.test(Qe))throw new TypeError("malformed base64.");Qe+="==".slice(2-(3&Qe.length));let Ge,Ct,Nt,tt="";for(let _t=0;_t>16&255):64===Nt?_(Ge>>16&255,Ge>>8&255):_(Ge>>16&255,Ge>>8&255,255&Ge);return tt},H=d?Qe=>atob(x(Qe)):r?Qe=>Buffer.from(Qe,"base64").toString("binary"):de,W=r?Qe=>l(Buffer.from(Qe,"base64")):Qe=>l(H(Qe).split("").map(Ge=>Ge.charCodeAt(0))),pe=Qe=>W(Ee(Qe)),we=r?Qe=>Buffer.from(Qe,"base64").toString("utf8"):f?Qe=>f.decode(W(Qe)):Qe=>Ae(H(Qe)),Ee=Qe=>x(Qe.replace(/[-_]/g,Ge=>"-"==Ge?"+":"/")),Be=Qe=>we(Ee(Qe)),G=Qe=>{if("string"!=typeof Qe)return!1;const Ge=Qe.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(Ge)||!/[^\s0-9a-zA-Z\-_]/.test(Ge)},re=Qe=>({value:Qe,enumerable:!1,writable:!0,configurable:!0}),ae=function(){const Qe=(Ge,tt)=>Object.defineProperty(String.prototype,Ge,re(tt));Qe("fromBase64",function(){return Be(this)}),Qe("toBase64",function(Ge){return A(this,Ge)}),Qe("toBase64URI",function(){return A(this,!0)}),Qe("toBase64URL",function(){return A(this,!0)}),Qe("toUint8Array",function(){return pe(this)})},ve=function(){const Qe=(Ge,tt)=>Object.defineProperty(Uint8Array.prototype,Ge,re(tt));Qe("toBase64",function(Ge){return I(this,Ge)}),Qe("toBase64URI",function(){return I(this,!0)}),Qe("toBase64URL",function(){return I(this,!0)})},He=()=>{ae(),ve()},Ze={version:n,VERSION:c,atob:H,atobPolyfill:de,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:ae,extendUint8Array:ve,extendBuiltins:He}},4028:(Ie,B,a)=>{"use strict";function n(){const c=window,d=document;var g="hljs-ln",r="hljs-ln-line",f="hljs-ln-code",h="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 de(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,ae=Be.length;re
{6}',[r,h,u,v,f,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):Ce(G.parentNode))}}function Ce(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),ae=parseInt(G.dataset.lineNumber);if(re!=ae){var ve=Be.textContent,He=G.textContent;if(re>ae){var Ze=re;re=ae,ae=Ze,Ze=ve,ve=He,He=Ze}for(;0!==Ee.indexOf(ve);)ve=ve.slice(1);for(;-1===Ee.lastIndexOf(He);)He=He.slice(0,-1);for(var Qe=ve,Ge=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),f=a(4664),h=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,de){this.doc=Re,this.platformId=Ae,this._options=de,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,f.w)(H=>this._options&&this._options.lineNumbersLoader?(Re.defaultView.hljs=H,this.loadLineNumbers().pipe((0,h.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,f.w)(Re=>this._loadLanguages(Re)))}return(0,b._)(()=>"Highlight.js library was not imported!")}_loadLanguages(Re){const Ae=Object.entries(this._options.languages).map(([de,H])=>$(H()).pipe((0,h.b)(W=>Re.registerLanguage(de,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)(Ce=>!!Ce?.default),(0,_.U)(Ce=>Ce.default));let ee=(()=>{class U{get hljs(){return this._hljs}constructor(Re,Ae){this._loader=Re,this._hljs=null,Re.ready.subscribe(de=>{this._hljs=de,Ae&&Ae.config&&(de.configure(Ae.config),de.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(Re,{language:Ae,ignoreIllegals:de}){return this._loader.ready.pipe((0,_.U)(H=>H.highlight(Re,{language:Ae,ignoreIllegals:de})))}highlightAuto(Re,Ae){return this._loader.ready.pipe((0,_.U)(de=>de.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,h.b)(de=>de.registerLanguage(Re,Ae)))}unregisterLanguage(Re){return this._loader.ready.pipe((0,h.b)(Ae=>Ae.unregisterLanguage(Re)))}registerAliases(Re,{languageName:Ae}){return this._loader.ready.pipe((0,h.b)(de=>de.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,h.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,de,H,W){this._hljs=Ae,this._sanitizer=de,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(de=>{this.setInnerHTML(de?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(de)})}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,f,h,u,v){try{var b=d[u](v),p=b.value}catch(_){return void r(_)}b.done?g(p):Promise.resolve(p).then(f,h)}function c(d){return function(){var g=this,r=arguments;return new Promise(function(f,h){var u=d.apply(g,r);function v(p){n(u,f,h,v,b,"next",p)}function b(p){n(u,f,h,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(f){return typeof f}:function(f){return f&&"function"==typeof Symbol&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f})(r)}function g(r,f,h){return(f=function d(r){var f=function c(r,f){if("object"!==n(r)||null===r)return r;var h=r[Symbol.toPrimitive];if(void 0!==h){var u=h.call(r,f||"default");if("object"!==n(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===f?String:Number)(r)}(r,"string");return"symbol"===n(f)?f:String(f)}(f))in r?Object.defineProperty(r,f,{value:h,enumerable:!0,configurable:!0,writable:!0}):r[f]=h,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.54","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/polyfills.85b661583cb8b0e8.js b/src/main/resources/static/polyfills.85b661583cb8b0e8.js deleted file mode 100644 index 3c167bee..00000000 --- a/src/main/resources/static/polyfills.85b661583cb8b0e8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[429],{7435:(Ee,we,Ce)=>{Ce(609)},609:(Ee,we,Ce)=>{var He;void 0!==(He=function(){!function(e){var r=e.performance;function t(h){r&&r.mark&&r.mark(h)}function n(h,a){r&&r.measure&&r.measure(h,a)}t("Zone");var u=e.__Zone_symbol_prefix||"__zone_symbol__";function c(h){return u+h}var l=!0===e[c("forceDuplicateZoneCheck")];if(e.Zone){if(l||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}var v=function(){function h(a,o){this._parent=a,this._name=o?o.name||"unnamed":"",this._properties=o&&o.properties||{},this._zoneDelegate=new d(this,this._parent&&this._parent._zoneDelegate,o)}return h.assertZonePatched=function(){if(e.Promise!==B.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(h,"root",{get:function(){for(var a=h.current;a.parent;)a=a.parent;return a},enumerable:!1,configurable:!0}),Object.defineProperty(h,"current",{get:function(){return A.zone},enumerable:!1,configurable:!0}),Object.defineProperty(h,"currentTask",{get:function(){return ie},enumerable:!1,configurable:!0}),h.__load_patch=function(a,o,i){if(void 0===i&&(i=!1),B.hasOwnProperty(a)){if(!i&&l)throw Error("Already loaded patch: "+a)}else if(!e["__Zone_disable_"+a]){var w="Zone:"+a;t(w),B[a]=o(e,h,P),n(w,w)}},Object.defineProperty(h.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),h.prototype.get=function(a){var o=this.getZoneWith(a);if(o)return o._properties[a]},h.prototype.getZoneWith=function(a){for(var o=this;o;){if(o._properties.hasOwnProperty(a))return o;o=o._parent}return null},h.prototype.fork=function(a){if(!a)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,a)},h.prototype.wrap=function(a,o){if("function"!=typeof a)throw new Error("Expecting function got: "+a);var i=this._zoneDelegate.intercept(this,a,o),w=this;return function(){return w.runGuarded(i,this,arguments,o)}},h.prototype.run=function(a,o,i,w){A={parent:A,zone:this};try{return this._zoneDelegate.invoke(this,a,o,i,w)}finally{A=A.parent}},h.prototype.runGuarded=function(a,o,i,w){void 0===o&&(o=null),A={parent:A,zone:this};try{try{return this._zoneDelegate.invoke(this,a,o,i,w)}catch(z){if(this._zoneDelegate.handleError(this,z))throw z}}finally{A=A.parent}},h.prototype.runTask=function(a,o,i){if(a.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(a.zone||F).name+"; Execution: "+this.name+")");if(a.state!==j||a.type!==R&&a.type!==Y){var w=a.state!=k;w&&a._transitionTo(k,U),a.runCount++;var z=ie;ie=a,A={parent:A,zone:this};try{a.type==Y&&a.data&&!a.data.isPeriodic&&(a.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,a,o,i)}catch(se){if(this._zoneDelegate.handleError(this,se))throw se}}finally{a.state!==j&&a.state!==M&&(a.type==R||a.data&&a.data.isPeriodic?w&&a._transitionTo(U,k):(a.runCount=0,this._updateTaskCount(a,-1),w&&a._transitionTo(j,k,j))),A=A.parent,ie=z}}},h.prototype.scheduleTask=function(a){if(a.zone&&a.zone!==this)for(var o=this;o;){if(o===a.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+a.zone.name);o=o.parent}a._transitionTo(V,j);var i=[];a._zoneDelegates=i,a._zone=this;try{a=this._zoneDelegate.scheduleTask(this,a)}catch(w){throw a._transitionTo(M,V,j),this._zoneDelegate.handleError(this,w),w}return a._zoneDelegates===i&&this._updateTaskCount(a,1),a.state==V&&a._transitionTo(U,V),a},h.prototype.scheduleMicroTask=function(a,o,i,w){return this.scheduleTask(new p(ee,a,o,i,w,void 0))},h.prototype.scheduleMacroTask=function(a,o,i,w,z){return this.scheduleTask(new p(Y,a,o,i,w,z))},h.prototype.scheduleEventTask=function(a,o,i,w,z){return this.scheduleTask(new p(R,a,o,i,w,z))},h.prototype.cancelTask=function(a){if(a.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(a.zone||F).name+"; Execution: "+this.name+")");a._transitionTo($,U,k);try{this._zoneDelegate.cancelTask(this,a)}catch(o){throw a._transitionTo(M,$),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(a,-1),a._transitionTo(j,$),a.runCount=0,a},h.prototype._updateTaskCount=function(a,o){var i=a._zoneDelegates;-1==o&&(a._zoneDelegates=null);for(var w=0;w0,macroTask:i.macroTask>0,eventTask:i.eventTask>0,change:a})},h}(),p=function(){function h(a,o,i,w,z,se){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=a,this.source=o,this.data=w,this.scheduleFn=z,this.cancelFn=se,!i)throw new Error("callback is not defined");this.callback=i;var f=this;this.invoke=a===R&&w&&w.useG?h.invokeTask:function(){return h.invokeTask.call(e,f,this,arguments)}}return h.invokeTask=function(a,o,i){a||(a=this),ne++;try{return a.runCount++,a.zone.runTask(a,o,i)}finally{1==ne&&m(),ne--}},Object.defineProperty(h.prototype,"zone",{get:function(){return this._zone},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),h.prototype.cancelScheduleRequest=function(){this._transitionTo(j,V)},h.prototype._transitionTo=function(a,o,i){if(this._state!==o&&this._state!==i)throw new Error(this.type+" '"+this.source+"': can not transition to '"+a+"', expecting state '"+o+"'"+(i?" or '"+i+"'":"")+", was '"+this._state+"'.");this._state=a,a==j&&(this._zoneDelegates=null)},h.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},h.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},h}(),y=c("setTimeout"),b=c("Promise"),S=c("then"),N=[],I=!1;function g(h){if(0===ne&&0===N.length)if(X||e[b]&&(X=e[b].resolve(0)),X){var a=X[S];a||(a=X.then),a.call(X,m)}else e[y](m,0);h&&N.push(h)}function m(){if(!I){for(I=!0;N.length;){var h=N;N=[];for(var a=0;a=0;t--)"function"==typeof e[t]&&(e[t]=ze(e[t],r+"_"+t));return e}function rr(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var tr="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Ze=!("nw"in J)&&void 0!==J.process&&"[object process]"==={}.toString.call(J.process),qe=!Ze&&!tr&&!(!De||!ye.HTMLElement),nr=void 0!==J.process&&"[object process]"==={}.toString.call(J.process)&&!tr&&!(!De||!ye.HTMLElement),Ne={},or=function(e){if(e=e||J.event){var r=Ne[e.type];r||(r=Ne[e.type]=G("ON_PROPERTY"+e.type));var u,t=this||e.target||J,n=t[r];return qe&&t===ye&&"error"===e.type?!0===(u=n&&n.call(this,e.message,e.filename,e.lineno,e.colno,e.error))&&e.preventDefault():null!=(u=n&&n.apply(this,arguments))&&!u&&e.preventDefault(),u}};function ar(e,r,t){var n=Pe(e,r);if(!n&&t&&Pe(t,r)&&(n={enumerable:!0,configurable:!0}),n&&n.configurable){var c=G("on"+r+"patched");if(!e.hasOwnProperty(c)||!e[c]){delete n.writable,delete n.value;var l=n.get,v=n.set,T=r.substr(2),d=Ne[T];d||(d=Ne[T]=G("ON_PROPERTY"+T)),n.set=function(p){var y=this;!y&&e===J&&(y=J),y&&(y[d]&&y.removeEventListener(T,or),v&&v.apply(y,Or),"function"==typeof p?(y[d]=p,y.addEventListener(T,or,!1)):y[d]=null)},n.get=function(){var p=this;if(!p&&e===J&&(p=J),!p)return null;var y=p[d];if(y)return y;if(l){var b=l&&l.call(this);if(b)return n.set.call(this,b),"function"==typeof p.removeAttribute&&p.removeAttribute(r),b}return null},xe(e,r,n),e[c]=!0}}}function ir(e,r,t){if(r)for(var n=0;n=0&&"function"==typeof v[T.cbIdx]?We(T.name,v[T.cbIdx],T,u):c.apply(l,v)}})}function he(e,r){e[G("OriginalDelegate")]=r}var sr=!1,Ye=!1;function Zr(){if(sr)return Ye;sr=!0;try{var e=ye.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ye=!0)}catch(r){}return Ye}Zone.__load_patch("ZoneAwarePromise",function(e,r,t){var n=Object.getOwnPropertyDescriptor,u=Object.defineProperty;var l=t.symbol,v=[],T=!0===e[l("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],d=l("Promise"),p=l("then");t.onUnhandledError=function(f){if(t.showUncaughtError()){var E=f&&f.rejection;E?console.error("Unhandled Promise rejection:",E instanceof Error?E.message:E,"; Zone:",f.zone.name,"; Task:",f.task&&f.task.source,"; Value:",E,E instanceof Error?E.stack:void 0):console.error(f)}},t.microtaskDrainDone=function(){for(var f=function(){var E=v.shift();try{E.zone.runGuarded(function(){throw E.throwOriginal?E.rejection:E})}catch(s){!function(f){t.onUnhandledError(f);try{var E=r[b];"function"==typeof E&&E.call(this,f)}catch(s){}}(s)}};v.length;)f()};var b=l("unhandledPromiseRejectionHandler");function N(f){return f&&f.then}function I(f){return f}function X(f){return o.reject(f)}var g=l("state"),m=l("value"),F=l("finally"),j=l("parentPromiseValue"),V=l("parentPromiseState"),k=null,$=!0,M=!1;function Y(f,E){return function(s){try{A(f,E,s)}catch(_){A(f,!1,_)}}}var P=l("currentTaskTrace");function A(f,E,s){var _=function(){var f=!1;return function(s){return function(){f||(f=!0,s.apply(null,arguments))}}}();if(f===s)throw new TypeError("Promise resolved with itself");if(f[g]===k){var O=null;try{("object"==typeof s||"function"==typeof s)&&(O=s&&s.then)}catch(Z){return _(function(){A(f,!1,Z)})(),f}if(E!==M&&s instanceof o&&s.hasOwnProperty(g)&&s.hasOwnProperty(m)&&s[g]!==k)ne(s),A(f,s[g],s[m]);else if(E!==M&&"function"==typeof O)try{O.call(s,_(Y(f,E)),_(Y(f,!1)))}catch(Z){_(function(){A(f,!1,Z)})()}else{f[g]=E;var C=f[m];if(f[m]=s,f[F]===F&&E===$&&(f[g]=f[V],f[m]=f[j]),E===M&&s instanceof Error){var L=r.currentTask&&r.currentTask.data&&r.currentTask.data.__creationTrace__;L&&u(s,P,{configurable:!0,enumerable:!1,writable:!0,value:L})}for(var x=0;x1?new c(T,d):new c(T),S=e.ObjectGetOwnPropertyDescriptor(p,"onmessage");return S&&!1===S.configurable?(y=e.ObjectCreate(p),b=p,[n,u,"send","close"].forEach(function(N){y[N]=function(){var I=e.ArraySlice.call(arguments);if(N===n||N===u){var X=I.length>0?I[0]:void 0;if(X){var g=Zone.__symbol__("ON_PROPERTY"+X);p[g]=y[g]}}return p[N].apply(p,I)}})):y=p,e.patchOnProperties(y,["close","error","message","open"],b),y};var l=r.WebSocket;for(var v in c)l[v]=c[v]}(e,r),Zone[e.symbol("patchEvents")]=!0}}Zone.__load_patch("util",function(e,r,t){t.patchOnProperties=ir,t.patchMethod=ve,t.bindArguments=Xe,t.patchMacroTask=Cr;var n=r.__symbol__("BLACK_LISTED_EVENTS"),u=r.__symbol__("UNPATCHED_EVENTS");e[u]&&(e[n]=e[u]),e[n]&&(r[n]=r[u]=e[n]),t.patchEventPrototype=Ir,t.patchEventTarget=Lr,t.isIEOrEdge=Zr,t.ObjectDefineProperty=xe,t.ObjectGetOwnPropertyDescriptor=Pe,t.ObjectCreate=wr,t.ArraySlice=Pr,t.patchClass=Oe,t.wrapWithCurrentZone=ze,t.filterProperties=_r,t.attachOriginToPatched=he,t._redefineProperty=Object.defineProperty,t.patchCallbacks=Mr,t.getGlobalObjects=function(){return{globalSources:ur,zoneSymbolEventNames:ae,eventNames:ge,isBrowser:qe,isMix:nr,isNode:Ze,TRUE_STR:fe,FALSE_STR:le,ZONE_SYMBOL_PREFIX:Se,ADD_EVENT_LISTENER_STR:Be,REMOVE_EVENT_LISTENER_STR:Ge}}}),(e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{})[(n="legacyPatch",(e.__Zone_symbol_prefix||"__zone_symbol__")+n)]=function(){var n=e.Zone;n.__load_patch("defineProperty",function(u,c,l){l._redefineProperty=Yr,Ie=Zone.__symbol__,Me=Object[Ie("defineProperty")]=Object.defineProperty,pr=Object[Ie("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,Er=Object.create,pe=Ie("unconfigurables"),Object.defineProperty=function(e,r,t){if(yr(e,r))throw new TypeError("Cannot assign to read only property '"+r+"' of "+e);var n=t.configurable;return"prototype"!==r&&(t=Qe(e,r,t)),mr(e,r,t,n)},Object.defineProperties=function(e,r){return Object.keys(r).forEach(function(t){Object.defineProperty(e,t,r[t])}),e},Object.create=function(e,r){return"object"==typeof r&&!Object.isFrozen(r)&&Object.keys(r).forEach(function(t){r[t]=Qe(e,t,r[t])}),Er(e,r)},Object.getOwnPropertyDescriptor=function(e,r){var t=pr(e,r);return t&&yr(e,r)&&(t.configurable=!1),t}}),n.__load_patch("registerElement",function(u,c,l){!function(e,r){var t=r.getGlobalObjects();(t.isBrowser||t.isMix)&&"registerElement"in e.document&&r.patchCallbacks(r,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(u,l)}),n.__load_patch("EventTargetLegacy",function(u,c,l){(function(e,r){var t=r.getGlobalObjects(),n=t.eventNames,u=t.globalSources,c=t.zoneSymbolEventNames,l=t.TRUE_STR,v=t.FALSE_STR,T=t.ZONE_SYMBOL_PREFIX,p="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),y="EventTarget",b=[],S=e.wtf,N="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video".split(",");S?b=N.map(function(H){return"HTML"+H+"Element"}).concat(p):e[y]?b.push(y):b=p;for(var I=e.__Zone_disable_IE_check||!1,X=e.__Zone_enable_cross_context_check||!1,g=r.isIEOrEdge(),F="[object FunctionWrapper]",j="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",V={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"},U=0;U0){var h=R.invoke;R.invoke=function(){for(var a=P[r.__symbol__("loadfalse")],o=0;o{Ee(Ee.s=7435)}]); \ No newline at end of file diff --git a/src/main/resources/static/polyfills.faaea47b1b6ef438.js b/src/main/resources/static/polyfills.faaea47b1b6ef438.js new file mode 100644 index 00000000..ec030634 --- /dev/null +++ b/src/main/resources/static/polyfills.faaea47b1b6ef438.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmatchbox_formfiller=self.webpackChunkmatchbox_formfiller||[]).push([[429],{5321:(pe,Pe,Ce)=>{Ce(3095)},3095:function(pe,Pe,Ce){var de,He,De=this&&this.__assign||function(){return De=Object.assign||function(ue){for(var Ee,ye=1,Fe=arguments.length;ye",this._properties=n&&n.properties||{},this._zoneDelegate=new S(this,this._parent&&this._parent._zoneDelegate,n)}return f.assertZonePatched=function(){if(e.Promise!==ie.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(f,"root",{get:function(){for(var t=f.current;t.parent;)t=t.parent;return t},enumerable:!1,configurable:!0}),Object.defineProperty(f,"current",{get:function(){return X.zone},enumerable:!1,configurable:!0}),Object.defineProperty(f,"currentTask",{get:function(){return ce},enumerable:!1,configurable:!0}),f.__load_patch=function(t,n,o){if(void 0===o&&(o=!1),ie.hasOwnProperty(t)){if(!o&&w)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){var m="Zone:"+t;s(m),ie[t]=n(e,f,se),l(m,m)}},Object.defineProperty(f.prototype,"parent",{get:function(){return this._parent},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"name",{get:function(){return this._name},enumerable:!1,configurable:!0}),f.prototype.get=function(t){var n=this.getZoneWith(t);if(n)return n._properties[t]},f.prototype.getZoneWith=function(t){for(var n=this;n;){if(n._properties.hasOwnProperty(t))return n;n=n._parent}return null},f.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},f.prototype.wrap=function(t,n){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var o=this._zoneDelegate.intercept(this,t,n),m=this;return function(){return m.runGuarded(o,this,arguments,n)}},f.prototype.run=function(t,n,o,m){X={parent:X,zone:this};try{return this._zoneDelegate.invoke(this,t,n,o,m)}finally{X=X.parent}},f.prototype.runGuarded=function(t,n,o,m){void 0===n&&(n=null),X={parent:X,zone:this};try{try{return this._zoneDelegate.invoke(this,t,n,o,m)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{X=X.parent}},f.prototype.runTask=function(t,n,o){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state!==F||t.type!==z&&t.type!==O){var m=t.state!=x;m&&t._transitionTo(x,p),t.runCount++;var u=ce;ce=t,X={parent:X,zone:this};try{t.type==O&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,n,o)}catch(h){if(this._zoneDelegate.handleError(this,h))throw h}}finally{t.state!==F&&t.state!==R&&(t.type==z||t.data&&t.data.isPeriodic?m&&t._transitionTo(p,x):(t.runCount=0,this._updateTaskCount(t,-1),m&&t._transitionTo(F,x,F))),X=X.parent,ce=u}}},f.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var n=this;n;){if(n===t.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(t.zone.name));n=n.parent}t._transitionTo(H,F);var o=[];t._zoneDelegates=o,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(m){throw t._transitionTo(R,H,F),this._zoneDelegate.handleError(this,m),m}return t._zoneDelegates===o&&this._updateTaskCount(t,1),t.state==H&&t._transitionTo(p,H),t},f.prototype.scheduleMicroTask=function(t,n,o,m){return this.scheduleTask(new P(A,t,n,o,m,void 0))},f.prototype.scheduleMacroTask=function(t,n,o,m,u){return this.scheduleTask(new P(O,t,n,o,m,u))},f.prototype.scheduleEventTask=function(t,n,o,m,u){return this.scheduleTask(new P(z,t,n,o,m,u))},f.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===p||t.state===x){t._transitionTo(D,p,x);try{this._zoneDelegate.cancelTask(this,t)}catch(n){throw t._transitionTo(R,D),this._zoneDelegate.handleError(this,n),n}return this._updateTaskCount(t,-1),t._transitionTo(F,D),t.runCount=0,t}},f.prototype._updateTaskCount=function(t,n){var o=t._zoneDelegates;-1==n&&(t._zoneDelegates=null);for(var m=0;m0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:t})},f}(),P=function(){function f(t,n,o,m,u,h){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=m,this.scheduleFn=u,this.cancelFn=h,!o)throw new Error("callback is not defined");this.callback=o;var v=this;this.invoke=t===z&&m&&m.useG?f.invokeTask:function(){return f.invokeTask.call(e,v,this,arguments)}}return f.invokeTask=function(t,n,o){t||(t=this),ne++;try{return t.runCount++,t.zone.runTask(t,n,o)}finally{1==ne&&ee(),ne--}},Object.defineProperty(f.prototype,"zone",{get:function(){return this._zone},enumerable:!1,configurable:!0}),Object.defineProperty(f.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),f.prototype.cancelScheduleRequest=function(){this._transitionTo(F,H)},f.prototype._transitionTo=function(t,n,o){if(this._state!==n&&this._state!==o)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(t,"', expecting state '").concat(n,"'").concat(o?" or '"+o+"'":"",", was '").concat(this._state,"'."));this._state=t,t==F&&(this._zoneDelegates=null)},f.prototype.toString=function(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)},f.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},f}(),M=d("setTimeout"),B=d("Promise"),G=d("then"),te=[],Y=!1;function L(f){if(V||e[B]&&(V=e[B].resolve(0)),V){var t=V[G];t||(t=V.then),t.call(V,f)}else e[M](f,0)}function T(f){0===ne&&0===te.length&&L(ee),f&&te.push(f)}function ee(){if(!Y){for(Y=!0;te.length;){var f=te;te=[];for(var t=0;t=0;a--)"function"==typeof e[a]&&(e[a]=Ue(e[a],r+"_"+a));return e}function Je(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}var Qe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Ne=!("nw"in Q)&&typeof Q.process<"u"&&"[object process]"==={}.toString.call(Q.process),Xe=!Ne&&!Qe&&!(!Ie||!ge.HTMLElement),$e=typeof Q.process<"u"&&"[object process]"==={}.toString.call(Q.process)&&!Qe&&!(!Ie||!ge.HTMLElement),Me={},er=function(e){if(e=e||Q.event){var r=Me[e.type];r||(r=Me[e.type]=j("ON_PROPERTY"+e.type));var s,a=this||e.target||Q,i=a[r];return Xe&&a===ge&&"error"===e.type?!0===(s=i&&i.call(this,e.message,e.filename,e.lineno,e.colno,e.error))&&e.preventDefault():null!=(s=i&&i.apply(this,arguments))&&!s&&e.preventDefault(),s}};function rr(e,r,a){var i=ue(e,r);if(!i&&a&&ue(a,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var l=j("on"+r+"patched");if(!e.hasOwnProperty(l)||!e[l]){delete i.writable,delete i.value;var _=i.get,d=i.set,w=r.slice(2),g=Me[w];g||(g=Me[w]=j("ON_PROPERTY"+w)),i.set=function(y){var S=this;!S&&e===Q&&(S=Q),S&&("function"==typeof S[g]&&S.removeEventListener(w,er),d&&d.call(S,null),S[g]=y,"function"==typeof y&&S.addEventListener(w,er,!1))},i.get=function(){var y=this;if(!y&&e===Q&&(y=Q),!y)return null;var S=y[g];if(S)return S;if(_){var P=_.call(this);if(P)return i.set.call(this,P),"function"==typeof y[dr]&&y.removeAttribute(r),P}return null},Ee(e,r,i),e[l]=!0}}}function tr(e,r,a){if(r)for(var i=0;i=0&&"function"==typeof d[w.cbIdx]?We(w.name,d[w.cbIdx],w,s):l.apply(_,d)}})}function ve(e,r){e[j("OriginalDelegate")]=r}var nr=!1,Ye=!1;function pr(){if(nr)return Ye;nr=!0;try{var e=ge.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Ye=!0)}catch{}return Ye}Zone.__load_patch("ZoneAwarePromise",function(e,r,a){var i=Object.getOwnPropertyDescriptor,s=Object.defineProperty;var _=a.symbol,d=[],w=!0===e[_("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],g=_("Promise"),y=_("then"),S="__creationTrace__";a.onUnhandledError=function(u){if(a.showUncaughtError()){var h=u&&u.rejection;h?console.error("Unhandled Promise rejection:",h instanceof Error?h.message:h,"; Zone:",u.zone.name,"; Task:",u.task&&u.task.source,"; Value:",h,h instanceof Error?h.stack:void 0):console.error(u)}},a.microtaskDrainDone=function(){for(var u=function(){var h=d.shift();try{h.zone.runGuarded(function(){throw h.throwOriginal?h.rejection:h})}catch(v){!function M(u){a.onUnhandledError(u);try{var h=r[P];"function"==typeof h&&h.call(this,u)}catch{}}(v)}};d.length;)u()};var P=_("unhandledPromiseRejectionHandler");function B(u){return u&&u.then}function G(u){return u}function te(u){return f.reject(u)}var Y=_("state"),V=_("value"),L=_("finally"),T=_("parentPromiseValue"),ee=_("parentPromiseState"),K="Promise.then",F=null,H=!0,p=!1,x=0;function D(u,h){return function(v){try{z(u,h,v)}catch(c){z(u,!1,c)}}}var R=function(){var u=!1;return function(v){return function(){u||(u=!0,v.apply(null,arguments))}}},A="Promise resolved with itself",O=_("currentTaskTrace");function z(u,h,v){var c=R();if(u===v)throw new TypeError(A);if(u[Y]===F){var E=null;try{("object"==typeof v||"function"==typeof v)&&(E=v&&v.then)}catch(I){return c(function(){z(u,!1,I)})(),u}if(h!==p&&v instanceof f&&v.hasOwnProperty(Y)&&v.hasOwnProperty(V)&&v[Y]!==F)se(v),z(u,v[Y],v[V]);else if(h!==p&&"function"==typeof E)try{E.call(v,c(D(u,h)),c(D(u,!1)))}catch(I){c(function(){z(u,!1,I)})()}else{u[Y]=h;var b=u[V];if(u[V]=v,u[L]===L&&h===H&&(u[Y]=u[ee],u[V]=u[T]),h===p&&v instanceof Error){var k=r.currentTask&&r.currentTask.data&&r.currentTask.data[S];k&&s(v,O,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(var Z=0;Z2}).map(function(r){return r.substring(2)})}function wr(e,r){if((!Ne||$e)&&!Zone[e.symbol("patchEvents")]){var a=r.__Zone_ignore_on_properties,i=[];if(Xe){var s=window;i=i.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);var l=function yr(){try{var e=ge.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:s,ignoreProperties:["error"]}]:[];fr(s,qe(s),a&&a.concat(l),ye(s))}i=i.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(var _=0;_0){var ce=R.invoke;R.invoke=function(){for(var ne=O[r.__symbol__("loadfalse")],U=0;U{pe(pe.s=5321)}]); \ No newline at end of file diff --git a/src/main/resources/static/runtime.19a1fe9fd2786b5a.js b/src/main/resources/static/runtime.19a1fe9fd2786b5a.js deleted file mode 100644 index 483db3b6..00000000 --- a/src/main/resources/static/runtime.19a1fe9fd2786b5a.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,s={},v={};function a(e){var o=v[e];if(void 0!==o)return o.exports;var r=v[e]={exports:{}};return s[e].call(r.exports,r,r.exports,a),r.exports}a.m=s,e=[],a.O=(o,r,t,n)=>{if(!r){var u=1/0;for(l=0;l=n)&&Object.keys(a.O).every(p=>a.O[p](r[f]))?r.splice(f--,1):(i=!1,n0&&e[l-1][2]>n;l--)e[l]=e[l-1];e[l]=[r,t,n]},a.d=(e,o)=>{for(var r in o)a.o(o,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:o[r]})},a.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={666:0};a.O.j=t=>0===e[t];var o=(t,n)=>{var f,c,[l,u,i]=n,b=0;if(l.some(_=>0!==e[_])){for(f in u)a.o(u,f)&&(a.m[f]=u[f]);if(i)var d=i(a)}for(t&&t(n);b{"use strict";var e,s={},v={};function a(e){var o=v[e];if(void 0!==o)return o.exports;var r=v[e]={exports:{}};return s[e].call(r.exports,r,r.exports,a),r.exports}a.m=s,e=[],a.O=(o,r,t,n)=>{if(!r){var c=1/0;for(l=0;l=n)&&Object.keys(a.O).every(p=>a.O[p](r[f]))?r.splice(f--,1):(i=!1,n0&&e[l-1][2]>n;l--)e[l]=e[l-1];e[l]=[r,t,n]},a.d=(e,o)=>{for(var r in o)a.o(o,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:o[r]})},a.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),a.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={666:0};a.O.j=t=>0===e[t];var o=(t,n)=>{var f,u,[l,c,i]=n,b=0;if(l.some(_=>0!==e[_])){for(f in c)a.o(c,f)&&(a.m[f]=c[f]);if(i)var d=i(a)}for(t&&t(n);b.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#0c263461}.mat-form-field-disabled .mat-date-range-input-separator{color:#0c263461}.mat-calendar-body-in-preview{color:#0000003d}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0c263461}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0c26342e}.mat-calendar-body-in-range:before{background:rgba(106,132,77,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(106,132,77,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(106,132,77,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#6a844d;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#6a844d66}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#6a844d4d}@media (hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#6a844d4d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#0c2634de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(30,145,255,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(30,145,255,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(30,145,255,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#1e91ff;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#1e91ff66}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#1e91ff4d}@media (hover: hover){.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#1e91ff4d}}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active{color:#6a844d}.mat-datepicker-toggle-active.mat-accent{color:#1e91ff}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:#0c263461}.mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:white;color:#0c2634de}.mat-divider{border-top-color:#0000001f}.mat-divider-vertical{border-right-color:#0000001f}.mat-expansion-panel{background:white;color:#0c2634de}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-action-row{border-top-color:#0000001f}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:white}}.mat-expansion-panel-header-title{color:#0c2634de}.mat-expansion-panel-header-description,.mat-expansion-indicator:after{color:#0c26348a}.mat-expansion-panel-header[aria-disabled=true]{color:#0c263461}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:#0c263499}.mat-form-field.mat-focused .mat-form-field-label{color:#6a844d}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#1e91ff}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#1e91ff}.mat-form-field-ripple{background-color:#000000de}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#6a844d}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#1e91ff}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#6a844d}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#1e91ff}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:#0c26348a}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0c26340a}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#0c263405}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#0c263461}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#6a844d}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#1e91ff}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#0c263461}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.mat-icon.mat-primary{color:#6a844d}.mat-icon.mat-accent{color:#1e91ff}.mat-icon.mat-warn{color:#f44336}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0c26348a}.mat-input-element:disabled,.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#0c263461}.mat-input-element{caret-color:#6a844d}.mat-input-element::placeholder{color:#0c26346b}.mat-input-element::-moz-placeholder{color:#0c26346b}.mat-input-element::-webkit-input-placeholder{color:#0c26346b}.mat-input-element:-ms-input-placeholder{color:#0c26346b}.mat-form-field.mat-accent .mat-input-element{caret-color:#1e91ff}.mat-form-field.mat-warn .mat-input-element,.mat-form-field-invalid .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:#0c2634de}.mat-list-base .mat-subheader{color:#0c26348a}.mat-list-item-disabled{background-color:#eee}.mat-list-option:hover,.mat-list-option:focus,.mat-nav-list .mat-list-item:hover,.mat-nav-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:hover,.mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.mat-menu-panel{background:white}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-menu-item{background:transparent;color:#0c2634de}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-menu-submenu-icon,.mat-menu-item[disabled] .mat-icon-no-color{color:#0c263461}.mat-menu-item .mat-icon-no-color,.mat-menu-submenu-icon{color:#0c26348a}.mat-menu-item:hover:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:white}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:#0c26348a}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(12,38,52,.54);border-right:2px solid rgba(12,38,52,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(12,38,52,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-last{border-color:#0c263461}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#d6ddcf}.mat-progress-bar-buffer{background-color:#d6ddcf}.mat-progress-bar-fill:after{background-color:#6a844d}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#c3e0fb}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#c3e0fb}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#1e91ff}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#6a844d}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#1e91ff}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-radio-outer-circle{border-color:#0c26348a}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#6a844d}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#6a844d}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#1e91ff}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#1e91ff}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#0c263461}.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#0c263461}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#0c263461}.mat-radio-button .mat-ripple-element{background-color:#0c2634}.mat-select-value{color:#0c2634de}.mat-select-placeholder{color:#0c26346b}.mat-select-disabled .mat-select-value{color:#0c263461}.mat-select-arrow{color:#0c26348a}.mat-select-panel{background:white}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#6a844d}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#1e91ff}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#0c263461}.mat-drawer-container{background-color:#fafafa;color:#0c2634de}.mat-drawer{background-color:#fff;color:#0c2634de}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#1e91ff}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#1e91ff8a}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#1e91ff}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#6a844d}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#6a844d8a}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#6a844d}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#0c2634}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.mat-slide-toggle-bar{background-color:#0c263461}.mat-slider-track-background{background-color:#0c263442}.mat-primary .mat-slider-track-fill,.mat-primary .mat-slider-thumb,.mat-primary .mat-slider-thumb-label{background-color:#6a844d}.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-primary .mat-slider-focus-ring{background-color:#6a844d33}.mat-accent .mat-slider-track-fill,.mat-accent .mat-slider-thumb,.mat-accent .mat-slider-thumb-label{background-color:#1e91ff}.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-accent .mat-slider-focus-ring{background-color:#1e91ff33}.mat-warn .mat-slider-track-fill,.mat-warn .mat-slider-thumb,.mat-warn .mat-slider-thumb-label{background-color:#f44336}.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.mat-slider:hover .mat-slider-track-background,.mat-slider.cdk-focused .mat-slider-track-background{background-color:#0c263461}.mat-slider-disabled .mat-slider-track-background,.mat-slider-disabled .mat-slider-track-fill,.mat-slider-disabled .mat-slider-thumb,.mat-slider-disabled:hover .mat-slider-track-background{background-color:#0c263442}.mat-slider-min-value .mat-slider-focus-ring{background-color:#0c26341f}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#0c263442}.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#0c263442;background-color:transparent}.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#0c263461}.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#0c263442}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#0c2634b3}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(12,38,52,.7),rgba(12,38,52,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(12,38,52,.7),rgba(12,38,52,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(12,38,52,.7),rgba(12,38,52,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:#0c26348a}.mat-step-header .mat-step-icon{background-color:#0c26348a;color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#6a844d;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#1e91ff;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:#0c2634de}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:#0000001f}.mat-horizontal-stepper-header:before,.mat-horizontal-stepper-header:after,.mat-stepper-horizontal-line{border-top-color:#0000001f}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#7c8a91}.mat-tab-nav-bar,.mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-nav-bar,.mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:#0c2634de}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:#0c263461}.mat-tab-header-pagination-chevron{border-color:#0c2634de}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#0c263461}.mat-tab-group[class*=mat-background-]>.mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#e8ebee4d}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#6a844d}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5ced54d}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#1e91ff}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#e8ebee4d}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#6a844d}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5ced54d}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#1e91ff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-toolbar{background:whitesmoke;color:#0c2634de}.mat-toolbar.mat-primary{background:#6a844d;color:#fff}.mat-toolbar.mat-accent{background:#1e91ff;color:#fff}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.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-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:white}.mat-tree-node,.mat-nested-tree-node{color:#0c2634de}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-simple-snackbar-action{color:#1e91ff}body{background:#eff0e7}body,body html{margin:0;width:100%;height:100%;font-family:Roboto,Arial,sans-serif}.mat-card.primary{padding:1.5rem}.mat-card.primary .primary-card-header{margin:-1.5rem;margin-bottom:0;padding-top:1.5rem;padding-left:1.5rem;padding-right:1.5rem}.mat-card.primary .primary-card-header h1{margin-bottom:0}.mat-card.primary .primary-card-header .mat-card-header-text{display:none}@media screen and (min-width: 1020px){.mat-card.primary .primary-card-header{background-color:#6a844d;color:#fff;border-radius:4px 4px 0 0;padding-bottom:1.5rem}}.mat-card.primary .mat-card-content{padding-top:1.5rem}.mat-toolbar.mat-primary{background:#d7e355;color:#fff}mat-toolbar .logo-container img{height:100%!important} diff --git a/src/main/resources/static/styles.9022959394317ac6.css b/src/main/resources/static/styles.9022959394317ac6.css new file mode 100644 index 00000000..a7b3e530 --- /dev/null +++ b/src/main/resources/static/styles.9022959394317ac6.css @@ -0,0 +1,10 @@ +pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*! + Theme: GitHub + Description: Light theme as seen on github.com + Author: github.com + Maintainer: @Hirse + Updated: 2021-05-15 + + Outdated base version: https://github.com/primer/github-syntax-light + Current colors taken from GitHub's CSS +*/.hljs{color:#24292e;background:#fff}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id,.hljs-variable{color:#005cc5}.hljs-meta .hljs-string,.hljs-regexp,.hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-code,.hljs-comment,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-pseudo,.hljs-selector-tag{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}.mat-h1,.mat-headline,.mat-typography .mat-h1,.mat-typography .mat-headline,.mat-typography h1{font-size:24px;font-weight:400;line-height:32px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography .mat-h2,.mat-typography .mat-title,.mat-typography h2{font-size:20px;font-weight:500;line-height:32px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography .mat-h3,.mat-typography .mat-subheading-2,.mat-typography h3{font-size:16px;font-weight:400;line-height:28px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography .mat-h4,.mat-typography .mat-subheading-1,.mat-typography h4{font-size:15px;font-weight:400;line-height:24px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-body-2,.mat-typography .mat-body-strong,.mat-typography .mat-body-2{font-size:14px;font-weight:500;line-height:24px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography .mat-body,.mat-typography .mat-body-1,.mat-typography{font-size:14px;font-weight:400;line-height:20px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body p,.mat-body-1 p,.mat-typography .mat-body p,.mat-typography .mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font-size:12px;font-weight:400;line-height:20px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font-size:112px;font-weight:300;line-height:112px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font-size:56px;font-weight:400;line-height:56px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font-size:45px;font-weight:400;line-height:48px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font-size:34px;font-weight:400;line-height:40px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}html{--mat-bottom-sheet-container-text-font: Roboto, "Helvetica Neue", sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: normal;--mat-bottom-sheet-container-text-weight: 400}html{--mat-legacy-button-toggle-text-font: Roboto, "Helvetica Neue", sans-serif;--mat-standard-button-toggle-text-font: Roboto, "Helvetica Neue", sans-serif}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}html{--mat-expansion-header-text-font: Roboto, "Helvetica Neue", sans-serif;--mat-expansion-header-text-size: 15px;--mat-expansion-header-text-weight: 400;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, "Helvetica Neue", sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: normal;--mat-expansion-container-text-weight: 400}html{--mat-stepper-container-text-font: Roboto, "Helvetica Neue", sans-serif;--mat-stepper-header-label-text-font: Roboto, "Helvetica Neue", sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 14px;--mat-stepper-header-selected-state-label-text-size: 14px;--mat-stepper-header-selected-state-label-text-weight: 500}html{--mat-toolbar-title-text-font: Roboto, "Helvetica Neue", sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: normal;--mat-toolbar-title-text-weight: 500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font-size:14px;font-weight:500;line-height:24px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-raised-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button,.mat-fab,.mat-mini-fab{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-datepicker-content .mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, "Helvetica Neue", sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 14px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);width:133.3333533333%}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-dialog-title{font-size:20px;font-weight:500;line-height:32px;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-chip{font-size:14px;font-weight:500}.mat-slide-toggle-content,.mat-tab-group{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-radio-button{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:transparent}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#6a844d}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#1e91ff}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#f44336}.mat-button.mat-primary.mat-button-disabled,.mat-button.mat-accent.mat-button-disabled,.mat-button.mat-warn.mat-button-disabled,.mat-button.mat-button-disabled.mat-button-disabled,.mat-icon-button.mat-primary.mat-button-disabled,.mat-icon-button.mat-accent.mat-button-disabled,.mat-icon-button.mat-warn.mat-button-disabled,.mat-icon-button.mat-button-disabled.mat-button-disabled,.mat-stroked-button.mat-primary.mat-button-disabled,.mat-stroked-button.mat-accent.mat-button-disabled,.mat-stroked-button.mat-warn.mat-button-disabled,.mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#6a844d}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#1e91ff}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.mat-button.mat-button-disabled .mat-button-focus-overlay,.mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:black}.mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.mat-flat-button,.mat-raised-button,.mat-fab,.mat-mini-fab{color:#000000de;background-color:#fff}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary,.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent,.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{color:#fff}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary{background-color:#6a844d}.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent{background-color:#1e91ff}.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{background-color:#f44336}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.mat-flat-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-stroked-button:not([class*=mat-elevation-z]),.mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-datepicker-content .mat-mdc-button.mat-unthemed{--mdc-text-button-label-text-color: #000}.mat-datepicker-content .mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #6a844d}.mat-datepicker-content .mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #1e91ff}.mat-datepicker-content .mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336}.mat-datepicker-content .mat-mdc-button[disabled][disabled]{--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-text-button-label-text-color: rgba(0, 0, 0, .38)}.mat-datepicker-content .mat-mdc-unelevated-button.mat-unthemed{--mdc-filled-button-container-color: #fff;--mdc-filled-button-label-text-color: #000}.mat-datepicker-content .mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #6a844d;--mdc-filled-button-label-text-color: #fff}.mat-datepicker-content .mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #1e91ff;--mdc-filled-button-label-text-color: #fff}.mat-datepicker-content .mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff}.mat-datepicker-content .mat-mdc-unelevated-button[disabled][disabled]{--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-button-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-label-text-color: rgba(0, 0, 0, .38)}.mat-datepicker-content .mat-mdc-raised-button.mat-unthemed{--mdc-protected-button-container-color: #fff;--mdc-protected-button-label-text-color: #000}.mat-datepicker-content .mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #6a844d;--mdc-protected-button-label-text-color: #fff}.mat-datepicker-content .mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #1e91ff;--mdc-protected-button-label-text-color: #fff}.mat-datepicker-content .mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff}.mat-datepicker-content .mat-mdc-raised-button[disabled][disabled]{--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-label-text-color: rgba(0, 0, 0, .38);--mdc-protected-button-container-elevation: 0}.mat-datepicker-content .mat-mdc-outlined-button{--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12)}.mat-datepicker-content .mat-mdc-outlined-button.mat-unthemed{--mdc-outlined-button-label-text-color: #000}.mat-datepicker-content .mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #6a844d}.mat-datepicker-content .mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #1e91ff}.mat-datepicker-content .mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336}.mat-datepicker-content .mat-mdc-outlined-button[disabled][disabled]{--mdc-outlined-button-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12)}.mat-datepicker-content .mat-mdc-button,.mat-datepicker-content .mat-mdc-outlined-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-datepicker-content .mat-mdc-button:hover .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-datepicker-content .mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-datepicker-content .mat-mdc-button:active .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-datepicker-content .mat-mdc-button.mat-primary,.mat-datepicker-content .mat-mdc-outlined-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #6a844d;--mat-mdc-button-ripple-color: rgba(106, 132, 77, .1)}.mat-datepicker-content .mat-mdc-button.mat-accent,.mat-datepicker-content .mat-mdc-outlined-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #1e91ff;--mat-mdc-button-ripple-color: rgba(30, 145, 255, .1)}.mat-datepicker-content .mat-mdc-button.mat-warn,.mat-datepicker-content .mat-mdc-outlined-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-datepicker-content .mat-mdc-raised-button,.mat-datepicker-content .mat-mdc-unelevated-button{--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-datepicker-content .mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-datepicker-content .mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-datepicker-content .mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-datepicker-content .mat-mdc-raised-button.mat-primary,.mat-datepicker-content .mat-mdc-unelevated-button.mat-primary,.mat-datepicker-content .mat-mdc-raised-button.mat-accent,.mat-datepicker-content .mat-mdc-unelevated-button.mat-accent,.mat-datepicker-content .mat-mdc-raised-button.mat-warn,.mat-datepicker-content .mat-mdc-unelevated-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #fff;--mat-mdc-button-ripple-color: rgba(255, 255, 255, .1)}.mat-datepicker-content .mat-mdc-icon-button{--mdc-icon-button-icon-color: inherit;--mat-mdc-button-persistent-ripple-color: #000;--mat-mdc-button-ripple-color: rgba(0, 0, 0, .1)}.mat-datepicker-content .mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple:before{opacity:.04}.mat-datepicker-content .mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple:before,.mat-datepicker-content .mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-datepicker-content .mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple:before{opacity:.12}.mat-datepicker-content .mat-mdc-icon-button.mat-primary{--mat-mdc-button-persistent-ripple-color: #6200ee;--mat-mdc-button-ripple-color: rgba(98, 0, 238, .1)}.mat-datepicker-content .mat-mdc-icon-button.mat-accent{--mat-mdc-button-persistent-ripple-color: #018786;--mat-mdc-button-ripple-color: rgba(1, 135, 134, .1)}.mat-datepicker-content .mat-mdc-icon-button.mat-warn{--mat-mdc-button-persistent-ripple-color: #b00020;--mat-mdc-button-ripple-color: rgba(176, 0, 32, .1)}.mat-datepicker-content .mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #6a844d;--mat-mdc-button-persistent-ripple-color: #6a844d;--mat-mdc-button-ripple-color: rgba(106, 132, 77, .1)}.mat-datepicker-content .mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #1e91ff;--mat-mdc-button-persistent-ripple-color: #1e91ff;--mat-mdc-button-ripple-color: rgba(30, 145, 255, .1)}.mat-datepicker-content .mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-mdc-button-persistent-ripple-color: #f44336;--mat-mdc-button-ripple-color: rgba(244, 67, 54, .1)}.mat-datepicker-content .mat-mdc-icon-button[disabled][disabled]{--mdc-icon-button-icon-color: rgba(0, 0, 0, .38);--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38)}.mat-datepicker-content .mat-mdc-button.mat-mdc-button-base,.mat-datepicker-content .mat-mdc-raised-button.mat-mdc-button-base,.mat-datepicker-content .mat-mdc-unelevated-button.mat-mdc-button-base,.mat-datepicker-content .mat-mdc-outlined-button.mat-mdc-button-base{height:36px}.mat-datepicker-content .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}.mat-button,.mat-raised-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button,.mat-fab,.mat-mini-fab{font-family:Roboto,sans-serif;font-size:14px;font-weight:500}.mat-datepicker-content .mdc-button{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);-webkit-text-decoration:var(--mdc-typography-button-text-decoration, none);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}.mat-option{color:#000000de}.mat-option:hover:not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.mat-option.mat-option-disabled{color:#00000061}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#6a844d}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#1e91ff}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.mat-option{font-family:Roboto,sans-serif;font-size:16px}.mat-optgroup-label{color:#0000008a}.mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.mat-optgroup-label{font-size:16px;font-weight:400;line-height:24px;font-family:Roboto,sans-serif;letter-spacing:.03125em}.mat-ripple-element{background-color:#0000001a}.mat-pseudo-checkbox-full{color:#0000008a}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#6a844d}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#6a844d}.mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-primary .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#1e91ff}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#1e91ff}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#1e91ff}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#1e91ff}.mat-accent .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-accent .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#f44336}.mat-warn .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full:after,.mat-warn .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full:after{color:#fafafa}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal:after,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal:after{color:#b0b0b0}.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-full,.mat-pseudo-checkbox-disabled.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-full{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.mat-card{background:white;color:#000000de}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-card-subtitle{color:#0000008a}.mat-card{font-family:Roboto,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-subtitle,.mat-card-content{font-size:14px}.mat-progress-bar-background{fill:#d6ddcf}.mat-progress-bar-buffer{background-color:#d6ddcf}.mat-progress-bar-fill:after{background-color:#6a844d}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#c3e0fb}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#c3e0fb}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#1e91ff}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#6a844d}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#1e91ff}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tooltip{font-family:Roboto,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.mat-input-element:disabled,.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.mat-input-element{caret-color:#6a844d}.mat-input-element::placeholder{color:#0000006b}.mat-input-element::-moz-placeholder{color:#0000006b}.mat-input-element::-webkit-input-placeholder{color:#0000006b}.mat-input-element:-ms-input-placeholder{color:#0000006b}.mat-form-field.mat-accent .mat-input-element{caret-color:#1e91ff}.mat-form-field.mat-warn .mat-input-element,.mat-form-field-invalid .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-form-field-disabled .mat-form-field-prefix,.mat-form-field-disabled .mat-form-field-suffix{color:#00000061}input.mat-input-element{margin-top:-.0625em}.mat-form-field-label,.mat-hint{color:#0009}.mat-form-field.mat-focused .mat-form-field-label{color:#6a844d}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#1e91ff}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#1e91ff}.mat-form-field-ripple{background-color:#000000de}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#6a844d}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#1e91ff}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#6a844d}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#1e91ff}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#6a844d}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#1e91ff}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34373em) scale(.75);width:133.3333533333%}.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34372em) scale(.75);width:133.3333633333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00106px);width:133.3333933333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00107px);width:133.3334033333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00108px);width:133.3334133333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28116em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28115em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28114em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59372em) scale(.75);width:133.3333633333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59373em) scale(.75);width:133.3333533333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59372em) scale(.75);width:133.3333633333%}.mat-select-value{color:#000000de}.mat-select-placeholder{color:#0000006b}.mat-select-disabled .mat-select-value{color:#00000061}.mat-select-arrow{color:#0000008a}.mat-select-panel{background:white}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#6a844d}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#1e91ff}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.mat-select{font-family:Roboto,sans-serif}.mat-select-trigger{height:1.125em}.mat-checkbox-frame{border-color:#0000008a}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#6a844d}.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#1e91ff}.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:#00000061}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#6a844d}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#1e91ff}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.mat-checkbox{font-family:Roboto,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-autocomplete-panel{background:white;color:#000000de}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:white}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:white;color:#000000de}.mat-dialog-title{font-size:20px;font-weight:500;line-height:32px;font-family:Roboto,sans-serif;letter-spacing:.0125em}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:#000000de}.mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip:after{background:black}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#6a844d;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#1e91ff;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.mat-chip{font-size:16px;font-weight:400}.mat-chip .mat-chip-trailing-icon.mat-icon,.mat-chip .mat-chip-remove.mat-icon{font-size:18px}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#1e91ff}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#1e91ff8a}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#1e91ff}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#6a844d}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#6a844d8a}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#6a844d}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.mat-slide-toggle-bar{background-color:#00000061}.mat-slide-toggle-content{font-family:Roboto,sans-serif}.mat-radio-outer-circle{border-color:#0000008a}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#6a844d}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#6a844d}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#1e91ff}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#1e91ff}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-radio-button{font-family:Roboto,sans-serif}.mat-slider-track-background{background-color:#00000042}.mat-slider.mat-primary .mat-slider-track-fill,.mat-slider.mat-primary .mat-slider-thumb,.mat-slider.mat-primary .mat-slider-thumb-label{background-color:#6a844d}.mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-primary .mat-slider-focus-ring{background-color:#6a844d33}.mat-slider.mat-accent .mat-slider-track-fill,.mat-slider.mat-accent .mat-slider-thumb,.mat-slider.mat-accent .mat-slider-thumb-label{background-color:#1e91ff}.mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-accent .mat-slider-focus-ring{background-color:#1e91ff33}.mat-slider.mat-warn .mat-slider-track-fill,.mat-slider.mat-warn .mat-slider-thumb,.mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.mat-slider:hover .mat-slider-track-background,.mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.mat-slider.mat-slider-disabled .mat-slider-track-background,.mat-slider.mat-slider-disabled .mat-slider-track-fill,.mat-slider.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-thumb-label-text{font-family:Roboto,sans-serif;font-size:12px;font-weight:400}.mat-menu-panel{background:white}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-menu-item{background:transparent;color:#000000de}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-menu-submenu-icon,.mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.mat-menu-item .mat-icon-no-color,.mat-menu-submenu-icon{color:#0000008a}.mat-menu-item:hover:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.mat-menu-item{font-family:Roboto,sans-serif;font-size:14px;font-weight:400}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:#000000de}.mat-list-base .mat-subheader{color:#0000008a}.mat-list-base .mat-list-item-disabled{background-color:#eee;color:#00000061}.mat-list-option:hover,.mat-list-option:focus,.mat-nav-list .mat-list-item:hover,.mat-nav-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:hover,.mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.mat-list-item,.mat-list-option{font-family:Roboto,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,sans-serif;font-size:16px;font-weight:400}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,sans-serif;font-size:12px;font-weight:400}.mat-paginator{background:white}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:#0000008a}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.mat-paginator-container{min-height:56px}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,sans-serif;font-size:12px}.mat-tab-nav-bar,.mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-nav-bar,.mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:#000000de}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:#00000061}.mat-tab-header-pagination-chevron{border-color:#000000de}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.mat-tab-group[class*=mat-background-]>.mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused,.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused,.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused,.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused,.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused,.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused,.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused,.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused{background-color:#e8ebee4d}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused.mat-tab-disabled{background-color:#0000001a}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#6a844d}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused,.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused,.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused,.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused,.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused,.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused,.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused,.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused{background-color:#c5ced54d}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused.mat-tab-disabled{background-color:#0000001a}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#1e91ff}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused,.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused,.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused,.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused,.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused,.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused,.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused,.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused{background-color:#ffcdd24d}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused.mat-tab-disabled{background-color:#0000001a}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused,.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused,.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused,.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused{background-color:#e8ebee4d}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused.mat-tab-disabled{background-color:#0000001a}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#6a844d}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused,.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused,.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused,.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused{background-color:#c5ced54d}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused.mat-tab-disabled{background-color:#0000001a}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#1e91ff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused,.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused,.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused,.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused{background-color:#ffcdd24d}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused.mat-tab-disabled{background-color:#0000001a}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group{font-family:Roboto,sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,sans-serif;font-size:14px;font-weight:500}.mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-simple-snackbar-action{color:#1e91ff}.mat-simple-snackbar{font-family:Roboto,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-table{background:white}.mat-table thead,.mat-table tbody,.mat-table tfoot,mat-header-row,mat-row,mat-footer-row,[mat-header-row],[mat-row],[mat-footer-row],.mat-table-sticky{background:inherit}mat-row,mat-header-row,mat-footer-row,th.mat-header-cell,td.mat-cell,td.mat-footer-cell{border-bottom-color:#0000001f}.mat-header-cell{color:#0000008a}.mat-cell,.mat-footer-cell{color:#000000de}.mat-table{font-family:Roboto,sans-serif}.mat-header-cell{font-size:12px;font-weight:400}.mat-cell,.mat-footer-cell{font-size:14px}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-badge-content{color:#fff;background:#6a844d}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#1e91ff;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}html{--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white}html{--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400}html{--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0}html{--mat-standard-button-toggle-height: 48px}html{--mat-legacy-button-toggle-text-font: Roboto, sans-serif;--mat-standard-button-toggle-text-font: Roboto, sans-serif}.mat-calendar-arrow{fill:#0000008a}.mat-datepicker-toggle,.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-table-header,.mat-calendar-body-label{color:#0000008a}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:#000000de;border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.mat-calendar-body-in-preview{color:#0000003d}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.mat-calendar-body-in-range:before{background:rgba(106,132,77,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(106,132,77,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(106,132,77,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#6a844d;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#6a844d66}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#6a844d4d}@media (hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#6a844d4d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(30,145,255,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(30,145,255,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(30,145,255,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#1e91ff;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#1e91ff66}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#1e91ff4d}@media (hover: hover){.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#1e91ff4d}}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active{color:#6a844d}.mat-datepicker-toggle-active.mat-accent{color:#1e91ff}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:#00000061}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}.mat-calendar{font-family:Roboto,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}html{--mat-divider-color: rgba(0, 0, 0, .12)}html{--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54)}html{--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px}html{--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400}.mat-grid-tile-header,.mat-grid-tile-footer{font-size:14px}.mat-grid-tile-header .mat-line,.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2),.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}.mat-icon.mat-primary{color:#6a844d}.mat-icon.mat-accent{color:#1e91ff}.mat-icon.mat-warn{color:#f44336}html{--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6)}html{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #6a844d;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #6a844d;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #6a844d;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #1e91ff;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #1e91ff;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #1e91ff;--mat-stepper-header-edit-state-icon-foreground-color: white}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px}html{--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400}.mat-sort-header-arrow{color:#757575}html{--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #6a844d;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #1e91ff;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px}html{--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500}.mat-tree{background:white}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-tree{font-family:Roboto,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}body{background:#eff0e7}body,body html{margin:0;width:100%;height:100%;font-family:Roboto,Arial,sans-serif}.mat-card.primary{padding:1.5rem}.mat-card.primary .primary-card-header{margin:-1.5rem;margin-bottom:0;padding-top:1.5rem;padding-left:1.5rem;padding-right:1.5rem}.mat-card.primary .primary-card-header h1{margin-bottom:0}.mat-card.primary .primary-card-header .mat-card-header-text{display:none}@media screen and (min-width: 1020px){.mat-card.primary .primary-card-header{background-color:#6a844d;color:#fff;border-radius:4px 4px 0 0;padding-bottom:1.5rem}}.mat-card.primary .mat-card-content{padding-top:1.5rem}.mat-toolbar.mat-primary{background:#d7e355;color:#fff}mat-toolbar .logo-container img{height:100%!important} From 6a79fef829cc348e7b66aebea1a7fcd0f486d3b5 Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Wed, 26 Jul 2023 08:41:31 +0200 Subject: [PATCH 11/29] Doc: describe RESTful transactions --- docs/integration-primary-system.md | 166 +++++++++++++++++++++++++++++ docs/stylesheets/extra.css | 14 ++- mkdocs.yml | 9 ++ 3 files changed, 185 insertions(+), 4 deletions(-) create mode 100644 docs/integration-primary-system.md diff --git a/docs/integration-primary-system.md b/docs/integration-primary-system.md new file mode 100644 index 00000000..a004f337 --- /dev/null +++ b/docs/integration-primary-system.md @@ -0,0 +1,166 @@ +# EPR Primary System Integration + +The REST variants of XDS transactions presented here are based on [CH EPR mHealth](http://fhir.ch/ig/ch-epr-mhealth/index.html), +itself based on various IHE profiles. + +## Authentication + +You should integrate one of the supported IDPs in your application. +The SAML flow is the only one currently supported. + +In the REST transaction, the SAML assertion you got shall be [base64-url](https://datatracker.ietf.org/doc/html/rfc4648#section-5) +encoded, prefixed with `Bearer ` and inserted in an `Authorization` HTTP header. + +## Audit messages + +### Creating audit messages + +For all transactions, it is required to send the same audit messages. You can use the regular ITI-20 transaction, +or use the [restful one](https://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_RESTful-ATNA.pdf). + +See the [mapping from DICOM to FHIR](http://hl7.org/fhir/R4/auditevent-mappings.html#dicom). + +
+Examples + +```http +POST /ARR/fhir/AuditEvent HTTP/1.1 +Content-Type: application/fhir+xml + + + + ... + + + + + +``` + +
+ +### Reading audit messages + +You can read the audit messages for a given patient with an ITI-81 transaction. + +!!! warning +This transaction is still implemented on a previous CH:ATC specification (March 2020), based on the [IHE Restfull +ATNA supplement rev. 2.2](https://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_RESTful-ATNA_Rev2.2_TI_2017-07-21.pdf). +A lot have changed since. + +The transaction is a HTTP GET request on the endpoint, with the parameter `entity-id` that contain the patient EPR-SPID, +and `date` to constraint the audit message date. The `Authorization` header uses the prefix `IHE-SAML` and the SAML +assertion is encoded with the [regular base64 alphabet](https://datatracker.ietf.org/doc/html/rfc4648#section-4). + +
+Examples + +```http +GET /ARR/fhir/AuditEvent?entity-id=urn%3Aoid%3A2.16.756.5.30.1.127.3.10.3%7C{epr-spid}&date=ge2023-07-10&date=le2023-07-17 HTTP/1.1 +Authorization: IHE-SAML Zm9vYmE= +``` + +
+ +## Patient directory + +The patient directory (called MPI) contains identifiers and demographics for all registered patients. +Identifiers include the MPI-PID and EPR-SPID, and identifiers used by primary systems that choose to share them. +Demographics include the given and family names, date of birth, gender, nationality and telecoms. +It can be queried and updated. + +### Retrieve patient identifiers + +Patient identifiers (commonly the MPI-PID and EPR-SPID) can be queried with an +[ITI-83 (_Mobile Patient Identifier Cross-reference Query_) transaction](http://fhir.ch/ig/ch-epr-mhealth/iti-83.html). + +The transaction is an HTTP GET request to the endpoint `/Patient/$ihe-pix`, with the following parameters: + +1. sourceIdentifier (_token_, mandatory): the known patient identifier +2. targetSystem (_uri_, optional): to restrict the results to the MPI-PID and/or EPR-SPID. + +
+Examples + +```http title="To retrieve all known identifiers from a local identifier ('1234' in the system 2.999.42)" +GET /Patient/$ihe-pix?sourceIdentifier=urn%3Aoid%3A2.999.42%7C1234 HTTP/1.1 +``` + +```http title="To retrieve the EPR-SPID from the MPI-PID" +GET /Patient/$ihe-pix?sourceIdentifier=urn%3Aoid%3A2.16.756.5.30.1.191.1.0.12.3.101%7C{mpi-pid}&targetSystem=urn%3Aoid%3A2.16.756.5.30.1.127.3.10.3 HTTP/1.1 +``` + +
+ +### Retrieve patient demographics + +Patient demographics can be queried with an +[ITI-78 (_Mobile Patient Demographics Query_) transaction](http://fhir.ch/ig/ch-epr-mhealth/iti-78.html). + +The transaction can be done in two ways, either by specifying the MPI-PID to retrieve a single patient, or by +specifying other information. + +=== "With the MPI-PID" +If the MPI-PID is known, the transaction is an HTTP GET request to the endpoint `/Patient/{id}`, where {id} is the MPI +OID and PID, separated by a dash. + + ```http title="Example" + GET /Patient/2.16.756.5.30.1.191.1.0.2.1-e7963774-9098-445f-9cab-5d52234b52c3 HTTP/1.1 + ``` + +=== "With other information" +Otherwise, parameters can be used to search patients with other information: + + - `family` and `given` (_string_) + - `identifier` (_token_) + - `telecom` (_token_) + - `birthdate` (_date_) + - `address` (_string_): to search in any part of the address. + - `address-city`, + `address-country`, + `address-postalcode`, + `address-state` (_string_) + - `gender` (_token_) + + ```http title="Example" + GET /Patient?family=MOHR&given=ALICE&gender=female HTTP/1.1 + ``` + +### Feed patient information + +Feeding patient information can be done with the [ITI-104 (_Patient Identity Feed FHIR_) transaction](http://fhir.ch/ig/ch-epr-mhealth/iti-104.html). + +## Document directory + +## Professional and organization directory + +The HPD (Healthcare Provider Directory) contains information about the healthcare professionals and organizations that +are part of the EPR. Relationships between them (i.e. membership of professionals to organizations, or relationships +between organizations) are also available. + +### Searching + +Professionals, organizations and relationships can be queried with an +[ITI-90 (_Find Matching Care Services_) transaction](http://fhir.ch/ig/ch-epr-mhealth/iti-90.html). See the +specifications for the complete list of search parameters. + +=== "Professionals" + + ```http title="Search for 'Müller'" + GET /Practitioner?family=Müller HTTP/1.1 + ``` + + ```http title="Search by GLN" + GET /Practitioner?identifier=urn:oid:2.51.1.3|7601000102737 HTTP/1.1 + ``` + +=== "Organizations" + +=== "Relationships" + +=== "Multi-resources" + +### Updating + +The HPD update is not supported in a REST transaction. Please use the +[ITI-59 (_Provider Information Feed_) transaction](https://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_HPD.pdf). diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index c2ca3363..0fd4ef29 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -1,5 +1,11 @@ [data-md-color-scheme="mag"] { - --md-primary-fg-color: #7e995f; - --md-primary-fg-color--light: #7e995f; - --md-primary-fg-color--dark: #7e995f; - } + --md-primary-fg-color: #7e995f; + --md-primary-fg-color--light: #7e995f; + --md-primary-fg-color--dark: #7e995f; +} +.tabbed-content { + border: 1px solid var(--md-default-fg-color--lightest); + border-top: 0; + padding: 0 1rem; + box-shadow: var(--md-shadow-z1); +} diff --git a/mkdocs.yml b/mkdocs.yml index 65e9aa13..985a2c8a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -12,3 +12,12 @@ nav: - Home: index.md - Features: features.md - Changelog: changelog.md + - EPR Integration: integration-primary-system.md +markdown_extensions: + - admonition + - attr_list + - md_in_html + - pymdownx.highlight + - pymdownx.superfences + - pymdownx.tabbed: + alternate_style: true From 2025173ca744fddd9d423963f2096fcce2625c4d Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Wed, 26 Jul 2023 21:17:15 +0200 Subject: [PATCH 12/29] Doc: describe RESTful transactions and endpoints --- docs/endpoints.md | 14 ++ docs/index.md | 10 +- docs/integration-primary-system.md | 280 +++++++++++++++++++++-------- docs/stylesheets/extra.css | 3 + mkdocs.yml | 3 +- 5 files changed, 232 insertions(+), 78 deletions(-) create mode 100644 docs/endpoints.md diff --git a/docs/endpoints.md b/docs/endpoints.md new file mode 100644 index 00000000..75003de9 --- /dev/null +++ b/docs/endpoints.md @@ -0,0 +1,14 @@ +Here are the endpoints exposed by the MobileAccessGateway. + +| Transaction | URL | +| ----------- | ----------------------------------------------------- | +| ITI-65 | _instance_/fhir/ | +| ITI-66 | _instance_/fhir/List | +| ITI-67 | _instance_/fhir/DocumentReference | +| ITI-68 | _instance_/fhir/camel/xdsretrieve | +| ITI-71 | | +| ITI-78 | _instance_/fhir/Patient | +| ITI-83 | _instance_/fhir/Patient/$ihe-pix | +| ITI-93 | | +| ITI-104 | _instance_/fhir/Patient | +| PHARM-5 | _instance_/fhir/DocumentReference/$_{operation-name}_ | diff --git a/docs/index.md b/docs/index.md index 8a56f082..6cfa458b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,8 +1,12 @@ # MobileAccessGateway -The MobileAccessGateway is an implementation based on the [CH EPR mHealth](https://fhir.ch/ig/ch-epr-mhealth/index.html) [(CI-Build)](http://build.fhir.org/ig/ehealthsuisse/ch-epr-mhealth/index.html) implementation guide. -It provides a FHIR Gateway supporting the PMIR and MHD server actors and uses XDS/PIXV3 to communicate with an XDS Affinity Domain. +The MobileAccessGateway is an implementation based on the [CH EPR mHealth](https://fhir.ch/ig/ch-epr-mhealth/index.html) +implementation guide. +It provides a FHIR Gateway supporting the PMIR and MHD server actors and uses XDS/PIXV3 to communicate with an XDS +Affinity Domain. It uses [IPF](https://oehf.github.io/ipf/) and [HAPI-FHIR](https://hapifhir.io/). -You can read more [about the features](features.md) or [about the changes](changelog.md). +You can read more [about the features](features.md), [the endpoints](endpoints.md) or [the changes](changelog.md). +A more complete description of the [transactions needed for the EPR integration of primary systems](integration-primary-system.md) +is also available. diff --git a/docs/integration-primary-system.md b/docs/integration-primary-system.md index a004f337..43c73239 100644 --- a/docs/integration-primary-system.md +++ b/docs/integration-primary-system.md @@ -1,8 +1,15 @@ # EPR Primary System Integration -The REST variants of XDS transactions presented here are based on [CH EPR mHealth](http://fhir.ch/ig/ch-epr-mhealth/index.html), +The REST variants of XDS transactions presented here are based on [CH EPR mHealth](https://fhir.ch/ig/ch-epr-mhealth/index.html), itself based on various IHE profiles. + +Don't forget to properly encode the HTTP parameters in the queries (especially colons and pipes). +In the following examples, they are shown decoded for a better readability. + + +For HTTP GET requests, there is usually an equivalent HTTP POST request that should be supported. + ## Authentication You should integrate one of the supported IDPs in your application. @@ -11,57 +18,11 @@ The SAML flow is the only one currently supported. In the REST transaction, the SAML assertion you got shall be [base64-url](https://datatracker.ietf.org/doc/html/rfc4648#section-5) encoded, prefixed with `Bearer ` and inserted in an `Authorization` HTTP header. -## Audit messages - -### Creating audit messages - -For all transactions, it is required to send the same audit messages. You can use the regular ITI-20 transaction, -or use the [restful one](https://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_RESTful-ATNA.pdf). - -See the [mapping from DICOM to FHIR](http://hl7.org/fhir/R4/auditevent-mappings.html#dicom). - -
-Examples - -```http -POST /ARR/fhir/AuditEvent HTTP/1.1 -Content-Type: application/fhir+xml - - - - ... - - - - - -``` - -
- -### Reading audit messages - -You can read the audit messages for a given patient with an ITI-81 transaction. - -!!! warning -This transaction is still implemented on a previous CH:ATC specification (March 2020), based on the [IHE Restfull -ATNA supplement rev. 2.2](https://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_RESTful-ATNA_Rev2.2_TI_2017-07-21.pdf). -A lot have changed since. - -The transaction is a HTTP GET request on the endpoint, with the parameter `entity-id` that contain the patient EPR-SPID, -and `date` to constraint the audit message date. The `Authorization` header uses the prefix `IHE-SAML` and the SAML -assertion is encoded with the [regular base64 alphabet](https://datatracker.ietf.org/doc/html/rfc4648#section-4). - -
-Examples - -```http -GET /ARR/fhir/AuditEvent?entity-id=urn%3Aoid%3A2.16.756.5.30.1.127.3.10.3%7C{epr-spid}&date=ge2023-07-10&date=le2023-07-17 HTTP/1.1 -Authorization: IHE-SAML Zm9vYmE= +```http title="Example of request with authentication" +GET / HTTP/1.1 +Authorization: Bearer U0FNTGFzc2VydGlvbg ``` -
- ## Patient directory The patient directory (called MPI) contains identifiers and demographics for all registered patients. @@ -72,22 +33,21 @@ It can be queried and updated. ### Retrieve patient identifiers Patient identifiers (commonly the MPI-PID and EPR-SPID) can be queried with an -[ITI-83 (_Mobile Patient Identifier Cross-reference Query_) transaction](http://fhir.ch/ig/ch-epr-mhealth/iti-83.html). +[ITI-83 (_Mobile Patient Identifier Cross-reference Query_) transaction](https://fhir.ch/ig/ch-epr-mhealth/iti-83.html). The transaction is an HTTP GET request to the endpoint `/Patient/$ihe-pix`, with the following parameters: -1. sourceIdentifier (_token_, mandatory): the known patient identifier -2. targetSystem (_uri_, optional): to restrict the results to the MPI-PID and/or EPR-SPID. +1. sourceIdentifier (_[token][]_, mandatory): the known patient identifier +2. targetSystem (_[uri][]_, optional): to restrict the results to the MPI-PID and/or EPR-SPID. -
-Examples +
Examples ```http title="To retrieve all known identifiers from a local identifier ('1234' in the system 2.999.42)" -GET /Patient/$ihe-pix?sourceIdentifier=urn%3Aoid%3A2.999.42%7C1234 HTTP/1.1 +GET /Patient/$ihe-pix?sourceIdentifier=urn:oid:2.999.42|1234 HTTP/1.1 ``` ```http title="To retrieve the EPR-SPID from the MPI-PID" -GET /Patient/$ihe-pix?sourceIdentifier=urn%3Aoid%3A2.16.756.5.30.1.191.1.0.12.3.101%7C{mpi-pid}&targetSystem=urn%3Aoid%3A2.16.756.5.30.1.127.3.10.3 HTTP/1.1 +GET /Patient/$ihe-pix?sourceIdentifier=urn:oid:2.16.756.5.30.1.191.1.0.12.3.101|{mpi-pid}&targetSystem=urn:oid:2.16.756.5.30.1.127.3.10.3 HTTP/1.1 ```
@@ -95,32 +55,38 @@ GET /Patient/$ihe-pix?sourceIdentifier=urn%3Aoid%3A2.16.756.5.30.1.191.1.0.12.3. ### Retrieve patient demographics Patient demographics can be queried with an -[ITI-78 (_Mobile Patient Demographics Query_) transaction](http://fhir.ch/ig/ch-epr-mhealth/iti-78.html). +[ITI-78 (_Mobile Patient Demographics Query_) transaction](https://fhir.ch/ig/ch-epr-mhealth/iti-78.html). The transaction can be done in two ways, either by specifying the MPI-PID to retrieve a single patient, or by specifying other information. === "With the MPI-PID" -If the MPI-PID is known, the transaction is an HTTP GET request to the endpoint `/Patient/{id}`, where {id} is the MPI -OID and PID, separated by a dash. - ```http title="Example" + If the MPI-PID is known, the transaction is an HTTP GET request to the endpoint `/Patient/{id}`, where {id} is + the system OID and the identifier value, separated by a dash. + + ```http title="Retrieve by MPI-PID" GET /Patient/2.16.756.5.30.1.191.1.0.2.1-e7963774-9098-445f-9cab-5d52234b52c3 HTTP/1.1 ``` + ```http title="Retrieve by EPR-SPID" + GET /Patient/2.16.756.5.30.1.127.3.10.3-761337615866818761 HTTP/1.1 + ``` + === "With other information" -Otherwise, parameters can be used to search patients with other information: - - `family` and `given` (_string_) - - `identifier` (_token_) - - `telecom` (_token_) - - `birthdate` (_date_) - - `address` (_string_): to search in any part of the address. + Otherwise, parameters can be used to search patients with other information: + + - `family` and `given` (_[string][]_) + - `identifier` (_[token][]_) + - `telecom` (_[token][]_) + - `birthdate` (_[date][]_) + - `address` (_[string][]_): to search in any part of the address. - `address-city`, `address-country`, `address-postalcode`, - `address-state` (_string_) - - `gender` (_token_) + `address-state` (_[string][]_) + - `gender` (_[token][]_) ```http title="Example" GET /Patient?family=MOHR&given=ALICE&gender=female HTTP/1.1 @@ -128,24 +94,111 @@ Otherwise, parameters can be used to search patients with other information: ### Feed patient information -Feeding patient information can be done with the [ITI-104 (_Patient Identity Feed FHIR_) transaction](http://fhir.ch/ig/ch-epr-mhealth/iti-104.html). +Feeding patient information can be done with the [ITI-104 (_Patient Identity Feed FHIR_) transaction](https://fhir.ch/ig/ch-epr-mhealth/iti-104.html). +The following profile shall be used: `http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition-ch-pixm-patient.html`. + +The MPI-PID is required in `identifier`. +You don't have to re-specify the other identifiers, they won't be deleted if they're missing from the request. +If you want to add an identifier, you can put it in `identifier`. + +
Examples + +```http +PUT /Patient?identifier=urn:oid:2.16.756.5.30.1.196.3.2.1|MAGMED001 HTTP/1.1 +Content-Type: application/fhir+json + +{ + "active": true, + "birthDate": "1987-10-08", + "gender": "male", + "id": "2.16.756.5.30.1.127.3.10.3-761337611735842172", + "identifier": [ + { + "system": "urn:oid:2.16.756.5.30.1.196.3.2.1", + "value": "MAGMED001" + }, + { + "system": "urn:oid:2.999.42", + "value": "new-identifier-value" + } + ], + "name": [ + { + "family": "NEFF-WINGEIER", + "given": [ + "Trong Sang" + ] + } + ], + "resourceType": "Patient" +} +``` + +
## Document directory +The document directory stores documents (in the document repository) and their metadata (in the document registry). + +### Searching + +You can search the document registry with the [ITI-67 (_Find Document References_) transaction](https://fhir.ch/ig/ch-epr-mhealth/iti-67.html). + +The transaction is an HTTP GET request to the endpoint `/DocumentReference`, the search parameters are described in +the [MHD ITI-67 specifications](https://profiles.ihe.net/ITI/MHD/ITI-67.html). + +
Examples + +```http title="Search all documents from a patient" +GET /DocumentReference?patient.identifier=urn:oid:2.999|11111111&status=current HTTP/1.1 +``` + +```http title="Search by class and type codes" +GET /DocumentReference?patient.identifier=urn:oid:2.999|11111111&category=http://snomed.info/sct|371531000&type=http://snomed.info/sct|419891008 HTTP/1.1 +``` + +```http title="Search by creation date" +GET /DocumentReference?patient.identifier=urn:oid:2.999|11111111&creation=ge2023-07-10&creation=le2023-07-17 HTTP/1.1 +``` + +
+ +You can also search for _SubmissionSets_ with the [ITI-66 (_Find Document Lists_) transaction](https://fhir.ch/ig/ch-epr-mhealth/iti-66.html). + +### Reading + +Retrieving a document is done with the [ITI-68 (_Retrieve Document_) transaction](https://fhir.ch/ig/ch-epr-mhealth/iti-68.html). +It is a simple HTTP GET request to a URL that you will find in the linked _DocumentReference_ (that you can obtain +with search results): `DocumentReference.content.attachment.url`. + +### Publishing + +You can publish a document with the [ITI-65 (_Provide Document Bundle_) transaction](https://fhir.ch/ig/ch-epr-mhealth/iti-65.html). + +The transaction is an HTTP POST request to the endpoint `/`. The following profile shall be used: +`https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.ProvideBundle`. + +
Examples + +
+ ## Professional and organization directory The HPD (Healthcare Provider Directory) contains information about the healthcare professionals and organizations that -are part of the EPR. Relationships between them (i.e. membership of professionals to organizations, or relationships -between organizations) are also available. +are part of the EPR. +Relationships between them (i.e. membership of professionals to organizations, or relationships between +organizations) are also available. ### Searching Professionals, organizations and relationships can be queried with an -[ITI-90 (_Find Matching Care Services_) transaction](http://fhir.ch/ig/ch-epr-mhealth/iti-90.html). See the +[ITI-90 (_Find Matching Care Services_) transaction](https://fhir.ch/ig/ch-epr-mhealth/iti-90.html). See the specifications for the complete list of search parameters. === "Professionals" + For professionals, the endpoint is `/Practitioner`. + ```http title="Search for 'Müller'" GET /Practitioner?family=Müller HTTP/1.1 ``` @@ -154,13 +207,92 @@ specifications for the complete list of search parameters. GET /Practitioner?identifier=urn:oid:2.51.1.3|7601000102737 HTTP/1.1 ``` + ```http title="Retrieve from identifier" + GET /Practitioner/DrPeterPan HTTP/1.1 + ``` + === "Organizations" + For organizations, the endpoint is `/Organization`. + + ```http title="Search for active Organization whose name contains 'Medical'" + GET /Organization?active=true&name:contains=Medical HTTP/1.1 + ``` + + ```http title="Retrieve from identifier" + GET /Organization/SpitalXDept3 HTTP/1.1 + ``` + === "Relationships" -=== "Multi-resources" + For relationships (memberships), the endpoint is `/PractitionerRole`. + + ```http title="Search for all professionals working at the 'HUG' organization" + GET /PractitionerRole?organization=Organization/HUG&_include=PractitionerRole:practitioner HTTP/1.1 + ``` + + ```http title="Retrieve from identifier" + GET /PractitionerRole/PeterPanPraxisP HTTP/1.1 + ``` ### Updating The HPD update is not supported in a REST transaction. Please use the [ITI-59 (_Provider Information Feed_) transaction](https://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_HPD.pdf). + +## Audit messages + +### Creating + +For all transactions, it is required to send the same audit messages. You can use the regular ITI-20 transaction, +or use the [restful one](https://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_RESTful-ATNA.pdf). + +See the [mapping from DICOM to FHIR](https://hl7.org/fhir/R4/auditevent-mappings.html#dicom). + +
Examples + +```http +POST /ARR/fhir/AuditEvent HTTP/1.1 +Content-Type: application/fhir+xml + + + + ... + + + + + +``` + +
+ +### Reading + +You can read the audit messages for a given patient with an ITI-81 transaction. + +!!! warning + + The endpoint for this transaction is the EPR community itself, not the MobileAccessGateway. + This transaction is still implemented on a previous CH:ATC specification (March 2020), based on the [IHE Restfull + ATNA supplement rev. 2.2](https://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_RESTful-ATNA_Rev2.2_TI_2017-07-21.pdf). + A lot have changed since. + +The transaction is an HTTP GET request on the endpoint, with the parameter `entity-id` that contain the patient EPR-SPID, +and `date` to constraint the audit message date. +The `Authorization` header uses the prefix `IHE-SAML` and the SAML assertion is encoded with the [regular base64 +alphabet](https://datatracker.ietf.org/doc/html/rfc4648#section-4). + +
Examples + +```http +GET /ARR/fhir/AuditEvent?entity-id=urn:oid:2.16.756.5.30.1.127.3.10.3|{epr-spid}&date=ge2023-07-10&date=le2023-07-17 HTTP/1.1 +Authorization: IHE-SAML Zm9vYmE= +``` + +
+ +[string]: http://hl7.org/fhir/R4/search.html#string "String search type" +[token]: http://hl7.org/fhir/R4/search.html#string "Token search type" +[date]: http://hl7.org/fhir/R4/search.html#date "Date search type" +[uri]: http://hl7.org/fhir/R4/search.html#uri "URI search type" diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 0fd4ef29..645c0424 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -9,3 +9,6 @@ padding: 0 1rem; box-shadow: var(--md-shadow-z1); } +.md-typeset svg { + vertical-align: sub; +} diff --git a/mkdocs.yml b/mkdocs.yml index 985a2c8a..bf4c58cf 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -11,8 +11,9 @@ extra_css: nav: - Home: index.md - Features: features.md - - Changelog: changelog.md + - Endpoints: endpoints.md - EPR Integration: integration-primary-system.md + - Changelog: changelog.md markdown_extensions: - admonition - attr_list From 7988dc140c8eb7e45b66895800b4e99a8cd2bb72 Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Thu, 27 Jul 2023 22:06:59 +0200 Subject: [PATCH 13/29] Doc: describe RESTful transactions and endpoints --- docs/endpoints.md | 25 +-- docs/features.md | 1 + docs/integration-primary-system.md | 104 ++++++----- docs/snippets/http_getxua.txt | 7 + docs/snippets/http_iti104.txt | 28 +++ docs/snippets/http_iti20.txt | 11 ++ docs/snippets/http_iti65.txt | 289 +++++++++++++++++++++++++++++ mkdocs.yml | 4 + 8 files changed, 413 insertions(+), 56 deletions(-) create mode 100644 docs/snippets/http_getxua.txt create mode 100644 docs/snippets/http_iti104.txt create mode 100644 docs/snippets/http_iti20.txt create mode 100644 docs/snippets/http_iti65.txt diff --git a/docs/endpoints.md b/docs/endpoints.md index 75003de9..f5fe3c54 100644 --- a/docs/endpoints.md +++ b/docs/endpoints.md @@ -1,14 +1,15 @@ Here are the endpoints exposed by the MobileAccessGateway. -| Transaction | URL | -| ----------- | ----------------------------------------------------- | -| ITI-65 | _instance_/fhir/ | -| ITI-66 | _instance_/fhir/List | -| ITI-67 | _instance_/fhir/DocumentReference | -| ITI-68 | _instance_/fhir/camel/xdsretrieve | -| ITI-71 | | -| ITI-78 | _instance_/fhir/Patient | -| ITI-83 | _instance_/fhir/Patient/$ihe-pix | -| ITI-93 | | -| ITI-104 | _instance_/fhir/Patient | -| PHARM-5 | _instance_/fhir/DocumentReference/$_{operation-name}_ | +| Transaction | URL | +| -------------------- | ----------------------------------------------------- | +| ITI-65 | _instance_/fhir/ | +| ITI-66 | _instance_/fhir/List | +| ITI-67 | _instance_/fhir/DocumentReference | +| ITI-68 | _instance_/camel/xdsretrieve | +| ITI-71 | _instance_/camel/authorize | +| ITI-78 | _instance_/fhir/Patient | +| ITI-83 | _instance_/fhir/Patient/$ihe-pix | +| ITI-93 | | +| ITI-104 | _instance_/fhir/Patient | +| PHARM-5 | _instance_/fhir/DocumentReference/$_{operation-name}_ | +| Get X-User Assertion | _instance_/camel/assertion | diff --git a/docs/features.md b/docs/features.md index 375ee0a3..c930c39b 100644 --- a/docs/features.md +++ b/docs/features.md @@ -10,3 +10,4 @@ The MobileAccessGateway provides translation from REST to SOAP variants of IHE t - ITI-93 to ITI-44 - ITI-104 to ITI-44 or ITI-47 - ITI-71 to ITI-40 +- RESTful Get X-User Assertion to Get X-User Assertion diff --git a/docs/integration-primary-system.md b/docs/integration-primary-system.md index 43c73239..df9bd28d 100644 --- a/docs/integration-primary-system.md +++ b/docs/integration-primary-system.md @@ -6,6 +6,7 @@ itself based on various IHE profiles. Don't forget to properly encode the HTTP parameters in the queries (especially colons and pipes). In the following examples, they are shown decoded for a better readability. +`Authorization` and `Accept` headers are not shown in the examples. For HTTP GET requests, there is usually an equivalent HTTP POST request that should be supported. @@ -15,11 +16,47 @@ For HTTP GET requests, there is usually an equivalent HTTP POST request that sho You should integrate one of the supported IDPs in your application. The SAML flow is the only one currently supported. -In the REST transaction, the SAML assertion you got shall be [base64-url](https://datatracker.ietf.org/doc/html/rfc4648#section-5) -encoded, prefixed with `Bearer ` and inserted in an `Authorization` HTTP header. +Once you get the IDP SAML assertion, you can trade it for the community SAML assertion, which binds your IDP +identification to a specific patient and a purpose of use. +It is an HTTP POST request to `/assertion`, with the header `Scope` and the IDP SAML assertion as body. +The header `Scope` contains the following values: + +- `purpose_of_use` (_[token][]_, required): a value from [EprPurposeOfUse](https://fhir.ch/ig/ch-epr-term/ValueSet-EprPurposeOfUse.html). +- `subject_role` (_[token][]_, required): either `HCP`, `ASS`, `PAT` or `REP` in the system `urn:oid:2.16.756.5.30.1.127.3.10.6`. +- `person_id` (_[string][]_, required): the patient EPR-SPID in the CX format. +- `principal` (_[string][]_, only if role is ASS): the name of the healthcare professional an assistant is acting on + behalf of. +- `principal_id` (_[token][]_, only if role is ASS): the GLN of the healthcare professional an assistant is acting on + behalf of. +- `group` (_[string][]_, only if role is ASS): the name of the organization or group an assistant is acting on + behalf of. +- `group_id` (_[token][]_, only if role is ASS): the OID of the organization or group an assistant is acting on + behalf of. + +```http title="Request" +--8<-- "http_getxua.txt" +``` + +The response then looks like: + +```http title="Response" +HTTP/1.1 200 OK +Content-Type: application/json -```http title="Example of request with authentication" -GET / HTTP/1.1 +{ + "access_token": "U0FNTGFzc2VydGlvbg", + "token_type": "IHE-SAML", + "expires_in": 60000, + "scope": "resourceId/761337610445502987 purposeOfUse/NORM role/HCP" +} +``` + +The [base64-url](https://datatracker.ietf.org/doc/html/rfc4648#section-5) encoded SAML assertion is given in +`access_token`, and that value has to be prefixed with `Bearer ` and inserted in an `Authorization` HTTP header for +all transactions that requires it. + +```http title="Example of request with the XUA" +GET /... HTTP/1.1 Authorization: Bearer U0FNTGFzc2VydGlvbg ``` @@ -103,35 +140,8 @@ If you want to add an identifier, you can put it in `identifier`.
Examples -```http -PUT /Patient?identifier=urn:oid:2.16.756.5.30.1.196.3.2.1|MAGMED001 HTTP/1.1 -Content-Type: application/fhir+json - -{ - "active": true, - "birthDate": "1987-10-08", - "gender": "male", - "id": "2.16.756.5.30.1.127.3.10.3-761337611735842172", - "identifier": [ - { - "system": "urn:oid:2.16.756.5.30.1.196.3.2.1", - "value": "MAGMED001" - }, - { - "system": "urn:oid:2.999.42", - "value": "new-identifier-value" - } - ], - "name": [ - { - "family": "NEFF-WINGEIER", - "given": [ - "Trong Sang" - ] - } - ], - "resourceType": "Patient" -} +```http title="Add an identifier" +--8<-- "http_iti104.txt" ```
@@ -165,6 +175,18 @@ GET /DocumentReference?patient.identifier=urn:oid:2.999|11111111&creation=ge2023 You can also search for _SubmissionSets_ with the [ITI-66 (_Find Document Lists_) transaction](https://fhir.ch/ig/ch-epr-mhealth/iti-66.html). +
Examples + +```http title="Search all by patient identifier" +GET /List?patient.identifier=urn:oid:2.999|11111111 HTTP/1.1 +``` + +```http title="Search with additional parameters" +GET /List?patient.identifier=urn:oid:2.999|11111111&code=submissionset&status=current&designationType=http://loinc.org|1234-5 HTTP/1.1 +``` + +
+ ### Reading Retrieving a document is done with the [ITI-68 (_Retrieve Document_) transaction](https://fhir.ch/ig/ch-epr-mhealth/iti-68.html). @@ -180,6 +202,10 @@ The transaction is an HTTP POST request to the endpoint `/`. The following profi
Examples +```http title="Publish a PDF file" +--8<-- "http_iti65.txt" +``` +
## Professional and organization directory @@ -252,17 +278,7 @@ See the [mapping from DICOM to FHIR](https://hl7.org/fhir/R4/auditevent-mappings
Examples ```http -POST /ARR/fhir/AuditEvent HTTP/1.1 -Content-Type: application/fhir+xml - - - - ... - - - - - +--8<-- "http_iti20.txt" ```
diff --git a/docs/snippets/http_getxua.txt b/docs/snippets/http_getxua.txt new file mode 100644 index 00000000..18889a31 --- /dev/null +++ b/docs/snippets/http_getxua.txt @@ -0,0 +1,7 @@ +POST /assertion HTTP/1.1 +Scope: person_id=761337610445502987^^^&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 +Content-Type: application/xml + + + + diff --git a/docs/snippets/http_iti104.txt b/docs/snippets/http_iti104.txt new file mode 100644 index 00000000..ca00b168 --- /dev/null +++ b/docs/snippets/http_iti104.txt @@ -0,0 +1,28 @@ +PUT /Patient?identifier=urn:oid:2.16.756.5.30.1.196.3.2.1|MAGMED001 HTTP/1.1 +Content-Type: application/fhir+json + +{ + "active": true, + "birthDate": "1987-10-08", + "gender": "male", + "id": "2.16.756.5.30.1.127.3.10.3-761337611735842172", + "identifier": [ + { + "system": "urn:oid:2.16.756.5.30.1.196.3.2.1", + "value": "MAGMED001" + }, + { + "system": "urn:oid:2.999.42", + "value": "new-identifier-value" + } + ], + "name": [ + { + "family": "NEFF-WINGEIER", + "given": [ + "Trong Sang" + ] + } + ], + "resourceType": "Patient" +} diff --git a/docs/snippets/http_iti20.txt b/docs/snippets/http_iti20.txt new file mode 100644 index 00000000..b1608909 --- /dev/null +++ b/docs/snippets/http_iti20.txt @@ -0,0 +1,11 @@ +POST /ARR/fhir/AuditEvent HTTP/1.1 +Content-Type: application/fhir+xml + + + + ... + + + + + diff --git a/docs/snippets/http_iti65.txt b/docs/snippets/http_iti65.txt new file mode 100644 index 00000000..92b728a1 --- /dev/null +++ b/docs/snippets/http_iti65.txt @@ -0,0 +1,289 @@ +POST / HTTP/1.1 +Content-Type: application/fhir+json;charset=UTF-8 + +{ + "entry": [ + { + "fullUrl": "urn:uuid:59f3a738-11c1-4a0e-a89b-c4552d0fe9a7", + "request": { + "method": "POST", + "url": "Binary" + }, + "resource": { + "contentType": "application/pdf", + "data": "VGhlIHBkZiBmaWxlIGdvZXMgaGVyZQ==", + "resourceType": "Binary" + } + }, + { + "fullUrl": "urn:uid:eb00c215-61cf-43a3-b99a-020ab21828fa", + "request": { + "method": "POST", + "url": "List" + }, + "resource": { + "code": { + "coding": [ + { + "code": "submissionset", + "display": "SubmissionSet as a FHIR List", + "system": "http://profiles.ihe.net/ITI/MHD/CodeSystem/MHDlistTypes" + } + ] + }, + "date": "2023-01-06T14:23:14+01:00", + "entry": [ + { + "item": { + "reference": "urn:uuid:5ae558f6-c103-4566-9a7e-63242abd24ab" + } + } + ], + "extension": [ + { + "url": "http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId", + "valueIdentifier": { + "value": "urn:oid:2.16.756.5.30.1.145.20.1" + } + }, + { + "url": "http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-ext-author-authorrole", + "valueCoding": { + "code": "HCP", + "display": "Healthcare professional", + "system": "urn:oid:2.16.756.5.30.1.127.3.10.6" + } + }, + { + "url": "http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType", + "valueCodeableConcept": { + "coding": [ + { + "code": "71388002", + "display": "Procedure (procedure)", + "system": "http://snomed.info/sct" + } + ], + "text": "Procedure (procedure)" + } + } + ], + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "use": "official", + "value": "urn:uuid:ab1862da-e31e-4ca9-ab01-24883cda5404" + }, + { + "system": "urn:ietf:rfc:3986", + "use": "usual", + "value": "urn:oid:2.999.123" + } + ], + "mode": "working", + "resourceType": "List", + "status": "current", + "subject": { + "reference": "Patient/2.16.756.5.30.1.191.1.0.2.1-c55f4ca7-bd4e-4134-8dcd-56b793ade958" + } + } + }, + { + "fullUrl": "urn:uuid:5ae558f6-c103-4566-9a7e-63242abd24ab", + "request": { + "method": "POST", + "url": "DocumentReference" + }, + "resource": { + "author": [ + { + "reference": "#practrole" + } + ], + "category": [ + { + "coding": [ + { + "code": "405624007", + "display": "Administrative documentation (record artifact)", + "system": "http://snomed.info/sct" + } + ] + } + ], + "contained": [ + { + "birthDate": "1993-01-27", + "gender": "male", + "id": "1", + "identifier": [ + { + "system": "urn:oid:2.16.756.5.30.1.191.1.0.12.3.101", + "value": "MAGMED006" + }, + { + "system": "urn:oid:2.16.756.5.30.1.191.1.0.2.1", + "value": "c55f4ca7-bd4e-4134-8dcd-56b793ade958" + } + ], + "name": [ + { + "family": "Sesztáková", + "given": [ + "Jett Flynn" + ] + }, + { + "family": "Sesztáková", + "given": [ + "Jett Flynn" + ] + } + ], + "resourceType": "Patient" + }, + { + "address": [ + { + "city": "Zürich", + "country": "CH", + "line": [ + "Krankenstrasse 2" + ], + "postalCode": "8005" + } + ], + "id": "org", + "identifier": [ + { + "system": "urn:oid:2.51.1.3", + "value": "7601000234438" + } + ], + "name": "Hausarzt", + "resourceType": "Organization" + }, + { + "id": "pract", + "identifier": [ + { + "system": "urn:oid:2.51.1.3", + "value": "7601000234438" + } + ], + "name": [ + { + "family": "Hausarzt", + "given": [ + "Familien" + ] + } + ], + "resourceType": "Practitioner" + }, + { + "id": "practrole", + "organization": { + "reference": "#org" + }, + "practitioner": { + "reference": "#pract" + }, + "resourceType": "PractitionerRole" + } + ], + "content": [ + { + "attachment": { + "contentType": "application/pdf", + "creation": "2011-11-29T11:00:00+01:00", + "language": "de-CH", + "url": "urn:uuid:59f3a738-11c1-4a0e-a89b-c4552d0fe9a7" + }, + "format": { + "code": "urn:che:epr:EPR_Unstructured_Document", + "system": "urn:oid:2.16.756.5.30.1.127.3.10.10" + } + } + ], + "context": { + "facilityType": { + "coding": [ + { + "code": "264358009", + "display": "General practice premises(environment)", + "system": "http://snomed.info/sct" + } + ] + }, + "practiceSetting": { + "coding": [ + { + "code": "394802001", + "display": "General medicine(qualifier value)", + "system": "http://snomed.info/sct" + } + ] + }, + "sourcePatientInfo": { + "reference": "#1" + } + }, + "date": "2011-11-29T11:00:00+01:00", + "description": "file.pdf", + "extension": [ + { + "url": "http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-ext-author-authorrole", + "valueCoding": { + "code": "HCP", + "display": "Healthcare professional", + "system": "urn:oid:2.16.756.5.30.1.127.3.10.6" + } + } + ], + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "use": "usual", + "value": "urn:oid:2.25.161286146254585515369612173924762763705" + } + ], + "masterIdentifier": { + "value": "urn:uuid:f3b905a6-f0e4-4ba6-9b6e-c7e7692c0438" + }, + "resourceType": "DocumentReference", + "securityLabel": [ + { + "coding": [ + { + "code": "17621005", + "display": "Normally accessible", + "system": "http://snomed.info/sct" + } + ] + } + ], + "status": "current", + "subject": { + "reference": "Patient/2.16.756.5.30.1.191.1.0.2.1-c55f4ca7-bd4e-4134-8dcd-56b793ade958" + }, + "type": { + "coding": [ + { + "code": "772786005", + "display": "Medical certificate (record artifact)", + "system": "http://snomed.info/sct" + } + ] + } + } + } + ], + "meta": { + "profile": [ + "http://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.ProvideBundle" + ] + }, + "resourceType": "Bundle", + "type": "transaction" +} diff --git a/mkdocs.yml b/mkdocs.yml index bf4c58cf..96b7902e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -6,6 +6,8 @@ theme: favicon: assets/favicon-256x256.png palette: scheme: mag + features: + - content.code.annotate extra_css: - stylesheets/extra.css nav: @@ -20,5 +22,7 @@ markdown_extensions: - md_in_html - pymdownx.highlight - pymdownx.superfences + - pymdownx.snippets: + base_path: ["docs/snippets"] - pymdownx.tabbed: alternate_style: true From 274cb51f8a55dfe486f9865614f3b4668d7f56aa Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Wed, 16 Aug 2023 14:59:44 +0200 Subject: [PATCH 14/29] Use spaces in the name --- .vscode/launch.json | 4 ++-- README.md | 8 ++++---- docs/endpoints.md | 2 +- docs/features.md | 2 +- docs/index.md | 4 ++-- docs/integration-primary-system.md | 2 +- example-config/README-Minikube.md | 4 ++-- mkdocs.yml | 2 +- src/main/java/ch/bfh/ti/i4mi/mag/Config.java | 2 +- src/main/java/ch/bfh/ti/i4mi/mag/MobileAccessGateway.java | 6 +++--- src/main/java/ch/bfh/ti/i4mi/mag/audit/Audit.java | 4 ++-- src/main/java/ch/bfh/ti/i4mi/mag/mhd/Utils.java | 2 +- 12 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 37465a9b..cdfd47aa 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -12,11 +12,11 @@ }, { "type": "java", - "name": "Debug MobileAccessGateway pmp", + "name": "Debug Mobile Access Gateway pmp", "request": "launch", "mainClass": "ch.bfh.ti.i4mi.mag.MobileAccessGateway", "projectName": "mobile-access-gateway", "vmArgs": "-Dspring.config.additional-location=file:/Users/oliveregger/Documents/github/k8s-fhir.ch/configurations/mag-pmp2/application.yml", } ] -} \ No newline at end of file +} diff --git a/README.md b/README.md index 54b84191..12b2cdbe 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# MobileAccessGateway +# Mobile Access Gateway -The MobileAccessGateway is an implementation based on the [CH EPR mHealth](https://fhir.ch/ig/ch-epr-mhealth/index.html) [(CI-Build)](http://build.fhir.org/ig/ehealthsuisse/ch-epr-mhealth/index.html) implementation guide. +The Mobile Access Gateway is an implementation based on the [CH EPR mHealth](https://fhir.ch/ig/ch-epr-mhealth/index.html) [(CI-Build)](http://build.fhir.org/ig/ehealthsuisse/ch-epr-mhealth/index.html) implementation guide. It provides a FHIR Gateway supporting the PMIR and MHD server actors and uses XDS/PIXV3 to communicate with an XDS Affinity Domain. It uses [IPF](https://oehf.github.io/ipf/) and [HAPI-FHIR](https://hapifhir.io/). @@ -17,7 +17,7 @@ It uses [IPF](https://oehf.github.io/ipf/) and [HAPI-FHIR](https://hapifhir.io/) ## Test setup -Current configuration works with [XDSTools7](https://ehealthsuisse.ihe-europe.net/xdstools7/), a [simulator](http://ehealthsuisse.ihe-europe.net:8280/xdstools7/sim/default__ahdis/reg/rb) is setup where the MobileAccessGateway connects. +Current configuration works with [XDSTools7](https://ehealthsuisse.ihe-europe.net/xdstools7/), a [simulator](http://ehealthsuisse.ihe-europe.net:8280/xdstools7/sim/default__ahdis/reg/rb) is setup where the Mobile Access Gateway connects. [Patient Manager](https://ehealthsuisse.ihe-europe.net/PatientManager/home.seam) is used for simulating PIX V3. @@ -68,7 +68,7 @@ npm run build-mag ## Deployment -The MobileAccessGateway can run in a docker container and can be deployed to a Kubernetes cluster. +The Mobile Access Gateway can run in a docker container and can be deployed to a Kubernetes cluster. ### Building an image diff --git a/docs/endpoints.md b/docs/endpoints.md index f5fe3c54..3914a755 100644 --- a/docs/endpoints.md +++ b/docs/endpoints.md @@ -1,4 +1,4 @@ -Here are the endpoints exposed by the MobileAccessGateway. +Here are the endpoints exposed by the Mobile Access Gateway. | Transaction | URL | | -------------------- | ----------------------------------------------------- | diff --git a/docs/features.md b/docs/features.md index c930c39b..75f49769 100644 --- a/docs/features.md +++ b/docs/features.md @@ -1,4 +1,4 @@ -The MobileAccessGateway provides translation from REST to SOAP variants of IHE transaction: +The Mobile Access Gateway provides translation from REST to SOAP variants of IHE transaction: - ITI-65 to ITI-41 - ITI-66 to ITI-18 diff --git a/docs/index.md b/docs/index.md index 6cfa458b..0af457f4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,6 +1,6 @@ -# MobileAccessGateway +# Mobile Access Gateway -The MobileAccessGateway is an implementation based on the [CH EPR mHealth](https://fhir.ch/ig/ch-epr-mhealth/index.html) +The Mobile Access Gateway is an implementation based on the [CH EPR mHealth](https://fhir.ch/ig/ch-epr-mhealth/index.html) implementation guide. It provides a FHIR Gateway supporting the PMIR and MHD server actors and uses XDS/PIXV3 to communicate with an XDS Affinity Domain. diff --git a/docs/integration-primary-system.md b/docs/integration-primary-system.md index df9bd28d..d18c7ff2 100644 --- a/docs/integration-primary-system.md +++ b/docs/integration-primary-system.md @@ -289,7 +289,7 @@ You can read the audit messages for a given patient with an ITI-81 transaction. !!! warning - The endpoint for this transaction is the EPR community itself, not the MobileAccessGateway. + The endpoint for this transaction is the EPR community itself, not the Mobile Access Gateway. This transaction is still implemented on a previous CH:ATC specification (March 2020), based on the [IHE Restfull ATNA supplement rev. 2.2](https://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_RESTful-ATNA_Rev2.2_TI_2017-07-21.pdf). A lot have changed since. diff --git a/example-config/README-Minikube.md b/example-config/README-Minikube.md index 06e7ec35..ec5fbe87 100644 --- a/example-config/README-Minikube.md +++ b/example-config/README-Minikube.md @@ -57,8 +57,8 @@ minikube kubectl -- create secret generic mobile-access-gateway-secret --from-fi minikube kubectl -- apply -f kubernetes-config.yml ```` -## Using the MobileAccessGateway service locally (in your browser etc...) +## Using the Mobile Access Gateway service locally (in your browser etc...) ```` minikube service mobile-access-gateway-service ```` -This will open your default browser with the correct URLs. \ No newline at end of file +This will open your default browser with the correct URLs. diff --git a/mkdocs.yml b/mkdocs.yml index 96b7902e..019ba540 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: MobileAccessGateway +site_name: Mobile Access Gateway repo_url: https://github.com/i4mi/MobileAccessGateway theme: name: material diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/Config.java b/src/main/java/ch/bfh/ti/i4mi/mag/Config.java index a45ff5a1..5984f7d7 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/Config.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/Config.java @@ -286,7 +286,7 @@ public AuditContext getAuditContext() { context.setAuditRepositoryTransport("UDP"); */ //context.setAuditSource(AuditSource.of("code","system","display")); - //context.setSendingApplication("MobileAccessGateway"); + //context.setSendingApplication("Mobile Access Gateway"); return context; } diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/MobileAccessGateway.java b/src/main/java/ch/bfh/ti/i4mi/mag/MobileAccessGateway.java index 045d551a..6185acb0 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/MobileAccessGateway.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/MobileAccessGateway.java @@ -27,7 +27,7 @@ import javax.validation.spi.ValidationProvider; /** - * Main class of the IPF MobileAccessGateway application. + * Main class of the IPF Mobile Access Gateway application. * * @author Oliver Egger */ @@ -45,7 +45,7 @@ public class MobileAccessGateway { * @param args The list of CLI parameters. */ public static void main(final String[] args) { - log.info("Configuring MobileAccessGateway"); + log.info("Configuring Mobile Access Gateway"); final SpringApplication application = new SpringApplication(MobileAccessGateway.class); addApplicationStartupHook(application); @@ -59,7 +59,7 @@ public static void main(final String[] args) { */ public static void addApplicationStartupHook(final SpringApplication application) { application.addListeners((ApplicationListener) event -> { - log.info("MobileAccessGateway has been configured and has started"); + log.info("Mobile Access Gateway has been configured and has started"); }); } } diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/audit/Audit.java b/src/main/java/ch/bfh/ti/i4mi/mag/audit/Audit.java index e78794be..11231e7b 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/audit/Audit.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/audit/Audit.java @@ -25,7 +25,7 @@ public class Audit implements ApplicationListener { @Autowired private AuditContext myAuditContext; - @Value("${mag.name:MobileAccessGateway}") + @Value("${mag.name:Mobile Access Gateway}") private String appName; public void start() { @@ -71,4 +71,4 @@ public void onApplicationEvent(ApplicationReadyEvent event) { .getMessage() ); } -} \ No newline at end of file +} diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/Utils.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/Utils.java index 8468ae17..ef218f42 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/Utils.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/Utils.java @@ -59,7 +59,7 @@ import ch.bfh.ti.i4mi.mag.Config; /** - * utility classes for MobileAccessGateway + * utility classes for Mobile Access Gateway * @author alexander kreutz * */ From 55dbb28946105ff1b458b84a4c984fb1fd44274d Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Tue, 29 Aug 2023 12:19:52 +0200 Subject: [PATCH 15/29] Quick fixes --- docs/integration-primary-system.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/integration-primary-system.md b/docs/integration-primary-system.md index d18c7ff2..59b4ce4d 100644 --- a/docs/integration-primary-system.md +++ b/docs/integration-primary-system.md @@ -67,7 +67,7 @@ Identifiers include the MPI-PID and EPR-SPID, and identifiers used by primary sy Demographics include the given and family names, date of birth, gender, nationality and telecoms. It can be queried and updated. -### Retrieve patient identifiers +### Retrieving patient identifiers Patient identifiers (commonly the MPI-PID and EPR-SPID) can be queried with an [ITI-83 (_Mobile Patient Identifier Cross-reference Query_) transaction](https://fhir.ch/ig/ch-epr-mhealth/iti-83.html). @@ -89,7 +89,7 @@ GET /Patient/$ihe-pix?sourceIdentifier=urn:oid:2.16.756.5.30.1.191.1.0.12.3.101|
-### Retrieve patient demographics +### Retrieving patient demographics Patient demographics can be queried with an [ITI-78 (_Mobile Patient Demographics Query_) transaction](https://fhir.ch/ig/ch-epr-mhealth/iti-78.html). @@ -129,7 +129,7 @@ specifying other information. GET /Patient?family=MOHR&given=ALICE&gender=female HTTP/1.1 ``` -### Feed patient information +### Feeding patient information Feeding patient information can be done with the [ITI-104 (_Patient Identity Feed FHIR_) transaction](https://fhir.ch/ig/ch-epr-mhealth/iti-104.html). The following profile shall be used: `http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition-ch-pixm-patient.html`. @@ -290,7 +290,7 @@ You can read the audit messages for a given patient with an ITI-81 transaction. !!! warning The endpoint for this transaction is the EPR community itself, not the Mobile Access Gateway. - This transaction is still implemented on a previous CH:ATC specification (March 2020), based on the [IHE Restfull + This transaction is still implemented on a previous CH:ATC specification (March 2020), based on the [IHE Restful ATNA supplement rev. 2.2](https://www.ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_RESTful-ATNA_Rev2.2_TI_2017-07-21.pdf). A lot have changed since. @@ -299,6 +299,9 @@ and `date` to constraint the audit message date. The `Authorization` header uses the prefix `IHE-SAML` and the SAML assertion is encoded with the [regular base64 alphabet](https://datatracker.ietf.org/doc/html/rfc4648#section-4). +The community will ask other communities for their audit messages and regroup them all. +If a foreign community is not reachable, an OperationOutcome may be added to the response Bundle. +
Examples ```http @@ -309,6 +312,6 @@ Authorization: IHE-SAML Zm9vYmE=
[string]: http://hl7.org/fhir/R4/search.html#string "String search type" -[token]: http://hl7.org/fhir/R4/search.html#string "Token search type" +[token]: http://hl7.org/fhir/R4/search.html#token "Token search type" [date]: http://hl7.org/fhir/R4/search.html#date "Date search type" [uri]: http://hl7.org/fhir/R4/search.html#uri "URI search type" From 77f0131ffb164dba2e1cb34a8a3298c3e0677e62 Mon Sep 17 00:00:00 2001 From: oliveregger Date: Tue, 12 Sep 2023 13:13:45 +0200 Subject: [PATCH 16/29] fix patient system --- .DS_Store | Bin 0 -> 8196 bytes angular/README.md | 4 ++-- angular/src/app/mag/mag.component.ts | 8 ++++---- src/main/resources/static/index.html | 2 +- .../resources/static/main.5e51d1271e155f96.js | 1 + .../resources/static/main.a126e678e7da9d35.js | 1 - 6 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 .DS_Store create mode 100644 src/main/resources/static/main.5e51d1271e155f96.js delete mode 100644 src/main/resources/static/main.a126e678e7da9d35.js diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..796dba1ed6d1cc184a40d1037c426c226ccfa5a3 GIT binary patch literal 8196 zcmeHM&ubGw6n@jhBq&O$2V3#57qJ(`iek}&Yl%e>K`eN+%@318(hX^&B0cQIo1ho( z*1tqh58isygMWa6TJL)Bdo$DQyxnZ|AQqn%Ml`l_&$J0UGYeFRr%r2bsUCHE8Bagq74Qmp1-t@Y0k6QgD1di1w@S`?-&pZ3p~cuBENIGv0!^s0C5AHLm=CO9 zXfZZu!b#cUL)pyARwznm$NGVGClwm>qgTKykX3+d_adF47Om2TsNd&nA6;8Fs#a^A zsD`=9;-ydbF8+LbRoWYS+Iwy1+d!yyX?Zs#k)4ix!|EvymqT-Naps)iknu{G zo~$tN&;R%i`ZWTliGl$FhZ)3!H&@!J#5$q#e zPpKb0{@~hNe#dWqKecn#EQL>s(spm_Sc z=YR3f2Vr+}2QQv&zb|RsQ$ESg$@39BuITe-F1~pM#!Z2OAvDeP|F!(@|Kmp6^YIFJ z1^%G|s#smBE?_}hTW6N$mt}yyjLwbyVuLya1H16NF2{kxKMZjkSX*c@HV6yafB6vL N-~U>BKkQ!xegmtnUETly literal 0 HcmV?d00001 diff --git a/angular/README.md b/angular/README.md index 3ca443a4..9f17aa2f 100644 --- a/angular/README.md +++ b/angular/README.md @@ -33,8 +33,8 @@ this angular app is directly provided with matchbox ``` ng build --configuration production -rm -rf ../MobileAccessGateway/src/main/resources/static/* -cp -r dist/* ../MobileAccessGateway/src/main/resources/static +rm -rf ../src/main/resources/static/* +cp -r dist/* ../src/main/resources/static ``` ## Contributing diff --git a/angular/src/app/mag/mag.component.ts b/angular/src/app/mag/mag.component.ts index 9d37be78..2fa66358 100644 --- a/angular/src/app/mag/mag.component.ts +++ b/angular/src/app/mag/mag.component.ts @@ -1392,11 +1392,11 @@ export class MagComponent implements OnInit { id: '1', identifier: [ { - system: 'urn:oid:2.16.756.5.30.1.191.1.0.12.3.101', + system: '$10', value: '$10', }, { - system: 'urn:oid:2.16.756.5.30.1.191.1.0.2.1', + system: '$11', value: '$11', }, ], @@ -1562,10 +1562,10 @@ export class MagComponent implements OnInit { const docrefpat: fhir.r4.Patient = docref.contained[0] as fhir.r4.Patient; - docrefpat.identifier[0].value = this.sourceIdentifierSystem.value; + docrefpat.identifier[0].system = this.sourceIdentifierSystem.value; docrefpat.identifier[0].value = this.sourceIdentifierValue.value; // $10 - docrefpat.identifier[1].value = this.targetIdentifierSystem.value; + docrefpat.identifier[1].system = this.targetIdentifierSystem.value; docrefpat.identifier[1].value = this.targetIdentifierValue; // $11 // if we feteched the patient before we also set the names to it diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index 14d19ffe..9bc028f8 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.5e51d1271e155f96.js b/src/main/resources/static/main.5e51d1271e155f96.js new file mode 100644 index 00000000..27111f15 --- /dev/null +++ b/src/main/resources/static/main.5e51d1271e155f96.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(f){if(0===c.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==f)this.assignZero();else if(f instanceof Array){if(f.length!==c.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(f)}`);this.dimVec_=[];for(let h=0;h=c.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[f]=1}}setElementAt(f,h){if(!d(f)||f<0||f>=c.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${f})`);this.dimVec_||this.assignZero(),null==h&&(h=1),this.dimVec_[f]=h}getElementAt(f){if(!d(f)||f<0||f>=c.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${f})`);let h=null;return this.dimVec_&&(h=this.dimVec_[f]),h}getProperty(f){return this["_"===f.charAt(f.length-1)?f:f+"_"]}toString(){let f=null;return this.dimVec_&&(f="["+this.dimVec_.join(", ")+"]"),f}add(f){if(!f instanceof g)throw new Error(`Dimension.add called with an invalid parameter - ${typeof f} instead of a Dimension object`);if(this.dimVec_&&f.dimVec_)for(let h=0;h{"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(f.bind(null,p))}return v.data}return v};function g(v){return v.map(b=>Array.isArray(b)?b:[b])}function f(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_),f=r.length;for(let h=0;h{"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 f=""+r;return!isNaN(f)&&!isNaN(parseFloat(f))},B.isIntegerUnit=function d(r){return/^\d+$/.test(r)},B.getSynonyms=function g(r){let f={},u={};if(u=n.getInstance().getUnitBySynonym(r),u.units){f.status="succeeded";let v=u.units.length;f.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 f{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 f=a(9473).Ucum,h=a(7894).UnitTables,u=a(4206).T;class v{constructor(){0===h.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==f.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=h.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=h.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,f=a(9473).Ucum,h=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 h:void 0!==_.dim_.dimVec_?new h(_.dim_.dimVec_):_.dim_ instanceof h?_.dim_:_.dim_ instanceof Array||v(_.dim_)?new h(_.dim_):new h,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 h),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,f=a(5744).Unit,h=a(7894).UnitTables,u=a(8902).PrefixTables;class v{constructor(){this.utabs_=h.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 f({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 f({csCode_:x,magnitude_:x,name_:x}):x.csCode_=p:x=new f({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_:Ce+""+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 f({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(f){f.name_&&this.addUnitName(f),this.addUnitCode(f),this.addUnitString(f);try{f.dim_.getProperty("dimVec_")&&this.addUnitDimension(f)}catch{}}addUnitName(f){let h=f.name_;if(!h)throw new Error(`UnitTables.addUnitName called for a unit with no name. Unit code = ${f.csCode_}.`);this.unitNames_[h]?this.unitNames_[h].push(f):this.unitNames_[h]=[f]}addUnitCode(f){let h=f.csCode_;if(!h)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[h])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${h}`);if(this.unitCodes_[h]=f,this.codeOrder_.push(h),"g"==h){let u=f.dim_.dimVec_,v=0;for(;v=1&&(u=f.substr(h+n.codeSep_.length),f=f.substr(0,h));let v=this.unitNames_[f];if(v){let b=v.length;if(u&&b>1){let p=0;for(;v[p].csCode_!==u&&p0&&(u+=h),"dim_"===f[D])u+=null!=x.dim_&&x.dim_.dimVec_ instanceof Array?"["+x.dim_.dimVec_.join(",")+"]":"";else{let S=x[f[D]];u+="string"==typeof S?S.replace(/[\n\r]/g," "):S}u+="\r\n"}}return u}printUnits(f,h){void 0===f&&(f=!1),void 0===h&&(h="|");let u="",v=this.codeOrder_.length,b="csCode"+h;f&&(b+="ciCode"+h),b+="name"+h,f&&(b+="isBase"+h),b+="magnitude"+h+"dimension"+h+"from unit(s)"+h+"value"+h+"function"+h,f&&(b+="property"+h+"printSymbol"+h+"synonyms"+h+"source"+h+"class"+h+"isMetric"+h+"variable"+h+"isSpecial"+h+"isAbitrary"+h),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),g=(a(7088),a(9515),n.__importStar(a(5879))),r=n.__importStar(a(9515)),f=n.__importStar(a(7088)),h=n.__importStar(a(4505)),u=n.__importStar(a(617)),v=n.__importStar(a(6718)),b=n.__importStar(a(1274)),p=n.__importStar(a(5187));B.AppComponent=(()=>{class l{constructor(x,D){x.setDefaultLang("de"),x.use(x.getBrowserLang());let S=location.href;S.indexOf("#")>0?S=S.substring(0,S.indexOf("#")-1)+"/fhir":S+="fhir",console.log("note: using fhir base "+S),D.changeMagMicroService(S)}}return l.\u0275fac=function(x){return new(x||l)(g.\u0275\u0275directiveInject(r.TranslateService),g.\u0275\u0275directiveInject(f.FhirConfigService))},l.\u0275cmp=g.\u0275\u0275defineComponent({type:l,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(x,D){if(1&x&&(g.\u0275\u0275elementStart(0,"mat-toolbar",0)(1,"div",1)(2,"div",2),g.\u0275\u0275element(3,"img",3),g.\u0275\u0275elementEnd()(),g.\u0275\u0275element(4,"span",4),g.\u0275\u0275elementStart(5,"span")(6,"button",5)(7,"mat-icon"),g.\u0275\u0275text(8,"more_vert"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(9,"mat-menu",null,6)(11,"button",7)(12,"mat-icon"),g.\u0275\u0275text(13,"home"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(14,"span"),g.\u0275\u0275text(15,"Home"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(16,"button",8)(17,"mat-icon"),g.\u0275\u0275text(18,"info"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(19,"span"),g.\u0275\u0275text(20,"CapabilityStatement"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(21,"button",9)(22,"mat-icon"),g.\u0275\u0275text(23,"search"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(24,"span"),g.\u0275\u0275text(25,"Mobile Access Gateway ..."),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(26,"button",10)(27,"mat-icon"),g.\u0275\u0275text(28,"people"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(29,"span"),g.\u0275\u0275text(30,"search Patients ..."),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(31,"button",11)(32,"mat-icon"),g.\u0275\u0275text(33,"settings"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(34,"span"),g.\u0275\u0275text(35,"Settings"),g.\u0275\u0275elementEnd()()()()(),g.\u0275\u0275elementStart(36,"main",12),g.\u0275\u0275element(37,"router-outlet"),g.\u0275\u0275elementEnd()),2&x){const S=g.\u0275\u0275reference(10);g.\u0275\u0275advance(6),g.\u0275\u0275property("matMenuTriggerFor",S)}},dependencies:[h.MatLegacyButton,u.MatIcon,v.MatLegacyMenu,v.MatLegacyMenuItem,v.MatLegacyMenuTrigger,b.MatToolbar,p.RouterOutlet,p.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}}"]}),l})()},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),f=a(6401),h=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:h.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:[f.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)),f=n.__importStar(a(9025)),h=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,f.MatLegacyCard,f.MatLegacyCardHeader,f.MatLegacyCardContent,f.MatLegacyCardTitle,h.MatLegacyError,u.Highlight],styles:[".display[_ngcontent-%COMP%]{display:inline-block}"]}),_})()},7088:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.FhirConfigService=void 0;const n=a(655),c=n.__importDefault(a(8907)),d=n.__importStar(a(5879));B.FhirConfigService=(()=>{class r{constructor(){}changeFhirMicroService(h){localStorage.setItem("fhirMicroServer",h)}changeMagMicroService(h){localStorage.setItem("magMicroService",h)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")||"/matchbox/fhir"}getMobileAccessGatewayService(){return localStorage.getItem("magMicroService")||"/mag/fhir"}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 c.default({baseUrl:this.getFhirMicroService()})}getMobileAccessGatewayClient(){return new c.default({baseUrl:this.getMobileAccessGatewayService()})}getAuthCodeFlowConfig(){return{loginUrl:this.getMobileAccessGatewayLoginUrl(),redirectUri:this.getRedirectUri(),tokenEndpoint:this.getMobileAccessGatewayTokenEndpoint(),clientId:this.getClientId(),responseType:"code",scope:"todo",dummyClientSecret:this.getClientSecret(),showDebugInformation:!0,timeoutFactor:.75}}}return r.\u0275fac=function(h){return new(h||r)},r.\u0275prov=d.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r})()},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(h,u){return(0,c.evaluate)(h,u,null)}evaluateToString(h,u){const v=this.evaluate(h,u);return v&&v instanceof Array&&1===v.length?v[0]:null}getOauthUriToken(h){return this.evaluateToString(h,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(h){return this.evaluateToString(h,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}}return r.\u0275fac=function(h){return new(h||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)),f=c.__importStar(a(5187)),h=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(f.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:[h.MatLegacyCard,h.MatLegacyCardContent,h.MatLegacyCardFooter,u.MatIcon,v.MatLegacyMenuItem,f.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)),h=(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)),Ce=c.__importStar(a(2214)),Re=c.__importStar(a(1438)),Ae=c.__importStar(a(9949)),de=c.__importStar(a(9009));function H(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function W(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"button",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onFetchPatient())}),l.\u0275\u0275text(2," get Patient "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()}}function pe(et,Dt){if(1&et&&(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&et){const _e=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",null==_e.patient.name[0]?null:_e.patient.name[0].given," ",null==_e.patient.name[0]?null:_e.patient.name[0].family,", ",_e.patient.birthDate," ")}}function we(et,Dt){if(1&et){const _e=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(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onPIXmFeedAdd())}),l.\u0275\u0275text(24," PIXm Feed - Add Identifier "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}if(2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",_e.patient.name),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceAddIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceAddIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceManagingOrganizationOid),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceManagingOrganizationName)}}function Ee(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div")(1,"pre"),l.\u0275\u0275element(2,"code",43),l.\u0275\u0275elementEnd()()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",_e.getScopes())}}function Be(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",44),l.\u0275\u0275text(1,"Description"),l.\u0275\u0275elementEnd())}function G(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",44),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",_e.description," ")}}function re(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",45),l.\u0275\u0275text(1,"Title"),l.\u0275\u0275elementEnd())}function ae(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",45)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].attachment.title," ")}}function ve(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",46),l.\u0275\u0275text(1,"Title"),l.\u0275\u0275elementEnd())}function He(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",46)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].attachment.contentType," ")}}function Ze(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",47),l.\u0275\u0275text(1,"formatCode"),l.\u0275\u0275elementEnd())}function Qe(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",47)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].format.code," ")}}function Ge(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",48),l.\u0275\u0275text(1,"Actions"),l.\u0275\u0275elementEnd())}function tt(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"mat-cell",48)(1,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onRemove(mt))}),l.\u0275\u0275elementStart(2,"mat-icon"),l.\u0275\u0275text(3,"remove"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onReplace(mt))}),l.\u0275\u0275elementStart(5,"mat-icon"),l.\u0275\u0275text(6,"reply"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(7,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onDownloadDocumentReferenceAttachment(mt))}),l.\u0275\u0275elementStart(8,"mat-icon"),l.\u0275\u0275text(9,"download"),l.\u0275\u0275elementEnd()()()}}function Ct(et,Dt){1&et&&l.\u0275\u0275element(0,"mat-header-row")}function Nt(et,Dt){1&et&&l.\u0275\u0275element(0,"mat-row")}function _t(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function Bt(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-card-actions")(2,"button",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onPdf())}),l.\u0275\u0275text(3,"Pdf"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}}function Tt(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" Replace Document with ",_e.replaceDocumentReference.identifier[0].value," ")}}function Lt(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",_e.descr,": ",_e.existingUuid," -> ",_e.newUuid," ")}}function Le(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(_e.errMsgAssignPatient)}}function lt(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function ze(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(_e.errMsg)}}const at=function(){return["name","title","contentType","formatCode","action"]},N=et=>String(Math.floor(Math.abs(et))).padStart(2,"0");function K(et){const Dt=-et.getTimezoneOffset(),_e=Dt>=0?"+":"-",ut=`${N(Dt/60)}:${N(Dt%60)}`;return`${(0,B.toLocaleDate)(et)}T${(0,B.toLocaleTime)(et)}${_e}${ut}`}B.toLocaleDate=et=>`${et.getFullYear()}-${N(et.getMonth()+1)}-${N(et.getDate())}`,B.toLocaleHHMM=et=>`${N(et.getHours())}:${N(et.getMinutes())}`,B.toLocaleTime=et=>`${(0,B.toLocaleHHMM)(et)}:${N(et.getSeconds())}`,B.toLocaleDateTime=K,B.MagComponent=(()=>{class et{constructor(_e,ut,Pe,mt,Pt,Ft){this.data=_e,this.fhirPathService=ut,this.http=Pe,this.cd=mt,this.oauthService=Pt,this.router=Ft,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=_e.getMobileAccessGatewayClient(),this.mag.capabilityStatement().then(Oe=>this.setJson(JSON.stringify(Oe,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.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.documentDescription=new r.UntypedFormControl,this.documentDescription.setValue(this.getLocalStorageItemOrDefault("mag.documentType","Titel")),this.masterIdentifier=new r.UntypedFormControl,this.masterIdentifier.setValue((0,u.v4)()),this.creationTime=new r.UntypedFormControl,this.creationTime.setValue(K(new Date)),this.languageCode=new r.UntypedFormControl,this.languageCode.setValue(this.getLocalStorageItemOrDefault("mag.languageCode","de-CH")),this.fhirConfigService=_e,Pt.configure(this.fhirConfigService.getAuthCodeFlowConfig()),Pt.tryLoginCodeFlow().then(Oe=>{this.scopes=this.oauthService.getGrantedScopes()}),Pt.events.subscribe(Oe=>{Oe instanceof p.OAuthErrorEvent?console.error(Oe):console.warn(Oe)}),this.pdf="",this.replaceDocumentReference=null}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.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(_e,ut){return localStorage.getItem(_e)||ut}setLocaleStorageItem(_e,ut){return localStorage.setItem(_e,ut),ut}setJson(_e){this.json=_e}getJson(){return this.json}getScopes(){return this.scopes?JSON.stringify(this.scopes,null,2):""}ngOnInit(){}ngOnDestroy(){}setPixmQueryResult(_e){this.inPixmProgress=!1,this.setJson(JSON.stringify(_e,null,2)),this.targetIdentifierValue=this.fhirPathService.evaluateToString(_e,"parameter.valueIdentifier.where(system='"+this.targetIdentifierSystem.value+"').value"),this.targetIdentifier2Value=this.fhirPathService.evaluateToString(_e,"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(_e,"parameter.valueReference.reference"),this.cache()}setPatientFetchResult(_e){this.inPixmProgress=!1,this.patient=_e,this.setJson(JSON.stringify(_e,null,2)),this.cache()}setPIXmFeedAddResult(_e){this.inPixmProgress=!1,this.patient=void 0,this.setJson(JSON.stringify(_e,null,2)),this.cache()}onPIXmQuery(){this.targetIdentifierValue="",this.targetIdentifier2Value="",this.patient=void 0,this.inPixmProgress=!0,this.cache();let _e="sourceIdentifier="+encodeURIComponent(this.sourceIdentifierSystem.value+"|"+this.sourceIdentifierValue.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifierSystem.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifier2System.value);this.mag.operation({name:"$ihe-pix?"+_e,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(ut=>this.setPixmQueryResult(ut)).catch(ut=>{this.setJson(JSON.stringify(ut,null,2)),this.targetIdentifierValue="",this.targetIdentifier2Value="",this.targetId="",this.cache(),this.inPixmProgress=!1})}getPatient(){const _e=this.targetId.substring(this.targetId.indexOf("Patient/")+8);return this.mag.read({resourceType:"Patient",id:_e,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 _e=this;return n(function*(){_e.patient=void 0,_e.inPixmProgress=!0,_e.cache();try{_e.patient=yield _e.getPatient(),_e.setPatientFetchResult(_e.patient)}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.cache(),_e.inPixmProgress=!1}})()}onPIXmFeedAdd(){this.inPixmProgress=!0,this.patient.telecom&&delete this.patient.telecom,this.cache();let _e={identifier:this.sourceAddIdentifierSystem.value+"|"+this.sourceAddIdentifierValue.value},ut={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(ut),this.patient.managingOrganization={reference:"#org"},this.mag.update({resourceType:"Patient",body:this.patient,searchParams:_e,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}}).then(Pe=>this.setPIXmFeedAddResult(Pe)).catch(Pe=>{this.setJson(JSON.stringify(Pe,null,2)),this.cache(),this.inPixmProgress=!1})}onAuthenticate(){if(this.cache(),this.scopes=null,"HCP"===this.authenticate.value){let _e=this.fhirConfigService.getAuthCodeFlowConfig();_e.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|HCP`,this.oauthService.configure(_e),this.oauthService.initCodeFlow()}else"TCU"===this.authenticate.value?this.getSamlToken().then(_e=>this.json=_e):this.oauthService.logOut()}getAppcDocument(_e,ut){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.documentDescription.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(_e,ut){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==${ut}http://ihe.connectathon.XUA/X-ServiceProvider-IHE-Connectathonurn:oasis:names:tc:SAML:2.0:ac:classes:unspecifiedIris Musterpatient${ut}^^^&2.16.756.5.30.1.127.3.10.3&ISOurn:oid:3.3.3.1`)}getSimulatedSamlPmpTcuAssertion(_e,ut,Pe){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${Pe}^^^&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(_e){var ut=this;return n(function*(){const mt=yield(yield fetch("https://test.ahdis.ch/eprik-cara/camel/tcu",{cache:"no-store",headers:{Accept:"application/xml"}})).text(),Ft=yield(yield fetch(ut.fhirConfigService.getMobileAccessGatewayAssertionEndpoint(),{cache:"no-store",method:"POST",headers:{Scope:`person_id=${_e}^^^&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:mt})).json();return Promise.resolve(Ft.access_token)})()}setBundle(_e){_e?(this.bundle=_e,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry.map(ut=>ut.resource)):this.dataSource.data=null,this.dataSource.data=this.dataSource.data}setDocumentReferenceResult(_e){this.setJson(JSON.stringify(_e,null,2)),this.setBundle(_e)}findDocumentReferences(){var _e=this;return n(function*(){let ut={status:"current","patient.identifier":encodeURIComponent(_e.targetIdentifierSystem.value+"|"+_e.targetIdentifierValue)},Pe=yield _e.getSamlToken();return _e.mag.search({resourceType:"DocumentReference",searchParams:ut,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+Pe}}})})()}onFindDocumentReferences(){var _e=this;return n(function*(){_e.replaceDocumentReference=null,_e.inMhdQueryProgress=!0,_e.pdf="";try{const ut=yield _e.findDocumentReferences();_e.setDocumentReferenceResult(ut),_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}findMedicationList(_e){var ut=this;return n(function*(){let Pe="patient.identifier="+encodeURIComponent(ut.targetIdentifierSystem.value+"|"+ut.targetIdentifierValue)+(_e?"&format="+encodeURIComponent(_e):"");ut.serviceStartFrom.value?.length>0&&(Pe+=`&serviceStartFrom=${encodeURIComponent(ut.serviceStartFrom.value)}`),ut.serviceStartTo.value?.length>0&&(Pe+=`&serviceStartTo=${encodeURIComponent(ut.serviceStartTo.value)}`),ut.serviceEndFrom.value?.length>0&&(Pe+=`&serviceEndFrom=${encodeURIComponent(ut.serviceEndFrom.value)}`),ut.serviceEndTo.value?.length>0&&(Pe+=`&serviceEndTo=${encodeURIComponent(ut.serviceEndTo.value)}`);const mt=yield ut.getSamlToken();return ut.mag.operation({name:"$find-medication-list?status=current&"+Pe,resourceType:"DocumentReference",method:"GET",options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+mt}}})})()}onFindMedicationList(){var _e=this;return n(function*(){_e.pdf="",_e.inMhdQueryProgress=!0,_e.cache();try{const ut=yield _e.findMedicationList();_e.setDocumentReferenceResult(ut),ut.entry&&1==ut.entry.length&&(yield _e.downloadDocumentReferenceAttachment(ut.entry[0].resource)),_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}onFindMedicationCard(){var _e=this;return n(function*(){_e.pdf="",_e.inMhdQueryProgress=!0,_e.cache();try{const ut=yield _e.findMedicationList("urn:oid:2.16.756.5.30.1.127.3.10.10|urn:che:epr:ch-emed:medication-card:2022");if(_e.setDocumentReferenceResult(ut),ut.entry&&1==ut.entry.length){const Pe=yield _e.downloadDocumentReferenceAttachment(ut.entry[0].resource),mt=JSON.parse(Pe);_e.pdf=_e.fhirPathService.evaluateToString(mt,"entry.resource.where(resourceType='Binary').data")}_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}getSamlToken(){var _e=this;return n(function*(){return"HCP"===_e.authenticate.value?Promise.resolve(_e.oauthService.getAccessToken()):"Patient"===_e.authenticate.value?Promise.resolve(_e.getSimulatedSamlPmpAssertion(K(new Date),_e.targetIdentifier2Value)):"TCU"===_e.authenticate.value?_e.getEprikTcuAssertion(_e.targetIdentifier2Value):null})()}downloadDocumentReferenceAttachment(_e){var ut=this;return n(function*(){let mt=(_e.content&&_e.content.length>0?_e.content[0].attachment.url:"undefined").replace("http://test.ahdis.ch/mag-pmp/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp/camel/xdsretrieve"),Pt=mt.replace("http://test.ahdis.ch/mag-pmp2/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp2/camel/xdsretrieve");const Ft=_e.content&&_e.content.length>0?_e.content[0].attachment?.contentType:"";if(ut.selectedDocumentReference=_e,"application/pdf"===Ft){const Gt=_e.content&&_e.content.length>0?_e.content[0].attachment.title:"undefined",Oe=ut,Ke=yield ut.getSamlToken(),ge=yield(yield fetch(Pt,{cache:"no-store",headers:{Authorization:"Bearer "+Ke,Accept:"application/pdf"}})).blob();return new Promise((ct,Me)=>{let Ye=new FileReader;Ye.onload=()=>{Oe.downloadPdf(Ye.result.toString(),Gt),ct(Ye.result)},Ye.onerror=Me,Ye.readAsDataURL(ge)})}{const Gt=yield ut.getSamlToken(),Ke={responseType:"text",headers:(new h.HttpHeaders).set("Authorization","Bearer "+Gt)};return new Promise((he,ge)=>{ut.http.get(mt,Ke).subscribe({next:ct=>{ut.xml=ct,ut.setJson(ct),he(ut.xml)},error:ct=>{ge(ct)}})})}})()}onReplace(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=_e})()}onRemove(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=null;let Pe={..._e};ut.inMhdQueryProgress=!0,null==Pe.extension&&(Pe.extension=new Array),Pe.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:ut.iheSourceId.value}}),Pe.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)"}}),Pe.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"}}),Pe.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 mt=yield ut.getSamlToken();try{let Pt=yield ut.mag.update({resourceType:"DocumentReference",id:Pe.id,body:Pe,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0","content-type":"application/fhir+json;fhirVersion=4.0",Authorization:"Bearer "+mt}}});ut.setJson(JSON.stringify(Pt,null,2)),ut.inMhdQueryProgress=!1,ut.onFindDocumentReferences()}catch(Pt){ut.setJson(JSON.stringify(Pt.response.data,null,2)),ut.inMhdQueryProgress=!1}})()}onDownloadDocumentReferenceAttachment(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=null,ut.inMhdQueryProgress=!0,yield ut.downloadDocumentReferenceAttachment(_e),ut.inMhdQueryProgress=!1})()}canTransformToPdf(){return""!=this.pdf}downloadPdf(_e,ut){const Pe=document.createElement("a");Pe.href=_e,Pe.download=`${ut}.pdf`,Pe.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 ut=`0x${(0,u.v4)().replace(/-/g,"")}`;return`2.25.${BigInt(ut).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(_e){if(this.uploadBase64="",this.uploadContentType="",this.uploadBundle=null,this.json="",this.xml="",this.pdf="","application/json"===_e.contentType||_e.name.endsWith(".json")||"text/xml"===_e.contentType||_e.name.endsWith(".xml"))this.addText(_e);else{var ut=new FileReader;const Pe=this;ut.readAsDataURL(_e.blob),ut.onloadend=function(){let mt=ut.result.toString();mt.startsWith("data:application/pdf;base64,")&&(Pe.uploadBase64=mt.substring(28),Pe.uploadContentType="application/pdf",Pe.documentType.setValue("PDF"))}}}addText(_e){const ut=new FileReader;ut.readAsText(_e.blob);const Pe=this;this.documentDescription.setValue(_e.name),this.creationTime.setValue(K(new Date)),ut.onload=()=>{("application/json"===_e.contentType||_e.name.endsWith(".json"))&&(this.uploadContentType="application/fhir+json",this.autoDetectFormat(ut.result)),("text/xml"===_e.contentType||_e.name.endsWith(".xml"))&&(this.uploadContentType="text/xml",Pe.documentType.setValue("XML"),Pe.xml=ut.result,Pe.setJson(Pe.xml))}}getResource(_e,ut){return _e.entry.filter(Pe=>Pe.fullUrl.endsWith(ut)).pop()?.resource}autoDetectFormat(_e){this.documentType.setValue("JSON");const ut=JSON.parse(_e);this.setJson(_e),ut.hasOwnProperty("resourceType")&&"Bundle"===ut.resourceType&&this.autoDetectBundle(ut)}autoDetectBundle(_e){if(this.creationTime.setValue(_e.timestamp),this.masterIdentifier.setValue(_e.identifier.value),"document"===_e.type&&_e.entry?.length>0){const ut=_e.entry[0].resource,Pe=ut.type.coding.find(mt=>"http://snomed.info/sct"===mt.system);if(ut.language&&this.languageCode.setValue(ut.language),!Pe)return;switch(Pe.code){case"761931002":return this.uploadBundle=_e,void this.documentType.setValue("MTP");case"761938008":return this.uploadBundle=_e,void this.documentType.setValue("PRE");case"294121000195110":return this.uploadBundle=_e,void this.documentType.setValue("DIS");case"419891008":return this.uploadBundle=_e,void this.documentType.setValue("PADV")}}}assignMobileAccessPatient(){var _e=this;return n(function*(){if(_e.inMhdUploadProgress=!0,_e.errMsgAssignPatient="",null==_e.patient&&(_e.patient=yield _e.getPatient()),null==_e.patient)return void(_e.errMsgAssignPatient="Error: select first 'get Patient' from Mobile Access Gateway");if(null==_e.uploadBundle)return void(_e.errMsgAssignPatient="Error: need a FHIR Bundle in json format to assign the Patient");const ut=_e.uploadBundle.entry.filter(Oe=>"Patient"===Oe.resource.resourceType),Pe={..._e.patient};Pe.identifier=_e.patient.identifier.filter(Oe=>Oe.system===_e.sourceIdentifierSystem.value),Pe.identifier.find(Oe=>Oe.system===_e.sourceIdentifierSystem.value).type={coding:[{system:"http://terminology.hl7.org/CodeSystem/v2-0203",code:"MR"}]},Pe.name=Array(),Pe.name[0]=_e.patient.name[0],ut.forEach(Oe=>{const Ke=Oe.resource.id;Oe.resource={...Pe},Oe.resource.id=Ke});let mt=JSON.stringify(_e.uploadBundle,null,2);const Pt=_e.uploadBundle.identifier.value,Ft="urn:uuid:"+(0,u.v4)(),Gt=_e.replaceUuids.findIndex(Oe=>Oe.existingUuid==Pt);-1==Gt?_e.replaceUuids.push({descr:_e.documentType.value,existingUuid:Pt,newUuid:Ft}):_e.replaceUuids[Gt]={descr:_e.documentType.value,existingUuid:Pt,newUuid:Ft},_e.replaceUuids.forEach(Oe=>mt=mt.split(Oe.existingUuid).join(Oe.newUuid)),_e.masterIdentifier.setValue(Ft),_e.setJson(mt),_e.inMhdUploadProgress=!1})()}createMhdTransaction(){var _e=this;return n(function*(){_e.inMhdUploadProgress=!0;let ut={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"}}]},Pe="urn:uuid:"+(0,u.v4)();ut.entry[0].fullUrl=Pe;const mt=ut.entry[0].resource;mt.contentType=_e.uploadContentType,mt.data=_e.uploadBase64?.length>0?_e.uploadBase64:v.Base64.encode(_e.json);let Pt=(0,u.v4)();ut.entry[1].fullUrl="urn:uid:"+Pt;const Ft=ut.entry[1].resource;Ft.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:_e.iheSourceId.value}}),Ft.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"}}),Ft.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 Gt="urn:uuid:"+(0,u.v4)();Ft.identifier[0].value=Gt;let Oe="urn:oid:"+_e.generateOidFromUuid();Ft.identifier[1].value=Oe,Ft.subject.reference=_e.targetId;let Ke=K(new Date);Ft.date=Ke;let he="urn:uuid:"+(0,u.v4)();Ft.entry[0].item.reference=he,ut.entry[2].fullUrl=he;const ge=ut.entry[2].resource;ge.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!=_e.replaceDocumentReference?ge.relatesTo.push({code:"replaces",target:{reference:_e.replaceDocumentReference.identifier[0].value}}):delete ge.relatesTo;const ct=ge.contained[0];if(ct.identifier[0].system=_e.sourceIdentifierSystem.value,ct.identifier[0].value=_e.sourceIdentifierValue.value,ct.identifier[1].system=_e.targetIdentifierSystem.value,ct.identifier[1].value=_e.targetIdentifierValue,_e.patient&&(ct.birthDate=_e.patient.birthDate,ct.gender=_e.patient.gender,ct.name=_e.patient.name,ct.address=_e.patient.address),null!=_e.uploadBundle&&["PADV","DIS","MTP","PRE","PMLC"].includes(_e.documentType.value)){const V=_e.uploadBundle.entry[0].resource;if(V?.author&&V.author[0].reference){const Q=_e.getResource(_e.uploadBundle,V.author[0].reference);if(Q&&"PractitionerRole"==Q.resourceType){let be={...Q};delete be.text,be.id="practrole";const dt=_e.getResource(_e.uploadBundle,be.organization?.reference),Rt=_e.getResource(_e.uploadBundle,be.practitioner?.reference);if(dt){let qe={...dt};qe.id="org",delete qe.text,be.organization.reference="#org",ge.contained.push(qe)}if(Rt){let qe={...Rt};qe.id="pract",delete qe.text,be.practitioner.reference="#pract",ge.contained.push(qe)}ge.contained.push(be),ge.author.push({reference:"#practrole"})}}}0==ge.author.length&&delete ge.author;let Me=_e.masterIdentifier.value.toLocaleLowerCase();ge.masterIdentifier.value=Me;let Ye="urn:oid:"+_e.generateOidFromUuid();ge.identifier[0].value=Ye,ge.subject.reference=_e.targetId,ge.date=Ke,ge.content[0].attachment.url=Pe,ge.content[0].attachment.contentType=_e.uploadContentType,ge.content[0].attachment.language=_e.languageCode.value;let De=ut.entry[2].resource;De.date=_e.creationTime.value,De.type=_e.getDocumentReferenceType(),De.category.push(_e.getDocumentReferenceCategory()),De.content[0].format=_e.getDocumentReferenceContentFormat(),De.content[0].attachment.creation=_e.creationTime.value,De.description=_e.documentDescription.value,De.securityLabel[0]=_e.getDocumentConfidentiality();const F=yield _e.getSamlToken();_e.mag.transaction({body:ut,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+F}}}).then(V=>{_e.setJson(JSON.stringify(V,null,2)),_e.inMhdUploadProgress=!1}).catch(V=>{_e.setJson(JSON.stringify(V,null,2)),_e.inMhdUploadProgress=!1})})()}}return et.\u0275fac=function(_e){return new(_e||et)(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))},et.\u0275cmp=l.\u0275\u0275defineComponent({type:et,selectors:[["app-mag"]],decls:192,vars:37,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"],[3,"dataSource"],["table",""],["matColumnDef","name"],["class","name",4,"matHeaderCellDef"],["class","name",4,"matCellDef"],["matColumnDef","title"],["class","title",4,"matHeaderCellDef"],["class","title",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,"highlight"],[1,"name"],[1,"title"],[1,"contentType"],[1,"formatCode"],[1,"res"],["mat-icon-button","","type","submit",3,"click"]],template:function(_e,ut){1&_e&&(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 ut.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\u0275template(52,Ee,3,1,"div",3),l.\u0275\u0275elementStart(53,"mat-card-actions")(54,"button",4),l.\u0275\u0275listener("click",function(){return ut.onAuthenticate()}),l.\u0275\u0275text(55," Authenticate "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(56,"mat-card",0)(57,"mat-card-content")(58,"mat-card-header")(59,"mat-card-title"),l.\u0275\u0275text(60,"Mobile Access Gateway - Query"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(61,"mat-table",9,10),l.\u0275\u0275elementContainerStart(63,11),l.\u0275\u0275template(64,Be,2,0,"mat-header-cell",12),l.\u0275\u0275template(65,G,2,1,"mat-cell",13),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(66,14),l.\u0275\u0275template(67,re,2,0,"mat-header-cell",15),l.\u0275\u0275template(68,ae,3,1,"mat-cell",16),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(69,17),l.\u0275\u0275template(70,ve,2,0,"mat-header-cell",18),l.\u0275\u0275template(71,He,3,1,"mat-cell",19),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(72,20),l.\u0275\u0275template(73,Ze,2,0,"mat-header-cell",21),l.\u0275\u0275template(74,Qe,3,1,"mat-cell",22),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(75,23),l.\u0275\u0275template(76,Ge,2,0,"mat-header-cell",24),l.\u0275\u0275template(77,tt,10,0,"mat-cell",25),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275template(78,Ct,1,0,"mat-header-row",26),l.\u0275\u0275template(79,Nt,1,0,"mat-row",27),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(80,_t,2,0,"ng-container",3),l.\u0275\u0275elementStart(81,"mat-card-actions")(82,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindDocumentReferences()}),l.\u0275\u0275text(83," Document References "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(84,"div")(85,"mat-form-field",1)(86,"mat-label"),l.\u0275\u0275text(87,"serviceStart From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(88,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(89," \xa0 "),l.\u0275\u0275elementStart(90,"mat-form-field",1)(91,"mat-label"),l.\u0275\u0275text(92,"serviceStart To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(93,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(94,"div")(95,"mat-form-field",1)(96,"mat-label"),l.\u0275\u0275text(97,"serviceEnd From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(98,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(99," \xa0 "),l.\u0275\u0275elementStart(100,"mat-form-field",1)(101,"mat-label"),l.\u0275\u0275text(102,"serviceEnd To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(103,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(104,"mat-card-actions")(105,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindMedicationList()}),l.\u0275\u0275text(106," Medication List "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(107,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindMedicationCard()}),l.\u0275\u0275text(108," Medication Card "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(109,Bt,4,0,"ng-container",3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(110,"mat-card",0)(111,"mat-card-content")(112,"mat-card-header")(113,"mat-card-title"),l.\u0275\u0275text(114,"Mobile Access Gateway - Upload"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(115,"app-upload",29),l.\u0275\u0275listener("addFiles",function(mt){return ut.addFile(mt)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(116,"div")(117,"mat-form-field",1)(118,"mat-label"),l.\u0275\u0275text(119,"Description"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(120,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(121,"div")(122,"mat-form-field",1)(123,"mat-label"),l.\u0275\u0275text(124,"Document Type"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(125,"select",5)(126,"option",30),l.\u0275\u0275text(127,"APPC Document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(128,"option",31),l.\u0275\u0275text(129,"Medication Treatment Plan document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(130,"option",32),l.\u0275\u0275text(131,"Medication Dispense document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(132,"option",33),l.\u0275\u0275text(133,"Medication Prescription document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(134,"option",34),l.\u0275\u0275text(135,"Pharmaceutical Advice document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(136,"option",35),l.\u0275\u0275text(137,"PDF"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(138,"div")(139,"mat-form-field",1)(140,"mat-label"),l.\u0275\u0275text(141,"Confidentiality"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(142,"select",5)(143,"option",36),l.\u0275\u0275text(144,"Normally accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(145,"option",37),l.\u0275\u0275text(146,"Restricted accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(147,"option",38),l.\u0275\u0275text(148,"Secret"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(149,"div")(150,"mat-form-field",1)(151,"mat-label"),l.\u0275\u0275text(152,"DocumentEntry.masterIdentifier (uuid)"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(153,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(154,"div")(155,"mat-form-field",1)(156,"mat-label"),l.\u0275\u0275text(157,"DocumentEntry.creationTime"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(158,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(159,"div")(160,"mat-form-field",1)(161,"mat-label"),l.\u0275\u0275text(162,"DocumentEntry.languageCode"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(163,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(164,"div")(165,"mat-form-field",1)(166,"mat-label"),l.\u0275\u0275text(167,"ihe-sourceId"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(168,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(169,"\xa0 "),l.\u0275\u0275elementStart(170,"a",39),l.\u0275\u0275text(171,"ig"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(172,Tt,2,1,"div",3),l.\u0275\u0275template(173,Lt,2,3,"div",40),l.\u0275\u0275template(174,Le,2,1,"div",3),l.\u0275\u0275template(175,lt,2,0,"ng-container",3),l.\u0275\u0275elementStart(176,"div")(177,"button",28),l.\u0275\u0275listener("click",function(){return ut.assignMobileAccessPatient()}),l.\u0275\u0275text(178," Assign Mobile Access Patient"),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(179,"\xa0 "),l.\u0275\u0275elementStart(180,"button",28),l.\u0275\u0275listener("click",function(){return ut.createMhdTransaction()}),l.\u0275\u0275text(181," Provide and Register "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(182,"button",28),l.\u0275\u0275listener("click",function(){return ut.createAppc()}),l.\u0275\u0275text(183," Create APPC for PMP "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(184,"mat-card",0)(185,"mat-card-content")(186,"mat-card-header")(187,"mat-card-title"),l.\u0275\u0275text(188,"Response"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(189,ze,2,1,"div",3),l.\u0275\u0275elementStart(190,"pre"),l.\u0275\u0275element(191,"code",41),l.\u0275\u0275elementEnd()()()),2&_e&&(l.\u0275\u0275advance(9),l.\u0275\u0275property("formControl",ut.sourceIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.sourceIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.targetIdentifierSystem),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ut.targetIdentifierValue," "),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.targetIdentifier2System),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ut.targetIdentifier2Value," "),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate1("targetId: ",ut.targetId,""),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inPixmProgress),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ut.targetId.length>0),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.patient),l.\u0275\u0275advance(10),l.\u0275\u0275property("formControl",ut.authenticate),l.\u0275\u0275advance(7),l.\u0275\u0275property("ngIf",ut.getScopes()),l.\u0275\u0275advance(9),l.\u0275\u0275property("dataSource",ut.dataSource),l.\u0275\u0275advance(17),l.\u0275\u0275property("matHeaderRowDef",l.\u0275\u0275pureFunction0(35,at)),l.\u0275\u0275advance(1),l.\u0275\u0275property("matRowDefColumns",l.\u0275\u0275pureFunction0(36,at)),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inMhdQueryProgress),l.\u0275\u0275advance(8),l.\u0275\u0275property("formControl",ut.serviceStartFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceStartTo),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceEndFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceEndTo),l.\u0275\u0275advance(6),l.\u0275\u0275property("ngIf",ut.canTransformToPdf()),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ut.documentDescription),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.documentType),l.\u0275\u0275advance(17),l.\u0275\u0275property("formControl",ut.documentConfidentiality),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ut.masterIdentifier),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.creationTime),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.languageCode),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.iheSourceId),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ut.replaceDocumentReference),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",ut.replaceUuids),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.errMsgAssignPatient),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inMhdUploadProgress),l.\u0275\u0275advance(14),l.\u0275\u0275property("ngIf",ut.errMsg),l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",ut.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,Ce.MatLegacyTable,Ce.MatLegacyHeaderCellDef,Ce.MatLegacyHeaderRowDef,Ce.MatLegacyColumnDef,Ce.MatLegacyCellDef,Ce.MatLegacyRowDef,Ce.MatLegacyHeaderCell,Ce.MatLegacyCell,Ce.MatLegacyHeaderRow,Ce.MatLegacyRow,Re.MatLegacyProgressSpinner,Ae.Highlight,de.UploadComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.display[_ngcontent-%COMP%]{display:inline-block;margin-bottom:10px}.column50[_ngcontent-%COMP%]{width:40%}"]}),et})()},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(h,u){if(1&h&&(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&h){const v=c.\u0275\u0275nextContext();c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(c.\u0275\u0275pipeBind1(4,1,v.patient))}}B.PatientDetailComponent=(()=>{class h{constructor(){}ngOnInit(){}}return h.\u0275fac=function(v){return new(v||h)},h.\u0275cmp=c.\u0275\u0275defineComponent({type:h,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]}),h})()},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),f=n.__importStar(a(5879)),h=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(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Family"),f.\u0275\u0275elementEnd())}function D(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientFamilyName(W))}}function S(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Given"),f.\u0275\u0275elementEnd())}function E(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientGivenNames(W))}}function I(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Birthdate"),f.\u0275\u0275elementEnd())}function X(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientBirthDate(W))}}function $(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Street"),f.\u0275\u0275elementEnd())}function ee(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientAddressLines(W))}}function ie(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"City"),f.\u0275\u0275elementEnd())}function A(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientAddressCity(W))}}function U(de,H){1&de&&f.\u0275\u0275element(0,"mat-header-row")}function Ce(de,H){if(1&de){const W=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-row",16),f.\u0275\u0275listener("click",function(){const Ee=f.\u0275\u0275restoreView(W).$implicit,Be=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Be.selectRow(Ee))}),f.\u0275\u0275elementEnd()}}const Re=function(){return["familyNameCol","givenNamesCol","birthDateCol","addressLinesCol","addressCityCol"]};B.PatientsComponent=(()=>{class de{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 de.\u0275fac=function(W){return new(W||de)(f.\u0275\u0275directiveInject(h.FhirConfigService))},de.\u0275cmp=f.\u0275\u0275defineComponent({type:de,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&&(f.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-form-field")(3,"mat-label"),f.\u0275\u0275text(4,"Name"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(5,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(6," \xa0 "),f.\u0275\u0275elementStart(7,"mat-form-field")(8,"mat-label"),f.\u0275\u0275text(9,"Family"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(10,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(11," \xa0 "),f.\u0275\u0275elementStart(12,"mat-form-field")(13,"mat-label"),f.\u0275\u0275text(14,"Given"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(15,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(16," \xa0 "),f.\u0275\u0275elementEnd()(),f.\u0275\u0275elementStart(17,"mat-card",2)(18,"mat-card-content")(19,"mat-table",3,4),f.\u0275\u0275elementContainerStart(21,5),f.\u0275\u0275template(22,x,2,0,"mat-header-cell",6),f.\u0275\u0275template(23,D,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(24,8),f.\u0275\u0275template(25,S,2,0,"mat-header-cell",6),f.\u0275\u0275template(26,E,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(27,9),f.\u0275\u0275template(28,I,2,0,"mat-header-cell",6),f.\u0275\u0275template(29,X,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(30,10),f.\u0275\u0275template(31,$,2,0,"mat-header-cell",6),f.\u0275\u0275template(32,ee,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(33,11),f.\u0275\u0275template(34,ie,2,0,"mat-header-cell",6),f.\u0275\u0275template(35,A,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275template(36,U,1,0,"mat-header-row",12),f.\u0275\u0275template(37,Ce,1,0,"mat-row",13),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(38,"mat-paginator",14),f.\u0275\u0275listener("page",function(Ee){return pe.goToPage(Ee)}),f.\u0275\u0275elementEnd()()(),f.\u0275\u0275element(39,"app-patient-detail",15)),2&W&&(f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchName),f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchFamily),f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchGiven),f.\u0275\u0275advance(4),f.\u0275\u0275property("dataSource",pe.dataSource),f.\u0275\u0275advance(17),f.\u0275\u0275property("matHeaderRowDef",f.\u0275\u0275pureFunction0(11,Re)),f.\u0275\u0275advance(1),f.\u0275\u0275property("matRowDefColumns",f.\u0275\u0275pureFunction0(12,Re)),f.\u0275\u0275advance(1),f.\u0275\u0275property("pageIndex",pe.pageIndex)("length",pe.length)("pageSize",pe.pageSize)("pageSizeOptions",pe.pageSizeOptions),f.\u0275\u0275advance(1),f.\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]}),de})()},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))),f=n.__importStar(a(7088)),h=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(f.FhirConfigService),r.\u0275\u0275directiveInject(h.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),f=a(9241),h=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),Ce=a(1438),Re=n.__importStar(a(5879)),Ae=[c.CommonModule,r.BrowserModule,g.BrowserAnimationsModule,d.FormsModule,d.ReactiveFormsModule,U.TranslateModule,f.MatLegacyAutocompleteModule,h.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,Ce.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,f.MatLegacyAutocompleteModule,h.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,Ce.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)),f=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,f.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(h=>console.log(h))},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(h){super(),this.tokenSource=h,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(h){}reset(){this.seek(0)}seek(h){this.lazyInit(),this.index=this.adjustSeekIndex(h)}get(h){return this.lazyInit(),this.tokens[h]}consume(){let h=!1;if(h=this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(u)>=u}fetch(h){if(this.fetchedEOF)return 0;for(let u=0;u=this.tokens.length&&(u=this.tokens.length-1);for(let p=h;p=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[u]}adjustSeekIndex(h){return h}lazyInit(){-1===this.index&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(h){this.tokenSource=h,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(h,u){if(this.sync(h),h>=this.tokens.length)return-1;let v=this.tokens[h];for(;v.channel!==this.channel;){if(v.type===n.EOF)return-1;this.sync(h+=1),v=this.tokens[h]}return h}previousTokenOnChannel(h,u){for(;h>=0&&this.tokens[h].channel!==u;)h-=1;return h}getHiddenTokensToRight(h,u){if(void 0===u&&(u=-1),this.lazyInit(),h<0||h>=this.tokens.length)throw h+" not in 0.."+this.tokens.length-1;const v=this.nextTokenOnChannel(h+1,c.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(h+1,-1===v?this.tokens.length-1:v,u)}getHiddenTokensToLeft(h,u){if(void 0===u&&(u=-1),this.lazyInit(),h<0||h>=this.tokens.length)throw h+" not in 0.."+this.tokens.length-1;const v=this.previousTokenOnChannel(h-1,c.DEFAULT_TOKEN_CHANNEL);return v===h-1?null:this.filterForChannel(v+1,h-1,u)}filterForChannel(h,u,v){const b=[];for(let p=h;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,f,h,u,v,b,p,_){const l=new n(r,f,u,v,b);return l.line=p,l.column=_,null!==h?l.text=h:this.copyText&&null!==r[1]&&(l.text=r[1].getText(v,b)),l}createThin(r,f){const h=new n(null,r);return h.text=f,h}}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,f){super(r),this.channel=void 0===f?n.DEFAULT_CHANNEL:f}adjustSeekIndex(r){return this.nextTokenOnChannel(r,this.channel)}LB(r){if(0===r||this.index-r<0)return null;let f=this.index,h=1;for(;h<=r;)f=this.previousTokenOnChannel(f-1,this.channel),h+=1;return f<0?null:this.tokens[f]}LT(r){if(this.lazyInit(),0===r)return null;if(r<0)return this.LB(-r);let f=this.index,h=1;for(;h{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 f=0;f=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 f="";for(let h=g;h<=r;h++)f+=String.fromCodePoint(this.data[h]);return f}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,f){this.start=r,this.stop=f}clone(){return new c(this.start,this.stop)}contains(r){return r>=this.start&&rthis.addInterval(f),this),this}reduce(r){if(r=h.stop?(this.intervals.splice(r+1,1),this.reduce(r)):f.stop>=h.start&&(this.intervals[r]=new c(f.start,h.stop),this.intervals.splice(r+1,1))}}complement(r,f){const h=new d;return h.addInterval(new c(r,f+1)),null!==this.intervals&&this.intervals.forEach(u=>h.removeRange(u)),h}contains(r){if(null===this.intervals)return!1;for(let f=0;fu.start&&r.stop=u.stop?(this.intervals.splice(f,1),f-=1):r.start":"'"+String.fromCharCode(h.start)+"'":"'"+String.fromCharCode(h.start)+"'..'"+String.fromCharCode(h.stop-1)+"'")}return r.length>1?"{"+r.join(", ")+"}":r[0]}toIndexString(){const r=[];for(let f=0;f":h.start.toString():h.start.toString()+".."+(h.stop-1).toString())}return r.length>1?"{"+r.join(", ")+"}":r[0]}toTokenString(r,f){const h=[];for(let u=0;u1?"{"+h.join(", ")+"}":h[0]}elementName(r,f,h){return h===n.EOF?"":h===n.EPSILON?"":r[h]||f[h]}get length(){return this.intervals.map(r=>r.length).reduce((r,f)=>r+f)}}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:f}=a(5516),{RuleTransition:h,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 h 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=h.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=h.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=h.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===h.SKIP){b=!0;break}if(this._type!==h.MORE)break}if(!b)return null===this._token&&this.emit(),this._token}}finally{this._input.release(v)}}skip(){this._type=h.SKIP}more(){this._type=h.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}}h.DEFAULT_MODE=0,h.MORE=-2,h.SKIP=-3,h.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,h.HIDDEN=n.HIDDEN_CHANNEL,h.MIN_CHAR_VALUE=0,h.MAX_CHAR_VALUE=1114111,Ie.exports=h},111:(Ie,B,a)=>{const{Token:n}=a(6205),{ParseTreeListener:c,TerminalNode:d,ErrorNode:g}=a(5829),r=a(9495),{DefaultErrorStrategy:f}=a(2487),h=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 f,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 h(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,f=c.ErrorNodeImpl,h=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 f&&(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 f(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 h 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 h&&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 h(I,X)}}class u extends h{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 h&&I instanceof h)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=h.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 de=new v([ie,ie],Re);return null!==$&&$.set(E,I,de),de}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 Ce=new v(U,A);return null!==$&&$.set(E,I,Ce),Ce}}(E,I,X,$);if(X){if(E instanceof u)return E;if(I instanceof u)return I}return E instanceof h&&(E=new v([E.getParent()],[E.returnState])),I instanceof h&&(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=[],Ce=[];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(h){"4.9.3"!==h&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+h)}addErrorListener(h){this._listeners.push(h)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const h=this.getLiteralNames(),u=this.getSymbolicNames(),v=h.length>u.length?h.length:u.length;this.tokenNames=[];for(let b=0;b";let u=h.text;return null===u&&(u=h.type===n.EOF?"":"<"+h.type+">"),u=u.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+u+"'"}getErrorListenerDispatch(){return new d(this._listeners)}sempred(h,u,v){return!0}precpred(h,u){return!0}get state(){return this._stateNumber}set state(h){this._stateNumber=h}}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(f,h){super(),this.parentCtx=f||null,this.invokingState=h||-1}depth(){let f=0,h=this;for(;null!==h;)h=h.parentCtx,f+=1;return f}isEmpty(){return-1===this.invokingState}getSourceInterval(){return c}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(f){return f.getText()}).join("")}getAltNumber(){return 0}setAltNumber(f){}getChild(f){return null}getChildCount(){return 0}accept(f){return f.visitChildren(this)}toStringTree(f,h){return d.toStringTree(this,f,h)}toString(f,h){f=f||null,h=h||null;let u=this,v="[";for(;null!==u&&u!==h;){if(null===f)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,f,h){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!==f?f:-1,this.stop=void 0!==h?h:-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(h,u){this.grammarType=h,this.maxTokenType=u,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(h,u){return new n(this).LOOK(h,null,u)}nextTokensNoContext(h){return null!==h.nextTokenWithinRule||(h.nextTokenWithinRule=this.nextTokensInContext(h,null),h.nextTokenWithinRule.readOnly=!0),h.nextTokenWithinRule}nextTokens(h,u){return void 0===u?this.nextTokensNoContext(h):this.nextTokensInContext(h,u)}addState(h){null!==h&&(h.atn=this,h.stateNumber=this.states.length),this.states.push(h)}removeState(h){this.states[h.stateNumber]=null}defineDecisionState(h){return this.decisionToState.push(h),h.decision=this.decisionToState.length-1,h.decision}getDecisionState(h){return 0===this.decisionToState.length?null:this.decisionToState[h]}getExpectedTokens(h,u){if(h<0||h>=this.states.length)throw"Invalid state number.";let b=this.nextTokens(this.states[h]);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(h,u){if(null===h){const v={state:null,alt:null,context:null,semanticContext:null};return u&&(v.reachesIntoOuterContext=0),v}{const v={};return v.state=h.state||null,v.alt=void 0===h.alt?null:h.alt,v.context=h.context||null,v.semanticContext=h.semanticContext||null,u&&(v.reachesIntoOuterContext=h.reachesIntoOuterContext||0,v.precedenceFilterSuppressed=h.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 f 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=f.prototype.hashCode,this.equalsForConfigSet=f.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 f&&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=f},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 f(v,b){return v===b||null!==v&&null!==b&&v.equalsForConfigSet(b)}class h{constructor(b){this.configLookup=new c.Set(r,f),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:f,BlockStartState:h,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:Ce,WildcardTransition:Re,PredicateTransition:Ae,PrecedencePredicateTransition:de}=a(6850),{IntervalSet:H}=a(9173),W=a(2905),{LexerActionType:pe,LexerSkipAction:we,LexerChannelAction:Ee,LexerCustomAction:Be,LexerMoreAction:G,LexerTypeAction:re,LexerPushModeAction:ae,LexerPopModeAction:ve,LexerModeAction:He}=a(201),Qe="59627784-3BE5-417A-B9EB-8131A7286089",Ge=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Qe],Ct=Qe;function Nt(Lt,Le){const lt=[];return lt[Lt-1]=Le,lt.map(function(ze){return Le})}const Tt=function Bt(){const Lt=[];for(let Le=0;Le<256;Le++)Lt[Le]=(Le+256).toString(16).substr(1).toUpperCase();return Lt}();Ie.exports=class _t{constructor(Le){null==Le&&(Le=W.defaultOptions),this.deserializationOptions=Le,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Le,lt){const ze=Ge.indexOf(Le);return!(ze<0)&&Ge.indexOf(lt)>=ze}deserialize(Le){this.reset(Le),this.checkVersion(),this.checkUUID();const lt=this.readATN();this.readStates(lt),this.readRules(lt),this.readModes(lt);const ze=[];return this.readSets(lt,ze,this.readInt.bind(this)),this.isFeatureSupported(Qe,this.uuid)&&this.readSets(lt,ze,this.readInt32.bind(this)),this.readEdges(lt,ze),this.readDecisions(lt),this.readLexerActions(lt),this.markPrecedenceDecisions(lt),this.verifyATN(lt),this.deserializationOptions.generateRuleBypassTransitions&<.grammarType===d.PARSER&&(this.generateRuleBypassTransitions(lt),this.verifyATN(lt)),lt}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(Ge.indexOf(Le)<0)throw Ct;this.uuid=Le}readATN(){const Le=this.readInt(),lt=this.readInt();return new c(Le,lt)}readStates(Le){let lt,ze,at;const N=[],oe=[],Y=this.readInt();for(let ce=0;ce0;)N.addTransition(K.transitions[ce-1]),K.transitions=K.transitions.slice(-1);Le.ruleToStartState[lt].addTransition(new Ce(N)),oe.addTransition(new Ce(ne));const Te=new r;Le.addState(Te),Te.addTransition(new X(oe,Le.ruleToTokenType[lt])),N.addTransition(new Ce(Te))}stateIsEndStateFor(Le,lt){if(Le.ruleIndex!==lt||!(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 lt=0;lt=0:ze.transitions.length<=1||ze instanceof p)}}checkCondition(Le,lt){if(!Le)throw null==lt&&(lt="IllegalState"),lt}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 lt=7;lt>=0;lt--){const ze=this.readInt();Le[2*lt+1]=255&ze,Le[2*lt]=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,lt,ze,at,N,oe,Y,ne){const K=Le.states[at];switch(lt){case I.EPSILON:return new Ce(K);case I.RANGE:return new A(K,0!==Y?n.EOF:N,oe);case I.RULE:return new ie(Le.states[N],oe,Y,K);case I.PREDICATE:return new Ae(K,N,oe,0!==Y);case I.PRECEDENCE:return new de(K,N);case I.ATOM:return new X(K,0!==Y?n.EOF:N);case I.ACTION:return new U(K,N,oe,0!==Y);case I.SET:return new $(K,ne[N]);case I.NOT_SET:return new ee(K,ne[N]);case I.WILDCARD:return new Re(K);default:throw"The specified transition type: "+lt+" is not valid."}}stateFactory(Le,lt){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=lt,ze}}lexerActionFactory(Le,lt,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)=>ve.INSTANCE,at[pe.PUSH_MODE]=(N,oe)=>new ae(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](lt,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(h,u){return this.atn=h,this.sharedContextCache=u,this}getCachedContext(h){if(null===this.sharedContextCache)return h;const u=new g;return d(h,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 h extends a{constructor(){return super(),this.stateType=a.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class f 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:f}=a(4280),{PredictionContext:h}=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 f;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 f 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 f&&this.mode===p.mode}toString(){return"mode("+this.mode+")"}}class h 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 h&&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:h,LexerIndexedCustomAction:v,LexerMoreAction:r,LexerTypeAction:c,LexerPushModeAction:d,LexerPopModeAction:g,LexerModeAction:f}},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 f=null;for(let h=0;h{const n=a(3340),{Set:c,BitSet:d,DoubleDict:g}=n,r=a(9800),{ATNState:f,RuleStopState:h}=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:Ce,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 ve=this.computeStartState(we.atnStartState,x.EMPTY,!1);we.precedenceDfa?(we.s0.configs=ve,ve=this.applyPrecedenceFilter(ve),G=this.addDFAState(we,new p(null,ve)),we.setPrecedenceStartState(this.parser.getPrecedence(),G)):(G=this.addDFAState(we,new p(null,ve)),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 ae=this.getExistingTargetState(G,re);if(null===ae&&(ae=this.computeTargetState(H,G,re)),ae===l.ERROR){const ve=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 ve}if(ae.requiresFullContext&&this.predictionMode!==y.SLL){let ve=null;if(null!==ae.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const Qe=pe.index;if(Qe!==we&&pe.seek(we),ve=this.evalSemanticContext(ae.predicates,Ee,!0),1===ve.length)return this.debug&&console.log("Full LL avoided"),ve.minValue();Qe!==we&&pe.seek(Qe)}this.dfa_debug&&console.log("ctx sensitive state "+Ee+" in "+ae);const Ze=this.computeStartState(H.atnStartState,Ee,!0);return this.reportAttemptingFullContext(H,ve,ae.configs,we,pe.index),Be=this.execATNWithFullContext(H,ae,Ze,pe,we,Ee),Be}if(ae.isAcceptState){if(null===ae.predicates)return ae.prediction;const ve=pe.index;pe.seek(we);const He=this.evalSemanticContext(ae.predicates,Ee,!0);if(0===He.length)throw this.noViableAlt(pe,Ee,ae.configs,we);return 1===He.length||this.reportAmbiguity(H,ae,we,ve,!1,He,ae.configs),He.minValue()}G=ae,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 ae,re=!1,ve=pe;we.seek(Ee);let He=we.LA(1),Ze=-1;for(;;){if(ae=this.computeReachSet(ve,He,!0),null===ae){const Ge=this.noViableAlt(we,Be,ve,Ee);we.seek(Ee);const tt=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(ve,Be);if(tt!==r.INVALID_ALT_NUMBER)return tt;throw Ge}const Qe=y.getConflictingAltSubsets(ae);if(this.debug&&console.log("LL altSubSets="+Qe+", predict="+y.getUniqueAlt(Qe)+", resolvesToJustOneViableAlt="+y.resolvesToJustOneViableAlt(Qe)),ae.uniqueAlt=this.getUniqueAlt(ae),ae.uniqueAlt!==r.INVALID_ALT_NUMBER){Ze=ae.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}ve=ae,He!==b.EOF&&(we.consume(),He=we.LA(1))}return ae.uniqueAlt!==r.INVALID_ALT_NUMBER?(this.reportContextSensitivity(H,Ze,ae,Ee,we.index),Ze):(this.reportAmbiguity(H,W,Ee,we.index,re,null,ae),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 h&&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 h){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!==f.STAR_LOOP_ENTRY||W.stateType!==f.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=Ce.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:f}=a(5516),{ATNConfigSet:h}=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 h;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 h(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 f 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 f&&this.precedence===b.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(b){const p=[];return b.values().map(function(_){_ instanceof f&&p.push(_)}),p}}class h extends g{constructor(b,p){super();const _=new n;b instanceof h?b.opnds.map(function(y){_.add(y)}):_.add(b),p instanceof h?p.opnds.map(function(y){_.add(y)}):_.add(p);const l=f.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=f.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:f,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 f 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 h 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:f}=a(7279);Ie.exports=class h{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 f(this).toString()}get states(){return this._states}}},7279:(Ie,B,a)=>{const n=a(3340);class c{constructor(r,f,h){this.dfa=r,this.literalNames=f||[],this.symbolicNames=h||[]}toString(){if(null===this.dfa.s0)return null;let r="";const f=this.dfa.sortedStates();for(let h=0;h"),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 f=(r.isAcceptState?":":"")+"s"+r.stateNumber+(r.requiresFullContext?"^":"");return r.isAcceptState?null!==r.predicates?f+"=>"+n.arrayToString(r.predicates):f+"=>"+r.prediction.toString():f}}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(h,u){return null===h&&(h=-1),null===u&&(u=new n),this.stateNumber=h,this.configs=u,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const h=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(f){super(),this.exactOnly=f=f||!0}reportAmbiguity(f,h,u,v,b,p,_){if(this.exactOnly&&!b)return;const l="reportAmbiguity d="+this.getDecisionDescription(f,h)+": ambigAlts="+this.getConflictingAlts(p,_)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(l)}reportAttemptingFullContext(f,h,u,v,b,p){const _="reportAttemptingFullContext d="+this.getDecisionDescription(f,h)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(_)}reportContextSensitivity(f,h,u,v,b,p){const _="reportContextSensitivity d="+this.getDecisionDescription(f,h)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(_)}getDecisionDescription(f,h){const u=h.decision,v=h.atnStartState.ruleIndex,b=f.ruleNames;if(v<0||v>=b.length)return""+u;const p=b[v]||null;return null===p||0===p.length?""+u:`${u} (${p})`}getConflictingAlts(f,h){if(null!==f)return f;const u=new n;for(let v=0;v{class B{syntaxError(d,g,r,f,h,u){}reportAmbiguity(d,g,r,f,h,u,v){}reportAttemptingFullContext(d,g,r,f,h,u){}reportContextSensitivity(d,g,r,f,h,u){}}class a extends B{constructor(){super()}syntaxError(d,g,r,f,h,u){console.error("line "+r+":"+f+" "+h)}}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,f,h,u){this.delegates.map(v=>v.syntaxError(d,g,r,f,h,u))}reportAmbiguity(d,g,r,f,h,u,v){this.delegates.map(b=>b.reportAmbiguity(d,g,r,f,h,u,v))}reportAttemptingFullContext(d,g,r,f,h,u){this.delegates.map(v=>v.reportAttemptingFullContext(d,g,r,f,h,u))}reportContextSensitivity(d,g,r,f,h,u){this.delegates.map(v=>v.reportContextSensitivity(d,g,r,f,h,u))}}}},2487:(Ie,B,a)=>{const{Token:n}=a(6205),{NoViableAltException:c,InputMismatchException:d,FailedPredicateException:g,ParseCancellationException:r}=a(5858),{ATNState:f}=a(5516),{Interval:h,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=f.INVALID_STATE_NUMBER);if(D.contains(n.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=l._ctx,this.nextTokensState=l._stateNumber);else switch(y.stateType){case f.BLOCK_START:case f.STAR_BLOCK_START:case f.PLUS_BLOCK_START:case f.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(l))return;throw new d(l);case f.PLUS_LOOP_BACK:case f.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 h(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 h(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,f,h=-1;const u=arguments.length;if(!u)return"";let v="";for(;++h1114111||a(b)!==b)throw RangeError("Invalid code point: "+b);b<=65535?g.push(b):(b-=65536,r=55296+(b>>10),f=b%1024+56320,g.push(r,f)),(h+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 f extends r{constructor(){super()}}class u extends f{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),f={toStringTree:function(h,u,v){u=u||null,null!==(v=v||null)&&(u=v.ruleNames);let b=f.getNodeText(h,u);b=n.escapeWhitespace(b,!1);const p=h.getChildCount();if(0===p)return b;let _="("+b+" ";p>0&&(b=f.toStringTree(h.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 f(A){return"string"!=typeof A&&(A=String(A)),A}function h(A){var U={next:function(){var Ce=A.shift();return{done:void 0===Ce,value:Ce}}};return n_iterable&&(U[Symbol.iterator]=function(){return U}),U}function u(A){this.map={},A instanceof u?A.forEach(function(U,Ce){this.append(Ce,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,Ce){A.onload=function(){U(A.result)},A.onerror=function(){Ce(A.error)}})}function p(A){var U=new FileReader,Ce=b(U);return U.readAsArrayBuffer(A),Ce}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,Ce=b(U);return U.readAsText(A),Ce}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function l(A){for(var U=new Uint8Array(A),Ce=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)&&Ce)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(Ce)}function I(A){var U=new FormData;return A.trim().split("&").forEach(function(Ce){if(Ce){var Re=Ce.split("="),Ae=Re.shift().replace(/\+/g," "),de=Re.join("=").replace(/\+/g," ");U.append(decodeURIComponent(Ae),decodeURIComponent(de))}}),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(":"),de=Ae.shift().trim();if(de){var H=Ae.join(":").trim();U.append(de,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,Ce){this.message=U,this.name=Ce;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(Ce,Re){var Ae=new E(A,U);if(Ae.signal&&Ae.signal.aborted)return Re(new a.DOMException("Aborted","AbortError"));var de=new XMLHttpRequest;function H(){de.abort()}de.onload=function(){var W={status:de.status,statusText:de.statusText,headers:X(de.getAllResponseHeaders()||"")};W.url="responseURL"in de?de.responseURL:W.headers.get("X-Request-URL"),Ce(new $("response"in de?de.response:de.responseText,W))},de.onerror=function(){Re(new TypeError("Network request failed"))},de.ontimeout=function(){Re(new TypeError("Network request failed"))},de.onabort=function(){Re(new a.DOMException("Aborted","AbortError"))},de.open(Ae.method,Ae.url,!0),"include"===Ae.credentials?de.withCredentials=!0:"omit"===Ae.credentials&&(de.withCredentials=!1),"responseType"in de&&n_blob&&(de.responseType="blob"),Ae.headers.forEach(function(W,pe){de.setRequestHeader(pe,W)}),Ae.signal&&(Ae.signal.addEventListener("abort",H),de.onreadystatechange=function(){4===de.readyState&&Ae.signal.removeEventListener("abort",H)}),de.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),f=Number(g);return r.setDate(r.getDate()+f),r}},6888:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var f=Number(r);return n(g,36e5*f)}},3895:(Ie,B,a)=>{var n=a(1420);Ie.exports=function c(d,g){var r=n(d).getTime(),f=Number(g);return new Date(r+f)}},3745:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var f=Number(r);return n(g,6e4*f)}},1277:(Ie,B,a)=>{var n=a(1420),c=a(7255);Ie.exports=function d(g,r){var f=n(g),h=Number(r),u=f.getMonth()+h,v=new Date(0);v.setFullYear(f.getFullYear(),u,1),v.setHours(0,0,0,0);var b=c(v);return f.setMonth(u,Math.min(b,f.getDate())),f}},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(),f=g.getMonth(),h=new Date(0);return h.setFullYear(r,f+1,0),h.setHours(0,0,0,0),h.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,f=/[T ]/,h=/:/,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(f);if(h.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 Ce(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),ve=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 ae=parseInt(we[2],10);return Ee.setUTCFullYear(pe,Be,ae),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(ve){var Qe,He=ve.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 de(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 Ge=He+Ze,tt=new Date(Ge);Qe=n(tt);var Ct=new Date(Ge);Ct.setDate(tt.getDate()+1);var Nt=n(Ct)-n(tt);Nt>0&&(Qe+=Nt)}return new Date(He+Ze+Qe)}return new Date(W)}},563:(Ie,B,a)=>{B.formatArgs=function c(h){if(h[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+h[0]+(this.useColors?"%c ":" ")+"+"+Ie.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;h.splice(1,0,u,"color: inherit");let v=0,b=0;h[0].replace(/%[a-zA-Z%]/g,p=>{"%%"!==p&&(v++,"%c"===p&&(b=v))}),h.splice(b,0,u)},B.save=function d(h){try{h?B.storage.setItem("debug",h):B.storage.removeItem("debug")}catch{}},B.load=function g(){let h;try{h=B.storage.getItem("debug")}catch{}return!h&&typeof process<"u"&&"env"in process&&(h=process.env.DEBUG),h},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 h=!1;return()=>{h||(h=!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:f}=Ie.exports;f.j=function(h){try{return JSON.stringify(h)}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 Ce=g.formatters[U];return"function"==typeof Ce&&(A=Ce.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 h(){const _=[...g.names.map(v),...g.skips.map(v).map(l=>"-"+l)].join(",");return g.enable(""),_},g.enable=function f(_){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,f){try{return[decodeURIComponent(r.join(""))]}catch{}if(1===r.length)return r;var h=r.slice(0,f=f||1),u=r.slice(f);return Array.prototype.concat.call([],c(h),c(u))}function d(r){try{return decodeURIComponent(r)}catch{for(var f=r.match(a)||[],h=1;h"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 f=Object.keys(d)[0];return void 0!==r.find(u=>u[f]===d[f])}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),f=a(7681),h=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 f(this),this.pagination=new h(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((Ce,Re)=>{function Ae(de){U.push(de)===$.numJobs&&Re(new Error(U.map(H=>H.message).join("; ")))}E.httpClient.request("GET",`${X}.well-known/smart-configuration`,ie.addSignalOption(I)).then(de=>($.safeAbortOthers(ie),Ce(g(de)))).catch(de=>Ae(de)),E.capabilityStatement(ee.addSignalOption(I)).then(de=>($.safeAbortOthers(ee),Ce(d(de)))).catch(de=>Ae(de)),E.httpClient.request("GET",`${X}.well-known/openid-configuration`,A.addSignalOption(I)).then(de=>($.safeAbortOthers(A),Ce(g(de)))).catch(de=>Ae(de))})})()}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 f=0,h=this.numJobs;f{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"},f="__response",h="__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[f]}static requestFor(D){return D[h]}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 Ce=yield ie.text();let Re={};if(Ce)try{Re=JSON.parse(Ce)}catch{throw Re=Ce,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,f,{writable:!1,enumerable:!1,value:ie}),Object.defineProperty(Re,h,{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 f(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 h(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:f,options:h={}}={}){var u=this;return n(function*(){return void 0===r?g.startsWith("http")?u.resolveAbsoluteReference(g,d(h,f)):u.client.httpClient.get(g,d(h,f)):g.startsWith("#")?u.resolveContainedReference(g,r):u.resolveBundleReference(g,r,d(h,f))})()}resolveAbsoluteReference(g,r){var f=this;return n(function*(){if(g.startsWith(f.client.baseUrl))return f.client.httpClient.get(g,r);const{baseUrl:h,resourceType:u,id:v}=c(g);return new(a(8907))({baseUrl:h}).read({resourceType:u,id:v,options:r})})()}resolveContainedReference(g,r){if(r.contained){const f=g.slice(1),h=r.contained.find(u=>u.id===f);if(h)return h}throw new Error(`Unable to resolve contained reference: ${g}`)}resolveBundleReference(g,r,f){var h=this;return n(function*(){const u=new RegExp(`(^|/)${g}$`),v=r.entry.find(b=>u.test(b.fullUrl));return v?v.resource:h.resolve({reference:g,options:f})})()}}},6686:(Ie,B,a)=>{const{logError:c}=a(1566);Ie.exports={authFromCapability:function d(r){const f={};try{return r.rest.forEach(h=>{h.security.extension.find(v=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===v.url).extension.forEach(v=>{switch(v.url){case"authorize":f.authorizeUrl=new URL(v.valueUri);break;case"token":f.tokenUrl=new URL(v.valueUri);break;case"register":f.registerUrl=new URL(v.valueUri);break;case"manage":f.manageUrl=new URL(v.valueUri)}})}),f}catch(h){return c(h),f}},authFromWellKnown:function g(r){const{authorization_endpoint:f,token_endpoint:h,registration_endpoint:u}=r;return{authorizeUrl:f&&new URL(f),tokenUrl:h&&new URL(h),registerUrl:u&&new URL(u)}}}},9047:(Ie,B,a)=>{const n=a(133),{fhirReferenceRegEx:c}=a(4115);Ie.exports={createQueryString:function r(f){if(f instanceof Object&&Object.keys(f).length>0)return n.stringify(f)},splitReference:function d(f){if(!f.match(c))throw new Error(`${f} is not a recognized FHIR reference`);let h,u=f;f.startsWith("http")&&([,h]=c.exec(f),u=f.slice(h.length),h.endsWith("/")&&(h=h.slice(0,-1)));const[v,b]=u.split("/");return{baseUrl:h,resourceType:v,id:b}},validResourceType:function g(f){return!f.startsWith("/")&&!f.includes(":")&&/\S/.test(f)}}},4258:(Ie,B,a)=>{let n={};const c=a(7353),d=a(5117),g=a(5827);n.aggregateMacro=function(r,f,h){return r.reduce((u,v,b)=>(this.$index=b,this.$total=f(v)),this.$total=h)},n.countFn=function(r){return r&&r.length?r.length:0},n.sumFn=function(r){return n.aggregateMacro.apply(this,[r,f=>c.plus(g.arraify(f),g.arraify(this.$total)),0])},n.minFn=function(r){return n.aggregateMacro.apply(this,[r,f=>{const h=g.arraify(f),u=g.arraify(this.$total);return g.isEmpty(u)||d.lt(h,u)?h:u}])},n.maxFn=function(r){return n.aggregateMacro.apply(this,[r,f=>{const h=g.arraify(f),u=g.arraify(this.$total);return g.isEmpty(u)||d.gt(h,u)?h: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 f=0;f1)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 f=[];const h=g.length;let u=r.length;if(h&&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[_]&&(f.push(p),v[_]=!1,u--)}}return f},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,f=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 f(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,f=Object.keys,h=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(h(y)||h(x))return p(y=h(y)?r.call(y):y,x=h(x)?r.call(x):x,D);try{var I=f(y),X=f(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,f=d.FP_DateTime;var h={};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?f:p.constructor,y=_.constructor===r?f:_.constructor;return l!==y&&n.raiseError('Type of "'+p+'" ('+l.name+') did not match type of "'+_+'" ('+y.name+")","InequalityExpression"),[p,_]}h.equal=function(p,_){return u(p,_)},h.unequal=function(p,_){var l=u(p,_);return void 0===l?void 0:!l},h.equival=function(p,_){return v(p,_)},h.unequival=function(p,_){return!v(p,_)},h.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},h.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},h.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=h},631:(Ie,B,a)=>{const n=a(5827),{whereMacro:c,distinctFn:d}=a(5073),g=a(6777),r=a(6190),f={};function h(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}f.emptyFn=n.isEmpty,f.notFn=function(u){let v=g.singleton(u,"Boolean");return"boolean"==typeof v?!v:[]},f.existsMacro=function(u,v){var b=u;return v?f.existsMacro(c(u,v)):!n.isEmpty(b)},f.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={},f=a(631),h=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 Ce=A.makeResNode;function Re(re,ae,ve,He){if("Expr"===ve)return function(Qe){return re.$this=d.arraify(Qe),r.doEval(re,re.$this,He)};if("AnyAtRoot"===ve)return re.$this=re.$this||re.dataRoot,r.doEval(re,re.$this,He);if("Identifier"===ve){if("TermExpression"===He.type)return He.text;throw new Error("Expected identifier node, got "+JSON.stringify(He))}if("TypeSpecifier"===ve)return r.TypeSpecifier(re,ae,He);re.$this=ae;const Ze=r.doEval(re,ae,He);if("Any"===ve)return Ze;if(Array.isArray(ve)){if(0===Ze.length)return[];ve=ve[0]}return b.singleton(Ze,ve)}function de(re){return null==re||d.isEmpty(re)}function H(re,ae,ve,He){var Ze=r.invocationTable[ae];if(Ze&&Ze.fn){var Qe=He?He.length:0;if(2!==Qe)throw new Error("Infix invoke should have arity 2");var Ge=Ze.arity[Qe];if(Ge){for(var tt=[],Ct=0;CtCt?.__path__?Ce(Ct,Ct?.__path__):Ct),Ge={context:Qe,ucum:"http://unitsofmeasure.org"};ve&&(ve=Object.keys(ve).reduce((Ct,Nt)=>(Ct[Nt]=Array.isArray(ve[Nt])?ve[Nt].map(_t=>_t?.__path__?Ce(_t,_t.__path__):_t):ve[Nt]?.__path__?Ce(ve[Nt],ve[Nt].__path__):ve[Nt],Ct),{}));let tt={dataRoot:Qe,vars:Object.assign(Ge,ve),model:He};return Ze&&Ze.traceFn&&(tt.customTraceFn=Ze.traceFn),r.doEval(tt,Qe,ae.children[0]).map(Ct=>{let Nt=Ct instanceof A?Ct.path:null;return(Ct=d.valData(Ct))instanceof ie&&Ze.resolveInternalTypes&&(Ct=Ct.toString()),Nt&&"object"==typeof Ct&&Object.defineProperty(Ct,"__path__",{value:Nt}),Ct})}function Be(re,ae,ve){if(ve={resolveInternalTypes:!0,...ve},"object"==typeof re){const He=W(re.expression);return function(Ze,Qe){const Ge=re.base?Ce(Ze,re.base):Ze;return U.model=ae,pe(Ge,He,Qe,ae,ve)}}{const He=W(re);return function(Ze,Qe){return U.model=ae,pe(Ze,He,Qe,ae,ve)}}}r.invocationTable={empty:{fn:f.emptyFn},not:{fn:f.notFn},exists:{fn:f.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:f.allMacro,arity:{1:["Expr"]}},allTrue:{fn:f.allTrueFn},anyTrue:{fn:f.anyTrueFn},allFalse:{fn:f.allFalseFn},anyFalse:{fn:f.anyFalseFn},subsetOf:{fn:f.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:f.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:f.isDistinctFn},distinct:{fn:h.distinctFn},count:{fn:u.countFn},where:{fn:h.whereMacro,arity:{1:["Expr"]}},extension:{fn:h.extension,arity:{1:["String"]}},select:{fn:h.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:h.singleFn},first:{fn:h.firstFn},last:{fn:h.lastFn},type:{fn:E.typeFn,arity:{0:[]}},ofType:{fn:h.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:E.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:E.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:h.tailFn},take:{fn:h.takeFn,arity:{1:["Integer"]}},skip:{fn:h.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:h.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,ae,ve){return ve.children.reduce(function(He,Ze){return r.doEval(re,He,Ze)},ae)},r.TermExpression=function(re,ae,ve){return ae&&(ae=ae.map(He=>He instanceof Object&&He.resourceType?Ce(He,He.resourceType):He)),r.doEval(re,ae,ve.children[0])},r.PolarityExpression=function(re,ae,ve){var He=ve.terminalNodeText[0],Ze=r.doEval(re,ae,ve.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,ae,ve){let He,Ze;const Qe=ve.text.split(".").map(Ge=>Ge.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(ve))}return new U({namespace:He,name:Ze})},r.ExternalConstantTerm=function(re,ae,ve){var Qe=r.Identifier(re,ae,ve.children[0].children[0])[0],Ge=re.vars[Qe];if(!(Qe in re.vars))throw new Error("Attempting to access an undefined environment variable: "+Qe);return null==Ge?[]:Ge instanceof Array?Ge:[Ge]},r.LiteralTerm=function(re,ae,ve){var He=ve.children[0];return He?r.doEval(re,ae,He):[ve.text]},r.StringLiteral=function(re,ae,ve){var He=ve.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,ae,ve){return"true"===ve.text?[!0]:[!1]},r.QuantityLiteral=function(re,ae,ve){var He=ve.children[0],Ze=Number(He.terminalNodeText[0]),Qe=He.children[0],Ge=Qe.terminalNodeText[0];return!Ge&&Qe.children&&(Ge=Qe.children[0].terminalNodeText[0]),[new ee(Ze,Ge)]},r.DateTimeLiteral=function(re,ae,ve){var He=ve.text.slice(1);return[new X(He)]},r.TimeLiteral=function(re,ae,ve){var He=ve.text.slice(1);return[new $(He)]},r.NumberLiteral=function(re,ae,ve){return[Number(ve.text)]},r.Identifier=function(re,ae,ve){return[ve.text.replace(/(^`|`$)/g,"")]},r.InvocationTerm=function(re,ae,ve){return r.doEval(re,ae,ve.children[0])},r.MemberInvocation=function(re,ae,ve){const He=r.doEval(re,ae,ve.children[0])[0],Ze=re.model;if(ae){if(d.isCapitalized(He))return ae.filter(Qe=>Qe instanceof A&&Qe.path===He);{const Qe=ae.path||ae.__path__;return ae.reduce(function(Ge,tt){var Ct=(tt=Ce(tt,Qe)).path+"."+He;if(Ze){let Tt=Ze.pathsDefinedElsewhere[Ct];Tt&&(Ct=Tt)}let Nt,_t,Bt=Ze&&Ze.choiceTypePaths[Ct];if(Bt)for(let Tt of Bt){let Lt=He+Tt;if(Nt=tt.data?.[Lt],_t=tt.data?.["_"+Lt],void 0!==Nt||void 0!==_t){Ct+=Tt;break}}else Nt=tt.data?.[He],_t=tt.data?.["_"+He],void 0===Nt&&void 0===_t&&(Nt=tt._data[He]),"extension"===He&&(Ct="Extension");return Ct=Ze&&Ze.path2Type[Ct]||Ct,(d.isSome(Nt)||d.isSome(_t))&&(Array.isArray(Nt)?Ge=Ge.concat(Nt.map((Tt,Lt)=>Ce(Tt,Ct,_t&&_t[Lt]))):Ge.push(Ce(Nt,Ct,_t))),Ge},[])}}return[]},r.IndexerExpression=function(re,ae,ve){const Ze=ve.children[1];var Qe=r.doEval(re,ae,ve.children[0]),Ge=r.doEval(re,ae,Ze);if(d.isEmpty(Ge))return[];var tt=parseInt(Ge[0]);return Qe&&d.isSome(tt)&&Qe.length>tt&&tt>=0?[Qe[tt]]:[]},r.Functn=function(re,ae,ve){return ve.children.map(function(He){return r.doEval(re,ae,He)})},r.realizeParams=function(re,ae,ve){return ve&&ve[0]&&ve[0].children?ve[0].children.map(function(He){return r.doEval(re,ae,He)}):[]},r.FunctionInvocation=function(re,ae,ve){var He=r.doEval(re,ae,ve.children[0]);const Ze=He[0];return He.shift(),function Ae(re,ae,ve,He){var Qe,Ze=r.invocationTable[ae];if(Ze){if(Ze.arity){var Ge=He?He.length:0,tt=Ze.arity[Ge];if(tt){for(var Ct=[],Nt=0;Nt{const ve=U.fromValue(ae?.__path__?new A(ae,ae.__path__):ae);return`${ve.namespace}.${ve.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(f,h){return!1===f||f?n.flatten(f.filter((u,v)=>(this.$index=v,h(u)[0]))):[]},extension:function(f,h){return!1!==f&&!f||!h?[]:n.flatten(f.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===h).map(p=>d.makeResNode(p,"Extension")):[]}))},selectMacro:function(f,h){return!1===f||f?n.flatten(f.map((u,v)=>(this.$index=v,h(u)))):[]},repeatMacro:function(f,h){if(!1!==f&&!f)return[];let u=[];const v={},b=f.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(h))},distinctFn:function(f){let h=[];if(f.length>0){let u={};for(let v=0,b=f.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 h(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(h):Object.keys(u).sort().reduce((v,b)=>(v[b]=h(u[b]),v),{}):u}Ie.exports=function f(u){return JSON.stringify(h(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 f(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 h(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(h(u))return[];{let v=f(u);return Math.abs(v)}},r.ceiling=function(u){if(h(u))return[];{let v=f(u);return Math.ceil(v)}},r.exp=function(u){if(h(u))return[];{let v=f(u);return Math.exp(v)}},r.floor=function(u){if(h(u))return[];{let v=f(u);return Math.floor(v)}},r.ln=function(u){if(h(u))return[];{let v=f(u);return Math.log(v)}},r.log=function(u,v){if(h(u)||h(v))return[];{let b=f(u),p=f(v);return Math.log(b)/Math.log(p)}},r.power=function(u,v){if(h(u)||h(v))return[];{let b=f(u),p=f(v);return b<0&&Math.floor(p)!=p?[]:Math.pow(b,p)}},r.round=function(u,v){if(h(u))return[];{let b=f(u);if(h(v))return Math.round(b);{let p=f(v),_=Math.pow(10,p);return Math.round(b*_)/_}}},r.sqrt=function(u){if(h(u))return[];{let v=f(u);return v<0?[]:Math.sqrt(v)}},r.truncate=function(u){if(h(u))return[];{let v=f(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 f=/^((\+|-)?\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=f.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 f=this.model;return r.reduce(function(h,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(f){let l=f.pathsDefinedElsewhere[_];l&&(_=l)}Array.isArray(p)?h.push.apply(h,p.map(l=>d(l,_))):h.push(d(p,_))}return h}return h},[])},descendants:function(r){for(var f=g.children.call(this,r),h=[];f.length>0;)h.push.apply(h,f),f=g.children.call(this,f);return h}};Ie.exports=g},4192:Ie=>{let B={};function a(g){const f=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +g);if(!f)return 0;const h=f[2];return Math.max(0,("0"===h?0:(h||"").length)-(f[3]||0))}function n(g,r){const f=Math.pow(10,r);return Math.round(g*f)/f}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 f=Math.min(a(g),a(r));return 0===f?Math.round(g)===Math.round(r):n(g,f)===n(r,f)},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((h,u)=>new c.dfa.DFA(h,u));class f extends c.Lexer{constructor(u){super(u),this._interp=new c.atn.LexerATNSimulator(this,g,r,new c.PredictionContextCache)}get atn(){return g}}n(f,"grammarFileName","FHIRPath.g4"),n(f,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),n(f,"modeNames",["DEFAULT_MODE"]),n(f,"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(f,"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(f,"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"]),f.EOF=c.Token.EOF,f.T__0=1,f.T__1=2,f.T__2=3,f.T__3=4,f.T__4=5,f.T__5=6,f.T__6=7,f.T__7=8,f.T__8=9,f.T__9=10,f.T__10=11,f.T__11=12,f.T__12=13,f.T__13=14,f.T__14=15,f.T__15=16,f.T__16=17,f.T__17=18,f.T__18=19,f.T__19=20,f.T__20=21,f.T__21=22,f.T__22=23,f.T__23=24,f.T__24=25,f.T__25=26,f.T__26=27,f.T__27=28,f.T__28=29,f.T__29=30,f.T__30=31,f.T__31=32,f.T__32=33,f.T__33=34,f.T__34=35,f.T__35=36,f.T__36=37,f.T__37=38,f.T__38=39,f.T__39=40,f.T__40=41,f.T__41=42,f.T__42=43,f.T__43=44,f.T__44=45,f.T__45=46,f.T__46=47,f.T__47=48,f.T__48=49,f.T__49=50,f.T__50=51,f.T__51=52,f.T__52=53,f.T__53=54,f.DATETIME=55,f.TIME=56,f.IDENTIFIER=57,f.DELIMITEDIDENTIFIER=58,f.STRING=59,f.NUMBER=60,f.WS=61,f.COMMENT=62,f.LINE_COMMENT=63,Ie.exports=f},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),f=r.decisionToState.map((at,N)=>new c.dfa.DFA(at,N)),h=new c.PredictionContextCache;class u extends c.Parser{constructor(N){super(N),this._interp=new c.atn.ParserATNSimulator(this,r,f,h),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),K=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,K=ne,this.state=34,this.term();break;case u.T__3:case u.T__4:ne=new _(this,ne),this._ctx=ne,K=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 et=this._interp.adaptivePredict(this._input,2,this._ctx);2!=et&&et!=c.atn.ATN.INVALID_ALT_NUMBER;){if(1===et)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),K=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(ve,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 Ce extends U{constructor(N,oe){super(N),super.copyFrom(oe)}externalConstant(){return this.getTypedRuleContext(ae,0)}enterRule(N){N instanceof d&&N.enterExternalConstantTerm(this)}exitRule(N){N instanceof d&&N.exitExternalConstantTerm(this)}}u.ExternalConstantTermContext=Ce;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 de extends U{constructor(N,oe){super(N),super.copyFrom(oe)}invocation(){return this.getTypedRuleContext(ve,0)}enterRule(N){N instanceof d&&N.enterInvocationTerm(this)}exitRule(N){N instanceof d&&N.exitInvocationTerm(this)}}u.InvocationTermContext=de;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(_t,0)}enterRule(N){N instanceof d&&N.enterQuantityLiteral(this)}exitRule(N){N instanceof d&&N.exitQuantityLiteral(this)}}u.QuantityLiteralContext=re;class ae 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 ve 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 ve{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 ve{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 ve{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 Ge extends ve{constructor(N,oe){super(N),super.copyFrom(oe)}functn(){return this.getTypedRuleContext(Ct,0)}enterRule(N){N instanceof d&&N.enterFunctionInvocation(this)}exitRule(N){N instanceof d&&N.exitFunctionInvocation(this)}}u.FunctionInvocationContext=Ge;class tt extends ve{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 Ct 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(Nt,0)}enterRule(N){N instanceof d&&N.enterFunctn(this)}exitRule(N){N instanceof d&&N.exitFunctn(this)}}class Nt 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 _t 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(Lt,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 Lt 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(lt,0)}enterRule(N){N instanceof d&&N.enterTypeSpecifier(this)}exitRule(N){N instanceof d&&N.exitTypeSpecifier(this)}}class lt 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=ae,u.InvocationContext=ve,u.FunctnContext=Ct,u.ParamListContext=Nt,u.QuantityContext=_t,u.UnitContext=Bt,u.DateTimePrecisionContext=Tt,u.PluralDateTimePrecisionContext=Lt,u.TypeSpecifierContext=Le,u.QualifiedIdentifierContext=lt,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(h){var u=new n.InputStream(h),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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.indexOf(u)},d.substring=function(h,u,v){const b=c.singleton(h,"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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.startsWith(u)},d.endsWith=function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.endsWith(u)},d.containsFn=function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.includes(u)},d.upper=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.toUpperCase()},d.lower=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.toLowerCase()},d.joinFn=function(h,u){return void 0===u&&(u=""),h.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(h,u){const v=c.singleton(h,"String");return n.isEmpty(v)?[]:v.split(u)},d.trimFn=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.trim()},d.encodeFn=function(h,u){const v=c.singleton(h,"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(h,u){const v=c.singleton(h,"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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(u,"s").test(v)}:function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(function r(h){return g[h]||(g[h]=h.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[h]}(u)).test(v)},d.replace=function(h,u,v){const b=c.singleton(h,"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(h,u,v){const b=c.singleton(h,"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(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.length},d.toChars=function(h){const u=c.singleton(h,"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 f="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",h=new RegExp("^T?"+f+"$"),u=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+f+")?)?)?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 Ce=p.toUcumQuantity(this.value,this.unit),Re=p.toUcumQuantity(A.value,A.unit),Ae=d.convertUnitTo(Re.unit,Re.value,Ce.unit);return"succeeded"===Ae.status&&g.isEqual(Ce.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),Ce=p.getEquivalentUcumUnitCode(A.unit),Re=d.convertUnitTo(Ce,A.value,U);return"succeeded"===Re.status&&g.isEquivalent(this.value,Re.toVal)}_compareYearsAndMonths(A){const U=p._yearMonthConversionFactor[this.unit],Ce=p._yearMonthConversionFactor[A.unit];return U&&Ce?{isEqual:g.isEqual(this.value*U,A.value*Ce)}: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 Ce=p._yearMonthConversionFactor[ie],Re=p._yearMonthConversionFactor[U];if(Ce&&Re)return new p(Ce*A/Re,U);const Ae=p._calendarDuration2Seconds[ie],de=p._calendarDuration2Seconds[U];if(de){if(Ae)return new p(Ae*A/de,U);{const H=d.convertUnitTo(ie.replace(/^'|'$/g,""),A,"s");if("succeeded"===H.status)return new p(H.toVal/de,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 Ce=p.arithmeticDurationUnits[A.unit];if(!Ce)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[Ce];if(void 0===Ae)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(Re._timeUnitToDatePrecision).join(", ")+".");let de=A.value;const H=Re===x;if((H?Ae<2:Ae<5)&&(de=Math.trunc(de)),this._getPrecision()2?new y(de)._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(),Ce=A._getPrecision(),Re=U<=Ce?this._getDateObj().getTime():this._dateAtPrecision(Ce).getTime(),Ae=Ce<=U?A._getDateObj().getTime():A._dateAtPrecision(U).getTime();return U!==Ce&&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 Ce=U;Ce>=0&&void 0===this.precision;--Ce)this.timeMatchData[Ce]&&(this.precision=Ce);return this.timeMatchData}_getTimeParts(A){var U=[];U=[A[0]];var Ce=A[4];if(Ce){let H=U[0];U[0]=H.slice(0,H.length-Ce.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 de=A[3];de&&(U[2]=Ae.slice(0,Ae.length-de.length),U[3]=de)}}return U}_getDateObj(){if(!this.dateObj){var A=this._getPrecision();this.dateObj=this._dateAtPrecision(A)}return this.dateObj}_createDate(A,U,Ce,Re,Ae,de,H,W){var pe=new Date(A,U,Ce,Re,Ae,de,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 Ce=this._getMatchData(),Re=Ce[0];this.timeParts=[Re];var U=Ce[1];if(U){this.timeParts[0]=Re.slice(0,Re.length-U.length),this.timeParts[1]=U;let Ae=Ce[2];if(Ae){this.timeParts[1]=U.slice(0,U.length-Ae.length),this.timeParts[2]=Ae;let de=Ce[3];de&&(this.timeParts[2]=Ae.slice(0,Ae.length-de.length),"T"===de[0]&&(Ce[3]=de.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(Ce.slice(3))))}}}return this.timeParts}_dateAtPrecision(U){var Ce=this._getTimeParts(),Re=this._getMatchData()[7],Ae=this._getPrecision(),de=parseInt(Ce[0]),H=Ae>0?parseInt(Ce[1].slice(1))-1:0,W=Ae>1?parseInt(Ce[2].slice(1)):1,pe=Ae>2?parseInt(Ce[3]):0,we=Ae>3?parseInt(Ce[4].slice(1)):0,Ee=Ae>4?parseInt(Ce[5].slice(1)):0,Be=Ce.length>6?parseInt(Ce[6].slice(1)):0,G=this._createDate(de,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(de,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 Ce=this._getTimeParts(),Re=this._getMatchData()[4],Ae=this._getPrecision(),pe=parseInt(Ce[0]),we=Ae>0?parseInt(Ce[1].slice(1)):0,Ee=Ae>1?parseInt(Ce[2].slice(1)):0,Be=Ce.length>3?parseInt(Ce[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(h,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 Ce=ie.getTimezoneOffset(),Re=Ce<0?"+":"-",Ae=(Ce=Math.abs(Ce))%60;U+=Re+D((Ce-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,Ce,Re){U?.resourceType&&(Ce=U.resourceType),this.path=Ce,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,Ce){return A instanceof ie?A:new ie(A,U,Ce)},ie})(),I=(()=>{class ie{constructor({name:U,namespace:Ce}){this.name=U,this.namespace=Ce}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 Ce=typeof U;return Number.isInteger(U)?Ce="integer":"number"===Ce?Ce="decimal":U instanceof S?Ce="date":U instanceof y?Ce="dateTime":U instanceof x?Ce="time":U instanceof p&&(Ce="Quantity"),A===ie.System&&(Ce=Ce.replace(/^\w/,Re=>Re.toUpperCase())),new ie({namespace:A,name:Ce})},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:h,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,f){let h=this.valData(g);if(r.indexOf(typeof h)<0){let u=r.length>1?"one of "+r.join(", "):r[0];n.raiseError("Found type '"+typeof g+"' but was expecting "+u,f)}return h},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,f){return Array.isArray(f)?r=r.concat(f):r.push(f),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(f,h){return g[0]===h?"[Circular ~]":"[Circular ~."+r.slice(0,g.indexOf(h)).join(".")+"]"}),function(f,h){if(g.length>0){var u=g.indexOf(this);~u?g.splice(u+1):g.push(this),~u?r.splice(u,1/0,f):r.push(f),~g.indexOf(h)&&(h=d.call(this,f,h))}else g.push(h);return null==c?h:c.call(this,f,h)}}(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 h(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 f(u){return h(u,c,"day")||h(u,n,"hour")||h(u,a,"minute")||h(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),f=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(Ce=>p(Ce,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 h(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,[f]:!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[f]?b(E.fragmentIdentifier,I):E.fragmentIdentifier}`),`${X}${A}${U}`},B.pick=(E,I,X)=>{X=Object.assign({parseFragmentIdentifier:!0,[f]:!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:f}=this;if(g)throw r;return this._throwIfClosed(),f}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),f=a(4674),h=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,f.m)(_.next)&&(0,f.m)(_.error)&&(0,f.m)(_.complete)}(_)&&(0,c.Nn)(_)}(y)?y:new n.Hp(y,x,D);return(0,h.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,f=1/0,h=c.l){super(),this._bufferSize=r,this._windowTime=f,this._timestampProvider=h,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=f===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,f)}next(r){const{isStopped:f,_buffer:h,_infiniteTimeWindow:u,_timestampProvider:v,_windowTime:b}=this;f||(h.push(r),!u&&h.push(v.now()+b)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const f=this._innerSubscribe(r),{_infiniteTimeWindow:h,_buffer:u}=this,v=u.slice();for(let b=0;b{"use strict";a.d(B,{x:()=>h});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),f=a(1441);let h=(()=>{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,f.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const _ of this.currentObservers)_.next(p)}})}error(p){(0,f.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:_}=this;for(;_.length;)_.shift().error(p)}})}complete(){(0,f.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 h{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 f=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 h($){return v("E",void 0,$)}(ee),this):(this.isStopped=!0,this._error(ee))}complete(){this.isStopped?I(f,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 Ce;this&&d.config.useDeprecatedNextContext?(Ce=Object.create(ee),Ce.unsubscribe=()=>this.unsubscribe(),U={next:ee.next&&y(ee.next,Ce),error:ee.error&&y(ee.error,Ce),complete:ee.complete&&y(ee.complete,Ce)}):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:()=>f,w0:()=>r,Nn:()=>h});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 f=r.EMPTY;function h(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:()=>f});var n=a(5592),c=a(7394),d=a(6196),g=a(8251),r=a(9360);class f 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),f=a(9940),h=a(2714),u=a(8251),v=a(7103);function b(...l){const y=(0,f.yG)(l),x=(0,f.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,h.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),f=a(7400),h=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,h.n)(_,D):D),y.complete())}))}});return b?l.pipe((0,f.Z)(b)):l}},2459:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>ee});var n=a(4829),c=a(3093),d=a(5137),f=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 f.y(U=>{(0,b.f)(U,A,()=>{const Ce=ie[Symbol.asyncIterator]();(0,b.f)(U,A,()=>{Ce.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 h(ie,A){return new f.y(U=>{let Ce=0;return A.schedule(function(){Ce===ie.length?U.complete():(U.next(ie[Ce++]),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 f.y(U=>{let Ce;return(0,b.f)(U,A,()=>{Ce=ie[u.h](),(0,b.f)(U,A,()=>{let Re,Ae;try{({value:Re,done:Ae}=Ce.next())}catch(de){return void U.error(de)}Ae?U.complete():U.next(Re)},0,!0)}),()=>(0,v.m)(Ce?.return)&&Ce.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),f=a(7400);const h=["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,f.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)?h.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),f=a(5726),h=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,f.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,h.z)($)}function E($){return new g.y(ee=>{(function X($,ee){var ie,A,U,Ce;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&&(Ce=ie.return)&&(yield Ce.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:()=>f});var n=a(7537),c=a(4829),d=a(6232),g=a(9940),r=a(2459);function f(...h){const u=(0,g.yG)(h),v=(0,g._6)(h,1/0),b=h;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:()=>f,S:()=>r});var n=a(5592),c=a(4829),d=a(7728),g=a(8251);function r(...h){return 1===(h=(0,d.k)(h)).length?(0,c.Xf)(h[0]):new n.y(f(h))}function f(h){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 f=(0,c.m)(g)?g:()=>g,h=u=>u.error(f());return new n.y(r?u=>r.schedule(h,0,u):h)}},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(f=0,h,u=c.P){let v=-1;return null!=h&&((0,d.K)(h)?u=h:v=h),new n.y(b=>{let p=(0,g.q)(f)?+f-u.now():f;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,{$:()=>h});var n=a(5592),c=a(4829),d=a(7728),g=a(6232),r=a(8251),f=a(9940);function h(...u){const v=(0,f.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,f,h,u){return new d(g,r,f,h,u)}class d extends n.Lv{constructor(r,f,h,u,v,b){super(r),this.onFinalize=v,this.shouldUnsubscribe=b,this._next=f?function(p){try{f(p)}catch(_){r.error(_)}}:super._next,this._error=u?function(p){try{u(p)}catch(_){r.error(_)}finally{this.unsubscribe()}}:super._error,this._complete=h?function(){try{h()}catch(p){r.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:f}=this;super.unsubscribe(),!f&&(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)((f,h)=>{let u=!1,v=null,b=null,p=!1;const _=()=>{if(b?.unsubscribe(),b=null,u){u=!1;const y=v;v=null,h.next(y)}p&&h.complete()},l=()=>{b=null,p&&h.complete()};f.subscribe((0,d.x)(h,y=>{u=!0,v=y,b||(0,c.Xf)(r(y)).subscribe(b=(0,d.x)(h,_,l))},()=>{p=!0,(!u||!b||b.closed)&&h.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,f=n.z){return(0,c.U)(()=>(0,d.H)(r,f))}},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)((f,h)=>{let b,u=null,v=!1;u=f.subscribe((0,c.x)(h,void 0,void 0,p=>{b=(0,n.Xf)(r(p,g(r)(f))),u?(u.unsubscribe(),u=null,b.subscribe(h)):v=!0})),v&&(u.unsubscribe(),u=null,b.subscribe(h))})}},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,f=n.z){return(0,c.e)((h,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=f.now();if(x{b=y,p=f.now(),v||(v=f.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,f)=>{let h=!1;r.subscribe((0,c.x)(f,u=>{h=!0,f.next(u)},()=>{h||f.next(g),f.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,f=n.z){const h=(0,d.H)(r,f);return(0,c.j)(()=>h)}},4610:(Ie,B,a)=>{"use strict";a.d(B,{j:()=>h});var n=a(34),c=a(8180),d=a(7538),g=a(975),r=a(9769),f=a(4829);function h(u,v){return v?b=>(0,n.z)(v.pipe((0,c.q)(1),(0,d.l)()),b.pipe(h(u))):(0,r.z)((b,p)=>(0,f.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(f,h=n.y){return f=f??r,(0,c.e)((u,v)=>{let b,p=!0;u.subscribe((0,d.x)(v,_=>{const l=h(_);(p||!f(b,l))&&(p=!1,b=l,v.next(_))}))})}function r(f,h){return f===h}},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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>g.call(r,v,u++)&&h.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:()=>h});var n=a(6973),c=a(2181),d=a(8180),g=a(3572),r=a(3026),f=a(2737);function h(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):f.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,f)=>{r.subscribe((0,c.x)(f,d.Z))})}},2032:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>h});var n=a(6973),c=a(2181),d=a(4418),g=a(3026),r=a(3572),f=a(2737);function h(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):f.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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>{h.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,f,h,u,v,b,p,_){const l=[];let y=0,x=0,D=!1;const S=()=>{D&&!l.length&&!y&&f.complete()},E=X=>y{b&&f.next(X),y++;let $=!1;(0,n.Xf)(h(X,x++)).subscribe((0,d.x)(f,ee=>{v?.(ee),b?E(ee):f.next(ee)},()=>{$=!0},void 0,()=>{if($)try{for(y--;l.length&&yI(ee)):I(ee)}S()}catch(ee){f.error(ee)}}))};return r.subscribe((0,d.x)(f,E,()=>{D=!0,S()})),()=>{_?.()}}},9769:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>f});var n=a(7398),c=a(4829),d=a(9360),g=a(564),r=a(4674);function f(h,u,v=1/0){return(0,r.m)(u)?f((b,p)=>(0,n.U)((_,l)=>u(b,_,p,l))((0,c.Xf)(h(b,p))),v):("number"==typeof u&&(v=u),(0,d.e)((b,p)=>(0,g.p)(b,p,h,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,f=0){return(0,c.e)((h,u)=>{h.subscribe((0,d.x)(u,v=>(0,n.f)(u,r,()=>u.next(v),f),()=>(0,n.f)(u,r,()=>u.complete(),f),v=>(0,n.f)(u,r,()=>u.error(v),f)))})}},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 f=null;g._refCount++;const h=(0,c.x)(r,void 0,void 0,void 0,()=>{if(!g||g._refCount<=0||0<--g._refCount)return void(f=null);const u=g._connection,v=f;f=null,u&&(!v||u===v)&&u.unsubscribe(),r.unsubscribe()});g.subscribe(h),h.closed||(f=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,f,h){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),f&&v.next(p)},h&&(()=>{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(h={}){const{connector:u=(()=>new c.x),resetOnError:v=!0,resetOnComplete:b=!0,resetOnRefCountZero:p=!0}=h;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=f($,p))}),A.subscribe(ie),!l&&D>0&&(l=new d.Hp({next:U=>A.next(U),error:U=>{E=!0,I(),y=f(X,v,U),A.error(U)},complete:()=>{S=!0,I(),y=f(X,b),A.complete()}}),(0,n.Xf)(ee).subscribe(l))})(_)}}function f(h,u,...v){if(!0===u)return void h();if(!1===u)return;const b=new d.Hp({next:()=>{b.unsubscribe(),h()}});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,f){let h,u=!1;return g&&"object"==typeof g?({bufferSize:h=1/0,windowTime:r=1/0,refCount:u=!1,scheduler:f}=g):h=g??1/0,(0,c.B)({connector:()=>new n.t(h,r,f),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 f=(0,c.yG)(r);return(0,d.e)((h,u)=>{(f?(0,n.z)(r,h,f):(0,n.z)(r,h)).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,f)=>{f.add(d.schedule(()=>r.subscribe(f),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,f){return(0,c.e)((h,u)=>{let v=null,b=0,p=!1;const _=()=>p&&!v&&u.complete();h.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(f?f(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)((f,h)=>{let u=0;f.subscribe((0,d.x)(h,v=>{++u<=r&&(h.next(v),r<=u&&h.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)((f,h)=>{let u=[];f.subscribe((0,d.x)(h,v=>{u.push(v),r{for(const v of u)h.next(v);h.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(f){return(0,n.e)((h,u)=>{(0,d.Xf)(f).subscribe((0,c.x)(u,()=>u.complete(),g.Z)),!u.closed&&h.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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>{const b=g(v,u++);(b||r)&&h.next(v),!b&&h.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(f,h,u){const v=(0,n.m)(f)||h||u?{next:f,error:h,complete:u}:f;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(f=r){return(0,c.e)((h,u)=>{let v=!1;h.subscribe((0,d.x)(u,b=>{v=!0,u.next(b)},()=>v?u.complete():u.error(f())))})}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),f=a(8251),h=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,h.f)(I,D,()=>{try{X.unsubscribe(),(0,g.Xf)(x({meta:S,lastValue:ee,seen:ie})).subscribe(I)}catch(Ce){I.error(Ce)}},U)};X=E.subscribe((0,f.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(h,u){super()}schedule(h,u=0){return this}}const d={setInterval(f,h,...u){const{delegate:v}=d;return v?.setInterval?v.setInterval(f,h,...u):setInterval(f,h,...u)},clearInterval(f){const{delegate:h}=d;return(h?.clearInterval||clearInterval)(f)},delegate:void 0};var g=a(9039);class r extends c{constructor(h,u){super(h,u),this.scheduler=h,this.work=u,this.pending=!1}schedule(h,u=0){var v;if(this.closed)return this;this.state=h;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(h,u,v=0){return d.setInterval(h.flush.bind(h,this),v)}recycleAsyncId(h,u,v=0){if(null!=v&&this.delay===v&&!1===this.pending)return u;null!=u&&d.clearInterval(u)}execute(h,u){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const v=this._execute(h,u);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(h,u){let b,v=!1;try{this.work(h)}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:h,scheduler:u}=this,{actions:v}=u;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.P)(v,this),null!=h&&(this.id=this.recycleAsyncId(u,h,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,f=c.now){this.schedulerActionCtor=r,this.now=f}schedule(r,f=0,h){return new this.schedulerActionCtor(this,r).schedule(h,f)}}c.now=n.l.now;class d extends c{constructor(r,f=c.now){super(r,f),this.actions=[],this._active=!1}flush(r){const{actions:f}=this;if(this._active)return void f.push(r);let h;this._active=!0;do{if(h=r.execute(r.state,r.delay))break}while(r=f.shift());if(this._active=!1,h){for(;r=f.shift();)r.unsubscribe();throw h}}}},927:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>h});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 h=new class f 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 f={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}=f,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:()=>f,jO:()=>g,yG:()=>r});var n=a(4674),c=a(671);function d(h){return h[h.length-1]}function g(h){return(0,n.m)(d(h))?h.pop():void 0}function r(h){return(0,c.K)(d(h))?h.pop():void 0}function f(h,u){return"number"==typeof d(h)?h.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(h){if(1===h.length){const u=h[0];if(n(u))return{args:u,keys:null};if(function f(h){return h&&"object"==typeof h&&c(h)===d}(u)){const v=g(u);return{args:v.map(b=>u[b]),keys:v}}}return{args:h,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,f)=>(g[r]=d[f],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 f=!c;if(f&&(c={errorThrown:!1,error:null}),r(),f){const{errorThrown:h,error:u}=c;if(c=null,h)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,f=!1){const h=d.schedule(function(){g(),f?c.add(this.schedule(null,r)):this.unsubscribe()},r);if(c.add(h),!f)return h}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 h=r.getReader();try{for(;;){const{value:u,done:v}=yield(0,n.__await)(h.read());if(v)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(u)}}finally{h.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(f){try{return g(f,this)}catch(h){this.error(h)}});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)(f=>function d(r,f){return c(f)?r(...f):r(f)}(r,f))}},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(f){return g.reduce((h,u)=>u(h),f)}}},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:()=>h,bufferCount:()=>v,bufferTime:()=>y,bufferToggle:()=>x,bufferWhen:()=>D,catchError:()=>S.K,combineAll:()=>de,combineLatest:()=>W,combineLatestAll:()=>Ae,combineLatestWith:()=>pe,concat:()=>Be,concatAll:()=>we.u,concatMap:()=>G.b,concatMapTo:()=>ae,concatWith:()=>ve,connect:()=>tt,count:()=>Ct,debounce:()=>Nt,debounceTime:()=>_t.b,defaultIfEmpty:()=>Bt.d,delay:()=>Tt.g,delayWhen:()=>Lt.j,dematerialize:()=>Y,distinct:()=>ne,distinctUntilChanged:()=>K.x,distinctUntilKeyChanged:()=>ce,elementAt:()=>Pe,endWith:()=>Pt,every:()=>Ft,exhaust:()=>he,exhaustAll:()=>Ke,exhaustMap:()=>Oe,expand:()=>ct,filter:()=>Dt.h,finalize:()=>Me.x,find:()=>Ye,findIndex:()=>F,first:()=>V.P,flatMap:()=>on,groupBy:()=>Q,ignoreElements:()=>be.l,isEmpty:()=>dt,last:()=>Rt.Z,map:()=>Gt.U,mapTo:()=>qe.h,materialize:()=>nt,max:()=>Ve,merge:()=>At,mergeAll:()=>yt.J,mergeMap:()=>ee.z,mergeMapTo:()=>xn,mergeScan:()=>Sn,mergeWith:()=>_n,min:()=>Mn,multicast:()=>fi,observeOn:()=>Vi.Q,onErrorResumeNext:()=>bt,pairwise:()=>pt,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:()=>Mt,scan:()=>jt.R,sequenceEqual:()=>ke,share:()=>me.B,shareReplay:()=>se.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:()=>ut.q,takeLast:()=>Cn.h,takeUntil:()=>tn.R,takeWhile:()=>En.o,tap:()=>ei.b,throttle:()=>Ei,throttleTime:()=>tr,throwIfEmpty:()=>_e.T,timeInterval:()=>Ai,timeout:()=>yi.V,timeoutWith:()=>Ot,timestamp:()=>te,toArray:()=>Ce,window:()=>Ne,windowCount:()=>ot,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),f=a(4829);function h(wt){return(0,d.e)((vt,gt)=>{let St=[];return vt.subscribe((0,r.x)(gt,Ht=>St.push(Ht),()=>{gt.next(St),gt.complete()})),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{const Ht=St;St=[],gt.next(Ht)},g.Z)),()=>{St=null}})}var u=a(9039);function v(wt,vt=null){return vt=vt??wt,(0,d.e)((gt,St)=>{let Ht=[],Yt=0;gt.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 gt,St;const Ht=null!==(gt=(0,_.yG)(vt))&&void 0!==gt?gt: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)((gt,St)=>{const Ht=[];(0,f.Xf)(wt).subscribe((0,r.x)(St,Yt=>{const Jt=[];Ht.push(Jt);const yn=new b.w0;yn.add((0,f.Xf)(vt(Yt)).subscribe((0,r.x)(St,()=>{(0,u.P)(Ht,Jt),St.next(Jt),yn.unsubscribe()},g.Z)))},g.Z)),gt.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,gt)=>{let St=null,Ht=null;const Yt=()=>{Ht?.unsubscribe();const Jt=St;St=[],Jt&>.next(Jt),(0,f.Xf)(wt()).subscribe(Ht=(0,r.x)(gt,Yt,g.Z))};Yt(),vt.subscribe((0,r.x)(gt,Jt=>St?.push(Jt),()=>{St&>.next(St),gt.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 Ce(){return(0,d.e)((wt,vt)=>{A(U,[])(wt).subscribe(vt)})}function Re(wt,vt){return(0,$.z)(Ce(),(0,ee.z)(gt=>wt(gt)),vt?(0,X.Z)(vt):I.y)}function Ae(wt){return Re(E.a,wt)}const de=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)((gt,St)=>{(0,E.l)([gt,...(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)((gt,St)=>{(0,we.u)()((0,Ee.D)([gt,...wt],vt)).subscribe(St)})}var G=a(6328),re=a(4674);function ae(wt,vt){return(0,re.m)(vt)?(0,G.b)(()=>wt,vt):(0,G.b)(()=>wt)}function ve(...wt){return Be(...wt)}var He=a(8645),Ze=a(5592);const Ge={connector:()=>new He.x};function tt(wt,vt=Ge){const{connector:gt}=vt;return(0,d.e)((St,Ht)=>{const Yt=gt();(0,f.Xf)(wt(function Qe(wt){return new Ze.y(vt=>wt.subscribe(vt))}(Yt))).subscribe(Ht),Ht.add(St.subscribe(Yt))})}function Ct(wt){return A((vt,gt,St)=>!wt||wt(gt,St)?vt+1:vt,0)}function Nt(wt){return(0,d.e)((vt,gt)=>{let St=!1,Ht=null,Yt=null;const Jt=()=>{if(Yt?.unsubscribe(),Yt=null,St){St=!1;const yn=Ht;Ht=null,gt.next(yn)}};vt.subscribe((0,r.x)(gt,yn=>{Yt?.unsubscribe(),St=!0,Ht=yn,Yt=(0,r.x)(gt,Jt,g.Z),(0,f.Xf)(wt(yn)).subscribe(Yt)},()=>{Jt(),gt.complete()},void 0,()=>{Ht=Yt=null}))})}var _t=a(3620),Bt=a(3572),Tt=a(7547),Lt=a(4610),Le=a(6232),lt=a(2096),ze=a(8504);class N{constructor(vt,gt,St){this.kind=vt,this.value=gt,this.error=St,this.hasValue="N"===vt}observe(vt){return oe(this,vt)}do(vt,gt,St){const{kind:Ht,value:Yt,error:Jt}=this;return"N"===Ht?vt?.(Yt):"E"===Ht?gt?.(Jt):St?.()}accept(vt,gt,St){var Ht;return(0,re.m)(null===(Ht=vt)||void 0===Ht?void 0:Ht.next)?this.observe(vt):this.do(vt,gt,St)}toObservable(){const{kind:vt,value:gt,error:St}=this,Ht="N"===vt?(0,lt.of)(gt):"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 gt,St,Ht;const{kind:Yt,value:Jt,error:yn}=wt;if("string"!=typeof Yt)throw new TypeError('Invalid notification, missing "kind"');"N"===Yt?null===(gt=vt.next)||void 0===gt||gt.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,gt=>oe(gt,vt)))})}function ne(wt,vt){return(0,d.e)((gt,St)=>{const Ht=new Set;gt.subscribe((0,r.x)(St,Yt=>{const Jt=wt?wt(Yt):Yt;Ht.has(Jt)||(Ht.add(Jt),St.next(Yt))})),vt&&(0,f.Xf)(vt).subscribe((0,r.x)(St,()=>Ht.clear(),g.Z))})}N.completeNotification=new N("C");var K=a(3997);function ce(wt,vt){return(0,K.x)((gt,St)=>vt?vt(gt[wt],St[wt]):gt[wt]===St[wt])}var Te=a(2306);const et=(0,Te.d)(wt=>function(){wt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Dt=a(2181),_e=a(3026),ut=a(8180);function Pe(wt,vt){if(wt<0)throw new et;const gt=arguments.length>=2;return St=>St.pipe((0,Dt.h)((Ht,Yt)=>Yt===wt),(0,ut.q)(1),gt?(0,Bt.d)(vt):(0,_e.T)(()=>new et))}var mt=a(34);function Pt(...wt){return vt=>(0,mt.z)(vt,(0,lt.of)(...wt))}function Ft(wt,vt){return(0,d.e)((gt,St)=>{let Ht=0;gt.subscribe((0,r.x)(St,Yt=>{wt.call(vt,Yt,Ht++,gt)||(St.next(!1),St.complete())},()=>{St.next(!0),St.complete()}))})}var Gt=a(7398);function Oe(wt,vt){return vt?gt=>gt.pipe(Oe((St,Ht)=>(0,f.Xf)(wt(St,Ht)).pipe((0,Gt.U)((Yt,Jt)=>vt(St,Yt,Ht,Jt))))):(0,d.e)((gt,St)=>{let Ht=0,Yt=null,Jt=!1;gt.subscribe((0,r.x)(St,yn=>{Yt||(Yt=(0,r.x)(St,void 0,()=>{Yt=null,Jt&&St.complete()}),(0,f.Xf)(wt(yn,Ht++)).subscribe(Yt))},()=>{Jt=!0,!Yt&&St.complete()}))})}function Ke(){return Oe(I.y)}const he=Ke;var ge=a(564);function ct(wt,vt=1/0,gt){return vt=(vt||0)<1?1/0:vt,(0,d.e)((St,Ht)=>(0,ge.p)(St,Ht,wt,vt,void 0,!0,gt))}var Me=a(4716);function Ye(wt,vt){return(0,d.e)(De(wt,vt,"value"))}function De(wt,vt,gt){const St="index"===gt;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 Q(wt,vt,gt,St){return(0,d.e)((Ht,Yt)=>{let Jt;vt&&"function"!=typeof vt?({duration:gt,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),gt){const Zi=(0,r.x)(oi,()=>{oi.complete(),Zi?.unsubscribe()},void 0,void 0,()=>yn.delete(ni));ui.add((0,f.Xf)(gt(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 be=a(7538);function dt(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,()=>{vt.next(!1),vt.complete()},()=>{vt.next(!0),vt.complete()}))})}var Rt=a(2032),qe=a(975);function nt(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,gt=>{vt.next(N.createNext(gt))},()=>{vt.next(N.createComplete()),vt.complete()},gt=>{vt.next(N.createError(gt)),vt.complete()}))})}function Ve(wt){return A((0,re.m)(wt)?(vt,gt)=>wt(vt,gt)>0?vt:gt:(vt,gt)=>vt>gt?vt:gt)}var yt=a(7537);function At(...wt){const vt=(0,_.yG)(wt),gt=(0,_._6)(wt,1/0);return wt=(0,H.k)(wt),(0,d.e)((St,Ht)=>{(0,yt.J)(gt)((0,Ee.D)([St,...wt],vt)).subscribe(Ht)})}const on=ee.z;function xn(wt,vt,gt=1/0){return(0,re.m)(vt)?(0,ee.z)(()=>wt,vt,gt):("number"==typeof vt&&(gt=vt),(0,ee.z)(()=>wt,gt))}function Sn(wt,vt,gt=1/0){return(0,d.e)((St,Ht)=>{let Yt=vt;return(0,ge.p)(St,Ht,(Jt,yn)=>wt(Yt,Jt,yn),gt,Jt=>{Yt=Jt},!1,void 0,()=>Yt=null)})}function _n(...wt){return At(...wt)}function Mn(wt){return A((0,re.m)(wt)?(vt,gt)=>wt(vt,gt)<0?vt:gt:(vt,gt)=>vtwt;return(0,re.m)(vt)?tt(vt,{connector:gt}):St=>new xi.c(St,gt)}var Vi=a(3093);const bt=function xt(...wt){const vt=(0,H.k)(wt);return gt=>function Yi(...wt){const vt=(0,H.k)(wt);return new Ze.y(gt=>{let St=0;const Ht=()=>{if(St{let gt,St=!1;wt.subscribe((0,r.x)(vt,Ht=>{const Yt=gt;gt=Ht,St&&vt.next([Yt,Ht]),St=!0}))})}function qt(wt,vt){return(gt,St)=>!wt.call(vt,gt,St)}function nn(wt,vt){return gt=>[(0,Dt.h)(wt,vt)(gt),(0,Dt.h)(qt(wt,vt))(gt)]}function cn(...wt){const vt=wt.length;if(0===vt)throw new Error("list of properties cannot be empty.");return(0,Gt.U)(gt=>{let St=gt;for(let Ht=0;Httt(wt)(vt):vt=>fi(new He.x)(vt)}var Nn=a(5619);function wn(wt){return vt=>{const gt=new Nn.X(wt);return new xi.c(vt,()=>gt)}}class Xn extends He.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(vt){const{hasError:gt,_hasValue:St,_value:Ht,thrownError:Yt,isStopped:Jt,_isComplete:yn}=this;gt?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:gt,_isComplete:St}=this;St||(this._isComplete=!0,vt&&super.next(gt),super.complete())}}function _i(){return wt=>{const vt=new Xn;return new xi.c(wt,()=>vt)}}var $n=a(7328);function ti(wt,vt,gt,St){gt&&!(0,re.m)(gt)&&(St=gt);const Ht=(0,re.m)(gt)?gt: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,gt)=>{(0,an.R)([vt,...wt])(gt)}):I.y}function Tn(...wt){return mn(...(0,H.k)(wt))}var Rn=a(9080);function Wn(wt){let gt,vt=1/0;return null!=wt&&("object"==typeof wt?({count:vt=1/0,delay:gt}=wt):vt=wt),vt<=0?()=>Le.E:(0,d.e)((St,Ht)=>{let Jt,Yt=0;const yn=()=>{if(Jt?.unsubscribe(),Jt=null,null!=gt){const Vn="number"==typeof gt?(0,Rn.H)(gt):(0,f.Xf)(gt(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&&(gt.complete(),!0),On=()=>{yn=!1,St=vt.subscribe((0,r.x)(gt,void 0,()=>{yn=!0,!vn()&&(Yt||(Yt=new He.x,(0,f.Xf)(wt(Yt)).subscribe((0,r.x)(gt,()=>{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:gt=1/0,delay:St,resetOnSuccess:Ht=!1}=vt;return gt<=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,f.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,gt)=>{let St,Yt,Ht=!1;const Jt=()=>{St=vt.subscribe((0,r.x)(gt,void 0,void 0,yn=>{Yt||(Yt=new He.x,(0,f.Xf)(wt(Yt)).subscribe((0,r.x)(gt,()=>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,gt)=>{let St=!1,Ht=null;vt.subscribe((0,r.x)(gt,Yt=>{St=!0,Ht=Yt})),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{if(St){St=!1;const Yt=Ht;Ht=null,gt.next(Yt)}},g.Z))})}function Mt(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=((gt,St)=>gt===St)){return(0,d.e)((gt,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};gt.subscribe(yn(Ht,Yt)),(0,f.Xf)(wt).subscribe(yn(Yt,Ht))})}var me=a(3020),se=a(7081),Xe=a(6973);const kt=(0,Te.d)(wt=>function(gt){wt(this),this.name="SequenceError",this.message=gt}),Wt=(0,Te.d)(wt=>function(gt){wt(this),this.name="NotFoundError",this.message=gt});function un(wt){return(0,d.e)((vt,gt)=>{let Ht,St=!1,Yt=!1,Jt=0;vt.subscribe((0,r.x)(gt,yn=>{Yt=!0,(!wt||wt(yn,Jt++,vt))&&(St&>.error(new kt("Too many matching values")),St=!0,Ht=yn)},()=>{St?(gt.next(Ht),gt.complete()):gt.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,gt)=>{let St=new Array(wt),Ht=0;return vt.subscribe((0,r.x)(gt,Yt=>{const Jt=Ht++;if(Jt{St=null}})}function si(wt){return(0,d.e)((vt,gt)=>{let St=!1;const Ht=(0,r.x)(gt,()=>{Ht?.unsubscribe(),St=!0},g.Z);(0,f.Xf)(wt).subscribe(Ht),vt.subscribe((0,r.x)(gt,Yt=>St&>.next(Yt)))})}function jn(wt){return(0,d.e)((vt,gt)=>{let St=!1,Ht=0;vt.subscribe((0,r.x)(gt,Yt=>(St||(St=!wt(Yt,Ht++)))&>.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)((gt,St)=>{let Ht=vt;return(0,Ti.w)((Yt,Jt)=>wt(Ht,Yt,Jt),(Yt,Jt)=>(Ht=Jt,Jt))(gt).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)((gt,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,f.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)}};gt.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,gt){const St=(0,Rn.H)(wt,vt);return Ei(()=>St,gt)}function Ai(wt=p.z){return(0,d.e)((vt,gt)=>{let St=wt.now();vt.subscribe((0,r.x)(gt,Ht=>{const Yt=wt.now(),Jt=Yt-St;St=Yt,gt.next(new ar(Ht,Jt))}))})}class ar{constructor(vt,gt){this.value=vt,this.interval=gt}}var yi=a(5178),Je=a(93);function Ot(wt,vt,gt){let St,Ht,Yt;if(gt=gt??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:gt,with:Yt})}var C=a(4552);function te(wt=C.l){return(0,Gt.U)(vt=>({value:vt,timestamp:wt.now()}))}function Ne(wt){return(0,d.e)((vt,gt)=>{let St=new He.x;gt.next(St.asObservable());const Ht=Yt=>{St.error(Yt),gt.error(Yt)};return vt.subscribe((0,r.x)(gt,Yt=>St?.next(Yt),()=>{St.complete(),gt.complete()},Ht)),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{St.complete(),gt.next(St=new He.x)},g.Z,Ht)),()=>{St?.unsubscribe(),St=null}})}function ot(wt,vt=0){const gt=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%gt==0&&Yt.shift().complete(),++yn%gt==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 gt,St;const Ht=null!==(gt=(0,_.yG)(vt))&&void 0!==gt?gt: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)((gt,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,f.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)),gt.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),gt.error(yn)},Jt=()=>{let yn;Ht?.unsubscribe(),St?.complete(),St=new He.x,gt.next(St.asObservable());try{yn=(0,f.Xf)(wt())}catch(vn){return void Yt(vn)}yn.subscribe(Ht=(0,r.x)(gt,Jt,Jt,Yt))};Jt(),vt.subscribe((0,r.x)(gt,yn=>St.next(yn),()=>{St.complete(),gt.complete()},Yt,()=>{Ht?.unsubscribe(),St=null}))})}function Pi(...wt){const vt=(0,_.jO)(wt);return(0,d.e)((gt,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));gt.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,gt)=>{(0,Li.$)(vt,...wt).subscribe(gt)})}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:()=>_t,validate:()=>f,version:()=>Lt});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,f=function r(Le){return"string"==typeof Le&&g.test(Le)},h=[];for(let Le=0;Le<256;++Le)h.push((Le+256).toString(16).slice(1));function u(Le,lt=0){return(h[Le[lt+0]]+h[Le[lt+1]]+h[Le[lt+2]]+h[Le[lt+3]]+"-"+h[Le[lt+4]]+h[Le[lt+5]]+"-"+h[Le[lt+6]]+h[Le[lt+7]]+"-"+h[Le[lt+8]]+h[Le[lt+9]]+"-"+h[Le[lt+10]]+h[Le[lt+11]]+h[Le[lt+12]]+h[Le[lt+13]]+h[Le[lt+14]]+h[Le[lt+15]]).toLowerCase()}const b=function v(Le,lt=0){const ze=u(Le,lt);if(!f(ze))throw TypeError("Stringified UUID is invalid");return ze};let p,_,l=0,y=0;const D=function x(Le,lt,ze){let at=lt&&ze||0;const N=lt||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(),K=void 0!==Le.nsecs?Le.nsecs:y+1;const ce=ne-l+(K-y)/1e4;if(ce<0&&void 0===Le.clockseq&&(Y=Y+1&16383),(ce<0||ne>l)&&void 0===Le.nsecs&&(K=0),K>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=ne,y=K,_=Y,ne+=122192928e5;const Te=(1e4*(268435455&ne)+K)%4294967296;N[at++]=Te>>>24&255,N[at++]=Te>>>16&255,N[at++]=Te>>>8&255,N[at++]=255&Te;const et=ne/4294967296*1e4&268435455;N[at++]=et>>>8&255,N[at++]=255&et,N[at++]=et>>>24&15|16,N[at++]=et>>>16&255,N[at++]=Y>>>8|128,N[at++]=255&Y;for(let Dt=0;Dt<6;++Dt)N[at+Dt]=oe[Dt];return lt||u(N)},E=function S(Le){if(!f(Le))throw TypeError("Invalid UUID");let lt;const ze=new Uint8Array(16);return ze[0]=(lt=parseInt(Le.slice(0,8),16))>>>24,ze[1]=lt>>>16&255,ze[2]=lt>>>8&255,ze[3]=255<,ze[4]=(lt=parseInt(Le.slice(9,13),16))>>>8,ze[5]=255<,ze[6]=(lt=parseInt(Le.slice(14,18),16))>>>8,ze[7]=255<,ze[8]=(lt=parseInt(Le.slice(19,23),16))>>>8,ze[9]=255<,ze[10]=(lt=parseInt(Le.slice(24,36),16))/1099511627776&255,ze[11]=lt/4294967296&255,ze[12]=lt>>>24&255,ze[13]=lt>>>16&255,ze[14]=lt>>>8&255,ze[15]=255<,ze};function ee(Le,lt,ze){function at(N,oe,Y,ne){var K;if("string"==typeof N&&(N=function I(Le){Le=unescape(encodeURIComponent(Le));const lt=[];for(let ze=0;ze>>9<<4)+1}function Ae(Le,lt){const ze=(65535&Le)+(65535<);return(Le>>16)+(lt>>16)+(ze>>16)<<16|65535&ze}function H(Le,lt,ze,at,N,oe){return Ae(function de(Le,lt){return Le<>>32-lt}(Ae(Ae(lt,Le),Ae(at,oe)),N),ze)}function W(Le,lt,ze,at,N,oe,Y){return H(lt&ze|~lt&at,Le,lt,N,oe,Y)}function pe(Le,lt,ze,at,N,oe,Y){return H(lt&at|ze&~at,Le,lt,N,oe,Y)}function we(Le,lt,ze,at,N,oe,Y){return H(lt^ze^at,Le,lt,N,oe,Y)}function Ee(Le,lt,ze,at,N,oe,Y){return H(ze^(lt|~at),Le,lt,N,oe,Y)}const re=ee("v3",48,function ie(Le){if("string"==typeof Le){const lt=unescape(encodeURIComponent(Le));Le=new Uint8Array(lt.length);for(let ze=0;ze>5]>>>N%32&255,Y=parseInt(at.charAt(oe>>>4&15)+at.charAt(15&oe),16);lt.push(Y)}return lt}(function Ce(Le,lt){Le[lt>>5]|=128<>5]|=(255&Le[at/8])<>>32-lt}const _t=ee("v5",80,function tt(Le){const lt=[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=et,et=Te,Te=Ge(ce,30)>>>0,ce=K,K=Pe}ze[0]=ze[0]+K>>>0,ze[1]=ze[1]+ce>>>0,ze[2]=ze[2]+Te>>>0,ze[3]=ze[3]+et>>>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",Lt=function Tt(Le){if(!f(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:()=>de,__classPrivateFieldIn:()=>W,__classPrivateFieldSet:()=>H,__createBinding:()=>y,__decorate:()=>r,__disposeResources:()=>Ee,__esDecorate:()=>h,__exportStar:()=>x,__extends:()=>c,__generator:()=>l,__importDefault:()=>Ae,__importStar:()=>Re,__makeTemplateObject:()=>U,__metadata:()=>p,__param:()=>f,__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(ae,ve){ae.__proto__=ve}||function(ae,ve){for(var He in ve)Object.prototype.hasOwnProperty.call(ve,He)&&(ae[He]=ve[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 ae(){this.constructor=G}n(G,re),G.prototype=null===re?Object.create(re):(ae.prototype=re.prototype,new ae)}var d=function(){return d=Object.assign||function(re){for(var ae,ve=1,He=arguments.length;ve=0;Ge--)(Qe=G[Ge])&&(Ze=(He<3?Qe(Ze):He>3?Qe(re,ae,Ze):Qe(re,ae))||Ze);return He>3&&Ze&&Object.defineProperty(re,ae,Ze),Ze}function f(G,re){return function(ae,ve){re(ae,ve,G)}}function h(G,re,ae,ve,He,Ze){function Qe(ze){if(void 0!==ze&&"function"!=typeof ze)throw new TypeError("Function expected");return ze}for(var _t,Ge=ve.kind,tt="getter"===Ge?"get":"setter"===Ge?"set":"value",Ct=!re&&G?ve.static?G:G.prototype:null,Nt=re||(Ct?Object.getOwnPropertyDescriptor(Ct,ve.name):{}),Bt=!1,Tt=ae.length-1;Tt>=0;Tt--){var Lt={};for(var Le in ve)Lt[Le]="access"===Le?{}:ve[Le];for(var Le in ve.access)Lt.access[Le]=ve.access[Le];Lt.addInitializer=function(ze){if(Bt)throw new TypeError("Cannot add initializers after decoration has completed");Ze.push(Qe(ze||null))};var lt=(0,ae[Tt])("accessor"===Ge?{get:Nt.get,set:Nt.set}:Nt[tt],Lt);if("accessor"===Ge){if(void 0===lt)continue;if(null===lt||"object"!=typeof lt)throw new TypeError("Object expected");(_t=Qe(lt.get))&&(Nt.get=_t),(_t=Qe(lt.set))&&(Nt.set=_t),(_t=Qe(lt.init))&&He.unshift(_t)}else(_t=Qe(lt))&&("field"===Ge?He.unshift(_t):Nt[tt]=_t)}Ct&&Object.defineProperty(Ct,ve.name,Nt),Bt=!0}function u(G,re,ae){for(var ve=arguments.length>2,He=0;He0&&Ze[Ze.length-1])&&(6===Ct[0]||2===Ct[0])){ae=0;continue}if(3===Ct[0]&&(!Ze||Ct[1]>Ze[0]&&Ct[1]=G.length&&(G=void 0),{value:G&&G[ve++],done:!G}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(G,re){var ae="function"==typeof Symbol&&G[Symbol.iterator];if(!ae)return G;var He,Qe,ve=ae.call(G),Ze=[];try{for(;(void 0===re||re-- >0)&&!(He=ve.next()).done;)Ze.push(He.value)}catch(Ge){Qe={error:Ge}}finally{try{He&&!He.done&&(ae=ve.return)&&ae.call(ve)}finally{if(Qe)throw Qe.error}}return Ze}function E(){for(var G=[],re=0;re1||Ge(Bt,Tt)})})}function Ge(Bt,Tt){try{!function tt(Bt){Bt.value instanceof $?Promise.resolve(Bt.value.v).then(Ct,Nt):_t(Ze[0][2],Bt)}(ve[Bt](Tt))}catch(Lt){_t(Ze[0][3],Lt)}}function Ct(Bt){Ge("next",Bt)}function Nt(Bt){Ge("throw",Bt)}function _t(Bt,Tt){Bt(Tt),Ze.shift(),Ze.length&&Ge(Ze[0][0],Ze[0][1])}}function ie(G){var re,ae;return re={},ve("next"),ve("throw",function(He){throw He}),ve("return"),re[Symbol.iterator]=function(){return this},re;function ve(He,Ze){re[He]=G[He]?function(Qe){return(ae=!ae)?{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 ae,re=G[Symbol.asyncIterator];return re?re.call(G):(G=D(G),ae={},ve("next"),ve("throw"),ve("return"),ae[Symbol.asyncIterator]=function(){return this},ae);function ve(Ze){ae[Ze]=G[Ze]&&function(Qe){return new Promise(function(Ge,tt){!function He(Ze,Qe,Ge,tt){Promise.resolve(tt).then(function(Ct){Ze({value:Ct,done:Ge})},Qe)}(Ge,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 Ce=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 ae in G)"default"!==ae&&Object.prototype.hasOwnProperty.call(G,ae)&&y(re,G,ae);return Ce(re,G),re}function Ae(G){return G&&G.__esModule?G:{default:G}}function de(G,re,ae,ve){if("a"===ae&&!ve)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof re?G!==re||!ve:!re.has(G))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===ae?ve:"a"===ae?ve.call(G):ve?ve.value:re.get(G)}function H(G,re,ae,ve,He){if("m"===ve)throw new TypeError("Private method is not writable");if("a"===ve&&!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"===ve?He.call(G,ae):He?He.value=ae:re.set(G,ae),ae}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,ae){if(null!=re){if("object"!=typeof re&&"function"!=typeof re)throw new TypeError("Object expected.");var ve;if(ae){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ve=re[Symbol.asyncDispose]}if(void 0===ve){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ve=re[Symbol.dispose]}if("function"!=typeof ve)throw new TypeError("Object not disposable.");G.stack.push({value:re,dispose:ve,async:ae})}else ae&&G.stack.push({async:!0});return re}var we="function"==typeof SuppressedError?SuppressedError:function(G,re,ae){var ve=new Error(ae);return ve.name="SuppressedError",ve.error=G,ve.suppressed=re,ve};function Ee(G){function re(ve){G.error=G.hasError?new we(ve,G.error,"An error was suppressed during disposal."):ve,G.hasError=!0}return function ae(){for(;G.stack.length;){var ve=G.stack.pop();try{var He=ve.dispose&&ve.dispose.call(ve.value);if(ve.async)return Promise.resolve(He).then(ae,function(Ze){return re(Ze),ae()})}catch(Ze){re(Ze)}}if(G.hasError)throw G.error}()}const Be={__extends:c,__assign:d,__rest:g,__decorate:r,__param:f,__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:de,__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 Q=F[V],be=typeof Q;("object"===be||"function"===be)&&!Object.isFrozen(Q)&&B(Q)}),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 Q=Object.create(null);for(const be in F)Q[be]=F[be];return V.forEach(function(be){for(const dt in be)Q[dt]=be[dt]}),Q}const g=F=>!!F.scope;class f{constructor(V,Q){this.buffer="",this.classPrefix=Q.classPrefix,V.walk(this)}addText(V){this.buffer+=n(V)}openNode(V){if(!g(V))return;const Q=((F,{prefix:V})=>{if(F.startsWith("language:"))return F.replace("language:","language-");if(F.includes(".")){const Q=F.split(".");return[`${V}${Q.shift()}`,...Q.map((be,dt)=>`${be}${"_".repeat(dt+1)}`)].join(" ")}return`${V}${F}`})(V.scope,{prefix:this.classPrefix});this.span(Q)}closeNode(V){g(V)&&(this.buffer+="")}value(){return this.buffer}span(V){this.buffer+=``}}const h=(F={})=>{const V={children:[]};return Object.assign(V,F),V};class u{constructor(){this.rootNode=h(),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 Q=h({scope:V});this.add(Q),this.stack.push(Q)}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,Q){return"string"==typeof Q?V.addText(Q):Q.children&&(V.openNode(Q),Q.children.forEach(be=>this._walk(V,be)),V.closeNode(Q)),V}static _collapse(V){"string"!=typeof V&&V.children&&(V.children.every(Q=>"string"==typeof Q)?V.children=[V.children.join("")]:V.children.forEach(Q=>{u._collapse(Q)}))}}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,Q){const be=V.root;Q&&(be.scope=`language:${Q}`),this.add(be)}toHTML(){return new f(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(Q=>b(Q)).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(be=>b(be)).join("|")+")"}function S(F){return new RegExp(F.toString()+"|").exec("").length-1}const I=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function X(F,{joinWith:V}){let Q=0;return F.map(be=>{Q+=1;const dt=Q;let Rt=b(be),qe="";for(;Rt.length>0;){const nt=I.exec(Rt);if(!nt){qe+=Rt;break}qe+=Rt.substring(0,nt.index),Rt=Rt.substring(nt.index+nt[0].length),"\\"===nt[0][0]&&nt[1]?qe+="\\"+String(Number(nt[1])+dt):(qe+=nt[0],"("===nt[0]&&Q++)}return qe}).map(be=>`(${be})`).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+)?)",Ce="\\b(0b[01]+)",de={begin:"\\\\[\\s\\S]",relevance:0},H={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[de]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[de]},we=function(F,V,Q={}){const be=c({scope:"comment",begin:F,end:V,contains:[]},Q);be.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 dt=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 be.contains.push({begin:y(/[ ]+/,"(",dt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),be},Ee=we("//","$"),Be=we("/\\*","\\*/"),G=we("#","$");var Ct=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:Ce,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":(Q,be)=>{0!==Q.index&&be.ignoreMatch()}},F)},BACKSLASH_ESCAPE:de,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:Ce,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[de,{begin:/\[/,end:/\]/,relevance:0,contains:[de]}]}]},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,Q)=>{Q.data._beginMatch=V[1]},"on:end":(V,Q)=>{Q.data._beginMatch!==V[1]&&Q.ignoreMatch()}})}});function Nt(F,V){"."===F.input[F.index-1]&&V.ignoreMatch()}function _t(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=Nt,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 Lt(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 lt=(F,V)=>{if(!F.beforeMatch)return;if(F.starts)throw new Error("beforeMatch cannot be used with starts");const Q=Object.assign({},F);Object.keys(F).forEach(be=>{delete F[be]}),F.keywords=Q.keywords,F.begin=y(Q.beforeMatch,p(Q.begin)),F.starts={relevance:0,contains:[Object.assign(Q,{endsParent:!0})]},F.relevance=0,delete Q.beforeMatch},ze=["of","and","for","in","not","or","if","then","parent","list","value"],at="keyword";function N(F,V,Q=at){const be=Object.create(null);return"string"==typeof F?dt(Q,F.split(" ")):Array.isArray(F)?dt(Q,F):Object.keys(F).forEach(function(Rt){Object.assign(be,N(F[Rt],V,Rt))}),be;function dt(Rt,qe){V&&(qe=qe.map(nt=>nt.toLowerCase())),qe.forEach(function(nt){const Ve=nt.split("|");be[Ve[0]]=[Rt,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={},K=F=>{console.error(F)},ce=(F,...V)=>{console.log(`WARN: ${F}`,...V)},Te=(F,V)=>{ne[`${F}/${V}`]||(console.log(`Deprecated as of ${F}. ${V}`),ne[`${F}/${V}`]=!0)},et=new Error;function Dt(F,V,{key:Q}){let be=0;const dt=F[Q],Rt={},qe={};for(let nt=1;nt<=V.length;nt++)qe[nt+be]=dt[nt],Rt[nt+be]=!0,be+=S(V[nt-1]);F[Q]=qe,F[Q]._emit=Rt,F[Q]._multi=!0}function mt(F){(function Pe(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 _e(F){if(Array.isArray(F.begin)){if(F.skip||F.excludeBegin||F.returnBegin)throw K("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),et;if("object"!=typeof F.beginScope||null===F.beginScope)throw K("beginScope must be object"),et;Dt(F,F.begin,{key:"beginScope"}),F.begin=X(F.begin,{joinWith:""})}}(F),function ut(F){if(Array.isArray(F.end)){if(F.skip||F.excludeEnd||F.returnEnd)throw K("skip, excludeEnd, returnEnd not compatible with endScope: {}"),et;if("object"!=typeof F.endScope||null===F.endScope)throw K("endScope must be object"),et;Dt(F,F.end,{key:"endScope"}),F.end=X(F.end,{joinWith:""})}}(F)}function Pt(F){function V(qe,nt){return new RegExp(b(qe),"m"+(F.case_insensitive?"i":"")+(F.unicodeRegex?"u":"")+(nt?"g":""))}class Q{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(nt,Ve){Ve.position=this.position++,this.matchIndexes[this.matchAt]=Ve,this.regexes.push([Ve,nt]),this.matchAt+=S(nt)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const nt=this.regexes.map(Ve=>Ve[1]);this.matcherRe=V(X(nt,{joinWith:"|"}),!0),this.lastIndex=0}exec(nt){this.matcherRe.lastIndex=this.lastIndex;const Ve=this.matcherRe.exec(nt);if(!Ve)return null;const yt=Ve.findIndex((on,xn)=>xn>0&&void 0!==on),At=this.matchIndexes[yt];return Ve.splice(0,yt),Object.assign(Ve,At)}}class be{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(nt){if(this.multiRegexes[nt])return this.multiRegexes[nt];const Ve=new Q;return this.rules.slice(nt).forEach(([yt,At])=>Ve.addRule(yt,At)),Ve.compile(),this.multiRegexes[nt]=Ve,Ve}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(nt,Ve){this.rules.push([nt,Ve]),"begin"===Ve.type&&this.count++}exec(nt){const Ve=this.getMatcher(this.regexIndex);Ve.lastIndex=this.lastIndex;let yt=Ve.exec(nt);if(this.resumingScanAtSamePosition()&&(!yt||yt.index!==this.lastIndex)){const At=this.getMatcher(0);At.lastIndex=this.lastIndex+1,yt=At.exec(nt)}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 Rt(qe,nt){const Ve=qe;if(qe.isCompiled)return Ve;[_t,Lt,mt,lt].forEach(At=>At(qe,nt)),F.compilerExtensions.forEach(At=>At(qe,nt)),qe.__beforeBegin=null,[Bt,Tt,Le].forEach(At=>At(qe,nt)),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),nt&&(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&&nt.terminatorEnd&&(Ve.terminatorEnd+=(qe.end?"|":"")+nt.terminatorEnd)),qe.illegal&&(Ve.illegalRe=V(qe.illegal)),qe.contains||(qe.contains=[]),qe.contains=[].concat(...qe.contains.map(function(At){return function Gt(F){return F.variants&&!F.cachedVariants&&(F.cachedVariants=F.variants.map(function(V){return c(F,{variants:null},V)})),F.cachedVariants?F.cachedVariants:Ft(F)?c(F,{starts:F.starts?c(F.starts):null}):Object.isFrozen(F)?c(F):F}("self"===At?qe:At)})),qe.contains.forEach(function(At){Rt(At,Ve)}),qe.starts&&Rt(qe.starts,nt),Ve.matcher=function dt(qe){const nt=new be;return qe.contains.forEach(Ve=>nt.addRule(Ve.begin,{rule:Ve,type:"begin"})),qe.terminatorEnd&&nt.addRule(qe.terminatorEnd,{type:"end"}),qe.illegal&&nt.addRule(qe.illegal,{type:"illegal"}),nt}(Ve),Ve}(F)}function Ft(F){return!!F&&(F.endsWithParent||Ft(F.starts))}class Ke extends Error{constructor(V,Q){super(V),this.name="HTMLInjectionError",this.html=Q}}const he=n,ge=c,ct=Symbol("nomatch"),Ye=function(F){const V=Object.create(null),Q=Object.create(null),be=[];let dt=!0;const Rt="Could not find the language '{}', did you forget to load/include a language module?",qe={disableAutodetect:!0,name:"Plain text",contains:[]};let nt={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 nt.noHighlightRe.test(an)}function At(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 Mt(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 Q=F&&F.exec(V);return Q&&0===Q.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 ct;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&&Mt(En.starts,fn),ei.returnEnd?0:Cn.length}let Xe={};function kt(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),!dt){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)),Mt(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!==ct)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 K(Rt.replace("{}",an)),new Error('Unknown language: "'+an+'"');const un=Pt(Wt);let gn="",pn=Rn||un;const si={},jn=new nt.__emitter(nt);!function se(){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=kt(mn.substring(Ti,fn.index),fn);Ti=fn.index+tn}kt(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:he(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(dt)return{language:an,value:he(mn),illegal:!1,relevance:0,errorRaised:fn,_emitter:jn,_top:pn};throw fn}}function Sn(an,mn){mn=mn||nt.languages||Object.keys(V);const Tn=function xn(an){const mn={value:he(an),illegal:!1,relevance:0,_top:qe,_emitter:new nt.__emitter(nt)};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=nt.languageDetectRe.exec(mn);if(Tn){const Rn=cn(Tn[1]);return Rn||(ce(Rt.replace("{}",Tn[1])),ce("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&&(nt.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)),nt.throwUnescapedHTML))throw new Ke("One of your code blocks includes unescaped HTML.",an.innerHTML);mn=an;const Rn=mn.textContent,Wn=Tn?At(Rn,{language:Tn,ignoreIllegals:!0}):Sn(Rn);an.innerHTML=Wn.value,function _n(an,mn,Tn){const Rn=mn&&Q[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 xt(){"loading"!==document.readyState?document.querySelectorAll(nt.cssSelector).forEach(Mn):Yi=!0}function cn(an){return an=(an||"").toLowerCase(),V[an]||V[Q[an]]}function sn(an,{languageName:mn}){"string"==typeof an&&(an=[an]),an.forEach(Tn=>{Q[Tn.toLowerCase()]=mn})}function Nn(an){const mn=cn(an);return mn&&!mn.disableAutodetect}function $n(an,mn){const Tn=an;be.forEach(function(Rn){Rn[Tn]&&Rn[Tn](mn)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function bt(){Yi&&xt()},!1),Object.assign(F,{highlight:At,highlightAuto:Sn,highlightAll:xt,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){nt=ge(nt,an)},initHighlighting:()=>{xt(),Te("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function Vi(){xt(),Te("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function pt(an,mn){let Tn=null;try{Tn=mn(F)}catch(Rn){if(K("Language definition for '{}' could not be registered.".replace("{}",an)),!dt)throw Rn;K(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(Q))Q[mn]===an&&delete Q[mn]},listLanguages:function nn(){return Object.keys(V)},getLanguage:cn,registerAliases:sn,autoDetection:Nn,inherit:ge,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),be.push(an)},removePlugin:function _i(an){const mn=be.indexOf(an);-1!==mn&&be.splice(mn,1)}}),F.debugMode=function(){dt=!1},F.safeMode=function(){dt=!0},F.versionString="11.8.0",F.regex={concat:y,lookahead:p,either:D,optional:l,anyNumberOfTimes:_};for(const an in Ct)"object"==typeof Ct[an]&&B(Ct[an]);return Object.assign(F,Ct),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/}]},f=a.inherit(r,{begin:/\(/,end:/\)/}),h=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,h,f,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,f,u,h]}]}]},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,f,h){try{var u=n[f](h),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 f=n.apply(c,d);function h(v){B(f,g,r,h,u,"next",v)}function u(v){B(f,g,r,h,u,"throw",v)}h(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 f=r.call(d,g||"default");if("object"!==n(f))return f;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:()=>f,vP:()=>h});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 f(X,$=null){return{type:3,steps:X,options:$}}function h(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(Ce=>{Ce.onDone(()=>{++ee==U&&this._onFinish()}),Ce.onDestroy(()=>{++ie==U&&this._onDestroy()}),Ce.onStart(()=>{++A==U&&this._onStart()})}),this.totalTime=this.players.reduce((Ce,Re)=>Math.max(Ce,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:()=>mt,X6:()=>oe,Zf:()=>$,iD:()=>ee,kH:()=>Ke,mK:()=>Lt,qm:()=>Me,rt:()=>Ye,s1:()=>pe,tE:()=>Oe,yG:()=>Y});var n=a(6814),c=a(5879),d=a(2831),g=a(8645),r=a(7394),f=a(5619),h=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 Q=ie(De,F);Q.some(be=>be.trim()==V.trim())||(Q.push(V.trim()),De.setAttribute(F,Q.join(X)))}function ee(De,F,V){const be=ie(De,F).filter(dt=>dt!=V.trim());be.length?De.setAttribute(F,be.join(X)):De.removeAttribute(F)}function ie(De,F){return(De.getAttribute(F)||"").match(/\S+/g)||[]}const U="cdk-describedby-message",Ce="cdk-describedby-host";let Re=0,Ae=(()=>{class De{constructor(V,Q){this._platform=Q,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Re++,this._document=V,this._id=(0,c.inject)(c.APP_ID)+"-"+Re++}describe(V,Q,be){if(!this._canBeDescribed(V,Q))return;const dt=de(Q,be);"string"!=typeof Q?(H(Q,this._id),this._messageRegistry.set(dt,{messageElement:Q,referenceCount:0})):this._messageRegistry.has(dt)||this._createMessageElement(Q,be),this._isElementDescribedByMessage(V,dt)||this._addMessageReference(V,dt)}removeDescription(V,Q,be){if(!Q||!this._isElementNode(V))return;const dt=de(Q,be);if(this._isElementDescribedByMessage(V,dt)&&this._removeMessageReference(V,dt),"string"==typeof Q){const Rt=this._messageRegistry.get(dt);Rt&&0===Rt.referenceCount&&this._deleteMessageElement(dt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const V=this._document.querySelectorAll(`[${Ce}="${this._id}"]`);for(let Q=0;Q0!=be.indexOf(U));V.setAttribute("aria-describedby",Q.join(" "))}_addMessageReference(V,Q){const be=this._messageRegistry.get(Q);$(V,"aria-describedby",be.messageElement.id),V.setAttribute(Ce,this._id),be.referenceCount++}_removeMessageReference(V,Q){const be=this._messageRegistry.get(Q);be.referenceCount--,ee(V,"aria-describedby",be.messageElement.id),V.removeAttribute(Ce)}_isElementDescribedByMessage(V,Q){const be=ie(V,"aria-describedby"),dt=this._messageRegistry.get(Q),Rt=dt&&dt.messageElement.id;return!!Rt&&-1!=be.indexOf(Rt)}_canBeDescribed(V,Q){if(!this._isElementNode(V))return!1;if(Q&&"object"==typeof Q)return!0;const be=null==Q?"":`${Q}`.trim(),dt=V.getAttribute("aria-label");return!(!be||dt&&dt.trim()===be)}_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 de(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 be=V.toArray().indexOf(this._activeItem);be>-1&&be!==this._activeItemIndex&&(this._activeItemIndex=be)}}))}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 Q=this._getItemsArray();for(let be=1;be!F[dt]||this._allowedModifierKeys.indexOf(dt)>-1);switch(V){case u.Mf:return void this.tabOut.next();case u.JH:if(this._vertical&&be){this.setNextItemActive();break}return;case u.LH:if(this._vertical&&be){this.setPreviousItemActive();break}return;case u.SV:if(this._horizontal&&be){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case u.oh:if(this._horizontal&&be){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case u.Sd:if(this._homeAndEnd&&be){this.setFirstItemActive();break}return;case u.uR:if(this._homeAndEnd&&be){this.setLastItemActive();break}return;case u.Ku:if(this._pageUpAndDown.enabled&&be){const dt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(dt>0?dt:0,1);break}return;case u.VM:if(this._pageUpAndDown.enabled&&be){const dt=this._activeItemIndex+this._pageUpAndDown.delta,Rt=this._getItemsArray().length;this._setActiveItemByIndex(dt=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(),Q="number"==typeof F?F:V.indexOf(F);this._activeItem=V[Q]??null,this._activeItemIndex=Q}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 Q=1;Q<=V.length;Q++){const be=(this._activeItemIndex+F*Q+V.length)%V.length;if(!this._skipPredicateFn(V[be]))return void this.setActiveItem(be)}}_setActiveInDefaultMode(F){this._setActiveItemByIndex(this._activeItemIndex+F,F)}_setActiveItemByIndex(F,V){const Q=this._getItemsArray();if(Q[F]){for(;this._skipPredicateFn(Q[F]);)if(!Q[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 Q=function G(De){try{return De.frameElement}catch{return null}}(function _t(De){return De.ownerDocument&&De.ownerDocument.defaultView||window}(V));if(Q&&(-1===tt(Q)||!this.isVisible(Q)))return!1;let be=V.nodeName.toLowerCase(),dt=tt(V);return V.hasAttribute("contenteditable")?-1!==dt:!("iframe"===be||"object"===be||this._platform.WEBKIT&&this._platform.IOS&&!function Ct(De){let F=De.nodeName.toLowerCase(),V="input"===F&&De.type;return"text"===V||"password"===V||"select"===F||"textarea"===F}(V))&&("audio"===be?!!V.hasAttribute("controls")&&-1!==dt:"video"===be?-1!==dt&&(null!==dt||this._platform.FIREFOX||V.hasAttribute("controls")):V.tabIndex>=0)}isFocusable(V,Q){return function Nt(De){return!function ve(De){return function Ze(De){return"input"==De.nodeName.toLowerCase()}(De)&&"hidden"==De.type}(De)&&(function ae(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")||Ge(De))}(V)&&!this.isDisabled(V)&&(Q?.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 Ge(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(!Ge(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,Q,be,dt=!1){this._element=F,this._checker=V,this._ngZone=Q,this._document=be,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,dt||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 Q=this._getFirstTabbableElement(V);return Q?.focus(F),!!Q}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 Q=0;Q=0;Q--){const be=V[Q].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(V[Q]):null;if(be)return be}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,Q,be){this._checker=V,this._ngZone=Q,this._document=be}create(V,Q=!1){return new Bt(V,this._checker,this._ngZone,this._document,Q)}}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})(),Lt=(()=>{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,Q,be){this._elementRef=V,this._focusTrapFactory=Q,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 Q=V.autoCapture;Q&&!Q.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"),K={ignoreKeys:[u.zL,u.jx,u.b2,u.MW,u.JU]},Te=(0,d.i$)({passive:!0,capture:!0});let et=(()=>{class De{get mostRecentModality(){return this._modality.value}constructor(V,Q,be,dt){this._platform=V,this._mostRecentTarget=null,this._modality=new f.X(null),this._lastTouchMs=0,this._onKeydown=Rt=>{this._options?.ignoreKeys?.some(qe=>qe===Rt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,d.sA)(Rt))},this._onMousedown=Rt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(oe(Rt)?"keyboard":"mouse"),this._mostRecentTarget=(0,d.sA)(Rt))},this._onTouchstart=Rt=>{Y(Rt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,d.sA)(Rt))},this._options={...K,...dt},this.modalityDetected=this._modality.pipe((0,y.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,x.x)()),V.isBrowser&&Q.runOutsideAngular(()=>{be.addEventListener("keydown",this._onKeydown,Te),be.addEventListener("mousedown",this._onMousedown,Te),be.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 _e(){return null}}),ut=new c.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Pe=0,mt=(()=>{class De{constructor(V,Q,be,dt){this._ngZone=Q,this._defaultOptions=dt,this._document=be,this._liveElement=V||this._createLiveElement()}announce(V,...Q){const be=this._defaultOptions;let dt,Rt;return 1===Q.length&&"number"==typeof Q[0]?Rt=Q[0]:[dt,Rt]=Q,this.clear(),clearTimeout(this._previousTimeout),dt||(dt=be&&be.politeness?be.politeness:"polite"),null==Rt&&be&&(Rt=be.duration),this._liveElement.setAttribute("aria-live",dt),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 Rt&&(this._previousTimeout=setTimeout(()=>this.clear(),Rt)),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",Q=this._document.getElementsByClassName(V),be=this._document.createElement("div");for(let dt=0;dt .cdk-overlay-container [aria-modal="true"]');for(let be=0;be{class De{constructor(V,Q,be,dt,Rt){this._ngZone=V,this._platform=Q,this._inputModalityDetector=be,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=dt,this._detectionMode=Rt?.detectionMode||0}monitor(V,Q=!1){const be=(0,S.fI)(V);if(!this._platform.isBrowser||1!==be.nodeType)return(0,h.of)();const dt=(0,d.kV)(be)||this._getDocument(),Rt=this._elementInfo.get(be);if(Rt)return Q&&(Rt.checkChildren=!0),Rt.subject;const qe={checkChildren:Q,subject:new g.x,rootNode:dt};return this._elementInfo.set(be,qe),this._registerGlobalListeners(qe),qe.subject}stopMonitoring(V){const Q=(0,S.fI)(V),be=this._elementInfo.get(Q);be&&(be.subject.complete(),this._setClasses(Q),this._elementInfo.delete(Q),this._removeGlobalListeners(be))}focusVia(V,Q,be){const dt=(0,S.fI)(V);dt===this._getDocument().activeElement?this._getClosestElementsInfo(dt).forEach(([qe,nt])=>this._originChanged(qe,Q,nt)):(this._setOrigin(Q),"function"==typeof dt.focus&&dt.focus(be))}ngOnDestroy(){this._elementInfo.forEach((V,Q)=>this.stopMonitoring(Q))}_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,Q){V.classList.toggle("cdk-focused",!!Q),V.classList.toggle("cdk-touch-focused","touch"===Q),V.classList.toggle("cdk-keyboard-focused","keyboard"===Q),V.classList.toggle("cdk-mouse-focused","mouse"===Q),V.classList.toggle("cdk-program-focused","program"===Q)}_setOrigin(V,Q=!1){this._ngZone.runOutsideAngular(()=>{this._origin=V,this._originFromTouchInteraction="touch"===V&&Q,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(V,Q){const be=this._elementInfo.get(Q),dt=(0,d.sA)(V);!be||!be.checkChildren&&Q!==dt||this._originChanged(Q,this._getFocusOrigin(dt),be)}_onBlur(V,Q){const be=this._elementInfo.get(Q);!be||be.checkChildren&&V.relatedTarget instanceof Node&&Q.contains(V.relatedTarget)||(this._setClasses(Q),this._emitOrigin(be,null))}_emitOrigin(V,Q){V.subject.observers.length&&this._ngZone.run(()=>V.subject.next(Q))}_registerGlobalListeners(V){if(!this._platform.isBrowser)return;const Q=V.rootNode,be=this._rootNodeFocusListenerCount.get(Q)||0;be||this._ngZone.runOutsideAngular(()=>{Q.addEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),Q.addEventListener("blur",this._rootNodeFocusAndBlurListener,Gt)}),this._rootNodeFocusListenerCount.set(Q,be+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,D.R)(this._stopInputModalityDetector)).subscribe(dt=>{this._setOrigin(dt,!0)}))}_removeGlobalListeners(V){const Q=V.rootNode;if(this._rootNodeFocusListenerCount.has(Q)){const be=this._rootNodeFocusListenerCount.get(Q);be>1?this._rootNodeFocusListenerCount.set(Q,be-1):(Q.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),Q.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Gt),this._rootNodeFocusListenerCount.delete(Q))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(V,Q,be){this._setClasses(V,Q),this._emitOrigin(be,Q),this._lastFocusOrigin=Q}_getClosestElementsInfo(V){const Q=[];return this._elementInfo.forEach((be,dt)=>{(dt===V||be.checkChildren&&dt.contains(V))&&Q.push([dt,be])}),Q}_isLastInteractionFromInputLabel(V){const{_mostRecentTarget:Q,mostRecentModality:be}=this._inputModalityDetector;if("mouse"!==be||!Q||Q===V||"INPUT"!==V.nodeName&&"TEXTAREA"!==V.nodeName||V.disabled)return!1;const dt=V.labels;if(dt)for(let Rt=0;Rt{class De{constructor(V,Q){this._elementRef=V,this._focusMonitor=Q,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(Q=>{this._focusOrigin=Q,this.cdkFocusChange.emit(Q)})}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(Oe))},De.\u0275dir=c.\u0275\u0275defineDirective({type:De,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),De})();const he="cdk-high-contrast-black-on-white",ge="cdk-high-contrast-white-on-black",ct="cdk-high-contrast-active";let Me=(()=>{class De{constructor(V,Q){this._platform=V,this._document=Q,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 Q=this._document.defaultView||window,be=Q&&Q.getComputedStyle?Q.getComputedStyle(V):null,dt=(be&&be.backgroundColor||"").replace(/ /g,"");switch(V.remove(),dt){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(ct,he,ge),this._hasCheckedHighContrastMode=!0;const Q=this.getHighContrastMode();1===Q?V.add(ct,he):2===Q&&V.add(ct,ge)}}}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(Me))},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:()=>h,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 h=(()=>{class b{constructor(_){this.value="ltr",this.change=new n.EventEmitter,_&&(this.value=function f(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:()=>f,Ig:()=>c,du:()=>u,fI:()=>h,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 f(v){return null==v?"":"string"==typeof v?v:`${v}px`}function h(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:()=>h});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 h{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:()=>ve,JH:()=>X,JU:()=>f,K5:()=>r,Ku:()=>l,LH:()=>E,L_:()=>_,MW:()=>ut,Mf:()=>d,SV:()=>I,Sd:()=>D,VM:()=>y,Vb:()=>ri,Z:()=>_e,ZH:()=>c,aO:()=>Ee,b2:()=>wi,hY:()=>p,jx:()=>h,oh:()=>S,uR:()=>x,xE:()=>U,zL:()=>u});const c=8,d=9,r=13,f=16,h=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,ve=65,_e=90,ut=91,wi=224;function ri(ai,...Ni){return Ni.length?Ni.some(Mt=>ai[Mt]):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),f=a(5592),h=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,Ce){this._platform=U,this._nonce=Ce,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,Ce){this._mediaMatcher=U,this._zone=Ce,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(de=>this._registerQuery(de).observable);let Ae=(0,g.a)(Re);return Ae=(0,r.z)(Ae.pipe((0,h.q)(1)),Ae.pipe((0,u.T)(1),(0,v.b)(0))),Ae.pipe((0,b.U)(de=>{const H={matches:!1,breakpoints:{}};return de.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 Ce=this._mediaMatcher.matchMedia(U),Ae={observable:new f.y(de=>{const H=W=>this._zone.run(()=>de.next(W));return Ce.addListener(H),()=>{Ce.removeListener(H)}}).pipe((0,p.O)(Ce),(0,b.U)(({matches:de})=>({query:U,matches:de})),(0,_.R)(this._destroySubject)),mql:Ce};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 f=(()=>{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})(),h=(()=>{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(f))},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(h),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:[f]}),b})()},9594:(Ie,B,a)=>{"use strict";a.d(B,{U8:()=>N,X_:()=>U,_G:()=>ae,aV:()=>Bt,pI:()=>lt,xu:()=>Le});var n=a(6672),c=a(6814),d=a(5879),g=a(2495),r=a(2831),f=a(2181),h=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,K){this._viewportRuler=ne,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=K}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,ce=ne.style,Te=this._document.body.style,et=ce.scrollBehavior||"",Dt=Te.scrollBehavior||"";this._isEnabled=!1,ce.left=this._previousHTMLStyles.left,ce.top=this._previousHTMLStyles.top,ne.classList.remove("cdk-global-scrollblock"),D&&(ce.scrollBehavior=Te.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),D&&(ce.scrollBehavior=et,Te.scrollBehavior=Dt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const K=this._document.body,ce=this._viewportRuler.getViewportSize();return K.scrollHeight>ce.height||K.scrollWidth>ce.width}}class I{constructor(ne,K,ce,Te){this._scrollDispatcher=ne,this._ngZone=K,this._viewportRuler=ce,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,f.h)(K=>!K||!this._overlayRef.overlayElement.contains(K.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ne.subscribe(()=>{const K=this._viewportRuler.getViewportScrollPosition().top;Math.abs(K-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(K=>Y.bottomK.bottom||Y.rightK.right)}function ee(Y,ne){return ne.some(K=>Y.topK.bottom||Y.leftK.right)}class ie{constructor(ne,K,ce,Te){this._scrollDispatcher=ne,this._viewportRuler=K,this._ngZone=ce,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 K=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ce,height:Te}=this._viewportRuler.getViewportSize();$(K,[{width:ce,height:Te,bottom:Te,right:ce,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(K,ce,Te,et){this._scrollDispatcher=K,this._viewportRuler=ce,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=et}}return Y.\u0275fac=function(K){return new(K||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 K=Object.keys(ne);for(const ce of K)void 0!==ne[ce]&&(this[ce]=ne[ce])}}}class Ae{constructor(ne,K){this.connectionPair=ne,this.scrollableViewProperties=K}}let W=(()=>{class Y{constructor(K){this._attachedOverlays=[],this._document=K}ngOnDestroy(){this.detach()}add(K){this.remove(K),this._attachedOverlays.push(K)}remove(K){const ce=this._attachedOverlays.indexOf(K);ce>-1&&this._attachedOverlays.splice(ce,1),0===this._attachedOverlays.length&&this.detach()}}return Y.\u0275fac=function(K){return new(K||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(K,ce){super(K),this._ngZone=ce,this._keydownListener=Te=>{const et=this._attachedOverlays;for(let Dt=et.length-1;Dt>-1;Dt--)if(et[Dt]._keydownEvents.observers.length>0){const _e=et[Dt]._keydownEvents;this._ngZone?this._ngZone.run(()=>_e.next(Te)):_e.next(Te);break}}}add(K){super.add(K),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(K){return new(K||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(K,ce,Te){super(K),this._platform=ce,this._ngZone=Te,this._cursorStyleIsSet=!1,this._pointerDownListener=et=>{this._pointerDownEventTarget=(0,r.sA)(et)},this._clickListener=et=>{const Dt=(0,r.sA)(et),_e="click"===et.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Dt;this._pointerDownEventTarget=null;const ut=this._attachedOverlays.slice();for(let Pe=ut.length-1;Pe>-1;Pe--){const mt=ut[Pe];if(mt._outsidePointerEvents.observers.length<1||!mt.hasAttached())continue;if(mt.overlayElement.contains(Dt)||mt.overlayElement.contains(_e))break;const Pt=mt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Pt.next(et)):Pt.next(et)}}}add(K){if(super.add(K),!this._isAttached){const ce=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ce)):this._addEventListeners(ce),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ce.style.cursor,ce.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const K=this._document.body;K.removeEventListener("pointerdown",this._pointerDownListener,!0),K.removeEventListener("click",this._clickListener,!0),K.removeEventListener("auxclick",this._clickListener,!0),K.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(K.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(K){K.addEventListener("pointerdown",this._pointerDownListener,!0),K.addEventListener("click",this._clickListener,!0),K.addEventListener("auxclick",this._clickListener,!0),K.addEventListener("contextmenu",this._clickListener,!0)}}return Y.\u0275fac=function(K){return new(K||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(K,ce){this._platform=ce,this._document=K}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const K="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const Te=this._document.querySelectorAll(`.${K}[platform="server"], .${K}[platform="test"]`);for(let et=0;etthis._backdropClick.next(Pt),this._backdropTransitionendHandler=Pt=>{this._disposeBackdrop(Pt.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 K=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,h.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 K?.onDestroy&&K.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),K}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,K,ce){const Te=(0,g.Eq)(K||[]).filter(et=>!!et);Te.length&&(ce?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 ae{get positions(){return this._preferredPositions}constructor(ne,K,ce,Te,et){this._viewportRuler=K,this._document=ce,this._platform=Te,this._overlayContainer=et,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,K=this._overlayRect,ce=this._viewportRect,Te=this._containerRect,et=[];let Dt;for(let _e of this._preferredPositions){let ut=this._getOriginPoint(ne,Te,_e),Pe=this._getOverlayPoint(ut,K,_e),mt=this._getOverlayFit(Pe,K,ce,_e);if(mt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(_e,ut);this._canFitWithFlexibleDimensions(mt,Pe,ce)?et.push({position:_e,origin:ut,overlayRect:K,boundingBoxRect:this._calculateBoundingBoxRect(ut,_e)}):(!Dt||Dt.overlayFit.visibleAreaut&&(ut=mt,_e=Pe)}return this._isPushed=!1,void this._applyPosition(_e.position,_e.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&&ve(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 K=this._getOriginPoint(this._originRect,this._containerRect,ne);this._applyPosition(ne,K)}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,K,ce){let Te,et;if("center"==ce.originX)Te=ne.left+ne.width/2;else{const Dt=this._isRtl()?ne.right:ne.left,_e=this._isRtl()?ne.left:ne.right;Te="start"==ce.originX?Dt:_e}return K.left<0&&(Te-=K.left),et="center"==ce.originY?ne.top+ne.height/2:"top"==ce.originY?ne.top:ne.bottom,K.top<0&&(et-=K.top),{x:Te,y:et}}_getOverlayPoint(ne,K,ce){let Te,et;return Te="center"==ce.overlayX?-K.width/2:"start"===ce.overlayX?this._isRtl()?-K.width:0:this._isRtl()?0:-K.width,et="center"==ce.overlayY?-K.height/2:"top"==ce.overlayY?0:-K.height,{x:ne.x+Te,y:ne.y+et}}_getOverlayFit(ne,K,ce,Te){const et=Ze(K);let{x:Dt,y:_e}=ne,ut=this._getOffset(Te,"x"),Pe=this._getOffset(Te,"y");ut&&(Dt+=ut),Pe&&(_e+=Pe);let Ft=0-_e,Gt=_e+et.height-ce.height,Oe=this._subtractOverflows(et.width,0-Dt,Dt+et.width-ce.width),Ke=this._subtractOverflows(et.height,Ft,Gt),he=Oe*Ke;return{visibleArea:he,isCompletelyWithinViewport:et.width*et.height===he,fitsInViewportVertically:Ke===et.height,fitsInViewportHorizontally:Oe==et.width}}_canFitWithFlexibleDimensions(ne,K,ce){if(this._hasFlexibleDimensions){const Te=ce.bottom-K.y,et=ce.right-K.x,Dt=He(this._overlayRef.getConfig().minHeight),_e=He(this._overlayRef.getConfig().minWidth);return(ne.fitsInViewportVertically||null!=Dt&&Dt<=Te)&&(ne.fitsInViewportHorizontally||null!=_e&&_e<=et)}return!1}_pushOverlayOnScreen(ne,K,ce){if(this._previousPushAmount&&this._positionLocked)return{x:ne.x+this._previousPushAmount.x,y:ne.y+this._previousPushAmount.y};const Te=Ze(K),et=this._viewportRect,Dt=Math.max(ne.x+Te.width-et.width,0),_e=Math.max(ne.y+Te.height-et.height,0),ut=Math.max(et.top-ce.top-ne.y,0),Pe=Math.max(et.left-ce.left-ne.x,0);let mt=0,Pt=0;return mt=Te.width<=et.width?Pe||-Dt:ne.xOe&&!this._isInitialRender&&!this._growAfterOpen&&(Dt=ne.y-Oe/2)}if("end"===K.overlayX&&!Te||"start"===K.overlayX&&Te)Ft=ce.width-ne.x+this._viewportMargin,mt=ne.x-this._viewportMargin;else if("start"===K.overlayX&&!Te||"end"===K.overlayX&&Te)Pt=ne.x,mt=ce.right-ne.x;else{const Gt=Math.min(ce.right-ne.x+ce.left,ne.x),Oe=this._lastBoundingBoxSize.width;mt=2*Gt,Pt=ne.x-Gt,mt>Oe&&!this._isInitialRender&&!this._growAfterOpen&&(Pt=ne.x-Oe/2)}return{top:Dt,left:Pt,bottom:_e,right:Ft,width:mt,height:et}}_setBoundingBoxStyles(ne,K){const ce=this._calculateBoundingBoxRect(ne,K);!this._isInitialRender&&!this._growAfterOpen&&(ce.height=Math.min(ce.height,this._lastBoundingBoxSize.height),ce.width=Math.min(ce.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 et=this._overlayRef.getConfig().maxHeight,Dt=this._overlayRef.getConfig().maxWidth;Te.height=(0,g.HM)(ce.height),Te.top=(0,g.HM)(ce.top),Te.bottom=(0,g.HM)(ce.bottom),Te.width=(0,g.HM)(ce.width),Te.left=(0,g.HM)(ce.left),Te.right=(0,g.HM)(ce.right),Te.alignItems="center"===K.overlayX?"center":"end"===K.overlayX?"flex-end":"flex-start",Te.justifyContent="center"===K.overlayY?"center":"bottom"===K.overlayY?"flex-end":"flex-start",et&&(Te.maxHeight=(0,g.HM)(et)),Dt&&(Te.maxWidth=(0,g.HM)(Dt))}this._lastBoundingBoxSize=ce,ve(this._boundingBox.style,Te)}_resetBoundingBoxStyles(){ve(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ve(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ne,K){const ce={},Te=this._hasExactPosition(),et=this._hasFlexibleDimensions,Dt=this._overlayRef.getConfig();if(Te){const mt=this._viewportRuler.getViewportScrollPosition();ve(ce,this._getExactOverlayY(K,ne,mt)),ve(ce,this._getExactOverlayX(K,ne,mt))}else ce.position="static";let _e="",ut=this._getOffset(K,"x"),Pe=this._getOffset(K,"y");ut&&(_e+=`translateX(${ut}px) `),Pe&&(_e+=`translateY(${Pe}px)`),ce.transform=_e.trim(),Dt.maxHeight&&(Te?ce.maxHeight=(0,g.HM)(Dt.maxHeight):et&&(ce.maxHeight="")),Dt.maxWidth&&(Te?ce.maxWidth=(0,g.HM)(Dt.maxWidth):et&&(ce.maxWidth="")),ve(this._pane.style,ce)}_getExactOverlayY(ne,K,ce){let Te={top:"",bottom:""},et=this._getOverlayPoint(K,this._overlayRect,ne);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,ce)),"bottom"===ne.overlayY?Te.bottom=this._document.documentElement.clientHeight-(et.y+this._overlayRect.height)+"px":Te.top=(0,g.HM)(et.y),Te}_getExactOverlayX(ne,K,ce){let Dt,Te={left:"",right:""},et=this._getOverlayPoint(K,this._overlayRect,ne);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,ce)),Dt=this._isRtl()?"end"===ne.overlayX?"left":"right":"end"===ne.overlayX?"right":"left","right"===Dt?Te.right=this._document.documentElement.clientWidth-(et.x+this._overlayRect.width)+"px":Te.left=(0,g.HM)(et.x),Te}_getScrollVisibility(){const ne=this._getOriginRect(),K=this._pane.getBoundingClientRect(),ce=this._scrollables.map(Te=>Te.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ee(ne,ce),isOriginOutsideView:$(ne,ce),isOverlayClipped:ee(K,ce),isOverlayOutsideView:$(K,ce)}}_subtractOverflows(ne,...K){return K.reduce((ce,Te)=>ce-Math.max(Te,0),ne)}_getNarrowedViewportRect(){const ne=this._document.documentElement.clientWidth,K=this._document.documentElement.clientHeight,ce=this._viewportRuler.getViewportScrollPosition();return{top:ce.top+this._viewportMargin,left:ce.left+this._viewportMargin,right:ce.left+ne-this._viewportMargin,bottom:ce.top+K-this._viewportMargin,width:ne-2*this._viewportMargin,height:K-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ne,K){return"x"===K?null==ne.offsetX?this._offsetX:ne.offsetX:null==ne.offsetY?this._offsetY:ne.offsetY}_validatePositions(){}_addPanelClasses(ne){this._pane&&(0,g.Eq)(ne).forEach(K=>{""!==K&&-1===this._appliedPanelClasses.indexOf(K)&&(this._appliedPanelClasses.push(K),this._pane.classList.add(K))})}_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 K=ne.width||0,ce=ne.height||0;return{top:ne.y,bottom:ne.y+ce,left:ne.x,right:ne.x+K,height:ce,width:K}}}function ve(Y,ne){for(let K in ne)ne.hasOwnProperty(K)&&(Y[K]=ne[K]);return Y}function He(Y){if("number"!=typeof Y&&null!=Y){const[ne,K]=Y.split(re);return K&&"px"!==K?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 Ct{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ne){const K=ne.getConfig();this._overlayRef=ne,this._width&&!K.width&&ne.updateSize({width:this._width}),this._height&&!K.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,K=this._overlayRef.hostElement.style,ce=this._overlayRef.getConfig(),{width:Te,height:et,maxWidth:Dt,maxHeight:_e}=ce,ut=!("100%"!==Te&&"100vw"!==Te||Dt&&"100%"!==Dt&&"100vw"!==Dt),Pe=!("100%"!==et&&"100vh"!==et||_e&&"100%"!==_e&&"100vh"!==_e),mt=this._xPosition,Pt=this._xOffset,Ft="rtl"===this._overlayRef.getConfig().direction;let Gt="",Oe="",Ke="";ut?Ke="flex-start":"center"===mt?(Ke="center",Ft?Oe=Pt:Gt=Pt):Ft?"left"===mt||"end"===mt?(Ke="flex-end",Gt=Pt):("right"===mt||"start"===mt)&&(Ke="flex-start",Oe=Pt):"left"===mt||"start"===mt?(Ke="flex-start",Gt=Pt):("right"===mt||"end"===mt)&&(Ke="flex-end",Oe=Pt),ne.position=this._cssPosition,ne.marginLeft=ut?"0":Gt,ne.marginTop=Pe?"0":this._topOffset,ne.marginBottom=this._bottomOffset,ne.marginRight=ut?"0":Oe,K.justifyContent=Ke,K.alignItems=Pe?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ne=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement,ce=K.style;K.classList.remove(tt),ce.justifyContent=ce.alignItems=ne.marginTop=ne.marginBottom=ne.marginLeft=ne.marginRight=ne.position="",this._overlayRef=null,this._isDisposed=!0}}let Nt=(()=>{class Y{constructor(K,ce,Te,et){this._viewportRuler=K,this._document=ce,this._platform=Te,this._overlayContainer=et}global(){return new Ct}flexibleConnectedTo(K){return new ae(K,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Y.\u0275fac=function(K){return new(K||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})(),_t=0,Bt=(()=>{class Y{constructor(K,ce,Te,et,Dt,_e,ut,Pe,mt,Pt,Ft,Gt){this.scrollStrategies=K,this._overlayContainer=ce,this._componentFactoryResolver=Te,this._positionBuilder=et,this._keyboardDispatcher=Dt,this._injector=_e,this._ngZone=ut,this._document=Pe,this._directionality=mt,this._location=Pt,this._outsideClickDispatcher=Ft,this._animationsModuleType=Gt}create(K){const ce=this._createHostElement(),Te=this._createPaneElement(ce),et=this._createPortalOutlet(Te),Dt=new U(K);return Dt.direction=Dt.direction||this._directionality.value,new Be(et,ce,Te,Dt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(K){const ce=this._document.createElement("div");return ce.id="cdk-overlay-"+_t++,ce.classList.add("cdk-overlay-pane"),K.appendChild(ce),ce}_createHostElement(){const K=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(K),K}_createPortalOutlet(K){return this._appRef||(this._appRef=this._injector.get(d.ApplicationRef)),new p.u0(K,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Y.\u0275fac=function(K){return new(K||Y)(d.\u0275\u0275inject(A),d.\u0275\u0275inject(Ee),d.\u0275\u0275inject(d.ComponentFactoryResolver),d.\u0275\u0275inject(Nt),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"}],Lt=new d.InjectionToken("cdk-connected-overlay-scroll-strategy");let Le=(()=>{class Y{constructor(K){this.elementRef=K}}return Y.\u0275fac=function(K){return new(K||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})(),lt=(()=>{class Y{get offsetX(){return this._offsetX}set offsetX(K){this._offsetX=K,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(K){this._offsetY=K,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(K){this._hasBackdrop=(0,g.Ig)(K)}get lockPosition(){return this._lockPosition}set lockPosition(K){this._lockPosition=(0,g.Ig)(K)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(K){this._flexibleDimensions=(0,g.Ig)(K)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(K){this._growAfterOpen=(0,g.Ig)(K)}get push(){return this._push}set push(K){this._push=(0,g.Ig)(K)}constructor(K,ce,Te,et,Dt){this._overlay=K,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(ce,Te),this._scrollStrategyFactory=et,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(K){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),K.origin&&this.open&&this._position.apply()),K.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Tt);const K=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=K.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=K.detachments().subscribe(()=>this.detach.emit()),K.keydownEvents().subscribe(ce=>{this.overlayKeydown.next(ce),ce.keyCode===x.hY&&!this.disableClose&&!(0,x.Vb)(ce)&&(ce.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ce=>{this.overlayOutsideClick.next(ce)})}_buildConfig(){const K=this._position=this.positionStrategy||this._createPositionStrategy(),ce=new U({direction:this._dir,positionStrategy:K,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(ce.width=this.width),(this.height||0===this.height)&&(ce.height=this.height),(this.minWidth||0===this.minWidth)&&(ce.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ce.minHeight=this.minHeight),this.backdropClass&&(ce.backdropClass=this.backdropClass),this.panelClass&&(ce.panelClass=this.panelClass),ce}_updatePositionStrategy(K){const ce=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 K.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ce).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const K=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(K),K}_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(K=>{this.backdropClick.emit(K)}):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(K=>{this.positionChange.emit(K),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Y.\u0275fac=function(K){return new(K||Y)(d.\u0275\u0275directiveInject(Bt),d.\u0275\u0275directiveInject(d.TemplateRef),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(Lt),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:Lt,deps:[Bt],useFactory:function ze(Y){return()=>Y.scrollStrategies.reposition()}};let N=(()=>{class Y{}return Y.\u0275fac=function(K){return new(K||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 f,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 h=["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(f)return f;if("object"!=typeof document||!document)return f=new Set(h),f;let ee=document.createElement("input");return f=new Set(h.filter(ie=>(ee.setAttribute("type",ie),ee.type===ie))),f}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,Ce,Re,Ae){super(),this.component=A,this.viewContainerRef=U,this.injector=Ce,this.componentFactoryResolver=Re,this.projectableNodes=Ae}}class p extends v{constructor(A,U,Ce,Re){super(),this.templateRef=A,this.viewContainerRef=U,this.context=Ce,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,Ce,Re,Ae){super(),this.outletElement=A,this._componentFactoryResolver=U,this._appRef=Ce,this._defaultInjector=Re,this.attachDomPortal=de=>{const H=de.element,W=this._document.createComment("dom-portal");H.parentNode.insertBefore(W,H),this.outletElement.appendChild(H),this._attachedPortal=de,super.setDisposeFn(()=>{W.parentNode&&W.parentNode.replaceChild(H,W)})},this._document=Ae}attachComponentPortal(A){const Ce=(A.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(A.component);let Re;return A.viewContainerRef?(Re=A.viewContainerRef.createComponent(Ce,A.viewContainerRef.length,A.injector||A.viewContainerRef.injector,A.projectableNodes||void 0),this.setDisposeFn(()=>Re.destroy())):(Re=Ce.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,Ce=U.createEmbeddedView(A.templateRef,A.context,{injector:A.injector});return Ce.rootNodes.forEach(Re=>this.outletElement.appendChild(Re)),Ce.detectChanges(),this.setDisposeFn(()=>{let Re=U.indexOf(Ce);-1!==Re&&U.remove(Re)}),this._attachedPortal=A,Ce}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(A){return A.hostView.rootNodes[0]}}let S=(()=>{class ie extends p{constructor(U,Ce){super(U,Ce)}}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,Ce,Re){super(),this._componentFactoryResolver=U,this._viewContainerRef=Ce,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=Ae=>{const de=Ae.element,H=this._document.createComment("dom-portal");Ae.setAttachedHost(this),de.parentNode.insertBefore(H,de),this._getRootNode().appendChild(de),this._attachedPortal=Ae,super.setDisposeFn(()=>{H.parentNode&&H.parentNode.replaceChild(de,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 Ce=null!=U.viewContainerRef?U.viewContainerRef:this._viewContainerRef,Ae=(U.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(U.component),de=Ce.createComponent(Ae,Ce.length,U.injector||Ce.injector,U.projectableNodes||void 0);return Ce!==this._viewContainerRef&&this._getRootNode().appendChild(de.hostView.rootNodes[0]),super.setDisposeFn(()=>de.destroy()),this._attachedPortal=U,this._attachedRef=de,this.attached.emit(de),de}attachTemplatePortal(U){U.setAttachedHost(this);const Ce=this._viewContainerRef.createEmbeddedView(U.templateRef,U.context,{injector:U.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=U,this._attachedRef=Ce,this.attached.emit(Ce),Ce}_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),f=a(2438),v=(a(927),a(6410),a(8672)),b=a(2181),p=a(2831),_=a(6814),l=a(9388);let $=(()=>{class G{constructor(ae,ve,He){this._ngZone=ae,this._platform=ve,this._scrolled=new d.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=He}register(ae){this.scrollContainers.has(ae)||this.scrollContainers.set(ae,ae.elementScrolled().subscribe(()=>this._scrolled.next(ae)))}deregister(ae){const ve=this.scrollContainers.get(ae);ve&&(ve.unsubscribe(),this.scrollContainers.delete(ae))}scrolled(ae=20){return this._platform.isBrowser?new r.y(ve=>{this._globalSubscription||this._addGlobalListener();const He=ae>0?this._scrolled.pipe((0,v.e)(ae)).subscribe(ve):this._scrolled.subscribe(ve);return this._scrolledCount++,()=>{He.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,g.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ae,ve)=>this.deregister(ve)),this._scrolled.complete()}ancestorScrolled(ae,ve){const He=this.getAncestorScrollContainers(ae);return this.scrolled(ve).pipe((0,b.h)(Ze=>!Ze||He.indexOf(Ze)>-1))}getAncestorScrollContainers(ae){const ve=[];return this.scrollContainers.forEach((He,Ze)=>{this._scrollableContainsElement(Ze,ae)&&ve.push(Ze)}),ve}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ae,ve){let He=(0,n.fI)(ve),Ze=ae.getElementRef().nativeElement;do{if(He==Ze)return!0}while(He=He.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ae=this._getWindow();return(0,f.R)(ae.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return G.\u0275fac=function(ae){return new(ae||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(ae,ve,He){this._platform=ae,this._change=new d.x,this._changeListener=Ze=>{this._change.next(Ze)},this._document=He,ve.runOutsideAngular(()=>{if(ae.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 ae=this._getWindow();ae.removeEventListener("resize",this._changeListener),ae.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ae={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ae}getViewportRect(){const ae=this.getViewportScrollPosition(),{width:ve,height:He}=this.getViewportSize();return{top:ae.top,left:ae.left,bottom:ae.top+He,right:ae.left+ve,height:He,width:ve}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ae=this._document,ve=this._getWindow(),He=ae.documentElement,Ze=He.getBoundingClientRect();return{top:-Ze.top||ae.body.scrollTop||ve.scrollY||He.scrollTop||0,left:-Ze.left||ae.body.scrollLeft||ve.scrollX||He.scrollLeft||0}}change(ae=20){return ae>0?this._change.pipe((0,v.e)(ae)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ae=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ae.innerWidth,height:ae.innerHeight}:{width:0,height:0}}}return G.\u0275fac=function(ae){return new(ae||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(ae){return new(ae||G)},G.\u0275mod=c.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=c.\u0275\u0275defineInjector({}),G})(),Be=(()=>{class G{}return G.\u0275fac=function(ae){return new(ae||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:()=>h});var n=a(2831),c=a(5879),d=a(2495),g=a(6232),r=a(8645);const f=(0,n.i$)({passive:!0});let h=(()=>{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,f),y.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(y,{subject:D,unlisten:()=>{y.removeEventListener("animationstart",E,f)}}),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:()=>f,DatePipe:()=>En,DecimalPipe:()=>Ot,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:()=>se,NgStyle:()=>Xe,NgSwitch:()=>Mt,NgSwitchCase:()=>jt,NgSwitchDefault:()=>ke,NgTemplateOutlet:()=>kt,NumberFormatStyle:()=>ie,NumberSymbol:()=>Ae,PRECONNECT_CHECK_BLOCKLIST:()=>bo,PathLocationStrategy:()=>x,PercentPipe:()=>C,PlatformLocation:()=>h,Plural:()=>A,SlicePipe:()=>Zt,TitleCasePipe:()=>Fi,TranslationWidth:()=>Ce,UpperCasePipe:()=>Gi,VERSION:()=>St,ViewportScroller:()=>Ht,WeekDay:()=>de,XhrFactory:()=>Vn,formatCurrency:()=>Vi,formatDate:()=>et,formatNumber:()=>xt,formatPercent:()=>Yi,getCurrencySymbol:()=>ze,getLocaleCurrencyCode:()=>tt,getLocaleCurrencyName:()=>Ge,getLocaleCurrencySymbol:()=>Qe,getLocaleDateFormat:()=>re,getLocaleDateTimeFormat:()=>ve,getLocaleDayNames:()=>pe,getLocaleDayPeriods:()=>W,getLocaleDirection:()=>Lt,getLocaleEraNames:()=>Ee,getLocaleExtraDayPeriodRules:()=>Bt,getLocaleExtraDayPeriods:()=>Tt,getLocaleFirstDayOfWeek:()=>Be,getLocaleId:()=>H,getLocaleMonthNames:()=>we,getLocaleNumberFormat:()=>Ze,getLocaleNumberSymbol:()=>He,getLocalePluralCase:()=>Nt,getLocaleTimeFormat:()=>ae,getLocaleWeekEndRange:()=>G,getNumberOfCurrencyDigits:()=>N,isPlatformBrowser:()=>ir,isPlatformServer:()=>wt,isPlatformWorkerApp:()=>vt,isPlatformWorkerUi:()=>gt,provideCloudflareLoader:()=>Oo,provideCloudinaryLoader:()=>po,provideImageKitLoader:()=>go,provideImgixLoader:()=>We,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 f=new n.InjectionToken("DocumentToken");let h=(()=>{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 h{constructor(){super(),this._doc=(0,n.inject)(f),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)(f).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,$t){const Kt=this.prepareExternalUrl(ht+_($t));this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,$t){const Kt=this.prepareExternalUrl(ht+_($t));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(h),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,$t){let Kt=this.prepareExternalUrl(ht+_($t));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,$t){let Kt=this.prepareExternalUrl(ht+_($t));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(h),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||{}),Ce=function(L){return L[L.Narrow=0]="Narrow",L[L.Abbreviated=1]="Abbreviated",L[L.Wide=2]="Wide",L[L.Short=3]="Short",L}(Ce||{}),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||{}),de=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}(de||{});function H(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.LocaleId]}function W(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.DayPeriodsFormat],Ue[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],xe);return Le($t,Z)}function pe(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.DaysFormat],Ue[n.\u0275LocaleDataIndex.DaysStandalone]],xe);return Le($t,Z)}function we(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.MonthsFormat],Ue[n.\u0275LocaleDataIndex.MonthsStandalone]],xe);return Le($t,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 ae(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.TimeFormat],xe)}function ve(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 Ge(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.CurrencyName]||null}function tt(L){return(0,n.\u0275getLocaleCurrencyCode)(L)}const Nt=n.\u0275getLocalePluralCase;function _t(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 _t(xe),(xe[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Ue=>"string"==typeof Ue?lt(Ue):[lt(Ue[0]),lt(Ue[1])])}function Tt(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L);_t(Ue);const $t=Le([Ue[n.\u0275LocaleDataIndex.ExtraData][0],Ue[n.\u0275LocaleDataIndex.ExtraData][1]],xe)||[];return Le($t,Z)||[]}function Lt(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 lt(L){const[xe,Z]=L.split(":");return{hours:+xe,minutes:+Z}}function ze(L,xe,Z="en"){const Ue=function Ct(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 K=function(L){return L[L.Short=0]="Short",L[L.ShortGMT=1]="ShortGMT",L[L.Long=2]="Long",L[L.Extended=3]="Extended",L}(K||{}),ce=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}(ce||{}),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 et(L,xe,Z,Ue){let ht=function Rt(L){if(nt(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,$t=1,Kt=1]=L.split("-").map(Un=>+Un);return Dt(ht,$t-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,$t=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 $t.call(xe,Kt,Un,ki,Hi),xe}(Ue)}const xe=new Date(L);if(!nt(xe))throw new Error(`Unable to convert "${L}" into a date`);return xe}(L);xe=_e(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=Q(Ue,ki),ht=function dt(L,xe,Z){const Ue=Z?-1:1,ht=L.getTimezoneOffset();return function be(L,xe){return(L=new Date(L.getTime())).setMinutes(L.getMinutes()+xe),L}(L,Ue*(Q(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=Gt(Te.Eras,Ce.Abbreviated);break;case"GGGG":xe=Gt(Te.Eras,Ce.Wide);break;case"GGGGG":xe=Gt(Te.Eras,Ce.Narrow);break;case"y":xe=Pt(ce.FullYear,1,0,!1,!0);break;case"yy":xe=Pt(ce.FullYear,2,0,!0,!0);break;case"yyy":xe=Pt(ce.FullYear,3,0,!1,!0);break;case"yyyy":xe=Pt(ce.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=Pt(ce.Month,1,1);break;case"MM":case"LL":xe=Pt(ce.Month,2,1);break;case"MMM":xe=Gt(Te.Months,Ce.Abbreviated);break;case"MMMM":xe=Gt(Te.Months,Ce.Wide);break;case"MMMMM":xe=Gt(Te.Months,Ce.Narrow);break;case"LLL":xe=Gt(Te.Months,Ce.Abbreviated,U.Standalone);break;case"LLLL":xe=Gt(Te.Months,Ce.Wide,U.Standalone);break;case"LLLLL":xe=Gt(Te.Months,Ce.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=Pt(ce.Date,1);break;case"dd":xe=Pt(ce.Date,2);break;case"c":case"cc":xe=Pt(ce.Day,1);break;case"ccc":xe=Gt(Te.Days,Ce.Abbreviated,U.Standalone);break;case"cccc":xe=Gt(Te.Days,Ce.Wide,U.Standalone);break;case"ccccc":xe=Gt(Te.Days,Ce.Narrow,U.Standalone);break;case"cccccc":xe=Gt(Te.Days,Ce.Short,U.Standalone);break;case"E":case"EE":case"EEE":xe=Gt(Te.Days,Ce.Abbreviated);break;case"EEEE":xe=Gt(Te.Days,Ce.Wide);break;case"EEEEE":xe=Gt(Te.Days,Ce.Narrow);break;case"EEEEEE":xe=Gt(Te.Days,Ce.Short);break;case"a":case"aa":case"aaa":xe=Gt(Te.DayPeriods,Ce.Abbreviated);break;case"aaaa":xe=Gt(Te.DayPeriods,Ce.Wide);break;case"aaaaa":xe=Gt(Te.DayPeriods,Ce.Narrow);break;case"b":case"bb":case"bbb":xe=Gt(Te.DayPeriods,Ce.Abbreviated,U.Standalone,!0);break;case"bbbb":xe=Gt(Te.DayPeriods,Ce.Wide,U.Standalone,!0);break;case"bbbbb":xe=Gt(Te.DayPeriods,Ce.Narrow,U.Standalone,!0);break;case"B":case"BB":case"BBB":xe=Gt(Te.DayPeriods,Ce.Abbreviated,U.Format,!0);break;case"BBBB":xe=Gt(Te.DayPeriods,Ce.Wide,U.Format,!0);break;case"BBBBB":xe=Gt(Te.DayPeriods,Ce.Narrow,U.Format,!0);break;case"h":xe=Pt(ce.Hours,1,-12);break;case"hh":xe=Pt(ce.Hours,2,-12);break;case"H":xe=Pt(ce.Hours,1);break;case"HH":xe=Pt(ce.Hours,2);break;case"m":xe=Pt(ce.Minutes,1);break;case"mm":xe=Pt(ce.Minutes,2);break;case"s":xe=Pt(ce.Seconds,1);break;case"ss":xe=Pt(ce.Seconds,2);break;case"S":xe=Pt(ce.FractionalSeconds,1);break;case"SS":xe=Pt(ce.FractionalSeconds,2);break;case"SSS":xe=Pt(ce.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":xe=Ke(K.Short);break;case"ZZZZZ":xe=Ke(K.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":xe=Ke(K.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":xe=Ke(K.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 _e(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=ae(L,Re.Short);break;case"mediumTime":Ue=ae(L,Re.Medium);break;case"longTime":Ue=ae(L,Re.Long);break;case"fullTime":Ue=ae(L,Re.Full);break;case"short":const ht=_e(L,"shortTime"),$t=_e(L,"shortDate");Ue=ut(ve(L,Re.Short),[ht,$t]);break;case"medium":const Kt=_e(L,"mediumTime"),Un=_e(L,"mediumDate");Ue=ut(ve(L,Re.Medium),[Kt,Un]);break;case"long":const ki=_e(L,"longTime"),Hi=_e(L,"longDate");Ue=ut(ve(L,Re.Long),[ki,Hi]);break;case"full":const Ci=_e(L,"fullTime"),Jn=_e(L,"fullDate");Ue=ut(ve(L,Re.Full),[Ci,Jn])}return Ue&&(Y[Z][xe]=Ue),Ue}function ut(L,xe){return xe&&(L=L.replace(/\{([^}]+)}/g,function(Z,Ue){return null!=xe&&Ue in xe?xe[Ue]:Z})),L}function Pe(L,xe,Z="-",Ue,ht){let $t="";(L<0||ht&&L<=0)&&(ht?L=1-L:(L=-L,$t=Z));let Kt=String(L);for(;Kt.length0||Un>-Z)&&(Un+=Z),L===ce.Hours)0===Un&&-12===Z&&(Un=12);else if(L===ce.FractionalSeconds)return function mt(L,xe){return Pe(L,3).substring(0,xe)}(Un,xe);const ki=He(Kt,Ae.MinusSign);return Pe(Un,xe,ki,Ue,ht)}}function Gt(L,xe,Z=U.Format,Ue=!1){return function(ht,$t){return function Oe(L,xe,Z,Ue,ht,$t){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($t){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 K.Short:return(ht>=0?"+":"")+Pe(Kt,2,$t)+Pe(Math.abs(ht%60),2,$t);case K.ShortGMT:return"GMT"+(ht>=0?"+":"")+Pe(Kt,1,$t);case K.Long:return"GMT"+(ht>=0?"+":"")+Pe(Kt,2,$t)+":"+Pe(Math.abs(ht%60),2,$t);case K.Extended:return 0===Ue?"Z":(ht>=0?"+":"")+Pe(Kt,2,$t)+":"+Pe(Math.abs(ht%60),2,$t);default:throw new Error(`Unknown zone width "${L}"`)}}}const he=0,ge=4;function Me(L){return Dt(L.getFullYear(),L.getMonth(),L.getDate()+(ge-L.getDay()))}function Ye(L,xe=!1){return function(Z,Ue){let ht;if(xe){const $t=new Date(Z.getFullYear(),Z.getMonth(),1).getDay()-1,Kt=Z.getDate();ht=1+Math.floor((Kt+$t)/7)}else{const $t=Me(Z),Kt=function ct(L){const xe=Dt(L,he,1).getDay();return Dt(L,0,1+(xe<=ge?ge:ge+7)-xe)}($t.getFullYear()),Un=$t.getTime()-Kt.getTime();ht=1+Math.round(Un/6048e5)}return Pe(ht,L,He(Ue,Ae.MinusSign))}}function De(L,xe=!1){return function(Z,Ue){return Pe(Me(Z).getFullYear(),L,He(Ue,Ae.MinusSign),xe)}}const F={};function Q(L,xe){L=L.replace(/:/g,"");const Z=Date.parse("Jan 01, 1970 00:00:00 "+L)/6e4;return isNaN(Z)?xe:Z}function nt(L){return L instanceof Date&&!isNaN(L.valueOf())}const Ve=/^(\d+)?\.((\d+)(-(\d+))?)?$/,yt=22,At=".",on="0",xn=";",Sn=",",_n="#",Mn="\xa4",xi="%";function fi(L,xe,Z,Ue,ht,$t,Kt=!1){let Un="",ki=!1;if(isFinite(L)){let Hi=function qt(L){let Ue,ht,$t,Kt,Un,xe=Math.abs(L)+"",Z=0;for((ht=xe.indexOf(At))>-1&&(xe=xe.replace(At,"")),($t=xe.search(/e/i))>0?(ht<0&&(ht=$t),ht+=+xe.slice($t+1),xe=xe.substring(0,$t)):ht<0&&(ht=xe.length),$t=0;xe.charAt($t)===on;$t++);if($t===(Un=xe.length))Ue=[0],ht=1;else{for(Un--;xe.charAt(Un)===on;)Un--;for(ht-=$t,Ue=[],Kt=0;$t<=Un;$t++,Kt++)Ue[Kt]=Number(xe.charAt($t))}return ht>yt&&(Ue=Ue.splice(0,yt-1),Z=ht-1,ht=1),{digits:Ue,exponent:Z,integerLen:ht}}(L);Kt&&(Hi=function pt(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($t){const pr=$t.match(Ve);if(null===pr)throw new Error(`${$t} 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 $t=Math.min(Math.max(xe,ht),Z);let Kt=$t+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=bt(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,bt(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 xt(L,xe,Z){return fi(L,bt(Ze(xe,ie.Decimal),He(xe,Ae.MinusSign)),xe,Ae.Group,Ae.Decimal,Z)}function bt(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],$t=Ue[1],Kt=-1!==ht.indexOf(At)?ht.split(At):[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(Nt(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,$t]=-1==Ue?[Z,""]:[Z.slice(0,Ue),Z.slice(Ue+1)];if(ht.trim()===xe)return decodeURIComponent($t)}return null}const $n=/\s+/,ti=[];let an=(()=>{class L{constructor(Z,Ue,ht,$t){this._iterableDiffers=Z,this._keyValueDiffers=Ue,this._ngEl=ht,this._renderer=$t,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:$t}=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)):$t?$t.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,$t,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===$t?void 0:$t);else if(null!==$t){const Un=Ue.get($t);Ue.move(Un,Kt),mi(Un,ht)}});for(let ht=0,$t=Ue.length;ht<$t;ht++){const Un=Ue.get(ht).context;Un.index=ht,Un.count=$t,Un.ngForOf=this._ngForOf}Z.forEachIdentityChange(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 Mt=(()=>{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(Mt,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(Mt,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})(),se=(()=>{class L{constructor(Z,Ue,ht,$t){this.value=Z;const Kt=!isNaN(Number(Z));$t.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,$t]=Z.split("."),Kt=-1===ht.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Ue?this._renderer.setStyle(this._ngEl.nativeElement,ht,$t?`${Ue}${$t}`: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})(),kt=(()=>{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:$t,ngTemplateOutletInjector:Kt}=this;this._viewRef=Ue.createEmbeddedView(ht,$t,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,$t){if(null==Z||""===Z||Z!=Z)return null;try{return et(Z,Ue??this.defaultOptions?.dateFormat??"mediumDate",$t||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),$t=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||$t)&&(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(!Ne(Z))return null;ht=ht||this._locale;try{return xt(ot(Z),ht,Ue)}catch($t){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(!Ne(Z))return null;ht=ht||this._locale;try{return Yi(ot(Z),ht,Ue)}catch($t){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",$t,Kt){if(!Ne(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(ot(Z),Kt,Un,Ue,$t)}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 Ne(L){return!(null==L||""===L||L!=L)}function ot(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 gt(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)(f),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 $t=ht.shadowRoot;if($t){const Kt=$t.getElementById(xe)||$t.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,$t=this.offset();this.window.scrollTo(Ue-$t[0],ht-$t[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 We=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)(f)}createPreloadLinkTag(Z,Ue,ht,$t){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"),$t&&Z.setAttribute(Kt,"imageSizes",$t),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 $t=Z?parseFloat(ht):parseFloat(ht)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:$t})} ${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($t=>$t>=640)),Ue.map($t=>`${this.callImageLoader({src:this.ngSrc,width:$t})} ${$t}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:()=>Ge,HTTP_INTERCEPTORS:()=>Lt,HttpBackend:()=>x,HttpClient:()=>ve,HttpClientJsonpModule:()=>xn,HttpClientModule:()=>on,HttpClientXsrfModule:()=>At,HttpContext:()=>Ce,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:()=>Pt,HttpXsrfTokenExtractor:()=>ge,JsonpClientBackend:()=>Dt,JsonpInterceptor:()=>ut,provideHttpClient:()=>V,withFetch:()=>yt,withInterceptors:()=>Q,withInterceptorsFromDi:()=>dt,withJsonpSupport:()=>nt,withNoXsrfProtection:()=>qe,withRequestsMadeViaParent:()=>Ve,withXsrfConfiguration:()=>Rt,\u0275HttpInterceptingHandler:()=>at,\u0275HttpInterceptorHandler:()=>at,\u0275withHttpTransferCache:()=>Yi});var n=a(5861),c=a(5879),d=a(2096),g=a(5592),r=a(2459),f=a(6328),h=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(bt){this.normalizedNames=new Map,this.lazyUpdate=null,bt?"string"==typeof bt?this.lazyInit=()=>{this.headers=new Map,bt.split("\n").forEach(pt=>{const qt=pt.indexOf(":");if(qt>0){const nn=pt.slice(0,qt),cn=nn.toLowerCase(),sn=pt.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"&&bt instanceof Headers?(this.headers=new Map,bt.forEach((pt,qt)=>{this.setHeaderEntries(qt,pt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(bt).forEach(([pt,qt])=>{this.setHeaderEntries(pt,qt)})}:this.headers=new Map}has(bt){return this.init(),this.headers.has(bt.toLowerCase())}get(bt){this.init();const pt=this.headers.get(bt.toLowerCase());return pt&&pt.length>0?pt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(bt){return this.init(),this.headers.get(bt.toLowerCase())||null}append(bt,pt){return this.clone({name:bt,value:pt,op:"a"})}set(bt,pt){return this.clone({name:bt,value:pt,op:"s"})}delete(bt,pt){return this.clone({name:bt,value:pt,op:"d"})}maybeSetNormalizedName(bt,pt){this.normalizedNames.has(pt)||this.normalizedNames.set(pt,bt)}init(){this.lazyInit&&(this.lazyInit instanceof D?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(bt=>this.applyUpdate(bt)),this.lazyUpdate=null))}copyFrom(bt){bt.init(),Array.from(bt.headers.keys()).forEach(pt=>{this.headers.set(pt,bt.headers.get(pt)),this.normalizedNames.set(pt,bt.normalizedNames.get(pt))})}clone(bt){const pt=new D;return pt.lazyInit=this.lazyInit&&this.lazyInit instanceof D?this.lazyInit:this,pt.lazyUpdate=(this.lazyUpdate||[]).concat([bt]),pt}applyUpdate(bt){const pt=bt.name.toLowerCase();switch(bt.op){case"a":case"s":let qt=bt.value;if("string"==typeof qt&&(qt=[qt]),0===qt.length)return;this.maybeSetNormalizedName(bt.name,pt);const nn=("a"===bt.op?this.headers.get(pt):void 0)||[];nn.push(...qt),this.headers.set(pt,nn);break;case"d":const cn=bt.value;if(cn){let sn=this.headers.get(pt);if(!sn)return;sn=sn.filter(Nn=>-1===cn.indexOf(Nn)),0===sn.length?(this.headers.delete(pt),this.normalizedNames.delete(pt)):this.headers.set(pt,sn)}else this.headers.delete(pt),this.normalizedNames.delete(pt)}}setHeaderEntries(bt,pt){const qt=(Array.isArray(pt)?pt:[pt]).map(cn=>cn.toString()),nn=bt.toLowerCase();this.headers.set(nn,qt),this.maybeSetNormalizedName(bt,nn)}forEach(bt){this.init(),Array.from(this.normalizedNames.keys()).forEach(pt=>bt(this.normalizedNames.get(pt),this.headers.get(pt)))}}class E{encodeKey(bt){return ee(bt)}encodeValue(bt){return ee(bt)}decodeKey(bt){return decodeURIComponent(bt)}decodeValue(bt){return decodeURIComponent(bt)}}const X=/%(\d[a-f0-9])/gi,$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ee(xt){return encodeURIComponent(xt).replace(X,(bt,pt)=>$[pt]??bt)}function ie(xt){return`${xt}`}class A{constructor(bt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=bt.encoder||new E,bt.fromString){if(bt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function I(xt,bt){const pt=new Map;return xt.length>0&&xt.replace(/^\?/,"").split("&").forEach(nn=>{const cn=nn.indexOf("="),[sn,Nn]=-1==cn?[bt.decodeKey(nn),""]:[bt.decodeKey(nn.slice(0,cn)),bt.decodeValue(nn.slice(cn+1))],wn=pt.get(sn)||[];wn.push(Nn),pt.set(sn,wn)}),pt}(bt.fromString,this.encoder)}else bt.fromObject?(this.map=new Map,Object.keys(bt.fromObject).forEach(pt=>{const qt=bt.fromObject[pt],nn=Array.isArray(qt)?qt.map(ie):[ie(qt)];this.map.set(pt,nn)})):this.map=null}has(bt){return this.init(),this.map.has(bt)}get(bt){this.init();const pt=this.map.get(bt);return pt?pt[0]:null}getAll(bt){return this.init(),this.map.get(bt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(bt,pt){return this.clone({param:bt,value:pt,op:"a"})}appendAll(bt){const pt=[];return Object.keys(bt).forEach(qt=>{const nn=bt[qt];Array.isArray(nn)?nn.forEach(cn=>{pt.push({param:qt,value:cn,op:"a"})}):pt.push({param:qt,value:nn,op:"a"})}),this.clone(pt)}set(bt,pt){return this.clone({param:bt,value:pt,op:"s"})}delete(bt,pt){return this.clone({param:bt,value:pt,op:"d"})}toString(){return this.init(),this.keys().map(bt=>{const pt=this.encoder.encodeKey(bt);return this.map.get(bt).map(qt=>pt+"="+this.encoder.encodeValue(qt)).join("&")}).filter(bt=>""!==bt).join("&")}clone(bt){const pt=new A({encoder:this.encoder});return pt.cloneFrom=this.cloneFrom||this,pt.updates=(this.updates||[]).concat(bt),pt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(bt=>this.map.set(bt,this.cloneFrom.map.get(bt))),this.updates.forEach(bt=>{switch(bt.op){case"a":case"s":const pt=("a"===bt.op?this.map.get(bt.param):void 0)||[];pt.push(ie(bt.value)),this.map.set(bt.param,pt);break;case"d":if(void 0===bt.value){this.map.delete(bt.param);break}{let qt=this.map.get(bt.param)||[];const nn=qt.indexOf(ie(bt.value));-1!==nn&&qt.splice(nn,1),qt.length>0?this.map.set(bt.param,qt):this.map.delete(bt.param)}}}),this.cloneFrom=this.updates=null)}}class U{constructor(bt){this.defaultValue=bt}}class Ce{constructor(){this.map=new Map}set(bt,pt){return this.map.set(bt,pt),this}get(bt){return this.map.has(bt)||this.map.set(bt,bt.defaultValue()),this.map.get(bt)}delete(bt){return this.map.delete(bt),this}has(bt){return this.map.has(bt)}keys(){return this.map.keys()}}function Ae(xt){return typeof ArrayBuffer<"u"&&xt instanceof ArrayBuffer}function de(xt){return typeof Blob<"u"&&xt instanceof Blob}function H(xt){return typeof FormData<"u"&&xt instanceof FormData}class pe{constructor(bt,pt,qt,nn){let cn;if(this.url=pt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=bt.toUpperCase(),function Re(xt){switch(xt){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 Ce),this.params){const sn=this.params.toString();if(0===sn.length)this.urlWithParams=pt;else{const Nn=pt.indexOf("?");this.urlWithParams=pt+(-1===Nn?"?":Nn$n.set(ti,bt.setHeaders[ti]),wn)),bt.setParams&&(Xn=Object.keys(bt.setParams).reduce(($n,ti)=>$n.set(ti,bt.setParams[ti]),Xn)),new pe(pt,qt,cn,{params:Xn,headers:wn,context:_i,reportProgress:Nn,responseType:nn,withCredentials:sn})}}var we=function(xt){return xt[xt.Sent=0]="Sent",xt[xt.UploadProgress=1]="UploadProgress",xt[xt.ResponseHeader=2]="ResponseHeader",xt[xt.DownloadProgress=3]="DownloadProgress",xt[xt.Response=4]="Response",xt[xt.User=5]="User",xt}(we||{});class Ee{constructor(bt,pt=200,qt="OK"){this.headers=bt.headers||new D,this.status=void 0!==bt.status?bt.status:pt,this.statusText=bt.statusText||qt,this.url=bt.url||null,this.ok=this.status>=200&&this.status<300}}class Be extends Ee{constructor(bt={}){super(bt),this.type=we.ResponseHeader}clone(bt={}){return new Be({headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class G extends Ee{constructor(bt={}){super(bt),this.type=we.Response,this.body=void 0!==bt.body?bt.body:null}clone(bt={}){return new G({body:void 0!==bt.body?bt.body:this.body,headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class re extends Ee{constructor(bt){super(bt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${bt.url||"(unknown url)"}`:`Http failure response for ${bt.url||"(unknown url)"}: ${bt.status} ${bt.statusText}`,this.error=bt.error||null}}function ae(xt,bt){return{body:bt,headers:xt.headers,context:xt.context,observe:xt.observe,params:xt.params,reportProgress:xt.reportProgress,responseType:xt.responseType,withCredentials:xt.withCredentials}}let ve=(()=>{class xt{constructor(pt){this.handler=pt}request(pt,qt,nn={}){let cn;if(pt instanceof pe)cn=pt;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(pt,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,f.b)(wn=>this.handler.handle(wn)));if(pt instanceof pe||"events"===nn.observe)return sn;const Nn=sn.pipe((0,h.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(pt,qt={}){return this.request("DELETE",pt,qt)}get(pt,qt={}){return this.request("GET",pt,qt)}head(pt,qt={}){return this.request("HEAD",pt,qt)}jsonp(pt,qt){return this.request("JSONP",pt,{params:(new A).append(qt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(pt,qt={}){return this.request("OPTIONS",pt,qt)}patch(pt,qt,nn={}){return this.request("PATCH",pt,ae(nn,qt))}post(pt,qt,nn={}){return this.request("POST",pt,ae(nn,qt))}put(pt,qt,nn={}){return this.request("PUT",pt,ae(nn,qt))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(y))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const He=/^\)\]\}',?\n/;function Qe(xt){if(xt.url)return xt.url;const bt="X-Request-URL".toLocaleLowerCase();return xt.headers.get(bt)}let Ge=(()=>{class xt{constructor(){this.fetchImpl=(0,c.inject)(tt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,c.inject)(c.NgZone)}handle(pt){return new g.y(qt=>{const nn=new AbortController;return this.doRequest(pt,nn.signal,qt).then(Ct,cn=>qt.error(new re({error:cn}))),()=>nn.abort()})}doRequest(pt,qt,nn){var cn=this;return(0,n.Z)(function*(){const sn=cn.createRequestInit(pt);let Nn;try{const mn=cn.fetchImpl(pt.urlWithParams,{signal:qt,...sn});(function Nt(xt){xt.then(Ct,Ct)})(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:pt.urlWithParams,headers:mn.headers}))}const wn=new D(Nn.headers),Xn=Nn.statusText,_i=Qe(Nn)??pt.urlWithParams;let $n=Nn.status,ti=null;if(pt.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,pt.reportProgress){Yn="text"===pt.responseType?(Yn??"")+(mi??=new TextDecoder).decode(Ni,{stream:!0}):void 0;const Mt=()=>nn.next({type:we.DownloadProgress,total:mn?+mn:void 0,loaded:Wn,partialText:Yn});wi?wi.run(Mt):Mt()}}}));const ri=cn.concatChunks(Tn,Wn);try{ti=cn.parseBody(pt,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)??pt.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(pt,qt){switch(pt.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(pt){const qt={},nn=pt.withCredentials?"include":void 0;if(pt.headers.forEach((cn,sn)=>qt[cn]=sn.join(",")),qt.Accept??="application/json, text/plain, */*",!qt["Content-Type"]){const cn=pt.detectContentTypeHeader();null!==cn&&(qt["Content-Type"]=cn)}return{body:pt.serializeBody(),method:pt.method,headers:qt,credentials:nn}}concatChunks(pt,qt){const nn=new Uint8Array(qt);let cn=0;for(const sn of pt)nn.set(sn,cn),cn+=sn.length;return nn}}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();class tt{}function Ct(){}function _t(xt,bt){return bt(xt)}function Bt(xt,bt){return(pt,qt)=>bt.intercept(pt,{handle:nn=>xt(nn,qt)})}const Lt=new c.InjectionToken(""),Le=new c.InjectionToken(""),lt=new c.InjectionToken("");function ze(){let xt=null;return(bt,pt)=>{null===xt&&(xt=((0,c.inject)(Lt,{optional:!0})??[]).reduceRight(Bt,_t));const qt=(0,c.inject)(c.\u0275InitialRenderPendingTasks),nn=qt.add();return xt(bt,pt).pipe((0,v.x)(()=>qt.remove(nn)))}}let oe,at=(()=>{class xt extends y{constructor(pt,qt){super(),this.backend=pt,this.injector=qt,this.chain=null,this.pendingTasks=(0,c.inject)(c.\u0275InitialRenderPendingTasks)}handle(pt){if(null===this.chain){const nn=Array.from(new Set([...this.injector.get(Le),...this.injector.get(lt,[])]));this.chain=nn.reduceRight((cn,sn)=>function Tt(xt,bt,pt){return(qt,nn)=>pt.runInContext(()=>bt(qt,cn=>xt(cn,nn)))}(cn,sn,this.injector),_t)}const qt=this.pendingTasks.add();return this.chain(pt,nn=>this.backend.handle(nn)).pipe((0,v.x)(()=>this.pendingTasks.remove(qt)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(x),c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})(),N=0;class Te{}function et(){return"object"==typeof window?window:{}}let Dt=(()=>{class xt{constructor(pt,qt){this.callbackMap=pt,this.document=qt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+N++}handle(pt){if("JSONP"!==pt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==pt.responseType)throw new Error("JSONP requests must use Json response type.");if(pt.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new g.y(qt=>{const nn=this.nextCallback(),cn=pt.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(pt){oe||(oe=this.document.implementation.createHTMLDocument()),oe.adoptNode(pt)}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(Te),c.\u0275\u0275inject(l.DOCUMENT))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();function _e(xt,bt){return"JSONP"===xt.method?(0,c.inject)(Dt).handle(xt):bt(xt)}let ut=(()=>{class xt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>_e(pt,nn=>qt.handle(nn)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const Pe=/^\)\]\}',?\n/;let Pt=(()=>{class xt{constructor(pt){this.xhrFactory=pt}handle(pt){if("JSONP"===pt.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(pt.method,pt.urlWithParams),pt.withCredentials&&(sn.withCredentials=!0),pt.headers.forEach((Tn,Rn)=>sn.setRequestHeader(Tn,Rn.join(","))),pt.headers.has("Accept")||sn.setRequestHeader("Accept","application/json, text/plain, */*"),!pt.headers.has("Content-Type")){const Tn=pt.detectContentTypeHeader();null!==Tn&&sn.setRequestHeader("Content-Type",Tn)}if(pt.responseType){const Tn=pt.responseType.toLowerCase();sn.responseType="json"!==Tn?Tn:"text"}const Nn=pt.serializeBody();let wn=null;const Xn=()=>{if(null!==wn)return wn;const Tn=sn.statusText||"OK",Rn=new D(sn.getAllResponseHeaders()),Wn=function mt(xt){return"responseURL"in xt&&xt.responseURL?xt.responseURL:/^X-Request-URL:/m.test(xt.getAllResponseHeaders())?xt.getResponseHeader("X-Request-URL"):null}(sn)||pt.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"===pt.responseType&&"string"==typeof Yn){const ri=Yn;Yn=Yn.replace(Pe,"");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"===pt.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),pt.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),pt.reportProgress&&(sn.removeEventListener("progress",an),null!==Nn&&sn.upload&&sn.upload.removeEventListener("progress",mn)),sn.readyState!==sn.DONE&&sn.abort()}})))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(l.XhrFactory))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const Ft=new c.InjectionToken("XSRF_ENABLED"),Gt="XSRF-TOKEN",Oe=new c.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Gt}),Ke="X-XSRF-TOKEN",he=new c.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Ke});class ge{}let ct=(()=>{class xt{constructor(pt,qt,nn){this.doc=pt,this.platform=qt,this.cookieName=nn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const pt=this.doc.cookie||"";return pt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.\u0275parseCookieValue)(pt,this.cookieName),this.lastCookieString=pt),this.lastToken}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(c.PLATFORM_ID),c.\u0275\u0275inject(Oe))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();function Me(xt,bt){const pt=xt.url.toLowerCase();if(!(0,c.inject)(Ft)||"GET"===xt.method||"HEAD"===xt.method||pt.startsWith("http://")||pt.startsWith("https://"))return bt(xt);const qt=(0,c.inject)(ge).getToken(),nn=(0,c.inject)(he);return null!=qt&&!xt.headers.has(nn)&&(xt=xt.clone({headers:xt.headers.set(nn,qt)})),bt(xt)}let Ye=(()=>{class xt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>Me(pt,nn=>qt.handle(nn)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();var De=function(xt){return xt[xt.Interceptors=0]="Interceptors",xt[xt.LegacyInterceptors=1]="LegacyInterceptors",xt[xt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",xt[xt.NoXsrfProtection=3]="NoXsrfProtection",xt[xt.JsonpSupport=4]="JsonpSupport",xt[xt.RequestsMadeViaParent=5]="RequestsMadeViaParent",xt[xt.Fetch=6]="Fetch",xt}(De||{});function F(xt,bt){return{\u0275kind:xt,\u0275providers:bt}}function V(...xt){const bt=[ve,Pt,at,{provide:y,useExisting:at},{provide:x,useExisting:Pt},{provide:Le,useValue:Me,multi:!0},{provide:Ft,useValue:!0},{provide:ge,useClass:ct}];for(const pt of xt)bt.push(...pt.\u0275providers);return(0,c.makeEnvironmentProviders)(bt)}function Q(xt){return F(De.Interceptors,xt.map(bt=>({provide:Le,useValue:bt,multi:!0})))}const be=new c.InjectionToken("LEGACY_INTERCEPTOR_FN");function dt(){return F(De.LegacyInterceptors,[{provide:be,useFactory:ze},{provide:Le,useExisting:be,multi:!0}])}function Rt({cookieName:xt,headerName:bt}){const pt=[];return void 0!==xt&&pt.push({provide:Oe,useValue:xt}),void 0!==bt&&pt.push({provide:he,useValue:bt}),F(De.CustomXsrfConfiguration,pt)}function qe(){return F(De.NoXsrfProtection,[{provide:Ft,useValue:!1}])}function nt(){return F(De.JsonpSupport,[Dt,{provide:Te,useFactory:et},{provide:Le,useValue:_e,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,[Ge,{provide:x,useExisting:Ge}])}let At=(()=>{class xt{static disable(){return{ngModule:xt,providers:[qe().\u0275providers]}}static withOptions(pt={}){return{ngModule:xt,providers:Rt(pt).\u0275providers}}}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[Ye,{provide:Lt,useExisting:Ye,multi:!0},{provide:ge,useClass:ct},Rt({cookieName:Gt,headerName:Ke}).\u0275providers,{provide:Ft,useValue:!0}]}),xt})(),on=(()=>{class xt{}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[V(dt())]}),xt})(),xn=(()=>{class xt{}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[nt().\u0275providers]}),xt})();const Sn=new c.InjectionToken(""),_n=["GET","HEAD"];function Mn(xt,bt){const{isCacheActive:pt}=(0,c.inject)(Sn);if(!pt||!_n.includes(xt.method))return bt(xt);const qt=(0,c.inject)(c.TransferState),nn=function fi(xt){const{params:bt,method:pt,responseType:qt,url:nn}=xt,Nn=function Vi(xt){let bt=0;for(const pt of xt)bt=Math.imul(31,bt)+pt.charCodeAt(0)<<0;return bt+=2147483648,bt.toString()}(pt+"."+qt+"."+nn+"?"+bt.keys().sort().map(wn=>`${wn}=${bt.getAll(wn)}`).join("&"));return(0,c.makeStateKey)(Nn)}(xt),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 bt(xt).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:xt.responseType})}))}function xi(xt){const bt={};for(const pt of xt.keys()){const qt=xt.getAll(pt);null!==qt&&(bt[pt]=qt)}return bt}function Yi(){return[{provide:Sn,useFactory:()=>((0,c.inject)(c.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:lt,useValue:Mn,multi:!0,deps:[c.TransferState,Sn]},{provide:c.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const xt=(0,c.inject)(c.ApplicationRef),bt=(0,c.inject)(Sn);return()=>{xt.isStable.pipe((0,_.P)(pt=>pt)).toPromise().then(()=>{bt.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:()=>ce,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:()=>dt,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:()=>bt,\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:()=>Rt,\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:()=>Pe,\u0275injectChangeDetectorRef:()=>j_,\u0275internalCreateApplication:()=>Nx,\u0275isBoundToModule:()=>w_,\u0275isEnvironmentProviders:()=>I,\u0275isInjectable:()=>lt,\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:()=>ue,\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:()=>Lt,\u0275\u0275defineNgModule:()=>se,\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:()=>Q,\u0275\u0275injectAttribute:()=>hc,\u0275\u0275invalidFactory:()=>Rm,\u0275\u0275invalidFactoryDep:()=>be,\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),f=a(2096),h=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 de(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 Lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Le(e){return ze(e,oe)||ze(e,ne)}function lt(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(K))?e[Y]:null}const oe=p({\u0275prov:p}),Y=p({\u0275inj:p}),ne=p({ngInjectableDef:p}),K=p({ngInjectorDef:p});var ce=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}(ce||{});let Te;function et(){return Te}function Dt(e){const t=Te;return Te=e,t}function _e(e,t,i){const o=Le(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&ce.Optional?null:void 0!==t?t:void de(l(e))}const Pe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Gt={},Oe="__NG_DI_FLAG__",Ke="ngTempTokenPath",ge=/\n/gm,Me="__source";let Ye;function F(e){const t=Ye;return Ye=e,t}function V(e,t=ce.Default){if(void 0===Ye)throw new ee(-203,!1);return null===Ye?_e(e,void 0,t):Ye.get(e,t&ce.Optional?null:void 0,t)}function Q(e,t=ce.Default){return(et()||V)(S(e),t)}function be(e){throw new ee(202,!1)}function dt(e,t=ce.Default){return Q(e,Rt(t))}function Rt(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 zt=8&o?Ut:null;if(zt&&-1!==qt(zt,ye,0)||2&o&&ye!==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 se(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 kt(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:kt(e.inputs,t),outputs:kt(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,Ot=10,C=11,te=12,Ne=13,ot=14,Zt=15,Pn=16,ji=17,Pi=18,Li=19,Qi=20,Ui=21,ir=22,wt=23,vt=24,gt=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(xt)?e[xt]: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=Pe.WeakRef??class je{constructor(t){this.ref=t}deref(){return this.ref}};function ue(e){}let Fe=0,it=null,It=!1;function Et(e){const t=it;return it=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===it)return;let t=it.producers.get(this.id);void 0===t?(t={consumerNode:it.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:it.trackingVersion},it.producers.set(this.id,t),this.consumers.set(it.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=it.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==it?.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=Et(this);let o;try{o=this.computation()}catch(s){o=pi,this.error=s}finally{Et(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=Et(null);try{return e()}finally{Et(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=Et(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=rr,this.watch(this.registerOnCleanup)}finally{Et(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 $t(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&ce.SkipSelf){let s=t,m=e;for(;!(s=s.parent,null!==s||i&ce.Host||(s=rc(m),null===s||(m=m[ot],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[ot],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 ye=0;ye<8;ye++)t[m+ye]=R[M+ye]|z[M+ye]}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[ot],-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(bt)&&(o=i[bt]),null==o&&(o=i[bt]=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&ce.Host?xh(s,0,o):Eh(t,i,o,s);try{const M=m(o);if(null!=M||o&ce.Optional)return M;de()}finally{q()}}else if("number"==typeof m){let M=null,R=Mh(e,t),z=Ko,ye=o&ce.Host?t[Zt][Ai]:null;for((-1===R||o&ce.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 $e=t[tn];if(Th(m,R,$e.data)){const ft=mb(R,t,i,M,o,ye);if(ft!==so)return ft}z=t[R+8],z!==Ko&&Ih(o,t[tn].data[R+8]===ye)&&Th(m,R,t)?(M=$e,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],$e=Hs(R,M,i,null==o?ni(R)&&sc:o!=M&&0!=(3&R.type),s&ce.Host&&m===R);return null!==$e?Ro(t,M,$e,R):so}function Hs(e,t,i,o,s){const m=e.providerIndexes,M=t.data,R=1048575&m,z=e.directiveStart,$e=m>>20,Ut=s?R+$e:e.directiveEnd;for(let zt=o?R:R+$e;zt=z&&rn.type===i)return zt}if(s){const zt=M[z];if(zt&&Ii(zt)&&zt.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 Ce(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,ce.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[xt]||dc(t),o=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==o;){const m=s[xt]||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($e){return s&&s($e,...R),($e.hasOwnProperty(Qo)?$e[Qo]:Object.defineProperty($e,Qo,{value:[]})[Qo]).push(z),o&&o($e),$e}}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,ye,$e){const ft=z.hasOwnProperty(Zo)?z[Zo]:Object.defineProperty(z,Zo,{value:[]})[Zo];for(;ft.length<=$e;)ft.push(null);return(ft[$e]=ft[$e]||[]).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(ye,$e){if(void 0===ye)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const ft=ye.constructor,Ut=ft.hasOwnProperty(Xo)?ft[Xo]:Object.defineProperty(ft,Xo,{value:{}})[Xo];Ut[$e]=Ut.hasOwnProperty($e)&&Ut[$e]||[],Ut[$e].unshift(R),o&&o(ye,$e,...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=Pe.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($e=>$e&&$e.type),ye=R.map($e=>$e&&pc($e.decorators));return this._zipTypesAndAnnotations(z,ye)}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=nt(qo("Inject",e=>({token:e})),-1),Gs=nt(qo("Optional"),8),Uh=nt(qo("Self"),2),Ws=nt(qo("SkipSelf"),4),Bh=nt(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=[]),ye=s.styles.length;R&&R.forEach((ft,Ut)=>{z.push(""),M.push(o(ft).then(zt=>{z[ye+Ut]=zt,R.splice(R.indexOf(ft),1),0==R.length&&(s.styleUrls=void 0)}))});const $e=Promise.all(M).then(()=>function Nb(e){Qa.delete(e)}(m));t.push($e)}),$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=gt;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,Pe.trustedTypes))try{al=Pe.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[Ot].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=Gt){if(i===Gt){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 ye of z)Hc(ye,t,i,o)}}else{if(!m)return!1;{if(null!=m.imports&&!R){let ye;o.add(s);try{Ka(m.imports,$e=>{Hc($e,t,i,o)&&(ye||=[],ye.push($e))})}finally{}void 0!==ye&&Xf(ye,t)}if(!R){const ye=or(s)||(()=>new s);t.push({provide:s,useFactory:ye,deps:Mn},{provide:Kf,useValue:s,multi:!0},{provide:is,useValue:()=>Q(s),multi:!0})}const z=m.providers;null==z||R||zc(z,$e=>{t.push($e)})}}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,ce.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=Gt,o=ce.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(pt))return t[pt](this);o=Rt(o);const s=F(this),m=Dt(void 0);try{if(!(o&ce.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&ce.Self?ul():this.parent).get(t,i=o&ce.Optional&&i===Gt?null:i)}catch(M){if("NullInjectorError"===M.name){if((M[Ke]=M[Ke]||[]).unshift(l(t)),s)throw M;return function yt(e,t,i,o){const s=e[Ke];throw t[Me]&&s.unshift(t[Me]),e.message=function At(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(ge,"\n ")}`}("\n"+e.message,s,i,o),e.ngTokenPath=s,e[Ke]=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,ce.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=()=>Q(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"===dt(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(),dt(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[gt]),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=Et(this);this.trackingVersion++;try{t(i,o)}finally{Et(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(!et()&&!function De(){return Ye}())throw new ee(-203,!1)}const Am={\u0275\u0275defineInjectable:Bt,\u0275\u0275defineInjector:Lt,\u0275\u0275inject:Q,\u0275\u0275invalidFactoryDep:be,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(xt)||Object.defineProperty(e,xt,{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=Gt,e.NULL=new Yf,e.\u0275prov=Bt({token:e,providedIn:"any",factory:()=>Q(Vc)}),e.__NG_ELEMENT_ID__=-1,e})();function ua(e,t=ce.Default){const i=dn();return null===i?Q(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,ye,$e){const ft=t.blueprint.slice();return ft[Cn]=s,ft[En]=140|o,(null!==ye||e&&2048&e[En])&&(ft[En]|=2048),Jn(ft),ft[ei]=ft[ot]=e,ft[yi]=i,ft[Ot]=M||e&&e[Ot],ft[C]=R||e&&e[C],ft[Je]=z||e&&e[Je]||null,ft[Ai]=m,ft[Li]=function Yb(){return Kb++}(),ft[ir]=$e,ft[Qi]=ye,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;mgt&&Im(e,t,gt,!1),ci(R?2:0,s),R)m.runInContext(i,o,s);else{const ye=Et(null);try{i(o,s)}finally{Et(ye)}}}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=Et(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 $e,ye=t.inputs;!R&&null!=ye&&($e=ye[o])?(yu(e,i,$e,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,ye=>{this.all.has(ye)&&this.queue.set(ye,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??dt(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=Rt(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 $e={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",zt=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,$e,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=gt;return e[o]=t,da(i,o,2,"#host",null)}(ln,zt),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 ye=m.rendererFactory.createRenderer(t,i);let $e=16;i.signals?$e=4096:i.onPush&&($e=64);const ft=_l(s,Nm(i),null,$e,s[e.index],e,m,ye,null,null,z);return R.firstCreatePass&&gu(R,e,o.length-1),bl(s,ft),s[e.index]=ft}(OE,zt,Ri,vr,ln,$e,ft);Si=ht(zn,gt),zt&&function h1(e,t,i,o){if(o)nn(e,i,["ng-version",mm.full]);else{const{attrs:s,classes:m}=function Mt(e){const t=[],i=[];let o=1,s=2;for(;o0&&Tf(e,i,m.join(" "))}}(ft,Ri,zt,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-gt}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,ye,$e]of m.matchAll(/(f|n)(\d*)/g)){const ft=parseInt($e,10)||1;R.push(ye,ft)}return[M,...R]}(e);let s;return s=i===Xc?t[Zt][Cn]:i===qc?lu(t[Zt][Cn]):di(t[Number(i)+gt]),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-gt)):(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(),ye=Di(),$e=e+gt,ft=ye.firstCreatePass?function B1(e,t,i,o,s,m,M,R,z){const ye=t.consts,$e=da(t,e,4,M||null,Ci(ye,R));pu(t,i,$e,Ci(ye,z)),Ps(t,$e);const ft=$e.tView=mu(2,$e,o,s,m,t.directiveRegistry,t.pipeRegistry,null,t.schemas,ye,null);return null!==t.queries&&(t.queries.template(t,$e),ft.queries=t.queries.embeddedTView($e)),$e}($e,ye,z,t,i,o,s,m,M):ye.data[$e];zr(ft,!1);const Ut=bp(ye,z,ft,e);Io()&&il(ye,z,Ut,ft),br(Ut,z),bl(z,z[$e]=zm(Ut,z,Ut,ft)),oi(ft)&&hu(ye,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 $t(function As(){return Zn.lFrame.contextLView}(),gt+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=gt+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],ye=Mp(m,s,z,R,t,e);s[M]=ye;const $e=oi(z);return zr(z,!0),If(R,ye,z),32!=(32&z.flags)&&Io()&&il(m,s,ye,z),0===function Nr(){return Zn.lFrame.elementDepthCount}()&&br(ye,s),function Zr(){Zn.lFrame.elementDepthCount++}(),$e&&(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+gt,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),ye=e.firstCreatePass&&Wm(e),$e=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,$e,m,!1);const Si=i.listen(kn,s,m);ft.push(m,Si),ye&&ye.push(s,ln,zn,zn+1)}}else m=Ip(o,t,$e,m,!1);const zt=o.outputs;let rn;if(Ut&&null!==zt&&(rn=zt[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),ye=m.__ngNextListenerFn__;for(;ye;)z=Tp(t,i,ye,M)&&z,ye=ye.__ngNextListenerFn__;return s&&!1===z&&M.preventDefault(),z}}function Sp(e=1){return function rt(e){return(Zn.lFrame.contextLView=function st(e,t){for(;e>0;)t=t[ot],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 $e=e[R+1];tC(e[R],t)&&(z=!0,e[R+1]=o?id($e):td($e)),R=o?Lo($e):Ho($e)}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,ye=0,$e=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)&&(ye=!0)):$e=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;ye&&(e[o+1]=td(e[o+1])),kp(e,$e,o,!0),kp(e,$e,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,$e,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],ye=Array.isArray(z),$e=ye?z[1]:z,ft=null===$e;let Ut=i[s+1];Ut===gi&&(Ut=ft?Mn:void 0);let zt=ft?mc(Ut,o):$e===o?Ut:void 0;if(ye&&!Ol(zt)&&(zt=mc(z,o)),Ol(zt)&&(R=zt,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+gt,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 ye=dn(),$e=ba(ye,e,t,i,o,s,m,M,R,z);return $e!==gi&&xo(ye,Vt(),$e),ud}function dd(e,t,i,o,s,m,M,R,z,ye,$e){const ft=dn(),Ut=ya(ft,e,t,i,o,s,m,M,R,z,ye,$e);return Ut!==gi&&xo(ft,Vt(),Ut),dd}function hd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){const zt=dn(),rn=va(zt,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut);return rn!==gi&&xo(zt,Vt(),rn),hd}function fd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){const bn=dn(),kn=Ca(bn,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn);return kn!==gi&&xo(bn,Vt(),kn),fd}function md(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){const zn=dn(),ln=Ma(zn,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){to(Ur,uo,ya(dn(),e,t,i,o,s,m,M,R,z,ye,$e),!0)}function Jp(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){to(Ur,uo,va(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut),!0)}function e0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){to(Ur,uo,Ca(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn),!0)}function t0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){to(Ur,uo,Ma(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){Jr(ya(dn(),e,t,i,o,s,m,M,R,z,ye,$e))}function c0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){Jr(va(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut))}function u0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){Jr(Ca(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn))}function d0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){Jr(Ma(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){return eo(e,ba(dn(),t,i,o,s,m,M,R,z,ye),$e,!1),yd}function vd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){return eo(e,ya(dn(),t,i,o,s,m,M,R,z,ye,$e,ft),Ut,!1),vd}function Cd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){return eo(e,va(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt),rn,!1),Cd}function Md(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){return eo(e,Ca(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn),kn,!1),Md}function xd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn,zn,ln){return eo(e,Ma(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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]=Pe.ng&&Pe.ng.common&&Pe.ng.common.locales&&Pe.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 Ge(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,zt,rn,null)}else switch(z){case Nl:const ye=t[++R],$e=t[++R];null===i[$e]&&br(i[$e]=Dc(s,ye),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&$e){case 1:const Ut=i[++ye],zt=i[++ye],rn=e.data[ft];"string"==typeof rn?_u(t[C],t[ft],null,rn,Ut,z,zt):Br(e,rn,t,Ut,z,t[C],zt,!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 $e=bs(e,z>>>2);t[$e.currentCaseLViewIndex]<0&&D0(e,$e,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 ye=Fl(R,z);o=null!==ye?R.remove[ye]: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=[],ye=[],$e=[];t.cases.push(m),t.create.push(z),t.remove.push(ye),t.update.push($e);const Ut=Rf(es()).getInertBodyElement(M),zt=Fc(Ut)||Ut;return zt?O0(e,t,i,o,z,ye,$e,zt,s,R,0):0}function O0(e,t,i,o,s,m,M,R,z,ye,$e){let ft=0,Ut=R.firstChild;for(;Ut;){const zt=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,zt),e.data[zt]=bn;const hi=rn.attributes;for(let Si=0;Si>>Or.SHIFT;let ft=e[$e];null===ft&&(ft=e[$e]=(M&Or.COMMENT)===Or.COMMENT?s.createComment(R):el(s,R)),ye&&null!==i&&No(s,i,ft,o,!1)}})(s,z.create,$e,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+gt)}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,ye=o[z]||[];if(ye.length||(z.split("|").forEach(bn=>{const kn=bn.match(hM),zn=kn?parseInt(kn[1],10):P0,ln=dM.test(bn);ye.push([zn,ln,bn])}),o[z]=ye),!ye.length)throw new Error(`i18n postprocess: unmatched placeholder - ${z}`);const $e=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 zt=new za(z,s,ua),rn=Nd(R,t,s?$e:$e+Ut,ft);-1===rn?(uc(js(ye,M),m,R),Pd(m,e,t.length),t.push(R),ye.directiveStart++,ye.directiveEnd++,s&&(ye.providerIndexes+=1048576),i.push(zt),M.push(zt)):(i[rn]=zt,M[rn]=zt)}else{const zt=Nd(R,t,$e+Ut,ft),rn=Nd(R,t,$e,$e+Ut),kn=rn>=0&&i[rn];if(s&&!kn||!s&&!(zt>=0&&i[zt])){uc(js(ye,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),ye.directiveStart++,ye.directiveEnd++,s&&(ye.providerIndexes+=1048576),i.push(zn),M.push(zn)}else Pd(m,e,zt>-1?zt:rn,V0(i[s?rn:zt],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 ye=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const $e=ye.indexOf(i);-1===$e?ye.push(i,[o,z]):ye[$e+1].push(o,z)}else ye.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(Q(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,ye=dn(),$e=Gr(ye,z,i,o,s,m);return yr(ye,z+4,M)||$e?co(ye,z+5,R?t.call(R,i,o,s,m,M):t(i,o,s,m,M)):fs(ye,z+5)}function ag(e,t,i,o,s,m,M,R,z){const ye=hr()+e,$e=dn(),ft=Gr($e,ye,i,o,s,m);return jo($e,ye+4,M,R)||ft?co($e,ye+6,z?t.call(z,i,o,s,m,M,R):t(i,o,s,m,M,R)):fs($e,ye+6)}function sg(e,t,i,o,s,m,M,R,z,ye){const $e=hr()+e,ft=dn();let Ut=Gr(ft,$e,i,o,s,m);return xl(ft,$e+4,M,R,z)||Ut?co(ft,$e+7,ye?t.call(ye,i,o,s,m,M,R,z):t(i,o,s,m,M,R,z)):fs(ft,$e+7)}function lg(e,t,i,o,s,m,M,R,z,ye,$e){const ft=hr()+e,Ut=dn(),zt=Gr(Ut,ft,i,o,s,m);return Gr(Ut,ft+4,M,R,z,ye)||zt?co(Ut,ft+8,$e?t.call($e,i,o,s,m,M,R,z,ye):t(i,o,s,m,M,R,z,ye)):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 ye=t+i;return Gr(e,ye,s,m,M,R)?co(e,ye+4,z?o.call(z,s,m,M,R):o(s,m,M,R)):xs(e,ye+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+gt,s=dn(),m=$t(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+gt,m=dn(),M=$t(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+gt,M=dn(),R=$t(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+gt,R=dn(),z=$t(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+gt,s=dn(),m=$t(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 ye=this._declarationLView[Pi];return null!==ye&&(R[Pi]=ye.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)),ye=o||this.parentInjector;if(!m&&null==z.ngModule){const kn=(M?ye:this.parentInjector).get(Vo,null);kn&&(m=kn)}const $e=gn(z.componentType??{}),ft=xg(this._lContainer,$e?.id??null),zt=z.create(ye,s,ft?.firstChild??null,m),rn=!!ft&&!Xs(this._hostTNode);return this.insertImpl(zt.hostView,R,rn),zt}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 ye=s[ei],$e=new Eg(ye,ye[Ai],ye[ei]);$e.detach($e.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,ye);e[Jt]=$e,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 ye=m[R+1],$e=t[-z];for(let ft=On;ft<$e.length;ft++){const Ut=$e[ft];Ut[Pn]===Ut[ei]&&Kd(Ut[tn],Ut,ye,o)}if(null!==$e[vn]){const ft=$e[vn];for(let Ut=0;Ut({\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:Lt,\u0275\u0275defineNgModule:se,\u0275\u0275definePipe:un,\u0275\u0275directiveInject:ua,\u0275\u0275getInheritedFactory:Sh,\u0275\u0275inject:Q,\u0275\u0275injectAttribute:hc,\u0275\u0275invalidFactory:Rm,\u0275\u0275invalidFactoryDep:be,\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,xt,{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 ye=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&ye.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&ye.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),ye.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(ye.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 ye=$r(t.imports||Mn),{directiveDefs:$e,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 ye=Go(z);for(const $e of ye.exported.directives){const ft=gn($e)||pn($e);ft&&!M.has($e)&&(M.add($e),i.push(ft))}}else{const ye=gn(z)||pn(z);ye&&i.push(ye)}}}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 ye=Go(z);for(const $e of ye.exported.pipes){const ft=si($e);ft&&!M.has($e)&&(M.add($e),o.push(ft))}}else{const ye=si(z);ye&&o.push(ye)}}}return o}}}(e,ye);i.directiveDefs=$e,i.pipeDefs=ft,i.dependencies=()=>ye.map(S)}}finally{Jd--}if(0===Jd&&Vg(),function sx(e){return void 0!==e.ngSelectorScope}(e)){const ye=Go(e.ngSelectorScope);qd(i,ye)}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,xt,{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=dt(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:()=>dt(Wl,ce.Optional|ce.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)&&Pe){let o=Pe[h_];o||(o=Pe[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 Pe.requestAnimationFrame;let t=Pe[e?"requestAnimationFrame":"setTimeout"],i=Pe[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(Pe,()=>{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=dt(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,h.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)(Q(Ir),Q(M_),Q(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 ye=R.get(la,null);let $e;z.runOutsideAngular(()=>{$e=z.onError.subscribe({next:zt=>{ye.handleError(zt)}})});const ft=()=>R.destroy(),Ut=s.get(oh);return Ut.add(ft),R.onDestroy(()=>{$e.unsubscribe(),Ut.delete(ft)}),O_(ye,z,()=>{const zt=R.get(Gl);return zt.runInitializers(),zt.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)(Q(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=dt(N_),this.zoneIsStable=dt(b_),this.componentTypes=[],this.components=[],this.isStable=dt(c_).hasPendingTasks.pipe((0,u.w)(i=>i?(0,f.of)(!1):this.zoneIsStable),(0,v.x)(),(0,h.B)()),this._injector=dt(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),ye=M.create(Ao.NULL,[],o||M.selector,R),$e=ye.location.nativeElement,ft=ye.injector.get(v_,null);return ft?.registerApplication($e),ye.onDestroy(()=>{this.detachView(ye.hostView),Yl(this.components,ye),ft?.unregisterApplication($e)}),this._loadComponent(ye),ye}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:()=>dt(la).handleError.bind(void 0)});function Bx(){const e=dt(Ir),t=dt(la);return i=>e.runOutsideAngular(()=>t.handleError(i))}let Vx=(()=>{class e{constructor(){this.zone=dt(Ir),this.applicationRef=dt(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=dt(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 $e=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],ye=R[Ai].projection[e.projection];if(Array.isArray(ye))for(let $e of ye)ch($e,i,o,s,m);else if(ye){const $e=R[ei];Wo($e[tn].data[ye.index],$e,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)(Q(Ia))},e.\u0275mod=se({type:e}),e.\u0275inj=Lt({}),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 ye=z[Cn];ye&&!ye.hasAttribute(ta)&&(gh(ye,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&&$e===o){const ft=i[i.length-1];ft[dl]??=1,ft[dl]++}else o=$e,i.push(ye)}return i}function ph(e,t,i){const o=t.index-gt;e[tu]??={},e[tu][o]=U1(t,i)}function eb(e,t){const i=t.index-gt;e[hl]??=[],e[hl].includes(i)||e[hl].push(i)}function tb(e,t){const i={},o=e[tn];for(let s=gt;s{let e=!0;return Ql()&&(e=!!dt(rs,{optional:!0})?.get(nu,null)),e&&dt(im).add("hydration"),e}},{provide:is,useValue:()=>{Ql()&&dt(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()&&dt(us)},{provide:ah,useFactory:()=>{if(Ql()&&dt(us)){const e=dt(Ia);return dt(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:()=>dt,AbstractControlDirective:()=>_t,AbstractFormGroupDirective:()=>Mt,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:()=>Rt,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:()=>nt,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 f=(()=>{class fe{constructor(J,We){this._renderer=J,this._elementRef=We,this.onChange=Xt=>{},this.onTouched=()=>{}}setProperty(J,We){this._renderer.setProperty(this._elementRef.nativeElement,J,We)}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})(),h=(()=>{class fe extends f{}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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 h{writeValue(J){this.setProperty("checked",J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.checked)})("blur",function(){return We.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 f{constructor(J,We,Xt){super(J,We),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,We){1&J&&n.\u0275\u0275listener("input",function(Dn){return We._handleInput(Dn.target.value)})("blur",function(){return We.onTouched()})("compositionstart",function(){return We._compositionStart()})("compositionend",function(Dn){return We._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(le){return $(le)}static max(le){return ee(le)}static required(le){return ie(le)}static requiredTrue(le){return A(le)}static email(le){return U(le)}static minLength(le){return Ce(le)}static maxLength(le){return Re(le)}static pattern(le){return Ae(le)}static nullValidator(le){return null}static compose(le){return G(le)}static composeAsync(le){return ae(le)}}function $(fe){return le=>{if(x(le.value)||x(fe))return null;const J=parseFloat(le.value);return!isNaN(J)&&J{if(x(le.value)||x(fe))return null;const J=parseFloat(le.value);return!isNaN(J)&&J>fe?{max:{max:fe,actual:le.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 Ce(fe){return le=>x(le.value)||!D(le.value)?null:le.value.lengthD(le.value)&&le.value.length>fe?{maxlength:{requiredLength:fe,actualLength:le.value.length}}:null}function Ae(fe){if(!fe)return de;let le,J;return"string"==typeof fe?(J="","^"!==fe.charAt(0)&&(J+="^"),J+=fe,"$"!==fe.charAt(fe.length-1)&&(J+="$"),le=new RegExp(J)):(J=fe.toString(),le=fe),We=>{if(x(We.value))return null;const Xt=We.value;return le.test(Xt)?null:{pattern:{requiredPattern:J,actualValue:Xt}}}}function de(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 le={};return fe.forEach(J=>{le=null!=J?{...le,...J}:le}),0===Object.keys(le).length?null:le}function we(fe,le){return le.map(J=>J(fe))}function Be(fe){return fe.map(le=>function Ee(fe){return!fe.validate}(le)?le:J=>le.validate(J))}function G(fe){if(!fe)return null;const le=fe.filter(H);return 0==le.length?null:function(J){return pe(we(J,le))}}function re(fe){return null!=fe?G(Be(fe)):null}function ae(fe){if(!fe)return null;const le=fe.filter(H);return 0==le.length?null:function(J){const We=we(J,le).map(W);return(0,g.D)(We).pipe((0,r.U)(pe))}}function ve(fe){return null!=fe?ae(Be(fe)):null}function He(fe,le){return null===fe?[le]:Array.isArray(fe)?[...fe,le]:[fe,le]}function Ze(fe){return fe._rawValidators}function Qe(fe){return fe._rawAsyncValidators}function Ge(fe){return fe?Array.isArray(fe)?fe:[fe]:[]}function tt(fe,le){return Array.isArray(fe)?fe.includes(le):fe===le}function Ct(fe,le){const J=Ge(le);return Ge(fe).forEach(Xt=>{tt(J,Xt)||J.push(Xt)}),J}function Nt(fe,le){return Ge(le).filter(J=>!tt(fe,J))}class _t{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(le){this._rawValidators=le||[],this._composedValidatorFn=re(this._rawValidators)}_setAsyncValidators(le){this._rawAsyncValidators=le||[],this._composedAsyncValidatorFn=ve(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(le){this._onDestroyCallbacks.push(le)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(le=>le()),this._onDestroyCallbacks=[]}reset(le=void 0){this.control&&this.control.reset(le)}hasError(le,J){return!!this.control&&this.control.hasError(le,J)}getError(le,J){return this.control?this.control.getError(le,J):null}}class Bt extends _t{get formDirective(){return null}get path(){return null}}class Tt extends _t{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Lt{constructor(le){this._cd=le}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 Lt{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,We){2&J&&n.\u0275\u0275classProp("ng-untouched",We.isUntouched)("ng-touched",We.isTouched)("ng-pristine",We.isPristine)("ng-dirty",We.isDirty)("ng-valid",We.isValid)("ng-invalid",We.isInvalid)("ng-pending",We.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})(),at=(()=>{class fe extends Lt{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,We){2&J&&n.\u0275\u0275classProp("ng-untouched",We.isUntouched)("ng-touched",We.isTouched)("ng-pristine",We.isPristine)("ng-dirty",We.isDirty)("ng-valid",We.isValid)("ng-invalid",We.isInvalid)("ng-pending",We.isPending)("ng-submitted",We.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Ke="VALID",he="INVALID",ge="PENDING",ct="DISABLED";function Me(fe){return(V(fe)?fe.validators:fe)||null}function De(fe,le){return(V(le)?le.asyncValidators:fe)||null}function V(fe){return null!=fe&&!Array.isArray(fe)&&"object"==typeof fe}function Q(fe,le,J){const We=fe.controls;if(!(le?Object.keys(We):We).length)throw new n.\u0275RuntimeError(1e3,"");if(!We[J])throw new n.\u0275RuntimeError(1001,"")}function be(fe,le,J){fe._forEachChild((We,Xt)=>{if(void 0===J[Xt])throw new n.\u0275RuntimeError(1002,"")})}class dt{constructor(le,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(le),this._assignAsyncValidators(J)}get validator(){return this._composedValidatorFn}set validator(le){this._rawValidators=this._composedValidatorFn=le}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(le){this._rawAsyncValidators=this._composedAsyncValidatorFn=le}get parent(){return this._parent}get valid(){return this.status===Ke}get invalid(){return this.status===he}get pending(){return this.status==ge}get disabled(){return this.status===ct}get enabled(){return this.status!==ct}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(le){this._assignValidators(le)}setAsyncValidators(le){this._assignAsyncValidators(le)}addValidators(le){this.setValidators(Ct(le,this._rawValidators))}addAsyncValidators(le){this.setAsyncValidators(Ct(le,this._rawAsyncValidators))}removeValidators(le){this.setValidators(Nt(le,this._rawValidators))}removeAsyncValidators(le){this.setAsyncValidators(Nt(le,this._rawAsyncValidators))}hasValidator(le){return tt(this._rawValidators,le)}hasAsyncValidator(le){return tt(this._rawAsyncValidators,le)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(le={}){this.touched=!0,this._parent&&!le.onlySelf&&this._parent.markAsTouched(le)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(le=>le.markAllAsTouched())}markAsUntouched(le={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(J=>{J.markAsUntouched({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}markAsDirty(le={}){this.pristine=!1,this._parent&&!le.onlySelf&&this._parent.markAsDirty(le)}markAsPristine(le={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(J=>{J.markAsPristine({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}markAsPending(le={}){this.status=ge,!1!==le.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!le.onlySelf&&this._parent.markAsPending(le)}disable(le={}){const J=this._parentMarkedDirty(le.onlySelf);this.status=ct,this.errors=null,this._forEachChild(We=>{We.disable({...le,onlySelf:!0})}),this._updateValue(),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...le,skipPristineCheck:J}),this._onDisabledChange.forEach(We=>We(!0))}enable(le={}){const J=this._parentMarkedDirty(le.onlySelf);this.status=Ke,this._forEachChild(We=>{We.enable({...le,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent}),this._updateAncestors({...le,skipPristineCheck:J}),this._onDisabledChange.forEach(We=>We(!1))}_updateAncestors(le){this._parent&&!le.onlySelf&&(this._parent.updateValueAndValidity(le),le.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(le){this._parent=le}getRawValue(){return this.value}updateValueAndValidity(le={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ke||this.status===ge)&&this._runAsyncValidator(le.emitEvent)),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!le.onlySelf&&this._parent.updateValueAndValidity(le)}_updateTreeValidity(le={emitEvent:!0}){this._forEachChild(J=>J._updateTreeValidity(le)),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ct:Ke}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(le){if(this.asyncValidator){this.status=ge,this._hasOwnPendingAsyncValidator=!0;const J=W(this.asyncValidator(this));this._asyncValidationSubscription=J.subscribe(We=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(We,{emitEvent:le})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(le,J={}){this.errors=le,this._updateControlsErrors(!1!==J.emitEvent)}get(le){let J=le;return null==J||(Array.isArray(J)||(J=J.split(".")),0===J.length)?null:J.reduce((We,Xt)=>We&&We._find(Xt),this)}getError(le,J){const We=J?this.get(J):this;return We&&We.errors?We.errors[le]:null}hasError(le,J){return!!this.getError(le,J)}get root(){let le=this;for(;le._parent;)le=le._parent;return le}_updateControlsErrors(le){this.status=this._calculateStatus(),le&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(le)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?ct:this.errors?he:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ge)?ge:this._anyControlsHaveStatus(he)?he:Ke}_anyControlsHaveStatus(le){return this._anyControls(J=>J.status===le)}_anyControlsDirty(){return this._anyControls(le=>le.dirty)}_anyControlsTouched(){return this._anyControls(le=>le.touched)}_updatePristine(le={}){this.pristine=!this._anyControlsDirty(),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}_updateTouched(le={}){this.touched=this._anyControlsTouched(),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}_registerOnCollectionChange(le){this._onCollectionChange=le}_setUpdateStrategy(le){V(le)&&null!=le.updateOn&&(this._updateOn=le.updateOn)}_parentMarkedDirty(le){return!le&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(le){return null}_assignValidators(le){this._rawValidators=Array.isArray(le)?le.slice():le,this._composedValidatorFn=function Ye(fe){return Array.isArray(fe)?re(fe):fe||null}(this._rawValidators)}_assignAsyncValidators(le){this._rawAsyncValidators=Array.isArray(le)?le.slice():le,this._composedAsyncValidatorFn=function F(fe){return Array.isArray(fe)?ve(fe):fe||null}(this._rawAsyncValidators)}}class Rt extends dt{constructor(le,J,We){super(Me(J),De(We,J)),this.controls=le,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(le,J){return this.controls[le]?this.controls[le]:(this.controls[le]=J,J.setParent(this),J._registerOnCollectionChange(this._onCollectionChange),J)}addControl(le,J,We={}){this.registerControl(le,J),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}removeControl(le,J={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}setControl(le,J,We={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],J&&this.registerControl(le,J),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}contains(le){return this.controls.hasOwnProperty(le)&&this.controls[le].enabled}setValue(le,J={}){be(this,0,le),Object.keys(le).forEach(We=>{Q(this,!0,We),this.controls[We].setValue(le[We],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(le,J={}){null!=le&&(Object.keys(le).forEach(We=>{const Xt=this.controls[We];Xt&&Xt.patchValue(le[We],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(le={},J={}){this._forEachChild((We,Xt)=>{We.reset(le[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this._reduceChildren({},(le,J,We)=>(le[We]=J.getRawValue(),le))}_syncPendingControls(){let le=this._reduceChildren(!1,(J,We)=>!!We._syncPendingControls()||J);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){Object.keys(this.controls).forEach(J=>{const We=this.controls[J];We&&le(We,J)})}_setUpControls(){this._forEachChild(le=>{le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(le){for(const[J,We]of Object.entries(this.controls))if(this.contains(J)&&le(We))return!0;return!1}_reduceValue(){return this._reduceChildren({},(J,We,Xt)=>((We.enabled||this.disabled)&&(J[Xt]=We.value),J))}_reduceChildren(le,J){let We=le;return this._forEachChild((Xt,Dn)=>{We=J(We,Xt,Dn)}),We}_allControlsDisabled(){for(const le of Object.keys(this.controls))if(this.controls[le].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(le){return this.controls.hasOwnProperty(le)?this.controls[le]:null}}const qe=Rt,nt=fe=>fe instanceof Rt;class Ve extends Rt{}const yt=fe=>fe instanceof Ve,At=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>on}),on="always";function xn(fe,le){return[...le.path,fe]}function Sn(fe,le,J=on){fi(fe,le),le.valueAccessor.writeValue(fe.value),(fe.disabled||"always"===J)&&le.valueAccessor.setDisabledState?.(fe.disabled),function Yi(fe,le){le.valueAccessor.registerOnChange(J=>{fe._pendingValue=J,fe._pendingChange=!0,fe._pendingDirty=!0,"change"===fe.updateOn&&bt(fe,le)})}(fe,le),function pt(fe,le){const J=(We,Xt)=>{le.valueAccessor.writeValue(We),Xt&&le.viewToModelUpdate(We)};fe.registerOnChange(J),le._registerOnDestroy(()=>{fe._unregisterOnChange(J)})}(fe,le),function xt(fe,le){le.valueAccessor.registerOnTouched(()=>{fe._pendingTouched=!0,"blur"===fe.updateOn&&fe._pendingChange&&bt(fe,le),"submit"!==fe.updateOn&&fe.markAsTouched()})}(fe,le),function xi(fe,le){if(le.valueAccessor.setDisabledState){const J=We=>{le.valueAccessor.setDisabledState(We)};fe.registerOnDisabledChange(J),le._registerOnDestroy(()=>{fe._unregisterOnDisabledChange(J)})}}(fe,le)}function _n(fe,le,J=!0){const We=()=>{};le.valueAccessor&&(le.valueAccessor.registerOnChange(We),le.valueAccessor.registerOnTouched(We)),Vi(fe,le),fe&&(le._invokeOnDestroyCallbacks(),fe._registerOnCollectionChange(()=>{}))}function Mn(fe,le){fe.forEach(J=>{J.registerOnValidatorChange&&J.registerOnValidatorChange(le)})}function fi(fe,le){const J=Ze(fe);null!==le.validator?fe.setValidators(He(J,le.validator)):"function"==typeof J&&fe.setValidators([J]);const We=Qe(fe);null!==le.asyncValidator?fe.setAsyncValidators(He(We,le.asyncValidator)):"function"==typeof We&&fe.setAsyncValidators([We]);const Xt=()=>fe.updateValueAndValidity();Mn(le._rawValidators,Xt),Mn(le._rawAsyncValidators,Xt)}function Vi(fe,le){let J=!1;if(null!==fe){if(null!==le.validator){const Xt=Ze(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==le.validator);Dn.length!==Xt.length&&(J=!0,fe.setValidators(Dn))}}if(null!==le.asyncValidator){const Xt=Qe(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==le.asyncValidator);Dn.length!==Xt.length&&(J=!0,fe.setAsyncValidators(Dn))}}}const We=()=>{};return Mn(le._rawValidators,We),Mn(le._rawAsyncValidators,We),J}function bt(fe,le){fe._pendingDirty&&fe.markAsDirty(),fe.setValue(fe._pendingValue,{emitModelToViewChange:!1}),le.viewToModelUpdate(fe._pendingValue),fe._pendingChange=!1}function qt(fe,le){fi(fe,le)}function _i(fe,le){if(!fe.hasOwnProperty("model"))return!1;const J=fe.model;return!!J.isFirstChange()||!Object.is(le,J.currentValue)}function ti(fe,le){fe._syncPendingControls(),le.forEach(J=>{const We=J.control;"submit"===We.updateOn&&We._pendingChange&&(J.viewToModelUpdate(We._pendingValue),We._pendingChange=!1)})}function an(fe,le){if(!le)return null;let J,We,Xt;return Array.isArray(le),le.forEach(Dn=>{Dn.constructor===y?J=Dn:function $n(fe){return Object.getPrototypeOf(fe.constructor)===h}(Dn)?We=Dn:Xt=Dn}),Xt||We||J||null}const Rn={provide:Bt,useExisting:(0,n.forwardRef)(()=>mi)},Wn=(()=>Promise.resolve())();let mi=(()=>{class fe extends Bt{constructor(J,We,Xt){super(),this.callSetDisabledState=Xt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Rt({},re(J),ve(We))}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 We=this._findContainer(J.path);J.control=We.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 We=this._findContainer(J.path);We&&We.removeControl(J.name),this._directives.delete(J)})}addFormGroup(J){Wn.then(()=>{const We=this._findContainer(J.path),Xt=new Rt({});qt(Xt,J),We.registerControl(J.name,Xt),Xt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(J){Wn.then(()=>{const We=this._findContainer(J.path);We&&We.removeControl(J.name)})}getFormGroup(J){return this.form.get(J.path)}updateModel(J,We){Wn.then(()=>{this.form.get(J.path).setValue(We)})}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(At,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("submit",function(Dn){return We.onSubmit(Dn)})("reset",function(){return We.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Rn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();function Yn(fe,le){const J=fe.indexOf(le);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 dt{constructor(le=null,J,We){super(Me(J),De(We,J)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(le),this._setUpdateStrategy(J),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),V(J)&&(J.nonNullable||J.initialValueIsDefault)&&(this.defaultValue=wi(le)?le.value:le)}setValue(le,J={}){this.value=this._pendingValue=le,this._onChange.length&&!1!==J.emitModelToViewChange&&this._onChange.forEach(We=>We(this.value,!1!==J.emitViewToModelChange)),this.updateValueAndValidity(J)}patchValue(le,J={}){this.setValue(le,J)}reset(le=this.defaultValue,J={}){this._applyFormState(le),this.markAsPristine(J),this.markAsUntouched(J),this.setValue(this.value,J),this._pendingChange=!1}_updateValue(){}_anyControls(le){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(le){this._onChange.push(le)}_unregisterOnChange(le){Yn(this._onChange,le)}registerOnDisabledChange(le){this._onDisabledChange.push(le)}_unregisterOnDisabledChange(le){Yn(this._onDisabledChange,le)}_forEachChild(le){}_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(le){wi(le)?(this.value=this._pendingValue=le.value,le.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=le}},ai=ri,Ni=fe=>fe instanceof ri;let Mt=(()=>{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 le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const se={provide:Bt,useExisting:(0,n.forwardRef)(()=>Xe)};let Xe=(()=>{class fe extends Mt{constructor(J,We,Xt){super(),this.name="",this._parent=J,this._setValidators(We),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([se]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const kt={provide:Tt,useExisting:(0,n.forwardRef)(()=>un)},Wt=(()=>Promise.resolve())();let un=(()=>{class fe extends Tt{constructor(J,We,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(We),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 We=J.name.previousValue;this.formDirective.removeControl({name:We,path:this._getPath(We)})}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 We=J.isDisabled.currentValue,Xt=0!==We&&(0,n.booleanAttribute)(We);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(At,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([kt]),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 h{writeValue(J){this.setProperty("value",J??"")}registerOnChange(J){this.onChange=We=>{J(""==We?null:parseFloat(We))}}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("input",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.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,We){this._accessors.push([J,We])}remove(J){for(let We=this._accessors.length-1;We>=0;--We)if(this._accessors[We][1]===J)return void this._accessors.splice(We,1)}select(J){this._accessors.forEach(We=>{this._isSameGroup(We,J)&&We[1]!==J&&We[1].fireUncheck(J.value)})}_isSameGroup(J,We){return!!J[0].control&&J[0]._parent===We._control._parent&&J[1].name===We.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 h{constructor(J,We,Xt,Dn){super(J,We),this._registry=Xt,this._injector=Dn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(At,{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,We){1&J&&n.\u0275\u0275listener("change",function(){return We.onChange()})("blur",function(){return We.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 h{writeValue(J){this.setProperty("value",parseFloat(J))}registerOnChange(J){this.onChange=We=>{J(""==We?null:parseFloat(We))}}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.value)})("input",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.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,We,Xt,Dn,Wi){super(),this._ngModelWarningConfig=Dn,this.callSetDisabledState=Wi,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(J),this._setAsyncValidators(We),this.valueAccessor=an(0,Xt)}ngOnChanges(J){if(this._isControlChanged(J)){const We=J.form.previousValue;We&&_n(We,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(At,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,We,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(We)}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 We=this.form.get(J.path);return Sn(We,J,this.callSetDisabledState),We.updateValueAndValidity({emitEvent:!1}),this.directives.push(J),We}getControl(J){return this.form.get(J.path)}removeControl(J){_n(J.control||null,J,!1),function mn(fe,le){const J=fe.indexOf(le);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,We){this.form.get(J.path).setValue(We)}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 We=J.control,Xt=this.form.get(J.path);We!==Xt&&(_n(We||null,J),Ni(Xt)&&(Sn(Xt,J,this.callSetDisabledState),J.control=Xt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(J){const We=this.form.get(J.path);qt(We,J),We.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(J){if(this.form){const We=this.form.get(J.path);We&&function nn(fe,le){return Vi(fe,le)}(We,J)&&We.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(At,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formGroup",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("submit",function(Dn){return We.onSubmit(Dn)})("reset",function(){return We.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 Mt{constructor(J,We,Xt){super(),this.name=null,this._parent=J,this._setValidators(We),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,We,Xt){super(),this.name=null,this._parent=J,this._setValidators(We),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 Ot={provide:Tt,useExisting:(0,n.forwardRef)(()=>C)};let C=(()=>{class fe extends Tt{set isDisabled(J){}constructor(J,We,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(We),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([Ot]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})();const te={provide:u,useExisting:(0,n.forwardRef)(()=>Zt),multi:!0};function Ne(fe,le){return null==fe?`${le}`:(le&&"object"==typeof le&&(le="Object"),`${fe}: ${le}`.slice(0,50))}let Zt=(()=>{class fe extends h{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=Ne(this._getOptionId(J),J);this.setProperty("value",Xt)}registerOnChange(J){this.onChange=We=>{this.value=this._getOptionValue(We),J(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(J){for(const We of this._optionMap.keys())if(this._compareWith(this._optionMap.get(We),J))return We;return null}_getOptionValue(J){const We=function ot(fe){return fe.split(":")[0]}(J);return this._optionMap.has(We)?this._optionMap.get(We):J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([te]),n.\u0275\u0275InheritDefinitionFeature]}),fe})(),Pn=(()=>{class fe{constructor(J,We,Xt){this._element=J,this._renderer=We,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(Ne(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,le){return null==fe?`${le}`:("string"==typeof le&&(le=`'${le}'`),le&&"object"==typeof le&&(le="Object"),`${fe}: ${le}`.slice(0,50))}let Ui=(()=>{class fe extends h{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(J){this._compareWith=J}writeValue(J){let We;if(this.value=J,Array.isArray(J)){const Xt=J.map(Dn=>this._getOptionId(Dn));We=(Dn,Wi)=>{Dn._setSelected(Xt.indexOf(Wi.toString())>-1)}}else We=(Xt,Dn)=>{Xt._setSelected(!1)};this._optionMap.forEach(We)}registerOnChange(J){this.onChange=We=>{const Xt=[],Dn=We.selectedOptions;if(void 0!==Dn){const Wi=Dn;for(let dr=0;dr{class fe{constructor(J,We,Xt){this._element=J,this._renderer=We,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 gt=(()=>{class fe{constructor(){this._validator=de}ngOnChanges(J){if(this.inputName in J){const We=this.normalizeInput(J[this.inputName].currentValue);this._enabled=this.enabled(We),this._validator=this._enabled?this.createValidator(We):de,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 gt{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=J=>vt(J),this.createValidator=J=>ee(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("max",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=J=>vt(J),this.createValidator=J=>$(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("min",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>ie}enabled(J){return J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("required",We._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 le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("required",We._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 gt{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>U}enabled(J){return J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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 gt{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Ce(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("minlength",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Re(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("maxlength",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=J=>J,this.createValidator=J=>Ae(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("pattern",We._enabled?We.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 dt{constructor(le,J,We){super(Me(J),De(We,J)),this.controls=le,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(le){return this.controls[this._adjustIndex(le)]}push(le,J={}){this.controls.push(le),this._registerControl(le),this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}insert(le,J,We={}){this.controls.splice(le,0,J),this._registerControl(J),this.updateValueAndValidity({emitEvent:We.emitEvent})}removeAt(le,J={}){let We=this._adjustIndex(le);We<0&&(We=0),this.controls[We]&&this.controls[We]._registerOnCollectionChange(()=>{}),this.controls.splice(We,1),this.updateValueAndValidity({emitEvent:J.emitEvent})}setControl(le,J,We={}){let Xt=this._adjustIndex(le);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:We.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(le,J={}){be(this,0,le),le.forEach((We,Xt)=>{Q(this,!1,Xt),this.at(Xt).setValue(We,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(le,J={}){null!=le&&(le.forEach((We,Xt)=>{this.at(Xt)&&this.at(Xt).patchValue(We,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(le=[],J={}){this._forEachChild((We,Xt)=>{We.reset(le[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this.controls.map(le=>le.getRawValue())}clear(le={}){this.controls.length<1||(this._forEachChild(J=>J._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:le.emitEvent}))}_adjustIndex(le){return le<0?le+this.length:le}_syncPendingControls(){let le=this.controls.reduce((J,We)=>!!We._syncPendingControls()||J,!1);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){this.controls.forEach((J,We)=>{le(J,We)})}_updateValue(){this.value=this.controls.filter(le=>le.enabled||this.disabled).map(le=>le.value)}_anyControls(le){return this.controls.some(J=>J.enabled&&le(J))}_setUpControls(){this._forEachChild(le=>this._registerControl(le))}_allControlsDisabled(){for(const le of this.controls)if(le.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(le){le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)}_find(le){return this.at(le)??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,We=null){const Xt=this._reduceControls(J);let Dn={};return po(We)?Dn=We:null!==We&&(Dn.validators=We.validator,Dn.asyncValidators=We.asyncValidator),new Rt(Xt,Dn)}record(J,We=null){const Xt=this._reduceControls(J);return new Ve(Xt,We)}control(J,We,Xt){let Dn={};return this.useNonNullable?(po(We)?Dn=We:(Dn.validators=We,Dn.asyncValidators=Xt),new ri(J,{...Dn,nonNullable:!0})):new ri(J,We,Xt)}array(J,We,Xt){const Dn=J.map(Wi=>this._createControl(Wi));return new Hr(Dn,We,Xt)}_reduceControls(J){const We={};return Object.keys(J).forEach(Xt=>{We[Xt]=this._createControl(J[Xt])}),We}_createControl(J){return J instanceof ri||J instanceof dt?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,We=null){return super.group(J,We)}control(J,We,Xt){return super.control(J,We,Xt)}array(J,We,Xt){return super.array(J,We,Xt)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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:At,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:At,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:()=>Nt,MATERIAL_SANITY_CHECKS:()=>A,MAT_DATE_FORMATS:()=>ae,MAT_DATE_LOCALE:()=>Be,MAT_DATE_LOCALE_FACTORY:()=>G,MAT_NATIVE_DATE_FORMATS:()=>Qe,MAT_OPTGROUP:()=>Gt,MAT_OPTION_PARENT_COMPONENT:()=>Pe,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Te,MatCommonModule:()=>U,MatLine:()=>_t,MatLineModule:()=>Lt,MatNativeDateModule:()=>tt,MatOptgroup:()=>Oe,MatOption:()=>ct,MatOptionModule:()=>De,MatOptionSelectionChange:()=>he,MatPseudoCheckbox:()=>_e,MatPseudoCheckboxModule:()=>ut,MatRipple:()=>et,MatRippleModule:()=>Dt,NativeDateAdapter:()=>Ze,NativeDateModule:()=>Ge,RippleRef:()=>Le,RippleRenderer:()=>K,ShowOnDirtyErrorStateMatcher:()=>Ct,VERSION:()=>X,_MatOptgroupBase:()=>Ft,_MatOptionBase:()=>ge,_countGroupLabelsBeforeOption:()=>Me,_getOptionScrollPosition:()=>Ye,defaultRippleAnimationConfig:()=>at,mixinColor:()=>H,mixinDisableRipple:()=>W,mixinDisabled:()=>de,mixinErrorState:()=>we,mixinInitialized:()=>Ee,mixinTabIndex:()=>pe,setLines:()=>Bt});var n=a(5879),c=a(4300),d=a(9388),r=a(6814),f=a(2831),h=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 Q=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",Q.disabled)("state",Q.selected?"checked":"unchecked")}}function D(F,V){if(1&F&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&F){const Q=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",Q.disabled)}}function S(F,V){if(1&F&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&F){const Q=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",Q.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(Q,be,dt){this._sanityChecks=be,this._document=dt,this._hasDoneGlobalChecks=!1,Q._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Q){return!(0,f.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Q])}}return F.\u0275fac=function(Q){return new(Q||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 de(F){return class extends F{get disabled(){return this._disabled}set disabled(V){this._disabled=(0,h.Ig)(V)}constructor(...V){super(...V),this._disabled=!1}}}function H(F,V){return class extends F{get color(){return this._color}set color(Q){const be=Q||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}constructor(...Q){super(...Q),this.defaultColor=V,this.color=V}}}function W(F){return class extends F{get disableRipple(){return this._disableRipple}set disableRipple(V){this._disableRipple=(0,h.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(Q){this._tabIndex=null!=Q?(0,h.su)(Q):this.defaultTabIndex}constructor(...Q){super(...Q),this._tabIndex=V,this.defaultTabIndex=V}}}function we(F){return class extends F{updateErrorState(){const V=this.errorState,Rt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Rt!==V&&(this.errorState=Rt,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(Q=>{this._isInitialized?this._notifySubscriber(Q):this._pendingSubscribers.push(Q)})}_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,Q){return this.getYear(V)-this.getYear(Q)||this.getMonth(V)-this.getMonth(Q)||this.getDate(V)-this.getDate(Q)}sameDate(V,Q){if(V&&Q){let be=this.isValid(V),dt=this.isValid(Q);return be&&dt?!this.compareDate(V,Q):be==dt}return V==Q}clampDate(V,Q,be){return Q&&this.compareDate(V,Q)<0?Q:be&&this.compareDate(V,be)>0?be:V}}const ae=new n.InjectionToken("mat-date-formats"),ve=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function He(F,V){const Q=Array(F);for(let be=0;be{class F extends re{constructor(Q,be){super(),this.useUtcForDisplay=!1,super.setLocale(Q)}getYear(Q){return Q.getFullYear()}getMonth(Q){return Q.getMonth()}getDate(Q){return Q.getDate()}getDayOfWeek(Q){return Q.getDay()}getMonthNames(Q){const be=new Intl.DateTimeFormat(this.locale,{month:Q,timeZone:"utc"});return He(12,dt=>this._format(be,new Date(2017,dt,1)))}getDateNames(){const Q=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return He(31,be=>this._format(Q,new Date(2017,0,be+1)))}getDayOfWeekNames(Q){const be=new Intl.DateTimeFormat(this.locale,{weekday:Q,timeZone:"utc"});return He(7,dt=>this._format(be,new Date(2017,0,dt+1)))}getYearName(Q){const be=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(be,Q)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Q){return this.getDate(this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q)+1,0))}clone(Q){return new Date(Q.getTime())}createDate(Q,be,dt){let Rt=this._createDateWithOverflow(Q,be,dt);return Rt.getMonth(),Rt}today(){return new Date}parse(Q,be){return"number"==typeof Q?new Date(Q):Q?new Date(Date.parse(Q)):null}format(Q,be){if(!this.isValid(Q))throw Error("NativeDateAdapter: Cannot format invalid date.");const dt=new Intl.DateTimeFormat(this.locale,{...be,timeZone:"utc"});return this._format(dt,Q)}addCalendarYears(Q,be){return this.addCalendarMonths(Q,12*be)}addCalendarMonths(Q,be){let dt=this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q)+be,this.getDate(Q));return this.getMonth(dt)!=((this.getMonth(Q)+be)%12+12)%12&&(dt=this._createDateWithOverflow(this.getYear(dt),this.getMonth(dt),0)),dt}addCalendarDays(Q,be){return this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q),this.getDate(Q)+be)}toIso8601(Q){return[Q.getUTCFullYear(),this._2digit(Q.getUTCMonth()+1),this._2digit(Q.getUTCDate())].join("-")}deserialize(Q){if("string"==typeof Q){if(!Q)return null;if(ve.test(Q)){let be=new Date(Q);if(this.isValid(be))return be}}return super.deserialize(Q)}isDateInstance(Q){return Q instanceof Date}isValid(Q){return!isNaN(Q.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Q,be,dt){const Rt=new Date;return Rt.setFullYear(Q,be,dt),Rt.setHours(0,0,0,0),Rt}_2digit(Q){return("00"+Q).slice(-2)}_format(Q,be){const dt=new Date;return dt.setUTCFullYear(be.getFullYear(),be.getMonth(),be.getDate()),dt.setUTCHours(be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()),Q.format(dt)}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275inject(Be,8),n.\u0275\u0275inject(f.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 Ge=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||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(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:ae,useValue:Qe}],imports:[Ge]}),F})(),Ct=(()=>{class F{isErrorState(Q,be){return!!(Q&&Q.invalid&&(Q.dirty||be&&be.submitted))}}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),Nt=(()=>{class F{isErrorState(Q,be){return!!(Q&&Q.invalid&&(Q.touched||be&&be.submitted))}}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),_t=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),F})();function Bt(F,V,Q="mat"){F.changes.pipe((0,b.O)(F)).subscribe(({length:be})=>{Tt(V,`${Q}-2-line`,!1),Tt(V,`${Q}-3-line`,!1),Tt(V,`${Q}-multi-line`,!1),2===be||3===be?Tt(V,`${Q}-${be}-line`,!0):be>3&&Tt(V,`${Q}-multi-line`,!0)})}function Tt(F,V,Q){F.nativeElement.classList.toggle(V,Q)}let Lt=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})();class Le{constructor(V,Q,be,dt=!1){this._renderer=V,this.element=Q,this.config=be,this._animationForciblyDisabledThroughCss=dt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const lt=(0,f.i$)({passive:!0,capture:!0});class ze{constructor(){this._events=new Map,this._delegateEventHandler=V=>{const Q=(0,f.sA)(V);Q&&this._events.get(V.type)?.forEach((be,dt)=>{(dt===Q||dt.contains(Q))&&be.forEach(Rt=>Rt.handleEvent(V))})}}addHandler(V,Q,be,dt){const Rt=this._events.get(Q);if(Rt){const qe=Rt.get(be);qe?qe.add(dt):Rt.set(be,new Set([dt]))}else this._events.set(Q,new Map([[be,new Set([dt])]])),V.runOutsideAngular(()=>{document.addEventListener(Q,this._delegateEventHandler,lt)})}removeHandler(V,Q,be){const dt=this._events.get(V);if(!dt)return;const Rt=dt.get(Q);Rt&&(Rt.delete(be),0===Rt.size&&dt.delete(Q),0===dt.size&&(this._events.delete(V),document.removeEventListener(V,this._delegateEventHandler,lt)))}}const at={enterDuration:225,exitDuration:150},oe=(0,f.i$)({passive:!0,capture:!0}),Y=["mousedown","touchstart"],ne=["mouseup","mouseleave","touchend","touchcancel"];class K{constructor(V,Q,be,dt){this._target=V,this._ngZone=Q,this._platform=dt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,dt.isBrowser&&(this._containerElement=(0,h.fI)(be))}fadeInRipple(V,Q,be={}){const dt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Rt={...at,...be.animation};be.centered&&(V=dt.left+dt.width/2,Q=dt.top+dt.height/2);const qe=be.radius||function ce(F,V,Q){const be=Math.max(Math.abs(F-Q.left),Math.abs(F-Q.right)),dt=Math.max(Math.abs(V-Q.top),Math.abs(V-Q.bottom));return Math.sqrt(be*be+dt*dt)}(V,Q,dt),nt=V-dt.left,Ve=Q-dt.top,yt=Rt.enterDuration,At=document.createElement("div");At.classList.add("mat-ripple-element"),At.style.left=nt-qe+"px",At.style.top=Ve-qe+"px",At.style.height=2*qe+"px",At.style.width=2*qe+"px",null!=be.color&&(At.style.backgroundColor=be.color),At.style.transitionDuration=`${yt}ms`,this._containerElement.appendChild(At);const on=window.getComputedStyle(At),Sn=on.transitionDuration,_n="none"===on.transitionProperty||"0s"===Sn||"0s, 0s"===Sn||0===dt.width&&0===dt.height,Mn=new Le(this,At,be,_n);At.style.transform="scale3d(1, 1, 1)",Mn.state=0,be.persistent||(this._mostRecentTransientRipple=Mn);let xi=null;return!_n&&(yt||Rt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const fi=()=>this._finishRippleTransition(Mn),Vi=()=>this._destroyRipple(Mn);At.addEventListener("transitionend",fi),At.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 Q=V.element,be={...at,...V.config.animation};Q.style.transitionDuration=`${be.exitDuration}ms`,Q.style.opacity="0",V.state=2,(V._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(V)}fadeOutAll(){this._getActiveRipples().forEach(V=>V.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(V=>{V.config.persistent||V.fadeOut()})}setupTriggerEvents(V){const Q=(0,h.fI)(V);!this._platform.isBrowser||!Q||Q===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Q,Y.forEach(be=>{K._eventManager.addHandler(this._ngZone,be,Q,this)}))}handleEvent(V){"mousedown"===V.type?this._onMousedown(V):"touchstart"===V.type?this._onTouchStart(V):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ne.forEach(Q=>{this._triggerElement.addEventListener(Q,this,oe)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(V){0===V.state?this._startFadeOutTransition(V):2===V.state&&this._destroyRipple(V)}_startFadeOutTransition(V){const Q=V===this._mostRecentTransientRipple,{persistent:be}=V.config;V.state=1,!be&&(!Q||!this._isPointerDown)&&V.fadeOut()}_destroyRipple(V){const Q=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!==Q&&(V.element.removeEventListener("transitionend",Q.onTransitionEnd),V.element.removeEventListener("transitioncancel",Q.onTransitionCancel)),V.element.remove()}_onMousedown(V){const Q=(0,c.X6)(V),be=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(Q=>K._eventManager.removeHandler(Q,V,this)),this._pointerUpEventsRegistered&&ne.forEach(Q=>V.removeEventListener(Q,this,oe)))}}K._eventManager=new ze;const Te=new n.InjectionToken("mat-ripple-global-options");let et=(()=>{class F{get disabled(){return this._disabled}set disabled(Q){Q&&this.fadeOutAllNonPersistent(),this._disabled=Q,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Q){this._trigger=Q,this._setupTriggerEventsIfEnabled()}constructor(Q,be,dt,Rt,qe){this._elementRef=Q,this._animationMode=qe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Rt||{},this._rippleRenderer=new K(this,be,Q,dt)}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(Q,be=0,dt){return"number"==typeof Q?this._rippleRenderer.fadeInRipple(Q,be,{...this.rippleConfig,...dt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Q})}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(f.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(Q,be){2&Q&&n.\u0275\u0275classProp("mat-ripple-unbounded",be.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(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})(),_e=(()=>{class F{constructor(Q){this._animationMode=Q,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return F.\u0275fac=function(Q){return new(Q||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(Q,be){2&Q&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===be.state)("mat-pseudo-checkbox-checked","checked"===be.state)("mat-pseudo-checkbox-disabled",be.disabled)("mat-pseudo-checkbox-minimal","minimal"===be.appearance)("mat-pseudo-checkbox-full","full"===be.appearance)("_mat-animation-noopable","NoopAnimations"===be._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(Q,be){},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})(),ut=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U]}),F})();const Pe=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),mt=de(class{});let Pt=0,Ft=(()=>{class F extends mt{constructor(Q){super(),this._labelId="mat-optgroup-label-"+Pt++,this._inert=Q?.inertGroups??!1}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(Pe,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),F})();const Gt=new n.InjectionToken("MatOptgroup");let Oe=(()=>{class F extends Ft{}return F.\u0275fac=function(){let V;return function(be){return(V||(V=n.\u0275\u0275getInheritedFactory(F)))(be||F)}}(),F.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(Q,be){2&Q&&n.\u0275\u0275attribute("role",be._inert?null:"group")("aria-disabled",be._inert?null:be.disabled.toString())("aria-labelledby",be._inert?null:be._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:Gt,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(Q,be){1&Q&&(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&Q&&(n.\u0275\u0275classProp("mdc-list-item--disabled",be.disabled),n.\u0275\u0275property("id",be._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",be.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})(),Ke=0;class he{constructor(V,Q=!1){this.source=V,this.isUserInput=Q}}let ge=(()=>{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(Q){this._disabled=(0,h.Ig)(Q)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(Q,be,dt,Rt){this._element=Q,this._changeDetectorRef=be,this._parent=dt,this.group=Rt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ke++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new v.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Q=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Q&&this._emitSelectionChangeEvent())}deselect(Q=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Q&&this._emitSelectionChangeEvent())}focus(Q,be){const dt=this._getHostElement();"function"==typeof dt.focus&&dt.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Q){(Q.keyCode===p.K5||Q.keyCode===p.L_)&&!(0,p.Vb)(Q)&&(this._selectViaInteraction(),Q.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 Q=this.viewValue;Q!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Q)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Q=!1){this.onSelectionChange.emit(new he(this,Q))}}return F.\u0275fac=function(Q){n.\u0275\u0275invalidFactory()},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,viewQuery:function(Q,be){if(1&Q&&n.\u0275\u0275viewQuery(y,7),2&Q){let dt;n.\u0275\u0275queryRefresh(dt=n.\u0275\u0275loadQuery())&&(be._text=dt.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),F})(),ct=(()=>{class F extends ge{constructor(Q,be,dt,Rt){super(Q,be,dt,Rt)}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Pe,8),n.\u0275\u0275directiveInject(Gt,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(Q,be){1&Q&&n.\u0275\u0275listener("click",function(){return be._selectViaInteraction()})("keydown",function(Rt){return be._handleKeydown(Rt)}),2&Q&&(n.\u0275\u0275hostProperty("id",be.id),n.\u0275\u0275attribute("aria-selected",be.selected)("aria-disabled",be.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",be.selected)("mat-mdc-option-multiple",be.multiple)("mat-mdc-option-active",be.active)("mdc-list-item--disabled",be.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(Q,be){1&Q&&(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&Q&&(n.\u0275\u0275property("ngIf",be.multiple),n.\u0275\u0275advance(5),n.\u0275\u0275property("ngIf",!be.multiple&&be.selected&&!be.hideSingleSelectionIndicator),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",be.group&&be.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",be._getHostElement())("matRippleDisabled",be.disabled||be.disableRipple))},dependencies:[et,r.NgIf,_e],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 Me(F,V,Q){if(Q.length){let be=V.toArray(),dt=Q.toArray(),Rt=0;for(let qe=0;qeQ+be?Math.max(0,F-be+V):Q}let De=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[Dt,r.CommonModule,U,ut]}),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:()=>kt,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>pt,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>xt,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>bt,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Vi,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>Yi,MatCalendar:()=>mi,MatCalendarBody:()=>nt,MatCalendarCell:()=>Q,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),f=a(2831),h=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)(h.MAT_RIPPLE_GLOBAL_OPTIONS,{optional:!0}),this._platform=(0,r.inject)(f.t4),this._ngZone=(0,r.inject)(r.NgZone),this._onInteraction=C=>{if(C.target===this._document)return;const Ne=C.target.closest(`[${$}]`);Ne&&(Ne.removeAttribute($),this._appendRipple(Ne))},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 Ne=new ie(C,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);Ne.rippleConfig.centered=C.hasAttribute("mat-icon-button"),new h.RippleRenderer(Ne,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 Ne=new h.MatRipple(new r.ElementRef(te),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Ne._isInitialized=!0,Ne.trigger=C,C.append(te),Ne}}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(Ot,C,te){this._button=Ot,this._globalRippleOptions=C,this._setRippleConfig(C,te)}_setRippleConfig(Ot,C){this.rippleConfig=Ot||{},"NoopAnimations"===C&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const Ce=[{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,h.mixinColor)((0,h.mixinDisabled)((0,h.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,Ne,ot){super(C),this._platform=te,this._ngZone=Ne,this._animationMode=ot,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 Ce)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,Ne,ot){super(C,te,Ne,ot)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.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,Ne,ot){super(C,te,Ne,ot)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.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:[h.MatCommonModule,h.MatRippleModule,h.MatCommonModule]}),Je})();var Ct=a(6672),Nt=a(8645),_t=a(7394),Bt=a(3019),Tt=a(2096),Lt=a(6028),Le=a(9388),lt=a(8180),ze=a(7921),at=a(2181),N=a(2495),oe=a(6825),Y=a(6223),ne=a(1043),K=a(4516);const ce=["mat-calendar-body",""];function Te(Je,Ot){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 et(Je,Ot){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,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",8)(1,"button",9),r.\u0275\u0275listener("click",function(Ne){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._cellClicked(Zt,Ne))})("focus",function(Ne){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._emitActiveDateChange(Zt,Ne))}),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=Ot.$implicit,te=Ot.index,Ne=r.\u0275\u0275nextContext().index,ot=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("width",ot._cellWidth)("padding-top",ot._cellPadding)("padding-bottom",ot._cellPadding),r.\u0275\u0275attribute("data-mat-row",Ne)("data-mat-col",te),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-disabled",!C.enabled)("mat-calendar-body-active",ot._isActiveCell(Ne,te))("mat-calendar-body-range-start",ot._isRangeStart(C.compareValue))("mat-calendar-body-range-end",ot._isRangeEnd(C.compareValue))("mat-calendar-body-in-range",ot._isInRange(C.compareValue))("mat-calendar-body-comparison-bridge-start",ot._isComparisonBridgeStart(C.compareValue,Ne,te))("mat-calendar-body-comparison-bridge-end",ot._isComparisonBridgeEnd(C.compareValue,Ne,te))("mat-calendar-body-comparison-start",ot._isComparisonStart(C.compareValue))("mat-calendar-body-comparison-end",ot._isComparisonEnd(C.compareValue))("mat-calendar-body-in-comparison-range",ot._isInComparisonRange(C.compareValue))("mat-calendar-body-preview-start",ot._isPreviewStart(C.compareValue))("mat-calendar-body-preview-end",ot._isPreviewEnd(C.compareValue))("mat-calendar-body-in-preview",ot._isInPreview(C.compareValue)),r.\u0275\u0275property("ngClass",C.cssClasses)("tabindex",ot._isActiveCell(Ne,te)?0:-1),r.\u0275\u0275attribute("aria-label",C.ariaLabel)("aria-disabled",!C.enabled||null)("aria-pressed",ot._isSelected(C.compareValue))("aria-current",ot.todayValue===C.compareValue?"date":null)("aria-describedby",ot._getDescribedby(C.compareValue)),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-selected",ot._isSelected(C.compareValue))("mat-calendar-body-comparison-identical",ot._isComparisonIdentical(C.compareValue))("mat-calendar-body-today",ot.todayValue===C.compareValue),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",C.displayValue," ")}}function _e(Je,Ot){if(1&Je&&(r.\u0275\u0275elementStart(0,"tr",5),r.\u0275\u0275template(1,et,2,6,"td",6),r.\u0275\u0275template(2,Dt,5,48,"td",7),r.\u0275\u0275elementEnd()),2&Je){const C=Ot.$implicit,te=Ot.index,Ne=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",0===te&&Ne._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",C)}}function ut(Je,Ot){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=Ot.$implicit;r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.long),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.narrow)}}const Pe=["*"];function mt(Je,Ot){}function Pt(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-month-view",5),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("_userSelection",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dateSelected(Ne))})("dragStarted",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dragStarted(Ne))})("dragEnded",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dragEnded(Ne))}),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 Ft(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-year-view",6),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("monthSelected",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._monthSelectedInYearView(Ne))})("selectedChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._goToDateInView(Ne,"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 Gt(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-multi-year-view",7),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("yearSelected",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._yearSelectedInMultiYearView(Ne))})("selectedChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._goToDateInView(Ne,"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 Oe(Je,Ot){}const Ke=["button"];function he(Je,Ot){1&Je&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg",3),r.\u0275\u0275element(1,"path",4),r.\u0275\u0275elementEnd())}const ge=[[["","matDatepickerToggleIcon",""]]],ct=["[matDatepickerToggleIcon]"],Me=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Ye=["input[matStartDate]","input[matEndDate]"];function De(Je,Ot){1&Je&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275projection(1),r.\u0275\u0275elementEnd())}let V=(()=>{class Je{constructor(){this.changes=new Nt.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 Q{constructor(Ot,C,te,Ne,ot={},Zt=Ot,Pn){this.value=Ot,this.displayValue=C,this.ariaLabel=te,this.enabled=Ne,this.cssClasses=ot,this.compareValue=Zt,this.rawValue=Pn}}let be=1;const dt=(0,f.i$)({passive:!1,capture:!0}),Rt=(0,f.i$)({passive:!0,capture:!0}),qe=(0,f.i$)({passive:!0});let nt=(()=>{class Je{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(C,te){this._elementRef=C,this._ngZone=te,this._platform=(0,r.inject)(f.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=Ne=>{if(this._skipNextFocus&&"focus"===Ne.type)this._skipNextFocus=!1;else if(Ne.target&&this.isRange){const ot=this._getCellFromElement(Ne.target);ot&&this._ngZone.run(()=>this.previewChange.emit({value:ot.enabled?ot:null,event:Ne}))}},this._touchmoveHandler=Ne=>{if(!this.isRange)return;const ot=Sn(Ne),Zt=ot?this._getCellFromElement(ot):null;ot!==Ne.target&&(this._didDragSinceMouseDown=!0),yt(Ne.target)&&Ne.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Zt?.enabled?Zt:null,event:Ne}))},this._leaveHandler=Ne=>{null!==this.previewEnd&&this.isRange&&("blur"!==Ne.type&&(this._didDragSinceMouseDown=!0),Ne.target&&this._getCellFromElement(Ne.target)&&(!Ne.relatedTarget||!this._getCellFromElement(Ne.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Ne})))},this._mousedownHandler=Ne=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const ot=Ne.target&&this._getCellFromElement(Ne.target);!ot||!this._isInRange(ot.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:ot.rawValue,event:Ne})})},this._mouseupHandler=Ne=>{if(!this.isRange)return;const ot=yt(Ne.target);ot?ot.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Zt=this._getCellFromElement(ot);this.dragEnded.emit({value:Zt?.rawValue??null,event:Ne})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Ne})})},this._touchendHandler=Ne=>{const ot=Sn(Ne);ot&&this._mouseupHandler({target:ot})},this._id="mat-calendar-body-"+be++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,te.runOutsideAngular(()=>{const Ne=C.nativeElement;Ne.addEventListener("touchmove",this._touchmoveHandler,dt),Ne.addEventListener("mouseenter",this._enterHandler,Rt),Ne.addEventListener("focus",this._enterHandler,Rt),Ne.addEventListener("mouseleave",this._leaveHandler,Rt),Ne.addEventListener("blur",this._leaveHandler,Rt),Ne.addEventListener("mousedown",this._mousedownHandler,qe),Ne.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:Ne,numCols:ot}=this;(C.rows||te)&&(this._firstRowOffset=Ne&&Ne.length&&Ne[0].length?ot-Ne[0].length:0),(C.cellAspectRatio||te||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/ot+"%"),(te||!this._cellWidth)&&(this._cellWidth=100/ot+"%")}ngOnDestroy(){const C=this._elementRef.nativeElement;C.removeEventListener("touchmove",this._touchmoveHandler,dt),C.removeEventListener("mouseenter",this._enterHandler,Rt),C.removeEventListener("focus",this._enterHandler,Rt),C.removeEventListener("mouseleave",this._leaveHandler,Rt),C.removeEventListener("blur",this._leaveHandler,Rt),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 Ne=C*this.numCols+te;return C&&(Ne-=this._firstRowOffset),Ne==this.activeCell}_focusActiveCell(C=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,lt.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 At(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 At(C,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(C,te,Ne){if(!this._isComparisonStart(C)||this._isRangeStart(C)||!this._isInRange(C))return!1;let ot=this.rows[te][Ne-1];if(!ot){const Zt=this.rows[te-1];ot=Zt&&Zt[Zt.length-1]}return ot&&!this._isRangeEnd(ot.compareValue)}_isComparisonBridgeEnd(C,te,Ne){if(!this._isComparisonEnd(C)||this._isRangeEnd(C)||!this._isInRange(C))return!1;let ot=this.rows[te][Ne+1];if(!ot){const Zt=this.rows[te+1];ot=Zt&&Zt[0]}return ot&&!this._isRangeStart(ot.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 At(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 Ne=te.getAttribute("data-mat-row"),ot=te.getAttribute("data-mat-col");if(Ne&&ot)return this.rows[parseInt(Ne)][parseInt(ot)]}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:ce,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,_e,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=Ot&&Je===C}function xn(Je,Ot,C,te){return te&&null!==Ot&&null!==C&&Ot!==C&&Je>=Ot&&Je<=C}function Sn(Je){const Ot=Je.changedTouches[0];return document.elementFromPoint(Ot.clientX,Ot.clientY)}class _n{constructor(Ot,C){this.start=Ot,this.end=C}}let Mn=(()=>{class Je{constructor(C,te){this.selection=C,this._adapter=te,this._selectionChanged=new Nt.x,this.selectionChanged=this._selectionChanged,this.selection=C}updateSelection(C,te){const Ne=this.selection;this.selection=C,this._selectionChanged.next({selection:C,source:te,oldValue:Ne})}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(h.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:Ne}=this.selection;null==te?te=C:null==Ne?Ne=C:(te=C,Ne=null),super.updateSelection(new _n(te,Ne),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(h.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();function Vi(Je,Ot){return Je||new xi(Ot)}const Yi={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],h.DateAdapter],useFactory:Vi};function xt(Je,Ot){return Je||new fi(Ot)}const bt={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],h.DateAdapter],useFactory:xt},pt=new r.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let qt=(()=>{class Je{constructor(C){this._dateAdapter=C}selectionFinished(C,te){let{start:Ne,end:ot}=te;return null==Ne?Ne=C:null==ot&&C&&this._dateAdapter.compareDate(C,Ne)>=0?ot=C:(Ne=C,ot=null),new _n(Ne,ot)}createPreview(C,te){let Ne=null,ot=null;return te.start&&!te.end&&C&&(Ne=te.start,ot=C),new _n(Ne,ot)}createDrag(C,te,Ne){let ot=te.start,Zt=te.end;if(!ot||!Zt)return null;const Pn=this._dateAdapter,ji=0!==Pn.compareDate(ot,Zt),Pi=Pn.getYear(Ne)-Pn.getYear(C),Li=Pn.getMonth(Ne)-Pn.getMonth(C),Qi=Pn.getDate(Ne)-Pn.getDate(C);return ji&&Pn.sameDate(C,te.start)?(ot=Ne,Pn.compareDate(Ne,Zt)>0&&(Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi))):ji&&Pn.sameDate(C,te.end)?(Zt=Ne,Pn.compareDate(Ne,ot)<0&&(ot=Pn.addCalendarYears(ot,Pi),ot=Pn.addCalendarMonths(ot,Li),ot=Pn.addCalendarDays(ot,Qi))):(ot=Pn.addCalendarYears(ot,Pi),ot=Pn.addCalendarMonths(ot,Li),ot=Pn.addCalendarDays(ot,Qi),Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi)),new _n(ot,Zt)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275inject(h.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();const cn={provide:pt,deps:[[new r.Optional,new r.SkipSelf,pt],h.DateAdapter],useFactory:function nn(Je,Ot){return Je||new qt(Ot)}};let Nn=(()=>{class Je{get activeDate(){return this._activeDate}set activeDate(C){const te=this._activeDate,Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne,ot,Zt){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Ne,this._dir=ot,this._rangeStrategy=Zt,this._rerenderSubscription=_t.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,Ne=this._getDateFromDayOfMonth(te);let ot,Zt;this._selected instanceof _n?(ot=this._getDateInCurrentMonth(this._selected.start),Zt=this._getDateInCurrentMonth(this._selected.end)):ot=Zt=this._getDateInCurrentMonth(this._selected),(ot!==te||Zt!==te)&&this.selectedChange.emit(Ne),this._userSelection.emit({value:Ne,event:C.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case Lt.Ku:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case Lt.VM:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case Lt.K5:case Lt.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&C.preventDefault());case Lt.hY:return void(null!=this._previewEnd&&!(0,Lt.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===Lt.L_||C.keyCode===Lt.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 Ne=te?te.rawValue:null,ot=this._rangeStrategy.createPreview(Ne,this.selected,C);if(this._previewStart=this._getCellCompareValue(ot.start),this._previewEnd=this._getCellCompareValue(ot.end),this.activeDrag&&Ne){const Zt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Ne,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 ot=this._dateAdapter.getDayOfWeekNames("long").map((Zt,Pn)=>({long:Zt,narrow:te[Pn]}));this._weekdays=ot.slice(C).concat(ot.slice(0,C))}_createWeekCells(){const C=this._dateAdapter.getNumDaysInMonth(this.activeDate),te=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Ne=0,ot=this._firstWeekOffset;Ne=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),Ne=this._dateAdapter.getMonth(C),ot=this._dateAdapter.getDate(C);return new Date(te,Ne,ot).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(h.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(Le.Is,8),r.\u0275\u0275directiveInject(pt,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-month-view"]],viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(nt,5),2&C){let Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._matCalendarBody=Ne.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,ut,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(ot){return te._dateSelected(ot)})("activeDateChange",function(ot){return te._updateActiveDate(ot)})("previewChange",function(ot){return te._previewChanged(ot)})("dragStarted",function(ot){return te.dragStarted.emit(ot)})("dragEnded",function(ot){return te._dragEnded(ot)})("keyup",function(ot){return te._handleCalendarBodyKeyup(ot)})("keydown",function(ot){return te._handleCalendarBodyKeydown(ot)}),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,nt],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 Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne){this._changeDetectorRef=C,this._dateAdapter=te,this._dir=Ne,this._rerenderSubscription=_t.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 Ne=0,ot=[];Nethis._createCellForYear(Zt))),ot=[]);this._changeDetectorRef.markForCheck()}_yearSelected(C){const te=C.value,Ne=this._dateAdapter.createDate(te,0,1),ot=this._getDateFromYear(te);this.yearSelected.emit(Ne),this.selectedChange.emit(ot)}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromYear(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Xn);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xn);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,wn-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case Lt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*-wn:-wn);break;case Lt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*wn:wn);break;case Lt.K5:case Lt.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===Lt.L_||C.keyCode===Lt.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),Ne=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(C,te,1));return this._dateAdapter.createDate(C,te,Math.min(this._dateAdapter.getDate(this.activeDate),Ne))}_createCellForYear(C){const te=this._dateAdapter.createDate(C,0,1),Ne=this._dateAdapter.getYearName(te),ot=this.dateClass?this.dateClass(te,"multi-year"):void 0;return new Q(C,Ne,Ne,this._shouldEnableYear(C),ot)}_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 Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne,ot){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Ne,this._dir=ot,this._rerenderSubscription=_t.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,Ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,1);this.monthSelected.emit(Ne);const ot=this._getDateFromMonth(te);this.selectedChange.emit(ot)}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromMonth(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case Lt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?-10:-1);break;case Lt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10:1);break;case Lt.K5:case Lt.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===Lt.L_||C.keyCode===Lt.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(Ne=>this._createCellForMonth(Ne,C[Ne]))),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),Ne=this._dateAdapter.getNumDaysInMonth(te);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,Math.min(this._dateAdapter.getDate(this.activeDate),Ne))}_createCellForMonth(C,te){const Ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,1),ot=this._dateAdapter.format(Ne,this._dateFormats.display.monthYearA11yLabel),Zt=this.dateClass?this.dateClass(Ne,"year"):void 0;return new Q(C,te.toLocaleUpperCase(),ot,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 ot=this._dateAdapter.createDate(te,C,1);this._dateAdapter.getMonth(ot)==C;ot=this._dateAdapter.addCalendarDays(ot,1))if(this.dateFilter(ot))return!0;return!1}_isYearAndMonthAfterMaxDate(C,te){if(this.maxDate){const Ne=this._dateAdapter.getYear(this.maxDate),ot=this._dateAdapter.getMonth(this.maxDate);return C>Ne||C===Ne&&te>ot}return!1}_isYearAndMonthBeforeMinDate(C,te){if(this.minDate){const Ne=this._dateAdapter.getYear(this.minDate),ot=this._dateAdapter.getMonth(this.minDate);return C{class Je{constructor(C,te,Ne,ot,Zt){this._intl=C,this.calendar=te,this._dateAdapter=Ne,this._dateFormats=ot,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),Ne=te+wn-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(te,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Ne,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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Pe,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,Ne,ot){this._dateAdapter=te,this._dateFormats=Ne,this._changeDetectorRef=ot,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 Nt.x,this._intlChanges=C.changes.subscribe(()=>{ot.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,Ne=C.maxDate&&!this._dateAdapter.sameDate(C.maxDate.previousValue,C.maxDate.currentValue)?C.maxDate:void 0,ot=te||Ne||C.dateFilter;if(ot&&!ot.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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.monthView=Ne.first),r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.yearView=Ne.first),r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.multiYearView=Ne.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,mt,0,0,"ng-template",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275template(2,Pt,1,11,"mat-month-view",2),r.\u0275\u0275template(3,Ft,1,6,"mat-year-view",3),r.\u0275\u0275template(4,Gt,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},Mt=(0,h.mixinColor)(class{constructor(Je){this._elementRef=Je}});let jt=(()=>{class Je extends Mt{constructor(C,te,Ne,ot,Zt,Pn){super(C),this._changeDetectorRef=te,this._globalModel=Ne,this._dateAdapter=ot,this._rangeSelectionStrategy=Zt,this._subscriptions=new _t.w0,this._animationDone=new Nt.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,Ne=C.value,ot=te instanceof _n;if(ot&&this._rangeSelectionStrategy){const Zt=this._rangeSelectionStrategy.selectionFinished(Ne,te,C.event);this._model.updateSelection(Zt,this)}else Ne&&(ot||!this._dateAdapter.sameDate(Ne,te))&&this._model.add(Ne);(!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(h.DateAdapter),r.\u0275\u0275directiveInject(pt,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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._calendar=Ne.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(C,te){1&C&&r.\u0275\u0275syntheticHostListener("@transformPanel.start",function(ot){return te._handleAnimationEvent(ot)})("@transformPanel.done",function(ot){return te._handleAnimationEvent(ot)}),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(ot){return te.datepicker._selectYear(ot)})("monthSelected",function(ot){return te.datepicker._selectMonth(ot)})("viewChanged",function(ot){return te.datepicker._viewChanged(ot)})("_userSelection",function(ot){return te._handleUserSelection(ot)})("_userDragDrop",function(ot){return te._handleUserDragDrop(ot)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(2,Oe,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 Ne;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!==(Ne=te._dialogLabelId)&&void 0!==Ne?Ne: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,Ne,ot,Zt,Pn,ji){this._overlay=C,this._ngZone=te,this._viewContainerRef=Ne,this._dateAdapter=Zt,this._dir=Pn,this._model=ji,this._inputStateChanges=_t.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 Nt.x,this._scrollStrategy=ot}ngOnChanges(C){const te=C.xPosition||C.yPosition;if(te&&!te.firstChange&&this._overlayRef){const Ne=this._overlayRef.getConfig().positionStrategy;Ne instanceof c._G&&(this._setConnectedPositions(Ne),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,f.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:Ne,location:ot}=this._componentRef;Ne._startExitAnimation(),Ne._animationDone.pipe((0,lt.q)(1)).subscribe(()=>{const Zt=this._document.activeElement;C&&(!Zt||Zt===this._document.activeElement||ot.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),Ne=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(Ne).subscribe(ot=>{ot&&ot.preventDefault(),this.close()}),Ne.keydownEvents().subscribe(ot=>{const Zt=ot.keyCode;(Zt===Lt.LH||Zt===Lt.JH||Zt===Lt.oh||Zt===Lt.SV||Zt===Lt.Ku||Zt===Lt.VM)&&ot.preventDefault()}),this._componentRef=Ne.attach(te),this._forwardContentValues(this._componentRef.instance),C||this._ngZone.onStable.pipe((0,lt.q)(1)).subscribe(()=>Ne.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",Ne="start"===te?"end":"start",ot="above"===this.yPosition?"bottom":"top",Zt="top"===ot?"bottom":"top";return C.withPositions([{originX:te,originY:Zt,overlayX:te,overlayY:ot},{originX:te,originY:ot,overlayX:te,overlayY:Zt},{originX:Ne,originY:Zt,overlayX:Ne,overlayY:ot},{originX:Ne,originY:ot,overlayX:Ne,overlayY:Zt}])}_getCloseStream(C){const te=["ctrlKey","shiftKey","metaKey"];return(0,Bt.T)(C.backdropClick(),C.detachments(),C.keydownEvents().pipe((0,at.h)(Ne=>Ne.keyCode===Lt.hY&&!(0,Lt.Vb)(Ne)||this.datepickerInput&&(0,Lt.Vb)(Ne,"altKey")&&Ne.keyCode===Lt.LH&&te.every(ot=>!(0,Lt.Vb)(Ne,ot)))))}}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(h.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 Ot;return function(te){return(Ot||(Ot=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(Ot,C){this.target=Ot,this.targetElement=C,this.value=this.target.value}}let se=(()=>{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),Ne=this._elementRef.nativeElement;this._disabled!==te&&(this._disabled=te,this.stateChanges.next(void 0)),te&&this._isInitialized&&Ne.blur&&Ne.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 Ne=this._getValueFromModel(te.selection);this._lastValueValid=this._isValidValue(Ne),this._cvaOnChange(Ne),this._onTouched(),this._formatValue(Ne),this.dateInput.emit(new me(this,this._elementRef.nativeElement)),this.dateChange.emit(new me(this,this._elementRef.nativeElement))}})}constructor(C,te,Ne){this._elementRef=C,this._dateAdapter=te,this._dateFormats=Ne,this.dateChange=new r.EventEmitter,this.dateInput=new r.EventEmitter,this.stateChanges=new Nt.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=_t.w0.EMPTY,this._localeSubscription=_t.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value));return!Zt||this._matchesFilter(Zt)?null:{matDatepickerFilter:!0}},this._minValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value)),Pn=this._getMinDate();return!Pn||!Zt||this._dateAdapter.compareDate(Pn,Zt)<=0?null:{matDatepickerMin:{min:Pn,actual:Zt}}},this._maxValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.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,Lt.Vb)(C,"altKey")&&C.keyCode===Lt.JH&&["ctrlKey","shiftKey","metaKey"].every(ot=>!(0,Lt.Vb)(C,ot))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),C.preventDefault())}_onInput(C){const te=this._lastValueValid;let Ne=this._dateAdapter.parse(C,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Ne),Ne=this._dateAdapter.getValidDateOrNull(Ne);const ot=!this._dateAdapter.sameDate(Ne,this.value);!Ne||ot?this._cvaOnChange(Ne):(C&&!this.value&&this._cvaOnChange(Ne),te!==this._lastValueValid&&this._validatorOnChange()),ot&&(this._assignValue(Ne),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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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,Ot){const C=Object.keys(Je);for(let te of C){const{previousValue:Ne,currentValue:ot}=Je[te];if(!Ot.isDateInstance(Ne)||!Ot.isDateInstance(ot))return!0;if(!Ot.sameDate(Ne,ot))return!0}return!1}const kt={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 se{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,Ne,ot){super(C,te,Ne),this._formField=ot,this._closedSubscription=_t.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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("blur",function(){return te._onBlur()})("keydown",function(ot){return te._onKeydown(ot)}),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([kt,Wt,{provide:K.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,Ne){this._intl=C,this._changeDetectorRef=te,this._stateChanges=_t.w0.EMPTY;const ot=Number(Ne);this.tabIndex=ot||0===ot?ot: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)(),Ne=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,Ne).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,Ne){if(1&C&&r.\u0275\u0275contentQuery(Ne,gn,5),2&C){let ot;r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._customIcon=ot.first)}},viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(Ke,5),2&C){let Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._button=Ne.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("click",function(ot){return te._open(ot)}),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:ct,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(ge),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275template(2,he,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,Ot){if(jn(Je)&&Ot){const te=(Je.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((Ne,ot)=>{const Zt=document.getElementById(ot);return Zt&&Ne.push(Zt),Ne},[]);if(te.length)return te.map(Ne=>Ti(Ne,!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(Ne=>Ti(Ne,!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,h.mixinErrorState)((()=>{class Je extends se{constructor(C,te,Ne,ot,Zt,Pn,ji,Pi){super(te,ji,Pi),this._rangeInput=C,this._elementRef=te,this._defaultErrorStateMatcher=Ne,this._injector=ot,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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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,Ne,ot,Zt,Pn,ji,Pi){super(C,te,Ne,ot,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,Ne=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;(C.keyCode===Lt.SV&&ot||C.keyCode===Lt.oh&&!ot)&&Ne.selectionStart===Ne.value.length&&Ne.selectionEnd===Ne.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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("keydown",function(ot){return te._onKeydown(ot)})("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,Ne,ot,Zt,Pn,ji,Pi){super(C,te,Ne,ot,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,Ne=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;if(C.keyCode!==Lt.ZH||Ne.value)if((C.keyCode===Lt.oh&&ot||C.keyCode===Lt.SV&&!ot)&&0===Ne.selectionStart&&0===Ne.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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("keydown",function(ot){return te._onKeydown(ot)})("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,Ne=this._endInput,ot=te&&te._matchesFilter(te.value),Zt=Ne&&Ne._matchesFilter(te.value);this._dateFilter=C,te&&te._matchesFilter(te.value)!==ot&&te._validatorOnChange(),Ne&&Ne._matchesFilter(Ne.value)!==Zt&&Ne._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,Ne,ot,Zt){this._changeDetectorRef=C,this._elementRef=te,this._dateAdapter=ot,this._formField=Zt,this._closedSubscription=_t.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 Nt.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=Ne}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(h.DateAdapter,8),r.\u0275\u0275directiveInject(ne.G_,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-input"]],contentQueries:function(C,te,Ne){if(1&C&&(r.\u0275\u0275contentQuery(Ne,Cn,5),r.\u0275\u0275contentQuery(Ne,tn,5)),2&C){let ot;r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._startInput=ot.first),r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._endInput=ot.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(Me),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275listener("cdkFocusChange",function(ot){return te._updateFocus(ot)}),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 Ot;return function(te){return(Ot||(Ot=r.\u0275\u0275getInheritedFactory(Je)))(te||Je)}}(),Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[r.\u0275\u0275ProvidersFeature([bt,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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._template=Ne.first)}},ngContentSelectors:Pe,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,h.MatCommonModule,Ct.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 f{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 f.\u0275fac=function(u){return new(u||f)},f.\u0275cmp=n.\u0275\u0275defineComponent({type:f,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}),f})(),r=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=n.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=n.\u0275\u0275defineInjector({imports:[d.MatCommonModule,d.MatCommonModule]}),f})()},1043:(Ie,B,a)=>{"use strict";a.d(B,{Bi:()=>Bt,Eo:()=>Nt,G_:()=>Lt,Lv:()=>Tt,Px:()=>Ee,TN:()=>Ct,UO:()=>_t,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"),Ct={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 Nt=(()=>{class K{}return K.\u0275fac=function(Te){return new(Te||K)},K.\u0275dir=n.\u0275\u0275defineDirective({type:K}),K})();function _t(){return Error("Placeholder attribute and child element were both specified.")}function Bt(K){return Error(`A hint was already declared for 'align="${K}"'.`)}function Tt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const Lt=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:()=>ve,MatIconModule:()=>He,MatIconRegistry:()=>Ce,getMatIconFailedToSanitizeLiteralError:()=>A,getMatIconFailedToSanitizeUrlError:()=>ie,getMatIconNameNotFoundError:()=>$,getMatIconNoHttpProviderError:()=>ee});var n=a(5879),c=a(3680),d=a(2495),g=a(6814),r=a(2096),f=a(8504),h=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,Ge,tt){this.url=Qe,this.svgText=Ge,this.options=tt}}let Ce=(()=>{class Ze{constructor(Ge,tt,Ct,Nt){this._httpClient=Ge,this._sanitizer=tt,this._errorHandler=Nt,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=Ct}addSvgIcon(Ge,tt,Ct){return this.addSvgIconInNamespace("",Ge,tt,Ct)}addSvgIconLiteral(Ge,tt,Ct){return this.addSvgIconLiteralInNamespace("",Ge,tt,Ct)}addSvgIconInNamespace(Ge,tt,Ct,Nt){return this._addSvgIconConfig(Ge,tt,new U(Ct,null,Nt))}addSvgIconResolver(Ge){return this._resolvers.push(Ge),this}addSvgIconLiteralInNamespace(Ge,tt,Ct,Nt){const _t=this._sanitizer.sanitize(n.SecurityContext.HTML,Ct);if(!_t)throw A(Ct);const Bt=X(_t);return this._addSvgIconConfig(Ge,tt,new U("",Bt,Nt))}addSvgIconSet(Ge,tt){return this.addSvgIconSetInNamespace("",Ge,tt)}addSvgIconSetLiteral(Ge,tt){return this.addSvgIconSetLiteralInNamespace("",Ge,tt)}addSvgIconSetInNamespace(Ge,tt,Ct){return this._addSvgIconSetConfig(Ge,new U(tt,null,Ct))}addSvgIconSetLiteralInNamespace(Ge,tt,Ct){const Nt=this._sanitizer.sanitize(n.SecurityContext.HTML,tt);if(!Nt)throw A(tt);const _t=X(Nt);return this._addSvgIconSetConfig(Ge,new U("",_t,Ct))}registerFontClassAlias(Ge,tt=Ge){return this._fontCssClassesByAlias.set(Ge,tt),this}classNameForFontAlias(Ge){return this._fontCssClassesByAlias.get(Ge)||Ge}setDefaultFontSetClass(...Ge){return this._defaultFontSetClass=Ge,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ge){const tt=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Ge);if(!tt)throw ie(Ge);const Ct=this._cachedIconsByUrl.get(tt);return Ct?(0,r.of)(de(Ct)):this._loadSvgIconFromConfig(new U(Ge,null)).pipe((0,v.b)(Nt=>this._cachedIconsByUrl.set(tt,Nt)),(0,b.U)(Nt=>de(Nt)))}getNamedSvgIcon(Ge,tt=""){const Ct=H(tt,Ge);let Nt=this._svgIconConfigs.get(Ct);if(Nt)return this._getSvgFromConfig(Nt);if(Nt=this._getIconConfigFromResolvers(tt,Ge),Nt)return this._svgIconConfigs.set(Ct,Nt),this._getSvgFromConfig(Nt);const _t=this._iconSetConfigs.get(tt);return _t?this._getSvgFromIconSetConfigs(Ge,_t):(0,f._)($(Ct))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ge){return Ge.svgText?(0,r.of)(de(this._svgElementFromConfig(Ge))):this._loadSvgIconFromConfig(Ge).pipe((0,b.U)(tt=>de(tt)))}_getSvgFromIconSetConfigs(Ge,tt){const Ct=this._extractIconWithNameFromAnySet(Ge,tt);if(Ct)return(0,r.of)(Ct);const Nt=tt.filter(_t=>!_t.svgText).map(_t=>this._loadSvgIconSetFromConfig(_t).pipe((0,p.K)(Bt=>{const Lt=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,_t.url)} failed: ${Bt.message}`;return this._errorHandler.handleError(new Error(Lt)),(0,r.of)(null)})));return(0,h.D)(Nt).pipe((0,b.U)(()=>{const _t=this._extractIconWithNameFromAnySet(Ge,tt);if(!_t)throw $(Ge);return _t}))}_extractIconWithNameFromAnySet(Ge,tt){for(let Ct=tt.length-1;Ct>=0;Ct--){const Nt=tt[Ct];if(Nt.svgText&&Nt.svgText.toString().indexOf(Ge)>-1){const _t=this._svgElementFromConfig(Nt),Bt=this._extractSvgIconFromSet(_t,Ge,Nt.options);if(Bt)return Bt}}return null}_loadSvgIconFromConfig(Ge){return this._fetchIcon(Ge).pipe((0,v.b)(tt=>Ge.svgText=tt),(0,b.U)(()=>this._svgElementFromConfig(Ge)))}_loadSvgIconSetFromConfig(Ge){return Ge.svgText?(0,r.of)(null):this._fetchIcon(Ge).pipe((0,v.b)(tt=>Ge.svgText=tt))}_extractSvgIconFromSet(Ge,tt,Ct){const Nt=Ge.querySelector(`[id="${tt}"]`);if(!Nt)return null;const _t=Nt.cloneNode(!0);if(_t.removeAttribute("id"),"svg"===_t.nodeName.toLowerCase())return this._setSvgAttributes(_t,Ct);if("symbol"===_t.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(_t),Ct);const Bt=this._svgElementFromString(X(""));return Bt.appendChild(_t),this._setSvgAttributes(Bt,Ct)}_svgElementFromString(Ge){const tt=this._document.createElement("DIV");tt.innerHTML=Ge;const Ct=tt.querySelector("svg");if(!Ct)throw Error(" tag not found");return Ct}_toSvgElement(Ge){const tt=this._svgElementFromString(X("")),Ct=Ge.attributes;for(let Nt=0;NtX(Lt)),(0,_.x)(()=>this._inProgressUrlFetches.delete(_t)),(0,l.B)());return this._inProgressUrlFetches.set(_t,Tt),Tt}_addSvgIconConfig(Ge,tt,Ct){return this._svgIconConfigs.set(H(Ge,tt),Ct),this}_addSvgIconSetConfig(Ge,tt){const Ct=this._iconSetConfigs.get(Ge);return Ct?Ct.push(tt):this._iconSetConfigs.set(Ge,[tt]),this}_svgElementFromConfig(Ge){if(!Ge.svgElement){const tt=this._svgElementFromString(Ge.svgText);this._setSvgAttributes(tt,Ge.options),Ge.svgElement=tt}return Ge.svgElement}_getIconConfigFromResolvers(Ge,tt){for(let Ct=0;CtQe?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(", "),ae=/^url\(['"]?#(.*?)['"]?\)$/;let ve=(()=>{class Ze extends pe{get inline(){return this._inline}set inline(Ge){this._inline=(0,d.Ig)(Ge)}get svgIcon(){return this._svgIcon}set svgIcon(Ge){Ge!==this._svgIcon&&(Ge?this._updateSvgIcon(Ge):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ge)}get fontSet(){return this._fontSet}set fontSet(Ge){const tt=this._cleanupFontValue(Ge);tt!==this._fontSet&&(this._fontSet=tt,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ge){const tt=this._cleanupFontValue(Ge);tt!==this._fontIcon&&(this._fontIcon=tt,this._updateFontIconClasses())}constructor(Ge,tt,Ct,Nt,_t,Bt){super(Ge),this._iconRegistry=tt,this._location=Nt,this._errorHandler=_t,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)),Ct||Ge.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Ge){if(!Ge)return["",""];const tt=Ge.split(":");switch(tt.length){case 1:return["",tt[0]];case 2:return tt;default:throw Error(`Invalid icon name: "${Ge}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ge=this._elementsWithExternalReferences;if(Ge&&Ge.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(Ge){this._clearSvgElement();const tt=this._location.getPathname();this._previousPath=tt,this._cacheChildrenWithExternalReferences(Ge),this._prependPathToReferences(tt),this._elementRef.nativeElement.appendChild(Ge)}_clearSvgElement(){const Ge=this._elementRef.nativeElement;let tt=Ge.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();tt--;){const Ct=Ge.childNodes[tt];(1!==Ct.nodeType||"svg"===Ct.nodeName.toLowerCase())&&Ct.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ge=this._elementRef.nativeElement,tt=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ct=>Ct.length>0);this._previousFontSetClass.forEach(Ct=>Ge.classList.remove(Ct)),tt.forEach(Ct=>Ge.classList.add(Ct)),this._previousFontSetClass=tt,this.fontIcon!==this._previousFontIconClass&&!tt.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ge.classList.remove(this._previousFontIconClass),this.fontIcon&&Ge.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ge){return"string"==typeof Ge?Ge.trim().split(" ")[0]:Ge}_prependPathToReferences(Ge){const tt=this._elementsWithExternalReferences;tt&&tt.forEach((Ct,Nt)=>{Ct.forEach(_t=>{Nt.setAttribute(_t.name,`url('${Ge}#${_t.value}')`)})})}_cacheChildrenWithExternalReferences(Ge){const tt=Ge.querySelectorAll(re),Ct=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Nt=0;Nt{const Bt=tt[Nt],Tt=Bt.getAttribute(_t),Lt=Tt?Tt.match(ae):null;if(Lt){let Le=Ct.get(Bt);Le||(Le=[],Ct.set(Bt,Le)),Le.push({name:_t,value:Lt[1]})}})}_updateSvgIcon(Ge){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ge){const[tt,Ct]=this._splitIconName(Ge);tt&&(this._svgNamespace=tt),Ct&&(this._svgName=Ct),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ct,tt).pipe((0,y.q)(1)).subscribe(Nt=>this._setSvgElement(Nt),Nt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${tt}:${Ct}! ${Nt.message}`))})}}}return Ze.\u0275fac=function(Ge){return new(Ge||Ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Ce),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(Ge,tt){2&Ge&&(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(Ge,tt){1&Ge&&(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(Ge){return new(Ge||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),f=a(3680),h=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,f.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,Ce,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,de=Ae.nodeName.toLowerCase();this._inputValueAccessor=A||Ae,this._previousNativeValue=this.value,this.id=this.id,I.IOS&&Ce.runOutsideAngular(()=>{E.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===de,this._isTextarea="textarea"===de,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(f.ErrorStateMatcher),g.\u0275\u0275directiveInject(b,10),g.\u0275\u0275directiveInject(d.Lq),g.\u0275\u0275directiveInject(g.NgZone),g.\u0275\u0275directiveInject(h.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:h.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:()=>Ct,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Nt,MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR:()=>ze,MatLegacyAutocomplete:()=>lt,MatLegacyAutocompleteModule:()=>oe,MatLegacyAutocompleteOrigin:()=>N,MatLegacyAutocompleteSelectedEvent:()=>Ee,MatLegacyAutocompleteTrigger:()=>at,getMatLegacyAutocompleteMissingPanelError:()=>Ge});var n=a(5879),c=a(3680),d=a(4678),g=a(6814),r=a(6672),f=a(9594),h=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),Ce=a(9397),Re=a(7547),Ae=a(9388);const de=["panel"];let we=0;class Ee{constructor(ne,K){this.source=ne,this.option=K}}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 ae=(()=>{class Y extends Be{get isOpen(){return this._isOpen&&this.showPanel}_setColor(K){this._color=K,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(K){this._autoActiveFirstOption=(0,u.Ig)(K)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(K){this._autoSelectActiveOption=(0,u.Ig)(K)}set classList(K){this._classList=K&&K.length?(0,u.du)(K).reduce((ce,Te)=>(ce[Te]=!0,ce),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(K,ce,Te,et){super(),this._changeDetectorRef=K,this._elementRef=ce,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=et?.SAFARI||!1,this._autoActiveFirstOption=!!Te.autoActiveFirstOption,this._autoSelectActiveOption=!!Te.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new h.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(K=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[K]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(K){this.panel&&(this.panel.nativeElement.scrollTop=K)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(K){const ce=new Ee(this,K);this.optionSelected.emit(ce)}_getPanelAriaLabelledby(K){return this.ariaLabel?null:this.ariaLabelledby?(K?K+" ":"")+this.ariaLabelledby:K}_setVisibilityClasses(K){K[this._visibleClass]=this.showPanel,K[this._hiddenClass]=!this.showPanel}_setThemeClasses(K){K["mat-primary"]="primary"===this._color,K["mat-warn"]="warn"===this._color,K["mat-accent"]="accent"===this._color}_skipPredicate(K){return K.disabled}}return Y.\u0275fac=function(K){return new(K||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(K,ce){if(1&K&&(n.\u0275\u0275viewQuery(n.TemplateRef,7),n.\u0275\u0275viewQuery(de,5)),2&K){let Te;n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ce.template=Te.first),n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ce.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(K){this.elementRef=K}}return Y.\u0275fac=function(K){return new(K||Y)(n.\u0275\u0275directiveInject(n.ElementRef))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y}),Y})();function Ge(){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 Ct(Y){return()=>Y.scrollStrategies.reposition()}const Nt={provide:tt,deps:[f.aV],useFactory:Ct};let _t=(()=>{class Y{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(K){this._autocompleteDisabled=(0,u.Ig)(K)}constructor(K,ce,Te,et,Dt,_e,ut,Pe,mt,Pt,Ft){this._element=K,this._overlay=ce,this._viewContainerRef=Te,this._zone=et,this._changeDetectorRef=Dt,this._dir=ut,this._formField=Pe,this._document=mt,this._viewportRuler=Pt,this._defaults=Ft,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 Gt=this.autocomplete?this.autocomplete.options:null;return Gt?Gt.changes.pipe((0,$.O)(Gt),(0,ee.w)(()=>(0,y.T)(...Gt.map(Oe=>Oe.onSelectionChange)))):this._zone.onStable.pipe((0,ie.q)(1),(0,ee.w)(()=>this.optionSelections))}),this._handlePanelKeydown=Gt=>{(Gt.keyCode===S.hY&&!(0,S.Vb)(Gt)||Gt.keyCode===S.LH&&(0,S.Vb)(Gt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Gt.stopPropagation(),Gt.preventDefault())},this._trackedModal=null,this._scrollStrategy=_e}ngAfterViewInit(){const K=this._getWindow();typeof K<"u"&&this._zone.runOutsideAngular(()=>K.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(K){K.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const K=this._getWindow();typeof K<"u"&&K.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)(K=>K instanceof c.MatOptionSelectionChange?K: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)(K=>{const ce=(0,v.sA)(K),Te=this._formField?this._formField._elementRef.nativeElement:null,et=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&ce!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Te||!Te.contains(ce))&&(!et||!et.contains(ce))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(ce)}))}writeValue(K){Promise.resolve(null).then(()=>this._assignOptionValue(K))}registerOnChange(K){this._onChange=K}registerOnTouched(K){this._onTouched=K}setDisabledState(K){this._element.nativeElement.disabled=K}_handleKeydown(K){const ce=K.keyCode,Te=(0,S.Vb)(K);if(ce===S.hY&&!Te&&K.preventDefault(),this.activeOption&&ce===S.K5&&this.panelOpen&&!Te)this.activeOption._selectViaInteraction(),this._resetActiveItem(),K.preventDefault();else if(this.autocomplete){const et=this.autocomplete._keyManager.activeItem,Dt=ce===S.LH||ce===S.JH;ce===S.Mf||Dt&&!Te&&this.panelOpen?this.autocomplete._keyManager.onKeydown(K):Dt&&this._canOpen()&&this.openPanel(),(Dt||this.autocomplete._keyManager.activeItem!==et)&&(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(K){let ce=K.target,Te=ce.value;"number"===ce.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===K.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(K=!1){this._formField&&"auto"===this._formField.floatLabel&&(K?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const K=this._zone.onStable.pipe((0,ie.q)(1)),ce=this.autocomplete.options.changes.pipe((0,Ce.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Re.g)(0));return(0,y.T)(K,ce).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(K){const ce=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(K):K;this._updateNativeInputValue(ce??"")}_updateNativeInputValue(K){this._formField?this._formField._control.value=K:this._element.nativeElement.value=K,this._previousValue=K}_setValueAndClose(K){const ce=K?K.source:this._pendingAutoselectedOption;ce&&(this._clearPreviousSelectedOption(ce),this._assignOptionValue(ce.value),this._onChange(ce.value),this.autocomplete._emitSelectEvent(ce),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(K,ce){this.autocomplete&&this.autocomplete.options&&this.autocomplete.options.forEach(Te=>{Te!==K&&Te.selected&&Te.deselect(ce)})}_attachOverlay(){let K=this._overlayRef;K?(this._positionStrategy.setOrigin(this._getConnectedElement()),K.updateSize({width:this._getPanelWidth()})):(this._portal=new E.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),K=this._overlay.create(this._getOverlayConfig()),this._overlayRef=K,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&K&&K.updateSize({width:this._getPanelWidth()})})),K&&!K.hasAttached()&&(K.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const ce=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&ce!==this.panelOpen&&this.autocomplete.opened.emit()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const K=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=K.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=K.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new f.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const K=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(K),this._positionStrategy=K,K}_setStrategyPositions(K){const ce=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Te=this._aboveClass,et=[{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?et:"below"===this.position?ce:[...ce,...et],K.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 K=this.autocomplete;if(K.autoActiveFirstOption){let ce=-1;for(let Te=0;Te .cdk-overlay-container [aria-modal="true"]');if(!K)return;const ce=this.autocomplete.id;this._trackedModal&&(0,h.iD)(this._trackedModal,"aria-owns",ce),(0,h.Zf)(K,"aria-owns",ce),this._trackedModal=K}_clearFromModal(){this._trackedModal&&((0,h.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return Y.\u0275fac=function(K){return new(K||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(f.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 Lt(Y,ne){if(1&Y&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()),2&Y){const K=ne.id,ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ce.id)("ngClass",ce._classList),n.\u0275\u0275attribute("aria-label",ce.ariaLabel||null)("aria-labelledby",ce._getPanelAriaLabelledby(K))}}const Le=["*"];let lt=(()=>{class Y extends ae{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Y.\u0275fac=function(){let ne;return function(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275cmp=n.\u0275\u0275defineComponent({type:Y,selectors:[["mat-autocomplete"]],contentQueries:function(K,ce,Te){if(1&K&&(n.\u0275\u0275contentQuery(Te,c.MAT_OPTGROUP,5),n.\u0275\u0275contentQuery(Te,d.MatLegacyOption,5)),2&K){let et;n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ce.optionGroups=et),n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ce.options=et)}},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(K,ce){1&K&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,Lt,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 _t{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Y.\u0275fac=function(){let ne;return function(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(K,ce){1&K&&n.\u0275\u0275listener("focusin",function(){return ce._handleFocus()})("blur",function(){return ce._onTouched()})("input",function(et){return ce._handleInput(et)})("keydown",function(et){return ce._handleKeydown(et)})("click",function(){return ce._handleClick()}),2&K&&n.\u0275\u0275attribute("autocomplete",ce.autocompleteAttribute)("role",ce.autocompleteDisabled?null:"combobox")("aria-autocomplete",ce.autocompleteDisabled?null:"list")("aria-activedescendant",ce.panelOpen&&ce.activeOption?ce.activeOption.id:null)("aria-expanded",ce.autocompleteDisabled?null:ce.panelOpen.toString())("aria-owns",ce.autocompleteDisabled||!ce.panelOpen||null==ce.autocomplete?null:ce.autocomplete.id)("aria-haspopup",ce.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(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Y})(),oe=(()=>{class Y{}return Y.\u0275fac=function(K){return new(K||Y)},Y.\u0275mod=n.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=n.\u0275\u0275defineInjector({providers:[Nt],imports:[f.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",""]],"*"],f=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],h=[[["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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(Ce,Re){2&Ce&&n.\u0275\u0275classProp("mat-card-actions-align-end","end"===Re.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),A})(),l=(()=>{class A{}return A.\u0275fac=function(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),A})(),X=(()=>{class A{constructor(Ce){this._animationMode=Ce}}return A.\u0275fac=function(Ce){return new(Ce||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(Ce,Re){2&Ce&&n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Re._animationMode)},exportAs:["matCard"],ngContentSelectors:g,decls:2,vars:0,template:function(Ce,Re){1&Ce&&(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(Ce){return new(Ce||A)},A.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:f,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(Ce,Re){1&Ce&&(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(Ce){return new(Ce||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(Ce,Re){1&Ce&&(n.\u0275\u0275projectionDef(h),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(Ce){return new(Ce||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:()=>Ce,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 f=["input"],h=["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(de){this._elementRef=de}}))));let D=(()=>{class de 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 de.\u0275fac=function(W){c.\u0275\u0275invalidFactory()},de.\u0275dir=c.\u0275\u0275defineDirective({type:de,viewQuery:function(W,pe){if(1&W&&(c.\u0275\u0275viewQuery(f,5),c.\u0275\u0275viewQuery(h,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]}),de})();const E={provide:d.NG_VALIDATORS,useExisting:(0,c.forwardRef)(()=>I),multi:!0};let I=(()=>{class de extends d.CheckboxRequiredValidator{}return de.\u0275fac=function(){let H;return function(pe){return(H||(H=c.\u0275\u0275getInheritedFactory(de)))(pe||de)}}(),de.\u0275dir=c.\u0275\u0275defineDirective({type:de,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[c.\u0275\u0275ProvidersFeature([E]),c.\u0275\u0275InheritDefinitionFeature]}),de})(),X=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=c.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=c.\u0275\u0275defineInjector({}),de})();var ee=a(7131);const ie=function(de){return{enterDuration:de}},A=["*"];class U{}const Ce={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>Re),multi:!0};let Re=(()=>{class de 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 de.\u0275fac=function(W){return new(W||de)(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))},de.\u0275cmp=c.\u0275\u0275defineComponent({type:de,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([Ce]),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}),de})(),Ae=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=c.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=c.\u0275\u0275defineInjector({imports:[g.MatRippleModule,g.MatCommonModule,ee.Q8,X,g.MatCommonModule,X]}),de})()},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 f(_,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 h(_,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,f,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1,2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(4,h,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:()=>Ge,MatLegacyFormFieldControl:()=>r.Eo,MatLegacyFormFieldModule:()=>Nt,MatLegacyHint:()=>Be,MatLegacyLabel:()=>G,MatLegacyPlaceholder:()=>re,MatLegacyPrefix:()=>tt,MatLegacySuffix:()=>Ct,_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),f=a(9388),h=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(_t,Bt){1&_t&&(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(_t,Bt){if(1&_t){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&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("cdkObserveContentDisabled","outline"!=Tt.appearance)}}function X(_t,Bt){if(1&_t&&(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&_t){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(Tt._control.placeholder)}}function $(_t,Bt){1&_t&&d.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function ee(_t,Bt){1&_t&&(d.\u0275\u0275elementStart(0,"span",23),d.\u0275\u0275text(1," *"),d.\u0275\u0275elementEnd())}function ie(_t,Bt){if(1&_t){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&_t){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(_t,Bt){1&_t&&(d.\u0275\u0275elementStart(0,"div",24),d.\u0275\u0275projection(1,4),d.\u0275\u0275elementEnd())}function U(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div",25),d.\u0275\u0275element(1,"span",26),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275classProp("mat-accent","accent"==Tt.color)("mat-warn","warn"==Tt.color)}}function Ce(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div"),d.\u0275\u0275projection(1,5),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState)}}function Re(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div",30),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("id",Tt._hintLabelId),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Tt.hintLabel)}}function Ae(_t,Bt){if(1&_t&&(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&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",Tt.hintLabel)}}const de=["*",[["","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 _t{constructor(Tt,Lt){this.id="mat-error-"+W++,Tt||Lt.nativeElement.setAttribute("aria-live","polite")}}return _t.\u0275fac=function(Tt){return new(Tt||_t)(d.\u0275\u0275injectAttribute("aria-live"),d.\u0275\u0275directiveInject(d.ElementRef))},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(Tt,Lt){2&Tt&&d.\u0275\u0275attribute("id",Lt.id)},inputs:{id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:r.ab,useExisting:_t}])]}),_t})(),we=0;const Ee=new d.InjectionToken("MatHint");let Be=(()=>{class _t{constructor(){this.align="start",this.id="mat-hint-"+we++}}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(Tt,Lt){2&Tt&&(d.\u0275\u0275attribute("id",Lt.id)("align",null),d.\u0275\u0275classProp("mat-form-field-hint-end","end"===Lt.align))},inputs:{align:"align",id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:Ee,useExisting:_t}])]}),_t})(),G=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-label"]]}),_t})(),re=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-placeholder"]]}),_t})(),ae=0;const Ze=(0,g.mixinColor)(class{constructor(_t){this._elementRef=_t}},"primary"),Qe=new d.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ge=(()=>{class _t extends Ze{get appearance(){return this._appearance}set appearance(Tt){const Lt=this._appearance;this._appearance=Tt||this._defaults?.appearance||"legacy","outline"===this._appearance&&Lt!==Tt&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Tt){this._hideRequiredMarker=(0,h.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,Lt,Le,lt,ze,at,N){super(Tt),this._changeDetectorRef=Lt,this._dir=Le,this._defaults=lt,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-"+ae++,this._labelId="mat-form-field-label-"+ae++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==N,this.appearance=lt?.appearance||"legacy",lt&&(this._hideRequiredMarker=!!lt.hideRequiredMarker,lt.color&&(this.color=this.defaultColor=lt.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 Lt=this._control?this._control.ngControl:null;return Lt&&Lt[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 Lt=this._hintChildren?this._hintChildren.find(lt=>"start"===lt.align):null,Le=this._hintChildren?this._hintChildren.find(lt=>"end"===lt.align):null;Lt?Tt.push(Lt.id):this._hintLabel&&Tt.push(this._hintLabelId),Le&&Tt.push(Le.id)}else this._errorChildren&&Tt.push(...this._errorChildren.map(Lt=>Lt.id));this._control.setDescribedByIds(Tt)}}_validateControlChild(){}updateOutlineGap(){const Tt=this._label?this._label.nativeElement:null,Lt=this._connectionContainerRef.nativeElement,Le=".mat-form-field-outline-start",lt=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!Tt||!Tt.children.length||!Tt.textContent.trim()){const Y=Lt.querySelectorAll(`${Le}, ${lt}`);for(let ne=0;ne0?.75*Te+10:0}for(let Y=0;Y{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["","matPrefix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Px,useExisting:_t}])]}),_t})(),Ct=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["","matSuffix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Ve,useExisting:_t}])]}),_t})(),Nt=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275mod=d.\u0275\u0275defineNgModule({type:_t}),_t.\u0275inj=d.\u0275\u0275defineInjector({imports:[c.CommonModule,g.MatCommonModule,n.Q8,g.MatCommonModule]}),_t})()},2400:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_INPUT_VALUE_ACCESSOR:()=>c.Jk,MatLegacyInput:()=>h,MatLegacyInputModule:()=>u,getMatLegacyInputUnsupportedTypeError:()=>c.b7});var n=a(5879),c=a(4516),d=a(1043),g=a(4187),r=a(6263),f=a(3680);let h=(()=>{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:[f.ErrorStateMatcher],imports:[r.Ky,g.MatLegacyFormFieldModule,f.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:()=>de,MAT_LEGACY_MENU_SCROLL_STRATEGY:()=>Nt,MatLegacyMenu:()=>K,MatLegacyMenuContent:()=>et,MatLegacyMenuItem:()=>ce,MatLegacyMenuModule:()=>Dt,MatLegacyMenuTrigger:()=>Te,fadeInLegacyItems:()=>ve,matLegacyMenuAnimations:()=>ae,transformLegacyMenu:()=>He});var n=a(5879),c=a(4300),d=a(2495),g=a(6028),r=a(8645),f=a(3019),h=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(_e,ut){1&_e&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const U=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Ce=["mat-icon, [matMenuItemIcon]","*"],de=new n.InjectionToken("MAT_MENU_PANEL"),H=(0,D.mixinDisableRipple)((0,D.mixinDisabled)(class{}));let W=(()=>{class _e extends H{constructor(Pe,mt,Pt,Ft,Gt){super(),this._elementRef=Pe,this._document=mt,this._focusMonitor=Pt,this._parentMenu=Ft,this._changeDetectorRef=Gt,this.role="menuitem",this._hovered=new r.x,this._focused=new r.x,this._highlighted=!1,this._triggersSubmenu=!1,Ft?.addItem?.(this)}focus(Pe,mt){this._focusMonitor&&Pe?this._focusMonitor.focusVia(this._getHostElement(),Pe,mt):this._getHostElement().focus(mt),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(Pe){this.disabled&&(Pe.preventDefault(),Pe.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Pe=this._elementRef.nativeElement.cloneNode(!0),mt=Pe.querySelectorAll("mat-icon, .material-icons");for(let Pt=0;Pt{class _e{constructor(Pe,mt,Pt,Ft,Gt,Oe,Ke){this._template=Pe,this._componentFactoryResolver=mt,this._appRef=Pt,this._injector=Ft,this._viewContainerRef=Gt,this._document=Oe,this._changeDetectorRef=Ke,this._attached=new r.x}attach(Pe={}){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 mt=this._template.elementRef.nativeElement;mt.parentNode.insertBefore(this._outlet.outletElement,mt),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,Pe),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(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))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e}),_e})();const ae={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)")])])},ve=ae.fadeInItems,He=ae.transformMenu;let Ze=0;const Qe=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function Ge(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let tt=(()=>{class _e{get xPosition(){return this._xPosition}set xPosition(Pe){this._xPosition=Pe,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Pe){this._yPosition=Pe,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Pe){this._overlapTrigger=(0,d.Ig)(Pe)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Pe){this._hasBackdrop=(0,d.Ig)(Pe)}set panelClass(Pe){const mt=this._previousPanelClass;mt&&mt.length&&mt.split(" ").forEach(Pt=>{this._classList[Pt]=!1}),this._previousPanelClass=Pe,Pe&&Pe.length&&(Pe.split(" ").forEach(Pt=>{this._classList[Pt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Pe){this.panelClass=Pe}constructor(Pe,mt,Pt,Ft){this._elementRef=Pe,this._ngZone=mt,this._changeDetectorRef=Ft,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=Pt.overlayPanelClass||"",this._xPosition=Pt.xPosition,this._yPosition=Pt.yPosition,this.backdropClass=Pt.backdropClass,this._overlapTrigger=Pt.overlapTrigger,this._hasBackdrop=Pt.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)(Pe=>(0,f.T)(...Pe.map(mt=>mt._focused)))).subscribe(Pe=>this._keyManager.updateActiveItem(Pe)),this._directDescendantItems.changes.subscribe(Pe=>{const mt=this._keyManager;if("enter"===this._panelAnimationState&&mt.activeItem?._hasFocus()){const Pt=Pe.toArray(),Ft=Math.max(0,Math.min(Pt.length-1,mt.activeItemIndex||0));Pt[Ft]&&!Pt[Ft].disabled?mt.setActiveItem(Ft):mt.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)(mt=>(0,f.T)(...mt.map(Pt=>Pt._hovered))))}addItem(Pe){}removeItem(Pe){}_handleKeydown(Pe){const mt=Pe.keyCode,Pt=this._keyManager;switch(mt){case g.hY:(0,g.Vb)(Pe)||(Pe.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(mt===g.LH||mt===g.JH)&&Pt.setFocusOrigin("keyboard"),void Pt.onKeydown(Pe)}Pe.stopPropagation()}focusFirstItem(Pe="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(()=>{let mt=null;if(this._directDescendantItems.length&&(mt=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!mt||!mt.contains(document.activeElement)){const Pt=this._keyManager;Pt.setFocusOrigin(Pe).setFirstItemActive(),!Pt.activeItem&&mt&&mt.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Pe){const mt=Math.min(this._baseElevation+Pe,24),Pt=`${this._elevationPrefix}${mt}`,Ft=Object.keys(this._classList).find(Gt=>Gt.startsWith(this._elevationPrefix));(!Ft||Ft===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Pt]=!0,this._previousElevation=Pt)}setPositionClasses(Pe=this.xPosition,mt=this.yPosition){const Pt=this._classList;Pt["mat-menu-before"]="before"===Pe,Pt["mat-menu-after"]="after"===Pe,Pt["mat-menu-above"]="above"===mt,Pt["mat-menu-below"]="below"===mt,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Pe){this._animationDone.next(Pe),this._isAnimating=!1}_onAnimationStart(Pe){this._isAnimating=!0,"enter"===Pe.toState&&0===this._keyManager.activeItemIndex&&(Pe.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,b.O)(this._allItems)).subscribe(Pe=>{this._directDescendantItems.reset(Pe.filter(mt=>mt._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,contentQueries:function(Pe,mt,Pt){if(1&Pe&&(n.\u0275\u0275contentQuery(Pt,Be,5),n.\u0275\u0275contentQuery(Pt,W,5),n.\u0275\u0275contentQuery(Pt,W,4)),2&Pe){let Ft;n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt.lazyContent=Ft.first),n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt._allItems=Ft),n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt.items=Ft)}},viewQuery:function(Pe,mt){if(1&Pe&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&Pe){let Pt;n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(mt.templateRef=Pt.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"}}),_e})();const Nt=new n.InjectionToken("mat-menu-scroll-strategy"),Bt={provide:Nt,deps:[$.aV],useFactory:function _t(_e){return()=>_e.scrollStrategies.reposition()}},Tt=(0,ee.i$)({passive:!0});let Le=(()=>{class _e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Pe){this.menu=Pe}get menu(){return this._menu}set menu(Pe){Pe!==this._menu&&(this._menu=Pe,this._menuCloseSubscription.unsubscribe(),Pe&&(this._menuCloseSubscription=Pe.close.subscribe(mt=>{this._destroyMenu(mt),("click"===mt||"tab"===mt)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(mt)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Pe,mt,Pt,Ft,Gt,Oe,Ke,he,ge){this._overlay=Pe,this._element=mt,this._viewContainerRef=Pt,this._menuItemInstance=Oe,this._dir=Ke,this._focusMonitor=he,this._ngZone=ge,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=h.w0.EMPTY,this._hoverSubscription=h.w0.EMPTY,this._menuCloseSubscription=h.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=ct=>{(0,c.yG)(ct)||(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=Ft,this._parentMaterialMenu=Gt instanceof tt?Gt:void 0,mt.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 Pe=this.menu;if(this._menuOpen||!Pe)return;const mt=this._createOverlay(Pe),Pt=mt.getConfig(),Ft=Pt.positionStrategy;this._setPosition(Pe,Ft),Pt.hasBackdrop=null==Pe.hasBackdrop?!this.triggersSubmenu():Pe.hasBackdrop,mt.attach(this._getPortal(Pe)),Pe.lazyContent&&Pe.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Pe),Pe instanceof tt&&(Pe._startAnimation(),Pe._directDescendantItems.changes.pipe((0,l.R)(Pe.close)).subscribe(()=>{Ft.withLockedPosition(!1).reapplyLastPosition(),Ft.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Pe,mt){this._focusMonitor&&Pe?this._focusMonitor.focusVia(this._element,Pe,mt):this._element.nativeElement.focus(mt)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Pe){if(!this._overlayRef||!this.menuOpen)return;const mt=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Pe||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,mt instanceof tt?(mt._resetAnimation(),mt.lazyContent?mt._animationDone.pipe((0,y.h)(Pt=>"void"===Pt.toState),(0,_.q)(1),(0,l.R)(mt.lazyContent._attached)).subscribe({next:()=>mt.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),mt?.lazyContent?.detach())}_initMenu(Pe){Pe.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Pe.direction=this.dir,this._setMenuElevation(Pe),Pe.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Pe){if(Pe.setElevation){let mt=0,Pt=Pe.parentMenu;for(;Pt;)mt++,Pt=Pt.parentMenu;Pe.setElevation(mt)}}_setIsMenuOpen(Pe){Pe!==this._menuOpen&&(this._menuOpen=Pe,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Pe),this._changeDetectorRef.markForCheck())}_createOverlay(Pe){if(!this._overlayRef){const mt=this._getOverlayConfig(Pe);this._subscribeToPositions(Pe,mt.positionStrategy),this._overlayRef=this._overlay.create(mt),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Pe){return new $.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Pe.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Pe.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Pe,mt){Pe.setPositionClasses&&mt.positionChanges.subscribe(Pt=>{const Ft="start"===Pt.connectionPair.overlayX?"after":"before",Gt="top"===Pt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Pe.setPositionClasses(Ft,Gt)):Pe.setPositionClasses(Ft,Gt)})}_setPosition(Pe,mt){let[Pt,Ft]="before"===Pe.xPosition?["end","start"]:["start","end"],[Gt,Oe]="above"===Pe.yPosition?["bottom","top"]:["top","bottom"],[Ke,he]=[Gt,Oe],[ge,ct]=[Pt,Ft],Me=0;if(this.triggersSubmenu()){if(ct=Pt="before"===Pe.xPosition?"start":"end",Ft=ge="end"===Pt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ye=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ye?Ye._getHostElement().offsetTop:0}Me="bottom"===Gt?this._parentInnerPadding:-this._parentInnerPadding}}else Pe.overlapTrigger||(Ke="top"===Gt?"bottom":"top",he="top"===Oe?"bottom":"top");mt.withPositions([{originX:Pt,originY:Ke,overlayX:ge,overlayY:Gt,offsetY:Me},{originX:Ft,originY:Ke,overlayX:ct,overlayY:Gt,offsetY:Me},{originX:Pt,originY:he,overlayX:ge,overlayY:Oe,offsetY:-Me},{originX:Ft,originY:he,overlayX:ct,overlayY:Oe,offsetY:-Me}])}_menuClosingActions(){const Pe=this._overlayRef.backdropClick(),mt=this._overlayRef.detachments(),Pt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,u.of)(),Ft=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,y.h)(Gt=>Gt!==this._menuItemInstance),(0,y.h)(()=>this._menuOpen)):(0,u.of)();return(0,f.T)(Pe,Pt,Ft,mt)}_handleMousedown(Pe){(0,c.X6)(Pe)||(this._openedBy=0===Pe.button?"mouse":void 0,this.triggersSubmenu()&&Pe.preventDefault())}_handleKeydown(Pe){const mt=Pe.keyCode;(mt===g.K5||mt===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(mt===g.SV&&"ltr"===this.dir||mt===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Pe){this.triggersSubmenu()?(Pe.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,y.h)(Pe=>Pe===this._menuItemInstance&&!Pe.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(Pe){return(!this._portal||this._portal.templateRef!==Pe.templateRef)&&(this._portal=new E.UE(Pe.templateRef,this._viewContainerRef)),this._portal}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject($.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Nt),n.\u0275\u0275directiveInject(de,8),n.\u0275\u0275directiveInject(W,10),n.\u0275\u0275directiveInject(X.Is,8),n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(n.NgZone))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,hostVars:3,hostBindings:function(Pe,mt){1&Pe&&n.\u0275\u0275listener("click",function(Ft){return mt._handleClick(Ft)})("mousedown",function(Ft){return mt._handleMousedown(Ft)})("keydown",function(Ft){return mt._handleKeydown(Ft)}),2&Pe&&n.\u0275\u0275attribute("aria-haspopup",mt.menu?"menu":null)("aria-expanded",mt.menuOpen)("aria-controls",mt.menuOpen?mt.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"}}),_e})();var at=a(6672);function N(_e,ut){if(1&_e){const Pe=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._handleKeydown(Pt))})("click",function(){n.\u0275\u0275restoreView(Pe);const Pt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Pt.closed.emit("click"))})("@transformMenu.start",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._onAnimationStart(Pt))})("@transformMenu.done",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._onAnimationDone(Pt))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&_e){const Pe=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",Pe.panelId)("ngClass",Pe._classList)("@transformMenu",Pe._panelAnimationState),n.\u0275\u0275attribute("aria-label",Pe.ariaLabel||null)("aria-labelledby",Pe.ariaLabelledby||null)("aria-describedby",Pe.ariaDescribedby||null)}}const oe=["*"],Y=["mat-menu-item",""];function ne(_e,ut){1&_e&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",2),n.\u0275\u0275element(1,"polygon",3),n.\u0275\u0275elementEnd())}let K=(()=>{class _e extends tt{constructor(Pe,mt,Pt,Ft){super(Pe,mt,Pt,Ft),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:4,hostBindings:function(Pe,mt){2&Pe&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null)},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:de,useExisting:_e}]),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(Pe,mt){1&Pe&&(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:[ae.transformMenu,ae.fadeInItems]},changeDetection:0}),_e})(),ce=(()=>{class _e extends W{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(Pe,mt){2&Pe&&(n.\u0275\u0275attribute("role",mt.role)("tabindex",mt._getTabIndex())("aria-disabled",mt.disabled.toString())("disabled",mt.disabled||null),n.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",mt._highlighted)("mat-menu-item-submenu-trigger",mt._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:_e}]),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(Pe,mt){1&Pe&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275element(1,"div",0),n.\u0275\u0275template(2,ne,2,0,"svg",1)),2&Pe&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleDisabled",mt.disableRipple||mt.disabled)("matRippleTrigger",mt._getHostElement()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",mt._triggersSubmenu))},dependencies:[S.NgIf,D.MatRipple],encapsulation:2,changeDetection:0}),_e})(),Te=(()=>{class _e extends Le{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[n.\u0275\u0275InheritDefinitionFeature]}),_e})(),et=(()=>{class _e extends G{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Be,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]}),_e})(),Dt=(()=>{class _e{}return _e.\u0275fac=function(Pe){return new(Pe||_e)},_e.\u0275mod=n.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=n.\u0275\u0275defineInjector({providers:[Bt],imports:[S.CommonModule,D.MatCommonModule,D.MatRippleModule,$.U8,at.ZD,D.MatCommonModule]}),_e})()},9559:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{LegacyPageEvent:()=>oe,MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS:()=>Oe,MAT_LEGACY_PAGINATOR_INTL_PROVIDER:()=>at,MAT_LEGACY_PAGINATOR_INTL_PROVIDER_FACTORY:()=>ze,MatLegacyPaginator:()=>Ke,MatLegacyPaginatorIntl:()=>lt,MatLegacyPaginatorModule:()=>he,_MatLegacyPaginatorBase:()=>K});var n=a(6814),c=a(5879),d=a(3680),g=a(4505),r=a(1798),f=a(9594),h=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:[f.aV],useFactory:function ie(ge){return()=>ge.scrollStrategies.reposition({scrollThrottle:20})}},Ce=new c.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function U(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Ae="tooltip-panel",de=(0,p.i$)({passive:!0});let Be=(()=>{class ge{get position(){return this._position}set position(Me){Me!==this._position&&(this._position=Me,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Me){this._positionAtOrigin=(0,y.Ig)(Me),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Me){this._disabled=(0,y.Ig)(Me),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(Me){this._showDelay=(0,y.su)(Me)}get hideDelay(){return this._hideDelay}set hideDelay(Me){this._hideDelay=(0,y.su)(Me),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(Me){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=Me?String(Me).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(Me){this._tooltipClass=Me,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve){this._overlay=Me,this._elementRef=Ye,this._scrollDispatcher=De,this._viewContainerRef=F,this._ngZone=V,this._platform=Q,this._ariaDescriber=be,this._focusMonitor=dt,this._dir=qe,this._defaultOptions=nt,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=Rt,this._document=Ve,nt&&(this._showDelay=nt.showDelay,this._hideDelay=nt.hideDelay,nt.position&&(this.position=nt.position),nt.positionAtOrigin&&(this.positionAtOrigin=nt.positionAtOrigin),nt.touchGestures&&(this.touchGestures=nt.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(Me=>{Me?"keyboard"===Me&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Me=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Ye,De])=>{Me.removeEventListener(Ye,De,de)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Me,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Me)}show(Me=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(Me)}hide(Me=this.hideDelay){const Ye=this._tooltipInstance;Ye&&(Ye.isVisible()?Ye.hide(Me):(Ye._cancelPendingAnimations(),this._detach()))}toggle(Me){this._isTooltipVisible()?this.hide():this.show(void 0,Me)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Me){if(this._overlayRef){const F=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!Me)&&F._origin instanceof c.ElementRef)return this._overlayRef;this._detach()}const Ye=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),De=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&Me||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(Me){const Ye=Me.getConfig().positionStrategy,De=this._getOrigin(),F=this._getOverlayPosition();Ye.withPositions([this._addOffset({...De.main,...F.main}),this._addOffset({...De.fallback,...F.fallback})])}_addOffset(Me){return Me}_getOrigin(){const Me=!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&&Me||"right"==Ye&&!Me?De={originX:"start",originY:"center"}:("after"==Ye||"right"==Ye&&Me||"left"==Ye&&!Me)&&(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 Me=!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&&Me||"right"==Ye&&!Me?De={overlayX:"end",overlayY:"center"}:("after"==Ye||"right"==Ye&&Me||"left"==Ye&&!Me)&&(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(Me){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Me,this._tooltipInstance._markForCheck())}_invertPosition(Me,Ye){return"above"===this.position||"below"===this.position?"top"===Ye?Ye="bottom":"bottom"===Ye&&(Ye="top"):"end"===Me?Me="start":"start"===Me&&(Me="end"),{x:Me,y:Ye}}_updateCurrentPositionClass(Me){const{overlayY:Ye,originX:De,originY:F}=Me;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 Q=this._overlayRef;if(Q){const be=`${this._cssClassPrefix}-${Ae}-`;Q.removePanelClass(be+this._currentPosition),Q.addPanelClass(be+V)}this._currentPosition=V}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",Me=>{let Ye;this._setupPointerExitEventsIfNeeded(),void 0!==Me.x&&void 0!==Me.y&&(Ye=Me),this.show(void 0,Ye)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",Me=>{const Ye=Me.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 Me=[];if(this._platformSupportsMouseEvents())Me.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)};Me.push(["touchend",Ye],["touchcancel",Ye])}this._addListeners(Me),this._passiveListeners.push(...Me)}_addListeners(Me){Me.forEach(([Ye,De])=>{this._elementRef.nativeElement.addEventListener(Ye,De,de)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Me){if(this._isTooltipVisible()){const Ye=this._document.elementFromPoint(Me.clientX,Me.clientY),De=this._elementRef.nativeElement;Ye!==De&&!De.contains(Ye)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Me=this.touchGestures;if("off"!==Me){const Ye=this._elementRef.nativeElement,De=Ye.style;("on"===Me||"INPUT"!==Ye.nodeName&&"TEXTAREA"!==Ye.nodeName)&&(De.userSelect=De.msUserSelect=De.webkitUserSelect=De.MozUserSelect="none"),("on"===Me||!Ye.draggable)&&(De.webkitUserDrag="none"),De.touchAction="none",De.webkitTapHighlightColor="transparent"}}}return ge.\u0275fac=function(Me){c.\u0275\u0275invalidFactory()},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,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"]}}),ge})(),re=(()=>{class ge{constructor(Me,Ye){this._changeDetectorRef=Me,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new S.x,this._animationsDisabled="NoopAnimations"===Ye}show(Me){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Me)}hide(Me){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Me)}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:Me}){(!Me||!this._triggerElement.contains(Me))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:Me}){(Me===this._showAnimation||Me===this._hideAnimation)&&this._finalizeAnimation(Me===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Me){Me?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Me){const Ye=this._tooltip.nativeElement,De=this._showAnimation,F=this._hideAnimation;if(Ye.classList.remove(Me?F:De),Ye.classList.add(Me?De:F),this._isVisible=Me,Me&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const V=getComputedStyle(Ye);("0s"===V.getPropertyValue("animation-duration")||"none"===V.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Me&&this._onShow(),this._animationsDisabled&&(Ye.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Me))}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge}),ge})();const Ze=["tooltip"];let Qe=(()=>{class ge extends Be{constructor(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve){super(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve),this._tooltipComponent=Ge}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(f.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(h.$s),c.\u0275\u0275directiveInject(h.tE),c.\u0275\u0275directiveInject(ee),c.\u0275\u0275directiveInject(v.Is,8),c.\u0275\u0275directiveInject(Ce,8),c.\u0275\u0275directiveInject(n.DOCUMENT))},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(Me,Ye){2&Me&&c.\u0275\u0275classProp("mat-tooltip-disabled",Ye.disabled)},exportAs:["matTooltip"],features:[c.\u0275\u0275InheritDefinitionFeature]}),ge})(),Ge=(()=>{class ge extends re{constructor(Me,Ye,De){super(Me,De),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=Ye.observe(b.u3.Handset)}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(b.Yg),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},ge.\u0275cmp=c.\u0275\u0275defineComponent({type:ge,selectors:[["mat-tooltip-component"]],viewQuery:function(Me,Ye){if(1&Me&&c.\u0275\u0275viewQuery(Ze,7),2&Me){let De;c.\u0275\u0275queryRefresh(De=c.\u0275\u0275loadQuery())&&(Ye._tooltip=De.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(Me,Ye){1&Me&&c.\u0275\u0275listener("mouseleave",function(F){return Ye._handleMouseLeave(F)}),2&Me&&(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(Me,Ye){if(1&Me&&(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&Me){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}),ge})(),tt=(()=>{class ge{}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275mod=c.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=c.\u0275\u0275defineInjector({providers:[A],imports:[h.rt,n.CommonModule,f.U8,d.MatCommonModule,d.MatCommonModule,u.ZD]}),ge})(),lt=(()=>{class ge{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=(Me,Ye,De)=>{if(0==De||0==Ye)return`0 of ${De}`;const F=Me*Ye;return`${F+1} \u2013 ${F<(De=Math.max(De,0))?Math.min(F+Ye,De):F+Ye} of ${De}`}}}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275prov=c.\u0275\u0275defineInjectable({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();function ze(ge){return ge||new lt}const at={provide:lt,deps:[[new c.Optional,new c.SkipSelf,lt]],useFactory:ze};class oe{}const ne=(0,d.mixinDisabled)((0,d.mixinInitialized)(class{}));let K=(()=>{class ge extends ne{get pageIndex(){return this._pageIndex}set pageIndex(Me){this._pageIndex=Math.max((0,y.su)(Me),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Me){this._length=(0,y.su)(Me),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Me){this._pageSize=Math.max((0,y.su)(Me),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Me){this._pageSizeOptions=(Me||[]).map(Ye=>(0,y.su)(Ye)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Me){this._hidePageSize=(0,y.Ig)(Me)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Me){this._showFirstLastButtons=(0,y.Ig)(Me)}constructor(Me,Ye,De){if(super(),this._intl=Me,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=Me.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),De){const{pageSize:F,pageSizeOptions:V,hidePageSize:Q,showFirstLastButtons:be}=De;null!=F&&(this._pageSize=F),null!=V&&(this._pageSizeOptions=V),null!=Q&&(this._hidePageSize=Q),null!=be&&(this._showFirstLastButtons=be)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Me=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Me)}previousPage(){if(!this.hasPreviousPage())return;const Me=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Me)}firstPage(){if(!this.hasPreviousPage())return;const Me=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Me)}lastPage(){if(!this.hasNextPage())return;const Me=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Me)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Me=this.getNumberOfPages()-1;return this.pageIndexMe-Ye),this._changeDetectorRef.markForCheck())}_emitPageEvent(Me){this.page.emit({previousPageIndex:Me,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return ge.\u0275fac=function(Me){c.\u0275\u0275invalidFactory()},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[c.\u0275\u0275InheritDefinitionFeature]}),ge})();var Dt=a(4187),_e=a(4678);function ut(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"mat-option",19),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&ge){const Me=ct.$implicit;c.\u0275\u0275property("value",Me),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate1(" ",Me," ")}}function Pe(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),c.\u0275\u0275listener("selectionChange",function(De){c.\u0275\u0275restoreView(Me);const F=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(F._changePageSize(De.value))}),c.\u0275\u0275template(2,ut,2,2,"mat-option",18),c.\u0275\u0275elementEnd()()}if(2&ge){const Me=c.\u0275\u0275nextContext(2);c.\u0275\u0275property("appearance",Me._formFieldAppearance)("color",Me.color),c.\u0275\u0275advance(1),c.\u0275\u0275property("value",Me.pageSize)("disabled",Me.disabled)("panelClass",Me.selectConfig.panelClass||"")("disableOptionCentering",Me.selectConfig.disableOptionCentering)("aria-label",Me._intl.itemsPerPageLabel),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngForOf",Me._displayedPageSizeOptions)}}function mt(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"div",20),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&ge){const Me=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(Me.pageSize)}}function Pt(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"div",12)(1,"div",13),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(3,Pe,3,8,"mat-form-field",14),c.\u0275\u0275template(4,mt,2,1,"div",15),c.\u0275\u0275elementEnd()),2&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate1(" ",Me._intl.itemsPerPageLabel," "),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Me._displayedPageSizeOptions.length>1),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Me._displayedPageSizeOptions.length<=1)}}function Ft(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"button",21),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(Me);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&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",Me._intl.firstPageLabel)("matTooltipDisabled",Me._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Me._previousButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Me._intl.firstPageLabel)}}function Gt(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275namespaceSVG(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(0,"button",23),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(Me);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&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",Me._intl.lastPageLabel)("matTooltipDisabled",Me._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Me._nextButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Me._intl.lastPageLabel)}}const Oe=new c.InjectionToken("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS");let Ke=(()=>{class ge extends K{constructor(Me,Ye,De){super(Me,Ye,De),De&&null!=De.formFieldAppearance&&(this._formFieldAppearance=De.formFieldAppearance)}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(lt),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(Oe,8))},ge.\u0275cmp=c.\u0275\u0275defineComponent({type:ge,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(Me,Ye){1&Me&&(c.\u0275\u0275elementStart(0,"div",0)(1,"div",1),c.\u0275\u0275template(2,Pt,5,3,"div",2),c.\u0275\u0275elementStart(3,"div",3)(4,"div",4),c.\u0275\u0275text(5),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(6,Ft,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,Gt,3,5,"button",11),c.\u0275\u0275elementEnd()()()),2&Me&&(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,_e.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}),ge})(),he=(()=>{class ge{}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275mod=c.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=c.\u0275\u0275defineInjector({providers:[at],imports:[n.CommonModule,g.MatLegacyButtonModule,r.MatLegacySelectModule,tt,d.MatCommonModule]}),ge})()},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:()=>Ce});var n=a(2495),c=a(2831),d=a(6672),g=a(6814),r=a(5879),f=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 de=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+de._spinnerAnimationLabel)("stroke-dashoffset",de._getStrokeDashOffset(),"px")("stroke-dasharray",de._getStrokeCircumference(),"px")("stroke-width",de._getCircleStrokeWidth(),"%")("transform-origin",de._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",de._getCircleRadius())}}function I(Re,Ae){if(1&Re&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275element(0,"circle",4)),2&Re){const de=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("stroke-dashoffset",de._getStrokeDashOffset(),"px")("stroke-dasharray",de._getStrokeCircumference(),"px")("stroke-width",de._getCircleStrokeWidth(),"%")("transform-origin",de._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",de._getCircleRadius())}}const ee=(0,f.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,de,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)),de.isBrowser&&de.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 de=50*(Ae.currentScale??1);return`${de}% ${de}%`}_attachStyleNode(){const Ae=this._styleRoot,de=this._diameter,H=A._diameters;let W=H.get(Ae);if(!W||!W.has(de)){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(de)}}_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,de){2&Ae&&(r.\u0275\u0275attribute("aria-valuemin","determinate"===de.mode?0:null)("aria-valuemax","determinate"===de.mode?100:null)("aria-valuenow","determinate"===de.mode?de.value:null)("mode",de.mode),r.\u0275\u0275styleProp("width",de.diameter,"px")("height",de.diameter,"px"),r.\u0275\u0275classProp("_mat-animation-noopable",de._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,de){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",de.diameter,"px")("height",de.diameter,"px"),r.\u0275\u0275property("ngSwitch","indeterminate"===de.mode),r.\u0275\u0275attribute("viewBox",de._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(de){return new(de||Re)},Re.\u0275mod=r.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=r.\u0275\u0275defineInjector({imports:[f.MatCommonModule,g.CommonModule,f.MatCommonModule]}),Re})();const Ce=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:()=>Ce,MatLegacyRadioChange:()=>b,MatLegacyRadioGroup:()=>U,MatLegacyRadioModule:()=>Re});var n=a(5879),c=a(3680),d=a(4300),g=a(8337),r=a(6223),f=a(2495);const h=["input"];let v=0;class b{constructor(de,H){this.source=de,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,f.Ig)(H),this._markRadiosForCheck()}get required(){return this._required}set required(H){this._required=(0,f.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(de){this._elementRef=de}}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,f.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,f.Ig)(H))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(H){this._required=(0,f.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,f.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(h,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 de;return function(W){return(de||(de=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,Ce,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})(),Ce=(()=>{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:()=>Ge,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Ze,MAT_LEGACY_SELECT_TRIGGER:()=>tt,MatLegacySelect:()=>mt,MatLegacySelectChange:()=>ut,MatLegacySelectModule:()=>Pt,MatLegacySelectTrigger:()=>Pe,matLegacySelectAnimations:()=>ne});var n=a(9594),c=a(6814),d=a(5879),g=a(3680),r=a(4678),f=a(1043),h=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 Ce=["trigger"],Re=["panel"];let ve=0;const He=new d.InjectionToken("mat-select-scroll-strategy");function Ze(Ft){return()=>Ft.scrollStrategies.reposition()}const Qe=new d.InjectionToken("MAT_SELECT_CONFIG"),Ge={provide:He,deps:[n.aV],useFactory:Ze},tt=new d.InjectionToken("MatSelectTrigger"),Nt=(0,g.mixinDisableRipple)((0,g.mixinTabIndex)((0,g.mixinDisabled)((0,g.mixinErrorState)(class{constructor(Ft,Gt,Oe,Ke,he){this._elementRef=Ft,this._defaultErrorStateMatcher=Gt,this._parentForm=Oe,this._parentFormGroup=Ke,this.ngControl=he,this.stateChanges=new x.x}}))));let _t=(()=>{class Ft extends Nt{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Oe){this._placeholder=Oe,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(y.Validators.required)??!1}set required(Oe){this._required=(0,p.Ig)(Oe),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Oe){this._multiple=(0,p.Ig)(Oe)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Oe){this._disableOptionCentering=(0,p.Ig)(Oe)}get compareWith(){return this._compareWith}set compareWith(Oe){this._compareWith=Oe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Oe){this._assignValue(Oe)&&this._onChange(Oe)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Oe){this._typeaheadDebounceInterval=(0,p.su)(Oe)}get id(){return this._id}set id(Oe){this._id=Oe||this._uid,this.stateChanges.next()}constructor(Oe,Ke,he,ge,ct,Me,Ye,De,F,V,Q,be,dt,Rt){super(ct,ge,Ye,De,V),this._viewportRuler=Oe,this._changeDetectorRef=Ke,this._ngZone=he,this._dir=Me,this._parentFormField=F,this._liveAnnouncer=dt,this._defaultOptions=Rt,this._panelOpen=!1,this._compareWith=(qe,nt)=>qe===nt,this._uid="mat-select-"+ve++,this._triggerAriaLabelledBy=null,this._destroy=new x.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ve++,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(nt=>nt.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!=Rt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Rt.typeaheadDebounceInterval),this._scrollStrategyFactory=be,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Q)||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(Oe=>{Oe.added.forEach(Ke=>Ke.select()),Oe.removed.forEach(Ke=>Ke.deselect())}),this.options.changes.pipe((0,E.O)(null),(0,A.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Oe=this._getTriggerAriaLabelledby(),Ke=this.ngControl;if(Oe!==this._triggerAriaLabelledBy){const he=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Oe,Oe?he.setAttribute("aria-labelledby",Oe):he.removeAttribute("aria-labelledby")}Ke&&(this._previousControl!==Ke.control&&(void 0!==this._previousControl&&null!==Ke.disabled&&Ke.disabled!==this.disabled&&(this.disabled=Ke.disabled),this._previousControl=Ke.control),this.updateErrorState())}ngOnChanges(Oe){(Oe.disabled||Oe.userAriaDescribedBy)&&this.stateChanges.next(),Oe.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 Oe=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Oe)return;const Ke=`${this.id}-panel`;this._trackedModal&&(0,v.iD)(this._trackedModal,"aria-owns",Ke),(0,v.Zf)(Oe,"aria-owns",Ke),this._trackedModal=Oe}_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(Oe){this._assignValue(Oe)}registerOnChange(Oe){this._onChange=Oe}registerOnTouched(Oe){this._onTouched=Oe}setDisabledState(Oe){this.disabled=Oe,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 Oe=this._selectionModel.selected.map(Ke=>Ke.viewValue);return this._isRtl()&&Oe.reverse(),Oe.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Oe){this.disabled||(this.panelOpen?this._handleOpenKeydown(Oe):this._handleClosedKeydown(Oe))}_handleClosedKeydown(Oe){const Ke=Oe.keyCode,he=Ke===l.JH||Ke===l.LH||Ke===l.oh||Ke===l.SV,ge=Ke===l.K5||Ke===l.L_,ct=this._keyManager;if(!ct.isTyping()&&ge&&!(0,l.Vb)(Oe)||(this.multiple||Oe.altKey)&&he)Oe.preventDefault(),this.open();else if(!this.multiple){const Me=this.selected;ct.onKeydown(Oe);const Ye=this.selected;Ye&&Me!==Ye&&this._liveAnnouncer.announce(Ye.viewValue,1e4)}}_handleOpenKeydown(Oe){const Ke=this._keyManager,he=Oe.keyCode,ge=he===l.JH||he===l.LH,ct=Ke.isTyping();if(ge&&Oe.altKey)Oe.preventDefault(),this.close();else if(ct||he!==l.K5&&he!==l.L_||!Ke.activeItem||(0,l.Vb)(Oe))if(!ct&&this._multiple&&he===l.A&&Oe.ctrlKey){Oe.preventDefault();const Me=this.options.some(Ye=>!Ye.disabled&&!Ye.selected);this.options.forEach(Ye=>{Ye.disabled||(Me?Ye.select():Ye.deselect())})}else{const Me=Ke.activeItemIndex;Ke.onKeydown(Oe),this._multiple&&ge&&Oe.shiftKey&&Ke.activeItem&&Ke.activeItemIndex!==Me&&Ke.activeItem._selectViaInteraction()}else Oe.preventDefault(),Ke.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(Oe){if(this.options.forEach(Ke=>Ke.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Oe)Array.isArray(Oe),Oe.forEach(Ke=>this._selectOptionByValue(Ke)),this._sortValues();else{const Ke=this._selectOptionByValue(Oe);Ke?this._keyManager.updateActiveItem(Ke):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Oe){const Ke=this.options.find(he=>{if(this._selectionModel.isSelected(he))return!1;try{return null!=he.value&&this._compareWith(he.value,Oe)}catch{return!1}});return Ke&&this._selectionModel.select(Ke),Ke}_assignValue(Oe){return!!(Oe!==this._value||this._multiple&&Array.isArray(Oe))&&(this.options&&this._setSelectionByValue(Oe),this._value=Oe,!0)}_skipPredicate(Oe){return Oe.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 Oe=(0,S.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,A.R)(Oe)).subscribe(Ke=>{this._onSelect(Ke.source,Ke.isUserInput),Ke.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,S.T)(...this.options.map(Ke=>Ke._stateChanges)).pipe((0,A.R)(Oe)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Oe,Ke){const he=this._selectionModel.isSelected(Oe);null!=Oe.value||this._multiple?(he!==Oe.selected&&(Oe.selected?this._selectionModel.select(Oe):this._selectionModel.deselect(Oe)),Ke&&this._keyManager.setActiveItem(Oe),this.multiple&&(this._sortValues(),Ke&&this.focus())):(Oe.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Oe.value)),he!==this._selectionModel.isSelected(Oe)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Oe=this.options.toArray();this._selectionModel.sort((Ke,he)=>this.sortComparator?this.sortComparator(Ke,he,Oe):Oe.indexOf(Ke)-Oe.indexOf(he)),this.stateChanges.next()}}_propagateChanges(Oe){let Ke=null;Ke=this.multiple?this.selected.map(he=>he.value):this.selected?this.selected.value:Oe,this._value=Ke,this.valueChange.emit(Ke),this._onChange(Ke),this.selectionChange.emit(this._getChangeEvent(Ke)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Oe=-1;for(let Ke=0;Ke0}focus(Oe){this._elementRef.nativeElement.focus(Oe)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Oe?Oe+" ":"")+this.ariaLabelledby:Oe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();let Ke=(Oe?Oe+" ":"")+this._valueId;return this.ariaLabelledby&&(Ke+=" "+this.ariaLabelledby),Ke}_panelDoneAnimating(Oe){this.openedChange.emit(Oe)}setDescribedByIds(Oe){Oe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Oe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)(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(f.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))},Ft.\u0275dir=d.\u0275\u0275defineDirective({type:Ft,viewQuery:function(Oe,Ke){if(1&Oe&&(d.\u0275\u0275viewQuery(Ce,5),d.\u0275\u0275viewQuery(Re,5),d.\u0275\u0275viewQuery(n.pI,5)),2&Oe){let he;d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke.trigger=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke.panel=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke._overlayDir=he.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]}),Ft})();function Le(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",8),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Oe.placeholder)}}function lt(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",12),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Oe.triggerValue)}}function ze(Ft,Gt){1&Ft&&d.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function at(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",9),d.\u0275\u0275template(1,lt,2,1,"span",10),d.\u0275\u0275template(2,ze,1,0,"ng-content",11),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("ngSwitch",!!Oe.customTrigger),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngSwitchCase",!0)}}function N(Ft,Gt){if(1&Ft){const Oe=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",13)(1,"div",14,15),d.\u0275\u0275listener("@transformPanel.done",function(he){d.\u0275\u0275restoreView(Oe);const ge=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ge._panelDoneAnimatingStream.next(he.toState))})("keydown",function(he){d.\u0275\u0275restoreView(Oe);const ge=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ge._handleKeydown(he))}),d.\u0275\u0275projection(3,1),d.\u0275\u0275elementEnd()()}if(2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transformPanelWrap",void 0),d.\u0275\u0275advance(1),d.\u0275\u0275classMapInterpolate1("mat-select-panel ",Oe._getPanelTheme(),""),d.\u0275\u0275styleProp("transform-origin",Oe._transformOrigin)("font-size",Oe._triggerFontSize,"px"),d.\u0275\u0275property("ngClass",Oe.panelClass)("@transformPanel",Oe.multiple?"showing-multiple":"showing"),d.\u0275\u0275attribute("id",Oe.id+"-panel")("aria-multiselectable",Oe.multiple)("aria-label",Oe.ariaLabel||null)("aria-labelledby",Oe._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})))])},K=256;class ut{constructor(Gt,Oe){this.source=Gt,this.value=Oe}}let Pe=(()=>{class Ft{}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)},Ft.\u0275dir=d.\u0275\u0275defineDirective({type:Ft,selectors:[["mat-select-trigger"]],features:[d.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:Ft}])]}),Ft})(),mt=(()=>{class Ft extends _t{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(Oe,Ke,he){const ge=this._getItemHeight();return Math.min(Math.max(0,ge*Oe-Ke+ge/2),he)}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(Oe){const Ke=(0,g._countGroupLabelsBeforeOption)(Oe,this.options,this.optionGroups),he=this._getItemHeight();this.panel.nativeElement.scrollTop=0===Oe&&1===Ke?0:(0,g._getOptionScrollPosition)((Oe+Ke)*he,he,this.panel.nativeElement.scrollTop,K)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(Oe){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(Oe)}_getChangeEvent(Oe){return new ut(this,Oe)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){const Oe=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),Ke=this._viewportRuler.getViewportSize(),he=this._isRtl(),ge=this.multiple?56:32;let ct;if(this.multiple)ct=40;else if(this.disableOptionCentering)ct=16;else{let De=this._selectionModel.selected[0]||this.options.first;ct=De&&De.group?32:16}he||(ct*=-1);const Me=0-(Oe.left+ct-(he?ge:0)),Ye=Oe.right+ct-Ke.width+(he?0:ge);Me>0?ct+=Me+8:Ye>0&&(ct-=Ye+8),this._overlayDir.offsetX=Math.round(ct),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(Oe,Ke,he){const ge=this._getItemHeight(),ct=(ge-this._triggerRect.height)/2,Me=Math.floor(K/ge);let Ye;return this.disableOptionCentering?0:(Ye=0===this._scrollTop?Oe*ge:this._scrollTop===he?(Oe-(this._getItemCount()-Me))*ge+(ge-(this._getItemCount()*ge-K)%ge):Ke-ge/2,Math.round(-1*Ye-ct))}_checkOverlayWithinViewport(Oe){const Ke=this._getItemHeight(),he=this._viewportRuler.getViewportSize(),ge=this._triggerRect.top-8,ct=he.height-this._triggerRect.bottom-8,Me=Math.abs(this._offsetY),De=Math.min(this._getItemCount()*Ke,K)-Me-this._triggerRect.height;De>ct?this._adjustPanelUp(De,ct):Me>ge?this._adjustPanelDown(Me,ge,Oe):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(Oe,Ke){const he=Math.round(Oe-Ke);this._scrollTop-=he,this._offsetY-=he,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(Oe,Ke,he){const ge=Math.round(Oe-Ke);if(this._scrollTop+=ge,this._offsetY+=ge,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=he)return this._scrollTop=he,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const Oe=this._getItemHeight(),Ke=this._getItemCount(),he=Math.min(Ke*Oe,K),ct=Ke*Oe-he;let Me;Me=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Me+=(0,g._countGroupLabelsBeforeOption)(Me,this.options,this.optionGroups);const Ye=he/2;this._scrollTop=this._calculateOverlayScroll(Me,Ye,ct),this._offsetY=this._calculateOverlayOffsetY(Me,Ye,ct),this._checkOverlayWithinViewport(ct)}_getOriginBasedOnOption(){const Oe=this._getItemHeight(),Ke=(Oe-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-Ke+Oe/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Ft.\u0275fac=function(){let Gt;return function(Ke){return(Gt||(Gt=d.\u0275\u0275getInheritedFactory(Ft)))(Ke||Ft)}}(),Ft.\u0275cmp=d.\u0275\u0275defineComponent({type:Ft,selectors:[["mat-select"]],contentQueries:function(Oe,Ke,he){if(1&Oe&&(d.\u0275\u0275contentQuery(he,tt,5),d.\u0275\u0275contentQuery(he,r.MatLegacyOption,5),d.\u0275\u0275contentQuery(he,g.MAT_OPTGROUP,5)),2&Oe){let ge;d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.customTrigger=ge.first),d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.options=ge),d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.optionGroups=ge)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(Oe,Ke){1&Oe&&d.\u0275\u0275listener("keydown",function(ge){return Ke._handleKeydown(ge)})("focus",function(){return Ke._onFocus()})("blur",function(){return Ke._onBlur()}),2&Oe&&(d.\u0275\u0275attribute("id",Ke.id)("tabindex",Ke.tabIndex)("aria-controls",Ke.panelOpen?Ke.id+"-panel":null)("aria-expanded",Ke.panelOpen)("aria-label",Ke.ariaLabel||null)("aria-required",Ke.required.toString())("aria-disabled",Ke.disabled.toString())("aria-invalid",Ke.errorState)("aria-activedescendant",Ke._getAriaActiveDescendant()),d.\u0275\u0275classProp("mat-select-disabled",Ke.disabled)("mat-select-invalid",Ke.errorState)("mat-select-required",Ke.required)("mat-select-empty",Ke.empty)("mat-select-multiple",Ke.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[d.\u0275\u0275ProvidersFeature([{provide:f.Eo,useExisting:Ft},{provide:g.MAT_OPTION_PARENT_COMPONENT,useExisting:Ft}]),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(Oe,Ke){if(1&Oe&&(d.\u0275\u0275projectionDef(oe),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275listener("click",function(){return Ke.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 Ke.close()})("attach",function(){return Ke._onAttached()})("detach",function(){return Ke.close()})),2&Oe){const he=d.\u0275\u0275reference(1);d.\u0275\u0275attribute("aria-owns",Ke.panelOpen?Ke.id+"-panel":null),d.\u0275\u0275advance(3),d.\u0275\u0275property("ngSwitch",Ke.empty),d.\u0275\u0275attribute("id",Ke._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",Ke._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Ke._scrollStrategy)("cdkConnectedOverlayOrigin",he)("cdkConnectedOverlayOpen",Ke.panelOpen)("cdkConnectedOverlayPositions",Ke._positions)("cdkConnectedOverlayMinWidth",Ke._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",Ke._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}),Ft})(),Pt=(()=>{class Ft{}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)},Ft.\u0275mod=d.\u0275\u0275defineNgModule({type:Ft}),Ft.\u0275inj=d.\u0275\u0275defineInjector({providers:[Ge],imports:[c.CommonModule,n.U8,r.MatLegacyOptionModule,g.MatCommonModule,u.ZD,h.MatLegacyFormFieldModule,r.MatLegacyOptionModule,g.MatCommonModule]}),Ft})()},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:()=>Ce,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),f=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,f.Ig)(H)}get checked(){return this._checked}set checked(H){this._checked=(0,f.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 de;return function(W){return(de||(de=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)(()=>Ce),multi:!0};class U{constructor(de,H){this.source=de,this.checked=H}}let Ce=(()=>{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:()=>Ce});var n=a(6814),c=a(5879),d=a(3680),g=a(4300),r=a(9388),f=a(2495),h=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(de){this._invert=(0,f.Ig)(de)}get max(){return this._max}set max(de){this._max=(0,f.su)(de,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(de){this._min=(0,f.su)(de,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(de){this._step=(0,f.su)(de,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(de){this._thumbLabel=(0,f.Ig)(de)}get tickInterval(){return this._tickInterval}set tickInterval(de){this._tickInterval="auto"===de?"auto":"number"==typeof de||"string"==typeof de?(0,f.su)(de,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(de){if(de!==this._value){let H=(0,f.su)(de,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(de){this._vertical=(0,f.Ig)(de)}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(de){this._focusHostElement(de)}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 de=this.percent,W=this.vertical?`1, ${de}, 1`:`${de}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${W})`,display:0===de?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let de=100*this._tickIntervalPercent,Ee={backgroundSize:this.vertical?`2px ${de}%`:`${de}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${de/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 de=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?de:!de)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const de=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?de:!de}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}constructor(de,H,W,pe,we,Ee,Be,G){super(de),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 de=0;de{if("pointer"===this._isSliding){const ae=ie(re,this._touchId);if(ae){re.cancelable&&re.preventDefault();const ve=this.value;this._lastPointerEvent=re,this._updateValueFromPosition(ae),ve!=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=de.nativeElement;re.addEventListener("mousedown",this._pointerDown,_),re.addEventListener("touchstart",this._pointerDown,_)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(de=>{this._isActive=!!de&&"keyboard"!==de,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const de=this._elementRef.nativeElement;de.removeEventListener("mousedown",this._pointerDown,_),de.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(de){if(this.disabled||(0,h.Vb)(de)||this._isSliding&&"keyboard"!==this._isSliding)return;const H=this.value;switch(de.keyCode){case h.Ku:this._increment(10);break;case h.VM:this._increment(-10);break;case h.uR:this.value=this.max;break;case h.Sd:this.value=this.min;break;case h.oh:this._increment("rtl"==this._getDirection()?1:-1);break;case h.LH:this._increment(1);break;case h.SV:this._increment("rtl"==this._getDirection()?-1:1);break;case h.JH:this._increment(-1);break;default:return}H!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",de.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(de){const H=this._document,W=ee(de),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 de=this._document;de.removeEventListener("mousemove",this._pointerMove,_),de.removeEventListener("mouseup",this._pointerUp,_),de.removeEventListener("touchmove",this._pointerMove,_),de.removeEventListener("touchend",this._pointerUp,_),de.removeEventListener("touchcancel",this._pointerUp,_);const H=this._getWindow();typeof H<"u"&&H&&H.removeEventListener("blur",this._windowBlur)}_increment(de){const H=this._clamp(this.value||0,this.min,this.max);this.value=this._clamp(H+this.step*de,this.min,this.max)}_updateValueFromPosition(de){if(!this._sliderDimensions)return;let we=this._clamp(((this.vertical?de.y:de.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 de;if("auto"==this.tickInterval){let H=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width;de=Math.ceil(30/(H*this.step/(this.max-this.min)))*this.step/H}else de=this.tickInterval*this.step/(this.max-this.min);this._tickIntervalPercent=$(de)?de:0}_createChangeEvent(de=this.value){let H=new E;return H.source=this,H.value=de,H}_calculatePercentage(de){const H=((de||0)-this.min)/(this.max-this.min);return $(H)?H:0}_calculateValue(de){return this.min+de*(this.max-this.min)}_clamp(de,H=0,W=1){return Math.max(H,Math.min(de,W))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(de){this._elementRef.nativeElement.focus(de)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(de){this.value=de}registerOnChange(de){this._controlValueAccessorChangeFn=de}registerOnTouched(de){this.onTouched=de}setDisabledState(de){this.disabled=de}}return Re.\u0275fac=function(de){return new(de||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(de,H){if(1&de&&c.\u0275\u0275viewQuery(p,5),2&de){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(de,H){1&de&&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&de&&(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(de,H){1&de&&(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&de&&(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 de;return de=ee(Re)?"number"==typeof Ae?A(Re.touches,Ae)||A(Re.changedTouches,Ae):Re.touches[0]||Re.changedTouches[0]:Re,de?{x:de.clientX,y:de.clientY}:void 0}function A(Re,Ae){for(let de=0;de{class Re{}return Re.\u0275fac=function(de){return new(de||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:()=>bt});var n=a(5879),c=a(9388),d=a(2495),g=a(8337),r=a(2831),f=a(6672),h=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 se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",se.headerText," ")}}function E(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const se=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(se,Xe.name)," ")}}function I(O){return class extends O{get sticky(){return this._sticky}set sticky(me){const se=this._sticky;this._sticky=(0,d.Ig)(me),this._hasStickyChanged=se!==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(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellDef",""]]}),O})(),ie=(()=>{class O{constructor(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkHeaderCellDef",""]]}),O})(),A=(()=>{class O{constructor(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkFooterCellDef",""]]}),O})();class U{}const Ce=I(U);let Re=(()=>{class O extends Ce{get name(){return this._name}set name(se){this._setNameInput(se)}get stickyEnd(){return this._stickyEnd}set stickyEnd(se){const Xe=this._stickyEnd;this._stickyEnd=(0,d.Ig)(se),this._hasStickyChanged=Xe!==this._stickyEnd}constructor(se){super(),this._table=se,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(se){se&&(this._name=se,this.cssClassFriendlyName=se.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkColumnDef",""]],contentQueries:function(se,Xe,kt){if(1&se&&(n.\u0275\u0275contentQuery(kt,ee,5),n.\u0275\u0275contentQuery(kt,ie,5),n.\u0275\u0275contentQuery(kt,A,5)),2&se){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,se){se.nativeElement.classList.add(...me._columnCssClassName)}}let de=(()=>{class O extends Ae{constructor(se,Xe){super(se,Xe)}}return O.\u0275fac=function(se){return new(se||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(se,Xe){if(super(se,Xe),1===se._table?._elementRef.nativeElement.nodeType){const kt=se._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===kt||"treegrid"===kt?"gridcell":"cell")}}}return O.\u0275fac=function(se){return new(se||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(se,Xe){if(super(se,Xe),1===se._table?._elementRef.nativeElement.nodeType){const kt=se._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===kt||"treegrid"===kt?"gridcell":"cell")}}}return O.\u0275fac=function(se){return new(se||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(se){this._ngZone=se,this._currentSchedule=null,this._destroyed=new u.x}schedule(se){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(se)}scheduleEnd(se){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(se)}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 se=this._currentSchedule;this._currentSchedule=new pe;for(const Xe of se.tasks)Xe();for(const Xe of se.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(se){return new(se||O)(n.\u0275\u0275inject(n.NgZone))},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})(),G=(()=>{class O{constructor(se,Xe){this.template=se,this._differs=Xe}ngOnChanges(se){if(!this._columnsDiffer){const Xe=se.columns&&se.columns.currentValue||[];this._columnsDiffer=this._differs.find(Xe).create(),this._columnsDiffer.diff(Xe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(se){return this instanceof ve?se.headerCell.template:this instanceof Qe?se.footerCell.template:se.cell.template}}return O.\u0275fac=function(se){return new(se||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 ae=I(re);let ve=(()=>{class O extends ae{constructor(se,Xe,kt){super(se,Xe),this._table=kt}ngOnChanges(se){super.ngOnChanges(se)}}return O.\u0275fac=function(se){return new(se||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(se,Xe,kt){super(se,Xe),this._table=kt}ngOnChanges(se){super.ngOnChanges(se)}}return O.\u0275fac=function(se){return new(se||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})(),Ge=(()=>{class O extends G{constructor(se,Xe,kt){super(se,Xe),this._table=kt}}return O.\u0275fac=function(se){return new(se||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(se){this._viewContainer=se,O.mostRecentCellOutlet=this}ngOnDestroy(){O.mostRecentCellOutlet===this&&(O.mostRecentCellOutlet=null)}}return O.mostRecentCellOutlet=null,O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellOutlet",""]]}),O})(),Ct=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Nt=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),_t=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Bt=(()=>{class O{constructor(se){this.templateRef=se,this._contentClassName="cdk-no-data-row"}}return O.\u0275fac=function(se){return new(se||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 Lt{constructor(me,se,Xe,kt,Wt=!0,un=!0,gn){this._isNativeHtmlTable=me,this._stickCellCss=se,this.direction=Xe,this._coalescedStyleScheduler=kt,this._isBrowser=Wt,this._needsPositionStickyOnElement=un,this._positionListener=gn,this._cachedCellWidths=[],this._borderCellCss={top:`${se}-border-elem-top`,bottom:`${se}-border-elem-bottom`,left:`${se}-border-elem-left`,right:`${se}-border-elem-right`}}clearStickyPositioning(me,se){const Xe=[];for(const kt of me)if(kt.nodeType===kt.ELEMENT_NODE){Xe.push(kt);for(let Wt=0;Wt{for(const kt of Xe)this._removeStickyStyle(kt,se)})}updateStickyColumns(me,se,Xe,kt=!0){if(!me.length||!this._isBrowser||!se.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,kt),pn=this._getStickyStartColumnPositions(gn,se),si=this._getStickyEndColumnPositions(gn,Xe),jn=se.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;fnse[fn]?Gi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Fn?[]:gn.slice(Fn).map((Gi,fn)=>Xe[fn+Fn]?Gi:null).reverse()}))})}stickRows(me,se,Xe){if(!this._isBrowser)return;const kt="bottom"===Xe?me.slice().reverse():me,Wt="bottom"===Xe?se.slice().reverse():se,un=[],gn=[],pn=[];for(let jn=0,Fn=0;jn{for(let jn=0;jn{se.some(kt=>!kt)?this._removeStickyStyle(Xe,["bottom"]):this._addStickyStyle(Xe,"bottom",0,!1)})}_removeStickyStyle(me,se){for(const kt of se)me.style[kt]="",me.classList.remove(this._borderCellCss[kt]);Tt.some(kt=>-1===se.indexOf(kt)&&me.style[kt])?me.style.zIndex=this._getCalculatedZIndex(me):(me.style.zIndex="",this._needsPositionStickyOnElement&&(me.style.position=""),me.classList.remove(this._stickCellCss))}_addStickyStyle(me,se,Xe,kt){me.classList.add(this._stickCellCss),kt&&me.classList.add(this._borderCellCss[se]),me.style[se]=`${Xe}px`,me.style.zIndex=this._getCalculatedZIndex(me),this._needsPositionStickyOnElement&&(me.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(me){const se={top:100,bottom:10,left:1,right:1};let Xe=0;for(const kt of Tt)me.style[kt]&&(Xe+=se[kt]);return Xe?`${Xe}`:""}_getCellWidths(me,se=!0){if(!se&&this._cachedCellWidths.length)return this._cachedCellWidths;const Xe=[],kt=me.children;for(let Wt=0;Wt0;Wt--)se[Wt]&&(Xe[Wt]=kt,kt+=me[Wt]);return Xe}}const K=new n.InjectionToken("CDK_SPL");let Te=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","rowOutlet",""]]}),O})(),et=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||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(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","footerRowOutlet",""]]}),O})(),_e=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","noDataRowOutlet",""]]}),O})(),mt=(()=>{class O{get trackBy(){return this._trackByFn}set trackBy(se){this._trackByFn=se}get dataSource(){return this._dataSource}set dataSource(se){this._dataSource!==se&&this._switchDataSource(se)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(se){this._multiTemplateDataRows=(0,d.Ig)(se),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(se){this._fixedLayout=(0,d.Ig)(se),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(se,Xe,kt,Wt,un,gn,pn,si,jn,Fn,bi,Ti){this._differs=se,this._changeDetectorRef=Xe,this._elementRef=kt,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((se,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(se=>{se.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 se=this._dataDiffer.diff(this._renderRows);if(!se)return this._updateNoDataRow(),void this.contentChanged.next();const Xe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(se,Xe,(kt,Wt,un)=>this._getEmbeddedViewArgs(kt.item,un),kt=>kt.item.data,kt=>{1===kt.operation&&kt.context&&this._renderCellTemplateForItem(kt.record.item.rowDef,kt.context)}),this._updateRowIndexContext(),se.forEachIdentityChange(kt=>{Xe.get(kt.currentIndex).context.$implicit=kt.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(se){this._customColumnDefs.add(se)}removeColumnDef(se){this._customColumnDefs.delete(se)}addRowDef(se){this._customRowDefs.add(se)}removeRowDef(se){this._customRowDefs.delete(se)}addHeaderRowDef(se){this._customHeaderRowDefs.add(se),this._headerRowDefChanged=!0}removeHeaderRowDef(se){this._customHeaderRowDefs.delete(se),this._headerRowDefChanged=!0}addFooterRowDef(se){this._customFooterRowDefs.add(se),this._footerRowDefChanged=!0}removeFooterRowDef(se){this._customFooterRowDefs.delete(se),this._footerRowDefChanged=!0}setNoDataRow(se){this._customNoDataRow=se}updateStickyHeaderRowStyles(){const se=this._getRenderedRows(this._headerRowOutlet),kt=this._elementRef.nativeElement.querySelector("thead");kt&&(kt.style.display=se.length?"":"none");const Wt=this._headerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(se,["top"]),this._stickyStyler.stickRows(se,Wt,"top"),this._headerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyFooterRowStyles(){const se=this._getRenderedRows(this._footerRowOutlet),kt=this._elementRef.nativeElement.querySelector("tfoot");kt&&(kt.style.display=se.length?"":"none");const Wt=this._footerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(se,["bottom"]),this._stickyStyler.stickRows(se,Wt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Wt),this._footerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyColumnStyles(){const se=this._getRenderedRows(this._headerRowOutlet),Xe=this._getRenderedRows(this._rowOutlet),kt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...se,...Xe,...kt],["left","right"]),this._stickyColumnStylesNeedReset=!1),se.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 se=[],Xe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let kt=0;kt{const gn=kt&&kt.has(un)?kt.get(un):[];if(gn.length){const pn=gn.shift();return pn.dataIndex=Xe,pn}return{data:se,rowDef:un,dataIndex:Xe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Pt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Xe=>{this._columnDefsByName.has(Xe.name),this._columnDefsByName.set(Xe.name,Xe)})}_cacheRowDefs(){this._headerRowDefs=Pt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Pt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Pt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const se=this._rowDefs.filter(Xe=>!Xe.when);this._defaultRowDef=se[0]}_renderUpdatedColumns(){const se=(un,gn)=>un||!!gn.getColumnsDiff(),Xe=this._rowDefs.reduce(se,!1);Xe&&this._forceRenderDataRows();const kt=this._headerRowDefs.reduce(se,!1);kt&&this._forceRenderHeaderRows();const Wt=this._footerRowDefs.reduce(se,!1);return Wt&&this._forceRenderFooterRows(),Xe||kt||Wt}_switchDataSource(se){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),se||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=se}_observeRenderChanges(){if(!this.dataSource)return;let se;(0,g.Z9)(this.dataSource)?se=this.dataSource.connect(this):(0,p.b)(this.dataSource)?se=this.dataSource:Array.isArray(this.dataSource)&&(se=(0,_.of)(this.dataSource)),this._renderChangeSubscription=se.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((se,Xe)=>this._renderRow(this._headerRowOutlet,se,Xe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((se,Xe)=>this._renderRow(this._footerRowOutlet,se,Xe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(se,Xe){const kt=Array.from(Xe.columns||[]).map(gn=>this._columnDefsByName.get(gn)),Wt=kt.map(gn=>gn.sticky),un=kt.map(gn=>gn.stickyEnd);this._stickyStyler.updateStickyColumns(se,Wt,un,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(se){const Xe=[];for(let kt=0;kt!Wt.when||Wt.when(Xe,se));else{let Wt=this._rowDefs.find(un=>un.when&&un.when(Xe,se))||this._defaultRowDef;Wt&&kt.push(Wt)}return kt}_getEmbeddedViewArgs(se,Xe){return{templateRef:se.rowDef.template,context:{$implicit:se.data},index:Xe}}_renderRow(se,Xe,kt,Wt={}){const un=se.viewContainer.createEmbeddedView(Xe.template,Wt,kt);return this._renderCellTemplateForItem(Xe,Wt),un}_renderCellTemplateForItem(se,Xe){for(let kt of this._getCellTemplates(se))tt.mostRecentCellOutlet&&tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(kt,Xe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const se=this._rowOutlet.viewContainer;for(let Xe=0,kt=se.length;Xe{const kt=this._columnDefsByName.get(Xe);return se.extractCellTemplate(kt)}):[]}_applyNativeTableSections(){const se=this._document.createDocumentFragment(),Xe=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const kt of Xe){const Wt=this._document.createElement(kt.tag);Wt.setAttribute("role","rowgroup");for(const un of kt.outlets)Wt.appendChild(un.elementRef.nativeElement);se.appendChild(Wt)}this._elementRef.nativeElement.appendChild(se)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const se=(Xe,kt)=>Xe||kt.hasStickyChanged();this._headerRowDefs.reduce(se,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(se,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(se,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Lt(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(se){return se.filter(Xe=>!Xe._table||Xe._table===this)}_updateNoDataRow(){const se=this._customNoDataRow||this._noDataRow;if(!se)return;const Xe=0===this._rowOutlet.viewContainer.length;if(Xe===this._isShowingNoDataRow)return;const kt=this._noDataRowOutlet.viewContainer;if(Xe){const Wt=kt.createEmbeddedView(se.templateRef),un=Wt.rootNodes[0];1===Wt.rootNodes.length&&un?.nodeType===this._document.ELEMENT_NODE&&(un.setAttribute("role","row"),un.classList.add(se._contentClassName))}else kt.clear();this._isShowingNoDataRow=Xe}}return O.\u0275fac=function(se){return new(se||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(h.DOCUMENT),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(g.k),n.\u0275\u0275directiveInject(we),n.\u0275\u0275directiveInject(f.rL),n.\u0275\u0275directiveInject(K,12),n.\u0275\u0275directiveInject(n.NgZone,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(se,Xe,kt){if(1&se&&(n.\u0275\u0275contentQuery(kt,Bt,5),n.\u0275\u0275contentQuery(kt,Re,5),n.\u0275\u0275contentQuery(kt,Ge,5),n.\u0275\u0275contentQuery(kt,ve,5),n.\u0275\u0275contentQuery(kt,Qe,5)),2&se){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(se,Xe){if(1&se&&(n.\u0275\u0275viewQuery(Te,7),n.\u0275\u0275viewQuery(et,7),n.\u0275\u0275viewQuery(Dt,7),n.\u0275\u0275viewQuery(_e,7)),2&se){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._rowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._headerRowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._footerRowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._noDataRowOutlet=kt.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(se,Xe){2&se&&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:K,useValue:null}])],ngContentSelectors:D,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,Xe){1&se&&(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,et,Dt,_e],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),O})();function Pt(O,me){return O.concat(Array.from(me))}let Ft=(()=>{class O{get name(){return this._name}set name(se){this._name=se,this._syncColumnDefName()}constructor(se,Xe){this._table=se,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||((se,Xe)=>se[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 se=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(se):se[0].toUpperCase()+se.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(mt,8),n.\u0275\u0275directiveInject($,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-text-column"]],viewQuery:function(se,Xe){if(1&se&&(n.\u0275\u0275viewQuery(Re,7),n.\u0275\u0275viewQuery(ee,7),n.\u0275\u0275viewQuery(ie,7)),2&se){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.columnDef=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.cell=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.headerCell=kt.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(se,Xe){1&se&&(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,de],encapsulation:2}),O})(),Oe=(()=>{class O{}return O.\u0275fac=function(se){return new(se||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.Cl]}),O})();var Ke=a(3680),he=a(3019),ge=a(2572),ct=a(7398);class bt 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=(se,Xe)=>{const kt=se[Xe];if((0,d.t6)(kt)){const Wt=Number(kt);return Wt<9007199254740991?Wt:kt}return kt},this.sortData=(se,Xe)=>{const kt=Xe.active,Wt=Xe.direction;return kt&&""!=Wt?se.sort((un,gn)=>{let pn=this.sortingDataAccessor(un,kt),si=this.sortingDataAccessor(gn,kt);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 kt=Object.keys(se).reduce((un,gn)=>un+se[gn]+"\u25ec","").toLowerCase(),Wt=Xe.trim().toLowerCase();return-1!=kt.indexOf(Wt)},this._data=new b.X(me),this._updateChangeSubscription()}_updateChangeSubscription(){const me=this._sort?(0,he.T)(this._sort.sortChange,this._sort.initialized):(0,_.of)(null),se=this._paginator?(0,he.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,_.of)(null),kt=(0,ge.a)([this._data,this._filter]).pipe((0,ct.U)(([gn])=>this._filterData(gn))),Wt=(0,ge.a)([kt,me]).pipe((0,ct.U)(([gn])=>this._orderData(gn))),un=(0,ge.a)([Wt,se]).pipe((0,ct.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(se=>this.filterPredicate(se,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 se=this.paginator.pageIndex*this.paginator.pageSize;return me.slice(se,se+this.paginator.pageSize)}_updatePaginator(me){Promise.resolve().then(()=>{const se=this.paginator;if(se&&(se.length=me,se.pageIndex>0)){const Xe=Math.ceil(se.length/se.pageSize)-1||0,kt=Math.min(se.pageIndex,Xe);kt!==se.pageIndex&&(se.pageIndex=kt,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 se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",se.headerText," ")}}function sn(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const se=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(se,Xe.name)," ")}}let Nn=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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 mt{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(se,Xe){2&se&&n.\u0275\u0275classProp("mat-table-fixed-layout",Xe.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:g.k,useClass:g.yy},{provide:mt,useExisting:O},{provide:X,useExisting:O},{provide:we,useClass:Ee},{provide:K,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:nn,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,Xe){1&se&&(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,et,Dt,_e],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(se){this._setNameInput(se)}_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 de{}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 ve{}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:ve,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 Ge{}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:Ge,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),Yn=(()=>{class O extends Ct{}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:Ct,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),wi=(()=>{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-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Nt,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),ri=(()=>{class O extends _t{}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:_t,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&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 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-text-column"]],hostVars:1,hostBindings:function(se,Xe){2&se&&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(se,Xe){1&se&&(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(se){return new(se||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[Oe,Ke.MatCommonModule,Ke.MatCommonModule]}),O})();class ke extends bt{}},8615:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_TAB:()=>at,MAT_LEGACY_TABS_CONFIG:()=>Me,MAT_LEGACY_TAB_CONTENT:()=>Le,MAT_LEGACY_TAB_GROUP:()=>mt,MatLegacyInkBar:()=>_i,MatLegacyPaginatedTabHeader:()=>he,MatLegacyTab:()=>$n,MatLegacyTabBody:()=>an,MatLegacyTabBodyPortal:()=>ti,MatLegacyTabChangeEvent:()=>Q,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:()=>ce,_MatLegacyTabBase:()=>Pt,_MatLegacyTabBodyBase:()=>Tt,_MatLegacyTabGroupBase:()=>F,_MatLegacyTabHeaderBase:()=>ge,_MatLegacyTabLinkBase:()=>qe,_MatLegacyTabNavBase:()=>dt,matLegacyTabsAnimations:()=>_t});var n=a(4300),c=a(7131),d=a(8484),g=a(6814),r=a(5879),f=a(3680),h=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),Ce=a(2831),Re=a(6028);function Ae(Mt,jt){}const de=function(Mt){return{animationDuration:Mt}},H=function(Mt,jt){return{value:Mt,params:jt}},_t={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 Mt extends d.Pl{constructor(ke,O,me,se){super(ke,O,se),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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Lt)),r.\u0275\u0275directiveInject(g.DOCUMENT))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),Tt=(()=>{class Mt{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(se=>{this._computePositionAnimationState(se),me.markForCheck()})),this._translateTabComplete.pipe((0,E.x)((se,Xe)=>se.fromState===Xe.fromState&&se.toState===Xe.toState)).subscribe(se=>{this._isCenterPosition(se.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(se.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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Mt})(),Lt=(()=>{class Mt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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(se){return O._onTranslateTabStarted(se)})("@translateTab.done",function(se){return O._translateTabComplete.next(se)}),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,de,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:[_t.translateTab]}}),Mt})();const Le=new r.InjectionToken("MatTabContent");let lt=(()=>{class Mt{constructor(ke){this.template=ke}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.TemplateRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Mt}])]}),Mt})();const ze=new r.InjectionToken("MatTabLabel"),at=new r.InjectionToken("MAT_TAB");let N=(()=>{class Mt extends d.ig{constructor(ke,O,me){super(ke,O),this._closestTab=me}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(at,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})();function ce(){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:ce}),et=(0,f.mixinDisabled)(class{});let Dt=(()=>{class Mt extends et{constructor(ke){super(),this.elementRef=ke}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();const Pe=(0,f.mixinDisabled)(class{}),mt=new r.InjectionToken("MAT_TAB_GROUP");let Pt=(()=>{class Mt extends Pe{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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(mt,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})();const Gt=(0,Ce.i$)({passive:!0});let he=(()=>{class Mt{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,se,Xe,kt,Wt){this._elementRef=ke,this._changeDetectorRef=O,this._viewportRuler=me,this._dir=se,this._ngZone=Xe,this._platform=kt,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",Gt).pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,p.R)(this._nextPaginator.nativeElement,"touchstart",Gt).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,h.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(se=>{this.indexFocused.emit(se),this._setTabFocus(se)})}_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(se=>O.next(se));return ke.forEach(se=>me.observe(se.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:se,offsetWidth:Xe}=O.elementRef.nativeElement;let kt,Wt;"ltr"==this._getLayoutDirection()?(kt=se,Wt=kt+Xe):(Wt=this._tabListInner.nativeElement.offsetWidth-se,kt=Wt-Xe);const un=this.scrollDistance,gn=this.scrollDistance+me;ktgn&&(this.scrollDistance+=Math.min(Wt-gn,kt-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:se}=this._scrollHeader(ke);(0===se||se>=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 Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{disablePagination:"disablePagination"}}),Mt})(),ge=(()=>{class Mt extends he{get disableRipple(){return this._disableRipple}set disableRipple(ke){this._disableRipple=(0,A.Ig)(ke)}constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt),this._disableRipple=!1}_itemSelected(ke){ke.preventDefault()}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();const Me=new r.InjectionToken("MAT_TABS_CONFIG");let Ye=0;const De=(0,f.mixinColor)((0,f.mixinDisableRipple)(class{constructor(Mt){this._elementRef=Mt}}),"primary");let F=(()=>{class Mt 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,se){super(ke),this._changeDetectorRef=O,this._animationMode=se,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,se)=>me.isActive=se===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 se=0;se{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 Q;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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Me,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})();class Q{}let be=0,dt=(()=>{class Mt extends he{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,se,Xe,kt,Wt){super(ke,se,Xe,O,me,kt,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 Mt extends Rt{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,se,Xe,kt){super(),this._tabNavBar=ke,this.elementRef=O,this._focusMonitor=Xe,this._isActive=!1,this.id="mat-tab-link-"+be++,this.rippleConfig=me||{},this.tabIndex=parseInt(se)||0,"NoopAnimations"===kt&&(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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(dt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{active:"active",id:"id"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();function xn(Mt,jt){1&Mt&&r.\u0275\u0275projection(0)}const Sn=["*"];function _n(Mt,jt){}const Mn=function(Mt){return{animationDuration:Mt}},xi=function(Mt,jt){return{value:Mt,params:jt}},fi=["tabListContainer"],Vi=["tabList"],Yi=["tabListInner"],xt=["nextPaginator"],bt=["previousPaginator"],pt=["tabBodyWrapper"],qt=["tabHeader"];function nn(Mt,jt){}function cn(Mt,jt){if(1&Mt&&r.\u0275\u0275template(0,nn,0,0,"ng-template",10),2&Mt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",ke.templateLabel)}}function sn(Mt,jt){if(1&Mt&&r.\u0275\u0275text(0),2&Mt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(ke.textLabel)}}function Nn(Mt,jt){if(1&Mt){const ke=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const me=r.\u0275\u0275restoreView(ke),se=me.$implicit,Xe=me.index,kt=r.\u0275\u0275nextContext(),Wt=r.\u0275\u0275reference(1);return r.\u0275\u0275resetView(kt._handleClick(se,Wt,Xe))})("cdkFocusChange",function(me){const Xe=r.\u0275\u0275restoreView(ke).index,kt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(kt._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&Mt){const ke=jt.$implicit,O=jt.index,me=r.\u0275\u0275reference(4),se=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",se.selectedIndex===O),r.\u0275\u0275property("id",se._getTabLabelId(O))("ngClass",ke.labelClass)("disabled",ke.disabled)("matRippleDisabled",ke.disabled||se.disableRipple),r.\u0275\u0275attribute("tabIndex",se._getTabIndex(O))("aria-posinset",O+1)("aria-setsize",se._tabs.length)("aria-controls",se._getTabContentId(O))("aria-selected",se.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(Mt,jt){if(1&Mt){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 se=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(se._setTabBodyWrapperHeight(me))}),r.\u0275\u0275elementEnd()}if(2&Mt){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 Mt{constructor(ke,O,me,se){this._elementRef=ke,this._ngZone=O,this._inkBarPositioner=me,this._animationMode=se}alignToElement(ke){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,h.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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Te),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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)}}),Mt})(),$n=(()=>{class Mt extends Pt{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(ke){this._setTemplateLabelInput(ke)}}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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 se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O.templateLabel=se.first),r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._explicitContent=se.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:Mt}]),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}),Mt})(),ti=(()=>{class Mt extends Bt{constructor(ke,O,me,se){super(ke,O,me,se)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>an)),r.\u0275\u0275directiveInject(g.DOCUMENT))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),an=(()=>{class Mt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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(se){return O._onTranslateTabStarted(se)})("@translateTab.done",function(se){return O._translateTabComplete.next(se)}),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:[_t.translateTab]}}),Mt})(),mn=(()=>{class Mt extends Dt{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})(),Tn=(()=>{class Mt extends ge{constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["mat-tab-header"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,mn,4),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._items=se)}},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(xt,5),r.\u0275\u0275viewQuery(bt,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(se){return O._handlePaginatorPress("before",se)})("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(se){return O._handleKeydown(se)}),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(se){return O._handlePaginatorPress("after",se)})("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:[f.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}),Mt})(),Rn=(()=>{class Mt extends F{constructor(ke,O,me,se){super(ke,O,me,se)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Me,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["mat-tab-group"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,$n,5),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._allTabs=se)}},viewQuery:function(ke,O){if(1&ke&&(r.\u0275\u0275viewQuery(pt,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:mt,useExisting:Mt}]),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(se){return O._focusChanged(se)})("selectFocusedIndex",function(se){return O.selectedIndex=se}),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,f.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}),Mt})(),Wn=0,mi=(()=>{class Mt extends dt{constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,Yn,5),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._items=se)}},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(xt,5),r.\u0275\u0275viewQuery(bt,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(se){return O._handlePaginatorPress("before",se)})("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(se){return O._handleKeydown(se)}),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(se){return O._handlePaginatorPress("after",se)})("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:[f.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}),Mt})(),Yn=(()=>{class Mt extends qe{constructor(ke,O,me,se,Xe,kt,Wt,un){super(ke,O,Xe,kt,Wt,un),this._tabLinkRipple=new f.RippleRenderer(this,me,O,se),this._tabLinkRipple.setupTriggerEvents(O.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(mi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Ce.t4),r.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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(se){return O._handleKeydown(se)}),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]}),Mt})(),wi=(()=>{class Mt{constructor(){this.id="mat-tab-nav-panel-"+Wn++}}return Mt.\u0275fac=function(ke){return new(ke||Mt)},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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}),Mt})(),ri=(()=>{class Mt extends N{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),ai=(()=>{class Mt extends lt{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),Ni=(()=>{class Mt{}return Mt.\u0275fac=function(ke){return new(ke||Mt)},Mt.\u0275mod=r.\u0275\u0275defineNgModule({type:Mt}),Mt.\u0275inj=r.\u0275\u0275defineInjector({imports:[g.CommonModule,f.MatCommonModule,d.eL,f.MatRippleModule,c.Q8,n.rt,f.MatCommonModule]}),Mt})()},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"]]],f=["*","mat-toolbar-row"],h=(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 h{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:f,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:()=>We});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 Ge(je,T,P=new Map,ue=new Map){const Fe=[],it=[];let It=-1,Et=null;if(T.forEach(Qt=>{const en=Qt.get("offset"),In=en==It,Ln=In&&Et||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=ue.get(li);break;default:ii=je.normalizeStyleValue(li,Gn,ii,Fe)}Ln.set(Gn,ii)}),In||it.push(Ln),Et=Ln,It=en}),Fe.length)throw function de(je){return new n.\u0275RuntimeError(3502,!1)}();return it}function tt(je,T,P,ue){switch(T){case"start":je.onStart(()=>ue(P&&Ct(P,"start",je)));break;case"done":je.onDone(()=>ue(P&&Ct(P,"done",je)));break;case"destroy":je.onDestroy(()=>ue(P&&Ct(P,"destroy",je)))}}function Ct(je,T,P){const it=Nt(je.element,je.triggerName,je.fromState,je.toState,T||je.phaseName,P.totalTime??je.totalTime,!!P.disabled),It=je._data;return null!=It&&(it._data=It),it}function Nt(je,T,P,ue,Fe="",it=0,It){return{element:je,triggerName:T,fromState:P,toState:ue,phaseName:Fe,totalTime:it,disabled:!!It}}function _t(je,T,P){let ue=je.get(T);return ue||je.set(T,ue=P),ue}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 Lt(je){const T=je.parentNode||je.host||null;return T===Tt?null:T}let lt=null,ze=!1;function Y(je,T){for(;T;){if(T===je)return!0;T=Lt(T)}return!1}function ne(je,T,P){if(P)return Array.from(je.querySelectorAll(T));const ue=je.querySelector(T);return ue?[ue]:[]}let ce=(()=>{class je{validateStyleProperty(P){return function at(je){lt||(lt=function oe(){return typeof document<"u"?document.body:null}()||{},ze=!!lt.style&&"WebkitAppearance"in lt.style);let T=!0;return lt.style&&!function Le(je){return"ebkit"==je.substring(1,6)}(je)&&(T=je in lt.style,!T&&ze&&(T="Webkit"+je.charAt(0).toUpperCase()+je.slice(1)in lt.style)),T}(P)}matchesElement(P,ue){return!1}containsElement(P,ue){return Y(P,ue)}getParentElement(P){return Lt(P)}query(P,ue,Fe){return ne(P,ue,Fe)}computeStyle(P,ue,Fe){return Fe||""}animate(P,ue,Fe,it,It,Et=[],Qt){return new d.ZN(Fe,it)}}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 ce,je})();const et=1e3,ut="ng-enter",Pe="ng-leave",mt="ng-trigger",Pt=".ng-trigger",Ft="ng-animating",Gt=".ng-animating";function Oe(je){if("number"==typeof je)return je;const T=je.match(/^(-?[\.\d]+)(m?s)/);return!T||T.length<2?0:Ke(parseFloat(T[1]),T[2])}function Ke(je,T){return"s"===T?je*et:je}function he(je,T,P){return je.hasOwnProperty("duration")?je:function ge(je,T,P){let Fe,it=0,It="";if("string"==typeof je){const Et=je.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Et)return T.push(r()),{duration:0,delay:0,easing:""};Fe=Ke(parseFloat(Et[1]),Et[2]);const Qt=Et[3];null!=Qt&&(it=Ke(parseFloat(Qt),Et[4]));const en=Et[5];en&&(It=en)}else Fe=je;if(!P){let Et=!1,Qt=T.length;Fe<0&&(T.push(function f(){return new n.\u0275RuntimeError(3100,!1)}()),Et=!0),it<0&&(T.push(function h(){return new n.\u0275RuntimeError(3101,!1)}()),Et=!0),Et&&T.splice(Qt,0,r())}return{duration:Fe,delay:it,easing:It}}(je,T,P)}function ct(je,T={}){return Object.keys(je).forEach(P=>{T[P]=je[P]}),T}function Me(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[ue,Fe]of P)T.set(ue,Fe);for(let[ue,Fe]of je)T.set(ue,Fe);return T}function V(je,T,P){T.forEach((ue,Fe)=>{const it=At(Fe);P&&!P.has(Fe)&&P.set(Fe,je.style[it]),je.style[it]=ue})}function Q(je,T){T.forEach((P,ue)=>{const Fe=At(ue);je.style[Fe]=""})}function be(je){return Array.isArray(je)?1==je.length?je[0]:(0,d.vP)(je):je}const Rt=new RegExp("{{\\s*(.+?)\\s*}}","g");function qe(je){let T=[];if("string"==typeof je){let P;for(;P=Rt.exec(je);)T.push(P[1]);Rt.lastIndex=0}return T}function nt(je,T,P){const ue=je.toString(),Fe=ue.replace(Rt,(it,It)=>{let Et=T[It];return null==Et&&(P.push(function v(je){return new n.\u0275RuntimeError(3003,!1)}()),Et=""),Et.toString()});return Fe==ue?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 At(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 pt="*";function qt(je,T){const P=[];return"string"==typeof je?je.split(/\s*,\s*/).forEach(ue=>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,ue)=>parseFloat(ue)>parseFloat(P);case":decrement":return(P,ue)=>parseFloat(ue) *"}}(je,P);if("function"==typeof Qt)return void T.push(Qt);je=Qt}const ue=je.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==ue||ue.length<4)return P.push(function A(je){return new n.\u0275RuntimeError(3015,!1)}()),T;const Fe=ue[1],it=ue[2],It=ue[3];T.push(wn(Fe,It));"<"==it[0]&&!(Fe==pt&&It==pt)&&T.push(wn(It,Fe))}(ue,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),ue=sn.has(T)||Nn.has(T);return(Fe,it)=>{let It=je==pt||je==Fe,Et=T==pt||T==it;return!It&&P&&"boolean"==typeof Fe&&(It=Fe?sn.has(je):Nn.has(je)),!Et&&ue&&"boolean"==typeof it&&(Et=it?sn.has(T):Nn.has(T)),It&&Et}}const _i=new RegExp("s*:selfs*,?","g");function $n(je,T,P,ue){return new an(je).build(T,P,ue)}class an{constructor(T){this._driver=T}build(T,P,ue){const Fe=new Rn(P);return this._resetContextStyleTimingState(Fe),_n(this,be(T),Fe)}_resetContextStyleTimingState(T){T.currentQuerySelector="",T.collectedStyles=new Map,T.collectedStyles.set("",new Map),T.currentTime=0}visitTrigger(T,P){let ue=P.queryCount=0,Fe=P.depCount=0;const it=[],It=[];return"@"==T.name.charAt(0)&&P.errors.push(function _(){return new n.\u0275RuntimeError(3006,!1)}()),T.definitions.forEach(Et=>{if(this._resetContextStyleTimingState(P),0==Et.type){const Qt=Et,en=Qt.name;en.toString().split(/\s*,\s*/).forEach(In=>{Qt.name=In,it.push(this.visitState(Qt,P))}),Qt.name=en}else if(1==Et.type){const Qt=this.visitTransition(Et,P);ue+=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:it,transitions:It,queryCount:ue,depCount:Fe,options:null}}visitState(T,P){const ue=this.visitStyle(T.styles,P),Fe=T.options&&T.options.params||null;if(ue.containsDynamicStyles){const it=new Set,It=Fe||{};ue.styles.forEach(Et=>{Et instanceof Map&&Et.forEach(Qt=>{qe(Qt).forEach(en=>{It.hasOwnProperty(en)||it.add(en)})})}),it.size&&(Ve(it.values()),P.errors.push(function y(je,T){return new n.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:T.name,style:ue,options:Fe?{params:Fe}:null}}visitTransition(T,P){P.queryCount=0,P.depCount=0;const ue=_n(this,be(T.animation),P);return{type:1,matchers:qt(T.expr,P.errors),animation:ue,queryCount:P.queryCount,depCount:P.depCount,options:Yn(T.options)}}visitSequence(T,P){return{type:2,steps:T.steps.map(ue=>_n(this,ue,P)),options:Yn(T.options)}}visitGroup(T,P){const ue=P.currentTime;let Fe=0;const it=T.steps.map(It=>{P.currentTime=ue;const Et=_n(this,It,P);return Fe=Math.max(Fe,P.currentTime),Et});return P.currentTime=Fe,{type:3,steps:it,options:Yn(T.options)}}visitAnimate(T,P){const ue=function mi(je,T){if(je.hasOwnProperty("duration"))return je;if("number"==typeof je)return wi(he(je,T).duration,0,"");const P=je;if(P.split(/\s+/).some(it=>"{"==it.charAt(0)&&"{"==it.charAt(1))){const it=wi(0,0,"");return it.dynamic=!0,it.strValue=P,it}const Fe=he(P,T);return wi(Fe.duration,Fe.delay,Fe.easing)}(T.timings,P.errors);P.currentAnimateTimings=ue;let Fe,it=T.styles?T.styles:(0,d.oB)({});if(5==it.type)Fe=this.visitKeyframes(it,P);else{let It=T.styles,Et=!1;if(!It){Et=!0;const en={};ue.easing&&(en.easing=ue.easing),It=(0,d.oB)(en)}P.currentTime+=ue.duration+ue.delay;const Qt=this.visitStyle(It,P);Qt.isEmptyStep=Et,Fe=Qt}return P.currentAnimateTimings=null,{type:4,timings:ue,style:Fe,options:null}}visitStyle(T,P){const ue=this._makeStyleAst(T,P);return this._validateStyleAst(ue,P),ue}_makeStyleAst(T,P){const ue=[],Fe=Array.isArray(T.styles)?T.styles:[T.styles];for(let Et of Fe)"string"==typeof Et?Et===d.l3?ue.push(Et):P.errors.push(new n.\u0275RuntimeError(3002,!1)):ue.push(Me(Et));let it=!1,It=null;return ue.forEach(Et=>{if(Et instanceof Map&&(Et.has("easing")&&(It=Et.get("easing"),Et.delete("easing")),!it))for(let Qt of Et.values())if(Qt.toString().indexOf("{{")>=0){it=!0;break}}),{type:6,styles:ue,easing:It,offset:T.offset,containsDynamicStyles:it,options:null}}_validateStyleAst(T,P){const ue=P.currentAnimateTimings;let Fe=P.currentTime,it=P.currentTime;ue&&it>0&&(it-=ue.duration+ue.delay),T.styles.forEach(It=>{"string"!=typeof It&&It.forEach((Et,Qt)=>{const en=P.collectedStyles.get(P.currentQuerySelector),In=en.get(Qt);let Ln=!0;In&&(it!=Fe&&it>=In.startTime&&Fe<=In.endTime&&(P.errors.push(function S(je,T,P,ue,Fe){return new n.\u0275RuntimeError(3010,!1)}()),Ln=!1),it=In.startTime),Ln&&en.set(Qt,{startTime:it,endTime:Fe}),P.options&&function dt(je,T,P){const ue=T.params||{},Fe=qe(je);Fe.length&&Fe.forEach(it=>{ue.hasOwnProperty(it)||P.push(function u(je){return new n.\u0275RuntimeError(3001,!1)}())})}(Et,P.options,P.errors)})})}visitKeyframes(T,P){const ue={type:5,styles:[],options:null};if(!P.currentAnimateTimings)return P.errors.push(function E(){return new n.\u0275RuntimeError(3011,!1)}()),ue;let it=0;const It=[];let Et=!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 ue=P;T=parseFloat(ue.get("offset")),ue.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&&(it++,nr=Ki.offset=sr),Qt=Qt||nr<0||nr>1,Et=Et||nr0&&it{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,ue.styles.push(qi)}),ue}visitReference(T,P){return{type:8,animation:_n(this,be(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 ue=P.currentQuerySelector,Fe=T.options||{};P.queryCount++,P.currentQuery=T;const[it,It]=function mn(je){const T=!!je.split(/\s*,\s*/).find(P=>":self"==P);return T&&(je=je.replace(_i,"")),je=je.replace(/@\*/g,Pt).replace(/@\w+/g,P=>Pt+"-"+P.slice(1)).replace(/:animating/g,Gt),[je,T]}(T.selector);P.currentQuerySelector=ue.length?ue+" "+it:it,_t(P.collectedStyles,P.currentQuerySelector,new Map);const Et=_n(this,be(T.animation),P);return P.currentQuery=null,P.currentQuerySelector=ue,{type:11,selector:it,limit:Fe.limit||0,optional:!!Fe.optional,includeSelf:It,animation:Et,originalSelector:T.selector,options:Yn(T.options)}}visitStagger(T,P){P.currentQuery||P.errors.push(function ee(){return new n.\u0275RuntimeError(3013,!1)}());const ue="full"===T.timings?{duration:0,delay:0,easing:"full"}:he(T.timings,P.errors,!0);return{type:12,animation:_n(this,be(T.animation),P),timings:ue,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=ct(je)).params&&(je.params=function Tn(je){return je?ct(je):null}(je.params)):je={},je}function wi(je,T,P){return{duration:je,delay:T,easing:P}}function ri(je,T,P,ue,Fe,it,It=null,Et=!1){return{type:1,element:je,keyframes:T,preStyleProps:P,postStyleProps:ue,duration:Fe,delay:it,totalTime:Fe+it,easing:It,subTimeline:Et}}class ai{constructor(){this._map=new Map}get(T){return this._map.get(T)||[]}append(T,P){let ue=this._map.get(T);ue||this._map.set(T,ue=[]),ue.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,ue,Fe,it=new Map,It=new Map,Et,Qt,en=[]){return(new se).buildKeyframes(je,T,P,ue,Fe,it,It,Et,Qt,en)}class se{buildKeyframes(T,P,ue,Fe,it,It,Et,Qt,en,In=[]){en=en||new ai;const Ln=new kt(T,P,en,Fe,it,In,[]);Ln.options=Qt;const pi=Qt.delay?Oe(Qt.delay):0;Ln.currentTimeline.delayNextStep(pi),Ln.currentTimeline.setStyles([It],null,Ln.errors,Qt),_n(this,ue,Ln);const li=Ln.timelines.filter(Gn=>Gn.containsAnimation());if(li.length&&Et.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([Et],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 ue=P.subInstructions.get(P.element);if(ue){const Fe=P.createSubContext(T.options),it=P.currentTimeline.currentTime,It=this._visitSubInstructions(ue,Fe,Fe.options);it!=It&&P.transformIntoNewTimeline(It)}P.previousNode=T}visitAnimateRef(T,P){const ue=P.createSubContext(T.options);ue.transformIntoNewTimeline(),this._applyAnimationRefDelays([T.options,T.animation.options],P,ue),this.visitReference(T.animation,ue),P.transformIntoNewTimeline(ue.currentTimeline.currentTime),P.previousNode=T}_applyAnimationRefDelays(T,P,ue){for(const Fe of T){const it=Fe?.delay;if(it){const It="number"==typeof it?it:Oe(nt(it,Fe?.params??{},P.errors));ue.delayNextStep(It)}}}_visitSubInstructions(T,P,ue){let it=P.currentTimeline.currentTime;const It=null!=ue.duration?Oe(ue.duration):null,Et=null!=ue.delay?Oe(ue.delay):null;return 0!==It&&T.forEach(Qt=>{const en=P.appendInstructionToTimeline(Qt,It,Et);it=Math.max(it,en.duration+en.delay)}),it}visitReference(T,P){P.updateOptions(T.options,!0),_n(this,T.animation,P),P.previousNode=T}visitSequence(T,P){const ue=P.subContextCount;let Fe=P;const it=T.options;if(it&&(it.params||it.delay)&&(Fe=P.createSubContext(it),Fe.transformIntoNewTimeline(),null!=it.delay)){6==Fe.previousNode.type&&(Fe.currentTimeline.snapshotCurrentStyles(),Fe.previousNode=Xe);const It=Oe(it.delay);Fe.delayNextStep(It)}T.steps.length&&(T.steps.forEach(It=>_n(this,It,Fe)),Fe.currentTimeline.applyStylesToKeyframe(),Fe.subContextCount>ue&&Fe.transformIntoNewTimeline()),P.previousNode=T}visitGroup(T,P){const ue=[];let Fe=P.currentTimeline.currentTime;const it=T.options&&T.options.delay?Oe(T.options.delay):0;T.steps.forEach(It=>{const Et=P.createSubContext(T.options);it&&Et.delayNextStep(it),_n(this,It,Et),Fe=Math.max(Fe,Et.currentTimeline.currentTime),ue.push(Et.currentTimeline)}),ue.forEach(It=>P.currentTimeline.mergeTimelineCollectedStyles(It)),P.transformIntoNewTimeline(Fe),P.previousNode=T}_visitTiming(T,P){if(T.dynamic){const ue=T.strValue;return he(P.params?nt(ue,P.params,P.errors):ue,P.errors)}return{duration:T.duration,delay:T.delay,easing:T.easing}}visitAnimate(T,P){const ue=P.currentAnimateTimings=this._visitTiming(T.timings,P),Fe=P.currentTimeline;ue.delay&&(P.incrementTime(ue.delay),Fe.snapshotCurrentStyles());const it=T.style;5==it.type?this.visitKeyframes(it,P):(P.incrementTime(ue.duration),this.visitStyle(it,P),Fe.applyStylesToKeyframe()),P.currentAnimateTimings=null,P.previousNode=T}visitStyle(T,P){const ue=P.currentTimeline,Fe=P.currentAnimateTimings;!Fe&&ue.hasCurrentStyleProperties()&&ue.forwardFrame();const it=Fe&&Fe.easing||T.easing;T.isEmptyStep?ue.applyEmptyStep(it):ue.setStyles(T.styles,it,P.errors,P.options),P.previousNode=T}visitKeyframes(T,P){const ue=P.currentAnimateTimings,Fe=P.currentTimeline.duration,it=ue.duration,Et=P.createSubContext().currentTimeline;Et.easing=ue.easing,T.styles.forEach(Qt=>{Et.forwardTime((Qt.offset||0)*it),Et.setStyles(Qt.styles,Qt.easing,P.errors,P.options),Et.applyStylesToKeyframe()}),P.currentTimeline.mergeTimelineCollectedStyles(Et),P.transformIntoNewTimeline(Fe+it),P.previousNode=T}visitQuery(T,P){const ue=P.currentTimeline.currentTime,Fe=T.options||{},it=Fe.delay?Oe(Fe.delay):0;it&&(6===P.previousNode.type||0==ue&&P.currentTimeline.hasCurrentStyleProperties())&&(P.currentTimeline.snapshotCurrentStyles(),P.previousNode=Xe);let It=ue;const Et=P.invokeQuery(T.selector,T.originalSelector,T.limit,T.includeSelf,!!Fe.optional,P.errors);P.currentQueryTotal=Et.length;let Qt=null;Et.forEach((en,In)=>{P.currentQueryIndex=In;const Ln=P.createSubContext(T.options,en);it&&Ln.delayNextStep(it),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 ue=P.parentContext,Fe=P.currentTimeline,it=T.timings,It=Math.abs(it.duration),Et=It*(P.currentQueryTotal-1);let Qt=It*P.currentQueryIndex;switch(it.duration<0?"reverse":it.easing){case"reverse":Qt=Et-Qt;break;case"full":Qt=ue.currentStaggerTime}const In=P.currentTimeline;Qt&&In.delayNextStep(Qt);const Ln=In.currentTime;_n(this,T.animation,P),P.previousNode=T,ue.currentStaggerTime=Fe.currentTime-Ln+(Fe.startTime-ue.currentTimeline.startTime)}}const Xe={};class kt{constructor(T,P,ue,Fe,it,It,Et,Qt){this._driver=T,this.element=P,this.subInstructions=ue,this._enterClassName=Fe,this._leaveClassName=it,this.errors=It,this.timelines=Et,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),Et.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(T,P){if(!T)return;const ue=T;let Fe=this.options;null!=ue.duration&&(Fe.duration=Oe(ue.duration)),null!=ue.delay&&(Fe.delay=Oe(ue.delay));const it=ue.params;if(it){let It=Fe.params;It||(It=this.options.params={}),Object.keys(it).forEach(Et=>{(!P||!It.hasOwnProperty(Et))&&(It[Et]=nt(it[Et],It,this.errors))})}}_copyOptions(){const T={};if(this.options){const P=this.options.params;if(P){const ue=T.params={};Object.keys(P).forEach(Fe=>{ue[Fe]=P[Fe]})}}return T}createSubContext(T=null,P,ue){const Fe=P||this.element,it=new kt(this._driver,Fe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Fe,ue||0));return it.previousNode=this.previousNode,it.currentAnimateTimings=this.currentAnimateTimings,it.options=this._copyOptions(),it.updateOptions(T),it.currentQueryIndex=this.currentQueryIndex,it.currentQueryTotal=this.currentQueryTotal,it.parentContext=this,this.subContextCount++,it}transformIntoNewTimeline(T){return this.previousNode=Xe,this.currentTimeline=this.currentTimeline.fork(this.element,T),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(T,P,ue){const Fe={duration:P??T.duration,delay:this.currentTimeline.currentTime+(ue??0)+T.delay,easing:""},it=new un(this._driver,T.element,T.keyframes,T.preStyleProps,T.postStyleProps,Fe,T.stretchStartingKeyframe);return this.timelines.push(it),Fe}incrementTime(T){this.currentTimeline.forwardTime(this.currentTimeline.duration+T)}delayNextStep(T){T>0&&this.currentTimeline.delayNextStep(T)}invokeQuery(T,P,ue,Fe,it,It){let Et=[];if(Fe&&Et.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!=ue);0!==ue&&(en=ue<0?en.slice(en.length+ue,en.length):en.slice(0,ue)),Et.push(...en)}return!it&&0==Et.length&&It.push(function ie(je){return new n.\u0275RuntimeError(3014,!1)}()),Et}}class Wt{constructor(T,P,ue,Fe){this._driver=T,this.element=P,this.startTime=ue,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,ue]of this._globalTimelineStyles)this._backFill.set(P,ue||d.l3),this._currentKeyframe.set(P,d.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(T,P,ue,Fe){P&&this._previousKeyframe.set("easing",P);const it=Fe&&Fe.params||{},It=function pn(je,T){const P=new Map;let ue;return je.forEach(Fe=>{if("*"===Fe){ue=ue||T.keys();for(let it of ue)P.set(it,d.l3)}else F(Fe,P)}),P}(T,this._globalTimelineStyles);for(let[Et,Qt]of It){const en=nt(Qt,it,ue);this._pendingStyles.set(Et,en),this._localTimelineStyles.has(Et)||this._backFill.set(Et,this._globalTimelineStyles.get(Et)??d.l3),this._updateStyle(Et,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,ue)=>{const Fe=this._styleSummary.get(ue);(!Fe||P.time>Fe.time)&&this._updateStyle(ue,P.value)})}buildKeyframes(){this.applyStylesToKeyframe();const T=new Set,P=new Set,ue=1===this._keyframes.size&&0===this.duration;let Fe=[];this._keyframes.forEach((Et,Qt)=>{const en=F(Et,new Map,this._backFill);en.forEach((In,Ln)=>{In===d.k1?T.add(Ln):In===d.l3&&P.add(Ln)}),ue||en.set("offset",Qt/this.duration),Fe.push(en)});const it=T.size?Ve(T.values()):[],It=P.size?Ve(P.values()):[];if(ue){const Et=Fe[0],Qt=new Map(Et);Et.set("offset",0),Qt.set("offset",1),Fe=[Et,Qt]}return ri(this.element,Fe,it,It,this.duration,this.startTime,this.easing,!1)}}class un extends Wt{constructor(T,P,ue,Fe,it,It,Et=!1){super(T,P,It.delay),this.keyframes=ue,this.preStyleProps=Fe,this.postStyleProps=it,this._stretchStartingKeyframe=Et,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:ue,easing:Fe}=this.timings;if(this._stretchStartingKeyframe&&P){const it=[],It=ue+P,Et=P/It,Qt=F(T[0]);Qt.set("offset",0),it.push(Qt);const en=F(T[0]);en.set("offset",gn(Et)),it.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*ue)/It)),it.push(pi)}ue=It,P=0,Fe="",T=it}return ri(this.element,T,this.preStyleProps,this.postStyleProps,ue,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 At(T)}normalizeStyleValue(T,P,ue,Fe){let it="";const It=ue.toString().trim();if(bi.has(P)&&0!==ue&&"0"!==ue)if("number"==typeof ue)it="px";else{const Et=ue.match(/^[+-]?[\d\.]+([a-z]*)$/);Et&&0==Et[1].length&&Fe.push(function p(je,T){return new n.\u0275RuntimeError(3005,!1)}())}return It+it}}function Fi(je,T,P,ue,Fe,it,It,Et,Qt,en,In,Ln,pi){return{type:0,element:je,triggerName:T,isRemovalTransition:Fe,fromState:P,fromStyles:it,toState:ue,toStyles:It,timelines:Et,queriedElements:Qt,preStyleProps:en,postStyleProps:In,totalTime:Ln,errors:pi}}const Gi={};class fn{constructor(T,P,ue){this._triggerName=T,this.ast=P,this._stateStyles=ue}match(T,P,ue,Fe){return function tn(je,T,P,ue,Fe){return je.some(it=>it(T,P,ue,Fe))}(this.ast.matchers,T,P,ue,Fe)}buildStyles(T,P,ue){let Fe=this._stateStyles.get("*");return void 0!==T&&(Fe=this._stateStyles.get(T?.toString())||Fe),Fe?Fe.buildStyles(P,ue):new Map}build(T,P,ue,Fe,it,It,Et,Qt,en,In){const Ln=[],pi=this.ast.options&&this.ast.options.params||Gi,Gn=this.buildStyles(ue,Et&&Et.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,it,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,ue,Fe,nr,Gn,Bi,[],[],Ki,sr,rr,Ln);Mr.forEach(Er=>{const fr=Er.element,yo=_t(Ki,fr,new Set);Er.preStyleProps.forEach(Lr=>yo.add(Lr));const Yr=_t(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,ue,Fe,nr,Gn,Bi,Mr,xr,Ki,sr,rr)}}function En(je,T){const P=ct(T);for(const ue in je)je.hasOwnProperty(ue)&&null!=je[ue]&&(P[ue]=je[ue]);return P}class ei{constructor(T,P,ue){this.styles=T,this.defaultParams=P,this.normalizer=ue}buildStyles(T,P){const ue=new Map,Fe=ct(this.defaultParams);return Object.keys(T).forEach(it=>{const It=T[it];null!==It&&(Fe[it]=It)}),this.styles.styles.forEach(it=>{"string"!=typeof it&&it.forEach((It,Et)=>{It&&(It=nt(It,Fe,P));const Qt=this.normalizer.normalizePropertyName(Et,P);It=this.normalizer.normalizeStyleValue(Et,Qt,It,P),ue.set(Et,It)})}),ue}}class tr{constructor(T,P,ue){this.name=T,this.ast=P,this._normalizer=ue,this.transitionFactories=[],this.states=new Map,P.states.forEach(Fe=>{this.states.set(Fe.name,new ei(Fe.style,Fe.options&&Fe.options.params||{},ue))}),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,Et)=>!0],options:null,queryCount:0,depCount:0},T)}(T,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(T,P,ue,Fe){return this.transitionFactories.find(It=>It.match(T,P,ue,Fe))||null}matchStyles(T,P,ue){return this.fallbackTransition.buildStyles(T,P,ue)}}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,ue){this.bodyNode=T,this._driver=P,this._normalizer=ue,this._animations=new Map,this._playersById=new Map,this.players=[]}register(T,P){const ue=[],it=$n(this._driver,P,ue,[]);if(ue.length)throw function H(je){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(T,it)}_buildPlayer(T,P,ue){const Fe=T.element,it=Ge(this._normalizer,T.keyframes,P,ue);return this._driver.animate(Fe,it,T.duration,T.delay,T.easing,[],!0)}create(T,P,ue={}){const Fe=[],it=this._animations.get(T);let It;const Et=new Map;if(it?(It=me(this._driver,P,it,ut,Pe,new Map,new Map,ue,yi,Fe),It.forEach(In=>{const Ln=_t(Et,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)}();Et.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=Et.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 ue=this.players.indexOf(P);ue>=0&&this.players.splice(ue,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,ue,Fe){const it=Nt(P,"","","");return tt(this._getPlayer(T),ue,it,Fe),()=>{}}command(T,P,ue,Fe){if("register"==ue)return void this.register(T,Fe[0]);if("create"==ue)return void this.create(T,P,Fe[0]||{});const it=this._getPlayer(T);switch(ue){case"play":it.play();break;case"pause":it.pause();break;case"reset":it.reset();break;case"restart":it.restart();break;case"finish":it.finish();break;case"init":it.init();break;case"setPosition":it.setPosition(parseFloat(Fe[0]));break;case"destroy":this.destroy(T)}}}const Ot="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 ue=T&&T.hasOwnProperty("value");if(this.value=function Ht(je){return je??null}(ue?T.value:T),ue){const it=ct(T);delete it.value,this.options=it}else this.options={};this.options.params||(this.options.params={})}absorbOptions(T){const P=T.params;if(P){const ue=this.options.params;Object.keys(P).forEach(Fe=>{null==ue[Fe]&&(ue[Fe]=P[Fe])})}}}const Ui="void",ir=new Qi(Ui);class wt{constructor(T,P,ue){this.id=T,this.hostElement=P,this._engine=ue,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+T,On(P,this._hostClassName)}listen(T,P,ue,Fe){if(!this._triggers.has(P))throw function Ee(je,T){return new n.\u0275RuntimeError(3302,!1)}();if(null==ue||0==ue.length)throw function Be(je){return new n.\u0275RuntimeError(3303,!1)}();if(!function Jt(je){return"start"==je||"done"==je}(ue))throw function G(je,T){return new n.\u0275RuntimeError(3400,!1)}();const it=_t(this._elementListeners,T,[]),It={name:P,phase:ue,callback:Fe};it.push(It);const Et=_t(this._engine.statesByElement,T,new Map);return Et.has(P)||(On(T,mt),On(T,mt+"-"+P),Et.set(P,ir)),()=>{this._engine.afterFlush(()=>{const Qt=it.indexOf(It);Qt>=0&&it.splice(Qt,1),this._triggers.has(P)||Et.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,ue,Fe=!0){const it=this._getTrigger(P),It=new gt(this.id,P,T);let Et=this._engine.statesByElement.get(T);Et||(On(T,mt),On(T,mt+"-"+P),this._engine.statesByElement.set(T,Et=new Map));let Qt=Et.get(P);const en=new Qi(ue,this.id);if(!(ue&&ue.hasOwnProperty("value"))&&Qt&&en.absorbOptions(Qt.options),Et.set(P,en),Qt||(Qt=ir),en.value!==Ui&&Qt.value===en.value){if(!function ni(je,T){const P=Object.keys(je),ue=Object.keys(T);if(P.length!=ue.length)return!1;for(let Fe=0;Fe{Q(T,Bi),V(T,qi)})}return}const pi=_t(this._engine.playersByElement,T,[]);pi.forEach(ii=>{ii.namespaceId==this.id&&ii.triggerName==P&&ii.queued&&ii.destroy()});let li=it.matchTransition(Qt.value,en.value,T,en.params),Gn=!1;if(!li){if(!Fe)return;li=it.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,Ot),It.onStart(()=>{vi(T,Ot)})),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,ue)=>{this._elementListeners.set(ue,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(ue=>ue.destroy()),this._engine.playersByElement.delete(T))}_signalRemovalForInnerTriggers(T,P){const ue=this._engine.driver.query(T,Pt,!0);ue.forEach(Fe=>{if(Fe[Li])return;const it=this._engine.fetchNamespacesByElement(Fe);it.size?it.forEach(It=>It.triggerLeaveAnimation(Fe,P,!1,!0)):this.clearElementCache(Fe)}),this._engine.afterFlushAnimationsDone(()=>ue.forEach(Fe=>this.clearElementCache(Fe)))}triggerLeaveAnimation(T,P,ue,Fe){const it=this._engine.statesByElement.get(T),It=new Map;if(it){const Et=[];if(it.forEach((Qt,en)=>{if(It.set(en,Qt.value),this._triggers.has(en)){const In=this.trigger(T,en,Ui,Fe);In&&Et.push(In)}}),Et.length)return this._engine.markElementAsRemoved(this.id,T,!0,P,It),ue&&Qe(Et).onDone(()=>this._engine.processLeaveNode(T)),!0}return!1}prepareLeaveAnimationListeners(T){const P=this._elementListeners.get(T),ue=this._engine.statesByElement.get(T);if(P&&ue){const Fe=new Set;P.forEach(it=>{const It=it.name;if(Fe.has(It))return;Fe.add(It);const Qt=this._triggers.get(It).fallbackTransition,en=ue.get(It)||ir,In=new Qi(Ui),Ln=new gt(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 ue=this._engine;if(T.childElementCount&&this._signalRemovalForInnerTriggers(T,P),this.triggerLeaveAnimation(T,P,!0))return;let Fe=!1;if(ue.totalAnimations){const it=ue.players.length?ue.playersByQueriedElement.get(T):[];if(it&&it.length)Fe=!0;else{let It=T;for(;It=It.parentNode;)if(ue.statesByElement.get(It)){Fe=!0;break}}}if(this.prepareLeaveAnimationListeners(T),Fe)ue.markElementAsRemoved(this.id,T,!1,P);else{const it=T[Li];(!it||it===ji)&&(ue.afterFlush(()=>this.clearElementCache(T)),ue.destroyInnerAnimations(T),ue._onRemovalComplete(T,P))}}insertNode(T,P){On(T,this._hostClassName)}drainQueuedTransitions(T){const P=[];return this._queue.forEach(ue=>{const Fe=ue.player;if(Fe.destroyed)return;const it=ue.element,It=this._elementListeners.get(it);It&&It.forEach(Et=>{if(Et.name==ue.triggerName){const Qt=Nt(it,ue.triggerName,ue.fromState.value,ue.toState.value);Qt._data=T,tt(ue.player,Et.phase,Qt,Et.callback)}}),Fe.markedForDestroy?this._engine.afterFlush(()=>{Fe.destroy()}):P.push(ue)}),this._queue=[],P.sort((ue,Fe)=>{const it=ue.transition.ast.depCount,It=Fe.transition.ast.depCount;return 0==it||0==It?it-It:this._engine.driver.containsElement(ue.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,ue){this.bodyNode=T,this.driver=P,this._normalizer=ue,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,it)=>{}}get queuedPlayers(){const T=[];return this._namespaceList.forEach(P=>{P.players.forEach(ue=>{ue.queued&&T.push(ue)})}),T}createNamespace(T,P){const ue=new wt(T,P,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,P)?this._balanceNamespaceList(ue,P):(this.newHostElements.set(P,ue),this.collectEnterElement(P)),this._namespaceLookup[T]=ue}_balanceNamespaceList(T,P){const ue=this._namespaceList,Fe=this.namespacesByHostElement;if(ue.length-1>=0){let It=!1,Et=this.driver.getParentElement(P);for(;Et;){const Qt=Fe.get(Et);if(Qt){const en=ue.indexOf(Qt);ue.splice(en+1,0,T),It=!0;break}Et=this.driver.getParentElement(Et)}It||ue.unshift(T)}else ue.push(T);return Fe.set(P,T),T}register(T,P){let ue=this._namespaceLookup[T];return ue||(ue=this.createNamespace(T,P)),ue}registerTrigger(T,P,ue){let Fe=this._namespaceLookup[T];Fe&&Fe.register(P,ue)&&this.totalAnimations++}destroy(T,P){T&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const ue=this._fetchNamespace(T);this.namespacesByHostElement.delete(ue.hostElement);const Fe=this._namespaceList.indexOf(ue);Fe>=0&&this._namespaceList.splice(Fe,1),ue.destroy(P),delete this._namespaceLookup[T]}))}_fetchNamespace(T){return this._namespaceLookup[T]}fetchNamespacesByElement(T){const P=new Set,ue=this.statesByElement.get(T);if(ue)for(let Fe of ue.values())if(Fe.namespaceId){const it=this._fetchNamespace(Fe.namespaceId);it&&P.add(it)}return P}trigger(T,P,ue,Fe){if(Yt(P)){const it=this._fetchNamespace(T);if(it)return it.trigger(P,ue,Fe),!0}return!1}insertNode(T,P,ue,Fe){if(!Yt(P))return;const it=P[Li];if(it&&it.setForRemoval){it.setForRemoval=!1,it.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,ue)}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,ue){if(Yt(P)){const Fe=T?this._fetchNamespace(T):null;Fe?Fe.removeNode(P,ue):this.markElementAsRemoved(T,P,!1,ue);const it=this.namespacesByHostElement.get(P);it&&it.id!==T&&it.removeNode(P,ue)}else this._onRemovalComplete(P,ue)}markElementAsRemoved(T,P,ue,Fe,it){this.collectedLeaveElements.push(P),P[Li]={namespaceId:T,setForRemoval:Fe,hasAnimation:ue,removedBeforeQueried:!1,previousTriggersValues:it}}listen(T,P,ue,Fe,it){return Yt(P)?this._fetchNamespace(T).listen(P,ue,Fe,it):()=>{}}_buildInstruction(T,P,ue,Fe,it){return T.transition.build(this.driver,T.element,T.fromState.value,T.toState.value,ue,Fe,T.fromState.options,T.toState.options,P,it)}destroyInnerAnimations(T){let P=this.driver.query(T,Pt,!0);P.forEach(ue=>this.destroyActiveAnimationsForElement(ue)),0!=this.playersByQueriedElement.size&&(P=this.driver.query(T,Gt,!0),P.forEach(ue=>this.finishActiveQueriedAnimationOnElement(ue)))}destroyActiveAnimationsForElement(T){const P=this.playersByElement.get(T);P&&P.forEach(ue=>{ue.queued?ue.markedForDestroy=!0:ue.destroy()})}finishActiveQueriedAnimationOnElement(T){const P=this.playersByQueriedElement.get(T);P&&P.forEach(ue=>ue.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 ue=this._fetchNamespace(P.namespaceId);ue&&ue.clearElementCache(T)}this._onRemovalComplete(T,P.setForRemoval)}T.classList?.contains(te)&&this.markElementAsDisabled(T,!1),this.driver.query(T,".ng-animate-disabled",!0).forEach(ue=>{this.markElementAsDisabled(ue,!1)})}flush(T=-1){let P=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ue,Fe)=>this._balanceNamespaceList(ue,Fe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ue=0;ueue()),this._flushFns=[],this._whenQuietFns.length){const ue=this._whenQuietFns;this._whenQuietFns=[],P.length?Qe(P).onDone(()=>{ue.forEach(Fe=>Fe())}):ue.forEach(Fe=>Fe())}}reportError(T){throw function ae(je){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(T,P){const ue=new ai,Fe=[],it=new Map,It=[],Et=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=ut+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=Pe+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 $t=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=$t,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,ue,L,di,mr);if(xe.errors&&xe.errors.length)return void Mr.push(xe);if(mr)return ci.onStart(()=>Q(Xi,xe.fromStyles)),ci.onDestroy(()=>V(Xi,xe.toStyles)),void Fe.push(ci);if(Qn.isFallbackTransition)return ci.onStart(()=>Q(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,ue.append(Xi,xe.timelines),It.push({instruction:xe,player:ci,element:Xi}),xe.queriedElements.forEach(ht=>_t(Et,ht,[]).push(ci)),xe.preStyleProps.forEach((ht,$t)=>{if(ht.size){let Kt=Qt.get($t);Kt||Qt.set($t,Kt=new Set),ht.forEach((Un,ki)=>Kt.add(ki))}}),xe.postStyleProps.forEach((ht,$t)=>{let Kt=en.get($t);Kt||en.set($t,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;ue.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=>{_t(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(ue.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,it,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 Q(Hn,ci.fromStyles),Qn.onDestroy(()=>V(Hn,ci.toStyles)),kr.push(Qn),In.has(Hn)&&Fe.push(Qn)}),kr.forEach(Bn=>{const Hn=it.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,ue,Fe,it){let It=[];if(P){const Et=this.playersByQueriedElement.get(T);Et&&(It=Et)}else{const Et=this.playersByElement.get(T);if(Et){const Qt=!it||it==Ui;Et.forEach(en=>{en.queued||!Qt&&en.triggerName!=Fe||It.push(en)})}}return(ue||Fe)&&(It=It.filter(Et=>!(ue&&ue!=Et.namespaceId||Fe&&Fe!=Et.triggerName))),It}_beforeAnimationBuild(T,P,ue){const it=P.element,It=P.isRemovalTransition?void 0:T,Et=P.isRemovalTransition?void 0:P.triggerName;for(const Qt of P.timelines){const en=Qt.element,In=en!==it,Ln=_t(ue,en,[]);this._getPreviousPlayers(en,In,It,Et,P.toState).forEach(li=>{const Gn=li.getRealPlayer();Gn.beforeDestroy&&Gn.beforeDestroy(),li.destroy(),Ln.push(li)})}Q(it,P.fromStyles)}_buildAnimation(T,P,ue,Fe,it,It){const Et=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}((ue.get(ii)||Pn).map(rr=>rr.getRealPlayer())).filter(rr=>!!rr.element&&rr.element===ii),sr=it.get(ii),nr=It.get(ii),Kr=Ge(this._normalizer,Gn.keyframes,sr,nr),Mr=this._buildPlayer(Gn,Kr,Ki);if(Gn.subTimeline&&Fe&&Ln.add(ii),qi){const rr=new gt(T,Et,ii);rr.setRealPlayer(Mr),en.push(rr)}return Mr});en.forEach(Gn=>{_t(this.playersByQueriedElement,Gn.element,[]).push(Gn),Gn.onDone(()=>function St(je,T,P){let ue=je.get(T);if(ue){if(ue.length){const Fe=ue.indexOf(P);ue.splice(Fe,1)}0==ue.length&&je.delete(T)}return ue}(this.playersByQueriedElement,Gn.element,Gn))}),In.forEach(Gn=>On(Gn,Ft));const li=Qe(pi);return li.onDestroy(()=>{In.forEach(Gn=>vi(Gn,Ft)),V(Qt,P.toStyles)}),Ln.forEach(Gn=>{_t(Fe,Gn,[]).push(li)}),li}_buildPlayer(T,P,ue){return P.length>0?this.driver.animate(T.element,P,T.duration,T.delay,T.easing,ue):new d.ZN(T.duration,T.delay)}}class gt{constructor(T,P,ue){this.namespaceId=T,this.triggerName=P,this.element=ue,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,ue)=>{P.forEach(Fe=>tt(T,ue,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){_t(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,ue,Fe){const it=[];P.forEach(Qt=>it.push(yn(Qt)));const It=[];ue.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 Et=0;return P.forEach(Qt=>yn(Qt,it[Et++])),It}function Vn(je,T){const P=new Map;if(je.forEach(Et=>P.set(Et,[])),0==T.length)return P;const Fe=new Set(T),it=new Map;function It(Et){if(!Et)return 1;let Qt=it.get(Et);if(Qt)return Qt;const en=Et.parentNode;return Qt=P.has(en)?en:Fe.has(en)?1:It(en),it.set(Et,Qt),Qt}return T.forEach(Et=>{const Qt=It(Et);1!==Qt&&P.get(Qt).push(Et)}),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(it)):T.set(je,ue),P.delete(je),!0}class Ii{constructor(T,P,ue){this.bodyNode=T,this._driver=P,this._normalizer=ue,this._triggerCache={},this.onRemovalComplete=(Fe,it)=>{},this._transitionEngine=new vt(T,P,ue),this._timelineEngine=new Je(T,P,ue),this._transitionEngine.onRemovalComplete=(Fe,it)=>this.onRemovalComplete(Fe,it)}registerTrigger(T,P,ue,Fe,it){const It=T+"-"+Fe;let Et=this._triggerCache[It];if(!Et){const Qt=[],In=$n(this._driver,it,Qt,[]);if(Qt.length)throw function Ae(je,T){return new n.\u0275RuntimeError(3404,!1)}();Et=function Ei(je,T,P){return new tr(je,T,P)}(Fe,In,this._normalizer),this._triggerCache[It]=Et}this._transitionEngine.registerTrigger(P,Fe,Et)}register(T,P){this._transitionEngine.register(T,P)}destroy(T,P){this._transitionEngine.destroy(T,P)}onInsert(T,P,ue,Fe){this._transitionEngine.insertNode(T,P,ue,Fe)}onRemove(T,P,ue){this._transitionEngine.removeNode(T,P,ue)}disableAnimations(T,P){this._transitionEngine.markElementAsDisabled(T,P)}process(T,P,ue,Fe){if("@"==ue.charAt(0)){const[it,It]=Bt(ue);this._timelineEngine.command(it,P,It,Fe)}else this._transitionEngine.trigger(T,P,ue,Fe)}listen(T,P,ue,Fe,it){if("@"==ue.charAt(0)){const[It,Et]=Bt(ue);return this._timelineEngine.listen(It,P,Et,it)}return this._transitionEngine.listen(T,P,ue,Fe,it)}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,ue,Fe){this._element=P,this._startStyles=ue,this._endStyles=Fe,this._state=0;let it=je.initialStylesByElement.get(P);it||je.initialStylesByElement.set(P,it=new Map),this._initialStyles=it}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&&(Q(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Q(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,ue)=>{(function Oo(je){return"display"===je||"position"===je})(ue)&&(T=T||new Map,T.set(ue,P))}),T}class jr{constructor(T,P,ue,Fe){this.element=T,this.keyframes=P,this.options=ue,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=ue.duration,this._delay=ue.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(ue=>{P.push(Object.fromEntries(ue))}),P}_triggerWebAnimation(T,P,ue){return T.animate(this._convertKeyframesToObject(P),ue)}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((ue,Fe)=>{"offset"!==Fe&&T.set(Fe,this._finished?ue:Mn(this.element,Fe))}),this.currentSnapshot=T}triggerCallback(T){const P="start"===T?this._onStartFns:this._onDoneFns;P.forEach(ue=>ue()),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 Lt(T)}query(T,P,ue){return ne(T,P,ue)}computeStyle(T,P,ue){return window.getComputedStyle(T)[P]}animate(T,P,ue,Fe,it,It=[]){const Qt={duration:ue,delay:Fe,fill:0==Fe?"both":"forwards"};it&&(Qt.easing=it);const en=new Map,In=It.filter(li=>li instanceof jr);(function xn(je,T){return 0===je||0===T})(ue,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=>Me(T)):[]}(P).map(li=>F(li));Ln=function Sn(je,T,P){if(P.size&&T.length){let ue=T[0],Fe=[];if(P.forEach((it,It)=>{ue.has(It)||Fe.push(It),ue.set(It,it)}),Fe.length)for(let it=1;itIt.set(Et,Mn(je,Et)))}}return T}(T,Ln,en);const pi=function Zi(je,T){let P=null,ue=null;return Array.isArray(T)&&T.length?(P=no(T[0]),T.length>1&&(ue=no(T[T.length-1]))):T instanceof Map&&(P=no(T)),P||ue?new Vr(je,P,ue):null}(T,Ln);return new jr(T,Ln,Qt,pi)}}var fo=a(6814);let mo=(()=>{class je extends d._j{constructor(P,ue){super(),this._nextAnimationId=0,this._renderer=P.createRenderer(ue.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(P){const ue=this._nextAnimationId.toString();this._nextAnimationId++;const Fe=Array.isArray(P)?(0,d.vP)(P):P;return ro(this._renderer,null,ue,"register",[Fe]),new po(ue,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,ue,Fe){this.id=T,this.element=P,this._renderer=Fe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ue)}_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,ue,Fe){return je.setProperty(T,`@@${P}:${ue}`,Fe)}const Ar="@.disabled";let go=(()=>{class je{constructor(P,ue,Fe){this.delegate=P,this.engine=ue,this._zone=Fe,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,ue.onRemovalComplete=(it,It)=>{const Et=It?.parentNode(it);Et&&It.removeChild(Et,it)}}createRenderer(P,ue){const it=this.delegate.createRenderer(P,ue);if(!(P&&ue&&ue.data&&ue.data.animation)){let In=this._rendererCache.get(it);return In||(In=new _o("",it,this.engine,()=>this._rendererCache.delete(it)),this._rendererCache.set(it,In)),In}const It=ue.id,Et=ue.id+"-"+this._currentId;this._currentId++,this.engine.register(Et,P);const Qt=In=>{Array.isArray(In)?In.forEach(Qt):this.engine.registerTrigger(It,Et,P,In.name,In)};return ue.data.animation.forEach(Qt),new fe(this,Et,it,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(P,ue,Fe){P>=0&&Pue(Fe)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(it=>{const[It,Et]=it;It(Et)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([ue,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,ue,Fe){this.namespaceId=T,this.delegate=P,this.engine=ue,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,ue,Fe=!0){this.delegate.insertBefore(T,P,ue),this.engine.onInsert(this.namespaceId,P,T,Fe)}removeChild(T,P,ue){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,ue,Fe){this.delegate.setAttribute(T,P,ue,Fe)}removeAttribute(T,P,ue){this.delegate.removeAttribute(T,P,ue)}addClass(T,P){this.delegate.addClass(T,P)}removeClass(T,P){this.delegate.removeClass(T,P)}setStyle(T,P,ue,Fe){this.delegate.setStyle(T,P,ue,Fe)}removeStyle(T,P,ue){this.delegate.removeStyle(T,P,ue)}setProperty(T,P,ue){"@"==P.charAt(0)&&P==Ar?this.disableAnimations(T,!!ue):this.delegate.setProperty(T,P,ue)}setValue(T,P){this.delegate.setValue(T,P)}listen(T,P,ue){return this.delegate.listen(T,P,ue)}disableAnimations(T,P){this.engine.disableAnimations(T,P)}}class fe extends _o{constructor(T,P,ue,Fe,it){super(P,ue,Fe,it),this.factory=T,this.namespaceId=P}setProperty(T,P,ue){"@"==P.charAt(0)?"."==P.charAt(1)&&P==Ar?this.disableAnimations(T,ue=void 0===ue||!!ue):this.engine.process(this.namespaceId,T,P.slice(1),ue):this.delegate.setProperty(T,P,ue)}listen(T,P,ue){if("@"==P.charAt(0)){const Fe=function le(je){switch(je){case"body":return document.body;case"document":return document;case"window":return window;default:return je}}(T);let it=P.slice(1),It="";return"@"!=it.charAt(0)&&([it,It]=function J(je){const T=je.indexOf(".");return[je.substring(0,T),je.slice(T+1)]}(it)),this.engine.listen(this.namespaceId,Fe,it,It,Et=>{this.factory.scheduleListenerCallback(Et._data||-1,ue,Et)})}return this.delegate.listen(T,P,ue)}}let We=(()=>{class je extends Ii{constructor(P,ue,Fe,it){super(P.body,ue,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:We},{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:ce},{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:()=>lt,By:()=>Pe,DomSanitizer:()=>ge,EVENT_MANAGER_PLUGINS:()=>_,EventManager:()=>l,HAMMER_GESTURE_CONFIG:()=>Ft,HAMMER_LOADER:()=>Gt,HammerGestureConfig:()=>Oe,HammerModule:()=>he,Meta:()=>at,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>ie,Title:()=>Y,TransferState:()=>Rt,VERSION:()=>be,bootstrapApplication:()=>He,createApplication:()=>Ze,disableDebugTools:()=>ut,enableDebugTools:()=>_e,makeStateKey:()=>dt,platformBrowser:()=>Bt,provideClientHydration:()=>Q,provideProtractorTestingSupport:()=>Ge,withNoDomReuse:()=>De,withNoHttpTransferCache:()=>F,\u0275BrowserDomAdapter:()=>r,\u0275BrowserGetTestability:()=>b,\u0275DomEventsPlugin:()=>Be,\u0275DomRendererFactory2:()=>Re,\u0275DomSanitizerImpl:()=>Me,\u0275HammerGesturesPlugin:()=>Ke,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>_t,\u0275KeyEventsPlugin:()=>ve,\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(nt,Ve,yt){return nt.addEventListener(Ve,yt),()=>{nt.removeEventListener(Ve,yt)}}dispatchEvent(nt,Ve){nt.dispatchEvent(Ve)}remove(nt){nt.parentNode&&nt.parentNode.removeChild(nt)}createElement(nt,Ve){return(Ve=Ve||this.getDefaultDocument()).createElement(nt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(nt){return nt.nodeType===Node.ELEMENT_NODE}isShadowRoot(nt){return nt instanceof DocumentFragment}getGlobalEventTarget(nt,Ve){return"window"===Ve?window:"document"===Ve?nt:"body"===Ve?nt.body:null}getBaseHref(nt){const Ve=function h(){return f=f||document.querySelector("base"),f?f.getAttribute("href"):null}();return null==Ve?null:function v(qe){u=u||document.createElement("a"),u.setAttribute("href",qe);const nt=u.pathname;return"/"===nt.charAt(0)?nt:`/${nt}`}(Ve)}resetBaseElement(){f=null}getUserAgent(){return window.navigator.userAgent}getCookie(nt){return(0,c.\u0275parseCookieValue)(document.cookie,nt)}}let u,f=null;class b{addToWindow(nt){n.\u0275global.getAngularTestability=(yt,At=!0)=>{const on=nt.findTestabilityInTree(yt,At);if(null==on)throw new n.\u0275RuntimeError(5103,!1);return on},n.\u0275global.getAllAngularTestabilities=()=>nt.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>nt.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(yt=>{const At=n.\u0275global.getAllAngularTestabilities();let on=At.length,xn=!1;const Sn=function(_n){xn=xn||_n,on--,0==on&&yt(xn)};At.forEach(_n=>{_n.whenStable(Sn)})})}findTestabilityInTree(nt,Ve,yt){return null==Ve?null:nt.getTestability(Ve)??(yt?(0,c.\u0275getDOM)().isShadowRoot(Ve)?this.findTestabilityInTree(nt,Ve.host,!0):this.findTestabilityInTree(nt,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(At=>{At.manager=this}),this._plugins=Ve.slice().reverse()}addEventListener(Ve,yt,At){return this._findPluginFor(yt).addEventListener(Ve,yt,At)}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(nt){this._doc=nt}}const x="ng-app-id";let D=(()=>{class qe{constructor(Ve,yt,At,on={}){this.doc=Ve,this.appId=yt,this.nonce=At,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(At=>At.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(At=>{null!=At.textContent&&yt.set(At.textContent,At)}),yt}return null}changeUsageCount(Ve,yt){const At=this.styleRef;if(At.has(Ve)){const on=At.get(Ve);return on.usage+=yt,on.usage}return At.set(Ve,{usage:yt,elements:[]}),yt}getStyleElement(Ve,yt){const At=this.styleNodesInDOM,on=At?.get(yt);if(on?.parentNode===Ve)return At.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 At=this.getStyleElement(Ve,yt);Ve.appendChild(At);const on=this.styleRef,xn=on.get(yt)?.elements;xn?xn.push(At):on.set(yt,{elements:[At],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 Ce(qe,nt){return nt.map(Ve=>Ve.replace(E,qe))}let Re=(()=>{class qe{constructor(Ve,yt,At,on,xn,Sn,_n,Mn=null){this.eventManager=Ve,this.sharedStylesHost=yt,this.appId=At,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 At=this.getOrCreateRenderer(Ve,yt);return At instanceof Ee?At.applyToHost(Ve):At instanceof we&&At.applyStyles(),At}getOrCreateRenderer(Ve,yt){const At=this.rendererByCompId;let on=At.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)}At.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(nt,Ve,yt,At){this.eventManager=nt,this.doc=Ve,this.ngZone=yt,this.platformIsServer=At,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(nt,Ve){return Ve?this.doc.createElementNS(S[Ve]||Ve,nt):this.doc.createElement(nt)}createComment(nt){return this.doc.createComment(nt)}createText(nt){return this.doc.createTextNode(nt)}appendChild(nt,Ve){(W(nt)?nt.content:nt).appendChild(Ve)}insertBefore(nt,Ve,yt){nt&&(W(nt)?nt.content:nt).insertBefore(Ve,yt)}removeChild(nt,Ve){nt&&nt.removeChild(Ve)}selectRootElement(nt,Ve){let yt="string"==typeof nt?this.doc.querySelector(nt):nt;if(!yt)throw new n.\u0275RuntimeError(-5104,!1);return Ve||(yt.textContent=""),yt}parentNode(nt){return nt.parentNode}nextSibling(nt){return nt.nextSibling}setAttribute(nt,Ve,yt,At){if(At){Ve=At+":"+Ve;const on=S[At];on?nt.setAttributeNS(on,Ve,yt):nt.setAttribute(Ve,yt)}else nt.setAttribute(Ve,yt)}removeAttribute(nt,Ve,yt){if(yt){const At=S[yt];At?nt.removeAttributeNS(At,Ve):nt.removeAttribute(`${yt}:${Ve}`)}else nt.removeAttribute(Ve)}addClass(nt,Ve){nt.classList.add(Ve)}removeClass(nt,Ve){nt.classList.remove(Ve)}setStyle(nt,Ve,yt,At){At&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?nt.style.setProperty(Ve,yt,At&n.RendererStyleFlags2.Important?"important":""):nt.style[Ve]=yt}removeStyle(nt,Ve,yt){yt&n.RendererStyleFlags2.DashCase?nt.style.removeProperty(Ve):nt.style[Ve]=""}setProperty(nt,Ve,yt){nt[Ve]=yt}setValue(nt,Ve){nt.nodeValue=Ve}listen(nt,Ve,yt){if("string"==typeof nt&&!(nt=(0,c.\u0275getDOM)().getGlobalEventTarget(this.doc,nt)))throw new Error(`Unsupported event target ${nt} for event ${Ve}`);return this.eventManager.addEventListener(nt,Ve,this.decoratePreventDefault(yt))}decoratePreventDefault(nt){return Ve=>{if("__ngUnwrap__"===Ve)return nt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>nt(Ve)):nt(Ve))&&Ve.preventDefault()}}}function W(qe){return"TEMPLATE"===qe.tagName&&void 0!==qe.content}class pe extends Ae{constructor(nt,Ve,yt,At,on,xn,Sn,_n){super(nt,on,xn,_n),this.sharedStylesHost=Ve,this.hostEl=yt,this.shadowRoot=yt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mn=Ce(At.id,At.styles);for(const xi of Mn){const fi=document.createElement("style");Sn&&fi.setAttribute("nonce",Sn),fi.textContent=xi,this.shadowRoot.appendChild(fi)}}nodeOrShadowRoot(nt){return nt===this.hostEl?this.shadowRoot:nt}appendChild(nt,Ve){return super.appendChild(this.nodeOrShadowRoot(nt),Ve)}insertBefore(nt,Ve,yt){return super.insertBefore(this.nodeOrShadowRoot(nt),Ve,yt)}removeChild(nt,Ve){return super.removeChild(this.nodeOrShadowRoot(nt),Ve)}parentNode(nt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(nt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class we extends Ae{constructor(nt,Ve,yt,At,on,xn,Sn,_n){super(nt,on,xn,Sn),this.sharedStylesHost=Ve,this.removeStylesOnCompDestroy=At,this.styles=_n?Ce(_n,yt.styles):yt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ee extends we{constructor(nt,Ve,yt,At,on,xn,Sn,_n){const Mn=At+"-"+yt.id;super(nt,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(nt){this.applyStyles(),this.setAttribute(nt,this.hostAttr,"")}createElement(nt,Ve){const yt=super.createElement(nt,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,At){return Ve.addEventListener(yt,At,!1),()=>this.removeEventListener(Ve,yt,At)}removeEventListener(Ve,yt,At){return Ve.removeEventListener(yt,At)}}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"},ae={alt:qe=>qe.altKey,control:qe=>qe.ctrlKey,meta:qe=>qe.metaKey,shift:qe=>qe.shiftKey};let ve=(()=>{class qe extends y{constructor(Ve){super(Ve)}supports(Ve){return null!=qe.parseEventName(Ve)}addEventListener(Ve,yt,At){const on=qe.parseEventName(yt),xn=qe.eventCallback(on.fullKey,At,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.\u0275getDOM)().onAndCancel(Ve,on.domEventName,xn))}static parseEventName(Ve){const yt=Ve.toLowerCase().split("."),At=yt.shift();if(0===yt.length||"keydown"!==At&&"keyup"!==At)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=At,_n.fullKey=xn,_n}static matchEventFullKeyCode(Ve,yt){let At=re[Ve.key]||Ve.key,on="";return yt.indexOf("code.")>-1&&(At=Ve.code,on="code."),!(null==At||!At)&&(At=At.toLowerCase()," "===At?At="space":"."===At&&(At="dot"),G.forEach(xn=>{xn!==At&&(0,ae[xn])(Ve)&&(on+=xn+".")}),on+=At,on===yt)}static eventCallback(Ve,yt,At){return on=>{qe.matchEventFullKeyCode(on,Ve)&&At.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,nt){return(0,n.\u0275internalCreateApplication)({rootComponent:qe,...Qe(nt)})}function Ze(qe){return(0,n.\u0275internalCreateApplication)(Qe(qe))}function Qe(qe){return{appProviders:[...Le,...qe?.providers??[]],platformProviders:_t}}function Ge(){return[...Lt]}function tt(){r.makeCurrent()}const _t=[{provide:n.PLATFORM_ID,useValue:c.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:tt,multi:!0},{provide:c.DOCUMENT,useFactory:function Nt(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Bt=(0,n.createPlatformFactory)(n.platformCore,"browser",_t),Tt=new n.InjectionToken(""),Lt=[{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 Ct(){return new n.ErrorHandler},deps:[]},{provide:_,useClass:Be,multi:!0,deps:[c.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:_,useClass:ve,multi:!0,deps:[c.DOCUMENT]},Re,D,l,{provide:n.RendererFactory2,useExisting:Re},{provide:c.XhrFactory,useClass:p,deps:[]},[]];let lt=(()=>{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,...Lt],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((At,on)=>(on&&At.push(this._getOrCreateElement(on,yt)),At),[]):[]}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 At=this.getTag(yt);return At?this._setMetaElementAttributes(Ve,At):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 At=this._dom.createElement("meta");return this._setMetaElementAttributes(Ve,At),this._doc.getElementsByTagName("head")[0].appendChild(At),At}_setMetaElementAttributes(Ve,yt){return Object.keys(Ve).forEach(At=>yt.setAttribute(this._getMetaKeyMap(At),Ve[At])),yt}_parseSelector(Ve){const yt=Ve.name?"name":"property";return`${yt}="${Ve[yt]}"`}_containsAttributes(Ve,yt){return Object.keys(Ve).every(At=>yt.getAttribute(this._getMetaKeyMap(At))===Ve[At])}_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,nt){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[qe]=nt)}const K=typeof window<"u"&&window||{};class ce{constructor(nt,Ve){this.msPerTick=nt,this.numTicks=Ve}}class Te{constructor(nt){this.appRef=nt.injector.get(n.ApplicationRef)}timeChangeDetection(nt){const Ve=nt&&nt.record,yt="Change Detection",At=null!=K.console.profile;Ve&&At&&K.console.profile(yt);const on=et();let xn=0;for(;xn<5||et()-on<500;)this.appRef.tick(),xn++;const Sn=et();Ve&&At&&K.console.profileEnd(yt);const _n=(Sn-on)/xn;return K.console.log(`ran ${xn} change detection cycles`),K.console.log(`${_n.toFixed(2)} ms per check`),new ce(_n,xn)}}function et(){return K.performance&&K.performance.now?K.performance.now():(new Date).getTime()}const Dt="profiler";function _e(qe){return ne(Dt,new Te(qe)),qe}function ut(){ne(Dt,null)}class Pe{static all(){return()=>!0}static css(nt){return Ve=>null!=Ve.nativeElement&&function mt(qe,nt){return!!(0,c.\u0275getDOM)().isElementNode(qe)&&(qe.matches&&qe.matches(nt)||qe.msMatchesSelector&&qe.msMatchesSelector(nt)||qe.webkitMatchesSelector&&qe.webkitMatchesSelector(nt))}(Ve.nativeElement,nt)}static directive(nt){return Ve=>-1!==Ve.providerTokens.indexOf(nt)}}const Pt={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},Ft=new n.InjectionToken("HammerGestureConfig"),Gt=new n.InjectionToken("HammerLoader");let Oe=(()=>{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 At in this.overrides)yt.get(At).set(this.overrides[At]);return yt}}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),Ke=(()=>{class qe extends y{constructor(Ve,yt,At,on){super(Ve),this._config=yt,this.console=At,this.loader=on,this._loaderPromise=null}supports(Ve){return!(!Pt.hasOwnProperty(Ve.toLowerCase())&&!this.isCustomEvent(Ve)||!window.Hammer&&!this.loader)}addEventListener(Ve,yt,At){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,At)):Sn=()=>{}}).catch(()=>{Sn=()=>{}})),()=>{Sn()}}return on.runOutsideAngular(()=>{const xn=this._config.buildHammer(Ve),Sn=function(_n){on.runGuarded(function(){At(_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(Ft),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(Gt,8))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),he=(()=>{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:Ke,multi:!0,deps:[c.DOCUMENT,Ft,n.\u0275Console,[new n.Optional,Gt]]},{provide:Ft,useClass:Oe,deps:[]}]}),qe})(),ge=(()=>{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(Me),yt},providedIn:"root"}),qe})(),Me=(()=>{class qe extends ge{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 ct(qe){return new Me(qe.get(c.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),yt},providedIn:"root"}),qe})();function Ye(qe,nt=[]){return{\u0275kind:qe,\u0275providers:nt}}function De(){return Ye(0)}function F(){return Ye(1)}function Q(...qe){const nt=[],Ve=new Set;for(const{\u0275providers:yt,\u0275kind:At}of qe)Ve.add(At),yt.length&&nt.push(yt);return(0,n.makeEnvironmentProviders)([[],Ve.has(0)?[]:(0,n.\u0275withDomHydration)(),Ve.has(1)?[]:(0,d.\u0275withHttpTransferCache)(),nt])}const be=new n.Version("16.1.7"),dt=n.makeStateKey,Rt=n.TransferState},5187:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ActivatedRoute:()=>Fn,ActivatedRouteSnapshot:()=>Fi,ActivationEnd:()=>jt,ActivationStart:()=>Mt,BaseRouteReuseStrategy:()=>L,ChildActivationEnd:()=>Ni,ChildActivationStart:()=>ai,ChildrenOutletContexts:()=>se,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:()=>ce,UrlTree:()=>at,VERSION:()=>ja,convertToParamMap:()=>ae,createUrlTreeFromSnapshot:()=>Ve,defaultUrlMatcher:()=>ve,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),f=a(2572),h=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),Ce=a(6424),Re=a(3572),Ae=a(2032),de=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 ae(k){return new re(k)}function ve(k,j,w){const q=w.path.split("/");if(q.length>k.length||"full"===w.pathMatch&&(j.hasChildren()||q.lengthq[rt]===Se)}return k===j}function Ge(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 Ct={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},Nt={exact:function Bt(k,j){return Ze(k,j)},subset:function Lt(k,j){return Object.keys(j).length<=Object.keys(k).length&&Object.keys(j).every(w=>Qe(k[w],j[w]))},ignored:()=>!0};function _t(k,j,w){return Ct[w.paths](k.root,j.root,w.matrixParams)&&Nt[w.queryParams](k.queryParams,j.queryParams)&&!("exact"===w.fragment&&k.fragment!==j.fragment)}function Le(k,j,w){return lt(k,j,j.segments,w)}function lt(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),rt=w.slice(k.segments.length);return!!(ne(k.segments,Se)&&ze(k.segments,Se,q)&&k.children[Be])&<(k.children[Be],j,rt,q)}}function ze(k,j,w){return j.every((q,Se)=>Nt[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=ae(this.queryParams)),this._queryParamMap}toString(){return et.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=ae(this.parameters)),this._parameterMap}toString(){return Oe(this)}}function ne(k,j){return k.length===j.length&&k.every((w,q)=>w.path===j[q].path)}let ce=(()=>{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 be(j);return new at(w.parseRootSegment(),w.parseQueryParams(),w.parseFragment())}serialize(j){const w=`/${_e(j.root,!0)}`,q=function he(k){const j=Object.keys(k).map(w=>{const q=k[w];return Array.isArray(q)?q.map(Se=>`${Pe(w)}=${Pe(Se)}`).join("&"):`${Pe(w)}=${Pe(q)}`}).filter(w=>!!w);return j.length?`?${j.join("&")}`:""}(j.queryParams);return`${w}${q}${"string"==typeof j.fragment?`#${function mt(k){return encodeURI(k)}(j.fragment)}`:""}`}}const et=new Te;function Dt(k){return k.segments.map(j=>Oe(j)).join("/")}function _e(k,j){if(!k.hasChildren())return Dt(k);if(j){const w=k.children[Be]?_e(k.children[Be],!1):"",q=[];return Object.entries(k.children).forEach(([Se,rt])=>{Se!==Be&&q.push(`${Se}:${_e(rt,!1)}`)}),q.length>0?`${w}(${q.join("//")})`:w}{const w=function K(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?[_e(k.children[Be],!1)]:[`${Se}:${_e(q,!1)}`]);return 1===Object.keys(k.children).length&&null!=k.children[Be]?`${Dt(k)}/${w[0]}`:`${Dt(k)}/(${w.join("//")})`}}function ut(k){return encodeURIComponent(k).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pe(k){return ut(k).replace(/%3B/gi,";")}function Pt(k){return ut(k).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ft(k){return decodeURIComponent(k)}function Gt(k){return Ft(k.replace(/\+/g,"%20"))}function Oe(k){return`${Pt(k.path)}${function Ke(k){return Object.keys(k).map(j=>`;${Pt(j)}=${Pt(k[j])}`).join("")}(k.parameters)}`}const ge=/^[^\/()?;#]+/;function ct(k){const j=k.match(ge);return j?j[0]:""}const Me=/^[^\/()?;=#]+/,De=/^[^=?&#]+/,V=/^[^&#]+/;class be{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=ct(this.remaining);if(""===j&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(j),new oe(Ft(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(Me);return j?j[0]:""}(this.remaining);if(!w)return;this.capture(w);let q="";if(this.consumeOptional("=")){const Se=ct(this.remaining);Se&&(q=Se,this.capture(q))}j[Ft(w)]=Ft(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 Q(k){const j=k.match(V);return j?j[0]:""}(this.remaining);st&&(q=st,this.capture(q))}const Se=Gt(w),rt=Gt(q);if(j.hasOwnProperty(Se)){let st=j[Se];Array.isArray(st)||(st=[st],j[Se]=st),st.push(rt)}else j[Se]=rt}parseParens(j){const w={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const q=ct(this.remaining),Se=this.remaining[q.length];if("/"!==Se&&")"!==Se&&";"!==Se)throw new n.\u0275RuntimeError(4010,!1);let rt;q.indexOf(":")>-1?(rt=q.slice(0,q.indexOf(":")),this.capture(rt),this.capture(":")):j&&(rt=Be);const st=this.parseChildren();w[rt]=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 dt(k){return k.segments.length>0?new N([],{[Be]:k}):k}function Rt(k){const j={};for(const q of Object.keys(k.children)){const rt=Rt(k.children[q]);if(q===Be&&0===rt.segments.length&&rt.hasChildren())for(const[st,Vt]of Object.entries(rt.children))j[st]=Vt;else(rt.segments.length>0||rt.hasChildren())&&(j[q]=rt)}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 nt(k){return k instanceof at}function Ve(k,j,w=null,q=null){return At(yt(k),j,w,q)}function yt(k){let j;const Se=dt(function w(rt){const st={};for(const hn of rt.children){const An=w(hn);st[hn.outlet]=An}const Vt=new N(rt.url,st);return rt===k&&(j=Vt),Vt}(k.root));return j??Se}function At(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 rt=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,rt,st)=>{if("object"==typeof rt&&null!=rt){if(rt.outlets){const Vt={};return Object.entries(rt.outlets).forEach(([hn,An])=>{Vt[hn]="string"==typeof An?An.split("/"):An}),[...Se,{outlets:Vt}]}if(rt.segmentPath)return[...Se,rt.segmentPath]}return"string"!=typeof rt?[...Se,rt]:0===st?(rt.split("/").forEach((Vt,hn)=>{0==hn&&"."===Vt||(0==hn&&""===Vt?w=!0:".."===Vt?j++:""!=Vt&&Se.push(Vt))}),Se):[...Se,rt]},[]);return new Mn(w,j,q)}(j);if(rt.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,rt=w;for(;rt>Se;){if(rt-=Se,q=q.parent,!q)throw new n.\u0275RuntimeError(4005,!1);Se=q.segments.length}return new fi(q,!1,Se-rt)}(w,w.segments.length-1+q,k.numberOfDoubleDots)}(rt,Se,k),Vt=st.processChildren?pt(st.segmentGroup,st.index,rt.commands):bt(st.segmentGroup,st.index,rt.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,rt={};q&&Object.entries(q).forEach(([hn,An])=>{rt[hn]=Array.isArray(An)?An.map(Kn=>`${Kn}`):`${An}`}),st=k===j?w:_n(k,j,w);const Vt=dt(Rt(st));return new at(Vt,rt,Se)}function _n(k,j,w){const q={};return Object.entries(k.children).forEach(([Se,rt])=>{q[Se]=rt===j?w:_n(rt,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!==Ge(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 bt(k,j,w){if(k||(k=new N([],{})),0===k.segments.length&&k.hasChildren())return pt(k,j,w);const q=function qt(k,j,w){let q=0,Se=j;const rt={match:!1,pathIndex:0,commandIndex:0};for(;Se=w.length)return rt;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 rt;q+=2}else{if(!Nn(hn,{},st))return rt;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[rt]=bt(k.children[rt],j,st))}),Object.entries(k.children).forEach(([rt,st])=>{void 0===q[rt]&&(Se[rt]=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,rt){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.shouldActivate=rt,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 Mt{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 se,this.attachRef=null}}let se=(()=>{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=kt(j,this._root);return w?w.children.map(q=>q.value):[]}firstChild(j){const w=kt(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 kt(k,j){if(k===j.value)return j;for(const w of j.children){const q=kt(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({}),rt=new r.X({}),st=new r.X({}),Vt=new r.X(""),hn=new Fn(q,Se,st,Vt,rt,Be,j,w.root);return hn.snapshot=w.root,new pn(new un(hn,[]),w)}class Fn{constructor(j,w,q,Se,rt,st,Vt,hn){this.urlSubject=j,this.paramsSubject=w,this.queryParamsSubject=q,this.fragmentSubject=Se,this.dataSubject=rt,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=rt}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=>ae(j)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,D.U)(j=>ae(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],rt=w[q-1];if(Se.routeConfig&&""===Se.routeConfig.path)q--;else{if(rt.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,rt,st,Vt,hn,An){this.url=j,this.params=w,this.queryParams=q,this.fragment=Se,this.data=rt,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=ae(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ae(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)(se),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===se?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,f.a)([q.queryParams,q.params,q.data]).pipe((0,S.w)(([rt,st,Vt],hn)=>(Vt={...rt,...st,...Vt},0===hn?(0,g.of)(Vt):Promise.resolve(Vt)))).subscribe(rt=>{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,rt[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 rt=k.retrieve(j.value);if(null!==rt){const st=rt.route;return st.value._futureSnapshot=j.value,st.children=j.children.map(Vt=>yi(k,Vt)),st}}const q=function Ot(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(rt=>yi(k,rt));return new un(q,Se)}}const C="ngNavigationCancelingError";function te(k,j){const{redirectTo:w,navigationBehaviorOptions:q}=nt(j)?{redirectTo:j,navigationBehaviorOptions:void 0}:j,Se=Ne(!1,0,j);return Se.url=w,Se.navigationBehaviorOptions=q,Se}function Ne(k,j,w){const q=new Error("NavigationCancelingError: "+(k||""));return q[C]=!0,q.cancellationCode=j,w&&(q.url=w),q}function ot(k){return Zt(k)&&nt(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,rt){this.routeReuseStrategy=j,this.futureState=w,this.currState=q,this.forwardEvent=Se,this.inputBindingEnabled=rt}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(rt=>{const st=rt.value.outlet;this.deactivateRoutes(rt,Se[st],q),delete Se[st]}),Object.values(Se).forEach(rt=>{this.deactivateRouteAndItsChildren(rt,q)})}deactivateRoutes(j,w,q){const Se=j.value,rt=w?w.value:null;if(Se===rt)if(Se.component){const st=q.getContext(Se.outlet);st&&this.deactivateChildRoutes(j,w,st.children)}else this.deactivateChildRoutes(j,w,q);else rt&&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,rt=gn(j);for(const st of Object.keys(rt))this.deactivateRouteAndItsChildren(rt[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,rt=gn(j);for(const st of Object.keys(rt))this.deactivateRouteAndItsChildren(rt[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(rt=>{this.activateRoutes(rt,Se[rt.value.outlet],q),this.forwardEvent(new jt(rt.value.snapshot))}),j.children.length&&this.forwardEvent(new Ni(j.value.snapshot))}activateRoutes(j,w,q){const Se=j.value,rt=w?w.value:null;if(tn(Se),Se===rt)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 rt=gn(j);return k.children.forEach(st=>{(function oi(k,j,w,q,Se={canDeactivateChecks:[],canActivateChecks:[]}){const rt=k.value,st=j?j.value:null,Vt=w?w.getContext(k.value.outlet):null;if(st&&rt.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,rt,rt.routeConfig.runGuardsAndResolvers);hn?Se.canActivateChecks.push(new On(q)):(rt.data=st.data,rt._resolvedData=st._resolvedData),ni(k,j,rt.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,rt.component?Vt?Vt.children:null:w,q,Se)})(st,rt[st.value.outlet],w,q.concat([st.value]),Se),delete rt[st.value.outlet]}),Object.entries(rt).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(([rt,st])=>{Zi(st,Se.component?j?j.children.getContext(rt):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 h.K||"EmptyError"===k?.name}const Sr=Symbol("INITIAL_VALUE");function Ar(){return(0,S.w)(k=>(0,f.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(nt(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 rt=this.createSegmentGroup(j,w.root,q,Se);return new at(rt,this.createQueryParams(w.queryParams,this.urlTree.queryParams),w.fragment)}createQueryParams(j,w){const q={};return Object.entries(j).forEach(([Se,rt])=>{if("string"==typeof rt&&rt.startsWith(":")){const Vt=rt.substring(1);q[Se]=w[Vt]}else q[Se]=rt}),q}createSegmentGroup(j,w,q,Se){const rt=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(rt,st)}createSegments(j,w,q,Se){return w.map(rt=>rt.path.startsWith(":")?this.findPosParam(j,rt,Se):this.findOrReturn(rt,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 ue={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fe(k,j,w,q,Se){const rt=it(k,j,w);return rt.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 rt=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)(rt).pipe(Ar(),dr())}(q,j,w).pipe((0,D.U)(st=>!0===st?rt:{...ue}))):(0,g.of)(rt)}function it(k,j,w){if(""===j.path)return"full"===j.pathMatch&&(k.hasChildren()||w.length>0)?{...ue}:{matched:!0,consumedSegments:[],remainingSegments:w,parameters:{},positionalParamSegments:{}};const Se=(j.matcher||ve)(w,k,j);if(!Se)return{...ue};const rt={};Object.entries(Se.posParams??{}).forEach(([Vt,hn])=>{rt[Vt]=hn.path});const st=Se.consumed.length>0?{...rt,...Se.consumed[Se.consumed.length-1].parameters}:rt;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,Et(k,0,w,q,k.children)),slicedSegments:w}:{segmentGroup:new N(k.segments,k.children),slicedSegments:w}}function Et(k,j,w,q,Se){const rt={};for(const st of q)if(Ln(k,w,st)&&!Se[Ht(st)]){const Vt=new N([],{});rt[Ht(st)]=Vt}return{...Se,...rt}}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,rt,st,Vt){this.injector=j,this.configLoader=w,this.rootComponentType=q,this.config=Se,this.urlTree=rt,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),rt=new Gi("",Se),st=Ve(q,[],this.urlTree.queryParams,this.urlTree.fragment);return st.queryParams=this.urlTree.queryParams,rt.url=this.urlSerializer.serialize(st),this.inheritParamsAndData(rt._root),{state:rt,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 rt of Object.keys(q.children))"primary"===rt?Se.unshift(rt):Se.push(rt);return(0,d.D)(Se).pipe((0,ie.b)(rt=>{const st=q.children[rt],Vt=function Yt(k,j){const w=k.filter(q=>Ht(q)===j);return w.push(...k.filter(q=>Ht(q)!==j)),w}(w,rt);return this.processSegmentGroup(j,Vt,st,rt)}),(0,Ce.R)((rt,st)=>(rt.push(...st),rt)),(0,Re.d)(null),(0,Ae.Z)(),(0,$.z)(rt=>{if(null===rt)return Rr(q);const st=Ki(rt);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,rt,st){return(0,d.D)(w).pipe((0,ie.b)(Vt=>this.processSegmentAgainstRoute(Vt._injector??j,w,Vt,q,Se,rt,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,rt)?(0,g.of)([]):Rr(q);throw Vt}))}processSegmentAgainstRoute(j,w,q,Se,rt,st,Vt){return function pi(k,j,w,q){return!!(Ht(k)===q||q!==Be&&Ln(j,w,k))&&("**"===k.path||it(j,k,w).matched)}(q,Se,rt,st)?void 0===q.redirectTo?this.matchSegmentAgainstRoute(j,Se,q,rt,st,Vt):Vt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(j,Se,w,q,rt,st):Rr(Se):Rr(Se)}expandSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st){return"**"===Se.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(j,q,Se,st):this.expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st)}expandWildCardWithParamsAgainstRouteUsingRedirect(j,w,q,Se){const rt=this.applyRedirects.applyRedirectCommands([],q.redirectTo,{});return q.redirectTo.startsWith("/")?oo(rt):this.applyRedirects.lineralizeSegments(q,rt).pipe((0,$.z)(st=>{const Vt=new N(st,{});return this.processSegment(j,w,Vt,st,Se,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st){const{matched:Vt,consumedSegments:hn,remainingSegments:An,positionalParamSegments:Kn}=it(w,Se,rt);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,rt,st){let Vt;if("**"===q.path){const hn=Se.length>0?Ge(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)===rt;return this.processSegment(Kn,An,wo,To,Io?Be:rt,!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 rt=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)(rt).pipe(Ar(),dr())}(j,w,q).pipe((0,$.z)(Se=>Se?this.configLoader.loadChildren(j,w).pipe((0,A.b)(rt=>{w._loadedRoutes=rt.routes,w._loadedInjector=rt.injector})):function T(k){return(0,p._)(Ne(!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(rt=>q.value.routeConfig===rt.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)(rt=>{this.onLoadEndListener&&this.onLoadEndListener(w),w._loadedComponent=rt}),(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 rt=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(rt,()=>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)(ce),this.rootContexts=(0,n.inject)(se),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,rt=!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,rt){return(0,$.z)(st=>function Gn(k,j,w,q,Se,rt,st="emptyOnly"){return new ii(k,j,w,q,Se,st,rt).recognize()}(k,j,w,q,st.extractedUrl,Se,rt).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:rt,canDeactivateChecks:st}}=w;return 0===st.length&&0===rt.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 rt=j&&j.routeConfig?j.routeConfig.canDeactivate:null;if(!rt||0===rt.length)return(0,g.of)(!0);const st=rt.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 le(k,j){return null!==k&&j&&j(new Mt(k)),(0,g.of)(!0)}(Se.route,q),function Xt(k,j,w){const q=j[j.length-1],rt=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)(rt).pipe(Ar())}(k,Se.path,w),function We(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(rt=>(0,v.P)(()=>{const st=Jt(j)??w,Vt=qn(rt,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,rt,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,nt(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 rt=0;return(0,d.D)(Se).pipe((0,ie.b)(st=>function xr(k,j,w,q){const Se=k.routeConfig,rt=k._resolve;return void 0!==Se?.title&&!Yr(Se)&&(rt[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 rt={};return(0,d.D)(Se).pipe((0,$.z)(st=>function yo(k,j,w,q){const Se=Jt(j)??q,rt=qn(k,Se);return tt(rt.resolve?rt.resolve(j,w):Se.runInContext(()=>rt(j,w)))}(k[st],j,w,q).pipe((0,ee.P)(),(0,A.b)(Vt=>{rt[st]=Vt}))),(0,de.h)(1),(0,H.h)(rt),(0,U.K)(st=>ro(st)?_.E:(0,p._)(st)))}(rt,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)(()=>rt++),(0,de.h)(1),(0,$.z)(st=>rt===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,f.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||rt||this.cancelNavigationTransition(q,"",1),this.currentNavigation?.id===q.id&&(this.currentNavigation=null)}),(0,U.K)(st=>{if(rt=!0,Zt(st)){ot(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),ot(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 rt=new ti(w.id,this.urlSerializer.serialize(w.extractedUrl),q,Se);this.events.next(rt),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(rt=>rt.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 $t=function(k){return k[k.COMPLETE=0]="COMPLETE",k[k.FAILED=1]="FAILED",k[k.REDIRECTING=2]="REDIRECTING",k}($t||{});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?$t.COMPLETE:w instanceof ti&&(0===w.code||1===w.code)?$t.REDIRECTING:$t.FAILED),(0,X.h)(w=>w!==$t.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)(ce),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 rt={replaceUrl:!0},st=Se?.navigationId?Se:null;if(Se){const hn={...Se};delete hn.navigationId,delete hn.\u0275routerPageId,0!==Object.keys(hn).length&&(rt.state=hn)}const Vt=this.parseUrl(w);this.scheduleNavigation(Vt,q,st,rt)}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:rt,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,...rt};break;case"preserve":Kn=this.currentUrlTree.queryParams;break;default:Kn=rt||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 At($i,w,Kn,An??null)}navigateByUrl(w,q={skipLocationChange:!1}){const Se=nt(w)?w:this.parseUrl(w),rt=this.urlHandlingStrategy.merge(Se,this.rawUrlTree);return this.scheduleNavigation(rt,wn,null,q)}navigate(w,q={skipLocationChange:!1}){return function Ji(k){for(let j=0;j{const rt=w[Se];return null!=rt&&(q[Se]=rt),q},{})}scheduleNavigation(w,q,Se,rt,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:rt,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 rt={...q.extras.state,...this.generateNgRouterState(q.id,(this.browserPageId??0)+1)};this.location.go(Se,"",rt)}}restoreHistory(w,q=!1){if("computed"===this.canceledNavigationResolution){const rt=this.currentPageId-(this.browserPageId??this.currentPageId);0!==rt?this.location.historyGo(rt):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===rt&&(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,rt,st,Vt){this.router=w,this.route=q,this.tabIndexAttribute=Se,this.renderer=rt,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,rt,st){return!!(null===this.urlTree||this.isAnchorElement&&(0!==w||q||Se||rt||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,rt=this.el.nativeElement;null!==q?Se.setAttribute(rt,w,q):Se.removeAttribute(rt,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(rt){return q.onClick(rt.button,rt.ctrlKey,rt.shiftKey,rt.altKey,rt.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,rt,st){this.router=w,this.element=q,this.renderer=Se,this.cdr=rt,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 rt;n.\u0275\u0275queryRefresh(rt=n.\u0275\u0275loadQuery())&&(q.links=rt)}},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,rt,st){this.router=w,this.injector=Se,this.preloadingStrategy=rt,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 rt of q){rt.providers&&!rt._injector&&(rt._injector=(0,n.createEnvironmentInjector)(rt.providers,w,`Route: ${rt.path}`));const st=rt._injector??w,Vt=rt._loadedInjector??st;(rt.loadChildren&&!rt._loadedRoutes&&void 0===rt.canLoad||rt.loadComponent&&!rt._loadedComponent)&&Se.push(this.preloadConfig(st,rt)),(rt.children||rt._loadedRoutes)&&Se.push(this.processRoutes(Vt,rt.children??rt._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 rt=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)([rt,st]).pipe((0,we.J)())}return rt})}}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,rt,st={}){this.urlSerializer=w,this.transitions=q,this.viewportScroller=Se,this.zone=rt,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),rt=(0,n.inject)(ce);return new Zr(rt,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),rt=j.get(dn);Kt(Se,()=>{q(!0)}),j.get(Qn).afterPreactivation=()=>(q(!0),rt.closed?(0,g.of)(void 0):rt),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:ce,useClass:Te},Jn,se,{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)(ce);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:()=>de,USE_STORE:()=>Ce});var n=a(1180),c=a(5879),d=a(2096),g=a(2664),r=a(9315),f=a(34),h=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 ae,ve,He,G=typeof Ee;if(G==typeof Be&&"object"==G){if(!Array.isArray(Ee)){if(Array.isArray(Be))return!1;for(ve in He=Object.create(null),Ee){if(!S(Ee[ve],Be[ve]))return!1;He[ve]=!0}for(ve in Be)if(!(ve in He)&&typeof Be[ve]<"u")return!1;return!0}if(!Array.isArray(Be))return!1;if((ae=Ee.length)==Be.length){for(ve=0;ve{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 ae;return ae="string"==typeof G?this.interpolateString(G,re):"function"==typeof G?this.interpolateFunction(G,re):G,ae}getValue(G,re){let ae="string"==typeof re?re.split("."):[re];re="";do{re+=ae.shift(),!E(G)||!E(G[re])||"object"!=typeof G[re]&&ae.length?ae.length?re+=".":G=void 0:(G=G[re],re="")}while(ae.length);return G}interpolateFunction(G,re){return G(re)}interpolateString(G,re){return re?G.replace(this.templateMatcher,(ae,ve)=>{let He=this.getValue(re,ve);return E(He)?He:ae}):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 Ce=new c.InjectionToken("USE_STORE"),Re=new c.InjectionToken("USE_DEFAULT_LANG"),Ae=new c.InjectionToken("DEFAULT_LANGUAGE"),de=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,ae,ve,He,Ze=!0,Qe=!1,Ge=!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=ae,this.parser=ve,this.missingTranslationHandler=He,this.useDefaultLang=Ze,this.isolate=Qe,this.extend=Ge,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(ae=>{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(ae=>{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)(ae=>this.compiler.compileTranslations(ae,G)),(0,v.d)(1),(0,u.q)(1)),this.loadingTranslations.subscribe({next:ae=>{this.translations[G]=this.extend&&this.translations[G]?{...ae,...this.translations[G]}:ae,this.updateLangs(),this.pending=!1},error:ae=>{this.pending=!1}}),re}setTranslation(G,re,ae=!1){re=this.compiler.compileTranslations(re,G),this.translations[G]=(ae||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,ae){let ve;if(re instanceof Array){let He={},Ze=!1;for(let Qe of re)He[Qe]=this.getParsedResult(G,Qe,ae),(0,g.b)(He[Qe])&&(Ze=!0);if(Ze){const Qe=re.map(Ge=>(0,g.b)(He[Ge])?He[Ge]:(0,d.of)(He[Ge]));return(0,r.D)(Qe).pipe((0,b.U)(Ge=>{let tt={};return Ge.forEach((Ct,Nt)=>{tt[re[Nt]]=Ct}),tt}))}return He}if(G&&(ve=this.parser.interpolate(this.parser.getValue(G,re),ae)),typeof ve>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ve=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],re),ae)),typeof ve>"u"){let He={key:re,translateService:this};typeof ae<"u"&&(He.interpolateParams=ae),ve=this.missingTranslationHandler.handle(He)}return typeof ve<"u"?ve: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)(ae=>(ae=this.getParsedResult(ae,G,re),(0,g.b)(ae)?ae:(0,d.of)(ae))));{let ae=this.getParsedResult(this.translations[this.currentLang],G,re);return(0,g.b)(ae)?ae:(0,d.of)(ae)}}getStreamOnTranslationChange(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,f.z)((0,h.P)(()=>this.get(G,re)),this.onTranslationChange.pipe((0,_.w)(ae=>{const ve=this.getParsedResult(ae.translations,G,re);return"function"==typeof ve.subscribe?ve:(0,d.of)(ve)})))}stream(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,f.z)((0,h.P)(()=>this.get(G,re)),this.onLangChange.pipe((0,_.w)(ae=>{const ve=this.getParsedResult(ae.translations,G,re);return(0,g.b)(ve)?ve:(0,d.of)(ve)})))}instant(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');let ae=this.getParsedResult(this.translations[this.currentLang],G,re);if((0,g.b)(ae)){if(G instanceof Array){let ve={};return G.forEach((He,Ze)=>{ve[G[Ze]]=G[Ze]}),ve}return G}return ae}set(G,re,ae=this.currentLang){this.translations[ae][G]=this.compiler.compile(re,ae),this.updateLangs(),this.onTranslationChange.emit({lang:ae,translations:this.translations[ae]})}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(Ce),c.\u0275\u0275inject(de),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,ae){(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=ae,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(ve=>{ve.lang===this.translateService.currentLang&&this.checkNodes(!0,ve.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(ve=>{this.checkNodes(!0,ve.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(ve=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(G=!1,re){let ae=this.element.nativeElement.childNodes;ae.length||(this.setContent(this.element.nativeElement,this.key),ae=this.element.nativeElement.childNodes);for(let ve=0;ve{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(ae)){let He=this.translateService.getParsedResult(ae,G,this.currentParams);(0,g.b)(He)?He.subscribe({next:ve}):ve(He)}else this.translateService.get(G,this.currentParams).subscribe(ve)}}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,ae){let ve=He=>{this.value=void 0!==He?He:G,this.lastKey=G,this._ref.markForCheck()};if(ae){let He=this.translate.getParsedResult(ae,G,re);(0,g.b)(He.subscribe)?He.subscribe(ve):ve(He)}this.translate.get(G,re).subscribe(ve)}transform(G,...re){if(!G||!G.length)return G;if(S(G,this.lastKey)&&S(re,this.lastParams))return this.value;let ae;if(E(re[0])&&re.length)if("string"==typeof re[0]&&re[0].length){let ve=re[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{ae=JSON.parse(ve)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${re[0]}`)}}else"object"==typeof re[0]&&!Array.isArray(re[0])&&(ae=re[0]);return this.lastKey=G,this.lastParams=re,this.updateValue(G,ae),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ve=>{this.lastKey&&ve.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(G,ae,ve.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ve=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,ae,ve.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,ae))})),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:Ce,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:de,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:Ce,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:de,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/",f=".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=f}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:()=>Gt,AbstractValidationHandler:()=>Qe,AuthConfig:()=>ve,DateTimeProvider:()=>Ce,DefaultHashHandler:()=>K,DefaultOAuthInterceptor:()=>Dt,HashHandler:()=>oe,JwksValidationHandler:()=>Ft,LoginOptions:()=>Ae,MemoryStorage:()=>W,NullValidationHandler:()=>ie,OAuthErrorEvent:()=>G,OAuthEvent:()=>we,OAuthInfoEvent:()=>Be,OAuthLogger:()=>de,OAuthModule:()=>mt,OAuthModuleConfig:()=>A,OAuthNoopResourceServerErrorHandler:()=>et,OAuthResourceServerConfig:()=>U,OAuthResourceServerErrorHandler:()=>Te,OAuthService:()=>ce,OAuthStorage:()=>H,OAuthSuccessEvent:()=>Ee,ReceivedTokens:()=>pe,SystemDateTimeProvider:()=>Re,UrlHelperService:()=>Ge,ValidationHandler:()=>Ze,provideOAuthClient:()=>Pe});var n=a(5861),c=a(5879),d=a(6814),g=a(9862),r=a(8645),f=a(2096),h=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(Ke){return Promise.resolve(null)}validateAtHash(Ke){return Promise.resolve(!0)}}class A{}class U{}class Ce{}let Re=(()=>{class Oe extends Ce{now(){return Date.now()}new(){return new Date}}return Oe.\u0275fac=function(){let Ke;return function(ge){return(Ke||(Ke=c.\u0275\u0275getInheritedFactory(Oe)))(ge||Oe)}}(),Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class Ae{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class de{}class H{}let W=(()=>{class Oe{constructor(){this.data=new Map}getItem(he){return this.data.get(he)}removeItem(he){this.data.delete(he)}setItem(he,ge){this.data.set(he,ge)}}return Oe.\u0275fac=function(he){return new(he||Oe)},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class pe{}class we{constructor(Ke){this.type=Ke}}class Ee extends we{constructor(Ke,he=null){super(Ke),this.info=he}}class Be extends we{constructor(Ke,he=null){super(Ke),this.info=he}}class G extends we{constructor(Ke,he,ge=null){super(Ke),this.reason=he,this.params=ge}}function re(Oe){const Ke=Oe.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(Ke).split("").map(function(he){return"%"+("00"+he.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function ae(Oe){return btoa(Oe).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ve{constructor(Ke){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=he=>{location.href=he},Ke&&Object.assign(this,Ke)}}class He{encodeKey(Ke){return encodeURIComponent(Ke)}encodeValue(Ke){return encodeURIComponent(Ke)}decodeKey(Ke){return decodeURIComponent(Ke)}decodeValue(Ke){return decodeURIComponent(Ke)}}class Ze{}class Qe{validateAtHash(Ke){var he=this;return(0,n.Z)(function*(){let ge=he.inferHashAlgorithm(Ke.idTokenHeader),ct=yield he.calcHash(Ke.accessToken,ge),Ye=ae(ct.substr(0,ct.length/2)),De=Ke.idTokenClaims.at_hash.replace(/=/g,"");return Ye!==De&&(console.error("exptected at_hash: "+Ye),console.error("actual at_hash: "+De)),Ye===De})()}inferHashAlgorithm(Ke){let he=Ke.alg;if(!he.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+he);return"sha-"+he.substr(2)}}let Ge=(()=>{class Oe{getHashFragmentParams(he){let ge=he||window.location.hash;if(ge=decodeURIComponent(ge),0!==ge.indexOf("#"))return{};const ct=ge.indexOf("?");return ge=ge.substr(ct>-1?ct+1:1),this.parseQueryString(ge)}parseQueryString(he){const ge={};let ct,Me,Ye,De,F,V,Q;if(null===he)return ge;ct=he.split("&");for(let be=0;be=64;){for(Me=Ke[0],Ye=Ke[1],De=Ke[2],F=Ke[3],V=Ke[4],Q=Ke[5],be=Ke[6],dt=Ke[7],qe=0;qe<16;qe++)nt=ge+4*qe,Oe[qe]=(255&he[nt])<<24|(255&he[nt+1])<<16|(255&he[nt+2])<<8|255&he[nt+3];for(qe=16;qe<64;qe++)Rt=Oe[qe-2],Ve=(Rt>>>17|Rt<<15)^(Rt>>>19|Rt<<13)^Rt>>>10,Rt=Oe[qe-15],yt=(Rt>>>7|Rt<<25)^(Rt>>>18|Rt<<14)^Rt>>>3,Oe[qe]=(Ve+Oe[qe-7]|0)+(yt+Oe[qe-16]|0);for(qe=0;qe<64;qe++)Ve=(((V>>>6|V<<26)^(V>>>11|V<<21)^(V>>>25|V<<7))+(V&Q^~V&be)|0)+(dt+(Nt[qe]+Oe[qe]|0)|0)|0,yt=((Me>>>2|Me<<30)^(Me>>>13|Me<<19)^(Me>>>22|Me<<10))+(Me&Ye^Me&De^Ye&De)|0,dt=be,be=Q,Q=V,V=F+Ve|0,F=De,De=Ye,Ye=Me,Me=Ve+yt|0;Ke[0]+=Me,Ke[1]+=Ye,Ke[2]+=De,Ke[3]+=F,Ke[4]+=V,Ke[5]+=Q,Ke[6]+=be,Ke[7]+=dt,ge+=64,ct-=64}return ge}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 Ke=0;Ke0){for(;this.bufferLength<64&&he>0;)this.buffer[this.bufferLength++]=Ke[ge++],he--;64===this.bufferLength&&(_t(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(he>=64&&(ge=_t(this.temp,this.state,Ke,ge,he),he%=64);he>0;)this.buffer[this.bufferLength++]=Ke[ge++],he--;return this}finish(Ke){if(!this.finished){const he=this.bytesHashed,ge=this.bufferLength,ct=he/536870912|0,Me=he<<3,Ye=he%64<56?64:128;this.buffer[ge]=128;for(let De=ge+1;De>>24&255,this.buffer[Ye-7]=ct>>>16&255,this.buffer[Ye-6]=ct>>>8&255,this.buffer[Ye-5]=ct>>>0&255,this.buffer[Ye-4]=Me>>>24&255,this.buffer[Ye-3]=Me>>>16&255,this.buffer[Ye-2]=Me>>>8&255,this.buffer[Ye-1]=Me>>>0&255,_t(this.temp,this.state,this.buffer,0,Ye),this.finished=!0}for(let he=0;he<8;he++)Ke[4*he+0]=this.state[he]>>>24&255,Ke[4*he+1]=this.state[he]>>>16&255,Ke[4*he+2]=this.state[he]>>>8&255,Ke[4*he+3]=this.state[he]>>>0&255;return this}digest(){const Ke=new Uint8Array(this.digestLength);return this.finish(Ke),Ke}_saveState(Ke){for(let he=0;he{class Oe{calcHash(he,ge){return(0,n.Z)(function*(){return function ne(Oe){var Ke,he=[];for(Ke=0;Ke{class Oe extends ve{constructor(he,ge,ct,Me,Ye,De,F,V,Q,be){super(),this.ngZone=he,this.http=ge,this.config=Ye,this.urlHelper=De,this.logger=F,this.crypto=V,this.dateTimeService=be,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=Q,Ye||(Ye={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),Me&&(this.tokenValidationHandler=Me),Ye&&this.configure(Ye);try{ct?this.setStorage(ct):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(dt){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",dt)}if(this.checkLocalStorageAccessable()){const dt=window?.navigator?.userAgent;(dt?.includes("MSIE ")||dt?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const he="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(he,he),localStorage.removeItem(he),0))}catch{return!1}}configure(he){Object.assign(this,new ve,he),this.config=Object.assign({},new ve,he),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,_.h)(he=>"token_received"===he.type)).subscribe(he=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(he={},ge,ct=!0){let Me=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,l.b)(Ye=>{"token_received"===Ye.type?Me=!0:"logout"===Ye.type&&(Me=!1)}),(0,_.h)(Ye=>"token_expires"===Ye.type&&(null==ge||"any"===ge||Ye.info===ge)),(0,y.b)(1e3)).subscribe(Ye=>{Me&&this.refreshInternal(he,ct).catch(De=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(he,ge){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(he,ge):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(he=null){return this.loadDiscoveryDocument().then(ge=>this.tryLogin(he))}loadDiscoveryDocumentAndLogin(he=null){return this.loadDiscoveryDocumentAndTryLogin(he=he||{}).then(ge=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof he.state?he.state:""),!1))}debug(...he){this.showDebugInformation&&this.logger.debug.apply(this.logger,he)}validateUrlFromDiscoveryDocument(he){const ge=[],ct=this.validateUrlForHttps(he),Me=this.validateUrlAgainstIssuer(he);return ct||ge.push("https for all urls required. Also for urls received by discovery."),Me||ge.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),ge}validateUrlForHttps(he){if(!he)return!0;const ge=he.toLowerCase();return!(!1!==this.requireHttps&&(!ge.match(/^http:\/\/localhost($|[:\/])/)&&!ge.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||ge.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(he,ge){if(!he)throw new Error(`'${ge}' should not be null`);if(!this.validateUrlForHttps(he))throw new Error(`'${ge}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(he){return!this.strictDiscoveryDocumentValidation||!he||he.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)(he=>"token_received"===he.type)).subscribe(he=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const he=this.getAccessTokenExpiration(),ge=this.getAccessTokenStoredAt(),ct=this.calcTimeout(ge,he);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,f.of)(new Be("token_expires","access_token")).pipe((0,x.g)(ct)).subscribe(Me=>{this.ngZone.run(()=>{this.eventsSubject.next(Me)})})})}setupIdTokenTimer(){const he=this.getIdTokenExpiration(),ge=this.getIdTokenStoredAt(),ct=this.calcTimeout(ge,he);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,f.of)(new Be("token_expires","id_token")).pipe((0,x.g)(ct)).subscribe(Me=>{this.ngZone.run(()=>{this.eventsSubject.next(Me)})})})}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(he,ge){const ct=this.dateTimeService.now(),Ye=Math.max(0,(ge-he)*this.timeoutFactor-(ct-he)),De=2147483647;return Ye>De?De:Ye}setStorage(he){this._storage=he,this.configChanged()}loadDiscoveryDocument(he=null){return new Promise((ge,ct)=>{he||((he=this.issuer||"").endsWith("/")||(he+="/"),he+=".well-known/openid-configuration"),this.validateUrlForHttps(he)?this.http.get(he).subscribe(Me=>{if(!this.validateDiscoveryDocument(Me))return this.eventsSubject.next(new G("discovery_document_validation_error",null)),void ct("discovery_document_validation_error");this.loginUrl=Me.authorization_endpoint,this.logoutUrl=Me.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=Me.grant_types_supported,this.issuer=Me.issuer,this.tokenEndpoint=Me.token_endpoint,this.userinfoEndpoint=Me.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=Me.jwks_uri,this.sessionCheckIFrameUrl=Me.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(Me),this.revocationEndpoint=Me.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(Ye=>{const F=new Ee("discovery_document_loaded",{discoveryDocument:Me,jwks:Ye});this.eventsSubject.next(F),ge(F)}).catch(Ye=>{this.eventsSubject.next(new G("discovery_document_load_error",Ye)),ct(Ye)})},Me=>{this.logger.error("error loading discovery document",Me),this.eventsSubject.next(new G("discovery_document_load_error",Me)),ct(Me)}):ct("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((he,ge)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(ct=>{this.jwks=ct,he(ct)},ct=>{this.logger.error("error loading jwks",ct),this.eventsSubject.next(new G("jwks_load_error",ct)),ge(ct)}):he(null)})}validateDiscoveryDocument(he){let ge;return this.skipIssuerCheck||he.issuer===this.issuer?(ge=this.validateUrlFromDiscoveryDocument(he.authorization_endpoint),ge.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.end_session_endpoint),ge.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.token_endpoint),ge.length>0&&this.logger.error("error validating token_endpoint in discovery document",ge),ge=this.validateUrlFromDiscoveryDocument(he.revocation_endpoint),ge.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",ge),ge=this.validateUrlFromDiscoveryDocument(he.userinfo_endpoint),ge.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.jwks_uri),ge.length>0?(this.logger.error("error validating jwks_uri in discovery document",ge),!1):(this.sessionChecksEnabled&&!he.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: "+he.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(he,ge,ct=new g.HttpHeaders){return this.fetchTokenUsingPasswordFlow(he,ge,ct).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((he,ge)=>{const ct=(new g.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:ct,observe:"response",responseType:"text"}).subscribe(Me=>{if(this.debug("userinfo received",JSON.stringify(Me)),Me.headers.get("content-type").startsWith("application/json")){let Ye=JSON.parse(Me.body);const De=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!De.sub||Ye.sub!==De.sub))return void ge("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")),he({info:Ye})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new Ee("user_profile_loaded")),he(JSON.parse(Me.body))},Me=>{this.logger.error("error loading user info",Me),this.eventsSubject.next(new G("user_profile_load_error",Me)),ge(Me)})})}fetchTokenUsingPasswordFlow(he,ge,ct=new g.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:he,password:ge},ct)}fetchTokenUsingGrant(he,ge,ct=new g.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let Me=new g.HttpParams({encoder:new He}).set("grant_type",he).set("scope",this.scope);if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);ct=ct.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(Me=Me.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Me=Me.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))Me=Me.set(Ye,this.customQueryParams[Ye]);for(const Ye of Object.keys(ge))Me=Me.set(Ye,ge[Ye]);return ct=ct.set("Content-Type","application/x-www-form-urlencoded"),new Promise((Ye,De)=>{this.http.post(this.tokenEndpoint,Me,{headers:ct}).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((he,ge)=>{let ct=new g.HttpParams({encoder:new He}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),Me=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);Me=Me.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(ct=ct.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ct=ct.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))ct=ct.set(Ye,this.customQueryParams[Ye]);this.http.post(this.tokenEndpoint,ct,{headers:Me}).pipe((0,D.w)(Ye=>this.oidc&&Ye.id_token?(0,h.D)(this.processIdToken(Ye.id_token,Ye.access_token,!0)).pipe((0,l.b)(De=>this.storeIdToken(De)),(0,S.U)(De=>Ye)):(0,f.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")),he(Ye)},Ye=>{this.logger.error("Error refreshing token",Ye),this.eventsSubject.next(new G("token_refresh_error",Ye)),ge(Ye)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=he=>{const ge=this.processMessageEventMessage(he);this.checkOrigin&&he.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:ge,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(ct=>this.debug("tryLogin during silent refresh failed",ct))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(he={},ge=!0){const ct=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(he.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 Me=this.document.getElementById(this.silentRefreshIFrameName);Me&&this.document.body.removeChild(Me),this.silentRefreshSubject=ct.sub;const Ye=this.document.createElement("iframe");Ye.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,ge,he).then(be=>{Ye.setAttribute("src",be),this.silentRefreshShowIFrame||(Ye.style.display="none"),this.document.body.appendChild(Ye)});const F=this.events.pipe((0,_.h)(be=>be instanceof G),(0,E.P)()),V=this.events.pipe((0,_.h)(be=>"token_received"===be.type),(0,E.P)()),Q=(0,f.of)(new G("silent_refresh_timeout",null)).pipe((0,x.g)(this.silentRefreshTimeout));return(0,u.S)([F,V,Q]).pipe((0,S.U)(be=>{if(be instanceof G)throw"silent_refresh_timeout"===be.type||(be=new G("silent_refresh_error",be)),this.eventsSubject.next(be),be;return"token_received"===be.type&&(be=new Ee("silently_refreshed"),this.eventsSubject.next(be)),be})).toPromise()}initImplicitFlowInPopup(he){return this.initLoginFlowInPopup(he)}initLoginFlowInPopup(he){return he=he||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(ge=>new Promise((ct,Me)=>{let F,De=null;he.windowRef?he.windowRef&&!he.windowRef.closed&&(De=he.windowRef,De.location.href=ge):De=window.open(ge,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(he));const V=qe=>{this.tryLogin({customHashFragment:qe,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{be(),ct(!0)},nt=>{be(),Me(nt)})};De?F=window.setInterval(()=>{(!De||De.closed)&&(be(),Me(new G("popup_closed",{})))},500):Me(new G("popup_blocked",{}));const be=()=>{window.clearInterval(F),window.removeEventListener("storage",Rt),window.removeEventListener("message",dt),null!==De&&De.close(),De=null},dt=qe=>{const nt=this.processMessageEventMessage(qe);nt&&null!==nt?(window.removeEventListener("storage",Rt),V(nt)):console.log("false event firing")},Rt=qe=>{"auth_hash"===qe.key&&(window.removeEventListener("message",dt),V(qe.newValue))};window.addEventListener("message",dt),window.addEventListener("storage",Rt)}))}calculatePopupFeatures(he){const ge=he.height||470,ct=he.width||500,Me=window.screenLeft+(window.outerWidth-ct)/2;return`location=no,toolbar=no,width=${ct},height=${ge},top=${window.screenTop+(window.outerHeight-ge)/2},left=${Me}`}processMessageEventMessage(he){let ge="#";if(this.silentRefreshMessagePrefix&&(ge+=this.silentRefreshMessagePrefix),!he||!he.data||"string"!=typeof he.data)return;const ct=he.data;return ct.startsWith(ge)?"#"+ct.substr(ge.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=he=>{const ge=he.origin.toLowerCase(),ct=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),ct.startsWith(ge)){switch(he.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",he)}else this.debug("sessionCheckEventListener","wrong origin",ge,"expected",ct,"event",he)},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(he=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new Be("session_terminated")),this.logOut(!0)):this.refreshToken().then(he=>{this.debug("token refresh after session change worked")}).catch(he=>{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)(he=>"silently_refreshed"===he.type||"silent_refresh_timeout"===he.type||"silent_refresh_error"===he.type),(0,E.P)()).subscribe(he=>{"silently_refreshed"!==he.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 he=this.document.getElementById(this.sessionCheckIFrameName);he&&this.document.body.removeChild(he);const ge=this.document.createElement("iframe");ge.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),ge.setAttribute("src",this.sessionCheckIFrameUrl),ge.style.display="none",this.document.body.appendChild(ge),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 he=this.document.getElementById(this.sessionCheckIFrameName);he||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const ge=this.getSessionState();ge||this.stopSessionCheckTimer(),he.contentWindow.postMessage(this.clientId+" "+ge,this.issuer)}createLoginUrl(he="",ge="",ct="",Me=!1,Ye={}){var De=this;return(0,n.Z)(function*(){const F=De;let V;V=ct||De.redirectUri;const Q=yield De.createAndSaveNonce();if(he=he?Q+De.config.nonceStateSeparator+encodeURIComponent(he):Q,!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 be=F.loginUrl.indexOf("?")>-1?"&":"?";let dt=F.scope;De.oidc&&!dt.match(/(^|\s)openid($|\s)/)&&(dt="openid "+dt);let Rt=F.loginUrl+be+"response_type="+encodeURIComponent(F.responseType)+"&client_id="+encodeURIComponent(F.clientId)+"&state="+encodeURIComponent(he)+"&redirect_uri="+encodeURIComponent(V)+"&scope="+encodeURIComponent(dt);if(De.responseType.includes("code")&&!De.disablePKCE){const[qe,nt]=yield De.createChallangeVerifierPairForPKCE();De.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",nt):De._storage.setItem("PKCE_verifier",nt),Rt+="&code_challenge="+qe,Rt+="&code_challenge_method=S256"}ge&&(Rt+="&login_hint="+encodeURIComponent(ge)),F.resource&&(Rt+="&resource="+encodeURIComponent(F.resource)),F.oidc&&(Rt+="&nonce="+encodeURIComponent(Q)),Me&&(Rt+="&prompt=none");for(const qe of Object.keys(Ye))Rt+="&"+encodeURIComponent(qe)+"="+encodeURIComponent(Ye[qe]);if(De.customQueryParams)for(const qe of Object.getOwnPropertyNames(De.customQueryParams))Rt+="&"+qe+"="+encodeURIComponent(De.customQueryParams[qe]);return Rt})()}initImplicitFlowInternal(he="",ge=""){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 ct={},Me=null;"string"==typeof ge?Me=ge:"object"==typeof ge&&(ct=ge),this.createLoginUrl(he,Me,null,!1,ct).then(this.config.openUri).catch(Ye=>{console.error("Error in initImplicitFlow",Ye),this.inImplicitFlow=!1})}initImplicitFlow(he="",ge=""){""!==this.loginUrl?this.initImplicitFlowInternal(he,ge):this.events.pipe((0,_.h)(ct=>"discovery_document_loaded"===ct.type)).subscribe(ct=>this.initImplicitFlowInternal(he,ge))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(he){const ge=this;if(he.onTokenReceived){const ct={idClaims:ge.getIdentityClaims(),idToken:ge.getIdToken(),accessToken:ge.getAccessToken(),state:ge.state};he.onTokenReceived(ct)}}storeAccessTokenResponse(he,ge,ct,Me,Ye){if(this._storage.setItem("access_token",he),Me&&!Array.isArray(Me)?this._storage.setItem("granted_scopes",JSON.stringify(Me.split(" "))):Me&&Array.isArray(Me)&&this._storage.setItem("granted_scopes",JSON.stringify(Me)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),ct){const De=1e3*ct,V=this.dateTimeService.new().getTime()+De;this._storage.setItem("expires_at",""+V)}ge&&this._storage.setItem("refresh_token",ge),Ye&&Ye.forEach((De,F)=>{this._storage.setItem(F,De)})}tryLogin(he=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(he).then(ge=>!0):this.tryLoginImplicitFlow(he)}parseQueryString(he){return he&&0!==he.length?("?"===he.charAt(0)&&(he=he.substr(1)),this.urlHelper.parseQueryString(he)):{}}tryLoginCodeFlow(he=null){var ge=this;return(0,n.Z)(function*(){const ct=(he=he||{}).customHashFragment?he.customHashFragment.substring(1):window.location.search,Me=ge.getCodePartsFromUrl(ct),Ye=Me.code,De=Me.state,F=Me.session_state;if(!he.preventClearHashAfterLogin){const be=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,be)}let[V,Q]=ge.parseState(De);if(ge.state=Q,Me.error){ge.debug("error trying to login"),ge.handleLoginError(he,Me);const be=new G("code_error",{},Me);return ge.eventsSubject.next(be),Promise.reject(be)}if(!he.disableNonceCheck){if(!V)return ge.saveRequestedRoute(),Promise.resolve();if(!he.disableOAuth2StateCheck&&!ge.validateNonce(V)){const dt=new G("invalid_nonce_in_state",null);return ge.eventsSubject.next(dt),Promise.reject(dt)}}return ge.storeSessionState(F),Ye&&(yield ge.getTokenFromCode(Ye,he),ge.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const he=this._storage.getItem("requested_route");he&&history.replaceState(null,"",window.location.origin+he)}getCodePartsFromUrl(he){return he&&0!==he.length?("?"===he.charAt(0)&&(he=he.substr(1)),this.urlHelper.parseQueryString(he)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(he,ge){let ct=new g.HttpParams({encoder:new He}).set("grant_type","authorization_code").set("code",he).set("redirect_uri",ge.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let Me;Me=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),Me?ct=ct.set("code_verifier",Me):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(ct,ge)}fetchAndProcessToken(he,ge){ge=ge||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let ct=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Me=btoa(`${this.clientId}:${this.dummyClientSecret}`);ct=ct.set("Authorization","Basic "+Me)}return this.useHttpBasicAuth||(he=he.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(he=he.set("client_secret",this.dummyClientSecret)),new Promise((Me,Ye)=>{if(this.customQueryParams)for(let De of Object.getOwnPropertyNames(this.customQueryParams))he=he.set(De,this.customQueryParams[De]);this.http.post(this.tokenEndpoint,he,{headers:ct}).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,ge.disableNonceCheck).then(F=>{this.storeIdToken(F),this.eventsSubject.next(new Ee("token_received")),this.eventsSubject.next(new Ee("token_refreshed")),Me(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")),Me(De))},De=>{console.error("Error getting token",De),this.eventsSubject.next(new G("token_refresh_error",De)),Ye(De)})})}tryLoginImplicitFlow(he=null){let ge;ge=(he=he||{}).customHashFragment?this.urlHelper.getHashFragmentParams(he.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",ge);const ct=ge.state;let[Me,Ye]=this.parseState(ct);if(this.state=Ye,ge.error){this.debug("error trying to login"),this.handleLoginError(he,ge);const be=new G("token_error",{},ge);return this.eventsSubject.next(be),Promise.reject(be)}const De=ge.access_token,F=ge.id_token,V=ge.session_state,Q=ge.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!De||this.requestAccessToken&&!he.disableOAuth2StateCheck&&!ct||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&&!he.disableNonceCheck&&!this.validateNonce(Me)){const dt=new G("invalid_nonce_in_state",null);return this.eventsSubject.next(dt),Promise.reject(dt)}return this.requestAccessToken&&this.storeAccessTokenResponse(De,null,ge.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Q),this.oidc?this.processIdToken(F,De,he.disableNonceCheck).then(be=>he.validationHandler?he.validationHandler({accessToken:De,idClaims:be.idTokenClaims,idToken:be.idToken,state:ct}).then(dt=>be):be).then(be=>(this.storeIdToken(be),this.storeSessionState(V),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new Ee("token_received")),this.callOnTokenReceivedIfExists(he),this.inImplicitFlow=!1,!0)).catch(be=>(this.eventsSubject.next(new G("token_validation_error",be)),this.logger.error("Error validating tokens"),this.logger.error(be),Promise.reject(be))):(this.eventsSubject.next(new Ee("token_received")),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(he),Promise.resolve(!0))}parseState(he){let ge=he,ct="";if(he){const Me=he.indexOf(this.config.nonceStateSeparator);Me>-1&&(ge=he.substr(0,Me),ct=he.substr(Me+this.config.nonceStateSeparator.length))}return[ge,ct]}validateNonce(he){let ge;return ge=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),ge===he||(console.error("Validating access_token failed, wrong state/nonce.",ge,he),!1)}storeIdToken(he){this._storage.setItem("id_token",he.idToken),this._storage.setItem("id_token_claims_obj",he.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+he.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(he){this._storage.setItem("session_state",he)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(he,ge){he.onLoginError&&he.onLoginError(ge),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(he=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:he}processIdToken(he,ge,ct=!1){const Me=he.split("."),De=re(this.padBase64(Me[0])),F=JSON.parse(De),Q=re(this.padBase64(Me[1])),be=JSON.parse(Q);let dt;if(dt=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(be.aud)){if(be.aud.every(At=>At!==this.clientId)){const At="Wrong audience: "+be.aud.join(",");return this.logger.warn(At),Promise.reject(At)}}else if(be.aud!==this.clientId){const At="Wrong audience: "+be.aud;return this.logger.warn(At),Promise.reject(At)}if(!be.sub){const At="No sub claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==be.sub){const At=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${be.sub}`;return this.logger.warn(At),Promise.reject(At)}if(!be.iat){const At="No iat claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(!this.skipIssuerCheck&&be.iss!==this.issuer){const At="Wrong issuer: "+be.iss;return this.logger.warn(At),Promise.reject(At)}if(!ct&&be.nonce!==dt){const At="Wrong nonce: "+be.nonce;return this.logger.warn(At),Promise.reject(At)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!be.at_hash){const At="An at_hash is needed!";return this.logger.warn(At),Promise.reject(At)}const Rt=this.dateTimeService.now(),qe=1e3*be.iat,nt=1e3*be.exp,Ve=this.getClockSkewInMsec();if(qe-Ve>=Rt||nt+Ve-this.decreaseExpirationBySec<=Rt){const At="Token has expired";return console.error(At),console.error({now:Rt,issuedAtMSec:qe,expiresAtMSec:nt}),Promise.reject(At)}const yt={accessToken:ge,idToken:he,jwks:this.jwks,idTokenClaims:be,idTokenHeader:F,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(yt).then(At=>({idToken:he,idTokenClaims:be,idTokenClaimsJson:Q,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:nt})):this.checkAtHash(yt).then(At=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!At){const on="Wrong at_hash";return this.logger.warn(on),Promise.reject(on)}return this.checkSignature(yt).then(on=>{const Sn={idToken:he,idTokenClaims:be,idTokenClaimsJson:Q,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:nt};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 he=this._storage.getItem("id_token_claims_obj");return he?JSON.parse(he):null}getGrantedScopes(){const he=this._storage.getItem("granted_scopes");return he?JSON.parse(he):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(he){for(;he.length%4!=0;)he+="=";return he}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 he=this._storage.getItem("expires_at"),ge=this.dateTimeService.new();return!(he&&parseInt(he,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(he)?JSON.parse(this._storage.getItem(he)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(he={},ge=""){let ct=!1;"boolean"==typeof he&&(ct=he,he={});const Me=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||ct)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(Me)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let De=new g.HttpParams({encoder:new He});Me&&(De=De.set("id_token_hint",Me));const F=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";F&&(De=De.set("post_logout_redirect_uri",F),ge&&(De=De.set("state",ge)));for(let V in he)De=De.set(V,he[V]);Ye=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+De.toString()}this.config.openUri(Ye)}createAndSaveNonce(){const he=this;return this.createNonce().then(function(ge){return he.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",ge):he._storage.setItem("nonce",ge),ge})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const he=this.document.getElementById(this.silentRefreshIFrameName);he&&he.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const ge=this.document.getElementById(this.sessionCheckIFrameName);ge&&ge.remove()}createNonce(){return new Promise(he=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const ge="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let ct=45,Me="";const Ye=typeof self>"u"?null:self.crypto||self.msCrypto;if(Ye){let De=new Uint8Array(ct);Ye.getRandomValues(De),De.map||(De.map=Array.prototype.map),De=De.map(F=>ge.charCodeAt(F%66)),Me=String.fromCharCode.apply(null,De)}else for(;0"discovery_document_loaded"===ct.type)).subscribe(ct=>this.initCodeFlowInternal(he,ge))}initCodeFlowInternal(he="",ge={}){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 ct={},Me=null;"string"==typeof ge?Me=ge:"object"==typeof ge&&(ct=ge),this.createLoginUrl(he,Me,null,!1,ct).then(this.config.openUri).catch(Ye=>{console.error("Error in initAuthorizationCodeFlow"),console.error(Ye)})}createChallangeVerifierPairForPKCE(){var he=this;return(0,n.Z)(function*(){if(!he.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const ge=yield he.createNonce();return[ae(yield he.crypto.calcHash(ge,"sha-256")),ge]})()}extractRecognizedCustomParameters(he){let ge=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(ct=>{he[ct]&&ge.set(ct,JSON.stringify(he[ct]))}),ge}revokeTokenAndLogout(he={},ge=!1){let ct=this.revocationEndpoint,Me=this.getAccessToken(),Ye=this.getRefreshToken();if(!Me)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,Q)=>{let be,dt;if(Me){let Rt=De.set("token",Me).set("token_type_hint","access_token");be=this.http.post(ct,Rt,{headers:F})}else be=(0,f.of)(null);if(Ye){let Rt=De.set("token",Ye).set("token_type_hint","refresh_token");dt=this.http.post(ct,Rt,{headers:F})}else dt=(0,f.of)(null);ge&&(be=be.pipe((0,I.K)(Rt=>0===Rt.status?(0,f.of)(null):(0,v._)(Rt))),dt=dt.pipe((0,I.K)(Rt=>0===Rt.status?(0,f.of)(null):(0,v._)(Rt)))),(0,b.a)([be,dt]).subscribe(Rt=>{this.logOut(he),V(Rt),this.logger.info("Token successfully revoked")},Rt=>{this.logger.error("Error revoking token",Rt),this.eventsSubject.next(new G("token_revoke_error",Rt)),Q(Rt)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Oe.\u0275fac=function(he){return new(he||Oe)(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(g.HttpClient),c.\u0275\u0275inject(H,8),c.\u0275\u0275inject(Ze,8),c.\u0275\u0275inject(ve,8),c.\u0275\u0275inject(Ge),c.\u0275\u0275inject(de),c.\u0275\u0275inject(oe,8),c.\u0275\u0275inject(d.DOCUMENT),c.\u0275\u0275inject(Ce))},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class Te{}class et{handleError(Ke){return(0,v._)(Ke)}}let Dt=(()=>{class Oe{constructor(he,ge,ct){this.oAuthService=he,this.errorHandler=ge,this.moduleConfig=ct}checkUrl(he){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(he):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(ge=>he.toLowerCase().startsWith(ge.toLowerCase()))}intercept(he,ge){const ct=he.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(ct)?this.moduleConfig.resourceServer.sendAccessToken?(0,p.T)((0,f.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,f.of)(null)),(0,S.U)(Ye=>this.oAuthService.getAccessToken()))).pipe((0,$.q)(1),(0,ee.z)(Ye=>{if(Ye){const F=he.headers.set("Authorization","Bearer "+Ye);he=he.clone({headers:F})}return ge.handle(he).pipe((0,I.K)(De=>this.errorHandler.handleError(De)))})):ge.handle(he).pipe((0,I.K)(Ye=>this.errorHandler.handleError(Ye))):ge.handle(he)}}return Oe.\u0275fac=function(he){return new(he||Oe)(c.\u0275\u0275inject(ce),c.\u0275\u0275inject(Te),c.\u0275\u0275inject(A,8))},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();function _e(){return console}function ut(){return typeof sessionStorage<"u"?sessionStorage:new W}function Pe(Oe=null,Ke=ie){return(0,c.makeEnvironmentProviders)([ce,Ge,{provide:de,useFactory:_e},{provide:H,useFactory:ut},{provide:Ze,useClass:Ke},{provide:oe,useClass:K},{provide:Te,useClass:et},{provide:A,useValue:Oe},{provide:g.HTTP_INTERCEPTORS,useClass:Dt,multi:!0},{provide:Ce,useClass:Re}])}let mt=(()=>{class Oe{static forRoot(he=null,ge=ie){return{ngModule:Oe,providers:[Pe(he,ge)]}}}return Oe.\u0275fac=function(he){return new(he||Oe)},Oe.\u0275mod=c.\u0275\u0275defineNgModule({type:Oe}),Oe.\u0275inj=c.\u0275\u0275defineInjector({imports:[d.CommonModule]}),Oe})();class Ft 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 Gt=new c.InjectionToken("AUTH_CONFIG")},9256:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{Base64:()=>Ze,VERSION:()=>c,atob:()=>H,atobPolyfill:()=>de,btoa:()=>S,btoaPolyfill:()=>D,btou:()=>Ae,decode:()=>Be,encode:()=>A,encodeURI:()=>U,encodeURL:()=>U,extendBuiltins:()=>He,extendString:()=>ae,extendUint8Array:()=>ve,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,f="function"==typeof TextDecoder?new TextDecoder:void 0,h="function"==typeof TextEncoder?new TextEncoder:void 0,v=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),b=(Qe=>{let Ge={};return Qe.forEach((tt,Ct)=>Ge[tt]=Ct),Ge})(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,Ge=>"+"==Ge?"-":"_"),x=Qe=>Qe.replace(/[^A-Za-z0-9\+\/]/g,""),D=Qe=>{let Ge,tt,Ct,Nt,_t="";const Bt=Qe.length%3;for(let Tt=0;Tt255||(Ct=Qe.charCodeAt(Tt++))>255||(Nt=Qe.charCodeAt(Tt++))>255)throw new TypeError("invalid character found");Ge=tt<<16|Ct<<8|Nt,_t+=v[Ge>>18&63]+v[Ge>>12&63]+v[Ge>>6&63]+v[63&Ge]}return Bt?_t.slice(0,Bt-3)+"===".substring(Bt):_t},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 Ct=0,Nt=Qe.length;CtGe?y(E(Qe)):E(Qe),X=Qe=>{if(Qe.length<2)return(Ge=Qe.charCodeAt(0))<128?Qe:Ge<2048?_(192|Ge>>>6)+_(128|63&Ge):_(224|Ge>>>12&15)+_(128|Ge>>>6&63)+_(128|63&Ge);var Ge=65536+1024*(Qe.charCodeAt(0)-55296)+(Qe.charCodeAt(1)-56320);return _(240|Ge>>>18&7)+_(128|Ge>>>12&63)+_(128|Ge>>>6&63)+_(128|63&Ge)},$=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ee=Qe=>Qe.replace($,X),ie=r?Qe=>Buffer.from(Qe,"utf8").toString("base64"):h?Qe=>E(h.encode(Qe)):Qe=>S(ee(Qe)),A=(Qe,Ge=!1)=>Ge?y(ie(Qe)):ie(Qe),U=Qe=>A(Qe,!0),Ce=/[\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(Ce,Re),de=Qe=>{if(Qe=Qe.replace(/\s+/g,""),!p.test(Qe))throw new TypeError("malformed base64.");Qe+="==".slice(2-(3&Qe.length));let Ge,Ct,Nt,tt="";for(let _t=0;_t>16&255):64===Nt?_(Ge>>16&255,Ge>>8&255):_(Ge>>16&255,Ge>>8&255,255&Ge);return tt},H=d?Qe=>atob(x(Qe)):r?Qe=>Buffer.from(Qe,"base64").toString("binary"):de,W=r?Qe=>l(Buffer.from(Qe,"base64")):Qe=>l(H(Qe).split("").map(Ge=>Ge.charCodeAt(0))),pe=Qe=>W(Ee(Qe)),we=r?Qe=>Buffer.from(Qe,"base64").toString("utf8"):f?Qe=>f.decode(W(Qe)):Qe=>Ae(H(Qe)),Ee=Qe=>x(Qe.replace(/[-_]/g,Ge=>"-"==Ge?"+":"/")),Be=Qe=>we(Ee(Qe)),G=Qe=>{if("string"!=typeof Qe)return!1;const Ge=Qe.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(Ge)||!/[^\s0-9a-zA-Z\-_]/.test(Ge)},re=Qe=>({value:Qe,enumerable:!1,writable:!0,configurable:!0}),ae=function(){const Qe=(Ge,tt)=>Object.defineProperty(String.prototype,Ge,re(tt));Qe("fromBase64",function(){return Be(this)}),Qe("toBase64",function(Ge){return A(this,Ge)}),Qe("toBase64URI",function(){return A(this,!0)}),Qe("toBase64URL",function(){return A(this,!0)}),Qe("toUint8Array",function(){return pe(this)})},ve=function(){const Qe=(Ge,tt)=>Object.defineProperty(Uint8Array.prototype,Ge,re(tt));Qe("toBase64",function(Ge){return I(this,Ge)}),Qe("toBase64URI",function(){return I(this,!0)}),Qe("toBase64URL",function(){return I(this,!0)})},He=()=>{ae(),ve()},Ze={version:n,VERSION:c,atob:H,atobPolyfill:de,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:ae,extendUint8Array:ve,extendBuiltins:He}},4028:(Ie,B,a)=>{"use strict";function n(){const c=window,d=document;var g="hljs-ln",r="hljs-ln-line",f="hljs-ln-code",h="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 de(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,ae=Be.length;re
{6}',[r,h,u,v,f,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):Ce(G.parentNode))}}function Ce(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),ae=parseInt(G.dataset.lineNumber);if(re!=ae){var ve=Be.textContent,He=G.textContent;if(re>ae){var Ze=re;re=ae,ae=Ze,Ze=ve,ve=He,He=Ze}for(;0!==Ee.indexOf(ve);)ve=ve.slice(1);for(;-1===Ee.lastIndexOf(He);)He=He.slice(0,-1);for(var Qe=ve,Ge=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),f=a(4664),h=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,de){this.doc=Re,this.platformId=Ae,this._options=de,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,f.w)(H=>this._options&&this._options.lineNumbersLoader?(Re.defaultView.hljs=H,this.loadLineNumbers().pipe((0,h.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,f.w)(Re=>this._loadLanguages(Re)))}return(0,b._)(()=>"Highlight.js library was not imported!")}_loadLanguages(Re){const Ae=Object.entries(this._options.languages).map(([de,H])=>$(H()).pipe((0,h.b)(W=>Re.registerLanguage(de,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)(Ce=>!!Ce?.default),(0,_.U)(Ce=>Ce.default));let ee=(()=>{class U{get hljs(){return this._hljs}constructor(Re,Ae){this._loader=Re,this._hljs=null,Re.ready.subscribe(de=>{this._hljs=de,Ae&&Ae.config&&(de.configure(Ae.config),de.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(Re,{language:Ae,ignoreIllegals:de}){return this._loader.ready.pipe((0,_.U)(H=>H.highlight(Re,{language:Ae,ignoreIllegals:de})))}highlightAuto(Re,Ae){return this._loader.ready.pipe((0,_.U)(de=>de.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,h.b)(de=>de.registerLanguage(Re,Ae)))}unregisterLanguage(Re){return this._loader.ready.pipe((0,h.b)(Ae=>Ae.unregisterLanguage(Re)))}registerAliases(Re,{languageName:Ae}){return this._loader.ready.pipe((0,h.b)(de=>de.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,h.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,de,H,W){this._hljs=Ae,this._sanitizer=de,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(de=>{this.setInnerHTML(de?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(de)})}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,f,h,u,v){try{var b=d[u](v),p=b.value}catch(_){return void r(_)}b.done?g(p):Promise.resolve(p).then(f,h)}function c(d){return function(){var g=this,r=arguments;return new Promise(function(f,h){var u=d.apply(g,r);function v(p){n(u,f,h,v,b,"next",p)}function b(p){n(u,f,h,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(f){return typeof f}:function(f){return f&&"function"==typeof Symbol&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f})(r)}function g(r,f,h){return(f=function d(r){var f=function c(r,f){if("object"!==n(r)||null===r)return r;var h=r[Symbol.toPrimitive];if(void 0!==h){var u=h.call(r,f||"default");if("object"!==n(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===f?String:Number)(r)}(r,"string");return"symbol"===n(f)?f:String(f)}(f))in r?Object.defineProperty(r,f,{value:h,enumerable:!0,configurable:!0,writable:!0}):r[f]=h,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.54","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.a126e678e7da9d35.js b/src/main/resources/static/main.a126e678e7da9d35.js deleted file mode 100644 index 1b1c6492..00000000 --- a/src/main/resources/static/main.a126e678e7da9d35.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(f){if(0===c.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==f)this.assignZero();else if(f instanceof Array){if(f.length!==c.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(f)}`);this.dimVec_=[];for(let h=0;h=c.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[f]=1}}setElementAt(f,h){if(!d(f)||f<0||f>=c.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${f})`);this.dimVec_||this.assignZero(),null==h&&(h=1),this.dimVec_[f]=h}getElementAt(f){if(!d(f)||f<0||f>=c.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${f})`);let h=null;return this.dimVec_&&(h=this.dimVec_[f]),h}getProperty(f){return this["_"===f.charAt(f.length-1)?f:f+"_"]}toString(){let f=null;return this.dimVec_&&(f="["+this.dimVec_.join(", ")+"]"),f}add(f){if(!f instanceof g)throw new Error(`Dimension.add called with an invalid parameter - ${typeof f} instead of a Dimension object`);if(this.dimVec_&&f.dimVec_)for(let h=0;h{"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(f.bind(null,p))}return v.data}return v};function g(v){return v.map(b=>Array.isArray(b)?b:[b])}function f(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_),f=r.length;for(let h=0;h{"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 f=""+r;return!isNaN(f)&&!isNaN(parseFloat(f))},B.isIntegerUnit=function d(r){return/^\d+$/.test(r)},B.getSynonyms=function g(r){let f={},u={};if(u=n.getInstance().getUnitBySynonym(r),u.units){f.status="succeeded";let v=u.units.length;f.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 f{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 f=a(9473).Ucum,h=a(7894).UnitTables,u=a(4206).T;class v{constructor(){0===h.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==f.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=h.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=h.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,f=a(9473).Ucum,h=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 h:void 0!==_.dim_.dimVec_?new h(_.dim_.dimVec_):_.dim_ instanceof h?_.dim_:_.dim_ instanceof Array||v(_.dim_)?new h(_.dim_):new h,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 h),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,f=a(5744).Unit,h=a(7894).UnitTables,u=a(8902).PrefixTables;class v{constructor(){this.utabs_=h.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 f({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 f({csCode_:x,magnitude_:x,name_:x}):x.csCode_=p:x=new f({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_:Ce+""+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 f({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(f){f.name_&&this.addUnitName(f),this.addUnitCode(f),this.addUnitString(f);try{f.dim_.getProperty("dimVec_")&&this.addUnitDimension(f)}catch{}}addUnitName(f){let h=f.name_;if(!h)throw new Error(`UnitTables.addUnitName called for a unit with no name. Unit code = ${f.csCode_}.`);this.unitNames_[h]?this.unitNames_[h].push(f):this.unitNames_[h]=[f]}addUnitCode(f){let h=f.csCode_;if(!h)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[h])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${h}`);if(this.unitCodes_[h]=f,this.codeOrder_.push(h),"g"==h){let u=f.dim_.dimVec_,v=0;for(;v=1&&(u=f.substr(h+n.codeSep_.length),f=f.substr(0,h));let v=this.unitNames_[f];if(v){let b=v.length;if(u&&b>1){let p=0;for(;v[p].csCode_!==u&&p0&&(u+=h),"dim_"===f[D])u+=null!=x.dim_&&x.dim_.dimVec_ instanceof Array?"["+x.dim_.dimVec_.join(",")+"]":"";else{let S=x[f[D]];u+="string"==typeof S?S.replace(/[\n\r]/g," "):S}u+="\r\n"}}return u}printUnits(f,h){void 0===f&&(f=!1),void 0===h&&(h="|");let u="",v=this.codeOrder_.length,b="csCode"+h;f&&(b+="ciCode"+h),b+="name"+h,f&&(b+="isBase"+h),b+="magnitude"+h+"dimension"+h+"from unit(s)"+h+"value"+h+"function"+h,f&&(b+="property"+h+"printSymbol"+h+"synonyms"+h+"source"+h+"class"+h+"isMetric"+h+"variable"+h+"isSpecial"+h+"isAbitrary"+h),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),g=(a(7088),a(9515),n.__importStar(a(5879))),r=n.__importStar(a(9515)),f=n.__importStar(a(7088)),h=n.__importStar(a(4505)),u=n.__importStar(a(617)),v=n.__importStar(a(6718)),b=n.__importStar(a(1274)),p=n.__importStar(a(5187));B.AppComponent=(()=>{class l{constructor(x,D){x.setDefaultLang("de"),x.use(x.getBrowserLang());let S=location.href;S.indexOf("#")>0?S=S.substring(0,S.indexOf("#")-1)+"/fhir":S+="fhir",console.log("note: using fhir base "+S),D.changeMagMicroService(S)}}return l.\u0275fac=function(x){return new(x||l)(g.\u0275\u0275directiveInject(r.TranslateService),g.\u0275\u0275directiveInject(f.FhirConfigService))},l.\u0275cmp=g.\u0275\u0275defineComponent({type:l,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(x,D){if(1&x&&(g.\u0275\u0275elementStart(0,"mat-toolbar",0)(1,"div",1)(2,"div",2),g.\u0275\u0275element(3,"img",3),g.\u0275\u0275elementEnd()(),g.\u0275\u0275element(4,"span",4),g.\u0275\u0275elementStart(5,"span")(6,"button",5)(7,"mat-icon"),g.\u0275\u0275text(8,"more_vert"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(9,"mat-menu",null,6)(11,"button",7)(12,"mat-icon"),g.\u0275\u0275text(13,"home"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(14,"span"),g.\u0275\u0275text(15,"Home"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(16,"button",8)(17,"mat-icon"),g.\u0275\u0275text(18,"info"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(19,"span"),g.\u0275\u0275text(20,"CapabilityStatement"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(21,"button",9)(22,"mat-icon"),g.\u0275\u0275text(23,"search"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(24,"span"),g.\u0275\u0275text(25,"Mobile Access Gateway ..."),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(26,"button",10)(27,"mat-icon"),g.\u0275\u0275text(28,"people"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(29,"span"),g.\u0275\u0275text(30,"search Patients ..."),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(31,"button",11)(32,"mat-icon"),g.\u0275\u0275text(33,"settings"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(34,"span"),g.\u0275\u0275text(35,"Settings"),g.\u0275\u0275elementEnd()()()()(),g.\u0275\u0275elementStart(36,"main",12),g.\u0275\u0275element(37,"router-outlet"),g.\u0275\u0275elementEnd()),2&x){const S=g.\u0275\u0275reference(10);g.\u0275\u0275advance(6),g.\u0275\u0275property("matMenuTriggerFor",S)}},dependencies:[h.MatLegacyButton,u.MatIcon,v.MatLegacyMenu,v.MatLegacyMenuItem,v.MatLegacyMenuTrigger,b.MatToolbar,p.RouterOutlet,p.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}}"]}),l})()},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),f=a(6401),h=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:h.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:[f.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)),f=n.__importStar(a(9025)),h=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,f.MatLegacyCard,f.MatLegacyCardHeader,f.MatLegacyCardContent,f.MatLegacyCardTitle,h.MatLegacyError,u.Highlight],styles:[".display[_ngcontent-%COMP%]{display:inline-block}"]}),_})()},7088:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.FhirConfigService=void 0;const n=a(655),c=n.__importDefault(a(8907)),d=n.__importStar(a(5879));B.FhirConfigService=(()=>{class r{constructor(){}changeFhirMicroService(h){localStorage.setItem("fhirMicroServer",h)}changeMagMicroService(h){localStorage.setItem("magMicroService",h)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")||"/matchbox/fhir"}getMobileAccessGatewayService(){return localStorage.getItem("magMicroService")||"/mag/fhir"}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 c.default({baseUrl:this.getFhirMicroService()})}getMobileAccessGatewayClient(){return new c.default({baseUrl:this.getMobileAccessGatewayService()})}getAuthCodeFlowConfig(){return{loginUrl:this.getMobileAccessGatewayLoginUrl(),redirectUri:this.getRedirectUri(),tokenEndpoint:this.getMobileAccessGatewayTokenEndpoint(),clientId:this.getClientId(),responseType:"code",scope:"todo",dummyClientSecret:this.getClientSecret(),showDebugInformation:!0,timeoutFactor:.75}}}return r.\u0275fac=function(h){return new(h||r)},r.\u0275prov=d.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r})()},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(h,u){return(0,c.evaluate)(h,u,null)}evaluateToString(h,u){const v=this.evaluate(h,u);return v&&v instanceof Array&&1===v.length?v[0]:null}getOauthUriToken(h){return this.evaluateToString(h,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(h){return this.evaluateToString(h,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}}return r.\u0275fac=function(h){return new(h||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)),f=c.__importStar(a(5187)),h=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(f.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:[h.MatLegacyCard,h.MatLegacyCardContent,h.MatLegacyCardFooter,u.MatIcon,v.MatLegacyMenuItem,f.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)),h=(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)),Ce=c.__importStar(a(2214)),Re=c.__importStar(a(1438)),Ae=c.__importStar(a(9949)),de=c.__importStar(a(9009));function H(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function W(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"button",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onFetchPatient())}),l.\u0275\u0275text(2," get Patient "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()}}function pe(et,Dt){if(1&et&&(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&et){const _e=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",null==_e.patient.name[0]?null:_e.patient.name[0].given," ",null==_e.patient.name[0]?null:_e.patient.name[0].family,", ",_e.patient.birthDate," ")}}function we(et,Dt){if(1&et){const _e=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(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onPIXmFeedAdd())}),l.\u0275\u0275text(24," PIXm Feed - Add Identifier "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}if(2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",_e.patient.name),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceAddIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceAddIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceManagingOrganizationOid),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceManagingOrganizationName)}}function Ee(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div")(1,"pre"),l.\u0275\u0275element(2,"code",43),l.\u0275\u0275elementEnd()()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",_e.getScopes())}}function Be(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",44),l.\u0275\u0275text(1,"Description"),l.\u0275\u0275elementEnd())}function G(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",44),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",_e.description," ")}}function re(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",45),l.\u0275\u0275text(1,"Title"),l.\u0275\u0275elementEnd())}function ae(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",45)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].attachment.title," ")}}function ve(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",46),l.\u0275\u0275text(1,"Title"),l.\u0275\u0275elementEnd())}function He(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",46)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].attachment.contentType," ")}}function Ze(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",47),l.\u0275\u0275text(1,"formatCode"),l.\u0275\u0275elementEnd())}function Qe(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",47)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].format.code," ")}}function Ge(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",48),l.\u0275\u0275text(1,"Actions"),l.\u0275\u0275elementEnd())}function tt(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"mat-cell",48)(1,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onRemove(mt))}),l.\u0275\u0275elementStart(2,"mat-icon"),l.\u0275\u0275text(3,"remove"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onReplace(mt))}),l.\u0275\u0275elementStart(5,"mat-icon"),l.\u0275\u0275text(6,"reply"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(7,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onDownloadDocumentReferenceAttachment(mt))}),l.\u0275\u0275elementStart(8,"mat-icon"),l.\u0275\u0275text(9,"download"),l.\u0275\u0275elementEnd()()()}}function Ct(et,Dt){1&et&&l.\u0275\u0275element(0,"mat-header-row")}function Nt(et,Dt){1&et&&l.\u0275\u0275element(0,"mat-row")}function _t(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function Bt(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-card-actions")(2,"button",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onPdf())}),l.\u0275\u0275text(3,"Pdf"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}}function Tt(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" Replace Document with ",_e.replaceDocumentReference.identifier[0].value," ")}}function Lt(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",_e.descr,": ",_e.existingUuid," -> ",_e.newUuid," ")}}function Le(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(_e.errMsgAssignPatient)}}function lt(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function ze(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(_e.errMsg)}}const at=function(){return["name","title","contentType","formatCode","action"]},N=et=>String(Math.floor(Math.abs(et))).padStart(2,"0");function K(et){const Dt=-et.getTimezoneOffset(),_e=Dt>=0?"+":"-",ut=`${N(Dt/60)}:${N(Dt%60)}`;return`${(0,B.toLocaleDate)(et)}T${(0,B.toLocaleTime)(et)}${_e}${ut}`}B.toLocaleDate=et=>`${et.getFullYear()}-${N(et.getMonth()+1)}-${N(et.getDate())}`,B.toLocaleHHMM=et=>`${N(et.getHours())}:${N(et.getMinutes())}`,B.toLocaleTime=et=>`${(0,B.toLocaleHHMM)(et)}:${N(et.getSeconds())}`,B.toLocaleDateTime=K,B.MagComponent=(()=>{class et{constructor(_e,ut,Pe,mt,Pt,Ft){this.data=_e,this.fhirPathService=ut,this.http=Pe,this.cd=mt,this.oauthService=Pt,this.router=Ft,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=_e.getMobileAccessGatewayClient(),this.mag.capabilityStatement().then(Oe=>this.setJson(JSON.stringify(Oe,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.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.documentDescription=new r.UntypedFormControl,this.documentDescription.setValue(this.getLocalStorageItemOrDefault("mag.documentType","Titel")),this.masterIdentifier=new r.UntypedFormControl,this.masterIdentifier.setValue((0,u.v4)()),this.creationTime=new r.UntypedFormControl,this.creationTime.setValue(K(new Date)),this.languageCode=new r.UntypedFormControl,this.languageCode.setValue(this.getLocalStorageItemOrDefault("mag.languageCode","de-CH")),this.fhirConfigService=_e,Pt.configure(this.fhirConfigService.getAuthCodeFlowConfig()),Pt.tryLoginCodeFlow().then(Oe=>{this.scopes=this.oauthService.getGrantedScopes()}),Pt.events.subscribe(Oe=>{Oe instanceof p.OAuthErrorEvent?console.error(Oe):console.warn(Oe)}),this.pdf="",this.replaceDocumentReference=null}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.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(_e,ut){return localStorage.getItem(_e)||ut}setLocaleStorageItem(_e,ut){return localStorage.setItem(_e,ut),ut}setJson(_e){this.json=_e}getJson(){return this.json}getScopes(){return this.scopes?JSON.stringify(this.scopes,null,2):""}ngOnInit(){}ngOnDestroy(){}setPixmQueryResult(_e){this.inPixmProgress=!1,this.setJson(JSON.stringify(_e,null,2)),this.targetIdentifierValue=this.fhirPathService.evaluateToString(_e,"parameter.valueIdentifier.where(system='"+this.targetIdentifierSystem.value+"').value"),this.targetIdentifier2Value=this.fhirPathService.evaluateToString(_e,"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(_e,"parameter.valueReference.reference"),this.cache()}setPatientFetchResult(_e){this.inPixmProgress=!1,this.patient=_e,this.setJson(JSON.stringify(_e,null,2)),this.cache()}setPIXmFeedAddResult(_e){this.inPixmProgress=!1,this.patient=void 0,this.setJson(JSON.stringify(_e,null,2)),this.cache()}onPIXmQuery(){this.targetIdentifierValue="",this.targetIdentifier2Value="",this.patient=void 0,this.inPixmProgress=!0,this.cache();let _e="sourceIdentifier="+encodeURIComponent(this.sourceIdentifierSystem.value+"|"+this.sourceIdentifierValue.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifierSystem.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifier2System.value);this.mag.operation({name:"$ihe-pix?"+_e,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(ut=>this.setPixmQueryResult(ut)).catch(ut=>{this.setJson(JSON.stringify(ut,null,2)),this.targetIdentifierValue="",this.targetIdentifier2Value="",this.targetId="",this.cache(),this.inPixmProgress=!1})}getPatient(){const _e=this.targetId.substring(this.targetId.indexOf("Patient/")+8);return this.mag.read({resourceType:"Patient",id:_e,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 _e=this;return n(function*(){_e.patient=void 0,_e.inPixmProgress=!0,_e.cache();try{_e.patient=yield _e.getPatient(),_e.setPatientFetchResult(_e.patient)}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.cache(),_e.inPixmProgress=!1}})()}onPIXmFeedAdd(){this.inPixmProgress=!0,this.patient.telecom&&delete this.patient.telecom,this.cache();let _e={identifier:this.sourceAddIdentifierSystem.value+"|"+this.sourceAddIdentifierValue.value},ut={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(ut),this.patient.managingOrganization={reference:"#org"},this.mag.update({resourceType:"Patient",body:this.patient,searchParams:_e,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}}).then(Pe=>this.setPIXmFeedAddResult(Pe)).catch(Pe=>{this.setJson(JSON.stringify(Pe,null,2)),this.cache(),this.inPixmProgress=!1})}onAuthenticate(){if(this.cache(),this.scopes=null,"HCP"===this.authenticate.value){let _e=this.fhirConfigService.getAuthCodeFlowConfig();_e.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|HCP`,this.oauthService.configure(_e),this.oauthService.initCodeFlow()}else"TCU"===this.authenticate.value?this.getSamlToken().then(_e=>this.json=_e):this.oauthService.logOut()}getAppcDocument(_e,ut){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.documentDescription.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(_e,ut){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==${ut}http://ihe.connectathon.XUA/X-ServiceProvider-IHE-Connectathonurn:oasis:names:tc:SAML:2.0:ac:classes:unspecifiedIris Musterpatient${ut}^^^&2.16.756.5.30.1.127.3.10.3&ISOurn:oid:3.3.3.1`)}getSimulatedSamlPmpTcuAssertion(_e,ut,Pe){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${Pe}^^^&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(_e){var ut=this;return n(function*(){const mt=yield(yield fetch("https://test.ahdis.ch/eprik-cara/camel/tcu",{cache:"no-store",headers:{Accept:"application/xml"}})).text(),Ft=yield(yield fetch(ut.fhirConfigService.getMobileAccessGatewayAssertionEndpoint(),{cache:"no-store",method:"POST",headers:{Scope:`person_id=${_e}^^^&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:mt})).json();return Promise.resolve(Ft.access_token)})()}setBundle(_e){_e?(this.bundle=_e,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry.map(ut=>ut.resource)):this.dataSource.data=null,this.dataSource.data=this.dataSource.data}setDocumentReferenceResult(_e){this.setJson(JSON.stringify(_e,null,2)),this.setBundle(_e)}findDocumentReferences(){var _e=this;return n(function*(){let ut={status:"current","patient.identifier":encodeURIComponent(_e.targetIdentifierSystem.value+"|"+_e.targetIdentifierValue)},Pe=yield _e.getSamlToken();return _e.mag.search({resourceType:"DocumentReference",searchParams:ut,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+Pe}}})})()}onFindDocumentReferences(){var _e=this;return n(function*(){_e.replaceDocumentReference=null,_e.inMhdQueryProgress=!0,_e.pdf="";try{const ut=yield _e.findDocumentReferences();_e.setDocumentReferenceResult(ut),_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}findMedicationList(_e){var ut=this;return n(function*(){let Pe="patient.identifier="+encodeURIComponent(ut.targetIdentifierSystem.value+"|"+ut.targetIdentifierValue)+(_e?"&format="+encodeURIComponent(_e):"");ut.serviceStartFrom.value?.length>0&&(Pe+=`&serviceStartFrom=${encodeURIComponent(ut.serviceStartFrom.value)}`),ut.serviceStartTo.value?.length>0&&(Pe+=`&serviceStartTo=${encodeURIComponent(ut.serviceStartTo.value)}`),ut.serviceEndFrom.value?.length>0&&(Pe+=`&serviceEndFrom=${encodeURIComponent(ut.serviceEndFrom.value)}`),ut.serviceEndTo.value?.length>0&&(Pe+=`&serviceEndTo=${encodeURIComponent(ut.serviceEndTo.value)}`);const mt=yield ut.getSamlToken();return ut.mag.operation({name:"$find-medication-list?status=current&"+Pe,resourceType:"DocumentReference",method:"GET",options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+mt}}})})()}onFindMedicationList(){var _e=this;return n(function*(){_e.pdf="",_e.inMhdQueryProgress=!0,_e.cache();try{const ut=yield _e.findMedicationList();_e.setDocumentReferenceResult(ut),ut.entry&&1==ut.entry.length&&(yield _e.downloadDocumentReferenceAttachment(ut.entry[0].resource)),_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}onFindMedicationCard(){var _e=this;return n(function*(){_e.pdf="",_e.inMhdQueryProgress=!0,_e.cache();try{const ut=yield _e.findMedicationList("urn:oid:2.16.756.5.30.1.127.3.10.10|urn:che:epr:ch-emed:medication-card:2022");if(_e.setDocumentReferenceResult(ut),ut.entry&&1==ut.entry.length){const Pe=yield _e.downloadDocumentReferenceAttachment(ut.entry[0].resource),mt=JSON.parse(Pe);_e.pdf=_e.fhirPathService.evaluateToString(mt,"entry.resource.where(resourceType='Binary').data")}_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}getSamlToken(){var _e=this;return n(function*(){return"HCP"===_e.authenticate.value?Promise.resolve(_e.oauthService.getAccessToken()):"Patient"===_e.authenticate.value?Promise.resolve(_e.getSimulatedSamlPmpAssertion(K(new Date),_e.targetIdentifier2Value)):"TCU"===_e.authenticate.value?_e.getEprikTcuAssertion(_e.targetIdentifier2Value):null})()}downloadDocumentReferenceAttachment(_e){var ut=this;return n(function*(){let mt=(_e.content&&_e.content.length>0?_e.content[0].attachment.url:"undefined").replace("http://test.ahdis.ch/mag-pmp/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp/camel/xdsretrieve"),Pt=mt.replace("http://test.ahdis.ch/mag-pmp2/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp2/camel/xdsretrieve");const Ft=_e.content&&_e.content.length>0?_e.content[0].attachment?.contentType:"";if(ut.selectedDocumentReference=_e,"application/pdf"===Ft){const Gt=_e.content&&_e.content.length>0?_e.content[0].attachment.title:"undefined",Oe=ut,Ke=yield ut.getSamlToken(),ge=yield(yield fetch(Pt,{cache:"no-store",headers:{Authorization:"Bearer "+Ke,Accept:"application/pdf"}})).blob();return new Promise((ct,Me)=>{let Ye=new FileReader;Ye.onload=()=>{Oe.downloadPdf(Ye.result.toString(),Gt),ct(Ye.result)},Ye.onerror=Me,Ye.readAsDataURL(ge)})}{const Gt=yield ut.getSamlToken(),Ke={responseType:"text",headers:(new h.HttpHeaders).set("Authorization","Bearer "+Gt)};return new Promise((he,ge)=>{ut.http.get(mt,Ke).subscribe({next:ct=>{ut.xml=ct,ut.setJson(ct),he(ut.xml)},error:ct=>{ge(ct)}})})}})()}onReplace(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=_e})()}onRemove(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=null;let Pe={..._e};ut.inMhdQueryProgress=!0,null==Pe.extension&&(Pe.extension=new Array),Pe.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:ut.iheSourceId.value}}),Pe.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)"}}),Pe.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"}}),Pe.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 mt=yield ut.getSamlToken();try{let Pt=yield ut.mag.update({resourceType:"DocumentReference",id:Pe.id,body:Pe,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0","content-type":"application/fhir+json;fhirVersion=4.0",Authorization:"Bearer "+mt}}});ut.setJson(JSON.stringify(Pt,null,2)),ut.inMhdQueryProgress=!1,ut.onFindDocumentReferences()}catch(Pt){ut.setJson(JSON.stringify(Pt.response.data,null,2)),ut.inMhdQueryProgress=!1}})()}onDownloadDocumentReferenceAttachment(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=null,ut.inMhdQueryProgress=!0,yield ut.downloadDocumentReferenceAttachment(_e),ut.inMhdQueryProgress=!1})()}canTransformToPdf(){return""!=this.pdf}downloadPdf(_e,ut){const Pe=document.createElement("a");Pe.href=_e,Pe.download=`${ut}.pdf`,Pe.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 ut=`0x${(0,u.v4)().replace(/-/g,"")}`;return`2.25.${BigInt(ut).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(_e){if(this.uploadBase64="",this.uploadContentType="",this.uploadBundle=null,this.json="",this.xml="",this.pdf="","application/json"===_e.contentType||_e.name.endsWith(".json")||"text/xml"===_e.contentType||_e.name.endsWith(".xml"))this.addText(_e);else{var ut=new FileReader;const Pe=this;ut.readAsDataURL(_e.blob),ut.onloadend=function(){let mt=ut.result.toString();mt.startsWith("data:application/pdf;base64,")&&(Pe.uploadBase64=mt.substring(28),Pe.uploadContentType="application/pdf",Pe.documentType.setValue("PDF"))}}}addText(_e){const ut=new FileReader;ut.readAsText(_e.blob);const Pe=this;this.documentDescription.setValue(_e.name),this.creationTime.setValue(K(new Date)),ut.onload=()=>{("application/json"===_e.contentType||_e.name.endsWith(".json"))&&(this.uploadContentType="application/fhir+json",this.autoDetectFormat(ut.result)),("text/xml"===_e.contentType||_e.name.endsWith(".xml"))&&(this.uploadContentType="text/xml",Pe.documentType.setValue("XML"),Pe.xml=ut.result,Pe.setJson(Pe.xml))}}getResource(_e,ut){return _e.entry.filter(Pe=>Pe.fullUrl.endsWith(ut)).pop()?.resource}autoDetectFormat(_e){this.documentType.setValue("JSON");const ut=JSON.parse(_e);this.setJson(_e),ut.hasOwnProperty("resourceType")&&"Bundle"===ut.resourceType&&this.autoDetectBundle(ut)}autoDetectBundle(_e){if(this.creationTime.setValue(_e.timestamp),this.masterIdentifier.setValue(_e.identifier.value),"document"===_e.type&&_e.entry?.length>0){const ut=_e.entry[0].resource,Pe=ut.type.coding.find(mt=>"http://snomed.info/sct"===mt.system);if(ut.language&&this.languageCode.setValue(ut.language),!Pe)return;switch(Pe.code){case"761931002":return this.uploadBundle=_e,void this.documentType.setValue("MTP");case"761938008":return this.uploadBundle=_e,void this.documentType.setValue("PRE");case"294121000195110":return this.uploadBundle=_e,void this.documentType.setValue("DIS");case"419891008":return this.uploadBundle=_e,void this.documentType.setValue("PADV")}}}assignMobileAccessPatient(){var _e=this;return n(function*(){if(_e.inMhdUploadProgress=!0,_e.errMsgAssignPatient="",null==_e.patient&&(_e.patient=yield _e.getPatient()),null==_e.patient)return void(_e.errMsgAssignPatient="Error: select first 'get Patient' from Mobile Access Gateway");if(null==_e.uploadBundle)return void(_e.errMsgAssignPatient="Error: need a FHIR Bundle in json format to assign the Patient");const ut=_e.uploadBundle.entry.filter(Oe=>"Patient"===Oe.resource.resourceType),Pe={..._e.patient};Pe.identifier=_e.patient.identifier.filter(Oe=>Oe.system===_e.sourceIdentifierSystem.value),Pe.identifier.find(Oe=>Oe.system===_e.sourceIdentifierSystem.value).type={coding:[{system:"http://terminology.hl7.org/CodeSystem/v2-0203",code:"MR"}]},Pe.name=Array(),Pe.name[0]=_e.patient.name[0],ut.forEach(Oe=>{const Ke=Oe.resource.id;Oe.resource={...Pe},Oe.resource.id=Ke});let mt=JSON.stringify(_e.uploadBundle,null,2);const Pt=_e.uploadBundle.identifier.value,Ft="urn:uuid:"+(0,u.v4)(),Gt=_e.replaceUuids.findIndex(Oe=>Oe.existingUuid==Pt);-1==Gt?_e.replaceUuids.push({descr:_e.documentType.value,existingUuid:Pt,newUuid:Ft}):_e.replaceUuids[Gt]={descr:_e.documentType.value,existingUuid:Pt,newUuid:Ft},_e.replaceUuids.forEach(Oe=>mt=mt.split(Oe.existingUuid).join(Oe.newUuid)),_e.masterIdentifier.setValue(Ft),_e.setJson(mt),_e.inMhdUploadProgress=!1})()}createMhdTransaction(){var _e=this;return n(function*(){_e.inMhdUploadProgress=!0;let ut={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:"urn:oid:2.16.756.5.30.1.191.1.0.12.3.101",value:"$10"},{system:"urn:oid:2.16.756.5.30.1.191.1.0.2.1",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"}}]},Pe="urn:uuid:"+(0,u.v4)();ut.entry[0].fullUrl=Pe;const mt=ut.entry[0].resource;mt.contentType=_e.uploadContentType,mt.data=_e.uploadBase64?.length>0?_e.uploadBase64:v.Base64.encode(_e.json);let Pt=(0,u.v4)();ut.entry[1].fullUrl="urn:uid:"+Pt;const Ft=ut.entry[1].resource;Ft.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:_e.iheSourceId.value}}),Ft.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"}}),Ft.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 Gt="urn:uuid:"+(0,u.v4)();Ft.identifier[0].value=Gt;let Oe="urn:oid:"+_e.generateOidFromUuid();Ft.identifier[1].value=Oe,Ft.subject.reference=_e.targetId;let Ke=K(new Date);Ft.date=Ke;let he="urn:uuid:"+(0,u.v4)();Ft.entry[0].item.reference=he,ut.entry[2].fullUrl=he;const ge=ut.entry[2].resource;ge.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!=_e.replaceDocumentReference?ge.relatesTo.push({code:"replaces",target:{reference:_e.replaceDocumentReference.identifier[0].value}}):delete ge.relatesTo;const ct=ge.contained[0];if(ct.identifier[0].value=_e.sourceIdentifierSystem.value,ct.identifier[0].value=_e.sourceIdentifierValue.value,ct.identifier[1].value=_e.targetIdentifierSystem.value,ct.identifier[1].value=_e.targetIdentifierValue,_e.patient&&(ct.birthDate=_e.patient.birthDate,ct.gender=_e.patient.gender,ct.name=_e.patient.name,ct.address=_e.patient.address),null!=_e.uploadBundle&&["PADV","DIS","MTP","PRE","PMLC"].includes(_e.documentType.value)){const V=_e.uploadBundle.entry[0].resource;if(V?.author&&V.author[0].reference){const Q=_e.getResource(_e.uploadBundle,V.author[0].reference);if(Q&&"PractitionerRole"==Q.resourceType){let be={...Q};delete be.text,be.id="practrole";const dt=_e.getResource(_e.uploadBundle,be.organization?.reference),Rt=_e.getResource(_e.uploadBundle,be.practitioner?.reference);if(dt){let qe={...dt};qe.id="org",delete qe.text,be.organization.reference="#org",ge.contained.push(qe)}if(Rt){let qe={...Rt};qe.id="pract",delete qe.text,be.practitioner.reference="#pract",ge.contained.push(qe)}ge.contained.push(be),ge.author.push({reference:"#practrole"})}}}0==ge.author.length&&delete ge.author;let Me=_e.masterIdentifier.value.toLocaleLowerCase();ge.masterIdentifier.value=Me;let Ye="urn:oid:"+_e.generateOidFromUuid();ge.identifier[0].value=Ye,ge.subject.reference=_e.targetId,ge.date=Ke,ge.content[0].attachment.url=Pe,ge.content[0].attachment.contentType=_e.uploadContentType,ge.content[0].attachment.language=_e.languageCode.value;let De=ut.entry[2].resource;De.date=_e.creationTime.value,De.type=_e.getDocumentReferenceType(),De.category.push(_e.getDocumentReferenceCategory()),De.content[0].format=_e.getDocumentReferenceContentFormat(),De.content[0].attachment.creation=_e.creationTime.value,De.description=_e.documentDescription.value,De.securityLabel[0]=_e.getDocumentConfidentiality();const F=yield _e.getSamlToken();_e.mag.transaction({body:ut,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+F}}}).then(V=>{_e.setJson(JSON.stringify(V,null,2)),_e.inMhdUploadProgress=!1}).catch(V=>{_e.setJson(JSON.stringify(V,null,2)),_e.inMhdUploadProgress=!1})})()}}return et.\u0275fac=function(_e){return new(_e||et)(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))},et.\u0275cmp=l.\u0275\u0275defineComponent({type:et,selectors:[["app-mag"]],decls:192,vars:37,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"],[3,"dataSource"],["table",""],["matColumnDef","name"],["class","name",4,"matHeaderCellDef"],["class","name",4,"matCellDef"],["matColumnDef","title"],["class","title",4,"matHeaderCellDef"],["class","title",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,"highlight"],[1,"name"],[1,"title"],[1,"contentType"],[1,"formatCode"],[1,"res"],["mat-icon-button","","type","submit",3,"click"]],template:function(_e,ut){1&_e&&(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 ut.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\u0275template(52,Ee,3,1,"div",3),l.\u0275\u0275elementStart(53,"mat-card-actions")(54,"button",4),l.\u0275\u0275listener("click",function(){return ut.onAuthenticate()}),l.\u0275\u0275text(55," Authenticate "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(56,"mat-card",0)(57,"mat-card-content")(58,"mat-card-header")(59,"mat-card-title"),l.\u0275\u0275text(60,"Mobile Access Gateway - Query"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(61,"mat-table",9,10),l.\u0275\u0275elementContainerStart(63,11),l.\u0275\u0275template(64,Be,2,0,"mat-header-cell",12),l.\u0275\u0275template(65,G,2,1,"mat-cell",13),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(66,14),l.\u0275\u0275template(67,re,2,0,"mat-header-cell",15),l.\u0275\u0275template(68,ae,3,1,"mat-cell",16),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(69,17),l.\u0275\u0275template(70,ve,2,0,"mat-header-cell",18),l.\u0275\u0275template(71,He,3,1,"mat-cell",19),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(72,20),l.\u0275\u0275template(73,Ze,2,0,"mat-header-cell",21),l.\u0275\u0275template(74,Qe,3,1,"mat-cell",22),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(75,23),l.\u0275\u0275template(76,Ge,2,0,"mat-header-cell",24),l.\u0275\u0275template(77,tt,10,0,"mat-cell",25),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275template(78,Ct,1,0,"mat-header-row",26),l.\u0275\u0275template(79,Nt,1,0,"mat-row",27),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(80,_t,2,0,"ng-container",3),l.\u0275\u0275elementStart(81,"mat-card-actions")(82,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindDocumentReferences()}),l.\u0275\u0275text(83," Document References "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(84,"div")(85,"mat-form-field",1)(86,"mat-label"),l.\u0275\u0275text(87,"serviceStart From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(88,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(89," \xa0 "),l.\u0275\u0275elementStart(90,"mat-form-field",1)(91,"mat-label"),l.\u0275\u0275text(92,"serviceStart To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(93,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(94,"div")(95,"mat-form-field",1)(96,"mat-label"),l.\u0275\u0275text(97,"serviceEnd From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(98,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(99," \xa0 "),l.\u0275\u0275elementStart(100,"mat-form-field",1)(101,"mat-label"),l.\u0275\u0275text(102,"serviceEnd To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(103,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(104,"mat-card-actions")(105,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindMedicationList()}),l.\u0275\u0275text(106," Medication List "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(107,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindMedicationCard()}),l.\u0275\u0275text(108," Medication Card "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(109,Bt,4,0,"ng-container",3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(110,"mat-card",0)(111,"mat-card-content")(112,"mat-card-header")(113,"mat-card-title"),l.\u0275\u0275text(114,"Mobile Access Gateway - Upload"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(115,"app-upload",29),l.\u0275\u0275listener("addFiles",function(mt){return ut.addFile(mt)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(116,"div")(117,"mat-form-field",1)(118,"mat-label"),l.\u0275\u0275text(119,"Description"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(120,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(121,"div")(122,"mat-form-field",1)(123,"mat-label"),l.\u0275\u0275text(124,"Document Type"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(125,"select",5)(126,"option",30),l.\u0275\u0275text(127,"APPC Document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(128,"option",31),l.\u0275\u0275text(129,"Medication Treatment Plan document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(130,"option",32),l.\u0275\u0275text(131,"Medication Dispense document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(132,"option",33),l.\u0275\u0275text(133,"Medication Prescription document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(134,"option",34),l.\u0275\u0275text(135,"Pharmaceutical Advice document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(136,"option",35),l.\u0275\u0275text(137,"PDF"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(138,"div")(139,"mat-form-field",1)(140,"mat-label"),l.\u0275\u0275text(141,"Confidentiality"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(142,"select",5)(143,"option",36),l.\u0275\u0275text(144,"Normally accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(145,"option",37),l.\u0275\u0275text(146,"Restricted accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(147,"option",38),l.\u0275\u0275text(148,"Secret"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(149,"div")(150,"mat-form-field",1)(151,"mat-label"),l.\u0275\u0275text(152,"DocumentEntry.masterIdentifier (uuid)"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(153,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(154,"div")(155,"mat-form-field",1)(156,"mat-label"),l.\u0275\u0275text(157,"DocumentEntry.creationTime"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(158,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(159,"div")(160,"mat-form-field",1)(161,"mat-label"),l.\u0275\u0275text(162,"DocumentEntry.languageCode"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(163,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(164,"div")(165,"mat-form-field",1)(166,"mat-label"),l.\u0275\u0275text(167,"ihe-sourceId"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(168,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(169,"\xa0 "),l.\u0275\u0275elementStart(170,"a",39),l.\u0275\u0275text(171,"ig"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(172,Tt,2,1,"div",3),l.\u0275\u0275template(173,Lt,2,3,"div",40),l.\u0275\u0275template(174,Le,2,1,"div",3),l.\u0275\u0275template(175,lt,2,0,"ng-container",3),l.\u0275\u0275elementStart(176,"div")(177,"button",28),l.\u0275\u0275listener("click",function(){return ut.assignMobileAccessPatient()}),l.\u0275\u0275text(178," Assign Mobile Access Patient"),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(179,"\xa0 "),l.\u0275\u0275elementStart(180,"button",28),l.\u0275\u0275listener("click",function(){return ut.createMhdTransaction()}),l.\u0275\u0275text(181," Provide and Register "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(182,"button",28),l.\u0275\u0275listener("click",function(){return ut.createAppc()}),l.\u0275\u0275text(183," Create APPC for PMP "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(184,"mat-card",0)(185,"mat-card-content")(186,"mat-card-header")(187,"mat-card-title"),l.\u0275\u0275text(188,"Response"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(189,ze,2,1,"div",3),l.\u0275\u0275elementStart(190,"pre"),l.\u0275\u0275element(191,"code",41),l.\u0275\u0275elementEnd()()()),2&_e&&(l.\u0275\u0275advance(9),l.\u0275\u0275property("formControl",ut.sourceIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.sourceIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.targetIdentifierSystem),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ut.targetIdentifierValue," "),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.targetIdentifier2System),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ut.targetIdentifier2Value," "),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate1("targetId: ",ut.targetId,""),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inPixmProgress),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ut.targetId.length>0),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.patient),l.\u0275\u0275advance(10),l.\u0275\u0275property("formControl",ut.authenticate),l.\u0275\u0275advance(7),l.\u0275\u0275property("ngIf",ut.getScopes()),l.\u0275\u0275advance(9),l.\u0275\u0275property("dataSource",ut.dataSource),l.\u0275\u0275advance(17),l.\u0275\u0275property("matHeaderRowDef",l.\u0275\u0275pureFunction0(35,at)),l.\u0275\u0275advance(1),l.\u0275\u0275property("matRowDefColumns",l.\u0275\u0275pureFunction0(36,at)),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inMhdQueryProgress),l.\u0275\u0275advance(8),l.\u0275\u0275property("formControl",ut.serviceStartFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceStartTo),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceEndFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceEndTo),l.\u0275\u0275advance(6),l.\u0275\u0275property("ngIf",ut.canTransformToPdf()),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ut.documentDescription),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.documentType),l.\u0275\u0275advance(17),l.\u0275\u0275property("formControl",ut.documentConfidentiality),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ut.masterIdentifier),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.creationTime),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.languageCode),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.iheSourceId),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ut.replaceDocumentReference),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",ut.replaceUuids),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.errMsgAssignPatient),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inMhdUploadProgress),l.\u0275\u0275advance(14),l.\u0275\u0275property("ngIf",ut.errMsg),l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",ut.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,Ce.MatLegacyTable,Ce.MatLegacyHeaderCellDef,Ce.MatLegacyHeaderRowDef,Ce.MatLegacyColumnDef,Ce.MatLegacyCellDef,Ce.MatLegacyRowDef,Ce.MatLegacyHeaderCell,Ce.MatLegacyCell,Ce.MatLegacyHeaderRow,Ce.MatLegacyRow,Re.MatLegacyProgressSpinner,Ae.Highlight,de.UploadComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.display[_ngcontent-%COMP%]{display:inline-block;margin-bottom:10px}.column50[_ngcontent-%COMP%]{width:40%}"]}),et})()},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(h,u){if(1&h&&(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&h){const v=c.\u0275\u0275nextContext();c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(c.\u0275\u0275pipeBind1(4,1,v.patient))}}B.PatientDetailComponent=(()=>{class h{constructor(){}ngOnInit(){}}return h.\u0275fac=function(v){return new(v||h)},h.\u0275cmp=c.\u0275\u0275defineComponent({type:h,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]}),h})()},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),f=n.__importStar(a(5879)),h=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(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Family"),f.\u0275\u0275elementEnd())}function D(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientFamilyName(W))}}function S(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Given"),f.\u0275\u0275elementEnd())}function E(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientGivenNames(W))}}function I(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Birthdate"),f.\u0275\u0275elementEnd())}function X(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientBirthDate(W))}}function $(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Street"),f.\u0275\u0275elementEnd())}function ee(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientAddressLines(W))}}function ie(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"City"),f.\u0275\u0275elementEnd())}function A(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientAddressCity(W))}}function U(de,H){1&de&&f.\u0275\u0275element(0,"mat-header-row")}function Ce(de,H){if(1&de){const W=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-row",16),f.\u0275\u0275listener("click",function(){const Ee=f.\u0275\u0275restoreView(W).$implicit,Be=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Be.selectRow(Ee))}),f.\u0275\u0275elementEnd()}}const Re=function(){return["familyNameCol","givenNamesCol","birthDateCol","addressLinesCol","addressCityCol"]};B.PatientsComponent=(()=>{class de{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 de.\u0275fac=function(W){return new(W||de)(f.\u0275\u0275directiveInject(h.FhirConfigService))},de.\u0275cmp=f.\u0275\u0275defineComponent({type:de,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&&(f.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-form-field")(3,"mat-label"),f.\u0275\u0275text(4,"Name"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(5,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(6," \xa0 "),f.\u0275\u0275elementStart(7,"mat-form-field")(8,"mat-label"),f.\u0275\u0275text(9,"Family"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(10,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(11," \xa0 "),f.\u0275\u0275elementStart(12,"mat-form-field")(13,"mat-label"),f.\u0275\u0275text(14,"Given"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(15,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(16," \xa0 "),f.\u0275\u0275elementEnd()(),f.\u0275\u0275elementStart(17,"mat-card",2)(18,"mat-card-content")(19,"mat-table",3,4),f.\u0275\u0275elementContainerStart(21,5),f.\u0275\u0275template(22,x,2,0,"mat-header-cell",6),f.\u0275\u0275template(23,D,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(24,8),f.\u0275\u0275template(25,S,2,0,"mat-header-cell",6),f.\u0275\u0275template(26,E,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(27,9),f.\u0275\u0275template(28,I,2,0,"mat-header-cell",6),f.\u0275\u0275template(29,X,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(30,10),f.\u0275\u0275template(31,$,2,0,"mat-header-cell",6),f.\u0275\u0275template(32,ee,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(33,11),f.\u0275\u0275template(34,ie,2,0,"mat-header-cell",6),f.\u0275\u0275template(35,A,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275template(36,U,1,0,"mat-header-row",12),f.\u0275\u0275template(37,Ce,1,0,"mat-row",13),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(38,"mat-paginator",14),f.\u0275\u0275listener("page",function(Ee){return pe.goToPage(Ee)}),f.\u0275\u0275elementEnd()()(),f.\u0275\u0275element(39,"app-patient-detail",15)),2&W&&(f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchName),f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchFamily),f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchGiven),f.\u0275\u0275advance(4),f.\u0275\u0275property("dataSource",pe.dataSource),f.\u0275\u0275advance(17),f.\u0275\u0275property("matHeaderRowDef",f.\u0275\u0275pureFunction0(11,Re)),f.\u0275\u0275advance(1),f.\u0275\u0275property("matRowDefColumns",f.\u0275\u0275pureFunction0(12,Re)),f.\u0275\u0275advance(1),f.\u0275\u0275property("pageIndex",pe.pageIndex)("length",pe.length)("pageSize",pe.pageSize)("pageSizeOptions",pe.pageSizeOptions),f.\u0275\u0275advance(1),f.\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]}),de})()},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))),f=n.__importStar(a(7088)),h=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(f.FhirConfigService),r.\u0275\u0275directiveInject(h.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),f=a(9241),h=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),Ce=a(1438),Re=n.__importStar(a(5879)),Ae=[c.CommonModule,r.BrowserModule,g.BrowserAnimationsModule,d.FormsModule,d.ReactiveFormsModule,U.TranslateModule,f.MatLegacyAutocompleteModule,h.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,Ce.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,f.MatLegacyAutocompleteModule,h.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,Ce.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)),f=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,f.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(h=>console.log(h))},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(h){super(),this.tokenSource=h,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(h){}reset(){this.seek(0)}seek(h){this.lazyInit(),this.index=this.adjustSeekIndex(h)}get(h){return this.lazyInit(),this.tokens[h]}consume(){let h=!1;if(h=this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(u)>=u}fetch(h){if(this.fetchedEOF)return 0;for(let u=0;u=this.tokens.length&&(u=this.tokens.length-1);for(let p=h;p=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[u]}adjustSeekIndex(h){return h}lazyInit(){-1===this.index&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(h){this.tokenSource=h,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(h,u){if(this.sync(h),h>=this.tokens.length)return-1;let v=this.tokens[h];for(;v.channel!==this.channel;){if(v.type===n.EOF)return-1;this.sync(h+=1),v=this.tokens[h]}return h}previousTokenOnChannel(h,u){for(;h>=0&&this.tokens[h].channel!==u;)h-=1;return h}getHiddenTokensToRight(h,u){if(void 0===u&&(u=-1),this.lazyInit(),h<0||h>=this.tokens.length)throw h+" not in 0.."+this.tokens.length-1;const v=this.nextTokenOnChannel(h+1,c.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(h+1,-1===v?this.tokens.length-1:v,u)}getHiddenTokensToLeft(h,u){if(void 0===u&&(u=-1),this.lazyInit(),h<0||h>=this.tokens.length)throw h+" not in 0.."+this.tokens.length-1;const v=this.previousTokenOnChannel(h-1,c.DEFAULT_TOKEN_CHANNEL);return v===h-1?null:this.filterForChannel(v+1,h-1,u)}filterForChannel(h,u,v){const b=[];for(let p=h;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,f,h,u,v,b,p,_){const l=new n(r,f,u,v,b);return l.line=p,l.column=_,null!==h?l.text=h:this.copyText&&null!==r[1]&&(l.text=r[1].getText(v,b)),l}createThin(r,f){const h=new n(null,r);return h.text=f,h}}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,f){super(r),this.channel=void 0===f?n.DEFAULT_CHANNEL:f}adjustSeekIndex(r){return this.nextTokenOnChannel(r,this.channel)}LB(r){if(0===r||this.index-r<0)return null;let f=this.index,h=1;for(;h<=r;)f=this.previousTokenOnChannel(f-1,this.channel),h+=1;return f<0?null:this.tokens[f]}LT(r){if(this.lazyInit(),0===r)return null;if(r<0)return this.LB(-r);let f=this.index,h=1;for(;h{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 f=0;f=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 f="";for(let h=g;h<=r;h++)f+=String.fromCodePoint(this.data[h]);return f}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,f){this.start=r,this.stop=f}clone(){return new c(this.start,this.stop)}contains(r){return r>=this.start&&rthis.addInterval(f),this),this}reduce(r){if(r=h.stop?(this.intervals.splice(r+1,1),this.reduce(r)):f.stop>=h.start&&(this.intervals[r]=new c(f.start,h.stop),this.intervals.splice(r+1,1))}}complement(r,f){const h=new d;return h.addInterval(new c(r,f+1)),null!==this.intervals&&this.intervals.forEach(u=>h.removeRange(u)),h}contains(r){if(null===this.intervals)return!1;for(let f=0;fu.start&&r.stop=u.stop?(this.intervals.splice(f,1),f-=1):r.start":"'"+String.fromCharCode(h.start)+"'":"'"+String.fromCharCode(h.start)+"'..'"+String.fromCharCode(h.stop-1)+"'")}return r.length>1?"{"+r.join(", ")+"}":r[0]}toIndexString(){const r=[];for(let f=0;f":h.start.toString():h.start.toString()+".."+(h.stop-1).toString())}return r.length>1?"{"+r.join(", ")+"}":r[0]}toTokenString(r,f){const h=[];for(let u=0;u1?"{"+h.join(", ")+"}":h[0]}elementName(r,f,h){return h===n.EOF?"":h===n.EPSILON?"":r[h]||f[h]}get length(){return this.intervals.map(r=>r.length).reduce((r,f)=>r+f)}}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:f}=a(5516),{RuleTransition:h,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 h 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=h.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=h.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=h.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===h.SKIP){b=!0;break}if(this._type!==h.MORE)break}if(!b)return null===this._token&&this.emit(),this._token}}finally{this._input.release(v)}}skip(){this._type=h.SKIP}more(){this._type=h.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}}h.DEFAULT_MODE=0,h.MORE=-2,h.SKIP=-3,h.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,h.HIDDEN=n.HIDDEN_CHANNEL,h.MIN_CHAR_VALUE=0,h.MAX_CHAR_VALUE=1114111,Ie.exports=h},111:(Ie,B,a)=>{const{Token:n}=a(6205),{ParseTreeListener:c,TerminalNode:d,ErrorNode:g}=a(5829),r=a(9495),{DefaultErrorStrategy:f}=a(2487),h=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 f,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 h(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,f=c.ErrorNodeImpl,h=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 f&&(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 f(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 h 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 h&&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 h(I,X)}}class u extends h{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 h&&I instanceof h)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=h.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 de=new v([ie,ie],Re);return null!==$&&$.set(E,I,de),de}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 Ce=new v(U,A);return null!==$&&$.set(E,I,Ce),Ce}}(E,I,X,$);if(X){if(E instanceof u)return E;if(I instanceof u)return I}return E instanceof h&&(E=new v([E.getParent()],[E.returnState])),I instanceof h&&(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=[],Ce=[];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(h){"4.9.3"!==h&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+h)}addErrorListener(h){this._listeners.push(h)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const h=this.getLiteralNames(),u=this.getSymbolicNames(),v=h.length>u.length?h.length:u.length;this.tokenNames=[];for(let b=0;b";let u=h.text;return null===u&&(u=h.type===n.EOF?"":"<"+h.type+">"),u=u.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+u+"'"}getErrorListenerDispatch(){return new d(this._listeners)}sempred(h,u,v){return!0}precpred(h,u){return!0}get state(){return this._stateNumber}set state(h){this._stateNumber=h}}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(f,h){super(),this.parentCtx=f||null,this.invokingState=h||-1}depth(){let f=0,h=this;for(;null!==h;)h=h.parentCtx,f+=1;return f}isEmpty(){return-1===this.invokingState}getSourceInterval(){return c}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(f){return f.getText()}).join("")}getAltNumber(){return 0}setAltNumber(f){}getChild(f){return null}getChildCount(){return 0}accept(f){return f.visitChildren(this)}toStringTree(f,h){return d.toStringTree(this,f,h)}toString(f,h){f=f||null,h=h||null;let u=this,v="[";for(;null!==u&&u!==h;){if(null===f)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,f,h){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!==f?f:-1,this.stop=void 0!==h?h:-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(h,u){this.grammarType=h,this.maxTokenType=u,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(h,u){return new n(this).LOOK(h,null,u)}nextTokensNoContext(h){return null!==h.nextTokenWithinRule||(h.nextTokenWithinRule=this.nextTokensInContext(h,null),h.nextTokenWithinRule.readOnly=!0),h.nextTokenWithinRule}nextTokens(h,u){return void 0===u?this.nextTokensNoContext(h):this.nextTokensInContext(h,u)}addState(h){null!==h&&(h.atn=this,h.stateNumber=this.states.length),this.states.push(h)}removeState(h){this.states[h.stateNumber]=null}defineDecisionState(h){return this.decisionToState.push(h),h.decision=this.decisionToState.length-1,h.decision}getDecisionState(h){return 0===this.decisionToState.length?null:this.decisionToState[h]}getExpectedTokens(h,u){if(h<0||h>=this.states.length)throw"Invalid state number.";let b=this.nextTokens(this.states[h]);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(h,u){if(null===h){const v={state:null,alt:null,context:null,semanticContext:null};return u&&(v.reachesIntoOuterContext=0),v}{const v={};return v.state=h.state||null,v.alt=void 0===h.alt?null:h.alt,v.context=h.context||null,v.semanticContext=h.semanticContext||null,u&&(v.reachesIntoOuterContext=h.reachesIntoOuterContext||0,v.precedenceFilterSuppressed=h.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 f 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=f.prototype.hashCode,this.equalsForConfigSet=f.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 f&&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=f},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 f(v,b){return v===b||null!==v&&null!==b&&v.equalsForConfigSet(b)}class h{constructor(b){this.configLookup=new c.Set(r,f),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:f,BlockStartState:h,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:Ce,WildcardTransition:Re,PredicateTransition:Ae,PrecedencePredicateTransition:de}=a(6850),{IntervalSet:H}=a(9173),W=a(2905),{LexerActionType:pe,LexerSkipAction:we,LexerChannelAction:Ee,LexerCustomAction:Be,LexerMoreAction:G,LexerTypeAction:re,LexerPushModeAction:ae,LexerPopModeAction:ve,LexerModeAction:He}=a(201),Qe="59627784-3BE5-417A-B9EB-8131A7286089",Ge=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Qe],Ct=Qe;function Nt(Lt,Le){const lt=[];return lt[Lt-1]=Le,lt.map(function(ze){return Le})}const Tt=function Bt(){const Lt=[];for(let Le=0;Le<256;Le++)Lt[Le]=(Le+256).toString(16).substr(1).toUpperCase();return Lt}();Ie.exports=class _t{constructor(Le){null==Le&&(Le=W.defaultOptions),this.deserializationOptions=Le,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Le,lt){const ze=Ge.indexOf(Le);return!(ze<0)&&Ge.indexOf(lt)>=ze}deserialize(Le){this.reset(Le),this.checkVersion(),this.checkUUID();const lt=this.readATN();this.readStates(lt),this.readRules(lt),this.readModes(lt);const ze=[];return this.readSets(lt,ze,this.readInt.bind(this)),this.isFeatureSupported(Qe,this.uuid)&&this.readSets(lt,ze,this.readInt32.bind(this)),this.readEdges(lt,ze),this.readDecisions(lt),this.readLexerActions(lt),this.markPrecedenceDecisions(lt),this.verifyATN(lt),this.deserializationOptions.generateRuleBypassTransitions&<.grammarType===d.PARSER&&(this.generateRuleBypassTransitions(lt),this.verifyATN(lt)),lt}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(Ge.indexOf(Le)<0)throw Ct;this.uuid=Le}readATN(){const Le=this.readInt(),lt=this.readInt();return new c(Le,lt)}readStates(Le){let lt,ze,at;const N=[],oe=[],Y=this.readInt();for(let ce=0;ce0;)N.addTransition(K.transitions[ce-1]),K.transitions=K.transitions.slice(-1);Le.ruleToStartState[lt].addTransition(new Ce(N)),oe.addTransition(new Ce(ne));const Te=new r;Le.addState(Te),Te.addTransition(new X(oe,Le.ruleToTokenType[lt])),N.addTransition(new Ce(Te))}stateIsEndStateFor(Le,lt){if(Le.ruleIndex!==lt||!(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 lt=0;lt=0:ze.transitions.length<=1||ze instanceof p)}}checkCondition(Le,lt){if(!Le)throw null==lt&&(lt="IllegalState"),lt}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 lt=7;lt>=0;lt--){const ze=this.readInt();Le[2*lt+1]=255&ze,Le[2*lt]=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,lt,ze,at,N,oe,Y,ne){const K=Le.states[at];switch(lt){case I.EPSILON:return new Ce(K);case I.RANGE:return new A(K,0!==Y?n.EOF:N,oe);case I.RULE:return new ie(Le.states[N],oe,Y,K);case I.PREDICATE:return new Ae(K,N,oe,0!==Y);case I.PRECEDENCE:return new de(K,N);case I.ATOM:return new X(K,0!==Y?n.EOF:N);case I.ACTION:return new U(K,N,oe,0!==Y);case I.SET:return new $(K,ne[N]);case I.NOT_SET:return new ee(K,ne[N]);case I.WILDCARD:return new Re(K);default:throw"The specified transition type: "+lt+" is not valid."}}stateFactory(Le,lt){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=lt,ze}}lexerActionFactory(Le,lt,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)=>ve.INSTANCE,at[pe.PUSH_MODE]=(N,oe)=>new ae(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](lt,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(h,u){return this.atn=h,this.sharedContextCache=u,this}getCachedContext(h){if(null===this.sharedContextCache)return h;const u=new g;return d(h,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 h extends a{constructor(){return super(),this.stateType=a.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class f 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:f}=a(4280),{PredictionContext:h}=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 f;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 f 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 f&&this.mode===p.mode}toString(){return"mode("+this.mode+")"}}class h 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 h&&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:h,LexerIndexedCustomAction:v,LexerMoreAction:r,LexerTypeAction:c,LexerPushModeAction:d,LexerPopModeAction:g,LexerModeAction:f}},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 f=null;for(let h=0;h{const n=a(3340),{Set:c,BitSet:d,DoubleDict:g}=n,r=a(9800),{ATNState:f,RuleStopState:h}=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:Ce,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 ve=this.computeStartState(we.atnStartState,x.EMPTY,!1);we.precedenceDfa?(we.s0.configs=ve,ve=this.applyPrecedenceFilter(ve),G=this.addDFAState(we,new p(null,ve)),we.setPrecedenceStartState(this.parser.getPrecedence(),G)):(G=this.addDFAState(we,new p(null,ve)),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 ae=this.getExistingTargetState(G,re);if(null===ae&&(ae=this.computeTargetState(H,G,re)),ae===l.ERROR){const ve=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 ve}if(ae.requiresFullContext&&this.predictionMode!==y.SLL){let ve=null;if(null!==ae.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const Qe=pe.index;if(Qe!==we&&pe.seek(we),ve=this.evalSemanticContext(ae.predicates,Ee,!0),1===ve.length)return this.debug&&console.log("Full LL avoided"),ve.minValue();Qe!==we&&pe.seek(Qe)}this.dfa_debug&&console.log("ctx sensitive state "+Ee+" in "+ae);const Ze=this.computeStartState(H.atnStartState,Ee,!0);return this.reportAttemptingFullContext(H,ve,ae.configs,we,pe.index),Be=this.execATNWithFullContext(H,ae,Ze,pe,we,Ee),Be}if(ae.isAcceptState){if(null===ae.predicates)return ae.prediction;const ve=pe.index;pe.seek(we);const He=this.evalSemanticContext(ae.predicates,Ee,!0);if(0===He.length)throw this.noViableAlt(pe,Ee,ae.configs,we);return 1===He.length||this.reportAmbiguity(H,ae,we,ve,!1,He,ae.configs),He.minValue()}G=ae,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 ae,re=!1,ve=pe;we.seek(Ee);let He=we.LA(1),Ze=-1;for(;;){if(ae=this.computeReachSet(ve,He,!0),null===ae){const Ge=this.noViableAlt(we,Be,ve,Ee);we.seek(Ee);const tt=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(ve,Be);if(tt!==r.INVALID_ALT_NUMBER)return tt;throw Ge}const Qe=y.getConflictingAltSubsets(ae);if(this.debug&&console.log("LL altSubSets="+Qe+", predict="+y.getUniqueAlt(Qe)+", resolvesToJustOneViableAlt="+y.resolvesToJustOneViableAlt(Qe)),ae.uniqueAlt=this.getUniqueAlt(ae),ae.uniqueAlt!==r.INVALID_ALT_NUMBER){Ze=ae.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}ve=ae,He!==b.EOF&&(we.consume(),He=we.LA(1))}return ae.uniqueAlt!==r.INVALID_ALT_NUMBER?(this.reportContextSensitivity(H,Ze,ae,Ee,we.index),Ze):(this.reportAmbiguity(H,W,Ee,we.index,re,null,ae),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 h&&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 h){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!==f.STAR_LOOP_ENTRY||W.stateType!==f.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=Ce.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:f}=a(5516),{ATNConfigSet:h}=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 h;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 h(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 f 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 f&&this.precedence===b.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(b){const p=[];return b.values().map(function(_){_ instanceof f&&p.push(_)}),p}}class h extends g{constructor(b,p){super();const _=new n;b instanceof h?b.opnds.map(function(y){_.add(y)}):_.add(b),p instanceof h?p.opnds.map(function(y){_.add(y)}):_.add(p);const l=f.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=f.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:f,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 f 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 h 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:f}=a(7279);Ie.exports=class h{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 f(this).toString()}get states(){return this._states}}},7279:(Ie,B,a)=>{const n=a(3340);class c{constructor(r,f,h){this.dfa=r,this.literalNames=f||[],this.symbolicNames=h||[]}toString(){if(null===this.dfa.s0)return null;let r="";const f=this.dfa.sortedStates();for(let h=0;h"),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 f=(r.isAcceptState?":":"")+"s"+r.stateNumber+(r.requiresFullContext?"^":"");return r.isAcceptState?null!==r.predicates?f+"=>"+n.arrayToString(r.predicates):f+"=>"+r.prediction.toString():f}}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(h,u){return null===h&&(h=-1),null===u&&(u=new n),this.stateNumber=h,this.configs=u,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const h=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(f){super(),this.exactOnly=f=f||!0}reportAmbiguity(f,h,u,v,b,p,_){if(this.exactOnly&&!b)return;const l="reportAmbiguity d="+this.getDecisionDescription(f,h)+": ambigAlts="+this.getConflictingAlts(p,_)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(l)}reportAttemptingFullContext(f,h,u,v,b,p){const _="reportAttemptingFullContext d="+this.getDecisionDescription(f,h)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(_)}reportContextSensitivity(f,h,u,v,b,p){const _="reportContextSensitivity d="+this.getDecisionDescription(f,h)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(_)}getDecisionDescription(f,h){const u=h.decision,v=h.atnStartState.ruleIndex,b=f.ruleNames;if(v<0||v>=b.length)return""+u;const p=b[v]||null;return null===p||0===p.length?""+u:`${u} (${p})`}getConflictingAlts(f,h){if(null!==f)return f;const u=new n;for(let v=0;v{class B{syntaxError(d,g,r,f,h,u){}reportAmbiguity(d,g,r,f,h,u,v){}reportAttemptingFullContext(d,g,r,f,h,u){}reportContextSensitivity(d,g,r,f,h,u){}}class a extends B{constructor(){super()}syntaxError(d,g,r,f,h,u){console.error("line "+r+":"+f+" "+h)}}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,f,h,u){this.delegates.map(v=>v.syntaxError(d,g,r,f,h,u))}reportAmbiguity(d,g,r,f,h,u,v){this.delegates.map(b=>b.reportAmbiguity(d,g,r,f,h,u,v))}reportAttemptingFullContext(d,g,r,f,h,u){this.delegates.map(v=>v.reportAttemptingFullContext(d,g,r,f,h,u))}reportContextSensitivity(d,g,r,f,h,u){this.delegates.map(v=>v.reportContextSensitivity(d,g,r,f,h,u))}}}},2487:(Ie,B,a)=>{const{Token:n}=a(6205),{NoViableAltException:c,InputMismatchException:d,FailedPredicateException:g,ParseCancellationException:r}=a(5858),{ATNState:f}=a(5516),{Interval:h,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=f.INVALID_STATE_NUMBER);if(D.contains(n.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=l._ctx,this.nextTokensState=l._stateNumber);else switch(y.stateType){case f.BLOCK_START:case f.STAR_BLOCK_START:case f.PLUS_BLOCK_START:case f.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(l))return;throw new d(l);case f.PLUS_LOOP_BACK:case f.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 h(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 h(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,f,h=-1;const u=arguments.length;if(!u)return"";let v="";for(;++h1114111||a(b)!==b)throw RangeError("Invalid code point: "+b);b<=65535?g.push(b):(b-=65536,r=55296+(b>>10),f=b%1024+56320,g.push(r,f)),(h+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 f extends r{constructor(){super()}}class u extends f{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),f={toStringTree:function(h,u,v){u=u||null,null!==(v=v||null)&&(u=v.ruleNames);let b=f.getNodeText(h,u);b=n.escapeWhitespace(b,!1);const p=h.getChildCount();if(0===p)return b;let _="("+b+" ";p>0&&(b=f.toStringTree(h.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 f(A){return"string"!=typeof A&&(A=String(A)),A}function h(A){var U={next:function(){var Ce=A.shift();return{done:void 0===Ce,value:Ce}}};return n_iterable&&(U[Symbol.iterator]=function(){return U}),U}function u(A){this.map={},A instanceof u?A.forEach(function(U,Ce){this.append(Ce,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,Ce){A.onload=function(){U(A.result)},A.onerror=function(){Ce(A.error)}})}function p(A){var U=new FileReader,Ce=b(U);return U.readAsArrayBuffer(A),Ce}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,Ce=b(U);return U.readAsText(A),Ce}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function l(A){for(var U=new Uint8Array(A),Ce=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)&&Ce)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(Ce)}function I(A){var U=new FormData;return A.trim().split("&").forEach(function(Ce){if(Ce){var Re=Ce.split("="),Ae=Re.shift().replace(/\+/g," "),de=Re.join("=").replace(/\+/g," ");U.append(decodeURIComponent(Ae),decodeURIComponent(de))}}),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(":"),de=Ae.shift().trim();if(de){var H=Ae.join(":").trim();U.append(de,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,Ce){this.message=U,this.name=Ce;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(Ce,Re){var Ae=new E(A,U);if(Ae.signal&&Ae.signal.aborted)return Re(new a.DOMException("Aborted","AbortError"));var de=new XMLHttpRequest;function H(){de.abort()}de.onload=function(){var W={status:de.status,statusText:de.statusText,headers:X(de.getAllResponseHeaders()||"")};W.url="responseURL"in de?de.responseURL:W.headers.get("X-Request-URL"),Ce(new $("response"in de?de.response:de.responseText,W))},de.onerror=function(){Re(new TypeError("Network request failed"))},de.ontimeout=function(){Re(new TypeError("Network request failed"))},de.onabort=function(){Re(new a.DOMException("Aborted","AbortError"))},de.open(Ae.method,Ae.url,!0),"include"===Ae.credentials?de.withCredentials=!0:"omit"===Ae.credentials&&(de.withCredentials=!1),"responseType"in de&&n_blob&&(de.responseType="blob"),Ae.headers.forEach(function(W,pe){de.setRequestHeader(pe,W)}),Ae.signal&&(Ae.signal.addEventListener("abort",H),de.onreadystatechange=function(){4===de.readyState&&Ae.signal.removeEventListener("abort",H)}),de.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),f=Number(g);return r.setDate(r.getDate()+f),r}},6888:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var f=Number(r);return n(g,36e5*f)}},3895:(Ie,B,a)=>{var n=a(1420);Ie.exports=function c(d,g){var r=n(d).getTime(),f=Number(g);return new Date(r+f)}},3745:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var f=Number(r);return n(g,6e4*f)}},1277:(Ie,B,a)=>{var n=a(1420),c=a(7255);Ie.exports=function d(g,r){var f=n(g),h=Number(r),u=f.getMonth()+h,v=new Date(0);v.setFullYear(f.getFullYear(),u,1),v.setHours(0,0,0,0);var b=c(v);return f.setMonth(u,Math.min(b,f.getDate())),f}},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(),f=g.getMonth(),h=new Date(0);return h.setFullYear(r,f+1,0),h.setHours(0,0,0,0),h.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,f=/[T ]/,h=/:/,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(f);if(h.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 Ce(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),ve=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 ae=parseInt(we[2],10);return Ee.setUTCFullYear(pe,Be,ae),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(ve){var Qe,He=ve.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 de(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 Ge=He+Ze,tt=new Date(Ge);Qe=n(tt);var Ct=new Date(Ge);Ct.setDate(tt.getDate()+1);var Nt=n(Ct)-n(tt);Nt>0&&(Qe+=Nt)}return new Date(He+Ze+Qe)}return new Date(W)}},563:(Ie,B,a)=>{B.formatArgs=function c(h){if(h[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+h[0]+(this.useColors?"%c ":" ")+"+"+Ie.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;h.splice(1,0,u,"color: inherit");let v=0,b=0;h[0].replace(/%[a-zA-Z%]/g,p=>{"%%"!==p&&(v++,"%c"===p&&(b=v))}),h.splice(b,0,u)},B.save=function d(h){try{h?B.storage.setItem("debug",h):B.storage.removeItem("debug")}catch{}},B.load=function g(){let h;try{h=B.storage.getItem("debug")}catch{}return!h&&typeof process<"u"&&"env"in process&&(h=process.env.DEBUG),h},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 h=!1;return()=>{h||(h=!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:f}=Ie.exports;f.j=function(h){try{return JSON.stringify(h)}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 Ce=g.formatters[U];return"function"==typeof Ce&&(A=Ce.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 h(){const _=[...g.names.map(v),...g.skips.map(v).map(l=>"-"+l)].join(",");return g.enable(""),_},g.enable=function f(_){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,f){try{return[decodeURIComponent(r.join(""))]}catch{}if(1===r.length)return r;var h=r.slice(0,f=f||1),u=r.slice(f);return Array.prototype.concat.call([],c(h),c(u))}function d(r){try{return decodeURIComponent(r)}catch{for(var f=r.match(a)||[],h=1;h"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 f=Object.keys(d)[0];return void 0!==r.find(u=>u[f]===d[f])}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),f=a(7681),h=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 f(this),this.pagination=new h(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((Ce,Re)=>{function Ae(de){U.push(de)===$.numJobs&&Re(new Error(U.map(H=>H.message).join("; ")))}E.httpClient.request("GET",`${X}.well-known/smart-configuration`,ie.addSignalOption(I)).then(de=>($.safeAbortOthers(ie),Ce(g(de)))).catch(de=>Ae(de)),E.capabilityStatement(ee.addSignalOption(I)).then(de=>($.safeAbortOthers(ee),Ce(d(de)))).catch(de=>Ae(de)),E.httpClient.request("GET",`${X}.well-known/openid-configuration`,A.addSignalOption(I)).then(de=>($.safeAbortOthers(A),Ce(g(de)))).catch(de=>Ae(de))})})()}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 f=0,h=this.numJobs;f{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"},f="__response",h="__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[f]}static requestFor(D){return D[h]}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 Ce=yield ie.text();let Re={};if(Ce)try{Re=JSON.parse(Ce)}catch{throw Re=Ce,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,f,{writable:!1,enumerable:!1,value:ie}),Object.defineProperty(Re,h,{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 f(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 h(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:f,options:h={}}={}){var u=this;return n(function*(){return void 0===r?g.startsWith("http")?u.resolveAbsoluteReference(g,d(h,f)):u.client.httpClient.get(g,d(h,f)):g.startsWith("#")?u.resolveContainedReference(g,r):u.resolveBundleReference(g,r,d(h,f))})()}resolveAbsoluteReference(g,r){var f=this;return n(function*(){if(g.startsWith(f.client.baseUrl))return f.client.httpClient.get(g,r);const{baseUrl:h,resourceType:u,id:v}=c(g);return new(a(8907))({baseUrl:h}).read({resourceType:u,id:v,options:r})})()}resolveContainedReference(g,r){if(r.contained){const f=g.slice(1),h=r.contained.find(u=>u.id===f);if(h)return h}throw new Error(`Unable to resolve contained reference: ${g}`)}resolveBundleReference(g,r,f){var h=this;return n(function*(){const u=new RegExp(`(^|/)${g}$`),v=r.entry.find(b=>u.test(b.fullUrl));return v?v.resource:h.resolve({reference:g,options:f})})()}}},6686:(Ie,B,a)=>{const{logError:c}=a(1566);Ie.exports={authFromCapability:function d(r){const f={};try{return r.rest.forEach(h=>{h.security.extension.find(v=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===v.url).extension.forEach(v=>{switch(v.url){case"authorize":f.authorizeUrl=new URL(v.valueUri);break;case"token":f.tokenUrl=new URL(v.valueUri);break;case"register":f.registerUrl=new URL(v.valueUri);break;case"manage":f.manageUrl=new URL(v.valueUri)}})}),f}catch(h){return c(h),f}},authFromWellKnown:function g(r){const{authorization_endpoint:f,token_endpoint:h,registration_endpoint:u}=r;return{authorizeUrl:f&&new URL(f),tokenUrl:h&&new URL(h),registerUrl:u&&new URL(u)}}}},9047:(Ie,B,a)=>{const n=a(133),{fhirReferenceRegEx:c}=a(4115);Ie.exports={createQueryString:function r(f){if(f instanceof Object&&Object.keys(f).length>0)return n.stringify(f)},splitReference:function d(f){if(!f.match(c))throw new Error(`${f} is not a recognized FHIR reference`);let h,u=f;f.startsWith("http")&&([,h]=c.exec(f),u=f.slice(h.length),h.endsWith("/")&&(h=h.slice(0,-1)));const[v,b]=u.split("/");return{baseUrl:h,resourceType:v,id:b}},validResourceType:function g(f){return!f.startsWith("/")&&!f.includes(":")&&/\S/.test(f)}}},4258:(Ie,B,a)=>{let n={};const c=a(7353),d=a(5117),g=a(5827);n.aggregateMacro=function(r,f,h){return r.reduce((u,v,b)=>(this.$index=b,this.$total=f(v)),this.$total=h)},n.countFn=function(r){return r&&r.length?r.length:0},n.sumFn=function(r){return n.aggregateMacro.apply(this,[r,f=>c.plus(g.arraify(f),g.arraify(this.$total)),0])},n.minFn=function(r){return n.aggregateMacro.apply(this,[r,f=>{const h=g.arraify(f),u=g.arraify(this.$total);return g.isEmpty(u)||d.lt(h,u)?h:u}])},n.maxFn=function(r){return n.aggregateMacro.apply(this,[r,f=>{const h=g.arraify(f),u=g.arraify(this.$total);return g.isEmpty(u)||d.gt(h,u)?h: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 f=0;f1)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 f=[];const h=g.length;let u=r.length;if(h&&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[_]&&(f.push(p),v[_]=!1,u--)}}return f},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,f=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 f(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,f=Object.keys,h=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(h(y)||h(x))return p(y=h(y)?r.call(y):y,x=h(x)?r.call(x):x,D);try{var I=f(y),X=f(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,f=d.FP_DateTime;var h={};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?f:p.constructor,y=_.constructor===r?f:_.constructor;return l!==y&&n.raiseError('Type of "'+p+'" ('+l.name+') did not match type of "'+_+'" ('+y.name+")","InequalityExpression"),[p,_]}h.equal=function(p,_){return u(p,_)},h.unequal=function(p,_){var l=u(p,_);return void 0===l?void 0:!l},h.equival=function(p,_){return v(p,_)},h.unequival=function(p,_){return!v(p,_)},h.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},h.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},h.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=h},631:(Ie,B,a)=>{const n=a(5827),{whereMacro:c,distinctFn:d}=a(5073),g=a(6777),r=a(6190),f={};function h(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}f.emptyFn=n.isEmpty,f.notFn=function(u){let v=g.singleton(u,"Boolean");return"boolean"==typeof v?!v:[]},f.existsMacro=function(u,v){var b=u;return v?f.existsMacro(c(u,v)):!n.isEmpty(b)},f.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={},f=a(631),h=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 Ce=A.makeResNode;function Re(re,ae,ve,He){if("Expr"===ve)return function(Qe){return re.$this=d.arraify(Qe),r.doEval(re,re.$this,He)};if("AnyAtRoot"===ve)return re.$this=re.$this||re.dataRoot,r.doEval(re,re.$this,He);if("Identifier"===ve){if("TermExpression"===He.type)return He.text;throw new Error("Expected identifier node, got "+JSON.stringify(He))}if("TypeSpecifier"===ve)return r.TypeSpecifier(re,ae,He);re.$this=ae;const Ze=r.doEval(re,ae,He);if("Any"===ve)return Ze;if(Array.isArray(ve)){if(0===Ze.length)return[];ve=ve[0]}return b.singleton(Ze,ve)}function de(re){return null==re||d.isEmpty(re)}function H(re,ae,ve,He){var Ze=r.invocationTable[ae];if(Ze&&Ze.fn){var Qe=He?He.length:0;if(2!==Qe)throw new Error("Infix invoke should have arity 2");var Ge=Ze.arity[Qe];if(Ge){for(var tt=[],Ct=0;CtCt?.__path__?Ce(Ct,Ct?.__path__):Ct),Ge={context:Qe,ucum:"http://unitsofmeasure.org"};ve&&(ve=Object.keys(ve).reduce((Ct,Nt)=>(Ct[Nt]=Array.isArray(ve[Nt])?ve[Nt].map(_t=>_t?.__path__?Ce(_t,_t.__path__):_t):ve[Nt]?.__path__?Ce(ve[Nt],ve[Nt].__path__):ve[Nt],Ct),{}));let tt={dataRoot:Qe,vars:Object.assign(Ge,ve),model:He};return Ze&&Ze.traceFn&&(tt.customTraceFn=Ze.traceFn),r.doEval(tt,Qe,ae.children[0]).map(Ct=>{let Nt=Ct instanceof A?Ct.path:null;return(Ct=d.valData(Ct))instanceof ie&&Ze.resolveInternalTypes&&(Ct=Ct.toString()),Nt&&"object"==typeof Ct&&Object.defineProperty(Ct,"__path__",{value:Nt}),Ct})}function Be(re,ae,ve){if(ve={resolveInternalTypes:!0,...ve},"object"==typeof re){const He=W(re.expression);return function(Ze,Qe){const Ge=re.base?Ce(Ze,re.base):Ze;return U.model=ae,pe(Ge,He,Qe,ae,ve)}}{const He=W(re);return function(Ze,Qe){return U.model=ae,pe(Ze,He,Qe,ae,ve)}}}r.invocationTable={empty:{fn:f.emptyFn},not:{fn:f.notFn},exists:{fn:f.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:f.allMacro,arity:{1:["Expr"]}},allTrue:{fn:f.allTrueFn},anyTrue:{fn:f.anyTrueFn},allFalse:{fn:f.allFalseFn},anyFalse:{fn:f.anyFalseFn},subsetOf:{fn:f.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:f.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:f.isDistinctFn},distinct:{fn:h.distinctFn},count:{fn:u.countFn},where:{fn:h.whereMacro,arity:{1:["Expr"]}},extension:{fn:h.extension,arity:{1:["String"]}},select:{fn:h.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:h.singleFn},first:{fn:h.firstFn},last:{fn:h.lastFn},type:{fn:E.typeFn,arity:{0:[]}},ofType:{fn:h.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:E.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:E.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:h.tailFn},take:{fn:h.takeFn,arity:{1:["Integer"]}},skip:{fn:h.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:h.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,ae,ve){return ve.children.reduce(function(He,Ze){return r.doEval(re,He,Ze)},ae)},r.TermExpression=function(re,ae,ve){return ae&&(ae=ae.map(He=>He instanceof Object&&He.resourceType?Ce(He,He.resourceType):He)),r.doEval(re,ae,ve.children[0])},r.PolarityExpression=function(re,ae,ve){var He=ve.terminalNodeText[0],Ze=r.doEval(re,ae,ve.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,ae,ve){let He,Ze;const Qe=ve.text.split(".").map(Ge=>Ge.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(ve))}return new U({namespace:He,name:Ze})},r.ExternalConstantTerm=function(re,ae,ve){var Qe=r.Identifier(re,ae,ve.children[0].children[0])[0],Ge=re.vars[Qe];if(!(Qe in re.vars))throw new Error("Attempting to access an undefined environment variable: "+Qe);return null==Ge?[]:Ge instanceof Array?Ge:[Ge]},r.LiteralTerm=function(re,ae,ve){var He=ve.children[0];return He?r.doEval(re,ae,He):[ve.text]},r.StringLiteral=function(re,ae,ve){var He=ve.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,ae,ve){return"true"===ve.text?[!0]:[!1]},r.QuantityLiteral=function(re,ae,ve){var He=ve.children[0],Ze=Number(He.terminalNodeText[0]),Qe=He.children[0],Ge=Qe.terminalNodeText[0];return!Ge&&Qe.children&&(Ge=Qe.children[0].terminalNodeText[0]),[new ee(Ze,Ge)]},r.DateTimeLiteral=function(re,ae,ve){var He=ve.text.slice(1);return[new X(He)]},r.TimeLiteral=function(re,ae,ve){var He=ve.text.slice(1);return[new $(He)]},r.NumberLiteral=function(re,ae,ve){return[Number(ve.text)]},r.Identifier=function(re,ae,ve){return[ve.text.replace(/(^`|`$)/g,"")]},r.InvocationTerm=function(re,ae,ve){return r.doEval(re,ae,ve.children[0])},r.MemberInvocation=function(re,ae,ve){const He=r.doEval(re,ae,ve.children[0])[0],Ze=re.model;if(ae){if(d.isCapitalized(He))return ae.filter(Qe=>Qe instanceof A&&Qe.path===He);{const Qe=ae.path||ae.__path__;return ae.reduce(function(Ge,tt){var Ct=(tt=Ce(tt,Qe)).path+"."+He;if(Ze){let Tt=Ze.pathsDefinedElsewhere[Ct];Tt&&(Ct=Tt)}let Nt,_t,Bt=Ze&&Ze.choiceTypePaths[Ct];if(Bt)for(let Tt of Bt){let Lt=He+Tt;if(Nt=tt.data?.[Lt],_t=tt.data?.["_"+Lt],void 0!==Nt||void 0!==_t){Ct+=Tt;break}}else Nt=tt.data?.[He],_t=tt.data?.["_"+He],void 0===Nt&&void 0===_t&&(Nt=tt._data[He]),"extension"===He&&(Ct="Extension");return Ct=Ze&&Ze.path2Type[Ct]||Ct,(d.isSome(Nt)||d.isSome(_t))&&(Array.isArray(Nt)?Ge=Ge.concat(Nt.map((Tt,Lt)=>Ce(Tt,Ct,_t&&_t[Lt]))):Ge.push(Ce(Nt,Ct,_t))),Ge},[])}}return[]},r.IndexerExpression=function(re,ae,ve){const Ze=ve.children[1];var Qe=r.doEval(re,ae,ve.children[0]),Ge=r.doEval(re,ae,Ze);if(d.isEmpty(Ge))return[];var tt=parseInt(Ge[0]);return Qe&&d.isSome(tt)&&Qe.length>tt&&tt>=0?[Qe[tt]]:[]},r.Functn=function(re,ae,ve){return ve.children.map(function(He){return r.doEval(re,ae,He)})},r.realizeParams=function(re,ae,ve){return ve&&ve[0]&&ve[0].children?ve[0].children.map(function(He){return r.doEval(re,ae,He)}):[]},r.FunctionInvocation=function(re,ae,ve){var He=r.doEval(re,ae,ve.children[0]);const Ze=He[0];return He.shift(),function Ae(re,ae,ve,He){var Qe,Ze=r.invocationTable[ae];if(Ze){if(Ze.arity){var Ge=He?He.length:0,tt=Ze.arity[Ge];if(tt){for(var Ct=[],Nt=0;Nt{const ve=U.fromValue(ae?.__path__?new A(ae,ae.__path__):ae);return`${ve.namespace}.${ve.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(f,h){return!1===f||f?n.flatten(f.filter((u,v)=>(this.$index=v,h(u)[0]))):[]},extension:function(f,h){return!1!==f&&!f||!h?[]:n.flatten(f.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===h).map(p=>d.makeResNode(p,"Extension")):[]}))},selectMacro:function(f,h){return!1===f||f?n.flatten(f.map((u,v)=>(this.$index=v,h(u)))):[]},repeatMacro:function(f,h){if(!1!==f&&!f)return[];let u=[];const v={},b=f.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(h))},distinctFn:function(f){let h=[];if(f.length>0){let u={};for(let v=0,b=f.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 h(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(h):Object.keys(u).sort().reduce((v,b)=>(v[b]=h(u[b]),v),{}):u}Ie.exports=function f(u){return JSON.stringify(h(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 f(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 h(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(h(u))return[];{let v=f(u);return Math.abs(v)}},r.ceiling=function(u){if(h(u))return[];{let v=f(u);return Math.ceil(v)}},r.exp=function(u){if(h(u))return[];{let v=f(u);return Math.exp(v)}},r.floor=function(u){if(h(u))return[];{let v=f(u);return Math.floor(v)}},r.ln=function(u){if(h(u))return[];{let v=f(u);return Math.log(v)}},r.log=function(u,v){if(h(u)||h(v))return[];{let b=f(u),p=f(v);return Math.log(b)/Math.log(p)}},r.power=function(u,v){if(h(u)||h(v))return[];{let b=f(u),p=f(v);return b<0&&Math.floor(p)!=p?[]:Math.pow(b,p)}},r.round=function(u,v){if(h(u))return[];{let b=f(u);if(h(v))return Math.round(b);{let p=f(v),_=Math.pow(10,p);return Math.round(b*_)/_}}},r.sqrt=function(u){if(h(u))return[];{let v=f(u);return v<0?[]:Math.sqrt(v)}},r.truncate=function(u){if(h(u))return[];{let v=f(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 f=/^((\+|-)?\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=f.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 f=this.model;return r.reduce(function(h,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(f){let l=f.pathsDefinedElsewhere[_];l&&(_=l)}Array.isArray(p)?h.push.apply(h,p.map(l=>d(l,_))):h.push(d(p,_))}return h}return h},[])},descendants:function(r){for(var f=g.children.call(this,r),h=[];f.length>0;)h.push.apply(h,f),f=g.children.call(this,f);return h}};Ie.exports=g},4192:Ie=>{let B={};function a(g){const f=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +g);if(!f)return 0;const h=f[2];return Math.max(0,("0"===h?0:(h||"").length)-(f[3]||0))}function n(g,r){const f=Math.pow(10,r);return Math.round(g*f)/f}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 f=Math.min(a(g),a(r));return 0===f?Math.round(g)===Math.round(r):n(g,f)===n(r,f)},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((h,u)=>new c.dfa.DFA(h,u));class f extends c.Lexer{constructor(u){super(u),this._interp=new c.atn.LexerATNSimulator(this,g,r,new c.PredictionContextCache)}get atn(){return g}}n(f,"grammarFileName","FHIRPath.g4"),n(f,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),n(f,"modeNames",["DEFAULT_MODE"]),n(f,"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(f,"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(f,"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"]),f.EOF=c.Token.EOF,f.T__0=1,f.T__1=2,f.T__2=3,f.T__3=4,f.T__4=5,f.T__5=6,f.T__6=7,f.T__7=8,f.T__8=9,f.T__9=10,f.T__10=11,f.T__11=12,f.T__12=13,f.T__13=14,f.T__14=15,f.T__15=16,f.T__16=17,f.T__17=18,f.T__18=19,f.T__19=20,f.T__20=21,f.T__21=22,f.T__22=23,f.T__23=24,f.T__24=25,f.T__25=26,f.T__26=27,f.T__27=28,f.T__28=29,f.T__29=30,f.T__30=31,f.T__31=32,f.T__32=33,f.T__33=34,f.T__34=35,f.T__35=36,f.T__36=37,f.T__37=38,f.T__38=39,f.T__39=40,f.T__40=41,f.T__41=42,f.T__42=43,f.T__43=44,f.T__44=45,f.T__45=46,f.T__46=47,f.T__47=48,f.T__48=49,f.T__49=50,f.T__50=51,f.T__51=52,f.T__52=53,f.T__53=54,f.DATETIME=55,f.TIME=56,f.IDENTIFIER=57,f.DELIMITEDIDENTIFIER=58,f.STRING=59,f.NUMBER=60,f.WS=61,f.COMMENT=62,f.LINE_COMMENT=63,Ie.exports=f},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),f=r.decisionToState.map((at,N)=>new c.dfa.DFA(at,N)),h=new c.PredictionContextCache;class u extends c.Parser{constructor(N){super(N),this._interp=new c.atn.ParserATNSimulator(this,r,f,h),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),K=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,K=ne,this.state=34,this.term();break;case u.T__3:case u.T__4:ne=new _(this,ne),this._ctx=ne,K=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 et=this._interp.adaptivePredict(this._input,2,this._ctx);2!=et&&et!=c.atn.ATN.INVALID_ALT_NUMBER;){if(1===et)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),K=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(ve,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 Ce extends U{constructor(N,oe){super(N),super.copyFrom(oe)}externalConstant(){return this.getTypedRuleContext(ae,0)}enterRule(N){N instanceof d&&N.enterExternalConstantTerm(this)}exitRule(N){N instanceof d&&N.exitExternalConstantTerm(this)}}u.ExternalConstantTermContext=Ce;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 de extends U{constructor(N,oe){super(N),super.copyFrom(oe)}invocation(){return this.getTypedRuleContext(ve,0)}enterRule(N){N instanceof d&&N.enterInvocationTerm(this)}exitRule(N){N instanceof d&&N.exitInvocationTerm(this)}}u.InvocationTermContext=de;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(_t,0)}enterRule(N){N instanceof d&&N.enterQuantityLiteral(this)}exitRule(N){N instanceof d&&N.exitQuantityLiteral(this)}}u.QuantityLiteralContext=re;class ae 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 ve 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 ve{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 ve{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 ve{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 Ge extends ve{constructor(N,oe){super(N),super.copyFrom(oe)}functn(){return this.getTypedRuleContext(Ct,0)}enterRule(N){N instanceof d&&N.enterFunctionInvocation(this)}exitRule(N){N instanceof d&&N.exitFunctionInvocation(this)}}u.FunctionInvocationContext=Ge;class tt extends ve{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 Ct 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(Nt,0)}enterRule(N){N instanceof d&&N.enterFunctn(this)}exitRule(N){N instanceof d&&N.exitFunctn(this)}}class Nt 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 _t 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(Lt,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 Lt 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(lt,0)}enterRule(N){N instanceof d&&N.enterTypeSpecifier(this)}exitRule(N){N instanceof d&&N.exitTypeSpecifier(this)}}class lt 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=ae,u.InvocationContext=ve,u.FunctnContext=Ct,u.ParamListContext=Nt,u.QuantityContext=_t,u.UnitContext=Bt,u.DateTimePrecisionContext=Tt,u.PluralDateTimePrecisionContext=Lt,u.TypeSpecifierContext=Le,u.QualifiedIdentifierContext=lt,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(h){var u=new n.InputStream(h),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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.indexOf(u)},d.substring=function(h,u,v){const b=c.singleton(h,"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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.startsWith(u)},d.endsWith=function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.endsWith(u)},d.containsFn=function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.includes(u)},d.upper=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.toUpperCase()},d.lower=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.toLowerCase()},d.joinFn=function(h,u){return void 0===u&&(u=""),h.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(h,u){const v=c.singleton(h,"String");return n.isEmpty(v)?[]:v.split(u)},d.trimFn=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.trim()},d.encodeFn=function(h,u){const v=c.singleton(h,"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(h,u){const v=c.singleton(h,"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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(u,"s").test(v)}:function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(function r(h){return g[h]||(g[h]=h.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[h]}(u)).test(v)},d.replace=function(h,u,v){const b=c.singleton(h,"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(h,u,v){const b=c.singleton(h,"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(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.length},d.toChars=function(h){const u=c.singleton(h,"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 f="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",h=new RegExp("^T?"+f+"$"),u=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+f+")?)?)?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 Ce=p.toUcumQuantity(this.value,this.unit),Re=p.toUcumQuantity(A.value,A.unit),Ae=d.convertUnitTo(Re.unit,Re.value,Ce.unit);return"succeeded"===Ae.status&&g.isEqual(Ce.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),Ce=p.getEquivalentUcumUnitCode(A.unit),Re=d.convertUnitTo(Ce,A.value,U);return"succeeded"===Re.status&&g.isEquivalent(this.value,Re.toVal)}_compareYearsAndMonths(A){const U=p._yearMonthConversionFactor[this.unit],Ce=p._yearMonthConversionFactor[A.unit];return U&&Ce?{isEqual:g.isEqual(this.value*U,A.value*Ce)}: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 Ce=p._yearMonthConversionFactor[ie],Re=p._yearMonthConversionFactor[U];if(Ce&&Re)return new p(Ce*A/Re,U);const Ae=p._calendarDuration2Seconds[ie],de=p._calendarDuration2Seconds[U];if(de){if(Ae)return new p(Ae*A/de,U);{const H=d.convertUnitTo(ie.replace(/^'|'$/g,""),A,"s");if("succeeded"===H.status)return new p(H.toVal/de,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 Ce=p.arithmeticDurationUnits[A.unit];if(!Ce)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[Ce];if(void 0===Ae)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(Re._timeUnitToDatePrecision).join(", ")+".");let de=A.value;const H=Re===x;if((H?Ae<2:Ae<5)&&(de=Math.trunc(de)),this._getPrecision()2?new y(de)._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(),Ce=A._getPrecision(),Re=U<=Ce?this._getDateObj().getTime():this._dateAtPrecision(Ce).getTime(),Ae=Ce<=U?A._getDateObj().getTime():A._dateAtPrecision(U).getTime();return U!==Ce&&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 Ce=U;Ce>=0&&void 0===this.precision;--Ce)this.timeMatchData[Ce]&&(this.precision=Ce);return this.timeMatchData}_getTimeParts(A){var U=[];U=[A[0]];var Ce=A[4];if(Ce){let H=U[0];U[0]=H.slice(0,H.length-Ce.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 de=A[3];de&&(U[2]=Ae.slice(0,Ae.length-de.length),U[3]=de)}}return U}_getDateObj(){if(!this.dateObj){var A=this._getPrecision();this.dateObj=this._dateAtPrecision(A)}return this.dateObj}_createDate(A,U,Ce,Re,Ae,de,H,W){var pe=new Date(A,U,Ce,Re,Ae,de,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 Ce=this._getMatchData(),Re=Ce[0];this.timeParts=[Re];var U=Ce[1];if(U){this.timeParts[0]=Re.slice(0,Re.length-U.length),this.timeParts[1]=U;let Ae=Ce[2];if(Ae){this.timeParts[1]=U.slice(0,U.length-Ae.length),this.timeParts[2]=Ae;let de=Ce[3];de&&(this.timeParts[2]=Ae.slice(0,Ae.length-de.length),"T"===de[0]&&(Ce[3]=de.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(Ce.slice(3))))}}}return this.timeParts}_dateAtPrecision(U){var Ce=this._getTimeParts(),Re=this._getMatchData()[7],Ae=this._getPrecision(),de=parseInt(Ce[0]),H=Ae>0?parseInt(Ce[1].slice(1))-1:0,W=Ae>1?parseInt(Ce[2].slice(1)):1,pe=Ae>2?parseInt(Ce[3]):0,we=Ae>3?parseInt(Ce[4].slice(1)):0,Ee=Ae>4?parseInt(Ce[5].slice(1)):0,Be=Ce.length>6?parseInt(Ce[6].slice(1)):0,G=this._createDate(de,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(de,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 Ce=this._getTimeParts(),Re=this._getMatchData()[4],Ae=this._getPrecision(),pe=parseInt(Ce[0]),we=Ae>0?parseInt(Ce[1].slice(1)):0,Ee=Ae>1?parseInt(Ce[2].slice(1)):0,Be=Ce.length>3?parseInt(Ce[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(h,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 Ce=ie.getTimezoneOffset(),Re=Ce<0?"+":"-",Ae=(Ce=Math.abs(Ce))%60;U+=Re+D((Ce-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,Ce,Re){U?.resourceType&&(Ce=U.resourceType),this.path=Ce,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,Ce){return A instanceof ie?A:new ie(A,U,Ce)},ie})(),I=(()=>{class ie{constructor({name:U,namespace:Ce}){this.name=U,this.namespace=Ce}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 Ce=typeof U;return Number.isInteger(U)?Ce="integer":"number"===Ce?Ce="decimal":U instanceof S?Ce="date":U instanceof y?Ce="dateTime":U instanceof x?Ce="time":U instanceof p&&(Ce="Quantity"),A===ie.System&&(Ce=Ce.replace(/^\w/,Re=>Re.toUpperCase())),new ie({namespace:A,name:Ce})},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:h,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,f){let h=this.valData(g);if(r.indexOf(typeof h)<0){let u=r.length>1?"one of "+r.join(", "):r[0];n.raiseError("Found type '"+typeof g+"' but was expecting "+u,f)}return h},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,f){return Array.isArray(f)?r=r.concat(f):r.push(f),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(f,h){return g[0]===h?"[Circular ~]":"[Circular ~."+r.slice(0,g.indexOf(h)).join(".")+"]"}),function(f,h){if(g.length>0){var u=g.indexOf(this);~u?g.splice(u+1):g.push(this),~u?r.splice(u,1/0,f):r.push(f),~g.indexOf(h)&&(h=d.call(this,f,h))}else g.push(h);return null==c?h:c.call(this,f,h)}}(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 h(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 f(u){return h(u,c,"day")||h(u,n,"hour")||h(u,a,"minute")||h(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),f=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(Ce=>p(Ce,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 h(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,[f]:!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[f]?b(E.fragmentIdentifier,I):E.fragmentIdentifier}`),`${X}${A}${U}`},B.pick=(E,I,X)=>{X=Object.assign({parseFragmentIdentifier:!0,[f]:!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:f}=this;if(g)throw r;return this._throwIfClosed(),f}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),f=a(4674),h=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,f.m)(_.next)&&(0,f.m)(_.error)&&(0,f.m)(_.complete)}(_)&&(0,c.Nn)(_)}(y)?y:new n.Hp(y,x,D);return(0,h.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,f=1/0,h=c.l){super(),this._bufferSize=r,this._windowTime=f,this._timestampProvider=h,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=f===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,f)}next(r){const{isStopped:f,_buffer:h,_infiniteTimeWindow:u,_timestampProvider:v,_windowTime:b}=this;f||(h.push(r),!u&&h.push(v.now()+b)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const f=this._innerSubscribe(r),{_infiniteTimeWindow:h,_buffer:u}=this,v=u.slice();for(let b=0;b{"use strict";a.d(B,{x:()=>h});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),f=a(1441);let h=(()=>{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,f.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const _ of this.currentObservers)_.next(p)}})}error(p){(0,f.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:_}=this;for(;_.length;)_.shift().error(p)}})}complete(){(0,f.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 h{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 f=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 h($){return v("E",void 0,$)}(ee),this):(this.isStopped=!0,this._error(ee))}complete(){this.isStopped?I(f,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 Ce;this&&d.config.useDeprecatedNextContext?(Ce=Object.create(ee),Ce.unsubscribe=()=>this.unsubscribe(),U={next:ee.next&&y(ee.next,Ce),error:ee.error&&y(ee.error,Ce),complete:ee.complete&&y(ee.complete,Ce)}):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:()=>f,w0:()=>r,Nn:()=>h});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 f=r.EMPTY;function h(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:()=>f});var n=a(5592),c=a(7394),d=a(6196),g=a(8251),r=a(9360);class f 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),f=a(9940),h=a(2714),u=a(8251),v=a(7103);function b(...l){const y=(0,f.yG)(l),x=(0,f.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,h.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),f=a(7400),h=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,h.n)(_,D):D),y.complete())}))}});return b?l.pipe((0,f.Z)(b)):l}},2459:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>ee});var n=a(4829),c=a(3093),d=a(5137),f=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 f.y(U=>{(0,b.f)(U,A,()=>{const Ce=ie[Symbol.asyncIterator]();(0,b.f)(U,A,()=>{Ce.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 h(ie,A){return new f.y(U=>{let Ce=0;return A.schedule(function(){Ce===ie.length?U.complete():(U.next(ie[Ce++]),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 f.y(U=>{let Ce;return(0,b.f)(U,A,()=>{Ce=ie[u.h](),(0,b.f)(U,A,()=>{let Re,Ae;try{({value:Re,done:Ae}=Ce.next())}catch(de){return void U.error(de)}Ae?U.complete():U.next(Re)},0,!0)}),()=>(0,v.m)(Ce?.return)&&Ce.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),f=a(7400);const h=["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,f.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)?h.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),f=a(5726),h=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,f.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,h.z)($)}function E($){return new g.y(ee=>{(function X($,ee){var ie,A,U,Ce;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&&(Ce=ie.return)&&(yield Ce.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:()=>f});var n=a(7537),c=a(4829),d=a(6232),g=a(9940),r=a(2459);function f(...h){const u=(0,g.yG)(h),v=(0,g._6)(h,1/0),b=h;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:()=>f,S:()=>r});var n=a(5592),c=a(4829),d=a(7728),g=a(8251);function r(...h){return 1===(h=(0,d.k)(h)).length?(0,c.Xf)(h[0]):new n.y(f(h))}function f(h){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 f=(0,c.m)(g)?g:()=>g,h=u=>u.error(f());return new n.y(r?u=>r.schedule(h,0,u):h)}},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(f=0,h,u=c.P){let v=-1;return null!=h&&((0,d.K)(h)?u=h:v=h),new n.y(b=>{let p=(0,g.q)(f)?+f-u.now():f;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,{$:()=>h});var n=a(5592),c=a(4829),d=a(7728),g=a(6232),r=a(8251),f=a(9940);function h(...u){const v=(0,f.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,f,h,u){return new d(g,r,f,h,u)}class d extends n.Lv{constructor(r,f,h,u,v,b){super(r),this.onFinalize=v,this.shouldUnsubscribe=b,this._next=f?function(p){try{f(p)}catch(_){r.error(_)}}:super._next,this._error=u?function(p){try{u(p)}catch(_){r.error(_)}finally{this.unsubscribe()}}:super._error,this._complete=h?function(){try{h()}catch(p){r.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:f}=this;super.unsubscribe(),!f&&(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)((f,h)=>{let u=!1,v=null,b=null,p=!1;const _=()=>{if(b?.unsubscribe(),b=null,u){u=!1;const y=v;v=null,h.next(y)}p&&h.complete()},l=()=>{b=null,p&&h.complete()};f.subscribe((0,d.x)(h,y=>{u=!0,v=y,b||(0,c.Xf)(r(y)).subscribe(b=(0,d.x)(h,_,l))},()=>{p=!0,(!u||!b||b.closed)&&h.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,f=n.z){return(0,c.U)(()=>(0,d.H)(r,f))}},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)((f,h)=>{let b,u=null,v=!1;u=f.subscribe((0,c.x)(h,void 0,void 0,p=>{b=(0,n.Xf)(r(p,g(r)(f))),u?(u.unsubscribe(),u=null,b.subscribe(h)):v=!0})),v&&(u.unsubscribe(),u=null,b.subscribe(h))})}},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,f=n.z){return(0,c.e)((h,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=f.now();if(x{b=y,p=f.now(),v||(v=f.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,f)=>{let h=!1;r.subscribe((0,c.x)(f,u=>{h=!0,f.next(u)},()=>{h||f.next(g),f.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,f=n.z){const h=(0,d.H)(r,f);return(0,c.j)(()=>h)}},4610:(Ie,B,a)=>{"use strict";a.d(B,{j:()=>h});var n=a(34),c=a(8180),d=a(7538),g=a(975),r=a(9769),f=a(4829);function h(u,v){return v?b=>(0,n.z)(v.pipe((0,c.q)(1),(0,d.l)()),b.pipe(h(u))):(0,r.z)((b,p)=>(0,f.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(f,h=n.y){return f=f??r,(0,c.e)((u,v)=>{let b,p=!0;u.subscribe((0,d.x)(v,_=>{const l=h(_);(p||!f(b,l))&&(p=!1,b=l,v.next(_))}))})}function r(f,h){return f===h}},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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>g.call(r,v,u++)&&h.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:()=>h});var n=a(6973),c=a(2181),d=a(8180),g=a(3572),r=a(3026),f=a(2737);function h(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):f.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,f)=>{r.subscribe((0,c.x)(f,d.Z))})}},2032:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>h});var n=a(6973),c=a(2181),d=a(4418),g=a(3026),r=a(3572),f=a(2737);function h(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):f.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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>{h.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,f,h,u,v,b,p,_){const l=[];let y=0,x=0,D=!1;const S=()=>{D&&!l.length&&!y&&f.complete()},E=X=>y{b&&f.next(X),y++;let $=!1;(0,n.Xf)(h(X,x++)).subscribe((0,d.x)(f,ee=>{v?.(ee),b?E(ee):f.next(ee)},()=>{$=!0},void 0,()=>{if($)try{for(y--;l.length&&yI(ee)):I(ee)}S()}catch(ee){f.error(ee)}}))};return r.subscribe((0,d.x)(f,E,()=>{D=!0,S()})),()=>{_?.()}}},9769:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>f});var n=a(7398),c=a(4829),d=a(9360),g=a(564),r=a(4674);function f(h,u,v=1/0){return(0,r.m)(u)?f((b,p)=>(0,n.U)((_,l)=>u(b,_,p,l))((0,c.Xf)(h(b,p))),v):("number"==typeof u&&(v=u),(0,d.e)((b,p)=>(0,g.p)(b,p,h,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,f=0){return(0,c.e)((h,u)=>{h.subscribe((0,d.x)(u,v=>(0,n.f)(u,r,()=>u.next(v),f),()=>(0,n.f)(u,r,()=>u.complete(),f),v=>(0,n.f)(u,r,()=>u.error(v),f)))})}},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 f=null;g._refCount++;const h=(0,c.x)(r,void 0,void 0,void 0,()=>{if(!g||g._refCount<=0||0<--g._refCount)return void(f=null);const u=g._connection,v=f;f=null,u&&(!v||u===v)&&u.unsubscribe(),r.unsubscribe()});g.subscribe(h),h.closed||(f=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,f,h){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),f&&v.next(p)},h&&(()=>{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(h={}){const{connector:u=(()=>new c.x),resetOnError:v=!0,resetOnComplete:b=!0,resetOnRefCountZero:p=!0}=h;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=f($,p))}),A.subscribe(ie),!l&&D>0&&(l=new d.Hp({next:U=>A.next(U),error:U=>{E=!0,I(),y=f(X,v,U),A.error(U)},complete:()=>{S=!0,I(),y=f(X,b),A.complete()}}),(0,n.Xf)(ee).subscribe(l))})(_)}}function f(h,u,...v){if(!0===u)return void h();if(!1===u)return;const b=new d.Hp({next:()=>{b.unsubscribe(),h()}});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,f){let h,u=!1;return g&&"object"==typeof g?({bufferSize:h=1/0,windowTime:r=1/0,refCount:u=!1,scheduler:f}=g):h=g??1/0,(0,c.B)({connector:()=>new n.t(h,r,f),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 f=(0,c.yG)(r);return(0,d.e)((h,u)=>{(f?(0,n.z)(r,h,f):(0,n.z)(r,h)).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,f)=>{f.add(d.schedule(()=>r.subscribe(f),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,f){return(0,c.e)((h,u)=>{let v=null,b=0,p=!1;const _=()=>p&&!v&&u.complete();h.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(f?f(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)((f,h)=>{let u=0;f.subscribe((0,d.x)(h,v=>{++u<=r&&(h.next(v),r<=u&&h.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)((f,h)=>{let u=[];f.subscribe((0,d.x)(h,v=>{u.push(v),r{for(const v of u)h.next(v);h.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(f){return(0,n.e)((h,u)=>{(0,d.Xf)(f).subscribe((0,c.x)(u,()=>u.complete(),g.Z)),!u.closed&&h.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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>{const b=g(v,u++);(b||r)&&h.next(v),!b&&h.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(f,h,u){const v=(0,n.m)(f)||h||u?{next:f,error:h,complete:u}:f;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(f=r){return(0,c.e)((h,u)=>{let v=!1;h.subscribe((0,d.x)(u,b=>{v=!0,u.next(b)},()=>v?u.complete():u.error(f())))})}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),f=a(8251),h=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,h.f)(I,D,()=>{try{X.unsubscribe(),(0,g.Xf)(x({meta:S,lastValue:ee,seen:ie})).subscribe(I)}catch(Ce){I.error(Ce)}},U)};X=E.subscribe((0,f.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(h,u){super()}schedule(h,u=0){return this}}const d={setInterval(f,h,...u){const{delegate:v}=d;return v?.setInterval?v.setInterval(f,h,...u):setInterval(f,h,...u)},clearInterval(f){const{delegate:h}=d;return(h?.clearInterval||clearInterval)(f)},delegate:void 0};var g=a(9039);class r extends c{constructor(h,u){super(h,u),this.scheduler=h,this.work=u,this.pending=!1}schedule(h,u=0){var v;if(this.closed)return this;this.state=h;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(h,u,v=0){return d.setInterval(h.flush.bind(h,this),v)}recycleAsyncId(h,u,v=0){if(null!=v&&this.delay===v&&!1===this.pending)return u;null!=u&&d.clearInterval(u)}execute(h,u){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const v=this._execute(h,u);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(h,u){let b,v=!1;try{this.work(h)}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:h,scheduler:u}=this,{actions:v}=u;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.P)(v,this),null!=h&&(this.id=this.recycleAsyncId(u,h,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,f=c.now){this.schedulerActionCtor=r,this.now=f}schedule(r,f=0,h){return new this.schedulerActionCtor(this,r).schedule(h,f)}}c.now=n.l.now;class d extends c{constructor(r,f=c.now){super(r,f),this.actions=[],this._active=!1}flush(r){const{actions:f}=this;if(this._active)return void f.push(r);let h;this._active=!0;do{if(h=r.execute(r.state,r.delay))break}while(r=f.shift());if(this._active=!1,h){for(;r=f.shift();)r.unsubscribe();throw h}}}},927:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>h});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 h=new class f 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 f={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}=f,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:()=>f,jO:()=>g,yG:()=>r});var n=a(4674),c=a(671);function d(h){return h[h.length-1]}function g(h){return(0,n.m)(d(h))?h.pop():void 0}function r(h){return(0,c.K)(d(h))?h.pop():void 0}function f(h,u){return"number"==typeof d(h)?h.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(h){if(1===h.length){const u=h[0];if(n(u))return{args:u,keys:null};if(function f(h){return h&&"object"==typeof h&&c(h)===d}(u)){const v=g(u);return{args:v.map(b=>u[b]),keys:v}}}return{args:h,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,f)=>(g[r]=d[f],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 f=!c;if(f&&(c={errorThrown:!1,error:null}),r(),f){const{errorThrown:h,error:u}=c;if(c=null,h)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,f=!1){const h=d.schedule(function(){g(),f?c.add(this.schedule(null,r)):this.unsubscribe()},r);if(c.add(h),!f)return h}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 h=r.getReader();try{for(;;){const{value:u,done:v}=yield(0,n.__await)(h.read());if(v)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(u)}}finally{h.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(f){try{return g(f,this)}catch(h){this.error(h)}});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)(f=>function d(r,f){return c(f)?r(...f):r(f)}(r,f))}},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(f){return g.reduce((h,u)=>u(h),f)}}},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:()=>h,bufferCount:()=>v,bufferTime:()=>y,bufferToggle:()=>x,bufferWhen:()=>D,catchError:()=>S.K,combineAll:()=>de,combineLatest:()=>W,combineLatestAll:()=>Ae,combineLatestWith:()=>pe,concat:()=>Be,concatAll:()=>we.u,concatMap:()=>G.b,concatMapTo:()=>ae,concatWith:()=>ve,connect:()=>tt,count:()=>Ct,debounce:()=>Nt,debounceTime:()=>_t.b,defaultIfEmpty:()=>Bt.d,delay:()=>Tt.g,delayWhen:()=>Lt.j,dematerialize:()=>Y,distinct:()=>ne,distinctUntilChanged:()=>K.x,distinctUntilKeyChanged:()=>ce,elementAt:()=>Pe,endWith:()=>Pt,every:()=>Ft,exhaust:()=>he,exhaustAll:()=>Ke,exhaustMap:()=>Oe,expand:()=>ct,filter:()=>Dt.h,finalize:()=>Me.x,find:()=>Ye,findIndex:()=>F,first:()=>V.P,flatMap:()=>on,groupBy:()=>Q,ignoreElements:()=>be.l,isEmpty:()=>dt,last:()=>Rt.Z,map:()=>Gt.U,mapTo:()=>qe.h,materialize:()=>nt,max:()=>Ve,merge:()=>At,mergeAll:()=>yt.J,mergeMap:()=>ee.z,mergeMapTo:()=>xn,mergeScan:()=>Sn,mergeWith:()=>_n,min:()=>Mn,multicast:()=>fi,observeOn:()=>Vi.Q,onErrorResumeNext:()=>bt,pairwise:()=>pt,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:()=>Mt,scan:()=>jt.R,sequenceEqual:()=>ke,share:()=>me.B,shareReplay:()=>se.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:()=>ut.q,takeLast:()=>Cn.h,takeUntil:()=>tn.R,takeWhile:()=>En.o,tap:()=>ei.b,throttle:()=>Ei,throttleTime:()=>tr,throwIfEmpty:()=>_e.T,timeInterval:()=>Ai,timeout:()=>yi.V,timeoutWith:()=>Ot,timestamp:()=>te,toArray:()=>Ce,window:()=>Ne,windowCount:()=>ot,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),f=a(4829);function h(wt){return(0,d.e)((vt,gt)=>{let St=[];return vt.subscribe((0,r.x)(gt,Ht=>St.push(Ht),()=>{gt.next(St),gt.complete()})),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{const Ht=St;St=[],gt.next(Ht)},g.Z)),()=>{St=null}})}var u=a(9039);function v(wt,vt=null){return vt=vt??wt,(0,d.e)((gt,St)=>{let Ht=[],Yt=0;gt.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 gt,St;const Ht=null!==(gt=(0,_.yG)(vt))&&void 0!==gt?gt: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)((gt,St)=>{const Ht=[];(0,f.Xf)(wt).subscribe((0,r.x)(St,Yt=>{const Jt=[];Ht.push(Jt);const yn=new b.w0;yn.add((0,f.Xf)(vt(Yt)).subscribe((0,r.x)(St,()=>{(0,u.P)(Ht,Jt),St.next(Jt),yn.unsubscribe()},g.Z)))},g.Z)),gt.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,gt)=>{let St=null,Ht=null;const Yt=()=>{Ht?.unsubscribe();const Jt=St;St=[],Jt&>.next(Jt),(0,f.Xf)(wt()).subscribe(Ht=(0,r.x)(gt,Yt,g.Z))};Yt(),vt.subscribe((0,r.x)(gt,Jt=>St?.push(Jt),()=>{St&>.next(St),gt.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 Ce(){return(0,d.e)((wt,vt)=>{A(U,[])(wt).subscribe(vt)})}function Re(wt,vt){return(0,$.z)(Ce(),(0,ee.z)(gt=>wt(gt)),vt?(0,X.Z)(vt):I.y)}function Ae(wt){return Re(E.a,wt)}const de=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)((gt,St)=>{(0,E.l)([gt,...(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)((gt,St)=>{(0,we.u)()((0,Ee.D)([gt,...wt],vt)).subscribe(St)})}var G=a(6328),re=a(4674);function ae(wt,vt){return(0,re.m)(vt)?(0,G.b)(()=>wt,vt):(0,G.b)(()=>wt)}function ve(...wt){return Be(...wt)}var He=a(8645),Ze=a(5592);const Ge={connector:()=>new He.x};function tt(wt,vt=Ge){const{connector:gt}=vt;return(0,d.e)((St,Ht)=>{const Yt=gt();(0,f.Xf)(wt(function Qe(wt){return new Ze.y(vt=>wt.subscribe(vt))}(Yt))).subscribe(Ht),Ht.add(St.subscribe(Yt))})}function Ct(wt){return A((vt,gt,St)=>!wt||wt(gt,St)?vt+1:vt,0)}function Nt(wt){return(0,d.e)((vt,gt)=>{let St=!1,Ht=null,Yt=null;const Jt=()=>{if(Yt?.unsubscribe(),Yt=null,St){St=!1;const yn=Ht;Ht=null,gt.next(yn)}};vt.subscribe((0,r.x)(gt,yn=>{Yt?.unsubscribe(),St=!0,Ht=yn,Yt=(0,r.x)(gt,Jt,g.Z),(0,f.Xf)(wt(yn)).subscribe(Yt)},()=>{Jt(),gt.complete()},void 0,()=>{Ht=Yt=null}))})}var _t=a(3620),Bt=a(3572),Tt=a(7547),Lt=a(4610),Le=a(6232),lt=a(2096),ze=a(8504);class N{constructor(vt,gt,St){this.kind=vt,this.value=gt,this.error=St,this.hasValue="N"===vt}observe(vt){return oe(this,vt)}do(vt,gt,St){const{kind:Ht,value:Yt,error:Jt}=this;return"N"===Ht?vt?.(Yt):"E"===Ht?gt?.(Jt):St?.()}accept(vt,gt,St){var Ht;return(0,re.m)(null===(Ht=vt)||void 0===Ht?void 0:Ht.next)?this.observe(vt):this.do(vt,gt,St)}toObservable(){const{kind:vt,value:gt,error:St}=this,Ht="N"===vt?(0,lt.of)(gt):"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 gt,St,Ht;const{kind:Yt,value:Jt,error:yn}=wt;if("string"!=typeof Yt)throw new TypeError('Invalid notification, missing "kind"');"N"===Yt?null===(gt=vt.next)||void 0===gt||gt.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,gt=>oe(gt,vt)))})}function ne(wt,vt){return(0,d.e)((gt,St)=>{const Ht=new Set;gt.subscribe((0,r.x)(St,Yt=>{const Jt=wt?wt(Yt):Yt;Ht.has(Jt)||(Ht.add(Jt),St.next(Yt))})),vt&&(0,f.Xf)(vt).subscribe((0,r.x)(St,()=>Ht.clear(),g.Z))})}N.completeNotification=new N("C");var K=a(3997);function ce(wt,vt){return(0,K.x)((gt,St)=>vt?vt(gt[wt],St[wt]):gt[wt]===St[wt])}var Te=a(2306);const et=(0,Te.d)(wt=>function(){wt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Dt=a(2181),_e=a(3026),ut=a(8180);function Pe(wt,vt){if(wt<0)throw new et;const gt=arguments.length>=2;return St=>St.pipe((0,Dt.h)((Ht,Yt)=>Yt===wt),(0,ut.q)(1),gt?(0,Bt.d)(vt):(0,_e.T)(()=>new et))}var mt=a(34);function Pt(...wt){return vt=>(0,mt.z)(vt,(0,lt.of)(...wt))}function Ft(wt,vt){return(0,d.e)((gt,St)=>{let Ht=0;gt.subscribe((0,r.x)(St,Yt=>{wt.call(vt,Yt,Ht++,gt)||(St.next(!1),St.complete())},()=>{St.next(!0),St.complete()}))})}var Gt=a(7398);function Oe(wt,vt){return vt?gt=>gt.pipe(Oe((St,Ht)=>(0,f.Xf)(wt(St,Ht)).pipe((0,Gt.U)((Yt,Jt)=>vt(St,Yt,Ht,Jt))))):(0,d.e)((gt,St)=>{let Ht=0,Yt=null,Jt=!1;gt.subscribe((0,r.x)(St,yn=>{Yt||(Yt=(0,r.x)(St,void 0,()=>{Yt=null,Jt&&St.complete()}),(0,f.Xf)(wt(yn,Ht++)).subscribe(Yt))},()=>{Jt=!0,!Yt&&St.complete()}))})}function Ke(){return Oe(I.y)}const he=Ke;var ge=a(564);function ct(wt,vt=1/0,gt){return vt=(vt||0)<1?1/0:vt,(0,d.e)((St,Ht)=>(0,ge.p)(St,Ht,wt,vt,void 0,!0,gt))}var Me=a(4716);function Ye(wt,vt){return(0,d.e)(De(wt,vt,"value"))}function De(wt,vt,gt){const St="index"===gt;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 Q(wt,vt,gt,St){return(0,d.e)((Ht,Yt)=>{let Jt;vt&&"function"!=typeof vt?({duration:gt,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),gt){const Zi=(0,r.x)(oi,()=>{oi.complete(),Zi?.unsubscribe()},void 0,void 0,()=>yn.delete(ni));ui.add((0,f.Xf)(gt(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 be=a(7538);function dt(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,()=>{vt.next(!1),vt.complete()},()=>{vt.next(!0),vt.complete()}))})}var Rt=a(2032),qe=a(975);function nt(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,gt=>{vt.next(N.createNext(gt))},()=>{vt.next(N.createComplete()),vt.complete()},gt=>{vt.next(N.createError(gt)),vt.complete()}))})}function Ve(wt){return A((0,re.m)(wt)?(vt,gt)=>wt(vt,gt)>0?vt:gt:(vt,gt)=>vt>gt?vt:gt)}var yt=a(7537);function At(...wt){const vt=(0,_.yG)(wt),gt=(0,_._6)(wt,1/0);return wt=(0,H.k)(wt),(0,d.e)((St,Ht)=>{(0,yt.J)(gt)((0,Ee.D)([St,...wt],vt)).subscribe(Ht)})}const on=ee.z;function xn(wt,vt,gt=1/0){return(0,re.m)(vt)?(0,ee.z)(()=>wt,vt,gt):("number"==typeof vt&&(gt=vt),(0,ee.z)(()=>wt,gt))}function Sn(wt,vt,gt=1/0){return(0,d.e)((St,Ht)=>{let Yt=vt;return(0,ge.p)(St,Ht,(Jt,yn)=>wt(Yt,Jt,yn),gt,Jt=>{Yt=Jt},!1,void 0,()=>Yt=null)})}function _n(...wt){return At(...wt)}function Mn(wt){return A((0,re.m)(wt)?(vt,gt)=>wt(vt,gt)<0?vt:gt:(vt,gt)=>vtwt;return(0,re.m)(vt)?tt(vt,{connector:gt}):St=>new xi.c(St,gt)}var Vi=a(3093);const bt=function xt(...wt){const vt=(0,H.k)(wt);return gt=>function Yi(...wt){const vt=(0,H.k)(wt);return new Ze.y(gt=>{let St=0;const Ht=()=>{if(St{let gt,St=!1;wt.subscribe((0,r.x)(vt,Ht=>{const Yt=gt;gt=Ht,St&&vt.next([Yt,Ht]),St=!0}))})}function qt(wt,vt){return(gt,St)=>!wt.call(vt,gt,St)}function nn(wt,vt){return gt=>[(0,Dt.h)(wt,vt)(gt),(0,Dt.h)(qt(wt,vt))(gt)]}function cn(...wt){const vt=wt.length;if(0===vt)throw new Error("list of properties cannot be empty.");return(0,Gt.U)(gt=>{let St=gt;for(let Ht=0;Httt(wt)(vt):vt=>fi(new He.x)(vt)}var Nn=a(5619);function wn(wt){return vt=>{const gt=new Nn.X(wt);return new xi.c(vt,()=>gt)}}class Xn extends He.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(vt){const{hasError:gt,_hasValue:St,_value:Ht,thrownError:Yt,isStopped:Jt,_isComplete:yn}=this;gt?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:gt,_isComplete:St}=this;St||(this._isComplete=!0,vt&&super.next(gt),super.complete())}}function _i(){return wt=>{const vt=new Xn;return new xi.c(wt,()=>vt)}}var $n=a(7328);function ti(wt,vt,gt,St){gt&&!(0,re.m)(gt)&&(St=gt);const Ht=(0,re.m)(gt)?gt: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,gt)=>{(0,an.R)([vt,...wt])(gt)}):I.y}function Tn(...wt){return mn(...(0,H.k)(wt))}var Rn=a(9080);function Wn(wt){let gt,vt=1/0;return null!=wt&&("object"==typeof wt?({count:vt=1/0,delay:gt}=wt):vt=wt),vt<=0?()=>Le.E:(0,d.e)((St,Ht)=>{let Jt,Yt=0;const yn=()=>{if(Jt?.unsubscribe(),Jt=null,null!=gt){const Vn="number"==typeof gt?(0,Rn.H)(gt):(0,f.Xf)(gt(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&&(gt.complete(),!0),On=()=>{yn=!1,St=vt.subscribe((0,r.x)(gt,void 0,()=>{yn=!0,!vn()&&(Yt||(Yt=new He.x,(0,f.Xf)(wt(Yt)).subscribe((0,r.x)(gt,()=>{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:gt=1/0,delay:St,resetOnSuccess:Ht=!1}=vt;return gt<=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,f.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,gt)=>{let St,Yt,Ht=!1;const Jt=()=>{St=vt.subscribe((0,r.x)(gt,void 0,void 0,yn=>{Yt||(Yt=new He.x,(0,f.Xf)(wt(Yt)).subscribe((0,r.x)(gt,()=>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,gt)=>{let St=!1,Ht=null;vt.subscribe((0,r.x)(gt,Yt=>{St=!0,Ht=Yt})),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{if(St){St=!1;const Yt=Ht;Ht=null,gt.next(Yt)}},g.Z))})}function Mt(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=((gt,St)=>gt===St)){return(0,d.e)((gt,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};gt.subscribe(yn(Ht,Yt)),(0,f.Xf)(wt).subscribe(yn(Yt,Ht))})}var me=a(3020),se=a(7081),Xe=a(6973);const kt=(0,Te.d)(wt=>function(gt){wt(this),this.name="SequenceError",this.message=gt}),Wt=(0,Te.d)(wt=>function(gt){wt(this),this.name="NotFoundError",this.message=gt});function un(wt){return(0,d.e)((vt,gt)=>{let Ht,St=!1,Yt=!1,Jt=0;vt.subscribe((0,r.x)(gt,yn=>{Yt=!0,(!wt||wt(yn,Jt++,vt))&&(St&>.error(new kt("Too many matching values")),St=!0,Ht=yn)},()=>{St?(gt.next(Ht),gt.complete()):gt.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,gt)=>{let St=new Array(wt),Ht=0;return vt.subscribe((0,r.x)(gt,Yt=>{const Jt=Ht++;if(Jt{St=null}})}function si(wt){return(0,d.e)((vt,gt)=>{let St=!1;const Ht=(0,r.x)(gt,()=>{Ht?.unsubscribe(),St=!0},g.Z);(0,f.Xf)(wt).subscribe(Ht),vt.subscribe((0,r.x)(gt,Yt=>St&>.next(Yt)))})}function jn(wt){return(0,d.e)((vt,gt)=>{let St=!1,Ht=0;vt.subscribe((0,r.x)(gt,Yt=>(St||(St=!wt(Yt,Ht++)))&>.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)((gt,St)=>{let Ht=vt;return(0,Ti.w)((Yt,Jt)=>wt(Ht,Yt,Jt),(Yt,Jt)=>(Ht=Jt,Jt))(gt).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)((gt,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,f.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)}};gt.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,gt){const St=(0,Rn.H)(wt,vt);return Ei(()=>St,gt)}function Ai(wt=p.z){return(0,d.e)((vt,gt)=>{let St=wt.now();vt.subscribe((0,r.x)(gt,Ht=>{const Yt=wt.now(),Jt=Yt-St;St=Yt,gt.next(new ar(Ht,Jt))}))})}class ar{constructor(vt,gt){this.value=vt,this.interval=gt}}var yi=a(5178),Je=a(93);function Ot(wt,vt,gt){let St,Ht,Yt;if(gt=gt??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:gt,with:Yt})}var C=a(4552);function te(wt=C.l){return(0,Gt.U)(vt=>({value:vt,timestamp:wt.now()}))}function Ne(wt){return(0,d.e)((vt,gt)=>{let St=new He.x;gt.next(St.asObservable());const Ht=Yt=>{St.error(Yt),gt.error(Yt)};return vt.subscribe((0,r.x)(gt,Yt=>St?.next(Yt),()=>{St.complete(),gt.complete()},Ht)),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{St.complete(),gt.next(St=new He.x)},g.Z,Ht)),()=>{St?.unsubscribe(),St=null}})}function ot(wt,vt=0){const gt=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%gt==0&&Yt.shift().complete(),++yn%gt==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 gt,St;const Ht=null!==(gt=(0,_.yG)(vt))&&void 0!==gt?gt: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)((gt,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,f.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)),gt.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),gt.error(yn)},Jt=()=>{let yn;Ht?.unsubscribe(),St?.complete(),St=new He.x,gt.next(St.asObservable());try{yn=(0,f.Xf)(wt())}catch(vn){return void Yt(vn)}yn.subscribe(Ht=(0,r.x)(gt,Jt,Jt,Yt))};Jt(),vt.subscribe((0,r.x)(gt,yn=>St.next(yn),()=>{St.complete(),gt.complete()},Yt,()=>{Ht?.unsubscribe(),St=null}))})}function Pi(...wt){const vt=(0,_.jO)(wt);return(0,d.e)((gt,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));gt.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,gt)=>{(0,Li.$)(vt,...wt).subscribe(gt)})}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:()=>_t,validate:()=>f,version:()=>Lt});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,f=function r(Le){return"string"==typeof Le&&g.test(Le)},h=[];for(let Le=0;Le<256;++Le)h.push((Le+256).toString(16).slice(1));function u(Le,lt=0){return(h[Le[lt+0]]+h[Le[lt+1]]+h[Le[lt+2]]+h[Le[lt+3]]+"-"+h[Le[lt+4]]+h[Le[lt+5]]+"-"+h[Le[lt+6]]+h[Le[lt+7]]+"-"+h[Le[lt+8]]+h[Le[lt+9]]+"-"+h[Le[lt+10]]+h[Le[lt+11]]+h[Le[lt+12]]+h[Le[lt+13]]+h[Le[lt+14]]+h[Le[lt+15]]).toLowerCase()}const b=function v(Le,lt=0){const ze=u(Le,lt);if(!f(ze))throw TypeError("Stringified UUID is invalid");return ze};let p,_,l=0,y=0;const D=function x(Le,lt,ze){let at=lt&&ze||0;const N=lt||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(),K=void 0!==Le.nsecs?Le.nsecs:y+1;const ce=ne-l+(K-y)/1e4;if(ce<0&&void 0===Le.clockseq&&(Y=Y+1&16383),(ce<0||ne>l)&&void 0===Le.nsecs&&(K=0),K>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=ne,y=K,_=Y,ne+=122192928e5;const Te=(1e4*(268435455&ne)+K)%4294967296;N[at++]=Te>>>24&255,N[at++]=Te>>>16&255,N[at++]=Te>>>8&255,N[at++]=255&Te;const et=ne/4294967296*1e4&268435455;N[at++]=et>>>8&255,N[at++]=255&et,N[at++]=et>>>24&15|16,N[at++]=et>>>16&255,N[at++]=Y>>>8|128,N[at++]=255&Y;for(let Dt=0;Dt<6;++Dt)N[at+Dt]=oe[Dt];return lt||u(N)},E=function S(Le){if(!f(Le))throw TypeError("Invalid UUID");let lt;const ze=new Uint8Array(16);return ze[0]=(lt=parseInt(Le.slice(0,8),16))>>>24,ze[1]=lt>>>16&255,ze[2]=lt>>>8&255,ze[3]=255<,ze[4]=(lt=parseInt(Le.slice(9,13),16))>>>8,ze[5]=255<,ze[6]=(lt=parseInt(Le.slice(14,18),16))>>>8,ze[7]=255<,ze[8]=(lt=parseInt(Le.slice(19,23),16))>>>8,ze[9]=255<,ze[10]=(lt=parseInt(Le.slice(24,36),16))/1099511627776&255,ze[11]=lt/4294967296&255,ze[12]=lt>>>24&255,ze[13]=lt>>>16&255,ze[14]=lt>>>8&255,ze[15]=255<,ze};function ee(Le,lt,ze){function at(N,oe,Y,ne){var K;if("string"==typeof N&&(N=function I(Le){Le=unescape(encodeURIComponent(Le));const lt=[];for(let ze=0;ze>>9<<4)+1}function Ae(Le,lt){const ze=(65535&Le)+(65535<);return(Le>>16)+(lt>>16)+(ze>>16)<<16|65535&ze}function H(Le,lt,ze,at,N,oe){return Ae(function de(Le,lt){return Le<>>32-lt}(Ae(Ae(lt,Le),Ae(at,oe)),N),ze)}function W(Le,lt,ze,at,N,oe,Y){return H(lt&ze|~lt&at,Le,lt,N,oe,Y)}function pe(Le,lt,ze,at,N,oe,Y){return H(lt&at|ze&~at,Le,lt,N,oe,Y)}function we(Le,lt,ze,at,N,oe,Y){return H(lt^ze^at,Le,lt,N,oe,Y)}function Ee(Le,lt,ze,at,N,oe,Y){return H(ze^(lt|~at),Le,lt,N,oe,Y)}const re=ee("v3",48,function ie(Le){if("string"==typeof Le){const lt=unescape(encodeURIComponent(Le));Le=new Uint8Array(lt.length);for(let ze=0;ze>5]>>>N%32&255,Y=parseInt(at.charAt(oe>>>4&15)+at.charAt(15&oe),16);lt.push(Y)}return lt}(function Ce(Le,lt){Le[lt>>5]|=128<>5]|=(255&Le[at/8])<>>32-lt}const _t=ee("v5",80,function tt(Le){const lt=[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=et,et=Te,Te=Ge(ce,30)>>>0,ce=K,K=Pe}ze[0]=ze[0]+K>>>0,ze[1]=ze[1]+ce>>>0,ze[2]=ze[2]+Te>>>0,ze[3]=ze[3]+et>>>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",Lt=function Tt(Le){if(!f(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:()=>de,__classPrivateFieldIn:()=>W,__classPrivateFieldSet:()=>H,__createBinding:()=>y,__decorate:()=>r,__disposeResources:()=>Ee,__esDecorate:()=>h,__exportStar:()=>x,__extends:()=>c,__generator:()=>l,__importDefault:()=>Ae,__importStar:()=>Re,__makeTemplateObject:()=>U,__metadata:()=>p,__param:()=>f,__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(ae,ve){ae.__proto__=ve}||function(ae,ve){for(var He in ve)Object.prototype.hasOwnProperty.call(ve,He)&&(ae[He]=ve[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 ae(){this.constructor=G}n(G,re),G.prototype=null===re?Object.create(re):(ae.prototype=re.prototype,new ae)}var d=function(){return d=Object.assign||function(re){for(var ae,ve=1,He=arguments.length;ve=0;Ge--)(Qe=G[Ge])&&(Ze=(He<3?Qe(Ze):He>3?Qe(re,ae,Ze):Qe(re,ae))||Ze);return He>3&&Ze&&Object.defineProperty(re,ae,Ze),Ze}function f(G,re){return function(ae,ve){re(ae,ve,G)}}function h(G,re,ae,ve,He,Ze){function Qe(ze){if(void 0!==ze&&"function"!=typeof ze)throw new TypeError("Function expected");return ze}for(var _t,Ge=ve.kind,tt="getter"===Ge?"get":"setter"===Ge?"set":"value",Ct=!re&&G?ve.static?G:G.prototype:null,Nt=re||(Ct?Object.getOwnPropertyDescriptor(Ct,ve.name):{}),Bt=!1,Tt=ae.length-1;Tt>=0;Tt--){var Lt={};for(var Le in ve)Lt[Le]="access"===Le?{}:ve[Le];for(var Le in ve.access)Lt.access[Le]=ve.access[Le];Lt.addInitializer=function(ze){if(Bt)throw new TypeError("Cannot add initializers after decoration has completed");Ze.push(Qe(ze||null))};var lt=(0,ae[Tt])("accessor"===Ge?{get:Nt.get,set:Nt.set}:Nt[tt],Lt);if("accessor"===Ge){if(void 0===lt)continue;if(null===lt||"object"!=typeof lt)throw new TypeError("Object expected");(_t=Qe(lt.get))&&(Nt.get=_t),(_t=Qe(lt.set))&&(Nt.set=_t),(_t=Qe(lt.init))&&He.unshift(_t)}else(_t=Qe(lt))&&("field"===Ge?He.unshift(_t):Nt[tt]=_t)}Ct&&Object.defineProperty(Ct,ve.name,Nt),Bt=!0}function u(G,re,ae){for(var ve=arguments.length>2,He=0;He0&&Ze[Ze.length-1])&&(6===Ct[0]||2===Ct[0])){ae=0;continue}if(3===Ct[0]&&(!Ze||Ct[1]>Ze[0]&&Ct[1]=G.length&&(G=void 0),{value:G&&G[ve++],done:!G}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(G,re){var ae="function"==typeof Symbol&&G[Symbol.iterator];if(!ae)return G;var He,Qe,ve=ae.call(G),Ze=[];try{for(;(void 0===re||re-- >0)&&!(He=ve.next()).done;)Ze.push(He.value)}catch(Ge){Qe={error:Ge}}finally{try{He&&!He.done&&(ae=ve.return)&&ae.call(ve)}finally{if(Qe)throw Qe.error}}return Ze}function E(){for(var G=[],re=0;re1||Ge(Bt,Tt)})})}function Ge(Bt,Tt){try{!function tt(Bt){Bt.value instanceof $?Promise.resolve(Bt.value.v).then(Ct,Nt):_t(Ze[0][2],Bt)}(ve[Bt](Tt))}catch(Lt){_t(Ze[0][3],Lt)}}function Ct(Bt){Ge("next",Bt)}function Nt(Bt){Ge("throw",Bt)}function _t(Bt,Tt){Bt(Tt),Ze.shift(),Ze.length&&Ge(Ze[0][0],Ze[0][1])}}function ie(G){var re,ae;return re={},ve("next"),ve("throw",function(He){throw He}),ve("return"),re[Symbol.iterator]=function(){return this},re;function ve(He,Ze){re[He]=G[He]?function(Qe){return(ae=!ae)?{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 ae,re=G[Symbol.asyncIterator];return re?re.call(G):(G=D(G),ae={},ve("next"),ve("throw"),ve("return"),ae[Symbol.asyncIterator]=function(){return this},ae);function ve(Ze){ae[Ze]=G[Ze]&&function(Qe){return new Promise(function(Ge,tt){!function He(Ze,Qe,Ge,tt){Promise.resolve(tt).then(function(Ct){Ze({value:Ct,done:Ge})},Qe)}(Ge,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 Ce=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 ae in G)"default"!==ae&&Object.prototype.hasOwnProperty.call(G,ae)&&y(re,G,ae);return Ce(re,G),re}function Ae(G){return G&&G.__esModule?G:{default:G}}function de(G,re,ae,ve){if("a"===ae&&!ve)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof re?G!==re||!ve:!re.has(G))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===ae?ve:"a"===ae?ve.call(G):ve?ve.value:re.get(G)}function H(G,re,ae,ve,He){if("m"===ve)throw new TypeError("Private method is not writable");if("a"===ve&&!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"===ve?He.call(G,ae):He?He.value=ae:re.set(G,ae),ae}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,ae){if(null!=re){if("object"!=typeof re&&"function"!=typeof re)throw new TypeError("Object expected.");var ve;if(ae){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ve=re[Symbol.asyncDispose]}if(void 0===ve){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ve=re[Symbol.dispose]}if("function"!=typeof ve)throw new TypeError("Object not disposable.");G.stack.push({value:re,dispose:ve,async:ae})}else ae&&G.stack.push({async:!0});return re}var we="function"==typeof SuppressedError?SuppressedError:function(G,re,ae){var ve=new Error(ae);return ve.name="SuppressedError",ve.error=G,ve.suppressed=re,ve};function Ee(G){function re(ve){G.error=G.hasError?new we(ve,G.error,"An error was suppressed during disposal."):ve,G.hasError=!0}return function ae(){for(;G.stack.length;){var ve=G.stack.pop();try{var He=ve.dispose&&ve.dispose.call(ve.value);if(ve.async)return Promise.resolve(He).then(ae,function(Ze){return re(Ze),ae()})}catch(Ze){re(Ze)}}if(G.hasError)throw G.error}()}const Be={__extends:c,__assign:d,__rest:g,__decorate:r,__param:f,__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:de,__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 Q=F[V],be=typeof Q;("object"===be||"function"===be)&&!Object.isFrozen(Q)&&B(Q)}),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 Q=Object.create(null);for(const be in F)Q[be]=F[be];return V.forEach(function(be){for(const dt in be)Q[dt]=be[dt]}),Q}const g=F=>!!F.scope;class f{constructor(V,Q){this.buffer="",this.classPrefix=Q.classPrefix,V.walk(this)}addText(V){this.buffer+=n(V)}openNode(V){if(!g(V))return;const Q=((F,{prefix:V})=>{if(F.startsWith("language:"))return F.replace("language:","language-");if(F.includes(".")){const Q=F.split(".");return[`${V}${Q.shift()}`,...Q.map((be,dt)=>`${be}${"_".repeat(dt+1)}`)].join(" ")}return`${V}${F}`})(V.scope,{prefix:this.classPrefix});this.span(Q)}closeNode(V){g(V)&&(this.buffer+="")}value(){return this.buffer}span(V){this.buffer+=``}}const h=(F={})=>{const V={children:[]};return Object.assign(V,F),V};class u{constructor(){this.rootNode=h(),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 Q=h({scope:V});this.add(Q),this.stack.push(Q)}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,Q){return"string"==typeof Q?V.addText(Q):Q.children&&(V.openNode(Q),Q.children.forEach(be=>this._walk(V,be)),V.closeNode(Q)),V}static _collapse(V){"string"!=typeof V&&V.children&&(V.children.every(Q=>"string"==typeof Q)?V.children=[V.children.join("")]:V.children.forEach(Q=>{u._collapse(Q)}))}}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,Q){const be=V.root;Q&&(be.scope=`language:${Q}`),this.add(be)}toHTML(){return new f(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(Q=>b(Q)).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(be=>b(be)).join("|")+")"}function S(F){return new RegExp(F.toString()+"|").exec("").length-1}const I=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function X(F,{joinWith:V}){let Q=0;return F.map(be=>{Q+=1;const dt=Q;let Rt=b(be),qe="";for(;Rt.length>0;){const nt=I.exec(Rt);if(!nt){qe+=Rt;break}qe+=Rt.substring(0,nt.index),Rt=Rt.substring(nt.index+nt[0].length),"\\"===nt[0][0]&&nt[1]?qe+="\\"+String(Number(nt[1])+dt):(qe+=nt[0],"("===nt[0]&&Q++)}return qe}).map(be=>`(${be})`).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+)?)",Ce="\\b(0b[01]+)",de={begin:"\\\\[\\s\\S]",relevance:0},H={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[de]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[de]},we=function(F,V,Q={}){const be=c({scope:"comment",begin:F,end:V,contains:[]},Q);be.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 dt=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 be.contains.push({begin:y(/[ ]+/,"(",dt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),be},Ee=we("//","$"),Be=we("/\\*","\\*/"),G=we("#","$");var Ct=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:Ce,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":(Q,be)=>{0!==Q.index&&be.ignoreMatch()}},F)},BACKSLASH_ESCAPE:de,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:Ce,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[de,{begin:/\[/,end:/\]/,relevance:0,contains:[de]}]}]},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,Q)=>{Q.data._beginMatch=V[1]},"on:end":(V,Q)=>{Q.data._beginMatch!==V[1]&&Q.ignoreMatch()}})}});function Nt(F,V){"."===F.input[F.index-1]&&V.ignoreMatch()}function _t(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=Nt,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 Lt(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 lt=(F,V)=>{if(!F.beforeMatch)return;if(F.starts)throw new Error("beforeMatch cannot be used with starts");const Q=Object.assign({},F);Object.keys(F).forEach(be=>{delete F[be]}),F.keywords=Q.keywords,F.begin=y(Q.beforeMatch,p(Q.begin)),F.starts={relevance:0,contains:[Object.assign(Q,{endsParent:!0})]},F.relevance=0,delete Q.beforeMatch},ze=["of","and","for","in","not","or","if","then","parent","list","value"],at="keyword";function N(F,V,Q=at){const be=Object.create(null);return"string"==typeof F?dt(Q,F.split(" ")):Array.isArray(F)?dt(Q,F):Object.keys(F).forEach(function(Rt){Object.assign(be,N(F[Rt],V,Rt))}),be;function dt(Rt,qe){V&&(qe=qe.map(nt=>nt.toLowerCase())),qe.forEach(function(nt){const Ve=nt.split("|");be[Ve[0]]=[Rt,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={},K=F=>{console.error(F)},ce=(F,...V)=>{console.log(`WARN: ${F}`,...V)},Te=(F,V)=>{ne[`${F}/${V}`]||(console.log(`Deprecated as of ${F}. ${V}`),ne[`${F}/${V}`]=!0)},et=new Error;function Dt(F,V,{key:Q}){let be=0;const dt=F[Q],Rt={},qe={};for(let nt=1;nt<=V.length;nt++)qe[nt+be]=dt[nt],Rt[nt+be]=!0,be+=S(V[nt-1]);F[Q]=qe,F[Q]._emit=Rt,F[Q]._multi=!0}function mt(F){(function Pe(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 _e(F){if(Array.isArray(F.begin)){if(F.skip||F.excludeBegin||F.returnBegin)throw K("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),et;if("object"!=typeof F.beginScope||null===F.beginScope)throw K("beginScope must be object"),et;Dt(F,F.begin,{key:"beginScope"}),F.begin=X(F.begin,{joinWith:""})}}(F),function ut(F){if(Array.isArray(F.end)){if(F.skip||F.excludeEnd||F.returnEnd)throw K("skip, excludeEnd, returnEnd not compatible with endScope: {}"),et;if("object"!=typeof F.endScope||null===F.endScope)throw K("endScope must be object"),et;Dt(F,F.end,{key:"endScope"}),F.end=X(F.end,{joinWith:""})}}(F)}function Pt(F){function V(qe,nt){return new RegExp(b(qe),"m"+(F.case_insensitive?"i":"")+(F.unicodeRegex?"u":"")+(nt?"g":""))}class Q{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(nt,Ve){Ve.position=this.position++,this.matchIndexes[this.matchAt]=Ve,this.regexes.push([Ve,nt]),this.matchAt+=S(nt)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const nt=this.regexes.map(Ve=>Ve[1]);this.matcherRe=V(X(nt,{joinWith:"|"}),!0),this.lastIndex=0}exec(nt){this.matcherRe.lastIndex=this.lastIndex;const Ve=this.matcherRe.exec(nt);if(!Ve)return null;const yt=Ve.findIndex((on,xn)=>xn>0&&void 0!==on),At=this.matchIndexes[yt];return Ve.splice(0,yt),Object.assign(Ve,At)}}class be{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(nt){if(this.multiRegexes[nt])return this.multiRegexes[nt];const Ve=new Q;return this.rules.slice(nt).forEach(([yt,At])=>Ve.addRule(yt,At)),Ve.compile(),this.multiRegexes[nt]=Ve,Ve}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(nt,Ve){this.rules.push([nt,Ve]),"begin"===Ve.type&&this.count++}exec(nt){const Ve=this.getMatcher(this.regexIndex);Ve.lastIndex=this.lastIndex;let yt=Ve.exec(nt);if(this.resumingScanAtSamePosition()&&(!yt||yt.index!==this.lastIndex)){const At=this.getMatcher(0);At.lastIndex=this.lastIndex+1,yt=At.exec(nt)}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 Rt(qe,nt){const Ve=qe;if(qe.isCompiled)return Ve;[_t,Lt,mt,lt].forEach(At=>At(qe,nt)),F.compilerExtensions.forEach(At=>At(qe,nt)),qe.__beforeBegin=null,[Bt,Tt,Le].forEach(At=>At(qe,nt)),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),nt&&(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&&nt.terminatorEnd&&(Ve.terminatorEnd+=(qe.end?"|":"")+nt.terminatorEnd)),qe.illegal&&(Ve.illegalRe=V(qe.illegal)),qe.contains||(qe.contains=[]),qe.contains=[].concat(...qe.contains.map(function(At){return function Gt(F){return F.variants&&!F.cachedVariants&&(F.cachedVariants=F.variants.map(function(V){return c(F,{variants:null},V)})),F.cachedVariants?F.cachedVariants:Ft(F)?c(F,{starts:F.starts?c(F.starts):null}):Object.isFrozen(F)?c(F):F}("self"===At?qe:At)})),qe.contains.forEach(function(At){Rt(At,Ve)}),qe.starts&&Rt(qe.starts,nt),Ve.matcher=function dt(qe){const nt=new be;return qe.contains.forEach(Ve=>nt.addRule(Ve.begin,{rule:Ve,type:"begin"})),qe.terminatorEnd&&nt.addRule(qe.terminatorEnd,{type:"end"}),qe.illegal&&nt.addRule(qe.illegal,{type:"illegal"}),nt}(Ve),Ve}(F)}function Ft(F){return!!F&&(F.endsWithParent||Ft(F.starts))}class Ke extends Error{constructor(V,Q){super(V),this.name="HTMLInjectionError",this.html=Q}}const he=n,ge=c,ct=Symbol("nomatch"),Ye=function(F){const V=Object.create(null),Q=Object.create(null),be=[];let dt=!0;const Rt="Could not find the language '{}', did you forget to load/include a language module?",qe={disableAutodetect:!0,name:"Plain text",contains:[]};let nt={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 nt.noHighlightRe.test(an)}function At(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 Mt(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 Q=F&&F.exec(V);return Q&&0===Q.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 ct;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&&Mt(En.starts,fn),ei.returnEnd?0:Cn.length}let Xe={};function kt(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),!dt){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)),Mt(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!==ct)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 K(Rt.replace("{}",an)),new Error('Unknown language: "'+an+'"');const un=Pt(Wt);let gn="",pn=Rn||un;const si={},jn=new nt.__emitter(nt);!function se(){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=kt(mn.substring(Ti,fn.index),fn);Ti=fn.index+tn}kt(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:he(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(dt)return{language:an,value:he(mn),illegal:!1,relevance:0,errorRaised:fn,_emitter:jn,_top:pn};throw fn}}function Sn(an,mn){mn=mn||nt.languages||Object.keys(V);const Tn=function xn(an){const mn={value:he(an),illegal:!1,relevance:0,_top:qe,_emitter:new nt.__emitter(nt)};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=nt.languageDetectRe.exec(mn);if(Tn){const Rn=cn(Tn[1]);return Rn||(ce(Rt.replace("{}",Tn[1])),ce("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&&(nt.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)),nt.throwUnescapedHTML))throw new Ke("One of your code blocks includes unescaped HTML.",an.innerHTML);mn=an;const Rn=mn.textContent,Wn=Tn?At(Rn,{language:Tn,ignoreIllegals:!0}):Sn(Rn);an.innerHTML=Wn.value,function _n(an,mn,Tn){const Rn=mn&&Q[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 xt(){"loading"!==document.readyState?document.querySelectorAll(nt.cssSelector).forEach(Mn):Yi=!0}function cn(an){return an=(an||"").toLowerCase(),V[an]||V[Q[an]]}function sn(an,{languageName:mn}){"string"==typeof an&&(an=[an]),an.forEach(Tn=>{Q[Tn.toLowerCase()]=mn})}function Nn(an){const mn=cn(an);return mn&&!mn.disableAutodetect}function $n(an,mn){const Tn=an;be.forEach(function(Rn){Rn[Tn]&&Rn[Tn](mn)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function bt(){Yi&&xt()},!1),Object.assign(F,{highlight:At,highlightAuto:Sn,highlightAll:xt,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){nt=ge(nt,an)},initHighlighting:()=>{xt(),Te("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function Vi(){xt(),Te("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function pt(an,mn){let Tn=null;try{Tn=mn(F)}catch(Rn){if(K("Language definition for '{}' could not be registered.".replace("{}",an)),!dt)throw Rn;K(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(Q))Q[mn]===an&&delete Q[mn]},listLanguages:function nn(){return Object.keys(V)},getLanguage:cn,registerAliases:sn,autoDetection:Nn,inherit:ge,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),be.push(an)},removePlugin:function _i(an){const mn=be.indexOf(an);-1!==mn&&be.splice(mn,1)}}),F.debugMode=function(){dt=!1},F.safeMode=function(){dt=!0},F.versionString="11.8.0",F.regex={concat:y,lookahead:p,either:D,optional:l,anyNumberOfTimes:_};for(const an in Ct)"object"==typeof Ct[an]&&B(Ct[an]);return Object.assign(F,Ct),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/}]},f=a.inherit(r,{begin:/\(/,end:/\)/}),h=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,h,f,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,f,u,h]}]}]},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,f,h){try{var u=n[f](h),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 f=n.apply(c,d);function h(v){B(f,g,r,h,u,"next",v)}function u(v){B(f,g,r,h,u,"throw",v)}h(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 f=r.call(d,g||"default");if("object"!==n(f))return f;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:()=>f,vP:()=>h});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 f(X,$=null){return{type:3,steps:X,options:$}}function h(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(Ce=>{Ce.onDone(()=>{++ee==U&&this._onFinish()}),Ce.onDestroy(()=>{++ie==U&&this._onDestroy()}),Ce.onStart(()=>{++A==U&&this._onStart()})}),this.totalTime=this.players.reduce((Ce,Re)=>Math.max(Ce,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:()=>mt,X6:()=>oe,Zf:()=>$,iD:()=>ee,kH:()=>Ke,mK:()=>Lt,qm:()=>Me,rt:()=>Ye,s1:()=>pe,tE:()=>Oe,yG:()=>Y});var n=a(6814),c=a(5879),d=a(2831),g=a(8645),r=a(7394),f=a(5619),h=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 Q=ie(De,F);Q.some(be=>be.trim()==V.trim())||(Q.push(V.trim()),De.setAttribute(F,Q.join(X)))}function ee(De,F,V){const be=ie(De,F).filter(dt=>dt!=V.trim());be.length?De.setAttribute(F,be.join(X)):De.removeAttribute(F)}function ie(De,F){return(De.getAttribute(F)||"").match(/\S+/g)||[]}const U="cdk-describedby-message",Ce="cdk-describedby-host";let Re=0,Ae=(()=>{class De{constructor(V,Q){this._platform=Q,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Re++,this._document=V,this._id=(0,c.inject)(c.APP_ID)+"-"+Re++}describe(V,Q,be){if(!this._canBeDescribed(V,Q))return;const dt=de(Q,be);"string"!=typeof Q?(H(Q,this._id),this._messageRegistry.set(dt,{messageElement:Q,referenceCount:0})):this._messageRegistry.has(dt)||this._createMessageElement(Q,be),this._isElementDescribedByMessage(V,dt)||this._addMessageReference(V,dt)}removeDescription(V,Q,be){if(!Q||!this._isElementNode(V))return;const dt=de(Q,be);if(this._isElementDescribedByMessage(V,dt)&&this._removeMessageReference(V,dt),"string"==typeof Q){const Rt=this._messageRegistry.get(dt);Rt&&0===Rt.referenceCount&&this._deleteMessageElement(dt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const V=this._document.querySelectorAll(`[${Ce}="${this._id}"]`);for(let Q=0;Q0!=be.indexOf(U));V.setAttribute("aria-describedby",Q.join(" "))}_addMessageReference(V,Q){const be=this._messageRegistry.get(Q);$(V,"aria-describedby",be.messageElement.id),V.setAttribute(Ce,this._id),be.referenceCount++}_removeMessageReference(V,Q){const be=this._messageRegistry.get(Q);be.referenceCount--,ee(V,"aria-describedby",be.messageElement.id),V.removeAttribute(Ce)}_isElementDescribedByMessage(V,Q){const be=ie(V,"aria-describedby"),dt=this._messageRegistry.get(Q),Rt=dt&&dt.messageElement.id;return!!Rt&&-1!=be.indexOf(Rt)}_canBeDescribed(V,Q){if(!this._isElementNode(V))return!1;if(Q&&"object"==typeof Q)return!0;const be=null==Q?"":`${Q}`.trim(),dt=V.getAttribute("aria-label");return!(!be||dt&&dt.trim()===be)}_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 de(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 be=V.toArray().indexOf(this._activeItem);be>-1&&be!==this._activeItemIndex&&(this._activeItemIndex=be)}}))}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 Q=this._getItemsArray();for(let be=1;be!F[dt]||this._allowedModifierKeys.indexOf(dt)>-1);switch(V){case u.Mf:return void this.tabOut.next();case u.JH:if(this._vertical&&be){this.setNextItemActive();break}return;case u.LH:if(this._vertical&&be){this.setPreviousItemActive();break}return;case u.SV:if(this._horizontal&&be){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case u.oh:if(this._horizontal&&be){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case u.Sd:if(this._homeAndEnd&&be){this.setFirstItemActive();break}return;case u.uR:if(this._homeAndEnd&&be){this.setLastItemActive();break}return;case u.Ku:if(this._pageUpAndDown.enabled&&be){const dt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(dt>0?dt:0,1);break}return;case u.VM:if(this._pageUpAndDown.enabled&&be){const dt=this._activeItemIndex+this._pageUpAndDown.delta,Rt=this._getItemsArray().length;this._setActiveItemByIndex(dt=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(),Q="number"==typeof F?F:V.indexOf(F);this._activeItem=V[Q]??null,this._activeItemIndex=Q}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 Q=1;Q<=V.length;Q++){const be=(this._activeItemIndex+F*Q+V.length)%V.length;if(!this._skipPredicateFn(V[be]))return void this.setActiveItem(be)}}_setActiveInDefaultMode(F){this._setActiveItemByIndex(this._activeItemIndex+F,F)}_setActiveItemByIndex(F,V){const Q=this._getItemsArray();if(Q[F]){for(;this._skipPredicateFn(Q[F]);)if(!Q[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 Q=function G(De){try{return De.frameElement}catch{return null}}(function _t(De){return De.ownerDocument&&De.ownerDocument.defaultView||window}(V));if(Q&&(-1===tt(Q)||!this.isVisible(Q)))return!1;let be=V.nodeName.toLowerCase(),dt=tt(V);return V.hasAttribute("contenteditable")?-1!==dt:!("iframe"===be||"object"===be||this._platform.WEBKIT&&this._platform.IOS&&!function Ct(De){let F=De.nodeName.toLowerCase(),V="input"===F&&De.type;return"text"===V||"password"===V||"select"===F||"textarea"===F}(V))&&("audio"===be?!!V.hasAttribute("controls")&&-1!==dt:"video"===be?-1!==dt&&(null!==dt||this._platform.FIREFOX||V.hasAttribute("controls")):V.tabIndex>=0)}isFocusable(V,Q){return function Nt(De){return!function ve(De){return function Ze(De){return"input"==De.nodeName.toLowerCase()}(De)&&"hidden"==De.type}(De)&&(function ae(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")||Ge(De))}(V)&&!this.isDisabled(V)&&(Q?.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 Ge(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(!Ge(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,Q,be,dt=!1){this._element=F,this._checker=V,this._ngZone=Q,this._document=be,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,dt||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 Q=this._getFirstTabbableElement(V);return Q?.focus(F),!!Q}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 Q=0;Q=0;Q--){const be=V[Q].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(V[Q]):null;if(be)return be}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,Q,be){this._checker=V,this._ngZone=Q,this._document=be}create(V,Q=!1){return new Bt(V,this._checker,this._ngZone,this._document,Q)}}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})(),Lt=(()=>{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,Q,be){this._elementRef=V,this._focusTrapFactory=Q,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 Q=V.autoCapture;Q&&!Q.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"),K={ignoreKeys:[u.zL,u.jx,u.b2,u.MW,u.JU]},Te=(0,d.i$)({passive:!0,capture:!0});let et=(()=>{class De{get mostRecentModality(){return this._modality.value}constructor(V,Q,be,dt){this._platform=V,this._mostRecentTarget=null,this._modality=new f.X(null),this._lastTouchMs=0,this._onKeydown=Rt=>{this._options?.ignoreKeys?.some(qe=>qe===Rt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,d.sA)(Rt))},this._onMousedown=Rt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(oe(Rt)?"keyboard":"mouse"),this._mostRecentTarget=(0,d.sA)(Rt))},this._onTouchstart=Rt=>{Y(Rt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,d.sA)(Rt))},this._options={...K,...dt},this.modalityDetected=this._modality.pipe((0,y.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,x.x)()),V.isBrowser&&Q.runOutsideAngular(()=>{be.addEventListener("keydown",this._onKeydown,Te),be.addEventListener("mousedown",this._onMousedown,Te),be.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 _e(){return null}}),ut=new c.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Pe=0,mt=(()=>{class De{constructor(V,Q,be,dt){this._ngZone=Q,this._defaultOptions=dt,this._document=be,this._liveElement=V||this._createLiveElement()}announce(V,...Q){const be=this._defaultOptions;let dt,Rt;return 1===Q.length&&"number"==typeof Q[0]?Rt=Q[0]:[dt,Rt]=Q,this.clear(),clearTimeout(this._previousTimeout),dt||(dt=be&&be.politeness?be.politeness:"polite"),null==Rt&&be&&(Rt=be.duration),this._liveElement.setAttribute("aria-live",dt),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 Rt&&(this._previousTimeout=setTimeout(()=>this.clear(),Rt)),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",Q=this._document.getElementsByClassName(V),be=this._document.createElement("div");for(let dt=0;dt .cdk-overlay-container [aria-modal="true"]');for(let be=0;be{class De{constructor(V,Q,be,dt,Rt){this._ngZone=V,this._platform=Q,this._inputModalityDetector=be,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=dt,this._detectionMode=Rt?.detectionMode||0}monitor(V,Q=!1){const be=(0,S.fI)(V);if(!this._platform.isBrowser||1!==be.nodeType)return(0,h.of)();const dt=(0,d.kV)(be)||this._getDocument(),Rt=this._elementInfo.get(be);if(Rt)return Q&&(Rt.checkChildren=!0),Rt.subject;const qe={checkChildren:Q,subject:new g.x,rootNode:dt};return this._elementInfo.set(be,qe),this._registerGlobalListeners(qe),qe.subject}stopMonitoring(V){const Q=(0,S.fI)(V),be=this._elementInfo.get(Q);be&&(be.subject.complete(),this._setClasses(Q),this._elementInfo.delete(Q),this._removeGlobalListeners(be))}focusVia(V,Q,be){const dt=(0,S.fI)(V);dt===this._getDocument().activeElement?this._getClosestElementsInfo(dt).forEach(([qe,nt])=>this._originChanged(qe,Q,nt)):(this._setOrigin(Q),"function"==typeof dt.focus&&dt.focus(be))}ngOnDestroy(){this._elementInfo.forEach((V,Q)=>this.stopMonitoring(Q))}_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,Q){V.classList.toggle("cdk-focused",!!Q),V.classList.toggle("cdk-touch-focused","touch"===Q),V.classList.toggle("cdk-keyboard-focused","keyboard"===Q),V.classList.toggle("cdk-mouse-focused","mouse"===Q),V.classList.toggle("cdk-program-focused","program"===Q)}_setOrigin(V,Q=!1){this._ngZone.runOutsideAngular(()=>{this._origin=V,this._originFromTouchInteraction="touch"===V&&Q,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(V,Q){const be=this._elementInfo.get(Q),dt=(0,d.sA)(V);!be||!be.checkChildren&&Q!==dt||this._originChanged(Q,this._getFocusOrigin(dt),be)}_onBlur(V,Q){const be=this._elementInfo.get(Q);!be||be.checkChildren&&V.relatedTarget instanceof Node&&Q.contains(V.relatedTarget)||(this._setClasses(Q),this._emitOrigin(be,null))}_emitOrigin(V,Q){V.subject.observers.length&&this._ngZone.run(()=>V.subject.next(Q))}_registerGlobalListeners(V){if(!this._platform.isBrowser)return;const Q=V.rootNode,be=this._rootNodeFocusListenerCount.get(Q)||0;be||this._ngZone.runOutsideAngular(()=>{Q.addEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),Q.addEventListener("blur",this._rootNodeFocusAndBlurListener,Gt)}),this._rootNodeFocusListenerCount.set(Q,be+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,D.R)(this._stopInputModalityDetector)).subscribe(dt=>{this._setOrigin(dt,!0)}))}_removeGlobalListeners(V){const Q=V.rootNode;if(this._rootNodeFocusListenerCount.has(Q)){const be=this._rootNodeFocusListenerCount.get(Q);be>1?this._rootNodeFocusListenerCount.set(Q,be-1):(Q.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),Q.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Gt),this._rootNodeFocusListenerCount.delete(Q))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(V,Q,be){this._setClasses(V,Q),this._emitOrigin(be,Q),this._lastFocusOrigin=Q}_getClosestElementsInfo(V){const Q=[];return this._elementInfo.forEach((be,dt)=>{(dt===V||be.checkChildren&&dt.contains(V))&&Q.push([dt,be])}),Q}_isLastInteractionFromInputLabel(V){const{_mostRecentTarget:Q,mostRecentModality:be}=this._inputModalityDetector;if("mouse"!==be||!Q||Q===V||"INPUT"!==V.nodeName&&"TEXTAREA"!==V.nodeName||V.disabled)return!1;const dt=V.labels;if(dt)for(let Rt=0;Rt{class De{constructor(V,Q){this._elementRef=V,this._focusMonitor=Q,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(Q=>{this._focusOrigin=Q,this.cdkFocusChange.emit(Q)})}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(Oe))},De.\u0275dir=c.\u0275\u0275defineDirective({type:De,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),De})();const he="cdk-high-contrast-black-on-white",ge="cdk-high-contrast-white-on-black",ct="cdk-high-contrast-active";let Me=(()=>{class De{constructor(V,Q){this._platform=V,this._document=Q,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 Q=this._document.defaultView||window,be=Q&&Q.getComputedStyle?Q.getComputedStyle(V):null,dt=(be&&be.backgroundColor||"").replace(/ /g,"");switch(V.remove(),dt){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(ct,he,ge),this._hasCheckedHighContrastMode=!0;const Q=this.getHighContrastMode();1===Q?V.add(ct,he):2===Q&&V.add(ct,ge)}}}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(Me))},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:()=>h,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 h=(()=>{class b{constructor(_){this.value="ltr",this.change=new n.EventEmitter,_&&(this.value=function f(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:()=>f,Ig:()=>c,du:()=>u,fI:()=>h,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 f(v){return null==v?"":"string"==typeof v?v:`${v}px`}function h(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:()=>h});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 h{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:()=>ve,JH:()=>X,JU:()=>f,K5:()=>r,Ku:()=>l,LH:()=>E,L_:()=>_,MW:()=>ut,Mf:()=>d,SV:()=>I,Sd:()=>D,VM:()=>y,Vb:()=>ri,Z:()=>_e,ZH:()=>c,aO:()=>Ee,b2:()=>wi,hY:()=>p,jx:()=>h,oh:()=>S,uR:()=>x,xE:()=>U,zL:()=>u});const c=8,d=9,r=13,f=16,h=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,ve=65,_e=90,ut=91,wi=224;function ri(ai,...Ni){return Ni.length?Ni.some(Mt=>ai[Mt]):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),f=a(5592),h=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,Ce){this._platform=U,this._nonce=Ce,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,Ce){this._mediaMatcher=U,this._zone=Ce,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(de=>this._registerQuery(de).observable);let Ae=(0,g.a)(Re);return Ae=(0,r.z)(Ae.pipe((0,h.q)(1)),Ae.pipe((0,u.T)(1),(0,v.b)(0))),Ae.pipe((0,b.U)(de=>{const H={matches:!1,breakpoints:{}};return de.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 Ce=this._mediaMatcher.matchMedia(U),Ae={observable:new f.y(de=>{const H=W=>this._zone.run(()=>de.next(W));return Ce.addListener(H),()=>{Ce.removeListener(H)}}).pipe((0,p.O)(Ce),(0,b.U)(({matches:de})=>({query:U,matches:de})),(0,_.R)(this._destroySubject)),mql:Ce};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 f=(()=>{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})(),h=(()=>{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(f))},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(h),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:[f]}),b})()},9594:(Ie,B,a)=>{"use strict";a.d(B,{U8:()=>N,X_:()=>U,_G:()=>ae,aV:()=>Bt,pI:()=>lt,xu:()=>Le});var n=a(6672),c=a(6814),d=a(5879),g=a(2495),r=a(2831),f=a(2181),h=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,K){this._viewportRuler=ne,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=K}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,ce=ne.style,Te=this._document.body.style,et=ce.scrollBehavior||"",Dt=Te.scrollBehavior||"";this._isEnabled=!1,ce.left=this._previousHTMLStyles.left,ce.top=this._previousHTMLStyles.top,ne.classList.remove("cdk-global-scrollblock"),D&&(ce.scrollBehavior=Te.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),D&&(ce.scrollBehavior=et,Te.scrollBehavior=Dt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const K=this._document.body,ce=this._viewportRuler.getViewportSize();return K.scrollHeight>ce.height||K.scrollWidth>ce.width}}class I{constructor(ne,K,ce,Te){this._scrollDispatcher=ne,this._ngZone=K,this._viewportRuler=ce,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,f.h)(K=>!K||!this._overlayRef.overlayElement.contains(K.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ne.subscribe(()=>{const K=this._viewportRuler.getViewportScrollPosition().top;Math.abs(K-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(K=>Y.bottomK.bottom||Y.rightK.right)}function ee(Y,ne){return ne.some(K=>Y.topK.bottom||Y.leftK.right)}class ie{constructor(ne,K,ce,Te){this._scrollDispatcher=ne,this._viewportRuler=K,this._ngZone=ce,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 K=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ce,height:Te}=this._viewportRuler.getViewportSize();$(K,[{width:ce,height:Te,bottom:Te,right:ce,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(K,ce,Te,et){this._scrollDispatcher=K,this._viewportRuler=ce,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=et}}return Y.\u0275fac=function(K){return new(K||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 K=Object.keys(ne);for(const ce of K)void 0!==ne[ce]&&(this[ce]=ne[ce])}}}class Ae{constructor(ne,K){this.connectionPair=ne,this.scrollableViewProperties=K}}let W=(()=>{class Y{constructor(K){this._attachedOverlays=[],this._document=K}ngOnDestroy(){this.detach()}add(K){this.remove(K),this._attachedOverlays.push(K)}remove(K){const ce=this._attachedOverlays.indexOf(K);ce>-1&&this._attachedOverlays.splice(ce,1),0===this._attachedOverlays.length&&this.detach()}}return Y.\u0275fac=function(K){return new(K||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(K,ce){super(K),this._ngZone=ce,this._keydownListener=Te=>{const et=this._attachedOverlays;for(let Dt=et.length-1;Dt>-1;Dt--)if(et[Dt]._keydownEvents.observers.length>0){const _e=et[Dt]._keydownEvents;this._ngZone?this._ngZone.run(()=>_e.next(Te)):_e.next(Te);break}}}add(K){super.add(K),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(K){return new(K||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(K,ce,Te){super(K),this._platform=ce,this._ngZone=Te,this._cursorStyleIsSet=!1,this._pointerDownListener=et=>{this._pointerDownEventTarget=(0,r.sA)(et)},this._clickListener=et=>{const Dt=(0,r.sA)(et),_e="click"===et.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Dt;this._pointerDownEventTarget=null;const ut=this._attachedOverlays.slice();for(let Pe=ut.length-1;Pe>-1;Pe--){const mt=ut[Pe];if(mt._outsidePointerEvents.observers.length<1||!mt.hasAttached())continue;if(mt.overlayElement.contains(Dt)||mt.overlayElement.contains(_e))break;const Pt=mt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Pt.next(et)):Pt.next(et)}}}add(K){if(super.add(K),!this._isAttached){const ce=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ce)):this._addEventListeners(ce),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ce.style.cursor,ce.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const K=this._document.body;K.removeEventListener("pointerdown",this._pointerDownListener,!0),K.removeEventListener("click",this._clickListener,!0),K.removeEventListener("auxclick",this._clickListener,!0),K.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(K.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(K){K.addEventListener("pointerdown",this._pointerDownListener,!0),K.addEventListener("click",this._clickListener,!0),K.addEventListener("auxclick",this._clickListener,!0),K.addEventListener("contextmenu",this._clickListener,!0)}}return Y.\u0275fac=function(K){return new(K||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(K,ce){this._platform=ce,this._document=K}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const K="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const Te=this._document.querySelectorAll(`.${K}[platform="server"], .${K}[platform="test"]`);for(let et=0;etthis._backdropClick.next(Pt),this._backdropTransitionendHandler=Pt=>{this._disposeBackdrop(Pt.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 K=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,h.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 K?.onDestroy&&K.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),K}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,K,ce){const Te=(0,g.Eq)(K||[]).filter(et=>!!et);Te.length&&(ce?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 ae{get positions(){return this._preferredPositions}constructor(ne,K,ce,Te,et){this._viewportRuler=K,this._document=ce,this._platform=Te,this._overlayContainer=et,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,K=this._overlayRect,ce=this._viewportRect,Te=this._containerRect,et=[];let Dt;for(let _e of this._preferredPositions){let ut=this._getOriginPoint(ne,Te,_e),Pe=this._getOverlayPoint(ut,K,_e),mt=this._getOverlayFit(Pe,K,ce,_e);if(mt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(_e,ut);this._canFitWithFlexibleDimensions(mt,Pe,ce)?et.push({position:_e,origin:ut,overlayRect:K,boundingBoxRect:this._calculateBoundingBoxRect(ut,_e)}):(!Dt||Dt.overlayFit.visibleAreaut&&(ut=mt,_e=Pe)}return this._isPushed=!1,void this._applyPosition(_e.position,_e.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&&ve(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 K=this._getOriginPoint(this._originRect,this._containerRect,ne);this._applyPosition(ne,K)}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,K,ce){let Te,et;if("center"==ce.originX)Te=ne.left+ne.width/2;else{const Dt=this._isRtl()?ne.right:ne.left,_e=this._isRtl()?ne.left:ne.right;Te="start"==ce.originX?Dt:_e}return K.left<0&&(Te-=K.left),et="center"==ce.originY?ne.top+ne.height/2:"top"==ce.originY?ne.top:ne.bottom,K.top<0&&(et-=K.top),{x:Te,y:et}}_getOverlayPoint(ne,K,ce){let Te,et;return Te="center"==ce.overlayX?-K.width/2:"start"===ce.overlayX?this._isRtl()?-K.width:0:this._isRtl()?0:-K.width,et="center"==ce.overlayY?-K.height/2:"top"==ce.overlayY?0:-K.height,{x:ne.x+Te,y:ne.y+et}}_getOverlayFit(ne,K,ce,Te){const et=Ze(K);let{x:Dt,y:_e}=ne,ut=this._getOffset(Te,"x"),Pe=this._getOffset(Te,"y");ut&&(Dt+=ut),Pe&&(_e+=Pe);let Ft=0-_e,Gt=_e+et.height-ce.height,Oe=this._subtractOverflows(et.width,0-Dt,Dt+et.width-ce.width),Ke=this._subtractOverflows(et.height,Ft,Gt),he=Oe*Ke;return{visibleArea:he,isCompletelyWithinViewport:et.width*et.height===he,fitsInViewportVertically:Ke===et.height,fitsInViewportHorizontally:Oe==et.width}}_canFitWithFlexibleDimensions(ne,K,ce){if(this._hasFlexibleDimensions){const Te=ce.bottom-K.y,et=ce.right-K.x,Dt=He(this._overlayRef.getConfig().minHeight),_e=He(this._overlayRef.getConfig().minWidth);return(ne.fitsInViewportVertically||null!=Dt&&Dt<=Te)&&(ne.fitsInViewportHorizontally||null!=_e&&_e<=et)}return!1}_pushOverlayOnScreen(ne,K,ce){if(this._previousPushAmount&&this._positionLocked)return{x:ne.x+this._previousPushAmount.x,y:ne.y+this._previousPushAmount.y};const Te=Ze(K),et=this._viewportRect,Dt=Math.max(ne.x+Te.width-et.width,0),_e=Math.max(ne.y+Te.height-et.height,0),ut=Math.max(et.top-ce.top-ne.y,0),Pe=Math.max(et.left-ce.left-ne.x,0);let mt=0,Pt=0;return mt=Te.width<=et.width?Pe||-Dt:ne.xOe&&!this._isInitialRender&&!this._growAfterOpen&&(Dt=ne.y-Oe/2)}if("end"===K.overlayX&&!Te||"start"===K.overlayX&&Te)Ft=ce.width-ne.x+this._viewportMargin,mt=ne.x-this._viewportMargin;else if("start"===K.overlayX&&!Te||"end"===K.overlayX&&Te)Pt=ne.x,mt=ce.right-ne.x;else{const Gt=Math.min(ce.right-ne.x+ce.left,ne.x),Oe=this._lastBoundingBoxSize.width;mt=2*Gt,Pt=ne.x-Gt,mt>Oe&&!this._isInitialRender&&!this._growAfterOpen&&(Pt=ne.x-Oe/2)}return{top:Dt,left:Pt,bottom:_e,right:Ft,width:mt,height:et}}_setBoundingBoxStyles(ne,K){const ce=this._calculateBoundingBoxRect(ne,K);!this._isInitialRender&&!this._growAfterOpen&&(ce.height=Math.min(ce.height,this._lastBoundingBoxSize.height),ce.width=Math.min(ce.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 et=this._overlayRef.getConfig().maxHeight,Dt=this._overlayRef.getConfig().maxWidth;Te.height=(0,g.HM)(ce.height),Te.top=(0,g.HM)(ce.top),Te.bottom=(0,g.HM)(ce.bottom),Te.width=(0,g.HM)(ce.width),Te.left=(0,g.HM)(ce.left),Te.right=(0,g.HM)(ce.right),Te.alignItems="center"===K.overlayX?"center":"end"===K.overlayX?"flex-end":"flex-start",Te.justifyContent="center"===K.overlayY?"center":"bottom"===K.overlayY?"flex-end":"flex-start",et&&(Te.maxHeight=(0,g.HM)(et)),Dt&&(Te.maxWidth=(0,g.HM)(Dt))}this._lastBoundingBoxSize=ce,ve(this._boundingBox.style,Te)}_resetBoundingBoxStyles(){ve(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ve(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ne,K){const ce={},Te=this._hasExactPosition(),et=this._hasFlexibleDimensions,Dt=this._overlayRef.getConfig();if(Te){const mt=this._viewportRuler.getViewportScrollPosition();ve(ce,this._getExactOverlayY(K,ne,mt)),ve(ce,this._getExactOverlayX(K,ne,mt))}else ce.position="static";let _e="",ut=this._getOffset(K,"x"),Pe=this._getOffset(K,"y");ut&&(_e+=`translateX(${ut}px) `),Pe&&(_e+=`translateY(${Pe}px)`),ce.transform=_e.trim(),Dt.maxHeight&&(Te?ce.maxHeight=(0,g.HM)(Dt.maxHeight):et&&(ce.maxHeight="")),Dt.maxWidth&&(Te?ce.maxWidth=(0,g.HM)(Dt.maxWidth):et&&(ce.maxWidth="")),ve(this._pane.style,ce)}_getExactOverlayY(ne,K,ce){let Te={top:"",bottom:""},et=this._getOverlayPoint(K,this._overlayRect,ne);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,ce)),"bottom"===ne.overlayY?Te.bottom=this._document.documentElement.clientHeight-(et.y+this._overlayRect.height)+"px":Te.top=(0,g.HM)(et.y),Te}_getExactOverlayX(ne,K,ce){let Dt,Te={left:"",right:""},et=this._getOverlayPoint(K,this._overlayRect,ne);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,ce)),Dt=this._isRtl()?"end"===ne.overlayX?"left":"right":"end"===ne.overlayX?"right":"left","right"===Dt?Te.right=this._document.documentElement.clientWidth-(et.x+this._overlayRect.width)+"px":Te.left=(0,g.HM)(et.x),Te}_getScrollVisibility(){const ne=this._getOriginRect(),K=this._pane.getBoundingClientRect(),ce=this._scrollables.map(Te=>Te.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ee(ne,ce),isOriginOutsideView:$(ne,ce),isOverlayClipped:ee(K,ce),isOverlayOutsideView:$(K,ce)}}_subtractOverflows(ne,...K){return K.reduce((ce,Te)=>ce-Math.max(Te,0),ne)}_getNarrowedViewportRect(){const ne=this._document.documentElement.clientWidth,K=this._document.documentElement.clientHeight,ce=this._viewportRuler.getViewportScrollPosition();return{top:ce.top+this._viewportMargin,left:ce.left+this._viewportMargin,right:ce.left+ne-this._viewportMargin,bottom:ce.top+K-this._viewportMargin,width:ne-2*this._viewportMargin,height:K-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ne,K){return"x"===K?null==ne.offsetX?this._offsetX:ne.offsetX:null==ne.offsetY?this._offsetY:ne.offsetY}_validatePositions(){}_addPanelClasses(ne){this._pane&&(0,g.Eq)(ne).forEach(K=>{""!==K&&-1===this._appliedPanelClasses.indexOf(K)&&(this._appliedPanelClasses.push(K),this._pane.classList.add(K))})}_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 K=ne.width||0,ce=ne.height||0;return{top:ne.y,bottom:ne.y+ce,left:ne.x,right:ne.x+K,height:ce,width:K}}}function ve(Y,ne){for(let K in ne)ne.hasOwnProperty(K)&&(Y[K]=ne[K]);return Y}function He(Y){if("number"!=typeof Y&&null!=Y){const[ne,K]=Y.split(re);return K&&"px"!==K?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 Ct{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ne){const K=ne.getConfig();this._overlayRef=ne,this._width&&!K.width&&ne.updateSize({width:this._width}),this._height&&!K.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,K=this._overlayRef.hostElement.style,ce=this._overlayRef.getConfig(),{width:Te,height:et,maxWidth:Dt,maxHeight:_e}=ce,ut=!("100%"!==Te&&"100vw"!==Te||Dt&&"100%"!==Dt&&"100vw"!==Dt),Pe=!("100%"!==et&&"100vh"!==et||_e&&"100%"!==_e&&"100vh"!==_e),mt=this._xPosition,Pt=this._xOffset,Ft="rtl"===this._overlayRef.getConfig().direction;let Gt="",Oe="",Ke="";ut?Ke="flex-start":"center"===mt?(Ke="center",Ft?Oe=Pt:Gt=Pt):Ft?"left"===mt||"end"===mt?(Ke="flex-end",Gt=Pt):("right"===mt||"start"===mt)&&(Ke="flex-start",Oe=Pt):"left"===mt||"start"===mt?(Ke="flex-start",Gt=Pt):("right"===mt||"end"===mt)&&(Ke="flex-end",Oe=Pt),ne.position=this._cssPosition,ne.marginLeft=ut?"0":Gt,ne.marginTop=Pe?"0":this._topOffset,ne.marginBottom=this._bottomOffset,ne.marginRight=ut?"0":Oe,K.justifyContent=Ke,K.alignItems=Pe?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ne=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement,ce=K.style;K.classList.remove(tt),ce.justifyContent=ce.alignItems=ne.marginTop=ne.marginBottom=ne.marginLeft=ne.marginRight=ne.position="",this._overlayRef=null,this._isDisposed=!0}}let Nt=(()=>{class Y{constructor(K,ce,Te,et){this._viewportRuler=K,this._document=ce,this._platform=Te,this._overlayContainer=et}global(){return new Ct}flexibleConnectedTo(K){return new ae(K,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Y.\u0275fac=function(K){return new(K||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})(),_t=0,Bt=(()=>{class Y{constructor(K,ce,Te,et,Dt,_e,ut,Pe,mt,Pt,Ft,Gt){this.scrollStrategies=K,this._overlayContainer=ce,this._componentFactoryResolver=Te,this._positionBuilder=et,this._keyboardDispatcher=Dt,this._injector=_e,this._ngZone=ut,this._document=Pe,this._directionality=mt,this._location=Pt,this._outsideClickDispatcher=Ft,this._animationsModuleType=Gt}create(K){const ce=this._createHostElement(),Te=this._createPaneElement(ce),et=this._createPortalOutlet(Te),Dt=new U(K);return Dt.direction=Dt.direction||this._directionality.value,new Be(et,ce,Te,Dt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(K){const ce=this._document.createElement("div");return ce.id="cdk-overlay-"+_t++,ce.classList.add("cdk-overlay-pane"),K.appendChild(ce),ce}_createHostElement(){const K=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(K),K}_createPortalOutlet(K){return this._appRef||(this._appRef=this._injector.get(d.ApplicationRef)),new p.u0(K,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Y.\u0275fac=function(K){return new(K||Y)(d.\u0275\u0275inject(A),d.\u0275\u0275inject(Ee),d.\u0275\u0275inject(d.ComponentFactoryResolver),d.\u0275\u0275inject(Nt),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"}],Lt=new d.InjectionToken("cdk-connected-overlay-scroll-strategy");let Le=(()=>{class Y{constructor(K){this.elementRef=K}}return Y.\u0275fac=function(K){return new(K||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})(),lt=(()=>{class Y{get offsetX(){return this._offsetX}set offsetX(K){this._offsetX=K,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(K){this._offsetY=K,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(K){this._hasBackdrop=(0,g.Ig)(K)}get lockPosition(){return this._lockPosition}set lockPosition(K){this._lockPosition=(0,g.Ig)(K)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(K){this._flexibleDimensions=(0,g.Ig)(K)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(K){this._growAfterOpen=(0,g.Ig)(K)}get push(){return this._push}set push(K){this._push=(0,g.Ig)(K)}constructor(K,ce,Te,et,Dt){this._overlay=K,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(ce,Te),this._scrollStrategyFactory=et,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(K){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),K.origin&&this.open&&this._position.apply()),K.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Tt);const K=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=K.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=K.detachments().subscribe(()=>this.detach.emit()),K.keydownEvents().subscribe(ce=>{this.overlayKeydown.next(ce),ce.keyCode===x.hY&&!this.disableClose&&!(0,x.Vb)(ce)&&(ce.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ce=>{this.overlayOutsideClick.next(ce)})}_buildConfig(){const K=this._position=this.positionStrategy||this._createPositionStrategy(),ce=new U({direction:this._dir,positionStrategy:K,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(ce.width=this.width),(this.height||0===this.height)&&(ce.height=this.height),(this.minWidth||0===this.minWidth)&&(ce.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ce.minHeight=this.minHeight),this.backdropClass&&(ce.backdropClass=this.backdropClass),this.panelClass&&(ce.panelClass=this.panelClass),ce}_updatePositionStrategy(K){const ce=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 K.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ce).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const K=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(K),K}_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(K=>{this.backdropClick.emit(K)}):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(K=>{this.positionChange.emit(K),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Y.\u0275fac=function(K){return new(K||Y)(d.\u0275\u0275directiveInject(Bt),d.\u0275\u0275directiveInject(d.TemplateRef),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(Lt),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:Lt,deps:[Bt],useFactory:function ze(Y){return()=>Y.scrollStrategies.reposition()}};let N=(()=>{class Y{}return Y.\u0275fac=function(K){return new(K||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 f,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 h=["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(f)return f;if("object"!=typeof document||!document)return f=new Set(h),f;let ee=document.createElement("input");return f=new Set(h.filter(ie=>(ee.setAttribute("type",ie),ee.type===ie))),f}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,Ce,Re,Ae){super(),this.component=A,this.viewContainerRef=U,this.injector=Ce,this.componentFactoryResolver=Re,this.projectableNodes=Ae}}class p extends v{constructor(A,U,Ce,Re){super(),this.templateRef=A,this.viewContainerRef=U,this.context=Ce,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,Ce,Re,Ae){super(),this.outletElement=A,this._componentFactoryResolver=U,this._appRef=Ce,this._defaultInjector=Re,this.attachDomPortal=de=>{const H=de.element,W=this._document.createComment("dom-portal");H.parentNode.insertBefore(W,H),this.outletElement.appendChild(H),this._attachedPortal=de,super.setDisposeFn(()=>{W.parentNode&&W.parentNode.replaceChild(H,W)})},this._document=Ae}attachComponentPortal(A){const Ce=(A.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(A.component);let Re;return A.viewContainerRef?(Re=A.viewContainerRef.createComponent(Ce,A.viewContainerRef.length,A.injector||A.viewContainerRef.injector,A.projectableNodes||void 0),this.setDisposeFn(()=>Re.destroy())):(Re=Ce.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,Ce=U.createEmbeddedView(A.templateRef,A.context,{injector:A.injector});return Ce.rootNodes.forEach(Re=>this.outletElement.appendChild(Re)),Ce.detectChanges(),this.setDisposeFn(()=>{let Re=U.indexOf(Ce);-1!==Re&&U.remove(Re)}),this._attachedPortal=A,Ce}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(A){return A.hostView.rootNodes[0]}}let S=(()=>{class ie extends p{constructor(U,Ce){super(U,Ce)}}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,Ce,Re){super(),this._componentFactoryResolver=U,this._viewContainerRef=Ce,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=Ae=>{const de=Ae.element,H=this._document.createComment("dom-portal");Ae.setAttachedHost(this),de.parentNode.insertBefore(H,de),this._getRootNode().appendChild(de),this._attachedPortal=Ae,super.setDisposeFn(()=>{H.parentNode&&H.parentNode.replaceChild(de,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 Ce=null!=U.viewContainerRef?U.viewContainerRef:this._viewContainerRef,Ae=(U.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(U.component),de=Ce.createComponent(Ae,Ce.length,U.injector||Ce.injector,U.projectableNodes||void 0);return Ce!==this._viewContainerRef&&this._getRootNode().appendChild(de.hostView.rootNodes[0]),super.setDisposeFn(()=>de.destroy()),this._attachedPortal=U,this._attachedRef=de,this.attached.emit(de),de}attachTemplatePortal(U){U.setAttachedHost(this);const Ce=this._viewContainerRef.createEmbeddedView(U.templateRef,U.context,{injector:U.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=U,this._attachedRef=Ce,this.attached.emit(Ce),Ce}_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),f=a(2438),v=(a(927),a(6410),a(8672)),b=a(2181),p=a(2831),_=a(6814),l=a(9388);let $=(()=>{class G{constructor(ae,ve,He){this._ngZone=ae,this._platform=ve,this._scrolled=new d.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=He}register(ae){this.scrollContainers.has(ae)||this.scrollContainers.set(ae,ae.elementScrolled().subscribe(()=>this._scrolled.next(ae)))}deregister(ae){const ve=this.scrollContainers.get(ae);ve&&(ve.unsubscribe(),this.scrollContainers.delete(ae))}scrolled(ae=20){return this._platform.isBrowser?new r.y(ve=>{this._globalSubscription||this._addGlobalListener();const He=ae>0?this._scrolled.pipe((0,v.e)(ae)).subscribe(ve):this._scrolled.subscribe(ve);return this._scrolledCount++,()=>{He.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,g.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ae,ve)=>this.deregister(ve)),this._scrolled.complete()}ancestorScrolled(ae,ve){const He=this.getAncestorScrollContainers(ae);return this.scrolled(ve).pipe((0,b.h)(Ze=>!Ze||He.indexOf(Ze)>-1))}getAncestorScrollContainers(ae){const ve=[];return this.scrollContainers.forEach((He,Ze)=>{this._scrollableContainsElement(Ze,ae)&&ve.push(Ze)}),ve}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ae,ve){let He=(0,n.fI)(ve),Ze=ae.getElementRef().nativeElement;do{if(He==Ze)return!0}while(He=He.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ae=this._getWindow();return(0,f.R)(ae.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return G.\u0275fac=function(ae){return new(ae||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(ae,ve,He){this._platform=ae,this._change=new d.x,this._changeListener=Ze=>{this._change.next(Ze)},this._document=He,ve.runOutsideAngular(()=>{if(ae.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 ae=this._getWindow();ae.removeEventListener("resize",this._changeListener),ae.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ae={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ae}getViewportRect(){const ae=this.getViewportScrollPosition(),{width:ve,height:He}=this.getViewportSize();return{top:ae.top,left:ae.left,bottom:ae.top+He,right:ae.left+ve,height:He,width:ve}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ae=this._document,ve=this._getWindow(),He=ae.documentElement,Ze=He.getBoundingClientRect();return{top:-Ze.top||ae.body.scrollTop||ve.scrollY||He.scrollTop||0,left:-Ze.left||ae.body.scrollLeft||ve.scrollX||He.scrollLeft||0}}change(ae=20){return ae>0?this._change.pipe((0,v.e)(ae)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ae=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ae.innerWidth,height:ae.innerHeight}:{width:0,height:0}}}return G.\u0275fac=function(ae){return new(ae||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(ae){return new(ae||G)},G.\u0275mod=c.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=c.\u0275\u0275defineInjector({}),G})(),Be=(()=>{class G{}return G.\u0275fac=function(ae){return new(ae||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:()=>h});var n=a(2831),c=a(5879),d=a(2495),g=a(6232),r=a(8645);const f=(0,n.i$)({passive:!0});let h=(()=>{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,f),y.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(y,{subject:D,unlisten:()=>{y.removeEventListener("animationstart",E,f)}}),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:()=>f,DatePipe:()=>En,DecimalPipe:()=>Ot,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:()=>se,NgStyle:()=>Xe,NgSwitch:()=>Mt,NgSwitchCase:()=>jt,NgSwitchDefault:()=>ke,NgTemplateOutlet:()=>kt,NumberFormatStyle:()=>ie,NumberSymbol:()=>Ae,PRECONNECT_CHECK_BLOCKLIST:()=>bo,PathLocationStrategy:()=>x,PercentPipe:()=>C,PlatformLocation:()=>h,Plural:()=>A,SlicePipe:()=>Zt,TitleCasePipe:()=>Fi,TranslationWidth:()=>Ce,UpperCasePipe:()=>Gi,VERSION:()=>St,ViewportScroller:()=>Ht,WeekDay:()=>de,XhrFactory:()=>Vn,formatCurrency:()=>Vi,formatDate:()=>et,formatNumber:()=>xt,formatPercent:()=>Yi,getCurrencySymbol:()=>ze,getLocaleCurrencyCode:()=>tt,getLocaleCurrencyName:()=>Ge,getLocaleCurrencySymbol:()=>Qe,getLocaleDateFormat:()=>re,getLocaleDateTimeFormat:()=>ve,getLocaleDayNames:()=>pe,getLocaleDayPeriods:()=>W,getLocaleDirection:()=>Lt,getLocaleEraNames:()=>Ee,getLocaleExtraDayPeriodRules:()=>Bt,getLocaleExtraDayPeriods:()=>Tt,getLocaleFirstDayOfWeek:()=>Be,getLocaleId:()=>H,getLocaleMonthNames:()=>we,getLocaleNumberFormat:()=>Ze,getLocaleNumberSymbol:()=>He,getLocalePluralCase:()=>Nt,getLocaleTimeFormat:()=>ae,getLocaleWeekEndRange:()=>G,getNumberOfCurrencyDigits:()=>N,isPlatformBrowser:()=>ir,isPlatformServer:()=>wt,isPlatformWorkerApp:()=>vt,isPlatformWorkerUi:()=>gt,provideCloudflareLoader:()=>Oo,provideCloudinaryLoader:()=>po,provideImageKitLoader:()=>go,provideImgixLoader:()=>We,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 f=new n.InjectionToken("DocumentToken");let h=(()=>{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 h{constructor(){super(),this._doc=(0,n.inject)(f),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)(f).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,$t){const Kt=this.prepareExternalUrl(ht+_($t));this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,$t){const Kt=this.prepareExternalUrl(ht+_($t));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(h),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,$t){let Kt=this.prepareExternalUrl(ht+_($t));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,$t){let Kt=this.prepareExternalUrl(ht+_($t));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(h),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||{}),Ce=function(L){return L[L.Narrow=0]="Narrow",L[L.Abbreviated=1]="Abbreviated",L[L.Wide=2]="Wide",L[L.Short=3]="Short",L}(Ce||{}),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||{}),de=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}(de||{});function H(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.LocaleId]}function W(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.DayPeriodsFormat],Ue[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],xe);return Le($t,Z)}function pe(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.DaysFormat],Ue[n.\u0275LocaleDataIndex.DaysStandalone]],xe);return Le($t,Z)}function we(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.MonthsFormat],Ue[n.\u0275LocaleDataIndex.MonthsStandalone]],xe);return Le($t,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 ae(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.TimeFormat],xe)}function ve(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 Ge(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.CurrencyName]||null}function tt(L){return(0,n.\u0275getLocaleCurrencyCode)(L)}const Nt=n.\u0275getLocalePluralCase;function _t(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 _t(xe),(xe[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Ue=>"string"==typeof Ue?lt(Ue):[lt(Ue[0]),lt(Ue[1])])}function Tt(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L);_t(Ue);const $t=Le([Ue[n.\u0275LocaleDataIndex.ExtraData][0],Ue[n.\u0275LocaleDataIndex.ExtraData][1]],xe)||[];return Le($t,Z)||[]}function Lt(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 lt(L){const[xe,Z]=L.split(":");return{hours:+xe,minutes:+Z}}function ze(L,xe,Z="en"){const Ue=function Ct(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 K=function(L){return L[L.Short=0]="Short",L[L.ShortGMT=1]="ShortGMT",L[L.Long=2]="Long",L[L.Extended=3]="Extended",L}(K||{}),ce=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}(ce||{}),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 et(L,xe,Z,Ue){let ht=function Rt(L){if(nt(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,$t=1,Kt=1]=L.split("-").map(Un=>+Un);return Dt(ht,$t-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,$t=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 $t.call(xe,Kt,Un,ki,Hi),xe}(Ue)}const xe=new Date(L);if(!nt(xe))throw new Error(`Unable to convert "${L}" into a date`);return xe}(L);xe=_e(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=Q(Ue,ki),ht=function dt(L,xe,Z){const Ue=Z?-1:1,ht=L.getTimezoneOffset();return function be(L,xe){return(L=new Date(L.getTime())).setMinutes(L.getMinutes()+xe),L}(L,Ue*(Q(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=Gt(Te.Eras,Ce.Abbreviated);break;case"GGGG":xe=Gt(Te.Eras,Ce.Wide);break;case"GGGGG":xe=Gt(Te.Eras,Ce.Narrow);break;case"y":xe=Pt(ce.FullYear,1,0,!1,!0);break;case"yy":xe=Pt(ce.FullYear,2,0,!0,!0);break;case"yyy":xe=Pt(ce.FullYear,3,0,!1,!0);break;case"yyyy":xe=Pt(ce.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=Pt(ce.Month,1,1);break;case"MM":case"LL":xe=Pt(ce.Month,2,1);break;case"MMM":xe=Gt(Te.Months,Ce.Abbreviated);break;case"MMMM":xe=Gt(Te.Months,Ce.Wide);break;case"MMMMM":xe=Gt(Te.Months,Ce.Narrow);break;case"LLL":xe=Gt(Te.Months,Ce.Abbreviated,U.Standalone);break;case"LLLL":xe=Gt(Te.Months,Ce.Wide,U.Standalone);break;case"LLLLL":xe=Gt(Te.Months,Ce.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=Pt(ce.Date,1);break;case"dd":xe=Pt(ce.Date,2);break;case"c":case"cc":xe=Pt(ce.Day,1);break;case"ccc":xe=Gt(Te.Days,Ce.Abbreviated,U.Standalone);break;case"cccc":xe=Gt(Te.Days,Ce.Wide,U.Standalone);break;case"ccccc":xe=Gt(Te.Days,Ce.Narrow,U.Standalone);break;case"cccccc":xe=Gt(Te.Days,Ce.Short,U.Standalone);break;case"E":case"EE":case"EEE":xe=Gt(Te.Days,Ce.Abbreviated);break;case"EEEE":xe=Gt(Te.Days,Ce.Wide);break;case"EEEEE":xe=Gt(Te.Days,Ce.Narrow);break;case"EEEEEE":xe=Gt(Te.Days,Ce.Short);break;case"a":case"aa":case"aaa":xe=Gt(Te.DayPeriods,Ce.Abbreviated);break;case"aaaa":xe=Gt(Te.DayPeriods,Ce.Wide);break;case"aaaaa":xe=Gt(Te.DayPeriods,Ce.Narrow);break;case"b":case"bb":case"bbb":xe=Gt(Te.DayPeriods,Ce.Abbreviated,U.Standalone,!0);break;case"bbbb":xe=Gt(Te.DayPeriods,Ce.Wide,U.Standalone,!0);break;case"bbbbb":xe=Gt(Te.DayPeriods,Ce.Narrow,U.Standalone,!0);break;case"B":case"BB":case"BBB":xe=Gt(Te.DayPeriods,Ce.Abbreviated,U.Format,!0);break;case"BBBB":xe=Gt(Te.DayPeriods,Ce.Wide,U.Format,!0);break;case"BBBBB":xe=Gt(Te.DayPeriods,Ce.Narrow,U.Format,!0);break;case"h":xe=Pt(ce.Hours,1,-12);break;case"hh":xe=Pt(ce.Hours,2,-12);break;case"H":xe=Pt(ce.Hours,1);break;case"HH":xe=Pt(ce.Hours,2);break;case"m":xe=Pt(ce.Minutes,1);break;case"mm":xe=Pt(ce.Minutes,2);break;case"s":xe=Pt(ce.Seconds,1);break;case"ss":xe=Pt(ce.Seconds,2);break;case"S":xe=Pt(ce.FractionalSeconds,1);break;case"SS":xe=Pt(ce.FractionalSeconds,2);break;case"SSS":xe=Pt(ce.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":xe=Ke(K.Short);break;case"ZZZZZ":xe=Ke(K.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":xe=Ke(K.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":xe=Ke(K.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 _e(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=ae(L,Re.Short);break;case"mediumTime":Ue=ae(L,Re.Medium);break;case"longTime":Ue=ae(L,Re.Long);break;case"fullTime":Ue=ae(L,Re.Full);break;case"short":const ht=_e(L,"shortTime"),$t=_e(L,"shortDate");Ue=ut(ve(L,Re.Short),[ht,$t]);break;case"medium":const Kt=_e(L,"mediumTime"),Un=_e(L,"mediumDate");Ue=ut(ve(L,Re.Medium),[Kt,Un]);break;case"long":const ki=_e(L,"longTime"),Hi=_e(L,"longDate");Ue=ut(ve(L,Re.Long),[ki,Hi]);break;case"full":const Ci=_e(L,"fullTime"),Jn=_e(L,"fullDate");Ue=ut(ve(L,Re.Full),[Ci,Jn])}return Ue&&(Y[Z][xe]=Ue),Ue}function ut(L,xe){return xe&&(L=L.replace(/\{([^}]+)}/g,function(Z,Ue){return null!=xe&&Ue in xe?xe[Ue]:Z})),L}function Pe(L,xe,Z="-",Ue,ht){let $t="";(L<0||ht&&L<=0)&&(ht?L=1-L:(L=-L,$t=Z));let Kt=String(L);for(;Kt.length0||Un>-Z)&&(Un+=Z),L===ce.Hours)0===Un&&-12===Z&&(Un=12);else if(L===ce.FractionalSeconds)return function mt(L,xe){return Pe(L,3).substring(0,xe)}(Un,xe);const ki=He(Kt,Ae.MinusSign);return Pe(Un,xe,ki,Ue,ht)}}function Gt(L,xe,Z=U.Format,Ue=!1){return function(ht,$t){return function Oe(L,xe,Z,Ue,ht,$t){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($t){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 K.Short:return(ht>=0?"+":"")+Pe(Kt,2,$t)+Pe(Math.abs(ht%60),2,$t);case K.ShortGMT:return"GMT"+(ht>=0?"+":"")+Pe(Kt,1,$t);case K.Long:return"GMT"+(ht>=0?"+":"")+Pe(Kt,2,$t)+":"+Pe(Math.abs(ht%60),2,$t);case K.Extended:return 0===Ue?"Z":(ht>=0?"+":"")+Pe(Kt,2,$t)+":"+Pe(Math.abs(ht%60),2,$t);default:throw new Error(`Unknown zone width "${L}"`)}}}const he=0,ge=4;function Me(L){return Dt(L.getFullYear(),L.getMonth(),L.getDate()+(ge-L.getDay()))}function Ye(L,xe=!1){return function(Z,Ue){let ht;if(xe){const $t=new Date(Z.getFullYear(),Z.getMonth(),1).getDay()-1,Kt=Z.getDate();ht=1+Math.floor((Kt+$t)/7)}else{const $t=Me(Z),Kt=function ct(L){const xe=Dt(L,he,1).getDay();return Dt(L,0,1+(xe<=ge?ge:ge+7)-xe)}($t.getFullYear()),Un=$t.getTime()-Kt.getTime();ht=1+Math.round(Un/6048e5)}return Pe(ht,L,He(Ue,Ae.MinusSign))}}function De(L,xe=!1){return function(Z,Ue){return Pe(Me(Z).getFullYear(),L,He(Ue,Ae.MinusSign),xe)}}const F={};function Q(L,xe){L=L.replace(/:/g,"");const Z=Date.parse("Jan 01, 1970 00:00:00 "+L)/6e4;return isNaN(Z)?xe:Z}function nt(L){return L instanceof Date&&!isNaN(L.valueOf())}const Ve=/^(\d+)?\.((\d+)(-(\d+))?)?$/,yt=22,At=".",on="0",xn=";",Sn=",",_n="#",Mn="\xa4",xi="%";function fi(L,xe,Z,Ue,ht,$t,Kt=!1){let Un="",ki=!1;if(isFinite(L)){let Hi=function qt(L){let Ue,ht,$t,Kt,Un,xe=Math.abs(L)+"",Z=0;for((ht=xe.indexOf(At))>-1&&(xe=xe.replace(At,"")),($t=xe.search(/e/i))>0?(ht<0&&(ht=$t),ht+=+xe.slice($t+1),xe=xe.substring(0,$t)):ht<0&&(ht=xe.length),$t=0;xe.charAt($t)===on;$t++);if($t===(Un=xe.length))Ue=[0],ht=1;else{for(Un--;xe.charAt(Un)===on;)Un--;for(ht-=$t,Ue=[],Kt=0;$t<=Un;$t++,Kt++)Ue[Kt]=Number(xe.charAt($t))}return ht>yt&&(Ue=Ue.splice(0,yt-1),Z=ht-1,ht=1),{digits:Ue,exponent:Z,integerLen:ht}}(L);Kt&&(Hi=function pt(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($t){const pr=$t.match(Ve);if(null===pr)throw new Error(`${$t} 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 $t=Math.min(Math.max(xe,ht),Z);let Kt=$t+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=bt(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,bt(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 xt(L,xe,Z){return fi(L,bt(Ze(xe,ie.Decimal),He(xe,Ae.MinusSign)),xe,Ae.Group,Ae.Decimal,Z)}function bt(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],$t=Ue[1],Kt=-1!==ht.indexOf(At)?ht.split(At):[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(Nt(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,$t]=-1==Ue?[Z,""]:[Z.slice(0,Ue),Z.slice(Ue+1)];if(ht.trim()===xe)return decodeURIComponent($t)}return null}const $n=/\s+/,ti=[];let an=(()=>{class L{constructor(Z,Ue,ht,$t){this._iterableDiffers=Z,this._keyValueDiffers=Ue,this._ngEl=ht,this._renderer=$t,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:$t}=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)):$t?$t.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,$t,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===$t?void 0:$t);else if(null!==$t){const Un=Ue.get($t);Ue.move(Un,Kt),mi(Un,ht)}});for(let ht=0,$t=Ue.length;ht<$t;ht++){const Un=Ue.get(ht).context;Un.index=ht,Un.count=$t,Un.ngForOf=this._ngForOf}Z.forEachIdentityChange(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 Mt=(()=>{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(Mt,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(Mt,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})(),se=(()=>{class L{constructor(Z,Ue,ht,$t){this.value=Z;const Kt=!isNaN(Number(Z));$t.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,$t]=Z.split("."),Kt=-1===ht.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Ue?this._renderer.setStyle(this._ngEl.nativeElement,ht,$t?`${Ue}${$t}`: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})(),kt=(()=>{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:$t,ngTemplateOutletInjector:Kt}=this;this._viewRef=Ue.createEmbeddedView(ht,$t,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,$t){if(null==Z||""===Z||Z!=Z)return null;try{return et(Z,Ue??this.defaultOptions?.dateFormat??"mediumDate",$t||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),$t=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||$t)&&(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(!Ne(Z))return null;ht=ht||this._locale;try{return xt(ot(Z),ht,Ue)}catch($t){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(!Ne(Z))return null;ht=ht||this._locale;try{return Yi(ot(Z),ht,Ue)}catch($t){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",$t,Kt){if(!Ne(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(ot(Z),Kt,Un,Ue,$t)}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 Ne(L){return!(null==L||""===L||L!=L)}function ot(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 gt(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)(f),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 $t=ht.shadowRoot;if($t){const Kt=$t.getElementById(xe)||$t.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,$t=this.offset();this.window.scrollTo(Ue-$t[0],ht-$t[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 We=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)(f)}createPreloadLinkTag(Z,Ue,ht,$t){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"),$t&&Z.setAttribute(Kt,"imageSizes",$t),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 $t=Z?parseFloat(ht):parseFloat(ht)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:$t})} ${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($t=>$t>=640)),Ue.map($t=>`${this.callImageLoader({src:this.ngSrc,width:$t})} ${$t}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:()=>Ge,HTTP_INTERCEPTORS:()=>Lt,HttpBackend:()=>x,HttpClient:()=>ve,HttpClientJsonpModule:()=>xn,HttpClientModule:()=>on,HttpClientXsrfModule:()=>At,HttpContext:()=>Ce,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:()=>Pt,HttpXsrfTokenExtractor:()=>ge,JsonpClientBackend:()=>Dt,JsonpInterceptor:()=>ut,provideHttpClient:()=>V,withFetch:()=>yt,withInterceptors:()=>Q,withInterceptorsFromDi:()=>dt,withJsonpSupport:()=>nt,withNoXsrfProtection:()=>qe,withRequestsMadeViaParent:()=>Ve,withXsrfConfiguration:()=>Rt,\u0275HttpInterceptingHandler:()=>at,\u0275HttpInterceptorHandler:()=>at,\u0275withHttpTransferCache:()=>Yi});var n=a(5861),c=a(5879),d=a(2096),g=a(5592),r=a(2459),f=a(6328),h=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(bt){this.normalizedNames=new Map,this.lazyUpdate=null,bt?"string"==typeof bt?this.lazyInit=()=>{this.headers=new Map,bt.split("\n").forEach(pt=>{const qt=pt.indexOf(":");if(qt>0){const nn=pt.slice(0,qt),cn=nn.toLowerCase(),sn=pt.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"&&bt instanceof Headers?(this.headers=new Map,bt.forEach((pt,qt)=>{this.setHeaderEntries(qt,pt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(bt).forEach(([pt,qt])=>{this.setHeaderEntries(pt,qt)})}:this.headers=new Map}has(bt){return this.init(),this.headers.has(bt.toLowerCase())}get(bt){this.init();const pt=this.headers.get(bt.toLowerCase());return pt&&pt.length>0?pt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(bt){return this.init(),this.headers.get(bt.toLowerCase())||null}append(bt,pt){return this.clone({name:bt,value:pt,op:"a"})}set(bt,pt){return this.clone({name:bt,value:pt,op:"s"})}delete(bt,pt){return this.clone({name:bt,value:pt,op:"d"})}maybeSetNormalizedName(bt,pt){this.normalizedNames.has(pt)||this.normalizedNames.set(pt,bt)}init(){this.lazyInit&&(this.lazyInit instanceof D?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(bt=>this.applyUpdate(bt)),this.lazyUpdate=null))}copyFrom(bt){bt.init(),Array.from(bt.headers.keys()).forEach(pt=>{this.headers.set(pt,bt.headers.get(pt)),this.normalizedNames.set(pt,bt.normalizedNames.get(pt))})}clone(bt){const pt=new D;return pt.lazyInit=this.lazyInit&&this.lazyInit instanceof D?this.lazyInit:this,pt.lazyUpdate=(this.lazyUpdate||[]).concat([bt]),pt}applyUpdate(bt){const pt=bt.name.toLowerCase();switch(bt.op){case"a":case"s":let qt=bt.value;if("string"==typeof qt&&(qt=[qt]),0===qt.length)return;this.maybeSetNormalizedName(bt.name,pt);const nn=("a"===bt.op?this.headers.get(pt):void 0)||[];nn.push(...qt),this.headers.set(pt,nn);break;case"d":const cn=bt.value;if(cn){let sn=this.headers.get(pt);if(!sn)return;sn=sn.filter(Nn=>-1===cn.indexOf(Nn)),0===sn.length?(this.headers.delete(pt),this.normalizedNames.delete(pt)):this.headers.set(pt,sn)}else this.headers.delete(pt),this.normalizedNames.delete(pt)}}setHeaderEntries(bt,pt){const qt=(Array.isArray(pt)?pt:[pt]).map(cn=>cn.toString()),nn=bt.toLowerCase();this.headers.set(nn,qt),this.maybeSetNormalizedName(bt,nn)}forEach(bt){this.init(),Array.from(this.normalizedNames.keys()).forEach(pt=>bt(this.normalizedNames.get(pt),this.headers.get(pt)))}}class E{encodeKey(bt){return ee(bt)}encodeValue(bt){return ee(bt)}decodeKey(bt){return decodeURIComponent(bt)}decodeValue(bt){return decodeURIComponent(bt)}}const X=/%(\d[a-f0-9])/gi,$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ee(xt){return encodeURIComponent(xt).replace(X,(bt,pt)=>$[pt]??bt)}function ie(xt){return`${xt}`}class A{constructor(bt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=bt.encoder||new E,bt.fromString){if(bt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function I(xt,bt){const pt=new Map;return xt.length>0&&xt.replace(/^\?/,"").split("&").forEach(nn=>{const cn=nn.indexOf("="),[sn,Nn]=-1==cn?[bt.decodeKey(nn),""]:[bt.decodeKey(nn.slice(0,cn)),bt.decodeValue(nn.slice(cn+1))],wn=pt.get(sn)||[];wn.push(Nn),pt.set(sn,wn)}),pt}(bt.fromString,this.encoder)}else bt.fromObject?(this.map=new Map,Object.keys(bt.fromObject).forEach(pt=>{const qt=bt.fromObject[pt],nn=Array.isArray(qt)?qt.map(ie):[ie(qt)];this.map.set(pt,nn)})):this.map=null}has(bt){return this.init(),this.map.has(bt)}get(bt){this.init();const pt=this.map.get(bt);return pt?pt[0]:null}getAll(bt){return this.init(),this.map.get(bt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(bt,pt){return this.clone({param:bt,value:pt,op:"a"})}appendAll(bt){const pt=[];return Object.keys(bt).forEach(qt=>{const nn=bt[qt];Array.isArray(nn)?nn.forEach(cn=>{pt.push({param:qt,value:cn,op:"a"})}):pt.push({param:qt,value:nn,op:"a"})}),this.clone(pt)}set(bt,pt){return this.clone({param:bt,value:pt,op:"s"})}delete(bt,pt){return this.clone({param:bt,value:pt,op:"d"})}toString(){return this.init(),this.keys().map(bt=>{const pt=this.encoder.encodeKey(bt);return this.map.get(bt).map(qt=>pt+"="+this.encoder.encodeValue(qt)).join("&")}).filter(bt=>""!==bt).join("&")}clone(bt){const pt=new A({encoder:this.encoder});return pt.cloneFrom=this.cloneFrom||this,pt.updates=(this.updates||[]).concat(bt),pt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(bt=>this.map.set(bt,this.cloneFrom.map.get(bt))),this.updates.forEach(bt=>{switch(bt.op){case"a":case"s":const pt=("a"===bt.op?this.map.get(bt.param):void 0)||[];pt.push(ie(bt.value)),this.map.set(bt.param,pt);break;case"d":if(void 0===bt.value){this.map.delete(bt.param);break}{let qt=this.map.get(bt.param)||[];const nn=qt.indexOf(ie(bt.value));-1!==nn&&qt.splice(nn,1),qt.length>0?this.map.set(bt.param,qt):this.map.delete(bt.param)}}}),this.cloneFrom=this.updates=null)}}class U{constructor(bt){this.defaultValue=bt}}class Ce{constructor(){this.map=new Map}set(bt,pt){return this.map.set(bt,pt),this}get(bt){return this.map.has(bt)||this.map.set(bt,bt.defaultValue()),this.map.get(bt)}delete(bt){return this.map.delete(bt),this}has(bt){return this.map.has(bt)}keys(){return this.map.keys()}}function Ae(xt){return typeof ArrayBuffer<"u"&&xt instanceof ArrayBuffer}function de(xt){return typeof Blob<"u"&&xt instanceof Blob}function H(xt){return typeof FormData<"u"&&xt instanceof FormData}class pe{constructor(bt,pt,qt,nn){let cn;if(this.url=pt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=bt.toUpperCase(),function Re(xt){switch(xt){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 Ce),this.params){const sn=this.params.toString();if(0===sn.length)this.urlWithParams=pt;else{const Nn=pt.indexOf("?");this.urlWithParams=pt+(-1===Nn?"?":Nn$n.set(ti,bt.setHeaders[ti]),wn)),bt.setParams&&(Xn=Object.keys(bt.setParams).reduce(($n,ti)=>$n.set(ti,bt.setParams[ti]),Xn)),new pe(pt,qt,cn,{params:Xn,headers:wn,context:_i,reportProgress:Nn,responseType:nn,withCredentials:sn})}}var we=function(xt){return xt[xt.Sent=0]="Sent",xt[xt.UploadProgress=1]="UploadProgress",xt[xt.ResponseHeader=2]="ResponseHeader",xt[xt.DownloadProgress=3]="DownloadProgress",xt[xt.Response=4]="Response",xt[xt.User=5]="User",xt}(we||{});class Ee{constructor(bt,pt=200,qt="OK"){this.headers=bt.headers||new D,this.status=void 0!==bt.status?bt.status:pt,this.statusText=bt.statusText||qt,this.url=bt.url||null,this.ok=this.status>=200&&this.status<300}}class Be extends Ee{constructor(bt={}){super(bt),this.type=we.ResponseHeader}clone(bt={}){return new Be({headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class G extends Ee{constructor(bt={}){super(bt),this.type=we.Response,this.body=void 0!==bt.body?bt.body:null}clone(bt={}){return new G({body:void 0!==bt.body?bt.body:this.body,headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class re extends Ee{constructor(bt){super(bt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${bt.url||"(unknown url)"}`:`Http failure response for ${bt.url||"(unknown url)"}: ${bt.status} ${bt.statusText}`,this.error=bt.error||null}}function ae(xt,bt){return{body:bt,headers:xt.headers,context:xt.context,observe:xt.observe,params:xt.params,reportProgress:xt.reportProgress,responseType:xt.responseType,withCredentials:xt.withCredentials}}let ve=(()=>{class xt{constructor(pt){this.handler=pt}request(pt,qt,nn={}){let cn;if(pt instanceof pe)cn=pt;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(pt,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,f.b)(wn=>this.handler.handle(wn)));if(pt instanceof pe||"events"===nn.observe)return sn;const Nn=sn.pipe((0,h.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(pt,qt={}){return this.request("DELETE",pt,qt)}get(pt,qt={}){return this.request("GET",pt,qt)}head(pt,qt={}){return this.request("HEAD",pt,qt)}jsonp(pt,qt){return this.request("JSONP",pt,{params:(new A).append(qt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(pt,qt={}){return this.request("OPTIONS",pt,qt)}patch(pt,qt,nn={}){return this.request("PATCH",pt,ae(nn,qt))}post(pt,qt,nn={}){return this.request("POST",pt,ae(nn,qt))}put(pt,qt,nn={}){return this.request("PUT",pt,ae(nn,qt))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(y))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const He=/^\)\]\}',?\n/;function Qe(xt){if(xt.url)return xt.url;const bt="X-Request-URL".toLocaleLowerCase();return xt.headers.get(bt)}let Ge=(()=>{class xt{constructor(){this.fetchImpl=(0,c.inject)(tt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,c.inject)(c.NgZone)}handle(pt){return new g.y(qt=>{const nn=new AbortController;return this.doRequest(pt,nn.signal,qt).then(Ct,cn=>qt.error(new re({error:cn}))),()=>nn.abort()})}doRequest(pt,qt,nn){var cn=this;return(0,n.Z)(function*(){const sn=cn.createRequestInit(pt);let Nn;try{const mn=cn.fetchImpl(pt.urlWithParams,{signal:qt,...sn});(function Nt(xt){xt.then(Ct,Ct)})(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:pt.urlWithParams,headers:mn.headers}))}const wn=new D(Nn.headers),Xn=Nn.statusText,_i=Qe(Nn)??pt.urlWithParams;let $n=Nn.status,ti=null;if(pt.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,pt.reportProgress){Yn="text"===pt.responseType?(Yn??"")+(mi??=new TextDecoder).decode(Ni,{stream:!0}):void 0;const Mt=()=>nn.next({type:we.DownloadProgress,total:mn?+mn:void 0,loaded:Wn,partialText:Yn});wi?wi.run(Mt):Mt()}}}));const ri=cn.concatChunks(Tn,Wn);try{ti=cn.parseBody(pt,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)??pt.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(pt,qt){switch(pt.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(pt){const qt={},nn=pt.withCredentials?"include":void 0;if(pt.headers.forEach((cn,sn)=>qt[cn]=sn.join(",")),qt.Accept??="application/json, text/plain, */*",!qt["Content-Type"]){const cn=pt.detectContentTypeHeader();null!==cn&&(qt["Content-Type"]=cn)}return{body:pt.serializeBody(),method:pt.method,headers:qt,credentials:nn}}concatChunks(pt,qt){const nn=new Uint8Array(qt);let cn=0;for(const sn of pt)nn.set(sn,cn),cn+=sn.length;return nn}}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();class tt{}function Ct(){}function _t(xt,bt){return bt(xt)}function Bt(xt,bt){return(pt,qt)=>bt.intercept(pt,{handle:nn=>xt(nn,qt)})}const Lt=new c.InjectionToken(""),Le=new c.InjectionToken(""),lt=new c.InjectionToken("");function ze(){let xt=null;return(bt,pt)=>{null===xt&&(xt=((0,c.inject)(Lt,{optional:!0})??[]).reduceRight(Bt,_t));const qt=(0,c.inject)(c.\u0275InitialRenderPendingTasks),nn=qt.add();return xt(bt,pt).pipe((0,v.x)(()=>qt.remove(nn)))}}let oe,at=(()=>{class xt extends y{constructor(pt,qt){super(),this.backend=pt,this.injector=qt,this.chain=null,this.pendingTasks=(0,c.inject)(c.\u0275InitialRenderPendingTasks)}handle(pt){if(null===this.chain){const nn=Array.from(new Set([...this.injector.get(Le),...this.injector.get(lt,[])]));this.chain=nn.reduceRight((cn,sn)=>function Tt(xt,bt,pt){return(qt,nn)=>pt.runInContext(()=>bt(qt,cn=>xt(cn,nn)))}(cn,sn,this.injector),_t)}const qt=this.pendingTasks.add();return this.chain(pt,nn=>this.backend.handle(nn)).pipe((0,v.x)(()=>this.pendingTasks.remove(qt)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(x),c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})(),N=0;class Te{}function et(){return"object"==typeof window?window:{}}let Dt=(()=>{class xt{constructor(pt,qt){this.callbackMap=pt,this.document=qt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+N++}handle(pt){if("JSONP"!==pt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==pt.responseType)throw new Error("JSONP requests must use Json response type.");if(pt.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new g.y(qt=>{const nn=this.nextCallback(),cn=pt.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(pt){oe||(oe=this.document.implementation.createHTMLDocument()),oe.adoptNode(pt)}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(Te),c.\u0275\u0275inject(l.DOCUMENT))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();function _e(xt,bt){return"JSONP"===xt.method?(0,c.inject)(Dt).handle(xt):bt(xt)}let ut=(()=>{class xt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>_e(pt,nn=>qt.handle(nn)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const Pe=/^\)\]\}',?\n/;let Pt=(()=>{class xt{constructor(pt){this.xhrFactory=pt}handle(pt){if("JSONP"===pt.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(pt.method,pt.urlWithParams),pt.withCredentials&&(sn.withCredentials=!0),pt.headers.forEach((Tn,Rn)=>sn.setRequestHeader(Tn,Rn.join(","))),pt.headers.has("Accept")||sn.setRequestHeader("Accept","application/json, text/plain, */*"),!pt.headers.has("Content-Type")){const Tn=pt.detectContentTypeHeader();null!==Tn&&sn.setRequestHeader("Content-Type",Tn)}if(pt.responseType){const Tn=pt.responseType.toLowerCase();sn.responseType="json"!==Tn?Tn:"text"}const Nn=pt.serializeBody();let wn=null;const Xn=()=>{if(null!==wn)return wn;const Tn=sn.statusText||"OK",Rn=new D(sn.getAllResponseHeaders()),Wn=function mt(xt){return"responseURL"in xt&&xt.responseURL?xt.responseURL:/^X-Request-URL:/m.test(xt.getAllResponseHeaders())?xt.getResponseHeader("X-Request-URL"):null}(sn)||pt.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"===pt.responseType&&"string"==typeof Yn){const ri=Yn;Yn=Yn.replace(Pe,"");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"===pt.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),pt.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),pt.reportProgress&&(sn.removeEventListener("progress",an),null!==Nn&&sn.upload&&sn.upload.removeEventListener("progress",mn)),sn.readyState!==sn.DONE&&sn.abort()}})))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(l.XhrFactory))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const Ft=new c.InjectionToken("XSRF_ENABLED"),Gt="XSRF-TOKEN",Oe=new c.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Gt}),Ke="X-XSRF-TOKEN",he=new c.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Ke});class ge{}let ct=(()=>{class xt{constructor(pt,qt,nn){this.doc=pt,this.platform=qt,this.cookieName=nn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const pt=this.doc.cookie||"";return pt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.\u0275parseCookieValue)(pt,this.cookieName),this.lastCookieString=pt),this.lastToken}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(c.PLATFORM_ID),c.\u0275\u0275inject(Oe))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();function Me(xt,bt){const pt=xt.url.toLowerCase();if(!(0,c.inject)(Ft)||"GET"===xt.method||"HEAD"===xt.method||pt.startsWith("http://")||pt.startsWith("https://"))return bt(xt);const qt=(0,c.inject)(ge).getToken(),nn=(0,c.inject)(he);return null!=qt&&!xt.headers.has(nn)&&(xt=xt.clone({headers:xt.headers.set(nn,qt)})),bt(xt)}let Ye=(()=>{class xt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>Me(pt,nn=>qt.handle(nn)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();var De=function(xt){return xt[xt.Interceptors=0]="Interceptors",xt[xt.LegacyInterceptors=1]="LegacyInterceptors",xt[xt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",xt[xt.NoXsrfProtection=3]="NoXsrfProtection",xt[xt.JsonpSupport=4]="JsonpSupport",xt[xt.RequestsMadeViaParent=5]="RequestsMadeViaParent",xt[xt.Fetch=6]="Fetch",xt}(De||{});function F(xt,bt){return{\u0275kind:xt,\u0275providers:bt}}function V(...xt){const bt=[ve,Pt,at,{provide:y,useExisting:at},{provide:x,useExisting:Pt},{provide:Le,useValue:Me,multi:!0},{provide:Ft,useValue:!0},{provide:ge,useClass:ct}];for(const pt of xt)bt.push(...pt.\u0275providers);return(0,c.makeEnvironmentProviders)(bt)}function Q(xt){return F(De.Interceptors,xt.map(bt=>({provide:Le,useValue:bt,multi:!0})))}const be=new c.InjectionToken("LEGACY_INTERCEPTOR_FN");function dt(){return F(De.LegacyInterceptors,[{provide:be,useFactory:ze},{provide:Le,useExisting:be,multi:!0}])}function Rt({cookieName:xt,headerName:bt}){const pt=[];return void 0!==xt&&pt.push({provide:Oe,useValue:xt}),void 0!==bt&&pt.push({provide:he,useValue:bt}),F(De.CustomXsrfConfiguration,pt)}function qe(){return F(De.NoXsrfProtection,[{provide:Ft,useValue:!1}])}function nt(){return F(De.JsonpSupport,[Dt,{provide:Te,useFactory:et},{provide:Le,useValue:_e,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,[Ge,{provide:x,useExisting:Ge}])}let At=(()=>{class xt{static disable(){return{ngModule:xt,providers:[qe().\u0275providers]}}static withOptions(pt={}){return{ngModule:xt,providers:Rt(pt).\u0275providers}}}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[Ye,{provide:Lt,useExisting:Ye,multi:!0},{provide:ge,useClass:ct},Rt({cookieName:Gt,headerName:Ke}).\u0275providers,{provide:Ft,useValue:!0}]}),xt})(),on=(()=>{class xt{}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[V(dt())]}),xt})(),xn=(()=>{class xt{}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[nt().\u0275providers]}),xt})();const Sn=new c.InjectionToken(""),_n=["GET","HEAD"];function Mn(xt,bt){const{isCacheActive:pt}=(0,c.inject)(Sn);if(!pt||!_n.includes(xt.method))return bt(xt);const qt=(0,c.inject)(c.TransferState),nn=function fi(xt){const{params:bt,method:pt,responseType:qt,url:nn}=xt,Nn=function Vi(xt){let bt=0;for(const pt of xt)bt=Math.imul(31,bt)+pt.charCodeAt(0)<<0;return bt+=2147483648,bt.toString()}(pt+"."+qt+"."+nn+"?"+bt.keys().sort().map(wn=>`${wn}=${bt.getAll(wn)}`).join("&"));return(0,c.makeStateKey)(Nn)}(xt),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 bt(xt).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:xt.responseType})}))}function xi(xt){const bt={};for(const pt of xt.keys()){const qt=xt.getAll(pt);null!==qt&&(bt[pt]=qt)}return bt}function Yi(){return[{provide:Sn,useFactory:()=>((0,c.inject)(c.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:lt,useValue:Mn,multi:!0,deps:[c.TransferState,Sn]},{provide:c.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const xt=(0,c.inject)(c.ApplicationRef),bt=(0,c.inject)(Sn);return()=>{xt.isStable.pipe((0,_.P)(pt=>pt)).toPromise().then(()=>{bt.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:()=>ce,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:()=>dt,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:()=>bt,\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:()=>Rt,\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:()=>Pe,\u0275injectChangeDetectorRef:()=>j_,\u0275internalCreateApplication:()=>Nx,\u0275isBoundToModule:()=>w_,\u0275isEnvironmentProviders:()=>I,\u0275isInjectable:()=>lt,\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:()=>ue,\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:()=>Lt,\u0275\u0275defineNgModule:()=>se,\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:()=>Q,\u0275\u0275injectAttribute:()=>hc,\u0275\u0275invalidFactory:()=>Rm,\u0275\u0275invalidFactoryDep:()=>be,\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),f=a(2096),h=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 de(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 Lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Le(e){return ze(e,oe)||ze(e,ne)}function lt(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(K))?e[Y]:null}const oe=p({\u0275prov:p}),Y=p({\u0275inj:p}),ne=p({ngInjectableDef:p}),K=p({ngInjectorDef:p});var ce=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}(ce||{});let Te;function et(){return Te}function Dt(e){const t=Te;return Te=e,t}function _e(e,t,i){const o=Le(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&ce.Optional?null:void 0!==t?t:void de(l(e))}const Pe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Gt={},Oe="__NG_DI_FLAG__",Ke="ngTempTokenPath",ge=/\n/gm,Me="__source";let Ye;function F(e){const t=Ye;return Ye=e,t}function V(e,t=ce.Default){if(void 0===Ye)throw new ee(-203,!1);return null===Ye?_e(e,void 0,t):Ye.get(e,t&ce.Optional?null:void 0,t)}function Q(e,t=ce.Default){return(et()||V)(S(e),t)}function be(e){throw new ee(202,!1)}function dt(e,t=ce.Default){return Q(e,Rt(t))}function Rt(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 zt=8&o?Ut:null;if(zt&&-1!==qt(zt,ye,0)||2&o&&ye!==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 se(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 kt(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:kt(e.inputs,t),outputs:kt(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,Ot=10,C=11,te=12,Ne=13,ot=14,Zt=15,Pn=16,ji=17,Pi=18,Li=19,Qi=20,Ui=21,ir=22,wt=23,vt=24,gt=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(xt)?e[xt]: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=Pe.WeakRef??class je{constructor(t){this.ref=t}deref(){return this.ref}};function ue(e){}let Fe=0,it=null,It=!1;function Et(e){const t=it;return it=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===it)return;let t=it.producers.get(this.id);void 0===t?(t={consumerNode:it.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:it.trackingVersion},it.producers.set(this.id,t),this.consumers.set(it.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=it.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==it?.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=Et(this);let o;try{o=this.computation()}catch(s){o=pi,this.error=s}finally{Et(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=Et(null);try{return e()}finally{Et(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=Et(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=rr,this.watch(this.registerOnCleanup)}finally{Et(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 $t(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&ce.SkipSelf){let s=t,m=e;for(;!(s=s.parent,null!==s||i&ce.Host||(s=rc(m),null===s||(m=m[ot],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[ot],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 ye=0;ye<8;ye++)t[m+ye]=R[M+ye]|z[M+ye]}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[ot],-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(bt)&&(o=i[bt]),null==o&&(o=i[bt]=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&ce.Host?xh(s,0,o):Eh(t,i,o,s);try{const M=m(o);if(null!=M||o&ce.Optional)return M;de()}finally{q()}}else if("number"==typeof m){let M=null,R=Mh(e,t),z=Ko,ye=o&ce.Host?t[Zt][Ai]:null;for((-1===R||o&ce.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 $e=t[tn];if(Th(m,R,$e.data)){const ft=mb(R,t,i,M,o,ye);if(ft!==so)return ft}z=t[R+8],z!==Ko&&Ih(o,t[tn].data[R+8]===ye)&&Th(m,R,t)?(M=$e,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],$e=Hs(R,M,i,null==o?ni(R)&&sc:o!=M&&0!=(3&R.type),s&ce.Host&&m===R);return null!==$e?Ro(t,M,$e,R):so}function Hs(e,t,i,o,s){const m=e.providerIndexes,M=t.data,R=1048575&m,z=e.directiveStart,$e=m>>20,Ut=s?R+$e:e.directiveEnd;for(let zt=o?R:R+$e;zt=z&&rn.type===i)return zt}if(s){const zt=M[z];if(zt&&Ii(zt)&&zt.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 Ce(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,ce.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[xt]||dc(t),o=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==o;){const m=s[xt]||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($e){return s&&s($e,...R),($e.hasOwnProperty(Qo)?$e[Qo]:Object.defineProperty($e,Qo,{value:[]})[Qo]).push(z),o&&o($e),$e}}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,ye,$e){const ft=z.hasOwnProperty(Zo)?z[Zo]:Object.defineProperty(z,Zo,{value:[]})[Zo];for(;ft.length<=$e;)ft.push(null);return(ft[$e]=ft[$e]||[]).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(ye,$e){if(void 0===ye)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const ft=ye.constructor,Ut=ft.hasOwnProperty(Xo)?ft[Xo]:Object.defineProperty(ft,Xo,{value:{}})[Xo];Ut[$e]=Ut.hasOwnProperty($e)&&Ut[$e]||[],Ut[$e].unshift(R),o&&o(ye,$e,...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=Pe.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($e=>$e&&$e.type),ye=R.map($e=>$e&&pc($e.decorators));return this._zipTypesAndAnnotations(z,ye)}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=nt(qo("Inject",e=>({token:e})),-1),Gs=nt(qo("Optional"),8),Uh=nt(qo("Self"),2),Ws=nt(qo("SkipSelf"),4),Bh=nt(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=[]),ye=s.styles.length;R&&R.forEach((ft,Ut)=>{z.push(""),M.push(o(ft).then(zt=>{z[ye+Ut]=zt,R.splice(R.indexOf(ft),1),0==R.length&&(s.styleUrls=void 0)}))});const $e=Promise.all(M).then(()=>function Nb(e){Qa.delete(e)}(m));t.push($e)}),$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=gt;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,Pe.trustedTypes))try{al=Pe.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[Ot].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=Gt){if(i===Gt){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 ye of z)Hc(ye,t,i,o)}}else{if(!m)return!1;{if(null!=m.imports&&!R){let ye;o.add(s);try{Ka(m.imports,$e=>{Hc($e,t,i,o)&&(ye||=[],ye.push($e))})}finally{}void 0!==ye&&Xf(ye,t)}if(!R){const ye=or(s)||(()=>new s);t.push({provide:s,useFactory:ye,deps:Mn},{provide:Kf,useValue:s,multi:!0},{provide:is,useValue:()=>Q(s),multi:!0})}const z=m.providers;null==z||R||zc(z,$e=>{t.push($e)})}}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,ce.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=Gt,o=ce.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(pt))return t[pt](this);o=Rt(o);const s=F(this),m=Dt(void 0);try{if(!(o&ce.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&ce.Self?ul():this.parent).get(t,i=o&ce.Optional&&i===Gt?null:i)}catch(M){if("NullInjectorError"===M.name){if((M[Ke]=M[Ke]||[]).unshift(l(t)),s)throw M;return function yt(e,t,i,o){const s=e[Ke];throw t[Me]&&s.unshift(t[Me]),e.message=function At(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(ge,"\n ")}`}("\n"+e.message,s,i,o),e.ngTokenPath=s,e[Ke]=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,ce.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=()=>Q(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"===dt(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(),dt(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[gt]),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=Et(this);this.trackingVersion++;try{t(i,o)}finally{Et(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(!et()&&!function De(){return Ye}())throw new ee(-203,!1)}const Am={\u0275\u0275defineInjectable:Bt,\u0275\u0275defineInjector:Lt,\u0275\u0275inject:Q,\u0275\u0275invalidFactoryDep:be,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(xt)||Object.defineProperty(e,xt,{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=Gt,e.NULL=new Yf,e.\u0275prov=Bt({token:e,providedIn:"any",factory:()=>Q(Vc)}),e.__NG_ELEMENT_ID__=-1,e})();function ua(e,t=ce.Default){const i=dn();return null===i?Q(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,ye,$e){const ft=t.blueprint.slice();return ft[Cn]=s,ft[En]=140|o,(null!==ye||e&&2048&e[En])&&(ft[En]|=2048),Jn(ft),ft[ei]=ft[ot]=e,ft[yi]=i,ft[Ot]=M||e&&e[Ot],ft[C]=R||e&&e[C],ft[Je]=z||e&&e[Je]||null,ft[Ai]=m,ft[Li]=function Yb(){return Kb++}(),ft[ir]=$e,ft[Qi]=ye,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;mgt&&Im(e,t,gt,!1),ci(R?2:0,s),R)m.runInContext(i,o,s);else{const ye=Et(null);try{i(o,s)}finally{Et(ye)}}}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=Et(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 $e,ye=t.inputs;!R&&null!=ye&&($e=ye[o])?(yu(e,i,$e,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,ye=>{this.all.has(ye)&&this.queue.set(ye,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??dt(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=Rt(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 $e={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",zt=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,$e,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=gt;return e[o]=t,da(i,o,2,"#host",null)}(ln,zt),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 ye=m.rendererFactory.createRenderer(t,i);let $e=16;i.signals?$e=4096:i.onPush&&($e=64);const ft=_l(s,Nm(i),null,$e,s[e.index],e,m,ye,null,null,z);return R.firstCreatePass&&gu(R,e,o.length-1),bl(s,ft),s[e.index]=ft}(OE,zt,Ri,vr,ln,$e,ft);Si=ht(zn,gt),zt&&function h1(e,t,i,o){if(o)nn(e,i,["ng-version",mm.full]);else{const{attrs:s,classes:m}=function Mt(e){const t=[],i=[];let o=1,s=2;for(;o0&&Tf(e,i,m.join(" "))}}(ft,Ri,zt,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-gt}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,ye,$e]of m.matchAll(/(f|n)(\d*)/g)){const ft=parseInt($e,10)||1;R.push(ye,ft)}return[M,...R]}(e);let s;return s=i===Xc?t[Zt][Cn]:i===qc?lu(t[Zt][Cn]):di(t[Number(i)+gt]),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-gt)):(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(),ye=Di(),$e=e+gt,ft=ye.firstCreatePass?function B1(e,t,i,o,s,m,M,R,z){const ye=t.consts,$e=da(t,e,4,M||null,Ci(ye,R));pu(t,i,$e,Ci(ye,z)),Ps(t,$e);const ft=$e.tView=mu(2,$e,o,s,m,t.directiveRegistry,t.pipeRegistry,null,t.schemas,ye,null);return null!==t.queries&&(t.queries.template(t,$e),ft.queries=t.queries.embeddedTView($e)),$e}($e,ye,z,t,i,o,s,m,M):ye.data[$e];zr(ft,!1);const Ut=bp(ye,z,ft,e);Io()&&il(ye,z,Ut,ft),br(Ut,z),bl(z,z[$e]=zm(Ut,z,Ut,ft)),oi(ft)&&hu(ye,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 $t(function As(){return Zn.lFrame.contextLView}(),gt+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=gt+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],ye=Mp(m,s,z,R,t,e);s[M]=ye;const $e=oi(z);return zr(z,!0),If(R,ye,z),32!=(32&z.flags)&&Io()&&il(m,s,ye,z),0===function Nr(){return Zn.lFrame.elementDepthCount}()&&br(ye,s),function Zr(){Zn.lFrame.elementDepthCount++}(),$e&&(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+gt,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),ye=e.firstCreatePass&&Wm(e),$e=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,$e,m,!1);const Si=i.listen(kn,s,m);ft.push(m,Si),ye&&ye.push(s,ln,zn,zn+1)}}else m=Ip(o,t,$e,m,!1);const zt=o.outputs;let rn;if(Ut&&null!==zt&&(rn=zt[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),ye=m.__ngNextListenerFn__;for(;ye;)z=Tp(t,i,ye,M)&&z,ye=ye.__ngNextListenerFn__;return s&&!1===z&&M.preventDefault(),z}}function Sp(e=1){return function rt(e){return(Zn.lFrame.contextLView=function st(e,t){for(;e>0;)t=t[ot],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 $e=e[R+1];tC(e[R],t)&&(z=!0,e[R+1]=o?id($e):td($e)),R=o?Lo($e):Ho($e)}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,ye=0,$e=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)&&(ye=!0)):$e=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;ye&&(e[o+1]=td(e[o+1])),kp(e,$e,o,!0),kp(e,$e,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,$e,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],ye=Array.isArray(z),$e=ye?z[1]:z,ft=null===$e;let Ut=i[s+1];Ut===gi&&(Ut=ft?Mn:void 0);let zt=ft?mc(Ut,o):$e===o?Ut:void 0;if(ye&&!Ol(zt)&&(zt=mc(z,o)),Ol(zt)&&(R=zt,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+gt,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 ye=dn(),$e=ba(ye,e,t,i,o,s,m,M,R,z);return $e!==gi&&xo(ye,Vt(),$e),ud}function dd(e,t,i,o,s,m,M,R,z,ye,$e){const ft=dn(),Ut=ya(ft,e,t,i,o,s,m,M,R,z,ye,$e);return Ut!==gi&&xo(ft,Vt(),Ut),dd}function hd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){const zt=dn(),rn=va(zt,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut);return rn!==gi&&xo(zt,Vt(),rn),hd}function fd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){const bn=dn(),kn=Ca(bn,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn);return kn!==gi&&xo(bn,Vt(),kn),fd}function md(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){const zn=dn(),ln=Ma(zn,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){to(Ur,uo,ya(dn(),e,t,i,o,s,m,M,R,z,ye,$e),!0)}function Jp(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){to(Ur,uo,va(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut),!0)}function e0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){to(Ur,uo,Ca(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn),!0)}function t0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){to(Ur,uo,Ma(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){Jr(ya(dn(),e,t,i,o,s,m,M,R,z,ye,$e))}function c0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){Jr(va(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut))}function u0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){Jr(Ca(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn))}function d0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){Jr(Ma(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){return eo(e,ba(dn(),t,i,o,s,m,M,R,z,ye),$e,!1),yd}function vd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){return eo(e,ya(dn(),t,i,o,s,m,M,R,z,ye,$e,ft),Ut,!1),vd}function Cd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){return eo(e,va(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt),rn,!1),Cd}function Md(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){return eo(e,Ca(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn),kn,!1),Md}function xd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn,zn,ln){return eo(e,Ma(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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]=Pe.ng&&Pe.ng.common&&Pe.ng.common.locales&&Pe.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 Ge(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,zt,rn,null)}else switch(z){case Nl:const ye=t[++R],$e=t[++R];null===i[$e]&&br(i[$e]=Dc(s,ye),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&$e){case 1:const Ut=i[++ye],zt=i[++ye],rn=e.data[ft];"string"==typeof rn?_u(t[C],t[ft],null,rn,Ut,z,zt):Br(e,rn,t,Ut,z,t[C],zt,!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 $e=bs(e,z>>>2);t[$e.currentCaseLViewIndex]<0&&D0(e,$e,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 ye=Fl(R,z);o=null!==ye?R.remove[ye]: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=[],ye=[],$e=[];t.cases.push(m),t.create.push(z),t.remove.push(ye),t.update.push($e);const Ut=Rf(es()).getInertBodyElement(M),zt=Fc(Ut)||Ut;return zt?O0(e,t,i,o,z,ye,$e,zt,s,R,0):0}function O0(e,t,i,o,s,m,M,R,z,ye,$e){let ft=0,Ut=R.firstChild;for(;Ut;){const zt=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,zt),e.data[zt]=bn;const hi=rn.attributes;for(let Si=0;Si>>Or.SHIFT;let ft=e[$e];null===ft&&(ft=e[$e]=(M&Or.COMMENT)===Or.COMMENT?s.createComment(R):el(s,R)),ye&&null!==i&&No(s,i,ft,o,!1)}})(s,z.create,$e,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+gt)}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,ye=o[z]||[];if(ye.length||(z.split("|").forEach(bn=>{const kn=bn.match(hM),zn=kn?parseInt(kn[1],10):P0,ln=dM.test(bn);ye.push([zn,ln,bn])}),o[z]=ye),!ye.length)throw new Error(`i18n postprocess: unmatched placeholder - ${z}`);const $e=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 zt=new za(z,s,ua),rn=Nd(R,t,s?$e:$e+Ut,ft);-1===rn?(uc(js(ye,M),m,R),Pd(m,e,t.length),t.push(R),ye.directiveStart++,ye.directiveEnd++,s&&(ye.providerIndexes+=1048576),i.push(zt),M.push(zt)):(i[rn]=zt,M[rn]=zt)}else{const zt=Nd(R,t,$e+Ut,ft),rn=Nd(R,t,$e,$e+Ut),kn=rn>=0&&i[rn];if(s&&!kn||!s&&!(zt>=0&&i[zt])){uc(js(ye,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),ye.directiveStart++,ye.directiveEnd++,s&&(ye.providerIndexes+=1048576),i.push(zn),M.push(zn)}else Pd(m,e,zt>-1?zt:rn,V0(i[s?rn:zt],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 ye=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const $e=ye.indexOf(i);-1===$e?ye.push(i,[o,z]):ye[$e+1].push(o,z)}else ye.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(Q(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,ye=dn(),$e=Gr(ye,z,i,o,s,m);return yr(ye,z+4,M)||$e?co(ye,z+5,R?t.call(R,i,o,s,m,M):t(i,o,s,m,M)):fs(ye,z+5)}function ag(e,t,i,o,s,m,M,R,z){const ye=hr()+e,$e=dn(),ft=Gr($e,ye,i,o,s,m);return jo($e,ye+4,M,R)||ft?co($e,ye+6,z?t.call(z,i,o,s,m,M,R):t(i,o,s,m,M,R)):fs($e,ye+6)}function sg(e,t,i,o,s,m,M,R,z,ye){const $e=hr()+e,ft=dn();let Ut=Gr(ft,$e,i,o,s,m);return xl(ft,$e+4,M,R,z)||Ut?co(ft,$e+7,ye?t.call(ye,i,o,s,m,M,R,z):t(i,o,s,m,M,R,z)):fs(ft,$e+7)}function lg(e,t,i,o,s,m,M,R,z,ye,$e){const ft=hr()+e,Ut=dn(),zt=Gr(Ut,ft,i,o,s,m);return Gr(Ut,ft+4,M,R,z,ye)||zt?co(Ut,ft+8,$e?t.call($e,i,o,s,m,M,R,z,ye):t(i,o,s,m,M,R,z,ye)):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 ye=t+i;return Gr(e,ye,s,m,M,R)?co(e,ye+4,z?o.call(z,s,m,M,R):o(s,m,M,R)):xs(e,ye+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+gt,s=dn(),m=$t(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+gt,m=dn(),M=$t(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+gt,M=dn(),R=$t(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+gt,R=dn(),z=$t(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+gt,s=dn(),m=$t(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 ye=this._declarationLView[Pi];return null!==ye&&(R[Pi]=ye.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)),ye=o||this.parentInjector;if(!m&&null==z.ngModule){const kn=(M?ye:this.parentInjector).get(Vo,null);kn&&(m=kn)}const $e=gn(z.componentType??{}),ft=xg(this._lContainer,$e?.id??null),zt=z.create(ye,s,ft?.firstChild??null,m),rn=!!ft&&!Xs(this._hostTNode);return this.insertImpl(zt.hostView,R,rn),zt}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 ye=s[ei],$e=new Eg(ye,ye[Ai],ye[ei]);$e.detach($e.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,ye);e[Jt]=$e,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 ye=m[R+1],$e=t[-z];for(let ft=On;ft<$e.length;ft++){const Ut=$e[ft];Ut[Pn]===Ut[ei]&&Kd(Ut[tn],Ut,ye,o)}if(null!==$e[vn]){const ft=$e[vn];for(let Ut=0;Ut({\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:Lt,\u0275\u0275defineNgModule:se,\u0275\u0275definePipe:un,\u0275\u0275directiveInject:ua,\u0275\u0275getInheritedFactory:Sh,\u0275\u0275inject:Q,\u0275\u0275injectAttribute:hc,\u0275\u0275invalidFactory:Rm,\u0275\u0275invalidFactoryDep:be,\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,xt,{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 ye=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&ye.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&ye.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),ye.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(ye.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 ye=$r(t.imports||Mn),{directiveDefs:$e,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 ye=Go(z);for(const $e of ye.exported.directives){const ft=gn($e)||pn($e);ft&&!M.has($e)&&(M.add($e),i.push(ft))}}else{const ye=gn(z)||pn(z);ye&&i.push(ye)}}}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 ye=Go(z);for(const $e of ye.exported.pipes){const ft=si($e);ft&&!M.has($e)&&(M.add($e),o.push(ft))}}else{const ye=si(z);ye&&o.push(ye)}}}return o}}}(e,ye);i.directiveDefs=$e,i.pipeDefs=ft,i.dependencies=()=>ye.map(S)}}finally{Jd--}if(0===Jd&&Vg(),function sx(e){return void 0!==e.ngSelectorScope}(e)){const ye=Go(e.ngSelectorScope);qd(i,ye)}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,xt,{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=dt(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:()=>dt(Wl,ce.Optional|ce.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)&&Pe){let o=Pe[h_];o||(o=Pe[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 Pe.requestAnimationFrame;let t=Pe[e?"requestAnimationFrame":"setTimeout"],i=Pe[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(Pe,()=>{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=dt(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,h.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)(Q(Ir),Q(M_),Q(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 ye=R.get(la,null);let $e;z.runOutsideAngular(()=>{$e=z.onError.subscribe({next:zt=>{ye.handleError(zt)}})});const ft=()=>R.destroy(),Ut=s.get(oh);return Ut.add(ft),R.onDestroy(()=>{$e.unsubscribe(),Ut.delete(ft)}),O_(ye,z,()=>{const zt=R.get(Gl);return zt.runInitializers(),zt.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)(Q(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=dt(N_),this.zoneIsStable=dt(b_),this.componentTypes=[],this.components=[],this.isStable=dt(c_).hasPendingTasks.pipe((0,u.w)(i=>i?(0,f.of)(!1):this.zoneIsStable),(0,v.x)(),(0,h.B)()),this._injector=dt(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),ye=M.create(Ao.NULL,[],o||M.selector,R),$e=ye.location.nativeElement,ft=ye.injector.get(v_,null);return ft?.registerApplication($e),ye.onDestroy(()=>{this.detachView(ye.hostView),Yl(this.components,ye),ft?.unregisterApplication($e)}),this._loadComponent(ye),ye}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:()=>dt(la).handleError.bind(void 0)});function Bx(){const e=dt(Ir),t=dt(la);return i=>e.runOutsideAngular(()=>t.handleError(i))}let Vx=(()=>{class e{constructor(){this.zone=dt(Ir),this.applicationRef=dt(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=dt(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 $e=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],ye=R[Ai].projection[e.projection];if(Array.isArray(ye))for(let $e of ye)ch($e,i,o,s,m);else if(ye){const $e=R[ei];Wo($e[tn].data[ye.index],$e,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)(Q(Ia))},e.\u0275mod=se({type:e}),e.\u0275inj=Lt({}),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 ye=z[Cn];ye&&!ye.hasAttribute(ta)&&(gh(ye,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&&$e===o){const ft=i[i.length-1];ft[dl]??=1,ft[dl]++}else o=$e,i.push(ye)}return i}function ph(e,t,i){const o=t.index-gt;e[tu]??={},e[tu][o]=U1(t,i)}function eb(e,t){const i=t.index-gt;e[hl]??=[],e[hl].includes(i)||e[hl].push(i)}function tb(e,t){const i={},o=e[tn];for(let s=gt;s{let e=!0;return Ql()&&(e=!!dt(rs,{optional:!0})?.get(nu,null)),e&&dt(im).add("hydration"),e}},{provide:is,useValue:()=>{Ql()&&dt(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()&&dt(us)},{provide:ah,useFactory:()=>{if(Ql()&&dt(us)){const e=dt(Ia);return dt(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:()=>dt,AbstractControlDirective:()=>_t,AbstractFormGroupDirective:()=>Mt,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:()=>Rt,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:()=>nt,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 f=(()=>{class fe{constructor(J,We){this._renderer=J,this._elementRef=We,this.onChange=Xt=>{},this.onTouched=()=>{}}setProperty(J,We){this._renderer.setProperty(this._elementRef.nativeElement,J,We)}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})(),h=(()=>{class fe extends f{}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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 h{writeValue(J){this.setProperty("checked",J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.checked)})("blur",function(){return We.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 f{constructor(J,We,Xt){super(J,We),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,We){1&J&&n.\u0275\u0275listener("input",function(Dn){return We._handleInput(Dn.target.value)})("blur",function(){return We.onTouched()})("compositionstart",function(){return We._compositionStart()})("compositionend",function(Dn){return We._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(le){return $(le)}static max(le){return ee(le)}static required(le){return ie(le)}static requiredTrue(le){return A(le)}static email(le){return U(le)}static minLength(le){return Ce(le)}static maxLength(le){return Re(le)}static pattern(le){return Ae(le)}static nullValidator(le){return null}static compose(le){return G(le)}static composeAsync(le){return ae(le)}}function $(fe){return le=>{if(x(le.value)||x(fe))return null;const J=parseFloat(le.value);return!isNaN(J)&&J{if(x(le.value)||x(fe))return null;const J=parseFloat(le.value);return!isNaN(J)&&J>fe?{max:{max:fe,actual:le.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 Ce(fe){return le=>x(le.value)||!D(le.value)?null:le.value.lengthD(le.value)&&le.value.length>fe?{maxlength:{requiredLength:fe,actualLength:le.value.length}}:null}function Ae(fe){if(!fe)return de;let le,J;return"string"==typeof fe?(J="","^"!==fe.charAt(0)&&(J+="^"),J+=fe,"$"!==fe.charAt(fe.length-1)&&(J+="$"),le=new RegExp(J)):(J=fe.toString(),le=fe),We=>{if(x(We.value))return null;const Xt=We.value;return le.test(Xt)?null:{pattern:{requiredPattern:J,actualValue:Xt}}}}function de(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 le={};return fe.forEach(J=>{le=null!=J?{...le,...J}:le}),0===Object.keys(le).length?null:le}function we(fe,le){return le.map(J=>J(fe))}function Be(fe){return fe.map(le=>function Ee(fe){return!fe.validate}(le)?le:J=>le.validate(J))}function G(fe){if(!fe)return null;const le=fe.filter(H);return 0==le.length?null:function(J){return pe(we(J,le))}}function re(fe){return null!=fe?G(Be(fe)):null}function ae(fe){if(!fe)return null;const le=fe.filter(H);return 0==le.length?null:function(J){const We=we(J,le).map(W);return(0,g.D)(We).pipe((0,r.U)(pe))}}function ve(fe){return null!=fe?ae(Be(fe)):null}function He(fe,le){return null===fe?[le]:Array.isArray(fe)?[...fe,le]:[fe,le]}function Ze(fe){return fe._rawValidators}function Qe(fe){return fe._rawAsyncValidators}function Ge(fe){return fe?Array.isArray(fe)?fe:[fe]:[]}function tt(fe,le){return Array.isArray(fe)?fe.includes(le):fe===le}function Ct(fe,le){const J=Ge(le);return Ge(fe).forEach(Xt=>{tt(J,Xt)||J.push(Xt)}),J}function Nt(fe,le){return Ge(le).filter(J=>!tt(fe,J))}class _t{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(le){this._rawValidators=le||[],this._composedValidatorFn=re(this._rawValidators)}_setAsyncValidators(le){this._rawAsyncValidators=le||[],this._composedAsyncValidatorFn=ve(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(le){this._onDestroyCallbacks.push(le)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(le=>le()),this._onDestroyCallbacks=[]}reset(le=void 0){this.control&&this.control.reset(le)}hasError(le,J){return!!this.control&&this.control.hasError(le,J)}getError(le,J){return this.control?this.control.getError(le,J):null}}class Bt extends _t{get formDirective(){return null}get path(){return null}}class Tt extends _t{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Lt{constructor(le){this._cd=le}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 Lt{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,We){2&J&&n.\u0275\u0275classProp("ng-untouched",We.isUntouched)("ng-touched",We.isTouched)("ng-pristine",We.isPristine)("ng-dirty",We.isDirty)("ng-valid",We.isValid)("ng-invalid",We.isInvalid)("ng-pending",We.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})(),at=(()=>{class fe extends Lt{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,We){2&J&&n.\u0275\u0275classProp("ng-untouched",We.isUntouched)("ng-touched",We.isTouched)("ng-pristine",We.isPristine)("ng-dirty",We.isDirty)("ng-valid",We.isValid)("ng-invalid",We.isInvalid)("ng-pending",We.isPending)("ng-submitted",We.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Ke="VALID",he="INVALID",ge="PENDING",ct="DISABLED";function Me(fe){return(V(fe)?fe.validators:fe)||null}function De(fe,le){return(V(le)?le.asyncValidators:fe)||null}function V(fe){return null!=fe&&!Array.isArray(fe)&&"object"==typeof fe}function Q(fe,le,J){const We=fe.controls;if(!(le?Object.keys(We):We).length)throw new n.\u0275RuntimeError(1e3,"");if(!We[J])throw new n.\u0275RuntimeError(1001,"")}function be(fe,le,J){fe._forEachChild((We,Xt)=>{if(void 0===J[Xt])throw new n.\u0275RuntimeError(1002,"")})}class dt{constructor(le,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(le),this._assignAsyncValidators(J)}get validator(){return this._composedValidatorFn}set validator(le){this._rawValidators=this._composedValidatorFn=le}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(le){this._rawAsyncValidators=this._composedAsyncValidatorFn=le}get parent(){return this._parent}get valid(){return this.status===Ke}get invalid(){return this.status===he}get pending(){return this.status==ge}get disabled(){return this.status===ct}get enabled(){return this.status!==ct}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(le){this._assignValidators(le)}setAsyncValidators(le){this._assignAsyncValidators(le)}addValidators(le){this.setValidators(Ct(le,this._rawValidators))}addAsyncValidators(le){this.setAsyncValidators(Ct(le,this._rawAsyncValidators))}removeValidators(le){this.setValidators(Nt(le,this._rawValidators))}removeAsyncValidators(le){this.setAsyncValidators(Nt(le,this._rawAsyncValidators))}hasValidator(le){return tt(this._rawValidators,le)}hasAsyncValidator(le){return tt(this._rawAsyncValidators,le)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(le={}){this.touched=!0,this._parent&&!le.onlySelf&&this._parent.markAsTouched(le)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(le=>le.markAllAsTouched())}markAsUntouched(le={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(J=>{J.markAsUntouched({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}markAsDirty(le={}){this.pristine=!1,this._parent&&!le.onlySelf&&this._parent.markAsDirty(le)}markAsPristine(le={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(J=>{J.markAsPristine({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}markAsPending(le={}){this.status=ge,!1!==le.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!le.onlySelf&&this._parent.markAsPending(le)}disable(le={}){const J=this._parentMarkedDirty(le.onlySelf);this.status=ct,this.errors=null,this._forEachChild(We=>{We.disable({...le,onlySelf:!0})}),this._updateValue(),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...le,skipPristineCheck:J}),this._onDisabledChange.forEach(We=>We(!0))}enable(le={}){const J=this._parentMarkedDirty(le.onlySelf);this.status=Ke,this._forEachChild(We=>{We.enable({...le,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent}),this._updateAncestors({...le,skipPristineCheck:J}),this._onDisabledChange.forEach(We=>We(!1))}_updateAncestors(le){this._parent&&!le.onlySelf&&(this._parent.updateValueAndValidity(le),le.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(le){this._parent=le}getRawValue(){return this.value}updateValueAndValidity(le={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ke||this.status===ge)&&this._runAsyncValidator(le.emitEvent)),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!le.onlySelf&&this._parent.updateValueAndValidity(le)}_updateTreeValidity(le={emitEvent:!0}){this._forEachChild(J=>J._updateTreeValidity(le)),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ct:Ke}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(le){if(this.asyncValidator){this.status=ge,this._hasOwnPendingAsyncValidator=!0;const J=W(this.asyncValidator(this));this._asyncValidationSubscription=J.subscribe(We=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(We,{emitEvent:le})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(le,J={}){this.errors=le,this._updateControlsErrors(!1!==J.emitEvent)}get(le){let J=le;return null==J||(Array.isArray(J)||(J=J.split(".")),0===J.length)?null:J.reduce((We,Xt)=>We&&We._find(Xt),this)}getError(le,J){const We=J?this.get(J):this;return We&&We.errors?We.errors[le]:null}hasError(le,J){return!!this.getError(le,J)}get root(){let le=this;for(;le._parent;)le=le._parent;return le}_updateControlsErrors(le){this.status=this._calculateStatus(),le&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(le)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?ct:this.errors?he:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ge)?ge:this._anyControlsHaveStatus(he)?he:Ke}_anyControlsHaveStatus(le){return this._anyControls(J=>J.status===le)}_anyControlsDirty(){return this._anyControls(le=>le.dirty)}_anyControlsTouched(){return this._anyControls(le=>le.touched)}_updatePristine(le={}){this.pristine=!this._anyControlsDirty(),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}_updateTouched(le={}){this.touched=this._anyControlsTouched(),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}_registerOnCollectionChange(le){this._onCollectionChange=le}_setUpdateStrategy(le){V(le)&&null!=le.updateOn&&(this._updateOn=le.updateOn)}_parentMarkedDirty(le){return!le&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(le){return null}_assignValidators(le){this._rawValidators=Array.isArray(le)?le.slice():le,this._composedValidatorFn=function Ye(fe){return Array.isArray(fe)?re(fe):fe||null}(this._rawValidators)}_assignAsyncValidators(le){this._rawAsyncValidators=Array.isArray(le)?le.slice():le,this._composedAsyncValidatorFn=function F(fe){return Array.isArray(fe)?ve(fe):fe||null}(this._rawAsyncValidators)}}class Rt extends dt{constructor(le,J,We){super(Me(J),De(We,J)),this.controls=le,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(le,J){return this.controls[le]?this.controls[le]:(this.controls[le]=J,J.setParent(this),J._registerOnCollectionChange(this._onCollectionChange),J)}addControl(le,J,We={}){this.registerControl(le,J),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}removeControl(le,J={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}setControl(le,J,We={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],J&&this.registerControl(le,J),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}contains(le){return this.controls.hasOwnProperty(le)&&this.controls[le].enabled}setValue(le,J={}){be(this,0,le),Object.keys(le).forEach(We=>{Q(this,!0,We),this.controls[We].setValue(le[We],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(le,J={}){null!=le&&(Object.keys(le).forEach(We=>{const Xt=this.controls[We];Xt&&Xt.patchValue(le[We],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(le={},J={}){this._forEachChild((We,Xt)=>{We.reset(le[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this._reduceChildren({},(le,J,We)=>(le[We]=J.getRawValue(),le))}_syncPendingControls(){let le=this._reduceChildren(!1,(J,We)=>!!We._syncPendingControls()||J);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){Object.keys(this.controls).forEach(J=>{const We=this.controls[J];We&&le(We,J)})}_setUpControls(){this._forEachChild(le=>{le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(le){for(const[J,We]of Object.entries(this.controls))if(this.contains(J)&&le(We))return!0;return!1}_reduceValue(){return this._reduceChildren({},(J,We,Xt)=>((We.enabled||this.disabled)&&(J[Xt]=We.value),J))}_reduceChildren(le,J){let We=le;return this._forEachChild((Xt,Dn)=>{We=J(We,Xt,Dn)}),We}_allControlsDisabled(){for(const le of Object.keys(this.controls))if(this.controls[le].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(le){return this.controls.hasOwnProperty(le)?this.controls[le]:null}}const qe=Rt,nt=fe=>fe instanceof Rt;class Ve extends Rt{}const yt=fe=>fe instanceof Ve,At=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>on}),on="always";function xn(fe,le){return[...le.path,fe]}function Sn(fe,le,J=on){fi(fe,le),le.valueAccessor.writeValue(fe.value),(fe.disabled||"always"===J)&&le.valueAccessor.setDisabledState?.(fe.disabled),function Yi(fe,le){le.valueAccessor.registerOnChange(J=>{fe._pendingValue=J,fe._pendingChange=!0,fe._pendingDirty=!0,"change"===fe.updateOn&&bt(fe,le)})}(fe,le),function pt(fe,le){const J=(We,Xt)=>{le.valueAccessor.writeValue(We),Xt&&le.viewToModelUpdate(We)};fe.registerOnChange(J),le._registerOnDestroy(()=>{fe._unregisterOnChange(J)})}(fe,le),function xt(fe,le){le.valueAccessor.registerOnTouched(()=>{fe._pendingTouched=!0,"blur"===fe.updateOn&&fe._pendingChange&&bt(fe,le),"submit"!==fe.updateOn&&fe.markAsTouched()})}(fe,le),function xi(fe,le){if(le.valueAccessor.setDisabledState){const J=We=>{le.valueAccessor.setDisabledState(We)};fe.registerOnDisabledChange(J),le._registerOnDestroy(()=>{fe._unregisterOnDisabledChange(J)})}}(fe,le)}function _n(fe,le,J=!0){const We=()=>{};le.valueAccessor&&(le.valueAccessor.registerOnChange(We),le.valueAccessor.registerOnTouched(We)),Vi(fe,le),fe&&(le._invokeOnDestroyCallbacks(),fe._registerOnCollectionChange(()=>{}))}function Mn(fe,le){fe.forEach(J=>{J.registerOnValidatorChange&&J.registerOnValidatorChange(le)})}function fi(fe,le){const J=Ze(fe);null!==le.validator?fe.setValidators(He(J,le.validator)):"function"==typeof J&&fe.setValidators([J]);const We=Qe(fe);null!==le.asyncValidator?fe.setAsyncValidators(He(We,le.asyncValidator)):"function"==typeof We&&fe.setAsyncValidators([We]);const Xt=()=>fe.updateValueAndValidity();Mn(le._rawValidators,Xt),Mn(le._rawAsyncValidators,Xt)}function Vi(fe,le){let J=!1;if(null!==fe){if(null!==le.validator){const Xt=Ze(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==le.validator);Dn.length!==Xt.length&&(J=!0,fe.setValidators(Dn))}}if(null!==le.asyncValidator){const Xt=Qe(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==le.asyncValidator);Dn.length!==Xt.length&&(J=!0,fe.setAsyncValidators(Dn))}}}const We=()=>{};return Mn(le._rawValidators,We),Mn(le._rawAsyncValidators,We),J}function bt(fe,le){fe._pendingDirty&&fe.markAsDirty(),fe.setValue(fe._pendingValue,{emitModelToViewChange:!1}),le.viewToModelUpdate(fe._pendingValue),fe._pendingChange=!1}function qt(fe,le){fi(fe,le)}function _i(fe,le){if(!fe.hasOwnProperty("model"))return!1;const J=fe.model;return!!J.isFirstChange()||!Object.is(le,J.currentValue)}function ti(fe,le){fe._syncPendingControls(),le.forEach(J=>{const We=J.control;"submit"===We.updateOn&&We._pendingChange&&(J.viewToModelUpdate(We._pendingValue),We._pendingChange=!1)})}function an(fe,le){if(!le)return null;let J,We,Xt;return Array.isArray(le),le.forEach(Dn=>{Dn.constructor===y?J=Dn:function $n(fe){return Object.getPrototypeOf(fe.constructor)===h}(Dn)?We=Dn:Xt=Dn}),Xt||We||J||null}const Rn={provide:Bt,useExisting:(0,n.forwardRef)(()=>mi)},Wn=(()=>Promise.resolve())();let mi=(()=>{class fe extends Bt{constructor(J,We,Xt){super(),this.callSetDisabledState=Xt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Rt({},re(J),ve(We))}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 We=this._findContainer(J.path);J.control=We.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 We=this._findContainer(J.path);We&&We.removeControl(J.name),this._directives.delete(J)})}addFormGroup(J){Wn.then(()=>{const We=this._findContainer(J.path),Xt=new Rt({});qt(Xt,J),We.registerControl(J.name,Xt),Xt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(J){Wn.then(()=>{const We=this._findContainer(J.path);We&&We.removeControl(J.name)})}getFormGroup(J){return this.form.get(J.path)}updateModel(J,We){Wn.then(()=>{this.form.get(J.path).setValue(We)})}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(At,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("submit",function(Dn){return We.onSubmit(Dn)})("reset",function(){return We.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Rn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();function Yn(fe,le){const J=fe.indexOf(le);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 dt{constructor(le=null,J,We){super(Me(J),De(We,J)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(le),this._setUpdateStrategy(J),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),V(J)&&(J.nonNullable||J.initialValueIsDefault)&&(this.defaultValue=wi(le)?le.value:le)}setValue(le,J={}){this.value=this._pendingValue=le,this._onChange.length&&!1!==J.emitModelToViewChange&&this._onChange.forEach(We=>We(this.value,!1!==J.emitViewToModelChange)),this.updateValueAndValidity(J)}patchValue(le,J={}){this.setValue(le,J)}reset(le=this.defaultValue,J={}){this._applyFormState(le),this.markAsPristine(J),this.markAsUntouched(J),this.setValue(this.value,J),this._pendingChange=!1}_updateValue(){}_anyControls(le){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(le){this._onChange.push(le)}_unregisterOnChange(le){Yn(this._onChange,le)}registerOnDisabledChange(le){this._onDisabledChange.push(le)}_unregisterOnDisabledChange(le){Yn(this._onDisabledChange,le)}_forEachChild(le){}_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(le){wi(le)?(this.value=this._pendingValue=le.value,le.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=le}},ai=ri,Ni=fe=>fe instanceof ri;let Mt=(()=>{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 le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const se={provide:Bt,useExisting:(0,n.forwardRef)(()=>Xe)};let Xe=(()=>{class fe extends Mt{constructor(J,We,Xt){super(),this.name="",this._parent=J,this._setValidators(We),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([se]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const kt={provide:Tt,useExisting:(0,n.forwardRef)(()=>un)},Wt=(()=>Promise.resolve())();let un=(()=>{class fe extends Tt{constructor(J,We,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(We),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 We=J.name.previousValue;this.formDirective.removeControl({name:We,path:this._getPath(We)})}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 We=J.isDisabled.currentValue,Xt=0!==We&&(0,n.booleanAttribute)(We);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(At,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([kt]),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 h{writeValue(J){this.setProperty("value",J??"")}registerOnChange(J){this.onChange=We=>{J(""==We?null:parseFloat(We))}}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("input",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.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,We){this._accessors.push([J,We])}remove(J){for(let We=this._accessors.length-1;We>=0;--We)if(this._accessors[We][1]===J)return void this._accessors.splice(We,1)}select(J){this._accessors.forEach(We=>{this._isSameGroup(We,J)&&We[1]!==J&&We[1].fireUncheck(J.value)})}_isSameGroup(J,We){return!!J[0].control&&J[0]._parent===We._control._parent&&J[1].name===We.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 h{constructor(J,We,Xt,Dn){super(J,We),this._registry=Xt,this._injector=Dn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(At,{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,We){1&J&&n.\u0275\u0275listener("change",function(){return We.onChange()})("blur",function(){return We.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 h{writeValue(J){this.setProperty("value",parseFloat(J))}registerOnChange(J){this.onChange=We=>{J(""==We?null:parseFloat(We))}}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.value)})("input",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.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,We,Xt,Dn,Wi){super(),this._ngModelWarningConfig=Dn,this.callSetDisabledState=Wi,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(J),this._setAsyncValidators(We),this.valueAccessor=an(0,Xt)}ngOnChanges(J){if(this._isControlChanged(J)){const We=J.form.previousValue;We&&_n(We,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(At,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,We,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(We)}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 We=this.form.get(J.path);return Sn(We,J,this.callSetDisabledState),We.updateValueAndValidity({emitEvent:!1}),this.directives.push(J),We}getControl(J){return this.form.get(J.path)}removeControl(J){_n(J.control||null,J,!1),function mn(fe,le){const J=fe.indexOf(le);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,We){this.form.get(J.path).setValue(We)}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 We=J.control,Xt=this.form.get(J.path);We!==Xt&&(_n(We||null,J),Ni(Xt)&&(Sn(Xt,J,this.callSetDisabledState),J.control=Xt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(J){const We=this.form.get(J.path);qt(We,J),We.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(J){if(this.form){const We=this.form.get(J.path);We&&function nn(fe,le){return Vi(fe,le)}(We,J)&&We.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(At,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formGroup",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("submit",function(Dn){return We.onSubmit(Dn)})("reset",function(){return We.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 Mt{constructor(J,We,Xt){super(),this.name=null,this._parent=J,this._setValidators(We),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,We,Xt){super(),this.name=null,this._parent=J,this._setValidators(We),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 Ot={provide:Tt,useExisting:(0,n.forwardRef)(()=>C)};let C=(()=>{class fe extends Tt{set isDisabled(J){}constructor(J,We,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(We),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([Ot]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})();const te={provide:u,useExisting:(0,n.forwardRef)(()=>Zt),multi:!0};function Ne(fe,le){return null==fe?`${le}`:(le&&"object"==typeof le&&(le="Object"),`${fe}: ${le}`.slice(0,50))}let Zt=(()=>{class fe extends h{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=Ne(this._getOptionId(J),J);this.setProperty("value",Xt)}registerOnChange(J){this.onChange=We=>{this.value=this._getOptionValue(We),J(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(J){for(const We of this._optionMap.keys())if(this._compareWith(this._optionMap.get(We),J))return We;return null}_getOptionValue(J){const We=function ot(fe){return fe.split(":")[0]}(J);return this._optionMap.has(We)?this._optionMap.get(We):J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([te]),n.\u0275\u0275InheritDefinitionFeature]}),fe})(),Pn=(()=>{class fe{constructor(J,We,Xt){this._element=J,this._renderer=We,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(Ne(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,le){return null==fe?`${le}`:("string"==typeof le&&(le=`'${le}'`),le&&"object"==typeof le&&(le="Object"),`${fe}: ${le}`.slice(0,50))}let Ui=(()=>{class fe extends h{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(J){this._compareWith=J}writeValue(J){let We;if(this.value=J,Array.isArray(J)){const Xt=J.map(Dn=>this._getOptionId(Dn));We=(Dn,Wi)=>{Dn._setSelected(Xt.indexOf(Wi.toString())>-1)}}else We=(Xt,Dn)=>{Xt._setSelected(!1)};this._optionMap.forEach(We)}registerOnChange(J){this.onChange=We=>{const Xt=[],Dn=We.selectedOptions;if(void 0!==Dn){const Wi=Dn;for(let dr=0;dr{class fe{constructor(J,We,Xt){this._element=J,this._renderer=We,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 gt=(()=>{class fe{constructor(){this._validator=de}ngOnChanges(J){if(this.inputName in J){const We=this.normalizeInput(J[this.inputName].currentValue);this._enabled=this.enabled(We),this._validator=this._enabled?this.createValidator(We):de,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 gt{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=J=>vt(J),this.createValidator=J=>ee(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("max",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=J=>vt(J),this.createValidator=J=>$(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("min",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>ie}enabled(J){return J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("required",We._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 le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("required",We._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 gt{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>U}enabled(J){return J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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 gt{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Ce(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("minlength",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Re(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("maxlength",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=J=>J,this.createValidator=J=>Ae(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("pattern",We._enabled?We.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 dt{constructor(le,J,We){super(Me(J),De(We,J)),this.controls=le,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(le){return this.controls[this._adjustIndex(le)]}push(le,J={}){this.controls.push(le),this._registerControl(le),this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}insert(le,J,We={}){this.controls.splice(le,0,J),this._registerControl(J),this.updateValueAndValidity({emitEvent:We.emitEvent})}removeAt(le,J={}){let We=this._adjustIndex(le);We<0&&(We=0),this.controls[We]&&this.controls[We]._registerOnCollectionChange(()=>{}),this.controls.splice(We,1),this.updateValueAndValidity({emitEvent:J.emitEvent})}setControl(le,J,We={}){let Xt=this._adjustIndex(le);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:We.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(le,J={}){be(this,0,le),le.forEach((We,Xt)=>{Q(this,!1,Xt),this.at(Xt).setValue(We,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(le,J={}){null!=le&&(le.forEach((We,Xt)=>{this.at(Xt)&&this.at(Xt).patchValue(We,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(le=[],J={}){this._forEachChild((We,Xt)=>{We.reset(le[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this.controls.map(le=>le.getRawValue())}clear(le={}){this.controls.length<1||(this._forEachChild(J=>J._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:le.emitEvent}))}_adjustIndex(le){return le<0?le+this.length:le}_syncPendingControls(){let le=this.controls.reduce((J,We)=>!!We._syncPendingControls()||J,!1);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){this.controls.forEach((J,We)=>{le(J,We)})}_updateValue(){this.value=this.controls.filter(le=>le.enabled||this.disabled).map(le=>le.value)}_anyControls(le){return this.controls.some(J=>J.enabled&&le(J))}_setUpControls(){this._forEachChild(le=>this._registerControl(le))}_allControlsDisabled(){for(const le of this.controls)if(le.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(le){le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)}_find(le){return this.at(le)??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,We=null){const Xt=this._reduceControls(J);let Dn={};return po(We)?Dn=We:null!==We&&(Dn.validators=We.validator,Dn.asyncValidators=We.asyncValidator),new Rt(Xt,Dn)}record(J,We=null){const Xt=this._reduceControls(J);return new Ve(Xt,We)}control(J,We,Xt){let Dn={};return this.useNonNullable?(po(We)?Dn=We:(Dn.validators=We,Dn.asyncValidators=Xt),new ri(J,{...Dn,nonNullable:!0})):new ri(J,We,Xt)}array(J,We,Xt){const Dn=J.map(Wi=>this._createControl(Wi));return new Hr(Dn,We,Xt)}_reduceControls(J){const We={};return Object.keys(J).forEach(Xt=>{We[Xt]=this._createControl(J[Xt])}),We}_createControl(J){return J instanceof ri||J instanceof dt?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,We=null){return super.group(J,We)}control(J,We,Xt){return super.control(J,We,Xt)}array(J,We,Xt){return super.array(J,We,Xt)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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:At,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:At,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:()=>Nt,MATERIAL_SANITY_CHECKS:()=>A,MAT_DATE_FORMATS:()=>ae,MAT_DATE_LOCALE:()=>Be,MAT_DATE_LOCALE_FACTORY:()=>G,MAT_NATIVE_DATE_FORMATS:()=>Qe,MAT_OPTGROUP:()=>Gt,MAT_OPTION_PARENT_COMPONENT:()=>Pe,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Te,MatCommonModule:()=>U,MatLine:()=>_t,MatLineModule:()=>Lt,MatNativeDateModule:()=>tt,MatOptgroup:()=>Oe,MatOption:()=>ct,MatOptionModule:()=>De,MatOptionSelectionChange:()=>he,MatPseudoCheckbox:()=>_e,MatPseudoCheckboxModule:()=>ut,MatRipple:()=>et,MatRippleModule:()=>Dt,NativeDateAdapter:()=>Ze,NativeDateModule:()=>Ge,RippleRef:()=>Le,RippleRenderer:()=>K,ShowOnDirtyErrorStateMatcher:()=>Ct,VERSION:()=>X,_MatOptgroupBase:()=>Ft,_MatOptionBase:()=>ge,_countGroupLabelsBeforeOption:()=>Me,_getOptionScrollPosition:()=>Ye,defaultRippleAnimationConfig:()=>at,mixinColor:()=>H,mixinDisableRipple:()=>W,mixinDisabled:()=>de,mixinErrorState:()=>we,mixinInitialized:()=>Ee,mixinTabIndex:()=>pe,setLines:()=>Bt});var n=a(5879),c=a(4300),d=a(9388),r=a(6814),f=a(2831),h=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 Q=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",Q.disabled)("state",Q.selected?"checked":"unchecked")}}function D(F,V){if(1&F&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&F){const Q=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",Q.disabled)}}function S(F,V){if(1&F&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&F){const Q=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",Q.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(Q,be,dt){this._sanityChecks=be,this._document=dt,this._hasDoneGlobalChecks=!1,Q._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Q){return!(0,f.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Q])}}return F.\u0275fac=function(Q){return new(Q||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 de(F){return class extends F{get disabled(){return this._disabled}set disabled(V){this._disabled=(0,h.Ig)(V)}constructor(...V){super(...V),this._disabled=!1}}}function H(F,V){return class extends F{get color(){return this._color}set color(Q){const be=Q||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}constructor(...Q){super(...Q),this.defaultColor=V,this.color=V}}}function W(F){return class extends F{get disableRipple(){return this._disableRipple}set disableRipple(V){this._disableRipple=(0,h.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(Q){this._tabIndex=null!=Q?(0,h.su)(Q):this.defaultTabIndex}constructor(...Q){super(...Q),this._tabIndex=V,this.defaultTabIndex=V}}}function we(F){return class extends F{updateErrorState(){const V=this.errorState,Rt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Rt!==V&&(this.errorState=Rt,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(Q=>{this._isInitialized?this._notifySubscriber(Q):this._pendingSubscribers.push(Q)})}_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,Q){return this.getYear(V)-this.getYear(Q)||this.getMonth(V)-this.getMonth(Q)||this.getDate(V)-this.getDate(Q)}sameDate(V,Q){if(V&&Q){let be=this.isValid(V),dt=this.isValid(Q);return be&&dt?!this.compareDate(V,Q):be==dt}return V==Q}clampDate(V,Q,be){return Q&&this.compareDate(V,Q)<0?Q:be&&this.compareDate(V,be)>0?be:V}}const ae=new n.InjectionToken("mat-date-formats"),ve=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function He(F,V){const Q=Array(F);for(let be=0;be{class F extends re{constructor(Q,be){super(),this.useUtcForDisplay=!1,super.setLocale(Q)}getYear(Q){return Q.getFullYear()}getMonth(Q){return Q.getMonth()}getDate(Q){return Q.getDate()}getDayOfWeek(Q){return Q.getDay()}getMonthNames(Q){const be=new Intl.DateTimeFormat(this.locale,{month:Q,timeZone:"utc"});return He(12,dt=>this._format(be,new Date(2017,dt,1)))}getDateNames(){const Q=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return He(31,be=>this._format(Q,new Date(2017,0,be+1)))}getDayOfWeekNames(Q){const be=new Intl.DateTimeFormat(this.locale,{weekday:Q,timeZone:"utc"});return He(7,dt=>this._format(be,new Date(2017,0,dt+1)))}getYearName(Q){const be=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(be,Q)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Q){return this.getDate(this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q)+1,0))}clone(Q){return new Date(Q.getTime())}createDate(Q,be,dt){let Rt=this._createDateWithOverflow(Q,be,dt);return Rt.getMonth(),Rt}today(){return new Date}parse(Q,be){return"number"==typeof Q?new Date(Q):Q?new Date(Date.parse(Q)):null}format(Q,be){if(!this.isValid(Q))throw Error("NativeDateAdapter: Cannot format invalid date.");const dt=new Intl.DateTimeFormat(this.locale,{...be,timeZone:"utc"});return this._format(dt,Q)}addCalendarYears(Q,be){return this.addCalendarMonths(Q,12*be)}addCalendarMonths(Q,be){let dt=this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q)+be,this.getDate(Q));return this.getMonth(dt)!=((this.getMonth(Q)+be)%12+12)%12&&(dt=this._createDateWithOverflow(this.getYear(dt),this.getMonth(dt),0)),dt}addCalendarDays(Q,be){return this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q),this.getDate(Q)+be)}toIso8601(Q){return[Q.getUTCFullYear(),this._2digit(Q.getUTCMonth()+1),this._2digit(Q.getUTCDate())].join("-")}deserialize(Q){if("string"==typeof Q){if(!Q)return null;if(ve.test(Q)){let be=new Date(Q);if(this.isValid(be))return be}}return super.deserialize(Q)}isDateInstance(Q){return Q instanceof Date}isValid(Q){return!isNaN(Q.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Q,be,dt){const Rt=new Date;return Rt.setFullYear(Q,be,dt),Rt.setHours(0,0,0,0),Rt}_2digit(Q){return("00"+Q).slice(-2)}_format(Q,be){const dt=new Date;return dt.setUTCFullYear(be.getFullYear(),be.getMonth(),be.getDate()),dt.setUTCHours(be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()),Q.format(dt)}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275inject(Be,8),n.\u0275\u0275inject(f.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 Ge=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||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(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:ae,useValue:Qe}],imports:[Ge]}),F})(),Ct=(()=>{class F{isErrorState(Q,be){return!!(Q&&Q.invalid&&(Q.dirty||be&&be.submitted))}}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),Nt=(()=>{class F{isErrorState(Q,be){return!!(Q&&Q.invalid&&(Q.touched||be&&be.submitted))}}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),_t=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),F})();function Bt(F,V,Q="mat"){F.changes.pipe((0,b.O)(F)).subscribe(({length:be})=>{Tt(V,`${Q}-2-line`,!1),Tt(V,`${Q}-3-line`,!1),Tt(V,`${Q}-multi-line`,!1),2===be||3===be?Tt(V,`${Q}-${be}-line`,!0):be>3&&Tt(V,`${Q}-multi-line`,!0)})}function Tt(F,V,Q){F.nativeElement.classList.toggle(V,Q)}let Lt=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})();class Le{constructor(V,Q,be,dt=!1){this._renderer=V,this.element=Q,this.config=be,this._animationForciblyDisabledThroughCss=dt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const lt=(0,f.i$)({passive:!0,capture:!0});class ze{constructor(){this._events=new Map,this._delegateEventHandler=V=>{const Q=(0,f.sA)(V);Q&&this._events.get(V.type)?.forEach((be,dt)=>{(dt===Q||dt.contains(Q))&&be.forEach(Rt=>Rt.handleEvent(V))})}}addHandler(V,Q,be,dt){const Rt=this._events.get(Q);if(Rt){const qe=Rt.get(be);qe?qe.add(dt):Rt.set(be,new Set([dt]))}else this._events.set(Q,new Map([[be,new Set([dt])]])),V.runOutsideAngular(()=>{document.addEventListener(Q,this._delegateEventHandler,lt)})}removeHandler(V,Q,be){const dt=this._events.get(V);if(!dt)return;const Rt=dt.get(Q);Rt&&(Rt.delete(be),0===Rt.size&&dt.delete(Q),0===dt.size&&(this._events.delete(V),document.removeEventListener(V,this._delegateEventHandler,lt)))}}const at={enterDuration:225,exitDuration:150},oe=(0,f.i$)({passive:!0,capture:!0}),Y=["mousedown","touchstart"],ne=["mouseup","mouseleave","touchend","touchcancel"];class K{constructor(V,Q,be,dt){this._target=V,this._ngZone=Q,this._platform=dt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,dt.isBrowser&&(this._containerElement=(0,h.fI)(be))}fadeInRipple(V,Q,be={}){const dt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Rt={...at,...be.animation};be.centered&&(V=dt.left+dt.width/2,Q=dt.top+dt.height/2);const qe=be.radius||function ce(F,V,Q){const be=Math.max(Math.abs(F-Q.left),Math.abs(F-Q.right)),dt=Math.max(Math.abs(V-Q.top),Math.abs(V-Q.bottom));return Math.sqrt(be*be+dt*dt)}(V,Q,dt),nt=V-dt.left,Ve=Q-dt.top,yt=Rt.enterDuration,At=document.createElement("div");At.classList.add("mat-ripple-element"),At.style.left=nt-qe+"px",At.style.top=Ve-qe+"px",At.style.height=2*qe+"px",At.style.width=2*qe+"px",null!=be.color&&(At.style.backgroundColor=be.color),At.style.transitionDuration=`${yt}ms`,this._containerElement.appendChild(At);const on=window.getComputedStyle(At),Sn=on.transitionDuration,_n="none"===on.transitionProperty||"0s"===Sn||"0s, 0s"===Sn||0===dt.width&&0===dt.height,Mn=new Le(this,At,be,_n);At.style.transform="scale3d(1, 1, 1)",Mn.state=0,be.persistent||(this._mostRecentTransientRipple=Mn);let xi=null;return!_n&&(yt||Rt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const fi=()=>this._finishRippleTransition(Mn),Vi=()=>this._destroyRipple(Mn);At.addEventListener("transitionend",fi),At.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 Q=V.element,be={...at,...V.config.animation};Q.style.transitionDuration=`${be.exitDuration}ms`,Q.style.opacity="0",V.state=2,(V._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(V)}fadeOutAll(){this._getActiveRipples().forEach(V=>V.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(V=>{V.config.persistent||V.fadeOut()})}setupTriggerEvents(V){const Q=(0,h.fI)(V);!this._platform.isBrowser||!Q||Q===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Q,Y.forEach(be=>{K._eventManager.addHandler(this._ngZone,be,Q,this)}))}handleEvent(V){"mousedown"===V.type?this._onMousedown(V):"touchstart"===V.type?this._onTouchStart(V):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ne.forEach(Q=>{this._triggerElement.addEventListener(Q,this,oe)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(V){0===V.state?this._startFadeOutTransition(V):2===V.state&&this._destroyRipple(V)}_startFadeOutTransition(V){const Q=V===this._mostRecentTransientRipple,{persistent:be}=V.config;V.state=1,!be&&(!Q||!this._isPointerDown)&&V.fadeOut()}_destroyRipple(V){const Q=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!==Q&&(V.element.removeEventListener("transitionend",Q.onTransitionEnd),V.element.removeEventListener("transitioncancel",Q.onTransitionCancel)),V.element.remove()}_onMousedown(V){const Q=(0,c.X6)(V),be=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(Q=>K._eventManager.removeHandler(Q,V,this)),this._pointerUpEventsRegistered&&ne.forEach(Q=>V.removeEventListener(Q,this,oe)))}}K._eventManager=new ze;const Te=new n.InjectionToken("mat-ripple-global-options");let et=(()=>{class F{get disabled(){return this._disabled}set disabled(Q){Q&&this.fadeOutAllNonPersistent(),this._disabled=Q,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Q){this._trigger=Q,this._setupTriggerEventsIfEnabled()}constructor(Q,be,dt,Rt,qe){this._elementRef=Q,this._animationMode=qe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Rt||{},this._rippleRenderer=new K(this,be,Q,dt)}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(Q,be=0,dt){return"number"==typeof Q?this._rippleRenderer.fadeInRipple(Q,be,{...this.rippleConfig,...dt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Q})}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(f.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(Q,be){2&Q&&n.\u0275\u0275classProp("mat-ripple-unbounded",be.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(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})(),_e=(()=>{class F{constructor(Q){this._animationMode=Q,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return F.\u0275fac=function(Q){return new(Q||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(Q,be){2&Q&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===be.state)("mat-pseudo-checkbox-checked","checked"===be.state)("mat-pseudo-checkbox-disabled",be.disabled)("mat-pseudo-checkbox-minimal","minimal"===be.appearance)("mat-pseudo-checkbox-full","full"===be.appearance)("_mat-animation-noopable","NoopAnimations"===be._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(Q,be){},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})(),ut=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U]}),F})();const Pe=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),mt=de(class{});let Pt=0,Ft=(()=>{class F extends mt{constructor(Q){super(),this._labelId="mat-optgroup-label-"+Pt++,this._inert=Q?.inertGroups??!1}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(Pe,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),F})();const Gt=new n.InjectionToken("MatOptgroup");let Oe=(()=>{class F extends Ft{}return F.\u0275fac=function(){let V;return function(be){return(V||(V=n.\u0275\u0275getInheritedFactory(F)))(be||F)}}(),F.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(Q,be){2&Q&&n.\u0275\u0275attribute("role",be._inert?null:"group")("aria-disabled",be._inert?null:be.disabled.toString())("aria-labelledby",be._inert?null:be._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:Gt,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(Q,be){1&Q&&(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&Q&&(n.\u0275\u0275classProp("mdc-list-item--disabled",be.disabled),n.\u0275\u0275property("id",be._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",be.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})(),Ke=0;class he{constructor(V,Q=!1){this.source=V,this.isUserInput=Q}}let ge=(()=>{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(Q){this._disabled=(0,h.Ig)(Q)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(Q,be,dt,Rt){this._element=Q,this._changeDetectorRef=be,this._parent=dt,this.group=Rt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ke++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new v.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Q=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Q&&this._emitSelectionChangeEvent())}deselect(Q=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Q&&this._emitSelectionChangeEvent())}focus(Q,be){const dt=this._getHostElement();"function"==typeof dt.focus&&dt.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Q){(Q.keyCode===p.K5||Q.keyCode===p.L_)&&!(0,p.Vb)(Q)&&(this._selectViaInteraction(),Q.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 Q=this.viewValue;Q!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Q)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Q=!1){this.onSelectionChange.emit(new he(this,Q))}}return F.\u0275fac=function(Q){n.\u0275\u0275invalidFactory()},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,viewQuery:function(Q,be){if(1&Q&&n.\u0275\u0275viewQuery(y,7),2&Q){let dt;n.\u0275\u0275queryRefresh(dt=n.\u0275\u0275loadQuery())&&(be._text=dt.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),F})(),ct=(()=>{class F extends ge{constructor(Q,be,dt,Rt){super(Q,be,dt,Rt)}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Pe,8),n.\u0275\u0275directiveInject(Gt,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(Q,be){1&Q&&n.\u0275\u0275listener("click",function(){return be._selectViaInteraction()})("keydown",function(Rt){return be._handleKeydown(Rt)}),2&Q&&(n.\u0275\u0275hostProperty("id",be.id),n.\u0275\u0275attribute("aria-selected",be.selected)("aria-disabled",be.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",be.selected)("mat-mdc-option-multiple",be.multiple)("mat-mdc-option-active",be.active)("mdc-list-item--disabled",be.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(Q,be){1&Q&&(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&Q&&(n.\u0275\u0275property("ngIf",be.multiple),n.\u0275\u0275advance(5),n.\u0275\u0275property("ngIf",!be.multiple&&be.selected&&!be.hideSingleSelectionIndicator),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",be.group&&be.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",be._getHostElement())("matRippleDisabled",be.disabled||be.disableRipple))},dependencies:[et,r.NgIf,_e],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 Me(F,V,Q){if(Q.length){let be=V.toArray(),dt=Q.toArray(),Rt=0;for(let qe=0;qeQ+be?Math.max(0,F-be+V):Q}let De=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[Dt,r.CommonModule,U,ut]}),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:()=>kt,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>pt,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>xt,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>bt,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Vi,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>Yi,MatCalendar:()=>mi,MatCalendarBody:()=>nt,MatCalendarCell:()=>Q,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),f=a(2831),h=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)(h.MAT_RIPPLE_GLOBAL_OPTIONS,{optional:!0}),this._platform=(0,r.inject)(f.t4),this._ngZone=(0,r.inject)(r.NgZone),this._onInteraction=C=>{if(C.target===this._document)return;const Ne=C.target.closest(`[${$}]`);Ne&&(Ne.removeAttribute($),this._appendRipple(Ne))},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 Ne=new ie(C,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);Ne.rippleConfig.centered=C.hasAttribute("mat-icon-button"),new h.RippleRenderer(Ne,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 Ne=new h.MatRipple(new r.ElementRef(te),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Ne._isInitialized=!0,Ne.trigger=C,C.append(te),Ne}}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(Ot,C,te){this._button=Ot,this._globalRippleOptions=C,this._setRippleConfig(C,te)}_setRippleConfig(Ot,C){this.rippleConfig=Ot||{},"NoopAnimations"===C&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const Ce=[{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,h.mixinColor)((0,h.mixinDisabled)((0,h.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,Ne,ot){super(C),this._platform=te,this._ngZone=Ne,this._animationMode=ot,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 Ce)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,Ne,ot){super(C,te,Ne,ot)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.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,Ne,ot){super(C,te,Ne,ot)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.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:[h.MatCommonModule,h.MatRippleModule,h.MatCommonModule]}),Je})();var Ct=a(6672),Nt=a(8645),_t=a(7394),Bt=a(3019),Tt=a(2096),Lt=a(6028),Le=a(9388),lt=a(8180),ze=a(7921),at=a(2181),N=a(2495),oe=a(6825),Y=a(6223),ne=a(1043),K=a(4516);const ce=["mat-calendar-body",""];function Te(Je,Ot){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 et(Je,Ot){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,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",8)(1,"button",9),r.\u0275\u0275listener("click",function(Ne){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._cellClicked(Zt,Ne))})("focus",function(Ne){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._emitActiveDateChange(Zt,Ne))}),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=Ot.$implicit,te=Ot.index,Ne=r.\u0275\u0275nextContext().index,ot=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("width",ot._cellWidth)("padding-top",ot._cellPadding)("padding-bottom",ot._cellPadding),r.\u0275\u0275attribute("data-mat-row",Ne)("data-mat-col",te),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-disabled",!C.enabled)("mat-calendar-body-active",ot._isActiveCell(Ne,te))("mat-calendar-body-range-start",ot._isRangeStart(C.compareValue))("mat-calendar-body-range-end",ot._isRangeEnd(C.compareValue))("mat-calendar-body-in-range",ot._isInRange(C.compareValue))("mat-calendar-body-comparison-bridge-start",ot._isComparisonBridgeStart(C.compareValue,Ne,te))("mat-calendar-body-comparison-bridge-end",ot._isComparisonBridgeEnd(C.compareValue,Ne,te))("mat-calendar-body-comparison-start",ot._isComparisonStart(C.compareValue))("mat-calendar-body-comparison-end",ot._isComparisonEnd(C.compareValue))("mat-calendar-body-in-comparison-range",ot._isInComparisonRange(C.compareValue))("mat-calendar-body-preview-start",ot._isPreviewStart(C.compareValue))("mat-calendar-body-preview-end",ot._isPreviewEnd(C.compareValue))("mat-calendar-body-in-preview",ot._isInPreview(C.compareValue)),r.\u0275\u0275property("ngClass",C.cssClasses)("tabindex",ot._isActiveCell(Ne,te)?0:-1),r.\u0275\u0275attribute("aria-label",C.ariaLabel)("aria-disabled",!C.enabled||null)("aria-pressed",ot._isSelected(C.compareValue))("aria-current",ot.todayValue===C.compareValue?"date":null)("aria-describedby",ot._getDescribedby(C.compareValue)),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-selected",ot._isSelected(C.compareValue))("mat-calendar-body-comparison-identical",ot._isComparisonIdentical(C.compareValue))("mat-calendar-body-today",ot.todayValue===C.compareValue),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",C.displayValue," ")}}function _e(Je,Ot){if(1&Je&&(r.\u0275\u0275elementStart(0,"tr",5),r.\u0275\u0275template(1,et,2,6,"td",6),r.\u0275\u0275template(2,Dt,5,48,"td",7),r.\u0275\u0275elementEnd()),2&Je){const C=Ot.$implicit,te=Ot.index,Ne=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",0===te&&Ne._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",C)}}function ut(Je,Ot){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=Ot.$implicit;r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.long),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.narrow)}}const Pe=["*"];function mt(Je,Ot){}function Pt(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-month-view",5),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("_userSelection",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dateSelected(Ne))})("dragStarted",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dragStarted(Ne))})("dragEnded",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dragEnded(Ne))}),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 Ft(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-year-view",6),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("monthSelected",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._monthSelectedInYearView(Ne))})("selectedChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._goToDateInView(Ne,"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 Gt(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-multi-year-view",7),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("yearSelected",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._yearSelectedInMultiYearView(Ne))})("selectedChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._goToDateInView(Ne,"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 Oe(Je,Ot){}const Ke=["button"];function he(Je,Ot){1&Je&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg",3),r.\u0275\u0275element(1,"path",4),r.\u0275\u0275elementEnd())}const ge=[[["","matDatepickerToggleIcon",""]]],ct=["[matDatepickerToggleIcon]"],Me=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Ye=["input[matStartDate]","input[matEndDate]"];function De(Je,Ot){1&Je&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275projection(1),r.\u0275\u0275elementEnd())}let V=(()=>{class Je{constructor(){this.changes=new Nt.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 Q{constructor(Ot,C,te,Ne,ot={},Zt=Ot,Pn){this.value=Ot,this.displayValue=C,this.ariaLabel=te,this.enabled=Ne,this.cssClasses=ot,this.compareValue=Zt,this.rawValue=Pn}}let be=1;const dt=(0,f.i$)({passive:!1,capture:!0}),Rt=(0,f.i$)({passive:!0,capture:!0}),qe=(0,f.i$)({passive:!0});let nt=(()=>{class Je{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(C,te){this._elementRef=C,this._ngZone=te,this._platform=(0,r.inject)(f.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=Ne=>{if(this._skipNextFocus&&"focus"===Ne.type)this._skipNextFocus=!1;else if(Ne.target&&this.isRange){const ot=this._getCellFromElement(Ne.target);ot&&this._ngZone.run(()=>this.previewChange.emit({value:ot.enabled?ot:null,event:Ne}))}},this._touchmoveHandler=Ne=>{if(!this.isRange)return;const ot=Sn(Ne),Zt=ot?this._getCellFromElement(ot):null;ot!==Ne.target&&(this._didDragSinceMouseDown=!0),yt(Ne.target)&&Ne.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Zt?.enabled?Zt:null,event:Ne}))},this._leaveHandler=Ne=>{null!==this.previewEnd&&this.isRange&&("blur"!==Ne.type&&(this._didDragSinceMouseDown=!0),Ne.target&&this._getCellFromElement(Ne.target)&&(!Ne.relatedTarget||!this._getCellFromElement(Ne.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Ne})))},this._mousedownHandler=Ne=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const ot=Ne.target&&this._getCellFromElement(Ne.target);!ot||!this._isInRange(ot.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:ot.rawValue,event:Ne})})},this._mouseupHandler=Ne=>{if(!this.isRange)return;const ot=yt(Ne.target);ot?ot.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Zt=this._getCellFromElement(ot);this.dragEnded.emit({value:Zt?.rawValue??null,event:Ne})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Ne})})},this._touchendHandler=Ne=>{const ot=Sn(Ne);ot&&this._mouseupHandler({target:ot})},this._id="mat-calendar-body-"+be++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,te.runOutsideAngular(()=>{const Ne=C.nativeElement;Ne.addEventListener("touchmove",this._touchmoveHandler,dt),Ne.addEventListener("mouseenter",this._enterHandler,Rt),Ne.addEventListener("focus",this._enterHandler,Rt),Ne.addEventListener("mouseleave",this._leaveHandler,Rt),Ne.addEventListener("blur",this._leaveHandler,Rt),Ne.addEventListener("mousedown",this._mousedownHandler,qe),Ne.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:Ne,numCols:ot}=this;(C.rows||te)&&(this._firstRowOffset=Ne&&Ne.length&&Ne[0].length?ot-Ne[0].length:0),(C.cellAspectRatio||te||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/ot+"%"),(te||!this._cellWidth)&&(this._cellWidth=100/ot+"%")}ngOnDestroy(){const C=this._elementRef.nativeElement;C.removeEventListener("touchmove",this._touchmoveHandler,dt),C.removeEventListener("mouseenter",this._enterHandler,Rt),C.removeEventListener("focus",this._enterHandler,Rt),C.removeEventListener("mouseleave",this._leaveHandler,Rt),C.removeEventListener("blur",this._leaveHandler,Rt),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 Ne=C*this.numCols+te;return C&&(Ne-=this._firstRowOffset),Ne==this.activeCell}_focusActiveCell(C=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,lt.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 At(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 At(C,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(C,te,Ne){if(!this._isComparisonStart(C)||this._isRangeStart(C)||!this._isInRange(C))return!1;let ot=this.rows[te][Ne-1];if(!ot){const Zt=this.rows[te-1];ot=Zt&&Zt[Zt.length-1]}return ot&&!this._isRangeEnd(ot.compareValue)}_isComparisonBridgeEnd(C,te,Ne){if(!this._isComparisonEnd(C)||this._isRangeEnd(C)||!this._isInRange(C))return!1;let ot=this.rows[te][Ne+1];if(!ot){const Zt=this.rows[te+1];ot=Zt&&Zt[0]}return ot&&!this._isRangeStart(ot.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 At(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 Ne=te.getAttribute("data-mat-row"),ot=te.getAttribute("data-mat-col");if(Ne&&ot)return this.rows[parseInt(Ne)][parseInt(ot)]}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:ce,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,_e,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=Ot&&Je===C}function xn(Je,Ot,C,te){return te&&null!==Ot&&null!==C&&Ot!==C&&Je>=Ot&&Je<=C}function Sn(Je){const Ot=Je.changedTouches[0];return document.elementFromPoint(Ot.clientX,Ot.clientY)}class _n{constructor(Ot,C){this.start=Ot,this.end=C}}let Mn=(()=>{class Je{constructor(C,te){this.selection=C,this._adapter=te,this._selectionChanged=new Nt.x,this.selectionChanged=this._selectionChanged,this.selection=C}updateSelection(C,te){const Ne=this.selection;this.selection=C,this._selectionChanged.next({selection:C,source:te,oldValue:Ne})}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(h.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:Ne}=this.selection;null==te?te=C:null==Ne?Ne=C:(te=C,Ne=null),super.updateSelection(new _n(te,Ne),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(h.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();function Vi(Je,Ot){return Je||new xi(Ot)}const Yi={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],h.DateAdapter],useFactory:Vi};function xt(Je,Ot){return Je||new fi(Ot)}const bt={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],h.DateAdapter],useFactory:xt},pt=new r.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let qt=(()=>{class Je{constructor(C){this._dateAdapter=C}selectionFinished(C,te){let{start:Ne,end:ot}=te;return null==Ne?Ne=C:null==ot&&C&&this._dateAdapter.compareDate(C,Ne)>=0?ot=C:(Ne=C,ot=null),new _n(Ne,ot)}createPreview(C,te){let Ne=null,ot=null;return te.start&&!te.end&&C&&(Ne=te.start,ot=C),new _n(Ne,ot)}createDrag(C,te,Ne){let ot=te.start,Zt=te.end;if(!ot||!Zt)return null;const Pn=this._dateAdapter,ji=0!==Pn.compareDate(ot,Zt),Pi=Pn.getYear(Ne)-Pn.getYear(C),Li=Pn.getMonth(Ne)-Pn.getMonth(C),Qi=Pn.getDate(Ne)-Pn.getDate(C);return ji&&Pn.sameDate(C,te.start)?(ot=Ne,Pn.compareDate(Ne,Zt)>0&&(Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi))):ji&&Pn.sameDate(C,te.end)?(Zt=Ne,Pn.compareDate(Ne,ot)<0&&(ot=Pn.addCalendarYears(ot,Pi),ot=Pn.addCalendarMonths(ot,Li),ot=Pn.addCalendarDays(ot,Qi))):(ot=Pn.addCalendarYears(ot,Pi),ot=Pn.addCalendarMonths(ot,Li),ot=Pn.addCalendarDays(ot,Qi),Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi)),new _n(ot,Zt)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275inject(h.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();const cn={provide:pt,deps:[[new r.Optional,new r.SkipSelf,pt],h.DateAdapter],useFactory:function nn(Je,Ot){return Je||new qt(Ot)}};let Nn=(()=>{class Je{get activeDate(){return this._activeDate}set activeDate(C){const te=this._activeDate,Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne,ot,Zt){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Ne,this._dir=ot,this._rangeStrategy=Zt,this._rerenderSubscription=_t.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,Ne=this._getDateFromDayOfMonth(te);let ot,Zt;this._selected instanceof _n?(ot=this._getDateInCurrentMonth(this._selected.start),Zt=this._getDateInCurrentMonth(this._selected.end)):ot=Zt=this._getDateInCurrentMonth(this._selected),(ot!==te||Zt!==te)&&this.selectedChange.emit(Ne),this._userSelection.emit({value:Ne,event:C.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case Lt.Ku:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case Lt.VM:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case Lt.K5:case Lt.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&C.preventDefault());case Lt.hY:return void(null!=this._previewEnd&&!(0,Lt.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===Lt.L_||C.keyCode===Lt.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 Ne=te?te.rawValue:null,ot=this._rangeStrategy.createPreview(Ne,this.selected,C);if(this._previewStart=this._getCellCompareValue(ot.start),this._previewEnd=this._getCellCompareValue(ot.end),this.activeDrag&&Ne){const Zt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Ne,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 ot=this._dateAdapter.getDayOfWeekNames("long").map((Zt,Pn)=>({long:Zt,narrow:te[Pn]}));this._weekdays=ot.slice(C).concat(ot.slice(0,C))}_createWeekCells(){const C=this._dateAdapter.getNumDaysInMonth(this.activeDate),te=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Ne=0,ot=this._firstWeekOffset;Ne=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),Ne=this._dateAdapter.getMonth(C),ot=this._dateAdapter.getDate(C);return new Date(te,Ne,ot).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(h.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(Le.Is,8),r.\u0275\u0275directiveInject(pt,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-month-view"]],viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(nt,5),2&C){let Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._matCalendarBody=Ne.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,ut,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(ot){return te._dateSelected(ot)})("activeDateChange",function(ot){return te._updateActiveDate(ot)})("previewChange",function(ot){return te._previewChanged(ot)})("dragStarted",function(ot){return te.dragStarted.emit(ot)})("dragEnded",function(ot){return te._dragEnded(ot)})("keyup",function(ot){return te._handleCalendarBodyKeyup(ot)})("keydown",function(ot){return te._handleCalendarBodyKeydown(ot)}),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,nt],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 Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne){this._changeDetectorRef=C,this._dateAdapter=te,this._dir=Ne,this._rerenderSubscription=_t.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 Ne=0,ot=[];Nethis._createCellForYear(Zt))),ot=[]);this._changeDetectorRef.markForCheck()}_yearSelected(C){const te=C.value,Ne=this._dateAdapter.createDate(te,0,1),ot=this._getDateFromYear(te);this.yearSelected.emit(Ne),this.selectedChange.emit(ot)}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromYear(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Xn);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xn);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,wn-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case Lt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*-wn:-wn);break;case Lt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*wn:wn);break;case Lt.K5:case Lt.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===Lt.L_||C.keyCode===Lt.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),Ne=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(C,te,1));return this._dateAdapter.createDate(C,te,Math.min(this._dateAdapter.getDate(this.activeDate),Ne))}_createCellForYear(C){const te=this._dateAdapter.createDate(C,0,1),Ne=this._dateAdapter.getYearName(te),ot=this.dateClass?this.dateClass(te,"multi-year"):void 0;return new Q(C,Ne,Ne,this._shouldEnableYear(C),ot)}_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 Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne,ot){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Ne,this._dir=ot,this._rerenderSubscription=_t.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,Ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,1);this.monthSelected.emit(Ne);const ot=this._getDateFromMonth(te);this.selectedChange.emit(ot)}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromMonth(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case Lt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?-10:-1);break;case Lt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10:1);break;case Lt.K5:case Lt.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===Lt.L_||C.keyCode===Lt.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(Ne=>this._createCellForMonth(Ne,C[Ne]))),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),Ne=this._dateAdapter.getNumDaysInMonth(te);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,Math.min(this._dateAdapter.getDate(this.activeDate),Ne))}_createCellForMonth(C,te){const Ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,1),ot=this._dateAdapter.format(Ne,this._dateFormats.display.monthYearA11yLabel),Zt=this.dateClass?this.dateClass(Ne,"year"):void 0;return new Q(C,te.toLocaleUpperCase(),ot,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 ot=this._dateAdapter.createDate(te,C,1);this._dateAdapter.getMonth(ot)==C;ot=this._dateAdapter.addCalendarDays(ot,1))if(this.dateFilter(ot))return!0;return!1}_isYearAndMonthAfterMaxDate(C,te){if(this.maxDate){const Ne=this._dateAdapter.getYear(this.maxDate),ot=this._dateAdapter.getMonth(this.maxDate);return C>Ne||C===Ne&&te>ot}return!1}_isYearAndMonthBeforeMinDate(C,te){if(this.minDate){const Ne=this._dateAdapter.getYear(this.minDate),ot=this._dateAdapter.getMonth(this.minDate);return C{class Je{constructor(C,te,Ne,ot,Zt){this._intl=C,this.calendar=te,this._dateAdapter=Ne,this._dateFormats=ot,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),Ne=te+wn-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(te,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Ne,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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Pe,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,Ne,ot){this._dateAdapter=te,this._dateFormats=Ne,this._changeDetectorRef=ot,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 Nt.x,this._intlChanges=C.changes.subscribe(()=>{ot.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,Ne=C.maxDate&&!this._dateAdapter.sameDate(C.maxDate.previousValue,C.maxDate.currentValue)?C.maxDate:void 0,ot=te||Ne||C.dateFilter;if(ot&&!ot.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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.monthView=Ne.first),r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.yearView=Ne.first),r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.multiYearView=Ne.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,mt,0,0,"ng-template",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275template(2,Pt,1,11,"mat-month-view",2),r.\u0275\u0275template(3,Ft,1,6,"mat-year-view",3),r.\u0275\u0275template(4,Gt,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},Mt=(0,h.mixinColor)(class{constructor(Je){this._elementRef=Je}});let jt=(()=>{class Je extends Mt{constructor(C,te,Ne,ot,Zt,Pn){super(C),this._changeDetectorRef=te,this._globalModel=Ne,this._dateAdapter=ot,this._rangeSelectionStrategy=Zt,this._subscriptions=new _t.w0,this._animationDone=new Nt.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,Ne=C.value,ot=te instanceof _n;if(ot&&this._rangeSelectionStrategy){const Zt=this._rangeSelectionStrategy.selectionFinished(Ne,te,C.event);this._model.updateSelection(Zt,this)}else Ne&&(ot||!this._dateAdapter.sameDate(Ne,te))&&this._model.add(Ne);(!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(h.DateAdapter),r.\u0275\u0275directiveInject(pt,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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._calendar=Ne.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(C,te){1&C&&r.\u0275\u0275syntheticHostListener("@transformPanel.start",function(ot){return te._handleAnimationEvent(ot)})("@transformPanel.done",function(ot){return te._handleAnimationEvent(ot)}),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(ot){return te.datepicker._selectYear(ot)})("monthSelected",function(ot){return te.datepicker._selectMonth(ot)})("viewChanged",function(ot){return te.datepicker._viewChanged(ot)})("_userSelection",function(ot){return te._handleUserSelection(ot)})("_userDragDrop",function(ot){return te._handleUserDragDrop(ot)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(2,Oe,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 Ne;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!==(Ne=te._dialogLabelId)&&void 0!==Ne?Ne: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,Ne,ot,Zt,Pn,ji){this._overlay=C,this._ngZone=te,this._viewContainerRef=Ne,this._dateAdapter=Zt,this._dir=Pn,this._model=ji,this._inputStateChanges=_t.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 Nt.x,this._scrollStrategy=ot}ngOnChanges(C){const te=C.xPosition||C.yPosition;if(te&&!te.firstChange&&this._overlayRef){const Ne=this._overlayRef.getConfig().positionStrategy;Ne instanceof c._G&&(this._setConnectedPositions(Ne),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,f.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:Ne,location:ot}=this._componentRef;Ne._startExitAnimation(),Ne._animationDone.pipe((0,lt.q)(1)).subscribe(()=>{const Zt=this._document.activeElement;C&&(!Zt||Zt===this._document.activeElement||ot.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),Ne=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(Ne).subscribe(ot=>{ot&&ot.preventDefault(),this.close()}),Ne.keydownEvents().subscribe(ot=>{const Zt=ot.keyCode;(Zt===Lt.LH||Zt===Lt.JH||Zt===Lt.oh||Zt===Lt.SV||Zt===Lt.Ku||Zt===Lt.VM)&&ot.preventDefault()}),this._componentRef=Ne.attach(te),this._forwardContentValues(this._componentRef.instance),C||this._ngZone.onStable.pipe((0,lt.q)(1)).subscribe(()=>Ne.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",Ne="start"===te?"end":"start",ot="above"===this.yPosition?"bottom":"top",Zt="top"===ot?"bottom":"top";return C.withPositions([{originX:te,originY:Zt,overlayX:te,overlayY:ot},{originX:te,originY:ot,overlayX:te,overlayY:Zt},{originX:Ne,originY:Zt,overlayX:Ne,overlayY:ot},{originX:Ne,originY:ot,overlayX:Ne,overlayY:Zt}])}_getCloseStream(C){const te=["ctrlKey","shiftKey","metaKey"];return(0,Bt.T)(C.backdropClick(),C.detachments(),C.keydownEvents().pipe((0,at.h)(Ne=>Ne.keyCode===Lt.hY&&!(0,Lt.Vb)(Ne)||this.datepickerInput&&(0,Lt.Vb)(Ne,"altKey")&&Ne.keyCode===Lt.LH&&te.every(ot=>!(0,Lt.Vb)(Ne,ot)))))}}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(h.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 Ot;return function(te){return(Ot||(Ot=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(Ot,C){this.target=Ot,this.targetElement=C,this.value=this.target.value}}let se=(()=>{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),Ne=this._elementRef.nativeElement;this._disabled!==te&&(this._disabled=te,this.stateChanges.next(void 0)),te&&this._isInitialized&&Ne.blur&&Ne.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 Ne=this._getValueFromModel(te.selection);this._lastValueValid=this._isValidValue(Ne),this._cvaOnChange(Ne),this._onTouched(),this._formatValue(Ne),this.dateInput.emit(new me(this,this._elementRef.nativeElement)),this.dateChange.emit(new me(this,this._elementRef.nativeElement))}})}constructor(C,te,Ne){this._elementRef=C,this._dateAdapter=te,this._dateFormats=Ne,this.dateChange=new r.EventEmitter,this.dateInput=new r.EventEmitter,this.stateChanges=new Nt.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=_t.w0.EMPTY,this._localeSubscription=_t.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value));return!Zt||this._matchesFilter(Zt)?null:{matDatepickerFilter:!0}},this._minValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value)),Pn=this._getMinDate();return!Pn||!Zt||this._dateAdapter.compareDate(Pn,Zt)<=0?null:{matDatepickerMin:{min:Pn,actual:Zt}}},this._maxValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.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,Lt.Vb)(C,"altKey")&&C.keyCode===Lt.JH&&["ctrlKey","shiftKey","metaKey"].every(ot=>!(0,Lt.Vb)(C,ot))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),C.preventDefault())}_onInput(C){const te=this._lastValueValid;let Ne=this._dateAdapter.parse(C,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Ne),Ne=this._dateAdapter.getValidDateOrNull(Ne);const ot=!this._dateAdapter.sameDate(Ne,this.value);!Ne||ot?this._cvaOnChange(Ne):(C&&!this.value&&this._cvaOnChange(Ne),te!==this._lastValueValid&&this._validatorOnChange()),ot&&(this._assignValue(Ne),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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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,Ot){const C=Object.keys(Je);for(let te of C){const{previousValue:Ne,currentValue:ot}=Je[te];if(!Ot.isDateInstance(Ne)||!Ot.isDateInstance(ot))return!0;if(!Ot.sameDate(Ne,ot))return!0}return!1}const kt={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 se{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,Ne,ot){super(C,te,Ne),this._formField=ot,this._closedSubscription=_t.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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("blur",function(){return te._onBlur()})("keydown",function(ot){return te._onKeydown(ot)}),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([kt,Wt,{provide:K.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,Ne){this._intl=C,this._changeDetectorRef=te,this._stateChanges=_t.w0.EMPTY;const ot=Number(Ne);this.tabIndex=ot||0===ot?ot: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)(),Ne=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,Ne).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,Ne){if(1&C&&r.\u0275\u0275contentQuery(Ne,gn,5),2&C){let ot;r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._customIcon=ot.first)}},viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(Ke,5),2&C){let Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._button=Ne.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("click",function(ot){return te._open(ot)}),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:ct,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(ge),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275template(2,he,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,Ot){if(jn(Je)&&Ot){const te=(Je.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((Ne,ot)=>{const Zt=document.getElementById(ot);return Zt&&Ne.push(Zt),Ne},[]);if(te.length)return te.map(Ne=>Ti(Ne,!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(Ne=>Ti(Ne,!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,h.mixinErrorState)((()=>{class Je extends se{constructor(C,te,Ne,ot,Zt,Pn,ji,Pi){super(te,ji,Pi),this._rangeInput=C,this._elementRef=te,this._defaultErrorStateMatcher=Ne,this._injector=ot,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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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,Ne,ot,Zt,Pn,ji,Pi){super(C,te,Ne,ot,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,Ne=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;(C.keyCode===Lt.SV&&ot||C.keyCode===Lt.oh&&!ot)&&Ne.selectionStart===Ne.value.length&&Ne.selectionEnd===Ne.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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("keydown",function(ot){return te._onKeydown(ot)})("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,Ne,ot,Zt,Pn,ji,Pi){super(C,te,Ne,ot,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,Ne=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;if(C.keyCode!==Lt.ZH||Ne.value)if((C.keyCode===Lt.oh&&ot||C.keyCode===Lt.SV&&!ot)&&0===Ne.selectionStart&&0===Ne.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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("keydown",function(ot){return te._onKeydown(ot)})("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,Ne=this._endInput,ot=te&&te._matchesFilter(te.value),Zt=Ne&&Ne._matchesFilter(te.value);this._dateFilter=C,te&&te._matchesFilter(te.value)!==ot&&te._validatorOnChange(),Ne&&Ne._matchesFilter(Ne.value)!==Zt&&Ne._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,Ne,ot,Zt){this._changeDetectorRef=C,this._elementRef=te,this._dateAdapter=ot,this._formField=Zt,this._closedSubscription=_t.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 Nt.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=Ne}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(h.DateAdapter,8),r.\u0275\u0275directiveInject(ne.G_,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-input"]],contentQueries:function(C,te,Ne){if(1&C&&(r.\u0275\u0275contentQuery(Ne,Cn,5),r.\u0275\u0275contentQuery(Ne,tn,5)),2&C){let ot;r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._startInput=ot.first),r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._endInput=ot.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(Me),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275listener("cdkFocusChange",function(ot){return te._updateFocus(ot)}),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 Ot;return function(te){return(Ot||(Ot=r.\u0275\u0275getInheritedFactory(Je)))(te||Je)}}(),Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[r.\u0275\u0275ProvidersFeature([bt,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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._template=Ne.first)}},ngContentSelectors:Pe,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,h.MatCommonModule,Ct.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 f{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 f.\u0275fac=function(u){return new(u||f)},f.\u0275cmp=n.\u0275\u0275defineComponent({type:f,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}),f})(),r=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=n.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=n.\u0275\u0275defineInjector({imports:[d.MatCommonModule,d.MatCommonModule]}),f})()},1043:(Ie,B,a)=>{"use strict";a.d(B,{Bi:()=>Bt,Eo:()=>Nt,G_:()=>Lt,Lv:()=>Tt,Px:()=>Ee,TN:()=>Ct,UO:()=>_t,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"),Ct={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 Nt=(()=>{class K{}return K.\u0275fac=function(Te){return new(Te||K)},K.\u0275dir=n.\u0275\u0275defineDirective({type:K}),K})();function _t(){return Error("Placeholder attribute and child element were both specified.")}function Bt(K){return Error(`A hint was already declared for 'align="${K}"'.`)}function Tt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const Lt=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:()=>ve,MatIconModule:()=>He,MatIconRegistry:()=>Ce,getMatIconFailedToSanitizeLiteralError:()=>A,getMatIconFailedToSanitizeUrlError:()=>ie,getMatIconNameNotFoundError:()=>$,getMatIconNoHttpProviderError:()=>ee});var n=a(5879),c=a(3680),d=a(2495),g=a(6814),r=a(2096),f=a(8504),h=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,Ge,tt){this.url=Qe,this.svgText=Ge,this.options=tt}}let Ce=(()=>{class Ze{constructor(Ge,tt,Ct,Nt){this._httpClient=Ge,this._sanitizer=tt,this._errorHandler=Nt,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=Ct}addSvgIcon(Ge,tt,Ct){return this.addSvgIconInNamespace("",Ge,tt,Ct)}addSvgIconLiteral(Ge,tt,Ct){return this.addSvgIconLiteralInNamespace("",Ge,tt,Ct)}addSvgIconInNamespace(Ge,tt,Ct,Nt){return this._addSvgIconConfig(Ge,tt,new U(Ct,null,Nt))}addSvgIconResolver(Ge){return this._resolvers.push(Ge),this}addSvgIconLiteralInNamespace(Ge,tt,Ct,Nt){const _t=this._sanitizer.sanitize(n.SecurityContext.HTML,Ct);if(!_t)throw A(Ct);const Bt=X(_t);return this._addSvgIconConfig(Ge,tt,new U("",Bt,Nt))}addSvgIconSet(Ge,tt){return this.addSvgIconSetInNamespace("",Ge,tt)}addSvgIconSetLiteral(Ge,tt){return this.addSvgIconSetLiteralInNamespace("",Ge,tt)}addSvgIconSetInNamespace(Ge,tt,Ct){return this._addSvgIconSetConfig(Ge,new U(tt,null,Ct))}addSvgIconSetLiteralInNamespace(Ge,tt,Ct){const Nt=this._sanitizer.sanitize(n.SecurityContext.HTML,tt);if(!Nt)throw A(tt);const _t=X(Nt);return this._addSvgIconSetConfig(Ge,new U("",_t,Ct))}registerFontClassAlias(Ge,tt=Ge){return this._fontCssClassesByAlias.set(Ge,tt),this}classNameForFontAlias(Ge){return this._fontCssClassesByAlias.get(Ge)||Ge}setDefaultFontSetClass(...Ge){return this._defaultFontSetClass=Ge,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ge){const tt=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Ge);if(!tt)throw ie(Ge);const Ct=this._cachedIconsByUrl.get(tt);return Ct?(0,r.of)(de(Ct)):this._loadSvgIconFromConfig(new U(Ge,null)).pipe((0,v.b)(Nt=>this._cachedIconsByUrl.set(tt,Nt)),(0,b.U)(Nt=>de(Nt)))}getNamedSvgIcon(Ge,tt=""){const Ct=H(tt,Ge);let Nt=this._svgIconConfigs.get(Ct);if(Nt)return this._getSvgFromConfig(Nt);if(Nt=this._getIconConfigFromResolvers(tt,Ge),Nt)return this._svgIconConfigs.set(Ct,Nt),this._getSvgFromConfig(Nt);const _t=this._iconSetConfigs.get(tt);return _t?this._getSvgFromIconSetConfigs(Ge,_t):(0,f._)($(Ct))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ge){return Ge.svgText?(0,r.of)(de(this._svgElementFromConfig(Ge))):this._loadSvgIconFromConfig(Ge).pipe((0,b.U)(tt=>de(tt)))}_getSvgFromIconSetConfigs(Ge,tt){const Ct=this._extractIconWithNameFromAnySet(Ge,tt);if(Ct)return(0,r.of)(Ct);const Nt=tt.filter(_t=>!_t.svgText).map(_t=>this._loadSvgIconSetFromConfig(_t).pipe((0,p.K)(Bt=>{const Lt=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,_t.url)} failed: ${Bt.message}`;return this._errorHandler.handleError(new Error(Lt)),(0,r.of)(null)})));return(0,h.D)(Nt).pipe((0,b.U)(()=>{const _t=this._extractIconWithNameFromAnySet(Ge,tt);if(!_t)throw $(Ge);return _t}))}_extractIconWithNameFromAnySet(Ge,tt){for(let Ct=tt.length-1;Ct>=0;Ct--){const Nt=tt[Ct];if(Nt.svgText&&Nt.svgText.toString().indexOf(Ge)>-1){const _t=this._svgElementFromConfig(Nt),Bt=this._extractSvgIconFromSet(_t,Ge,Nt.options);if(Bt)return Bt}}return null}_loadSvgIconFromConfig(Ge){return this._fetchIcon(Ge).pipe((0,v.b)(tt=>Ge.svgText=tt),(0,b.U)(()=>this._svgElementFromConfig(Ge)))}_loadSvgIconSetFromConfig(Ge){return Ge.svgText?(0,r.of)(null):this._fetchIcon(Ge).pipe((0,v.b)(tt=>Ge.svgText=tt))}_extractSvgIconFromSet(Ge,tt,Ct){const Nt=Ge.querySelector(`[id="${tt}"]`);if(!Nt)return null;const _t=Nt.cloneNode(!0);if(_t.removeAttribute("id"),"svg"===_t.nodeName.toLowerCase())return this._setSvgAttributes(_t,Ct);if("symbol"===_t.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(_t),Ct);const Bt=this._svgElementFromString(X(""));return Bt.appendChild(_t),this._setSvgAttributes(Bt,Ct)}_svgElementFromString(Ge){const tt=this._document.createElement("DIV");tt.innerHTML=Ge;const Ct=tt.querySelector("svg");if(!Ct)throw Error(" tag not found");return Ct}_toSvgElement(Ge){const tt=this._svgElementFromString(X("")),Ct=Ge.attributes;for(let Nt=0;NtX(Lt)),(0,_.x)(()=>this._inProgressUrlFetches.delete(_t)),(0,l.B)());return this._inProgressUrlFetches.set(_t,Tt),Tt}_addSvgIconConfig(Ge,tt,Ct){return this._svgIconConfigs.set(H(Ge,tt),Ct),this}_addSvgIconSetConfig(Ge,tt){const Ct=this._iconSetConfigs.get(Ge);return Ct?Ct.push(tt):this._iconSetConfigs.set(Ge,[tt]),this}_svgElementFromConfig(Ge){if(!Ge.svgElement){const tt=this._svgElementFromString(Ge.svgText);this._setSvgAttributes(tt,Ge.options),Ge.svgElement=tt}return Ge.svgElement}_getIconConfigFromResolvers(Ge,tt){for(let Ct=0;CtQe?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(", "),ae=/^url\(['"]?#(.*?)['"]?\)$/;let ve=(()=>{class Ze extends pe{get inline(){return this._inline}set inline(Ge){this._inline=(0,d.Ig)(Ge)}get svgIcon(){return this._svgIcon}set svgIcon(Ge){Ge!==this._svgIcon&&(Ge?this._updateSvgIcon(Ge):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ge)}get fontSet(){return this._fontSet}set fontSet(Ge){const tt=this._cleanupFontValue(Ge);tt!==this._fontSet&&(this._fontSet=tt,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ge){const tt=this._cleanupFontValue(Ge);tt!==this._fontIcon&&(this._fontIcon=tt,this._updateFontIconClasses())}constructor(Ge,tt,Ct,Nt,_t,Bt){super(Ge),this._iconRegistry=tt,this._location=Nt,this._errorHandler=_t,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)),Ct||Ge.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Ge){if(!Ge)return["",""];const tt=Ge.split(":");switch(tt.length){case 1:return["",tt[0]];case 2:return tt;default:throw Error(`Invalid icon name: "${Ge}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ge=this._elementsWithExternalReferences;if(Ge&&Ge.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(Ge){this._clearSvgElement();const tt=this._location.getPathname();this._previousPath=tt,this._cacheChildrenWithExternalReferences(Ge),this._prependPathToReferences(tt),this._elementRef.nativeElement.appendChild(Ge)}_clearSvgElement(){const Ge=this._elementRef.nativeElement;let tt=Ge.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();tt--;){const Ct=Ge.childNodes[tt];(1!==Ct.nodeType||"svg"===Ct.nodeName.toLowerCase())&&Ct.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ge=this._elementRef.nativeElement,tt=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ct=>Ct.length>0);this._previousFontSetClass.forEach(Ct=>Ge.classList.remove(Ct)),tt.forEach(Ct=>Ge.classList.add(Ct)),this._previousFontSetClass=tt,this.fontIcon!==this._previousFontIconClass&&!tt.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ge.classList.remove(this._previousFontIconClass),this.fontIcon&&Ge.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ge){return"string"==typeof Ge?Ge.trim().split(" ")[0]:Ge}_prependPathToReferences(Ge){const tt=this._elementsWithExternalReferences;tt&&tt.forEach((Ct,Nt)=>{Ct.forEach(_t=>{Nt.setAttribute(_t.name,`url('${Ge}#${_t.value}')`)})})}_cacheChildrenWithExternalReferences(Ge){const tt=Ge.querySelectorAll(re),Ct=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Nt=0;Nt{const Bt=tt[Nt],Tt=Bt.getAttribute(_t),Lt=Tt?Tt.match(ae):null;if(Lt){let Le=Ct.get(Bt);Le||(Le=[],Ct.set(Bt,Le)),Le.push({name:_t,value:Lt[1]})}})}_updateSvgIcon(Ge){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ge){const[tt,Ct]=this._splitIconName(Ge);tt&&(this._svgNamespace=tt),Ct&&(this._svgName=Ct),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ct,tt).pipe((0,y.q)(1)).subscribe(Nt=>this._setSvgElement(Nt),Nt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${tt}:${Ct}! ${Nt.message}`))})}}}return Ze.\u0275fac=function(Ge){return new(Ge||Ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Ce),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(Ge,tt){2&Ge&&(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(Ge,tt){1&Ge&&(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(Ge){return new(Ge||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),f=a(3680),h=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,f.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,Ce,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,de=Ae.nodeName.toLowerCase();this._inputValueAccessor=A||Ae,this._previousNativeValue=this.value,this.id=this.id,I.IOS&&Ce.runOutsideAngular(()=>{E.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===de,this._isTextarea="textarea"===de,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(f.ErrorStateMatcher),g.\u0275\u0275directiveInject(b,10),g.\u0275\u0275directiveInject(d.Lq),g.\u0275\u0275directiveInject(g.NgZone),g.\u0275\u0275directiveInject(h.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:h.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:()=>Ct,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Nt,MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR:()=>ze,MatLegacyAutocomplete:()=>lt,MatLegacyAutocompleteModule:()=>oe,MatLegacyAutocompleteOrigin:()=>N,MatLegacyAutocompleteSelectedEvent:()=>Ee,MatLegacyAutocompleteTrigger:()=>at,getMatLegacyAutocompleteMissingPanelError:()=>Ge});var n=a(5879),c=a(3680),d=a(4678),g=a(6814),r=a(6672),f=a(9594),h=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),Ce=a(9397),Re=a(7547),Ae=a(9388);const de=["panel"];let we=0;class Ee{constructor(ne,K){this.source=ne,this.option=K}}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 ae=(()=>{class Y extends Be{get isOpen(){return this._isOpen&&this.showPanel}_setColor(K){this._color=K,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(K){this._autoActiveFirstOption=(0,u.Ig)(K)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(K){this._autoSelectActiveOption=(0,u.Ig)(K)}set classList(K){this._classList=K&&K.length?(0,u.du)(K).reduce((ce,Te)=>(ce[Te]=!0,ce),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(K,ce,Te,et){super(),this._changeDetectorRef=K,this._elementRef=ce,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=et?.SAFARI||!1,this._autoActiveFirstOption=!!Te.autoActiveFirstOption,this._autoSelectActiveOption=!!Te.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new h.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(K=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[K]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(K){this.panel&&(this.panel.nativeElement.scrollTop=K)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(K){const ce=new Ee(this,K);this.optionSelected.emit(ce)}_getPanelAriaLabelledby(K){return this.ariaLabel?null:this.ariaLabelledby?(K?K+" ":"")+this.ariaLabelledby:K}_setVisibilityClasses(K){K[this._visibleClass]=this.showPanel,K[this._hiddenClass]=!this.showPanel}_setThemeClasses(K){K["mat-primary"]="primary"===this._color,K["mat-warn"]="warn"===this._color,K["mat-accent"]="accent"===this._color}_skipPredicate(K){return K.disabled}}return Y.\u0275fac=function(K){return new(K||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(K,ce){if(1&K&&(n.\u0275\u0275viewQuery(n.TemplateRef,7),n.\u0275\u0275viewQuery(de,5)),2&K){let Te;n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ce.template=Te.first),n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ce.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(K){this.elementRef=K}}return Y.\u0275fac=function(K){return new(K||Y)(n.\u0275\u0275directiveInject(n.ElementRef))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y}),Y})();function Ge(){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 Ct(Y){return()=>Y.scrollStrategies.reposition()}const Nt={provide:tt,deps:[f.aV],useFactory:Ct};let _t=(()=>{class Y{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(K){this._autocompleteDisabled=(0,u.Ig)(K)}constructor(K,ce,Te,et,Dt,_e,ut,Pe,mt,Pt,Ft){this._element=K,this._overlay=ce,this._viewContainerRef=Te,this._zone=et,this._changeDetectorRef=Dt,this._dir=ut,this._formField=Pe,this._document=mt,this._viewportRuler=Pt,this._defaults=Ft,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 Gt=this.autocomplete?this.autocomplete.options:null;return Gt?Gt.changes.pipe((0,$.O)(Gt),(0,ee.w)(()=>(0,y.T)(...Gt.map(Oe=>Oe.onSelectionChange)))):this._zone.onStable.pipe((0,ie.q)(1),(0,ee.w)(()=>this.optionSelections))}),this._handlePanelKeydown=Gt=>{(Gt.keyCode===S.hY&&!(0,S.Vb)(Gt)||Gt.keyCode===S.LH&&(0,S.Vb)(Gt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Gt.stopPropagation(),Gt.preventDefault())},this._trackedModal=null,this._scrollStrategy=_e}ngAfterViewInit(){const K=this._getWindow();typeof K<"u"&&this._zone.runOutsideAngular(()=>K.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(K){K.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const K=this._getWindow();typeof K<"u"&&K.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)(K=>K instanceof c.MatOptionSelectionChange?K: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)(K=>{const ce=(0,v.sA)(K),Te=this._formField?this._formField._elementRef.nativeElement:null,et=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&ce!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Te||!Te.contains(ce))&&(!et||!et.contains(ce))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(ce)}))}writeValue(K){Promise.resolve(null).then(()=>this._assignOptionValue(K))}registerOnChange(K){this._onChange=K}registerOnTouched(K){this._onTouched=K}setDisabledState(K){this._element.nativeElement.disabled=K}_handleKeydown(K){const ce=K.keyCode,Te=(0,S.Vb)(K);if(ce===S.hY&&!Te&&K.preventDefault(),this.activeOption&&ce===S.K5&&this.panelOpen&&!Te)this.activeOption._selectViaInteraction(),this._resetActiveItem(),K.preventDefault();else if(this.autocomplete){const et=this.autocomplete._keyManager.activeItem,Dt=ce===S.LH||ce===S.JH;ce===S.Mf||Dt&&!Te&&this.panelOpen?this.autocomplete._keyManager.onKeydown(K):Dt&&this._canOpen()&&this.openPanel(),(Dt||this.autocomplete._keyManager.activeItem!==et)&&(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(K){let ce=K.target,Te=ce.value;"number"===ce.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===K.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(K=!1){this._formField&&"auto"===this._formField.floatLabel&&(K?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const K=this._zone.onStable.pipe((0,ie.q)(1)),ce=this.autocomplete.options.changes.pipe((0,Ce.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Re.g)(0));return(0,y.T)(K,ce).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(K){const ce=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(K):K;this._updateNativeInputValue(ce??"")}_updateNativeInputValue(K){this._formField?this._formField._control.value=K:this._element.nativeElement.value=K,this._previousValue=K}_setValueAndClose(K){const ce=K?K.source:this._pendingAutoselectedOption;ce&&(this._clearPreviousSelectedOption(ce),this._assignOptionValue(ce.value),this._onChange(ce.value),this.autocomplete._emitSelectEvent(ce),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(K,ce){this.autocomplete&&this.autocomplete.options&&this.autocomplete.options.forEach(Te=>{Te!==K&&Te.selected&&Te.deselect(ce)})}_attachOverlay(){let K=this._overlayRef;K?(this._positionStrategy.setOrigin(this._getConnectedElement()),K.updateSize({width:this._getPanelWidth()})):(this._portal=new E.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),K=this._overlay.create(this._getOverlayConfig()),this._overlayRef=K,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&K&&K.updateSize({width:this._getPanelWidth()})})),K&&!K.hasAttached()&&(K.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const ce=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&ce!==this.panelOpen&&this.autocomplete.opened.emit()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const K=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=K.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=K.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new f.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const K=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(K),this._positionStrategy=K,K}_setStrategyPositions(K){const ce=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Te=this._aboveClass,et=[{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?et:"below"===this.position?ce:[...ce,...et],K.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 K=this.autocomplete;if(K.autoActiveFirstOption){let ce=-1;for(let Te=0;Te .cdk-overlay-container [aria-modal="true"]');if(!K)return;const ce=this.autocomplete.id;this._trackedModal&&(0,h.iD)(this._trackedModal,"aria-owns",ce),(0,h.Zf)(K,"aria-owns",ce),this._trackedModal=K}_clearFromModal(){this._trackedModal&&((0,h.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return Y.\u0275fac=function(K){return new(K||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(f.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 Lt(Y,ne){if(1&Y&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()),2&Y){const K=ne.id,ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ce.id)("ngClass",ce._classList),n.\u0275\u0275attribute("aria-label",ce.ariaLabel||null)("aria-labelledby",ce._getPanelAriaLabelledby(K))}}const Le=["*"];let lt=(()=>{class Y extends ae{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Y.\u0275fac=function(){let ne;return function(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275cmp=n.\u0275\u0275defineComponent({type:Y,selectors:[["mat-autocomplete"]],contentQueries:function(K,ce,Te){if(1&K&&(n.\u0275\u0275contentQuery(Te,c.MAT_OPTGROUP,5),n.\u0275\u0275contentQuery(Te,d.MatLegacyOption,5)),2&K){let et;n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ce.optionGroups=et),n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ce.options=et)}},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(K,ce){1&K&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,Lt,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 _t{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Y.\u0275fac=function(){let ne;return function(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(K,ce){1&K&&n.\u0275\u0275listener("focusin",function(){return ce._handleFocus()})("blur",function(){return ce._onTouched()})("input",function(et){return ce._handleInput(et)})("keydown",function(et){return ce._handleKeydown(et)})("click",function(){return ce._handleClick()}),2&K&&n.\u0275\u0275attribute("autocomplete",ce.autocompleteAttribute)("role",ce.autocompleteDisabled?null:"combobox")("aria-autocomplete",ce.autocompleteDisabled?null:"list")("aria-activedescendant",ce.panelOpen&&ce.activeOption?ce.activeOption.id:null)("aria-expanded",ce.autocompleteDisabled?null:ce.panelOpen.toString())("aria-owns",ce.autocompleteDisabled||!ce.panelOpen||null==ce.autocomplete?null:ce.autocomplete.id)("aria-haspopup",ce.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(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Y})(),oe=(()=>{class Y{}return Y.\u0275fac=function(K){return new(K||Y)},Y.\u0275mod=n.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=n.\u0275\u0275defineInjector({providers:[Nt],imports:[f.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",""]],"*"],f=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],h=[[["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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(Ce,Re){2&Ce&&n.\u0275\u0275classProp("mat-card-actions-align-end","end"===Re.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),A})(),l=(()=>{class A{}return A.\u0275fac=function(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),A})(),X=(()=>{class A{constructor(Ce){this._animationMode=Ce}}return A.\u0275fac=function(Ce){return new(Ce||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(Ce,Re){2&Ce&&n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Re._animationMode)},exportAs:["matCard"],ngContentSelectors:g,decls:2,vars:0,template:function(Ce,Re){1&Ce&&(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(Ce){return new(Ce||A)},A.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:f,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(Ce,Re){1&Ce&&(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(Ce){return new(Ce||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(Ce,Re){1&Ce&&(n.\u0275\u0275projectionDef(h),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(Ce){return new(Ce||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:()=>Ce,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 f=["input"],h=["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(de){this._elementRef=de}}))));let D=(()=>{class de 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 de.\u0275fac=function(W){c.\u0275\u0275invalidFactory()},de.\u0275dir=c.\u0275\u0275defineDirective({type:de,viewQuery:function(W,pe){if(1&W&&(c.\u0275\u0275viewQuery(f,5),c.\u0275\u0275viewQuery(h,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]}),de})();const E={provide:d.NG_VALIDATORS,useExisting:(0,c.forwardRef)(()=>I),multi:!0};let I=(()=>{class de extends d.CheckboxRequiredValidator{}return de.\u0275fac=function(){let H;return function(pe){return(H||(H=c.\u0275\u0275getInheritedFactory(de)))(pe||de)}}(),de.\u0275dir=c.\u0275\u0275defineDirective({type:de,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[c.\u0275\u0275ProvidersFeature([E]),c.\u0275\u0275InheritDefinitionFeature]}),de})(),X=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=c.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=c.\u0275\u0275defineInjector({}),de})();var ee=a(7131);const ie=function(de){return{enterDuration:de}},A=["*"];class U{}const Ce={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>Re),multi:!0};let Re=(()=>{class de 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 de.\u0275fac=function(W){return new(W||de)(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))},de.\u0275cmp=c.\u0275\u0275defineComponent({type:de,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([Ce]),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}),de})(),Ae=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=c.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=c.\u0275\u0275defineInjector({imports:[g.MatRippleModule,g.MatCommonModule,ee.Q8,X,g.MatCommonModule,X]}),de})()},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 f(_,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 h(_,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,f,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1,2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(4,h,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:()=>Ge,MatLegacyFormFieldControl:()=>r.Eo,MatLegacyFormFieldModule:()=>Nt,MatLegacyHint:()=>Be,MatLegacyLabel:()=>G,MatLegacyPlaceholder:()=>re,MatLegacyPrefix:()=>tt,MatLegacySuffix:()=>Ct,_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),f=a(9388),h=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(_t,Bt){1&_t&&(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(_t,Bt){if(1&_t){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&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("cdkObserveContentDisabled","outline"!=Tt.appearance)}}function X(_t,Bt){if(1&_t&&(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&_t){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(Tt._control.placeholder)}}function $(_t,Bt){1&_t&&d.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function ee(_t,Bt){1&_t&&(d.\u0275\u0275elementStart(0,"span",23),d.\u0275\u0275text(1," *"),d.\u0275\u0275elementEnd())}function ie(_t,Bt){if(1&_t){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&_t){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(_t,Bt){1&_t&&(d.\u0275\u0275elementStart(0,"div",24),d.\u0275\u0275projection(1,4),d.\u0275\u0275elementEnd())}function U(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div",25),d.\u0275\u0275element(1,"span",26),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275classProp("mat-accent","accent"==Tt.color)("mat-warn","warn"==Tt.color)}}function Ce(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div"),d.\u0275\u0275projection(1,5),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState)}}function Re(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div",30),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("id",Tt._hintLabelId),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Tt.hintLabel)}}function Ae(_t,Bt){if(1&_t&&(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&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",Tt.hintLabel)}}const de=["*",[["","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 _t{constructor(Tt,Lt){this.id="mat-error-"+W++,Tt||Lt.nativeElement.setAttribute("aria-live","polite")}}return _t.\u0275fac=function(Tt){return new(Tt||_t)(d.\u0275\u0275injectAttribute("aria-live"),d.\u0275\u0275directiveInject(d.ElementRef))},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(Tt,Lt){2&Tt&&d.\u0275\u0275attribute("id",Lt.id)},inputs:{id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:r.ab,useExisting:_t}])]}),_t})(),we=0;const Ee=new d.InjectionToken("MatHint");let Be=(()=>{class _t{constructor(){this.align="start",this.id="mat-hint-"+we++}}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(Tt,Lt){2&Tt&&(d.\u0275\u0275attribute("id",Lt.id)("align",null),d.\u0275\u0275classProp("mat-form-field-hint-end","end"===Lt.align))},inputs:{align:"align",id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:Ee,useExisting:_t}])]}),_t})(),G=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-label"]]}),_t})(),re=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-placeholder"]]}),_t})(),ae=0;const Ze=(0,g.mixinColor)(class{constructor(_t){this._elementRef=_t}},"primary"),Qe=new d.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ge=(()=>{class _t extends Ze{get appearance(){return this._appearance}set appearance(Tt){const Lt=this._appearance;this._appearance=Tt||this._defaults?.appearance||"legacy","outline"===this._appearance&&Lt!==Tt&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Tt){this._hideRequiredMarker=(0,h.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,Lt,Le,lt,ze,at,N){super(Tt),this._changeDetectorRef=Lt,this._dir=Le,this._defaults=lt,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-"+ae++,this._labelId="mat-form-field-label-"+ae++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==N,this.appearance=lt?.appearance||"legacy",lt&&(this._hideRequiredMarker=!!lt.hideRequiredMarker,lt.color&&(this.color=this.defaultColor=lt.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 Lt=this._control?this._control.ngControl:null;return Lt&&Lt[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 Lt=this._hintChildren?this._hintChildren.find(lt=>"start"===lt.align):null,Le=this._hintChildren?this._hintChildren.find(lt=>"end"===lt.align):null;Lt?Tt.push(Lt.id):this._hintLabel&&Tt.push(this._hintLabelId),Le&&Tt.push(Le.id)}else this._errorChildren&&Tt.push(...this._errorChildren.map(Lt=>Lt.id));this._control.setDescribedByIds(Tt)}}_validateControlChild(){}updateOutlineGap(){const Tt=this._label?this._label.nativeElement:null,Lt=this._connectionContainerRef.nativeElement,Le=".mat-form-field-outline-start",lt=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!Tt||!Tt.children.length||!Tt.textContent.trim()){const Y=Lt.querySelectorAll(`${Le}, ${lt}`);for(let ne=0;ne0?.75*Te+10:0}for(let Y=0;Y{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["","matPrefix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Px,useExisting:_t}])]}),_t})(),Ct=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["","matSuffix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Ve,useExisting:_t}])]}),_t})(),Nt=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275mod=d.\u0275\u0275defineNgModule({type:_t}),_t.\u0275inj=d.\u0275\u0275defineInjector({imports:[c.CommonModule,g.MatCommonModule,n.Q8,g.MatCommonModule]}),_t})()},2400:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_INPUT_VALUE_ACCESSOR:()=>c.Jk,MatLegacyInput:()=>h,MatLegacyInputModule:()=>u,getMatLegacyInputUnsupportedTypeError:()=>c.b7});var n=a(5879),c=a(4516),d=a(1043),g=a(4187),r=a(6263),f=a(3680);let h=(()=>{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:[f.ErrorStateMatcher],imports:[r.Ky,g.MatLegacyFormFieldModule,f.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:()=>de,MAT_LEGACY_MENU_SCROLL_STRATEGY:()=>Nt,MatLegacyMenu:()=>K,MatLegacyMenuContent:()=>et,MatLegacyMenuItem:()=>ce,MatLegacyMenuModule:()=>Dt,MatLegacyMenuTrigger:()=>Te,fadeInLegacyItems:()=>ve,matLegacyMenuAnimations:()=>ae,transformLegacyMenu:()=>He});var n=a(5879),c=a(4300),d=a(2495),g=a(6028),r=a(8645),f=a(3019),h=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(_e,ut){1&_e&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const U=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Ce=["mat-icon, [matMenuItemIcon]","*"],de=new n.InjectionToken("MAT_MENU_PANEL"),H=(0,D.mixinDisableRipple)((0,D.mixinDisabled)(class{}));let W=(()=>{class _e extends H{constructor(Pe,mt,Pt,Ft,Gt){super(),this._elementRef=Pe,this._document=mt,this._focusMonitor=Pt,this._parentMenu=Ft,this._changeDetectorRef=Gt,this.role="menuitem",this._hovered=new r.x,this._focused=new r.x,this._highlighted=!1,this._triggersSubmenu=!1,Ft?.addItem?.(this)}focus(Pe,mt){this._focusMonitor&&Pe?this._focusMonitor.focusVia(this._getHostElement(),Pe,mt):this._getHostElement().focus(mt),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(Pe){this.disabled&&(Pe.preventDefault(),Pe.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Pe=this._elementRef.nativeElement.cloneNode(!0),mt=Pe.querySelectorAll("mat-icon, .material-icons");for(let Pt=0;Pt{class _e{constructor(Pe,mt,Pt,Ft,Gt,Oe,Ke){this._template=Pe,this._componentFactoryResolver=mt,this._appRef=Pt,this._injector=Ft,this._viewContainerRef=Gt,this._document=Oe,this._changeDetectorRef=Ke,this._attached=new r.x}attach(Pe={}){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 mt=this._template.elementRef.nativeElement;mt.parentNode.insertBefore(this._outlet.outletElement,mt),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,Pe),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(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))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e}),_e})();const ae={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)")])])},ve=ae.fadeInItems,He=ae.transformMenu;let Ze=0;const Qe=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function Ge(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let tt=(()=>{class _e{get xPosition(){return this._xPosition}set xPosition(Pe){this._xPosition=Pe,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Pe){this._yPosition=Pe,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Pe){this._overlapTrigger=(0,d.Ig)(Pe)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Pe){this._hasBackdrop=(0,d.Ig)(Pe)}set panelClass(Pe){const mt=this._previousPanelClass;mt&&mt.length&&mt.split(" ").forEach(Pt=>{this._classList[Pt]=!1}),this._previousPanelClass=Pe,Pe&&Pe.length&&(Pe.split(" ").forEach(Pt=>{this._classList[Pt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Pe){this.panelClass=Pe}constructor(Pe,mt,Pt,Ft){this._elementRef=Pe,this._ngZone=mt,this._changeDetectorRef=Ft,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=Pt.overlayPanelClass||"",this._xPosition=Pt.xPosition,this._yPosition=Pt.yPosition,this.backdropClass=Pt.backdropClass,this._overlapTrigger=Pt.overlapTrigger,this._hasBackdrop=Pt.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)(Pe=>(0,f.T)(...Pe.map(mt=>mt._focused)))).subscribe(Pe=>this._keyManager.updateActiveItem(Pe)),this._directDescendantItems.changes.subscribe(Pe=>{const mt=this._keyManager;if("enter"===this._panelAnimationState&&mt.activeItem?._hasFocus()){const Pt=Pe.toArray(),Ft=Math.max(0,Math.min(Pt.length-1,mt.activeItemIndex||0));Pt[Ft]&&!Pt[Ft].disabled?mt.setActiveItem(Ft):mt.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)(mt=>(0,f.T)(...mt.map(Pt=>Pt._hovered))))}addItem(Pe){}removeItem(Pe){}_handleKeydown(Pe){const mt=Pe.keyCode,Pt=this._keyManager;switch(mt){case g.hY:(0,g.Vb)(Pe)||(Pe.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(mt===g.LH||mt===g.JH)&&Pt.setFocusOrigin("keyboard"),void Pt.onKeydown(Pe)}Pe.stopPropagation()}focusFirstItem(Pe="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(()=>{let mt=null;if(this._directDescendantItems.length&&(mt=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!mt||!mt.contains(document.activeElement)){const Pt=this._keyManager;Pt.setFocusOrigin(Pe).setFirstItemActive(),!Pt.activeItem&&mt&&mt.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Pe){const mt=Math.min(this._baseElevation+Pe,24),Pt=`${this._elevationPrefix}${mt}`,Ft=Object.keys(this._classList).find(Gt=>Gt.startsWith(this._elevationPrefix));(!Ft||Ft===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Pt]=!0,this._previousElevation=Pt)}setPositionClasses(Pe=this.xPosition,mt=this.yPosition){const Pt=this._classList;Pt["mat-menu-before"]="before"===Pe,Pt["mat-menu-after"]="after"===Pe,Pt["mat-menu-above"]="above"===mt,Pt["mat-menu-below"]="below"===mt,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Pe){this._animationDone.next(Pe),this._isAnimating=!1}_onAnimationStart(Pe){this._isAnimating=!0,"enter"===Pe.toState&&0===this._keyManager.activeItemIndex&&(Pe.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,b.O)(this._allItems)).subscribe(Pe=>{this._directDescendantItems.reset(Pe.filter(mt=>mt._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,contentQueries:function(Pe,mt,Pt){if(1&Pe&&(n.\u0275\u0275contentQuery(Pt,Be,5),n.\u0275\u0275contentQuery(Pt,W,5),n.\u0275\u0275contentQuery(Pt,W,4)),2&Pe){let Ft;n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt.lazyContent=Ft.first),n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt._allItems=Ft),n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt.items=Ft)}},viewQuery:function(Pe,mt){if(1&Pe&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&Pe){let Pt;n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(mt.templateRef=Pt.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"}}),_e})();const Nt=new n.InjectionToken("mat-menu-scroll-strategy"),Bt={provide:Nt,deps:[$.aV],useFactory:function _t(_e){return()=>_e.scrollStrategies.reposition()}},Tt=(0,ee.i$)({passive:!0});let Le=(()=>{class _e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Pe){this.menu=Pe}get menu(){return this._menu}set menu(Pe){Pe!==this._menu&&(this._menu=Pe,this._menuCloseSubscription.unsubscribe(),Pe&&(this._menuCloseSubscription=Pe.close.subscribe(mt=>{this._destroyMenu(mt),("click"===mt||"tab"===mt)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(mt)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Pe,mt,Pt,Ft,Gt,Oe,Ke,he,ge){this._overlay=Pe,this._element=mt,this._viewContainerRef=Pt,this._menuItemInstance=Oe,this._dir=Ke,this._focusMonitor=he,this._ngZone=ge,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=h.w0.EMPTY,this._hoverSubscription=h.w0.EMPTY,this._menuCloseSubscription=h.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=ct=>{(0,c.yG)(ct)||(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=Ft,this._parentMaterialMenu=Gt instanceof tt?Gt:void 0,mt.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 Pe=this.menu;if(this._menuOpen||!Pe)return;const mt=this._createOverlay(Pe),Pt=mt.getConfig(),Ft=Pt.positionStrategy;this._setPosition(Pe,Ft),Pt.hasBackdrop=null==Pe.hasBackdrop?!this.triggersSubmenu():Pe.hasBackdrop,mt.attach(this._getPortal(Pe)),Pe.lazyContent&&Pe.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Pe),Pe instanceof tt&&(Pe._startAnimation(),Pe._directDescendantItems.changes.pipe((0,l.R)(Pe.close)).subscribe(()=>{Ft.withLockedPosition(!1).reapplyLastPosition(),Ft.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Pe,mt){this._focusMonitor&&Pe?this._focusMonitor.focusVia(this._element,Pe,mt):this._element.nativeElement.focus(mt)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Pe){if(!this._overlayRef||!this.menuOpen)return;const mt=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Pe||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,mt instanceof tt?(mt._resetAnimation(),mt.lazyContent?mt._animationDone.pipe((0,y.h)(Pt=>"void"===Pt.toState),(0,_.q)(1),(0,l.R)(mt.lazyContent._attached)).subscribe({next:()=>mt.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),mt?.lazyContent?.detach())}_initMenu(Pe){Pe.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Pe.direction=this.dir,this._setMenuElevation(Pe),Pe.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Pe){if(Pe.setElevation){let mt=0,Pt=Pe.parentMenu;for(;Pt;)mt++,Pt=Pt.parentMenu;Pe.setElevation(mt)}}_setIsMenuOpen(Pe){Pe!==this._menuOpen&&(this._menuOpen=Pe,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Pe),this._changeDetectorRef.markForCheck())}_createOverlay(Pe){if(!this._overlayRef){const mt=this._getOverlayConfig(Pe);this._subscribeToPositions(Pe,mt.positionStrategy),this._overlayRef=this._overlay.create(mt),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Pe){return new $.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Pe.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Pe.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Pe,mt){Pe.setPositionClasses&&mt.positionChanges.subscribe(Pt=>{const Ft="start"===Pt.connectionPair.overlayX?"after":"before",Gt="top"===Pt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Pe.setPositionClasses(Ft,Gt)):Pe.setPositionClasses(Ft,Gt)})}_setPosition(Pe,mt){let[Pt,Ft]="before"===Pe.xPosition?["end","start"]:["start","end"],[Gt,Oe]="above"===Pe.yPosition?["bottom","top"]:["top","bottom"],[Ke,he]=[Gt,Oe],[ge,ct]=[Pt,Ft],Me=0;if(this.triggersSubmenu()){if(ct=Pt="before"===Pe.xPosition?"start":"end",Ft=ge="end"===Pt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ye=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ye?Ye._getHostElement().offsetTop:0}Me="bottom"===Gt?this._parentInnerPadding:-this._parentInnerPadding}}else Pe.overlapTrigger||(Ke="top"===Gt?"bottom":"top",he="top"===Oe?"bottom":"top");mt.withPositions([{originX:Pt,originY:Ke,overlayX:ge,overlayY:Gt,offsetY:Me},{originX:Ft,originY:Ke,overlayX:ct,overlayY:Gt,offsetY:Me},{originX:Pt,originY:he,overlayX:ge,overlayY:Oe,offsetY:-Me},{originX:Ft,originY:he,overlayX:ct,overlayY:Oe,offsetY:-Me}])}_menuClosingActions(){const Pe=this._overlayRef.backdropClick(),mt=this._overlayRef.detachments(),Pt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,u.of)(),Ft=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,y.h)(Gt=>Gt!==this._menuItemInstance),(0,y.h)(()=>this._menuOpen)):(0,u.of)();return(0,f.T)(Pe,Pt,Ft,mt)}_handleMousedown(Pe){(0,c.X6)(Pe)||(this._openedBy=0===Pe.button?"mouse":void 0,this.triggersSubmenu()&&Pe.preventDefault())}_handleKeydown(Pe){const mt=Pe.keyCode;(mt===g.K5||mt===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(mt===g.SV&&"ltr"===this.dir||mt===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Pe){this.triggersSubmenu()?(Pe.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,y.h)(Pe=>Pe===this._menuItemInstance&&!Pe.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(Pe){return(!this._portal||this._portal.templateRef!==Pe.templateRef)&&(this._portal=new E.UE(Pe.templateRef,this._viewContainerRef)),this._portal}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject($.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Nt),n.\u0275\u0275directiveInject(de,8),n.\u0275\u0275directiveInject(W,10),n.\u0275\u0275directiveInject(X.Is,8),n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(n.NgZone))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,hostVars:3,hostBindings:function(Pe,mt){1&Pe&&n.\u0275\u0275listener("click",function(Ft){return mt._handleClick(Ft)})("mousedown",function(Ft){return mt._handleMousedown(Ft)})("keydown",function(Ft){return mt._handleKeydown(Ft)}),2&Pe&&n.\u0275\u0275attribute("aria-haspopup",mt.menu?"menu":null)("aria-expanded",mt.menuOpen)("aria-controls",mt.menuOpen?mt.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"}}),_e})();var at=a(6672);function N(_e,ut){if(1&_e){const Pe=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._handleKeydown(Pt))})("click",function(){n.\u0275\u0275restoreView(Pe);const Pt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Pt.closed.emit("click"))})("@transformMenu.start",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._onAnimationStart(Pt))})("@transformMenu.done",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._onAnimationDone(Pt))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&_e){const Pe=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",Pe.panelId)("ngClass",Pe._classList)("@transformMenu",Pe._panelAnimationState),n.\u0275\u0275attribute("aria-label",Pe.ariaLabel||null)("aria-labelledby",Pe.ariaLabelledby||null)("aria-describedby",Pe.ariaDescribedby||null)}}const oe=["*"],Y=["mat-menu-item",""];function ne(_e,ut){1&_e&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",2),n.\u0275\u0275element(1,"polygon",3),n.\u0275\u0275elementEnd())}let K=(()=>{class _e extends tt{constructor(Pe,mt,Pt,Ft){super(Pe,mt,Pt,Ft),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:4,hostBindings:function(Pe,mt){2&Pe&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null)},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:de,useExisting:_e}]),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(Pe,mt){1&Pe&&(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:[ae.transformMenu,ae.fadeInItems]},changeDetection:0}),_e})(),ce=(()=>{class _e extends W{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(Pe,mt){2&Pe&&(n.\u0275\u0275attribute("role",mt.role)("tabindex",mt._getTabIndex())("aria-disabled",mt.disabled.toString())("disabled",mt.disabled||null),n.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",mt._highlighted)("mat-menu-item-submenu-trigger",mt._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:_e}]),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(Pe,mt){1&Pe&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275element(1,"div",0),n.\u0275\u0275template(2,ne,2,0,"svg",1)),2&Pe&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleDisabled",mt.disableRipple||mt.disabled)("matRippleTrigger",mt._getHostElement()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",mt._triggersSubmenu))},dependencies:[S.NgIf,D.MatRipple],encapsulation:2,changeDetection:0}),_e})(),Te=(()=>{class _e extends Le{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[n.\u0275\u0275InheritDefinitionFeature]}),_e})(),et=(()=>{class _e extends G{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Be,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]}),_e})(),Dt=(()=>{class _e{}return _e.\u0275fac=function(Pe){return new(Pe||_e)},_e.\u0275mod=n.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=n.\u0275\u0275defineInjector({providers:[Bt],imports:[S.CommonModule,D.MatCommonModule,D.MatRippleModule,$.U8,at.ZD,D.MatCommonModule]}),_e})()},9559:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{LegacyPageEvent:()=>oe,MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS:()=>Oe,MAT_LEGACY_PAGINATOR_INTL_PROVIDER:()=>at,MAT_LEGACY_PAGINATOR_INTL_PROVIDER_FACTORY:()=>ze,MatLegacyPaginator:()=>Ke,MatLegacyPaginatorIntl:()=>lt,MatLegacyPaginatorModule:()=>he,_MatLegacyPaginatorBase:()=>K});var n=a(6814),c=a(5879),d=a(3680),g=a(4505),r=a(1798),f=a(9594),h=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:[f.aV],useFactory:function ie(ge){return()=>ge.scrollStrategies.reposition({scrollThrottle:20})}},Ce=new c.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function U(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Ae="tooltip-panel",de=(0,p.i$)({passive:!0});let Be=(()=>{class ge{get position(){return this._position}set position(Me){Me!==this._position&&(this._position=Me,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Me){this._positionAtOrigin=(0,y.Ig)(Me),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Me){this._disabled=(0,y.Ig)(Me),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(Me){this._showDelay=(0,y.su)(Me)}get hideDelay(){return this._hideDelay}set hideDelay(Me){this._hideDelay=(0,y.su)(Me),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(Me){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=Me?String(Me).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(Me){this._tooltipClass=Me,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve){this._overlay=Me,this._elementRef=Ye,this._scrollDispatcher=De,this._viewContainerRef=F,this._ngZone=V,this._platform=Q,this._ariaDescriber=be,this._focusMonitor=dt,this._dir=qe,this._defaultOptions=nt,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=Rt,this._document=Ve,nt&&(this._showDelay=nt.showDelay,this._hideDelay=nt.hideDelay,nt.position&&(this.position=nt.position),nt.positionAtOrigin&&(this.positionAtOrigin=nt.positionAtOrigin),nt.touchGestures&&(this.touchGestures=nt.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(Me=>{Me?"keyboard"===Me&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Me=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Ye,De])=>{Me.removeEventListener(Ye,De,de)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Me,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Me)}show(Me=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(Me)}hide(Me=this.hideDelay){const Ye=this._tooltipInstance;Ye&&(Ye.isVisible()?Ye.hide(Me):(Ye._cancelPendingAnimations(),this._detach()))}toggle(Me){this._isTooltipVisible()?this.hide():this.show(void 0,Me)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Me){if(this._overlayRef){const F=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!Me)&&F._origin instanceof c.ElementRef)return this._overlayRef;this._detach()}const Ye=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),De=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&Me||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(Me){const Ye=Me.getConfig().positionStrategy,De=this._getOrigin(),F=this._getOverlayPosition();Ye.withPositions([this._addOffset({...De.main,...F.main}),this._addOffset({...De.fallback,...F.fallback})])}_addOffset(Me){return Me}_getOrigin(){const Me=!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&&Me||"right"==Ye&&!Me?De={originX:"start",originY:"center"}:("after"==Ye||"right"==Ye&&Me||"left"==Ye&&!Me)&&(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 Me=!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&&Me||"right"==Ye&&!Me?De={overlayX:"end",overlayY:"center"}:("after"==Ye||"right"==Ye&&Me||"left"==Ye&&!Me)&&(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(Me){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Me,this._tooltipInstance._markForCheck())}_invertPosition(Me,Ye){return"above"===this.position||"below"===this.position?"top"===Ye?Ye="bottom":"bottom"===Ye&&(Ye="top"):"end"===Me?Me="start":"start"===Me&&(Me="end"),{x:Me,y:Ye}}_updateCurrentPositionClass(Me){const{overlayY:Ye,originX:De,originY:F}=Me;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 Q=this._overlayRef;if(Q){const be=`${this._cssClassPrefix}-${Ae}-`;Q.removePanelClass(be+this._currentPosition),Q.addPanelClass(be+V)}this._currentPosition=V}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",Me=>{let Ye;this._setupPointerExitEventsIfNeeded(),void 0!==Me.x&&void 0!==Me.y&&(Ye=Me),this.show(void 0,Ye)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",Me=>{const Ye=Me.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 Me=[];if(this._platformSupportsMouseEvents())Me.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)};Me.push(["touchend",Ye],["touchcancel",Ye])}this._addListeners(Me),this._passiveListeners.push(...Me)}_addListeners(Me){Me.forEach(([Ye,De])=>{this._elementRef.nativeElement.addEventListener(Ye,De,de)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Me){if(this._isTooltipVisible()){const Ye=this._document.elementFromPoint(Me.clientX,Me.clientY),De=this._elementRef.nativeElement;Ye!==De&&!De.contains(Ye)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Me=this.touchGestures;if("off"!==Me){const Ye=this._elementRef.nativeElement,De=Ye.style;("on"===Me||"INPUT"!==Ye.nodeName&&"TEXTAREA"!==Ye.nodeName)&&(De.userSelect=De.msUserSelect=De.webkitUserSelect=De.MozUserSelect="none"),("on"===Me||!Ye.draggable)&&(De.webkitUserDrag="none"),De.touchAction="none",De.webkitTapHighlightColor="transparent"}}}return ge.\u0275fac=function(Me){c.\u0275\u0275invalidFactory()},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,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"]}}),ge})(),re=(()=>{class ge{constructor(Me,Ye){this._changeDetectorRef=Me,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new S.x,this._animationsDisabled="NoopAnimations"===Ye}show(Me){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Me)}hide(Me){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Me)}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:Me}){(!Me||!this._triggerElement.contains(Me))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:Me}){(Me===this._showAnimation||Me===this._hideAnimation)&&this._finalizeAnimation(Me===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Me){Me?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Me){const Ye=this._tooltip.nativeElement,De=this._showAnimation,F=this._hideAnimation;if(Ye.classList.remove(Me?F:De),Ye.classList.add(Me?De:F),this._isVisible=Me,Me&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const V=getComputedStyle(Ye);("0s"===V.getPropertyValue("animation-duration")||"none"===V.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Me&&this._onShow(),this._animationsDisabled&&(Ye.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Me))}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge}),ge})();const Ze=["tooltip"];let Qe=(()=>{class ge extends Be{constructor(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve){super(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve),this._tooltipComponent=Ge}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(f.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(h.$s),c.\u0275\u0275directiveInject(h.tE),c.\u0275\u0275directiveInject(ee),c.\u0275\u0275directiveInject(v.Is,8),c.\u0275\u0275directiveInject(Ce,8),c.\u0275\u0275directiveInject(n.DOCUMENT))},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(Me,Ye){2&Me&&c.\u0275\u0275classProp("mat-tooltip-disabled",Ye.disabled)},exportAs:["matTooltip"],features:[c.\u0275\u0275InheritDefinitionFeature]}),ge})(),Ge=(()=>{class ge extends re{constructor(Me,Ye,De){super(Me,De),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=Ye.observe(b.u3.Handset)}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(b.Yg),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},ge.\u0275cmp=c.\u0275\u0275defineComponent({type:ge,selectors:[["mat-tooltip-component"]],viewQuery:function(Me,Ye){if(1&Me&&c.\u0275\u0275viewQuery(Ze,7),2&Me){let De;c.\u0275\u0275queryRefresh(De=c.\u0275\u0275loadQuery())&&(Ye._tooltip=De.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(Me,Ye){1&Me&&c.\u0275\u0275listener("mouseleave",function(F){return Ye._handleMouseLeave(F)}),2&Me&&(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(Me,Ye){if(1&Me&&(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&Me){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}),ge})(),tt=(()=>{class ge{}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275mod=c.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=c.\u0275\u0275defineInjector({providers:[A],imports:[h.rt,n.CommonModule,f.U8,d.MatCommonModule,d.MatCommonModule,u.ZD]}),ge})(),lt=(()=>{class ge{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=(Me,Ye,De)=>{if(0==De||0==Ye)return`0 of ${De}`;const F=Me*Ye;return`${F+1} \u2013 ${F<(De=Math.max(De,0))?Math.min(F+Ye,De):F+Ye} of ${De}`}}}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275prov=c.\u0275\u0275defineInjectable({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();function ze(ge){return ge||new lt}const at={provide:lt,deps:[[new c.Optional,new c.SkipSelf,lt]],useFactory:ze};class oe{}const ne=(0,d.mixinDisabled)((0,d.mixinInitialized)(class{}));let K=(()=>{class ge extends ne{get pageIndex(){return this._pageIndex}set pageIndex(Me){this._pageIndex=Math.max((0,y.su)(Me),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Me){this._length=(0,y.su)(Me),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Me){this._pageSize=Math.max((0,y.su)(Me),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Me){this._pageSizeOptions=(Me||[]).map(Ye=>(0,y.su)(Ye)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Me){this._hidePageSize=(0,y.Ig)(Me)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Me){this._showFirstLastButtons=(0,y.Ig)(Me)}constructor(Me,Ye,De){if(super(),this._intl=Me,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=Me.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),De){const{pageSize:F,pageSizeOptions:V,hidePageSize:Q,showFirstLastButtons:be}=De;null!=F&&(this._pageSize=F),null!=V&&(this._pageSizeOptions=V),null!=Q&&(this._hidePageSize=Q),null!=be&&(this._showFirstLastButtons=be)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Me=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Me)}previousPage(){if(!this.hasPreviousPage())return;const Me=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Me)}firstPage(){if(!this.hasPreviousPage())return;const Me=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Me)}lastPage(){if(!this.hasNextPage())return;const Me=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Me)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Me=this.getNumberOfPages()-1;return this.pageIndexMe-Ye),this._changeDetectorRef.markForCheck())}_emitPageEvent(Me){this.page.emit({previousPageIndex:Me,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return ge.\u0275fac=function(Me){c.\u0275\u0275invalidFactory()},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[c.\u0275\u0275InheritDefinitionFeature]}),ge})();var Dt=a(4187),_e=a(4678);function ut(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"mat-option",19),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&ge){const Me=ct.$implicit;c.\u0275\u0275property("value",Me),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate1(" ",Me," ")}}function Pe(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),c.\u0275\u0275listener("selectionChange",function(De){c.\u0275\u0275restoreView(Me);const F=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(F._changePageSize(De.value))}),c.\u0275\u0275template(2,ut,2,2,"mat-option",18),c.\u0275\u0275elementEnd()()}if(2&ge){const Me=c.\u0275\u0275nextContext(2);c.\u0275\u0275property("appearance",Me._formFieldAppearance)("color",Me.color),c.\u0275\u0275advance(1),c.\u0275\u0275property("value",Me.pageSize)("disabled",Me.disabled)("panelClass",Me.selectConfig.panelClass||"")("disableOptionCentering",Me.selectConfig.disableOptionCentering)("aria-label",Me._intl.itemsPerPageLabel),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngForOf",Me._displayedPageSizeOptions)}}function mt(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"div",20),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&ge){const Me=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(Me.pageSize)}}function Pt(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"div",12)(1,"div",13),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(3,Pe,3,8,"mat-form-field",14),c.\u0275\u0275template(4,mt,2,1,"div",15),c.\u0275\u0275elementEnd()),2&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate1(" ",Me._intl.itemsPerPageLabel," "),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Me._displayedPageSizeOptions.length>1),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Me._displayedPageSizeOptions.length<=1)}}function Ft(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"button",21),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(Me);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&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",Me._intl.firstPageLabel)("matTooltipDisabled",Me._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Me._previousButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Me._intl.firstPageLabel)}}function Gt(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275namespaceSVG(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(0,"button",23),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(Me);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&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",Me._intl.lastPageLabel)("matTooltipDisabled",Me._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Me._nextButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Me._intl.lastPageLabel)}}const Oe=new c.InjectionToken("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS");let Ke=(()=>{class ge extends K{constructor(Me,Ye,De){super(Me,Ye,De),De&&null!=De.formFieldAppearance&&(this._formFieldAppearance=De.formFieldAppearance)}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(lt),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(Oe,8))},ge.\u0275cmp=c.\u0275\u0275defineComponent({type:ge,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(Me,Ye){1&Me&&(c.\u0275\u0275elementStart(0,"div",0)(1,"div",1),c.\u0275\u0275template(2,Pt,5,3,"div",2),c.\u0275\u0275elementStart(3,"div",3)(4,"div",4),c.\u0275\u0275text(5),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(6,Ft,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,Gt,3,5,"button",11),c.\u0275\u0275elementEnd()()()),2&Me&&(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,_e.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}),ge})(),he=(()=>{class ge{}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275mod=c.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=c.\u0275\u0275defineInjector({providers:[at],imports:[n.CommonModule,g.MatLegacyButtonModule,r.MatLegacySelectModule,tt,d.MatCommonModule]}),ge})()},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:()=>Ce});var n=a(2495),c=a(2831),d=a(6672),g=a(6814),r=a(5879),f=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 de=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+de._spinnerAnimationLabel)("stroke-dashoffset",de._getStrokeDashOffset(),"px")("stroke-dasharray",de._getStrokeCircumference(),"px")("stroke-width",de._getCircleStrokeWidth(),"%")("transform-origin",de._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",de._getCircleRadius())}}function I(Re,Ae){if(1&Re&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275element(0,"circle",4)),2&Re){const de=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("stroke-dashoffset",de._getStrokeDashOffset(),"px")("stroke-dasharray",de._getStrokeCircumference(),"px")("stroke-width",de._getCircleStrokeWidth(),"%")("transform-origin",de._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",de._getCircleRadius())}}const ee=(0,f.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,de,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)),de.isBrowser&&de.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 de=50*(Ae.currentScale??1);return`${de}% ${de}%`}_attachStyleNode(){const Ae=this._styleRoot,de=this._diameter,H=A._diameters;let W=H.get(Ae);if(!W||!W.has(de)){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(de)}}_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,de){2&Ae&&(r.\u0275\u0275attribute("aria-valuemin","determinate"===de.mode?0:null)("aria-valuemax","determinate"===de.mode?100:null)("aria-valuenow","determinate"===de.mode?de.value:null)("mode",de.mode),r.\u0275\u0275styleProp("width",de.diameter,"px")("height",de.diameter,"px"),r.\u0275\u0275classProp("_mat-animation-noopable",de._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,de){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",de.diameter,"px")("height",de.diameter,"px"),r.\u0275\u0275property("ngSwitch","indeterminate"===de.mode),r.\u0275\u0275attribute("viewBox",de._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(de){return new(de||Re)},Re.\u0275mod=r.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=r.\u0275\u0275defineInjector({imports:[f.MatCommonModule,g.CommonModule,f.MatCommonModule]}),Re})();const Ce=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:()=>Ce,MatLegacyRadioChange:()=>b,MatLegacyRadioGroup:()=>U,MatLegacyRadioModule:()=>Re});var n=a(5879),c=a(3680),d=a(4300),g=a(8337),r=a(6223),f=a(2495);const h=["input"];let v=0;class b{constructor(de,H){this.source=de,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,f.Ig)(H),this._markRadiosForCheck()}get required(){return this._required}set required(H){this._required=(0,f.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(de){this._elementRef=de}}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,f.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,f.Ig)(H))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(H){this._required=(0,f.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,f.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(h,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 de;return function(W){return(de||(de=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,Ce,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})(),Ce=(()=>{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:()=>Ge,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Ze,MAT_LEGACY_SELECT_TRIGGER:()=>tt,MatLegacySelect:()=>mt,MatLegacySelectChange:()=>ut,MatLegacySelectModule:()=>Pt,MatLegacySelectTrigger:()=>Pe,matLegacySelectAnimations:()=>ne});var n=a(9594),c=a(6814),d=a(5879),g=a(3680),r=a(4678),f=a(1043),h=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 Ce=["trigger"],Re=["panel"];let ve=0;const He=new d.InjectionToken("mat-select-scroll-strategy");function Ze(Ft){return()=>Ft.scrollStrategies.reposition()}const Qe=new d.InjectionToken("MAT_SELECT_CONFIG"),Ge={provide:He,deps:[n.aV],useFactory:Ze},tt=new d.InjectionToken("MatSelectTrigger"),Nt=(0,g.mixinDisableRipple)((0,g.mixinTabIndex)((0,g.mixinDisabled)((0,g.mixinErrorState)(class{constructor(Ft,Gt,Oe,Ke,he){this._elementRef=Ft,this._defaultErrorStateMatcher=Gt,this._parentForm=Oe,this._parentFormGroup=Ke,this.ngControl=he,this.stateChanges=new x.x}}))));let _t=(()=>{class Ft extends Nt{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Oe){this._placeholder=Oe,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(y.Validators.required)??!1}set required(Oe){this._required=(0,p.Ig)(Oe),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Oe){this._multiple=(0,p.Ig)(Oe)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Oe){this._disableOptionCentering=(0,p.Ig)(Oe)}get compareWith(){return this._compareWith}set compareWith(Oe){this._compareWith=Oe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Oe){this._assignValue(Oe)&&this._onChange(Oe)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Oe){this._typeaheadDebounceInterval=(0,p.su)(Oe)}get id(){return this._id}set id(Oe){this._id=Oe||this._uid,this.stateChanges.next()}constructor(Oe,Ke,he,ge,ct,Me,Ye,De,F,V,Q,be,dt,Rt){super(ct,ge,Ye,De,V),this._viewportRuler=Oe,this._changeDetectorRef=Ke,this._ngZone=he,this._dir=Me,this._parentFormField=F,this._liveAnnouncer=dt,this._defaultOptions=Rt,this._panelOpen=!1,this._compareWith=(qe,nt)=>qe===nt,this._uid="mat-select-"+ve++,this._triggerAriaLabelledBy=null,this._destroy=new x.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ve++,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(nt=>nt.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!=Rt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Rt.typeaheadDebounceInterval),this._scrollStrategyFactory=be,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Q)||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(Oe=>{Oe.added.forEach(Ke=>Ke.select()),Oe.removed.forEach(Ke=>Ke.deselect())}),this.options.changes.pipe((0,E.O)(null),(0,A.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Oe=this._getTriggerAriaLabelledby(),Ke=this.ngControl;if(Oe!==this._triggerAriaLabelledBy){const he=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Oe,Oe?he.setAttribute("aria-labelledby",Oe):he.removeAttribute("aria-labelledby")}Ke&&(this._previousControl!==Ke.control&&(void 0!==this._previousControl&&null!==Ke.disabled&&Ke.disabled!==this.disabled&&(this.disabled=Ke.disabled),this._previousControl=Ke.control),this.updateErrorState())}ngOnChanges(Oe){(Oe.disabled||Oe.userAriaDescribedBy)&&this.stateChanges.next(),Oe.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 Oe=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Oe)return;const Ke=`${this.id}-panel`;this._trackedModal&&(0,v.iD)(this._trackedModal,"aria-owns",Ke),(0,v.Zf)(Oe,"aria-owns",Ke),this._trackedModal=Oe}_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(Oe){this._assignValue(Oe)}registerOnChange(Oe){this._onChange=Oe}registerOnTouched(Oe){this._onTouched=Oe}setDisabledState(Oe){this.disabled=Oe,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 Oe=this._selectionModel.selected.map(Ke=>Ke.viewValue);return this._isRtl()&&Oe.reverse(),Oe.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Oe){this.disabled||(this.panelOpen?this._handleOpenKeydown(Oe):this._handleClosedKeydown(Oe))}_handleClosedKeydown(Oe){const Ke=Oe.keyCode,he=Ke===l.JH||Ke===l.LH||Ke===l.oh||Ke===l.SV,ge=Ke===l.K5||Ke===l.L_,ct=this._keyManager;if(!ct.isTyping()&&ge&&!(0,l.Vb)(Oe)||(this.multiple||Oe.altKey)&&he)Oe.preventDefault(),this.open();else if(!this.multiple){const Me=this.selected;ct.onKeydown(Oe);const Ye=this.selected;Ye&&Me!==Ye&&this._liveAnnouncer.announce(Ye.viewValue,1e4)}}_handleOpenKeydown(Oe){const Ke=this._keyManager,he=Oe.keyCode,ge=he===l.JH||he===l.LH,ct=Ke.isTyping();if(ge&&Oe.altKey)Oe.preventDefault(),this.close();else if(ct||he!==l.K5&&he!==l.L_||!Ke.activeItem||(0,l.Vb)(Oe))if(!ct&&this._multiple&&he===l.A&&Oe.ctrlKey){Oe.preventDefault();const Me=this.options.some(Ye=>!Ye.disabled&&!Ye.selected);this.options.forEach(Ye=>{Ye.disabled||(Me?Ye.select():Ye.deselect())})}else{const Me=Ke.activeItemIndex;Ke.onKeydown(Oe),this._multiple&&ge&&Oe.shiftKey&&Ke.activeItem&&Ke.activeItemIndex!==Me&&Ke.activeItem._selectViaInteraction()}else Oe.preventDefault(),Ke.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(Oe){if(this.options.forEach(Ke=>Ke.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Oe)Array.isArray(Oe),Oe.forEach(Ke=>this._selectOptionByValue(Ke)),this._sortValues();else{const Ke=this._selectOptionByValue(Oe);Ke?this._keyManager.updateActiveItem(Ke):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Oe){const Ke=this.options.find(he=>{if(this._selectionModel.isSelected(he))return!1;try{return null!=he.value&&this._compareWith(he.value,Oe)}catch{return!1}});return Ke&&this._selectionModel.select(Ke),Ke}_assignValue(Oe){return!!(Oe!==this._value||this._multiple&&Array.isArray(Oe))&&(this.options&&this._setSelectionByValue(Oe),this._value=Oe,!0)}_skipPredicate(Oe){return Oe.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 Oe=(0,S.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,A.R)(Oe)).subscribe(Ke=>{this._onSelect(Ke.source,Ke.isUserInput),Ke.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,S.T)(...this.options.map(Ke=>Ke._stateChanges)).pipe((0,A.R)(Oe)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Oe,Ke){const he=this._selectionModel.isSelected(Oe);null!=Oe.value||this._multiple?(he!==Oe.selected&&(Oe.selected?this._selectionModel.select(Oe):this._selectionModel.deselect(Oe)),Ke&&this._keyManager.setActiveItem(Oe),this.multiple&&(this._sortValues(),Ke&&this.focus())):(Oe.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Oe.value)),he!==this._selectionModel.isSelected(Oe)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Oe=this.options.toArray();this._selectionModel.sort((Ke,he)=>this.sortComparator?this.sortComparator(Ke,he,Oe):Oe.indexOf(Ke)-Oe.indexOf(he)),this.stateChanges.next()}}_propagateChanges(Oe){let Ke=null;Ke=this.multiple?this.selected.map(he=>he.value):this.selected?this.selected.value:Oe,this._value=Ke,this.valueChange.emit(Ke),this._onChange(Ke),this.selectionChange.emit(this._getChangeEvent(Ke)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Oe=-1;for(let Ke=0;Ke0}focus(Oe){this._elementRef.nativeElement.focus(Oe)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Oe?Oe+" ":"")+this.ariaLabelledby:Oe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();let Ke=(Oe?Oe+" ":"")+this._valueId;return this.ariaLabelledby&&(Ke+=" "+this.ariaLabelledby),Ke}_panelDoneAnimating(Oe){this.openedChange.emit(Oe)}setDescribedByIds(Oe){Oe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Oe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)(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(f.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))},Ft.\u0275dir=d.\u0275\u0275defineDirective({type:Ft,viewQuery:function(Oe,Ke){if(1&Oe&&(d.\u0275\u0275viewQuery(Ce,5),d.\u0275\u0275viewQuery(Re,5),d.\u0275\u0275viewQuery(n.pI,5)),2&Oe){let he;d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke.trigger=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke.panel=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke._overlayDir=he.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]}),Ft})();function Le(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",8),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Oe.placeholder)}}function lt(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",12),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Oe.triggerValue)}}function ze(Ft,Gt){1&Ft&&d.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function at(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",9),d.\u0275\u0275template(1,lt,2,1,"span",10),d.\u0275\u0275template(2,ze,1,0,"ng-content",11),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("ngSwitch",!!Oe.customTrigger),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngSwitchCase",!0)}}function N(Ft,Gt){if(1&Ft){const Oe=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",13)(1,"div",14,15),d.\u0275\u0275listener("@transformPanel.done",function(he){d.\u0275\u0275restoreView(Oe);const ge=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ge._panelDoneAnimatingStream.next(he.toState))})("keydown",function(he){d.\u0275\u0275restoreView(Oe);const ge=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ge._handleKeydown(he))}),d.\u0275\u0275projection(3,1),d.\u0275\u0275elementEnd()()}if(2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transformPanelWrap",void 0),d.\u0275\u0275advance(1),d.\u0275\u0275classMapInterpolate1("mat-select-panel ",Oe._getPanelTheme(),""),d.\u0275\u0275styleProp("transform-origin",Oe._transformOrigin)("font-size",Oe._triggerFontSize,"px"),d.\u0275\u0275property("ngClass",Oe.panelClass)("@transformPanel",Oe.multiple?"showing-multiple":"showing"),d.\u0275\u0275attribute("id",Oe.id+"-panel")("aria-multiselectable",Oe.multiple)("aria-label",Oe.ariaLabel||null)("aria-labelledby",Oe._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})))])},K=256;class ut{constructor(Gt,Oe){this.source=Gt,this.value=Oe}}let Pe=(()=>{class Ft{}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)},Ft.\u0275dir=d.\u0275\u0275defineDirective({type:Ft,selectors:[["mat-select-trigger"]],features:[d.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:Ft}])]}),Ft})(),mt=(()=>{class Ft extends _t{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(Oe,Ke,he){const ge=this._getItemHeight();return Math.min(Math.max(0,ge*Oe-Ke+ge/2),he)}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(Oe){const Ke=(0,g._countGroupLabelsBeforeOption)(Oe,this.options,this.optionGroups),he=this._getItemHeight();this.panel.nativeElement.scrollTop=0===Oe&&1===Ke?0:(0,g._getOptionScrollPosition)((Oe+Ke)*he,he,this.panel.nativeElement.scrollTop,K)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(Oe){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(Oe)}_getChangeEvent(Oe){return new ut(this,Oe)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){const Oe=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),Ke=this._viewportRuler.getViewportSize(),he=this._isRtl(),ge=this.multiple?56:32;let ct;if(this.multiple)ct=40;else if(this.disableOptionCentering)ct=16;else{let De=this._selectionModel.selected[0]||this.options.first;ct=De&&De.group?32:16}he||(ct*=-1);const Me=0-(Oe.left+ct-(he?ge:0)),Ye=Oe.right+ct-Ke.width+(he?0:ge);Me>0?ct+=Me+8:Ye>0&&(ct-=Ye+8),this._overlayDir.offsetX=Math.round(ct),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(Oe,Ke,he){const ge=this._getItemHeight(),ct=(ge-this._triggerRect.height)/2,Me=Math.floor(K/ge);let Ye;return this.disableOptionCentering?0:(Ye=0===this._scrollTop?Oe*ge:this._scrollTop===he?(Oe-(this._getItemCount()-Me))*ge+(ge-(this._getItemCount()*ge-K)%ge):Ke-ge/2,Math.round(-1*Ye-ct))}_checkOverlayWithinViewport(Oe){const Ke=this._getItemHeight(),he=this._viewportRuler.getViewportSize(),ge=this._triggerRect.top-8,ct=he.height-this._triggerRect.bottom-8,Me=Math.abs(this._offsetY),De=Math.min(this._getItemCount()*Ke,K)-Me-this._triggerRect.height;De>ct?this._adjustPanelUp(De,ct):Me>ge?this._adjustPanelDown(Me,ge,Oe):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(Oe,Ke){const he=Math.round(Oe-Ke);this._scrollTop-=he,this._offsetY-=he,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(Oe,Ke,he){const ge=Math.round(Oe-Ke);if(this._scrollTop+=ge,this._offsetY+=ge,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=he)return this._scrollTop=he,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const Oe=this._getItemHeight(),Ke=this._getItemCount(),he=Math.min(Ke*Oe,K),ct=Ke*Oe-he;let Me;Me=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Me+=(0,g._countGroupLabelsBeforeOption)(Me,this.options,this.optionGroups);const Ye=he/2;this._scrollTop=this._calculateOverlayScroll(Me,Ye,ct),this._offsetY=this._calculateOverlayOffsetY(Me,Ye,ct),this._checkOverlayWithinViewport(ct)}_getOriginBasedOnOption(){const Oe=this._getItemHeight(),Ke=(Oe-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-Ke+Oe/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Ft.\u0275fac=function(){let Gt;return function(Ke){return(Gt||(Gt=d.\u0275\u0275getInheritedFactory(Ft)))(Ke||Ft)}}(),Ft.\u0275cmp=d.\u0275\u0275defineComponent({type:Ft,selectors:[["mat-select"]],contentQueries:function(Oe,Ke,he){if(1&Oe&&(d.\u0275\u0275contentQuery(he,tt,5),d.\u0275\u0275contentQuery(he,r.MatLegacyOption,5),d.\u0275\u0275contentQuery(he,g.MAT_OPTGROUP,5)),2&Oe){let ge;d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.customTrigger=ge.first),d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.options=ge),d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.optionGroups=ge)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(Oe,Ke){1&Oe&&d.\u0275\u0275listener("keydown",function(ge){return Ke._handleKeydown(ge)})("focus",function(){return Ke._onFocus()})("blur",function(){return Ke._onBlur()}),2&Oe&&(d.\u0275\u0275attribute("id",Ke.id)("tabindex",Ke.tabIndex)("aria-controls",Ke.panelOpen?Ke.id+"-panel":null)("aria-expanded",Ke.panelOpen)("aria-label",Ke.ariaLabel||null)("aria-required",Ke.required.toString())("aria-disabled",Ke.disabled.toString())("aria-invalid",Ke.errorState)("aria-activedescendant",Ke._getAriaActiveDescendant()),d.\u0275\u0275classProp("mat-select-disabled",Ke.disabled)("mat-select-invalid",Ke.errorState)("mat-select-required",Ke.required)("mat-select-empty",Ke.empty)("mat-select-multiple",Ke.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[d.\u0275\u0275ProvidersFeature([{provide:f.Eo,useExisting:Ft},{provide:g.MAT_OPTION_PARENT_COMPONENT,useExisting:Ft}]),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(Oe,Ke){if(1&Oe&&(d.\u0275\u0275projectionDef(oe),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275listener("click",function(){return Ke.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 Ke.close()})("attach",function(){return Ke._onAttached()})("detach",function(){return Ke.close()})),2&Oe){const he=d.\u0275\u0275reference(1);d.\u0275\u0275attribute("aria-owns",Ke.panelOpen?Ke.id+"-panel":null),d.\u0275\u0275advance(3),d.\u0275\u0275property("ngSwitch",Ke.empty),d.\u0275\u0275attribute("id",Ke._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",Ke._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Ke._scrollStrategy)("cdkConnectedOverlayOrigin",he)("cdkConnectedOverlayOpen",Ke.panelOpen)("cdkConnectedOverlayPositions",Ke._positions)("cdkConnectedOverlayMinWidth",Ke._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",Ke._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}),Ft})(),Pt=(()=>{class Ft{}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)},Ft.\u0275mod=d.\u0275\u0275defineNgModule({type:Ft}),Ft.\u0275inj=d.\u0275\u0275defineInjector({providers:[Ge],imports:[c.CommonModule,n.U8,r.MatLegacyOptionModule,g.MatCommonModule,u.ZD,h.MatLegacyFormFieldModule,r.MatLegacyOptionModule,g.MatCommonModule]}),Ft})()},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:()=>Ce,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),f=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,f.Ig)(H)}get checked(){return this._checked}set checked(H){this._checked=(0,f.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 de;return function(W){return(de||(de=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)(()=>Ce),multi:!0};class U{constructor(de,H){this.source=de,this.checked=H}}let Ce=(()=>{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:()=>Ce});var n=a(6814),c=a(5879),d=a(3680),g=a(4300),r=a(9388),f=a(2495),h=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(de){this._invert=(0,f.Ig)(de)}get max(){return this._max}set max(de){this._max=(0,f.su)(de,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(de){this._min=(0,f.su)(de,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(de){this._step=(0,f.su)(de,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(de){this._thumbLabel=(0,f.Ig)(de)}get tickInterval(){return this._tickInterval}set tickInterval(de){this._tickInterval="auto"===de?"auto":"number"==typeof de||"string"==typeof de?(0,f.su)(de,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(de){if(de!==this._value){let H=(0,f.su)(de,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(de){this._vertical=(0,f.Ig)(de)}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(de){this._focusHostElement(de)}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 de=this.percent,W=this.vertical?`1, ${de}, 1`:`${de}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${W})`,display:0===de?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let de=100*this._tickIntervalPercent,Ee={backgroundSize:this.vertical?`2px ${de}%`:`${de}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${de/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 de=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?de:!de)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const de=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?de:!de}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}constructor(de,H,W,pe,we,Ee,Be,G){super(de),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 de=0;de{if("pointer"===this._isSliding){const ae=ie(re,this._touchId);if(ae){re.cancelable&&re.preventDefault();const ve=this.value;this._lastPointerEvent=re,this._updateValueFromPosition(ae),ve!=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=de.nativeElement;re.addEventListener("mousedown",this._pointerDown,_),re.addEventListener("touchstart",this._pointerDown,_)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(de=>{this._isActive=!!de&&"keyboard"!==de,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const de=this._elementRef.nativeElement;de.removeEventListener("mousedown",this._pointerDown,_),de.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(de){if(this.disabled||(0,h.Vb)(de)||this._isSliding&&"keyboard"!==this._isSliding)return;const H=this.value;switch(de.keyCode){case h.Ku:this._increment(10);break;case h.VM:this._increment(-10);break;case h.uR:this.value=this.max;break;case h.Sd:this.value=this.min;break;case h.oh:this._increment("rtl"==this._getDirection()?1:-1);break;case h.LH:this._increment(1);break;case h.SV:this._increment("rtl"==this._getDirection()?-1:1);break;case h.JH:this._increment(-1);break;default:return}H!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",de.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(de){const H=this._document,W=ee(de),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 de=this._document;de.removeEventListener("mousemove",this._pointerMove,_),de.removeEventListener("mouseup",this._pointerUp,_),de.removeEventListener("touchmove",this._pointerMove,_),de.removeEventListener("touchend",this._pointerUp,_),de.removeEventListener("touchcancel",this._pointerUp,_);const H=this._getWindow();typeof H<"u"&&H&&H.removeEventListener("blur",this._windowBlur)}_increment(de){const H=this._clamp(this.value||0,this.min,this.max);this.value=this._clamp(H+this.step*de,this.min,this.max)}_updateValueFromPosition(de){if(!this._sliderDimensions)return;let we=this._clamp(((this.vertical?de.y:de.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 de;if("auto"==this.tickInterval){let H=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width;de=Math.ceil(30/(H*this.step/(this.max-this.min)))*this.step/H}else de=this.tickInterval*this.step/(this.max-this.min);this._tickIntervalPercent=$(de)?de:0}_createChangeEvent(de=this.value){let H=new E;return H.source=this,H.value=de,H}_calculatePercentage(de){const H=((de||0)-this.min)/(this.max-this.min);return $(H)?H:0}_calculateValue(de){return this.min+de*(this.max-this.min)}_clamp(de,H=0,W=1){return Math.max(H,Math.min(de,W))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(de){this._elementRef.nativeElement.focus(de)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(de){this.value=de}registerOnChange(de){this._controlValueAccessorChangeFn=de}registerOnTouched(de){this.onTouched=de}setDisabledState(de){this.disabled=de}}return Re.\u0275fac=function(de){return new(de||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(de,H){if(1&de&&c.\u0275\u0275viewQuery(p,5),2&de){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(de,H){1&de&&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&de&&(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(de,H){1&de&&(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&de&&(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 de;return de=ee(Re)?"number"==typeof Ae?A(Re.touches,Ae)||A(Re.changedTouches,Ae):Re.touches[0]||Re.changedTouches[0]:Re,de?{x:de.clientX,y:de.clientY}:void 0}function A(Re,Ae){for(let de=0;de{class Re{}return Re.\u0275fac=function(de){return new(de||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:()=>bt});var n=a(5879),c=a(9388),d=a(2495),g=a(8337),r=a(2831),f=a(6672),h=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 se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",se.headerText," ")}}function E(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const se=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(se,Xe.name)," ")}}function I(O){return class extends O{get sticky(){return this._sticky}set sticky(me){const se=this._sticky;this._sticky=(0,d.Ig)(me),this._hasStickyChanged=se!==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(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellDef",""]]}),O})(),ie=(()=>{class O{constructor(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkHeaderCellDef",""]]}),O})(),A=(()=>{class O{constructor(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkFooterCellDef",""]]}),O})();class U{}const Ce=I(U);let Re=(()=>{class O extends Ce{get name(){return this._name}set name(se){this._setNameInput(se)}get stickyEnd(){return this._stickyEnd}set stickyEnd(se){const Xe=this._stickyEnd;this._stickyEnd=(0,d.Ig)(se),this._hasStickyChanged=Xe!==this._stickyEnd}constructor(se){super(),this._table=se,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(se){se&&(this._name=se,this.cssClassFriendlyName=se.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkColumnDef",""]],contentQueries:function(se,Xe,kt){if(1&se&&(n.\u0275\u0275contentQuery(kt,ee,5),n.\u0275\u0275contentQuery(kt,ie,5),n.\u0275\u0275contentQuery(kt,A,5)),2&se){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,se){se.nativeElement.classList.add(...me._columnCssClassName)}}let de=(()=>{class O extends Ae{constructor(se,Xe){super(se,Xe)}}return O.\u0275fac=function(se){return new(se||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(se,Xe){if(super(se,Xe),1===se._table?._elementRef.nativeElement.nodeType){const kt=se._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===kt||"treegrid"===kt?"gridcell":"cell")}}}return O.\u0275fac=function(se){return new(se||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(se,Xe){if(super(se,Xe),1===se._table?._elementRef.nativeElement.nodeType){const kt=se._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===kt||"treegrid"===kt?"gridcell":"cell")}}}return O.\u0275fac=function(se){return new(se||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(se){this._ngZone=se,this._currentSchedule=null,this._destroyed=new u.x}schedule(se){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(se)}scheduleEnd(se){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(se)}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 se=this._currentSchedule;this._currentSchedule=new pe;for(const Xe of se.tasks)Xe();for(const Xe of se.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(se){return new(se||O)(n.\u0275\u0275inject(n.NgZone))},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})(),G=(()=>{class O{constructor(se,Xe){this.template=se,this._differs=Xe}ngOnChanges(se){if(!this._columnsDiffer){const Xe=se.columns&&se.columns.currentValue||[];this._columnsDiffer=this._differs.find(Xe).create(),this._columnsDiffer.diff(Xe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(se){return this instanceof ve?se.headerCell.template:this instanceof Qe?se.footerCell.template:se.cell.template}}return O.\u0275fac=function(se){return new(se||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 ae=I(re);let ve=(()=>{class O extends ae{constructor(se,Xe,kt){super(se,Xe),this._table=kt}ngOnChanges(se){super.ngOnChanges(se)}}return O.\u0275fac=function(se){return new(se||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(se,Xe,kt){super(se,Xe),this._table=kt}ngOnChanges(se){super.ngOnChanges(se)}}return O.\u0275fac=function(se){return new(se||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})(),Ge=(()=>{class O extends G{constructor(se,Xe,kt){super(se,Xe),this._table=kt}}return O.\u0275fac=function(se){return new(se||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(se){this._viewContainer=se,O.mostRecentCellOutlet=this}ngOnDestroy(){O.mostRecentCellOutlet===this&&(O.mostRecentCellOutlet=null)}}return O.mostRecentCellOutlet=null,O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellOutlet",""]]}),O})(),Ct=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Nt=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),_t=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Bt=(()=>{class O{constructor(se){this.templateRef=se,this._contentClassName="cdk-no-data-row"}}return O.\u0275fac=function(se){return new(se||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 Lt{constructor(me,se,Xe,kt,Wt=!0,un=!0,gn){this._isNativeHtmlTable=me,this._stickCellCss=se,this.direction=Xe,this._coalescedStyleScheduler=kt,this._isBrowser=Wt,this._needsPositionStickyOnElement=un,this._positionListener=gn,this._cachedCellWidths=[],this._borderCellCss={top:`${se}-border-elem-top`,bottom:`${se}-border-elem-bottom`,left:`${se}-border-elem-left`,right:`${se}-border-elem-right`}}clearStickyPositioning(me,se){const Xe=[];for(const kt of me)if(kt.nodeType===kt.ELEMENT_NODE){Xe.push(kt);for(let Wt=0;Wt{for(const kt of Xe)this._removeStickyStyle(kt,se)})}updateStickyColumns(me,se,Xe,kt=!0){if(!me.length||!this._isBrowser||!se.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,kt),pn=this._getStickyStartColumnPositions(gn,se),si=this._getStickyEndColumnPositions(gn,Xe),jn=se.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;fnse[fn]?Gi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Fn?[]:gn.slice(Fn).map((Gi,fn)=>Xe[fn+Fn]?Gi:null).reverse()}))})}stickRows(me,se,Xe){if(!this._isBrowser)return;const kt="bottom"===Xe?me.slice().reverse():me,Wt="bottom"===Xe?se.slice().reverse():se,un=[],gn=[],pn=[];for(let jn=0,Fn=0;jn{for(let jn=0;jn{se.some(kt=>!kt)?this._removeStickyStyle(Xe,["bottom"]):this._addStickyStyle(Xe,"bottom",0,!1)})}_removeStickyStyle(me,se){for(const kt of se)me.style[kt]="",me.classList.remove(this._borderCellCss[kt]);Tt.some(kt=>-1===se.indexOf(kt)&&me.style[kt])?me.style.zIndex=this._getCalculatedZIndex(me):(me.style.zIndex="",this._needsPositionStickyOnElement&&(me.style.position=""),me.classList.remove(this._stickCellCss))}_addStickyStyle(me,se,Xe,kt){me.classList.add(this._stickCellCss),kt&&me.classList.add(this._borderCellCss[se]),me.style[se]=`${Xe}px`,me.style.zIndex=this._getCalculatedZIndex(me),this._needsPositionStickyOnElement&&(me.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(me){const se={top:100,bottom:10,left:1,right:1};let Xe=0;for(const kt of Tt)me.style[kt]&&(Xe+=se[kt]);return Xe?`${Xe}`:""}_getCellWidths(me,se=!0){if(!se&&this._cachedCellWidths.length)return this._cachedCellWidths;const Xe=[],kt=me.children;for(let Wt=0;Wt0;Wt--)se[Wt]&&(Xe[Wt]=kt,kt+=me[Wt]);return Xe}}const K=new n.InjectionToken("CDK_SPL");let Te=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","rowOutlet",""]]}),O})(),et=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||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(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","footerRowOutlet",""]]}),O})(),_e=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","noDataRowOutlet",""]]}),O})(),mt=(()=>{class O{get trackBy(){return this._trackByFn}set trackBy(se){this._trackByFn=se}get dataSource(){return this._dataSource}set dataSource(se){this._dataSource!==se&&this._switchDataSource(se)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(se){this._multiTemplateDataRows=(0,d.Ig)(se),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(se){this._fixedLayout=(0,d.Ig)(se),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(se,Xe,kt,Wt,un,gn,pn,si,jn,Fn,bi,Ti){this._differs=se,this._changeDetectorRef=Xe,this._elementRef=kt,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((se,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(se=>{se.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 se=this._dataDiffer.diff(this._renderRows);if(!se)return this._updateNoDataRow(),void this.contentChanged.next();const Xe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(se,Xe,(kt,Wt,un)=>this._getEmbeddedViewArgs(kt.item,un),kt=>kt.item.data,kt=>{1===kt.operation&&kt.context&&this._renderCellTemplateForItem(kt.record.item.rowDef,kt.context)}),this._updateRowIndexContext(),se.forEachIdentityChange(kt=>{Xe.get(kt.currentIndex).context.$implicit=kt.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(se){this._customColumnDefs.add(se)}removeColumnDef(se){this._customColumnDefs.delete(se)}addRowDef(se){this._customRowDefs.add(se)}removeRowDef(se){this._customRowDefs.delete(se)}addHeaderRowDef(se){this._customHeaderRowDefs.add(se),this._headerRowDefChanged=!0}removeHeaderRowDef(se){this._customHeaderRowDefs.delete(se),this._headerRowDefChanged=!0}addFooterRowDef(se){this._customFooterRowDefs.add(se),this._footerRowDefChanged=!0}removeFooterRowDef(se){this._customFooterRowDefs.delete(se),this._footerRowDefChanged=!0}setNoDataRow(se){this._customNoDataRow=se}updateStickyHeaderRowStyles(){const se=this._getRenderedRows(this._headerRowOutlet),kt=this._elementRef.nativeElement.querySelector("thead");kt&&(kt.style.display=se.length?"":"none");const Wt=this._headerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(se,["top"]),this._stickyStyler.stickRows(se,Wt,"top"),this._headerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyFooterRowStyles(){const se=this._getRenderedRows(this._footerRowOutlet),kt=this._elementRef.nativeElement.querySelector("tfoot");kt&&(kt.style.display=se.length?"":"none");const Wt=this._footerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(se,["bottom"]),this._stickyStyler.stickRows(se,Wt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Wt),this._footerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyColumnStyles(){const se=this._getRenderedRows(this._headerRowOutlet),Xe=this._getRenderedRows(this._rowOutlet),kt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...se,...Xe,...kt],["left","right"]),this._stickyColumnStylesNeedReset=!1),se.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 se=[],Xe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let kt=0;kt{const gn=kt&&kt.has(un)?kt.get(un):[];if(gn.length){const pn=gn.shift();return pn.dataIndex=Xe,pn}return{data:se,rowDef:un,dataIndex:Xe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Pt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Xe=>{this._columnDefsByName.has(Xe.name),this._columnDefsByName.set(Xe.name,Xe)})}_cacheRowDefs(){this._headerRowDefs=Pt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Pt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Pt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const se=this._rowDefs.filter(Xe=>!Xe.when);this._defaultRowDef=se[0]}_renderUpdatedColumns(){const se=(un,gn)=>un||!!gn.getColumnsDiff(),Xe=this._rowDefs.reduce(se,!1);Xe&&this._forceRenderDataRows();const kt=this._headerRowDefs.reduce(se,!1);kt&&this._forceRenderHeaderRows();const Wt=this._footerRowDefs.reduce(se,!1);return Wt&&this._forceRenderFooterRows(),Xe||kt||Wt}_switchDataSource(se){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),se||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=se}_observeRenderChanges(){if(!this.dataSource)return;let se;(0,g.Z9)(this.dataSource)?se=this.dataSource.connect(this):(0,p.b)(this.dataSource)?se=this.dataSource:Array.isArray(this.dataSource)&&(se=(0,_.of)(this.dataSource)),this._renderChangeSubscription=se.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((se,Xe)=>this._renderRow(this._headerRowOutlet,se,Xe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((se,Xe)=>this._renderRow(this._footerRowOutlet,se,Xe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(se,Xe){const kt=Array.from(Xe.columns||[]).map(gn=>this._columnDefsByName.get(gn)),Wt=kt.map(gn=>gn.sticky),un=kt.map(gn=>gn.stickyEnd);this._stickyStyler.updateStickyColumns(se,Wt,un,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(se){const Xe=[];for(let kt=0;kt!Wt.when||Wt.when(Xe,se));else{let Wt=this._rowDefs.find(un=>un.when&&un.when(Xe,se))||this._defaultRowDef;Wt&&kt.push(Wt)}return kt}_getEmbeddedViewArgs(se,Xe){return{templateRef:se.rowDef.template,context:{$implicit:se.data},index:Xe}}_renderRow(se,Xe,kt,Wt={}){const un=se.viewContainer.createEmbeddedView(Xe.template,Wt,kt);return this._renderCellTemplateForItem(Xe,Wt),un}_renderCellTemplateForItem(se,Xe){for(let kt of this._getCellTemplates(se))tt.mostRecentCellOutlet&&tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(kt,Xe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const se=this._rowOutlet.viewContainer;for(let Xe=0,kt=se.length;Xe{const kt=this._columnDefsByName.get(Xe);return se.extractCellTemplate(kt)}):[]}_applyNativeTableSections(){const se=this._document.createDocumentFragment(),Xe=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const kt of Xe){const Wt=this._document.createElement(kt.tag);Wt.setAttribute("role","rowgroup");for(const un of kt.outlets)Wt.appendChild(un.elementRef.nativeElement);se.appendChild(Wt)}this._elementRef.nativeElement.appendChild(se)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const se=(Xe,kt)=>Xe||kt.hasStickyChanged();this._headerRowDefs.reduce(se,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(se,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(se,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Lt(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(se){return se.filter(Xe=>!Xe._table||Xe._table===this)}_updateNoDataRow(){const se=this._customNoDataRow||this._noDataRow;if(!se)return;const Xe=0===this._rowOutlet.viewContainer.length;if(Xe===this._isShowingNoDataRow)return;const kt=this._noDataRowOutlet.viewContainer;if(Xe){const Wt=kt.createEmbeddedView(se.templateRef),un=Wt.rootNodes[0];1===Wt.rootNodes.length&&un?.nodeType===this._document.ELEMENT_NODE&&(un.setAttribute("role","row"),un.classList.add(se._contentClassName))}else kt.clear();this._isShowingNoDataRow=Xe}}return O.\u0275fac=function(se){return new(se||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(h.DOCUMENT),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(g.k),n.\u0275\u0275directiveInject(we),n.\u0275\u0275directiveInject(f.rL),n.\u0275\u0275directiveInject(K,12),n.\u0275\u0275directiveInject(n.NgZone,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(se,Xe,kt){if(1&se&&(n.\u0275\u0275contentQuery(kt,Bt,5),n.\u0275\u0275contentQuery(kt,Re,5),n.\u0275\u0275contentQuery(kt,Ge,5),n.\u0275\u0275contentQuery(kt,ve,5),n.\u0275\u0275contentQuery(kt,Qe,5)),2&se){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(se,Xe){if(1&se&&(n.\u0275\u0275viewQuery(Te,7),n.\u0275\u0275viewQuery(et,7),n.\u0275\u0275viewQuery(Dt,7),n.\u0275\u0275viewQuery(_e,7)),2&se){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._rowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._headerRowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._footerRowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._noDataRowOutlet=kt.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(se,Xe){2&se&&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:K,useValue:null}])],ngContentSelectors:D,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,Xe){1&se&&(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,et,Dt,_e],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),O})();function Pt(O,me){return O.concat(Array.from(me))}let Ft=(()=>{class O{get name(){return this._name}set name(se){this._name=se,this._syncColumnDefName()}constructor(se,Xe){this._table=se,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||((se,Xe)=>se[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 se=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(se):se[0].toUpperCase()+se.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(mt,8),n.\u0275\u0275directiveInject($,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-text-column"]],viewQuery:function(se,Xe){if(1&se&&(n.\u0275\u0275viewQuery(Re,7),n.\u0275\u0275viewQuery(ee,7),n.\u0275\u0275viewQuery(ie,7)),2&se){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.columnDef=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.cell=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.headerCell=kt.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(se,Xe){1&se&&(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,de],encapsulation:2}),O})(),Oe=(()=>{class O{}return O.\u0275fac=function(se){return new(se||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.Cl]}),O})();var Ke=a(3680),he=a(3019),ge=a(2572),ct=a(7398);class bt 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=(se,Xe)=>{const kt=se[Xe];if((0,d.t6)(kt)){const Wt=Number(kt);return Wt<9007199254740991?Wt:kt}return kt},this.sortData=(se,Xe)=>{const kt=Xe.active,Wt=Xe.direction;return kt&&""!=Wt?se.sort((un,gn)=>{let pn=this.sortingDataAccessor(un,kt),si=this.sortingDataAccessor(gn,kt);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 kt=Object.keys(se).reduce((un,gn)=>un+se[gn]+"\u25ec","").toLowerCase(),Wt=Xe.trim().toLowerCase();return-1!=kt.indexOf(Wt)},this._data=new b.X(me),this._updateChangeSubscription()}_updateChangeSubscription(){const me=this._sort?(0,he.T)(this._sort.sortChange,this._sort.initialized):(0,_.of)(null),se=this._paginator?(0,he.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,_.of)(null),kt=(0,ge.a)([this._data,this._filter]).pipe((0,ct.U)(([gn])=>this._filterData(gn))),Wt=(0,ge.a)([kt,me]).pipe((0,ct.U)(([gn])=>this._orderData(gn))),un=(0,ge.a)([Wt,se]).pipe((0,ct.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(se=>this.filterPredicate(se,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 se=this.paginator.pageIndex*this.paginator.pageSize;return me.slice(se,se+this.paginator.pageSize)}_updatePaginator(me){Promise.resolve().then(()=>{const se=this.paginator;if(se&&(se.length=me,se.pageIndex>0)){const Xe=Math.ceil(se.length/se.pageSize)-1||0,kt=Math.min(se.pageIndex,Xe);kt!==se.pageIndex&&(se.pageIndex=kt,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 se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",se.headerText," ")}}function sn(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const se=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(se,Xe.name)," ")}}let Nn=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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 mt{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(se,Xe){2&se&&n.\u0275\u0275classProp("mat-table-fixed-layout",Xe.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:g.k,useClass:g.yy},{provide:mt,useExisting:O},{provide:X,useExisting:O},{provide:we,useClass:Ee},{provide:K,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:nn,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,Xe){1&se&&(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,et,Dt,_e],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(se){this._setNameInput(se)}_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 de{}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 ve{}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:ve,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 Ge{}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:Ge,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),Yn=(()=>{class O extends Ct{}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:Ct,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),wi=(()=>{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-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Nt,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),ri=(()=>{class O extends _t{}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:_t,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&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 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-text-column"]],hostVars:1,hostBindings:function(se,Xe){2&se&&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(se,Xe){1&se&&(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(se){return new(se||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[Oe,Ke.MatCommonModule,Ke.MatCommonModule]}),O})();class ke extends bt{}},8615:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_TAB:()=>at,MAT_LEGACY_TABS_CONFIG:()=>Me,MAT_LEGACY_TAB_CONTENT:()=>Le,MAT_LEGACY_TAB_GROUP:()=>mt,MatLegacyInkBar:()=>_i,MatLegacyPaginatedTabHeader:()=>he,MatLegacyTab:()=>$n,MatLegacyTabBody:()=>an,MatLegacyTabBodyPortal:()=>ti,MatLegacyTabChangeEvent:()=>Q,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:()=>ce,_MatLegacyTabBase:()=>Pt,_MatLegacyTabBodyBase:()=>Tt,_MatLegacyTabGroupBase:()=>F,_MatLegacyTabHeaderBase:()=>ge,_MatLegacyTabLinkBase:()=>qe,_MatLegacyTabNavBase:()=>dt,matLegacyTabsAnimations:()=>_t});var n=a(4300),c=a(7131),d=a(8484),g=a(6814),r=a(5879),f=a(3680),h=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),Ce=a(2831),Re=a(6028);function Ae(Mt,jt){}const de=function(Mt){return{animationDuration:Mt}},H=function(Mt,jt){return{value:Mt,params:jt}},_t={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 Mt extends d.Pl{constructor(ke,O,me,se){super(ke,O,se),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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Lt)),r.\u0275\u0275directiveInject(g.DOCUMENT))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),Tt=(()=>{class Mt{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(se=>{this._computePositionAnimationState(se),me.markForCheck()})),this._translateTabComplete.pipe((0,E.x)((se,Xe)=>se.fromState===Xe.fromState&&se.toState===Xe.toState)).subscribe(se=>{this._isCenterPosition(se.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(se.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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Mt})(),Lt=(()=>{class Mt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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(se){return O._onTranslateTabStarted(se)})("@translateTab.done",function(se){return O._translateTabComplete.next(se)}),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,de,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:[_t.translateTab]}}),Mt})();const Le=new r.InjectionToken("MatTabContent");let lt=(()=>{class Mt{constructor(ke){this.template=ke}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.TemplateRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Mt}])]}),Mt})();const ze=new r.InjectionToken("MatTabLabel"),at=new r.InjectionToken("MAT_TAB");let N=(()=>{class Mt extends d.ig{constructor(ke,O,me){super(ke,O),this._closestTab=me}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(at,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})();function ce(){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:ce}),et=(0,f.mixinDisabled)(class{});let Dt=(()=>{class Mt extends et{constructor(ke){super(),this.elementRef=ke}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();const Pe=(0,f.mixinDisabled)(class{}),mt=new r.InjectionToken("MAT_TAB_GROUP");let Pt=(()=>{class Mt extends Pe{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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(mt,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})();const Gt=(0,Ce.i$)({passive:!0});let he=(()=>{class Mt{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,se,Xe,kt,Wt){this._elementRef=ke,this._changeDetectorRef=O,this._viewportRuler=me,this._dir=se,this._ngZone=Xe,this._platform=kt,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",Gt).pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,p.R)(this._nextPaginator.nativeElement,"touchstart",Gt).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,h.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(se=>{this.indexFocused.emit(se),this._setTabFocus(se)})}_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(se=>O.next(se));return ke.forEach(se=>me.observe(se.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:se,offsetWidth:Xe}=O.elementRef.nativeElement;let kt,Wt;"ltr"==this._getLayoutDirection()?(kt=se,Wt=kt+Xe):(Wt=this._tabListInner.nativeElement.offsetWidth-se,kt=Wt-Xe);const un=this.scrollDistance,gn=this.scrollDistance+me;ktgn&&(this.scrollDistance+=Math.min(Wt-gn,kt-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:se}=this._scrollHeader(ke);(0===se||se>=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 Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{disablePagination:"disablePagination"}}),Mt})(),ge=(()=>{class Mt extends he{get disableRipple(){return this._disableRipple}set disableRipple(ke){this._disableRipple=(0,A.Ig)(ke)}constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt),this._disableRipple=!1}_itemSelected(ke){ke.preventDefault()}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();const Me=new r.InjectionToken("MAT_TABS_CONFIG");let Ye=0;const De=(0,f.mixinColor)((0,f.mixinDisableRipple)(class{constructor(Mt){this._elementRef=Mt}}),"primary");let F=(()=>{class Mt 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,se){super(ke),this._changeDetectorRef=O,this._animationMode=se,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,se)=>me.isActive=se===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 se=0;se{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 Q;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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Me,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})();class Q{}let be=0,dt=(()=>{class Mt extends he{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,se,Xe,kt,Wt){super(ke,se,Xe,O,me,kt,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 Mt extends Rt{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,se,Xe,kt){super(),this._tabNavBar=ke,this.elementRef=O,this._focusMonitor=Xe,this._isActive=!1,this.id="mat-tab-link-"+be++,this.rippleConfig=me||{},this.tabIndex=parseInt(se)||0,"NoopAnimations"===kt&&(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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(dt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{active:"active",id:"id"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();function xn(Mt,jt){1&Mt&&r.\u0275\u0275projection(0)}const Sn=["*"];function _n(Mt,jt){}const Mn=function(Mt){return{animationDuration:Mt}},xi=function(Mt,jt){return{value:Mt,params:jt}},fi=["tabListContainer"],Vi=["tabList"],Yi=["tabListInner"],xt=["nextPaginator"],bt=["previousPaginator"],pt=["tabBodyWrapper"],qt=["tabHeader"];function nn(Mt,jt){}function cn(Mt,jt){if(1&Mt&&r.\u0275\u0275template(0,nn,0,0,"ng-template",10),2&Mt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",ke.templateLabel)}}function sn(Mt,jt){if(1&Mt&&r.\u0275\u0275text(0),2&Mt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(ke.textLabel)}}function Nn(Mt,jt){if(1&Mt){const ke=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const me=r.\u0275\u0275restoreView(ke),se=me.$implicit,Xe=me.index,kt=r.\u0275\u0275nextContext(),Wt=r.\u0275\u0275reference(1);return r.\u0275\u0275resetView(kt._handleClick(se,Wt,Xe))})("cdkFocusChange",function(me){const Xe=r.\u0275\u0275restoreView(ke).index,kt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(kt._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&Mt){const ke=jt.$implicit,O=jt.index,me=r.\u0275\u0275reference(4),se=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",se.selectedIndex===O),r.\u0275\u0275property("id",se._getTabLabelId(O))("ngClass",ke.labelClass)("disabled",ke.disabled)("matRippleDisabled",ke.disabled||se.disableRipple),r.\u0275\u0275attribute("tabIndex",se._getTabIndex(O))("aria-posinset",O+1)("aria-setsize",se._tabs.length)("aria-controls",se._getTabContentId(O))("aria-selected",se.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(Mt,jt){if(1&Mt){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 se=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(se._setTabBodyWrapperHeight(me))}),r.\u0275\u0275elementEnd()}if(2&Mt){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 Mt{constructor(ke,O,me,se){this._elementRef=ke,this._ngZone=O,this._inkBarPositioner=me,this._animationMode=se}alignToElement(ke){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,h.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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Te),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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)}}),Mt})(),$n=(()=>{class Mt extends Pt{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(ke){this._setTemplateLabelInput(ke)}}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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 se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O.templateLabel=se.first),r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._explicitContent=se.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:Mt}]),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}),Mt})(),ti=(()=>{class Mt extends Bt{constructor(ke,O,me,se){super(ke,O,me,se)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>an)),r.\u0275\u0275directiveInject(g.DOCUMENT))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),an=(()=>{class Mt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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(se){return O._onTranslateTabStarted(se)})("@translateTab.done",function(se){return O._translateTabComplete.next(se)}),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:[_t.translateTab]}}),Mt})(),mn=(()=>{class Mt extends Dt{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})(),Tn=(()=>{class Mt extends ge{constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["mat-tab-header"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,mn,4),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._items=se)}},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(xt,5),r.\u0275\u0275viewQuery(bt,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(se){return O._handlePaginatorPress("before",se)})("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(se){return O._handleKeydown(se)}),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(se){return O._handlePaginatorPress("after",se)})("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:[f.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}),Mt})(),Rn=(()=>{class Mt extends F{constructor(ke,O,me,se){super(ke,O,me,se)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Me,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["mat-tab-group"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,$n,5),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._allTabs=se)}},viewQuery:function(ke,O){if(1&ke&&(r.\u0275\u0275viewQuery(pt,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:mt,useExisting:Mt}]),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(se){return O._focusChanged(se)})("selectFocusedIndex",function(se){return O.selectedIndex=se}),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,f.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}),Mt})(),Wn=0,mi=(()=>{class Mt extends dt{constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,Yn,5),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._items=se)}},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(xt,5),r.\u0275\u0275viewQuery(bt,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(se){return O._handlePaginatorPress("before",se)})("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(se){return O._handleKeydown(se)}),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(se){return O._handlePaginatorPress("after",se)})("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:[f.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}),Mt})(),Yn=(()=>{class Mt extends qe{constructor(ke,O,me,se,Xe,kt,Wt,un){super(ke,O,Xe,kt,Wt,un),this._tabLinkRipple=new f.RippleRenderer(this,me,O,se),this._tabLinkRipple.setupTriggerEvents(O.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(mi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Ce.t4),r.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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(se){return O._handleKeydown(se)}),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]}),Mt})(),wi=(()=>{class Mt{constructor(){this.id="mat-tab-nav-panel-"+Wn++}}return Mt.\u0275fac=function(ke){return new(ke||Mt)},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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}),Mt})(),ri=(()=>{class Mt extends N{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),ai=(()=>{class Mt extends lt{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),Ni=(()=>{class Mt{}return Mt.\u0275fac=function(ke){return new(ke||Mt)},Mt.\u0275mod=r.\u0275\u0275defineNgModule({type:Mt}),Mt.\u0275inj=r.\u0275\u0275defineInjector({imports:[g.CommonModule,f.MatCommonModule,d.eL,f.MatRippleModule,c.Q8,n.rt,f.MatCommonModule]}),Mt})()},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"]]],f=["*","mat-toolbar-row"],h=(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 h{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:f,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:()=>We});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 Ge(je,T,P=new Map,ue=new Map){const Fe=[],it=[];let It=-1,Et=null;if(T.forEach(Qt=>{const en=Qt.get("offset"),In=en==It,Ln=In&&Et||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=ue.get(li);break;default:ii=je.normalizeStyleValue(li,Gn,ii,Fe)}Ln.set(Gn,ii)}),In||it.push(Ln),Et=Ln,It=en}),Fe.length)throw function de(je){return new n.\u0275RuntimeError(3502,!1)}();return it}function tt(je,T,P,ue){switch(T){case"start":je.onStart(()=>ue(P&&Ct(P,"start",je)));break;case"done":je.onDone(()=>ue(P&&Ct(P,"done",je)));break;case"destroy":je.onDestroy(()=>ue(P&&Ct(P,"destroy",je)))}}function Ct(je,T,P){const it=Nt(je.element,je.triggerName,je.fromState,je.toState,T||je.phaseName,P.totalTime??je.totalTime,!!P.disabled),It=je._data;return null!=It&&(it._data=It),it}function Nt(je,T,P,ue,Fe="",it=0,It){return{element:je,triggerName:T,fromState:P,toState:ue,phaseName:Fe,totalTime:it,disabled:!!It}}function _t(je,T,P){let ue=je.get(T);return ue||je.set(T,ue=P),ue}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 Lt(je){const T=je.parentNode||je.host||null;return T===Tt?null:T}let lt=null,ze=!1;function Y(je,T){for(;T;){if(T===je)return!0;T=Lt(T)}return!1}function ne(je,T,P){if(P)return Array.from(je.querySelectorAll(T));const ue=je.querySelector(T);return ue?[ue]:[]}let ce=(()=>{class je{validateStyleProperty(P){return function at(je){lt||(lt=function oe(){return typeof document<"u"?document.body:null}()||{},ze=!!lt.style&&"WebkitAppearance"in lt.style);let T=!0;return lt.style&&!function Le(je){return"ebkit"==je.substring(1,6)}(je)&&(T=je in lt.style,!T&&ze&&(T="Webkit"+je.charAt(0).toUpperCase()+je.slice(1)in lt.style)),T}(P)}matchesElement(P,ue){return!1}containsElement(P,ue){return Y(P,ue)}getParentElement(P){return Lt(P)}query(P,ue,Fe){return ne(P,ue,Fe)}computeStyle(P,ue,Fe){return Fe||""}animate(P,ue,Fe,it,It,Et=[],Qt){return new d.ZN(Fe,it)}}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 ce,je})();const et=1e3,ut="ng-enter",Pe="ng-leave",mt="ng-trigger",Pt=".ng-trigger",Ft="ng-animating",Gt=".ng-animating";function Oe(je){if("number"==typeof je)return je;const T=je.match(/^(-?[\.\d]+)(m?s)/);return!T||T.length<2?0:Ke(parseFloat(T[1]),T[2])}function Ke(je,T){return"s"===T?je*et:je}function he(je,T,P){return je.hasOwnProperty("duration")?je:function ge(je,T,P){let Fe,it=0,It="";if("string"==typeof je){const Et=je.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Et)return T.push(r()),{duration:0,delay:0,easing:""};Fe=Ke(parseFloat(Et[1]),Et[2]);const Qt=Et[3];null!=Qt&&(it=Ke(parseFloat(Qt),Et[4]));const en=Et[5];en&&(It=en)}else Fe=je;if(!P){let Et=!1,Qt=T.length;Fe<0&&(T.push(function f(){return new n.\u0275RuntimeError(3100,!1)}()),Et=!0),it<0&&(T.push(function h(){return new n.\u0275RuntimeError(3101,!1)}()),Et=!0),Et&&T.splice(Qt,0,r())}return{duration:Fe,delay:it,easing:It}}(je,T,P)}function ct(je,T={}){return Object.keys(je).forEach(P=>{T[P]=je[P]}),T}function Me(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[ue,Fe]of P)T.set(ue,Fe);for(let[ue,Fe]of je)T.set(ue,Fe);return T}function V(je,T,P){T.forEach((ue,Fe)=>{const it=At(Fe);P&&!P.has(Fe)&&P.set(Fe,je.style[it]),je.style[it]=ue})}function Q(je,T){T.forEach((P,ue)=>{const Fe=At(ue);je.style[Fe]=""})}function be(je){return Array.isArray(je)?1==je.length?je[0]:(0,d.vP)(je):je}const Rt=new RegExp("{{\\s*(.+?)\\s*}}","g");function qe(je){let T=[];if("string"==typeof je){let P;for(;P=Rt.exec(je);)T.push(P[1]);Rt.lastIndex=0}return T}function nt(je,T,P){const ue=je.toString(),Fe=ue.replace(Rt,(it,It)=>{let Et=T[It];return null==Et&&(P.push(function v(je){return new n.\u0275RuntimeError(3003,!1)}()),Et=""),Et.toString()});return Fe==ue?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 At(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 pt="*";function qt(je,T){const P=[];return"string"==typeof je?je.split(/\s*,\s*/).forEach(ue=>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,ue)=>parseFloat(ue)>parseFloat(P);case":decrement":return(P,ue)=>parseFloat(ue) *"}}(je,P);if("function"==typeof Qt)return void T.push(Qt);je=Qt}const ue=je.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==ue||ue.length<4)return P.push(function A(je){return new n.\u0275RuntimeError(3015,!1)}()),T;const Fe=ue[1],it=ue[2],It=ue[3];T.push(wn(Fe,It));"<"==it[0]&&!(Fe==pt&&It==pt)&&T.push(wn(It,Fe))}(ue,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),ue=sn.has(T)||Nn.has(T);return(Fe,it)=>{let It=je==pt||je==Fe,Et=T==pt||T==it;return!It&&P&&"boolean"==typeof Fe&&(It=Fe?sn.has(je):Nn.has(je)),!Et&&ue&&"boolean"==typeof it&&(Et=it?sn.has(T):Nn.has(T)),It&&Et}}const _i=new RegExp("s*:selfs*,?","g");function $n(je,T,P,ue){return new an(je).build(T,P,ue)}class an{constructor(T){this._driver=T}build(T,P,ue){const Fe=new Rn(P);return this._resetContextStyleTimingState(Fe),_n(this,be(T),Fe)}_resetContextStyleTimingState(T){T.currentQuerySelector="",T.collectedStyles=new Map,T.collectedStyles.set("",new Map),T.currentTime=0}visitTrigger(T,P){let ue=P.queryCount=0,Fe=P.depCount=0;const it=[],It=[];return"@"==T.name.charAt(0)&&P.errors.push(function _(){return new n.\u0275RuntimeError(3006,!1)}()),T.definitions.forEach(Et=>{if(this._resetContextStyleTimingState(P),0==Et.type){const Qt=Et,en=Qt.name;en.toString().split(/\s*,\s*/).forEach(In=>{Qt.name=In,it.push(this.visitState(Qt,P))}),Qt.name=en}else if(1==Et.type){const Qt=this.visitTransition(Et,P);ue+=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:it,transitions:It,queryCount:ue,depCount:Fe,options:null}}visitState(T,P){const ue=this.visitStyle(T.styles,P),Fe=T.options&&T.options.params||null;if(ue.containsDynamicStyles){const it=new Set,It=Fe||{};ue.styles.forEach(Et=>{Et instanceof Map&&Et.forEach(Qt=>{qe(Qt).forEach(en=>{It.hasOwnProperty(en)||it.add(en)})})}),it.size&&(Ve(it.values()),P.errors.push(function y(je,T){return new n.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:T.name,style:ue,options:Fe?{params:Fe}:null}}visitTransition(T,P){P.queryCount=0,P.depCount=0;const ue=_n(this,be(T.animation),P);return{type:1,matchers:qt(T.expr,P.errors),animation:ue,queryCount:P.queryCount,depCount:P.depCount,options:Yn(T.options)}}visitSequence(T,P){return{type:2,steps:T.steps.map(ue=>_n(this,ue,P)),options:Yn(T.options)}}visitGroup(T,P){const ue=P.currentTime;let Fe=0;const it=T.steps.map(It=>{P.currentTime=ue;const Et=_n(this,It,P);return Fe=Math.max(Fe,P.currentTime),Et});return P.currentTime=Fe,{type:3,steps:it,options:Yn(T.options)}}visitAnimate(T,P){const ue=function mi(je,T){if(je.hasOwnProperty("duration"))return je;if("number"==typeof je)return wi(he(je,T).duration,0,"");const P=je;if(P.split(/\s+/).some(it=>"{"==it.charAt(0)&&"{"==it.charAt(1))){const it=wi(0,0,"");return it.dynamic=!0,it.strValue=P,it}const Fe=he(P,T);return wi(Fe.duration,Fe.delay,Fe.easing)}(T.timings,P.errors);P.currentAnimateTimings=ue;let Fe,it=T.styles?T.styles:(0,d.oB)({});if(5==it.type)Fe=this.visitKeyframes(it,P);else{let It=T.styles,Et=!1;if(!It){Et=!0;const en={};ue.easing&&(en.easing=ue.easing),It=(0,d.oB)(en)}P.currentTime+=ue.duration+ue.delay;const Qt=this.visitStyle(It,P);Qt.isEmptyStep=Et,Fe=Qt}return P.currentAnimateTimings=null,{type:4,timings:ue,style:Fe,options:null}}visitStyle(T,P){const ue=this._makeStyleAst(T,P);return this._validateStyleAst(ue,P),ue}_makeStyleAst(T,P){const ue=[],Fe=Array.isArray(T.styles)?T.styles:[T.styles];for(let Et of Fe)"string"==typeof Et?Et===d.l3?ue.push(Et):P.errors.push(new n.\u0275RuntimeError(3002,!1)):ue.push(Me(Et));let it=!1,It=null;return ue.forEach(Et=>{if(Et instanceof Map&&(Et.has("easing")&&(It=Et.get("easing"),Et.delete("easing")),!it))for(let Qt of Et.values())if(Qt.toString().indexOf("{{")>=0){it=!0;break}}),{type:6,styles:ue,easing:It,offset:T.offset,containsDynamicStyles:it,options:null}}_validateStyleAst(T,P){const ue=P.currentAnimateTimings;let Fe=P.currentTime,it=P.currentTime;ue&&it>0&&(it-=ue.duration+ue.delay),T.styles.forEach(It=>{"string"!=typeof It&&It.forEach((Et,Qt)=>{const en=P.collectedStyles.get(P.currentQuerySelector),In=en.get(Qt);let Ln=!0;In&&(it!=Fe&&it>=In.startTime&&Fe<=In.endTime&&(P.errors.push(function S(je,T,P,ue,Fe){return new n.\u0275RuntimeError(3010,!1)}()),Ln=!1),it=In.startTime),Ln&&en.set(Qt,{startTime:it,endTime:Fe}),P.options&&function dt(je,T,P){const ue=T.params||{},Fe=qe(je);Fe.length&&Fe.forEach(it=>{ue.hasOwnProperty(it)||P.push(function u(je){return new n.\u0275RuntimeError(3001,!1)}())})}(Et,P.options,P.errors)})})}visitKeyframes(T,P){const ue={type:5,styles:[],options:null};if(!P.currentAnimateTimings)return P.errors.push(function E(){return new n.\u0275RuntimeError(3011,!1)}()),ue;let it=0;const It=[];let Et=!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 ue=P;T=parseFloat(ue.get("offset")),ue.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&&(it++,nr=Ki.offset=sr),Qt=Qt||nr<0||nr>1,Et=Et||nr0&&it{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,ue.styles.push(qi)}),ue}visitReference(T,P){return{type:8,animation:_n(this,be(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 ue=P.currentQuerySelector,Fe=T.options||{};P.queryCount++,P.currentQuery=T;const[it,It]=function mn(je){const T=!!je.split(/\s*,\s*/).find(P=>":self"==P);return T&&(je=je.replace(_i,"")),je=je.replace(/@\*/g,Pt).replace(/@\w+/g,P=>Pt+"-"+P.slice(1)).replace(/:animating/g,Gt),[je,T]}(T.selector);P.currentQuerySelector=ue.length?ue+" "+it:it,_t(P.collectedStyles,P.currentQuerySelector,new Map);const Et=_n(this,be(T.animation),P);return P.currentQuery=null,P.currentQuerySelector=ue,{type:11,selector:it,limit:Fe.limit||0,optional:!!Fe.optional,includeSelf:It,animation:Et,originalSelector:T.selector,options:Yn(T.options)}}visitStagger(T,P){P.currentQuery||P.errors.push(function ee(){return new n.\u0275RuntimeError(3013,!1)}());const ue="full"===T.timings?{duration:0,delay:0,easing:"full"}:he(T.timings,P.errors,!0);return{type:12,animation:_n(this,be(T.animation),P),timings:ue,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=ct(je)).params&&(je.params=function Tn(je){return je?ct(je):null}(je.params)):je={},je}function wi(je,T,P){return{duration:je,delay:T,easing:P}}function ri(je,T,P,ue,Fe,it,It=null,Et=!1){return{type:1,element:je,keyframes:T,preStyleProps:P,postStyleProps:ue,duration:Fe,delay:it,totalTime:Fe+it,easing:It,subTimeline:Et}}class ai{constructor(){this._map=new Map}get(T){return this._map.get(T)||[]}append(T,P){let ue=this._map.get(T);ue||this._map.set(T,ue=[]),ue.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,ue,Fe,it=new Map,It=new Map,Et,Qt,en=[]){return(new se).buildKeyframes(je,T,P,ue,Fe,it,It,Et,Qt,en)}class se{buildKeyframes(T,P,ue,Fe,it,It,Et,Qt,en,In=[]){en=en||new ai;const Ln=new kt(T,P,en,Fe,it,In,[]);Ln.options=Qt;const pi=Qt.delay?Oe(Qt.delay):0;Ln.currentTimeline.delayNextStep(pi),Ln.currentTimeline.setStyles([It],null,Ln.errors,Qt),_n(this,ue,Ln);const li=Ln.timelines.filter(Gn=>Gn.containsAnimation());if(li.length&&Et.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([Et],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 ue=P.subInstructions.get(P.element);if(ue){const Fe=P.createSubContext(T.options),it=P.currentTimeline.currentTime,It=this._visitSubInstructions(ue,Fe,Fe.options);it!=It&&P.transformIntoNewTimeline(It)}P.previousNode=T}visitAnimateRef(T,P){const ue=P.createSubContext(T.options);ue.transformIntoNewTimeline(),this._applyAnimationRefDelays([T.options,T.animation.options],P,ue),this.visitReference(T.animation,ue),P.transformIntoNewTimeline(ue.currentTimeline.currentTime),P.previousNode=T}_applyAnimationRefDelays(T,P,ue){for(const Fe of T){const it=Fe?.delay;if(it){const It="number"==typeof it?it:Oe(nt(it,Fe?.params??{},P.errors));ue.delayNextStep(It)}}}_visitSubInstructions(T,P,ue){let it=P.currentTimeline.currentTime;const It=null!=ue.duration?Oe(ue.duration):null,Et=null!=ue.delay?Oe(ue.delay):null;return 0!==It&&T.forEach(Qt=>{const en=P.appendInstructionToTimeline(Qt,It,Et);it=Math.max(it,en.duration+en.delay)}),it}visitReference(T,P){P.updateOptions(T.options,!0),_n(this,T.animation,P),P.previousNode=T}visitSequence(T,P){const ue=P.subContextCount;let Fe=P;const it=T.options;if(it&&(it.params||it.delay)&&(Fe=P.createSubContext(it),Fe.transformIntoNewTimeline(),null!=it.delay)){6==Fe.previousNode.type&&(Fe.currentTimeline.snapshotCurrentStyles(),Fe.previousNode=Xe);const It=Oe(it.delay);Fe.delayNextStep(It)}T.steps.length&&(T.steps.forEach(It=>_n(this,It,Fe)),Fe.currentTimeline.applyStylesToKeyframe(),Fe.subContextCount>ue&&Fe.transformIntoNewTimeline()),P.previousNode=T}visitGroup(T,P){const ue=[];let Fe=P.currentTimeline.currentTime;const it=T.options&&T.options.delay?Oe(T.options.delay):0;T.steps.forEach(It=>{const Et=P.createSubContext(T.options);it&&Et.delayNextStep(it),_n(this,It,Et),Fe=Math.max(Fe,Et.currentTimeline.currentTime),ue.push(Et.currentTimeline)}),ue.forEach(It=>P.currentTimeline.mergeTimelineCollectedStyles(It)),P.transformIntoNewTimeline(Fe),P.previousNode=T}_visitTiming(T,P){if(T.dynamic){const ue=T.strValue;return he(P.params?nt(ue,P.params,P.errors):ue,P.errors)}return{duration:T.duration,delay:T.delay,easing:T.easing}}visitAnimate(T,P){const ue=P.currentAnimateTimings=this._visitTiming(T.timings,P),Fe=P.currentTimeline;ue.delay&&(P.incrementTime(ue.delay),Fe.snapshotCurrentStyles());const it=T.style;5==it.type?this.visitKeyframes(it,P):(P.incrementTime(ue.duration),this.visitStyle(it,P),Fe.applyStylesToKeyframe()),P.currentAnimateTimings=null,P.previousNode=T}visitStyle(T,P){const ue=P.currentTimeline,Fe=P.currentAnimateTimings;!Fe&&ue.hasCurrentStyleProperties()&&ue.forwardFrame();const it=Fe&&Fe.easing||T.easing;T.isEmptyStep?ue.applyEmptyStep(it):ue.setStyles(T.styles,it,P.errors,P.options),P.previousNode=T}visitKeyframes(T,P){const ue=P.currentAnimateTimings,Fe=P.currentTimeline.duration,it=ue.duration,Et=P.createSubContext().currentTimeline;Et.easing=ue.easing,T.styles.forEach(Qt=>{Et.forwardTime((Qt.offset||0)*it),Et.setStyles(Qt.styles,Qt.easing,P.errors,P.options),Et.applyStylesToKeyframe()}),P.currentTimeline.mergeTimelineCollectedStyles(Et),P.transformIntoNewTimeline(Fe+it),P.previousNode=T}visitQuery(T,P){const ue=P.currentTimeline.currentTime,Fe=T.options||{},it=Fe.delay?Oe(Fe.delay):0;it&&(6===P.previousNode.type||0==ue&&P.currentTimeline.hasCurrentStyleProperties())&&(P.currentTimeline.snapshotCurrentStyles(),P.previousNode=Xe);let It=ue;const Et=P.invokeQuery(T.selector,T.originalSelector,T.limit,T.includeSelf,!!Fe.optional,P.errors);P.currentQueryTotal=Et.length;let Qt=null;Et.forEach((en,In)=>{P.currentQueryIndex=In;const Ln=P.createSubContext(T.options,en);it&&Ln.delayNextStep(it),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 ue=P.parentContext,Fe=P.currentTimeline,it=T.timings,It=Math.abs(it.duration),Et=It*(P.currentQueryTotal-1);let Qt=It*P.currentQueryIndex;switch(it.duration<0?"reverse":it.easing){case"reverse":Qt=Et-Qt;break;case"full":Qt=ue.currentStaggerTime}const In=P.currentTimeline;Qt&&In.delayNextStep(Qt);const Ln=In.currentTime;_n(this,T.animation,P),P.previousNode=T,ue.currentStaggerTime=Fe.currentTime-Ln+(Fe.startTime-ue.currentTimeline.startTime)}}const Xe={};class kt{constructor(T,P,ue,Fe,it,It,Et,Qt){this._driver=T,this.element=P,this.subInstructions=ue,this._enterClassName=Fe,this._leaveClassName=it,this.errors=It,this.timelines=Et,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),Et.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(T,P){if(!T)return;const ue=T;let Fe=this.options;null!=ue.duration&&(Fe.duration=Oe(ue.duration)),null!=ue.delay&&(Fe.delay=Oe(ue.delay));const it=ue.params;if(it){let It=Fe.params;It||(It=this.options.params={}),Object.keys(it).forEach(Et=>{(!P||!It.hasOwnProperty(Et))&&(It[Et]=nt(it[Et],It,this.errors))})}}_copyOptions(){const T={};if(this.options){const P=this.options.params;if(P){const ue=T.params={};Object.keys(P).forEach(Fe=>{ue[Fe]=P[Fe]})}}return T}createSubContext(T=null,P,ue){const Fe=P||this.element,it=new kt(this._driver,Fe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Fe,ue||0));return it.previousNode=this.previousNode,it.currentAnimateTimings=this.currentAnimateTimings,it.options=this._copyOptions(),it.updateOptions(T),it.currentQueryIndex=this.currentQueryIndex,it.currentQueryTotal=this.currentQueryTotal,it.parentContext=this,this.subContextCount++,it}transformIntoNewTimeline(T){return this.previousNode=Xe,this.currentTimeline=this.currentTimeline.fork(this.element,T),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(T,P,ue){const Fe={duration:P??T.duration,delay:this.currentTimeline.currentTime+(ue??0)+T.delay,easing:""},it=new un(this._driver,T.element,T.keyframes,T.preStyleProps,T.postStyleProps,Fe,T.stretchStartingKeyframe);return this.timelines.push(it),Fe}incrementTime(T){this.currentTimeline.forwardTime(this.currentTimeline.duration+T)}delayNextStep(T){T>0&&this.currentTimeline.delayNextStep(T)}invokeQuery(T,P,ue,Fe,it,It){let Et=[];if(Fe&&Et.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!=ue);0!==ue&&(en=ue<0?en.slice(en.length+ue,en.length):en.slice(0,ue)),Et.push(...en)}return!it&&0==Et.length&&It.push(function ie(je){return new n.\u0275RuntimeError(3014,!1)}()),Et}}class Wt{constructor(T,P,ue,Fe){this._driver=T,this.element=P,this.startTime=ue,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,ue]of this._globalTimelineStyles)this._backFill.set(P,ue||d.l3),this._currentKeyframe.set(P,d.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(T,P,ue,Fe){P&&this._previousKeyframe.set("easing",P);const it=Fe&&Fe.params||{},It=function pn(je,T){const P=new Map;let ue;return je.forEach(Fe=>{if("*"===Fe){ue=ue||T.keys();for(let it of ue)P.set(it,d.l3)}else F(Fe,P)}),P}(T,this._globalTimelineStyles);for(let[Et,Qt]of It){const en=nt(Qt,it,ue);this._pendingStyles.set(Et,en),this._localTimelineStyles.has(Et)||this._backFill.set(Et,this._globalTimelineStyles.get(Et)??d.l3),this._updateStyle(Et,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,ue)=>{const Fe=this._styleSummary.get(ue);(!Fe||P.time>Fe.time)&&this._updateStyle(ue,P.value)})}buildKeyframes(){this.applyStylesToKeyframe();const T=new Set,P=new Set,ue=1===this._keyframes.size&&0===this.duration;let Fe=[];this._keyframes.forEach((Et,Qt)=>{const en=F(Et,new Map,this._backFill);en.forEach((In,Ln)=>{In===d.k1?T.add(Ln):In===d.l3&&P.add(Ln)}),ue||en.set("offset",Qt/this.duration),Fe.push(en)});const it=T.size?Ve(T.values()):[],It=P.size?Ve(P.values()):[];if(ue){const Et=Fe[0],Qt=new Map(Et);Et.set("offset",0),Qt.set("offset",1),Fe=[Et,Qt]}return ri(this.element,Fe,it,It,this.duration,this.startTime,this.easing,!1)}}class un extends Wt{constructor(T,P,ue,Fe,it,It,Et=!1){super(T,P,It.delay),this.keyframes=ue,this.preStyleProps=Fe,this.postStyleProps=it,this._stretchStartingKeyframe=Et,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:ue,easing:Fe}=this.timings;if(this._stretchStartingKeyframe&&P){const it=[],It=ue+P,Et=P/It,Qt=F(T[0]);Qt.set("offset",0),it.push(Qt);const en=F(T[0]);en.set("offset",gn(Et)),it.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*ue)/It)),it.push(pi)}ue=It,P=0,Fe="",T=it}return ri(this.element,T,this.preStyleProps,this.postStyleProps,ue,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 At(T)}normalizeStyleValue(T,P,ue,Fe){let it="";const It=ue.toString().trim();if(bi.has(P)&&0!==ue&&"0"!==ue)if("number"==typeof ue)it="px";else{const Et=ue.match(/^[+-]?[\d\.]+([a-z]*)$/);Et&&0==Et[1].length&&Fe.push(function p(je,T){return new n.\u0275RuntimeError(3005,!1)}())}return It+it}}function Fi(je,T,P,ue,Fe,it,It,Et,Qt,en,In,Ln,pi){return{type:0,element:je,triggerName:T,isRemovalTransition:Fe,fromState:P,fromStyles:it,toState:ue,toStyles:It,timelines:Et,queriedElements:Qt,preStyleProps:en,postStyleProps:In,totalTime:Ln,errors:pi}}const Gi={};class fn{constructor(T,P,ue){this._triggerName=T,this.ast=P,this._stateStyles=ue}match(T,P,ue,Fe){return function tn(je,T,P,ue,Fe){return je.some(it=>it(T,P,ue,Fe))}(this.ast.matchers,T,P,ue,Fe)}buildStyles(T,P,ue){let Fe=this._stateStyles.get("*");return void 0!==T&&(Fe=this._stateStyles.get(T?.toString())||Fe),Fe?Fe.buildStyles(P,ue):new Map}build(T,P,ue,Fe,it,It,Et,Qt,en,In){const Ln=[],pi=this.ast.options&&this.ast.options.params||Gi,Gn=this.buildStyles(ue,Et&&Et.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,it,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,ue,Fe,nr,Gn,Bi,[],[],Ki,sr,rr,Ln);Mr.forEach(Er=>{const fr=Er.element,yo=_t(Ki,fr,new Set);Er.preStyleProps.forEach(Lr=>yo.add(Lr));const Yr=_t(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,ue,Fe,nr,Gn,Bi,Mr,xr,Ki,sr,rr)}}function En(je,T){const P=ct(T);for(const ue in je)je.hasOwnProperty(ue)&&null!=je[ue]&&(P[ue]=je[ue]);return P}class ei{constructor(T,P,ue){this.styles=T,this.defaultParams=P,this.normalizer=ue}buildStyles(T,P){const ue=new Map,Fe=ct(this.defaultParams);return Object.keys(T).forEach(it=>{const It=T[it];null!==It&&(Fe[it]=It)}),this.styles.styles.forEach(it=>{"string"!=typeof it&&it.forEach((It,Et)=>{It&&(It=nt(It,Fe,P));const Qt=this.normalizer.normalizePropertyName(Et,P);It=this.normalizer.normalizeStyleValue(Et,Qt,It,P),ue.set(Et,It)})}),ue}}class tr{constructor(T,P,ue){this.name=T,this.ast=P,this._normalizer=ue,this.transitionFactories=[],this.states=new Map,P.states.forEach(Fe=>{this.states.set(Fe.name,new ei(Fe.style,Fe.options&&Fe.options.params||{},ue))}),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,Et)=>!0],options:null,queryCount:0,depCount:0},T)}(T,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(T,P,ue,Fe){return this.transitionFactories.find(It=>It.match(T,P,ue,Fe))||null}matchStyles(T,P,ue){return this.fallbackTransition.buildStyles(T,P,ue)}}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,ue){this.bodyNode=T,this._driver=P,this._normalizer=ue,this._animations=new Map,this._playersById=new Map,this.players=[]}register(T,P){const ue=[],it=$n(this._driver,P,ue,[]);if(ue.length)throw function H(je){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(T,it)}_buildPlayer(T,P,ue){const Fe=T.element,it=Ge(this._normalizer,T.keyframes,P,ue);return this._driver.animate(Fe,it,T.duration,T.delay,T.easing,[],!0)}create(T,P,ue={}){const Fe=[],it=this._animations.get(T);let It;const Et=new Map;if(it?(It=me(this._driver,P,it,ut,Pe,new Map,new Map,ue,yi,Fe),It.forEach(In=>{const Ln=_t(Et,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)}();Et.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=Et.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 ue=this.players.indexOf(P);ue>=0&&this.players.splice(ue,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,ue,Fe){const it=Nt(P,"","","");return tt(this._getPlayer(T),ue,it,Fe),()=>{}}command(T,P,ue,Fe){if("register"==ue)return void this.register(T,Fe[0]);if("create"==ue)return void this.create(T,P,Fe[0]||{});const it=this._getPlayer(T);switch(ue){case"play":it.play();break;case"pause":it.pause();break;case"reset":it.reset();break;case"restart":it.restart();break;case"finish":it.finish();break;case"init":it.init();break;case"setPosition":it.setPosition(parseFloat(Fe[0]));break;case"destroy":this.destroy(T)}}}const Ot="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 ue=T&&T.hasOwnProperty("value");if(this.value=function Ht(je){return je??null}(ue?T.value:T),ue){const it=ct(T);delete it.value,this.options=it}else this.options={};this.options.params||(this.options.params={})}absorbOptions(T){const P=T.params;if(P){const ue=this.options.params;Object.keys(P).forEach(Fe=>{null==ue[Fe]&&(ue[Fe]=P[Fe])})}}}const Ui="void",ir=new Qi(Ui);class wt{constructor(T,P,ue){this.id=T,this.hostElement=P,this._engine=ue,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+T,On(P,this._hostClassName)}listen(T,P,ue,Fe){if(!this._triggers.has(P))throw function Ee(je,T){return new n.\u0275RuntimeError(3302,!1)}();if(null==ue||0==ue.length)throw function Be(je){return new n.\u0275RuntimeError(3303,!1)}();if(!function Jt(je){return"start"==je||"done"==je}(ue))throw function G(je,T){return new n.\u0275RuntimeError(3400,!1)}();const it=_t(this._elementListeners,T,[]),It={name:P,phase:ue,callback:Fe};it.push(It);const Et=_t(this._engine.statesByElement,T,new Map);return Et.has(P)||(On(T,mt),On(T,mt+"-"+P),Et.set(P,ir)),()=>{this._engine.afterFlush(()=>{const Qt=it.indexOf(It);Qt>=0&&it.splice(Qt,1),this._triggers.has(P)||Et.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,ue,Fe=!0){const it=this._getTrigger(P),It=new gt(this.id,P,T);let Et=this._engine.statesByElement.get(T);Et||(On(T,mt),On(T,mt+"-"+P),this._engine.statesByElement.set(T,Et=new Map));let Qt=Et.get(P);const en=new Qi(ue,this.id);if(!(ue&&ue.hasOwnProperty("value"))&&Qt&&en.absorbOptions(Qt.options),Et.set(P,en),Qt||(Qt=ir),en.value!==Ui&&Qt.value===en.value){if(!function ni(je,T){const P=Object.keys(je),ue=Object.keys(T);if(P.length!=ue.length)return!1;for(let Fe=0;Fe{Q(T,Bi),V(T,qi)})}return}const pi=_t(this._engine.playersByElement,T,[]);pi.forEach(ii=>{ii.namespaceId==this.id&&ii.triggerName==P&&ii.queued&&ii.destroy()});let li=it.matchTransition(Qt.value,en.value,T,en.params),Gn=!1;if(!li){if(!Fe)return;li=it.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,Ot),It.onStart(()=>{vi(T,Ot)})),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,ue)=>{this._elementListeners.set(ue,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(ue=>ue.destroy()),this._engine.playersByElement.delete(T))}_signalRemovalForInnerTriggers(T,P){const ue=this._engine.driver.query(T,Pt,!0);ue.forEach(Fe=>{if(Fe[Li])return;const it=this._engine.fetchNamespacesByElement(Fe);it.size?it.forEach(It=>It.triggerLeaveAnimation(Fe,P,!1,!0)):this.clearElementCache(Fe)}),this._engine.afterFlushAnimationsDone(()=>ue.forEach(Fe=>this.clearElementCache(Fe)))}triggerLeaveAnimation(T,P,ue,Fe){const it=this._engine.statesByElement.get(T),It=new Map;if(it){const Et=[];if(it.forEach((Qt,en)=>{if(It.set(en,Qt.value),this._triggers.has(en)){const In=this.trigger(T,en,Ui,Fe);In&&Et.push(In)}}),Et.length)return this._engine.markElementAsRemoved(this.id,T,!0,P,It),ue&&Qe(Et).onDone(()=>this._engine.processLeaveNode(T)),!0}return!1}prepareLeaveAnimationListeners(T){const P=this._elementListeners.get(T),ue=this._engine.statesByElement.get(T);if(P&&ue){const Fe=new Set;P.forEach(it=>{const It=it.name;if(Fe.has(It))return;Fe.add(It);const Qt=this._triggers.get(It).fallbackTransition,en=ue.get(It)||ir,In=new Qi(Ui),Ln=new gt(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 ue=this._engine;if(T.childElementCount&&this._signalRemovalForInnerTriggers(T,P),this.triggerLeaveAnimation(T,P,!0))return;let Fe=!1;if(ue.totalAnimations){const it=ue.players.length?ue.playersByQueriedElement.get(T):[];if(it&&it.length)Fe=!0;else{let It=T;for(;It=It.parentNode;)if(ue.statesByElement.get(It)){Fe=!0;break}}}if(this.prepareLeaveAnimationListeners(T),Fe)ue.markElementAsRemoved(this.id,T,!1,P);else{const it=T[Li];(!it||it===ji)&&(ue.afterFlush(()=>this.clearElementCache(T)),ue.destroyInnerAnimations(T),ue._onRemovalComplete(T,P))}}insertNode(T,P){On(T,this._hostClassName)}drainQueuedTransitions(T){const P=[];return this._queue.forEach(ue=>{const Fe=ue.player;if(Fe.destroyed)return;const it=ue.element,It=this._elementListeners.get(it);It&&It.forEach(Et=>{if(Et.name==ue.triggerName){const Qt=Nt(it,ue.triggerName,ue.fromState.value,ue.toState.value);Qt._data=T,tt(ue.player,Et.phase,Qt,Et.callback)}}),Fe.markedForDestroy?this._engine.afterFlush(()=>{Fe.destroy()}):P.push(ue)}),this._queue=[],P.sort((ue,Fe)=>{const it=ue.transition.ast.depCount,It=Fe.transition.ast.depCount;return 0==it||0==It?it-It:this._engine.driver.containsElement(ue.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,ue){this.bodyNode=T,this.driver=P,this._normalizer=ue,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,it)=>{}}get queuedPlayers(){const T=[];return this._namespaceList.forEach(P=>{P.players.forEach(ue=>{ue.queued&&T.push(ue)})}),T}createNamespace(T,P){const ue=new wt(T,P,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,P)?this._balanceNamespaceList(ue,P):(this.newHostElements.set(P,ue),this.collectEnterElement(P)),this._namespaceLookup[T]=ue}_balanceNamespaceList(T,P){const ue=this._namespaceList,Fe=this.namespacesByHostElement;if(ue.length-1>=0){let It=!1,Et=this.driver.getParentElement(P);for(;Et;){const Qt=Fe.get(Et);if(Qt){const en=ue.indexOf(Qt);ue.splice(en+1,0,T),It=!0;break}Et=this.driver.getParentElement(Et)}It||ue.unshift(T)}else ue.push(T);return Fe.set(P,T),T}register(T,P){let ue=this._namespaceLookup[T];return ue||(ue=this.createNamespace(T,P)),ue}registerTrigger(T,P,ue){let Fe=this._namespaceLookup[T];Fe&&Fe.register(P,ue)&&this.totalAnimations++}destroy(T,P){T&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const ue=this._fetchNamespace(T);this.namespacesByHostElement.delete(ue.hostElement);const Fe=this._namespaceList.indexOf(ue);Fe>=0&&this._namespaceList.splice(Fe,1),ue.destroy(P),delete this._namespaceLookup[T]}))}_fetchNamespace(T){return this._namespaceLookup[T]}fetchNamespacesByElement(T){const P=new Set,ue=this.statesByElement.get(T);if(ue)for(let Fe of ue.values())if(Fe.namespaceId){const it=this._fetchNamespace(Fe.namespaceId);it&&P.add(it)}return P}trigger(T,P,ue,Fe){if(Yt(P)){const it=this._fetchNamespace(T);if(it)return it.trigger(P,ue,Fe),!0}return!1}insertNode(T,P,ue,Fe){if(!Yt(P))return;const it=P[Li];if(it&&it.setForRemoval){it.setForRemoval=!1,it.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,ue)}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,ue){if(Yt(P)){const Fe=T?this._fetchNamespace(T):null;Fe?Fe.removeNode(P,ue):this.markElementAsRemoved(T,P,!1,ue);const it=this.namespacesByHostElement.get(P);it&&it.id!==T&&it.removeNode(P,ue)}else this._onRemovalComplete(P,ue)}markElementAsRemoved(T,P,ue,Fe,it){this.collectedLeaveElements.push(P),P[Li]={namespaceId:T,setForRemoval:Fe,hasAnimation:ue,removedBeforeQueried:!1,previousTriggersValues:it}}listen(T,P,ue,Fe,it){return Yt(P)?this._fetchNamespace(T).listen(P,ue,Fe,it):()=>{}}_buildInstruction(T,P,ue,Fe,it){return T.transition.build(this.driver,T.element,T.fromState.value,T.toState.value,ue,Fe,T.fromState.options,T.toState.options,P,it)}destroyInnerAnimations(T){let P=this.driver.query(T,Pt,!0);P.forEach(ue=>this.destroyActiveAnimationsForElement(ue)),0!=this.playersByQueriedElement.size&&(P=this.driver.query(T,Gt,!0),P.forEach(ue=>this.finishActiveQueriedAnimationOnElement(ue)))}destroyActiveAnimationsForElement(T){const P=this.playersByElement.get(T);P&&P.forEach(ue=>{ue.queued?ue.markedForDestroy=!0:ue.destroy()})}finishActiveQueriedAnimationOnElement(T){const P=this.playersByQueriedElement.get(T);P&&P.forEach(ue=>ue.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 ue=this._fetchNamespace(P.namespaceId);ue&&ue.clearElementCache(T)}this._onRemovalComplete(T,P.setForRemoval)}T.classList?.contains(te)&&this.markElementAsDisabled(T,!1),this.driver.query(T,".ng-animate-disabled",!0).forEach(ue=>{this.markElementAsDisabled(ue,!1)})}flush(T=-1){let P=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ue,Fe)=>this._balanceNamespaceList(ue,Fe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ue=0;ueue()),this._flushFns=[],this._whenQuietFns.length){const ue=this._whenQuietFns;this._whenQuietFns=[],P.length?Qe(P).onDone(()=>{ue.forEach(Fe=>Fe())}):ue.forEach(Fe=>Fe())}}reportError(T){throw function ae(je){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(T,P){const ue=new ai,Fe=[],it=new Map,It=[],Et=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=ut+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=Pe+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 $t=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=$t,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,ue,L,di,mr);if(xe.errors&&xe.errors.length)return void Mr.push(xe);if(mr)return ci.onStart(()=>Q(Xi,xe.fromStyles)),ci.onDestroy(()=>V(Xi,xe.toStyles)),void Fe.push(ci);if(Qn.isFallbackTransition)return ci.onStart(()=>Q(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,ue.append(Xi,xe.timelines),It.push({instruction:xe,player:ci,element:Xi}),xe.queriedElements.forEach(ht=>_t(Et,ht,[]).push(ci)),xe.preStyleProps.forEach((ht,$t)=>{if(ht.size){let Kt=Qt.get($t);Kt||Qt.set($t,Kt=new Set),ht.forEach((Un,ki)=>Kt.add(ki))}}),xe.postStyleProps.forEach((ht,$t)=>{let Kt=en.get($t);Kt||en.set($t,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;ue.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=>{_t(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(ue.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,it,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 Q(Hn,ci.fromStyles),Qn.onDestroy(()=>V(Hn,ci.toStyles)),kr.push(Qn),In.has(Hn)&&Fe.push(Qn)}),kr.forEach(Bn=>{const Hn=it.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,ue,Fe,it){let It=[];if(P){const Et=this.playersByQueriedElement.get(T);Et&&(It=Et)}else{const Et=this.playersByElement.get(T);if(Et){const Qt=!it||it==Ui;Et.forEach(en=>{en.queued||!Qt&&en.triggerName!=Fe||It.push(en)})}}return(ue||Fe)&&(It=It.filter(Et=>!(ue&&ue!=Et.namespaceId||Fe&&Fe!=Et.triggerName))),It}_beforeAnimationBuild(T,P,ue){const it=P.element,It=P.isRemovalTransition?void 0:T,Et=P.isRemovalTransition?void 0:P.triggerName;for(const Qt of P.timelines){const en=Qt.element,In=en!==it,Ln=_t(ue,en,[]);this._getPreviousPlayers(en,In,It,Et,P.toState).forEach(li=>{const Gn=li.getRealPlayer();Gn.beforeDestroy&&Gn.beforeDestroy(),li.destroy(),Ln.push(li)})}Q(it,P.fromStyles)}_buildAnimation(T,P,ue,Fe,it,It){const Et=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}((ue.get(ii)||Pn).map(rr=>rr.getRealPlayer())).filter(rr=>!!rr.element&&rr.element===ii),sr=it.get(ii),nr=It.get(ii),Kr=Ge(this._normalizer,Gn.keyframes,sr,nr),Mr=this._buildPlayer(Gn,Kr,Ki);if(Gn.subTimeline&&Fe&&Ln.add(ii),qi){const rr=new gt(T,Et,ii);rr.setRealPlayer(Mr),en.push(rr)}return Mr});en.forEach(Gn=>{_t(this.playersByQueriedElement,Gn.element,[]).push(Gn),Gn.onDone(()=>function St(je,T,P){let ue=je.get(T);if(ue){if(ue.length){const Fe=ue.indexOf(P);ue.splice(Fe,1)}0==ue.length&&je.delete(T)}return ue}(this.playersByQueriedElement,Gn.element,Gn))}),In.forEach(Gn=>On(Gn,Ft));const li=Qe(pi);return li.onDestroy(()=>{In.forEach(Gn=>vi(Gn,Ft)),V(Qt,P.toStyles)}),Ln.forEach(Gn=>{_t(Fe,Gn,[]).push(li)}),li}_buildPlayer(T,P,ue){return P.length>0?this.driver.animate(T.element,P,T.duration,T.delay,T.easing,ue):new d.ZN(T.duration,T.delay)}}class gt{constructor(T,P,ue){this.namespaceId=T,this.triggerName=P,this.element=ue,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,ue)=>{P.forEach(Fe=>tt(T,ue,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){_t(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,ue,Fe){const it=[];P.forEach(Qt=>it.push(yn(Qt)));const It=[];ue.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 Et=0;return P.forEach(Qt=>yn(Qt,it[Et++])),It}function Vn(je,T){const P=new Map;if(je.forEach(Et=>P.set(Et,[])),0==T.length)return P;const Fe=new Set(T),it=new Map;function It(Et){if(!Et)return 1;let Qt=it.get(Et);if(Qt)return Qt;const en=Et.parentNode;return Qt=P.has(en)?en:Fe.has(en)?1:It(en),it.set(Et,Qt),Qt}return T.forEach(Et=>{const Qt=It(Et);1!==Qt&&P.get(Qt).push(Et)}),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(it)):T.set(je,ue),P.delete(je),!0}class Ii{constructor(T,P,ue){this.bodyNode=T,this._driver=P,this._normalizer=ue,this._triggerCache={},this.onRemovalComplete=(Fe,it)=>{},this._transitionEngine=new vt(T,P,ue),this._timelineEngine=new Je(T,P,ue),this._transitionEngine.onRemovalComplete=(Fe,it)=>this.onRemovalComplete(Fe,it)}registerTrigger(T,P,ue,Fe,it){const It=T+"-"+Fe;let Et=this._triggerCache[It];if(!Et){const Qt=[],In=$n(this._driver,it,Qt,[]);if(Qt.length)throw function Ae(je,T){return new n.\u0275RuntimeError(3404,!1)}();Et=function Ei(je,T,P){return new tr(je,T,P)}(Fe,In,this._normalizer),this._triggerCache[It]=Et}this._transitionEngine.registerTrigger(P,Fe,Et)}register(T,P){this._transitionEngine.register(T,P)}destroy(T,P){this._transitionEngine.destroy(T,P)}onInsert(T,P,ue,Fe){this._transitionEngine.insertNode(T,P,ue,Fe)}onRemove(T,P,ue){this._transitionEngine.removeNode(T,P,ue)}disableAnimations(T,P){this._transitionEngine.markElementAsDisabled(T,P)}process(T,P,ue,Fe){if("@"==ue.charAt(0)){const[it,It]=Bt(ue);this._timelineEngine.command(it,P,It,Fe)}else this._transitionEngine.trigger(T,P,ue,Fe)}listen(T,P,ue,Fe,it){if("@"==ue.charAt(0)){const[It,Et]=Bt(ue);return this._timelineEngine.listen(It,P,Et,it)}return this._transitionEngine.listen(T,P,ue,Fe,it)}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,ue,Fe){this._element=P,this._startStyles=ue,this._endStyles=Fe,this._state=0;let it=je.initialStylesByElement.get(P);it||je.initialStylesByElement.set(P,it=new Map),this._initialStyles=it}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&&(Q(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Q(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,ue)=>{(function Oo(je){return"display"===je||"position"===je})(ue)&&(T=T||new Map,T.set(ue,P))}),T}class jr{constructor(T,P,ue,Fe){this.element=T,this.keyframes=P,this.options=ue,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=ue.duration,this._delay=ue.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(ue=>{P.push(Object.fromEntries(ue))}),P}_triggerWebAnimation(T,P,ue){return T.animate(this._convertKeyframesToObject(P),ue)}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((ue,Fe)=>{"offset"!==Fe&&T.set(Fe,this._finished?ue:Mn(this.element,Fe))}),this.currentSnapshot=T}triggerCallback(T){const P="start"===T?this._onStartFns:this._onDoneFns;P.forEach(ue=>ue()),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 Lt(T)}query(T,P,ue){return ne(T,P,ue)}computeStyle(T,P,ue){return window.getComputedStyle(T)[P]}animate(T,P,ue,Fe,it,It=[]){const Qt={duration:ue,delay:Fe,fill:0==Fe?"both":"forwards"};it&&(Qt.easing=it);const en=new Map,In=It.filter(li=>li instanceof jr);(function xn(je,T){return 0===je||0===T})(ue,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=>Me(T)):[]}(P).map(li=>F(li));Ln=function Sn(je,T,P){if(P.size&&T.length){let ue=T[0],Fe=[];if(P.forEach((it,It)=>{ue.has(It)||Fe.push(It),ue.set(It,it)}),Fe.length)for(let it=1;itIt.set(Et,Mn(je,Et)))}}return T}(T,Ln,en);const pi=function Zi(je,T){let P=null,ue=null;return Array.isArray(T)&&T.length?(P=no(T[0]),T.length>1&&(ue=no(T[T.length-1]))):T instanceof Map&&(P=no(T)),P||ue?new Vr(je,P,ue):null}(T,Ln);return new jr(T,Ln,Qt,pi)}}var fo=a(6814);let mo=(()=>{class je extends d._j{constructor(P,ue){super(),this._nextAnimationId=0,this._renderer=P.createRenderer(ue.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(P){const ue=this._nextAnimationId.toString();this._nextAnimationId++;const Fe=Array.isArray(P)?(0,d.vP)(P):P;return ro(this._renderer,null,ue,"register",[Fe]),new po(ue,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,ue,Fe){this.id=T,this.element=P,this._renderer=Fe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ue)}_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,ue,Fe){return je.setProperty(T,`@@${P}:${ue}`,Fe)}const Ar="@.disabled";let go=(()=>{class je{constructor(P,ue,Fe){this.delegate=P,this.engine=ue,this._zone=Fe,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,ue.onRemovalComplete=(it,It)=>{const Et=It?.parentNode(it);Et&&It.removeChild(Et,it)}}createRenderer(P,ue){const it=this.delegate.createRenderer(P,ue);if(!(P&&ue&&ue.data&&ue.data.animation)){let In=this._rendererCache.get(it);return In||(In=new _o("",it,this.engine,()=>this._rendererCache.delete(it)),this._rendererCache.set(it,In)),In}const It=ue.id,Et=ue.id+"-"+this._currentId;this._currentId++,this.engine.register(Et,P);const Qt=In=>{Array.isArray(In)?In.forEach(Qt):this.engine.registerTrigger(It,Et,P,In.name,In)};return ue.data.animation.forEach(Qt),new fe(this,Et,it,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(P,ue,Fe){P>=0&&Pue(Fe)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(it=>{const[It,Et]=it;It(Et)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([ue,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,ue,Fe){this.namespaceId=T,this.delegate=P,this.engine=ue,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,ue,Fe=!0){this.delegate.insertBefore(T,P,ue),this.engine.onInsert(this.namespaceId,P,T,Fe)}removeChild(T,P,ue){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,ue,Fe){this.delegate.setAttribute(T,P,ue,Fe)}removeAttribute(T,P,ue){this.delegate.removeAttribute(T,P,ue)}addClass(T,P){this.delegate.addClass(T,P)}removeClass(T,P){this.delegate.removeClass(T,P)}setStyle(T,P,ue,Fe){this.delegate.setStyle(T,P,ue,Fe)}removeStyle(T,P,ue){this.delegate.removeStyle(T,P,ue)}setProperty(T,P,ue){"@"==P.charAt(0)&&P==Ar?this.disableAnimations(T,!!ue):this.delegate.setProperty(T,P,ue)}setValue(T,P){this.delegate.setValue(T,P)}listen(T,P,ue){return this.delegate.listen(T,P,ue)}disableAnimations(T,P){this.engine.disableAnimations(T,P)}}class fe extends _o{constructor(T,P,ue,Fe,it){super(P,ue,Fe,it),this.factory=T,this.namespaceId=P}setProperty(T,P,ue){"@"==P.charAt(0)?"."==P.charAt(1)&&P==Ar?this.disableAnimations(T,ue=void 0===ue||!!ue):this.engine.process(this.namespaceId,T,P.slice(1),ue):this.delegate.setProperty(T,P,ue)}listen(T,P,ue){if("@"==P.charAt(0)){const Fe=function le(je){switch(je){case"body":return document.body;case"document":return document;case"window":return window;default:return je}}(T);let it=P.slice(1),It="";return"@"!=it.charAt(0)&&([it,It]=function J(je){const T=je.indexOf(".");return[je.substring(0,T),je.slice(T+1)]}(it)),this.engine.listen(this.namespaceId,Fe,it,It,Et=>{this.factory.scheduleListenerCallback(Et._data||-1,ue,Et)})}return this.delegate.listen(T,P,ue)}}let We=(()=>{class je extends Ii{constructor(P,ue,Fe,it){super(P.body,ue,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:We},{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:ce},{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:()=>lt,By:()=>Pe,DomSanitizer:()=>ge,EVENT_MANAGER_PLUGINS:()=>_,EventManager:()=>l,HAMMER_GESTURE_CONFIG:()=>Ft,HAMMER_LOADER:()=>Gt,HammerGestureConfig:()=>Oe,HammerModule:()=>he,Meta:()=>at,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>ie,Title:()=>Y,TransferState:()=>Rt,VERSION:()=>be,bootstrapApplication:()=>He,createApplication:()=>Ze,disableDebugTools:()=>ut,enableDebugTools:()=>_e,makeStateKey:()=>dt,platformBrowser:()=>Bt,provideClientHydration:()=>Q,provideProtractorTestingSupport:()=>Ge,withNoDomReuse:()=>De,withNoHttpTransferCache:()=>F,\u0275BrowserDomAdapter:()=>r,\u0275BrowserGetTestability:()=>b,\u0275DomEventsPlugin:()=>Be,\u0275DomRendererFactory2:()=>Re,\u0275DomSanitizerImpl:()=>Me,\u0275HammerGesturesPlugin:()=>Ke,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>_t,\u0275KeyEventsPlugin:()=>ve,\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(nt,Ve,yt){return nt.addEventListener(Ve,yt),()=>{nt.removeEventListener(Ve,yt)}}dispatchEvent(nt,Ve){nt.dispatchEvent(Ve)}remove(nt){nt.parentNode&&nt.parentNode.removeChild(nt)}createElement(nt,Ve){return(Ve=Ve||this.getDefaultDocument()).createElement(nt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(nt){return nt.nodeType===Node.ELEMENT_NODE}isShadowRoot(nt){return nt instanceof DocumentFragment}getGlobalEventTarget(nt,Ve){return"window"===Ve?window:"document"===Ve?nt:"body"===Ve?nt.body:null}getBaseHref(nt){const Ve=function h(){return f=f||document.querySelector("base"),f?f.getAttribute("href"):null}();return null==Ve?null:function v(qe){u=u||document.createElement("a"),u.setAttribute("href",qe);const nt=u.pathname;return"/"===nt.charAt(0)?nt:`/${nt}`}(Ve)}resetBaseElement(){f=null}getUserAgent(){return window.navigator.userAgent}getCookie(nt){return(0,c.\u0275parseCookieValue)(document.cookie,nt)}}let u,f=null;class b{addToWindow(nt){n.\u0275global.getAngularTestability=(yt,At=!0)=>{const on=nt.findTestabilityInTree(yt,At);if(null==on)throw new n.\u0275RuntimeError(5103,!1);return on},n.\u0275global.getAllAngularTestabilities=()=>nt.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>nt.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(yt=>{const At=n.\u0275global.getAllAngularTestabilities();let on=At.length,xn=!1;const Sn=function(_n){xn=xn||_n,on--,0==on&&yt(xn)};At.forEach(_n=>{_n.whenStable(Sn)})})}findTestabilityInTree(nt,Ve,yt){return null==Ve?null:nt.getTestability(Ve)??(yt?(0,c.\u0275getDOM)().isShadowRoot(Ve)?this.findTestabilityInTree(nt,Ve.host,!0):this.findTestabilityInTree(nt,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(At=>{At.manager=this}),this._plugins=Ve.slice().reverse()}addEventListener(Ve,yt,At){return this._findPluginFor(yt).addEventListener(Ve,yt,At)}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(nt){this._doc=nt}}const x="ng-app-id";let D=(()=>{class qe{constructor(Ve,yt,At,on={}){this.doc=Ve,this.appId=yt,this.nonce=At,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(At=>At.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(At=>{null!=At.textContent&&yt.set(At.textContent,At)}),yt}return null}changeUsageCount(Ve,yt){const At=this.styleRef;if(At.has(Ve)){const on=At.get(Ve);return on.usage+=yt,on.usage}return At.set(Ve,{usage:yt,elements:[]}),yt}getStyleElement(Ve,yt){const At=this.styleNodesInDOM,on=At?.get(yt);if(on?.parentNode===Ve)return At.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 At=this.getStyleElement(Ve,yt);Ve.appendChild(At);const on=this.styleRef,xn=on.get(yt)?.elements;xn?xn.push(At):on.set(yt,{elements:[At],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 Ce(qe,nt){return nt.map(Ve=>Ve.replace(E,qe))}let Re=(()=>{class qe{constructor(Ve,yt,At,on,xn,Sn,_n,Mn=null){this.eventManager=Ve,this.sharedStylesHost=yt,this.appId=At,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 At=this.getOrCreateRenderer(Ve,yt);return At instanceof Ee?At.applyToHost(Ve):At instanceof we&&At.applyStyles(),At}getOrCreateRenderer(Ve,yt){const At=this.rendererByCompId;let on=At.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)}At.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(nt,Ve,yt,At){this.eventManager=nt,this.doc=Ve,this.ngZone=yt,this.platformIsServer=At,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(nt,Ve){return Ve?this.doc.createElementNS(S[Ve]||Ve,nt):this.doc.createElement(nt)}createComment(nt){return this.doc.createComment(nt)}createText(nt){return this.doc.createTextNode(nt)}appendChild(nt,Ve){(W(nt)?nt.content:nt).appendChild(Ve)}insertBefore(nt,Ve,yt){nt&&(W(nt)?nt.content:nt).insertBefore(Ve,yt)}removeChild(nt,Ve){nt&&nt.removeChild(Ve)}selectRootElement(nt,Ve){let yt="string"==typeof nt?this.doc.querySelector(nt):nt;if(!yt)throw new n.\u0275RuntimeError(-5104,!1);return Ve||(yt.textContent=""),yt}parentNode(nt){return nt.parentNode}nextSibling(nt){return nt.nextSibling}setAttribute(nt,Ve,yt,At){if(At){Ve=At+":"+Ve;const on=S[At];on?nt.setAttributeNS(on,Ve,yt):nt.setAttribute(Ve,yt)}else nt.setAttribute(Ve,yt)}removeAttribute(nt,Ve,yt){if(yt){const At=S[yt];At?nt.removeAttributeNS(At,Ve):nt.removeAttribute(`${yt}:${Ve}`)}else nt.removeAttribute(Ve)}addClass(nt,Ve){nt.classList.add(Ve)}removeClass(nt,Ve){nt.classList.remove(Ve)}setStyle(nt,Ve,yt,At){At&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?nt.style.setProperty(Ve,yt,At&n.RendererStyleFlags2.Important?"important":""):nt.style[Ve]=yt}removeStyle(nt,Ve,yt){yt&n.RendererStyleFlags2.DashCase?nt.style.removeProperty(Ve):nt.style[Ve]=""}setProperty(nt,Ve,yt){nt[Ve]=yt}setValue(nt,Ve){nt.nodeValue=Ve}listen(nt,Ve,yt){if("string"==typeof nt&&!(nt=(0,c.\u0275getDOM)().getGlobalEventTarget(this.doc,nt)))throw new Error(`Unsupported event target ${nt} for event ${Ve}`);return this.eventManager.addEventListener(nt,Ve,this.decoratePreventDefault(yt))}decoratePreventDefault(nt){return Ve=>{if("__ngUnwrap__"===Ve)return nt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>nt(Ve)):nt(Ve))&&Ve.preventDefault()}}}function W(qe){return"TEMPLATE"===qe.tagName&&void 0!==qe.content}class pe extends Ae{constructor(nt,Ve,yt,At,on,xn,Sn,_n){super(nt,on,xn,_n),this.sharedStylesHost=Ve,this.hostEl=yt,this.shadowRoot=yt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mn=Ce(At.id,At.styles);for(const xi of Mn){const fi=document.createElement("style");Sn&&fi.setAttribute("nonce",Sn),fi.textContent=xi,this.shadowRoot.appendChild(fi)}}nodeOrShadowRoot(nt){return nt===this.hostEl?this.shadowRoot:nt}appendChild(nt,Ve){return super.appendChild(this.nodeOrShadowRoot(nt),Ve)}insertBefore(nt,Ve,yt){return super.insertBefore(this.nodeOrShadowRoot(nt),Ve,yt)}removeChild(nt,Ve){return super.removeChild(this.nodeOrShadowRoot(nt),Ve)}parentNode(nt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(nt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class we extends Ae{constructor(nt,Ve,yt,At,on,xn,Sn,_n){super(nt,on,xn,Sn),this.sharedStylesHost=Ve,this.removeStylesOnCompDestroy=At,this.styles=_n?Ce(_n,yt.styles):yt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ee extends we{constructor(nt,Ve,yt,At,on,xn,Sn,_n){const Mn=At+"-"+yt.id;super(nt,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(nt){this.applyStyles(),this.setAttribute(nt,this.hostAttr,"")}createElement(nt,Ve){const yt=super.createElement(nt,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,At){return Ve.addEventListener(yt,At,!1),()=>this.removeEventListener(Ve,yt,At)}removeEventListener(Ve,yt,At){return Ve.removeEventListener(yt,At)}}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"},ae={alt:qe=>qe.altKey,control:qe=>qe.ctrlKey,meta:qe=>qe.metaKey,shift:qe=>qe.shiftKey};let ve=(()=>{class qe extends y{constructor(Ve){super(Ve)}supports(Ve){return null!=qe.parseEventName(Ve)}addEventListener(Ve,yt,At){const on=qe.parseEventName(yt),xn=qe.eventCallback(on.fullKey,At,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.\u0275getDOM)().onAndCancel(Ve,on.domEventName,xn))}static parseEventName(Ve){const yt=Ve.toLowerCase().split("."),At=yt.shift();if(0===yt.length||"keydown"!==At&&"keyup"!==At)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=At,_n.fullKey=xn,_n}static matchEventFullKeyCode(Ve,yt){let At=re[Ve.key]||Ve.key,on="";return yt.indexOf("code.")>-1&&(At=Ve.code,on="code."),!(null==At||!At)&&(At=At.toLowerCase()," "===At?At="space":"."===At&&(At="dot"),G.forEach(xn=>{xn!==At&&(0,ae[xn])(Ve)&&(on+=xn+".")}),on+=At,on===yt)}static eventCallback(Ve,yt,At){return on=>{qe.matchEventFullKeyCode(on,Ve)&&At.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,nt){return(0,n.\u0275internalCreateApplication)({rootComponent:qe,...Qe(nt)})}function Ze(qe){return(0,n.\u0275internalCreateApplication)(Qe(qe))}function Qe(qe){return{appProviders:[...Le,...qe?.providers??[]],platformProviders:_t}}function Ge(){return[...Lt]}function tt(){r.makeCurrent()}const _t=[{provide:n.PLATFORM_ID,useValue:c.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:tt,multi:!0},{provide:c.DOCUMENT,useFactory:function Nt(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Bt=(0,n.createPlatformFactory)(n.platformCore,"browser",_t),Tt=new n.InjectionToken(""),Lt=[{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 Ct(){return new n.ErrorHandler},deps:[]},{provide:_,useClass:Be,multi:!0,deps:[c.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:_,useClass:ve,multi:!0,deps:[c.DOCUMENT]},Re,D,l,{provide:n.RendererFactory2,useExisting:Re},{provide:c.XhrFactory,useClass:p,deps:[]},[]];let lt=(()=>{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,...Lt],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((At,on)=>(on&&At.push(this._getOrCreateElement(on,yt)),At),[]):[]}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 At=this.getTag(yt);return At?this._setMetaElementAttributes(Ve,At):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 At=this._dom.createElement("meta");return this._setMetaElementAttributes(Ve,At),this._doc.getElementsByTagName("head")[0].appendChild(At),At}_setMetaElementAttributes(Ve,yt){return Object.keys(Ve).forEach(At=>yt.setAttribute(this._getMetaKeyMap(At),Ve[At])),yt}_parseSelector(Ve){const yt=Ve.name?"name":"property";return`${yt}="${Ve[yt]}"`}_containsAttributes(Ve,yt){return Object.keys(Ve).every(At=>yt.getAttribute(this._getMetaKeyMap(At))===Ve[At])}_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,nt){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[qe]=nt)}const K=typeof window<"u"&&window||{};class ce{constructor(nt,Ve){this.msPerTick=nt,this.numTicks=Ve}}class Te{constructor(nt){this.appRef=nt.injector.get(n.ApplicationRef)}timeChangeDetection(nt){const Ve=nt&&nt.record,yt="Change Detection",At=null!=K.console.profile;Ve&&At&&K.console.profile(yt);const on=et();let xn=0;for(;xn<5||et()-on<500;)this.appRef.tick(),xn++;const Sn=et();Ve&&At&&K.console.profileEnd(yt);const _n=(Sn-on)/xn;return K.console.log(`ran ${xn} change detection cycles`),K.console.log(`${_n.toFixed(2)} ms per check`),new ce(_n,xn)}}function et(){return K.performance&&K.performance.now?K.performance.now():(new Date).getTime()}const Dt="profiler";function _e(qe){return ne(Dt,new Te(qe)),qe}function ut(){ne(Dt,null)}class Pe{static all(){return()=>!0}static css(nt){return Ve=>null!=Ve.nativeElement&&function mt(qe,nt){return!!(0,c.\u0275getDOM)().isElementNode(qe)&&(qe.matches&&qe.matches(nt)||qe.msMatchesSelector&&qe.msMatchesSelector(nt)||qe.webkitMatchesSelector&&qe.webkitMatchesSelector(nt))}(Ve.nativeElement,nt)}static directive(nt){return Ve=>-1!==Ve.providerTokens.indexOf(nt)}}const Pt={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},Ft=new n.InjectionToken("HammerGestureConfig"),Gt=new n.InjectionToken("HammerLoader");let Oe=(()=>{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 At in this.overrides)yt.get(At).set(this.overrides[At]);return yt}}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),Ke=(()=>{class qe extends y{constructor(Ve,yt,At,on){super(Ve),this._config=yt,this.console=At,this.loader=on,this._loaderPromise=null}supports(Ve){return!(!Pt.hasOwnProperty(Ve.toLowerCase())&&!this.isCustomEvent(Ve)||!window.Hammer&&!this.loader)}addEventListener(Ve,yt,At){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,At)):Sn=()=>{}}).catch(()=>{Sn=()=>{}})),()=>{Sn()}}return on.runOutsideAngular(()=>{const xn=this._config.buildHammer(Ve),Sn=function(_n){on.runGuarded(function(){At(_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(Ft),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(Gt,8))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),he=(()=>{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:Ke,multi:!0,deps:[c.DOCUMENT,Ft,n.\u0275Console,[new n.Optional,Gt]]},{provide:Ft,useClass:Oe,deps:[]}]}),qe})(),ge=(()=>{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(Me),yt},providedIn:"root"}),qe})(),Me=(()=>{class qe extends ge{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 ct(qe){return new Me(qe.get(c.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),yt},providedIn:"root"}),qe})();function Ye(qe,nt=[]){return{\u0275kind:qe,\u0275providers:nt}}function De(){return Ye(0)}function F(){return Ye(1)}function Q(...qe){const nt=[],Ve=new Set;for(const{\u0275providers:yt,\u0275kind:At}of qe)Ve.add(At),yt.length&&nt.push(yt);return(0,n.makeEnvironmentProviders)([[],Ve.has(0)?[]:(0,n.\u0275withDomHydration)(),Ve.has(1)?[]:(0,d.\u0275withHttpTransferCache)(),nt])}const be=new n.Version("16.1.7"),dt=n.makeStateKey,Rt=n.TransferState},5187:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ActivatedRoute:()=>Fn,ActivatedRouteSnapshot:()=>Fi,ActivationEnd:()=>jt,ActivationStart:()=>Mt,BaseRouteReuseStrategy:()=>L,ChildActivationEnd:()=>Ni,ChildActivationStart:()=>ai,ChildrenOutletContexts:()=>se,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:()=>ce,UrlTree:()=>at,VERSION:()=>ja,convertToParamMap:()=>ae,createUrlTreeFromSnapshot:()=>Ve,defaultUrlMatcher:()=>ve,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),f=a(2572),h=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),Ce=a(6424),Re=a(3572),Ae=a(2032),de=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 ae(k){return new re(k)}function ve(k,j,w){const q=w.path.split("/");if(q.length>k.length||"full"===w.pathMatch&&(j.hasChildren()||q.lengthq[rt]===Se)}return k===j}function Ge(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 Ct={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},Nt={exact:function Bt(k,j){return Ze(k,j)},subset:function Lt(k,j){return Object.keys(j).length<=Object.keys(k).length&&Object.keys(j).every(w=>Qe(k[w],j[w]))},ignored:()=>!0};function _t(k,j,w){return Ct[w.paths](k.root,j.root,w.matrixParams)&&Nt[w.queryParams](k.queryParams,j.queryParams)&&!("exact"===w.fragment&&k.fragment!==j.fragment)}function Le(k,j,w){return lt(k,j,j.segments,w)}function lt(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),rt=w.slice(k.segments.length);return!!(ne(k.segments,Se)&&ze(k.segments,Se,q)&&k.children[Be])&<(k.children[Be],j,rt,q)}}function ze(k,j,w){return j.every((q,Se)=>Nt[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=ae(this.queryParams)),this._queryParamMap}toString(){return et.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=ae(this.parameters)),this._parameterMap}toString(){return Oe(this)}}function ne(k,j){return k.length===j.length&&k.every((w,q)=>w.path===j[q].path)}let ce=(()=>{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 be(j);return new at(w.parseRootSegment(),w.parseQueryParams(),w.parseFragment())}serialize(j){const w=`/${_e(j.root,!0)}`,q=function he(k){const j=Object.keys(k).map(w=>{const q=k[w];return Array.isArray(q)?q.map(Se=>`${Pe(w)}=${Pe(Se)}`).join("&"):`${Pe(w)}=${Pe(q)}`}).filter(w=>!!w);return j.length?`?${j.join("&")}`:""}(j.queryParams);return`${w}${q}${"string"==typeof j.fragment?`#${function mt(k){return encodeURI(k)}(j.fragment)}`:""}`}}const et=new Te;function Dt(k){return k.segments.map(j=>Oe(j)).join("/")}function _e(k,j){if(!k.hasChildren())return Dt(k);if(j){const w=k.children[Be]?_e(k.children[Be],!1):"",q=[];return Object.entries(k.children).forEach(([Se,rt])=>{Se!==Be&&q.push(`${Se}:${_e(rt,!1)}`)}),q.length>0?`${w}(${q.join("//")})`:w}{const w=function K(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?[_e(k.children[Be],!1)]:[`${Se}:${_e(q,!1)}`]);return 1===Object.keys(k.children).length&&null!=k.children[Be]?`${Dt(k)}/${w[0]}`:`${Dt(k)}/(${w.join("//")})`}}function ut(k){return encodeURIComponent(k).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pe(k){return ut(k).replace(/%3B/gi,";")}function Pt(k){return ut(k).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ft(k){return decodeURIComponent(k)}function Gt(k){return Ft(k.replace(/\+/g,"%20"))}function Oe(k){return`${Pt(k.path)}${function Ke(k){return Object.keys(k).map(j=>`;${Pt(j)}=${Pt(k[j])}`).join("")}(k.parameters)}`}const ge=/^[^\/()?;#]+/;function ct(k){const j=k.match(ge);return j?j[0]:""}const Me=/^[^\/()?;=#]+/,De=/^[^=?&#]+/,V=/^[^&#]+/;class be{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=ct(this.remaining);if(""===j&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(j),new oe(Ft(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(Me);return j?j[0]:""}(this.remaining);if(!w)return;this.capture(w);let q="";if(this.consumeOptional("=")){const Se=ct(this.remaining);Se&&(q=Se,this.capture(q))}j[Ft(w)]=Ft(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 Q(k){const j=k.match(V);return j?j[0]:""}(this.remaining);st&&(q=st,this.capture(q))}const Se=Gt(w),rt=Gt(q);if(j.hasOwnProperty(Se)){let st=j[Se];Array.isArray(st)||(st=[st],j[Se]=st),st.push(rt)}else j[Se]=rt}parseParens(j){const w={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const q=ct(this.remaining),Se=this.remaining[q.length];if("/"!==Se&&")"!==Se&&";"!==Se)throw new n.\u0275RuntimeError(4010,!1);let rt;q.indexOf(":")>-1?(rt=q.slice(0,q.indexOf(":")),this.capture(rt),this.capture(":")):j&&(rt=Be);const st=this.parseChildren();w[rt]=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 dt(k){return k.segments.length>0?new N([],{[Be]:k}):k}function Rt(k){const j={};for(const q of Object.keys(k.children)){const rt=Rt(k.children[q]);if(q===Be&&0===rt.segments.length&&rt.hasChildren())for(const[st,Vt]of Object.entries(rt.children))j[st]=Vt;else(rt.segments.length>0||rt.hasChildren())&&(j[q]=rt)}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 nt(k){return k instanceof at}function Ve(k,j,w=null,q=null){return At(yt(k),j,w,q)}function yt(k){let j;const Se=dt(function w(rt){const st={};for(const hn of rt.children){const An=w(hn);st[hn.outlet]=An}const Vt=new N(rt.url,st);return rt===k&&(j=Vt),Vt}(k.root));return j??Se}function At(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 rt=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,rt,st)=>{if("object"==typeof rt&&null!=rt){if(rt.outlets){const Vt={};return Object.entries(rt.outlets).forEach(([hn,An])=>{Vt[hn]="string"==typeof An?An.split("/"):An}),[...Se,{outlets:Vt}]}if(rt.segmentPath)return[...Se,rt.segmentPath]}return"string"!=typeof rt?[...Se,rt]:0===st?(rt.split("/").forEach((Vt,hn)=>{0==hn&&"."===Vt||(0==hn&&""===Vt?w=!0:".."===Vt?j++:""!=Vt&&Se.push(Vt))}),Se):[...Se,rt]},[]);return new Mn(w,j,q)}(j);if(rt.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,rt=w;for(;rt>Se;){if(rt-=Se,q=q.parent,!q)throw new n.\u0275RuntimeError(4005,!1);Se=q.segments.length}return new fi(q,!1,Se-rt)}(w,w.segments.length-1+q,k.numberOfDoubleDots)}(rt,Se,k),Vt=st.processChildren?pt(st.segmentGroup,st.index,rt.commands):bt(st.segmentGroup,st.index,rt.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,rt={};q&&Object.entries(q).forEach(([hn,An])=>{rt[hn]=Array.isArray(An)?An.map(Kn=>`${Kn}`):`${An}`}),st=k===j?w:_n(k,j,w);const Vt=dt(Rt(st));return new at(Vt,rt,Se)}function _n(k,j,w){const q={};return Object.entries(k.children).forEach(([Se,rt])=>{q[Se]=rt===j?w:_n(rt,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!==Ge(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 bt(k,j,w){if(k||(k=new N([],{})),0===k.segments.length&&k.hasChildren())return pt(k,j,w);const q=function qt(k,j,w){let q=0,Se=j;const rt={match:!1,pathIndex:0,commandIndex:0};for(;Se=w.length)return rt;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 rt;q+=2}else{if(!Nn(hn,{},st))return rt;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[rt]=bt(k.children[rt],j,st))}),Object.entries(k.children).forEach(([rt,st])=>{void 0===q[rt]&&(Se[rt]=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,rt){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.shouldActivate=rt,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 Mt{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 se,this.attachRef=null}}let se=(()=>{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=kt(j,this._root);return w?w.children.map(q=>q.value):[]}firstChild(j){const w=kt(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 kt(k,j){if(k===j.value)return j;for(const w of j.children){const q=kt(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({}),rt=new r.X({}),st=new r.X({}),Vt=new r.X(""),hn=new Fn(q,Se,st,Vt,rt,Be,j,w.root);return hn.snapshot=w.root,new pn(new un(hn,[]),w)}class Fn{constructor(j,w,q,Se,rt,st,Vt,hn){this.urlSubject=j,this.paramsSubject=w,this.queryParamsSubject=q,this.fragmentSubject=Se,this.dataSubject=rt,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=rt}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=>ae(j)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,D.U)(j=>ae(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],rt=w[q-1];if(Se.routeConfig&&""===Se.routeConfig.path)q--;else{if(rt.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,rt,st,Vt,hn,An){this.url=j,this.params=w,this.queryParams=q,this.fragment=Se,this.data=rt,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=ae(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ae(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)(se),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===se?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,f.a)([q.queryParams,q.params,q.data]).pipe((0,S.w)(([rt,st,Vt],hn)=>(Vt={...rt,...st,...Vt},0===hn?(0,g.of)(Vt):Promise.resolve(Vt)))).subscribe(rt=>{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,rt[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 rt=k.retrieve(j.value);if(null!==rt){const st=rt.route;return st.value._futureSnapshot=j.value,st.children=j.children.map(Vt=>yi(k,Vt)),st}}const q=function Ot(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(rt=>yi(k,rt));return new un(q,Se)}}const C="ngNavigationCancelingError";function te(k,j){const{redirectTo:w,navigationBehaviorOptions:q}=nt(j)?{redirectTo:j,navigationBehaviorOptions:void 0}:j,Se=Ne(!1,0,j);return Se.url=w,Se.navigationBehaviorOptions=q,Se}function Ne(k,j,w){const q=new Error("NavigationCancelingError: "+(k||""));return q[C]=!0,q.cancellationCode=j,w&&(q.url=w),q}function ot(k){return Zt(k)&&nt(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,rt){this.routeReuseStrategy=j,this.futureState=w,this.currState=q,this.forwardEvent=Se,this.inputBindingEnabled=rt}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(rt=>{const st=rt.value.outlet;this.deactivateRoutes(rt,Se[st],q),delete Se[st]}),Object.values(Se).forEach(rt=>{this.deactivateRouteAndItsChildren(rt,q)})}deactivateRoutes(j,w,q){const Se=j.value,rt=w?w.value:null;if(Se===rt)if(Se.component){const st=q.getContext(Se.outlet);st&&this.deactivateChildRoutes(j,w,st.children)}else this.deactivateChildRoutes(j,w,q);else rt&&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,rt=gn(j);for(const st of Object.keys(rt))this.deactivateRouteAndItsChildren(rt[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,rt=gn(j);for(const st of Object.keys(rt))this.deactivateRouteAndItsChildren(rt[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(rt=>{this.activateRoutes(rt,Se[rt.value.outlet],q),this.forwardEvent(new jt(rt.value.snapshot))}),j.children.length&&this.forwardEvent(new Ni(j.value.snapshot))}activateRoutes(j,w,q){const Se=j.value,rt=w?w.value:null;if(tn(Se),Se===rt)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 rt=gn(j);return k.children.forEach(st=>{(function oi(k,j,w,q,Se={canDeactivateChecks:[],canActivateChecks:[]}){const rt=k.value,st=j?j.value:null,Vt=w?w.getContext(k.value.outlet):null;if(st&&rt.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,rt,rt.routeConfig.runGuardsAndResolvers);hn?Se.canActivateChecks.push(new On(q)):(rt.data=st.data,rt._resolvedData=st._resolvedData),ni(k,j,rt.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,rt.component?Vt?Vt.children:null:w,q,Se)})(st,rt[st.value.outlet],w,q.concat([st.value]),Se),delete rt[st.value.outlet]}),Object.entries(rt).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(([rt,st])=>{Zi(st,Se.component?j?j.children.getContext(rt):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 h.K||"EmptyError"===k?.name}const Sr=Symbol("INITIAL_VALUE");function Ar(){return(0,S.w)(k=>(0,f.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(nt(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 rt=this.createSegmentGroup(j,w.root,q,Se);return new at(rt,this.createQueryParams(w.queryParams,this.urlTree.queryParams),w.fragment)}createQueryParams(j,w){const q={};return Object.entries(j).forEach(([Se,rt])=>{if("string"==typeof rt&&rt.startsWith(":")){const Vt=rt.substring(1);q[Se]=w[Vt]}else q[Se]=rt}),q}createSegmentGroup(j,w,q,Se){const rt=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(rt,st)}createSegments(j,w,q,Se){return w.map(rt=>rt.path.startsWith(":")?this.findPosParam(j,rt,Se):this.findOrReturn(rt,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 ue={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fe(k,j,w,q,Se){const rt=it(k,j,w);return rt.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 rt=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)(rt).pipe(Ar(),dr())}(q,j,w).pipe((0,D.U)(st=>!0===st?rt:{...ue}))):(0,g.of)(rt)}function it(k,j,w){if(""===j.path)return"full"===j.pathMatch&&(k.hasChildren()||w.length>0)?{...ue}:{matched:!0,consumedSegments:[],remainingSegments:w,parameters:{},positionalParamSegments:{}};const Se=(j.matcher||ve)(w,k,j);if(!Se)return{...ue};const rt={};Object.entries(Se.posParams??{}).forEach(([Vt,hn])=>{rt[Vt]=hn.path});const st=Se.consumed.length>0?{...rt,...Se.consumed[Se.consumed.length-1].parameters}:rt;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,Et(k,0,w,q,k.children)),slicedSegments:w}:{segmentGroup:new N(k.segments,k.children),slicedSegments:w}}function Et(k,j,w,q,Se){const rt={};for(const st of q)if(Ln(k,w,st)&&!Se[Ht(st)]){const Vt=new N([],{});rt[Ht(st)]=Vt}return{...Se,...rt}}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,rt,st,Vt){this.injector=j,this.configLoader=w,this.rootComponentType=q,this.config=Se,this.urlTree=rt,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),rt=new Gi("",Se),st=Ve(q,[],this.urlTree.queryParams,this.urlTree.fragment);return st.queryParams=this.urlTree.queryParams,rt.url=this.urlSerializer.serialize(st),this.inheritParamsAndData(rt._root),{state:rt,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 rt of Object.keys(q.children))"primary"===rt?Se.unshift(rt):Se.push(rt);return(0,d.D)(Se).pipe((0,ie.b)(rt=>{const st=q.children[rt],Vt=function Yt(k,j){const w=k.filter(q=>Ht(q)===j);return w.push(...k.filter(q=>Ht(q)!==j)),w}(w,rt);return this.processSegmentGroup(j,Vt,st,rt)}),(0,Ce.R)((rt,st)=>(rt.push(...st),rt)),(0,Re.d)(null),(0,Ae.Z)(),(0,$.z)(rt=>{if(null===rt)return Rr(q);const st=Ki(rt);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,rt,st){return(0,d.D)(w).pipe((0,ie.b)(Vt=>this.processSegmentAgainstRoute(Vt._injector??j,w,Vt,q,Se,rt,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,rt)?(0,g.of)([]):Rr(q);throw Vt}))}processSegmentAgainstRoute(j,w,q,Se,rt,st,Vt){return function pi(k,j,w,q){return!!(Ht(k)===q||q!==Be&&Ln(j,w,k))&&("**"===k.path||it(j,k,w).matched)}(q,Se,rt,st)?void 0===q.redirectTo?this.matchSegmentAgainstRoute(j,Se,q,rt,st,Vt):Vt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(j,Se,w,q,rt,st):Rr(Se):Rr(Se)}expandSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st){return"**"===Se.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(j,q,Se,st):this.expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st)}expandWildCardWithParamsAgainstRouteUsingRedirect(j,w,q,Se){const rt=this.applyRedirects.applyRedirectCommands([],q.redirectTo,{});return q.redirectTo.startsWith("/")?oo(rt):this.applyRedirects.lineralizeSegments(q,rt).pipe((0,$.z)(st=>{const Vt=new N(st,{});return this.processSegment(j,w,Vt,st,Se,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st){const{matched:Vt,consumedSegments:hn,remainingSegments:An,positionalParamSegments:Kn}=it(w,Se,rt);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,rt,st){let Vt;if("**"===q.path){const hn=Se.length>0?Ge(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)===rt;return this.processSegment(Kn,An,wo,To,Io?Be:rt,!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 rt=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)(rt).pipe(Ar(),dr())}(j,w,q).pipe((0,$.z)(Se=>Se?this.configLoader.loadChildren(j,w).pipe((0,A.b)(rt=>{w._loadedRoutes=rt.routes,w._loadedInjector=rt.injector})):function T(k){return(0,p._)(Ne(!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(rt=>q.value.routeConfig===rt.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)(rt=>{this.onLoadEndListener&&this.onLoadEndListener(w),w._loadedComponent=rt}),(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 rt=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(rt,()=>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)(ce),this.rootContexts=(0,n.inject)(se),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,rt=!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,rt){return(0,$.z)(st=>function Gn(k,j,w,q,Se,rt,st="emptyOnly"){return new ii(k,j,w,q,Se,st,rt).recognize()}(k,j,w,q,st.extractedUrl,Se,rt).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:rt,canDeactivateChecks:st}}=w;return 0===st.length&&0===rt.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 rt=j&&j.routeConfig?j.routeConfig.canDeactivate:null;if(!rt||0===rt.length)return(0,g.of)(!0);const st=rt.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 le(k,j){return null!==k&&j&&j(new Mt(k)),(0,g.of)(!0)}(Se.route,q),function Xt(k,j,w){const q=j[j.length-1],rt=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)(rt).pipe(Ar())}(k,Se.path,w),function We(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(rt=>(0,v.P)(()=>{const st=Jt(j)??w,Vt=qn(rt,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,rt,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,nt(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 rt=0;return(0,d.D)(Se).pipe((0,ie.b)(st=>function xr(k,j,w,q){const Se=k.routeConfig,rt=k._resolve;return void 0!==Se?.title&&!Yr(Se)&&(rt[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 rt={};return(0,d.D)(Se).pipe((0,$.z)(st=>function yo(k,j,w,q){const Se=Jt(j)??q,rt=qn(k,Se);return tt(rt.resolve?rt.resolve(j,w):Se.runInContext(()=>rt(j,w)))}(k[st],j,w,q).pipe((0,ee.P)(),(0,A.b)(Vt=>{rt[st]=Vt}))),(0,de.h)(1),(0,H.h)(rt),(0,U.K)(st=>ro(st)?_.E:(0,p._)(st)))}(rt,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)(()=>rt++),(0,de.h)(1),(0,$.z)(st=>rt===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,f.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||rt||this.cancelNavigationTransition(q,"",1),this.currentNavigation?.id===q.id&&(this.currentNavigation=null)}),(0,U.K)(st=>{if(rt=!0,Zt(st)){ot(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),ot(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 rt=new ti(w.id,this.urlSerializer.serialize(w.extractedUrl),q,Se);this.events.next(rt),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(rt=>rt.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 $t=function(k){return k[k.COMPLETE=0]="COMPLETE",k[k.FAILED=1]="FAILED",k[k.REDIRECTING=2]="REDIRECTING",k}($t||{});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?$t.COMPLETE:w instanceof ti&&(0===w.code||1===w.code)?$t.REDIRECTING:$t.FAILED),(0,X.h)(w=>w!==$t.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)(ce),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 rt={replaceUrl:!0},st=Se?.navigationId?Se:null;if(Se){const hn={...Se};delete hn.navigationId,delete hn.\u0275routerPageId,0!==Object.keys(hn).length&&(rt.state=hn)}const Vt=this.parseUrl(w);this.scheduleNavigation(Vt,q,st,rt)}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:rt,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,...rt};break;case"preserve":Kn=this.currentUrlTree.queryParams;break;default:Kn=rt||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 At($i,w,Kn,An??null)}navigateByUrl(w,q={skipLocationChange:!1}){const Se=nt(w)?w:this.parseUrl(w),rt=this.urlHandlingStrategy.merge(Se,this.rawUrlTree);return this.scheduleNavigation(rt,wn,null,q)}navigate(w,q={skipLocationChange:!1}){return function Ji(k){for(let j=0;j{const rt=w[Se];return null!=rt&&(q[Se]=rt),q},{})}scheduleNavigation(w,q,Se,rt,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:rt,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 rt={...q.extras.state,...this.generateNgRouterState(q.id,(this.browserPageId??0)+1)};this.location.go(Se,"",rt)}}restoreHistory(w,q=!1){if("computed"===this.canceledNavigationResolution){const rt=this.currentPageId-(this.browserPageId??this.currentPageId);0!==rt?this.location.historyGo(rt):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===rt&&(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,rt,st,Vt){this.router=w,this.route=q,this.tabIndexAttribute=Se,this.renderer=rt,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,rt,st){return!!(null===this.urlTree||this.isAnchorElement&&(0!==w||q||Se||rt||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,rt=this.el.nativeElement;null!==q?Se.setAttribute(rt,w,q):Se.removeAttribute(rt,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(rt){return q.onClick(rt.button,rt.ctrlKey,rt.shiftKey,rt.altKey,rt.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,rt,st){this.router=w,this.element=q,this.renderer=Se,this.cdr=rt,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 rt;n.\u0275\u0275queryRefresh(rt=n.\u0275\u0275loadQuery())&&(q.links=rt)}},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,rt,st){this.router=w,this.injector=Se,this.preloadingStrategy=rt,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 rt of q){rt.providers&&!rt._injector&&(rt._injector=(0,n.createEnvironmentInjector)(rt.providers,w,`Route: ${rt.path}`));const st=rt._injector??w,Vt=rt._loadedInjector??st;(rt.loadChildren&&!rt._loadedRoutes&&void 0===rt.canLoad||rt.loadComponent&&!rt._loadedComponent)&&Se.push(this.preloadConfig(st,rt)),(rt.children||rt._loadedRoutes)&&Se.push(this.processRoutes(Vt,rt.children??rt._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 rt=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)([rt,st]).pipe((0,we.J)())}return rt})}}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,rt,st={}){this.urlSerializer=w,this.transitions=q,this.viewportScroller=Se,this.zone=rt,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),rt=(0,n.inject)(ce);return new Zr(rt,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),rt=j.get(dn);Kt(Se,()=>{q(!0)}),j.get(Qn).afterPreactivation=()=>(q(!0),rt.closed?(0,g.of)(void 0):rt),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:ce,useClass:Te},Jn,se,{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)(ce);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:()=>de,USE_STORE:()=>Ce});var n=a(1180),c=a(5879),d=a(2096),g=a(2664),r=a(9315),f=a(34),h=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 ae,ve,He,G=typeof Ee;if(G==typeof Be&&"object"==G){if(!Array.isArray(Ee)){if(Array.isArray(Be))return!1;for(ve in He=Object.create(null),Ee){if(!S(Ee[ve],Be[ve]))return!1;He[ve]=!0}for(ve in Be)if(!(ve in He)&&typeof Be[ve]<"u")return!1;return!0}if(!Array.isArray(Be))return!1;if((ae=Ee.length)==Be.length){for(ve=0;ve{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 ae;return ae="string"==typeof G?this.interpolateString(G,re):"function"==typeof G?this.interpolateFunction(G,re):G,ae}getValue(G,re){let ae="string"==typeof re?re.split("."):[re];re="";do{re+=ae.shift(),!E(G)||!E(G[re])||"object"!=typeof G[re]&&ae.length?ae.length?re+=".":G=void 0:(G=G[re],re="")}while(ae.length);return G}interpolateFunction(G,re){return G(re)}interpolateString(G,re){return re?G.replace(this.templateMatcher,(ae,ve)=>{let He=this.getValue(re,ve);return E(He)?He:ae}):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 Ce=new c.InjectionToken("USE_STORE"),Re=new c.InjectionToken("USE_DEFAULT_LANG"),Ae=new c.InjectionToken("DEFAULT_LANGUAGE"),de=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,ae,ve,He,Ze=!0,Qe=!1,Ge=!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=ae,this.parser=ve,this.missingTranslationHandler=He,this.useDefaultLang=Ze,this.isolate=Qe,this.extend=Ge,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(ae=>{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(ae=>{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)(ae=>this.compiler.compileTranslations(ae,G)),(0,v.d)(1),(0,u.q)(1)),this.loadingTranslations.subscribe({next:ae=>{this.translations[G]=this.extend&&this.translations[G]?{...ae,...this.translations[G]}:ae,this.updateLangs(),this.pending=!1},error:ae=>{this.pending=!1}}),re}setTranslation(G,re,ae=!1){re=this.compiler.compileTranslations(re,G),this.translations[G]=(ae||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,ae){let ve;if(re instanceof Array){let He={},Ze=!1;for(let Qe of re)He[Qe]=this.getParsedResult(G,Qe,ae),(0,g.b)(He[Qe])&&(Ze=!0);if(Ze){const Qe=re.map(Ge=>(0,g.b)(He[Ge])?He[Ge]:(0,d.of)(He[Ge]));return(0,r.D)(Qe).pipe((0,b.U)(Ge=>{let tt={};return Ge.forEach((Ct,Nt)=>{tt[re[Nt]]=Ct}),tt}))}return He}if(G&&(ve=this.parser.interpolate(this.parser.getValue(G,re),ae)),typeof ve>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ve=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],re),ae)),typeof ve>"u"){let He={key:re,translateService:this};typeof ae<"u"&&(He.interpolateParams=ae),ve=this.missingTranslationHandler.handle(He)}return typeof ve<"u"?ve: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)(ae=>(ae=this.getParsedResult(ae,G,re),(0,g.b)(ae)?ae:(0,d.of)(ae))));{let ae=this.getParsedResult(this.translations[this.currentLang],G,re);return(0,g.b)(ae)?ae:(0,d.of)(ae)}}getStreamOnTranslationChange(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,f.z)((0,h.P)(()=>this.get(G,re)),this.onTranslationChange.pipe((0,_.w)(ae=>{const ve=this.getParsedResult(ae.translations,G,re);return"function"==typeof ve.subscribe?ve:(0,d.of)(ve)})))}stream(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,f.z)((0,h.P)(()=>this.get(G,re)),this.onLangChange.pipe((0,_.w)(ae=>{const ve=this.getParsedResult(ae.translations,G,re);return(0,g.b)(ve)?ve:(0,d.of)(ve)})))}instant(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');let ae=this.getParsedResult(this.translations[this.currentLang],G,re);if((0,g.b)(ae)){if(G instanceof Array){let ve={};return G.forEach((He,Ze)=>{ve[G[Ze]]=G[Ze]}),ve}return G}return ae}set(G,re,ae=this.currentLang){this.translations[ae][G]=this.compiler.compile(re,ae),this.updateLangs(),this.onTranslationChange.emit({lang:ae,translations:this.translations[ae]})}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(Ce),c.\u0275\u0275inject(de),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,ae){(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=ae,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(ve=>{ve.lang===this.translateService.currentLang&&this.checkNodes(!0,ve.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(ve=>{this.checkNodes(!0,ve.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(ve=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(G=!1,re){let ae=this.element.nativeElement.childNodes;ae.length||(this.setContent(this.element.nativeElement,this.key),ae=this.element.nativeElement.childNodes);for(let ve=0;ve{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(ae)){let He=this.translateService.getParsedResult(ae,G,this.currentParams);(0,g.b)(He)?He.subscribe({next:ve}):ve(He)}else this.translateService.get(G,this.currentParams).subscribe(ve)}}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,ae){let ve=He=>{this.value=void 0!==He?He:G,this.lastKey=G,this._ref.markForCheck()};if(ae){let He=this.translate.getParsedResult(ae,G,re);(0,g.b)(He.subscribe)?He.subscribe(ve):ve(He)}this.translate.get(G,re).subscribe(ve)}transform(G,...re){if(!G||!G.length)return G;if(S(G,this.lastKey)&&S(re,this.lastParams))return this.value;let ae;if(E(re[0])&&re.length)if("string"==typeof re[0]&&re[0].length){let ve=re[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{ae=JSON.parse(ve)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${re[0]}`)}}else"object"==typeof re[0]&&!Array.isArray(re[0])&&(ae=re[0]);return this.lastKey=G,this.lastParams=re,this.updateValue(G,ae),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ve=>{this.lastKey&&ve.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(G,ae,ve.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ve=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,ae,ve.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,ae))})),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:Ce,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:de,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:Ce,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:de,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/",f=".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=f}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:()=>Gt,AbstractValidationHandler:()=>Qe,AuthConfig:()=>ve,DateTimeProvider:()=>Ce,DefaultHashHandler:()=>K,DefaultOAuthInterceptor:()=>Dt,HashHandler:()=>oe,JwksValidationHandler:()=>Ft,LoginOptions:()=>Ae,MemoryStorage:()=>W,NullValidationHandler:()=>ie,OAuthErrorEvent:()=>G,OAuthEvent:()=>we,OAuthInfoEvent:()=>Be,OAuthLogger:()=>de,OAuthModule:()=>mt,OAuthModuleConfig:()=>A,OAuthNoopResourceServerErrorHandler:()=>et,OAuthResourceServerConfig:()=>U,OAuthResourceServerErrorHandler:()=>Te,OAuthService:()=>ce,OAuthStorage:()=>H,OAuthSuccessEvent:()=>Ee,ReceivedTokens:()=>pe,SystemDateTimeProvider:()=>Re,UrlHelperService:()=>Ge,ValidationHandler:()=>Ze,provideOAuthClient:()=>Pe});var n=a(5861),c=a(5879),d=a(6814),g=a(9862),r=a(8645),f=a(2096),h=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(Ke){return Promise.resolve(null)}validateAtHash(Ke){return Promise.resolve(!0)}}class A{}class U{}class Ce{}let Re=(()=>{class Oe extends Ce{now(){return Date.now()}new(){return new Date}}return Oe.\u0275fac=function(){let Ke;return function(ge){return(Ke||(Ke=c.\u0275\u0275getInheritedFactory(Oe)))(ge||Oe)}}(),Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class Ae{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class de{}class H{}let W=(()=>{class Oe{constructor(){this.data=new Map}getItem(he){return this.data.get(he)}removeItem(he){this.data.delete(he)}setItem(he,ge){this.data.set(he,ge)}}return Oe.\u0275fac=function(he){return new(he||Oe)},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class pe{}class we{constructor(Ke){this.type=Ke}}class Ee extends we{constructor(Ke,he=null){super(Ke),this.info=he}}class Be extends we{constructor(Ke,he=null){super(Ke),this.info=he}}class G extends we{constructor(Ke,he,ge=null){super(Ke),this.reason=he,this.params=ge}}function re(Oe){const Ke=Oe.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(Ke).split("").map(function(he){return"%"+("00"+he.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function ae(Oe){return btoa(Oe).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ve{constructor(Ke){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=he=>{location.href=he},Ke&&Object.assign(this,Ke)}}class He{encodeKey(Ke){return encodeURIComponent(Ke)}encodeValue(Ke){return encodeURIComponent(Ke)}decodeKey(Ke){return decodeURIComponent(Ke)}decodeValue(Ke){return decodeURIComponent(Ke)}}class Ze{}class Qe{validateAtHash(Ke){var he=this;return(0,n.Z)(function*(){let ge=he.inferHashAlgorithm(Ke.idTokenHeader),ct=yield he.calcHash(Ke.accessToken,ge),Ye=ae(ct.substr(0,ct.length/2)),De=Ke.idTokenClaims.at_hash.replace(/=/g,"");return Ye!==De&&(console.error("exptected at_hash: "+Ye),console.error("actual at_hash: "+De)),Ye===De})()}inferHashAlgorithm(Ke){let he=Ke.alg;if(!he.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+he);return"sha-"+he.substr(2)}}let Ge=(()=>{class Oe{getHashFragmentParams(he){let ge=he||window.location.hash;if(ge=decodeURIComponent(ge),0!==ge.indexOf("#"))return{};const ct=ge.indexOf("?");return ge=ge.substr(ct>-1?ct+1:1),this.parseQueryString(ge)}parseQueryString(he){const ge={};let ct,Me,Ye,De,F,V,Q;if(null===he)return ge;ct=he.split("&");for(let be=0;be=64;){for(Me=Ke[0],Ye=Ke[1],De=Ke[2],F=Ke[3],V=Ke[4],Q=Ke[5],be=Ke[6],dt=Ke[7],qe=0;qe<16;qe++)nt=ge+4*qe,Oe[qe]=(255&he[nt])<<24|(255&he[nt+1])<<16|(255&he[nt+2])<<8|255&he[nt+3];for(qe=16;qe<64;qe++)Rt=Oe[qe-2],Ve=(Rt>>>17|Rt<<15)^(Rt>>>19|Rt<<13)^Rt>>>10,Rt=Oe[qe-15],yt=(Rt>>>7|Rt<<25)^(Rt>>>18|Rt<<14)^Rt>>>3,Oe[qe]=(Ve+Oe[qe-7]|0)+(yt+Oe[qe-16]|0);for(qe=0;qe<64;qe++)Ve=(((V>>>6|V<<26)^(V>>>11|V<<21)^(V>>>25|V<<7))+(V&Q^~V&be)|0)+(dt+(Nt[qe]+Oe[qe]|0)|0)|0,yt=((Me>>>2|Me<<30)^(Me>>>13|Me<<19)^(Me>>>22|Me<<10))+(Me&Ye^Me&De^Ye&De)|0,dt=be,be=Q,Q=V,V=F+Ve|0,F=De,De=Ye,Ye=Me,Me=Ve+yt|0;Ke[0]+=Me,Ke[1]+=Ye,Ke[2]+=De,Ke[3]+=F,Ke[4]+=V,Ke[5]+=Q,Ke[6]+=be,Ke[7]+=dt,ge+=64,ct-=64}return ge}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 Ke=0;Ke0){for(;this.bufferLength<64&&he>0;)this.buffer[this.bufferLength++]=Ke[ge++],he--;64===this.bufferLength&&(_t(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(he>=64&&(ge=_t(this.temp,this.state,Ke,ge,he),he%=64);he>0;)this.buffer[this.bufferLength++]=Ke[ge++],he--;return this}finish(Ke){if(!this.finished){const he=this.bytesHashed,ge=this.bufferLength,ct=he/536870912|0,Me=he<<3,Ye=he%64<56?64:128;this.buffer[ge]=128;for(let De=ge+1;De>>24&255,this.buffer[Ye-7]=ct>>>16&255,this.buffer[Ye-6]=ct>>>8&255,this.buffer[Ye-5]=ct>>>0&255,this.buffer[Ye-4]=Me>>>24&255,this.buffer[Ye-3]=Me>>>16&255,this.buffer[Ye-2]=Me>>>8&255,this.buffer[Ye-1]=Me>>>0&255,_t(this.temp,this.state,this.buffer,0,Ye),this.finished=!0}for(let he=0;he<8;he++)Ke[4*he+0]=this.state[he]>>>24&255,Ke[4*he+1]=this.state[he]>>>16&255,Ke[4*he+2]=this.state[he]>>>8&255,Ke[4*he+3]=this.state[he]>>>0&255;return this}digest(){const Ke=new Uint8Array(this.digestLength);return this.finish(Ke),Ke}_saveState(Ke){for(let he=0;he{class Oe{calcHash(he,ge){return(0,n.Z)(function*(){return function ne(Oe){var Ke,he=[];for(Ke=0;Ke{class Oe extends ve{constructor(he,ge,ct,Me,Ye,De,F,V,Q,be){super(),this.ngZone=he,this.http=ge,this.config=Ye,this.urlHelper=De,this.logger=F,this.crypto=V,this.dateTimeService=be,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=Q,Ye||(Ye={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),Me&&(this.tokenValidationHandler=Me),Ye&&this.configure(Ye);try{ct?this.setStorage(ct):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(dt){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",dt)}if(this.checkLocalStorageAccessable()){const dt=window?.navigator?.userAgent;(dt?.includes("MSIE ")||dt?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const he="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(he,he),localStorage.removeItem(he),0))}catch{return!1}}configure(he){Object.assign(this,new ve,he),this.config=Object.assign({},new ve,he),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,_.h)(he=>"token_received"===he.type)).subscribe(he=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(he={},ge,ct=!0){let Me=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,l.b)(Ye=>{"token_received"===Ye.type?Me=!0:"logout"===Ye.type&&(Me=!1)}),(0,_.h)(Ye=>"token_expires"===Ye.type&&(null==ge||"any"===ge||Ye.info===ge)),(0,y.b)(1e3)).subscribe(Ye=>{Me&&this.refreshInternal(he,ct).catch(De=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(he,ge){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(he,ge):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(he=null){return this.loadDiscoveryDocument().then(ge=>this.tryLogin(he))}loadDiscoveryDocumentAndLogin(he=null){return this.loadDiscoveryDocumentAndTryLogin(he=he||{}).then(ge=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof he.state?he.state:""),!1))}debug(...he){this.showDebugInformation&&this.logger.debug.apply(this.logger,he)}validateUrlFromDiscoveryDocument(he){const ge=[],ct=this.validateUrlForHttps(he),Me=this.validateUrlAgainstIssuer(he);return ct||ge.push("https for all urls required. Also for urls received by discovery."),Me||ge.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),ge}validateUrlForHttps(he){if(!he)return!0;const ge=he.toLowerCase();return!(!1!==this.requireHttps&&(!ge.match(/^http:\/\/localhost($|[:\/])/)&&!ge.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||ge.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(he,ge){if(!he)throw new Error(`'${ge}' should not be null`);if(!this.validateUrlForHttps(he))throw new Error(`'${ge}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(he){return!this.strictDiscoveryDocumentValidation||!he||he.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)(he=>"token_received"===he.type)).subscribe(he=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const he=this.getAccessTokenExpiration(),ge=this.getAccessTokenStoredAt(),ct=this.calcTimeout(ge,he);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,f.of)(new Be("token_expires","access_token")).pipe((0,x.g)(ct)).subscribe(Me=>{this.ngZone.run(()=>{this.eventsSubject.next(Me)})})})}setupIdTokenTimer(){const he=this.getIdTokenExpiration(),ge=this.getIdTokenStoredAt(),ct=this.calcTimeout(ge,he);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,f.of)(new Be("token_expires","id_token")).pipe((0,x.g)(ct)).subscribe(Me=>{this.ngZone.run(()=>{this.eventsSubject.next(Me)})})})}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(he,ge){const ct=this.dateTimeService.now(),Ye=Math.max(0,(ge-he)*this.timeoutFactor-(ct-he)),De=2147483647;return Ye>De?De:Ye}setStorage(he){this._storage=he,this.configChanged()}loadDiscoveryDocument(he=null){return new Promise((ge,ct)=>{he||((he=this.issuer||"").endsWith("/")||(he+="/"),he+=".well-known/openid-configuration"),this.validateUrlForHttps(he)?this.http.get(he).subscribe(Me=>{if(!this.validateDiscoveryDocument(Me))return this.eventsSubject.next(new G("discovery_document_validation_error",null)),void ct("discovery_document_validation_error");this.loginUrl=Me.authorization_endpoint,this.logoutUrl=Me.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=Me.grant_types_supported,this.issuer=Me.issuer,this.tokenEndpoint=Me.token_endpoint,this.userinfoEndpoint=Me.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=Me.jwks_uri,this.sessionCheckIFrameUrl=Me.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(Me),this.revocationEndpoint=Me.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(Ye=>{const F=new Ee("discovery_document_loaded",{discoveryDocument:Me,jwks:Ye});this.eventsSubject.next(F),ge(F)}).catch(Ye=>{this.eventsSubject.next(new G("discovery_document_load_error",Ye)),ct(Ye)})},Me=>{this.logger.error("error loading discovery document",Me),this.eventsSubject.next(new G("discovery_document_load_error",Me)),ct(Me)}):ct("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((he,ge)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(ct=>{this.jwks=ct,he(ct)},ct=>{this.logger.error("error loading jwks",ct),this.eventsSubject.next(new G("jwks_load_error",ct)),ge(ct)}):he(null)})}validateDiscoveryDocument(he){let ge;return this.skipIssuerCheck||he.issuer===this.issuer?(ge=this.validateUrlFromDiscoveryDocument(he.authorization_endpoint),ge.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.end_session_endpoint),ge.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.token_endpoint),ge.length>0&&this.logger.error("error validating token_endpoint in discovery document",ge),ge=this.validateUrlFromDiscoveryDocument(he.revocation_endpoint),ge.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",ge),ge=this.validateUrlFromDiscoveryDocument(he.userinfo_endpoint),ge.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.jwks_uri),ge.length>0?(this.logger.error("error validating jwks_uri in discovery document",ge),!1):(this.sessionChecksEnabled&&!he.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: "+he.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(he,ge,ct=new g.HttpHeaders){return this.fetchTokenUsingPasswordFlow(he,ge,ct).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((he,ge)=>{const ct=(new g.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:ct,observe:"response",responseType:"text"}).subscribe(Me=>{if(this.debug("userinfo received",JSON.stringify(Me)),Me.headers.get("content-type").startsWith("application/json")){let Ye=JSON.parse(Me.body);const De=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!De.sub||Ye.sub!==De.sub))return void ge("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")),he({info:Ye})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new Ee("user_profile_loaded")),he(JSON.parse(Me.body))},Me=>{this.logger.error("error loading user info",Me),this.eventsSubject.next(new G("user_profile_load_error",Me)),ge(Me)})})}fetchTokenUsingPasswordFlow(he,ge,ct=new g.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:he,password:ge},ct)}fetchTokenUsingGrant(he,ge,ct=new g.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let Me=new g.HttpParams({encoder:new He}).set("grant_type",he).set("scope",this.scope);if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);ct=ct.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(Me=Me.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Me=Me.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))Me=Me.set(Ye,this.customQueryParams[Ye]);for(const Ye of Object.keys(ge))Me=Me.set(Ye,ge[Ye]);return ct=ct.set("Content-Type","application/x-www-form-urlencoded"),new Promise((Ye,De)=>{this.http.post(this.tokenEndpoint,Me,{headers:ct}).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((he,ge)=>{let ct=new g.HttpParams({encoder:new He}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),Me=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);Me=Me.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(ct=ct.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ct=ct.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))ct=ct.set(Ye,this.customQueryParams[Ye]);this.http.post(this.tokenEndpoint,ct,{headers:Me}).pipe((0,D.w)(Ye=>this.oidc&&Ye.id_token?(0,h.D)(this.processIdToken(Ye.id_token,Ye.access_token,!0)).pipe((0,l.b)(De=>this.storeIdToken(De)),(0,S.U)(De=>Ye)):(0,f.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")),he(Ye)},Ye=>{this.logger.error("Error refreshing token",Ye),this.eventsSubject.next(new G("token_refresh_error",Ye)),ge(Ye)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=he=>{const ge=this.processMessageEventMessage(he);this.checkOrigin&&he.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:ge,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(ct=>this.debug("tryLogin during silent refresh failed",ct))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(he={},ge=!0){const ct=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(he.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 Me=this.document.getElementById(this.silentRefreshIFrameName);Me&&this.document.body.removeChild(Me),this.silentRefreshSubject=ct.sub;const Ye=this.document.createElement("iframe");Ye.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,ge,he).then(be=>{Ye.setAttribute("src",be),this.silentRefreshShowIFrame||(Ye.style.display="none"),this.document.body.appendChild(Ye)});const F=this.events.pipe((0,_.h)(be=>be instanceof G),(0,E.P)()),V=this.events.pipe((0,_.h)(be=>"token_received"===be.type),(0,E.P)()),Q=(0,f.of)(new G("silent_refresh_timeout",null)).pipe((0,x.g)(this.silentRefreshTimeout));return(0,u.S)([F,V,Q]).pipe((0,S.U)(be=>{if(be instanceof G)throw"silent_refresh_timeout"===be.type||(be=new G("silent_refresh_error",be)),this.eventsSubject.next(be),be;return"token_received"===be.type&&(be=new Ee("silently_refreshed"),this.eventsSubject.next(be)),be})).toPromise()}initImplicitFlowInPopup(he){return this.initLoginFlowInPopup(he)}initLoginFlowInPopup(he){return he=he||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(ge=>new Promise((ct,Me)=>{let F,De=null;he.windowRef?he.windowRef&&!he.windowRef.closed&&(De=he.windowRef,De.location.href=ge):De=window.open(ge,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(he));const V=qe=>{this.tryLogin({customHashFragment:qe,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{be(),ct(!0)},nt=>{be(),Me(nt)})};De?F=window.setInterval(()=>{(!De||De.closed)&&(be(),Me(new G("popup_closed",{})))},500):Me(new G("popup_blocked",{}));const be=()=>{window.clearInterval(F),window.removeEventListener("storage",Rt),window.removeEventListener("message",dt),null!==De&&De.close(),De=null},dt=qe=>{const nt=this.processMessageEventMessage(qe);nt&&null!==nt?(window.removeEventListener("storage",Rt),V(nt)):console.log("false event firing")},Rt=qe=>{"auth_hash"===qe.key&&(window.removeEventListener("message",dt),V(qe.newValue))};window.addEventListener("message",dt),window.addEventListener("storage",Rt)}))}calculatePopupFeatures(he){const ge=he.height||470,ct=he.width||500,Me=window.screenLeft+(window.outerWidth-ct)/2;return`location=no,toolbar=no,width=${ct},height=${ge},top=${window.screenTop+(window.outerHeight-ge)/2},left=${Me}`}processMessageEventMessage(he){let ge="#";if(this.silentRefreshMessagePrefix&&(ge+=this.silentRefreshMessagePrefix),!he||!he.data||"string"!=typeof he.data)return;const ct=he.data;return ct.startsWith(ge)?"#"+ct.substr(ge.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=he=>{const ge=he.origin.toLowerCase(),ct=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),ct.startsWith(ge)){switch(he.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",he)}else this.debug("sessionCheckEventListener","wrong origin",ge,"expected",ct,"event",he)},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(he=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new Be("session_terminated")),this.logOut(!0)):this.refreshToken().then(he=>{this.debug("token refresh after session change worked")}).catch(he=>{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)(he=>"silently_refreshed"===he.type||"silent_refresh_timeout"===he.type||"silent_refresh_error"===he.type),(0,E.P)()).subscribe(he=>{"silently_refreshed"!==he.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 he=this.document.getElementById(this.sessionCheckIFrameName);he&&this.document.body.removeChild(he);const ge=this.document.createElement("iframe");ge.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),ge.setAttribute("src",this.sessionCheckIFrameUrl),ge.style.display="none",this.document.body.appendChild(ge),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 he=this.document.getElementById(this.sessionCheckIFrameName);he||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const ge=this.getSessionState();ge||this.stopSessionCheckTimer(),he.contentWindow.postMessage(this.clientId+" "+ge,this.issuer)}createLoginUrl(he="",ge="",ct="",Me=!1,Ye={}){var De=this;return(0,n.Z)(function*(){const F=De;let V;V=ct||De.redirectUri;const Q=yield De.createAndSaveNonce();if(he=he?Q+De.config.nonceStateSeparator+encodeURIComponent(he):Q,!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 be=F.loginUrl.indexOf("?")>-1?"&":"?";let dt=F.scope;De.oidc&&!dt.match(/(^|\s)openid($|\s)/)&&(dt="openid "+dt);let Rt=F.loginUrl+be+"response_type="+encodeURIComponent(F.responseType)+"&client_id="+encodeURIComponent(F.clientId)+"&state="+encodeURIComponent(he)+"&redirect_uri="+encodeURIComponent(V)+"&scope="+encodeURIComponent(dt);if(De.responseType.includes("code")&&!De.disablePKCE){const[qe,nt]=yield De.createChallangeVerifierPairForPKCE();De.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",nt):De._storage.setItem("PKCE_verifier",nt),Rt+="&code_challenge="+qe,Rt+="&code_challenge_method=S256"}ge&&(Rt+="&login_hint="+encodeURIComponent(ge)),F.resource&&(Rt+="&resource="+encodeURIComponent(F.resource)),F.oidc&&(Rt+="&nonce="+encodeURIComponent(Q)),Me&&(Rt+="&prompt=none");for(const qe of Object.keys(Ye))Rt+="&"+encodeURIComponent(qe)+"="+encodeURIComponent(Ye[qe]);if(De.customQueryParams)for(const qe of Object.getOwnPropertyNames(De.customQueryParams))Rt+="&"+qe+"="+encodeURIComponent(De.customQueryParams[qe]);return Rt})()}initImplicitFlowInternal(he="",ge=""){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 ct={},Me=null;"string"==typeof ge?Me=ge:"object"==typeof ge&&(ct=ge),this.createLoginUrl(he,Me,null,!1,ct).then(this.config.openUri).catch(Ye=>{console.error("Error in initImplicitFlow",Ye),this.inImplicitFlow=!1})}initImplicitFlow(he="",ge=""){""!==this.loginUrl?this.initImplicitFlowInternal(he,ge):this.events.pipe((0,_.h)(ct=>"discovery_document_loaded"===ct.type)).subscribe(ct=>this.initImplicitFlowInternal(he,ge))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(he){const ge=this;if(he.onTokenReceived){const ct={idClaims:ge.getIdentityClaims(),idToken:ge.getIdToken(),accessToken:ge.getAccessToken(),state:ge.state};he.onTokenReceived(ct)}}storeAccessTokenResponse(he,ge,ct,Me,Ye){if(this._storage.setItem("access_token",he),Me&&!Array.isArray(Me)?this._storage.setItem("granted_scopes",JSON.stringify(Me.split(" "))):Me&&Array.isArray(Me)&&this._storage.setItem("granted_scopes",JSON.stringify(Me)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),ct){const De=1e3*ct,V=this.dateTimeService.new().getTime()+De;this._storage.setItem("expires_at",""+V)}ge&&this._storage.setItem("refresh_token",ge),Ye&&Ye.forEach((De,F)=>{this._storage.setItem(F,De)})}tryLogin(he=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(he).then(ge=>!0):this.tryLoginImplicitFlow(he)}parseQueryString(he){return he&&0!==he.length?("?"===he.charAt(0)&&(he=he.substr(1)),this.urlHelper.parseQueryString(he)):{}}tryLoginCodeFlow(he=null){var ge=this;return(0,n.Z)(function*(){const ct=(he=he||{}).customHashFragment?he.customHashFragment.substring(1):window.location.search,Me=ge.getCodePartsFromUrl(ct),Ye=Me.code,De=Me.state,F=Me.session_state;if(!he.preventClearHashAfterLogin){const be=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,be)}let[V,Q]=ge.parseState(De);if(ge.state=Q,Me.error){ge.debug("error trying to login"),ge.handleLoginError(he,Me);const be=new G("code_error",{},Me);return ge.eventsSubject.next(be),Promise.reject(be)}if(!he.disableNonceCheck){if(!V)return ge.saveRequestedRoute(),Promise.resolve();if(!he.disableOAuth2StateCheck&&!ge.validateNonce(V)){const dt=new G("invalid_nonce_in_state",null);return ge.eventsSubject.next(dt),Promise.reject(dt)}}return ge.storeSessionState(F),Ye&&(yield ge.getTokenFromCode(Ye,he),ge.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const he=this._storage.getItem("requested_route");he&&history.replaceState(null,"",window.location.origin+he)}getCodePartsFromUrl(he){return he&&0!==he.length?("?"===he.charAt(0)&&(he=he.substr(1)),this.urlHelper.parseQueryString(he)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(he,ge){let ct=new g.HttpParams({encoder:new He}).set("grant_type","authorization_code").set("code",he).set("redirect_uri",ge.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let Me;Me=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),Me?ct=ct.set("code_verifier",Me):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(ct,ge)}fetchAndProcessToken(he,ge){ge=ge||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let ct=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Me=btoa(`${this.clientId}:${this.dummyClientSecret}`);ct=ct.set("Authorization","Basic "+Me)}return this.useHttpBasicAuth||(he=he.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(he=he.set("client_secret",this.dummyClientSecret)),new Promise((Me,Ye)=>{if(this.customQueryParams)for(let De of Object.getOwnPropertyNames(this.customQueryParams))he=he.set(De,this.customQueryParams[De]);this.http.post(this.tokenEndpoint,he,{headers:ct}).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,ge.disableNonceCheck).then(F=>{this.storeIdToken(F),this.eventsSubject.next(new Ee("token_received")),this.eventsSubject.next(new Ee("token_refreshed")),Me(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")),Me(De))},De=>{console.error("Error getting token",De),this.eventsSubject.next(new G("token_refresh_error",De)),Ye(De)})})}tryLoginImplicitFlow(he=null){let ge;ge=(he=he||{}).customHashFragment?this.urlHelper.getHashFragmentParams(he.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",ge);const ct=ge.state;let[Me,Ye]=this.parseState(ct);if(this.state=Ye,ge.error){this.debug("error trying to login"),this.handleLoginError(he,ge);const be=new G("token_error",{},ge);return this.eventsSubject.next(be),Promise.reject(be)}const De=ge.access_token,F=ge.id_token,V=ge.session_state,Q=ge.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!De||this.requestAccessToken&&!he.disableOAuth2StateCheck&&!ct||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&&!he.disableNonceCheck&&!this.validateNonce(Me)){const dt=new G("invalid_nonce_in_state",null);return this.eventsSubject.next(dt),Promise.reject(dt)}return this.requestAccessToken&&this.storeAccessTokenResponse(De,null,ge.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Q),this.oidc?this.processIdToken(F,De,he.disableNonceCheck).then(be=>he.validationHandler?he.validationHandler({accessToken:De,idClaims:be.idTokenClaims,idToken:be.idToken,state:ct}).then(dt=>be):be).then(be=>(this.storeIdToken(be),this.storeSessionState(V),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new Ee("token_received")),this.callOnTokenReceivedIfExists(he),this.inImplicitFlow=!1,!0)).catch(be=>(this.eventsSubject.next(new G("token_validation_error",be)),this.logger.error("Error validating tokens"),this.logger.error(be),Promise.reject(be))):(this.eventsSubject.next(new Ee("token_received")),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(he),Promise.resolve(!0))}parseState(he){let ge=he,ct="";if(he){const Me=he.indexOf(this.config.nonceStateSeparator);Me>-1&&(ge=he.substr(0,Me),ct=he.substr(Me+this.config.nonceStateSeparator.length))}return[ge,ct]}validateNonce(he){let ge;return ge=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),ge===he||(console.error("Validating access_token failed, wrong state/nonce.",ge,he),!1)}storeIdToken(he){this._storage.setItem("id_token",he.idToken),this._storage.setItem("id_token_claims_obj",he.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+he.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(he){this._storage.setItem("session_state",he)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(he,ge){he.onLoginError&&he.onLoginError(ge),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(he=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:he}processIdToken(he,ge,ct=!1){const Me=he.split("."),De=re(this.padBase64(Me[0])),F=JSON.parse(De),Q=re(this.padBase64(Me[1])),be=JSON.parse(Q);let dt;if(dt=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(be.aud)){if(be.aud.every(At=>At!==this.clientId)){const At="Wrong audience: "+be.aud.join(",");return this.logger.warn(At),Promise.reject(At)}}else if(be.aud!==this.clientId){const At="Wrong audience: "+be.aud;return this.logger.warn(At),Promise.reject(At)}if(!be.sub){const At="No sub claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==be.sub){const At=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${be.sub}`;return this.logger.warn(At),Promise.reject(At)}if(!be.iat){const At="No iat claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(!this.skipIssuerCheck&&be.iss!==this.issuer){const At="Wrong issuer: "+be.iss;return this.logger.warn(At),Promise.reject(At)}if(!ct&&be.nonce!==dt){const At="Wrong nonce: "+be.nonce;return this.logger.warn(At),Promise.reject(At)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!be.at_hash){const At="An at_hash is needed!";return this.logger.warn(At),Promise.reject(At)}const Rt=this.dateTimeService.now(),qe=1e3*be.iat,nt=1e3*be.exp,Ve=this.getClockSkewInMsec();if(qe-Ve>=Rt||nt+Ve-this.decreaseExpirationBySec<=Rt){const At="Token has expired";return console.error(At),console.error({now:Rt,issuedAtMSec:qe,expiresAtMSec:nt}),Promise.reject(At)}const yt={accessToken:ge,idToken:he,jwks:this.jwks,idTokenClaims:be,idTokenHeader:F,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(yt).then(At=>({idToken:he,idTokenClaims:be,idTokenClaimsJson:Q,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:nt})):this.checkAtHash(yt).then(At=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!At){const on="Wrong at_hash";return this.logger.warn(on),Promise.reject(on)}return this.checkSignature(yt).then(on=>{const Sn={idToken:he,idTokenClaims:be,idTokenClaimsJson:Q,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:nt};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 he=this._storage.getItem("id_token_claims_obj");return he?JSON.parse(he):null}getGrantedScopes(){const he=this._storage.getItem("granted_scopes");return he?JSON.parse(he):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(he){for(;he.length%4!=0;)he+="=";return he}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 he=this._storage.getItem("expires_at"),ge=this.dateTimeService.new();return!(he&&parseInt(he,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(he)?JSON.parse(this._storage.getItem(he)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(he={},ge=""){let ct=!1;"boolean"==typeof he&&(ct=he,he={});const Me=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||ct)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(Me)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let De=new g.HttpParams({encoder:new He});Me&&(De=De.set("id_token_hint",Me));const F=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";F&&(De=De.set("post_logout_redirect_uri",F),ge&&(De=De.set("state",ge)));for(let V in he)De=De.set(V,he[V]);Ye=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+De.toString()}this.config.openUri(Ye)}createAndSaveNonce(){const he=this;return this.createNonce().then(function(ge){return he.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",ge):he._storage.setItem("nonce",ge),ge})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const he=this.document.getElementById(this.silentRefreshIFrameName);he&&he.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const ge=this.document.getElementById(this.sessionCheckIFrameName);ge&&ge.remove()}createNonce(){return new Promise(he=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const ge="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let ct=45,Me="";const Ye=typeof self>"u"?null:self.crypto||self.msCrypto;if(Ye){let De=new Uint8Array(ct);Ye.getRandomValues(De),De.map||(De.map=Array.prototype.map),De=De.map(F=>ge.charCodeAt(F%66)),Me=String.fromCharCode.apply(null,De)}else for(;0"discovery_document_loaded"===ct.type)).subscribe(ct=>this.initCodeFlowInternal(he,ge))}initCodeFlowInternal(he="",ge={}){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 ct={},Me=null;"string"==typeof ge?Me=ge:"object"==typeof ge&&(ct=ge),this.createLoginUrl(he,Me,null,!1,ct).then(this.config.openUri).catch(Ye=>{console.error("Error in initAuthorizationCodeFlow"),console.error(Ye)})}createChallangeVerifierPairForPKCE(){var he=this;return(0,n.Z)(function*(){if(!he.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const ge=yield he.createNonce();return[ae(yield he.crypto.calcHash(ge,"sha-256")),ge]})()}extractRecognizedCustomParameters(he){let ge=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(ct=>{he[ct]&&ge.set(ct,JSON.stringify(he[ct]))}),ge}revokeTokenAndLogout(he={},ge=!1){let ct=this.revocationEndpoint,Me=this.getAccessToken(),Ye=this.getRefreshToken();if(!Me)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,Q)=>{let be,dt;if(Me){let Rt=De.set("token",Me).set("token_type_hint","access_token");be=this.http.post(ct,Rt,{headers:F})}else be=(0,f.of)(null);if(Ye){let Rt=De.set("token",Ye).set("token_type_hint","refresh_token");dt=this.http.post(ct,Rt,{headers:F})}else dt=(0,f.of)(null);ge&&(be=be.pipe((0,I.K)(Rt=>0===Rt.status?(0,f.of)(null):(0,v._)(Rt))),dt=dt.pipe((0,I.K)(Rt=>0===Rt.status?(0,f.of)(null):(0,v._)(Rt)))),(0,b.a)([be,dt]).subscribe(Rt=>{this.logOut(he),V(Rt),this.logger.info("Token successfully revoked")},Rt=>{this.logger.error("Error revoking token",Rt),this.eventsSubject.next(new G("token_revoke_error",Rt)),Q(Rt)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Oe.\u0275fac=function(he){return new(he||Oe)(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(g.HttpClient),c.\u0275\u0275inject(H,8),c.\u0275\u0275inject(Ze,8),c.\u0275\u0275inject(ve,8),c.\u0275\u0275inject(Ge),c.\u0275\u0275inject(de),c.\u0275\u0275inject(oe,8),c.\u0275\u0275inject(d.DOCUMENT),c.\u0275\u0275inject(Ce))},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class Te{}class et{handleError(Ke){return(0,v._)(Ke)}}let Dt=(()=>{class Oe{constructor(he,ge,ct){this.oAuthService=he,this.errorHandler=ge,this.moduleConfig=ct}checkUrl(he){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(he):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(ge=>he.toLowerCase().startsWith(ge.toLowerCase()))}intercept(he,ge){const ct=he.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(ct)?this.moduleConfig.resourceServer.sendAccessToken?(0,p.T)((0,f.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,f.of)(null)),(0,S.U)(Ye=>this.oAuthService.getAccessToken()))).pipe((0,$.q)(1),(0,ee.z)(Ye=>{if(Ye){const F=he.headers.set("Authorization","Bearer "+Ye);he=he.clone({headers:F})}return ge.handle(he).pipe((0,I.K)(De=>this.errorHandler.handleError(De)))})):ge.handle(he).pipe((0,I.K)(Ye=>this.errorHandler.handleError(Ye))):ge.handle(he)}}return Oe.\u0275fac=function(he){return new(he||Oe)(c.\u0275\u0275inject(ce),c.\u0275\u0275inject(Te),c.\u0275\u0275inject(A,8))},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();function _e(){return console}function ut(){return typeof sessionStorage<"u"?sessionStorage:new W}function Pe(Oe=null,Ke=ie){return(0,c.makeEnvironmentProviders)([ce,Ge,{provide:de,useFactory:_e},{provide:H,useFactory:ut},{provide:Ze,useClass:Ke},{provide:oe,useClass:K},{provide:Te,useClass:et},{provide:A,useValue:Oe},{provide:g.HTTP_INTERCEPTORS,useClass:Dt,multi:!0},{provide:Ce,useClass:Re}])}let mt=(()=>{class Oe{static forRoot(he=null,ge=ie){return{ngModule:Oe,providers:[Pe(he,ge)]}}}return Oe.\u0275fac=function(he){return new(he||Oe)},Oe.\u0275mod=c.\u0275\u0275defineNgModule({type:Oe}),Oe.\u0275inj=c.\u0275\u0275defineInjector({imports:[d.CommonModule]}),Oe})();class Ft 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 Gt=new c.InjectionToken("AUTH_CONFIG")},9256:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{Base64:()=>Ze,VERSION:()=>c,atob:()=>H,atobPolyfill:()=>de,btoa:()=>S,btoaPolyfill:()=>D,btou:()=>Ae,decode:()=>Be,encode:()=>A,encodeURI:()=>U,encodeURL:()=>U,extendBuiltins:()=>He,extendString:()=>ae,extendUint8Array:()=>ve,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,f="function"==typeof TextDecoder?new TextDecoder:void 0,h="function"==typeof TextEncoder?new TextEncoder:void 0,v=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),b=(Qe=>{let Ge={};return Qe.forEach((tt,Ct)=>Ge[tt]=Ct),Ge})(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,Ge=>"+"==Ge?"-":"_"),x=Qe=>Qe.replace(/[^A-Za-z0-9\+\/]/g,""),D=Qe=>{let Ge,tt,Ct,Nt,_t="";const Bt=Qe.length%3;for(let Tt=0;Tt255||(Ct=Qe.charCodeAt(Tt++))>255||(Nt=Qe.charCodeAt(Tt++))>255)throw new TypeError("invalid character found");Ge=tt<<16|Ct<<8|Nt,_t+=v[Ge>>18&63]+v[Ge>>12&63]+v[Ge>>6&63]+v[63&Ge]}return Bt?_t.slice(0,Bt-3)+"===".substring(Bt):_t},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 Ct=0,Nt=Qe.length;CtGe?y(E(Qe)):E(Qe),X=Qe=>{if(Qe.length<2)return(Ge=Qe.charCodeAt(0))<128?Qe:Ge<2048?_(192|Ge>>>6)+_(128|63&Ge):_(224|Ge>>>12&15)+_(128|Ge>>>6&63)+_(128|63&Ge);var Ge=65536+1024*(Qe.charCodeAt(0)-55296)+(Qe.charCodeAt(1)-56320);return _(240|Ge>>>18&7)+_(128|Ge>>>12&63)+_(128|Ge>>>6&63)+_(128|63&Ge)},$=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ee=Qe=>Qe.replace($,X),ie=r?Qe=>Buffer.from(Qe,"utf8").toString("base64"):h?Qe=>E(h.encode(Qe)):Qe=>S(ee(Qe)),A=(Qe,Ge=!1)=>Ge?y(ie(Qe)):ie(Qe),U=Qe=>A(Qe,!0),Ce=/[\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(Ce,Re),de=Qe=>{if(Qe=Qe.replace(/\s+/g,""),!p.test(Qe))throw new TypeError("malformed base64.");Qe+="==".slice(2-(3&Qe.length));let Ge,Ct,Nt,tt="";for(let _t=0;_t>16&255):64===Nt?_(Ge>>16&255,Ge>>8&255):_(Ge>>16&255,Ge>>8&255,255&Ge);return tt},H=d?Qe=>atob(x(Qe)):r?Qe=>Buffer.from(Qe,"base64").toString("binary"):de,W=r?Qe=>l(Buffer.from(Qe,"base64")):Qe=>l(H(Qe).split("").map(Ge=>Ge.charCodeAt(0))),pe=Qe=>W(Ee(Qe)),we=r?Qe=>Buffer.from(Qe,"base64").toString("utf8"):f?Qe=>f.decode(W(Qe)):Qe=>Ae(H(Qe)),Ee=Qe=>x(Qe.replace(/[-_]/g,Ge=>"-"==Ge?"+":"/")),Be=Qe=>we(Ee(Qe)),G=Qe=>{if("string"!=typeof Qe)return!1;const Ge=Qe.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(Ge)||!/[^\s0-9a-zA-Z\-_]/.test(Ge)},re=Qe=>({value:Qe,enumerable:!1,writable:!0,configurable:!0}),ae=function(){const Qe=(Ge,tt)=>Object.defineProperty(String.prototype,Ge,re(tt));Qe("fromBase64",function(){return Be(this)}),Qe("toBase64",function(Ge){return A(this,Ge)}),Qe("toBase64URI",function(){return A(this,!0)}),Qe("toBase64URL",function(){return A(this,!0)}),Qe("toUint8Array",function(){return pe(this)})},ve=function(){const Qe=(Ge,tt)=>Object.defineProperty(Uint8Array.prototype,Ge,re(tt));Qe("toBase64",function(Ge){return I(this,Ge)}),Qe("toBase64URI",function(){return I(this,!0)}),Qe("toBase64URL",function(){return I(this,!0)})},He=()=>{ae(),ve()},Ze={version:n,VERSION:c,atob:H,atobPolyfill:de,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:ae,extendUint8Array:ve,extendBuiltins:He}},4028:(Ie,B,a)=>{"use strict";function n(){const c=window,d=document;var g="hljs-ln",r="hljs-ln-line",f="hljs-ln-code",h="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 de(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,ae=Be.length;re
{6}',[r,h,u,v,f,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):Ce(G.parentNode))}}function Ce(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),ae=parseInt(G.dataset.lineNumber);if(re!=ae){var ve=Be.textContent,He=G.textContent;if(re>ae){var Ze=re;re=ae,ae=Ze,Ze=ve,ve=He,He=Ze}for(;0!==Ee.indexOf(ve);)ve=ve.slice(1);for(;-1===Ee.lastIndexOf(He);)He=He.slice(0,-1);for(var Qe=ve,Ge=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),f=a(4664),h=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,de){this.doc=Re,this.platformId=Ae,this._options=de,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,f.w)(H=>this._options&&this._options.lineNumbersLoader?(Re.defaultView.hljs=H,this.loadLineNumbers().pipe((0,h.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,f.w)(Re=>this._loadLanguages(Re)))}return(0,b._)(()=>"Highlight.js library was not imported!")}_loadLanguages(Re){const Ae=Object.entries(this._options.languages).map(([de,H])=>$(H()).pipe((0,h.b)(W=>Re.registerLanguage(de,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)(Ce=>!!Ce?.default),(0,_.U)(Ce=>Ce.default));let ee=(()=>{class U{get hljs(){return this._hljs}constructor(Re,Ae){this._loader=Re,this._hljs=null,Re.ready.subscribe(de=>{this._hljs=de,Ae&&Ae.config&&(de.configure(Ae.config),de.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(Re,{language:Ae,ignoreIllegals:de}){return this._loader.ready.pipe((0,_.U)(H=>H.highlight(Re,{language:Ae,ignoreIllegals:de})))}highlightAuto(Re,Ae){return this._loader.ready.pipe((0,_.U)(de=>de.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,h.b)(de=>de.registerLanguage(Re,Ae)))}unregisterLanguage(Re){return this._loader.ready.pipe((0,h.b)(Ae=>Ae.unregisterLanguage(Re)))}registerAliases(Re,{languageName:Ae}){return this._loader.ready.pipe((0,h.b)(de=>de.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,h.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,de,H,W){this._hljs=Ae,this._sanitizer=de,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(de=>{this.setInnerHTML(de?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(de)})}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,f,h,u,v){try{var b=d[u](v),p=b.value}catch(_){return void r(_)}b.done?g(p):Promise.resolve(p).then(f,h)}function c(d){return function(){var g=this,r=arguments;return new Promise(function(f,h){var u=d.apply(g,r);function v(p){n(u,f,h,v,b,"next",p)}function b(p){n(u,f,h,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(f){return typeof f}:function(f){return f&&"function"==typeof Symbol&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f})(r)}function g(r,f,h){return(f=function d(r){var f=function c(r,f){if("object"!==n(r)||null===r)return r;var h=r[Symbol.toPrimitive];if(void 0!==h){var u=h.call(r,f||"default");if("object"!==n(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===f?String:Number)(r)}(r,"string");return"symbol"===n(f)?f:String(f)}(f))in r?Object.defineProperty(r,f,{value:h,enumerable:!0,configurable:!0,writable:!0}):r[f]=h,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.54","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 From e8714fec66a87db949cb1c078696cf7571e5d31a Mon Sep 17 00:00:00 2001 From: Alexander Kreutz Date: Thu, 14 Sep 2023 10:23:15 +0200 Subject: [PATCH 17/29] pat2023 fixes --- angular/src/app/mag/mag.component.html | 30 ++++++++++++------- angular/src/app/mag/mag.component.ts | 15 ++++++++-- .../bfh/ti/i4mi/mag/BaseRequestConverter.java | 22 ++++++++++++++ .../mag/mhd/iti65/Iti65RequestConverter.java | 30 ++++++++++++------- .../mag/mhd/iti65/Iti65ResponseConverter.java | 2 +- .../mag/mhd/iti66/Iti66ResponseConverter.java | 14 ++++----- .../mag/mhd/iti67/Iti67ResponseConverter.java | 20 +++++++------ .../ihe/fhir/iti65_v401/Iti65Constants.java | 15 ++++++---- .../Iti65TransactionConfiguration.java | 8 ++++- .../Iti67RequestUpdateConverter.java | 12 ++++---- src/main/resources/static/index.html | 2 +- .../resources/static/main.5e51d1271e155f96.js | 1 - .../resources/static/main.d1e24de555320799.js | 1 + 13 files changed, 117 insertions(+), 55 deletions(-) delete mode 100644 src/main/resources/static/main.5e51d1271e155f96.js create mode 100644 src/main/resources/static/main.d1e24de555320799.js diff --git a/angular/src/app/mag/mag.component.html b/angular/src/app/mag/mag.component.html index 7f8c89a0..87030c09 100644 --- a/angular/src/app/mag/mag.component.html +++ b/angular/src/app/mag/mag.component.html @@ -144,14 +144,6 @@ - - Description - - {{ entry.description }} - - Title @@ -160,9 +152,19 @@ + + + Description + + {{ entry.description }} + + + TitleContent-Type
@@ -201,8 +203,8 @@ @@ -280,6 +282,12 @@ +
+ + Title + + +
Description diff --git a/angular/src/app/mag/mag.component.ts b/angular/src/app/mag/mag.component.ts index 2fa66358..e9713b3b 100644 --- a/angular/src/app/mag/mag.component.ts +++ b/angular/src/app/mag/mag.component.ts @@ -65,6 +65,7 @@ export class MagComponent implements OnInit { public authenticate: UntypedFormControl; public documentType: UntypedFormControl; public documentConfidentiality: UntypedFormControl; + public documentTitle: UntypedFormControl; public documentDescription: UntypedFormControl; public masterIdentifier: UntypedFormControl; public creationTime: UntypedFormControl; @@ -219,9 +220,15 @@ export class MagComponent implements OnInit { this.searchGiven = new UntypedFormControl(); this.searchFamily = new UntypedFormControl(); + + this.documentTitle = new UntypedFormControl(); + this.documentTitle.setValue( + this.getLocalStorageItemOrDefault('mag.documentTitle', 'Titel') + ); + this.documentDescription = new UntypedFormControl(); this.documentDescription.setValue( - this.getLocalStorageItemOrDefault('mag.documentType', 'Titel') + this.getLocalStorageItemOrDefault('mag.documentDescription', 'Description') ); this.masterIdentifier = new UntypedFormControl(); this.masterIdentifier.setValue(uuidv4()); @@ -558,7 +565,7 @@ export class MagComponent implements OnInit { return; } this.uploadContentType = 'text/xml'; - this.documentDescription.setValue('Policy document'); + this.documentTitle.setValue('Policy document'); this.documentType.setValue('APPC'); this.documentConfidentiality.setValue('NORM'); this.masterIdentifier.setValue('urn:uuid:' + uuidv4()); @@ -632,6 +639,7 @@ export class MagComponent implements OnInit { async findDocumentReferences(): Promise { let query = { status: 'current', + _count: 500, 'patient.identifier': encodeURIComponent( this.targetIdentifierSystem.value + '|' + this.targetIdentifierValue ), @@ -1158,7 +1166,7 @@ export class MagComponent implements OnInit { const reader = new FileReader(); reader.readAsText(blob.blob); const that = this; - this.documentDescription.setValue(blob.name); + this.documentTitle.setValue(blob.name); this.creationTime.setValue(toLocaleDateTime(new Date())); reader.onload = () => { if ( @@ -1639,6 +1647,7 @@ export class MagComponent implements OnInit { docref.content[0].attachment.url = fullUrlBinary; // $1 docref.content[0].attachment.contentType = this.uploadContentType; // $1.2 docref.content[0].attachment.language = this.languageCode.value; // $1.3 + docref.content[0].attachment.title = this.documentTitle.value; let documentReference: fhir.r4.DocumentReference = bundleTransaction .entry[2].resource as fhir.r4.DocumentReference; diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/BaseRequestConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/BaseRequestConverter.java index 3ae3d177..0c09580d 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/BaseRequestConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/BaseRequestConverter.java @@ -21,6 +21,8 @@ import java.util.List; import java.util.Map; +import org.hl7.fhir.r4.model.DomainResource; +import org.hl7.fhir.r4.model.Extension; import org.openehealth.ipf.commons.ihe.xds.core.metadata.AssigningAuthority; import org.openehealth.ipf.commons.ihe.xds.core.metadata.Code; import org.openehealth.ipf.commons.ihe.xds.core.metadata.Identifiable; @@ -115,5 +117,25 @@ public String uniqueId() { return Long.toString(currentId++); } + public Extension getExtensionByUrl(DomainResource resource,String url) { + if (url != null && resource != null) { + Extension ext = resource.getExtensionByUrl(url); + if (ext != null) return ext; + if (url.startsWith("https://")) ext = resource.getExtensionByUrl(url.replace("https://", "http://")); + return ext; + } + return null; + } + + public List getExtensionsByUrl(DomainResource resource,String url) { + if (url != null && resource != null) { + List ext = resource.getExtensionsByUrl(url); + if (!ext.isEmpty()) return ext; + if (url.startsWith("https://")) ext = resource.getExtensionsByUrl(url.replace("https://", "http://")); + return ext; + } + return null; + } + } diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java index 6708dd8b..409f8e56 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java @@ -98,6 +98,7 @@ import com.sun.istack.ByteArrayDataSource; import ca.uhn.fhir.rest.server.exceptions.InvalidRequestException; +import ch.bfh.ti.i4mi.mag.BaseRequestConverter; import ch.bfh.ti.i4mi.mag.Config; import ch.bfh.ti.i4mi.mag.mhd.SchemeMapper; import ch.bfh.ti.i4mi.mag.pmir.PatientReferenceCreator; @@ -109,7 +110,7 @@ * */ @Slf4j -public class Iti65RequestConverter { +public class Iti65RequestConverter extends BaseRequestConverter { private SchemeMapper schemeMapper; @@ -173,6 +174,10 @@ public ProvideAndRegisterDocumentSet convert(@Body Bundle requestBundle) { submissionSet.setLimitedMetadata(false); } else if ("http://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.ProvideBundle".equals(profile.getValue())) { submissionSet.setLimitedMetadata(true); + } else if ("https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.ProvideBundle".equals(profile.getValue())) { + submissionSet.setLimitedMetadata(false); + } else if ("https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.ProvideBundle".equals(profile.getValue())) { + submissionSet.setLimitedMetadata(true); } } @@ -613,7 +618,8 @@ private void processDocumentManifest(ListResource manifest, SubmissionSet submi submissionSet.assignEntryUuid(); manifest.setId(submissionSet.getEntryUuid()); - Extension designationType = manifest.getExtensionByUrl("http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType"); + Extension designationType = getExtensionByUrl(manifest, "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType"); + if (designationType != null && designationType.getValue() instanceof CodeableConcept) { submissionSet.setContentTypeCode(transformCodeableConcept((CodeableConcept) designationType.getValue())); } @@ -640,7 +646,10 @@ private void processDocumentManifest(ListResource manifest, SubmissionSet submi } // recipient SubmissionSet.intendedRecipient - for (Extension recipientExt : manifest.getExtensionsByUrl("http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-intendedRecipient")) { + List recipients = manifest.getExtensionsByUrl("https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-intendedRecipient"); + if (recipients.isEmpty()) recipients = manifest.getExtensionsByUrl("http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-intendedRecipient"); + + for (Extension recipientExt : recipients) { Reference recipientRef = (Reference) recipientExt.getValue(); Resource res = findResource(recipientRef, manifest.getContained()); @@ -673,7 +682,8 @@ private void processDocumentManifest(ListResource manifest, SubmissionSet submi } - Extension source = manifest.getExtensionByUrl("http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId"); + Extension source = getExtensionByUrl(manifest, "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId"); + if (source != null && source.getValue() instanceof Identifier) { submissionSet.setSourceId(noPrefix(((Identifier) source.getValue()).getValue())); } @@ -755,9 +765,9 @@ public void processDocumentReference(DocumentReference reference, DocumentEntry } else throw new InvalidRequestException("No authenticator of type Organization supported."); } - // title -> description string [0..1] - String title = reference.getDescription(); - if (title != null) entry.setTitle(localizedString(title)); + // comments -> description string [0..1] + String comments = reference.getDescription(); + if (comments != null) entry.setComments(localizedString(comments)); // confidentialityCode -> securityLabel CodeableConcept [0..*] Note: This // is NOT the DocumentReference.meta, as that holds the meta tags for the @@ -783,9 +793,9 @@ public void processDocumentReference(DocumentReference reference, DocumentEntry byte[] hash = attachment.getHash(); if (hash != null) entry.setHash(Hex.encodeHexString(hash)); - // comments -> content.attachment.title string [0..1] - String comments = attachment.getTitle(); - if (comments!=null) entry.setComments(localizedString(comments)); + // title -> content.attachment.title string [0..1] + String title = attachment.getTitle(); + if (title!=null) entry.setTitle(localizedString(title)); // creationTime -> content.attachment.creation dateTime [0..1] if (attachment.hasCreation()) { diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65ResponseConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65ResponseConverter.java index a0f93d79..aa6ecb44 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65ResponseConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65ResponseConverter.java @@ -67,7 +67,7 @@ public Object translateToFhir(Response input, Map parameters) { Bundle responseBundle = new Bundle(); Bundle requestBundle = (Bundle) parameters.get(Utils.KEPT_BODY); - responseBundle.getMeta().addProfile("http://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.ProvideDocumentBundleResponse"); + responseBundle.getMeta().addProfile("https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.ProvideDocumentBundleResponse"); for (Bundle.BundleEntryComponent requestEntry : requestBundle.getEntry()) { Bundle.BundleEntryResponseComponent response = new Bundle.BundleEntryResponseComponent() diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti66/Iti66ResponseConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti66/Iti66ResponseConverter.java index 455e84fe..5829c4b5 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti66/Iti66ResponseConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti66/Iti66ResponseConverter.java @@ -80,15 +80,15 @@ public List translateToFhir(QueryResponse input, Map meta.profile canonical [0..*] if (submissionSet.isLimitedMetadata()) { - documentManifest.getMeta().addProfile("http://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.SubmissionSet"); + documentManifest.getMeta().addProfile("https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.SubmissionSet"); } else { - documentManifest.getMeta().addProfile("http://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.SubmissionSet"); + documentManifest.getMeta().addProfile("https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.SubmissionSet"); } // comment -> text Narrative [0..1] @@ -118,7 +118,7 @@ public List translateToFhir(QueryResponse input, Map translateToFhir(QueryResponse input, Map translateToFhir(QueryResponse input, Map translateToFhir(QueryResponse input, Map description string [0..1] diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java index df333b46..b8d3fc53 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java @@ -111,9 +111,9 @@ public List translateToFhir(QueryResponse input, Map meta.profile canonical [0..*] if (documentEntry.isLimitedMetadata()) { - documentReference.getMeta().addProfile("http://ihe.net/fhir/StructureDefinition/IHE_MHD_Query_Comprehensive_DocumentReference"); + documentReference.getMeta().addProfile("https://ihe.net/fhir/StructureDefinition/IHE_MHD_Query_Comprehensive_DocumentReference"); } else { - documentReference.getMeta().addProfile("http://ihe.net/fhir/StructureDefinition/IHE_MHD_Comprehensive_DocumentManifest"); + documentReference.getMeta().addProfile("https://ihe.net/fhir/StructureDefinition/IHE_MHD_Comprehensive_DocumentManifest"); } // uniqueId -> masterIdentifier Identifier [0..1] [1..1] @@ -184,11 +184,7 @@ public List translateToFhir(QueryResponse input, Map description string [0..1] - if (documentEntry.getTitle() != null) { - documentReference.setDescription(documentEntry.getTitle().getValue()); - } - + // confidentialityCode -> securityLabel CodeableConcept [0..*] Note: This // is NOT the DocumentReference.meta, as that holds the meta tags for the // DocumentReference itself. @@ -199,7 +195,13 @@ public List translateToFhir(QueryResponse input, Map content.attachment.title string [0..1] + if (documentEntry.getTitle() != null) { + attachment.setTitle(documentEntry.getTitle().getValue()); + } + // mimeType -> content.attachment.contentType [1..1] code [0..1] if (documentEntry.getMimeType() != null) { attachment.setContentType(documentEntry.getMimeType()); @@ -227,9 +229,9 @@ public List translateToFhir(QueryResponse input, Map content.attachment.title string [0..1] + // comments -> description string [0..1] if (documentEntry.getComments() != null) { - attachment.setTitle(documentEntry.getComments().getValue()); + documentReference.setDescription(documentEntry.getComments().getValue()); } // TcreationTime -> content.attachment.creation dateTime [0..1] diff --git a/src/main/java/org/openehealth/ipf/commons/ihe/fhir/iti65_v401/Iti65Constants.java b/src/main/java/org/openehealth/ipf/commons/ihe/fhir/iti65_v401/Iti65Constants.java index beb9f14b..050e6ca8 100644 --- a/src/main/java/org/openehealth/ipf/commons/ihe/fhir/iti65_v401/Iti65Constants.java +++ b/src/main/java/org/openehealth/ipf/commons/ihe/fhir/iti65_v401/Iti65Constants.java @@ -22,11 +22,16 @@ */ public interface Iti65Constants { - String ITI65_LEGACY_METADATA_PROFILE = "http://ihe.net/fhir/tag/iti-65"; - String ITI65_COMPREHENSIVE_METADATA_PROFILE = "http://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.ProvideBundle"; - String ITI65_MINIMAL_METADATA_PROFILE = "http://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.ProvideBundle"; + String ITI65_LEGACY_METADATA_PROFILE = "https://ihe.net/fhir/tag/iti-65"; + String ITI65_COMPREHENSIVE_METADATA_PROFILE = "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.ProvideBundle"; + String ITI65_MINIMAL_METADATA_PROFILE = "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.ProvideBundle"; - String ITI65_MINIMAL_DOCUMENT_MANIFEST_PROFILE = "http://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.SubmissionSet"; - String ITI65_MINIMAL_DOCUMENT_REFERENCE_PROFILE = "http://ihe.net/fhir/StructureDefinition/IHE_MHD_Provide_Minimal_DocumentReference"; + String ITI65_LEGACY_METADATA_PROFILE_HTTP = "http://ihe.net/fhir/tag/iti-65"; + String ITI65_COMPREHENSIVE_METADATA_PROFILE_HTTP = "http://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.ProvideBundle"; + String ITI65_MINIMAL_METADATA_PROFILE_HTTP = "http://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.ProvideBundle"; + + + String ITI65_MINIMAL_DOCUMENT_MANIFEST_PROFILE = "https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Minimal.SubmissionSet"; + String ITI65_MINIMAL_DOCUMENT_REFERENCE_PROFILE = "https://ihe.net/fhir/StructureDefinition/IHE_MHD_Provide_Minimal_DocumentReference"; } diff --git a/src/main/java/org/openehealth/ipf/commons/ihe/fhir/iti65_v401/Iti65TransactionConfiguration.java b/src/main/java/org/openehealth/ipf/commons/ihe/fhir/iti65_v401/Iti65TransactionConfiguration.java index 49583267..cbd2597c 100644 --- a/src/main/java/org/openehealth/ipf/commons/ihe/fhir/iti65_v401/Iti65TransactionConfiguration.java +++ b/src/main/java/org/openehealth/ipf/commons/ihe/fhir/iti65_v401/Iti65TransactionConfiguration.java @@ -24,6 +24,9 @@ import static org.openehealth.ipf.commons.ihe.fhir.iti65_v401.Iti65Constants.ITI65_COMPREHENSIVE_METADATA_PROFILE; import static org.openehealth.ipf.commons.ihe.fhir.iti65_v401.Iti65Constants.ITI65_MINIMAL_METADATA_PROFILE; import static org.openehealth.ipf.commons.ihe.fhir.iti65_v401.Iti65Constants.ITI65_LEGACY_METADATA_PROFILE; +import static org.openehealth.ipf.commons.ihe.fhir.iti65_v401.Iti65Constants.ITI65_COMPREHENSIVE_METADATA_PROFILE_HTTP; +import static org.openehealth.ipf.commons.ihe.fhir.iti65_v401.Iti65Constants.ITI65_MINIMAL_METADATA_PROFILE_HTTP; +import static org.openehealth.ipf.commons.ihe.fhir.iti65_v401.Iti65Constants.ITI65_LEGACY_METADATA_PROFILE_HTTP; /** * Standard Configuration for Iti65Component. @@ -46,7 +49,10 @@ public Iti65TransactionConfiguration() { setStaticConsumerSelector(new BundleProfileSelector( ITI65_COMPREHENSIVE_METADATA_PROFILE, ITI65_MINIMAL_METADATA_PROFILE, - ITI65_LEGACY_METADATA_PROFILE)); + ITI65_LEGACY_METADATA_PROFILE, + ITI65_COMPREHENSIVE_METADATA_PROFILE_HTTP, + ITI65_MINIMAL_METADATA_PROFILE_HTTP, + ITI65_LEGACY_METADATA_PROFILE_HTTP)); } @Override diff --git a/src/main/java/org/openehealth/ipf/commons/ihe/fhir/iti67_v401/Iti67RequestUpdateConverter.java b/src/main/java/org/openehealth/ipf/commons/ihe/fhir/iti67_v401/Iti67RequestUpdateConverter.java index 3d5abaf7..bccf4ef7 100644 --- a/src/main/java/org/openehealth/ipf/commons/ihe/fhir/iti67_v401/Iti67RequestUpdateConverter.java +++ b/src/main/java/org/openehealth/ipf/commons/ihe/fhir/iti67_v401/Iti67RequestUpdateConverter.java @@ -62,20 +62,20 @@ public SubmitObjectsRequest convertDocumentReferenceToDocumentEntry(@Body Docume SubmissionSet submissionSet = new SubmissionSet(); submissionSet.setSubmissionTime(new Timestamp(ZonedDateTime.now(), Timestamp.Precision.SECOND)); - Extension source = documentReference - .getExtensionByUrl("http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId"); + Extension source = + getExtensionByUrl(documentReference, "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId"); if (source != null && source.getValue() instanceof Identifier) { submissionSet.setSourceId(noPrefix(((Identifier) source.getValue()).getValue())); } - Extension designationType = documentReference - .getExtensionByUrl("http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType"); + Extension designationType = + getExtensionByUrl(documentReference, "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-designationType"); if (designationType != null && designationType.getValue() instanceof CodeableConcept) { submissionSet.setContentTypeCode(transformCodeableConcept((CodeableConcept) designationType.getValue())); } - Extension authorRoleExt = documentReference - .getExtensionByUrl("http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-ext-author-authorrole"); + Extension authorRoleExt = + getExtensionByUrl(documentReference, "https://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-ext-author-authorrole"); if (authorRoleExt != null) { Identifiable identifiable = null; if (authorRoleExt != null) { diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index 9bc028f8..83ab0c72 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.5e51d1271e155f96.js b/src/main/resources/static/main.5e51d1271e155f96.js deleted file mode 100644 index 27111f15..00000000 --- a/src/main/resources/static/main.5e51d1271e155f96.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(f){if(0===c.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==f)this.assignZero();else if(f instanceof Array){if(f.length!==c.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(f)}`);this.dimVec_=[];for(let h=0;h=c.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[f]=1}}setElementAt(f,h){if(!d(f)||f<0||f>=c.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${f})`);this.dimVec_||this.assignZero(),null==h&&(h=1),this.dimVec_[f]=h}getElementAt(f){if(!d(f)||f<0||f>=c.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${f})`);let h=null;return this.dimVec_&&(h=this.dimVec_[f]),h}getProperty(f){return this["_"===f.charAt(f.length-1)?f:f+"_"]}toString(){let f=null;return this.dimVec_&&(f="["+this.dimVec_.join(", ")+"]"),f}add(f){if(!f instanceof g)throw new Error(`Dimension.add called with an invalid parameter - ${typeof f} instead of a Dimension object`);if(this.dimVec_&&f.dimVec_)for(let h=0;h{"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(f.bind(null,p))}return v.data}return v};function g(v){return v.map(b=>Array.isArray(b)?b:[b])}function f(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_),f=r.length;for(let h=0;h{"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 f=""+r;return!isNaN(f)&&!isNaN(parseFloat(f))},B.isIntegerUnit=function d(r){return/^\d+$/.test(r)},B.getSynonyms=function g(r){let f={},u={};if(u=n.getInstance().getUnitBySynonym(r),u.units){f.status="succeeded";let v=u.units.length;f.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 f{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 f=a(9473).Ucum,h=a(7894).UnitTables,u=a(4206).T;class v{constructor(){0===h.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==f.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=h.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=h.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,f=a(9473).Ucum,h=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 h:void 0!==_.dim_.dimVec_?new h(_.dim_.dimVec_):_.dim_ instanceof h?_.dim_:_.dim_ instanceof Array||v(_.dim_)?new h(_.dim_):new h,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 h),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,f=a(5744).Unit,h=a(7894).UnitTables,u=a(8902).PrefixTables;class v{constructor(){this.utabs_=h.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 f({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 f({csCode_:x,magnitude_:x,name_:x}):x.csCode_=p:x=new f({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_:Ce+""+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 f({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(f){f.name_&&this.addUnitName(f),this.addUnitCode(f),this.addUnitString(f);try{f.dim_.getProperty("dimVec_")&&this.addUnitDimension(f)}catch{}}addUnitName(f){let h=f.name_;if(!h)throw new Error(`UnitTables.addUnitName called for a unit with no name. Unit code = ${f.csCode_}.`);this.unitNames_[h]?this.unitNames_[h].push(f):this.unitNames_[h]=[f]}addUnitCode(f){let h=f.csCode_;if(!h)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[h])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${h}`);if(this.unitCodes_[h]=f,this.codeOrder_.push(h),"g"==h){let u=f.dim_.dimVec_,v=0;for(;v=1&&(u=f.substr(h+n.codeSep_.length),f=f.substr(0,h));let v=this.unitNames_[f];if(v){let b=v.length;if(u&&b>1){let p=0;for(;v[p].csCode_!==u&&p0&&(u+=h),"dim_"===f[D])u+=null!=x.dim_&&x.dim_.dimVec_ instanceof Array?"["+x.dim_.dimVec_.join(",")+"]":"";else{let S=x[f[D]];u+="string"==typeof S?S.replace(/[\n\r]/g," "):S}u+="\r\n"}}return u}printUnits(f,h){void 0===f&&(f=!1),void 0===h&&(h="|");let u="",v=this.codeOrder_.length,b="csCode"+h;f&&(b+="ciCode"+h),b+="name"+h,f&&(b+="isBase"+h),b+="magnitude"+h+"dimension"+h+"from unit(s)"+h+"value"+h+"function"+h,f&&(b+="property"+h+"printSymbol"+h+"synonyms"+h+"source"+h+"class"+h+"isMetric"+h+"variable"+h+"isSpecial"+h+"isAbitrary"+h),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),g=(a(7088),a(9515),n.__importStar(a(5879))),r=n.__importStar(a(9515)),f=n.__importStar(a(7088)),h=n.__importStar(a(4505)),u=n.__importStar(a(617)),v=n.__importStar(a(6718)),b=n.__importStar(a(1274)),p=n.__importStar(a(5187));B.AppComponent=(()=>{class l{constructor(x,D){x.setDefaultLang("de"),x.use(x.getBrowserLang());let S=location.href;S.indexOf("#")>0?S=S.substring(0,S.indexOf("#")-1)+"/fhir":S+="fhir",console.log("note: using fhir base "+S),D.changeMagMicroService(S)}}return l.\u0275fac=function(x){return new(x||l)(g.\u0275\u0275directiveInject(r.TranslateService),g.\u0275\u0275directiveInject(f.FhirConfigService))},l.\u0275cmp=g.\u0275\u0275defineComponent({type:l,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(x,D){if(1&x&&(g.\u0275\u0275elementStart(0,"mat-toolbar",0)(1,"div",1)(2,"div",2),g.\u0275\u0275element(3,"img",3),g.\u0275\u0275elementEnd()(),g.\u0275\u0275element(4,"span",4),g.\u0275\u0275elementStart(5,"span")(6,"button",5)(7,"mat-icon"),g.\u0275\u0275text(8,"more_vert"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(9,"mat-menu",null,6)(11,"button",7)(12,"mat-icon"),g.\u0275\u0275text(13,"home"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(14,"span"),g.\u0275\u0275text(15,"Home"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(16,"button",8)(17,"mat-icon"),g.\u0275\u0275text(18,"info"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(19,"span"),g.\u0275\u0275text(20,"CapabilityStatement"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(21,"button",9)(22,"mat-icon"),g.\u0275\u0275text(23,"search"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(24,"span"),g.\u0275\u0275text(25,"Mobile Access Gateway ..."),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(26,"button",10)(27,"mat-icon"),g.\u0275\u0275text(28,"people"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(29,"span"),g.\u0275\u0275text(30,"search Patients ..."),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(31,"button",11)(32,"mat-icon"),g.\u0275\u0275text(33,"settings"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(34,"span"),g.\u0275\u0275text(35,"Settings"),g.\u0275\u0275elementEnd()()()()(),g.\u0275\u0275elementStart(36,"main",12),g.\u0275\u0275element(37,"router-outlet"),g.\u0275\u0275elementEnd()),2&x){const S=g.\u0275\u0275reference(10);g.\u0275\u0275advance(6),g.\u0275\u0275property("matMenuTriggerFor",S)}},dependencies:[h.MatLegacyButton,u.MatIcon,v.MatLegacyMenu,v.MatLegacyMenuItem,v.MatLegacyMenuTrigger,b.MatToolbar,p.RouterOutlet,p.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}}"]}),l})()},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),f=a(6401),h=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:h.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:[f.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)),f=n.__importStar(a(9025)),h=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,f.MatLegacyCard,f.MatLegacyCardHeader,f.MatLegacyCardContent,f.MatLegacyCardTitle,h.MatLegacyError,u.Highlight],styles:[".display[_ngcontent-%COMP%]{display:inline-block}"]}),_})()},7088:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.FhirConfigService=void 0;const n=a(655),c=n.__importDefault(a(8907)),d=n.__importStar(a(5879));B.FhirConfigService=(()=>{class r{constructor(){}changeFhirMicroService(h){localStorage.setItem("fhirMicroServer",h)}changeMagMicroService(h){localStorage.setItem("magMicroService",h)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")||"/matchbox/fhir"}getMobileAccessGatewayService(){return localStorage.getItem("magMicroService")||"/mag/fhir"}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 c.default({baseUrl:this.getFhirMicroService()})}getMobileAccessGatewayClient(){return new c.default({baseUrl:this.getMobileAccessGatewayService()})}getAuthCodeFlowConfig(){return{loginUrl:this.getMobileAccessGatewayLoginUrl(),redirectUri:this.getRedirectUri(),tokenEndpoint:this.getMobileAccessGatewayTokenEndpoint(),clientId:this.getClientId(),responseType:"code",scope:"todo",dummyClientSecret:this.getClientSecret(),showDebugInformation:!0,timeoutFactor:.75}}}return r.\u0275fac=function(h){return new(h||r)},r.\u0275prov=d.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r})()},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(h,u){return(0,c.evaluate)(h,u,null)}evaluateToString(h,u){const v=this.evaluate(h,u);return v&&v instanceof Array&&1===v.length?v[0]:null}getOauthUriToken(h){return this.evaluateToString(h,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(h){return this.evaluateToString(h,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}}return r.\u0275fac=function(h){return new(h||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)),f=c.__importStar(a(5187)),h=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(f.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:[h.MatLegacyCard,h.MatLegacyCardContent,h.MatLegacyCardFooter,u.MatIcon,v.MatLegacyMenuItem,f.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)),h=(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)),Ce=c.__importStar(a(2214)),Re=c.__importStar(a(1438)),Ae=c.__importStar(a(9949)),de=c.__importStar(a(9009));function H(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function W(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"button",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onFetchPatient())}),l.\u0275\u0275text(2," get Patient "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()}}function pe(et,Dt){if(1&et&&(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&et){const _e=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",null==_e.patient.name[0]?null:_e.patient.name[0].given," ",null==_e.patient.name[0]?null:_e.patient.name[0].family,", ",_e.patient.birthDate," ")}}function we(et,Dt){if(1&et){const _e=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(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onPIXmFeedAdd())}),l.\u0275\u0275text(24," PIXm Feed - Add Identifier "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}if(2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",_e.patient.name),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceAddIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceAddIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceManagingOrganizationOid),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceManagingOrganizationName)}}function Ee(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div")(1,"pre"),l.\u0275\u0275element(2,"code",43),l.\u0275\u0275elementEnd()()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",_e.getScopes())}}function Be(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",44),l.\u0275\u0275text(1,"Description"),l.\u0275\u0275elementEnd())}function G(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",44),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",_e.description," ")}}function re(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",45),l.\u0275\u0275text(1,"Title"),l.\u0275\u0275elementEnd())}function ae(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",45)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].attachment.title," ")}}function ve(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",46),l.\u0275\u0275text(1,"Title"),l.\u0275\u0275elementEnd())}function He(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",46)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].attachment.contentType," ")}}function Ze(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",47),l.\u0275\u0275text(1,"formatCode"),l.\u0275\u0275elementEnd())}function Qe(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",47)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].format.code," ")}}function Ge(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",48),l.\u0275\u0275text(1,"Actions"),l.\u0275\u0275elementEnd())}function tt(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"mat-cell",48)(1,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onRemove(mt))}),l.\u0275\u0275elementStart(2,"mat-icon"),l.\u0275\u0275text(3,"remove"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onReplace(mt))}),l.\u0275\u0275elementStart(5,"mat-icon"),l.\u0275\u0275text(6,"reply"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(7,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onDownloadDocumentReferenceAttachment(mt))}),l.\u0275\u0275elementStart(8,"mat-icon"),l.\u0275\u0275text(9,"download"),l.\u0275\u0275elementEnd()()()}}function Ct(et,Dt){1&et&&l.\u0275\u0275element(0,"mat-header-row")}function Nt(et,Dt){1&et&&l.\u0275\u0275element(0,"mat-row")}function _t(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function Bt(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-card-actions")(2,"button",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onPdf())}),l.\u0275\u0275text(3,"Pdf"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}}function Tt(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" Replace Document with ",_e.replaceDocumentReference.identifier[0].value," ")}}function Lt(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",_e.descr,": ",_e.existingUuid," -> ",_e.newUuid," ")}}function Le(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(_e.errMsgAssignPatient)}}function lt(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function ze(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(_e.errMsg)}}const at=function(){return["name","title","contentType","formatCode","action"]},N=et=>String(Math.floor(Math.abs(et))).padStart(2,"0");function K(et){const Dt=-et.getTimezoneOffset(),_e=Dt>=0?"+":"-",ut=`${N(Dt/60)}:${N(Dt%60)}`;return`${(0,B.toLocaleDate)(et)}T${(0,B.toLocaleTime)(et)}${_e}${ut}`}B.toLocaleDate=et=>`${et.getFullYear()}-${N(et.getMonth()+1)}-${N(et.getDate())}`,B.toLocaleHHMM=et=>`${N(et.getHours())}:${N(et.getMinutes())}`,B.toLocaleTime=et=>`${(0,B.toLocaleHHMM)(et)}:${N(et.getSeconds())}`,B.toLocaleDateTime=K,B.MagComponent=(()=>{class et{constructor(_e,ut,Pe,mt,Pt,Ft){this.data=_e,this.fhirPathService=ut,this.http=Pe,this.cd=mt,this.oauthService=Pt,this.router=Ft,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=_e.getMobileAccessGatewayClient(),this.mag.capabilityStatement().then(Oe=>this.setJson(JSON.stringify(Oe,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.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.documentDescription=new r.UntypedFormControl,this.documentDescription.setValue(this.getLocalStorageItemOrDefault("mag.documentType","Titel")),this.masterIdentifier=new r.UntypedFormControl,this.masterIdentifier.setValue((0,u.v4)()),this.creationTime=new r.UntypedFormControl,this.creationTime.setValue(K(new Date)),this.languageCode=new r.UntypedFormControl,this.languageCode.setValue(this.getLocalStorageItemOrDefault("mag.languageCode","de-CH")),this.fhirConfigService=_e,Pt.configure(this.fhirConfigService.getAuthCodeFlowConfig()),Pt.tryLoginCodeFlow().then(Oe=>{this.scopes=this.oauthService.getGrantedScopes()}),Pt.events.subscribe(Oe=>{Oe instanceof p.OAuthErrorEvent?console.error(Oe):console.warn(Oe)}),this.pdf="",this.replaceDocumentReference=null}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.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(_e,ut){return localStorage.getItem(_e)||ut}setLocaleStorageItem(_e,ut){return localStorage.setItem(_e,ut),ut}setJson(_e){this.json=_e}getJson(){return this.json}getScopes(){return this.scopes?JSON.stringify(this.scopes,null,2):""}ngOnInit(){}ngOnDestroy(){}setPixmQueryResult(_e){this.inPixmProgress=!1,this.setJson(JSON.stringify(_e,null,2)),this.targetIdentifierValue=this.fhirPathService.evaluateToString(_e,"parameter.valueIdentifier.where(system='"+this.targetIdentifierSystem.value+"').value"),this.targetIdentifier2Value=this.fhirPathService.evaluateToString(_e,"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(_e,"parameter.valueReference.reference"),this.cache()}setPatientFetchResult(_e){this.inPixmProgress=!1,this.patient=_e,this.setJson(JSON.stringify(_e,null,2)),this.cache()}setPIXmFeedAddResult(_e){this.inPixmProgress=!1,this.patient=void 0,this.setJson(JSON.stringify(_e,null,2)),this.cache()}onPIXmQuery(){this.targetIdentifierValue="",this.targetIdentifier2Value="",this.patient=void 0,this.inPixmProgress=!0,this.cache();let _e="sourceIdentifier="+encodeURIComponent(this.sourceIdentifierSystem.value+"|"+this.sourceIdentifierValue.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifierSystem.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifier2System.value);this.mag.operation({name:"$ihe-pix?"+_e,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(ut=>this.setPixmQueryResult(ut)).catch(ut=>{this.setJson(JSON.stringify(ut,null,2)),this.targetIdentifierValue="",this.targetIdentifier2Value="",this.targetId="",this.cache(),this.inPixmProgress=!1})}getPatient(){const _e=this.targetId.substring(this.targetId.indexOf("Patient/")+8);return this.mag.read({resourceType:"Patient",id:_e,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 _e=this;return n(function*(){_e.patient=void 0,_e.inPixmProgress=!0,_e.cache();try{_e.patient=yield _e.getPatient(),_e.setPatientFetchResult(_e.patient)}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.cache(),_e.inPixmProgress=!1}})()}onPIXmFeedAdd(){this.inPixmProgress=!0,this.patient.telecom&&delete this.patient.telecom,this.cache();let _e={identifier:this.sourceAddIdentifierSystem.value+"|"+this.sourceAddIdentifierValue.value},ut={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(ut),this.patient.managingOrganization={reference:"#org"},this.mag.update({resourceType:"Patient",body:this.patient,searchParams:_e,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}}).then(Pe=>this.setPIXmFeedAddResult(Pe)).catch(Pe=>{this.setJson(JSON.stringify(Pe,null,2)),this.cache(),this.inPixmProgress=!1})}onAuthenticate(){if(this.cache(),this.scopes=null,"HCP"===this.authenticate.value){let _e=this.fhirConfigService.getAuthCodeFlowConfig();_e.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|HCP`,this.oauthService.configure(_e),this.oauthService.initCodeFlow()}else"TCU"===this.authenticate.value?this.getSamlToken().then(_e=>this.json=_e):this.oauthService.logOut()}getAppcDocument(_e,ut){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.documentDescription.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(_e,ut){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==${ut}http://ihe.connectathon.XUA/X-ServiceProvider-IHE-Connectathonurn:oasis:names:tc:SAML:2.0:ac:classes:unspecifiedIris Musterpatient${ut}^^^&2.16.756.5.30.1.127.3.10.3&ISOurn:oid:3.3.3.1`)}getSimulatedSamlPmpTcuAssertion(_e,ut,Pe){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${Pe}^^^&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(_e){var ut=this;return n(function*(){const mt=yield(yield fetch("https://test.ahdis.ch/eprik-cara/camel/tcu",{cache:"no-store",headers:{Accept:"application/xml"}})).text(),Ft=yield(yield fetch(ut.fhirConfigService.getMobileAccessGatewayAssertionEndpoint(),{cache:"no-store",method:"POST",headers:{Scope:`person_id=${_e}^^^&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:mt})).json();return Promise.resolve(Ft.access_token)})()}setBundle(_e){_e?(this.bundle=_e,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry.map(ut=>ut.resource)):this.dataSource.data=null,this.dataSource.data=this.dataSource.data}setDocumentReferenceResult(_e){this.setJson(JSON.stringify(_e,null,2)),this.setBundle(_e)}findDocumentReferences(){var _e=this;return n(function*(){let ut={status:"current","patient.identifier":encodeURIComponent(_e.targetIdentifierSystem.value+"|"+_e.targetIdentifierValue)},Pe=yield _e.getSamlToken();return _e.mag.search({resourceType:"DocumentReference",searchParams:ut,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+Pe}}})})()}onFindDocumentReferences(){var _e=this;return n(function*(){_e.replaceDocumentReference=null,_e.inMhdQueryProgress=!0,_e.pdf="";try{const ut=yield _e.findDocumentReferences();_e.setDocumentReferenceResult(ut),_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}findMedicationList(_e){var ut=this;return n(function*(){let Pe="patient.identifier="+encodeURIComponent(ut.targetIdentifierSystem.value+"|"+ut.targetIdentifierValue)+(_e?"&format="+encodeURIComponent(_e):"");ut.serviceStartFrom.value?.length>0&&(Pe+=`&serviceStartFrom=${encodeURIComponent(ut.serviceStartFrom.value)}`),ut.serviceStartTo.value?.length>0&&(Pe+=`&serviceStartTo=${encodeURIComponent(ut.serviceStartTo.value)}`),ut.serviceEndFrom.value?.length>0&&(Pe+=`&serviceEndFrom=${encodeURIComponent(ut.serviceEndFrom.value)}`),ut.serviceEndTo.value?.length>0&&(Pe+=`&serviceEndTo=${encodeURIComponent(ut.serviceEndTo.value)}`);const mt=yield ut.getSamlToken();return ut.mag.operation({name:"$find-medication-list?status=current&"+Pe,resourceType:"DocumentReference",method:"GET",options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+mt}}})})()}onFindMedicationList(){var _e=this;return n(function*(){_e.pdf="",_e.inMhdQueryProgress=!0,_e.cache();try{const ut=yield _e.findMedicationList();_e.setDocumentReferenceResult(ut),ut.entry&&1==ut.entry.length&&(yield _e.downloadDocumentReferenceAttachment(ut.entry[0].resource)),_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}onFindMedicationCard(){var _e=this;return n(function*(){_e.pdf="",_e.inMhdQueryProgress=!0,_e.cache();try{const ut=yield _e.findMedicationList("urn:oid:2.16.756.5.30.1.127.3.10.10|urn:che:epr:ch-emed:medication-card:2022");if(_e.setDocumentReferenceResult(ut),ut.entry&&1==ut.entry.length){const Pe=yield _e.downloadDocumentReferenceAttachment(ut.entry[0].resource),mt=JSON.parse(Pe);_e.pdf=_e.fhirPathService.evaluateToString(mt,"entry.resource.where(resourceType='Binary').data")}_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}getSamlToken(){var _e=this;return n(function*(){return"HCP"===_e.authenticate.value?Promise.resolve(_e.oauthService.getAccessToken()):"Patient"===_e.authenticate.value?Promise.resolve(_e.getSimulatedSamlPmpAssertion(K(new Date),_e.targetIdentifier2Value)):"TCU"===_e.authenticate.value?_e.getEprikTcuAssertion(_e.targetIdentifier2Value):null})()}downloadDocumentReferenceAttachment(_e){var ut=this;return n(function*(){let mt=(_e.content&&_e.content.length>0?_e.content[0].attachment.url:"undefined").replace("http://test.ahdis.ch/mag-pmp/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp/camel/xdsretrieve"),Pt=mt.replace("http://test.ahdis.ch/mag-pmp2/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp2/camel/xdsretrieve");const Ft=_e.content&&_e.content.length>0?_e.content[0].attachment?.contentType:"";if(ut.selectedDocumentReference=_e,"application/pdf"===Ft){const Gt=_e.content&&_e.content.length>0?_e.content[0].attachment.title:"undefined",Oe=ut,Ke=yield ut.getSamlToken(),ge=yield(yield fetch(Pt,{cache:"no-store",headers:{Authorization:"Bearer "+Ke,Accept:"application/pdf"}})).blob();return new Promise((ct,Me)=>{let Ye=new FileReader;Ye.onload=()=>{Oe.downloadPdf(Ye.result.toString(),Gt),ct(Ye.result)},Ye.onerror=Me,Ye.readAsDataURL(ge)})}{const Gt=yield ut.getSamlToken(),Ke={responseType:"text",headers:(new h.HttpHeaders).set("Authorization","Bearer "+Gt)};return new Promise((he,ge)=>{ut.http.get(mt,Ke).subscribe({next:ct=>{ut.xml=ct,ut.setJson(ct),he(ut.xml)},error:ct=>{ge(ct)}})})}})()}onReplace(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=_e})()}onRemove(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=null;let Pe={..._e};ut.inMhdQueryProgress=!0,null==Pe.extension&&(Pe.extension=new Array),Pe.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:ut.iheSourceId.value}}),Pe.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)"}}),Pe.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"}}),Pe.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 mt=yield ut.getSamlToken();try{let Pt=yield ut.mag.update({resourceType:"DocumentReference",id:Pe.id,body:Pe,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0","content-type":"application/fhir+json;fhirVersion=4.0",Authorization:"Bearer "+mt}}});ut.setJson(JSON.stringify(Pt,null,2)),ut.inMhdQueryProgress=!1,ut.onFindDocumentReferences()}catch(Pt){ut.setJson(JSON.stringify(Pt.response.data,null,2)),ut.inMhdQueryProgress=!1}})()}onDownloadDocumentReferenceAttachment(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=null,ut.inMhdQueryProgress=!0,yield ut.downloadDocumentReferenceAttachment(_e),ut.inMhdQueryProgress=!1})()}canTransformToPdf(){return""!=this.pdf}downloadPdf(_e,ut){const Pe=document.createElement("a");Pe.href=_e,Pe.download=`${ut}.pdf`,Pe.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 ut=`0x${(0,u.v4)().replace(/-/g,"")}`;return`2.25.${BigInt(ut).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(_e){if(this.uploadBase64="",this.uploadContentType="",this.uploadBundle=null,this.json="",this.xml="",this.pdf="","application/json"===_e.contentType||_e.name.endsWith(".json")||"text/xml"===_e.contentType||_e.name.endsWith(".xml"))this.addText(_e);else{var ut=new FileReader;const Pe=this;ut.readAsDataURL(_e.blob),ut.onloadend=function(){let mt=ut.result.toString();mt.startsWith("data:application/pdf;base64,")&&(Pe.uploadBase64=mt.substring(28),Pe.uploadContentType="application/pdf",Pe.documentType.setValue("PDF"))}}}addText(_e){const ut=new FileReader;ut.readAsText(_e.blob);const Pe=this;this.documentDescription.setValue(_e.name),this.creationTime.setValue(K(new Date)),ut.onload=()=>{("application/json"===_e.contentType||_e.name.endsWith(".json"))&&(this.uploadContentType="application/fhir+json",this.autoDetectFormat(ut.result)),("text/xml"===_e.contentType||_e.name.endsWith(".xml"))&&(this.uploadContentType="text/xml",Pe.documentType.setValue("XML"),Pe.xml=ut.result,Pe.setJson(Pe.xml))}}getResource(_e,ut){return _e.entry.filter(Pe=>Pe.fullUrl.endsWith(ut)).pop()?.resource}autoDetectFormat(_e){this.documentType.setValue("JSON");const ut=JSON.parse(_e);this.setJson(_e),ut.hasOwnProperty("resourceType")&&"Bundle"===ut.resourceType&&this.autoDetectBundle(ut)}autoDetectBundle(_e){if(this.creationTime.setValue(_e.timestamp),this.masterIdentifier.setValue(_e.identifier.value),"document"===_e.type&&_e.entry?.length>0){const ut=_e.entry[0].resource,Pe=ut.type.coding.find(mt=>"http://snomed.info/sct"===mt.system);if(ut.language&&this.languageCode.setValue(ut.language),!Pe)return;switch(Pe.code){case"761931002":return this.uploadBundle=_e,void this.documentType.setValue("MTP");case"761938008":return this.uploadBundle=_e,void this.documentType.setValue("PRE");case"294121000195110":return this.uploadBundle=_e,void this.documentType.setValue("DIS");case"419891008":return this.uploadBundle=_e,void this.documentType.setValue("PADV")}}}assignMobileAccessPatient(){var _e=this;return n(function*(){if(_e.inMhdUploadProgress=!0,_e.errMsgAssignPatient="",null==_e.patient&&(_e.patient=yield _e.getPatient()),null==_e.patient)return void(_e.errMsgAssignPatient="Error: select first 'get Patient' from Mobile Access Gateway");if(null==_e.uploadBundle)return void(_e.errMsgAssignPatient="Error: need a FHIR Bundle in json format to assign the Patient");const ut=_e.uploadBundle.entry.filter(Oe=>"Patient"===Oe.resource.resourceType),Pe={..._e.patient};Pe.identifier=_e.patient.identifier.filter(Oe=>Oe.system===_e.sourceIdentifierSystem.value),Pe.identifier.find(Oe=>Oe.system===_e.sourceIdentifierSystem.value).type={coding:[{system:"http://terminology.hl7.org/CodeSystem/v2-0203",code:"MR"}]},Pe.name=Array(),Pe.name[0]=_e.patient.name[0],ut.forEach(Oe=>{const Ke=Oe.resource.id;Oe.resource={...Pe},Oe.resource.id=Ke});let mt=JSON.stringify(_e.uploadBundle,null,2);const Pt=_e.uploadBundle.identifier.value,Ft="urn:uuid:"+(0,u.v4)(),Gt=_e.replaceUuids.findIndex(Oe=>Oe.existingUuid==Pt);-1==Gt?_e.replaceUuids.push({descr:_e.documentType.value,existingUuid:Pt,newUuid:Ft}):_e.replaceUuids[Gt]={descr:_e.documentType.value,existingUuid:Pt,newUuid:Ft},_e.replaceUuids.forEach(Oe=>mt=mt.split(Oe.existingUuid).join(Oe.newUuid)),_e.masterIdentifier.setValue(Ft),_e.setJson(mt),_e.inMhdUploadProgress=!1})()}createMhdTransaction(){var _e=this;return n(function*(){_e.inMhdUploadProgress=!0;let ut={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"}}]},Pe="urn:uuid:"+(0,u.v4)();ut.entry[0].fullUrl=Pe;const mt=ut.entry[0].resource;mt.contentType=_e.uploadContentType,mt.data=_e.uploadBase64?.length>0?_e.uploadBase64:v.Base64.encode(_e.json);let Pt=(0,u.v4)();ut.entry[1].fullUrl="urn:uid:"+Pt;const Ft=ut.entry[1].resource;Ft.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:_e.iheSourceId.value}}),Ft.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"}}),Ft.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 Gt="urn:uuid:"+(0,u.v4)();Ft.identifier[0].value=Gt;let Oe="urn:oid:"+_e.generateOidFromUuid();Ft.identifier[1].value=Oe,Ft.subject.reference=_e.targetId;let Ke=K(new Date);Ft.date=Ke;let he="urn:uuid:"+(0,u.v4)();Ft.entry[0].item.reference=he,ut.entry[2].fullUrl=he;const ge=ut.entry[2].resource;ge.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!=_e.replaceDocumentReference?ge.relatesTo.push({code:"replaces",target:{reference:_e.replaceDocumentReference.identifier[0].value}}):delete ge.relatesTo;const ct=ge.contained[0];if(ct.identifier[0].system=_e.sourceIdentifierSystem.value,ct.identifier[0].value=_e.sourceIdentifierValue.value,ct.identifier[1].system=_e.targetIdentifierSystem.value,ct.identifier[1].value=_e.targetIdentifierValue,_e.patient&&(ct.birthDate=_e.patient.birthDate,ct.gender=_e.patient.gender,ct.name=_e.patient.name,ct.address=_e.patient.address),null!=_e.uploadBundle&&["PADV","DIS","MTP","PRE","PMLC"].includes(_e.documentType.value)){const V=_e.uploadBundle.entry[0].resource;if(V?.author&&V.author[0].reference){const Q=_e.getResource(_e.uploadBundle,V.author[0].reference);if(Q&&"PractitionerRole"==Q.resourceType){let be={...Q};delete be.text,be.id="practrole";const dt=_e.getResource(_e.uploadBundle,be.organization?.reference),Rt=_e.getResource(_e.uploadBundle,be.practitioner?.reference);if(dt){let qe={...dt};qe.id="org",delete qe.text,be.organization.reference="#org",ge.contained.push(qe)}if(Rt){let qe={...Rt};qe.id="pract",delete qe.text,be.practitioner.reference="#pract",ge.contained.push(qe)}ge.contained.push(be),ge.author.push({reference:"#practrole"})}}}0==ge.author.length&&delete ge.author;let Me=_e.masterIdentifier.value.toLocaleLowerCase();ge.masterIdentifier.value=Me;let Ye="urn:oid:"+_e.generateOidFromUuid();ge.identifier[0].value=Ye,ge.subject.reference=_e.targetId,ge.date=Ke,ge.content[0].attachment.url=Pe,ge.content[0].attachment.contentType=_e.uploadContentType,ge.content[0].attachment.language=_e.languageCode.value;let De=ut.entry[2].resource;De.date=_e.creationTime.value,De.type=_e.getDocumentReferenceType(),De.category.push(_e.getDocumentReferenceCategory()),De.content[0].format=_e.getDocumentReferenceContentFormat(),De.content[0].attachment.creation=_e.creationTime.value,De.description=_e.documentDescription.value,De.securityLabel[0]=_e.getDocumentConfidentiality();const F=yield _e.getSamlToken();_e.mag.transaction({body:ut,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+F}}}).then(V=>{_e.setJson(JSON.stringify(V,null,2)),_e.inMhdUploadProgress=!1}).catch(V=>{_e.setJson(JSON.stringify(V,null,2)),_e.inMhdUploadProgress=!1})})()}}return et.\u0275fac=function(_e){return new(_e||et)(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))},et.\u0275cmp=l.\u0275\u0275defineComponent({type:et,selectors:[["app-mag"]],decls:192,vars:37,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"],[3,"dataSource"],["table",""],["matColumnDef","name"],["class","name",4,"matHeaderCellDef"],["class","name",4,"matCellDef"],["matColumnDef","title"],["class","title",4,"matHeaderCellDef"],["class","title",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,"highlight"],[1,"name"],[1,"title"],[1,"contentType"],[1,"formatCode"],[1,"res"],["mat-icon-button","","type","submit",3,"click"]],template:function(_e,ut){1&_e&&(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 ut.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\u0275template(52,Ee,3,1,"div",3),l.\u0275\u0275elementStart(53,"mat-card-actions")(54,"button",4),l.\u0275\u0275listener("click",function(){return ut.onAuthenticate()}),l.\u0275\u0275text(55," Authenticate "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(56,"mat-card",0)(57,"mat-card-content")(58,"mat-card-header")(59,"mat-card-title"),l.\u0275\u0275text(60,"Mobile Access Gateway - Query"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(61,"mat-table",9,10),l.\u0275\u0275elementContainerStart(63,11),l.\u0275\u0275template(64,Be,2,0,"mat-header-cell",12),l.\u0275\u0275template(65,G,2,1,"mat-cell",13),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(66,14),l.\u0275\u0275template(67,re,2,0,"mat-header-cell",15),l.\u0275\u0275template(68,ae,3,1,"mat-cell",16),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(69,17),l.\u0275\u0275template(70,ve,2,0,"mat-header-cell",18),l.\u0275\u0275template(71,He,3,1,"mat-cell",19),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(72,20),l.\u0275\u0275template(73,Ze,2,0,"mat-header-cell",21),l.\u0275\u0275template(74,Qe,3,1,"mat-cell",22),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(75,23),l.\u0275\u0275template(76,Ge,2,0,"mat-header-cell",24),l.\u0275\u0275template(77,tt,10,0,"mat-cell",25),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275template(78,Ct,1,0,"mat-header-row",26),l.\u0275\u0275template(79,Nt,1,0,"mat-row",27),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(80,_t,2,0,"ng-container",3),l.\u0275\u0275elementStart(81,"mat-card-actions")(82,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindDocumentReferences()}),l.\u0275\u0275text(83," Document References "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(84,"div")(85,"mat-form-field",1)(86,"mat-label"),l.\u0275\u0275text(87,"serviceStart From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(88,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(89," \xa0 "),l.\u0275\u0275elementStart(90,"mat-form-field",1)(91,"mat-label"),l.\u0275\u0275text(92,"serviceStart To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(93,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(94,"div")(95,"mat-form-field",1)(96,"mat-label"),l.\u0275\u0275text(97,"serviceEnd From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(98,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(99," \xa0 "),l.\u0275\u0275elementStart(100,"mat-form-field",1)(101,"mat-label"),l.\u0275\u0275text(102,"serviceEnd To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(103,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(104,"mat-card-actions")(105,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindMedicationList()}),l.\u0275\u0275text(106," Medication List "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(107,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindMedicationCard()}),l.\u0275\u0275text(108," Medication Card "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(109,Bt,4,0,"ng-container",3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(110,"mat-card",0)(111,"mat-card-content")(112,"mat-card-header")(113,"mat-card-title"),l.\u0275\u0275text(114,"Mobile Access Gateway - Upload"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(115,"app-upload",29),l.\u0275\u0275listener("addFiles",function(mt){return ut.addFile(mt)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(116,"div")(117,"mat-form-field",1)(118,"mat-label"),l.\u0275\u0275text(119,"Description"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(120,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(121,"div")(122,"mat-form-field",1)(123,"mat-label"),l.\u0275\u0275text(124,"Document Type"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(125,"select",5)(126,"option",30),l.\u0275\u0275text(127,"APPC Document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(128,"option",31),l.\u0275\u0275text(129,"Medication Treatment Plan document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(130,"option",32),l.\u0275\u0275text(131,"Medication Dispense document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(132,"option",33),l.\u0275\u0275text(133,"Medication Prescription document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(134,"option",34),l.\u0275\u0275text(135,"Pharmaceutical Advice document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(136,"option",35),l.\u0275\u0275text(137,"PDF"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(138,"div")(139,"mat-form-field",1)(140,"mat-label"),l.\u0275\u0275text(141,"Confidentiality"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(142,"select",5)(143,"option",36),l.\u0275\u0275text(144,"Normally accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(145,"option",37),l.\u0275\u0275text(146,"Restricted accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(147,"option",38),l.\u0275\u0275text(148,"Secret"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(149,"div")(150,"mat-form-field",1)(151,"mat-label"),l.\u0275\u0275text(152,"DocumentEntry.masterIdentifier (uuid)"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(153,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(154,"div")(155,"mat-form-field",1)(156,"mat-label"),l.\u0275\u0275text(157,"DocumentEntry.creationTime"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(158,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(159,"div")(160,"mat-form-field",1)(161,"mat-label"),l.\u0275\u0275text(162,"DocumentEntry.languageCode"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(163,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(164,"div")(165,"mat-form-field",1)(166,"mat-label"),l.\u0275\u0275text(167,"ihe-sourceId"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(168,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(169,"\xa0 "),l.\u0275\u0275elementStart(170,"a",39),l.\u0275\u0275text(171,"ig"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(172,Tt,2,1,"div",3),l.\u0275\u0275template(173,Lt,2,3,"div",40),l.\u0275\u0275template(174,Le,2,1,"div",3),l.\u0275\u0275template(175,lt,2,0,"ng-container",3),l.\u0275\u0275elementStart(176,"div")(177,"button",28),l.\u0275\u0275listener("click",function(){return ut.assignMobileAccessPatient()}),l.\u0275\u0275text(178," Assign Mobile Access Patient"),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(179,"\xa0 "),l.\u0275\u0275elementStart(180,"button",28),l.\u0275\u0275listener("click",function(){return ut.createMhdTransaction()}),l.\u0275\u0275text(181," Provide and Register "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(182,"button",28),l.\u0275\u0275listener("click",function(){return ut.createAppc()}),l.\u0275\u0275text(183," Create APPC for PMP "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(184,"mat-card",0)(185,"mat-card-content")(186,"mat-card-header")(187,"mat-card-title"),l.\u0275\u0275text(188,"Response"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(189,ze,2,1,"div",3),l.\u0275\u0275elementStart(190,"pre"),l.\u0275\u0275element(191,"code",41),l.\u0275\u0275elementEnd()()()),2&_e&&(l.\u0275\u0275advance(9),l.\u0275\u0275property("formControl",ut.sourceIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.sourceIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.targetIdentifierSystem),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ut.targetIdentifierValue," "),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.targetIdentifier2System),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ut.targetIdentifier2Value," "),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate1("targetId: ",ut.targetId,""),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inPixmProgress),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ut.targetId.length>0),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.patient),l.\u0275\u0275advance(10),l.\u0275\u0275property("formControl",ut.authenticate),l.\u0275\u0275advance(7),l.\u0275\u0275property("ngIf",ut.getScopes()),l.\u0275\u0275advance(9),l.\u0275\u0275property("dataSource",ut.dataSource),l.\u0275\u0275advance(17),l.\u0275\u0275property("matHeaderRowDef",l.\u0275\u0275pureFunction0(35,at)),l.\u0275\u0275advance(1),l.\u0275\u0275property("matRowDefColumns",l.\u0275\u0275pureFunction0(36,at)),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inMhdQueryProgress),l.\u0275\u0275advance(8),l.\u0275\u0275property("formControl",ut.serviceStartFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceStartTo),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceEndFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceEndTo),l.\u0275\u0275advance(6),l.\u0275\u0275property("ngIf",ut.canTransformToPdf()),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ut.documentDescription),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.documentType),l.\u0275\u0275advance(17),l.\u0275\u0275property("formControl",ut.documentConfidentiality),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ut.masterIdentifier),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.creationTime),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.languageCode),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.iheSourceId),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ut.replaceDocumentReference),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",ut.replaceUuids),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.errMsgAssignPatient),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inMhdUploadProgress),l.\u0275\u0275advance(14),l.\u0275\u0275property("ngIf",ut.errMsg),l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",ut.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,Ce.MatLegacyTable,Ce.MatLegacyHeaderCellDef,Ce.MatLegacyHeaderRowDef,Ce.MatLegacyColumnDef,Ce.MatLegacyCellDef,Ce.MatLegacyRowDef,Ce.MatLegacyHeaderCell,Ce.MatLegacyCell,Ce.MatLegacyHeaderRow,Ce.MatLegacyRow,Re.MatLegacyProgressSpinner,Ae.Highlight,de.UploadComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.display[_ngcontent-%COMP%]{display:inline-block;margin-bottom:10px}.column50[_ngcontent-%COMP%]{width:40%}"]}),et})()},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(h,u){if(1&h&&(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&h){const v=c.\u0275\u0275nextContext();c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(c.\u0275\u0275pipeBind1(4,1,v.patient))}}B.PatientDetailComponent=(()=>{class h{constructor(){}ngOnInit(){}}return h.\u0275fac=function(v){return new(v||h)},h.\u0275cmp=c.\u0275\u0275defineComponent({type:h,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]}),h})()},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),f=n.__importStar(a(5879)),h=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(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Family"),f.\u0275\u0275elementEnd())}function D(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientFamilyName(W))}}function S(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Given"),f.\u0275\u0275elementEnd())}function E(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientGivenNames(W))}}function I(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Birthdate"),f.\u0275\u0275elementEnd())}function X(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientBirthDate(W))}}function $(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Street"),f.\u0275\u0275elementEnd())}function ee(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientAddressLines(W))}}function ie(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"City"),f.\u0275\u0275elementEnd())}function A(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientAddressCity(W))}}function U(de,H){1&de&&f.\u0275\u0275element(0,"mat-header-row")}function Ce(de,H){if(1&de){const W=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-row",16),f.\u0275\u0275listener("click",function(){const Ee=f.\u0275\u0275restoreView(W).$implicit,Be=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Be.selectRow(Ee))}),f.\u0275\u0275elementEnd()}}const Re=function(){return["familyNameCol","givenNamesCol","birthDateCol","addressLinesCol","addressCityCol"]};B.PatientsComponent=(()=>{class de{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 de.\u0275fac=function(W){return new(W||de)(f.\u0275\u0275directiveInject(h.FhirConfigService))},de.\u0275cmp=f.\u0275\u0275defineComponent({type:de,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&&(f.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-form-field")(3,"mat-label"),f.\u0275\u0275text(4,"Name"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(5,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(6," \xa0 "),f.\u0275\u0275elementStart(7,"mat-form-field")(8,"mat-label"),f.\u0275\u0275text(9,"Family"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(10,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(11," \xa0 "),f.\u0275\u0275elementStart(12,"mat-form-field")(13,"mat-label"),f.\u0275\u0275text(14,"Given"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(15,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(16," \xa0 "),f.\u0275\u0275elementEnd()(),f.\u0275\u0275elementStart(17,"mat-card",2)(18,"mat-card-content")(19,"mat-table",3,4),f.\u0275\u0275elementContainerStart(21,5),f.\u0275\u0275template(22,x,2,0,"mat-header-cell",6),f.\u0275\u0275template(23,D,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(24,8),f.\u0275\u0275template(25,S,2,0,"mat-header-cell",6),f.\u0275\u0275template(26,E,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(27,9),f.\u0275\u0275template(28,I,2,0,"mat-header-cell",6),f.\u0275\u0275template(29,X,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(30,10),f.\u0275\u0275template(31,$,2,0,"mat-header-cell",6),f.\u0275\u0275template(32,ee,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(33,11),f.\u0275\u0275template(34,ie,2,0,"mat-header-cell",6),f.\u0275\u0275template(35,A,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275template(36,U,1,0,"mat-header-row",12),f.\u0275\u0275template(37,Ce,1,0,"mat-row",13),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(38,"mat-paginator",14),f.\u0275\u0275listener("page",function(Ee){return pe.goToPage(Ee)}),f.\u0275\u0275elementEnd()()(),f.\u0275\u0275element(39,"app-patient-detail",15)),2&W&&(f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchName),f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchFamily),f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchGiven),f.\u0275\u0275advance(4),f.\u0275\u0275property("dataSource",pe.dataSource),f.\u0275\u0275advance(17),f.\u0275\u0275property("matHeaderRowDef",f.\u0275\u0275pureFunction0(11,Re)),f.\u0275\u0275advance(1),f.\u0275\u0275property("matRowDefColumns",f.\u0275\u0275pureFunction0(12,Re)),f.\u0275\u0275advance(1),f.\u0275\u0275property("pageIndex",pe.pageIndex)("length",pe.length)("pageSize",pe.pageSize)("pageSizeOptions",pe.pageSizeOptions),f.\u0275\u0275advance(1),f.\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]}),de})()},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))),f=n.__importStar(a(7088)),h=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(f.FhirConfigService),r.\u0275\u0275directiveInject(h.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),f=a(9241),h=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),Ce=a(1438),Re=n.__importStar(a(5879)),Ae=[c.CommonModule,r.BrowserModule,g.BrowserAnimationsModule,d.FormsModule,d.ReactiveFormsModule,U.TranslateModule,f.MatLegacyAutocompleteModule,h.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,Ce.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,f.MatLegacyAutocompleteModule,h.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,Ce.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)),f=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,f.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(h=>console.log(h))},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(h){super(),this.tokenSource=h,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(h){}reset(){this.seek(0)}seek(h){this.lazyInit(),this.index=this.adjustSeekIndex(h)}get(h){return this.lazyInit(),this.tokens[h]}consume(){let h=!1;if(h=this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(u)>=u}fetch(h){if(this.fetchedEOF)return 0;for(let u=0;u=this.tokens.length&&(u=this.tokens.length-1);for(let p=h;p=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[u]}adjustSeekIndex(h){return h}lazyInit(){-1===this.index&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(h){this.tokenSource=h,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(h,u){if(this.sync(h),h>=this.tokens.length)return-1;let v=this.tokens[h];for(;v.channel!==this.channel;){if(v.type===n.EOF)return-1;this.sync(h+=1),v=this.tokens[h]}return h}previousTokenOnChannel(h,u){for(;h>=0&&this.tokens[h].channel!==u;)h-=1;return h}getHiddenTokensToRight(h,u){if(void 0===u&&(u=-1),this.lazyInit(),h<0||h>=this.tokens.length)throw h+" not in 0.."+this.tokens.length-1;const v=this.nextTokenOnChannel(h+1,c.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(h+1,-1===v?this.tokens.length-1:v,u)}getHiddenTokensToLeft(h,u){if(void 0===u&&(u=-1),this.lazyInit(),h<0||h>=this.tokens.length)throw h+" not in 0.."+this.tokens.length-1;const v=this.previousTokenOnChannel(h-1,c.DEFAULT_TOKEN_CHANNEL);return v===h-1?null:this.filterForChannel(v+1,h-1,u)}filterForChannel(h,u,v){const b=[];for(let p=h;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,f,h,u,v,b,p,_){const l=new n(r,f,u,v,b);return l.line=p,l.column=_,null!==h?l.text=h:this.copyText&&null!==r[1]&&(l.text=r[1].getText(v,b)),l}createThin(r,f){const h=new n(null,r);return h.text=f,h}}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,f){super(r),this.channel=void 0===f?n.DEFAULT_CHANNEL:f}adjustSeekIndex(r){return this.nextTokenOnChannel(r,this.channel)}LB(r){if(0===r||this.index-r<0)return null;let f=this.index,h=1;for(;h<=r;)f=this.previousTokenOnChannel(f-1,this.channel),h+=1;return f<0?null:this.tokens[f]}LT(r){if(this.lazyInit(),0===r)return null;if(r<0)return this.LB(-r);let f=this.index,h=1;for(;h{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 f=0;f=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 f="";for(let h=g;h<=r;h++)f+=String.fromCodePoint(this.data[h]);return f}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,f){this.start=r,this.stop=f}clone(){return new c(this.start,this.stop)}contains(r){return r>=this.start&&rthis.addInterval(f),this),this}reduce(r){if(r=h.stop?(this.intervals.splice(r+1,1),this.reduce(r)):f.stop>=h.start&&(this.intervals[r]=new c(f.start,h.stop),this.intervals.splice(r+1,1))}}complement(r,f){const h=new d;return h.addInterval(new c(r,f+1)),null!==this.intervals&&this.intervals.forEach(u=>h.removeRange(u)),h}contains(r){if(null===this.intervals)return!1;for(let f=0;fu.start&&r.stop=u.stop?(this.intervals.splice(f,1),f-=1):r.start":"'"+String.fromCharCode(h.start)+"'":"'"+String.fromCharCode(h.start)+"'..'"+String.fromCharCode(h.stop-1)+"'")}return r.length>1?"{"+r.join(", ")+"}":r[0]}toIndexString(){const r=[];for(let f=0;f":h.start.toString():h.start.toString()+".."+(h.stop-1).toString())}return r.length>1?"{"+r.join(", ")+"}":r[0]}toTokenString(r,f){const h=[];for(let u=0;u1?"{"+h.join(", ")+"}":h[0]}elementName(r,f,h){return h===n.EOF?"":h===n.EPSILON?"":r[h]||f[h]}get length(){return this.intervals.map(r=>r.length).reduce((r,f)=>r+f)}}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:f}=a(5516),{RuleTransition:h,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 h 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=h.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=h.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=h.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===h.SKIP){b=!0;break}if(this._type!==h.MORE)break}if(!b)return null===this._token&&this.emit(),this._token}}finally{this._input.release(v)}}skip(){this._type=h.SKIP}more(){this._type=h.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}}h.DEFAULT_MODE=0,h.MORE=-2,h.SKIP=-3,h.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,h.HIDDEN=n.HIDDEN_CHANNEL,h.MIN_CHAR_VALUE=0,h.MAX_CHAR_VALUE=1114111,Ie.exports=h},111:(Ie,B,a)=>{const{Token:n}=a(6205),{ParseTreeListener:c,TerminalNode:d,ErrorNode:g}=a(5829),r=a(9495),{DefaultErrorStrategy:f}=a(2487),h=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 f,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 h(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,f=c.ErrorNodeImpl,h=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 f&&(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 f(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 h 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 h&&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 h(I,X)}}class u extends h{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 h&&I instanceof h)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=h.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 de=new v([ie,ie],Re);return null!==$&&$.set(E,I,de),de}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 Ce=new v(U,A);return null!==$&&$.set(E,I,Ce),Ce}}(E,I,X,$);if(X){if(E instanceof u)return E;if(I instanceof u)return I}return E instanceof h&&(E=new v([E.getParent()],[E.returnState])),I instanceof h&&(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=[],Ce=[];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(h){"4.9.3"!==h&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+h)}addErrorListener(h){this._listeners.push(h)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const h=this.getLiteralNames(),u=this.getSymbolicNames(),v=h.length>u.length?h.length:u.length;this.tokenNames=[];for(let b=0;b";let u=h.text;return null===u&&(u=h.type===n.EOF?"":"<"+h.type+">"),u=u.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+u+"'"}getErrorListenerDispatch(){return new d(this._listeners)}sempred(h,u,v){return!0}precpred(h,u){return!0}get state(){return this._stateNumber}set state(h){this._stateNumber=h}}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(f,h){super(),this.parentCtx=f||null,this.invokingState=h||-1}depth(){let f=0,h=this;for(;null!==h;)h=h.parentCtx,f+=1;return f}isEmpty(){return-1===this.invokingState}getSourceInterval(){return c}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(f){return f.getText()}).join("")}getAltNumber(){return 0}setAltNumber(f){}getChild(f){return null}getChildCount(){return 0}accept(f){return f.visitChildren(this)}toStringTree(f,h){return d.toStringTree(this,f,h)}toString(f,h){f=f||null,h=h||null;let u=this,v="[";for(;null!==u&&u!==h;){if(null===f)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,f,h){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!==f?f:-1,this.stop=void 0!==h?h:-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(h,u){this.grammarType=h,this.maxTokenType=u,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(h,u){return new n(this).LOOK(h,null,u)}nextTokensNoContext(h){return null!==h.nextTokenWithinRule||(h.nextTokenWithinRule=this.nextTokensInContext(h,null),h.nextTokenWithinRule.readOnly=!0),h.nextTokenWithinRule}nextTokens(h,u){return void 0===u?this.nextTokensNoContext(h):this.nextTokensInContext(h,u)}addState(h){null!==h&&(h.atn=this,h.stateNumber=this.states.length),this.states.push(h)}removeState(h){this.states[h.stateNumber]=null}defineDecisionState(h){return this.decisionToState.push(h),h.decision=this.decisionToState.length-1,h.decision}getDecisionState(h){return 0===this.decisionToState.length?null:this.decisionToState[h]}getExpectedTokens(h,u){if(h<0||h>=this.states.length)throw"Invalid state number.";let b=this.nextTokens(this.states[h]);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(h,u){if(null===h){const v={state:null,alt:null,context:null,semanticContext:null};return u&&(v.reachesIntoOuterContext=0),v}{const v={};return v.state=h.state||null,v.alt=void 0===h.alt?null:h.alt,v.context=h.context||null,v.semanticContext=h.semanticContext||null,u&&(v.reachesIntoOuterContext=h.reachesIntoOuterContext||0,v.precedenceFilterSuppressed=h.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 f 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=f.prototype.hashCode,this.equalsForConfigSet=f.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 f&&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=f},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 f(v,b){return v===b||null!==v&&null!==b&&v.equalsForConfigSet(b)}class h{constructor(b){this.configLookup=new c.Set(r,f),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:f,BlockStartState:h,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:Ce,WildcardTransition:Re,PredicateTransition:Ae,PrecedencePredicateTransition:de}=a(6850),{IntervalSet:H}=a(9173),W=a(2905),{LexerActionType:pe,LexerSkipAction:we,LexerChannelAction:Ee,LexerCustomAction:Be,LexerMoreAction:G,LexerTypeAction:re,LexerPushModeAction:ae,LexerPopModeAction:ve,LexerModeAction:He}=a(201),Qe="59627784-3BE5-417A-B9EB-8131A7286089",Ge=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Qe],Ct=Qe;function Nt(Lt,Le){const lt=[];return lt[Lt-1]=Le,lt.map(function(ze){return Le})}const Tt=function Bt(){const Lt=[];for(let Le=0;Le<256;Le++)Lt[Le]=(Le+256).toString(16).substr(1).toUpperCase();return Lt}();Ie.exports=class _t{constructor(Le){null==Le&&(Le=W.defaultOptions),this.deserializationOptions=Le,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Le,lt){const ze=Ge.indexOf(Le);return!(ze<0)&&Ge.indexOf(lt)>=ze}deserialize(Le){this.reset(Le),this.checkVersion(),this.checkUUID();const lt=this.readATN();this.readStates(lt),this.readRules(lt),this.readModes(lt);const ze=[];return this.readSets(lt,ze,this.readInt.bind(this)),this.isFeatureSupported(Qe,this.uuid)&&this.readSets(lt,ze,this.readInt32.bind(this)),this.readEdges(lt,ze),this.readDecisions(lt),this.readLexerActions(lt),this.markPrecedenceDecisions(lt),this.verifyATN(lt),this.deserializationOptions.generateRuleBypassTransitions&<.grammarType===d.PARSER&&(this.generateRuleBypassTransitions(lt),this.verifyATN(lt)),lt}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(Ge.indexOf(Le)<0)throw Ct;this.uuid=Le}readATN(){const Le=this.readInt(),lt=this.readInt();return new c(Le,lt)}readStates(Le){let lt,ze,at;const N=[],oe=[],Y=this.readInt();for(let ce=0;ce0;)N.addTransition(K.transitions[ce-1]),K.transitions=K.transitions.slice(-1);Le.ruleToStartState[lt].addTransition(new Ce(N)),oe.addTransition(new Ce(ne));const Te=new r;Le.addState(Te),Te.addTransition(new X(oe,Le.ruleToTokenType[lt])),N.addTransition(new Ce(Te))}stateIsEndStateFor(Le,lt){if(Le.ruleIndex!==lt||!(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 lt=0;lt=0:ze.transitions.length<=1||ze instanceof p)}}checkCondition(Le,lt){if(!Le)throw null==lt&&(lt="IllegalState"),lt}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 lt=7;lt>=0;lt--){const ze=this.readInt();Le[2*lt+1]=255&ze,Le[2*lt]=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,lt,ze,at,N,oe,Y,ne){const K=Le.states[at];switch(lt){case I.EPSILON:return new Ce(K);case I.RANGE:return new A(K,0!==Y?n.EOF:N,oe);case I.RULE:return new ie(Le.states[N],oe,Y,K);case I.PREDICATE:return new Ae(K,N,oe,0!==Y);case I.PRECEDENCE:return new de(K,N);case I.ATOM:return new X(K,0!==Y?n.EOF:N);case I.ACTION:return new U(K,N,oe,0!==Y);case I.SET:return new $(K,ne[N]);case I.NOT_SET:return new ee(K,ne[N]);case I.WILDCARD:return new Re(K);default:throw"The specified transition type: "+lt+" is not valid."}}stateFactory(Le,lt){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=lt,ze}}lexerActionFactory(Le,lt,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)=>ve.INSTANCE,at[pe.PUSH_MODE]=(N,oe)=>new ae(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](lt,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(h,u){return this.atn=h,this.sharedContextCache=u,this}getCachedContext(h){if(null===this.sharedContextCache)return h;const u=new g;return d(h,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 h extends a{constructor(){return super(),this.stateType=a.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class f 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:f}=a(4280),{PredictionContext:h}=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 f;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 f 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 f&&this.mode===p.mode}toString(){return"mode("+this.mode+")"}}class h 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 h&&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:h,LexerIndexedCustomAction:v,LexerMoreAction:r,LexerTypeAction:c,LexerPushModeAction:d,LexerPopModeAction:g,LexerModeAction:f}},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 f=null;for(let h=0;h{const n=a(3340),{Set:c,BitSet:d,DoubleDict:g}=n,r=a(9800),{ATNState:f,RuleStopState:h}=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:Ce,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 ve=this.computeStartState(we.atnStartState,x.EMPTY,!1);we.precedenceDfa?(we.s0.configs=ve,ve=this.applyPrecedenceFilter(ve),G=this.addDFAState(we,new p(null,ve)),we.setPrecedenceStartState(this.parser.getPrecedence(),G)):(G=this.addDFAState(we,new p(null,ve)),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 ae=this.getExistingTargetState(G,re);if(null===ae&&(ae=this.computeTargetState(H,G,re)),ae===l.ERROR){const ve=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 ve}if(ae.requiresFullContext&&this.predictionMode!==y.SLL){let ve=null;if(null!==ae.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const Qe=pe.index;if(Qe!==we&&pe.seek(we),ve=this.evalSemanticContext(ae.predicates,Ee,!0),1===ve.length)return this.debug&&console.log("Full LL avoided"),ve.minValue();Qe!==we&&pe.seek(Qe)}this.dfa_debug&&console.log("ctx sensitive state "+Ee+" in "+ae);const Ze=this.computeStartState(H.atnStartState,Ee,!0);return this.reportAttemptingFullContext(H,ve,ae.configs,we,pe.index),Be=this.execATNWithFullContext(H,ae,Ze,pe,we,Ee),Be}if(ae.isAcceptState){if(null===ae.predicates)return ae.prediction;const ve=pe.index;pe.seek(we);const He=this.evalSemanticContext(ae.predicates,Ee,!0);if(0===He.length)throw this.noViableAlt(pe,Ee,ae.configs,we);return 1===He.length||this.reportAmbiguity(H,ae,we,ve,!1,He,ae.configs),He.minValue()}G=ae,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 ae,re=!1,ve=pe;we.seek(Ee);let He=we.LA(1),Ze=-1;for(;;){if(ae=this.computeReachSet(ve,He,!0),null===ae){const Ge=this.noViableAlt(we,Be,ve,Ee);we.seek(Ee);const tt=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(ve,Be);if(tt!==r.INVALID_ALT_NUMBER)return tt;throw Ge}const Qe=y.getConflictingAltSubsets(ae);if(this.debug&&console.log("LL altSubSets="+Qe+", predict="+y.getUniqueAlt(Qe)+", resolvesToJustOneViableAlt="+y.resolvesToJustOneViableAlt(Qe)),ae.uniqueAlt=this.getUniqueAlt(ae),ae.uniqueAlt!==r.INVALID_ALT_NUMBER){Ze=ae.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}ve=ae,He!==b.EOF&&(we.consume(),He=we.LA(1))}return ae.uniqueAlt!==r.INVALID_ALT_NUMBER?(this.reportContextSensitivity(H,Ze,ae,Ee,we.index),Ze):(this.reportAmbiguity(H,W,Ee,we.index,re,null,ae),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 h&&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 h){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!==f.STAR_LOOP_ENTRY||W.stateType!==f.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=Ce.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:f}=a(5516),{ATNConfigSet:h}=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 h;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 h(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 f 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 f&&this.precedence===b.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(b){const p=[];return b.values().map(function(_){_ instanceof f&&p.push(_)}),p}}class h extends g{constructor(b,p){super();const _=new n;b instanceof h?b.opnds.map(function(y){_.add(y)}):_.add(b),p instanceof h?p.opnds.map(function(y){_.add(y)}):_.add(p);const l=f.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=f.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:f,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 f 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 h 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:f}=a(7279);Ie.exports=class h{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 f(this).toString()}get states(){return this._states}}},7279:(Ie,B,a)=>{const n=a(3340);class c{constructor(r,f,h){this.dfa=r,this.literalNames=f||[],this.symbolicNames=h||[]}toString(){if(null===this.dfa.s0)return null;let r="";const f=this.dfa.sortedStates();for(let h=0;h"),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 f=(r.isAcceptState?":":"")+"s"+r.stateNumber+(r.requiresFullContext?"^":"");return r.isAcceptState?null!==r.predicates?f+"=>"+n.arrayToString(r.predicates):f+"=>"+r.prediction.toString():f}}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(h,u){return null===h&&(h=-1),null===u&&(u=new n),this.stateNumber=h,this.configs=u,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const h=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(f){super(),this.exactOnly=f=f||!0}reportAmbiguity(f,h,u,v,b,p,_){if(this.exactOnly&&!b)return;const l="reportAmbiguity d="+this.getDecisionDescription(f,h)+": ambigAlts="+this.getConflictingAlts(p,_)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(l)}reportAttemptingFullContext(f,h,u,v,b,p){const _="reportAttemptingFullContext d="+this.getDecisionDescription(f,h)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(_)}reportContextSensitivity(f,h,u,v,b,p){const _="reportContextSensitivity d="+this.getDecisionDescription(f,h)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(_)}getDecisionDescription(f,h){const u=h.decision,v=h.atnStartState.ruleIndex,b=f.ruleNames;if(v<0||v>=b.length)return""+u;const p=b[v]||null;return null===p||0===p.length?""+u:`${u} (${p})`}getConflictingAlts(f,h){if(null!==f)return f;const u=new n;for(let v=0;v{class B{syntaxError(d,g,r,f,h,u){}reportAmbiguity(d,g,r,f,h,u,v){}reportAttemptingFullContext(d,g,r,f,h,u){}reportContextSensitivity(d,g,r,f,h,u){}}class a extends B{constructor(){super()}syntaxError(d,g,r,f,h,u){console.error("line "+r+":"+f+" "+h)}}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,f,h,u){this.delegates.map(v=>v.syntaxError(d,g,r,f,h,u))}reportAmbiguity(d,g,r,f,h,u,v){this.delegates.map(b=>b.reportAmbiguity(d,g,r,f,h,u,v))}reportAttemptingFullContext(d,g,r,f,h,u){this.delegates.map(v=>v.reportAttemptingFullContext(d,g,r,f,h,u))}reportContextSensitivity(d,g,r,f,h,u){this.delegates.map(v=>v.reportContextSensitivity(d,g,r,f,h,u))}}}},2487:(Ie,B,a)=>{const{Token:n}=a(6205),{NoViableAltException:c,InputMismatchException:d,FailedPredicateException:g,ParseCancellationException:r}=a(5858),{ATNState:f}=a(5516),{Interval:h,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=f.INVALID_STATE_NUMBER);if(D.contains(n.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=l._ctx,this.nextTokensState=l._stateNumber);else switch(y.stateType){case f.BLOCK_START:case f.STAR_BLOCK_START:case f.PLUS_BLOCK_START:case f.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(l))return;throw new d(l);case f.PLUS_LOOP_BACK:case f.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 h(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 h(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,f,h=-1;const u=arguments.length;if(!u)return"";let v="";for(;++h1114111||a(b)!==b)throw RangeError("Invalid code point: "+b);b<=65535?g.push(b):(b-=65536,r=55296+(b>>10),f=b%1024+56320,g.push(r,f)),(h+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 f extends r{constructor(){super()}}class u extends f{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),f={toStringTree:function(h,u,v){u=u||null,null!==(v=v||null)&&(u=v.ruleNames);let b=f.getNodeText(h,u);b=n.escapeWhitespace(b,!1);const p=h.getChildCount();if(0===p)return b;let _="("+b+" ";p>0&&(b=f.toStringTree(h.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 f(A){return"string"!=typeof A&&(A=String(A)),A}function h(A){var U={next:function(){var Ce=A.shift();return{done:void 0===Ce,value:Ce}}};return n_iterable&&(U[Symbol.iterator]=function(){return U}),U}function u(A){this.map={},A instanceof u?A.forEach(function(U,Ce){this.append(Ce,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,Ce){A.onload=function(){U(A.result)},A.onerror=function(){Ce(A.error)}})}function p(A){var U=new FileReader,Ce=b(U);return U.readAsArrayBuffer(A),Ce}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,Ce=b(U);return U.readAsText(A),Ce}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function l(A){for(var U=new Uint8Array(A),Ce=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)&&Ce)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(Ce)}function I(A){var U=new FormData;return A.trim().split("&").forEach(function(Ce){if(Ce){var Re=Ce.split("="),Ae=Re.shift().replace(/\+/g," "),de=Re.join("=").replace(/\+/g," ");U.append(decodeURIComponent(Ae),decodeURIComponent(de))}}),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(":"),de=Ae.shift().trim();if(de){var H=Ae.join(":").trim();U.append(de,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,Ce){this.message=U,this.name=Ce;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(Ce,Re){var Ae=new E(A,U);if(Ae.signal&&Ae.signal.aborted)return Re(new a.DOMException("Aborted","AbortError"));var de=new XMLHttpRequest;function H(){de.abort()}de.onload=function(){var W={status:de.status,statusText:de.statusText,headers:X(de.getAllResponseHeaders()||"")};W.url="responseURL"in de?de.responseURL:W.headers.get("X-Request-URL"),Ce(new $("response"in de?de.response:de.responseText,W))},de.onerror=function(){Re(new TypeError("Network request failed"))},de.ontimeout=function(){Re(new TypeError("Network request failed"))},de.onabort=function(){Re(new a.DOMException("Aborted","AbortError"))},de.open(Ae.method,Ae.url,!0),"include"===Ae.credentials?de.withCredentials=!0:"omit"===Ae.credentials&&(de.withCredentials=!1),"responseType"in de&&n_blob&&(de.responseType="blob"),Ae.headers.forEach(function(W,pe){de.setRequestHeader(pe,W)}),Ae.signal&&(Ae.signal.addEventListener("abort",H),de.onreadystatechange=function(){4===de.readyState&&Ae.signal.removeEventListener("abort",H)}),de.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),f=Number(g);return r.setDate(r.getDate()+f),r}},6888:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var f=Number(r);return n(g,36e5*f)}},3895:(Ie,B,a)=>{var n=a(1420);Ie.exports=function c(d,g){var r=n(d).getTime(),f=Number(g);return new Date(r+f)}},3745:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var f=Number(r);return n(g,6e4*f)}},1277:(Ie,B,a)=>{var n=a(1420),c=a(7255);Ie.exports=function d(g,r){var f=n(g),h=Number(r),u=f.getMonth()+h,v=new Date(0);v.setFullYear(f.getFullYear(),u,1),v.setHours(0,0,0,0);var b=c(v);return f.setMonth(u,Math.min(b,f.getDate())),f}},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(),f=g.getMonth(),h=new Date(0);return h.setFullYear(r,f+1,0),h.setHours(0,0,0,0),h.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,f=/[T ]/,h=/:/,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(f);if(h.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 Ce(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),ve=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 ae=parseInt(we[2],10);return Ee.setUTCFullYear(pe,Be,ae),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(ve){var Qe,He=ve.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 de(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 Ge=He+Ze,tt=new Date(Ge);Qe=n(tt);var Ct=new Date(Ge);Ct.setDate(tt.getDate()+1);var Nt=n(Ct)-n(tt);Nt>0&&(Qe+=Nt)}return new Date(He+Ze+Qe)}return new Date(W)}},563:(Ie,B,a)=>{B.formatArgs=function c(h){if(h[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+h[0]+(this.useColors?"%c ":" ")+"+"+Ie.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;h.splice(1,0,u,"color: inherit");let v=0,b=0;h[0].replace(/%[a-zA-Z%]/g,p=>{"%%"!==p&&(v++,"%c"===p&&(b=v))}),h.splice(b,0,u)},B.save=function d(h){try{h?B.storage.setItem("debug",h):B.storage.removeItem("debug")}catch{}},B.load=function g(){let h;try{h=B.storage.getItem("debug")}catch{}return!h&&typeof process<"u"&&"env"in process&&(h=process.env.DEBUG),h},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 h=!1;return()=>{h||(h=!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:f}=Ie.exports;f.j=function(h){try{return JSON.stringify(h)}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 Ce=g.formatters[U];return"function"==typeof Ce&&(A=Ce.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 h(){const _=[...g.names.map(v),...g.skips.map(v).map(l=>"-"+l)].join(",");return g.enable(""),_},g.enable=function f(_){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,f){try{return[decodeURIComponent(r.join(""))]}catch{}if(1===r.length)return r;var h=r.slice(0,f=f||1),u=r.slice(f);return Array.prototype.concat.call([],c(h),c(u))}function d(r){try{return decodeURIComponent(r)}catch{for(var f=r.match(a)||[],h=1;h"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 f=Object.keys(d)[0];return void 0!==r.find(u=>u[f]===d[f])}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),f=a(7681),h=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 f(this),this.pagination=new h(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((Ce,Re)=>{function Ae(de){U.push(de)===$.numJobs&&Re(new Error(U.map(H=>H.message).join("; ")))}E.httpClient.request("GET",`${X}.well-known/smart-configuration`,ie.addSignalOption(I)).then(de=>($.safeAbortOthers(ie),Ce(g(de)))).catch(de=>Ae(de)),E.capabilityStatement(ee.addSignalOption(I)).then(de=>($.safeAbortOthers(ee),Ce(d(de)))).catch(de=>Ae(de)),E.httpClient.request("GET",`${X}.well-known/openid-configuration`,A.addSignalOption(I)).then(de=>($.safeAbortOthers(A),Ce(g(de)))).catch(de=>Ae(de))})})()}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 f=0,h=this.numJobs;f{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"},f="__response",h="__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[f]}static requestFor(D){return D[h]}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 Ce=yield ie.text();let Re={};if(Ce)try{Re=JSON.parse(Ce)}catch{throw Re=Ce,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,f,{writable:!1,enumerable:!1,value:ie}),Object.defineProperty(Re,h,{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 f(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 h(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:f,options:h={}}={}){var u=this;return n(function*(){return void 0===r?g.startsWith("http")?u.resolveAbsoluteReference(g,d(h,f)):u.client.httpClient.get(g,d(h,f)):g.startsWith("#")?u.resolveContainedReference(g,r):u.resolveBundleReference(g,r,d(h,f))})()}resolveAbsoluteReference(g,r){var f=this;return n(function*(){if(g.startsWith(f.client.baseUrl))return f.client.httpClient.get(g,r);const{baseUrl:h,resourceType:u,id:v}=c(g);return new(a(8907))({baseUrl:h}).read({resourceType:u,id:v,options:r})})()}resolveContainedReference(g,r){if(r.contained){const f=g.slice(1),h=r.contained.find(u=>u.id===f);if(h)return h}throw new Error(`Unable to resolve contained reference: ${g}`)}resolveBundleReference(g,r,f){var h=this;return n(function*(){const u=new RegExp(`(^|/)${g}$`),v=r.entry.find(b=>u.test(b.fullUrl));return v?v.resource:h.resolve({reference:g,options:f})})()}}},6686:(Ie,B,a)=>{const{logError:c}=a(1566);Ie.exports={authFromCapability:function d(r){const f={};try{return r.rest.forEach(h=>{h.security.extension.find(v=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===v.url).extension.forEach(v=>{switch(v.url){case"authorize":f.authorizeUrl=new URL(v.valueUri);break;case"token":f.tokenUrl=new URL(v.valueUri);break;case"register":f.registerUrl=new URL(v.valueUri);break;case"manage":f.manageUrl=new URL(v.valueUri)}})}),f}catch(h){return c(h),f}},authFromWellKnown:function g(r){const{authorization_endpoint:f,token_endpoint:h,registration_endpoint:u}=r;return{authorizeUrl:f&&new URL(f),tokenUrl:h&&new URL(h),registerUrl:u&&new URL(u)}}}},9047:(Ie,B,a)=>{const n=a(133),{fhirReferenceRegEx:c}=a(4115);Ie.exports={createQueryString:function r(f){if(f instanceof Object&&Object.keys(f).length>0)return n.stringify(f)},splitReference:function d(f){if(!f.match(c))throw new Error(`${f} is not a recognized FHIR reference`);let h,u=f;f.startsWith("http")&&([,h]=c.exec(f),u=f.slice(h.length),h.endsWith("/")&&(h=h.slice(0,-1)));const[v,b]=u.split("/");return{baseUrl:h,resourceType:v,id:b}},validResourceType:function g(f){return!f.startsWith("/")&&!f.includes(":")&&/\S/.test(f)}}},4258:(Ie,B,a)=>{let n={};const c=a(7353),d=a(5117),g=a(5827);n.aggregateMacro=function(r,f,h){return r.reduce((u,v,b)=>(this.$index=b,this.$total=f(v)),this.$total=h)},n.countFn=function(r){return r&&r.length?r.length:0},n.sumFn=function(r){return n.aggregateMacro.apply(this,[r,f=>c.plus(g.arraify(f),g.arraify(this.$total)),0])},n.minFn=function(r){return n.aggregateMacro.apply(this,[r,f=>{const h=g.arraify(f),u=g.arraify(this.$total);return g.isEmpty(u)||d.lt(h,u)?h:u}])},n.maxFn=function(r){return n.aggregateMacro.apply(this,[r,f=>{const h=g.arraify(f),u=g.arraify(this.$total);return g.isEmpty(u)||d.gt(h,u)?h: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 f=0;f1)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 f=[];const h=g.length;let u=r.length;if(h&&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[_]&&(f.push(p),v[_]=!1,u--)}}return f},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,f=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 f(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,f=Object.keys,h=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(h(y)||h(x))return p(y=h(y)?r.call(y):y,x=h(x)?r.call(x):x,D);try{var I=f(y),X=f(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,f=d.FP_DateTime;var h={};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?f:p.constructor,y=_.constructor===r?f:_.constructor;return l!==y&&n.raiseError('Type of "'+p+'" ('+l.name+') did not match type of "'+_+'" ('+y.name+")","InequalityExpression"),[p,_]}h.equal=function(p,_){return u(p,_)},h.unequal=function(p,_){var l=u(p,_);return void 0===l?void 0:!l},h.equival=function(p,_){return v(p,_)},h.unequival=function(p,_){return!v(p,_)},h.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},h.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},h.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=h},631:(Ie,B,a)=>{const n=a(5827),{whereMacro:c,distinctFn:d}=a(5073),g=a(6777),r=a(6190),f={};function h(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}f.emptyFn=n.isEmpty,f.notFn=function(u){let v=g.singleton(u,"Boolean");return"boolean"==typeof v?!v:[]},f.existsMacro=function(u,v){var b=u;return v?f.existsMacro(c(u,v)):!n.isEmpty(b)},f.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={},f=a(631),h=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 Ce=A.makeResNode;function Re(re,ae,ve,He){if("Expr"===ve)return function(Qe){return re.$this=d.arraify(Qe),r.doEval(re,re.$this,He)};if("AnyAtRoot"===ve)return re.$this=re.$this||re.dataRoot,r.doEval(re,re.$this,He);if("Identifier"===ve){if("TermExpression"===He.type)return He.text;throw new Error("Expected identifier node, got "+JSON.stringify(He))}if("TypeSpecifier"===ve)return r.TypeSpecifier(re,ae,He);re.$this=ae;const Ze=r.doEval(re,ae,He);if("Any"===ve)return Ze;if(Array.isArray(ve)){if(0===Ze.length)return[];ve=ve[0]}return b.singleton(Ze,ve)}function de(re){return null==re||d.isEmpty(re)}function H(re,ae,ve,He){var Ze=r.invocationTable[ae];if(Ze&&Ze.fn){var Qe=He?He.length:0;if(2!==Qe)throw new Error("Infix invoke should have arity 2");var Ge=Ze.arity[Qe];if(Ge){for(var tt=[],Ct=0;CtCt?.__path__?Ce(Ct,Ct?.__path__):Ct),Ge={context:Qe,ucum:"http://unitsofmeasure.org"};ve&&(ve=Object.keys(ve).reduce((Ct,Nt)=>(Ct[Nt]=Array.isArray(ve[Nt])?ve[Nt].map(_t=>_t?.__path__?Ce(_t,_t.__path__):_t):ve[Nt]?.__path__?Ce(ve[Nt],ve[Nt].__path__):ve[Nt],Ct),{}));let tt={dataRoot:Qe,vars:Object.assign(Ge,ve),model:He};return Ze&&Ze.traceFn&&(tt.customTraceFn=Ze.traceFn),r.doEval(tt,Qe,ae.children[0]).map(Ct=>{let Nt=Ct instanceof A?Ct.path:null;return(Ct=d.valData(Ct))instanceof ie&&Ze.resolveInternalTypes&&(Ct=Ct.toString()),Nt&&"object"==typeof Ct&&Object.defineProperty(Ct,"__path__",{value:Nt}),Ct})}function Be(re,ae,ve){if(ve={resolveInternalTypes:!0,...ve},"object"==typeof re){const He=W(re.expression);return function(Ze,Qe){const Ge=re.base?Ce(Ze,re.base):Ze;return U.model=ae,pe(Ge,He,Qe,ae,ve)}}{const He=W(re);return function(Ze,Qe){return U.model=ae,pe(Ze,He,Qe,ae,ve)}}}r.invocationTable={empty:{fn:f.emptyFn},not:{fn:f.notFn},exists:{fn:f.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:f.allMacro,arity:{1:["Expr"]}},allTrue:{fn:f.allTrueFn},anyTrue:{fn:f.anyTrueFn},allFalse:{fn:f.allFalseFn},anyFalse:{fn:f.anyFalseFn},subsetOf:{fn:f.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:f.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:f.isDistinctFn},distinct:{fn:h.distinctFn},count:{fn:u.countFn},where:{fn:h.whereMacro,arity:{1:["Expr"]}},extension:{fn:h.extension,arity:{1:["String"]}},select:{fn:h.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:h.singleFn},first:{fn:h.firstFn},last:{fn:h.lastFn},type:{fn:E.typeFn,arity:{0:[]}},ofType:{fn:h.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:E.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:E.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:h.tailFn},take:{fn:h.takeFn,arity:{1:["Integer"]}},skip:{fn:h.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:h.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,ae,ve){return ve.children.reduce(function(He,Ze){return r.doEval(re,He,Ze)},ae)},r.TermExpression=function(re,ae,ve){return ae&&(ae=ae.map(He=>He instanceof Object&&He.resourceType?Ce(He,He.resourceType):He)),r.doEval(re,ae,ve.children[0])},r.PolarityExpression=function(re,ae,ve){var He=ve.terminalNodeText[0],Ze=r.doEval(re,ae,ve.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,ae,ve){let He,Ze;const Qe=ve.text.split(".").map(Ge=>Ge.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(ve))}return new U({namespace:He,name:Ze})},r.ExternalConstantTerm=function(re,ae,ve){var Qe=r.Identifier(re,ae,ve.children[0].children[0])[0],Ge=re.vars[Qe];if(!(Qe in re.vars))throw new Error("Attempting to access an undefined environment variable: "+Qe);return null==Ge?[]:Ge instanceof Array?Ge:[Ge]},r.LiteralTerm=function(re,ae,ve){var He=ve.children[0];return He?r.doEval(re,ae,He):[ve.text]},r.StringLiteral=function(re,ae,ve){var He=ve.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,ae,ve){return"true"===ve.text?[!0]:[!1]},r.QuantityLiteral=function(re,ae,ve){var He=ve.children[0],Ze=Number(He.terminalNodeText[0]),Qe=He.children[0],Ge=Qe.terminalNodeText[0];return!Ge&&Qe.children&&(Ge=Qe.children[0].terminalNodeText[0]),[new ee(Ze,Ge)]},r.DateTimeLiteral=function(re,ae,ve){var He=ve.text.slice(1);return[new X(He)]},r.TimeLiteral=function(re,ae,ve){var He=ve.text.slice(1);return[new $(He)]},r.NumberLiteral=function(re,ae,ve){return[Number(ve.text)]},r.Identifier=function(re,ae,ve){return[ve.text.replace(/(^`|`$)/g,"")]},r.InvocationTerm=function(re,ae,ve){return r.doEval(re,ae,ve.children[0])},r.MemberInvocation=function(re,ae,ve){const He=r.doEval(re,ae,ve.children[0])[0],Ze=re.model;if(ae){if(d.isCapitalized(He))return ae.filter(Qe=>Qe instanceof A&&Qe.path===He);{const Qe=ae.path||ae.__path__;return ae.reduce(function(Ge,tt){var Ct=(tt=Ce(tt,Qe)).path+"."+He;if(Ze){let Tt=Ze.pathsDefinedElsewhere[Ct];Tt&&(Ct=Tt)}let Nt,_t,Bt=Ze&&Ze.choiceTypePaths[Ct];if(Bt)for(let Tt of Bt){let Lt=He+Tt;if(Nt=tt.data?.[Lt],_t=tt.data?.["_"+Lt],void 0!==Nt||void 0!==_t){Ct+=Tt;break}}else Nt=tt.data?.[He],_t=tt.data?.["_"+He],void 0===Nt&&void 0===_t&&(Nt=tt._data[He]),"extension"===He&&(Ct="Extension");return Ct=Ze&&Ze.path2Type[Ct]||Ct,(d.isSome(Nt)||d.isSome(_t))&&(Array.isArray(Nt)?Ge=Ge.concat(Nt.map((Tt,Lt)=>Ce(Tt,Ct,_t&&_t[Lt]))):Ge.push(Ce(Nt,Ct,_t))),Ge},[])}}return[]},r.IndexerExpression=function(re,ae,ve){const Ze=ve.children[1];var Qe=r.doEval(re,ae,ve.children[0]),Ge=r.doEval(re,ae,Ze);if(d.isEmpty(Ge))return[];var tt=parseInt(Ge[0]);return Qe&&d.isSome(tt)&&Qe.length>tt&&tt>=0?[Qe[tt]]:[]},r.Functn=function(re,ae,ve){return ve.children.map(function(He){return r.doEval(re,ae,He)})},r.realizeParams=function(re,ae,ve){return ve&&ve[0]&&ve[0].children?ve[0].children.map(function(He){return r.doEval(re,ae,He)}):[]},r.FunctionInvocation=function(re,ae,ve){var He=r.doEval(re,ae,ve.children[0]);const Ze=He[0];return He.shift(),function Ae(re,ae,ve,He){var Qe,Ze=r.invocationTable[ae];if(Ze){if(Ze.arity){var Ge=He?He.length:0,tt=Ze.arity[Ge];if(tt){for(var Ct=[],Nt=0;Nt{const ve=U.fromValue(ae?.__path__?new A(ae,ae.__path__):ae);return`${ve.namespace}.${ve.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(f,h){return!1===f||f?n.flatten(f.filter((u,v)=>(this.$index=v,h(u)[0]))):[]},extension:function(f,h){return!1!==f&&!f||!h?[]:n.flatten(f.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===h).map(p=>d.makeResNode(p,"Extension")):[]}))},selectMacro:function(f,h){return!1===f||f?n.flatten(f.map((u,v)=>(this.$index=v,h(u)))):[]},repeatMacro:function(f,h){if(!1!==f&&!f)return[];let u=[];const v={},b=f.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(h))},distinctFn:function(f){let h=[];if(f.length>0){let u={};for(let v=0,b=f.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 h(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(h):Object.keys(u).sort().reduce((v,b)=>(v[b]=h(u[b]),v),{}):u}Ie.exports=function f(u){return JSON.stringify(h(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 f(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 h(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(h(u))return[];{let v=f(u);return Math.abs(v)}},r.ceiling=function(u){if(h(u))return[];{let v=f(u);return Math.ceil(v)}},r.exp=function(u){if(h(u))return[];{let v=f(u);return Math.exp(v)}},r.floor=function(u){if(h(u))return[];{let v=f(u);return Math.floor(v)}},r.ln=function(u){if(h(u))return[];{let v=f(u);return Math.log(v)}},r.log=function(u,v){if(h(u)||h(v))return[];{let b=f(u),p=f(v);return Math.log(b)/Math.log(p)}},r.power=function(u,v){if(h(u)||h(v))return[];{let b=f(u),p=f(v);return b<0&&Math.floor(p)!=p?[]:Math.pow(b,p)}},r.round=function(u,v){if(h(u))return[];{let b=f(u);if(h(v))return Math.round(b);{let p=f(v),_=Math.pow(10,p);return Math.round(b*_)/_}}},r.sqrt=function(u){if(h(u))return[];{let v=f(u);return v<0?[]:Math.sqrt(v)}},r.truncate=function(u){if(h(u))return[];{let v=f(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 f=/^((\+|-)?\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=f.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 f=this.model;return r.reduce(function(h,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(f){let l=f.pathsDefinedElsewhere[_];l&&(_=l)}Array.isArray(p)?h.push.apply(h,p.map(l=>d(l,_))):h.push(d(p,_))}return h}return h},[])},descendants:function(r){for(var f=g.children.call(this,r),h=[];f.length>0;)h.push.apply(h,f),f=g.children.call(this,f);return h}};Ie.exports=g},4192:Ie=>{let B={};function a(g){const f=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +g);if(!f)return 0;const h=f[2];return Math.max(0,("0"===h?0:(h||"").length)-(f[3]||0))}function n(g,r){const f=Math.pow(10,r);return Math.round(g*f)/f}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 f=Math.min(a(g),a(r));return 0===f?Math.round(g)===Math.round(r):n(g,f)===n(r,f)},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((h,u)=>new c.dfa.DFA(h,u));class f extends c.Lexer{constructor(u){super(u),this._interp=new c.atn.LexerATNSimulator(this,g,r,new c.PredictionContextCache)}get atn(){return g}}n(f,"grammarFileName","FHIRPath.g4"),n(f,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),n(f,"modeNames",["DEFAULT_MODE"]),n(f,"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(f,"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(f,"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"]),f.EOF=c.Token.EOF,f.T__0=1,f.T__1=2,f.T__2=3,f.T__3=4,f.T__4=5,f.T__5=6,f.T__6=7,f.T__7=8,f.T__8=9,f.T__9=10,f.T__10=11,f.T__11=12,f.T__12=13,f.T__13=14,f.T__14=15,f.T__15=16,f.T__16=17,f.T__17=18,f.T__18=19,f.T__19=20,f.T__20=21,f.T__21=22,f.T__22=23,f.T__23=24,f.T__24=25,f.T__25=26,f.T__26=27,f.T__27=28,f.T__28=29,f.T__29=30,f.T__30=31,f.T__31=32,f.T__32=33,f.T__33=34,f.T__34=35,f.T__35=36,f.T__36=37,f.T__37=38,f.T__38=39,f.T__39=40,f.T__40=41,f.T__41=42,f.T__42=43,f.T__43=44,f.T__44=45,f.T__45=46,f.T__46=47,f.T__47=48,f.T__48=49,f.T__49=50,f.T__50=51,f.T__51=52,f.T__52=53,f.T__53=54,f.DATETIME=55,f.TIME=56,f.IDENTIFIER=57,f.DELIMITEDIDENTIFIER=58,f.STRING=59,f.NUMBER=60,f.WS=61,f.COMMENT=62,f.LINE_COMMENT=63,Ie.exports=f},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),f=r.decisionToState.map((at,N)=>new c.dfa.DFA(at,N)),h=new c.PredictionContextCache;class u extends c.Parser{constructor(N){super(N),this._interp=new c.atn.ParserATNSimulator(this,r,f,h),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),K=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,K=ne,this.state=34,this.term();break;case u.T__3:case u.T__4:ne=new _(this,ne),this._ctx=ne,K=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 et=this._interp.adaptivePredict(this._input,2,this._ctx);2!=et&&et!=c.atn.ATN.INVALID_ALT_NUMBER;){if(1===et)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),K=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(ve,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 Ce extends U{constructor(N,oe){super(N),super.copyFrom(oe)}externalConstant(){return this.getTypedRuleContext(ae,0)}enterRule(N){N instanceof d&&N.enterExternalConstantTerm(this)}exitRule(N){N instanceof d&&N.exitExternalConstantTerm(this)}}u.ExternalConstantTermContext=Ce;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 de extends U{constructor(N,oe){super(N),super.copyFrom(oe)}invocation(){return this.getTypedRuleContext(ve,0)}enterRule(N){N instanceof d&&N.enterInvocationTerm(this)}exitRule(N){N instanceof d&&N.exitInvocationTerm(this)}}u.InvocationTermContext=de;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(_t,0)}enterRule(N){N instanceof d&&N.enterQuantityLiteral(this)}exitRule(N){N instanceof d&&N.exitQuantityLiteral(this)}}u.QuantityLiteralContext=re;class ae 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 ve 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 ve{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 ve{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 ve{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 Ge extends ve{constructor(N,oe){super(N),super.copyFrom(oe)}functn(){return this.getTypedRuleContext(Ct,0)}enterRule(N){N instanceof d&&N.enterFunctionInvocation(this)}exitRule(N){N instanceof d&&N.exitFunctionInvocation(this)}}u.FunctionInvocationContext=Ge;class tt extends ve{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 Ct 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(Nt,0)}enterRule(N){N instanceof d&&N.enterFunctn(this)}exitRule(N){N instanceof d&&N.exitFunctn(this)}}class Nt 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 _t 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(Lt,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 Lt 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(lt,0)}enterRule(N){N instanceof d&&N.enterTypeSpecifier(this)}exitRule(N){N instanceof d&&N.exitTypeSpecifier(this)}}class lt 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=ae,u.InvocationContext=ve,u.FunctnContext=Ct,u.ParamListContext=Nt,u.QuantityContext=_t,u.UnitContext=Bt,u.DateTimePrecisionContext=Tt,u.PluralDateTimePrecisionContext=Lt,u.TypeSpecifierContext=Le,u.QualifiedIdentifierContext=lt,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(h){var u=new n.InputStream(h),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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.indexOf(u)},d.substring=function(h,u,v){const b=c.singleton(h,"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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.startsWith(u)},d.endsWith=function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.endsWith(u)},d.containsFn=function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.includes(u)},d.upper=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.toUpperCase()},d.lower=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.toLowerCase()},d.joinFn=function(h,u){return void 0===u&&(u=""),h.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(h,u){const v=c.singleton(h,"String");return n.isEmpty(v)?[]:v.split(u)},d.trimFn=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.trim()},d.encodeFn=function(h,u){const v=c.singleton(h,"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(h,u){const v=c.singleton(h,"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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(u,"s").test(v)}:function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(function r(h){return g[h]||(g[h]=h.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[h]}(u)).test(v)},d.replace=function(h,u,v){const b=c.singleton(h,"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(h,u,v){const b=c.singleton(h,"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(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.length},d.toChars=function(h){const u=c.singleton(h,"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 f="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",h=new RegExp("^T?"+f+"$"),u=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+f+")?)?)?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 Ce=p.toUcumQuantity(this.value,this.unit),Re=p.toUcumQuantity(A.value,A.unit),Ae=d.convertUnitTo(Re.unit,Re.value,Ce.unit);return"succeeded"===Ae.status&&g.isEqual(Ce.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),Ce=p.getEquivalentUcumUnitCode(A.unit),Re=d.convertUnitTo(Ce,A.value,U);return"succeeded"===Re.status&&g.isEquivalent(this.value,Re.toVal)}_compareYearsAndMonths(A){const U=p._yearMonthConversionFactor[this.unit],Ce=p._yearMonthConversionFactor[A.unit];return U&&Ce?{isEqual:g.isEqual(this.value*U,A.value*Ce)}: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 Ce=p._yearMonthConversionFactor[ie],Re=p._yearMonthConversionFactor[U];if(Ce&&Re)return new p(Ce*A/Re,U);const Ae=p._calendarDuration2Seconds[ie],de=p._calendarDuration2Seconds[U];if(de){if(Ae)return new p(Ae*A/de,U);{const H=d.convertUnitTo(ie.replace(/^'|'$/g,""),A,"s");if("succeeded"===H.status)return new p(H.toVal/de,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 Ce=p.arithmeticDurationUnits[A.unit];if(!Ce)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[Ce];if(void 0===Ae)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(Re._timeUnitToDatePrecision).join(", ")+".");let de=A.value;const H=Re===x;if((H?Ae<2:Ae<5)&&(de=Math.trunc(de)),this._getPrecision()2?new y(de)._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(),Ce=A._getPrecision(),Re=U<=Ce?this._getDateObj().getTime():this._dateAtPrecision(Ce).getTime(),Ae=Ce<=U?A._getDateObj().getTime():A._dateAtPrecision(U).getTime();return U!==Ce&&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 Ce=U;Ce>=0&&void 0===this.precision;--Ce)this.timeMatchData[Ce]&&(this.precision=Ce);return this.timeMatchData}_getTimeParts(A){var U=[];U=[A[0]];var Ce=A[4];if(Ce){let H=U[0];U[0]=H.slice(0,H.length-Ce.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 de=A[3];de&&(U[2]=Ae.slice(0,Ae.length-de.length),U[3]=de)}}return U}_getDateObj(){if(!this.dateObj){var A=this._getPrecision();this.dateObj=this._dateAtPrecision(A)}return this.dateObj}_createDate(A,U,Ce,Re,Ae,de,H,W){var pe=new Date(A,U,Ce,Re,Ae,de,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 Ce=this._getMatchData(),Re=Ce[0];this.timeParts=[Re];var U=Ce[1];if(U){this.timeParts[0]=Re.slice(0,Re.length-U.length),this.timeParts[1]=U;let Ae=Ce[2];if(Ae){this.timeParts[1]=U.slice(0,U.length-Ae.length),this.timeParts[2]=Ae;let de=Ce[3];de&&(this.timeParts[2]=Ae.slice(0,Ae.length-de.length),"T"===de[0]&&(Ce[3]=de.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(Ce.slice(3))))}}}return this.timeParts}_dateAtPrecision(U){var Ce=this._getTimeParts(),Re=this._getMatchData()[7],Ae=this._getPrecision(),de=parseInt(Ce[0]),H=Ae>0?parseInt(Ce[1].slice(1))-1:0,W=Ae>1?parseInt(Ce[2].slice(1)):1,pe=Ae>2?parseInt(Ce[3]):0,we=Ae>3?parseInt(Ce[4].slice(1)):0,Ee=Ae>4?parseInt(Ce[5].slice(1)):0,Be=Ce.length>6?parseInt(Ce[6].slice(1)):0,G=this._createDate(de,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(de,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 Ce=this._getTimeParts(),Re=this._getMatchData()[4],Ae=this._getPrecision(),pe=parseInt(Ce[0]),we=Ae>0?parseInt(Ce[1].slice(1)):0,Ee=Ae>1?parseInt(Ce[2].slice(1)):0,Be=Ce.length>3?parseInt(Ce[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(h,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 Ce=ie.getTimezoneOffset(),Re=Ce<0?"+":"-",Ae=(Ce=Math.abs(Ce))%60;U+=Re+D((Ce-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,Ce,Re){U?.resourceType&&(Ce=U.resourceType),this.path=Ce,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,Ce){return A instanceof ie?A:new ie(A,U,Ce)},ie})(),I=(()=>{class ie{constructor({name:U,namespace:Ce}){this.name=U,this.namespace=Ce}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 Ce=typeof U;return Number.isInteger(U)?Ce="integer":"number"===Ce?Ce="decimal":U instanceof S?Ce="date":U instanceof y?Ce="dateTime":U instanceof x?Ce="time":U instanceof p&&(Ce="Quantity"),A===ie.System&&(Ce=Ce.replace(/^\w/,Re=>Re.toUpperCase())),new ie({namespace:A,name:Ce})},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:h,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,f){let h=this.valData(g);if(r.indexOf(typeof h)<0){let u=r.length>1?"one of "+r.join(", "):r[0];n.raiseError("Found type '"+typeof g+"' but was expecting "+u,f)}return h},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,f){return Array.isArray(f)?r=r.concat(f):r.push(f),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(f,h){return g[0]===h?"[Circular ~]":"[Circular ~."+r.slice(0,g.indexOf(h)).join(".")+"]"}),function(f,h){if(g.length>0){var u=g.indexOf(this);~u?g.splice(u+1):g.push(this),~u?r.splice(u,1/0,f):r.push(f),~g.indexOf(h)&&(h=d.call(this,f,h))}else g.push(h);return null==c?h:c.call(this,f,h)}}(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 h(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 f(u){return h(u,c,"day")||h(u,n,"hour")||h(u,a,"minute")||h(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),f=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(Ce=>p(Ce,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 h(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,[f]:!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[f]?b(E.fragmentIdentifier,I):E.fragmentIdentifier}`),`${X}${A}${U}`},B.pick=(E,I,X)=>{X=Object.assign({parseFragmentIdentifier:!0,[f]:!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:f}=this;if(g)throw r;return this._throwIfClosed(),f}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),f=a(4674),h=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,f.m)(_.next)&&(0,f.m)(_.error)&&(0,f.m)(_.complete)}(_)&&(0,c.Nn)(_)}(y)?y:new n.Hp(y,x,D);return(0,h.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,f=1/0,h=c.l){super(),this._bufferSize=r,this._windowTime=f,this._timestampProvider=h,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=f===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,f)}next(r){const{isStopped:f,_buffer:h,_infiniteTimeWindow:u,_timestampProvider:v,_windowTime:b}=this;f||(h.push(r),!u&&h.push(v.now()+b)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const f=this._innerSubscribe(r),{_infiniteTimeWindow:h,_buffer:u}=this,v=u.slice();for(let b=0;b{"use strict";a.d(B,{x:()=>h});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),f=a(1441);let h=(()=>{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,f.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const _ of this.currentObservers)_.next(p)}})}error(p){(0,f.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:_}=this;for(;_.length;)_.shift().error(p)}})}complete(){(0,f.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 h{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 f=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 h($){return v("E",void 0,$)}(ee),this):(this.isStopped=!0,this._error(ee))}complete(){this.isStopped?I(f,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 Ce;this&&d.config.useDeprecatedNextContext?(Ce=Object.create(ee),Ce.unsubscribe=()=>this.unsubscribe(),U={next:ee.next&&y(ee.next,Ce),error:ee.error&&y(ee.error,Ce),complete:ee.complete&&y(ee.complete,Ce)}):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:()=>f,w0:()=>r,Nn:()=>h});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 f=r.EMPTY;function h(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:()=>f});var n=a(5592),c=a(7394),d=a(6196),g=a(8251),r=a(9360);class f 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),f=a(9940),h=a(2714),u=a(8251),v=a(7103);function b(...l){const y=(0,f.yG)(l),x=(0,f.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,h.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),f=a(7400),h=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,h.n)(_,D):D),y.complete())}))}});return b?l.pipe((0,f.Z)(b)):l}},2459:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>ee});var n=a(4829),c=a(3093),d=a(5137),f=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 f.y(U=>{(0,b.f)(U,A,()=>{const Ce=ie[Symbol.asyncIterator]();(0,b.f)(U,A,()=>{Ce.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 h(ie,A){return new f.y(U=>{let Ce=0;return A.schedule(function(){Ce===ie.length?U.complete():(U.next(ie[Ce++]),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 f.y(U=>{let Ce;return(0,b.f)(U,A,()=>{Ce=ie[u.h](),(0,b.f)(U,A,()=>{let Re,Ae;try{({value:Re,done:Ae}=Ce.next())}catch(de){return void U.error(de)}Ae?U.complete():U.next(Re)},0,!0)}),()=>(0,v.m)(Ce?.return)&&Ce.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),f=a(7400);const h=["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,f.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)?h.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),f=a(5726),h=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,f.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,h.z)($)}function E($){return new g.y(ee=>{(function X($,ee){var ie,A,U,Ce;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&&(Ce=ie.return)&&(yield Ce.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:()=>f});var n=a(7537),c=a(4829),d=a(6232),g=a(9940),r=a(2459);function f(...h){const u=(0,g.yG)(h),v=(0,g._6)(h,1/0),b=h;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:()=>f,S:()=>r});var n=a(5592),c=a(4829),d=a(7728),g=a(8251);function r(...h){return 1===(h=(0,d.k)(h)).length?(0,c.Xf)(h[0]):new n.y(f(h))}function f(h){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 f=(0,c.m)(g)?g:()=>g,h=u=>u.error(f());return new n.y(r?u=>r.schedule(h,0,u):h)}},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(f=0,h,u=c.P){let v=-1;return null!=h&&((0,d.K)(h)?u=h:v=h),new n.y(b=>{let p=(0,g.q)(f)?+f-u.now():f;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,{$:()=>h});var n=a(5592),c=a(4829),d=a(7728),g=a(6232),r=a(8251),f=a(9940);function h(...u){const v=(0,f.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,f,h,u){return new d(g,r,f,h,u)}class d extends n.Lv{constructor(r,f,h,u,v,b){super(r),this.onFinalize=v,this.shouldUnsubscribe=b,this._next=f?function(p){try{f(p)}catch(_){r.error(_)}}:super._next,this._error=u?function(p){try{u(p)}catch(_){r.error(_)}finally{this.unsubscribe()}}:super._error,this._complete=h?function(){try{h()}catch(p){r.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:f}=this;super.unsubscribe(),!f&&(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)((f,h)=>{let u=!1,v=null,b=null,p=!1;const _=()=>{if(b?.unsubscribe(),b=null,u){u=!1;const y=v;v=null,h.next(y)}p&&h.complete()},l=()=>{b=null,p&&h.complete()};f.subscribe((0,d.x)(h,y=>{u=!0,v=y,b||(0,c.Xf)(r(y)).subscribe(b=(0,d.x)(h,_,l))},()=>{p=!0,(!u||!b||b.closed)&&h.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,f=n.z){return(0,c.U)(()=>(0,d.H)(r,f))}},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)((f,h)=>{let b,u=null,v=!1;u=f.subscribe((0,c.x)(h,void 0,void 0,p=>{b=(0,n.Xf)(r(p,g(r)(f))),u?(u.unsubscribe(),u=null,b.subscribe(h)):v=!0})),v&&(u.unsubscribe(),u=null,b.subscribe(h))})}},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,f=n.z){return(0,c.e)((h,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=f.now();if(x{b=y,p=f.now(),v||(v=f.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,f)=>{let h=!1;r.subscribe((0,c.x)(f,u=>{h=!0,f.next(u)},()=>{h||f.next(g),f.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,f=n.z){const h=(0,d.H)(r,f);return(0,c.j)(()=>h)}},4610:(Ie,B,a)=>{"use strict";a.d(B,{j:()=>h});var n=a(34),c=a(8180),d=a(7538),g=a(975),r=a(9769),f=a(4829);function h(u,v){return v?b=>(0,n.z)(v.pipe((0,c.q)(1),(0,d.l)()),b.pipe(h(u))):(0,r.z)((b,p)=>(0,f.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(f,h=n.y){return f=f??r,(0,c.e)((u,v)=>{let b,p=!0;u.subscribe((0,d.x)(v,_=>{const l=h(_);(p||!f(b,l))&&(p=!1,b=l,v.next(_))}))})}function r(f,h){return f===h}},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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>g.call(r,v,u++)&&h.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:()=>h});var n=a(6973),c=a(2181),d=a(8180),g=a(3572),r=a(3026),f=a(2737);function h(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):f.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,f)=>{r.subscribe((0,c.x)(f,d.Z))})}},2032:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>h});var n=a(6973),c=a(2181),d=a(4418),g=a(3026),r=a(3572),f=a(2737);function h(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):f.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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>{h.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,f,h,u,v,b,p,_){const l=[];let y=0,x=0,D=!1;const S=()=>{D&&!l.length&&!y&&f.complete()},E=X=>y{b&&f.next(X),y++;let $=!1;(0,n.Xf)(h(X,x++)).subscribe((0,d.x)(f,ee=>{v?.(ee),b?E(ee):f.next(ee)},()=>{$=!0},void 0,()=>{if($)try{for(y--;l.length&&yI(ee)):I(ee)}S()}catch(ee){f.error(ee)}}))};return r.subscribe((0,d.x)(f,E,()=>{D=!0,S()})),()=>{_?.()}}},9769:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>f});var n=a(7398),c=a(4829),d=a(9360),g=a(564),r=a(4674);function f(h,u,v=1/0){return(0,r.m)(u)?f((b,p)=>(0,n.U)((_,l)=>u(b,_,p,l))((0,c.Xf)(h(b,p))),v):("number"==typeof u&&(v=u),(0,d.e)((b,p)=>(0,g.p)(b,p,h,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,f=0){return(0,c.e)((h,u)=>{h.subscribe((0,d.x)(u,v=>(0,n.f)(u,r,()=>u.next(v),f),()=>(0,n.f)(u,r,()=>u.complete(),f),v=>(0,n.f)(u,r,()=>u.error(v),f)))})}},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 f=null;g._refCount++;const h=(0,c.x)(r,void 0,void 0,void 0,()=>{if(!g||g._refCount<=0||0<--g._refCount)return void(f=null);const u=g._connection,v=f;f=null,u&&(!v||u===v)&&u.unsubscribe(),r.unsubscribe()});g.subscribe(h),h.closed||(f=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,f,h){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),f&&v.next(p)},h&&(()=>{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(h={}){const{connector:u=(()=>new c.x),resetOnError:v=!0,resetOnComplete:b=!0,resetOnRefCountZero:p=!0}=h;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=f($,p))}),A.subscribe(ie),!l&&D>0&&(l=new d.Hp({next:U=>A.next(U),error:U=>{E=!0,I(),y=f(X,v,U),A.error(U)},complete:()=>{S=!0,I(),y=f(X,b),A.complete()}}),(0,n.Xf)(ee).subscribe(l))})(_)}}function f(h,u,...v){if(!0===u)return void h();if(!1===u)return;const b=new d.Hp({next:()=>{b.unsubscribe(),h()}});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,f){let h,u=!1;return g&&"object"==typeof g?({bufferSize:h=1/0,windowTime:r=1/0,refCount:u=!1,scheduler:f}=g):h=g??1/0,(0,c.B)({connector:()=>new n.t(h,r,f),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 f=(0,c.yG)(r);return(0,d.e)((h,u)=>{(f?(0,n.z)(r,h,f):(0,n.z)(r,h)).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,f)=>{f.add(d.schedule(()=>r.subscribe(f),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,f){return(0,c.e)((h,u)=>{let v=null,b=0,p=!1;const _=()=>p&&!v&&u.complete();h.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(f?f(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)((f,h)=>{let u=0;f.subscribe((0,d.x)(h,v=>{++u<=r&&(h.next(v),r<=u&&h.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)((f,h)=>{let u=[];f.subscribe((0,d.x)(h,v=>{u.push(v),r{for(const v of u)h.next(v);h.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(f){return(0,n.e)((h,u)=>{(0,d.Xf)(f).subscribe((0,c.x)(u,()=>u.complete(),g.Z)),!u.closed&&h.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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>{const b=g(v,u++);(b||r)&&h.next(v),!b&&h.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(f,h,u){const v=(0,n.m)(f)||h||u?{next:f,error:h,complete:u}:f;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(f=r){return(0,c.e)((h,u)=>{let v=!1;h.subscribe((0,d.x)(u,b=>{v=!0,u.next(b)},()=>v?u.complete():u.error(f())))})}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),f=a(8251),h=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,h.f)(I,D,()=>{try{X.unsubscribe(),(0,g.Xf)(x({meta:S,lastValue:ee,seen:ie})).subscribe(I)}catch(Ce){I.error(Ce)}},U)};X=E.subscribe((0,f.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(h,u){super()}schedule(h,u=0){return this}}const d={setInterval(f,h,...u){const{delegate:v}=d;return v?.setInterval?v.setInterval(f,h,...u):setInterval(f,h,...u)},clearInterval(f){const{delegate:h}=d;return(h?.clearInterval||clearInterval)(f)},delegate:void 0};var g=a(9039);class r extends c{constructor(h,u){super(h,u),this.scheduler=h,this.work=u,this.pending=!1}schedule(h,u=0){var v;if(this.closed)return this;this.state=h;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(h,u,v=0){return d.setInterval(h.flush.bind(h,this),v)}recycleAsyncId(h,u,v=0){if(null!=v&&this.delay===v&&!1===this.pending)return u;null!=u&&d.clearInterval(u)}execute(h,u){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const v=this._execute(h,u);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(h,u){let b,v=!1;try{this.work(h)}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:h,scheduler:u}=this,{actions:v}=u;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.P)(v,this),null!=h&&(this.id=this.recycleAsyncId(u,h,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,f=c.now){this.schedulerActionCtor=r,this.now=f}schedule(r,f=0,h){return new this.schedulerActionCtor(this,r).schedule(h,f)}}c.now=n.l.now;class d extends c{constructor(r,f=c.now){super(r,f),this.actions=[],this._active=!1}flush(r){const{actions:f}=this;if(this._active)return void f.push(r);let h;this._active=!0;do{if(h=r.execute(r.state,r.delay))break}while(r=f.shift());if(this._active=!1,h){for(;r=f.shift();)r.unsubscribe();throw h}}}},927:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>h});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 h=new class f 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 f={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}=f,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:()=>f,jO:()=>g,yG:()=>r});var n=a(4674),c=a(671);function d(h){return h[h.length-1]}function g(h){return(0,n.m)(d(h))?h.pop():void 0}function r(h){return(0,c.K)(d(h))?h.pop():void 0}function f(h,u){return"number"==typeof d(h)?h.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(h){if(1===h.length){const u=h[0];if(n(u))return{args:u,keys:null};if(function f(h){return h&&"object"==typeof h&&c(h)===d}(u)){const v=g(u);return{args:v.map(b=>u[b]),keys:v}}}return{args:h,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,f)=>(g[r]=d[f],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 f=!c;if(f&&(c={errorThrown:!1,error:null}),r(),f){const{errorThrown:h,error:u}=c;if(c=null,h)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,f=!1){const h=d.schedule(function(){g(),f?c.add(this.schedule(null,r)):this.unsubscribe()},r);if(c.add(h),!f)return h}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 h=r.getReader();try{for(;;){const{value:u,done:v}=yield(0,n.__await)(h.read());if(v)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(u)}}finally{h.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(f){try{return g(f,this)}catch(h){this.error(h)}});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)(f=>function d(r,f){return c(f)?r(...f):r(f)}(r,f))}},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(f){return g.reduce((h,u)=>u(h),f)}}},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:()=>h,bufferCount:()=>v,bufferTime:()=>y,bufferToggle:()=>x,bufferWhen:()=>D,catchError:()=>S.K,combineAll:()=>de,combineLatest:()=>W,combineLatestAll:()=>Ae,combineLatestWith:()=>pe,concat:()=>Be,concatAll:()=>we.u,concatMap:()=>G.b,concatMapTo:()=>ae,concatWith:()=>ve,connect:()=>tt,count:()=>Ct,debounce:()=>Nt,debounceTime:()=>_t.b,defaultIfEmpty:()=>Bt.d,delay:()=>Tt.g,delayWhen:()=>Lt.j,dematerialize:()=>Y,distinct:()=>ne,distinctUntilChanged:()=>K.x,distinctUntilKeyChanged:()=>ce,elementAt:()=>Pe,endWith:()=>Pt,every:()=>Ft,exhaust:()=>he,exhaustAll:()=>Ke,exhaustMap:()=>Oe,expand:()=>ct,filter:()=>Dt.h,finalize:()=>Me.x,find:()=>Ye,findIndex:()=>F,first:()=>V.P,flatMap:()=>on,groupBy:()=>Q,ignoreElements:()=>be.l,isEmpty:()=>dt,last:()=>Rt.Z,map:()=>Gt.U,mapTo:()=>qe.h,materialize:()=>nt,max:()=>Ve,merge:()=>At,mergeAll:()=>yt.J,mergeMap:()=>ee.z,mergeMapTo:()=>xn,mergeScan:()=>Sn,mergeWith:()=>_n,min:()=>Mn,multicast:()=>fi,observeOn:()=>Vi.Q,onErrorResumeNext:()=>bt,pairwise:()=>pt,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:()=>Mt,scan:()=>jt.R,sequenceEqual:()=>ke,share:()=>me.B,shareReplay:()=>se.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:()=>ut.q,takeLast:()=>Cn.h,takeUntil:()=>tn.R,takeWhile:()=>En.o,tap:()=>ei.b,throttle:()=>Ei,throttleTime:()=>tr,throwIfEmpty:()=>_e.T,timeInterval:()=>Ai,timeout:()=>yi.V,timeoutWith:()=>Ot,timestamp:()=>te,toArray:()=>Ce,window:()=>Ne,windowCount:()=>ot,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),f=a(4829);function h(wt){return(0,d.e)((vt,gt)=>{let St=[];return vt.subscribe((0,r.x)(gt,Ht=>St.push(Ht),()=>{gt.next(St),gt.complete()})),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{const Ht=St;St=[],gt.next(Ht)},g.Z)),()=>{St=null}})}var u=a(9039);function v(wt,vt=null){return vt=vt??wt,(0,d.e)((gt,St)=>{let Ht=[],Yt=0;gt.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 gt,St;const Ht=null!==(gt=(0,_.yG)(vt))&&void 0!==gt?gt: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)((gt,St)=>{const Ht=[];(0,f.Xf)(wt).subscribe((0,r.x)(St,Yt=>{const Jt=[];Ht.push(Jt);const yn=new b.w0;yn.add((0,f.Xf)(vt(Yt)).subscribe((0,r.x)(St,()=>{(0,u.P)(Ht,Jt),St.next(Jt),yn.unsubscribe()},g.Z)))},g.Z)),gt.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,gt)=>{let St=null,Ht=null;const Yt=()=>{Ht?.unsubscribe();const Jt=St;St=[],Jt&>.next(Jt),(0,f.Xf)(wt()).subscribe(Ht=(0,r.x)(gt,Yt,g.Z))};Yt(),vt.subscribe((0,r.x)(gt,Jt=>St?.push(Jt),()=>{St&>.next(St),gt.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 Ce(){return(0,d.e)((wt,vt)=>{A(U,[])(wt).subscribe(vt)})}function Re(wt,vt){return(0,$.z)(Ce(),(0,ee.z)(gt=>wt(gt)),vt?(0,X.Z)(vt):I.y)}function Ae(wt){return Re(E.a,wt)}const de=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)((gt,St)=>{(0,E.l)([gt,...(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)((gt,St)=>{(0,we.u)()((0,Ee.D)([gt,...wt],vt)).subscribe(St)})}var G=a(6328),re=a(4674);function ae(wt,vt){return(0,re.m)(vt)?(0,G.b)(()=>wt,vt):(0,G.b)(()=>wt)}function ve(...wt){return Be(...wt)}var He=a(8645),Ze=a(5592);const Ge={connector:()=>new He.x};function tt(wt,vt=Ge){const{connector:gt}=vt;return(0,d.e)((St,Ht)=>{const Yt=gt();(0,f.Xf)(wt(function Qe(wt){return new Ze.y(vt=>wt.subscribe(vt))}(Yt))).subscribe(Ht),Ht.add(St.subscribe(Yt))})}function Ct(wt){return A((vt,gt,St)=>!wt||wt(gt,St)?vt+1:vt,0)}function Nt(wt){return(0,d.e)((vt,gt)=>{let St=!1,Ht=null,Yt=null;const Jt=()=>{if(Yt?.unsubscribe(),Yt=null,St){St=!1;const yn=Ht;Ht=null,gt.next(yn)}};vt.subscribe((0,r.x)(gt,yn=>{Yt?.unsubscribe(),St=!0,Ht=yn,Yt=(0,r.x)(gt,Jt,g.Z),(0,f.Xf)(wt(yn)).subscribe(Yt)},()=>{Jt(),gt.complete()},void 0,()=>{Ht=Yt=null}))})}var _t=a(3620),Bt=a(3572),Tt=a(7547),Lt=a(4610),Le=a(6232),lt=a(2096),ze=a(8504);class N{constructor(vt,gt,St){this.kind=vt,this.value=gt,this.error=St,this.hasValue="N"===vt}observe(vt){return oe(this,vt)}do(vt,gt,St){const{kind:Ht,value:Yt,error:Jt}=this;return"N"===Ht?vt?.(Yt):"E"===Ht?gt?.(Jt):St?.()}accept(vt,gt,St){var Ht;return(0,re.m)(null===(Ht=vt)||void 0===Ht?void 0:Ht.next)?this.observe(vt):this.do(vt,gt,St)}toObservable(){const{kind:vt,value:gt,error:St}=this,Ht="N"===vt?(0,lt.of)(gt):"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 gt,St,Ht;const{kind:Yt,value:Jt,error:yn}=wt;if("string"!=typeof Yt)throw new TypeError('Invalid notification, missing "kind"');"N"===Yt?null===(gt=vt.next)||void 0===gt||gt.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,gt=>oe(gt,vt)))})}function ne(wt,vt){return(0,d.e)((gt,St)=>{const Ht=new Set;gt.subscribe((0,r.x)(St,Yt=>{const Jt=wt?wt(Yt):Yt;Ht.has(Jt)||(Ht.add(Jt),St.next(Yt))})),vt&&(0,f.Xf)(vt).subscribe((0,r.x)(St,()=>Ht.clear(),g.Z))})}N.completeNotification=new N("C");var K=a(3997);function ce(wt,vt){return(0,K.x)((gt,St)=>vt?vt(gt[wt],St[wt]):gt[wt]===St[wt])}var Te=a(2306);const et=(0,Te.d)(wt=>function(){wt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Dt=a(2181),_e=a(3026),ut=a(8180);function Pe(wt,vt){if(wt<0)throw new et;const gt=arguments.length>=2;return St=>St.pipe((0,Dt.h)((Ht,Yt)=>Yt===wt),(0,ut.q)(1),gt?(0,Bt.d)(vt):(0,_e.T)(()=>new et))}var mt=a(34);function Pt(...wt){return vt=>(0,mt.z)(vt,(0,lt.of)(...wt))}function Ft(wt,vt){return(0,d.e)((gt,St)=>{let Ht=0;gt.subscribe((0,r.x)(St,Yt=>{wt.call(vt,Yt,Ht++,gt)||(St.next(!1),St.complete())},()=>{St.next(!0),St.complete()}))})}var Gt=a(7398);function Oe(wt,vt){return vt?gt=>gt.pipe(Oe((St,Ht)=>(0,f.Xf)(wt(St,Ht)).pipe((0,Gt.U)((Yt,Jt)=>vt(St,Yt,Ht,Jt))))):(0,d.e)((gt,St)=>{let Ht=0,Yt=null,Jt=!1;gt.subscribe((0,r.x)(St,yn=>{Yt||(Yt=(0,r.x)(St,void 0,()=>{Yt=null,Jt&&St.complete()}),(0,f.Xf)(wt(yn,Ht++)).subscribe(Yt))},()=>{Jt=!0,!Yt&&St.complete()}))})}function Ke(){return Oe(I.y)}const he=Ke;var ge=a(564);function ct(wt,vt=1/0,gt){return vt=(vt||0)<1?1/0:vt,(0,d.e)((St,Ht)=>(0,ge.p)(St,Ht,wt,vt,void 0,!0,gt))}var Me=a(4716);function Ye(wt,vt){return(0,d.e)(De(wt,vt,"value"))}function De(wt,vt,gt){const St="index"===gt;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 Q(wt,vt,gt,St){return(0,d.e)((Ht,Yt)=>{let Jt;vt&&"function"!=typeof vt?({duration:gt,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),gt){const Zi=(0,r.x)(oi,()=>{oi.complete(),Zi?.unsubscribe()},void 0,void 0,()=>yn.delete(ni));ui.add((0,f.Xf)(gt(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 be=a(7538);function dt(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,()=>{vt.next(!1),vt.complete()},()=>{vt.next(!0),vt.complete()}))})}var Rt=a(2032),qe=a(975);function nt(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,gt=>{vt.next(N.createNext(gt))},()=>{vt.next(N.createComplete()),vt.complete()},gt=>{vt.next(N.createError(gt)),vt.complete()}))})}function Ve(wt){return A((0,re.m)(wt)?(vt,gt)=>wt(vt,gt)>0?vt:gt:(vt,gt)=>vt>gt?vt:gt)}var yt=a(7537);function At(...wt){const vt=(0,_.yG)(wt),gt=(0,_._6)(wt,1/0);return wt=(0,H.k)(wt),(0,d.e)((St,Ht)=>{(0,yt.J)(gt)((0,Ee.D)([St,...wt],vt)).subscribe(Ht)})}const on=ee.z;function xn(wt,vt,gt=1/0){return(0,re.m)(vt)?(0,ee.z)(()=>wt,vt,gt):("number"==typeof vt&&(gt=vt),(0,ee.z)(()=>wt,gt))}function Sn(wt,vt,gt=1/0){return(0,d.e)((St,Ht)=>{let Yt=vt;return(0,ge.p)(St,Ht,(Jt,yn)=>wt(Yt,Jt,yn),gt,Jt=>{Yt=Jt},!1,void 0,()=>Yt=null)})}function _n(...wt){return At(...wt)}function Mn(wt){return A((0,re.m)(wt)?(vt,gt)=>wt(vt,gt)<0?vt:gt:(vt,gt)=>vtwt;return(0,re.m)(vt)?tt(vt,{connector:gt}):St=>new xi.c(St,gt)}var Vi=a(3093);const bt=function xt(...wt){const vt=(0,H.k)(wt);return gt=>function Yi(...wt){const vt=(0,H.k)(wt);return new Ze.y(gt=>{let St=0;const Ht=()=>{if(St{let gt,St=!1;wt.subscribe((0,r.x)(vt,Ht=>{const Yt=gt;gt=Ht,St&&vt.next([Yt,Ht]),St=!0}))})}function qt(wt,vt){return(gt,St)=>!wt.call(vt,gt,St)}function nn(wt,vt){return gt=>[(0,Dt.h)(wt,vt)(gt),(0,Dt.h)(qt(wt,vt))(gt)]}function cn(...wt){const vt=wt.length;if(0===vt)throw new Error("list of properties cannot be empty.");return(0,Gt.U)(gt=>{let St=gt;for(let Ht=0;Httt(wt)(vt):vt=>fi(new He.x)(vt)}var Nn=a(5619);function wn(wt){return vt=>{const gt=new Nn.X(wt);return new xi.c(vt,()=>gt)}}class Xn extends He.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(vt){const{hasError:gt,_hasValue:St,_value:Ht,thrownError:Yt,isStopped:Jt,_isComplete:yn}=this;gt?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:gt,_isComplete:St}=this;St||(this._isComplete=!0,vt&&super.next(gt),super.complete())}}function _i(){return wt=>{const vt=new Xn;return new xi.c(wt,()=>vt)}}var $n=a(7328);function ti(wt,vt,gt,St){gt&&!(0,re.m)(gt)&&(St=gt);const Ht=(0,re.m)(gt)?gt: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,gt)=>{(0,an.R)([vt,...wt])(gt)}):I.y}function Tn(...wt){return mn(...(0,H.k)(wt))}var Rn=a(9080);function Wn(wt){let gt,vt=1/0;return null!=wt&&("object"==typeof wt?({count:vt=1/0,delay:gt}=wt):vt=wt),vt<=0?()=>Le.E:(0,d.e)((St,Ht)=>{let Jt,Yt=0;const yn=()=>{if(Jt?.unsubscribe(),Jt=null,null!=gt){const Vn="number"==typeof gt?(0,Rn.H)(gt):(0,f.Xf)(gt(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&&(gt.complete(),!0),On=()=>{yn=!1,St=vt.subscribe((0,r.x)(gt,void 0,()=>{yn=!0,!vn()&&(Yt||(Yt=new He.x,(0,f.Xf)(wt(Yt)).subscribe((0,r.x)(gt,()=>{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:gt=1/0,delay:St,resetOnSuccess:Ht=!1}=vt;return gt<=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,f.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,gt)=>{let St,Yt,Ht=!1;const Jt=()=>{St=vt.subscribe((0,r.x)(gt,void 0,void 0,yn=>{Yt||(Yt=new He.x,(0,f.Xf)(wt(Yt)).subscribe((0,r.x)(gt,()=>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,gt)=>{let St=!1,Ht=null;vt.subscribe((0,r.x)(gt,Yt=>{St=!0,Ht=Yt})),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{if(St){St=!1;const Yt=Ht;Ht=null,gt.next(Yt)}},g.Z))})}function Mt(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=((gt,St)=>gt===St)){return(0,d.e)((gt,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};gt.subscribe(yn(Ht,Yt)),(0,f.Xf)(wt).subscribe(yn(Yt,Ht))})}var me=a(3020),se=a(7081),Xe=a(6973);const kt=(0,Te.d)(wt=>function(gt){wt(this),this.name="SequenceError",this.message=gt}),Wt=(0,Te.d)(wt=>function(gt){wt(this),this.name="NotFoundError",this.message=gt});function un(wt){return(0,d.e)((vt,gt)=>{let Ht,St=!1,Yt=!1,Jt=0;vt.subscribe((0,r.x)(gt,yn=>{Yt=!0,(!wt||wt(yn,Jt++,vt))&&(St&>.error(new kt("Too many matching values")),St=!0,Ht=yn)},()=>{St?(gt.next(Ht),gt.complete()):gt.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,gt)=>{let St=new Array(wt),Ht=0;return vt.subscribe((0,r.x)(gt,Yt=>{const Jt=Ht++;if(Jt{St=null}})}function si(wt){return(0,d.e)((vt,gt)=>{let St=!1;const Ht=(0,r.x)(gt,()=>{Ht?.unsubscribe(),St=!0},g.Z);(0,f.Xf)(wt).subscribe(Ht),vt.subscribe((0,r.x)(gt,Yt=>St&>.next(Yt)))})}function jn(wt){return(0,d.e)((vt,gt)=>{let St=!1,Ht=0;vt.subscribe((0,r.x)(gt,Yt=>(St||(St=!wt(Yt,Ht++)))&>.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)((gt,St)=>{let Ht=vt;return(0,Ti.w)((Yt,Jt)=>wt(Ht,Yt,Jt),(Yt,Jt)=>(Ht=Jt,Jt))(gt).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)((gt,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,f.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)}};gt.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,gt){const St=(0,Rn.H)(wt,vt);return Ei(()=>St,gt)}function Ai(wt=p.z){return(0,d.e)((vt,gt)=>{let St=wt.now();vt.subscribe((0,r.x)(gt,Ht=>{const Yt=wt.now(),Jt=Yt-St;St=Yt,gt.next(new ar(Ht,Jt))}))})}class ar{constructor(vt,gt){this.value=vt,this.interval=gt}}var yi=a(5178),Je=a(93);function Ot(wt,vt,gt){let St,Ht,Yt;if(gt=gt??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:gt,with:Yt})}var C=a(4552);function te(wt=C.l){return(0,Gt.U)(vt=>({value:vt,timestamp:wt.now()}))}function Ne(wt){return(0,d.e)((vt,gt)=>{let St=new He.x;gt.next(St.asObservable());const Ht=Yt=>{St.error(Yt),gt.error(Yt)};return vt.subscribe((0,r.x)(gt,Yt=>St?.next(Yt),()=>{St.complete(),gt.complete()},Ht)),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{St.complete(),gt.next(St=new He.x)},g.Z,Ht)),()=>{St?.unsubscribe(),St=null}})}function ot(wt,vt=0){const gt=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%gt==0&&Yt.shift().complete(),++yn%gt==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 gt,St;const Ht=null!==(gt=(0,_.yG)(vt))&&void 0!==gt?gt: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)((gt,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,f.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)),gt.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),gt.error(yn)},Jt=()=>{let yn;Ht?.unsubscribe(),St?.complete(),St=new He.x,gt.next(St.asObservable());try{yn=(0,f.Xf)(wt())}catch(vn){return void Yt(vn)}yn.subscribe(Ht=(0,r.x)(gt,Jt,Jt,Yt))};Jt(),vt.subscribe((0,r.x)(gt,yn=>St.next(yn),()=>{St.complete(),gt.complete()},Yt,()=>{Ht?.unsubscribe(),St=null}))})}function Pi(...wt){const vt=(0,_.jO)(wt);return(0,d.e)((gt,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));gt.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,gt)=>{(0,Li.$)(vt,...wt).subscribe(gt)})}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:()=>_t,validate:()=>f,version:()=>Lt});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,f=function r(Le){return"string"==typeof Le&&g.test(Le)},h=[];for(let Le=0;Le<256;++Le)h.push((Le+256).toString(16).slice(1));function u(Le,lt=0){return(h[Le[lt+0]]+h[Le[lt+1]]+h[Le[lt+2]]+h[Le[lt+3]]+"-"+h[Le[lt+4]]+h[Le[lt+5]]+"-"+h[Le[lt+6]]+h[Le[lt+7]]+"-"+h[Le[lt+8]]+h[Le[lt+9]]+"-"+h[Le[lt+10]]+h[Le[lt+11]]+h[Le[lt+12]]+h[Le[lt+13]]+h[Le[lt+14]]+h[Le[lt+15]]).toLowerCase()}const b=function v(Le,lt=0){const ze=u(Le,lt);if(!f(ze))throw TypeError("Stringified UUID is invalid");return ze};let p,_,l=0,y=0;const D=function x(Le,lt,ze){let at=lt&&ze||0;const N=lt||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(),K=void 0!==Le.nsecs?Le.nsecs:y+1;const ce=ne-l+(K-y)/1e4;if(ce<0&&void 0===Le.clockseq&&(Y=Y+1&16383),(ce<0||ne>l)&&void 0===Le.nsecs&&(K=0),K>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=ne,y=K,_=Y,ne+=122192928e5;const Te=(1e4*(268435455&ne)+K)%4294967296;N[at++]=Te>>>24&255,N[at++]=Te>>>16&255,N[at++]=Te>>>8&255,N[at++]=255&Te;const et=ne/4294967296*1e4&268435455;N[at++]=et>>>8&255,N[at++]=255&et,N[at++]=et>>>24&15|16,N[at++]=et>>>16&255,N[at++]=Y>>>8|128,N[at++]=255&Y;for(let Dt=0;Dt<6;++Dt)N[at+Dt]=oe[Dt];return lt||u(N)},E=function S(Le){if(!f(Le))throw TypeError("Invalid UUID");let lt;const ze=new Uint8Array(16);return ze[0]=(lt=parseInt(Le.slice(0,8),16))>>>24,ze[1]=lt>>>16&255,ze[2]=lt>>>8&255,ze[3]=255<,ze[4]=(lt=parseInt(Le.slice(9,13),16))>>>8,ze[5]=255<,ze[6]=(lt=parseInt(Le.slice(14,18),16))>>>8,ze[7]=255<,ze[8]=(lt=parseInt(Le.slice(19,23),16))>>>8,ze[9]=255<,ze[10]=(lt=parseInt(Le.slice(24,36),16))/1099511627776&255,ze[11]=lt/4294967296&255,ze[12]=lt>>>24&255,ze[13]=lt>>>16&255,ze[14]=lt>>>8&255,ze[15]=255<,ze};function ee(Le,lt,ze){function at(N,oe,Y,ne){var K;if("string"==typeof N&&(N=function I(Le){Le=unescape(encodeURIComponent(Le));const lt=[];for(let ze=0;ze>>9<<4)+1}function Ae(Le,lt){const ze=(65535&Le)+(65535<);return(Le>>16)+(lt>>16)+(ze>>16)<<16|65535&ze}function H(Le,lt,ze,at,N,oe){return Ae(function de(Le,lt){return Le<>>32-lt}(Ae(Ae(lt,Le),Ae(at,oe)),N),ze)}function W(Le,lt,ze,at,N,oe,Y){return H(lt&ze|~lt&at,Le,lt,N,oe,Y)}function pe(Le,lt,ze,at,N,oe,Y){return H(lt&at|ze&~at,Le,lt,N,oe,Y)}function we(Le,lt,ze,at,N,oe,Y){return H(lt^ze^at,Le,lt,N,oe,Y)}function Ee(Le,lt,ze,at,N,oe,Y){return H(ze^(lt|~at),Le,lt,N,oe,Y)}const re=ee("v3",48,function ie(Le){if("string"==typeof Le){const lt=unescape(encodeURIComponent(Le));Le=new Uint8Array(lt.length);for(let ze=0;ze>5]>>>N%32&255,Y=parseInt(at.charAt(oe>>>4&15)+at.charAt(15&oe),16);lt.push(Y)}return lt}(function Ce(Le,lt){Le[lt>>5]|=128<>5]|=(255&Le[at/8])<>>32-lt}const _t=ee("v5",80,function tt(Le){const lt=[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=et,et=Te,Te=Ge(ce,30)>>>0,ce=K,K=Pe}ze[0]=ze[0]+K>>>0,ze[1]=ze[1]+ce>>>0,ze[2]=ze[2]+Te>>>0,ze[3]=ze[3]+et>>>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",Lt=function Tt(Le){if(!f(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:()=>de,__classPrivateFieldIn:()=>W,__classPrivateFieldSet:()=>H,__createBinding:()=>y,__decorate:()=>r,__disposeResources:()=>Ee,__esDecorate:()=>h,__exportStar:()=>x,__extends:()=>c,__generator:()=>l,__importDefault:()=>Ae,__importStar:()=>Re,__makeTemplateObject:()=>U,__metadata:()=>p,__param:()=>f,__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(ae,ve){ae.__proto__=ve}||function(ae,ve){for(var He in ve)Object.prototype.hasOwnProperty.call(ve,He)&&(ae[He]=ve[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 ae(){this.constructor=G}n(G,re),G.prototype=null===re?Object.create(re):(ae.prototype=re.prototype,new ae)}var d=function(){return d=Object.assign||function(re){for(var ae,ve=1,He=arguments.length;ve=0;Ge--)(Qe=G[Ge])&&(Ze=(He<3?Qe(Ze):He>3?Qe(re,ae,Ze):Qe(re,ae))||Ze);return He>3&&Ze&&Object.defineProperty(re,ae,Ze),Ze}function f(G,re){return function(ae,ve){re(ae,ve,G)}}function h(G,re,ae,ve,He,Ze){function Qe(ze){if(void 0!==ze&&"function"!=typeof ze)throw new TypeError("Function expected");return ze}for(var _t,Ge=ve.kind,tt="getter"===Ge?"get":"setter"===Ge?"set":"value",Ct=!re&&G?ve.static?G:G.prototype:null,Nt=re||(Ct?Object.getOwnPropertyDescriptor(Ct,ve.name):{}),Bt=!1,Tt=ae.length-1;Tt>=0;Tt--){var Lt={};for(var Le in ve)Lt[Le]="access"===Le?{}:ve[Le];for(var Le in ve.access)Lt.access[Le]=ve.access[Le];Lt.addInitializer=function(ze){if(Bt)throw new TypeError("Cannot add initializers after decoration has completed");Ze.push(Qe(ze||null))};var lt=(0,ae[Tt])("accessor"===Ge?{get:Nt.get,set:Nt.set}:Nt[tt],Lt);if("accessor"===Ge){if(void 0===lt)continue;if(null===lt||"object"!=typeof lt)throw new TypeError("Object expected");(_t=Qe(lt.get))&&(Nt.get=_t),(_t=Qe(lt.set))&&(Nt.set=_t),(_t=Qe(lt.init))&&He.unshift(_t)}else(_t=Qe(lt))&&("field"===Ge?He.unshift(_t):Nt[tt]=_t)}Ct&&Object.defineProperty(Ct,ve.name,Nt),Bt=!0}function u(G,re,ae){for(var ve=arguments.length>2,He=0;He0&&Ze[Ze.length-1])&&(6===Ct[0]||2===Ct[0])){ae=0;continue}if(3===Ct[0]&&(!Ze||Ct[1]>Ze[0]&&Ct[1]=G.length&&(G=void 0),{value:G&&G[ve++],done:!G}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(G,re){var ae="function"==typeof Symbol&&G[Symbol.iterator];if(!ae)return G;var He,Qe,ve=ae.call(G),Ze=[];try{for(;(void 0===re||re-- >0)&&!(He=ve.next()).done;)Ze.push(He.value)}catch(Ge){Qe={error:Ge}}finally{try{He&&!He.done&&(ae=ve.return)&&ae.call(ve)}finally{if(Qe)throw Qe.error}}return Ze}function E(){for(var G=[],re=0;re1||Ge(Bt,Tt)})})}function Ge(Bt,Tt){try{!function tt(Bt){Bt.value instanceof $?Promise.resolve(Bt.value.v).then(Ct,Nt):_t(Ze[0][2],Bt)}(ve[Bt](Tt))}catch(Lt){_t(Ze[0][3],Lt)}}function Ct(Bt){Ge("next",Bt)}function Nt(Bt){Ge("throw",Bt)}function _t(Bt,Tt){Bt(Tt),Ze.shift(),Ze.length&&Ge(Ze[0][0],Ze[0][1])}}function ie(G){var re,ae;return re={},ve("next"),ve("throw",function(He){throw He}),ve("return"),re[Symbol.iterator]=function(){return this},re;function ve(He,Ze){re[He]=G[He]?function(Qe){return(ae=!ae)?{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 ae,re=G[Symbol.asyncIterator];return re?re.call(G):(G=D(G),ae={},ve("next"),ve("throw"),ve("return"),ae[Symbol.asyncIterator]=function(){return this},ae);function ve(Ze){ae[Ze]=G[Ze]&&function(Qe){return new Promise(function(Ge,tt){!function He(Ze,Qe,Ge,tt){Promise.resolve(tt).then(function(Ct){Ze({value:Ct,done:Ge})},Qe)}(Ge,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 Ce=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 ae in G)"default"!==ae&&Object.prototype.hasOwnProperty.call(G,ae)&&y(re,G,ae);return Ce(re,G),re}function Ae(G){return G&&G.__esModule?G:{default:G}}function de(G,re,ae,ve){if("a"===ae&&!ve)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof re?G!==re||!ve:!re.has(G))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===ae?ve:"a"===ae?ve.call(G):ve?ve.value:re.get(G)}function H(G,re,ae,ve,He){if("m"===ve)throw new TypeError("Private method is not writable");if("a"===ve&&!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"===ve?He.call(G,ae):He?He.value=ae:re.set(G,ae),ae}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,ae){if(null!=re){if("object"!=typeof re&&"function"!=typeof re)throw new TypeError("Object expected.");var ve;if(ae){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ve=re[Symbol.asyncDispose]}if(void 0===ve){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ve=re[Symbol.dispose]}if("function"!=typeof ve)throw new TypeError("Object not disposable.");G.stack.push({value:re,dispose:ve,async:ae})}else ae&&G.stack.push({async:!0});return re}var we="function"==typeof SuppressedError?SuppressedError:function(G,re,ae){var ve=new Error(ae);return ve.name="SuppressedError",ve.error=G,ve.suppressed=re,ve};function Ee(G){function re(ve){G.error=G.hasError?new we(ve,G.error,"An error was suppressed during disposal."):ve,G.hasError=!0}return function ae(){for(;G.stack.length;){var ve=G.stack.pop();try{var He=ve.dispose&&ve.dispose.call(ve.value);if(ve.async)return Promise.resolve(He).then(ae,function(Ze){return re(Ze),ae()})}catch(Ze){re(Ze)}}if(G.hasError)throw G.error}()}const Be={__extends:c,__assign:d,__rest:g,__decorate:r,__param:f,__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:de,__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 Q=F[V],be=typeof Q;("object"===be||"function"===be)&&!Object.isFrozen(Q)&&B(Q)}),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 Q=Object.create(null);for(const be in F)Q[be]=F[be];return V.forEach(function(be){for(const dt in be)Q[dt]=be[dt]}),Q}const g=F=>!!F.scope;class f{constructor(V,Q){this.buffer="",this.classPrefix=Q.classPrefix,V.walk(this)}addText(V){this.buffer+=n(V)}openNode(V){if(!g(V))return;const Q=((F,{prefix:V})=>{if(F.startsWith("language:"))return F.replace("language:","language-");if(F.includes(".")){const Q=F.split(".");return[`${V}${Q.shift()}`,...Q.map((be,dt)=>`${be}${"_".repeat(dt+1)}`)].join(" ")}return`${V}${F}`})(V.scope,{prefix:this.classPrefix});this.span(Q)}closeNode(V){g(V)&&(this.buffer+="")}value(){return this.buffer}span(V){this.buffer+=``}}const h=(F={})=>{const V={children:[]};return Object.assign(V,F),V};class u{constructor(){this.rootNode=h(),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 Q=h({scope:V});this.add(Q),this.stack.push(Q)}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,Q){return"string"==typeof Q?V.addText(Q):Q.children&&(V.openNode(Q),Q.children.forEach(be=>this._walk(V,be)),V.closeNode(Q)),V}static _collapse(V){"string"!=typeof V&&V.children&&(V.children.every(Q=>"string"==typeof Q)?V.children=[V.children.join("")]:V.children.forEach(Q=>{u._collapse(Q)}))}}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,Q){const be=V.root;Q&&(be.scope=`language:${Q}`),this.add(be)}toHTML(){return new f(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(Q=>b(Q)).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(be=>b(be)).join("|")+")"}function S(F){return new RegExp(F.toString()+"|").exec("").length-1}const I=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function X(F,{joinWith:V}){let Q=0;return F.map(be=>{Q+=1;const dt=Q;let Rt=b(be),qe="";for(;Rt.length>0;){const nt=I.exec(Rt);if(!nt){qe+=Rt;break}qe+=Rt.substring(0,nt.index),Rt=Rt.substring(nt.index+nt[0].length),"\\"===nt[0][0]&&nt[1]?qe+="\\"+String(Number(nt[1])+dt):(qe+=nt[0],"("===nt[0]&&Q++)}return qe}).map(be=>`(${be})`).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+)?)",Ce="\\b(0b[01]+)",de={begin:"\\\\[\\s\\S]",relevance:0},H={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[de]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[de]},we=function(F,V,Q={}){const be=c({scope:"comment",begin:F,end:V,contains:[]},Q);be.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 dt=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 be.contains.push({begin:y(/[ ]+/,"(",dt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),be},Ee=we("//","$"),Be=we("/\\*","\\*/"),G=we("#","$");var Ct=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:Ce,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":(Q,be)=>{0!==Q.index&&be.ignoreMatch()}},F)},BACKSLASH_ESCAPE:de,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:Ce,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[de,{begin:/\[/,end:/\]/,relevance:0,contains:[de]}]}]},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,Q)=>{Q.data._beginMatch=V[1]},"on:end":(V,Q)=>{Q.data._beginMatch!==V[1]&&Q.ignoreMatch()}})}});function Nt(F,V){"."===F.input[F.index-1]&&V.ignoreMatch()}function _t(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=Nt,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 Lt(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 lt=(F,V)=>{if(!F.beforeMatch)return;if(F.starts)throw new Error("beforeMatch cannot be used with starts");const Q=Object.assign({},F);Object.keys(F).forEach(be=>{delete F[be]}),F.keywords=Q.keywords,F.begin=y(Q.beforeMatch,p(Q.begin)),F.starts={relevance:0,contains:[Object.assign(Q,{endsParent:!0})]},F.relevance=0,delete Q.beforeMatch},ze=["of","and","for","in","not","or","if","then","parent","list","value"],at="keyword";function N(F,V,Q=at){const be=Object.create(null);return"string"==typeof F?dt(Q,F.split(" ")):Array.isArray(F)?dt(Q,F):Object.keys(F).forEach(function(Rt){Object.assign(be,N(F[Rt],V,Rt))}),be;function dt(Rt,qe){V&&(qe=qe.map(nt=>nt.toLowerCase())),qe.forEach(function(nt){const Ve=nt.split("|");be[Ve[0]]=[Rt,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={},K=F=>{console.error(F)},ce=(F,...V)=>{console.log(`WARN: ${F}`,...V)},Te=(F,V)=>{ne[`${F}/${V}`]||(console.log(`Deprecated as of ${F}. ${V}`),ne[`${F}/${V}`]=!0)},et=new Error;function Dt(F,V,{key:Q}){let be=0;const dt=F[Q],Rt={},qe={};for(let nt=1;nt<=V.length;nt++)qe[nt+be]=dt[nt],Rt[nt+be]=!0,be+=S(V[nt-1]);F[Q]=qe,F[Q]._emit=Rt,F[Q]._multi=!0}function mt(F){(function Pe(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 _e(F){if(Array.isArray(F.begin)){if(F.skip||F.excludeBegin||F.returnBegin)throw K("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),et;if("object"!=typeof F.beginScope||null===F.beginScope)throw K("beginScope must be object"),et;Dt(F,F.begin,{key:"beginScope"}),F.begin=X(F.begin,{joinWith:""})}}(F),function ut(F){if(Array.isArray(F.end)){if(F.skip||F.excludeEnd||F.returnEnd)throw K("skip, excludeEnd, returnEnd not compatible with endScope: {}"),et;if("object"!=typeof F.endScope||null===F.endScope)throw K("endScope must be object"),et;Dt(F,F.end,{key:"endScope"}),F.end=X(F.end,{joinWith:""})}}(F)}function Pt(F){function V(qe,nt){return new RegExp(b(qe),"m"+(F.case_insensitive?"i":"")+(F.unicodeRegex?"u":"")+(nt?"g":""))}class Q{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(nt,Ve){Ve.position=this.position++,this.matchIndexes[this.matchAt]=Ve,this.regexes.push([Ve,nt]),this.matchAt+=S(nt)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const nt=this.regexes.map(Ve=>Ve[1]);this.matcherRe=V(X(nt,{joinWith:"|"}),!0),this.lastIndex=0}exec(nt){this.matcherRe.lastIndex=this.lastIndex;const Ve=this.matcherRe.exec(nt);if(!Ve)return null;const yt=Ve.findIndex((on,xn)=>xn>0&&void 0!==on),At=this.matchIndexes[yt];return Ve.splice(0,yt),Object.assign(Ve,At)}}class be{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(nt){if(this.multiRegexes[nt])return this.multiRegexes[nt];const Ve=new Q;return this.rules.slice(nt).forEach(([yt,At])=>Ve.addRule(yt,At)),Ve.compile(),this.multiRegexes[nt]=Ve,Ve}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(nt,Ve){this.rules.push([nt,Ve]),"begin"===Ve.type&&this.count++}exec(nt){const Ve=this.getMatcher(this.regexIndex);Ve.lastIndex=this.lastIndex;let yt=Ve.exec(nt);if(this.resumingScanAtSamePosition()&&(!yt||yt.index!==this.lastIndex)){const At=this.getMatcher(0);At.lastIndex=this.lastIndex+1,yt=At.exec(nt)}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 Rt(qe,nt){const Ve=qe;if(qe.isCompiled)return Ve;[_t,Lt,mt,lt].forEach(At=>At(qe,nt)),F.compilerExtensions.forEach(At=>At(qe,nt)),qe.__beforeBegin=null,[Bt,Tt,Le].forEach(At=>At(qe,nt)),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),nt&&(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&&nt.terminatorEnd&&(Ve.terminatorEnd+=(qe.end?"|":"")+nt.terminatorEnd)),qe.illegal&&(Ve.illegalRe=V(qe.illegal)),qe.contains||(qe.contains=[]),qe.contains=[].concat(...qe.contains.map(function(At){return function Gt(F){return F.variants&&!F.cachedVariants&&(F.cachedVariants=F.variants.map(function(V){return c(F,{variants:null},V)})),F.cachedVariants?F.cachedVariants:Ft(F)?c(F,{starts:F.starts?c(F.starts):null}):Object.isFrozen(F)?c(F):F}("self"===At?qe:At)})),qe.contains.forEach(function(At){Rt(At,Ve)}),qe.starts&&Rt(qe.starts,nt),Ve.matcher=function dt(qe){const nt=new be;return qe.contains.forEach(Ve=>nt.addRule(Ve.begin,{rule:Ve,type:"begin"})),qe.terminatorEnd&&nt.addRule(qe.terminatorEnd,{type:"end"}),qe.illegal&&nt.addRule(qe.illegal,{type:"illegal"}),nt}(Ve),Ve}(F)}function Ft(F){return!!F&&(F.endsWithParent||Ft(F.starts))}class Ke extends Error{constructor(V,Q){super(V),this.name="HTMLInjectionError",this.html=Q}}const he=n,ge=c,ct=Symbol("nomatch"),Ye=function(F){const V=Object.create(null),Q=Object.create(null),be=[];let dt=!0;const Rt="Could not find the language '{}', did you forget to load/include a language module?",qe={disableAutodetect:!0,name:"Plain text",contains:[]};let nt={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 nt.noHighlightRe.test(an)}function At(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 Mt(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 Q=F&&F.exec(V);return Q&&0===Q.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 ct;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&&Mt(En.starts,fn),ei.returnEnd?0:Cn.length}let Xe={};function kt(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),!dt){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)),Mt(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!==ct)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 K(Rt.replace("{}",an)),new Error('Unknown language: "'+an+'"');const un=Pt(Wt);let gn="",pn=Rn||un;const si={},jn=new nt.__emitter(nt);!function se(){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=kt(mn.substring(Ti,fn.index),fn);Ti=fn.index+tn}kt(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:he(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(dt)return{language:an,value:he(mn),illegal:!1,relevance:0,errorRaised:fn,_emitter:jn,_top:pn};throw fn}}function Sn(an,mn){mn=mn||nt.languages||Object.keys(V);const Tn=function xn(an){const mn={value:he(an),illegal:!1,relevance:0,_top:qe,_emitter:new nt.__emitter(nt)};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=nt.languageDetectRe.exec(mn);if(Tn){const Rn=cn(Tn[1]);return Rn||(ce(Rt.replace("{}",Tn[1])),ce("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&&(nt.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)),nt.throwUnescapedHTML))throw new Ke("One of your code blocks includes unescaped HTML.",an.innerHTML);mn=an;const Rn=mn.textContent,Wn=Tn?At(Rn,{language:Tn,ignoreIllegals:!0}):Sn(Rn);an.innerHTML=Wn.value,function _n(an,mn,Tn){const Rn=mn&&Q[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 xt(){"loading"!==document.readyState?document.querySelectorAll(nt.cssSelector).forEach(Mn):Yi=!0}function cn(an){return an=(an||"").toLowerCase(),V[an]||V[Q[an]]}function sn(an,{languageName:mn}){"string"==typeof an&&(an=[an]),an.forEach(Tn=>{Q[Tn.toLowerCase()]=mn})}function Nn(an){const mn=cn(an);return mn&&!mn.disableAutodetect}function $n(an,mn){const Tn=an;be.forEach(function(Rn){Rn[Tn]&&Rn[Tn](mn)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function bt(){Yi&&xt()},!1),Object.assign(F,{highlight:At,highlightAuto:Sn,highlightAll:xt,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){nt=ge(nt,an)},initHighlighting:()=>{xt(),Te("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function Vi(){xt(),Te("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function pt(an,mn){let Tn=null;try{Tn=mn(F)}catch(Rn){if(K("Language definition for '{}' could not be registered.".replace("{}",an)),!dt)throw Rn;K(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(Q))Q[mn]===an&&delete Q[mn]},listLanguages:function nn(){return Object.keys(V)},getLanguage:cn,registerAliases:sn,autoDetection:Nn,inherit:ge,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),be.push(an)},removePlugin:function _i(an){const mn=be.indexOf(an);-1!==mn&&be.splice(mn,1)}}),F.debugMode=function(){dt=!1},F.safeMode=function(){dt=!0},F.versionString="11.8.0",F.regex={concat:y,lookahead:p,either:D,optional:l,anyNumberOfTimes:_};for(const an in Ct)"object"==typeof Ct[an]&&B(Ct[an]);return Object.assign(F,Ct),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/}]},f=a.inherit(r,{begin:/\(/,end:/\)/}),h=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,h,f,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,f,u,h]}]}]},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,f,h){try{var u=n[f](h),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 f=n.apply(c,d);function h(v){B(f,g,r,h,u,"next",v)}function u(v){B(f,g,r,h,u,"throw",v)}h(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 f=r.call(d,g||"default");if("object"!==n(f))return f;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:()=>f,vP:()=>h});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 f(X,$=null){return{type:3,steps:X,options:$}}function h(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(Ce=>{Ce.onDone(()=>{++ee==U&&this._onFinish()}),Ce.onDestroy(()=>{++ie==U&&this._onDestroy()}),Ce.onStart(()=>{++A==U&&this._onStart()})}),this.totalTime=this.players.reduce((Ce,Re)=>Math.max(Ce,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:()=>mt,X6:()=>oe,Zf:()=>$,iD:()=>ee,kH:()=>Ke,mK:()=>Lt,qm:()=>Me,rt:()=>Ye,s1:()=>pe,tE:()=>Oe,yG:()=>Y});var n=a(6814),c=a(5879),d=a(2831),g=a(8645),r=a(7394),f=a(5619),h=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 Q=ie(De,F);Q.some(be=>be.trim()==V.trim())||(Q.push(V.trim()),De.setAttribute(F,Q.join(X)))}function ee(De,F,V){const be=ie(De,F).filter(dt=>dt!=V.trim());be.length?De.setAttribute(F,be.join(X)):De.removeAttribute(F)}function ie(De,F){return(De.getAttribute(F)||"").match(/\S+/g)||[]}const U="cdk-describedby-message",Ce="cdk-describedby-host";let Re=0,Ae=(()=>{class De{constructor(V,Q){this._platform=Q,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Re++,this._document=V,this._id=(0,c.inject)(c.APP_ID)+"-"+Re++}describe(V,Q,be){if(!this._canBeDescribed(V,Q))return;const dt=de(Q,be);"string"!=typeof Q?(H(Q,this._id),this._messageRegistry.set(dt,{messageElement:Q,referenceCount:0})):this._messageRegistry.has(dt)||this._createMessageElement(Q,be),this._isElementDescribedByMessage(V,dt)||this._addMessageReference(V,dt)}removeDescription(V,Q,be){if(!Q||!this._isElementNode(V))return;const dt=de(Q,be);if(this._isElementDescribedByMessage(V,dt)&&this._removeMessageReference(V,dt),"string"==typeof Q){const Rt=this._messageRegistry.get(dt);Rt&&0===Rt.referenceCount&&this._deleteMessageElement(dt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const V=this._document.querySelectorAll(`[${Ce}="${this._id}"]`);for(let Q=0;Q0!=be.indexOf(U));V.setAttribute("aria-describedby",Q.join(" "))}_addMessageReference(V,Q){const be=this._messageRegistry.get(Q);$(V,"aria-describedby",be.messageElement.id),V.setAttribute(Ce,this._id),be.referenceCount++}_removeMessageReference(V,Q){const be=this._messageRegistry.get(Q);be.referenceCount--,ee(V,"aria-describedby",be.messageElement.id),V.removeAttribute(Ce)}_isElementDescribedByMessage(V,Q){const be=ie(V,"aria-describedby"),dt=this._messageRegistry.get(Q),Rt=dt&&dt.messageElement.id;return!!Rt&&-1!=be.indexOf(Rt)}_canBeDescribed(V,Q){if(!this._isElementNode(V))return!1;if(Q&&"object"==typeof Q)return!0;const be=null==Q?"":`${Q}`.trim(),dt=V.getAttribute("aria-label");return!(!be||dt&&dt.trim()===be)}_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 de(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 be=V.toArray().indexOf(this._activeItem);be>-1&&be!==this._activeItemIndex&&(this._activeItemIndex=be)}}))}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 Q=this._getItemsArray();for(let be=1;be!F[dt]||this._allowedModifierKeys.indexOf(dt)>-1);switch(V){case u.Mf:return void this.tabOut.next();case u.JH:if(this._vertical&&be){this.setNextItemActive();break}return;case u.LH:if(this._vertical&&be){this.setPreviousItemActive();break}return;case u.SV:if(this._horizontal&&be){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case u.oh:if(this._horizontal&&be){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case u.Sd:if(this._homeAndEnd&&be){this.setFirstItemActive();break}return;case u.uR:if(this._homeAndEnd&&be){this.setLastItemActive();break}return;case u.Ku:if(this._pageUpAndDown.enabled&&be){const dt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(dt>0?dt:0,1);break}return;case u.VM:if(this._pageUpAndDown.enabled&&be){const dt=this._activeItemIndex+this._pageUpAndDown.delta,Rt=this._getItemsArray().length;this._setActiveItemByIndex(dt=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(),Q="number"==typeof F?F:V.indexOf(F);this._activeItem=V[Q]??null,this._activeItemIndex=Q}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 Q=1;Q<=V.length;Q++){const be=(this._activeItemIndex+F*Q+V.length)%V.length;if(!this._skipPredicateFn(V[be]))return void this.setActiveItem(be)}}_setActiveInDefaultMode(F){this._setActiveItemByIndex(this._activeItemIndex+F,F)}_setActiveItemByIndex(F,V){const Q=this._getItemsArray();if(Q[F]){for(;this._skipPredicateFn(Q[F]);)if(!Q[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 Q=function G(De){try{return De.frameElement}catch{return null}}(function _t(De){return De.ownerDocument&&De.ownerDocument.defaultView||window}(V));if(Q&&(-1===tt(Q)||!this.isVisible(Q)))return!1;let be=V.nodeName.toLowerCase(),dt=tt(V);return V.hasAttribute("contenteditable")?-1!==dt:!("iframe"===be||"object"===be||this._platform.WEBKIT&&this._platform.IOS&&!function Ct(De){let F=De.nodeName.toLowerCase(),V="input"===F&&De.type;return"text"===V||"password"===V||"select"===F||"textarea"===F}(V))&&("audio"===be?!!V.hasAttribute("controls")&&-1!==dt:"video"===be?-1!==dt&&(null!==dt||this._platform.FIREFOX||V.hasAttribute("controls")):V.tabIndex>=0)}isFocusable(V,Q){return function Nt(De){return!function ve(De){return function Ze(De){return"input"==De.nodeName.toLowerCase()}(De)&&"hidden"==De.type}(De)&&(function ae(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")||Ge(De))}(V)&&!this.isDisabled(V)&&(Q?.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 Ge(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(!Ge(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,Q,be,dt=!1){this._element=F,this._checker=V,this._ngZone=Q,this._document=be,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,dt||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 Q=this._getFirstTabbableElement(V);return Q?.focus(F),!!Q}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 Q=0;Q=0;Q--){const be=V[Q].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(V[Q]):null;if(be)return be}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,Q,be){this._checker=V,this._ngZone=Q,this._document=be}create(V,Q=!1){return new Bt(V,this._checker,this._ngZone,this._document,Q)}}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})(),Lt=(()=>{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,Q,be){this._elementRef=V,this._focusTrapFactory=Q,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 Q=V.autoCapture;Q&&!Q.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"),K={ignoreKeys:[u.zL,u.jx,u.b2,u.MW,u.JU]},Te=(0,d.i$)({passive:!0,capture:!0});let et=(()=>{class De{get mostRecentModality(){return this._modality.value}constructor(V,Q,be,dt){this._platform=V,this._mostRecentTarget=null,this._modality=new f.X(null),this._lastTouchMs=0,this._onKeydown=Rt=>{this._options?.ignoreKeys?.some(qe=>qe===Rt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,d.sA)(Rt))},this._onMousedown=Rt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(oe(Rt)?"keyboard":"mouse"),this._mostRecentTarget=(0,d.sA)(Rt))},this._onTouchstart=Rt=>{Y(Rt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,d.sA)(Rt))},this._options={...K,...dt},this.modalityDetected=this._modality.pipe((0,y.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,x.x)()),V.isBrowser&&Q.runOutsideAngular(()=>{be.addEventListener("keydown",this._onKeydown,Te),be.addEventListener("mousedown",this._onMousedown,Te),be.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 _e(){return null}}),ut=new c.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Pe=0,mt=(()=>{class De{constructor(V,Q,be,dt){this._ngZone=Q,this._defaultOptions=dt,this._document=be,this._liveElement=V||this._createLiveElement()}announce(V,...Q){const be=this._defaultOptions;let dt,Rt;return 1===Q.length&&"number"==typeof Q[0]?Rt=Q[0]:[dt,Rt]=Q,this.clear(),clearTimeout(this._previousTimeout),dt||(dt=be&&be.politeness?be.politeness:"polite"),null==Rt&&be&&(Rt=be.duration),this._liveElement.setAttribute("aria-live",dt),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 Rt&&(this._previousTimeout=setTimeout(()=>this.clear(),Rt)),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",Q=this._document.getElementsByClassName(V),be=this._document.createElement("div");for(let dt=0;dt .cdk-overlay-container [aria-modal="true"]');for(let be=0;be{class De{constructor(V,Q,be,dt,Rt){this._ngZone=V,this._platform=Q,this._inputModalityDetector=be,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=dt,this._detectionMode=Rt?.detectionMode||0}monitor(V,Q=!1){const be=(0,S.fI)(V);if(!this._platform.isBrowser||1!==be.nodeType)return(0,h.of)();const dt=(0,d.kV)(be)||this._getDocument(),Rt=this._elementInfo.get(be);if(Rt)return Q&&(Rt.checkChildren=!0),Rt.subject;const qe={checkChildren:Q,subject:new g.x,rootNode:dt};return this._elementInfo.set(be,qe),this._registerGlobalListeners(qe),qe.subject}stopMonitoring(V){const Q=(0,S.fI)(V),be=this._elementInfo.get(Q);be&&(be.subject.complete(),this._setClasses(Q),this._elementInfo.delete(Q),this._removeGlobalListeners(be))}focusVia(V,Q,be){const dt=(0,S.fI)(V);dt===this._getDocument().activeElement?this._getClosestElementsInfo(dt).forEach(([qe,nt])=>this._originChanged(qe,Q,nt)):(this._setOrigin(Q),"function"==typeof dt.focus&&dt.focus(be))}ngOnDestroy(){this._elementInfo.forEach((V,Q)=>this.stopMonitoring(Q))}_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,Q){V.classList.toggle("cdk-focused",!!Q),V.classList.toggle("cdk-touch-focused","touch"===Q),V.classList.toggle("cdk-keyboard-focused","keyboard"===Q),V.classList.toggle("cdk-mouse-focused","mouse"===Q),V.classList.toggle("cdk-program-focused","program"===Q)}_setOrigin(V,Q=!1){this._ngZone.runOutsideAngular(()=>{this._origin=V,this._originFromTouchInteraction="touch"===V&&Q,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(V,Q){const be=this._elementInfo.get(Q),dt=(0,d.sA)(V);!be||!be.checkChildren&&Q!==dt||this._originChanged(Q,this._getFocusOrigin(dt),be)}_onBlur(V,Q){const be=this._elementInfo.get(Q);!be||be.checkChildren&&V.relatedTarget instanceof Node&&Q.contains(V.relatedTarget)||(this._setClasses(Q),this._emitOrigin(be,null))}_emitOrigin(V,Q){V.subject.observers.length&&this._ngZone.run(()=>V.subject.next(Q))}_registerGlobalListeners(V){if(!this._platform.isBrowser)return;const Q=V.rootNode,be=this._rootNodeFocusListenerCount.get(Q)||0;be||this._ngZone.runOutsideAngular(()=>{Q.addEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),Q.addEventListener("blur",this._rootNodeFocusAndBlurListener,Gt)}),this._rootNodeFocusListenerCount.set(Q,be+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,D.R)(this._stopInputModalityDetector)).subscribe(dt=>{this._setOrigin(dt,!0)}))}_removeGlobalListeners(V){const Q=V.rootNode;if(this._rootNodeFocusListenerCount.has(Q)){const be=this._rootNodeFocusListenerCount.get(Q);be>1?this._rootNodeFocusListenerCount.set(Q,be-1):(Q.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),Q.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Gt),this._rootNodeFocusListenerCount.delete(Q))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(V,Q,be){this._setClasses(V,Q),this._emitOrigin(be,Q),this._lastFocusOrigin=Q}_getClosestElementsInfo(V){const Q=[];return this._elementInfo.forEach((be,dt)=>{(dt===V||be.checkChildren&&dt.contains(V))&&Q.push([dt,be])}),Q}_isLastInteractionFromInputLabel(V){const{_mostRecentTarget:Q,mostRecentModality:be}=this._inputModalityDetector;if("mouse"!==be||!Q||Q===V||"INPUT"!==V.nodeName&&"TEXTAREA"!==V.nodeName||V.disabled)return!1;const dt=V.labels;if(dt)for(let Rt=0;Rt{class De{constructor(V,Q){this._elementRef=V,this._focusMonitor=Q,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(Q=>{this._focusOrigin=Q,this.cdkFocusChange.emit(Q)})}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(Oe))},De.\u0275dir=c.\u0275\u0275defineDirective({type:De,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),De})();const he="cdk-high-contrast-black-on-white",ge="cdk-high-contrast-white-on-black",ct="cdk-high-contrast-active";let Me=(()=>{class De{constructor(V,Q){this._platform=V,this._document=Q,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 Q=this._document.defaultView||window,be=Q&&Q.getComputedStyle?Q.getComputedStyle(V):null,dt=(be&&be.backgroundColor||"").replace(/ /g,"");switch(V.remove(),dt){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(ct,he,ge),this._hasCheckedHighContrastMode=!0;const Q=this.getHighContrastMode();1===Q?V.add(ct,he):2===Q&&V.add(ct,ge)}}}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(Me))},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:()=>h,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 h=(()=>{class b{constructor(_){this.value="ltr",this.change=new n.EventEmitter,_&&(this.value=function f(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:()=>f,Ig:()=>c,du:()=>u,fI:()=>h,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 f(v){return null==v?"":"string"==typeof v?v:`${v}px`}function h(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:()=>h});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 h{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:()=>ve,JH:()=>X,JU:()=>f,K5:()=>r,Ku:()=>l,LH:()=>E,L_:()=>_,MW:()=>ut,Mf:()=>d,SV:()=>I,Sd:()=>D,VM:()=>y,Vb:()=>ri,Z:()=>_e,ZH:()=>c,aO:()=>Ee,b2:()=>wi,hY:()=>p,jx:()=>h,oh:()=>S,uR:()=>x,xE:()=>U,zL:()=>u});const c=8,d=9,r=13,f=16,h=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,ve=65,_e=90,ut=91,wi=224;function ri(ai,...Ni){return Ni.length?Ni.some(Mt=>ai[Mt]):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),f=a(5592),h=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,Ce){this._platform=U,this._nonce=Ce,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,Ce){this._mediaMatcher=U,this._zone=Ce,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(de=>this._registerQuery(de).observable);let Ae=(0,g.a)(Re);return Ae=(0,r.z)(Ae.pipe((0,h.q)(1)),Ae.pipe((0,u.T)(1),(0,v.b)(0))),Ae.pipe((0,b.U)(de=>{const H={matches:!1,breakpoints:{}};return de.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 Ce=this._mediaMatcher.matchMedia(U),Ae={observable:new f.y(de=>{const H=W=>this._zone.run(()=>de.next(W));return Ce.addListener(H),()=>{Ce.removeListener(H)}}).pipe((0,p.O)(Ce),(0,b.U)(({matches:de})=>({query:U,matches:de})),(0,_.R)(this._destroySubject)),mql:Ce};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 f=(()=>{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})(),h=(()=>{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(f))},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(h),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:[f]}),b})()},9594:(Ie,B,a)=>{"use strict";a.d(B,{U8:()=>N,X_:()=>U,_G:()=>ae,aV:()=>Bt,pI:()=>lt,xu:()=>Le});var n=a(6672),c=a(6814),d=a(5879),g=a(2495),r=a(2831),f=a(2181),h=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,K){this._viewportRuler=ne,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=K}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,ce=ne.style,Te=this._document.body.style,et=ce.scrollBehavior||"",Dt=Te.scrollBehavior||"";this._isEnabled=!1,ce.left=this._previousHTMLStyles.left,ce.top=this._previousHTMLStyles.top,ne.classList.remove("cdk-global-scrollblock"),D&&(ce.scrollBehavior=Te.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),D&&(ce.scrollBehavior=et,Te.scrollBehavior=Dt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const K=this._document.body,ce=this._viewportRuler.getViewportSize();return K.scrollHeight>ce.height||K.scrollWidth>ce.width}}class I{constructor(ne,K,ce,Te){this._scrollDispatcher=ne,this._ngZone=K,this._viewportRuler=ce,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,f.h)(K=>!K||!this._overlayRef.overlayElement.contains(K.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ne.subscribe(()=>{const K=this._viewportRuler.getViewportScrollPosition().top;Math.abs(K-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(K=>Y.bottomK.bottom||Y.rightK.right)}function ee(Y,ne){return ne.some(K=>Y.topK.bottom||Y.leftK.right)}class ie{constructor(ne,K,ce,Te){this._scrollDispatcher=ne,this._viewportRuler=K,this._ngZone=ce,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 K=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ce,height:Te}=this._viewportRuler.getViewportSize();$(K,[{width:ce,height:Te,bottom:Te,right:ce,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(K,ce,Te,et){this._scrollDispatcher=K,this._viewportRuler=ce,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=et}}return Y.\u0275fac=function(K){return new(K||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 K=Object.keys(ne);for(const ce of K)void 0!==ne[ce]&&(this[ce]=ne[ce])}}}class Ae{constructor(ne,K){this.connectionPair=ne,this.scrollableViewProperties=K}}let W=(()=>{class Y{constructor(K){this._attachedOverlays=[],this._document=K}ngOnDestroy(){this.detach()}add(K){this.remove(K),this._attachedOverlays.push(K)}remove(K){const ce=this._attachedOverlays.indexOf(K);ce>-1&&this._attachedOverlays.splice(ce,1),0===this._attachedOverlays.length&&this.detach()}}return Y.\u0275fac=function(K){return new(K||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(K,ce){super(K),this._ngZone=ce,this._keydownListener=Te=>{const et=this._attachedOverlays;for(let Dt=et.length-1;Dt>-1;Dt--)if(et[Dt]._keydownEvents.observers.length>0){const _e=et[Dt]._keydownEvents;this._ngZone?this._ngZone.run(()=>_e.next(Te)):_e.next(Te);break}}}add(K){super.add(K),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(K){return new(K||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(K,ce,Te){super(K),this._platform=ce,this._ngZone=Te,this._cursorStyleIsSet=!1,this._pointerDownListener=et=>{this._pointerDownEventTarget=(0,r.sA)(et)},this._clickListener=et=>{const Dt=(0,r.sA)(et),_e="click"===et.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Dt;this._pointerDownEventTarget=null;const ut=this._attachedOverlays.slice();for(let Pe=ut.length-1;Pe>-1;Pe--){const mt=ut[Pe];if(mt._outsidePointerEvents.observers.length<1||!mt.hasAttached())continue;if(mt.overlayElement.contains(Dt)||mt.overlayElement.contains(_e))break;const Pt=mt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Pt.next(et)):Pt.next(et)}}}add(K){if(super.add(K),!this._isAttached){const ce=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ce)):this._addEventListeners(ce),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ce.style.cursor,ce.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const K=this._document.body;K.removeEventListener("pointerdown",this._pointerDownListener,!0),K.removeEventListener("click",this._clickListener,!0),K.removeEventListener("auxclick",this._clickListener,!0),K.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(K.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(K){K.addEventListener("pointerdown",this._pointerDownListener,!0),K.addEventListener("click",this._clickListener,!0),K.addEventListener("auxclick",this._clickListener,!0),K.addEventListener("contextmenu",this._clickListener,!0)}}return Y.\u0275fac=function(K){return new(K||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(K,ce){this._platform=ce,this._document=K}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const K="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const Te=this._document.querySelectorAll(`.${K}[platform="server"], .${K}[platform="test"]`);for(let et=0;etthis._backdropClick.next(Pt),this._backdropTransitionendHandler=Pt=>{this._disposeBackdrop(Pt.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 K=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,h.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 K?.onDestroy&&K.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),K}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,K,ce){const Te=(0,g.Eq)(K||[]).filter(et=>!!et);Te.length&&(ce?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 ae{get positions(){return this._preferredPositions}constructor(ne,K,ce,Te,et){this._viewportRuler=K,this._document=ce,this._platform=Te,this._overlayContainer=et,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,K=this._overlayRect,ce=this._viewportRect,Te=this._containerRect,et=[];let Dt;for(let _e of this._preferredPositions){let ut=this._getOriginPoint(ne,Te,_e),Pe=this._getOverlayPoint(ut,K,_e),mt=this._getOverlayFit(Pe,K,ce,_e);if(mt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(_e,ut);this._canFitWithFlexibleDimensions(mt,Pe,ce)?et.push({position:_e,origin:ut,overlayRect:K,boundingBoxRect:this._calculateBoundingBoxRect(ut,_e)}):(!Dt||Dt.overlayFit.visibleAreaut&&(ut=mt,_e=Pe)}return this._isPushed=!1,void this._applyPosition(_e.position,_e.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&&ve(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 K=this._getOriginPoint(this._originRect,this._containerRect,ne);this._applyPosition(ne,K)}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,K,ce){let Te,et;if("center"==ce.originX)Te=ne.left+ne.width/2;else{const Dt=this._isRtl()?ne.right:ne.left,_e=this._isRtl()?ne.left:ne.right;Te="start"==ce.originX?Dt:_e}return K.left<0&&(Te-=K.left),et="center"==ce.originY?ne.top+ne.height/2:"top"==ce.originY?ne.top:ne.bottom,K.top<0&&(et-=K.top),{x:Te,y:et}}_getOverlayPoint(ne,K,ce){let Te,et;return Te="center"==ce.overlayX?-K.width/2:"start"===ce.overlayX?this._isRtl()?-K.width:0:this._isRtl()?0:-K.width,et="center"==ce.overlayY?-K.height/2:"top"==ce.overlayY?0:-K.height,{x:ne.x+Te,y:ne.y+et}}_getOverlayFit(ne,K,ce,Te){const et=Ze(K);let{x:Dt,y:_e}=ne,ut=this._getOffset(Te,"x"),Pe=this._getOffset(Te,"y");ut&&(Dt+=ut),Pe&&(_e+=Pe);let Ft=0-_e,Gt=_e+et.height-ce.height,Oe=this._subtractOverflows(et.width,0-Dt,Dt+et.width-ce.width),Ke=this._subtractOverflows(et.height,Ft,Gt),he=Oe*Ke;return{visibleArea:he,isCompletelyWithinViewport:et.width*et.height===he,fitsInViewportVertically:Ke===et.height,fitsInViewportHorizontally:Oe==et.width}}_canFitWithFlexibleDimensions(ne,K,ce){if(this._hasFlexibleDimensions){const Te=ce.bottom-K.y,et=ce.right-K.x,Dt=He(this._overlayRef.getConfig().minHeight),_e=He(this._overlayRef.getConfig().minWidth);return(ne.fitsInViewportVertically||null!=Dt&&Dt<=Te)&&(ne.fitsInViewportHorizontally||null!=_e&&_e<=et)}return!1}_pushOverlayOnScreen(ne,K,ce){if(this._previousPushAmount&&this._positionLocked)return{x:ne.x+this._previousPushAmount.x,y:ne.y+this._previousPushAmount.y};const Te=Ze(K),et=this._viewportRect,Dt=Math.max(ne.x+Te.width-et.width,0),_e=Math.max(ne.y+Te.height-et.height,0),ut=Math.max(et.top-ce.top-ne.y,0),Pe=Math.max(et.left-ce.left-ne.x,0);let mt=0,Pt=0;return mt=Te.width<=et.width?Pe||-Dt:ne.xOe&&!this._isInitialRender&&!this._growAfterOpen&&(Dt=ne.y-Oe/2)}if("end"===K.overlayX&&!Te||"start"===K.overlayX&&Te)Ft=ce.width-ne.x+this._viewportMargin,mt=ne.x-this._viewportMargin;else if("start"===K.overlayX&&!Te||"end"===K.overlayX&&Te)Pt=ne.x,mt=ce.right-ne.x;else{const Gt=Math.min(ce.right-ne.x+ce.left,ne.x),Oe=this._lastBoundingBoxSize.width;mt=2*Gt,Pt=ne.x-Gt,mt>Oe&&!this._isInitialRender&&!this._growAfterOpen&&(Pt=ne.x-Oe/2)}return{top:Dt,left:Pt,bottom:_e,right:Ft,width:mt,height:et}}_setBoundingBoxStyles(ne,K){const ce=this._calculateBoundingBoxRect(ne,K);!this._isInitialRender&&!this._growAfterOpen&&(ce.height=Math.min(ce.height,this._lastBoundingBoxSize.height),ce.width=Math.min(ce.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 et=this._overlayRef.getConfig().maxHeight,Dt=this._overlayRef.getConfig().maxWidth;Te.height=(0,g.HM)(ce.height),Te.top=(0,g.HM)(ce.top),Te.bottom=(0,g.HM)(ce.bottom),Te.width=(0,g.HM)(ce.width),Te.left=(0,g.HM)(ce.left),Te.right=(0,g.HM)(ce.right),Te.alignItems="center"===K.overlayX?"center":"end"===K.overlayX?"flex-end":"flex-start",Te.justifyContent="center"===K.overlayY?"center":"bottom"===K.overlayY?"flex-end":"flex-start",et&&(Te.maxHeight=(0,g.HM)(et)),Dt&&(Te.maxWidth=(0,g.HM)(Dt))}this._lastBoundingBoxSize=ce,ve(this._boundingBox.style,Te)}_resetBoundingBoxStyles(){ve(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ve(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ne,K){const ce={},Te=this._hasExactPosition(),et=this._hasFlexibleDimensions,Dt=this._overlayRef.getConfig();if(Te){const mt=this._viewportRuler.getViewportScrollPosition();ve(ce,this._getExactOverlayY(K,ne,mt)),ve(ce,this._getExactOverlayX(K,ne,mt))}else ce.position="static";let _e="",ut=this._getOffset(K,"x"),Pe=this._getOffset(K,"y");ut&&(_e+=`translateX(${ut}px) `),Pe&&(_e+=`translateY(${Pe}px)`),ce.transform=_e.trim(),Dt.maxHeight&&(Te?ce.maxHeight=(0,g.HM)(Dt.maxHeight):et&&(ce.maxHeight="")),Dt.maxWidth&&(Te?ce.maxWidth=(0,g.HM)(Dt.maxWidth):et&&(ce.maxWidth="")),ve(this._pane.style,ce)}_getExactOverlayY(ne,K,ce){let Te={top:"",bottom:""},et=this._getOverlayPoint(K,this._overlayRect,ne);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,ce)),"bottom"===ne.overlayY?Te.bottom=this._document.documentElement.clientHeight-(et.y+this._overlayRect.height)+"px":Te.top=(0,g.HM)(et.y),Te}_getExactOverlayX(ne,K,ce){let Dt,Te={left:"",right:""},et=this._getOverlayPoint(K,this._overlayRect,ne);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,ce)),Dt=this._isRtl()?"end"===ne.overlayX?"left":"right":"end"===ne.overlayX?"right":"left","right"===Dt?Te.right=this._document.documentElement.clientWidth-(et.x+this._overlayRect.width)+"px":Te.left=(0,g.HM)(et.x),Te}_getScrollVisibility(){const ne=this._getOriginRect(),K=this._pane.getBoundingClientRect(),ce=this._scrollables.map(Te=>Te.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ee(ne,ce),isOriginOutsideView:$(ne,ce),isOverlayClipped:ee(K,ce),isOverlayOutsideView:$(K,ce)}}_subtractOverflows(ne,...K){return K.reduce((ce,Te)=>ce-Math.max(Te,0),ne)}_getNarrowedViewportRect(){const ne=this._document.documentElement.clientWidth,K=this._document.documentElement.clientHeight,ce=this._viewportRuler.getViewportScrollPosition();return{top:ce.top+this._viewportMargin,left:ce.left+this._viewportMargin,right:ce.left+ne-this._viewportMargin,bottom:ce.top+K-this._viewportMargin,width:ne-2*this._viewportMargin,height:K-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ne,K){return"x"===K?null==ne.offsetX?this._offsetX:ne.offsetX:null==ne.offsetY?this._offsetY:ne.offsetY}_validatePositions(){}_addPanelClasses(ne){this._pane&&(0,g.Eq)(ne).forEach(K=>{""!==K&&-1===this._appliedPanelClasses.indexOf(K)&&(this._appliedPanelClasses.push(K),this._pane.classList.add(K))})}_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 K=ne.width||0,ce=ne.height||0;return{top:ne.y,bottom:ne.y+ce,left:ne.x,right:ne.x+K,height:ce,width:K}}}function ve(Y,ne){for(let K in ne)ne.hasOwnProperty(K)&&(Y[K]=ne[K]);return Y}function He(Y){if("number"!=typeof Y&&null!=Y){const[ne,K]=Y.split(re);return K&&"px"!==K?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 Ct{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ne){const K=ne.getConfig();this._overlayRef=ne,this._width&&!K.width&&ne.updateSize({width:this._width}),this._height&&!K.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,K=this._overlayRef.hostElement.style,ce=this._overlayRef.getConfig(),{width:Te,height:et,maxWidth:Dt,maxHeight:_e}=ce,ut=!("100%"!==Te&&"100vw"!==Te||Dt&&"100%"!==Dt&&"100vw"!==Dt),Pe=!("100%"!==et&&"100vh"!==et||_e&&"100%"!==_e&&"100vh"!==_e),mt=this._xPosition,Pt=this._xOffset,Ft="rtl"===this._overlayRef.getConfig().direction;let Gt="",Oe="",Ke="";ut?Ke="flex-start":"center"===mt?(Ke="center",Ft?Oe=Pt:Gt=Pt):Ft?"left"===mt||"end"===mt?(Ke="flex-end",Gt=Pt):("right"===mt||"start"===mt)&&(Ke="flex-start",Oe=Pt):"left"===mt||"start"===mt?(Ke="flex-start",Gt=Pt):("right"===mt||"end"===mt)&&(Ke="flex-end",Oe=Pt),ne.position=this._cssPosition,ne.marginLeft=ut?"0":Gt,ne.marginTop=Pe?"0":this._topOffset,ne.marginBottom=this._bottomOffset,ne.marginRight=ut?"0":Oe,K.justifyContent=Ke,K.alignItems=Pe?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ne=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement,ce=K.style;K.classList.remove(tt),ce.justifyContent=ce.alignItems=ne.marginTop=ne.marginBottom=ne.marginLeft=ne.marginRight=ne.position="",this._overlayRef=null,this._isDisposed=!0}}let Nt=(()=>{class Y{constructor(K,ce,Te,et){this._viewportRuler=K,this._document=ce,this._platform=Te,this._overlayContainer=et}global(){return new Ct}flexibleConnectedTo(K){return new ae(K,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Y.\u0275fac=function(K){return new(K||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})(),_t=0,Bt=(()=>{class Y{constructor(K,ce,Te,et,Dt,_e,ut,Pe,mt,Pt,Ft,Gt){this.scrollStrategies=K,this._overlayContainer=ce,this._componentFactoryResolver=Te,this._positionBuilder=et,this._keyboardDispatcher=Dt,this._injector=_e,this._ngZone=ut,this._document=Pe,this._directionality=mt,this._location=Pt,this._outsideClickDispatcher=Ft,this._animationsModuleType=Gt}create(K){const ce=this._createHostElement(),Te=this._createPaneElement(ce),et=this._createPortalOutlet(Te),Dt=new U(K);return Dt.direction=Dt.direction||this._directionality.value,new Be(et,ce,Te,Dt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(K){const ce=this._document.createElement("div");return ce.id="cdk-overlay-"+_t++,ce.classList.add("cdk-overlay-pane"),K.appendChild(ce),ce}_createHostElement(){const K=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(K),K}_createPortalOutlet(K){return this._appRef||(this._appRef=this._injector.get(d.ApplicationRef)),new p.u0(K,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Y.\u0275fac=function(K){return new(K||Y)(d.\u0275\u0275inject(A),d.\u0275\u0275inject(Ee),d.\u0275\u0275inject(d.ComponentFactoryResolver),d.\u0275\u0275inject(Nt),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"}],Lt=new d.InjectionToken("cdk-connected-overlay-scroll-strategy");let Le=(()=>{class Y{constructor(K){this.elementRef=K}}return Y.\u0275fac=function(K){return new(K||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})(),lt=(()=>{class Y{get offsetX(){return this._offsetX}set offsetX(K){this._offsetX=K,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(K){this._offsetY=K,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(K){this._hasBackdrop=(0,g.Ig)(K)}get lockPosition(){return this._lockPosition}set lockPosition(K){this._lockPosition=(0,g.Ig)(K)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(K){this._flexibleDimensions=(0,g.Ig)(K)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(K){this._growAfterOpen=(0,g.Ig)(K)}get push(){return this._push}set push(K){this._push=(0,g.Ig)(K)}constructor(K,ce,Te,et,Dt){this._overlay=K,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(ce,Te),this._scrollStrategyFactory=et,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(K){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),K.origin&&this.open&&this._position.apply()),K.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Tt);const K=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=K.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=K.detachments().subscribe(()=>this.detach.emit()),K.keydownEvents().subscribe(ce=>{this.overlayKeydown.next(ce),ce.keyCode===x.hY&&!this.disableClose&&!(0,x.Vb)(ce)&&(ce.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ce=>{this.overlayOutsideClick.next(ce)})}_buildConfig(){const K=this._position=this.positionStrategy||this._createPositionStrategy(),ce=new U({direction:this._dir,positionStrategy:K,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(ce.width=this.width),(this.height||0===this.height)&&(ce.height=this.height),(this.minWidth||0===this.minWidth)&&(ce.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ce.minHeight=this.minHeight),this.backdropClass&&(ce.backdropClass=this.backdropClass),this.panelClass&&(ce.panelClass=this.panelClass),ce}_updatePositionStrategy(K){const ce=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 K.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ce).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const K=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(K),K}_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(K=>{this.backdropClick.emit(K)}):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(K=>{this.positionChange.emit(K),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Y.\u0275fac=function(K){return new(K||Y)(d.\u0275\u0275directiveInject(Bt),d.\u0275\u0275directiveInject(d.TemplateRef),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(Lt),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:Lt,deps:[Bt],useFactory:function ze(Y){return()=>Y.scrollStrategies.reposition()}};let N=(()=>{class Y{}return Y.\u0275fac=function(K){return new(K||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 f,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 h=["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(f)return f;if("object"!=typeof document||!document)return f=new Set(h),f;let ee=document.createElement("input");return f=new Set(h.filter(ie=>(ee.setAttribute("type",ie),ee.type===ie))),f}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,Ce,Re,Ae){super(),this.component=A,this.viewContainerRef=U,this.injector=Ce,this.componentFactoryResolver=Re,this.projectableNodes=Ae}}class p extends v{constructor(A,U,Ce,Re){super(),this.templateRef=A,this.viewContainerRef=U,this.context=Ce,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,Ce,Re,Ae){super(),this.outletElement=A,this._componentFactoryResolver=U,this._appRef=Ce,this._defaultInjector=Re,this.attachDomPortal=de=>{const H=de.element,W=this._document.createComment("dom-portal");H.parentNode.insertBefore(W,H),this.outletElement.appendChild(H),this._attachedPortal=de,super.setDisposeFn(()=>{W.parentNode&&W.parentNode.replaceChild(H,W)})},this._document=Ae}attachComponentPortal(A){const Ce=(A.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(A.component);let Re;return A.viewContainerRef?(Re=A.viewContainerRef.createComponent(Ce,A.viewContainerRef.length,A.injector||A.viewContainerRef.injector,A.projectableNodes||void 0),this.setDisposeFn(()=>Re.destroy())):(Re=Ce.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,Ce=U.createEmbeddedView(A.templateRef,A.context,{injector:A.injector});return Ce.rootNodes.forEach(Re=>this.outletElement.appendChild(Re)),Ce.detectChanges(),this.setDisposeFn(()=>{let Re=U.indexOf(Ce);-1!==Re&&U.remove(Re)}),this._attachedPortal=A,Ce}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(A){return A.hostView.rootNodes[0]}}let S=(()=>{class ie extends p{constructor(U,Ce){super(U,Ce)}}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,Ce,Re){super(),this._componentFactoryResolver=U,this._viewContainerRef=Ce,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=Ae=>{const de=Ae.element,H=this._document.createComment("dom-portal");Ae.setAttachedHost(this),de.parentNode.insertBefore(H,de),this._getRootNode().appendChild(de),this._attachedPortal=Ae,super.setDisposeFn(()=>{H.parentNode&&H.parentNode.replaceChild(de,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 Ce=null!=U.viewContainerRef?U.viewContainerRef:this._viewContainerRef,Ae=(U.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(U.component),de=Ce.createComponent(Ae,Ce.length,U.injector||Ce.injector,U.projectableNodes||void 0);return Ce!==this._viewContainerRef&&this._getRootNode().appendChild(de.hostView.rootNodes[0]),super.setDisposeFn(()=>de.destroy()),this._attachedPortal=U,this._attachedRef=de,this.attached.emit(de),de}attachTemplatePortal(U){U.setAttachedHost(this);const Ce=this._viewContainerRef.createEmbeddedView(U.templateRef,U.context,{injector:U.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=U,this._attachedRef=Ce,this.attached.emit(Ce),Ce}_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),f=a(2438),v=(a(927),a(6410),a(8672)),b=a(2181),p=a(2831),_=a(6814),l=a(9388);let $=(()=>{class G{constructor(ae,ve,He){this._ngZone=ae,this._platform=ve,this._scrolled=new d.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=He}register(ae){this.scrollContainers.has(ae)||this.scrollContainers.set(ae,ae.elementScrolled().subscribe(()=>this._scrolled.next(ae)))}deregister(ae){const ve=this.scrollContainers.get(ae);ve&&(ve.unsubscribe(),this.scrollContainers.delete(ae))}scrolled(ae=20){return this._platform.isBrowser?new r.y(ve=>{this._globalSubscription||this._addGlobalListener();const He=ae>0?this._scrolled.pipe((0,v.e)(ae)).subscribe(ve):this._scrolled.subscribe(ve);return this._scrolledCount++,()=>{He.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,g.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ae,ve)=>this.deregister(ve)),this._scrolled.complete()}ancestorScrolled(ae,ve){const He=this.getAncestorScrollContainers(ae);return this.scrolled(ve).pipe((0,b.h)(Ze=>!Ze||He.indexOf(Ze)>-1))}getAncestorScrollContainers(ae){const ve=[];return this.scrollContainers.forEach((He,Ze)=>{this._scrollableContainsElement(Ze,ae)&&ve.push(Ze)}),ve}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ae,ve){let He=(0,n.fI)(ve),Ze=ae.getElementRef().nativeElement;do{if(He==Ze)return!0}while(He=He.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ae=this._getWindow();return(0,f.R)(ae.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return G.\u0275fac=function(ae){return new(ae||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(ae,ve,He){this._platform=ae,this._change=new d.x,this._changeListener=Ze=>{this._change.next(Ze)},this._document=He,ve.runOutsideAngular(()=>{if(ae.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 ae=this._getWindow();ae.removeEventListener("resize",this._changeListener),ae.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ae={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ae}getViewportRect(){const ae=this.getViewportScrollPosition(),{width:ve,height:He}=this.getViewportSize();return{top:ae.top,left:ae.left,bottom:ae.top+He,right:ae.left+ve,height:He,width:ve}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ae=this._document,ve=this._getWindow(),He=ae.documentElement,Ze=He.getBoundingClientRect();return{top:-Ze.top||ae.body.scrollTop||ve.scrollY||He.scrollTop||0,left:-Ze.left||ae.body.scrollLeft||ve.scrollX||He.scrollLeft||0}}change(ae=20){return ae>0?this._change.pipe((0,v.e)(ae)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ae=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ae.innerWidth,height:ae.innerHeight}:{width:0,height:0}}}return G.\u0275fac=function(ae){return new(ae||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(ae){return new(ae||G)},G.\u0275mod=c.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=c.\u0275\u0275defineInjector({}),G})(),Be=(()=>{class G{}return G.\u0275fac=function(ae){return new(ae||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:()=>h});var n=a(2831),c=a(5879),d=a(2495),g=a(6232),r=a(8645);const f=(0,n.i$)({passive:!0});let h=(()=>{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,f),y.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(y,{subject:D,unlisten:()=>{y.removeEventListener("animationstart",E,f)}}),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:()=>f,DatePipe:()=>En,DecimalPipe:()=>Ot,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:()=>se,NgStyle:()=>Xe,NgSwitch:()=>Mt,NgSwitchCase:()=>jt,NgSwitchDefault:()=>ke,NgTemplateOutlet:()=>kt,NumberFormatStyle:()=>ie,NumberSymbol:()=>Ae,PRECONNECT_CHECK_BLOCKLIST:()=>bo,PathLocationStrategy:()=>x,PercentPipe:()=>C,PlatformLocation:()=>h,Plural:()=>A,SlicePipe:()=>Zt,TitleCasePipe:()=>Fi,TranslationWidth:()=>Ce,UpperCasePipe:()=>Gi,VERSION:()=>St,ViewportScroller:()=>Ht,WeekDay:()=>de,XhrFactory:()=>Vn,formatCurrency:()=>Vi,formatDate:()=>et,formatNumber:()=>xt,formatPercent:()=>Yi,getCurrencySymbol:()=>ze,getLocaleCurrencyCode:()=>tt,getLocaleCurrencyName:()=>Ge,getLocaleCurrencySymbol:()=>Qe,getLocaleDateFormat:()=>re,getLocaleDateTimeFormat:()=>ve,getLocaleDayNames:()=>pe,getLocaleDayPeriods:()=>W,getLocaleDirection:()=>Lt,getLocaleEraNames:()=>Ee,getLocaleExtraDayPeriodRules:()=>Bt,getLocaleExtraDayPeriods:()=>Tt,getLocaleFirstDayOfWeek:()=>Be,getLocaleId:()=>H,getLocaleMonthNames:()=>we,getLocaleNumberFormat:()=>Ze,getLocaleNumberSymbol:()=>He,getLocalePluralCase:()=>Nt,getLocaleTimeFormat:()=>ae,getLocaleWeekEndRange:()=>G,getNumberOfCurrencyDigits:()=>N,isPlatformBrowser:()=>ir,isPlatformServer:()=>wt,isPlatformWorkerApp:()=>vt,isPlatformWorkerUi:()=>gt,provideCloudflareLoader:()=>Oo,provideCloudinaryLoader:()=>po,provideImageKitLoader:()=>go,provideImgixLoader:()=>We,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 f=new n.InjectionToken("DocumentToken");let h=(()=>{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 h{constructor(){super(),this._doc=(0,n.inject)(f),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)(f).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,$t){const Kt=this.prepareExternalUrl(ht+_($t));this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,$t){const Kt=this.prepareExternalUrl(ht+_($t));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(h),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,$t){let Kt=this.prepareExternalUrl(ht+_($t));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,$t){let Kt=this.prepareExternalUrl(ht+_($t));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(h),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||{}),Ce=function(L){return L[L.Narrow=0]="Narrow",L[L.Abbreviated=1]="Abbreviated",L[L.Wide=2]="Wide",L[L.Short=3]="Short",L}(Ce||{}),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||{}),de=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}(de||{});function H(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.LocaleId]}function W(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.DayPeriodsFormat],Ue[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],xe);return Le($t,Z)}function pe(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.DaysFormat],Ue[n.\u0275LocaleDataIndex.DaysStandalone]],xe);return Le($t,Z)}function we(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.MonthsFormat],Ue[n.\u0275LocaleDataIndex.MonthsStandalone]],xe);return Le($t,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 ae(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.TimeFormat],xe)}function ve(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 Ge(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.CurrencyName]||null}function tt(L){return(0,n.\u0275getLocaleCurrencyCode)(L)}const Nt=n.\u0275getLocalePluralCase;function _t(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 _t(xe),(xe[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Ue=>"string"==typeof Ue?lt(Ue):[lt(Ue[0]),lt(Ue[1])])}function Tt(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L);_t(Ue);const $t=Le([Ue[n.\u0275LocaleDataIndex.ExtraData][0],Ue[n.\u0275LocaleDataIndex.ExtraData][1]],xe)||[];return Le($t,Z)||[]}function Lt(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 lt(L){const[xe,Z]=L.split(":");return{hours:+xe,minutes:+Z}}function ze(L,xe,Z="en"){const Ue=function Ct(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 K=function(L){return L[L.Short=0]="Short",L[L.ShortGMT=1]="ShortGMT",L[L.Long=2]="Long",L[L.Extended=3]="Extended",L}(K||{}),ce=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}(ce||{}),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 et(L,xe,Z,Ue){let ht=function Rt(L){if(nt(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,$t=1,Kt=1]=L.split("-").map(Un=>+Un);return Dt(ht,$t-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,$t=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 $t.call(xe,Kt,Un,ki,Hi),xe}(Ue)}const xe=new Date(L);if(!nt(xe))throw new Error(`Unable to convert "${L}" into a date`);return xe}(L);xe=_e(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=Q(Ue,ki),ht=function dt(L,xe,Z){const Ue=Z?-1:1,ht=L.getTimezoneOffset();return function be(L,xe){return(L=new Date(L.getTime())).setMinutes(L.getMinutes()+xe),L}(L,Ue*(Q(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=Gt(Te.Eras,Ce.Abbreviated);break;case"GGGG":xe=Gt(Te.Eras,Ce.Wide);break;case"GGGGG":xe=Gt(Te.Eras,Ce.Narrow);break;case"y":xe=Pt(ce.FullYear,1,0,!1,!0);break;case"yy":xe=Pt(ce.FullYear,2,0,!0,!0);break;case"yyy":xe=Pt(ce.FullYear,3,0,!1,!0);break;case"yyyy":xe=Pt(ce.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=Pt(ce.Month,1,1);break;case"MM":case"LL":xe=Pt(ce.Month,2,1);break;case"MMM":xe=Gt(Te.Months,Ce.Abbreviated);break;case"MMMM":xe=Gt(Te.Months,Ce.Wide);break;case"MMMMM":xe=Gt(Te.Months,Ce.Narrow);break;case"LLL":xe=Gt(Te.Months,Ce.Abbreviated,U.Standalone);break;case"LLLL":xe=Gt(Te.Months,Ce.Wide,U.Standalone);break;case"LLLLL":xe=Gt(Te.Months,Ce.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=Pt(ce.Date,1);break;case"dd":xe=Pt(ce.Date,2);break;case"c":case"cc":xe=Pt(ce.Day,1);break;case"ccc":xe=Gt(Te.Days,Ce.Abbreviated,U.Standalone);break;case"cccc":xe=Gt(Te.Days,Ce.Wide,U.Standalone);break;case"ccccc":xe=Gt(Te.Days,Ce.Narrow,U.Standalone);break;case"cccccc":xe=Gt(Te.Days,Ce.Short,U.Standalone);break;case"E":case"EE":case"EEE":xe=Gt(Te.Days,Ce.Abbreviated);break;case"EEEE":xe=Gt(Te.Days,Ce.Wide);break;case"EEEEE":xe=Gt(Te.Days,Ce.Narrow);break;case"EEEEEE":xe=Gt(Te.Days,Ce.Short);break;case"a":case"aa":case"aaa":xe=Gt(Te.DayPeriods,Ce.Abbreviated);break;case"aaaa":xe=Gt(Te.DayPeriods,Ce.Wide);break;case"aaaaa":xe=Gt(Te.DayPeriods,Ce.Narrow);break;case"b":case"bb":case"bbb":xe=Gt(Te.DayPeriods,Ce.Abbreviated,U.Standalone,!0);break;case"bbbb":xe=Gt(Te.DayPeriods,Ce.Wide,U.Standalone,!0);break;case"bbbbb":xe=Gt(Te.DayPeriods,Ce.Narrow,U.Standalone,!0);break;case"B":case"BB":case"BBB":xe=Gt(Te.DayPeriods,Ce.Abbreviated,U.Format,!0);break;case"BBBB":xe=Gt(Te.DayPeriods,Ce.Wide,U.Format,!0);break;case"BBBBB":xe=Gt(Te.DayPeriods,Ce.Narrow,U.Format,!0);break;case"h":xe=Pt(ce.Hours,1,-12);break;case"hh":xe=Pt(ce.Hours,2,-12);break;case"H":xe=Pt(ce.Hours,1);break;case"HH":xe=Pt(ce.Hours,2);break;case"m":xe=Pt(ce.Minutes,1);break;case"mm":xe=Pt(ce.Minutes,2);break;case"s":xe=Pt(ce.Seconds,1);break;case"ss":xe=Pt(ce.Seconds,2);break;case"S":xe=Pt(ce.FractionalSeconds,1);break;case"SS":xe=Pt(ce.FractionalSeconds,2);break;case"SSS":xe=Pt(ce.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":xe=Ke(K.Short);break;case"ZZZZZ":xe=Ke(K.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":xe=Ke(K.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":xe=Ke(K.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 _e(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=ae(L,Re.Short);break;case"mediumTime":Ue=ae(L,Re.Medium);break;case"longTime":Ue=ae(L,Re.Long);break;case"fullTime":Ue=ae(L,Re.Full);break;case"short":const ht=_e(L,"shortTime"),$t=_e(L,"shortDate");Ue=ut(ve(L,Re.Short),[ht,$t]);break;case"medium":const Kt=_e(L,"mediumTime"),Un=_e(L,"mediumDate");Ue=ut(ve(L,Re.Medium),[Kt,Un]);break;case"long":const ki=_e(L,"longTime"),Hi=_e(L,"longDate");Ue=ut(ve(L,Re.Long),[ki,Hi]);break;case"full":const Ci=_e(L,"fullTime"),Jn=_e(L,"fullDate");Ue=ut(ve(L,Re.Full),[Ci,Jn])}return Ue&&(Y[Z][xe]=Ue),Ue}function ut(L,xe){return xe&&(L=L.replace(/\{([^}]+)}/g,function(Z,Ue){return null!=xe&&Ue in xe?xe[Ue]:Z})),L}function Pe(L,xe,Z="-",Ue,ht){let $t="";(L<0||ht&&L<=0)&&(ht?L=1-L:(L=-L,$t=Z));let Kt=String(L);for(;Kt.length0||Un>-Z)&&(Un+=Z),L===ce.Hours)0===Un&&-12===Z&&(Un=12);else if(L===ce.FractionalSeconds)return function mt(L,xe){return Pe(L,3).substring(0,xe)}(Un,xe);const ki=He(Kt,Ae.MinusSign);return Pe(Un,xe,ki,Ue,ht)}}function Gt(L,xe,Z=U.Format,Ue=!1){return function(ht,$t){return function Oe(L,xe,Z,Ue,ht,$t){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($t){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 K.Short:return(ht>=0?"+":"")+Pe(Kt,2,$t)+Pe(Math.abs(ht%60),2,$t);case K.ShortGMT:return"GMT"+(ht>=0?"+":"")+Pe(Kt,1,$t);case K.Long:return"GMT"+(ht>=0?"+":"")+Pe(Kt,2,$t)+":"+Pe(Math.abs(ht%60),2,$t);case K.Extended:return 0===Ue?"Z":(ht>=0?"+":"")+Pe(Kt,2,$t)+":"+Pe(Math.abs(ht%60),2,$t);default:throw new Error(`Unknown zone width "${L}"`)}}}const he=0,ge=4;function Me(L){return Dt(L.getFullYear(),L.getMonth(),L.getDate()+(ge-L.getDay()))}function Ye(L,xe=!1){return function(Z,Ue){let ht;if(xe){const $t=new Date(Z.getFullYear(),Z.getMonth(),1).getDay()-1,Kt=Z.getDate();ht=1+Math.floor((Kt+$t)/7)}else{const $t=Me(Z),Kt=function ct(L){const xe=Dt(L,he,1).getDay();return Dt(L,0,1+(xe<=ge?ge:ge+7)-xe)}($t.getFullYear()),Un=$t.getTime()-Kt.getTime();ht=1+Math.round(Un/6048e5)}return Pe(ht,L,He(Ue,Ae.MinusSign))}}function De(L,xe=!1){return function(Z,Ue){return Pe(Me(Z).getFullYear(),L,He(Ue,Ae.MinusSign),xe)}}const F={};function Q(L,xe){L=L.replace(/:/g,"");const Z=Date.parse("Jan 01, 1970 00:00:00 "+L)/6e4;return isNaN(Z)?xe:Z}function nt(L){return L instanceof Date&&!isNaN(L.valueOf())}const Ve=/^(\d+)?\.((\d+)(-(\d+))?)?$/,yt=22,At=".",on="0",xn=";",Sn=",",_n="#",Mn="\xa4",xi="%";function fi(L,xe,Z,Ue,ht,$t,Kt=!1){let Un="",ki=!1;if(isFinite(L)){let Hi=function qt(L){let Ue,ht,$t,Kt,Un,xe=Math.abs(L)+"",Z=0;for((ht=xe.indexOf(At))>-1&&(xe=xe.replace(At,"")),($t=xe.search(/e/i))>0?(ht<0&&(ht=$t),ht+=+xe.slice($t+1),xe=xe.substring(0,$t)):ht<0&&(ht=xe.length),$t=0;xe.charAt($t)===on;$t++);if($t===(Un=xe.length))Ue=[0],ht=1;else{for(Un--;xe.charAt(Un)===on;)Un--;for(ht-=$t,Ue=[],Kt=0;$t<=Un;$t++,Kt++)Ue[Kt]=Number(xe.charAt($t))}return ht>yt&&(Ue=Ue.splice(0,yt-1),Z=ht-1,ht=1),{digits:Ue,exponent:Z,integerLen:ht}}(L);Kt&&(Hi=function pt(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($t){const pr=$t.match(Ve);if(null===pr)throw new Error(`${$t} 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 $t=Math.min(Math.max(xe,ht),Z);let Kt=$t+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=bt(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,bt(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 xt(L,xe,Z){return fi(L,bt(Ze(xe,ie.Decimal),He(xe,Ae.MinusSign)),xe,Ae.Group,Ae.Decimal,Z)}function bt(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],$t=Ue[1],Kt=-1!==ht.indexOf(At)?ht.split(At):[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(Nt(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,$t]=-1==Ue?[Z,""]:[Z.slice(0,Ue),Z.slice(Ue+1)];if(ht.trim()===xe)return decodeURIComponent($t)}return null}const $n=/\s+/,ti=[];let an=(()=>{class L{constructor(Z,Ue,ht,$t){this._iterableDiffers=Z,this._keyValueDiffers=Ue,this._ngEl=ht,this._renderer=$t,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:$t}=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)):$t?$t.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,$t,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===$t?void 0:$t);else if(null!==$t){const Un=Ue.get($t);Ue.move(Un,Kt),mi(Un,ht)}});for(let ht=0,$t=Ue.length;ht<$t;ht++){const Un=Ue.get(ht).context;Un.index=ht,Un.count=$t,Un.ngForOf=this._ngForOf}Z.forEachIdentityChange(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 Mt=(()=>{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(Mt,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(Mt,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})(),se=(()=>{class L{constructor(Z,Ue,ht,$t){this.value=Z;const Kt=!isNaN(Number(Z));$t.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,$t]=Z.split("."),Kt=-1===ht.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Ue?this._renderer.setStyle(this._ngEl.nativeElement,ht,$t?`${Ue}${$t}`: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})(),kt=(()=>{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:$t,ngTemplateOutletInjector:Kt}=this;this._viewRef=Ue.createEmbeddedView(ht,$t,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,$t){if(null==Z||""===Z||Z!=Z)return null;try{return et(Z,Ue??this.defaultOptions?.dateFormat??"mediumDate",$t||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),$t=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||$t)&&(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(!Ne(Z))return null;ht=ht||this._locale;try{return xt(ot(Z),ht,Ue)}catch($t){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(!Ne(Z))return null;ht=ht||this._locale;try{return Yi(ot(Z),ht,Ue)}catch($t){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",$t,Kt){if(!Ne(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(ot(Z),Kt,Un,Ue,$t)}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 Ne(L){return!(null==L||""===L||L!=L)}function ot(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 gt(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)(f),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 $t=ht.shadowRoot;if($t){const Kt=$t.getElementById(xe)||$t.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,$t=this.offset();this.window.scrollTo(Ue-$t[0],ht-$t[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 We=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)(f)}createPreloadLinkTag(Z,Ue,ht,$t){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"),$t&&Z.setAttribute(Kt,"imageSizes",$t),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 $t=Z?parseFloat(ht):parseFloat(ht)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:$t})} ${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($t=>$t>=640)),Ue.map($t=>`${this.callImageLoader({src:this.ngSrc,width:$t})} ${$t}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:()=>Ge,HTTP_INTERCEPTORS:()=>Lt,HttpBackend:()=>x,HttpClient:()=>ve,HttpClientJsonpModule:()=>xn,HttpClientModule:()=>on,HttpClientXsrfModule:()=>At,HttpContext:()=>Ce,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:()=>Pt,HttpXsrfTokenExtractor:()=>ge,JsonpClientBackend:()=>Dt,JsonpInterceptor:()=>ut,provideHttpClient:()=>V,withFetch:()=>yt,withInterceptors:()=>Q,withInterceptorsFromDi:()=>dt,withJsonpSupport:()=>nt,withNoXsrfProtection:()=>qe,withRequestsMadeViaParent:()=>Ve,withXsrfConfiguration:()=>Rt,\u0275HttpInterceptingHandler:()=>at,\u0275HttpInterceptorHandler:()=>at,\u0275withHttpTransferCache:()=>Yi});var n=a(5861),c=a(5879),d=a(2096),g=a(5592),r=a(2459),f=a(6328),h=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(bt){this.normalizedNames=new Map,this.lazyUpdate=null,bt?"string"==typeof bt?this.lazyInit=()=>{this.headers=new Map,bt.split("\n").forEach(pt=>{const qt=pt.indexOf(":");if(qt>0){const nn=pt.slice(0,qt),cn=nn.toLowerCase(),sn=pt.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"&&bt instanceof Headers?(this.headers=new Map,bt.forEach((pt,qt)=>{this.setHeaderEntries(qt,pt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(bt).forEach(([pt,qt])=>{this.setHeaderEntries(pt,qt)})}:this.headers=new Map}has(bt){return this.init(),this.headers.has(bt.toLowerCase())}get(bt){this.init();const pt=this.headers.get(bt.toLowerCase());return pt&&pt.length>0?pt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(bt){return this.init(),this.headers.get(bt.toLowerCase())||null}append(bt,pt){return this.clone({name:bt,value:pt,op:"a"})}set(bt,pt){return this.clone({name:bt,value:pt,op:"s"})}delete(bt,pt){return this.clone({name:bt,value:pt,op:"d"})}maybeSetNormalizedName(bt,pt){this.normalizedNames.has(pt)||this.normalizedNames.set(pt,bt)}init(){this.lazyInit&&(this.lazyInit instanceof D?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(bt=>this.applyUpdate(bt)),this.lazyUpdate=null))}copyFrom(bt){bt.init(),Array.from(bt.headers.keys()).forEach(pt=>{this.headers.set(pt,bt.headers.get(pt)),this.normalizedNames.set(pt,bt.normalizedNames.get(pt))})}clone(bt){const pt=new D;return pt.lazyInit=this.lazyInit&&this.lazyInit instanceof D?this.lazyInit:this,pt.lazyUpdate=(this.lazyUpdate||[]).concat([bt]),pt}applyUpdate(bt){const pt=bt.name.toLowerCase();switch(bt.op){case"a":case"s":let qt=bt.value;if("string"==typeof qt&&(qt=[qt]),0===qt.length)return;this.maybeSetNormalizedName(bt.name,pt);const nn=("a"===bt.op?this.headers.get(pt):void 0)||[];nn.push(...qt),this.headers.set(pt,nn);break;case"d":const cn=bt.value;if(cn){let sn=this.headers.get(pt);if(!sn)return;sn=sn.filter(Nn=>-1===cn.indexOf(Nn)),0===sn.length?(this.headers.delete(pt),this.normalizedNames.delete(pt)):this.headers.set(pt,sn)}else this.headers.delete(pt),this.normalizedNames.delete(pt)}}setHeaderEntries(bt,pt){const qt=(Array.isArray(pt)?pt:[pt]).map(cn=>cn.toString()),nn=bt.toLowerCase();this.headers.set(nn,qt),this.maybeSetNormalizedName(bt,nn)}forEach(bt){this.init(),Array.from(this.normalizedNames.keys()).forEach(pt=>bt(this.normalizedNames.get(pt),this.headers.get(pt)))}}class E{encodeKey(bt){return ee(bt)}encodeValue(bt){return ee(bt)}decodeKey(bt){return decodeURIComponent(bt)}decodeValue(bt){return decodeURIComponent(bt)}}const X=/%(\d[a-f0-9])/gi,$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ee(xt){return encodeURIComponent(xt).replace(X,(bt,pt)=>$[pt]??bt)}function ie(xt){return`${xt}`}class A{constructor(bt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=bt.encoder||new E,bt.fromString){if(bt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function I(xt,bt){const pt=new Map;return xt.length>0&&xt.replace(/^\?/,"").split("&").forEach(nn=>{const cn=nn.indexOf("="),[sn,Nn]=-1==cn?[bt.decodeKey(nn),""]:[bt.decodeKey(nn.slice(0,cn)),bt.decodeValue(nn.slice(cn+1))],wn=pt.get(sn)||[];wn.push(Nn),pt.set(sn,wn)}),pt}(bt.fromString,this.encoder)}else bt.fromObject?(this.map=new Map,Object.keys(bt.fromObject).forEach(pt=>{const qt=bt.fromObject[pt],nn=Array.isArray(qt)?qt.map(ie):[ie(qt)];this.map.set(pt,nn)})):this.map=null}has(bt){return this.init(),this.map.has(bt)}get(bt){this.init();const pt=this.map.get(bt);return pt?pt[0]:null}getAll(bt){return this.init(),this.map.get(bt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(bt,pt){return this.clone({param:bt,value:pt,op:"a"})}appendAll(bt){const pt=[];return Object.keys(bt).forEach(qt=>{const nn=bt[qt];Array.isArray(nn)?nn.forEach(cn=>{pt.push({param:qt,value:cn,op:"a"})}):pt.push({param:qt,value:nn,op:"a"})}),this.clone(pt)}set(bt,pt){return this.clone({param:bt,value:pt,op:"s"})}delete(bt,pt){return this.clone({param:bt,value:pt,op:"d"})}toString(){return this.init(),this.keys().map(bt=>{const pt=this.encoder.encodeKey(bt);return this.map.get(bt).map(qt=>pt+"="+this.encoder.encodeValue(qt)).join("&")}).filter(bt=>""!==bt).join("&")}clone(bt){const pt=new A({encoder:this.encoder});return pt.cloneFrom=this.cloneFrom||this,pt.updates=(this.updates||[]).concat(bt),pt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(bt=>this.map.set(bt,this.cloneFrom.map.get(bt))),this.updates.forEach(bt=>{switch(bt.op){case"a":case"s":const pt=("a"===bt.op?this.map.get(bt.param):void 0)||[];pt.push(ie(bt.value)),this.map.set(bt.param,pt);break;case"d":if(void 0===bt.value){this.map.delete(bt.param);break}{let qt=this.map.get(bt.param)||[];const nn=qt.indexOf(ie(bt.value));-1!==nn&&qt.splice(nn,1),qt.length>0?this.map.set(bt.param,qt):this.map.delete(bt.param)}}}),this.cloneFrom=this.updates=null)}}class U{constructor(bt){this.defaultValue=bt}}class Ce{constructor(){this.map=new Map}set(bt,pt){return this.map.set(bt,pt),this}get(bt){return this.map.has(bt)||this.map.set(bt,bt.defaultValue()),this.map.get(bt)}delete(bt){return this.map.delete(bt),this}has(bt){return this.map.has(bt)}keys(){return this.map.keys()}}function Ae(xt){return typeof ArrayBuffer<"u"&&xt instanceof ArrayBuffer}function de(xt){return typeof Blob<"u"&&xt instanceof Blob}function H(xt){return typeof FormData<"u"&&xt instanceof FormData}class pe{constructor(bt,pt,qt,nn){let cn;if(this.url=pt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=bt.toUpperCase(),function Re(xt){switch(xt){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 Ce),this.params){const sn=this.params.toString();if(0===sn.length)this.urlWithParams=pt;else{const Nn=pt.indexOf("?");this.urlWithParams=pt+(-1===Nn?"?":Nn$n.set(ti,bt.setHeaders[ti]),wn)),bt.setParams&&(Xn=Object.keys(bt.setParams).reduce(($n,ti)=>$n.set(ti,bt.setParams[ti]),Xn)),new pe(pt,qt,cn,{params:Xn,headers:wn,context:_i,reportProgress:Nn,responseType:nn,withCredentials:sn})}}var we=function(xt){return xt[xt.Sent=0]="Sent",xt[xt.UploadProgress=1]="UploadProgress",xt[xt.ResponseHeader=2]="ResponseHeader",xt[xt.DownloadProgress=3]="DownloadProgress",xt[xt.Response=4]="Response",xt[xt.User=5]="User",xt}(we||{});class Ee{constructor(bt,pt=200,qt="OK"){this.headers=bt.headers||new D,this.status=void 0!==bt.status?bt.status:pt,this.statusText=bt.statusText||qt,this.url=bt.url||null,this.ok=this.status>=200&&this.status<300}}class Be extends Ee{constructor(bt={}){super(bt),this.type=we.ResponseHeader}clone(bt={}){return new Be({headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class G extends Ee{constructor(bt={}){super(bt),this.type=we.Response,this.body=void 0!==bt.body?bt.body:null}clone(bt={}){return new G({body:void 0!==bt.body?bt.body:this.body,headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class re extends Ee{constructor(bt){super(bt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${bt.url||"(unknown url)"}`:`Http failure response for ${bt.url||"(unknown url)"}: ${bt.status} ${bt.statusText}`,this.error=bt.error||null}}function ae(xt,bt){return{body:bt,headers:xt.headers,context:xt.context,observe:xt.observe,params:xt.params,reportProgress:xt.reportProgress,responseType:xt.responseType,withCredentials:xt.withCredentials}}let ve=(()=>{class xt{constructor(pt){this.handler=pt}request(pt,qt,nn={}){let cn;if(pt instanceof pe)cn=pt;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(pt,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,f.b)(wn=>this.handler.handle(wn)));if(pt instanceof pe||"events"===nn.observe)return sn;const Nn=sn.pipe((0,h.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(pt,qt={}){return this.request("DELETE",pt,qt)}get(pt,qt={}){return this.request("GET",pt,qt)}head(pt,qt={}){return this.request("HEAD",pt,qt)}jsonp(pt,qt){return this.request("JSONP",pt,{params:(new A).append(qt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(pt,qt={}){return this.request("OPTIONS",pt,qt)}patch(pt,qt,nn={}){return this.request("PATCH",pt,ae(nn,qt))}post(pt,qt,nn={}){return this.request("POST",pt,ae(nn,qt))}put(pt,qt,nn={}){return this.request("PUT",pt,ae(nn,qt))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(y))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const He=/^\)\]\}',?\n/;function Qe(xt){if(xt.url)return xt.url;const bt="X-Request-URL".toLocaleLowerCase();return xt.headers.get(bt)}let Ge=(()=>{class xt{constructor(){this.fetchImpl=(0,c.inject)(tt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,c.inject)(c.NgZone)}handle(pt){return new g.y(qt=>{const nn=new AbortController;return this.doRequest(pt,nn.signal,qt).then(Ct,cn=>qt.error(new re({error:cn}))),()=>nn.abort()})}doRequest(pt,qt,nn){var cn=this;return(0,n.Z)(function*(){const sn=cn.createRequestInit(pt);let Nn;try{const mn=cn.fetchImpl(pt.urlWithParams,{signal:qt,...sn});(function Nt(xt){xt.then(Ct,Ct)})(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:pt.urlWithParams,headers:mn.headers}))}const wn=new D(Nn.headers),Xn=Nn.statusText,_i=Qe(Nn)??pt.urlWithParams;let $n=Nn.status,ti=null;if(pt.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,pt.reportProgress){Yn="text"===pt.responseType?(Yn??"")+(mi??=new TextDecoder).decode(Ni,{stream:!0}):void 0;const Mt=()=>nn.next({type:we.DownloadProgress,total:mn?+mn:void 0,loaded:Wn,partialText:Yn});wi?wi.run(Mt):Mt()}}}));const ri=cn.concatChunks(Tn,Wn);try{ti=cn.parseBody(pt,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)??pt.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(pt,qt){switch(pt.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(pt){const qt={},nn=pt.withCredentials?"include":void 0;if(pt.headers.forEach((cn,sn)=>qt[cn]=sn.join(",")),qt.Accept??="application/json, text/plain, */*",!qt["Content-Type"]){const cn=pt.detectContentTypeHeader();null!==cn&&(qt["Content-Type"]=cn)}return{body:pt.serializeBody(),method:pt.method,headers:qt,credentials:nn}}concatChunks(pt,qt){const nn=new Uint8Array(qt);let cn=0;for(const sn of pt)nn.set(sn,cn),cn+=sn.length;return nn}}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();class tt{}function Ct(){}function _t(xt,bt){return bt(xt)}function Bt(xt,bt){return(pt,qt)=>bt.intercept(pt,{handle:nn=>xt(nn,qt)})}const Lt=new c.InjectionToken(""),Le=new c.InjectionToken(""),lt=new c.InjectionToken("");function ze(){let xt=null;return(bt,pt)=>{null===xt&&(xt=((0,c.inject)(Lt,{optional:!0})??[]).reduceRight(Bt,_t));const qt=(0,c.inject)(c.\u0275InitialRenderPendingTasks),nn=qt.add();return xt(bt,pt).pipe((0,v.x)(()=>qt.remove(nn)))}}let oe,at=(()=>{class xt extends y{constructor(pt,qt){super(),this.backend=pt,this.injector=qt,this.chain=null,this.pendingTasks=(0,c.inject)(c.\u0275InitialRenderPendingTasks)}handle(pt){if(null===this.chain){const nn=Array.from(new Set([...this.injector.get(Le),...this.injector.get(lt,[])]));this.chain=nn.reduceRight((cn,sn)=>function Tt(xt,bt,pt){return(qt,nn)=>pt.runInContext(()=>bt(qt,cn=>xt(cn,nn)))}(cn,sn,this.injector),_t)}const qt=this.pendingTasks.add();return this.chain(pt,nn=>this.backend.handle(nn)).pipe((0,v.x)(()=>this.pendingTasks.remove(qt)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(x),c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})(),N=0;class Te{}function et(){return"object"==typeof window?window:{}}let Dt=(()=>{class xt{constructor(pt,qt){this.callbackMap=pt,this.document=qt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+N++}handle(pt){if("JSONP"!==pt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==pt.responseType)throw new Error("JSONP requests must use Json response type.");if(pt.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new g.y(qt=>{const nn=this.nextCallback(),cn=pt.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(pt){oe||(oe=this.document.implementation.createHTMLDocument()),oe.adoptNode(pt)}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(Te),c.\u0275\u0275inject(l.DOCUMENT))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();function _e(xt,bt){return"JSONP"===xt.method?(0,c.inject)(Dt).handle(xt):bt(xt)}let ut=(()=>{class xt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>_e(pt,nn=>qt.handle(nn)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const Pe=/^\)\]\}',?\n/;let Pt=(()=>{class xt{constructor(pt){this.xhrFactory=pt}handle(pt){if("JSONP"===pt.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(pt.method,pt.urlWithParams),pt.withCredentials&&(sn.withCredentials=!0),pt.headers.forEach((Tn,Rn)=>sn.setRequestHeader(Tn,Rn.join(","))),pt.headers.has("Accept")||sn.setRequestHeader("Accept","application/json, text/plain, */*"),!pt.headers.has("Content-Type")){const Tn=pt.detectContentTypeHeader();null!==Tn&&sn.setRequestHeader("Content-Type",Tn)}if(pt.responseType){const Tn=pt.responseType.toLowerCase();sn.responseType="json"!==Tn?Tn:"text"}const Nn=pt.serializeBody();let wn=null;const Xn=()=>{if(null!==wn)return wn;const Tn=sn.statusText||"OK",Rn=new D(sn.getAllResponseHeaders()),Wn=function mt(xt){return"responseURL"in xt&&xt.responseURL?xt.responseURL:/^X-Request-URL:/m.test(xt.getAllResponseHeaders())?xt.getResponseHeader("X-Request-URL"):null}(sn)||pt.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"===pt.responseType&&"string"==typeof Yn){const ri=Yn;Yn=Yn.replace(Pe,"");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"===pt.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),pt.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),pt.reportProgress&&(sn.removeEventListener("progress",an),null!==Nn&&sn.upload&&sn.upload.removeEventListener("progress",mn)),sn.readyState!==sn.DONE&&sn.abort()}})))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(l.XhrFactory))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const Ft=new c.InjectionToken("XSRF_ENABLED"),Gt="XSRF-TOKEN",Oe=new c.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Gt}),Ke="X-XSRF-TOKEN",he=new c.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Ke});class ge{}let ct=(()=>{class xt{constructor(pt,qt,nn){this.doc=pt,this.platform=qt,this.cookieName=nn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const pt=this.doc.cookie||"";return pt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.\u0275parseCookieValue)(pt,this.cookieName),this.lastCookieString=pt),this.lastToken}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(c.PLATFORM_ID),c.\u0275\u0275inject(Oe))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();function Me(xt,bt){const pt=xt.url.toLowerCase();if(!(0,c.inject)(Ft)||"GET"===xt.method||"HEAD"===xt.method||pt.startsWith("http://")||pt.startsWith("https://"))return bt(xt);const qt=(0,c.inject)(ge).getToken(),nn=(0,c.inject)(he);return null!=qt&&!xt.headers.has(nn)&&(xt=xt.clone({headers:xt.headers.set(nn,qt)})),bt(xt)}let Ye=(()=>{class xt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>Me(pt,nn=>qt.handle(nn)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();var De=function(xt){return xt[xt.Interceptors=0]="Interceptors",xt[xt.LegacyInterceptors=1]="LegacyInterceptors",xt[xt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",xt[xt.NoXsrfProtection=3]="NoXsrfProtection",xt[xt.JsonpSupport=4]="JsonpSupport",xt[xt.RequestsMadeViaParent=5]="RequestsMadeViaParent",xt[xt.Fetch=6]="Fetch",xt}(De||{});function F(xt,bt){return{\u0275kind:xt,\u0275providers:bt}}function V(...xt){const bt=[ve,Pt,at,{provide:y,useExisting:at},{provide:x,useExisting:Pt},{provide:Le,useValue:Me,multi:!0},{provide:Ft,useValue:!0},{provide:ge,useClass:ct}];for(const pt of xt)bt.push(...pt.\u0275providers);return(0,c.makeEnvironmentProviders)(bt)}function Q(xt){return F(De.Interceptors,xt.map(bt=>({provide:Le,useValue:bt,multi:!0})))}const be=new c.InjectionToken("LEGACY_INTERCEPTOR_FN");function dt(){return F(De.LegacyInterceptors,[{provide:be,useFactory:ze},{provide:Le,useExisting:be,multi:!0}])}function Rt({cookieName:xt,headerName:bt}){const pt=[];return void 0!==xt&&pt.push({provide:Oe,useValue:xt}),void 0!==bt&&pt.push({provide:he,useValue:bt}),F(De.CustomXsrfConfiguration,pt)}function qe(){return F(De.NoXsrfProtection,[{provide:Ft,useValue:!1}])}function nt(){return F(De.JsonpSupport,[Dt,{provide:Te,useFactory:et},{provide:Le,useValue:_e,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,[Ge,{provide:x,useExisting:Ge}])}let At=(()=>{class xt{static disable(){return{ngModule:xt,providers:[qe().\u0275providers]}}static withOptions(pt={}){return{ngModule:xt,providers:Rt(pt).\u0275providers}}}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[Ye,{provide:Lt,useExisting:Ye,multi:!0},{provide:ge,useClass:ct},Rt({cookieName:Gt,headerName:Ke}).\u0275providers,{provide:Ft,useValue:!0}]}),xt})(),on=(()=>{class xt{}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[V(dt())]}),xt})(),xn=(()=>{class xt{}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[nt().\u0275providers]}),xt})();const Sn=new c.InjectionToken(""),_n=["GET","HEAD"];function Mn(xt,bt){const{isCacheActive:pt}=(0,c.inject)(Sn);if(!pt||!_n.includes(xt.method))return bt(xt);const qt=(0,c.inject)(c.TransferState),nn=function fi(xt){const{params:bt,method:pt,responseType:qt,url:nn}=xt,Nn=function Vi(xt){let bt=0;for(const pt of xt)bt=Math.imul(31,bt)+pt.charCodeAt(0)<<0;return bt+=2147483648,bt.toString()}(pt+"."+qt+"."+nn+"?"+bt.keys().sort().map(wn=>`${wn}=${bt.getAll(wn)}`).join("&"));return(0,c.makeStateKey)(Nn)}(xt),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 bt(xt).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:xt.responseType})}))}function xi(xt){const bt={};for(const pt of xt.keys()){const qt=xt.getAll(pt);null!==qt&&(bt[pt]=qt)}return bt}function Yi(){return[{provide:Sn,useFactory:()=>((0,c.inject)(c.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:lt,useValue:Mn,multi:!0,deps:[c.TransferState,Sn]},{provide:c.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const xt=(0,c.inject)(c.ApplicationRef),bt=(0,c.inject)(Sn);return()=>{xt.isStable.pipe((0,_.P)(pt=>pt)).toPromise().then(()=>{bt.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:()=>ce,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:()=>dt,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:()=>bt,\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:()=>Rt,\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:()=>Pe,\u0275injectChangeDetectorRef:()=>j_,\u0275internalCreateApplication:()=>Nx,\u0275isBoundToModule:()=>w_,\u0275isEnvironmentProviders:()=>I,\u0275isInjectable:()=>lt,\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:()=>ue,\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:()=>Lt,\u0275\u0275defineNgModule:()=>se,\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:()=>Q,\u0275\u0275injectAttribute:()=>hc,\u0275\u0275invalidFactory:()=>Rm,\u0275\u0275invalidFactoryDep:()=>be,\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),f=a(2096),h=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 de(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 Lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Le(e){return ze(e,oe)||ze(e,ne)}function lt(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(K))?e[Y]:null}const oe=p({\u0275prov:p}),Y=p({\u0275inj:p}),ne=p({ngInjectableDef:p}),K=p({ngInjectorDef:p});var ce=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}(ce||{});let Te;function et(){return Te}function Dt(e){const t=Te;return Te=e,t}function _e(e,t,i){const o=Le(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&ce.Optional?null:void 0!==t?t:void de(l(e))}const Pe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Gt={},Oe="__NG_DI_FLAG__",Ke="ngTempTokenPath",ge=/\n/gm,Me="__source";let Ye;function F(e){const t=Ye;return Ye=e,t}function V(e,t=ce.Default){if(void 0===Ye)throw new ee(-203,!1);return null===Ye?_e(e,void 0,t):Ye.get(e,t&ce.Optional?null:void 0,t)}function Q(e,t=ce.Default){return(et()||V)(S(e),t)}function be(e){throw new ee(202,!1)}function dt(e,t=ce.Default){return Q(e,Rt(t))}function Rt(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 zt=8&o?Ut:null;if(zt&&-1!==qt(zt,ye,0)||2&o&&ye!==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 se(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 kt(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:kt(e.inputs,t),outputs:kt(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,Ot=10,C=11,te=12,Ne=13,ot=14,Zt=15,Pn=16,ji=17,Pi=18,Li=19,Qi=20,Ui=21,ir=22,wt=23,vt=24,gt=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(xt)?e[xt]: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=Pe.WeakRef??class je{constructor(t){this.ref=t}deref(){return this.ref}};function ue(e){}let Fe=0,it=null,It=!1;function Et(e){const t=it;return it=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===it)return;let t=it.producers.get(this.id);void 0===t?(t={consumerNode:it.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:it.trackingVersion},it.producers.set(this.id,t),this.consumers.set(it.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=it.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==it?.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=Et(this);let o;try{o=this.computation()}catch(s){o=pi,this.error=s}finally{Et(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=Et(null);try{return e()}finally{Et(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=Et(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=rr,this.watch(this.registerOnCleanup)}finally{Et(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 $t(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&ce.SkipSelf){let s=t,m=e;for(;!(s=s.parent,null!==s||i&ce.Host||(s=rc(m),null===s||(m=m[ot],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[ot],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 ye=0;ye<8;ye++)t[m+ye]=R[M+ye]|z[M+ye]}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[ot],-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(bt)&&(o=i[bt]),null==o&&(o=i[bt]=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&ce.Host?xh(s,0,o):Eh(t,i,o,s);try{const M=m(o);if(null!=M||o&ce.Optional)return M;de()}finally{q()}}else if("number"==typeof m){let M=null,R=Mh(e,t),z=Ko,ye=o&ce.Host?t[Zt][Ai]:null;for((-1===R||o&ce.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 $e=t[tn];if(Th(m,R,$e.data)){const ft=mb(R,t,i,M,o,ye);if(ft!==so)return ft}z=t[R+8],z!==Ko&&Ih(o,t[tn].data[R+8]===ye)&&Th(m,R,t)?(M=$e,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],$e=Hs(R,M,i,null==o?ni(R)&&sc:o!=M&&0!=(3&R.type),s&ce.Host&&m===R);return null!==$e?Ro(t,M,$e,R):so}function Hs(e,t,i,o,s){const m=e.providerIndexes,M=t.data,R=1048575&m,z=e.directiveStart,$e=m>>20,Ut=s?R+$e:e.directiveEnd;for(let zt=o?R:R+$e;zt=z&&rn.type===i)return zt}if(s){const zt=M[z];if(zt&&Ii(zt)&&zt.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 Ce(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,ce.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[xt]||dc(t),o=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==o;){const m=s[xt]||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($e){return s&&s($e,...R),($e.hasOwnProperty(Qo)?$e[Qo]:Object.defineProperty($e,Qo,{value:[]})[Qo]).push(z),o&&o($e),$e}}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,ye,$e){const ft=z.hasOwnProperty(Zo)?z[Zo]:Object.defineProperty(z,Zo,{value:[]})[Zo];for(;ft.length<=$e;)ft.push(null);return(ft[$e]=ft[$e]||[]).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(ye,$e){if(void 0===ye)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const ft=ye.constructor,Ut=ft.hasOwnProperty(Xo)?ft[Xo]:Object.defineProperty(ft,Xo,{value:{}})[Xo];Ut[$e]=Ut.hasOwnProperty($e)&&Ut[$e]||[],Ut[$e].unshift(R),o&&o(ye,$e,...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=Pe.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($e=>$e&&$e.type),ye=R.map($e=>$e&&pc($e.decorators));return this._zipTypesAndAnnotations(z,ye)}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=nt(qo("Inject",e=>({token:e})),-1),Gs=nt(qo("Optional"),8),Uh=nt(qo("Self"),2),Ws=nt(qo("SkipSelf"),4),Bh=nt(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=[]),ye=s.styles.length;R&&R.forEach((ft,Ut)=>{z.push(""),M.push(o(ft).then(zt=>{z[ye+Ut]=zt,R.splice(R.indexOf(ft),1),0==R.length&&(s.styleUrls=void 0)}))});const $e=Promise.all(M).then(()=>function Nb(e){Qa.delete(e)}(m));t.push($e)}),$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=gt;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,Pe.trustedTypes))try{al=Pe.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[Ot].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=Gt){if(i===Gt){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 ye of z)Hc(ye,t,i,o)}}else{if(!m)return!1;{if(null!=m.imports&&!R){let ye;o.add(s);try{Ka(m.imports,$e=>{Hc($e,t,i,o)&&(ye||=[],ye.push($e))})}finally{}void 0!==ye&&Xf(ye,t)}if(!R){const ye=or(s)||(()=>new s);t.push({provide:s,useFactory:ye,deps:Mn},{provide:Kf,useValue:s,multi:!0},{provide:is,useValue:()=>Q(s),multi:!0})}const z=m.providers;null==z||R||zc(z,$e=>{t.push($e)})}}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,ce.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=Gt,o=ce.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(pt))return t[pt](this);o=Rt(o);const s=F(this),m=Dt(void 0);try{if(!(o&ce.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&ce.Self?ul():this.parent).get(t,i=o&ce.Optional&&i===Gt?null:i)}catch(M){if("NullInjectorError"===M.name){if((M[Ke]=M[Ke]||[]).unshift(l(t)),s)throw M;return function yt(e,t,i,o){const s=e[Ke];throw t[Me]&&s.unshift(t[Me]),e.message=function At(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(ge,"\n ")}`}("\n"+e.message,s,i,o),e.ngTokenPath=s,e[Ke]=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,ce.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=()=>Q(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"===dt(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(),dt(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[gt]),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=Et(this);this.trackingVersion++;try{t(i,o)}finally{Et(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(!et()&&!function De(){return Ye}())throw new ee(-203,!1)}const Am={\u0275\u0275defineInjectable:Bt,\u0275\u0275defineInjector:Lt,\u0275\u0275inject:Q,\u0275\u0275invalidFactoryDep:be,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(xt)||Object.defineProperty(e,xt,{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=Gt,e.NULL=new Yf,e.\u0275prov=Bt({token:e,providedIn:"any",factory:()=>Q(Vc)}),e.__NG_ELEMENT_ID__=-1,e})();function ua(e,t=ce.Default){const i=dn();return null===i?Q(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,ye,$e){const ft=t.blueprint.slice();return ft[Cn]=s,ft[En]=140|o,(null!==ye||e&&2048&e[En])&&(ft[En]|=2048),Jn(ft),ft[ei]=ft[ot]=e,ft[yi]=i,ft[Ot]=M||e&&e[Ot],ft[C]=R||e&&e[C],ft[Je]=z||e&&e[Je]||null,ft[Ai]=m,ft[Li]=function Yb(){return Kb++}(),ft[ir]=$e,ft[Qi]=ye,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;mgt&&Im(e,t,gt,!1),ci(R?2:0,s),R)m.runInContext(i,o,s);else{const ye=Et(null);try{i(o,s)}finally{Et(ye)}}}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=Et(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 $e,ye=t.inputs;!R&&null!=ye&&($e=ye[o])?(yu(e,i,$e,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,ye=>{this.all.has(ye)&&this.queue.set(ye,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??dt(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=Rt(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 $e={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",zt=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,$e,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=gt;return e[o]=t,da(i,o,2,"#host",null)}(ln,zt),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 ye=m.rendererFactory.createRenderer(t,i);let $e=16;i.signals?$e=4096:i.onPush&&($e=64);const ft=_l(s,Nm(i),null,$e,s[e.index],e,m,ye,null,null,z);return R.firstCreatePass&&gu(R,e,o.length-1),bl(s,ft),s[e.index]=ft}(OE,zt,Ri,vr,ln,$e,ft);Si=ht(zn,gt),zt&&function h1(e,t,i,o){if(o)nn(e,i,["ng-version",mm.full]);else{const{attrs:s,classes:m}=function Mt(e){const t=[],i=[];let o=1,s=2;for(;o0&&Tf(e,i,m.join(" "))}}(ft,Ri,zt,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-gt}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,ye,$e]of m.matchAll(/(f|n)(\d*)/g)){const ft=parseInt($e,10)||1;R.push(ye,ft)}return[M,...R]}(e);let s;return s=i===Xc?t[Zt][Cn]:i===qc?lu(t[Zt][Cn]):di(t[Number(i)+gt]),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-gt)):(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(),ye=Di(),$e=e+gt,ft=ye.firstCreatePass?function B1(e,t,i,o,s,m,M,R,z){const ye=t.consts,$e=da(t,e,4,M||null,Ci(ye,R));pu(t,i,$e,Ci(ye,z)),Ps(t,$e);const ft=$e.tView=mu(2,$e,o,s,m,t.directiveRegistry,t.pipeRegistry,null,t.schemas,ye,null);return null!==t.queries&&(t.queries.template(t,$e),ft.queries=t.queries.embeddedTView($e)),$e}($e,ye,z,t,i,o,s,m,M):ye.data[$e];zr(ft,!1);const Ut=bp(ye,z,ft,e);Io()&&il(ye,z,Ut,ft),br(Ut,z),bl(z,z[$e]=zm(Ut,z,Ut,ft)),oi(ft)&&hu(ye,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 $t(function As(){return Zn.lFrame.contextLView}(),gt+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=gt+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],ye=Mp(m,s,z,R,t,e);s[M]=ye;const $e=oi(z);return zr(z,!0),If(R,ye,z),32!=(32&z.flags)&&Io()&&il(m,s,ye,z),0===function Nr(){return Zn.lFrame.elementDepthCount}()&&br(ye,s),function Zr(){Zn.lFrame.elementDepthCount++}(),$e&&(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+gt,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),ye=e.firstCreatePass&&Wm(e),$e=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,$e,m,!1);const Si=i.listen(kn,s,m);ft.push(m,Si),ye&&ye.push(s,ln,zn,zn+1)}}else m=Ip(o,t,$e,m,!1);const zt=o.outputs;let rn;if(Ut&&null!==zt&&(rn=zt[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),ye=m.__ngNextListenerFn__;for(;ye;)z=Tp(t,i,ye,M)&&z,ye=ye.__ngNextListenerFn__;return s&&!1===z&&M.preventDefault(),z}}function Sp(e=1){return function rt(e){return(Zn.lFrame.contextLView=function st(e,t){for(;e>0;)t=t[ot],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 $e=e[R+1];tC(e[R],t)&&(z=!0,e[R+1]=o?id($e):td($e)),R=o?Lo($e):Ho($e)}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,ye=0,$e=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)&&(ye=!0)):$e=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;ye&&(e[o+1]=td(e[o+1])),kp(e,$e,o,!0),kp(e,$e,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,$e,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],ye=Array.isArray(z),$e=ye?z[1]:z,ft=null===$e;let Ut=i[s+1];Ut===gi&&(Ut=ft?Mn:void 0);let zt=ft?mc(Ut,o):$e===o?Ut:void 0;if(ye&&!Ol(zt)&&(zt=mc(z,o)),Ol(zt)&&(R=zt,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+gt,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 ye=dn(),$e=ba(ye,e,t,i,o,s,m,M,R,z);return $e!==gi&&xo(ye,Vt(),$e),ud}function dd(e,t,i,o,s,m,M,R,z,ye,$e){const ft=dn(),Ut=ya(ft,e,t,i,o,s,m,M,R,z,ye,$e);return Ut!==gi&&xo(ft,Vt(),Ut),dd}function hd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){const zt=dn(),rn=va(zt,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut);return rn!==gi&&xo(zt,Vt(),rn),hd}function fd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){const bn=dn(),kn=Ca(bn,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn);return kn!==gi&&xo(bn,Vt(),kn),fd}function md(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){const zn=dn(),ln=Ma(zn,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){to(Ur,uo,ya(dn(),e,t,i,o,s,m,M,R,z,ye,$e),!0)}function Jp(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){to(Ur,uo,va(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut),!0)}function e0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){to(Ur,uo,Ca(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn),!0)}function t0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){to(Ur,uo,Ma(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){Jr(ya(dn(),e,t,i,o,s,m,M,R,z,ye,$e))}function c0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){Jr(va(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut))}function u0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){Jr(Ca(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn))}function d0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){Jr(Ma(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){return eo(e,ba(dn(),t,i,o,s,m,M,R,z,ye),$e,!1),yd}function vd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){return eo(e,ya(dn(),t,i,o,s,m,M,R,z,ye,$e,ft),Ut,!1),vd}function Cd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){return eo(e,va(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt),rn,!1),Cd}function Md(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){return eo(e,Ca(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn),kn,!1),Md}function xd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn,zn,ln){return eo(e,Ma(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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]=Pe.ng&&Pe.ng.common&&Pe.ng.common.locales&&Pe.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 Ge(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,zt,rn,null)}else switch(z){case Nl:const ye=t[++R],$e=t[++R];null===i[$e]&&br(i[$e]=Dc(s,ye),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&$e){case 1:const Ut=i[++ye],zt=i[++ye],rn=e.data[ft];"string"==typeof rn?_u(t[C],t[ft],null,rn,Ut,z,zt):Br(e,rn,t,Ut,z,t[C],zt,!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 $e=bs(e,z>>>2);t[$e.currentCaseLViewIndex]<0&&D0(e,$e,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 ye=Fl(R,z);o=null!==ye?R.remove[ye]: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=[],ye=[],$e=[];t.cases.push(m),t.create.push(z),t.remove.push(ye),t.update.push($e);const Ut=Rf(es()).getInertBodyElement(M),zt=Fc(Ut)||Ut;return zt?O0(e,t,i,o,z,ye,$e,zt,s,R,0):0}function O0(e,t,i,o,s,m,M,R,z,ye,$e){let ft=0,Ut=R.firstChild;for(;Ut;){const zt=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,zt),e.data[zt]=bn;const hi=rn.attributes;for(let Si=0;Si>>Or.SHIFT;let ft=e[$e];null===ft&&(ft=e[$e]=(M&Or.COMMENT)===Or.COMMENT?s.createComment(R):el(s,R)),ye&&null!==i&&No(s,i,ft,o,!1)}})(s,z.create,$e,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+gt)}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,ye=o[z]||[];if(ye.length||(z.split("|").forEach(bn=>{const kn=bn.match(hM),zn=kn?parseInt(kn[1],10):P0,ln=dM.test(bn);ye.push([zn,ln,bn])}),o[z]=ye),!ye.length)throw new Error(`i18n postprocess: unmatched placeholder - ${z}`);const $e=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 zt=new za(z,s,ua),rn=Nd(R,t,s?$e:$e+Ut,ft);-1===rn?(uc(js(ye,M),m,R),Pd(m,e,t.length),t.push(R),ye.directiveStart++,ye.directiveEnd++,s&&(ye.providerIndexes+=1048576),i.push(zt),M.push(zt)):(i[rn]=zt,M[rn]=zt)}else{const zt=Nd(R,t,$e+Ut,ft),rn=Nd(R,t,$e,$e+Ut),kn=rn>=0&&i[rn];if(s&&!kn||!s&&!(zt>=0&&i[zt])){uc(js(ye,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),ye.directiveStart++,ye.directiveEnd++,s&&(ye.providerIndexes+=1048576),i.push(zn),M.push(zn)}else Pd(m,e,zt>-1?zt:rn,V0(i[s?rn:zt],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 ye=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const $e=ye.indexOf(i);-1===$e?ye.push(i,[o,z]):ye[$e+1].push(o,z)}else ye.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(Q(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,ye=dn(),$e=Gr(ye,z,i,o,s,m);return yr(ye,z+4,M)||$e?co(ye,z+5,R?t.call(R,i,o,s,m,M):t(i,o,s,m,M)):fs(ye,z+5)}function ag(e,t,i,o,s,m,M,R,z){const ye=hr()+e,$e=dn(),ft=Gr($e,ye,i,o,s,m);return jo($e,ye+4,M,R)||ft?co($e,ye+6,z?t.call(z,i,o,s,m,M,R):t(i,o,s,m,M,R)):fs($e,ye+6)}function sg(e,t,i,o,s,m,M,R,z,ye){const $e=hr()+e,ft=dn();let Ut=Gr(ft,$e,i,o,s,m);return xl(ft,$e+4,M,R,z)||Ut?co(ft,$e+7,ye?t.call(ye,i,o,s,m,M,R,z):t(i,o,s,m,M,R,z)):fs(ft,$e+7)}function lg(e,t,i,o,s,m,M,R,z,ye,$e){const ft=hr()+e,Ut=dn(),zt=Gr(Ut,ft,i,o,s,m);return Gr(Ut,ft+4,M,R,z,ye)||zt?co(Ut,ft+8,$e?t.call($e,i,o,s,m,M,R,z,ye):t(i,o,s,m,M,R,z,ye)):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 ye=t+i;return Gr(e,ye,s,m,M,R)?co(e,ye+4,z?o.call(z,s,m,M,R):o(s,m,M,R)):xs(e,ye+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+gt,s=dn(),m=$t(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+gt,m=dn(),M=$t(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+gt,M=dn(),R=$t(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+gt,R=dn(),z=$t(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+gt,s=dn(),m=$t(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 ye=this._declarationLView[Pi];return null!==ye&&(R[Pi]=ye.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)),ye=o||this.parentInjector;if(!m&&null==z.ngModule){const kn=(M?ye:this.parentInjector).get(Vo,null);kn&&(m=kn)}const $e=gn(z.componentType??{}),ft=xg(this._lContainer,$e?.id??null),zt=z.create(ye,s,ft?.firstChild??null,m),rn=!!ft&&!Xs(this._hostTNode);return this.insertImpl(zt.hostView,R,rn),zt}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 ye=s[ei],$e=new Eg(ye,ye[Ai],ye[ei]);$e.detach($e.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,ye);e[Jt]=$e,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 ye=m[R+1],$e=t[-z];for(let ft=On;ft<$e.length;ft++){const Ut=$e[ft];Ut[Pn]===Ut[ei]&&Kd(Ut[tn],Ut,ye,o)}if(null!==$e[vn]){const ft=$e[vn];for(let Ut=0;Ut({\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:Lt,\u0275\u0275defineNgModule:se,\u0275\u0275definePipe:un,\u0275\u0275directiveInject:ua,\u0275\u0275getInheritedFactory:Sh,\u0275\u0275inject:Q,\u0275\u0275injectAttribute:hc,\u0275\u0275invalidFactory:Rm,\u0275\u0275invalidFactoryDep:be,\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,xt,{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 ye=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&ye.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&ye.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),ye.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(ye.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 ye=$r(t.imports||Mn),{directiveDefs:$e,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 ye=Go(z);for(const $e of ye.exported.directives){const ft=gn($e)||pn($e);ft&&!M.has($e)&&(M.add($e),i.push(ft))}}else{const ye=gn(z)||pn(z);ye&&i.push(ye)}}}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 ye=Go(z);for(const $e of ye.exported.pipes){const ft=si($e);ft&&!M.has($e)&&(M.add($e),o.push(ft))}}else{const ye=si(z);ye&&o.push(ye)}}}return o}}}(e,ye);i.directiveDefs=$e,i.pipeDefs=ft,i.dependencies=()=>ye.map(S)}}finally{Jd--}if(0===Jd&&Vg(),function sx(e){return void 0!==e.ngSelectorScope}(e)){const ye=Go(e.ngSelectorScope);qd(i,ye)}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,xt,{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=dt(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:()=>dt(Wl,ce.Optional|ce.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)&&Pe){let o=Pe[h_];o||(o=Pe[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 Pe.requestAnimationFrame;let t=Pe[e?"requestAnimationFrame":"setTimeout"],i=Pe[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(Pe,()=>{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=dt(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,h.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)(Q(Ir),Q(M_),Q(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 ye=R.get(la,null);let $e;z.runOutsideAngular(()=>{$e=z.onError.subscribe({next:zt=>{ye.handleError(zt)}})});const ft=()=>R.destroy(),Ut=s.get(oh);return Ut.add(ft),R.onDestroy(()=>{$e.unsubscribe(),Ut.delete(ft)}),O_(ye,z,()=>{const zt=R.get(Gl);return zt.runInitializers(),zt.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)(Q(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=dt(N_),this.zoneIsStable=dt(b_),this.componentTypes=[],this.components=[],this.isStable=dt(c_).hasPendingTasks.pipe((0,u.w)(i=>i?(0,f.of)(!1):this.zoneIsStable),(0,v.x)(),(0,h.B)()),this._injector=dt(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),ye=M.create(Ao.NULL,[],o||M.selector,R),$e=ye.location.nativeElement,ft=ye.injector.get(v_,null);return ft?.registerApplication($e),ye.onDestroy(()=>{this.detachView(ye.hostView),Yl(this.components,ye),ft?.unregisterApplication($e)}),this._loadComponent(ye),ye}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:()=>dt(la).handleError.bind(void 0)});function Bx(){const e=dt(Ir),t=dt(la);return i=>e.runOutsideAngular(()=>t.handleError(i))}let Vx=(()=>{class e{constructor(){this.zone=dt(Ir),this.applicationRef=dt(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=dt(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 $e=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],ye=R[Ai].projection[e.projection];if(Array.isArray(ye))for(let $e of ye)ch($e,i,o,s,m);else if(ye){const $e=R[ei];Wo($e[tn].data[ye.index],$e,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)(Q(Ia))},e.\u0275mod=se({type:e}),e.\u0275inj=Lt({}),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 ye=z[Cn];ye&&!ye.hasAttribute(ta)&&(gh(ye,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&&$e===o){const ft=i[i.length-1];ft[dl]??=1,ft[dl]++}else o=$e,i.push(ye)}return i}function ph(e,t,i){const o=t.index-gt;e[tu]??={},e[tu][o]=U1(t,i)}function eb(e,t){const i=t.index-gt;e[hl]??=[],e[hl].includes(i)||e[hl].push(i)}function tb(e,t){const i={},o=e[tn];for(let s=gt;s{let e=!0;return Ql()&&(e=!!dt(rs,{optional:!0})?.get(nu,null)),e&&dt(im).add("hydration"),e}},{provide:is,useValue:()=>{Ql()&&dt(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()&&dt(us)},{provide:ah,useFactory:()=>{if(Ql()&&dt(us)){const e=dt(Ia);return dt(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:()=>dt,AbstractControlDirective:()=>_t,AbstractFormGroupDirective:()=>Mt,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:()=>Rt,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:()=>nt,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 f=(()=>{class fe{constructor(J,We){this._renderer=J,this._elementRef=We,this.onChange=Xt=>{},this.onTouched=()=>{}}setProperty(J,We){this._renderer.setProperty(this._elementRef.nativeElement,J,We)}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})(),h=(()=>{class fe extends f{}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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 h{writeValue(J){this.setProperty("checked",J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.checked)})("blur",function(){return We.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 f{constructor(J,We,Xt){super(J,We),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,We){1&J&&n.\u0275\u0275listener("input",function(Dn){return We._handleInput(Dn.target.value)})("blur",function(){return We.onTouched()})("compositionstart",function(){return We._compositionStart()})("compositionend",function(Dn){return We._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(le){return $(le)}static max(le){return ee(le)}static required(le){return ie(le)}static requiredTrue(le){return A(le)}static email(le){return U(le)}static minLength(le){return Ce(le)}static maxLength(le){return Re(le)}static pattern(le){return Ae(le)}static nullValidator(le){return null}static compose(le){return G(le)}static composeAsync(le){return ae(le)}}function $(fe){return le=>{if(x(le.value)||x(fe))return null;const J=parseFloat(le.value);return!isNaN(J)&&J{if(x(le.value)||x(fe))return null;const J=parseFloat(le.value);return!isNaN(J)&&J>fe?{max:{max:fe,actual:le.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 Ce(fe){return le=>x(le.value)||!D(le.value)?null:le.value.lengthD(le.value)&&le.value.length>fe?{maxlength:{requiredLength:fe,actualLength:le.value.length}}:null}function Ae(fe){if(!fe)return de;let le,J;return"string"==typeof fe?(J="","^"!==fe.charAt(0)&&(J+="^"),J+=fe,"$"!==fe.charAt(fe.length-1)&&(J+="$"),le=new RegExp(J)):(J=fe.toString(),le=fe),We=>{if(x(We.value))return null;const Xt=We.value;return le.test(Xt)?null:{pattern:{requiredPattern:J,actualValue:Xt}}}}function de(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 le={};return fe.forEach(J=>{le=null!=J?{...le,...J}:le}),0===Object.keys(le).length?null:le}function we(fe,le){return le.map(J=>J(fe))}function Be(fe){return fe.map(le=>function Ee(fe){return!fe.validate}(le)?le:J=>le.validate(J))}function G(fe){if(!fe)return null;const le=fe.filter(H);return 0==le.length?null:function(J){return pe(we(J,le))}}function re(fe){return null!=fe?G(Be(fe)):null}function ae(fe){if(!fe)return null;const le=fe.filter(H);return 0==le.length?null:function(J){const We=we(J,le).map(W);return(0,g.D)(We).pipe((0,r.U)(pe))}}function ve(fe){return null!=fe?ae(Be(fe)):null}function He(fe,le){return null===fe?[le]:Array.isArray(fe)?[...fe,le]:[fe,le]}function Ze(fe){return fe._rawValidators}function Qe(fe){return fe._rawAsyncValidators}function Ge(fe){return fe?Array.isArray(fe)?fe:[fe]:[]}function tt(fe,le){return Array.isArray(fe)?fe.includes(le):fe===le}function Ct(fe,le){const J=Ge(le);return Ge(fe).forEach(Xt=>{tt(J,Xt)||J.push(Xt)}),J}function Nt(fe,le){return Ge(le).filter(J=>!tt(fe,J))}class _t{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(le){this._rawValidators=le||[],this._composedValidatorFn=re(this._rawValidators)}_setAsyncValidators(le){this._rawAsyncValidators=le||[],this._composedAsyncValidatorFn=ve(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(le){this._onDestroyCallbacks.push(le)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(le=>le()),this._onDestroyCallbacks=[]}reset(le=void 0){this.control&&this.control.reset(le)}hasError(le,J){return!!this.control&&this.control.hasError(le,J)}getError(le,J){return this.control?this.control.getError(le,J):null}}class Bt extends _t{get formDirective(){return null}get path(){return null}}class Tt extends _t{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Lt{constructor(le){this._cd=le}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 Lt{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,We){2&J&&n.\u0275\u0275classProp("ng-untouched",We.isUntouched)("ng-touched",We.isTouched)("ng-pristine",We.isPristine)("ng-dirty",We.isDirty)("ng-valid",We.isValid)("ng-invalid",We.isInvalid)("ng-pending",We.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})(),at=(()=>{class fe extends Lt{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,We){2&J&&n.\u0275\u0275classProp("ng-untouched",We.isUntouched)("ng-touched",We.isTouched)("ng-pristine",We.isPristine)("ng-dirty",We.isDirty)("ng-valid",We.isValid)("ng-invalid",We.isInvalid)("ng-pending",We.isPending)("ng-submitted",We.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Ke="VALID",he="INVALID",ge="PENDING",ct="DISABLED";function Me(fe){return(V(fe)?fe.validators:fe)||null}function De(fe,le){return(V(le)?le.asyncValidators:fe)||null}function V(fe){return null!=fe&&!Array.isArray(fe)&&"object"==typeof fe}function Q(fe,le,J){const We=fe.controls;if(!(le?Object.keys(We):We).length)throw new n.\u0275RuntimeError(1e3,"");if(!We[J])throw new n.\u0275RuntimeError(1001,"")}function be(fe,le,J){fe._forEachChild((We,Xt)=>{if(void 0===J[Xt])throw new n.\u0275RuntimeError(1002,"")})}class dt{constructor(le,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(le),this._assignAsyncValidators(J)}get validator(){return this._composedValidatorFn}set validator(le){this._rawValidators=this._composedValidatorFn=le}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(le){this._rawAsyncValidators=this._composedAsyncValidatorFn=le}get parent(){return this._parent}get valid(){return this.status===Ke}get invalid(){return this.status===he}get pending(){return this.status==ge}get disabled(){return this.status===ct}get enabled(){return this.status!==ct}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(le){this._assignValidators(le)}setAsyncValidators(le){this._assignAsyncValidators(le)}addValidators(le){this.setValidators(Ct(le,this._rawValidators))}addAsyncValidators(le){this.setAsyncValidators(Ct(le,this._rawAsyncValidators))}removeValidators(le){this.setValidators(Nt(le,this._rawValidators))}removeAsyncValidators(le){this.setAsyncValidators(Nt(le,this._rawAsyncValidators))}hasValidator(le){return tt(this._rawValidators,le)}hasAsyncValidator(le){return tt(this._rawAsyncValidators,le)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(le={}){this.touched=!0,this._parent&&!le.onlySelf&&this._parent.markAsTouched(le)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(le=>le.markAllAsTouched())}markAsUntouched(le={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(J=>{J.markAsUntouched({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}markAsDirty(le={}){this.pristine=!1,this._parent&&!le.onlySelf&&this._parent.markAsDirty(le)}markAsPristine(le={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(J=>{J.markAsPristine({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}markAsPending(le={}){this.status=ge,!1!==le.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!le.onlySelf&&this._parent.markAsPending(le)}disable(le={}){const J=this._parentMarkedDirty(le.onlySelf);this.status=ct,this.errors=null,this._forEachChild(We=>{We.disable({...le,onlySelf:!0})}),this._updateValue(),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...le,skipPristineCheck:J}),this._onDisabledChange.forEach(We=>We(!0))}enable(le={}){const J=this._parentMarkedDirty(le.onlySelf);this.status=Ke,this._forEachChild(We=>{We.enable({...le,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent}),this._updateAncestors({...le,skipPristineCheck:J}),this._onDisabledChange.forEach(We=>We(!1))}_updateAncestors(le){this._parent&&!le.onlySelf&&(this._parent.updateValueAndValidity(le),le.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(le){this._parent=le}getRawValue(){return this.value}updateValueAndValidity(le={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ke||this.status===ge)&&this._runAsyncValidator(le.emitEvent)),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!le.onlySelf&&this._parent.updateValueAndValidity(le)}_updateTreeValidity(le={emitEvent:!0}){this._forEachChild(J=>J._updateTreeValidity(le)),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ct:Ke}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(le){if(this.asyncValidator){this.status=ge,this._hasOwnPendingAsyncValidator=!0;const J=W(this.asyncValidator(this));this._asyncValidationSubscription=J.subscribe(We=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(We,{emitEvent:le})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(le,J={}){this.errors=le,this._updateControlsErrors(!1!==J.emitEvent)}get(le){let J=le;return null==J||(Array.isArray(J)||(J=J.split(".")),0===J.length)?null:J.reduce((We,Xt)=>We&&We._find(Xt),this)}getError(le,J){const We=J?this.get(J):this;return We&&We.errors?We.errors[le]:null}hasError(le,J){return!!this.getError(le,J)}get root(){let le=this;for(;le._parent;)le=le._parent;return le}_updateControlsErrors(le){this.status=this._calculateStatus(),le&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(le)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?ct:this.errors?he:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ge)?ge:this._anyControlsHaveStatus(he)?he:Ke}_anyControlsHaveStatus(le){return this._anyControls(J=>J.status===le)}_anyControlsDirty(){return this._anyControls(le=>le.dirty)}_anyControlsTouched(){return this._anyControls(le=>le.touched)}_updatePristine(le={}){this.pristine=!this._anyControlsDirty(),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}_updateTouched(le={}){this.touched=this._anyControlsTouched(),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}_registerOnCollectionChange(le){this._onCollectionChange=le}_setUpdateStrategy(le){V(le)&&null!=le.updateOn&&(this._updateOn=le.updateOn)}_parentMarkedDirty(le){return!le&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(le){return null}_assignValidators(le){this._rawValidators=Array.isArray(le)?le.slice():le,this._composedValidatorFn=function Ye(fe){return Array.isArray(fe)?re(fe):fe||null}(this._rawValidators)}_assignAsyncValidators(le){this._rawAsyncValidators=Array.isArray(le)?le.slice():le,this._composedAsyncValidatorFn=function F(fe){return Array.isArray(fe)?ve(fe):fe||null}(this._rawAsyncValidators)}}class Rt extends dt{constructor(le,J,We){super(Me(J),De(We,J)),this.controls=le,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(le,J){return this.controls[le]?this.controls[le]:(this.controls[le]=J,J.setParent(this),J._registerOnCollectionChange(this._onCollectionChange),J)}addControl(le,J,We={}){this.registerControl(le,J),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}removeControl(le,J={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}setControl(le,J,We={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],J&&this.registerControl(le,J),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}contains(le){return this.controls.hasOwnProperty(le)&&this.controls[le].enabled}setValue(le,J={}){be(this,0,le),Object.keys(le).forEach(We=>{Q(this,!0,We),this.controls[We].setValue(le[We],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(le,J={}){null!=le&&(Object.keys(le).forEach(We=>{const Xt=this.controls[We];Xt&&Xt.patchValue(le[We],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(le={},J={}){this._forEachChild((We,Xt)=>{We.reset(le[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this._reduceChildren({},(le,J,We)=>(le[We]=J.getRawValue(),le))}_syncPendingControls(){let le=this._reduceChildren(!1,(J,We)=>!!We._syncPendingControls()||J);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){Object.keys(this.controls).forEach(J=>{const We=this.controls[J];We&&le(We,J)})}_setUpControls(){this._forEachChild(le=>{le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(le){for(const[J,We]of Object.entries(this.controls))if(this.contains(J)&&le(We))return!0;return!1}_reduceValue(){return this._reduceChildren({},(J,We,Xt)=>((We.enabled||this.disabled)&&(J[Xt]=We.value),J))}_reduceChildren(le,J){let We=le;return this._forEachChild((Xt,Dn)=>{We=J(We,Xt,Dn)}),We}_allControlsDisabled(){for(const le of Object.keys(this.controls))if(this.controls[le].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(le){return this.controls.hasOwnProperty(le)?this.controls[le]:null}}const qe=Rt,nt=fe=>fe instanceof Rt;class Ve extends Rt{}const yt=fe=>fe instanceof Ve,At=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>on}),on="always";function xn(fe,le){return[...le.path,fe]}function Sn(fe,le,J=on){fi(fe,le),le.valueAccessor.writeValue(fe.value),(fe.disabled||"always"===J)&&le.valueAccessor.setDisabledState?.(fe.disabled),function Yi(fe,le){le.valueAccessor.registerOnChange(J=>{fe._pendingValue=J,fe._pendingChange=!0,fe._pendingDirty=!0,"change"===fe.updateOn&&bt(fe,le)})}(fe,le),function pt(fe,le){const J=(We,Xt)=>{le.valueAccessor.writeValue(We),Xt&&le.viewToModelUpdate(We)};fe.registerOnChange(J),le._registerOnDestroy(()=>{fe._unregisterOnChange(J)})}(fe,le),function xt(fe,le){le.valueAccessor.registerOnTouched(()=>{fe._pendingTouched=!0,"blur"===fe.updateOn&&fe._pendingChange&&bt(fe,le),"submit"!==fe.updateOn&&fe.markAsTouched()})}(fe,le),function xi(fe,le){if(le.valueAccessor.setDisabledState){const J=We=>{le.valueAccessor.setDisabledState(We)};fe.registerOnDisabledChange(J),le._registerOnDestroy(()=>{fe._unregisterOnDisabledChange(J)})}}(fe,le)}function _n(fe,le,J=!0){const We=()=>{};le.valueAccessor&&(le.valueAccessor.registerOnChange(We),le.valueAccessor.registerOnTouched(We)),Vi(fe,le),fe&&(le._invokeOnDestroyCallbacks(),fe._registerOnCollectionChange(()=>{}))}function Mn(fe,le){fe.forEach(J=>{J.registerOnValidatorChange&&J.registerOnValidatorChange(le)})}function fi(fe,le){const J=Ze(fe);null!==le.validator?fe.setValidators(He(J,le.validator)):"function"==typeof J&&fe.setValidators([J]);const We=Qe(fe);null!==le.asyncValidator?fe.setAsyncValidators(He(We,le.asyncValidator)):"function"==typeof We&&fe.setAsyncValidators([We]);const Xt=()=>fe.updateValueAndValidity();Mn(le._rawValidators,Xt),Mn(le._rawAsyncValidators,Xt)}function Vi(fe,le){let J=!1;if(null!==fe){if(null!==le.validator){const Xt=Ze(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==le.validator);Dn.length!==Xt.length&&(J=!0,fe.setValidators(Dn))}}if(null!==le.asyncValidator){const Xt=Qe(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==le.asyncValidator);Dn.length!==Xt.length&&(J=!0,fe.setAsyncValidators(Dn))}}}const We=()=>{};return Mn(le._rawValidators,We),Mn(le._rawAsyncValidators,We),J}function bt(fe,le){fe._pendingDirty&&fe.markAsDirty(),fe.setValue(fe._pendingValue,{emitModelToViewChange:!1}),le.viewToModelUpdate(fe._pendingValue),fe._pendingChange=!1}function qt(fe,le){fi(fe,le)}function _i(fe,le){if(!fe.hasOwnProperty("model"))return!1;const J=fe.model;return!!J.isFirstChange()||!Object.is(le,J.currentValue)}function ti(fe,le){fe._syncPendingControls(),le.forEach(J=>{const We=J.control;"submit"===We.updateOn&&We._pendingChange&&(J.viewToModelUpdate(We._pendingValue),We._pendingChange=!1)})}function an(fe,le){if(!le)return null;let J,We,Xt;return Array.isArray(le),le.forEach(Dn=>{Dn.constructor===y?J=Dn:function $n(fe){return Object.getPrototypeOf(fe.constructor)===h}(Dn)?We=Dn:Xt=Dn}),Xt||We||J||null}const Rn={provide:Bt,useExisting:(0,n.forwardRef)(()=>mi)},Wn=(()=>Promise.resolve())();let mi=(()=>{class fe extends Bt{constructor(J,We,Xt){super(),this.callSetDisabledState=Xt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Rt({},re(J),ve(We))}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 We=this._findContainer(J.path);J.control=We.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 We=this._findContainer(J.path);We&&We.removeControl(J.name),this._directives.delete(J)})}addFormGroup(J){Wn.then(()=>{const We=this._findContainer(J.path),Xt=new Rt({});qt(Xt,J),We.registerControl(J.name,Xt),Xt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(J){Wn.then(()=>{const We=this._findContainer(J.path);We&&We.removeControl(J.name)})}getFormGroup(J){return this.form.get(J.path)}updateModel(J,We){Wn.then(()=>{this.form.get(J.path).setValue(We)})}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(At,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("submit",function(Dn){return We.onSubmit(Dn)})("reset",function(){return We.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Rn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();function Yn(fe,le){const J=fe.indexOf(le);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 dt{constructor(le=null,J,We){super(Me(J),De(We,J)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(le),this._setUpdateStrategy(J),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),V(J)&&(J.nonNullable||J.initialValueIsDefault)&&(this.defaultValue=wi(le)?le.value:le)}setValue(le,J={}){this.value=this._pendingValue=le,this._onChange.length&&!1!==J.emitModelToViewChange&&this._onChange.forEach(We=>We(this.value,!1!==J.emitViewToModelChange)),this.updateValueAndValidity(J)}patchValue(le,J={}){this.setValue(le,J)}reset(le=this.defaultValue,J={}){this._applyFormState(le),this.markAsPristine(J),this.markAsUntouched(J),this.setValue(this.value,J),this._pendingChange=!1}_updateValue(){}_anyControls(le){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(le){this._onChange.push(le)}_unregisterOnChange(le){Yn(this._onChange,le)}registerOnDisabledChange(le){this._onDisabledChange.push(le)}_unregisterOnDisabledChange(le){Yn(this._onDisabledChange,le)}_forEachChild(le){}_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(le){wi(le)?(this.value=this._pendingValue=le.value,le.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=le}},ai=ri,Ni=fe=>fe instanceof ri;let Mt=(()=>{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 le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const se={provide:Bt,useExisting:(0,n.forwardRef)(()=>Xe)};let Xe=(()=>{class fe extends Mt{constructor(J,We,Xt){super(),this.name="",this._parent=J,this._setValidators(We),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([se]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const kt={provide:Tt,useExisting:(0,n.forwardRef)(()=>un)},Wt=(()=>Promise.resolve())();let un=(()=>{class fe extends Tt{constructor(J,We,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(We),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 We=J.name.previousValue;this.formDirective.removeControl({name:We,path:this._getPath(We)})}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 We=J.isDisabled.currentValue,Xt=0!==We&&(0,n.booleanAttribute)(We);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(At,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([kt]),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 h{writeValue(J){this.setProperty("value",J??"")}registerOnChange(J){this.onChange=We=>{J(""==We?null:parseFloat(We))}}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("input",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.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,We){this._accessors.push([J,We])}remove(J){for(let We=this._accessors.length-1;We>=0;--We)if(this._accessors[We][1]===J)return void this._accessors.splice(We,1)}select(J){this._accessors.forEach(We=>{this._isSameGroup(We,J)&&We[1]!==J&&We[1].fireUncheck(J.value)})}_isSameGroup(J,We){return!!J[0].control&&J[0]._parent===We._control._parent&&J[1].name===We.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 h{constructor(J,We,Xt,Dn){super(J,We),this._registry=Xt,this._injector=Dn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(At,{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,We){1&J&&n.\u0275\u0275listener("change",function(){return We.onChange()})("blur",function(){return We.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 h{writeValue(J){this.setProperty("value",parseFloat(J))}registerOnChange(J){this.onChange=We=>{J(""==We?null:parseFloat(We))}}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.value)})("input",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.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,We,Xt,Dn,Wi){super(),this._ngModelWarningConfig=Dn,this.callSetDisabledState=Wi,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(J),this._setAsyncValidators(We),this.valueAccessor=an(0,Xt)}ngOnChanges(J){if(this._isControlChanged(J)){const We=J.form.previousValue;We&&_n(We,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(At,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,We,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(We)}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 We=this.form.get(J.path);return Sn(We,J,this.callSetDisabledState),We.updateValueAndValidity({emitEvent:!1}),this.directives.push(J),We}getControl(J){return this.form.get(J.path)}removeControl(J){_n(J.control||null,J,!1),function mn(fe,le){const J=fe.indexOf(le);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,We){this.form.get(J.path).setValue(We)}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 We=J.control,Xt=this.form.get(J.path);We!==Xt&&(_n(We||null,J),Ni(Xt)&&(Sn(Xt,J,this.callSetDisabledState),J.control=Xt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(J){const We=this.form.get(J.path);qt(We,J),We.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(J){if(this.form){const We=this.form.get(J.path);We&&function nn(fe,le){return Vi(fe,le)}(We,J)&&We.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(At,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formGroup",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("submit",function(Dn){return We.onSubmit(Dn)})("reset",function(){return We.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 Mt{constructor(J,We,Xt){super(),this.name=null,this._parent=J,this._setValidators(We),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,We,Xt){super(),this.name=null,this._parent=J,this._setValidators(We),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 Ot={provide:Tt,useExisting:(0,n.forwardRef)(()=>C)};let C=(()=>{class fe extends Tt{set isDisabled(J){}constructor(J,We,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(We),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([Ot]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})();const te={provide:u,useExisting:(0,n.forwardRef)(()=>Zt),multi:!0};function Ne(fe,le){return null==fe?`${le}`:(le&&"object"==typeof le&&(le="Object"),`${fe}: ${le}`.slice(0,50))}let Zt=(()=>{class fe extends h{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=Ne(this._getOptionId(J),J);this.setProperty("value",Xt)}registerOnChange(J){this.onChange=We=>{this.value=this._getOptionValue(We),J(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(J){for(const We of this._optionMap.keys())if(this._compareWith(this._optionMap.get(We),J))return We;return null}_getOptionValue(J){const We=function ot(fe){return fe.split(":")[0]}(J);return this._optionMap.has(We)?this._optionMap.get(We):J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([te]),n.\u0275\u0275InheritDefinitionFeature]}),fe})(),Pn=(()=>{class fe{constructor(J,We,Xt){this._element=J,this._renderer=We,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(Ne(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,le){return null==fe?`${le}`:("string"==typeof le&&(le=`'${le}'`),le&&"object"==typeof le&&(le="Object"),`${fe}: ${le}`.slice(0,50))}let Ui=(()=>{class fe extends h{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(J){this._compareWith=J}writeValue(J){let We;if(this.value=J,Array.isArray(J)){const Xt=J.map(Dn=>this._getOptionId(Dn));We=(Dn,Wi)=>{Dn._setSelected(Xt.indexOf(Wi.toString())>-1)}}else We=(Xt,Dn)=>{Xt._setSelected(!1)};this._optionMap.forEach(We)}registerOnChange(J){this.onChange=We=>{const Xt=[],Dn=We.selectedOptions;if(void 0!==Dn){const Wi=Dn;for(let dr=0;dr{class fe{constructor(J,We,Xt){this._element=J,this._renderer=We,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 gt=(()=>{class fe{constructor(){this._validator=de}ngOnChanges(J){if(this.inputName in J){const We=this.normalizeInput(J[this.inputName].currentValue);this._enabled=this.enabled(We),this._validator=this._enabled?this.createValidator(We):de,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 gt{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=J=>vt(J),this.createValidator=J=>ee(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("max",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=J=>vt(J),this.createValidator=J=>$(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("min",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>ie}enabled(J){return J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("required",We._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 le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("required",We._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 gt{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>U}enabled(J){return J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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 gt{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Ce(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("minlength",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Re(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("maxlength",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=J=>J,this.createValidator=J=>Ae(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("pattern",We._enabled?We.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 dt{constructor(le,J,We){super(Me(J),De(We,J)),this.controls=le,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(le){return this.controls[this._adjustIndex(le)]}push(le,J={}){this.controls.push(le),this._registerControl(le),this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}insert(le,J,We={}){this.controls.splice(le,0,J),this._registerControl(J),this.updateValueAndValidity({emitEvent:We.emitEvent})}removeAt(le,J={}){let We=this._adjustIndex(le);We<0&&(We=0),this.controls[We]&&this.controls[We]._registerOnCollectionChange(()=>{}),this.controls.splice(We,1),this.updateValueAndValidity({emitEvent:J.emitEvent})}setControl(le,J,We={}){let Xt=this._adjustIndex(le);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:We.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(le,J={}){be(this,0,le),le.forEach((We,Xt)=>{Q(this,!1,Xt),this.at(Xt).setValue(We,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(le,J={}){null!=le&&(le.forEach((We,Xt)=>{this.at(Xt)&&this.at(Xt).patchValue(We,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(le=[],J={}){this._forEachChild((We,Xt)=>{We.reset(le[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this.controls.map(le=>le.getRawValue())}clear(le={}){this.controls.length<1||(this._forEachChild(J=>J._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:le.emitEvent}))}_adjustIndex(le){return le<0?le+this.length:le}_syncPendingControls(){let le=this.controls.reduce((J,We)=>!!We._syncPendingControls()||J,!1);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){this.controls.forEach((J,We)=>{le(J,We)})}_updateValue(){this.value=this.controls.filter(le=>le.enabled||this.disabled).map(le=>le.value)}_anyControls(le){return this.controls.some(J=>J.enabled&&le(J))}_setUpControls(){this._forEachChild(le=>this._registerControl(le))}_allControlsDisabled(){for(const le of this.controls)if(le.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(le){le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)}_find(le){return this.at(le)??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,We=null){const Xt=this._reduceControls(J);let Dn={};return po(We)?Dn=We:null!==We&&(Dn.validators=We.validator,Dn.asyncValidators=We.asyncValidator),new Rt(Xt,Dn)}record(J,We=null){const Xt=this._reduceControls(J);return new Ve(Xt,We)}control(J,We,Xt){let Dn={};return this.useNonNullable?(po(We)?Dn=We:(Dn.validators=We,Dn.asyncValidators=Xt),new ri(J,{...Dn,nonNullable:!0})):new ri(J,We,Xt)}array(J,We,Xt){const Dn=J.map(Wi=>this._createControl(Wi));return new Hr(Dn,We,Xt)}_reduceControls(J){const We={};return Object.keys(J).forEach(Xt=>{We[Xt]=this._createControl(J[Xt])}),We}_createControl(J){return J instanceof ri||J instanceof dt?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,We=null){return super.group(J,We)}control(J,We,Xt){return super.control(J,We,Xt)}array(J,We,Xt){return super.array(J,We,Xt)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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:At,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:At,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:()=>Nt,MATERIAL_SANITY_CHECKS:()=>A,MAT_DATE_FORMATS:()=>ae,MAT_DATE_LOCALE:()=>Be,MAT_DATE_LOCALE_FACTORY:()=>G,MAT_NATIVE_DATE_FORMATS:()=>Qe,MAT_OPTGROUP:()=>Gt,MAT_OPTION_PARENT_COMPONENT:()=>Pe,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Te,MatCommonModule:()=>U,MatLine:()=>_t,MatLineModule:()=>Lt,MatNativeDateModule:()=>tt,MatOptgroup:()=>Oe,MatOption:()=>ct,MatOptionModule:()=>De,MatOptionSelectionChange:()=>he,MatPseudoCheckbox:()=>_e,MatPseudoCheckboxModule:()=>ut,MatRipple:()=>et,MatRippleModule:()=>Dt,NativeDateAdapter:()=>Ze,NativeDateModule:()=>Ge,RippleRef:()=>Le,RippleRenderer:()=>K,ShowOnDirtyErrorStateMatcher:()=>Ct,VERSION:()=>X,_MatOptgroupBase:()=>Ft,_MatOptionBase:()=>ge,_countGroupLabelsBeforeOption:()=>Me,_getOptionScrollPosition:()=>Ye,defaultRippleAnimationConfig:()=>at,mixinColor:()=>H,mixinDisableRipple:()=>W,mixinDisabled:()=>de,mixinErrorState:()=>we,mixinInitialized:()=>Ee,mixinTabIndex:()=>pe,setLines:()=>Bt});var n=a(5879),c=a(4300),d=a(9388),r=a(6814),f=a(2831),h=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 Q=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",Q.disabled)("state",Q.selected?"checked":"unchecked")}}function D(F,V){if(1&F&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&F){const Q=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",Q.disabled)}}function S(F,V){if(1&F&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&F){const Q=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",Q.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(Q,be,dt){this._sanityChecks=be,this._document=dt,this._hasDoneGlobalChecks=!1,Q._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Q){return!(0,f.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Q])}}return F.\u0275fac=function(Q){return new(Q||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 de(F){return class extends F{get disabled(){return this._disabled}set disabled(V){this._disabled=(0,h.Ig)(V)}constructor(...V){super(...V),this._disabled=!1}}}function H(F,V){return class extends F{get color(){return this._color}set color(Q){const be=Q||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}constructor(...Q){super(...Q),this.defaultColor=V,this.color=V}}}function W(F){return class extends F{get disableRipple(){return this._disableRipple}set disableRipple(V){this._disableRipple=(0,h.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(Q){this._tabIndex=null!=Q?(0,h.su)(Q):this.defaultTabIndex}constructor(...Q){super(...Q),this._tabIndex=V,this.defaultTabIndex=V}}}function we(F){return class extends F{updateErrorState(){const V=this.errorState,Rt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Rt!==V&&(this.errorState=Rt,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(Q=>{this._isInitialized?this._notifySubscriber(Q):this._pendingSubscribers.push(Q)})}_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,Q){return this.getYear(V)-this.getYear(Q)||this.getMonth(V)-this.getMonth(Q)||this.getDate(V)-this.getDate(Q)}sameDate(V,Q){if(V&&Q){let be=this.isValid(V),dt=this.isValid(Q);return be&&dt?!this.compareDate(V,Q):be==dt}return V==Q}clampDate(V,Q,be){return Q&&this.compareDate(V,Q)<0?Q:be&&this.compareDate(V,be)>0?be:V}}const ae=new n.InjectionToken("mat-date-formats"),ve=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function He(F,V){const Q=Array(F);for(let be=0;be{class F extends re{constructor(Q,be){super(),this.useUtcForDisplay=!1,super.setLocale(Q)}getYear(Q){return Q.getFullYear()}getMonth(Q){return Q.getMonth()}getDate(Q){return Q.getDate()}getDayOfWeek(Q){return Q.getDay()}getMonthNames(Q){const be=new Intl.DateTimeFormat(this.locale,{month:Q,timeZone:"utc"});return He(12,dt=>this._format(be,new Date(2017,dt,1)))}getDateNames(){const Q=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return He(31,be=>this._format(Q,new Date(2017,0,be+1)))}getDayOfWeekNames(Q){const be=new Intl.DateTimeFormat(this.locale,{weekday:Q,timeZone:"utc"});return He(7,dt=>this._format(be,new Date(2017,0,dt+1)))}getYearName(Q){const be=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(be,Q)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Q){return this.getDate(this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q)+1,0))}clone(Q){return new Date(Q.getTime())}createDate(Q,be,dt){let Rt=this._createDateWithOverflow(Q,be,dt);return Rt.getMonth(),Rt}today(){return new Date}parse(Q,be){return"number"==typeof Q?new Date(Q):Q?new Date(Date.parse(Q)):null}format(Q,be){if(!this.isValid(Q))throw Error("NativeDateAdapter: Cannot format invalid date.");const dt=new Intl.DateTimeFormat(this.locale,{...be,timeZone:"utc"});return this._format(dt,Q)}addCalendarYears(Q,be){return this.addCalendarMonths(Q,12*be)}addCalendarMonths(Q,be){let dt=this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q)+be,this.getDate(Q));return this.getMonth(dt)!=((this.getMonth(Q)+be)%12+12)%12&&(dt=this._createDateWithOverflow(this.getYear(dt),this.getMonth(dt),0)),dt}addCalendarDays(Q,be){return this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q),this.getDate(Q)+be)}toIso8601(Q){return[Q.getUTCFullYear(),this._2digit(Q.getUTCMonth()+1),this._2digit(Q.getUTCDate())].join("-")}deserialize(Q){if("string"==typeof Q){if(!Q)return null;if(ve.test(Q)){let be=new Date(Q);if(this.isValid(be))return be}}return super.deserialize(Q)}isDateInstance(Q){return Q instanceof Date}isValid(Q){return!isNaN(Q.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Q,be,dt){const Rt=new Date;return Rt.setFullYear(Q,be,dt),Rt.setHours(0,0,0,0),Rt}_2digit(Q){return("00"+Q).slice(-2)}_format(Q,be){const dt=new Date;return dt.setUTCFullYear(be.getFullYear(),be.getMonth(),be.getDate()),dt.setUTCHours(be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()),Q.format(dt)}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275inject(Be,8),n.\u0275\u0275inject(f.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 Ge=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||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(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:ae,useValue:Qe}],imports:[Ge]}),F})(),Ct=(()=>{class F{isErrorState(Q,be){return!!(Q&&Q.invalid&&(Q.dirty||be&&be.submitted))}}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),Nt=(()=>{class F{isErrorState(Q,be){return!!(Q&&Q.invalid&&(Q.touched||be&&be.submitted))}}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),_t=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),F})();function Bt(F,V,Q="mat"){F.changes.pipe((0,b.O)(F)).subscribe(({length:be})=>{Tt(V,`${Q}-2-line`,!1),Tt(V,`${Q}-3-line`,!1),Tt(V,`${Q}-multi-line`,!1),2===be||3===be?Tt(V,`${Q}-${be}-line`,!0):be>3&&Tt(V,`${Q}-multi-line`,!0)})}function Tt(F,V,Q){F.nativeElement.classList.toggle(V,Q)}let Lt=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})();class Le{constructor(V,Q,be,dt=!1){this._renderer=V,this.element=Q,this.config=be,this._animationForciblyDisabledThroughCss=dt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const lt=(0,f.i$)({passive:!0,capture:!0});class ze{constructor(){this._events=new Map,this._delegateEventHandler=V=>{const Q=(0,f.sA)(V);Q&&this._events.get(V.type)?.forEach((be,dt)=>{(dt===Q||dt.contains(Q))&&be.forEach(Rt=>Rt.handleEvent(V))})}}addHandler(V,Q,be,dt){const Rt=this._events.get(Q);if(Rt){const qe=Rt.get(be);qe?qe.add(dt):Rt.set(be,new Set([dt]))}else this._events.set(Q,new Map([[be,new Set([dt])]])),V.runOutsideAngular(()=>{document.addEventListener(Q,this._delegateEventHandler,lt)})}removeHandler(V,Q,be){const dt=this._events.get(V);if(!dt)return;const Rt=dt.get(Q);Rt&&(Rt.delete(be),0===Rt.size&&dt.delete(Q),0===dt.size&&(this._events.delete(V),document.removeEventListener(V,this._delegateEventHandler,lt)))}}const at={enterDuration:225,exitDuration:150},oe=(0,f.i$)({passive:!0,capture:!0}),Y=["mousedown","touchstart"],ne=["mouseup","mouseleave","touchend","touchcancel"];class K{constructor(V,Q,be,dt){this._target=V,this._ngZone=Q,this._platform=dt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,dt.isBrowser&&(this._containerElement=(0,h.fI)(be))}fadeInRipple(V,Q,be={}){const dt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Rt={...at,...be.animation};be.centered&&(V=dt.left+dt.width/2,Q=dt.top+dt.height/2);const qe=be.radius||function ce(F,V,Q){const be=Math.max(Math.abs(F-Q.left),Math.abs(F-Q.right)),dt=Math.max(Math.abs(V-Q.top),Math.abs(V-Q.bottom));return Math.sqrt(be*be+dt*dt)}(V,Q,dt),nt=V-dt.left,Ve=Q-dt.top,yt=Rt.enterDuration,At=document.createElement("div");At.classList.add("mat-ripple-element"),At.style.left=nt-qe+"px",At.style.top=Ve-qe+"px",At.style.height=2*qe+"px",At.style.width=2*qe+"px",null!=be.color&&(At.style.backgroundColor=be.color),At.style.transitionDuration=`${yt}ms`,this._containerElement.appendChild(At);const on=window.getComputedStyle(At),Sn=on.transitionDuration,_n="none"===on.transitionProperty||"0s"===Sn||"0s, 0s"===Sn||0===dt.width&&0===dt.height,Mn=new Le(this,At,be,_n);At.style.transform="scale3d(1, 1, 1)",Mn.state=0,be.persistent||(this._mostRecentTransientRipple=Mn);let xi=null;return!_n&&(yt||Rt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const fi=()=>this._finishRippleTransition(Mn),Vi=()=>this._destroyRipple(Mn);At.addEventListener("transitionend",fi),At.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 Q=V.element,be={...at,...V.config.animation};Q.style.transitionDuration=`${be.exitDuration}ms`,Q.style.opacity="0",V.state=2,(V._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(V)}fadeOutAll(){this._getActiveRipples().forEach(V=>V.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(V=>{V.config.persistent||V.fadeOut()})}setupTriggerEvents(V){const Q=(0,h.fI)(V);!this._platform.isBrowser||!Q||Q===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Q,Y.forEach(be=>{K._eventManager.addHandler(this._ngZone,be,Q,this)}))}handleEvent(V){"mousedown"===V.type?this._onMousedown(V):"touchstart"===V.type?this._onTouchStart(V):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ne.forEach(Q=>{this._triggerElement.addEventListener(Q,this,oe)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(V){0===V.state?this._startFadeOutTransition(V):2===V.state&&this._destroyRipple(V)}_startFadeOutTransition(V){const Q=V===this._mostRecentTransientRipple,{persistent:be}=V.config;V.state=1,!be&&(!Q||!this._isPointerDown)&&V.fadeOut()}_destroyRipple(V){const Q=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!==Q&&(V.element.removeEventListener("transitionend",Q.onTransitionEnd),V.element.removeEventListener("transitioncancel",Q.onTransitionCancel)),V.element.remove()}_onMousedown(V){const Q=(0,c.X6)(V),be=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(Q=>K._eventManager.removeHandler(Q,V,this)),this._pointerUpEventsRegistered&&ne.forEach(Q=>V.removeEventListener(Q,this,oe)))}}K._eventManager=new ze;const Te=new n.InjectionToken("mat-ripple-global-options");let et=(()=>{class F{get disabled(){return this._disabled}set disabled(Q){Q&&this.fadeOutAllNonPersistent(),this._disabled=Q,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Q){this._trigger=Q,this._setupTriggerEventsIfEnabled()}constructor(Q,be,dt,Rt,qe){this._elementRef=Q,this._animationMode=qe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Rt||{},this._rippleRenderer=new K(this,be,Q,dt)}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(Q,be=0,dt){return"number"==typeof Q?this._rippleRenderer.fadeInRipple(Q,be,{...this.rippleConfig,...dt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Q})}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(f.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(Q,be){2&Q&&n.\u0275\u0275classProp("mat-ripple-unbounded",be.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(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})(),_e=(()=>{class F{constructor(Q){this._animationMode=Q,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return F.\u0275fac=function(Q){return new(Q||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(Q,be){2&Q&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===be.state)("mat-pseudo-checkbox-checked","checked"===be.state)("mat-pseudo-checkbox-disabled",be.disabled)("mat-pseudo-checkbox-minimal","minimal"===be.appearance)("mat-pseudo-checkbox-full","full"===be.appearance)("_mat-animation-noopable","NoopAnimations"===be._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(Q,be){},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})(),ut=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U]}),F})();const Pe=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),mt=de(class{});let Pt=0,Ft=(()=>{class F extends mt{constructor(Q){super(),this._labelId="mat-optgroup-label-"+Pt++,this._inert=Q?.inertGroups??!1}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(Pe,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),F})();const Gt=new n.InjectionToken("MatOptgroup");let Oe=(()=>{class F extends Ft{}return F.\u0275fac=function(){let V;return function(be){return(V||(V=n.\u0275\u0275getInheritedFactory(F)))(be||F)}}(),F.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(Q,be){2&Q&&n.\u0275\u0275attribute("role",be._inert?null:"group")("aria-disabled",be._inert?null:be.disabled.toString())("aria-labelledby",be._inert?null:be._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:Gt,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(Q,be){1&Q&&(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&Q&&(n.\u0275\u0275classProp("mdc-list-item--disabled",be.disabled),n.\u0275\u0275property("id",be._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",be.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})(),Ke=0;class he{constructor(V,Q=!1){this.source=V,this.isUserInput=Q}}let ge=(()=>{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(Q){this._disabled=(0,h.Ig)(Q)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(Q,be,dt,Rt){this._element=Q,this._changeDetectorRef=be,this._parent=dt,this.group=Rt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ke++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new v.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Q=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Q&&this._emitSelectionChangeEvent())}deselect(Q=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Q&&this._emitSelectionChangeEvent())}focus(Q,be){const dt=this._getHostElement();"function"==typeof dt.focus&&dt.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Q){(Q.keyCode===p.K5||Q.keyCode===p.L_)&&!(0,p.Vb)(Q)&&(this._selectViaInteraction(),Q.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 Q=this.viewValue;Q!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Q)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Q=!1){this.onSelectionChange.emit(new he(this,Q))}}return F.\u0275fac=function(Q){n.\u0275\u0275invalidFactory()},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,viewQuery:function(Q,be){if(1&Q&&n.\u0275\u0275viewQuery(y,7),2&Q){let dt;n.\u0275\u0275queryRefresh(dt=n.\u0275\u0275loadQuery())&&(be._text=dt.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),F})(),ct=(()=>{class F extends ge{constructor(Q,be,dt,Rt){super(Q,be,dt,Rt)}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Pe,8),n.\u0275\u0275directiveInject(Gt,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(Q,be){1&Q&&n.\u0275\u0275listener("click",function(){return be._selectViaInteraction()})("keydown",function(Rt){return be._handleKeydown(Rt)}),2&Q&&(n.\u0275\u0275hostProperty("id",be.id),n.\u0275\u0275attribute("aria-selected",be.selected)("aria-disabled",be.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",be.selected)("mat-mdc-option-multiple",be.multiple)("mat-mdc-option-active",be.active)("mdc-list-item--disabled",be.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(Q,be){1&Q&&(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&Q&&(n.\u0275\u0275property("ngIf",be.multiple),n.\u0275\u0275advance(5),n.\u0275\u0275property("ngIf",!be.multiple&&be.selected&&!be.hideSingleSelectionIndicator),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",be.group&&be.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",be._getHostElement())("matRippleDisabled",be.disabled||be.disableRipple))},dependencies:[et,r.NgIf,_e],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 Me(F,V,Q){if(Q.length){let be=V.toArray(),dt=Q.toArray(),Rt=0;for(let qe=0;qeQ+be?Math.max(0,F-be+V):Q}let De=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[Dt,r.CommonModule,U,ut]}),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:()=>kt,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>pt,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>xt,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>bt,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Vi,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>Yi,MatCalendar:()=>mi,MatCalendarBody:()=>nt,MatCalendarCell:()=>Q,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),f=a(2831),h=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)(h.MAT_RIPPLE_GLOBAL_OPTIONS,{optional:!0}),this._platform=(0,r.inject)(f.t4),this._ngZone=(0,r.inject)(r.NgZone),this._onInteraction=C=>{if(C.target===this._document)return;const Ne=C.target.closest(`[${$}]`);Ne&&(Ne.removeAttribute($),this._appendRipple(Ne))},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 Ne=new ie(C,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);Ne.rippleConfig.centered=C.hasAttribute("mat-icon-button"),new h.RippleRenderer(Ne,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 Ne=new h.MatRipple(new r.ElementRef(te),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Ne._isInitialized=!0,Ne.trigger=C,C.append(te),Ne}}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(Ot,C,te){this._button=Ot,this._globalRippleOptions=C,this._setRippleConfig(C,te)}_setRippleConfig(Ot,C){this.rippleConfig=Ot||{},"NoopAnimations"===C&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const Ce=[{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,h.mixinColor)((0,h.mixinDisabled)((0,h.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,Ne,ot){super(C),this._platform=te,this._ngZone=Ne,this._animationMode=ot,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 Ce)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,Ne,ot){super(C,te,Ne,ot)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.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,Ne,ot){super(C,te,Ne,ot)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.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:[h.MatCommonModule,h.MatRippleModule,h.MatCommonModule]}),Je})();var Ct=a(6672),Nt=a(8645),_t=a(7394),Bt=a(3019),Tt=a(2096),Lt=a(6028),Le=a(9388),lt=a(8180),ze=a(7921),at=a(2181),N=a(2495),oe=a(6825),Y=a(6223),ne=a(1043),K=a(4516);const ce=["mat-calendar-body",""];function Te(Je,Ot){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 et(Je,Ot){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,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",8)(1,"button",9),r.\u0275\u0275listener("click",function(Ne){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._cellClicked(Zt,Ne))})("focus",function(Ne){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._emitActiveDateChange(Zt,Ne))}),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=Ot.$implicit,te=Ot.index,Ne=r.\u0275\u0275nextContext().index,ot=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("width",ot._cellWidth)("padding-top",ot._cellPadding)("padding-bottom",ot._cellPadding),r.\u0275\u0275attribute("data-mat-row",Ne)("data-mat-col",te),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-disabled",!C.enabled)("mat-calendar-body-active",ot._isActiveCell(Ne,te))("mat-calendar-body-range-start",ot._isRangeStart(C.compareValue))("mat-calendar-body-range-end",ot._isRangeEnd(C.compareValue))("mat-calendar-body-in-range",ot._isInRange(C.compareValue))("mat-calendar-body-comparison-bridge-start",ot._isComparisonBridgeStart(C.compareValue,Ne,te))("mat-calendar-body-comparison-bridge-end",ot._isComparisonBridgeEnd(C.compareValue,Ne,te))("mat-calendar-body-comparison-start",ot._isComparisonStart(C.compareValue))("mat-calendar-body-comparison-end",ot._isComparisonEnd(C.compareValue))("mat-calendar-body-in-comparison-range",ot._isInComparisonRange(C.compareValue))("mat-calendar-body-preview-start",ot._isPreviewStart(C.compareValue))("mat-calendar-body-preview-end",ot._isPreviewEnd(C.compareValue))("mat-calendar-body-in-preview",ot._isInPreview(C.compareValue)),r.\u0275\u0275property("ngClass",C.cssClasses)("tabindex",ot._isActiveCell(Ne,te)?0:-1),r.\u0275\u0275attribute("aria-label",C.ariaLabel)("aria-disabled",!C.enabled||null)("aria-pressed",ot._isSelected(C.compareValue))("aria-current",ot.todayValue===C.compareValue?"date":null)("aria-describedby",ot._getDescribedby(C.compareValue)),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-selected",ot._isSelected(C.compareValue))("mat-calendar-body-comparison-identical",ot._isComparisonIdentical(C.compareValue))("mat-calendar-body-today",ot.todayValue===C.compareValue),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",C.displayValue," ")}}function _e(Je,Ot){if(1&Je&&(r.\u0275\u0275elementStart(0,"tr",5),r.\u0275\u0275template(1,et,2,6,"td",6),r.\u0275\u0275template(2,Dt,5,48,"td",7),r.\u0275\u0275elementEnd()),2&Je){const C=Ot.$implicit,te=Ot.index,Ne=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",0===te&&Ne._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",C)}}function ut(Je,Ot){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=Ot.$implicit;r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.long),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.narrow)}}const Pe=["*"];function mt(Je,Ot){}function Pt(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-month-view",5),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("_userSelection",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dateSelected(Ne))})("dragStarted",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dragStarted(Ne))})("dragEnded",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dragEnded(Ne))}),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 Ft(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-year-view",6),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("monthSelected",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._monthSelectedInYearView(Ne))})("selectedChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._goToDateInView(Ne,"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 Gt(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-multi-year-view",7),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("yearSelected",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._yearSelectedInMultiYearView(Ne))})("selectedChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._goToDateInView(Ne,"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 Oe(Je,Ot){}const Ke=["button"];function he(Je,Ot){1&Je&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg",3),r.\u0275\u0275element(1,"path",4),r.\u0275\u0275elementEnd())}const ge=[[["","matDatepickerToggleIcon",""]]],ct=["[matDatepickerToggleIcon]"],Me=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Ye=["input[matStartDate]","input[matEndDate]"];function De(Je,Ot){1&Je&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275projection(1),r.\u0275\u0275elementEnd())}let V=(()=>{class Je{constructor(){this.changes=new Nt.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 Q{constructor(Ot,C,te,Ne,ot={},Zt=Ot,Pn){this.value=Ot,this.displayValue=C,this.ariaLabel=te,this.enabled=Ne,this.cssClasses=ot,this.compareValue=Zt,this.rawValue=Pn}}let be=1;const dt=(0,f.i$)({passive:!1,capture:!0}),Rt=(0,f.i$)({passive:!0,capture:!0}),qe=(0,f.i$)({passive:!0});let nt=(()=>{class Je{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(C,te){this._elementRef=C,this._ngZone=te,this._platform=(0,r.inject)(f.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=Ne=>{if(this._skipNextFocus&&"focus"===Ne.type)this._skipNextFocus=!1;else if(Ne.target&&this.isRange){const ot=this._getCellFromElement(Ne.target);ot&&this._ngZone.run(()=>this.previewChange.emit({value:ot.enabled?ot:null,event:Ne}))}},this._touchmoveHandler=Ne=>{if(!this.isRange)return;const ot=Sn(Ne),Zt=ot?this._getCellFromElement(ot):null;ot!==Ne.target&&(this._didDragSinceMouseDown=!0),yt(Ne.target)&&Ne.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Zt?.enabled?Zt:null,event:Ne}))},this._leaveHandler=Ne=>{null!==this.previewEnd&&this.isRange&&("blur"!==Ne.type&&(this._didDragSinceMouseDown=!0),Ne.target&&this._getCellFromElement(Ne.target)&&(!Ne.relatedTarget||!this._getCellFromElement(Ne.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Ne})))},this._mousedownHandler=Ne=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const ot=Ne.target&&this._getCellFromElement(Ne.target);!ot||!this._isInRange(ot.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:ot.rawValue,event:Ne})})},this._mouseupHandler=Ne=>{if(!this.isRange)return;const ot=yt(Ne.target);ot?ot.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Zt=this._getCellFromElement(ot);this.dragEnded.emit({value:Zt?.rawValue??null,event:Ne})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Ne})})},this._touchendHandler=Ne=>{const ot=Sn(Ne);ot&&this._mouseupHandler({target:ot})},this._id="mat-calendar-body-"+be++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,te.runOutsideAngular(()=>{const Ne=C.nativeElement;Ne.addEventListener("touchmove",this._touchmoveHandler,dt),Ne.addEventListener("mouseenter",this._enterHandler,Rt),Ne.addEventListener("focus",this._enterHandler,Rt),Ne.addEventListener("mouseleave",this._leaveHandler,Rt),Ne.addEventListener("blur",this._leaveHandler,Rt),Ne.addEventListener("mousedown",this._mousedownHandler,qe),Ne.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:Ne,numCols:ot}=this;(C.rows||te)&&(this._firstRowOffset=Ne&&Ne.length&&Ne[0].length?ot-Ne[0].length:0),(C.cellAspectRatio||te||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/ot+"%"),(te||!this._cellWidth)&&(this._cellWidth=100/ot+"%")}ngOnDestroy(){const C=this._elementRef.nativeElement;C.removeEventListener("touchmove",this._touchmoveHandler,dt),C.removeEventListener("mouseenter",this._enterHandler,Rt),C.removeEventListener("focus",this._enterHandler,Rt),C.removeEventListener("mouseleave",this._leaveHandler,Rt),C.removeEventListener("blur",this._leaveHandler,Rt),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 Ne=C*this.numCols+te;return C&&(Ne-=this._firstRowOffset),Ne==this.activeCell}_focusActiveCell(C=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,lt.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 At(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 At(C,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(C,te,Ne){if(!this._isComparisonStart(C)||this._isRangeStart(C)||!this._isInRange(C))return!1;let ot=this.rows[te][Ne-1];if(!ot){const Zt=this.rows[te-1];ot=Zt&&Zt[Zt.length-1]}return ot&&!this._isRangeEnd(ot.compareValue)}_isComparisonBridgeEnd(C,te,Ne){if(!this._isComparisonEnd(C)||this._isRangeEnd(C)||!this._isInRange(C))return!1;let ot=this.rows[te][Ne+1];if(!ot){const Zt=this.rows[te+1];ot=Zt&&Zt[0]}return ot&&!this._isRangeStart(ot.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 At(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 Ne=te.getAttribute("data-mat-row"),ot=te.getAttribute("data-mat-col");if(Ne&&ot)return this.rows[parseInt(Ne)][parseInt(ot)]}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:ce,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,_e,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=Ot&&Je===C}function xn(Je,Ot,C,te){return te&&null!==Ot&&null!==C&&Ot!==C&&Je>=Ot&&Je<=C}function Sn(Je){const Ot=Je.changedTouches[0];return document.elementFromPoint(Ot.clientX,Ot.clientY)}class _n{constructor(Ot,C){this.start=Ot,this.end=C}}let Mn=(()=>{class Je{constructor(C,te){this.selection=C,this._adapter=te,this._selectionChanged=new Nt.x,this.selectionChanged=this._selectionChanged,this.selection=C}updateSelection(C,te){const Ne=this.selection;this.selection=C,this._selectionChanged.next({selection:C,source:te,oldValue:Ne})}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(h.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:Ne}=this.selection;null==te?te=C:null==Ne?Ne=C:(te=C,Ne=null),super.updateSelection(new _n(te,Ne),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(h.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();function Vi(Je,Ot){return Je||new xi(Ot)}const Yi={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],h.DateAdapter],useFactory:Vi};function xt(Je,Ot){return Je||new fi(Ot)}const bt={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],h.DateAdapter],useFactory:xt},pt=new r.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let qt=(()=>{class Je{constructor(C){this._dateAdapter=C}selectionFinished(C,te){let{start:Ne,end:ot}=te;return null==Ne?Ne=C:null==ot&&C&&this._dateAdapter.compareDate(C,Ne)>=0?ot=C:(Ne=C,ot=null),new _n(Ne,ot)}createPreview(C,te){let Ne=null,ot=null;return te.start&&!te.end&&C&&(Ne=te.start,ot=C),new _n(Ne,ot)}createDrag(C,te,Ne){let ot=te.start,Zt=te.end;if(!ot||!Zt)return null;const Pn=this._dateAdapter,ji=0!==Pn.compareDate(ot,Zt),Pi=Pn.getYear(Ne)-Pn.getYear(C),Li=Pn.getMonth(Ne)-Pn.getMonth(C),Qi=Pn.getDate(Ne)-Pn.getDate(C);return ji&&Pn.sameDate(C,te.start)?(ot=Ne,Pn.compareDate(Ne,Zt)>0&&(Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi))):ji&&Pn.sameDate(C,te.end)?(Zt=Ne,Pn.compareDate(Ne,ot)<0&&(ot=Pn.addCalendarYears(ot,Pi),ot=Pn.addCalendarMonths(ot,Li),ot=Pn.addCalendarDays(ot,Qi))):(ot=Pn.addCalendarYears(ot,Pi),ot=Pn.addCalendarMonths(ot,Li),ot=Pn.addCalendarDays(ot,Qi),Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi)),new _n(ot,Zt)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275inject(h.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();const cn={provide:pt,deps:[[new r.Optional,new r.SkipSelf,pt],h.DateAdapter],useFactory:function nn(Je,Ot){return Je||new qt(Ot)}};let Nn=(()=>{class Je{get activeDate(){return this._activeDate}set activeDate(C){const te=this._activeDate,Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne,ot,Zt){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Ne,this._dir=ot,this._rangeStrategy=Zt,this._rerenderSubscription=_t.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,Ne=this._getDateFromDayOfMonth(te);let ot,Zt;this._selected instanceof _n?(ot=this._getDateInCurrentMonth(this._selected.start),Zt=this._getDateInCurrentMonth(this._selected.end)):ot=Zt=this._getDateInCurrentMonth(this._selected),(ot!==te||Zt!==te)&&this.selectedChange.emit(Ne),this._userSelection.emit({value:Ne,event:C.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case Lt.Ku:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case Lt.VM:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case Lt.K5:case Lt.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&C.preventDefault());case Lt.hY:return void(null!=this._previewEnd&&!(0,Lt.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===Lt.L_||C.keyCode===Lt.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 Ne=te?te.rawValue:null,ot=this._rangeStrategy.createPreview(Ne,this.selected,C);if(this._previewStart=this._getCellCompareValue(ot.start),this._previewEnd=this._getCellCompareValue(ot.end),this.activeDrag&&Ne){const Zt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Ne,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 ot=this._dateAdapter.getDayOfWeekNames("long").map((Zt,Pn)=>({long:Zt,narrow:te[Pn]}));this._weekdays=ot.slice(C).concat(ot.slice(0,C))}_createWeekCells(){const C=this._dateAdapter.getNumDaysInMonth(this.activeDate),te=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Ne=0,ot=this._firstWeekOffset;Ne=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),Ne=this._dateAdapter.getMonth(C),ot=this._dateAdapter.getDate(C);return new Date(te,Ne,ot).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(h.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(Le.Is,8),r.\u0275\u0275directiveInject(pt,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-month-view"]],viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(nt,5),2&C){let Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._matCalendarBody=Ne.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,ut,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(ot){return te._dateSelected(ot)})("activeDateChange",function(ot){return te._updateActiveDate(ot)})("previewChange",function(ot){return te._previewChanged(ot)})("dragStarted",function(ot){return te.dragStarted.emit(ot)})("dragEnded",function(ot){return te._dragEnded(ot)})("keyup",function(ot){return te._handleCalendarBodyKeyup(ot)})("keydown",function(ot){return te._handleCalendarBodyKeydown(ot)}),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,nt],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 Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne){this._changeDetectorRef=C,this._dateAdapter=te,this._dir=Ne,this._rerenderSubscription=_t.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 Ne=0,ot=[];Nethis._createCellForYear(Zt))),ot=[]);this._changeDetectorRef.markForCheck()}_yearSelected(C){const te=C.value,Ne=this._dateAdapter.createDate(te,0,1),ot=this._getDateFromYear(te);this.yearSelected.emit(Ne),this.selectedChange.emit(ot)}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromYear(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Xn);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xn);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,wn-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case Lt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*-wn:-wn);break;case Lt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*wn:wn);break;case Lt.K5:case Lt.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===Lt.L_||C.keyCode===Lt.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),Ne=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(C,te,1));return this._dateAdapter.createDate(C,te,Math.min(this._dateAdapter.getDate(this.activeDate),Ne))}_createCellForYear(C){const te=this._dateAdapter.createDate(C,0,1),Ne=this._dateAdapter.getYearName(te),ot=this.dateClass?this.dateClass(te,"multi-year"):void 0;return new Q(C,Ne,Ne,this._shouldEnableYear(C),ot)}_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 Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne,ot){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Ne,this._dir=ot,this._rerenderSubscription=_t.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,Ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,1);this.monthSelected.emit(Ne);const ot=this._getDateFromMonth(te);this.selectedChange.emit(ot)}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromMonth(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case Lt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?-10:-1);break;case Lt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10:1);break;case Lt.K5:case Lt.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===Lt.L_||C.keyCode===Lt.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(Ne=>this._createCellForMonth(Ne,C[Ne]))),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),Ne=this._dateAdapter.getNumDaysInMonth(te);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,Math.min(this._dateAdapter.getDate(this.activeDate),Ne))}_createCellForMonth(C,te){const Ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,1),ot=this._dateAdapter.format(Ne,this._dateFormats.display.monthYearA11yLabel),Zt=this.dateClass?this.dateClass(Ne,"year"):void 0;return new Q(C,te.toLocaleUpperCase(),ot,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 ot=this._dateAdapter.createDate(te,C,1);this._dateAdapter.getMonth(ot)==C;ot=this._dateAdapter.addCalendarDays(ot,1))if(this.dateFilter(ot))return!0;return!1}_isYearAndMonthAfterMaxDate(C,te){if(this.maxDate){const Ne=this._dateAdapter.getYear(this.maxDate),ot=this._dateAdapter.getMonth(this.maxDate);return C>Ne||C===Ne&&te>ot}return!1}_isYearAndMonthBeforeMinDate(C,te){if(this.minDate){const Ne=this._dateAdapter.getYear(this.minDate),ot=this._dateAdapter.getMonth(this.minDate);return C{class Je{constructor(C,te,Ne,ot,Zt){this._intl=C,this.calendar=te,this._dateAdapter=Ne,this._dateFormats=ot,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),Ne=te+wn-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(te,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Ne,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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Pe,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,Ne,ot){this._dateAdapter=te,this._dateFormats=Ne,this._changeDetectorRef=ot,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 Nt.x,this._intlChanges=C.changes.subscribe(()=>{ot.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,Ne=C.maxDate&&!this._dateAdapter.sameDate(C.maxDate.previousValue,C.maxDate.currentValue)?C.maxDate:void 0,ot=te||Ne||C.dateFilter;if(ot&&!ot.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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.monthView=Ne.first),r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.yearView=Ne.first),r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.multiYearView=Ne.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,mt,0,0,"ng-template",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275template(2,Pt,1,11,"mat-month-view",2),r.\u0275\u0275template(3,Ft,1,6,"mat-year-view",3),r.\u0275\u0275template(4,Gt,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},Mt=(0,h.mixinColor)(class{constructor(Je){this._elementRef=Je}});let jt=(()=>{class Je extends Mt{constructor(C,te,Ne,ot,Zt,Pn){super(C),this._changeDetectorRef=te,this._globalModel=Ne,this._dateAdapter=ot,this._rangeSelectionStrategy=Zt,this._subscriptions=new _t.w0,this._animationDone=new Nt.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,Ne=C.value,ot=te instanceof _n;if(ot&&this._rangeSelectionStrategy){const Zt=this._rangeSelectionStrategy.selectionFinished(Ne,te,C.event);this._model.updateSelection(Zt,this)}else Ne&&(ot||!this._dateAdapter.sameDate(Ne,te))&&this._model.add(Ne);(!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(h.DateAdapter),r.\u0275\u0275directiveInject(pt,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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._calendar=Ne.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(C,te){1&C&&r.\u0275\u0275syntheticHostListener("@transformPanel.start",function(ot){return te._handleAnimationEvent(ot)})("@transformPanel.done",function(ot){return te._handleAnimationEvent(ot)}),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(ot){return te.datepicker._selectYear(ot)})("monthSelected",function(ot){return te.datepicker._selectMonth(ot)})("viewChanged",function(ot){return te.datepicker._viewChanged(ot)})("_userSelection",function(ot){return te._handleUserSelection(ot)})("_userDragDrop",function(ot){return te._handleUserDragDrop(ot)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(2,Oe,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 Ne;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!==(Ne=te._dialogLabelId)&&void 0!==Ne?Ne: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,Ne,ot,Zt,Pn,ji){this._overlay=C,this._ngZone=te,this._viewContainerRef=Ne,this._dateAdapter=Zt,this._dir=Pn,this._model=ji,this._inputStateChanges=_t.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 Nt.x,this._scrollStrategy=ot}ngOnChanges(C){const te=C.xPosition||C.yPosition;if(te&&!te.firstChange&&this._overlayRef){const Ne=this._overlayRef.getConfig().positionStrategy;Ne instanceof c._G&&(this._setConnectedPositions(Ne),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,f.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:Ne,location:ot}=this._componentRef;Ne._startExitAnimation(),Ne._animationDone.pipe((0,lt.q)(1)).subscribe(()=>{const Zt=this._document.activeElement;C&&(!Zt||Zt===this._document.activeElement||ot.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),Ne=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(Ne).subscribe(ot=>{ot&&ot.preventDefault(),this.close()}),Ne.keydownEvents().subscribe(ot=>{const Zt=ot.keyCode;(Zt===Lt.LH||Zt===Lt.JH||Zt===Lt.oh||Zt===Lt.SV||Zt===Lt.Ku||Zt===Lt.VM)&&ot.preventDefault()}),this._componentRef=Ne.attach(te),this._forwardContentValues(this._componentRef.instance),C||this._ngZone.onStable.pipe((0,lt.q)(1)).subscribe(()=>Ne.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",Ne="start"===te?"end":"start",ot="above"===this.yPosition?"bottom":"top",Zt="top"===ot?"bottom":"top";return C.withPositions([{originX:te,originY:Zt,overlayX:te,overlayY:ot},{originX:te,originY:ot,overlayX:te,overlayY:Zt},{originX:Ne,originY:Zt,overlayX:Ne,overlayY:ot},{originX:Ne,originY:ot,overlayX:Ne,overlayY:Zt}])}_getCloseStream(C){const te=["ctrlKey","shiftKey","metaKey"];return(0,Bt.T)(C.backdropClick(),C.detachments(),C.keydownEvents().pipe((0,at.h)(Ne=>Ne.keyCode===Lt.hY&&!(0,Lt.Vb)(Ne)||this.datepickerInput&&(0,Lt.Vb)(Ne,"altKey")&&Ne.keyCode===Lt.LH&&te.every(ot=>!(0,Lt.Vb)(Ne,ot)))))}}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(h.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 Ot;return function(te){return(Ot||(Ot=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(Ot,C){this.target=Ot,this.targetElement=C,this.value=this.target.value}}let se=(()=>{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),Ne=this._elementRef.nativeElement;this._disabled!==te&&(this._disabled=te,this.stateChanges.next(void 0)),te&&this._isInitialized&&Ne.blur&&Ne.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 Ne=this._getValueFromModel(te.selection);this._lastValueValid=this._isValidValue(Ne),this._cvaOnChange(Ne),this._onTouched(),this._formatValue(Ne),this.dateInput.emit(new me(this,this._elementRef.nativeElement)),this.dateChange.emit(new me(this,this._elementRef.nativeElement))}})}constructor(C,te,Ne){this._elementRef=C,this._dateAdapter=te,this._dateFormats=Ne,this.dateChange=new r.EventEmitter,this.dateInput=new r.EventEmitter,this.stateChanges=new Nt.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=_t.w0.EMPTY,this._localeSubscription=_t.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value));return!Zt||this._matchesFilter(Zt)?null:{matDatepickerFilter:!0}},this._minValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value)),Pn=this._getMinDate();return!Pn||!Zt||this._dateAdapter.compareDate(Pn,Zt)<=0?null:{matDatepickerMin:{min:Pn,actual:Zt}}},this._maxValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.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,Lt.Vb)(C,"altKey")&&C.keyCode===Lt.JH&&["ctrlKey","shiftKey","metaKey"].every(ot=>!(0,Lt.Vb)(C,ot))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),C.preventDefault())}_onInput(C){const te=this._lastValueValid;let Ne=this._dateAdapter.parse(C,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Ne),Ne=this._dateAdapter.getValidDateOrNull(Ne);const ot=!this._dateAdapter.sameDate(Ne,this.value);!Ne||ot?this._cvaOnChange(Ne):(C&&!this.value&&this._cvaOnChange(Ne),te!==this._lastValueValid&&this._validatorOnChange()),ot&&(this._assignValue(Ne),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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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,Ot){const C=Object.keys(Je);for(let te of C){const{previousValue:Ne,currentValue:ot}=Je[te];if(!Ot.isDateInstance(Ne)||!Ot.isDateInstance(ot))return!0;if(!Ot.sameDate(Ne,ot))return!0}return!1}const kt={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 se{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,Ne,ot){super(C,te,Ne),this._formField=ot,this._closedSubscription=_t.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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("blur",function(){return te._onBlur()})("keydown",function(ot){return te._onKeydown(ot)}),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([kt,Wt,{provide:K.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,Ne){this._intl=C,this._changeDetectorRef=te,this._stateChanges=_t.w0.EMPTY;const ot=Number(Ne);this.tabIndex=ot||0===ot?ot: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)(),Ne=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,Ne).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,Ne){if(1&C&&r.\u0275\u0275contentQuery(Ne,gn,5),2&C){let ot;r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._customIcon=ot.first)}},viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(Ke,5),2&C){let Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._button=Ne.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("click",function(ot){return te._open(ot)}),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:ct,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(ge),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275template(2,he,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,Ot){if(jn(Je)&&Ot){const te=(Je.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((Ne,ot)=>{const Zt=document.getElementById(ot);return Zt&&Ne.push(Zt),Ne},[]);if(te.length)return te.map(Ne=>Ti(Ne,!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(Ne=>Ti(Ne,!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,h.mixinErrorState)((()=>{class Je extends se{constructor(C,te,Ne,ot,Zt,Pn,ji,Pi){super(te,ji,Pi),this._rangeInput=C,this._elementRef=te,this._defaultErrorStateMatcher=Ne,this._injector=ot,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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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,Ne,ot,Zt,Pn,ji,Pi){super(C,te,Ne,ot,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,Ne=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;(C.keyCode===Lt.SV&&ot||C.keyCode===Lt.oh&&!ot)&&Ne.selectionStart===Ne.value.length&&Ne.selectionEnd===Ne.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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("keydown",function(ot){return te._onKeydown(ot)})("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,Ne,ot,Zt,Pn,ji,Pi){super(C,te,Ne,ot,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,Ne=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;if(C.keyCode!==Lt.ZH||Ne.value)if((C.keyCode===Lt.oh&&ot||C.keyCode===Lt.SV&&!ot)&&0===Ne.selectionStart&&0===Ne.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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("keydown",function(ot){return te._onKeydown(ot)})("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,Ne=this._endInput,ot=te&&te._matchesFilter(te.value),Zt=Ne&&Ne._matchesFilter(te.value);this._dateFilter=C,te&&te._matchesFilter(te.value)!==ot&&te._validatorOnChange(),Ne&&Ne._matchesFilter(Ne.value)!==Zt&&Ne._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,Ne,ot,Zt){this._changeDetectorRef=C,this._elementRef=te,this._dateAdapter=ot,this._formField=Zt,this._closedSubscription=_t.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 Nt.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=Ne}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(h.DateAdapter,8),r.\u0275\u0275directiveInject(ne.G_,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-input"]],contentQueries:function(C,te,Ne){if(1&C&&(r.\u0275\u0275contentQuery(Ne,Cn,5),r.\u0275\u0275contentQuery(Ne,tn,5)),2&C){let ot;r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._startInput=ot.first),r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._endInput=ot.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(Me),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275listener("cdkFocusChange",function(ot){return te._updateFocus(ot)}),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 Ot;return function(te){return(Ot||(Ot=r.\u0275\u0275getInheritedFactory(Je)))(te||Je)}}(),Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[r.\u0275\u0275ProvidersFeature([bt,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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._template=Ne.first)}},ngContentSelectors:Pe,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,h.MatCommonModule,Ct.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 f{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 f.\u0275fac=function(u){return new(u||f)},f.\u0275cmp=n.\u0275\u0275defineComponent({type:f,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}),f})(),r=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=n.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=n.\u0275\u0275defineInjector({imports:[d.MatCommonModule,d.MatCommonModule]}),f})()},1043:(Ie,B,a)=>{"use strict";a.d(B,{Bi:()=>Bt,Eo:()=>Nt,G_:()=>Lt,Lv:()=>Tt,Px:()=>Ee,TN:()=>Ct,UO:()=>_t,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"),Ct={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 Nt=(()=>{class K{}return K.\u0275fac=function(Te){return new(Te||K)},K.\u0275dir=n.\u0275\u0275defineDirective({type:K}),K})();function _t(){return Error("Placeholder attribute and child element were both specified.")}function Bt(K){return Error(`A hint was already declared for 'align="${K}"'.`)}function Tt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const Lt=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:()=>ve,MatIconModule:()=>He,MatIconRegistry:()=>Ce,getMatIconFailedToSanitizeLiteralError:()=>A,getMatIconFailedToSanitizeUrlError:()=>ie,getMatIconNameNotFoundError:()=>$,getMatIconNoHttpProviderError:()=>ee});var n=a(5879),c=a(3680),d=a(2495),g=a(6814),r=a(2096),f=a(8504),h=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,Ge,tt){this.url=Qe,this.svgText=Ge,this.options=tt}}let Ce=(()=>{class Ze{constructor(Ge,tt,Ct,Nt){this._httpClient=Ge,this._sanitizer=tt,this._errorHandler=Nt,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=Ct}addSvgIcon(Ge,tt,Ct){return this.addSvgIconInNamespace("",Ge,tt,Ct)}addSvgIconLiteral(Ge,tt,Ct){return this.addSvgIconLiteralInNamespace("",Ge,tt,Ct)}addSvgIconInNamespace(Ge,tt,Ct,Nt){return this._addSvgIconConfig(Ge,tt,new U(Ct,null,Nt))}addSvgIconResolver(Ge){return this._resolvers.push(Ge),this}addSvgIconLiteralInNamespace(Ge,tt,Ct,Nt){const _t=this._sanitizer.sanitize(n.SecurityContext.HTML,Ct);if(!_t)throw A(Ct);const Bt=X(_t);return this._addSvgIconConfig(Ge,tt,new U("",Bt,Nt))}addSvgIconSet(Ge,tt){return this.addSvgIconSetInNamespace("",Ge,tt)}addSvgIconSetLiteral(Ge,tt){return this.addSvgIconSetLiteralInNamespace("",Ge,tt)}addSvgIconSetInNamespace(Ge,tt,Ct){return this._addSvgIconSetConfig(Ge,new U(tt,null,Ct))}addSvgIconSetLiteralInNamespace(Ge,tt,Ct){const Nt=this._sanitizer.sanitize(n.SecurityContext.HTML,tt);if(!Nt)throw A(tt);const _t=X(Nt);return this._addSvgIconSetConfig(Ge,new U("",_t,Ct))}registerFontClassAlias(Ge,tt=Ge){return this._fontCssClassesByAlias.set(Ge,tt),this}classNameForFontAlias(Ge){return this._fontCssClassesByAlias.get(Ge)||Ge}setDefaultFontSetClass(...Ge){return this._defaultFontSetClass=Ge,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ge){const tt=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Ge);if(!tt)throw ie(Ge);const Ct=this._cachedIconsByUrl.get(tt);return Ct?(0,r.of)(de(Ct)):this._loadSvgIconFromConfig(new U(Ge,null)).pipe((0,v.b)(Nt=>this._cachedIconsByUrl.set(tt,Nt)),(0,b.U)(Nt=>de(Nt)))}getNamedSvgIcon(Ge,tt=""){const Ct=H(tt,Ge);let Nt=this._svgIconConfigs.get(Ct);if(Nt)return this._getSvgFromConfig(Nt);if(Nt=this._getIconConfigFromResolvers(tt,Ge),Nt)return this._svgIconConfigs.set(Ct,Nt),this._getSvgFromConfig(Nt);const _t=this._iconSetConfigs.get(tt);return _t?this._getSvgFromIconSetConfigs(Ge,_t):(0,f._)($(Ct))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ge){return Ge.svgText?(0,r.of)(de(this._svgElementFromConfig(Ge))):this._loadSvgIconFromConfig(Ge).pipe((0,b.U)(tt=>de(tt)))}_getSvgFromIconSetConfigs(Ge,tt){const Ct=this._extractIconWithNameFromAnySet(Ge,tt);if(Ct)return(0,r.of)(Ct);const Nt=tt.filter(_t=>!_t.svgText).map(_t=>this._loadSvgIconSetFromConfig(_t).pipe((0,p.K)(Bt=>{const Lt=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,_t.url)} failed: ${Bt.message}`;return this._errorHandler.handleError(new Error(Lt)),(0,r.of)(null)})));return(0,h.D)(Nt).pipe((0,b.U)(()=>{const _t=this._extractIconWithNameFromAnySet(Ge,tt);if(!_t)throw $(Ge);return _t}))}_extractIconWithNameFromAnySet(Ge,tt){for(let Ct=tt.length-1;Ct>=0;Ct--){const Nt=tt[Ct];if(Nt.svgText&&Nt.svgText.toString().indexOf(Ge)>-1){const _t=this._svgElementFromConfig(Nt),Bt=this._extractSvgIconFromSet(_t,Ge,Nt.options);if(Bt)return Bt}}return null}_loadSvgIconFromConfig(Ge){return this._fetchIcon(Ge).pipe((0,v.b)(tt=>Ge.svgText=tt),(0,b.U)(()=>this._svgElementFromConfig(Ge)))}_loadSvgIconSetFromConfig(Ge){return Ge.svgText?(0,r.of)(null):this._fetchIcon(Ge).pipe((0,v.b)(tt=>Ge.svgText=tt))}_extractSvgIconFromSet(Ge,tt,Ct){const Nt=Ge.querySelector(`[id="${tt}"]`);if(!Nt)return null;const _t=Nt.cloneNode(!0);if(_t.removeAttribute("id"),"svg"===_t.nodeName.toLowerCase())return this._setSvgAttributes(_t,Ct);if("symbol"===_t.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(_t),Ct);const Bt=this._svgElementFromString(X(""));return Bt.appendChild(_t),this._setSvgAttributes(Bt,Ct)}_svgElementFromString(Ge){const tt=this._document.createElement("DIV");tt.innerHTML=Ge;const Ct=tt.querySelector("svg");if(!Ct)throw Error(" tag not found");return Ct}_toSvgElement(Ge){const tt=this._svgElementFromString(X("")),Ct=Ge.attributes;for(let Nt=0;NtX(Lt)),(0,_.x)(()=>this._inProgressUrlFetches.delete(_t)),(0,l.B)());return this._inProgressUrlFetches.set(_t,Tt),Tt}_addSvgIconConfig(Ge,tt,Ct){return this._svgIconConfigs.set(H(Ge,tt),Ct),this}_addSvgIconSetConfig(Ge,tt){const Ct=this._iconSetConfigs.get(Ge);return Ct?Ct.push(tt):this._iconSetConfigs.set(Ge,[tt]),this}_svgElementFromConfig(Ge){if(!Ge.svgElement){const tt=this._svgElementFromString(Ge.svgText);this._setSvgAttributes(tt,Ge.options),Ge.svgElement=tt}return Ge.svgElement}_getIconConfigFromResolvers(Ge,tt){for(let Ct=0;CtQe?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(", "),ae=/^url\(['"]?#(.*?)['"]?\)$/;let ve=(()=>{class Ze extends pe{get inline(){return this._inline}set inline(Ge){this._inline=(0,d.Ig)(Ge)}get svgIcon(){return this._svgIcon}set svgIcon(Ge){Ge!==this._svgIcon&&(Ge?this._updateSvgIcon(Ge):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ge)}get fontSet(){return this._fontSet}set fontSet(Ge){const tt=this._cleanupFontValue(Ge);tt!==this._fontSet&&(this._fontSet=tt,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ge){const tt=this._cleanupFontValue(Ge);tt!==this._fontIcon&&(this._fontIcon=tt,this._updateFontIconClasses())}constructor(Ge,tt,Ct,Nt,_t,Bt){super(Ge),this._iconRegistry=tt,this._location=Nt,this._errorHandler=_t,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)),Ct||Ge.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Ge){if(!Ge)return["",""];const tt=Ge.split(":");switch(tt.length){case 1:return["",tt[0]];case 2:return tt;default:throw Error(`Invalid icon name: "${Ge}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ge=this._elementsWithExternalReferences;if(Ge&&Ge.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(Ge){this._clearSvgElement();const tt=this._location.getPathname();this._previousPath=tt,this._cacheChildrenWithExternalReferences(Ge),this._prependPathToReferences(tt),this._elementRef.nativeElement.appendChild(Ge)}_clearSvgElement(){const Ge=this._elementRef.nativeElement;let tt=Ge.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();tt--;){const Ct=Ge.childNodes[tt];(1!==Ct.nodeType||"svg"===Ct.nodeName.toLowerCase())&&Ct.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ge=this._elementRef.nativeElement,tt=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ct=>Ct.length>0);this._previousFontSetClass.forEach(Ct=>Ge.classList.remove(Ct)),tt.forEach(Ct=>Ge.classList.add(Ct)),this._previousFontSetClass=tt,this.fontIcon!==this._previousFontIconClass&&!tt.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ge.classList.remove(this._previousFontIconClass),this.fontIcon&&Ge.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ge){return"string"==typeof Ge?Ge.trim().split(" ")[0]:Ge}_prependPathToReferences(Ge){const tt=this._elementsWithExternalReferences;tt&&tt.forEach((Ct,Nt)=>{Ct.forEach(_t=>{Nt.setAttribute(_t.name,`url('${Ge}#${_t.value}')`)})})}_cacheChildrenWithExternalReferences(Ge){const tt=Ge.querySelectorAll(re),Ct=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Nt=0;Nt{const Bt=tt[Nt],Tt=Bt.getAttribute(_t),Lt=Tt?Tt.match(ae):null;if(Lt){let Le=Ct.get(Bt);Le||(Le=[],Ct.set(Bt,Le)),Le.push({name:_t,value:Lt[1]})}})}_updateSvgIcon(Ge){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ge){const[tt,Ct]=this._splitIconName(Ge);tt&&(this._svgNamespace=tt),Ct&&(this._svgName=Ct),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ct,tt).pipe((0,y.q)(1)).subscribe(Nt=>this._setSvgElement(Nt),Nt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${tt}:${Ct}! ${Nt.message}`))})}}}return Ze.\u0275fac=function(Ge){return new(Ge||Ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Ce),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(Ge,tt){2&Ge&&(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(Ge,tt){1&Ge&&(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(Ge){return new(Ge||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),f=a(3680),h=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,f.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,Ce,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,de=Ae.nodeName.toLowerCase();this._inputValueAccessor=A||Ae,this._previousNativeValue=this.value,this.id=this.id,I.IOS&&Ce.runOutsideAngular(()=>{E.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===de,this._isTextarea="textarea"===de,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(f.ErrorStateMatcher),g.\u0275\u0275directiveInject(b,10),g.\u0275\u0275directiveInject(d.Lq),g.\u0275\u0275directiveInject(g.NgZone),g.\u0275\u0275directiveInject(h.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:h.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:()=>Ct,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Nt,MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR:()=>ze,MatLegacyAutocomplete:()=>lt,MatLegacyAutocompleteModule:()=>oe,MatLegacyAutocompleteOrigin:()=>N,MatLegacyAutocompleteSelectedEvent:()=>Ee,MatLegacyAutocompleteTrigger:()=>at,getMatLegacyAutocompleteMissingPanelError:()=>Ge});var n=a(5879),c=a(3680),d=a(4678),g=a(6814),r=a(6672),f=a(9594),h=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),Ce=a(9397),Re=a(7547),Ae=a(9388);const de=["panel"];let we=0;class Ee{constructor(ne,K){this.source=ne,this.option=K}}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 ae=(()=>{class Y extends Be{get isOpen(){return this._isOpen&&this.showPanel}_setColor(K){this._color=K,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(K){this._autoActiveFirstOption=(0,u.Ig)(K)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(K){this._autoSelectActiveOption=(0,u.Ig)(K)}set classList(K){this._classList=K&&K.length?(0,u.du)(K).reduce((ce,Te)=>(ce[Te]=!0,ce),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(K,ce,Te,et){super(),this._changeDetectorRef=K,this._elementRef=ce,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=et?.SAFARI||!1,this._autoActiveFirstOption=!!Te.autoActiveFirstOption,this._autoSelectActiveOption=!!Te.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new h.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(K=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[K]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(K){this.panel&&(this.panel.nativeElement.scrollTop=K)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(K){const ce=new Ee(this,K);this.optionSelected.emit(ce)}_getPanelAriaLabelledby(K){return this.ariaLabel?null:this.ariaLabelledby?(K?K+" ":"")+this.ariaLabelledby:K}_setVisibilityClasses(K){K[this._visibleClass]=this.showPanel,K[this._hiddenClass]=!this.showPanel}_setThemeClasses(K){K["mat-primary"]="primary"===this._color,K["mat-warn"]="warn"===this._color,K["mat-accent"]="accent"===this._color}_skipPredicate(K){return K.disabled}}return Y.\u0275fac=function(K){return new(K||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(K,ce){if(1&K&&(n.\u0275\u0275viewQuery(n.TemplateRef,7),n.\u0275\u0275viewQuery(de,5)),2&K){let Te;n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ce.template=Te.first),n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ce.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(K){this.elementRef=K}}return Y.\u0275fac=function(K){return new(K||Y)(n.\u0275\u0275directiveInject(n.ElementRef))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y}),Y})();function Ge(){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 Ct(Y){return()=>Y.scrollStrategies.reposition()}const Nt={provide:tt,deps:[f.aV],useFactory:Ct};let _t=(()=>{class Y{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(K){this._autocompleteDisabled=(0,u.Ig)(K)}constructor(K,ce,Te,et,Dt,_e,ut,Pe,mt,Pt,Ft){this._element=K,this._overlay=ce,this._viewContainerRef=Te,this._zone=et,this._changeDetectorRef=Dt,this._dir=ut,this._formField=Pe,this._document=mt,this._viewportRuler=Pt,this._defaults=Ft,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 Gt=this.autocomplete?this.autocomplete.options:null;return Gt?Gt.changes.pipe((0,$.O)(Gt),(0,ee.w)(()=>(0,y.T)(...Gt.map(Oe=>Oe.onSelectionChange)))):this._zone.onStable.pipe((0,ie.q)(1),(0,ee.w)(()=>this.optionSelections))}),this._handlePanelKeydown=Gt=>{(Gt.keyCode===S.hY&&!(0,S.Vb)(Gt)||Gt.keyCode===S.LH&&(0,S.Vb)(Gt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Gt.stopPropagation(),Gt.preventDefault())},this._trackedModal=null,this._scrollStrategy=_e}ngAfterViewInit(){const K=this._getWindow();typeof K<"u"&&this._zone.runOutsideAngular(()=>K.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(K){K.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const K=this._getWindow();typeof K<"u"&&K.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)(K=>K instanceof c.MatOptionSelectionChange?K: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)(K=>{const ce=(0,v.sA)(K),Te=this._formField?this._formField._elementRef.nativeElement:null,et=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&ce!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Te||!Te.contains(ce))&&(!et||!et.contains(ce))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(ce)}))}writeValue(K){Promise.resolve(null).then(()=>this._assignOptionValue(K))}registerOnChange(K){this._onChange=K}registerOnTouched(K){this._onTouched=K}setDisabledState(K){this._element.nativeElement.disabled=K}_handleKeydown(K){const ce=K.keyCode,Te=(0,S.Vb)(K);if(ce===S.hY&&!Te&&K.preventDefault(),this.activeOption&&ce===S.K5&&this.panelOpen&&!Te)this.activeOption._selectViaInteraction(),this._resetActiveItem(),K.preventDefault();else if(this.autocomplete){const et=this.autocomplete._keyManager.activeItem,Dt=ce===S.LH||ce===S.JH;ce===S.Mf||Dt&&!Te&&this.panelOpen?this.autocomplete._keyManager.onKeydown(K):Dt&&this._canOpen()&&this.openPanel(),(Dt||this.autocomplete._keyManager.activeItem!==et)&&(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(K){let ce=K.target,Te=ce.value;"number"===ce.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===K.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(K=!1){this._formField&&"auto"===this._formField.floatLabel&&(K?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const K=this._zone.onStable.pipe((0,ie.q)(1)),ce=this.autocomplete.options.changes.pipe((0,Ce.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Re.g)(0));return(0,y.T)(K,ce).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(K){const ce=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(K):K;this._updateNativeInputValue(ce??"")}_updateNativeInputValue(K){this._formField?this._formField._control.value=K:this._element.nativeElement.value=K,this._previousValue=K}_setValueAndClose(K){const ce=K?K.source:this._pendingAutoselectedOption;ce&&(this._clearPreviousSelectedOption(ce),this._assignOptionValue(ce.value),this._onChange(ce.value),this.autocomplete._emitSelectEvent(ce),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(K,ce){this.autocomplete&&this.autocomplete.options&&this.autocomplete.options.forEach(Te=>{Te!==K&&Te.selected&&Te.deselect(ce)})}_attachOverlay(){let K=this._overlayRef;K?(this._positionStrategy.setOrigin(this._getConnectedElement()),K.updateSize({width:this._getPanelWidth()})):(this._portal=new E.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),K=this._overlay.create(this._getOverlayConfig()),this._overlayRef=K,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&K&&K.updateSize({width:this._getPanelWidth()})})),K&&!K.hasAttached()&&(K.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const ce=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&ce!==this.panelOpen&&this.autocomplete.opened.emit()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const K=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=K.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=K.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new f.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const K=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(K),this._positionStrategy=K,K}_setStrategyPositions(K){const ce=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Te=this._aboveClass,et=[{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?et:"below"===this.position?ce:[...ce,...et],K.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 K=this.autocomplete;if(K.autoActiveFirstOption){let ce=-1;for(let Te=0;Te .cdk-overlay-container [aria-modal="true"]');if(!K)return;const ce=this.autocomplete.id;this._trackedModal&&(0,h.iD)(this._trackedModal,"aria-owns",ce),(0,h.Zf)(K,"aria-owns",ce),this._trackedModal=K}_clearFromModal(){this._trackedModal&&((0,h.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return Y.\u0275fac=function(K){return new(K||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(f.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 Lt(Y,ne){if(1&Y&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()),2&Y){const K=ne.id,ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ce.id)("ngClass",ce._classList),n.\u0275\u0275attribute("aria-label",ce.ariaLabel||null)("aria-labelledby",ce._getPanelAriaLabelledby(K))}}const Le=["*"];let lt=(()=>{class Y extends ae{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Y.\u0275fac=function(){let ne;return function(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275cmp=n.\u0275\u0275defineComponent({type:Y,selectors:[["mat-autocomplete"]],contentQueries:function(K,ce,Te){if(1&K&&(n.\u0275\u0275contentQuery(Te,c.MAT_OPTGROUP,5),n.\u0275\u0275contentQuery(Te,d.MatLegacyOption,5)),2&K){let et;n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ce.optionGroups=et),n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ce.options=et)}},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(K,ce){1&K&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,Lt,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 _t{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Y.\u0275fac=function(){let ne;return function(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(K,ce){1&K&&n.\u0275\u0275listener("focusin",function(){return ce._handleFocus()})("blur",function(){return ce._onTouched()})("input",function(et){return ce._handleInput(et)})("keydown",function(et){return ce._handleKeydown(et)})("click",function(){return ce._handleClick()}),2&K&&n.\u0275\u0275attribute("autocomplete",ce.autocompleteAttribute)("role",ce.autocompleteDisabled?null:"combobox")("aria-autocomplete",ce.autocompleteDisabled?null:"list")("aria-activedescendant",ce.panelOpen&&ce.activeOption?ce.activeOption.id:null)("aria-expanded",ce.autocompleteDisabled?null:ce.panelOpen.toString())("aria-owns",ce.autocompleteDisabled||!ce.panelOpen||null==ce.autocomplete?null:ce.autocomplete.id)("aria-haspopup",ce.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(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Y})(),oe=(()=>{class Y{}return Y.\u0275fac=function(K){return new(K||Y)},Y.\u0275mod=n.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=n.\u0275\u0275defineInjector({providers:[Nt],imports:[f.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",""]],"*"],f=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],h=[[["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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(Ce,Re){2&Ce&&n.\u0275\u0275classProp("mat-card-actions-align-end","end"===Re.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),A})(),l=(()=>{class A{}return A.\u0275fac=function(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),A})(),X=(()=>{class A{constructor(Ce){this._animationMode=Ce}}return A.\u0275fac=function(Ce){return new(Ce||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(Ce,Re){2&Ce&&n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Re._animationMode)},exportAs:["matCard"],ngContentSelectors:g,decls:2,vars:0,template:function(Ce,Re){1&Ce&&(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(Ce){return new(Ce||A)},A.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:f,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(Ce,Re){1&Ce&&(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(Ce){return new(Ce||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(Ce,Re){1&Ce&&(n.\u0275\u0275projectionDef(h),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(Ce){return new(Ce||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:()=>Ce,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 f=["input"],h=["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(de){this._elementRef=de}}))));let D=(()=>{class de 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 de.\u0275fac=function(W){c.\u0275\u0275invalidFactory()},de.\u0275dir=c.\u0275\u0275defineDirective({type:de,viewQuery:function(W,pe){if(1&W&&(c.\u0275\u0275viewQuery(f,5),c.\u0275\u0275viewQuery(h,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]}),de})();const E={provide:d.NG_VALIDATORS,useExisting:(0,c.forwardRef)(()=>I),multi:!0};let I=(()=>{class de extends d.CheckboxRequiredValidator{}return de.\u0275fac=function(){let H;return function(pe){return(H||(H=c.\u0275\u0275getInheritedFactory(de)))(pe||de)}}(),de.\u0275dir=c.\u0275\u0275defineDirective({type:de,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[c.\u0275\u0275ProvidersFeature([E]),c.\u0275\u0275InheritDefinitionFeature]}),de})(),X=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=c.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=c.\u0275\u0275defineInjector({}),de})();var ee=a(7131);const ie=function(de){return{enterDuration:de}},A=["*"];class U{}const Ce={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>Re),multi:!0};let Re=(()=>{class de 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 de.\u0275fac=function(W){return new(W||de)(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))},de.\u0275cmp=c.\u0275\u0275defineComponent({type:de,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([Ce]),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}),de})(),Ae=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=c.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=c.\u0275\u0275defineInjector({imports:[g.MatRippleModule,g.MatCommonModule,ee.Q8,X,g.MatCommonModule,X]}),de})()},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 f(_,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 h(_,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,f,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1,2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(4,h,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:()=>Ge,MatLegacyFormFieldControl:()=>r.Eo,MatLegacyFormFieldModule:()=>Nt,MatLegacyHint:()=>Be,MatLegacyLabel:()=>G,MatLegacyPlaceholder:()=>re,MatLegacyPrefix:()=>tt,MatLegacySuffix:()=>Ct,_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),f=a(9388),h=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(_t,Bt){1&_t&&(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(_t,Bt){if(1&_t){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&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("cdkObserveContentDisabled","outline"!=Tt.appearance)}}function X(_t,Bt){if(1&_t&&(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&_t){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(Tt._control.placeholder)}}function $(_t,Bt){1&_t&&d.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function ee(_t,Bt){1&_t&&(d.\u0275\u0275elementStart(0,"span",23),d.\u0275\u0275text(1," *"),d.\u0275\u0275elementEnd())}function ie(_t,Bt){if(1&_t){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&_t){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(_t,Bt){1&_t&&(d.\u0275\u0275elementStart(0,"div",24),d.\u0275\u0275projection(1,4),d.\u0275\u0275elementEnd())}function U(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div",25),d.\u0275\u0275element(1,"span",26),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275classProp("mat-accent","accent"==Tt.color)("mat-warn","warn"==Tt.color)}}function Ce(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div"),d.\u0275\u0275projection(1,5),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState)}}function Re(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div",30),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("id",Tt._hintLabelId),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Tt.hintLabel)}}function Ae(_t,Bt){if(1&_t&&(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&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",Tt.hintLabel)}}const de=["*",[["","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 _t{constructor(Tt,Lt){this.id="mat-error-"+W++,Tt||Lt.nativeElement.setAttribute("aria-live","polite")}}return _t.\u0275fac=function(Tt){return new(Tt||_t)(d.\u0275\u0275injectAttribute("aria-live"),d.\u0275\u0275directiveInject(d.ElementRef))},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(Tt,Lt){2&Tt&&d.\u0275\u0275attribute("id",Lt.id)},inputs:{id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:r.ab,useExisting:_t}])]}),_t})(),we=0;const Ee=new d.InjectionToken("MatHint");let Be=(()=>{class _t{constructor(){this.align="start",this.id="mat-hint-"+we++}}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(Tt,Lt){2&Tt&&(d.\u0275\u0275attribute("id",Lt.id)("align",null),d.\u0275\u0275classProp("mat-form-field-hint-end","end"===Lt.align))},inputs:{align:"align",id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:Ee,useExisting:_t}])]}),_t})(),G=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-label"]]}),_t})(),re=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-placeholder"]]}),_t})(),ae=0;const Ze=(0,g.mixinColor)(class{constructor(_t){this._elementRef=_t}},"primary"),Qe=new d.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ge=(()=>{class _t extends Ze{get appearance(){return this._appearance}set appearance(Tt){const Lt=this._appearance;this._appearance=Tt||this._defaults?.appearance||"legacy","outline"===this._appearance&&Lt!==Tt&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Tt){this._hideRequiredMarker=(0,h.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,Lt,Le,lt,ze,at,N){super(Tt),this._changeDetectorRef=Lt,this._dir=Le,this._defaults=lt,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-"+ae++,this._labelId="mat-form-field-label-"+ae++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==N,this.appearance=lt?.appearance||"legacy",lt&&(this._hideRequiredMarker=!!lt.hideRequiredMarker,lt.color&&(this.color=this.defaultColor=lt.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 Lt=this._control?this._control.ngControl:null;return Lt&&Lt[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 Lt=this._hintChildren?this._hintChildren.find(lt=>"start"===lt.align):null,Le=this._hintChildren?this._hintChildren.find(lt=>"end"===lt.align):null;Lt?Tt.push(Lt.id):this._hintLabel&&Tt.push(this._hintLabelId),Le&&Tt.push(Le.id)}else this._errorChildren&&Tt.push(...this._errorChildren.map(Lt=>Lt.id));this._control.setDescribedByIds(Tt)}}_validateControlChild(){}updateOutlineGap(){const Tt=this._label?this._label.nativeElement:null,Lt=this._connectionContainerRef.nativeElement,Le=".mat-form-field-outline-start",lt=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!Tt||!Tt.children.length||!Tt.textContent.trim()){const Y=Lt.querySelectorAll(`${Le}, ${lt}`);for(let ne=0;ne0?.75*Te+10:0}for(let Y=0;Y{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["","matPrefix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Px,useExisting:_t}])]}),_t})(),Ct=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["","matSuffix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Ve,useExisting:_t}])]}),_t})(),Nt=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275mod=d.\u0275\u0275defineNgModule({type:_t}),_t.\u0275inj=d.\u0275\u0275defineInjector({imports:[c.CommonModule,g.MatCommonModule,n.Q8,g.MatCommonModule]}),_t})()},2400:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_INPUT_VALUE_ACCESSOR:()=>c.Jk,MatLegacyInput:()=>h,MatLegacyInputModule:()=>u,getMatLegacyInputUnsupportedTypeError:()=>c.b7});var n=a(5879),c=a(4516),d=a(1043),g=a(4187),r=a(6263),f=a(3680);let h=(()=>{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:[f.ErrorStateMatcher],imports:[r.Ky,g.MatLegacyFormFieldModule,f.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:()=>de,MAT_LEGACY_MENU_SCROLL_STRATEGY:()=>Nt,MatLegacyMenu:()=>K,MatLegacyMenuContent:()=>et,MatLegacyMenuItem:()=>ce,MatLegacyMenuModule:()=>Dt,MatLegacyMenuTrigger:()=>Te,fadeInLegacyItems:()=>ve,matLegacyMenuAnimations:()=>ae,transformLegacyMenu:()=>He});var n=a(5879),c=a(4300),d=a(2495),g=a(6028),r=a(8645),f=a(3019),h=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(_e,ut){1&_e&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const U=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Ce=["mat-icon, [matMenuItemIcon]","*"],de=new n.InjectionToken("MAT_MENU_PANEL"),H=(0,D.mixinDisableRipple)((0,D.mixinDisabled)(class{}));let W=(()=>{class _e extends H{constructor(Pe,mt,Pt,Ft,Gt){super(),this._elementRef=Pe,this._document=mt,this._focusMonitor=Pt,this._parentMenu=Ft,this._changeDetectorRef=Gt,this.role="menuitem",this._hovered=new r.x,this._focused=new r.x,this._highlighted=!1,this._triggersSubmenu=!1,Ft?.addItem?.(this)}focus(Pe,mt){this._focusMonitor&&Pe?this._focusMonitor.focusVia(this._getHostElement(),Pe,mt):this._getHostElement().focus(mt),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(Pe){this.disabled&&(Pe.preventDefault(),Pe.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Pe=this._elementRef.nativeElement.cloneNode(!0),mt=Pe.querySelectorAll("mat-icon, .material-icons");for(let Pt=0;Pt{class _e{constructor(Pe,mt,Pt,Ft,Gt,Oe,Ke){this._template=Pe,this._componentFactoryResolver=mt,this._appRef=Pt,this._injector=Ft,this._viewContainerRef=Gt,this._document=Oe,this._changeDetectorRef=Ke,this._attached=new r.x}attach(Pe={}){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 mt=this._template.elementRef.nativeElement;mt.parentNode.insertBefore(this._outlet.outletElement,mt),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,Pe),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(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))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e}),_e})();const ae={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)")])])},ve=ae.fadeInItems,He=ae.transformMenu;let Ze=0;const Qe=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function Ge(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let tt=(()=>{class _e{get xPosition(){return this._xPosition}set xPosition(Pe){this._xPosition=Pe,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Pe){this._yPosition=Pe,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Pe){this._overlapTrigger=(0,d.Ig)(Pe)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Pe){this._hasBackdrop=(0,d.Ig)(Pe)}set panelClass(Pe){const mt=this._previousPanelClass;mt&&mt.length&&mt.split(" ").forEach(Pt=>{this._classList[Pt]=!1}),this._previousPanelClass=Pe,Pe&&Pe.length&&(Pe.split(" ").forEach(Pt=>{this._classList[Pt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Pe){this.panelClass=Pe}constructor(Pe,mt,Pt,Ft){this._elementRef=Pe,this._ngZone=mt,this._changeDetectorRef=Ft,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=Pt.overlayPanelClass||"",this._xPosition=Pt.xPosition,this._yPosition=Pt.yPosition,this.backdropClass=Pt.backdropClass,this._overlapTrigger=Pt.overlapTrigger,this._hasBackdrop=Pt.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)(Pe=>(0,f.T)(...Pe.map(mt=>mt._focused)))).subscribe(Pe=>this._keyManager.updateActiveItem(Pe)),this._directDescendantItems.changes.subscribe(Pe=>{const mt=this._keyManager;if("enter"===this._panelAnimationState&&mt.activeItem?._hasFocus()){const Pt=Pe.toArray(),Ft=Math.max(0,Math.min(Pt.length-1,mt.activeItemIndex||0));Pt[Ft]&&!Pt[Ft].disabled?mt.setActiveItem(Ft):mt.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)(mt=>(0,f.T)(...mt.map(Pt=>Pt._hovered))))}addItem(Pe){}removeItem(Pe){}_handleKeydown(Pe){const mt=Pe.keyCode,Pt=this._keyManager;switch(mt){case g.hY:(0,g.Vb)(Pe)||(Pe.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(mt===g.LH||mt===g.JH)&&Pt.setFocusOrigin("keyboard"),void Pt.onKeydown(Pe)}Pe.stopPropagation()}focusFirstItem(Pe="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(()=>{let mt=null;if(this._directDescendantItems.length&&(mt=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!mt||!mt.contains(document.activeElement)){const Pt=this._keyManager;Pt.setFocusOrigin(Pe).setFirstItemActive(),!Pt.activeItem&&mt&&mt.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Pe){const mt=Math.min(this._baseElevation+Pe,24),Pt=`${this._elevationPrefix}${mt}`,Ft=Object.keys(this._classList).find(Gt=>Gt.startsWith(this._elevationPrefix));(!Ft||Ft===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Pt]=!0,this._previousElevation=Pt)}setPositionClasses(Pe=this.xPosition,mt=this.yPosition){const Pt=this._classList;Pt["mat-menu-before"]="before"===Pe,Pt["mat-menu-after"]="after"===Pe,Pt["mat-menu-above"]="above"===mt,Pt["mat-menu-below"]="below"===mt,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Pe){this._animationDone.next(Pe),this._isAnimating=!1}_onAnimationStart(Pe){this._isAnimating=!0,"enter"===Pe.toState&&0===this._keyManager.activeItemIndex&&(Pe.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,b.O)(this._allItems)).subscribe(Pe=>{this._directDescendantItems.reset(Pe.filter(mt=>mt._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,contentQueries:function(Pe,mt,Pt){if(1&Pe&&(n.\u0275\u0275contentQuery(Pt,Be,5),n.\u0275\u0275contentQuery(Pt,W,5),n.\u0275\u0275contentQuery(Pt,W,4)),2&Pe){let Ft;n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt.lazyContent=Ft.first),n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt._allItems=Ft),n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt.items=Ft)}},viewQuery:function(Pe,mt){if(1&Pe&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&Pe){let Pt;n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(mt.templateRef=Pt.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"}}),_e})();const Nt=new n.InjectionToken("mat-menu-scroll-strategy"),Bt={provide:Nt,deps:[$.aV],useFactory:function _t(_e){return()=>_e.scrollStrategies.reposition()}},Tt=(0,ee.i$)({passive:!0});let Le=(()=>{class _e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Pe){this.menu=Pe}get menu(){return this._menu}set menu(Pe){Pe!==this._menu&&(this._menu=Pe,this._menuCloseSubscription.unsubscribe(),Pe&&(this._menuCloseSubscription=Pe.close.subscribe(mt=>{this._destroyMenu(mt),("click"===mt||"tab"===mt)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(mt)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Pe,mt,Pt,Ft,Gt,Oe,Ke,he,ge){this._overlay=Pe,this._element=mt,this._viewContainerRef=Pt,this._menuItemInstance=Oe,this._dir=Ke,this._focusMonitor=he,this._ngZone=ge,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=h.w0.EMPTY,this._hoverSubscription=h.w0.EMPTY,this._menuCloseSubscription=h.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=ct=>{(0,c.yG)(ct)||(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=Ft,this._parentMaterialMenu=Gt instanceof tt?Gt:void 0,mt.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 Pe=this.menu;if(this._menuOpen||!Pe)return;const mt=this._createOverlay(Pe),Pt=mt.getConfig(),Ft=Pt.positionStrategy;this._setPosition(Pe,Ft),Pt.hasBackdrop=null==Pe.hasBackdrop?!this.triggersSubmenu():Pe.hasBackdrop,mt.attach(this._getPortal(Pe)),Pe.lazyContent&&Pe.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Pe),Pe instanceof tt&&(Pe._startAnimation(),Pe._directDescendantItems.changes.pipe((0,l.R)(Pe.close)).subscribe(()=>{Ft.withLockedPosition(!1).reapplyLastPosition(),Ft.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Pe,mt){this._focusMonitor&&Pe?this._focusMonitor.focusVia(this._element,Pe,mt):this._element.nativeElement.focus(mt)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Pe){if(!this._overlayRef||!this.menuOpen)return;const mt=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Pe||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,mt instanceof tt?(mt._resetAnimation(),mt.lazyContent?mt._animationDone.pipe((0,y.h)(Pt=>"void"===Pt.toState),(0,_.q)(1),(0,l.R)(mt.lazyContent._attached)).subscribe({next:()=>mt.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),mt?.lazyContent?.detach())}_initMenu(Pe){Pe.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Pe.direction=this.dir,this._setMenuElevation(Pe),Pe.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Pe){if(Pe.setElevation){let mt=0,Pt=Pe.parentMenu;for(;Pt;)mt++,Pt=Pt.parentMenu;Pe.setElevation(mt)}}_setIsMenuOpen(Pe){Pe!==this._menuOpen&&(this._menuOpen=Pe,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Pe),this._changeDetectorRef.markForCheck())}_createOverlay(Pe){if(!this._overlayRef){const mt=this._getOverlayConfig(Pe);this._subscribeToPositions(Pe,mt.positionStrategy),this._overlayRef=this._overlay.create(mt),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Pe){return new $.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Pe.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Pe.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Pe,mt){Pe.setPositionClasses&&mt.positionChanges.subscribe(Pt=>{const Ft="start"===Pt.connectionPair.overlayX?"after":"before",Gt="top"===Pt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Pe.setPositionClasses(Ft,Gt)):Pe.setPositionClasses(Ft,Gt)})}_setPosition(Pe,mt){let[Pt,Ft]="before"===Pe.xPosition?["end","start"]:["start","end"],[Gt,Oe]="above"===Pe.yPosition?["bottom","top"]:["top","bottom"],[Ke,he]=[Gt,Oe],[ge,ct]=[Pt,Ft],Me=0;if(this.triggersSubmenu()){if(ct=Pt="before"===Pe.xPosition?"start":"end",Ft=ge="end"===Pt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ye=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ye?Ye._getHostElement().offsetTop:0}Me="bottom"===Gt?this._parentInnerPadding:-this._parentInnerPadding}}else Pe.overlapTrigger||(Ke="top"===Gt?"bottom":"top",he="top"===Oe?"bottom":"top");mt.withPositions([{originX:Pt,originY:Ke,overlayX:ge,overlayY:Gt,offsetY:Me},{originX:Ft,originY:Ke,overlayX:ct,overlayY:Gt,offsetY:Me},{originX:Pt,originY:he,overlayX:ge,overlayY:Oe,offsetY:-Me},{originX:Ft,originY:he,overlayX:ct,overlayY:Oe,offsetY:-Me}])}_menuClosingActions(){const Pe=this._overlayRef.backdropClick(),mt=this._overlayRef.detachments(),Pt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,u.of)(),Ft=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,y.h)(Gt=>Gt!==this._menuItemInstance),(0,y.h)(()=>this._menuOpen)):(0,u.of)();return(0,f.T)(Pe,Pt,Ft,mt)}_handleMousedown(Pe){(0,c.X6)(Pe)||(this._openedBy=0===Pe.button?"mouse":void 0,this.triggersSubmenu()&&Pe.preventDefault())}_handleKeydown(Pe){const mt=Pe.keyCode;(mt===g.K5||mt===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(mt===g.SV&&"ltr"===this.dir||mt===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Pe){this.triggersSubmenu()?(Pe.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,y.h)(Pe=>Pe===this._menuItemInstance&&!Pe.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(Pe){return(!this._portal||this._portal.templateRef!==Pe.templateRef)&&(this._portal=new E.UE(Pe.templateRef,this._viewContainerRef)),this._portal}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject($.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Nt),n.\u0275\u0275directiveInject(de,8),n.\u0275\u0275directiveInject(W,10),n.\u0275\u0275directiveInject(X.Is,8),n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(n.NgZone))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,hostVars:3,hostBindings:function(Pe,mt){1&Pe&&n.\u0275\u0275listener("click",function(Ft){return mt._handleClick(Ft)})("mousedown",function(Ft){return mt._handleMousedown(Ft)})("keydown",function(Ft){return mt._handleKeydown(Ft)}),2&Pe&&n.\u0275\u0275attribute("aria-haspopup",mt.menu?"menu":null)("aria-expanded",mt.menuOpen)("aria-controls",mt.menuOpen?mt.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"}}),_e})();var at=a(6672);function N(_e,ut){if(1&_e){const Pe=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._handleKeydown(Pt))})("click",function(){n.\u0275\u0275restoreView(Pe);const Pt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Pt.closed.emit("click"))})("@transformMenu.start",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._onAnimationStart(Pt))})("@transformMenu.done",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._onAnimationDone(Pt))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&_e){const Pe=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",Pe.panelId)("ngClass",Pe._classList)("@transformMenu",Pe._panelAnimationState),n.\u0275\u0275attribute("aria-label",Pe.ariaLabel||null)("aria-labelledby",Pe.ariaLabelledby||null)("aria-describedby",Pe.ariaDescribedby||null)}}const oe=["*"],Y=["mat-menu-item",""];function ne(_e,ut){1&_e&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",2),n.\u0275\u0275element(1,"polygon",3),n.\u0275\u0275elementEnd())}let K=(()=>{class _e extends tt{constructor(Pe,mt,Pt,Ft){super(Pe,mt,Pt,Ft),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:4,hostBindings:function(Pe,mt){2&Pe&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null)},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:de,useExisting:_e}]),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(Pe,mt){1&Pe&&(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:[ae.transformMenu,ae.fadeInItems]},changeDetection:0}),_e})(),ce=(()=>{class _e extends W{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(Pe,mt){2&Pe&&(n.\u0275\u0275attribute("role",mt.role)("tabindex",mt._getTabIndex())("aria-disabled",mt.disabled.toString())("disabled",mt.disabled||null),n.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",mt._highlighted)("mat-menu-item-submenu-trigger",mt._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:_e}]),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(Pe,mt){1&Pe&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275element(1,"div",0),n.\u0275\u0275template(2,ne,2,0,"svg",1)),2&Pe&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleDisabled",mt.disableRipple||mt.disabled)("matRippleTrigger",mt._getHostElement()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",mt._triggersSubmenu))},dependencies:[S.NgIf,D.MatRipple],encapsulation:2,changeDetection:0}),_e})(),Te=(()=>{class _e extends Le{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[n.\u0275\u0275InheritDefinitionFeature]}),_e})(),et=(()=>{class _e extends G{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Be,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]}),_e})(),Dt=(()=>{class _e{}return _e.\u0275fac=function(Pe){return new(Pe||_e)},_e.\u0275mod=n.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=n.\u0275\u0275defineInjector({providers:[Bt],imports:[S.CommonModule,D.MatCommonModule,D.MatRippleModule,$.U8,at.ZD,D.MatCommonModule]}),_e})()},9559:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{LegacyPageEvent:()=>oe,MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS:()=>Oe,MAT_LEGACY_PAGINATOR_INTL_PROVIDER:()=>at,MAT_LEGACY_PAGINATOR_INTL_PROVIDER_FACTORY:()=>ze,MatLegacyPaginator:()=>Ke,MatLegacyPaginatorIntl:()=>lt,MatLegacyPaginatorModule:()=>he,_MatLegacyPaginatorBase:()=>K});var n=a(6814),c=a(5879),d=a(3680),g=a(4505),r=a(1798),f=a(9594),h=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:[f.aV],useFactory:function ie(ge){return()=>ge.scrollStrategies.reposition({scrollThrottle:20})}},Ce=new c.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function U(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Ae="tooltip-panel",de=(0,p.i$)({passive:!0});let Be=(()=>{class ge{get position(){return this._position}set position(Me){Me!==this._position&&(this._position=Me,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Me){this._positionAtOrigin=(0,y.Ig)(Me),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Me){this._disabled=(0,y.Ig)(Me),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(Me){this._showDelay=(0,y.su)(Me)}get hideDelay(){return this._hideDelay}set hideDelay(Me){this._hideDelay=(0,y.su)(Me),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(Me){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=Me?String(Me).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(Me){this._tooltipClass=Me,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve){this._overlay=Me,this._elementRef=Ye,this._scrollDispatcher=De,this._viewContainerRef=F,this._ngZone=V,this._platform=Q,this._ariaDescriber=be,this._focusMonitor=dt,this._dir=qe,this._defaultOptions=nt,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=Rt,this._document=Ve,nt&&(this._showDelay=nt.showDelay,this._hideDelay=nt.hideDelay,nt.position&&(this.position=nt.position),nt.positionAtOrigin&&(this.positionAtOrigin=nt.positionAtOrigin),nt.touchGestures&&(this.touchGestures=nt.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(Me=>{Me?"keyboard"===Me&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Me=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Ye,De])=>{Me.removeEventListener(Ye,De,de)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Me,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Me)}show(Me=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(Me)}hide(Me=this.hideDelay){const Ye=this._tooltipInstance;Ye&&(Ye.isVisible()?Ye.hide(Me):(Ye._cancelPendingAnimations(),this._detach()))}toggle(Me){this._isTooltipVisible()?this.hide():this.show(void 0,Me)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Me){if(this._overlayRef){const F=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!Me)&&F._origin instanceof c.ElementRef)return this._overlayRef;this._detach()}const Ye=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),De=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&Me||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(Me){const Ye=Me.getConfig().positionStrategy,De=this._getOrigin(),F=this._getOverlayPosition();Ye.withPositions([this._addOffset({...De.main,...F.main}),this._addOffset({...De.fallback,...F.fallback})])}_addOffset(Me){return Me}_getOrigin(){const Me=!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&&Me||"right"==Ye&&!Me?De={originX:"start",originY:"center"}:("after"==Ye||"right"==Ye&&Me||"left"==Ye&&!Me)&&(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 Me=!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&&Me||"right"==Ye&&!Me?De={overlayX:"end",overlayY:"center"}:("after"==Ye||"right"==Ye&&Me||"left"==Ye&&!Me)&&(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(Me){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Me,this._tooltipInstance._markForCheck())}_invertPosition(Me,Ye){return"above"===this.position||"below"===this.position?"top"===Ye?Ye="bottom":"bottom"===Ye&&(Ye="top"):"end"===Me?Me="start":"start"===Me&&(Me="end"),{x:Me,y:Ye}}_updateCurrentPositionClass(Me){const{overlayY:Ye,originX:De,originY:F}=Me;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 Q=this._overlayRef;if(Q){const be=`${this._cssClassPrefix}-${Ae}-`;Q.removePanelClass(be+this._currentPosition),Q.addPanelClass(be+V)}this._currentPosition=V}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",Me=>{let Ye;this._setupPointerExitEventsIfNeeded(),void 0!==Me.x&&void 0!==Me.y&&(Ye=Me),this.show(void 0,Ye)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",Me=>{const Ye=Me.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 Me=[];if(this._platformSupportsMouseEvents())Me.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)};Me.push(["touchend",Ye],["touchcancel",Ye])}this._addListeners(Me),this._passiveListeners.push(...Me)}_addListeners(Me){Me.forEach(([Ye,De])=>{this._elementRef.nativeElement.addEventListener(Ye,De,de)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Me){if(this._isTooltipVisible()){const Ye=this._document.elementFromPoint(Me.clientX,Me.clientY),De=this._elementRef.nativeElement;Ye!==De&&!De.contains(Ye)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Me=this.touchGestures;if("off"!==Me){const Ye=this._elementRef.nativeElement,De=Ye.style;("on"===Me||"INPUT"!==Ye.nodeName&&"TEXTAREA"!==Ye.nodeName)&&(De.userSelect=De.msUserSelect=De.webkitUserSelect=De.MozUserSelect="none"),("on"===Me||!Ye.draggable)&&(De.webkitUserDrag="none"),De.touchAction="none",De.webkitTapHighlightColor="transparent"}}}return ge.\u0275fac=function(Me){c.\u0275\u0275invalidFactory()},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,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"]}}),ge})(),re=(()=>{class ge{constructor(Me,Ye){this._changeDetectorRef=Me,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new S.x,this._animationsDisabled="NoopAnimations"===Ye}show(Me){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Me)}hide(Me){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Me)}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:Me}){(!Me||!this._triggerElement.contains(Me))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:Me}){(Me===this._showAnimation||Me===this._hideAnimation)&&this._finalizeAnimation(Me===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Me){Me?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Me){const Ye=this._tooltip.nativeElement,De=this._showAnimation,F=this._hideAnimation;if(Ye.classList.remove(Me?F:De),Ye.classList.add(Me?De:F),this._isVisible=Me,Me&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const V=getComputedStyle(Ye);("0s"===V.getPropertyValue("animation-duration")||"none"===V.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Me&&this._onShow(),this._animationsDisabled&&(Ye.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Me))}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge}),ge})();const Ze=["tooltip"];let Qe=(()=>{class ge extends Be{constructor(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve){super(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve),this._tooltipComponent=Ge}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(f.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(h.$s),c.\u0275\u0275directiveInject(h.tE),c.\u0275\u0275directiveInject(ee),c.\u0275\u0275directiveInject(v.Is,8),c.\u0275\u0275directiveInject(Ce,8),c.\u0275\u0275directiveInject(n.DOCUMENT))},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(Me,Ye){2&Me&&c.\u0275\u0275classProp("mat-tooltip-disabled",Ye.disabled)},exportAs:["matTooltip"],features:[c.\u0275\u0275InheritDefinitionFeature]}),ge})(),Ge=(()=>{class ge extends re{constructor(Me,Ye,De){super(Me,De),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=Ye.observe(b.u3.Handset)}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(b.Yg),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},ge.\u0275cmp=c.\u0275\u0275defineComponent({type:ge,selectors:[["mat-tooltip-component"]],viewQuery:function(Me,Ye){if(1&Me&&c.\u0275\u0275viewQuery(Ze,7),2&Me){let De;c.\u0275\u0275queryRefresh(De=c.\u0275\u0275loadQuery())&&(Ye._tooltip=De.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(Me,Ye){1&Me&&c.\u0275\u0275listener("mouseleave",function(F){return Ye._handleMouseLeave(F)}),2&Me&&(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(Me,Ye){if(1&Me&&(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&Me){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}),ge})(),tt=(()=>{class ge{}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275mod=c.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=c.\u0275\u0275defineInjector({providers:[A],imports:[h.rt,n.CommonModule,f.U8,d.MatCommonModule,d.MatCommonModule,u.ZD]}),ge})(),lt=(()=>{class ge{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=(Me,Ye,De)=>{if(0==De||0==Ye)return`0 of ${De}`;const F=Me*Ye;return`${F+1} \u2013 ${F<(De=Math.max(De,0))?Math.min(F+Ye,De):F+Ye} of ${De}`}}}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275prov=c.\u0275\u0275defineInjectable({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();function ze(ge){return ge||new lt}const at={provide:lt,deps:[[new c.Optional,new c.SkipSelf,lt]],useFactory:ze};class oe{}const ne=(0,d.mixinDisabled)((0,d.mixinInitialized)(class{}));let K=(()=>{class ge extends ne{get pageIndex(){return this._pageIndex}set pageIndex(Me){this._pageIndex=Math.max((0,y.su)(Me),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Me){this._length=(0,y.su)(Me),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Me){this._pageSize=Math.max((0,y.su)(Me),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Me){this._pageSizeOptions=(Me||[]).map(Ye=>(0,y.su)(Ye)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Me){this._hidePageSize=(0,y.Ig)(Me)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Me){this._showFirstLastButtons=(0,y.Ig)(Me)}constructor(Me,Ye,De){if(super(),this._intl=Me,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=Me.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),De){const{pageSize:F,pageSizeOptions:V,hidePageSize:Q,showFirstLastButtons:be}=De;null!=F&&(this._pageSize=F),null!=V&&(this._pageSizeOptions=V),null!=Q&&(this._hidePageSize=Q),null!=be&&(this._showFirstLastButtons=be)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Me=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Me)}previousPage(){if(!this.hasPreviousPage())return;const Me=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Me)}firstPage(){if(!this.hasPreviousPage())return;const Me=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Me)}lastPage(){if(!this.hasNextPage())return;const Me=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Me)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Me=this.getNumberOfPages()-1;return this.pageIndexMe-Ye),this._changeDetectorRef.markForCheck())}_emitPageEvent(Me){this.page.emit({previousPageIndex:Me,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return ge.\u0275fac=function(Me){c.\u0275\u0275invalidFactory()},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[c.\u0275\u0275InheritDefinitionFeature]}),ge})();var Dt=a(4187),_e=a(4678);function ut(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"mat-option",19),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&ge){const Me=ct.$implicit;c.\u0275\u0275property("value",Me),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate1(" ",Me," ")}}function Pe(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),c.\u0275\u0275listener("selectionChange",function(De){c.\u0275\u0275restoreView(Me);const F=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(F._changePageSize(De.value))}),c.\u0275\u0275template(2,ut,2,2,"mat-option",18),c.\u0275\u0275elementEnd()()}if(2&ge){const Me=c.\u0275\u0275nextContext(2);c.\u0275\u0275property("appearance",Me._formFieldAppearance)("color",Me.color),c.\u0275\u0275advance(1),c.\u0275\u0275property("value",Me.pageSize)("disabled",Me.disabled)("panelClass",Me.selectConfig.panelClass||"")("disableOptionCentering",Me.selectConfig.disableOptionCentering)("aria-label",Me._intl.itemsPerPageLabel),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngForOf",Me._displayedPageSizeOptions)}}function mt(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"div",20),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&ge){const Me=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(Me.pageSize)}}function Pt(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"div",12)(1,"div",13),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(3,Pe,3,8,"mat-form-field",14),c.\u0275\u0275template(4,mt,2,1,"div",15),c.\u0275\u0275elementEnd()),2&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate1(" ",Me._intl.itemsPerPageLabel," "),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Me._displayedPageSizeOptions.length>1),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Me._displayedPageSizeOptions.length<=1)}}function Ft(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"button",21),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(Me);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&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",Me._intl.firstPageLabel)("matTooltipDisabled",Me._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Me._previousButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Me._intl.firstPageLabel)}}function Gt(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275namespaceSVG(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(0,"button",23),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(Me);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&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",Me._intl.lastPageLabel)("matTooltipDisabled",Me._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Me._nextButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Me._intl.lastPageLabel)}}const Oe=new c.InjectionToken("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS");let Ke=(()=>{class ge extends K{constructor(Me,Ye,De){super(Me,Ye,De),De&&null!=De.formFieldAppearance&&(this._formFieldAppearance=De.formFieldAppearance)}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(lt),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(Oe,8))},ge.\u0275cmp=c.\u0275\u0275defineComponent({type:ge,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(Me,Ye){1&Me&&(c.\u0275\u0275elementStart(0,"div",0)(1,"div",1),c.\u0275\u0275template(2,Pt,5,3,"div",2),c.\u0275\u0275elementStart(3,"div",3)(4,"div",4),c.\u0275\u0275text(5),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(6,Ft,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,Gt,3,5,"button",11),c.\u0275\u0275elementEnd()()()),2&Me&&(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,_e.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}),ge})(),he=(()=>{class ge{}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275mod=c.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=c.\u0275\u0275defineInjector({providers:[at],imports:[n.CommonModule,g.MatLegacyButtonModule,r.MatLegacySelectModule,tt,d.MatCommonModule]}),ge})()},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:()=>Ce});var n=a(2495),c=a(2831),d=a(6672),g=a(6814),r=a(5879),f=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 de=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+de._spinnerAnimationLabel)("stroke-dashoffset",de._getStrokeDashOffset(),"px")("stroke-dasharray",de._getStrokeCircumference(),"px")("stroke-width",de._getCircleStrokeWidth(),"%")("transform-origin",de._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",de._getCircleRadius())}}function I(Re,Ae){if(1&Re&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275element(0,"circle",4)),2&Re){const de=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("stroke-dashoffset",de._getStrokeDashOffset(),"px")("stroke-dasharray",de._getStrokeCircumference(),"px")("stroke-width",de._getCircleStrokeWidth(),"%")("transform-origin",de._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",de._getCircleRadius())}}const ee=(0,f.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,de,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)),de.isBrowser&&de.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 de=50*(Ae.currentScale??1);return`${de}% ${de}%`}_attachStyleNode(){const Ae=this._styleRoot,de=this._diameter,H=A._diameters;let W=H.get(Ae);if(!W||!W.has(de)){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(de)}}_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,de){2&Ae&&(r.\u0275\u0275attribute("aria-valuemin","determinate"===de.mode?0:null)("aria-valuemax","determinate"===de.mode?100:null)("aria-valuenow","determinate"===de.mode?de.value:null)("mode",de.mode),r.\u0275\u0275styleProp("width",de.diameter,"px")("height",de.diameter,"px"),r.\u0275\u0275classProp("_mat-animation-noopable",de._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,de){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",de.diameter,"px")("height",de.diameter,"px"),r.\u0275\u0275property("ngSwitch","indeterminate"===de.mode),r.\u0275\u0275attribute("viewBox",de._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(de){return new(de||Re)},Re.\u0275mod=r.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=r.\u0275\u0275defineInjector({imports:[f.MatCommonModule,g.CommonModule,f.MatCommonModule]}),Re})();const Ce=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:()=>Ce,MatLegacyRadioChange:()=>b,MatLegacyRadioGroup:()=>U,MatLegacyRadioModule:()=>Re});var n=a(5879),c=a(3680),d=a(4300),g=a(8337),r=a(6223),f=a(2495);const h=["input"];let v=0;class b{constructor(de,H){this.source=de,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,f.Ig)(H),this._markRadiosForCheck()}get required(){return this._required}set required(H){this._required=(0,f.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(de){this._elementRef=de}}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,f.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,f.Ig)(H))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(H){this._required=(0,f.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,f.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(h,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 de;return function(W){return(de||(de=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,Ce,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})(),Ce=(()=>{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:()=>Ge,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Ze,MAT_LEGACY_SELECT_TRIGGER:()=>tt,MatLegacySelect:()=>mt,MatLegacySelectChange:()=>ut,MatLegacySelectModule:()=>Pt,MatLegacySelectTrigger:()=>Pe,matLegacySelectAnimations:()=>ne});var n=a(9594),c=a(6814),d=a(5879),g=a(3680),r=a(4678),f=a(1043),h=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 Ce=["trigger"],Re=["panel"];let ve=0;const He=new d.InjectionToken("mat-select-scroll-strategy");function Ze(Ft){return()=>Ft.scrollStrategies.reposition()}const Qe=new d.InjectionToken("MAT_SELECT_CONFIG"),Ge={provide:He,deps:[n.aV],useFactory:Ze},tt=new d.InjectionToken("MatSelectTrigger"),Nt=(0,g.mixinDisableRipple)((0,g.mixinTabIndex)((0,g.mixinDisabled)((0,g.mixinErrorState)(class{constructor(Ft,Gt,Oe,Ke,he){this._elementRef=Ft,this._defaultErrorStateMatcher=Gt,this._parentForm=Oe,this._parentFormGroup=Ke,this.ngControl=he,this.stateChanges=new x.x}}))));let _t=(()=>{class Ft extends Nt{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Oe){this._placeholder=Oe,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(y.Validators.required)??!1}set required(Oe){this._required=(0,p.Ig)(Oe),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Oe){this._multiple=(0,p.Ig)(Oe)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Oe){this._disableOptionCentering=(0,p.Ig)(Oe)}get compareWith(){return this._compareWith}set compareWith(Oe){this._compareWith=Oe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Oe){this._assignValue(Oe)&&this._onChange(Oe)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Oe){this._typeaheadDebounceInterval=(0,p.su)(Oe)}get id(){return this._id}set id(Oe){this._id=Oe||this._uid,this.stateChanges.next()}constructor(Oe,Ke,he,ge,ct,Me,Ye,De,F,V,Q,be,dt,Rt){super(ct,ge,Ye,De,V),this._viewportRuler=Oe,this._changeDetectorRef=Ke,this._ngZone=he,this._dir=Me,this._parentFormField=F,this._liveAnnouncer=dt,this._defaultOptions=Rt,this._panelOpen=!1,this._compareWith=(qe,nt)=>qe===nt,this._uid="mat-select-"+ve++,this._triggerAriaLabelledBy=null,this._destroy=new x.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ve++,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(nt=>nt.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!=Rt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Rt.typeaheadDebounceInterval),this._scrollStrategyFactory=be,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Q)||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(Oe=>{Oe.added.forEach(Ke=>Ke.select()),Oe.removed.forEach(Ke=>Ke.deselect())}),this.options.changes.pipe((0,E.O)(null),(0,A.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Oe=this._getTriggerAriaLabelledby(),Ke=this.ngControl;if(Oe!==this._triggerAriaLabelledBy){const he=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Oe,Oe?he.setAttribute("aria-labelledby",Oe):he.removeAttribute("aria-labelledby")}Ke&&(this._previousControl!==Ke.control&&(void 0!==this._previousControl&&null!==Ke.disabled&&Ke.disabled!==this.disabled&&(this.disabled=Ke.disabled),this._previousControl=Ke.control),this.updateErrorState())}ngOnChanges(Oe){(Oe.disabled||Oe.userAriaDescribedBy)&&this.stateChanges.next(),Oe.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 Oe=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Oe)return;const Ke=`${this.id}-panel`;this._trackedModal&&(0,v.iD)(this._trackedModal,"aria-owns",Ke),(0,v.Zf)(Oe,"aria-owns",Ke),this._trackedModal=Oe}_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(Oe){this._assignValue(Oe)}registerOnChange(Oe){this._onChange=Oe}registerOnTouched(Oe){this._onTouched=Oe}setDisabledState(Oe){this.disabled=Oe,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 Oe=this._selectionModel.selected.map(Ke=>Ke.viewValue);return this._isRtl()&&Oe.reverse(),Oe.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Oe){this.disabled||(this.panelOpen?this._handleOpenKeydown(Oe):this._handleClosedKeydown(Oe))}_handleClosedKeydown(Oe){const Ke=Oe.keyCode,he=Ke===l.JH||Ke===l.LH||Ke===l.oh||Ke===l.SV,ge=Ke===l.K5||Ke===l.L_,ct=this._keyManager;if(!ct.isTyping()&&ge&&!(0,l.Vb)(Oe)||(this.multiple||Oe.altKey)&&he)Oe.preventDefault(),this.open();else if(!this.multiple){const Me=this.selected;ct.onKeydown(Oe);const Ye=this.selected;Ye&&Me!==Ye&&this._liveAnnouncer.announce(Ye.viewValue,1e4)}}_handleOpenKeydown(Oe){const Ke=this._keyManager,he=Oe.keyCode,ge=he===l.JH||he===l.LH,ct=Ke.isTyping();if(ge&&Oe.altKey)Oe.preventDefault(),this.close();else if(ct||he!==l.K5&&he!==l.L_||!Ke.activeItem||(0,l.Vb)(Oe))if(!ct&&this._multiple&&he===l.A&&Oe.ctrlKey){Oe.preventDefault();const Me=this.options.some(Ye=>!Ye.disabled&&!Ye.selected);this.options.forEach(Ye=>{Ye.disabled||(Me?Ye.select():Ye.deselect())})}else{const Me=Ke.activeItemIndex;Ke.onKeydown(Oe),this._multiple&&ge&&Oe.shiftKey&&Ke.activeItem&&Ke.activeItemIndex!==Me&&Ke.activeItem._selectViaInteraction()}else Oe.preventDefault(),Ke.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(Oe){if(this.options.forEach(Ke=>Ke.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Oe)Array.isArray(Oe),Oe.forEach(Ke=>this._selectOptionByValue(Ke)),this._sortValues();else{const Ke=this._selectOptionByValue(Oe);Ke?this._keyManager.updateActiveItem(Ke):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Oe){const Ke=this.options.find(he=>{if(this._selectionModel.isSelected(he))return!1;try{return null!=he.value&&this._compareWith(he.value,Oe)}catch{return!1}});return Ke&&this._selectionModel.select(Ke),Ke}_assignValue(Oe){return!!(Oe!==this._value||this._multiple&&Array.isArray(Oe))&&(this.options&&this._setSelectionByValue(Oe),this._value=Oe,!0)}_skipPredicate(Oe){return Oe.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 Oe=(0,S.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,A.R)(Oe)).subscribe(Ke=>{this._onSelect(Ke.source,Ke.isUserInput),Ke.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,S.T)(...this.options.map(Ke=>Ke._stateChanges)).pipe((0,A.R)(Oe)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Oe,Ke){const he=this._selectionModel.isSelected(Oe);null!=Oe.value||this._multiple?(he!==Oe.selected&&(Oe.selected?this._selectionModel.select(Oe):this._selectionModel.deselect(Oe)),Ke&&this._keyManager.setActiveItem(Oe),this.multiple&&(this._sortValues(),Ke&&this.focus())):(Oe.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Oe.value)),he!==this._selectionModel.isSelected(Oe)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Oe=this.options.toArray();this._selectionModel.sort((Ke,he)=>this.sortComparator?this.sortComparator(Ke,he,Oe):Oe.indexOf(Ke)-Oe.indexOf(he)),this.stateChanges.next()}}_propagateChanges(Oe){let Ke=null;Ke=this.multiple?this.selected.map(he=>he.value):this.selected?this.selected.value:Oe,this._value=Ke,this.valueChange.emit(Ke),this._onChange(Ke),this.selectionChange.emit(this._getChangeEvent(Ke)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Oe=-1;for(let Ke=0;Ke0}focus(Oe){this._elementRef.nativeElement.focus(Oe)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Oe?Oe+" ":"")+this.ariaLabelledby:Oe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();let Ke=(Oe?Oe+" ":"")+this._valueId;return this.ariaLabelledby&&(Ke+=" "+this.ariaLabelledby),Ke}_panelDoneAnimating(Oe){this.openedChange.emit(Oe)}setDescribedByIds(Oe){Oe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Oe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)(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(f.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))},Ft.\u0275dir=d.\u0275\u0275defineDirective({type:Ft,viewQuery:function(Oe,Ke){if(1&Oe&&(d.\u0275\u0275viewQuery(Ce,5),d.\u0275\u0275viewQuery(Re,5),d.\u0275\u0275viewQuery(n.pI,5)),2&Oe){let he;d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke.trigger=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke.panel=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke._overlayDir=he.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]}),Ft})();function Le(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",8),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Oe.placeholder)}}function lt(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",12),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Oe.triggerValue)}}function ze(Ft,Gt){1&Ft&&d.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function at(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",9),d.\u0275\u0275template(1,lt,2,1,"span",10),d.\u0275\u0275template(2,ze,1,0,"ng-content",11),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("ngSwitch",!!Oe.customTrigger),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngSwitchCase",!0)}}function N(Ft,Gt){if(1&Ft){const Oe=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",13)(1,"div",14,15),d.\u0275\u0275listener("@transformPanel.done",function(he){d.\u0275\u0275restoreView(Oe);const ge=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ge._panelDoneAnimatingStream.next(he.toState))})("keydown",function(he){d.\u0275\u0275restoreView(Oe);const ge=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ge._handleKeydown(he))}),d.\u0275\u0275projection(3,1),d.\u0275\u0275elementEnd()()}if(2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transformPanelWrap",void 0),d.\u0275\u0275advance(1),d.\u0275\u0275classMapInterpolate1("mat-select-panel ",Oe._getPanelTheme(),""),d.\u0275\u0275styleProp("transform-origin",Oe._transformOrigin)("font-size",Oe._triggerFontSize,"px"),d.\u0275\u0275property("ngClass",Oe.panelClass)("@transformPanel",Oe.multiple?"showing-multiple":"showing"),d.\u0275\u0275attribute("id",Oe.id+"-panel")("aria-multiselectable",Oe.multiple)("aria-label",Oe.ariaLabel||null)("aria-labelledby",Oe._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})))])},K=256;class ut{constructor(Gt,Oe){this.source=Gt,this.value=Oe}}let Pe=(()=>{class Ft{}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)},Ft.\u0275dir=d.\u0275\u0275defineDirective({type:Ft,selectors:[["mat-select-trigger"]],features:[d.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:Ft}])]}),Ft})(),mt=(()=>{class Ft extends _t{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(Oe,Ke,he){const ge=this._getItemHeight();return Math.min(Math.max(0,ge*Oe-Ke+ge/2),he)}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(Oe){const Ke=(0,g._countGroupLabelsBeforeOption)(Oe,this.options,this.optionGroups),he=this._getItemHeight();this.panel.nativeElement.scrollTop=0===Oe&&1===Ke?0:(0,g._getOptionScrollPosition)((Oe+Ke)*he,he,this.panel.nativeElement.scrollTop,K)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(Oe){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(Oe)}_getChangeEvent(Oe){return new ut(this,Oe)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){const Oe=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),Ke=this._viewportRuler.getViewportSize(),he=this._isRtl(),ge=this.multiple?56:32;let ct;if(this.multiple)ct=40;else if(this.disableOptionCentering)ct=16;else{let De=this._selectionModel.selected[0]||this.options.first;ct=De&&De.group?32:16}he||(ct*=-1);const Me=0-(Oe.left+ct-(he?ge:0)),Ye=Oe.right+ct-Ke.width+(he?0:ge);Me>0?ct+=Me+8:Ye>0&&(ct-=Ye+8),this._overlayDir.offsetX=Math.round(ct),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(Oe,Ke,he){const ge=this._getItemHeight(),ct=(ge-this._triggerRect.height)/2,Me=Math.floor(K/ge);let Ye;return this.disableOptionCentering?0:(Ye=0===this._scrollTop?Oe*ge:this._scrollTop===he?(Oe-(this._getItemCount()-Me))*ge+(ge-(this._getItemCount()*ge-K)%ge):Ke-ge/2,Math.round(-1*Ye-ct))}_checkOverlayWithinViewport(Oe){const Ke=this._getItemHeight(),he=this._viewportRuler.getViewportSize(),ge=this._triggerRect.top-8,ct=he.height-this._triggerRect.bottom-8,Me=Math.abs(this._offsetY),De=Math.min(this._getItemCount()*Ke,K)-Me-this._triggerRect.height;De>ct?this._adjustPanelUp(De,ct):Me>ge?this._adjustPanelDown(Me,ge,Oe):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(Oe,Ke){const he=Math.round(Oe-Ke);this._scrollTop-=he,this._offsetY-=he,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(Oe,Ke,he){const ge=Math.round(Oe-Ke);if(this._scrollTop+=ge,this._offsetY+=ge,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=he)return this._scrollTop=he,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const Oe=this._getItemHeight(),Ke=this._getItemCount(),he=Math.min(Ke*Oe,K),ct=Ke*Oe-he;let Me;Me=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Me+=(0,g._countGroupLabelsBeforeOption)(Me,this.options,this.optionGroups);const Ye=he/2;this._scrollTop=this._calculateOverlayScroll(Me,Ye,ct),this._offsetY=this._calculateOverlayOffsetY(Me,Ye,ct),this._checkOverlayWithinViewport(ct)}_getOriginBasedOnOption(){const Oe=this._getItemHeight(),Ke=(Oe-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-Ke+Oe/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Ft.\u0275fac=function(){let Gt;return function(Ke){return(Gt||(Gt=d.\u0275\u0275getInheritedFactory(Ft)))(Ke||Ft)}}(),Ft.\u0275cmp=d.\u0275\u0275defineComponent({type:Ft,selectors:[["mat-select"]],contentQueries:function(Oe,Ke,he){if(1&Oe&&(d.\u0275\u0275contentQuery(he,tt,5),d.\u0275\u0275contentQuery(he,r.MatLegacyOption,5),d.\u0275\u0275contentQuery(he,g.MAT_OPTGROUP,5)),2&Oe){let ge;d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.customTrigger=ge.first),d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.options=ge),d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.optionGroups=ge)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(Oe,Ke){1&Oe&&d.\u0275\u0275listener("keydown",function(ge){return Ke._handleKeydown(ge)})("focus",function(){return Ke._onFocus()})("blur",function(){return Ke._onBlur()}),2&Oe&&(d.\u0275\u0275attribute("id",Ke.id)("tabindex",Ke.tabIndex)("aria-controls",Ke.panelOpen?Ke.id+"-panel":null)("aria-expanded",Ke.panelOpen)("aria-label",Ke.ariaLabel||null)("aria-required",Ke.required.toString())("aria-disabled",Ke.disabled.toString())("aria-invalid",Ke.errorState)("aria-activedescendant",Ke._getAriaActiveDescendant()),d.\u0275\u0275classProp("mat-select-disabled",Ke.disabled)("mat-select-invalid",Ke.errorState)("mat-select-required",Ke.required)("mat-select-empty",Ke.empty)("mat-select-multiple",Ke.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[d.\u0275\u0275ProvidersFeature([{provide:f.Eo,useExisting:Ft},{provide:g.MAT_OPTION_PARENT_COMPONENT,useExisting:Ft}]),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(Oe,Ke){if(1&Oe&&(d.\u0275\u0275projectionDef(oe),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275listener("click",function(){return Ke.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 Ke.close()})("attach",function(){return Ke._onAttached()})("detach",function(){return Ke.close()})),2&Oe){const he=d.\u0275\u0275reference(1);d.\u0275\u0275attribute("aria-owns",Ke.panelOpen?Ke.id+"-panel":null),d.\u0275\u0275advance(3),d.\u0275\u0275property("ngSwitch",Ke.empty),d.\u0275\u0275attribute("id",Ke._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",Ke._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Ke._scrollStrategy)("cdkConnectedOverlayOrigin",he)("cdkConnectedOverlayOpen",Ke.panelOpen)("cdkConnectedOverlayPositions",Ke._positions)("cdkConnectedOverlayMinWidth",Ke._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",Ke._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}),Ft})(),Pt=(()=>{class Ft{}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)},Ft.\u0275mod=d.\u0275\u0275defineNgModule({type:Ft}),Ft.\u0275inj=d.\u0275\u0275defineInjector({providers:[Ge],imports:[c.CommonModule,n.U8,r.MatLegacyOptionModule,g.MatCommonModule,u.ZD,h.MatLegacyFormFieldModule,r.MatLegacyOptionModule,g.MatCommonModule]}),Ft})()},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:()=>Ce,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),f=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,f.Ig)(H)}get checked(){return this._checked}set checked(H){this._checked=(0,f.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 de;return function(W){return(de||(de=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)(()=>Ce),multi:!0};class U{constructor(de,H){this.source=de,this.checked=H}}let Ce=(()=>{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:()=>Ce});var n=a(6814),c=a(5879),d=a(3680),g=a(4300),r=a(9388),f=a(2495),h=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(de){this._invert=(0,f.Ig)(de)}get max(){return this._max}set max(de){this._max=(0,f.su)(de,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(de){this._min=(0,f.su)(de,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(de){this._step=(0,f.su)(de,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(de){this._thumbLabel=(0,f.Ig)(de)}get tickInterval(){return this._tickInterval}set tickInterval(de){this._tickInterval="auto"===de?"auto":"number"==typeof de||"string"==typeof de?(0,f.su)(de,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(de){if(de!==this._value){let H=(0,f.su)(de,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(de){this._vertical=(0,f.Ig)(de)}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(de){this._focusHostElement(de)}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 de=this.percent,W=this.vertical?`1, ${de}, 1`:`${de}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${W})`,display:0===de?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let de=100*this._tickIntervalPercent,Ee={backgroundSize:this.vertical?`2px ${de}%`:`${de}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${de/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 de=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?de:!de)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const de=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?de:!de}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}constructor(de,H,W,pe,we,Ee,Be,G){super(de),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 de=0;de{if("pointer"===this._isSliding){const ae=ie(re,this._touchId);if(ae){re.cancelable&&re.preventDefault();const ve=this.value;this._lastPointerEvent=re,this._updateValueFromPosition(ae),ve!=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=de.nativeElement;re.addEventListener("mousedown",this._pointerDown,_),re.addEventListener("touchstart",this._pointerDown,_)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(de=>{this._isActive=!!de&&"keyboard"!==de,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const de=this._elementRef.nativeElement;de.removeEventListener("mousedown",this._pointerDown,_),de.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(de){if(this.disabled||(0,h.Vb)(de)||this._isSliding&&"keyboard"!==this._isSliding)return;const H=this.value;switch(de.keyCode){case h.Ku:this._increment(10);break;case h.VM:this._increment(-10);break;case h.uR:this.value=this.max;break;case h.Sd:this.value=this.min;break;case h.oh:this._increment("rtl"==this._getDirection()?1:-1);break;case h.LH:this._increment(1);break;case h.SV:this._increment("rtl"==this._getDirection()?-1:1);break;case h.JH:this._increment(-1);break;default:return}H!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",de.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(de){const H=this._document,W=ee(de),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 de=this._document;de.removeEventListener("mousemove",this._pointerMove,_),de.removeEventListener("mouseup",this._pointerUp,_),de.removeEventListener("touchmove",this._pointerMove,_),de.removeEventListener("touchend",this._pointerUp,_),de.removeEventListener("touchcancel",this._pointerUp,_);const H=this._getWindow();typeof H<"u"&&H&&H.removeEventListener("blur",this._windowBlur)}_increment(de){const H=this._clamp(this.value||0,this.min,this.max);this.value=this._clamp(H+this.step*de,this.min,this.max)}_updateValueFromPosition(de){if(!this._sliderDimensions)return;let we=this._clamp(((this.vertical?de.y:de.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 de;if("auto"==this.tickInterval){let H=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width;de=Math.ceil(30/(H*this.step/(this.max-this.min)))*this.step/H}else de=this.tickInterval*this.step/(this.max-this.min);this._tickIntervalPercent=$(de)?de:0}_createChangeEvent(de=this.value){let H=new E;return H.source=this,H.value=de,H}_calculatePercentage(de){const H=((de||0)-this.min)/(this.max-this.min);return $(H)?H:0}_calculateValue(de){return this.min+de*(this.max-this.min)}_clamp(de,H=0,W=1){return Math.max(H,Math.min(de,W))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(de){this._elementRef.nativeElement.focus(de)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(de){this.value=de}registerOnChange(de){this._controlValueAccessorChangeFn=de}registerOnTouched(de){this.onTouched=de}setDisabledState(de){this.disabled=de}}return Re.\u0275fac=function(de){return new(de||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(de,H){if(1&de&&c.\u0275\u0275viewQuery(p,5),2&de){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(de,H){1&de&&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&de&&(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(de,H){1&de&&(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&de&&(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 de;return de=ee(Re)?"number"==typeof Ae?A(Re.touches,Ae)||A(Re.changedTouches,Ae):Re.touches[0]||Re.changedTouches[0]:Re,de?{x:de.clientX,y:de.clientY}:void 0}function A(Re,Ae){for(let de=0;de{class Re{}return Re.\u0275fac=function(de){return new(de||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:()=>bt});var n=a(5879),c=a(9388),d=a(2495),g=a(8337),r=a(2831),f=a(6672),h=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 se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",se.headerText," ")}}function E(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const se=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(se,Xe.name)," ")}}function I(O){return class extends O{get sticky(){return this._sticky}set sticky(me){const se=this._sticky;this._sticky=(0,d.Ig)(me),this._hasStickyChanged=se!==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(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellDef",""]]}),O})(),ie=(()=>{class O{constructor(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkHeaderCellDef",""]]}),O})(),A=(()=>{class O{constructor(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkFooterCellDef",""]]}),O})();class U{}const Ce=I(U);let Re=(()=>{class O extends Ce{get name(){return this._name}set name(se){this._setNameInput(se)}get stickyEnd(){return this._stickyEnd}set stickyEnd(se){const Xe=this._stickyEnd;this._stickyEnd=(0,d.Ig)(se),this._hasStickyChanged=Xe!==this._stickyEnd}constructor(se){super(),this._table=se,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(se){se&&(this._name=se,this.cssClassFriendlyName=se.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkColumnDef",""]],contentQueries:function(se,Xe,kt){if(1&se&&(n.\u0275\u0275contentQuery(kt,ee,5),n.\u0275\u0275contentQuery(kt,ie,5),n.\u0275\u0275contentQuery(kt,A,5)),2&se){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,se){se.nativeElement.classList.add(...me._columnCssClassName)}}let de=(()=>{class O extends Ae{constructor(se,Xe){super(se,Xe)}}return O.\u0275fac=function(se){return new(se||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(se,Xe){if(super(se,Xe),1===se._table?._elementRef.nativeElement.nodeType){const kt=se._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===kt||"treegrid"===kt?"gridcell":"cell")}}}return O.\u0275fac=function(se){return new(se||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(se,Xe){if(super(se,Xe),1===se._table?._elementRef.nativeElement.nodeType){const kt=se._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===kt||"treegrid"===kt?"gridcell":"cell")}}}return O.\u0275fac=function(se){return new(se||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(se){this._ngZone=se,this._currentSchedule=null,this._destroyed=new u.x}schedule(se){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(se)}scheduleEnd(se){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(se)}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 se=this._currentSchedule;this._currentSchedule=new pe;for(const Xe of se.tasks)Xe();for(const Xe of se.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(se){return new(se||O)(n.\u0275\u0275inject(n.NgZone))},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})(),G=(()=>{class O{constructor(se,Xe){this.template=se,this._differs=Xe}ngOnChanges(se){if(!this._columnsDiffer){const Xe=se.columns&&se.columns.currentValue||[];this._columnsDiffer=this._differs.find(Xe).create(),this._columnsDiffer.diff(Xe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(se){return this instanceof ve?se.headerCell.template:this instanceof Qe?se.footerCell.template:se.cell.template}}return O.\u0275fac=function(se){return new(se||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 ae=I(re);let ve=(()=>{class O extends ae{constructor(se,Xe,kt){super(se,Xe),this._table=kt}ngOnChanges(se){super.ngOnChanges(se)}}return O.\u0275fac=function(se){return new(se||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(se,Xe,kt){super(se,Xe),this._table=kt}ngOnChanges(se){super.ngOnChanges(se)}}return O.\u0275fac=function(se){return new(se||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})(),Ge=(()=>{class O extends G{constructor(se,Xe,kt){super(se,Xe),this._table=kt}}return O.\u0275fac=function(se){return new(se||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(se){this._viewContainer=se,O.mostRecentCellOutlet=this}ngOnDestroy(){O.mostRecentCellOutlet===this&&(O.mostRecentCellOutlet=null)}}return O.mostRecentCellOutlet=null,O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellOutlet",""]]}),O})(),Ct=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Nt=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),_t=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Bt=(()=>{class O{constructor(se){this.templateRef=se,this._contentClassName="cdk-no-data-row"}}return O.\u0275fac=function(se){return new(se||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 Lt{constructor(me,se,Xe,kt,Wt=!0,un=!0,gn){this._isNativeHtmlTable=me,this._stickCellCss=se,this.direction=Xe,this._coalescedStyleScheduler=kt,this._isBrowser=Wt,this._needsPositionStickyOnElement=un,this._positionListener=gn,this._cachedCellWidths=[],this._borderCellCss={top:`${se}-border-elem-top`,bottom:`${se}-border-elem-bottom`,left:`${se}-border-elem-left`,right:`${se}-border-elem-right`}}clearStickyPositioning(me,se){const Xe=[];for(const kt of me)if(kt.nodeType===kt.ELEMENT_NODE){Xe.push(kt);for(let Wt=0;Wt{for(const kt of Xe)this._removeStickyStyle(kt,se)})}updateStickyColumns(me,se,Xe,kt=!0){if(!me.length||!this._isBrowser||!se.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,kt),pn=this._getStickyStartColumnPositions(gn,se),si=this._getStickyEndColumnPositions(gn,Xe),jn=se.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;fnse[fn]?Gi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Fn?[]:gn.slice(Fn).map((Gi,fn)=>Xe[fn+Fn]?Gi:null).reverse()}))})}stickRows(me,se,Xe){if(!this._isBrowser)return;const kt="bottom"===Xe?me.slice().reverse():me,Wt="bottom"===Xe?se.slice().reverse():se,un=[],gn=[],pn=[];for(let jn=0,Fn=0;jn{for(let jn=0;jn{se.some(kt=>!kt)?this._removeStickyStyle(Xe,["bottom"]):this._addStickyStyle(Xe,"bottom",0,!1)})}_removeStickyStyle(me,se){for(const kt of se)me.style[kt]="",me.classList.remove(this._borderCellCss[kt]);Tt.some(kt=>-1===se.indexOf(kt)&&me.style[kt])?me.style.zIndex=this._getCalculatedZIndex(me):(me.style.zIndex="",this._needsPositionStickyOnElement&&(me.style.position=""),me.classList.remove(this._stickCellCss))}_addStickyStyle(me,se,Xe,kt){me.classList.add(this._stickCellCss),kt&&me.classList.add(this._borderCellCss[se]),me.style[se]=`${Xe}px`,me.style.zIndex=this._getCalculatedZIndex(me),this._needsPositionStickyOnElement&&(me.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(me){const se={top:100,bottom:10,left:1,right:1};let Xe=0;for(const kt of Tt)me.style[kt]&&(Xe+=se[kt]);return Xe?`${Xe}`:""}_getCellWidths(me,se=!0){if(!se&&this._cachedCellWidths.length)return this._cachedCellWidths;const Xe=[],kt=me.children;for(let Wt=0;Wt0;Wt--)se[Wt]&&(Xe[Wt]=kt,kt+=me[Wt]);return Xe}}const K=new n.InjectionToken("CDK_SPL");let Te=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","rowOutlet",""]]}),O})(),et=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||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(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","footerRowOutlet",""]]}),O})(),_e=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","noDataRowOutlet",""]]}),O})(),mt=(()=>{class O{get trackBy(){return this._trackByFn}set trackBy(se){this._trackByFn=se}get dataSource(){return this._dataSource}set dataSource(se){this._dataSource!==se&&this._switchDataSource(se)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(se){this._multiTemplateDataRows=(0,d.Ig)(se),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(se){this._fixedLayout=(0,d.Ig)(se),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(se,Xe,kt,Wt,un,gn,pn,si,jn,Fn,bi,Ti){this._differs=se,this._changeDetectorRef=Xe,this._elementRef=kt,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((se,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(se=>{se.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 se=this._dataDiffer.diff(this._renderRows);if(!se)return this._updateNoDataRow(),void this.contentChanged.next();const Xe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(se,Xe,(kt,Wt,un)=>this._getEmbeddedViewArgs(kt.item,un),kt=>kt.item.data,kt=>{1===kt.operation&&kt.context&&this._renderCellTemplateForItem(kt.record.item.rowDef,kt.context)}),this._updateRowIndexContext(),se.forEachIdentityChange(kt=>{Xe.get(kt.currentIndex).context.$implicit=kt.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(se){this._customColumnDefs.add(se)}removeColumnDef(se){this._customColumnDefs.delete(se)}addRowDef(se){this._customRowDefs.add(se)}removeRowDef(se){this._customRowDefs.delete(se)}addHeaderRowDef(se){this._customHeaderRowDefs.add(se),this._headerRowDefChanged=!0}removeHeaderRowDef(se){this._customHeaderRowDefs.delete(se),this._headerRowDefChanged=!0}addFooterRowDef(se){this._customFooterRowDefs.add(se),this._footerRowDefChanged=!0}removeFooterRowDef(se){this._customFooterRowDefs.delete(se),this._footerRowDefChanged=!0}setNoDataRow(se){this._customNoDataRow=se}updateStickyHeaderRowStyles(){const se=this._getRenderedRows(this._headerRowOutlet),kt=this._elementRef.nativeElement.querySelector("thead");kt&&(kt.style.display=se.length?"":"none");const Wt=this._headerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(se,["top"]),this._stickyStyler.stickRows(se,Wt,"top"),this._headerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyFooterRowStyles(){const se=this._getRenderedRows(this._footerRowOutlet),kt=this._elementRef.nativeElement.querySelector("tfoot");kt&&(kt.style.display=se.length?"":"none");const Wt=this._footerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(se,["bottom"]),this._stickyStyler.stickRows(se,Wt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Wt),this._footerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyColumnStyles(){const se=this._getRenderedRows(this._headerRowOutlet),Xe=this._getRenderedRows(this._rowOutlet),kt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...se,...Xe,...kt],["left","right"]),this._stickyColumnStylesNeedReset=!1),se.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 se=[],Xe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let kt=0;kt{const gn=kt&&kt.has(un)?kt.get(un):[];if(gn.length){const pn=gn.shift();return pn.dataIndex=Xe,pn}return{data:se,rowDef:un,dataIndex:Xe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Pt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Xe=>{this._columnDefsByName.has(Xe.name),this._columnDefsByName.set(Xe.name,Xe)})}_cacheRowDefs(){this._headerRowDefs=Pt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Pt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Pt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const se=this._rowDefs.filter(Xe=>!Xe.when);this._defaultRowDef=se[0]}_renderUpdatedColumns(){const se=(un,gn)=>un||!!gn.getColumnsDiff(),Xe=this._rowDefs.reduce(se,!1);Xe&&this._forceRenderDataRows();const kt=this._headerRowDefs.reduce(se,!1);kt&&this._forceRenderHeaderRows();const Wt=this._footerRowDefs.reduce(se,!1);return Wt&&this._forceRenderFooterRows(),Xe||kt||Wt}_switchDataSource(se){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),se||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=se}_observeRenderChanges(){if(!this.dataSource)return;let se;(0,g.Z9)(this.dataSource)?se=this.dataSource.connect(this):(0,p.b)(this.dataSource)?se=this.dataSource:Array.isArray(this.dataSource)&&(se=(0,_.of)(this.dataSource)),this._renderChangeSubscription=se.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((se,Xe)=>this._renderRow(this._headerRowOutlet,se,Xe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((se,Xe)=>this._renderRow(this._footerRowOutlet,se,Xe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(se,Xe){const kt=Array.from(Xe.columns||[]).map(gn=>this._columnDefsByName.get(gn)),Wt=kt.map(gn=>gn.sticky),un=kt.map(gn=>gn.stickyEnd);this._stickyStyler.updateStickyColumns(se,Wt,un,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(se){const Xe=[];for(let kt=0;kt!Wt.when||Wt.when(Xe,se));else{let Wt=this._rowDefs.find(un=>un.when&&un.when(Xe,se))||this._defaultRowDef;Wt&&kt.push(Wt)}return kt}_getEmbeddedViewArgs(se,Xe){return{templateRef:se.rowDef.template,context:{$implicit:se.data},index:Xe}}_renderRow(se,Xe,kt,Wt={}){const un=se.viewContainer.createEmbeddedView(Xe.template,Wt,kt);return this._renderCellTemplateForItem(Xe,Wt),un}_renderCellTemplateForItem(se,Xe){for(let kt of this._getCellTemplates(se))tt.mostRecentCellOutlet&&tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(kt,Xe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const se=this._rowOutlet.viewContainer;for(let Xe=0,kt=se.length;Xe{const kt=this._columnDefsByName.get(Xe);return se.extractCellTemplate(kt)}):[]}_applyNativeTableSections(){const se=this._document.createDocumentFragment(),Xe=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const kt of Xe){const Wt=this._document.createElement(kt.tag);Wt.setAttribute("role","rowgroup");for(const un of kt.outlets)Wt.appendChild(un.elementRef.nativeElement);se.appendChild(Wt)}this._elementRef.nativeElement.appendChild(se)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const se=(Xe,kt)=>Xe||kt.hasStickyChanged();this._headerRowDefs.reduce(se,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(se,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(se,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Lt(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(se){return se.filter(Xe=>!Xe._table||Xe._table===this)}_updateNoDataRow(){const se=this._customNoDataRow||this._noDataRow;if(!se)return;const Xe=0===this._rowOutlet.viewContainer.length;if(Xe===this._isShowingNoDataRow)return;const kt=this._noDataRowOutlet.viewContainer;if(Xe){const Wt=kt.createEmbeddedView(se.templateRef),un=Wt.rootNodes[0];1===Wt.rootNodes.length&&un?.nodeType===this._document.ELEMENT_NODE&&(un.setAttribute("role","row"),un.classList.add(se._contentClassName))}else kt.clear();this._isShowingNoDataRow=Xe}}return O.\u0275fac=function(se){return new(se||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(h.DOCUMENT),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(g.k),n.\u0275\u0275directiveInject(we),n.\u0275\u0275directiveInject(f.rL),n.\u0275\u0275directiveInject(K,12),n.\u0275\u0275directiveInject(n.NgZone,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(se,Xe,kt){if(1&se&&(n.\u0275\u0275contentQuery(kt,Bt,5),n.\u0275\u0275contentQuery(kt,Re,5),n.\u0275\u0275contentQuery(kt,Ge,5),n.\u0275\u0275contentQuery(kt,ve,5),n.\u0275\u0275contentQuery(kt,Qe,5)),2&se){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(se,Xe){if(1&se&&(n.\u0275\u0275viewQuery(Te,7),n.\u0275\u0275viewQuery(et,7),n.\u0275\u0275viewQuery(Dt,7),n.\u0275\u0275viewQuery(_e,7)),2&se){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._rowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._headerRowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._footerRowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._noDataRowOutlet=kt.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(se,Xe){2&se&&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:K,useValue:null}])],ngContentSelectors:D,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,Xe){1&se&&(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,et,Dt,_e],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),O})();function Pt(O,me){return O.concat(Array.from(me))}let Ft=(()=>{class O{get name(){return this._name}set name(se){this._name=se,this._syncColumnDefName()}constructor(se,Xe){this._table=se,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||((se,Xe)=>se[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 se=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(se):se[0].toUpperCase()+se.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(mt,8),n.\u0275\u0275directiveInject($,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-text-column"]],viewQuery:function(se,Xe){if(1&se&&(n.\u0275\u0275viewQuery(Re,7),n.\u0275\u0275viewQuery(ee,7),n.\u0275\u0275viewQuery(ie,7)),2&se){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.columnDef=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.cell=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.headerCell=kt.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(se,Xe){1&se&&(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,de],encapsulation:2}),O})(),Oe=(()=>{class O{}return O.\u0275fac=function(se){return new(se||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.Cl]}),O})();var Ke=a(3680),he=a(3019),ge=a(2572),ct=a(7398);class bt 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=(se,Xe)=>{const kt=se[Xe];if((0,d.t6)(kt)){const Wt=Number(kt);return Wt<9007199254740991?Wt:kt}return kt},this.sortData=(se,Xe)=>{const kt=Xe.active,Wt=Xe.direction;return kt&&""!=Wt?se.sort((un,gn)=>{let pn=this.sortingDataAccessor(un,kt),si=this.sortingDataAccessor(gn,kt);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 kt=Object.keys(se).reduce((un,gn)=>un+se[gn]+"\u25ec","").toLowerCase(),Wt=Xe.trim().toLowerCase();return-1!=kt.indexOf(Wt)},this._data=new b.X(me),this._updateChangeSubscription()}_updateChangeSubscription(){const me=this._sort?(0,he.T)(this._sort.sortChange,this._sort.initialized):(0,_.of)(null),se=this._paginator?(0,he.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,_.of)(null),kt=(0,ge.a)([this._data,this._filter]).pipe((0,ct.U)(([gn])=>this._filterData(gn))),Wt=(0,ge.a)([kt,me]).pipe((0,ct.U)(([gn])=>this._orderData(gn))),un=(0,ge.a)([Wt,se]).pipe((0,ct.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(se=>this.filterPredicate(se,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 se=this.paginator.pageIndex*this.paginator.pageSize;return me.slice(se,se+this.paginator.pageSize)}_updatePaginator(me){Promise.resolve().then(()=>{const se=this.paginator;if(se&&(se.length=me,se.pageIndex>0)){const Xe=Math.ceil(se.length/se.pageSize)-1||0,kt=Math.min(se.pageIndex,Xe);kt!==se.pageIndex&&(se.pageIndex=kt,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 se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",se.headerText," ")}}function sn(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const se=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(se,Xe.name)," ")}}let Nn=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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 mt{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(se,Xe){2&se&&n.\u0275\u0275classProp("mat-table-fixed-layout",Xe.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:g.k,useClass:g.yy},{provide:mt,useExisting:O},{provide:X,useExisting:O},{provide:we,useClass:Ee},{provide:K,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:nn,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,Xe){1&se&&(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,et,Dt,_e],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(se){this._setNameInput(se)}_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 de{}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 ve{}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:ve,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 Ge{}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:Ge,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),Yn=(()=>{class O extends Ct{}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:Ct,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),wi=(()=>{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-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Nt,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),ri=(()=>{class O extends _t{}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:_t,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&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 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-text-column"]],hostVars:1,hostBindings:function(se,Xe){2&se&&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(se,Xe){1&se&&(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(se){return new(se||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[Oe,Ke.MatCommonModule,Ke.MatCommonModule]}),O})();class ke extends bt{}},8615:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_TAB:()=>at,MAT_LEGACY_TABS_CONFIG:()=>Me,MAT_LEGACY_TAB_CONTENT:()=>Le,MAT_LEGACY_TAB_GROUP:()=>mt,MatLegacyInkBar:()=>_i,MatLegacyPaginatedTabHeader:()=>he,MatLegacyTab:()=>$n,MatLegacyTabBody:()=>an,MatLegacyTabBodyPortal:()=>ti,MatLegacyTabChangeEvent:()=>Q,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:()=>ce,_MatLegacyTabBase:()=>Pt,_MatLegacyTabBodyBase:()=>Tt,_MatLegacyTabGroupBase:()=>F,_MatLegacyTabHeaderBase:()=>ge,_MatLegacyTabLinkBase:()=>qe,_MatLegacyTabNavBase:()=>dt,matLegacyTabsAnimations:()=>_t});var n=a(4300),c=a(7131),d=a(8484),g=a(6814),r=a(5879),f=a(3680),h=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),Ce=a(2831),Re=a(6028);function Ae(Mt,jt){}const de=function(Mt){return{animationDuration:Mt}},H=function(Mt,jt){return{value:Mt,params:jt}},_t={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 Mt extends d.Pl{constructor(ke,O,me,se){super(ke,O,se),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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Lt)),r.\u0275\u0275directiveInject(g.DOCUMENT))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),Tt=(()=>{class Mt{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(se=>{this._computePositionAnimationState(se),me.markForCheck()})),this._translateTabComplete.pipe((0,E.x)((se,Xe)=>se.fromState===Xe.fromState&&se.toState===Xe.toState)).subscribe(se=>{this._isCenterPosition(se.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(se.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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Mt})(),Lt=(()=>{class Mt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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(se){return O._onTranslateTabStarted(se)})("@translateTab.done",function(se){return O._translateTabComplete.next(se)}),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,de,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:[_t.translateTab]}}),Mt})();const Le=new r.InjectionToken("MatTabContent");let lt=(()=>{class Mt{constructor(ke){this.template=ke}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.TemplateRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Mt}])]}),Mt})();const ze=new r.InjectionToken("MatTabLabel"),at=new r.InjectionToken("MAT_TAB");let N=(()=>{class Mt extends d.ig{constructor(ke,O,me){super(ke,O),this._closestTab=me}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(at,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})();function ce(){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:ce}),et=(0,f.mixinDisabled)(class{});let Dt=(()=>{class Mt extends et{constructor(ke){super(),this.elementRef=ke}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();const Pe=(0,f.mixinDisabled)(class{}),mt=new r.InjectionToken("MAT_TAB_GROUP");let Pt=(()=>{class Mt extends Pe{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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(mt,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})();const Gt=(0,Ce.i$)({passive:!0});let he=(()=>{class Mt{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,se,Xe,kt,Wt){this._elementRef=ke,this._changeDetectorRef=O,this._viewportRuler=me,this._dir=se,this._ngZone=Xe,this._platform=kt,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",Gt).pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,p.R)(this._nextPaginator.nativeElement,"touchstart",Gt).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,h.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(se=>{this.indexFocused.emit(se),this._setTabFocus(se)})}_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(se=>O.next(se));return ke.forEach(se=>me.observe(se.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:se,offsetWidth:Xe}=O.elementRef.nativeElement;let kt,Wt;"ltr"==this._getLayoutDirection()?(kt=se,Wt=kt+Xe):(Wt=this._tabListInner.nativeElement.offsetWidth-se,kt=Wt-Xe);const un=this.scrollDistance,gn=this.scrollDistance+me;ktgn&&(this.scrollDistance+=Math.min(Wt-gn,kt-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:se}=this._scrollHeader(ke);(0===se||se>=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 Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{disablePagination:"disablePagination"}}),Mt})(),ge=(()=>{class Mt extends he{get disableRipple(){return this._disableRipple}set disableRipple(ke){this._disableRipple=(0,A.Ig)(ke)}constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt),this._disableRipple=!1}_itemSelected(ke){ke.preventDefault()}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();const Me=new r.InjectionToken("MAT_TABS_CONFIG");let Ye=0;const De=(0,f.mixinColor)((0,f.mixinDisableRipple)(class{constructor(Mt){this._elementRef=Mt}}),"primary");let F=(()=>{class Mt 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,se){super(ke),this._changeDetectorRef=O,this._animationMode=se,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,se)=>me.isActive=se===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 se=0;se{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 Q;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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Me,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})();class Q{}let be=0,dt=(()=>{class Mt extends he{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,se,Xe,kt,Wt){super(ke,se,Xe,O,me,kt,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 Mt extends Rt{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,se,Xe,kt){super(),this._tabNavBar=ke,this.elementRef=O,this._focusMonitor=Xe,this._isActive=!1,this.id="mat-tab-link-"+be++,this.rippleConfig=me||{},this.tabIndex=parseInt(se)||0,"NoopAnimations"===kt&&(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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(dt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{active:"active",id:"id"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();function xn(Mt,jt){1&Mt&&r.\u0275\u0275projection(0)}const Sn=["*"];function _n(Mt,jt){}const Mn=function(Mt){return{animationDuration:Mt}},xi=function(Mt,jt){return{value:Mt,params:jt}},fi=["tabListContainer"],Vi=["tabList"],Yi=["tabListInner"],xt=["nextPaginator"],bt=["previousPaginator"],pt=["tabBodyWrapper"],qt=["tabHeader"];function nn(Mt,jt){}function cn(Mt,jt){if(1&Mt&&r.\u0275\u0275template(0,nn,0,0,"ng-template",10),2&Mt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",ke.templateLabel)}}function sn(Mt,jt){if(1&Mt&&r.\u0275\u0275text(0),2&Mt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(ke.textLabel)}}function Nn(Mt,jt){if(1&Mt){const ke=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const me=r.\u0275\u0275restoreView(ke),se=me.$implicit,Xe=me.index,kt=r.\u0275\u0275nextContext(),Wt=r.\u0275\u0275reference(1);return r.\u0275\u0275resetView(kt._handleClick(se,Wt,Xe))})("cdkFocusChange",function(me){const Xe=r.\u0275\u0275restoreView(ke).index,kt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(kt._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&Mt){const ke=jt.$implicit,O=jt.index,me=r.\u0275\u0275reference(4),se=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",se.selectedIndex===O),r.\u0275\u0275property("id",se._getTabLabelId(O))("ngClass",ke.labelClass)("disabled",ke.disabled)("matRippleDisabled",ke.disabled||se.disableRipple),r.\u0275\u0275attribute("tabIndex",se._getTabIndex(O))("aria-posinset",O+1)("aria-setsize",se._tabs.length)("aria-controls",se._getTabContentId(O))("aria-selected",se.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(Mt,jt){if(1&Mt){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 se=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(se._setTabBodyWrapperHeight(me))}),r.\u0275\u0275elementEnd()}if(2&Mt){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 Mt{constructor(ke,O,me,se){this._elementRef=ke,this._ngZone=O,this._inkBarPositioner=me,this._animationMode=se}alignToElement(ke){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,h.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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Te),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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)}}),Mt})(),$n=(()=>{class Mt extends Pt{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(ke){this._setTemplateLabelInput(ke)}}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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 se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O.templateLabel=se.first),r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._explicitContent=se.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:Mt}]),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}),Mt})(),ti=(()=>{class Mt extends Bt{constructor(ke,O,me,se){super(ke,O,me,se)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>an)),r.\u0275\u0275directiveInject(g.DOCUMENT))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),an=(()=>{class Mt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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(se){return O._onTranslateTabStarted(se)})("@translateTab.done",function(se){return O._translateTabComplete.next(se)}),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:[_t.translateTab]}}),Mt})(),mn=(()=>{class Mt extends Dt{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})(),Tn=(()=>{class Mt extends ge{constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["mat-tab-header"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,mn,4),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._items=se)}},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(xt,5),r.\u0275\u0275viewQuery(bt,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(se){return O._handlePaginatorPress("before",se)})("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(se){return O._handleKeydown(se)}),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(se){return O._handlePaginatorPress("after",se)})("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:[f.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}),Mt})(),Rn=(()=>{class Mt extends F{constructor(ke,O,me,se){super(ke,O,me,se)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Me,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["mat-tab-group"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,$n,5),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._allTabs=se)}},viewQuery:function(ke,O){if(1&ke&&(r.\u0275\u0275viewQuery(pt,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:mt,useExisting:Mt}]),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(se){return O._focusChanged(se)})("selectFocusedIndex",function(se){return O.selectedIndex=se}),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,f.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}),Mt})(),Wn=0,mi=(()=>{class Mt extends dt{constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,Yn,5),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._items=se)}},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(xt,5),r.\u0275\u0275viewQuery(bt,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(se){return O._handlePaginatorPress("before",se)})("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(se){return O._handleKeydown(se)}),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(se){return O._handlePaginatorPress("after",se)})("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:[f.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}),Mt})(),Yn=(()=>{class Mt extends qe{constructor(ke,O,me,se,Xe,kt,Wt,un){super(ke,O,Xe,kt,Wt,un),this._tabLinkRipple=new f.RippleRenderer(this,me,O,se),this._tabLinkRipple.setupTriggerEvents(O.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(mi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Ce.t4),r.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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(se){return O._handleKeydown(se)}),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]}),Mt})(),wi=(()=>{class Mt{constructor(){this.id="mat-tab-nav-panel-"+Wn++}}return Mt.\u0275fac=function(ke){return new(ke||Mt)},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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}),Mt})(),ri=(()=>{class Mt extends N{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),ai=(()=>{class Mt extends lt{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),Ni=(()=>{class Mt{}return Mt.\u0275fac=function(ke){return new(ke||Mt)},Mt.\u0275mod=r.\u0275\u0275defineNgModule({type:Mt}),Mt.\u0275inj=r.\u0275\u0275defineInjector({imports:[g.CommonModule,f.MatCommonModule,d.eL,f.MatRippleModule,c.Q8,n.rt,f.MatCommonModule]}),Mt})()},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"]]],f=["*","mat-toolbar-row"],h=(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 h{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:f,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:()=>We});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 Ge(je,T,P=new Map,ue=new Map){const Fe=[],it=[];let It=-1,Et=null;if(T.forEach(Qt=>{const en=Qt.get("offset"),In=en==It,Ln=In&&Et||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=ue.get(li);break;default:ii=je.normalizeStyleValue(li,Gn,ii,Fe)}Ln.set(Gn,ii)}),In||it.push(Ln),Et=Ln,It=en}),Fe.length)throw function de(je){return new n.\u0275RuntimeError(3502,!1)}();return it}function tt(je,T,P,ue){switch(T){case"start":je.onStart(()=>ue(P&&Ct(P,"start",je)));break;case"done":je.onDone(()=>ue(P&&Ct(P,"done",je)));break;case"destroy":je.onDestroy(()=>ue(P&&Ct(P,"destroy",je)))}}function Ct(je,T,P){const it=Nt(je.element,je.triggerName,je.fromState,je.toState,T||je.phaseName,P.totalTime??je.totalTime,!!P.disabled),It=je._data;return null!=It&&(it._data=It),it}function Nt(je,T,P,ue,Fe="",it=0,It){return{element:je,triggerName:T,fromState:P,toState:ue,phaseName:Fe,totalTime:it,disabled:!!It}}function _t(je,T,P){let ue=je.get(T);return ue||je.set(T,ue=P),ue}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 Lt(je){const T=je.parentNode||je.host||null;return T===Tt?null:T}let lt=null,ze=!1;function Y(je,T){for(;T;){if(T===je)return!0;T=Lt(T)}return!1}function ne(je,T,P){if(P)return Array.from(je.querySelectorAll(T));const ue=je.querySelector(T);return ue?[ue]:[]}let ce=(()=>{class je{validateStyleProperty(P){return function at(je){lt||(lt=function oe(){return typeof document<"u"?document.body:null}()||{},ze=!!lt.style&&"WebkitAppearance"in lt.style);let T=!0;return lt.style&&!function Le(je){return"ebkit"==je.substring(1,6)}(je)&&(T=je in lt.style,!T&&ze&&(T="Webkit"+je.charAt(0).toUpperCase()+je.slice(1)in lt.style)),T}(P)}matchesElement(P,ue){return!1}containsElement(P,ue){return Y(P,ue)}getParentElement(P){return Lt(P)}query(P,ue,Fe){return ne(P,ue,Fe)}computeStyle(P,ue,Fe){return Fe||""}animate(P,ue,Fe,it,It,Et=[],Qt){return new d.ZN(Fe,it)}}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 ce,je})();const et=1e3,ut="ng-enter",Pe="ng-leave",mt="ng-trigger",Pt=".ng-trigger",Ft="ng-animating",Gt=".ng-animating";function Oe(je){if("number"==typeof je)return je;const T=je.match(/^(-?[\.\d]+)(m?s)/);return!T||T.length<2?0:Ke(parseFloat(T[1]),T[2])}function Ke(je,T){return"s"===T?je*et:je}function he(je,T,P){return je.hasOwnProperty("duration")?je:function ge(je,T,P){let Fe,it=0,It="";if("string"==typeof je){const Et=je.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Et)return T.push(r()),{duration:0,delay:0,easing:""};Fe=Ke(parseFloat(Et[1]),Et[2]);const Qt=Et[3];null!=Qt&&(it=Ke(parseFloat(Qt),Et[4]));const en=Et[5];en&&(It=en)}else Fe=je;if(!P){let Et=!1,Qt=T.length;Fe<0&&(T.push(function f(){return new n.\u0275RuntimeError(3100,!1)}()),Et=!0),it<0&&(T.push(function h(){return new n.\u0275RuntimeError(3101,!1)}()),Et=!0),Et&&T.splice(Qt,0,r())}return{duration:Fe,delay:it,easing:It}}(je,T,P)}function ct(je,T={}){return Object.keys(je).forEach(P=>{T[P]=je[P]}),T}function Me(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[ue,Fe]of P)T.set(ue,Fe);for(let[ue,Fe]of je)T.set(ue,Fe);return T}function V(je,T,P){T.forEach((ue,Fe)=>{const it=At(Fe);P&&!P.has(Fe)&&P.set(Fe,je.style[it]),je.style[it]=ue})}function Q(je,T){T.forEach((P,ue)=>{const Fe=At(ue);je.style[Fe]=""})}function be(je){return Array.isArray(je)?1==je.length?je[0]:(0,d.vP)(je):je}const Rt=new RegExp("{{\\s*(.+?)\\s*}}","g");function qe(je){let T=[];if("string"==typeof je){let P;for(;P=Rt.exec(je);)T.push(P[1]);Rt.lastIndex=0}return T}function nt(je,T,P){const ue=je.toString(),Fe=ue.replace(Rt,(it,It)=>{let Et=T[It];return null==Et&&(P.push(function v(je){return new n.\u0275RuntimeError(3003,!1)}()),Et=""),Et.toString()});return Fe==ue?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 At(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 pt="*";function qt(je,T){const P=[];return"string"==typeof je?je.split(/\s*,\s*/).forEach(ue=>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,ue)=>parseFloat(ue)>parseFloat(P);case":decrement":return(P,ue)=>parseFloat(ue) *"}}(je,P);if("function"==typeof Qt)return void T.push(Qt);je=Qt}const ue=je.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==ue||ue.length<4)return P.push(function A(je){return new n.\u0275RuntimeError(3015,!1)}()),T;const Fe=ue[1],it=ue[2],It=ue[3];T.push(wn(Fe,It));"<"==it[0]&&!(Fe==pt&&It==pt)&&T.push(wn(It,Fe))}(ue,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),ue=sn.has(T)||Nn.has(T);return(Fe,it)=>{let It=je==pt||je==Fe,Et=T==pt||T==it;return!It&&P&&"boolean"==typeof Fe&&(It=Fe?sn.has(je):Nn.has(je)),!Et&&ue&&"boolean"==typeof it&&(Et=it?sn.has(T):Nn.has(T)),It&&Et}}const _i=new RegExp("s*:selfs*,?","g");function $n(je,T,P,ue){return new an(je).build(T,P,ue)}class an{constructor(T){this._driver=T}build(T,P,ue){const Fe=new Rn(P);return this._resetContextStyleTimingState(Fe),_n(this,be(T),Fe)}_resetContextStyleTimingState(T){T.currentQuerySelector="",T.collectedStyles=new Map,T.collectedStyles.set("",new Map),T.currentTime=0}visitTrigger(T,P){let ue=P.queryCount=0,Fe=P.depCount=0;const it=[],It=[];return"@"==T.name.charAt(0)&&P.errors.push(function _(){return new n.\u0275RuntimeError(3006,!1)}()),T.definitions.forEach(Et=>{if(this._resetContextStyleTimingState(P),0==Et.type){const Qt=Et,en=Qt.name;en.toString().split(/\s*,\s*/).forEach(In=>{Qt.name=In,it.push(this.visitState(Qt,P))}),Qt.name=en}else if(1==Et.type){const Qt=this.visitTransition(Et,P);ue+=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:it,transitions:It,queryCount:ue,depCount:Fe,options:null}}visitState(T,P){const ue=this.visitStyle(T.styles,P),Fe=T.options&&T.options.params||null;if(ue.containsDynamicStyles){const it=new Set,It=Fe||{};ue.styles.forEach(Et=>{Et instanceof Map&&Et.forEach(Qt=>{qe(Qt).forEach(en=>{It.hasOwnProperty(en)||it.add(en)})})}),it.size&&(Ve(it.values()),P.errors.push(function y(je,T){return new n.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:T.name,style:ue,options:Fe?{params:Fe}:null}}visitTransition(T,P){P.queryCount=0,P.depCount=0;const ue=_n(this,be(T.animation),P);return{type:1,matchers:qt(T.expr,P.errors),animation:ue,queryCount:P.queryCount,depCount:P.depCount,options:Yn(T.options)}}visitSequence(T,P){return{type:2,steps:T.steps.map(ue=>_n(this,ue,P)),options:Yn(T.options)}}visitGroup(T,P){const ue=P.currentTime;let Fe=0;const it=T.steps.map(It=>{P.currentTime=ue;const Et=_n(this,It,P);return Fe=Math.max(Fe,P.currentTime),Et});return P.currentTime=Fe,{type:3,steps:it,options:Yn(T.options)}}visitAnimate(T,P){const ue=function mi(je,T){if(je.hasOwnProperty("duration"))return je;if("number"==typeof je)return wi(he(je,T).duration,0,"");const P=je;if(P.split(/\s+/).some(it=>"{"==it.charAt(0)&&"{"==it.charAt(1))){const it=wi(0,0,"");return it.dynamic=!0,it.strValue=P,it}const Fe=he(P,T);return wi(Fe.duration,Fe.delay,Fe.easing)}(T.timings,P.errors);P.currentAnimateTimings=ue;let Fe,it=T.styles?T.styles:(0,d.oB)({});if(5==it.type)Fe=this.visitKeyframes(it,P);else{let It=T.styles,Et=!1;if(!It){Et=!0;const en={};ue.easing&&(en.easing=ue.easing),It=(0,d.oB)(en)}P.currentTime+=ue.duration+ue.delay;const Qt=this.visitStyle(It,P);Qt.isEmptyStep=Et,Fe=Qt}return P.currentAnimateTimings=null,{type:4,timings:ue,style:Fe,options:null}}visitStyle(T,P){const ue=this._makeStyleAst(T,P);return this._validateStyleAst(ue,P),ue}_makeStyleAst(T,P){const ue=[],Fe=Array.isArray(T.styles)?T.styles:[T.styles];for(let Et of Fe)"string"==typeof Et?Et===d.l3?ue.push(Et):P.errors.push(new n.\u0275RuntimeError(3002,!1)):ue.push(Me(Et));let it=!1,It=null;return ue.forEach(Et=>{if(Et instanceof Map&&(Et.has("easing")&&(It=Et.get("easing"),Et.delete("easing")),!it))for(let Qt of Et.values())if(Qt.toString().indexOf("{{")>=0){it=!0;break}}),{type:6,styles:ue,easing:It,offset:T.offset,containsDynamicStyles:it,options:null}}_validateStyleAst(T,P){const ue=P.currentAnimateTimings;let Fe=P.currentTime,it=P.currentTime;ue&&it>0&&(it-=ue.duration+ue.delay),T.styles.forEach(It=>{"string"!=typeof It&&It.forEach((Et,Qt)=>{const en=P.collectedStyles.get(P.currentQuerySelector),In=en.get(Qt);let Ln=!0;In&&(it!=Fe&&it>=In.startTime&&Fe<=In.endTime&&(P.errors.push(function S(je,T,P,ue,Fe){return new n.\u0275RuntimeError(3010,!1)}()),Ln=!1),it=In.startTime),Ln&&en.set(Qt,{startTime:it,endTime:Fe}),P.options&&function dt(je,T,P){const ue=T.params||{},Fe=qe(je);Fe.length&&Fe.forEach(it=>{ue.hasOwnProperty(it)||P.push(function u(je){return new n.\u0275RuntimeError(3001,!1)}())})}(Et,P.options,P.errors)})})}visitKeyframes(T,P){const ue={type:5,styles:[],options:null};if(!P.currentAnimateTimings)return P.errors.push(function E(){return new n.\u0275RuntimeError(3011,!1)}()),ue;let it=0;const It=[];let Et=!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 ue=P;T=parseFloat(ue.get("offset")),ue.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&&(it++,nr=Ki.offset=sr),Qt=Qt||nr<0||nr>1,Et=Et||nr0&&it{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,ue.styles.push(qi)}),ue}visitReference(T,P){return{type:8,animation:_n(this,be(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 ue=P.currentQuerySelector,Fe=T.options||{};P.queryCount++,P.currentQuery=T;const[it,It]=function mn(je){const T=!!je.split(/\s*,\s*/).find(P=>":self"==P);return T&&(je=je.replace(_i,"")),je=je.replace(/@\*/g,Pt).replace(/@\w+/g,P=>Pt+"-"+P.slice(1)).replace(/:animating/g,Gt),[je,T]}(T.selector);P.currentQuerySelector=ue.length?ue+" "+it:it,_t(P.collectedStyles,P.currentQuerySelector,new Map);const Et=_n(this,be(T.animation),P);return P.currentQuery=null,P.currentQuerySelector=ue,{type:11,selector:it,limit:Fe.limit||0,optional:!!Fe.optional,includeSelf:It,animation:Et,originalSelector:T.selector,options:Yn(T.options)}}visitStagger(T,P){P.currentQuery||P.errors.push(function ee(){return new n.\u0275RuntimeError(3013,!1)}());const ue="full"===T.timings?{duration:0,delay:0,easing:"full"}:he(T.timings,P.errors,!0);return{type:12,animation:_n(this,be(T.animation),P),timings:ue,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=ct(je)).params&&(je.params=function Tn(je){return je?ct(je):null}(je.params)):je={},je}function wi(je,T,P){return{duration:je,delay:T,easing:P}}function ri(je,T,P,ue,Fe,it,It=null,Et=!1){return{type:1,element:je,keyframes:T,preStyleProps:P,postStyleProps:ue,duration:Fe,delay:it,totalTime:Fe+it,easing:It,subTimeline:Et}}class ai{constructor(){this._map=new Map}get(T){return this._map.get(T)||[]}append(T,P){let ue=this._map.get(T);ue||this._map.set(T,ue=[]),ue.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,ue,Fe,it=new Map,It=new Map,Et,Qt,en=[]){return(new se).buildKeyframes(je,T,P,ue,Fe,it,It,Et,Qt,en)}class se{buildKeyframes(T,P,ue,Fe,it,It,Et,Qt,en,In=[]){en=en||new ai;const Ln=new kt(T,P,en,Fe,it,In,[]);Ln.options=Qt;const pi=Qt.delay?Oe(Qt.delay):0;Ln.currentTimeline.delayNextStep(pi),Ln.currentTimeline.setStyles([It],null,Ln.errors,Qt),_n(this,ue,Ln);const li=Ln.timelines.filter(Gn=>Gn.containsAnimation());if(li.length&&Et.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([Et],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 ue=P.subInstructions.get(P.element);if(ue){const Fe=P.createSubContext(T.options),it=P.currentTimeline.currentTime,It=this._visitSubInstructions(ue,Fe,Fe.options);it!=It&&P.transformIntoNewTimeline(It)}P.previousNode=T}visitAnimateRef(T,P){const ue=P.createSubContext(T.options);ue.transformIntoNewTimeline(),this._applyAnimationRefDelays([T.options,T.animation.options],P,ue),this.visitReference(T.animation,ue),P.transformIntoNewTimeline(ue.currentTimeline.currentTime),P.previousNode=T}_applyAnimationRefDelays(T,P,ue){for(const Fe of T){const it=Fe?.delay;if(it){const It="number"==typeof it?it:Oe(nt(it,Fe?.params??{},P.errors));ue.delayNextStep(It)}}}_visitSubInstructions(T,P,ue){let it=P.currentTimeline.currentTime;const It=null!=ue.duration?Oe(ue.duration):null,Et=null!=ue.delay?Oe(ue.delay):null;return 0!==It&&T.forEach(Qt=>{const en=P.appendInstructionToTimeline(Qt,It,Et);it=Math.max(it,en.duration+en.delay)}),it}visitReference(T,P){P.updateOptions(T.options,!0),_n(this,T.animation,P),P.previousNode=T}visitSequence(T,P){const ue=P.subContextCount;let Fe=P;const it=T.options;if(it&&(it.params||it.delay)&&(Fe=P.createSubContext(it),Fe.transformIntoNewTimeline(),null!=it.delay)){6==Fe.previousNode.type&&(Fe.currentTimeline.snapshotCurrentStyles(),Fe.previousNode=Xe);const It=Oe(it.delay);Fe.delayNextStep(It)}T.steps.length&&(T.steps.forEach(It=>_n(this,It,Fe)),Fe.currentTimeline.applyStylesToKeyframe(),Fe.subContextCount>ue&&Fe.transformIntoNewTimeline()),P.previousNode=T}visitGroup(T,P){const ue=[];let Fe=P.currentTimeline.currentTime;const it=T.options&&T.options.delay?Oe(T.options.delay):0;T.steps.forEach(It=>{const Et=P.createSubContext(T.options);it&&Et.delayNextStep(it),_n(this,It,Et),Fe=Math.max(Fe,Et.currentTimeline.currentTime),ue.push(Et.currentTimeline)}),ue.forEach(It=>P.currentTimeline.mergeTimelineCollectedStyles(It)),P.transformIntoNewTimeline(Fe),P.previousNode=T}_visitTiming(T,P){if(T.dynamic){const ue=T.strValue;return he(P.params?nt(ue,P.params,P.errors):ue,P.errors)}return{duration:T.duration,delay:T.delay,easing:T.easing}}visitAnimate(T,P){const ue=P.currentAnimateTimings=this._visitTiming(T.timings,P),Fe=P.currentTimeline;ue.delay&&(P.incrementTime(ue.delay),Fe.snapshotCurrentStyles());const it=T.style;5==it.type?this.visitKeyframes(it,P):(P.incrementTime(ue.duration),this.visitStyle(it,P),Fe.applyStylesToKeyframe()),P.currentAnimateTimings=null,P.previousNode=T}visitStyle(T,P){const ue=P.currentTimeline,Fe=P.currentAnimateTimings;!Fe&&ue.hasCurrentStyleProperties()&&ue.forwardFrame();const it=Fe&&Fe.easing||T.easing;T.isEmptyStep?ue.applyEmptyStep(it):ue.setStyles(T.styles,it,P.errors,P.options),P.previousNode=T}visitKeyframes(T,P){const ue=P.currentAnimateTimings,Fe=P.currentTimeline.duration,it=ue.duration,Et=P.createSubContext().currentTimeline;Et.easing=ue.easing,T.styles.forEach(Qt=>{Et.forwardTime((Qt.offset||0)*it),Et.setStyles(Qt.styles,Qt.easing,P.errors,P.options),Et.applyStylesToKeyframe()}),P.currentTimeline.mergeTimelineCollectedStyles(Et),P.transformIntoNewTimeline(Fe+it),P.previousNode=T}visitQuery(T,P){const ue=P.currentTimeline.currentTime,Fe=T.options||{},it=Fe.delay?Oe(Fe.delay):0;it&&(6===P.previousNode.type||0==ue&&P.currentTimeline.hasCurrentStyleProperties())&&(P.currentTimeline.snapshotCurrentStyles(),P.previousNode=Xe);let It=ue;const Et=P.invokeQuery(T.selector,T.originalSelector,T.limit,T.includeSelf,!!Fe.optional,P.errors);P.currentQueryTotal=Et.length;let Qt=null;Et.forEach((en,In)=>{P.currentQueryIndex=In;const Ln=P.createSubContext(T.options,en);it&&Ln.delayNextStep(it),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 ue=P.parentContext,Fe=P.currentTimeline,it=T.timings,It=Math.abs(it.duration),Et=It*(P.currentQueryTotal-1);let Qt=It*P.currentQueryIndex;switch(it.duration<0?"reverse":it.easing){case"reverse":Qt=Et-Qt;break;case"full":Qt=ue.currentStaggerTime}const In=P.currentTimeline;Qt&&In.delayNextStep(Qt);const Ln=In.currentTime;_n(this,T.animation,P),P.previousNode=T,ue.currentStaggerTime=Fe.currentTime-Ln+(Fe.startTime-ue.currentTimeline.startTime)}}const Xe={};class kt{constructor(T,P,ue,Fe,it,It,Et,Qt){this._driver=T,this.element=P,this.subInstructions=ue,this._enterClassName=Fe,this._leaveClassName=it,this.errors=It,this.timelines=Et,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),Et.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(T,P){if(!T)return;const ue=T;let Fe=this.options;null!=ue.duration&&(Fe.duration=Oe(ue.duration)),null!=ue.delay&&(Fe.delay=Oe(ue.delay));const it=ue.params;if(it){let It=Fe.params;It||(It=this.options.params={}),Object.keys(it).forEach(Et=>{(!P||!It.hasOwnProperty(Et))&&(It[Et]=nt(it[Et],It,this.errors))})}}_copyOptions(){const T={};if(this.options){const P=this.options.params;if(P){const ue=T.params={};Object.keys(P).forEach(Fe=>{ue[Fe]=P[Fe]})}}return T}createSubContext(T=null,P,ue){const Fe=P||this.element,it=new kt(this._driver,Fe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Fe,ue||0));return it.previousNode=this.previousNode,it.currentAnimateTimings=this.currentAnimateTimings,it.options=this._copyOptions(),it.updateOptions(T),it.currentQueryIndex=this.currentQueryIndex,it.currentQueryTotal=this.currentQueryTotal,it.parentContext=this,this.subContextCount++,it}transformIntoNewTimeline(T){return this.previousNode=Xe,this.currentTimeline=this.currentTimeline.fork(this.element,T),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(T,P,ue){const Fe={duration:P??T.duration,delay:this.currentTimeline.currentTime+(ue??0)+T.delay,easing:""},it=new un(this._driver,T.element,T.keyframes,T.preStyleProps,T.postStyleProps,Fe,T.stretchStartingKeyframe);return this.timelines.push(it),Fe}incrementTime(T){this.currentTimeline.forwardTime(this.currentTimeline.duration+T)}delayNextStep(T){T>0&&this.currentTimeline.delayNextStep(T)}invokeQuery(T,P,ue,Fe,it,It){let Et=[];if(Fe&&Et.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!=ue);0!==ue&&(en=ue<0?en.slice(en.length+ue,en.length):en.slice(0,ue)),Et.push(...en)}return!it&&0==Et.length&&It.push(function ie(je){return new n.\u0275RuntimeError(3014,!1)}()),Et}}class Wt{constructor(T,P,ue,Fe){this._driver=T,this.element=P,this.startTime=ue,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,ue]of this._globalTimelineStyles)this._backFill.set(P,ue||d.l3),this._currentKeyframe.set(P,d.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(T,P,ue,Fe){P&&this._previousKeyframe.set("easing",P);const it=Fe&&Fe.params||{},It=function pn(je,T){const P=new Map;let ue;return je.forEach(Fe=>{if("*"===Fe){ue=ue||T.keys();for(let it of ue)P.set(it,d.l3)}else F(Fe,P)}),P}(T,this._globalTimelineStyles);for(let[Et,Qt]of It){const en=nt(Qt,it,ue);this._pendingStyles.set(Et,en),this._localTimelineStyles.has(Et)||this._backFill.set(Et,this._globalTimelineStyles.get(Et)??d.l3),this._updateStyle(Et,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,ue)=>{const Fe=this._styleSummary.get(ue);(!Fe||P.time>Fe.time)&&this._updateStyle(ue,P.value)})}buildKeyframes(){this.applyStylesToKeyframe();const T=new Set,P=new Set,ue=1===this._keyframes.size&&0===this.duration;let Fe=[];this._keyframes.forEach((Et,Qt)=>{const en=F(Et,new Map,this._backFill);en.forEach((In,Ln)=>{In===d.k1?T.add(Ln):In===d.l3&&P.add(Ln)}),ue||en.set("offset",Qt/this.duration),Fe.push(en)});const it=T.size?Ve(T.values()):[],It=P.size?Ve(P.values()):[];if(ue){const Et=Fe[0],Qt=new Map(Et);Et.set("offset",0),Qt.set("offset",1),Fe=[Et,Qt]}return ri(this.element,Fe,it,It,this.duration,this.startTime,this.easing,!1)}}class un extends Wt{constructor(T,P,ue,Fe,it,It,Et=!1){super(T,P,It.delay),this.keyframes=ue,this.preStyleProps=Fe,this.postStyleProps=it,this._stretchStartingKeyframe=Et,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:ue,easing:Fe}=this.timings;if(this._stretchStartingKeyframe&&P){const it=[],It=ue+P,Et=P/It,Qt=F(T[0]);Qt.set("offset",0),it.push(Qt);const en=F(T[0]);en.set("offset",gn(Et)),it.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*ue)/It)),it.push(pi)}ue=It,P=0,Fe="",T=it}return ri(this.element,T,this.preStyleProps,this.postStyleProps,ue,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 At(T)}normalizeStyleValue(T,P,ue,Fe){let it="";const It=ue.toString().trim();if(bi.has(P)&&0!==ue&&"0"!==ue)if("number"==typeof ue)it="px";else{const Et=ue.match(/^[+-]?[\d\.]+([a-z]*)$/);Et&&0==Et[1].length&&Fe.push(function p(je,T){return new n.\u0275RuntimeError(3005,!1)}())}return It+it}}function Fi(je,T,P,ue,Fe,it,It,Et,Qt,en,In,Ln,pi){return{type:0,element:je,triggerName:T,isRemovalTransition:Fe,fromState:P,fromStyles:it,toState:ue,toStyles:It,timelines:Et,queriedElements:Qt,preStyleProps:en,postStyleProps:In,totalTime:Ln,errors:pi}}const Gi={};class fn{constructor(T,P,ue){this._triggerName=T,this.ast=P,this._stateStyles=ue}match(T,P,ue,Fe){return function tn(je,T,P,ue,Fe){return je.some(it=>it(T,P,ue,Fe))}(this.ast.matchers,T,P,ue,Fe)}buildStyles(T,P,ue){let Fe=this._stateStyles.get("*");return void 0!==T&&(Fe=this._stateStyles.get(T?.toString())||Fe),Fe?Fe.buildStyles(P,ue):new Map}build(T,P,ue,Fe,it,It,Et,Qt,en,In){const Ln=[],pi=this.ast.options&&this.ast.options.params||Gi,Gn=this.buildStyles(ue,Et&&Et.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,it,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,ue,Fe,nr,Gn,Bi,[],[],Ki,sr,rr,Ln);Mr.forEach(Er=>{const fr=Er.element,yo=_t(Ki,fr,new Set);Er.preStyleProps.forEach(Lr=>yo.add(Lr));const Yr=_t(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,ue,Fe,nr,Gn,Bi,Mr,xr,Ki,sr,rr)}}function En(je,T){const P=ct(T);for(const ue in je)je.hasOwnProperty(ue)&&null!=je[ue]&&(P[ue]=je[ue]);return P}class ei{constructor(T,P,ue){this.styles=T,this.defaultParams=P,this.normalizer=ue}buildStyles(T,P){const ue=new Map,Fe=ct(this.defaultParams);return Object.keys(T).forEach(it=>{const It=T[it];null!==It&&(Fe[it]=It)}),this.styles.styles.forEach(it=>{"string"!=typeof it&&it.forEach((It,Et)=>{It&&(It=nt(It,Fe,P));const Qt=this.normalizer.normalizePropertyName(Et,P);It=this.normalizer.normalizeStyleValue(Et,Qt,It,P),ue.set(Et,It)})}),ue}}class tr{constructor(T,P,ue){this.name=T,this.ast=P,this._normalizer=ue,this.transitionFactories=[],this.states=new Map,P.states.forEach(Fe=>{this.states.set(Fe.name,new ei(Fe.style,Fe.options&&Fe.options.params||{},ue))}),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,Et)=>!0],options:null,queryCount:0,depCount:0},T)}(T,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(T,P,ue,Fe){return this.transitionFactories.find(It=>It.match(T,P,ue,Fe))||null}matchStyles(T,P,ue){return this.fallbackTransition.buildStyles(T,P,ue)}}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,ue){this.bodyNode=T,this._driver=P,this._normalizer=ue,this._animations=new Map,this._playersById=new Map,this.players=[]}register(T,P){const ue=[],it=$n(this._driver,P,ue,[]);if(ue.length)throw function H(je){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(T,it)}_buildPlayer(T,P,ue){const Fe=T.element,it=Ge(this._normalizer,T.keyframes,P,ue);return this._driver.animate(Fe,it,T.duration,T.delay,T.easing,[],!0)}create(T,P,ue={}){const Fe=[],it=this._animations.get(T);let It;const Et=new Map;if(it?(It=me(this._driver,P,it,ut,Pe,new Map,new Map,ue,yi,Fe),It.forEach(In=>{const Ln=_t(Et,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)}();Et.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=Et.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 ue=this.players.indexOf(P);ue>=0&&this.players.splice(ue,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,ue,Fe){const it=Nt(P,"","","");return tt(this._getPlayer(T),ue,it,Fe),()=>{}}command(T,P,ue,Fe){if("register"==ue)return void this.register(T,Fe[0]);if("create"==ue)return void this.create(T,P,Fe[0]||{});const it=this._getPlayer(T);switch(ue){case"play":it.play();break;case"pause":it.pause();break;case"reset":it.reset();break;case"restart":it.restart();break;case"finish":it.finish();break;case"init":it.init();break;case"setPosition":it.setPosition(parseFloat(Fe[0]));break;case"destroy":this.destroy(T)}}}const Ot="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 ue=T&&T.hasOwnProperty("value");if(this.value=function Ht(je){return je??null}(ue?T.value:T),ue){const it=ct(T);delete it.value,this.options=it}else this.options={};this.options.params||(this.options.params={})}absorbOptions(T){const P=T.params;if(P){const ue=this.options.params;Object.keys(P).forEach(Fe=>{null==ue[Fe]&&(ue[Fe]=P[Fe])})}}}const Ui="void",ir=new Qi(Ui);class wt{constructor(T,P,ue){this.id=T,this.hostElement=P,this._engine=ue,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+T,On(P,this._hostClassName)}listen(T,P,ue,Fe){if(!this._triggers.has(P))throw function Ee(je,T){return new n.\u0275RuntimeError(3302,!1)}();if(null==ue||0==ue.length)throw function Be(je){return new n.\u0275RuntimeError(3303,!1)}();if(!function Jt(je){return"start"==je||"done"==je}(ue))throw function G(je,T){return new n.\u0275RuntimeError(3400,!1)}();const it=_t(this._elementListeners,T,[]),It={name:P,phase:ue,callback:Fe};it.push(It);const Et=_t(this._engine.statesByElement,T,new Map);return Et.has(P)||(On(T,mt),On(T,mt+"-"+P),Et.set(P,ir)),()=>{this._engine.afterFlush(()=>{const Qt=it.indexOf(It);Qt>=0&&it.splice(Qt,1),this._triggers.has(P)||Et.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,ue,Fe=!0){const it=this._getTrigger(P),It=new gt(this.id,P,T);let Et=this._engine.statesByElement.get(T);Et||(On(T,mt),On(T,mt+"-"+P),this._engine.statesByElement.set(T,Et=new Map));let Qt=Et.get(P);const en=new Qi(ue,this.id);if(!(ue&&ue.hasOwnProperty("value"))&&Qt&&en.absorbOptions(Qt.options),Et.set(P,en),Qt||(Qt=ir),en.value!==Ui&&Qt.value===en.value){if(!function ni(je,T){const P=Object.keys(je),ue=Object.keys(T);if(P.length!=ue.length)return!1;for(let Fe=0;Fe{Q(T,Bi),V(T,qi)})}return}const pi=_t(this._engine.playersByElement,T,[]);pi.forEach(ii=>{ii.namespaceId==this.id&&ii.triggerName==P&&ii.queued&&ii.destroy()});let li=it.matchTransition(Qt.value,en.value,T,en.params),Gn=!1;if(!li){if(!Fe)return;li=it.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,Ot),It.onStart(()=>{vi(T,Ot)})),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,ue)=>{this._elementListeners.set(ue,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(ue=>ue.destroy()),this._engine.playersByElement.delete(T))}_signalRemovalForInnerTriggers(T,P){const ue=this._engine.driver.query(T,Pt,!0);ue.forEach(Fe=>{if(Fe[Li])return;const it=this._engine.fetchNamespacesByElement(Fe);it.size?it.forEach(It=>It.triggerLeaveAnimation(Fe,P,!1,!0)):this.clearElementCache(Fe)}),this._engine.afterFlushAnimationsDone(()=>ue.forEach(Fe=>this.clearElementCache(Fe)))}triggerLeaveAnimation(T,P,ue,Fe){const it=this._engine.statesByElement.get(T),It=new Map;if(it){const Et=[];if(it.forEach((Qt,en)=>{if(It.set(en,Qt.value),this._triggers.has(en)){const In=this.trigger(T,en,Ui,Fe);In&&Et.push(In)}}),Et.length)return this._engine.markElementAsRemoved(this.id,T,!0,P,It),ue&&Qe(Et).onDone(()=>this._engine.processLeaveNode(T)),!0}return!1}prepareLeaveAnimationListeners(T){const P=this._elementListeners.get(T),ue=this._engine.statesByElement.get(T);if(P&&ue){const Fe=new Set;P.forEach(it=>{const It=it.name;if(Fe.has(It))return;Fe.add(It);const Qt=this._triggers.get(It).fallbackTransition,en=ue.get(It)||ir,In=new Qi(Ui),Ln=new gt(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 ue=this._engine;if(T.childElementCount&&this._signalRemovalForInnerTriggers(T,P),this.triggerLeaveAnimation(T,P,!0))return;let Fe=!1;if(ue.totalAnimations){const it=ue.players.length?ue.playersByQueriedElement.get(T):[];if(it&&it.length)Fe=!0;else{let It=T;for(;It=It.parentNode;)if(ue.statesByElement.get(It)){Fe=!0;break}}}if(this.prepareLeaveAnimationListeners(T),Fe)ue.markElementAsRemoved(this.id,T,!1,P);else{const it=T[Li];(!it||it===ji)&&(ue.afterFlush(()=>this.clearElementCache(T)),ue.destroyInnerAnimations(T),ue._onRemovalComplete(T,P))}}insertNode(T,P){On(T,this._hostClassName)}drainQueuedTransitions(T){const P=[];return this._queue.forEach(ue=>{const Fe=ue.player;if(Fe.destroyed)return;const it=ue.element,It=this._elementListeners.get(it);It&&It.forEach(Et=>{if(Et.name==ue.triggerName){const Qt=Nt(it,ue.triggerName,ue.fromState.value,ue.toState.value);Qt._data=T,tt(ue.player,Et.phase,Qt,Et.callback)}}),Fe.markedForDestroy?this._engine.afterFlush(()=>{Fe.destroy()}):P.push(ue)}),this._queue=[],P.sort((ue,Fe)=>{const it=ue.transition.ast.depCount,It=Fe.transition.ast.depCount;return 0==it||0==It?it-It:this._engine.driver.containsElement(ue.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,ue){this.bodyNode=T,this.driver=P,this._normalizer=ue,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,it)=>{}}get queuedPlayers(){const T=[];return this._namespaceList.forEach(P=>{P.players.forEach(ue=>{ue.queued&&T.push(ue)})}),T}createNamespace(T,P){const ue=new wt(T,P,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,P)?this._balanceNamespaceList(ue,P):(this.newHostElements.set(P,ue),this.collectEnterElement(P)),this._namespaceLookup[T]=ue}_balanceNamespaceList(T,P){const ue=this._namespaceList,Fe=this.namespacesByHostElement;if(ue.length-1>=0){let It=!1,Et=this.driver.getParentElement(P);for(;Et;){const Qt=Fe.get(Et);if(Qt){const en=ue.indexOf(Qt);ue.splice(en+1,0,T),It=!0;break}Et=this.driver.getParentElement(Et)}It||ue.unshift(T)}else ue.push(T);return Fe.set(P,T),T}register(T,P){let ue=this._namespaceLookup[T];return ue||(ue=this.createNamespace(T,P)),ue}registerTrigger(T,P,ue){let Fe=this._namespaceLookup[T];Fe&&Fe.register(P,ue)&&this.totalAnimations++}destroy(T,P){T&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const ue=this._fetchNamespace(T);this.namespacesByHostElement.delete(ue.hostElement);const Fe=this._namespaceList.indexOf(ue);Fe>=0&&this._namespaceList.splice(Fe,1),ue.destroy(P),delete this._namespaceLookup[T]}))}_fetchNamespace(T){return this._namespaceLookup[T]}fetchNamespacesByElement(T){const P=new Set,ue=this.statesByElement.get(T);if(ue)for(let Fe of ue.values())if(Fe.namespaceId){const it=this._fetchNamespace(Fe.namespaceId);it&&P.add(it)}return P}trigger(T,P,ue,Fe){if(Yt(P)){const it=this._fetchNamespace(T);if(it)return it.trigger(P,ue,Fe),!0}return!1}insertNode(T,P,ue,Fe){if(!Yt(P))return;const it=P[Li];if(it&&it.setForRemoval){it.setForRemoval=!1,it.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,ue)}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,ue){if(Yt(P)){const Fe=T?this._fetchNamespace(T):null;Fe?Fe.removeNode(P,ue):this.markElementAsRemoved(T,P,!1,ue);const it=this.namespacesByHostElement.get(P);it&&it.id!==T&&it.removeNode(P,ue)}else this._onRemovalComplete(P,ue)}markElementAsRemoved(T,P,ue,Fe,it){this.collectedLeaveElements.push(P),P[Li]={namespaceId:T,setForRemoval:Fe,hasAnimation:ue,removedBeforeQueried:!1,previousTriggersValues:it}}listen(T,P,ue,Fe,it){return Yt(P)?this._fetchNamespace(T).listen(P,ue,Fe,it):()=>{}}_buildInstruction(T,P,ue,Fe,it){return T.transition.build(this.driver,T.element,T.fromState.value,T.toState.value,ue,Fe,T.fromState.options,T.toState.options,P,it)}destroyInnerAnimations(T){let P=this.driver.query(T,Pt,!0);P.forEach(ue=>this.destroyActiveAnimationsForElement(ue)),0!=this.playersByQueriedElement.size&&(P=this.driver.query(T,Gt,!0),P.forEach(ue=>this.finishActiveQueriedAnimationOnElement(ue)))}destroyActiveAnimationsForElement(T){const P=this.playersByElement.get(T);P&&P.forEach(ue=>{ue.queued?ue.markedForDestroy=!0:ue.destroy()})}finishActiveQueriedAnimationOnElement(T){const P=this.playersByQueriedElement.get(T);P&&P.forEach(ue=>ue.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 ue=this._fetchNamespace(P.namespaceId);ue&&ue.clearElementCache(T)}this._onRemovalComplete(T,P.setForRemoval)}T.classList?.contains(te)&&this.markElementAsDisabled(T,!1),this.driver.query(T,".ng-animate-disabled",!0).forEach(ue=>{this.markElementAsDisabled(ue,!1)})}flush(T=-1){let P=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ue,Fe)=>this._balanceNamespaceList(ue,Fe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ue=0;ueue()),this._flushFns=[],this._whenQuietFns.length){const ue=this._whenQuietFns;this._whenQuietFns=[],P.length?Qe(P).onDone(()=>{ue.forEach(Fe=>Fe())}):ue.forEach(Fe=>Fe())}}reportError(T){throw function ae(je){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(T,P){const ue=new ai,Fe=[],it=new Map,It=[],Et=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=ut+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=Pe+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 $t=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=$t,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,ue,L,di,mr);if(xe.errors&&xe.errors.length)return void Mr.push(xe);if(mr)return ci.onStart(()=>Q(Xi,xe.fromStyles)),ci.onDestroy(()=>V(Xi,xe.toStyles)),void Fe.push(ci);if(Qn.isFallbackTransition)return ci.onStart(()=>Q(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,ue.append(Xi,xe.timelines),It.push({instruction:xe,player:ci,element:Xi}),xe.queriedElements.forEach(ht=>_t(Et,ht,[]).push(ci)),xe.preStyleProps.forEach((ht,$t)=>{if(ht.size){let Kt=Qt.get($t);Kt||Qt.set($t,Kt=new Set),ht.forEach((Un,ki)=>Kt.add(ki))}}),xe.postStyleProps.forEach((ht,$t)=>{let Kt=en.get($t);Kt||en.set($t,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;ue.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=>{_t(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(ue.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,it,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 Q(Hn,ci.fromStyles),Qn.onDestroy(()=>V(Hn,ci.toStyles)),kr.push(Qn),In.has(Hn)&&Fe.push(Qn)}),kr.forEach(Bn=>{const Hn=it.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,ue,Fe,it){let It=[];if(P){const Et=this.playersByQueriedElement.get(T);Et&&(It=Et)}else{const Et=this.playersByElement.get(T);if(Et){const Qt=!it||it==Ui;Et.forEach(en=>{en.queued||!Qt&&en.triggerName!=Fe||It.push(en)})}}return(ue||Fe)&&(It=It.filter(Et=>!(ue&&ue!=Et.namespaceId||Fe&&Fe!=Et.triggerName))),It}_beforeAnimationBuild(T,P,ue){const it=P.element,It=P.isRemovalTransition?void 0:T,Et=P.isRemovalTransition?void 0:P.triggerName;for(const Qt of P.timelines){const en=Qt.element,In=en!==it,Ln=_t(ue,en,[]);this._getPreviousPlayers(en,In,It,Et,P.toState).forEach(li=>{const Gn=li.getRealPlayer();Gn.beforeDestroy&&Gn.beforeDestroy(),li.destroy(),Ln.push(li)})}Q(it,P.fromStyles)}_buildAnimation(T,P,ue,Fe,it,It){const Et=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}((ue.get(ii)||Pn).map(rr=>rr.getRealPlayer())).filter(rr=>!!rr.element&&rr.element===ii),sr=it.get(ii),nr=It.get(ii),Kr=Ge(this._normalizer,Gn.keyframes,sr,nr),Mr=this._buildPlayer(Gn,Kr,Ki);if(Gn.subTimeline&&Fe&&Ln.add(ii),qi){const rr=new gt(T,Et,ii);rr.setRealPlayer(Mr),en.push(rr)}return Mr});en.forEach(Gn=>{_t(this.playersByQueriedElement,Gn.element,[]).push(Gn),Gn.onDone(()=>function St(je,T,P){let ue=je.get(T);if(ue){if(ue.length){const Fe=ue.indexOf(P);ue.splice(Fe,1)}0==ue.length&&je.delete(T)}return ue}(this.playersByQueriedElement,Gn.element,Gn))}),In.forEach(Gn=>On(Gn,Ft));const li=Qe(pi);return li.onDestroy(()=>{In.forEach(Gn=>vi(Gn,Ft)),V(Qt,P.toStyles)}),Ln.forEach(Gn=>{_t(Fe,Gn,[]).push(li)}),li}_buildPlayer(T,P,ue){return P.length>0?this.driver.animate(T.element,P,T.duration,T.delay,T.easing,ue):new d.ZN(T.duration,T.delay)}}class gt{constructor(T,P,ue){this.namespaceId=T,this.triggerName=P,this.element=ue,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,ue)=>{P.forEach(Fe=>tt(T,ue,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){_t(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,ue,Fe){const it=[];P.forEach(Qt=>it.push(yn(Qt)));const It=[];ue.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 Et=0;return P.forEach(Qt=>yn(Qt,it[Et++])),It}function Vn(je,T){const P=new Map;if(je.forEach(Et=>P.set(Et,[])),0==T.length)return P;const Fe=new Set(T),it=new Map;function It(Et){if(!Et)return 1;let Qt=it.get(Et);if(Qt)return Qt;const en=Et.parentNode;return Qt=P.has(en)?en:Fe.has(en)?1:It(en),it.set(Et,Qt),Qt}return T.forEach(Et=>{const Qt=It(Et);1!==Qt&&P.get(Qt).push(Et)}),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(it)):T.set(je,ue),P.delete(je),!0}class Ii{constructor(T,P,ue){this.bodyNode=T,this._driver=P,this._normalizer=ue,this._triggerCache={},this.onRemovalComplete=(Fe,it)=>{},this._transitionEngine=new vt(T,P,ue),this._timelineEngine=new Je(T,P,ue),this._transitionEngine.onRemovalComplete=(Fe,it)=>this.onRemovalComplete(Fe,it)}registerTrigger(T,P,ue,Fe,it){const It=T+"-"+Fe;let Et=this._triggerCache[It];if(!Et){const Qt=[],In=$n(this._driver,it,Qt,[]);if(Qt.length)throw function Ae(je,T){return new n.\u0275RuntimeError(3404,!1)}();Et=function Ei(je,T,P){return new tr(je,T,P)}(Fe,In,this._normalizer),this._triggerCache[It]=Et}this._transitionEngine.registerTrigger(P,Fe,Et)}register(T,P){this._transitionEngine.register(T,P)}destroy(T,P){this._transitionEngine.destroy(T,P)}onInsert(T,P,ue,Fe){this._transitionEngine.insertNode(T,P,ue,Fe)}onRemove(T,P,ue){this._transitionEngine.removeNode(T,P,ue)}disableAnimations(T,P){this._transitionEngine.markElementAsDisabled(T,P)}process(T,P,ue,Fe){if("@"==ue.charAt(0)){const[it,It]=Bt(ue);this._timelineEngine.command(it,P,It,Fe)}else this._transitionEngine.trigger(T,P,ue,Fe)}listen(T,P,ue,Fe,it){if("@"==ue.charAt(0)){const[It,Et]=Bt(ue);return this._timelineEngine.listen(It,P,Et,it)}return this._transitionEngine.listen(T,P,ue,Fe,it)}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,ue,Fe){this._element=P,this._startStyles=ue,this._endStyles=Fe,this._state=0;let it=je.initialStylesByElement.get(P);it||je.initialStylesByElement.set(P,it=new Map),this._initialStyles=it}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&&(Q(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Q(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,ue)=>{(function Oo(je){return"display"===je||"position"===je})(ue)&&(T=T||new Map,T.set(ue,P))}),T}class jr{constructor(T,P,ue,Fe){this.element=T,this.keyframes=P,this.options=ue,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=ue.duration,this._delay=ue.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(ue=>{P.push(Object.fromEntries(ue))}),P}_triggerWebAnimation(T,P,ue){return T.animate(this._convertKeyframesToObject(P),ue)}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((ue,Fe)=>{"offset"!==Fe&&T.set(Fe,this._finished?ue:Mn(this.element,Fe))}),this.currentSnapshot=T}triggerCallback(T){const P="start"===T?this._onStartFns:this._onDoneFns;P.forEach(ue=>ue()),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 Lt(T)}query(T,P,ue){return ne(T,P,ue)}computeStyle(T,P,ue){return window.getComputedStyle(T)[P]}animate(T,P,ue,Fe,it,It=[]){const Qt={duration:ue,delay:Fe,fill:0==Fe?"both":"forwards"};it&&(Qt.easing=it);const en=new Map,In=It.filter(li=>li instanceof jr);(function xn(je,T){return 0===je||0===T})(ue,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=>Me(T)):[]}(P).map(li=>F(li));Ln=function Sn(je,T,P){if(P.size&&T.length){let ue=T[0],Fe=[];if(P.forEach((it,It)=>{ue.has(It)||Fe.push(It),ue.set(It,it)}),Fe.length)for(let it=1;itIt.set(Et,Mn(je,Et)))}}return T}(T,Ln,en);const pi=function Zi(je,T){let P=null,ue=null;return Array.isArray(T)&&T.length?(P=no(T[0]),T.length>1&&(ue=no(T[T.length-1]))):T instanceof Map&&(P=no(T)),P||ue?new Vr(je,P,ue):null}(T,Ln);return new jr(T,Ln,Qt,pi)}}var fo=a(6814);let mo=(()=>{class je extends d._j{constructor(P,ue){super(),this._nextAnimationId=0,this._renderer=P.createRenderer(ue.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(P){const ue=this._nextAnimationId.toString();this._nextAnimationId++;const Fe=Array.isArray(P)?(0,d.vP)(P):P;return ro(this._renderer,null,ue,"register",[Fe]),new po(ue,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,ue,Fe){this.id=T,this.element=P,this._renderer=Fe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ue)}_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,ue,Fe){return je.setProperty(T,`@@${P}:${ue}`,Fe)}const Ar="@.disabled";let go=(()=>{class je{constructor(P,ue,Fe){this.delegate=P,this.engine=ue,this._zone=Fe,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,ue.onRemovalComplete=(it,It)=>{const Et=It?.parentNode(it);Et&&It.removeChild(Et,it)}}createRenderer(P,ue){const it=this.delegate.createRenderer(P,ue);if(!(P&&ue&&ue.data&&ue.data.animation)){let In=this._rendererCache.get(it);return In||(In=new _o("",it,this.engine,()=>this._rendererCache.delete(it)),this._rendererCache.set(it,In)),In}const It=ue.id,Et=ue.id+"-"+this._currentId;this._currentId++,this.engine.register(Et,P);const Qt=In=>{Array.isArray(In)?In.forEach(Qt):this.engine.registerTrigger(It,Et,P,In.name,In)};return ue.data.animation.forEach(Qt),new fe(this,Et,it,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(P,ue,Fe){P>=0&&Pue(Fe)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(it=>{const[It,Et]=it;It(Et)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([ue,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,ue,Fe){this.namespaceId=T,this.delegate=P,this.engine=ue,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,ue,Fe=!0){this.delegate.insertBefore(T,P,ue),this.engine.onInsert(this.namespaceId,P,T,Fe)}removeChild(T,P,ue){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,ue,Fe){this.delegate.setAttribute(T,P,ue,Fe)}removeAttribute(T,P,ue){this.delegate.removeAttribute(T,P,ue)}addClass(T,P){this.delegate.addClass(T,P)}removeClass(T,P){this.delegate.removeClass(T,P)}setStyle(T,P,ue,Fe){this.delegate.setStyle(T,P,ue,Fe)}removeStyle(T,P,ue){this.delegate.removeStyle(T,P,ue)}setProperty(T,P,ue){"@"==P.charAt(0)&&P==Ar?this.disableAnimations(T,!!ue):this.delegate.setProperty(T,P,ue)}setValue(T,P){this.delegate.setValue(T,P)}listen(T,P,ue){return this.delegate.listen(T,P,ue)}disableAnimations(T,P){this.engine.disableAnimations(T,P)}}class fe extends _o{constructor(T,P,ue,Fe,it){super(P,ue,Fe,it),this.factory=T,this.namespaceId=P}setProperty(T,P,ue){"@"==P.charAt(0)?"."==P.charAt(1)&&P==Ar?this.disableAnimations(T,ue=void 0===ue||!!ue):this.engine.process(this.namespaceId,T,P.slice(1),ue):this.delegate.setProperty(T,P,ue)}listen(T,P,ue){if("@"==P.charAt(0)){const Fe=function le(je){switch(je){case"body":return document.body;case"document":return document;case"window":return window;default:return je}}(T);let it=P.slice(1),It="";return"@"!=it.charAt(0)&&([it,It]=function J(je){const T=je.indexOf(".");return[je.substring(0,T),je.slice(T+1)]}(it)),this.engine.listen(this.namespaceId,Fe,it,It,Et=>{this.factory.scheduleListenerCallback(Et._data||-1,ue,Et)})}return this.delegate.listen(T,P,ue)}}let We=(()=>{class je extends Ii{constructor(P,ue,Fe,it){super(P.body,ue,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:We},{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:ce},{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:()=>lt,By:()=>Pe,DomSanitizer:()=>ge,EVENT_MANAGER_PLUGINS:()=>_,EventManager:()=>l,HAMMER_GESTURE_CONFIG:()=>Ft,HAMMER_LOADER:()=>Gt,HammerGestureConfig:()=>Oe,HammerModule:()=>he,Meta:()=>at,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>ie,Title:()=>Y,TransferState:()=>Rt,VERSION:()=>be,bootstrapApplication:()=>He,createApplication:()=>Ze,disableDebugTools:()=>ut,enableDebugTools:()=>_e,makeStateKey:()=>dt,platformBrowser:()=>Bt,provideClientHydration:()=>Q,provideProtractorTestingSupport:()=>Ge,withNoDomReuse:()=>De,withNoHttpTransferCache:()=>F,\u0275BrowserDomAdapter:()=>r,\u0275BrowserGetTestability:()=>b,\u0275DomEventsPlugin:()=>Be,\u0275DomRendererFactory2:()=>Re,\u0275DomSanitizerImpl:()=>Me,\u0275HammerGesturesPlugin:()=>Ke,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>_t,\u0275KeyEventsPlugin:()=>ve,\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(nt,Ve,yt){return nt.addEventListener(Ve,yt),()=>{nt.removeEventListener(Ve,yt)}}dispatchEvent(nt,Ve){nt.dispatchEvent(Ve)}remove(nt){nt.parentNode&&nt.parentNode.removeChild(nt)}createElement(nt,Ve){return(Ve=Ve||this.getDefaultDocument()).createElement(nt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(nt){return nt.nodeType===Node.ELEMENT_NODE}isShadowRoot(nt){return nt instanceof DocumentFragment}getGlobalEventTarget(nt,Ve){return"window"===Ve?window:"document"===Ve?nt:"body"===Ve?nt.body:null}getBaseHref(nt){const Ve=function h(){return f=f||document.querySelector("base"),f?f.getAttribute("href"):null}();return null==Ve?null:function v(qe){u=u||document.createElement("a"),u.setAttribute("href",qe);const nt=u.pathname;return"/"===nt.charAt(0)?nt:`/${nt}`}(Ve)}resetBaseElement(){f=null}getUserAgent(){return window.navigator.userAgent}getCookie(nt){return(0,c.\u0275parseCookieValue)(document.cookie,nt)}}let u,f=null;class b{addToWindow(nt){n.\u0275global.getAngularTestability=(yt,At=!0)=>{const on=nt.findTestabilityInTree(yt,At);if(null==on)throw new n.\u0275RuntimeError(5103,!1);return on},n.\u0275global.getAllAngularTestabilities=()=>nt.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>nt.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(yt=>{const At=n.\u0275global.getAllAngularTestabilities();let on=At.length,xn=!1;const Sn=function(_n){xn=xn||_n,on--,0==on&&yt(xn)};At.forEach(_n=>{_n.whenStable(Sn)})})}findTestabilityInTree(nt,Ve,yt){return null==Ve?null:nt.getTestability(Ve)??(yt?(0,c.\u0275getDOM)().isShadowRoot(Ve)?this.findTestabilityInTree(nt,Ve.host,!0):this.findTestabilityInTree(nt,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(At=>{At.manager=this}),this._plugins=Ve.slice().reverse()}addEventListener(Ve,yt,At){return this._findPluginFor(yt).addEventListener(Ve,yt,At)}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(nt){this._doc=nt}}const x="ng-app-id";let D=(()=>{class qe{constructor(Ve,yt,At,on={}){this.doc=Ve,this.appId=yt,this.nonce=At,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(At=>At.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(At=>{null!=At.textContent&&yt.set(At.textContent,At)}),yt}return null}changeUsageCount(Ve,yt){const At=this.styleRef;if(At.has(Ve)){const on=At.get(Ve);return on.usage+=yt,on.usage}return At.set(Ve,{usage:yt,elements:[]}),yt}getStyleElement(Ve,yt){const At=this.styleNodesInDOM,on=At?.get(yt);if(on?.parentNode===Ve)return At.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 At=this.getStyleElement(Ve,yt);Ve.appendChild(At);const on=this.styleRef,xn=on.get(yt)?.elements;xn?xn.push(At):on.set(yt,{elements:[At],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 Ce(qe,nt){return nt.map(Ve=>Ve.replace(E,qe))}let Re=(()=>{class qe{constructor(Ve,yt,At,on,xn,Sn,_n,Mn=null){this.eventManager=Ve,this.sharedStylesHost=yt,this.appId=At,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 At=this.getOrCreateRenderer(Ve,yt);return At instanceof Ee?At.applyToHost(Ve):At instanceof we&&At.applyStyles(),At}getOrCreateRenderer(Ve,yt){const At=this.rendererByCompId;let on=At.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)}At.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(nt,Ve,yt,At){this.eventManager=nt,this.doc=Ve,this.ngZone=yt,this.platformIsServer=At,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(nt,Ve){return Ve?this.doc.createElementNS(S[Ve]||Ve,nt):this.doc.createElement(nt)}createComment(nt){return this.doc.createComment(nt)}createText(nt){return this.doc.createTextNode(nt)}appendChild(nt,Ve){(W(nt)?nt.content:nt).appendChild(Ve)}insertBefore(nt,Ve,yt){nt&&(W(nt)?nt.content:nt).insertBefore(Ve,yt)}removeChild(nt,Ve){nt&&nt.removeChild(Ve)}selectRootElement(nt,Ve){let yt="string"==typeof nt?this.doc.querySelector(nt):nt;if(!yt)throw new n.\u0275RuntimeError(-5104,!1);return Ve||(yt.textContent=""),yt}parentNode(nt){return nt.parentNode}nextSibling(nt){return nt.nextSibling}setAttribute(nt,Ve,yt,At){if(At){Ve=At+":"+Ve;const on=S[At];on?nt.setAttributeNS(on,Ve,yt):nt.setAttribute(Ve,yt)}else nt.setAttribute(Ve,yt)}removeAttribute(nt,Ve,yt){if(yt){const At=S[yt];At?nt.removeAttributeNS(At,Ve):nt.removeAttribute(`${yt}:${Ve}`)}else nt.removeAttribute(Ve)}addClass(nt,Ve){nt.classList.add(Ve)}removeClass(nt,Ve){nt.classList.remove(Ve)}setStyle(nt,Ve,yt,At){At&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?nt.style.setProperty(Ve,yt,At&n.RendererStyleFlags2.Important?"important":""):nt.style[Ve]=yt}removeStyle(nt,Ve,yt){yt&n.RendererStyleFlags2.DashCase?nt.style.removeProperty(Ve):nt.style[Ve]=""}setProperty(nt,Ve,yt){nt[Ve]=yt}setValue(nt,Ve){nt.nodeValue=Ve}listen(nt,Ve,yt){if("string"==typeof nt&&!(nt=(0,c.\u0275getDOM)().getGlobalEventTarget(this.doc,nt)))throw new Error(`Unsupported event target ${nt} for event ${Ve}`);return this.eventManager.addEventListener(nt,Ve,this.decoratePreventDefault(yt))}decoratePreventDefault(nt){return Ve=>{if("__ngUnwrap__"===Ve)return nt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>nt(Ve)):nt(Ve))&&Ve.preventDefault()}}}function W(qe){return"TEMPLATE"===qe.tagName&&void 0!==qe.content}class pe extends Ae{constructor(nt,Ve,yt,At,on,xn,Sn,_n){super(nt,on,xn,_n),this.sharedStylesHost=Ve,this.hostEl=yt,this.shadowRoot=yt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mn=Ce(At.id,At.styles);for(const xi of Mn){const fi=document.createElement("style");Sn&&fi.setAttribute("nonce",Sn),fi.textContent=xi,this.shadowRoot.appendChild(fi)}}nodeOrShadowRoot(nt){return nt===this.hostEl?this.shadowRoot:nt}appendChild(nt,Ve){return super.appendChild(this.nodeOrShadowRoot(nt),Ve)}insertBefore(nt,Ve,yt){return super.insertBefore(this.nodeOrShadowRoot(nt),Ve,yt)}removeChild(nt,Ve){return super.removeChild(this.nodeOrShadowRoot(nt),Ve)}parentNode(nt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(nt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class we extends Ae{constructor(nt,Ve,yt,At,on,xn,Sn,_n){super(nt,on,xn,Sn),this.sharedStylesHost=Ve,this.removeStylesOnCompDestroy=At,this.styles=_n?Ce(_n,yt.styles):yt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ee extends we{constructor(nt,Ve,yt,At,on,xn,Sn,_n){const Mn=At+"-"+yt.id;super(nt,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(nt){this.applyStyles(),this.setAttribute(nt,this.hostAttr,"")}createElement(nt,Ve){const yt=super.createElement(nt,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,At){return Ve.addEventListener(yt,At,!1),()=>this.removeEventListener(Ve,yt,At)}removeEventListener(Ve,yt,At){return Ve.removeEventListener(yt,At)}}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"},ae={alt:qe=>qe.altKey,control:qe=>qe.ctrlKey,meta:qe=>qe.metaKey,shift:qe=>qe.shiftKey};let ve=(()=>{class qe extends y{constructor(Ve){super(Ve)}supports(Ve){return null!=qe.parseEventName(Ve)}addEventListener(Ve,yt,At){const on=qe.parseEventName(yt),xn=qe.eventCallback(on.fullKey,At,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.\u0275getDOM)().onAndCancel(Ve,on.domEventName,xn))}static parseEventName(Ve){const yt=Ve.toLowerCase().split("."),At=yt.shift();if(0===yt.length||"keydown"!==At&&"keyup"!==At)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=At,_n.fullKey=xn,_n}static matchEventFullKeyCode(Ve,yt){let At=re[Ve.key]||Ve.key,on="";return yt.indexOf("code.")>-1&&(At=Ve.code,on="code."),!(null==At||!At)&&(At=At.toLowerCase()," "===At?At="space":"."===At&&(At="dot"),G.forEach(xn=>{xn!==At&&(0,ae[xn])(Ve)&&(on+=xn+".")}),on+=At,on===yt)}static eventCallback(Ve,yt,At){return on=>{qe.matchEventFullKeyCode(on,Ve)&&At.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,nt){return(0,n.\u0275internalCreateApplication)({rootComponent:qe,...Qe(nt)})}function Ze(qe){return(0,n.\u0275internalCreateApplication)(Qe(qe))}function Qe(qe){return{appProviders:[...Le,...qe?.providers??[]],platformProviders:_t}}function Ge(){return[...Lt]}function tt(){r.makeCurrent()}const _t=[{provide:n.PLATFORM_ID,useValue:c.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:tt,multi:!0},{provide:c.DOCUMENT,useFactory:function Nt(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Bt=(0,n.createPlatformFactory)(n.platformCore,"browser",_t),Tt=new n.InjectionToken(""),Lt=[{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 Ct(){return new n.ErrorHandler},deps:[]},{provide:_,useClass:Be,multi:!0,deps:[c.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:_,useClass:ve,multi:!0,deps:[c.DOCUMENT]},Re,D,l,{provide:n.RendererFactory2,useExisting:Re},{provide:c.XhrFactory,useClass:p,deps:[]},[]];let lt=(()=>{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,...Lt],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((At,on)=>(on&&At.push(this._getOrCreateElement(on,yt)),At),[]):[]}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 At=this.getTag(yt);return At?this._setMetaElementAttributes(Ve,At):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 At=this._dom.createElement("meta");return this._setMetaElementAttributes(Ve,At),this._doc.getElementsByTagName("head")[0].appendChild(At),At}_setMetaElementAttributes(Ve,yt){return Object.keys(Ve).forEach(At=>yt.setAttribute(this._getMetaKeyMap(At),Ve[At])),yt}_parseSelector(Ve){const yt=Ve.name?"name":"property";return`${yt}="${Ve[yt]}"`}_containsAttributes(Ve,yt){return Object.keys(Ve).every(At=>yt.getAttribute(this._getMetaKeyMap(At))===Ve[At])}_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,nt){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[qe]=nt)}const K=typeof window<"u"&&window||{};class ce{constructor(nt,Ve){this.msPerTick=nt,this.numTicks=Ve}}class Te{constructor(nt){this.appRef=nt.injector.get(n.ApplicationRef)}timeChangeDetection(nt){const Ve=nt&&nt.record,yt="Change Detection",At=null!=K.console.profile;Ve&&At&&K.console.profile(yt);const on=et();let xn=0;for(;xn<5||et()-on<500;)this.appRef.tick(),xn++;const Sn=et();Ve&&At&&K.console.profileEnd(yt);const _n=(Sn-on)/xn;return K.console.log(`ran ${xn} change detection cycles`),K.console.log(`${_n.toFixed(2)} ms per check`),new ce(_n,xn)}}function et(){return K.performance&&K.performance.now?K.performance.now():(new Date).getTime()}const Dt="profiler";function _e(qe){return ne(Dt,new Te(qe)),qe}function ut(){ne(Dt,null)}class Pe{static all(){return()=>!0}static css(nt){return Ve=>null!=Ve.nativeElement&&function mt(qe,nt){return!!(0,c.\u0275getDOM)().isElementNode(qe)&&(qe.matches&&qe.matches(nt)||qe.msMatchesSelector&&qe.msMatchesSelector(nt)||qe.webkitMatchesSelector&&qe.webkitMatchesSelector(nt))}(Ve.nativeElement,nt)}static directive(nt){return Ve=>-1!==Ve.providerTokens.indexOf(nt)}}const Pt={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},Ft=new n.InjectionToken("HammerGestureConfig"),Gt=new n.InjectionToken("HammerLoader");let Oe=(()=>{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 At in this.overrides)yt.get(At).set(this.overrides[At]);return yt}}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),Ke=(()=>{class qe extends y{constructor(Ve,yt,At,on){super(Ve),this._config=yt,this.console=At,this.loader=on,this._loaderPromise=null}supports(Ve){return!(!Pt.hasOwnProperty(Ve.toLowerCase())&&!this.isCustomEvent(Ve)||!window.Hammer&&!this.loader)}addEventListener(Ve,yt,At){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,At)):Sn=()=>{}}).catch(()=>{Sn=()=>{}})),()=>{Sn()}}return on.runOutsideAngular(()=>{const xn=this._config.buildHammer(Ve),Sn=function(_n){on.runGuarded(function(){At(_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(Ft),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(Gt,8))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),he=(()=>{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:Ke,multi:!0,deps:[c.DOCUMENT,Ft,n.\u0275Console,[new n.Optional,Gt]]},{provide:Ft,useClass:Oe,deps:[]}]}),qe})(),ge=(()=>{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(Me),yt},providedIn:"root"}),qe})(),Me=(()=>{class qe extends ge{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 ct(qe){return new Me(qe.get(c.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),yt},providedIn:"root"}),qe})();function Ye(qe,nt=[]){return{\u0275kind:qe,\u0275providers:nt}}function De(){return Ye(0)}function F(){return Ye(1)}function Q(...qe){const nt=[],Ve=new Set;for(const{\u0275providers:yt,\u0275kind:At}of qe)Ve.add(At),yt.length&&nt.push(yt);return(0,n.makeEnvironmentProviders)([[],Ve.has(0)?[]:(0,n.\u0275withDomHydration)(),Ve.has(1)?[]:(0,d.\u0275withHttpTransferCache)(),nt])}const be=new n.Version("16.1.7"),dt=n.makeStateKey,Rt=n.TransferState},5187:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ActivatedRoute:()=>Fn,ActivatedRouteSnapshot:()=>Fi,ActivationEnd:()=>jt,ActivationStart:()=>Mt,BaseRouteReuseStrategy:()=>L,ChildActivationEnd:()=>Ni,ChildActivationStart:()=>ai,ChildrenOutletContexts:()=>se,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:()=>ce,UrlTree:()=>at,VERSION:()=>ja,convertToParamMap:()=>ae,createUrlTreeFromSnapshot:()=>Ve,defaultUrlMatcher:()=>ve,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),f=a(2572),h=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),Ce=a(6424),Re=a(3572),Ae=a(2032),de=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 ae(k){return new re(k)}function ve(k,j,w){const q=w.path.split("/");if(q.length>k.length||"full"===w.pathMatch&&(j.hasChildren()||q.lengthq[rt]===Se)}return k===j}function Ge(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 Ct={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},Nt={exact:function Bt(k,j){return Ze(k,j)},subset:function Lt(k,j){return Object.keys(j).length<=Object.keys(k).length&&Object.keys(j).every(w=>Qe(k[w],j[w]))},ignored:()=>!0};function _t(k,j,w){return Ct[w.paths](k.root,j.root,w.matrixParams)&&Nt[w.queryParams](k.queryParams,j.queryParams)&&!("exact"===w.fragment&&k.fragment!==j.fragment)}function Le(k,j,w){return lt(k,j,j.segments,w)}function lt(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),rt=w.slice(k.segments.length);return!!(ne(k.segments,Se)&&ze(k.segments,Se,q)&&k.children[Be])&<(k.children[Be],j,rt,q)}}function ze(k,j,w){return j.every((q,Se)=>Nt[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=ae(this.queryParams)),this._queryParamMap}toString(){return et.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=ae(this.parameters)),this._parameterMap}toString(){return Oe(this)}}function ne(k,j){return k.length===j.length&&k.every((w,q)=>w.path===j[q].path)}let ce=(()=>{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 be(j);return new at(w.parseRootSegment(),w.parseQueryParams(),w.parseFragment())}serialize(j){const w=`/${_e(j.root,!0)}`,q=function he(k){const j=Object.keys(k).map(w=>{const q=k[w];return Array.isArray(q)?q.map(Se=>`${Pe(w)}=${Pe(Se)}`).join("&"):`${Pe(w)}=${Pe(q)}`}).filter(w=>!!w);return j.length?`?${j.join("&")}`:""}(j.queryParams);return`${w}${q}${"string"==typeof j.fragment?`#${function mt(k){return encodeURI(k)}(j.fragment)}`:""}`}}const et=new Te;function Dt(k){return k.segments.map(j=>Oe(j)).join("/")}function _e(k,j){if(!k.hasChildren())return Dt(k);if(j){const w=k.children[Be]?_e(k.children[Be],!1):"",q=[];return Object.entries(k.children).forEach(([Se,rt])=>{Se!==Be&&q.push(`${Se}:${_e(rt,!1)}`)}),q.length>0?`${w}(${q.join("//")})`:w}{const w=function K(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?[_e(k.children[Be],!1)]:[`${Se}:${_e(q,!1)}`]);return 1===Object.keys(k.children).length&&null!=k.children[Be]?`${Dt(k)}/${w[0]}`:`${Dt(k)}/(${w.join("//")})`}}function ut(k){return encodeURIComponent(k).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pe(k){return ut(k).replace(/%3B/gi,";")}function Pt(k){return ut(k).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ft(k){return decodeURIComponent(k)}function Gt(k){return Ft(k.replace(/\+/g,"%20"))}function Oe(k){return`${Pt(k.path)}${function Ke(k){return Object.keys(k).map(j=>`;${Pt(j)}=${Pt(k[j])}`).join("")}(k.parameters)}`}const ge=/^[^\/()?;#]+/;function ct(k){const j=k.match(ge);return j?j[0]:""}const Me=/^[^\/()?;=#]+/,De=/^[^=?&#]+/,V=/^[^&#]+/;class be{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=ct(this.remaining);if(""===j&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(j),new oe(Ft(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(Me);return j?j[0]:""}(this.remaining);if(!w)return;this.capture(w);let q="";if(this.consumeOptional("=")){const Se=ct(this.remaining);Se&&(q=Se,this.capture(q))}j[Ft(w)]=Ft(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 Q(k){const j=k.match(V);return j?j[0]:""}(this.remaining);st&&(q=st,this.capture(q))}const Se=Gt(w),rt=Gt(q);if(j.hasOwnProperty(Se)){let st=j[Se];Array.isArray(st)||(st=[st],j[Se]=st),st.push(rt)}else j[Se]=rt}parseParens(j){const w={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const q=ct(this.remaining),Se=this.remaining[q.length];if("/"!==Se&&")"!==Se&&";"!==Se)throw new n.\u0275RuntimeError(4010,!1);let rt;q.indexOf(":")>-1?(rt=q.slice(0,q.indexOf(":")),this.capture(rt),this.capture(":")):j&&(rt=Be);const st=this.parseChildren();w[rt]=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 dt(k){return k.segments.length>0?new N([],{[Be]:k}):k}function Rt(k){const j={};for(const q of Object.keys(k.children)){const rt=Rt(k.children[q]);if(q===Be&&0===rt.segments.length&&rt.hasChildren())for(const[st,Vt]of Object.entries(rt.children))j[st]=Vt;else(rt.segments.length>0||rt.hasChildren())&&(j[q]=rt)}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 nt(k){return k instanceof at}function Ve(k,j,w=null,q=null){return At(yt(k),j,w,q)}function yt(k){let j;const Se=dt(function w(rt){const st={};for(const hn of rt.children){const An=w(hn);st[hn.outlet]=An}const Vt=new N(rt.url,st);return rt===k&&(j=Vt),Vt}(k.root));return j??Se}function At(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 rt=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,rt,st)=>{if("object"==typeof rt&&null!=rt){if(rt.outlets){const Vt={};return Object.entries(rt.outlets).forEach(([hn,An])=>{Vt[hn]="string"==typeof An?An.split("/"):An}),[...Se,{outlets:Vt}]}if(rt.segmentPath)return[...Se,rt.segmentPath]}return"string"!=typeof rt?[...Se,rt]:0===st?(rt.split("/").forEach((Vt,hn)=>{0==hn&&"."===Vt||(0==hn&&""===Vt?w=!0:".."===Vt?j++:""!=Vt&&Se.push(Vt))}),Se):[...Se,rt]},[]);return new Mn(w,j,q)}(j);if(rt.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,rt=w;for(;rt>Se;){if(rt-=Se,q=q.parent,!q)throw new n.\u0275RuntimeError(4005,!1);Se=q.segments.length}return new fi(q,!1,Se-rt)}(w,w.segments.length-1+q,k.numberOfDoubleDots)}(rt,Se,k),Vt=st.processChildren?pt(st.segmentGroup,st.index,rt.commands):bt(st.segmentGroup,st.index,rt.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,rt={};q&&Object.entries(q).forEach(([hn,An])=>{rt[hn]=Array.isArray(An)?An.map(Kn=>`${Kn}`):`${An}`}),st=k===j?w:_n(k,j,w);const Vt=dt(Rt(st));return new at(Vt,rt,Se)}function _n(k,j,w){const q={};return Object.entries(k.children).forEach(([Se,rt])=>{q[Se]=rt===j?w:_n(rt,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!==Ge(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 bt(k,j,w){if(k||(k=new N([],{})),0===k.segments.length&&k.hasChildren())return pt(k,j,w);const q=function qt(k,j,w){let q=0,Se=j;const rt={match:!1,pathIndex:0,commandIndex:0};for(;Se=w.length)return rt;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 rt;q+=2}else{if(!Nn(hn,{},st))return rt;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[rt]=bt(k.children[rt],j,st))}),Object.entries(k.children).forEach(([rt,st])=>{void 0===q[rt]&&(Se[rt]=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,rt){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.shouldActivate=rt,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 Mt{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 se,this.attachRef=null}}let se=(()=>{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=kt(j,this._root);return w?w.children.map(q=>q.value):[]}firstChild(j){const w=kt(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 kt(k,j){if(k===j.value)return j;for(const w of j.children){const q=kt(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({}),rt=new r.X({}),st=new r.X({}),Vt=new r.X(""),hn=new Fn(q,Se,st,Vt,rt,Be,j,w.root);return hn.snapshot=w.root,new pn(new un(hn,[]),w)}class Fn{constructor(j,w,q,Se,rt,st,Vt,hn){this.urlSubject=j,this.paramsSubject=w,this.queryParamsSubject=q,this.fragmentSubject=Se,this.dataSubject=rt,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=rt}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=>ae(j)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,D.U)(j=>ae(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],rt=w[q-1];if(Se.routeConfig&&""===Se.routeConfig.path)q--;else{if(rt.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,rt,st,Vt,hn,An){this.url=j,this.params=w,this.queryParams=q,this.fragment=Se,this.data=rt,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=ae(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ae(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)(se),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===se?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,f.a)([q.queryParams,q.params,q.data]).pipe((0,S.w)(([rt,st,Vt],hn)=>(Vt={...rt,...st,...Vt},0===hn?(0,g.of)(Vt):Promise.resolve(Vt)))).subscribe(rt=>{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,rt[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 rt=k.retrieve(j.value);if(null!==rt){const st=rt.route;return st.value._futureSnapshot=j.value,st.children=j.children.map(Vt=>yi(k,Vt)),st}}const q=function Ot(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(rt=>yi(k,rt));return new un(q,Se)}}const C="ngNavigationCancelingError";function te(k,j){const{redirectTo:w,navigationBehaviorOptions:q}=nt(j)?{redirectTo:j,navigationBehaviorOptions:void 0}:j,Se=Ne(!1,0,j);return Se.url=w,Se.navigationBehaviorOptions=q,Se}function Ne(k,j,w){const q=new Error("NavigationCancelingError: "+(k||""));return q[C]=!0,q.cancellationCode=j,w&&(q.url=w),q}function ot(k){return Zt(k)&&nt(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,rt){this.routeReuseStrategy=j,this.futureState=w,this.currState=q,this.forwardEvent=Se,this.inputBindingEnabled=rt}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(rt=>{const st=rt.value.outlet;this.deactivateRoutes(rt,Se[st],q),delete Se[st]}),Object.values(Se).forEach(rt=>{this.deactivateRouteAndItsChildren(rt,q)})}deactivateRoutes(j,w,q){const Se=j.value,rt=w?w.value:null;if(Se===rt)if(Se.component){const st=q.getContext(Se.outlet);st&&this.deactivateChildRoutes(j,w,st.children)}else this.deactivateChildRoutes(j,w,q);else rt&&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,rt=gn(j);for(const st of Object.keys(rt))this.deactivateRouteAndItsChildren(rt[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,rt=gn(j);for(const st of Object.keys(rt))this.deactivateRouteAndItsChildren(rt[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(rt=>{this.activateRoutes(rt,Se[rt.value.outlet],q),this.forwardEvent(new jt(rt.value.snapshot))}),j.children.length&&this.forwardEvent(new Ni(j.value.snapshot))}activateRoutes(j,w,q){const Se=j.value,rt=w?w.value:null;if(tn(Se),Se===rt)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 rt=gn(j);return k.children.forEach(st=>{(function oi(k,j,w,q,Se={canDeactivateChecks:[],canActivateChecks:[]}){const rt=k.value,st=j?j.value:null,Vt=w?w.getContext(k.value.outlet):null;if(st&&rt.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,rt,rt.routeConfig.runGuardsAndResolvers);hn?Se.canActivateChecks.push(new On(q)):(rt.data=st.data,rt._resolvedData=st._resolvedData),ni(k,j,rt.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,rt.component?Vt?Vt.children:null:w,q,Se)})(st,rt[st.value.outlet],w,q.concat([st.value]),Se),delete rt[st.value.outlet]}),Object.entries(rt).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(([rt,st])=>{Zi(st,Se.component?j?j.children.getContext(rt):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 h.K||"EmptyError"===k?.name}const Sr=Symbol("INITIAL_VALUE");function Ar(){return(0,S.w)(k=>(0,f.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(nt(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 rt=this.createSegmentGroup(j,w.root,q,Se);return new at(rt,this.createQueryParams(w.queryParams,this.urlTree.queryParams),w.fragment)}createQueryParams(j,w){const q={};return Object.entries(j).forEach(([Se,rt])=>{if("string"==typeof rt&&rt.startsWith(":")){const Vt=rt.substring(1);q[Se]=w[Vt]}else q[Se]=rt}),q}createSegmentGroup(j,w,q,Se){const rt=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(rt,st)}createSegments(j,w,q,Se){return w.map(rt=>rt.path.startsWith(":")?this.findPosParam(j,rt,Se):this.findOrReturn(rt,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 ue={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fe(k,j,w,q,Se){const rt=it(k,j,w);return rt.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 rt=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)(rt).pipe(Ar(),dr())}(q,j,w).pipe((0,D.U)(st=>!0===st?rt:{...ue}))):(0,g.of)(rt)}function it(k,j,w){if(""===j.path)return"full"===j.pathMatch&&(k.hasChildren()||w.length>0)?{...ue}:{matched:!0,consumedSegments:[],remainingSegments:w,parameters:{},positionalParamSegments:{}};const Se=(j.matcher||ve)(w,k,j);if(!Se)return{...ue};const rt={};Object.entries(Se.posParams??{}).forEach(([Vt,hn])=>{rt[Vt]=hn.path});const st=Se.consumed.length>0?{...rt,...Se.consumed[Se.consumed.length-1].parameters}:rt;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,Et(k,0,w,q,k.children)),slicedSegments:w}:{segmentGroup:new N(k.segments,k.children),slicedSegments:w}}function Et(k,j,w,q,Se){const rt={};for(const st of q)if(Ln(k,w,st)&&!Se[Ht(st)]){const Vt=new N([],{});rt[Ht(st)]=Vt}return{...Se,...rt}}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,rt,st,Vt){this.injector=j,this.configLoader=w,this.rootComponentType=q,this.config=Se,this.urlTree=rt,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),rt=new Gi("",Se),st=Ve(q,[],this.urlTree.queryParams,this.urlTree.fragment);return st.queryParams=this.urlTree.queryParams,rt.url=this.urlSerializer.serialize(st),this.inheritParamsAndData(rt._root),{state:rt,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 rt of Object.keys(q.children))"primary"===rt?Se.unshift(rt):Se.push(rt);return(0,d.D)(Se).pipe((0,ie.b)(rt=>{const st=q.children[rt],Vt=function Yt(k,j){const w=k.filter(q=>Ht(q)===j);return w.push(...k.filter(q=>Ht(q)!==j)),w}(w,rt);return this.processSegmentGroup(j,Vt,st,rt)}),(0,Ce.R)((rt,st)=>(rt.push(...st),rt)),(0,Re.d)(null),(0,Ae.Z)(),(0,$.z)(rt=>{if(null===rt)return Rr(q);const st=Ki(rt);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,rt,st){return(0,d.D)(w).pipe((0,ie.b)(Vt=>this.processSegmentAgainstRoute(Vt._injector??j,w,Vt,q,Se,rt,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,rt)?(0,g.of)([]):Rr(q);throw Vt}))}processSegmentAgainstRoute(j,w,q,Se,rt,st,Vt){return function pi(k,j,w,q){return!!(Ht(k)===q||q!==Be&&Ln(j,w,k))&&("**"===k.path||it(j,k,w).matched)}(q,Se,rt,st)?void 0===q.redirectTo?this.matchSegmentAgainstRoute(j,Se,q,rt,st,Vt):Vt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(j,Se,w,q,rt,st):Rr(Se):Rr(Se)}expandSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st){return"**"===Se.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(j,q,Se,st):this.expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st)}expandWildCardWithParamsAgainstRouteUsingRedirect(j,w,q,Se){const rt=this.applyRedirects.applyRedirectCommands([],q.redirectTo,{});return q.redirectTo.startsWith("/")?oo(rt):this.applyRedirects.lineralizeSegments(q,rt).pipe((0,$.z)(st=>{const Vt=new N(st,{});return this.processSegment(j,w,Vt,st,Se,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st){const{matched:Vt,consumedSegments:hn,remainingSegments:An,positionalParamSegments:Kn}=it(w,Se,rt);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,rt,st){let Vt;if("**"===q.path){const hn=Se.length>0?Ge(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)===rt;return this.processSegment(Kn,An,wo,To,Io?Be:rt,!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 rt=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)(rt).pipe(Ar(),dr())}(j,w,q).pipe((0,$.z)(Se=>Se?this.configLoader.loadChildren(j,w).pipe((0,A.b)(rt=>{w._loadedRoutes=rt.routes,w._loadedInjector=rt.injector})):function T(k){return(0,p._)(Ne(!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(rt=>q.value.routeConfig===rt.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)(rt=>{this.onLoadEndListener&&this.onLoadEndListener(w),w._loadedComponent=rt}),(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 rt=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(rt,()=>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)(ce),this.rootContexts=(0,n.inject)(se),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,rt=!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,rt){return(0,$.z)(st=>function Gn(k,j,w,q,Se,rt,st="emptyOnly"){return new ii(k,j,w,q,Se,st,rt).recognize()}(k,j,w,q,st.extractedUrl,Se,rt).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:rt,canDeactivateChecks:st}}=w;return 0===st.length&&0===rt.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 rt=j&&j.routeConfig?j.routeConfig.canDeactivate:null;if(!rt||0===rt.length)return(0,g.of)(!0);const st=rt.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 le(k,j){return null!==k&&j&&j(new Mt(k)),(0,g.of)(!0)}(Se.route,q),function Xt(k,j,w){const q=j[j.length-1],rt=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)(rt).pipe(Ar())}(k,Se.path,w),function We(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(rt=>(0,v.P)(()=>{const st=Jt(j)??w,Vt=qn(rt,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,rt,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,nt(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 rt=0;return(0,d.D)(Se).pipe((0,ie.b)(st=>function xr(k,j,w,q){const Se=k.routeConfig,rt=k._resolve;return void 0!==Se?.title&&!Yr(Se)&&(rt[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 rt={};return(0,d.D)(Se).pipe((0,$.z)(st=>function yo(k,j,w,q){const Se=Jt(j)??q,rt=qn(k,Se);return tt(rt.resolve?rt.resolve(j,w):Se.runInContext(()=>rt(j,w)))}(k[st],j,w,q).pipe((0,ee.P)(),(0,A.b)(Vt=>{rt[st]=Vt}))),(0,de.h)(1),(0,H.h)(rt),(0,U.K)(st=>ro(st)?_.E:(0,p._)(st)))}(rt,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)(()=>rt++),(0,de.h)(1),(0,$.z)(st=>rt===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,f.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||rt||this.cancelNavigationTransition(q,"",1),this.currentNavigation?.id===q.id&&(this.currentNavigation=null)}),(0,U.K)(st=>{if(rt=!0,Zt(st)){ot(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),ot(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 rt=new ti(w.id,this.urlSerializer.serialize(w.extractedUrl),q,Se);this.events.next(rt),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(rt=>rt.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 $t=function(k){return k[k.COMPLETE=0]="COMPLETE",k[k.FAILED=1]="FAILED",k[k.REDIRECTING=2]="REDIRECTING",k}($t||{});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?$t.COMPLETE:w instanceof ti&&(0===w.code||1===w.code)?$t.REDIRECTING:$t.FAILED),(0,X.h)(w=>w!==$t.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)(ce),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 rt={replaceUrl:!0},st=Se?.navigationId?Se:null;if(Se){const hn={...Se};delete hn.navigationId,delete hn.\u0275routerPageId,0!==Object.keys(hn).length&&(rt.state=hn)}const Vt=this.parseUrl(w);this.scheduleNavigation(Vt,q,st,rt)}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:rt,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,...rt};break;case"preserve":Kn=this.currentUrlTree.queryParams;break;default:Kn=rt||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 At($i,w,Kn,An??null)}navigateByUrl(w,q={skipLocationChange:!1}){const Se=nt(w)?w:this.parseUrl(w),rt=this.urlHandlingStrategy.merge(Se,this.rawUrlTree);return this.scheduleNavigation(rt,wn,null,q)}navigate(w,q={skipLocationChange:!1}){return function Ji(k){for(let j=0;j{const rt=w[Se];return null!=rt&&(q[Se]=rt),q},{})}scheduleNavigation(w,q,Se,rt,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:rt,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 rt={...q.extras.state,...this.generateNgRouterState(q.id,(this.browserPageId??0)+1)};this.location.go(Se,"",rt)}}restoreHistory(w,q=!1){if("computed"===this.canceledNavigationResolution){const rt=this.currentPageId-(this.browserPageId??this.currentPageId);0!==rt?this.location.historyGo(rt):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===rt&&(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,rt,st,Vt){this.router=w,this.route=q,this.tabIndexAttribute=Se,this.renderer=rt,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,rt,st){return!!(null===this.urlTree||this.isAnchorElement&&(0!==w||q||Se||rt||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,rt=this.el.nativeElement;null!==q?Se.setAttribute(rt,w,q):Se.removeAttribute(rt,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(rt){return q.onClick(rt.button,rt.ctrlKey,rt.shiftKey,rt.altKey,rt.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,rt,st){this.router=w,this.element=q,this.renderer=Se,this.cdr=rt,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 rt;n.\u0275\u0275queryRefresh(rt=n.\u0275\u0275loadQuery())&&(q.links=rt)}},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,rt,st){this.router=w,this.injector=Se,this.preloadingStrategy=rt,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 rt of q){rt.providers&&!rt._injector&&(rt._injector=(0,n.createEnvironmentInjector)(rt.providers,w,`Route: ${rt.path}`));const st=rt._injector??w,Vt=rt._loadedInjector??st;(rt.loadChildren&&!rt._loadedRoutes&&void 0===rt.canLoad||rt.loadComponent&&!rt._loadedComponent)&&Se.push(this.preloadConfig(st,rt)),(rt.children||rt._loadedRoutes)&&Se.push(this.processRoutes(Vt,rt.children??rt._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 rt=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)([rt,st]).pipe((0,we.J)())}return rt})}}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,rt,st={}){this.urlSerializer=w,this.transitions=q,this.viewportScroller=Se,this.zone=rt,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),rt=(0,n.inject)(ce);return new Zr(rt,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),rt=j.get(dn);Kt(Se,()=>{q(!0)}),j.get(Qn).afterPreactivation=()=>(q(!0),rt.closed?(0,g.of)(void 0):rt),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:ce,useClass:Te},Jn,se,{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)(ce);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:()=>de,USE_STORE:()=>Ce});var n=a(1180),c=a(5879),d=a(2096),g=a(2664),r=a(9315),f=a(34),h=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 ae,ve,He,G=typeof Ee;if(G==typeof Be&&"object"==G){if(!Array.isArray(Ee)){if(Array.isArray(Be))return!1;for(ve in He=Object.create(null),Ee){if(!S(Ee[ve],Be[ve]))return!1;He[ve]=!0}for(ve in Be)if(!(ve in He)&&typeof Be[ve]<"u")return!1;return!0}if(!Array.isArray(Be))return!1;if((ae=Ee.length)==Be.length){for(ve=0;ve{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 ae;return ae="string"==typeof G?this.interpolateString(G,re):"function"==typeof G?this.interpolateFunction(G,re):G,ae}getValue(G,re){let ae="string"==typeof re?re.split("."):[re];re="";do{re+=ae.shift(),!E(G)||!E(G[re])||"object"!=typeof G[re]&&ae.length?ae.length?re+=".":G=void 0:(G=G[re],re="")}while(ae.length);return G}interpolateFunction(G,re){return G(re)}interpolateString(G,re){return re?G.replace(this.templateMatcher,(ae,ve)=>{let He=this.getValue(re,ve);return E(He)?He:ae}):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 Ce=new c.InjectionToken("USE_STORE"),Re=new c.InjectionToken("USE_DEFAULT_LANG"),Ae=new c.InjectionToken("DEFAULT_LANGUAGE"),de=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,ae,ve,He,Ze=!0,Qe=!1,Ge=!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=ae,this.parser=ve,this.missingTranslationHandler=He,this.useDefaultLang=Ze,this.isolate=Qe,this.extend=Ge,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(ae=>{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(ae=>{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)(ae=>this.compiler.compileTranslations(ae,G)),(0,v.d)(1),(0,u.q)(1)),this.loadingTranslations.subscribe({next:ae=>{this.translations[G]=this.extend&&this.translations[G]?{...ae,...this.translations[G]}:ae,this.updateLangs(),this.pending=!1},error:ae=>{this.pending=!1}}),re}setTranslation(G,re,ae=!1){re=this.compiler.compileTranslations(re,G),this.translations[G]=(ae||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,ae){let ve;if(re instanceof Array){let He={},Ze=!1;for(let Qe of re)He[Qe]=this.getParsedResult(G,Qe,ae),(0,g.b)(He[Qe])&&(Ze=!0);if(Ze){const Qe=re.map(Ge=>(0,g.b)(He[Ge])?He[Ge]:(0,d.of)(He[Ge]));return(0,r.D)(Qe).pipe((0,b.U)(Ge=>{let tt={};return Ge.forEach((Ct,Nt)=>{tt[re[Nt]]=Ct}),tt}))}return He}if(G&&(ve=this.parser.interpolate(this.parser.getValue(G,re),ae)),typeof ve>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ve=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],re),ae)),typeof ve>"u"){let He={key:re,translateService:this};typeof ae<"u"&&(He.interpolateParams=ae),ve=this.missingTranslationHandler.handle(He)}return typeof ve<"u"?ve: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)(ae=>(ae=this.getParsedResult(ae,G,re),(0,g.b)(ae)?ae:(0,d.of)(ae))));{let ae=this.getParsedResult(this.translations[this.currentLang],G,re);return(0,g.b)(ae)?ae:(0,d.of)(ae)}}getStreamOnTranslationChange(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,f.z)((0,h.P)(()=>this.get(G,re)),this.onTranslationChange.pipe((0,_.w)(ae=>{const ve=this.getParsedResult(ae.translations,G,re);return"function"==typeof ve.subscribe?ve:(0,d.of)(ve)})))}stream(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,f.z)((0,h.P)(()=>this.get(G,re)),this.onLangChange.pipe((0,_.w)(ae=>{const ve=this.getParsedResult(ae.translations,G,re);return(0,g.b)(ve)?ve:(0,d.of)(ve)})))}instant(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');let ae=this.getParsedResult(this.translations[this.currentLang],G,re);if((0,g.b)(ae)){if(G instanceof Array){let ve={};return G.forEach((He,Ze)=>{ve[G[Ze]]=G[Ze]}),ve}return G}return ae}set(G,re,ae=this.currentLang){this.translations[ae][G]=this.compiler.compile(re,ae),this.updateLangs(),this.onTranslationChange.emit({lang:ae,translations:this.translations[ae]})}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(Ce),c.\u0275\u0275inject(de),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,ae){(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=ae,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(ve=>{ve.lang===this.translateService.currentLang&&this.checkNodes(!0,ve.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(ve=>{this.checkNodes(!0,ve.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(ve=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(G=!1,re){let ae=this.element.nativeElement.childNodes;ae.length||(this.setContent(this.element.nativeElement,this.key),ae=this.element.nativeElement.childNodes);for(let ve=0;ve{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(ae)){let He=this.translateService.getParsedResult(ae,G,this.currentParams);(0,g.b)(He)?He.subscribe({next:ve}):ve(He)}else this.translateService.get(G,this.currentParams).subscribe(ve)}}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,ae){let ve=He=>{this.value=void 0!==He?He:G,this.lastKey=G,this._ref.markForCheck()};if(ae){let He=this.translate.getParsedResult(ae,G,re);(0,g.b)(He.subscribe)?He.subscribe(ve):ve(He)}this.translate.get(G,re).subscribe(ve)}transform(G,...re){if(!G||!G.length)return G;if(S(G,this.lastKey)&&S(re,this.lastParams))return this.value;let ae;if(E(re[0])&&re.length)if("string"==typeof re[0]&&re[0].length){let ve=re[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{ae=JSON.parse(ve)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${re[0]}`)}}else"object"==typeof re[0]&&!Array.isArray(re[0])&&(ae=re[0]);return this.lastKey=G,this.lastParams=re,this.updateValue(G,ae),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ve=>{this.lastKey&&ve.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(G,ae,ve.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ve=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,ae,ve.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,ae))})),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:Ce,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:de,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:Ce,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:de,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/",f=".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=f}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:()=>Gt,AbstractValidationHandler:()=>Qe,AuthConfig:()=>ve,DateTimeProvider:()=>Ce,DefaultHashHandler:()=>K,DefaultOAuthInterceptor:()=>Dt,HashHandler:()=>oe,JwksValidationHandler:()=>Ft,LoginOptions:()=>Ae,MemoryStorage:()=>W,NullValidationHandler:()=>ie,OAuthErrorEvent:()=>G,OAuthEvent:()=>we,OAuthInfoEvent:()=>Be,OAuthLogger:()=>de,OAuthModule:()=>mt,OAuthModuleConfig:()=>A,OAuthNoopResourceServerErrorHandler:()=>et,OAuthResourceServerConfig:()=>U,OAuthResourceServerErrorHandler:()=>Te,OAuthService:()=>ce,OAuthStorage:()=>H,OAuthSuccessEvent:()=>Ee,ReceivedTokens:()=>pe,SystemDateTimeProvider:()=>Re,UrlHelperService:()=>Ge,ValidationHandler:()=>Ze,provideOAuthClient:()=>Pe});var n=a(5861),c=a(5879),d=a(6814),g=a(9862),r=a(8645),f=a(2096),h=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(Ke){return Promise.resolve(null)}validateAtHash(Ke){return Promise.resolve(!0)}}class A{}class U{}class Ce{}let Re=(()=>{class Oe extends Ce{now(){return Date.now()}new(){return new Date}}return Oe.\u0275fac=function(){let Ke;return function(ge){return(Ke||(Ke=c.\u0275\u0275getInheritedFactory(Oe)))(ge||Oe)}}(),Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class Ae{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class de{}class H{}let W=(()=>{class Oe{constructor(){this.data=new Map}getItem(he){return this.data.get(he)}removeItem(he){this.data.delete(he)}setItem(he,ge){this.data.set(he,ge)}}return Oe.\u0275fac=function(he){return new(he||Oe)},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class pe{}class we{constructor(Ke){this.type=Ke}}class Ee extends we{constructor(Ke,he=null){super(Ke),this.info=he}}class Be extends we{constructor(Ke,he=null){super(Ke),this.info=he}}class G extends we{constructor(Ke,he,ge=null){super(Ke),this.reason=he,this.params=ge}}function re(Oe){const Ke=Oe.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(Ke).split("").map(function(he){return"%"+("00"+he.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function ae(Oe){return btoa(Oe).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ve{constructor(Ke){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=he=>{location.href=he},Ke&&Object.assign(this,Ke)}}class He{encodeKey(Ke){return encodeURIComponent(Ke)}encodeValue(Ke){return encodeURIComponent(Ke)}decodeKey(Ke){return decodeURIComponent(Ke)}decodeValue(Ke){return decodeURIComponent(Ke)}}class Ze{}class Qe{validateAtHash(Ke){var he=this;return(0,n.Z)(function*(){let ge=he.inferHashAlgorithm(Ke.idTokenHeader),ct=yield he.calcHash(Ke.accessToken,ge),Ye=ae(ct.substr(0,ct.length/2)),De=Ke.idTokenClaims.at_hash.replace(/=/g,"");return Ye!==De&&(console.error("exptected at_hash: "+Ye),console.error("actual at_hash: "+De)),Ye===De})()}inferHashAlgorithm(Ke){let he=Ke.alg;if(!he.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+he);return"sha-"+he.substr(2)}}let Ge=(()=>{class Oe{getHashFragmentParams(he){let ge=he||window.location.hash;if(ge=decodeURIComponent(ge),0!==ge.indexOf("#"))return{};const ct=ge.indexOf("?");return ge=ge.substr(ct>-1?ct+1:1),this.parseQueryString(ge)}parseQueryString(he){const ge={};let ct,Me,Ye,De,F,V,Q;if(null===he)return ge;ct=he.split("&");for(let be=0;be=64;){for(Me=Ke[0],Ye=Ke[1],De=Ke[2],F=Ke[3],V=Ke[4],Q=Ke[5],be=Ke[6],dt=Ke[7],qe=0;qe<16;qe++)nt=ge+4*qe,Oe[qe]=(255&he[nt])<<24|(255&he[nt+1])<<16|(255&he[nt+2])<<8|255&he[nt+3];for(qe=16;qe<64;qe++)Rt=Oe[qe-2],Ve=(Rt>>>17|Rt<<15)^(Rt>>>19|Rt<<13)^Rt>>>10,Rt=Oe[qe-15],yt=(Rt>>>7|Rt<<25)^(Rt>>>18|Rt<<14)^Rt>>>3,Oe[qe]=(Ve+Oe[qe-7]|0)+(yt+Oe[qe-16]|0);for(qe=0;qe<64;qe++)Ve=(((V>>>6|V<<26)^(V>>>11|V<<21)^(V>>>25|V<<7))+(V&Q^~V&be)|0)+(dt+(Nt[qe]+Oe[qe]|0)|0)|0,yt=((Me>>>2|Me<<30)^(Me>>>13|Me<<19)^(Me>>>22|Me<<10))+(Me&Ye^Me&De^Ye&De)|0,dt=be,be=Q,Q=V,V=F+Ve|0,F=De,De=Ye,Ye=Me,Me=Ve+yt|0;Ke[0]+=Me,Ke[1]+=Ye,Ke[2]+=De,Ke[3]+=F,Ke[4]+=V,Ke[5]+=Q,Ke[6]+=be,Ke[7]+=dt,ge+=64,ct-=64}return ge}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 Ke=0;Ke0){for(;this.bufferLength<64&&he>0;)this.buffer[this.bufferLength++]=Ke[ge++],he--;64===this.bufferLength&&(_t(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(he>=64&&(ge=_t(this.temp,this.state,Ke,ge,he),he%=64);he>0;)this.buffer[this.bufferLength++]=Ke[ge++],he--;return this}finish(Ke){if(!this.finished){const he=this.bytesHashed,ge=this.bufferLength,ct=he/536870912|0,Me=he<<3,Ye=he%64<56?64:128;this.buffer[ge]=128;for(let De=ge+1;De>>24&255,this.buffer[Ye-7]=ct>>>16&255,this.buffer[Ye-6]=ct>>>8&255,this.buffer[Ye-5]=ct>>>0&255,this.buffer[Ye-4]=Me>>>24&255,this.buffer[Ye-3]=Me>>>16&255,this.buffer[Ye-2]=Me>>>8&255,this.buffer[Ye-1]=Me>>>0&255,_t(this.temp,this.state,this.buffer,0,Ye),this.finished=!0}for(let he=0;he<8;he++)Ke[4*he+0]=this.state[he]>>>24&255,Ke[4*he+1]=this.state[he]>>>16&255,Ke[4*he+2]=this.state[he]>>>8&255,Ke[4*he+3]=this.state[he]>>>0&255;return this}digest(){const Ke=new Uint8Array(this.digestLength);return this.finish(Ke),Ke}_saveState(Ke){for(let he=0;he{class Oe{calcHash(he,ge){return(0,n.Z)(function*(){return function ne(Oe){var Ke,he=[];for(Ke=0;Ke{class Oe extends ve{constructor(he,ge,ct,Me,Ye,De,F,V,Q,be){super(),this.ngZone=he,this.http=ge,this.config=Ye,this.urlHelper=De,this.logger=F,this.crypto=V,this.dateTimeService=be,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=Q,Ye||(Ye={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),Me&&(this.tokenValidationHandler=Me),Ye&&this.configure(Ye);try{ct?this.setStorage(ct):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(dt){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",dt)}if(this.checkLocalStorageAccessable()){const dt=window?.navigator?.userAgent;(dt?.includes("MSIE ")||dt?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const he="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(he,he),localStorage.removeItem(he),0))}catch{return!1}}configure(he){Object.assign(this,new ve,he),this.config=Object.assign({},new ve,he),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,_.h)(he=>"token_received"===he.type)).subscribe(he=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(he={},ge,ct=!0){let Me=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,l.b)(Ye=>{"token_received"===Ye.type?Me=!0:"logout"===Ye.type&&(Me=!1)}),(0,_.h)(Ye=>"token_expires"===Ye.type&&(null==ge||"any"===ge||Ye.info===ge)),(0,y.b)(1e3)).subscribe(Ye=>{Me&&this.refreshInternal(he,ct).catch(De=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(he,ge){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(he,ge):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(he=null){return this.loadDiscoveryDocument().then(ge=>this.tryLogin(he))}loadDiscoveryDocumentAndLogin(he=null){return this.loadDiscoveryDocumentAndTryLogin(he=he||{}).then(ge=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof he.state?he.state:""),!1))}debug(...he){this.showDebugInformation&&this.logger.debug.apply(this.logger,he)}validateUrlFromDiscoveryDocument(he){const ge=[],ct=this.validateUrlForHttps(he),Me=this.validateUrlAgainstIssuer(he);return ct||ge.push("https for all urls required. Also for urls received by discovery."),Me||ge.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),ge}validateUrlForHttps(he){if(!he)return!0;const ge=he.toLowerCase();return!(!1!==this.requireHttps&&(!ge.match(/^http:\/\/localhost($|[:\/])/)&&!ge.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||ge.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(he,ge){if(!he)throw new Error(`'${ge}' should not be null`);if(!this.validateUrlForHttps(he))throw new Error(`'${ge}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(he){return!this.strictDiscoveryDocumentValidation||!he||he.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)(he=>"token_received"===he.type)).subscribe(he=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const he=this.getAccessTokenExpiration(),ge=this.getAccessTokenStoredAt(),ct=this.calcTimeout(ge,he);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,f.of)(new Be("token_expires","access_token")).pipe((0,x.g)(ct)).subscribe(Me=>{this.ngZone.run(()=>{this.eventsSubject.next(Me)})})})}setupIdTokenTimer(){const he=this.getIdTokenExpiration(),ge=this.getIdTokenStoredAt(),ct=this.calcTimeout(ge,he);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,f.of)(new Be("token_expires","id_token")).pipe((0,x.g)(ct)).subscribe(Me=>{this.ngZone.run(()=>{this.eventsSubject.next(Me)})})})}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(he,ge){const ct=this.dateTimeService.now(),Ye=Math.max(0,(ge-he)*this.timeoutFactor-(ct-he)),De=2147483647;return Ye>De?De:Ye}setStorage(he){this._storage=he,this.configChanged()}loadDiscoveryDocument(he=null){return new Promise((ge,ct)=>{he||((he=this.issuer||"").endsWith("/")||(he+="/"),he+=".well-known/openid-configuration"),this.validateUrlForHttps(he)?this.http.get(he).subscribe(Me=>{if(!this.validateDiscoveryDocument(Me))return this.eventsSubject.next(new G("discovery_document_validation_error",null)),void ct("discovery_document_validation_error");this.loginUrl=Me.authorization_endpoint,this.logoutUrl=Me.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=Me.grant_types_supported,this.issuer=Me.issuer,this.tokenEndpoint=Me.token_endpoint,this.userinfoEndpoint=Me.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=Me.jwks_uri,this.sessionCheckIFrameUrl=Me.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(Me),this.revocationEndpoint=Me.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(Ye=>{const F=new Ee("discovery_document_loaded",{discoveryDocument:Me,jwks:Ye});this.eventsSubject.next(F),ge(F)}).catch(Ye=>{this.eventsSubject.next(new G("discovery_document_load_error",Ye)),ct(Ye)})},Me=>{this.logger.error("error loading discovery document",Me),this.eventsSubject.next(new G("discovery_document_load_error",Me)),ct(Me)}):ct("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((he,ge)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(ct=>{this.jwks=ct,he(ct)},ct=>{this.logger.error("error loading jwks",ct),this.eventsSubject.next(new G("jwks_load_error",ct)),ge(ct)}):he(null)})}validateDiscoveryDocument(he){let ge;return this.skipIssuerCheck||he.issuer===this.issuer?(ge=this.validateUrlFromDiscoveryDocument(he.authorization_endpoint),ge.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.end_session_endpoint),ge.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.token_endpoint),ge.length>0&&this.logger.error("error validating token_endpoint in discovery document",ge),ge=this.validateUrlFromDiscoveryDocument(he.revocation_endpoint),ge.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",ge),ge=this.validateUrlFromDiscoveryDocument(he.userinfo_endpoint),ge.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.jwks_uri),ge.length>0?(this.logger.error("error validating jwks_uri in discovery document",ge),!1):(this.sessionChecksEnabled&&!he.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: "+he.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(he,ge,ct=new g.HttpHeaders){return this.fetchTokenUsingPasswordFlow(he,ge,ct).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((he,ge)=>{const ct=(new g.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:ct,observe:"response",responseType:"text"}).subscribe(Me=>{if(this.debug("userinfo received",JSON.stringify(Me)),Me.headers.get("content-type").startsWith("application/json")){let Ye=JSON.parse(Me.body);const De=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!De.sub||Ye.sub!==De.sub))return void ge("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")),he({info:Ye})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new Ee("user_profile_loaded")),he(JSON.parse(Me.body))},Me=>{this.logger.error("error loading user info",Me),this.eventsSubject.next(new G("user_profile_load_error",Me)),ge(Me)})})}fetchTokenUsingPasswordFlow(he,ge,ct=new g.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:he,password:ge},ct)}fetchTokenUsingGrant(he,ge,ct=new g.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let Me=new g.HttpParams({encoder:new He}).set("grant_type",he).set("scope",this.scope);if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);ct=ct.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(Me=Me.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Me=Me.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))Me=Me.set(Ye,this.customQueryParams[Ye]);for(const Ye of Object.keys(ge))Me=Me.set(Ye,ge[Ye]);return ct=ct.set("Content-Type","application/x-www-form-urlencoded"),new Promise((Ye,De)=>{this.http.post(this.tokenEndpoint,Me,{headers:ct}).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((he,ge)=>{let ct=new g.HttpParams({encoder:new He}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),Me=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);Me=Me.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(ct=ct.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ct=ct.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))ct=ct.set(Ye,this.customQueryParams[Ye]);this.http.post(this.tokenEndpoint,ct,{headers:Me}).pipe((0,D.w)(Ye=>this.oidc&&Ye.id_token?(0,h.D)(this.processIdToken(Ye.id_token,Ye.access_token,!0)).pipe((0,l.b)(De=>this.storeIdToken(De)),(0,S.U)(De=>Ye)):(0,f.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")),he(Ye)},Ye=>{this.logger.error("Error refreshing token",Ye),this.eventsSubject.next(new G("token_refresh_error",Ye)),ge(Ye)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=he=>{const ge=this.processMessageEventMessage(he);this.checkOrigin&&he.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:ge,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(ct=>this.debug("tryLogin during silent refresh failed",ct))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(he={},ge=!0){const ct=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(he.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 Me=this.document.getElementById(this.silentRefreshIFrameName);Me&&this.document.body.removeChild(Me),this.silentRefreshSubject=ct.sub;const Ye=this.document.createElement("iframe");Ye.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,ge,he).then(be=>{Ye.setAttribute("src",be),this.silentRefreshShowIFrame||(Ye.style.display="none"),this.document.body.appendChild(Ye)});const F=this.events.pipe((0,_.h)(be=>be instanceof G),(0,E.P)()),V=this.events.pipe((0,_.h)(be=>"token_received"===be.type),(0,E.P)()),Q=(0,f.of)(new G("silent_refresh_timeout",null)).pipe((0,x.g)(this.silentRefreshTimeout));return(0,u.S)([F,V,Q]).pipe((0,S.U)(be=>{if(be instanceof G)throw"silent_refresh_timeout"===be.type||(be=new G("silent_refresh_error",be)),this.eventsSubject.next(be),be;return"token_received"===be.type&&(be=new Ee("silently_refreshed"),this.eventsSubject.next(be)),be})).toPromise()}initImplicitFlowInPopup(he){return this.initLoginFlowInPopup(he)}initLoginFlowInPopup(he){return he=he||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(ge=>new Promise((ct,Me)=>{let F,De=null;he.windowRef?he.windowRef&&!he.windowRef.closed&&(De=he.windowRef,De.location.href=ge):De=window.open(ge,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(he));const V=qe=>{this.tryLogin({customHashFragment:qe,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{be(),ct(!0)},nt=>{be(),Me(nt)})};De?F=window.setInterval(()=>{(!De||De.closed)&&(be(),Me(new G("popup_closed",{})))},500):Me(new G("popup_blocked",{}));const be=()=>{window.clearInterval(F),window.removeEventListener("storage",Rt),window.removeEventListener("message",dt),null!==De&&De.close(),De=null},dt=qe=>{const nt=this.processMessageEventMessage(qe);nt&&null!==nt?(window.removeEventListener("storage",Rt),V(nt)):console.log("false event firing")},Rt=qe=>{"auth_hash"===qe.key&&(window.removeEventListener("message",dt),V(qe.newValue))};window.addEventListener("message",dt),window.addEventListener("storage",Rt)}))}calculatePopupFeatures(he){const ge=he.height||470,ct=he.width||500,Me=window.screenLeft+(window.outerWidth-ct)/2;return`location=no,toolbar=no,width=${ct},height=${ge},top=${window.screenTop+(window.outerHeight-ge)/2},left=${Me}`}processMessageEventMessage(he){let ge="#";if(this.silentRefreshMessagePrefix&&(ge+=this.silentRefreshMessagePrefix),!he||!he.data||"string"!=typeof he.data)return;const ct=he.data;return ct.startsWith(ge)?"#"+ct.substr(ge.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=he=>{const ge=he.origin.toLowerCase(),ct=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),ct.startsWith(ge)){switch(he.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",he)}else this.debug("sessionCheckEventListener","wrong origin",ge,"expected",ct,"event",he)},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(he=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new Be("session_terminated")),this.logOut(!0)):this.refreshToken().then(he=>{this.debug("token refresh after session change worked")}).catch(he=>{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)(he=>"silently_refreshed"===he.type||"silent_refresh_timeout"===he.type||"silent_refresh_error"===he.type),(0,E.P)()).subscribe(he=>{"silently_refreshed"!==he.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 he=this.document.getElementById(this.sessionCheckIFrameName);he&&this.document.body.removeChild(he);const ge=this.document.createElement("iframe");ge.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),ge.setAttribute("src",this.sessionCheckIFrameUrl),ge.style.display="none",this.document.body.appendChild(ge),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 he=this.document.getElementById(this.sessionCheckIFrameName);he||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const ge=this.getSessionState();ge||this.stopSessionCheckTimer(),he.contentWindow.postMessage(this.clientId+" "+ge,this.issuer)}createLoginUrl(he="",ge="",ct="",Me=!1,Ye={}){var De=this;return(0,n.Z)(function*(){const F=De;let V;V=ct||De.redirectUri;const Q=yield De.createAndSaveNonce();if(he=he?Q+De.config.nonceStateSeparator+encodeURIComponent(he):Q,!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 be=F.loginUrl.indexOf("?")>-1?"&":"?";let dt=F.scope;De.oidc&&!dt.match(/(^|\s)openid($|\s)/)&&(dt="openid "+dt);let Rt=F.loginUrl+be+"response_type="+encodeURIComponent(F.responseType)+"&client_id="+encodeURIComponent(F.clientId)+"&state="+encodeURIComponent(he)+"&redirect_uri="+encodeURIComponent(V)+"&scope="+encodeURIComponent(dt);if(De.responseType.includes("code")&&!De.disablePKCE){const[qe,nt]=yield De.createChallangeVerifierPairForPKCE();De.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",nt):De._storage.setItem("PKCE_verifier",nt),Rt+="&code_challenge="+qe,Rt+="&code_challenge_method=S256"}ge&&(Rt+="&login_hint="+encodeURIComponent(ge)),F.resource&&(Rt+="&resource="+encodeURIComponent(F.resource)),F.oidc&&(Rt+="&nonce="+encodeURIComponent(Q)),Me&&(Rt+="&prompt=none");for(const qe of Object.keys(Ye))Rt+="&"+encodeURIComponent(qe)+"="+encodeURIComponent(Ye[qe]);if(De.customQueryParams)for(const qe of Object.getOwnPropertyNames(De.customQueryParams))Rt+="&"+qe+"="+encodeURIComponent(De.customQueryParams[qe]);return Rt})()}initImplicitFlowInternal(he="",ge=""){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 ct={},Me=null;"string"==typeof ge?Me=ge:"object"==typeof ge&&(ct=ge),this.createLoginUrl(he,Me,null,!1,ct).then(this.config.openUri).catch(Ye=>{console.error("Error in initImplicitFlow",Ye),this.inImplicitFlow=!1})}initImplicitFlow(he="",ge=""){""!==this.loginUrl?this.initImplicitFlowInternal(he,ge):this.events.pipe((0,_.h)(ct=>"discovery_document_loaded"===ct.type)).subscribe(ct=>this.initImplicitFlowInternal(he,ge))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(he){const ge=this;if(he.onTokenReceived){const ct={idClaims:ge.getIdentityClaims(),idToken:ge.getIdToken(),accessToken:ge.getAccessToken(),state:ge.state};he.onTokenReceived(ct)}}storeAccessTokenResponse(he,ge,ct,Me,Ye){if(this._storage.setItem("access_token",he),Me&&!Array.isArray(Me)?this._storage.setItem("granted_scopes",JSON.stringify(Me.split(" "))):Me&&Array.isArray(Me)&&this._storage.setItem("granted_scopes",JSON.stringify(Me)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),ct){const De=1e3*ct,V=this.dateTimeService.new().getTime()+De;this._storage.setItem("expires_at",""+V)}ge&&this._storage.setItem("refresh_token",ge),Ye&&Ye.forEach((De,F)=>{this._storage.setItem(F,De)})}tryLogin(he=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(he).then(ge=>!0):this.tryLoginImplicitFlow(he)}parseQueryString(he){return he&&0!==he.length?("?"===he.charAt(0)&&(he=he.substr(1)),this.urlHelper.parseQueryString(he)):{}}tryLoginCodeFlow(he=null){var ge=this;return(0,n.Z)(function*(){const ct=(he=he||{}).customHashFragment?he.customHashFragment.substring(1):window.location.search,Me=ge.getCodePartsFromUrl(ct),Ye=Me.code,De=Me.state,F=Me.session_state;if(!he.preventClearHashAfterLogin){const be=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,be)}let[V,Q]=ge.parseState(De);if(ge.state=Q,Me.error){ge.debug("error trying to login"),ge.handleLoginError(he,Me);const be=new G("code_error",{},Me);return ge.eventsSubject.next(be),Promise.reject(be)}if(!he.disableNonceCheck){if(!V)return ge.saveRequestedRoute(),Promise.resolve();if(!he.disableOAuth2StateCheck&&!ge.validateNonce(V)){const dt=new G("invalid_nonce_in_state",null);return ge.eventsSubject.next(dt),Promise.reject(dt)}}return ge.storeSessionState(F),Ye&&(yield ge.getTokenFromCode(Ye,he),ge.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const he=this._storage.getItem("requested_route");he&&history.replaceState(null,"",window.location.origin+he)}getCodePartsFromUrl(he){return he&&0!==he.length?("?"===he.charAt(0)&&(he=he.substr(1)),this.urlHelper.parseQueryString(he)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(he,ge){let ct=new g.HttpParams({encoder:new He}).set("grant_type","authorization_code").set("code",he).set("redirect_uri",ge.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let Me;Me=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),Me?ct=ct.set("code_verifier",Me):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(ct,ge)}fetchAndProcessToken(he,ge){ge=ge||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let ct=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Me=btoa(`${this.clientId}:${this.dummyClientSecret}`);ct=ct.set("Authorization","Basic "+Me)}return this.useHttpBasicAuth||(he=he.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(he=he.set("client_secret",this.dummyClientSecret)),new Promise((Me,Ye)=>{if(this.customQueryParams)for(let De of Object.getOwnPropertyNames(this.customQueryParams))he=he.set(De,this.customQueryParams[De]);this.http.post(this.tokenEndpoint,he,{headers:ct}).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,ge.disableNonceCheck).then(F=>{this.storeIdToken(F),this.eventsSubject.next(new Ee("token_received")),this.eventsSubject.next(new Ee("token_refreshed")),Me(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")),Me(De))},De=>{console.error("Error getting token",De),this.eventsSubject.next(new G("token_refresh_error",De)),Ye(De)})})}tryLoginImplicitFlow(he=null){let ge;ge=(he=he||{}).customHashFragment?this.urlHelper.getHashFragmentParams(he.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",ge);const ct=ge.state;let[Me,Ye]=this.parseState(ct);if(this.state=Ye,ge.error){this.debug("error trying to login"),this.handleLoginError(he,ge);const be=new G("token_error",{},ge);return this.eventsSubject.next(be),Promise.reject(be)}const De=ge.access_token,F=ge.id_token,V=ge.session_state,Q=ge.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!De||this.requestAccessToken&&!he.disableOAuth2StateCheck&&!ct||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&&!he.disableNonceCheck&&!this.validateNonce(Me)){const dt=new G("invalid_nonce_in_state",null);return this.eventsSubject.next(dt),Promise.reject(dt)}return this.requestAccessToken&&this.storeAccessTokenResponse(De,null,ge.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Q),this.oidc?this.processIdToken(F,De,he.disableNonceCheck).then(be=>he.validationHandler?he.validationHandler({accessToken:De,idClaims:be.idTokenClaims,idToken:be.idToken,state:ct}).then(dt=>be):be).then(be=>(this.storeIdToken(be),this.storeSessionState(V),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new Ee("token_received")),this.callOnTokenReceivedIfExists(he),this.inImplicitFlow=!1,!0)).catch(be=>(this.eventsSubject.next(new G("token_validation_error",be)),this.logger.error("Error validating tokens"),this.logger.error(be),Promise.reject(be))):(this.eventsSubject.next(new Ee("token_received")),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(he),Promise.resolve(!0))}parseState(he){let ge=he,ct="";if(he){const Me=he.indexOf(this.config.nonceStateSeparator);Me>-1&&(ge=he.substr(0,Me),ct=he.substr(Me+this.config.nonceStateSeparator.length))}return[ge,ct]}validateNonce(he){let ge;return ge=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),ge===he||(console.error("Validating access_token failed, wrong state/nonce.",ge,he),!1)}storeIdToken(he){this._storage.setItem("id_token",he.idToken),this._storage.setItem("id_token_claims_obj",he.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+he.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(he){this._storage.setItem("session_state",he)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(he,ge){he.onLoginError&&he.onLoginError(ge),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(he=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:he}processIdToken(he,ge,ct=!1){const Me=he.split("."),De=re(this.padBase64(Me[0])),F=JSON.parse(De),Q=re(this.padBase64(Me[1])),be=JSON.parse(Q);let dt;if(dt=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(be.aud)){if(be.aud.every(At=>At!==this.clientId)){const At="Wrong audience: "+be.aud.join(",");return this.logger.warn(At),Promise.reject(At)}}else if(be.aud!==this.clientId){const At="Wrong audience: "+be.aud;return this.logger.warn(At),Promise.reject(At)}if(!be.sub){const At="No sub claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==be.sub){const At=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${be.sub}`;return this.logger.warn(At),Promise.reject(At)}if(!be.iat){const At="No iat claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(!this.skipIssuerCheck&&be.iss!==this.issuer){const At="Wrong issuer: "+be.iss;return this.logger.warn(At),Promise.reject(At)}if(!ct&&be.nonce!==dt){const At="Wrong nonce: "+be.nonce;return this.logger.warn(At),Promise.reject(At)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!be.at_hash){const At="An at_hash is needed!";return this.logger.warn(At),Promise.reject(At)}const Rt=this.dateTimeService.now(),qe=1e3*be.iat,nt=1e3*be.exp,Ve=this.getClockSkewInMsec();if(qe-Ve>=Rt||nt+Ve-this.decreaseExpirationBySec<=Rt){const At="Token has expired";return console.error(At),console.error({now:Rt,issuedAtMSec:qe,expiresAtMSec:nt}),Promise.reject(At)}const yt={accessToken:ge,idToken:he,jwks:this.jwks,idTokenClaims:be,idTokenHeader:F,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(yt).then(At=>({idToken:he,idTokenClaims:be,idTokenClaimsJson:Q,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:nt})):this.checkAtHash(yt).then(At=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!At){const on="Wrong at_hash";return this.logger.warn(on),Promise.reject(on)}return this.checkSignature(yt).then(on=>{const Sn={idToken:he,idTokenClaims:be,idTokenClaimsJson:Q,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:nt};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 he=this._storage.getItem("id_token_claims_obj");return he?JSON.parse(he):null}getGrantedScopes(){const he=this._storage.getItem("granted_scopes");return he?JSON.parse(he):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(he){for(;he.length%4!=0;)he+="=";return he}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 he=this._storage.getItem("expires_at"),ge=this.dateTimeService.new();return!(he&&parseInt(he,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(he)?JSON.parse(this._storage.getItem(he)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(he={},ge=""){let ct=!1;"boolean"==typeof he&&(ct=he,he={});const Me=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||ct)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(Me)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let De=new g.HttpParams({encoder:new He});Me&&(De=De.set("id_token_hint",Me));const F=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";F&&(De=De.set("post_logout_redirect_uri",F),ge&&(De=De.set("state",ge)));for(let V in he)De=De.set(V,he[V]);Ye=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+De.toString()}this.config.openUri(Ye)}createAndSaveNonce(){const he=this;return this.createNonce().then(function(ge){return he.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",ge):he._storage.setItem("nonce",ge),ge})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const he=this.document.getElementById(this.silentRefreshIFrameName);he&&he.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const ge=this.document.getElementById(this.sessionCheckIFrameName);ge&&ge.remove()}createNonce(){return new Promise(he=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const ge="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let ct=45,Me="";const Ye=typeof self>"u"?null:self.crypto||self.msCrypto;if(Ye){let De=new Uint8Array(ct);Ye.getRandomValues(De),De.map||(De.map=Array.prototype.map),De=De.map(F=>ge.charCodeAt(F%66)),Me=String.fromCharCode.apply(null,De)}else for(;0"discovery_document_loaded"===ct.type)).subscribe(ct=>this.initCodeFlowInternal(he,ge))}initCodeFlowInternal(he="",ge={}){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 ct={},Me=null;"string"==typeof ge?Me=ge:"object"==typeof ge&&(ct=ge),this.createLoginUrl(he,Me,null,!1,ct).then(this.config.openUri).catch(Ye=>{console.error("Error in initAuthorizationCodeFlow"),console.error(Ye)})}createChallangeVerifierPairForPKCE(){var he=this;return(0,n.Z)(function*(){if(!he.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const ge=yield he.createNonce();return[ae(yield he.crypto.calcHash(ge,"sha-256")),ge]})()}extractRecognizedCustomParameters(he){let ge=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(ct=>{he[ct]&&ge.set(ct,JSON.stringify(he[ct]))}),ge}revokeTokenAndLogout(he={},ge=!1){let ct=this.revocationEndpoint,Me=this.getAccessToken(),Ye=this.getRefreshToken();if(!Me)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,Q)=>{let be,dt;if(Me){let Rt=De.set("token",Me).set("token_type_hint","access_token");be=this.http.post(ct,Rt,{headers:F})}else be=(0,f.of)(null);if(Ye){let Rt=De.set("token",Ye).set("token_type_hint","refresh_token");dt=this.http.post(ct,Rt,{headers:F})}else dt=(0,f.of)(null);ge&&(be=be.pipe((0,I.K)(Rt=>0===Rt.status?(0,f.of)(null):(0,v._)(Rt))),dt=dt.pipe((0,I.K)(Rt=>0===Rt.status?(0,f.of)(null):(0,v._)(Rt)))),(0,b.a)([be,dt]).subscribe(Rt=>{this.logOut(he),V(Rt),this.logger.info("Token successfully revoked")},Rt=>{this.logger.error("Error revoking token",Rt),this.eventsSubject.next(new G("token_revoke_error",Rt)),Q(Rt)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Oe.\u0275fac=function(he){return new(he||Oe)(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(g.HttpClient),c.\u0275\u0275inject(H,8),c.\u0275\u0275inject(Ze,8),c.\u0275\u0275inject(ve,8),c.\u0275\u0275inject(Ge),c.\u0275\u0275inject(de),c.\u0275\u0275inject(oe,8),c.\u0275\u0275inject(d.DOCUMENT),c.\u0275\u0275inject(Ce))},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class Te{}class et{handleError(Ke){return(0,v._)(Ke)}}let Dt=(()=>{class Oe{constructor(he,ge,ct){this.oAuthService=he,this.errorHandler=ge,this.moduleConfig=ct}checkUrl(he){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(he):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(ge=>he.toLowerCase().startsWith(ge.toLowerCase()))}intercept(he,ge){const ct=he.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(ct)?this.moduleConfig.resourceServer.sendAccessToken?(0,p.T)((0,f.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,f.of)(null)),(0,S.U)(Ye=>this.oAuthService.getAccessToken()))).pipe((0,$.q)(1),(0,ee.z)(Ye=>{if(Ye){const F=he.headers.set("Authorization","Bearer "+Ye);he=he.clone({headers:F})}return ge.handle(he).pipe((0,I.K)(De=>this.errorHandler.handleError(De)))})):ge.handle(he).pipe((0,I.K)(Ye=>this.errorHandler.handleError(Ye))):ge.handle(he)}}return Oe.\u0275fac=function(he){return new(he||Oe)(c.\u0275\u0275inject(ce),c.\u0275\u0275inject(Te),c.\u0275\u0275inject(A,8))},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();function _e(){return console}function ut(){return typeof sessionStorage<"u"?sessionStorage:new W}function Pe(Oe=null,Ke=ie){return(0,c.makeEnvironmentProviders)([ce,Ge,{provide:de,useFactory:_e},{provide:H,useFactory:ut},{provide:Ze,useClass:Ke},{provide:oe,useClass:K},{provide:Te,useClass:et},{provide:A,useValue:Oe},{provide:g.HTTP_INTERCEPTORS,useClass:Dt,multi:!0},{provide:Ce,useClass:Re}])}let mt=(()=>{class Oe{static forRoot(he=null,ge=ie){return{ngModule:Oe,providers:[Pe(he,ge)]}}}return Oe.\u0275fac=function(he){return new(he||Oe)},Oe.\u0275mod=c.\u0275\u0275defineNgModule({type:Oe}),Oe.\u0275inj=c.\u0275\u0275defineInjector({imports:[d.CommonModule]}),Oe})();class Ft 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 Gt=new c.InjectionToken("AUTH_CONFIG")},9256:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{Base64:()=>Ze,VERSION:()=>c,atob:()=>H,atobPolyfill:()=>de,btoa:()=>S,btoaPolyfill:()=>D,btou:()=>Ae,decode:()=>Be,encode:()=>A,encodeURI:()=>U,encodeURL:()=>U,extendBuiltins:()=>He,extendString:()=>ae,extendUint8Array:()=>ve,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,f="function"==typeof TextDecoder?new TextDecoder:void 0,h="function"==typeof TextEncoder?new TextEncoder:void 0,v=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),b=(Qe=>{let Ge={};return Qe.forEach((tt,Ct)=>Ge[tt]=Ct),Ge})(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,Ge=>"+"==Ge?"-":"_"),x=Qe=>Qe.replace(/[^A-Za-z0-9\+\/]/g,""),D=Qe=>{let Ge,tt,Ct,Nt,_t="";const Bt=Qe.length%3;for(let Tt=0;Tt255||(Ct=Qe.charCodeAt(Tt++))>255||(Nt=Qe.charCodeAt(Tt++))>255)throw new TypeError("invalid character found");Ge=tt<<16|Ct<<8|Nt,_t+=v[Ge>>18&63]+v[Ge>>12&63]+v[Ge>>6&63]+v[63&Ge]}return Bt?_t.slice(0,Bt-3)+"===".substring(Bt):_t},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 Ct=0,Nt=Qe.length;CtGe?y(E(Qe)):E(Qe),X=Qe=>{if(Qe.length<2)return(Ge=Qe.charCodeAt(0))<128?Qe:Ge<2048?_(192|Ge>>>6)+_(128|63&Ge):_(224|Ge>>>12&15)+_(128|Ge>>>6&63)+_(128|63&Ge);var Ge=65536+1024*(Qe.charCodeAt(0)-55296)+(Qe.charCodeAt(1)-56320);return _(240|Ge>>>18&7)+_(128|Ge>>>12&63)+_(128|Ge>>>6&63)+_(128|63&Ge)},$=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ee=Qe=>Qe.replace($,X),ie=r?Qe=>Buffer.from(Qe,"utf8").toString("base64"):h?Qe=>E(h.encode(Qe)):Qe=>S(ee(Qe)),A=(Qe,Ge=!1)=>Ge?y(ie(Qe)):ie(Qe),U=Qe=>A(Qe,!0),Ce=/[\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(Ce,Re),de=Qe=>{if(Qe=Qe.replace(/\s+/g,""),!p.test(Qe))throw new TypeError("malformed base64.");Qe+="==".slice(2-(3&Qe.length));let Ge,Ct,Nt,tt="";for(let _t=0;_t>16&255):64===Nt?_(Ge>>16&255,Ge>>8&255):_(Ge>>16&255,Ge>>8&255,255&Ge);return tt},H=d?Qe=>atob(x(Qe)):r?Qe=>Buffer.from(Qe,"base64").toString("binary"):de,W=r?Qe=>l(Buffer.from(Qe,"base64")):Qe=>l(H(Qe).split("").map(Ge=>Ge.charCodeAt(0))),pe=Qe=>W(Ee(Qe)),we=r?Qe=>Buffer.from(Qe,"base64").toString("utf8"):f?Qe=>f.decode(W(Qe)):Qe=>Ae(H(Qe)),Ee=Qe=>x(Qe.replace(/[-_]/g,Ge=>"-"==Ge?"+":"/")),Be=Qe=>we(Ee(Qe)),G=Qe=>{if("string"!=typeof Qe)return!1;const Ge=Qe.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(Ge)||!/[^\s0-9a-zA-Z\-_]/.test(Ge)},re=Qe=>({value:Qe,enumerable:!1,writable:!0,configurable:!0}),ae=function(){const Qe=(Ge,tt)=>Object.defineProperty(String.prototype,Ge,re(tt));Qe("fromBase64",function(){return Be(this)}),Qe("toBase64",function(Ge){return A(this,Ge)}),Qe("toBase64URI",function(){return A(this,!0)}),Qe("toBase64URL",function(){return A(this,!0)}),Qe("toUint8Array",function(){return pe(this)})},ve=function(){const Qe=(Ge,tt)=>Object.defineProperty(Uint8Array.prototype,Ge,re(tt));Qe("toBase64",function(Ge){return I(this,Ge)}),Qe("toBase64URI",function(){return I(this,!0)}),Qe("toBase64URL",function(){return I(this,!0)})},He=()=>{ae(),ve()},Ze={version:n,VERSION:c,atob:H,atobPolyfill:de,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:ae,extendUint8Array:ve,extendBuiltins:He}},4028:(Ie,B,a)=>{"use strict";function n(){const c=window,d=document;var g="hljs-ln",r="hljs-ln-line",f="hljs-ln-code",h="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 de(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,ae=Be.length;re
{6}',[r,h,u,v,f,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):Ce(G.parentNode))}}function Ce(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),ae=parseInt(G.dataset.lineNumber);if(re!=ae){var ve=Be.textContent,He=G.textContent;if(re>ae){var Ze=re;re=ae,ae=Ze,Ze=ve,ve=He,He=Ze}for(;0!==Ee.indexOf(ve);)ve=ve.slice(1);for(;-1===Ee.lastIndexOf(He);)He=He.slice(0,-1);for(var Qe=ve,Ge=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),f=a(4664),h=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,de){this.doc=Re,this.platformId=Ae,this._options=de,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,f.w)(H=>this._options&&this._options.lineNumbersLoader?(Re.defaultView.hljs=H,this.loadLineNumbers().pipe((0,h.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,f.w)(Re=>this._loadLanguages(Re)))}return(0,b._)(()=>"Highlight.js library was not imported!")}_loadLanguages(Re){const Ae=Object.entries(this._options.languages).map(([de,H])=>$(H()).pipe((0,h.b)(W=>Re.registerLanguage(de,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)(Ce=>!!Ce?.default),(0,_.U)(Ce=>Ce.default));let ee=(()=>{class U{get hljs(){return this._hljs}constructor(Re,Ae){this._loader=Re,this._hljs=null,Re.ready.subscribe(de=>{this._hljs=de,Ae&&Ae.config&&(de.configure(Ae.config),de.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(Re,{language:Ae,ignoreIllegals:de}){return this._loader.ready.pipe((0,_.U)(H=>H.highlight(Re,{language:Ae,ignoreIllegals:de})))}highlightAuto(Re,Ae){return this._loader.ready.pipe((0,_.U)(de=>de.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,h.b)(de=>de.registerLanguage(Re,Ae)))}unregisterLanguage(Re){return this._loader.ready.pipe((0,h.b)(Ae=>Ae.unregisterLanguage(Re)))}registerAliases(Re,{languageName:Ae}){return this._loader.ready.pipe((0,h.b)(de=>de.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,h.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,de,H,W){this._hljs=Ae,this._sanitizer=de,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(de=>{this.setInnerHTML(de?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(de)})}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,f,h,u,v){try{var b=d[u](v),p=b.value}catch(_){return void r(_)}b.done?g(p):Promise.resolve(p).then(f,h)}function c(d){return function(){var g=this,r=arguments;return new Promise(function(f,h){var u=d.apply(g,r);function v(p){n(u,f,h,v,b,"next",p)}function b(p){n(u,f,h,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(f){return typeof f}:function(f){return f&&"function"==typeof Symbol&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f})(r)}function g(r,f,h){return(f=function d(r){var f=function c(r,f){if("object"!==n(r)||null===r)return r;var h=r[Symbol.toPrimitive];if(void 0!==h){var u=h.call(r,f||"default");if("object"!==n(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===f?String:Number)(r)}(r,"string");return"symbol"===n(f)?f:String(f)}(f))in r?Object.defineProperty(r,f,{value:h,enumerable:!0,configurable:!0,writable:!0}):r[f]=h,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.54","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.d1e24de555320799.js b/src/main/resources/static/main.d1e24de555320799.js new file mode 100644 index 00000000..a5c91798 --- /dev/null +++ b/src/main/resources/static/main.d1e24de555320799.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(f){if(0===c.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==f)this.assignZero();else if(f instanceof Array){if(f.length!==c.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(f)}`);this.dimVec_=[];for(let h=0;h=c.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[f]=1}}setElementAt(f,h){if(!d(f)||f<0||f>=c.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${f})`);this.dimVec_||this.assignZero(),null==h&&(h=1),this.dimVec_[f]=h}getElementAt(f){if(!d(f)||f<0||f>=c.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${f})`);let h=null;return this.dimVec_&&(h=this.dimVec_[f]),h}getProperty(f){return this["_"===f.charAt(f.length-1)?f:f+"_"]}toString(){let f=null;return this.dimVec_&&(f="["+this.dimVec_.join(", ")+"]"),f}add(f){if(!f instanceof g)throw new Error(`Dimension.add called with an invalid parameter - ${typeof f} instead of a Dimension object`);if(this.dimVec_&&f.dimVec_)for(let h=0;h{"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(f.bind(null,p))}return v.data}return v};function g(v){return v.map(b=>Array.isArray(b)?b:[b])}function f(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_),f=r.length;for(let h=0;h{"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 f=""+r;return!isNaN(f)&&!isNaN(parseFloat(f))},B.isIntegerUnit=function d(r){return/^\d+$/.test(r)},B.getSynonyms=function g(r){let f={},u={};if(u=n.getInstance().getUnitBySynonym(r),u.units){f.status="succeeded";let v=u.units.length;f.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 f{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 f=a(9473).Ucum,h=a(7894).UnitTables,u=a(4206).T;class v{constructor(){0===h.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==f.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=h.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=h.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,f=a(9473).Ucum,h=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 h:void 0!==_.dim_.dimVec_?new h(_.dim_.dimVec_):_.dim_ instanceof h?_.dim_:_.dim_ instanceof Array||v(_.dim_)?new h(_.dim_):new h,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 h),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,f=a(5744).Unit,h=a(7894).UnitTables,u=a(8902).PrefixTables;class v{constructor(){this.utabs_=h.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 f({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 f({csCode_:x,magnitude_:x,name_:x}):x.csCode_=p:x=new f({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_:Ce+""+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 f({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(f){f.name_&&this.addUnitName(f),this.addUnitCode(f),this.addUnitString(f);try{f.dim_.getProperty("dimVec_")&&this.addUnitDimension(f)}catch{}}addUnitName(f){let h=f.name_;if(!h)throw new Error(`UnitTables.addUnitName called for a unit with no name. Unit code = ${f.csCode_}.`);this.unitNames_[h]?this.unitNames_[h].push(f):this.unitNames_[h]=[f]}addUnitCode(f){let h=f.csCode_;if(!h)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[h])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${h}`);if(this.unitCodes_[h]=f,this.codeOrder_.push(h),"g"==h){let u=f.dim_.dimVec_,v=0;for(;v=1&&(u=f.substr(h+n.codeSep_.length),f=f.substr(0,h));let v=this.unitNames_[f];if(v){let b=v.length;if(u&&b>1){let p=0;for(;v[p].csCode_!==u&&p0&&(u+=h),"dim_"===f[D])u+=null!=x.dim_&&x.dim_.dimVec_ instanceof Array?"["+x.dim_.dimVec_.join(",")+"]":"";else{let S=x[f[D]];u+="string"==typeof S?S.replace(/[\n\r]/g," "):S}u+="\r\n"}}return u}printUnits(f,h){void 0===f&&(f=!1),void 0===h&&(h="|");let u="",v=this.codeOrder_.length,b="csCode"+h;f&&(b+="ciCode"+h),b+="name"+h,f&&(b+="isBase"+h),b+="magnitude"+h+"dimension"+h+"from unit(s)"+h+"value"+h+"function"+h,f&&(b+="property"+h+"printSymbol"+h+"synonyms"+h+"source"+h+"class"+h+"isMetric"+h+"variable"+h+"isSpecial"+h+"isAbitrary"+h),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),g=(a(7088),a(9515),n.__importStar(a(5879))),r=n.__importStar(a(9515)),f=n.__importStar(a(7088)),h=n.__importStar(a(4505)),u=n.__importStar(a(617)),v=n.__importStar(a(6718)),b=n.__importStar(a(1274)),p=n.__importStar(a(5187));B.AppComponent=(()=>{class l{constructor(x,D){x.setDefaultLang("de"),x.use(x.getBrowserLang());let S=location.href;S.indexOf("#")>0?S=S.substring(0,S.indexOf("#")-1)+"/fhir":S+="fhir",console.log("note: using fhir base "+S),D.changeMagMicroService(S)}}return l.\u0275fac=function(x){return new(x||l)(g.\u0275\u0275directiveInject(r.TranslateService),g.\u0275\u0275directiveInject(f.FhirConfigService))},l.\u0275cmp=g.\u0275\u0275defineComponent({type:l,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(x,D){if(1&x&&(g.\u0275\u0275elementStart(0,"mat-toolbar",0)(1,"div",1)(2,"div",2),g.\u0275\u0275element(3,"img",3),g.\u0275\u0275elementEnd()(),g.\u0275\u0275element(4,"span",4),g.\u0275\u0275elementStart(5,"span")(6,"button",5)(7,"mat-icon"),g.\u0275\u0275text(8,"more_vert"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(9,"mat-menu",null,6)(11,"button",7)(12,"mat-icon"),g.\u0275\u0275text(13,"home"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(14,"span"),g.\u0275\u0275text(15,"Home"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(16,"button",8)(17,"mat-icon"),g.\u0275\u0275text(18,"info"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(19,"span"),g.\u0275\u0275text(20,"CapabilityStatement"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(21,"button",9)(22,"mat-icon"),g.\u0275\u0275text(23,"search"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(24,"span"),g.\u0275\u0275text(25,"Mobile Access Gateway ..."),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(26,"button",10)(27,"mat-icon"),g.\u0275\u0275text(28,"people"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(29,"span"),g.\u0275\u0275text(30,"search Patients ..."),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(31,"button",11)(32,"mat-icon"),g.\u0275\u0275text(33,"settings"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(34,"span"),g.\u0275\u0275text(35,"Settings"),g.\u0275\u0275elementEnd()()()()(),g.\u0275\u0275elementStart(36,"main",12),g.\u0275\u0275element(37,"router-outlet"),g.\u0275\u0275elementEnd()),2&x){const S=g.\u0275\u0275reference(10);g.\u0275\u0275advance(6),g.\u0275\u0275property("matMenuTriggerFor",S)}},dependencies:[h.MatLegacyButton,u.MatIcon,v.MatLegacyMenu,v.MatLegacyMenuItem,v.MatLegacyMenuTrigger,b.MatToolbar,p.RouterOutlet,p.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}}"]}),l})()},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),f=a(6401),h=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:h.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:[f.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)),f=n.__importStar(a(9025)),h=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,f.MatLegacyCard,f.MatLegacyCardHeader,f.MatLegacyCardContent,f.MatLegacyCardTitle,h.MatLegacyError,u.Highlight],styles:[".display[_ngcontent-%COMP%]{display:inline-block}"]}),_})()},7088:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.FhirConfigService=void 0;const n=a(655),c=n.__importDefault(a(8907)),d=n.__importStar(a(5879));B.FhirConfigService=(()=>{class r{constructor(){}changeFhirMicroService(h){localStorage.setItem("fhirMicroServer",h)}changeMagMicroService(h){localStorage.setItem("magMicroService",h)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")||"/matchbox/fhir"}getMobileAccessGatewayService(){return localStorage.getItem("magMicroService")||"/mag/fhir"}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 c.default({baseUrl:this.getFhirMicroService()})}getMobileAccessGatewayClient(){return new c.default({baseUrl:this.getMobileAccessGatewayService()})}getAuthCodeFlowConfig(){return{loginUrl:this.getMobileAccessGatewayLoginUrl(),redirectUri:this.getRedirectUri(),tokenEndpoint:this.getMobileAccessGatewayTokenEndpoint(),clientId:this.getClientId(),responseType:"code",scope:"todo",dummyClientSecret:this.getClientSecret(),showDebugInformation:!0,timeoutFactor:.75}}}return r.\u0275fac=function(h){return new(h||r)},r.\u0275prov=d.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r})()},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(h,u){return(0,c.evaluate)(h,u,null)}evaluateToString(h,u){const v=this.evaluate(h,u);return v&&v instanceof Array&&1===v.length?v[0]:null}getOauthUriToken(h){return this.evaluateToString(h,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(h){return this.evaluateToString(h,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}}return r.\u0275fac=function(h){return new(h||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)),f=c.__importStar(a(5187)),h=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(f.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:[h.MatLegacyCard,h.MatLegacyCardContent,h.MatLegacyCardFooter,u.MatIcon,v.MatLegacyMenuItem,f.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)),h=(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)),Ce=c.__importStar(a(2214)),Re=c.__importStar(a(1438)),Ae=c.__importStar(a(9949)),de=c.__importStar(a(9009));function H(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function W(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"button",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onFetchPatient())}),l.\u0275\u0275text(2," get Patient "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()}}function pe(et,Dt){if(1&et&&(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&et){const _e=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",null==_e.patient.name[0]?null:_e.patient.name[0].given," ",null==_e.patient.name[0]?null:_e.patient.name[0].family,", ",_e.patient.birthDate," ")}}function we(et,Dt){if(1&et){const _e=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(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onPIXmFeedAdd())}),l.\u0275\u0275text(24," PIXm Feed - Add Identifier "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}if(2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",_e.patient.name),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceAddIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceAddIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceManagingOrganizationOid),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceManagingOrganizationName)}}function Ee(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div")(1,"pre"),l.\u0275\u0275element(2,"code",43),l.\u0275\u0275elementEnd()()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",_e.getScopes())}}function Be(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",44),l.\u0275\u0275text(1,"Title"),l.\u0275\u0275elementEnd())}function G(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",44)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].attachment.title," ")}}function re(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",45),l.\u0275\u0275text(1,"Description"),l.\u0275\u0275elementEnd())}function ae(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",45),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",_e.description," ")}}function ve(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",46),l.\u0275\u0275text(1,"Content-Type"),l.\u0275\u0275elementEnd())}function He(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",46)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].attachment.contentType," ")}}function Ze(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",47),l.\u0275\u0275text(1,"formatCode"),l.\u0275\u0275elementEnd())}function Qe(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",47)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].format.code," ")}}function Ge(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",48),l.\u0275\u0275text(1,"Actions"),l.\u0275\u0275elementEnd())}function tt(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"mat-cell",48)(1,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onRemove(mt))}),l.\u0275\u0275elementStart(2,"mat-icon"),l.\u0275\u0275text(3,"remove"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onReplace(mt))}),l.\u0275\u0275elementStart(5,"mat-icon"),l.\u0275\u0275text(6,"reply"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(7,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onDownloadDocumentReferenceAttachment(mt))}),l.\u0275\u0275elementStart(8,"mat-icon"),l.\u0275\u0275text(9,"download"),l.\u0275\u0275elementEnd()()()}}function Ct(et,Dt){1&et&&l.\u0275\u0275element(0,"mat-header-row")}function Nt(et,Dt){1&et&&l.\u0275\u0275element(0,"mat-row")}function _t(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function Bt(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-card-actions")(2,"button",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onPdf())}),l.\u0275\u0275text(3,"Pdf"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}}function Tt(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" Replace Document with ",_e.replaceDocumentReference.identifier[0].value," ")}}function Lt(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",_e.descr,": ",_e.existingUuid," -> ",_e.newUuid," ")}}function Le(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(_e.errMsgAssignPatient)}}function lt(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function ze(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(_e.errMsg)}}const at=function(){return["title","name","contentType","formatCode","action"]},N=et=>String(Math.floor(Math.abs(et))).padStart(2,"0");function K(et){const Dt=-et.getTimezoneOffset(),_e=Dt>=0?"+":"-",ut=`${N(Dt/60)}:${N(Dt%60)}`;return`${(0,B.toLocaleDate)(et)}T${(0,B.toLocaleTime)(et)}${_e}${ut}`}B.toLocaleDate=et=>`${et.getFullYear()}-${N(et.getMonth()+1)}-${N(et.getDate())}`,B.toLocaleHHMM=et=>`${N(et.getHours())}:${N(et.getMinutes())}`,B.toLocaleTime=et=>`${(0,B.toLocaleHHMM)(et)}:${N(et.getSeconds())}`,B.toLocaleDateTime=K,B.MagComponent=(()=>{class et{constructor(_e,ut,Pe,mt,Pt,Ft){this.data=_e,this.fhirPathService=ut,this.http=Pe,this.cd=mt,this.oauthService=Pt,this.router=Ft,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=_e.getMobileAccessGatewayClient(),this.mag.capabilityStatement().then(Oe=>this.setJson(JSON.stringify(Oe,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.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(K(new Date)),this.languageCode=new r.UntypedFormControl,this.languageCode.setValue(this.getLocalStorageItemOrDefault("mag.languageCode","de-CH")),this.fhirConfigService=_e,Pt.configure(this.fhirConfigService.getAuthCodeFlowConfig()),Pt.tryLoginCodeFlow().then(Oe=>{this.scopes=this.oauthService.getGrantedScopes()}),Pt.events.subscribe(Oe=>{Oe instanceof p.OAuthErrorEvent?console.error(Oe):console.warn(Oe)}),this.pdf="",this.replaceDocumentReference=null}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.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(_e,ut){return localStorage.getItem(_e)||ut}setLocaleStorageItem(_e,ut){return localStorage.setItem(_e,ut),ut}setJson(_e){this.json=_e}getJson(){return this.json}getScopes(){return this.scopes?JSON.stringify(this.scopes,null,2):""}ngOnInit(){}ngOnDestroy(){}setPixmQueryResult(_e){this.inPixmProgress=!1,this.setJson(JSON.stringify(_e,null,2)),this.targetIdentifierValue=this.fhirPathService.evaluateToString(_e,"parameter.valueIdentifier.where(system='"+this.targetIdentifierSystem.value+"').value"),this.targetIdentifier2Value=this.fhirPathService.evaluateToString(_e,"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(_e,"parameter.valueReference.reference"),this.cache()}setPatientFetchResult(_e){this.inPixmProgress=!1,this.patient=_e,this.setJson(JSON.stringify(_e,null,2)),this.cache()}setPIXmFeedAddResult(_e){this.inPixmProgress=!1,this.patient=void 0,this.setJson(JSON.stringify(_e,null,2)),this.cache()}onPIXmQuery(){this.targetIdentifierValue="",this.targetIdentifier2Value="",this.patient=void 0,this.inPixmProgress=!0,this.cache();let _e="sourceIdentifier="+encodeURIComponent(this.sourceIdentifierSystem.value+"|"+this.sourceIdentifierValue.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifierSystem.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifier2System.value);this.mag.operation({name:"$ihe-pix?"+_e,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(ut=>this.setPixmQueryResult(ut)).catch(ut=>{this.setJson(JSON.stringify(ut,null,2)),this.targetIdentifierValue="",this.targetIdentifier2Value="",this.targetId="",this.cache(),this.inPixmProgress=!1})}getPatient(){const _e=this.targetId.substring(this.targetId.indexOf("Patient/")+8);return this.mag.read({resourceType:"Patient",id:_e,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 _e=this;return n(function*(){_e.patient=void 0,_e.inPixmProgress=!0,_e.cache();try{_e.patient=yield _e.getPatient(),_e.setPatientFetchResult(_e.patient)}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.cache(),_e.inPixmProgress=!1}})()}onPIXmFeedAdd(){this.inPixmProgress=!0,this.patient.telecom&&delete this.patient.telecom,this.cache();let _e={identifier:this.sourceAddIdentifierSystem.value+"|"+this.sourceAddIdentifierValue.value},ut={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(ut),this.patient.managingOrganization={reference:"#org"},this.mag.update({resourceType:"Patient",body:this.patient,searchParams:_e,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}}).then(Pe=>this.setPIXmFeedAddResult(Pe)).catch(Pe=>{this.setJson(JSON.stringify(Pe,null,2)),this.cache(),this.inPixmProgress=!1})}onAuthenticate(){if(this.cache(),this.scopes=null,"HCP"===this.authenticate.value){let _e=this.fhirConfigService.getAuthCodeFlowConfig();_e.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|HCP`,this.oauthService.configure(_e),this.oauthService.initCodeFlow()}else"TCU"===this.authenticate.value?this.getSamlToken().then(_e=>this.json=_e):this.oauthService.logOut()}getAppcDocument(_e,ut){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(_e,ut){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==${ut}http://ihe.connectathon.XUA/X-ServiceProvider-IHE-Connectathonurn:oasis:names:tc:SAML:2.0:ac:classes:unspecifiedIris Musterpatient${ut}^^^&2.16.756.5.30.1.127.3.10.3&ISOurn:oid:3.3.3.1`)}getSimulatedSamlPmpTcuAssertion(_e,ut,Pe){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${Pe}^^^&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(_e){var ut=this;return n(function*(){const mt=yield(yield fetch("https://test.ahdis.ch/eprik-cara/camel/tcu",{cache:"no-store",headers:{Accept:"application/xml"}})).text(),Ft=yield(yield fetch(ut.fhirConfigService.getMobileAccessGatewayAssertionEndpoint(),{cache:"no-store",method:"POST",headers:{Scope:`person_id=${_e}^^^&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:mt})).json();return Promise.resolve(Ft.access_token)})()}setBundle(_e){_e?(this.bundle=_e,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry.map(ut=>ut.resource)):this.dataSource.data=null,this.dataSource.data=this.dataSource.data}setDocumentReferenceResult(_e){this.setJson(JSON.stringify(_e,null,2)),this.setBundle(_e)}findDocumentReferences(){var _e=this;return n(function*(){let ut={status:"current",_count:500,"patient.identifier":encodeURIComponent(_e.targetIdentifierSystem.value+"|"+_e.targetIdentifierValue)},Pe=yield _e.getSamlToken();return _e.mag.search({resourceType:"DocumentReference",searchParams:ut,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+Pe}}})})()}onFindDocumentReferences(){var _e=this;return n(function*(){_e.replaceDocumentReference=null,_e.inMhdQueryProgress=!0,_e.pdf="";try{const ut=yield _e.findDocumentReferences();_e.setDocumentReferenceResult(ut),_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}findMedicationList(_e){var ut=this;return n(function*(){let Pe="patient.identifier="+encodeURIComponent(ut.targetIdentifierSystem.value+"|"+ut.targetIdentifierValue)+(_e?"&format="+encodeURIComponent(_e):"");ut.serviceStartFrom.value?.length>0&&(Pe+=`&serviceStartFrom=${encodeURIComponent(ut.serviceStartFrom.value)}`),ut.serviceStartTo.value?.length>0&&(Pe+=`&serviceStartTo=${encodeURIComponent(ut.serviceStartTo.value)}`),ut.serviceEndFrom.value?.length>0&&(Pe+=`&serviceEndFrom=${encodeURIComponent(ut.serviceEndFrom.value)}`),ut.serviceEndTo.value?.length>0&&(Pe+=`&serviceEndTo=${encodeURIComponent(ut.serviceEndTo.value)}`);const mt=yield ut.getSamlToken();return ut.mag.operation({name:"$find-medication-list?status=current&"+Pe,resourceType:"DocumentReference",method:"GET",options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+mt}}})})()}onFindMedicationList(){var _e=this;return n(function*(){_e.pdf="",_e.inMhdQueryProgress=!0,_e.cache();try{const ut=yield _e.findMedicationList();_e.setDocumentReferenceResult(ut),ut.entry&&1==ut.entry.length&&(yield _e.downloadDocumentReferenceAttachment(ut.entry[0].resource)),_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}onFindMedicationCard(){var _e=this;return n(function*(){_e.pdf="",_e.inMhdQueryProgress=!0,_e.cache();try{const ut=yield _e.findMedicationList("urn:oid:2.16.756.5.30.1.127.3.10.10|urn:che:epr:ch-emed:medication-card:2022");if(_e.setDocumentReferenceResult(ut),ut.entry&&1==ut.entry.length){const Pe=yield _e.downloadDocumentReferenceAttachment(ut.entry[0].resource),mt=JSON.parse(Pe);_e.pdf=_e.fhirPathService.evaluateToString(mt,"entry.resource.where(resourceType='Binary').data")}_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}getSamlToken(){var _e=this;return n(function*(){return"HCP"===_e.authenticate.value?Promise.resolve(_e.oauthService.getAccessToken()):"Patient"===_e.authenticate.value?Promise.resolve(_e.getSimulatedSamlPmpAssertion(K(new Date),_e.targetIdentifier2Value)):"TCU"===_e.authenticate.value?_e.getEprikTcuAssertion(_e.targetIdentifier2Value):null})()}downloadDocumentReferenceAttachment(_e){var ut=this;return n(function*(){let mt=(_e.content&&_e.content.length>0?_e.content[0].attachment.url:"undefined").replace("http://test.ahdis.ch/mag-pmp/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp/camel/xdsretrieve"),Pt=mt.replace("http://test.ahdis.ch/mag-pmp2/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp2/camel/xdsretrieve");const Ft=_e.content&&_e.content.length>0?_e.content[0].attachment?.contentType:"";if(ut.selectedDocumentReference=_e,"application/pdf"===Ft){const Gt=_e.content&&_e.content.length>0?_e.content[0].attachment.title:"undefined",Oe=ut,Ke=yield ut.getSamlToken(),ge=yield(yield fetch(Pt,{cache:"no-store",headers:{Authorization:"Bearer "+Ke,Accept:"application/pdf"}})).blob();return new Promise((ct,Me)=>{let Ye=new FileReader;Ye.onload=()=>{Oe.downloadPdf(Ye.result.toString(),Gt),ct(Ye.result)},Ye.onerror=Me,Ye.readAsDataURL(ge)})}{const Gt=yield ut.getSamlToken(),Ke={responseType:"text",headers:(new h.HttpHeaders).set("Authorization","Bearer "+Gt)};return new Promise((he,ge)=>{ut.http.get(mt,Ke).subscribe({next:ct=>{ut.xml=ct,ut.setJson(ct),he(ut.xml)},error:ct=>{ge(ct)}})})}})()}onReplace(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=_e})()}onRemove(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=null;let Pe={..._e};ut.inMhdQueryProgress=!0,null==Pe.extension&&(Pe.extension=new Array),Pe.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:ut.iheSourceId.value}}),Pe.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)"}}),Pe.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"}}),Pe.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 mt=yield ut.getSamlToken();try{let Pt=yield ut.mag.update({resourceType:"DocumentReference",id:Pe.id,body:Pe,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0","content-type":"application/fhir+json;fhirVersion=4.0",Authorization:"Bearer "+mt}}});ut.setJson(JSON.stringify(Pt,null,2)),ut.inMhdQueryProgress=!1,ut.onFindDocumentReferences()}catch(Pt){ut.setJson(JSON.stringify(Pt.response.data,null,2)),ut.inMhdQueryProgress=!1}})()}onDownloadDocumentReferenceAttachment(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=null,ut.inMhdQueryProgress=!0,yield ut.downloadDocumentReferenceAttachment(_e),ut.inMhdQueryProgress=!1})()}canTransformToPdf(){return""!=this.pdf}downloadPdf(_e,ut){const Pe=document.createElement("a");Pe.href=_e,Pe.download=`${ut}.pdf`,Pe.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 ut=`0x${(0,u.v4)().replace(/-/g,"")}`;return`2.25.${BigInt(ut).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(_e){if(this.uploadBase64="",this.uploadContentType="",this.uploadBundle=null,this.json="",this.xml="",this.pdf="","application/json"===_e.contentType||_e.name.endsWith(".json")||"text/xml"===_e.contentType||_e.name.endsWith(".xml"))this.addText(_e);else{var ut=new FileReader;const Pe=this;ut.readAsDataURL(_e.blob),ut.onloadend=function(){let mt=ut.result.toString();mt.startsWith("data:application/pdf;base64,")&&(Pe.uploadBase64=mt.substring(28),Pe.uploadContentType="application/pdf",Pe.documentType.setValue("PDF"))}}}addText(_e){const ut=new FileReader;ut.readAsText(_e.blob);const Pe=this;this.documentTitle.setValue(_e.name),this.creationTime.setValue(K(new Date)),ut.onload=()=>{("application/json"===_e.contentType||_e.name.endsWith(".json"))&&(this.uploadContentType="application/fhir+json",this.autoDetectFormat(ut.result)),("text/xml"===_e.contentType||_e.name.endsWith(".xml"))&&(this.uploadContentType="text/xml",Pe.documentType.setValue("XML"),Pe.xml=ut.result,Pe.setJson(Pe.xml))}}getResource(_e,ut){return _e.entry.filter(Pe=>Pe.fullUrl.endsWith(ut)).pop()?.resource}autoDetectFormat(_e){this.documentType.setValue("JSON");const ut=JSON.parse(_e);this.setJson(_e),ut.hasOwnProperty("resourceType")&&"Bundle"===ut.resourceType&&this.autoDetectBundle(ut)}autoDetectBundle(_e){if(this.creationTime.setValue(_e.timestamp),this.masterIdentifier.setValue(_e.identifier.value),"document"===_e.type&&_e.entry?.length>0){const ut=_e.entry[0].resource,Pe=ut.type.coding.find(mt=>"http://snomed.info/sct"===mt.system);if(ut.language&&this.languageCode.setValue(ut.language),!Pe)return;switch(Pe.code){case"761931002":return this.uploadBundle=_e,void this.documentType.setValue("MTP");case"761938008":return this.uploadBundle=_e,void this.documentType.setValue("PRE");case"294121000195110":return this.uploadBundle=_e,void this.documentType.setValue("DIS");case"419891008":return this.uploadBundle=_e,void this.documentType.setValue("PADV")}}}assignMobileAccessPatient(){var _e=this;return n(function*(){if(_e.inMhdUploadProgress=!0,_e.errMsgAssignPatient="",null==_e.patient&&(_e.patient=yield _e.getPatient()),null==_e.patient)return void(_e.errMsgAssignPatient="Error: select first 'get Patient' from Mobile Access Gateway");if(null==_e.uploadBundle)return void(_e.errMsgAssignPatient="Error: need a FHIR Bundle in json format to assign the Patient");const ut=_e.uploadBundle.entry.filter(Oe=>"Patient"===Oe.resource.resourceType),Pe={..._e.patient};Pe.identifier=_e.patient.identifier.filter(Oe=>Oe.system===_e.sourceIdentifierSystem.value),Pe.identifier.find(Oe=>Oe.system===_e.sourceIdentifierSystem.value).type={coding:[{system:"http://terminology.hl7.org/CodeSystem/v2-0203",code:"MR"}]},Pe.name=Array(),Pe.name[0]=_e.patient.name[0],ut.forEach(Oe=>{const Ke=Oe.resource.id;Oe.resource={...Pe},Oe.resource.id=Ke});let mt=JSON.stringify(_e.uploadBundle,null,2);const Pt=_e.uploadBundle.identifier.value,Ft="urn:uuid:"+(0,u.v4)(),Gt=_e.replaceUuids.findIndex(Oe=>Oe.existingUuid==Pt);-1==Gt?_e.replaceUuids.push({descr:_e.documentType.value,existingUuid:Pt,newUuid:Ft}):_e.replaceUuids[Gt]={descr:_e.documentType.value,existingUuid:Pt,newUuid:Ft},_e.replaceUuids.forEach(Oe=>mt=mt.split(Oe.existingUuid).join(Oe.newUuid)),_e.masterIdentifier.setValue(Ft),_e.setJson(mt),_e.inMhdUploadProgress=!1})()}createMhdTransaction(){var _e=this;return n(function*(){_e.inMhdUploadProgress=!0;let ut={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"}}]},Pe="urn:uuid:"+(0,u.v4)();ut.entry[0].fullUrl=Pe;const mt=ut.entry[0].resource;mt.contentType=_e.uploadContentType,mt.data=_e.uploadBase64?.length>0?_e.uploadBase64:v.Base64.encode(_e.json);let Pt=(0,u.v4)();ut.entry[1].fullUrl="urn:uid:"+Pt;const Ft=ut.entry[1].resource;Ft.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:_e.iheSourceId.value}}),Ft.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"}}),Ft.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 Gt="urn:uuid:"+(0,u.v4)();Ft.identifier[0].value=Gt;let Oe="urn:oid:"+_e.generateOidFromUuid();Ft.identifier[1].value=Oe,Ft.subject.reference=_e.targetId;let Ke=K(new Date);Ft.date=Ke;let he="urn:uuid:"+(0,u.v4)();Ft.entry[0].item.reference=he,ut.entry[2].fullUrl=he;const ge=ut.entry[2].resource;ge.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!=_e.replaceDocumentReference?ge.relatesTo.push({code:"replaces",target:{reference:_e.replaceDocumentReference.identifier[0].value}}):delete ge.relatesTo;const ct=ge.contained[0];if(ct.identifier[0].system=_e.sourceIdentifierSystem.value,ct.identifier[0].value=_e.sourceIdentifierValue.value,ct.identifier[1].system=_e.targetIdentifierSystem.value,ct.identifier[1].value=_e.targetIdentifierValue,_e.patient&&(ct.birthDate=_e.patient.birthDate,ct.gender=_e.patient.gender,ct.name=_e.patient.name,ct.address=_e.patient.address),null!=_e.uploadBundle&&["PADV","DIS","MTP","PRE","PMLC"].includes(_e.documentType.value)){const V=_e.uploadBundle.entry[0].resource;if(V?.author&&V.author[0].reference){const Q=_e.getResource(_e.uploadBundle,V.author[0].reference);if(Q&&"PractitionerRole"==Q.resourceType){let be={...Q};delete be.text,be.id="practrole";const dt=_e.getResource(_e.uploadBundle,be.organization?.reference),Rt=_e.getResource(_e.uploadBundle,be.practitioner?.reference);if(dt){let qe={...dt};qe.id="org",delete qe.text,be.organization.reference="#org",ge.contained.push(qe)}if(Rt){let qe={...Rt};qe.id="pract",delete qe.text,be.practitioner.reference="#pract",ge.contained.push(qe)}ge.contained.push(be),ge.author.push({reference:"#practrole"})}}}0==ge.author.length&&delete ge.author;let Me=_e.masterIdentifier.value.toLocaleLowerCase();ge.masterIdentifier.value=Me;let Ye="urn:oid:"+_e.generateOidFromUuid();ge.identifier[0].value=Ye,ge.subject.reference=_e.targetId,ge.date=Ke,ge.content[0].attachment.url=Pe,ge.content[0].attachment.contentType=_e.uploadContentType,ge.content[0].attachment.language=_e.languageCode.value,ge.content[0].attachment.title=_e.documentTitle.value;let De=ut.entry[2].resource;De.date=_e.creationTime.value,De.type=_e.getDocumentReferenceType(),De.category.push(_e.getDocumentReferenceCategory()),De.content[0].format=_e.getDocumentReferenceContentFormat(),De.content[0].attachment.creation=_e.creationTime.value,De.description=_e.documentDescription.value,De.securityLabel[0]=_e.getDocumentConfidentiality();const F=yield _e.getSamlToken();_e.mag.transaction({body:ut,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+F}}}).then(V=>{_e.setJson(JSON.stringify(V,null,2)),_e.inMhdUploadProgress=!1}).catch(V=>{_e.setJson(JSON.stringify(V,null,2)),_e.inMhdUploadProgress=!1})})()}}return et.\u0275fac=function(_e){return new(_e||et)(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))},et.\u0275cmp=l.\u0275\u0275defineComponent({type:et,selectors:[["app-mag"]],decls:197,vars:38,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"],[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,"highlight"],[1,"title"],[1,"name"],[1,"contentType"],[1,"formatCode"],[1,"res"],["mat-icon-button","","type","submit",3,"click"]],template:function(_e,ut){1&_e&&(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 ut.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\u0275template(52,Ee,3,1,"div",3),l.\u0275\u0275elementStart(53,"mat-card-actions")(54,"button",4),l.\u0275\u0275listener("click",function(){return ut.onAuthenticate()}),l.\u0275\u0275text(55," Authenticate "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(56,"mat-card",0)(57,"mat-card-content")(58,"mat-card-header")(59,"mat-card-title"),l.\u0275\u0275text(60,"Mobile Access Gateway - Query"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(61,"mat-table",9,10),l.\u0275\u0275elementContainerStart(63,11),l.\u0275\u0275template(64,Be,2,0,"mat-header-cell",12),l.\u0275\u0275template(65,G,3,1,"mat-cell",13),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(66,14),l.\u0275\u0275template(67,re,2,0,"mat-header-cell",15),l.\u0275\u0275template(68,ae,2,1,"mat-cell",16),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(69,17),l.\u0275\u0275template(70,ve,2,0,"mat-header-cell",18),l.\u0275\u0275template(71,He,3,1,"mat-cell",19),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(72,20),l.\u0275\u0275template(73,Ze,2,0,"mat-header-cell",21),l.\u0275\u0275template(74,Qe,3,1,"mat-cell",22),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(75,23),l.\u0275\u0275template(76,Ge,2,0,"mat-header-cell",24),l.\u0275\u0275template(77,tt,10,0,"mat-cell",25),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275template(78,Ct,1,0,"mat-header-row",26),l.\u0275\u0275template(79,Nt,1,0,"mat-row",27),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(80,_t,2,0,"ng-container",3),l.\u0275\u0275elementStart(81,"mat-card-actions")(82,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindDocumentReferences()}),l.\u0275\u0275text(83," Document References "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(84,"div")(85,"mat-form-field",1)(86,"mat-label"),l.\u0275\u0275text(87,"serviceStart From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(88,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(89," \xa0 "),l.\u0275\u0275elementStart(90,"mat-form-field",1)(91,"mat-label"),l.\u0275\u0275text(92,"serviceStart To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(93,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(94,"div")(95,"mat-form-field",1)(96,"mat-label"),l.\u0275\u0275text(97,"serviceEnd From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(98,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(99," \xa0 "),l.\u0275\u0275elementStart(100,"mat-form-field",1)(101,"mat-label"),l.\u0275\u0275text(102,"serviceEnd To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(103,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(104,"mat-card-actions")(105,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindMedicationList()}),l.\u0275\u0275text(106," Medication List "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(107,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindMedicationCard()}),l.\u0275\u0275text(108," Medication Card "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(109,Bt,4,0,"ng-container",3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(110,"mat-card",0)(111,"mat-card-content")(112,"mat-card-header")(113,"mat-card-title"),l.\u0275\u0275text(114,"Mobile Access Gateway - Upload"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(115,"app-upload",29),l.\u0275\u0275listener("addFiles",function(mt){return ut.addFile(mt)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(116,"div")(117,"mat-form-field",1)(118,"mat-label"),l.\u0275\u0275text(119,"Title"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(120,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(121,"div")(122,"mat-form-field",1)(123,"mat-label"),l.\u0275\u0275text(124,"Description"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(125,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(126,"div")(127,"mat-form-field",1)(128,"mat-label"),l.\u0275\u0275text(129,"Document Type"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(130,"select",5)(131,"option",30),l.\u0275\u0275text(132,"APPC Document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(133,"option",31),l.\u0275\u0275text(134,"Medication Treatment Plan document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(135,"option",32),l.\u0275\u0275text(136,"Medication Dispense document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(137,"option",33),l.\u0275\u0275text(138,"Medication Prescription document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(139,"option",34),l.\u0275\u0275text(140,"Pharmaceutical Advice document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(141,"option",35),l.\u0275\u0275text(142,"PDF"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(143,"div")(144,"mat-form-field",1)(145,"mat-label"),l.\u0275\u0275text(146,"Confidentiality"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(147,"select",5)(148,"option",36),l.\u0275\u0275text(149,"Normally accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(150,"option",37),l.\u0275\u0275text(151,"Restricted accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(152,"option",38),l.\u0275\u0275text(153,"Secret"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(154,"div")(155,"mat-form-field",1)(156,"mat-label"),l.\u0275\u0275text(157,"DocumentEntry.masterIdentifier (uuid)"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(158,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(159,"div")(160,"mat-form-field",1)(161,"mat-label"),l.\u0275\u0275text(162,"DocumentEntry.creationTime"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(163,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(164,"div")(165,"mat-form-field",1)(166,"mat-label"),l.\u0275\u0275text(167,"DocumentEntry.languageCode"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(168,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(169,"div")(170,"mat-form-field",1)(171,"mat-label"),l.\u0275\u0275text(172,"ihe-sourceId"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(173,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(174,"\xa0 "),l.\u0275\u0275elementStart(175,"a",39),l.\u0275\u0275text(176,"ig"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(177,Tt,2,1,"div",3),l.\u0275\u0275template(178,Lt,2,3,"div",40),l.\u0275\u0275template(179,Le,2,1,"div",3),l.\u0275\u0275template(180,lt,2,0,"ng-container",3),l.\u0275\u0275elementStart(181,"div")(182,"button",28),l.\u0275\u0275listener("click",function(){return ut.assignMobileAccessPatient()}),l.\u0275\u0275text(183," Assign Mobile Access Patient"),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(184,"\xa0 "),l.\u0275\u0275elementStart(185,"button",28),l.\u0275\u0275listener("click",function(){return ut.createMhdTransaction()}),l.\u0275\u0275text(186," Provide and Register "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(187,"button",28),l.\u0275\u0275listener("click",function(){return ut.createAppc()}),l.\u0275\u0275text(188," Create APPC for PMP "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(189,"mat-card",0)(190,"mat-card-content")(191,"mat-card-header")(192,"mat-card-title"),l.\u0275\u0275text(193,"Response"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(194,ze,2,1,"div",3),l.\u0275\u0275elementStart(195,"pre"),l.\u0275\u0275element(196,"code",41),l.\u0275\u0275elementEnd()()()),2&_e&&(l.\u0275\u0275advance(9),l.\u0275\u0275property("formControl",ut.sourceIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.sourceIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.targetIdentifierSystem),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ut.targetIdentifierValue," "),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.targetIdentifier2System),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ut.targetIdentifier2Value," "),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate1("targetId: ",ut.targetId,""),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inPixmProgress),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ut.targetId.length>0),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.patient),l.\u0275\u0275advance(10),l.\u0275\u0275property("formControl",ut.authenticate),l.\u0275\u0275advance(7),l.\u0275\u0275property("ngIf",ut.getScopes()),l.\u0275\u0275advance(9),l.\u0275\u0275property("dataSource",ut.dataSource),l.\u0275\u0275advance(17),l.\u0275\u0275property("matHeaderRowDef",l.\u0275\u0275pureFunction0(36,at)),l.\u0275\u0275advance(1),l.\u0275\u0275property("matRowDefColumns",l.\u0275\u0275pureFunction0(37,at)),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inMhdQueryProgress),l.\u0275\u0275advance(8),l.\u0275\u0275property("formControl",ut.serviceStartFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceStartTo),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceEndFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceEndTo),l.\u0275\u0275advance(6),l.\u0275\u0275property("ngIf",ut.canTransformToPdf()),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ut.documentTitle),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.documentDescription),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.documentType),l.\u0275\u0275advance(17),l.\u0275\u0275property("formControl",ut.documentConfidentiality),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ut.masterIdentifier),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.creationTime),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.languageCode),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.iheSourceId),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ut.replaceDocumentReference),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",ut.replaceUuids),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.errMsgAssignPatient),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inMhdUploadProgress),l.\u0275\u0275advance(14),l.\u0275\u0275property("ngIf",ut.errMsg),l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",ut.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,Ce.MatLegacyTable,Ce.MatLegacyHeaderCellDef,Ce.MatLegacyHeaderRowDef,Ce.MatLegacyColumnDef,Ce.MatLegacyCellDef,Ce.MatLegacyRowDef,Ce.MatLegacyHeaderCell,Ce.MatLegacyCell,Ce.MatLegacyHeaderRow,Ce.MatLegacyRow,Re.MatLegacyProgressSpinner,Ae.Highlight,de.UploadComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.display[_ngcontent-%COMP%]{display:inline-block;margin-bottom:10px}.column50[_ngcontent-%COMP%]{width:40%}"]}),et})()},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(h,u){if(1&h&&(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&h){const v=c.\u0275\u0275nextContext();c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(c.\u0275\u0275pipeBind1(4,1,v.patient))}}B.PatientDetailComponent=(()=>{class h{constructor(){}ngOnInit(){}}return h.\u0275fac=function(v){return new(v||h)},h.\u0275cmp=c.\u0275\u0275defineComponent({type:h,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]}),h})()},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),f=n.__importStar(a(5879)),h=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(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Family"),f.\u0275\u0275elementEnd())}function D(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientFamilyName(W))}}function S(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Given"),f.\u0275\u0275elementEnd())}function E(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientGivenNames(W))}}function I(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Birthdate"),f.\u0275\u0275elementEnd())}function X(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientBirthDate(W))}}function $(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Street"),f.\u0275\u0275elementEnd())}function ee(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientAddressLines(W))}}function ie(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"City"),f.\u0275\u0275elementEnd())}function A(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientAddressCity(W))}}function U(de,H){1&de&&f.\u0275\u0275element(0,"mat-header-row")}function Ce(de,H){if(1&de){const W=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-row",16),f.\u0275\u0275listener("click",function(){const Ee=f.\u0275\u0275restoreView(W).$implicit,Be=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Be.selectRow(Ee))}),f.\u0275\u0275elementEnd()}}const Re=function(){return["familyNameCol","givenNamesCol","birthDateCol","addressLinesCol","addressCityCol"]};B.PatientsComponent=(()=>{class de{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 de.\u0275fac=function(W){return new(W||de)(f.\u0275\u0275directiveInject(h.FhirConfigService))},de.\u0275cmp=f.\u0275\u0275defineComponent({type:de,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&&(f.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-form-field")(3,"mat-label"),f.\u0275\u0275text(4,"Name"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(5,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(6," \xa0 "),f.\u0275\u0275elementStart(7,"mat-form-field")(8,"mat-label"),f.\u0275\u0275text(9,"Family"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(10,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(11," \xa0 "),f.\u0275\u0275elementStart(12,"mat-form-field")(13,"mat-label"),f.\u0275\u0275text(14,"Given"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(15,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(16," \xa0 "),f.\u0275\u0275elementEnd()(),f.\u0275\u0275elementStart(17,"mat-card",2)(18,"mat-card-content")(19,"mat-table",3,4),f.\u0275\u0275elementContainerStart(21,5),f.\u0275\u0275template(22,x,2,0,"mat-header-cell",6),f.\u0275\u0275template(23,D,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(24,8),f.\u0275\u0275template(25,S,2,0,"mat-header-cell",6),f.\u0275\u0275template(26,E,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(27,9),f.\u0275\u0275template(28,I,2,0,"mat-header-cell",6),f.\u0275\u0275template(29,X,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(30,10),f.\u0275\u0275template(31,$,2,0,"mat-header-cell",6),f.\u0275\u0275template(32,ee,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(33,11),f.\u0275\u0275template(34,ie,2,0,"mat-header-cell",6),f.\u0275\u0275template(35,A,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275template(36,U,1,0,"mat-header-row",12),f.\u0275\u0275template(37,Ce,1,0,"mat-row",13),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(38,"mat-paginator",14),f.\u0275\u0275listener("page",function(Ee){return pe.goToPage(Ee)}),f.\u0275\u0275elementEnd()()(),f.\u0275\u0275element(39,"app-patient-detail",15)),2&W&&(f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchName),f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchFamily),f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchGiven),f.\u0275\u0275advance(4),f.\u0275\u0275property("dataSource",pe.dataSource),f.\u0275\u0275advance(17),f.\u0275\u0275property("matHeaderRowDef",f.\u0275\u0275pureFunction0(11,Re)),f.\u0275\u0275advance(1),f.\u0275\u0275property("matRowDefColumns",f.\u0275\u0275pureFunction0(12,Re)),f.\u0275\u0275advance(1),f.\u0275\u0275property("pageIndex",pe.pageIndex)("length",pe.length)("pageSize",pe.pageSize)("pageSizeOptions",pe.pageSizeOptions),f.\u0275\u0275advance(1),f.\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]}),de})()},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))),f=n.__importStar(a(7088)),h=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(f.FhirConfigService),r.\u0275\u0275directiveInject(h.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),f=a(9241),h=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),Ce=a(1438),Re=n.__importStar(a(5879)),Ae=[c.CommonModule,r.BrowserModule,g.BrowserAnimationsModule,d.FormsModule,d.ReactiveFormsModule,U.TranslateModule,f.MatLegacyAutocompleteModule,h.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,Ce.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,f.MatLegacyAutocompleteModule,h.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,Ce.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)),f=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,f.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(h=>console.log(h))},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(h){super(),this.tokenSource=h,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(h){}reset(){this.seek(0)}seek(h){this.lazyInit(),this.index=this.adjustSeekIndex(h)}get(h){return this.lazyInit(),this.tokens[h]}consume(){let h=!1;if(h=this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(u)>=u}fetch(h){if(this.fetchedEOF)return 0;for(let u=0;u=this.tokens.length&&(u=this.tokens.length-1);for(let p=h;p=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[u]}adjustSeekIndex(h){return h}lazyInit(){-1===this.index&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(h){this.tokenSource=h,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(h,u){if(this.sync(h),h>=this.tokens.length)return-1;let v=this.tokens[h];for(;v.channel!==this.channel;){if(v.type===n.EOF)return-1;this.sync(h+=1),v=this.tokens[h]}return h}previousTokenOnChannel(h,u){for(;h>=0&&this.tokens[h].channel!==u;)h-=1;return h}getHiddenTokensToRight(h,u){if(void 0===u&&(u=-1),this.lazyInit(),h<0||h>=this.tokens.length)throw h+" not in 0.."+this.tokens.length-1;const v=this.nextTokenOnChannel(h+1,c.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(h+1,-1===v?this.tokens.length-1:v,u)}getHiddenTokensToLeft(h,u){if(void 0===u&&(u=-1),this.lazyInit(),h<0||h>=this.tokens.length)throw h+" not in 0.."+this.tokens.length-1;const v=this.previousTokenOnChannel(h-1,c.DEFAULT_TOKEN_CHANNEL);return v===h-1?null:this.filterForChannel(v+1,h-1,u)}filterForChannel(h,u,v){const b=[];for(let p=h;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,f,h,u,v,b,p,_){const l=new n(r,f,u,v,b);return l.line=p,l.column=_,null!==h?l.text=h:this.copyText&&null!==r[1]&&(l.text=r[1].getText(v,b)),l}createThin(r,f){const h=new n(null,r);return h.text=f,h}}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,f){super(r),this.channel=void 0===f?n.DEFAULT_CHANNEL:f}adjustSeekIndex(r){return this.nextTokenOnChannel(r,this.channel)}LB(r){if(0===r||this.index-r<0)return null;let f=this.index,h=1;for(;h<=r;)f=this.previousTokenOnChannel(f-1,this.channel),h+=1;return f<0?null:this.tokens[f]}LT(r){if(this.lazyInit(),0===r)return null;if(r<0)return this.LB(-r);let f=this.index,h=1;for(;h{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 f=0;f=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 f="";for(let h=g;h<=r;h++)f+=String.fromCodePoint(this.data[h]);return f}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,f){this.start=r,this.stop=f}clone(){return new c(this.start,this.stop)}contains(r){return r>=this.start&&rthis.addInterval(f),this),this}reduce(r){if(r=h.stop?(this.intervals.splice(r+1,1),this.reduce(r)):f.stop>=h.start&&(this.intervals[r]=new c(f.start,h.stop),this.intervals.splice(r+1,1))}}complement(r,f){const h=new d;return h.addInterval(new c(r,f+1)),null!==this.intervals&&this.intervals.forEach(u=>h.removeRange(u)),h}contains(r){if(null===this.intervals)return!1;for(let f=0;fu.start&&r.stop=u.stop?(this.intervals.splice(f,1),f-=1):r.start":"'"+String.fromCharCode(h.start)+"'":"'"+String.fromCharCode(h.start)+"'..'"+String.fromCharCode(h.stop-1)+"'")}return r.length>1?"{"+r.join(", ")+"}":r[0]}toIndexString(){const r=[];for(let f=0;f":h.start.toString():h.start.toString()+".."+(h.stop-1).toString())}return r.length>1?"{"+r.join(", ")+"}":r[0]}toTokenString(r,f){const h=[];for(let u=0;u1?"{"+h.join(", ")+"}":h[0]}elementName(r,f,h){return h===n.EOF?"":h===n.EPSILON?"":r[h]||f[h]}get length(){return this.intervals.map(r=>r.length).reduce((r,f)=>r+f)}}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:f}=a(5516),{RuleTransition:h,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 h 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=h.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=h.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=h.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===h.SKIP){b=!0;break}if(this._type!==h.MORE)break}if(!b)return null===this._token&&this.emit(),this._token}}finally{this._input.release(v)}}skip(){this._type=h.SKIP}more(){this._type=h.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}}h.DEFAULT_MODE=0,h.MORE=-2,h.SKIP=-3,h.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,h.HIDDEN=n.HIDDEN_CHANNEL,h.MIN_CHAR_VALUE=0,h.MAX_CHAR_VALUE=1114111,Ie.exports=h},111:(Ie,B,a)=>{const{Token:n}=a(6205),{ParseTreeListener:c,TerminalNode:d,ErrorNode:g}=a(5829),r=a(9495),{DefaultErrorStrategy:f}=a(2487),h=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 f,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 h(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,f=c.ErrorNodeImpl,h=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 f&&(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 f(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 h 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 h&&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 h(I,X)}}class u extends h{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 h&&I instanceof h)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=h.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 de=new v([ie,ie],Re);return null!==$&&$.set(E,I,de),de}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 Ce=new v(U,A);return null!==$&&$.set(E,I,Ce),Ce}}(E,I,X,$);if(X){if(E instanceof u)return E;if(I instanceof u)return I}return E instanceof h&&(E=new v([E.getParent()],[E.returnState])),I instanceof h&&(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=[],Ce=[];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(h){"4.9.3"!==h&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+h)}addErrorListener(h){this._listeners.push(h)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const h=this.getLiteralNames(),u=this.getSymbolicNames(),v=h.length>u.length?h.length:u.length;this.tokenNames=[];for(let b=0;b";let u=h.text;return null===u&&(u=h.type===n.EOF?"":"<"+h.type+">"),u=u.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+u+"'"}getErrorListenerDispatch(){return new d(this._listeners)}sempred(h,u,v){return!0}precpred(h,u){return!0}get state(){return this._stateNumber}set state(h){this._stateNumber=h}}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(f,h){super(),this.parentCtx=f||null,this.invokingState=h||-1}depth(){let f=0,h=this;for(;null!==h;)h=h.parentCtx,f+=1;return f}isEmpty(){return-1===this.invokingState}getSourceInterval(){return c}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(f){return f.getText()}).join("")}getAltNumber(){return 0}setAltNumber(f){}getChild(f){return null}getChildCount(){return 0}accept(f){return f.visitChildren(this)}toStringTree(f,h){return d.toStringTree(this,f,h)}toString(f,h){f=f||null,h=h||null;let u=this,v="[";for(;null!==u&&u!==h;){if(null===f)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,f,h){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!==f?f:-1,this.stop=void 0!==h?h:-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(h,u){this.grammarType=h,this.maxTokenType=u,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(h,u){return new n(this).LOOK(h,null,u)}nextTokensNoContext(h){return null!==h.nextTokenWithinRule||(h.nextTokenWithinRule=this.nextTokensInContext(h,null),h.nextTokenWithinRule.readOnly=!0),h.nextTokenWithinRule}nextTokens(h,u){return void 0===u?this.nextTokensNoContext(h):this.nextTokensInContext(h,u)}addState(h){null!==h&&(h.atn=this,h.stateNumber=this.states.length),this.states.push(h)}removeState(h){this.states[h.stateNumber]=null}defineDecisionState(h){return this.decisionToState.push(h),h.decision=this.decisionToState.length-1,h.decision}getDecisionState(h){return 0===this.decisionToState.length?null:this.decisionToState[h]}getExpectedTokens(h,u){if(h<0||h>=this.states.length)throw"Invalid state number.";let b=this.nextTokens(this.states[h]);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(h,u){if(null===h){const v={state:null,alt:null,context:null,semanticContext:null};return u&&(v.reachesIntoOuterContext=0),v}{const v={};return v.state=h.state||null,v.alt=void 0===h.alt?null:h.alt,v.context=h.context||null,v.semanticContext=h.semanticContext||null,u&&(v.reachesIntoOuterContext=h.reachesIntoOuterContext||0,v.precedenceFilterSuppressed=h.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 f 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=f.prototype.hashCode,this.equalsForConfigSet=f.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 f&&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=f},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 f(v,b){return v===b||null!==v&&null!==b&&v.equalsForConfigSet(b)}class h{constructor(b){this.configLookup=new c.Set(r,f),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:f,BlockStartState:h,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:Ce,WildcardTransition:Re,PredicateTransition:Ae,PrecedencePredicateTransition:de}=a(6850),{IntervalSet:H}=a(9173),W=a(2905),{LexerActionType:pe,LexerSkipAction:we,LexerChannelAction:Ee,LexerCustomAction:Be,LexerMoreAction:G,LexerTypeAction:re,LexerPushModeAction:ae,LexerPopModeAction:ve,LexerModeAction:He}=a(201),Qe="59627784-3BE5-417A-B9EB-8131A7286089",Ge=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Qe],Ct=Qe;function Nt(Lt,Le){const lt=[];return lt[Lt-1]=Le,lt.map(function(ze){return Le})}const Tt=function Bt(){const Lt=[];for(let Le=0;Le<256;Le++)Lt[Le]=(Le+256).toString(16).substr(1).toUpperCase();return Lt}();Ie.exports=class _t{constructor(Le){null==Le&&(Le=W.defaultOptions),this.deserializationOptions=Le,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Le,lt){const ze=Ge.indexOf(Le);return!(ze<0)&&Ge.indexOf(lt)>=ze}deserialize(Le){this.reset(Le),this.checkVersion(),this.checkUUID();const lt=this.readATN();this.readStates(lt),this.readRules(lt),this.readModes(lt);const ze=[];return this.readSets(lt,ze,this.readInt.bind(this)),this.isFeatureSupported(Qe,this.uuid)&&this.readSets(lt,ze,this.readInt32.bind(this)),this.readEdges(lt,ze),this.readDecisions(lt),this.readLexerActions(lt),this.markPrecedenceDecisions(lt),this.verifyATN(lt),this.deserializationOptions.generateRuleBypassTransitions&<.grammarType===d.PARSER&&(this.generateRuleBypassTransitions(lt),this.verifyATN(lt)),lt}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(Ge.indexOf(Le)<0)throw Ct;this.uuid=Le}readATN(){const Le=this.readInt(),lt=this.readInt();return new c(Le,lt)}readStates(Le){let lt,ze,at;const N=[],oe=[],Y=this.readInt();for(let ce=0;ce0;)N.addTransition(K.transitions[ce-1]),K.transitions=K.transitions.slice(-1);Le.ruleToStartState[lt].addTransition(new Ce(N)),oe.addTransition(new Ce(ne));const Te=new r;Le.addState(Te),Te.addTransition(new X(oe,Le.ruleToTokenType[lt])),N.addTransition(new Ce(Te))}stateIsEndStateFor(Le,lt){if(Le.ruleIndex!==lt||!(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 lt=0;lt=0:ze.transitions.length<=1||ze instanceof p)}}checkCondition(Le,lt){if(!Le)throw null==lt&&(lt="IllegalState"),lt}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 lt=7;lt>=0;lt--){const ze=this.readInt();Le[2*lt+1]=255&ze,Le[2*lt]=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,lt,ze,at,N,oe,Y,ne){const K=Le.states[at];switch(lt){case I.EPSILON:return new Ce(K);case I.RANGE:return new A(K,0!==Y?n.EOF:N,oe);case I.RULE:return new ie(Le.states[N],oe,Y,K);case I.PREDICATE:return new Ae(K,N,oe,0!==Y);case I.PRECEDENCE:return new de(K,N);case I.ATOM:return new X(K,0!==Y?n.EOF:N);case I.ACTION:return new U(K,N,oe,0!==Y);case I.SET:return new $(K,ne[N]);case I.NOT_SET:return new ee(K,ne[N]);case I.WILDCARD:return new Re(K);default:throw"The specified transition type: "+lt+" is not valid."}}stateFactory(Le,lt){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=lt,ze}}lexerActionFactory(Le,lt,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)=>ve.INSTANCE,at[pe.PUSH_MODE]=(N,oe)=>new ae(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](lt,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(h,u){return this.atn=h,this.sharedContextCache=u,this}getCachedContext(h){if(null===this.sharedContextCache)return h;const u=new g;return d(h,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 h extends a{constructor(){return super(),this.stateType=a.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class f 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:f}=a(4280),{PredictionContext:h}=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 f;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 f 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 f&&this.mode===p.mode}toString(){return"mode("+this.mode+")"}}class h 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 h&&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:h,LexerIndexedCustomAction:v,LexerMoreAction:r,LexerTypeAction:c,LexerPushModeAction:d,LexerPopModeAction:g,LexerModeAction:f}},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 f=null;for(let h=0;h{const n=a(3340),{Set:c,BitSet:d,DoubleDict:g}=n,r=a(9800),{ATNState:f,RuleStopState:h}=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:Ce,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 ve=this.computeStartState(we.atnStartState,x.EMPTY,!1);we.precedenceDfa?(we.s0.configs=ve,ve=this.applyPrecedenceFilter(ve),G=this.addDFAState(we,new p(null,ve)),we.setPrecedenceStartState(this.parser.getPrecedence(),G)):(G=this.addDFAState(we,new p(null,ve)),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 ae=this.getExistingTargetState(G,re);if(null===ae&&(ae=this.computeTargetState(H,G,re)),ae===l.ERROR){const ve=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 ve}if(ae.requiresFullContext&&this.predictionMode!==y.SLL){let ve=null;if(null!==ae.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const Qe=pe.index;if(Qe!==we&&pe.seek(we),ve=this.evalSemanticContext(ae.predicates,Ee,!0),1===ve.length)return this.debug&&console.log("Full LL avoided"),ve.minValue();Qe!==we&&pe.seek(Qe)}this.dfa_debug&&console.log("ctx sensitive state "+Ee+" in "+ae);const Ze=this.computeStartState(H.atnStartState,Ee,!0);return this.reportAttemptingFullContext(H,ve,ae.configs,we,pe.index),Be=this.execATNWithFullContext(H,ae,Ze,pe,we,Ee),Be}if(ae.isAcceptState){if(null===ae.predicates)return ae.prediction;const ve=pe.index;pe.seek(we);const He=this.evalSemanticContext(ae.predicates,Ee,!0);if(0===He.length)throw this.noViableAlt(pe,Ee,ae.configs,we);return 1===He.length||this.reportAmbiguity(H,ae,we,ve,!1,He,ae.configs),He.minValue()}G=ae,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 ae,re=!1,ve=pe;we.seek(Ee);let He=we.LA(1),Ze=-1;for(;;){if(ae=this.computeReachSet(ve,He,!0),null===ae){const Ge=this.noViableAlt(we,Be,ve,Ee);we.seek(Ee);const tt=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(ve,Be);if(tt!==r.INVALID_ALT_NUMBER)return tt;throw Ge}const Qe=y.getConflictingAltSubsets(ae);if(this.debug&&console.log("LL altSubSets="+Qe+", predict="+y.getUniqueAlt(Qe)+", resolvesToJustOneViableAlt="+y.resolvesToJustOneViableAlt(Qe)),ae.uniqueAlt=this.getUniqueAlt(ae),ae.uniqueAlt!==r.INVALID_ALT_NUMBER){Ze=ae.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}ve=ae,He!==b.EOF&&(we.consume(),He=we.LA(1))}return ae.uniqueAlt!==r.INVALID_ALT_NUMBER?(this.reportContextSensitivity(H,Ze,ae,Ee,we.index),Ze):(this.reportAmbiguity(H,W,Ee,we.index,re,null,ae),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 h&&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 h){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!==f.STAR_LOOP_ENTRY||W.stateType!==f.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=Ce.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:f}=a(5516),{ATNConfigSet:h}=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 h;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 h(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 f 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 f&&this.precedence===b.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(b){const p=[];return b.values().map(function(_){_ instanceof f&&p.push(_)}),p}}class h extends g{constructor(b,p){super();const _=new n;b instanceof h?b.opnds.map(function(y){_.add(y)}):_.add(b),p instanceof h?p.opnds.map(function(y){_.add(y)}):_.add(p);const l=f.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=f.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:f,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 f 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 h 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:f}=a(7279);Ie.exports=class h{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 f(this).toString()}get states(){return this._states}}},7279:(Ie,B,a)=>{const n=a(3340);class c{constructor(r,f,h){this.dfa=r,this.literalNames=f||[],this.symbolicNames=h||[]}toString(){if(null===this.dfa.s0)return null;let r="";const f=this.dfa.sortedStates();for(let h=0;h"),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 f=(r.isAcceptState?":":"")+"s"+r.stateNumber+(r.requiresFullContext?"^":"");return r.isAcceptState?null!==r.predicates?f+"=>"+n.arrayToString(r.predicates):f+"=>"+r.prediction.toString():f}}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(h,u){return null===h&&(h=-1),null===u&&(u=new n),this.stateNumber=h,this.configs=u,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const h=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(f){super(),this.exactOnly=f=f||!0}reportAmbiguity(f,h,u,v,b,p,_){if(this.exactOnly&&!b)return;const l="reportAmbiguity d="+this.getDecisionDescription(f,h)+": ambigAlts="+this.getConflictingAlts(p,_)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(l)}reportAttemptingFullContext(f,h,u,v,b,p){const _="reportAttemptingFullContext d="+this.getDecisionDescription(f,h)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(_)}reportContextSensitivity(f,h,u,v,b,p){const _="reportContextSensitivity d="+this.getDecisionDescription(f,h)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(_)}getDecisionDescription(f,h){const u=h.decision,v=h.atnStartState.ruleIndex,b=f.ruleNames;if(v<0||v>=b.length)return""+u;const p=b[v]||null;return null===p||0===p.length?""+u:`${u} (${p})`}getConflictingAlts(f,h){if(null!==f)return f;const u=new n;for(let v=0;v{class B{syntaxError(d,g,r,f,h,u){}reportAmbiguity(d,g,r,f,h,u,v){}reportAttemptingFullContext(d,g,r,f,h,u){}reportContextSensitivity(d,g,r,f,h,u){}}class a extends B{constructor(){super()}syntaxError(d,g,r,f,h,u){console.error("line "+r+":"+f+" "+h)}}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,f,h,u){this.delegates.map(v=>v.syntaxError(d,g,r,f,h,u))}reportAmbiguity(d,g,r,f,h,u,v){this.delegates.map(b=>b.reportAmbiguity(d,g,r,f,h,u,v))}reportAttemptingFullContext(d,g,r,f,h,u){this.delegates.map(v=>v.reportAttemptingFullContext(d,g,r,f,h,u))}reportContextSensitivity(d,g,r,f,h,u){this.delegates.map(v=>v.reportContextSensitivity(d,g,r,f,h,u))}}}},2487:(Ie,B,a)=>{const{Token:n}=a(6205),{NoViableAltException:c,InputMismatchException:d,FailedPredicateException:g,ParseCancellationException:r}=a(5858),{ATNState:f}=a(5516),{Interval:h,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=f.INVALID_STATE_NUMBER);if(D.contains(n.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=l._ctx,this.nextTokensState=l._stateNumber);else switch(y.stateType){case f.BLOCK_START:case f.STAR_BLOCK_START:case f.PLUS_BLOCK_START:case f.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(l))return;throw new d(l);case f.PLUS_LOOP_BACK:case f.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 h(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 h(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,f,h=-1;const u=arguments.length;if(!u)return"";let v="";for(;++h1114111||a(b)!==b)throw RangeError("Invalid code point: "+b);b<=65535?g.push(b):(b-=65536,r=55296+(b>>10),f=b%1024+56320,g.push(r,f)),(h+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 f extends r{constructor(){super()}}class u extends f{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),f={toStringTree:function(h,u,v){u=u||null,null!==(v=v||null)&&(u=v.ruleNames);let b=f.getNodeText(h,u);b=n.escapeWhitespace(b,!1);const p=h.getChildCount();if(0===p)return b;let _="("+b+" ";p>0&&(b=f.toStringTree(h.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 f(A){return"string"!=typeof A&&(A=String(A)),A}function h(A){var U={next:function(){var Ce=A.shift();return{done:void 0===Ce,value:Ce}}};return n_iterable&&(U[Symbol.iterator]=function(){return U}),U}function u(A){this.map={},A instanceof u?A.forEach(function(U,Ce){this.append(Ce,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,Ce){A.onload=function(){U(A.result)},A.onerror=function(){Ce(A.error)}})}function p(A){var U=new FileReader,Ce=b(U);return U.readAsArrayBuffer(A),Ce}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,Ce=b(U);return U.readAsText(A),Ce}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function l(A){for(var U=new Uint8Array(A),Ce=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)&&Ce)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(Ce)}function I(A){var U=new FormData;return A.trim().split("&").forEach(function(Ce){if(Ce){var Re=Ce.split("="),Ae=Re.shift().replace(/\+/g," "),de=Re.join("=").replace(/\+/g," ");U.append(decodeURIComponent(Ae),decodeURIComponent(de))}}),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(":"),de=Ae.shift().trim();if(de){var H=Ae.join(":").trim();U.append(de,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,Ce){this.message=U,this.name=Ce;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(Ce,Re){var Ae=new E(A,U);if(Ae.signal&&Ae.signal.aborted)return Re(new a.DOMException("Aborted","AbortError"));var de=new XMLHttpRequest;function H(){de.abort()}de.onload=function(){var W={status:de.status,statusText:de.statusText,headers:X(de.getAllResponseHeaders()||"")};W.url="responseURL"in de?de.responseURL:W.headers.get("X-Request-URL"),Ce(new $("response"in de?de.response:de.responseText,W))},de.onerror=function(){Re(new TypeError("Network request failed"))},de.ontimeout=function(){Re(new TypeError("Network request failed"))},de.onabort=function(){Re(new a.DOMException("Aborted","AbortError"))},de.open(Ae.method,Ae.url,!0),"include"===Ae.credentials?de.withCredentials=!0:"omit"===Ae.credentials&&(de.withCredentials=!1),"responseType"in de&&n_blob&&(de.responseType="blob"),Ae.headers.forEach(function(W,pe){de.setRequestHeader(pe,W)}),Ae.signal&&(Ae.signal.addEventListener("abort",H),de.onreadystatechange=function(){4===de.readyState&&Ae.signal.removeEventListener("abort",H)}),de.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),f=Number(g);return r.setDate(r.getDate()+f),r}},6888:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var f=Number(r);return n(g,36e5*f)}},3895:(Ie,B,a)=>{var n=a(1420);Ie.exports=function c(d,g){var r=n(d).getTime(),f=Number(g);return new Date(r+f)}},3745:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var f=Number(r);return n(g,6e4*f)}},1277:(Ie,B,a)=>{var n=a(1420),c=a(7255);Ie.exports=function d(g,r){var f=n(g),h=Number(r),u=f.getMonth()+h,v=new Date(0);v.setFullYear(f.getFullYear(),u,1),v.setHours(0,0,0,0);var b=c(v);return f.setMonth(u,Math.min(b,f.getDate())),f}},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(),f=g.getMonth(),h=new Date(0);return h.setFullYear(r,f+1,0),h.setHours(0,0,0,0),h.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,f=/[T ]/,h=/:/,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(f);if(h.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 Ce(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),ve=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 ae=parseInt(we[2],10);return Ee.setUTCFullYear(pe,Be,ae),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(ve){var Qe,He=ve.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 de(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 Ge=He+Ze,tt=new Date(Ge);Qe=n(tt);var Ct=new Date(Ge);Ct.setDate(tt.getDate()+1);var Nt=n(Ct)-n(tt);Nt>0&&(Qe+=Nt)}return new Date(He+Ze+Qe)}return new Date(W)}},563:(Ie,B,a)=>{B.formatArgs=function c(h){if(h[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+h[0]+(this.useColors?"%c ":" ")+"+"+Ie.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;h.splice(1,0,u,"color: inherit");let v=0,b=0;h[0].replace(/%[a-zA-Z%]/g,p=>{"%%"!==p&&(v++,"%c"===p&&(b=v))}),h.splice(b,0,u)},B.save=function d(h){try{h?B.storage.setItem("debug",h):B.storage.removeItem("debug")}catch{}},B.load=function g(){let h;try{h=B.storage.getItem("debug")}catch{}return!h&&typeof process<"u"&&"env"in process&&(h=process.env.DEBUG),h},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 h=!1;return()=>{h||(h=!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:f}=Ie.exports;f.j=function(h){try{return JSON.stringify(h)}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 Ce=g.formatters[U];return"function"==typeof Ce&&(A=Ce.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 h(){const _=[...g.names.map(v),...g.skips.map(v).map(l=>"-"+l)].join(",");return g.enable(""),_},g.enable=function f(_){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,f){try{return[decodeURIComponent(r.join(""))]}catch{}if(1===r.length)return r;var h=r.slice(0,f=f||1),u=r.slice(f);return Array.prototype.concat.call([],c(h),c(u))}function d(r){try{return decodeURIComponent(r)}catch{for(var f=r.match(a)||[],h=1;h"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 f=Object.keys(d)[0];return void 0!==r.find(u=>u[f]===d[f])}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),f=a(7681),h=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 f(this),this.pagination=new h(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((Ce,Re)=>{function Ae(de){U.push(de)===$.numJobs&&Re(new Error(U.map(H=>H.message).join("; ")))}E.httpClient.request("GET",`${X}.well-known/smart-configuration`,ie.addSignalOption(I)).then(de=>($.safeAbortOthers(ie),Ce(g(de)))).catch(de=>Ae(de)),E.capabilityStatement(ee.addSignalOption(I)).then(de=>($.safeAbortOthers(ee),Ce(d(de)))).catch(de=>Ae(de)),E.httpClient.request("GET",`${X}.well-known/openid-configuration`,A.addSignalOption(I)).then(de=>($.safeAbortOthers(A),Ce(g(de)))).catch(de=>Ae(de))})})()}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 f=0,h=this.numJobs;f{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"},f="__response",h="__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[f]}static requestFor(D){return D[h]}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 Ce=yield ie.text();let Re={};if(Ce)try{Re=JSON.parse(Ce)}catch{throw Re=Ce,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,f,{writable:!1,enumerable:!1,value:ie}),Object.defineProperty(Re,h,{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 f(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 h(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:f,options:h={}}={}){var u=this;return n(function*(){return void 0===r?g.startsWith("http")?u.resolveAbsoluteReference(g,d(h,f)):u.client.httpClient.get(g,d(h,f)):g.startsWith("#")?u.resolveContainedReference(g,r):u.resolveBundleReference(g,r,d(h,f))})()}resolveAbsoluteReference(g,r){var f=this;return n(function*(){if(g.startsWith(f.client.baseUrl))return f.client.httpClient.get(g,r);const{baseUrl:h,resourceType:u,id:v}=c(g);return new(a(8907))({baseUrl:h}).read({resourceType:u,id:v,options:r})})()}resolveContainedReference(g,r){if(r.contained){const f=g.slice(1),h=r.contained.find(u=>u.id===f);if(h)return h}throw new Error(`Unable to resolve contained reference: ${g}`)}resolveBundleReference(g,r,f){var h=this;return n(function*(){const u=new RegExp(`(^|/)${g}$`),v=r.entry.find(b=>u.test(b.fullUrl));return v?v.resource:h.resolve({reference:g,options:f})})()}}},6686:(Ie,B,a)=>{const{logError:c}=a(1566);Ie.exports={authFromCapability:function d(r){const f={};try{return r.rest.forEach(h=>{h.security.extension.find(v=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===v.url).extension.forEach(v=>{switch(v.url){case"authorize":f.authorizeUrl=new URL(v.valueUri);break;case"token":f.tokenUrl=new URL(v.valueUri);break;case"register":f.registerUrl=new URL(v.valueUri);break;case"manage":f.manageUrl=new URL(v.valueUri)}})}),f}catch(h){return c(h),f}},authFromWellKnown:function g(r){const{authorization_endpoint:f,token_endpoint:h,registration_endpoint:u}=r;return{authorizeUrl:f&&new URL(f),tokenUrl:h&&new URL(h),registerUrl:u&&new URL(u)}}}},9047:(Ie,B,a)=>{const n=a(133),{fhirReferenceRegEx:c}=a(4115);Ie.exports={createQueryString:function r(f){if(f instanceof Object&&Object.keys(f).length>0)return n.stringify(f)},splitReference:function d(f){if(!f.match(c))throw new Error(`${f} is not a recognized FHIR reference`);let h,u=f;f.startsWith("http")&&([,h]=c.exec(f),u=f.slice(h.length),h.endsWith("/")&&(h=h.slice(0,-1)));const[v,b]=u.split("/");return{baseUrl:h,resourceType:v,id:b}},validResourceType:function g(f){return!f.startsWith("/")&&!f.includes(":")&&/\S/.test(f)}}},4258:(Ie,B,a)=>{let n={};const c=a(7353),d=a(5117),g=a(5827);n.aggregateMacro=function(r,f,h){return r.reduce((u,v,b)=>(this.$index=b,this.$total=f(v)),this.$total=h)},n.countFn=function(r){return r&&r.length?r.length:0},n.sumFn=function(r){return n.aggregateMacro.apply(this,[r,f=>c.plus(g.arraify(f),g.arraify(this.$total)),0])},n.minFn=function(r){return n.aggregateMacro.apply(this,[r,f=>{const h=g.arraify(f),u=g.arraify(this.$total);return g.isEmpty(u)||d.lt(h,u)?h:u}])},n.maxFn=function(r){return n.aggregateMacro.apply(this,[r,f=>{const h=g.arraify(f),u=g.arraify(this.$total);return g.isEmpty(u)||d.gt(h,u)?h: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 f=0;f1)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 f=[];const h=g.length;let u=r.length;if(h&&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[_]&&(f.push(p),v[_]=!1,u--)}}return f},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,f=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 f(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,f=Object.keys,h=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(h(y)||h(x))return p(y=h(y)?r.call(y):y,x=h(x)?r.call(x):x,D);try{var I=f(y),X=f(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,f=d.FP_DateTime;var h={};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?f:p.constructor,y=_.constructor===r?f:_.constructor;return l!==y&&n.raiseError('Type of "'+p+'" ('+l.name+') did not match type of "'+_+'" ('+y.name+")","InequalityExpression"),[p,_]}h.equal=function(p,_){return u(p,_)},h.unequal=function(p,_){var l=u(p,_);return void 0===l?void 0:!l},h.equival=function(p,_){return v(p,_)},h.unequival=function(p,_){return!v(p,_)},h.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},h.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},h.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=h},631:(Ie,B,a)=>{const n=a(5827),{whereMacro:c,distinctFn:d}=a(5073),g=a(6777),r=a(6190),f={};function h(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}f.emptyFn=n.isEmpty,f.notFn=function(u){let v=g.singleton(u,"Boolean");return"boolean"==typeof v?!v:[]},f.existsMacro=function(u,v){var b=u;return v?f.existsMacro(c(u,v)):!n.isEmpty(b)},f.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={},f=a(631),h=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 Ce=A.makeResNode;function Re(re,ae,ve,He){if("Expr"===ve)return function(Qe){return re.$this=d.arraify(Qe),r.doEval(re,re.$this,He)};if("AnyAtRoot"===ve)return re.$this=re.$this||re.dataRoot,r.doEval(re,re.$this,He);if("Identifier"===ve){if("TermExpression"===He.type)return He.text;throw new Error("Expected identifier node, got "+JSON.stringify(He))}if("TypeSpecifier"===ve)return r.TypeSpecifier(re,ae,He);re.$this=ae;const Ze=r.doEval(re,ae,He);if("Any"===ve)return Ze;if(Array.isArray(ve)){if(0===Ze.length)return[];ve=ve[0]}return b.singleton(Ze,ve)}function de(re){return null==re||d.isEmpty(re)}function H(re,ae,ve,He){var Ze=r.invocationTable[ae];if(Ze&&Ze.fn){var Qe=He?He.length:0;if(2!==Qe)throw new Error("Infix invoke should have arity 2");var Ge=Ze.arity[Qe];if(Ge){for(var tt=[],Ct=0;CtCt?.__path__?Ce(Ct,Ct?.__path__):Ct),Ge={context:Qe,ucum:"http://unitsofmeasure.org"};ve&&(ve=Object.keys(ve).reduce((Ct,Nt)=>(Ct[Nt]=Array.isArray(ve[Nt])?ve[Nt].map(_t=>_t?.__path__?Ce(_t,_t.__path__):_t):ve[Nt]?.__path__?Ce(ve[Nt],ve[Nt].__path__):ve[Nt],Ct),{}));let tt={dataRoot:Qe,vars:Object.assign(Ge,ve),model:He};return Ze&&Ze.traceFn&&(tt.customTraceFn=Ze.traceFn),r.doEval(tt,Qe,ae.children[0]).map(Ct=>{let Nt=Ct instanceof A?Ct.path:null;return(Ct=d.valData(Ct))instanceof ie&&Ze.resolveInternalTypes&&(Ct=Ct.toString()),Nt&&"object"==typeof Ct&&Object.defineProperty(Ct,"__path__",{value:Nt}),Ct})}function Be(re,ae,ve){if(ve={resolveInternalTypes:!0,...ve},"object"==typeof re){const He=W(re.expression);return function(Ze,Qe){const Ge=re.base?Ce(Ze,re.base):Ze;return U.model=ae,pe(Ge,He,Qe,ae,ve)}}{const He=W(re);return function(Ze,Qe){return U.model=ae,pe(Ze,He,Qe,ae,ve)}}}r.invocationTable={empty:{fn:f.emptyFn},not:{fn:f.notFn},exists:{fn:f.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:f.allMacro,arity:{1:["Expr"]}},allTrue:{fn:f.allTrueFn},anyTrue:{fn:f.anyTrueFn},allFalse:{fn:f.allFalseFn},anyFalse:{fn:f.anyFalseFn},subsetOf:{fn:f.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:f.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:f.isDistinctFn},distinct:{fn:h.distinctFn},count:{fn:u.countFn},where:{fn:h.whereMacro,arity:{1:["Expr"]}},extension:{fn:h.extension,arity:{1:["String"]}},select:{fn:h.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:h.singleFn},first:{fn:h.firstFn},last:{fn:h.lastFn},type:{fn:E.typeFn,arity:{0:[]}},ofType:{fn:h.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:E.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:E.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:h.tailFn},take:{fn:h.takeFn,arity:{1:["Integer"]}},skip:{fn:h.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:h.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,ae,ve){return ve.children.reduce(function(He,Ze){return r.doEval(re,He,Ze)},ae)},r.TermExpression=function(re,ae,ve){return ae&&(ae=ae.map(He=>He instanceof Object&&He.resourceType?Ce(He,He.resourceType):He)),r.doEval(re,ae,ve.children[0])},r.PolarityExpression=function(re,ae,ve){var He=ve.terminalNodeText[0],Ze=r.doEval(re,ae,ve.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,ae,ve){let He,Ze;const Qe=ve.text.split(".").map(Ge=>Ge.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(ve))}return new U({namespace:He,name:Ze})},r.ExternalConstantTerm=function(re,ae,ve){var Qe=r.Identifier(re,ae,ve.children[0].children[0])[0],Ge=re.vars[Qe];if(!(Qe in re.vars))throw new Error("Attempting to access an undefined environment variable: "+Qe);return null==Ge?[]:Ge instanceof Array?Ge:[Ge]},r.LiteralTerm=function(re,ae,ve){var He=ve.children[0];return He?r.doEval(re,ae,He):[ve.text]},r.StringLiteral=function(re,ae,ve){var He=ve.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,ae,ve){return"true"===ve.text?[!0]:[!1]},r.QuantityLiteral=function(re,ae,ve){var He=ve.children[0],Ze=Number(He.terminalNodeText[0]),Qe=He.children[0],Ge=Qe.terminalNodeText[0];return!Ge&&Qe.children&&(Ge=Qe.children[0].terminalNodeText[0]),[new ee(Ze,Ge)]},r.DateTimeLiteral=function(re,ae,ve){var He=ve.text.slice(1);return[new X(He)]},r.TimeLiteral=function(re,ae,ve){var He=ve.text.slice(1);return[new $(He)]},r.NumberLiteral=function(re,ae,ve){return[Number(ve.text)]},r.Identifier=function(re,ae,ve){return[ve.text.replace(/(^`|`$)/g,"")]},r.InvocationTerm=function(re,ae,ve){return r.doEval(re,ae,ve.children[0])},r.MemberInvocation=function(re,ae,ve){const He=r.doEval(re,ae,ve.children[0])[0],Ze=re.model;if(ae){if(d.isCapitalized(He))return ae.filter(Qe=>Qe instanceof A&&Qe.path===He);{const Qe=ae.path||ae.__path__;return ae.reduce(function(Ge,tt){var Ct=(tt=Ce(tt,Qe)).path+"."+He;if(Ze){let Tt=Ze.pathsDefinedElsewhere[Ct];Tt&&(Ct=Tt)}let Nt,_t,Bt=Ze&&Ze.choiceTypePaths[Ct];if(Bt)for(let Tt of Bt){let Lt=He+Tt;if(Nt=tt.data?.[Lt],_t=tt.data?.["_"+Lt],void 0!==Nt||void 0!==_t){Ct+=Tt;break}}else Nt=tt.data?.[He],_t=tt.data?.["_"+He],void 0===Nt&&void 0===_t&&(Nt=tt._data[He]),"extension"===He&&(Ct="Extension");return Ct=Ze&&Ze.path2Type[Ct]||Ct,(d.isSome(Nt)||d.isSome(_t))&&(Array.isArray(Nt)?Ge=Ge.concat(Nt.map((Tt,Lt)=>Ce(Tt,Ct,_t&&_t[Lt]))):Ge.push(Ce(Nt,Ct,_t))),Ge},[])}}return[]},r.IndexerExpression=function(re,ae,ve){const Ze=ve.children[1];var Qe=r.doEval(re,ae,ve.children[0]),Ge=r.doEval(re,ae,Ze);if(d.isEmpty(Ge))return[];var tt=parseInt(Ge[0]);return Qe&&d.isSome(tt)&&Qe.length>tt&&tt>=0?[Qe[tt]]:[]},r.Functn=function(re,ae,ve){return ve.children.map(function(He){return r.doEval(re,ae,He)})},r.realizeParams=function(re,ae,ve){return ve&&ve[0]&&ve[0].children?ve[0].children.map(function(He){return r.doEval(re,ae,He)}):[]},r.FunctionInvocation=function(re,ae,ve){var He=r.doEval(re,ae,ve.children[0]);const Ze=He[0];return He.shift(),function Ae(re,ae,ve,He){var Qe,Ze=r.invocationTable[ae];if(Ze){if(Ze.arity){var Ge=He?He.length:0,tt=Ze.arity[Ge];if(tt){for(var Ct=[],Nt=0;Nt{const ve=U.fromValue(ae?.__path__?new A(ae,ae.__path__):ae);return`${ve.namespace}.${ve.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(f,h){return!1===f||f?n.flatten(f.filter((u,v)=>(this.$index=v,h(u)[0]))):[]},extension:function(f,h){return!1!==f&&!f||!h?[]:n.flatten(f.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===h).map(p=>d.makeResNode(p,"Extension")):[]}))},selectMacro:function(f,h){return!1===f||f?n.flatten(f.map((u,v)=>(this.$index=v,h(u)))):[]},repeatMacro:function(f,h){if(!1!==f&&!f)return[];let u=[];const v={},b=f.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(h))},distinctFn:function(f){let h=[];if(f.length>0){let u={};for(let v=0,b=f.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 h(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(h):Object.keys(u).sort().reduce((v,b)=>(v[b]=h(u[b]),v),{}):u}Ie.exports=function f(u){return JSON.stringify(h(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 f(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 h(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(h(u))return[];{let v=f(u);return Math.abs(v)}},r.ceiling=function(u){if(h(u))return[];{let v=f(u);return Math.ceil(v)}},r.exp=function(u){if(h(u))return[];{let v=f(u);return Math.exp(v)}},r.floor=function(u){if(h(u))return[];{let v=f(u);return Math.floor(v)}},r.ln=function(u){if(h(u))return[];{let v=f(u);return Math.log(v)}},r.log=function(u,v){if(h(u)||h(v))return[];{let b=f(u),p=f(v);return Math.log(b)/Math.log(p)}},r.power=function(u,v){if(h(u)||h(v))return[];{let b=f(u),p=f(v);return b<0&&Math.floor(p)!=p?[]:Math.pow(b,p)}},r.round=function(u,v){if(h(u))return[];{let b=f(u);if(h(v))return Math.round(b);{let p=f(v),_=Math.pow(10,p);return Math.round(b*_)/_}}},r.sqrt=function(u){if(h(u))return[];{let v=f(u);return v<0?[]:Math.sqrt(v)}},r.truncate=function(u){if(h(u))return[];{let v=f(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 f=/^((\+|-)?\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=f.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 f=this.model;return r.reduce(function(h,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(f){let l=f.pathsDefinedElsewhere[_];l&&(_=l)}Array.isArray(p)?h.push.apply(h,p.map(l=>d(l,_))):h.push(d(p,_))}return h}return h},[])},descendants:function(r){for(var f=g.children.call(this,r),h=[];f.length>0;)h.push.apply(h,f),f=g.children.call(this,f);return h}};Ie.exports=g},4192:Ie=>{let B={};function a(g){const f=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +g);if(!f)return 0;const h=f[2];return Math.max(0,("0"===h?0:(h||"").length)-(f[3]||0))}function n(g,r){const f=Math.pow(10,r);return Math.round(g*f)/f}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 f=Math.min(a(g),a(r));return 0===f?Math.round(g)===Math.round(r):n(g,f)===n(r,f)},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((h,u)=>new c.dfa.DFA(h,u));class f extends c.Lexer{constructor(u){super(u),this._interp=new c.atn.LexerATNSimulator(this,g,r,new c.PredictionContextCache)}get atn(){return g}}n(f,"grammarFileName","FHIRPath.g4"),n(f,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),n(f,"modeNames",["DEFAULT_MODE"]),n(f,"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(f,"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(f,"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"]),f.EOF=c.Token.EOF,f.T__0=1,f.T__1=2,f.T__2=3,f.T__3=4,f.T__4=5,f.T__5=6,f.T__6=7,f.T__7=8,f.T__8=9,f.T__9=10,f.T__10=11,f.T__11=12,f.T__12=13,f.T__13=14,f.T__14=15,f.T__15=16,f.T__16=17,f.T__17=18,f.T__18=19,f.T__19=20,f.T__20=21,f.T__21=22,f.T__22=23,f.T__23=24,f.T__24=25,f.T__25=26,f.T__26=27,f.T__27=28,f.T__28=29,f.T__29=30,f.T__30=31,f.T__31=32,f.T__32=33,f.T__33=34,f.T__34=35,f.T__35=36,f.T__36=37,f.T__37=38,f.T__38=39,f.T__39=40,f.T__40=41,f.T__41=42,f.T__42=43,f.T__43=44,f.T__44=45,f.T__45=46,f.T__46=47,f.T__47=48,f.T__48=49,f.T__49=50,f.T__50=51,f.T__51=52,f.T__52=53,f.T__53=54,f.DATETIME=55,f.TIME=56,f.IDENTIFIER=57,f.DELIMITEDIDENTIFIER=58,f.STRING=59,f.NUMBER=60,f.WS=61,f.COMMENT=62,f.LINE_COMMENT=63,Ie.exports=f},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),f=r.decisionToState.map((at,N)=>new c.dfa.DFA(at,N)),h=new c.PredictionContextCache;class u extends c.Parser{constructor(N){super(N),this._interp=new c.atn.ParserATNSimulator(this,r,f,h),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),K=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,K=ne,this.state=34,this.term();break;case u.T__3:case u.T__4:ne=new _(this,ne),this._ctx=ne,K=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 et=this._interp.adaptivePredict(this._input,2,this._ctx);2!=et&&et!=c.atn.ATN.INVALID_ALT_NUMBER;){if(1===et)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),K=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(ve,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 Ce extends U{constructor(N,oe){super(N),super.copyFrom(oe)}externalConstant(){return this.getTypedRuleContext(ae,0)}enterRule(N){N instanceof d&&N.enterExternalConstantTerm(this)}exitRule(N){N instanceof d&&N.exitExternalConstantTerm(this)}}u.ExternalConstantTermContext=Ce;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 de extends U{constructor(N,oe){super(N),super.copyFrom(oe)}invocation(){return this.getTypedRuleContext(ve,0)}enterRule(N){N instanceof d&&N.enterInvocationTerm(this)}exitRule(N){N instanceof d&&N.exitInvocationTerm(this)}}u.InvocationTermContext=de;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(_t,0)}enterRule(N){N instanceof d&&N.enterQuantityLiteral(this)}exitRule(N){N instanceof d&&N.exitQuantityLiteral(this)}}u.QuantityLiteralContext=re;class ae 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 ve 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 ve{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 ve{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 ve{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 Ge extends ve{constructor(N,oe){super(N),super.copyFrom(oe)}functn(){return this.getTypedRuleContext(Ct,0)}enterRule(N){N instanceof d&&N.enterFunctionInvocation(this)}exitRule(N){N instanceof d&&N.exitFunctionInvocation(this)}}u.FunctionInvocationContext=Ge;class tt extends ve{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 Ct 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(Nt,0)}enterRule(N){N instanceof d&&N.enterFunctn(this)}exitRule(N){N instanceof d&&N.exitFunctn(this)}}class Nt 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 _t 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(Lt,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 Lt 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(lt,0)}enterRule(N){N instanceof d&&N.enterTypeSpecifier(this)}exitRule(N){N instanceof d&&N.exitTypeSpecifier(this)}}class lt 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=ae,u.InvocationContext=ve,u.FunctnContext=Ct,u.ParamListContext=Nt,u.QuantityContext=_t,u.UnitContext=Bt,u.DateTimePrecisionContext=Tt,u.PluralDateTimePrecisionContext=Lt,u.TypeSpecifierContext=Le,u.QualifiedIdentifierContext=lt,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(h){var u=new n.InputStream(h),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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.indexOf(u)},d.substring=function(h,u,v){const b=c.singleton(h,"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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.startsWith(u)},d.endsWith=function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.endsWith(u)},d.containsFn=function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.includes(u)},d.upper=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.toUpperCase()},d.lower=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.toLowerCase()},d.joinFn=function(h,u){return void 0===u&&(u=""),h.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(h,u){const v=c.singleton(h,"String");return n.isEmpty(v)?[]:v.split(u)},d.trimFn=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.trim()},d.encodeFn=function(h,u){const v=c.singleton(h,"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(h,u){const v=c.singleton(h,"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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(u,"s").test(v)}:function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(function r(h){return g[h]||(g[h]=h.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[h]}(u)).test(v)},d.replace=function(h,u,v){const b=c.singleton(h,"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(h,u,v){const b=c.singleton(h,"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(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.length},d.toChars=function(h){const u=c.singleton(h,"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 f="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",h=new RegExp("^T?"+f+"$"),u=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+f+")?)?)?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 Ce=p.toUcumQuantity(this.value,this.unit),Re=p.toUcumQuantity(A.value,A.unit),Ae=d.convertUnitTo(Re.unit,Re.value,Ce.unit);return"succeeded"===Ae.status&&g.isEqual(Ce.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),Ce=p.getEquivalentUcumUnitCode(A.unit),Re=d.convertUnitTo(Ce,A.value,U);return"succeeded"===Re.status&&g.isEquivalent(this.value,Re.toVal)}_compareYearsAndMonths(A){const U=p._yearMonthConversionFactor[this.unit],Ce=p._yearMonthConversionFactor[A.unit];return U&&Ce?{isEqual:g.isEqual(this.value*U,A.value*Ce)}: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 Ce=p._yearMonthConversionFactor[ie],Re=p._yearMonthConversionFactor[U];if(Ce&&Re)return new p(Ce*A/Re,U);const Ae=p._calendarDuration2Seconds[ie],de=p._calendarDuration2Seconds[U];if(de){if(Ae)return new p(Ae*A/de,U);{const H=d.convertUnitTo(ie.replace(/^'|'$/g,""),A,"s");if("succeeded"===H.status)return new p(H.toVal/de,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 Ce=p.arithmeticDurationUnits[A.unit];if(!Ce)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[Ce];if(void 0===Ae)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(Re._timeUnitToDatePrecision).join(", ")+".");let de=A.value;const H=Re===x;if((H?Ae<2:Ae<5)&&(de=Math.trunc(de)),this._getPrecision()2?new y(de)._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(),Ce=A._getPrecision(),Re=U<=Ce?this._getDateObj().getTime():this._dateAtPrecision(Ce).getTime(),Ae=Ce<=U?A._getDateObj().getTime():A._dateAtPrecision(U).getTime();return U!==Ce&&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 Ce=U;Ce>=0&&void 0===this.precision;--Ce)this.timeMatchData[Ce]&&(this.precision=Ce);return this.timeMatchData}_getTimeParts(A){var U=[];U=[A[0]];var Ce=A[4];if(Ce){let H=U[0];U[0]=H.slice(0,H.length-Ce.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 de=A[3];de&&(U[2]=Ae.slice(0,Ae.length-de.length),U[3]=de)}}return U}_getDateObj(){if(!this.dateObj){var A=this._getPrecision();this.dateObj=this._dateAtPrecision(A)}return this.dateObj}_createDate(A,U,Ce,Re,Ae,de,H,W){var pe=new Date(A,U,Ce,Re,Ae,de,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 Ce=this._getMatchData(),Re=Ce[0];this.timeParts=[Re];var U=Ce[1];if(U){this.timeParts[0]=Re.slice(0,Re.length-U.length),this.timeParts[1]=U;let Ae=Ce[2];if(Ae){this.timeParts[1]=U.slice(0,U.length-Ae.length),this.timeParts[2]=Ae;let de=Ce[3];de&&(this.timeParts[2]=Ae.slice(0,Ae.length-de.length),"T"===de[0]&&(Ce[3]=de.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(Ce.slice(3))))}}}return this.timeParts}_dateAtPrecision(U){var Ce=this._getTimeParts(),Re=this._getMatchData()[7],Ae=this._getPrecision(),de=parseInt(Ce[0]),H=Ae>0?parseInt(Ce[1].slice(1))-1:0,W=Ae>1?parseInt(Ce[2].slice(1)):1,pe=Ae>2?parseInt(Ce[3]):0,we=Ae>3?parseInt(Ce[4].slice(1)):0,Ee=Ae>4?parseInt(Ce[5].slice(1)):0,Be=Ce.length>6?parseInt(Ce[6].slice(1)):0,G=this._createDate(de,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(de,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 Ce=this._getTimeParts(),Re=this._getMatchData()[4],Ae=this._getPrecision(),pe=parseInt(Ce[0]),we=Ae>0?parseInt(Ce[1].slice(1)):0,Ee=Ae>1?parseInt(Ce[2].slice(1)):0,Be=Ce.length>3?parseInt(Ce[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(h,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 Ce=ie.getTimezoneOffset(),Re=Ce<0?"+":"-",Ae=(Ce=Math.abs(Ce))%60;U+=Re+D((Ce-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,Ce,Re){U?.resourceType&&(Ce=U.resourceType),this.path=Ce,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,Ce){return A instanceof ie?A:new ie(A,U,Ce)},ie})(),I=(()=>{class ie{constructor({name:U,namespace:Ce}){this.name=U,this.namespace=Ce}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 Ce=typeof U;return Number.isInteger(U)?Ce="integer":"number"===Ce?Ce="decimal":U instanceof S?Ce="date":U instanceof y?Ce="dateTime":U instanceof x?Ce="time":U instanceof p&&(Ce="Quantity"),A===ie.System&&(Ce=Ce.replace(/^\w/,Re=>Re.toUpperCase())),new ie({namespace:A,name:Ce})},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:h,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,f){let h=this.valData(g);if(r.indexOf(typeof h)<0){let u=r.length>1?"one of "+r.join(", "):r[0];n.raiseError("Found type '"+typeof g+"' but was expecting "+u,f)}return h},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,f){return Array.isArray(f)?r=r.concat(f):r.push(f),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(f,h){return g[0]===h?"[Circular ~]":"[Circular ~."+r.slice(0,g.indexOf(h)).join(".")+"]"}),function(f,h){if(g.length>0){var u=g.indexOf(this);~u?g.splice(u+1):g.push(this),~u?r.splice(u,1/0,f):r.push(f),~g.indexOf(h)&&(h=d.call(this,f,h))}else g.push(h);return null==c?h:c.call(this,f,h)}}(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 h(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 f(u){return h(u,c,"day")||h(u,n,"hour")||h(u,a,"minute")||h(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),f=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(Ce=>p(Ce,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 h(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,[f]:!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[f]?b(E.fragmentIdentifier,I):E.fragmentIdentifier}`),`${X}${A}${U}`},B.pick=(E,I,X)=>{X=Object.assign({parseFragmentIdentifier:!0,[f]:!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:f}=this;if(g)throw r;return this._throwIfClosed(),f}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),f=a(4674),h=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,f.m)(_.next)&&(0,f.m)(_.error)&&(0,f.m)(_.complete)}(_)&&(0,c.Nn)(_)}(y)?y:new n.Hp(y,x,D);return(0,h.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,f=1/0,h=c.l){super(),this._bufferSize=r,this._windowTime=f,this._timestampProvider=h,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=f===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,f)}next(r){const{isStopped:f,_buffer:h,_infiniteTimeWindow:u,_timestampProvider:v,_windowTime:b}=this;f||(h.push(r),!u&&h.push(v.now()+b)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const f=this._innerSubscribe(r),{_infiniteTimeWindow:h,_buffer:u}=this,v=u.slice();for(let b=0;b{"use strict";a.d(B,{x:()=>h});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),f=a(1441);let h=(()=>{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,f.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const _ of this.currentObservers)_.next(p)}})}error(p){(0,f.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:_}=this;for(;_.length;)_.shift().error(p)}})}complete(){(0,f.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 h{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 f=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 h($){return v("E",void 0,$)}(ee),this):(this.isStopped=!0,this._error(ee))}complete(){this.isStopped?I(f,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 Ce;this&&d.config.useDeprecatedNextContext?(Ce=Object.create(ee),Ce.unsubscribe=()=>this.unsubscribe(),U={next:ee.next&&y(ee.next,Ce),error:ee.error&&y(ee.error,Ce),complete:ee.complete&&y(ee.complete,Ce)}):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:()=>f,w0:()=>r,Nn:()=>h});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 f=r.EMPTY;function h(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:()=>f});var n=a(5592),c=a(7394),d=a(6196),g=a(8251),r=a(9360);class f 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),f=a(9940),h=a(2714),u=a(8251),v=a(7103);function b(...l){const y=(0,f.yG)(l),x=(0,f.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,h.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),f=a(7400),h=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,h.n)(_,D):D),y.complete())}))}});return b?l.pipe((0,f.Z)(b)):l}},2459:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>ee});var n=a(4829),c=a(3093),d=a(5137),f=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 f.y(U=>{(0,b.f)(U,A,()=>{const Ce=ie[Symbol.asyncIterator]();(0,b.f)(U,A,()=>{Ce.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 h(ie,A){return new f.y(U=>{let Ce=0;return A.schedule(function(){Ce===ie.length?U.complete():(U.next(ie[Ce++]),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 f.y(U=>{let Ce;return(0,b.f)(U,A,()=>{Ce=ie[u.h](),(0,b.f)(U,A,()=>{let Re,Ae;try{({value:Re,done:Ae}=Ce.next())}catch(de){return void U.error(de)}Ae?U.complete():U.next(Re)},0,!0)}),()=>(0,v.m)(Ce?.return)&&Ce.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),f=a(7400);const h=["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,f.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)?h.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),f=a(5726),h=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,f.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,h.z)($)}function E($){return new g.y(ee=>{(function X($,ee){var ie,A,U,Ce;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&&(Ce=ie.return)&&(yield Ce.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:()=>f});var n=a(7537),c=a(4829),d=a(6232),g=a(9940),r=a(2459);function f(...h){const u=(0,g.yG)(h),v=(0,g._6)(h,1/0),b=h;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:()=>f,S:()=>r});var n=a(5592),c=a(4829),d=a(7728),g=a(8251);function r(...h){return 1===(h=(0,d.k)(h)).length?(0,c.Xf)(h[0]):new n.y(f(h))}function f(h){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 f=(0,c.m)(g)?g:()=>g,h=u=>u.error(f());return new n.y(r?u=>r.schedule(h,0,u):h)}},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(f=0,h,u=c.P){let v=-1;return null!=h&&((0,d.K)(h)?u=h:v=h),new n.y(b=>{let p=(0,g.q)(f)?+f-u.now():f;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,{$:()=>h});var n=a(5592),c=a(4829),d=a(7728),g=a(6232),r=a(8251),f=a(9940);function h(...u){const v=(0,f.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,f,h,u){return new d(g,r,f,h,u)}class d extends n.Lv{constructor(r,f,h,u,v,b){super(r),this.onFinalize=v,this.shouldUnsubscribe=b,this._next=f?function(p){try{f(p)}catch(_){r.error(_)}}:super._next,this._error=u?function(p){try{u(p)}catch(_){r.error(_)}finally{this.unsubscribe()}}:super._error,this._complete=h?function(){try{h()}catch(p){r.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:f}=this;super.unsubscribe(),!f&&(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)((f,h)=>{let u=!1,v=null,b=null,p=!1;const _=()=>{if(b?.unsubscribe(),b=null,u){u=!1;const y=v;v=null,h.next(y)}p&&h.complete()},l=()=>{b=null,p&&h.complete()};f.subscribe((0,d.x)(h,y=>{u=!0,v=y,b||(0,c.Xf)(r(y)).subscribe(b=(0,d.x)(h,_,l))},()=>{p=!0,(!u||!b||b.closed)&&h.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,f=n.z){return(0,c.U)(()=>(0,d.H)(r,f))}},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)((f,h)=>{let b,u=null,v=!1;u=f.subscribe((0,c.x)(h,void 0,void 0,p=>{b=(0,n.Xf)(r(p,g(r)(f))),u?(u.unsubscribe(),u=null,b.subscribe(h)):v=!0})),v&&(u.unsubscribe(),u=null,b.subscribe(h))})}},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,f=n.z){return(0,c.e)((h,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=f.now();if(x{b=y,p=f.now(),v||(v=f.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,f)=>{let h=!1;r.subscribe((0,c.x)(f,u=>{h=!0,f.next(u)},()=>{h||f.next(g),f.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,f=n.z){const h=(0,d.H)(r,f);return(0,c.j)(()=>h)}},4610:(Ie,B,a)=>{"use strict";a.d(B,{j:()=>h});var n=a(34),c=a(8180),d=a(7538),g=a(975),r=a(9769),f=a(4829);function h(u,v){return v?b=>(0,n.z)(v.pipe((0,c.q)(1),(0,d.l)()),b.pipe(h(u))):(0,r.z)((b,p)=>(0,f.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(f,h=n.y){return f=f??r,(0,c.e)((u,v)=>{let b,p=!0;u.subscribe((0,d.x)(v,_=>{const l=h(_);(p||!f(b,l))&&(p=!1,b=l,v.next(_))}))})}function r(f,h){return f===h}},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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>g.call(r,v,u++)&&h.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:()=>h});var n=a(6973),c=a(2181),d=a(8180),g=a(3572),r=a(3026),f=a(2737);function h(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):f.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,f)=>{r.subscribe((0,c.x)(f,d.Z))})}},2032:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>h});var n=a(6973),c=a(2181),d=a(4418),g=a(3026),r=a(3572),f=a(2737);function h(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):f.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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>{h.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,f,h,u,v,b,p,_){const l=[];let y=0,x=0,D=!1;const S=()=>{D&&!l.length&&!y&&f.complete()},E=X=>y{b&&f.next(X),y++;let $=!1;(0,n.Xf)(h(X,x++)).subscribe((0,d.x)(f,ee=>{v?.(ee),b?E(ee):f.next(ee)},()=>{$=!0},void 0,()=>{if($)try{for(y--;l.length&&yI(ee)):I(ee)}S()}catch(ee){f.error(ee)}}))};return r.subscribe((0,d.x)(f,E,()=>{D=!0,S()})),()=>{_?.()}}},9769:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>f});var n=a(7398),c=a(4829),d=a(9360),g=a(564),r=a(4674);function f(h,u,v=1/0){return(0,r.m)(u)?f((b,p)=>(0,n.U)((_,l)=>u(b,_,p,l))((0,c.Xf)(h(b,p))),v):("number"==typeof u&&(v=u),(0,d.e)((b,p)=>(0,g.p)(b,p,h,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,f=0){return(0,c.e)((h,u)=>{h.subscribe((0,d.x)(u,v=>(0,n.f)(u,r,()=>u.next(v),f),()=>(0,n.f)(u,r,()=>u.complete(),f),v=>(0,n.f)(u,r,()=>u.error(v),f)))})}},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 f=null;g._refCount++;const h=(0,c.x)(r,void 0,void 0,void 0,()=>{if(!g||g._refCount<=0||0<--g._refCount)return void(f=null);const u=g._connection,v=f;f=null,u&&(!v||u===v)&&u.unsubscribe(),r.unsubscribe()});g.subscribe(h),h.closed||(f=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,f,h){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),f&&v.next(p)},h&&(()=>{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(h={}){const{connector:u=(()=>new c.x),resetOnError:v=!0,resetOnComplete:b=!0,resetOnRefCountZero:p=!0}=h;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=f($,p))}),A.subscribe(ie),!l&&D>0&&(l=new d.Hp({next:U=>A.next(U),error:U=>{E=!0,I(),y=f(X,v,U),A.error(U)},complete:()=>{S=!0,I(),y=f(X,b),A.complete()}}),(0,n.Xf)(ee).subscribe(l))})(_)}}function f(h,u,...v){if(!0===u)return void h();if(!1===u)return;const b=new d.Hp({next:()=>{b.unsubscribe(),h()}});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,f){let h,u=!1;return g&&"object"==typeof g?({bufferSize:h=1/0,windowTime:r=1/0,refCount:u=!1,scheduler:f}=g):h=g??1/0,(0,c.B)({connector:()=>new n.t(h,r,f),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 f=(0,c.yG)(r);return(0,d.e)((h,u)=>{(f?(0,n.z)(r,h,f):(0,n.z)(r,h)).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,f)=>{f.add(d.schedule(()=>r.subscribe(f),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,f){return(0,c.e)((h,u)=>{let v=null,b=0,p=!1;const _=()=>p&&!v&&u.complete();h.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(f?f(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)((f,h)=>{let u=0;f.subscribe((0,d.x)(h,v=>{++u<=r&&(h.next(v),r<=u&&h.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)((f,h)=>{let u=[];f.subscribe((0,d.x)(h,v=>{u.push(v),r{for(const v of u)h.next(v);h.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(f){return(0,n.e)((h,u)=>{(0,d.Xf)(f).subscribe((0,c.x)(u,()=>u.complete(),g.Z)),!u.closed&&h.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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>{const b=g(v,u++);(b||r)&&h.next(v),!b&&h.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(f,h,u){const v=(0,n.m)(f)||h||u?{next:f,error:h,complete:u}:f;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(f=r){return(0,c.e)((h,u)=>{let v=!1;h.subscribe((0,d.x)(u,b=>{v=!0,u.next(b)},()=>v?u.complete():u.error(f())))})}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),f=a(8251),h=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,h.f)(I,D,()=>{try{X.unsubscribe(),(0,g.Xf)(x({meta:S,lastValue:ee,seen:ie})).subscribe(I)}catch(Ce){I.error(Ce)}},U)};X=E.subscribe((0,f.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(h,u){super()}schedule(h,u=0){return this}}const d={setInterval(f,h,...u){const{delegate:v}=d;return v?.setInterval?v.setInterval(f,h,...u):setInterval(f,h,...u)},clearInterval(f){const{delegate:h}=d;return(h?.clearInterval||clearInterval)(f)},delegate:void 0};var g=a(9039);class r extends c{constructor(h,u){super(h,u),this.scheduler=h,this.work=u,this.pending=!1}schedule(h,u=0){var v;if(this.closed)return this;this.state=h;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(h,u,v=0){return d.setInterval(h.flush.bind(h,this),v)}recycleAsyncId(h,u,v=0){if(null!=v&&this.delay===v&&!1===this.pending)return u;null!=u&&d.clearInterval(u)}execute(h,u){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const v=this._execute(h,u);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(h,u){let b,v=!1;try{this.work(h)}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:h,scheduler:u}=this,{actions:v}=u;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.P)(v,this),null!=h&&(this.id=this.recycleAsyncId(u,h,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,f=c.now){this.schedulerActionCtor=r,this.now=f}schedule(r,f=0,h){return new this.schedulerActionCtor(this,r).schedule(h,f)}}c.now=n.l.now;class d extends c{constructor(r,f=c.now){super(r,f),this.actions=[],this._active=!1}flush(r){const{actions:f}=this;if(this._active)return void f.push(r);let h;this._active=!0;do{if(h=r.execute(r.state,r.delay))break}while(r=f.shift());if(this._active=!1,h){for(;r=f.shift();)r.unsubscribe();throw h}}}},927:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>h});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 h=new class f 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 f={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}=f,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:()=>f,jO:()=>g,yG:()=>r});var n=a(4674),c=a(671);function d(h){return h[h.length-1]}function g(h){return(0,n.m)(d(h))?h.pop():void 0}function r(h){return(0,c.K)(d(h))?h.pop():void 0}function f(h,u){return"number"==typeof d(h)?h.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(h){if(1===h.length){const u=h[0];if(n(u))return{args:u,keys:null};if(function f(h){return h&&"object"==typeof h&&c(h)===d}(u)){const v=g(u);return{args:v.map(b=>u[b]),keys:v}}}return{args:h,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,f)=>(g[r]=d[f],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 f=!c;if(f&&(c={errorThrown:!1,error:null}),r(),f){const{errorThrown:h,error:u}=c;if(c=null,h)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,f=!1){const h=d.schedule(function(){g(),f?c.add(this.schedule(null,r)):this.unsubscribe()},r);if(c.add(h),!f)return h}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 h=r.getReader();try{for(;;){const{value:u,done:v}=yield(0,n.__await)(h.read());if(v)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(u)}}finally{h.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(f){try{return g(f,this)}catch(h){this.error(h)}});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)(f=>function d(r,f){return c(f)?r(...f):r(f)}(r,f))}},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(f){return g.reduce((h,u)=>u(h),f)}}},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:()=>h,bufferCount:()=>v,bufferTime:()=>y,bufferToggle:()=>x,bufferWhen:()=>D,catchError:()=>S.K,combineAll:()=>de,combineLatest:()=>W,combineLatestAll:()=>Ae,combineLatestWith:()=>pe,concat:()=>Be,concatAll:()=>we.u,concatMap:()=>G.b,concatMapTo:()=>ae,concatWith:()=>ve,connect:()=>tt,count:()=>Ct,debounce:()=>Nt,debounceTime:()=>_t.b,defaultIfEmpty:()=>Bt.d,delay:()=>Tt.g,delayWhen:()=>Lt.j,dematerialize:()=>Y,distinct:()=>ne,distinctUntilChanged:()=>K.x,distinctUntilKeyChanged:()=>ce,elementAt:()=>Pe,endWith:()=>Pt,every:()=>Ft,exhaust:()=>he,exhaustAll:()=>Ke,exhaustMap:()=>Oe,expand:()=>ct,filter:()=>Dt.h,finalize:()=>Me.x,find:()=>Ye,findIndex:()=>F,first:()=>V.P,flatMap:()=>on,groupBy:()=>Q,ignoreElements:()=>be.l,isEmpty:()=>dt,last:()=>Rt.Z,map:()=>Gt.U,mapTo:()=>qe.h,materialize:()=>nt,max:()=>Ve,merge:()=>At,mergeAll:()=>yt.J,mergeMap:()=>ee.z,mergeMapTo:()=>xn,mergeScan:()=>Sn,mergeWith:()=>_n,min:()=>Mn,multicast:()=>fi,observeOn:()=>Vi.Q,onErrorResumeNext:()=>bt,pairwise:()=>pt,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:()=>Mt,scan:()=>jt.R,sequenceEqual:()=>ke,share:()=>me.B,shareReplay:()=>se.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:()=>ut.q,takeLast:()=>Cn.h,takeUntil:()=>tn.R,takeWhile:()=>En.o,tap:()=>ei.b,throttle:()=>Ei,throttleTime:()=>tr,throwIfEmpty:()=>_e.T,timeInterval:()=>Ai,timeout:()=>yi.V,timeoutWith:()=>Ot,timestamp:()=>te,toArray:()=>Ce,window:()=>Ne,windowCount:()=>ot,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),f=a(4829);function h(wt){return(0,d.e)((vt,gt)=>{let St=[];return vt.subscribe((0,r.x)(gt,Ht=>St.push(Ht),()=>{gt.next(St),gt.complete()})),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{const Ht=St;St=[],gt.next(Ht)},g.Z)),()=>{St=null}})}var u=a(9039);function v(wt,vt=null){return vt=vt??wt,(0,d.e)((gt,St)=>{let Ht=[],Yt=0;gt.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 gt,St;const Ht=null!==(gt=(0,_.yG)(vt))&&void 0!==gt?gt: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)((gt,St)=>{const Ht=[];(0,f.Xf)(wt).subscribe((0,r.x)(St,Yt=>{const Jt=[];Ht.push(Jt);const yn=new b.w0;yn.add((0,f.Xf)(vt(Yt)).subscribe((0,r.x)(St,()=>{(0,u.P)(Ht,Jt),St.next(Jt),yn.unsubscribe()},g.Z)))},g.Z)),gt.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,gt)=>{let St=null,Ht=null;const Yt=()=>{Ht?.unsubscribe();const Jt=St;St=[],Jt&>.next(Jt),(0,f.Xf)(wt()).subscribe(Ht=(0,r.x)(gt,Yt,g.Z))};Yt(),vt.subscribe((0,r.x)(gt,Jt=>St?.push(Jt),()=>{St&>.next(St),gt.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 Ce(){return(0,d.e)((wt,vt)=>{A(U,[])(wt).subscribe(vt)})}function Re(wt,vt){return(0,$.z)(Ce(),(0,ee.z)(gt=>wt(gt)),vt?(0,X.Z)(vt):I.y)}function Ae(wt){return Re(E.a,wt)}const de=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)((gt,St)=>{(0,E.l)([gt,...(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)((gt,St)=>{(0,we.u)()((0,Ee.D)([gt,...wt],vt)).subscribe(St)})}var G=a(6328),re=a(4674);function ae(wt,vt){return(0,re.m)(vt)?(0,G.b)(()=>wt,vt):(0,G.b)(()=>wt)}function ve(...wt){return Be(...wt)}var He=a(8645),Ze=a(5592);const Ge={connector:()=>new He.x};function tt(wt,vt=Ge){const{connector:gt}=vt;return(0,d.e)((St,Ht)=>{const Yt=gt();(0,f.Xf)(wt(function Qe(wt){return new Ze.y(vt=>wt.subscribe(vt))}(Yt))).subscribe(Ht),Ht.add(St.subscribe(Yt))})}function Ct(wt){return A((vt,gt,St)=>!wt||wt(gt,St)?vt+1:vt,0)}function Nt(wt){return(0,d.e)((vt,gt)=>{let St=!1,Ht=null,Yt=null;const Jt=()=>{if(Yt?.unsubscribe(),Yt=null,St){St=!1;const yn=Ht;Ht=null,gt.next(yn)}};vt.subscribe((0,r.x)(gt,yn=>{Yt?.unsubscribe(),St=!0,Ht=yn,Yt=(0,r.x)(gt,Jt,g.Z),(0,f.Xf)(wt(yn)).subscribe(Yt)},()=>{Jt(),gt.complete()},void 0,()=>{Ht=Yt=null}))})}var _t=a(3620),Bt=a(3572),Tt=a(7547),Lt=a(4610),Le=a(6232),lt=a(2096),ze=a(8504);class N{constructor(vt,gt,St){this.kind=vt,this.value=gt,this.error=St,this.hasValue="N"===vt}observe(vt){return oe(this,vt)}do(vt,gt,St){const{kind:Ht,value:Yt,error:Jt}=this;return"N"===Ht?vt?.(Yt):"E"===Ht?gt?.(Jt):St?.()}accept(vt,gt,St){var Ht;return(0,re.m)(null===(Ht=vt)||void 0===Ht?void 0:Ht.next)?this.observe(vt):this.do(vt,gt,St)}toObservable(){const{kind:vt,value:gt,error:St}=this,Ht="N"===vt?(0,lt.of)(gt):"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 gt,St,Ht;const{kind:Yt,value:Jt,error:yn}=wt;if("string"!=typeof Yt)throw new TypeError('Invalid notification, missing "kind"');"N"===Yt?null===(gt=vt.next)||void 0===gt||gt.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,gt=>oe(gt,vt)))})}function ne(wt,vt){return(0,d.e)((gt,St)=>{const Ht=new Set;gt.subscribe((0,r.x)(St,Yt=>{const Jt=wt?wt(Yt):Yt;Ht.has(Jt)||(Ht.add(Jt),St.next(Yt))})),vt&&(0,f.Xf)(vt).subscribe((0,r.x)(St,()=>Ht.clear(),g.Z))})}N.completeNotification=new N("C");var K=a(3997);function ce(wt,vt){return(0,K.x)((gt,St)=>vt?vt(gt[wt],St[wt]):gt[wt]===St[wt])}var Te=a(2306);const et=(0,Te.d)(wt=>function(){wt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Dt=a(2181),_e=a(3026),ut=a(8180);function Pe(wt,vt){if(wt<0)throw new et;const gt=arguments.length>=2;return St=>St.pipe((0,Dt.h)((Ht,Yt)=>Yt===wt),(0,ut.q)(1),gt?(0,Bt.d)(vt):(0,_e.T)(()=>new et))}var mt=a(34);function Pt(...wt){return vt=>(0,mt.z)(vt,(0,lt.of)(...wt))}function Ft(wt,vt){return(0,d.e)((gt,St)=>{let Ht=0;gt.subscribe((0,r.x)(St,Yt=>{wt.call(vt,Yt,Ht++,gt)||(St.next(!1),St.complete())},()=>{St.next(!0),St.complete()}))})}var Gt=a(7398);function Oe(wt,vt){return vt?gt=>gt.pipe(Oe((St,Ht)=>(0,f.Xf)(wt(St,Ht)).pipe((0,Gt.U)((Yt,Jt)=>vt(St,Yt,Ht,Jt))))):(0,d.e)((gt,St)=>{let Ht=0,Yt=null,Jt=!1;gt.subscribe((0,r.x)(St,yn=>{Yt||(Yt=(0,r.x)(St,void 0,()=>{Yt=null,Jt&&St.complete()}),(0,f.Xf)(wt(yn,Ht++)).subscribe(Yt))},()=>{Jt=!0,!Yt&&St.complete()}))})}function Ke(){return Oe(I.y)}const he=Ke;var ge=a(564);function ct(wt,vt=1/0,gt){return vt=(vt||0)<1?1/0:vt,(0,d.e)((St,Ht)=>(0,ge.p)(St,Ht,wt,vt,void 0,!0,gt))}var Me=a(4716);function Ye(wt,vt){return(0,d.e)(De(wt,vt,"value"))}function De(wt,vt,gt){const St="index"===gt;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 Q(wt,vt,gt,St){return(0,d.e)((Ht,Yt)=>{let Jt;vt&&"function"!=typeof vt?({duration:gt,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),gt){const Zi=(0,r.x)(oi,()=>{oi.complete(),Zi?.unsubscribe()},void 0,void 0,()=>yn.delete(ni));ui.add((0,f.Xf)(gt(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 be=a(7538);function dt(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,()=>{vt.next(!1),vt.complete()},()=>{vt.next(!0),vt.complete()}))})}var Rt=a(2032),qe=a(975);function nt(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,gt=>{vt.next(N.createNext(gt))},()=>{vt.next(N.createComplete()),vt.complete()},gt=>{vt.next(N.createError(gt)),vt.complete()}))})}function Ve(wt){return A((0,re.m)(wt)?(vt,gt)=>wt(vt,gt)>0?vt:gt:(vt,gt)=>vt>gt?vt:gt)}var yt=a(7537);function At(...wt){const vt=(0,_.yG)(wt),gt=(0,_._6)(wt,1/0);return wt=(0,H.k)(wt),(0,d.e)((St,Ht)=>{(0,yt.J)(gt)((0,Ee.D)([St,...wt],vt)).subscribe(Ht)})}const on=ee.z;function xn(wt,vt,gt=1/0){return(0,re.m)(vt)?(0,ee.z)(()=>wt,vt,gt):("number"==typeof vt&&(gt=vt),(0,ee.z)(()=>wt,gt))}function Sn(wt,vt,gt=1/0){return(0,d.e)((St,Ht)=>{let Yt=vt;return(0,ge.p)(St,Ht,(Jt,yn)=>wt(Yt,Jt,yn),gt,Jt=>{Yt=Jt},!1,void 0,()=>Yt=null)})}function _n(...wt){return At(...wt)}function Mn(wt){return A((0,re.m)(wt)?(vt,gt)=>wt(vt,gt)<0?vt:gt:(vt,gt)=>vtwt;return(0,re.m)(vt)?tt(vt,{connector:gt}):St=>new xi.c(St,gt)}var Vi=a(3093);const bt=function xt(...wt){const vt=(0,H.k)(wt);return gt=>function Yi(...wt){const vt=(0,H.k)(wt);return new Ze.y(gt=>{let St=0;const Ht=()=>{if(St{let gt,St=!1;wt.subscribe((0,r.x)(vt,Ht=>{const Yt=gt;gt=Ht,St&&vt.next([Yt,Ht]),St=!0}))})}function qt(wt,vt){return(gt,St)=>!wt.call(vt,gt,St)}function nn(wt,vt){return gt=>[(0,Dt.h)(wt,vt)(gt),(0,Dt.h)(qt(wt,vt))(gt)]}function cn(...wt){const vt=wt.length;if(0===vt)throw new Error("list of properties cannot be empty.");return(0,Gt.U)(gt=>{let St=gt;for(let Ht=0;Httt(wt)(vt):vt=>fi(new He.x)(vt)}var Nn=a(5619);function wn(wt){return vt=>{const gt=new Nn.X(wt);return new xi.c(vt,()=>gt)}}class Xn extends He.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(vt){const{hasError:gt,_hasValue:St,_value:Ht,thrownError:Yt,isStopped:Jt,_isComplete:yn}=this;gt?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:gt,_isComplete:St}=this;St||(this._isComplete=!0,vt&&super.next(gt),super.complete())}}function _i(){return wt=>{const vt=new Xn;return new xi.c(wt,()=>vt)}}var $n=a(7328);function ti(wt,vt,gt,St){gt&&!(0,re.m)(gt)&&(St=gt);const Ht=(0,re.m)(gt)?gt: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,gt)=>{(0,an.R)([vt,...wt])(gt)}):I.y}function Tn(...wt){return mn(...(0,H.k)(wt))}var Rn=a(9080);function Wn(wt){let gt,vt=1/0;return null!=wt&&("object"==typeof wt?({count:vt=1/0,delay:gt}=wt):vt=wt),vt<=0?()=>Le.E:(0,d.e)((St,Ht)=>{let Jt,Yt=0;const yn=()=>{if(Jt?.unsubscribe(),Jt=null,null!=gt){const Vn="number"==typeof gt?(0,Rn.H)(gt):(0,f.Xf)(gt(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&&(gt.complete(),!0),On=()=>{yn=!1,St=vt.subscribe((0,r.x)(gt,void 0,()=>{yn=!0,!vn()&&(Yt||(Yt=new He.x,(0,f.Xf)(wt(Yt)).subscribe((0,r.x)(gt,()=>{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:gt=1/0,delay:St,resetOnSuccess:Ht=!1}=vt;return gt<=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,f.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,gt)=>{let St,Yt,Ht=!1;const Jt=()=>{St=vt.subscribe((0,r.x)(gt,void 0,void 0,yn=>{Yt||(Yt=new He.x,(0,f.Xf)(wt(Yt)).subscribe((0,r.x)(gt,()=>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,gt)=>{let St=!1,Ht=null;vt.subscribe((0,r.x)(gt,Yt=>{St=!0,Ht=Yt})),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{if(St){St=!1;const Yt=Ht;Ht=null,gt.next(Yt)}},g.Z))})}function Mt(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=((gt,St)=>gt===St)){return(0,d.e)((gt,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};gt.subscribe(yn(Ht,Yt)),(0,f.Xf)(wt).subscribe(yn(Yt,Ht))})}var me=a(3020),se=a(7081),Xe=a(6973);const kt=(0,Te.d)(wt=>function(gt){wt(this),this.name="SequenceError",this.message=gt}),Wt=(0,Te.d)(wt=>function(gt){wt(this),this.name="NotFoundError",this.message=gt});function un(wt){return(0,d.e)((vt,gt)=>{let Ht,St=!1,Yt=!1,Jt=0;vt.subscribe((0,r.x)(gt,yn=>{Yt=!0,(!wt||wt(yn,Jt++,vt))&&(St&>.error(new kt("Too many matching values")),St=!0,Ht=yn)},()=>{St?(gt.next(Ht),gt.complete()):gt.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,gt)=>{let St=new Array(wt),Ht=0;return vt.subscribe((0,r.x)(gt,Yt=>{const Jt=Ht++;if(Jt{St=null}})}function si(wt){return(0,d.e)((vt,gt)=>{let St=!1;const Ht=(0,r.x)(gt,()=>{Ht?.unsubscribe(),St=!0},g.Z);(0,f.Xf)(wt).subscribe(Ht),vt.subscribe((0,r.x)(gt,Yt=>St&>.next(Yt)))})}function jn(wt){return(0,d.e)((vt,gt)=>{let St=!1,Ht=0;vt.subscribe((0,r.x)(gt,Yt=>(St||(St=!wt(Yt,Ht++)))&>.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)((gt,St)=>{let Ht=vt;return(0,Ti.w)((Yt,Jt)=>wt(Ht,Yt,Jt),(Yt,Jt)=>(Ht=Jt,Jt))(gt).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)((gt,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,f.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)}};gt.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,gt){const St=(0,Rn.H)(wt,vt);return Ei(()=>St,gt)}function Ai(wt=p.z){return(0,d.e)((vt,gt)=>{let St=wt.now();vt.subscribe((0,r.x)(gt,Ht=>{const Yt=wt.now(),Jt=Yt-St;St=Yt,gt.next(new ar(Ht,Jt))}))})}class ar{constructor(vt,gt){this.value=vt,this.interval=gt}}var yi=a(5178),Je=a(93);function Ot(wt,vt,gt){let St,Ht,Yt;if(gt=gt??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:gt,with:Yt})}var C=a(4552);function te(wt=C.l){return(0,Gt.U)(vt=>({value:vt,timestamp:wt.now()}))}function Ne(wt){return(0,d.e)((vt,gt)=>{let St=new He.x;gt.next(St.asObservable());const Ht=Yt=>{St.error(Yt),gt.error(Yt)};return vt.subscribe((0,r.x)(gt,Yt=>St?.next(Yt),()=>{St.complete(),gt.complete()},Ht)),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{St.complete(),gt.next(St=new He.x)},g.Z,Ht)),()=>{St?.unsubscribe(),St=null}})}function ot(wt,vt=0){const gt=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%gt==0&&Yt.shift().complete(),++yn%gt==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 gt,St;const Ht=null!==(gt=(0,_.yG)(vt))&&void 0!==gt?gt: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)((gt,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,f.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)),gt.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),gt.error(yn)},Jt=()=>{let yn;Ht?.unsubscribe(),St?.complete(),St=new He.x,gt.next(St.asObservable());try{yn=(0,f.Xf)(wt())}catch(vn){return void Yt(vn)}yn.subscribe(Ht=(0,r.x)(gt,Jt,Jt,Yt))};Jt(),vt.subscribe((0,r.x)(gt,yn=>St.next(yn),()=>{St.complete(),gt.complete()},Yt,()=>{Ht?.unsubscribe(),St=null}))})}function Pi(...wt){const vt=(0,_.jO)(wt);return(0,d.e)((gt,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));gt.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,gt)=>{(0,Li.$)(vt,...wt).subscribe(gt)})}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:()=>_t,validate:()=>f,version:()=>Lt});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,f=function r(Le){return"string"==typeof Le&&g.test(Le)},h=[];for(let Le=0;Le<256;++Le)h.push((Le+256).toString(16).slice(1));function u(Le,lt=0){return(h[Le[lt+0]]+h[Le[lt+1]]+h[Le[lt+2]]+h[Le[lt+3]]+"-"+h[Le[lt+4]]+h[Le[lt+5]]+"-"+h[Le[lt+6]]+h[Le[lt+7]]+"-"+h[Le[lt+8]]+h[Le[lt+9]]+"-"+h[Le[lt+10]]+h[Le[lt+11]]+h[Le[lt+12]]+h[Le[lt+13]]+h[Le[lt+14]]+h[Le[lt+15]]).toLowerCase()}const b=function v(Le,lt=0){const ze=u(Le,lt);if(!f(ze))throw TypeError("Stringified UUID is invalid");return ze};let p,_,l=0,y=0;const D=function x(Le,lt,ze){let at=lt&&ze||0;const N=lt||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(),K=void 0!==Le.nsecs?Le.nsecs:y+1;const ce=ne-l+(K-y)/1e4;if(ce<0&&void 0===Le.clockseq&&(Y=Y+1&16383),(ce<0||ne>l)&&void 0===Le.nsecs&&(K=0),K>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=ne,y=K,_=Y,ne+=122192928e5;const Te=(1e4*(268435455&ne)+K)%4294967296;N[at++]=Te>>>24&255,N[at++]=Te>>>16&255,N[at++]=Te>>>8&255,N[at++]=255&Te;const et=ne/4294967296*1e4&268435455;N[at++]=et>>>8&255,N[at++]=255&et,N[at++]=et>>>24&15|16,N[at++]=et>>>16&255,N[at++]=Y>>>8|128,N[at++]=255&Y;for(let Dt=0;Dt<6;++Dt)N[at+Dt]=oe[Dt];return lt||u(N)},E=function S(Le){if(!f(Le))throw TypeError("Invalid UUID");let lt;const ze=new Uint8Array(16);return ze[0]=(lt=parseInt(Le.slice(0,8),16))>>>24,ze[1]=lt>>>16&255,ze[2]=lt>>>8&255,ze[3]=255<,ze[4]=(lt=parseInt(Le.slice(9,13),16))>>>8,ze[5]=255<,ze[6]=(lt=parseInt(Le.slice(14,18),16))>>>8,ze[7]=255<,ze[8]=(lt=parseInt(Le.slice(19,23),16))>>>8,ze[9]=255<,ze[10]=(lt=parseInt(Le.slice(24,36),16))/1099511627776&255,ze[11]=lt/4294967296&255,ze[12]=lt>>>24&255,ze[13]=lt>>>16&255,ze[14]=lt>>>8&255,ze[15]=255<,ze};function ee(Le,lt,ze){function at(N,oe,Y,ne){var K;if("string"==typeof N&&(N=function I(Le){Le=unescape(encodeURIComponent(Le));const lt=[];for(let ze=0;ze>>9<<4)+1}function Ae(Le,lt){const ze=(65535&Le)+(65535<);return(Le>>16)+(lt>>16)+(ze>>16)<<16|65535&ze}function H(Le,lt,ze,at,N,oe){return Ae(function de(Le,lt){return Le<>>32-lt}(Ae(Ae(lt,Le),Ae(at,oe)),N),ze)}function W(Le,lt,ze,at,N,oe,Y){return H(lt&ze|~lt&at,Le,lt,N,oe,Y)}function pe(Le,lt,ze,at,N,oe,Y){return H(lt&at|ze&~at,Le,lt,N,oe,Y)}function we(Le,lt,ze,at,N,oe,Y){return H(lt^ze^at,Le,lt,N,oe,Y)}function Ee(Le,lt,ze,at,N,oe,Y){return H(ze^(lt|~at),Le,lt,N,oe,Y)}const re=ee("v3",48,function ie(Le){if("string"==typeof Le){const lt=unescape(encodeURIComponent(Le));Le=new Uint8Array(lt.length);for(let ze=0;ze>5]>>>N%32&255,Y=parseInt(at.charAt(oe>>>4&15)+at.charAt(15&oe),16);lt.push(Y)}return lt}(function Ce(Le,lt){Le[lt>>5]|=128<>5]|=(255&Le[at/8])<>>32-lt}const _t=ee("v5",80,function tt(Le){const lt=[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=et,et=Te,Te=Ge(ce,30)>>>0,ce=K,K=Pe}ze[0]=ze[0]+K>>>0,ze[1]=ze[1]+ce>>>0,ze[2]=ze[2]+Te>>>0,ze[3]=ze[3]+et>>>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",Lt=function Tt(Le){if(!f(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:()=>de,__classPrivateFieldIn:()=>W,__classPrivateFieldSet:()=>H,__createBinding:()=>y,__decorate:()=>r,__disposeResources:()=>Ee,__esDecorate:()=>h,__exportStar:()=>x,__extends:()=>c,__generator:()=>l,__importDefault:()=>Ae,__importStar:()=>Re,__makeTemplateObject:()=>U,__metadata:()=>p,__param:()=>f,__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(ae,ve){ae.__proto__=ve}||function(ae,ve){for(var He in ve)Object.prototype.hasOwnProperty.call(ve,He)&&(ae[He]=ve[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 ae(){this.constructor=G}n(G,re),G.prototype=null===re?Object.create(re):(ae.prototype=re.prototype,new ae)}var d=function(){return d=Object.assign||function(re){for(var ae,ve=1,He=arguments.length;ve=0;Ge--)(Qe=G[Ge])&&(Ze=(He<3?Qe(Ze):He>3?Qe(re,ae,Ze):Qe(re,ae))||Ze);return He>3&&Ze&&Object.defineProperty(re,ae,Ze),Ze}function f(G,re){return function(ae,ve){re(ae,ve,G)}}function h(G,re,ae,ve,He,Ze){function Qe(ze){if(void 0!==ze&&"function"!=typeof ze)throw new TypeError("Function expected");return ze}for(var _t,Ge=ve.kind,tt="getter"===Ge?"get":"setter"===Ge?"set":"value",Ct=!re&&G?ve.static?G:G.prototype:null,Nt=re||(Ct?Object.getOwnPropertyDescriptor(Ct,ve.name):{}),Bt=!1,Tt=ae.length-1;Tt>=0;Tt--){var Lt={};for(var Le in ve)Lt[Le]="access"===Le?{}:ve[Le];for(var Le in ve.access)Lt.access[Le]=ve.access[Le];Lt.addInitializer=function(ze){if(Bt)throw new TypeError("Cannot add initializers after decoration has completed");Ze.push(Qe(ze||null))};var lt=(0,ae[Tt])("accessor"===Ge?{get:Nt.get,set:Nt.set}:Nt[tt],Lt);if("accessor"===Ge){if(void 0===lt)continue;if(null===lt||"object"!=typeof lt)throw new TypeError("Object expected");(_t=Qe(lt.get))&&(Nt.get=_t),(_t=Qe(lt.set))&&(Nt.set=_t),(_t=Qe(lt.init))&&He.unshift(_t)}else(_t=Qe(lt))&&("field"===Ge?He.unshift(_t):Nt[tt]=_t)}Ct&&Object.defineProperty(Ct,ve.name,Nt),Bt=!0}function u(G,re,ae){for(var ve=arguments.length>2,He=0;He0&&Ze[Ze.length-1])&&(6===Ct[0]||2===Ct[0])){ae=0;continue}if(3===Ct[0]&&(!Ze||Ct[1]>Ze[0]&&Ct[1]=G.length&&(G=void 0),{value:G&&G[ve++],done:!G}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(G,re){var ae="function"==typeof Symbol&&G[Symbol.iterator];if(!ae)return G;var He,Qe,ve=ae.call(G),Ze=[];try{for(;(void 0===re||re-- >0)&&!(He=ve.next()).done;)Ze.push(He.value)}catch(Ge){Qe={error:Ge}}finally{try{He&&!He.done&&(ae=ve.return)&&ae.call(ve)}finally{if(Qe)throw Qe.error}}return Ze}function E(){for(var G=[],re=0;re1||Ge(Bt,Tt)})})}function Ge(Bt,Tt){try{!function tt(Bt){Bt.value instanceof $?Promise.resolve(Bt.value.v).then(Ct,Nt):_t(Ze[0][2],Bt)}(ve[Bt](Tt))}catch(Lt){_t(Ze[0][3],Lt)}}function Ct(Bt){Ge("next",Bt)}function Nt(Bt){Ge("throw",Bt)}function _t(Bt,Tt){Bt(Tt),Ze.shift(),Ze.length&&Ge(Ze[0][0],Ze[0][1])}}function ie(G){var re,ae;return re={},ve("next"),ve("throw",function(He){throw He}),ve("return"),re[Symbol.iterator]=function(){return this},re;function ve(He,Ze){re[He]=G[He]?function(Qe){return(ae=!ae)?{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 ae,re=G[Symbol.asyncIterator];return re?re.call(G):(G=D(G),ae={},ve("next"),ve("throw"),ve("return"),ae[Symbol.asyncIterator]=function(){return this},ae);function ve(Ze){ae[Ze]=G[Ze]&&function(Qe){return new Promise(function(Ge,tt){!function He(Ze,Qe,Ge,tt){Promise.resolve(tt).then(function(Ct){Ze({value:Ct,done:Ge})},Qe)}(Ge,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 Ce=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 ae in G)"default"!==ae&&Object.prototype.hasOwnProperty.call(G,ae)&&y(re,G,ae);return Ce(re,G),re}function Ae(G){return G&&G.__esModule?G:{default:G}}function de(G,re,ae,ve){if("a"===ae&&!ve)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof re?G!==re||!ve:!re.has(G))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===ae?ve:"a"===ae?ve.call(G):ve?ve.value:re.get(G)}function H(G,re,ae,ve,He){if("m"===ve)throw new TypeError("Private method is not writable");if("a"===ve&&!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"===ve?He.call(G,ae):He?He.value=ae:re.set(G,ae),ae}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,ae){if(null!=re){if("object"!=typeof re&&"function"!=typeof re)throw new TypeError("Object expected.");var ve;if(ae){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ve=re[Symbol.asyncDispose]}if(void 0===ve){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ve=re[Symbol.dispose]}if("function"!=typeof ve)throw new TypeError("Object not disposable.");G.stack.push({value:re,dispose:ve,async:ae})}else ae&&G.stack.push({async:!0});return re}var we="function"==typeof SuppressedError?SuppressedError:function(G,re,ae){var ve=new Error(ae);return ve.name="SuppressedError",ve.error=G,ve.suppressed=re,ve};function Ee(G){function re(ve){G.error=G.hasError?new we(ve,G.error,"An error was suppressed during disposal."):ve,G.hasError=!0}return function ae(){for(;G.stack.length;){var ve=G.stack.pop();try{var He=ve.dispose&&ve.dispose.call(ve.value);if(ve.async)return Promise.resolve(He).then(ae,function(Ze){return re(Ze),ae()})}catch(Ze){re(Ze)}}if(G.hasError)throw G.error}()}const Be={__extends:c,__assign:d,__rest:g,__decorate:r,__param:f,__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:de,__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 Q=F[V],be=typeof Q;("object"===be||"function"===be)&&!Object.isFrozen(Q)&&B(Q)}),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 Q=Object.create(null);for(const be in F)Q[be]=F[be];return V.forEach(function(be){for(const dt in be)Q[dt]=be[dt]}),Q}const g=F=>!!F.scope;class f{constructor(V,Q){this.buffer="",this.classPrefix=Q.classPrefix,V.walk(this)}addText(V){this.buffer+=n(V)}openNode(V){if(!g(V))return;const Q=((F,{prefix:V})=>{if(F.startsWith("language:"))return F.replace("language:","language-");if(F.includes(".")){const Q=F.split(".");return[`${V}${Q.shift()}`,...Q.map((be,dt)=>`${be}${"_".repeat(dt+1)}`)].join(" ")}return`${V}${F}`})(V.scope,{prefix:this.classPrefix});this.span(Q)}closeNode(V){g(V)&&(this.buffer+="")}value(){return this.buffer}span(V){this.buffer+=``}}const h=(F={})=>{const V={children:[]};return Object.assign(V,F),V};class u{constructor(){this.rootNode=h(),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 Q=h({scope:V});this.add(Q),this.stack.push(Q)}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,Q){return"string"==typeof Q?V.addText(Q):Q.children&&(V.openNode(Q),Q.children.forEach(be=>this._walk(V,be)),V.closeNode(Q)),V}static _collapse(V){"string"!=typeof V&&V.children&&(V.children.every(Q=>"string"==typeof Q)?V.children=[V.children.join("")]:V.children.forEach(Q=>{u._collapse(Q)}))}}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,Q){const be=V.root;Q&&(be.scope=`language:${Q}`),this.add(be)}toHTML(){return new f(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(Q=>b(Q)).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(be=>b(be)).join("|")+")"}function S(F){return new RegExp(F.toString()+"|").exec("").length-1}const I=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function X(F,{joinWith:V}){let Q=0;return F.map(be=>{Q+=1;const dt=Q;let Rt=b(be),qe="";for(;Rt.length>0;){const nt=I.exec(Rt);if(!nt){qe+=Rt;break}qe+=Rt.substring(0,nt.index),Rt=Rt.substring(nt.index+nt[0].length),"\\"===nt[0][0]&&nt[1]?qe+="\\"+String(Number(nt[1])+dt):(qe+=nt[0],"("===nt[0]&&Q++)}return qe}).map(be=>`(${be})`).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+)?)",Ce="\\b(0b[01]+)",de={begin:"\\\\[\\s\\S]",relevance:0},H={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[de]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[de]},we=function(F,V,Q={}){const be=c({scope:"comment",begin:F,end:V,contains:[]},Q);be.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 dt=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 be.contains.push({begin:y(/[ ]+/,"(",dt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),be},Ee=we("//","$"),Be=we("/\\*","\\*/"),G=we("#","$");var Ct=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:Ce,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":(Q,be)=>{0!==Q.index&&be.ignoreMatch()}},F)},BACKSLASH_ESCAPE:de,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:Ce,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[de,{begin:/\[/,end:/\]/,relevance:0,contains:[de]}]}]},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,Q)=>{Q.data._beginMatch=V[1]},"on:end":(V,Q)=>{Q.data._beginMatch!==V[1]&&Q.ignoreMatch()}})}});function Nt(F,V){"."===F.input[F.index-1]&&V.ignoreMatch()}function _t(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=Nt,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 Lt(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 lt=(F,V)=>{if(!F.beforeMatch)return;if(F.starts)throw new Error("beforeMatch cannot be used with starts");const Q=Object.assign({},F);Object.keys(F).forEach(be=>{delete F[be]}),F.keywords=Q.keywords,F.begin=y(Q.beforeMatch,p(Q.begin)),F.starts={relevance:0,contains:[Object.assign(Q,{endsParent:!0})]},F.relevance=0,delete Q.beforeMatch},ze=["of","and","for","in","not","or","if","then","parent","list","value"],at="keyword";function N(F,V,Q=at){const be=Object.create(null);return"string"==typeof F?dt(Q,F.split(" ")):Array.isArray(F)?dt(Q,F):Object.keys(F).forEach(function(Rt){Object.assign(be,N(F[Rt],V,Rt))}),be;function dt(Rt,qe){V&&(qe=qe.map(nt=>nt.toLowerCase())),qe.forEach(function(nt){const Ve=nt.split("|");be[Ve[0]]=[Rt,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={},K=F=>{console.error(F)},ce=(F,...V)=>{console.log(`WARN: ${F}`,...V)},Te=(F,V)=>{ne[`${F}/${V}`]||(console.log(`Deprecated as of ${F}. ${V}`),ne[`${F}/${V}`]=!0)},et=new Error;function Dt(F,V,{key:Q}){let be=0;const dt=F[Q],Rt={},qe={};for(let nt=1;nt<=V.length;nt++)qe[nt+be]=dt[nt],Rt[nt+be]=!0,be+=S(V[nt-1]);F[Q]=qe,F[Q]._emit=Rt,F[Q]._multi=!0}function mt(F){(function Pe(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 _e(F){if(Array.isArray(F.begin)){if(F.skip||F.excludeBegin||F.returnBegin)throw K("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),et;if("object"!=typeof F.beginScope||null===F.beginScope)throw K("beginScope must be object"),et;Dt(F,F.begin,{key:"beginScope"}),F.begin=X(F.begin,{joinWith:""})}}(F),function ut(F){if(Array.isArray(F.end)){if(F.skip||F.excludeEnd||F.returnEnd)throw K("skip, excludeEnd, returnEnd not compatible with endScope: {}"),et;if("object"!=typeof F.endScope||null===F.endScope)throw K("endScope must be object"),et;Dt(F,F.end,{key:"endScope"}),F.end=X(F.end,{joinWith:""})}}(F)}function Pt(F){function V(qe,nt){return new RegExp(b(qe),"m"+(F.case_insensitive?"i":"")+(F.unicodeRegex?"u":"")+(nt?"g":""))}class Q{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(nt,Ve){Ve.position=this.position++,this.matchIndexes[this.matchAt]=Ve,this.regexes.push([Ve,nt]),this.matchAt+=S(nt)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const nt=this.regexes.map(Ve=>Ve[1]);this.matcherRe=V(X(nt,{joinWith:"|"}),!0),this.lastIndex=0}exec(nt){this.matcherRe.lastIndex=this.lastIndex;const Ve=this.matcherRe.exec(nt);if(!Ve)return null;const yt=Ve.findIndex((on,xn)=>xn>0&&void 0!==on),At=this.matchIndexes[yt];return Ve.splice(0,yt),Object.assign(Ve,At)}}class be{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(nt){if(this.multiRegexes[nt])return this.multiRegexes[nt];const Ve=new Q;return this.rules.slice(nt).forEach(([yt,At])=>Ve.addRule(yt,At)),Ve.compile(),this.multiRegexes[nt]=Ve,Ve}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(nt,Ve){this.rules.push([nt,Ve]),"begin"===Ve.type&&this.count++}exec(nt){const Ve=this.getMatcher(this.regexIndex);Ve.lastIndex=this.lastIndex;let yt=Ve.exec(nt);if(this.resumingScanAtSamePosition()&&(!yt||yt.index!==this.lastIndex)){const At=this.getMatcher(0);At.lastIndex=this.lastIndex+1,yt=At.exec(nt)}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 Rt(qe,nt){const Ve=qe;if(qe.isCompiled)return Ve;[_t,Lt,mt,lt].forEach(At=>At(qe,nt)),F.compilerExtensions.forEach(At=>At(qe,nt)),qe.__beforeBegin=null,[Bt,Tt,Le].forEach(At=>At(qe,nt)),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),nt&&(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&&nt.terminatorEnd&&(Ve.terminatorEnd+=(qe.end?"|":"")+nt.terminatorEnd)),qe.illegal&&(Ve.illegalRe=V(qe.illegal)),qe.contains||(qe.contains=[]),qe.contains=[].concat(...qe.contains.map(function(At){return function Gt(F){return F.variants&&!F.cachedVariants&&(F.cachedVariants=F.variants.map(function(V){return c(F,{variants:null},V)})),F.cachedVariants?F.cachedVariants:Ft(F)?c(F,{starts:F.starts?c(F.starts):null}):Object.isFrozen(F)?c(F):F}("self"===At?qe:At)})),qe.contains.forEach(function(At){Rt(At,Ve)}),qe.starts&&Rt(qe.starts,nt),Ve.matcher=function dt(qe){const nt=new be;return qe.contains.forEach(Ve=>nt.addRule(Ve.begin,{rule:Ve,type:"begin"})),qe.terminatorEnd&&nt.addRule(qe.terminatorEnd,{type:"end"}),qe.illegal&&nt.addRule(qe.illegal,{type:"illegal"}),nt}(Ve),Ve}(F)}function Ft(F){return!!F&&(F.endsWithParent||Ft(F.starts))}class Ke extends Error{constructor(V,Q){super(V),this.name="HTMLInjectionError",this.html=Q}}const he=n,ge=c,ct=Symbol("nomatch"),Ye=function(F){const V=Object.create(null),Q=Object.create(null),be=[];let dt=!0;const Rt="Could not find the language '{}', did you forget to load/include a language module?",qe={disableAutodetect:!0,name:"Plain text",contains:[]};let nt={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 nt.noHighlightRe.test(an)}function At(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 Mt(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 Q=F&&F.exec(V);return Q&&0===Q.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 ct;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&&Mt(En.starts,fn),ei.returnEnd?0:Cn.length}let Xe={};function kt(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),!dt){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)),Mt(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!==ct)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 K(Rt.replace("{}",an)),new Error('Unknown language: "'+an+'"');const un=Pt(Wt);let gn="",pn=Rn||un;const si={},jn=new nt.__emitter(nt);!function se(){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=kt(mn.substring(Ti,fn.index),fn);Ti=fn.index+tn}kt(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:he(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(dt)return{language:an,value:he(mn),illegal:!1,relevance:0,errorRaised:fn,_emitter:jn,_top:pn};throw fn}}function Sn(an,mn){mn=mn||nt.languages||Object.keys(V);const Tn=function xn(an){const mn={value:he(an),illegal:!1,relevance:0,_top:qe,_emitter:new nt.__emitter(nt)};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=nt.languageDetectRe.exec(mn);if(Tn){const Rn=cn(Tn[1]);return Rn||(ce(Rt.replace("{}",Tn[1])),ce("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&&(nt.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)),nt.throwUnescapedHTML))throw new Ke("One of your code blocks includes unescaped HTML.",an.innerHTML);mn=an;const Rn=mn.textContent,Wn=Tn?At(Rn,{language:Tn,ignoreIllegals:!0}):Sn(Rn);an.innerHTML=Wn.value,function _n(an,mn,Tn){const Rn=mn&&Q[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 xt(){"loading"!==document.readyState?document.querySelectorAll(nt.cssSelector).forEach(Mn):Yi=!0}function cn(an){return an=(an||"").toLowerCase(),V[an]||V[Q[an]]}function sn(an,{languageName:mn}){"string"==typeof an&&(an=[an]),an.forEach(Tn=>{Q[Tn.toLowerCase()]=mn})}function Nn(an){const mn=cn(an);return mn&&!mn.disableAutodetect}function $n(an,mn){const Tn=an;be.forEach(function(Rn){Rn[Tn]&&Rn[Tn](mn)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function bt(){Yi&&xt()},!1),Object.assign(F,{highlight:At,highlightAuto:Sn,highlightAll:xt,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){nt=ge(nt,an)},initHighlighting:()=>{xt(),Te("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function Vi(){xt(),Te("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function pt(an,mn){let Tn=null;try{Tn=mn(F)}catch(Rn){if(K("Language definition for '{}' could not be registered.".replace("{}",an)),!dt)throw Rn;K(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(Q))Q[mn]===an&&delete Q[mn]},listLanguages:function nn(){return Object.keys(V)},getLanguage:cn,registerAliases:sn,autoDetection:Nn,inherit:ge,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),be.push(an)},removePlugin:function _i(an){const mn=be.indexOf(an);-1!==mn&&be.splice(mn,1)}}),F.debugMode=function(){dt=!1},F.safeMode=function(){dt=!0},F.versionString="11.8.0",F.regex={concat:y,lookahead:p,either:D,optional:l,anyNumberOfTimes:_};for(const an in Ct)"object"==typeof Ct[an]&&B(Ct[an]);return Object.assign(F,Ct),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/}]},f=a.inherit(r,{begin:/\(/,end:/\)/}),h=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,h,f,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,f,u,h]}]}]},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,f,h){try{var u=n[f](h),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 f=n.apply(c,d);function h(v){B(f,g,r,h,u,"next",v)}function u(v){B(f,g,r,h,u,"throw",v)}h(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 f=r.call(d,g||"default");if("object"!==n(f))return f;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:()=>f,vP:()=>h});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 f(X,$=null){return{type:3,steps:X,options:$}}function h(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(Ce=>{Ce.onDone(()=>{++ee==U&&this._onFinish()}),Ce.onDestroy(()=>{++ie==U&&this._onDestroy()}),Ce.onStart(()=>{++A==U&&this._onStart()})}),this.totalTime=this.players.reduce((Ce,Re)=>Math.max(Ce,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:()=>mt,X6:()=>oe,Zf:()=>$,iD:()=>ee,kH:()=>Ke,mK:()=>Lt,qm:()=>Me,rt:()=>Ye,s1:()=>pe,tE:()=>Oe,yG:()=>Y});var n=a(6814),c=a(5879),d=a(2831),g=a(8645),r=a(7394),f=a(5619),h=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 Q=ie(De,F);Q.some(be=>be.trim()==V.trim())||(Q.push(V.trim()),De.setAttribute(F,Q.join(X)))}function ee(De,F,V){const be=ie(De,F).filter(dt=>dt!=V.trim());be.length?De.setAttribute(F,be.join(X)):De.removeAttribute(F)}function ie(De,F){return(De.getAttribute(F)||"").match(/\S+/g)||[]}const U="cdk-describedby-message",Ce="cdk-describedby-host";let Re=0,Ae=(()=>{class De{constructor(V,Q){this._platform=Q,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Re++,this._document=V,this._id=(0,c.inject)(c.APP_ID)+"-"+Re++}describe(V,Q,be){if(!this._canBeDescribed(V,Q))return;const dt=de(Q,be);"string"!=typeof Q?(H(Q,this._id),this._messageRegistry.set(dt,{messageElement:Q,referenceCount:0})):this._messageRegistry.has(dt)||this._createMessageElement(Q,be),this._isElementDescribedByMessage(V,dt)||this._addMessageReference(V,dt)}removeDescription(V,Q,be){if(!Q||!this._isElementNode(V))return;const dt=de(Q,be);if(this._isElementDescribedByMessage(V,dt)&&this._removeMessageReference(V,dt),"string"==typeof Q){const Rt=this._messageRegistry.get(dt);Rt&&0===Rt.referenceCount&&this._deleteMessageElement(dt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const V=this._document.querySelectorAll(`[${Ce}="${this._id}"]`);for(let Q=0;Q0!=be.indexOf(U));V.setAttribute("aria-describedby",Q.join(" "))}_addMessageReference(V,Q){const be=this._messageRegistry.get(Q);$(V,"aria-describedby",be.messageElement.id),V.setAttribute(Ce,this._id),be.referenceCount++}_removeMessageReference(V,Q){const be=this._messageRegistry.get(Q);be.referenceCount--,ee(V,"aria-describedby",be.messageElement.id),V.removeAttribute(Ce)}_isElementDescribedByMessage(V,Q){const be=ie(V,"aria-describedby"),dt=this._messageRegistry.get(Q),Rt=dt&&dt.messageElement.id;return!!Rt&&-1!=be.indexOf(Rt)}_canBeDescribed(V,Q){if(!this._isElementNode(V))return!1;if(Q&&"object"==typeof Q)return!0;const be=null==Q?"":`${Q}`.trim(),dt=V.getAttribute("aria-label");return!(!be||dt&&dt.trim()===be)}_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 de(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 be=V.toArray().indexOf(this._activeItem);be>-1&&be!==this._activeItemIndex&&(this._activeItemIndex=be)}}))}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 Q=this._getItemsArray();for(let be=1;be!F[dt]||this._allowedModifierKeys.indexOf(dt)>-1);switch(V){case u.Mf:return void this.tabOut.next();case u.JH:if(this._vertical&&be){this.setNextItemActive();break}return;case u.LH:if(this._vertical&&be){this.setPreviousItemActive();break}return;case u.SV:if(this._horizontal&&be){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case u.oh:if(this._horizontal&&be){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case u.Sd:if(this._homeAndEnd&&be){this.setFirstItemActive();break}return;case u.uR:if(this._homeAndEnd&&be){this.setLastItemActive();break}return;case u.Ku:if(this._pageUpAndDown.enabled&&be){const dt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(dt>0?dt:0,1);break}return;case u.VM:if(this._pageUpAndDown.enabled&&be){const dt=this._activeItemIndex+this._pageUpAndDown.delta,Rt=this._getItemsArray().length;this._setActiveItemByIndex(dt=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(),Q="number"==typeof F?F:V.indexOf(F);this._activeItem=V[Q]??null,this._activeItemIndex=Q}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 Q=1;Q<=V.length;Q++){const be=(this._activeItemIndex+F*Q+V.length)%V.length;if(!this._skipPredicateFn(V[be]))return void this.setActiveItem(be)}}_setActiveInDefaultMode(F){this._setActiveItemByIndex(this._activeItemIndex+F,F)}_setActiveItemByIndex(F,V){const Q=this._getItemsArray();if(Q[F]){for(;this._skipPredicateFn(Q[F]);)if(!Q[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 Q=function G(De){try{return De.frameElement}catch{return null}}(function _t(De){return De.ownerDocument&&De.ownerDocument.defaultView||window}(V));if(Q&&(-1===tt(Q)||!this.isVisible(Q)))return!1;let be=V.nodeName.toLowerCase(),dt=tt(V);return V.hasAttribute("contenteditable")?-1!==dt:!("iframe"===be||"object"===be||this._platform.WEBKIT&&this._platform.IOS&&!function Ct(De){let F=De.nodeName.toLowerCase(),V="input"===F&&De.type;return"text"===V||"password"===V||"select"===F||"textarea"===F}(V))&&("audio"===be?!!V.hasAttribute("controls")&&-1!==dt:"video"===be?-1!==dt&&(null!==dt||this._platform.FIREFOX||V.hasAttribute("controls")):V.tabIndex>=0)}isFocusable(V,Q){return function Nt(De){return!function ve(De){return function Ze(De){return"input"==De.nodeName.toLowerCase()}(De)&&"hidden"==De.type}(De)&&(function ae(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")||Ge(De))}(V)&&!this.isDisabled(V)&&(Q?.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 Ge(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(!Ge(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,Q,be,dt=!1){this._element=F,this._checker=V,this._ngZone=Q,this._document=be,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,dt||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 Q=this._getFirstTabbableElement(V);return Q?.focus(F),!!Q}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 Q=0;Q=0;Q--){const be=V[Q].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(V[Q]):null;if(be)return be}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,Q,be){this._checker=V,this._ngZone=Q,this._document=be}create(V,Q=!1){return new Bt(V,this._checker,this._ngZone,this._document,Q)}}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})(),Lt=(()=>{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,Q,be){this._elementRef=V,this._focusTrapFactory=Q,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 Q=V.autoCapture;Q&&!Q.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"),K={ignoreKeys:[u.zL,u.jx,u.b2,u.MW,u.JU]},Te=(0,d.i$)({passive:!0,capture:!0});let et=(()=>{class De{get mostRecentModality(){return this._modality.value}constructor(V,Q,be,dt){this._platform=V,this._mostRecentTarget=null,this._modality=new f.X(null),this._lastTouchMs=0,this._onKeydown=Rt=>{this._options?.ignoreKeys?.some(qe=>qe===Rt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,d.sA)(Rt))},this._onMousedown=Rt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(oe(Rt)?"keyboard":"mouse"),this._mostRecentTarget=(0,d.sA)(Rt))},this._onTouchstart=Rt=>{Y(Rt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,d.sA)(Rt))},this._options={...K,...dt},this.modalityDetected=this._modality.pipe((0,y.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,x.x)()),V.isBrowser&&Q.runOutsideAngular(()=>{be.addEventListener("keydown",this._onKeydown,Te),be.addEventListener("mousedown",this._onMousedown,Te),be.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 _e(){return null}}),ut=new c.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Pe=0,mt=(()=>{class De{constructor(V,Q,be,dt){this._ngZone=Q,this._defaultOptions=dt,this._document=be,this._liveElement=V||this._createLiveElement()}announce(V,...Q){const be=this._defaultOptions;let dt,Rt;return 1===Q.length&&"number"==typeof Q[0]?Rt=Q[0]:[dt,Rt]=Q,this.clear(),clearTimeout(this._previousTimeout),dt||(dt=be&&be.politeness?be.politeness:"polite"),null==Rt&&be&&(Rt=be.duration),this._liveElement.setAttribute("aria-live",dt),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 Rt&&(this._previousTimeout=setTimeout(()=>this.clear(),Rt)),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",Q=this._document.getElementsByClassName(V),be=this._document.createElement("div");for(let dt=0;dt .cdk-overlay-container [aria-modal="true"]');for(let be=0;be{class De{constructor(V,Q,be,dt,Rt){this._ngZone=V,this._platform=Q,this._inputModalityDetector=be,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=dt,this._detectionMode=Rt?.detectionMode||0}monitor(V,Q=!1){const be=(0,S.fI)(V);if(!this._platform.isBrowser||1!==be.nodeType)return(0,h.of)();const dt=(0,d.kV)(be)||this._getDocument(),Rt=this._elementInfo.get(be);if(Rt)return Q&&(Rt.checkChildren=!0),Rt.subject;const qe={checkChildren:Q,subject:new g.x,rootNode:dt};return this._elementInfo.set(be,qe),this._registerGlobalListeners(qe),qe.subject}stopMonitoring(V){const Q=(0,S.fI)(V),be=this._elementInfo.get(Q);be&&(be.subject.complete(),this._setClasses(Q),this._elementInfo.delete(Q),this._removeGlobalListeners(be))}focusVia(V,Q,be){const dt=(0,S.fI)(V);dt===this._getDocument().activeElement?this._getClosestElementsInfo(dt).forEach(([qe,nt])=>this._originChanged(qe,Q,nt)):(this._setOrigin(Q),"function"==typeof dt.focus&&dt.focus(be))}ngOnDestroy(){this._elementInfo.forEach((V,Q)=>this.stopMonitoring(Q))}_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,Q){V.classList.toggle("cdk-focused",!!Q),V.classList.toggle("cdk-touch-focused","touch"===Q),V.classList.toggle("cdk-keyboard-focused","keyboard"===Q),V.classList.toggle("cdk-mouse-focused","mouse"===Q),V.classList.toggle("cdk-program-focused","program"===Q)}_setOrigin(V,Q=!1){this._ngZone.runOutsideAngular(()=>{this._origin=V,this._originFromTouchInteraction="touch"===V&&Q,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(V,Q){const be=this._elementInfo.get(Q),dt=(0,d.sA)(V);!be||!be.checkChildren&&Q!==dt||this._originChanged(Q,this._getFocusOrigin(dt),be)}_onBlur(V,Q){const be=this._elementInfo.get(Q);!be||be.checkChildren&&V.relatedTarget instanceof Node&&Q.contains(V.relatedTarget)||(this._setClasses(Q),this._emitOrigin(be,null))}_emitOrigin(V,Q){V.subject.observers.length&&this._ngZone.run(()=>V.subject.next(Q))}_registerGlobalListeners(V){if(!this._platform.isBrowser)return;const Q=V.rootNode,be=this._rootNodeFocusListenerCount.get(Q)||0;be||this._ngZone.runOutsideAngular(()=>{Q.addEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),Q.addEventListener("blur",this._rootNodeFocusAndBlurListener,Gt)}),this._rootNodeFocusListenerCount.set(Q,be+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,D.R)(this._stopInputModalityDetector)).subscribe(dt=>{this._setOrigin(dt,!0)}))}_removeGlobalListeners(V){const Q=V.rootNode;if(this._rootNodeFocusListenerCount.has(Q)){const be=this._rootNodeFocusListenerCount.get(Q);be>1?this._rootNodeFocusListenerCount.set(Q,be-1):(Q.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),Q.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Gt),this._rootNodeFocusListenerCount.delete(Q))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(V,Q,be){this._setClasses(V,Q),this._emitOrigin(be,Q),this._lastFocusOrigin=Q}_getClosestElementsInfo(V){const Q=[];return this._elementInfo.forEach((be,dt)=>{(dt===V||be.checkChildren&&dt.contains(V))&&Q.push([dt,be])}),Q}_isLastInteractionFromInputLabel(V){const{_mostRecentTarget:Q,mostRecentModality:be}=this._inputModalityDetector;if("mouse"!==be||!Q||Q===V||"INPUT"!==V.nodeName&&"TEXTAREA"!==V.nodeName||V.disabled)return!1;const dt=V.labels;if(dt)for(let Rt=0;Rt{class De{constructor(V,Q){this._elementRef=V,this._focusMonitor=Q,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(Q=>{this._focusOrigin=Q,this.cdkFocusChange.emit(Q)})}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(Oe))},De.\u0275dir=c.\u0275\u0275defineDirective({type:De,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),De})();const he="cdk-high-contrast-black-on-white",ge="cdk-high-contrast-white-on-black",ct="cdk-high-contrast-active";let Me=(()=>{class De{constructor(V,Q){this._platform=V,this._document=Q,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 Q=this._document.defaultView||window,be=Q&&Q.getComputedStyle?Q.getComputedStyle(V):null,dt=(be&&be.backgroundColor||"").replace(/ /g,"");switch(V.remove(),dt){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(ct,he,ge),this._hasCheckedHighContrastMode=!0;const Q=this.getHighContrastMode();1===Q?V.add(ct,he):2===Q&&V.add(ct,ge)}}}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(Me))},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:()=>h,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 h=(()=>{class b{constructor(_){this.value="ltr",this.change=new n.EventEmitter,_&&(this.value=function f(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:()=>f,Ig:()=>c,du:()=>u,fI:()=>h,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 f(v){return null==v?"":"string"==typeof v?v:`${v}px`}function h(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:()=>h});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 h{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:()=>ve,JH:()=>X,JU:()=>f,K5:()=>r,Ku:()=>l,LH:()=>E,L_:()=>_,MW:()=>ut,Mf:()=>d,SV:()=>I,Sd:()=>D,VM:()=>y,Vb:()=>ri,Z:()=>_e,ZH:()=>c,aO:()=>Ee,b2:()=>wi,hY:()=>p,jx:()=>h,oh:()=>S,uR:()=>x,xE:()=>U,zL:()=>u});const c=8,d=9,r=13,f=16,h=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,ve=65,_e=90,ut=91,wi=224;function ri(ai,...Ni){return Ni.length?Ni.some(Mt=>ai[Mt]):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),f=a(5592),h=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,Ce){this._platform=U,this._nonce=Ce,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,Ce){this._mediaMatcher=U,this._zone=Ce,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(de=>this._registerQuery(de).observable);let Ae=(0,g.a)(Re);return Ae=(0,r.z)(Ae.pipe((0,h.q)(1)),Ae.pipe((0,u.T)(1),(0,v.b)(0))),Ae.pipe((0,b.U)(de=>{const H={matches:!1,breakpoints:{}};return de.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 Ce=this._mediaMatcher.matchMedia(U),Ae={observable:new f.y(de=>{const H=W=>this._zone.run(()=>de.next(W));return Ce.addListener(H),()=>{Ce.removeListener(H)}}).pipe((0,p.O)(Ce),(0,b.U)(({matches:de})=>({query:U,matches:de})),(0,_.R)(this._destroySubject)),mql:Ce};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 f=(()=>{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})(),h=(()=>{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(f))},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(h),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:[f]}),b})()},9594:(Ie,B,a)=>{"use strict";a.d(B,{U8:()=>N,X_:()=>U,_G:()=>ae,aV:()=>Bt,pI:()=>lt,xu:()=>Le});var n=a(6672),c=a(6814),d=a(5879),g=a(2495),r=a(2831),f=a(2181),h=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,K){this._viewportRuler=ne,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=K}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,ce=ne.style,Te=this._document.body.style,et=ce.scrollBehavior||"",Dt=Te.scrollBehavior||"";this._isEnabled=!1,ce.left=this._previousHTMLStyles.left,ce.top=this._previousHTMLStyles.top,ne.classList.remove("cdk-global-scrollblock"),D&&(ce.scrollBehavior=Te.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),D&&(ce.scrollBehavior=et,Te.scrollBehavior=Dt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const K=this._document.body,ce=this._viewportRuler.getViewportSize();return K.scrollHeight>ce.height||K.scrollWidth>ce.width}}class I{constructor(ne,K,ce,Te){this._scrollDispatcher=ne,this._ngZone=K,this._viewportRuler=ce,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,f.h)(K=>!K||!this._overlayRef.overlayElement.contains(K.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ne.subscribe(()=>{const K=this._viewportRuler.getViewportScrollPosition().top;Math.abs(K-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(K=>Y.bottomK.bottom||Y.rightK.right)}function ee(Y,ne){return ne.some(K=>Y.topK.bottom||Y.leftK.right)}class ie{constructor(ne,K,ce,Te){this._scrollDispatcher=ne,this._viewportRuler=K,this._ngZone=ce,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 K=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ce,height:Te}=this._viewportRuler.getViewportSize();$(K,[{width:ce,height:Te,bottom:Te,right:ce,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(K,ce,Te,et){this._scrollDispatcher=K,this._viewportRuler=ce,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=et}}return Y.\u0275fac=function(K){return new(K||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 K=Object.keys(ne);for(const ce of K)void 0!==ne[ce]&&(this[ce]=ne[ce])}}}class Ae{constructor(ne,K){this.connectionPair=ne,this.scrollableViewProperties=K}}let W=(()=>{class Y{constructor(K){this._attachedOverlays=[],this._document=K}ngOnDestroy(){this.detach()}add(K){this.remove(K),this._attachedOverlays.push(K)}remove(K){const ce=this._attachedOverlays.indexOf(K);ce>-1&&this._attachedOverlays.splice(ce,1),0===this._attachedOverlays.length&&this.detach()}}return Y.\u0275fac=function(K){return new(K||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(K,ce){super(K),this._ngZone=ce,this._keydownListener=Te=>{const et=this._attachedOverlays;for(let Dt=et.length-1;Dt>-1;Dt--)if(et[Dt]._keydownEvents.observers.length>0){const _e=et[Dt]._keydownEvents;this._ngZone?this._ngZone.run(()=>_e.next(Te)):_e.next(Te);break}}}add(K){super.add(K),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(K){return new(K||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(K,ce,Te){super(K),this._platform=ce,this._ngZone=Te,this._cursorStyleIsSet=!1,this._pointerDownListener=et=>{this._pointerDownEventTarget=(0,r.sA)(et)},this._clickListener=et=>{const Dt=(0,r.sA)(et),_e="click"===et.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Dt;this._pointerDownEventTarget=null;const ut=this._attachedOverlays.slice();for(let Pe=ut.length-1;Pe>-1;Pe--){const mt=ut[Pe];if(mt._outsidePointerEvents.observers.length<1||!mt.hasAttached())continue;if(mt.overlayElement.contains(Dt)||mt.overlayElement.contains(_e))break;const Pt=mt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Pt.next(et)):Pt.next(et)}}}add(K){if(super.add(K),!this._isAttached){const ce=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ce)):this._addEventListeners(ce),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ce.style.cursor,ce.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const K=this._document.body;K.removeEventListener("pointerdown",this._pointerDownListener,!0),K.removeEventListener("click",this._clickListener,!0),K.removeEventListener("auxclick",this._clickListener,!0),K.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(K.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(K){K.addEventListener("pointerdown",this._pointerDownListener,!0),K.addEventListener("click",this._clickListener,!0),K.addEventListener("auxclick",this._clickListener,!0),K.addEventListener("contextmenu",this._clickListener,!0)}}return Y.\u0275fac=function(K){return new(K||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(K,ce){this._platform=ce,this._document=K}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const K="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const Te=this._document.querySelectorAll(`.${K}[platform="server"], .${K}[platform="test"]`);for(let et=0;etthis._backdropClick.next(Pt),this._backdropTransitionendHandler=Pt=>{this._disposeBackdrop(Pt.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 K=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,h.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 K?.onDestroy&&K.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),K}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,K,ce){const Te=(0,g.Eq)(K||[]).filter(et=>!!et);Te.length&&(ce?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 ae{get positions(){return this._preferredPositions}constructor(ne,K,ce,Te,et){this._viewportRuler=K,this._document=ce,this._platform=Te,this._overlayContainer=et,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,K=this._overlayRect,ce=this._viewportRect,Te=this._containerRect,et=[];let Dt;for(let _e of this._preferredPositions){let ut=this._getOriginPoint(ne,Te,_e),Pe=this._getOverlayPoint(ut,K,_e),mt=this._getOverlayFit(Pe,K,ce,_e);if(mt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(_e,ut);this._canFitWithFlexibleDimensions(mt,Pe,ce)?et.push({position:_e,origin:ut,overlayRect:K,boundingBoxRect:this._calculateBoundingBoxRect(ut,_e)}):(!Dt||Dt.overlayFit.visibleAreaut&&(ut=mt,_e=Pe)}return this._isPushed=!1,void this._applyPosition(_e.position,_e.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&&ve(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 K=this._getOriginPoint(this._originRect,this._containerRect,ne);this._applyPosition(ne,K)}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,K,ce){let Te,et;if("center"==ce.originX)Te=ne.left+ne.width/2;else{const Dt=this._isRtl()?ne.right:ne.left,_e=this._isRtl()?ne.left:ne.right;Te="start"==ce.originX?Dt:_e}return K.left<0&&(Te-=K.left),et="center"==ce.originY?ne.top+ne.height/2:"top"==ce.originY?ne.top:ne.bottom,K.top<0&&(et-=K.top),{x:Te,y:et}}_getOverlayPoint(ne,K,ce){let Te,et;return Te="center"==ce.overlayX?-K.width/2:"start"===ce.overlayX?this._isRtl()?-K.width:0:this._isRtl()?0:-K.width,et="center"==ce.overlayY?-K.height/2:"top"==ce.overlayY?0:-K.height,{x:ne.x+Te,y:ne.y+et}}_getOverlayFit(ne,K,ce,Te){const et=Ze(K);let{x:Dt,y:_e}=ne,ut=this._getOffset(Te,"x"),Pe=this._getOffset(Te,"y");ut&&(Dt+=ut),Pe&&(_e+=Pe);let Ft=0-_e,Gt=_e+et.height-ce.height,Oe=this._subtractOverflows(et.width,0-Dt,Dt+et.width-ce.width),Ke=this._subtractOverflows(et.height,Ft,Gt),he=Oe*Ke;return{visibleArea:he,isCompletelyWithinViewport:et.width*et.height===he,fitsInViewportVertically:Ke===et.height,fitsInViewportHorizontally:Oe==et.width}}_canFitWithFlexibleDimensions(ne,K,ce){if(this._hasFlexibleDimensions){const Te=ce.bottom-K.y,et=ce.right-K.x,Dt=He(this._overlayRef.getConfig().minHeight),_e=He(this._overlayRef.getConfig().minWidth);return(ne.fitsInViewportVertically||null!=Dt&&Dt<=Te)&&(ne.fitsInViewportHorizontally||null!=_e&&_e<=et)}return!1}_pushOverlayOnScreen(ne,K,ce){if(this._previousPushAmount&&this._positionLocked)return{x:ne.x+this._previousPushAmount.x,y:ne.y+this._previousPushAmount.y};const Te=Ze(K),et=this._viewportRect,Dt=Math.max(ne.x+Te.width-et.width,0),_e=Math.max(ne.y+Te.height-et.height,0),ut=Math.max(et.top-ce.top-ne.y,0),Pe=Math.max(et.left-ce.left-ne.x,0);let mt=0,Pt=0;return mt=Te.width<=et.width?Pe||-Dt:ne.xOe&&!this._isInitialRender&&!this._growAfterOpen&&(Dt=ne.y-Oe/2)}if("end"===K.overlayX&&!Te||"start"===K.overlayX&&Te)Ft=ce.width-ne.x+this._viewportMargin,mt=ne.x-this._viewportMargin;else if("start"===K.overlayX&&!Te||"end"===K.overlayX&&Te)Pt=ne.x,mt=ce.right-ne.x;else{const Gt=Math.min(ce.right-ne.x+ce.left,ne.x),Oe=this._lastBoundingBoxSize.width;mt=2*Gt,Pt=ne.x-Gt,mt>Oe&&!this._isInitialRender&&!this._growAfterOpen&&(Pt=ne.x-Oe/2)}return{top:Dt,left:Pt,bottom:_e,right:Ft,width:mt,height:et}}_setBoundingBoxStyles(ne,K){const ce=this._calculateBoundingBoxRect(ne,K);!this._isInitialRender&&!this._growAfterOpen&&(ce.height=Math.min(ce.height,this._lastBoundingBoxSize.height),ce.width=Math.min(ce.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 et=this._overlayRef.getConfig().maxHeight,Dt=this._overlayRef.getConfig().maxWidth;Te.height=(0,g.HM)(ce.height),Te.top=(0,g.HM)(ce.top),Te.bottom=(0,g.HM)(ce.bottom),Te.width=(0,g.HM)(ce.width),Te.left=(0,g.HM)(ce.left),Te.right=(0,g.HM)(ce.right),Te.alignItems="center"===K.overlayX?"center":"end"===K.overlayX?"flex-end":"flex-start",Te.justifyContent="center"===K.overlayY?"center":"bottom"===K.overlayY?"flex-end":"flex-start",et&&(Te.maxHeight=(0,g.HM)(et)),Dt&&(Te.maxWidth=(0,g.HM)(Dt))}this._lastBoundingBoxSize=ce,ve(this._boundingBox.style,Te)}_resetBoundingBoxStyles(){ve(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ve(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ne,K){const ce={},Te=this._hasExactPosition(),et=this._hasFlexibleDimensions,Dt=this._overlayRef.getConfig();if(Te){const mt=this._viewportRuler.getViewportScrollPosition();ve(ce,this._getExactOverlayY(K,ne,mt)),ve(ce,this._getExactOverlayX(K,ne,mt))}else ce.position="static";let _e="",ut=this._getOffset(K,"x"),Pe=this._getOffset(K,"y");ut&&(_e+=`translateX(${ut}px) `),Pe&&(_e+=`translateY(${Pe}px)`),ce.transform=_e.trim(),Dt.maxHeight&&(Te?ce.maxHeight=(0,g.HM)(Dt.maxHeight):et&&(ce.maxHeight="")),Dt.maxWidth&&(Te?ce.maxWidth=(0,g.HM)(Dt.maxWidth):et&&(ce.maxWidth="")),ve(this._pane.style,ce)}_getExactOverlayY(ne,K,ce){let Te={top:"",bottom:""},et=this._getOverlayPoint(K,this._overlayRect,ne);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,ce)),"bottom"===ne.overlayY?Te.bottom=this._document.documentElement.clientHeight-(et.y+this._overlayRect.height)+"px":Te.top=(0,g.HM)(et.y),Te}_getExactOverlayX(ne,K,ce){let Dt,Te={left:"",right:""},et=this._getOverlayPoint(K,this._overlayRect,ne);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,ce)),Dt=this._isRtl()?"end"===ne.overlayX?"left":"right":"end"===ne.overlayX?"right":"left","right"===Dt?Te.right=this._document.documentElement.clientWidth-(et.x+this._overlayRect.width)+"px":Te.left=(0,g.HM)(et.x),Te}_getScrollVisibility(){const ne=this._getOriginRect(),K=this._pane.getBoundingClientRect(),ce=this._scrollables.map(Te=>Te.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ee(ne,ce),isOriginOutsideView:$(ne,ce),isOverlayClipped:ee(K,ce),isOverlayOutsideView:$(K,ce)}}_subtractOverflows(ne,...K){return K.reduce((ce,Te)=>ce-Math.max(Te,0),ne)}_getNarrowedViewportRect(){const ne=this._document.documentElement.clientWidth,K=this._document.documentElement.clientHeight,ce=this._viewportRuler.getViewportScrollPosition();return{top:ce.top+this._viewportMargin,left:ce.left+this._viewportMargin,right:ce.left+ne-this._viewportMargin,bottom:ce.top+K-this._viewportMargin,width:ne-2*this._viewportMargin,height:K-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ne,K){return"x"===K?null==ne.offsetX?this._offsetX:ne.offsetX:null==ne.offsetY?this._offsetY:ne.offsetY}_validatePositions(){}_addPanelClasses(ne){this._pane&&(0,g.Eq)(ne).forEach(K=>{""!==K&&-1===this._appliedPanelClasses.indexOf(K)&&(this._appliedPanelClasses.push(K),this._pane.classList.add(K))})}_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 K=ne.width||0,ce=ne.height||0;return{top:ne.y,bottom:ne.y+ce,left:ne.x,right:ne.x+K,height:ce,width:K}}}function ve(Y,ne){for(let K in ne)ne.hasOwnProperty(K)&&(Y[K]=ne[K]);return Y}function He(Y){if("number"!=typeof Y&&null!=Y){const[ne,K]=Y.split(re);return K&&"px"!==K?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 Ct{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ne){const K=ne.getConfig();this._overlayRef=ne,this._width&&!K.width&&ne.updateSize({width:this._width}),this._height&&!K.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,K=this._overlayRef.hostElement.style,ce=this._overlayRef.getConfig(),{width:Te,height:et,maxWidth:Dt,maxHeight:_e}=ce,ut=!("100%"!==Te&&"100vw"!==Te||Dt&&"100%"!==Dt&&"100vw"!==Dt),Pe=!("100%"!==et&&"100vh"!==et||_e&&"100%"!==_e&&"100vh"!==_e),mt=this._xPosition,Pt=this._xOffset,Ft="rtl"===this._overlayRef.getConfig().direction;let Gt="",Oe="",Ke="";ut?Ke="flex-start":"center"===mt?(Ke="center",Ft?Oe=Pt:Gt=Pt):Ft?"left"===mt||"end"===mt?(Ke="flex-end",Gt=Pt):("right"===mt||"start"===mt)&&(Ke="flex-start",Oe=Pt):"left"===mt||"start"===mt?(Ke="flex-start",Gt=Pt):("right"===mt||"end"===mt)&&(Ke="flex-end",Oe=Pt),ne.position=this._cssPosition,ne.marginLeft=ut?"0":Gt,ne.marginTop=Pe?"0":this._topOffset,ne.marginBottom=this._bottomOffset,ne.marginRight=ut?"0":Oe,K.justifyContent=Ke,K.alignItems=Pe?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ne=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement,ce=K.style;K.classList.remove(tt),ce.justifyContent=ce.alignItems=ne.marginTop=ne.marginBottom=ne.marginLeft=ne.marginRight=ne.position="",this._overlayRef=null,this._isDisposed=!0}}let Nt=(()=>{class Y{constructor(K,ce,Te,et){this._viewportRuler=K,this._document=ce,this._platform=Te,this._overlayContainer=et}global(){return new Ct}flexibleConnectedTo(K){return new ae(K,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Y.\u0275fac=function(K){return new(K||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})(),_t=0,Bt=(()=>{class Y{constructor(K,ce,Te,et,Dt,_e,ut,Pe,mt,Pt,Ft,Gt){this.scrollStrategies=K,this._overlayContainer=ce,this._componentFactoryResolver=Te,this._positionBuilder=et,this._keyboardDispatcher=Dt,this._injector=_e,this._ngZone=ut,this._document=Pe,this._directionality=mt,this._location=Pt,this._outsideClickDispatcher=Ft,this._animationsModuleType=Gt}create(K){const ce=this._createHostElement(),Te=this._createPaneElement(ce),et=this._createPortalOutlet(Te),Dt=new U(K);return Dt.direction=Dt.direction||this._directionality.value,new Be(et,ce,Te,Dt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(K){const ce=this._document.createElement("div");return ce.id="cdk-overlay-"+_t++,ce.classList.add("cdk-overlay-pane"),K.appendChild(ce),ce}_createHostElement(){const K=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(K),K}_createPortalOutlet(K){return this._appRef||(this._appRef=this._injector.get(d.ApplicationRef)),new p.u0(K,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Y.\u0275fac=function(K){return new(K||Y)(d.\u0275\u0275inject(A),d.\u0275\u0275inject(Ee),d.\u0275\u0275inject(d.ComponentFactoryResolver),d.\u0275\u0275inject(Nt),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"}],Lt=new d.InjectionToken("cdk-connected-overlay-scroll-strategy");let Le=(()=>{class Y{constructor(K){this.elementRef=K}}return Y.\u0275fac=function(K){return new(K||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})(),lt=(()=>{class Y{get offsetX(){return this._offsetX}set offsetX(K){this._offsetX=K,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(K){this._offsetY=K,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(K){this._hasBackdrop=(0,g.Ig)(K)}get lockPosition(){return this._lockPosition}set lockPosition(K){this._lockPosition=(0,g.Ig)(K)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(K){this._flexibleDimensions=(0,g.Ig)(K)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(K){this._growAfterOpen=(0,g.Ig)(K)}get push(){return this._push}set push(K){this._push=(0,g.Ig)(K)}constructor(K,ce,Te,et,Dt){this._overlay=K,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(ce,Te),this._scrollStrategyFactory=et,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(K){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),K.origin&&this.open&&this._position.apply()),K.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Tt);const K=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=K.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=K.detachments().subscribe(()=>this.detach.emit()),K.keydownEvents().subscribe(ce=>{this.overlayKeydown.next(ce),ce.keyCode===x.hY&&!this.disableClose&&!(0,x.Vb)(ce)&&(ce.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ce=>{this.overlayOutsideClick.next(ce)})}_buildConfig(){const K=this._position=this.positionStrategy||this._createPositionStrategy(),ce=new U({direction:this._dir,positionStrategy:K,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(ce.width=this.width),(this.height||0===this.height)&&(ce.height=this.height),(this.minWidth||0===this.minWidth)&&(ce.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ce.minHeight=this.minHeight),this.backdropClass&&(ce.backdropClass=this.backdropClass),this.panelClass&&(ce.panelClass=this.panelClass),ce}_updatePositionStrategy(K){const ce=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 K.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ce).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const K=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(K),K}_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(K=>{this.backdropClick.emit(K)}):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(K=>{this.positionChange.emit(K),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Y.\u0275fac=function(K){return new(K||Y)(d.\u0275\u0275directiveInject(Bt),d.\u0275\u0275directiveInject(d.TemplateRef),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(Lt),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:Lt,deps:[Bt],useFactory:function ze(Y){return()=>Y.scrollStrategies.reposition()}};let N=(()=>{class Y{}return Y.\u0275fac=function(K){return new(K||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 f,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 h=["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(f)return f;if("object"!=typeof document||!document)return f=new Set(h),f;let ee=document.createElement("input");return f=new Set(h.filter(ie=>(ee.setAttribute("type",ie),ee.type===ie))),f}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,Ce,Re,Ae){super(),this.component=A,this.viewContainerRef=U,this.injector=Ce,this.componentFactoryResolver=Re,this.projectableNodes=Ae}}class p extends v{constructor(A,U,Ce,Re){super(),this.templateRef=A,this.viewContainerRef=U,this.context=Ce,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,Ce,Re,Ae){super(),this.outletElement=A,this._componentFactoryResolver=U,this._appRef=Ce,this._defaultInjector=Re,this.attachDomPortal=de=>{const H=de.element,W=this._document.createComment("dom-portal");H.parentNode.insertBefore(W,H),this.outletElement.appendChild(H),this._attachedPortal=de,super.setDisposeFn(()=>{W.parentNode&&W.parentNode.replaceChild(H,W)})},this._document=Ae}attachComponentPortal(A){const Ce=(A.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(A.component);let Re;return A.viewContainerRef?(Re=A.viewContainerRef.createComponent(Ce,A.viewContainerRef.length,A.injector||A.viewContainerRef.injector,A.projectableNodes||void 0),this.setDisposeFn(()=>Re.destroy())):(Re=Ce.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,Ce=U.createEmbeddedView(A.templateRef,A.context,{injector:A.injector});return Ce.rootNodes.forEach(Re=>this.outletElement.appendChild(Re)),Ce.detectChanges(),this.setDisposeFn(()=>{let Re=U.indexOf(Ce);-1!==Re&&U.remove(Re)}),this._attachedPortal=A,Ce}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(A){return A.hostView.rootNodes[0]}}let S=(()=>{class ie extends p{constructor(U,Ce){super(U,Ce)}}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,Ce,Re){super(),this._componentFactoryResolver=U,this._viewContainerRef=Ce,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=Ae=>{const de=Ae.element,H=this._document.createComment("dom-portal");Ae.setAttachedHost(this),de.parentNode.insertBefore(H,de),this._getRootNode().appendChild(de),this._attachedPortal=Ae,super.setDisposeFn(()=>{H.parentNode&&H.parentNode.replaceChild(de,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 Ce=null!=U.viewContainerRef?U.viewContainerRef:this._viewContainerRef,Ae=(U.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(U.component),de=Ce.createComponent(Ae,Ce.length,U.injector||Ce.injector,U.projectableNodes||void 0);return Ce!==this._viewContainerRef&&this._getRootNode().appendChild(de.hostView.rootNodes[0]),super.setDisposeFn(()=>de.destroy()),this._attachedPortal=U,this._attachedRef=de,this.attached.emit(de),de}attachTemplatePortal(U){U.setAttachedHost(this);const Ce=this._viewContainerRef.createEmbeddedView(U.templateRef,U.context,{injector:U.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=U,this._attachedRef=Ce,this.attached.emit(Ce),Ce}_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),f=a(2438),v=(a(927),a(6410),a(8672)),b=a(2181),p=a(2831),_=a(6814),l=a(9388);let $=(()=>{class G{constructor(ae,ve,He){this._ngZone=ae,this._platform=ve,this._scrolled=new d.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=He}register(ae){this.scrollContainers.has(ae)||this.scrollContainers.set(ae,ae.elementScrolled().subscribe(()=>this._scrolled.next(ae)))}deregister(ae){const ve=this.scrollContainers.get(ae);ve&&(ve.unsubscribe(),this.scrollContainers.delete(ae))}scrolled(ae=20){return this._platform.isBrowser?new r.y(ve=>{this._globalSubscription||this._addGlobalListener();const He=ae>0?this._scrolled.pipe((0,v.e)(ae)).subscribe(ve):this._scrolled.subscribe(ve);return this._scrolledCount++,()=>{He.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,g.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ae,ve)=>this.deregister(ve)),this._scrolled.complete()}ancestorScrolled(ae,ve){const He=this.getAncestorScrollContainers(ae);return this.scrolled(ve).pipe((0,b.h)(Ze=>!Ze||He.indexOf(Ze)>-1))}getAncestorScrollContainers(ae){const ve=[];return this.scrollContainers.forEach((He,Ze)=>{this._scrollableContainsElement(Ze,ae)&&ve.push(Ze)}),ve}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ae,ve){let He=(0,n.fI)(ve),Ze=ae.getElementRef().nativeElement;do{if(He==Ze)return!0}while(He=He.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ae=this._getWindow();return(0,f.R)(ae.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return G.\u0275fac=function(ae){return new(ae||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(ae,ve,He){this._platform=ae,this._change=new d.x,this._changeListener=Ze=>{this._change.next(Ze)},this._document=He,ve.runOutsideAngular(()=>{if(ae.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 ae=this._getWindow();ae.removeEventListener("resize",this._changeListener),ae.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ae={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ae}getViewportRect(){const ae=this.getViewportScrollPosition(),{width:ve,height:He}=this.getViewportSize();return{top:ae.top,left:ae.left,bottom:ae.top+He,right:ae.left+ve,height:He,width:ve}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ae=this._document,ve=this._getWindow(),He=ae.documentElement,Ze=He.getBoundingClientRect();return{top:-Ze.top||ae.body.scrollTop||ve.scrollY||He.scrollTop||0,left:-Ze.left||ae.body.scrollLeft||ve.scrollX||He.scrollLeft||0}}change(ae=20){return ae>0?this._change.pipe((0,v.e)(ae)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ae=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ae.innerWidth,height:ae.innerHeight}:{width:0,height:0}}}return G.\u0275fac=function(ae){return new(ae||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(ae){return new(ae||G)},G.\u0275mod=c.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=c.\u0275\u0275defineInjector({}),G})(),Be=(()=>{class G{}return G.\u0275fac=function(ae){return new(ae||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:()=>h});var n=a(2831),c=a(5879),d=a(2495),g=a(6232),r=a(8645);const f=(0,n.i$)({passive:!0});let h=(()=>{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,f),y.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(y,{subject:D,unlisten:()=>{y.removeEventListener("animationstart",E,f)}}),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:()=>f,DatePipe:()=>En,DecimalPipe:()=>Ot,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:()=>se,NgStyle:()=>Xe,NgSwitch:()=>Mt,NgSwitchCase:()=>jt,NgSwitchDefault:()=>ke,NgTemplateOutlet:()=>kt,NumberFormatStyle:()=>ie,NumberSymbol:()=>Ae,PRECONNECT_CHECK_BLOCKLIST:()=>bo,PathLocationStrategy:()=>x,PercentPipe:()=>C,PlatformLocation:()=>h,Plural:()=>A,SlicePipe:()=>Zt,TitleCasePipe:()=>Fi,TranslationWidth:()=>Ce,UpperCasePipe:()=>Gi,VERSION:()=>St,ViewportScroller:()=>Ht,WeekDay:()=>de,XhrFactory:()=>Vn,formatCurrency:()=>Vi,formatDate:()=>et,formatNumber:()=>xt,formatPercent:()=>Yi,getCurrencySymbol:()=>ze,getLocaleCurrencyCode:()=>tt,getLocaleCurrencyName:()=>Ge,getLocaleCurrencySymbol:()=>Qe,getLocaleDateFormat:()=>re,getLocaleDateTimeFormat:()=>ve,getLocaleDayNames:()=>pe,getLocaleDayPeriods:()=>W,getLocaleDirection:()=>Lt,getLocaleEraNames:()=>Ee,getLocaleExtraDayPeriodRules:()=>Bt,getLocaleExtraDayPeriods:()=>Tt,getLocaleFirstDayOfWeek:()=>Be,getLocaleId:()=>H,getLocaleMonthNames:()=>we,getLocaleNumberFormat:()=>Ze,getLocaleNumberSymbol:()=>He,getLocalePluralCase:()=>Nt,getLocaleTimeFormat:()=>ae,getLocaleWeekEndRange:()=>G,getNumberOfCurrencyDigits:()=>N,isPlatformBrowser:()=>ir,isPlatformServer:()=>wt,isPlatformWorkerApp:()=>vt,isPlatformWorkerUi:()=>gt,provideCloudflareLoader:()=>Oo,provideCloudinaryLoader:()=>po,provideImageKitLoader:()=>go,provideImgixLoader:()=>We,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 f=new n.InjectionToken("DocumentToken");let h=(()=>{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 h{constructor(){super(),this._doc=(0,n.inject)(f),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)(f).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,$t){const Kt=this.prepareExternalUrl(ht+_($t));this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,$t){const Kt=this.prepareExternalUrl(ht+_($t));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(h),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,$t){let Kt=this.prepareExternalUrl(ht+_($t));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,$t){let Kt=this.prepareExternalUrl(ht+_($t));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(h),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||{}),Ce=function(L){return L[L.Narrow=0]="Narrow",L[L.Abbreviated=1]="Abbreviated",L[L.Wide=2]="Wide",L[L.Short=3]="Short",L}(Ce||{}),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||{}),de=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}(de||{});function H(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.LocaleId]}function W(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.DayPeriodsFormat],Ue[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],xe);return Le($t,Z)}function pe(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.DaysFormat],Ue[n.\u0275LocaleDataIndex.DaysStandalone]],xe);return Le($t,Z)}function we(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.MonthsFormat],Ue[n.\u0275LocaleDataIndex.MonthsStandalone]],xe);return Le($t,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 ae(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.TimeFormat],xe)}function ve(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 Ge(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.CurrencyName]||null}function tt(L){return(0,n.\u0275getLocaleCurrencyCode)(L)}const Nt=n.\u0275getLocalePluralCase;function _t(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 _t(xe),(xe[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Ue=>"string"==typeof Ue?lt(Ue):[lt(Ue[0]),lt(Ue[1])])}function Tt(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L);_t(Ue);const $t=Le([Ue[n.\u0275LocaleDataIndex.ExtraData][0],Ue[n.\u0275LocaleDataIndex.ExtraData][1]],xe)||[];return Le($t,Z)||[]}function Lt(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 lt(L){const[xe,Z]=L.split(":");return{hours:+xe,minutes:+Z}}function ze(L,xe,Z="en"){const Ue=function Ct(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 K=function(L){return L[L.Short=0]="Short",L[L.ShortGMT=1]="ShortGMT",L[L.Long=2]="Long",L[L.Extended=3]="Extended",L}(K||{}),ce=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}(ce||{}),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 et(L,xe,Z,Ue){let ht=function Rt(L){if(nt(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,$t=1,Kt=1]=L.split("-").map(Un=>+Un);return Dt(ht,$t-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,$t=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 $t.call(xe,Kt,Un,ki,Hi),xe}(Ue)}const xe=new Date(L);if(!nt(xe))throw new Error(`Unable to convert "${L}" into a date`);return xe}(L);xe=_e(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=Q(Ue,ki),ht=function dt(L,xe,Z){const Ue=Z?-1:1,ht=L.getTimezoneOffset();return function be(L,xe){return(L=new Date(L.getTime())).setMinutes(L.getMinutes()+xe),L}(L,Ue*(Q(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=Gt(Te.Eras,Ce.Abbreviated);break;case"GGGG":xe=Gt(Te.Eras,Ce.Wide);break;case"GGGGG":xe=Gt(Te.Eras,Ce.Narrow);break;case"y":xe=Pt(ce.FullYear,1,0,!1,!0);break;case"yy":xe=Pt(ce.FullYear,2,0,!0,!0);break;case"yyy":xe=Pt(ce.FullYear,3,0,!1,!0);break;case"yyyy":xe=Pt(ce.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=Pt(ce.Month,1,1);break;case"MM":case"LL":xe=Pt(ce.Month,2,1);break;case"MMM":xe=Gt(Te.Months,Ce.Abbreviated);break;case"MMMM":xe=Gt(Te.Months,Ce.Wide);break;case"MMMMM":xe=Gt(Te.Months,Ce.Narrow);break;case"LLL":xe=Gt(Te.Months,Ce.Abbreviated,U.Standalone);break;case"LLLL":xe=Gt(Te.Months,Ce.Wide,U.Standalone);break;case"LLLLL":xe=Gt(Te.Months,Ce.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=Pt(ce.Date,1);break;case"dd":xe=Pt(ce.Date,2);break;case"c":case"cc":xe=Pt(ce.Day,1);break;case"ccc":xe=Gt(Te.Days,Ce.Abbreviated,U.Standalone);break;case"cccc":xe=Gt(Te.Days,Ce.Wide,U.Standalone);break;case"ccccc":xe=Gt(Te.Days,Ce.Narrow,U.Standalone);break;case"cccccc":xe=Gt(Te.Days,Ce.Short,U.Standalone);break;case"E":case"EE":case"EEE":xe=Gt(Te.Days,Ce.Abbreviated);break;case"EEEE":xe=Gt(Te.Days,Ce.Wide);break;case"EEEEE":xe=Gt(Te.Days,Ce.Narrow);break;case"EEEEEE":xe=Gt(Te.Days,Ce.Short);break;case"a":case"aa":case"aaa":xe=Gt(Te.DayPeriods,Ce.Abbreviated);break;case"aaaa":xe=Gt(Te.DayPeriods,Ce.Wide);break;case"aaaaa":xe=Gt(Te.DayPeriods,Ce.Narrow);break;case"b":case"bb":case"bbb":xe=Gt(Te.DayPeriods,Ce.Abbreviated,U.Standalone,!0);break;case"bbbb":xe=Gt(Te.DayPeriods,Ce.Wide,U.Standalone,!0);break;case"bbbbb":xe=Gt(Te.DayPeriods,Ce.Narrow,U.Standalone,!0);break;case"B":case"BB":case"BBB":xe=Gt(Te.DayPeriods,Ce.Abbreviated,U.Format,!0);break;case"BBBB":xe=Gt(Te.DayPeriods,Ce.Wide,U.Format,!0);break;case"BBBBB":xe=Gt(Te.DayPeriods,Ce.Narrow,U.Format,!0);break;case"h":xe=Pt(ce.Hours,1,-12);break;case"hh":xe=Pt(ce.Hours,2,-12);break;case"H":xe=Pt(ce.Hours,1);break;case"HH":xe=Pt(ce.Hours,2);break;case"m":xe=Pt(ce.Minutes,1);break;case"mm":xe=Pt(ce.Minutes,2);break;case"s":xe=Pt(ce.Seconds,1);break;case"ss":xe=Pt(ce.Seconds,2);break;case"S":xe=Pt(ce.FractionalSeconds,1);break;case"SS":xe=Pt(ce.FractionalSeconds,2);break;case"SSS":xe=Pt(ce.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":xe=Ke(K.Short);break;case"ZZZZZ":xe=Ke(K.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":xe=Ke(K.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":xe=Ke(K.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 _e(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=ae(L,Re.Short);break;case"mediumTime":Ue=ae(L,Re.Medium);break;case"longTime":Ue=ae(L,Re.Long);break;case"fullTime":Ue=ae(L,Re.Full);break;case"short":const ht=_e(L,"shortTime"),$t=_e(L,"shortDate");Ue=ut(ve(L,Re.Short),[ht,$t]);break;case"medium":const Kt=_e(L,"mediumTime"),Un=_e(L,"mediumDate");Ue=ut(ve(L,Re.Medium),[Kt,Un]);break;case"long":const ki=_e(L,"longTime"),Hi=_e(L,"longDate");Ue=ut(ve(L,Re.Long),[ki,Hi]);break;case"full":const Ci=_e(L,"fullTime"),Jn=_e(L,"fullDate");Ue=ut(ve(L,Re.Full),[Ci,Jn])}return Ue&&(Y[Z][xe]=Ue),Ue}function ut(L,xe){return xe&&(L=L.replace(/\{([^}]+)}/g,function(Z,Ue){return null!=xe&&Ue in xe?xe[Ue]:Z})),L}function Pe(L,xe,Z="-",Ue,ht){let $t="";(L<0||ht&&L<=0)&&(ht?L=1-L:(L=-L,$t=Z));let Kt=String(L);for(;Kt.length0||Un>-Z)&&(Un+=Z),L===ce.Hours)0===Un&&-12===Z&&(Un=12);else if(L===ce.FractionalSeconds)return function mt(L,xe){return Pe(L,3).substring(0,xe)}(Un,xe);const ki=He(Kt,Ae.MinusSign);return Pe(Un,xe,ki,Ue,ht)}}function Gt(L,xe,Z=U.Format,Ue=!1){return function(ht,$t){return function Oe(L,xe,Z,Ue,ht,$t){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($t){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 K.Short:return(ht>=0?"+":"")+Pe(Kt,2,$t)+Pe(Math.abs(ht%60),2,$t);case K.ShortGMT:return"GMT"+(ht>=0?"+":"")+Pe(Kt,1,$t);case K.Long:return"GMT"+(ht>=0?"+":"")+Pe(Kt,2,$t)+":"+Pe(Math.abs(ht%60),2,$t);case K.Extended:return 0===Ue?"Z":(ht>=0?"+":"")+Pe(Kt,2,$t)+":"+Pe(Math.abs(ht%60),2,$t);default:throw new Error(`Unknown zone width "${L}"`)}}}const he=0,ge=4;function Me(L){return Dt(L.getFullYear(),L.getMonth(),L.getDate()+(ge-L.getDay()))}function Ye(L,xe=!1){return function(Z,Ue){let ht;if(xe){const $t=new Date(Z.getFullYear(),Z.getMonth(),1).getDay()-1,Kt=Z.getDate();ht=1+Math.floor((Kt+$t)/7)}else{const $t=Me(Z),Kt=function ct(L){const xe=Dt(L,he,1).getDay();return Dt(L,0,1+(xe<=ge?ge:ge+7)-xe)}($t.getFullYear()),Un=$t.getTime()-Kt.getTime();ht=1+Math.round(Un/6048e5)}return Pe(ht,L,He(Ue,Ae.MinusSign))}}function De(L,xe=!1){return function(Z,Ue){return Pe(Me(Z).getFullYear(),L,He(Ue,Ae.MinusSign),xe)}}const F={};function Q(L,xe){L=L.replace(/:/g,"");const Z=Date.parse("Jan 01, 1970 00:00:00 "+L)/6e4;return isNaN(Z)?xe:Z}function nt(L){return L instanceof Date&&!isNaN(L.valueOf())}const Ve=/^(\d+)?\.((\d+)(-(\d+))?)?$/,yt=22,At=".",on="0",xn=";",Sn=",",_n="#",Mn="\xa4",xi="%";function fi(L,xe,Z,Ue,ht,$t,Kt=!1){let Un="",ki=!1;if(isFinite(L)){let Hi=function qt(L){let Ue,ht,$t,Kt,Un,xe=Math.abs(L)+"",Z=0;for((ht=xe.indexOf(At))>-1&&(xe=xe.replace(At,"")),($t=xe.search(/e/i))>0?(ht<0&&(ht=$t),ht+=+xe.slice($t+1),xe=xe.substring(0,$t)):ht<0&&(ht=xe.length),$t=0;xe.charAt($t)===on;$t++);if($t===(Un=xe.length))Ue=[0],ht=1;else{for(Un--;xe.charAt(Un)===on;)Un--;for(ht-=$t,Ue=[],Kt=0;$t<=Un;$t++,Kt++)Ue[Kt]=Number(xe.charAt($t))}return ht>yt&&(Ue=Ue.splice(0,yt-1),Z=ht-1,ht=1),{digits:Ue,exponent:Z,integerLen:ht}}(L);Kt&&(Hi=function pt(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($t){const pr=$t.match(Ve);if(null===pr)throw new Error(`${$t} 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 $t=Math.min(Math.max(xe,ht),Z);let Kt=$t+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=bt(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,bt(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 xt(L,xe,Z){return fi(L,bt(Ze(xe,ie.Decimal),He(xe,Ae.MinusSign)),xe,Ae.Group,Ae.Decimal,Z)}function bt(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],$t=Ue[1],Kt=-1!==ht.indexOf(At)?ht.split(At):[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(Nt(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,$t]=-1==Ue?[Z,""]:[Z.slice(0,Ue),Z.slice(Ue+1)];if(ht.trim()===xe)return decodeURIComponent($t)}return null}const $n=/\s+/,ti=[];let an=(()=>{class L{constructor(Z,Ue,ht,$t){this._iterableDiffers=Z,this._keyValueDiffers=Ue,this._ngEl=ht,this._renderer=$t,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:$t}=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)):$t?$t.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,$t,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===$t?void 0:$t);else if(null!==$t){const Un=Ue.get($t);Ue.move(Un,Kt),mi(Un,ht)}});for(let ht=0,$t=Ue.length;ht<$t;ht++){const Un=Ue.get(ht).context;Un.index=ht,Un.count=$t,Un.ngForOf=this._ngForOf}Z.forEachIdentityChange(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 Mt=(()=>{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(Mt,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(Mt,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})(),se=(()=>{class L{constructor(Z,Ue,ht,$t){this.value=Z;const Kt=!isNaN(Number(Z));$t.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,$t]=Z.split("."),Kt=-1===ht.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Ue?this._renderer.setStyle(this._ngEl.nativeElement,ht,$t?`${Ue}${$t}`: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})(),kt=(()=>{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:$t,ngTemplateOutletInjector:Kt}=this;this._viewRef=Ue.createEmbeddedView(ht,$t,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,$t){if(null==Z||""===Z||Z!=Z)return null;try{return et(Z,Ue??this.defaultOptions?.dateFormat??"mediumDate",$t||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),$t=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||$t)&&(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(!Ne(Z))return null;ht=ht||this._locale;try{return xt(ot(Z),ht,Ue)}catch($t){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(!Ne(Z))return null;ht=ht||this._locale;try{return Yi(ot(Z),ht,Ue)}catch($t){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",$t,Kt){if(!Ne(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(ot(Z),Kt,Un,Ue,$t)}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 Ne(L){return!(null==L||""===L||L!=L)}function ot(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 gt(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)(f),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 $t=ht.shadowRoot;if($t){const Kt=$t.getElementById(xe)||$t.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,$t=this.offset();this.window.scrollTo(Ue-$t[0],ht-$t[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 We=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)(f)}createPreloadLinkTag(Z,Ue,ht,$t){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"),$t&&Z.setAttribute(Kt,"imageSizes",$t),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 $t=Z?parseFloat(ht):parseFloat(ht)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:$t})} ${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($t=>$t>=640)),Ue.map($t=>`${this.callImageLoader({src:this.ngSrc,width:$t})} ${$t}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:()=>Ge,HTTP_INTERCEPTORS:()=>Lt,HttpBackend:()=>x,HttpClient:()=>ve,HttpClientJsonpModule:()=>xn,HttpClientModule:()=>on,HttpClientXsrfModule:()=>At,HttpContext:()=>Ce,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:()=>Pt,HttpXsrfTokenExtractor:()=>ge,JsonpClientBackend:()=>Dt,JsonpInterceptor:()=>ut,provideHttpClient:()=>V,withFetch:()=>yt,withInterceptors:()=>Q,withInterceptorsFromDi:()=>dt,withJsonpSupport:()=>nt,withNoXsrfProtection:()=>qe,withRequestsMadeViaParent:()=>Ve,withXsrfConfiguration:()=>Rt,\u0275HttpInterceptingHandler:()=>at,\u0275HttpInterceptorHandler:()=>at,\u0275withHttpTransferCache:()=>Yi});var n=a(5861),c=a(5879),d=a(2096),g=a(5592),r=a(2459),f=a(6328),h=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(bt){this.normalizedNames=new Map,this.lazyUpdate=null,bt?"string"==typeof bt?this.lazyInit=()=>{this.headers=new Map,bt.split("\n").forEach(pt=>{const qt=pt.indexOf(":");if(qt>0){const nn=pt.slice(0,qt),cn=nn.toLowerCase(),sn=pt.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"&&bt instanceof Headers?(this.headers=new Map,bt.forEach((pt,qt)=>{this.setHeaderEntries(qt,pt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(bt).forEach(([pt,qt])=>{this.setHeaderEntries(pt,qt)})}:this.headers=new Map}has(bt){return this.init(),this.headers.has(bt.toLowerCase())}get(bt){this.init();const pt=this.headers.get(bt.toLowerCase());return pt&&pt.length>0?pt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(bt){return this.init(),this.headers.get(bt.toLowerCase())||null}append(bt,pt){return this.clone({name:bt,value:pt,op:"a"})}set(bt,pt){return this.clone({name:bt,value:pt,op:"s"})}delete(bt,pt){return this.clone({name:bt,value:pt,op:"d"})}maybeSetNormalizedName(bt,pt){this.normalizedNames.has(pt)||this.normalizedNames.set(pt,bt)}init(){this.lazyInit&&(this.lazyInit instanceof D?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(bt=>this.applyUpdate(bt)),this.lazyUpdate=null))}copyFrom(bt){bt.init(),Array.from(bt.headers.keys()).forEach(pt=>{this.headers.set(pt,bt.headers.get(pt)),this.normalizedNames.set(pt,bt.normalizedNames.get(pt))})}clone(bt){const pt=new D;return pt.lazyInit=this.lazyInit&&this.lazyInit instanceof D?this.lazyInit:this,pt.lazyUpdate=(this.lazyUpdate||[]).concat([bt]),pt}applyUpdate(bt){const pt=bt.name.toLowerCase();switch(bt.op){case"a":case"s":let qt=bt.value;if("string"==typeof qt&&(qt=[qt]),0===qt.length)return;this.maybeSetNormalizedName(bt.name,pt);const nn=("a"===bt.op?this.headers.get(pt):void 0)||[];nn.push(...qt),this.headers.set(pt,nn);break;case"d":const cn=bt.value;if(cn){let sn=this.headers.get(pt);if(!sn)return;sn=sn.filter(Nn=>-1===cn.indexOf(Nn)),0===sn.length?(this.headers.delete(pt),this.normalizedNames.delete(pt)):this.headers.set(pt,sn)}else this.headers.delete(pt),this.normalizedNames.delete(pt)}}setHeaderEntries(bt,pt){const qt=(Array.isArray(pt)?pt:[pt]).map(cn=>cn.toString()),nn=bt.toLowerCase();this.headers.set(nn,qt),this.maybeSetNormalizedName(bt,nn)}forEach(bt){this.init(),Array.from(this.normalizedNames.keys()).forEach(pt=>bt(this.normalizedNames.get(pt),this.headers.get(pt)))}}class E{encodeKey(bt){return ee(bt)}encodeValue(bt){return ee(bt)}decodeKey(bt){return decodeURIComponent(bt)}decodeValue(bt){return decodeURIComponent(bt)}}const X=/%(\d[a-f0-9])/gi,$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ee(xt){return encodeURIComponent(xt).replace(X,(bt,pt)=>$[pt]??bt)}function ie(xt){return`${xt}`}class A{constructor(bt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=bt.encoder||new E,bt.fromString){if(bt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function I(xt,bt){const pt=new Map;return xt.length>0&&xt.replace(/^\?/,"").split("&").forEach(nn=>{const cn=nn.indexOf("="),[sn,Nn]=-1==cn?[bt.decodeKey(nn),""]:[bt.decodeKey(nn.slice(0,cn)),bt.decodeValue(nn.slice(cn+1))],wn=pt.get(sn)||[];wn.push(Nn),pt.set(sn,wn)}),pt}(bt.fromString,this.encoder)}else bt.fromObject?(this.map=new Map,Object.keys(bt.fromObject).forEach(pt=>{const qt=bt.fromObject[pt],nn=Array.isArray(qt)?qt.map(ie):[ie(qt)];this.map.set(pt,nn)})):this.map=null}has(bt){return this.init(),this.map.has(bt)}get(bt){this.init();const pt=this.map.get(bt);return pt?pt[0]:null}getAll(bt){return this.init(),this.map.get(bt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(bt,pt){return this.clone({param:bt,value:pt,op:"a"})}appendAll(bt){const pt=[];return Object.keys(bt).forEach(qt=>{const nn=bt[qt];Array.isArray(nn)?nn.forEach(cn=>{pt.push({param:qt,value:cn,op:"a"})}):pt.push({param:qt,value:nn,op:"a"})}),this.clone(pt)}set(bt,pt){return this.clone({param:bt,value:pt,op:"s"})}delete(bt,pt){return this.clone({param:bt,value:pt,op:"d"})}toString(){return this.init(),this.keys().map(bt=>{const pt=this.encoder.encodeKey(bt);return this.map.get(bt).map(qt=>pt+"="+this.encoder.encodeValue(qt)).join("&")}).filter(bt=>""!==bt).join("&")}clone(bt){const pt=new A({encoder:this.encoder});return pt.cloneFrom=this.cloneFrom||this,pt.updates=(this.updates||[]).concat(bt),pt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(bt=>this.map.set(bt,this.cloneFrom.map.get(bt))),this.updates.forEach(bt=>{switch(bt.op){case"a":case"s":const pt=("a"===bt.op?this.map.get(bt.param):void 0)||[];pt.push(ie(bt.value)),this.map.set(bt.param,pt);break;case"d":if(void 0===bt.value){this.map.delete(bt.param);break}{let qt=this.map.get(bt.param)||[];const nn=qt.indexOf(ie(bt.value));-1!==nn&&qt.splice(nn,1),qt.length>0?this.map.set(bt.param,qt):this.map.delete(bt.param)}}}),this.cloneFrom=this.updates=null)}}class U{constructor(bt){this.defaultValue=bt}}class Ce{constructor(){this.map=new Map}set(bt,pt){return this.map.set(bt,pt),this}get(bt){return this.map.has(bt)||this.map.set(bt,bt.defaultValue()),this.map.get(bt)}delete(bt){return this.map.delete(bt),this}has(bt){return this.map.has(bt)}keys(){return this.map.keys()}}function Ae(xt){return typeof ArrayBuffer<"u"&&xt instanceof ArrayBuffer}function de(xt){return typeof Blob<"u"&&xt instanceof Blob}function H(xt){return typeof FormData<"u"&&xt instanceof FormData}class pe{constructor(bt,pt,qt,nn){let cn;if(this.url=pt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=bt.toUpperCase(),function Re(xt){switch(xt){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 Ce),this.params){const sn=this.params.toString();if(0===sn.length)this.urlWithParams=pt;else{const Nn=pt.indexOf("?");this.urlWithParams=pt+(-1===Nn?"?":Nn$n.set(ti,bt.setHeaders[ti]),wn)),bt.setParams&&(Xn=Object.keys(bt.setParams).reduce(($n,ti)=>$n.set(ti,bt.setParams[ti]),Xn)),new pe(pt,qt,cn,{params:Xn,headers:wn,context:_i,reportProgress:Nn,responseType:nn,withCredentials:sn})}}var we=function(xt){return xt[xt.Sent=0]="Sent",xt[xt.UploadProgress=1]="UploadProgress",xt[xt.ResponseHeader=2]="ResponseHeader",xt[xt.DownloadProgress=3]="DownloadProgress",xt[xt.Response=4]="Response",xt[xt.User=5]="User",xt}(we||{});class Ee{constructor(bt,pt=200,qt="OK"){this.headers=bt.headers||new D,this.status=void 0!==bt.status?bt.status:pt,this.statusText=bt.statusText||qt,this.url=bt.url||null,this.ok=this.status>=200&&this.status<300}}class Be extends Ee{constructor(bt={}){super(bt),this.type=we.ResponseHeader}clone(bt={}){return new Be({headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class G extends Ee{constructor(bt={}){super(bt),this.type=we.Response,this.body=void 0!==bt.body?bt.body:null}clone(bt={}){return new G({body:void 0!==bt.body?bt.body:this.body,headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class re extends Ee{constructor(bt){super(bt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${bt.url||"(unknown url)"}`:`Http failure response for ${bt.url||"(unknown url)"}: ${bt.status} ${bt.statusText}`,this.error=bt.error||null}}function ae(xt,bt){return{body:bt,headers:xt.headers,context:xt.context,observe:xt.observe,params:xt.params,reportProgress:xt.reportProgress,responseType:xt.responseType,withCredentials:xt.withCredentials}}let ve=(()=>{class xt{constructor(pt){this.handler=pt}request(pt,qt,nn={}){let cn;if(pt instanceof pe)cn=pt;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(pt,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,f.b)(wn=>this.handler.handle(wn)));if(pt instanceof pe||"events"===nn.observe)return sn;const Nn=sn.pipe((0,h.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(pt,qt={}){return this.request("DELETE",pt,qt)}get(pt,qt={}){return this.request("GET",pt,qt)}head(pt,qt={}){return this.request("HEAD",pt,qt)}jsonp(pt,qt){return this.request("JSONP",pt,{params:(new A).append(qt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(pt,qt={}){return this.request("OPTIONS",pt,qt)}patch(pt,qt,nn={}){return this.request("PATCH",pt,ae(nn,qt))}post(pt,qt,nn={}){return this.request("POST",pt,ae(nn,qt))}put(pt,qt,nn={}){return this.request("PUT",pt,ae(nn,qt))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(y))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const He=/^\)\]\}',?\n/;function Qe(xt){if(xt.url)return xt.url;const bt="X-Request-URL".toLocaleLowerCase();return xt.headers.get(bt)}let Ge=(()=>{class xt{constructor(){this.fetchImpl=(0,c.inject)(tt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,c.inject)(c.NgZone)}handle(pt){return new g.y(qt=>{const nn=new AbortController;return this.doRequest(pt,nn.signal,qt).then(Ct,cn=>qt.error(new re({error:cn}))),()=>nn.abort()})}doRequest(pt,qt,nn){var cn=this;return(0,n.Z)(function*(){const sn=cn.createRequestInit(pt);let Nn;try{const mn=cn.fetchImpl(pt.urlWithParams,{signal:qt,...sn});(function Nt(xt){xt.then(Ct,Ct)})(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:pt.urlWithParams,headers:mn.headers}))}const wn=new D(Nn.headers),Xn=Nn.statusText,_i=Qe(Nn)??pt.urlWithParams;let $n=Nn.status,ti=null;if(pt.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,pt.reportProgress){Yn="text"===pt.responseType?(Yn??"")+(mi??=new TextDecoder).decode(Ni,{stream:!0}):void 0;const Mt=()=>nn.next({type:we.DownloadProgress,total:mn?+mn:void 0,loaded:Wn,partialText:Yn});wi?wi.run(Mt):Mt()}}}));const ri=cn.concatChunks(Tn,Wn);try{ti=cn.parseBody(pt,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)??pt.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(pt,qt){switch(pt.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(pt){const qt={},nn=pt.withCredentials?"include":void 0;if(pt.headers.forEach((cn,sn)=>qt[cn]=sn.join(",")),qt.Accept??="application/json, text/plain, */*",!qt["Content-Type"]){const cn=pt.detectContentTypeHeader();null!==cn&&(qt["Content-Type"]=cn)}return{body:pt.serializeBody(),method:pt.method,headers:qt,credentials:nn}}concatChunks(pt,qt){const nn=new Uint8Array(qt);let cn=0;for(const sn of pt)nn.set(sn,cn),cn+=sn.length;return nn}}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();class tt{}function Ct(){}function _t(xt,bt){return bt(xt)}function Bt(xt,bt){return(pt,qt)=>bt.intercept(pt,{handle:nn=>xt(nn,qt)})}const Lt=new c.InjectionToken(""),Le=new c.InjectionToken(""),lt=new c.InjectionToken("");function ze(){let xt=null;return(bt,pt)=>{null===xt&&(xt=((0,c.inject)(Lt,{optional:!0})??[]).reduceRight(Bt,_t));const qt=(0,c.inject)(c.\u0275InitialRenderPendingTasks),nn=qt.add();return xt(bt,pt).pipe((0,v.x)(()=>qt.remove(nn)))}}let oe,at=(()=>{class xt extends y{constructor(pt,qt){super(),this.backend=pt,this.injector=qt,this.chain=null,this.pendingTasks=(0,c.inject)(c.\u0275InitialRenderPendingTasks)}handle(pt){if(null===this.chain){const nn=Array.from(new Set([...this.injector.get(Le),...this.injector.get(lt,[])]));this.chain=nn.reduceRight((cn,sn)=>function Tt(xt,bt,pt){return(qt,nn)=>pt.runInContext(()=>bt(qt,cn=>xt(cn,nn)))}(cn,sn,this.injector),_t)}const qt=this.pendingTasks.add();return this.chain(pt,nn=>this.backend.handle(nn)).pipe((0,v.x)(()=>this.pendingTasks.remove(qt)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(x),c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})(),N=0;class Te{}function et(){return"object"==typeof window?window:{}}let Dt=(()=>{class xt{constructor(pt,qt){this.callbackMap=pt,this.document=qt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+N++}handle(pt){if("JSONP"!==pt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==pt.responseType)throw new Error("JSONP requests must use Json response type.");if(pt.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new g.y(qt=>{const nn=this.nextCallback(),cn=pt.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(pt){oe||(oe=this.document.implementation.createHTMLDocument()),oe.adoptNode(pt)}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(Te),c.\u0275\u0275inject(l.DOCUMENT))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();function _e(xt,bt){return"JSONP"===xt.method?(0,c.inject)(Dt).handle(xt):bt(xt)}let ut=(()=>{class xt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>_e(pt,nn=>qt.handle(nn)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const Pe=/^\)\]\}',?\n/;let Pt=(()=>{class xt{constructor(pt){this.xhrFactory=pt}handle(pt){if("JSONP"===pt.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(pt.method,pt.urlWithParams),pt.withCredentials&&(sn.withCredentials=!0),pt.headers.forEach((Tn,Rn)=>sn.setRequestHeader(Tn,Rn.join(","))),pt.headers.has("Accept")||sn.setRequestHeader("Accept","application/json, text/plain, */*"),!pt.headers.has("Content-Type")){const Tn=pt.detectContentTypeHeader();null!==Tn&&sn.setRequestHeader("Content-Type",Tn)}if(pt.responseType){const Tn=pt.responseType.toLowerCase();sn.responseType="json"!==Tn?Tn:"text"}const Nn=pt.serializeBody();let wn=null;const Xn=()=>{if(null!==wn)return wn;const Tn=sn.statusText||"OK",Rn=new D(sn.getAllResponseHeaders()),Wn=function mt(xt){return"responseURL"in xt&&xt.responseURL?xt.responseURL:/^X-Request-URL:/m.test(xt.getAllResponseHeaders())?xt.getResponseHeader("X-Request-URL"):null}(sn)||pt.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"===pt.responseType&&"string"==typeof Yn){const ri=Yn;Yn=Yn.replace(Pe,"");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"===pt.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),pt.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),pt.reportProgress&&(sn.removeEventListener("progress",an),null!==Nn&&sn.upload&&sn.upload.removeEventListener("progress",mn)),sn.readyState!==sn.DONE&&sn.abort()}})))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(l.XhrFactory))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const Ft=new c.InjectionToken("XSRF_ENABLED"),Gt="XSRF-TOKEN",Oe=new c.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Gt}),Ke="X-XSRF-TOKEN",he=new c.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Ke});class ge{}let ct=(()=>{class xt{constructor(pt,qt,nn){this.doc=pt,this.platform=qt,this.cookieName=nn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const pt=this.doc.cookie||"";return pt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.\u0275parseCookieValue)(pt,this.cookieName),this.lastCookieString=pt),this.lastToken}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(c.PLATFORM_ID),c.\u0275\u0275inject(Oe))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();function Me(xt,bt){const pt=xt.url.toLowerCase();if(!(0,c.inject)(Ft)||"GET"===xt.method||"HEAD"===xt.method||pt.startsWith("http://")||pt.startsWith("https://"))return bt(xt);const qt=(0,c.inject)(ge).getToken(),nn=(0,c.inject)(he);return null!=qt&&!xt.headers.has(nn)&&(xt=xt.clone({headers:xt.headers.set(nn,qt)})),bt(xt)}let Ye=(()=>{class xt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>Me(pt,nn=>qt.handle(nn)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();var De=function(xt){return xt[xt.Interceptors=0]="Interceptors",xt[xt.LegacyInterceptors=1]="LegacyInterceptors",xt[xt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",xt[xt.NoXsrfProtection=3]="NoXsrfProtection",xt[xt.JsonpSupport=4]="JsonpSupport",xt[xt.RequestsMadeViaParent=5]="RequestsMadeViaParent",xt[xt.Fetch=6]="Fetch",xt}(De||{});function F(xt,bt){return{\u0275kind:xt,\u0275providers:bt}}function V(...xt){const bt=[ve,Pt,at,{provide:y,useExisting:at},{provide:x,useExisting:Pt},{provide:Le,useValue:Me,multi:!0},{provide:Ft,useValue:!0},{provide:ge,useClass:ct}];for(const pt of xt)bt.push(...pt.\u0275providers);return(0,c.makeEnvironmentProviders)(bt)}function Q(xt){return F(De.Interceptors,xt.map(bt=>({provide:Le,useValue:bt,multi:!0})))}const be=new c.InjectionToken("LEGACY_INTERCEPTOR_FN");function dt(){return F(De.LegacyInterceptors,[{provide:be,useFactory:ze},{provide:Le,useExisting:be,multi:!0}])}function Rt({cookieName:xt,headerName:bt}){const pt=[];return void 0!==xt&&pt.push({provide:Oe,useValue:xt}),void 0!==bt&&pt.push({provide:he,useValue:bt}),F(De.CustomXsrfConfiguration,pt)}function qe(){return F(De.NoXsrfProtection,[{provide:Ft,useValue:!1}])}function nt(){return F(De.JsonpSupport,[Dt,{provide:Te,useFactory:et},{provide:Le,useValue:_e,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,[Ge,{provide:x,useExisting:Ge}])}let At=(()=>{class xt{static disable(){return{ngModule:xt,providers:[qe().\u0275providers]}}static withOptions(pt={}){return{ngModule:xt,providers:Rt(pt).\u0275providers}}}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[Ye,{provide:Lt,useExisting:Ye,multi:!0},{provide:ge,useClass:ct},Rt({cookieName:Gt,headerName:Ke}).\u0275providers,{provide:Ft,useValue:!0}]}),xt})(),on=(()=>{class xt{}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[V(dt())]}),xt})(),xn=(()=>{class xt{}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[nt().\u0275providers]}),xt})();const Sn=new c.InjectionToken(""),_n=["GET","HEAD"];function Mn(xt,bt){const{isCacheActive:pt}=(0,c.inject)(Sn);if(!pt||!_n.includes(xt.method))return bt(xt);const qt=(0,c.inject)(c.TransferState),nn=function fi(xt){const{params:bt,method:pt,responseType:qt,url:nn}=xt,Nn=function Vi(xt){let bt=0;for(const pt of xt)bt=Math.imul(31,bt)+pt.charCodeAt(0)<<0;return bt+=2147483648,bt.toString()}(pt+"."+qt+"."+nn+"?"+bt.keys().sort().map(wn=>`${wn}=${bt.getAll(wn)}`).join("&"));return(0,c.makeStateKey)(Nn)}(xt),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 bt(xt).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:xt.responseType})}))}function xi(xt){const bt={};for(const pt of xt.keys()){const qt=xt.getAll(pt);null!==qt&&(bt[pt]=qt)}return bt}function Yi(){return[{provide:Sn,useFactory:()=>((0,c.inject)(c.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:lt,useValue:Mn,multi:!0,deps:[c.TransferState,Sn]},{provide:c.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const xt=(0,c.inject)(c.ApplicationRef),bt=(0,c.inject)(Sn);return()=>{xt.isStable.pipe((0,_.P)(pt=>pt)).toPromise().then(()=>{bt.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:()=>ce,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:()=>dt,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:()=>bt,\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:()=>Rt,\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:()=>Pe,\u0275injectChangeDetectorRef:()=>j_,\u0275internalCreateApplication:()=>Nx,\u0275isBoundToModule:()=>w_,\u0275isEnvironmentProviders:()=>I,\u0275isInjectable:()=>lt,\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:()=>ue,\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:()=>Lt,\u0275\u0275defineNgModule:()=>se,\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:()=>Q,\u0275\u0275injectAttribute:()=>hc,\u0275\u0275invalidFactory:()=>Rm,\u0275\u0275invalidFactoryDep:()=>be,\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),f=a(2096),h=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 de(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 Lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Le(e){return ze(e,oe)||ze(e,ne)}function lt(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(K))?e[Y]:null}const oe=p({\u0275prov:p}),Y=p({\u0275inj:p}),ne=p({ngInjectableDef:p}),K=p({ngInjectorDef:p});var ce=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}(ce||{});let Te;function et(){return Te}function Dt(e){const t=Te;return Te=e,t}function _e(e,t,i){const o=Le(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&ce.Optional?null:void 0!==t?t:void de(l(e))}const Pe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Gt={},Oe="__NG_DI_FLAG__",Ke="ngTempTokenPath",ge=/\n/gm,Me="__source";let Ye;function F(e){const t=Ye;return Ye=e,t}function V(e,t=ce.Default){if(void 0===Ye)throw new ee(-203,!1);return null===Ye?_e(e,void 0,t):Ye.get(e,t&ce.Optional?null:void 0,t)}function Q(e,t=ce.Default){return(et()||V)(S(e),t)}function be(e){throw new ee(202,!1)}function dt(e,t=ce.Default){return Q(e,Rt(t))}function Rt(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 zt=8&o?Ut:null;if(zt&&-1!==qt(zt,ye,0)||2&o&&ye!==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 se(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 kt(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:kt(e.inputs,t),outputs:kt(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,Ot=10,C=11,te=12,Ne=13,ot=14,Zt=15,Pn=16,ji=17,Pi=18,Li=19,Qi=20,Ui=21,ir=22,wt=23,vt=24,gt=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(xt)?e[xt]: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=Pe.WeakRef??class je{constructor(t){this.ref=t}deref(){return this.ref}};function ue(e){}let Fe=0,it=null,It=!1;function Et(e){const t=it;return it=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===it)return;let t=it.producers.get(this.id);void 0===t?(t={consumerNode:it.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:it.trackingVersion},it.producers.set(this.id,t),this.consumers.set(it.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=it.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==it?.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=Et(this);let o;try{o=this.computation()}catch(s){o=pi,this.error=s}finally{Et(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=Et(null);try{return e()}finally{Et(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=Et(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=rr,this.watch(this.registerOnCleanup)}finally{Et(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 $t(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&ce.SkipSelf){let s=t,m=e;for(;!(s=s.parent,null!==s||i&ce.Host||(s=rc(m),null===s||(m=m[ot],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[ot],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 ye=0;ye<8;ye++)t[m+ye]=R[M+ye]|z[M+ye]}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[ot],-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(bt)&&(o=i[bt]),null==o&&(o=i[bt]=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&ce.Host?xh(s,0,o):Eh(t,i,o,s);try{const M=m(o);if(null!=M||o&ce.Optional)return M;de()}finally{q()}}else if("number"==typeof m){let M=null,R=Mh(e,t),z=Ko,ye=o&ce.Host?t[Zt][Ai]:null;for((-1===R||o&ce.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 $e=t[tn];if(Th(m,R,$e.data)){const ft=mb(R,t,i,M,o,ye);if(ft!==so)return ft}z=t[R+8],z!==Ko&&Ih(o,t[tn].data[R+8]===ye)&&Th(m,R,t)?(M=$e,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],$e=Hs(R,M,i,null==o?ni(R)&&sc:o!=M&&0!=(3&R.type),s&ce.Host&&m===R);return null!==$e?Ro(t,M,$e,R):so}function Hs(e,t,i,o,s){const m=e.providerIndexes,M=t.data,R=1048575&m,z=e.directiveStart,$e=m>>20,Ut=s?R+$e:e.directiveEnd;for(let zt=o?R:R+$e;zt=z&&rn.type===i)return zt}if(s){const zt=M[z];if(zt&&Ii(zt)&&zt.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 Ce(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,ce.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[xt]||dc(t),o=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==o;){const m=s[xt]||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($e){return s&&s($e,...R),($e.hasOwnProperty(Qo)?$e[Qo]:Object.defineProperty($e,Qo,{value:[]})[Qo]).push(z),o&&o($e),$e}}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,ye,$e){const ft=z.hasOwnProperty(Zo)?z[Zo]:Object.defineProperty(z,Zo,{value:[]})[Zo];for(;ft.length<=$e;)ft.push(null);return(ft[$e]=ft[$e]||[]).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(ye,$e){if(void 0===ye)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const ft=ye.constructor,Ut=ft.hasOwnProperty(Xo)?ft[Xo]:Object.defineProperty(ft,Xo,{value:{}})[Xo];Ut[$e]=Ut.hasOwnProperty($e)&&Ut[$e]||[],Ut[$e].unshift(R),o&&o(ye,$e,...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=Pe.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($e=>$e&&$e.type),ye=R.map($e=>$e&&pc($e.decorators));return this._zipTypesAndAnnotations(z,ye)}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=nt(qo("Inject",e=>({token:e})),-1),Gs=nt(qo("Optional"),8),Uh=nt(qo("Self"),2),Ws=nt(qo("SkipSelf"),4),Bh=nt(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=[]),ye=s.styles.length;R&&R.forEach((ft,Ut)=>{z.push(""),M.push(o(ft).then(zt=>{z[ye+Ut]=zt,R.splice(R.indexOf(ft),1),0==R.length&&(s.styleUrls=void 0)}))});const $e=Promise.all(M).then(()=>function Nb(e){Qa.delete(e)}(m));t.push($e)}),$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=gt;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,Pe.trustedTypes))try{al=Pe.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[Ot].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=Gt){if(i===Gt){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 ye of z)Hc(ye,t,i,o)}}else{if(!m)return!1;{if(null!=m.imports&&!R){let ye;o.add(s);try{Ka(m.imports,$e=>{Hc($e,t,i,o)&&(ye||=[],ye.push($e))})}finally{}void 0!==ye&&Xf(ye,t)}if(!R){const ye=or(s)||(()=>new s);t.push({provide:s,useFactory:ye,deps:Mn},{provide:Kf,useValue:s,multi:!0},{provide:is,useValue:()=>Q(s),multi:!0})}const z=m.providers;null==z||R||zc(z,$e=>{t.push($e)})}}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,ce.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=Gt,o=ce.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(pt))return t[pt](this);o=Rt(o);const s=F(this),m=Dt(void 0);try{if(!(o&ce.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&ce.Self?ul():this.parent).get(t,i=o&ce.Optional&&i===Gt?null:i)}catch(M){if("NullInjectorError"===M.name){if((M[Ke]=M[Ke]||[]).unshift(l(t)),s)throw M;return function yt(e,t,i,o){const s=e[Ke];throw t[Me]&&s.unshift(t[Me]),e.message=function At(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(ge,"\n ")}`}("\n"+e.message,s,i,o),e.ngTokenPath=s,e[Ke]=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,ce.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=()=>Q(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"===dt(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(),dt(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[gt]),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=Et(this);this.trackingVersion++;try{t(i,o)}finally{Et(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(!et()&&!function De(){return Ye}())throw new ee(-203,!1)}const Am={\u0275\u0275defineInjectable:Bt,\u0275\u0275defineInjector:Lt,\u0275\u0275inject:Q,\u0275\u0275invalidFactoryDep:be,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(xt)||Object.defineProperty(e,xt,{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=Gt,e.NULL=new Yf,e.\u0275prov=Bt({token:e,providedIn:"any",factory:()=>Q(Vc)}),e.__NG_ELEMENT_ID__=-1,e})();function ua(e,t=ce.Default){const i=dn();return null===i?Q(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,ye,$e){const ft=t.blueprint.slice();return ft[Cn]=s,ft[En]=140|o,(null!==ye||e&&2048&e[En])&&(ft[En]|=2048),Jn(ft),ft[ei]=ft[ot]=e,ft[yi]=i,ft[Ot]=M||e&&e[Ot],ft[C]=R||e&&e[C],ft[Je]=z||e&&e[Je]||null,ft[Ai]=m,ft[Li]=function Yb(){return Kb++}(),ft[ir]=$e,ft[Qi]=ye,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;mgt&&Im(e,t,gt,!1),ci(R?2:0,s),R)m.runInContext(i,o,s);else{const ye=Et(null);try{i(o,s)}finally{Et(ye)}}}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=Et(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 $e,ye=t.inputs;!R&&null!=ye&&($e=ye[o])?(yu(e,i,$e,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,ye=>{this.all.has(ye)&&this.queue.set(ye,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??dt(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=Rt(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 $e={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",zt=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,$e,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=gt;return e[o]=t,da(i,o,2,"#host",null)}(ln,zt),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 ye=m.rendererFactory.createRenderer(t,i);let $e=16;i.signals?$e=4096:i.onPush&&($e=64);const ft=_l(s,Nm(i),null,$e,s[e.index],e,m,ye,null,null,z);return R.firstCreatePass&&gu(R,e,o.length-1),bl(s,ft),s[e.index]=ft}(OE,zt,Ri,vr,ln,$e,ft);Si=ht(zn,gt),zt&&function h1(e,t,i,o){if(o)nn(e,i,["ng-version",mm.full]);else{const{attrs:s,classes:m}=function Mt(e){const t=[],i=[];let o=1,s=2;for(;o0&&Tf(e,i,m.join(" "))}}(ft,Ri,zt,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-gt}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,ye,$e]of m.matchAll(/(f|n)(\d*)/g)){const ft=parseInt($e,10)||1;R.push(ye,ft)}return[M,...R]}(e);let s;return s=i===Xc?t[Zt][Cn]:i===qc?lu(t[Zt][Cn]):di(t[Number(i)+gt]),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-gt)):(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(),ye=Di(),$e=e+gt,ft=ye.firstCreatePass?function B1(e,t,i,o,s,m,M,R,z){const ye=t.consts,$e=da(t,e,4,M||null,Ci(ye,R));pu(t,i,$e,Ci(ye,z)),Ps(t,$e);const ft=$e.tView=mu(2,$e,o,s,m,t.directiveRegistry,t.pipeRegistry,null,t.schemas,ye,null);return null!==t.queries&&(t.queries.template(t,$e),ft.queries=t.queries.embeddedTView($e)),$e}($e,ye,z,t,i,o,s,m,M):ye.data[$e];zr(ft,!1);const Ut=bp(ye,z,ft,e);Io()&&il(ye,z,Ut,ft),br(Ut,z),bl(z,z[$e]=zm(Ut,z,Ut,ft)),oi(ft)&&hu(ye,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 $t(function As(){return Zn.lFrame.contextLView}(),gt+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=gt+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],ye=Mp(m,s,z,R,t,e);s[M]=ye;const $e=oi(z);return zr(z,!0),If(R,ye,z),32!=(32&z.flags)&&Io()&&il(m,s,ye,z),0===function Nr(){return Zn.lFrame.elementDepthCount}()&&br(ye,s),function Zr(){Zn.lFrame.elementDepthCount++}(),$e&&(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+gt,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),ye=e.firstCreatePass&&Wm(e),$e=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,$e,m,!1);const Si=i.listen(kn,s,m);ft.push(m,Si),ye&&ye.push(s,ln,zn,zn+1)}}else m=Ip(o,t,$e,m,!1);const zt=o.outputs;let rn;if(Ut&&null!==zt&&(rn=zt[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),ye=m.__ngNextListenerFn__;for(;ye;)z=Tp(t,i,ye,M)&&z,ye=ye.__ngNextListenerFn__;return s&&!1===z&&M.preventDefault(),z}}function Sp(e=1){return function rt(e){return(Zn.lFrame.contextLView=function st(e,t){for(;e>0;)t=t[ot],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 $e=e[R+1];tC(e[R],t)&&(z=!0,e[R+1]=o?id($e):td($e)),R=o?Lo($e):Ho($e)}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,ye=0,$e=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)&&(ye=!0)):$e=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;ye&&(e[o+1]=td(e[o+1])),kp(e,$e,o,!0),kp(e,$e,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,$e,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],ye=Array.isArray(z),$e=ye?z[1]:z,ft=null===$e;let Ut=i[s+1];Ut===gi&&(Ut=ft?Mn:void 0);let zt=ft?mc(Ut,o):$e===o?Ut:void 0;if(ye&&!Ol(zt)&&(zt=mc(z,o)),Ol(zt)&&(R=zt,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+gt,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 ye=dn(),$e=ba(ye,e,t,i,o,s,m,M,R,z);return $e!==gi&&xo(ye,Vt(),$e),ud}function dd(e,t,i,o,s,m,M,R,z,ye,$e){const ft=dn(),Ut=ya(ft,e,t,i,o,s,m,M,R,z,ye,$e);return Ut!==gi&&xo(ft,Vt(),Ut),dd}function hd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){const zt=dn(),rn=va(zt,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut);return rn!==gi&&xo(zt,Vt(),rn),hd}function fd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){const bn=dn(),kn=Ca(bn,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn);return kn!==gi&&xo(bn,Vt(),kn),fd}function md(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){const zn=dn(),ln=Ma(zn,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){to(Ur,uo,ya(dn(),e,t,i,o,s,m,M,R,z,ye,$e),!0)}function Jp(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){to(Ur,uo,va(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut),!0)}function e0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){to(Ur,uo,Ca(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn),!0)}function t0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){to(Ur,uo,Ma(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){Jr(ya(dn(),e,t,i,o,s,m,M,R,z,ye,$e))}function c0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){Jr(va(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut))}function u0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){Jr(Ca(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn))}function d0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){Jr(Ma(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){return eo(e,ba(dn(),t,i,o,s,m,M,R,z,ye),$e,!1),yd}function vd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){return eo(e,ya(dn(),t,i,o,s,m,M,R,z,ye,$e,ft),Ut,!1),vd}function Cd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){return eo(e,va(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt),rn,!1),Cd}function Md(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){return eo(e,Ca(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn),kn,!1),Md}function xd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn,zn,ln){return eo(e,Ma(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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]=Pe.ng&&Pe.ng.common&&Pe.ng.common.locales&&Pe.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 Ge(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,zt,rn,null)}else switch(z){case Nl:const ye=t[++R],$e=t[++R];null===i[$e]&&br(i[$e]=Dc(s,ye),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&$e){case 1:const Ut=i[++ye],zt=i[++ye],rn=e.data[ft];"string"==typeof rn?_u(t[C],t[ft],null,rn,Ut,z,zt):Br(e,rn,t,Ut,z,t[C],zt,!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 $e=bs(e,z>>>2);t[$e.currentCaseLViewIndex]<0&&D0(e,$e,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 ye=Fl(R,z);o=null!==ye?R.remove[ye]: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=[],ye=[],$e=[];t.cases.push(m),t.create.push(z),t.remove.push(ye),t.update.push($e);const Ut=Rf(es()).getInertBodyElement(M),zt=Fc(Ut)||Ut;return zt?O0(e,t,i,o,z,ye,$e,zt,s,R,0):0}function O0(e,t,i,o,s,m,M,R,z,ye,$e){let ft=0,Ut=R.firstChild;for(;Ut;){const zt=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,zt),e.data[zt]=bn;const hi=rn.attributes;for(let Si=0;Si>>Or.SHIFT;let ft=e[$e];null===ft&&(ft=e[$e]=(M&Or.COMMENT)===Or.COMMENT?s.createComment(R):el(s,R)),ye&&null!==i&&No(s,i,ft,o,!1)}})(s,z.create,$e,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+gt)}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,ye=o[z]||[];if(ye.length||(z.split("|").forEach(bn=>{const kn=bn.match(hM),zn=kn?parseInt(kn[1],10):P0,ln=dM.test(bn);ye.push([zn,ln,bn])}),o[z]=ye),!ye.length)throw new Error(`i18n postprocess: unmatched placeholder - ${z}`);const $e=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 zt=new za(z,s,ua),rn=Nd(R,t,s?$e:$e+Ut,ft);-1===rn?(uc(js(ye,M),m,R),Pd(m,e,t.length),t.push(R),ye.directiveStart++,ye.directiveEnd++,s&&(ye.providerIndexes+=1048576),i.push(zt),M.push(zt)):(i[rn]=zt,M[rn]=zt)}else{const zt=Nd(R,t,$e+Ut,ft),rn=Nd(R,t,$e,$e+Ut),kn=rn>=0&&i[rn];if(s&&!kn||!s&&!(zt>=0&&i[zt])){uc(js(ye,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),ye.directiveStart++,ye.directiveEnd++,s&&(ye.providerIndexes+=1048576),i.push(zn),M.push(zn)}else Pd(m,e,zt>-1?zt:rn,V0(i[s?rn:zt],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 ye=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const $e=ye.indexOf(i);-1===$e?ye.push(i,[o,z]):ye[$e+1].push(o,z)}else ye.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(Q(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,ye=dn(),$e=Gr(ye,z,i,o,s,m);return yr(ye,z+4,M)||$e?co(ye,z+5,R?t.call(R,i,o,s,m,M):t(i,o,s,m,M)):fs(ye,z+5)}function ag(e,t,i,o,s,m,M,R,z){const ye=hr()+e,$e=dn(),ft=Gr($e,ye,i,o,s,m);return jo($e,ye+4,M,R)||ft?co($e,ye+6,z?t.call(z,i,o,s,m,M,R):t(i,o,s,m,M,R)):fs($e,ye+6)}function sg(e,t,i,o,s,m,M,R,z,ye){const $e=hr()+e,ft=dn();let Ut=Gr(ft,$e,i,o,s,m);return xl(ft,$e+4,M,R,z)||Ut?co(ft,$e+7,ye?t.call(ye,i,o,s,m,M,R,z):t(i,o,s,m,M,R,z)):fs(ft,$e+7)}function lg(e,t,i,o,s,m,M,R,z,ye,$e){const ft=hr()+e,Ut=dn(),zt=Gr(Ut,ft,i,o,s,m);return Gr(Ut,ft+4,M,R,z,ye)||zt?co(Ut,ft+8,$e?t.call($e,i,o,s,m,M,R,z,ye):t(i,o,s,m,M,R,z,ye)):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 ye=t+i;return Gr(e,ye,s,m,M,R)?co(e,ye+4,z?o.call(z,s,m,M,R):o(s,m,M,R)):xs(e,ye+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+gt,s=dn(),m=$t(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+gt,m=dn(),M=$t(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+gt,M=dn(),R=$t(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+gt,R=dn(),z=$t(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+gt,s=dn(),m=$t(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 ye=this._declarationLView[Pi];return null!==ye&&(R[Pi]=ye.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)),ye=o||this.parentInjector;if(!m&&null==z.ngModule){const kn=(M?ye:this.parentInjector).get(Vo,null);kn&&(m=kn)}const $e=gn(z.componentType??{}),ft=xg(this._lContainer,$e?.id??null),zt=z.create(ye,s,ft?.firstChild??null,m),rn=!!ft&&!Xs(this._hostTNode);return this.insertImpl(zt.hostView,R,rn),zt}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 ye=s[ei],$e=new Eg(ye,ye[Ai],ye[ei]);$e.detach($e.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,ye);e[Jt]=$e,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 ye=m[R+1],$e=t[-z];for(let ft=On;ft<$e.length;ft++){const Ut=$e[ft];Ut[Pn]===Ut[ei]&&Kd(Ut[tn],Ut,ye,o)}if(null!==$e[vn]){const ft=$e[vn];for(let Ut=0;Ut({\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:Lt,\u0275\u0275defineNgModule:se,\u0275\u0275definePipe:un,\u0275\u0275directiveInject:ua,\u0275\u0275getInheritedFactory:Sh,\u0275\u0275inject:Q,\u0275\u0275injectAttribute:hc,\u0275\u0275invalidFactory:Rm,\u0275\u0275invalidFactoryDep:be,\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,xt,{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 ye=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&ye.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&ye.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),ye.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(ye.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 ye=$r(t.imports||Mn),{directiveDefs:$e,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 ye=Go(z);for(const $e of ye.exported.directives){const ft=gn($e)||pn($e);ft&&!M.has($e)&&(M.add($e),i.push(ft))}}else{const ye=gn(z)||pn(z);ye&&i.push(ye)}}}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 ye=Go(z);for(const $e of ye.exported.pipes){const ft=si($e);ft&&!M.has($e)&&(M.add($e),o.push(ft))}}else{const ye=si(z);ye&&o.push(ye)}}}return o}}}(e,ye);i.directiveDefs=$e,i.pipeDefs=ft,i.dependencies=()=>ye.map(S)}}finally{Jd--}if(0===Jd&&Vg(),function sx(e){return void 0!==e.ngSelectorScope}(e)){const ye=Go(e.ngSelectorScope);qd(i,ye)}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,xt,{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=dt(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:()=>dt(Wl,ce.Optional|ce.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)&&Pe){let o=Pe[h_];o||(o=Pe[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 Pe.requestAnimationFrame;let t=Pe[e?"requestAnimationFrame":"setTimeout"],i=Pe[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(Pe,()=>{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=dt(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,h.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)(Q(Ir),Q(M_),Q(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 ye=R.get(la,null);let $e;z.runOutsideAngular(()=>{$e=z.onError.subscribe({next:zt=>{ye.handleError(zt)}})});const ft=()=>R.destroy(),Ut=s.get(oh);return Ut.add(ft),R.onDestroy(()=>{$e.unsubscribe(),Ut.delete(ft)}),O_(ye,z,()=>{const zt=R.get(Gl);return zt.runInitializers(),zt.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)(Q(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=dt(N_),this.zoneIsStable=dt(b_),this.componentTypes=[],this.components=[],this.isStable=dt(c_).hasPendingTasks.pipe((0,u.w)(i=>i?(0,f.of)(!1):this.zoneIsStable),(0,v.x)(),(0,h.B)()),this._injector=dt(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),ye=M.create(Ao.NULL,[],o||M.selector,R),$e=ye.location.nativeElement,ft=ye.injector.get(v_,null);return ft?.registerApplication($e),ye.onDestroy(()=>{this.detachView(ye.hostView),Yl(this.components,ye),ft?.unregisterApplication($e)}),this._loadComponent(ye),ye}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:()=>dt(la).handleError.bind(void 0)});function Bx(){const e=dt(Ir),t=dt(la);return i=>e.runOutsideAngular(()=>t.handleError(i))}let Vx=(()=>{class e{constructor(){this.zone=dt(Ir),this.applicationRef=dt(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=dt(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 $e=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],ye=R[Ai].projection[e.projection];if(Array.isArray(ye))for(let $e of ye)ch($e,i,o,s,m);else if(ye){const $e=R[ei];Wo($e[tn].data[ye.index],$e,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)(Q(Ia))},e.\u0275mod=se({type:e}),e.\u0275inj=Lt({}),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 ye=z[Cn];ye&&!ye.hasAttribute(ta)&&(gh(ye,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&&$e===o){const ft=i[i.length-1];ft[dl]??=1,ft[dl]++}else o=$e,i.push(ye)}return i}function ph(e,t,i){const o=t.index-gt;e[tu]??={},e[tu][o]=U1(t,i)}function eb(e,t){const i=t.index-gt;e[hl]??=[],e[hl].includes(i)||e[hl].push(i)}function tb(e,t){const i={},o=e[tn];for(let s=gt;s{let e=!0;return Ql()&&(e=!!dt(rs,{optional:!0})?.get(nu,null)),e&&dt(im).add("hydration"),e}},{provide:is,useValue:()=>{Ql()&&dt(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()&&dt(us)},{provide:ah,useFactory:()=>{if(Ql()&&dt(us)){const e=dt(Ia);return dt(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:()=>dt,AbstractControlDirective:()=>_t,AbstractFormGroupDirective:()=>Mt,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:()=>Rt,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:()=>nt,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 f=(()=>{class fe{constructor(J,We){this._renderer=J,this._elementRef=We,this.onChange=Xt=>{},this.onTouched=()=>{}}setProperty(J,We){this._renderer.setProperty(this._elementRef.nativeElement,J,We)}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})(),h=(()=>{class fe extends f{}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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 h{writeValue(J){this.setProperty("checked",J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.checked)})("blur",function(){return We.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 f{constructor(J,We,Xt){super(J,We),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,We){1&J&&n.\u0275\u0275listener("input",function(Dn){return We._handleInput(Dn.target.value)})("blur",function(){return We.onTouched()})("compositionstart",function(){return We._compositionStart()})("compositionend",function(Dn){return We._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(le){return $(le)}static max(le){return ee(le)}static required(le){return ie(le)}static requiredTrue(le){return A(le)}static email(le){return U(le)}static minLength(le){return Ce(le)}static maxLength(le){return Re(le)}static pattern(le){return Ae(le)}static nullValidator(le){return null}static compose(le){return G(le)}static composeAsync(le){return ae(le)}}function $(fe){return le=>{if(x(le.value)||x(fe))return null;const J=parseFloat(le.value);return!isNaN(J)&&J{if(x(le.value)||x(fe))return null;const J=parseFloat(le.value);return!isNaN(J)&&J>fe?{max:{max:fe,actual:le.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 Ce(fe){return le=>x(le.value)||!D(le.value)?null:le.value.lengthD(le.value)&&le.value.length>fe?{maxlength:{requiredLength:fe,actualLength:le.value.length}}:null}function Ae(fe){if(!fe)return de;let le,J;return"string"==typeof fe?(J="","^"!==fe.charAt(0)&&(J+="^"),J+=fe,"$"!==fe.charAt(fe.length-1)&&(J+="$"),le=new RegExp(J)):(J=fe.toString(),le=fe),We=>{if(x(We.value))return null;const Xt=We.value;return le.test(Xt)?null:{pattern:{requiredPattern:J,actualValue:Xt}}}}function de(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 le={};return fe.forEach(J=>{le=null!=J?{...le,...J}:le}),0===Object.keys(le).length?null:le}function we(fe,le){return le.map(J=>J(fe))}function Be(fe){return fe.map(le=>function Ee(fe){return!fe.validate}(le)?le:J=>le.validate(J))}function G(fe){if(!fe)return null;const le=fe.filter(H);return 0==le.length?null:function(J){return pe(we(J,le))}}function re(fe){return null!=fe?G(Be(fe)):null}function ae(fe){if(!fe)return null;const le=fe.filter(H);return 0==le.length?null:function(J){const We=we(J,le).map(W);return(0,g.D)(We).pipe((0,r.U)(pe))}}function ve(fe){return null!=fe?ae(Be(fe)):null}function He(fe,le){return null===fe?[le]:Array.isArray(fe)?[...fe,le]:[fe,le]}function Ze(fe){return fe._rawValidators}function Qe(fe){return fe._rawAsyncValidators}function Ge(fe){return fe?Array.isArray(fe)?fe:[fe]:[]}function tt(fe,le){return Array.isArray(fe)?fe.includes(le):fe===le}function Ct(fe,le){const J=Ge(le);return Ge(fe).forEach(Xt=>{tt(J,Xt)||J.push(Xt)}),J}function Nt(fe,le){return Ge(le).filter(J=>!tt(fe,J))}class _t{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(le){this._rawValidators=le||[],this._composedValidatorFn=re(this._rawValidators)}_setAsyncValidators(le){this._rawAsyncValidators=le||[],this._composedAsyncValidatorFn=ve(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(le){this._onDestroyCallbacks.push(le)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(le=>le()),this._onDestroyCallbacks=[]}reset(le=void 0){this.control&&this.control.reset(le)}hasError(le,J){return!!this.control&&this.control.hasError(le,J)}getError(le,J){return this.control?this.control.getError(le,J):null}}class Bt extends _t{get formDirective(){return null}get path(){return null}}class Tt extends _t{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Lt{constructor(le){this._cd=le}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 Lt{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,We){2&J&&n.\u0275\u0275classProp("ng-untouched",We.isUntouched)("ng-touched",We.isTouched)("ng-pristine",We.isPristine)("ng-dirty",We.isDirty)("ng-valid",We.isValid)("ng-invalid",We.isInvalid)("ng-pending",We.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})(),at=(()=>{class fe extends Lt{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,We){2&J&&n.\u0275\u0275classProp("ng-untouched",We.isUntouched)("ng-touched",We.isTouched)("ng-pristine",We.isPristine)("ng-dirty",We.isDirty)("ng-valid",We.isValid)("ng-invalid",We.isInvalid)("ng-pending",We.isPending)("ng-submitted",We.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Ke="VALID",he="INVALID",ge="PENDING",ct="DISABLED";function Me(fe){return(V(fe)?fe.validators:fe)||null}function De(fe,le){return(V(le)?le.asyncValidators:fe)||null}function V(fe){return null!=fe&&!Array.isArray(fe)&&"object"==typeof fe}function Q(fe,le,J){const We=fe.controls;if(!(le?Object.keys(We):We).length)throw new n.\u0275RuntimeError(1e3,"");if(!We[J])throw new n.\u0275RuntimeError(1001,"")}function be(fe,le,J){fe._forEachChild((We,Xt)=>{if(void 0===J[Xt])throw new n.\u0275RuntimeError(1002,"")})}class dt{constructor(le,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(le),this._assignAsyncValidators(J)}get validator(){return this._composedValidatorFn}set validator(le){this._rawValidators=this._composedValidatorFn=le}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(le){this._rawAsyncValidators=this._composedAsyncValidatorFn=le}get parent(){return this._parent}get valid(){return this.status===Ke}get invalid(){return this.status===he}get pending(){return this.status==ge}get disabled(){return this.status===ct}get enabled(){return this.status!==ct}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(le){this._assignValidators(le)}setAsyncValidators(le){this._assignAsyncValidators(le)}addValidators(le){this.setValidators(Ct(le,this._rawValidators))}addAsyncValidators(le){this.setAsyncValidators(Ct(le,this._rawAsyncValidators))}removeValidators(le){this.setValidators(Nt(le,this._rawValidators))}removeAsyncValidators(le){this.setAsyncValidators(Nt(le,this._rawAsyncValidators))}hasValidator(le){return tt(this._rawValidators,le)}hasAsyncValidator(le){return tt(this._rawAsyncValidators,le)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(le={}){this.touched=!0,this._parent&&!le.onlySelf&&this._parent.markAsTouched(le)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(le=>le.markAllAsTouched())}markAsUntouched(le={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(J=>{J.markAsUntouched({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}markAsDirty(le={}){this.pristine=!1,this._parent&&!le.onlySelf&&this._parent.markAsDirty(le)}markAsPristine(le={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(J=>{J.markAsPristine({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}markAsPending(le={}){this.status=ge,!1!==le.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!le.onlySelf&&this._parent.markAsPending(le)}disable(le={}){const J=this._parentMarkedDirty(le.onlySelf);this.status=ct,this.errors=null,this._forEachChild(We=>{We.disable({...le,onlySelf:!0})}),this._updateValue(),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...le,skipPristineCheck:J}),this._onDisabledChange.forEach(We=>We(!0))}enable(le={}){const J=this._parentMarkedDirty(le.onlySelf);this.status=Ke,this._forEachChild(We=>{We.enable({...le,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent}),this._updateAncestors({...le,skipPristineCheck:J}),this._onDisabledChange.forEach(We=>We(!1))}_updateAncestors(le){this._parent&&!le.onlySelf&&(this._parent.updateValueAndValidity(le),le.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(le){this._parent=le}getRawValue(){return this.value}updateValueAndValidity(le={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ke||this.status===ge)&&this._runAsyncValidator(le.emitEvent)),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!le.onlySelf&&this._parent.updateValueAndValidity(le)}_updateTreeValidity(le={emitEvent:!0}){this._forEachChild(J=>J._updateTreeValidity(le)),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ct:Ke}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(le){if(this.asyncValidator){this.status=ge,this._hasOwnPendingAsyncValidator=!0;const J=W(this.asyncValidator(this));this._asyncValidationSubscription=J.subscribe(We=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(We,{emitEvent:le})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(le,J={}){this.errors=le,this._updateControlsErrors(!1!==J.emitEvent)}get(le){let J=le;return null==J||(Array.isArray(J)||(J=J.split(".")),0===J.length)?null:J.reduce((We,Xt)=>We&&We._find(Xt),this)}getError(le,J){const We=J?this.get(J):this;return We&&We.errors?We.errors[le]:null}hasError(le,J){return!!this.getError(le,J)}get root(){let le=this;for(;le._parent;)le=le._parent;return le}_updateControlsErrors(le){this.status=this._calculateStatus(),le&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(le)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?ct:this.errors?he:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ge)?ge:this._anyControlsHaveStatus(he)?he:Ke}_anyControlsHaveStatus(le){return this._anyControls(J=>J.status===le)}_anyControlsDirty(){return this._anyControls(le=>le.dirty)}_anyControlsTouched(){return this._anyControls(le=>le.touched)}_updatePristine(le={}){this.pristine=!this._anyControlsDirty(),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}_updateTouched(le={}){this.touched=this._anyControlsTouched(),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}_registerOnCollectionChange(le){this._onCollectionChange=le}_setUpdateStrategy(le){V(le)&&null!=le.updateOn&&(this._updateOn=le.updateOn)}_parentMarkedDirty(le){return!le&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(le){return null}_assignValidators(le){this._rawValidators=Array.isArray(le)?le.slice():le,this._composedValidatorFn=function Ye(fe){return Array.isArray(fe)?re(fe):fe||null}(this._rawValidators)}_assignAsyncValidators(le){this._rawAsyncValidators=Array.isArray(le)?le.slice():le,this._composedAsyncValidatorFn=function F(fe){return Array.isArray(fe)?ve(fe):fe||null}(this._rawAsyncValidators)}}class Rt extends dt{constructor(le,J,We){super(Me(J),De(We,J)),this.controls=le,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(le,J){return this.controls[le]?this.controls[le]:(this.controls[le]=J,J.setParent(this),J._registerOnCollectionChange(this._onCollectionChange),J)}addControl(le,J,We={}){this.registerControl(le,J),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}removeControl(le,J={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}setControl(le,J,We={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],J&&this.registerControl(le,J),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}contains(le){return this.controls.hasOwnProperty(le)&&this.controls[le].enabled}setValue(le,J={}){be(this,0,le),Object.keys(le).forEach(We=>{Q(this,!0,We),this.controls[We].setValue(le[We],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(le,J={}){null!=le&&(Object.keys(le).forEach(We=>{const Xt=this.controls[We];Xt&&Xt.patchValue(le[We],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(le={},J={}){this._forEachChild((We,Xt)=>{We.reset(le[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this._reduceChildren({},(le,J,We)=>(le[We]=J.getRawValue(),le))}_syncPendingControls(){let le=this._reduceChildren(!1,(J,We)=>!!We._syncPendingControls()||J);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){Object.keys(this.controls).forEach(J=>{const We=this.controls[J];We&&le(We,J)})}_setUpControls(){this._forEachChild(le=>{le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(le){for(const[J,We]of Object.entries(this.controls))if(this.contains(J)&&le(We))return!0;return!1}_reduceValue(){return this._reduceChildren({},(J,We,Xt)=>((We.enabled||this.disabled)&&(J[Xt]=We.value),J))}_reduceChildren(le,J){let We=le;return this._forEachChild((Xt,Dn)=>{We=J(We,Xt,Dn)}),We}_allControlsDisabled(){for(const le of Object.keys(this.controls))if(this.controls[le].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(le){return this.controls.hasOwnProperty(le)?this.controls[le]:null}}const qe=Rt,nt=fe=>fe instanceof Rt;class Ve extends Rt{}const yt=fe=>fe instanceof Ve,At=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>on}),on="always";function xn(fe,le){return[...le.path,fe]}function Sn(fe,le,J=on){fi(fe,le),le.valueAccessor.writeValue(fe.value),(fe.disabled||"always"===J)&&le.valueAccessor.setDisabledState?.(fe.disabled),function Yi(fe,le){le.valueAccessor.registerOnChange(J=>{fe._pendingValue=J,fe._pendingChange=!0,fe._pendingDirty=!0,"change"===fe.updateOn&&bt(fe,le)})}(fe,le),function pt(fe,le){const J=(We,Xt)=>{le.valueAccessor.writeValue(We),Xt&&le.viewToModelUpdate(We)};fe.registerOnChange(J),le._registerOnDestroy(()=>{fe._unregisterOnChange(J)})}(fe,le),function xt(fe,le){le.valueAccessor.registerOnTouched(()=>{fe._pendingTouched=!0,"blur"===fe.updateOn&&fe._pendingChange&&bt(fe,le),"submit"!==fe.updateOn&&fe.markAsTouched()})}(fe,le),function xi(fe,le){if(le.valueAccessor.setDisabledState){const J=We=>{le.valueAccessor.setDisabledState(We)};fe.registerOnDisabledChange(J),le._registerOnDestroy(()=>{fe._unregisterOnDisabledChange(J)})}}(fe,le)}function _n(fe,le,J=!0){const We=()=>{};le.valueAccessor&&(le.valueAccessor.registerOnChange(We),le.valueAccessor.registerOnTouched(We)),Vi(fe,le),fe&&(le._invokeOnDestroyCallbacks(),fe._registerOnCollectionChange(()=>{}))}function Mn(fe,le){fe.forEach(J=>{J.registerOnValidatorChange&&J.registerOnValidatorChange(le)})}function fi(fe,le){const J=Ze(fe);null!==le.validator?fe.setValidators(He(J,le.validator)):"function"==typeof J&&fe.setValidators([J]);const We=Qe(fe);null!==le.asyncValidator?fe.setAsyncValidators(He(We,le.asyncValidator)):"function"==typeof We&&fe.setAsyncValidators([We]);const Xt=()=>fe.updateValueAndValidity();Mn(le._rawValidators,Xt),Mn(le._rawAsyncValidators,Xt)}function Vi(fe,le){let J=!1;if(null!==fe){if(null!==le.validator){const Xt=Ze(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==le.validator);Dn.length!==Xt.length&&(J=!0,fe.setValidators(Dn))}}if(null!==le.asyncValidator){const Xt=Qe(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==le.asyncValidator);Dn.length!==Xt.length&&(J=!0,fe.setAsyncValidators(Dn))}}}const We=()=>{};return Mn(le._rawValidators,We),Mn(le._rawAsyncValidators,We),J}function bt(fe,le){fe._pendingDirty&&fe.markAsDirty(),fe.setValue(fe._pendingValue,{emitModelToViewChange:!1}),le.viewToModelUpdate(fe._pendingValue),fe._pendingChange=!1}function qt(fe,le){fi(fe,le)}function _i(fe,le){if(!fe.hasOwnProperty("model"))return!1;const J=fe.model;return!!J.isFirstChange()||!Object.is(le,J.currentValue)}function ti(fe,le){fe._syncPendingControls(),le.forEach(J=>{const We=J.control;"submit"===We.updateOn&&We._pendingChange&&(J.viewToModelUpdate(We._pendingValue),We._pendingChange=!1)})}function an(fe,le){if(!le)return null;let J,We,Xt;return Array.isArray(le),le.forEach(Dn=>{Dn.constructor===y?J=Dn:function $n(fe){return Object.getPrototypeOf(fe.constructor)===h}(Dn)?We=Dn:Xt=Dn}),Xt||We||J||null}const Rn={provide:Bt,useExisting:(0,n.forwardRef)(()=>mi)},Wn=(()=>Promise.resolve())();let mi=(()=>{class fe extends Bt{constructor(J,We,Xt){super(),this.callSetDisabledState=Xt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Rt({},re(J),ve(We))}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 We=this._findContainer(J.path);J.control=We.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 We=this._findContainer(J.path);We&&We.removeControl(J.name),this._directives.delete(J)})}addFormGroup(J){Wn.then(()=>{const We=this._findContainer(J.path),Xt=new Rt({});qt(Xt,J),We.registerControl(J.name,Xt),Xt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(J){Wn.then(()=>{const We=this._findContainer(J.path);We&&We.removeControl(J.name)})}getFormGroup(J){return this.form.get(J.path)}updateModel(J,We){Wn.then(()=>{this.form.get(J.path).setValue(We)})}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(At,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("submit",function(Dn){return We.onSubmit(Dn)})("reset",function(){return We.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Rn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();function Yn(fe,le){const J=fe.indexOf(le);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 dt{constructor(le=null,J,We){super(Me(J),De(We,J)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(le),this._setUpdateStrategy(J),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),V(J)&&(J.nonNullable||J.initialValueIsDefault)&&(this.defaultValue=wi(le)?le.value:le)}setValue(le,J={}){this.value=this._pendingValue=le,this._onChange.length&&!1!==J.emitModelToViewChange&&this._onChange.forEach(We=>We(this.value,!1!==J.emitViewToModelChange)),this.updateValueAndValidity(J)}patchValue(le,J={}){this.setValue(le,J)}reset(le=this.defaultValue,J={}){this._applyFormState(le),this.markAsPristine(J),this.markAsUntouched(J),this.setValue(this.value,J),this._pendingChange=!1}_updateValue(){}_anyControls(le){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(le){this._onChange.push(le)}_unregisterOnChange(le){Yn(this._onChange,le)}registerOnDisabledChange(le){this._onDisabledChange.push(le)}_unregisterOnDisabledChange(le){Yn(this._onDisabledChange,le)}_forEachChild(le){}_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(le){wi(le)?(this.value=this._pendingValue=le.value,le.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=le}},ai=ri,Ni=fe=>fe instanceof ri;let Mt=(()=>{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 le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const se={provide:Bt,useExisting:(0,n.forwardRef)(()=>Xe)};let Xe=(()=>{class fe extends Mt{constructor(J,We,Xt){super(),this.name="",this._parent=J,this._setValidators(We),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([se]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const kt={provide:Tt,useExisting:(0,n.forwardRef)(()=>un)},Wt=(()=>Promise.resolve())();let un=(()=>{class fe extends Tt{constructor(J,We,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(We),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 We=J.name.previousValue;this.formDirective.removeControl({name:We,path:this._getPath(We)})}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 We=J.isDisabled.currentValue,Xt=0!==We&&(0,n.booleanAttribute)(We);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(At,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([kt]),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 h{writeValue(J){this.setProperty("value",J??"")}registerOnChange(J){this.onChange=We=>{J(""==We?null:parseFloat(We))}}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("input",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.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,We){this._accessors.push([J,We])}remove(J){for(let We=this._accessors.length-1;We>=0;--We)if(this._accessors[We][1]===J)return void this._accessors.splice(We,1)}select(J){this._accessors.forEach(We=>{this._isSameGroup(We,J)&&We[1]!==J&&We[1].fireUncheck(J.value)})}_isSameGroup(J,We){return!!J[0].control&&J[0]._parent===We._control._parent&&J[1].name===We.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 h{constructor(J,We,Xt,Dn){super(J,We),this._registry=Xt,this._injector=Dn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(At,{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,We){1&J&&n.\u0275\u0275listener("change",function(){return We.onChange()})("blur",function(){return We.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 h{writeValue(J){this.setProperty("value",parseFloat(J))}registerOnChange(J){this.onChange=We=>{J(""==We?null:parseFloat(We))}}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.value)})("input",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.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,We,Xt,Dn,Wi){super(),this._ngModelWarningConfig=Dn,this.callSetDisabledState=Wi,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(J),this._setAsyncValidators(We),this.valueAccessor=an(0,Xt)}ngOnChanges(J){if(this._isControlChanged(J)){const We=J.form.previousValue;We&&_n(We,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(At,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,We,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(We)}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 We=this.form.get(J.path);return Sn(We,J,this.callSetDisabledState),We.updateValueAndValidity({emitEvent:!1}),this.directives.push(J),We}getControl(J){return this.form.get(J.path)}removeControl(J){_n(J.control||null,J,!1),function mn(fe,le){const J=fe.indexOf(le);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,We){this.form.get(J.path).setValue(We)}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 We=J.control,Xt=this.form.get(J.path);We!==Xt&&(_n(We||null,J),Ni(Xt)&&(Sn(Xt,J,this.callSetDisabledState),J.control=Xt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(J){const We=this.form.get(J.path);qt(We,J),We.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(J){if(this.form){const We=this.form.get(J.path);We&&function nn(fe,le){return Vi(fe,le)}(We,J)&&We.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(At,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formGroup",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("submit",function(Dn){return We.onSubmit(Dn)})("reset",function(){return We.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 Mt{constructor(J,We,Xt){super(),this.name=null,this._parent=J,this._setValidators(We),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,We,Xt){super(),this.name=null,this._parent=J,this._setValidators(We),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 Ot={provide:Tt,useExisting:(0,n.forwardRef)(()=>C)};let C=(()=>{class fe extends Tt{set isDisabled(J){}constructor(J,We,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(We),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([Ot]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})();const te={provide:u,useExisting:(0,n.forwardRef)(()=>Zt),multi:!0};function Ne(fe,le){return null==fe?`${le}`:(le&&"object"==typeof le&&(le="Object"),`${fe}: ${le}`.slice(0,50))}let Zt=(()=>{class fe extends h{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=Ne(this._getOptionId(J),J);this.setProperty("value",Xt)}registerOnChange(J){this.onChange=We=>{this.value=this._getOptionValue(We),J(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(J){for(const We of this._optionMap.keys())if(this._compareWith(this._optionMap.get(We),J))return We;return null}_getOptionValue(J){const We=function ot(fe){return fe.split(":")[0]}(J);return this._optionMap.has(We)?this._optionMap.get(We):J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([te]),n.\u0275\u0275InheritDefinitionFeature]}),fe})(),Pn=(()=>{class fe{constructor(J,We,Xt){this._element=J,this._renderer=We,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(Ne(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,le){return null==fe?`${le}`:("string"==typeof le&&(le=`'${le}'`),le&&"object"==typeof le&&(le="Object"),`${fe}: ${le}`.slice(0,50))}let Ui=(()=>{class fe extends h{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(J){this._compareWith=J}writeValue(J){let We;if(this.value=J,Array.isArray(J)){const Xt=J.map(Dn=>this._getOptionId(Dn));We=(Dn,Wi)=>{Dn._setSelected(Xt.indexOf(Wi.toString())>-1)}}else We=(Xt,Dn)=>{Xt._setSelected(!1)};this._optionMap.forEach(We)}registerOnChange(J){this.onChange=We=>{const Xt=[],Dn=We.selectedOptions;if(void 0!==Dn){const Wi=Dn;for(let dr=0;dr{class fe{constructor(J,We,Xt){this._element=J,this._renderer=We,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 gt=(()=>{class fe{constructor(){this._validator=de}ngOnChanges(J){if(this.inputName in J){const We=this.normalizeInput(J[this.inputName].currentValue);this._enabled=this.enabled(We),this._validator=this._enabled?this.createValidator(We):de,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 gt{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=J=>vt(J),this.createValidator=J=>ee(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("max",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=J=>vt(J),this.createValidator=J=>$(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("min",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>ie}enabled(J){return J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("required",We._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 le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("required",We._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 gt{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>U}enabled(J){return J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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 gt{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Ce(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("minlength",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Re(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("maxlength",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=J=>J,this.createValidator=J=>Ae(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("pattern",We._enabled?We.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 dt{constructor(le,J,We){super(Me(J),De(We,J)),this.controls=le,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(le){return this.controls[this._adjustIndex(le)]}push(le,J={}){this.controls.push(le),this._registerControl(le),this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}insert(le,J,We={}){this.controls.splice(le,0,J),this._registerControl(J),this.updateValueAndValidity({emitEvent:We.emitEvent})}removeAt(le,J={}){let We=this._adjustIndex(le);We<0&&(We=0),this.controls[We]&&this.controls[We]._registerOnCollectionChange(()=>{}),this.controls.splice(We,1),this.updateValueAndValidity({emitEvent:J.emitEvent})}setControl(le,J,We={}){let Xt=this._adjustIndex(le);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:We.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(le,J={}){be(this,0,le),le.forEach((We,Xt)=>{Q(this,!1,Xt),this.at(Xt).setValue(We,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(le,J={}){null!=le&&(le.forEach((We,Xt)=>{this.at(Xt)&&this.at(Xt).patchValue(We,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(le=[],J={}){this._forEachChild((We,Xt)=>{We.reset(le[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this.controls.map(le=>le.getRawValue())}clear(le={}){this.controls.length<1||(this._forEachChild(J=>J._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:le.emitEvent}))}_adjustIndex(le){return le<0?le+this.length:le}_syncPendingControls(){let le=this.controls.reduce((J,We)=>!!We._syncPendingControls()||J,!1);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){this.controls.forEach((J,We)=>{le(J,We)})}_updateValue(){this.value=this.controls.filter(le=>le.enabled||this.disabled).map(le=>le.value)}_anyControls(le){return this.controls.some(J=>J.enabled&&le(J))}_setUpControls(){this._forEachChild(le=>this._registerControl(le))}_allControlsDisabled(){for(const le of this.controls)if(le.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(le){le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)}_find(le){return this.at(le)??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,We=null){const Xt=this._reduceControls(J);let Dn={};return po(We)?Dn=We:null!==We&&(Dn.validators=We.validator,Dn.asyncValidators=We.asyncValidator),new Rt(Xt,Dn)}record(J,We=null){const Xt=this._reduceControls(J);return new Ve(Xt,We)}control(J,We,Xt){let Dn={};return this.useNonNullable?(po(We)?Dn=We:(Dn.validators=We,Dn.asyncValidators=Xt),new ri(J,{...Dn,nonNullable:!0})):new ri(J,We,Xt)}array(J,We,Xt){const Dn=J.map(Wi=>this._createControl(Wi));return new Hr(Dn,We,Xt)}_reduceControls(J){const We={};return Object.keys(J).forEach(Xt=>{We[Xt]=this._createControl(J[Xt])}),We}_createControl(J){return J instanceof ri||J instanceof dt?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,We=null){return super.group(J,We)}control(J,We,Xt){return super.control(J,We,Xt)}array(J,We,Xt){return super.array(J,We,Xt)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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:At,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:At,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:()=>Nt,MATERIAL_SANITY_CHECKS:()=>A,MAT_DATE_FORMATS:()=>ae,MAT_DATE_LOCALE:()=>Be,MAT_DATE_LOCALE_FACTORY:()=>G,MAT_NATIVE_DATE_FORMATS:()=>Qe,MAT_OPTGROUP:()=>Gt,MAT_OPTION_PARENT_COMPONENT:()=>Pe,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Te,MatCommonModule:()=>U,MatLine:()=>_t,MatLineModule:()=>Lt,MatNativeDateModule:()=>tt,MatOptgroup:()=>Oe,MatOption:()=>ct,MatOptionModule:()=>De,MatOptionSelectionChange:()=>he,MatPseudoCheckbox:()=>_e,MatPseudoCheckboxModule:()=>ut,MatRipple:()=>et,MatRippleModule:()=>Dt,NativeDateAdapter:()=>Ze,NativeDateModule:()=>Ge,RippleRef:()=>Le,RippleRenderer:()=>K,ShowOnDirtyErrorStateMatcher:()=>Ct,VERSION:()=>X,_MatOptgroupBase:()=>Ft,_MatOptionBase:()=>ge,_countGroupLabelsBeforeOption:()=>Me,_getOptionScrollPosition:()=>Ye,defaultRippleAnimationConfig:()=>at,mixinColor:()=>H,mixinDisableRipple:()=>W,mixinDisabled:()=>de,mixinErrorState:()=>we,mixinInitialized:()=>Ee,mixinTabIndex:()=>pe,setLines:()=>Bt});var n=a(5879),c=a(4300),d=a(9388),r=a(6814),f=a(2831),h=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 Q=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",Q.disabled)("state",Q.selected?"checked":"unchecked")}}function D(F,V){if(1&F&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&F){const Q=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",Q.disabled)}}function S(F,V){if(1&F&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&F){const Q=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",Q.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(Q,be,dt){this._sanityChecks=be,this._document=dt,this._hasDoneGlobalChecks=!1,Q._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Q){return!(0,f.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Q])}}return F.\u0275fac=function(Q){return new(Q||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 de(F){return class extends F{get disabled(){return this._disabled}set disabled(V){this._disabled=(0,h.Ig)(V)}constructor(...V){super(...V),this._disabled=!1}}}function H(F,V){return class extends F{get color(){return this._color}set color(Q){const be=Q||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}constructor(...Q){super(...Q),this.defaultColor=V,this.color=V}}}function W(F){return class extends F{get disableRipple(){return this._disableRipple}set disableRipple(V){this._disableRipple=(0,h.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(Q){this._tabIndex=null!=Q?(0,h.su)(Q):this.defaultTabIndex}constructor(...Q){super(...Q),this._tabIndex=V,this.defaultTabIndex=V}}}function we(F){return class extends F{updateErrorState(){const V=this.errorState,Rt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Rt!==V&&(this.errorState=Rt,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(Q=>{this._isInitialized?this._notifySubscriber(Q):this._pendingSubscribers.push(Q)})}_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,Q){return this.getYear(V)-this.getYear(Q)||this.getMonth(V)-this.getMonth(Q)||this.getDate(V)-this.getDate(Q)}sameDate(V,Q){if(V&&Q){let be=this.isValid(V),dt=this.isValid(Q);return be&&dt?!this.compareDate(V,Q):be==dt}return V==Q}clampDate(V,Q,be){return Q&&this.compareDate(V,Q)<0?Q:be&&this.compareDate(V,be)>0?be:V}}const ae=new n.InjectionToken("mat-date-formats"),ve=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function He(F,V){const Q=Array(F);for(let be=0;be{class F extends re{constructor(Q,be){super(),this.useUtcForDisplay=!1,super.setLocale(Q)}getYear(Q){return Q.getFullYear()}getMonth(Q){return Q.getMonth()}getDate(Q){return Q.getDate()}getDayOfWeek(Q){return Q.getDay()}getMonthNames(Q){const be=new Intl.DateTimeFormat(this.locale,{month:Q,timeZone:"utc"});return He(12,dt=>this._format(be,new Date(2017,dt,1)))}getDateNames(){const Q=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return He(31,be=>this._format(Q,new Date(2017,0,be+1)))}getDayOfWeekNames(Q){const be=new Intl.DateTimeFormat(this.locale,{weekday:Q,timeZone:"utc"});return He(7,dt=>this._format(be,new Date(2017,0,dt+1)))}getYearName(Q){const be=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(be,Q)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Q){return this.getDate(this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q)+1,0))}clone(Q){return new Date(Q.getTime())}createDate(Q,be,dt){let Rt=this._createDateWithOverflow(Q,be,dt);return Rt.getMonth(),Rt}today(){return new Date}parse(Q,be){return"number"==typeof Q?new Date(Q):Q?new Date(Date.parse(Q)):null}format(Q,be){if(!this.isValid(Q))throw Error("NativeDateAdapter: Cannot format invalid date.");const dt=new Intl.DateTimeFormat(this.locale,{...be,timeZone:"utc"});return this._format(dt,Q)}addCalendarYears(Q,be){return this.addCalendarMonths(Q,12*be)}addCalendarMonths(Q,be){let dt=this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q)+be,this.getDate(Q));return this.getMonth(dt)!=((this.getMonth(Q)+be)%12+12)%12&&(dt=this._createDateWithOverflow(this.getYear(dt),this.getMonth(dt),0)),dt}addCalendarDays(Q,be){return this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q),this.getDate(Q)+be)}toIso8601(Q){return[Q.getUTCFullYear(),this._2digit(Q.getUTCMonth()+1),this._2digit(Q.getUTCDate())].join("-")}deserialize(Q){if("string"==typeof Q){if(!Q)return null;if(ve.test(Q)){let be=new Date(Q);if(this.isValid(be))return be}}return super.deserialize(Q)}isDateInstance(Q){return Q instanceof Date}isValid(Q){return!isNaN(Q.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Q,be,dt){const Rt=new Date;return Rt.setFullYear(Q,be,dt),Rt.setHours(0,0,0,0),Rt}_2digit(Q){return("00"+Q).slice(-2)}_format(Q,be){const dt=new Date;return dt.setUTCFullYear(be.getFullYear(),be.getMonth(),be.getDate()),dt.setUTCHours(be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()),Q.format(dt)}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275inject(Be,8),n.\u0275\u0275inject(f.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 Ge=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||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(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:ae,useValue:Qe}],imports:[Ge]}),F})(),Ct=(()=>{class F{isErrorState(Q,be){return!!(Q&&Q.invalid&&(Q.dirty||be&&be.submitted))}}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),Nt=(()=>{class F{isErrorState(Q,be){return!!(Q&&Q.invalid&&(Q.touched||be&&be.submitted))}}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),_t=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),F})();function Bt(F,V,Q="mat"){F.changes.pipe((0,b.O)(F)).subscribe(({length:be})=>{Tt(V,`${Q}-2-line`,!1),Tt(V,`${Q}-3-line`,!1),Tt(V,`${Q}-multi-line`,!1),2===be||3===be?Tt(V,`${Q}-${be}-line`,!0):be>3&&Tt(V,`${Q}-multi-line`,!0)})}function Tt(F,V,Q){F.nativeElement.classList.toggle(V,Q)}let Lt=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})();class Le{constructor(V,Q,be,dt=!1){this._renderer=V,this.element=Q,this.config=be,this._animationForciblyDisabledThroughCss=dt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const lt=(0,f.i$)({passive:!0,capture:!0});class ze{constructor(){this._events=new Map,this._delegateEventHandler=V=>{const Q=(0,f.sA)(V);Q&&this._events.get(V.type)?.forEach((be,dt)=>{(dt===Q||dt.contains(Q))&&be.forEach(Rt=>Rt.handleEvent(V))})}}addHandler(V,Q,be,dt){const Rt=this._events.get(Q);if(Rt){const qe=Rt.get(be);qe?qe.add(dt):Rt.set(be,new Set([dt]))}else this._events.set(Q,new Map([[be,new Set([dt])]])),V.runOutsideAngular(()=>{document.addEventListener(Q,this._delegateEventHandler,lt)})}removeHandler(V,Q,be){const dt=this._events.get(V);if(!dt)return;const Rt=dt.get(Q);Rt&&(Rt.delete(be),0===Rt.size&&dt.delete(Q),0===dt.size&&(this._events.delete(V),document.removeEventListener(V,this._delegateEventHandler,lt)))}}const at={enterDuration:225,exitDuration:150},oe=(0,f.i$)({passive:!0,capture:!0}),Y=["mousedown","touchstart"],ne=["mouseup","mouseleave","touchend","touchcancel"];class K{constructor(V,Q,be,dt){this._target=V,this._ngZone=Q,this._platform=dt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,dt.isBrowser&&(this._containerElement=(0,h.fI)(be))}fadeInRipple(V,Q,be={}){const dt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Rt={...at,...be.animation};be.centered&&(V=dt.left+dt.width/2,Q=dt.top+dt.height/2);const qe=be.radius||function ce(F,V,Q){const be=Math.max(Math.abs(F-Q.left),Math.abs(F-Q.right)),dt=Math.max(Math.abs(V-Q.top),Math.abs(V-Q.bottom));return Math.sqrt(be*be+dt*dt)}(V,Q,dt),nt=V-dt.left,Ve=Q-dt.top,yt=Rt.enterDuration,At=document.createElement("div");At.classList.add("mat-ripple-element"),At.style.left=nt-qe+"px",At.style.top=Ve-qe+"px",At.style.height=2*qe+"px",At.style.width=2*qe+"px",null!=be.color&&(At.style.backgroundColor=be.color),At.style.transitionDuration=`${yt}ms`,this._containerElement.appendChild(At);const on=window.getComputedStyle(At),Sn=on.transitionDuration,_n="none"===on.transitionProperty||"0s"===Sn||"0s, 0s"===Sn||0===dt.width&&0===dt.height,Mn=new Le(this,At,be,_n);At.style.transform="scale3d(1, 1, 1)",Mn.state=0,be.persistent||(this._mostRecentTransientRipple=Mn);let xi=null;return!_n&&(yt||Rt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const fi=()=>this._finishRippleTransition(Mn),Vi=()=>this._destroyRipple(Mn);At.addEventListener("transitionend",fi),At.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 Q=V.element,be={...at,...V.config.animation};Q.style.transitionDuration=`${be.exitDuration}ms`,Q.style.opacity="0",V.state=2,(V._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(V)}fadeOutAll(){this._getActiveRipples().forEach(V=>V.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(V=>{V.config.persistent||V.fadeOut()})}setupTriggerEvents(V){const Q=(0,h.fI)(V);!this._platform.isBrowser||!Q||Q===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Q,Y.forEach(be=>{K._eventManager.addHandler(this._ngZone,be,Q,this)}))}handleEvent(V){"mousedown"===V.type?this._onMousedown(V):"touchstart"===V.type?this._onTouchStart(V):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ne.forEach(Q=>{this._triggerElement.addEventListener(Q,this,oe)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(V){0===V.state?this._startFadeOutTransition(V):2===V.state&&this._destroyRipple(V)}_startFadeOutTransition(V){const Q=V===this._mostRecentTransientRipple,{persistent:be}=V.config;V.state=1,!be&&(!Q||!this._isPointerDown)&&V.fadeOut()}_destroyRipple(V){const Q=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!==Q&&(V.element.removeEventListener("transitionend",Q.onTransitionEnd),V.element.removeEventListener("transitioncancel",Q.onTransitionCancel)),V.element.remove()}_onMousedown(V){const Q=(0,c.X6)(V),be=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(Q=>K._eventManager.removeHandler(Q,V,this)),this._pointerUpEventsRegistered&&ne.forEach(Q=>V.removeEventListener(Q,this,oe)))}}K._eventManager=new ze;const Te=new n.InjectionToken("mat-ripple-global-options");let et=(()=>{class F{get disabled(){return this._disabled}set disabled(Q){Q&&this.fadeOutAllNonPersistent(),this._disabled=Q,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Q){this._trigger=Q,this._setupTriggerEventsIfEnabled()}constructor(Q,be,dt,Rt,qe){this._elementRef=Q,this._animationMode=qe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Rt||{},this._rippleRenderer=new K(this,be,Q,dt)}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(Q,be=0,dt){return"number"==typeof Q?this._rippleRenderer.fadeInRipple(Q,be,{...this.rippleConfig,...dt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Q})}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(f.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(Q,be){2&Q&&n.\u0275\u0275classProp("mat-ripple-unbounded",be.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(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})(),_e=(()=>{class F{constructor(Q){this._animationMode=Q,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return F.\u0275fac=function(Q){return new(Q||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(Q,be){2&Q&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===be.state)("mat-pseudo-checkbox-checked","checked"===be.state)("mat-pseudo-checkbox-disabled",be.disabled)("mat-pseudo-checkbox-minimal","minimal"===be.appearance)("mat-pseudo-checkbox-full","full"===be.appearance)("_mat-animation-noopable","NoopAnimations"===be._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(Q,be){},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})(),ut=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U]}),F})();const Pe=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),mt=de(class{});let Pt=0,Ft=(()=>{class F extends mt{constructor(Q){super(),this._labelId="mat-optgroup-label-"+Pt++,this._inert=Q?.inertGroups??!1}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(Pe,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),F})();const Gt=new n.InjectionToken("MatOptgroup");let Oe=(()=>{class F extends Ft{}return F.\u0275fac=function(){let V;return function(be){return(V||(V=n.\u0275\u0275getInheritedFactory(F)))(be||F)}}(),F.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(Q,be){2&Q&&n.\u0275\u0275attribute("role",be._inert?null:"group")("aria-disabled",be._inert?null:be.disabled.toString())("aria-labelledby",be._inert?null:be._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:Gt,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(Q,be){1&Q&&(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&Q&&(n.\u0275\u0275classProp("mdc-list-item--disabled",be.disabled),n.\u0275\u0275property("id",be._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",be.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})(),Ke=0;class he{constructor(V,Q=!1){this.source=V,this.isUserInput=Q}}let ge=(()=>{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(Q){this._disabled=(0,h.Ig)(Q)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(Q,be,dt,Rt){this._element=Q,this._changeDetectorRef=be,this._parent=dt,this.group=Rt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ke++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new v.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Q=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Q&&this._emitSelectionChangeEvent())}deselect(Q=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Q&&this._emitSelectionChangeEvent())}focus(Q,be){const dt=this._getHostElement();"function"==typeof dt.focus&&dt.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Q){(Q.keyCode===p.K5||Q.keyCode===p.L_)&&!(0,p.Vb)(Q)&&(this._selectViaInteraction(),Q.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 Q=this.viewValue;Q!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Q)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Q=!1){this.onSelectionChange.emit(new he(this,Q))}}return F.\u0275fac=function(Q){n.\u0275\u0275invalidFactory()},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,viewQuery:function(Q,be){if(1&Q&&n.\u0275\u0275viewQuery(y,7),2&Q){let dt;n.\u0275\u0275queryRefresh(dt=n.\u0275\u0275loadQuery())&&(be._text=dt.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),F})(),ct=(()=>{class F extends ge{constructor(Q,be,dt,Rt){super(Q,be,dt,Rt)}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Pe,8),n.\u0275\u0275directiveInject(Gt,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(Q,be){1&Q&&n.\u0275\u0275listener("click",function(){return be._selectViaInteraction()})("keydown",function(Rt){return be._handleKeydown(Rt)}),2&Q&&(n.\u0275\u0275hostProperty("id",be.id),n.\u0275\u0275attribute("aria-selected",be.selected)("aria-disabled",be.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",be.selected)("mat-mdc-option-multiple",be.multiple)("mat-mdc-option-active",be.active)("mdc-list-item--disabled",be.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(Q,be){1&Q&&(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&Q&&(n.\u0275\u0275property("ngIf",be.multiple),n.\u0275\u0275advance(5),n.\u0275\u0275property("ngIf",!be.multiple&&be.selected&&!be.hideSingleSelectionIndicator),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",be.group&&be.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",be._getHostElement())("matRippleDisabled",be.disabled||be.disableRipple))},dependencies:[et,r.NgIf,_e],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 Me(F,V,Q){if(Q.length){let be=V.toArray(),dt=Q.toArray(),Rt=0;for(let qe=0;qeQ+be?Math.max(0,F-be+V):Q}let De=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[Dt,r.CommonModule,U,ut]}),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:()=>kt,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>pt,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>xt,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>bt,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Vi,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>Yi,MatCalendar:()=>mi,MatCalendarBody:()=>nt,MatCalendarCell:()=>Q,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),f=a(2831),h=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)(h.MAT_RIPPLE_GLOBAL_OPTIONS,{optional:!0}),this._platform=(0,r.inject)(f.t4),this._ngZone=(0,r.inject)(r.NgZone),this._onInteraction=C=>{if(C.target===this._document)return;const Ne=C.target.closest(`[${$}]`);Ne&&(Ne.removeAttribute($),this._appendRipple(Ne))},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 Ne=new ie(C,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);Ne.rippleConfig.centered=C.hasAttribute("mat-icon-button"),new h.RippleRenderer(Ne,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 Ne=new h.MatRipple(new r.ElementRef(te),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Ne._isInitialized=!0,Ne.trigger=C,C.append(te),Ne}}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(Ot,C,te){this._button=Ot,this._globalRippleOptions=C,this._setRippleConfig(C,te)}_setRippleConfig(Ot,C){this.rippleConfig=Ot||{},"NoopAnimations"===C&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const Ce=[{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,h.mixinColor)((0,h.mixinDisabled)((0,h.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,Ne,ot){super(C),this._platform=te,this._ngZone=Ne,this._animationMode=ot,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 Ce)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,Ne,ot){super(C,te,Ne,ot)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.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,Ne,ot){super(C,te,Ne,ot)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.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:[h.MatCommonModule,h.MatRippleModule,h.MatCommonModule]}),Je})();var Ct=a(6672),Nt=a(8645),_t=a(7394),Bt=a(3019),Tt=a(2096),Lt=a(6028),Le=a(9388),lt=a(8180),ze=a(7921),at=a(2181),N=a(2495),oe=a(6825),Y=a(6223),ne=a(1043),K=a(4516);const ce=["mat-calendar-body",""];function Te(Je,Ot){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 et(Je,Ot){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,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",8)(1,"button",9),r.\u0275\u0275listener("click",function(Ne){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._cellClicked(Zt,Ne))})("focus",function(Ne){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._emitActiveDateChange(Zt,Ne))}),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=Ot.$implicit,te=Ot.index,Ne=r.\u0275\u0275nextContext().index,ot=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("width",ot._cellWidth)("padding-top",ot._cellPadding)("padding-bottom",ot._cellPadding),r.\u0275\u0275attribute("data-mat-row",Ne)("data-mat-col",te),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-disabled",!C.enabled)("mat-calendar-body-active",ot._isActiveCell(Ne,te))("mat-calendar-body-range-start",ot._isRangeStart(C.compareValue))("mat-calendar-body-range-end",ot._isRangeEnd(C.compareValue))("mat-calendar-body-in-range",ot._isInRange(C.compareValue))("mat-calendar-body-comparison-bridge-start",ot._isComparisonBridgeStart(C.compareValue,Ne,te))("mat-calendar-body-comparison-bridge-end",ot._isComparisonBridgeEnd(C.compareValue,Ne,te))("mat-calendar-body-comparison-start",ot._isComparisonStart(C.compareValue))("mat-calendar-body-comparison-end",ot._isComparisonEnd(C.compareValue))("mat-calendar-body-in-comparison-range",ot._isInComparisonRange(C.compareValue))("mat-calendar-body-preview-start",ot._isPreviewStart(C.compareValue))("mat-calendar-body-preview-end",ot._isPreviewEnd(C.compareValue))("mat-calendar-body-in-preview",ot._isInPreview(C.compareValue)),r.\u0275\u0275property("ngClass",C.cssClasses)("tabindex",ot._isActiveCell(Ne,te)?0:-1),r.\u0275\u0275attribute("aria-label",C.ariaLabel)("aria-disabled",!C.enabled||null)("aria-pressed",ot._isSelected(C.compareValue))("aria-current",ot.todayValue===C.compareValue?"date":null)("aria-describedby",ot._getDescribedby(C.compareValue)),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-selected",ot._isSelected(C.compareValue))("mat-calendar-body-comparison-identical",ot._isComparisonIdentical(C.compareValue))("mat-calendar-body-today",ot.todayValue===C.compareValue),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",C.displayValue," ")}}function _e(Je,Ot){if(1&Je&&(r.\u0275\u0275elementStart(0,"tr",5),r.\u0275\u0275template(1,et,2,6,"td",6),r.\u0275\u0275template(2,Dt,5,48,"td",7),r.\u0275\u0275elementEnd()),2&Je){const C=Ot.$implicit,te=Ot.index,Ne=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",0===te&&Ne._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",C)}}function ut(Je,Ot){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=Ot.$implicit;r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.long),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.narrow)}}const Pe=["*"];function mt(Je,Ot){}function Pt(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-month-view",5),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("_userSelection",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dateSelected(Ne))})("dragStarted",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dragStarted(Ne))})("dragEnded",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dragEnded(Ne))}),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 Ft(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-year-view",6),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("monthSelected",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._monthSelectedInYearView(Ne))})("selectedChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._goToDateInView(Ne,"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 Gt(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-multi-year-view",7),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("yearSelected",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._yearSelectedInMultiYearView(Ne))})("selectedChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._goToDateInView(Ne,"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 Oe(Je,Ot){}const Ke=["button"];function he(Je,Ot){1&Je&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg",3),r.\u0275\u0275element(1,"path",4),r.\u0275\u0275elementEnd())}const ge=[[["","matDatepickerToggleIcon",""]]],ct=["[matDatepickerToggleIcon]"],Me=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Ye=["input[matStartDate]","input[matEndDate]"];function De(Je,Ot){1&Je&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275projection(1),r.\u0275\u0275elementEnd())}let V=(()=>{class Je{constructor(){this.changes=new Nt.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 Q{constructor(Ot,C,te,Ne,ot={},Zt=Ot,Pn){this.value=Ot,this.displayValue=C,this.ariaLabel=te,this.enabled=Ne,this.cssClasses=ot,this.compareValue=Zt,this.rawValue=Pn}}let be=1;const dt=(0,f.i$)({passive:!1,capture:!0}),Rt=(0,f.i$)({passive:!0,capture:!0}),qe=(0,f.i$)({passive:!0});let nt=(()=>{class Je{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(C,te){this._elementRef=C,this._ngZone=te,this._platform=(0,r.inject)(f.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=Ne=>{if(this._skipNextFocus&&"focus"===Ne.type)this._skipNextFocus=!1;else if(Ne.target&&this.isRange){const ot=this._getCellFromElement(Ne.target);ot&&this._ngZone.run(()=>this.previewChange.emit({value:ot.enabled?ot:null,event:Ne}))}},this._touchmoveHandler=Ne=>{if(!this.isRange)return;const ot=Sn(Ne),Zt=ot?this._getCellFromElement(ot):null;ot!==Ne.target&&(this._didDragSinceMouseDown=!0),yt(Ne.target)&&Ne.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Zt?.enabled?Zt:null,event:Ne}))},this._leaveHandler=Ne=>{null!==this.previewEnd&&this.isRange&&("blur"!==Ne.type&&(this._didDragSinceMouseDown=!0),Ne.target&&this._getCellFromElement(Ne.target)&&(!Ne.relatedTarget||!this._getCellFromElement(Ne.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Ne})))},this._mousedownHandler=Ne=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const ot=Ne.target&&this._getCellFromElement(Ne.target);!ot||!this._isInRange(ot.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:ot.rawValue,event:Ne})})},this._mouseupHandler=Ne=>{if(!this.isRange)return;const ot=yt(Ne.target);ot?ot.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Zt=this._getCellFromElement(ot);this.dragEnded.emit({value:Zt?.rawValue??null,event:Ne})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Ne})})},this._touchendHandler=Ne=>{const ot=Sn(Ne);ot&&this._mouseupHandler({target:ot})},this._id="mat-calendar-body-"+be++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,te.runOutsideAngular(()=>{const Ne=C.nativeElement;Ne.addEventListener("touchmove",this._touchmoveHandler,dt),Ne.addEventListener("mouseenter",this._enterHandler,Rt),Ne.addEventListener("focus",this._enterHandler,Rt),Ne.addEventListener("mouseleave",this._leaveHandler,Rt),Ne.addEventListener("blur",this._leaveHandler,Rt),Ne.addEventListener("mousedown",this._mousedownHandler,qe),Ne.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:Ne,numCols:ot}=this;(C.rows||te)&&(this._firstRowOffset=Ne&&Ne.length&&Ne[0].length?ot-Ne[0].length:0),(C.cellAspectRatio||te||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/ot+"%"),(te||!this._cellWidth)&&(this._cellWidth=100/ot+"%")}ngOnDestroy(){const C=this._elementRef.nativeElement;C.removeEventListener("touchmove",this._touchmoveHandler,dt),C.removeEventListener("mouseenter",this._enterHandler,Rt),C.removeEventListener("focus",this._enterHandler,Rt),C.removeEventListener("mouseleave",this._leaveHandler,Rt),C.removeEventListener("blur",this._leaveHandler,Rt),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 Ne=C*this.numCols+te;return C&&(Ne-=this._firstRowOffset),Ne==this.activeCell}_focusActiveCell(C=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,lt.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 At(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 At(C,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(C,te,Ne){if(!this._isComparisonStart(C)||this._isRangeStart(C)||!this._isInRange(C))return!1;let ot=this.rows[te][Ne-1];if(!ot){const Zt=this.rows[te-1];ot=Zt&&Zt[Zt.length-1]}return ot&&!this._isRangeEnd(ot.compareValue)}_isComparisonBridgeEnd(C,te,Ne){if(!this._isComparisonEnd(C)||this._isRangeEnd(C)||!this._isInRange(C))return!1;let ot=this.rows[te][Ne+1];if(!ot){const Zt=this.rows[te+1];ot=Zt&&Zt[0]}return ot&&!this._isRangeStart(ot.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 At(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 Ne=te.getAttribute("data-mat-row"),ot=te.getAttribute("data-mat-col");if(Ne&&ot)return this.rows[parseInt(Ne)][parseInt(ot)]}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:ce,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,_e,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=Ot&&Je===C}function xn(Je,Ot,C,te){return te&&null!==Ot&&null!==C&&Ot!==C&&Je>=Ot&&Je<=C}function Sn(Je){const Ot=Je.changedTouches[0];return document.elementFromPoint(Ot.clientX,Ot.clientY)}class _n{constructor(Ot,C){this.start=Ot,this.end=C}}let Mn=(()=>{class Je{constructor(C,te){this.selection=C,this._adapter=te,this._selectionChanged=new Nt.x,this.selectionChanged=this._selectionChanged,this.selection=C}updateSelection(C,te){const Ne=this.selection;this.selection=C,this._selectionChanged.next({selection:C,source:te,oldValue:Ne})}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(h.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:Ne}=this.selection;null==te?te=C:null==Ne?Ne=C:(te=C,Ne=null),super.updateSelection(new _n(te,Ne),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(h.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();function Vi(Je,Ot){return Je||new xi(Ot)}const Yi={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],h.DateAdapter],useFactory:Vi};function xt(Je,Ot){return Je||new fi(Ot)}const bt={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],h.DateAdapter],useFactory:xt},pt=new r.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let qt=(()=>{class Je{constructor(C){this._dateAdapter=C}selectionFinished(C,te){let{start:Ne,end:ot}=te;return null==Ne?Ne=C:null==ot&&C&&this._dateAdapter.compareDate(C,Ne)>=0?ot=C:(Ne=C,ot=null),new _n(Ne,ot)}createPreview(C,te){let Ne=null,ot=null;return te.start&&!te.end&&C&&(Ne=te.start,ot=C),new _n(Ne,ot)}createDrag(C,te,Ne){let ot=te.start,Zt=te.end;if(!ot||!Zt)return null;const Pn=this._dateAdapter,ji=0!==Pn.compareDate(ot,Zt),Pi=Pn.getYear(Ne)-Pn.getYear(C),Li=Pn.getMonth(Ne)-Pn.getMonth(C),Qi=Pn.getDate(Ne)-Pn.getDate(C);return ji&&Pn.sameDate(C,te.start)?(ot=Ne,Pn.compareDate(Ne,Zt)>0&&(Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi))):ji&&Pn.sameDate(C,te.end)?(Zt=Ne,Pn.compareDate(Ne,ot)<0&&(ot=Pn.addCalendarYears(ot,Pi),ot=Pn.addCalendarMonths(ot,Li),ot=Pn.addCalendarDays(ot,Qi))):(ot=Pn.addCalendarYears(ot,Pi),ot=Pn.addCalendarMonths(ot,Li),ot=Pn.addCalendarDays(ot,Qi),Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi)),new _n(ot,Zt)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275inject(h.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();const cn={provide:pt,deps:[[new r.Optional,new r.SkipSelf,pt],h.DateAdapter],useFactory:function nn(Je,Ot){return Je||new qt(Ot)}};let Nn=(()=>{class Je{get activeDate(){return this._activeDate}set activeDate(C){const te=this._activeDate,Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne,ot,Zt){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Ne,this._dir=ot,this._rangeStrategy=Zt,this._rerenderSubscription=_t.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,Ne=this._getDateFromDayOfMonth(te);let ot,Zt;this._selected instanceof _n?(ot=this._getDateInCurrentMonth(this._selected.start),Zt=this._getDateInCurrentMonth(this._selected.end)):ot=Zt=this._getDateInCurrentMonth(this._selected),(ot!==te||Zt!==te)&&this.selectedChange.emit(Ne),this._userSelection.emit({value:Ne,event:C.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case Lt.Ku:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case Lt.VM:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case Lt.K5:case Lt.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&C.preventDefault());case Lt.hY:return void(null!=this._previewEnd&&!(0,Lt.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===Lt.L_||C.keyCode===Lt.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 Ne=te?te.rawValue:null,ot=this._rangeStrategy.createPreview(Ne,this.selected,C);if(this._previewStart=this._getCellCompareValue(ot.start),this._previewEnd=this._getCellCompareValue(ot.end),this.activeDrag&&Ne){const Zt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Ne,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 ot=this._dateAdapter.getDayOfWeekNames("long").map((Zt,Pn)=>({long:Zt,narrow:te[Pn]}));this._weekdays=ot.slice(C).concat(ot.slice(0,C))}_createWeekCells(){const C=this._dateAdapter.getNumDaysInMonth(this.activeDate),te=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Ne=0,ot=this._firstWeekOffset;Ne=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),Ne=this._dateAdapter.getMonth(C),ot=this._dateAdapter.getDate(C);return new Date(te,Ne,ot).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(h.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(Le.Is,8),r.\u0275\u0275directiveInject(pt,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-month-view"]],viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(nt,5),2&C){let Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._matCalendarBody=Ne.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,ut,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(ot){return te._dateSelected(ot)})("activeDateChange",function(ot){return te._updateActiveDate(ot)})("previewChange",function(ot){return te._previewChanged(ot)})("dragStarted",function(ot){return te.dragStarted.emit(ot)})("dragEnded",function(ot){return te._dragEnded(ot)})("keyup",function(ot){return te._handleCalendarBodyKeyup(ot)})("keydown",function(ot){return te._handleCalendarBodyKeydown(ot)}),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,nt],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 Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne){this._changeDetectorRef=C,this._dateAdapter=te,this._dir=Ne,this._rerenderSubscription=_t.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 Ne=0,ot=[];Nethis._createCellForYear(Zt))),ot=[]);this._changeDetectorRef.markForCheck()}_yearSelected(C){const te=C.value,Ne=this._dateAdapter.createDate(te,0,1),ot=this._getDateFromYear(te);this.yearSelected.emit(Ne),this.selectedChange.emit(ot)}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromYear(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Xn);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xn);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,wn-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case Lt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*-wn:-wn);break;case Lt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*wn:wn);break;case Lt.K5:case Lt.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===Lt.L_||C.keyCode===Lt.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),Ne=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(C,te,1));return this._dateAdapter.createDate(C,te,Math.min(this._dateAdapter.getDate(this.activeDate),Ne))}_createCellForYear(C){const te=this._dateAdapter.createDate(C,0,1),Ne=this._dateAdapter.getYearName(te),ot=this.dateClass?this.dateClass(te,"multi-year"):void 0;return new Q(C,Ne,Ne,this._shouldEnableYear(C),ot)}_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 Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne,ot){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Ne,this._dir=ot,this._rerenderSubscription=_t.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,Ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,1);this.monthSelected.emit(Ne);const ot=this._getDateFromMonth(te);this.selectedChange.emit(ot)}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromMonth(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case Lt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?-10:-1);break;case Lt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10:1);break;case Lt.K5:case Lt.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===Lt.L_||C.keyCode===Lt.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(Ne=>this._createCellForMonth(Ne,C[Ne]))),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),Ne=this._dateAdapter.getNumDaysInMonth(te);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,Math.min(this._dateAdapter.getDate(this.activeDate),Ne))}_createCellForMonth(C,te){const Ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,1),ot=this._dateAdapter.format(Ne,this._dateFormats.display.monthYearA11yLabel),Zt=this.dateClass?this.dateClass(Ne,"year"):void 0;return new Q(C,te.toLocaleUpperCase(),ot,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 ot=this._dateAdapter.createDate(te,C,1);this._dateAdapter.getMonth(ot)==C;ot=this._dateAdapter.addCalendarDays(ot,1))if(this.dateFilter(ot))return!0;return!1}_isYearAndMonthAfterMaxDate(C,te){if(this.maxDate){const Ne=this._dateAdapter.getYear(this.maxDate),ot=this._dateAdapter.getMonth(this.maxDate);return C>Ne||C===Ne&&te>ot}return!1}_isYearAndMonthBeforeMinDate(C,te){if(this.minDate){const Ne=this._dateAdapter.getYear(this.minDate),ot=this._dateAdapter.getMonth(this.minDate);return C{class Je{constructor(C,te,Ne,ot,Zt){this._intl=C,this.calendar=te,this._dateAdapter=Ne,this._dateFormats=ot,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),Ne=te+wn-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(te,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Ne,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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Pe,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,Ne,ot){this._dateAdapter=te,this._dateFormats=Ne,this._changeDetectorRef=ot,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 Nt.x,this._intlChanges=C.changes.subscribe(()=>{ot.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,Ne=C.maxDate&&!this._dateAdapter.sameDate(C.maxDate.previousValue,C.maxDate.currentValue)?C.maxDate:void 0,ot=te||Ne||C.dateFilter;if(ot&&!ot.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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.monthView=Ne.first),r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.yearView=Ne.first),r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.multiYearView=Ne.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,mt,0,0,"ng-template",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275template(2,Pt,1,11,"mat-month-view",2),r.\u0275\u0275template(3,Ft,1,6,"mat-year-view",3),r.\u0275\u0275template(4,Gt,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},Mt=(0,h.mixinColor)(class{constructor(Je){this._elementRef=Je}});let jt=(()=>{class Je extends Mt{constructor(C,te,Ne,ot,Zt,Pn){super(C),this._changeDetectorRef=te,this._globalModel=Ne,this._dateAdapter=ot,this._rangeSelectionStrategy=Zt,this._subscriptions=new _t.w0,this._animationDone=new Nt.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,Ne=C.value,ot=te instanceof _n;if(ot&&this._rangeSelectionStrategy){const Zt=this._rangeSelectionStrategy.selectionFinished(Ne,te,C.event);this._model.updateSelection(Zt,this)}else Ne&&(ot||!this._dateAdapter.sameDate(Ne,te))&&this._model.add(Ne);(!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(h.DateAdapter),r.\u0275\u0275directiveInject(pt,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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._calendar=Ne.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(C,te){1&C&&r.\u0275\u0275syntheticHostListener("@transformPanel.start",function(ot){return te._handleAnimationEvent(ot)})("@transformPanel.done",function(ot){return te._handleAnimationEvent(ot)}),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(ot){return te.datepicker._selectYear(ot)})("monthSelected",function(ot){return te.datepicker._selectMonth(ot)})("viewChanged",function(ot){return te.datepicker._viewChanged(ot)})("_userSelection",function(ot){return te._handleUserSelection(ot)})("_userDragDrop",function(ot){return te._handleUserDragDrop(ot)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(2,Oe,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 Ne;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!==(Ne=te._dialogLabelId)&&void 0!==Ne?Ne: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,Ne,ot,Zt,Pn,ji){this._overlay=C,this._ngZone=te,this._viewContainerRef=Ne,this._dateAdapter=Zt,this._dir=Pn,this._model=ji,this._inputStateChanges=_t.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 Nt.x,this._scrollStrategy=ot}ngOnChanges(C){const te=C.xPosition||C.yPosition;if(te&&!te.firstChange&&this._overlayRef){const Ne=this._overlayRef.getConfig().positionStrategy;Ne instanceof c._G&&(this._setConnectedPositions(Ne),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,f.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:Ne,location:ot}=this._componentRef;Ne._startExitAnimation(),Ne._animationDone.pipe((0,lt.q)(1)).subscribe(()=>{const Zt=this._document.activeElement;C&&(!Zt||Zt===this._document.activeElement||ot.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),Ne=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(Ne).subscribe(ot=>{ot&&ot.preventDefault(),this.close()}),Ne.keydownEvents().subscribe(ot=>{const Zt=ot.keyCode;(Zt===Lt.LH||Zt===Lt.JH||Zt===Lt.oh||Zt===Lt.SV||Zt===Lt.Ku||Zt===Lt.VM)&&ot.preventDefault()}),this._componentRef=Ne.attach(te),this._forwardContentValues(this._componentRef.instance),C||this._ngZone.onStable.pipe((0,lt.q)(1)).subscribe(()=>Ne.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",Ne="start"===te?"end":"start",ot="above"===this.yPosition?"bottom":"top",Zt="top"===ot?"bottom":"top";return C.withPositions([{originX:te,originY:Zt,overlayX:te,overlayY:ot},{originX:te,originY:ot,overlayX:te,overlayY:Zt},{originX:Ne,originY:Zt,overlayX:Ne,overlayY:ot},{originX:Ne,originY:ot,overlayX:Ne,overlayY:Zt}])}_getCloseStream(C){const te=["ctrlKey","shiftKey","metaKey"];return(0,Bt.T)(C.backdropClick(),C.detachments(),C.keydownEvents().pipe((0,at.h)(Ne=>Ne.keyCode===Lt.hY&&!(0,Lt.Vb)(Ne)||this.datepickerInput&&(0,Lt.Vb)(Ne,"altKey")&&Ne.keyCode===Lt.LH&&te.every(ot=>!(0,Lt.Vb)(Ne,ot)))))}}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(h.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 Ot;return function(te){return(Ot||(Ot=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(Ot,C){this.target=Ot,this.targetElement=C,this.value=this.target.value}}let se=(()=>{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),Ne=this._elementRef.nativeElement;this._disabled!==te&&(this._disabled=te,this.stateChanges.next(void 0)),te&&this._isInitialized&&Ne.blur&&Ne.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 Ne=this._getValueFromModel(te.selection);this._lastValueValid=this._isValidValue(Ne),this._cvaOnChange(Ne),this._onTouched(),this._formatValue(Ne),this.dateInput.emit(new me(this,this._elementRef.nativeElement)),this.dateChange.emit(new me(this,this._elementRef.nativeElement))}})}constructor(C,te,Ne){this._elementRef=C,this._dateAdapter=te,this._dateFormats=Ne,this.dateChange=new r.EventEmitter,this.dateInput=new r.EventEmitter,this.stateChanges=new Nt.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=_t.w0.EMPTY,this._localeSubscription=_t.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value));return!Zt||this._matchesFilter(Zt)?null:{matDatepickerFilter:!0}},this._minValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value)),Pn=this._getMinDate();return!Pn||!Zt||this._dateAdapter.compareDate(Pn,Zt)<=0?null:{matDatepickerMin:{min:Pn,actual:Zt}}},this._maxValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.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,Lt.Vb)(C,"altKey")&&C.keyCode===Lt.JH&&["ctrlKey","shiftKey","metaKey"].every(ot=>!(0,Lt.Vb)(C,ot))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),C.preventDefault())}_onInput(C){const te=this._lastValueValid;let Ne=this._dateAdapter.parse(C,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Ne),Ne=this._dateAdapter.getValidDateOrNull(Ne);const ot=!this._dateAdapter.sameDate(Ne,this.value);!Ne||ot?this._cvaOnChange(Ne):(C&&!this.value&&this._cvaOnChange(Ne),te!==this._lastValueValid&&this._validatorOnChange()),ot&&(this._assignValue(Ne),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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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,Ot){const C=Object.keys(Je);for(let te of C){const{previousValue:Ne,currentValue:ot}=Je[te];if(!Ot.isDateInstance(Ne)||!Ot.isDateInstance(ot))return!0;if(!Ot.sameDate(Ne,ot))return!0}return!1}const kt={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 se{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,Ne,ot){super(C,te,Ne),this._formField=ot,this._closedSubscription=_t.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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("blur",function(){return te._onBlur()})("keydown",function(ot){return te._onKeydown(ot)}),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([kt,Wt,{provide:K.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,Ne){this._intl=C,this._changeDetectorRef=te,this._stateChanges=_t.w0.EMPTY;const ot=Number(Ne);this.tabIndex=ot||0===ot?ot: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)(),Ne=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,Ne).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,Ne){if(1&C&&r.\u0275\u0275contentQuery(Ne,gn,5),2&C){let ot;r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._customIcon=ot.first)}},viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(Ke,5),2&C){let Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._button=Ne.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("click",function(ot){return te._open(ot)}),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:ct,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(ge),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275template(2,he,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,Ot){if(jn(Je)&&Ot){const te=(Je.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((Ne,ot)=>{const Zt=document.getElementById(ot);return Zt&&Ne.push(Zt),Ne},[]);if(te.length)return te.map(Ne=>Ti(Ne,!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(Ne=>Ti(Ne,!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,h.mixinErrorState)((()=>{class Je extends se{constructor(C,te,Ne,ot,Zt,Pn,ji,Pi){super(te,ji,Pi),this._rangeInput=C,this._elementRef=te,this._defaultErrorStateMatcher=Ne,this._injector=ot,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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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,Ne,ot,Zt,Pn,ji,Pi){super(C,te,Ne,ot,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,Ne=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;(C.keyCode===Lt.SV&&ot||C.keyCode===Lt.oh&&!ot)&&Ne.selectionStart===Ne.value.length&&Ne.selectionEnd===Ne.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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("keydown",function(ot){return te._onKeydown(ot)})("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,Ne,ot,Zt,Pn,ji,Pi){super(C,te,Ne,ot,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,Ne=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;if(C.keyCode!==Lt.ZH||Ne.value)if((C.keyCode===Lt.oh&&ot||C.keyCode===Lt.SV&&!ot)&&0===Ne.selectionStart&&0===Ne.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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("keydown",function(ot){return te._onKeydown(ot)})("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,Ne=this._endInput,ot=te&&te._matchesFilter(te.value),Zt=Ne&&Ne._matchesFilter(te.value);this._dateFilter=C,te&&te._matchesFilter(te.value)!==ot&&te._validatorOnChange(),Ne&&Ne._matchesFilter(Ne.value)!==Zt&&Ne._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,Ne,ot,Zt){this._changeDetectorRef=C,this._elementRef=te,this._dateAdapter=ot,this._formField=Zt,this._closedSubscription=_t.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 Nt.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=Ne}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(h.DateAdapter,8),r.\u0275\u0275directiveInject(ne.G_,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-input"]],contentQueries:function(C,te,Ne){if(1&C&&(r.\u0275\u0275contentQuery(Ne,Cn,5),r.\u0275\u0275contentQuery(Ne,tn,5)),2&C){let ot;r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._startInput=ot.first),r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._endInput=ot.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(Me),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275listener("cdkFocusChange",function(ot){return te._updateFocus(ot)}),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 Ot;return function(te){return(Ot||(Ot=r.\u0275\u0275getInheritedFactory(Je)))(te||Je)}}(),Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[r.\u0275\u0275ProvidersFeature([bt,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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._template=Ne.first)}},ngContentSelectors:Pe,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,h.MatCommonModule,Ct.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 f{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 f.\u0275fac=function(u){return new(u||f)},f.\u0275cmp=n.\u0275\u0275defineComponent({type:f,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}),f})(),r=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=n.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=n.\u0275\u0275defineInjector({imports:[d.MatCommonModule,d.MatCommonModule]}),f})()},1043:(Ie,B,a)=>{"use strict";a.d(B,{Bi:()=>Bt,Eo:()=>Nt,G_:()=>Lt,Lv:()=>Tt,Px:()=>Ee,TN:()=>Ct,UO:()=>_t,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"),Ct={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 Nt=(()=>{class K{}return K.\u0275fac=function(Te){return new(Te||K)},K.\u0275dir=n.\u0275\u0275defineDirective({type:K}),K})();function _t(){return Error("Placeholder attribute and child element were both specified.")}function Bt(K){return Error(`A hint was already declared for 'align="${K}"'.`)}function Tt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const Lt=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:()=>ve,MatIconModule:()=>He,MatIconRegistry:()=>Ce,getMatIconFailedToSanitizeLiteralError:()=>A,getMatIconFailedToSanitizeUrlError:()=>ie,getMatIconNameNotFoundError:()=>$,getMatIconNoHttpProviderError:()=>ee});var n=a(5879),c=a(3680),d=a(2495),g=a(6814),r=a(2096),f=a(8504),h=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,Ge,tt){this.url=Qe,this.svgText=Ge,this.options=tt}}let Ce=(()=>{class Ze{constructor(Ge,tt,Ct,Nt){this._httpClient=Ge,this._sanitizer=tt,this._errorHandler=Nt,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=Ct}addSvgIcon(Ge,tt,Ct){return this.addSvgIconInNamespace("",Ge,tt,Ct)}addSvgIconLiteral(Ge,tt,Ct){return this.addSvgIconLiteralInNamespace("",Ge,tt,Ct)}addSvgIconInNamespace(Ge,tt,Ct,Nt){return this._addSvgIconConfig(Ge,tt,new U(Ct,null,Nt))}addSvgIconResolver(Ge){return this._resolvers.push(Ge),this}addSvgIconLiteralInNamespace(Ge,tt,Ct,Nt){const _t=this._sanitizer.sanitize(n.SecurityContext.HTML,Ct);if(!_t)throw A(Ct);const Bt=X(_t);return this._addSvgIconConfig(Ge,tt,new U("",Bt,Nt))}addSvgIconSet(Ge,tt){return this.addSvgIconSetInNamespace("",Ge,tt)}addSvgIconSetLiteral(Ge,tt){return this.addSvgIconSetLiteralInNamespace("",Ge,tt)}addSvgIconSetInNamespace(Ge,tt,Ct){return this._addSvgIconSetConfig(Ge,new U(tt,null,Ct))}addSvgIconSetLiteralInNamespace(Ge,tt,Ct){const Nt=this._sanitizer.sanitize(n.SecurityContext.HTML,tt);if(!Nt)throw A(tt);const _t=X(Nt);return this._addSvgIconSetConfig(Ge,new U("",_t,Ct))}registerFontClassAlias(Ge,tt=Ge){return this._fontCssClassesByAlias.set(Ge,tt),this}classNameForFontAlias(Ge){return this._fontCssClassesByAlias.get(Ge)||Ge}setDefaultFontSetClass(...Ge){return this._defaultFontSetClass=Ge,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ge){const tt=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Ge);if(!tt)throw ie(Ge);const Ct=this._cachedIconsByUrl.get(tt);return Ct?(0,r.of)(de(Ct)):this._loadSvgIconFromConfig(new U(Ge,null)).pipe((0,v.b)(Nt=>this._cachedIconsByUrl.set(tt,Nt)),(0,b.U)(Nt=>de(Nt)))}getNamedSvgIcon(Ge,tt=""){const Ct=H(tt,Ge);let Nt=this._svgIconConfigs.get(Ct);if(Nt)return this._getSvgFromConfig(Nt);if(Nt=this._getIconConfigFromResolvers(tt,Ge),Nt)return this._svgIconConfigs.set(Ct,Nt),this._getSvgFromConfig(Nt);const _t=this._iconSetConfigs.get(tt);return _t?this._getSvgFromIconSetConfigs(Ge,_t):(0,f._)($(Ct))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ge){return Ge.svgText?(0,r.of)(de(this._svgElementFromConfig(Ge))):this._loadSvgIconFromConfig(Ge).pipe((0,b.U)(tt=>de(tt)))}_getSvgFromIconSetConfigs(Ge,tt){const Ct=this._extractIconWithNameFromAnySet(Ge,tt);if(Ct)return(0,r.of)(Ct);const Nt=tt.filter(_t=>!_t.svgText).map(_t=>this._loadSvgIconSetFromConfig(_t).pipe((0,p.K)(Bt=>{const Lt=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,_t.url)} failed: ${Bt.message}`;return this._errorHandler.handleError(new Error(Lt)),(0,r.of)(null)})));return(0,h.D)(Nt).pipe((0,b.U)(()=>{const _t=this._extractIconWithNameFromAnySet(Ge,tt);if(!_t)throw $(Ge);return _t}))}_extractIconWithNameFromAnySet(Ge,tt){for(let Ct=tt.length-1;Ct>=0;Ct--){const Nt=tt[Ct];if(Nt.svgText&&Nt.svgText.toString().indexOf(Ge)>-1){const _t=this._svgElementFromConfig(Nt),Bt=this._extractSvgIconFromSet(_t,Ge,Nt.options);if(Bt)return Bt}}return null}_loadSvgIconFromConfig(Ge){return this._fetchIcon(Ge).pipe((0,v.b)(tt=>Ge.svgText=tt),(0,b.U)(()=>this._svgElementFromConfig(Ge)))}_loadSvgIconSetFromConfig(Ge){return Ge.svgText?(0,r.of)(null):this._fetchIcon(Ge).pipe((0,v.b)(tt=>Ge.svgText=tt))}_extractSvgIconFromSet(Ge,tt,Ct){const Nt=Ge.querySelector(`[id="${tt}"]`);if(!Nt)return null;const _t=Nt.cloneNode(!0);if(_t.removeAttribute("id"),"svg"===_t.nodeName.toLowerCase())return this._setSvgAttributes(_t,Ct);if("symbol"===_t.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(_t),Ct);const Bt=this._svgElementFromString(X(""));return Bt.appendChild(_t),this._setSvgAttributes(Bt,Ct)}_svgElementFromString(Ge){const tt=this._document.createElement("DIV");tt.innerHTML=Ge;const Ct=tt.querySelector("svg");if(!Ct)throw Error(" tag not found");return Ct}_toSvgElement(Ge){const tt=this._svgElementFromString(X("")),Ct=Ge.attributes;for(let Nt=0;NtX(Lt)),(0,_.x)(()=>this._inProgressUrlFetches.delete(_t)),(0,l.B)());return this._inProgressUrlFetches.set(_t,Tt),Tt}_addSvgIconConfig(Ge,tt,Ct){return this._svgIconConfigs.set(H(Ge,tt),Ct),this}_addSvgIconSetConfig(Ge,tt){const Ct=this._iconSetConfigs.get(Ge);return Ct?Ct.push(tt):this._iconSetConfigs.set(Ge,[tt]),this}_svgElementFromConfig(Ge){if(!Ge.svgElement){const tt=this._svgElementFromString(Ge.svgText);this._setSvgAttributes(tt,Ge.options),Ge.svgElement=tt}return Ge.svgElement}_getIconConfigFromResolvers(Ge,tt){for(let Ct=0;CtQe?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(", "),ae=/^url\(['"]?#(.*?)['"]?\)$/;let ve=(()=>{class Ze extends pe{get inline(){return this._inline}set inline(Ge){this._inline=(0,d.Ig)(Ge)}get svgIcon(){return this._svgIcon}set svgIcon(Ge){Ge!==this._svgIcon&&(Ge?this._updateSvgIcon(Ge):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ge)}get fontSet(){return this._fontSet}set fontSet(Ge){const tt=this._cleanupFontValue(Ge);tt!==this._fontSet&&(this._fontSet=tt,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ge){const tt=this._cleanupFontValue(Ge);tt!==this._fontIcon&&(this._fontIcon=tt,this._updateFontIconClasses())}constructor(Ge,tt,Ct,Nt,_t,Bt){super(Ge),this._iconRegistry=tt,this._location=Nt,this._errorHandler=_t,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)),Ct||Ge.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Ge){if(!Ge)return["",""];const tt=Ge.split(":");switch(tt.length){case 1:return["",tt[0]];case 2:return tt;default:throw Error(`Invalid icon name: "${Ge}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ge=this._elementsWithExternalReferences;if(Ge&&Ge.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(Ge){this._clearSvgElement();const tt=this._location.getPathname();this._previousPath=tt,this._cacheChildrenWithExternalReferences(Ge),this._prependPathToReferences(tt),this._elementRef.nativeElement.appendChild(Ge)}_clearSvgElement(){const Ge=this._elementRef.nativeElement;let tt=Ge.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();tt--;){const Ct=Ge.childNodes[tt];(1!==Ct.nodeType||"svg"===Ct.nodeName.toLowerCase())&&Ct.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ge=this._elementRef.nativeElement,tt=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ct=>Ct.length>0);this._previousFontSetClass.forEach(Ct=>Ge.classList.remove(Ct)),tt.forEach(Ct=>Ge.classList.add(Ct)),this._previousFontSetClass=tt,this.fontIcon!==this._previousFontIconClass&&!tt.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ge.classList.remove(this._previousFontIconClass),this.fontIcon&&Ge.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ge){return"string"==typeof Ge?Ge.trim().split(" ")[0]:Ge}_prependPathToReferences(Ge){const tt=this._elementsWithExternalReferences;tt&&tt.forEach((Ct,Nt)=>{Ct.forEach(_t=>{Nt.setAttribute(_t.name,`url('${Ge}#${_t.value}')`)})})}_cacheChildrenWithExternalReferences(Ge){const tt=Ge.querySelectorAll(re),Ct=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Nt=0;Nt{const Bt=tt[Nt],Tt=Bt.getAttribute(_t),Lt=Tt?Tt.match(ae):null;if(Lt){let Le=Ct.get(Bt);Le||(Le=[],Ct.set(Bt,Le)),Le.push({name:_t,value:Lt[1]})}})}_updateSvgIcon(Ge){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ge){const[tt,Ct]=this._splitIconName(Ge);tt&&(this._svgNamespace=tt),Ct&&(this._svgName=Ct),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ct,tt).pipe((0,y.q)(1)).subscribe(Nt=>this._setSvgElement(Nt),Nt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${tt}:${Ct}! ${Nt.message}`))})}}}return Ze.\u0275fac=function(Ge){return new(Ge||Ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Ce),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(Ge,tt){2&Ge&&(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(Ge,tt){1&Ge&&(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(Ge){return new(Ge||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),f=a(3680),h=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,f.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,Ce,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,de=Ae.nodeName.toLowerCase();this._inputValueAccessor=A||Ae,this._previousNativeValue=this.value,this.id=this.id,I.IOS&&Ce.runOutsideAngular(()=>{E.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===de,this._isTextarea="textarea"===de,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(f.ErrorStateMatcher),g.\u0275\u0275directiveInject(b,10),g.\u0275\u0275directiveInject(d.Lq),g.\u0275\u0275directiveInject(g.NgZone),g.\u0275\u0275directiveInject(h.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:h.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:()=>Ct,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Nt,MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR:()=>ze,MatLegacyAutocomplete:()=>lt,MatLegacyAutocompleteModule:()=>oe,MatLegacyAutocompleteOrigin:()=>N,MatLegacyAutocompleteSelectedEvent:()=>Ee,MatLegacyAutocompleteTrigger:()=>at,getMatLegacyAutocompleteMissingPanelError:()=>Ge});var n=a(5879),c=a(3680),d=a(4678),g=a(6814),r=a(6672),f=a(9594),h=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),Ce=a(9397),Re=a(7547),Ae=a(9388);const de=["panel"];let we=0;class Ee{constructor(ne,K){this.source=ne,this.option=K}}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 ae=(()=>{class Y extends Be{get isOpen(){return this._isOpen&&this.showPanel}_setColor(K){this._color=K,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(K){this._autoActiveFirstOption=(0,u.Ig)(K)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(K){this._autoSelectActiveOption=(0,u.Ig)(K)}set classList(K){this._classList=K&&K.length?(0,u.du)(K).reduce((ce,Te)=>(ce[Te]=!0,ce),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(K,ce,Te,et){super(),this._changeDetectorRef=K,this._elementRef=ce,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=et?.SAFARI||!1,this._autoActiveFirstOption=!!Te.autoActiveFirstOption,this._autoSelectActiveOption=!!Te.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new h.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(K=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[K]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(K){this.panel&&(this.panel.nativeElement.scrollTop=K)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(K){const ce=new Ee(this,K);this.optionSelected.emit(ce)}_getPanelAriaLabelledby(K){return this.ariaLabel?null:this.ariaLabelledby?(K?K+" ":"")+this.ariaLabelledby:K}_setVisibilityClasses(K){K[this._visibleClass]=this.showPanel,K[this._hiddenClass]=!this.showPanel}_setThemeClasses(K){K["mat-primary"]="primary"===this._color,K["mat-warn"]="warn"===this._color,K["mat-accent"]="accent"===this._color}_skipPredicate(K){return K.disabled}}return Y.\u0275fac=function(K){return new(K||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(K,ce){if(1&K&&(n.\u0275\u0275viewQuery(n.TemplateRef,7),n.\u0275\u0275viewQuery(de,5)),2&K){let Te;n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ce.template=Te.first),n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ce.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(K){this.elementRef=K}}return Y.\u0275fac=function(K){return new(K||Y)(n.\u0275\u0275directiveInject(n.ElementRef))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y}),Y})();function Ge(){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 Ct(Y){return()=>Y.scrollStrategies.reposition()}const Nt={provide:tt,deps:[f.aV],useFactory:Ct};let _t=(()=>{class Y{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(K){this._autocompleteDisabled=(0,u.Ig)(K)}constructor(K,ce,Te,et,Dt,_e,ut,Pe,mt,Pt,Ft){this._element=K,this._overlay=ce,this._viewContainerRef=Te,this._zone=et,this._changeDetectorRef=Dt,this._dir=ut,this._formField=Pe,this._document=mt,this._viewportRuler=Pt,this._defaults=Ft,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 Gt=this.autocomplete?this.autocomplete.options:null;return Gt?Gt.changes.pipe((0,$.O)(Gt),(0,ee.w)(()=>(0,y.T)(...Gt.map(Oe=>Oe.onSelectionChange)))):this._zone.onStable.pipe((0,ie.q)(1),(0,ee.w)(()=>this.optionSelections))}),this._handlePanelKeydown=Gt=>{(Gt.keyCode===S.hY&&!(0,S.Vb)(Gt)||Gt.keyCode===S.LH&&(0,S.Vb)(Gt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Gt.stopPropagation(),Gt.preventDefault())},this._trackedModal=null,this._scrollStrategy=_e}ngAfterViewInit(){const K=this._getWindow();typeof K<"u"&&this._zone.runOutsideAngular(()=>K.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(K){K.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const K=this._getWindow();typeof K<"u"&&K.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)(K=>K instanceof c.MatOptionSelectionChange?K: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)(K=>{const ce=(0,v.sA)(K),Te=this._formField?this._formField._elementRef.nativeElement:null,et=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&ce!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Te||!Te.contains(ce))&&(!et||!et.contains(ce))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(ce)}))}writeValue(K){Promise.resolve(null).then(()=>this._assignOptionValue(K))}registerOnChange(K){this._onChange=K}registerOnTouched(K){this._onTouched=K}setDisabledState(K){this._element.nativeElement.disabled=K}_handleKeydown(K){const ce=K.keyCode,Te=(0,S.Vb)(K);if(ce===S.hY&&!Te&&K.preventDefault(),this.activeOption&&ce===S.K5&&this.panelOpen&&!Te)this.activeOption._selectViaInteraction(),this._resetActiveItem(),K.preventDefault();else if(this.autocomplete){const et=this.autocomplete._keyManager.activeItem,Dt=ce===S.LH||ce===S.JH;ce===S.Mf||Dt&&!Te&&this.panelOpen?this.autocomplete._keyManager.onKeydown(K):Dt&&this._canOpen()&&this.openPanel(),(Dt||this.autocomplete._keyManager.activeItem!==et)&&(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(K){let ce=K.target,Te=ce.value;"number"===ce.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===K.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(K=!1){this._formField&&"auto"===this._formField.floatLabel&&(K?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const K=this._zone.onStable.pipe((0,ie.q)(1)),ce=this.autocomplete.options.changes.pipe((0,Ce.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Re.g)(0));return(0,y.T)(K,ce).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(K){const ce=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(K):K;this._updateNativeInputValue(ce??"")}_updateNativeInputValue(K){this._formField?this._formField._control.value=K:this._element.nativeElement.value=K,this._previousValue=K}_setValueAndClose(K){const ce=K?K.source:this._pendingAutoselectedOption;ce&&(this._clearPreviousSelectedOption(ce),this._assignOptionValue(ce.value),this._onChange(ce.value),this.autocomplete._emitSelectEvent(ce),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(K,ce){this.autocomplete&&this.autocomplete.options&&this.autocomplete.options.forEach(Te=>{Te!==K&&Te.selected&&Te.deselect(ce)})}_attachOverlay(){let K=this._overlayRef;K?(this._positionStrategy.setOrigin(this._getConnectedElement()),K.updateSize({width:this._getPanelWidth()})):(this._portal=new E.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),K=this._overlay.create(this._getOverlayConfig()),this._overlayRef=K,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&K&&K.updateSize({width:this._getPanelWidth()})})),K&&!K.hasAttached()&&(K.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const ce=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&ce!==this.panelOpen&&this.autocomplete.opened.emit()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const K=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=K.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=K.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new f.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const K=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(K),this._positionStrategy=K,K}_setStrategyPositions(K){const ce=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Te=this._aboveClass,et=[{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?et:"below"===this.position?ce:[...ce,...et],K.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 K=this.autocomplete;if(K.autoActiveFirstOption){let ce=-1;for(let Te=0;Te .cdk-overlay-container [aria-modal="true"]');if(!K)return;const ce=this.autocomplete.id;this._trackedModal&&(0,h.iD)(this._trackedModal,"aria-owns",ce),(0,h.Zf)(K,"aria-owns",ce),this._trackedModal=K}_clearFromModal(){this._trackedModal&&((0,h.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return Y.\u0275fac=function(K){return new(K||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(f.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 Lt(Y,ne){if(1&Y&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()),2&Y){const K=ne.id,ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ce.id)("ngClass",ce._classList),n.\u0275\u0275attribute("aria-label",ce.ariaLabel||null)("aria-labelledby",ce._getPanelAriaLabelledby(K))}}const Le=["*"];let lt=(()=>{class Y extends ae{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Y.\u0275fac=function(){let ne;return function(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275cmp=n.\u0275\u0275defineComponent({type:Y,selectors:[["mat-autocomplete"]],contentQueries:function(K,ce,Te){if(1&K&&(n.\u0275\u0275contentQuery(Te,c.MAT_OPTGROUP,5),n.\u0275\u0275contentQuery(Te,d.MatLegacyOption,5)),2&K){let et;n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ce.optionGroups=et),n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ce.options=et)}},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(K,ce){1&K&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,Lt,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 _t{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Y.\u0275fac=function(){let ne;return function(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(K,ce){1&K&&n.\u0275\u0275listener("focusin",function(){return ce._handleFocus()})("blur",function(){return ce._onTouched()})("input",function(et){return ce._handleInput(et)})("keydown",function(et){return ce._handleKeydown(et)})("click",function(){return ce._handleClick()}),2&K&&n.\u0275\u0275attribute("autocomplete",ce.autocompleteAttribute)("role",ce.autocompleteDisabled?null:"combobox")("aria-autocomplete",ce.autocompleteDisabled?null:"list")("aria-activedescendant",ce.panelOpen&&ce.activeOption?ce.activeOption.id:null)("aria-expanded",ce.autocompleteDisabled?null:ce.panelOpen.toString())("aria-owns",ce.autocompleteDisabled||!ce.panelOpen||null==ce.autocomplete?null:ce.autocomplete.id)("aria-haspopup",ce.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(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Y})(),oe=(()=>{class Y{}return Y.\u0275fac=function(K){return new(K||Y)},Y.\u0275mod=n.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=n.\u0275\u0275defineInjector({providers:[Nt],imports:[f.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",""]],"*"],f=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],h=[[["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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(Ce,Re){2&Ce&&n.\u0275\u0275classProp("mat-card-actions-align-end","end"===Re.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),A})(),l=(()=>{class A{}return A.\u0275fac=function(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),A})(),X=(()=>{class A{constructor(Ce){this._animationMode=Ce}}return A.\u0275fac=function(Ce){return new(Ce||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(Ce,Re){2&Ce&&n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Re._animationMode)},exportAs:["matCard"],ngContentSelectors:g,decls:2,vars:0,template:function(Ce,Re){1&Ce&&(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(Ce){return new(Ce||A)},A.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:f,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(Ce,Re){1&Ce&&(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(Ce){return new(Ce||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(Ce,Re){1&Ce&&(n.\u0275\u0275projectionDef(h),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(Ce){return new(Ce||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:()=>Ce,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 f=["input"],h=["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(de){this._elementRef=de}}))));let D=(()=>{class de 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 de.\u0275fac=function(W){c.\u0275\u0275invalidFactory()},de.\u0275dir=c.\u0275\u0275defineDirective({type:de,viewQuery:function(W,pe){if(1&W&&(c.\u0275\u0275viewQuery(f,5),c.\u0275\u0275viewQuery(h,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]}),de})();const E={provide:d.NG_VALIDATORS,useExisting:(0,c.forwardRef)(()=>I),multi:!0};let I=(()=>{class de extends d.CheckboxRequiredValidator{}return de.\u0275fac=function(){let H;return function(pe){return(H||(H=c.\u0275\u0275getInheritedFactory(de)))(pe||de)}}(),de.\u0275dir=c.\u0275\u0275defineDirective({type:de,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[c.\u0275\u0275ProvidersFeature([E]),c.\u0275\u0275InheritDefinitionFeature]}),de})(),X=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=c.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=c.\u0275\u0275defineInjector({}),de})();var ee=a(7131);const ie=function(de){return{enterDuration:de}},A=["*"];class U{}const Ce={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>Re),multi:!0};let Re=(()=>{class de 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 de.\u0275fac=function(W){return new(W||de)(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))},de.\u0275cmp=c.\u0275\u0275defineComponent({type:de,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([Ce]),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}),de})(),Ae=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=c.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=c.\u0275\u0275defineInjector({imports:[g.MatRippleModule,g.MatCommonModule,ee.Q8,X,g.MatCommonModule,X]}),de})()},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 f(_,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 h(_,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,f,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1,2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(4,h,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:()=>Ge,MatLegacyFormFieldControl:()=>r.Eo,MatLegacyFormFieldModule:()=>Nt,MatLegacyHint:()=>Be,MatLegacyLabel:()=>G,MatLegacyPlaceholder:()=>re,MatLegacyPrefix:()=>tt,MatLegacySuffix:()=>Ct,_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),f=a(9388),h=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(_t,Bt){1&_t&&(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(_t,Bt){if(1&_t){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&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("cdkObserveContentDisabled","outline"!=Tt.appearance)}}function X(_t,Bt){if(1&_t&&(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&_t){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(Tt._control.placeholder)}}function $(_t,Bt){1&_t&&d.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function ee(_t,Bt){1&_t&&(d.\u0275\u0275elementStart(0,"span",23),d.\u0275\u0275text(1," *"),d.\u0275\u0275elementEnd())}function ie(_t,Bt){if(1&_t){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&_t){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(_t,Bt){1&_t&&(d.\u0275\u0275elementStart(0,"div",24),d.\u0275\u0275projection(1,4),d.\u0275\u0275elementEnd())}function U(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div",25),d.\u0275\u0275element(1,"span",26),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275classProp("mat-accent","accent"==Tt.color)("mat-warn","warn"==Tt.color)}}function Ce(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div"),d.\u0275\u0275projection(1,5),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState)}}function Re(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div",30),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("id",Tt._hintLabelId),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Tt.hintLabel)}}function Ae(_t,Bt){if(1&_t&&(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&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",Tt.hintLabel)}}const de=["*",[["","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 _t{constructor(Tt,Lt){this.id="mat-error-"+W++,Tt||Lt.nativeElement.setAttribute("aria-live","polite")}}return _t.\u0275fac=function(Tt){return new(Tt||_t)(d.\u0275\u0275injectAttribute("aria-live"),d.\u0275\u0275directiveInject(d.ElementRef))},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(Tt,Lt){2&Tt&&d.\u0275\u0275attribute("id",Lt.id)},inputs:{id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:r.ab,useExisting:_t}])]}),_t})(),we=0;const Ee=new d.InjectionToken("MatHint");let Be=(()=>{class _t{constructor(){this.align="start",this.id="mat-hint-"+we++}}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(Tt,Lt){2&Tt&&(d.\u0275\u0275attribute("id",Lt.id)("align",null),d.\u0275\u0275classProp("mat-form-field-hint-end","end"===Lt.align))},inputs:{align:"align",id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:Ee,useExisting:_t}])]}),_t})(),G=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-label"]]}),_t})(),re=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-placeholder"]]}),_t})(),ae=0;const Ze=(0,g.mixinColor)(class{constructor(_t){this._elementRef=_t}},"primary"),Qe=new d.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ge=(()=>{class _t extends Ze{get appearance(){return this._appearance}set appearance(Tt){const Lt=this._appearance;this._appearance=Tt||this._defaults?.appearance||"legacy","outline"===this._appearance&&Lt!==Tt&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Tt){this._hideRequiredMarker=(0,h.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,Lt,Le,lt,ze,at,N){super(Tt),this._changeDetectorRef=Lt,this._dir=Le,this._defaults=lt,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-"+ae++,this._labelId="mat-form-field-label-"+ae++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==N,this.appearance=lt?.appearance||"legacy",lt&&(this._hideRequiredMarker=!!lt.hideRequiredMarker,lt.color&&(this.color=this.defaultColor=lt.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 Lt=this._control?this._control.ngControl:null;return Lt&&Lt[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 Lt=this._hintChildren?this._hintChildren.find(lt=>"start"===lt.align):null,Le=this._hintChildren?this._hintChildren.find(lt=>"end"===lt.align):null;Lt?Tt.push(Lt.id):this._hintLabel&&Tt.push(this._hintLabelId),Le&&Tt.push(Le.id)}else this._errorChildren&&Tt.push(...this._errorChildren.map(Lt=>Lt.id));this._control.setDescribedByIds(Tt)}}_validateControlChild(){}updateOutlineGap(){const Tt=this._label?this._label.nativeElement:null,Lt=this._connectionContainerRef.nativeElement,Le=".mat-form-field-outline-start",lt=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!Tt||!Tt.children.length||!Tt.textContent.trim()){const Y=Lt.querySelectorAll(`${Le}, ${lt}`);for(let ne=0;ne0?.75*Te+10:0}for(let Y=0;Y{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["","matPrefix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Px,useExisting:_t}])]}),_t})(),Ct=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["","matSuffix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Ve,useExisting:_t}])]}),_t})(),Nt=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275mod=d.\u0275\u0275defineNgModule({type:_t}),_t.\u0275inj=d.\u0275\u0275defineInjector({imports:[c.CommonModule,g.MatCommonModule,n.Q8,g.MatCommonModule]}),_t})()},2400:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_INPUT_VALUE_ACCESSOR:()=>c.Jk,MatLegacyInput:()=>h,MatLegacyInputModule:()=>u,getMatLegacyInputUnsupportedTypeError:()=>c.b7});var n=a(5879),c=a(4516),d=a(1043),g=a(4187),r=a(6263),f=a(3680);let h=(()=>{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:[f.ErrorStateMatcher],imports:[r.Ky,g.MatLegacyFormFieldModule,f.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:()=>de,MAT_LEGACY_MENU_SCROLL_STRATEGY:()=>Nt,MatLegacyMenu:()=>K,MatLegacyMenuContent:()=>et,MatLegacyMenuItem:()=>ce,MatLegacyMenuModule:()=>Dt,MatLegacyMenuTrigger:()=>Te,fadeInLegacyItems:()=>ve,matLegacyMenuAnimations:()=>ae,transformLegacyMenu:()=>He});var n=a(5879),c=a(4300),d=a(2495),g=a(6028),r=a(8645),f=a(3019),h=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(_e,ut){1&_e&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const U=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Ce=["mat-icon, [matMenuItemIcon]","*"],de=new n.InjectionToken("MAT_MENU_PANEL"),H=(0,D.mixinDisableRipple)((0,D.mixinDisabled)(class{}));let W=(()=>{class _e extends H{constructor(Pe,mt,Pt,Ft,Gt){super(),this._elementRef=Pe,this._document=mt,this._focusMonitor=Pt,this._parentMenu=Ft,this._changeDetectorRef=Gt,this.role="menuitem",this._hovered=new r.x,this._focused=new r.x,this._highlighted=!1,this._triggersSubmenu=!1,Ft?.addItem?.(this)}focus(Pe,mt){this._focusMonitor&&Pe?this._focusMonitor.focusVia(this._getHostElement(),Pe,mt):this._getHostElement().focus(mt),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(Pe){this.disabled&&(Pe.preventDefault(),Pe.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Pe=this._elementRef.nativeElement.cloneNode(!0),mt=Pe.querySelectorAll("mat-icon, .material-icons");for(let Pt=0;Pt{class _e{constructor(Pe,mt,Pt,Ft,Gt,Oe,Ke){this._template=Pe,this._componentFactoryResolver=mt,this._appRef=Pt,this._injector=Ft,this._viewContainerRef=Gt,this._document=Oe,this._changeDetectorRef=Ke,this._attached=new r.x}attach(Pe={}){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 mt=this._template.elementRef.nativeElement;mt.parentNode.insertBefore(this._outlet.outletElement,mt),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,Pe),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(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))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e}),_e})();const ae={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)")])])},ve=ae.fadeInItems,He=ae.transformMenu;let Ze=0;const Qe=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function Ge(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let tt=(()=>{class _e{get xPosition(){return this._xPosition}set xPosition(Pe){this._xPosition=Pe,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Pe){this._yPosition=Pe,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Pe){this._overlapTrigger=(0,d.Ig)(Pe)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Pe){this._hasBackdrop=(0,d.Ig)(Pe)}set panelClass(Pe){const mt=this._previousPanelClass;mt&&mt.length&&mt.split(" ").forEach(Pt=>{this._classList[Pt]=!1}),this._previousPanelClass=Pe,Pe&&Pe.length&&(Pe.split(" ").forEach(Pt=>{this._classList[Pt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Pe){this.panelClass=Pe}constructor(Pe,mt,Pt,Ft){this._elementRef=Pe,this._ngZone=mt,this._changeDetectorRef=Ft,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=Pt.overlayPanelClass||"",this._xPosition=Pt.xPosition,this._yPosition=Pt.yPosition,this.backdropClass=Pt.backdropClass,this._overlapTrigger=Pt.overlapTrigger,this._hasBackdrop=Pt.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)(Pe=>(0,f.T)(...Pe.map(mt=>mt._focused)))).subscribe(Pe=>this._keyManager.updateActiveItem(Pe)),this._directDescendantItems.changes.subscribe(Pe=>{const mt=this._keyManager;if("enter"===this._panelAnimationState&&mt.activeItem?._hasFocus()){const Pt=Pe.toArray(),Ft=Math.max(0,Math.min(Pt.length-1,mt.activeItemIndex||0));Pt[Ft]&&!Pt[Ft].disabled?mt.setActiveItem(Ft):mt.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)(mt=>(0,f.T)(...mt.map(Pt=>Pt._hovered))))}addItem(Pe){}removeItem(Pe){}_handleKeydown(Pe){const mt=Pe.keyCode,Pt=this._keyManager;switch(mt){case g.hY:(0,g.Vb)(Pe)||(Pe.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(mt===g.LH||mt===g.JH)&&Pt.setFocusOrigin("keyboard"),void Pt.onKeydown(Pe)}Pe.stopPropagation()}focusFirstItem(Pe="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(()=>{let mt=null;if(this._directDescendantItems.length&&(mt=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!mt||!mt.contains(document.activeElement)){const Pt=this._keyManager;Pt.setFocusOrigin(Pe).setFirstItemActive(),!Pt.activeItem&&mt&&mt.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Pe){const mt=Math.min(this._baseElevation+Pe,24),Pt=`${this._elevationPrefix}${mt}`,Ft=Object.keys(this._classList).find(Gt=>Gt.startsWith(this._elevationPrefix));(!Ft||Ft===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Pt]=!0,this._previousElevation=Pt)}setPositionClasses(Pe=this.xPosition,mt=this.yPosition){const Pt=this._classList;Pt["mat-menu-before"]="before"===Pe,Pt["mat-menu-after"]="after"===Pe,Pt["mat-menu-above"]="above"===mt,Pt["mat-menu-below"]="below"===mt,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Pe){this._animationDone.next(Pe),this._isAnimating=!1}_onAnimationStart(Pe){this._isAnimating=!0,"enter"===Pe.toState&&0===this._keyManager.activeItemIndex&&(Pe.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,b.O)(this._allItems)).subscribe(Pe=>{this._directDescendantItems.reset(Pe.filter(mt=>mt._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,contentQueries:function(Pe,mt,Pt){if(1&Pe&&(n.\u0275\u0275contentQuery(Pt,Be,5),n.\u0275\u0275contentQuery(Pt,W,5),n.\u0275\u0275contentQuery(Pt,W,4)),2&Pe){let Ft;n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt.lazyContent=Ft.first),n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt._allItems=Ft),n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt.items=Ft)}},viewQuery:function(Pe,mt){if(1&Pe&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&Pe){let Pt;n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(mt.templateRef=Pt.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"}}),_e})();const Nt=new n.InjectionToken("mat-menu-scroll-strategy"),Bt={provide:Nt,deps:[$.aV],useFactory:function _t(_e){return()=>_e.scrollStrategies.reposition()}},Tt=(0,ee.i$)({passive:!0});let Le=(()=>{class _e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Pe){this.menu=Pe}get menu(){return this._menu}set menu(Pe){Pe!==this._menu&&(this._menu=Pe,this._menuCloseSubscription.unsubscribe(),Pe&&(this._menuCloseSubscription=Pe.close.subscribe(mt=>{this._destroyMenu(mt),("click"===mt||"tab"===mt)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(mt)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Pe,mt,Pt,Ft,Gt,Oe,Ke,he,ge){this._overlay=Pe,this._element=mt,this._viewContainerRef=Pt,this._menuItemInstance=Oe,this._dir=Ke,this._focusMonitor=he,this._ngZone=ge,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=h.w0.EMPTY,this._hoverSubscription=h.w0.EMPTY,this._menuCloseSubscription=h.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=ct=>{(0,c.yG)(ct)||(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=Ft,this._parentMaterialMenu=Gt instanceof tt?Gt:void 0,mt.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 Pe=this.menu;if(this._menuOpen||!Pe)return;const mt=this._createOverlay(Pe),Pt=mt.getConfig(),Ft=Pt.positionStrategy;this._setPosition(Pe,Ft),Pt.hasBackdrop=null==Pe.hasBackdrop?!this.triggersSubmenu():Pe.hasBackdrop,mt.attach(this._getPortal(Pe)),Pe.lazyContent&&Pe.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Pe),Pe instanceof tt&&(Pe._startAnimation(),Pe._directDescendantItems.changes.pipe((0,l.R)(Pe.close)).subscribe(()=>{Ft.withLockedPosition(!1).reapplyLastPosition(),Ft.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Pe,mt){this._focusMonitor&&Pe?this._focusMonitor.focusVia(this._element,Pe,mt):this._element.nativeElement.focus(mt)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Pe){if(!this._overlayRef||!this.menuOpen)return;const mt=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Pe||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,mt instanceof tt?(mt._resetAnimation(),mt.lazyContent?mt._animationDone.pipe((0,y.h)(Pt=>"void"===Pt.toState),(0,_.q)(1),(0,l.R)(mt.lazyContent._attached)).subscribe({next:()=>mt.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),mt?.lazyContent?.detach())}_initMenu(Pe){Pe.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Pe.direction=this.dir,this._setMenuElevation(Pe),Pe.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Pe){if(Pe.setElevation){let mt=0,Pt=Pe.parentMenu;for(;Pt;)mt++,Pt=Pt.parentMenu;Pe.setElevation(mt)}}_setIsMenuOpen(Pe){Pe!==this._menuOpen&&(this._menuOpen=Pe,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Pe),this._changeDetectorRef.markForCheck())}_createOverlay(Pe){if(!this._overlayRef){const mt=this._getOverlayConfig(Pe);this._subscribeToPositions(Pe,mt.positionStrategy),this._overlayRef=this._overlay.create(mt),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Pe){return new $.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Pe.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Pe.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Pe,mt){Pe.setPositionClasses&&mt.positionChanges.subscribe(Pt=>{const Ft="start"===Pt.connectionPair.overlayX?"after":"before",Gt="top"===Pt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Pe.setPositionClasses(Ft,Gt)):Pe.setPositionClasses(Ft,Gt)})}_setPosition(Pe,mt){let[Pt,Ft]="before"===Pe.xPosition?["end","start"]:["start","end"],[Gt,Oe]="above"===Pe.yPosition?["bottom","top"]:["top","bottom"],[Ke,he]=[Gt,Oe],[ge,ct]=[Pt,Ft],Me=0;if(this.triggersSubmenu()){if(ct=Pt="before"===Pe.xPosition?"start":"end",Ft=ge="end"===Pt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ye=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ye?Ye._getHostElement().offsetTop:0}Me="bottom"===Gt?this._parentInnerPadding:-this._parentInnerPadding}}else Pe.overlapTrigger||(Ke="top"===Gt?"bottom":"top",he="top"===Oe?"bottom":"top");mt.withPositions([{originX:Pt,originY:Ke,overlayX:ge,overlayY:Gt,offsetY:Me},{originX:Ft,originY:Ke,overlayX:ct,overlayY:Gt,offsetY:Me},{originX:Pt,originY:he,overlayX:ge,overlayY:Oe,offsetY:-Me},{originX:Ft,originY:he,overlayX:ct,overlayY:Oe,offsetY:-Me}])}_menuClosingActions(){const Pe=this._overlayRef.backdropClick(),mt=this._overlayRef.detachments(),Pt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,u.of)(),Ft=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,y.h)(Gt=>Gt!==this._menuItemInstance),(0,y.h)(()=>this._menuOpen)):(0,u.of)();return(0,f.T)(Pe,Pt,Ft,mt)}_handleMousedown(Pe){(0,c.X6)(Pe)||(this._openedBy=0===Pe.button?"mouse":void 0,this.triggersSubmenu()&&Pe.preventDefault())}_handleKeydown(Pe){const mt=Pe.keyCode;(mt===g.K5||mt===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(mt===g.SV&&"ltr"===this.dir||mt===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Pe){this.triggersSubmenu()?(Pe.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,y.h)(Pe=>Pe===this._menuItemInstance&&!Pe.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(Pe){return(!this._portal||this._portal.templateRef!==Pe.templateRef)&&(this._portal=new E.UE(Pe.templateRef,this._viewContainerRef)),this._portal}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject($.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Nt),n.\u0275\u0275directiveInject(de,8),n.\u0275\u0275directiveInject(W,10),n.\u0275\u0275directiveInject(X.Is,8),n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(n.NgZone))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,hostVars:3,hostBindings:function(Pe,mt){1&Pe&&n.\u0275\u0275listener("click",function(Ft){return mt._handleClick(Ft)})("mousedown",function(Ft){return mt._handleMousedown(Ft)})("keydown",function(Ft){return mt._handleKeydown(Ft)}),2&Pe&&n.\u0275\u0275attribute("aria-haspopup",mt.menu?"menu":null)("aria-expanded",mt.menuOpen)("aria-controls",mt.menuOpen?mt.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"}}),_e})();var at=a(6672);function N(_e,ut){if(1&_e){const Pe=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._handleKeydown(Pt))})("click",function(){n.\u0275\u0275restoreView(Pe);const Pt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Pt.closed.emit("click"))})("@transformMenu.start",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._onAnimationStart(Pt))})("@transformMenu.done",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._onAnimationDone(Pt))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&_e){const Pe=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",Pe.panelId)("ngClass",Pe._classList)("@transformMenu",Pe._panelAnimationState),n.\u0275\u0275attribute("aria-label",Pe.ariaLabel||null)("aria-labelledby",Pe.ariaLabelledby||null)("aria-describedby",Pe.ariaDescribedby||null)}}const oe=["*"],Y=["mat-menu-item",""];function ne(_e,ut){1&_e&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",2),n.\u0275\u0275element(1,"polygon",3),n.\u0275\u0275elementEnd())}let K=(()=>{class _e extends tt{constructor(Pe,mt,Pt,Ft){super(Pe,mt,Pt,Ft),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:4,hostBindings:function(Pe,mt){2&Pe&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null)},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:de,useExisting:_e}]),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(Pe,mt){1&Pe&&(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:[ae.transformMenu,ae.fadeInItems]},changeDetection:0}),_e})(),ce=(()=>{class _e extends W{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(Pe,mt){2&Pe&&(n.\u0275\u0275attribute("role",mt.role)("tabindex",mt._getTabIndex())("aria-disabled",mt.disabled.toString())("disabled",mt.disabled||null),n.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",mt._highlighted)("mat-menu-item-submenu-trigger",mt._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:_e}]),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(Pe,mt){1&Pe&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275element(1,"div",0),n.\u0275\u0275template(2,ne,2,0,"svg",1)),2&Pe&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleDisabled",mt.disableRipple||mt.disabled)("matRippleTrigger",mt._getHostElement()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",mt._triggersSubmenu))},dependencies:[S.NgIf,D.MatRipple],encapsulation:2,changeDetection:0}),_e})(),Te=(()=>{class _e extends Le{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[n.\u0275\u0275InheritDefinitionFeature]}),_e})(),et=(()=>{class _e extends G{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Be,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]}),_e})(),Dt=(()=>{class _e{}return _e.\u0275fac=function(Pe){return new(Pe||_e)},_e.\u0275mod=n.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=n.\u0275\u0275defineInjector({providers:[Bt],imports:[S.CommonModule,D.MatCommonModule,D.MatRippleModule,$.U8,at.ZD,D.MatCommonModule]}),_e})()},9559:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{LegacyPageEvent:()=>oe,MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS:()=>Oe,MAT_LEGACY_PAGINATOR_INTL_PROVIDER:()=>at,MAT_LEGACY_PAGINATOR_INTL_PROVIDER_FACTORY:()=>ze,MatLegacyPaginator:()=>Ke,MatLegacyPaginatorIntl:()=>lt,MatLegacyPaginatorModule:()=>he,_MatLegacyPaginatorBase:()=>K});var n=a(6814),c=a(5879),d=a(3680),g=a(4505),r=a(1798),f=a(9594),h=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:[f.aV],useFactory:function ie(ge){return()=>ge.scrollStrategies.reposition({scrollThrottle:20})}},Ce=new c.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function U(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Ae="tooltip-panel",de=(0,p.i$)({passive:!0});let Be=(()=>{class ge{get position(){return this._position}set position(Me){Me!==this._position&&(this._position=Me,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Me){this._positionAtOrigin=(0,y.Ig)(Me),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Me){this._disabled=(0,y.Ig)(Me),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(Me){this._showDelay=(0,y.su)(Me)}get hideDelay(){return this._hideDelay}set hideDelay(Me){this._hideDelay=(0,y.su)(Me),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(Me){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=Me?String(Me).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(Me){this._tooltipClass=Me,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve){this._overlay=Me,this._elementRef=Ye,this._scrollDispatcher=De,this._viewContainerRef=F,this._ngZone=V,this._platform=Q,this._ariaDescriber=be,this._focusMonitor=dt,this._dir=qe,this._defaultOptions=nt,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=Rt,this._document=Ve,nt&&(this._showDelay=nt.showDelay,this._hideDelay=nt.hideDelay,nt.position&&(this.position=nt.position),nt.positionAtOrigin&&(this.positionAtOrigin=nt.positionAtOrigin),nt.touchGestures&&(this.touchGestures=nt.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(Me=>{Me?"keyboard"===Me&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Me=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Ye,De])=>{Me.removeEventListener(Ye,De,de)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Me,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Me)}show(Me=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(Me)}hide(Me=this.hideDelay){const Ye=this._tooltipInstance;Ye&&(Ye.isVisible()?Ye.hide(Me):(Ye._cancelPendingAnimations(),this._detach()))}toggle(Me){this._isTooltipVisible()?this.hide():this.show(void 0,Me)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Me){if(this._overlayRef){const F=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!Me)&&F._origin instanceof c.ElementRef)return this._overlayRef;this._detach()}const Ye=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),De=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&Me||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(Me){const Ye=Me.getConfig().positionStrategy,De=this._getOrigin(),F=this._getOverlayPosition();Ye.withPositions([this._addOffset({...De.main,...F.main}),this._addOffset({...De.fallback,...F.fallback})])}_addOffset(Me){return Me}_getOrigin(){const Me=!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&&Me||"right"==Ye&&!Me?De={originX:"start",originY:"center"}:("after"==Ye||"right"==Ye&&Me||"left"==Ye&&!Me)&&(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 Me=!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&&Me||"right"==Ye&&!Me?De={overlayX:"end",overlayY:"center"}:("after"==Ye||"right"==Ye&&Me||"left"==Ye&&!Me)&&(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(Me){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Me,this._tooltipInstance._markForCheck())}_invertPosition(Me,Ye){return"above"===this.position||"below"===this.position?"top"===Ye?Ye="bottom":"bottom"===Ye&&(Ye="top"):"end"===Me?Me="start":"start"===Me&&(Me="end"),{x:Me,y:Ye}}_updateCurrentPositionClass(Me){const{overlayY:Ye,originX:De,originY:F}=Me;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 Q=this._overlayRef;if(Q){const be=`${this._cssClassPrefix}-${Ae}-`;Q.removePanelClass(be+this._currentPosition),Q.addPanelClass(be+V)}this._currentPosition=V}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",Me=>{let Ye;this._setupPointerExitEventsIfNeeded(),void 0!==Me.x&&void 0!==Me.y&&(Ye=Me),this.show(void 0,Ye)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",Me=>{const Ye=Me.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 Me=[];if(this._platformSupportsMouseEvents())Me.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)};Me.push(["touchend",Ye],["touchcancel",Ye])}this._addListeners(Me),this._passiveListeners.push(...Me)}_addListeners(Me){Me.forEach(([Ye,De])=>{this._elementRef.nativeElement.addEventListener(Ye,De,de)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Me){if(this._isTooltipVisible()){const Ye=this._document.elementFromPoint(Me.clientX,Me.clientY),De=this._elementRef.nativeElement;Ye!==De&&!De.contains(Ye)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Me=this.touchGestures;if("off"!==Me){const Ye=this._elementRef.nativeElement,De=Ye.style;("on"===Me||"INPUT"!==Ye.nodeName&&"TEXTAREA"!==Ye.nodeName)&&(De.userSelect=De.msUserSelect=De.webkitUserSelect=De.MozUserSelect="none"),("on"===Me||!Ye.draggable)&&(De.webkitUserDrag="none"),De.touchAction="none",De.webkitTapHighlightColor="transparent"}}}return ge.\u0275fac=function(Me){c.\u0275\u0275invalidFactory()},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,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"]}}),ge})(),re=(()=>{class ge{constructor(Me,Ye){this._changeDetectorRef=Me,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new S.x,this._animationsDisabled="NoopAnimations"===Ye}show(Me){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Me)}hide(Me){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Me)}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:Me}){(!Me||!this._triggerElement.contains(Me))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:Me}){(Me===this._showAnimation||Me===this._hideAnimation)&&this._finalizeAnimation(Me===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Me){Me?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Me){const Ye=this._tooltip.nativeElement,De=this._showAnimation,F=this._hideAnimation;if(Ye.classList.remove(Me?F:De),Ye.classList.add(Me?De:F),this._isVisible=Me,Me&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const V=getComputedStyle(Ye);("0s"===V.getPropertyValue("animation-duration")||"none"===V.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Me&&this._onShow(),this._animationsDisabled&&(Ye.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Me))}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge}),ge})();const Ze=["tooltip"];let Qe=(()=>{class ge extends Be{constructor(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve){super(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve),this._tooltipComponent=Ge}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(f.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(h.$s),c.\u0275\u0275directiveInject(h.tE),c.\u0275\u0275directiveInject(ee),c.\u0275\u0275directiveInject(v.Is,8),c.\u0275\u0275directiveInject(Ce,8),c.\u0275\u0275directiveInject(n.DOCUMENT))},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(Me,Ye){2&Me&&c.\u0275\u0275classProp("mat-tooltip-disabled",Ye.disabled)},exportAs:["matTooltip"],features:[c.\u0275\u0275InheritDefinitionFeature]}),ge})(),Ge=(()=>{class ge extends re{constructor(Me,Ye,De){super(Me,De),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=Ye.observe(b.u3.Handset)}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(b.Yg),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},ge.\u0275cmp=c.\u0275\u0275defineComponent({type:ge,selectors:[["mat-tooltip-component"]],viewQuery:function(Me,Ye){if(1&Me&&c.\u0275\u0275viewQuery(Ze,7),2&Me){let De;c.\u0275\u0275queryRefresh(De=c.\u0275\u0275loadQuery())&&(Ye._tooltip=De.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(Me,Ye){1&Me&&c.\u0275\u0275listener("mouseleave",function(F){return Ye._handleMouseLeave(F)}),2&Me&&(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(Me,Ye){if(1&Me&&(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&Me){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}),ge})(),tt=(()=>{class ge{}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275mod=c.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=c.\u0275\u0275defineInjector({providers:[A],imports:[h.rt,n.CommonModule,f.U8,d.MatCommonModule,d.MatCommonModule,u.ZD]}),ge})(),lt=(()=>{class ge{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=(Me,Ye,De)=>{if(0==De||0==Ye)return`0 of ${De}`;const F=Me*Ye;return`${F+1} \u2013 ${F<(De=Math.max(De,0))?Math.min(F+Ye,De):F+Ye} of ${De}`}}}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275prov=c.\u0275\u0275defineInjectable({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();function ze(ge){return ge||new lt}const at={provide:lt,deps:[[new c.Optional,new c.SkipSelf,lt]],useFactory:ze};class oe{}const ne=(0,d.mixinDisabled)((0,d.mixinInitialized)(class{}));let K=(()=>{class ge extends ne{get pageIndex(){return this._pageIndex}set pageIndex(Me){this._pageIndex=Math.max((0,y.su)(Me),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Me){this._length=(0,y.su)(Me),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Me){this._pageSize=Math.max((0,y.su)(Me),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Me){this._pageSizeOptions=(Me||[]).map(Ye=>(0,y.su)(Ye)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Me){this._hidePageSize=(0,y.Ig)(Me)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Me){this._showFirstLastButtons=(0,y.Ig)(Me)}constructor(Me,Ye,De){if(super(),this._intl=Me,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=Me.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),De){const{pageSize:F,pageSizeOptions:V,hidePageSize:Q,showFirstLastButtons:be}=De;null!=F&&(this._pageSize=F),null!=V&&(this._pageSizeOptions=V),null!=Q&&(this._hidePageSize=Q),null!=be&&(this._showFirstLastButtons=be)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Me=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Me)}previousPage(){if(!this.hasPreviousPage())return;const Me=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Me)}firstPage(){if(!this.hasPreviousPage())return;const Me=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Me)}lastPage(){if(!this.hasNextPage())return;const Me=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Me)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Me=this.getNumberOfPages()-1;return this.pageIndexMe-Ye),this._changeDetectorRef.markForCheck())}_emitPageEvent(Me){this.page.emit({previousPageIndex:Me,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return ge.\u0275fac=function(Me){c.\u0275\u0275invalidFactory()},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[c.\u0275\u0275InheritDefinitionFeature]}),ge})();var Dt=a(4187),_e=a(4678);function ut(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"mat-option",19),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&ge){const Me=ct.$implicit;c.\u0275\u0275property("value",Me),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate1(" ",Me," ")}}function Pe(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),c.\u0275\u0275listener("selectionChange",function(De){c.\u0275\u0275restoreView(Me);const F=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(F._changePageSize(De.value))}),c.\u0275\u0275template(2,ut,2,2,"mat-option",18),c.\u0275\u0275elementEnd()()}if(2&ge){const Me=c.\u0275\u0275nextContext(2);c.\u0275\u0275property("appearance",Me._formFieldAppearance)("color",Me.color),c.\u0275\u0275advance(1),c.\u0275\u0275property("value",Me.pageSize)("disabled",Me.disabled)("panelClass",Me.selectConfig.panelClass||"")("disableOptionCentering",Me.selectConfig.disableOptionCentering)("aria-label",Me._intl.itemsPerPageLabel),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngForOf",Me._displayedPageSizeOptions)}}function mt(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"div",20),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&ge){const Me=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(Me.pageSize)}}function Pt(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"div",12)(1,"div",13),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(3,Pe,3,8,"mat-form-field",14),c.\u0275\u0275template(4,mt,2,1,"div",15),c.\u0275\u0275elementEnd()),2&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate1(" ",Me._intl.itemsPerPageLabel," "),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Me._displayedPageSizeOptions.length>1),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Me._displayedPageSizeOptions.length<=1)}}function Ft(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"button",21),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(Me);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&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",Me._intl.firstPageLabel)("matTooltipDisabled",Me._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Me._previousButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Me._intl.firstPageLabel)}}function Gt(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275namespaceSVG(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(0,"button",23),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(Me);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&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",Me._intl.lastPageLabel)("matTooltipDisabled",Me._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Me._nextButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Me._intl.lastPageLabel)}}const Oe=new c.InjectionToken("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS");let Ke=(()=>{class ge extends K{constructor(Me,Ye,De){super(Me,Ye,De),De&&null!=De.formFieldAppearance&&(this._formFieldAppearance=De.formFieldAppearance)}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(lt),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(Oe,8))},ge.\u0275cmp=c.\u0275\u0275defineComponent({type:ge,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(Me,Ye){1&Me&&(c.\u0275\u0275elementStart(0,"div",0)(1,"div",1),c.\u0275\u0275template(2,Pt,5,3,"div",2),c.\u0275\u0275elementStart(3,"div",3)(4,"div",4),c.\u0275\u0275text(5),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(6,Ft,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,Gt,3,5,"button",11),c.\u0275\u0275elementEnd()()()),2&Me&&(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,_e.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}),ge})(),he=(()=>{class ge{}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275mod=c.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=c.\u0275\u0275defineInjector({providers:[at],imports:[n.CommonModule,g.MatLegacyButtonModule,r.MatLegacySelectModule,tt,d.MatCommonModule]}),ge})()},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:()=>Ce});var n=a(2495),c=a(2831),d=a(6672),g=a(6814),r=a(5879),f=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 de=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+de._spinnerAnimationLabel)("stroke-dashoffset",de._getStrokeDashOffset(),"px")("stroke-dasharray",de._getStrokeCircumference(),"px")("stroke-width",de._getCircleStrokeWidth(),"%")("transform-origin",de._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",de._getCircleRadius())}}function I(Re,Ae){if(1&Re&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275element(0,"circle",4)),2&Re){const de=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("stroke-dashoffset",de._getStrokeDashOffset(),"px")("stroke-dasharray",de._getStrokeCircumference(),"px")("stroke-width",de._getCircleStrokeWidth(),"%")("transform-origin",de._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",de._getCircleRadius())}}const ee=(0,f.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,de,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)),de.isBrowser&&de.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 de=50*(Ae.currentScale??1);return`${de}% ${de}%`}_attachStyleNode(){const Ae=this._styleRoot,de=this._diameter,H=A._diameters;let W=H.get(Ae);if(!W||!W.has(de)){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(de)}}_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,de){2&Ae&&(r.\u0275\u0275attribute("aria-valuemin","determinate"===de.mode?0:null)("aria-valuemax","determinate"===de.mode?100:null)("aria-valuenow","determinate"===de.mode?de.value:null)("mode",de.mode),r.\u0275\u0275styleProp("width",de.diameter,"px")("height",de.diameter,"px"),r.\u0275\u0275classProp("_mat-animation-noopable",de._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,de){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",de.diameter,"px")("height",de.diameter,"px"),r.\u0275\u0275property("ngSwitch","indeterminate"===de.mode),r.\u0275\u0275attribute("viewBox",de._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(de){return new(de||Re)},Re.\u0275mod=r.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=r.\u0275\u0275defineInjector({imports:[f.MatCommonModule,g.CommonModule,f.MatCommonModule]}),Re})();const Ce=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:()=>Ce,MatLegacyRadioChange:()=>b,MatLegacyRadioGroup:()=>U,MatLegacyRadioModule:()=>Re});var n=a(5879),c=a(3680),d=a(4300),g=a(8337),r=a(6223),f=a(2495);const h=["input"];let v=0;class b{constructor(de,H){this.source=de,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,f.Ig)(H),this._markRadiosForCheck()}get required(){return this._required}set required(H){this._required=(0,f.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(de){this._elementRef=de}}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,f.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,f.Ig)(H))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(H){this._required=(0,f.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,f.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(h,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 de;return function(W){return(de||(de=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,Ce,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})(),Ce=(()=>{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:()=>Ge,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Ze,MAT_LEGACY_SELECT_TRIGGER:()=>tt,MatLegacySelect:()=>mt,MatLegacySelectChange:()=>ut,MatLegacySelectModule:()=>Pt,MatLegacySelectTrigger:()=>Pe,matLegacySelectAnimations:()=>ne});var n=a(9594),c=a(6814),d=a(5879),g=a(3680),r=a(4678),f=a(1043),h=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 Ce=["trigger"],Re=["panel"];let ve=0;const He=new d.InjectionToken("mat-select-scroll-strategy");function Ze(Ft){return()=>Ft.scrollStrategies.reposition()}const Qe=new d.InjectionToken("MAT_SELECT_CONFIG"),Ge={provide:He,deps:[n.aV],useFactory:Ze},tt=new d.InjectionToken("MatSelectTrigger"),Nt=(0,g.mixinDisableRipple)((0,g.mixinTabIndex)((0,g.mixinDisabled)((0,g.mixinErrorState)(class{constructor(Ft,Gt,Oe,Ke,he){this._elementRef=Ft,this._defaultErrorStateMatcher=Gt,this._parentForm=Oe,this._parentFormGroup=Ke,this.ngControl=he,this.stateChanges=new x.x}}))));let _t=(()=>{class Ft extends Nt{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Oe){this._placeholder=Oe,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(y.Validators.required)??!1}set required(Oe){this._required=(0,p.Ig)(Oe),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Oe){this._multiple=(0,p.Ig)(Oe)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Oe){this._disableOptionCentering=(0,p.Ig)(Oe)}get compareWith(){return this._compareWith}set compareWith(Oe){this._compareWith=Oe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Oe){this._assignValue(Oe)&&this._onChange(Oe)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Oe){this._typeaheadDebounceInterval=(0,p.su)(Oe)}get id(){return this._id}set id(Oe){this._id=Oe||this._uid,this.stateChanges.next()}constructor(Oe,Ke,he,ge,ct,Me,Ye,De,F,V,Q,be,dt,Rt){super(ct,ge,Ye,De,V),this._viewportRuler=Oe,this._changeDetectorRef=Ke,this._ngZone=he,this._dir=Me,this._parentFormField=F,this._liveAnnouncer=dt,this._defaultOptions=Rt,this._panelOpen=!1,this._compareWith=(qe,nt)=>qe===nt,this._uid="mat-select-"+ve++,this._triggerAriaLabelledBy=null,this._destroy=new x.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ve++,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(nt=>nt.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!=Rt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Rt.typeaheadDebounceInterval),this._scrollStrategyFactory=be,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Q)||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(Oe=>{Oe.added.forEach(Ke=>Ke.select()),Oe.removed.forEach(Ke=>Ke.deselect())}),this.options.changes.pipe((0,E.O)(null),(0,A.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Oe=this._getTriggerAriaLabelledby(),Ke=this.ngControl;if(Oe!==this._triggerAriaLabelledBy){const he=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Oe,Oe?he.setAttribute("aria-labelledby",Oe):he.removeAttribute("aria-labelledby")}Ke&&(this._previousControl!==Ke.control&&(void 0!==this._previousControl&&null!==Ke.disabled&&Ke.disabled!==this.disabled&&(this.disabled=Ke.disabled),this._previousControl=Ke.control),this.updateErrorState())}ngOnChanges(Oe){(Oe.disabled||Oe.userAriaDescribedBy)&&this.stateChanges.next(),Oe.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 Oe=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Oe)return;const Ke=`${this.id}-panel`;this._trackedModal&&(0,v.iD)(this._trackedModal,"aria-owns",Ke),(0,v.Zf)(Oe,"aria-owns",Ke),this._trackedModal=Oe}_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(Oe){this._assignValue(Oe)}registerOnChange(Oe){this._onChange=Oe}registerOnTouched(Oe){this._onTouched=Oe}setDisabledState(Oe){this.disabled=Oe,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 Oe=this._selectionModel.selected.map(Ke=>Ke.viewValue);return this._isRtl()&&Oe.reverse(),Oe.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Oe){this.disabled||(this.panelOpen?this._handleOpenKeydown(Oe):this._handleClosedKeydown(Oe))}_handleClosedKeydown(Oe){const Ke=Oe.keyCode,he=Ke===l.JH||Ke===l.LH||Ke===l.oh||Ke===l.SV,ge=Ke===l.K5||Ke===l.L_,ct=this._keyManager;if(!ct.isTyping()&&ge&&!(0,l.Vb)(Oe)||(this.multiple||Oe.altKey)&&he)Oe.preventDefault(),this.open();else if(!this.multiple){const Me=this.selected;ct.onKeydown(Oe);const Ye=this.selected;Ye&&Me!==Ye&&this._liveAnnouncer.announce(Ye.viewValue,1e4)}}_handleOpenKeydown(Oe){const Ke=this._keyManager,he=Oe.keyCode,ge=he===l.JH||he===l.LH,ct=Ke.isTyping();if(ge&&Oe.altKey)Oe.preventDefault(),this.close();else if(ct||he!==l.K5&&he!==l.L_||!Ke.activeItem||(0,l.Vb)(Oe))if(!ct&&this._multiple&&he===l.A&&Oe.ctrlKey){Oe.preventDefault();const Me=this.options.some(Ye=>!Ye.disabled&&!Ye.selected);this.options.forEach(Ye=>{Ye.disabled||(Me?Ye.select():Ye.deselect())})}else{const Me=Ke.activeItemIndex;Ke.onKeydown(Oe),this._multiple&&ge&&Oe.shiftKey&&Ke.activeItem&&Ke.activeItemIndex!==Me&&Ke.activeItem._selectViaInteraction()}else Oe.preventDefault(),Ke.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(Oe){if(this.options.forEach(Ke=>Ke.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Oe)Array.isArray(Oe),Oe.forEach(Ke=>this._selectOptionByValue(Ke)),this._sortValues();else{const Ke=this._selectOptionByValue(Oe);Ke?this._keyManager.updateActiveItem(Ke):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Oe){const Ke=this.options.find(he=>{if(this._selectionModel.isSelected(he))return!1;try{return null!=he.value&&this._compareWith(he.value,Oe)}catch{return!1}});return Ke&&this._selectionModel.select(Ke),Ke}_assignValue(Oe){return!!(Oe!==this._value||this._multiple&&Array.isArray(Oe))&&(this.options&&this._setSelectionByValue(Oe),this._value=Oe,!0)}_skipPredicate(Oe){return Oe.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 Oe=(0,S.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,A.R)(Oe)).subscribe(Ke=>{this._onSelect(Ke.source,Ke.isUserInput),Ke.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,S.T)(...this.options.map(Ke=>Ke._stateChanges)).pipe((0,A.R)(Oe)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Oe,Ke){const he=this._selectionModel.isSelected(Oe);null!=Oe.value||this._multiple?(he!==Oe.selected&&(Oe.selected?this._selectionModel.select(Oe):this._selectionModel.deselect(Oe)),Ke&&this._keyManager.setActiveItem(Oe),this.multiple&&(this._sortValues(),Ke&&this.focus())):(Oe.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Oe.value)),he!==this._selectionModel.isSelected(Oe)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Oe=this.options.toArray();this._selectionModel.sort((Ke,he)=>this.sortComparator?this.sortComparator(Ke,he,Oe):Oe.indexOf(Ke)-Oe.indexOf(he)),this.stateChanges.next()}}_propagateChanges(Oe){let Ke=null;Ke=this.multiple?this.selected.map(he=>he.value):this.selected?this.selected.value:Oe,this._value=Ke,this.valueChange.emit(Ke),this._onChange(Ke),this.selectionChange.emit(this._getChangeEvent(Ke)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Oe=-1;for(let Ke=0;Ke0}focus(Oe){this._elementRef.nativeElement.focus(Oe)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Oe?Oe+" ":"")+this.ariaLabelledby:Oe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();let Ke=(Oe?Oe+" ":"")+this._valueId;return this.ariaLabelledby&&(Ke+=" "+this.ariaLabelledby),Ke}_panelDoneAnimating(Oe){this.openedChange.emit(Oe)}setDescribedByIds(Oe){Oe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Oe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)(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(f.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))},Ft.\u0275dir=d.\u0275\u0275defineDirective({type:Ft,viewQuery:function(Oe,Ke){if(1&Oe&&(d.\u0275\u0275viewQuery(Ce,5),d.\u0275\u0275viewQuery(Re,5),d.\u0275\u0275viewQuery(n.pI,5)),2&Oe){let he;d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke.trigger=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke.panel=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke._overlayDir=he.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]}),Ft})();function Le(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",8),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Oe.placeholder)}}function lt(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",12),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Oe.triggerValue)}}function ze(Ft,Gt){1&Ft&&d.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function at(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",9),d.\u0275\u0275template(1,lt,2,1,"span",10),d.\u0275\u0275template(2,ze,1,0,"ng-content",11),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("ngSwitch",!!Oe.customTrigger),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngSwitchCase",!0)}}function N(Ft,Gt){if(1&Ft){const Oe=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",13)(1,"div",14,15),d.\u0275\u0275listener("@transformPanel.done",function(he){d.\u0275\u0275restoreView(Oe);const ge=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ge._panelDoneAnimatingStream.next(he.toState))})("keydown",function(he){d.\u0275\u0275restoreView(Oe);const ge=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ge._handleKeydown(he))}),d.\u0275\u0275projection(3,1),d.\u0275\u0275elementEnd()()}if(2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transformPanelWrap",void 0),d.\u0275\u0275advance(1),d.\u0275\u0275classMapInterpolate1("mat-select-panel ",Oe._getPanelTheme(),""),d.\u0275\u0275styleProp("transform-origin",Oe._transformOrigin)("font-size",Oe._triggerFontSize,"px"),d.\u0275\u0275property("ngClass",Oe.panelClass)("@transformPanel",Oe.multiple?"showing-multiple":"showing"),d.\u0275\u0275attribute("id",Oe.id+"-panel")("aria-multiselectable",Oe.multiple)("aria-label",Oe.ariaLabel||null)("aria-labelledby",Oe._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})))])},K=256;class ut{constructor(Gt,Oe){this.source=Gt,this.value=Oe}}let Pe=(()=>{class Ft{}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)},Ft.\u0275dir=d.\u0275\u0275defineDirective({type:Ft,selectors:[["mat-select-trigger"]],features:[d.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:Ft}])]}),Ft})(),mt=(()=>{class Ft extends _t{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(Oe,Ke,he){const ge=this._getItemHeight();return Math.min(Math.max(0,ge*Oe-Ke+ge/2),he)}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(Oe){const Ke=(0,g._countGroupLabelsBeforeOption)(Oe,this.options,this.optionGroups),he=this._getItemHeight();this.panel.nativeElement.scrollTop=0===Oe&&1===Ke?0:(0,g._getOptionScrollPosition)((Oe+Ke)*he,he,this.panel.nativeElement.scrollTop,K)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(Oe){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(Oe)}_getChangeEvent(Oe){return new ut(this,Oe)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){const Oe=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),Ke=this._viewportRuler.getViewportSize(),he=this._isRtl(),ge=this.multiple?56:32;let ct;if(this.multiple)ct=40;else if(this.disableOptionCentering)ct=16;else{let De=this._selectionModel.selected[0]||this.options.first;ct=De&&De.group?32:16}he||(ct*=-1);const Me=0-(Oe.left+ct-(he?ge:0)),Ye=Oe.right+ct-Ke.width+(he?0:ge);Me>0?ct+=Me+8:Ye>0&&(ct-=Ye+8),this._overlayDir.offsetX=Math.round(ct),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(Oe,Ke,he){const ge=this._getItemHeight(),ct=(ge-this._triggerRect.height)/2,Me=Math.floor(K/ge);let Ye;return this.disableOptionCentering?0:(Ye=0===this._scrollTop?Oe*ge:this._scrollTop===he?(Oe-(this._getItemCount()-Me))*ge+(ge-(this._getItemCount()*ge-K)%ge):Ke-ge/2,Math.round(-1*Ye-ct))}_checkOverlayWithinViewport(Oe){const Ke=this._getItemHeight(),he=this._viewportRuler.getViewportSize(),ge=this._triggerRect.top-8,ct=he.height-this._triggerRect.bottom-8,Me=Math.abs(this._offsetY),De=Math.min(this._getItemCount()*Ke,K)-Me-this._triggerRect.height;De>ct?this._adjustPanelUp(De,ct):Me>ge?this._adjustPanelDown(Me,ge,Oe):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(Oe,Ke){const he=Math.round(Oe-Ke);this._scrollTop-=he,this._offsetY-=he,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(Oe,Ke,he){const ge=Math.round(Oe-Ke);if(this._scrollTop+=ge,this._offsetY+=ge,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=he)return this._scrollTop=he,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const Oe=this._getItemHeight(),Ke=this._getItemCount(),he=Math.min(Ke*Oe,K),ct=Ke*Oe-he;let Me;Me=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Me+=(0,g._countGroupLabelsBeforeOption)(Me,this.options,this.optionGroups);const Ye=he/2;this._scrollTop=this._calculateOverlayScroll(Me,Ye,ct),this._offsetY=this._calculateOverlayOffsetY(Me,Ye,ct),this._checkOverlayWithinViewport(ct)}_getOriginBasedOnOption(){const Oe=this._getItemHeight(),Ke=(Oe-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-Ke+Oe/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Ft.\u0275fac=function(){let Gt;return function(Ke){return(Gt||(Gt=d.\u0275\u0275getInheritedFactory(Ft)))(Ke||Ft)}}(),Ft.\u0275cmp=d.\u0275\u0275defineComponent({type:Ft,selectors:[["mat-select"]],contentQueries:function(Oe,Ke,he){if(1&Oe&&(d.\u0275\u0275contentQuery(he,tt,5),d.\u0275\u0275contentQuery(he,r.MatLegacyOption,5),d.\u0275\u0275contentQuery(he,g.MAT_OPTGROUP,5)),2&Oe){let ge;d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.customTrigger=ge.first),d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.options=ge),d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.optionGroups=ge)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(Oe,Ke){1&Oe&&d.\u0275\u0275listener("keydown",function(ge){return Ke._handleKeydown(ge)})("focus",function(){return Ke._onFocus()})("blur",function(){return Ke._onBlur()}),2&Oe&&(d.\u0275\u0275attribute("id",Ke.id)("tabindex",Ke.tabIndex)("aria-controls",Ke.panelOpen?Ke.id+"-panel":null)("aria-expanded",Ke.panelOpen)("aria-label",Ke.ariaLabel||null)("aria-required",Ke.required.toString())("aria-disabled",Ke.disabled.toString())("aria-invalid",Ke.errorState)("aria-activedescendant",Ke._getAriaActiveDescendant()),d.\u0275\u0275classProp("mat-select-disabled",Ke.disabled)("mat-select-invalid",Ke.errorState)("mat-select-required",Ke.required)("mat-select-empty",Ke.empty)("mat-select-multiple",Ke.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[d.\u0275\u0275ProvidersFeature([{provide:f.Eo,useExisting:Ft},{provide:g.MAT_OPTION_PARENT_COMPONENT,useExisting:Ft}]),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(Oe,Ke){if(1&Oe&&(d.\u0275\u0275projectionDef(oe),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275listener("click",function(){return Ke.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 Ke.close()})("attach",function(){return Ke._onAttached()})("detach",function(){return Ke.close()})),2&Oe){const he=d.\u0275\u0275reference(1);d.\u0275\u0275attribute("aria-owns",Ke.panelOpen?Ke.id+"-panel":null),d.\u0275\u0275advance(3),d.\u0275\u0275property("ngSwitch",Ke.empty),d.\u0275\u0275attribute("id",Ke._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",Ke._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Ke._scrollStrategy)("cdkConnectedOverlayOrigin",he)("cdkConnectedOverlayOpen",Ke.panelOpen)("cdkConnectedOverlayPositions",Ke._positions)("cdkConnectedOverlayMinWidth",Ke._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",Ke._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}),Ft})(),Pt=(()=>{class Ft{}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)},Ft.\u0275mod=d.\u0275\u0275defineNgModule({type:Ft}),Ft.\u0275inj=d.\u0275\u0275defineInjector({providers:[Ge],imports:[c.CommonModule,n.U8,r.MatLegacyOptionModule,g.MatCommonModule,u.ZD,h.MatLegacyFormFieldModule,r.MatLegacyOptionModule,g.MatCommonModule]}),Ft})()},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:()=>Ce,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),f=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,f.Ig)(H)}get checked(){return this._checked}set checked(H){this._checked=(0,f.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 de;return function(W){return(de||(de=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)(()=>Ce),multi:!0};class U{constructor(de,H){this.source=de,this.checked=H}}let Ce=(()=>{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:()=>Ce});var n=a(6814),c=a(5879),d=a(3680),g=a(4300),r=a(9388),f=a(2495),h=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(de){this._invert=(0,f.Ig)(de)}get max(){return this._max}set max(de){this._max=(0,f.su)(de,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(de){this._min=(0,f.su)(de,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(de){this._step=(0,f.su)(de,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(de){this._thumbLabel=(0,f.Ig)(de)}get tickInterval(){return this._tickInterval}set tickInterval(de){this._tickInterval="auto"===de?"auto":"number"==typeof de||"string"==typeof de?(0,f.su)(de,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(de){if(de!==this._value){let H=(0,f.su)(de,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(de){this._vertical=(0,f.Ig)(de)}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(de){this._focusHostElement(de)}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 de=this.percent,W=this.vertical?`1, ${de}, 1`:`${de}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${W})`,display:0===de?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let de=100*this._tickIntervalPercent,Ee={backgroundSize:this.vertical?`2px ${de}%`:`${de}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${de/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 de=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?de:!de)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const de=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?de:!de}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}constructor(de,H,W,pe,we,Ee,Be,G){super(de),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 de=0;de{if("pointer"===this._isSliding){const ae=ie(re,this._touchId);if(ae){re.cancelable&&re.preventDefault();const ve=this.value;this._lastPointerEvent=re,this._updateValueFromPosition(ae),ve!=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=de.nativeElement;re.addEventListener("mousedown",this._pointerDown,_),re.addEventListener("touchstart",this._pointerDown,_)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(de=>{this._isActive=!!de&&"keyboard"!==de,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const de=this._elementRef.nativeElement;de.removeEventListener("mousedown",this._pointerDown,_),de.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(de){if(this.disabled||(0,h.Vb)(de)||this._isSliding&&"keyboard"!==this._isSliding)return;const H=this.value;switch(de.keyCode){case h.Ku:this._increment(10);break;case h.VM:this._increment(-10);break;case h.uR:this.value=this.max;break;case h.Sd:this.value=this.min;break;case h.oh:this._increment("rtl"==this._getDirection()?1:-1);break;case h.LH:this._increment(1);break;case h.SV:this._increment("rtl"==this._getDirection()?-1:1);break;case h.JH:this._increment(-1);break;default:return}H!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",de.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(de){const H=this._document,W=ee(de),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 de=this._document;de.removeEventListener("mousemove",this._pointerMove,_),de.removeEventListener("mouseup",this._pointerUp,_),de.removeEventListener("touchmove",this._pointerMove,_),de.removeEventListener("touchend",this._pointerUp,_),de.removeEventListener("touchcancel",this._pointerUp,_);const H=this._getWindow();typeof H<"u"&&H&&H.removeEventListener("blur",this._windowBlur)}_increment(de){const H=this._clamp(this.value||0,this.min,this.max);this.value=this._clamp(H+this.step*de,this.min,this.max)}_updateValueFromPosition(de){if(!this._sliderDimensions)return;let we=this._clamp(((this.vertical?de.y:de.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 de;if("auto"==this.tickInterval){let H=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width;de=Math.ceil(30/(H*this.step/(this.max-this.min)))*this.step/H}else de=this.tickInterval*this.step/(this.max-this.min);this._tickIntervalPercent=$(de)?de:0}_createChangeEvent(de=this.value){let H=new E;return H.source=this,H.value=de,H}_calculatePercentage(de){const H=((de||0)-this.min)/(this.max-this.min);return $(H)?H:0}_calculateValue(de){return this.min+de*(this.max-this.min)}_clamp(de,H=0,W=1){return Math.max(H,Math.min(de,W))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(de){this._elementRef.nativeElement.focus(de)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(de){this.value=de}registerOnChange(de){this._controlValueAccessorChangeFn=de}registerOnTouched(de){this.onTouched=de}setDisabledState(de){this.disabled=de}}return Re.\u0275fac=function(de){return new(de||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(de,H){if(1&de&&c.\u0275\u0275viewQuery(p,5),2&de){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(de,H){1&de&&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&de&&(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(de,H){1&de&&(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&de&&(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 de;return de=ee(Re)?"number"==typeof Ae?A(Re.touches,Ae)||A(Re.changedTouches,Ae):Re.touches[0]||Re.changedTouches[0]:Re,de?{x:de.clientX,y:de.clientY}:void 0}function A(Re,Ae){for(let de=0;de{class Re{}return Re.\u0275fac=function(de){return new(de||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:()=>bt});var n=a(5879),c=a(9388),d=a(2495),g=a(8337),r=a(2831),f=a(6672),h=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 se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",se.headerText," ")}}function E(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const se=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(se,Xe.name)," ")}}function I(O){return class extends O{get sticky(){return this._sticky}set sticky(me){const se=this._sticky;this._sticky=(0,d.Ig)(me),this._hasStickyChanged=se!==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(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellDef",""]]}),O})(),ie=(()=>{class O{constructor(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkHeaderCellDef",""]]}),O})(),A=(()=>{class O{constructor(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkFooterCellDef",""]]}),O})();class U{}const Ce=I(U);let Re=(()=>{class O extends Ce{get name(){return this._name}set name(se){this._setNameInput(se)}get stickyEnd(){return this._stickyEnd}set stickyEnd(se){const Xe=this._stickyEnd;this._stickyEnd=(0,d.Ig)(se),this._hasStickyChanged=Xe!==this._stickyEnd}constructor(se){super(),this._table=se,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(se){se&&(this._name=se,this.cssClassFriendlyName=se.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkColumnDef",""]],contentQueries:function(se,Xe,kt){if(1&se&&(n.\u0275\u0275contentQuery(kt,ee,5),n.\u0275\u0275contentQuery(kt,ie,5),n.\u0275\u0275contentQuery(kt,A,5)),2&se){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,se){se.nativeElement.classList.add(...me._columnCssClassName)}}let de=(()=>{class O extends Ae{constructor(se,Xe){super(se,Xe)}}return O.\u0275fac=function(se){return new(se||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(se,Xe){if(super(se,Xe),1===se._table?._elementRef.nativeElement.nodeType){const kt=se._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===kt||"treegrid"===kt?"gridcell":"cell")}}}return O.\u0275fac=function(se){return new(se||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(se,Xe){if(super(se,Xe),1===se._table?._elementRef.nativeElement.nodeType){const kt=se._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===kt||"treegrid"===kt?"gridcell":"cell")}}}return O.\u0275fac=function(se){return new(se||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(se){this._ngZone=se,this._currentSchedule=null,this._destroyed=new u.x}schedule(se){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(se)}scheduleEnd(se){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(se)}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 se=this._currentSchedule;this._currentSchedule=new pe;for(const Xe of se.tasks)Xe();for(const Xe of se.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(se){return new(se||O)(n.\u0275\u0275inject(n.NgZone))},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})(),G=(()=>{class O{constructor(se,Xe){this.template=se,this._differs=Xe}ngOnChanges(se){if(!this._columnsDiffer){const Xe=se.columns&&se.columns.currentValue||[];this._columnsDiffer=this._differs.find(Xe).create(),this._columnsDiffer.diff(Xe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(se){return this instanceof ve?se.headerCell.template:this instanceof Qe?se.footerCell.template:se.cell.template}}return O.\u0275fac=function(se){return new(se||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 ae=I(re);let ve=(()=>{class O extends ae{constructor(se,Xe,kt){super(se,Xe),this._table=kt}ngOnChanges(se){super.ngOnChanges(se)}}return O.\u0275fac=function(se){return new(se||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(se,Xe,kt){super(se,Xe),this._table=kt}ngOnChanges(se){super.ngOnChanges(se)}}return O.\u0275fac=function(se){return new(se||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})(),Ge=(()=>{class O extends G{constructor(se,Xe,kt){super(se,Xe),this._table=kt}}return O.\u0275fac=function(se){return new(se||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(se){this._viewContainer=se,O.mostRecentCellOutlet=this}ngOnDestroy(){O.mostRecentCellOutlet===this&&(O.mostRecentCellOutlet=null)}}return O.mostRecentCellOutlet=null,O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellOutlet",""]]}),O})(),Ct=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Nt=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),_t=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Bt=(()=>{class O{constructor(se){this.templateRef=se,this._contentClassName="cdk-no-data-row"}}return O.\u0275fac=function(se){return new(se||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 Lt{constructor(me,se,Xe,kt,Wt=!0,un=!0,gn){this._isNativeHtmlTable=me,this._stickCellCss=se,this.direction=Xe,this._coalescedStyleScheduler=kt,this._isBrowser=Wt,this._needsPositionStickyOnElement=un,this._positionListener=gn,this._cachedCellWidths=[],this._borderCellCss={top:`${se}-border-elem-top`,bottom:`${se}-border-elem-bottom`,left:`${se}-border-elem-left`,right:`${se}-border-elem-right`}}clearStickyPositioning(me,se){const Xe=[];for(const kt of me)if(kt.nodeType===kt.ELEMENT_NODE){Xe.push(kt);for(let Wt=0;Wt{for(const kt of Xe)this._removeStickyStyle(kt,se)})}updateStickyColumns(me,se,Xe,kt=!0){if(!me.length||!this._isBrowser||!se.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,kt),pn=this._getStickyStartColumnPositions(gn,se),si=this._getStickyEndColumnPositions(gn,Xe),jn=se.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;fnse[fn]?Gi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Fn?[]:gn.slice(Fn).map((Gi,fn)=>Xe[fn+Fn]?Gi:null).reverse()}))})}stickRows(me,se,Xe){if(!this._isBrowser)return;const kt="bottom"===Xe?me.slice().reverse():me,Wt="bottom"===Xe?se.slice().reverse():se,un=[],gn=[],pn=[];for(let jn=0,Fn=0;jn{for(let jn=0;jn{se.some(kt=>!kt)?this._removeStickyStyle(Xe,["bottom"]):this._addStickyStyle(Xe,"bottom",0,!1)})}_removeStickyStyle(me,se){for(const kt of se)me.style[kt]="",me.classList.remove(this._borderCellCss[kt]);Tt.some(kt=>-1===se.indexOf(kt)&&me.style[kt])?me.style.zIndex=this._getCalculatedZIndex(me):(me.style.zIndex="",this._needsPositionStickyOnElement&&(me.style.position=""),me.classList.remove(this._stickCellCss))}_addStickyStyle(me,se,Xe,kt){me.classList.add(this._stickCellCss),kt&&me.classList.add(this._borderCellCss[se]),me.style[se]=`${Xe}px`,me.style.zIndex=this._getCalculatedZIndex(me),this._needsPositionStickyOnElement&&(me.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(me){const se={top:100,bottom:10,left:1,right:1};let Xe=0;for(const kt of Tt)me.style[kt]&&(Xe+=se[kt]);return Xe?`${Xe}`:""}_getCellWidths(me,se=!0){if(!se&&this._cachedCellWidths.length)return this._cachedCellWidths;const Xe=[],kt=me.children;for(let Wt=0;Wt0;Wt--)se[Wt]&&(Xe[Wt]=kt,kt+=me[Wt]);return Xe}}const K=new n.InjectionToken("CDK_SPL");let Te=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","rowOutlet",""]]}),O})(),et=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||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(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","footerRowOutlet",""]]}),O})(),_e=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","noDataRowOutlet",""]]}),O})(),mt=(()=>{class O{get trackBy(){return this._trackByFn}set trackBy(se){this._trackByFn=se}get dataSource(){return this._dataSource}set dataSource(se){this._dataSource!==se&&this._switchDataSource(se)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(se){this._multiTemplateDataRows=(0,d.Ig)(se),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(se){this._fixedLayout=(0,d.Ig)(se),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(se,Xe,kt,Wt,un,gn,pn,si,jn,Fn,bi,Ti){this._differs=se,this._changeDetectorRef=Xe,this._elementRef=kt,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((se,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(se=>{se.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 se=this._dataDiffer.diff(this._renderRows);if(!se)return this._updateNoDataRow(),void this.contentChanged.next();const Xe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(se,Xe,(kt,Wt,un)=>this._getEmbeddedViewArgs(kt.item,un),kt=>kt.item.data,kt=>{1===kt.operation&&kt.context&&this._renderCellTemplateForItem(kt.record.item.rowDef,kt.context)}),this._updateRowIndexContext(),se.forEachIdentityChange(kt=>{Xe.get(kt.currentIndex).context.$implicit=kt.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(se){this._customColumnDefs.add(se)}removeColumnDef(se){this._customColumnDefs.delete(se)}addRowDef(se){this._customRowDefs.add(se)}removeRowDef(se){this._customRowDefs.delete(se)}addHeaderRowDef(se){this._customHeaderRowDefs.add(se),this._headerRowDefChanged=!0}removeHeaderRowDef(se){this._customHeaderRowDefs.delete(se),this._headerRowDefChanged=!0}addFooterRowDef(se){this._customFooterRowDefs.add(se),this._footerRowDefChanged=!0}removeFooterRowDef(se){this._customFooterRowDefs.delete(se),this._footerRowDefChanged=!0}setNoDataRow(se){this._customNoDataRow=se}updateStickyHeaderRowStyles(){const se=this._getRenderedRows(this._headerRowOutlet),kt=this._elementRef.nativeElement.querySelector("thead");kt&&(kt.style.display=se.length?"":"none");const Wt=this._headerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(se,["top"]),this._stickyStyler.stickRows(se,Wt,"top"),this._headerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyFooterRowStyles(){const se=this._getRenderedRows(this._footerRowOutlet),kt=this._elementRef.nativeElement.querySelector("tfoot");kt&&(kt.style.display=se.length?"":"none");const Wt=this._footerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(se,["bottom"]),this._stickyStyler.stickRows(se,Wt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Wt),this._footerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyColumnStyles(){const se=this._getRenderedRows(this._headerRowOutlet),Xe=this._getRenderedRows(this._rowOutlet),kt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...se,...Xe,...kt],["left","right"]),this._stickyColumnStylesNeedReset=!1),se.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 se=[],Xe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let kt=0;kt{const gn=kt&&kt.has(un)?kt.get(un):[];if(gn.length){const pn=gn.shift();return pn.dataIndex=Xe,pn}return{data:se,rowDef:un,dataIndex:Xe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Pt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Xe=>{this._columnDefsByName.has(Xe.name),this._columnDefsByName.set(Xe.name,Xe)})}_cacheRowDefs(){this._headerRowDefs=Pt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Pt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Pt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const se=this._rowDefs.filter(Xe=>!Xe.when);this._defaultRowDef=se[0]}_renderUpdatedColumns(){const se=(un,gn)=>un||!!gn.getColumnsDiff(),Xe=this._rowDefs.reduce(se,!1);Xe&&this._forceRenderDataRows();const kt=this._headerRowDefs.reduce(se,!1);kt&&this._forceRenderHeaderRows();const Wt=this._footerRowDefs.reduce(se,!1);return Wt&&this._forceRenderFooterRows(),Xe||kt||Wt}_switchDataSource(se){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),se||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=se}_observeRenderChanges(){if(!this.dataSource)return;let se;(0,g.Z9)(this.dataSource)?se=this.dataSource.connect(this):(0,p.b)(this.dataSource)?se=this.dataSource:Array.isArray(this.dataSource)&&(se=(0,_.of)(this.dataSource)),this._renderChangeSubscription=se.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((se,Xe)=>this._renderRow(this._headerRowOutlet,se,Xe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((se,Xe)=>this._renderRow(this._footerRowOutlet,se,Xe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(se,Xe){const kt=Array.from(Xe.columns||[]).map(gn=>this._columnDefsByName.get(gn)),Wt=kt.map(gn=>gn.sticky),un=kt.map(gn=>gn.stickyEnd);this._stickyStyler.updateStickyColumns(se,Wt,un,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(se){const Xe=[];for(let kt=0;kt!Wt.when||Wt.when(Xe,se));else{let Wt=this._rowDefs.find(un=>un.when&&un.when(Xe,se))||this._defaultRowDef;Wt&&kt.push(Wt)}return kt}_getEmbeddedViewArgs(se,Xe){return{templateRef:se.rowDef.template,context:{$implicit:se.data},index:Xe}}_renderRow(se,Xe,kt,Wt={}){const un=se.viewContainer.createEmbeddedView(Xe.template,Wt,kt);return this._renderCellTemplateForItem(Xe,Wt),un}_renderCellTemplateForItem(se,Xe){for(let kt of this._getCellTemplates(se))tt.mostRecentCellOutlet&&tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(kt,Xe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const se=this._rowOutlet.viewContainer;for(let Xe=0,kt=se.length;Xe{const kt=this._columnDefsByName.get(Xe);return se.extractCellTemplate(kt)}):[]}_applyNativeTableSections(){const se=this._document.createDocumentFragment(),Xe=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const kt of Xe){const Wt=this._document.createElement(kt.tag);Wt.setAttribute("role","rowgroup");for(const un of kt.outlets)Wt.appendChild(un.elementRef.nativeElement);se.appendChild(Wt)}this._elementRef.nativeElement.appendChild(se)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const se=(Xe,kt)=>Xe||kt.hasStickyChanged();this._headerRowDefs.reduce(se,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(se,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(se,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Lt(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(se){return se.filter(Xe=>!Xe._table||Xe._table===this)}_updateNoDataRow(){const se=this._customNoDataRow||this._noDataRow;if(!se)return;const Xe=0===this._rowOutlet.viewContainer.length;if(Xe===this._isShowingNoDataRow)return;const kt=this._noDataRowOutlet.viewContainer;if(Xe){const Wt=kt.createEmbeddedView(se.templateRef),un=Wt.rootNodes[0];1===Wt.rootNodes.length&&un?.nodeType===this._document.ELEMENT_NODE&&(un.setAttribute("role","row"),un.classList.add(se._contentClassName))}else kt.clear();this._isShowingNoDataRow=Xe}}return O.\u0275fac=function(se){return new(se||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(h.DOCUMENT),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(g.k),n.\u0275\u0275directiveInject(we),n.\u0275\u0275directiveInject(f.rL),n.\u0275\u0275directiveInject(K,12),n.\u0275\u0275directiveInject(n.NgZone,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(se,Xe,kt){if(1&se&&(n.\u0275\u0275contentQuery(kt,Bt,5),n.\u0275\u0275contentQuery(kt,Re,5),n.\u0275\u0275contentQuery(kt,Ge,5),n.\u0275\u0275contentQuery(kt,ve,5),n.\u0275\u0275contentQuery(kt,Qe,5)),2&se){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(se,Xe){if(1&se&&(n.\u0275\u0275viewQuery(Te,7),n.\u0275\u0275viewQuery(et,7),n.\u0275\u0275viewQuery(Dt,7),n.\u0275\u0275viewQuery(_e,7)),2&se){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._rowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._headerRowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._footerRowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._noDataRowOutlet=kt.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(se,Xe){2&se&&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:K,useValue:null}])],ngContentSelectors:D,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,Xe){1&se&&(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,et,Dt,_e],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),O})();function Pt(O,me){return O.concat(Array.from(me))}let Ft=(()=>{class O{get name(){return this._name}set name(se){this._name=se,this._syncColumnDefName()}constructor(se,Xe){this._table=se,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||((se,Xe)=>se[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 se=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(se):se[0].toUpperCase()+se.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(mt,8),n.\u0275\u0275directiveInject($,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-text-column"]],viewQuery:function(se,Xe){if(1&se&&(n.\u0275\u0275viewQuery(Re,7),n.\u0275\u0275viewQuery(ee,7),n.\u0275\u0275viewQuery(ie,7)),2&se){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.columnDef=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.cell=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.headerCell=kt.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(se,Xe){1&se&&(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,de],encapsulation:2}),O})(),Oe=(()=>{class O{}return O.\u0275fac=function(se){return new(se||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.Cl]}),O})();var Ke=a(3680),he=a(3019),ge=a(2572),ct=a(7398);class bt 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=(se,Xe)=>{const kt=se[Xe];if((0,d.t6)(kt)){const Wt=Number(kt);return Wt<9007199254740991?Wt:kt}return kt},this.sortData=(se,Xe)=>{const kt=Xe.active,Wt=Xe.direction;return kt&&""!=Wt?se.sort((un,gn)=>{let pn=this.sortingDataAccessor(un,kt),si=this.sortingDataAccessor(gn,kt);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 kt=Object.keys(se).reduce((un,gn)=>un+se[gn]+"\u25ec","").toLowerCase(),Wt=Xe.trim().toLowerCase();return-1!=kt.indexOf(Wt)},this._data=new b.X(me),this._updateChangeSubscription()}_updateChangeSubscription(){const me=this._sort?(0,he.T)(this._sort.sortChange,this._sort.initialized):(0,_.of)(null),se=this._paginator?(0,he.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,_.of)(null),kt=(0,ge.a)([this._data,this._filter]).pipe((0,ct.U)(([gn])=>this._filterData(gn))),Wt=(0,ge.a)([kt,me]).pipe((0,ct.U)(([gn])=>this._orderData(gn))),un=(0,ge.a)([Wt,se]).pipe((0,ct.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(se=>this.filterPredicate(se,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 se=this.paginator.pageIndex*this.paginator.pageSize;return me.slice(se,se+this.paginator.pageSize)}_updatePaginator(me){Promise.resolve().then(()=>{const se=this.paginator;if(se&&(se.length=me,se.pageIndex>0)){const Xe=Math.ceil(se.length/se.pageSize)-1||0,kt=Math.min(se.pageIndex,Xe);kt!==se.pageIndex&&(se.pageIndex=kt,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 se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",se.headerText," ")}}function sn(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const se=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(se,Xe.name)," ")}}let Nn=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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 mt{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(se,Xe){2&se&&n.\u0275\u0275classProp("mat-table-fixed-layout",Xe.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:g.k,useClass:g.yy},{provide:mt,useExisting:O},{provide:X,useExisting:O},{provide:we,useClass:Ee},{provide:K,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:nn,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,Xe){1&se&&(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,et,Dt,_e],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(se){this._setNameInput(se)}_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 de{}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 ve{}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:ve,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 Ge{}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:Ge,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),Yn=(()=>{class O extends Ct{}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:Ct,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),wi=(()=>{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-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Nt,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),ri=(()=>{class O extends _t{}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:_t,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&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 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-text-column"]],hostVars:1,hostBindings:function(se,Xe){2&se&&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(se,Xe){1&se&&(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(se){return new(se||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[Oe,Ke.MatCommonModule,Ke.MatCommonModule]}),O})();class ke extends bt{}},8615:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_TAB:()=>at,MAT_LEGACY_TABS_CONFIG:()=>Me,MAT_LEGACY_TAB_CONTENT:()=>Le,MAT_LEGACY_TAB_GROUP:()=>mt,MatLegacyInkBar:()=>_i,MatLegacyPaginatedTabHeader:()=>he,MatLegacyTab:()=>$n,MatLegacyTabBody:()=>an,MatLegacyTabBodyPortal:()=>ti,MatLegacyTabChangeEvent:()=>Q,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:()=>ce,_MatLegacyTabBase:()=>Pt,_MatLegacyTabBodyBase:()=>Tt,_MatLegacyTabGroupBase:()=>F,_MatLegacyTabHeaderBase:()=>ge,_MatLegacyTabLinkBase:()=>qe,_MatLegacyTabNavBase:()=>dt,matLegacyTabsAnimations:()=>_t});var n=a(4300),c=a(7131),d=a(8484),g=a(6814),r=a(5879),f=a(3680),h=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),Ce=a(2831),Re=a(6028);function Ae(Mt,jt){}const de=function(Mt){return{animationDuration:Mt}},H=function(Mt,jt){return{value:Mt,params:jt}},_t={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 Mt extends d.Pl{constructor(ke,O,me,se){super(ke,O,se),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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Lt)),r.\u0275\u0275directiveInject(g.DOCUMENT))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),Tt=(()=>{class Mt{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(se=>{this._computePositionAnimationState(se),me.markForCheck()})),this._translateTabComplete.pipe((0,E.x)((se,Xe)=>se.fromState===Xe.fromState&&se.toState===Xe.toState)).subscribe(se=>{this._isCenterPosition(se.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(se.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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Mt})(),Lt=(()=>{class Mt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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(se){return O._onTranslateTabStarted(se)})("@translateTab.done",function(se){return O._translateTabComplete.next(se)}),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,de,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:[_t.translateTab]}}),Mt})();const Le=new r.InjectionToken("MatTabContent");let lt=(()=>{class Mt{constructor(ke){this.template=ke}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.TemplateRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Mt}])]}),Mt})();const ze=new r.InjectionToken("MatTabLabel"),at=new r.InjectionToken("MAT_TAB");let N=(()=>{class Mt extends d.ig{constructor(ke,O,me){super(ke,O),this._closestTab=me}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(at,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})();function ce(){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:ce}),et=(0,f.mixinDisabled)(class{});let Dt=(()=>{class Mt extends et{constructor(ke){super(),this.elementRef=ke}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();const Pe=(0,f.mixinDisabled)(class{}),mt=new r.InjectionToken("MAT_TAB_GROUP");let Pt=(()=>{class Mt extends Pe{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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(mt,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})();const Gt=(0,Ce.i$)({passive:!0});let he=(()=>{class Mt{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,se,Xe,kt,Wt){this._elementRef=ke,this._changeDetectorRef=O,this._viewportRuler=me,this._dir=se,this._ngZone=Xe,this._platform=kt,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",Gt).pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,p.R)(this._nextPaginator.nativeElement,"touchstart",Gt).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,h.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(se=>{this.indexFocused.emit(se),this._setTabFocus(se)})}_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(se=>O.next(se));return ke.forEach(se=>me.observe(se.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:se,offsetWidth:Xe}=O.elementRef.nativeElement;let kt,Wt;"ltr"==this._getLayoutDirection()?(kt=se,Wt=kt+Xe):(Wt=this._tabListInner.nativeElement.offsetWidth-se,kt=Wt-Xe);const un=this.scrollDistance,gn=this.scrollDistance+me;ktgn&&(this.scrollDistance+=Math.min(Wt-gn,kt-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:se}=this._scrollHeader(ke);(0===se||se>=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 Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{disablePagination:"disablePagination"}}),Mt})(),ge=(()=>{class Mt extends he{get disableRipple(){return this._disableRipple}set disableRipple(ke){this._disableRipple=(0,A.Ig)(ke)}constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt),this._disableRipple=!1}_itemSelected(ke){ke.preventDefault()}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();const Me=new r.InjectionToken("MAT_TABS_CONFIG");let Ye=0;const De=(0,f.mixinColor)((0,f.mixinDisableRipple)(class{constructor(Mt){this._elementRef=Mt}}),"primary");let F=(()=>{class Mt 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,se){super(ke),this._changeDetectorRef=O,this._animationMode=se,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,se)=>me.isActive=se===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 se=0;se{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 Q;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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Me,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})();class Q{}let be=0,dt=(()=>{class Mt extends he{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,se,Xe,kt,Wt){super(ke,se,Xe,O,me,kt,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 Mt extends Rt{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,se,Xe,kt){super(),this._tabNavBar=ke,this.elementRef=O,this._focusMonitor=Xe,this._isActive=!1,this.id="mat-tab-link-"+be++,this.rippleConfig=me||{},this.tabIndex=parseInt(se)||0,"NoopAnimations"===kt&&(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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(dt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{active:"active",id:"id"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();function xn(Mt,jt){1&Mt&&r.\u0275\u0275projection(0)}const Sn=["*"];function _n(Mt,jt){}const Mn=function(Mt){return{animationDuration:Mt}},xi=function(Mt,jt){return{value:Mt,params:jt}},fi=["tabListContainer"],Vi=["tabList"],Yi=["tabListInner"],xt=["nextPaginator"],bt=["previousPaginator"],pt=["tabBodyWrapper"],qt=["tabHeader"];function nn(Mt,jt){}function cn(Mt,jt){if(1&Mt&&r.\u0275\u0275template(0,nn,0,0,"ng-template",10),2&Mt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",ke.templateLabel)}}function sn(Mt,jt){if(1&Mt&&r.\u0275\u0275text(0),2&Mt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(ke.textLabel)}}function Nn(Mt,jt){if(1&Mt){const ke=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const me=r.\u0275\u0275restoreView(ke),se=me.$implicit,Xe=me.index,kt=r.\u0275\u0275nextContext(),Wt=r.\u0275\u0275reference(1);return r.\u0275\u0275resetView(kt._handleClick(se,Wt,Xe))})("cdkFocusChange",function(me){const Xe=r.\u0275\u0275restoreView(ke).index,kt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(kt._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&Mt){const ke=jt.$implicit,O=jt.index,me=r.\u0275\u0275reference(4),se=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",se.selectedIndex===O),r.\u0275\u0275property("id",se._getTabLabelId(O))("ngClass",ke.labelClass)("disabled",ke.disabled)("matRippleDisabled",ke.disabled||se.disableRipple),r.\u0275\u0275attribute("tabIndex",se._getTabIndex(O))("aria-posinset",O+1)("aria-setsize",se._tabs.length)("aria-controls",se._getTabContentId(O))("aria-selected",se.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(Mt,jt){if(1&Mt){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 se=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(se._setTabBodyWrapperHeight(me))}),r.\u0275\u0275elementEnd()}if(2&Mt){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 Mt{constructor(ke,O,me,se){this._elementRef=ke,this._ngZone=O,this._inkBarPositioner=me,this._animationMode=se}alignToElement(ke){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,h.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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Te),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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)}}),Mt})(),$n=(()=>{class Mt extends Pt{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(ke){this._setTemplateLabelInput(ke)}}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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 se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O.templateLabel=se.first),r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._explicitContent=se.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:Mt}]),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}),Mt})(),ti=(()=>{class Mt extends Bt{constructor(ke,O,me,se){super(ke,O,me,se)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>an)),r.\u0275\u0275directiveInject(g.DOCUMENT))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),an=(()=>{class Mt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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(se){return O._onTranslateTabStarted(se)})("@translateTab.done",function(se){return O._translateTabComplete.next(se)}),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:[_t.translateTab]}}),Mt})(),mn=(()=>{class Mt extends Dt{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})(),Tn=(()=>{class Mt extends ge{constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["mat-tab-header"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,mn,4),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._items=se)}},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(xt,5),r.\u0275\u0275viewQuery(bt,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(se){return O._handlePaginatorPress("before",se)})("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(se){return O._handleKeydown(se)}),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(se){return O._handlePaginatorPress("after",se)})("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:[f.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}),Mt})(),Rn=(()=>{class Mt extends F{constructor(ke,O,me,se){super(ke,O,me,se)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Me,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["mat-tab-group"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,$n,5),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._allTabs=se)}},viewQuery:function(ke,O){if(1&ke&&(r.\u0275\u0275viewQuery(pt,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:mt,useExisting:Mt}]),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(se){return O._focusChanged(se)})("selectFocusedIndex",function(se){return O.selectedIndex=se}),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,f.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}),Mt})(),Wn=0,mi=(()=>{class Mt extends dt{constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,Yn,5),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._items=se)}},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(xt,5),r.\u0275\u0275viewQuery(bt,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(se){return O._handlePaginatorPress("before",se)})("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(se){return O._handleKeydown(se)}),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(se){return O._handlePaginatorPress("after",se)})("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:[f.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}),Mt})(),Yn=(()=>{class Mt extends qe{constructor(ke,O,me,se,Xe,kt,Wt,un){super(ke,O,Xe,kt,Wt,un),this._tabLinkRipple=new f.RippleRenderer(this,me,O,se),this._tabLinkRipple.setupTriggerEvents(O.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(mi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Ce.t4),r.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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(se){return O._handleKeydown(se)}),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]}),Mt})(),wi=(()=>{class Mt{constructor(){this.id="mat-tab-nav-panel-"+Wn++}}return Mt.\u0275fac=function(ke){return new(ke||Mt)},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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}),Mt})(),ri=(()=>{class Mt extends N{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),ai=(()=>{class Mt extends lt{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),Ni=(()=>{class Mt{}return Mt.\u0275fac=function(ke){return new(ke||Mt)},Mt.\u0275mod=r.\u0275\u0275defineNgModule({type:Mt}),Mt.\u0275inj=r.\u0275\u0275defineInjector({imports:[g.CommonModule,f.MatCommonModule,d.eL,f.MatRippleModule,c.Q8,n.rt,f.MatCommonModule]}),Mt})()},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"]]],f=["*","mat-toolbar-row"],h=(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 h{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:f,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:()=>We});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 Ge(je,T,P=new Map,ue=new Map){const Fe=[],it=[];let It=-1,Et=null;if(T.forEach(Qt=>{const en=Qt.get("offset"),In=en==It,Ln=In&&Et||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=ue.get(li);break;default:ii=je.normalizeStyleValue(li,Gn,ii,Fe)}Ln.set(Gn,ii)}),In||it.push(Ln),Et=Ln,It=en}),Fe.length)throw function de(je){return new n.\u0275RuntimeError(3502,!1)}();return it}function tt(je,T,P,ue){switch(T){case"start":je.onStart(()=>ue(P&&Ct(P,"start",je)));break;case"done":je.onDone(()=>ue(P&&Ct(P,"done",je)));break;case"destroy":je.onDestroy(()=>ue(P&&Ct(P,"destroy",je)))}}function Ct(je,T,P){const it=Nt(je.element,je.triggerName,je.fromState,je.toState,T||je.phaseName,P.totalTime??je.totalTime,!!P.disabled),It=je._data;return null!=It&&(it._data=It),it}function Nt(je,T,P,ue,Fe="",it=0,It){return{element:je,triggerName:T,fromState:P,toState:ue,phaseName:Fe,totalTime:it,disabled:!!It}}function _t(je,T,P){let ue=je.get(T);return ue||je.set(T,ue=P),ue}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 Lt(je){const T=je.parentNode||je.host||null;return T===Tt?null:T}let lt=null,ze=!1;function Y(je,T){for(;T;){if(T===je)return!0;T=Lt(T)}return!1}function ne(je,T,P){if(P)return Array.from(je.querySelectorAll(T));const ue=je.querySelector(T);return ue?[ue]:[]}let ce=(()=>{class je{validateStyleProperty(P){return function at(je){lt||(lt=function oe(){return typeof document<"u"?document.body:null}()||{},ze=!!lt.style&&"WebkitAppearance"in lt.style);let T=!0;return lt.style&&!function Le(je){return"ebkit"==je.substring(1,6)}(je)&&(T=je in lt.style,!T&&ze&&(T="Webkit"+je.charAt(0).toUpperCase()+je.slice(1)in lt.style)),T}(P)}matchesElement(P,ue){return!1}containsElement(P,ue){return Y(P,ue)}getParentElement(P){return Lt(P)}query(P,ue,Fe){return ne(P,ue,Fe)}computeStyle(P,ue,Fe){return Fe||""}animate(P,ue,Fe,it,It,Et=[],Qt){return new d.ZN(Fe,it)}}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 ce,je})();const et=1e3,ut="ng-enter",Pe="ng-leave",mt="ng-trigger",Pt=".ng-trigger",Ft="ng-animating",Gt=".ng-animating";function Oe(je){if("number"==typeof je)return je;const T=je.match(/^(-?[\.\d]+)(m?s)/);return!T||T.length<2?0:Ke(parseFloat(T[1]),T[2])}function Ke(je,T){return"s"===T?je*et:je}function he(je,T,P){return je.hasOwnProperty("duration")?je:function ge(je,T,P){let Fe,it=0,It="";if("string"==typeof je){const Et=je.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Et)return T.push(r()),{duration:0,delay:0,easing:""};Fe=Ke(parseFloat(Et[1]),Et[2]);const Qt=Et[3];null!=Qt&&(it=Ke(parseFloat(Qt),Et[4]));const en=Et[5];en&&(It=en)}else Fe=je;if(!P){let Et=!1,Qt=T.length;Fe<0&&(T.push(function f(){return new n.\u0275RuntimeError(3100,!1)}()),Et=!0),it<0&&(T.push(function h(){return new n.\u0275RuntimeError(3101,!1)}()),Et=!0),Et&&T.splice(Qt,0,r())}return{duration:Fe,delay:it,easing:It}}(je,T,P)}function ct(je,T={}){return Object.keys(je).forEach(P=>{T[P]=je[P]}),T}function Me(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[ue,Fe]of P)T.set(ue,Fe);for(let[ue,Fe]of je)T.set(ue,Fe);return T}function V(je,T,P){T.forEach((ue,Fe)=>{const it=At(Fe);P&&!P.has(Fe)&&P.set(Fe,je.style[it]),je.style[it]=ue})}function Q(je,T){T.forEach((P,ue)=>{const Fe=At(ue);je.style[Fe]=""})}function be(je){return Array.isArray(je)?1==je.length?je[0]:(0,d.vP)(je):je}const Rt=new RegExp("{{\\s*(.+?)\\s*}}","g");function qe(je){let T=[];if("string"==typeof je){let P;for(;P=Rt.exec(je);)T.push(P[1]);Rt.lastIndex=0}return T}function nt(je,T,P){const ue=je.toString(),Fe=ue.replace(Rt,(it,It)=>{let Et=T[It];return null==Et&&(P.push(function v(je){return new n.\u0275RuntimeError(3003,!1)}()),Et=""),Et.toString()});return Fe==ue?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 At(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 pt="*";function qt(je,T){const P=[];return"string"==typeof je?je.split(/\s*,\s*/).forEach(ue=>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,ue)=>parseFloat(ue)>parseFloat(P);case":decrement":return(P,ue)=>parseFloat(ue) *"}}(je,P);if("function"==typeof Qt)return void T.push(Qt);je=Qt}const ue=je.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==ue||ue.length<4)return P.push(function A(je){return new n.\u0275RuntimeError(3015,!1)}()),T;const Fe=ue[1],it=ue[2],It=ue[3];T.push(wn(Fe,It));"<"==it[0]&&!(Fe==pt&&It==pt)&&T.push(wn(It,Fe))}(ue,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),ue=sn.has(T)||Nn.has(T);return(Fe,it)=>{let It=je==pt||je==Fe,Et=T==pt||T==it;return!It&&P&&"boolean"==typeof Fe&&(It=Fe?sn.has(je):Nn.has(je)),!Et&&ue&&"boolean"==typeof it&&(Et=it?sn.has(T):Nn.has(T)),It&&Et}}const _i=new RegExp("s*:selfs*,?","g");function $n(je,T,P,ue){return new an(je).build(T,P,ue)}class an{constructor(T){this._driver=T}build(T,P,ue){const Fe=new Rn(P);return this._resetContextStyleTimingState(Fe),_n(this,be(T),Fe)}_resetContextStyleTimingState(T){T.currentQuerySelector="",T.collectedStyles=new Map,T.collectedStyles.set("",new Map),T.currentTime=0}visitTrigger(T,P){let ue=P.queryCount=0,Fe=P.depCount=0;const it=[],It=[];return"@"==T.name.charAt(0)&&P.errors.push(function _(){return new n.\u0275RuntimeError(3006,!1)}()),T.definitions.forEach(Et=>{if(this._resetContextStyleTimingState(P),0==Et.type){const Qt=Et,en=Qt.name;en.toString().split(/\s*,\s*/).forEach(In=>{Qt.name=In,it.push(this.visitState(Qt,P))}),Qt.name=en}else if(1==Et.type){const Qt=this.visitTransition(Et,P);ue+=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:it,transitions:It,queryCount:ue,depCount:Fe,options:null}}visitState(T,P){const ue=this.visitStyle(T.styles,P),Fe=T.options&&T.options.params||null;if(ue.containsDynamicStyles){const it=new Set,It=Fe||{};ue.styles.forEach(Et=>{Et instanceof Map&&Et.forEach(Qt=>{qe(Qt).forEach(en=>{It.hasOwnProperty(en)||it.add(en)})})}),it.size&&(Ve(it.values()),P.errors.push(function y(je,T){return new n.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:T.name,style:ue,options:Fe?{params:Fe}:null}}visitTransition(T,P){P.queryCount=0,P.depCount=0;const ue=_n(this,be(T.animation),P);return{type:1,matchers:qt(T.expr,P.errors),animation:ue,queryCount:P.queryCount,depCount:P.depCount,options:Yn(T.options)}}visitSequence(T,P){return{type:2,steps:T.steps.map(ue=>_n(this,ue,P)),options:Yn(T.options)}}visitGroup(T,P){const ue=P.currentTime;let Fe=0;const it=T.steps.map(It=>{P.currentTime=ue;const Et=_n(this,It,P);return Fe=Math.max(Fe,P.currentTime),Et});return P.currentTime=Fe,{type:3,steps:it,options:Yn(T.options)}}visitAnimate(T,P){const ue=function mi(je,T){if(je.hasOwnProperty("duration"))return je;if("number"==typeof je)return wi(he(je,T).duration,0,"");const P=je;if(P.split(/\s+/).some(it=>"{"==it.charAt(0)&&"{"==it.charAt(1))){const it=wi(0,0,"");return it.dynamic=!0,it.strValue=P,it}const Fe=he(P,T);return wi(Fe.duration,Fe.delay,Fe.easing)}(T.timings,P.errors);P.currentAnimateTimings=ue;let Fe,it=T.styles?T.styles:(0,d.oB)({});if(5==it.type)Fe=this.visitKeyframes(it,P);else{let It=T.styles,Et=!1;if(!It){Et=!0;const en={};ue.easing&&(en.easing=ue.easing),It=(0,d.oB)(en)}P.currentTime+=ue.duration+ue.delay;const Qt=this.visitStyle(It,P);Qt.isEmptyStep=Et,Fe=Qt}return P.currentAnimateTimings=null,{type:4,timings:ue,style:Fe,options:null}}visitStyle(T,P){const ue=this._makeStyleAst(T,P);return this._validateStyleAst(ue,P),ue}_makeStyleAst(T,P){const ue=[],Fe=Array.isArray(T.styles)?T.styles:[T.styles];for(let Et of Fe)"string"==typeof Et?Et===d.l3?ue.push(Et):P.errors.push(new n.\u0275RuntimeError(3002,!1)):ue.push(Me(Et));let it=!1,It=null;return ue.forEach(Et=>{if(Et instanceof Map&&(Et.has("easing")&&(It=Et.get("easing"),Et.delete("easing")),!it))for(let Qt of Et.values())if(Qt.toString().indexOf("{{")>=0){it=!0;break}}),{type:6,styles:ue,easing:It,offset:T.offset,containsDynamicStyles:it,options:null}}_validateStyleAst(T,P){const ue=P.currentAnimateTimings;let Fe=P.currentTime,it=P.currentTime;ue&&it>0&&(it-=ue.duration+ue.delay),T.styles.forEach(It=>{"string"!=typeof It&&It.forEach((Et,Qt)=>{const en=P.collectedStyles.get(P.currentQuerySelector),In=en.get(Qt);let Ln=!0;In&&(it!=Fe&&it>=In.startTime&&Fe<=In.endTime&&(P.errors.push(function S(je,T,P,ue,Fe){return new n.\u0275RuntimeError(3010,!1)}()),Ln=!1),it=In.startTime),Ln&&en.set(Qt,{startTime:it,endTime:Fe}),P.options&&function dt(je,T,P){const ue=T.params||{},Fe=qe(je);Fe.length&&Fe.forEach(it=>{ue.hasOwnProperty(it)||P.push(function u(je){return new n.\u0275RuntimeError(3001,!1)}())})}(Et,P.options,P.errors)})})}visitKeyframes(T,P){const ue={type:5,styles:[],options:null};if(!P.currentAnimateTimings)return P.errors.push(function E(){return new n.\u0275RuntimeError(3011,!1)}()),ue;let it=0;const It=[];let Et=!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 ue=P;T=parseFloat(ue.get("offset")),ue.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&&(it++,nr=Ki.offset=sr),Qt=Qt||nr<0||nr>1,Et=Et||nr0&&it{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,ue.styles.push(qi)}),ue}visitReference(T,P){return{type:8,animation:_n(this,be(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 ue=P.currentQuerySelector,Fe=T.options||{};P.queryCount++,P.currentQuery=T;const[it,It]=function mn(je){const T=!!je.split(/\s*,\s*/).find(P=>":self"==P);return T&&(je=je.replace(_i,"")),je=je.replace(/@\*/g,Pt).replace(/@\w+/g,P=>Pt+"-"+P.slice(1)).replace(/:animating/g,Gt),[je,T]}(T.selector);P.currentQuerySelector=ue.length?ue+" "+it:it,_t(P.collectedStyles,P.currentQuerySelector,new Map);const Et=_n(this,be(T.animation),P);return P.currentQuery=null,P.currentQuerySelector=ue,{type:11,selector:it,limit:Fe.limit||0,optional:!!Fe.optional,includeSelf:It,animation:Et,originalSelector:T.selector,options:Yn(T.options)}}visitStagger(T,P){P.currentQuery||P.errors.push(function ee(){return new n.\u0275RuntimeError(3013,!1)}());const ue="full"===T.timings?{duration:0,delay:0,easing:"full"}:he(T.timings,P.errors,!0);return{type:12,animation:_n(this,be(T.animation),P),timings:ue,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=ct(je)).params&&(je.params=function Tn(je){return je?ct(je):null}(je.params)):je={},je}function wi(je,T,P){return{duration:je,delay:T,easing:P}}function ri(je,T,P,ue,Fe,it,It=null,Et=!1){return{type:1,element:je,keyframes:T,preStyleProps:P,postStyleProps:ue,duration:Fe,delay:it,totalTime:Fe+it,easing:It,subTimeline:Et}}class ai{constructor(){this._map=new Map}get(T){return this._map.get(T)||[]}append(T,P){let ue=this._map.get(T);ue||this._map.set(T,ue=[]),ue.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,ue,Fe,it=new Map,It=new Map,Et,Qt,en=[]){return(new se).buildKeyframes(je,T,P,ue,Fe,it,It,Et,Qt,en)}class se{buildKeyframes(T,P,ue,Fe,it,It,Et,Qt,en,In=[]){en=en||new ai;const Ln=new kt(T,P,en,Fe,it,In,[]);Ln.options=Qt;const pi=Qt.delay?Oe(Qt.delay):0;Ln.currentTimeline.delayNextStep(pi),Ln.currentTimeline.setStyles([It],null,Ln.errors,Qt),_n(this,ue,Ln);const li=Ln.timelines.filter(Gn=>Gn.containsAnimation());if(li.length&&Et.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([Et],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 ue=P.subInstructions.get(P.element);if(ue){const Fe=P.createSubContext(T.options),it=P.currentTimeline.currentTime,It=this._visitSubInstructions(ue,Fe,Fe.options);it!=It&&P.transformIntoNewTimeline(It)}P.previousNode=T}visitAnimateRef(T,P){const ue=P.createSubContext(T.options);ue.transformIntoNewTimeline(),this._applyAnimationRefDelays([T.options,T.animation.options],P,ue),this.visitReference(T.animation,ue),P.transformIntoNewTimeline(ue.currentTimeline.currentTime),P.previousNode=T}_applyAnimationRefDelays(T,P,ue){for(const Fe of T){const it=Fe?.delay;if(it){const It="number"==typeof it?it:Oe(nt(it,Fe?.params??{},P.errors));ue.delayNextStep(It)}}}_visitSubInstructions(T,P,ue){let it=P.currentTimeline.currentTime;const It=null!=ue.duration?Oe(ue.duration):null,Et=null!=ue.delay?Oe(ue.delay):null;return 0!==It&&T.forEach(Qt=>{const en=P.appendInstructionToTimeline(Qt,It,Et);it=Math.max(it,en.duration+en.delay)}),it}visitReference(T,P){P.updateOptions(T.options,!0),_n(this,T.animation,P),P.previousNode=T}visitSequence(T,P){const ue=P.subContextCount;let Fe=P;const it=T.options;if(it&&(it.params||it.delay)&&(Fe=P.createSubContext(it),Fe.transformIntoNewTimeline(),null!=it.delay)){6==Fe.previousNode.type&&(Fe.currentTimeline.snapshotCurrentStyles(),Fe.previousNode=Xe);const It=Oe(it.delay);Fe.delayNextStep(It)}T.steps.length&&(T.steps.forEach(It=>_n(this,It,Fe)),Fe.currentTimeline.applyStylesToKeyframe(),Fe.subContextCount>ue&&Fe.transformIntoNewTimeline()),P.previousNode=T}visitGroup(T,P){const ue=[];let Fe=P.currentTimeline.currentTime;const it=T.options&&T.options.delay?Oe(T.options.delay):0;T.steps.forEach(It=>{const Et=P.createSubContext(T.options);it&&Et.delayNextStep(it),_n(this,It,Et),Fe=Math.max(Fe,Et.currentTimeline.currentTime),ue.push(Et.currentTimeline)}),ue.forEach(It=>P.currentTimeline.mergeTimelineCollectedStyles(It)),P.transformIntoNewTimeline(Fe),P.previousNode=T}_visitTiming(T,P){if(T.dynamic){const ue=T.strValue;return he(P.params?nt(ue,P.params,P.errors):ue,P.errors)}return{duration:T.duration,delay:T.delay,easing:T.easing}}visitAnimate(T,P){const ue=P.currentAnimateTimings=this._visitTiming(T.timings,P),Fe=P.currentTimeline;ue.delay&&(P.incrementTime(ue.delay),Fe.snapshotCurrentStyles());const it=T.style;5==it.type?this.visitKeyframes(it,P):(P.incrementTime(ue.duration),this.visitStyle(it,P),Fe.applyStylesToKeyframe()),P.currentAnimateTimings=null,P.previousNode=T}visitStyle(T,P){const ue=P.currentTimeline,Fe=P.currentAnimateTimings;!Fe&&ue.hasCurrentStyleProperties()&&ue.forwardFrame();const it=Fe&&Fe.easing||T.easing;T.isEmptyStep?ue.applyEmptyStep(it):ue.setStyles(T.styles,it,P.errors,P.options),P.previousNode=T}visitKeyframes(T,P){const ue=P.currentAnimateTimings,Fe=P.currentTimeline.duration,it=ue.duration,Et=P.createSubContext().currentTimeline;Et.easing=ue.easing,T.styles.forEach(Qt=>{Et.forwardTime((Qt.offset||0)*it),Et.setStyles(Qt.styles,Qt.easing,P.errors,P.options),Et.applyStylesToKeyframe()}),P.currentTimeline.mergeTimelineCollectedStyles(Et),P.transformIntoNewTimeline(Fe+it),P.previousNode=T}visitQuery(T,P){const ue=P.currentTimeline.currentTime,Fe=T.options||{},it=Fe.delay?Oe(Fe.delay):0;it&&(6===P.previousNode.type||0==ue&&P.currentTimeline.hasCurrentStyleProperties())&&(P.currentTimeline.snapshotCurrentStyles(),P.previousNode=Xe);let It=ue;const Et=P.invokeQuery(T.selector,T.originalSelector,T.limit,T.includeSelf,!!Fe.optional,P.errors);P.currentQueryTotal=Et.length;let Qt=null;Et.forEach((en,In)=>{P.currentQueryIndex=In;const Ln=P.createSubContext(T.options,en);it&&Ln.delayNextStep(it),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 ue=P.parentContext,Fe=P.currentTimeline,it=T.timings,It=Math.abs(it.duration),Et=It*(P.currentQueryTotal-1);let Qt=It*P.currentQueryIndex;switch(it.duration<0?"reverse":it.easing){case"reverse":Qt=Et-Qt;break;case"full":Qt=ue.currentStaggerTime}const In=P.currentTimeline;Qt&&In.delayNextStep(Qt);const Ln=In.currentTime;_n(this,T.animation,P),P.previousNode=T,ue.currentStaggerTime=Fe.currentTime-Ln+(Fe.startTime-ue.currentTimeline.startTime)}}const Xe={};class kt{constructor(T,P,ue,Fe,it,It,Et,Qt){this._driver=T,this.element=P,this.subInstructions=ue,this._enterClassName=Fe,this._leaveClassName=it,this.errors=It,this.timelines=Et,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),Et.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(T,P){if(!T)return;const ue=T;let Fe=this.options;null!=ue.duration&&(Fe.duration=Oe(ue.duration)),null!=ue.delay&&(Fe.delay=Oe(ue.delay));const it=ue.params;if(it){let It=Fe.params;It||(It=this.options.params={}),Object.keys(it).forEach(Et=>{(!P||!It.hasOwnProperty(Et))&&(It[Et]=nt(it[Et],It,this.errors))})}}_copyOptions(){const T={};if(this.options){const P=this.options.params;if(P){const ue=T.params={};Object.keys(P).forEach(Fe=>{ue[Fe]=P[Fe]})}}return T}createSubContext(T=null,P,ue){const Fe=P||this.element,it=new kt(this._driver,Fe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Fe,ue||0));return it.previousNode=this.previousNode,it.currentAnimateTimings=this.currentAnimateTimings,it.options=this._copyOptions(),it.updateOptions(T),it.currentQueryIndex=this.currentQueryIndex,it.currentQueryTotal=this.currentQueryTotal,it.parentContext=this,this.subContextCount++,it}transformIntoNewTimeline(T){return this.previousNode=Xe,this.currentTimeline=this.currentTimeline.fork(this.element,T),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(T,P,ue){const Fe={duration:P??T.duration,delay:this.currentTimeline.currentTime+(ue??0)+T.delay,easing:""},it=new un(this._driver,T.element,T.keyframes,T.preStyleProps,T.postStyleProps,Fe,T.stretchStartingKeyframe);return this.timelines.push(it),Fe}incrementTime(T){this.currentTimeline.forwardTime(this.currentTimeline.duration+T)}delayNextStep(T){T>0&&this.currentTimeline.delayNextStep(T)}invokeQuery(T,P,ue,Fe,it,It){let Et=[];if(Fe&&Et.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!=ue);0!==ue&&(en=ue<0?en.slice(en.length+ue,en.length):en.slice(0,ue)),Et.push(...en)}return!it&&0==Et.length&&It.push(function ie(je){return new n.\u0275RuntimeError(3014,!1)}()),Et}}class Wt{constructor(T,P,ue,Fe){this._driver=T,this.element=P,this.startTime=ue,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,ue]of this._globalTimelineStyles)this._backFill.set(P,ue||d.l3),this._currentKeyframe.set(P,d.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(T,P,ue,Fe){P&&this._previousKeyframe.set("easing",P);const it=Fe&&Fe.params||{},It=function pn(je,T){const P=new Map;let ue;return je.forEach(Fe=>{if("*"===Fe){ue=ue||T.keys();for(let it of ue)P.set(it,d.l3)}else F(Fe,P)}),P}(T,this._globalTimelineStyles);for(let[Et,Qt]of It){const en=nt(Qt,it,ue);this._pendingStyles.set(Et,en),this._localTimelineStyles.has(Et)||this._backFill.set(Et,this._globalTimelineStyles.get(Et)??d.l3),this._updateStyle(Et,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,ue)=>{const Fe=this._styleSummary.get(ue);(!Fe||P.time>Fe.time)&&this._updateStyle(ue,P.value)})}buildKeyframes(){this.applyStylesToKeyframe();const T=new Set,P=new Set,ue=1===this._keyframes.size&&0===this.duration;let Fe=[];this._keyframes.forEach((Et,Qt)=>{const en=F(Et,new Map,this._backFill);en.forEach((In,Ln)=>{In===d.k1?T.add(Ln):In===d.l3&&P.add(Ln)}),ue||en.set("offset",Qt/this.duration),Fe.push(en)});const it=T.size?Ve(T.values()):[],It=P.size?Ve(P.values()):[];if(ue){const Et=Fe[0],Qt=new Map(Et);Et.set("offset",0),Qt.set("offset",1),Fe=[Et,Qt]}return ri(this.element,Fe,it,It,this.duration,this.startTime,this.easing,!1)}}class un extends Wt{constructor(T,P,ue,Fe,it,It,Et=!1){super(T,P,It.delay),this.keyframes=ue,this.preStyleProps=Fe,this.postStyleProps=it,this._stretchStartingKeyframe=Et,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:ue,easing:Fe}=this.timings;if(this._stretchStartingKeyframe&&P){const it=[],It=ue+P,Et=P/It,Qt=F(T[0]);Qt.set("offset",0),it.push(Qt);const en=F(T[0]);en.set("offset",gn(Et)),it.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*ue)/It)),it.push(pi)}ue=It,P=0,Fe="",T=it}return ri(this.element,T,this.preStyleProps,this.postStyleProps,ue,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 At(T)}normalizeStyleValue(T,P,ue,Fe){let it="";const It=ue.toString().trim();if(bi.has(P)&&0!==ue&&"0"!==ue)if("number"==typeof ue)it="px";else{const Et=ue.match(/^[+-]?[\d\.]+([a-z]*)$/);Et&&0==Et[1].length&&Fe.push(function p(je,T){return new n.\u0275RuntimeError(3005,!1)}())}return It+it}}function Fi(je,T,P,ue,Fe,it,It,Et,Qt,en,In,Ln,pi){return{type:0,element:je,triggerName:T,isRemovalTransition:Fe,fromState:P,fromStyles:it,toState:ue,toStyles:It,timelines:Et,queriedElements:Qt,preStyleProps:en,postStyleProps:In,totalTime:Ln,errors:pi}}const Gi={};class fn{constructor(T,P,ue){this._triggerName=T,this.ast=P,this._stateStyles=ue}match(T,P,ue,Fe){return function tn(je,T,P,ue,Fe){return je.some(it=>it(T,P,ue,Fe))}(this.ast.matchers,T,P,ue,Fe)}buildStyles(T,P,ue){let Fe=this._stateStyles.get("*");return void 0!==T&&(Fe=this._stateStyles.get(T?.toString())||Fe),Fe?Fe.buildStyles(P,ue):new Map}build(T,P,ue,Fe,it,It,Et,Qt,en,In){const Ln=[],pi=this.ast.options&&this.ast.options.params||Gi,Gn=this.buildStyles(ue,Et&&Et.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,it,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,ue,Fe,nr,Gn,Bi,[],[],Ki,sr,rr,Ln);Mr.forEach(Er=>{const fr=Er.element,yo=_t(Ki,fr,new Set);Er.preStyleProps.forEach(Lr=>yo.add(Lr));const Yr=_t(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,ue,Fe,nr,Gn,Bi,Mr,xr,Ki,sr,rr)}}function En(je,T){const P=ct(T);for(const ue in je)je.hasOwnProperty(ue)&&null!=je[ue]&&(P[ue]=je[ue]);return P}class ei{constructor(T,P,ue){this.styles=T,this.defaultParams=P,this.normalizer=ue}buildStyles(T,P){const ue=new Map,Fe=ct(this.defaultParams);return Object.keys(T).forEach(it=>{const It=T[it];null!==It&&(Fe[it]=It)}),this.styles.styles.forEach(it=>{"string"!=typeof it&&it.forEach((It,Et)=>{It&&(It=nt(It,Fe,P));const Qt=this.normalizer.normalizePropertyName(Et,P);It=this.normalizer.normalizeStyleValue(Et,Qt,It,P),ue.set(Et,It)})}),ue}}class tr{constructor(T,P,ue){this.name=T,this.ast=P,this._normalizer=ue,this.transitionFactories=[],this.states=new Map,P.states.forEach(Fe=>{this.states.set(Fe.name,new ei(Fe.style,Fe.options&&Fe.options.params||{},ue))}),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,Et)=>!0],options:null,queryCount:0,depCount:0},T)}(T,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(T,P,ue,Fe){return this.transitionFactories.find(It=>It.match(T,P,ue,Fe))||null}matchStyles(T,P,ue){return this.fallbackTransition.buildStyles(T,P,ue)}}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,ue){this.bodyNode=T,this._driver=P,this._normalizer=ue,this._animations=new Map,this._playersById=new Map,this.players=[]}register(T,P){const ue=[],it=$n(this._driver,P,ue,[]);if(ue.length)throw function H(je){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(T,it)}_buildPlayer(T,P,ue){const Fe=T.element,it=Ge(this._normalizer,T.keyframes,P,ue);return this._driver.animate(Fe,it,T.duration,T.delay,T.easing,[],!0)}create(T,P,ue={}){const Fe=[],it=this._animations.get(T);let It;const Et=new Map;if(it?(It=me(this._driver,P,it,ut,Pe,new Map,new Map,ue,yi,Fe),It.forEach(In=>{const Ln=_t(Et,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)}();Et.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=Et.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 ue=this.players.indexOf(P);ue>=0&&this.players.splice(ue,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,ue,Fe){const it=Nt(P,"","","");return tt(this._getPlayer(T),ue,it,Fe),()=>{}}command(T,P,ue,Fe){if("register"==ue)return void this.register(T,Fe[0]);if("create"==ue)return void this.create(T,P,Fe[0]||{});const it=this._getPlayer(T);switch(ue){case"play":it.play();break;case"pause":it.pause();break;case"reset":it.reset();break;case"restart":it.restart();break;case"finish":it.finish();break;case"init":it.init();break;case"setPosition":it.setPosition(parseFloat(Fe[0]));break;case"destroy":this.destroy(T)}}}const Ot="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 ue=T&&T.hasOwnProperty("value");if(this.value=function Ht(je){return je??null}(ue?T.value:T),ue){const it=ct(T);delete it.value,this.options=it}else this.options={};this.options.params||(this.options.params={})}absorbOptions(T){const P=T.params;if(P){const ue=this.options.params;Object.keys(P).forEach(Fe=>{null==ue[Fe]&&(ue[Fe]=P[Fe])})}}}const Ui="void",ir=new Qi(Ui);class wt{constructor(T,P,ue){this.id=T,this.hostElement=P,this._engine=ue,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+T,On(P,this._hostClassName)}listen(T,P,ue,Fe){if(!this._triggers.has(P))throw function Ee(je,T){return new n.\u0275RuntimeError(3302,!1)}();if(null==ue||0==ue.length)throw function Be(je){return new n.\u0275RuntimeError(3303,!1)}();if(!function Jt(je){return"start"==je||"done"==je}(ue))throw function G(je,T){return new n.\u0275RuntimeError(3400,!1)}();const it=_t(this._elementListeners,T,[]),It={name:P,phase:ue,callback:Fe};it.push(It);const Et=_t(this._engine.statesByElement,T,new Map);return Et.has(P)||(On(T,mt),On(T,mt+"-"+P),Et.set(P,ir)),()=>{this._engine.afterFlush(()=>{const Qt=it.indexOf(It);Qt>=0&&it.splice(Qt,1),this._triggers.has(P)||Et.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,ue,Fe=!0){const it=this._getTrigger(P),It=new gt(this.id,P,T);let Et=this._engine.statesByElement.get(T);Et||(On(T,mt),On(T,mt+"-"+P),this._engine.statesByElement.set(T,Et=new Map));let Qt=Et.get(P);const en=new Qi(ue,this.id);if(!(ue&&ue.hasOwnProperty("value"))&&Qt&&en.absorbOptions(Qt.options),Et.set(P,en),Qt||(Qt=ir),en.value!==Ui&&Qt.value===en.value){if(!function ni(je,T){const P=Object.keys(je),ue=Object.keys(T);if(P.length!=ue.length)return!1;for(let Fe=0;Fe{Q(T,Bi),V(T,qi)})}return}const pi=_t(this._engine.playersByElement,T,[]);pi.forEach(ii=>{ii.namespaceId==this.id&&ii.triggerName==P&&ii.queued&&ii.destroy()});let li=it.matchTransition(Qt.value,en.value,T,en.params),Gn=!1;if(!li){if(!Fe)return;li=it.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,Ot),It.onStart(()=>{vi(T,Ot)})),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,ue)=>{this._elementListeners.set(ue,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(ue=>ue.destroy()),this._engine.playersByElement.delete(T))}_signalRemovalForInnerTriggers(T,P){const ue=this._engine.driver.query(T,Pt,!0);ue.forEach(Fe=>{if(Fe[Li])return;const it=this._engine.fetchNamespacesByElement(Fe);it.size?it.forEach(It=>It.triggerLeaveAnimation(Fe,P,!1,!0)):this.clearElementCache(Fe)}),this._engine.afterFlushAnimationsDone(()=>ue.forEach(Fe=>this.clearElementCache(Fe)))}triggerLeaveAnimation(T,P,ue,Fe){const it=this._engine.statesByElement.get(T),It=new Map;if(it){const Et=[];if(it.forEach((Qt,en)=>{if(It.set(en,Qt.value),this._triggers.has(en)){const In=this.trigger(T,en,Ui,Fe);In&&Et.push(In)}}),Et.length)return this._engine.markElementAsRemoved(this.id,T,!0,P,It),ue&&Qe(Et).onDone(()=>this._engine.processLeaveNode(T)),!0}return!1}prepareLeaveAnimationListeners(T){const P=this._elementListeners.get(T),ue=this._engine.statesByElement.get(T);if(P&&ue){const Fe=new Set;P.forEach(it=>{const It=it.name;if(Fe.has(It))return;Fe.add(It);const Qt=this._triggers.get(It).fallbackTransition,en=ue.get(It)||ir,In=new Qi(Ui),Ln=new gt(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 ue=this._engine;if(T.childElementCount&&this._signalRemovalForInnerTriggers(T,P),this.triggerLeaveAnimation(T,P,!0))return;let Fe=!1;if(ue.totalAnimations){const it=ue.players.length?ue.playersByQueriedElement.get(T):[];if(it&&it.length)Fe=!0;else{let It=T;for(;It=It.parentNode;)if(ue.statesByElement.get(It)){Fe=!0;break}}}if(this.prepareLeaveAnimationListeners(T),Fe)ue.markElementAsRemoved(this.id,T,!1,P);else{const it=T[Li];(!it||it===ji)&&(ue.afterFlush(()=>this.clearElementCache(T)),ue.destroyInnerAnimations(T),ue._onRemovalComplete(T,P))}}insertNode(T,P){On(T,this._hostClassName)}drainQueuedTransitions(T){const P=[];return this._queue.forEach(ue=>{const Fe=ue.player;if(Fe.destroyed)return;const it=ue.element,It=this._elementListeners.get(it);It&&It.forEach(Et=>{if(Et.name==ue.triggerName){const Qt=Nt(it,ue.triggerName,ue.fromState.value,ue.toState.value);Qt._data=T,tt(ue.player,Et.phase,Qt,Et.callback)}}),Fe.markedForDestroy?this._engine.afterFlush(()=>{Fe.destroy()}):P.push(ue)}),this._queue=[],P.sort((ue,Fe)=>{const it=ue.transition.ast.depCount,It=Fe.transition.ast.depCount;return 0==it||0==It?it-It:this._engine.driver.containsElement(ue.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,ue){this.bodyNode=T,this.driver=P,this._normalizer=ue,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,it)=>{}}get queuedPlayers(){const T=[];return this._namespaceList.forEach(P=>{P.players.forEach(ue=>{ue.queued&&T.push(ue)})}),T}createNamespace(T,P){const ue=new wt(T,P,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,P)?this._balanceNamespaceList(ue,P):(this.newHostElements.set(P,ue),this.collectEnterElement(P)),this._namespaceLookup[T]=ue}_balanceNamespaceList(T,P){const ue=this._namespaceList,Fe=this.namespacesByHostElement;if(ue.length-1>=0){let It=!1,Et=this.driver.getParentElement(P);for(;Et;){const Qt=Fe.get(Et);if(Qt){const en=ue.indexOf(Qt);ue.splice(en+1,0,T),It=!0;break}Et=this.driver.getParentElement(Et)}It||ue.unshift(T)}else ue.push(T);return Fe.set(P,T),T}register(T,P){let ue=this._namespaceLookup[T];return ue||(ue=this.createNamespace(T,P)),ue}registerTrigger(T,P,ue){let Fe=this._namespaceLookup[T];Fe&&Fe.register(P,ue)&&this.totalAnimations++}destroy(T,P){T&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const ue=this._fetchNamespace(T);this.namespacesByHostElement.delete(ue.hostElement);const Fe=this._namespaceList.indexOf(ue);Fe>=0&&this._namespaceList.splice(Fe,1),ue.destroy(P),delete this._namespaceLookup[T]}))}_fetchNamespace(T){return this._namespaceLookup[T]}fetchNamespacesByElement(T){const P=new Set,ue=this.statesByElement.get(T);if(ue)for(let Fe of ue.values())if(Fe.namespaceId){const it=this._fetchNamespace(Fe.namespaceId);it&&P.add(it)}return P}trigger(T,P,ue,Fe){if(Yt(P)){const it=this._fetchNamespace(T);if(it)return it.trigger(P,ue,Fe),!0}return!1}insertNode(T,P,ue,Fe){if(!Yt(P))return;const it=P[Li];if(it&&it.setForRemoval){it.setForRemoval=!1,it.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,ue)}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,ue){if(Yt(P)){const Fe=T?this._fetchNamespace(T):null;Fe?Fe.removeNode(P,ue):this.markElementAsRemoved(T,P,!1,ue);const it=this.namespacesByHostElement.get(P);it&&it.id!==T&&it.removeNode(P,ue)}else this._onRemovalComplete(P,ue)}markElementAsRemoved(T,P,ue,Fe,it){this.collectedLeaveElements.push(P),P[Li]={namespaceId:T,setForRemoval:Fe,hasAnimation:ue,removedBeforeQueried:!1,previousTriggersValues:it}}listen(T,P,ue,Fe,it){return Yt(P)?this._fetchNamespace(T).listen(P,ue,Fe,it):()=>{}}_buildInstruction(T,P,ue,Fe,it){return T.transition.build(this.driver,T.element,T.fromState.value,T.toState.value,ue,Fe,T.fromState.options,T.toState.options,P,it)}destroyInnerAnimations(T){let P=this.driver.query(T,Pt,!0);P.forEach(ue=>this.destroyActiveAnimationsForElement(ue)),0!=this.playersByQueriedElement.size&&(P=this.driver.query(T,Gt,!0),P.forEach(ue=>this.finishActiveQueriedAnimationOnElement(ue)))}destroyActiveAnimationsForElement(T){const P=this.playersByElement.get(T);P&&P.forEach(ue=>{ue.queued?ue.markedForDestroy=!0:ue.destroy()})}finishActiveQueriedAnimationOnElement(T){const P=this.playersByQueriedElement.get(T);P&&P.forEach(ue=>ue.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 ue=this._fetchNamespace(P.namespaceId);ue&&ue.clearElementCache(T)}this._onRemovalComplete(T,P.setForRemoval)}T.classList?.contains(te)&&this.markElementAsDisabled(T,!1),this.driver.query(T,".ng-animate-disabled",!0).forEach(ue=>{this.markElementAsDisabled(ue,!1)})}flush(T=-1){let P=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ue,Fe)=>this._balanceNamespaceList(ue,Fe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ue=0;ueue()),this._flushFns=[],this._whenQuietFns.length){const ue=this._whenQuietFns;this._whenQuietFns=[],P.length?Qe(P).onDone(()=>{ue.forEach(Fe=>Fe())}):ue.forEach(Fe=>Fe())}}reportError(T){throw function ae(je){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(T,P){const ue=new ai,Fe=[],it=new Map,It=[],Et=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=ut+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=Pe+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 $t=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=$t,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,ue,L,di,mr);if(xe.errors&&xe.errors.length)return void Mr.push(xe);if(mr)return ci.onStart(()=>Q(Xi,xe.fromStyles)),ci.onDestroy(()=>V(Xi,xe.toStyles)),void Fe.push(ci);if(Qn.isFallbackTransition)return ci.onStart(()=>Q(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,ue.append(Xi,xe.timelines),It.push({instruction:xe,player:ci,element:Xi}),xe.queriedElements.forEach(ht=>_t(Et,ht,[]).push(ci)),xe.preStyleProps.forEach((ht,$t)=>{if(ht.size){let Kt=Qt.get($t);Kt||Qt.set($t,Kt=new Set),ht.forEach((Un,ki)=>Kt.add(ki))}}),xe.postStyleProps.forEach((ht,$t)=>{let Kt=en.get($t);Kt||en.set($t,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;ue.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=>{_t(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(ue.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,it,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 Q(Hn,ci.fromStyles),Qn.onDestroy(()=>V(Hn,ci.toStyles)),kr.push(Qn),In.has(Hn)&&Fe.push(Qn)}),kr.forEach(Bn=>{const Hn=it.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,ue,Fe,it){let It=[];if(P){const Et=this.playersByQueriedElement.get(T);Et&&(It=Et)}else{const Et=this.playersByElement.get(T);if(Et){const Qt=!it||it==Ui;Et.forEach(en=>{en.queued||!Qt&&en.triggerName!=Fe||It.push(en)})}}return(ue||Fe)&&(It=It.filter(Et=>!(ue&&ue!=Et.namespaceId||Fe&&Fe!=Et.triggerName))),It}_beforeAnimationBuild(T,P,ue){const it=P.element,It=P.isRemovalTransition?void 0:T,Et=P.isRemovalTransition?void 0:P.triggerName;for(const Qt of P.timelines){const en=Qt.element,In=en!==it,Ln=_t(ue,en,[]);this._getPreviousPlayers(en,In,It,Et,P.toState).forEach(li=>{const Gn=li.getRealPlayer();Gn.beforeDestroy&&Gn.beforeDestroy(),li.destroy(),Ln.push(li)})}Q(it,P.fromStyles)}_buildAnimation(T,P,ue,Fe,it,It){const Et=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}((ue.get(ii)||Pn).map(rr=>rr.getRealPlayer())).filter(rr=>!!rr.element&&rr.element===ii),sr=it.get(ii),nr=It.get(ii),Kr=Ge(this._normalizer,Gn.keyframes,sr,nr),Mr=this._buildPlayer(Gn,Kr,Ki);if(Gn.subTimeline&&Fe&&Ln.add(ii),qi){const rr=new gt(T,Et,ii);rr.setRealPlayer(Mr),en.push(rr)}return Mr});en.forEach(Gn=>{_t(this.playersByQueriedElement,Gn.element,[]).push(Gn),Gn.onDone(()=>function St(je,T,P){let ue=je.get(T);if(ue){if(ue.length){const Fe=ue.indexOf(P);ue.splice(Fe,1)}0==ue.length&&je.delete(T)}return ue}(this.playersByQueriedElement,Gn.element,Gn))}),In.forEach(Gn=>On(Gn,Ft));const li=Qe(pi);return li.onDestroy(()=>{In.forEach(Gn=>vi(Gn,Ft)),V(Qt,P.toStyles)}),Ln.forEach(Gn=>{_t(Fe,Gn,[]).push(li)}),li}_buildPlayer(T,P,ue){return P.length>0?this.driver.animate(T.element,P,T.duration,T.delay,T.easing,ue):new d.ZN(T.duration,T.delay)}}class gt{constructor(T,P,ue){this.namespaceId=T,this.triggerName=P,this.element=ue,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,ue)=>{P.forEach(Fe=>tt(T,ue,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){_t(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,ue,Fe){const it=[];P.forEach(Qt=>it.push(yn(Qt)));const It=[];ue.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 Et=0;return P.forEach(Qt=>yn(Qt,it[Et++])),It}function Vn(je,T){const P=new Map;if(je.forEach(Et=>P.set(Et,[])),0==T.length)return P;const Fe=new Set(T),it=new Map;function It(Et){if(!Et)return 1;let Qt=it.get(Et);if(Qt)return Qt;const en=Et.parentNode;return Qt=P.has(en)?en:Fe.has(en)?1:It(en),it.set(Et,Qt),Qt}return T.forEach(Et=>{const Qt=It(Et);1!==Qt&&P.get(Qt).push(Et)}),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(it)):T.set(je,ue),P.delete(je),!0}class Ii{constructor(T,P,ue){this.bodyNode=T,this._driver=P,this._normalizer=ue,this._triggerCache={},this.onRemovalComplete=(Fe,it)=>{},this._transitionEngine=new vt(T,P,ue),this._timelineEngine=new Je(T,P,ue),this._transitionEngine.onRemovalComplete=(Fe,it)=>this.onRemovalComplete(Fe,it)}registerTrigger(T,P,ue,Fe,it){const It=T+"-"+Fe;let Et=this._triggerCache[It];if(!Et){const Qt=[],In=$n(this._driver,it,Qt,[]);if(Qt.length)throw function Ae(je,T){return new n.\u0275RuntimeError(3404,!1)}();Et=function Ei(je,T,P){return new tr(je,T,P)}(Fe,In,this._normalizer),this._triggerCache[It]=Et}this._transitionEngine.registerTrigger(P,Fe,Et)}register(T,P){this._transitionEngine.register(T,P)}destroy(T,P){this._transitionEngine.destroy(T,P)}onInsert(T,P,ue,Fe){this._transitionEngine.insertNode(T,P,ue,Fe)}onRemove(T,P,ue){this._transitionEngine.removeNode(T,P,ue)}disableAnimations(T,P){this._transitionEngine.markElementAsDisabled(T,P)}process(T,P,ue,Fe){if("@"==ue.charAt(0)){const[it,It]=Bt(ue);this._timelineEngine.command(it,P,It,Fe)}else this._transitionEngine.trigger(T,P,ue,Fe)}listen(T,P,ue,Fe,it){if("@"==ue.charAt(0)){const[It,Et]=Bt(ue);return this._timelineEngine.listen(It,P,Et,it)}return this._transitionEngine.listen(T,P,ue,Fe,it)}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,ue,Fe){this._element=P,this._startStyles=ue,this._endStyles=Fe,this._state=0;let it=je.initialStylesByElement.get(P);it||je.initialStylesByElement.set(P,it=new Map),this._initialStyles=it}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&&(Q(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Q(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,ue)=>{(function Oo(je){return"display"===je||"position"===je})(ue)&&(T=T||new Map,T.set(ue,P))}),T}class jr{constructor(T,P,ue,Fe){this.element=T,this.keyframes=P,this.options=ue,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=ue.duration,this._delay=ue.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(ue=>{P.push(Object.fromEntries(ue))}),P}_triggerWebAnimation(T,P,ue){return T.animate(this._convertKeyframesToObject(P),ue)}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((ue,Fe)=>{"offset"!==Fe&&T.set(Fe,this._finished?ue:Mn(this.element,Fe))}),this.currentSnapshot=T}triggerCallback(T){const P="start"===T?this._onStartFns:this._onDoneFns;P.forEach(ue=>ue()),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 Lt(T)}query(T,P,ue){return ne(T,P,ue)}computeStyle(T,P,ue){return window.getComputedStyle(T)[P]}animate(T,P,ue,Fe,it,It=[]){const Qt={duration:ue,delay:Fe,fill:0==Fe?"both":"forwards"};it&&(Qt.easing=it);const en=new Map,In=It.filter(li=>li instanceof jr);(function xn(je,T){return 0===je||0===T})(ue,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=>Me(T)):[]}(P).map(li=>F(li));Ln=function Sn(je,T,P){if(P.size&&T.length){let ue=T[0],Fe=[];if(P.forEach((it,It)=>{ue.has(It)||Fe.push(It),ue.set(It,it)}),Fe.length)for(let it=1;itIt.set(Et,Mn(je,Et)))}}return T}(T,Ln,en);const pi=function Zi(je,T){let P=null,ue=null;return Array.isArray(T)&&T.length?(P=no(T[0]),T.length>1&&(ue=no(T[T.length-1]))):T instanceof Map&&(P=no(T)),P||ue?new Vr(je,P,ue):null}(T,Ln);return new jr(T,Ln,Qt,pi)}}var fo=a(6814);let mo=(()=>{class je extends d._j{constructor(P,ue){super(),this._nextAnimationId=0,this._renderer=P.createRenderer(ue.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(P){const ue=this._nextAnimationId.toString();this._nextAnimationId++;const Fe=Array.isArray(P)?(0,d.vP)(P):P;return ro(this._renderer,null,ue,"register",[Fe]),new po(ue,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,ue,Fe){this.id=T,this.element=P,this._renderer=Fe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ue)}_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,ue,Fe){return je.setProperty(T,`@@${P}:${ue}`,Fe)}const Ar="@.disabled";let go=(()=>{class je{constructor(P,ue,Fe){this.delegate=P,this.engine=ue,this._zone=Fe,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,ue.onRemovalComplete=(it,It)=>{const Et=It?.parentNode(it);Et&&It.removeChild(Et,it)}}createRenderer(P,ue){const it=this.delegate.createRenderer(P,ue);if(!(P&&ue&&ue.data&&ue.data.animation)){let In=this._rendererCache.get(it);return In||(In=new _o("",it,this.engine,()=>this._rendererCache.delete(it)),this._rendererCache.set(it,In)),In}const It=ue.id,Et=ue.id+"-"+this._currentId;this._currentId++,this.engine.register(Et,P);const Qt=In=>{Array.isArray(In)?In.forEach(Qt):this.engine.registerTrigger(It,Et,P,In.name,In)};return ue.data.animation.forEach(Qt),new fe(this,Et,it,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(P,ue,Fe){P>=0&&Pue(Fe)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(it=>{const[It,Et]=it;It(Et)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([ue,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,ue,Fe){this.namespaceId=T,this.delegate=P,this.engine=ue,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,ue,Fe=!0){this.delegate.insertBefore(T,P,ue),this.engine.onInsert(this.namespaceId,P,T,Fe)}removeChild(T,P,ue){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,ue,Fe){this.delegate.setAttribute(T,P,ue,Fe)}removeAttribute(T,P,ue){this.delegate.removeAttribute(T,P,ue)}addClass(T,P){this.delegate.addClass(T,P)}removeClass(T,P){this.delegate.removeClass(T,P)}setStyle(T,P,ue,Fe){this.delegate.setStyle(T,P,ue,Fe)}removeStyle(T,P,ue){this.delegate.removeStyle(T,P,ue)}setProperty(T,P,ue){"@"==P.charAt(0)&&P==Ar?this.disableAnimations(T,!!ue):this.delegate.setProperty(T,P,ue)}setValue(T,P){this.delegate.setValue(T,P)}listen(T,P,ue){return this.delegate.listen(T,P,ue)}disableAnimations(T,P){this.engine.disableAnimations(T,P)}}class fe extends _o{constructor(T,P,ue,Fe,it){super(P,ue,Fe,it),this.factory=T,this.namespaceId=P}setProperty(T,P,ue){"@"==P.charAt(0)?"."==P.charAt(1)&&P==Ar?this.disableAnimations(T,ue=void 0===ue||!!ue):this.engine.process(this.namespaceId,T,P.slice(1),ue):this.delegate.setProperty(T,P,ue)}listen(T,P,ue){if("@"==P.charAt(0)){const Fe=function le(je){switch(je){case"body":return document.body;case"document":return document;case"window":return window;default:return je}}(T);let it=P.slice(1),It="";return"@"!=it.charAt(0)&&([it,It]=function J(je){const T=je.indexOf(".");return[je.substring(0,T),je.slice(T+1)]}(it)),this.engine.listen(this.namespaceId,Fe,it,It,Et=>{this.factory.scheduleListenerCallback(Et._data||-1,ue,Et)})}return this.delegate.listen(T,P,ue)}}let We=(()=>{class je extends Ii{constructor(P,ue,Fe,it){super(P.body,ue,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:We},{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:ce},{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:()=>lt,By:()=>Pe,DomSanitizer:()=>ge,EVENT_MANAGER_PLUGINS:()=>_,EventManager:()=>l,HAMMER_GESTURE_CONFIG:()=>Ft,HAMMER_LOADER:()=>Gt,HammerGestureConfig:()=>Oe,HammerModule:()=>he,Meta:()=>at,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>ie,Title:()=>Y,TransferState:()=>Rt,VERSION:()=>be,bootstrapApplication:()=>He,createApplication:()=>Ze,disableDebugTools:()=>ut,enableDebugTools:()=>_e,makeStateKey:()=>dt,platformBrowser:()=>Bt,provideClientHydration:()=>Q,provideProtractorTestingSupport:()=>Ge,withNoDomReuse:()=>De,withNoHttpTransferCache:()=>F,\u0275BrowserDomAdapter:()=>r,\u0275BrowserGetTestability:()=>b,\u0275DomEventsPlugin:()=>Be,\u0275DomRendererFactory2:()=>Re,\u0275DomSanitizerImpl:()=>Me,\u0275HammerGesturesPlugin:()=>Ke,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>_t,\u0275KeyEventsPlugin:()=>ve,\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(nt,Ve,yt){return nt.addEventListener(Ve,yt),()=>{nt.removeEventListener(Ve,yt)}}dispatchEvent(nt,Ve){nt.dispatchEvent(Ve)}remove(nt){nt.parentNode&&nt.parentNode.removeChild(nt)}createElement(nt,Ve){return(Ve=Ve||this.getDefaultDocument()).createElement(nt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(nt){return nt.nodeType===Node.ELEMENT_NODE}isShadowRoot(nt){return nt instanceof DocumentFragment}getGlobalEventTarget(nt,Ve){return"window"===Ve?window:"document"===Ve?nt:"body"===Ve?nt.body:null}getBaseHref(nt){const Ve=function h(){return f=f||document.querySelector("base"),f?f.getAttribute("href"):null}();return null==Ve?null:function v(qe){u=u||document.createElement("a"),u.setAttribute("href",qe);const nt=u.pathname;return"/"===nt.charAt(0)?nt:`/${nt}`}(Ve)}resetBaseElement(){f=null}getUserAgent(){return window.navigator.userAgent}getCookie(nt){return(0,c.\u0275parseCookieValue)(document.cookie,nt)}}let u,f=null;class b{addToWindow(nt){n.\u0275global.getAngularTestability=(yt,At=!0)=>{const on=nt.findTestabilityInTree(yt,At);if(null==on)throw new n.\u0275RuntimeError(5103,!1);return on},n.\u0275global.getAllAngularTestabilities=()=>nt.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>nt.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(yt=>{const At=n.\u0275global.getAllAngularTestabilities();let on=At.length,xn=!1;const Sn=function(_n){xn=xn||_n,on--,0==on&&yt(xn)};At.forEach(_n=>{_n.whenStable(Sn)})})}findTestabilityInTree(nt,Ve,yt){return null==Ve?null:nt.getTestability(Ve)??(yt?(0,c.\u0275getDOM)().isShadowRoot(Ve)?this.findTestabilityInTree(nt,Ve.host,!0):this.findTestabilityInTree(nt,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(At=>{At.manager=this}),this._plugins=Ve.slice().reverse()}addEventListener(Ve,yt,At){return this._findPluginFor(yt).addEventListener(Ve,yt,At)}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(nt){this._doc=nt}}const x="ng-app-id";let D=(()=>{class qe{constructor(Ve,yt,At,on={}){this.doc=Ve,this.appId=yt,this.nonce=At,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(At=>At.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(At=>{null!=At.textContent&&yt.set(At.textContent,At)}),yt}return null}changeUsageCount(Ve,yt){const At=this.styleRef;if(At.has(Ve)){const on=At.get(Ve);return on.usage+=yt,on.usage}return At.set(Ve,{usage:yt,elements:[]}),yt}getStyleElement(Ve,yt){const At=this.styleNodesInDOM,on=At?.get(yt);if(on?.parentNode===Ve)return At.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 At=this.getStyleElement(Ve,yt);Ve.appendChild(At);const on=this.styleRef,xn=on.get(yt)?.elements;xn?xn.push(At):on.set(yt,{elements:[At],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 Ce(qe,nt){return nt.map(Ve=>Ve.replace(E,qe))}let Re=(()=>{class qe{constructor(Ve,yt,At,on,xn,Sn,_n,Mn=null){this.eventManager=Ve,this.sharedStylesHost=yt,this.appId=At,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 At=this.getOrCreateRenderer(Ve,yt);return At instanceof Ee?At.applyToHost(Ve):At instanceof we&&At.applyStyles(),At}getOrCreateRenderer(Ve,yt){const At=this.rendererByCompId;let on=At.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)}At.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(nt,Ve,yt,At){this.eventManager=nt,this.doc=Ve,this.ngZone=yt,this.platformIsServer=At,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(nt,Ve){return Ve?this.doc.createElementNS(S[Ve]||Ve,nt):this.doc.createElement(nt)}createComment(nt){return this.doc.createComment(nt)}createText(nt){return this.doc.createTextNode(nt)}appendChild(nt,Ve){(W(nt)?nt.content:nt).appendChild(Ve)}insertBefore(nt,Ve,yt){nt&&(W(nt)?nt.content:nt).insertBefore(Ve,yt)}removeChild(nt,Ve){nt&&nt.removeChild(Ve)}selectRootElement(nt,Ve){let yt="string"==typeof nt?this.doc.querySelector(nt):nt;if(!yt)throw new n.\u0275RuntimeError(-5104,!1);return Ve||(yt.textContent=""),yt}parentNode(nt){return nt.parentNode}nextSibling(nt){return nt.nextSibling}setAttribute(nt,Ve,yt,At){if(At){Ve=At+":"+Ve;const on=S[At];on?nt.setAttributeNS(on,Ve,yt):nt.setAttribute(Ve,yt)}else nt.setAttribute(Ve,yt)}removeAttribute(nt,Ve,yt){if(yt){const At=S[yt];At?nt.removeAttributeNS(At,Ve):nt.removeAttribute(`${yt}:${Ve}`)}else nt.removeAttribute(Ve)}addClass(nt,Ve){nt.classList.add(Ve)}removeClass(nt,Ve){nt.classList.remove(Ve)}setStyle(nt,Ve,yt,At){At&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?nt.style.setProperty(Ve,yt,At&n.RendererStyleFlags2.Important?"important":""):nt.style[Ve]=yt}removeStyle(nt,Ve,yt){yt&n.RendererStyleFlags2.DashCase?nt.style.removeProperty(Ve):nt.style[Ve]=""}setProperty(nt,Ve,yt){nt[Ve]=yt}setValue(nt,Ve){nt.nodeValue=Ve}listen(nt,Ve,yt){if("string"==typeof nt&&!(nt=(0,c.\u0275getDOM)().getGlobalEventTarget(this.doc,nt)))throw new Error(`Unsupported event target ${nt} for event ${Ve}`);return this.eventManager.addEventListener(nt,Ve,this.decoratePreventDefault(yt))}decoratePreventDefault(nt){return Ve=>{if("__ngUnwrap__"===Ve)return nt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>nt(Ve)):nt(Ve))&&Ve.preventDefault()}}}function W(qe){return"TEMPLATE"===qe.tagName&&void 0!==qe.content}class pe extends Ae{constructor(nt,Ve,yt,At,on,xn,Sn,_n){super(nt,on,xn,_n),this.sharedStylesHost=Ve,this.hostEl=yt,this.shadowRoot=yt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mn=Ce(At.id,At.styles);for(const xi of Mn){const fi=document.createElement("style");Sn&&fi.setAttribute("nonce",Sn),fi.textContent=xi,this.shadowRoot.appendChild(fi)}}nodeOrShadowRoot(nt){return nt===this.hostEl?this.shadowRoot:nt}appendChild(nt,Ve){return super.appendChild(this.nodeOrShadowRoot(nt),Ve)}insertBefore(nt,Ve,yt){return super.insertBefore(this.nodeOrShadowRoot(nt),Ve,yt)}removeChild(nt,Ve){return super.removeChild(this.nodeOrShadowRoot(nt),Ve)}parentNode(nt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(nt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class we extends Ae{constructor(nt,Ve,yt,At,on,xn,Sn,_n){super(nt,on,xn,Sn),this.sharedStylesHost=Ve,this.removeStylesOnCompDestroy=At,this.styles=_n?Ce(_n,yt.styles):yt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ee extends we{constructor(nt,Ve,yt,At,on,xn,Sn,_n){const Mn=At+"-"+yt.id;super(nt,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(nt){this.applyStyles(),this.setAttribute(nt,this.hostAttr,"")}createElement(nt,Ve){const yt=super.createElement(nt,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,At){return Ve.addEventListener(yt,At,!1),()=>this.removeEventListener(Ve,yt,At)}removeEventListener(Ve,yt,At){return Ve.removeEventListener(yt,At)}}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"},ae={alt:qe=>qe.altKey,control:qe=>qe.ctrlKey,meta:qe=>qe.metaKey,shift:qe=>qe.shiftKey};let ve=(()=>{class qe extends y{constructor(Ve){super(Ve)}supports(Ve){return null!=qe.parseEventName(Ve)}addEventListener(Ve,yt,At){const on=qe.parseEventName(yt),xn=qe.eventCallback(on.fullKey,At,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.\u0275getDOM)().onAndCancel(Ve,on.domEventName,xn))}static parseEventName(Ve){const yt=Ve.toLowerCase().split("."),At=yt.shift();if(0===yt.length||"keydown"!==At&&"keyup"!==At)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=At,_n.fullKey=xn,_n}static matchEventFullKeyCode(Ve,yt){let At=re[Ve.key]||Ve.key,on="";return yt.indexOf("code.")>-1&&(At=Ve.code,on="code."),!(null==At||!At)&&(At=At.toLowerCase()," "===At?At="space":"."===At&&(At="dot"),G.forEach(xn=>{xn!==At&&(0,ae[xn])(Ve)&&(on+=xn+".")}),on+=At,on===yt)}static eventCallback(Ve,yt,At){return on=>{qe.matchEventFullKeyCode(on,Ve)&&At.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,nt){return(0,n.\u0275internalCreateApplication)({rootComponent:qe,...Qe(nt)})}function Ze(qe){return(0,n.\u0275internalCreateApplication)(Qe(qe))}function Qe(qe){return{appProviders:[...Le,...qe?.providers??[]],platformProviders:_t}}function Ge(){return[...Lt]}function tt(){r.makeCurrent()}const _t=[{provide:n.PLATFORM_ID,useValue:c.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:tt,multi:!0},{provide:c.DOCUMENT,useFactory:function Nt(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Bt=(0,n.createPlatformFactory)(n.platformCore,"browser",_t),Tt=new n.InjectionToken(""),Lt=[{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 Ct(){return new n.ErrorHandler},deps:[]},{provide:_,useClass:Be,multi:!0,deps:[c.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:_,useClass:ve,multi:!0,deps:[c.DOCUMENT]},Re,D,l,{provide:n.RendererFactory2,useExisting:Re},{provide:c.XhrFactory,useClass:p,deps:[]},[]];let lt=(()=>{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,...Lt],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((At,on)=>(on&&At.push(this._getOrCreateElement(on,yt)),At),[]):[]}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 At=this.getTag(yt);return At?this._setMetaElementAttributes(Ve,At):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 At=this._dom.createElement("meta");return this._setMetaElementAttributes(Ve,At),this._doc.getElementsByTagName("head")[0].appendChild(At),At}_setMetaElementAttributes(Ve,yt){return Object.keys(Ve).forEach(At=>yt.setAttribute(this._getMetaKeyMap(At),Ve[At])),yt}_parseSelector(Ve){const yt=Ve.name?"name":"property";return`${yt}="${Ve[yt]}"`}_containsAttributes(Ve,yt){return Object.keys(Ve).every(At=>yt.getAttribute(this._getMetaKeyMap(At))===Ve[At])}_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,nt){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[qe]=nt)}const K=typeof window<"u"&&window||{};class ce{constructor(nt,Ve){this.msPerTick=nt,this.numTicks=Ve}}class Te{constructor(nt){this.appRef=nt.injector.get(n.ApplicationRef)}timeChangeDetection(nt){const Ve=nt&&nt.record,yt="Change Detection",At=null!=K.console.profile;Ve&&At&&K.console.profile(yt);const on=et();let xn=0;for(;xn<5||et()-on<500;)this.appRef.tick(),xn++;const Sn=et();Ve&&At&&K.console.profileEnd(yt);const _n=(Sn-on)/xn;return K.console.log(`ran ${xn} change detection cycles`),K.console.log(`${_n.toFixed(2)} ms per check`),new ce(_n,xn)}}function et(){return K.performance&&K.performance.now?K.performance.now():(new Date).getTime()}const Dt="profiler";function _e(qe){return ne(Dt,new Te(qe)),qe}function ut(){ne(Dt,null)}class Pe{static all(){return()=>!0}static css(nt){return Ve=>null!=Ve.nativeElement&&function mt(qe,nt){return!!(0,c.\u0275getDOM)().isElementNode(qe)&&(qe.matches&&qe.matches(nt)||qe.msMatchesSelector&&qe.msMatchesSelector(nt)||qe.webkitMatchesSelector&&qe.webkitMatchesSelector(nt))}(Ve.nativeElement,nt)}static directive(nt){return Ve=>-1!==Ve.providerTokens.indexOf(nt)}}const Pt={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},Ft=new n.InjectionToken("HammerGestureConfig"),Gt=new n.InjectionToken("HammerLoader");let Oe=(()=>{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 At in this.overrides)yt.get(At).set(this.overrides[At]);return yt}}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),Ke=(()=>{class qe extends y{constructor(Ve,yt,At,on){super(Ve),this._config=yt,this.console=At,this.loader=on,this._loaderPromise=null}supports(Ve){return!(!Pt.hasOwnProperty(Ve.toLowerCase())&&!this.isCustomEvent(Ve)||!window.Hammer&&!this.loader)}addEventListener(Ve,yt,At){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,At)):Sn=()=>{}}).catch(()=>{Sn=()=>{}})),()=>{Sn()}}return on.runOutsideAngular(()=>{const xn=this._config.buildHammer(Ve),Sn=function(_n){on.runGuarded(function(){At(_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(Ft),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(Gt,8))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),he=(()=>{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:Ke,multi:!0,deps:[c.DOCUMENT,Ft,n.\u0275Console,[new n.Optional,Gt]]},{provide:Ft,useClass:Oe,deps:[]}]}),qe})(),ge=(()=>{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(Me),yt},providedIn:"root"}),qe})(),Me=(()=>{class qe extends ge{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 ct(qe){return new Me(qe.get(c.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),yt},providedIn:"root"}),qe})();function Ye(qe,nt=[]){return{\u0275kind:qe,\u0275providers:nt}}function De(){return Ye(0)}function F(){return Ye(1)}function Q(...qe){const nt=[],Ve=new Set;for(const{\u0275providers:yt,\u0275kind:At}of qe)Ve.add(At),yt.length&&nt.push(yt);return(0,n.makeEnvironmentProviders)([[],Ve.has(0)?[]:(0,n.\u0275withDomHydration)(),Ve.has(1)?[]:(0,d.\u0275withHttpTransferCache)(),nt])}const be=new n.Version("16.1.7"),dt=n.makeStateKey,Rt=n.TransferState},5187:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ActivatedRoute:()=>Fn,ActivatedRouteSnapshot:()=>Fi,ActivationEnd:()=>jt,ActivationStart:()=>Mt,BaseRouteReuseStrategy:()=>L,ChildActivationEnd:()=>Ni,ChildActivationStart:()=>ai,ChildrenOutletContexts:()=>se,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:()=>ce,UrlTree:()=>at,VERSION:()=>ja,convertToParamMap:()=>ae,createUrlTreeFromSnapshot:()=>Ve,defaultUrlMatcher:()=>ve,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),f=a(2572),h=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),Ce=a(6424),Re=a(3572),Ae=a(2032),de=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 ae(k){return new re(k)}function ve(k,j,w){const q=w.path.split("/");if(q.length>k.length||"full"===w.pathMatch&&(j.hasChildren()||q.lengthq[rt]===Se)}return k===j}function Ge(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 Ct={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},Nt={exact:function Bt(k,j){return Ze(k,j)},subset:function Lt(k,j){return Object.keys(j).length<=Object.keys(k).length&&Object.keys(j).every(w=>Qe(k[w],j[w]))},ignored:()=>!0};function _t(k,j,w){return Ct[w.paths](k.root,j.root,w.matrixParams)&&Nt[w.queryParams](k.queryParams,j.queryParams)&&!("exact"===w.fragment&&k.fragment!==j.fragment)}function Le(k,j,w){return lt(k,j,j.segments,w)}function lt(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),rt=w.slice(k.segments.length);return!!(ne(k.segments,Se)&&ze(k.segments,Se,q)&&k.children[Be])&<(k.children[Be],j,rt,q)}}function ze(k,j,w){return j.every((q,Se)=>Nt[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=ae(this.queryParams)),this._queryParamMap}toString(){return et.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=ae(this.parameters)),this._parameterMap}toString(){return Oe(this)}}function ne(k,j){return k.length===j.length&&k.every((w,q)=>w.path===j[q].path)}let ce=(()=>{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 be(j);return new at(w.parseRootSegment(),w.parseQueryParams(),w.parseFragment())}serialize(j){const w=`/${_e(j.root,!0)}`,q=function he(k){const j=Object.keys(k).map(w=>{const q=k[w];return Array.isArray(q)?q.map(Se=>`${Pe(w)}=${Pe(Se)}`).join("&"):`${Pe(w)}=${Pe(q)}`}).filter(w=>!!w);return j.length?`?${j.join("&")}`:""}(j.queryParams);return`${w}${q}${"string"==typeof j.fragment?`#${function mt(k){return encodeURI(k)}(j.fragment)}`:""}`}}const et=new Te;function Dt(k){return k.segments.map(j=>Oe(j)).join("/")}function _e(k,j){if(!k.hasChildren())return Dt(k);if(j){const w=k.children[Be]?_e(k.children[Be],!1):"",q=[];return Object.entries(k.children).forEach(([Se,rt])=>{Se!==Be&&q.push(`${Se}:${_e(rt,!1)}`)}),q.length>0?`${w}(${q.join("//")})`:w}{const w=function K(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?[_e(k.children[Be],!1)]:[`${Se}:${_e(q,!1)}`]);return 1===Object.keys(k.children).length&&null!=k.children[Be]?`${Dt(k)}/${w[0]}`:`${Dt(k)}/(${w.join("//")})`}}function ut(k){return encodeURIComponent(k).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pe(k){return ut(k).replace(/%3B/gi,";")}function Pt(k){return ut(k).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ft(k){return decodeURIComponent(k)}function Gt(k){return Ft(k.replace(/\+/g,"%20"))}function Oe(k){return`${Pt(k.path)}${function Ke(k){return Object.keys(k).map(j=>`;${Pt(j)}=${Pt(k[j])}`).join("")}(k.parameters)}`}const ge=/^[^\/()?;#]+/;function ct(k){const j=k.match(ge);return j?j[0]:""}const Me=/^[^\/()?;=#]+/,De=/^[^=?&#]+/,V=/^[^&#]+/;class be{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=ct(this.remaining);if(""===j&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(j),new oe(Ft(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(Me);return j?j[0]:""}(this.remaining);if(!w)return;this.capture(w);let q="";if(this.consumeOptional("=")){const Se=ct(this.remaining);Se&&(q=Se,this.capture(q))}j[Ft(w)]=Ft(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 Q(k){const j=k.match(V);return j?j[0]:""}(this.remaining);st&&(q=st,this.capture(q))}const Se=Gt(w),rt=Gt(q);if(j.hasOwnProperty(Se)){let st=j[Se];Array.isArray(st)||(st=[st],j[Se]=st),st.push(rt)}else j[Se]=rt}parseParens(j){const w={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const q=ct(this.remaining),Se=this.remaining[q.length];if("/"!==Se&&")"!==Se&&";"!==Se)throw new n.\u0275RuntimeError(4010,!1);let rt;q.indexOf(":")>-1?(rt=q.slice(0,q.indexOf(":")),this.capture(rt),this.capture(":")):j&&(rt=Be);const st=this.parseChildren();w[rt]=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 dt(k){return k.segments.length>0?new N([],{[Be]:k}):k}function Rt(k){const j={};for(const q of Object.keys(k.children)){const rt=Rt(k.children[q]);if(q===Be&&0===rt.segments.length&&rt.hasChildren())for(const[st,Vt]of Object.entries(rt.children))j[st]=Vt;else(rt.segments.length>0||rt.hasChildren())&&(j[q]=rt)}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 nt(k){return k instanceof at}function Ve(k,j,w=null,q=null){return At(yt(k),j,w,q)}function yt(k){let j;const Se=dt(function w(rt){const st={};for(const hn of rt.children){const An=w(hn);st[hn.outlet]=An}const Vt=new N(rt.url,st);return rt===k&&(j=Vt),Vt}(k.root));return j??Se}function At(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 rt=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,rt,st)=>{if("object"==typeof rt&&null!=rt){if(rt.outlets){const Vt={};return Object.entries(rt.outlets).forEach(([hn,An])=>{Vt[hn]="string"==typeof An?An.split("/"):An}),[...Se,{outlets:Vt}]}if(rt.segmentPath)return[...Se,rt.segmentPath]}return"string"!=typeof rt?[...Se,rt]:0===st?(rt.split("/").forEach((Vt,hn)=>{0==hn&&"."===Vt||(0==hn&&""===Vt?w=!0:".."===Vt?j++:""!=Vt&&Se.push(Vt))}),Se):[...Se,rt]},[]);return new Mn(w,j,q)}(j);if(rt.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,rt=w;for(;rt>Se;){if(rt-=Se,q=q.parent,!q)throw new n.\u0275RuntimeError(4005,!1);Se=q.segments.length}return new fi(q,!1,Se-rt)}(w,w.segments.length-1+q,k.numberOfDoubleDots)}(rt,Se,k),Vt=st.processChildren?pt(st.segmentGroup,st.index,rt.commands):bt(st.segmentGroup,st.index,rt.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,rt={};q&&Object.entries(q).forEach(([hn,An])=>{rt[hn]=Array.isArray(An)?An.map(Kn=>`${Kn}`):`${An}`}),st=k===j?w:_n(k,j,w);const Vt=dt(Rt(st));return new at(Vt,rt,Se)}function _n(k,j,w){const q={};return Object.entries(k.children).forEach(([Se,rt])=>{q[Se]=rt===j?w:_n(rt,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!==Ge(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 bt(k,j,w){if(k||(k=new N([],{})),0===k.segments.length&&k.hasChildren())return pt(k,j,w);const q=function qt(k,j,w){let q=0,Se=j;const rt={match:!1,pathIndex:0,commandIndex:0};for(;Se=w.length)return rt;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 rt;q+=2}else{if(!Nn(hn,{},st))return rt;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[rt]=bt(k.children[rt],j,st))}),Object.entries(k.children).forEach(([rt,st])=>{void 0===q[rt]&&(Se[rt]=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,rt){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.shouldActivate=rt,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 Mt{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 se,this.attachRef=null}}let se=(()=>{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=kt(j,this._root);return w?w.children.map(q=>q.value):[]}firstChild(j){const w=kt(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 kt(k,j){if(k===j.value)return j;for(const w of j.children){const q=kt(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({}),rt=new r.X({}),st=new r.X({}),Vt=new r.X(""),hn=new Fn(q,Se,st,Vt,rt,Be,j,w.root);return hn.snapshot=w.root,new pn(new un(hn,[]),w)}class Fn{constructor(j,w,q,Se,rt,st,Vt,hn){this.urlSubject=j,this.paramsSubject=w,this.queryParamsSubject=q,this.fragmentSubject=Se,this.dataSubject=rt,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=rt}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=>ae(j)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,D.U)(j=>ae(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],rt=w[q-1];if(Se.routeConfig&&""===Se.routeConfig.path)q--;else{if(rt.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,rt,st,Vt,hn,An){this.url=j,this.params=w,this.queryParams=q,this.fragment=Se,this.data=rt,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=ae(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ae(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)(se),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===se?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,f.a)([q.queryParams,q.params,q.data]).pipe((0,S.w)(([rt,st,Vt],hn)=>(Vt={...rt,...st,...Vt},0===hn?(0,g.of)(Vt):Promise.resolve(Vt)))).subscribe(rt=>{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,rt[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 rt=k.retrieve(j.value);if(null!==rt){const st=rt.route;return st.value._futureSnapshot=j.value,st.children=j.children.map(Vt=>yi(k,Vt)),st}}const q=function Ot(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(rt=>yi(k,rt));return new un(q,Se)}}const C="ngNavigationCancelingError";function te(k,j){const{redirectTo:w,navigationBehaviorOptions:q}=nt(j)?{redirectTo:j,navigationBehaviorOptions:void 0}:j,Se=Ne(!1,0,j);return Se.url=w,Se.navigationBehaviorOptions=q,Se}function Ne(k,j,w){const q=new Error("NavigationCancelingError: "+(k||""));return q[C]=!0,q.cancellationCode=j,w&&(q.url=w),q}function ot(k){return Zt(k)&&nt(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,rt){this.routeReuseStrategy=j,this.futureState=w,this.currState=q,this.forwardEvent=Se,this.inputBindingEnabled=rt}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(rt=>{const st=rt.value.outlet;this.deactivateRoutes(rt,Se[st],q),delete Se[st]}),Object.values(Se).forEach(rt=>{this.deactivateRouteAndItsChildren(rt,q)})}deactivateRoutes(j,w,q){const Se=j.value,rt=w?w.value:null;if(Se===rt)if(Se.component){const st=q.getContext(Se.outlet);st&&this.deactivateChildRoutes(j,w,st.children)}else this.deactivateChildRoutes(j,w,q);else rt&&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,rt=gn(j);for(const st of Object.keys(rt))this.deactivateRouteAndItsChildren(rt[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,rt=gn(j);for(const st of Object.keys(rt))this.deactivateRouteAndItsChildren(rt[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(rt=>{this.activateRoutes(rt,Se[rt.value.outlet],q),this.forwardEvent(new jt(rt.value.snapshot))}),j.children.length&&this.forwardEvent(new Ni(j.value.snapshot))}activateRoutes(j,w,q){const Se=j.value,rt=w?w.value:null;if(tn(Se),Se===rt)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 rt=gn(j);return k.children.forEach(st=>{(function oi(k,j,w,q,Se={canDeactivateChecks:[],canActivateChecks:[]}){const rt=k.value,st=j?j.value:null,Vt=w?w.getContext(k.value.outlet):null;if(st&&rt.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,rt,rt.routeConfig.runGuardsAndResolvers);hn?Se.canActivateChecks.push(new On(q)):(rt.data=st.data,rt._resolvedData=st._resolvedData),ni(k,j,rt.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,rt.component?Vt?Vt.children:null:w,q,Se)})(st,rt[st.value.outlet],w,q.concat([st.value]),Se),delete rt[st.value.outlet]}),Object.entries(rt).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(([rt,st])=>{Zi(st,Se.component?j?j.children.getContext(rt):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 h.K||"EmptyError"===k?.name}const Sr=Symbol("INITIAL_VALUE");function Ar(){return(0,S.w)(k=>(0,f.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(nt(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 rt=this.createSegmentGroup(j,w.root,q,Se);return new at(rt,this.createQueryParams(w.queryParams,this.urlTree.queryParams),w.fragment)}createQueryParams(j,w){const q={};return Object.entries(j).forEach(([Se,rt])=>{if("string"==typeof rt&&rt.startsWith(":")){const Vt=rt.substring(1);q[Se]=w[Vt]}else q[Se]=rt}),q}createSegmentGroup(j,w,q,Se){const rt=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(rt,st)}createSegments(j,w,q,Se){return w.map(rt=>rt.path.startsWith(":")?this.findPosParam(j,rt,Se):this.findOrReturn(rt,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 ue={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fe(k,j,w,q,Se){const rt=it(k,j,w);return rt.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 rt=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)(rt).pipe(Ar(),dr())}(q,j,w).pipe((0,D.U)(st=>!0===st?rt:{...ue}))):(0,g.of)(rt)}function it(k,j,w){if(""===j.path)return"full"===j.pathMatch&&(k.hasChildren()||w.length>0)?{...ue}:{matched:!0,consumedSegments:[],remainingSegments:w,parameters:{},positionalParamSegments:{}};const Se=(j.matcher||ve)(w,k,j);if(!Se)return{...ue};const rt={};Object.entries(Se.posParams??{}).forEach(([Vt,hn])=>{rt[Vt]=hn.path});const st=Se.consumed.length>0?{...rt,...Se.consumed[Se.consumed.length-1].parameters}:rt;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,Et(k,0,w,q,k.children)),slicedSegments:w}:{segmentGroup:new N(k.segments,k.children),slicedSegments:w}}function Et(k,j,w,q,Se){const rt={};for(const st of q)if(Ln(k,w,st)&&!Se[Ht(st)]){const Vt=new N([],{});rt[Ht(st)]=Vt}return{...Se,...rt}}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,rt,st,Vt){this.injector=j,this.configLoader=w,this.rootComponentType=q,this.config=Se,this.urlTree=rt,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),rt=new Gi("",Se),st=Ve(q,[],this.urlTree.queryParams,this.urlTree.fragment);return st.queryParams=this.urlTree.queryParams,rt.url=this.urlSerializer.serialize(st),this.inheritParamsAndData(rt._root),{state:rt,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 rt of Object.keys(q.children))"primary"===rt?Se.unshift(rt):Se.push(rt);return(0,d.D)(Se).pipe((0,ie.b)(rt=>{const st=q.children[rt],Vt=function Yt(k,j){const w=k.filter(q=>Ht(q)===j);return w.push(...k.filter(q=>Ht(q)!==j)),w}(w,rt);return this.processSegmentGroup(j,Vt,st,rt)}),(0,Ce.R)((rt,st)=>(rt.push(...st),rt)),(0,Re.d)(null),(0,Ae.Z)(),(0,$.z)(rt=>{if(null===rt)return Rr(q);const st=Ki(rt);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,rt,st){return(0,d.D)(w).pipe((0,ie.b)(Vt=>this.processSegmentAgainstRoute(Vt._injector??j,w,Vt,q,Se,rt,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,rt)?(0,g.of)([]):Rr(q);throw Vt}))}processSegmentAgainstRoute(j,w,q,Se,rt,st,Vt){return function pi(k,j,w,q){return!!(Ht(k)===q||q!==Be&&Ln(j,w,k))&&("**"===k.path||it(j,k,w).matched)}(q,Se,rt,st)?void 0===q.redirectTo?this.matchSegmentAgainstRoute(j,Se,q,rt,st,Vt):Vt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(j,Se,w,q,rt,st):Rr(Se):Rr(Se)}expandSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st){return"**"===Se.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(j,q,Se,st):this.expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st)}expandWildCardWithParamsAgainstRouteUsingRedirect(j,w,q,Se){const rt=this.applyRedirects.applyRedirectCommands([],q.redirectTo,{});return q.redirectTo.startsWith("/")?oo(rt):this.applyRedirects.lineralizeSegments(q,rt).pipe((0,$.z)(st=>{const Vt=new N(st,{});return this.processSegment(j,w,Vt,st,Se,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st){const{matched:Vt,consumedSegments:hn,remainingSegments:An,positionalParamSegments:Kn}=it(w,Se,rt);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,rt,st){let Vt;if("**"===q.path){const hn=Se.length>0?Ge(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)===rt;return this.processSegment(Kn,An,wo,To,Io?Be:rt,!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 rt=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)(rt).pipe(Ar(),dr())}(j,w,q).pipe((0,$.z)(Se=>Se?this.configLoader.loadChildren(j,w).pipe((0,A.b)(rt=>{w._loadedRoutes=rt.routes,w._loadedInjector=rt.injector})):function T(k){return(0,p._)(Ne(!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(rt=>q.value.routeConfig===rt.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)(rt=>{this.onLoadEndListener&&this.onLoadEndListener(w),w._loadedComponent=rt}),(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 rt=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(rt,()=>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)(ce),this.rootContexts=(0,n.inject)(se),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,rt=!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,rt){return(0,$.z)(st=>function Gn(k,j,w,q,Se,rt,st="emptyOnly"){return new ii(k,j,w,q,Se,st,rt).recognize()}(k,j,w,q,st.extractedUrl,Se,rt).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:rt,canDeactivateChecks:st}}=w;return 0===st.length&&0===rt.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 rt=j&&j.routeConfig?j.routeConfig.canDeactivate:null;if(!rt||0===rt.length)return(0,g.of)(!0);const st=rt.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 le(k,j){return null!==k&&j&&j(new Mt(k)),(0,g.of)(!0)}(Se.route,q),function Xt(k,j,w){const q=j[j.length-1],rt=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)(rt).pipe(Ar())}(k,Se.path,w),function We(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(rt=>(0,v.P)(()=>{const st=Jt(j)??w,Vt=qn(rt,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,rt,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,nt(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 rt=0;return(0,d.D)(Se).pipe((0,ie.b)(st=>function xr(k,j,w,q){const Se=k.routeConfig,rt=k._resolve;return void 0!==Se?.title&&!Yr(Se)&&(rt[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 rt={};return(0,d.D)(Se).pipe((0,$.z)(st=>function yo(k,j,w,q){const Se=Jt(j)??q,rt=qn(k,Se);return tt(rt.resolve?rt.resolve(j,w):Se.runInContext(()=>rt(j,w)))}(k[st],j,w,q).pipe((0,ee.P)(),(0,A.b)(Vt=>{rt[st]=Vt}))),(0,de.h)(1),(0,H.h)(rt),(0,U.K)(st=>ro(st)?_.E:(0,p._)(st)))}(rt,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)(()=>rt++),(0,de.h)(1),(0,$.z)(st=>rt===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,f.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||rt||this.cancelNavigationTransition(q,"",1),this.currentNavigation?.id===q.id&&(this.currentNavigation=null)}),(0,U.K)(st=>{if(rt=!0,Zt(st)){ot(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),ot(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 rt=new ti(w.id,this.urlSerializer.serialize(w.extractedUrl),q,Se);this.events.next(rt),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(rt=>rt.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 $t=function(k){return k[k.COMPLETE=0]="COMPLETE",k[k.FAILED=1]="FAILED",k[k.REDIRECTING=2]="REDIRECTING",k}($t||{});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?$t.COMPLETE:w instanceof ti&&(0===w.code||1===w.code)?$t.REDIRECTING:$t.FAILED),(0,X.h)(w=>w!==$t.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)(ce),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 rt={replaceUrl:!0},st=Se?.navigationId?Se:null;if(Se){const hn={...Se};delete hn.navigationId,delete hn.\u0275routerPageId,0!==Object.keys(hn).length&&(rt.state=hn)}const Vt=this.parseUrl(w);this.scheduleNavigation(Vt,q,st,rt)}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:rt,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,...rt};break;case"preserve":Kn=this.currentUrlTree.queryParams;break;default:Kn=rt||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 At($i,w,Kn,An??null)}navigateByUrl(w,q={skipLocationChange:!1}){const Se=nt(w)?w:this.parseUrl(w),rt=this.urlHandlingStrategy.merge(Se,this.rawUrlTree);return this.scheduleNavigation(rt,wn,null,q)}navigate(w,q={skipLocationChange:!1}){return function Ji(k){for(let j=0;j{const rt=w[Se];return null!=rt&&(q[Se]=rt),q},{})}scheduleNavigation(w,q,Se,rt,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:rt,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 rt={...q.extras.state,...this.generateNgRouterState(q.id,(this.browserPageId??0)+1)};this.location.go(Se,"",rt)}}restoreHistory(w,q=!1){if("computed"===this.canceledNavigationResolution){const rt=this.currentPageId-(this.browserPageId??this.currentPageId);0!==rt?this.location.historyGo(rt):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===rt&&(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,rt,st,Vt){this.router=w,this.route=q,this.tabIndexAttribute=Se,this.renderer=rt,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,rt,st){return!!(null===this.urlTree||this.isAnchorElement&&(0!==w||q||Se||rt||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,rt=this.el.nativeElement;null!==q?Se.setAttribute(rt,w,q):Se.removeAttribute(rt,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(rt){return q.onClick(rt.button,rt.ctrlKey,rt.shiftKey,rt.altKey,rt.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,rt,st){this.router=w,this.element=q,this.renderer=Se,this.cdr=rt,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 rt;n.\u0275\u0275queryRefresh(rt=n.\u0275\u0275loadQuery())&&(q.links=rt)}},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,rt,st){this.router=w,this.injector=Se,this.preloadingStrategy=rt,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 rt of q){rt.providers&&!rt._injector&&(rt._injector=(0,n.createEnvironmentInjector)(rt.providers,w,`Route: ${rt.path}`));const st=rt._injector??w,Vt=rt._loadedInjector??st;(rt.loadChildren&&!rt._loadedRoutes&&void 0===rt.canLoad||rt.loadComponent&&!rt._loadedComponent)&&Se.push(this.preloadConfig(st,rt)),(rt.children||rt._loadedRoutes)&&Se.push(this.processRoutes(Vt,rt.children??rt._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 rt=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)([rt,st]).pipe((0,we.J)())}return rt})}}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,rt,st={}){this.urlSerializer=w,this.transitions=q,this.viewportScroller=Se,this.zone=rt,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),rt=(0,n.inject)(ce);return new Zr(rt,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),rt=j.get(dn);Kt(Se,()=>{q(!0)}),j.get(Qn).afterPreactivation=()=>(q(!0),rt.closed?(0,g.of)(void 0):rt),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:ce,useClass:Te},Jn,se,{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)(ce);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:()=>de,USE_STORE:()=>Ce});var n=a(1180),c=a(5879),d=a(2096),g=a(2664),r=a(9315),f=a(34),h=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 ae,ve,He,G=typeof Ee;if(G==typeof Be&&"object"==G){if(!Array.isArray(Ee)){if(Array.isArray(Be))return!1;for(ve in He=Object.create(null),Ee){if(!S(Ee[ve],Be[ve]))return!1;He[ve]=!0}for(ve in Be)if(!(ve in He)&&typeof Be[ve]<"u")return!1;return!0}if(!Array.isArray(Be))return!1;if((ae=Ee.length)==Be.length){for(ve=0;ve{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 ae;return ae="string"==typeof G?this.interpolateString(G,re):"function"==typeof G?this.interpolateFunction(G,re):G,ae}getValue(G,re){let ae="string"==typeof re?re.split("."):[re];re="";do{re+=ae.shift(),!E(G)||!E(G[re])||"object"!=typeof G[re]&&ae.length?ae.length?re+=".":G=void 0:(G=G[re],re="")}while(ae.length);return G}interpolateFunction(G,re){return G(re)}interpolateString(G,re){return re?G.replace(this.templateMatcher,(ae,ve)=>{let He=this.getValue(re,ve);return E(He)?He:ae}):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 Ce=new c.InjectionToken("USE_STORE"),Re=new c.InjectionToken("USE_DEFAULT_LANG"),Ae=new c.InjectionToken("DEFAULT_LANGUAGE"),de=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,ae,ve,He,Ze=!0,Qe=!1,Ge=!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=ae,this.parser=ve,this.missingTranslationHandler=He,this.useDefaultLang=Ze,this.isolate=Qe,this.extend=Ge,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(ae=>{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(ae=>{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)(ae=>this.compiler.compileTranslations(ae,G)),(0,v.d)(1),(0,u.q)(1)),this.loadingTranslations.subscribe({next:ae=>{this.translations[G]=this.extend&&this.translations[G]?{...ae,...this.translations[G]}:ae,this.updateLangs(),this.pending=!1},error:ae=>{this.pending=!1}}),re}setTranslation(G,re,ae=!1){re=this.compiler.compileTranslations(re,G),this.translations[G]=(ae||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,ae){let ve;if(re instanceof Array){let He={},Ze=!1;for(let Qe of re)He[Qe]=this.getParsedResult(G,Qe,ae),(0,g.b)(He[Qe])&&(Ze=!0);if(Ze){const Qe=re.map(Ge=>(0,g.b)(He[Ge])?He[Ge]:(0,d.of)(He[Ge]));return(0,r.D)(Qe).pipe((0,b.U)(Ge=>{let tt={};return Ge.forEach((Ct,Nt)=>{tt[re[Nt]]=Ct}),tt}))}return He}if(G&&(ve=this.parser.interpolate(this.parser.getValue(G,re),ae)),typeof ve>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ve=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],re),ae)),typeof ve>"u"){let He={key:re,translateService:this};typeof ae<"u"&&(He.interpolateParams=ae),ve=this.missingTranslationHandler.handle(He)}return typeof ve<"u"?ve: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)(ae=>(ae=this.getParsedResult(ae,G,re),(0,g.b)(ae)?ae:(0,d.of)(ae))));{let ae=this.getParsedResult(this.translations[this.currentLang],G,re);return(0,g.b)(ae)?ae:(0,d.of)(ae)}}getStreamOnTranslationChange(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,f.z)((0,h.P)(()=>this.get(G,re)),this.onTranslationChange.pipe((0,_.w)(ae=>{const ve=this.getParsedResult(ae.translations,G,re);return"function"==typeof ve.subscribe?ve:(0,d.of)(ve)})))}stream(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,f.z)((0,h.P)(()=>this.get(G,re)),this.onLangChange.pipe((0,_.w)(ae=>{const ve=this.getParsedResult(ae.translations,G,re);return(0,g.b)(ve)?ve:(0,d.of)(ve)})))}instant(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');let ae=this.getParsedResult(this.translations[this.currentLang],G,re);if((0,g.b)(ae)){if(G instanceof Array){let ve={};return G.forEach((He,Ze)=>{ve[G[Ze]]=G[Ze]}),ve}return G}return ae}set(G,re,ae=this.currentLang){this.translations[ae][G]=this.compiler.compile(re,ae),this.updateLangs(),this.onTranslationChange.emit({lang:ae,translations:this.translations[ae]})}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(Ce),c.\u0275\u0275inject(de),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,ae){(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=ae,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(ve=>{ve.lang===this.translateService.currentLang&&this.checkNodes(!0,ve.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(ve=>{this.checkNodes(!0,ve.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(ve=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(G=!1,re){let ae=this.element.nativeElement.childNodes;ae.length||(this.setContent(this.element.nativeElement,this.key),ae=this.element.nativeElement.childNodes);for(let ve=0;ve{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(ae)){let He=this.translateService.getParsedResult(ae,G,this.currentParams);(0,g.b)(He)?He.subscribe({next:ve}):ve(He)}else this.translateService.get(G,this.currentParams).subscribe(ve)}}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,ae){let ve=He=>{this.value=void 0!==He?He:G,this.lastKey=G,this._ref.markForCheck()};if(ae){let He=this.translate.getParsedResult(ae,G,re);(0,g.b)(He.subscribe)?He.subscribe(ve):ve(He)}this.translate.get(G,re).subscribe(ve)}transform(G,...re){if(!G||!G.length)return G;if(S(G,this.lastKey)&&S(re,this.lastParams))return this.value;let ae;if(E(re[0])&&re.length)if("string"==typeof re[0]&&re[0].length){let ve=re[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{ae=JSON.parse(ve)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${re[0]}`)}}else"object"==typeof re[0]&&!Array.isArray(re[0])&&(ae=re[0]);return this.lastKey=G,this.lastParams=re,this.updateValue(G,ae),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ve=>{this.lastKey&&ve.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(G,ae,ve.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ve=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,ae,ve.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,ae))})),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:Ce,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:de,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:Ce,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:de,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/",f=".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=f}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:()=>Gt,AbstractValidationHandler:()=>Qe,AuthConfig:()=>ve,DateTimeProvider:()=>Ce,DefaultHashHandler:()=>K,DefaultOAuthInterceptor:()=>Dt,HashHandler:()=>oe,JwksValidationHandler:()=>Ft,LoginOptions:()=>Ae,MemoryStorage:()=>W,NullValidationHandler:()=>ie,OAuthErrorEvent:()=>G,OAuthEvent:()=>we,OAuthInfoEvent:()=>Be,OAuthLogger:()=>de,OAuthModule:()=>mt,OAuthModuleConfig:()=>A,OAuthNoopResourceServerErrorHandler:()=>et,OAuthResourceServerConfig:()=>U,OAuthResourceServerErrorHandler:()=>Te,OAuthService:()=>ce,OAuthStorage:()=>H,OAuthSuccessEvent:()=>Ee,ReceivedTokens:()=>pe,SystemDateTimeProvider:()=>Re,UrlHelperService:()=>Ge,ValidationHandler:()=>Ze,provideOAuthClient:()=>Pe});var n=a(5861),c=a(5879),d=a(6814),g=a(9862),r=a(8645),f=a(2096),h=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(Ke){return Promise.resolve(null)}validateAtHash(Ke){return Promise.resolve(!0)}}class A{}class U{}class Ce{}let Re=(()=>{class Oe extends Ce{now(){return Date.now()}new(){return new Date}}return Oe.\u0275fac=function(){let Ke;return function(ge){return(Ke||(Ke=c.\u0275\u0275getInheritedFactory(Oe)))(ge||Oe)}}(),Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class Ae{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class de{}class H{}let W=(()=>{class Oe{constructor(){this.data=new Map}getItem(he){return this.data.get(he)}removeItem(he){this.data.delete(he)}setItem(he,ge){this.data.set(he,ge)}}return Oe.\u0275fac=function(he){return new(he||Oe)},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class pe{}class we{constructor(Ke){this.type=Ke}}class Ee extends we{constructor(Ke,he=null){super(Ke),this.info=he}}class Be extends we{constructor(Ke,he=null){super(Ke),this.info=he}}class G extends we{constructor(Ke,he,ge=null){super(Ke),this.reason=he,this.params=ge}}function re(Oe){const Ke=Oe.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(Ke).split("").map(function(he){return"%"+("00"+he.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function ae(Oe){return btoa(Oe).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ve{constructor(Ke){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=he=>{location.href=he},Ke&&Object.assign(this,Ke)}}class He{encodeKey(Ke){return encodeURIComponent(Ke)}encodeValue(Ke){return encodeURIComponent(Ke)}decodeKey(Ke){return decodeURIComponent(Ke)}decodeValue(Ke){return decodeURIComponent(Ke)}}class Ze{}class Qe{validateAtHash(Ke){var he=this;return(0,n.Z)(function*(){let ge=he.inferHashAlgorithm(Ke.idTokenHeader),ct=yield he.calcHash(Ke.accessToken,ge),Ye=ae(ct.substr(0,ct.length/2)),De=Ke.idTokenClaims.at_hash.replace(/=/g,"");return Ye!==De&&(console.error("exptected at_hash: "+Ye),console.error("actual at_hash: "+De)),Ye===De})()}inferHashAlgorithm(Ke){let he=Ke.alg;if(!he.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+he);return"sha-"+he.substr(2)}}let Ge=(()=>{class Oe{getHashFragmentParams(he){let ge=he||window.location.hash;if(ge=decodeURIComponent(ge),0!==ge.indexOf("#"))return{};const ct=ge.indexOf("?");return ge=ge.substr(ct>-1?ct+1:1),this.parseQueryString(ge)}parseQueryString(he){const ge={};let ct,Me,Ye,De,F,V,Q;if(null===he)return ge;ct=he.split("&");for(let be=0;be=64;){for(Me=Ke[0],Ye=Ke[1],De=Ke[2],F=Ke[3],V=Ke[4],Q=Ke[5],be=Ke[6],dt=Ke[7],qe=0;qe<16;qe++)nt=ge+4*qe,Oe[qe]=(255&he[nt])<<24|(255&he[nt+1])<<16|(255&he[nt+2])<<8|255&he[nt+3];for(qe=16;qe<64;qe++)Rt=Oe[qe-2],Ve=(Rt>>>17|Rt<<15)^(Rt>>>19|Rt<<13)^Rt>>>10,Rt=Oe[qe-15],yt=(Rt>>>7|Rt<<25)^(Rt>>>18|Rt<<14)^Rt>>>3,Oe[qe]=(Ve+Oe[qe-7]|0)+(yt+Oe[qe-16]|0);for(qe=0;qe<64;qe++)Ve=(((V>>>6|V<<26)^(V>>>11|V<<21)^(V>>>25|V<<7))+(V&Q^~V&be)|0)+(dt+(Nt[qe]+Oe[qe]|0)|0)|0,yt=((Me>>>2|Me<<30)^(Me>>>13|Me<<19)^(Me>>>22|Me<<10))+(Me&Ye^Me&De^Ye&De)|0,dt=be,be=Q,Q=V,V=F+Ve|0,F=De,De=Ye,Ye=Me,Me=Ve+yt|0;Ke[0]+=Me,Ke[1]+=Ye,Ke[2]+=De,Ke[3]+=F,Ke[4]+=V,Ke[5]+=Q,Ke[6]+=be,Ke[7]+=dt,ge+=64,ct-=64}return ge}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 Ke=0;Ke0){for(;this.bufferLength<64&&he>0;)this.buffer[this.bufferLength++]=Ke[ge++],he--;64===this.bufferLength&&(_t(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(he>=64&&(ge=_t(this.temp,this.state,Ke,ge,he),he%=64);he>0;)this.buffer[this.bufferLength++]=Ke[ge++],he--;return this}finish(Ke){if(!this.finished){const he=this.bytesHashed,ge=this.bufferLength,ct=he/536870912|0,Me=he<<3,Ye=he%64<56?64:128;this.buffer[ge]=128;for(let De=ge+1;De>>24&255,this.buffer[Ye-7]=ct>>>16&255,this.buffer[Ye-6]=ct>>>8&255,this.buffer[Ye-5]=ct>>>0&255,this.buffer[Ye-4]=Me>>>24&255,this.buffer[Ye-3]=Me>>>16&255,this.buffer[Ye-2]=Me>>>8&255,this.buffer[Ye-1]=Me>>>0&255,_t(this.temp,this.state,this.buffer,0,Ye),this.finished=!0}for(let he=0;he<8;he++)Ke[4*he+0]=this.state[he]>>>24&255,Ke[4*he+1]=this.state[he]>>>16&255,Ke[4*he+2]=this.state[he]>>>8&255,Ke[4*he+3]=this.state[he]>>>0&255;return this}digest(){const Ke=new Uint8Array(this.digestLength);return this.finish(Ke),Ke}_saveState(Ke){for(let he=0;he{class Oe{calcHash(he,ge){return(0,n.Z)(function*(){return function ne(Oe){var Ke,he=[];for(Ke=0;Ke{class Oe extends ve{constructor(he,ge,ct,Me,Ye,De,F,V,Q,be){super(),this.ngZone=he,this.http=ge,this.config=Ye,this.urlHelper=De,this.logger=F,this.crypto=V,this.dateTimeService=be,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=Q,Ye||(Ye={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),Me&&(this.tokenValidationHandler=Me),Ye&&this.configure(Ye);try{ct?this.setStorage(ct):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(dt){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",dt)}if(this.checkLocalStorageAccessable()){const dt=window?.navigator?.userAgent;(dt?.includes("MSIE ")||dt?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const he="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(he,he),localStorage.removeItem(he),0))}catch{return!1}}configure(he){Object.assign(this,new ve,he),this.config=Object.assign({},new ve,he),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,_.h)(he=>"token_received"===he.type)).subscribe(he=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(he={},ge,ct=!0){let Me=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,l.b)(Ye=>{"token_received"===Ye.type?Me=!0:"logout"===Ye.type&&(Me=!1)}),(0,_.h)(Ye=>"token_expires"===Ye.type&&(null==ge||"any"===ge||Ye.info===ge)),(0,y.b)(1e3)).subscribe(Ye=>{Me&&this.refreshInternal(he,ct).catch(De=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(he,ge){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(he,ge):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(he=null){return this.loadDiscoveryDocument().then(ge=>this.tryLogin(he))}loadDiscoveryDocumentAndLogin(he=null){return this.loadDiscoveryDocumentAndTryLogin(he=he||{}).then(ge=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof he.state?he.state:""),!1))}debug(...he){this.showDebugInformation&&this.logger.debug.apply(this.logger,he)}validateUrlFromDiscoveryDocument(he){const ge=[],ct=this.validateUrlForHttps(he),Me=this.validateUrlAgainstIssuer(he);return ct||ge.push("https for all urls required. Also for urls received by discovery."),Me||ge.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),ge}validateUrlForHttps(he){if(!he)return!0;const ge=he.toLowerCase();return!(!1!==this.requireHttps&&(!ge.match(/^http:\/\/localhost($|[:\/])/)&&!ge.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||ge.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(he,ge){if(!he)throw new Error(`'${ge}' should not be null`);if(!this.validateUrlForHttps(he))throw new Error(`'${ge}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(he){return!this.strictDiscoveryDocumentValidation||!he||he.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)(he=>"token_received"===he.type)).subscribe(he=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const he=this.getAccessTokenExpiration(),ge=this.getAccessTokenStoredAt(),ct=this.calcTimeout(ge,he);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,f.of)(new Be("token_expires","access_token")).pipe((0,x.g)(ct)).subscribe(Me=>{this.ngZone.run(()=>{this.eventsSubject.next(Me)})})})}setupIdTokenTimer(){const he=this.getIdTokenExpiration(),ge=this.getIdTokenStoredAt(),ct=this.calcTimeout(ge,he);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,f.of)(new Be("token_expires","id_token")).pipe((0,x.g)(ct)).subscribe(Me=>{this.ngZone.run(()=>{this.eventsSubject.next(Me)})})})}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(he,ge){const ct=this.dateTimeService.now(),Ye=Math.max(0,(ge-he)*this.timeoutFactor-(ct-he)),De=2147483647;return Ye>De?De:Ye}setStorage(he){this._storage=he,this.configChanged()}loadDiscoveryDocument(he=null){return new Promise((ge,ct)=>{he||((he=this.issuer||"").endsWith("/")||(he+="/"),he+=".well-known/openid-configuration"),this.validateUrlForHttps(he)?this.http.get(he).subscribe(Me=>{if(!this.validateDiscoveryDocument(Me))return this.eventsSubject.next(new G("discovery_document_validation_error",null)),void ct("discovery_document_validation_error");this.loginUrl=Me.authorization_endpoint,this.logoutUrl=Me.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=Me.grant_types_supported,this.issuer=Me.issuer,this.tokenEndpoint=Me.token_endpoint,this.userinfoEndpoint=Me.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=Me.jwks_uri,this.sessionCheckIFrameUrl=Me.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(Me),this.revocationEndpoint=Me.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(Ye=>{const F=new Ee("discovery_document_loaded",{discoveryDocument:Me,jwks:Ye});this.eventsSubject.next(F),ge(F)}).catch(Ye=>{this.eventsSubject.next(new G("discovery_document_load_error",Ye)),ct(Ye)})},Me=>{this.logger.error("error loading discovery document",Me),this.eventsSubject.next(new G("discovery_document_load_error",Me)),ct(Me)}):ct("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((he,ge)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(ct=>{this.jwks=ct,he(ct)},ct=>{this.logger.error("error loading jwks",ct),this.eventsSubject.next(new G("jwks_load_error",ct)),ge(ct)}):he(null)})}validateDiscoveryDocument(he){let ge;return this.skipIssuerCheck||he.issuer===this.issuer?(ge=this.validateUrlFromDiscoveryDocument(he.authorization_endpoint),ge.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.end_session_endpoint),ge.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.token_endpoint),ge.length>0&&this.logger.error("error validating token_endpoint in discovery document",ge),ge=this.validateUrlFromDiscoveryDocument(he.revocation_endpoint),ge.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",ge),ge=this.validateUrlFromDiscoveryDocument(he.userinfo_endpoint),ge.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.jwks_uri),ge.length>0?(this.logger.error("error validating jwks_uri in discovery document",ge),!1):(this.sessionChecksEnabled&&!he.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: "+he.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(he,ge,ct=new g.HttpHeaders){return this.fetchTokenUsingPasswordFlow(he,ge,ct).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((he,ge)=>{const ct=(new g.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:ct,observe:"response",responseType:"text"}).subscribe(Me=>{if(this.debug("userinfo received",JSON.stringify(Me)),Me.headers.get("content-type").startsWith("application/json")){let Ye=JSON.parse(Me.body);const De=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!De.sub||Ye.sub!==De.sub))return void ge("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")),he({info:Ye})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new Ee("user_profile_loaded")),he(JSON.parse(Me.body))},Me=>{this.logger.error("error loading user info",Me),this.eventsSubject.next(new G("user_profile_load_error",Me)),ge(Me)})})}fetchTokenUsingPasswordFlow(he,ge,ct=new g.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:he,password:ge},ct)}fetchTokenUsingGrant(he,ge,ct=new g.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let Me=new g.HttpParams({encoder:new He}).set("grant_type",he).set("scope",this.scope);if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);ct=ct.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(Me=Me.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Me=Me.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))Me=Me.set(Ye,this.customQueryParams[Ye]);for(const Ye of Object.keys(ge))Me=Me.set(Ye,ge[Ye]);return ct=ct.set("Content-Type","application/x-www-form-urlencoded"),new Promise((Ye,De)=>{this.http.post(this.tokenEndpoint,Me,{headers:ct}).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((he,ge)=>{let ct=new g.HttpParams({encoder:new He}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),Me=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);Me=Me.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(ct=ct.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ct=ct.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))ct=ct.set(Ye,this.customQueryParams[Ye]);this.http.post(this.tokenEndpoint,ct,{headers:Me}).pipe((0,D.w)(Ye=>this.oidc&&Ye.id_token?(0,h.D)(this.processIdToken(Ye.id_token,Ye.access_token,!0)).pipe((0,l.b)(De=>this.storeIdToken(De)),(0,S.U)(De=>Ye)):(0,f.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")),he(Ye)},Ye=>{this.logger.error("Error refreshing token",Ye),this.eventsSubject.next(new G("token_refresh_error",Ye)),ge(Ye)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=he=>{const ge=this.processMessageEventMessage(he);this.checkOrigin&&he.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:ge,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(ct=>this.debug("tryLogin during silent refresh failed",ct))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(he={},ge=!0){const ct=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(he.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 Me=this.document.getElementById(this.silentRefreshIFrameName);Me&&this.document.body.removeChild(Me),this.silentRefreshSubject=ct.sub;const Ye=this.document.createElement("iframe");Ye.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,ge,he).then(be=>{Ye.setAttribute("src",be),this.silentRefreshShowIFrame||(Ye.style.display="none"),this.document.body.appendChild(Ye)});const F=this.events.pipe((0,_.h)(be=>be instanceof G),(0,E.P)()),V=this.events.pipe((0,_.h)(be=>"token_received"===be.type),(0,E.P)()),Q=(0,f.of)(new G("silent_refresh_timeout",null)).pipe((0,x.g)(this.silentRefreshTimeout));return(0,u.S)([F,V,Q]).pipe((0,S.U)(be=>{if(be instanceof G)throw"silent_refresh_timeout"===be.type||(be=new G("silent_refresh_error",be)),this.eventsSubject.next(be),be;return"token_received"===be.type&&(be=new Ee("silently_refreshed"),this.eventsSubject.next(be)),be})).toPromise()}initImplicitFlowInPopup(he){return this.initLoginFlowInPopup(he)}initLoginFlowInPopup(he){return he=he||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(ge=>new Promise((ct,Me)=>{let F,De=null;he.windowRef?he.windowRef&&!he.windowRef.closed&&(De=he.windowRef,De.location.href=ge):De=window.open(ge,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(he));const V=qe=>{this.tryLogin({customHashFragment:qe,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{be(),ct(!0)},nt=>{be(),Me(nt)})};De?F=window.setInterval(()=>{(!De||De.closed)&&(be(),Me(new G("popup_closed",{})))},500):Me(new G("popup_blocked",{}));const be=()=>{window.clearInterval(F),window.removeEventListener("storage",Rt),window.removeEventListener("message",dt),null!==De&&De.close(),De=null},dt=qe=>{const nt=this.processMessageEventMessage(qe);nt&&null!==nt?(window.removeEventListener("storage",Rt),V(nt)):console.log("false event firing")},Rt=qe=>{"auth_hash"===qe.key&&(window.removeEventListener("message",dt),V(qe.newValue))};window.addEventListener("message",dt),window.addEventListener("storage",Rt)}))}calculatePopupFeatures(he){const ge=he.height||470,ct=he.width||500,Me=window.screenLeft+(window.outerWidth-ct)/2;return`location=no,toolbar=no,width=${ct},height=${ge},top=${window.screenTop+(window.outerHeight-ge)/2},left=${Me}`}processMessageEventMessage(he){let ge="#";if(this.silentRefreshMessagePrefix&&(ge+=this.silentRefreshMessagePrefix),!he||!he.data||"string"!=typeof he.data)return;const ct=he.data;return ct.startsWith(ge)?"#"+ct.substr(ge.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=he=>{const ge=he.origin.toLowerCase(),ct=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),ct.startsWith(ge)){switch(he.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",he)}else this.debug("sessionCheckEventListener","wrong origin",ge,"expected",ct,"event",he)},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(he=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new Be("session_terminated")),this.logOut(!0)):this.refreshToken().then(he=>{this.debug("token refresh after session change worked")}).catch(he=>{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)(he=>"silently_refreshed"===he.type||"silent_refresh_timeout"===he.type||"silent_refresh_error"===he.type),(0,E.P)()).subscribe(he=>{"silently_refreshed"!==he.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 he=this.document.getElementById(this.sessionCheckIFrameName);he&&this.document.body.removeChild(he);const ge=this.document.createElement("iframe");ge.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),ge.setAttribute("src",this.sessionCheckIFrameUrl),ge.style.display="none",this.document.body.appendChild(ge),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 he=this.document.getElementById(this.sessionCheckIFrameName);he||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const ge=this.getSessionState();ge||this.stopSessionCheckTimer(),he.contentWindow.postMessage(this.clientId+" "+ge,this.issuer)}createLoginUrl(he="",ge="",ct="",Me=!1,Ye={}){var De=this;return(0,n.Z)(function*(){const F=De;let V;V=ct||De.redirectUri;const Q=yield De.createAndSaveNonce();if(he=he?Q+De.config.nonceStateSeparator+encodeURIComponent(he):Q,!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 be=F.loginUrl.indexOf("?")>-1?"&":"?";let dt=F.scope;De.oidc&&!dt.match(/(^|\s)openid($|\s)/)&&(dt="openid "+dt);let Rt=F.loginUrl+be+"response_type="+encodeURIComponent(F.responseType)+"&client_id="+encodeURIComponent(F.clientId)+"&state="+encodeURIComponent(he)+"&redirect_uri="+encodeURIComponent(V)+"&scope="+encodeURIComponent(dt);if(De.responseType.includes("code")&&!De.disablePKCE){const[qe,nt]=yield De.createChallangeVerifierPairForPKCE();De.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",nt):De._storage.setItem("PKCE_verifier",nt),Rt+="&code_challenge="+qe,Rt+="&code_challenge_method=S256"}ge&&(Rt+="&login_hint="+encodeURIComponent(ge)),F.resource&&(Rt+="&resource="+encodeURIComponent(F.resource)),F.oidc&&(Rt+="&nonce="+encodeURIComponent(Q)),Me&&(Rt+="&prompt=none");for(const qe of Object.keys(Ye))Rt+="&"+encodeURIComponent(qe)+"="+encodeURIComponent(Ye[qe]);if(De.customQueryParams)for(const qe of Object.getOwnPropertyNames(De.customQueryParams))Rt+="&"+qe+"="+encodeURIComponent(De.customQueryParams[qe]);return Rt})()}initImplicitFlowInternal(he="",ge=""){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 ct={},Me=null;"string"==typeof ge?Me=ge:"object"==typeof ge&&(ct=ge),this.createLoginUrl(he,Me,null,!1,ct).then(this.config.openUri).catch(Ye=>{console.error("Error in initImplicitFlow",Ye),this.inImplicitFlow=!1})}initImplicitFlow(he="",ge=""){""!==this.loginUrl?this.initImplicitFlowInternal(he,ge):this.events.pipe((0,_.h)(ct=>"discovery_document_loaded"===ct.type)).subscribe(ct=>this.initImplicitFlowInternal(he,ge))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(he){const ge=this;if(he.onTokenReceived){const ct={idClaims:ge.getIdentityClaims(),idToken:ge.getIdToken(),accessToken:ge.getAccessToken(),state:ge.state};he.onTokenReceived(ct)}}storeAccessTokenResponse(he,ge,ct,Me,Ye){if(this._storage.setItem("access_token",he),Me&&!Array.isArray(Me)?this._storage.setItem("granted_scopes",JSON.stringify(Me.split(" "))):Me&&Array.isArray(Me)&&this._storage.setItem("granted_scopes",JSON.stringify(Me)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),ct){const De=1e3*ct,V=this.dateTimeService.new().getTime()+De;this._storage.setItem("expires_at",""+V)}ge&&this._storage.setItem("refresh_token",ge),Ye&&Ye.forEach((De,F)=>{this._storage.setItem(F,De)})}tryLogin(he=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(he).then(ge=>!0):this.tryLoginImplicitFlow(he)}parseQueryString(he){return he&&0!==he.length?("?"===he.charAt(0)&&(he=he.substr(1)),this.urlHelper.parseQueryString(he)):{}}tryLoginCodeFlow(he=null){var ge=this;return(0,n.Z)(function*(){const ct=(he=he||{}).customHashFragment?he.customHashFragment.substring(1):window.location.search,Me=ge.getCodePartsFromUrl(ct),Ye=Me.code,De=Me.state,F=Me.session_state;if(!he.preventClearHashAfterLogin){const be=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,be)}let[V,Q]=ge.parseState(De);if(ge.state=Q,Me.error){ge.debug("error trying to login"),ge.handleLoginError(he,Me);const be=new G("code_error",{},Me);return ge.eventsSubject.next(be),Promise.reject(be)}if(!he.disableNonceCheck){if(!V)return ge.saveRequestedRoute(),Promise.resolve();if(!he.disableOAuth2StateCheck&&!ge.validateNonce(V)){const dt=new G("invalid_nonce_in_state",null);return ge.eventsSubject.next(dt),Promise.reject(dt)}}return ge.storeSessionState(F),Ye&&(yield ge.getTokenFromCode(Ye,he),ge.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const he=this._storage.getItem("requested_route");he&&history.replaceState(null,"",window.location.origin+he)}getCodePartsFromUrl(he){return he&&0!==he.length?("?"===he.charAt(0)&&(he=he.substr(1)),this.urlHelper.parseQueryString(he)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(he,ge){let ct=new g.HttpParams({encoder:new He}).set("grant_type","authorization_code").set("code",he).set("redirect_uri",ge.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let Me;Me=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),Me?ct=ct.set("code_verifier",Me):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(ct,ge)}fetchAndProcessToken(he,ge){ge=ge||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let ct=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Me=btoa(`${this.clientId}:${this.dummyClientSecret}`);ct=ct.set("Authorization","Basic "+Me)}return this.useHttpBasicAuth||(he=he.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(he=he.set("client_secret",this.dummyClientSecret)),new Promise((Me,Ye)=>{if(this.customQueryParams)for(let De of Object.getOwnPropertyNames(this.customQueryParams))he=he.set(De,this.customQueryParams[De]);this.http.post(this.tokenEndpoint,he,{headers:ct}).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,ge.disableNonceCheck).then(F=>{this.storeIdToken(F),this.eventsSubject.next(new Ee("token_received")),this.eventsSubject.next(new Ee("token_refreshed")),Me(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")),Me(De))},De=>{console.error("Error getting token",De),this.eventsSubject.next(new G("token_refresh_error",De)),Ye(De)})})}tryLoginImplicitFlow(he=null){let ge;ge=(he=he||{}).customHashFragment?this.urlHelper.getHashFragmentParams(he.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",ge);const ct=ge.state;let[Me,Ye]=this.parseState(ct);if(this.state=Ye,ge.error){this.debug("error trying to login"),this.handleLoginError(he,ge);const be=new G("token_error",{},ge);return this.eventsSubject.next(be),Promise.reject(be)}const De=ge.access_token,F=ge.id_token,V=ge.session_state,Q=ge.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!De||this.requestAccessToken&&!he.disableOAuth2StateCheck&&!ct||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&&!he.disableNonceCheck&&!this.validateNonce(Me)){const dt=new G("invalid_nonce_in_state",null);return this.eventsSubject.next(dt),Promise.reject(dt)}return this.requestAccessToken&&this.storeAccessTokenResponse(De,null,ge.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Q),this.oidc?this.processIdToken(F,De,he.disableNonceCheck).then(be=>he.validationHandler?he.validationHandler({accessToken:De,idClaims:be.idTokenClaims,idToken:be.idToken,state:ct}).then(dt=>be):be).then(be=>(this.storeIdToken(be),this.storeSessionState(V),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new Ee("token_received")),this.callOnTokenReceivedIfExists(he),this.inImplicitFlow=!1,!0)).catch(be=>(this.eventsSubject.next(new G("token_validation_error",be)),this.logger.error("Error validating tokens"),this.logger.error(be),Promise.reject(be))):(this.eventsSubject.next(new Ee("token_received")),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(he),Promise.resolve(!0))}parseState(he){let ge=he,ct="";if(he){const Me=he.indexOf(this.config.nonceStateSeparator);Me>-1&&(ge=he.substr(0,Me),ct=he.substr(Me+this.config.nonceStateSeparator.length))}return[ge,ct]}validateNonce(he){let ge;return ge=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),ge===he||(console.error("Validating access_token failed, wrong state/nonce.",ge,he),!1)}storeIdToken(he){this._storage.setItem("id_token",he.idToken),this._storage.setItem("id_token_claims_obj",he.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+he.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(he){this._storage.setItem("session_state",he)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(he,ge){he.onLoginError&&he.onLoginError(ge),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(he=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:he}processIdToken(he,ge,ct=!1){const Me=he.split("."),De=re(this.padBase64(Me[0])),F=JSON.parse(De),Q=re(this.padBase64(Me[1])),be=JSON.parse(Q);let dt;if(dt=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(be.aud)){if(be.aud.every(At=>At!==this.clientId)){const At="Wrong audience: "+be.aud.join(",");return this.logger.warn(At),Promise.reject(At)}}else if(be.aud!==this.clientId){const At="Wrong audience: "+be.aud;return this.logger.warn(At),Promise.reject(At)}if(!be.sub){const At="No sub claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==be.sub){const At=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${be.sub}`;return this.logger.warn(At),Promise.reject(At)}if(!be.iat){const At="No iat claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(!this.skipIssuerCheck&&be.iss!==this.issuer){const At="Wrong issuer: "+be.iss;return this.logger.warn(At),Promise.reject(At)}if(!ct&&be.nonce!==dt){const At="Wrong nonce: "+be.nonce;return this.logger.warn(At),Promise.reject(At)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!be.at_hash){const At="An at_hash is needed!";return this.logger.warn(At),Promise.reject(At)}const Rt=this.dateTimeService.now(),qe=1e3*be.iat,nt=1e3*be.exp,Ve=this.getClockSkewInMsec();if(qe-Ve>=Rt||nt+Ve-this.decreaseExpirationBySec<=Rt){const At="Token has expired";return console.error(At),console.error({now:Rt,issuedAtMSec:qe,expiresAtMSec:nt}),Promise.reject(At)}const yt={accessToken:ge,idToken:he,jwks:this.jwks,idTokenClaims:be,idTokenHeader:F,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(yt).then(At=>({idToken:he,idTokenClaims:be,idTokenClaimsJson:Q,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:nt})):this.checkAtHash(yt).then(At=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!At){const on="Wrong at_hash";return this.logger.warn(on),Promise.reject(on)}return this.checkSignature(yt).then(on=>{const Sn={idToken:he,idTokenClaims:be,idTokenClaimsJson:Q,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:nt};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 he=this._storage.getItem("id_token_claims_obj");return he?JSON.parse(he):null}getGrantedScopes(){const he=this._storage.getItem("granted_scopes");return he?JSON.parse(he):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(he){for(;he.length%4!=0;)he+="=";return he}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 he=this._storage.getItem("expires_at"),ge=this.dateTimeService.new();return!(he&&parseInt(he,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(he)?JSON.parse(this._storage.getItem(he)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(he={},ge=""){let ct=!1;"boolean"==typeof he&&(ct=he,he={});const Me=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||ct)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(Me)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let De=new g.HttpParams({encoder:new He});Me&&(De=De.set("id_token_hint",Me));const F=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";F&&(De=De.set("post_logout_redirect_uri",F),ge&&(De=De.set("state",ge)));for(let V in he)De=De.set(V,he[V]);Ye=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+De.toString()}this.config.openUri(Ye)}createAndSaveNonce(){const he=this;return this.createNonce().then(function(ge){return he.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",ge):he._storage.setItem("nonce",ge),ge})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const he=this.document.getElementById(this.silentRefreshIFrameName);he&&he.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const ge=this.document.getElementById(this.sessionCheckIFrameName);ge&&ge.remove()}createNonce(){return new Promise(he=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const ge="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let ct=45,Me="";const Ye=typeof self>"u"?null:self.crypto||self.msCrypto;if(Ye){let De=new Uint8Array(ct);Ye.getRandomValues(De),De.map||(De.map=Array.prototype.map),De=De.map(F=>ge.charCodeAt(F%66)),Me=String.fromCharCode.apply(null,De)}else for(;0"discovery_document_loaded"===ct.type)).subscribe(ct=>this.initCodeFlowInternal(he,ge))}initCodeFlowInternal(he="",ge={}){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 ct={},Me=null;"string"==typeof ge?Me=ge:"object"==typeof ge&&(ct=ge),this.createLoginUrl(he,Me,null,!1,ct).then(this.config.openUri).catch(Ye=>{console.error("Error in initAuthorizationCodeFlow"),console.error(Ye)})}createChallangeVerifierPairForPKCE(){var he=this;return(0,n.Z)(function*(){if(!he.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const ge=yield he.createNonce();return[ae(yield he.crypto.calcHash(ge,"sha-256")),ge]})()}extractRecognizedCustomParameters(he){let ge=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(ct=>{he[ct]&&ge.set(ct,JSON.stringify(he[ct]))}),ge}revokeTokenAndLogout(he={},ge=!1){let ct=this.revocationEndpoint,Me=this.getAccessToken(),Ye=this.getRefreshToken();if(!Me)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,Q)=>{let be,dt;if(Me){let Rt=De.set("token",Me).set("token_type_hint","access_token");be=this.http.post(ct,Rt,{headers:F})}else be=(0,f.of)(null);if(Ye){let Rt=De.set("token",Ye).set("token_type_hint","refresh_token");dt=this.http.post(ct,Rt,{headers:F})}else dt=(0,f.of)(null);ge&&(be=be.pipe((0,I.K)(Rt=>0===Rt.status?(0,f.of)(null):(0,v._)(Rt))),dt=dt.pipe((0,I.K)(Rt=>0===Rt.status?(0,f.of)(null):(0,v._)(Rt)))),(0,b.a)([be,dt]).subscribe(Rt=>{this.logOut(he),V(Rt),this.logger.info("Token successfully revoked")},Rt=>{this.logger.error("Error revoking token",Rt),this.eventsSubject.next(new G("token_revoke_error",Rt)),Q(Rt)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Oe.\u0275fac=function(he){return new(he||Oe)(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(g.HttpClient),c.\u0275\u0275inject(H,8),c.\u0275\u0275inject(Ze,8),c.\u0275\u0275inject(ve,8),c.\u0275\u0275inject(Ge),c.\u0275\u0275inject(de),c.\u0275\u0275inject(oe,8),c.\u0275\u0275inject(d.DOCUMENT),c.\u0275\u0275inject(Ce))},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class Te{}class et{handleError(Ke){return(0,v._)(Ke)}}let Dt=(()=>{class Oe{constructor(he,ge,ct){this.oAuthService=he,this.errorHandler=ge,this.moduleConfig=ct}checkUrl(he){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(he):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(ge=>he.toLowerCase().startsWith(ge.toLowerCase()))}intercept(he,ge){const ct=he.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(ct)?this.moduleConfig.resourceServer.sendAccessToken?(0,p.T)((0,f.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,f.of)(null)),(0,S.U)(Ye=>this.oAuthService.getAccessToken()))).pipe((0,$.q)(1),(0,ee.z)(Ye=>{if(Ye){const F=he.headers.set("Authorization","Bearer "+Ye);he=he.clone({headers:F})}return ge.handle(he).pipe((0,I.K)(De=>this.errorHandler.handleError(De)))})):ge.handle(he).pipe((0,I.K)(Ye=>this.errorHandler.handleError(Ye))):ge.handle(he)}}return Oe.\u0275fac=function(he){return new(he||Oe)(c.\u0275\u0275inject(ce),c.\u0275\u0275inject(Te),c.\u0275\u0275inject(A,8))},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();function _e(){return console}function ut(){return typeof sessionStorage<"u"?sessionStorage:new W}function Pe(Oe=null,Ke=ie){return(0,c.makeEnvironmentProviders)([ce,Ge,{provide:de,useFactory:_e},{provide:H,useFactory:ut},{provide:Ze,useClass:Ke},{provide:oe,useClass:K},{provide:Te,useClass:et},{provide:A,useValue:Oe},{provide:g.HTTP_INTERCEPTORS,useClass:Dt,multi:!0},{provide:Ce,useClass:Re}])}let mt=(()=>{class Oe{static forRoot(he=null,ge=ie){return{ngModule:Oe,providers:[Pe(he,ge)]}}}return Oe.\u0275fac=function(he){return new(he||Oe)},Oe.\u0275mod=c.\u0275\u0275defineNgModule({type:Oe}),Oe.\u0275inj=c.\u0275\u0275defineInjector({imports:[d.CommonModule]}),Oe})();class Ft 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 Gt=new c.InjectionToken("AUTH_CONFIG")},9256:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{Base64:()=>Ze,VERSION:()=>c,atob:()=>H,atobPolyfill:()=>de,btoa:()=>S,btoaPolyfill:()=>D,btou:()=>Ae,decode:()=>Be,encode:()=>A,encodeURI:()=>U,encodeURL:()=>U,extendBuiltins:()=>He,extendString:()=>ae,extendUint8Array:()=>ve,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,f="function"==typeof TextDecoder?new TextDecoder:void 0,h="function"==typeof TextEncoder?new TextEncoder:void 0,v=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),b=(Qe=>{let Ge={};return Qe.forEach((tt,Ct)=>Ge[tt]=Ct),Ge})(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,Ge=>"+"==Ge?"-":"_"),x=Qe=>Qe.replace(/[^A-Za-z0-9\+\/]/g,""),D=Qe=>{let Ge,tt,Ct,Nt,_t="";const Bt=Qe.length%3;for(let Tt=0;Tt255||(Ct=Qe.charCodeAt(Tt++))>255||(Nt=Qe.charCodeAt(Tt++))>255)throw new TypeError("invalid character found");Ge=tt<<16|Ct<<8|Nt,_t+=v[Ge>>18&63]+v[Ge>>12&63]+v[Ge>>6&63]+v[63&Ge]}return Bt?_t.slice(0,Bt-3)+"===".substring(Bt):_t},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 Ct=0,Nt=Qe.length;CtGe?y(E(Qe)):E(Qe),X=Qe=>{if(Qe.length<2)return(Ge=Qe.charCodeAt(0))<128?Qe:Ge<2048?_(192|Ge>>>6)+_(128|63&Ge):_(224|Ge>>>12&15)+_(128|Ge>>>6&63)+_(128|63&Ge);var Ge=65536+1024*(Qe.charCodeAt(0)-55296)+(Qe.charCodeAt(1)-56320);return _(240|Ge>>>18&7)+_(128|Ge>>>12&63)+_(128|Ge>>>6&63)+_(128|63&Ge)},$=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ee=Qe=>Qe.replace($,X),ie=r?Qe=>Buffer.from(Qe,"utf8").toString("base64"):h?Qe=>E(h.encode(Qe)):Qe=>S(ee(Qe)),A=(Qe,Ge=!1)=>Ge?y(ie(Qe)):ie(Qe),U=Qe=>A(Qe,!0),Ce=/[\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(Ce,Re),de=Qe=>{if(Qe=Qe.replace(/\s+/g,""),!p.test(Qe))throw new TypeError("malformed base64.");Qe+="==".slice(2-(3&Qe.length));let Ge,Ct,Nt,tt="";for(let _t=0;_t>16&255):64===Nt?_(Ge>>16&255,Ge>>8&255):_(Ge>>16&255,Ge>>8&255,255&Ge);return tt},H=d?Qe=>atob(x(Qe)):r?Qe=>Buffer.from(Qe,"base64").toString("binary"):de,W=r?Qe=>l(Buffer.from(Qe,"base64")):Qe=>l(H(Qe).split("").map(Ge=>Ge.charCodeAt(0))),pe=Qe=>W(Ee(Qe)),we=r?Qe=>Buffer.from(Qe,"base64").toString("utf8"):f?Qe=>f.decode(W(Qe)):Qe=>Ae(H(Qe)),Ee=Qe=>x(Qe.replace(/[-_]/g,Ge=>"-"==Ge?"+":"/")),Be=Qe=>we(Ee(Qe)),G=Qe=>{if("string"!=typeof Qe)return!1;const Ge=Qe.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(Ge)||!/[^\s0-9a-zA-Z\-_]/.test(Ge)},re=Qe=>({value:Qe,enumerable:!1,writable:!0,configurable:!0}),ae=function(){const Qe=(Ge,tt)=>Object.defineProperty(String.prototype,Ge,re(tt));Qe("fromBase64",function(){return Be(this)}),Qe("toBase64",function(Ge){return A(this,Ge)}),Qe("toBase64URI",function(){return A(this,!0)}),Qe("toBase64URL",function(){return A(this,!0)}),Qe("toUint8Array",function(){return pe(this)})},ve=function(){const Qe=(Ge,tt)=>Object.defineProperty(Uint8Array.prototype,Ge,re(tt));Qe("toBase64",function(Ge){return I(this,Ge)}),Qe("toBase64URI",function(){return I(this,!0)}),Qe("toBase64URL",function(){return I(this,!0)})},He=()=>{ae(),ve()},Ze={version:n,VERSION:c,atob:H,atobPolyfill:de,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:ae,extendUint8Array:ve,extendBuiltins:He}},4028:(Ie,B,a)=>{"use strict";function n(){const c=window,d=document;var g="hljs-ln",r="hljs-ln-line",f="hljs-ln-code",h="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 de(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,ae=Be.length;re
{6}',[r,h,u,v,f,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):Ce(G.parentNode))}}function Ce(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),ae=parseInt(G.dataset.lineNumber);if(re!=ae){var ve=Be.textContent,He=G.textContent;if(re>ae){var Ze=re;re=ae,ae=Ze,Ze=ve,ve=He,He=Ze}for(;0!==Ee.indexOf(ve);)ve=ve.slice(1);for(;-1===Ee.lastIndexOf(He);)He=He.slice(0,-1);for(var Qe=ve,Ge=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),f=a(4664),h=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,de){this.doc=Re,this.platformId=Ae,this._options=de,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,f.w)(H=>this._options&&this._options.lineNumbersLoader?(Re.defaultView.hljs=H,this.loadLineNumbers().pipe((0,h.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,f.w)(Re=>this._loadLanguages(Re)))}return(0,b._)(()=>"Highlight.js library was not imported!")}_loadLanguages(Re){const Ae=Object.entries(this._options.languages).map(([de,H])=>$(H()).pipe((0,h.b)(W=>Re.registerLanguage(de,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)(Ce=>!!Ce?.default),(0,_.U)(Ce=>Ce.default));let ee=(()=>{class U{get hljs(){return this._hljs}constructor(Re,Ae){this._loader=Re,this._hljs=null,Re.ready.subscribe(de=>{this._hljs=de,Ae&&Ae.config&&(de.configure(Ae.config),de.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(Re,{language:Ae,ignoreIllegals:de}){return this._loader.ready.pipe((0,_.U)(H=>H.highlight(Re,{language:Ae,ignoreIllegals:de})))}highlightAuto(Re,Ae){return this._loader.ready.pipe((0,_.U)(de=>de.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,h.b)(de=>de.registerLanguage(Re,Ae)))}unregisterLanguage(Re){return this._loader.ready.pipe((0,h.b)(Ae=>Ae.unregisterLanguage(Re)))}registerAliases(Re,{languageName:Ae}){return this._loader.ready.pipe((0,h.b)(de=>de.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,h.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,de,H,W){this._hljs=Ae,this._sanitizer=de,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(de=>{this.setInnerHTML(de?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(de)})}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,f,h,u,v){try{var b=d[u](v),p=b.value}catch(_){return void r(_)}b.done?g(p):Promise.resolve(p).then(f,h)}function c(d){return function(){var g=this,r=arguments;return new Promise(function(f,h){var u=d.apply(g,r);function v(p){n(u,f,h,v,b,"next",p)}function b(p){n(u,f,h,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(f){return typeof f}:function(f){return f&&"function"==typeof Symbol&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f})(r)}function g(r,f,h){return(f=function d(r){var f=function c(r,f){if("object"!==n(r)||null===r)return r;var h=r[Symbol.toPrimitive];if(void 0!==h){var u=h.call(r,f||"default");if("object"!==n(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===f?String:Number)(r)}(r,"string");return"symbol"===n(f)?f:String(f)}(f))in r?Object.defineProperty(r,f,{value:h,enumerable:!0,configurable:!0,writable:!0}):r[f]=h,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.54","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 From 01ce7977e6a1b9f43a52ae5e38b33a6644ad3cde Mon Sep 17 00:00:00 2001 From: oliveregger Date: Thu, 14 Sep 2023 10:55:00 +0200 Subject: [PATCH 18/29] add patient resolve cat --- .../mag/mhd/iti65/Iti65RequestConverter.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java index 409f8e56..e94b3f5b 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java @@ -97,6 +97,8 @@ import com.sun.istack.ByteArrayDataSource; +import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.rest.client.impl.GenericClient; import ca.uhn.fhir.rest.server.exceptions.InvalidRequestException; import ch.bfh.ti.i4mi.mag.BaseRequestConverter; import ch.bfh.ti.i4mi.mag.Config; @@ -455,6 +457,23 @@ public Identifiable transformReferenceToIdentifiable(Reference reference, Domai return new Identifiable(identifier[1], new AssigningAuthority(noPrefix(identifier[0]))); } } + // try to resolved it by fetching the url + String ref = reference.getReference(); + if (ref!=null && ref.startsWith("http") && ref.contains("/Patient/")) { + String fhirBase = ref.substring(0, ref.indexOf("/Patient/")); + String patientId = ref.substring(ref.indexOf("/Patient/")+9); + GenericClient client = new GenericClient(FhirContext.forR4Cached(), null, fhirBase, null); + client.setDontValidateConformance(true); + Patient patient = client.read(Patient.class, patientId); + if (patient!=null && patient.hasIdentifier()) { + String oidString = "urn:oid:"+config.getOidMpiPid(); + for (Identifier identifier : patient.getIdentifier()) { + if (oidString.equals(identifier.getSystem())) { + return transform(identifier); + } + } + } + } } else if (reference.hasIdentifier()) { return transform(reference.getIdentifier()); } From 2d2eb24b92743c21211102dadd71d094ed00ab4e Mon Sep 17 00:00:00 2001 From: Alexander Kreutz Date: Thu, 14 Sep 2023 15:17:57 +0200 Subject: [PATCH 19/29] DocumentReference query add uuid prefix --- src/main/java/ch/bfh/ti/i4mi/mag/mhd/SchemeMapper.java | 3 +++ .../bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java | 8 ++++---- .../ch/bfh/ti/i4mi/mag/mhd/iti67/IdRequestConverter.java | 5 ++++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/SchemeMapper.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/SchemeMapper.java index dd728ef0..9020c0a4 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/SchemeMapper.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/SchemeMapper.java @@ -34,6 +34,9 @@ public class SchemeMapper { public SchemeMapper() { registerSchemeToSystem("2.16.840.1.113883.6.96", "http://snomed.info/sct"); + registerSchemeToSystem("1.3.6.1.4.1.19376.1.2.3", "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode"); + registerSchemeToSystem("2.16.840.1.113883.6.1", "http://loinc.org"); + registerSchemeToSystem("2.16.840.1.113883.5.25", "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"); } /** diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java index e94b3f5b..f37d76c4 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java @@ -724,12 +724,12 @@ private void processDocumentManifest(ListResource manifest, SubmissionSet submi */ public void processDocumentReference(DocumentReference reference, DocumentEntry entry) { - if (reference.getIdElement()!=null) { - entry.setEntryUuid(reference.getIdElement().getIdPart()); - } else { + //if (reference.getIdElement()!=null) { + // entry.setEntryUuid(reference.getIdElement().getIdPart()); + //} else { entry.assignEntryUuid(); reference.setId(entry.getEntryUuid()); - } + //} Identifier masterIdentifier = reference.getMasterIdentifier(); entry.setUniqueId(noPrefix(masterIdentifier.getValue())); diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/IdRequestConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/IdRequestConverter.java index fcaa3560..51f60417 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/IdRequestConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/IdRequestConverter.java @@ -46,7 +46,10 @@ public QueryRegistry idToGetDocumentsQuery(@Header(value = "FhirHttpUri") String if (fhirHttpUri != null && fhirHttpUri.contains("/")) { boolean getLeafClass = true; String uuid = fhirHttpUri.substring(fhirHttpUri.lastIndexOf("/") + 1); - + if (!uuid.startsWith("urn:uuid:")) { + uuid = "urn:uuid:"+uuid; + } + GetDocumentsQuery query = new GetDocumentsQuery(); final QueryRegistry queryRegistry = new QueryRegistry(query); query.setUuids(Collections.singletonList(uuid)); From f4dd6765aaddd06b6ea972a371e42f167fb5bf1a Mon Sep 17 00:00:00 2001 From: oliveregger Date: Thu, 14 Sep 2023 15:19:00 +0200 Subject: [PATCH 20/29] external patient url --- src/main/java/ch/bfh/ti/i4mi/mag/Config.java | 7 ++++++- .../mag/mhd/iti67/Iti67ResponseConverter.java | 18 ++++++++++++++++-- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/Config.java b/src/main/java/ch/bfh/ti/i4mi/mag/Config.java index 5984f7d7..d9862716 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/Config.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/Config.java @@ -175,7 +175,12 @@ public class Config { */ @Value("${mag.baseurl:}") private String baseurl; - + + @Value("${mag.extpatienturl:}") + private String extpatienturl; + + public String getUriExternalPatientEndpoint() { return extpatienturl; }; + /** * Own full URL of patient endpoint */ diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java index b8d3fc53..d8dbee0c 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java @@ -22,6 +22,7 @@ import java.util.ListIterator; import java.util.Map; +import org.hl7.fhir.r4.model.Bundle; import org.hl7.fhir.r4.model.Attachment; import org.hl7.fhir.r4.model.DocumentReference; import org.hl7.fhir.r4.model.DocumentReference.DocumentReferenceContentComponent; @@ -55,6 +56,8 @@ import org.openehealth.ipf.commons.ihe.xds.core.responses.Status; import org.owasp.esapi.codecs.Hex; +import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.rest.client.impl.GenericClient; import ch.bfh.ti.i4mi.mag.Config; import ch.bfh.ti.i4mi.mag.mhd.BaseQueryResponseConverter; @@ -154,8 +157,19 @@ public List translateToFhir(QueryResponse input, Map0) { + Reference result = new Reference(); + result.setReference(bundle.getEntry().get(0).getFullUrl()); + documentReference.setSubject(result); + } + } else { + documentReference.setSubject(transformPatient(patient)); + } } // creationTime -> date instant [0..1] From c785315300eae39add396a102b4b854e33643c21 Mon Sep 17 00:00:00 2001 From: oliveregger Date: Thu, 14 Sep 2023 15:34:09 +0200 Subject: [PATCH 21/29] add masterIdentifier.system --- .../ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java index d8dbee0c..cfe64c6f 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java @@ -122,7 +122,7 @@ public List translateToFhir(QueryResponse input, Map masterIdentifier Identifier [0..1] [1..1] if (documentEntry.getUniqueId() != null) { documentReference.setMasterIdentifier( - (new Identifier().setValue("urn:oid:" + documentEntry.getUniqueId()))); + (new Identifier().setValue("urn:oid:" + documentEntry.getUniqueId())).setSystem("urn:ietf:rfc:3986")); } // entryUUID -> identifier Identifier [0..*] From 8fdf81e707f35c9c09724bf97fab6460fd69f61b Mon Sep 17 00:00:00 2001 From: Alexander Kreutz Date: Fri, 15 Sep 2023 10:06:04 +0200 Subject: [PATCH 22/29] add uuid prefix where necessary --- .../ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java | 4 +++- .../ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65ResponseConverter.java | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java index f37d76c4..63d3e809 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java @@ -535,7 +535,9 @@ private String transformUriFromReference(Reference ref) { if (ref.hasIdentifier()) { return ref.getIdentifier().getValue(); } - return noBaseUrl(noPrefix(ref.getReference())); + String result = noBaseUrl(noPrefix(ref.getReference())); + if (!result.startsWith("urn:")) result = "urn:uuid:" + result; + return result; } /** diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65ResponseConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65ResponseConverter.java index aa6ecb44..e2d8d109 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65ResponseConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65ResponseConverter.java @@ -79,10 +79,10 @@ public Object translateToFhir(Response input, Map parameters) { + "&repositoryUniqueId=" + config.getRepositoryUniqueId()); } else if (requestEntry.getResource() instanceof ListResource) { String id = config.getSchemeMapper().getScheme(((ListResource) requestEntry.getResource()).getId()); - response.setLocation("List/"+id); + response.setLocation(config.getBaseurl()+"/fhir/List/"+id); } else if (requestEntry.getResource() instanceof DocumentReference) { String id = config.getSchemeMapper().getScheme(((DocumentReference) requestEntry.getResource()).getId()); - response.setLocation("DocumentReference/"+id); + response.setLocation(config.getBaseurl()+"/fhir/DocumentReference/"+id); } responseBundle.addEntry() .setResponse(response); From 5c6d11862a35b21600c949872fd6bc544da41052 Mon Sep 17 00:00:00 2001 From: oliveregger Date: Fri, 15 Sep 2023 10:14:12 +0200 Subject: [PATCH 23/29] add error handling iti-65 --- .../mag/mhd/iti65/Iti65RequestConverter.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java index 63d3e809..472b3bfb 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java @@ -58,6 +58,7 @@ import org.hl7.fhir.r4.model.InstantType; import org.hl7.fhir.r4.model.ListResource; import org.hl7.fhir.r4.model.ListResource.ListEntryComponent; +import org.hl7.fhir.r4.model.OperationOutcome; import org.hl7.fhir.r4.model.Organization; import org.hl7.fhir.r4.model.Patient; import org.hl7.fhir.r4.model.Period; @@ -69,6 +70,7 @@ import org.hl7.fhir.r4.model.StringType; import org.hl7.fhir.r4.model.codesystems.IdentifierUse; import org.hl7.fhir.r4.model.ContactPoint.ContactPointSystem; +import org.openehealth.ipf.commons.ihe.fhir.support.FhirUtils; import org.openehealth.ipf.commons.ihe.xds.core.metadata.AssigningAuthority; import org.openehealth.ipf.commons.ihe.xds.core.metadata.Association; import org.openehealth.ipf.commons.ihe.xds.core.metadata.AssociationType; @@ -461,6 +463,16 @@ public Identifiable transformReferenceToIdentifiable(Reference reference, Domai String ref = reference.getReference(); if (ref!=null && ref.startsWith("http") && ref.contains("/Patient/")) { String fhirBase = ref.substring(0, ref.indexOf("/Patient/")); + + if (!fhirBase.equals(config.getUriExternalPatientEndpoint())) { + throw FhirUtils.unprocessableEntity( + OperationOutcome.IssueSeverity.ERROR, + OperationOutcome.IssueType.INVALID, + null, null, + "Patient url must be in the form "+config.getUriExternalPatientEndpoint()+"/Patient/... but was "+ref + ); + } + String patientId = ref.substring(ref.indexOf("/Patient/")+9); GenericClient client = new GenericClient(FhirContext.forR4Cached(), null, fhirBase, null); client.setDontValidateConformance(true); @@ -473,6 +485,14 @@ public Identifiable transformReferenceToIdentifiable(Reference reference, Domai } } } + + throw FhirUtils.unprocessableEntity( + OperationOutcome.IssueSeverity.ERROR, + OperationOutcome.IssueType.INVALID, + null, null, + "Patient not found or or no identifier for affinity domain "+ref+" "+config.getOidMpiPid() + ); + } } else if (reference.hasIdentifier()) { return transform(reference.getIdentifier()); From d8ee861769bb07742a2f97a4e92ae0abd54d5ce1 Mon Sep 17 00:00:00 2001 From: Alexander Kreutz Date: Fri, 15 Sep 2023 11:21:55 +0200 Subject: [PATCH 24/29] fix status codes for errors --- .../mag/mhd/iti65/Iti65RequestConverter.java | 102 +++---------- .../commons/ihe/fhir/SharedFhirProvider.java | 139 ++++++++++++++++++ 2 files changed, 160 insertions(+), 81 deletions(-) create mode 100644 src/main/java/org/openehealth/ipf/commons/ihe/fhir/SharedFhirProvider.java diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java index 472b3bfb..3634f2f0 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti65/Iti65RequestConverter.java @@ -465,7 +465,7 @@ public Identifiable transformReferenceToIdentifiable(Reference reference, Domai String fhirBase = ref.substring(0, ref.indexOf("/Patient/")); if (!fhirBase.equals(config.getUriExternalPatientEndpoint())) { - throw FhirUtils.unprocessableEntity( + throw FhirUtils.invalidRequest( OperationOutcome.IssueSeverity.ERROR, OperationOutcome.IssueType.INVALID, null, null, @@ -486,7 +486,7 @@ public Identifiable transformReferenceToIdentifiable(Reference reference, Domai } } - throw FhirUtils.unprocessableEntity( + throw FhirUtils.invalidRequest( OperationOutcome.IssueSeverity.ERROR, OperationOutcome.IssueType.INVALID, null, null, @@ -560,84 +560,6 @@ private String transformUriFromReference(Reference ref) { return result; } - /** - * ITI-65: process DocumentManifest resource from Bundle - * @param manifest - * @param submissionSet - */ - private void processDocumentManifest(DocumentManifest manifest, SubmissionSet submissionSet) { - // masterIdentifier SubmissionSet.uniqueId - Identifier masterIdentifier = manifest.getMasterIdentifier(); - submissionSet.setUniqueId(noPrefix(masterIdentifier.getValue())); - - - submissionSet.assignEntryUuid(); - manifest.setId(submissionSet.getEntryUuid()); - - CodeableConcept type = manifest.getType(); - submissionSet.setContentTypeCode(transformCodeableConcept(type)); - - DateTimeType created = manifest.getCreatedElement(); - submissionSet.setSubmissionTime(timestampFromDate(created)); - - // subject SubmissionSet.patientId - Reference ref = manifest.getSubject(); - submissionSet.setPatientId(transformReferenceToIdentifiable(ref, manifest)); - - // Author - Extension authorRoleExt = manifest.getExtensionByUrl("http://fhir.ch/ig/ch-epr-mhealth/StructureDefinition/ch-ext-author-authorrole"); - if (manifest.hasAuthor() || (authorRoleExt!=null)) { - Identifiable identifiable = null; - Reference author = manifest.getAuthorFirstRep(); - if (authorRoleExt!=null) { - Coding coding = authorRoleExt.castToCoding(authorRoleExt.getValue()); - if (coding !=null) { - identifiable = new Identifiable(coding.getCode(), new AssigningAuthority(noPrefix(coding.getSystem()))); - } - } - submissionSet.setAuthor(transformAuthor(author, manifest.getContained(), identifiable)); - } - // recipient SubmissionSet.intendedRecipient - for (Reference recipientRef : manifest.getRecipient()) { - Resource res = findResource(recipientRef, manifest.getContained()); - - if (res instanceof Practitioner) { - Recipient recipient = new Recipient(); - recipient.setPerson(transform((Practitioner) res)); - recipient.setTelecom(transform(((Practitioner) res).getTelecomFirstRep())); - submissionSet.getIntendedRecipients().add(recipient); - } else if (res instanceof Organization) { - Recipient recipient = new Recipient(); - recipient.setOrganization(transform((Organization) res)); - recipient.setTelecom(transform(((Organization) res).getTelecomFirstRep())); - submissionSet.getIntendedRecipients().add(recipient); - } else if (res instanceof PractitionerRole) { - Recipient recipient = new Recipient(); - PractitionerRole role = (PractitionerRole) res; - recipient.setOrganization(transform((Organization) findResource(role.getOrganization(), manifest.getContained()))); - recipient.setPerson(transform((Practitioner) findResource(role.getPractitioner(), manifest.getContained()))); - recipient.setTelecom(transform(role.getTelecomFirstRep())); - submissionSet.getIntendedRecipients().add(recipient); - } else if (res instanceof Patient) { - Recipient recipient = new Recipient(); - recipient.setPerson(transform((Patient) res)); - recipient.setTelecom(transform(((Patient) res).getTelecomFirstRep())); - } else if (res instanceof RelatedPerson) { - Recipient recipient = new Recipient(); - recipient.setPerson(transform((RelatedPerson) res)); - recipient.setTelecom(transform(((RelatedPerson) res).getTelecomFirstRep())); - } - - } - - // source SubmissionSet.sourceId - String source = noPrefix(manifest.getSource()); - submissionSet.setSourceId(source); - - String description = manifest.getDescription(); - if (description!=null) submissionSet.setTitle(localizedString(description)); - - } /** * ITI-65: process ListResource resource from Bundle @@ -654,7 +576,12 @@ private void processDocumentManifest(ListResource manifest, SubmissionSet submi submissionSet.setUniqueId(uniqueId); } } - + if (submissionSet.getUniqueId() == null) throw FhirUtils.invalidRequest( + OperationOutcome.IssueSeverity.ERROR, + OperationOutcome.IssueType.INVALID, + null, null, + "List.identifier with use usual missing" + ); submissionSet.assignEntryUuid(); manifest.setId(submissionSet.getEntryUuid()); @@ -666,6 +593,13 @@ private void processDocumentManifest(ListResource manifest, SubmissionSet submi } DateTimeType created = manifest.getDateElement(); + + if (created == null || !created.hasValue()) throw FhirUtils.invalidRequest( + OperationOutcome.IssueSeverity.ERROR, + OperationOutcome.IssueType.INVALID, + null, null, + "List.date missing" + ); submissionSet.setSubmissionTime(timestampFromDate(created)); // subject SubmissionSet.patientId @@ -753,6 +687,12 @@ public void processDocumentReference(DocumentReference reference, DocumentEntry reference.setId(entry.getEntryUuid()); //} Identifier masterIdentifier = reference.getMasterIdentifier(); + if (masterIdentifier == null || !masterIdentifier.hasValue() || masterIdentifier.getValue() == null || masterIdentifier.getValue().length() == 0) throw FhirUtils.invalidRequest( + OperationOutcome.IssueSeverity.ERROR, + OperationOutcome.IssueType.INVALID, + null, null, + "DocumentReference.masterIdentifier missing" + ); entry.setUniqueId(noPrefix(masterIdentifier.getValue())); // limitedMetadata -> meta.profile canonical [0..*] diff --git a/src/main/java/org/openehealth/ipf/commons/ihe/fhir/SharedFhirProvider.java b/src/main/java/org/openehealth/ipf/commons/ihe/fhir/SharedFhirProvider.java new file mode 100644 index 00000000..01dce292 --- /dev/null +++ b/src/main/java/org/openehealth/ipf/commons/ihe/fhir/SharedFhirProvider.java @@ -0,0 +1,139 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.openehealth.ipf.commons.ihe.fhir; + +import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.rest.api.server.RequestDetails; +import ca.uhn.fhir.rest.server.exceptions.InvalidRequestException; +import org.hl7.fhir.instance.model.api.IBaseBundle; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.util.ArrayList; +import java.util.List; +import java.util.Optional; + +/** + * Shared Resource provider, primarily (but not exclusively) meant for batch/transaction requests. + * Use this resource provider if you have several consumers that share the same FHIR interface. + * The request is dispatched to the first consumer that returns true on {@link RequestConsumer#test(RequestDetails)}. + *

+ * Components/Endpoints that use this resource provider must reference a (shared) singleton instance of a + * concrete implementation of this class. + *

+ *

+ * Request consumers must share the same {@link FhirContext} instance. + *

+ * + * @author Christian Ohr + */ +public abstract class SharedFhirProvider extends FhirProvider { + + private static final Logger LOG = LoggerFactory.getLogger(SharedFhirProvider.class); + + private FhirContext fhirContext; + private final List consumers = new ArrayList<>(); + + @Override + protected FhirContext getFhirContext() { + return fhirContext; + } + + @Override + protected Optional getRequestConsumer(RequestDetails requestDetails) { + return consumers.stream() + .filter(c -> c.test(requestDetails)) + .findFirst(); + } + + /** + * @return true if the first consumer has been added, false otherwise + */ + @Override + public boolean requiresRegistration() { + return consumers.size() == 1; + } + + /** + * @return false if the last consumer has been removed, false otherwise + */ + @Override + public boolean requiresDeregistration() { + return consumers.isEmpty(); + } + + /** + * Submits a transaction request bundle, expecting a corresponding response bundle + * + * @param payload transaction bundle + * @param httpServletRequest servlet request + * @param httpServletResponse servlet response + * @return result of processing + */ + protected final T requestTransaction( + Object payload, + Class bundleClass, + HttpServletRequest httpServletRequest, + HttpServletResponse httpServletResponse, + RequestDetails requestDetails) { + var consumer = getRequestConsumer(requestDetails).orElseThrow(() -> + new InvalidRequestException("Request does not match any consumer or consumers are not initialized")); + var headers = enrichParameters(null, httpServletRequest, requestDetails); + return consumer.handleTransactionRequest(payload, headers, bundleClass); + } + + /** + * Adds a request consumer for this resource provider + * + * @param consumer request consumer + * @throws IllegalStateException if the consumer is already present or if the FhirContext + * is different compared to the FhirContext of the other consumers. + */ + @Override + public void setConsumer(RequestConsumer consumer) { + if (consumers.isEmpty()) { + this.fhirContext = consumer.getFhirContext(); + } else if (consumers.contains(consumer)) { + throw new IllegalStateException("This provider has this consumer already registered: " + consumer); + } else if (conflictingFhirContext(consumer.getFhirContext())) { + throw new IllegalStateException("Consumer has a different FhirContext than the others: " + consumer); + } + consumers.add(consumer); + LOG.info("Connected consumer {} to provider {}", consumer, this); + } + + boolean conflictingFhirContext(FhirContext otherFhirContext) { + return fhirContext != otherFhirContext; + } + + /** + * Removes the request consumer. If the consumer was not registered, this method does nothing. + * + * @param consumer request consumer + */ + @Override + public void unsetConsumer(RequestConsumer consumer) { + if (consumers.remove(consumer)) { + LOG.info("Disconnected consumer {} from provider {}", consumer, this); + } + if (consumers.isEmpty()) { + fhirContext = null; + } + } +} From c9b3938e6a97b4acf87afbae412213ab145fa193 Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Fri, 10 Nov 2023 11:14:57 +0100 Subject: [PATCH 25/29] v59 --- README.md | 2 +- angular/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 12b2cdbe..9625689a 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ To create a new docker image run: ``` mvn clean package -docker build -t mag:v030 . +docker build -t mag:v059 . ``` Where "mag" is the image name and v030 is the version. Then push to a registry. diff --git a/angular/package.json b/angular/package.json index 985b986a..0b85466d 100644 --- a/angular/package.json +++ b/angular/package.json @@ -1,6 +1,6 @@ { "name": "mag-client", - "version": "2.5.54", + "version": "2.5.59", "license": "MIT", "scripts": { "ng": "ng", From f4d0628d03659620fb575663aa75eed3334a6745 Mon Sep 17 00:00:00 2001 From: qligier Date: Fri, 10 Nov 2023 10:16:41 +0000 Subject: [PATCH 26/29] Rebuild the Angular GUI resources --- src/main/resources/static/index.html | 2 +- .../{main.d1e24de555320799.js => main.078c2d859a9dc644.js} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/main/resources/static/{main.d1e24de555320799.js => main.078c2d859a9dc644.js} (99%) diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index 83ab0c72..6a211686 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.d1e24de555320799.js b/src/main/resources/static/main.078c2d859a9dc644.js similarity index 99% rename from src/main/resources/static/main.d1e24de555320799.js rename to src/main/resources/static/main.078c2d859a9dc644.js index a5c91798..829ee28d 100644 --- a/src/main/resources/static/main.d1e24de555320799.js +++ b/src/main/resources/static/main.078c2d859a9dc644.js @@ -1 +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(f){if(0===c.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==f)this.assignZero();else if(f instanceof Array){if(f.length!==c.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(f)}`);this.dimVec_=[];for(let h=0;h=c.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[f]=1}}setElementAt(f,h){if(!d(f)||f<0||f>=c.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${f})`);this.dimVec_||this.assignZero(),null==h&&(h=1),this.dimVec_[f]=h}getElementAt(f){if(!d(f)||f<0||f>=c.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${f})`);let h=null;return this.dimVec_&&(h=this.dimVec_[f]),h}getProperty(f){return this["_"===f.charAt(f.length-1)?f:f+"_"]}toString(){let f=null;return this.dimVec_&&(f="["+this.dimVec_.join(", ")+"]"),f}add(f){if(!f instanceof g)throw new Error(`Dimension.add called with an invalid parameter - ${typeof f} instead of a Dimension object`);if(this.dimVec_&&f.dimVec_)for(let h=0;h{"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(f.bind(null,p))}return v.data}return v};function g(v){return v.map(b=>Array.isArray(b)?b:[b])}function f(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_),f=r.length;for(let h=0;h{"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 f=""+r;return!isNaN(f)&&!isNaN(parseFloat(f))},B.isIntegerUnit=function d(r){return/^\d+$/.test(r)},B.getSynonyms=function g(r){let f={},u={};if(u=n.getInstance().getUnitBySynonym(r),u.units){f.status="succeeded";let v=u.units.length;f.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 f{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 f=a(9473).Ucum,h=a(7894).UnitTables,u=a(4206).T;class v{constructor(){0===h.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==f.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=h.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=h.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,f=a(9473).Ucum,h=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 h:void 0!==_.dim_.dimVec_?new h(_.dim_.dimVec_):_.dim_ instanceof h?_.dim_:_.dim_ instanceof Array||v(_.dim_)?new h(_.dim_):new h,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 h),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,f=a(5744).Unit,h=a(7894).UnitTables,u=a(8902).PrefixTables;class v{constructor(){this.utabs_=h.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 f({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 f({csCode_:x,magnitude_:x,name_:x}):x.csCode_=p:x=new f({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_:Ce+""+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 f({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(f){f.name_&&this.addUnitName(f),this.addUnitCode(f),this.addUnitString(f);try{f.dim_.getProperty("dimVec_")&&this.addUnitDimension(f)}catch{}}addUnitName(f){let h=f.name_;if(!h)throw new Error(`UnitTables.addUnitName called for a unit with no name. Unit code = ${f.csCode_}.`);this.unitNames_[h]?this.unitNames_[h].push(f):this.unitNames_[h]=[f]}addUnitCode(f){let h=f.csCode_;if(!h)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[h])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${h}`);if(this.unitCodes_[h]=f,this.codeOrder_.push(h),"g"==h){let u=f.dim_.dimVec_,v=0;for(;v=1&&(u=f.substr(h+n.codeSep_.length),f=f.substr(0,h));let v=this.unitNames_[f];if(v){let b=v.length;if(u&&b>1){let p=0;for(;v[p].csCode_!==u&&p0&&(u+=h),"dim_"===f[D])u+=null!=x.dim_&&x.dim_.dimVec_ instanceof Array?"["+x.dim_.dimVec_.join(",")+"]":"";else{let S=x[f[D]];u+="string"==typeof S?S.replace(/[\n\r]/g," "):S}u+="\r\n"}}return u}printUnits(f,h){void 0===f&&(f=!1),void 0===h&&(h="|");let u="",v=this.codeOrder_.length,b="csCode"+h;f&&(b+="ciCode"+h),b+="name"+h,f&&(b+="isBase"+h),b+="magnitude"+h+"dimension"+h+"from unit(s)"+h+"value"+h+"function"+h,f&&(b+="property"+h+"printSymbol"+h+"synonyms"+h+"source"+h+"class"+h+"isMetric"+h+"variable"+h+"isSpecial"+h+"isAbitrary"+h),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),g=(a(7088),a(9515),n.__importStar(a(5879))),r=n.__importStar(a(9515)),f=n.__importStar(a(7088)),h=n.__importStar(a(4505)),u=n.__importStar(a(617)),v=n.__importStar(a(6718)),b=n.__importStar(a(1274)),p=n.__importStar(a(5187));B.AppComponent=(()=>{class l{constructor(x,D){x.setDefaultLang("de"),x.use(x.getBrowserLang());let S=location.href;S.indexOf("#")>0?S=S.substring(0,S.indexOf("#")-1)+"/fhir":S+="fhir",console.log("note: using fhir base "+S),D.changeMagMicroService(S)}}return l.\u0275fac=function(x){return new(x||l)(g.\u0275\u0275directiveInject(r.TranslateService),g.\u0275\u0275directiveInject(f.FhirConfigService))},l.\u0275cmp=g.\u0275\u0275defineComponent({type:l,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(x,D){if(1&x&&(g.\u0275\u0275elementStart(0,"mat-toolbar",0)(1,"div",1)(2,"div",2),g.\u0275\u0275element(3,"img",3),g.\u0275\u0275elementEnd()(),g.\u0275\u0275element(4,"span",4),g.\u0275\u0275elementStart(5,"span")(6,"button",5)(7,"mat-icon"),g.\u0275\u0275text(8,"more_vert"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(9,"mat-menu",null,6)(11,"button",7)(12,"mat-icon"),g.\u0275\u0275text(13,"home"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(14,"span"),g.\u0275\u0275text(15,"Home"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(16,"button",8)(17,"mat-icon"),g.\u0275\u0275text(18,"info"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(19,"span"),g.\u0275\u0275text(20,"CapabilityStatement"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(21,"button",9)(22,"mat-icon"),g.\u0275\u0275text(23,"search"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(24,"span"),g.\u0275\u0275text(25,"Mobile Access Gateway ..."),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(26,"button",10)(27,"mat-icon"),g.\u0275\u0275text(28,"people"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(29,"span"),g.\u0275\u0275text(30,"search Patients ..."),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(31,"button",11)(32,"mat-icon"),g.\u0275\u0275text(33,"settings"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(34,"span"),g.\u0275\u0275text(35,"Settings"),g.\u0275\u0275elementEnd()()()()(),g.\u0275\u0275elementStart(36,"main",12),g.\u0275\u0275element(37,"router-outlet"),g.\u0275\u0275elementEnd()),2&x){const S=g.\u0275\u0275reference(10);g.\u0275\u0275advance(6),g.\u0275\u0275property("matMenuTriggerFor",S)}},dependencies:[h.MatLegacyButton,u.MatIcon,v.MatLegacyMenu,v.MatLegacyMenuItem,v.MatLegacyMenuTrigger,b.MatToolbar,p.RouterOutlet,p.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}}"]}),l})()},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),f=a(6401),h=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:h.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:[f.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)),f=n.__importStar(a(9025)),h=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,f.MatLegacyCard,f.MatLegacyCardHeader,f.MatLegacyCardContent,f.MatLegacyCardTitle,h.MatLegacyError,u.Highlight],styles:[".display[_ngcontent-%COMP%]{display:inline-block}"]}),_})()},7088:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.FhirConfigService=void 0;const n=a(655),c=n.__importDefault(a(8907)),d=n.__importStar(a(5879));B.FhirConfigService=(()=>{class r{constructor(){}changeFhirMicroService(h){localStorage.setItem("fhirMicroServer",h)}changeMagMicroService(h){localStorage.setItem("magMicroService",h)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")||"/matchbox/fhir"}getMobileAccessGatewayService(){return localStorage.getItem("magMicroService")||"/mag/fhir"}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 c.default({baseUrl:this.getFhirMicroService()})}getMobileAccessGatewayClient(){return new c.default({baseUrl:this.getMobileAccessGatewayService()})}getAuthCodeFlowConfig(){return{loginUrl:this.getMobileAccessGatewayLoginUrl(),redirectUri:this.getRedirectUri(),tokenEndpoint:this.getMobileAccessGatewayTokenEndpoint(),clientId:this.getClientId(),responseType:"code",scope:"todo",dummyClientSecret:this.getClientSecret(),showDebugInformation:!0,timeoutFactor:.75}}}return r.\u0275fac=function(h){return new(h||r)},r.\u0275prov=d.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r})()},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(h,u){return(0,c.evaluate)(h,u,null)}evaluateToString(h,u){const v=this.evaluate(h,u);return v&&v instanceof Array&&1===v.length?v[0]:null}getOauthUriToken(h){return this.evaluateToString(h,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(h){return this.evaluateToString(h,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}}return r.\u0275fac=function(h){return new(h||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)),f=c.__importStar(a(5187)),h=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(f.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:[h.MatLegacyCard,h.MatLegacyCardContent,h.MatLegacyCardFooter,u.MatIcon,v.MatLegacyMenuItem,f.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)),h=(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)),Ce=c.__importStar(a(2214)),Re=c.__importStar(a(1438)),Ae=c.__importStar(a(9949)),de=c.__importStar(a(9009));function H(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function W(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"button",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onFetchPatient())}),l.\u0275\u0275text(2," get Patient "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()}}function pe(et,Dt){if(1&et&&(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&et){const _e=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",null==_e.patient.name[0]?null:_e.patient.name[0].given," ",null==_e.patient.name[0]?null:_e.patient.name[0].family,", ",_e.patient.birthDate," ")}}function we(et,Dt){if(1&et){const _e=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(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onPIXmFeedAdd())}),l.\u0275\u0275text(24," PIXm Feed - Add Identifier "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}if(2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",_e.patient.name),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceAddIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceAddIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceManagingOrganizationOid),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceManagingOrganizationName)}}function Ee(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div")(1,"pre"),l.\u0275\u0275element(2,"code",43),l.\u0275\u0275elementEnd()()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",_e.getScopes())}}function Be(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",44),l.\u0275\u0275text(1,"Title"),l.\u0275\u0275elementEnd())}function G(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",44)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].attachment.title," ")}}function re(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",45),l.\u0275\u0275text(1,"Description"),l.\u0275\u0275elementEnd())}function ae(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",45),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",_e.description," ")}}function ve(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",46),l.\u0275\u0275text(1,"Content-Type"),l.\u0275\u0275elementEnd())}function He(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",46)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].attachment.contentType," ")}}function Ze(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",47),l.\u0275\u0275text(1,"formatCode"),l.\u0275\u0275elementEnd())}function Qe(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",47)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].format.code," ")}}function Ge(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",48),l.\u0275\u0275text(1,"Actions"),l.\u0275\u0275elementEnd())}function tt(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"mat-cell",48)(1,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onRemove(mt))}),l.\u0275\u0275elementStart(2,"mat-icon"),l.\u0275\u0275text(3,"remove"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onReplace(mt))}),l.\u0275\u0275elementStart(5,"mat-icon"),l.\u0275\u0275text(6,"reply"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(7,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onDownloadDocumentReferenceAttachment(mt))}),l.\u0275\u0275elementStart(8,"mat-icon"),l.\u0275\u0275text(9,"download"),l.\u0275\u0275elementEnd()()()}}function Ct(et,Dt){1&et&&l.\u0275\u0275element(0,"mat-header-row")}function Nt(et,Dt){1&et&&l.\u0275\u0275element(0,"mat-row")}function _t(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function Bt(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-card-actions")(2,"button",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onPdf())}),l.\u0275\u0275text(3,"Pdf"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}}function Tt(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" Replace Document with ",_e.replaceDocumentReference.identifier[0].value," ")}}function Lt(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",_e.descr,": ",_e.existingUuid," -> ",_e.newUuid," ")}}function Le(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(_e.errMsgAssignPatient)}}function lt(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function ze(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(_e.errMsg)}}const at=function(){return["title","name","contentType","formatCode","action"]},N=et=>String(Math.floor(Math.abs(et))).padStart(2,"0");function K(et){const Dt=-et.getTimezoneOffset(),_e=Dt>=0?"+":"-",ut=`${N(Dt/60)}:${N(Dt%60)}`;return`${(0,B.toLocaleDate)(et)}T${(0,B.toLocaleTime)(et)}${_e}${ut}`}B.toLocaleDate=et=>`${et.getFullYear()}-${N(et.getMonth()+1)}-${N(et.getDate())}`,B.toLocaleHHMM=et=>`${N(et.getHours())}:${N(et.getMinutes())}`,B.toLocaleTime=et=>`${(0,B.toLocaleHHMM)(et)}:${N(et.getSeconds())}`,B.toLocaleDateTime=K,B.MagComponent=(()=>{class et{constructor(_e,ut,Pe,mt,Pt,Ft){this.data=_e,this.fhirPathService=ut,this.http=Pe,this.cd=mt,this.oauthService=Pt,this.router=Ft,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=_e.getMobileAccessGatewayClient(),this.mag.capabilityStatement().then(Oe=>this.setJson(JSON.stringify(Oe,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.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(K(new Date)),this.languageCode=new r.UntypedFormControl,this.languageCode.setValue(this.getLocalStorageItemOrDefault("mag.languageCode","de-CH")),this.fhirConfigService=_e,Pt.configure(this.fhirConfigService.getAuthCodeFlowConfig()),Pt.tryLoginCodeFlow().then(Oe=>{this.scopes=this.oauthService.getGrantedScopes()}),Pt.events.subscribe(Oe=>{Oe instanceof p.OAuthErrorEvent?console.error(Oe):console.warn(Oe)}),this.pdf="",this.replaceDocumentReference=null}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.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(_e,ut){return localStorage.getItem(_e)||ut}setLocaleStorageItem(_e,ut){return localStorage.setItem(_e,ut),ut}setJson(_e){this.json=_e}getJson(){return this.json}getScopes(){return this.scopes?JSON.stringify(this.scopes,null,2):""}ngOnInit(){}ngOnDestroy(){}setPixmQueryResult(_e){this.inPixmProgress=!1,this.setJson(JSON.stringify(_e,null,2)),this.targetIdentifierValue=this.fhirPathService.evaluateToString(_e,"parameter.valueIdentifier.where(system='"+this.targetIdentifierSystem.value+"').value"),this.targetIdentifier2Value=this.fhirPathService.evaluateToString(_e,"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(_e,"parameter.valueReference.reference"),this.cache()}setPatientFetchResult(_e){this.inPixmProgress=!1,this.patient=_e,this.setJson(JSON.stringify(_e,null,2)),this.cache()}setPIXmFeedAddResult(_e){this.inPixmProgress=!1,this.patient=void 0,this.setJson(JSON.stringify(_e,null,2)),this.cache()}onPIXmQuery(){this.targetIdentifierValue="",this.targetIdentifier2Value="",this.patient=void 0,this.inPixmProgress=!0,this.cache();let _e="sourceIdentifier="+encodeURIComponent(this.sourceIdentifierSystem.value+"|"+this.sourceIdentifierValue.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifierSystem.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifier2System.value);this.mag.operation({name:"$ihe-pix?"+_e,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(ut=>this.setPixmQueryResult(ut)).catch(ut=>{this.setJson(JSON.stringify(ut,null,2)),this.targetIdentifierValue="",this.targetIdentifier2Value="",this.targetId="",this.cache(),this.inPixmProgress=!1})}getPatient(){const _e=this.targetId.substring(this.targetId.indexOf("Patient/")+8);return this.mag.read({resourceType:"Patient",id:_e,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 _e=this;return n(function*(){_e.patient=void 0,_e.inPixmProgress=!0,_e.cache();try{_e.patient=yield _e.getPatient(),_e.setPatientFetchResult(_e.patient)}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.cache(),_e.inPixmProgress=!1}})()}onPIXmFeedAdd(){this.inPixmProgress=!0,this.patient.telecom&&delete this.patient.telecom,this.cache();let _e={identifier:this.sourceAddIdentifierSystem.value+"|"+this.sourceAddIdentifierValue.value},ut={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(ut),this.patient.managingOrganization={reference:"#org"},this.mag.update({resourceType:"Patient",body:this.patient,searchParams:_e,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}}).then(Pe=>this.setPIXmFeedAddResult(Pe)).catch(Pe=>{this.setJson(JSON.stringify(Pe,null,2)),this.cache(),this.inPixmProgress=!1})}onAuthenticate(){if(this.cache(),this.scopes=null,"HCP"===this.authenticate.value){let _e=this.fhirConfigService.getAuthCodeFlowConfig();_e.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|HCP`,this.oauthService.configure(_e),this.oauthService.initCodeFlow()}else"TCU"===this.authenticate.value?this.getSamlToken().then(_e=>this.json=_e):this.oauthService.logOut()}getAppcDocument(_e,ut){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(_e,ut){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==${ut}http://ihe.connectathon.XUA/X-ServiceProvider-IHE-Connectathonurn:oasis:names:tc:SAML:2.0:ac:classes:unspecifiedIris Musterpatient${ut}^^^&2.16.756.5.30.1.127.3.10.3&ISOurn:oid:3.3.3.1`)}getSimulatedSamlPmpTcuAssertion(_e,ut,Pe){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${Pe}^^^&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(_e){var ut=this;return n(function*(){const mt=yield(yield fetch("https://test.ahdis.ch/eprik-cara/camel/tcu",{cache:"no-store",headers:{Accept:"application/xml"}})).text(),Ft=yield(yield fetch(ut.fhirConfigService.getMobileAccessGatewayAssertionEndpoint(),{cache:"no-store",method:"POST",headers:{Scope:`person_id=${_e}^^^&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:mt})).json();return Promise.resolve(Ft.access_token)})()}setBundle(_e){_e?(this.bundle=_e,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry.map(ut=>ut.resource)):this.dataSource.data=null,this.dataSource.data=this.dataSource.data}setDocumentReferenceResult(_e){this.setJson(JSON.stringify(_e,null,2)),this.setBundle(_e)}findDocumentReferences(){var _e=this;return n(function*(){let ut={status:"current",_count:500,"patient.identifier":encodeURIComponent(_e.targetIdentifierSystem.value+"|"+_e.targetIdentifierValue)},Pe=yield _e.getSamlToken();return _e.mag.search({resourceType:"DocumentReference",searchParams:ut,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+Pe}}})})()}onFindDocumentReferences(){var _e=this;return n(function*(){_e.replaceDocumentReference=null,_e.inMhdQueryProgress=!0,_e.pdf="";try{const ut=yield _e.findDocumentReferences();_e.setDocumentReferenceResult(ut),_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}findMedicationList(_e){var ut=this;return n(function*(){let Pe="patient.identifier="+encodeURIComponent(ut.targetIdentifierSystem.value+"|"+ut.targetIdentifierValue)+(_e?"&format="+encodeURIComponent(_e):"");ut.serviceStartFrom.value?.length>0&&(Pe+=`&serviceStartFrom=${encodeURIComponent(ut.serviceStartFrom.value)}`),ut.serviceStartTo.value?.length>0&&(Pe+=`&serviceStartTo=${encodeURIComponent(ut.serviceStartTo.value)}`),ut.serviceEndFrom.value?.length>0&&(Pe+=`&serviceEndFrom=${encodeURIComponent(ut.serviceEndFrom.value)}`),ut.serviceEndTo.value?.length>0&&(Pe+=`&serviceEndTo=${encodeURIComponent(ut.serviceEndTo.value)}`);const mt=yield ut.getSamlToken();return ut.mag.operation({name:"$find-medication-list?status=current&"+Pe,resourceType:"DocumentReference",method:"GET",options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+mt}}})})()}onFindMedicationList(){var _e=this;return n(function*(){_e.pdf="",_e.inMhdQueryProgress=!0,_e.cache();try{const ut=yield _e.findMedicationList();_e.setDocumentReferenceResult(ut),ut.entry&&1==ut.entry.length&&(yield _e.downloadDocumentReferenceAttachment(ut.entry[0].resource)),_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}onFindMedicationCard(){var _e=this;return n(function*(){_e.pdf="",_e.inMhdQueryProgress=!0,_e.cache();try{const ut=yield _e.findMedicationList("urn:oid:2.16.756.5.30.1.127.3.10.10|urn:che:epr:ch-emed:medication-card:2022");if(_e.setDocumentReferenceResult(ut),ut.entry&&1==ut.entry.length){const Pe=yield _e.downloadDocumentReferenceAttachment(ut.entry[0].resource),mt=JSON.parse(Pe);_e.pdf=_e.fhirPathService.evaluateToString(mt,"entry.resource.where(resourceType='Binary').data")}_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}getSamlToken(){var _e=this;return n(function*(){return"HCP"===_e.authenticate.value?Promise.resolve(_e.oauthService.getAccessToken()):"Patient"===_e.authenticate.value?Promise.resolve(_e.getSimulatedSamlPmpAssertion(K(new Date),_e.targetIdentifier2Value)):"TCU"===_e.authenticate.value?_e.getEprikTcuAssertion(_e.targetIdentifier2Value):null})()}downloadDocumentReferenceAttachment(_e){var ut=this;return n(function*(){let mt=(_e.content&&_e.content.length>0?_e.content[0].attachment.url:"undefined").replace("http://test.ahdis.ch/mag-pmp/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp/camel/xdsretrieve"),Pt=mt.replace("http://test.ahdis.ch/mag-pmp2/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp2/camel/xdsretrieve");const Ft=_e.content&&_e.content.length>0?_e.content[0].attachment?.contentType:"";if(ut.selectedDocumentReference=_e,"application/pdf"===Ft){const Gt=_e.content&&_e.content.length>0?_e.content[0].attachment.title:"undefined",Oe=ut,Ke=yield ut.getSamlToken(),ge=yield(yield fetch(Pt,{cache:"no-store",headers:{Authorization:"Bearer "+Ke,Accept:"application/pdf"}})).blob();return new Promise((ct,Me)=>{let Ye=new FileReader;Ye.onload=()=>{Oe.downloadPdf(Ye.result.toString(),Gt),ct(Ye.result)},Ye.onerror=Me,Ye.readAsDataURL(ge)})}{const Gt=yield ut.getSamlToken(),Ke={responseType:"text",headers:(new h.HttpHeaders).set("Authorization","Bearer "+Gt)};return new Promise((he,ge)=>{ut.http.get(mt,Ke).subscribe({next:ct=>{ut.xml=ct,ut.setJson(ct),he(ut.xml)},error:ct=>{ge(ct)}})})}})()}onReplace(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=_e})()}onRemove(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=null;let Pe={..._e};ut.inMhdQueryProgress=!0,null==Pe.extension&&(Pe.extension=new Array),Pe.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:ut.iheSourceId.value}}),Pe.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)"}}),Pe.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"}}),Pe.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 mt=yield ut.getSamlToken();try{let Pt=yield ut.mag.update({resourceType:"DocumentReference",id:Pe.id,body:Pe,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0","content-type":"application/fhir+json;fhirVersion=4.0",Authorization:"Bearer "+mt}}});ut.setJson(JSON.stringify(Pt,null,2)),ut.inMhdQueryProgress=!1,ut.onFindDocumentReferences()}catch(Pt){ut.setJson(JSON.stringify(Pt.response.data,null,2)),ut.inMhdQueryProgress=!1}})()}onDownloadDocumentReferenceAttachment(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=null,ut.inMhdQueryProgress=!0,yield ut.downloadDocumentReferenceAttachment(_e),ut.inMhdQueryProgress=!1})()}canTransformToPdf(){return""!=this.pdf}downloadPdf(_e,ut){const Pe=document.createElement("a");Pe.href=_e,Pe.download=`${ut}.pdf`,Pe.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 ut=`0x${(0,u.v4)().replace(/-/g,"")}`;return`2.25.${BigInt(ut).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(_e){if(this.uploadBase64="",this.uploadContentType="",this.uploadBundle=null,this.json="",this.xml="",this.pdf="","application/json"===_e.contentType||_e.name.endsWith(".json")||"text/xml"===_e.contentType||_e.name.endsWith(".xml"))this.addText(_e);else{var ut=new FileReader;const Pe=this;ut.readAsDataURL(_e.blob),ut.onloadend=function(){let mt=ut.result.toString();mt.startsWith("data:application/pdf;base64,")&&(Pe.uploadBase64=mt.substring(28),Pe.uploadContentType="application/pdf",Pe.documentType.setValue("PDF"))}}}addText(_e){const ut=new FileReader;ut.readAsText(_e.blob);const Pe=this;this.documentTitle.setValue(_e.name),this.creationTime.setValue(K(new Date)),ut.onload=()=>{("application/json"===_e.contentType||_e.name.endsWith(".json"))&&(this.uploadContentType="application/fhir+json",this.autoDetectFormat(ut.result)),("text/xml"===_e.contentType||_e.name.endsWith(".xml"))&&(this.uploadContentType="text/xml",Pe.documentType.setValue("XML"),Pe.xml=ut.result,Pe.setJson(Pe.xml))}}getResource(_e,ut){return _e.entry.filter(Pe=>Pe.fullUrl.endsWith(ut)).pop()?.resource}autoDetectFormat(_e){this.documentType.setValue("JSON");const ut=JSON.parse(_e);this.setJson(_e),ut.hasOwnProperty("resourceType")&&"Bundle"===ut.resourceType&&this.autoDetectBundle(ut)}autoDetectBundle(_e){if(this.creationTime.setValue(_e.timestamp),this.masterIdentifier.setValue(_e.identifier.value),"document"===_e.type&&_e.entry?.length>0){const ut=_e.entry[0].resource,Pe=ut.type.coding.find(mt=>"http://snomed.info/sct"===mt.system);if(ut.language&&this.languageCode.setValue(ut.language),!Pe)return;switch(Pe.code){case"761931002":return this.uploadBundle=_e,void this.documentType.setValue("MTP");case"761938008":return this.uploadBundle=_e,void this.documentType.setValue("PRE");case"294121000195110":return this.uploadBundle=_e,void this.documentType.setValue("DIS");case"419891008":return this.uploadBundle=_e,void this.documentType.setValue("PADV")}}}assignMobileAccessPatient(){var _e=this;return n(function*(){if(_e.inMhdUploadProgress=!0,_e.errMsgAssignPatient="",null==_e.patient&&(_e.patient=yield _e.getPatient()),null==_e.patient)return void(_e.errMsgAssignPatient="Error: select first 'get Patient' from Mobile Access Gateway");if(null==_e.uploadBundle)return void(_e.errMsgAssignPatient="Error: need a FHIR Bundle in json format to assign the Patient");const ut=_e.uploadBundle.entry.filter(Oe=>"Patient"===Oe.resource.resourceType),Pe={..._e.patient};Pe.identifier=_e.patient.identifier.filter(Oe=>Oe.system===_e.sourceIdentifierSystem.value),Pe.identifier.find(Oe=>Oe.system===_e.sourceIdentifierSystem.value).type={coding:[{system:"http://terminology.hl7.org/CodeSystem/v2-0203",code:"MR"}]},Pe.name=Array(),Pe.name[0]=_e.patient.name[0],ut.forEach(Oe=>{const Ke=Oe.resource.id;Oe.resource={...Pe},Oe.resource.id=Ke});let mt=JSON.stringify(_e.uploadBundle,null,2);const Pt=_e.uploadBundle.identifier.value,Ft="urn:uuid:"+(0,u.v4)(),Gt=_e.replaceUuids.findIndex(Oe=>Oe.existingUuid==Pt);-1==Gt?_e.replaceUuids.push({descr:_e.documentType.value,existingUuid:Pt,newUuid:Ft}):_e.replaceUuids[Gt]={descr:_e.documentType.value,existingUuid:Pt,newUuid:Ft},_e.replaceUuids.forEach(Oe=>mt=mt.split(Oe.existingUuid).join(Oe.newUuid)),_e.masterIdentifier.setValue(Ft),_e.setJson(mt),_e.inMhdUploadProgress=!1})()}createMhdTransaction(){var _e=this;return n(function*(){_e.inMhdUploadProgress=!0;let ut={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"}}]},Pe="urn:uuid:"+(0,u.v4)();ut.entry[0].fullUrl=Pe;const mt=ut.entry[0].resource;mt.contentType=_e.uploadContentType,mt.data=_e.uploadBase64?.length>0?_e.uploadBase64:v.Base64.encode(_e.json);let Pt=(0,u.v4)();ut.entry[1].fullUrl="urn:uid:"+Pt;const Ft=ut.entry[1].resource;Ft.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:_e.iheSourceId.value}}),Ft.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"}}),Ft.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 Gt="urn:uuid:"+(0,u.v4)();Ft.identifier[0].value=Gt;let Oe="urn:oid:"+_e.generateOidFromUuid();Ft.identifier[1].value=Oe,Ft.subject.reference=_e.targetId;let Ke=K(new Date);Ft.date=Ke;let he="urn:uuid:"+(0,u.v4)();Ft.entry[0].item.reference=he,ut.entry[2].fullUrl=he;const ge=ut.entry[2].resource;ge.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!=_e.replaceDocumentReference?ge.relatesTo.push({code:"replaces",target:{reference:_e.replaceDocumentReference.identifier[0].value}}):delete ge.relatesTo;const ct=ge.contained[0];if(ct.identifier[0].system=_e.sourceIdentifierSystem.value,ct.identifier[0].value=_e.sourceIdentifierValue.value,ct.identifier[1].system=_e.targetIdentifierSystem.value,ct.identifier[1].value=_e.targetIdentifierValue,_e.patient&&(ct.birthDate=_e.patient.birthDate,ct.gender=_e.patient.gender,ct.name=_e.patient.name,ct.address=_e.patient.address),null!=_e.uploadBundle&&["PADV","DIS","MTP","PRE","PMLC"].includes(_e.documentType.value)){const V=_e.uploadBundle.entry[0].resource;if(V?.author&&V.author[0].reference){const Q=_e.getResource(_e.uploadBundle,V.author[0].reference);if(Q&&"PractitionerRole"==Q.resourceType){let be={...Q};delete be.text,be.id="practrole";const dt=_e.getResource(_e.uploadBundle,be.organization?.reference),Rt=_e.getResource(_e.uploadBundle,be.practitioner?.reference);if(dt){let qe={...dt};qe.id="org",delete qe.text,be.organization.reference="#org",ge.contained.push(qe)}if(Rt){let qe={...Rt};qe.id="pract",delete qe.text,be.practitioner.reference="#pract",ge.contained.push(qe)}ge.contained.push(be),ge.author.push({reference:"#practrole"})}}}0==ge.author.length&&delete ge.author;let Me=_e.masterIdentifier.value.toLocaleLowerCase();ge.masterIdentifier.value=Me;let Ye="urn:oid:"+_e.generateOidFromUuid();ge.identifier[0].value=Ye,ge.subject.reference=_e.targetId,ge.date=Ke,ge.content[0].attachment.url=Pe,ge.content[0].attachment.contentType=_e.uploadContentType,ge.content[0].attachment.language=_e.languageCode.value,ge.content[0].attachment.title=_e.documentTitle.value;let De=ut.entry[2].resource;De.date=_e.creationTime.value,De.type=_e.getDocumentReferenceType(),De.category.push(_e.getDocumentReferenceCategory()),De.content[0].format=_e.getDocumentReferenceContentFormat(),De.content[0].attachment.creation=_e.creationTime.value,De.description=_e.documentDescription.value,De.securityLabel[0]=_e.getDocumentConfidentiality();const F=yield _e.getSamlToken();_e.mag.transaction({body:ut,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+F}}}).then(V=>{_e.setJson(JSON.stringify(V,null,2)),_e.inMhdUploadProgress=!1}).catch(V=>{_e.setJson(JSON.stringify(V,null,2)),_e.inMhdUploadProgress=!1})})()}}return et.\u0275fac=function(_e){return new(_e||et)(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))},et.\u0275cmp=l.\u0275\u0275defineComponent({type:et,selectors:[["app-mag"]],decls:197,vars:38,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"],[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,"highlight"],[1,"title"],[1,"name"],[1,"contentType"],[1,"formatCode"],[1,"res"],["mat-icon-button","","type","submit",3,"click"]],template:function(_e,ut){1&_e&&(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 ut.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\u0275template(52,Ee,3,1,"div",3),l.\u0275\u0275elementStart(53,"mat-card-actions")(54,"button",4),l.\u0275\u0275listener("click",function(){return ut.onAuthenticate()}),l.\u0275\u0275text(55," Authenticate "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(56,"mat-card",0)(57,"mat-card-content")(58,"mat-card-header")(59,"mat-card-title"),l.\u0275\u0275text(60,"Mobile Access Gateway - Query"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(61,"mat-table",9,10),l.\u0275\u0275elementContainerStart(63,11),l.\u0275\u0275template(64,Be,2,0,"mat-header-cell",12),l.\u0275\u0275template(65,G,3,1,"mat-cell",13),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(66,14),l.\u0275\u0275template(67,re,2,0,"mat-header-cell",15),l.\u0275\u0275template(68,ae,2,1,"mat-cell",16),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(69,17),l.\u0275\u0275template(70,ve,2,0,"mat-header-cell",18),l.\u0275\u0275template(71,He,3,1,"mat-cell",19),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(72,20),l.\u0275\u0275template(73,Ze,2,0,"mat-header-cell",21),l.\u0275\u0275template(74,Qe,3,1,"mat-cell",22),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(75,23),l.\u0275\u0275template(76,Ge,2,0,"mat-header-cell",24),l.\u0275\u0275template(77,tt,10,0,"mat-cell",25),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275template(78,Ct,1,0,"mat-header-row",26),l.\u0275\u0275template(79,Nt,1,0,"mat-row",27),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(80,_t,2,0,"ng-container",3),l.\u0275\u0275elementStart(81,"mat-card-actions")(82,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindDocumentReferences()}),l.\u0275\u0275text(83," Document References "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(84,"div")(85,"mat-form-field",1)(86,"mat-label"),l.\u0275\u0275text(87,"serviceStart From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(88,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(89," \xa0 "),l.\u0275\u0275elementStart(90,"mat-form-field",1)(91,"mat-label"),l.\u0275\u0275text(92,"serviceStart To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(93,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(94,"div")(95,"mat-form-field",1)(96,"mat-label"),l.\u0275\u0275text(97,"serviceEnd From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(98,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(99," \xa0 "),l.\u0275\u0275elementStart(100,"mat-form-field",1)(101,"mat-label"),l.\u0275\u0275text(102,"serviceEnd To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(103,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(104,"mat-card-actions")(105,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindMedicationList()}),l.\u0275\u0275text(106," Medication List "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(107,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindMedicationCard()}),l.\u0275\u0275text(108," Medication Card "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(109,Bt,4,0,"ng-container",3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(110,"mat-card",0)(111,"mat-card-content")(112,"mat-card-header")(113,"mat-card-title"),l.\u0275\u0275text(114,"Mobile Access Gateway - Upload"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(115,"app-upload",29),l.\u0275\u0275listener("addFiles",function(mt){return ut.addFile(mt)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(116,"div")(117,"mat-form-field",1)(118,"mat-label"),l.\u0275\u0275text(119,"Title"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(120,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(121,"div")(122,"mat-form-field",1)(123,"mat-label"),l.\u0275\u0275text(124,"Description"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(125,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(126,"div")(127,"mat-form-field",1)(128,"mat-label"),l.\u0275\u0275text(129,"Document Type"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(130,"select",5)(131,"option",30),l.\u0275\u0275text(132,"APPC Document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(133,"option",31),l.\u0275\u0275text(134,"Medication Treatment Plan document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(135,"option",32),l.\u0275\u0275text(136,"Medication Dispense document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(137,"option",33),l.\u0275\u0275text(138,"Medication Prescription document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(139,"option",34),l.\u0275\u0275text(140,"Pharmaceutical Advice document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(141,"option",35),l.\u0275\u0275text(142,"PDF"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(143,"div")(144,"mat-form-field",1)(145,"mat-label"),l.\u0275\u0275text(146,"Confidentiality"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(147,"select",5)(148,"option",36),l.\u0275\u0275text(149,"Normally accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(150,"option",37),l.\u0275\u0275text(151,"Restricted accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(152,"option",38),l.\u0275\u0275text(153,"Secret"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(154,"div")(155,"mat-form-field",1)(156,"mat-label"),l.\u0275\u0275text(157,"DocumentEntry.masterIdentifier (uuid)"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(158,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(159,"div")(160,"mat-form-field",1)(161,"mat-label"),l.\u0275\u0275text(162,"DocumentEntry.creationTime"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(163,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(164,"div")(165,"mat-form-field",1)(166,"mat-label"),l.\u0275\u0275text(167,"DocumentEntry.languageCode"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(168,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(169,"div")(170,"mat-form-field",1)(171,"mat-label"),l.\u0275\u0275text(172,"ihe-sourceId"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(173,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(174,"\xa0 "),l.\u0275\u0275elementStart(175,"a",39),l.\u0275\u0275text(176,"ig"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(177,Tt,2,1,"div",3),l.\u0275\u0275template(178,Lt,2,3,"div",40),l.\u0275\u0275template(179,Le,2,1,"div",3),l.\u0275\u0275template(180,lt,2,0,"ng-container",3),l.\u0275\u0275elementStart(181,"div")(182,"button",28),l.\u0275\u0275listener("click",function(){return ut.assignMobileAccessPatient()}),l.\u0275\u0275text(183," Assign Mobile Access Patient"),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(184,"\xa0 "),l.\u0275\u0275elementStart(185,"button",28),l.\u0275\u0275listener("click",function(){return ut.createMhdTransaction()}),l.\u0275\u0275text(186," Provide and Register "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(187,"button",28),l.\u0275\u0275listener("click",function(){return ut.createAppc()}),l.\u0275\u0275text(188," Create APPC for PMP "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(189,"mat-card",0)(190,"mat-card-content")(191,"mat-card-header")(192,"mat-card-title"),l.\u0275\u0275text(193,"Response"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(194,ze,2,1,"div",3),l.\u0275\u0275elementStart(195,"pre"),l.\u0275\u0275element(196,"code",41),l.\u0275\u0275elementEnd()()()),2&_e&&(l.\u0275\u0275advance(9),l.\u0275\u0275property("formControl",ut.sourceIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.sourceIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.targetIdentifierSystem),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ut.targetIdentifierValue," "),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.targetIdentifier2System),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ut.targetIdentifier2Value," "),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate1("targetId: ",ut.targetId,""),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inPixmProgress),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ut.targetId.length>0),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.patient),l.\u0275\u0275advance(10),l.\u0275\u0275property("formControl",ut.authenticate),l.\u0275\u0275advance(7),l.\u0275\u0275property("ngIf",ut.getScopes()),l.\u0275\u0275advance(9),l.\u0275\u0275property("dataSource",ut.dataSource),l.\u0275\u0275advance(17),l.\u0275\u0275property("matHeaderRowDef",l.\u0275\u0275pureFunction0(36,at)),l.\u0275\u0275advance(1),l.\u0275\u0275property("matRowDefColumns",l.\u0275\u0275pureFunction0(37,at)),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inMhdQueryProgress),l.\u0275\u0275advance(8),l.\u0275\u0275property("formControl",ut.serviceStartFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceStartTo),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceEndFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceEndTo),l.\u0275\u0275advance(6),l.\u0275\u0275property("ngIf",ut.canTransformToPdf()),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ut.documentTitle),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.documentDescription),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.documentType),l.\u0275\u0275advance(17),l.\u0275\u0275property("formControl",ut.documentConfidentiality),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ut.masterIdentifier),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.creationTime),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.languageCode),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.iheSourceId),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ut.replaceDocumentReference),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",ut.replaceUuids),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.errMsgAssignPatient),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inMhdUploadProgress),l.\u0275\u0275advance(14),l.\u0275\u0275property("ngIf",ut.errMsg),l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",ut.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,Ce.MatLegacyTable,Ce.MatLegacyHeaderCellDef,Ce.MatLegacyHeaderRowDef,Ce.MatLegacyColumnDef,Ce.MatLegacyCellDef,Ce.MatLegacyRowDef,Ce.MatLegacyHeaderCell,Ce.MatLegacyCell,Ce.MatLegacyHeaderRow,Ce.MatLegacyRow,Re.MatLegacyProgressSpinner,Ae.Highlight,de.UploadComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.display[_ngcontent-%COMP%]{display:inline-block;margin-bottom:10px}.column50[_ngcontent-%COMP%]{width:40%}"]}),et})()},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(h,u){if(1&h&&(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&h){const v=c.\u0275\u0275nextContext();c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(c.\u0275\u0275pipeBind1(4,1,v.patient))}}B.PatientDetailComponent=(()=>{class h{constructor(){}ngOnInit(){}}return h.\u0275fac=function(v){return new(v||h)},h.\u0275cmp=c.\u0275\u0275defineComponent({type:h,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]}),h})()},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),f=n.__importStar(a(5879)),h=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(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Family"),f.\u0275\u0275elementEnd())}function D(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientFamilyName(W))}}function S(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Given"),f.\u0275\u0275elementEnd())}function E(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientGivenNames(W))}}function I(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Birthdate"),f.\u0275\u0275elementEnd())}function X(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientBirthDate(W))}}function $(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Street"),f.\u0275\u0275elementEnd())}function ee(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientAddressLines(W))}}function ie(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"City"),f.\u0275\u0275elementEnd())}function A(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientAddressCity(W))}}function U(de,H){1&de&&f.\u0275\u0275element(0,"mat-header-row")}function Ce(de,H){if(1&de){const W=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-row",16),f.\u0275\u0275listener("click",function(){const Ee=f.\u0275\u0275restoreView(W).$implicit,Be=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Be.selectRow(Ee))}),f.\u0275\u0275elementEnd()}}const Re=function(){return["familyNameCol","givenNamesCol","birthDateCol","addressLinesCol","addressCityCol"]};B.PatientsComponent=(()=>{class de{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 de.\u0275fac=function(W){return new(W||de)(f.\u0275\u0275directiveInject(h.FhirConfigService))},de.\u0275cmp=f.\u0275\u0275defineComponent({type:de,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&&(f.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-form-field")(3,"mat-label"),f.\u0275\u0275text(4,"Name"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(5,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(6," \xa0 "),f.\u0275\u0275elementStart(7,"mat-form-field")(8,"mat-label"),f.\u0275\u0275text(9,"Family"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(10,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(11," \xa0 "),f.\u0275\u0275elementStart(12,"mat-form-field")(13,"mat-label"),f.\u0275\u0275text(14,"Given"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(15,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(16," \xa0 "),f.\u0275\u0275elementEnd()(),f.\u0275\u0275elementStart(17,"mat-card",2)(18,"mat-card-content")(19,"mat-table",3,4),f.\u0275\u0275elementContainerStart(21,5),f.\u0275\u0275template(22,x,2,0,"mat-header-cell",6),f.\u0275\u0275template(23,D,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(24,8),f.\u0275\u0275template(25,S,2,0,"mat-header-cell",6),f.\u0275\u0275template(26,E,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(27,9),f.\u0275\u0275template(28,I,2,0,"mat-header-cell",6),f.\u0275\u0275template(29,X,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(30,10),f.\u0275\u0275template(31,$,2,0,"mat-header-cell",6),f.\u0275\u0275template(32,ee,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(33,11),f.\u0275\u0275template(34,ie,2,0,"mat-header-cell",6),f.\u0275\u0275template(35,A,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275template(36,U,1,0,"mat-header-row",12),f.\u0275\u0275template(37,Ce,1,0,"mat-row",13),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(38,"mat-paginator",14),f.\u0275\u0275listener("page",function(Ee){return pe.goToPage(Ee)}),f.\u0275\u0275elementEnd()()(),f.\u0275\u0275element(39,"app-patient-detail",15)),2&W&&(f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchName),f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchFamily),f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchGiven),f.\u0275\u0275advance(4),f.\u0275\u0275property("dataSource",pe.dataSource),f.\u0275\u0275advance(17),f.\u0275\u0275property("matHeaderRowDef",f.\u0275\u0275pureFunction0(11,Re)),f.\u0275\u0275advance(1),f.\u0275\u0275property("matRowDefColumns",f.\u0275\u0275pureFunction0(12,Re)),f.\u0275\u0275advance(1),f.\u0275\u0275property("pageIndex",pe.pageIndex)("length",pe.length)("pageSize",pe.pageSize)("pageSizeOptions",pe.pageSizeOptions),f.\u0275\u0275advance(1),f.\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]}),de})()},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))),f=n.__importStar(a(7088)),h=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(f.FhirConfigService),r.\u0275\u0275directiveInject(h.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),f=a(9241),h=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),Ce=a(1438),Re=n.__importStar(a(5879)),Ae=[c.CommonModule,r.BrowserModule,g.BrowserAnimationsModule,d.FormsModule,d.ReactiveFormsModule,U.TranslateModule,f.MatLegacyAutocompleteModule,h.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,Ce.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,f.MatLegacyAutocompleteModule,h.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,Ce.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)),f=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,f.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(h=>console.log(h))},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(h){super(),this.tokenSource=h,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(h){}reset(){this.seek(0)}seek(h){this.lazyInit(),this.index=this.adjustSeekIndex(h)}get(h){return this.lazyInit(),this.tokens[h]}consume(){let h=!1;if(h=this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(u)>=u}fetch(h){if(this.fetchedEOF)return 0;for(let u=0;u=this.tokens.length&&(u=this.tokens.length-1);for(let p=h;p=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[u]}adjustSeekIndex(h){return h}lazyInit(){-1===this.index&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(h){this.tokenSource=h,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(h,u){if(this.sync(h),h>=this.tokens.length)return-1;let v=this.tokens[h];for(;v.channel!==this.channel;){if(v.type===n.EOF)return-1;this.sync(h+=1),v=this.tokens[h]}return h}previousTokenOnChannel(h,u){for(;h>=0&&this.tokens[h].channel!==u;)h-=1;return h}getHiddenTokensToRight(h,u){if(void 0===u&&(u=-1),this.lazyInit(),h<0||h>=this.tokens.length)throw h+" not in 0.."+this.tokens.length-1;const v=this.nextTokenOnChannel(h+1,c.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(h+1,-1===v?this.tokens.length-1:v,u)}getHiddenTokensToLeft(h,u){if(void 0===u&&(u=-1),this.lazyInit(),h<0||h>=this.tokens.length)throw h+" not in 0.."+this.tokens.length-1;const v=this.previousTokenOnChannel(h-1,c.DEFAULT_TOKEN_CHANNEL);return v===h-1?null:this.filterForChannel(v+1,h-1,u)}filterForChannel(h,u,v){const b=[];for(let p=h;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,f,h,u,v,b,p,_){const l=new n(r,f,u,v,b);return l.line=p,l.column=_,null!==h?l.text=h:this.copyText&&null!==r[1]&&(l.text=r[1].getText(v,b)),l}createThin(r,f){const h=new n(null,r);return h.text=f,h}}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,f){super(r),this.channel=void 0===f?n.DEFAULT_CHANNEL:f}adjustSeekIndex(r){return this.nextTokenOnChannel(r,this.channel)}LB(r){if(0===r||this.index-r<0)return null;let f=this.index,h=1;for(;h<=r;)f=this.previousTokenOnChannel(f-1,this.channel),h+=1;return f<0?null:this.tokens[f]}LT(r){if(this.lazyInit(),0===r)return null;if(r<0)return this.LB(-r);let f=this.index,h=1;for(;h{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 f=0;f=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 f="";for(let h=g;h<=r;h++)f+=String.fromCodePoint(this.data[h]);return f}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,f){this.start=r,this.stop=f}clone(){return new c(this.start,this.stop)}contains(r){return r>=this.start&&rthis.addInterval(f),this),this}reduce(r){if(r=h.stop?(this.intervals.splice(r+1,1),this.reduce(r)):f.stop>=h.start&&(this.intervals[r]=new c(f.start,h.stop),this.intervals.splice(r+1,1))}}complement(r,f){const h=new d;return h.addInterval(new c(r,f+1)),null!==this.intervals&&this.intervals.forEach(u=>h.removeRange(u)),h}contains(r){if(null===this.intervals)return!1;for(let f=0;fu.start&&r.stop=u.stop?(this.intervals.splice(f,1),f-=1):r.start":"'"+String.fromCharCode(h.start)+"'":"'"+String.fromCharCode(h.start)+"'..'"+String.fromCharCode(h.stop-1)+"'")}return r.length>1?"{"+r.join(", ")+"}":r[0]}toIndexString(){const r=[];for(let f=0;f":h.start.toString():h.start.toString()+".."+(h.stop-1).toString())}return r.length>1?"{"+r.join(", ")+"}":r[0]}toTokenString(r,f){const h=[];for(let u=0;u1?"{"+h.join(", ")+"}":h[0]}elementName(r,f,h){return h===n.EOF?"":h===n.EPSILON?"":r[h]||f[h]}get length(){return this.intervals.map(r=>r.length).reduce((r,f)=>r+f)}}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:f}=a(5516),{RuleTransition:h,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 h 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=h.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=h.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=h.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===h.SKIP){b=!0;break}if(this._type!==h.MORE)break}if(!b)return null===this._token&&this.emit(),this._token}}finally{this._input.release(v)}}skip(){this._type=h.SKIP}more(){this._type=h.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}}h.DEFAULT_MODE=0,h.MORE=-2,h.SKIP=-3,h.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,h.HIDDEN=n.HIDDEN_CHANNEL,h.MIN_CHAR_VALUE=0,h.MAX_CHAR_VALUE=1114111,Ie.exports=h},111:(Ie,B,a)=>{const{Token:n}=a(6205),{ParseTreeListener:c,TerminalNode:d,ErrorNode:g}=a(5829),r=a(9495),{DefaultErrorStrategy:f}=a(2487),h=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 f,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 h(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,f=c.ErrorNodeImpl,h=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 f&&(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 f(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 h 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 h&&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 h(I,X)}}class u extends h{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 h&&I instanceof h)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=h.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 de=new v([ie,ie],Re);return null!==$&&$.set(E,I,de),de}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 Ce=new v(U,A);return null!==$&&$.set(E,I,Ce),Ce}}(E,I,X,$);if(X){if(E instanceof u)return E;if(I instanceof u)return I}return E instanceof h&&(E=new v([E.getParent()],[E.returnState])),I instanceof h&&(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=[],Ce=[];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(h){"4.9.3"!==h&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+h)}addErrorListener(h){this._listeners.push(h)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const h=this.getLiteralNames(),u=this.getSymbolicNames(),v=h.length>u.length?h.length:u.length;this.tokenNames=[];for(let b=0;b";let u=h.text;return null===u&&(u=h.type===n.EOF?"":"<"+h.type+">"),u=u.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+u+"'"}getErrorListenerDispatch(){return new d(this._listeners)}sempred(h,u,v){return!0}precpred(h,u){return!0}get state(){return this._stateNumber}set state(h){this._stateNumber=h}}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(f,h){super(),this.parentCtx=f||null,this.invokingState=h||-1}depth(){let f=0,h=this;for(;null!==h;)h=h.parentCtx,f+=1;return f}isEmpty(){return-1===this.invokingState}getSourceInterval(){return c}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(f){return f.getText()}).join("")}getAltNumber(){return 0}setAltNumber(f){}getChild(f){return null}getChildCount(){return 0}accept(f){return f.visitChildren(this)}toStringTree(f,h){return d.toStringTree(this,f,h)}toString(f,h){f=f||null,h=h||null;let u=this,v="[";for(;null!==u&&u!==h;){if(null===f)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,f,h){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!==f?f:-1,this.stop=void 0!==h?h:-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(h,u){this.grammarType=h,this.maxTokenType=u,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(h,u){return new n(this).LOOK(h,null,u)}nextTokensNoContext(h){return null!==h.nextTokenWithinRule||(h.nextTokenWithinRule=this.nextTokensInContext(h,null),h.nextTokenWithinRule.readOnly=!0),h.nextTokenWithinRule}nextTokens(h,u){return void 0===u?this.nextTokensNoContext(h):this.nextTokensInContext(h,u)}addState(h){null!==h&&(h.atn=this,h.stateNumber=this.states.length),this.states.push(h)}removeState(h){this.states[h.stateNumber]=null}defineDecisionState(h){return this.decisionToState.push(h),h.decision=this.decisionToState.length-1,h.decision}getDecisionState(h){return 0===this.decisionToState.length?null:this.decisionToState[h]}getExpectedTokens(h,u){if(h<0||h>=this.states.length)throw"Invalid state number.";let b=this.nextTokens(this.states[h]);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(h,u){if(null===h){const v={state:null,alt:null,context:null,semanticContext:null};return u&&(v.reachesIntoOuterContext=0),v}{const v={};return v.state=h.state||null,v.alt=void 0===h.alt?null:h.alt,v.context=h.context||null,v.semanticContext=h.semanticContext||null,u&&(v.reachesIntoOuterContext=h.reachesIntoOuterContext||0,v.precedenceFilterSuppressed=h.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 f 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=f.prototype.hashCode,this.equalsForConfigSet=f.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 f&&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=f},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 f(v,b){return v===b||null!==v&&null!==b&&v.equalsForConfigSet(b)}class h{constructor(b){this.configLookup=new c.Set(r,f),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:f,BlockStartState:h,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:Ce,WildcardTransition:Re,PredicateTransition:Ae,PrecedencePredicateTransition:de}=a(6850),{IntervalSet:H}=a(9173),W=a(2905),{LexerActionType:pe,LexerSkipAction:we,LexerChannelAction:Ee,LexerCustomAction:Be,LexerMoreAction:G,LexerTypeAction:re,LexerPushModeAction:ae,LexerPopModeAction:ve,LexerModeAction:He}=a(201),Qe="59627784-3BE5-417A-B9EB-8131A7286089",Ge=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Qe],Ct=Qe;function Nt(Lt,Le){const lt=[];return lt[Lt-1]=Le,lt.map(function(ze){return Le})}const Tt=function Bt(){const Lt=[];for(let Le=0;Le<256;Le++)Lt[Le]=(Le+256).toString(16).substr(1).toUpperCase();return Lt}();Ie.exports=class _t{constructor(Le){null==Le&&(Le=W.defaultOptions),this.deserializationOptions=Le,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Le,lt){const ze=Ge.indexOf(Le);return!(ze<0)&&Ge.indexOf(lt)>=ze}deserialize(Le){this.reset(Le),this.checkVersion(),this.checkUUID();const lt=this.readATN();this.readStates(lt),this.readRules(lt),this.readModes(lt);const ze=[];return this.readSets(lt,ze,this.readInt.bind(this)),this.isFeatureSupported(Qe,this.uuid)&&this.readSets(lt,ze,this.readInt32.bind(this)),this.readEdges(lt,ze),this.readDecisions(lt),this.readLexerActions(lt),this.markPrecedenceDecisions(lt),this.verifyATN(lt),this.deserializationOptions.generateRuleBypassTransitions&<.grammarType===d.PARSER&&(this.generateRuleBypassTransitions(lt),this.verifyATN(lt)),lt}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(Ge.indexOf(Le)<0)throw Ct;this.uuid=Le}readATN(){const Le=this.readInt(),lt=this.readInt();return new c(Le,lt)}readStates(Le){let lt,ze,at;const N=[],oe=[],Y=this.readInt();for(let ce=0;ce0;)N.addTransition(K.transitions[ce-1]),K.transitions=K.transitions.slice(-1);Le.ruleToStartState[lt].addTransition(new Ce(N)),oe.addTransition(new Ce(ne));const Te=new r;Le.addState(Te),Te.addTransition(new X(oe,Le.ruleToTokenType[lt])),N.addTransition(new Ce(Te))}stateIsEndStateFor(Le,lt){if(Le.ruleIndex!==lt||!(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 lt=0;lt=0:ze.transitions.length<=1||ze instanceof p)}}checkCondition(Le,lt){if(!Le)throw null==lt&&(lt="IllegalState"),lt}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 lt=7;lt>=0;lt--){const ze=this.readInt();Le[2*lt+1]=255&ze,Le[2*lt]=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,lt,ze,at,N,oe,Y,ne){const K=Le.states[at];switch(lt){case I.EPSILON:return new Ce(K);case I.RANGE:return new A(K,0!==Y?n.EOF:N,oe);case I.RULE:return new ie(Le.states[N],oe,Y,K);case I.PREDICATE:return new Ae(K,N,oe,0!==Y);case I.PRECEDENCE:return new de(K,N);case I.ATOM:return new X(K,0!==Y?n.EOF:N);case I.ACTION:return new U(K,N,oe,0!==Y);case I.SET:return new $(K,ne[N]);case I.NOT_SET:return new ee(K,ne[N]);case I.WILDCARD:return new Re(K);default:throw"The specified transition type: "+lt+" is not valid."}}stateFactory(Le,lt){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=lt,ze}}lexerActionFactory(Le,lt,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)=>ve.INSTANCE,at[pe.PUSH_MODE]=(N,oe)=>new ae(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](lt,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(h,u){return this.atn=h,this.sharedContextCache=u,this}getCachedContext(h){if(null===this.sharedContextCache)return h;const u=new g;return d(h,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 h extends a{constructor(){return super(),this.stateType=a.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class f 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:f}=a(4280),{PredictionContext:h}=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 f;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 f 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 f&&this.mode===p.mode}toString(){return"mode("+this.mode+")"}}class h 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 h&&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:h,LexerIndexedCustomAction:v,LexerMoreAction:r,LexerTypeAction:c,LexerPushModeAction:d,LexerPopModeAction:g,LexerModeAction:f}},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 f=null;for(let h=0;h{const n=a(3340),{Set:c,BitSet:d,DoubleDict:g}=n,r=a(9800),{ATNState:f,RuleStopState:h}=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:Ce,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 ve=this.computeStartState(we.atnStartState,x.EMPTY,!1);we.precedenceDfa?(we.s0.configs=ve,ve=this.applyPrecedenceFilter(ve),G=this.addDFAState(we,new p(null,ve)),we.setPrecedenceStartState(this.parser.getPrecedence(),G)):(G=this.addDFAState(we,new p(null,ve)),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 ae=this.getExistingTargetState(G,re);if(null===ae&&(ae=this.computeTargetState(H,G,re)),ae===l.ERROR){const ve=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 ve}if(ae.requiresFullContext&&this.predictionMode!==y.SLL){let ve=null;if(null!==ae.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const Qe=pe.index;if(Qe!==we&&pe.seek(we),ve=this.evalSemanticContext(ae.predicates,Ee,!0),1===ve.length)return this.debug&&console.log("Full LL avoided"),ve.minValue();Qe!==we&&pe.seek(Qe)}this.dfa_debug&&console.log("ctx sensitive state "+Ee+" in "+ae);const Ze=this.computeStartState(H.atnStartState,Ee,!0);return this.reportAttemptingFullContext(H,ve,ae.configs,we,pe.index),Be=this.execATNWithFullContext(H,ae,Ze,pe,we,Ee),Be}if(ae.isAcceptState){if(null===ae.predicates)return ae.prediction;const ve=pe.index;pe.seek(we);const He=this.evalSemanticContext(ae.predicates,Ee,!0);if(0===He.length)throw this.noViableAlt(pe,Ee,ae.configs,we);return 1===He.length||this.reportAmbiguity(H,ae,we,ve,!1,He,ae.configs),He.minValue()}G=ae,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 ae,re=!1,ve=pe;we.seek(Ee);let He=we.LA(1),Ze=-1;for(;;){if(ae=this.computeReachSet(ve,He,!0),null===ae){const Ge=this.noViableAlt(we,Be,ve,Ee);we.seek(Ee);const tt=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(ve,Be);if(tt!==r.INVALID_ALT_NUMBER)return tt;throw Ge}const Qe=y.getConflictingAltSubsets(ae);if(this.debug&&console.log("LL altSubSets="+Qe+", predict="+y.getUniqueAlt(Qe)+", resolvesToJustOneViableAlt="+y.resolvesToJustOneViableAlt(Qe)),ae.uniqueAlt=this.getUniqueAlt(ae),ae.uniqueAlt!==r.INVALID_ALT_NUMBER){Ze=ae.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}ve=ae,He!==b.EOF&&(we.consume(),He=we.LA(1))}return ae.uniqueAlt!==r.INVALID_ALT_NUMBER?(this.reportContextSensitivity(H,Ze,ae,Ee,we.index),Ze):(this.reportAmbiguity(H,W,Ee,we.index,re,null,ae),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 h&&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 h){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!==f.STAR_LOOP_ENTRY||W.stateType!==f.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=Ce.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:f}=a(5516),{ATNConfigSet:h}=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 h;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 h(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 f 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 f&&this.precedence===b.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(b){const p=[];return b.values().map(function(_){_ instanceof f&&p.push(_)}),p}}class h extends g{constructor(b,p){super();const _=new n;b instanceof h?b.opnds.map(function(y){_.add(y)}):_.add(b),p instanceof h?p.opnds.map(function(y){_.add(y)}):_.add(p);const l=f.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=f.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:f,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 f 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 h 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:f}=a(7279);Ie.exports=class h{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 f(this).toString()}get states(){return this._states}}},7279:(Ie,B,a)=>{const n=a(3340);class c{constructor(r,f,h){this.dfa=r,this.literalNames=f||[],this.symbolicNames=h||[]}toString(){if(null===this.dfa.s0)return null;let r="";const f=this.dfa.sortedStates();for(let h=0;h"),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 f=(r.isAcceptState?":":"")+"s"+r.stateNumber+(r.requiresFullContext?"^":"");return r.isAcceptState?null!==r.predicates?f+"=>"+n.arrayToString(r.predicates):f+"=>"+r.prediction.toString():f}}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(h,u){return null===h&&(h=-1),null===u&&(u=new n),this.stateNumber=h,this.configs=u,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const h=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(f){super(),this.exactOnly=f=f||!0}reportAmbiguity(f,h,u,v,b,p,_){if(this.exactOnly&&!b)return;const l="reportAmbiguity d="+this.getDecisionDescription(f,h)+": ambigAlts="+this.getConflictingAlts(p,_)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(l)}reportAttemptingFullContext(f,h,u,v,b,p){const _="reportAttemptingFullContext d="+this.getDecisionDescription(f,h)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(_)}reportContextSensitivity(f,h,u,v,b,p){const _="reportContextSensitivity d="+this.getDecisionDescription(f,h)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(_)}getDecisionDescription(f,h){const u=h.decision,v=h.atnStartState.ruleIndex,b=f.ruleNames;if(v<0||v>=b.length)return""+u;const p=b[v]||null;return null===p||0===p.length?""+u:`${u} (${p})`}getConflictingAlts(f,h){if(null!==f)return f;const u=new n;for(let v=0;v{class B{syntaxError(d,g,r,f,h,u){}reportAmbiguity(d,g,r,f,h,u,v){}reportAttemptingFullContext(d,g,r,f,h,u){}reportContextSensitivity(d,g,r,f,h,u){}}class a extends B{constructor(){super()}syntaxError(d,g,r,f,h,u){console.error("line "+r+":"+f+" "+h)}}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,f,h,u){this.delegates.map(v=>v.syntaxError(d,g,r,f,h,u))}reportAmbiguity(d,g,r,f,h,u,v){this.delegates.map(b=>b.reportAmbiguity(d,g,r,f,h,u,v))}reportAttemptingFullContext(d,g,r,f,h,u){this.delegates.map(v=>v.reportAttemptingFullContext(d,g,r,f,h,u))}reportContextSensitivity(d,g,r,f,h,u){this.delegates.map(v=>v.reportContextSensitivity(d,g,r,f,h,u))}}}},2487:(Ie,B,a)=>{const{Token:n}=a(6205),{NoViableAltException:c,InputMismatchException:d,FailedPredicateException:g,ParseCancellationException:r}=a(5858),{ATNState:f}=a(5516),{Interval:h,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=f.INVALID_STATE_NUMBER);if(D.contains(n.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=l._ctx,this.nextTokensState=l._stateNumber);else switch(y.stateType){case f.BLOCK_START:case f.STAR_BLOCK_START:case f.PLUS_BLOCK_START:case f.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(l))return;throw new d(l);case f.PLUS_LOOP_BACK:case f.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 h(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 h(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,f,h=-1;const u=arguments.length;if(!u)return"";let v="";for(;++h1114111||a(b)!==b)throw RangeError("Invalid code point: "+b);b<=65535?g.push(b):(b-=65536,r=55296+(b>>10),f=b%1024+56320,g.push(r,f)),(h+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 f extends r{constructor(){super()}}class u extends f{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),f={toStringTree:function(h,u,v){u=u||null,null!==(v=v||null)&&(u=v.ruleNames);let b=f.getNodeText(h,u);b=n.escapeWhitespace(b,!1);const p=h.getChildCount();if(0===p)return b;let _="("+b+" ";p>0&&(b=f.toStringTree(h.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 f(A){return"string"!=typeof A&&(A=String(A)),A}function h(A){var U={next:function(){var Ce=A.shift();return{done:void 0===Ce,value:Ce}}};return n_iterable&&(U[Symbol.iterator]=function(){return U}),U}function u(A){this.map={},A instanceof u?A.forEach(function(U,Ce){this.append(Ce,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,Ce){A.onload=function(){U(A.result)},A.onerror=function(){Ce(A.error)}})}function p(A){var U=new FileReader,Ce=b(U);return U.readAsArrayBuffer(A),Ce}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,Ce=b(U);return U.readAsText(A),Ce}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function l(A){for(var U=new Uint8Array(A),Ce=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)&&Ce)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(Ce)}function I(A){var U=new FormData;return A.trim().split("&").forEach(function(Ce){if(Ce){var Re=Ce.split("="),Ae=Re.shift().replace(/\+/g," "),de=Re.join("=").replace(/\+/g," ");U.append(decodeURIComponent(Ae),decodeURIComponent(de))}}),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(":"),de=Ae.shift().trim();if(de){var H=Ae.join(":").trim();U.append(de,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,Ce){this.message=U,this.name=Ce;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(Ce,Re){var Ae=new E(A,U);if(Ae.signal&&Ae.signal.aborted)return Re(new a.DOMException("Aborted","AbortError"));var de=new XMLHttpRequest;function H(){de.abort()}de.onload=function(){var W={status:de.status,statusText:de.statusText,headers:X(de.getAllResponseHeaders()||"")};W.url="responseURL"in de?de.responseURL:W.headers.get("X-Request-URL"),Ce(new $("response"in de?de.response:de.responseText,W))},de.onerror=function(){Re(new TypeError("Network request failed"))},de.ontimeout=function(){Re(new TypeError("Network request failed"))},de.onabort=function(){Re(new a.DOMException("Aborted","AbortError"))},de.open(Ae.method,Ae.url,!0),"include"===Ae.credentials?de.withCredentials=!0:"omit"===Ae.credentials&&(de.withCredentials=!1),"responseType"in de&&n_blob&&(de.responseType="blob"),Ae.headers.forEach(function(W,pe){de.setRequestHeader(pe,W)}),Ae.signal&&(Ae.signal.addEventListener("abort",H),de.onreadystatechange=function(){4===de.readyState&&Ae.signal.removeEventListener("abort",H)}),de.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),f=Number(g);return r.setDate(r.getDate()+f),r}},6888:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var f=Number(r);return n(g,36e5*f)}},3895:(Ie,B,a)=>{var n=a(1420);Ie.exports=function c(d,g){var r=n(d).getTime(),f=Number(g);return new Date(r+f)}},3745:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var f=Number(r);return n(g,6e4*f)}},1277:(Ie,B,a)=>{var n=a(1420),c=a(7255);Ie.exports=function d(g,r){var f=n(g),h=Number(r),u=f.getMonth()+h,v=new Date(0);v.setFullYear(f.getFullYear(),u,1),v.setHours(0,0,0,0);var b=c(v);return f.setMonth(u,Math.min(b,f.getDate())),f}},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(),f=g.getMonth(),h=new Date(0);return h.setFullYear(r,f+1,0),h.setHours(0,0,0,0),h.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,f=/[T ]/,h=/:/,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(f);if(h.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 Ce(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),ve=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 ae=parseInt(we[2],10);return Ee.setUTCFullYear(pe,Be,ae),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(ve){var Qe,He=ve.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 de(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 Ge=He+Ze,tt=new Date(Ge);Qe=n(tt);var Ct=new Date(Ge);Ct.setDate(tt.getDate()+1);var Nt=n(Ct)-n(tt);Nt>0&&(Qe+=Nt)}return new Date(He+Ze+Qe)}return new Date(W)}},563:(Ie,B,a)=>{B.formatArgs=function c(h){if(h[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+h[0]+(this.useColors?"%c ":" ")+"+"+Ie.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;h.splice(1,0,u,"color: inherit");let v=0,b=0;h[0].replace(/%[a-zA-Z%]/g,p=>{"%%"!==p&&(v++,"%c"===p&&(b=v))}),h.splice(b,0,u)},B.save=function d(h){try{h?B.storage.setItem("debug",h):B.storage.removeItem("debug")}catch{}},B.load=function g(){let h;try{h=B.storage.getItem("debug")}catch{}return!h&&typeof process<"u"&&"env"in process&&(h=process.env.DEBUG),h},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 h=!1;return()=>{h||(h=!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:f}=Ie.exports;f.j=function(h){try{return JSON.stringify(h)}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 Ce=g.formatters[U];return"function"==typeof Ce&&(A=Ce.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 h(){const _=[...g.names.map(v),...g.skips.map(v).map(l=>"-"+l)].join(",");return g.enable(""),_},g.enable=function f(_){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,f){try{return[decodeURIComponent(r.join(""))]}catch{}if(1===r.length)return r;var h=r.slice(0,f=f||1),u=r.slice(f);return Array.prototype.concat.call([],c(h),c(u))}function d(r){try{return decodeURIComponent(r)}catch{for(var f=r.match(a)||[],h=1;h"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 f=Object.keys(d)[0];return void 0!==r.find(u=>u[f]===d[f])}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),f=a(7681),h=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 f(this),this.pagination=new h(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((Ce,Re)=>{function Ae(de){U.push(de)===$.numJobs&&Re(new Error(U.map(H=>H.message).join("; ")))}E.httpClient.request("GET",`${X}.well-known/smart-configuration`,ie.addSignalOption(I)).then(de=>($.safeAbortOthers(ie),Ce(g(de)))).catch(de=>Ae(de)),E.capabilityStatement(ee.addSignalOption(I)).then(de=>($.safeAbortOthers(ee),Ce(d(de)))).catch(de=>Ae(de)),E.httpClient.request("GET",`${X}.well-known/openid-configuration`,A.addSignalOption(I)).then(de=>($.safeAbortOthers(A),Ce(g(de)))).catch(de=>Ae(de))})})()}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 f=0,h=this.numJobs;f{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"},f="__response",h="__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[f]}static requestFor(D){return D[h]}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 Ce=yield ie.text();let Re={};if(Ce)try{Re=JSON.parse(Ce)}catch{throw Re=Ce,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,f,{writable:!1,enumerable:!1,value:ie}),Object.defineProperty(Re,h,{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 f(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 h(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:f,options:h={}}={}){var u=this;return n(function*(){return void 0===r?g.startsWith("http")?u.resolveAbsoluteReference(g,d(h,f)):u.client.httpClient.get(g,d(h,f)):g.startsWith("#")?u.resolveContainedReference(g,r):u.resolveBundleReference(g,r,d(h,f))})()}resolveAbsoluteReference(g,r){var f=this;return n(function*(){if(g.startsWith(f.client.baseUrl))return f.client.httpClient.get(g,r);const{baseUrl:h,resourceType:u,id:v}=c(g);return new(a(8907))({baseUrl:h}).read({resourceType:u,id:v,options:r})})()}resolveContainedReference(g,r){if(r.contained){const f=g.slice(1),h=r.contained.find(u=>u.id===f);if(h)return h}throw new Error(`Unable to resolve contained reference: ${g}`)}resolveBundleReference(g,r,f){var h=this;return n(function*(){const u=new RegExp(`(^|/)${g}$`),v=r.entry.find(b=>u.test(b.fullUrl));return v?v.resource:h.resolve({reference:g,options:f})})()}}},6686:(Ie,B,a)=>{const{logError:c}=a(1566);Ie.exports={authFromCapability:function d(r){const f={};try{return r.rest.forEach(h=>{h.security.extension.find(v=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===v.url).extension.forEach(v=>{switch(v.url){case"authorize":f.authorizeUrl=new URL(v.valueUri);break;case"token":f.tokenUrl=new URL(v.valueUri);break;case"register":f.registerUrl=new URL(v.valueUri);break;case"manage":f.manageUrl=new URL(v.valueUri)}})}),f}catch(h){return c(h),f}},authFromWellKnown:function g(r){const{authorization_endpoint:f,token_endpoint:h,registration_endpoint:u}=r;return{authorizeUrl:f&&new URL(f),tokenUrl:h&&new URL(h),registerUrl:u&&new URL(u)}}}},9047:(Ie,B,a)=>{const n=a(133),{fhirReferenceRegEx:c}=a(4115);Ie.exports={createQueryString:function r(f){if(f instanceof Object&&Object.keys(f).length>0)return n.stringify(f)},splitReference:function d(f){if(!f.match(c))throw new Error(`${f} is not a recognized FHIR reference`);let h,u=f;f.startsWith("http")&&([,h]=c.exec(f),u=f.slice(h.length),h.endsWith("/")&&(h=h.slice(0,-1)));const[v,b]=u.split("/");return{baseUrl:h,resourceType:v,id:b}},validResourceType:function g(f){return!f.startsWith("/")&&!f.includes(":")&&/\S/.test(f)}}},4258:(Ie,B,a)=>{let n={};const c=a(7353),d=a(5117),g=a(5827);n.aggregateMacro=function(r,f,h){return r.reduce((u,v,b)=>(this.$index=b,this.$total=f(v)),this.$total=h)},n.countFn=function(r){return r&&r.length?r.length:0},n.sumFn=function(r){return n.aggregateMacro.apply(this,[r,f=>c.plus(g.arraify(f),g.arraify(this.$total)),0])},n.minFn=function(r){return n.aggregateMacro.apply(this,[r,f=>{const h=g.arraify(f),u=g.arraify(this.$total);return g.isEmpty(u)||d.lt(h,u)?h:u}])},n.maxFn=function(r){return n.aggregateMacro.apply(this,[r,f=>{const h=g.arraify(f),u=g.arraify(this.$total);return g.isEmpty(u)||d.gt(h,u)?h: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 f=0;f1)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 f=[];const h=g.length;let u=r.length;if(h&&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[_]&&(f.push(p),v[_]=!1,u--)}}return f},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,f=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 f(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,f=Object.keys,h=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(h(y)||h(x))return p(y=h(y)?r.call(y):y,x=h(x)?r.call(x):x,D);try{var I=f(y),X=f(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,f=d.FP_DateTime;var h={};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?f:p.constructor,y=_.constructor===r?f:_.constructor;return l!==y&&n.raiseError('Type of "'+p+'" ('+l.name+') did not match type of "'+_+'" ('+y.name+")","InequalityExpression"),[p,_]}h.equal=function(p,_){return u(p,_)},h.unequal=function(p,_){var l=u(p,_);return void 0===l?void 0:!l},h.equival=function(p,_){return v(p,_)},h.unequival=function(p,_){return!v(p,_)},h.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},h.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},h.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=h},631:(Ie,B,a)=>{const n=a(5827),{whereMacro:c,distinctFn:d}=a(5073),g=a(6777),r=a(6190),f={};function h(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}f.emptyFn=n.isEmpty,f.notFn=function(u){let v=g.singleton(u,"Boolean");return"boolean"==typeof v?!v:[]},f.existsMacro=function(u,v){var b=u;return v?f.existsMacro(c(u,v)):!n.isEmpty(b)},f.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={},f=a(631),h=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 Ce=A.makeResNode;function Re(re,ae,ve,He){if("Expr"===ve)return function(Qe){return re.$this=d.arraify(Qe),r.doEval(re,re.$this,He)};if("AnyAtRoot"===ve)return re.$this=re.$this||re.dataRoot,r.doEval(re,re.$this,He);if("Identifier"===ve){if("TermExpression"===He.type)return He.text;throw new Error("Expected identifier node, got "+JSON.stringify(He))}if("TypeSpecifier"===ve)return r.TypeSpecifier(re,ae,He);re.$this=ae;const Ze=r.doEval(re,ae,He);if("Any"===ve)return Ze;if(Array.isArray(ve)){if(0===Ze.length)return[];ve=ve[0]}return b.singleton(Ze,ve)}function de(re){return null==re||d.isEmpty(re)}function H(re,ae,ve,He){var Ze=r.invocationTable[ae];if(Ze&&Ze.fn){var Qe=He?He.length:0;if(2!==Qe)throw new Error("Infix invoke should have arity 2");var Ge=Ze.arity[Qe];if(Ge){for(var tt=[],Ct=0;CtCt?.__path__?Ce(Ct,Ct?.__path__):Ct),Ge={context:Qe,ucum:"http://unitsofmeasure.org"};ve&&(ve=Object.keys(ve).reduce((Ct,Nt)=>(Ct[Nt]=Array.isArray(ve[Nt])?ve[Nt].map(_t=>_t?.__path__?Ce(_t,_t.__path__):_t):ve[Nt]?.__path__?Ce(ve[Nt],ve[Nt].__path__):ve[Nt],Ct),{}));let tt={dataRoot:Qe,vars:Object.assign(Ge,ve),model:He};return Ze&&Ze.traceFn&&(tt.customTraceFn=Ze.traceFn),r.doEval(tt,Qe,ae.children[0]).map(Ct=>{let Nt=Ct instanceof A?Ct.path:null;return(Ct=d.valData(Ct))instanceof ie&&Ze.resolveInternalTypes&&(Ct=Ct.toString()),Nt&&"object"==typeof Ct&&Object.defineProperty(Ct,"__path__",{value:Nt}),Ct})}function Be(re,ae,ve){if(ve={resolveInternalTypes:!0,...ve},"object"==typeof re){const He=W(re.expression);return function(Ze,Qe){const Ge=re.base?Ce(Ze,re.base):Ze;return U.model=ae,pe(Ge,He,Qe,ae,ve)}}{const He=W(re);return function(Ze,Qe){return U.model=ae,pe(Ze,He,Qe,ae,ve)}}}r.invocationTable={empty:{fn:f.emptyFn},not:{fn:f.notFn},exists:{fn:f.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:f.allMacro,arity:{1:["Expr"]}},allTrue:{fn:f.allTrueFn},anyTrue:{fn:f.anyTrueFn},allFalse:{fn:f.allFalseFn},anyFalse:{fn:f.anyFalseFn},subsetOf:{fn:f.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:f.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:f.isDistinctFn},distinct:{fn:h.distinctFn},count:{fn:u.countFn},where:{fn:h.whereMacro,arity:{1:["Expr"]}},extension:{fn:h.extension,arity:{1:["String"]}},select:{fn:h.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:h.singleFn},first:{fn:h.firstFn},last:{fn:h.lastFn},type:{fn:E.typeFn,arity:{0:[]}},ofType:{fn:h.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:E.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:E.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:h.tailFn},take:{fn:h.takeFn,arity:{1:["Integer"]}},skip:{fn:h.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:h.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,ae,ve){return ve.children.reduce(function(He,Ze){return r.doEval(re,He,Ze)},ae)},r.TermExpression=function(re,ae,ve){return ae&&(ae=ae.map(He=>He instanceof Object&&He.resourceType?Ce(He,He.resourceType):He)),r.doEval(re,ae,ve.children[0])},r.PolarityExpression=function(re,ae,ve){var He=ve.terminalNodeText[0],Ze=r.doEval(re,ae,ve.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,ae,ve){let He,Ze;const Qe=ve.text.split(".").map(Ge=>Ge.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(ve))}return new U({namespace:He,name:Ze})},r.ExternalConstantTerm=function(re,ae,ve){var Qe=r.Identifier(re,ae,ve.children[0].children[0])[0],Ge=re.vars[Qe];if(!(Qe in re.vars))throw new Error("Attempting to access an undefined environment variable: "+Qe);return null==Ge?[]:Ge instanceof Array?Ge:[Ge]},r.LiteralTerm=function(re,ae,ve){var He=ve.children[0];return He?r.doEval(re,ae,He):[ve.text]},r.StringLiteral=function(re,ae,ve){var He=ve.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,ae,ve){return"true"===ve.text?[!0]:[!1]},r.QuantityLiteral=function(re,ae,ve){var He=ve.children[0],Ze=Number(He.terminalNodeText[0]),Qe=He.children[0],Ge=Qe.terminalNodeText[0];return!Ge&&Qe.children&&(Ge=Qe.children[0].terminalNodeText[0]),[new ee(Ze,Ge)]},r.DateTimeLiteral=function(re,ae,ve){var He=ve.text.slice(1);return[new X(He)]},r.TimeLiteral=function(re,ae,ve){var He=ve.text.slice(1);return[new $(He)]},r.NumberLiteral=function(re,ae,ve){return[Number(ve.text)]},r.Identifier=function(re,ae,ve){return[ve.text.replace(/(^`|`$)/g,"")]},r.InvocationTerm=function(re,ae,ve){return r.doEval(re,ae,ve.children[0])},r.MemberInvocation=function(re,ae,ve){const He=r.doEval(re,ae,ve.children[0])[0],Ze=re.model;if(ae){if(d.isCapitalized(He))return ae.filter(Qe=>Qe instanceof A&&Qe.path===He);{const Qe=ae.path||ae.__path__;return ae.reduce(function(Ge,tt){var Ct=(tt=Ce(tt,Qe)).path+"."+He;if(Ze){let Tt=Ze.pathsDefinedElsewhere[Ct];Tt&&(Ct=Tt)}let Nt,_t,Bt=Ze&&Ze.choiceTypePaths[Ct];if(Bt)for(let Tt of Bt){let Lt=He+Tt;if(Nt=tt.data?.[Lt],_t=tt.data?.["_"+Lt],void 0!==Nt||void 0!==_t){Ct+=Tt;break}}else Nt=tt.data?.[He],_t=tt.data?.["_"+He],void 0===Nt&&void 0===_t&&(Nt=tt._data[He]),"extension"===He&&(Ct="Extension");return Ct=Ze&&Ze.path2Type[Ct]||Ct,(d.isSome(Nt)||d.isSome(_t))&&(Array.isArray(Nt)?Ge=Ge.concat(Nt.map((Tt,Lt)=>Ce(Tt,Ct,_t&&_t[Lt]))):Ge.push(Ce(Nt,Ct,_t))),Ge},[])}}return[]},r.IndexerExpression=function(re,ae,ve){const Ze=ve.children[1];var Qe=r.doEval(re,ae,ve.children[0]),Ge=r.doEval(re,ae,Ze);if(d.isEmpty(Ge))return[];var tt=parseInt(Ge[0]);return Qe&&d.isSome(tt)&&Qe.length>tt&&tt>=0?[Qe[tt]]:[]},r.Functn=function(re,ae,ve){return ve.children.map(function(He){return r.doEval(re,ae,He)})},r.realizeParams=function(re,ae,ve){return ve&&ve[0]&&ve[0].children?ve[0].children.map(function(He){return r.doEval(re,ae,He)}):[]},r.FunctionInvocation=function(re,ae,ve){var He=r.doEval(re,ae,ve.children[0]);const Ze=He[0];return He.shift(),function Ae(re,ae,ve,He){var Qe,Ze=r.invocationTable[ae];if(Ze){if(Ze.arity){var Ge=He?He.length:0,tt=Ze.arity[Ge];if(tt){for(var Ct=[],Nt=0;Nt{const ve=U.fromValue(ae?.__path__?new A(ae,ae.__path__):ae);return`${ve.namespace}.${ve.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(f,h){return!1===f||f?n.flatten(f.filter((u,v)=>(this.$index=v,h(u)[0]))):[]},extension:function(f,h){return!1!==f&&!f||!h?[]:n.flatten(f.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===h).map(p=>d.makeResNode(p,"Extension")):[]}))},selectMacro:function(f,h){return!1===f||f?n.flatten(f.map((u,v)=>(this.$index=v,h(u)))):[]},repeatMacro:function(f,h){if(!1!==f&&!f)return[];let u=[];const v={},b=f.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(h))},distinctFn:function(f){let h=[];if(f.length>0){let u={};for(let v=0,b=f.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 h(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(h):Object.keys(u).sort().reduce((v,b)=>(v[b]=h(u[b]),v),{}):u}Ie.exports=function f(u){return JSON.stringify(h(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 f(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 h(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(h(u))return[];{let v=f(u);return Math.abs(v)}},r.ceiling=function(u){if(h(u))return[];{let v=f(u);return Math.ceil(v)}},r.exp=function(u){if(h(u))return[];{let v=f(u);return Math.exp(v)}},r.floor=function(u){if(h(u))return[];{let v=f(u);return Math.floor(v)}},r.ln=function(u){if(h(u))return[];{let v=f(u);return Math.log(v)}},r.log=function(u,v){if(h(u)||h(v))return[];{let b=f(u),p=f(v);return Math.log(b)/Math.log(p)}},r.power=function(u,v){if(h(u)||h(v))return[];{let b=f(u),p=f(v);return b<0&&Math.floor(p)!=p?[]:Math.pow(b,p)}},r.round=function(u,v){if(h(u))return[];{let b=f(u);if(h(v))return Math.round(b);{let p=f(v),_=Math.pow(10,p);return Math.round(b*_)/_}}},r.sqrt=function(u){if(h(u))return[];{let v=f(u);return v<0?[]:Math.sqrt(v)}},r.truncate=function(u){if(h(u))return[];{let v=f(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 f=/^((\+|-)?\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=f.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 f=this.model;return r.reduce(function(h,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(f){let l=f.pathsDefinedElsewhere[_];l&&(_=l)}Array.isArray(p)?h.push.apply(h,p.map(l=>d(l,_))):h.push(d(p,_))}return h}return h},[])},descendants:function(r){for(var f=g.children.call(this,r),h=[];f.length>0;)h.push.apply(h,f),f=g.children.call(this,f);return h}};Ie.exports=g},4192:Ie=>{let B={};function a(g){const f=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +g);if(!f)return 0;const h=f[2];return Math.max(0,("0"===h?0:(h||"").length)-(f[3]||0))}function n(g,r){const f=Math.pow(10,r);return Math.round(g*f)/f}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 f=Math.min(a(g),a(r));return 0===f?Math.round(g)===Math.round(r):n(g,f)===n(r,f)},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((h,u)=>new c.dfa.DFA(h,u));class f extends c.Lexer{constructor(u){super(u),this._interp=new c.atn.LexerATNSimulator(this,g,r,new c.PredictionContextCache)}get atn(){return g}}n(f,"grammarFileName","FHIRPath.g4"),n(f,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),n(f,"modeNames",["DEFAULT_MODE"]),n(f,"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(f,"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(f,"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"]),f.EOF=c.Token.EOF,f.T__0=1,f.T__1=2,f.T__2=3,f.T__3=4,f.T__4=5,f.T__5=6,f.T__6=7,f.T__7=8,f.T__8=9,f.T__9=10,f.T__10=11,f.T__11=12,f.T__12=13,f.T__13=14,f.T__14=15,f.T__15=16,f.T__16=17,f.T__17=18,f.T__18=19,f.T__19=20,f.T__20=21,f.T__21=22,f.T__22=23,f.T__23=24,f.T__24=25,f.T__25=26,f.T__26=27,f.T__27=28,f.T__28=29,f.T__29=30,f.T__30=31,f.T__31=32,f.T__32=33,f.T__33=34,f.T__34=35,f.T__35=36,f.T__36=37,f.T__37=38,f.T__38=39,f.T__39=40,f.T__40=41,f.T__41=42,f.T__42=43,f.T__43=44,f.T__44=45,f.T__45=46,f.T__46=47,f.T__47=48,f.T__48=49,f.T__49=50,f.T__50=51,f.T__51=52,f.T__52=53,f.T__53=54,f.DATETIME=55,f.TIME=56,f.IDENTIFIER=57,f.DELIMITEDIDENTIFIER=58,f.STRING=59,f.NUMBER=60,f.WS=61,f.COMMENT=62,f.LINE_COMMENT=63,Ie.exports=f},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),f=r.decisionToState.map((at,N)=>new c.dfa.DFA(at,N)),h=new c.PredictionContextCache;class u extends c.Parser{constructor(N){super(N),this._interp=new c.atn.ParserATNSimulator(this,r,f,h),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),K=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,K=ne,this.state=34,this.term();break;case u.T__3:case u.T__4:ne=new _(this,ne),this._ctx=ne,K=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 et=this._interp.adaptivePredict(this._input,2,this._ctx);2!=et&&et!=c.atn.ATN.INVALID_ALT_NUMBER;){if(1===et)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),K=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(ve,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 Ce extends U{constructor(N,oe){super(N),super.copyFrom(oe)}externalConstant(){return this.getTypedRuleContext(ae,0)}enterRule(N){N instanceof d&&N.enterExternalConstantTerm(this)}exitRule(N){N instanceof d&&N.exitExternalConstantTerm(this)}}u.ExternalConstantTermContext=Ce;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 de extends U{constructor(N,oe){super(N),super.copyFrom(oe)}invocation(){return this.getTypedRuleContext(ve,0)}enterRule(N){N instanceof d&&N.enterInvocationTerm(this)}exitRule(N){N instanceof d&&N.exitInvocationTerm(this)}}u.InvocationTermContext=de;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(_t,0)}enterRule(N){N instanceof d&&N.enterQuantityLiteral(this)}exitRule(N){N instanceof d&&N.exitQuantityLiteral(this)}}u.QuantityLiteralContext=re;class ae 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 ve 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 ve{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 ve{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 ve{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 Ge extends ve{constructor(N,oe){super(N),super.copyFrom(oe)}functn(){return this.getTypedRuleContext(Ct,0)}enterRule(N){N instanceof d&&N.enterFunctionInvocation(this)}exitRule(N){N instanceof d&&N.exitFunctionInvocation(this)}}u.FunctionInvocationContext=Ge;class tt extends ve{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 Ct 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(Nt,0)}enterRule(N){N instanceof d&&N.enterFunctn(this)}exitRule(N){N instanceof d&&N.exitFunctn(this)}}class Nt 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 _t 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(Lt,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 Lt 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(lt,0)}enterRule(N){N instanceof d&&N.enterTypeSpecifier(this)}exitRule(N){N instanceof d&&N.exitTypeSpecifier(this)}}class lt 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=ae,u.InvocationContext=ve,u.FunctnContext=Ct,u.ParamListContext=Nt,u.QuantityContext=_t,u.UnitContext=Bt,u.DateTimePrecisionContext=Tt,u.PluralDateTimePrecisionContext=Lt,u.TypeSpecifierContext=Le,u.QualifiedIdentifierContext=lt,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(h){var u=new n.InputStream(h),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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.indexOf(u)},d.substring=function(h,u,v){const b=c.singleton(h,"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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.startsWith(u)},d.endsWith=function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.endsWith(u)},d.containsFn=function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.includes(u)},d.upper=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.toUpperCase()},d.lower=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.toLowerCase()},d.joinFn=function(h,u){return void 0===u&&(u=""),h.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(h,u){const v=c.singleton(h,"String");return n.isEmpty(v)?[]:v.split(u)},d.trimFn=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.trim()},d.encodeFn=function(h,u){const v=c.singleton(h,"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(h,u){const v=c.singleton(h,"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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(u,"s").test(v)}:function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(function r(h){return g[h]||(g[h]=h.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[h]}(u)).test(v)},d.replace=function(h,u,v){const b=c.singleton(h,"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(h,u,v){const b=c.singleton(h,"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(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.length},d.toChars=function(h){const u=c.singleton(h,"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 f="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",h=new RegExp("^T?"+f+"$"),u=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+f+")?)?)?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 Ce=p.toUcumQuantity(this.value,this.unit),Re=p.toUcumQuantity(A.value,A.unit),Ae=d.convertUnitTo(Re.unit,Re.value,Ce.unit);return"succeeded"===Ae.status&&g.isEqual(Ce.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),Ce=p.getEquivalentUcumUnitCode(A.unit),Re=d.convertUnitTo(Ce,A.value,U);return"succeeded"===Re.status&&g.isEquivalent(this.value,Re.toVal)}_compareYearsAndMonths(A){const U=p._yearMonthConversionFactor[this.unit],Ce=p._yearMonthConversionFactor[A.unit];return U&&Ce?{isEqual:g.isEqual(this.value*U,A.value*Ce)}: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 Ce=p._yearMonthConversionFactor[ie],Re=p._yearMonthConversionFactor[U];if(Ce&&Re)return new p(Ce*A/Re,U);const Ae=p._calendarDuration2Seconds[ie],de=p._calendarDuration2Seconds[U];if(de){if(Ae)return new p(Ae*A/de,U);{const H=d.convertUnitTo(ie.replace(/^'|'$/g,""),A,"s");if("succeeded"===H.status)return new p(H.toVal/de,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 Ce=p.arithmeticDurationUnits[A.unit];if(!Ce)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[Ce];if(void 0===Ae)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(Re._timeUnitToDatePrecision).join(", ")+".");let de=A.value;const H=Re===x;if((H?Ae<2:Ae<5)&&(de=Math.trunc(de)),this._getPrecision()2?new y(de)._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(),Ce=A._getPrecision(),Re=U<=Ce?this._getDateObj().getTime():this._dateAtPrecision(Ce).getTime(),Ae=Ce<=U?A._getDateObj().getTime():A._dateAtPrecision(U).getTime();return U!==Ce&&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 Ce=U;Ce>=0&&void 0===this.precision;--Ce)this.timeMatchData[Ce]&&(this.precision=Ce);return this.timeMatchData}_getTimeParts(A){var U=[];U=[A[0]];var Ce=A[4];if(Ce){let H=U[0];U[0]=H.slice(0,H.length-Ce.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 de=A[3];de&&(U[2]=Ae.slice(0,Ae.length-de.length),U[3]=de)}}return U}_getDateObj(){if(!this.dateObj){var A=this._getPrecision();this.dateObj=this._dateAtPrecision(A)}return this.dateObj}_createDate(A,U,Ce,Re,Ae,de,H,W){var pe=new Date(A,U,Ce,Re,Ae,de,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 Ce=this._getMatchData(),Re=Ce[0];this.timeParts=[Re];var U=Ce[1];if(U){this.timeParts[0]=Re.slice(0,Re.length-U.length),this.timeParts[1]=U;let Ae=Ce[2];if(Ae){this.timeParts[1]=U.slice(0,U.length-Ae.length),this.timeParts[2]=Ae;let de=Ce[3];de&&(this.timeParts[2]=Ae.slice(0,Ae.length-de.length),"T"===de[0]&&(Ce[3]=de.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(Ce.slice(3))))}}}return this.timeParts}_dateAtPrecision(U){var Ce=this._getTimeParts(),Re=this._getMatchData()[7],Ae=this._getPrecision(),de=parseInt(Ce[0]),H=Ae>0?parseInt(Ce[1].slice(1))-1:0,W=Ae>1?parseInt(Ce[2].slice(1)):1,pe=Ae>2?parseInt(Ce[3]):0,we=Ae>3?parseInt(Ce[4].slice(1)):0,Ee=Ae>4?parseInt(Ce[5].slice(1)):0,Be=Ce.length>6?parseInt(Ce[6].slice(1)):0,G=this._createDate(de,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(de,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 Ce=this._getTimeParts(),Re=this._getMatchData()[4],Ae=this._getPrecision(),pe=parseInt(Ce[0]),we=Ae>0?parseInt(Ce[1].slice(1)):0,Ee=Ae>1?parseInt(Ce[2].slice(1)):0,Be=Ce.length>3?parseInt(Ce[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(h,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 Ce=ie.getTimezoneOffset(),Re=Ce<0?"+":"-",Ae=(Ce=Math.abs(Ce))%60;U+=Re+D((Ce-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,Ce,Re){U?.resourceType&&(Ce=U.resourceType),this.path=Ce,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,Ce){return A instanceof ie?A:new ie(A,U,Ce)},ie})(),I=(()=>{class ie{constructor({name:U,namespace:Ce}){this.name=U,this.namespace=Ce}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 Ce=typeof U;return Number.isInteger(U)?Ce="integer":"number"===Ce?Ce="decimal":U instanceof S?Ce="date":U instanceof y?Ce="dateTime":U instanceof x?Ce="time":U instanceof p&&(Ce="Quantity"),A===ie.System&&(Ce=Ce.replace(/^\w/,Re=>Re.toUpperCase())),new ie({namespace:A,name:Ce})},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:h,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,f){let h=this.valData(g);if(r.indexOf(typeof h)<0){let u=r.length>1?"one of "+r.join(", "):r[0];n.raiseError("Found type '"+typeof g+"' but was expecting "+u,f)}return h},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,f){return Array.isArray(f)?r=r.concat(f):r.push(f),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(f,h){return g[0]===h?"[Circular ~]":"[Circular ~."+r.slice(0,g.indexOf(h)).join(".")+"]"}),function(f,h){if(g.length>0){var u=g.indexOf(this);~u?g.splice(u+1):g.push(this),~u?r.splice(u,1/0,f):r.push(f),~g.indexOf(h)&&(h=d.call(this,f,h))}else g.push(h);return null==c?h:c.call(this,f,h)}}(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 h(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 f(u){return h(u,c,"day")||h(u,n,"hour")||h(u,a,"minute")||h(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),f=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(Ce=>p(Ce,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 h(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,[f]:!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[f]?b(E.fragmentIdentifier,I):E.fragmentIdentifier}`),`${X}${A}${U}`},B.pick=(E,I,X)=>{X=Object.assign({parseFragmentIdentifier:!0,[f]:!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:f}=this;if(g)throw r;return this._throwIfClosed(),f}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),f=a(4674),h=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,f.m)(_.next)&&(0,f.m)(_.error)&&(0,f.m)(_.complete)}(_)&&(0,c.Nn)(_)}(y)?y:new n.Hp(y,x,D);return(0,h.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,f=1/0,h=c.l){super(),this._bufferSize=r,this._windowTime=f,this._timestampProvider=h,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=f===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,f)}next(r){const{isStopped:f,_buffer:h,_infiniteTimeWindow:u,_timestampProvider:v,_windowTime:b}=this;f||(h.push(r),!u&&h.push(v.now()+b)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const f=this._innerSubscribe(r),{_infiniteTimeWindow:h,_buffer:u}=this,v=u.slice();for(let b=0;b{"use strict";a.d(B,{x:()=>h});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),f=a(1441);let h=(()=>{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,f.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const _ of this.currentObservers)_.next(p)}})}error(p){(0,f.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:_}=this;for(;_.length;)_.shift().error(p)}})}complete(){(0,f.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 h{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 f=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 h($){return v("E",void 0,$)}(ee),this):(this.isStopped=!0,this._error(ee))}complete(){this.isStopped?I(f,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 Ce;this&&d.config.useDeprecatedNextContext?(Ce=Object.create(ee),Ce.unsubscribe=()=>this.unsubscribe(),U={next:ee.next&&y(ee.next,Ce),error:ee.error&&y(ee.error,Ce),complete:ee.complete&&y(ee.complete,Ce)}):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:()=>f,w0:()=>r,Nn:()=>h});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 f=r.EMPTY;function h(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:()=>f});var n=a(5592),c=a(7394),d=a(6196),g=a(8251),r=a(9360);class f 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),f=a(9940),h=a(2714),u=a(8251),v=a(7103);function b(...l){const y=(0,f.yG)(l),x=(0,f.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,h.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),f=a(7400),h=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,h.n)(_,D):D),y.complete())}))}});return b?l.pipe((0,f.Z)(b)):l}},2459:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>ee});var n=a(4829),c=a(3093),d=a(5137),f=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 f.y(U=>{(0,b.f)(U,A,()=>{const Ce=ie[Symbol.asyncIterator]();(0,b.f)(U,A,()=>{Ce.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 h(ie,A){return new f.y(U=>{let Ce=0;return A.schedule(function(){Ce===ie.length?U.complete():(U.next(ie[Ce++]),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 f.y(U=>{let Ce;return(0,b.f)(U,A,()=>{Ce=ie[u.h](),(0,b.f)(U,A,()=>{let Re,Ae;try{({value:Re,done:Ae}=Ce.next())}catch(de){return void U.error(de)}Ae?U.complete():U.next(Re)},0,!0)}),()=>(0,v.m)(Ce?.return)&&Ce.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),f=a(7400);const h=["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,f.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)?h.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),f=a(5726),h=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,f.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,h.z)($)}function E($){return new g.y(ee=>{(function X($,ee){var ie,A,U,Ce;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&&(Ce=ie.return)&&(yield Ce.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:()=>f});var n=a(7537),c=a(4829),d=a(6232),g=a(9940),r=a(2459);function f(...h){const u=(0,g.yG)(h),v=(0,g._6)(h,1/0),b=h;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:()=>f,S:()=>r});var n=a(5592),c=a(4829),d=a(7728),g=a(8251);function r(...h){return 1===(h=(0,d.k)(h)).length?(0,c.Xf)(h[0]):new n.y(f(h))}function f(h){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 f=(0,c.m)(g)?g:()=>g,h=u=>u.error(f());return new n.y(r?u=>r.schedule(h,0,u):h)}},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(f=0,h,u=c.P){let v=-1;return null!=h&&((0,d.K)(h)?u=h:v=h),new n.y(b=>{let p=(0,g.q)(f)?+f-u.now():f;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,{$:()=>h});var n=a(5592),c=a(4829),d=a(7728),g=a(6232),r=a(8251),f=a(9940);function h(...u){const v=(0,f.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,f,h,u){return new d(g,r,f,h,u)}class d extends n.Lv{constructor(r,f,h,u,v,b){super(r),this.onFinalize=v,this.shouldUnsubscribe=b,this._next=f?function(p){try{f(p)}catch(_){r.error(_)}}:super._next,this._error=u?function(p){try{u(p)}catch(_){r.error(_)}finally{this.unsubscribe()}}:super._error,this._complete=h?function(){try{h()}catch(p){r.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:f}=this;super.unsubscribe(),!f&&(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)((f,h)=>{let u=!1,v=null,b=null,p=!1;const _=()=>{if(b?.unsubscribe(),b=null,u){u=!1;const y=v;v=null,h.next(y)}p&&h.complete()},l=()=>{b=null,p&&h.complete()};f.subscribe((0,d.x)(h,y=>{u=!0,v=y,b||(0,c.Xf)(r(y)).subscribe(b=(0,d.x)(h,_,l))},()=>{p=!0,(!u||!b||b.closed)&&h.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,f=n.z){return(0,c.U)(()=>(0,d.H)(r,f))}},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)((f,h)=>{let b,u=null,v=!1;u=f.subscribe((0,c.x)(h,void 0,void 0,p=>{b=(0,n.Xf)(r(p,g(r)(f))),u?(u.unsubscribe(),u=null,b.subscribe(h)):v=!0})),v&&(u.unsubscribe(),u=null,b.subscribe(h))})}},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,f=n.z){return(0,c.e)((h,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=f.now();if(x{b=y,p=f.now(),v||(v=f.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,f)=>{let h=!1;r.subscribe((0,c.x)(f,u=>{h=!0,f.next(u)},()=>{h||f.next(g),f.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,f=n.z){const h=(0,d.H)(r,f);return(0,c.j)(()=>h)}},4610:(Ie,B,a)=>{"use strict";a.d(B,{j:()=>h});var n=a(34),c=a(8180),d=a(7538),g=a(975),r=a(9769),f=a(4829);function h(u,v){return v?b=>(0,n.z)(v.pipe((0,c.q)(1),(0,d.l)()),b.pipe(h(u))):(0,r.z)((b,p)=>(0,f.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(f,h=n.y){return f=f??r,(0,c.e)((u,v)=>{let b,p=!0;u.subscribe((0,d.x)(v,_=>{const l=h(_);(p||!f(b,l))&&(p=!1,b=l,v.next(_))}))})}function r(f,h){return f===h}},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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>g.call(r,v,u++)&&h.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:()=>h});var n=a(6973),c=a(2181),d=a(8180),g=a(3572),r=a(3026),f=a(2737);function h(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):f.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,f)=>{r.subscribe((0,c.x)(f,d.Z))})}},2032:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>h});var n=a(6973),c=a(2181),d=a(4418),g=a(3026),r=a(3572),f=a(2737);function h(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):f.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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>{h.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,f,h,u,v,b,p,_){const l=[];let y=0,x=0,D=!1;const S=()=>{D&&!l.length&&!y&&f.complete()},E=X=>y{b&&f.next(X),y++;let $=!1;(0,n.Xf)(h(X,x++)).subscribe((0,d.x)(f,ee=>{v?.(ee),b?E(ee):f.next(ee)},()=>{$=!0},void 0,()=>{if($)try{for(y--;l.length&&yI(ee)):I(ee)}S()}catch(ee){f.error(ee)}}))};return r.subscribe((0,d.x)(f,E,()=>{D=!0,S()})),()=>{_?.()}}},9769:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>f});var n=a(7398),c=a(4829),d=a(9360),g=a(564),r=a(4674);function f(h,u,v=1/0){return(0,r.m)(u)?f((b,p)=>(0,n.U)((_,l)=>u(b,_,p,l))((0,c.Xf)(h(b,p))),v):("number"==typeof u&&(v=u),(0,d.e)((b,p)=>(0,g.p)(b,p,h,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,f=0){return(0,c.e)((h,u)=>{h.subscribe((0,d.x)(u,v=>(0,n.f)(u,r,()=>u.next(v),f),()=>(0,n.f)(u,r,()=>u.complete(),f),v=>(0,n.f)(u,r,()=>u.error(v),f)))})}},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 f=null;g._refCount++;const h=(0,c.x)(r,void 0,void 0,void 0,()=>{if(!g||g._refCount<=0||0<--g._refCount)return void(f=null);const u=g._connection,v=f;f=null,u&&(!v||u===v)&&u.unsubscribe(),r.unsubscribe()});g.subscribe(h),h.closed||(f=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,f,h){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),f&&v.next(p)},h&&(()=>{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(h={}){const{connector:u=(()=>new c.x),resetOnError:v=!0,resetOnComplete:b=!0,resetOnRefCountZero:p=!0}=h;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=f($,p))}),A.subscribe(ie),!l&&D>0&&(l=new d.Hp({next:U=>A.next(U),error:U=>{E=!0,I(),y=f(X,v,U),A.error(U)},complete:()=>{S=!0,I(),y=f(X,b),A.complete()}}),(0,n.Xf)(ee).subscribe(l))})(_)}}function f(h,u,...v){if(!0===u)return void h();if(!1===u)return;const b=new d.Hp({next:()=>{b.unsubscribe(),h()}});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,f){let h,u=!1;return g&&"object"==typeof g?({bufferSize:h=1/0,windowTime:r=1/0,refCount:u=!1,scheduler:f}=g):h=g??1/0,(0,c.B)({connector:()=>new n.t(h,r,f),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 f=(0,c.yG)(r);return(0,d.e)((h,u)=>{(f?(0,n.z)(r,h,f):(0,n.z)(r,h)).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,f)=>{f.add(d.schedule(()=>r.subscribe(f),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,f){return(0,c.e)((h,u)=>{let v=null,b=0,p=!1;const _=()=>p&&!v&&u.complete();h.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(f?f(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)((f,h)=>{let u=0;f.subscribe((0,d.x)(h,v=>{++u<=r&&(h.next(v),r<=u&&h.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)((f,h)=>{let u=[];f.subscribe((0,d.x)(h,v=>{u.push(v),r{for(const v of u)h.next(v);h.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(f){return(0,n.e)((h,u)=>{(0,d.Xf)(f).subscribe((0,c.x)(u,()=>u.complete(),g.Z)),!u.closed&&h.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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>{const b=g(v,u++);(b||r)&&h.next(v),!b&&h.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(f,h,u){const v=(0,n.m)(f)||h||u?{next:f,error:h,complete:u}:f;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(f=r){return(0,c.e)((h,u)=>{let v=!1;h.subscribe((0,d.x)(u,b=>{v=!0,u.next(b)},()=>v?u.complete():u.error(f())))})}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),f=a(8251),h=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,h.f)(I,D,()=>{try{X.unsubscribe(),(0,g.Xf)(x({meta:S,lastValue:ee,seen:ie})).subscribe(I)}catch(Ce){I.error(Ce)}},U)};X=E.subscribe((0,f.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(h,u){super()}schedule(h,u=0){return this}}const d={setInterval(f,h,...u){const{delegate:v}=d;return v?.setInterval?v.setInterval(f,h,...u):setInterval(f,h,...u)},clearInterval(f){const{delegate:h}=d;return(h?.clearInterval||clearInterval)(f)},delegate:void 0};var g=a(9039);class r extends c{constructor(h,u){super(h,u),this.scheduler=h,this.work=u,this.pending=!1}schedule(h,u=0){var v;if(this.closed)return this;this.state=h;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(h,u,v=0){return d.setInterval(h.flush.bind(h,this),v)}recycleAsyncId(h,u,v=0){if(null!=v&&this.delay===v&&!1===this.pending)return u;null!=u&&d.clearInterval(u)}execute(h,u){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const v=this._execute(h,u);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(h,u){let b,v=!1;try{this.work(h)}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:h,scheduler:u}=this,{actions:v}=u;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.P)(v,this),null!=h&&(this.id=this.recycleAsyncId(u,h,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,f=c.now){this.schedulerActionCtor=r,this.now=f}schedule(r,f=0,h){return new this.schedulerActionCtor(this,r).schedule(h,f)}}c.now=n.l.now;class d extends c{constructor(r,f=c.now){super(r,f),this.actions=[],this._active=!1}flush(r){const{actions:f}=this;if(this._active)return void f.push(r);let h;this._active=!0;do{if(h=r.execute(r.state,r.delay))break}while(r=f.shift());if(this._active=!1,h){for(;r=f.shift();)r.unsubscribe();throw h}}}},927:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>h});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 h=new class f 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 f={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}=f,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:()=>f,jO:()=>g,yG:()=>r});var n=a(4674),c=a(671);function d(h){return h[h.length-1]}function g(h){return(0,n.m)(d(h))?h.pop():void 0}function r(h){return(0,c.K)(d(h))?h.pop():void 0}function f(h,u){return"number"==typeof d(h)?h.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(h){if(1===h.length){const u=h[0];if(n(u))return{args:u,keys:null};if(function f(h){return h&&"object"==typeof h&&c(h)===d}(u)){const v=g(u);return{args:v.map(b=>u[b]),keys:v}}}return{args:h,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,f)=>(g[r]=d[f],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 f=!c;if(f&&(c={errorThrown:!1,error:null}),r(),f){const{errorThrown:h,error:u}=c;if(c=null,h)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,f=!1){const h=d.schedule(function(){g(),f?c.add(this.schedule(null,r)):this.unsubscribe()},r);if(c.add(h),!f)return h}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 h=r.getReader();try{for(;;){const{value:u,done:v}=yield(0,n.__await)(h.read());if(v)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(u)}}finally{h.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(f){try{return g(f,this)}catch(h){this.error(h)}});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)(f=>function d(r,f){return c(f)?r(...f):r(f)}(r,f))}},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(f){return g.reduce((h,u)=>u(h),f)}}},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:()=>h,bufferCount:()=>v,bufferTime:()=>y,bufferToggle:()=>x,bufferWhen:()=>D,catchError:()=>S.K,combineAll:()=>de,combineLatest:()=>W,combineLatestAll:()=>Ae,combineLatestWith:()=>pe,concat:()=>Be,concatAll:()=>we.u,concatMap:()=>G.b,concatMapTo:()=>ae,concatWith:()=>ve,connect:()=>tt,count:()=>Ct,debounce:()=>Nt,debounceTime:()=>_t.b,defaultIfEmpty:()=>Bt.d,delay:()=>Tt.g,delayWhen:()=>Lt.j,dematerialize:()=>Y,distinct:()=>ne,distinctUntilChanged:()=>K.x,distinctUntilKeyChanged:()=>ce,elementAt:()=>Pe,endWith:()=>Pt,every:()=>Ft,exhaust:()=>he,exhaustAll:()=>Ke,exhaustMap:()=>Oe,expand:()=>ct,filter:()=>Dt.h,finalize:()=>Me.x,find:()=>Ye,findIndex:()=>F,first:()=>V.P,flatMap:()=>on,groupBy:()=>Q,ignoreElements:()=>be.l,isEmpty:()=>dt,last:()=>Rt.Z,map:()=>Gt.U,mapTo:()=>qe.h,materialize:()=>nt,max:()=>Ve,merge:()=>At,mergeAll:()=>yt.J,mergeMap:()=>ee.z,mergeMapTo:()=>xn,mergeScan:()=>Sn,mergeWith:()=>_n,min:()=>Mn,multicast:()=>fi,observeOn:()=>Vi.Q,onErrorResumeNext:()=>bt,pairwise:()=>pt,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:()=>Mt,scan:()=>jt.R,sequenceEqual:()=>ke,share:()=>me.B,shareReplay:()=>se.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:()=>ut.q,takeLast:()=>Cn.h,takeUntil:()=>tn.R,takeWhile:()=>En.o,tap:()=>ei.b,throttle:()=>Ei,throttleTime:()=>tr,throwIfEmpty:()=>_e.T,timeInterval:()=>Ai,timeout:()=>yi.V,timeoutWith:()=>Ot,timestamp:()=>te,toArray:()=>Ce,window:()=>Ne,windowCount:()=>ot,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),f=a(4829);function h(wt){return(0,d.e)((vt,gt)=>{let St=[];return vt.subscribe((0,r.x)(gt,Ht=>St.push(Ht),()=>{gt.next(St),gt.complete()})),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{const Ht=St;St=[],gt.next(Ht)},g.Z)),()=>{St=null}})}var u=a(9039);function v(wt,vt=null){return vt=vt??wt,(0,d.e)((gt,St)=>{let Ht=[],Yt=0;gt.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 gt,St;const Ht=null!==(gt=(0,_.yG)(vt))&&void 0!==gt?gt: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)((gt,St)=>{const Ht=[];(0,f.Xf)(wt).subscribe((0,r.x)(St,Yt=>{const Jt=[];Ht.push(Jt);const yn=new b.w0;yn.add((0,f.Xf)(vt(Yt)).subscribe((0,r.x)(St,()=>{(0,u.P)(Ht,Jt),St.next(Jt),yn.unsubscribe()},g.Z)))},g.Z)),gt.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,gt)=>{let St=null,Ht=null;const Yt=()=>{Ht?.unsubscribe();const Jt=St;St=[],Jt&>.next(Jt),(0,f.Xf)(wt()).subscribe(Ht=(0,r.x)(gt,Yt,g.Z))};Yt(),vt.subscribe((0,r.x)(gt,Jt=>St?.push(Jt),()=>{St&>.next(St),gt.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 Ce(){return(0,d.e)((wt,vt)=>{A(U,[])(wt).subscribe(vt)})}function Re(wt,vt){return(0,$.z)(Ce(),(0,ee.z)(gt=>wt(gt)),vt?(0,X.Z)(vt):I.y)}function Ae(wt){return Re(E.a,wt)}const de=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)((gt,St)=>{(0,E.l)([gt,...(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)((gt,St)=>{(0,we.u)()((0,Ee.D)([gt,...wt],vt)).subscribe(St)})}var G=a(6328),re=a(4674);function ae(wt,vt){return(0,re.m)(vt)?(0,G.b)(()=>wt,vt):(0,G.b)(()=>wt)}function ve(...wt){return Be(...wt)}var He=a(8645),Ze=a(5592);const Ge={connector:()=>new He.x};function tt(wt,vt=Ge){const{connector:gt}=vt;return(0,d.e)((St,Ht)=>{const Yt=gt();(0,f.Xf)(wt(function Qe(wt){return new Ze.y(vt=>wt.subscribe(vt))}(Yt))).subscribe(Ht),Ht.add(St.subscribe(Yt))})}function Ct(wt){return A((vt,gt,St)=>!wt||wt(gt,St)?vt+1:vt,0)}function Nt(wt){return(0,d.e)((vt,gt)=>{let St=!1,Ht=null,Yt=null;const Jt=()=>{if(Yt?.unsubscribe(),Yt=null,St){St=!1;const yn=Ht;Ht=null,gt.next(yn)}};vt.subscribe((0,r.x)(gt,yn=>{Yt?.unsubscribe(),St=!0,Ht=yn,Yt=(0,r.x)(gt,Jt,g.Z),(0,f.Xf)(wt(yn)).subscribe(Yt)},()=>{Jt(),gt.complete()},void 0,()=>{Ht=Yt=null}))})}var _t=a(3620),Bt=a(3572),Tt=a(7547),Lt=a(4610),Le=a(6232),lt=a(2096),ze=a(8504);class N{constructor(vt,gt,St){this.kind=vt,this.value=gt,this.error=St,this.hasValue="N"===vt}observe(vt){return oe(this,vt)}do(vt,gt,St){const{kind:Ht,value:Yt,error:Jt}=this;return"N"===Ht?vt?.(Yt):"E"===Ht?gt?.(Jt):St?.()}accept(vt,gt,St){var Ht;return(0,re.m)(null===(Ht=vt)||void 0===Ht?void 0:Ht.next)?this.observe(vt):this.do(vt,gt,St)}toObservable(){const{kind:vt,value:gt,error:St}=this,Ht="N"===vt?(0,lt.of)(gt):"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 gt,St,Ht;const{kind:Yt,value:Jt,error:yn}=wt;if("string"!=typeof Yt)throw new TypeError('Invalid notification, missing "kind"');"N"===Yt?null===(gt=vt.next)||void 0===gt||gt.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,gt=>oe(gt,vt)))})}function ne(wt,vt){return(0,d.e)((gt,St)=>{const Ht=new Set;gt.subscribe((0,r.x)(St,Yt=>{const Jt=wt?wt(Yt):Yt;Ht.has(Jt)||(Ht.add(Jt),St.next(Yt))})),vt&&(0,f.Xf)(vt).subscribe((0,r.x)(St,()=>Ht.clear(),g.Z))})}N.completeNotification=new N("C");var K=a(3997);function ce(wt,vt){return(0,K.x)((gt,St)=>vt?vt(gt[wt],St[wt]):gt[wt]===St[wt])}var Te=a(2306);const et=(0,Te.d)(wt=>function(){wt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Dt=a(2181),_e=a(3026),ut=a(8180);function Pe(wt,vt){if(wt<0)throw new et;const gt=arguments.length>=2;return St=>St.pipe((0,Dt.h)((Ht,Yt)=>Yt===wt),(0,ut.q)(1),gt?(0,Bt.d)(vt):(0,_e.T)(()=>new et))}var mt=a(34);function Pt(...wt){return vt=>(0,mt.z)(vt,(0,lt.of)(...wt))}function Ft(wt,vt){return(0,d.e)((gt,St)=>{let Ht=0;gt.subscribe((0,r.x)(St,Yt=>{wt.call(vt,Yt,Ht++,gt)||(St.next(!1),St.complete())},()=>{St.next(!0),St.complete()}))})}var Gt=a(7398);function Oe(wt,vt){return vt?gt=>gt.pipe(Oe((St,Ht)=>(0,f.Xf)(wt(St,Ht)).pipe((0,Gt.U)((Yt,Jt)=>vt(St,Yt,Ht,Jt))))):(0,d.e)((gt,St)=>{let Ht=0,Yt=null,Jt=!1;gt.subscribe((0,r.x)(St,yn=>{Yt||(Yt=(0,r.x)(St,void 0,()=>{Yt=null,Jt&&St.complete()}),(0,f.Xf)(wt(yn,Ht++)).subscribe(Yt))},()=>{Jt=!0,!Yt&&St.complete()}))})}function Ke(){return Oe(I.y)}const he=Ke;var ge=a(564);function ct(wt,vt=1/0,gt){return vt=(vt||0)<1?1/0:vt,(0,d.e)((St,Ht)=>(0,ge.p)(St,Ht,wt,vt,void 0,!0,gt))}var Me=a(4716);function Ye(wt,vt){return(0,d.e)(De(wt,vt,"value"))}function De(wt,vt,gt){const St="index"===gt;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 Q(wt,vt,gt,St){return(0,d.e)((Ht,Yt)=>{let Jt;vt&&"function"!=typeof vt?({duration:gt,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),gt){const Zi=(0,r.x)(oi,()=>{oi.complete(),Zi?.unsubscribe()},void 0,void 0,()=>yn.delete(ni));ui.add((0,f.Xf)(gt(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 be=a(7538);function dt(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,()=>{vt.next(!1),vt.complete()},()=>{vt.next(!0),vt.complete()}))})}var Rt=a(2032),qe=a(975);function nt(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,gt=>{vt.next(N.createNext(gt))},()=>{vt.next(N.createComplete()),vt.complete()},gt=>{vt.next(N.createError(gt)),vt.complete()}))})}function Ve(wt){return A((0,re.m)(wt)?(vt,gt)=>wt(vt,gt)>0?vt:gt:(vt,gt)=>vt>gt?vt:gt)}var yt=a(7537);function At(...wt){const vt=(0,_.yG)(wt),gt=(0,_._6)(wt,1/0);return wt=(0,H.k)(wt),(0,d.e)((St,Ht)=>{(0,yt.J)(gt)((0,Ee.D)([St,...wt],vt)).subscribe(Ht)})}const on=ee.z;function xn(wt,vt,gt=1/0){return(0,re.m)(vt)?(0,ee.z)(()=>wt,vt,gt):("number"==typeof vt&&(gt=vt),(0,ee.z)(()=>wt,gt))}function Sn(wt,vt,gt=1/0){return(0,d.e)((St,Ht)=>{let Yt=vt;return(0,ge.p)(St,Ht,(Jt,yn)=>wt(Yt,Jt,yn),gt,Jt=>{Yt=Jt},!1,void 0,()=>Yt=null)})}function _n(...wt){return At(...wt)}function Mn(wt){return A((0,re.m)(wt)?(vt,gt)=>wt(vt,gt)<0?vt:gt:(vt,gt)=>vtwt;return(0,re.m)(vt)?tt(vt,{connector:gt}):St=>new xi.c(St,gt)}var Vi=a(3093);const bt=function xt(...wt){const vt=(0,H.k)(wt);return gt=>function Yi(...wt){const vt=(0,H.k)(wt);return new Ze.y(gt=>{let St=0;const Ht=()=>{if(St{let gt,St=!1;wt.subscribe((0,r.x)(vt,Ht=>{const Yt=gt;gt=Ht,St&&vt.next([Yt,Ht]),St=!0}))})}function qt(wt,vt){return(gt,St)=>!wt.call(vt,gt,St)}function nn(wt,vt){return gt=>[(0,Dt.h)(wt,vt)(gt),(0,Dt.h)(qt(wt,vt))(gt)]}function cn(...wt){const vt=wt.length;if(0===vt)throw new Error("list of properties cannot be empty.");return(0,Gt.U)(gt=>{let St=gt;for(let Ht=0;Httt(wt)(vt):vt=>fi(new He.x)(vt)}var Nn=a(5619);function wn(wt){return vt=>{const gt=new Nn.X(wt);return new xi.c(vt,()=>gt)}}class Xn extends He.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(vt){const{hasError:gt,_hasValue:St,_value:Ht,thrownError:Yt,isStopped:Jt,_isComplete:yn}=this;gt?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:gt,_isComplete:St}=this;St||(this._isComplete=!0,vt&&super.next(gt),super.complete())}}function _i(){return wt=>{const vt=new Xn;return new xi.c(wt,()=>vt)}}var $n=a(7328);function ti(wt,vt,gt,St){gt&&!(0,re.m)(gt)&&(St=gt);const Ht=(0,re.m)(gt)?gt: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,gt)=>{(0,an.R)([vt,...wt])(gt)}):I.y}function Tn(...wt){return mn(...(0,H.k)(wt))}var Rn=a(9080);function Wn(wt){let gt,vt=1/0;return null!=wt&&("object"==typeof wt?({count:vt=1/0,delay:gt}=wt):vt=wt),vt<=0?()=>Le.E:(0,d.e)((St,Ht)=>{let Jt,Yt=0;const yn=()=>{if(Jt?.unsubscribe(),Jt=null,null!=gt){const Vn="number"==typeof gt?(0,Rn.H)(gt):(0,f.Xf)(gt(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&&(gt.complete(),!0),On=()=>{yn=!1,St=vt.subscribe((0,r.x)(gt,void 0,()=>{yn=!0,!vn()&&(Yt||(Yt=new He.x,(0,f.Xf)(wt(Yt)).subscribe((0,r.x)(gt,()=>{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:gt=1/0,delay:St,resetOnSuccess:Ht=!1}=vt;return gt<=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,f.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,gt)=>{let St,Yt,Ht=!1;const Jt=()=>{St=vt.subscribe((0,r.x)(gt,void 0,void 0,yn=>{Yt||(Yt=new He.x,(0,f.Xf)(wt(Yt)).subscribe((0,r.x)(gt,()=>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,gt)=>{let St=!1,Ht=null;vt.subscribe((0,r.x)(gt,Yt=>{St=!0,Ht=Yt})),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{if(St){St=!1;const Yt=Ht;Ht=null,gt.next(Yt)}},g.Z))})}function Mt(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=((gt,St)=>gt===St)){return(0,d.e)((gt,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};gt.subscribe(yn(Ht,Yt)),(0,f.Xf)(wt).subscribe(yn(Yt,Ht))})}var me=a(3020),se=a(7081),Xe=a(6973);const kt=(0,Te.d)(wt=>function(gt){wt(this),this.name="SequenceError",this.message=gt}),Wt=(0,Te.d)(wt=>function(gt){wt(this),this.name="NotFoundError",this.message=gt});function un(wt){return(0,d.e)((vt,gt)=>{let Ht,St=!1,Yt=!1,Jt=0;vt.subscribe((0,r.x)(gt,yn=>{Yt=!0,(!wt||wt(yn,Jt++,vt))&&(St&>.error(new kt("Too many matching values")),St=!0,Ht=yn)},()=>{St?(gt.next(Ht),gt.complete()):gt.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,gt)=>{let St=new Array(wt),Ht=0;return vt.subscribe((0,r.x)(gt,Yt=>{const Jt=Ht++;if(Jt{St=null}})}function si(wt){return(0,d.e)((vt,gt)=>{let St=!1;const Ht=(0,r.x)(gt,()=>{Ht?.unsubscribe(),St=!0},g.Z);(0,f.Xf)(wt).subscribe(Ht),vt.subscribe((0,r.x)(gt,Yt=>St&>.next(Yt)))})}function jn(wt){return(0,d.e)((vt,gt)=>{let St=!1,Ht=0;vt.subscribe((0,r.x)(gt,Yt=>(St||(St=!wt(Yt,Ht++)))&>.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)((gt,St)=>{let Ht=vt;return(0,Ti.w)((Yt,Jt)=>wt(Ht,Yt,Jt),(Yt,Jt)=>(Ht=Jt,Jt))(gt).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)((gt,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,f.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)}};gt.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,gt){const St=(0,Rn.H)(wt,vt);return Ei(()=>St,gt)}function Ai(wt=p.z){return(0,d.e)((vt,gt)=>{let St=wt.now();vt.subscribe((0,r.x)(gt,Ht=>{const Yt=wt.now(),Jt=Yt-St;St=Yt,gt.next(new ar(Ht,Jt))}))})}class ar{constructor(vt,gt){this.value=vt,this.interval=gt}}var yi=a(5178),Je=a(93);function Ot(wt,vt,gt){let St,Ht,Yt;if(gt=gt??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:gt,with:Yt})}var C=a(4552);function te(wt=C.l){return(0,Gt.U)(vt=>({value:vt,timestamp:wt.now()}))}function Ne(wt){return(0,d.e)((vt,gt)=>{let St=new He.x;gt.next(St.asObservable());const Ht=Yt=>{St.error(Yt),gt.error(Yt)};return vt.subscribe((0,r.x)(gt,Yt=>St?.next(Yt),()=>{St.complete(),gt.complete()},Ht)),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{St.complete(),gt.next(St=new He.x)},g.Z,Ht)),()=>{St?.unsubscribe(),St=null}})}function ot(wt,vt=0){const gt=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%gt==0&&Yt.shift().complete(),++yn%gt==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 gt,St;const Ht=null!==(gt=(0,_.yG)(vt))&&void 0!==gt?gt: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)((gt,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,f.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)),gt.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),gt.error(yn)},Jt=()=>{let yn;Ht?.unsubscribe(),St?.complete(),St=new He.x,gt.next(St.asObservable());try{yn=(0,f.Xf)(wt())}catch(vn){return void Yt(vn)}yn.subscribe(Ht=(0,r.x)(gt,Jt,Jt,Yt))};Jt(),vt.subscribe((0,r.x)(gt,yn=>St.next(yn),()=>{St.complete(),gt.complete()},Yt,()=>{Ht?.unsubscribe(),St=null}))})}function Pi(...wt){const vt=(0,_.jO)(wt);return(0,d.e)((gt,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));gt.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,gt)=>{(0,Li.$)(vt,...wt).subscribe(gt)})}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:()=>_t,validate:()=>f,version:()=>Lt});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,f=function r(Le){return"string"==typeof Le&&g.test(Le)},h=[];for(let Le=0;Le<256;++Le)h.push((Le+256).toString(16).slice(1));function u(Le,lt=0){return(h[Le[lt+0]]+h[Le[lt+1]]+h[Le[lt+2]]+h[Le[lt+3]]+"-"+h[Le[lt+4]]+h[Le[lt+5]]+"-"+h[Le[lt+6]]+h[Le[lt+7]]+"-"+h[Le[lt+8]]+h[Le[lt+9]]+"-"+h[Le[lt+10]]+h[Le[lt+11]]+h[Le[lt+12]]+h[Le[lt+13]]+h[Le[lt+14]]+h[Le[lt+15]]).toLowerCase()}const b=function v(Le,lt=0){const ze=u(Le,lt);if(!f(ze))throw TypeError("Stringified UUID is invalid");return ze};let p,_,l=0,y=0;const D=function x(Le,lt,ze){let at=lt&&ze||0;const N=lt||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(),K=void 0!==Le.nsecs?Le.nsecs:y+1;const ce=ne-l+(K-y)/1e4;if(ce<0&&void 0===Le.clockseq&&(Y=Y+1&16383),(ce<0||ne>l)&&void 0===Le.nsecs&&(K=0),K>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=ne,y=K,_=Y,ne+=122192928e5;const Te=(1e4*(268435455&ne)+K)%4294967296;N[at++]=Te>>>24&255,N[at++]=Te>>>16&255,N[at++]=Te>>>8&255,N[at++]=255&Te;const et=ne/4294967296*1e4&268435455;N[at++]=et>>>8&255,N[at++]=255&et,N[at++]=et>>>24&15|16,N[at++]=et>>>16&255,N[at++]=Y>>>8|128,N[at++]=255&Y;for(let Dt=0;Dt<6;++Dt)N[at+Dt]=oe[Dt];return lt||u(N)},E=function S(Le){if(!f(Le))throw TypeError("Invalid UUID");let lt;const ze=new Uint8Array(16);return ze[0]=(lt=parseInt(Le.slice(0,8),16))>>>24,ze[1]=lt>>>16&255,ze[2]=lt>>>8&255,ze[3]=255<,ze[4]=(lt=parseInt(Le.slice(9,13),16))>>>8,ze[5]=255<,ze[6]=(lt=parseInt(Le.slice(14,18),16))>>>8,ze[7]=255<,ze[8]=(lt=parseInt(Le.slice(19,23),16))>>>8,ze[9]=255<,ze[10]=(lt=parseInt(Le.slice(24,36),16))/1099511627776&255,ze[11]=lt/4294967296&255,ze[12]=lt>>>24&255,ze[13]=lt>>>16&255,ze[14]=lt>>>8&255,ze[15]=255<,ze};function ee(Le,lt,ze){function at(N,oe,Y,ne){var K;if("string"==typeof N&&(N=function I(Le){Le=unescape(encodeURIComponent(Le));const lt=[];for(let ze=0;ze>>9<<4)+1}function Ae(Le,lt){const ze=(65535&Le)+(65535<);return(Le>>16)+(lt>>16)+(ze>>16)<<16|65535&ze}function H(Le,lt,ze,at,N,oe){return Ae(function de(Le,lt){return Le<>>32-lt}(Ae(Ae(lt,Le),Ae(at,oe)),N),ze)}function W(Le,lt,ze,at,N,oe,Y){return H(lt&ze|~lt&at,Le,lt,N,oe,Y)}function pe(Le,lt,ze,at,N,oe,Y){return H(lt&at|ze&~at,Le,lt,N,oe,Y)}function we(Le,lt,ze,at,N,oe,Y){return H(lt^ze^at,Le,lt,N,oe,Y)}function Ee(Le,lt,ze,at,N,oe,Y){return H(ze^(lt|~at),Le,lt,N,oe,Y)}const re=ee("v3",48,function ie(Le){if("string"==typeof Le){const lt=unescape(encodeURIComponent(Le));Le=new Uint8Array(lt.length);for(let ze=0;ze>5]>>>N%32&255,Y=parseInt(at.charAt(oe>>>4&15)+at.charAt(15&oe),16);lt.push(Y)}return lt}(function Ce(Le,lt){Le[lt>>5]|=128<>5]|=(255&Le[at/8])<>>32-lt}const _t=ee("v5",80,function tt(Le){const lt=[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=et,et=Te,Te=Ge(ce,30)>>>0,ce=K,K=Pe}ze[0]=ze[0]+K>>>0,ze[1]=ze[1]+ce>>>0,ze[2]=ze[2]+Te>>>0,ze[3]=ze[3]+et>>>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",Lt=function Tt(Le){if(!f(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:()=>de,__classPrivateFieldIn:()=>W,__classPrivateFieldSet:()=>H,__createBinding:()=>y,__decorate:()=>r,__disposeResources:()=>Ee,__esDecorate:()=>h,__exportStar:()=>x,__extends:()=>c,__generator:()=>l,__importDefault:()=>Ae,__importStar:()=>Re,__makeTemplateObject:()=>U,__metadata:()=>p,__param:()=>f,__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(ae,ve){ae.__proto__=ve}||function(ae,ve){for(var He in ve)Object.prototype.hasOwnProperty.call(ve,He)&&(ae[He]=ve[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 ae(){this.constructor=G}n(G,re),G.prototype=null===re?Object.create(re):(ae.prototype=re.prototype,new ae)}var d=function(){return d=Object.assign||function(re){for(var ae,ve=1,He=arguments.length;ve=0;Ge--)(Qe=G[Ge])&&(Ze=(He<3?Qe(Ze):He>3?Qe(re,ae,Ze):Qe(re,ae))||Ze);return He>3&&Ze&&Object.defineProperty(re,ae,Ze),Ze}function f(G,re){return function(ae,ve){re(ae,ve,G)}}function h(G,re,ae,ve,He,Ze){function Qe(ze){if(void 0!==ze&&"function"!=typeof ze)throw new TypeError("Function expected");return ze}for(var _t,Ge=ve.kind,tt="getter"===Ge?"get":"setter"===Ge?"set":"value",Ct=!re&&G?ve.static?G:G.prototype:null,Nt=re||(Ct?Object.getOwnPropertyDescriptor(Ct,ve.name):{}),Bt=!1,Tt=ae.length-1;Tt>=0;Tt--){var Lt={};for(var Le in ve)Lt[Le]="access"===Le?{}:ve[Le];for(var Le in ve.access)Lt.access[Le]=ve.access[Le];Lt.addInitializer=function(ze){if(Bt)throw new TypeError("Cannot add initializers after decoration has completed");Ze.push(Qe(ze||null))};var lt=(0,ae[Tt])("accessor"===Ge?{get:Nt.get,set:Nt.set}:Nt[tt],Lt);if("accessor"===Ge){if(void 0===lt)continue;if(null===lt||"object"!=typeof lt)throw new TypeError("Object expected");(_t=Qe(lt.get))&&(Nt.get=_t),(_t=Qe(lt.set))&&(Nt.set=_t),(_t=Qe(lt.init))&&He.unshift(_t)}else(_t=Qe(lt))&&("field"===Ge?He.unshift(_t):Nt[tt]=_t)}Ct&&Object.defineProperty(Ct,ve.name,Nt),Bt=!0}function u(G,re,ae){for(var ve=arguments.length>2,He=0;He0&&Ze[Ze.length-1])&&(6===Ct[0]||2===Ct[0])){ae=0;continue}if(3===Ct[0]&&(!Ze||Ct[1]>Ze[0]&&Ct[1]=G.length&&(G=void 0),{value:G&&G[ve++],done:!G}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(G,re){var ae="function"==typeof Symbol&&G[Symbol.iterator];if(!ae)return G;var He,Qe,ve=ae.call(G),Ze=[];try{for(;(void 0===re||re-- >0)&&!(He=ve.next()).done;)Ze.push(He.value)}catch(Ge){Qe={error:Ge}}finally{try{He&&!He.done&&(ae=ve.return)&&ae.call(ve)}finally{if(Qe)throw Qe.error}}return Ze}function E(){for(var G=[],re=0;re1||Ge(Bt,Tt)})})}function Ge(Bt,Tt){try{!function tt(Bt){Bt.value instanceof $?Promise.resolve(Bt.value.v).then(Ct,Nt):_t(Ze[0][2],Bt)}(ve[Bt](Tt))}catch(Lt){_t(Ze[0][3],Lt)}}function Ct(Bt){Ge("next",Bt)}function Nt(Bt){Ge("throw",Bt)}function _t(Bt,Tt){Bt(Tt),Ze.shift(),Ze.length&&Ge(Ze[0][0],Ze[0][1])}}function ie(G){var re,ae;return re={},ve("next"),ve("throw",function(He){throw He}),ve("return"),re[Symbol.iterator]=function(){return this},re;function ve(He,Ze){re[He]=G[He]?function(Qe){return(ae=!ae)?{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 ae,re=G[Symbol.asyncIterator];return re?re.call(G):(G=D(G),ae={},ve("next"),ve("throw"),ve("return"),ae[Symbol.asyncIterator]=function(){return this},ae);function ve(Ze){ae[Ze]=G[Ze]&&function(Qe){return new Promise(function(Ge,tt){!function He(Ze,Qe,Ge,tt){Promise.resolve(tt).then(function(Ct){Ze({value:Ct,done:Ge})},Qe)}(Ge,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 Ce=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 ae in G)"default"!==ae&&Object.prototype.hasOwnProperty.call(G,ae)&&y(re,G,ae);return Ce(re,G),re}function Ae(G){return G&&G.__esModule?G:{default:G}}function de(G,re,ae,ve){if("a"===ae&&!ve)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof re?G!==re||!ve:!re.has(G))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===ae?ve:"a"===ae?ve.call(G):ve?ve.value:re.get(G)}function H(G,re,ae,ve,He){if("m"===ve)throw new TypeError("Private method is not writable");if("a"===ve&&!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"===ve?He.call(G,ae):He?He.value=ae:re.set(G,ae),ae}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,ae){if(null!=re){if("object"!=typeof re&&"function"!=typeof re)throw new TypeError("Object expected.");var ve;if(ae){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ve=re[Symbol.asyncDispose]}if(void 0===ve){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ve=re[Symbol.dispose]}if("function"!=typeof ve)throw new TypeError("Object not disposable.");G.stack.push({value:re,dispose:ve,async:ae})}else ae&&G.stack.push({async:!0});return re}var we="function"==typeof SuppressedError?SuppressedError:function(G,re,ae){var ve=new Error(ae);return ve.name="SuppressedError",ve.error=G,ve.suppressed=re,ve};function Ee(G){function re(ve){G.error=G.hasError?new we(ve,G.error,"An error was suppressed during disposal."):ve,G.hasError=!0}return function ae(){for(;G.stack.length;){var ve=G.stack.pop();try{var He=ve.dispose&&ve.dispose.call(ve.value);if(ve.async)return Promise.resolve(He).then(ae,function(Ze){return re(Ze),ae()})}catch(Ze){re(Ze)}}if(G.hasError)throw G.error}()}const Be={__extends:c,__assign:d,__rest:g,__decorate:r,__param:f,__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:de,__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 Q=F[V],be=typeof Q;("object"===be||"function"===be)&&!Object.isFrozen(Q)&&B(Q)}),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 Q=Object.create(null);for(const be in F)Q[be]=F[be];return V.forEach(function(be){for(const dt in be)Q[dt]=be[dt]}),Q}const g=F=>!!F.scope;class f{constructor(V,Q){this.buffer="",this.classPrefix=Q.classPrefix,V.walk(this)}addText(V){this.buffer+=n(V)}openNode(V){if(!g(V))return;const Q=((F,{prefix:V})=>{if(F.startsWith("language:"))return F.replace("language:","language-");if(F.includes(".")){const Q=F.split(".");return[`${V}${Q.shift()}`,...Q.map((be,dt)=>`${be}${"_".repeat(dt+1)}`)].join(" ")}return`${V}${F}`})(V.scope,{prefix:this.classPrefix});this.span(Q)}closeNode(V){g(V)&&(this.buffer+="")}value(){return this.buffer}span(V){this.buffer+=``}}const h=(F={})=>{const V={children:[]};return Object.assign(V,F),V};class u{constructor(){this.rootNode=h(),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 Q=h({scope:V});this.add(Q),this.stack.push(Q)}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,Q){return"string"==typeof Q?V.addText(Q):Q.children&&(V.openNode(Q),Q.children.forEach(be=>this._walk(V,be)),V.closeNode(Q)),V}static _collapse(V){"string"!=typeof V&&V.children&&(V.children.every(Q=>"string"==typeof Q)?V.children=[V.children.join("")]:V.children.forEach(Q=>{u._collapse(Q)}))}}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,Q){const be=V.root;Q&&(be.scope=`language:${Q}`),this.add(be)}toHTML(){return new f(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(Q=>b(Q)).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(be=>b(be)).join("|")+")"}function S(F){return new RegExp(F.toString()+"|").exec("").length-1}const I=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function X(F,{joinWith:V}){let Q=0;return F.map(be=>{Q+=1;const dt=Q;let Rt=b(be),qe="";for(;Rt.length>0;){const nt=I.exec(Rt);if(!nt){qe+=Rt;break}qe+=Rt.substring(0,nt.index),Rt=Rt.substring(nt.index+nt[0].length),"\\"===nt[0][0]&&nt[1]?qe+="\\"+String(Number(nt[1])+dt):(qe+=nt[0],"("===nt[0]&&Q++)}return qe}).map(be=>`(${be})`).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+)?)",Ce="\\b(0b[01]+)",de={begin:"\\\\[\\s\\S]",relevance:0},H={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[de]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[de]},we=function(F,V,Q={}){const be=c({scope:"comment",begin:F,end:V,contains:[]},Q);be.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 dt=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 be.contains.push({begin:y(/[ ]+/,"(",dt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),be},Ee=we("//","$"),Be=we("/\\*","\\*/"),G=we("#","$");var Ct=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:Ce,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":(Q,be)=>{0!==Q.index&&be.ignoreMatch()}},F)},BACKSLASH_ESCAPE:de,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:Ce,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[de,{begin:/\[/,end:/\]/,relevance:0,contains:[de]}]}]},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,Q)=>{Q.data._beginMatch=V[1]},"on:end":(V,Q)=>{Q.data._beginMatch!==V[1]&&Q.ignoreMatch()}})}});function Nt(F,V){"."===F.input[F.index-1]&&V.ignoreMatch()}function _t(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=Nt,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 Lt(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 lt=(F,V)=>{if(!F.beforeMatch)return;if(F.starts)throw new Error("beforeMatch cannot be used with starts");const Q=Object.assign({},F);Object.keys(F).forEach(be=>{delete F[be]}),F.keywords=Q.keywords,F.begin=y(Q.beforeMatch,p(Q.begin)),F.starts={relevance:0,contains:[Object.assign(Q,{endsParent:!0})]},F.relevance=0,delete Q.beforeMatch},ze=["of","and","for","in","not","or","if","then","parent","list","value"],at="keyword";function N(F,V,Q=at){const be=Object.create(null);return"string"==typeof F?dt(Q,F.split(" ")):Array.isArray(F)?dt(Q,F):Object.keys(F).forEach(function(Rt){Object.assign(be,N(F[Rt],V,Rt))}),be;function dt(Rt,qe){V&&(qe=qe.map(nt=>nt.toLowerCase())),qe.forEach(function(nt){const Ve=nt.split("|");be[Ve[0]]=[Rt,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={},K=F=>{console.error(F)},ce=(F,...V)=>{console.log(`WARN: ${F}`,...V)},Te=(F,V)=>{ne[`${F}/${V}`]||(console.log(`Deprecated as of ${F}. ${V}`),ne[`${F}/${V}`]=!0)},et=new Error;function Dt(F,V,{key:Q}){let be=0;const dt=F[Q],Rt={},qe={};for(let nt=1;nt<=V.length;nt++)qe[nt+be]=dt[nt],Rt[nt+be]=!0,be+=S(V[nt-1]);F[Q]=qe,F[Q]._emit=Rt,F[Q]._multi=!0}function mt(F){(function Pe(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 _e(F){if(Array.isArray(F.begin)){if(F.skip||F.excludeBegin||F.returnBegin)throw K("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),et;if("object"!=typeof F.beginScope||null===F.beginScope)throw K("beginScope must be object"),et;Dt(F,F.begin,{key:"beginScope"}),F.begin=X(F.begin,{joinWith:""})}}(F),function ut(F){if(Array.isArray(F.end)){if(F.skip||F.excludeEnd||F.returnEnd)throw K("skip, excludeEnd, returnEnd not compatible with endScope: {}"),et;if("object"!=typeof F.endScope||null===F.endScope)throw K("endScope must be object"),et;Dt(F,F.end,{key:"endScope"}),F.end=X(F.end,{joinWith:""})}}(F)}function Pt(F){function V(qe,nt){return new RegExp(b(qe),"m"+(F.case_insensitive?"i":"")+(F.unicodeRegex?"u":"")+(nt?"g":""))}class Q{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(nt,Ve){Ve.position=this.position++,this.matchIndexes[this.matchAt]=Ve,this.regexes.push([Ve,nt]),this.matchAt+=S(nt)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const nt=this.regexes.map(Ve=>Ve[1]);this.matcherRe=V(X(nt,{joinWith:"|"}),!0),this.lastIndex=0}exec(nt){this.matcherRe.lastIndex=this.lastIndex;const Ve=this.matcherRe.exec(nt);if(!Ve)return null;const yt=Ve.findIndex((on,xn)=>xn>0&&void 0!==on),At=this.matchIndexes[yt];return Ve.splice(0,yt),Object.assign(Ve,At)}}class be{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(nt){if(this.multiRegexes[nt])return this.multiRegexes[nt];const Ve=new Q;return this.rules.slice(nt).forEach(([yt,At])=>Ve.addRule(yt,At)),Ve.compile(),this.multiRegexes[nt]=Ve,Ve}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(nt,Ve){this.rules.push([nt,Ve]),"begin"===Ve.type&&this.count++}exec(nt){const Ve=this.getMatcher(this.regexIndex);Ve.lastIndex=this.lastIndex;let yt=Ve.exec(nt);if(this.resumingScanAtSamePosition()&&(!yt||yt.index!==this.lastIndex)){const At=this.getMatcher(0);At.lastIndex=this.lastIndex+1,yt=At.exec(nt)}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 Rt(qe,nt){const Ve=qe;if(qe.isCompiled)return Ve;[_t,Lt,mt,lt].forEach(At=>At(qe,nt)),F.compilerExtensions.forEach(At=>At(qe,nt)),qe.__beforeBegin=null,[Bt,Tt,Le].forEach(At=>At(qe,nt)),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),nt&&(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&&nt.terminatorEnd&&(Ve.terminatorEnd+=(qe.end?"|":"")+nt.terminatorEnd)),qe.illegal&&(Ve.illegalRe=V(qe.illegal)),qe.contains||(qe.contains=[]),qe.contains=[].concat(...qe.contains.map(function(At){return function Gt(F){return F.variants&&!F.cachedVariants&&(F.cachedVariants=F.variants.map(function(V){return c(F,{variants:null},V)})),F.cachedVariants?F.cachedVariants:Ft(F)?c(F,{starts:F.starts?c(F.starts):null}):Object.isFrozen(F)?c(F):F}("self"===At?qe:At)})),qe.contains.forEach(function(At){Rt(At,Ve)}),qe.starts&&Rt(qe.starts,nt),Ve.matcher=function dt(qe){const nt=new be;return qe.contains.forEach(Ve=>nt.addRule(Ve.begin,{rule:Ve,type:"begin"})),qe.terminatorEnd&&nt.addRule(qe.terminatorEnd,{type:"end"}),qe.illegal&&nt.addRule(qe.illegal,{type:"illegal"}),nt}(Ve),Ve}(F)}function Ft(F){return!!F&&(F.endsWithParent||Ft(F.starts))}class Ke extends Error{constructor(V,Q){super(V),this.name="HTMLInjectionError",this.html=Q}}const he=n,ge=c,ct=Symbol("nomatch"),Ye=function(F){const V=Object.create(null),Q=Object.create(null),be=[];let dt=!0;const Rt="Could not find the language '{}', did you forget to load/include a language module?",qe={disableAutodetect:!0,name:"Plain text",contains:[]};let nt={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 nt.noHighlightRe.test(an)}function At(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 Mt(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 Q=F&&F.exec(V);return Q&&0===Q.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 ct;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&&Mt(En.starts,fn),ei.returnEnd?0:Cn.length}let Xe={};function kt(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),!dt){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)),Mt(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!==ct)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 K(Rt.replace("{}",an)),new Error('Unknown language: "'+an+'"');const un=Pt(Wt);let gn="",pn=Rn||un;const si={},jn=new nt.__emitter(nt);!function se(){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=kt(mn.substring(Ti,fn.index),fn);Ti=fn.index+tn}kt(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:he(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(dt)return{language:an,value:he(mn),illegal:!1,relevance:0,errorRaised:fn,_emitter:jn,_top:pn};throw fn}}function Sn(an,mn){mn=mn||nt.languages||Object.keys(V);const Tn=function xn(an){const mn={value:he(an),illegal:!1,relevance:0,_top:qe,_emitter:new nt.__emitter(nt)};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=nt.languageDetectRe.exec(mn);if(Tn){const Rn=cn(Tn[1]);return Rn||(ce(Rt.replace("{}",Tn[1])),ce("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&&(nt.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)),nt.throwUnescapedHTML))throw new Ke("One of your code blocks includes unescaped HTML.",an.innerHTML);mn=an;const Rn=mn.textContent,Wn=Tn?At(Rn,{language:Tn,ignoreIllegals:!0}):Sn(Rn);an.innerHTML=Wn.value,function _n(an,mn,Tn){const Rn=mn&&Q[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 xt(){"loading"!==document.readyState?document.querySelectorAll(nt.cssSelector).forEach(Mn):Yi=!0}function cn(an){return an=(an||"").toLowerCase(),V[an]||V[Q[an]]}function sn(an,{languageName:mn}){"string"==typeof an&&(an=[an]),an.forEach(Tn=>{Q[Tn.toLowerCase()]=mn})}function Nn(an){const mn=cn(an);return mn&&!mn.disableAutodetect}function $n(an,mn){const Tn=an;be.forEach(function(Rn){Rn[Tn]&&Rn[Tn](mn)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function bt(){Yi&&xt()},!1),Object.assign(F,{highlight:At,highlightAuto:Sn,highlightAll:xt,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){nt=ge(nt,an)},initHighlighting:()=>{xt(),Te("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function Vi(){xt(),Te("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function pt(an,mn){let Tn=null;try{Tn=mn(F)}catch(Rn){if(K("Language definition for '{}' could not be registered.".replace("{}",an)),!dt)throw Rn;K(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(Q))Q[mn]===an&&delete Q[mn]},listLanguages:function nn(){return Object.keys(V)},getLanguage:cn,registerAliases:sn,autoDetection:Nn,inherit:ge,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),be.push(an)},removePlugin:function _i(an){const mn=be.indexOf(an);-1!==mn&&be.splice(mn,1)}}),F.debugMode=function(){dt=!1},F.safeMode=function(){dt=!0},F.versionString="11.8.0",F.regex={concat:y,lookahead:p,either:D,optional:l,anyNumberOfTimes:_};for(const an in Ct)"object"==typeof Ct[an]&&B(Ct[an]);return Object.assign(F,Ct),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/}]},f=a.inherit(r,{begin:/\(/,end:/\)/}),h=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,h,f,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,f,u,h]}]}]},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,f,h){try{var u=n[f](h),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 f=n.apply(c,d);function h(v){B(f,g,r,h,u,"next",v)}function u(v){B(f,g,r,h,u,"throw",v)}h(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 f=r.call(d,g||"default");if("object"!==n(f))return f;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:()=>f,vP:()=>h});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 f(X,$=null){return{type:3,steps:X,options:$}}function h(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(Ce=>{Ce.onDone(()=>{++ee==U&&this._onFinish()}),Ce.onDestroy(()=>{++ie==U&&this._onDestroy()}),Ce.onStart(()=>{++A==U&&this._onStart()})}),this.totalTime=this.players.reduce((Ce,Re)=>Math.max(Ce,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:()=>mt,X6:()=>oe,Zf:()=>$,iD:()=>ee,kH:()=>Ke,mK:()=>Lt,qm:()=>Me,rt:()=>Ye,s1:()=>pe,tE:()=>Oe,yG:()=>Y});var n=a(6814),c=a(5879),d=a(2831),g=a(8645),r=a(7394),f=a(5619),h=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 Q=ie(De,F);Q.some(be=>be.trim()==V.trim())||(Q.push(V.trim()),De.setAttribute(F,Q.join(X)))}function ee(De,F,V){const be=ie(De,F).filter(dt=>dt!=V.trim());be.length?De.setAttribute(F,be.join(X)):De.removeAttribute(F)}function ie(De,F){return(De.getAttribute(F)||"").match(/\S+/g)||[]}const U="cdk-describedby-message",Ce="cdk-describedby-host";let Re=0,Ae=(()=>{class De{constructor(V,Q){this._platform=Q,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Re++,this._document=V,this._id=(0,c.inject)(c.APP_ID)+"-"+Re++}describe(V,Q,be){if(!this._canBeDescribed(V,Q))return;const dt=de(Q,be);"string"!=typeof Q?(H(Q,this._id),this._messageRegistry.set(dt,{messageElement:Q,referenceCount:0})):this._messageRegistry.has(dt)||this._createMessageElement(Q,be),this._isElementDescribedByMessage(V,dt)||this._addMessageReference(V,dt)}removeDescription(V,Q,be){if(!Q||!this._isElementNode(V))return;const dt=de(Q,be);if(this._isElementDescribedByMessage(V,dt)&&this._removeMessageReference(V,dt),"string"==typeof Q){const Rt=this._messageRegistry.get(dt);Rt&&0===Rt.referenceCount&&this._deleteMessageElement(dt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const V=this._document.querySelectorAll(`[${Ce}="${this._id}"]`);for(let Q=0;Q0!=be.indexOf(U));V.setAttribute("aria-describedby",Q.join(" "))}_addMessageReference(V,Q){const be=this._messageRegistry.get(Q);$(V,"aria-describedby",be.messageElement.id),V.setAttribute(Ce,this._id),be.referenceCount++}_removeMessageReference(V,Q){const be=this._messageRegistry.get(Q);be.referenceCount--,ee(V,"aria-describedby",be.messageElement.id),V.removeAttribute(Ce)}_isElementDescribedByMessage(V,Q){const be=ie(V,"aria-describedby"),dt=this._messageRegistry.get(Q),Rt=dt&&dt.messageElement.id;return!!Rt&&-1!=be.indexOf(Rt)}_canBeDescribed(V,Q){if(!this._isElementNode(V))return!1;if(Q&&"object"==typeof Q)return!0;const be=null==Q?"":`${Q}`.trim(),dt=V.getAttribute("aria-label");return!(!be||dt&&dt.trim()===be)}_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 de(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 be=V.toArray().indexOf(this._activeItem);be>-1&&be!==this._activeItemIndex&&(this._activeItemIndex=be)}}))}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 Q=this._getItemsArray();for(let be=1;be!F[dt]||this._allowedModifierKeys.indexOf(dt)>-1);switch(V){case u.Mf:return void this.tabOut.next();case u.JH:if(this._vertical&&be){this.setNextItemActive();break}return;case u.LH:if(this._vertical&&be){this.setPreviousItemActive();break}return;case u.SV:if(this._horizontal&&be){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case u.oh:if(this._horizontal&&be){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case u.Sd:if(this._homeAndEnd&&be){this.setFirstItemActive();break}return;case u.uR:if(this._homeAndEnd&&be){this.setLastItemActive();break}return;case u.Ku:if(this._pageUpAndDown.enabled&&be){const dt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(dt>0?dt:0,1);break}return;case u.VM:if(this._pageUpAndDown.enabled&&be){const dt=this._activeItemIndex+this._pageUpAndDown.delta,Rt=this._getItemsArray().length;this._setActiveItemByIndex(dt=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(),Q="number"==typeof F?F:V.indexOf(F);this._activeItem=V[Q]??null,this._activeItemIndex=Q}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 Q=1;Q<=V.length;Q++){const be=(this._activeItemIndex+F*Q+V.length)%V.length;if(!this._skipPredicateFn(V[be]))return void this.setActiveItem(be)}}_setActiveInDefaultMode(F){this._setActiveItemByIndex(this._activeItemIndex+F,F)}_setActiveItemByIndex(F,V){const Q=this._getItemsArray();if(Q[F]){for(;this._skipPredicateFn(Q[F]);)if(!Q[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 Q=function G(De){try{return De.frameElement}catch{return null}}(function _t(De){return De.ownerDocument&&De.ownerDocument.defaultView||window}(V));if(Q&&(-1===tt(Q)||!this.isVisible(Q)))return!1;let be=V.nodeName.toLowerCase(),dt=tt(V);return V.hasAttribute("contenteditable")?-1!==dt:!("iframe"===be||"object"===be||this._platform.WEBKIT&&this._platform.IOS&&!function Ct(De){let F=De.nodeName.toLowerCase(),V="input"===F&&De.type;return"text"===V||"password"===V||"select"===F||"textarea"===F}(V))&&("audio"===be?!!V.hasAttribute("controls")&&-1!==dt:"video"===be?-1!==dt&&(null!==dt||this._platform.FIREFOX||V.hasAttribute("controls")):V.tabIndex>=0)}isFocusable(V,Q){return function Nt(De){return!function ve(De){return function Ze(De){return"input"==De.nodeName.toLowerCase()}(De)&&"hidden"==De.type}(De)&&(function ae(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")||Ge(De))}(V)&&!this.isDisabled(V)&&(Q?.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 Ge(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(!Ge(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,Q,be,dt=!1){this._element=F,this._checker=V,this._ngZone=Q,this._document=be,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,dt||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 Q=this._getFirstTabbableElement(V);return Q?.focus(F),!!Q}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 Q=0;Q=0;Q--){const be=V[Q].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(V[Q]):null;if(be)return be}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,Q,be){this._checker=V,this._ngZone=Q,this._document=be}create(V,Q=!1){return new Bt(V,this._checker,this._ngZone,this._document,Q)}}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})(),Lt=(()=>{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,Q,be){this._elementRef=V,this._focusTrapFactory=Q,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 Q=V.autoCapture;Q&&!Q.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"),K={ignoreKeys:[u.zL,u.jx,u.b2,u.MW,u.JU]},Te=(0,d.i$)({passive:!0,capture:!0});let et=(()=>{class De{get mostRecentModality(){return this._modality.value}constructor(V,Q,be,dt){this._platform=V,this._mostRecentTarget=null,this._modality=new f.X(null),this._lastTouchMs=0,this._onKeydown=Rt=>{this._options?.ignoreKeys?.some(qe=>qe===Rt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,d.sA)(Rt))},this._onMousedown=Rt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(oe(Rt)?"keyboard":"mouse"),this._mostRecentTarget=(0,d.sA)(Rt))},this._onTouchstart=Rt=>{Y(Rt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,d.sA)(Rt))},this._options={...K,...dt},this.modalityDetected=this._modality.pipe((0,y.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,x.x)()),V.isBrowser&&Q.runOutsideAngular(()=>{be.addEventListener("keydown",this._onKeydown,Te),be.addEventListener("mousedown",this._onMousedown,Te),be.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 _e(){return null}}),ut=new c.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Pe=0,mt=(()=>{class De{constructor(V,Q,be,dt){this._ngZone=Q,this._defaultOptions=dt,this._document=be,this._liveElement=V||this._createLiveElement()}announce(V,...Q){const be=this._defaultOptions;let dt,Rt;return 1===Q.length&&"number"==typeof Q[0]?Rt=Q[0]:[dt,Rt]=Q,this.clear(),clearTimeout(this._previousTimeout),dt||(dt=be&&be.politeness?be.politeness:"polite"),null==Rt&&be&&(Rt=be.duration),this._liveElement.setAttribute("aria-live",dt),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 Rt&&(this._previousTimeout=setTimeout(()=>this.clear(),Rt)),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",Q=this._document.getElementsByClassName(V),be=this._document.createElement("div");for(let dt=0;dt .cdk-overlay-container [aria-modal="true"]');for(let be=0;be{class De{constructor(V,Q,be,dt,Rt){this._ngZone=V,this._platform=Q,this._inputModalityDetector=be,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=dt,this._detectionMode=Rt?.detectionMode||0}monitor(V,Q=!1){const be=(0,S.fI)(V);if(!this._platform.isBrowser||1!==be.nodeType)return(0,h.of)();const dt=(0,d.kV)(be)||this._getDocument(),Rt=this._elementInfo.get(be);if(Rt)return Q&&(Rt.checkChildren=!0),Rt.subject;const qe={checkChildren:Q,subject:new g.x,rootNode:dt};return this._elementInfo.set(be,qe),this._registerGlobalListeners(qe),qe.subject}stopMonitoring(V){const Q=(0,S.fI)(V),be=this._elementInfo.get(Q);be&&(be.subject.complete(),this._setClasses(Q),this._elementInfo.delete(Q),this._removeGlobalListeners(be))}focusVia(V,Q,be){const dt=(0,S.fI)(V);dt===this._getDocument().activeElement?this._getClosestElementsInfo(dt).forEach(([qe,nt])=>this._originChanged(qe,Q,nt)):(this._setOrigin(Q),"function"==typeof dt.focus&&dt.focus(be))}ngOnDestroy(){this._elementInfo.forEach((V,Q)=>this.stopMonitoring(Q))}_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,Q){V.classList.toggle("cdk-focused",!!Q),V.classList.toggle("cdk-touch-focused","touch"===Q),V.classList.toggle("cdk-keyboard-focused","keyboard"===Q),V.classList.toggle("cdk-mouse-focused","mouse"===Q),V.classList.toggle("cdk-program-focused","program"===Q)}_setOrigin(V,Q=!1){this._ngZone.runOutsideAngular(()=>{this._origin=V,this._originFromTouchInteraction="touch"===V&&Q,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(V,Q){const be=this._elementInfo.get(Q),dt=(0,d.sA)(V);!be||!be.checkChildren&&Q!==dt||this._originChanged(Q,this._getFocusOrigin(dt),be)}_onBlur(V,Q){const be=this._elementInfo.get(Q);!be||be.checkChildren&&V.relatedTarget instanceof Node&&Q.contains(V.relatedTarget)||(this._setClasses(Q),this._emitOrigin(be,null))}_emitOrigin(V,Q){V.subject.observers.length&&this._ngZone.run(()=>V.subject.next(Q))}_registerGlobalListeners(V){if(!this._platform.isBrowser)return;const Q=V.rootNode,be=this._rootNodeFocusListenerCount.get(Q)||0;be||this._ngZone.runOutsideAngular(()=>{Q.addEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),Q.addEventListener("blur",this._rootNodeFocusAndBlurListener,Gt)}),this._rootNodeFocusListenerCount.set(Q,be+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,D.R)(this._stopInputModalityDetector)).subscribe(dt=>{this._setOrigin(dt,!0)}))}_removeGlobalListeners(V){const Q=V.rootNode;if(this._rootNodeFocusListenerCount.has(Q)){const be=this._rootNodeFocusListenerCount.get(Q);be>1?this._rootNodeFocusListenerCount.set(Q,be-1):(Q.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),Q.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Gt),this._rootNodeFocusListenerCount.delete(Q))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(V,Q,be){this._setClasses(V,Q),this._emitOrigin(be,Q),this._lastFocusOrigin=Q}_getClosestElementsInfo(V){const Q=[];return this._elementInfo.forEach((be,dt)=>{(dt===V||be.checkChildren&&dt.contains(V))&&Q.push([dt,be])}),Q}_isLastInteractionFromInputLabel(V){const{_mostRecentTarget:Q,mostRecentModality:be}=this._inputModalityDetector;if("mouse"!==be||!Q||Q===V||"INPUT"!==V.nodeName&&"TEXTAREA"!==V.nodeName||V.disabled)return!1;const dt=V.labels;if(dt)for(let Rt=0;Rt{class De{constructor(V,Q){this._elementRef=V,this._focusMonitor=Q,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(Q=>{this._focusOrigin=Q,this.cdkFocusChange.emit(Q)})}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(Oe))},De.\u0275dir=c.\u0275\u0275defineDirective({type:De,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),De})();const he="cdk-high-contrast-black-on-white",ge="cdk-high-contrast-white-on-black",ct="cdk-high-contrast-active";let Me=(()=>{class De{constructor(V,Q){this._platform=V,this._document=Q,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 Q=this._document.defaultView||window,be=Q&&Q.getComputedStyle?Q.getComputedStyle(V):null,dt=(be&&be.backgroundColor||"").replace(/ /g,"");switch(V.remove(),dt){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(ct,he,ge),this._hasCheckedHighContrastMode=!0;const Q=this.getHighContrastMode();1===Q?V.add(ct,he):2===Q&&V.add(ct,ge)}}}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(Me))},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:()=>h,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 h=(()=>{class b{constructor(_){this.value="ltr",this.change=new n.EventEmitter,_&&(this.value=function f(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:()=>f,Ig:()=>c,du:()=>u,fI:()=>h,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 f(v){return null==v?"":"string"==typeof v?v:`${v}px`}function h(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:()=>h});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 h{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:()=>ve,JH:()=>X,JU:()=>f,K5:()=>r,Ku:()=>l,LH:()=>E,L_:()=>_,MW:()=>ut,Mf:()=>d,SV:()=>I,Sd:()=>D,VM:()=>y,Vb:()=>ri,Z:()=>_e,ZH:()=>c,aO:()=>Ee,b2:()=>wi,hY:()=>p,jx:()=>h,oh:()=>S,uR:()=>x,xE:()=>U,zL:()=>u});const c=8,d=9,r=13,f=16,h=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,ve=65,_e=90,ut=91,wi=224;function ri(ai,...Ni){return Ni.length?Ni.some(Mt=>ai[Mt]):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),f=a(5592),h=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,Ce){this._platform=U,this._nonce=Ce,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,Ce){this._mediaMatcher=U,this._zone=Ce,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(de=>this._registerQuery(de).observable);let Ae=(0,g.a)(Re);return Ae=(0,r.z)(Ae.pipe((0,h.q)(1)),Ae.pipe((0,u.T)(1),(0,v.b)(0))),Ae.pipe((0,b.U)(de=>{const H={matches:!1,breakpoints:{}};return de.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 Ce=this._mediaMatcher.matchMedia(U),Ae={observable:new f.y(de=>{const H=W=>this._zone.run(()=>de.next(W));return Ce.addListener(H),()=>{Ce.removeListener(H)}}).pipe((0,p.O)(Ce),(0,b.U)(({matches:de})=>({query:U,matches:de})),(0,_.R)(this._destroySubject)),mql:Ce};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 f=(()=>{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})(),h=(()=>{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(f))},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(h),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:[f]}),b})()},9594:(Ie,B,a)=>{"use strict";a.d(B,{U8:()=>N,X_:()=>U,_G:()=>ae,aV:()=>Bt,pI:()=>lt,xu:()=>Le});var n=a(6672),c=a(6814),d=a(5879),g=a(2495),r=a(2831),f=a(2181),h=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,K){this._viewportRuler=ne,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=K}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,ce=ne.style,Te=this._document.body.style,et=ce.scrollBehavior||"",Dt=Te.scrollBehavior||"";this._isEnabled=!1,ce.left=this._previousHTMLStyles.left,ce.top=this._previousHTMLStyles.top,ne.classList.remove("cdk-global-scrollblock"),D&&(ce.scrollBehavior=Te.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),D&&(ce.scrollBehavior=et,Te.scrollBehavior=Dt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const K=this._document.body,ce=this._viewportRuler.getViewportSize();return K.scrollHeight>ce.height||K.scrollWidth>ce.width}}class I{constructor(ne,K,ce,Te){this._scrollDispatcher=ne,this._ngZone=K,this._viewportRuler=ce,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,f.h)(K=>!K||!this._overlayRef.overlayElement.contains(K.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ne.subscribe(()=>{const K=this._viewportRuler.getViewportScrollPosition().top;Math.abs(K-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(K=>Y.bottomK.bottom||Y.rightK.right)}function ee(Y,ne){return ne.some(K=>Y.topK.bottom||Y.leftK.right)}class ie{constructor(ne,K,ce,Te){this._scrollDispatcher=ne,this._viewportRuler=K,this._ngZone=ce,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 K=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ce,height:Te}=this._viewportRuler.getViewportSize();$(K,[{width:ce,height:Te,bottom:Te,right:ce,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(K,ce,Te,et){this._scrollDispatcher=K,this._viewportRuler=ce,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=et}}return Y.\u0275fac=function(K){return new(K||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 K=Object.keys(ne);for(const ce of K)void 0!==ne[ce]&&(this[ce]=ne[ce])}}}class Ae{constructor(ne,K){this.connectionPair=ne,this.scrollableViewProperties=K}}let W=(()=>{class Y{constructor(K){this._attachedOverlays=[],this._document=K}ngOnDestroy(){this.detach()}add(K){this.remove(K),this._attachedOverlays.push(K)}remove(K){const ce=this._attachedOverlays.indexOf(K);ce>-1&&this._attachedOverlays.splice(ce,1),0===this._attachedOverlays.length&&this.detach()}}return Y.\u0275fac=function(K){return new(K||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(K,ce){super(K),this._ngZone=ce,this._keydownListener=Te=>{const et=this._attachedOverlays;for(let Dt=et.length-1;Dt>-1;Dt--)if(et[Dt]._keydownEvents.observers.length>0){const _e=et[Dt]._keydownEvents;this._ngZone?this._ngZone.run(()=>_e.next(Te)):_e.next(Te);break}}}add(K){super.add(K),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(K){return new(K||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(K,ce,Te){super(K),this._platform=ce,this._ngZone=Te,this._cursorStyleIsSet=!1,this._pointerDownListener=et=>{this._pointerDownEventTarget=(0,r.sA)(et)},this._clickListener=et=>{const Dt=(0,r.sA)(et),_e="click"===et.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Dt;this._pointerDownEventTarget=null;const ut=this._attachedOverlays.slice();for(let Pe=ut.length-1;Pe>-1;Pe--){const mt=ut[Pe];if(mt._outsidePointerEvents.observers.length<1||!mt.hasAttached())continue;if(mt.overlayElement.contains(Dt)||mt.overlayElement.contains(_e))break;const Pt=mt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Pt.next(et)):Pt.next(et)}}}add(K){if(super.add(K),!this._isAttached){const ce=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ce)):this._addEventListeners(ce),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ce.style.cursor,ce.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const K=this._document.body;K.removeEventListener("pointerdown",this._pointerDownListener,!0),K.removeEventListener("click",this._clickListener,!0),K.removeEventListener("auxclick",this._clickListener,!0),K.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(K.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(K){K.addEventListener("pointerdown",this._pointerDownListener,!0),K.addEventListener("click",this._clickListener,!0),K.addEventListener("auxclick",this._clickListener,!0),K.addEventListener("contextmenu",this._clickListener,!0)}}return Y.\u0275fac=function(K){return new(K||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(K,ce){this._platform=ce,this._document=K}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const K="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const Te=this._document.querySelectorAll(`.${K}[platform="server"], .${K}[platform="test"]`);for(let et=0;etthis._backdropClick.next(Pt),this._backdropTransitionendHandler=Pt=>{this._disposeBackdrop(Pt.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 K=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,h.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 K?.onDestroy&&K.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),K}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,K,ce){const Te=(0,g.Eq)(K||[]).filter(et=>!!et);Te.length&&(ce?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 ae{get positions(){return this._preferredPositions}constructor(ne,K,ce,Te,et){this._viewportRuler=K,this._document=ce,this._platform=Te,this._overlayContainer=et,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,K=this._overlayRect,ce=this._viewportRect,Te=this._containerRect,et=[];let Dt;for(let _e of this._preferredPositions){let ut=this._getOriginPoint(ne,Te,_e),Pe=this._getOverlayPoint(ut,K,_e),mt=this._getOverlayFit(Pe,K,ce,_e);if(mt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(_e,ut);this._canFitWithFlexibleDimensions(mt,Pe,ce)?et.push({position:_e,origin:ut,overlayRect:K,boundingBoxRect:this._calculateBoundingBoxRect(ut,_e)}):(!Dt||Dt.overlayFit.visibleAreaut&&(ut=mt,_e=Pe)}return this._isPushed=!1,void this._applyPosition(_e.position,_e.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&&ve(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 K=this._getOriginPoint(this._originRect,this._containerRect,ne);this._applyPosition(ne,K)}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,K,ce){let Te,et;if("center"==ce.originX)Te=ne.left+ne.width/2;else{const Dt=this._isRtl()?ne.right:ne.left,_e=this._isRtl()?ne.left:ne.right;Te="start"==ce.originX?Dt:_e}return K.left<0&&(Te-=K.left),et="center"==ce.originY?ne.top+ne.height/2:"top"==ce.originY?ne.top:ne.bottom,K.top<0&&(et-=K.top),{x:Te,y:et}}_getOverlayPoint(ne,K,ce){let Te,et;return Te="center"==ce.overlayX?-K.width/2:"start"===ce.overlayX?this._isRtl()?-K.width:0:this._isRtl()?0:-K.width,et="center"==ce.overlayY?-K.height/2:"top"==ce.overlayY?0:-K.height,{x:ne.x+Te,y:ne.y+et}}_getOverlayFit(ne,K,ce,Te){const et=Ze(K);let{x:Dt,y:_e}=ne,ut=this._getOffset(Te,"x"),Pe=this._getOffset(Te,"y");ut&&(Dt+=ut),Pe&&(_e+=Pe);let Ft=0-_e,Gt=_e+et.height-ce.height,Oe=this._subtractOverflows(et.width,0-Dt,Dt+et.width-ce.width),Ke=this._subtractOverflows(et.height,Ft,Gt),he=Oe*Ke;return{visibleArea:he,isCompletelyWithinViewport:et.width*et.height===he,fitsInViewportVertically:Ke===et.height,fitsInViewportHorizontally:Oe==et.width}}_canFitWithFlexibleDimensions(ne,K,ce){if(this._hasFlexibleDimensions){const Te=ce.bottom-K.y,et=ce.right-K.x,Dt=He(this._overlayRef.getConfig().minHeight),_e=He(this._overlayRef.getConfig().minWidth);return(ne.fitsInViewportVertically||null!=Dt&&Dt<=Te)&&(ne.fitsInViewportHorizontally||null!=_e&&_e<=et)}return!1}_pushOverlayOnScreen(ne,K,ce){if(this._previousPushAmount&&this._positionLocked)return{x:ne.x+this._previousPushAmount.x,y:ne.y+this._previousPushAmount.y};const Te=Ze(K),et=this._viewportRect,Dt=Math.max(ne.x+Te.width-et.width,0),_e=Math.max(ne.y+Te.height-et.height,0),ut=Math.max(et.top-ce.top-ne.y,0),Pe=Math.max(et.left-ce.left-ne.x,0);let mt=0,Pt=0;return mt=Te.width<=et.width?Pe||-Dt:ne.xOe&&!this._isInitialRender&&!this._growAfterOpen&&(Dt=ne.y-Oe/2)}if("end"===K.overlayX&&!Te||"start"===K.overlayX&&Te)Ft=ce.width-ne.x+this._viewportMargin,mt=ne.x-this._viewportMargin;else if("start"===K.overlayX&&!Te||"end"===K.overlayX&&Te)Pt=ne.x,mt=ce.right-ne.x;else{const Gt=Math.min(ce.right-ne.x+ce.left,ne.x),Oe=this._lastBoundingBoxSize.width;mt=2*Gt,Pt=ne.x-Gt,mt>Oe&&!this._isInitialRender&&!this._growAfterOpen&&(Pt=ne.x-Oe/2)}return{top:Dt,left:Pt,bottom:_e,right:Ft,width:mt,height:et}}_setBoundingBoxStyles(ne,K){const ce=this._calculateBoundingBoxRect(ne,K);!this._isInitialRender&&!this._growAfterOpen&&(ce.height=Math.min(ce.height,this._lastBoundingBoxSize.height),ce.width=Math.min(ce.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 et=this._overlayRef.getConfig().maxHeight,Dt=this._overlayRef.getConfig().maxWidth;Te.height=(0,g.HM)(ce.height),Te.top=(0,g.HM)(ce.top),Te.bottom=(0,g.HM)(ce.bottom),Te.width=(0,g.HM)(ce.width),Te.left=(0,g.HM)(ce.left),Te.right=(0,g.HM)(ce.right),Te.alignItems="center"===K.overlayX?"center":"end"===K.overlayX?"flex-end":"flex-start",Te.justifyContent="center"===K.overlayY?"center":"bottom"===K.overlayY?"flex-end":"flex-start",et&&(Te.maxHeight=(0,g.HM)(et)),Dt&&(Te.maxWidth=(0,g.HM)(Dt))}this._lastBoundingBoxSize=ce,ve(this._boundingBox.style,Te)}_resetBoundingBoxStyles(){ve(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ve(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ne,K){const ce={},Te=this._hasExactPosition(),et=this._hasFlexibleDimensions,Dt=this._overlayRef.getConfig();if(Te){const mt=this._viewportRuler.getViewportScrollPosition();ve(ce,this._getExactOverlayY(K,ne,mt)),ve(ce,this._getExactOverlayX(K,ne,mt))}else ce.position="static";let _e="",ut=this._getOffset(K,"x"),Pe=this._getOffset(K,"y");ut&&(_e+=`translateX(${ut}px) `),Pe&&(_e+=`translateY(${Pe}px)`),ce.transform=_e.trim(),Dt.maxHeight&&(Te?ce.maxHeight=(0,g.HM)(Dt.maxHeight):et&&(ce.maxHeight="")),Dt.maxWidth&&(Te?ce.maxWidth=(0,g.HM)(Dt.maxWidth):et&&(ce.maxWidth="")),ve(this._pane.style,ce)}_getExactOverlayY(ne,K,ce){let Te={top:"",bottom:""},et=this._getOverlayPoint(K,this._overlayRect,ne);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,ce)),"bottom"===ne.overlayY?Te.bottom=this._document.documentElement.clientHeight-(et.y+this._overlayRect.height)+"px":Te.top=(0,g.HM)(et.y),Te}_getExactOverlayX(ne,K,ce){let Dt,Te={left:"",right:""},et=this._getOverlayPoint(K,this._overlayRect,ne);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,ce)),Dt=this._isRtl()?"end"===ne.overlayX?"left":"right":"end"===ne.overlayX?"right":"left","right"===Dt?Te.right=this._document.documentElement.clientWidth-(et.x+this._overlayRect.width)+"px":Te.left=(0,g.HM)(et.x),Te}_getScrollVisibility(){const ne=this._getOriginRect(),K=this._pane.getBoundingClientRect(),ce=this._scrollables.map(Te=>Te.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ee(ne,ce),isOriginOutsideView:$(ne,ce),isOverlayClipped:ee(K,ce),isOverlayOutsideView:$(K,ce)}}_subtractOverflows(ne,...K){return K.reduce((ce,Te)=>ce-Math.max(Te,0),ne)}_getNarrowedViewportRect(){const ne=this._document.documentElement.clientWidth,K=this._document.documentElement.clientHeight,ce=this._viewportRuler.getViewportScrollPosition();return{top:ce.top+this._viewportMargin,left:ce.left+this._viewportMargin,right:ce.left+ne-this._viewportMargin,bottom:ce.top+K-this._viewportMargin,width:ne-2*this._viewportMargin,height:K-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ne,K){return"x"===K?null==ne.offsetX?this._offsetX:ne.offsetX:null==ne.offsetY?this._offsetY:ne.offsetY}_validatePositions(){}_addPanelClasses(ne){this._pane&&(0,g.Eq)(ne).forEach(K=>{""!==K&&-1===this._appliedPanelClasses.indexOf(K)&&(this._appliedPanelClasses.push(K),this._pane.classList.add(K))})}_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 K=ne.width||0,ce=ne.height||0;return{top:ne.y,bottom:ne.y+ce,left:ne.x,right:ne.x+K,height:ce,width:K}}}function ve(Y,ne){for(let K in ne)ne.hasOwnProperty(K)&&(Y[K]=ne[K]);return Y}function He(Y){if("number"!=typeof Y&&null!=Y){const[ne,K]=Y.split(re);return K&&"px"!==K?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 Ct{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ne){const K=ne.getConfig();this._overlayRef=ne,this._width&&!K.width&&ne.updateSize({width:this._width}),this._height&&!K.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,K=this._overlayRef.hostElement.style,ce=this._overlayRef.getConfig(),{width:Te,height:et,maxWidth:Dt,maxHeight:_e}=ce,ut=!("100%"!==Te&&"100vw"!==Te||Dt&&"100%"!==Dt&&"100vw"!==Dt),Pe=!("100%"!==et&&"100vh"!==et||_e&&"100%"!==_e&&"100vh"!==_e),mt=this._xPosition,Pt=this._xOffset,Ft="rtl"===this._overlayRef.getConfig().direction;let Gt="",Oe="",Ke="";ut?Ke="flex-start":"center"===mt?(Ke="center",Ft?Oe=Pt:Gt=Pt):Ft?"left"===mt||"end"===mt?(Ke="flex-end",Gt=Pt):("right"===mt||"start"===mt)&&(Ke="flex-start",Oe=Pt):"left"===mt||"start"===mt?(Ke="flex-start",Gt=Pt):("right"===mt||"end"===mt)&&(Ke="flex-end",Oe=Pt),ne.position=this._cssPosition,ne.marginLeft=ut?"0":Gt,ne.marginTop=Pe?"0":this._topOffset,ne.marginBottom=this._bottomOffset,ne.marginRight=ut?"0":Oe,K.justifyContent=Ke,K.alignItems=Pe?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ne=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement,ce=K.style;K.classList.remove(tt),ce.justifyContent=ce.alignItems=ne.marginTop=ne.marginBottom=ne.marginLeft=ne.marginRight=ne.position="",this._overlayRef=null,this._isDisposed=!0}}let Nt=(()=>{class Y{constructor(K,ce,Te,et){this._viewportRuler=K,this._document=ce,this._platform=Te,this._overlayContainer=et}global(){return new Ct}flexibleConnectedTo(K){return new ae(K,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Y.\u0275fac=function(K){return new(K||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})(),_t=0,Bt=(()=>{class Y{constructor(K,ce,Te,et,Dt,_e,ut,Pe,mt,Pt,Ft,Gt){this.scrollStrategies=K,this._overlayContainer=ce,this._componentFactoryResolver=Te,this._positionBuilder=et,this._keyboardDispatcher=Dt,this._injector=_e,this._ngZone=ut,this._document=Pe,this._directionality=mt,this._location=Pt,this._outsideClickDispatcher=Ft,this._animationsModuleType=Gt}create(K){const ce=this._createHostElement(),Te=this._createPaneElement(ce),et=this._createPortalOutlet(Te),Dt=new U(K);return Dt.direction=Dt.direction||this._directionality.value,new Be(et,ce,Te,Dt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(K){const ce=this._document.createElement("div");return ce.id="cdk-overlay-"+_t++,ce.classList.add("cdk-overlay-pane"),K.appendChild(ce),ce}_createHostElement(){const K=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(K),K}_createPortalOutlet(K){return this._appRef||(this._appRef=this._injector.get(d.ApplicationRef)),new p.u0(K,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Y.\u0275fac=function(K){return new(K||Y)(d.\u0275\u0275inject(A),d.\u0275\u0275inject(Ee),d.\u0275\u0275inject(d.ComponentFactoryResolver),d.\u0275\u0275inject(Nt),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"}],Lt=new d.InjectionToken("cdk-connected-overlay-scroll-strategy");let Le=(()=>{class Y{constructor(K){this.elementRef=K}}return Y.\u0275fac=function(K){return new(K||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})(),lt=(()=>{class Y{get offsetX(){return this._offsetX}set offsetX(K){this._offsetX=K,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(K){this._offsetY=K,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(K){this._hasBackdrop=(0,g.Ig)(K)}get lockPosition(){return this._lockPosition}set lockPosition(K){this._lockPosition=(0,g.Ig)(K)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(K){this._flexibleDimensions=(0,g.Ig)(K)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(K){this._growAfterOpen=(0,g.Ig)(K)}get push(){return this._push}set push(K){this._push=(0,g.Ig)(K)}constructor(K,ce,Te,et,Dt){this._overlay=K,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(ce,Te),this._scrollStrategyFactory=et,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(K){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),K.origin&&this.open&&this._position.apply()),K.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Tt);const K=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=K.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=K.detachments().subscribe(()=>this.detach.emit()),K.keydownEvents().subscribe(ce=>{this.overlayKeydown.next(ce),ce.keyCode===x.hY&&!this.disableClose&&!(0,x.Vb)(ce)&&(ce.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ce=>{this.overlayOutsideClick.next(ce)})}_buildConfig(){const K=this._position=this.positionStrategy||this._createPositionStrategy(),ce=new U({direction:this._dir,positionStrategy:K,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(ce.width=this.width),(this.height||0===this.height)&&(ce.height=this.height),(this.minWidth||0===this.minWidth)&&(ce.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ce.minHeight=this.minHeight),this.backdropClass&&(ce.backdropClass=this.backdropClass),this.panelClass&&(ce.panelClass=this.panelClass),ce}_updatePositionStrategy(K){const ce=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 K.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ce).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const K=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(K),K}_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(K=>{this.backdropClick.emit(K)}):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(K=>{this.positionChange.emit(K),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Y.\u0275fac=function(K){return new(K||Y)(d.\u0275\u0275directiveInject(Bt),d.\u0275\u0275directiveInject(d.TemplateRef),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(Lt),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:Lt,deps:[Bt],useFactory:function ze(Y){return()=>Y.scrollStrategies.reposition()}};let N=(()=>{class Y{}return Y.\u0275fac=function(K){return new(K||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 f,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 h=["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(f)return f;if("object"!=typeof document||!document)return f=new Set(h),f;let ee=document.createElement("input");return f=new Set(h.filter(ie=>(ee.setAttribute("type",ie),ee.type===ie))),f}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,Ce,Re,Ae){super(),this.component=A,this.viewContainerRef=U,this.injector=Ce,this.componentFactoryResolver=Re,this.projectableNodes=Ae}}class p extends v{constructor(A,U,Ce,Re){super(),this.templateRef=A,this.viewContainerRef=U,this.context=Ce,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,Ce,Re,Ae){super(),this.outletElement=A,this._componentFactoryResolver=U,this._appRef=Ce,this._defaultInjector=Re,this.attachDomPortal=de=>{const H=de.element,W=this._document.createComment("dom-portal");H.parentNode.insertBefore(W,H),this.outletElement.appendChild(H),this._attachedPortal=de,super.setDisposeFn(()=>{W.parentNode&&W.parentNode.replaceChild(H,W)})},this._document=Ae}attachComponentPortal(A){const Ce=(A.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(A.component);let Re;return A.viewContainerRef?(Re=A.viewContainerRef.createComponent(Ce,A.viewContainerRef.length,A.injector||A.viewContainerRef.injector,A.projectableNodes||void 0),this.setDisposeFn(()=>Re.destroy())):(Re=Ce.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,Ce=U.createEmbeddedView(A.templateRef,A.context,{injector:A.injector});return Ce.rootNodes.forEach(Re=>this.outletElement.appendChild(Re)),Ce.detectChanges(),this.setDisposeFn(()=>{let Re=U.indexOf(Ce);-1!==Re&&U.remove(Re)}),this._attachedPortal=A,Ce}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(A){return A.hostView.rootNodes[0]}}let S=(()=>{class ie extends p{constructor(U,Ce){super(U,Ce)}}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,Ce,Re){super(),this._componentFactoryResolver=U,this._viewContainerRef=Ce,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=Ae=>{const de=Ae.element,H=this._document.createComment("dom-portal");Ae.setAttachedHost(this),de.parentNode.insertBefore(H,de),this._getRootNode().appendChild(de),this._attachedPortal=Ae,super.setDisposeFn(()=>{H.parentNode&&H.parentNode.replaceChild(de,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 Ce=null!=U.viewContainerRef?U.viewContainerRef:this._viewContainerRef,Ae=(U.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(U.component),de=Ce.createComponent(Ae,Ce.length,U.injector||Ce.injector,U.projectableNodes||void 0);return Ce!==this._viewContainerRef&&this._getRootNode().appendChild(de.hostView.rootNodes[0]),super.setDisposeFn(()=>de.destroy()),this._attachedPortal=U,this._attachedRef=de,this.attached.emit(de),de}attachTemplatePortal(U){U.setAttachedHost(this);const Ce=this._viewContainerRef.createEmbeddedView(U.templateRef,U.context,{injector:U.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=U,this._attachedRef=Ce,this.attached.emit(Ce),Ce}_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),f=a(2438),v=(a(927),a(6410),a(8672)),b=a(2181),p=a(2831),_=a(6814),l=a(9388);let $=(()=>{class G{constructor(ae,ve,He){this._ngZone=ae,this._platform=ve,this._scrolled=new d.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=He}register(ae){this.scrollContainers.has(ae)||this.scrollContainers.set(ae,ae.elementScrolled().subscribe(()=>this._scrolled.next(ae)))}deregister(ae){const ve=this.scrollContainers.get(ae);ve&&(ve.unsubscribe(),this.scrollContainers.delete(ae))}scrolled(ae=20){return this._platform.isBrowser?new r.y(ve=>{this._globalSubscription||this._addGlobalListener();const He=ae>0?this._scrolled.pipe((0,v.e)(ae)).subscribe(ve):this._scrolled.subscribe(ve);return this._scrolledCount++,()=>{He.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,g.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ae,ve)=>this.deregister(ve)),this._scrolled.complete()}ancestorScrolled(ae,ve){const He=this.getAncestorScrollContainers(ae);return this.scrolled(ve).pipe((0,b.h)(Ze=>!Ze||He.indexOf(Ze)>-1))}getAncestorScrollContainers(ae){const ve=[];return this.scrollContainers.forEach((He,Ze)=>{this._scrollableContainsElement(Ze,ae)&&ve.push(Ze)}),ve}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ae,ve){let He=(0,n.fI)(ve),Ze=ae.getElementRef().nativeElement;do{if(He==Ze)return!0}while(He=He.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ae=this._getWindow();return(0,f.R)(ae.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return G.\u0275fac=function(ae){return new(ae||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(ae,ve,He){this._platform=ae,this._change=new d.x,this._changeListener=Ze=>{this._change.next(Ze)},this._document=He,ve.runOutsideAngular(()=>{if(ae.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 ae=this._getWindow();ae.removeEventListener("resize",this._changeListener),ae.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ae={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ae}getViewportRect(){const ae=this.getViewportScrollPosition(),{width:ve,height:He}=this.getViewportSize();return{top:ae.top,left:ae.left,bottom:ae.top+He,right:ae.left+ve,height:He,width:ve}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ae=this._document,ve=this._getWindow(),He=ae.documentElement,Ze=He.getBoundingClientRect();return{top:-Ze.top||ae.body.scrollTop||ve.scrollY||He.scrollTop||0,left:-Ze.left||ae.body.scrollLeft||ve.scrollX||He.scrollLeft||0}}change(ae=20){return ae>0?this._change.pipe((0,v.e)(ae)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ae=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ae.innerWidth,height:ae.innerHeight}:{width:0,height:0}}}return G.\u0275fac=function(ae){return new(ae||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(ae){return new(ae||G)},G.\u0275mod=c.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=c.\u0275\u0275defineInjector({}),G})(),Be=(()=>{class G{}return G.\u0275fac=function(ae){return new(ae||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:()=>h});var n=a(2831),c=a(5879),d=a(2495),g=a(6232),r=a(8645);const f=(0,n.i$)({passive:!0});let h=(()=>{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,f),y.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(y,{subject:D,unlisten:()=>{y.removeEventListener("animationstart",E,f)}}),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:()=>f,DatePipe:()=>En,DecimalPipe:()=>Ot,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:()=>se,NgStyle:()=>Xe,NgSwitch:()=>Mt,NgSwitchCase:()=>jt,NgSwitchDefault:()=>ke,NgTemplateOutlet:()=>kt,NumberFormatStyle:()=>ie,NumberSymbol:()=>Ae,PRECONNECT_CHECK_BLOCKLIST:()=>bo,PathLocationStrategy:()=>x,PercentPipe:()=>C,PlatformLocation:()=>h,Plural:()=>A,SlicePipe:()=>Zt,TitleCasePipe:()=>Fi,TranslationWidth:()=>Ce,UpperCasePipe:()=>Gi,VERSION:()=>St,ViewportScroller:()=>Ht,WeekDay:()=>de,XhrFactory:()=>Vn,formatCurrency:()=>Vi,formatDate:()=>et,formatNumber:()=>xt,formatPercent:()=>Yi,getCurrencySymbol:()=>ze,getLocaleCurrencyCode:()=>tt,getLocaleCurrencyName:()=>Ge,getLocaleCurrencySymbol:()=>Qe,getLocaleDateFormat:()=>re,getLocaleDateTimeFormat:()=>ve,getLocaleDayNames:()=>pe,getLocaleDayPeriods:()=>W,getLocaleDirection:()=>Lt,getLocaleEraNames:()=>Ee,getLocaleExtraDayPeriodRules:()=>Bt,getLocaleExtraDayPeriods:()=>Tt,getLocaleFirstDayOfWeek:()=>Be,getLocaleId:()=>H,getLocaleMonthNames:()=>we,getLocaleNumberFormat:()=>Ze,getLocaleNumberSymbol:()=>He,getLocalePluralCase:()=>Nt,getLocaleTimeFormat:()=>ae,getLocaleWeekEndRange:()=>G,getNumberOfCurrencyDigits:()=>N,isPlatformBrowser:()=>ir,isPlatformServer:()=>wt,isPlatformWorkerApp:()=>vt,isPlatformWorkerUi:()=>gt,provideCloudflareLoader:()=>Oo,provideCloudinaryLoader:()=>po,provideImageKitLoader:()=>go,provideImgixLoader:()=>We,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 f=new n.InjectionToken("DocumentToken");let h=(()=>{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 h{constructor(){super(),this._doc=(0,n.inject)(f),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)(f).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,$t){const Kt=this.prepareExternalUrl(ht+_($t));this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,$t){const Kt=this.prepareExternalUrl(ht+_($t));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(h),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,$t){let Kt=this.prepareExternalUrl(ht+_($t));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,$t){let Kt=this.prepareExternalUrl(ht+_($t));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(h),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||{}),Ce=function(L){return L[L.Narrow=0]="Narrow",L[L.Abbreviated=1]="Abbreviated",L[L.Wide=2]="Wide",L[L.Short=3]="Short",L}(Ce||{}),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||{}),de=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}(de||{});function H(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.LocaleId]}function W(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.DayPeriodsFormat],Ue[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],xe);return Le($t,Z)}function pe(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.DaysFormat],Ue[n.\u0275LocaleDataIndex.DaysStandalone]],xe);return Le($t,Z)}function we(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.MonthsFormat],Ue[n.\u0275LocaleDataIndex.MonthsStandalone]],xe);return Le($t,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 ae(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.TimeFormat],xe)}function ve(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 Ge(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.CurrencyName]||null}function tt(L){return(0,n.\u0275getLocaleCurrencyCode)(L)}const Nt=n.\u0275getLocalePluralCase;function _t(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 _t(xe),(xe[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Ue=>"string"==typeof Ue?lt(Ue):[lt(Ue[0]),lt(Ue[1])])}function Tt(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L);_t(Ue);const $t=Le([Ue[n.\u0275LocaleDataIndex.ExtraData][0],Ue[n.\u0275LocaleDataIndex.ExtraData][1]],xe)||[];return Le($t,Z)||[]}function Lt(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 lt(L){const[xe,Z]=L.split(":");return{hours:+xe,minutes:+Z}}function ze(L,xe,Z="en"){const Ue=function Ct(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 K=function(L){return L[L.Short=0]="Short",L[L.ShortGMT=1]="ShortGMT",L[L.Long=2]="Long",L[L.Extended=3]="Extended",L}(K||{}),ce=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}(ce||{}),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 et(L,xe,Z,Ue){let ht=function Rt(L){if(nt(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,$t=1,Kt=1]=L.split("-").map(Un=>+Un);return Dt(ht,$t-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,$t=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 $t.call(xe,Kt,Un,ki,Hi),xe}(Ue)}const xe=new Date(L);if(!nt(xe))throw new Error(`Unable to convert "${L}" into a date`);return xe}(L);xe=_e(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=Q(Ue,ki),ht=function dt(L,xe,Z){const Ue=Z?-1:1,ht=L.getTimezoneOffset();return function be(L,xe){return(L=new Date(L.getTime())).setMinutes(L.getMinutes()+xe),L}(L,Ue*(Q(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=Gt(Te.Eras,Ce.Abbreviated);break;case"GGGG":xe=Gt(Te.Eras,Ce.Wide);break;case"GGGGG":xe=Gt(Te.Eras,Ce.Narrow);break;case"y":xe=Pt(ce.FullYear,1,0,!1,!0);break;case"yy":xe=Pt(ce.FullYear,2,0,!0,!0);break;case"yyy":xe=Pt(ce.FullYear,3,0,!1,!0);break;case"yyyy":xe=Pt(ce.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=Pt(ce.Month,1,1);break;case"MM":case"LL":xe=Pt(ce.Month,2,1);break;case"MMM":xe=Gt(Te.Months,Ce.Abbreviated);break;case"MMMM":xe=Gt(Te.Months,Ce.Wide);break;case"MMMMM":xe=Gt(Te.Months,Ce.Narrow);break;case"LLL":xe=Gt(Te.Months,Ce.Abbreviated,U.Standalone);break;case"LLLL":xe=Gt(Te.Months,Ce.Wide,U.Standalone);break;case"LLLLL":xe=Gt(Te.Months,Ce.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=Pt(ce.Date,1);break;case"dd":xe=Pt(ce.Date,2);break;case"c":case"cc":xe=Pt(ce.Day,1);break;case"ccc":xe=Gt(Te.Days,Ce.Abbreviated,U.Standalone);break;case"cccc":xe=Gt(Te.Days,Ce.Wide,U.Standalone);break;case"ccccc":xe=Gt(Te.Days,Ce.Narrow,U.Standalone);break;case"cccccc":xe=Gt(Te.Days,Ce.Short,U.Standalone);break;case"E":case"EE":case"EEE":xe=Gt(Te.Days,Ce.Abbreviated);break;case"EEEE":xe=Gt(Te.Days,Ce.Wide);break;case"EEEEE":xe=Gt(Te.Days,Ce.Narrow);break;case"EEEEEE":xe=Gt(Te.Days,Ce.Short);break;case"a":case"aa":case"aaa":xe=Gt(Te.DayPeriods,Ce.Abbreviated);break;case"aaaa":xe=Gt(Te.DayPeriods,Ce.Wide);break;case"aaaaa":xe=Gt(Te.DayPeriods,Ce.Narrow);break;case"b":case"bb":case"bbb":xe=Gt(Te.DayPeriods,Ce.Abbreviated,U.Standalone,!0);break;case"bbbb":xe=Gt(Te.DayPeriods,Ce.Wide,U.Standalone,!0);break;case"bbbbb":xe=Gt(Te.DayPeriods,Ce.Narrow,U.Standalone,!0);break;case"B":case"BB":case"BBB":xe=Gt(Te.DayPeriods,Ce.Abbreviated,U.Format,!0);break;case"BBBB":xe=Gt(Te.DayPeriods,Ce.Wide,U.Format,!0);break;case"BBBBB":xe=Gt(Te.DayPeriods,Ce.Narrow,U.Format,!0);break;case"h":xe=Pt(ce.Hours,1,-12);break;case"hh":xe=Pt(ce.Hours,2,-12);break;case"H":xe=Pt(ce.Hours,1);break;case"HH":xe=Pt(ce.Hours,2);break;case"m":xe=Pt(ce.Minutes,1);break;case"mm":xe=Pt(ce.Minutes,2);break;case"s":xe=Pt(ce.Seconds,1);break;case"ss":xe=Pt(ce.Seconds,2);break;case"S":xe=Pt(ce.FractionalSeconds,1);break;case"SS":xe=Pt(ce.FractionalSeconds,2);break;case"SSS":xe=Pt(ce.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":xe=Ke(K.Short);break;case"ZZZZZ":xe=Ke(K.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":xe=Ke(K.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":xe=Ke(K.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 _e(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=ae(L,Re.Short);break;case"mediumTime":Ue=ae(L,Re.Medium);break;case"longTime":Ue=ae(L,Re.Long);break;case"fullTime":Ue=ae(L,Re.Full);break;case"short":const ht=_e(L,"shortTime"),$t=_e(L,"shortDate");Ue=ut(ve(L,Re.Short),[ht,$t]);break;case"medium":const Kt=_e(L,"mediumTime"),Un=_e(L,"mediumDate");Ue=ut(ve(L,Re.Medium),[Kt,Un]);break;case"long":const ki=_e(L,"longTime"),Hi=_e(L,"longDate");Ue=ut(ve(L,Re.Long),[ki,Hi]);break;case"full":const Ci=_e(L,"fullTime"),Jn=_e(L,"fullDate");Ue=ut(ve(L,Re.Full),[Ci,Jn])}return Ue&&(Y[Z][xe]=Ue),Ue}function ut(L,xe){return xe&&(L=L.replace(/\{([^}]+)}/g,function(Z,Ue){return null!=xe&&Ue in xe?xe[Ue]:Z})),L}function Pe(L,xe,Z="-",Ue,ht){let $t="";(L<0||ht&&L<=0)&&(ht?L=1-L:(L=-L,$t=Z));let Kt=String(L);for(;Kt.length0||Un>-Z)&&(Un+=Z),L===ce.Hours)0===Un&&-12===Z&&(Un=12);else if(L===ce.FractionalSeconds)return function mt(L,xe){return Pe(L,3).substring(0,xe)}(Un,xe);const ki=He(Kt,Ae.MinusSign);return Pe(Un,xe,ki,Ue,ht)}}function Gt(L,xe,Z=U.Format,Ue=!1){return function(ht,$t){return function Oe(L,xe,Z,Ue,ht,$t){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($t){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 K.Short:return(ht>=0?"+":"")+Pe(Kt,2,$t)+Pe(Math.abs(ht%60),2,$t);case K.ShortGMT:return"GMT"+(ht>=0?"+":"")+Pe(Kt,1,$t);case K.Long:return"GMT"+(ht>=0?"+":"")+Pe(Kt,2,$t)+":"+Pe(Math.abs(ht%60),2,$t);case K.Extended:return 0===Ue?"Z":(ht>=0?"+":"")+Pe(Kt,2,$t)+":"+Pe(Math.abs(ht%60),2,$t);default:throw new Error(`Unknown zone width "${L}"`)}}}const he=0,ge=4;function Me(L){return Dt(L.getFullYear(),L.getMonth(),L.getDate()+(ge-L.getDay()))}function Ye(L,xe=!1){return function(Z,Ue){let ht;if(xe){const $t=new Date(Z.getFullYear(),Z.getMonth(),1).getDay()-1,Kt=Z.getDate();ht=1+Math.floor((Kt+$t)/7)}else{const $t=Me(Z),Kt=function ct(L){const xe=Dt(L,he,1).getDay();return Dt(L,0,1+(xe<=ge?ge:ge+7)-xe)}($t.getFullYear()),Un=$t.getTime()-Kt.getTime();ht=1+Math.round(Un/6048e5)}return Pe(ht,L,He(Ue,Ae.MinusSign))}}function De(L,xe=!1){return function(Z,Ue){return Pe(Me(Z).getFullYear(),L,He(Ue,Ae.MinusSign),xe)}}const F={};function Q(L,xe){L=L.replace(/:/g,"");const Z=Date.parse("Jan 01, 1970 00:00:00 "+L)/6e4;return isNaN(Z)?xe:Z}function nt(L){return L instanceof Date&&!isNaN(L.valueOf())}const Ve=/^(\d+)?\.((\d+)(-(\d+))?)?$/,yt=22,At=".",on="0",xn=";",Sn=",",_n="#",Mn="\xa4",xi="%";function fi(L,xe,Z,Ue,ht,$t,Kt=!1){let Un="",ki=!1;if(isFinite(L)){let Hi=function qt(L){let Ue,ht,$t,Kt,Un,xe=Math.abs(L)+"",Z=0;for((ht=xe.indexOf(At))>-1&&(xe=xe.replace(At,"")),($t=xe.search(/e/i))>0?(ht<0&&(ht=$t),ht+=+xe.slice($t+1),xe=xe.substring(0,$t)):ht<0&&(ht=xe.length),$t=0;xe.charAt($t)===on;$t++);if($t===(Un=xe.length))Ue=[0],ht=1;else{for(Un--;xe.charAt(Un)===on;)Un--;for(ht-=$t,Ue=[],Kt=0;$t<=Un;$t++,Kt++)Ue[Kt]=Number(xe.charAt($t))}return ht>yt&&(Ue=Ue.splice(0,yt-1),Z=ht-1,ht=1),{digits:Ue,exponent:Z,integerLen:ht}}(L);Kt&&(Hi=function pt(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($t){const pr=$t.match(Ve);if(null===pr)throw new Error(`${$t} 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 $t=Math.min(Math.max(xe,ht),Z);let Kt=$t+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=bt(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,bt(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 xt(L,xe,Z){return fi(L,bt(Ze(xe,ie.Decimal),He(xe,Ae.MinusSign)),xe,Ae.Group,Ae.Decimal,Z)}function bt(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],$t=Ue[1],Kt=-1!==ht.indexOf(At)?ht.split(At):[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(Nt(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,$t]=-1==Ue?[Z,""]:[Z.slice(0,Ue),Z.slice(Ue+1)];if(ht.trim()===xe)return decodeURIComponent($t)}return null}const $n=/\s+/,ti=[];let an=(()=>{class L{constructor(Z,Ue,ht,$t){this._iterableDiffers=Z,this._keyValueDiffers=Ue,this._ngEl=ht,this._renderer=$t,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:$t}=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)):$t?$t.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,$t,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===$t?void 0:$t);else if(null!==$t){const Un=Ue.get($t);Ue.move(Un,Kt),mi(Un,ht)}});for(let ht=0,$t=Ue.length;ht<$t;ht++){const Un=Ue.get(ht).context;Un.index=ht,Un.count=$t,Un.ngForOf=this._ngForOf}Z.forEachIdentityChange(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 Mt=(()=>{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(Mt,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(Mt,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})(),se=(()=>{class L{constructor(Z,Ue,ht,$t){this.value=Z;const Kt=!isNaN(Number(Z));$t.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,$t]=Z.split("."),Kt=-1===ht.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Ue?this._renderer.setStyle(this._ngEl.nativeElement,ht,$t?`${Ue}${$t}`: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})(),kt=(()=>{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:$t,ngTemplateOutletInjector:Kt}=this;this._viewRef=Ue.createEmbeddedView(ht,$t,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,$t){if(null==Z||""===Z||Z!=Z)return null;try{return et(Z,Ue??this.defaultOptions?.dateFormat??"mediumDate",$t||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),$t=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||$t)&&(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(!Ne(Z))return null;ht=ht||this._locale;try{return xt(ot(Z),ht,Ue)}catch($t){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(!Ne(Z))return null;ht=ht||this._locale;try{return Yi(ot(Z),ht,Ue)}catch($t){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",$t,Kt){if(!Ne(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(ot(Z),Kt,Un,Ue,$t)}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 Ne(L){return!(null==L||""===L||L!=L)}function ot(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 gt(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)(f),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 $t=ht.shadowRoot;if($t){const Kt=$t.getElementById(xe)||$t.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,$t=this.offset();this.window.scrollTo(Ue-$t[0],ht-$t[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 We=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)(f)}createPreloadLinkTag(Z,Ue,ht,$t){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"),$t&&Z.setAttribute(Kt,"imageSizes",$t),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 $t=Z?parseFloat(ht):parseFloat(ht)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:$t})} ${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($t=>$t>=640)),Ue.map($t=>`${this.callImageLoader({src:this.ngSrc,width:$t})} ${$t}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:()=>Ge,HTTP_INTERCEPTORS:()=>Lt,HttpBackend:()=>x,HttpClient:()=>ve,HttpClientJsonpModule:()=>xn,HttpClientModule:()=>on,HttpClientXsrfModule:()=>At,HttpContext:()=>Ce,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:()=>Pt,HttpXsrfTokenExtractor:()=>ge,JsonpClientBackend:()=>Dt,JsonpInterceptor:()=>ut,provideHttpClient:()=>V,withFetch:()=>yt,withInterceptors:()=>Q,withInterceptorsFromDi:()=>dt,withJsonpSupport:()=>nt,withNoXsrfProtection:()=>qe,withRequestsMadeViaParent:()=>Ve,withXsrfConfiguration:()=>Rt,\u0275HttpInterceptingHandler:()=>at,\u0275HttpInterceptorHandler:()=>at,\u0275withHttpTransferCache:()=>Yi});var n=a(5861),c=a(5879),d=a(2096),g=a(5592),r=a(2459),f=a(6328),h=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(bt){this.normalizedNames=new Map,this.lazyUpdate=null,bt?"string"==typeof bt?this.lazyInit=()=>{this.headers=new Map,bt.split("\n").forEach(pt=>{const qt=pt.indexOf(":");if(qt>0){const nn=pt.slice(0,qt),cn=nn.toLowerCase(),sn=pt.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"&&bt instanceof Headers?(this.headers=new Map,bt.forEach((pt,qt)=>{this.setHeaderEntries(qt,pt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(bt).forEach(([pt,qt])=>{this.setHeaderEntries(pt,qt)})}:this.headers=new Map}has(bt){return this.init(),this.headers.has(bt.toLowerCase())}get(bt){this.init();const pt=this.headers.get(bt.toLowerCase());return pt&&pt.length>0?pt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(bt){return this.init(),this.headers.get(bt.toLowerCase())||null}append(bt,pt){return this.clone({name:bt,value:pt,op:"a"})}set(bt,pt){return this.clone({name:bt,value:pt,op:"s"})}delete(bt,pt){return this.clone({name:bt,value:pt,op:"d"})}maybeSetNormalizedName(bt,pt){this.normalizedNames.has(pt)||this.normalizedNames.set(pt,bt)}init(){this.lazyInit&&(this.lazyInit instanceof D?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(bt=>this.applyUpdate(bt)),this.lazyUpdate=null))}copyFrom(bt){bt.init(),Array.from(bt.headers.keys()).forEach(pt=>{this.headers.set(pt,bt.headers.get(pt)),this.normalizedNames.set(pt,bt.normalizedNames.get(pt))})}clone(bt){const pt=new D;return pt.lazyInit=this.lazyInit&&this.lazyInit instanceof D?this.lazyInit:this,pt.lazyUpdate=(this.lazyUpdate||[]).concat([bt]),pt}applyUpdate(bt){const pt=bt.name.toLowerCase();switch(bt.op){case"a":case"s":let qt=bt.value;if("string"==typeof qt&&(qt=[qt]),0===qt.length)return;this.maybeSetNormalizedName(bt.name,pt);const nn=("a"===bt.op?this.headers.get(pt):void 0)||[];nn.push(...qt),this.headers.set(pt,nn);break;case"d":const cn=bt.value;if(cn){let sn=this.headers.get(pt);if(!sn)return;sn=sn.filter(Nn=>-1===cn.indexOf(Nn)),0===sn.length?(this.headers.delete(pt),this.normalizedNames.delete(pt)):this.headers.set(pt,sn)}else this.headers.delete(pt),this.normalizedNames.delete(pt)}}setHeaderEntries(bt,pt){const qt=(Array.isArray(pt)?pt:[pt]).map(cn=>cn.toString()),nn=bt.toLowerCase();this.headers.set(nn,qt),this.maybeSetNormalizedName(bt,nn)}forEach(bt){this.init(),Array.from(this.normalizedNames.keys()).forEach(pt=>bt(this.normalizedNames.get(pt),this.headers.get(pt)))}}class E{encodeKey(bt){return ee(bt)}encodeValue(bt){return ee(bt)}decodeKey(bt){return decodeURIComponent(bt)}decodeValue(bt){return decodeURIComponent(bt)}}const X=/%(\d[a-f0-9])/gi,$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ee(xt){return encodeURIComponent(xt).replace(X,(bt,pt)=>$[pt]??bt)}function ie(xt){return`${xt}`}class A{constructor(bt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=bt.encoder||new E,bt.fromString){if(bt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function I(xt,bt){const pt=new Map;return xt.length>0&&xt.replace(/^\?/,"").split("&").forEach(nn=>{const cn=nn.indexOf("="),[sn,Nn]=-1==cn?[bt.decodeKey(nn),""]:[bt.decodeKey(nn.slice(0,cn)),bt.decodeValue(nn.slice(cn+1))],wn=pt.get(sn)||[];wn.push(Nn),pt.set(sn,wn)}),pt}(bt.fromString,this.encoder)}else bt.fromObject?(this.map=new Map,Object.keys(bt.fromObject).forEach(pt=>{const qt=bt.fromObject[pt],nn=Array.isArray(qt)?qt.map(ie):[ie(qt)];this.map.set(pt,nn)})):this.map=null}has(bt){return this.init(),this.map.has(bt)}get(bt){this.init();const pt=this.map.get(bt);return pt?pt[0]:null}getAll(bt){return this.init(),this.map.get(bt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(bt,pt){return this.clone({param:bt,value:pt,op:"a"})}appendAll(bt){const pt=[];return Object.keys(bt).forEach(qt=>{const nn=bt[qt];Array.isArray(nn)?nn.forEach(cn=>{pt.push({param:qt,value:cn,op:"a"})}):pt.push({param:qt,value:nn,op:"a"})}),this.clone(pt)}set(bt,pt){return this.clone({param:bt,value:pt,op:"s"})}delete(bt,pt){return this.clone({param:bt,value:pt,op:"d"})}toString(){return this.init(),this.keys().map(bt=>{const pt=this.encoder.encodeKey(bt);return this.map.get(bt).map(qt=>pt+"="+this.encoder.encodeValue(qt)).join("&")}).filter(bt=>""!==bt).join("&")}clone(bt){const pt=new A({encoder:this.encoder});return pt.cloneFrom=this.cloneFrom||this,pt.updates=(this.updates||[]).concat(bt),pt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(bt=>this.map.set(bt,this.cloneFrom.map.get(bt))),this.updates.forEach(bt=>{switch(bt.op){case"a":case"s":const pt=("a"===bt.op?this.map.get(bt.param):void 0)||[];pt.push(ie(bt.value)),this.map.set(bt.param,pt);break;case"d":if(void 0===bt.value){this.map.delete(bt.param);break}{let qt=this.map.get(bt.param)||[];const nn=qt.indexOf(ie(bt.value));-1!==nn&&qt.splice(nn,1),qt.length>0?this.map.set(bt.param,qt):this.map.delete(bt.param)}}}),this.cloneFrom=this.updates=null)}}class U{constructor(bt){this.defaultValue=bt}}class Ce{constructor(){this.map=new Map}set(bt,pt){return this.map.set(bt,pt),this}get(bt){return this.map.has(bt)||this.map.set(bt,bt.defaultValue()),this.map.get(bt)}delete(bt){return this.map.delete(bt),this}has(bt){return this.map.has(bt)}keys(){return this.map.keys()}}function Ae(xt){return typeof ArrayBuffer<"u"&&xt instanceof ArrayBuffer}function de(xt){return typeof Blob<"u"&&xt instanceof Blob}function H(xt){return typeof FormData<"u"&&xt instanceof FormData}class pe{constructor(bt,pt,qt,nn){let cn;if(this.url=pt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=bt.toUpperCase(),function Re(xt){switch(xt){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 Ce),this.params){const sn=this.params.toString();if(0===sn.length)this.urlWithParams=pt;else{const Nn=pt.indexOf("?");this.urlWithParams=pt+(-1===Nn?"?":Nn$n.set(ti,bt.setHeaders[ti]),wn)),bt.setParams&&(Xn=Object.keys(bt.setParams).reduce(($n,ti)=>$n.set(ti,bt.setParams[ti]),Xn)),new pe(pt,qt,cn,{params:Xn,headers:wn,context:_i,reportProgress:Nn,responseType:nn,withCredentials:sn})}}var we=function(xt){return xt[xt.Sent=0]="Sent",xt[xt.UploadProgress=1]="UploadProgress",xt[xt.ResponseHeader=2]="ResponseHeader",xt[xt.DownloadProgress=3]="DownloadProgress",xt[xt.Response=4]="Response",xt[xt.User=5]="User",xt}(we||{});class Ee{constructor(bt,pt=200,qt="OK"){this.headers=bt.headers||new D,this.status=void 0!==bt.status?bt.status:pt,this.statusText=bt.statusText||qt,this.url=bt.url||null,this.ok=this.status>=200&&this.status<300}}class Be extends Ee{constructor(bt={}){super(bt),this.type=we.ResponseHeader}clone(bt={}){return new Be({headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class G extends Ee{constructor(bt={}){super(bt),this.type=we.Response,this.body=void 0!==bt.body?bt.body:null}clone(bt={}){return new G({body:void 0!==bt.body?bt.body:this.body,headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class re extends Ee{constructor(bt){super(bt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${bt.url||"(unknown url)"}`:`Http failure response for ${bt.url||"(unknown url)"}: ${bt.status} ${bt.statusText}`,this.error=bt.error||null}}function ae(xt,bt){return{body:bt,headers:xt.headers,context:xt.context,observe:xt.observe,params:xt.params,reportProgress:xt.reportProgress,responseType:xt.responseType,withCredentials:xt.withCredentials}}let ve=(()=>{class xt{constructor(pt){this.handler=pt}request(pt,qt,nn={}){let cn;if(pt instanceof pe)cn=pt;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(pt,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,f.b)(wn=>this.handler.handle(wn)));if(pt instanceof pe||"events"===nn.observe)return sn;const Nn=sn.pipe((0,h.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(pt,qt={}){return this.request("DELETE",pt,qt)}get(pt,qt={}){return this.request("GET",pt,qt)}head(pt,qt={}){return this.request("HEAD",pt,qt)}jsonp(pt,qt){return this.request("JSONP",pt,{params:(new A).append(qt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(pt,qt={}){return this.request("OPTIONS",pt,qt)}patch(pt,qt,nn={}){return this.request("PATCH",pt,ae(nn,qt))}post(pt,qt,nn={}){return this.request("POST",pt,ae(nn,qt))}put(pt,qt,nn={}){return this.request("PUT",pt,ae(nn,qt))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(y))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const He=/^\)\]\}',?\n/;function Qe(xt){if(xt.url)return xt.url;const bt="X-Request-URL".toLocaleLowerCase();return xt.headers.get(bt)}let Ge=(()=>{class xt{constructor(){this.fetchImpl=(0,c.inject)(tt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,c.inject)(c.NgZone)}handle(pt){return new g.y(qt=>{const nn=new AbortController;return this.doRequest(pt,nn.signal,qt).then(Ct,cn=>qt.error(new re({error:cn}))),()=>nn.abort()})}doRequest(pt,qt,nn){var cn=this;return(0,n.Z)(function*(){const sn=cn.createRequestInit(pt);let Nn;try{const mn=cn.fetchImpl(pt.urlWithParams,{signal:qt,...sn});(function Nt(xt){xt.then(Ct,Ct)})(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:pt.urlWithParams,headers:mn.headers}))}const wn=new D(Nn.headers),Xn=Nn.statusText,_i=Qe(Nn)??pt.urlWithParams;let $n=Nn.status,ti=null;if(pt.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,pt.reportProgress){Yn="text"===pt.responseType?(Yn??"")+(mi??=new TextDecoder).decode(Ni,{stream:!0}):void 0;const Mt=()=>nn.next({type:we.DownloadProgress,total:mn?+mn:void 0,loaded:Wn,partialText:Yn});wi?wi.run(Mt):Mt()}}}));const ri=cn.concatChunks(Tn,Wn);try{ti=cn.parseBody(pt,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)??pt.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(pt,qt){switch(pt.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(pt){const qt={},nn=pt.withCredentials?"include":void 0;if(pt.headers.forEach((cn,sn)=>qt[cn]=sn.join(",")),qt.Accept??="application/json, text/plain, */*",!qt["Content-Type"]){const cn=pt.detectContentTypeHeader();null!==cn&&(qt["Content-Type"]=cn)}return{body:pt.serializeBody(),method:pt.method,headers:qt,credentials:nn}}concatChunks(pt,qt){const nn=new Uint8Array(qt);let cn=0;for(const sn of pt)nn.set(sn,cn),cn+=sn.length;return nn}}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();class tt{}function Ct(){}function _t(xt,bt){return bt(xt)}function Bt(xt,bt){return(pt,qt)=>bt.intercept(pt,{handle:nn=>xt(nn,qt)})}const Lt=new c.InjectionToken(""),Le=new c.InjectionToken(""),lt=new c.InjectionToken("");function ze(){let xt=null;return(bt,pt)=>{null===xt&&(xt=((0,c.inject)(Lt,{optional:!0})??[]).reduceRight(Bt,_t));const qt=(0,c.inject)(c.\u0275InitialRenderPendingTasks),nn=qt.add();return xt(bt,pt).pipe((0,v.x)(()=>qt.remove(nn)))}}let oe,at=(()=>{class xt extends y{constructor(pt,qt){super(),this.backend=pt,this.injector=qt,this.chain=null,this.pendingTasks=(0,c.inject)(c.\u0275InitialRenderPendingTasks)}handle(pt){if(null===this.chain){const nn=Array.from(new Set([...this.injector.get(Le),...this.injector.get(lt,[])]));this.chain=nn.reduceRight((cn,sn)=>function Tt(xt,bt,pt){return(qt,nn)=>pt.runInContext(()=>bt(qt,cn=>xt(cn,nn)))}(cn,sn,this.injector),_t)}const qt=this.pendingTasks.add();return this.chain(pt,nn=>this.backend.handle(nn)).pipe((0,v.x)(()=>this.pendingTasks.remove(qt)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(x),c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})(),N=0;class Te{}function et(){return"object"==typeof window?window:{}}let Dt=(()=>{class xt{constructor(pt,qt){this.callbackMap=pt,this.document=qt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+N++}handle(pt){if("JSONP"!==pt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==pt.responseType)throw new Error("JSONP requests must use Json response type.");if(pt.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new g.y(qt=>{const nn=this.nextCallback(),cn=pt.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(pt){oe||(oe=this.document.implementation.createHTMLDocument()),oe.adoptNode(pt)}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(Te),c.\u0275\u0275inject(l.DOCUMENT))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();function _e(xt,bt){return"JSONP"===xt.method?(0,c.inject)(Dt).handle(xt):bt(xt)}let ut=(()=>{class xt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>_e(pt,nn=>qt.handle(nn)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const Pe=/^\)\]\}',?\n/;let Pt=(()=>{class xt{constructor(pt){this.xhrFactory=pt}handle(pt){if("JSONP"===pt.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(pt.method,pt.urlWithParams),pt.withCredentials&&(sn.withCredentials=!0),pt.headers.forEach((Tn,Rn)=>sn.setRequestHeader(Tn,Rn.join(","))),pt.headers.has("Accept")||sn.setRequestHeader("Accept","application/json, text/plain, */*"),!pt.headers.has("Content-Type")){const Tn=pt.detectContentTypeHeader();null!==Tn&&sn.setRequestHeader("Content-Type",Tn)}if(pt.responseType){const Tn=pt.responseType.toLowerCase();sn.responseType="json"!==Tn?Tn:"text"}const Nn=pt.serializeBody();let wn=null;const Xn=()=>{if(null!==wn)return wn;const Tn=sn.statusText||"OK",Rn=new D(sn.getAllResponseHeaders()),Wn=function mt(xt){return"responseURL"in xt&&xt.responseURL?xt.responseURL:/^X-Request-URL:/m.test(xt.getAllResponseHeaders())?xt.getResponseHeader("X-Request-URL"):null}(sn)||pt.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"===pt.responseType&&"string"==typeof Yn){const ri=Yn;Yn=Yn.replace(Pe,"");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"===pt.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),pt.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),pt.reportProgress&&(sn.removeEventListener("progress",an),null!==Nn&&sn.upload&&sn.upload.removeEventListener("progress",mn)),sn.readyState!==sn.DONE&&sn.abort()}})))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(l.XhrFactory))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const Ft=new c.InjectionToken("XSRF_ENABLED"),Gt="XSRF-TOKEN",Oe=new c.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Gt}),Ke="X-XSRF-TOKEN",he=new c.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Ke});class ge{}let ct=(()=>{class xt{constructor(pt,qt,nn){this.doc=pt,this.platform=qt,this.cookieName=nn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const pt=this.doc.cookie||"";return pt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.\u0275parseCookieValue)(pt,this.cookieName),this.lastCookieString=pt),this.lastToken}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(c.PLATFORM_ID),c.\u0275\u0275inject(Oe))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();function Me(xt,bt){const pt=xt.url.toLowerCase();if(!(0,c.inject)(Ft)||"GET"===xt.method||"HEAD"===xt.method||pt.startsWith("http://")||pt.startsWith("https://"))return bt(xt);const qt=(0,c.inject)(ge).getToken(),nn=(0,c.inject)(he);return null!=qt&&!xt.headers.has(nn)&&(xt=xt.clone({headers:xt.headers.set(nn,qt)})),bt(xt)}let Ye=(()=>{class xt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>Me(pt,nn=>qt.handle(nn)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();var De=function(xt){return xt[xt.Interceptors=0]="Interceptors",xt[xt.LegacyInterceptors=1]="LegacyInterceptors",xt[xt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",xt[xt.NoXsrfProtection=3]="NoXsrfProtection",xt[xt.JsonpSupport=4]="JsonpSupport",xt[xt.RequestsMadeViaParent=5]="RequestsMadeViaParent",xt[xt.Fetch=6]="Fetch",xt}(De||{});function F(xt,bt){return{\u0275kind:xt,\u0275providers:bt}}function V(...xt){const bt=[ve,Pt,at,{provide:y,useExisting:at},{provide:x,useExisting:Pt},{provide:Le,useValue:Me,multi:!0},{provide:Ft,useValue:!0},{provide:ge,useClass:ct}];for(const pt of xt)bt.push(...pt.\u0275providers);return(0,c.makeEnvironmentProviders)(bt)}function Q(xt){return F(De.Interceptors,xt.map(bt=>({provide:Le,useValue:bt,multi:!0})))}const be=new c.InjectionToken("LEGACY_INTERCEPTOR_FN");function dt(){return F(De.LegacyInterceptors,[{provide:be,useFactory:ze},{provide:Le,useExisting:be,multi:!0}])}function Rt({cookieName:xt,headerName:bt}){const pt=[];return void 0!==xt&&pt.push({provide:Oe,useValue:xt}),void 0!==bt&&pt.push({provide:he,useValue:bt}),F(De.CustomXsrfConfiguration,pt)}function qe(){return F(De.NoXsrfProtection,[{provide:Ft,useValue:!1}])}function nt(){return F(De.JsonpSupport,[Dt,{provide:Te,useFactory:et},{provide:Le,useValue:_e,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,[Ge,{provide:x,useExisting:Ge}])}let At=(()=>{class xt{static disable(){return{ngModule:xt,providers:[qe().\u0275providers]}}static withOptions(pt={}){return{ngModule:xt,providers:Rt(pt).\u0275providers}}}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[Ye,{provide:Lt,useExisting:Ye,multi:!0},{provide:ge,useClass:ct},Rt({cookieName:Gt,headerName:Ke}).\u0275providers,{provide:Ft,useValue:!0}]}),xt})(),on=(()=>{class xt{}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[V(dt())]}),xt})(),xn=(()=>{class xt{}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[nt().\u0275providers]}),xt})();const Sn=new c.InjectionToken(""),_n=["GET","HEAD"];function Mn(xt,bt){const{isCacheActive:pt}=(0,c.inject)(Sn);if(!pt||!_n.includes(xt.method))return bt(xt);const qt=(0,c.inject)(c.TransferState),nn=function fi(xt){const{params:bt,method:pt,responseType:qt,url:nn}=xt,Nn=function Vi(xt){let bt=0;for(const pt of xt)bt=Math.imul(31,bt)+pt.charCodeAt(0)<<0;return bt+=2147483648,bt.toString()}(pt+"."+qt+"."+nn+"?"+bt.keys().sort().map(wn=>`${wn}=${bt.getAll(wn)}`).join("&"));return(0,c.makeStateKey)(Nn)}(xt),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 bt(xt).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:xt.responseType})}))}function xi(xt){const bt={};for(const pt of xt.keys()){const qt=xt.getAll(pt);null!==qt&&(bt[pt]=qt)}return bt}function Yi(){return[{provide:Sn,useFactory:()=>((0,c.inject)(c.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:lt,useValue:Mn,multi:!0,deps:[c.TransferState,Sn]},{provide:c.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const xt=(0,c.inject)(c.ApplicationRef),bt=(0,c.inject)(Sn);return()=>{xt.isStable.pipe((0,_.P)(pt=>pt)).toPromise().then(()=>{bt.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:()=>ce,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:()=>dt,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:()=>bt,\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:()=>Rt,\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:()=>Pe,\u0275injectChangeDetectorRef:()=>j_,\u0275internalCreateApplication:()=>Nx,\u0275isBoundToModule:()=>w_,\u0275isEnvironmentProviders:()=>I,\u0275isInjectable:()=>lt,\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:()=>ue,\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:()=>Lt,\u0275\u0275defineNgModule:()=>se,\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:()=>Q,\u0275\u0275injectAttribute:()=>hc,\u0275\u0275invalidFactory:()=>Rm,\u0275\u0275invalidFactoryDep:()=>be,\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),f=a(2096),h=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 de(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 Lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Le(e){return ze(e,oe)||ze(e,ne)}function lt(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(K))?e[Y]:null}const oe=p({\u0275prov:p}),Y=p({\u0275inj:p}),ne=p({ngInjectableDef:p}),K=p({ngInjectorDef:p});var ce=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}(ce||{});let Te;function et(){return Te}function Dt(e){const t=Te;return Te=e,t}function _e(e,t,i){const o=Le(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&ce.Optional?null:void 0!==t?t:void de(l(e))}const Pe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Gt={},Oe="__NG_DI_FLAG__",Ke="ngTempTokenPath",ge=/\n/gm,Me="__source";let Ye;function F(e){const t=Ye;return Ye=e,t}function V(e,t=ce.Default){if(void 0===Ye)throw new ee(-203,!1);return null===Ye?_e(e,void 0,t):Ye.get(e,t&ce.Optional?null:void 0,t)}function Q(e,t=ce.Default){return(et()||V)(S(e),t)}function be(e){throw new ee(202,!1)}function dt(e,t=ce.Default){return Q(e,Rt(t))}function Rt(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 zt=8&o?Ut:null;if(zt&&-1!==qt(zt,ye,0)||2&o&&ye!==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 se(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 kt(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:kt(e.inputs,t),outputs:kt(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,Ot=10,C=11,te=12,Ne=13,ot=14,Zt=15,Pn=16,ji=17,Pi=18,Li=19,Qi=20,Ui=21,ir=22,wt=23,vt=24,gt=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(xt)?e[xt]: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=Pe.WeakRef??class je{constructor(t){this.ref=t}deref(){return this.ref}};function ue(e){}let Fe=0,it=null,It=!1;function Et(e){const t=it;return it=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===it)return;let t=it.producers.get(this.id);void 0===t?(t={consumerNode:it.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:it.trackingVersion},it.producers.set(this.id,t),this.consumers.set(it.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=it.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==it?.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=Et(this);let o;try{o=this.computation()}catch(s){o=pi,this.error=s}finally{Et(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=Et(null);try{return e()}finally{Et(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=Et(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=rr,this.watch(this.registerOnCleanup)}finally{Et(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 $t(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&ce.SkipSelf){let s=t,m=e;for(;!(s=s.parent,null!==s||i&ce.Host||(s=rc(m),null===s||(m=m[ot],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[ot],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 ye=0;ye<8;ye++)t[m+ye]=R[M+ye]|z[M+ye]}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[ot],-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(bt)&&(o=i[bt]),null==o&&(o=i[bt]=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&ce.Host?xh(s,0,o):Eh(t,i,o,s);try{const M=m(o);if(null!=M||o&ce.Optional)return M;de()}finally{q()}}else if("number"==typeof m){let M=null,R=Mh(e,t),z=Ko,ye=o&ce.Host?t[Zt][Ai]:null;for((-1===R||o&ce.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 $e=t[tn];if(Th(m,R,$e.data)){const ft=mb(R,t,i,M,o,ye);if(ft!==so)return ft}z=t[R+8],z!==Ko&&Ih(o,t[tn].data[R+8]===ye)&&Th(m,R,t)?(M=$e,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],$e=Hs(R,M,i,null==o?ni(R)&&sc:o!=M&&0!=(3&R.type),s&ce.Host&&m===R);return null!==$e?Ro(t,M,$e,R):so}function Hs(e,t,i,o,s){const m=e.providerIndexes,M=t.data,R=1048575&m,z=e.directiveStart,$e=m>>20,Ut=s?R+$e:e.directiveEnd;for(let zt=o?R:R+$e;zt=z&&rn.type===i)return zt}if(s){const zt=M[z];if(zt&&Ii(zt)&&zt.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 Ce(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,ce.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[xt]||dc(t),o=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==o;){const m=s[xt]||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($e){return s&&s($e,...R),($e.hasOwnProperty(Qo)?$e[Qo]:Object.defineProperty($e,Qo,{value:[]})[Qo]).push(z),o&&o($e),$e}}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,ye,$e){const ft=z.hasOwnProperty(Zo)?z[Zo]:Object.defineProperty(z,Zo,{value:[]})[Zo];for(;ft.length<=$e;)ft.push(null);return(ft[$e]=ft[$e]||[]).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(ye,$e){if(void 0===ye)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const ft=ye.constructor,Ut=ft.hasOwnProperty(Xo)?ft[Xo]:Object.defineProperty(ft,Xo,{value:{}})[Xo];Ut[$e]=Ut.hasOwnProperty($e)&&Ut[$e]||[],Ut[$e].unshift(R),o&&o(ye,$e,...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=Pe.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($e=>$e&&$e.type),ye=R.map($e=>$e&&pc($e.decorators));return this._zipTypesAndAnnotations(z,ye)}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=nt(qo("Inject",e=>({token:e})),-1),Gs=nt(qo("Optional"),8),Uh=nt(qo("Self"),2),Ws=nt(qo("SkipSelf"),4),Bh=nt(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=[]),ye=s.styles.length;R&&R.forEach((ft,Ut)=>{z.push(""),M.push(o(ft).then(zt=>{z[ye+Ut]=zt,R.splice(R.indexOf(ft),1),0==R.length&&(s.styleUrls=void 0)}))});const $e=Promise.all(M).then(()=>function Nb(e){Qa.delete(e)}(m));t.push($e)}),$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=gt;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,Pe.trustedTypes))try{al=Pe.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[Ot].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=Gt){if(i===Gt){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 ye of z)Hc(ye,t,i,o)}}else{if(!m)return!1;{if(null!=m.imports&&!R){let ye;o.add(s);try{Ka(m.imports,$e=>{Hc($e,t,i,o)&&(ye||=[],ye.push($e))})}finally{}void 0!==ye&&Xf(ye,t)}if(!R){const ye=or(s)||(()=>new s);t.push({provide:s,useFactory:ye,deps:Mn},{provide:Kf,useValue:s,multi:!0},{provide:is,useValue:()=>Q(s),multi:!0})}const z=m.providers;null==z||R||zc(z,$e=>{t.push($e)})}}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,ce.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=Gt,o=ce.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(pt))return t[pt](this);o=Rt(o);const s=F(this),m=Dt(void 0);try{if(!(o&ce.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&ce.Self?ul():this.parent).get(t,i=o&ce.Optional&&i===Gt?null:i)}catch(M){if("NullInjectorError"===M.name){if((M[Ke]=M[Ke]||[]).unshift(l(t)),s)throw M;return function yt(e,t,i,o){const s=e[Ke];throw t[Me]&&s.unshift(t[Me]),e.message=function At(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(ge,"\n ")}`}("\n"+e.message,s,i,o),e.ngTokenPath=s,e[Ke]=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,ce.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=()=>Q(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"===dt(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(),dt(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[gt]),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=Et(this);this.trackingVersion++;try{t(i,o)}finally{Et(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(!et()&&!function De(){return Ye}())throw new ee(-203,!1)}const Am={\u0275\u0275defineInjectable:Bt,\u0275\u0275defineInjector:Lt,\u0275\u0275inject:Q,\u0275\u0275invalidFactoryDep:be,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(xt)||Object.defineProperty(e,xt,{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=Gt,e.NULL=new Yf,e.\u0275prov=Bt({token:e,providedIn:"any",factory:()=>Q(Vc)}),e.__NG_ELEMENT_ID__=-1,e})();function ua(e,t=ce.Default){const i=dn();return null===i?Q(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,ye,$e){const ft=t.blueprint.slice();return ft[Cn]=s,ft[En]=140|o,(null!==ye||e&&2048&e[En])&&(ft[En]|=2048),Jn(ft),ft[ei]=ft[ot]=e,ft[yi]=i,ft[Ot]=M||e&&e[Ot],ft[C]=R||e&&e[C],ft[Je]=z||e&&e[Je]||null,ft[Ai]=m,ft[Li]=function Yb(){return Kb++}(),ft[ir]=$e,ft[Qi]=ye,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;mgt&&Im(e,t,gt,!1),ci(R?2:0,s),R)m.runInContext(i,o,s);else{const ye=Et(null);try{i(o,s)}finally{Et(ye)}}}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=Et(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 $e,ye=t.inputs;!R&&null!=ye&&($e=ye[o])?(yu(e,i,$e,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,ye=>{this.all.has(ye)&&this.queue.set(ye,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??dt(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=Rt(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 $e={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",zt=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,$e,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=gt;return e[o]=t,da(i,o,2,"#host",null)}(ln,zt),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 ye=m.rendererFactory.createRenderer(t,i);let $e=16;i.signals?$e=4096:i.onPush&&($e=64);const ft=_l(s,Nm(i),null,$e,s[e.index],e,m,ye,null,null,z);return R.firstCreatePass&&gu(R,e,o.length-1),bl(s,ft),s[e.index]=ft}(OE,zt,Ri,vr,ln,$e,ft);Si=ht(zn,gt),zt&&function h1(e,t,i,o){if(o)nn(e,i,["ng-version",mm.full]);else{const{attrs:s,classes:m}=function Mt(e){const t=[],i=[];let o=1,s=2;for(;o0&&Tf(e,i,m.join(" "))}}(ft,Ri,zt,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-gt}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,ye,$e]of m.matchAll(/(f|n)(\d*)/g)){const ft=parseInt($e,10)||1;R.push(ye,ft)}return[M,...R]}(e);let s;return s=i===Xc?t[Zt][Cn]:i===qc?lu(t[Zt][Cn]):di(t[Number(i)+gt]),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-gt)):(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(),ye=Di(),$e=e+gt,ft=ye.firstCreatePass?function B1(e,t,i,o,s,m,M,R,z){const ye=t.consts,$e=da(t,e,4,M||null,Ci(ye,R));pu(t,i,$e,Ci(ye,z)),Ps(t,$e);const ft=$e.tView=mu(2,$e,o,s,m,t.directiveRegistry,t.pipeRegistry,null,t.schemas,ye,null);return null!==t.queries&&(t.queries.template(t,$e),ft.queries=t.queries.embeddedTView($e)),$e}($e,ye,z,t,i,o,s,m,M):ye.data[$e];zr(ft,!1);const Ut=bp(ye,z,ft,e);Io()&&il(ye,z,Ut,ft),br(Ut,z),bl(z,z[$e]=zm(Ut,z,Ut,ft)),oi(ft)&&hu(ye,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 $t(function As(){return Zn.lFrame.contextLView}(),gt+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=gt+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],ye=Mp(m,s,z,R,t,e);s[M]=ye;const $e=oi(z);return zr(z,!0),If(R,ye,z),32!=(32&z.flags)&&Io()&&il(m,s,ye,z),0===function Nr(){return Zn.lFrame.elementDepthCount}()&&br(ye,s),function Zr(){Zn.lFrame.elementDepthCount++}(),$e&&(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+gt,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),ye=e.firstCreatePass&&Wm(e),$e=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,$e,m,!1);const Si=i.listen(kn,s,m);ft.push(m,Si),ye&&ye.push(s,ln,zn,zn+1)}}else m=Ip(o,t,$e,m,!1);const zt=o.outputs;let rn;if(Ut&&null!==zt&&(rn=zt[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),ye=m.__ngNextListenerFn__;for(;ye;)z=Tp(t,i,ye,M)&&z,ye=ye.__ngNextListenerFn__;return s&&!1===z&&M.preventDefault(),z}}function Sp(e=1){return function rt(e){return(Zn.lFrame.contextLView=function st(e,t){for(;e>0;)t=t[ot],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 $e=e[R+1];tC(e[R],t)&&(z=!0,e[R+1]=o?id($e):td($e)),R=o?Lo($e):Ho($e)}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,ye=0,$e=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)&&(ye=!0)):$e=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;ye&&(e[o+1]=td(e[o+1])),kp(e,$e,o,!0),kp(e,$e,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,$e,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],ye=Array.isArray(z),$e=ye?z[1]:z,ft=null===$e;let Ut=i[s+1];Ut===gi&&(Ut=ft?Mn:void 0);let zt=ft?mc(Ut,o):$e===o?Ut:void 0;if(ye&&!Ol(zt)&&(zt=mc(z,o)),Ol(zt)&&(R=zt,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+gt,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 ye=dn(),$e=ba(ye,e,t,i,o,s,m,M,R,z);return $e!==gi&&xo(ye,Vt(),$e),ud}function dd(e,t,i,o,s,m,M,R,z,ye,$e){const ft=dn(),Ut=ya(ft,e,t,i,o,s,m,M,R,z,ye,$e);return Ut!==gi&&xo(ft,Vt(),Ut),dd}function hd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){const zt=dn(),rn=va(zt,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut);return rn!==gi&&xo(zt,Vt(),rn),hd}function fd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){const bn=dn(),kn=Ca(bn,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn);return kn!==gi&&xo(bn,Vt(),kn),fd}function md(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){const zn=dn(),ln=Ma(zn,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){to(Ur,uo,ya(dn(),e,t,i,o,s,m,M,R,z,ye,$e),!0)}function Jp(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){to(Ur,uo,va(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut),!0)}function e0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){to(Ur,uo,Ca(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn),!0)}function t0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){to(Ur,uo,Ma(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){Jr(ya(dn(),e,t,i,o,s,m,M,R,z,ye,$e))}function c0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){Jr(va(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut))}function u0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){Jr(Ca(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn))}function d0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){Jr(Ma(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){return eo(e,ba(dn(),t,i,o,s,m,M,R,z,ye),$e,!1),yd}function vd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){return eo(e,ya(dn(),t,i,o,s,m,M,R,z,ye,$e,ft),Ut,!1),vd}function Cd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){return eo(e,va(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt),rn,!1),Cd}function Md(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){return eo(e,Ca(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn),kn,!1),Md}function xd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn,zn,ln){return eo(e,Ma(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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]=Pe.ng&&Pe.ng.common&&Pe.ng.common.locales&&Pe.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 Ge(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,zt,rn,null)}else switch(z){case Nl:const ye=t[++R],$e=t[++R];null===i[$e]&&br(i[$e]=Dc(s,ye),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&$e){case 1:const Ut=i[++ye],zt=i[++ye],rn=e.data[ft];"string"==typeof rn?_u(t[C],t[ft],null,rn,Ut,z,zt):Br(e,rn,t,Ut,z,t[C],zt,!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 $e=bs(e,z>>>2);t[$e.currentCaseLViewIndex]<0&&D0(e,$e,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 ye=Fl(R,z);o=null!==ye?R.remove[ye]: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=[],ye=[],$e=[];t.cases.push(m),t.create.push(z),t.remove.push(ye),t.update.push($e);const Ut=Rf(es()).getInertBodyElement(M),zt=Fc(Ut)||Ut;return zt?O0(e,t,i,o,z,ye,$e,zt,s,R,0):0}function O0(e,t,i,o,s,m,M,R,z,ye,$e){let ft=0,Ut=R.firstChild;for(;Ut;){const zt=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,zt),e.data[zt]=bn;const hi=rn.attributes;for(let Si=0;Si>>Or.SHIFT;let ft=e[$e];null===ft&&(ft=e[$e]=(M&Or.COMMENT)===Or.COMMENT?s.createComment(R):el(s,R)),ye&&null!==i&&No(s,i,ft,o,!1)}})(s,z.create,$e,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+gt)}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,ye=o[z]||[];if(ye.length||(z.split("|").forEach(bn=>{const kn=bn.match(hM),zn=kn?parseInt(kn[1],10):P0,ln=dM.test(bn);ye.push([zn,ln,bn])}),o[z]=ye),!ye.length)throw new Error(`i18n postprocess: unmatched placeholder - ${z}`);const $e=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 zt=new za(z,s,ua),rn=Nd(R,t,s?$e:$e+Ut,ft);-1===rn?(uc(js(ye,M),m,R),Pd(m,e,t.length),t.push(R),ye.directiveStart++,ye.directiveEnd++,s&&(ye.providerIndexes+=1048576),i.push(zt),M.push(zt)):(i[rn]=zt,M[rn]=zt)}else{const zt=Nd(R,t,$e+Ut,ft),rn=Nd(R,t,$e,$e+Ut),kn=rn>=0&&i[rn];if(s&&!kn||!s&&!(zt>=0&&i[zt])){uc(js(ye,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),ye.directiveStart++,ye.directiveEnd++,s&&(ye.providerIndexes+=1048576),i.push(zn),M.push(zn)}else Pd(m,e,zt>-1?zt:rn,V0(i[s?rn:zt],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 ye=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const $e=ye.indexOf(i);-1===$e?ye.push(i,[o,z]):ye[$e+1].push(o,z)}else ye.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(Q(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,ye=dn(),$e=Gr(ye,z,i,o,s,m);return yr(ye,z+4,M)||$e?co(ye,z+5,R?t.call(R,i,o,s,m,M):t(i,o,s,m,M)):fs(ye,z+5)}function ag(e,t,i,o,s,m,M,R,z){const ye=hr()+e,$e=dn(),ft=Gr($e,ye,i,o,s,m);return jo($e,ye+4,M,R)||ft?co($e,ye+6,z?t.call(z,i,o,s,m,M,R):t(i,o,s,m,M,R)):fs($e,ye+6)}function sg(e,t,i,o,s,m,M,R,z,ye){const $e=hr()+e,ft=dn();let Ut=Gr(ft,$e,i,o,s,m);return xl(ft,$e+4,M,R,z)||Ut?co(ft,$e+7,ye?t.call(ye,i,o,s,m,M,R,z):t(i,o,s,m,M,R,z)):fs(ft,$e+7)}function lg(e,t,i,o,s,m,M,R,z,ye,$e){const ft=hr()+e,Ut=dn(),zt=Gr(Ut,ft,i,o,s,m);return Gr(Ut,ft+4,M,R,z,ye)||zt?co(Ut,ft+8,$e?t.call($e,i,o,s,m,M,R,z,ye):t(i,o,s,m,M,R,z,ye)):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 ye=t+i;return Gr(e,ye,s,m,M,R)?co(e,ye+4,z?o.call(z,s,m,M,R):o(s,m,M,R)):xs(e,ye+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+gt,s=dn(),m=$t(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+gt,m=dn(),M=$t(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+gt,M=dn(),R=$t(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+gt,R=dn(),z=$t(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+gt,s=dn(),m=$t(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 ye=this._declarationLView[Pi];return null!==ye&&(R[Pi]=ye.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)),ye=o||this.parentInjector;if(!m&&null==z.ngModule){const kn=(M?ye:this.parentInjector).get(Vo,null);kn&&(m=kn)}const $e=gn(z.componentType??{}),ft=xg(this._lContainer,$e?.id??null),zt=z.create(ye,s,ft?.firstChild??null,m),rn=!!ft&&!Xs(this._hostTNode);return this.insertImpl(zt.hostView,R,rn),zt}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 ye=s[ei],$e=new Eg(ye,ye[Ai],ye[ei]);$e.detach($e.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,ye);e[Jt]=$e,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 ye=m[R+1],$e=t[-z];for(let ft=On;ft<$e.length;ft++){const Ut=$e[ft];Ut[Pn]===Ut[ei]&&Kd(Ut[tn],Ut,ye,o)}if(null!==$e[vn]){const ft=$e[vn];for(let Ut=0;Ut({\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:Lt,\u0275\u0275defineNgModule:se,\u0275\u0275definePipe:un,\u0275\u0275directiveInject:ua,\u0275\u0275getInheritedFactory:Sh,\u0275\u0275inject:Q,\u0275\u0275injectAttribute:hc,\u0275\u0275invalidFactory:Rm,\u0275\u0275invalidFactoryDep:be,\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,xt,{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 ye=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&ye.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&ye.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),ye.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(ye.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 ye=$r(t.imports||Mn),{directiveDefs:$e,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 ye=Go(z);for(const $e of ye.exported.directives){const ft=gn($e)||pn($e);ft&&!M.has($e)&&(M.add($e),i.push(ft))}}else{const ye=gn(z)||pn(z);ye&&i.push(ye)}}}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 ye=Go(z);for(const $e of ye.exported.pipes){const ft=si($e);ft&&!M.has($e)&&(M.add($e),o.push(ft))}}else{const ye=si(z);ye&&o.push(ye)}}}return o}}}(e,ye);i.directiveDefs=$e,i.pipeDefs=ft,i.dependencies=()=>ye.map(S)}}finally{Jd--}if(0===Jd&&Vg(),function sx(e){return void 0!==e.ngSelectorScope}(e)){const ye=Go(e.ngSelectorScope);qd(i,ye)}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,xt,{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=dt(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:()=>dt(Wl,ce.Optional|ce.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)&&Pe){let o=Pe[h_];o||(o=Pe[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 Pe.requestAnimationFrame;let t=Pe[e?"requestAnimationFrame":"setTimeout"],i=Pe[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(Pe,()=>{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=dt(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,h.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)(Q(Ir),Q(M_),Q(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 ye=R.get(la,null);let $e;z.runOutsideAngular(()=>{$e=z.onError.subscribe({next:zt=>{ye.handleError(zt)}})});const ft=()=>R.destroy(),Ut=s.get(oh);return Ut.add(ft),R.onDestroy(()=>{$e.unsubscribe(),Ut.delete(ft)}),O_(ye,z,()=>{const zt=R.get(Gl);return zt.runInitializers(),zt.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)(Q(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=dt(N_),this.zoneIsStable=dt(b_),this.componentTypes=[],this.components=[],this.isStable=dt(c_).hasPendingTasks.pipe((0,u.w)(i=>i?(0,f.of)(!1):this.zoneIsStable),(0,v.x)(),(0,h.B)()),this._injector=dt(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),ye=M.create(Ao.NULL,[],o||M.selector,R),$e=ye.location.nativeElement,ft=ye.injector.get(v_,null);return ft?.registerApplication($e),ye.onDestroy(()=>{this.detachView(ye.hostView),Yl(this.components,ye),ft?.unregisterApplication($e)}),this._loadComponent(ye),ye}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:()=>dt(la).handleError.bind(void 0)});function Bx(){const e=dt(Ir),t=dt(la);return i=>e.runOutsideAngular(()=>t.handleError(i))}let Vx=(()=>{class e{constructor(){this.zone=dt(Ir),this.applicationRef=dt(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=dt(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 $e=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],ye=R[Ai].projection[e.projection];if(Array.isArray(ye))for(let $e of ye)ch($e,i,o,s,m);else if(ye){const $e=R[ei];Wo($e[tn].data[ye.index],$e,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)(Q(Ia))},e.\u0275mod=se({type:e}),e.\u0275inj=Lt({}),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 ye=z[Cn];ye&&!ye.hasAttribute(ta)&&(gh(ye,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&&$e===o){const ft=i[i.length-1];ft[dl]??=1,ft[dl]++}else o=$e,i.push(ye)}return i}function ph(e,t,i){const o=t.index-gt;e[tu]??={},e[tu][o]=U1(t,i)}function eb(e,t){const i=t.index-gt;e[hl]??=[],e[hl].includes(i)||e[hl].push(i)}function tb(e,t){const i={},o=e[tn];for(let s=gt;s{let e=!0;return Ql()&&(e=!!dt(rs,{optional:!0})?.get(nu,null)),e&&dt(im).add("hydration"),e}},{provide:is,useValue:()=>{Ql()&&dt(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()&&dt(us)},{provide:ah,useFactory:()=>{if(Ql()&&dt(us)){const e=dt(Ia);return dt(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:()=>dt,AbstractControlDirective:()=>_t,AbstractFormGroupDirective:()=>Mt,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:()=>Rt,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:()=>nt,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 f=(()=>{class fe{constructor(J,We){this._renderer=J,this._elementRef=We,this.onChange=Xt=>{},this.onTouched=()=>{}}setProperty(J,We){this._renderer.setProperty(this._elementRef.nativeElement,J,We)}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})(),h=(()=>{class fe extends f{}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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 h{writeValue(J){this.setProperty("checked",J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.checked)})("blur",function(){return We.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 f{constructor(J,We,Xt){super(J,We),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,We){1&J&&n.\u0275\u0275listener("input",function(Dn){return We._handleInput(Dn.target.value)})("blur",function(){return We.onTouched()})("compositionstart",function(){return We._compositionStart()})("compositionend",function(Dn){return We._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(le){return $(le)}static max(le){return ee(le)}static required(le){return ie(le)}static requiredTrue(le){return A(le)}static email(le){return U(le)}static minLength(le){return Ce(le)}static maxLength(le){return Re(le)}static pattern(le){return Ae(le)}static nullValidator(le){return null}static compose(le){return G(le)}static composeAsync(le){return ae(le)}}function $(fe){return le=>{if(x(le.value)||x(fe))return null;const J=parseFloat(le.value);return!isNaN(J)&&J{if(x(le.value)||x(fe))return null;const J=parseFloat(le.value);return!isNaN(J)&&J>fe?{max:{max:fe,actual:le.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 Ce(fe){return le=>x(le.value)||!D(le.value)?null:le.value.lengthD(le.value)&&le.value.length>fe?{maxlength:{requiredLength:fe,actualLength:le.value.length}}:null}function Ae(fe){if(!fe)return de;let le,J;return"string"==typeof fe?(J="","^"!==fe.charAt(0)&&(J+="^"),J+=fe,"$"!==fe.charAt(fe.length-1)&&(J+="$"),le=new RegExp(J)):(J=fe.toString(),le=fe),We=>{if(x(We.value))return null;const Xt=We.value;return le.test(Xt)?null:{pattern:{requiredPattern:J,actualValue:Xt}}}}function de(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 le={};return fe.forEach(J=>{le=null!=J?{...le,...J}:le}),0===Object.keys(le).length?null:le}function we(fe,le){return le.map(J=>J(fe))}function Be(fe){return fe.map(le=>function Ee(fe){return!fe.validate}(le)?le:J=>le.validate(J))}function G(fe){if(!fe)return null;const le=fe.filter(H);return 0==le.length?null:function(J){return pe(we(J,le))}}function re(fe){return null!=fe?G(Be(fe)):null}function ae(fe){if(!fe)return null;const le=fe.filter(H);return 0==le.length?null:function(J){const We=we(J,le).map(W);return(0,g.D)(We).pipe((0,r.U)(pe))}}function ve(fe){return null!=fe?ae(Be(fe)):null}function He(fe,le){return null===fe?[le]:Array.isArray(fe)?[...fe,le]:[fe,le]}function Ze(fe){return fe._rawValidators}function Qe(fe){return fe._rawAsyncValidators}function Ge(fe){return fe?Array.isArray(fe)?fe:[fe]:[]}function tt(fe,le){return Array.isArray(fe)?fe.includes(le):fe===le}function Ct(fe,le){const J=Ge(le);return Ge(fe).forEach(Xt=>{tt(J,Xt)||J.push(Xt)}),J}function Nt(fe,le){return Ge(le).filter(J=>!tt(fe,J))}class _t{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(le){this._rawValidators=le||[],this._composedValidatorFn=re(this._rawValidators)}_setAsyncValidators(le){this._rawAsyncValidators=le||[],this._composedAsyncValidatorFn=ve(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(le){this._onDestroyCallbacks.push(le)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(le=>le()),this._onDestroyCallbacks=[]}reset(le=void 0){this.control&&this.control.reset(le)}hasError(le,J){return!!this.control&&this.control.hasError(le,J)}getError(le,J){return this.control?this.control.getError(le,J):null}}class Bt extends _t{get formDirective(){return null}get path(){return null}}class Tt extends _t{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Lt{constructor(le){this._cd=le}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 Lt{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,We){2&J&&n.\u0275\u0275classProp("ng-untouched",We.isUntouched)("ng-touched",We.isTouched)("ng-pristine",We.isPristine)("ng-dirty",We.isDirty)("ng-valid",We.isValid)("ng-invalid",We.isInvalid)("ng-pending",We.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})(),at=(()=>{class fe extends Lt{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,We){2&J&&n.\u0275\u0275classProp("ng-untouched",We.isUntouched)("ng-touched",We.isTouched)("ng-pristine",We.isPristine)("ng-dirty",We.isDirty)("ng-valid",We.isValid)("ng-invalid",We.isInvalid)("ng-pending",We.isPending)("ng-submitted",We.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Ke="VALID",he="INVALID",ge="PENDING",ct="DISABLED";function Me(fe){return(V(fe)?fe.validators:fe)||null}function De(fe,le){return(V(le)?le.asyncValidators:fe)||null}function V(fe){return null!=fe&&!Array.isArray(fe)&&"object"==typeof fe}function Q(fe,le,J){const We=fe.controls;if(!(le?Object.keys(We):We).length)throw new n.\u0275RuntimeError(1e3,"");if(!We[J])throw new n.\u0275RuntimeError(1001,"")}function be(fe,le,J){fe._forEachChild((We,Xt)=>{if(void 0===J[Xt])throw new n.\u0275RuntimeError(1002,"")})}class dt{constructor(le,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(le),this._assignAsyncValidators(J)}get validator(){return this._composedValidatorFn}set validator(le){this._rawValidators=this._composedValidatorFn=le}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(le){this._rawAsyncValidators=this._composedAsyncValidatorFn=le}get parent(){return this._parent}get valid(){return this.status===Ke}get invalid(){return this.status===he}get pending(){return this.status==ge}get disabled(){return this.status===ct}get enabled(){return this.status!==ct}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(le){this._assignValidators(le)}setAsyncValidators(le){this._assignAsyncValidators(le)}addValidators(le){this.setValidators(Ct(le,this._rawValidators))}addAsyncValidators(le){this.setAsyncValidators(Ct(le,this._rawAsyncValidators))}removeValidators(le){this.setValidators(Nt(le,this._rawValidators))}removeAsyncValidators(le){this.setAsyncValidators(Nt(le,this._rawAsyncValidators))}hasValidator(le){return tt(this._rawValidators,le)}hasAsyncValidator(le){return tt(this._rawAsyncValidators,le)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(le={}){this.touched=!0,this._parent&&!le.onlySelf&&this._parent.markAsTouched(le)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(le=>le.markAllAsTouched())}markAsUntouched(le={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(J=>{J.markAsUntouched({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}markAsDirty(le={}){this.pristine=!1,this._parent&&!le.onlySelf&&this._parent.markAsDirty(le)}markAsPristine(le={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(J=>{J.markAsPristine({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}markAsPending(le={}){this.status=ge,!1!==le.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!le.onlySelf&&this._parent.markAsPending(le)}disable(le={}){const J=this._parentMarkedDirty(le.onlySelf);this.status=ct,this.errors=null,this._forEachChild(We=>{We.disable({...le,onlySelf:!0})}),this._updateValue(),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...le,skipPristineCheck:J}),this._onDisabledChange.forEach(We=>We(!0))}enable(le={}){const J=this._parentMarkedDirty(le.onlySelf);this.status=Ke,this._forEachChild(We=>{We.enable({...le,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent}),this._updateAncestors({...le,skipPristineCheck:J}),this._onDisabledChange.forEach(We=>We(!1))}_updateAncestors(le){this._parent&&!le.onlySelf&&(this._parent.updateValueAndValidity(le),le.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(le){this._parent=le}getRawValue(){return this.value}updateValueAndValidity(le={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ke||this.status===ge)&&this._runAsyncValidator(le.emitEvent)),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!le.onlySelf&&this._parent.updateValueAndValidity(le)}_updateTreeValidity(le={emitEvent:!0}){this._forEachChild(J=>J._updateTreeValidity(le)),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ct:Ke}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(le){if(this.asyncValidator){this.status=ge,this._hasOwnPendingAsyncValidator=!0;const J=W(this.asyncValidator(this));this._asyncValidationSubscription=J.subscribe(We=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(We,{emitEvent:le})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(le,J={}){this.errors=le,this._updateControlsErrors(!1!==J.emitEvent)}get(le){let J=le;return null==J||(Array.isArray(J)||(J=J.split(".")),0===J.length)?null:J.reduce((We,Xt)=>We&&We._find(Xt),this)}getError(le,J){const We=J?this.get(J):this;return We&&We.errors?We.errors[le]:null}hasError(le,J){return!!this.getError(le,J)}get root(){let le=this;for(;le._parent;)le=le._parent;return le}_updateControlsErrors(le){this.status=this._calculateStatus(),le&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(le)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?ct:this.errors?he:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ge)?ge:this._anyControlsHaveStatus(he)?he:Ke}_anyControlsHaveStatus(le){return this._anyControls(J=>J.status===le)}_anyControlsDirty(){return this._anyControls(le=>le.dirty)}_anyControlsTouched(){return this._anyControls(le=>le.touched)}_updatePristine(le={}){this.pristine=!this._anyControlsDirty(),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}_updateTouched(le={}){this.touched=this._anyControlsTouched(),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}_registerOnCollectionChange(le){this._onCollectionChange=le}_setUpdateStrategy(le){V(le)&&null!=le.updateOn&&(this._updateOn=le.updateOn)}_parentMarkedDirty(le){return!le&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(le){return null}_assignValidators(le){this._rawValidators=Array.isArray(le)?le.slice():le,this._composedValidatorFn=function Ye(fe){return Array.isArray(fe)?re(fe):fe||null}(this._rawValidators)}_assignAsyncValidators(le){this._rawAsyncValidators=Array.isArray(le)?le.slice():le,this._composedAsyncValidatorFn=function F(fe){return Array.isArray(fe)?ve(fe):fe||null}(this._rawAsyncValidators)}}class Rt extends dt{constructor(le,J,We){super(Me(J),De(We,J)),this.controls=le,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(le,J){return this.controls[le]?this.controls[le]:(this.controls[le]=J,J.setParent(this),J._registerOnCollectionChange(this._onCollectionChange),J)}addControl(le,J,We={}){this.registerControl(le,J),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}removeControl(le,J={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}setControl(le,J,We={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],J&&this.registerControl(le,J),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}contains(le){return this.controls.hasOwnProperty(le)&&this.controls[le].enabled}setValue(le,J={}){be(this,0,le),Object.keys(le).forEach(We=>{Q(this,!0,We),this.controls[We].setValue(le[We],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(le,J={}){null!=le&&(Object.keys(le).forEach(We=>{const Xt=this.controls[We];Xt&&Xt.patchValue(le[We],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(le={},J={}){this._forEachChild((We,Xt)=>{We.reset(le[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this._reduceChildren({},(le,J,We)=>(le[We]=J.getRawValue(),le))}_syncPendingControls(){let le=this._reduceChildren(!1,(J,We)=>!!We._syncPendingControls()||J);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){Object.keys(this.controls).forEach(J=>{const We=this.controls[J];We&&le(We,J)})}_setUpControls(){this._forEachChild(le=>{le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(le){for(const[J,We]of Object.entries(this.controls))if(this.contains(J)&&le(We))return!0;return!1}_reduceValue(){return this._reduceChildren({},(J,We,Xt)=>((We.enabled||this.disabled)&&(J[Xt]=We.value),J))}_reduceChildren(le,J){let We=le;return this._forEachChild((Xt,Dn)=>{We=J(We,Xt,Dn)}),We}_allControlsDisabled(){for(const le of Object.keys(this.controls))if(this.controls[le].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(le){return this.controls.hasOwnProperty(le)?this.controls[le]:null}}const qe=Rt,nt=fe=>fe instanceof Rt;class Ve extends Rt{}const yt=fe=>fe instanceof Ve,At=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>on}),on="always";function xn(fe,le){return[...le.path,fe]}function Sn(fe,le,J=on){fi(fe,le),le.valueAccessor.writeValue(fe.value),(fe.disabled||"always"===J)&&le.valueAccessor.setDisabledState?.(fe.disabled),function Yi(fe,le){le.valueAccessor.registerOnChange(J=>{fe._pendingValue=J,fe._pendingChange=!0,fe._pendingDirty=!0,"change"===fe.updateOn&&bt(fe,le)})}(fe,le),function pt(fe,le){const J=(We,Xt)=>{le.valueAccessor.writeValue(We),Xt&&le.viewToModelUpdate(We)};fe.registerOnChange(J),le._registerOnDestroy(()=>{fe._unregisterOnChange(J)})}(fe,le),function xt(fe,le){le.valueAccessor.registerOnTouched(()=>{fe._pendingTouched=!0,"blur"===fe.updateOn&&fe._pendingChange&&bt(fe,le),"submit"!==fe.updateOn&&fe.markAsTouched()})}(fe,le),function xi(fe,le){if(le.valueAccessor.setDisabledState){const J=We=>{le.valueAccessor.setDisabledState(We)};fe.registerOnDisabledChange(J),le._registerOnDestroy(()=>{fe._unregisterOnDisabledChange(J)})}}(fe,le)}function _n(fe,le,J=!0){const We=()=>{};le.valueAccessor&&(le.valueAccessor.registerOnChange(We),le.valueAccessor.registerOnTouched(We)),Vi(fe,le),fe&&(le._invokeOnDestroyCallbacks(),fe._registerOnCollectionChange(()=>{}))}function Mn(fe,le){fe.forEach(J=>{J.registerOnValidatorChange&&J.registerOnValidatorChange(le)})}function fi(fe,le){const J=Ze(fe);null!==le.validator?fe.setValidators(He(J,le.validator)):"function"==typeof J&&fe.setValidators([J]);const We=Qe(fe);null!==le.asyncValidator?fe.setAsyncValidators(He(We,le.asyncValidator)):"function"==typeof We&&fe.setAsyncValidators([We]);const Xt=()=>fe.updateValueAndValidity();Mn(le._rawValidators,Xt),Mn(le._rawAsyncValidators,Xt)}function Vi(fe,le){let J=!1;if(null!==fe){if(null!==le.validator){const Xt=Ze(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==le.validator);Dn.length!==Xt.length&&(J=!0,fe.setValidators(Dn))}}if(null!==le.asyncValidator){const Xt=Qe(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==le.asyncValidator);Dn.length!==Xt.length&&(J=!0,fe.setAsyncValidators(Dn))}}}const We=()=>{};return Mn(le._rawValidators,We),Mn(le._rawAsyncValidators,We),J}function bt(fe,le){fe._pendingDirty&&fe.markAsDirty(),fe.setValue(fe._pendingValue,{emitModelToViewChange:!1}),le.viewToModelUpdate(fe._pendingValue),fe._pendingChange=!1}function qt(fe,le){fi(fe,le)}function _i(fe,le){if(!fe.hasOwnProperty("model"))return!1;const J=fe.model;return!!J.isFirstChange()||!Object.is(le,J.currentValue)}function ti(fe,le){fe._syncPendingControls(),le.forEach(J=>{const We=J.control;"submit"===We.updateOn&&We._pendingChange&&(J.viewToModelUpdate(We._pendingValue),We._pendingChange=!1)})}function an(fe,le){if(!le)return null;let J,We,Xt;return Array.isArray(le),le.forEach(Dn=>{Dn.constructor===y?J=Dn:function $n(fe){return Object.getPrototypeOf(fe.constructor)===h}(Dn)?We=Dn:Xt=Dn}),Xt||We||J||null}const Rn={provide:Bt,useExisting:(0,n.forwardRef)(()=>mi)},Wn=(()=>Promise.resolve())();let mi=(()=>{class fe extends Bt{constructor(J,We,Xt){super(),this.callSetDisabledState=Xt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Rt({},re(J),ve(We))}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 We=this._findContainer(J.path);J.control=We.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 We=this._findContainer(J.path);We&&We.removeControl(J.name),this._directives.delete(J)})}addFormGroup(J){Wn.then(()=>{const We=this._findContainer(J.path),Xt=new Rt({});qt(Xt,J),We.registerControl(J.name,Xt),Xt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(J){Wn.then(()=>{const We=this._findContainer(J.path);We&&We.removeControl(J.name)})}getFormGroup(J){return this.form.get(J.path)}updateModel(J,We){Wn.then(()=>{this.form.get(J.path).setValue(We)})}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(At,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("submit",function(Dn){return We.onSubmit(Dn)})("reset",function(){return We.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Rn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();function Yn(fe,le){const J=fe.indexOf(le);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 dt{constructor(le=null,J,We){super(Me(J),De(We,J)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(le),this._setUpdateStrategy(J),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),V(J)&&(J.nonNullable||J.initialValueIsDefault)&&(this.defaultValue=wi(le)?le.value:le)}setValue(le,J={}){this.value=this._pendingValue=le,this._onChange.length&&!1!==J.emitModelToViewChange&&this._onChange.forEach(We=>We(this.value,!1!==J.emitViewToModelChange)),this.updateValueAndValidity(J)}patchValue(le,J={}){this.setValue(le,J)}reset(le=this.defaultValue,J={}){this._applyFormState(le),this.markAsPristine(J),this.markAsUntouched(J),this.setValue(this.value,J),this._pendingChange=!1}_updateValue(){}_anyControls(le){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(le){this._onChange.push(le)}_unregisterOnChange(le){Yn(this._onChange,le)}registerOnDisabledChange(le){this._onDisabledChange.push(le)}_unregisterOnDisabledChange(le){Yn(this._onDisabledChange,le)}_forEachChild(le){}_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(le){wi(le)?(this.value=this._pendingValue=le.value,le.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=le}},ai=ri,Ni=fe=>fe instanceof ri;let Mt=(()=>{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 le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const se={provide:Bt,useExisting:(0,n.forwardRef)(()=>Xe)};let Xe=(()=>{class fe extends Mt{constructor(J,We,Xt){super(),this.name="",this._parent=J,this._setValidators(We),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([se]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const kt={provide:Tt,useExisting:(0,n.forwardRef)(()=>un)},Wt=(()=>Promise.resolve())();let un=(()=>{class fe extends Tt{constructor(J,We,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(We),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 We=J.name.previousValue;this.formDirective.removeControl({name:We,path:this._getPath(We)})}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 We=J.isDisabled.currentValue,Xt=0!==We&&(0,n.booleanAttribute)(We);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(At,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([kt]),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 h{writeValue(J){this.setProperty("value",J??"")}registerOnChange(J){this.onChange=We=>{J(""==We?null:parseFloat(We))}}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("input",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.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,We){this._accessors.push([J,We])}remove(J){for(let We=this._accessors.length-1;We>=0;--We)if(this._accessors[We][1]===J)return void this._accessors.splice(We,1)}select(J){this._accessors.forEach(We=>{this._isSameGroup(We,J)&&We[1]!==J&&We[1].fireUncheck(J.value)})}_isSameGroup(J,We){return!!J[0].control&&J[0]._parent===We._control._parent&&J[1].name===We.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 h{constructor(J,We,Xt,Dn){super(J,We),this._registry=Xt,this._injector=Dn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(At,{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,We){1&J&&n.\u0275\u0275listener("change",function(){return We.onChange()})("blur",function(){return We.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 h{writeValue(J){this.setProperty("value",parseFloat(J))}registerOnChange(J){this.onChange=We=>{J(""==We?null:parseFloat(We))}}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.value)})("input",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.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,We,Xt,Dn,Wi){super(),this._ngModelWarningConfig=Dn,this.callSetDisabledState=Wi,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(J),this._setAsyncValidators(We),this.valueAccessor=an(0,Xt)}ngOnChanges(J){if(this._isControlChanged(J)){const We=J.form.previousValue;We&&_n(We,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(At,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,We,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(We)}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 We=this.form.get(J.path);return Sn(We,J,this.callSetDisabledState),We.updateValueAndValidity({emitEvent:!1}),this.directives.push(J),We}getControl(J){return this.form.get(J.path)}removeControl(J){_n(J.control||null,J,!1),function mn(fe,le){const J=fe.indexOf(le);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,We){this.form.get(J.path).setValue(We)}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 We=J.control,Xt=this.form.get(J.path);We!==Xt&&(_n(We||null,J),Ni(Xt)&&(Sn(Xt,J,this.callSetDisabledState),J.control=Xt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(J){const We=this.form.get(J.path);qt(We,J),We.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(J){if(this.form){const We=this.form.get(J.path);We&&function nn(fe,le){return Vi(fe,le)}(We,J)&&We.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(At,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formGroup",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("submit",function(Dn){return We.onSubmit(Dn)})("reset",function(){return We.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 Mt{constructor(J,We,Xt){super(),this.name=null,this._parent=J,this._setValidators(We),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,We,Xt){super(),this.name=null,this._parent=J,this._setValidators(We),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 Ot={provide:Tt,useExisting:(0,n.forwardRef)(()=>C)};let C=(()=>{class fe extends Tt{set isDisabled(J){}constructor(J,We,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(We),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([Ot]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})();const te={provide:u,useExisting:(0,n.forwardRef)(()=>Zt),multi:!0};function Ne(fe,le){return null==fe?`${le}`:(le&&"object"==typeof le&&(le="Object"),`${fe}: ${le}`.slice(0,50))}let Zt=(()=>{class fe extends h{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=Ne(this._getOptionId(J),J);this.setProperty("value",Xt)}registerOnChange(J){this.onChange=We=>{this.value=this._getOptionValue(We),J(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(J){for(const We of this._optionMap.keys())if(this._compareWith(this._optionMap.get(We),J))return We;return null}_getOptionValue(J){const We=function ot(fe){return fe.split(":")[0]}(J);return this._optionMap.has(We)?this._optionMap.get(We):J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([te]),n.\u0275\u0275InheritDefinitionFeature]}),fe})(),Pn=(()=>{class fe{constructor(J,We,Xt){this._element=J,this._renderer=We,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(Ne(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,le){return null==fe?`${le}`:("string"==typeof le&&(le=`'${le}'`),le&&"object"==typeof le&&(le="Object"),`${fe}: ${le}`.slice(0,50))}let Ui=(()=>{class fe extends h{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(J){this._compareWith=J}writeValue(J){let We;if(this.value=J,Array.isArray(J)){const Xt=J.map(Dn=>this._getOptionId(Dn));We=(Dn,Wi)=>{Dn._setSelected(Xt.indexOf(Wi.toString())>-1)}}else We=(Xt,Dn)=>{Xt._setSelected(!1)};this._optionMap.forEach(We)}registerOnChange(J){this.onChange=We=>{const Xt=[],Dn=We.selectedOptions;if(void 0!==Dn){const Wi=Dn;for(let dr=0;dr{class fe{constructor(J,We,Xt){this._element=J,this._renderer=We,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 gt=(()=>{class fe{constructor(){this._validator=de}ngOnChanges(J){if(this.inputName in J){const We=this.normalizeInput(J[this.inputName].currentValue);this._enabled=this.enabled(We),this._validator=this._enabled?this.createValidator(We):de,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 gt{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=J=>vt(J),this.createValidator=J=>ee(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("max",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=J=>vt(J),this.createValidator=J=>$(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("min",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>ie}enabled(J){return J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("required",We._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 le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("required",We._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 gt{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>U}enabled(J){return J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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 gt{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Ce(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("minlength",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Re(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("maxlength",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=J=>J,this.createValidator=J=>Ae(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("pattern",We._enabled?We.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 dt{constructor(le,J,We){super(Me(J),De(We,J)),this.controls=le,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(le){return this.controls[this._adjustIndex(le)]}push(le,J={}){this.controls.push(le),this._registerControl(le),this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}insert(le,J,We={}){this.controls.splice(le,0,J),this._registerControl(J),this.updateValueAndValidity({emitEvent:We.emitEvent})}removeAt(le,J={}){let We=this._adjustIndex(le);We<0&&(We=0),this.controls[We]&&this.controls[We]._registerOnCollectionChange(()=>{}),this.controls.splice(We,1),this.updateValueAndValidity({emitEvent:J.emitEvent})}setControl(le,J,We={}){let Xt=this._adjustIndex(le);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:We.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(le,J={}){be(this,0,le),le.forEach((We,Xt)=>{Q(this,!1,Xt),this.at(Xt).setValue(We,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(le,J={}){null!=le&&(le.forEach((We,Xt)=>{this.at(Xt)&&this.at(Xt).patchValue(We,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(le=[],J={}){this._forEachChild((We,Xt)=>{We.reset(le[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this.controls.map(le=>le.getRawValue())}clear(le={}){this.controls.length<1||(this._forEachChild(J=>J._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:le.emitEvent}))}_adjustIndex(le){return le<0?le+this.length:le}_syncPendingControls(){let le=this.controls.reduce((J,We)=>!!We._syncPendingControls()||J,!1);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){this.controls.forEach((J,We)=>{le(J,We)})}_updateValue(){this.value=this.controls.filter(le=>le.enabled||this.disabled).map(le=>le.value)}_anyControls(le){return this.controls.some(J=>J.enabled&&le(J))}_setUpControls(){this._forEachChild(le=>this._registerControl(le))}_allControlsDisabled(){for(const le of this.controls)if(le.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(le){le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)}_find(le){return this.at(le)??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,We=null){const Xt=this._reduceControls(J);let Dn={};return po(We)?Dn=We:null!==We&&(Dn.validators=We.validator,Dn.asyncValidators=We.asyncValidator),new Rt(Xt,Dn)}record(J,We=null){const Xt=this._reduceControls(J);return new Ve(Xt,We)}control(J,We,Xt){let Dn={};return this.useNonNullable?(po(We)?Dn=We:(Dn.validators=We,Dn.asyncValidators=Xt),new ri(J,{...Dn,nonNullable:!0})):new ri(J,We,Xt)}array(J,We,Xt){const Dn=J.map(Wi=>this._createControl(Wi));return new Hr(Dn,We,Xt)}_reduceControls(J){const We={};return Object.keys(J).forEach(Xt=>{We[Xt]=this._createControl(J[Xt])}),We}_createControl(J){return J instanceof ri||J instanceof dt?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,We=null){return super.group(J,We)}control(J,We,Xt){return super.control(J,We,Xt)}array(J,We,Xt){return super.array(J,We,Xt)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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:At,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:At,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:()=>Nt,MATERIAL_SANITY_CHECKS:()=>A,MAT_DATE_FORMATS:()=>ae,MAT_DATE_LOCALE:()=>Be,MAT_DATE_LOCALE_FACTORY:()=>G,MAT_NATIVE_DATE_FORMATS:()=>Qe,MAT_OPTGROUP:()=>Gt,MAT_OPTION_PARENT_COMPONENT:()=>Pe,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Te,MatCommonModule:()=>U,MatLine:()=>_t,MatLineModule:()=>Lt,MatNativeDateModule:()=>tt,MatOptgroup:()=>Oe,MatOption:()=>ct,MatOptionModule:()=>De,MatOptionSelectionChange:()=>he,MatPseudoCheckbox:()=>_e,MatPseudoCheckboxModule:()=>ut,MatRipple:()=>et,MatRippleModule:()=>Dt,NativeDateAdapter:()=>Ze,NativeDateModule:()=>Ge,RippleRef:()=>Le,RippleRenderer:()=>K,ShowOnDirtyErrorStateMatcher:()=>Ct,VERSION:()=>X,_MatOptgroupBase:()=>Ft,_MatOptionBase:()=>ge,_countGroupLabelsBeforeOption:()=>Me,_getOptionScrollPosition:()=>Ye,defaultRippleAnimationConfig:()=>at,mixinColor:()=>H,mixinDisableRipple:()=>W,mixinDisabled:()=>de,mixinErrorState:()=>we,mixinInitialized:()=>Ee,mixinTabIndex:()=>pe,setLines:()=>Bt});var n=a(5879),c=a(4300),d=a(9388),r=a(6814),f=a(2831),h=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 Q=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",Q.disabled)("state",Q.selected?"checked":"unchecked")}}function D(F,V){if(1&F&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&F){const Q=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",Q.disabled)}}function S(F,V){if(1&F&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&F){const Q=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",Q.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(Q,be,dt){this._sanityChecks=be,this._document=dt,this._hasDoneGlobalChecks=!1,Q._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Q){return!(0,f.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Q])}}return F.\u0275fac=function(Q){return new(Q||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 de(F){return class extends F{get disabled(){return this._disabled}set disabled(V){this._disabled=(0,h.Ig)(V)}constructor(...V){super(...V),this._disabled=!1}}}function H(F,V){return class extends F{get color(){return this._color}set color(Q){const be=Q||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}constructor(...Q){super(...Q),this.defaultColor=V,this.color=V}}}function W(F){return class extends F{get disableRipple(){return this._disableRipple}set disableRipple(V){this._disableRipple=(0,h.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(Q){this._tabIndex=null!=Q?(0,h.su)(Q):this.defaultTabIndex}constructor(...Q){super(...Q),this._tabIndex=V,this.defaultTabIndex=V}}}function we(F){return class extends F{updateErrorState(){const V=this.errorState,Rt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Rt!==V&&(this.errorState=Rt,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(Q=>{this._isInitialized?this._notifySubscriber(Q):this._pendingSubscribers.push(Q)})}_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,Q){return this.getYear(V)-this.getYear(Q)||this.getMonth(V)-this.getMonth(Q)||this.getDate(V)-this.getDate(Q)}sameDate(V,Q){if(V&&Q){let be=this.isValid(V),dt=this.isValid(Q);return be&&dt?!this.compareDate(V,Q):be==dt}return V==Q}clampDate(V,Q,be){return Q&&this.compareDate(V,Q)<0?Q:be&&this.compareDate(V,be)>0?be:V}}const ae=new n.InjectionToken("mat-date-formats"),ve=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function He(F,V){const Q=Array(F);for(let be=0;be{class F extends re{constructor(Q,be){super(),this.useUtcForDisplay=!1,super.setLocale(Q)}getYear(Q){return Q.getFullYear()}getMonth(Q){return Q.getMonth()}getDate(Q){return Q.getDate()}getDayOfWeek(Q){return Q.getDay()}getMonthNames(Q){const be=new Intl.DateTimeFormat(this.locale,{month:Q,timeZone:"utc"});return He(12,dt=>this._format(be,new Date(2017,dt,1)))}getDateNames(){const Q=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return He(31,be=>this._format(Q,new Date(2017,0,be+1)))}getDayOfWeekNames(Q){const be=new Intl.DateTimeFormat(this.locale,{weekday:Q,timeZone:"utc"});return He(7,dt=>this._format(be,new Date(2017,0,dt+1)))}getYearName(Q){const be=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(be,Q)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Q){return this.getDate(this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q)+1,0))}clone(Q){return new Date(Q.getTime())}createDate(Q,be,dt){let Rt=this._createDateWithOverflow(Q,be,dt);return Rt.getMonth(),Rt}today(){return new Date}parse(Q,be){return"number"==typeof Q?new Date(Q):Q?new Date(Date.parse(Q)):null}format(Q,be){if(!this.isValid(Q))throw Error("NativeDateAdapter: Cannot format invalid date.");const dt=new Intl.DateTimeFormat(this.locale,{...be,timeZone:"utc"});return this._format(dt,Q)}addCalendarYears(Q,be){return this.addCalendarMonths(Q,12*be)}addCalendarMonths(Q,be){let dt=this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q)+be,this.getDate(Q));return this.getMonth(dt)!=((this.getMonth(Q)+be)%12+12)%12&&(dt=this._createDateWithOverflow(this.getYear(dt),this.getMonth(dt),0)),dt}addCalendarDays(Q,be){return this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q),this.getDate(Q)+be)}toIso8601(Q){return[Q.getUTCFullYear(),this._2digit(Q.getUTCMonth()+1),this._2digit(Q.getUTCDate())].join("-")}deserialize(Q){if("string"==typeof Q){if(!Q)return null;if(ve.test(Q)){let be=new Date(Q);if(this.isValid(be))return be}}return super.deserialize(Q)}isDateInstance(Q){return Q instanceof Date}isValid(Q){return!isNaN(Q.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Q,be,dt){const Rt=new Date;return Rt.setFullYear(Q,be,dt),Rt.setHours(0,0,0,0),Rt}_2digit(Q){return("00"+Q).slice(-2)}_format(Q,be){const dt=new Date;return dt.setUTCFullYear(be.getFullYear(),be.getMonth(),be.getDate()),dt.setUTCHours(be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()),Q.format(dt)}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275inject(Be,8),n.\u0275\u0275inject(f.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 Ge=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||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(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:ae,useValue:Qe}],imports:[Ge]}),F})(),Ct=(()=>{class F{isErrorState(Q,be){return!!(Q&&Q.invalid&&(Q.dirty||be&&be.submitted))}}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),Nt=(()=>{class F{isErrorState(Q,be){return!!(Q&&Q.invalid&&(Q.touched||be&&be.submitted))}}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),_t=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),F})();function Bt(F,V,Q="mat"){F.changes.pipe((0,b.O)(F)).subscribe(({length:be})=>{Tt(V,`${Q}-2-line`,!1),Tt(V,`${Q}-3-line`,!1),Tt(V,`${Q}-multi-line`,!1),2===be||3===be?Tt(V,`${Q}-${be}-line`,!0):be>3&&Tt(V,`${Q}-multi-line`,!0)})}function Tt(F,V,Q){F.nativeElement.classList.toggle(V,Q)}let Lt=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})();class Le{constructor(V,Q,be,dt=!1){this._renderer=V,this.element=Q,this.config=be,this._animationForciblyDisabledThroughCss=dt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const lt=(0,f.i$)({passive:!0,capture:!0});class ze{constructor(){this._events=new Map,this._delegateEventHandler=V=>{const Q=(0,f.sA)(V);Q&&this._events.get(V.type)?.forEach((be,dt)=>{(dt===Q||dt.contains(Q))&&be.forEach(Rt=>Rt.handleEvent(V))})}}addHandler(V,Q,be,dt){const Rt=this._events.get(Q);if(Rt){const qe=Rt.get(be);qe?qe.add(dt):Rt.set(be,new Set([dt]))}else this._events.set(Q,new Map([[be,new Set([dt])]])),V.runOutsideAngular(()=>{document.addEventListener(Q,this._delegateEventHandler,lt)})}removeHandler(V,Q,be){const dt=this._events.get(V);if(!dt)return;const Rt=dt.get(Q);Rt&&(Rt.delete(be),0===Rt.size&&dt.delete(Q),0===dt.size&&(this._events.delete(V),document.removeEventListener(V,this._delegateEventHandler,lt)))}}const at={enterDuration:225,exitDuration:150},oe=(0,f.i$)({passive:!0,capture:!0}),Y=["mousedown","touchstart"],ne=["mouseup","mouseleave","touchend","touchcancel"];class K{constructor(V,Q,be,dt){this._target=V,this._ngZone=Q,this._platform=dt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,dt.isBrowser&&(this._containerElement=(0,h.fI)(be))}fadeInRipple(V,Q,be={}){const dt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Rt={...at,...be.animation};be.centered&&(V=dt.left+dt.width/2,Q=dt.top+dt.height/2);const qe=be.radius||function ce(F,V,Q){const be=Math.max(Math.abs(F-Q.left),Math.abs(F-Q.right)),dt=Math.max(Math.abs(V-Q.top),Math.abs(V-Q.bottom));return Math.sqrt(be*be+dt*dt)}(V,Q,dt),nt=V-dt.left,Ve=Q-dt.top,yt=Rt.enterDuration,At=document.createElement("div");At.classList.add("mat-ripple-element"),At.style.left=nt-qe+"px",At.style.top=Ve-qe+"px",At.style.height=2*qe+"px",At.style.width=2*qe+"px",null!=be.color&&(At.style.backgroundColor=be.color),At.style.transitionDuration=`${yt}ms`,this._containerElement.appendChild(At);const on=window.getComputedStyle(At),Sn=on.transitionDuration,_n="none"===on.transitionProperty||"0s"===Sn||"0s, 0s"===Sn||0===dt.width&&0===dt.height,Mn=new Le(this,At,be,_n);At.style.transform="scale3d(1, 1, 1)",Mn.state=0,be.persistent||(this._mostRecentTransientRipple=Mn);let xi=null;return!_n&&(yt||Rt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const fi=()=>this._finishRippleTransition(Mn),Vi=()=>this._destroyRipple(Mn);At.addEventListener("transitionend",fi),At.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 Q=V.element,be={...at,...V.config.animation};Q.style.transitionDuration=`${be.exitDuration}ms`,Q.style.opacity="0",V.state=2,(V._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(V)}fadeOutAll(){this._getActiveRipples().forEach(V=>V.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(V=>{V.config.persistent||V.fadeOut()})}setupTriggerEvents(V){const Q=(0,h.fI)(V);!this._platform.isBrowser||!Q||Q===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Q,Y.forEach(be=>{K._eventManager.addHandler(this._ngZone,be,Q,this)}))}handleEvent(V){"mousedown"===V.type?this._onMousedown(V):"touchstart"===V.type?this._onTouchStart(V):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ne.forEach(Q=>{this._triggerElement.addEventListener(Q,this,oe)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(V){0===V.state?this._startFadeOutTransition(V):2===V.state&&this._destroyRipple(V)}_startFadeOutTransition(V){const Q=V===this._mostRecentTransientRipple,{persistent:be}=V.config;V.state=1,!be&&(!Q||!this._isPointerDown)&&V.fadeOut()}_destroyRipple(V){const Q=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!==Q&&(V.element.removeEventListener("transitionend",Q.onTransitionEnd),V.element.removeEventListener("transitioncancel",Q.onTransitionCancel)),V.element.remove()}_onMousedown(V){const Q=(0,c.X6)(V),be=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(Q=>K._eventManager.removeHandler(Q,V,this)),this._pointerUpEventsRegistered&&ne.forEach(Q=>V.removeEventListener(Q,this,oe)))}}K._eventManager=new ze;const Te=new n.InjectionToken("mat-ripple-global-options");let et=(()=>{class F{get disabled(){return this._disabled}set disabled(Q){Q&&this.fadeOutAllNonPersistent(),this._disabled=Q,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Q){this._trigger=Q,this._setupTriggerEventsIfEnabled()}constructor(Q,be,dt,Rt,qe){this._elementRef=Q,this._animationMode=qe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Rt||{},this._rippleRenderer=new K(this,be,Q,dt)}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(Q,be=0,dt){return"number"==typeof Q?this._rippleRenderer.fadeInRipple(Q,be,{...this.rippleConfig,...dt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Q})}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(f.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(Q,be){2&Q&&n.\u0275\u0275classProp("mat-ripple-unbounded",be.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(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})(),_e=(()=>{class F{constructor(Q){this._animationMode=Q,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return F.\u0275fac=function(Q){return new(Q||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(Q,be){2&Q&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===be.state)("mat-pseudo-checkbox-checked","checked"===be.state)("mat-pseudo-checkbox-disabled",be.disabled)("mat-pseudo-checkbox-minimal","minimal"===be.appearance)("mat-pseudo-checkbox-full","full"===be.appearance)("_mat-animation-noopable","NoopAnimations"===be._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(Q,be){},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})(),ut=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U]}),F})();const Pe=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),mt=de(class{});let Pt=0,Ft=(()=>{class F extends mt{constructor(Q){super(),this._labelId="mat-optgroup-label-"+Pt++,this._inert=Q?.inertGroups??!1}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(Pe,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),F})();const Gt=new n.InjectionToken("MatOptgroup");let Oe=(()=>{class F extends Ft{}return F.\u0275fac=function(){let V;return function(be){return(V||(V=n.\u0275\u0275getInheritedFactory(F)))(be||F)}}(),F.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(Q,be){2&Q&&n.\u0275\u0275attribute("role",be._inert?null:"group")("aria-disabled",be._inert?null:be.disabled.toString())("aria-labelledby",be._inert?null:be._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:Gt,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(Q,be){1&Q&&(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&Q&&(n.\u0275\u0275classProp("mdc-list-item--disabled",be.disabled),n.\u0275\u0275property("id",be._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",be.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})(),Ke=0;class he{constructor(V,Q=!1){this.source=V,this.isUserInput=Q}}let ge=(()=>{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(Q){this._disabled=(0,h.Ig)(Q)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(Q,be,dt,Rt){this._element=Q,this._changeDetectorRef=be,this._parent=dt,this.group=Rt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ke++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new v.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Q=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Q&&this._emitSelectionChangeEvent())}deselect(Q=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Q&&this._emitSelectionChangeEvent())}focus(Q,be){const dt=this._getHostElement();"function"==typeof dt.focus&&dt.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Q){(Q.keyCode===p.K5||Q.keyCode===p.L_)&&!(0,p.Vb)(Q)&&(this._selectViaInteraction(),Q.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 Q=this.viewValue;Q!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Q)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Q=!1){this.onSelectionChange.emit(new he(this,Q))}}return F.\u0275fac=function(Q){n.\u0275\u0275invalidFactory()},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,viewQuery:function(Q,be){if(1&Q&&n.\u0275\u0275viewQuery(y,7),2&Q){let dt;n.\u0275\u0275queryRefresh(dt=n.\u0275\u0275loadQuery())&&(be._text=dt.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),F})(),ct=(()=>{class F extends ge{constructor(Q,be,dt,Rt){super(Q,be,dt,Rt)}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Pe,8),n.\u0275\u0275directiveInject(Gt,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(Q,be){1&Q&&n.\u0275\u0275listener("click",function(){return be._selectViaInteraction()})("keydown",function(Rt){return be._handleKeydown(Rt)}),2&Q&&(n.\u0275\u0275hostProperty("id",be.id),n.\u0275\u0275attribute("aria-selected",be.selected)("aria-disabled",be.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",be.selected)("mat-mdc-option-multiple",be.multiple)("mat-mdc-option-active",be.active)("mdc-list-item--disabled",be.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(Q,be){1&Q&&(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&Q&&(n.\u0275\u0275property("ngIf",be.multiple),n.\u0275\u0275advance(5),n.\u0275\u0275property("ngIf",!be.multiple&&be.selected&&!be.hideSingleSelectionIndicator),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",be.group&&be.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",be._getHostElement())("matRippleDisabled",be.disabled||be.disableRipple))},dependencies:[et,r.NgIf,_e],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 Me(F,V,Q){if(Q.length){let be=V.toArray(),dt=Q.toArray(),Rt=0;for(let qe=0;qeQ+be?Math.max(0,F-be+V):Q}let De=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[Dt,r.CommonModule,U,ut]}),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:()=>kt,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>pt,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>xt,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>bt,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Vi,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>Yi,MatCalendar:()=>mi,MatCalendarBody:()=>nt,MatCalendarCell:()=>Q,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),f=a(2831),h=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)(h.MAT_RIPPLE_GLOBAL_OPTIONS,{optional:!0}),this._platform=(0,r.inject)(f.t4),this._ngZone=(0,r.inject)(r.NgZone),this._onInteraction=C=>{if(C.target===this._document)return;const Ne=C.target.closest(`[${$}]`);Ne&&(Ne.removeAttribute($),this._appendRipple(Ne))},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 Ne=new ie(C,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);Ne.rippleConfig.centered=C.hasAttribute("mat-icon-button"),new h.RippleRenderer(Ne,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 Ne=new h.MatRipple(new r.ElementRef(te),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Ne._isInitialized=!0,Ne.trigger=C,C.append(te),Ne}}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(Ot,C,te){this._button=Ot,this._globalRippleOptions=C,this._setRippleConfig(C,te)}_setRippleConfig(Ot,C){this.rippleConfig=Ot||{},"NoopAnimations"===C&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const Ce=[{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,h.mixinColor)((0,h.mixinDisabled)((0,h.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,Ne,ot){super(C),this._platform=te,this._ngZone=Ne,this._animationMode=ot,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 Ce)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,Ne,ot){super(C,te,Ne,ot)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.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,Ne,ot){super(C,te,Ne,ot)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.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:[h.MatCommonModule,h.MatRippleModule,h.MatCommonModule]}),Je})();var Ct=a(6672),Nt=a(8645),_t=a(7394),Bt=a(3019),Tt=a(2096),Lt=a(6028),Le=a(9388),lt=a(8180),ze=a(7921),at=a(2181),N=a(2495),oe=a(6825),Y=a(6223),ne=a(1043),K=a(4516);const ce=["mat-calendar-body",""];function Te(Je,Ot){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 et(Je,Ot){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,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",8)(1,"button",9),r.\u0275\u0275listener("click",function(Ne){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._cellClicked(Zt,Ne))})("focus",function(Ne){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._emitActiveDateChange(Zt,Ne))}),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=Ot.$implicit,te=Ot.index,Ne=r.\u0275\u0275nextContext().index,ot=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("width",ot._cellWidth)("padding-top",ot._cellPadding)("padding-bottom",ot._cellPadding),r.\u0275\u0275attribute("data-mat-row",Ne)("data-mat-col",te),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-disabled",!C.enabled)("mat-calendar-body-active",ot._isActiveCell(Ne,te))("mat-calendar-body-range-start",ot._isRangeStart(C.compareValue))("mat-calendar-body-range-end",ot._isRangeEnd(C.compareValue))("mat-calendar-body-in-range",ot._isInRange(C.compareValue))("mat-calendar-body-comparison-bridge-start",ot._isComparisonBridgeStart(C.compareValue,Ne,te))("mat-calendar-body-comparison-bridge-end",ot._isComparisonBridgeEnd(C.compareValue,Ne,te))("mat-calendar-body-comparison-start",ot._isComparisonStart(C.compareValue))("mat-calendar-body-comparison-end",ot._isComparisonEnd(C.compareValue))("mat-calendar-body-in-comparison-range",ot._isInComparisonRange(C.compareValue))("mat-calendar-body-preview-start",ot._isPreviewStart(C.compareValue))("mat-calendar-body-preview-end",ot._isPreviewEnd(C.compareValue))("mat-calendar-body-in-preview",ot._isInPreview(C.compareValue)),r.\u0275\u0275property("ngClass",C.cssClasses)("tabindex",ot._isActiveCell(Ne,te)?0:-1),r.\u0275\u0275attribute("aria-label",C.ariaLabel)("aria-disabled",!C.enabled||null)("aria-pressed",ot._isSelected(C.compareValue))("aria-current",ot.todayValue===C.compareValue?"date":null)("aria-describedby",ot._getDescribedby(C.compareValue)),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-selected",ot._isSelected(C.compareValue))("mat-calendar-body-comparison-identical",ot._isComparisonIdentical(C.compareValue))("mat-calendar-body-today",ot.todayValue===C.compareValue),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",C.displayValue," ")}}function _e(Je,Ot){if(1&Je&&(r.\u0275\u0275elementStart(0,"tr",5),r.\u0275\u0275template(1,et,2,6,"td",6),r.\u0275\u0275template(2,Dt,5,48,"td",7),r.\u0275\u0275elementEnd()),2&Je){const C=Ot.$implicit,te=Ot.index,Ne=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",0===te&&Ne._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",C)}}function ut(Je,Ot){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=Ot.$implicit;r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.long),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.narrow)}}const Pe=["*"];function mt(Je,Ot){}function Pt(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-month-view",5),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("_userSelection",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dateSelected(Ne))})("dragStarted",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dragStarted(Ne))})("dragEnded",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dragEnded(Ne))}),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 Ft(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-year-view",6),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("monthSelected",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._monthSelectedInYearView(Ne))})("selectedChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._goToDateInView(Ne,"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 Gt(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-multi-year-view",7),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("yearSelected",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._yearSelectedInMultiYearView(Ne))})("selectedChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._goToDateInView(Ne,"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 Oe(Je,Ot){}const Ke=["button"];function he(Je,Ot){1&Je&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg",3),r.\u0275\u0275element(1,"path",4),r.\u0275\u0275elementEnd())}const ge=[[["","matDatepickerToggleIcon",""]]],ct=["[matDatepickerToggleIcon]"],Me=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Ye=["input[matStartDate]","input[matEndDate]"];function De(Je,Ot){1&Je&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275projection(1),r.\u0275\u0275elementEnd())}let V=(()=>{class Je{constructor(){this.changes=new Nt.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 Q{constructor(Ot,C,te,Ne,ot={},Zt=Ot,Pn){this.value=Ot,this.displayValue=C,this.ariaLabel=te,this.enabled=Ne,this.cssClasses=ot,this.compareValue=Zt,this.rawValue=Pn}}let be=1;const dt=(0,f.i$)({passive:!1,capture:!0}),Rt=(0,f.i$)({passive:!0,capture:!0}),qe=(0,f.i$)({passive:!0});let nt=(()=>{class Je{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(C,te){this._elementRef=C,this._ngZone=te,this._platform=(0,r.inject)(f.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=Ne=>{if(this._skipNextFocus&&"focus"===Ne.type)this._skipNextFocus=!1;else if(Ne.target&&this.isRange){const ot=this._getCellFromElement(Ne.target);ot&&this._ngZone.run(()=>this.previewChange.emit({value:ot.enabled?ot:null,event:Ne}))}},this._touchmoveHandler=Ne=>{if(!this.isRange)return;const ot=Sn(Ne),Zt=ot?this._getCellFromElement(ot):null;ot!==Ne.target&&(this._didDragSinceMouseDown=!0),yt(Ne.target)&&Ne.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Zt?.enabled?Zt:null,event:Ne}))},this._leaveHandler=Ne=>{null!==this.previewEnd&&this.isRange&&("blur"!==Ne.type&&(this._didDragSinceMouseDown=!0),Ne.target&&this._getCellFromElement(Ne.target)&&(!Ne.relatedTarget||!this._getCellFromElement(Ne.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Ne})))},this._mousedownHandler=Ne=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const ot=Ne.target&&this._getCellFromElement(Ne.target);!ot||!this._isInRange(ot.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:ot.rawValue,event:Ne})})},this._mouseupHandler=Ne=>{if(!this.isRange)return;const ot=yt(Ne.target);ot?ot.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Zt=this._getCellFromElement(ot);this.dragEnded.emit({value:Zt?.rawValue??null,event:Ne})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Ne})})},this._touchendHandler=Ne=>{const ot=Sn(Ne);ot&&this._mouseupHandler({target:ot})},this._id="mat-calendar-body-"+be++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,te.runOutsideAngular(()=>{const Ne=C.nativeElement;Ne.addEventListener("touchmove",this._touchmoveHandler,dt),Ne.addEventListener("mouseenter",this._enterHandler,Rt),Ne.addEventListener("focus",this._enterHandler,Rt),Ne.addEventListener("mouseleave",this._leaveHandler,Rt),Ne.addEventListener("blur",this._leaveHandler,Rt),Ne.addEventListener("mousedown",this._mousedownHandler,qe),Ne.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:Ne,numCols:ot}=this;(C.rows||te)&&(this._firstRowOffset=Ne&&Ne.length&&Ne[0].length?ot-Ne[0].length:0),(C.cellAspectRatio||te||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/ot+"%"),(te||!this._cellWidth)&&(this._cellWidth=100/ot+"%")}ngOnDestroy(){const C=this._elementRef.nativeElement;C.removeEventListener("touchmove",this._touchmoveHandler,dt),C.removeEventListener("mouseenter",this._enterHandler,Rt),C.removeEventListener("focus",this._enterHandler,Rt),C.removeEventListener("mouseleave",this._leaveHandler,Rt),C.removeEventListener("blur",this._leaveHandler,Rt),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 Ne=C*this.numCols+te;return C&&(Ne-=this._firstRowOffset),Ne==this.activeCell}_focusActiveCell(C=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,lt.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 At(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 At(C,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(C,te,Ne){if(!this._isComparisonStart(C)||this._isRangeStart(C)||!this._isInRange(C))return!1;let ot=this.rows[te][Ne-1];if(!ot){const Zt=this.rows[te-1];ot=Zt&&Zt[Zt.length-1]}return ot&&!this._isRangeEnd(ot.compareValue)}_isComparisonBridgeEnd(C,te,Ne){if(!this._isComparisonEnd(C)||this._isRangeEnd(C)||!this._isInRange(C))return!1;let ot=this.rows[te][Ne+1];if(!ot){const Zt=this.rows[te+1];ot=Zt&&Zt[0]}return ot&&!this._isRangeStart(ot.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 At(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 Ne=te.getAttribute("data-mat-row"),ot=te.getAttribute("data-mat-col");if(Ne&&ot)return this.rows[parseInt(Ne)][parseInt(ot)]}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:ce,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,_e,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=Ot&&Je===C}function xn(Je,Ot,C,te){return te&&null!==Ot&&null!==C&&Ot!==C&&Je>=Ot&&Je<=C}function Sn(Je){const Ot=Je.changedTouches[0];return document.elementFromPoint(Ot.clientX,Ot.clientY)}class _n{constructor(Ot,C){this.start=Ot,this.end=C}}let Mn=(()=>{class Je{constructor(C,te){this.selection=C,this._adapter=te,this._selectionChanged=new Nt.x,this.selectionChanged=this._selectionChanged,this.selection=C}updateSelection(C,te){const Ne=this.selection;this.selection=C,this._selectionChanged.next({selection:C,source:te,oldValue:Ne})}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(h.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:Ne}=this.selection;null==te?te=C:null==Ne?Ne=C:(te=C,Ne=null),super.updateSelection(new _n(te,Ne),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(h.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();function Vi(Je,Ot){return Je||new xi(Ot)}const Yi={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],h.DateAdapter],useFactory:Vi};function xt(Je,Ot){return Je||new fi(Ot)}const bt={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],h.DateAdapter],useFactory:xt},pt=new r.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let qt=(()=>{class Je{constructor(C){this._dateAdapter=C}selectionFinished(C,te){let{start:Ne,end:ot}=te;return null==Ne?Ne=C:null==ot&&C&&this._dateAdapter.compareDate(C,Ne)>=0?ot=C:(Ne=C,ot=null),new _n(Ne,ot)}createPreview(C,te){let Ne=null,ot=null;return te.start&&!te.end&&C&&(Ne=te.start,ot=C),new _n(Ne,ot)}createDrag(C,te,Ne){let ot=te.start,Zt=te.end;if(!ot||!Zt)return null;const Pn=this._dateAdapter,ji=0!==Pn.compareDate(ot,Zt),Pi=Pn.getYear(Ne)-Pn.getYear(C),Li=Pn.getMonth(Ne)-Pn.getMonth(C),Qi=Pn.getDate(Ne)-Pn.getDate(C);return ji&&Pn.sameDate(C,te.start)?(ot=Ne,Pn.compareDate(Ne,Zt)>0&&(Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi))):ji&&Pn.sameDate(C,te.end)?(Zt=Ne,Pn.compareDate(Ne,ot)<0&&(ot=Pn.addCalendarYears(ot,Pi),ot=Pn.addCalendarMonths(ot,Li),ot=Pn.addCalendarDays(ot,Qi))):(ot=Pn.addCalendarYears(ot,Pi),ot=Pn.addCalendarMonths(ot,Li),ot=Pn.addCalendarDays(ot,Qi),Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi)),new _n(ot,Zt)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275inject(h.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();const cn={provide:pt,deps:[[new r.Optional,new r.SkipSelf,pt],h.DateAdapter],useFactory:function nn(Je,Ot){return Je||new qt(Ot)}};let Nn=(()=>{class Je{get activeDate(){return this._activeDate}set activeDate(C){const te=this._activeDate,Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne,ot,Zt){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Ne,this._dir=ot,this._rangeStrategy=Zt,this._rerenderSubscription=_t.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,Ne=this._getDateFromDayOfMonth(te);let ot,Zt;this._selected instanceof _n?(ot=this._getDateInCurrentMonth(this._selected.start),Zt=this._getDateInCurrentMonth(this._selected.end)):ot=Zt=this._getDateInCurrentMonth(this._selected),(ot!==te||Zt!==te)&&this.selectedChange.emit(Ne),this._userSelection.emit({value:Ne,event:C.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case Lt.Ku:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case Lt.VM:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case Lt.K5:case Lt.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&C.preventDefault());case Lt.hY:return void(null!=this._previewEnd&&!(0,Lt.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===Lt.L_||C.keyCode===Lt.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 Ne=te?te.rawValue:null,ot=this._rangeStrategy.createPreview(Ne,this.selected,C);if(this._previewStart=this._getCellCompareValue(ot.start),this._previewEnd=this._getCellCompareValue(ot.end),this.activeDrag&&Ne){const Zt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Ne,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 ot=this._dateAdapter.getDayOfWeekNames("long").map((Zt,Pn)=>({long:Zt,narrow:te[Pn]}));this._weekdays=ot.slice(C).concat(ot.slice(0,C))}_createWeekCells(){const C=this._dateAdapter.getNumDaysInMonth(this.activeDate),te=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Ne=0,ot=this._firstWeekOffset;Ne=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),Ne=this._dateAdapter.getMonth(C),ot=this._dateAdapter.getDate(C);return new Date(te,Ne,ot).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(h.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(Le.Is,8),r.\u0275\u0275directiveInject(pt,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-month-view"]],viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(nt,5),2&C){let Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._matCalendarBody=Ne.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,ut,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(ot){return te._dateSelected(ot)})("activeDateChange",function(ot){return te._updateActiveDate(ot)})("previewChange",function(ot){return te._previewChanged(ot)})("dragStarted",function(ot){return te.dragStarted.emit(ot)})("dragEnded",function(ot){return te._dragEnded(ot)})("keyup",function(ot){return te._handleCalendarBodyKeyup(ot)})("keydown",function(ot){return te._handleCalendarBodyKeydown(ot)}),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,nt],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 Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne){this._changeDetectorRef=C,this._dateAdapter=te,this._dir=Ne,this._rerenderSubscription=_t.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 Ne=0,ot=[];Nethis._createCellForYear(Zt))),ot=[]);this._changeDetectorRef.markForCheck()}_yearSelected(C){const te=C.value,Ne=this._dateAdapter.createDate(te,0,1),ot=this._getDateFromYear(te);this.yearSelected.emit(Ne),this.selectedChange.emit(ot)}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromYear(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Xn);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xn);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,wn-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case Lt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*-wn:-wn);break;case Lt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*wn:wn);break;case Lt.K5:case Lt.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===Lt.L_||C.keyCode===Lt.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),Ne=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(C,te,1));return this._dateAdapter.createDate(C,te,Math.min(this._dateAdapter.getDate(this.activeDate),Ne))}_createCellForYear(C){const te=this._dateAdapter.createDate(C,0,1),Ne=this._dateAdapter.getYearName(te),ot=this.dateClass?this.dateClass(te,"multi-year"):void 0;return new Q(C,Ne,Ne,this._shouldEnableYear(C),ot)}_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 Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne,ot){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Ne,this._dir=ot,this._rerenderSubscription=_t.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,Ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,1);this.monthSelected.emit(Ne);const ot=this._getDateFromMonth(te);this.selectedChange.emit(ot)}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromMonth(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case Lt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?-10:-1);break;case Lt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10:1);break;case Lt.K5:case Lt.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===Lt.L_||C.keyCode===Lt.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(Ne=>this._createCellForMonth(Ne,C[Ne]))),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),Ne=this._dateAdapter.getNumDaysInMonth(te);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,Math.min(this._dateAdapter.getDate(this.activeDate),Ne))}_createCellForMonth(C,te){const Ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,1),ot=this._dateAdapter.format(Ne,this._dateFormats.display.monthYearA11yLabel),Zt=this.dateClass?this.dateClass(Ne,"year"):void 0;return new Q(C,te.toLocaleUpperCase(),ot,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 ot=this._dateAdapter.createDate(te,C,1);this._dateAdapter.getMonth(ot)==C;ot=this._dateAdapter.addCalendarDays(ot,1))if(this.dateFilter(ot))return!0;return!1}_isYearAndMonthAfterMaxDate(C,te){if(this.maxDate){const Ne=this._dateAdapter.getYear(this.maxDate),ot=this._dateAdapter.getMonth(this.maxDate);return C>Ne||C===Ne&&te>ot}return!1}_isYearAndMonthBeforeMinDate(C,te){if(this.minDate){const Ne=this._dateAdapter.getYear(this.minDate),ot=this._dateAdapter.getMonth(this.minDate);return C{class Je{constructor(C,te,Ne,ot,Zt){this._intl=C,this.calendar=te,this._dateAdapter=Ne,this._dateFormats=ot,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),Ne=te+wn-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(te,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Ne,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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Pe,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,Ne,ot){this._dateAdapter=te,this._dateFormats=Ne,this._changeDetectorRef=ot,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 Nt.x,this._intlChanges=C.changes.subscribe(()=>{ot.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,Ne=C.maxDate&&!this._dateAdapter.sameDate(C.maxDate.previousValue,C.maxDate.currentValue)?C.maxDate:void 0,ot=te||Ne||C.dateFilter;if(ot&&!ot.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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.monthView=Ne.first),r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.yearView=Ne.first),r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.multiYearView=Ne.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,mt,0,0,"ng-template",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275template(2,Pt,1,11,"mat-month-view",2),r.\u0275\u0275template(3,Ft,1,6,"mat-year-view",3),r.\u0275\u0275template(4,Gt,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},Mt=(0,h.mixinColor)(class{constructor(Je){this._elementRef=Je}});let jt=(()=>{class Je extends Mt{constructor(C,te,Ne,ot,Zt,Pn){super(C),this._changeDetectorRef=te,this._globalModel=Ne,this._dateAdapter=ot,this._rangeSelectionStrategy=Zt,this._subscriptions=new _t.w0,this._animationDone=new Nt.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,Ne=C.value,ot=te instanceof _n;if(ot&&this._rangeSelectionStrategy){const Zt=this._rangeSelectionStrategy.selectionFinished(Ne,te,C.event);this._model.updateSelection(Zt,this)}else Ne&&(ot||!this._dateAdapter.sameDate(Ne,te))&&this._model.add(Ne);(!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(h.DateAdapter),r.\u0275\u0275directiveInject(pt,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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._calendar=Ne.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(C,te){1&C&&r.\u0275\u0275syntheticHostListener("@transformPanel.start",function(ot){return te._handleAnimationEvent(ot)})("@transformPanel.done",function(ot){return te._handleAnimationEvent(ot)}),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(ot){return te.datepicker._selectYear(ot)})("monthSelected",function(ot){return te.datepicker._selectMonth(ot)})("viewChanged",function(ot){return te.datepicker._viewChanged(ot)})("_userSelection",function(ot){return te._handleUserSelection(ot)})("_userDragDrop",function(ot){return te._handleUserDragDrop(ot)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(2,Oe,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 Ne;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!==(Ne=te._dialogLabelId)&&void 0!==Ne?Ne: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,Ne,ot,Zt,Pn,ji){this._overlay=C,this._ngZone=te,this._viewContainerRef=Ne,this._dateAdapter=Zt,this._dir=Pn,this._model=ji,this._inputStateChanges=_t.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 Nt.x,this._scrollStrategy=ot}ngOnChanges(C){const te=C.xPosition||C.yPosition;if(te&&!te.firstChange&&this._overlayRef){const Ne=this._overlayRef.getConfig().positionStrategy;Ne instanceof c._G&&(this._setConnectedPositions(Ne),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,f.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:Ne,location:ot}=this._componentRef;Ne._startExitAnimation(),Ne._animationDone.pipe((0,lt.q)(1)).subscribe(()=>{const Zt=this._document.activeElement;C&&(!Zt||Zt===this._document.activeElement||ot.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),Ne=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(Ne).subscribe(ot=>{ot&&ot.preventDefault(),this.close()}),Ne.keydownEvents().subscribe(ot=>{const Zt=ot.keyCode;(Zt===Lt.LH||Zt===Lt.JH||Zt===Lt.oh||Zt===Lt.SV||Zt===Lt.Ku||Zt===Lt.VM)&&ot.preventDefault()}),this._componentRef=Ne.attach(te),this._forwardContentValues(this._componentRef.instance),C||this._ngZone.onStable.pipe((0,lt.q)(1)).subscribe(()=>Ne.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",Ne="start"===te?"end":"start",ot="above"===this.yPosition?"bottom":"top",Zt="top"===ot?"bottom":"top";return C.withPositions([{originX:te,originY:Zt,overlayX:te,overlayY:ot},{originX:te,originY:ot,overlayX:te,overlayY:Zt},{originX:Ne,originY:Zt,overlayX:Ne,overlayY:ot},{originX:Ne,originY:ot,overlayX:Ne,overlayY:Zt}])}_getCloseStream(C){const te=["ctrlKey","shiftKey","metaKey"];return(0,Bt.T)(C.backdropClick(),C.detachments(),C.keydownEvents().pipe((0,at.h)(Ne=>Ne.keyCode===Lt.hY&&!(0,Lt.Vb)(Ne)||this.datepickerInput&&(0,Lt.Vb)(Ne,"altKey")&&Ne.keyCode===Lt.LH&&te.every(ot=>!(0,Lt.Vb)(Ne,ot)))))}}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(h.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 Ot;return function(te){return(Ot||(Ot=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(Ot,C){this.target=Ot,this.targetElement=C,this.value=this.target.value}}let se=(()=>{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),Ne=this._elementRef.nativeElement;this._disabled!==te&&(this._disabled=te,this.stateChanges.next(void 0)),te&&this._isInitialized&&Ne.blur&&Ne.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 Ne=this._getValueFromModel(te.selection);this._lastValueValid=this._isValidValue(Ne),this._cvaOnChange(Ne),this._onTouched(),this._formatValue(Ne),this.dateInput.emit(new me(this,this._elementRef.nativeElement)),this.dateChange.emit(new me(this,this._elementRef.nativeElement))}})}constructor(C,te,Ne){this._elementRef=C,this._dateAdapter=te,this._dateFormats=Ne,this.dateChange=new r.EventEmitter,this.dateInput=new r.EventEmitter,this.stateChanges=new Nt.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=_t.w0.EMPTY,this._localeSubscription=_t.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value));return!Zt||this._matchesFilter(Zt)?null:{matDatepickerFilter:!0}},this._minValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value)),Pn=this._getMinDate();return!Pn||!Zt||this._dateAdapter.compareDate(Pn,Zt)<=0?null:{matDatepickerMin:{min:Pn,actual:Zt}}},this._maxValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.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,Lt.Vb)(C,"altKey")&&C.keyCode===Lt.JH&&["ctrlKey","shiftKey","metaKey"].every(ot=>!(0,Lt.Vb)(C,ot))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),C.preventDefault())}_onInput(C){const te=this._lastValueValid;let Ne=this._dateAdapter.parse(C,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Ne),Ne=this._dateAdapter.getValidDateOrNull(Ne);const ot=!this._dateAdapter.sameDate(Ne,this.value);!Ne||ot?this._cvaOnChange(Ne):(C&&!this.value&&this._cvaOnChange(Ne),te!==this._lastValueValid&&this._validatorOnChange()),ot&&(this._assignValue(Ne),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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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,Ot){const C=Object.keys(Je);for(let te of C){const{previousValue:Ne,currentValue:ot}=Je[te];if(!Ot.isDateInstance(Ne)||!Ot.isDateInstance(ot))return!0;if(!Ot.sameDate(Ne,ot))return!0}return!1}const kt={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 se{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,Ne,ot){super(C,te,Ne),this._formField=ot,this._closedSubscription=_t.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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("blur",function(){return te._onBlur()})("keydown",function(ot){return te._onKeydown(ot)}),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([kt,Wt,{provide:K.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,Ne){this._intl=C,this._changeDetectorRef=te,this._stateChanges=_t.w0.EMPTY;const ot=Number(Ne);this.tabIndex=ot||0===ot?ot: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)(),Ne=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,Ne).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,Ne){if(1&C&&r.\u0275\u0275contentQuery(Ne,gn,5),2&C){let ot;r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._customIcon=ot.first)}},viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(Ke,5),2&C){let Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._button=Ne.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("click",function(ot){return te._open(ot)}),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:ct,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(ge),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275template(2,he,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,Ot){if(jn(Je)&&Ot){const te=(Je.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((Ne,ot)=>{const Zt=document.getElementById(ot);return Zt&&Ne.push(Zt),Ne},[]);if(te.length)return te.map(Ne=>Ti(Ne,!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(Ne=>Ti(Ne,!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,h.mixinErrorState)((()=>{class Je extends se{constructor(C,te,Ne,ot,Zt,Pn,ji,Pi){super(te,ji,Pi),this._rangeInput=C,this._elementRef=te,this._defaultErrorStateMatcher=Ne,this._injector=ot,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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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,Ne,ot,Zt,Pn,ji,Pi){super(C,te,Ne,ot,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,Ne=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;(C.keyCode===Lt.SV&&ot||C.keyCode===Lt.oh&&!ot)&&Ne.selectionStart===Ne.value.length&&Ne.selectionEnd===Ne.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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("keydown",function(ot){return te._onKeydown(ot)})("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,Ne,ot,Zt,Pn,ji,Pi){super(C,te,Ne,ot,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,Ne=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;if(C.keyCode!==Lt.ZH||Ne.value)if((C.keyCode===Lt.oh&&ot||C.keyCode===Lt.SV&&!ot)&&0===Ne.selectionStart&&0===Ne.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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("keydown",function(ot){return te._onKeydown(ot)})("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,Ne=this._endInput,ot=te&&te._matchesFilter(te.value),Zt=Ne&&Ne._matchesFilter(te.value);this._dateFilter=C,te&&te._matchesFilter(te.value)!==ot&&te._validatorOnChange(),Ne&&Ne._matchesFilter(Ne.value)!==Zt&&Ne._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,Ne,ot,Zt){this._changeDetectorRef=C,this._elementRef=te,this._dateAdapter=ot,this._formField=Zt,this._closedSubscription=_t.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 Nt.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=Ne}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(h.DateAdapter,8),r.\u0275\u0275directiveInject(ne.G_,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-input"]],contentQueries:function(C,te,Ne){if(1&C&&(r.\u0275\u0275contentQuery(Ne,Cn,5),r.\u0275\u0275contentQuery(Ne,tn,5)),2&C){let ot;r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._startInput=ot.first),r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._endInput=ot.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(Me),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275listener("cdkFocusChange",function(ot){return te._updateFocus(ot)}),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 Ot;return function(te){return(Ot||(Ot=r.\u0275\u0275getInheritedFactory(Je)))(te||Je)}}(),Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[r.\u0275\u0275ProvidersFeature([bt,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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._template=Ne.first)}},ngContentSelectors:Pe,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,h.MatCommonModule,Ct.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 f{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 f.\u0275fac=function(u){return new(u||f)},f.\u0275cmp=n.\u0275\u0275defineComponent({type:f,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}),f})(),r=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=n.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=n.\u0275\u0275defineInjector({imports:[d.MatCommonModule,d.MatCommonModule]}),f})()},1043:(Ie,B,a)=>{"use strict";a.d(B,{Bi:()=>Bt,Eo:()=>Nt,G_:()=>Lt,Lv:()=>Tt,Px:()=>Ee,TN:()=>Ct,UO:()=>_t,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"),Ct={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 Nt=(()=>{class K{}return K.\u0275fac=function(Te){return new(Te||K)},K.\u0275dir=n.\u0275\u0275defineDirective({type:K}),K})();function _t(){return Error("Placeholder attribute and child element were both specified.")}function Bt(K){return Error(`A hint was already declared for 'align="${K}"'.`)}function Tt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const Lt=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:()=>ve,MatIconModule:()=>He,MatIconRegistry:()=>Ce,getMatIconFailedToSanitizeLiteralError:()=>A,getMatIconFailedToSanitizeUrlError:()=>ie,getMatIconNameNotFoundError:()=>$,getMatIconNoHttpProviderError:()=>ee});var n=a(5879),c=a(3680),d=a(2495),g=a(6814),r=a(2096),f=a(8504),h=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,Ge,tt){this.url=Qe,this.svgText=Ge,this.options=tt}}let Ce=(()=>{class Ze{constructor(Ge,tt,Ct,Nt){this._httpClient=Ge,this._sanitizer=tt,this._errorHandler=Nt,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=Ct}addSvgIcon(Ge,tt,Ct){return this.addSvgIconInNamespace("",Ge,tt,Ct)}addSvgIconLiteral(Ge,tt,Ct){return this.addSvgIconLiteralInNamespace("",Ge,tt,Ct)}addSvgIconInNamespace(Ge,tt,Ct,Nt){return this._addSvgIconConfig(Ge,tt,new U(Ct,null,Nt))}addSvgIconResolver(Ge){return this._resolvers.push(Ge),this}addSvgIconLiteralInNamespace(Ge,tt,Ct,Nt){const _t=this._sanitizer.sanitize(n.SecurityContext.HTML,Ct);if(!_t)throw A(Ct);const Bt=X(_t);return this._addSvgIconConfig(Ge,tt,new U("",Bt,Nt))}addSvgIconSet(Ge,tt){return this.addSvgIconSetInNamespace("",Ge,tt)}addSvgIconSetLiteral(Ge,tt){return this.addSvgIconSetLiteralInNamespace("",Ge,tt)}addSvgIconSetInNamespace(Ge,tt,Ct){return this._addSvgIconSetConfig(Ge,new U(tt,null,Ct))}addSvgIconSetLiteralInNamespace(Ge,tt,Ct){const Nt=this._sanitizer.sanitize(n.SecurityContext.HTML,tt);if(!Nt)throw A(tt);const _t=X(Nt);return this._addSvgIconSetConfig(Ge,new U("",_t,Ct))}registerFontClassAlias(Ge,tt=Ge){return this._fontCssClassesByAlias.set(Ge,tt),this}classNameForFontAlias(Ge){return this._fontCssClassesByAlias.get(Ge)||Ge}setDefaultFontSetClass(...Ge){return this._defaultFontSetClass=Ge,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ge){const tt=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Ge);if(!tt)throw ie(Ge);const Ct=this._cachedIconsByUrl.get(tt);return Ct?(0,r.of)(de(Ct)):this._loadSvgIconFromConfig(new U(Ge,null)).pipe((0,v.b)(Nt=>this._cachedIconsByUrl.set(tt,Nt)),(0,b.U)(Nt=>de(Nt)))}getNamedSvgIcon(Ge,tt=""){const Ct=H(tt,Ge);let Nt=this._svgIconConfigs.get(Ct);if(Nt)return this._getSvgFromConfig(Nt);if(Nt=this._getIconConfigFromResolvers(tt,Ge),Nt)return this._svgIconConfigs.set(Ct,Nt),this._getSvgFromConfig(Nt);const _t=this._iconSetConfigs.get(tt);return _t?this._getSvgFromIconSetConfigs(Ge,_t):(0,f._)($(Ct))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ge){return Ge.svgText?(0,r.of)(de(this._svgElementFromConfig(Ge))):this._loadSvgIconFromConfig(Ge).pipe((0,b.U)(tt=>de(tt)))}_getSvgFromIconSetConfigs(Ge,tt){const Ct=this._extractIconWithNameFromAnySet(Ge,tt);if(Ct)return(0,r.of)(Ct);const Nt=tt.filter(_t=>!_t.svgText).map(_t=>this._loadSvgIconSetFromConfig(_t).pipe((0,p.K)(Bt=>{const Lt=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,_t.url)} failed: ${Bt.message}`;return this._errorHandler.handleError(new Error(Lt)),(0,r.of)(null)})));return(0,h.D)(Nt).pipe((0,b.U)(()=>{const _t=this._extractIconWithNameFromAnySet(Ge,tt);if(!_t)throw $(Ge);return _t}))}_extractIconWithNameFromAnySet(Ge,tt){for(let Ct=tt.length-1;Ct>=0;Ct--){const Nt=tt[Ct];if(Nt.svgText&&Nt.svgText.toString().indexOf(Ge)>-1){const _t=this._svgElementFromConfig(Nt),Bt=this._extractSvgIconFromSet(_t,Ge,Nt.options);if(Bt)return Bt}}return null}_loadSvgIconFromConfig(Ge){return this._fetchIcon(Ge).pipe((0,v.b)(tt=>Ge.svgText=tt),(0,b.U)(()=>this._svgElementFromConfig(Ge)))}_loadSvgIconSetFromConfig(Ge){return Ge.svgText?(0,r.of)(null):this._fetchIcon(Ge).pipe((0,v.b)(tt=>Ge.svgText=tt))}_extractSvgIconFromSet(Ge,tt,Ct){const Nt=Ge.querySelector(`[id="${tt}"]`);if(!Nt)return null;const _t=Nt.cloneNode(!0);if(_t.removeAttribute("id"),"svg"===_t.nodeName.toLowerCase())return this._setSvgAttributes(_t,Ct);if("symbol"===_t.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(_t),Ct);const Bt=this._svgElementFromString(X(""));return Bt.appendChild(_t),this._setSvgAttributes(Bt,Ct)}_svgElementFromString(Ge){const tt=this._document.createElement("DIV");tt.innerHTML=Ge;const Ct=tt.querySelector("svg");if(!Ct)throw Error(" tag not found");return Ct}_toSvgElement(Ge){const tt=this._svgElementFromString(X("")),Ct=Ge.attributes;for(let Nt=0;NtX(Lt)),(0,_.x)(()=>this._inProgressUrlFetches.delete(_t)),(0,l.B)());return this._inProgressUrlFetches.set(_t,Tt),Tt}_addSvgIconConfig(Ge,tt,Ct){return this._svgIconConfigs.set(H(Ge,tt),Ct),this}_addSvgIconSetConfig(Ge,tt){const Ct=this._iconSetConfigs.get(Ge);return Ct?Ct.push(tt):this._iconSetConfigs.set(Ge,[tt]),this}_svgElementFromConfig(Ge){if(!Ge.svgElement){const tt=this._svgElementFromString(Ge.svgText);this._setSvgAttributes(tt,Ge.options),Ge.svgElement=tt}return Ge.svgElement}_getIconConfigFromResolvers(Ge,tt){for(let Ct=0;CtQe?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(", "),ae=/^url\(['"]?#(.*?)['"]?\)$/;let ve=(()=>{class Ze extends pe{get inline(){return this._inline}set inline(Ge){this._inline=(0,d.Ig)(Ge)}get svgIcon(){return this._svgIcon}set svgIcon(Ge){Ge!==this._svgIcon&&(Ge?this._updateSvgIcon(Ge):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ge)}get fontSet(){return this._fontSet}set fontSet(Ge){const tt=this._cleanupFontValue(Ge);tt!==this._fontSet&&(this._fontSet=tt,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ge){const tt=this._cleanupFontValue(Ge);tt!==this._fontIcon&&(this._fontIcon=tt,this._updateFontIconClasses())}constructor(Ge,tt,Ct,Nt,_t,Bt){super(Ge),this._iconRegistry=tt,this._location=Nt,this._errorHandler=_t,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)),Ct||Ge.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Ge){if(!Ge)return["",""];const tt=Ge.split(":");switch(tt.length){case 1:return["",tt[0]];case 2:return tt;default:throw Error(`Invalid icon name: "${Ge}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ge=this._elementsWithExternalReferences;if(Ge&&Ge.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(Ge){this._clearSvgElement();const tt=this._location.getPathname();this._previousPath=tt,this._cacheChildrenWithExternalReferences(Ge),this._prependPathToReferences(tt),this._elementRef.nativeElement.appendChild(Ge)}_clearSvgElement(){const Ge=this._elementRef.nativeElement;let tt=Ge.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();tt--;){const Ct=Ge.childNodes[tt];(1!==Ct.nodeType||"svg"===Ct.nodeName.toLowerCase())&&Ct.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ge=this._elementRef.nativeElement,tt=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ct=>Ct.length>0);this._previousFontSetClass.forEach(Ct=>Ge.classList.remove(Ct)),tt.forEach(Ct=>Ge.classList.add(Ct)),this._previousFontSetClass=tt,this.fontIcon!==this._previousFontIconClass&&!tt.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ge.classList.remove(this._previousFontIconClass),this.fontIcon&&Ge.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ge){return"string"==typeof Ge?Ge.trim().split(" ")[0]:Ge}_prependPathToReferences(Ge){const tt=this._elementsWithExternalReferences;tt&&tt.forEach((Ct,Nt)=>{Ct.forEach(_t=>{Nt.setAttribute(_t.name,`url('${Ge}#${_t.value}')`)})})}_cacheChildrenWithExternalReferences(Ge){const tt=Ge.querySelectorAll(re),Ct=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Nt=0;Nt{const Bt=tt[Nt],Tt=Bt.getAttribute(_t),Lt=Tt?Tt.match(ae):null;if(Lt){let Le=Ct.get(Bt);Le||(Le=[],Ct.set(Bt,Le)),Le.push({name:_t,value:Lt[1]})}})}_updateSvgIcon(Ge){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ge){const[tt,Ct]=this._splitIconName(Ge);tt&&(this._svgNamespace=tt),Ct&&(this._svgName=Ct),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ct,tt).pipe((0,y.q)(1)).subscribe(Nt=>this._setSvgElement(Nt),Nt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${tt}:${Ct}! ${Nt.message}`))})}}}return Ze.\u0275fac=function(Ge){return new(Ge||Ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Ce),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(Ge,tt){2&Ge&&(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(Ge,tt){1&Ge&&(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(Ge){return new(Ge||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),f=a(3680),h=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,f.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,Ce,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,de=Ae.nodeName.toLowerCase();this._inputValueAccessor=A||Ae,this._previousNativeValue=this.value,this.id=this.id,I.IOS&&Ce.runOutsideAngular(()=>{E.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===de,this._isTextarea="textarea"===de,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(f.ErrorStateMatcher),g.\u0275\u0275directiveInject(b,10),g.\u0275\u0275directiveInject(d.Lq),g.\u0275\u0275directiveInject(g.NgZone),g.\u0275\u0275directiveInject(h.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:h.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:()=>Ct,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Nt,MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR:()=>ze,MatLegacyAutocomplete:()=>lt,MatLegacyAutocompleteModule:()=>oe,MatLegacyAutocompleteOrigin:()=>N,MatLegacyAutocompleteSelectedEvent:()=>Ee,MatLegacyAutocompleteTrigger:()=>at,getMatLegacyAutocompleteMissingPanelError:()=>Ge});var n=a(5879),c=a(3680),d=a(4678),g=a(6814),r=a(6672),f=a(9594),h=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),Ce=a(9397),Re=a(7547),Ae=a(9388);const de=["panel"];let we=0;class Ee{constructor(ne,K){this.source=ne,this.option=K}}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 ae=(()=>{class Y extends Be{get isOpen(){return this._isOpen&&this.showPanel}_setColor(K){this._color=K,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(K){this._autoActiveFirstOption=(0,u.Ig)(K)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(K){this._autoSelectActiveOption=(0,u.Ig)(K)}set classList(K){this._classList=K&&K.length?(0,u.du)(K).reduce((ce,Te)=>(ce[Te]=!0,ce),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(K,ce,Te,et){super(),this._changeDetectorRef=K,this._elementRef=ce,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=et?.SAFARI||!1,this._autoActiveFirstOption=!!Te.autoActiveFirstOption,this._autoSelectActiveOption=!!Te.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new h.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(K=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[K]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(K){this.panel&&(this.panel.nativeElement.scrollTop=K)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(K){const ce=new Ee(this,K);this.optionSelected.emit(ce)}_getPanelAriaLabelledby(K){return this.ariaLabel?null:this.ariaLabelledby?(K?K+" ":"")+this.ariaLabelledby:K}_setVisibilityClasses(K){K[this._visibleClass]=this.showPanel,K[this._hiddenClass]=!this.showPanel}_setThemeClasses(K){K["mat-primary"]="primary"===this._color,K["mat-warn"]="warn"===this._color,K["mat-accent"]="accent"===this._color}_skipPredicate(K){return K.disabled}}return Y.\u0275fac=function(K){return new(K||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(K,ce){if(1&K&&(n.\u0275\u0275viewQuery(n.TemplateRef,7),n.\u0275\u0275viewQuery(de,5)),2&K){let Te;n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ce.template=Te.first),n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ce.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(K){this.elementRef=K}}return Y.\u0275fac=function(K){return new(K||Y)(n.\u0275\u0275directiveInject(n.ElementRef))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y}),Y})();function Ge(){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 Ct(Y){return()=>Y.scrollStrategies.reposition()}const Nt={provide:tt,deps:[f.aV],useFactory:Ct};let _t=(()=>{class Y{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(K){this._autocompleteDisabled=(0,u.Ig)(K)}constructor(K,ce,Te,et,Dt,_e,ut,Pe,mt,Pt,Ft){this._element=K,this._overlay=ce,this._viewContainerRef=Te,this._zone=et,this._changeDetectorRef=Dt,this._dir=ut,this._formField=Pe,this._document=mt,this._viewportRuler=Pt,this._defaults=Ft,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 Gt=this.autocomplete?this.autocomplete.options:null;return Gt?Gt.changes.pipe((0,$.O)(Gt),(0,ee.w)(()=>(0,y.T)(...Gt.map(Oe=>Oe.onSelectionChange)))):this._zone.onStable.pipe((0,ie.q)(1),(0,ee.w)(()=>this.optionSelections))}),this._handlePanelKeydown=Gt=>{(Gt.keyCode===S.hY&&!(0,S.Vb)(Gt)||Gt.keyCode===S.LH&&(0,S.Vb)(Gt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Gt.stopPropagation(),Gt.preventDefault())},this._trackedModal=null,this._scrollStrategy=_e}ngAfterViewInit(){const K=this._getWindow();typeof K<"u"&&this._zone.runOutsideAngular(()=>K.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(K){K.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const K=this._getWindow();typeof K<"u"&&K.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)(K=>K instanceof c.MatOptionSelectionChange?K: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)(K=>{const ce=(0,v.sA)(K),Te=this._formField?this._formField._elementRef.nativeElement:null,et=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&ce!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Te||!Te.contains(ce))&&(!et||!et.contains(ce))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(ce)}))}writeValue(K){Promise.resolve(null).then(()=>this._assignOptionValue(K))}registerOnChange(K){this._onChange=K}registerOnTouched(K){this._onTouched=K}setDisabledState(K){this._element.nativeElement.disabled=K}_handleKeydown(K){const ce=K.keyCode,Te=(0,S.Vb)(K);if(ce===S.hY&&!Te&&K.preventDefault(),this.activeOption&&ce===S.K5&&this.panelOpen&&!Te)this.activeOption._selectViaInteraction(),this._resetActiveItem(),K.preventDefault();else if(this.autocomplete){const et=this.autocomplete._keyManager.activeItem,Dt=ce===S.LH||ce===S.JH;ce===S.Mf||Dt&&!Te&&this.panelOpen?this.autocomplete._keyManager.onKeydown(K):Dt&&this._canOpen()&&this.openPanel(),(Dt||this.autocomplete._keyManager.activeItem!==et)&&(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(K){let ce=K.target,Te=ce.value;"number"===ce.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===K.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(K=!1){this._formField&&"auto"===this._formField.floatLabel&&(K?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const K=this._zone.onStable.pipe((0,ie.q)(1)),ce=this.autocomplete.options.changes.pipe((0,Ce.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Re.g)(0));return(0,y.T)(K,ce).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(K){const ce=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(K):K;this._updateNativeInputValue(ce??"")}_updateNativeInputValue(K){this._formField?this._formField._control.value=K:this._element.nativeElement.value=K,this._previousValue=K}_setValueAndClose(K){const ce=K?K.source:this._pendingAutoselectedOption;ce&&(this._clearPreviousSelectedOption(ce),this._assignOptionValue(ce.value),this._onChange(ce.value),this.autocomplete._emitSelectEvent(ce),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(K,ce){this.autocomplete&&this.autocomplete.options&&this.autocomplete.options.forEach(Te=>{Te!==K&&Te.selected&&Te.deselect(ce)})}_attachOverlay(){let K=this._overlayRef;K?(this._positionStrategy.setOrigin(this._getConnectedElement()),K.updateSize({width:this._getPanelWidth()})):(this._portal=new E.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),K=this._overlay.create(this._getOverlayConfig()),this._overlayRef=K,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&K&&K.updateSize({width:this._getPanelWidth()})})),K&&!K.hasAttached()&&(K.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const ce=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&ce!==this.panelOpen&&this.autocomplete.opened.emit()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const K=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=K.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=K.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new f.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const K=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(K),this._positionStrategy=K,K}_setStrategyPositions(K){const ce=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Te=this._aboveClass,et=[{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?et:"below"===this.position?ce:[...ce,...et],K.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 K=this.autocomplete;if(K.autoActiveFirstOption){let ce=-1;for(let Te=0;Te .cdk-overlay-container [aria-modal="true"]');if(!K)return;const ce=this.autocomplete.id;this._trackedModal&&(0,h.iD)(this._trackedModal,"aria-owns",ce),(0,h.Zf)(K,"aria-owns",ce),this._trackedModal=K}_clearFromModal(){this._trackedModal&&((0,h.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return Y.\u0275fac=function(K){return new(K||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(f.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 Lt(Y,ne){if(1&Y&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()),2&Y){const K=ne.id,ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ce.id)("ngClass",ce._classList),n.\u0275\u0275attribute("aria-label",ce.ariaLabel||null)("aria-labelledby",ce._getPanelAriaLabelledby(K))}}const Le=["*"];let lt=(()=>{class Y extends ae{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Y.\u0275fac=function(){let ne;return function(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275cmp=n.\u0275\u0275defineComponent({type:Y,selectors:[["mat-autocomplete"]],contentQueries:function(K,ce,Te){if(1&K&&(n.\u0275\u0275contentQuery(Te,c.MAT_OPTGROUP,5),n.\u0275\u0275contentQuery(Te,d.MatLegacyOption,5)),2&K){let et;n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ce.optionGroups=et),n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ce.options=et)}},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(K,ce){1&K&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,Lt,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 _t{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Y.\u0275fac=function(){let ne;return function(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(K,ce){1&K&&n.\u0275\u0275listener("focusin",function(){return ce._handleFocus()})("blur",function(){return ce._onTouched()})("input",function(et){return ce._handleInput(et)})("keydown",function(et){return ce._handleKeydown(et)})("click",function(){return ce._handleClick()}),2&K&&n.\u0275\u0275attribute("autocomplete",ce.autocompleteAttribute)("role",ce.autocompleteDisabled?null:"combobox")("aria-autocomplete",ce.autocompleteDisabled?null:"list")("aria-activedescendant",ce.panelOpen&&ce.activeOption?ce.activeOption.id:null)("aria-expanded",ce.autocompleteDisabled?null:ce.panelOpen.toString())("aria-owns",ce.autocompleteDisabled||!ce.panelOpen||null==ce.autocomplete?null:ce.autocomplete.id)("aria-haspopup",ce.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(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Y})(),oe=(()=>{class Y{}return Y.\u0275fac=function(K){return new(K||Y)},Y.\u0275mod=n.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=n.\u0275\u0275defineInjector({providers:[Nt],imports:[f.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",""]],"*"],f=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],h=[[["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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(Ce,Re){2&Ce&&n.\u0275\u0275classProp("mat-card-actions-align-end","end"===Re.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),A})(),l=(()=>{class A{}return A.\u0275fac=function(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),A})(),X=(()=>{class A{constructor(Ce){this._animationMode=Ce}}return A.\u0275fac=function(Ce){return new(Ce||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(Ce,Re){2&Ce&&n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Re._animationMode)},exportAs:["matCard"],ngContentSelectors:g,decls:2,vars:0,template:function(Ce,Re){1&Ce&&(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(Ce){return new(Ce||A)},A.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:f,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(Ce,Re){1&Ce&&(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(Ce){return new(Ce||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(Ce,Re){1&Ce&&(n.\u0275\u0275projectionDef(h),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(Ce){return new(Ce||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:()=>Ce,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 f=["input"],h=["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(de){this._elementRef=de}}))));let D=(()=>{class de 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 de.\u0275fac=function(W){c.\u0275\u0275invalidFactory()},de.\u0275dir=c.\u0275\u0275defineDirective({type:de,viewQuery:function(W,pe){if(1&W&&(c.\u0275\u0275viewQuery(f,5),c.\u0275\u0275viewQuery(h,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]}),de})();const E={provide:d.NG_VALIDATORS,useExisting:(0,c.forwardRef)(()=>I),multi:!0};let I=(()=>{class de extends d.CheckboxRequiredValidator{}return de.\u0275fac=function(){let H;return function(pe){return(H||(H=c.\u0275\u0275getInheritedFactory(de)))(pe||de)}}(),de.\u0275dir=c.\u0275\u0275defineDirective({type:de,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[c.\u0275\u0275ProvidersFeature([E]),c.\u0275\u0275InheritDefinitionFeature]}),de})(),X=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=c.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=c.\u0275\u0275defineInjector({}),de})();var ee=a(7131);const ie=function(de){return{enterDuration:de}},A=["*"];class U{}const Ce={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>Re),multi:!0};let Re=(()=>{class de 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 de.\u0275fac=function(W){return new(W||de)(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))},de.\u0275cmp=c.\u0275\u0275defineComponent({type:de,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([Ce]),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}),de})(),Ae=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=c.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=c.\u0275\u0275defineInjector({imports:[g.MatRippleModule,g.MatCommonModule,ee.Q8,X,g.MatCommonModule,X]}),de})()},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 f(_,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 h(_,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,f,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1,2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(4,h,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:()=>Ge,MatLegacyFormFieldControl:()=>r.Eo,MatLegacyFormFieldModule:()=>Nt,MatLegacyHint:()=>Be,MatLegacyLabel:()=>G,MatLegacyPlaceholder:()=>re,MatLegacyPrefix:()=>tt,MatLegacySuffix:()=>Ct,_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),f=a(9388),h=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(_t,Bt){1&_t&&(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(_t,Bt){if(1&_t){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&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("cdkObserveContentDisabled","outline"!=Tt.appearance)}}function X(_t,Bt){if(1&_t&&(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&_t){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(Tt._control.placeholder)}}function $(_t,Bt){1&_t&&d.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function ee(_t,Bt){1&_t&&(d.\u0275\u0275elementStart(0,"span",23),d.\u0275\u0275text(1," *"),d.\u0275\u0275elementEnd())}function ie(_t,Bt){if(1&_t){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&_t){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(_t,Bt){1&_t&&(d.\u0275\u0275elementStart(0,"div",24),d.\u0275\u0275projection(1,4),d.\u0275\u0275elementEnd())}function U(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div",25),d.\u0275\u0275element(1,"span",26),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275classProp("mat-accent","accent"==Tt.color)("mat-warn","warn"==Tt.color)}}function Ce(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div"),d.\u0275\u0275projection(1,5),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState)}}function Re(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div",30),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("id",Tt._hintLabelId),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Tt.hintLabel)}}function Ae(_t,Bt){if(1&_t&&(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&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",Tt.hintLabel)}}const de=["*",[["","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 _t{constructor(Tt,Lt){this.id="mat-error-"+W++,Tt||Lt.nativeElement.setAttribute("aria-live","polite")}}return _t.\u0275fac=function(Tt){return new(Tt||_t)(d.\u0275\u0275injectAttribute("aria-live"),d.\u0275\u0275directiveInject(d.ElementRef))},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(Tt,Lt){2&Tt&&d.\u0275\u0275attribute("id",Lt.id)},inputs:{id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:r.ab,useExisting:_t}])]}),_t})(),we=0;const Ee=new d.InjectionToken("MatHint");let Be=(()=>{class _t{constructor(){this.align="start",this.id="mat-hint-"+we++}}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(Tt,Lt){2&Tt&&(d.\u0275\u0275attribute("id",Lt.id)("align",null),d.\u0275\u0275classProp("mat-form-field-hint-end","end"===Lt.align))},inputs:{align:"align",id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:Ee,useExisting:_t}])]}),_t})(),G=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-label"]]}),_t})(),re=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-placeholder"]]}),_t})(),ae=0;const Ze=(0,g.mixinColor)(class{constructor(_t){this._elementRef=_t}},"primary"),Qe=new d.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ge=(()=>{class _t extends Ze{get appearance(){return this._appearance}set appearance(Tt){const Lt=this._appearance;this._appearance=Tt||this._defaults?.appearance||"legacy","outline"===this._appearance&&Lt!==Tt&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Tt){this._hideRequiredMarker=(0,h.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,Lt,Le,lt,ze,at,N){super(Tt),this._changeDetectorRef=Lt,this._dir=Le,this._defaults=lt,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-"+ae++,this._labelId="mat-form-field-label-"+ae++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==N,this.appearance=lt?.appearance||"legacy",lt&&(this._hideRequiredMarker=!!lt.hideRequiredMarker,lt.color&&(this.color=this.defaultColor=lt.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 Lt=this._control?this._control.ngControl:null;return Lt&&Lt[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 Lt=this._hintChildren?this._hintChildren.find(lt=>"start"===lt.align):null,Le=this._hintChildren?this._hintChildren.find(lt=>"end"===lt.align):null;Lt?Tt.push(Lt.id):this._hintLabel&&Tt.push(this._hintLabelId),Le&&Tt.push(Le.id)}else this._errorChildren&&Tt.push(...this._errorChildren.map(Lt=>Lt.id));this._control.setDescribedByIds(Tt)}}_validateControlChild(){}updateOutlineGap(){const Tt=this._label?this._label.nativeElement:null,Lt=this._connectionContainerRef.nativeElement,Le=".mat-form-field-outline-start",lt=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!Tt||!Tt.children.length||!Tt.textContent.trim()){const Y=Lt.querySelectorAll(`${Le}, ${lt}`);for(let ne=0;ne0?.75*Te+10:0}for(let Y=0;Y{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["","matPrefix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Px,useExisting:_t}])]}),_t})(),Ct=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["","matSuffix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Ve,useExisting:_t}])]}),_t})(),Nt=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275mod=d.\u0275\u0275defineNgModule({type:_t}),_t.\u0275inj=d.\u0275\u0275defineInjector({imports:[c.CommonModule,g.MatCommonModule,n.Q8,g.MatCommonModule]}),_t})()},2400:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_INPUT_VALUE_ACCESSOR:()=>c.Jk,MatLegacyInput:()=>h,MatLegacyInputModule:()=>u,getMatLegacyInputUnsupportedTypeError:()=>c.b7});var n=a(5879),c=a(4516),d=a(1043),g=a(4187),r=a(6263),f=a(3680);let h=(()=>{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:[f.ErrorStateMatcher],imports:[r.Ky,g.MatLegacyFormFieldModule,f.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:()=>de,MAT_LEGACY_MENU_SCROLL_STRATEGY:()=>Nt,MatLegacyMenu:()=>K,MatLegacyMenuContent:()=>et,MatLegacyMenuItem:()=>ce,MatLegacyMenuModule:()=>Dt,MatLegacyMenuTrigger:()=>Te,fadeInLegacyItems:()=>ve,matLegacyMenuAnimations:()=>ae,transformLegacyMenu:()=>He});var n=a(5879),c=a(4300),d=a(2495),g=a(6028),r=a(8645),f=a(3019),h=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(_e,ut){1&_e&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const U=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Ce=["mat-icon, [matMenuItemIcon]","*"],de=new n.InjectionToken("MAT_MENU_PANEL"),H=(0,D.mixinDisableRipple)((0,D.mixinDisabled)(class{}));let W=(()=>{class _e extends H{constructor(Pe,mt,Pt,Ft,Gt){super(),this._elementRef=Pe,this._document=mt,this._focusMonitor=Pt,this._parentMenu=Ft,this._changeDetectorRef=Gt,this.role="menuitem",this._hovered=new r.x,this._focused=new r.x,this._highlighted=!1,this._triggersSubmenu=!1,Ft?.addItem?.(this)}focus(Pe,mt){this._focusMonitor&&Pe?this._focusMonitor.focusVia(this._getHostElement(),Pe,mt):this._getHostElement().focus(mt),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(Pe){this.disabled&&(Pe.preventDefault(),Pe.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Pe=this._elementRef.nativeElement.cloneNode(!0),mt=Pe.querySelectorAll("mat-icon, .material-icons");for(let Pt=0;Pt{class _e{constructor(Pe,mt,Pt,Ft,Gt,Oe,Ke){this._template=Pe,this._componentFactoryResolver=mt,this._appRef=Pt,this._injector=Ft,this._viewContainerRef=Gt,this._document=Oe,this._changeDetectorRef=Ke,this._attached=new r.x}attach(Pe={}){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 mt=this._template.elementRef.nativeElement;mt.parentNode.insertBefore(this._outlet.outletElement,mt),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,Pe),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(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))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e}),_e})();const ae={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)")])])},ve=ae.fadeInItems,He=ae.transformMenu;let Ze=0;const Qe=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function Ge(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let tt=(()=>{class _e{get xPosition(){return this._xPosition}set xPosition(Pe){this._xPosition=Pe,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Pe){this._yPosition=Pe,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Pe){this._overlapTrigger=(0,d.Ig)(Pe)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Pe){this._hasBackdrop=(0,d.Ig)(Pe)}set panelClass(Pe){const mt=this._previousPanelClass;mt&&mt.length&&mt.split(" ").forEach(Pt=>{this._classList[Pt]=!1}),this._previousPanelClass=Pe,Pe&&Pe.length&&(Pe.split(" ").forEach(Pt=>{this._classList[Pt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Pe){this.panelClass=Pe}constructor(Pe,mt,Pt,Ft){this._elementRef=Pe,this._ngZone=mt,this._changeDetectorRef=Ft,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=Pt.overlayPanelClass||"",this._xPosition=Pt.xPosition,this._yPosition=Pt.yPosition,this.backdropClass=Pt.backdropClass,this._overlapTrigger=Pt.overlapTrigger,this._hasBackdrop=Pt.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)(Pe=>(0,f.T)(...Pe.map(mt=>mt._focused)))).subscribe(Pe=>this._keyManager.updateActiveItem(Pe)),this._directDescendantItems.changes.subscribe(Pe=>{const mt=this._keyManager;if("enter"===this._panelAnimationState&&mt.activeItem?._hasFocus()){const Pt=Pe.toArray(),Ft=Math.max(0,Math.min(Pt.length-1,mt.activeItemIndex||0));Pt[Ft]&&!Pt[Ft].disabled?mt.setActiveItem(Ft):mt.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)(mt=>(0,f.T)(...mt.map(Pt=>Pt._hovered))))}addItem(Pe){}removeItem(Pe){}_handleKeydown(Pe){const mt=Pe.keyCode,Pt=this._keyManager;switch(mt){case g.hY:(0,g.Vb)(Pe)||(Pe.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(mt===g.LH||mt===g.JH)&&Pt.setFocusOrigin("keyboard"),void Pt.onKeydown(Pe)}Pe.stopPropagation()}focusFirstItem(Pe="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(()=>{let mt=null;if(this._directDescendantItems.length&&(mt=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!mt||!mt.contains(document.activeElement)){const Pt=this._keyManager;Pt.setFocusOrigin(Pe).setFirstItemActive(),!Pt.activeItem&&mt&&mt.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Pe){const mt=Math.min(this._baseElevation+Pe,24),Pt=`${this._elevationPrefix}${mt}`,Ft=Object.keys(this._classList).find(Gt=>Gt.startsWith(this._elevationPrefix));(!Ft||Ft===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Pt]=!0,this._previousElevation=Pt)}setPositionClasses(Pe=this.xPosition,mt=this.yPosition){const Pt=this._classList;Pt["mat-menu-before"]="before"===Pe,Pt["mat-menu-after"]="after"===Pe,Pt["mat-menu-above"]="above"===mt,Pt["mat-menu-below"]="below"===mt,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Pe){this._animationDone.next(Pe),this._isAnimating=!1}_onAnimationStart(Pe){this._isAnimating=!0,"enter"===Pe.toState&&0===this._keyManager.activeItemIndex&&(Pe.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,b.O)(this._allItems)).subscribe(Pe=>{this._directDescendantItems.reset(Pe.filter(mt=>mt._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,contentQueries:function(Pe,mt,Pt){if(1&Pe&&(n.\u0275\u0275contentQuery(Pt,Be,5),n.\u0275\u0275contentQuery(Pt,W,5),n.\u0275\u0275contentQuery(Pt,W,4)),2&Pe){let Ft;n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt.lazyContent=Ft.first),n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt._allItems=Ft),n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt.items=Ft)}},viewQuery:function(Pe,mt){if(1&Pe&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&Pe){let Pt;n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(mt.templateRef=Pt.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"}}),_e})();const Nt=new n.InjectionToken("mat-menu-scroll-strategy"),Bt={provide:Nt,deps:[$.aV],useFactory:function _t(_e){return()=>_e.scrollStrategies.reposition()}},Tt=(0,ee.i$)({passive:!0});let Le=(()=>{class _e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Pe){this.menu=Pe}get menu(){return this._menu}set menu(Pe){Pe!==this._menu&&(this._menu=Pe,this._menuCloseSubscription.unsubscribe(),Pe&&(this._menuCloseSubscription=Pe.close.subscribe(mt=>{this._destroyMenu(mt),("click"===mt||"tab"===mt)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(mt)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Pe,mt,Pt,Ft,Gt,Oe,Ke,he,ge){this._overlay=Pe,this._element=mt,this._viewContainerRef=Pt,this._menuItemInstance=Oe,this._dir=Ke,this._focusMonitor=he,this._ngZone=ge,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=h.w0.EMPTY,this._hoverSubscription=h.w0.EMPTY,this._menuCloseSubscription=h.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=ct=>{(0,c.yG)(ct)||(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=Ft,this._parentMaterialMenu=Gt instanceof tt?Gt:void 0,mt.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 Pe=this.menu;if(this._menuOpen||!Pe)return;const mt=this._createOverlay(Pe),Pt=mt.getConfig(),Ft=Pt.positionStrategy;this._setPosition(Pe,Ft),Pt.hasBackdrop=null==Pe.hasBackdrop?!this.triggersSubmenu():Pe.hasBackdrop,mt.attach(this._getPortal(Pe)),Pe.lazyContent&&Pe.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Pe),Pe instanceof tt&&(Pe._startAnimation(),Pe._directDescendantItems.changes.pipe((0,l.R)(Pe.close)).subscribe(()=>{Ft.withLockedPosition(!1).reapplyLastPosition(),Ft.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Pe,mt){this._focusMonitor&&Pe?this._focusMonitor.focusVia(this._element,Pe,mt):this._element.nativeElement.focus(mt)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Pe){if(!this._overlayRef||!this.menuOpen)return;const mt=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Pe||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,mt instanceof tt?(mt._resetAnimation(),mt.lazyContent?mt._animationDone.pipe((0,y.h)(Pt=>"void"===Pt.toState),(0,_.q)(1),(0,l.R)(mt.lazyContent._attached)).subscribe({next:()=>mt.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),mt?.lazyContent?.detach())}_initMenu(Pe){Pe.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Pe.direction=this.dir,this._setMenuElevation(Pe),Pe.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Pe){if(Pe.setElevation){let mt=0,Pt=Pe.parentMenu;for(;Pt;)mt++,Pt=Pt.parentMenu;Pe.setElevation(mt)}}_setIsMenuOpen(Pe){Pe!==this._menuOpen&&(this._menuOpen=Pe,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Pe),this._changeDetectorRef.markForCheck())}_createOverlay(Pe){if(!this._overlayRef){const mt=this._getOverlayConfig(Pe);this._subscribeToPositions(Pe,mt.positionStrategy),this._overlayRef=this._overlay.create(mt),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Pe){return new $.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Pe.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Pe.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Pe,mt){Pe.setPositionClasses&&mt.positionChanges.subscribe(Pt=>{const Ft="start"===Pt.connectionPair.overlayX?"after":"before",Gt="top"===Pt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Pe.setPositionClasses(Ft,Gt)):Pe.setPositionClasses(Ft,Gt)})}_setPosition(Pe,mt){let[Pt,Ft]="before"===Pe.xPosition?["end","start"]:["start","end"],[Gt,Oe]="above"===Pe.yPosition?["bottom","top"]:["top","bottom"],[Ke,he]=[Gt,Oe],[ge,ct]=[Pt,Ft],Me=0;if(this.triggersSubmenu()){if(ct=Pt="before"===Pe.xPosition?"start":"end",Ft=ge="end"===Pt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ye=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ye?Ye._getHostElement().offsetTop:0}Me="bottom"===Gt?this._parentInnerPadding:-this._parentInnerPadding}}else Pe.overlapTrigger||(Ke="top"===Gt?"bottom":"top",he="top"===Oe?"bottom":"top");mt.withPositions([{originX:Pt,originY:Ke,overlayX:ge,overlayY:Gt,offsetY:Me},{originX:Ft,originY:Ke,overlayX:ct,overlayY:Gt,offsetY:Me},{originX:Pt,originY:he,overlayX:ge,overlayY:Oe,offsetY:-Me},{originX:Ft,originY:he,overlayX:ct,overlayY:Oe,offsetY:-Me}])}_menuClosingActions(){const Pe=this._overlayRef.backdropClick(),mt=this._overlayRef.detachments(),Pt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,u.of)(),Ft=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,y.h)(Gt=>Gt!==this._menuItemInstance),(0,y.h)(()=>this._menuOpen)):(0,u.of)();return(0,f.T)(Pe,Pt,Ft,mt)}_handleMousedown(Pe){(0,c.X6)(Pe)||(this._openedBy=0===Pe.button?"mouse":void 0,this.triggersSubmenu()&&Pe.preventDefault())}_handleKeydown(Pe){const mt=Pe.keyCode;(mt===g.K5||mt===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(mt===g.SV&&"ltr"===this.dir||mt===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Pe){this.triggersSubmenu()?(Pe.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,y.h)(Pe=>Pe===this._menuItemInstance&&!Pe.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(Pe){return(!this._portal||this._portal.templateRef!==Pe.templateRef)&&(this._portal=new E.UE(Pe.templateRef,this._viewContainerRef)),this._portal}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject($.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Nt),n.\u0275\u0275directiveInject(de,8),n.\u0275\u0275directiveInject(W,10),n.\u0275\u0275directiveInject(X.Is,8),n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(n.NgZone))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,hostVars:3,hostBindings:function(Pe,mt){1&Pe&&n.\u0275\u0275listener("click",function(Ft){return mt._handleClick(Ft)})("mousedown",function(Ft){return mt._handleMousedown(Ft)})("keydown",function(Ft){return mt._handleKeydown(Ft)}),2&Pe&&n.\u0275\u0275attribute("aria-haspopup",mt.menu?"menu":null)("aria-expanded",mt.menuOpen)("aria-controls",mt.menuOpen?mt.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"}}),_e})();var at=a(6672);function N(_e,ut){if(1&_e){const Pe=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._handleKeydown(Pt))})("click",function(){n.\u0275\u0275restoreView(Pe);const Pt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Pt.closed.emit("click"))})("@transformMenu.start",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._onAnimationStart(Pt))})("@transformMenu.done",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._onAnimationDone(Pt))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&_e){const Pe=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",Pe.panelId)("ngClass",Pe._classList)("@transformMenu",Pe._panelAnimationState),n.\u0275\u0275attribute("aria-label",Pe.ariaLabel||null)("aria-labelledby",Pe.ariaLabelledby||null)("aria-describedby",Pe.ariaDescribedby||null)}}const oe=["*"],Y=["mat-menu-item",""];function ne(_e,ut){1&_e&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",2),n.\u0275\u0275element(1,"polygon",3),n.\u0275\u0275elementEnd())}let K=(()=>{class _e extends tt{constructor(Pe,mt,Pt,Ft){super(Pe,mt,Pt,Ft),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:4,hostBindings:function(Pe,mt){2&Pe&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null)},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:de,useExisting:_e}]),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(Pe,mt){1&Pe&&(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:[ae.transformMenu,ae.fadeInItems]},changeDetection:0}),_e})(),ce=(()=>{class _e extends W{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(Pe,mt){2&Pe&&(n.\u0275\u0275attribute("role",mt.role)("tabindex",mt._getTabIndex())("aria-disabled",mt.disabled.toString())("disabled",mt.disabled||null),n.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",mt._highlighted)("mat-menu-item-submenu-trigger",mt._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:_e}]),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(Pe,mt){1&Pe&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275element(1,"div",0),n.\u0275\u0275template(2,ne,2,0,"svg",1)),2&Pe&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleDisabled",mt.disableRipple||mt.disabled)("matRippleTrigger",mt._getHostElement()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",mt._triggersSubmenu))},dependencies:[S.NgIf,D.MatRipple],encapsulation:2,changeDetection:0}),_e})(),Te=(()=>{class _e extends Le{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[n.\u0275\u0275InheritDefinitionFeature]}),_e})(),et=(()=>{class _e extends G{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Be,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]}),_e})(),Dt=(()=>{class _e{}return _e.\u0275fac=function(Pe){return new(Pe||_e)},_e.\u0275mod=n.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=n.\u0275\u0275defineInjector({providers:[Bt],imports:[S.CommonModule,D.MatCommonModule,D.MatRippleModule,$.U8,at.ZD,D.MatCommonModule]}),_e})()},9559:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{LegacyPageEvent:()=>oe,MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS:()=>Oe,MAT_LEGACY_PAGINATOR_INTL_PROVIDER:()=>at,MAT_LEGACY_PAGINATOR_INTL_PROVIDER_FACTORY:()=>ze,MatLegacyPaginator:()=>Ke,MatLegacyPaginatorIntl:()=>lt,MatLegacyPaginatorModule:()=>he,_MatLegacyPaginatorBase:()=>K});var n=a(6814),c=a(5879),d=a(3680),g=a(4505),r=a(1798),f=a(9594),h=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:[f.aV],useFactory:function ie(ge){return()=>ge.scrollStrategies.reposition({scrollThrottle:20})}},Ce=new c.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function U(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Ae="tooltip-panel",de=(0,p.i$)({passive:!0});let Be=(()=>{class ge{get position(){return this._position}set position(Me){Me!==this._position&&(this._position=Me,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Me){this._positionAtOrigin=(0,y.Ig)(Me),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Me){this._disabled=(0,y.Ig)(Me),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(Me){this._showDelay=(0,y.su)(Me)}get hideDelay(){return this._hideDelay}set hideDelay(Me){this._hideDelay=(0,y.su)(Me),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(Me){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=Me?String(Me).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(Me){this._tooltipClass=Me,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve){this._overlay=Me,this._elementRef=Ye,this._scrollDispatcher=De,this._viewContainerRef=F,this._ngZone=V,this._platform=Q,this._ariaDescriber=be,this._focusMonitor=dt,this._dir=qe,this._defaultOptions=nt,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=Rt,this._document=Ve,nt&&(this._showDelay=nt.showDelay,this._hideDelay=nt.hideDelay,nt.position&&(this.position=nt.position),nt.positionAtOrigin&&(this.positionAtOrigin=nt.positionAtOrigin),nt.touchGestures&&(this.touchGestures=nt.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(Me=>{Me?"keyboard"===Me&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Me=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Ye,De])=>{Me.removeEventListener(Ye,De,de)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Me,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Me)}show(Me=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(Me)}hide(Me=this.hideDelay){const Ye=this._tooltipInstance;Ye&&(Ye.isVisible()?Ye.hide(Me):(Ye._cancelPendingAnimations(),this._detach()))}toggle(Me){this._isTooltipVisible()?this.hide():this.show(void 0,Me)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Me){if(this._overlayRef){const F=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!Me)&&F._origin instanceof c.ElementRef)return this._overlayRef;this._detach()}const Ye=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),De=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&Me||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(Me){const Ye=Me.getConfig().positionStrategy,De=this._getOrigin(),F=this._getOverlayPosition();Ye.withPositions([this._addOffset({...De.main,...F.main}),this._addOffset({...De.fallback,...F.fallback})])}_addOffset(Me){return Me}_getOrigin(){const Me=!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&&Me||"right"==Ye&&!Me?De={originX:"start",originY:"center"}:("after"==Ye||"right"==Ye&&Me||"left"==Ye&&!Me)&&(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 Me=!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&&Me||"right"==Ye&&!Me?De={overlayX:"end",overlayY:"center"}:("after"==Ye||"right"==Ye&&Me||"left"==Ye&&!Me)&&(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(Me){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Me,this._tooltipInstance._markForCheck())}_invertPosition(Me,Ye){return"above"===this.position||"below"===this.position?"top"===Ye?Ye="bottom":"bottom"===Ye&&(Ye="top"):"end"===Me?Me="start":"start"===Me&&(Me="end"),{x:Me,y:Ye}}_updateCurrentPositionClass(Me){const{overlayY:Ye,originX:De,originY:F}=Me;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 Q=this._overlayRef;if(Q){const be=`${this._cssClassPrefix}-${Ae}-`;Q.removePanelClass(be+this._currentPosition),Q.addPanelClass(be+V)}this._currentPosition=V}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",Me=>{let Ye;this._setupPointerExitEventsIfNeeded(),void 0!==Me.x&&void 0!==Me.y&&(Ye=Me),this.show(void 0,Ye)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",Me=>{const Ye=Me.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 Me=[];if(this._platformSupportsMouseEvents())Me.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)};Me.push(["touchend",Ye],["touchcancel",Ye])}this._addListeners(Me),this._passiveListeners.push(...Me)}_addListeners(Me){Me.forEach(([Ye,De])=>{this._elementRef.nativeElement.addEventListener(Ye,De,de)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Me){if(this._isTooltipVisible()){const Ye=this._document.elementFromPoint(Me.clientX,Me.clientY),De=this._elementRef.nativeElement;Ye!==De&&!De.contains(Ye)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Me=this.touchGestures;if("off"!==Me){const Ye=this._elementRef.nativeElement,De=Ye.style;("on"===Me||"INPUT"!==Ye.nodeName&&"TEXTAREA"!==Ye.nodeName)&&(De.userSelect=De.msUserSelect=De.webkitUserSelect=De.MozUserSelect="none"),("on"===Me||!Ye.draggable)&&(De.webkitUserDrag="none"),De.touchAction="none",De.webkitTapHighlightColor="transparent"}}}return ge.\u0275fac=function(Me){c.\u0275\u0275invalidFactory()},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,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"]}}),ge})(),re=(()=>{class ge{constructor(Me,Ye){this._changeDetectorRef=Me,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new S.x,this._animationsDisabled="NoopAnimations"===Ye}show(Me){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Me)}hide(Me){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Me)}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:Me}){(!Me||!this._triggerElement.contains(Me))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:Me}){(Me===this._showAnimation||Me===this._hideAnimation)&&this._finalizeAnimation(Me===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Me){Me?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Me){const Ye=this._tooltip.nativeElement,De=this._showAnimation,F=this._hideAnimation;if(Ye.classList.remove(Me?F:De),Ye.classList.add(Me?De:F),this._isVisible=Me,Me&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const V=getComputedStyle(Ye);("0s"===V.getPropertyValue("animation-duration")||"none"===V.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Me&&this._onShow(),this._animationsDisabled&&(Ye.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Me))}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge}),ge})();const Ze=["tooltip"];let Qe=(()=>{class ge extends Be{constructor(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve){super(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve),this._tooltipComponent=Ge}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(f.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(h.$s),c.\u0275\u0275directiveInject(h.tE),c.\u0275\u0275directiveInject(ee),c.\u0275\u0275directiveInject(v.Is,8),c.\u0275\u0275directiveInject(Ce,8),c.\u0275\u0275directiveInject(n.DOCUMENT))},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(Me,Ye){2&Me&&c.\u0275\u0275classProp("mat-tooltip-disabled",Ye.disabled)},exportAs:["matTooltip"],features:[c.\u0275\u0275InheritDefinitionFeature]}),ge})(),Ge=(()=>{class ge extends re{constructor(Me,Ye,De){super(Me,De),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=Ye.observe(b.u3.Handset)}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(b.Yg),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},ge.\u0275cmp=c.\u0275\u0275defineComponent({type:ge,selectors:[["mat-tooltip-component"]],viewQuery:function(Me,Ye){if(1&Me&&c.\u0275\u0275viewQuery(Ze,7),2&Me){let De;c.\u0275\u0275queryRefresh(De=c.\u0275\u0275loadQuery())&&(Ye._tooltip=De.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(Me,Ye){1&Me&&c.\u0275\u0275listener("mouseleave",function(F){return Ye._handleMouseLeave(F)}),2&Me&&(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(Me,Ye){if(1&Me&&(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&Me){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}),ge})(),tt=(()=>{class ge{}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275mod=c.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=c.\u0275\u0275defineInjector({providers:[A],imports:[h.rt,n.CommonModule,f.U8,d.MatCommonModule,d.MatCommonModule,u.ZD]}),ge})(),lt=(()=>{class ge{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=(Me,Ye,De)=>{if(0==De||0==Ye)return`0 of ${De}`;const F=Me*Ye;return`${F+1} \u2013 ${F<(De=Math.max(De,0))?Math.min(F+Ye,De):F+Ye} of ${De}`}}}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275prov=c.\u0275\u0275defineInjectable({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();function ze(ge){return ge||new lt}const at={provide:lt,deps:[[new c.Optional,new c.SkipSelf,lt]],useFactory:ze};class oe{}const ne=(0,d.mixinDisabled)((0,d.mixinInitialized)(class{}));let K=(()=>{class ge extends ne{get pageIndex(){return this._pageIndex}set pageIndex(Me){this._pageIndex=Math.max((0,y.su)(Me),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Me){this._length=(0,y.su)(Me),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Me){this._pageSize=Math.max((0,y.su)(Me),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Me){this._pageSizeOptions=(Me||[]).map(Ye=>(0,y.su)(Ye)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Me){this._hidePageSize=(0,y.Ig)(Me)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Me){this._showFirstLastButtons=(0,y.Ig)(Me)}constructor(Me,Ye,De){if(super(),this._intl=Me,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=Me.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),De){const{pageSize:F,pageSizeOptions:V,hidePageSize:Q,showFirstLastButtons:be}=De;null!=F&&(this._pageSize=F),null!=V&&(this._pageSizeOptions=V),null!=Q&&(this._hidePageSize=Q),null!=be&&(this._showFirstLastButtons=be)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Me=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Me)}previousPage(){if(!this.hasPreviousPage())return;const Me=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Me)}firstPage(){if(!this.hasPreviousPage())return;const Me=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Me)}lastPage(){if(!this.hasNextPage())return;const Me=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Me)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Me=this.getNumberOfPages()-1;return this.pageIndexMe-Ye),this._changeDetectorRef.markForCheck())}_emitPageEvent(Me){this.page.emit({previousPageIndex:Me,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return ge.\u0275fac=function(Me){c.\u0275\u0275invalidFactory()},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[c.\u0275\u0275InheritDefinitionFeature]}),ge})();var Dt=a(4187),_e=a(4678);function ut(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"mat-option",19),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&ge){const Me=ct.$implicit;c.\u0275\u0275property("value",Me),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate1(" ",Me," ")}}function Pe(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),c.\u0275\u0275listener("selectionChange",function(De){c.\u0275\u0275restoreView(Me);const F=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(F._changePageSize(De.value))}),c.\u0275\u0275template(2,ut,2,2,"mat-option",18),c.\u0275\u0275elementEnd()()}if(2&ge){const Me=c.\u0275\u0275nextContext(2);c.\u0275\u0275property("appearance",Me._formFieldAppearance)("color",Me.color),c.\u0275\u0275advance(1),c.\u0275\u0275property("value",Me.pageSize)("disabled",Me.disabled)("panelClass",Me.selectConfig.panelClass||"")("disableOptionCentering",Me.selectConfig.disableOptionCentering)("aria-label",Me._intl.itemsPerPageLabel),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngForOf",Me._displayedPageSizeOptions)}}function mt(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"div",20),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&ge){const Me=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(Me.pageSize)}}function Pt(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"div",12)(1,"div",13),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(3,Pe,3,8,"mat-form-field",14),c.\u0275\u0275template(4,mt,2,1,"div",15),c.\u0275\u0275elementEnd()),2&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate1(" ",Me._intl.itemsPerPageLabel," "),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Me._displayedPageSizeOptions.length>1),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Me._displayedPageSizeOptions.length<=1)}}function Ft(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"button",21),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(Me);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&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",Me._intl.firstPageLabel)("matTooltipDisabled",Me._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Me._previousButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Me._intl.firstPageLabel)}}function Gt(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275namespaceSVG(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(0,"button",23),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(Me);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&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",Me._intl.lastPageLabel)("matTooltipDisabled",Me._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Me._nextButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Me._intl.lastPageLabel)}}const Oe=new c.InjectionToken("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS");let Ke=(()=>{class ge extends K{constructor(Me,Ye,De){super(Me,Ye,De),De&&null!=De.formFieldAppearance&&(this._formFieldAppearance=De.formFieldAppearance)}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(lt),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(Oe,8))},ge.\u0275cmp=c.\u0275\u0275defineComponent({type:ge,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(Me,Ye){1&Me&&(c.\u0275\u0275elementStart(0,"div",0)(1,"div",1),c.\u0275\u0275template(2,Pt,5,3,"div",2),c.\u0275\u0275elementStart(3,"div",3)(4,"div",4),c.\u0275\u0275text(5),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(6,Ft,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,Gt,3,5,"button",11),c.\u0275\u0275elementEnd()()()),2&Me&&(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,_e.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}),ge})(),he=(()=>{class ge{}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275mod=c.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=c.\u0275\u0275defineInjector({providers:[at],imports:[n.CommonModule,g.MatLegacyButtonModule,r.MatLegacySelectModule,tt,d.MatCommonModule]}),ge})()},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:()=>Ce});var n=a(2495),c=a(2831),d=a(6672),g=a(6814),r=a(5879),f=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 de=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+de._spinnerAnimationLabel)("stroke-dashoffset",de._getStrokeDashOffset(),"px")("stroke-dasharray",de._getStrokeCircumference(),"px")("stroke-width",de._getCircleStrokeWidth(),"%")("transform-origin",de._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",de._getCircleRadius())}}function I(Re,Ae){if(1&Re&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275element(0,"circle",4)),2&Re){const de=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("stroke-dashoffset",de._getStrokeDashOffset(),"px")("stroke-dasharray",de._getStrokeCircumference(),"px")("stroke-width",de._getCircleStrokeWidth(),"%")("transform-origin",de._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",de._getCircleRadius())}}const ee=(0,f.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,de,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)),de.isBrowser&&de.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 de=50*(Ae.currentScale??1);return`${de}% ${de}%`}_attachStyleNode(){const Ae=this._styleRoot,de=this._diameter,H=A._diameters;let W=H.get(Ae);if(!W||!W.has(de)){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(de)}}_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,de){2&Ae&&(r.\u0275\u0275attribute("aria-valuemin","determinate"===de.mode?0:null)("aria-valuemax","determinate"===de.mode?100:null)("aria-valuenow","determinate"===de.mode?de.value:null)("mode",de.mode),r.\u0275\u0275styleProp("width",de.diameter,"px")("height",de.diameter,"px"),r.\u0275\u0275classProp("_mat-animation-noopable",de._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,de){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",de.diameter,"px")("height",de.diameter,"px"),r.\u0275\u0275property("ngSwitch","indeterminate"===de.mode),r.\u0275\u0275attribute("viewBox",de._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(de){return new(de||Re)},Re.\u0275mod=r.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=r.\u0275\u0275defineInjector({imports:[f.MatCommonModule,g.CommonModule,f.MatCommonModule]}),Re})();const Ce=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:()=>Ce,MatLegacyRadioChange:()=>b,MatLegacyRadioGroup:()=>U,MatLegacyRadioModule:()=>Re});var n=a(5879),c=a(3680),d=a(4300),g=a(8337),r=a(6223),f=a(2495);const h=["input"];let v=0;class b{constructor(de,H){this.source=de,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,f.Ig)(H),this._markRadiosForCheck()}get required(){return this._required}set required(H){this._required=(0,f.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(de){this._elementRef=de}}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,f.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,f.Ig)(H))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(H){this._required=(0,f.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,f.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(h,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 de;return function(W){return(de||(de=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,Ce,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})(),Ce=(()=>{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:()=>Ge,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Ze,MAT_LEGACY_SELECT_TRIGGER:()=>tt,MatLegacySelect:()=>mt,MatLegacySelectChange:()=>ut,MatLegacySelectModule:()=>Pt,MatLegacySelectTrigger:()=>Pe,matLegacySelectAnimations:()=>ne});var n=a(9594),c=a(6814),d=a(5879),g=a(3680),r=a(4678),f=a(1043),h=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 Ce=["trigger"],Re=["panel"];let ve=0;const He=new d.InjectionToken("mat-select-scroll-strategy");function Ze(Ft){return()=>Ft.scrollStrategies.reposition()}const Qe=new d.InjectionToken("MAT_SELECT_CONFIG"),Ge={provide:He,deps:[n.aV],useFactory:Ze},tt=new d.InjectionToken("MatSelectTrigger"),Nt=(0,g.mixinDisableRipple)((0,g.mixinTabIndex)((0,g.mixinDisabled)((0,g.mixinErrorState)(class{constructor(Ft,Gt,Oe,Ke,he){this._elementRef=Ft,this._defaultErrorStateMatcher=Gt,this._parentForm=Oe,this._parentFormGroup=Ke,this.ngControl=he,this.stateChanges=new x.x}}))));let _t=(()=>{class Ft extends Nt{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Oe){this._placeholder=Oe,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(y.Validators.required)??!1}set required(Oe){this._required=(0,p.Ig)(Oe),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Oe){this._multiple=(0,p.Ig)(Oe)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Oe){this._disableOptionCentering=(0,p.Ig)(Oe)}get compareWith(){return this._compareWith}set compareWith(Oe){this._compareWith=Oe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Oe){this._assignValue(Oe)&&this._onChange(Oe)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Oe){this._typeaheadDebounceInterval=(0,p.su)(Oe)}get id(){return this._id}set id(Oe){this._id=Oe||this._uid,this.stateChanges.next()}constructor(Oe,Ke,he,ge,ct,Me,Ye,De,F,V,Q,be,dt,Rt){super(ct,ge,Ye,De,V),this._viewportRuler=Oe,this._changeDetectorRef=Ke,this._ngZone=he,this._dir=Me,this._parentFormField=F,this._liveAnnouncer=dt,this._defaultOptions=Rt,this._panelOpen=!1,this._compareWith=(qe,nt)=>qe===nt,this._uid="mat-select-"+ve++,this._triggerAriaLabelledBy=null,this._destroy=new x.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ve++,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(nt=>nt.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!=Rt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Rt.typeaheadDebounceInterval),this._scrollStrategyFactory=be,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Q)||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(Oe=>{Oe.added.forEach(Ke=>Ke.select()),Oe.removed.forEach(Ke=>Ke.deselect())}),this.options.changes.pipe((0,E.O)(null),(0,A.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Oe=this._getTriggerAriaLabelledby(),Ke=this.ngControl;if(Oe!==this._triggerAriaLabelledBy){const he=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Oe,Oe?he.setAttribute("aria-labelledby",Oe):he.removeAttribute("aria-labelledby")}Ke&&(this._previousControl!==Ke.control&&(void 0!==this._previousControl&&null!==Ke.disabled&&Ke.disabled!==this.disabled&&(this.disabled=Ke.disabled),this._previousControl=Ke.control),this.updateErrorState())}ngOnChanges(Oe){(Oe.disabled||Oe.userAriaDescribedBy)&&this.stateChanges.next(),Oe.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 Oe=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Oe)return;const Ke=`${this.id}-panel`;this._trackedModal&&(0,v.iD)(this._trackedModal,"aria-owns",Ke),(0,v.Zf)(Oe,"aria-owns",Ke),this._trackedModal=Oe}_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(Oe){this._assignValue(Oe)}registerOnChange(Oe){this._onChange=Oe}registerOnTouched(Oe){this._onTouched=Oe}setDisabledState(Oe){this.disabled=Oe,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 Oe=this._selectionModel.selected.map(Ke=>Ke.viewValue);return this._isRtl()&&Oe.reverse(),Oe.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Oe){this.disabled||(this.panelOpen?this._handleOpenKeydown(Oe):this._handleClosedKeydown(Oe))}_handleClosedKeydown(Oe){const Ke=Oe.keyCode,he=Ke===l.JH||Ke===l.LH||Ke===l.oh||Ke===l.SV,ge=Ke===l.K5||Ke===l.L_,ct=this._keyManager;if(!ct.isTyping()&&ge&&!(0,l.Vb)(Oe)||(this.multiple||Oe.altKey)&&he)Oe.preventDefault(),this.open();else if(!this.multiple){const Me=this.selected;ct.onKeydown(Oe);const Ye=this.selected;Ye&&Me!==Ye&&this._liveAnnouncer.announce(Ye.viewValue,1e4)}}_handleOpenKeydown(Oe){const Ke=this._keyManager,he=Oe.keyCode,ge=he===l.JH||he===l.LH,ct=Ke.isTyping();if(ge&&Oe.altKey)Oe.preventDefault(),this.close();else if(ct||he!==l.K5&&he!==l.L_||!Ke.activeItem||(0,l.Vb)(Oe))if(!ct&&this._multiple&&he===l.A&&Oe.ctrlKey){Oe.preventDefault();const Me=this.options.some(Ye=>!Ye.disabled&&!Ye.selected);this.options.forEach(Ye=>{Ye.disabled||(Me?Ye.select():Ye.deselect())})}else{const Me=Ke.activeItemIndex;Ke.onKeydown(Oe),this._multiple&&ge&&Oe.shiftKey&&Ke.activeItem&&Ke.activeItemIndex!==Me&&Ke.activeItem._selectViaInteraction()}else Oe.preventDefault(),Ke.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(Oe){if(this.options.forEach(Ke=>Ke.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Oe)Array.isArray(Oe),Oe.forEach(Ke=>this._selectOptionByValue(Ke)),this._sortValues();else{const Ke=this._selectOptionByValue(Oe);Ke?this._keyManager.updateActiveItem(Ke):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Oe){const Ke=this.options.find(he=>{if(this._selectionModel.isSelected(he))return!1;try{return null!=he.value&&this._compareWith(he.value,Oe)}catch{return!1}});return Ke&&this._selectionModel.select(Ke),Ke}_assignValue(Oe){return!!(Oe!==this._value||this._multiple&&Array.isArray(Oe))&&(this.options&&this._setSelectionByValue(Oe),this._value=Oe,!0)}_skipPredicate(Oe){return Oe.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 Oe=(0,S.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,A.R)(Oe)).subscribe(Ke=>{this._onSelect(Ke.source,Ke.isUserInput),Ke.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,S.T)(...this.options.map(Ke=>Ke._stateChanges)).pipe((0,A.R)(Oe)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Oe,Ke){const he=this._selectionModel.isSelected(Oe);null!=Oe.value||this._multiple?(he!==Oe.selected&&(Oe.selected?this._selectionModel.select(Oe):this._selectionModel.deselect(Oe)),Ke&&this._keyManager.setActiveItem(Oe),this.multiple&&(this._sortValues(),Ke&&this.focus())):(Oe.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Oe.value)),he!==this._selectionModel.isSelected(Oe)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Oe=this.options.toArray();this._selectionModel.sort((Ke,he)=>this.sortComparator?this.sortComparator(Ke,he,Oe):Oe.indexOf(Ke)-Oe.indexOf(he)),this.stateChanges.next()}}_propagateChanges(Oe){let Ke=null;Ke=this.multiple?this.selected.map(he=>he.value):this.selected?this.selected.value:Oe,this._value=Ke,this.valueChange.emit(Ke),this._onChange(Ke),this.selectionChange.emit(this._getChangeEvent(Ke)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Oe=-1;for(let Ke=0;Ke0}focus(Oe){this._elementRef.nativeElement.focus(Oe)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Oe?Oe+" ":"")+this.ariaLabelledby:Oe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();let Ke=(Oe?Oe+" ":"")+this._valueId;return this.ariaLabelledby&&(Ke+=" "+this.ariaLabelledby),Ke}_panelDoneAnimating(Oe){this.openedChange.emit(Oe)}setDescribedByIds(Oe){Oe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Oe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)(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(f.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))},Ft.\u0275dir=d.\u0275\u0275defineDirective({type:Ft,viewQuery:function(Oe,Ke){if(1&Oe&&(d.\u0275\u0275viewQuery(Ce,5),d.\u0275\u0275viewQuery(Re,5),d.\u0275\u0275viewQuery(n.pI,5)),2&Oe){let he;d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke.trigger=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke.panel=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke._overlayDir=he.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]}),Ft})();function Le(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",8),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Oe.placeholder)}}function lt(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",12),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Oe.triggerValue)}}function ze(Ft,Gt){1&Ft&&d.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function at(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",9),d.\u0275\u0275template(1,lt,2,1,"span",10),d.\u0275\u0275template(2,ze,1,0,"ng-content",11),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("ngSwitch",!!Oe.customTrigger),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngSwitchCase",!0)}}function N(Ft,Gt){if(1&Ft){const Oe=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",13)(1,"div",14,15),d.\u0275\u0275listener("@transformPanel.done",function(he){d.\u0275\u0275restoreView(Oe);const ge=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ge._panelDoneAnimatingStream.next(he.toState))})("keydown",function(he){d.\u0275\u0275restoreView(Oe);const ge=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ge._handleKeydown(he))}),d.\u0275\u0275projection(3,1),d.\u0275\u0275elementEnd()()}if(2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transformPanelWrap",void 0),d.\u0275\u0275advance(1),d.\u0275\u0275classMapInterpolate1("mat-select-panel ",Oe._getPanelTheme(),""),d.\u0275\u0275styleProp("transform-origin",Oe._transformOrigin)("font-size",Oe._triggerFontSize,"px"),d.\u0275\u0275property("ngClass",Oe.panelClass)("@transformPanel",Oe.multiple?"showing-multiple":"showing"),d.\u0275\u0275attribute("id",Oe.id+"-panel")("aria-multiselectable",Oe.multiple)("aria-label",Oe.ariaLabel||null)("aria-labelledby",Oe._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})))])},K=256;class ut{constructor(Gt,Oe){this.source=Gt,this.value=Oe}}let Pe=(()=>{class Ft{}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)},Ft.\u0275dir=d.\u0275\u0275defineDirective({type:Ft,selectors:[["mat-select-trigger"]],features:[d.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:Ft}])]}),Ft})(),mt=(()=>{class Ft extends _t{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(Oe,Ke,he){const ge=this._getItemHeight();return Math.min(Math.max(0,ge*Oe-Ke+ge/2),he)}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(Oe){const Ke=(0,g._countGroupLabelsBeforeOption)(Oe,this.options,this.optionGroups),he=this._getItemHeight();this.panel.nativeElement.scrollTop=0===Oe&&1===Ke?0:(0,g._getOptionScrollPosition)((Oe+Ke)*he,he,this.panel.nativeElement.scrollTop,K)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(Oe){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(Oe)}_getChangeEvent(Oe){return new ut(this,Oe)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){const Oe=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),Ke=this._viewportRuler.getViewportSize(),he=this._isRtl(),ge=this.multiple?56:32;let ct;if(this.multiple)ct=40;else if(this.disableOptionCentering)ct=16;else{let De=this._selectionModel.selected[0]||this.options.first;ct=De&&De.group?32:16}he||(ct*=-1);const Me=0-(Oe.left+ct-(he?ge:0)),Ye=Oe.right+ct-Ke.width+(he?0:ge);Me>0?ct+=Me+8:Ye>0&&(ct-=Ye+8),this._overlayDir.offsetX=Math.round(ct),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(Oe,Ke,he){const ge=this._getItemHeight(),ct=(ge-this._triggerRect.height)/2,Me=Math.floor(K/ge);let Ye;return this.disableOptionCentering?0:(Ye=0===this._scrollTop?Oe*ge:this._scrollTop===he?(Oe-(this._getItemCount()-Me))*ge+(ge-(this._getItemCount()*ge-K)%ge):Ke-ge/2,Math.round(-1*Ye-ct))}_checkOverlayWithinViewport(Oe){const Ke=this._getItemHeight(),he=this._viewportRuler.getViewportSize(),ge=this._triggerRect.top-8,ct=he.height-this._triggerRect.bottom-8,Me=Math.abs(this._offsetY),De=Math.min(this._getItemCount()*Ke,K)-Me-this._triggerRect.height;De>ct?this._adjustPanelUp(De,ct):Me>ge?this._adjustPanelDown(Me,ge,Oe):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(Oe,Ke){const he=Math.round(Oe-Ke);this._scrollTop-=he,this._offsetY-=he,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(Oe,Ke,he){const ge=Math.round(Oe-Ke);if(this._scrollTop+=ge,this._offsetY+=ge,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=he)return this._scrollTop=he,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const Oe=this._getItemHeight(),Ke=this._getItemCount(),he=Math.min(Ke*Oe,K),ct=Ke*Oe-he;let Me;Me=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Me+=(0,g._countGroupLabelsBeforeOption)(Me,this.options,this.optionGroups);const Ye=he/2;this._scrollTop=this._calculateOverlayScroll(Me,Ye,ct),this._offsetY=this._calculateOverlayOffsetY(Me,Ye,ct),this._checkOverlayWithinViewport(ct)}_getOriginBasedOnOption(){const Oe=this._getItemHeight(),Ke=(Oe-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-Ke+Oe/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Ft.\u0275fac=function(){let Gt;return function(Ke){return(Gt||(Gt=d.\u0275\u0275getInheritedFactory(Ft)))(Ke||Ft)}}(),Ft.\u0275cmp=d.\u0275\u0275defineComponent({type:Ft,selectors:[["mat-select"]],contentQueries:function(Oe,Ke,he){if(1&Oe&&(d.\u0275\u0275contentQuery(he,tt,5),d.\u0275\u0275contentQuery(he,r.MatLegacyOption,5),d.\u0275\u0275contentQuery(he,g.MAT_OPTGROUP,5)),2&Oe){let ge;d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.customTrigger=ge.first),d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.options=ge),d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.optionGroups=ge)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(Oe,Ke){1&Oe&&d.\u0275\u0275listener("keydown",function(ge){return Ke._handleKeydown(ge)})("focus",function(){return Ke._onFocus()})("blur",function(){return Ke._onBlur()}),2&Oe&&(d.\u0275\u0275attribute("id",Ke.id)("tabindex",Ke.tabIndex)("aria-controls",Ke.panelOpen?Ke.id+"-panel":null)("aria-expanded",Ke.panelOpen)("aria-label",Ke.ariaLabel||null)("aria-required",Ke.required.toString())("aria-disabled",Ke.disabled.toString())("aria-invalid",Ke.errorState)("aria-activedescendant",Ke._getAriaActiveDescendant()),d.\u0275\u0275classProp("mat-select-disabled",Ke.disabled)("mat-select-invalid",Ke.errorState)("mat-select-required",Ke.required)("mat-select-empty",Ke.empty)("mat-select-multiple",Ke.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[d.\u0275\u0275ProvidersFeature([{provide:f.Eo,useExisting:Ft},{provide:g.MAT_OPTION_PARENT_COMPONENT,useExisting:Ft}]),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(Oe,Ke){if(1&Oe&&(d.\u0275\u0275projectionDef(oe),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275listener("click",function(){return Ke.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 Ke.close()})("attach",function(){return Ke._onAttached()})("detach",function(){return Ke.close()})),2&Oe){const he=d.\u0275\u0275reference(1);d.\u0275\u0275attribute("aria-owns",Ke.panelOpen?Ke.id+"-panel":null),d.\u0275\u0275advance(3),d.\u0275\u0275property("ngSwitch",Ke.empty),d.\u0275\u0275attribute("id",Ke._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",Ke._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Ke._scrollStrategy)("cdkConnectedOverlayOrigin",he)("cdkConnectedOverlayOpen",Ke.panelOpen)("cdkConnectedOverlayPositions",Ke._positions)("cdkConnectedOverlayMinWidth",Ke._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",Ke._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}),Ft})(),Pt=(()=>{class Ft{}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)},Ft.\u0275mod=d.\u0275\u0275defineNgModule({type:Ft}),Ft.\u0275inj=d.\u0275\u0275defineInjector({providers:[Ge],imports:[c.CommonModule,n.U8,r.MatLegacyOptionModule,g.MatCommonModule,u.ZD,h.MatLegacyFormFieldModule,r.MatLegacyOptionModule,g.MatCommonModule]}),Ft})()},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:()=>Ce,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),f=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,f.Ig)(H)}get checked(){return this._checked}set checked(H){this._checked=(0,f.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 de;return function(W){return(de||(de=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)(()=>Ce),multi:!0};class U{constructor(de,H){this.source=de,this.checked=H}}let Ce=(()=>{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:()=>Ce});var n=a(6814),c=a(5879),d=a(3680),g=a(4300),r=a(9388),f=a(2495),h=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(de){this._invert=(0,f.Ig)(de)}get max(){return this._max}set max(de){this._max=(0,f.su)(de,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(de){this._min=(0,f.su)(de,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(de){this._step=(0,f.su)(de,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(de){this._thumbLabel=(0,f.Ig)(de)}get tickInterval(){return this._tickInterval}set tickInterval(de){this._tickInterval="auto"===de?"auto":"number"==typeof de||"string"==typeof de?(0,f.su)(de,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(de){if(de!==this._value){let H=(0,f.su)(de,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(de){this._vertical=(0,f.Ig)(de)}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(de){this._focusHostElement(de)}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 de=this.percent,W=this.vertical?`1, ${de}, 1`:`${de}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${W})`,display:0===de?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let de=100*this._tickIntervalPercent,Ee={backgroundSize:this.vertical?`2px ${de}%`:`${de}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${de/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 de=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?de:!de)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const de=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?de:!de}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}constructor(de,H,W,pe,we,Ee,Be,G){super(de),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 de=0;de{if("pointer"===this._isSliding){const ae=ie(re,this._touchId);if(ae){re.cancelable&&re.preventDefault();const ve=this.value;this._lastPointerEvent=re,this._updateValueFromPosition(ae),ve!=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=de.nativeElement;re.addEventListener("mousedown",this._pointerDown,_),re.addEventListener("touchstart",this._pointerDown,_)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(de=>{this._isActive=!!de&&"keyboard"!==de,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const de=this._elementRef.nativeElement;de.removeEventListener("mousedown",this._pointerDown,_),de.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(de){if(this.disabled||(0,h.Vb)(de)||this._isSliding&&"keyboard"!==this._isSliding)return;const H=this.value;switch(de.keyCode){case h.Ku:this._increment(10);break;case h.VM:this._increment(-10);break;case h.uR:this.value=this.max;break;case h.Sd:this.value=this.min;break;case h.oh:this._increment("rtl"==this._getDirection()?1:-1);break;case h.LH:this._increment(1);break;case h.SV:this._increment("rtl"==this._getDirection()?-1:1);break;case h.JH:this._increment(-1);break;default:return}H!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",de.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(de){const H=this._document,W=ee(de),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 de=this._document;de.removeEventListener("mousemove",this._pointerMove,_),de.removeEventListener("mouseup",this._pointerUp,_),de.removeEventListener("touchmove",this._pointerMove,_),de.removeEventListener("touchend",this._pointerUp,_),de.removeEventListener("touchcancel",this._pointerUp,_);const H=this._getWindow();typeof H<"u"&&H&&H.removeEventListener("blur",this._windowBlur)}_increment(de){const H=this._clamp(this.value||0,this.min,this.max);this.value=this._clamp(H+this.step*de,this.min,this.max)}_updateValueFromPosition(de){if(!this._sliderDimensions)return;let we=this._clamp(((this.vertical?de.y:de.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 de;if("auto"==this.tickInterval){let H=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width;de=Math.ceil(30/(H*this.step/(this.max-this.min)))*this.step/H}else de=this.tickInterval*this.step/(this.max-this.min);this._tickIntervalPercent=$(de)?de:0}_createChangeEvent(de=this.value){let H=new E;return H.source=this,H.value=de,H}_calculatePercentage(de){const H=((de||0)-this.min)/(this.max-this.min);return $(H)?H:0}_calculateValue(de){return this.min+de*(this.max-this.min)}_clamp(de,H=0,W=1){return Math.max(H,Math.min(de,W))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(de){this._elementRef.nativeElement.focus(de)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(de){this.value=de}registerOnChange(de){this._controlValueAccessorChangeFn=de}registerOnTouched(de){this.onTouched=de}setDisabledState(de){this.disabled=de}}return Re.\u0275fac=function(de){return new(de||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(de,H){if(1&de&&c.\u0275\u0275viewQuery(p,5),2&de){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(de,H){1&de&&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&de&&(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(de,H){1&de&&(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&de&&(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 de;return de=ee(Re)?"number"==typeof Ae?A(Re.touches,Ae)||A(Re.changedTouches,Ae):Re.touches[0]||Re.changedTouches[0]:Re,de?{x:de.clientX,y:de.clientY}:void 0}function A(Re,Ae){for(let de=0;de{class Re{}return Re.\u0275fac=function(de){return new(de||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:()=>bt});var n=a(5879),c=a(9388),d=a(2495),g=a(8337),r=a(2831),f=a(6672),h=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 se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",se.headerText," ")}}function E(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const se=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(se,Xe.name)," ")}}function I(O){return class extends O{get sticky(){return this._sticky}set sticky(me){const se=this._sticky;this._sticky=(0,d.Ig)(me),this._hasStickyChanged=se!==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(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellDef",""]]}),O})(),ie=(()=>{class O{constructor(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkHeaderCellDef",""]]}),O})(),A=(()=>{class O{constructor(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkFooterCellDef",""]]}),O})();class U{}const Ce=I(U);let Re=(()=>{class O extends Ce{get name(){return this._name}set name(se){this._setNameInput(se)}get stickyEnd(){return this._stickyEnd}set stickyEnd(se){const Xe=this._stickyEnd;this._stickyEnd=(0,d.Ig)(se),this._hasStickyChanged=Xe!==this._stickyEnd}constructor(se){super(),this._table=se,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(se){se&&(this._name=se,this.cssClassFriendlyName=se.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkColumnDef",""]],contentQueries:function(se,Xe,kt){if(1&se&&(n.\u0275\u0275contentQuery(kt,ee,5),n.\u0275\u0275contentQuery(kt,ie,5),n.\u0275\u0275contentQuery(kt,A,5)),2&se){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,se){se.nativeElement.classList.add(...me._columnCssClassName)}}let de=(()=>{class O extends Ae{constructor(se,Xe){super(se,Xe)}}return O.\u0275fac=function(se){return new(se||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(se,Xe){if(super(se,Xe),1===se._table?._elementRef.nativeElement.nodeType){const kt=se._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===kt||"treegrid"===kt?"gridcell":"cell")}}}return O.\u0275fac=function(se){return new(se||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(se,Xe){if(super(se,Xe),1===se._table?._elementRef.nativeElement.nodeType){const kt=se._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===kt||"treegrid"===kt?"gridcell":"cell")}}}return O.\u0275fac=function(se){return new(se||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(se){this._ngZone=se,this._currentSchedule=null,this._destroyed=new u.x}schedule(se){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(se)}scheduleEnd(se){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(se)}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 se=this._currentSchedule;this._currentSchedule=new pe;for(const Xe of se.tasks)Xe();for(const Xe of se.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(se){return new(se||O)(n.\u0275\u0275inject(n.NgZone))},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})(),G=(()=>{class O{constructor(se,Xe){this.template=se,this._differs=Xe}ngOnChanges(se){if(!this._columnsDiffer){const Xe=se.columns&&se.columns.currentValue||[];this._columnsDiffer=this._differs.find(Xe).create(),this._columnsDiffer.diff(Xe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(se){return this instanceof ve?se.headerCell.template:this instanceof Qe?se.footerCell.template:se.cell.template}}return O.\u0275fac=function(se){return new(se||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 ae=I(re);let ve=(()=>{class O extends ae{constructor(se,Xe,kt){super(se,Xe),this._table=kt}ngOnChanges(se){super.ngOnChanges(se)}}return O.\u0275fac=function(se){return new(se||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(se,Xe,kt){super(se,Xe),this._table=kt}ngOnChanges(se){super.ngOnChanges(se)}}return O.\u0275fac=function(se){return new(se||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})(),Ge=(()=>{class O extends G{constructor(se,Xe,kt){super(se,Xe),this._table=kt}}return O.\u0275fac=function(se){return new(se||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(se){this._viewContainer=se,O.mostRecentCellOutlet=this}ngOnDestroy(){O.mostRecentCellOutlet===this&&(O.mostRecentCellOutlet=null)}}return O.mostRecentCellOutlet=null,O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellOutlet",""]]}),O})(),Ct=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Nt=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),_t=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Bt=(()=>{class O{constructor(se){this.templateRef=se,this._contentClassName="cdk-no-data-row"}}return O.\u0275fac=function(se){return new(se||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 Lt{constructor(me,se,Xe,kt,Wt=!0,un=!0,gn){this._isNativeHtmlTable=me,this._stickCellCss=se,this.direction=Xe,this._coalescedStyleScheduler=kt,this._isBrowser=Wt,this._needsPositionStickyOnElement=un,this._positionListener=gn,this._cachedCellWidths=[],this._borderCellCss={top:`${se}-border-elem-top`,bottom:`${se}-border-elem-bottom`,left:`${se}-border-elem-left`,right:`${se}-border-elem-right`}}clearStickyPositioning(me,se){const Xe=[];for(const kt of me)if(kt.nodeType===kt.ELEMENT_NODE){Xe.push(kt);for(let Wt=0;Wt{for(const kt of Xe)this._removeStickyStyle(kt,se)})}updateStickyColumns(me,se,Xe,kt=!0){if(!me.length||!this._isBrowser||!se.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,kt),pn=this._getStickyStartColumnPositions(gn,se),si=this._getStickyEndColumnPositions(gn,Xe),jn=se.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;fnse[fn]?Gi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Fn?[]:gn.slice(Fn).map((Gi,fn)=>Xe[fn+Fn]?Gi:null).reverse()}))})}stickRows(me,se,Xe){if(!this._isBrowser)return;const kt="bottom"===Xe?me.slice().reverse():me,Wt="bottom"===Xe?se.slice().reverse():se,un=[],gn=[],pn=[];for(let jn=0,Fn=0;jn{for(let jn=0;jn{se.some(kt=>!kt)?this._removeStickyStyle(Xe,["bottom"]):this._addStickyStyle(Xe,"bottom",0,!1)})}_removeStickyStyle(me,se){for(const kt of se)me.style[kt]="",me.classList.remove(this._borderCellCss[kt]);Tt.some(kt=>-1===se.indexOf(kt)&&me.style[kt])?me.style.zIndex=this._getCalculatedZIndex(me):(me.style.zIndex="",this._needsPositionStickyOnElement&&(me.style.position=""),me.classList.remove(this._stickCellCss))}_addStickyStyle(me,se,Xe,kt){me.classList.add(this._stickCellCss),kt&&me.classList.add(this._borderCellCss[se]),me.style[se]=`${Xe}px`,me.style.zIndex=this._getCalculatedZIndex(me),this._needsPositionStickyOnElement&&(me.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(me){const se={top:100,bottom:10,left:1,right:1};let Xe=0;for(const kt of Tt)me.style[kt]&&(Xe+=se[kt]);return Xe?`${Xe}`:""}_getCellWidths(me,se=!0){if(!se&&this._cachedCellWidths.length)return this._cachedCellWidths;const Xe=[],kt=me.children;for(let Wt=0;Wt0;Wt--)se[Wt]&&(Xe[Wt]=kt,kt+=me[Wt]);return Xe}}const K=new n.InjectionToken("CDK_SPL");let Te=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","rowOutlet",""]]}),O})(),et=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||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(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","footerRowOutlet",""]]}),O})(),_e=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","noDataRowOutlet",""]]}),O})(),mt=(()=>{class O{get trackBy(){return this._trackByFn}set trackBy(se){this._trackByFn=se}get dataSource(){return this._dataSource}set dataSource(se){this._dataSource!==se&&this._switchDataSource(se)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(se){this._multiTemplateDataRows=(0,d.Ig)(se),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(se){this._fixedLayout=(0,d.Ig)(se),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(se,Xe,kt,Wt,un,gn,pn,si,jn,Fn,bi,Ti){this._differs=se,this._changeDetectorRef=Xe,this._elementRef=kt,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((se,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(se=>{se.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 se=this._dataDiffer.diff(this._renderRows);if(!se)return this._updateNoDataRow(),void this.contentChanged.next();const Xe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(se,Xe,(kt,Wt,un)=>this._getEmbeddedViewArgs(kt.item,un),kt=>kt.item.data,kt=>{1===kt.operation&&kt.context&&this._renderCellTemplateForItem(kt.record.item.rowDef,kt.context)}),this._updateRowIndexContext(),se.forEachIdentityChange(kt=>{Xe.get(kt.currentIndex).context.$implicit=kt.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(se){this._customColumnDefs.add(se)}removeColumnDef(se){this._customColumnDefs.delete(se)}addRowDef(se){this._customRowDefs.add(se)}removeRowDef(se){this._customRowDefs.delete(se)}addHeaderRowDef(se){this._customHeaderRowDefs.add(se),this._headerRowDefChanged=!0}removeHeaderRowDef(se){this._customHeaderRowDefs.delete(se),this._headerRowDefChanged=!0}addFooterRowDef(se){this._customFooterRowDefs.add(se),this._footerRowDefChanged=!0}removeFooterRowDef(se){this._customFooterRowDefs.delete(se),this._footerRowDefChanged=!0}setNoDataRow(se){this._customNoDataRow=se}updateStickyHeaderRowStyles(){const se=this._getRenderedRows(this._headerRowOutlet),kt=this._elementRef.nativeElement.querySelector("thead");kt&&(kt.style.display=se.length?"":"none");const Wt=this._headerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(se,["top"]),this._stickyStyler.stickRows(se,Wt,"top"),this._headerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyFooterRowStyles(){const se=this._getRenderedRows(this._footerRowOutlet),kt=this._elementRef.nativeElement.querySelector("tfoot");kt&&(kt.style.display=se.length?"":"none");const Wt=this._footerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(se,["bottom"]),this._stickyStyler.stickRows(se,Wt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Wt),this._footerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyColumnStyles(){const se=this._getRenderedRows(this._headerRowOutlet),Xe=this._getRenderedRows(this._rowOutlet),kt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...se,...Xe,...kt],["left","right"]),this._stickyColumnStylesNeedReset=!1),se.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 se=[],Xe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let kt=0;kt{const gn=kt&&kt.has(un)?kt.get(un):[];if(gn.length){const pn=gn.shift();return pn.dataIndex=Xe,pn}return{data:se,rowDef:un,dataIndex:Xe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Pt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Xe=>{this._columnDefsByName.has(Xe.name),this._columnDefsByName.set(Xe.name,Xe)})}_cacheRowDefs(){this._headerRowDefs=Pt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Pt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Pt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const se=this._rowDefs.filter(Xe=>!Xe.when);this._defaultRowDef=se[0]}_renderUpdatedColumns(){const se=(un,gn)=>un||!!gn.getColumnsDiff(),Xe=this._rowDefs.reduce(se,!1);Xe&&this._forceRenderDataRows();const kt=this._headerRowDefs.reduce(se,!1);kt&&this._forceRenderHeaderRows();const Wt=this._footerRowDefs.reduce(se,!1);return Wt&&this._forceRenderFooterRows(),Xe||kt||Wt}_switchDataSource(se){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),se||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=se}_observeRenderChanges(){if(!this.dataSource)return;let se;(0,g.Z9)(this.dataSource)?se=this.dataSource.connect(this):(0,p.b)(this.dataSource)?se=this.dataSource:Array.isArray(this.dataSource)&&(se=(0,_.of)(this.dataSource)),this._renderChangeSubscription=se.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((se,Xe)=>this._renderRow(this._headerRowOutlet,se,Xe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((se,Xe)=>this._renderRow(this._footerRowOutlet,se,Xe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(se,Xe){const kt=Array.from(Xe.columns||[]).map(gn=>this._columnDefsByName.get(gn)),Wt=kt.map(gn=>gn.sticky),un=kt.map(gn=>gn.stickyEnd);this._stickyStyler.updateStickyColumns(se,Wt,un,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(se){const Xe=[];for(let kt=0;kt!Wt.when||Wt.when(Xe,se));else{let Wt=this._rowDefs.find(un=>un.when&&un.when(Xe,se))||this._defaultRowDef;Wt&&kt.push(Wt)}return kt}_getEmbeddedViewArgs(se,Xe){return{templateRef:se.rowDef.template,context:{$implicit:se.data},index:Xe}}_renderRow(se,Xe,kt,Wt={}){const un=se.viewContainer.createEmbeddedView(Xe.template,Wt,kt);return this._renderCellTemplateForItem(Xe,Wt),un}_renderCellTemplateForItem(se,Xe){for(let kt of this._getCellTemplates(se))tt.mostRecentCellOutlet&&tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(kt,Xe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const se=this._rowOutlet.viewContainer;for(let Xe=0,kt=se.length;Xe{const kt=this._columnDefsByName.get(Xe);return se.extractCellTemplate(kt)}):[]}_applyNativeTableSections(){const se=this._document.createDocumentFragment(),Xe=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const kt of Xe){const Wt=this._document.createElement(kt.tag);Wt.setAttribute("role","rowgroup");for(const un of kt.outlets)Wt.appendChild(un.elementRef.nativeElement);se.appendChild(Wt)}this._elementRef.nativeElement.appendChild(se)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const se=(Xe,kt)=>Xe||kt.hasStickyChanged();this._headerRowDefs.reduce(se,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(se,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(se,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Lt(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(se){return se.filter(Xe=>!Xe._table||Xe._table===this)}_updateNoDataRow(){const se=this._customNoDataRow||this._noDataRow;if(!se)return;const Xe=0===this._rowOutlet.viewContainer.length;if(Xe===this._isShowingNoDataRow)return;const kt=this._noDataRowOutlet.viewContainer;if(Xe){const Wt=kt.createEmbeddedView(se.templateRef),un=Wt.rootNodes[0];1===Wt.rootNodes.length&&un?.nodeType===this._document.ELEMENT_NODE&&(un.setAttribute("role","row"),un.classList.add(se._contentClassName))}else kt.clear();this._isShowingNoDataRow=Xe}}return O.\u0275fac=function(se){return new(se||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(h.DOCUMENT),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(g.k),n.\u0275\u0275directiveInject(we),n.\u0275\u0275directiveInject(f.rL),n.\u0275\u0275directiveInject(K,12),n.\u0275\u0275directiveInject(n.NgZone,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(se,Xe,kt){if(1&se&&(n.\u0275\u0275contentQuery(kt,Bt,5),n.\u0275\u0275contentQuery(kt,Re,5),n.\u0275\u0275contentQuery(kt,Ge,5),n.\u0275\u0275contentQuery(kt,ve,5),n.\u0275\u0275contentQuery(kt,Qe,5)),2&se){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(se,Xe){if(1&se&&(n.\u0275\u0275viewQuery(Te,7),n.\u0275\u0275viewQuery(et,7),n.\u0275\u0275viewQuery(Dt,7),n.\u0275\u0275viewQuery(_e,7)),2&se){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._rowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._headerRowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._footerRowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._noDataRowOutlet=kt.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(se,Xe){2&se&&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:K,useValue:null}])],ngContentSelectors:D,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,Xe){1&se&&(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,et,Dt,_e],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),O})();function Pt(O,me){return O.concat(Array.from(me))}let Ft=(()=>{class O{get name(){return this._name}set name(se){this._name=se,this._syncColumnDefName()}constructor(se,Xe){this._table=se,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||((se,Xe)=>se[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 se=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(se):se[0].toUpperCase()+se.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(mt,8),n.\u0275\u0275directiveInject($,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-text-column"]],viewQuery:function(se,Xe){if(1&se&&(n.\u0275\u0275viewQuery(Re,7),n.\u0275\u0275viewQuery(ee,7),n.\u0275\u0275viewQuery(ie,7)),2&se){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.columnDef=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.cell=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.headerCell=kt.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(se,Xe){1&se&&(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,de],encapsulation:2}),O})(),Oe=(()=>{class O{}return O.\u0275fac=function(se){return new(se||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.Cl]}),O})();var Ke=a(3680),he=a(3019),ge=a(2572),ct=a(7398);class bt 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=(se,Xe)=>{const kt=se[Xe];if((0,d.t6)(kt)){const Wt=Number(kt);return Wt<9007199254740991?Wt:kt}return kt},this.sortData=(se,Xe)=>{const kt=Xe.active,Wt=Xe.direction;return kt&&""!=Wt?se.sort((un,gn)=>{let pn=this.sortingDataAccessor(un,kt),si=this.sortingDataAccessor(gn,kt);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 kt=Object.keys(se).reduce((un,gn)=>un+se[gn]+"\u25ec","").toLowerCase(),Wt=Xe.trim().toLowerCase();return-1!=kt.indexOf(Wt)},this._data=new b.X(me),this._updateChangeSubscription()}_updateChangeSubscription(){const me=this._sort?(0,he.T)(this._sort.sortChange,this._sort.initialized):(0,_.of)(null),se=this._paginator?(0,he.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,_.of)(null),kt=(0,ge.a)([this._data,this._filter]).pipe((0,ct.U)(([gn])=>this._filterData(gn))),Wt=(0,ge.a)([kt,me]).pipe((0,ct.U)(([gn])=>this._orderData(gn))),un=(0,ge.a)([Wt,se]).pipe((0,ct.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(se=>this.filterPredicate(se,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 se=this.paginator.pageIndex*this.paginator.pageSize;return me.slice(se,se+this.paginator.pageSize)}_updatePaginator(me){Promise.resolve().then(()=>{const se=this.paginator;if(se&&(se.length=me,se.pageIndex>0)){const Xe=Math.ceil(se.length/se.pageSize)-1||0,kt=Math.min(se.pageIndex,Xe);kt!==se.pageIndex&&(se.pageIndex=kt,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 se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",se.headerText," ")}}function sn(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const se=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(se,Xe.name)," ")}}let Nn=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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 mt{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(se,Xe){2&se&&n.\u0275\u0275classProp("mat-table-fixed-layout",Xe.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:g.k,useClass:g.yy},{provide:mt,useExisting:O},{provide:X,useExisting:O},{provide:we,useClass:Ee},{provide:K,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:nn,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,Xe){1&se&&(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,et,Dt,_e],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(se){this._setNameInput(se)}_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 de{}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 ve{}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:ve,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 Ge{}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:Ge,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),Yn=(()=>{class O extends Ct{}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:Ct,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),wi=(()=>{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-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Nt,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),ri=(()=>{class O extends _t{}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:_t,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&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 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-text-column"]],hostVars:1,hostBindings:function(se,Xe){2&se&&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(se,Xe){1&se&&(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(se){return new(se||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[Oe,Ke.MatCommonModule,Ke.MatCommonModule]}),O})();class ke extends bt{}},8615:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_TAB:()=>at,MAT_LEGACY_TABS_CONFIG:()=>Me,MAT_LEGACY_TAB_CONTENT:()=>Le,MAT_LEGACY_TAB_GROUP:()=>mt,MatLegacyInkBar:()=>_i,MatLegacyPaginatedTabHeader:()=>he,MatLegacyTab:()=>$n,MatLegacyTabBody:()=>an,MatLegacyTabBodyPortal:()=>ti,MatLegacyTabChangeEvent:()=>Q,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:()=>ce,_MatLegacyTabBase:()=>Pt,_MatLegacyTabBodyBase:()=>Tt,_MatLegacyTabGroupBase:()=>F,_MatLegacyTabHeaderBase:()=>ge,_MatLegacyTabLinkBase:()=>qe,_MatLegacyTabNavBase:()=>dt,matLegacyTabsAnimations:()=>_t});var n=a(4300),c=a(7131),d=a(8484),g=a(6814),r=a(5879),f=a(3680),h=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),Ce=a(2831),Re=a(6028);function Ae(Mt,jt){}const de=function(Mt){return{animationDuration:Mt}},H=function(Mt,jt){return{value:Mt,params:jt}},_t={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 Mt extends d.Pl{constructor(ke,O,me,se){super(ke,O,se),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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Lt)),r.\u0275\u0275directiveInject(g.DOCUMENT))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),Tt=(()=>{class Mt{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(se=>{this._computePositionAnimationState(se),me.markForCheck()})),this._translateTabComplete.pipe((0,E.x)((se,Xe)=>se.fromState===Xe.fromState&&se.toState===Xe.toState)).subscribe(se=>{this._isCenterPosition(se.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(se.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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Mt})(),Lt=(()=>{class Mt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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(se){return O._onTranslateTabStarted(se)})("@translateTab.done",function(se){return O._translateTabComplete.next(se)}),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,de,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:[_t.translateTab]}}),Mt})();const Le=new r.InjectionToken("MatTabContent");let lt=(()=>{class Mt{constructor(ke){this.template=ke}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.TemplateRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Mt}])]}),Mt})();const ze=new r.InjectionToken("MatTabLabel"),at=new r.InjectionToken("MAT_TAB");let N=(()=>{class Mt extends d.ig{constructor(ke,O,me){super(ke,O),this._closestTab=me}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(at,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})();function ce(){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:ce}),et=(0,f.mixinDisabled)(class{});let Dt=(()=>{class Mt extends et{constructor(ke){super(),this.elementRef=ke}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();const Pe=(0,f.mixinDisabled)(class{}),mt=new r.InjectionToken("MAT_TAB_GROUP");let Pt=(()=>{class Mt extends Pe{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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(mt,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})();const Gt=(0,Ce.i$)({passive:!0});let he=(()=>{class Mt{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,se,Xe,kt,Wt){this._elementRef=ke,this._changeDetectorRef=O,this._viewportRuler=me,this._dir=se,this._ngZone=Xe,this._platform=kt,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",Gt).pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,p.R)(this._nextPaginator.nativeElement,"touchstart",Gt).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,h.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(se=>{this.indexFocused.emit(se),this._setTabFocus(se)})}_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(se=>O.next(se));return ke.forEach(se=>me.observe(se.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:se,offsetWidth:Xe}=O.elementRef.nativeElement;let kt,Wt;"ltr"==this._getLayoutDirection()?(kt=se,Wt=kt+Xe):(Wt=this._tabListInner.nativeElement.offsetWidth-se,kt=Wt-Xe);const un=this.scrollDistance,gn=this.scrollDistance+me;ktgn&&(this.scrollDistance+=Math.min(Wt-gn,kt-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:se}=this._scrollHeader(ke);(0===se||se>=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 Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{disablePagination:"disablePagination"}}),Mt})(),ge=(()=>{class Mt extends he{get disableRipple(){return this._disableRipple}set disableRipple(ke){this._disableRipple=(0,A.Ig)(ke)}constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt),this._disableRipple=!1}_itemSelected(ke){ke.preventDefault()}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();const Me=new r.InjectionToken("MAT_TABS_CONFIG");let Ye=0;const De=(0,f.mixinColor)((0,f.mixinDisableRipple)(class{constructor(Mt){this._elementRef=Mt}}),"primary");let F=(()=>{class Mt 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,se){super(ke),this._changeDetectorRef=O,this._animationMode=se,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,se)=>me.isActive=se===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 se=0;se{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 Q;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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Me,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})();class Q{}let be=0,dt=(()=>{class Mt extends he{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,se,Xe,kt,Wt){super(ke,se,Xe,O,me,kt,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 Mt extends Rt{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,se,Xe,kt){super(),this._tabNavBar=ke,this.elementRef=O,this._focusMonitor=Xe,this._isActive=!1,this.id="mat-tab-link-"+be++,this.rippleConfig=me||{},this.tabIndex=parseInt(se)||0,"NoopAnimations"===kt&&(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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(dt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{active:"active",id:"id"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();function xn(Mt,jt){1&Mt&&r.\u0275\u0275projection(0)}const Sn=["*"];function _n(Mt,jt){}const Mn=function(Mt){return{animationDuration:Mt}},xi=function(Mt,jt){return{value:Mt,params:jt}},fi=["tabListContainer"],Vi=["tabList"],Yi=["tabListInner"],xt=["nextPaginator"],bt=["previousPaginator"],pt=["tabBodyWrapper"],qt=["tabHeader"];function nn(Mt,jt){}function cn(Mt,jt){if(1&Mt&&r.\u0275\u0275template(0,nn,0,0,"ng-template",10),2&Mt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",ke.templateLabel)}}function sn(Mt,jt){if(1&Mt&&r.\u0275\u0275text(0),2&Mt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(ke.textLabel)}}function Nn(Mt,jt){if(1&Mt){const ke=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const me=r.\u0275\u0275restoreView(ke),se=me.$implicit,Xe=me.index,kt=r.\u0275\u0275nextContext(),Wt=r.\u0275\u0275reference(1);return r.\u0275\u0275resetView(kt._handleClick(se,Wt,Xe))})("cdkFocusChange",function(me){const Xe=r.\u0275\u0275restoreView(ke).index,kt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(kt._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&Mt){const ke=jt.$implicit,O=jt.index,me=r.\u0275\u0275reference(4),se=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",se.selectedIndex===O),r.\u0275\u0275property("id",se._getTabLabelId(O))("ngClass",ke.labelClass)("disabled",ke.disabled)("matRippleDisabled",ke.disabled||se.disableRipple),r.\u0275\u0275attribute("tabIndex",se._getTabIndex(O))("aria-posinset",O+1)("aria-setsize",se._tabs.length)("aria-controls",se._getTabContentId(O))("aria-selected",se.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(Mt,jt){if(1&Mt){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 se=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(se._setTabBodyWrapperHeight(me))}),r.\u0275\u0275elementEnd()}if(2&Mt){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 Mt{constructor(ke,O,me,se){this._elementRef=ke,this._ngZone=O,this._inkBarPositioner=me,this._animationMode=se}alignToElement(ke){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,h.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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Te),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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)}}),Mt})(),$n=(()=>{class Mt extends Pt{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(ke){this._setTemplateLabelInput(ke)}}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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 se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O.templateLabel=se.first),r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._explicitContent=se.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:Mt}]),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}),Mt})(),ti=(()=>{class Mt extends Bt{constructor(ke,O,me,se){super(ke,O,me,se)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>an)),r.\u0275\u0275directiveInject(g.DOCUMENT))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),an=(()=>{class Mt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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(se){return O._onTranslateTabStarted(se)})("@translateTab.done",function(se){return O._translateTabComplete.next(se)}),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:[_t.translateTab]}}),Mt})(),mn=(()=>{class Mt extends Dt{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})(),Tn=(()=>{class Mt extends ge{constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["mat-tab-header"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,mn,4),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._items=se)}},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(xt,5),r.\u0275\u0275viewQuery(bt,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(se){return O._handlePaginatorPress("before",se)})("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(se){return O._handleKeydown(se)}),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(se){return O._handlePaginatorPress("after",se)})("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:[f.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}),Mt})(),Rn=(()=>{class Mt extends F{constructor(ke,O,me,se){super(ke,O,me,se)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Me,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["mat-tab-group"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,$n,5),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._allTabs=se)}},viewQuery:function(ke,O){if(1&ke&&(r.\u0275\u0275viewQuery(pt,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:mt,useExisting:Mt}]),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(se){return O._focusChanged(se)})("selectFocusedIndex",function(se){return O.selectedIndex=se}),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,f.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}),Mt})(),Wn=0,mi=(()=>{class Mt extends dt{constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,Yn,5),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._items=se)}},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(xt,5),r.\u0275\u0275viewQuery(bt,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(se){return O._handlePaginatorPress("before",se)})("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(se){return O._handleKeydown(se)}),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(se){return O._handlePaginatorPress("after",se)})("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:[f.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}),Mt})(),Yn=(()=>{class Mt extends qe{constructor(ke,O,me,se,Xe,kt,Wt,un){super(ke,O,Xe,kt,Wt,un),this._tabLinkRipple=new f.RippleRenderer(this,me,O,se),this._tabLinkRipple.setupTriggerEvents(O.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(mi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Ce.t4),r.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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(se){return O._handleKeydown(se)}),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]}),Mt})(),wi=(()=>{class Mt{constructor(){this.id="mat-tab-nav-panel-"+Wn++}}return Mt.\u0275fac=function(ke){return new(ke||Mt)},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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}),Mt})(),ri=(()=>{class Mt extends N{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),ai=(()=>{class Mt extends lt{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),Ni=(()=>{class Mt{}return Mt.\u0275fac=function(ke){return new(ke||Mt)},Mt.\u0275mod=r.\u0275\u0275defineNgModule({type:Mt}),Mt.\u0275inj=r.\u0275\u0275defineInjector({imports:[g.CommonModule,f.MatCommonModule,d.eL,f.MatRippleModule,c.Q8,n.rt,f.MatCommonModule]}),Mt})()},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"]]],f=["*","mat-toolbar-row"],h=(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 h{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:f,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:()=>We});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 Ge(je,T,P=new Map,ue=new Map){const Fe=[],it=[];let It=-1,Et=null;if(T.forEach(Qt=>{const en=Qt.get("offset"),In=en==It,Ln=In&&Et||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=ue.get(li);break;default:ii=je.normalizeStyleValue(li,Gn,ii,Fe)}Ln.set(Gn,ii)}),In||it.push(Ln),Et=Ln,It=en}),Fe.length)throw function de(je){return new n.\u0275RuntimeError(3502,!1)}();return it}function tt(je,T,P,ue){switch(T){case"start":je.onStart(()=>ue(P&&Ct(P,"start",je)));break;case"done":je.onDone(()=>ue(P&&Ct(P,"done",je)));break;case"destroy":je.onDestroy(()=>ue(P&&Ct(P,"destroy",je)))}}function Ct(je,T,P){const it=Nt(je.element,je.triggerName,je.fromState,je.toState,T||je.phaseName,P.totalTime??je.totalTime,!!P.disabled),It=je._data;return null!=It&&(it._data=It),it}function Nt(je,T,P,ue,Fe="",it=0,It){return{element:je,triggerName:T,fromState:P,toState:ue,phaseName:Fe,totalTime:it,disabled:!!It}}function _t(je,T,P){let ue=je.get(T);return ue||je.set(T,ue=P),ue}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 Lt(je){const T=je.parentNode||je.host||null;return T===Tt?null:T}let lt=null,ze=!1;function Y(je,T){for(;T;){if(T===je)return!0;T=Lt(T)}return!1}function ne(je,T,P){if(P)return Array.from(je.querySelectorAll(T));const ue=je.querySelector(T);return ue?[ue]:[]}let ce=(()=>{class je{validateStyleProperty(P){return function at(je){lt||(lt=function oe(){return typeof document<"u"?document.body:null}()||{},ze=!!lt.style&&"WebkitAppearance"in lt.style);let T=!0;return lt.style&&!function Le(je){return"ebkit"==je.substring(1,6)}(je)&&(T=je in lt.style,!T&&ze&&(T="Webkit"+je.charAt(0).toUpperCase()+je.slice(1)in lt.style)),T}(P)}matchesElement(P,ue){return!1}containsElement(P,ue){return Y(P,ue)}getParentElement(P){return Lt(P)}query(P,ue,Fe){return ne(P,ue,Fe)}computeStyle(P,ue,Fe){return Fe||""}animate(P,ue,Fe,it,It,Et=[],Qt){return new d.ZN(Fe,it)}}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 ce,je})();const et=1e3,ut="ng-enter",Pe="ng-leave",mt="ng-trigger",Pt=".ng-trigger",Ft="ng-animating",Gt=".ng-animating";function Oe(je){if("number"==typeof je)return je;const T=je.match(/^(-?[\.\d]+)(m?s)/);return!T||T.length<2?0:Ke(parseFloat(T[1]),T[2])}function Ke(je,T){return"s"===T?je*et:je}function he(je,T,P){return je.hasOwnProperty("duration")?je:function ge(je,T,P){let Fe,it=0,It="";if("string"==typeof je){const Et=je.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Et)return T.push(r()),{duration:0,delay:0,easing:""};Fe=Ke(parseFloat(Et[1]),Et[2]);const Qt=Et[3];null!=Qt&&(it=Ke(parseFloat(Qt),Et[4]));const en=Et[5];en&&(It=en)}else Fe=je;if(!P){let Et=!1,Qt=T.length;Fe<0&&(T.push(function f(){return new n.\u0275RuntimeError(3100,!1)}()),Et=!0),it<0&&(T.push(function h(){return new n.\u0275RuntimeError(3101,!1)}()),Et=!0),Et&&T.splice(Qt,0,r())}return{duration:Fe,delay:it,easing:It}}(je,T,P)}function ct(je,T={}){return Object.keys(je).forEach(P=>{T[P]=je[P]}),T}function Me(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[ue,Fe]of P)T.set(ue,Fe);for(let[ue,Fe]of je)T.set(ue,Fe);return T}function V(je,T,P){T.forEach((ue,Fe)=>{const it=At(Fe);P&&!P.has(Fe)&&P.set(Fe,je.style[it]),je.style[it]=ue})}function Q(je,T){T.forEach((P,ue)=>{const Fe=At(ue);je.style[Fe]=""})}function be(je){return Array.isArray(je)?1==je.length?je[0]:(0,d.vP)(je):je}const Rt=new RegExp("{{\\s*(.+?)\\s*}}","g");function qe(je){let T=[];if("string"==typeof je){let P;for(;P=Rt.exec(je);)T.push(P[1]);Rt.lastIndex=0}return T}function nt(je,T,P){const ue=je.toString(),Fe=ue.replace(Rt,(it,It)=>{let Et=T[It];return null==Et&&(P.push(function v(je){return new n.\u0275RuntimeError(3003,!1)}()),Et=""),Et.toString()});return Fe==ue?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 At(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 pt="*";function qt(je,T){const P=[];return"string"==typeof je?je.split(/\s*,\s*/).forEach(ue=>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,ue)=>parseFloat(ue)>parseFloat(P);case":decrement":return(P,ue)=>parseFloat(ue) *"}}(je,P);if("function"==typeof Qt)return void T.push(Qt);je=Qt}const ue=je.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==ue||ue.length<4)return P.push(function A(je){return new n.\u0275RuntimeError(3015,!1)}()),T;const Fe=ue[1],it=ue[2],It=ue[3];T.push(wn(Fe,It));"<"==it[0]&&!(Fe==pt&&It==pt)&&T.push(wn(It,Fe))}(ue,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),ue=sn.has(T)||Nn.has(T);return(Fe,it)=>{let It=je==pt||je==Fe,Et=T==pt||T==it;return!It&&P&&"boolean"==typeof Fe&&(It=Fe?sn.has(je):Nn.has(je)),!Et&&ue&&"boolean"==typeof it&&(Et=it?sn.has(T):Nn.has(T)),It&&Et}}const _i=new RegExp("s*:selfs*,?","g");function $n(je,T,P,ue){return new an(je).build(T,P,ue)}class an{constructor(T){this._driver=T}build(T,P,ue){const Fe=new Rn(P);return this._resetContextStyleTimingState(Fe),_n(this,be(T),Fe)}_resetContextStyleTimingState(T){T.currentQuerySelector="",T.collectedStyles=new Map,T.collectedStyles.set("",new Map),T.currentTime=0}visitTrigger(T,P){let ue=P.queryCount=0,Fe=P.depCount=0;const it=[],It=[];return"@"==T.name.charAt(0)&&P.errors.push(function _(){return new n.\u0275RuntimeError(3006,!1)}()),T.definitions.forEach(Et=>{if(this._resetContextStyleTimingState(P),0==Et.type){const Qt=Et,en=Qt.name;en.toString().split(/\s*,\s*/).forEach(In=>{Qt.name=In,it.push(this.visitState(Qt,P))}),Qt.name=en}else if(1==Et.type){const Qt=this.visitTransition(Et,P);ue+=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:it,transitions:It,queryCount:ue,depCount:Fe,options:null}}visitState(T,P){const ue=this.visitStyle(T.styles,P),Fe=T.options&&T.options.params||null;if(ue.containsDynamicStyles){const it=new Set,It=Fe||{};ue.styles.forEach(Et=>{Et instanceof Map&&Et.forEach(Qt=>{qe(Qt).forEach(en=>{It.hasOwnProperty(en)||it.add(en)})})}),it.size&&(Ve(it.values()),P.errors.push(function y(je,T){return new n.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:T.name,style:ue,options:Fe?{params:Fe}:null}}visitTransition(T,P){P.queryCount=0,P.depCount=0;const ue=_n(this,be(T.animation),P);return{type:1,matchers:qt(T.expr,P.errors),animation:ue,queryCount:P.queryCount,depCount:P.depCount,options:Yn(T.options)}}visitSequence(T,P){return{type:2,steps:T.steps.map(ue=>_n(this,ue,P)),options:Yn(T.options)}}visitGroup(T,P){const ue=P.currentTime;let Fe=0;const it=T.steps.map(It=>{P.currentTime=ue;const Et=_n(this,It,P);return Fe=Math.max(Fe,P.currentTime),Et});return P.currentTime=Fe,{type:3,steps:it,options:Yn(T.options)}}visitAnimate(T,P){const ue=function mi(je,T){if(je.hasOwnProperty("duration"))return je;if("number"==typeof je)return wi(he(je,T).duration,0,"");const P=je;if(P.split(/\s+/).some(it=>"{"==it.charAt(0)&&"{"==it.charAt(1))){const it=wi(0,0,"");return it.dynamic=!0,it.strValue=P,it}const Fe=he(P,T);return wi(Fe.duration,Fe.delay,Fe.easing)}(T.timings,P.errors);P.currentAnimateTimings=ue;let Fe,it=T.styles?T.styles:(0,d.oB)({});if(5==it.type)Fe=this.visitKeyframes(it,P);else{let It=T.styles,Et=!1;if(!It){Et=!0;const en={};ue.easing&&(en.easing=ue.easing),It=(0,d.oB)(en)}P.currentTime+=ue.duration+ue.delay;const Qt=this.visitStyle(It,P);Qt.isEmptyStep=Et,Fe=Qt}return P.currentAnimateTimings=null,{type:4,timings:ue,style:Fe,options:null}}visitStyle(T,P){const ue=this._makeStyleAst(T,P);return this._validateStyleAst(ue,P),ue}_makeStyleAst(T,P){const ue=[],Fe=Array.isArray(T.styles)?T.styles:[T.styles];for(let Et of Fe)"string"==typeof Et?Et===d.l3?ue.push(Et):P.errors.push(new n.\u0275RuntimeError(3002,!1)):ue.push(Me(Et));let it=!1,It=null;return ue.forEach(Et=>{if(Et instanceof Map&&(Et.has("easing")&&(It=Et.get("easing"),Et.delete("easing")),!it))for(let Qt of Et.values())if(Qt.toString().indexOf("{{")>=0){it=!0;break}}),{type:6,styles:ue,easing:It,offset:T.offset,containsDynamicStyles:it,options:null}}_validateStyleAst(T,P){const ue=P.currentAnimateTimings;let Fe=P.currentTime,it=P.currentTime;ue&&it>0&&(it-=ue.duration+ue.delay),T.styles.forEach(It=>{"string"!=typeof It&&It.forEach((Et,Qt)=>{const en=P.collectedStyles.get(P.currentQuerySelector),In=en.get(Qt);let Ln=!0;In&&(it!=Fe&&it>=In.startTime&&Fe<=In.endTime&&(P.errors.push(function S(je,T,P,ue,Fe){return new n.\u0275RuntimeError(3010,!1)}()),Ln=!1),it=In.startTime),Ln&&en.set(Qt,{startTime:it,endTime:Fe}),P.options&&function dt(je,T,P){const ue=T.params||{},Fe=qe(je);Fe.length&&Fe.forEach(it=>{ue.hasOwnProperty(it)||P.push(function u(je){return new n.\u0275RuntimeError(3001,!1)}())})}(Et,P.options,P.errors)})})}visitKeyframes(T,P){const ue={type:5,styles:[],options:null};if(!P.currentAnimateTimings)return P.errors.push(function E(){return new n.\u0275RuntimeError(3011,!1)}()),ue;let it=0;const It=[];let Et=!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 ue=P;T=parseFloat(ue.get("offset")),ue.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&&(it++,nr=Ki.offset=sr),Qt=Qt||nr<0||nr>1,Et=Et||nr0&&it{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,ue.styles.push(qi)}),ue}visitReference(T,P){return{type:8,animation:_n(this,be(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 ue=P.currentQuerySelector,Fe=T.options||{};P.queryCount++,P.currentQuery=T;const[it,It]=function mn(je){const T=!!je.split(/\s*,\s*/).find(P=>":self"==P);return T&&(je=je.replace(_i,"")),je=je.replace(/@\*/g,Pt).replace(/@\w+/g,P=>Pt+"-"+P.slice(1)).replace(/:animating/g,Gt),[je,T]}(T.selector);P.currentQuerySelector=ue.length?ue+" "+it:it,_t(P.collectedStyles,P.currentQuerySelector,new Map);const Et=_n(this,be(T.animation),P);return P.currentQuery=null,P.currentQuerySelector=ue,{type:11,selector:it,limit:Fe.limit||0,optional:!!Fe.optional,includeSelf:It,animation:Et,originalSelector:T.selector,options:Yn(T.options)}}visitStagger(T,P){P.currentQuery||P.errors.push(function ee(){return new n.\u0275RuntimeError(3013,!1)}());const ue="full"===T.timings?{duration:0,delay:0,easing:"full"}:he(T.timings,P.errors,!0);return{type:12,animation:_n(this,be(T.animation),P),timings:ue,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=ct(je)).params&&(je.params=function Tn(je){return je?ct(je):null}(je.params)):je={},je}function wi(je,T,P){return{duration:je,delay:T,easing:P}}function ri(je,T,P,ue,Fe,it,It=null,Et=!1){return{type:1,element:je,keyframes:T,preStyleProps:P,postStyleProps:ue,duration:Fe,delay:it,totalTime:Fe+it,easing:It,subTimeline:Et}}class ai{constructor(){this._map=new Map}get(T){return this._map.get(T)||[]}append(T,P){let ue=this._map.get(T);ue||this._map.set(T,ue=[]),ue.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,ue,Fe,it=new Map,It=new Map,Et,Qt,en=[]){return(new se).buildKeyframes(je,T,P,ue,Fe,it,It,Et,Qt,en)}class se{buildKeyframes(T,P,ue,Fe,it,It,Et,Qt,en,In=[]){en=en||new ai;const Ln=new kt(T,P,en,Fe,it,In,[]);Ln.options=Qt;const pi=Qt.delay?Oe(Qt.delay):0;Ln.currentTimeline.delayNextStep(pi),Ln.currentTimeline.setStyles([It],null,Ln.errors,Qt),_n(this,ue,Ln);const li=Ln.timelines.filter(Gn=>Gn.containsAnimation());if(li.length&&Et.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([Et],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 ue=P.subInstructions.get(P.element);if(ue){const Fe=P.createSubContext(T.options),it=P.currentTimeline.currentTime,It=this._visitSubInstructions(ue,Fe,Fe.options);it!=It&&P.transformIntoNewTimeline(It)}P.previousNode=T}visitAnimateRef(T,P){const ue=P.createSubContext(T.options);ue.transformIntoNewTimeline(),this._applyAnimationRefDelays([T.options,T.animation.options],P,ue),this.visitReference(T.animation,ue),P.transformIntoNewTimeline(ue.currentTimeline.currentTime),P.previousNode=T}_applyAnimationRefDelays(T,P,ue){for(const Fe of T){const it=Fe?.delay;if(it){const It="number"==typeof it?it:Oe(nt(it,Fe?.params??{},P.errors));ue.delayNextStep(It)}}}_visitSubInstructions(T,P,ue){let it=P.currentTimeline.currentTime;const It=null!=ue.duration?Oe(ue.duration):null,Et=null!=ue.delay?Oe(ue.delay):null;return 0!==It&&T.forEach(Qt=>{const en=P.appendInstructionToTimeline(Qt,It,Et);it=Math.max(it,en.duration+en.delay)}),it}visitReference(T,P){P.updateOptions(T.options,!0),_n(this,T.animation,P),P.previousNode=T}visitSequence(T,P){const ue=P.subContextCount;let Fe=P;const it=T.options;if(it&&(it.params||it.delay)&&(Fe=P.createSubContext(it),Fe.transformIntoNewTimeline(),null!=it.delay)){6==Fe.previousNode.type&&(Fe.currentTimeline.snapshotCurrentStyles(),Fe.previousNode=Xe);const It=Oe(it.delay);Fe.delayNextStep(It)}T.steps.length&&(T.steps.forEach(It=>_n(this,It,Fe)),Fe.currentTimeline.applyStylesToKeyframe(),Fe.subContextCount>ue&&Fe.transformIntoNewTimeline()),P.previousNode=T}visitGroup(T,P){const ue=[];let Fe=P.currentTimeline.currentTime;const it=T.options&&T.options.delay?Oe(T.options.delay):0;T.steps.forEach(It=>{const Et=P.createSubContext(T.options);it&&Et.delayNextStep(it),_n(this,It,Et),Fe=Math.max(Fe,Et.currentTimeline.currentTime),ue.push(Et.currentTimeline)}),ue.forEach(It=>P.currentTimeline.mergeTimelineCollectedStyles(It)),P.transformIntoNewTimeline(Fe),P.previousNode=T}_visitTiming(T,P){if(T.dynamic){const ue=T.strValue;return he(P.params?nt(ue,P.params,P.errors):ue,P.errors)}return{duration:T.duration,delay:T.delay,easing:T.easing}}visitAnimate(T,P){const ue=P.currentAnimateTimings=this._visitTiming(T.timings,P),Fe=P.currentTimeline;ue.delay&&(P.incrementTime(ue.delay),Fe.snapshotCurrentStyles());const it=T.style;5==it.type?this.visitKeyframes(it,P):(P.incrementTime(ue.duration),this.visitStyle(it,P),Fe.applyStylesToKeyframe()),P.currentAnimateTimings=null,P.previousNode=T}visitStyle(T,P){const ue=P.currentTimeline,Fe=P.currentAnimateTimings;!Fe&&ue.hasCurrentStyleProperties()&&ue.forwardFrame();const it=Fe&&Fe.easing||T.easing;T.isEmptyStep?ue.applyEmptyStep(it):ue.setStyles(T.styles,it,P.errors,P.options),P.previousNode=T}visitKeyframes(T,P){const ue=P.currentAnimateTimings,Fe=P.currentTimeline.duration,it=ue.duration,Et=P.createSubContext().currentTimeline;Et.easing=ue.easing,T.styles.forEach(Qt=>{Et.forwardTime((Qt.offset||0)*it),Et.setStyles(Qt.styles,Qt.easing,P.errors,P.options),Et.applyStylesToKeyframe()}),P.currentTimeline.mergeTimelineCollectedStyles(Et),P.transformIntoNewTimeline(Fe+it),P.previousNode=T}visitQuery(T,P){const ue=P.currentTimeline.currentTime,Fe=T.options||{},it=Fe.delay?Oe(Fe.delay):0;it&&(6===P.previousNode.type||0==ue&&P.currentTimeline.hasCurrentStyleProperties())&&(P.currentTimeline.snapshotCurrentStyles(),P.previousNode=Xe);let It=ue;const Et=P.invokeQuery(T.selector,T.originalSelector,T.limit,T.includeSelf,!!Fe.optional,P.errors);P.currentQueryTotal=Et.length;let Qt=null;Et.forEach((en,In)=>{P.currentQueryIndex=In;const Ln=P.createSubContext(T.options,en);it&&Ln.delayNextStep(it),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 ue=P.parentContext,Fe=P.currentTimeline,it=T.timings,It=Math.abs(it.duration),Et=It*(P.currentQueryTotal-1);let Qt=It*P.currentQueryIndex;switch(it.duration<0?"reverse":it.easing){case"reverse":Qt=Et-Qt;break;case"full":Qt=ue.currentStaggerTime}const In=P.currentTimeline;Qt&&In.delayNextStep(Qt);const Ln=In.currentTime;_n(this,T.animation,P),P.previousNode=T,ue.currentStaggerTime=Fe.currentTime-Ln+(Fe.startTime-ue.currentTimeline.startTime)}}const Xe={};class kt{constructor(T,P,ue,Fe,it,It,Et,Qt){this._driver=T,this.element=P,this.subInstructions=ue,this._enterClassName=Fe,this._leaveClassName=it,this.errors=It,this.timelines=Et,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),Et.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(T,P){if(!T)return;const ue=T;let Fe=this.options;null!=ue.duration&&(Fe.duration=Oe(ue.duration)),null!=ue.delay&&(Fe.delay=Oe(ue.delay));const it=ue.params;if(it){let It=Fe.params;It||(It=this.options.params={}),Object.keys(it).forEach(Et=>{(!P||!It.hasOwnProperty(Et))&&(It[Et]=nt(it[Et],It,this.errors))})}}_copyOptions(){const T={};if(this.options){const P=this.options.params;if(P){const ue=T.params={};Object.keys(P).forEach(Fe=>{ue[Fe]=P[Fe]})}}return T}createSubContext(T=null,P,ue){const Fe=P||this.element,it=new kt(this._driver,Fe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Fe,ue||0));return it.previousNode=this.previousNode,it.currentAnimateTimings=this.currentAnimateTimings,it.options=this._copyOptions(),it.updateOptions(T),it.currentQueryIndex=this.currentQueryIndex,it.currentQueryTotal=this.currentQueryTotal,it.parentContext=this,this.subContextCount++,it}transformIntoNewTimeline(T){return this.previousNode=Xe,this.currentTimeline=this.currentTimeline.fork(this.element,T),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(T,P,ue){const Fe={duration:P??T.duration,delay:this.currentTimeline.currentTime+(ue??0)+T.delay,easing:""},it=new un(this._driver,T.element,T.keyframes,T.preStyleProps,T.postStyleProps,Fe,T.stretchStartingKeyframe);return this.timelines.push(it),Fe}incrementTime(T){this.currentTimeline.forwardTime(this.currentTimeline.duration+T)}delayNextStep(T){T>0&&this.currentTimeline.delayNextStep(T)}invokeQuery(T,P,ue,Fe,it,It){let Et=[];if(Fe&&Et.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!=ue);0!==ue&&(en=ue<0?en.slice(en.length+ue,en.length):en.slice(0,ue)),Et.push(...en)}return!it&&0==Et.length&&It.push(function ie(je){return new n.\u0275RuntimeError(3014,!1)}()),Et}}class Wt{constructor(T,P,ue,Fe){this._driver=T,this.element=P,this.startTime=ue,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,ue]of this._globalTimelineStyles)this._backFill.set(P,ue||d.l3),this._currentKeyframe.set(P,d.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(T,P,ue,Fe){P&&this._previousKeyframe.set("easing",P);const it=Fe&&Fe.params||{},It=function pn(je,T){const P=new Map;let ue;return je.forEach(Fe=>{if("*"===Fe){ue=ue||T.keys();for(let it of ue)P.set(it,d.l3)}else F(Fe,P)}),P}(T,this._globalTimelineStyles);for(let[Et,Qt]of It){const en=nt(Qt,it,ue);this._pendingStyles.set(Et,en),this._localTimelineStyles.has(Et)||this._backFill.set(Et,this._globalTimelineStyles.get(Et)??d.l3),this._updateStyle(Et,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,ue)=>{const Fe=this._styleSummary.get(ue);(!Fe||P.time>Fe.time)&&this._updateStyle(ue,P.value)})}buildKeyframes(){this.applyStylesToKeyframe();const T=new Set,P=new Set,ue=1===this._keyframes.size&&0===this.duration;let Fe=[];this._keyframes.forEach((Et,Qt)=>{const en=F(Et,new Map,this._backFill);en.forEach((In,Ln)=>{In===d.k1?T.add(Ln):In===d.l3&&P.add(Ln)}),ue||en.set("offset",Qt/this.duration),Fe.push(en)});const it=T.size?Ve(T.values()):[],It=P.size?Ve(P.values()):[];if(ue){const Et=Fe[0],Qt=new Map(Et);Et.set("offset",0),Qt.set("offset",1),Fe=[Et,Qt]}return ri(this.element,Fe,it,It,this.duration,this.startTime,this.easing,!1)}}class un extends Wt{constructor(T,P,ue,Fe,it,It,Et=!1){super(T,P,It.delay),this.keyframes=ue,this.preStyleProps=Fe,this.postStyleProps=it,this._stretchStartingKeyframe=Et,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:ue,easing:Fe}=this.timings;if(this._stretchStartingKeyframe&&P){const it=[],It=ue+P,Et=P/It,Qt=F(T[0]);Qt.set("offset",0),it.push(Qt);const en=F(T[0]);en.set("offset",gn(Et)),it.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*ue)/It)),it.push(pi)}ue=It,P=0,Fe="",T=it}return ri(this.element,T,this.preStyleProps,this.postStyleProps,ue,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 At(T)}normalizeStyleValue(T,P,ue,Fe){let it="";const It=ue.toString().trim();if(bi.has(P)&&0!==ue&&"0"!==ue)if("number"==typeof ue)it="px";else{const Et=ue.match(/^[+-]?[\d\.]+([a-z]*)$/);Et&&0==Et[1].length&&Fe.push(function p(je,T){return new n.\u0275RuntimeError(3005,!1)}())}return It+it}}function Fi(je,T,P,ue,Fe,it,It,Et,Qt,en,In,Ln,pi){return{type:0,element:je,triggerName:T,isRemovalTransition:Fe,fromState:P,fromStyles:it,toState:ue,toStyles:It,timelines:Et,queriedElements:Qt,preStyleProps:en,postStyleProps:In,totalTime:Ln,errors:pi}}const Gi={};class fn{constructor(T,P,ue){this._triggerName=T,this.ast=P,this._stateStyles=ue}match(T,P,ue,Fe){return function tn(je,T,P,ue,Fe){return je.some(it=>it(T,P,ue,Fe))}(this.ast.matchers,T,P,ue,Fe)}buildStyles(T,P,ue){let Fe=this._stateStyles.get("*");return void 0!==T&&(Fe=this._stateStyles.get(T?.toString())||Fe),Fe?Fe.buildStyles(P,ue):new Map}build(T,P,ue,Fe,it,It,Et,Qt,en,In){const Ln=[],pi=this.ast.options&&this.ast.options.params||Gi,Gn=this.buildStyles(ue,Et&&Et.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,it,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,ue,Fe,nr,Gn,Bi,[],[],Ki,sr,rr,Ln);Mr.forEach(Er=>{const fr=Er.element,yo=_t(Ki,fr,new Set);Er.preStyleProps.forEach(Lr=>yo.add(Lr));const Yr=_t(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,ue,Fe,nr,Gn,Bi,Mr,xr,Ki,sr,rr)}}function En(je,T){const P=ct(T);for(const ue in je)je.hasOwnProperty(ue)&&null!=je[ue]&&(P[ue]=je[ue]);return P}class ei{constructor(T,P,ue){this.styles=T,this.defaultParams=P,this.normalizer=ue}buildStyles(T,P){const ue=new Map,Fe=ct(this.defaultParams);return Object.keys(T).forEach(it=>{const It=T[it];null!==It&&(Fe[it]=It)}),this.styles.styles.forEach(it=>{"string"!=typeof it&&it.forEach((It,Et)=>{It&&(It=nt(It,Fe,P));const Qt=this.normalizer.normalizePropertyName(Et,P);It=this.normalizer.normalizeStyleValue(Et,Qt,It,P),ue.set(Et,It)})}),ue}}class tr{constructor(T,P,ue){this.name=T,this.ast=P,this._normalizer=ue,this.transitionFactories=[],this.states=new Map,P.states.forEach(Fe=>{this.states.set(Fe.name,new ei(Fe.style,Fe.options&&Fe.options.params||{},ue))}),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,Et)=>!0],options:null,queryCount:0,depCount:0},T)}(T,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(T,P,ue,Fe){return this.transitionFactories.find(It=>It.match(T,P,ue,Fe))||null}matchStyles(T,P,ue){return this.fallbackTransition.buildStyles(T,P,ue)}}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,ue){this.bodyNode=T,this._driver=P,this._normalizer=ue,this._animations=new Map,this._playersById=new Map,this.players=[]}register(T,P){const ue=[],it=$n(this._driver,P,ue,[]);if(ue.length)throw function H(je){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(T,it)}_buildPlayer(T,P,ue){const Fe=T.element,it=Ge(this._normalizer,T.keyframes,P,ue);return this._driver.animate(Fe,it,T.duration,T.delay,T.easing,[],!0)}create(T,P,ue={}){const Fe=[],it=this._animations.get(T);let It;const Et=new Map;if(it?(It=me(this._driver,P,it,ut,Pe,new Map,new Map,ue,yi,Fe),It.forEach(In=>{const Ln=_t(Et,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)}();Et.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=Et.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 ue=this.players.indexOf(P);ue>=0&&this.players.splice(ue,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,ue,Fe){const it=Nt(P,"","","");return tt(this._getPlayer(T),ue,it,Fe),()=>{}}command(T,P,ue,Fe){if("register"==ue)return void this.register(T,Fe[0]);if("create"==ue)return void this.create(T,P,Fe[0]||{});const it=this._getPlayer(T);switch(ue){case"play":it.play();break;case"pause":it.pause();break;case"reset":it.reset();break;case"restart":it.restart();break;case"finish":it.finish();break;case"init":it.init();break;case"setPosition":it.setPosition(parseFloat(Fe[0]));break;case"destroy":this.destroy(T)}}}const Ot="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 ue=T&&T.hasOwnProperty("value");if(this.value=function Ht(je){return je??null}(ue?T.value:T),ue){const it=ct(T);delete it.value,this.options=it}else this.options={};this.options.params||(this.options.params={})}absorbOptions(T){const P=T.params;if(P){const ue=this.options.params;Object.keys(P).forEach(Fe=>{null==ue[Fe]&&(ue[Fe]=P[Fe])})}}}const Ui="void",ir=new Qi(Ui);class wt{constructor(T,P,ue){this.id=T,this.hostElement=P,this._engine=ue,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+T,On(P,this._hostClassName)}listen(T,P,ue,Fe){if(!this._triggers.has(P))throw function Ee(je,T){return new n.\u0275RuntimeError(3302,!1)}();if(null==ue||0==ue.length)throw function Be(je){return new n.\u0275RuntimeError(3303,!1)}();if(!function Jt(je){return"start"==je||"done"==je}(ue))throw function G(je,T){return new n.\u0275RuntimeError(3400,!1)}();const it=_t(this._elementListeners,T,[]),It={name:P,phase:ue,callback:Fe};it.push(It);const Et=_t(this._engine.statesByElement,T,new Map);return Et.has(P)||(On(T,mt),On(T,mt+"-"+P),Et.set(P,ir)),()=>{this._engine.afterFlush(()=>{const Qt=it.indexOf(It);Qt>=0&&it.splice(Qt,1),this._triggers.has(P)||Et.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,ue,Fe=!0){const it=this._getTrigger(P),It=new gt(this.id,P,T);let Et=this._engine.statesByElement.get(T);Et||(On(T,mt),On(T,mt+"-"+P),this._engine.statesByElement.set(T,Et=new Map));let Qt=Et.get(P);const en=new Qi(ue,this.id);if(!(ue&&ue.hasOwnProperty("value"))&&Qt&&en.absorbOptions(Qt.options),Et.set(P,en),Qt||(Qt=ir),en.value!==Ui&&Qt.value===en.value){if(!function ni(je,T){const P=Object.keys(je),ue=Object.keys(T);if(P.length!=ue.length)return!1;for(let Fe=0;Fe{Q(T,Bi),V(T,qi)})}return}const pi=_t(this._engine.playersByElement,T,[]);pi.forEach(ii=>{ii.namespaceId==this.id&&ii.triggerName==P&&ii.queued&&ii.destroy()});let li=it.matchTransition(Qt.value,en.value,T,en.params),Gn=!1;if(!li){if(!Fe)return;li=it.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,Ot),It.onStart(()=>{vi(T,Ot)})),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,ue)=>{this._elementListeners.set(ue,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(ue=>ue.destroy()),this._engine.playersByElement.delete(T))}_signalRemovalForInnerTriggers(T,P){const ue=this._engine.driver.query(T,Pt,!0);ue.forEach(Fe=>{if(Fe[Li])return;const it=this._engine.fetchNamespacesByElement(Fe);it.size?it.forEach(It=>It.triggerLeaveAnimation(Fe,P,!1,!0)):this.clearElementCache(Fe)}),this._engine.afterFlushAnimationsDone(()=>ue.forEach(Fe=>this.clearElementCache(Fe)))}triggerLeaveAnimation(T,P,ue,Fe){const it=this._engine.statesByElement.get(T),It=new Map;if(it){const Et=[];if(it.forEach((Qt,en)=>{if(It.set(en,Qt.value),this._triggers.has(en)){const In=this.trigger(T,en,Ui,Fe);In&&Et.push(In)}}),Et.length)return this._engine.markElementAsRemoved(this.id,T,!0,P,It),ue&&Qe(Et).onDone(()=>this._engine.processLeaveNode(T)),!0}return!1}prepareLeaveAnimationListeners(T){const P=this._elementListeners.get(T),ue=this._engine.statesByElement.get(T);if(P&&ue){const Fe=new Set;P.forEach(it=>{const It=it.name;if(Fe.has(It))return;Fe.add(It);const Qt=this._triggers.get(It).fallbackTransition,en=ue.get(It)||ir,In=new Qi(Ui),Ln=new gt(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 ue=this._engine;if(T.childElementCount&&this._signalRemovalForInnerTriggers(T,P),this.triggerLeaveAnimation(T,P,!0))return;let Fe=!1;if(ue.totalAnimations){const it=ue.players.length?ue.playersByQueriedElement.get(T):[];if(it&&it.length)Fe=!0;else{let It=T;for(;It=It.parentNode;)if(ue.statesByElement.get(It)){Fe=!0;break}}}if(this.prepareLeaveAnimationListeners(T),Fe)ue.markElementAsRemoved(this.id,T,!1,P);else{const it=T[Li];(!it||it===ji)&&(ue.afterFlush(()=>this.clearElementCache(T)),ue.destroyInnerAnimations(T),ue._onRemovalComplete(T,P))}}insertNode(T,P){On(T,this._hostClassName)}drainQueuedTransitions(T){const P=[];return this._queue.forEach(ue=>{const Fe=ue.player;if(Fe.destroyed)return;const it=ue.element,It=this._elementListeners.get(it);It&&It.forEach(Et=>{if(Et.name==ue.triggerName){const Qt=Nt(it,ue.triggerName,ue.fromState.value,ue.toState.value);Qt._data=T,tt(ue.player,Et.phase,Qt,Et.callback)}}),Fe.markedForDestroy?this._engine.afterFlush(()=>{Fe.destroy()}):P.push(ue)}),this._queue=[],P.sort((ue,Fe)=>{const it=ue.transition.ast.depCount,It=Fe.transition.ast.depCount;return 0==it||0==It?it-It:this._engine.driver.containsElement(ue.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,ue){this.bodyNode=T,this.driver=P,this._normalizer=ue,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,it)=>{}}get queuedPlayers(){const T=[];return this._namespaceList.forEach(P=>{P.players.forEach(ue=>{ue.queued&&T.push(ue)})}),T}createNamespace(T,P){const ue=new wt(T,P,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,P)?this._balanceNamespaceList(ue,P):(this.newHostElements.set(P,ue),this.collectEnterElement(P)),this._namespaceLookup[T]=ue}_balanceNamespaceList(T,P){const ue=this._namespaceList,Fe=this.namespacesByHostElement;if(ue.length-1>=0){let It=!1,Et=this.driver.getParentElement(P);for(;Et;){const Qt=Fe.get(Et);if(Qt){const en=ue.indexOf(Qt);ue.splice(en+1,0,T),It=!0;break}Et=this.driver.getParentElement(Et)}It||ue.unshift(T)}else ue.push(T);return Fe.set(P,T),T}register(T,P){let ue=this._namespaceLookup[T];return ue||(ue=this.createNamespace(T,P)),ue}registerTrigger(T,P,ue){let Fe=this._namespaceLookup[T];Fe&&Fe.register(P,ue)&&this.totalAnimations++}destroy(T,P){T&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const ue=this._fetchNamespace(T);this.namespacesByHostElement.delete(ue.hostElement);const Fe=this._namespaceList.indexOf(ue);Fe>=0&&this._namespaceList.splice(Fe,1),ue.destroy(P),delete this._namespaceLookup[T]}))}_fetchNamespace(T){return this._namespaceLookup[T]}fetchNamespacesByElement(T){const P=new Set,ue=this.statesByElement.get(T);if(ue)for(let Fe of ue.values())if(Fe.namespaceId){const it=this._fetchNamespace(Fe.namespaceId);it&&P.add(it)}return P}trigger(T,P,ue,Fe){if(Yt(P)){const it=this._fetchNamespace(T);if(it)return it.trigger(P,ue,Fe),!0}return!1}insertNode(T,P,ue,Fe){if(!Yt(P))return;const it=P[Li];if(it&&it.setForRemoval){it.setForRemoval=!1,it.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,ue)}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,ue){if(Yt(P)){const Fe=T?this._fetchNamespace(T):null;Fe?Fe.removeNode(P,ue):this.markElementAsRemoved(T,P,!1,ue);const it=this.namespacesByHostElement.get(P);it&&it.id!==T&&it.removeNode(P,ue)}else this._onRemovalComplete(P,ue)}markElementAsRemoved(T,P,ue,Fe,it){this.collectedLeaveElements.push(P),P[Li]={namespaceId:T,setForRemoval:Fe,hasAnimation:ue,removedBeforeQueried:!1,previousTriggersValues:it}}listen(T,P,ue,Fe,it){return Yt(P)?this._fetchNamespace(T).listen(P,ue,Fe,it):()=>{}}_buildInstruction(T,P,ue,Fe,it){return T.transition.build(this.driver,T.element,T.fromState.value,T.toState.value,ue,Fe,T.fromState.options,T.toState.options,P,it)}destroyInnerAnimations(T){let P=this.driver.query(T,Pt,!0);P.forEach(ue=>this.destroyActiveAnimationsForElement(ue)),0!=this.playersByQueriedElement.size&&(P=this.driver.query(T,Gt,!0),P.forEach(ue=>this.finishActiveQueriedAnimationOnElement(ue)))}destroyActiveAnimationsForElement(T){const P=this.playersByElement.get(T);P&&P.forEach(ue=>{ue.queued?ue.markedForDestroy=!0:ue.destroy()})}finishActiveQueriedAnimationOnElement(T){const P=this.playersByQueriedElement.get(T);P&&P.forEach(ue=>ue.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 ue=this._fetchNamespace(P.namespaceId);ue&&ue.clearElementCache(T)}this._onRemovalComplete(T,P.setForRemoval)}T.classList?.contains(te)&&this.markElementAsDisabled(T,!1),this.driver.query(T,".ng-animate-disabled",!0).forEach(ue=>{this.markElementAsDisabled(ue,!1)})}flush(T=-1){let P=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ue,Fe)=>this._balanceNamespaceList(ue,Fe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ue=0;ueue()),this._flushFns=[],this._whenQuietFns.length){const ue=this._whenQuietFns;this._whenQuietFns=[],P.length?Qe(P).onDone(()=>{ue.forEach(Fe=>Fe())}):ue.forEach(Fe=>Fe())}}reportError(T){throw function ae(je){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(T,P){const ue=new ai,Fe=[],it=new Map,It=[],Et=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=ut+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=Pe+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 $t=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=$t,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,ue,L,di,mr);if(xe.errors&&xe.errors.length)return void Mr.push(xe);if(mr)return ci.onStart(()=>Q(Xi,xe.fromStyles)),ci.onDestroy(()=>V(Xi,xe.toStyles)),void Fe.push(ci);if(Qn.isFallbackTransition)return ci.onStart(()=>Q(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,ue.append(Xi,xe.timelines),It.push({instruction:xe,player:ci,element:Xi}),xe.queriedElements.forEach(ht=>_t(Et,ht,[]).push(ci)),xe.preStyleProps.forEach((ht,$t)=>{if(ht.size){let Kt=Qt.get($t);Kt||Qt.set($t,Kt=new Set),ht.forEach((Un,ki)=>Kt.add(ki))}}),xe.postStyleProps.forEach((ht,$t)=>{let Kt=en.get($t);Kt||en.set($t,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;ue.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=>{_t(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(ue.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,it,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 Q(Hn,ci.fromStyles),Qn.onDestroy(()=>V(Hn,ci.toStyles)),kr.push(Qn),In.has(Hn)&&Fe.push(Qn)}),kr.forEach(Bn=>{const Hn=it.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,ue,Fe,it){let It=[];if(P){const Et=this.playersByQueriedElement.get(T);Et&&(It=Et)}else{const Et=this.playersByElement.get(T);if(Et){const Qt=!it||it==Ui;Et.forEach(en=>{en.queued||!Qt&&en.triggerName!=Fe||It.push(en)})}}return(ue||Fe)&&(It=It.filter(Et=>!(ue&&ue!=Et.namespaceId||Fe&&Fe!=Et.triggerName))),It}_beforeAnimationBuild(T,P,ue){const it=P.element,It=P.isRemovalTransition?void 0:T,Et=P.isRemovalTransition?void 0:P.triggerName;for(const Qt of P.timelines){const en=Qt.element,In=en!==it,Ln=_t(ue,en,[]);this._getPreviousPlayers(en,In,It,Et,P.toState).forEach(li=>{const Gn=li.getRealPlayer();Gn.beforeDestroy&&Gn.beforeDestroy(),li.destroy(),Ln.push(li)})}Q(it,P.fromStyles)}_buildAnimation(T,P,ue,Fe,it,It){const Et=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}((ue.get(ii)||Pn).map(rr=>rr.getRealPlayer())).filter(rr=>!!rr.element&&rr.element===ii),sr=it.get(ii),nr=It.get(ii),Kr=Ge(this._normalizer,Gn.keyframes,sr,nr),Mr=this._buildPlayer(Gn,Kr,Ki);if(Gn.subTimeline&&Fe&&Ln.add(ii),qi){const rr=new gt(T,Et,ii);rr.setRealPlayer(Mr),en.push(rr)}return Mr});en.forEach(Gn=>{_t(this.playersByQueriedElement,Gn.element,[]).push(Gn),Gn.onDone(()=>function St(je,T,P){let ue=je.get(T);if(ue){if(ue.length){const Fe=ue.indexOf(P);ue.splice(Fe,1)}0==ue.length&&je.delete(T)}return ue}(this.playersByQueriedElement,Gn.element,Gn))}),In.forEach(Gn=>On(Gn,Ft));const li=Qe(pi);return li.onDestroy(()=>{In.forEach(Gn=>vi(Gn,Ft)),V(Qt,P.toStyles)}),Ln.forEach(Gn=>{_t(Fe,Gn,[]).push(li)}),li}_buildPlayer(T,P,ue){return P.length>0?this.driver.animate(T.element,P,T.duration,T.delay,T.easing,ue):new d.ZN(T.duration,T.delay)}}class gt{constructor(T,P,ue){this.namespaceId=T,this.triggerName=P,this.element=ue,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,ue)=>{P.forEach(Fe=>tt(T,ue,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){_t(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,ue,Fe){const it=[];P.forEach(Qt=>it.push(yn(Qt)));const It=[];ue.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 Et=0;return P.forEach(Qt=>yn(Qt,it[Et++])),It}function Vn(je,T){const P=new Map;if(je.forEach(Et=>P.set(Et,[])),0==T.length)return P;const Fe=new Set(T),it=new Map;function It(Et){if(!Et)return 1;let Qt=it.get(Et);if(Qt)return Qt;const en=Et.parentNode;return Qt=P.has(en)?en:Fe.has(en)?1:It(en),it.set(Et,Qt),Qt}return T.forEach(Et=>{const Qt=It(Et);1!==Qt&&P.get(Qt).push(Et)}),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(it)):T.set(je,ue),P.delete(je),!0}class Ii{constructor(T,P,ue){this.bodyNode=T,this._driver=P,this._normalizer=ue,this._triggerCache={},this.onRemovalComplete=(Fe,it)=>{},this._transitionEngine=new vt(T,P,ue),this._timelineEngine=new Je(T,P,ue),this._transitionEngine.onRemovalComplete=(Fe,it)=>this.onRemovalComplete(Fe,it)}registerTrigger(T,P,ue,Fe,it){const It=T+"-"+Fe;let Et=this._triggerCache[It];if(!Et){const Qt=[],In=$n(this._driver,it,Qt,[]);if(Qt.length)throw function Ae(je,T){return new n.\u0275RuntimeError(3404,!1)}();Et=function Ei(je,T,P){return new tr(je,T,P)}(Fe,In,this._normalizer),this._triggerCache[It]=Et}this._transitionEngine.registerTrigger(P,Fe,Et)}register(T,P){this._transitionEngine.register(T,P)}destroy(T,P){this._transitionEngine.destroy(T,P)}onInsert(T,P,ue,Fe){this._transitionEngine.insertNode(T,P,ue,Fe)}onRemove(T,P,ue){this._transitionEngine.removeNode(T,P,ue)}disableAnimations(T,P){this._transitionEngine.markElementAsDisabled(T,P)}process(T,P,ue,Fe){if("@"==ue.charAt(0)){const[it,It]=Bt(ue);this._timelineEngine.command(it,P,It,Fe)}else this._transitionEngine.trigger(T,P,ue,Fe)}listen(T,P,ue,Fe,it){if("@"==ue.charAt(0)){const[It,Et]=Bt(ue);return this._timelineEngine.listen(It,P,Et,it)}return this._transitionEngine.listen(T,P,ue,Fe,it)}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,ue,Fe){this._element=P,this._startStyles=ue,this._endStyles=Fe,this._state=0;let it=je.initialStylesByElement.get(P);it||je.initialStylesByElement.set(P,it=new Map),this._initialStyles=it}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&&(Q(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Q(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,ue)=>{(function Oo(je){return"display"===je||"position"===je})(ue)&&(T=T||new Map,T.set(ue,P))}),T}class jr{constructor(T,P,ue,Fe){this.element=T,this.keyframes=P,this.options=ue,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=ue.duration,this._delay=ue.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(ue=>{P.push(Object.fromEntries(ue))}),P}_triggerWebAnimation(T,P,ue){return T.animate(this._convertKeyframesToObject(P),ue)}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((ue,Fe)=>{"offset"!==Fe&&T.set(Fe,this._finished?ue:Mn(this.element,Fe))}),this.currentSnapshot=T}triggerCallback(T){const P="start"===T?this._onStartFns:this._onDoneFns;P.forEach(ue=>ue()),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 Lt(T)}query(T,P,ue){return ne(T,P,ue)}computeStyle(T,P,ue){return window.getComputedStyle(T)[P]}animate(T,P,ue,Fe,it,It=[]){const Qt={duration:ue,delay:Fe,fill:0==Fe?"both":"forwards"};it&&(Qt.easing=it);const en=new Map,In=It.filter(li=>li instanceof jr);(function xn(je,T){return 0===je||0===T})(ue,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=>Me(T)):[]}(P).map(li=>F(li));Ln=function Sn(je,T,P){if(P.size&&T.length){let ue=T[0],Fe=[];if(P.forEach((it,It)=>{ue.has(It)||Fe.push(It),ue.set(It,it)}),Fe.length)for(let it=1;itIt.set(Et,Mn(je,Et)))}}return T}(T,Ln,en);const pi=function Zi(je,T){let P=null,ue=null;return Array.isArray(T)&&T.length?(P=no(T[0]),T.length>1&&(ue=no(T[T.length-1]))):T instanceof Map&&(P=no(T)),P||ue?new Vr(je,P,ue):null}(T,Ln);return new jr(T,Ln,Qt,pi)}}var fo=a(6814);let mo=(()=>{class je extends d._j{constructor(P,ue){super(),this._nextAnimationId=0,this._renderer=P.createRenderer(ue.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(P){const ue=this._nextAnimationId.toString();this._nextAnimationId++;const Fe=Array.isArray(P)?(0,d.vP)(P):P;return ro(this._renderer,null,ue,"register",[Fe]),new po(ue,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,ue,Fe){this.id=T,this.element=P,this._renderer=Fe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ue)}_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,ue,Fe){return je.setProperty(T,`@@${P}:${ue}`,Fe)}const Ar="@.disabled";let go=(()=>{class je{constructor(P,ue,Fe){this.delegate=P,this.engine=ue,this._zone=Fe,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,ue.onRemovalComplete=(it,It)=>{const Et=It?.parentNode(it);Et&&It.removeChild(Et,it)}}createRenderer(P,ue){const it=this.delegate.createRenderer(P,ue);if(!(P&&ue&&ue.data&&ue.data.animation)){let In=this._rendererCache.get(it);return In||(In=new _o("",it,this.engine,()=>this._rendererCache.delete(it)),this._rendererCache.set(it,In)),In}const It=ue.id,Et=ue.id+"-"+this._currentId;this._currentId++,this.engine.register(Et,P);const Qt=In=>{Array.isArray(In)?In.forEach(Qt):this.engine.registerTrigger(It,Et,P,In.name,In)};return ue.data.animation.forEach(Qt),new fe(this,Et,it,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(P,ue,Fe){P>=0&&Pue(Fe)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(it=>{const[It,Et]=it;It(Et)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([ue,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,ue,Fe){this.namespaceId=T,this.delegate=P,this.engine=ue,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,ue,Fe=!0){this.delegate.insertBefore(T,P,ue),this.engine.onInsert(this.namespaceId,P,T,Fe)}removeChild(T,P,ue){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,ue,Fe){this.delegate.setAttribute(T,P,ue,Fe)}removeAttribute(T,P,ue){this.delegate.removeAttribute(T,P,ue)}addClass(T,P){this.delegate.addClass(T,P)}removeClass(T,P){this.delegate.removeClass(T,P)}setStyle(T,P,ue,Fe){this.delegate.setStyle(T,P,ue,Fe)}removeStyle(T,P,ue){this.delegate.removeStyle(T,P,ue)}setProperty(T,P,ue){"@"==P.charAt(0)&&P==Ar?this.disableAnimations(T,!!ue):this.delegate.setProperty(T,P,ue)}setValue(T,P){this.delegate.setValue(T,P)}listen(T,P,ue){return this.delegate.listen(T,P,ue)}disableAnimations(T,P){this.engine.disableAnimations(T,P)}}class fe extends _o{constructor(T,P,ue,Fe,it){super(P,ue,Fe,it),this.factory=T,this.namespaceId=P}setProperty(T,P,ue){"@"==P.charAt(0)?"."==P.charAt(1)&&P==Ar?this.disableAnimations(T,ue=void 0===ue||!!ue):this.engine.process(this.namespaceId,T,P.slice(1),ue):this.delegate.setProperty(T,P,ue)}listen(T,P,ue){if("@"==P.charAt(0)){const Fe=function le(je){switch(je){case"body":return document.body;case"document":return document;case"window":return window;default:return je}}(T);let it=P.slice(1),It="";return"@"!=it.charAt(0)&&([it,It]=function J(je){const T=je.indexOf(".");return[je.substring(0,T),je.slice(T+1)]}(it)),this.engine.listen(this.namespaceId,Fe,it,It,Et=>{this.factory.scheduleListenerCallback(Et._data||-1,ue,Et)})}return this.delegate.listen(T,P,ue)}}let We=(()=>{class je extends Ii{constructor(P,ue,Fe,it){super(P.body,ue,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:We},{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:ce},{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:()=>lt,By:()=>Pe,DomSanitizer:()=>ge,EVENT_MANAGER_PLUGINS:()=>_,EventManager:()=>l,HAMMER_GESTURE_CONFIG:()=>Ft,HAMMER_LOADER:()=>Gt,HammerGestureConfig:()=>Oe,HammerModule:()=>he,Meta:()=>at,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>ie,Title:()=>Y,TransferState:()=>Rt,VERSION:()=>be,bootstrapApplication:()=>He,createApplication:()=>Ze,disableDebugTools:()=>ut,enableDebugTools:()=>_e,makeStateKey:()=>dt,platformBrowser:()=>Bt,provideClientHydration:()=>Q,provideProtractorTestingSupport:()=>Ge,withNoDomReuse:()=>De,withNoHttpTransferCache:()=>F,\u0275BrowserDomAdapter:()=>r,\u0275BrowserGetTestability:()=>b,\u0275DomEventsPlugin:()=>Be,\u0275DomRendererFactory2:()=>Re,\u0275DomSanitizerImpl:()=>Me,\u0275HammerGesturesPlugin:()=>Ke,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>_t,\u0275KeyEventsPlugin:()=>ve,\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(nt,Ve,yt){return nt.addEventListener(Ve,yt),()=>{nt.removeEventListener(Ve,yt)}}dispatchEvent(nt,Ve){nt.dispatchEvent(Ve)}remove(nt){nt.parentNode&&nt.parentNode.removeChild(nt)}createElement(nt,Ve){return(Ve=Ve||this.getDefaultDocument()).createElement(nt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(nt){return nt.nodeType===Node.ELEMENT_NODE}isShadowRoot(nt){return nt instanceof DocumentFragment}getGlobalEventTarget(nt,Ve){return"window"===Ve?window:"document"===Ve?nt:"body"===Ve?nt.body:null}getBaseHref(nt){const Ve=function h(){return f=f||document.querySelector("base"),f?f.getAttribute("href"):null}();return null==Ve?null:function v(qe){u=u||document.createElement("a"),u.setAttribute("href",qe);const nt=u.pathname;return"/"===nt.charAt(0)?nt:`/${nt}`}(Ve)}resetBaseElement(){f=null}getUserAgent(){return window.navigator.userAgent}getCookie(nt){return(0,c.\u0275parseCookieValue)(document.cookie,nt)}}let u,f=null;class b{addToWindow(nt){n.\u0275global.getAngularTestability=(yt,At=!0)=>{const on=nt.findTestabilityInTree(yt,At);if(null==on)throw new n.\u0275RuntimeError(5103,!1);return on},n.\u0275global.getAllAngularTestabilities=()=>nt.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>nt.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(yt=>{const At=n.\u0275global.getAllAngularTestabilities();let on=At.length,xn=!1;const Sn=function(_n){xn=xn||_n,on--,0==on&&yt(xn)};At.forEach(_n=>{_n.whenStable(Sn)})})}findTestabilityInTree(nt,Ve,yt){return null==Ve?null:nt.getTestability(Ve)??(yt?(0,c.\u0275getDOM)().isShadowRoot(Ve)?this.findTestabilityInTree(nt,Ve.host,!0):this.findTestabilityInTree(nt,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(At=>{At.manager=this}),this._plugins=Ve.slice().reverse()}addEventListener(Ve,yt,At){return this._findPluginFor(yt).addEventListener(Ve,yt,At)}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(nt){this._doc=nt}}const x="ng-app-id";let D=(()=>{class qe{constructor(Ve,yt,At,on={}){this.doc=Ve,this.appId=yt,this.nonce=At,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(At=>At.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(At=>{null!=At.textContent&&yt.set(At.textContent,At)}),yt}return null}changeUsageCount(Ve,yt){const At=this.styleRef;if(At.has(Ve)){const on=At.get(Ve);return on.usage+=yt,on.usage}return At.set(Ve,{usage:yt,elements:[]}),yt}getStyleElement(Ve,yt){const At=this.styleNodesInDOM,on=At?.get(yt);if(on?.parentNode===Ve)return At.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 At=this.getStyleElement(Ve,yt);Ve.appendChild(At);const on=this.styleRef,xn=on.get(yt)?.elements;xn?xn.push(At):on.set(yt,{elements:[At],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 Ce(qe,nt){return nt.map(Ve=>Ve.replace(E,qe))}let Re=(()=>{class qe{constructor(Ve,yt,At,on,xn,Sn,_n,Mn=null){this.eventManager=Ve,this.sharedStylesHost=yt,this.appId=At,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 At=this.getOrCreateRenderer(Ve,yt);return At instanceof Ee?At.applyToHost(Ve):At instanceof we&&At.applyStyles(),At}getOrCreateRenderer(Ve,yt){const At=this.rendererByCompId;let on=At.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)}At.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(nt,Ve,yt,At){this.eventManager=nt,this.doc=Ve,this.ngZone=yt,this.platformIsServer=At,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(nt,Ve){return Ve?this.doc.createElementNS(S[Ve]||Ve,nt):this.doc.createElement(nt)}createComment(nt){return this.doc.createComment(nt)}createText(nt){return this.doc.createTextNode(nt)}appendChild(nt,Ve){(W(nt)?nt.content:nt).appendChild(Ve)}insertBefore(nt,Ve,yt){nt&&(W(nt)?nt.content:nt).insertBefore(Ve,yt)}removeChild(nt,Ve){nt&&nt.removeChild(Ve)}selectRootElement(nt,Ve){let yt="string"==typeof nt?this.doc.querySelector(nt):nt;if(!yt)throw new n.\u0275RuntimeError(-5104,!1);return Ve||(yt.textContent=""),yt}parentNode(nt){return nt.parentNode}nextSibling(nt){return nt.nextSibling}setAttribute(nt,Ve,yt,At){if(At){Ve=At+":"+Ve;const on=S[At];on?nt.setAttributeNS(on,Ve,yt):nt.setAttribute(Ve,yt)}else nt.setAttribute(Ve,yt)}removeAttribute(nt,Ve,yt){if(yt){const At=S[yt];At?nt.removeAttributeNS(At,Ve):nt.removeAttribute(`${yt}:${Ve}`)}else nt.removeAttribute(Ve)}addClass(nt,Ve){nt.classList.add(Ve)}removeClass(nt,Ve){nt.classList.remove(Ve)}setStyle(nt,Ve,yt,At){At&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?nt.style.setProperty(Ve,yt,At&n.RendererStyleFlags2.Important?"important":""):nt.style[Ve]=yt}removeStyle(nt,Ve,yt){yt&n.RendererStyleFlags2.DashCase?nt.style.removeProperty(Ve):nt.style[Ve]=""}setProperty(nt,Ve,yt){nt[Ve]=yt}setValue(nt,Ve){nt.nodeValue=Ve}listen(nt,Ve,yt){if("string"==typeof nt&&!(nt=(0,c.\u0275getDOM)().getGlobalEventTarget(this.doc,nt)))throw new Error(`Unsupported event target ${nt} for event ${Ve}`);return this.eventManager.addEventListener(nt,Ve,this.decoratePreventDefault(yt))}decoratePreventDefault(nt){return Ve=>{if("__ngUnwrap__"===Ve)return nt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>nt(Ve)):nt(Ve))&&Ve.preventDefault()}}}function W(qe){return"TEMPLATE"===qe.tagName&&void 0!==qe.content}class pe extends Ae{constructor(nt,Ve,yt,At,on,xn,Sn,_n){super(nt,on,xn,_n),this.sharedStylesHost=Ve,this.hostEl=yt,this.shadowRoot=yt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mn=Ce(At.id,At.styles);for(const xi of Mn){const fi=document.createElement("style");Sn&&fi.setAttribute("nonce",Sn),fi.textContent=xi,this.shadowRoot.appendChild(fi)}}nodeOrShadowRoot(nt){return nt===this.hostEl?this.shadowRoot:nt}appendChild(nt,Ve){return super.appendChild(this.nodeOrShadowRoot(nt),Ve)}insertBefore(nt,Ve,yt){return super.insertBefore(this.nodeOrShadowRoot(nt),Ve,yt)}removeChild(nt,Ve){return super.removeChild(this.nodeOrShadowRoot(nt),Ve)}parentNode(nt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(nt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class we extends Ae{constructor(nt,Ve,yt,At,on,xn,Sn,_n){super(nt,on,xn,Sn),this.sharedStylesHost=Ve,this.removeStylesOnCompDestroy=At,this.styles=_n?Ce(_n,yt.styles):yt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ee extends we{constructor(nt,Ve,yt,At,on,xn,Sn,_n){const Mn=At+"-"+yt.id;super(nt,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(nt){this.applyStyles(),this.setAttribute(nt,this.hostAttr,"")}createElement(nt,Ve){const yt=super.createElement(nt,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,At){return Ve.addEventListener(yt,At,!1),()=>this.removeEventListener(Ve,yt,At)}removeEventListener(Ve,yt,At){return Ve.removeEventListener(yt,At)}}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"},ae={alt:qe=>qe.altKey,control:qe=>qe.ctrlKey,meta:qe=>qe.metaKey,shift:qe=>qe.shiftKey};let ve=(()=>{class qe extends y{constructor(Ve){super(Ve)}supports(Ve){return null!=qe.parseEventName(Ve)}addEventListener(Ve,yt,At){const on=qe.parseEventName(yt),xn=qe.eventCallback(on.fullKey,At,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.\u0275getDOM)().onAndCancel(Ve,on.domEventName,xn))}static parseEventName(Ve){const yt=Ve.toLowerCase().split("."),At=yt.shift();if(0===yt.length||"keydown"!==At&&"keyup"!==At)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=At,_n.fullKey=xn,_n}static matchEventFullKeyCode(Ve,yt){let At=re[Ve.key]||Ve.key,on="";return yt.indexOf("code.")>-1&&(At=Ve.code,on="code."),!(null==At||!At)&&(At=At.toLowerCase()," "===At?At="space":"."===At&&(At="dot"),G.forEach(xn=>{xn!==At&&(0,ae[xn])(Ve)&&(on+=xn+".")}),on+=At,on===yt)}static eventCallback(Ve,yt,At){return on=>{qe.matchEventFullKeyCode(on,Ve)&&At.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,nt){return(0,n.\u0275internalCreateApplication)({rootComponent:qe,...Qe(nt)})}function Ze(qe){return(0,n.\u0275internalCreateApplication)(Qe(qe))}function Qe(qe){return{appProviders:[...Le,...qe?.providers??[]],platformProviders:_t}}function Ge(){return[...Lt]}function tt(){r.makeCurrent()}const _t=[{provide:n.PLATFORM_ID,useValue:c.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:tt,multi:!0},{provide:c.DOCUMENT,useFactory:function Nt(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Bt=(0,n.createPlatformFactory)(n.platformCore,"browser",_t),Tt=new n.InjectionToken(""),Lt=[{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 Ct(){return new n.ErrorHandler},deps:[]},{provide:_,useClass:Be,multi:!0,deps:[c.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:_,useClass:ve,multi:!0,deps:[c.DOCUMENT]},Re,D,l,{provide:n.RendererFactory2,useExisting:Re},{provide:c.XhrFactory,useClass:p,deps:[]},[]];let lt=(()=>{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,...Lt],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((At,on)=>(on&&At.push(this._getOrCreateElement(on,yt)),At),[]):[]}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 At=this.getTag(yt);return At?this._setMetaElementAttributes(Ve,At):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 At=this._dom.createElement("meta");return this._setMetaElementAttributes(Ve,At),this._doc.getElementsByTagName("head")[0].appendChild(At),At}_setMetaElementAttributes(Ve,yt){return Object.keys(Ve).forEach(At=>yt.setAttribute(this._getMetaKeyMap(At),Ve[At])),yt}_parseSelector(Ve){const yt=Ve.name?"name":"property";return`${yt}="${Ve[yt]}"`}_containsAttributes(Ve,yt){return Object.keys(Ve).every(At=>yt.getAttribute(this._getMetaKeyMap(At))===Ve[At])}_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,nt){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[qe]=nt)}const K=typeof window<"u"&&window||{};class ce{constructor(nt,Ve){this.msPerTick=nt,this.numTicks=Ve}}class Te{constructor(nt){this.appRef=nt.injector.get(n.ApplicationRef)}timeChangeDetection(nt){const Ve=nt&&nt.record,yt="Change Detection",At=null!=K.console.profile;Ve&&At&&K.console.profile(yt);const on=et();let xn=0;for(;xn<5||et()-on<500;)this.appRef.tick(),xn++;const Sn=et();Ve&&At&&K.console.profileEnd(yt);const _n=(Sn-on)/xn;return K.console.log(`ran ${xn} change detection cycles`),K.console.log(`${_n.toFixed(2)} ms per check`),new ce(_n,xn)}}function et(){return K.performance&&K.performance.now?K.performance.now():(new Date).getTime()}const Dt="profiler";function _e(qe){return ne(Dt,new Te(qe)),qe}function ut(){ne(Dt,null)}class Pe{static all(){return()=>!0}static css(nt){return Ve=>null!=Ve.nativeElement&&function mt(qe,nt){return!!(0,c.\u0275getDOM)().isElementNode(qe)&&(qe.matches&&qe.matches(nt)||qe.msMatchesSelector&&qe.msMatchesSelector(nt)||qe.webkitMatchesSelector&&qe.webkitMatchesSelector(nt))}(Ve.nativeElement,nt)}static directive(nt){return Ve=>-1!==Ve.providerTokens.indexOf(nt)}}const Pt={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},Ft=new n.InjectionToken("HammerGestureConfig"),Gt=new n.InjectionToken("HammerLoader");let Oe=(()=>{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 At in this.overrides)yt.get(At).set(this.overrides[At]);return yt}}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),Ke=(()=>{class qe extends y{constructor(Ve,yt,At,on){super(Ve),this._config=yt,this.console=At,this.loader=on,this._loaderPromise=null}supports(Ve){return!(!Pt.hasOwnProperty(Ve.toLowerCase())&&!this.isCustomEvent(Ve)||!window.Hammer&&!this.loader)}addEventListener(Ve,yt,At){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,At)):Sn=()=>{}}).catch(()=>{Sn=()=>{}})),()=>{Sn()}}return on.runOutsideAngular(()=>{const xn=this._config.buildHammer(Ve),Sn=function(_n){on.runGuarded(function(){At(_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(Ft),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(Gt,8))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),he=(()=>{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:Ke,multi:!0,deps:[c.DOCUMENT,Ft,n.\u0275Console,[new n.Optional,Gt]]},{provide:Ft,useClass:Oe,deps:[]}]}),qe})(),ge=(()=>{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(Me),yt},providedIn:"root"}),qe})(),Me=(()=>{class qe extends ge{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 ct(qe){return new Me(qe.get(c.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),yt},providedIn:"root"}),qe})();function Ye(qe,nt=[]){return{\u0275kind:qe,\u0275providers:nt}}function De(){return Ye(0)}function F(){return Ye(1)}function Q(...qe){const nt=[],Ve=new Set;for(const{\u0275providers:yt,\u0275kind:At}of qe)Ve.add(At),yt.length&&nt.push(yt);return(0,n.makeEnvironmentProviders)([[],Ve.has(0)?[]:(0,n.\u0275withDomHydration)(),Ve.has(1)?[]:(0,d.\u0275withHttpTransferCache)(),nt])}const be=new n.Version("16.1.7"),dt=n.makeStateKey,Rt=n.TransferState},5187:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ActivatedRoute:()=>Fn,ActivatedRouteSnapshot:()=>Fi,ActivationEnd:()=>jt,ActivationStart:()=>Mt,BaseRouteReuseStrategy:()=>L,ChildActivationEnd:()=>Ni,ChildActivationStart:()=>ai,ChildrenOutletContexts:()=>se,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:()=>ce,UrlTree:()=>at,VERSION:()=>ja,convertToParamMap:()=>ae,createUrlTreeFromSnapshot:()=>Ve,defaultUrlMatcher:()=>ve,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),f=a(2572),h=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),Ce=a(6424),Re=a(3572),Ae=a(2032),de=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 ae(k){return new re(k)}function ve(k,j,w){const q=w.path.split("/");if(q.length>k.length||"full"===w.pathMatch&&(j.hasChildren()||q.lengthq[rt]===Se)}return k===j}function Ge(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 Ct={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},Nt={exact:function Bt(k,j){return Ze(k,j)},subset:function Lt(k,j){return Object.keys(j).length<=Object.keys(k).length&&Object.keys(j).every(w=>Qe(k[w],j[w]))},ignored:()=>!0};function _t(k,j,w){return Ct[w.paths](k.root,j.root,w.matrixParams)&&Nt[w.queryParams](k.queryParams,j.queryParams)&&!("exact"===w.fragment&&k.fragment!==j.fragment)}function Le(k,j,w){return lt(k,j,j.segments,w)}function lt(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),rt=w.slice(k.segments.length);return!!(ne(k.segments,Se)&&ze(k.segments,Se,q)&&k.children[Be])&<(k.children[Be],j,rt,q)}}function ze(k,j,w){return j.every((q,Se)=>Nt[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=ae(this.queryParams)),this._queryParamMap}toString(){return et.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=ae(this.parameters)),this._parameterMap}toString(){return Oe(this)}}function ne(k,j){return k.length===j.length&&k.every((w,q)=>w.path===j[q].path)}let ce=(()=>{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 be(j);return new at(w.parseRootSegment(),w.parseQueryParams(),w.parseFragment())}serialize(j){const w=`/${_e(j.root,!0)}`,q=function he(k){const j=Object.keys(k).map(w=>{const q=k[w];return Array.isArray(q)?q.map(Se=>`${Pe(w)}=${Pe(Se)}`).join("&"):`${Pe(w)}=${Pe(q)}`}).filter(w=>!!w);return j.length?`?${j.join("&")}`:""}(j.queryParams);return`${w}${q}${"string"==typeof j.fragment?`#${function mt(k){return encodeURI(k)}(j.fragment)}`:""}`}}const et=new Te;function Dt(k){return k.segments.map(j=>Oe(j)).join("/")}function _e(k,j){if(!k.hasChildren())return Dt(k);if(j){const w=k.children[Be]?_e(k.children[Be],!1):"",q=[];return Object.entries(k.children).forEach(([Se,rt])=>{Se!==Be&&q.push(`${Se}:${_e(rt,!1)}`)}),q.length>0?`${w}(${q.join("//")})`:w}{const w=function K(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?[_e(k.children[Be],!1)]:[`${Se}:${_e(q,!1)}`]);return 1===Object.keys(k.children).length&&null!=k.children[Be]?`${Dt(k)}/${w[0]}`:`${Dt(k)}/(${w.join("//")})`}}function ut(k){return encodeURIComponent(k).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pe(k){return ut(k).replace(/%3B/gi,";")}function Pt(k){return ut(k).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ft(k){return decodeURIComponent(k)}function Gt(k){return Ft(k.replace(/\+/g,"%20"))}function Oe(k){return`${Pt(k.path)}${function Ke(k){return Object.keys(k).map(j=>`;${Pt(j)}=${Pt(k[j])}`).join("")}(k.parameters)}`}const ge=/^[^\/()?;#]+/;function ct(k){const j=k.match(ge);return j?j[0]:""}const Me=/^[^\/()?;=#]+/,De=/^[^=?&#]+/,V=/^[^&#]+/;class be{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=ct(this.remaining);if(""===j&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(j),new oe(Ft(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(Me);return j?j[0]:""}(this.remaining);if(!w)return;this.capture(w);let q="";if(this.consumeOptional("=")){const Se=ct(this.remaining);Se&&(q=Se,this.capture(q))}j[Ft(w)]=Ft(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 Q(k){const j=k.match(V);return j?j[0]:""}(this.remaining);st&&(q=st,this.capture(q))}const Se=Gt(w),rt=Gt(q);if(j.hasOwnProperty(Se)){let st=j[Se];Array.isArray(st)||(st=[st],j[Se]=st),st.push(rt)}else j[Se]=rt}parseParens(j){const w={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const q=ct(this.remaining),Se=this.remaining[q.length];if("/"!==Se&&")"!==Se&&";"!==Se)throw new n.\u0275RuntimeError(4010,!1);let rt;q.indexOf(":")>-1?(rt=q.slice(0,q.indexOf(":")),this.capture(rt),this.capture(":")):j&&(rt=Be);const st=this.parseChildren();w[rt]=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 dt(k){return k.segments.length>0?new N([],{[Be]:k}):k}function Rt(k){const j={};for(const q of Object.keys(k.children)){const rt=Rt(k.children[q]);if(q===Be&&0===rt.segments.length&&rt.hasChildren())for(const[st,Vt]of Object.entries(rt.children))j[st]=Vt;else(rt.segments.length>0||rt.hasChildren())&&(j[q]=rt)}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 nt(k){return k instanceof at}function Ve(k,j,w=null,q=null){return At(yt(k),j,w,q)}function yt(k){let j;const Se=dt(function w(rt){const st={};for(const hn of rt.children){const An=w(hn);st[hn.outlet]=An}const Vt=new N(rt.url,st);return rt===k&&(j=Vt),Vt}(k.root));return j??Se}function At(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 rt=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,rt,st)=>{if("object"==typeof rt&&null!=rt){if(rt.outlets){const Vt={};return Object.entries(rt.outlets).forEach(([hn,An])=>{Vt[hn]="string"==typeof An?An.split("/"):An}),[...Se,{outlets:Vt}]}if(rt.segmentPath)return[...Se,rt.segmentPath]}return"string"!=typeof rt?[...Se,rt]:0===st?(rt.split("/").forEach((Vt,hn)=>{0==hn&&"."===Vt||(0==hn&&""===Vt?w=!0:".."===Vt?j++:""!=Vt&&Se.push(Vt))}),Se):[...Se,rt]},[]);return new Mn(w,j,q)}(j);if(rt.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,rt=w;for(;rt>Se;){if(rt-=Se,q=q.parent,!q)throw new n.\u0275RuntimeError(4005,!1);Se=q.segments.length}return new fi(q,!1,Se-rt)}(w,w.segments.length-1+q,k.numberOfDoubleDots)}(rt,Se,k),Vt=st.processChildren?pt(st.segmentGroup,st.index,rt.commands):bt(st.segmentGroup,st.index,rt.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,rt={};q&&Object.entries(q).forEach(([hn,An])=>{rt[hn]=Array.isArray(An)?An.map(Kn=>`${Kn}`):`${An}`}),st=k===j?w:_n(k,j,w);const Vt=dt(Rt(st));return new at(Vt,rt,Se)}function _n(k,j,w){const q={};return Object.entries(k.children).forEach(([Se,rt])=>{q[Se]=rt===j?w:_n(rt,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!==Ge(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 bt(k,j,w){if(k||(k=new N([],{})),0===k.segments.length&&k.hasChildren())return pt(k,j,w);const q=function qt(k,j,w){let q=0,Se=j;const rt={match:!1,pathIndex:0,commandIndex:0};for(;Se=w.length)return rt;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 rt;q+=2}else{if(!Nn(hn,{},st))return rt;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[rt]=bt(k.children[rt],j,st))}),Object.entries(k.children).forEach(([rt,st])=>{void 0===q[rt]&&(Se[rt]=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,rt){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.shouldActivate=rt,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 Mt{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 se,this.attachRef=null}}let se=(()=>{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=kt(j,this._root);return w?w.children.map(q=>q.value):[]}firstChild(j){const w=kt(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 kt(k,j){if(k===j.value)return j;for(const w of j.children){const q=kt(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({}),rt=new r.X({}),st=new r.X({}),Vt=new r.X(""),hn=new Fn(q,Se,st,Vt,rt,Be,j,w.root);return hn.snapshot=w.root,new pn(new un(hn,[]),w)}class Fn{constructor(j,w,q,Se,rt,st,Vt,hn){this.urlSubject=j,this.paramsSubject=w,this.queryParamsSubject=q,this.fragmentSubject=Se,this.dataSubject=rt,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=rt}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=>ae(j)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,D.U)(j=>ae(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],rt=w[q-1];if(Se.routeConfig&&""===Se.routeConfig.path)q--;else{if(rt.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,rt,st,Vt,hn,An){this.url=j,this.params=w,this.queryParams=q,this.fragment=Se,this.data=rt,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=ae(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ae(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)(se),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===se?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,f.a)([q.queryParams,q.params,q.data]).pipe((0,S.w)(([rt,st,Vt],hn)=>(Vt={...rt,...st,...Vt},0===hn?(0,g.of)(Vt):Promise.resolve(Vt)))).subscribe(rt=>{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,rt[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 rt=k.retrieve(j.value);if(null!==rt){const st=rt.route;return st.value._futureSnapshot=j.value,st.children=j.children.map(Vt=>yi(k,Vt)),st}}const q=function Ot(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(rt=>yi(k,rt));return new un(q,Se)}}const C="ngNavigationCancelingError";function te(k,j){const{redirectTo:w,navigationBehaviorOptions:q}=nt(j)?{redirectTo:j,navigationBehaviorOptions:void 0}:j,Se=Ne(!1,0,j);return Se.url=w,Se.navigationBehaviorOptions=q,Se}function Ne(k,j,w){const q=new Error("NavigationCancelingError: "+(k||""));return q[C]=!0,q.cancellationCode=j,w&&(q.url=w),q}function ot(k){return Zt(k)&&nt(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,rt){this.routeReuseStrategy=j,this.futureState=w,this.currState=q,this.forwardEvent=Se,this.inputBindingEnabled=rt}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(rt=>{const st=rt.value.outlet;this.deactivateRoutes(rt,Se[st],q),delete Se[st]}),Object.values(Se).forEach(rt=>{this.deactivateRouteAndItsChildren(rt,q)})}deactivateRoutes(j,w,q){const Se=j.value,rt=w?w.value:null;if(Se===rt)if(Se.component){const st=q.getContext(Se.outlet);st&&this.deactivateChildRoutes(j,w,st.children)}else this.deactivateChildRoutes(j,w,q);else rt&&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,rt=gn(j);for(const st of Object.keys(rt))this.deactivateRouteAndItsChildren(rt[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,rt=gn(j);for(const st of Object.keys(rt))this.deactivateRouteAndItsChildren(rt[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(rt=>{this.activateRoutes(rt,Se[rt.value.outlet],q),this.forwardEvent(new jt(rt.value.snapshot))}),j.children.length&&this.forwardEvent(new Ni(j.value.snapshot))}activateRoutes(j,w,q){const Se=j.value,rt=w?w.value:null;if(tn(Se),Se===rt)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 rt=gn(j);return k.children.forEach(st=>{(function oi(k,j,w,q,Se={canDeactivateChecks:[],canActivateChecks:[]}){const rt=k.value,st=j?j.value:null,Vt=w?w.getContext(k.value.outlet):null;if(st&&rt.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,rt,rt.routeConfig.runGuardsAndResolvers);hn?Se.canActivateChecks.push(new On(q)):(rt.data=st.data,rt._resolvedData=st._resolvedData),ni(k,j,rt.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,rt.component?Vt?Vt.children:null:w,q,Se)})(st,rt[st.value.outlet],w,q.concat([st.value]),Se),delete rt[st.value.outlet]}),Object.entries(rt).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(([rt,st])=>{Zi(st,Se.component?j?j.children.getContext(rt):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 h.K||"EmptyError"===k?.name}const Sr=Symbol("INITIAL_VALUE");function Ar(){return(0,S.w)(k=>(0,f.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(nt(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 rt=this.createSegmentGroup(j,w.root,q,Se);return new at(rt,this.createQueryParams(w.queryParams,this.urlTree.queryParams),w.fragment)}createQueryParams(j,w){const q={};return Object.entries(j).forEach(([Se,rt])=>{if("string"==typeof rt&&rt.startsWith(":")){const Vt=rt.substring(1);q[Se]=w[Vt]}else q[Se]=rt}),q}createSegmentGroup(j,w,q,Se){const rt=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(rt,st)}createSegments(j,w,q,Se){return w.map(rt=>rt.path.startsWith(":")?this.findPosParam(j,rt,Se):this.findOrReturn(rt,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 ue={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fe(k,j,w,q,Se){const rt=it(k,j,w);return rt.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 rt=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)(rt).pipe(Ar(),dr())}(q,j,w).pipe((0,D.U)(st=>!0===st?rt:{...ue}))):(0,g.of)(rt)}function it(k,j,w){if(""===j.path)return"full"===j.pathMatch&&(k.hasChildren()||w.length>0)?{...ue}:{matched:!0,consumedSegments:[],remainingSegments:w,parameters:{},positionalParamSegments:{}};const Se=(j.matcher||ve)(w,k,j);if(!Se)return{...ue};const rt={};Object.entries(Se.posParams??{}).forEach(([Vt,hn])=>{rt[Vt]=hn.path});const st=Se.consumed.length>0?{...rt,...Se.consumed[Se.consumed.length-1].parameters}:rt;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,Et(k,0,w,q,k.children)),slicedSegments:w}:{segmentGroup:new N(k.segments,k.children),slicedSegments:w}}function Et(k,j,w,q,Se){const rt={};for(const st of q)if(Ln(k,w,st)&&!Se[Ht(st)]){const Vt=new N([],{});rt[Ht(st)]=Vt}return{...Se,...rt}}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,rt,st,Vt){this.injector=j,this.configLoader=w,this.rootComponentType=q,this.config=Se,this.urlTree=rt,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),rt=new Gi("",Se),st=Ve(q,[],this.urlTree.queryParams,this.urlTree.fragment);return st.queryParams=this.urlTree.queryParams,rt.url=this.urlSerializer.serialize(st),this.inheritParamsAndData(rt._root),{state:rt,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 rt of Object.keys(q.children))"primary"===rt?Se.unshift(rt):Se.push(rt);return(0,d.D)(Se).pipe((0,ie.b)(rt=>{const st=q.children[rt],Vt=function Yt(k,j){const w=k.filter(q=>Ht(q)===j);return w.push(...k.filter(q=>Ht(q)!==j)),w}(w,rt);return this.processSegmentGroup(j,Vt,st,rt)}),(0,Ce.R)((rt,st)=>(rt.push(...st),rt)),(0,Re.d)(null),(0,Ae.Z)(),(0,$.z)(rt=>{if(null===rt)return Rr(q);const st=Ki(rt);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,rt,st){return(0,d.D)(w).pipe((0,ie.b)(Vt=>this.processSegmentAgainstRoute(Vt._injector??j,w,Vt,q,Se,rt,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,rt)?(0,g.of)([]):Rr(q);throw Vt}))}processSegmentAgainstRoute(j,w,q,Se,rt,st,Vt){return function pi(k,j,w,q){return!!(Ht(k)===q||q!==Be&&Ln(j,w,k))&&("**"===k.path||it(j,k,w).matched)}(q,Se,rt,st)?void 0===q.redirectTo?this.matchSegmentAgainstRoute(j,Se,q,rt,st,Vt):Vt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(j,Se,w,q,rt,st):Rr(Se):Rr(Se)}expandSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st){return"**"===Se.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(j,q,Se,st):this.expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st)}expandWildCardWithParamsAgainstRouteUsingRedirect(j,w,q,Se){const rt=this.applyRedirects.applyRedirectCommands([],q.redirectTo,{});return q.redirectTo.startsWith("/")?oo(rt):this.applyRedirects.lineralizeSegments(q,rt).pipe((0,$.z)(st=>{const Vt=new N(st,{});return this.processSegment(j,w,Vt,st,Se,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st){const{matched:Vt,consumedSegments:hn,remainingSegments:An,positionalParamSegments:Kn}=it(w,Se,rt);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,rt,st){let Vt;if("**"===q.path){const hn=Se.length>0?Ge(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)===rt;return this.processSegment(Kn,An,wo,To,Io?Be:rt,!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 rt=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)(rt).pipe(Ar(),dr())}(j,w,q).pipe((0,$.z)(Se=>Se?this.configLoader.loadChildren(j,w).pipe((0,A.b)(rt=>{w._loadedRoutes=rt.routes,w._loadedInjector=rt.injector})):function T(k){return(0,p._)(Ne(!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(rt=>q.value.routeConfig===rt.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)(rt=>{this.onLoadEndListener&&this.onLoadEndListener(w),w._loadedComponent=rt}),(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 rt=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(rt,()=>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)(ce),this.rootContexts=(0,n.inject)(se),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,rt=!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,rt){return(0,$.z)(st=>function Gn(k,j,w,q,Se,rt,st="emptyOnly"){return new ii(k,j,w,q,Se,st,rt).recognize()}(k,j,w,q,st.extractedUrl,Se,rt).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:rt,canDeactivateChecks:st}}=w;return 0===st.length&&0===rt.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 rt=j&&j.routeConfig?j.routeConfig.canDeactivate:null;if(!rt||0===rt.length)return(0,g.of)(!0);const st=rt.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 le(k,j){return null!==k&&j&&j(new Mt(k)),(0,g.of)(!0)}(Se.route,q),function Xt(k,j,w){const q=j[j.length-1],rt=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)(rt).pipe(Ar())}(k,Se.path,w),function We(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(rt=>(0,v.P)(()=>{const st=Jt(j)??w,Vt=qn(rt,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,rt,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,nt(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 rt=0;return(0,d.D)(Se).pipe((0,ie.b)(st=>function xr(k,j,w,q){const Se=k.routeConfig,rt=k._resolve;return void 0!==Se?.title&&!Yr(Se)&&(rt[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 rt={};return(0,d.D)(Se).pipe((0,$.z)(st=>function yo(k,j,w,q){const Se=Jt(j)??q,rt=qn(k,Se);return tt(rt.resolve?rt.resolve(j,w):Se.runInContext(()=>rt(j,w)))}(k[st],j,w,q).pipe((0,ee.P)(),(0,A.b)(Vt=>{rt[st]=Vt}))),(0,de.h)(1),(0,H.h)(rt),(0,U.K)(st=>ro(st)?_.E:(0,p._)(st)))}(rt,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)(()=>rt++),(0,de.h)(1),(0,$.z)(st=>rt===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,f.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||rt||this.cancelNavigationTransition(q,"",1),this.currentNavigation?.id===q.id&&(this.currentNavigation=null)}),(0,U.K)(st=>{if(rt=!0,Zt(st)){ot(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),ot(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 rt=new ti(w.id,this.urlSerializer.serialize(w.extractedUrl),q,Se);this.events.next(rt),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(rt=>rt.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 $t=function(k){return k[k.COMPLETE=0]="COMPLETE",k[k.FAILED=1]="FAILED",k[k.REDIRECTING=2]="REDIRECTING",k}($t||{});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?$t.COMPLETE:w instanceof ti&&(0===w.code||1===w.code)?$t.REDIRECTING:$t.FAILED),(0,X.h)(w=>w!==$t.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)(ce),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 rt={replaceUrl:!0},st=Se?.navigationId?Se:null;if(Se){const hn={...Se};delete hn.navigationId,delete hn.\u0275routerPageId,0!==Object.keys(hn).length&&(rt.state=hn)}const Vt=this.parseUrl(w);this.scheduleNavigation(Vt,q,st,rt)}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:rt,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,...rt};break;case"preserve":Kn=this.currentUrlTree.queryParams;break;default:Kn=rt||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 At($i,w,Kn,An??null)}navigateByUrl(w,q={skipLocationChange:!1}){const Se=nt(w)?w:this.parseUrl(w),rt=this.urlHandlingStrategy.merge(Se,this.rawUrlTree);return this.scheduleNavigation(rt,wn,null,q)}navigate(w,q={skipLocationChange:!1}){return function Ji(k){for(let j=0;j{const rt=w[Se];return null!=rt&&(q[Se]=rt),q},{})}scheduleNavigation(w,q,Se,rt,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:rt,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 rt={...q.extras.state,...this.generateNgRouterState(q.id,(this.browserPageId??0)+1)};this.location.go(Se,"",rt)}}restoreHistory(w,q=!1){if("computed"===this.canceledNavigationResolution){const rt=this.currentPageId-(this.browserPageId??this.currentPageId);0!==rt?this.location.historyGo(rt):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===rt&&(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,rt,st,Vt){this.router=w,this.route=q,this.tabIndexAttribute=Se,this.renderer=rt,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,rt,st){return!!(null===this.urlTree||this.isAnchorElement&&(0!==w||q||Se||rt||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,rt=this.el.nativeElement;null!==q?Se.setAttribute(rt,w,q):Se.removeAttribute(rt,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(rt){return q.onClick(rt.button,rt.ctrlKey,rt.shiftKey,rt.altKey,rt.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,rt,st){this.router=w,this.element=q,this.renderer=Se,this.cdr=rt,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 rt;n.\u0275\u0275queryRefresh(rt=n.\u0275\u0275loadQuery())&&(q.links=rt)}},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,rt,st){this.router=w,this.injector=Se,this.preloadingStrategy=rt,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 rt of q){rt.providers&&!rt._injector&&(rt._injector=(0,n.createEnvironmentInjector)(rt.providers,w,`Route: ${rt.path}`));const st=rt._injector??w,Vt=rt._loadedInjector??st;(rt.loadChildren&&!rt._loadedRoutes&&void 0===rt.canLoad||rt.loadComponent&&!rt._loadedComponent)&&Se.push(this.preloadConfig(st,rt)),(rt.children||rt._loadedRoutes)&&Se.push(this.processRoutes(Vt,rt.children??rt._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 rt=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)([rt,st]).pipe((0,we.J)())}return rt})}}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,rt,st={}){this.urlSerializer=w,this.transitions=q,this.viewportScroller=Se,this.zone=rt,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),rt=(0,n.inject)(ce);return new Zr(rt,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),rt=j.get(dn);Kt(Se,()=>{q(!0)}),j.get(Qn).afterPreactivation=()=>(q(!0),rt.closed?(0,g.of)(void 0):rt),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:ce,useClass:Te},Jn,se,{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)(ce);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:()=>de,USE_STORE:()=>Ce});var n=a(1180),c=a(5879),d=a(2096),g=a(2664),r=a(9315),f=a(34),h=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 ae,ve,He,G=typeof Ee;if(G==typeof Be&&"object"==G){if(!Array.isArray(Ee)){if(Array.isArray(Be))return!1;for(ve in He=Object.create(null),Ee){if(!S(Ee[ve],Be[ve]))return!1;He[ve]=!0}for(ve in Be)if(!(ve in He)&&typeof Be[ve]<"u")return!1;return!0}if(!Array.isArray(Be))return!1;if((ae=Ee.length)==Be.length){for(ve=0;ve{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 ae;return ae="string"==typeof G?this.interpolateString(G,re):"function"==typeof G?this.interpolateFunction(G,re):G,ae}getValue(G,re){let ae="string"==typeof re?re.split("."):[re];re="";do{re+=ae.shift(),!E(G)||!E(G[re])||"object"!=typeof G[re]&&ae.length?ae.length?re+=".":G=void 0:(G=G[re],re="")}while(ae.length);return G}interpolateFunction(G,re){return G(re)}interpolateString(G,re){return re?G.replace(this.templateMatcher,(ae,ve)=>{let He=this.getValue(re,ve);return E(He)?He:ae}):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 Ce=new c.InjectionToken("USE_STORE"),Re=new c.InjectionToken("USE_DEFAULT_LANG"),Ae=new c.InjectionToken("DEFAULT_LANGUAGE"),de=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,ae,ve,He,Ze=!0,Qe=!1,Ge=!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=ae,this.parser=ve,this.missingTranslationHandler=He,this.useDefaultLang=Ze,this.isolate=Qe,this.extend=Ge,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(ae=>{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(ae=>{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)(ae=>this.compiler.compileTranslations(ae,G)),(0,v.d)(1),(0,u.q)(1)),this.loadingTranslations.subscribe({next:ae=>{this.translations[G]=this.extend&&this.translations[G]?{...ae,...this.translations[G]}:ae,this.updateLangs(),this.pending=!1},error:ae=>{this.pending=!1}}),re}setTranslation(G,re,ae=!1){re=this.compiler.compileTranslations(re,G),this.translations[G]=(ae||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,ae){let ve;if(re instanceof Array){let He={},Ze=!1;for(let Qe of re)He[Qe]=this.getParsedResult(G,Qe,ae),(0,g.b)(He[Qe])&&(Ze=!0);if(Ze){const Qe=re.map(Ge=>(0,g.b)(He[Ge])?He[Ge]:(0,d.of)(He[Ge]));return(0,r.D)(Qe).pipe((0,b.U)(Ge=>{let tt={};return Ge.forEach((Ct,Nt)=>{tt[re[Nt]]=Ct}),tt}))}return He}if(G&&(ve=this.parser.interpolate(this.parser.getValue(G,re),ae)),typeof ve>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ve=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],re),ae)),typeof ve>"u"){let He={key:re,translateService:this};typeof ae<"u"&&(He.interpolateParams=ae),ve=this.missingTranslationHandler.handle(He)}return typeof ve<"u"?ve: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)(ae=>(ae=this.getParsedResult(ae,G,re),(0,g.b)(ae)?ae:(0,d.of)(ae))));{let ae=this.getParsedResult(this.translations[this.currentLang],G,re);return(0,g.b)(ae)?ae:(0,d.of)(ae)}}getStreamOnTranslationChange(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,f.z)((0,h.P)(()=>this.get(G,re)),this.onTranslationChange.pipe((0,_.w)(ae=>{const ve=this.getParsedResult(ae.translations,G,re);return"function"==typeof ve.subscribe?ve:(0,d.of)(ve)})))}stream(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,f.z)((0,h.P)(()=>this.get(G,re)),this.onLangChange.pipe((0,_.w)(ae=>{const ve=this.getParsedResult(ae.translations,G,re);return(0,g.b)(ve)?ve:(0,d.of)(ve)})))}instant(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');let ae=this.getParsedResult(this.translations[this.currentLang],G,re);if((0,g.b)(ae)){if(G instanceof Array){let ve={};return G.forEach((He,Ze)=>{ve[G[Ze]]=G[Ze]}),ve}return G}return ae}set(G,re,ae=this.currentLang){this.translations[ae][G]=this.compiler.compile(re,ae),this.updateLangs(),this.onTranslationChange.emit({lang:ae,translations:this.translations[ae]})}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(Ce),c.\u0275\u0275inject(de),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,ae){(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=ae,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(ve=>{ve.lang===this.translateService.currentLang&&this.checkNodes(!0,ve.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(ve=>{this.checkNodes(!0,ve.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(ve=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(G=!1,re){let ae=this.element.nativeElement.childNodes;ae.length||(this.setContent(this.element.nativeElement,this.key),ae=this.element.nativeElement.childNodes);for(let ve=0;ve{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(ae)){let He=this.translateService.getParsedResult(ae,G,this.currentParams);(0,g.b)(He)?He.subscribe({next:ve}):ve(He)}else this.translateService.get(G,this.currentParams).subscribe(ve)}}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,ae){let ve=He=>{this.value=void 0!==He?He:G,this.lastKey=G,this._ref.markForCheck()};if(ae){let He=this.translate.getParsedResult(ae,G,re);(0,g.b)(He.subscribe)?He.subscribe(ve):ve(He)}this.translate.get(G,re).subscribe(ve)}transform(G,...re){if(!G||!G.length)return G;if(S(G,this.lastKey)&&S(re,this.lastParams))return this.value;let ae;if(E(re[0])&&re.length)if("string"==typeof re[0]&&re[0].length){let ve=re[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{ae=JSON.parse(ve)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${re[0]}`)}}else"object"==typeof re[0]&&!Array.isArray(re[0])&&(ae=re[0]);return this.lastKey=G,this.lastParams=re,this.updateValue(G,ae),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ve=>{this.lastKey&&ve.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(G,ae,ve.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ve=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,ae,ve.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,ae))})),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:Ce,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:de,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:Ce,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:de,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/",f=".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=f}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:()=>Gt,AbstractValidationHandler:()=>Qe,AuthConfig:()=>ve,DateTimeProvider:()=>Ce,DefaultHashHandler:()=>K,DefaultOAuthInterceptor:()=>Dt,HashHandler:()=>oe,JwksValidationHandler:()=>Ft,LoginOptions:()=>Ae,MemoryStorage:()=>W,NullValidationHandler:()=>ie,OAuthErrorEvent:()=>G,OAuthEvent:()=>we,OAuthInfoEvent:()=>Be,OAuthLogger:()=>de,OAuthModule:()=>mt,OAuthModuleConfig:()=>A,OAuthNoopResourceServerErrorHandler:()=>et,OAuthResourceServerConfig:()=>U,OAuthResourceServerErrorHandler:()=>Te,OAuthService:()=>ce,OAuthStorage:()=>H,OAuthSuccessEvent:()=>Ee,ReceivedTokens:()=>pe,SystemDateTimeProvider:()=>Re,UrlHelperService:()=>Ge,ValidationHandler:()=>Ze,provideOAuthClient:()=>Pe});var n=a(5861),c=a(5879),d=a(6814),g=a(9862),r=a(8645),f=a(2096),h=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(Ke){return Promise.resolve(null)}validateAtHash(Ke){return Promise.resolve(!0)}}class A{}class U{}class Ce{}let Re=(()=>{class Oe extends Ce{now(){return Date.now()}new(){return new Date}}return Oe.\u0275fac=function(){let Ke;return function(ge){return(Ke||(Ke=c.\u0275\u0275getInheritedFactory(Oe)))(ge||Oe)}}(),Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class Ae{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class de{}class H{}let W=(()=>{class Oe{constructor(){this.data=new Map}getItem(he){return this.data.get(he)}removeItem(he){this.data.delete(he)}setItem(he,ge){this.data.set(he,ge)}}return Oe.\u0275fac=function(he){return new(he||Oe)},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class pe{}class we{constructor(Ke){this.type=Ke}}class Ee extends we{constructor(Ke,he=null){super(Ke),this.info=he}}class Be extends we{constructor(Ke,he=null){super(Ke),this.info=he}}class G extends we{constructor(Ke,he,ge=null){super(Ke),this.reason=he,this.params=ge}}function re(Oe){const Ke=Oe.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(Ke).split("").map(function(he){return"%"+("00"+he.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function ae(Oe){return btoa(Oe).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ve{constructor(Ke){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=he=>{location.href=he},Ke&&Object.assign(this,Ke)}}class He{encodeKey(Ke){return encodeURIComponent(Ke)}encodeValue(Ke){return encodeURIComponent(Ke)}decodeKey(Ke){return decodeURIComponent(Ke)}decodeValue(Ke){return decodeURIComponent(Ke)}}class Ze{}class Qe{validateAtHash(Ke){var he=this;return(0,n.Z)(function*(){let ge=he.inferHashAlgorithm(Ke.idTokenHeader),ct=yield he.calcHash(Ke.accessToken,ge),Ye=ae(ct.substr(0,ct.length/2)),De=Ke.idTokenClaims.at_hash.replace(/=/g,"");return Ye!==De&&(console.error("exptected at_hash: "+Ye),console.error("actual at_hash: "+De)),Ye===De})()}inferHashAlgorithm(Ke){let he=Ke.alg;if(!he.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+he);return"sha-"+he.substr(2)}}let Ge=(()=>{class Oe{getHashFragmentParams(he){let ge=he||window.location.hash;if(ge=decodeURIComponent(ge),0!==ge.indexOf("#"))return{};const ct=ge.indexOf("?");return ge=ge.substr(ct>-1?ct+1:1),this.parseQueryString(ge)}parseQueryString(he){const ge={};let ct,Me,Ye,De,F,V,Q;if(null===he)return ge;ct=he.split("&");for(let be=0;be=64;){for(Me=Ke[0],Ye=Ke[1],De=Ke[2],F=Ke[3],V=Ke[4],Q=Ke[5],be=Ke[6],dt=Ke[7],qe=0;qe<16;qe++)nt=ge+4*qe,Oe[qe]=(255&he[nt])<<24|(255&he[nt+1])<<16|(255&he[nt+2])<<8|255&he[nt+3];for(qe=16;qe<64;qe++)Rt=Oe[qe-2],Ve=(Rt>>>17|Rt<<15)^(Rt>>>19|Rt<<13)^Rt>>>10,Rt=Oe[qe-15],yt=(Rt>>>7|Rt<<25)^(Rt>>>18|Rt<<14)^Rt>>>3,Oe[qe]=(Ve+Oe[qe-7]|0)+(yt+Oe[qe-16]|0);for(qe=0;qe<64;qe++)Ve=(((V>>>6|V<<26)^(V>>>11|V<<21)^(V>>>25|V<<7))+(V&Q^~V&be)|0)+(dt+(Nt[qe]+Oe[qe]|0)|0)|0,yt=((Me>>>2|Me<<30)^(Me>>>13|Me<<19)^(Me>>>22|Me<<10))+(Me&Ye^Me&De^Ye&De)|0,dt=be,be=Q,Q=V,V=F+Ve|0,F=De,De=Ye,Ye=Me,Me=Ve+yt|0;Ke[0]+=Me,Ke[1]+=Ye,Ke[2]+=De,Ke[3]+=F,Ke[4]+=V,Ke[5]+=Q,Ke[6]+=be,Ke[7]+=dt,ge+=64,ct-=64}return ge}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 Ke=0;Ke0){for(;this.bufferLength<64&&he>0;)this.buffer[this.bufferLength++]=Ke[ge++],he--;64===this.bufferLength&&(_t(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(he>=64&&(ge=_t(this.temp,this.state,Ke,ge,he),he%=64);he>0;)this.buffer[this.bufferLength++]=Ke[ge++],he--;return this}finish(Ke){if(!this.finished){const he=this.bytesHashed,ge=this.bufferLength,ct=he/536870912|0,Me=he<<3,Ye=he%64<56?64:128;this.buffer[ge]=128;for(let De=ge+1;De>>24&255,this.buffer[Ye-7]=ct>>>16&255,this.buffer[Ye-6]=ct>>>8&255,this.buffer[Ye-5]=ct>>>0&255,this.buffer[Ye-4]=Me>>>24&255,this.buffer[Ye-3]=Me>>>16&255,this.buffer[Ye-2]=Me>>>8&255,this.buffer[Ye-1]=Me>>>0&255,_t(this.temp,this.state,this.buffer,0,Ye),this.finished=!0}for(let he=0;he<8;he++)Ke[4*he+0]=this.state[he]>>>24&255,Ke[4*he+1]=this.state[he]>>>16&255,Ke[4*he+2]=this.state[he]>>>8&255,Ke[4*he+3]=this.state[he]>>>0&255;return this}digest(){const Ke=new Uint8Array(this.digestLength);return this.finish(Ke),Ke}_saveState(Ke){for(let he=0;he{class Oe{calcHash(he,ge){return(0,n.Z)(function*(){return function ne(Oe){var Ke,he=[];for(Ke=0;Ke{class Oe extends ve{constructor(he,ge,ct,Me,Ye,De,F,V,Q,be){super(),this.ngZone=he,this.http=ge,this.config=Ye,this.urlHelper=De,this.logger=F,this.crypto=V,this.dateTimeService=be,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=Q,Ye||(Ye={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),Me&&(this.tokenValidationHandler=Me),Ye&&this.configure(Ye);try{ct?this.setStorage(ct):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(dt){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",dt)}if(this.checkLocalStorageAccessable()){const dt=window?.navigator?.userAgent;(dt?.includes("MSIE ")||dt?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const he="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(he,he),localStorage.removeItem(he),0))}catch{return!1}}configure(he){Object.assign(this,new ve,he),this.config=Object.assign({},new ve,he),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,_.h)(he=>"token_received"===he.type)).subscribe(he=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(he={},ge,ct=!0){let Me=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,l.b)(Ye=>{"token_received"===Ye.type?Me=!0:"logout"===Ye.type&&(Me=!1)}),(0,_.h)(Ye=>"token_expires"===Ye.type&&(null==ge||"any"===ge||Ye.info===ge)),(0,y.b)(1e3)).subscribe(Ye=>{Me&&this.refreshInternal(he,ct).catch(De=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(he,ge){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(he,ge):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(he=null){return this.loadDiscoveryDocument().then(ge=>this.tryLogin(he))}loadDiscoveryDocumentAndLogin(he=null){return this.loadDiscoveryDocumentAndTryLogin(he=he||{}).then(ge=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof he.state?he.state:""),!1))}debug(...he){this.showDebugInformation&&this.logger.debug.apply(this.logger,he)}validateUrlFromDiscoveryDocument(he){const ge=[],ct=this.validateUrlForHttps(he),Me=this.validateUrlAgainstIssuer(he);return ct||ge.push("https for all urls required. Also for urls received by discovery."),Me||ge.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),ge}validateUrlForHttps(he){if(!he)return!0;const ge=he.toLowerCase();return!(!1!==this.requireHttps&&(!ge.match(/^http:\/\/localhost($|[:\/])/)&&!ge.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||ge.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(he,ge){if(!he)throw new Error(`'${ge}' should not be null`);if(!this.validateUrlForHttps(he))throw new Error(`'${ge}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(he){return!this.strictDiscoveryDocumentValidation||!he||he.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)(he=>"token_received"===he.type)).subscribe(he=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const he=this.getAccessTokenExpiration(),ge=this.getAccessTokenStoredAt(),ct=this.calcTimeout(ge,he);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,f.of)(new Be("token_expires","access_token")).pipe((0,x.g)(ct)).subscribe(Me=>{this.ngZone.run(()=>{this.eventsSubject.next(Me)})})})}setupIdTokenTimer(){const he=this.getIdTokenExpiration(),ge=this.getIdTokenStoredAt(),ct=this.calcTimeout(ge,he);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,f.of)(new Be("token_expires","id_token")).pipe((0,x.g)(ct)).subscribe(Me=>{this.ngZone.run(()=>{this.eventsSubject.next(Me)})})})}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(he,ge){const ct=this.dateTimeService.now(),Ye=Math.max(0,(ge-he)*this.timeoutFactor-(ct-he)),De=2147483647;return Ye>De?De:Ye}setStorage(he){this._storage=he,this.configChanged()}loadDiscoveryDocument(he=null){return new Promise((ge,ct)=>{he||((he=this.issuer||"").endsWith("/")||(he+="/"),he+=".well-known/openid-configuration"),this.validateUrlForHttps(he)?this.http.get(he).subscribe(Me=>{if(!this.validateDiscoveryDocument(Me))return this.eventsSubject.next(new G("discovery_document_validation_error",null)),void ct("discovery_document_validation_error");this.loginUrl=Me.authorization_endpoint,this.logoutUrl=Me.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=Me.grant_types_supported,this.issuer=Me.issuer,this.tokenEndpoint=Me.token_endpoint,this.userinfoEndpoint=Me.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=Me.jwks_uri,this.sessionCheckIFrameUrl=Me.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(Me),this.revocationEndpoint=Me.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(Ye=>{const F=new Ee("discovery_document_loaded",{discoveryDocument:Me,jwks:Ye});this.eventsSubject.next(F),ge(F)}).catch(Ye=>{this.eventsSubject.next(new G("discovery_document_load_error",Ye)),ct(Ye)})},Me=>{this.logger.error("error loading discovery document",Me),this.eventsSubject.next(new G("discovery_document_load_error",Me)),ct(Me)}):ct("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((he,ge)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(ct=>{this.jwks=ct,he(ct)},ct=>{this.logger.error("error loading jwks",ct),this.eventsSubject.next(new G("jwks_load_error",ct)),ge(ct)}):he(null)})}validateDiscoveryDocument(he){let ge;return this.skipIssuerCheck||he.issuer===this.issuer?(ge=this.validateUrlFromDiscoveryDocument(he.authorization_endpoint),ge.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.end_session_endpoint),ge.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.token_endpoint),ge.length>0&&this.logger.error("error validating token_endpoint in discovery document",ge),ge=this.validateUrlFromDiscoveryDocument(he.revocation_endpoint),ge.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",ge),ge=this.validateUrlFromDiscoveryDocument(he.userinfo_endpoint),ge.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.jwks_uri),ge.length>0?(this.logger.error("error validating jwks_uri in discovery document",ge),!1):(this.sessionChecksEnabled&&!he.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: "+he.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(he,ge,ct=new g.HttpHeaders){return this.fetchTokenUsingPasswordFlow(he,ge,ct).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((he,ge)=>{const ct=(new g.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:ct,observe:"response",responseType:"text"}).subscribe(Me=>{if(this.debug("userinfo received",JSON.stringify(Me)),Me.headers.get("content-type").startsWith("application/json")){let Ye=JSON.parse(Me.body);const De=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!De.sub||Ye.sub!==De.sub))return void ge("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")),he({info:Ye})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new Ee("user_profile_loaded")),he(JSON.parse(Me.body))},Me=>{this.logger.error("error loading user info",Me),this.eventsSubject.next(new G("user_profile_load_error",Me)),ge(Me)})})}fetchTokenUsingPasswordFlow(he,ge,ct=new g.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:he,password:ge},ct)}fetchTokenUsingGrant(he,ge,ct=new g.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let Me=new g.HttpParams({encoder:new He}).set("grant_type",he).set("scope",this.scope);if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);ct=ct.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(Me=Me.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Me=Me.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))Me=Me.set(Ye,this.customQueryParams[Ye]);for(const Ye of Object.keys(ge))Me=Me.set(Ye,ge[Ye]);return ct=ct.set("Content-Type","application/x-www-form-urlencoded"),new Promise((Ye,De)=>{this.http.post(this.tokenEndpoint,Me,{headers:ct}).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((he,ge)=>{let ct=new g.HttpParams({encoder:new He}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),Me=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);Me=Me.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(ct=ct.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ct=ct.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))ct=ct.set(Ye,this.customQueryParams[Ye]);this.http.post(this.tokenEndpoint,ct,{headers:Me}).pipe((0,D.w)(Ye=>this.oidc&&Ye.id_token?(0,h.D)(this.processIdToken(Ye.id_token,Ye.access_token,!0)).pipe((0,l.b)(De=>this.storeIdToken(De)),(0,S.U)(De=>Ye)):(0,f.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")),he(Ye)},Ye=>{this.logger.error("Error refreshing token",Ye),this.eventsSubject.next(new G("token_refresh_error",Ye)),ge(Ye)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=he=>{const ge=this.processMessageEventMessage(he);this.checkOrigin&&he.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:ge,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(ct=>this.debug("tryLogin during silent refresh failed",ct))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(he={},ge=!0){const ct=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(he.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 Me=this.document.getElementById(this.silentRefreshIFrameName);Me&&this.document.body.removeChild(Me),this.silentRefreshSubject=ct.sub;const Ye=this.document.createElement("iframe");Ye.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,ge,he).then(be=>{Ye.setAttribute("src",be),this.silentRefreshShowIFrame||(Ye.style.display="none"),this.document.body.appendChild(Ye)});const F=this.events.pipe((0,_.h)(be=>be instanceof G),(0,E.P)()),V=this.events.pipe((0,_.h)(be=>"token_received"===be.type),(0,E.P)()),Q=(0,f.of)(new G("silent_refresh_timeout",null)).pipe((0,x.g)(this.silentRefreshTimeout));return(0,u.S)([F,V,Q]).pipe((0,S.U)(be=>{if(be instanceof G)throw"silent_refresh_timeout"===be.type||(be=new G("silent_refresh_error",be)),this.eventsSubject.next(be),be;return"token_received"===be.type&&(be=new Ee("silently_refreshed"),this.eventsSubject.next(be)),be})).toPromise()}initImplicitFlowInPopup(he){return this.initLoginFlowInPopup(he)}initLoginFlowInPopup(he){return he=he||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(ge=>new Promise((ct,Me)=>{let F,De=null;he.windowRef?he.windowRef&&!he.windowRef.closed&&(De=he.windowRef,De.location.href=ge):De=window.open(ge,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(he));const V=qe=>{this.tryLogin({customHashFragment:qe,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{be(),ct(!0)},nt=>{be(),Me(nt)})};De?F=window.setInterval(()=>{(!De||De.closed)&&(be(),Me(new G("popup_closed",{})))},500):Me(new G("popup_blocked",{}));const be=()=>{window.clearInterval(F),window.removeEventListener("storage",Rt),window.removeEventListener("message",dt),null!==De&&De.close(),De=null},dt=qe=>{const nt=this.processMessageEventMessage(qe);nt&&null!==nt?(window.removeEventListener("storage",Rt),V(nt)):console.log("false event firing")},Rt=qe=>{"auth_hash"===qe.key&&(window.removeEventListener("message",dt),V(qe.newValue))};window.addEventListener("message",dt),window.addEventListener("storage",Rt)}))}calculatePopupFeatures(he){const ge=he.height||470,ct=he.width||500,Me=window.screenLeft+(window.outerWidth-ct)/2;return`location=no,toolbar=no,width=${ct},height=${ge},top=${window.screenTop+(window.outerHeight-ge)/2},left=${Me}`}processMessageEventMessage(he){let ge="#";if(this.silentRefreshMessagePrefix&&(ge+=this.silentRefreshMessagePrefix),!he||!he.data||"string"!=typeof he.data)return;const ct=he.data;return ct.startsWith(ge)?"#"+ct.substr(ge.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=he=>{const ge=he.origin.toLowerCase(),ct=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),ct.startsWith(ge)){switch(he.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",he)}else this.debug("sessionCheckEventListener","wrong origin",ge,"expected",ct,"event",he)},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(he=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new Be("session_terminated")),this.logOut(!0)):this.refreshToken().then(he=>{this.debug("token refresh after session change worked")}).catch(he=>{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)(he=>"silently_refreshed"===he.type||"silent_refresh_timeout"===he.type||"silent_refresh_error"===he.type),(0,E.P)()).subscribe(he=>{"silently_refreshed"!==he.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 he=this.document.getElementById(this.sessionCheckIFrameName);he&&this.document.body.removeChild(he);const ge=this.document.createElement("iframe");ge.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),ge.setAttribute("src",this.sessionCheckIFrameUrl),ge.style.display="none",this.document.body.appendChild(ge),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 he=this.document.getElementById(this.sessionCheckIFrameName);he||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const ge=this.getSessionState();ge||this.stopSessionCheckTimer(),he.contentWindow.postMessage(this.clientId+" "+ge,this.issuer)}createLoginUrl(he="",ge="",ct="",Me=!1,Ye={}){var De=this;return(0,n.Z)(function*(){const F=De;let V;V=ct||De.redirectUri;const Q=yield De.createAndSaveNonce();if(he=he?Q+De.config.nonceStateSeparator+encodeURIComponent(he):Q,!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 be=F.loginUrl.indexOf("?")>-1?"&":"?";let dt=F.scope;De.oidc&&!dt.match(/(^|\s)openid($|\s)/)&&(dt="openid "+dt);let Rt=F.loginUrl+be+"response_type="+encodeURIComponent(F.responseType)+"&client_id="+encodeURIComponent(F.clientId)+"&state="+encodeURIComponent(he)+"&redirect_uri="+encodeURIComponent(V)+"&scope="+encodeURIComponent(dt);if(De.responseType.includes("code")&&!De.disablePKCE){const[qe,nt]=yield De.createChallangeVerifierPairForPKCE();De.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",nt):De._storage.setItem("PKCE_verifier",nt),Rt+="&code_challenge="+qe,Rt+="&code_challenge_method=S256"}ge&&(Rt+="&login_hint="+encodeURIComponent(ge)),F.resource&&(Rt+="&resource="+encodeURIComponent(F.resource)),F.oidc&&(Rt+="&nonce="+encodeURIComponent(Q)),Me&&(Rt+="&prompt=none");for(const qe of Object.keys(Ye))Rt+="&"+encodeURIComponent(qe)+"="+encodeURIComponent(Ye[qe]);if(De.customQueryParams)for(const qe of Object.getOwnPropertyNames(De.customQueryParams))Rt+="&"+qe+"="+encodeURIComponent(De.customQueryParams[qe]);return Rt})()}initImplicitFlowInternal(he="",ge=""){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 ct={},Me=null;"string"==typeof ge?Me=ge:"object"==typeof ge&&(ct=ge),this.createLoginUrl(he,Me,null,!1,ct).then(this.config.openUri).catch(Ye=>{console.error("Error in initImplicitFlow",Ye),this.inImplicitFlow=!1})}initImplicitFlow(he="",ge=""){""!==this.loginUrl?this.initImplicitFlowInternal(he,ge):this.events.pipe((0,_.h)(ct=>"discovery_document_loaded"===ct.type)).subscribe(ct=>this.initImplicitFlowInternal(he,ge))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(he){const ge=this;if(he.onTokenReceived){const ct={idClaims:ge.getIdentityClaims(),idToken:ge.getIdToken(),accessToken:ge.getAccessToken(),state:ge.state};he.onTokenReceived(ct)}}storeAccessTokenResponse(he,ge,ct,Me,Ye){if(this._storage.setItem("access_token",he),Me&&!Array.isArray(Me)?this._storage.setItem("granted_scopes",JSON.stringify(Me.split(" "))):Me&&Array.isArray(Me)&&this._storage.setItem("granted_scopes",JSON.stringify(Me)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),ct){const De=1e3*ct,V=this.dateTimeService.new().getTime()+De;this._storage.setItem("expires_at",""+V)}ge&&this._storage.setItem("refresh_token",ge),Ye&&Ye.forEach((De,F)=>{this._storage.setItem(F,De)})}tryLogin(he=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(he).then(ge=>!0):this.tryLoginImplicitFlow(he)}parseQueryString(he){return he&&0!==he.length?("?"===he.charAt(0)&&(he=he.substr(1)),this.urlHelper.parseQueryString(he)):{}}tryLoginCodeFlow(he=null){var ge=this;return(0,n.Z)(function*(){const ct=(he=he||{}).customHashFragment?he.customHashFragment.substring(1):window.location.search,Me=ge.getCodePartsFromUrl(ct),Ye=Me.code,De=Me.state,F=Me.session_state;if(!he.preventClearHashAfterLogin){const be=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,be)}let[V,Q]=ge.parseState(De);if(ge.state=Q,Me.error){ge.debug("error trying to login"),ge.handleLoginError(he,Me);const be=new G("code_error",{},Me);return ge.eventsSubject.next(be),Promise.reject(be)}if(!he.disableNonceCheck){if(!V)return ge.saveRequestedRoute(),Promise.resolve();if(!he.disableOAuth2StateCheck&&!ge.validateNonce(V)){const dt=new G("invalid_nonce_in_state",null);return ge.eventsSubject.next(dt),Promise.reject(dt)}}return ge.storeSessionState(F),Ye&&(yield ge.getTokenFromCode(Ye,he),ge.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const he=this._storage.getItem("requested_route");he&&history.replaceState(null,"",window.location.origin+he)}getCodePartsFromUrl(he){return he&&0!==he.length?("?"===he.charAt(0)&&(he=he.substr(1)),this.urlHelper.parseQueryString(he)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(he,ge){let ct=new g.HttpParams({encoder:new He}).set("grant_type","authorization_code").set("code",he).set("redirect_uri",ge.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let Me;Me=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),Me?ct=ct.set("code_verifier",Me):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(ct,ge)}fetchAndProcessToken(he,ge){ge=ge||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let ct=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Me=btoa(`${this.clientId}:${this.dummyClientSecret}`);ct=ct.set("Authorization","Basic "+Me)}return this.useHttpBasicAuth||(he=he.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(he=he.set("client_secret",this.dummyClientSecret)),new Promise((Me,Ye)=>{if(this.customQueryParams)for(let De of Object.getOwnPropertyNames(this.customQueryParams))he=he.set(De,this.customQueryParams[De]);this.http.post(this.tokenEndpoint,he,{headers:ct}).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,ge.disableNonceCheck).then(F=>{this.storeIdToken(F),this.eventsSubject.next(new Ee("token_received")),this.eventsSubject.next(new Ee("token_refreshed")),Me(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")),Me(De))},De=>{console.error("Error getting token",De),this.eventsSubject.next(new G("token_refresh_error",De)),Ye(De)})})}tryLoginImplicitFlow(he=null){let ge;ge=(he=he||{}).customHashFragment?this.urlHelper.getHashFragmentParams(he.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",ge);const ct=ge.state;let[Me,Ye]=this.parseState(ct);if(this.state=Ye,ge.error){this.debug("error trying to login"),this.handleLoginError(he,ge);const be=new G("token_error",{},ge);return this.eventsSubject.next(be),Promise.reject(be)}const De=ge.access_token,F=ge.id_token,V=ge.session_state,Q=ge.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!De||this.requestAccessToken&&!he.disableOAuth2StateCheck&&!ct||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&&!he.disableNonceCheck&&!this.validateNonce(Me)){const dt=new G("invalid_nonce_in_state",null);return this.eventsSubject.next(dt),Promise.reject(dt)}return this.requestAccessToken&&this.storeAccessTokenResponse(De,null,ge.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Q),this.oidc?this.processIdToken(F,De,he.disableNonceCheck).then(be=>he.validationHandler?he.validationHandler({accessToken:De,idClaims:be.idTokenClaims,idToken:be.idToken,state:ct}).then(dt=>be):be).then(be=>(this.storeIdToken(be),this.storeSessionState(V),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new Ee("token_received")),this.callOnTokenReceivedIfExists(he),this.inImplicitFlow=!1,!0)).catch(be=>(this.eventsSubject.next(new G("token_validation_error",be)),this.logger.error("Error validating tokens"),this.logger.error(be),Promise.reject(be))):(this.eventsSubject.next(new Ee("token_received")),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(he),Promise.resolve(!0))}parseState(he){let ge=he,ct="";if(he){const Me=he.indexOf(this.config.nonceStateSeparator);Me>-1&&(ge=he.substr(0,Me),ct=he.substr(Me+this.config.nonceStateSeparator.length))}return[ge,ct]}validateNonce(he){let ge;return ge=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),ge===he||(console.error("Validating access_token failed, wrong state/nonce.",ge,he),!1)}storeIdToken(he){this._storage.setItem("id_token",he.idToken),this._storage.setItem("id_token_claims_obj",he.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+he.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(he){this._storage.setItem("session_state",he)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(he,ge){he.onLoginError&&he.onLoginError(ge),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(he=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:he}processIdToken(he,ge,ct=!1){const Me=he.split("."),De=re(this.padBase64(Me[0])),F=JSON.parse(De),Q=re(this.padBase64(Me[1])),be=JSON.parse(Q);let dt;if(dt=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(be.aud)){if(be.aud.every(At=>At!==this.clientId)){const At="Wrong audience: "+be.aud.join(",");return this.logger.warn(At),Promise.reject(At)}}else if(be.aud!==this.clientId){const At="Wrong audience: "+be.aud;return this.logger.warn(At),Promise.reject(At)}if(!be.sub){const At="No sub claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==be.sub){const At=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${be.sub}`;return this.logger.warn(At),Promise.reject(At)}if(!be.iat){const At="No iat claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(!this.skipIssuerCheck&&be.iss!==this.issuer){const At="Wrong issuer: "+be.iss;return this.logger.warn(At),Promise.reject(At)}if(!ct&&be.nonce!==dt){const At="Wrong nonce: "+be.nonce;return this.logger.warn(At),Promise.reject(At)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!be.at_hash){const At="An at_hash is needed!";return this.logger.warn(At),Promise.reject(At)}const Rt=this.dateTimeService.now(),qe=1e3*be.iat,nt=1e3*be.exp,Ve=this.getClockSkewInMsec();if(qe-Ve>=Rt||nt+Ve-this.decreaseExpirationBySec<=Rt){const At="Token has expired";return console.error(At),console.error({now:Rt,issuedAtMSec:qe,expiresAtMSec:nt}),Promise.reject(At)}const yt={accessToken:ge,idToken:he,jwks:this.jwks,idTokenClaims:be,idTokenHeader:F,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(yt).then(At=>({idToken:he,idTokenClaims:be,idTokenClaimsJson:Q,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:nt})):this.checkAtHash(yt).then(At=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!At){const on="Wrong at_hash";return this.logger.warn(on),Promise.reject(on)}return this.checkSignature(yt).then(on=>{const Sn={idToken:he,idTokenClaims:be,idTokenClaimsJson:Q,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:nt};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 he=this._storage.getItem("id_token_claims_obj");return he?JSON.parse(he):null}getGrantedScopes(){const he=this._storage.getItem("granted_scopes");return he?JSON.parse(he):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(he){for(;he.length%4!=0;)he+="=";return he}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 he=this._storage.getItem("expires_at"),ge=this.dateTimeService.new();return!(he&&parseInt(he,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(he)?JSON.parse(this._storage.getItem(he)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(he={},ge=""){let ct=!1;"boolean"==typeof he&&(ct=he,he={});const Me=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||ct)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(Me)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let De=new g.HttpParams({encoder:new He});Me&&(De=De.set("id_token_hint",Me));const F=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";F&&(De=De.set("post_logout_redirect_uri",F),ge&&(De=De.set("state",ge)));for(let V in he)De=De.set(V,he[V]);Ye=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+De.toString()}this.config.openUri(Ye)}createAndSaveNonce(){const he=this;return this.createNonce().then(function(ge){return he.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",ge):he._storage.setItem("nonce",ge),ge})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const he=this.document.getElementById(this.silentRefreshIFrameName);he&&he.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const ge=this.document.getElementById(this.sessionCheckIFrameName);ge&&ge.remove()}createNonce(){return new Promise(he=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const ge="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let ct=45,Me="";const Ye=typeof self>"u"?null:self.crypto||self.msCrypto;if(Ye){let De=new Uint8Array(ct);Ye.getRandomValues(De),De.map||(De.map=Array.prototype.map),De=De.map(F=>ge.charCodeAt(F%66)),Me=String.fromCharCode.apply(null,De)}else for(;0"discovery_document_loaded"===ct.type)).subscribe(ct=>this.initCodeFlowInternal(he,ge))}initCodeFlowInternal(he="",ge={}){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 ct={},Me=null;"string"==typeof ge?Me=ge:"object"==typeof ge&&(ct=ge),this.createLoginUrl(he,Me,null,!1,ct).then(this.config.openUri).catch(Ye=>{console.error("Error in initAuthorizationCodeFlow"),console.error(Ye)})}createChallangeVerifierPairForPKCE(){var he=this;return(0,n.Z)(function*(){if(!he.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const ge=yield he.createNonce();return[ae(yield he.crypto.calcHash(ge,"sha-256")),ge]})()}extractRecognizedCustomParameters(he){let ge=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(ct=>{he[ct]&&ge.set(ct,JSON.stringify(he[ct]))}),ge}revokeTokenAndLogout(he={},ge=!1){let ct=this.revocationEndpoint,Me=this.getAccessToken(),Ye=this.getRefreshToken();if(!Me)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,Q)=>{let be,dt;if(Me){let Rt=De.set("token",Me).set("token_type_hint","access_token");be=this.http.post(ct,Rt,{headers:F})}else be=(0,f.of)(null);if(Ye){let Rt=De.set("token",Ye).set("token_type_hint","refresh_token");dt=this.http.post(ct,Rt,{headers:F})}else dt=(0,f.of)(null);ge&&(be=be.pipe((0,I.K)(Rt=>0===Rt.status?(0,f.of)(null):(0,v._)(Rt))),dt=dt.pipe((0,I.K)(Rt=>0===Rt.status?(0,f.of)(null):(0,v._)(Rt)))),(0,b.a)([be,dt]).subscribe(Rt=>{this.logOut(he),V(Rt),this.logger.info("Token successfully revoked")},Rt=>{this.logger.error("Error revoking token",Rt),this.eventsSubject.next(new G("token_revoke_error",Rt)),Q(Rt)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Oe.\u0275fac=function(he){return new(he||Oe)(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(g.HttpClient),c.\u0275\u0275inject(H,8),c.\u0275\u0275inject(Ze,8),c.\u0275\u0275inject(ve,8),c.\u0275\u0275inject(Ge),c.\u0275\u0275inject(de),c.\u0275\u0275inject(oe,8),c.\u0275\u0275inject(d.DOCUMENT),c.\u0275\u0275inject(Ce))},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class Te{}class et{handleError(Ke){return(0,v._)(Ke)}}let Dt=(()=>{class Oe{constructor(he,ge,ct){this.oAuthService=he,this.errorHandler=ge,this.moduleConfig=ct}checkUrl(he){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(he):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(ge=>he.toLowerCase().startsWith(ge.toLowerCase()))}intercept(he,ge){const ct=he.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(ct)?this.moduleConfig.resourceServer.sendAccessToken?(0,p.T)((0,f.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,f.of)(null)),(0,S.U)(Ye=>this.oAuthService.getAccessToken()))).pipe((0,$.q)(1),(0,ee.z)(Ye=>{if(Ye){const F=he.headers.set("Authorization","Bearer "+Ye);he=he.clone({headers:F})}return ge.handle(he).pipe((0,I.K)(De=>this.errorHandler.handleError(De)))})):ge.handle(he).pipe((0,I.K)(Ye=>this.errorHandler.handleError(Ye))):ge.handle(he)}}return Oe.\u0275fac=function(he){return new(he||Oe)(c.\u0275\u0275inject(ce),c.\u0275\u0275inject(Te),c.\u0275\u0275inject(A,8))},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();function _e(){return console}function ut(){return typeof sessionStorage<"u"?sessionStorage:new W}function Pe(Oe=null,Ke=ie){return(0,c.makeEnvironmentProviders)([ce,Ge,{provide:de,useFactory:_e},{provide:H,useFactory:ut},{provide:Ze,useClass:Ke},{provide:oe,useClass:K},{provide:Te,useClass:et},{provide:A,useValue:Oe},{provide:g.HTTP_INTERCEPTORS,useClass:Dt,multi:!0},{provide:Ce,useClass:Re}])}let mt=(()=>{class Oe{static forRoot(he=null,ge=ie){return{ngModule:Oe,providers:[Pe(he,ge)]}}}return Oe.\u0275fac=function(he){return new(he||Oe)},Oe.\u0275mod=c.\u0275\u0275defineNgModule({type:Oe}),Oe.\u0275inj=c.\u0275\u0275defineInjector({imports:[d.CommonModule]}),Oe})();class Ft 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 Gt=new c.InjectionToken("AUTH_CONFIG")},9256:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{Base64:()=>Ze,VERSION:()=>c,atob:()=>H,atobPolyfill:()=>de,btoa:()=>S,btoaPolyfill:()=>D,btou:()=>Ae,decode:()=>Be,encode:()=>A,encodeURI:()=>U,encodeURL:()=>U,extendBuiltins:()=>He,extendString:()=>ae,extendUint8Array:()=>ve,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,f="function"==typeof TextDecoder?new TextDecoder:void 0,h="function"==typeof TextEncoder?new TextEncoder:void 0,v=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),b=(Qe=>{let Ge={};return Qe.forEach((tt,Ct)=>Ge[tt]=Ct),Ge})(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,Ge=>"+"==Ge?"-":"_"),x=Qe=>Qe.replace(/[^A-Za-z0-9\+\/]/g,""),D=Qe=>{let Ge,tt,Ct,Nt,_t="";const Bt=Qe.length%3;for(let Tt=0;Tt255||(Ct=Qe.charCodeAt(Tt++))>255||(Nt=Qe.charCodeAt(Tt++))>255)throw new TypeError("invalid character found");Ge=tt<<16|Ct<<8|Nt,_t+=v[Ge>>18&63]+v[Ge>>12&63]+v[Ge>>6&63]+v[63&Ge]}return Bt?_t.slice(0,Bt-3)+"===".substring(Bt):_t},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 Ct=0,Nt=Qe.length;CtGe?y(E(Qe)):E(Qe),X=Qe=>{if(Qe.length<2)return(Ge=Qe.charCodeAt(0))<128?Qe:Ge<2048?_(192|Ge>>>6)+_(128|63&Ge):_(224|Ge>>>12&15)+_(128|Ge>>>6&63)+_(128|63&Ge);var Ge=65536+1024*(Qe.charCodeAt(0)-55296)+(Qe.charCodeAt(1)-56320);return _(240|Ge>>>18&7)+_(128|Ge>>>12&63)+_(128|Ge>>>6&63)+_(128|63&Ge)},$=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ee=Qe=>Qe.replace($,X),ie=r?Qe=>Buffer.from(Qe,"utf8").toString("base64"):h?Qe=>E(h.encode(Qe)):Qe=>S(ee(Qe)),A=(Qe,Ge=!1)=>Ge?y(ie(Qe)):ie(Qe),U=Qe=>A(Qe,!0),Ce=/[\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(Ce,Re),de=Qe=>{if(Qe=Qe.replace(/\s+/g,""),!p.test(Qe))throw new TypeError("malformed base64.");Qe+="==".slice(2-(3&Qe.length));let Ge,Ct,Nt,tt="";for(let _t=0;_t>16&255):64===Nt?_(Ge>>16&255,Ge>>8&255):_(Ge>>16&255,Ge>>8&255,255&Ge);return tt},H=d?Qe=>atob(x(Qe)):r?Qe=>Buffer.from(Qe,"base64").toString("binary"):de,W=r?Qe=>l(Buffer.from(Qe,"base64")):Qe=>l(H(Qe).split("").map(Ge=>Ge.charCodeAt(0))),pe=Qe=>W(Ee(Qe)),we=r?Qe=>Buffer.from(Qe,"base64").toString("utf8"):f?Qe=>f.decode(W(Qe)):Qe=>Ae(H(Qe)),Ee=Qe=>x(Qe.replace(/[-_]/g,Ge=>"-"==Ge?"+":"/")),Be=Qe=>we(Ee(Qe)),G=Qe=>{if("string"!=typeof Qe)return!1;const Ge=Qe.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(Ge)||!/[^\s0-9a-zA-Z\-_]/.test(Ge)},re=Qe=>({value:Qe,enumerable:!1,writable:!0,configurable:!0}),ae=function(){const Qe=(Ge,tt)=>Object.defineProperty(String.prototype,Ge,re(tt));Qe("fromBase64",function(){return Be(this)}),Qe("toBase64",function(Ge){return A(this,Ge)}),Qe("toBase64URI",function(){return A(this,!0)}),Qe("toBase64URL",function(){return A(this,!0)}),Qe("toUint8Array",function(){return pe(this)})},ve=function(){const Qe=(Ge,tt)=>Object.defineProperty(Uint8Array.prototype,Ge,re(tt));Qe("toBase64",function(Ge){return I(this,Ge)}),Qe("toBase64URI",function(){return I(this,!0)}),Qe("toBase64URL",function(){return I(this,!0)})},He=()=>{ae(),ve()},Ze={version:n,VERSION:c,atob:H,atobPolyfill:de,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:ae,extendUint8Array:ve,extendBuiltins:He}},4028:(Ie,B,a)=>{"use strict";function n(){const c=window,d=document;var g="hljs-ln",r="hljs-ln-line",f="hljs-ln-code",h="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 de(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,ae=Be.length;re
{6}',[r,h,u,v,f,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):Ce(G.parentNode))}}function Ce(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),ae=parseInt(G.dataset.lineNumber);if(re!=ae){var ve=Be.textContent,He=G.textContent;if(re>ae){var Ze=re;re=ae,ae=Ze,Ze=ve,ve=He,He=Ze}for(;0!==Ee.indexOf(ve);)ve=ve.slice(1);for(;-1===Ee.lastIndexOf(He);)He=He.slice(0,-1);for(var Qe=ve,Ge=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),f=a(4664),h=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,de){this.doc=Re,this.platformId=Ae,this._options=de,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,f.w)(H=>this._options&&this._options.lineNumbersLoader?(Re.defaultView.hljs=H,this.loadLineNumbers().pipe((0,h.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,f.w)(Re=>this._loadLanguages(Re)))}return(0,b._)(()=>"Highlight.js library was not imported!")}_loadLanguages(Re){const Ae=Object.entries(this._options.languages).map(([de,H])=>$(H()).pipe((0,h.b)(W=>Re.registerLanguage(de,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)(Ce=>!!Ce?.default),(0,_.U)(Ce=>Ce.default));let ee=(()=>{class U{get hljs(){return this._hljs}constructor(Re,Ae){this._loader=Re,this._hljs=null,Re.ready.subscribe(de=>{this._hljs=de,Ae&&Ae.config&&(de.configure(Ae.config),de.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(Re,{language:Ae,ignoreIllegals:de}){return this._loader.ready.pipe((0,_.U)(H=>H.highlight(Re,{language:Ae,ignoreIllegals:de})))}highlightAuto(Re,Ae){return this._loader.ready.pipe((0,_.U)(de=>de.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,h.b)(de=>de.registerLanguage(Re,Ae)))}unregisterLanguage(Re){return this._loader.ready.pipe((0,h.b)(Ae=>Ae.unregisterLanguage(Re)))}registerAliases(Re,{languageName:Ae}){return this._loader.ready.pipe((0,h.b)(de=>de.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,h.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,de,H,W){this._hljs=Ae,this._sanitizer=de,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(de=>{this.setInnerHTML(de?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(de)})}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,f,h,u,v){try{var b=d[u](v),p=b.value}catch(_){return void r(_)}b.done?g(p):Promise.resolve(p).then(f,h)}function c(d){return function(){var g=this,r=arguments;return new Promise(function(f,h){var u=d.apply(g,r);function v(p){n(u,f,h,v,b,"next",p)}function b(p){n(u,f,h,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(f){return typeof f}:function(f){return f&&"function"==typeof Symbol&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f})(r)}function g(r,f,h){return(f=function d(r){var f=function c(r,f){if("object"!==n(r)||null===r)return r;var h=r[Symbol.toPrimitive];if(void 0!==h){var u=h.call(r,f||"default");if("object"!==n(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===f?String:Number)(r)}(r,"string");return"symbol"===n(f)?f:String(f)}(f))in r?Object.defineProperty(r,f,{value:h,enumerable:!0,configurable:!0,writable:!0}):r[f]=h,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.54","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 +(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(f){if(0===c.Ucum.dimLen_)throw new Error("Dimension.setDimensionLen must be called before Dimension constructor");if(null==f)this.assignZero();else if(f instanceof Array){if(f.length!==c.Ucum.dimLen_)throw new Error(`Parameter error, incorrect length of vector passed to Dimension constructor, vector = ${JSON.stringify(f)}`);this.dimVec_=[];for(let h=0;h=c.Ucum.dimLen_)throw new Error("Parameter error, invalid element number specified for Dimension constructor");this.assignZero(),this.dimVec_[f]=1}}setElementAt(f,h){if(!d(f)||f<0||f>=c.Ucum.dimLen_)throw new Error(`Dimension.setElementAt called with an invalid index position (${f})`);this.dimVec_||this.assignZero(),null==h&&(h=1),this.dimVec_[f]=h}getElementAt(f){if(!d(f)||f<0||f>=c.Ucum.dimLen_)throw new Error(`Dimension.getElementAt called with an invalid index position (${f})`);let h=null;return this.dimVec_&&(h=this.dimVec_[f]),h}getProperty(f){return this["_"===f.charAt(f.length-1)?f:f+"_"]}toString(){let f=null;return this.dimVec_&&(f="["+this.dimVec_.join(", ")+"]"),f}add(f){if(!f instanceof g)throw new Error(`Dimension.add called with an invalid parameter - ${typeof f} instead of a Dimension object`);if(this.dimVec_&&f.dimVec_)for(let h=0;h{"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(f.bind(null,p))}return v.data}return v};function g(v){return v.map(b=>Array.isArray(b)?b:[b])}function f(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_),f=r.length;for(let h=0;h{"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 f=""+r;return!isNaN(f)&&!isNaN(parseFloat(f))},B.isIntegerUnit=function d(r){return/^\d+$/.test(r)},B.getSynonyms=function g(r){let f={},u={};if(u=n.getInstance().getUnitBySynonym(r),u.units){f.status="succeeded";let v=u.units.length;f.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 f{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 f=a(9473).Ucum,h=a(7894).UnitTables,u=a(4206).T;class v{constructor(){0===h.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==f.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=h.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=h.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,f=a(9473).Ucum,h=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 h:void 0!==_.dim_.dimVec_?new h(_.dim_.dimVec_):_.dim_ instanceof h?_.dim_:_.dim_ instanceof Array||v(_.dim_)?new h(_.dim_):new h,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 h),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,f=a(5744).Unit,h=a(7894).UnitTables,u=a(8902).PrefixTables;class v{constructor(){this.utabs_=h.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 f({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 f({csCode_:x,magnitude_:x,name_:x}):x.csCode_=p:x=new f({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_:Ce+""+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 f({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(f){f.name_&&this.addUnitName(f),this.addUnitCode(f),this.addUnitString(f);try{f.dim_.getProperty("dimVec_")&&this.addUnitDimension(f)}catch{}}addUnitName(f){let h=f.name_;if(!h)throw new Error(`UnitTables.addUnitName called for a unit with no name. Unit code = ${f.csCode_}.`);this.unitNames_[h]?this.unitNames_[h].push(f):this.unitNames_[h]=[f]}addUnitCode(f){let h=f.csCode_;if(!h)throw new Error("UnitTables.addUnitCode called for unit that has no code.");if(this.unitCodes_[h])throw new Error(`UnitTables.addUnitCode called, already contains entry for unit with code = ${h}`);if(this.unitCodes_[h]=f,this.codeOrder_.push(h),"g"==h){let u=f.dim_.dimVec_,v=0;for(;v=1&&(u=f.substr(h+n.codeSep_.length),f=f.substr(0,h));let v=this.unitNames_[f];if(v){let b=v.length;if(u&&b>1){let p=0;for(;v[p].csCode_!==u&&p0&&(u+=h),"dim_"===f[D])u+=null!=x.dim_&&x.dim_.dimVec_ instanceof Array?"["+x.dim_.dimVec_.join(",")+"]":"";else{let S=x[f[D]];u+="string"==typeof S?S.replace(/[\n\r]/g," "):S}u+="\r\n"}}return u}printUnits(f,h){void 0===f&&(f=!1),void 0===h&&(h="|");let u="",v=this.codeOrder_.length,b="csCode"+h;f&&(b+="ciCode"+h),b+="name"+h,f&&(b+="isBase"+h),b+="magnitude"+h+"dimension"+h+"from unit(s)"+h+"value"+h+"function"+h,f&&(b+="property"+h+"printSymbol"+h+"synonyms"+h+"source"+h+"class"+h+"isMetric"+h+"variable"+h+"isSpecial"+h+"isAbitrary"+h),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),g=(a(7088),a(9515),n.__importStar(a(5879))),r=n.__importStar(a(9515)),f=n.__importStar(a(7088)),h=n.__importStar(a(4505)),u=n.__importStar(a(617)),v=n.__importStar(a(6718)),b=n.__importStar(a(1274)),p=n.__importStar(a(5187));B.AppComponent=(()=>{class l{constructor(x,D){x.setDefaultLang("de"),x.use(x.getBrowserLang());let S=location.href;S.indexOf("#")>0?S=S.substring(0,S.indexOf("#")-1)+"/fhir":S+="fhir",console.log("note: using fhir base "+S),D.changeMagMicroService(S)}}return l.\u0275fac=function(x){return new(x||l)(g.\u0275\u0275directiveInject(r.TranslateService),g.\u0275\u0275directiveInject(f.FhirConfigService))},l.\u0275cmp=g.\u0275\u0275defineComponent({type:l,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(x,D){if(1&x&&(g.\u0275\u0275elementStart(0,"mat-toolbar",0)(1,"div",1)(2,"div",2),g.\u0275\u0275element(3,"img",3),g.\u0275\u0275elementEnd()(),g.\u0275\u0275element(4,"span",4),g.\u0275\u0275elementStart(5,"span")(6,"button",5)(7,"mat-icon"),g.\u0275\u0275text(8,"more_vert"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(9,"mat-menu",null,6)(11,"button",7)(12,"mat-icon"),g.\u0275\u0275text(13,"home"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(14,"span"),g.\u0275\u0275text(15,"Home"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(16,"button",8)(17,"mat-icon"),g.\u0275\u0275text(18,"info"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(19,"span"),g.\u0275\u0275text(20,"CapabilityStatement"),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(21,"button",9)(22,"mat-icon"),g.\u0275\u0275text(23,"search"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(24,"span"),g.\u0275\u0275text(25,"Mobile Access Gateway ..."),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(26,"button",10)(27,"mat-icon"),g.\u0275\u0275text(28,"people"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(29,"span"),g.\u0275\u0275text(30,"search Patients ..."),g.\u0275\u0275elementEnd()(),g.\u0275\u0275elementStart(31,"button",11)(32,"mat-icon"),g.\u0275\u0275text(33,"settings"),g.\u0275\u0275elementEnd(),g.\u0275\u0275elementStart(34,"span"),g.\u0275\u0275text(35,"Settings"),g.\u0275\u0275elementEnd()()()()(),g.\u0275\u0275elementStart(36,"main",12),g.\u0275\u0275element(37,"router-outlet"),g.\u0275\u0275elementEnd()),2&x){const S=g.\u0275\u0275reference(10);g.\u0275\u0275advance(6),g.\u0275\u0275property("matMenuTriggerFor",S)}},dependencies:[h.MatLegacyButton,u.MatIcon,v.MatLegacyMenu,v.MatLegacyMenuItem,v.MatLegacyMenuTrigger,b.MatToolbar,p.RouterOutlet,p.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}}"]}),l})()},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),f=a(6401),h=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:h.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:[f.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)),f=n.__importStar(a(9025)),h=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,f.MatLegacyCard,f.MatLegacyCardHeader,f.MatLegacyCardContent,f.MatLegacyCardTitle,h.MatLegacyError,u.Highlight],styles:[".display[_ngcontent-%COMP%]{display:inline-block}"]}),_})()},7088:(Ie,B,a)=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0}),B.FhirConfigService=void 0;const n=a(655),c=n.__importDefault(a(8907)),d=n.__importStar(a(5879));B.FhirConfigService=(()=>{class r{constructor(){}changeFhirMicroService(h){localStorage.setItem("fhirMicroServer",h)}changeMagMicroService(h){localStorage.setItem("magMicroService",h)}getFhirMicroService(){return localStorage.getItem("fhirMicroServer")||"/matchbox/fhir"}getMobileAccessGatewayService(){return localStorage.getItem("magMicroService")||"/mag/fhir"}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 c.default({baseUrl:this.getFhirMicroService()})}getMobileAccessGatewayClient(){return new c.default({baseUrl:this.getMobileAccessGatewayService()})}getAuthCodeFlowConfig(){return{loginUrl:this.getMobileAccessGatewayLoginUrl(),redirectUri:this.getRedirectUri(),tokenEndpoint:this.getMobileAccessGatewayTokenEndpoint(),clientId:this.getClientId(),responseType:"code",scope:"todo",dummyClientSecret:this.getClientSecret(),showDebugInformation:!0,timeoutFactor:.75}}}return r.\u0275fac=function(h){return new(h||r)},r.\u0275prov=d.\u0275\u0275defineInjectable({token:r,factory:r.\u0275fac,providedIn:"root"}),r})()},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(h,u){return(0,c.evaluate)(h,u,null)}evaluateToString(h,u){const v=this.evaluate(h,u);return v&&v instanceof Array&&1===v.length?v[0]:null}getOauthUriToken(h){return this.evaluateToString(h,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='token').valueUri")}getOauthUriAuthorize(h){return this.evaluateToString(h,"rest.security.extension.where(url='http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris').extension.where(url='authorize').valueUri")}}return r.\u0275fac=function(h){return new(h||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)),f=c.__importStar(a(5187)),h=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(f.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:[h.MatLegacyCard,h.MatLegacyCardContent,h.MatLegacyCardFooter,u.MatIcon,v.MatLegacyMenuItem,f.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)),h=(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)),Ce=c.__importStar(a(2214)),Re=c.__importStar(a(1438)),Ae=c.__importStar(a(9949)),de=c.__importStar(a(9009));function H(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function W(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"button",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onFetchPatient())}),l.\u0275\u0275text(2," get Patient "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()}}function pe(et,Dt){if(1&et&&(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&et){const _e=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",null==_e.patient.name[0]?null:_e.patient.name[0].given," ",null==_e.patient.name[0]?null:_e.patient.name[0].family,", ",_e.patient.birthDate," ")}}function we(et,Dt){if(1&et){const _e=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(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onPIXmFeedAdd())}),l.\u0275\u0275text(24," PIXm Feed - Add Identifier "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}if(2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",_e.patient.name),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceAddIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceAddIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceManagingOrganizationOid),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",_e.sourceManagingOrganizationName)}}function Ee(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div")(1,"pre"),l.\u0275\u0275element(2,"code",43),l.\u0275\u0275elementEnd()()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",_e.getScopes())}}function Be(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",44),l.\u0275\u0275text(1,"Title"),l.\u0275\u0275elementEnd())}function G(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",44)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].attachment.title," ")}}function re(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",45),l.\u0275\u0275text(1,"Description"),l.\u0275\u0275elementEnd())}function ae(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",45),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" ",_e.description," ")}}function ve(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",46),l.\u0275\u0275text(1,"Content-Type"),l.\u0275\u0275elementEnd())}function He(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",46)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].attachment.contentType," ")}}function Ze(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",47),l.\u0275\u0275text(1,"formatCode"),l.\u0275\u0275elementEnd())}function Qe(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"mat-cell",47)(1,"div"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.content[0].format.code," ")}}function Ge(et,Dt){1&et&&(l.\u0275\u0275elementStart(0,"mat-header-cell",48),l.\u0275\u0275text(1,"Actions"),l.\u0275\u0275elementEnd())}function tt(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"mat-cell",48)(1,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onRemove(mt))}),l.\u0275\u0275elementStart(2,"mat-icon"),l.\u0275\u0275text(3,"remove"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onReplace(mt))}),l.\u0275\u0275elementStart(5,"mat-icon"),l.\u0275\u0275text(6,"reply"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(7,"button",49),l.\u0275\u0275listener("click",function(){const mt=l.\u0275\u0275restoreView(_e).$implicit,Pt=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pt.onDownloadDocumentReferenceAttachment(mt))}),l.\u0275\u0275elementStart(8,"mat-icon"),l.\u0275\u0275text(9,"download"),l.\u0275\u0275elementEnd()()()}}function Ct(et,Dt){1&et&&l.\u0275\u0275element(0,"mat-header-row")}function Nt(et,Dt){1&et&&l.\u0275\u0275element(0,"mat-row")}function _t(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function Bt(et,Dt){if(1&et){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"mat-card-actions")(2,"button",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Pe=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Pe.onPdf())}),l.\u0275\u0275text(3,"Pdf"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()}}function Tt(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" Replace Document with ",_e.replaceDocumentReference.identifier[0].value," ")}}function Lt(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=Dt.$implicit;l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate3(" ",_e.descr,": ",_e.existingUuid," -> ",_e.newUuid," ")}}function Le(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(_e.errMsgAssignPatient)}}function lt(et,Dt){1&et&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275element(1,"mat-progress-spinner",42),l.\u0275\u0275elementContainerEnd())}function ze(et,Dt){if(1&et&&(l.\u0275\u0275elementStart(0,"div"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&et){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate(_e.errMsg)}}const at=function(){return["title","name","contentType","formatCode","action"]},N=et=>String(Math.floor(Math.abs(et))).padStart(2,"0");function K(et){const Dt=-et.getTimezoneOffset(),_e=Dt>=0?"+":"-",ut=`${N(Dt/60)}:${N(Dt%60)}`;return`${(0,B.toLocaleDate)(et)}T${(0,B.toLocaleTime)(et)}${_e}${ut}`}B.toLocaleDate=et=>`${et.getFullYear()}-${N(et.getMonth()+1)}-${N(et.getDate())}`,B.toLocaleHHMM=et=>`${N(et.getHours())}:${N(et.getMinutes())}`,B.toLocaleTime=et=>`${(0,B.toLocaleHHMM)(et)}:${N(et.getSeconds())}`,B.toLocaleDateTime=K,B.MagComponent=(()=>{class et{constructor(_e,ut,Pe,mt,Pt,Ft){this.data=_e,this.fhirPathService=ut,this.http=Pe,this.cd=mt,this.oauthService=Pt,this.router=Ft,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=_e.getMobileAccessGatewayClient(),this.mag.capabilityStatement().then(Oe=>this.setJson(JSON.stringify(Oe,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.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(K(new Date)),this.languageCode=new r.UntypedFormControl,this.languageCode.setValue(this.getLocalStorageItemOrDefault("mag.languageCode","de-CH")),this.fhirConfigService=_e,Pt.configure(this.fhirConfigService.getAuthCodeFlowConfig()),Pt.tryLoginCodeFlow().then(Oe=>{this.scopes=this.oauthService.getGrantedScopes()}),Pt.events.subscribe(Oe=>{Oe instanceof p.OAuthErrorEvent?console.error(Oe):console.warn(Oe)}),this.pdf="",this.replaceDocumentReference=null}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.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(_e,ut){return localStorage.getItem(_e)||ut}setLocaleStorageItem(_e,ut){return localStorage.setItem(_e,ut),ut}setJson(_e){this.json=_e}getJson(){return this.json}getScopes(){return this.scopes?JSON.stringify(this.scopes,null,2):""}ngOnInit(){}ngOnDestroy(){}setPixmQueryResult(_e){this.inPixmProgress=!1,this.setJson(JSON.stringify(_e,null,2)),this.targetIdentifierValue=this.fhirPathService.evaluateToString(_e,"parameter.valueIdentifier.where(system='"+this.targetIdentifierSystem.value+"').value"),this.targetIdentifier2Value=this.fhirPathService.evaluateToString(_e,"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(_e,"parameter.valueReference.reference"),this.cache()}setPatientFetchResult(_e){this.inPixmProgress=!1,this.patient=_e,this.setJson(JSON.stringify(_e,null,2)),this.cache()}setPIXmFeedAddResult(_e){this.inPixmProgress=!1,this.patient=void 0,this.setJson(JSON.stringify(_e,null,2)),this.cache()}onPIXmQuery(){this.targetIdentifierValue="",this.targetIdentifier2Value="",this.patient=void 0,this.inPixmProgress=!0,this.cache();let _e="sourceIdentifier="+encodeURIComponent(this.sourceIdentifierSystem.value+"|"+this.sourceIdentifierValue.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifierSystem.value)+"&targetSystem="+encodeURIComponent(this.targetIdentifier2System.value);this.mag.operation({name:"$ihe-pix?"+_e,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(ut=>this.setPixmQueryResult(ut)).catch(ut=>{this.setJson(JSON.stringify(ut,null,2)),this.targetIdentifierValue="",this.targetIdentifier2Value="",this.targetId="",this.cache(),this.inPixmProgress=!1})}getPatient(){const _e=this.targetId.substring(this.targetId.indexOf("Patient/")+8);return this.mag.read({resourceType:"Patient",id:_e,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 _e=this;return n(function*(){_e.patient=void 0,_e.inPixmProgress=!0,_e.cache();try{_e.patient=yield _e.getPatient(),_e.setPatientFetchResult(_e.patient)}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.cache(),_e.inPixmProgress=!1}})()}onPIXmFeedAdd(){this.inPixmProgress=!0,this.patient.telecom&&delete this.patient.telecom,this.cache();let _e={identifier:this.sourceAddIdentifierSystem.value+"|"+this.sourceAddIdentifierValue.value},ut={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(ut),this.patient.managingOrganization={reference:"#org"},this.mag.update({resourceType:"Patient",body:this.patient,searchParams:_e,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8","content-type":"application/fhir+json;fhirVersion=4.0;charset=UTF-8"}}}).then(Pe=>this.setPIXmFeedAddResult(Pe)).catch(Pe=>{this.setJson(JSON.stringify(Pe,null,2)),this.cache(),this.inPixmProgress=!1})}onAuthenticate(){if(this.cache(),this.scopes=null,"HCP"===this.authenticate.value){let _e=this.fhirConfigService.getAuthCodeFlowConfig();_e.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|HCP`,this.oauthService.configure(_e),this.oauthService.initCodeFlow()}else"TCU"===this.authenticate.value?this.getSamlToken().then(_e=>this.json=_e):this.oauthService.logOut()}getAppcDocument(_e,ut){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(_e,ut){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==${ut}http://ihe.connectathon.XUA/X-ServiceProvider-IHE-Connectathonurn:oasis:names:tc:SAML:2.0:ac:classes:unspecifiedIris Musterpatient${ut}^^^&2.16.756.5.30.1.127.3.10.3&ISOurn:oid:3.3.3.1`)}getSimulatedSamlPmpTcuAssertion(_e,ut,Pe){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${Pe}^^^&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(_e){var ut=this;return n(function*(){const mt=yield(yield fetch("https://test.ahdis.ch/eprik-cara/camel/tcu",{cache:"no-store",headers:{Accept:"application/xml"}})).text(),Ft=yield(yield fetch(ut.fhirConfigService.getMobileAccessGatewayAssertionEndpoint(),{cache:"no-store",method:"POST",headers:{Scope:`person_id=${_e}^^^&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:mt})).json();return Promise.resolve(Ft.access_token)})()}setBundle(_e){_e?(this.bundle=_e,this.length=this.bundle.total,this.dataSource.data=this.bundle.entry.map(ut=>ut.resource)):this.dataSource.data=null,this.dataSource.data=this.dataSource.data}setDocumentReferenceResult(_e){this.setJson(JSON.stringify(_e,null,2)),this.setBundle(_e)}findDocumentReferences(){var _e=this;return n(function*(){let ut={status:"current",_count:500,"patient.identifier":encodeURIComponent(_e.targetIdentifierSystem.value+"|"+_e.targetIdentifierValue)},Pe=yield _e.getSamlToken();return _e.mag.search({resourceType:"DocumentReference",searchParams:ut,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+Pe}}})})()}onFindDocumentReferences(){var _e=this;return n(function*(){_e.replaceDocumentReference=null,_e.inMhdQueryProgress=!0,_e.pdf="";try{const ut=yield _e.findDocumentReferences();_e.setDocumentReferenceResult(ut),_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}findMedicationList(_e){var ut=this;return n(function*(){let Pe="patient.identifier="+encodeURIComponent(ut.targetIdentifierSystem.value+"|"+ut.targetIdentifierValue)+(_e?"&format="+encodeURIComponent(_e):"");ut.serviceStartFrom.value?.length>0&&(Pe+=`&serviceStartFrom=${encodeURIComponent(ut.serviceStartFrom.value)}`),ut.serviceStartTo.value?.length>0&&(Pe+=`&serviceStartTo=${encodeURIComponent(ut.serviceStartTo.value)}`),ut.serviceEndFrom.value?.length>0&&(Pe+=`&serviceEndFrom=${encodeURIComponent(ut.serviceEndFrom.value)}`),ut.serviceEndTo.value?.length>0&&(Pe+=`&serviceEndTo=${encodeURIComponent(ut.serviceEndTo.value)}`);const mt=yield ut.getSamlToken();return ut.mag.operation({name:"$find-medication-list?status=current&"+Pe,resourceType:"DocumentReference",method:"GET",options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+mt}}})})()}onFindMedicationList(){var _e=this;return n(function*(){_e.pdf="",_e.inMhdQueryProgress=!0,_e.cache();try{const ut=yield _e.findMedicationList();_e.setDocumentReferenceResult(ut),ut.entry&&1==ut.entry.length&&(yield _e.downloadDocumentReferenceAttachment(ut.entry[0].resource)),_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}onFindMedicationCard(){var _e=this;return n(function*(){_e.pdf="",_e.inMhdQueryProgress=!0,_e.cache();try{const ut=yield _e.findMedicationList("urn:oid:2.16.756.5.30.1.127.3.10.10|urn:che:epr:ch-emed:medication-card:2022");if(_e.setDocumentReferenceResult(ut),ut.entry&&1==ut.entry.length){const Pe=yield _e.downloadDocumentReferenceAttachment(ut.entry[0].resource),mt=JSON.parse(Pe);_e.pdf=_e.fhirPathService.evaluateToString(mt,"entry.resource.where(resourceType='Binary').data")}_e.inMhdQueryProgress=!1}catch(ut){_e.setJson(JSON.stringify(ut,null,2)),_e.setBundle(null),_e.inMhdQueryProgress=!1}})()}getSamlToken(){var _e=this;return n(function*(){return"HCP"===_e.authenticate.value?Promise.resolve(_e.oauthService.getAccessToken()):"Patient"===_e.authenticate.value?Promise.resolve(_e.getSimulatedSamlPmpAssertion(K(new Date),_e.targetIdentifier2Value)):"TCU"===_e.authenticate.value?_e.getEprikTcuAssertion(_e.targetIdentifier2Value):null})()}downloadDocumentReferenceAttachment(_e){var ut=this;return n(function*(){let mt=(_e.content&&_e.content.length>0?_e.content[0].attachment.url:"undefined").replace("http://test.ahdis.ch/mag-pmp/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp/camel/xdsretrieve"),Pt=mt.replace("http://test.ahdis.ch/mag-pmp2/camel/xdsretrieve","https://test.ahdis.ch/mag-pmp2/camel/xdsretrieve");const Ft=_e.content&&_e.content.length>0?_e.content[0].attachment?.contentType:"";if(ut.selectedDocumentReference=_e,"application/pdf"===Ft){const Gt=_e.content&&_e.content.length>0?_e.content[0].attachment.title:"undefined",Oe=ut,Ke=yield ut.getSamlToken(),ge=yield(yield fetch(Pt,{cache:"no-store",headers:{Authorization:"Bearer "+Ke,Accept:"application/pdf"}})).blob();return new Promise((ct,Me)=>{let Ye=new FileReader;Ye.onload=()=>{Oe.downloadPdf(Ye.result.toString(),Gt),ct(Ye.result)},Ye.onerror=Me,Ye.readAsDataURL(ge)})}{const Gt=yield ut.getSamlToken(),Ke={responseType:"text",headers:(new h.HttpHeaders).set("Authorization","Bearer "+Gt)};return new Promise((he,ge)=>{ut.http.get(mt,Ke).subscribe({next:ct=>{ut.xml=ct,ut.setJson(ct),he(ut.xml)},error:ct=>{ge(ct)}})})}})()}onReplace(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=_e})()}onRemove(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=null;let Pe={..._e};ut.inMhdQueryProgress=!0,null==Pe.extension&&(Pe.extension=new Array),Pe.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:ut.iheSourceId.value}}),Pe.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)"}}),Pe.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"}}),Pe.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 mt=yield ut.getSamlToken();try{let Pt=yield ut.mag.update({resourceType:"DocumentReference",id:Pe.id,body:Pe,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0","content-type":"application/fhir+json;fhirVersion=4.0",Authorization:"Bearer "+mt}}});ut.setJson(JSON.stringify(Pt,null,2)),ut.inMhdQueryProgress=!1,ut.onFindDocumentReferences()}catch(Pt){ut.setJson(JSON.stringify(Pt.response.data,null,2)),ut.inMhdQueryProgress=!1}})()}onDownloadDocumentReferenceAttachment(_e){var ut=this;return n(function*(){ut.replaceDocumentReference=null,ut.inMhdQueryProgress=!0,yield ut.downloadDocumentReferenceAttachment(_e),ut.inMhdQueryProgress=!1})()}canTransformToPdf(){return""!=this.pdf}downloadPdf(_e,ut){const Pe=document.createElement("a");Pe.href=_e,Pe.download=`${ut}.pdf`,Pe.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 ut=`0x${(0,u.v4)().replace(/-/g,"")}`;return`2.25.${BigInt(ut).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(_e){if(this.uploadBase64="",this.uploadContentType="",this.uploadBundle=null,this.json="",this.xml="",this.pdf="","application/json"===_e.contentType||_e.name.endsWith(".json")||"text/xml"===_e.contentType||_e.name.endsWith(".xml"))this.addText(_e);else{var ut=new FileReader;const Pe=this;ut.readAsDataURL(_e.blob),ut.onloadend=function(){let mt=ut.result.toString();mt.startsWith("data:application/pdf;base64,")&&(Pe.uploadBase64=mt.substring(28),Pe.uploadContentType="application/pdf",Pe.documentType.setValue("PDF"))}}}addText(_e){const ut=new FileReader;ut.readAsText(_e.blob);const Pe=this;this.documentTitle.setValue(_e.name),this.creationTime.setValue(K(new Date)),ut.onload=()=>{("application/json"===_e.contentType||_e.name.endsWith(".json"))&&(this.uploadContentType="application/fhir+json",this.autoDetectFormat(ut.result)),("text/xml"===_e.contentType||_e.name.endsWith(".xml"))&&(this.uploadContentType="text/xml",Pe.documentType.setValue("XML"),Pe.xml=ut.result,Pe.setJson(Pe.xml))}}getResource(_e,ut){return _e.entry.filter(Pe=>Pe.fullUrl.endsWith(ut)).pop()?.resource}autoDetectFormat(_e){this.documentType.setValue("JSON");const ut=JSON.parse(_e);this.setJson(_e),ut.hasOwnProperty("resourceType")&&"Bundle"===ut.resourceType&&this.autoDetectBundle(ut)}autoDetectBundle(_e){if(this.creationTime.setValue(_e.timestamp),this.masterIdentifier.setValue(_e.identifier.value),"document"===_e.type&&_e.entry?.length>0){const ut=_e.entry[0].resource,Pe=ut.type.coding.find(mt=>"http://snomed.info/sct"===mt.system);if(ut.language&&this.languageCode.setValue(ut.language),!Pe)return;switch(Pe.code){case"761931002":return this.uploadBundle=_e,void this.documentType.setValue("MTP");case"761938008":return this.uploadBundle=_e,void this.documentType.setValue("PRE");case"294121000195110":return this.uploadBundle=_e,void this.documentType.setValue("DIS");case"419891008":return this.uploadBundle=_e,void this.documentType.setValue("PADV")}}}assignMobileAccessPatient(){var _e=this;return n(function*(){if(_e.inMhdUploadProgress=!0,_e.errMsgAssignPatient="",null==_e.patient&&(_e.patient=yield _e.getPatient()),null==_e.patient)return void(_e.errMsgAssignPatient="Error: select first 'get Patient' from Mobile Access Gateway");if(null==_e.uploadBundle)return void(_e.errMsgAssignPatient="Error: need a FHIR Bundle in json format to assign the Patient");const ut=_e.uploadBundle.entry.filter(Oe=>"Patient"===Oe.resource.resourceType),Pe={..._e.patient};Pe.identifier=_e.patient.identifier.filter(Oe=>Oe.system===_e.sourceIdentifierSystem.value),Pe.identifier.find(Oe=>Oe.system===_e.sourceIdentifierSystem.value).type={coding:[{system:"http://terminology.hl7.org/CodeSystem/v2-0203",code:"MR"}]},Pe.name=Array(),Pe.name[0]=_e.patient.name[0],ut.forEach(Oe=>{const Ke=Oe.resource.id;Oe.resource={...Pe},Oe.resource.id=Ke});let mt=JSON.stringify(_e.uploadBundle,null,2);const Pt=_e.uploadBundle.identifier.value,Ft="urn:uuid:"+(0,u.v4)(),Gt=_e.replaceUuids.findIndex(Oe=>Oe.existingUuid==Pt);-1==Gt?_e.replaceUuids.push({descr:_e.documentType.value,existingUuid:Pt,newUuid:Ft}):_e.replaceUuids[Gt]={descr:_e.documentType.value,existingUuid:Pt,newUuid:Ft},_e.replaceUuids.forEach(Oe=>mt=mt.split(Oe.existingUuid).join(Oe.newUuid)),_e.masterIdentifier.setValue(Ft),_e.setJson(mt),_e.inMhdUploadProgress=!1})()}createMhdTransaction(){var _e=this;return n(function*(){_e.inMhdUploadProgress=!0;let ut={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"}}]},Pe="urn:uuid:"+(0,u.v4)();ut.entry[0].fullUrl=Pe;const mt=ut.entry[0].resource;mt.contentType=_e.uploadContentType,mt.data=_e.uploadBase64?.length>0?_e.uploadBase64:v.Base64.encode(_e.json);let Pt=(0,u.v4)();ut.entry[1].fullUrl="urn:uid:"+Pt;const Ft=ut.entry[1].resource;Ft.extension.push({url:"http://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-sourceId",valueIdentifier:{value:_e.iheSourceId.value}}),Ft.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"}}),Ft.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 Gt="urn:uuid:"+(0,u.v4)();Ft.identifier[0].value=Gt;let Oe="urn:oid:"+_e.generateOidFromUuid();Ft.identifier[1].value=Oe,Ft.subject.reference=_e.targetId;let Ke=K(new Date);Ft.date=Ke;let he="urn:uuid:"+(0,u.v4)();Ft.entry[0].item.reference=he,ut.entry[2].fullUrl=he;const ge=ut.entry[2].resource;ge.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!=_e.replaceDocumentReference?ge.relatesTo.push({code:"replaces",target:{reference:_e.replaceDocumentReference.identifier[0].value}}):delete ge.relatesTo;const ct=ge.contained[0];if(ct.identifier[0].system=_e.sourceIdentifierSystem.value,ct.identifier[0].value=_e.sourceIdentifierValue.value,ct.identifier[1].system=_e.targetIdentifierSystem.value,ct.identifier[1].value=_e.targetIdentifierValue,_e.patient&&(ct.birthDate=_e.patient.birthDate,ct.gender=_e.patient.gender,ct.name=_e.patient.name,ct.address=_e.patient.address),null!=_e.uploadBundle&&["PADV","DIS","MTP","PRE","PMLC"].includes(_e.documentType.value)){const V=_e.uploadBundle.entry[0].resource;if(V?.author&&V.author[0].reference){const Q=_e.getResource(_e.uploadBundle,V.author[0].reference);if(Q&&"PractitionerRole"==Q.resourceType){let be={...Q};delete be.text,be.id="practrole";const dt=_e.getResource(_e.uploadBundle,be.organization?.reference),Rt=_e.getResource(_e.uploadBundle,be.practitioner?.reference);if(dt){let qe={...dt};qe.id="org",delete qe.text,be.organization.reference="#org",ge.contained.push(qe)}if(Rt){let qe={...Rt};qe.id="pract",delete qe.text,be.practitioner.reference="#pract",ge.contained.push(qe)}ge.contained.push(be),ge.author.push({reference:"#practrole"})}}}0==ge.author.length&&delete ge.author;let Me=_e.masterIdentifier.value.toLocaleLowerCase();ge.masterIdentifier.value=Me;let Ye="urn:oid:"+_e.generateOidFromUuid();ge.identifier[0].value=Ye,ge.subject.reference=_e.targetId,ge.date=Ke,ge.content[0].attachment.url=Pe,ge.content[0].attachment.contentType=_e.uploadContentType,ge.content[0].attachment.language=_e.languageCode.value,ge.content[0].attachment.title=_e.documentTitle.value;let De=ut.entry[2].resource;De.date=_e.creationTime.value,De.type=_e.getDocumentReferenceType(),De.category.push(_e.getDocumentReferenceCategory()),De.content[0].format=_e.getDocumentReferenceContentFormat(),De.content[0].attachment.creation=_e.creationTime.value,De.description=_e.documentDescription.value,De.securityLabel[0]=_e.getDocumentConfidentiality();const F=yield _e.getSamlToken();_e.mag.transaction({body:ut,options:{headers:{accept:"application/fhir+json;fhirVersion=4.0;charset=UTF-8",Authorization:"Bearer "+F}}}).then(V=>{_e.setJson(JSON.stringify(V,null,2)),_e.inMhdUploadProgress=!1}).catch(V=>{_e.setJson(JSON.stringify(V,null,2)),_e.inMhdUploadProgress=!1})})()}}return et.\u0275fac=function(_e){return new(_e||et)(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))},et.\u0275cmp=l.\u0275\u0275defineComponent({type:et,selectors:[["app-mag"]],decls:197,vars:38,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"],[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,"highlight"],[1,"title"],[1,"name"],[1,"contentType"],[1,"formatCode"],[1,"res"],["mat-icon-button","","type","submit",3,"click"]],template:function(_e,ut){1&_e&&(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 ut.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\u0275template(52,Ee,3,1,"div",3),l.\u0275\u0275elementStart(53,"mat-card-actions")(54,"button",4),l.\u0275\u0275listener("click",function(){return ut.onAuthenticate()}),l.\u0275\u0275text(55," Authenticate "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(56,"mat-card",0)(57,"mat-card-content")(58,"mat-card-header")(59,"mat-card-title"),l.\u0275\u0275text(60,"Mobile Access Gateway - Query"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(61,"mat-table",9,10),l.\u0275\u0275elementContainerStart(63,11),l.\u0275\u0275template(64,Be,2,0,"mat-header-cell",12),l.\u0275\u0275template(65,G,3,1,"mat-cell",13),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(66,14),l.\u0275\u0275template(67,re,2,0,"mat-header-cell",15),l.\u0275\u0275template(68,ae,2,1,"mat-cell",16),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(69,17),l.\u0275\u0275template(70,ve,2,0,"mat-header-cell",18),l.\u0275\u0275template(71,He,3,1,"mat-cell",19),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(72,20),l.\u0275\u0275template(73,Ze,2,0,"mat-header-cell",21),l.\u0275\u0275template(74,Qe,3,1,"mat-cell",22),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275elementContainerStart(75,23),l.\u0275\u0275template(76,Ge,2,0,"mat-header-cell",24),l.\u0275\u0275template(77,tt,10,0,"mat-cell",25),l.\u0275\u0275elementContainerEnd(),l.\u0275\u0275template(78,Ct,1,0,"mat-header-row",26),l.\u0275\u0275template(79,Nt,1,0,"mat-row",27),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(80,_t,2,0,"ng-container",3),l.\u0275\u0275elementStart(81,"mat-card-actions")(82,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindDocumentReferences()}),l.\u0275\u0275text(83," Document References "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(84,"div")(85,"mat-form-field",1)(86,"mat-label"),l.\u0275\u0275text(87,"serviceStart From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(88,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(89," \xa0 "),l.\u0275\u0275elementStart(90,"mat-form-field",1)(91,"mat-label"),l.\u0275\u0275text(92,"serviceStart To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(93,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(94,"div")(95,"mat-form-field",1)(96,"mat-label"),l.\u0275\u0275text(97,"serviceEnd From"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(98,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(99," \xa0 "),l.\u0275\u0275elementStart(100,"mat-form-field",1)(101,"mat-label"),l.\u0275\u0275text(102,"serviceEnd To"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(103,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(104,"mat-card-actions")(105,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindMedicationList()}),l.\u0275\u0275text(106," Medication List "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(107,"button",28),l.\u0275\u0275listener("click",function(){return ut.onFindMedicationCard()}),l.\u0275\u0275text(108," Medication Card "),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(109,Bt,4,0,"ng-container",3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(110,"mat-card",0)(111,"mat-card-content")(112,"mat-card-header")(113,"mat-card-title"),l.\u0275\u0275text(114,"Mobile Access Gateway - Upload"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(115,"app-upload",29),l.\u0275\u0275listener("addFiles",function(mt){return ut.addFile(mt)}),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(116,"div")(117,"mat-form-field",1)(118,"mat-label"),l.\u0275\u0275text(119,"Title"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(120,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(121,"div")(122,"mat-form-field",1)(123,"mat-label"),l.\u0275\u0275text(124,"Description"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(125,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(126,"div")(127,"mat-form-field",1)(128,"mat-label"),l.\u0275\u0275text(129,"Document Type"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(130,"select",5)(131,"option",30),l.\u0275\u0275text(132,"APPC Document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(133,"option",31),l.\u0275\u0275text(134,"Medication Treatment Plan document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(135,"option",32),l.\u0275\u0275text(136,"Medication Dispense document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(137,"option",33),l.\u0275\u0275text(138,"Medication Prescription document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(139,"option",34),l.\u0275\u0275text(140,"Pharmaceutical Advice document"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(141,"option",35),l.\u0275\u0275text(142,"PDF"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(143,"div")(144,"mat-form-field",1)(145,"mat-label"),l.\u0275\u0275text(146,"Confidentiality"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(147,"select",5)(148,"option",36),l.\u0275\u0275text(149,"Normally accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(150,"option",37),l.\u0275\u0275text(151,"Restricted accessible"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(152,"option",38),l.\u0275\u0275text(153,"Secret"),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(154,"div")(155,"mat-form-field",1)(156,"mat-label"),l.\u0275\u0275text(157,"DocumentEntry.masterIdentifier (uuid)"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(158,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(159,"div")(160,"mat-form-field",1)(161,"mat-label"),l.\u0275\u0275text(162,"DocumentEntry.creationTime"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(163,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(164,"div")(165,"mat-form-field",1)(166,"mat-label"),l.\u0275\u0275text(167,"DocumentEntry.languageCode"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(168,"input",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(169,"div")(170,"mat-form-field",1)(171,"mat-label"),l.\u0275\u0275text(172,"ihe-sourceId"),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(173,"input",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(174,"\xa0 "),l.\u0275\u0275elementStart(175,"a",39),l.\u0275\u0275text(176,"ig"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(177,Tt,2,1,"div",3),l.\u0275\u0275template(178,Lt,2,3,"div",40),l.\u0275\u0275template(179,Le,2,1,"div",3),l.\u0275\u0275template(180,lt,2,0,"ng-container",3),l.\u0275\u0275elementStart(181,"div")(182,"button",28),l.\u0275\u0275listener("click",function(){return ut.assignMobileAccessPatient()}),l.\u0275\u0275text(183," Assign Mobile Access Patient"),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(184,"\xa0 "),l.\u0275\u0275elementStart(185,"button",28),l.\u0275\u0275listener("click",function(){return ut.createMhdTransaction()}),l.\u0275\u0275text(186," Provide and Register "),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(187,"button",28),l.\u0275\u0275listener("click",function(){return ut.createAppc()}),l.\u0275\u0275text(188," Create APPC for PMP "),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(189,"mat-card",0)(190,"mat-card-content")(191,"mat-card-header")(192,"mat-card-title"),l.\u0275\u0275text(193,"Response"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(194,ze,2,1,"div",3),l.\u0275\u0275elementStart(195,"pre"),l.\u0275\u0275element(196,"code",41),l.\u0275\u0275elementEnd()()()),2&_e&&(l.\u0275\u0275advance(9),l.\u0275\u0275property("formControl",ut.sourceIdentifierSystem),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.sourceIdentifierValue),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.targetIdentifierSystem),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ut.targetIdentifierValue," "),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.targetIdentifier2System),l.\u0275\u0275advance(1),l.\u0275\u0275textInterpolate1(" \xa0 ",ut.targetIdentifier2Value," "),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate1("targetId: ",ut.targetId,""),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inPixmProgress),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ut.targetId.length>0),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.patient),l.\u0275\u0275advance(10),l.\u0275\u0275property("formControl",ut.authenticate),l.\u0275\u0275advance(7),l.\u0275\u0275property("ngIf",ut.getScopes()),l.\u0275\u0275advance(9),l.\u0275\u0275property("dataSource",ut.dataSource),l.\u0275\u0275advance(17),l.\u0275\u0275property("matHeaderRowDef",l.\u0275\u0275pureFunction0(36,at)),l.\u0275\u0275advance(1),l.\u0275\u0275property("matRowDefColumns",l.\u0275\u0275pureFunction0(37,at)),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inMhdQueryProgress),l.\u0275\u0275advance(8),l.\u0275\u0275property("formControl",ut.serviceStartFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceStartTo),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceEndFrom),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.serviceEndTo),l.\u0275\u0275advance(6),l.\u0275\u0275property("ngIf",ut.canTransformToPdf()),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ut.documentTitle),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.documentDescription),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.documentType),l.\u0275\u0275advance(17),l.\u0275\u0275property("formControl",ut.documentConfidentiality),l.\u0275\u0275advance(11),l.\u0275\u0275property("formControl",ut.masterIdentifier),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.creationTime),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.languageCode),l.\u0275\u0275advance(5),l.\u0275\u0275property("formControl",ut.iheSourceId),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ut.replaceDocumentReference),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngForOf",ut.replaceUuids),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.errMsgAssignPatient),l.\u0275\u0275advance(1),l.\u0275\u0275property("ngIf",ut.inMhdUploadProgress),l.\u0275\u0275advance(14),l.\u0275\u0275property("ngIf",ut.errMsg),l.\u0275\u0275advance(2),l.\u0275\u0275property("highlight",ut.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,Ce.MatLegacyTable,Ce.MatLegacyHeaderCellDef,Ce.MatLegacyHeaderRowDef,Ce.MatLegacyColumnDef,Ce.MatLegacyCellDef,Ce.MatLegacyRowDef,Ce.MatLegacyHeaderCell,Ce.MatLegacyCell,Ce.MatLegacyHeaderRow,Ce.MatLegacyRow,Re.MatLegacyProgressSpinner,Ae.Highlight,de.UploadComponent],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}.display[_ngcontent-%COMP%]{display:inline-block;margin-bottom:10px}.column50[_ngcontent-%COMP%]{width:40%}"]}),et})()},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(h,u){if(1&h&&(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&h){const v=c.\u0275\u0275nextContext();c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(c.\u0275\u0275pipeBind1(4,1,v.patient))}}B.PatientDetailComponent=(()=>{class h{constructor(){}ngOnInit(){}}return h.\u0275fac=function(v){return new(v||h)},h.\u0275cmp=c.\u0275\u0275defineComponent({type:h,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]}),h})()},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),f=n.__importStar(a(5879)),h=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(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Family"),f.\u0275\u0275elementEnd())}function D(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientFamilyName(W))}}function S(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Given"),f.\u0275\u0275elementEnd())}function E(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientGivenNames(W))}}function I(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Birthdate"),f.\u0275\u0275elementEnd())}function X(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientBirthDate(W))}}function $(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"Street"),f.\u0275\u0275elementEnd())}function ee(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientAddressLines(W))}}function ie(de,H){1&de&&(f.\u0275\u0275elementStart(0,"mat-header-cell"),f.\u0275\u0275text(1,"City"),f.\u0275\u0275elementEnd())}function A(de,H){if(1&de&&(f.\u0275\u0275elementStart(0,"mat-cell"),f.\u0275\u0275text(1),f.\u0275\u0275elementEnd()),2&de){const W=H.$implicit,pe=f.\u0275\u0275nextContext();f.\u0275\u0275advance(1),f.\u0275\u0275textInterpolate(pe.getPatientAddressCity(W))}}function U(de,H){1&de&&f.\u0275\u0275element(0,"mat-header-row")}function Ce(de,H){if(1&de){const W=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-row",16),f.\u0275\u0275listener("click",function(){const Ee=f.\u0275\u0275restoreView(W).$implicit,Be=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Be.selectRow(Ee))}),f.\u0275\u0275elementEnd()}}const Re=function(){return["familyNameCol","givenNamesCol","birthDateCol","addressLinesCol","addressCityCol"]};B.PatientsComponent=(()=>{class de{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 de.\u0275fac=function(W){return new(W||de)(f.\u0275\u0275directiveInject(h.FhirConfigService))},de.\u0275cmp=f.\u0275\u0275defineComponent({type:de,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&&(f.\u0275\u0275elementStart(0,"mat-card",0)(1,"mat-card-content")(2,"mat-form-field")(3,"mat-label"),f.\u0275\u0275text(4,"Name"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(5,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(6," \xa0 "),f.\u0275\u0275elementStart(7,"mat-form-field")(8,"mat-label"),f.\u0275\u0275text(9,"Family"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(10,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(11," \xa0 "),f.\u0275\u0275elementStart(12,"mat-form-field")(13,"mat-label"),f.\u0275\u0275text(14,"Given"),f.\u0275\u0275elementEnd(),f.\u0275\u0275element(15,"input",1),f.\u0275\u0275elementEnd(),f.\u0275\u0275text(16," \xa0 "),f.\u0275\u0275elementEnd()(),f.\u0275\u0275elementStart(17,"mat-card",2)(18,"mat-card-content")(19,"mat-table",3,4),f.\u0275\u0275elementContainerStart(21,5),f.\u0275\u0275template(22,x,2,0,"mat-header-cell",6),f.\u0275\u0275template(23,D,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(24,8),f.\u0275\u0275template(25,S,2,0,"mat-header-cell",6),f.\u0275\u0275template(26,E,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(27,9),f.\u0275\u0275template(28,I,2,0,"mat-header-cell",6),f.\u0275\u0275template(29,X,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(30,10),f.\u0275\u0275template(31,$,2,0,"mat-header-cell",6),f.\u0275\u0275template(32,ee,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementContainerStart(33,11),f.\u0275\u0275template(34,ie,2,0,"mat-header-cell",6),f.\u0275\u0275template(35,A,2,1,"mat-cell",7),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275template(36,U,1,0,"mat-header-row",12),f.\u0275\u0275template(37,Ce,1,0,"mat-row",13),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(38,"mat-paginator",14),f.\u0275\u0275listener("page",function(Ee){return pe.goToPage(Ee)}),f.\u0275\u0275elementEnd()()(),f.\u0275\u0275element(39,"app-patient-detail",15)),2&W&&(f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchName),f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchFamily),f.\u0275\u0275advance(5),f.\u0275\u0275property("formControl",pe.searchGiven),f.\u0275\u0275advance(4),f.\u0275\u0275property("dataSource",pe.dataSource),f.\u0275\u0275advance(17),f.\u0275\u0275property("matHeaderRowDef",f.\u0275\u0275pureFunction0(11,Re)),f.\u0275\u0275advance(1),f.\u0275\u0275property("matRowDefColumns",f.\u0275\u0275pureFunction0(12,Re)),f.\u0275\u0275advance(1),f.\u0275\u0275property("pageIndex",pe.pageIndex)("length",pe.length)("pageSize",pe.pageSize)("pageSizeOptions",pe.pageSizeOptions),f.\u0275\u0275advance(1),f.\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]}),de})()},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))),f=n.__importStar(a(7088)),h=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(f.FhirConfigService),r.\u0275\u0275directiveInject(h.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),f=a(9241),h=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),Ce=a(1438),Re=n.__importStar(a(5879)),Ae=[c.CommonModule,r.BrowserModule,g.BrowserAnimationsModule,d.FormsModule,d.ReactiveFormsModule,U.TranslateModule,f.MatLegacyAutocompleteModule,h.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,Ce.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,f.MatLegacyAutocompleteModule,h.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,Ce.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)),f=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,f.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(h=>console.log(h))},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(h){super(),this.tokenSource=h,this.tokens=[],this.index=-1,this.fetchedEOF=!1}mark(){return 0}release(h){}reset(){this.seek(0)}seek(h){this.lazyInit(),this.index=this.adjustSeekIndex(h)}get(h){return this.lazyInit(),this.tokens[h]}consume(){let h=!1;if(h=this.index>=0&&(this.fetchedEOF?this.index0)||this.fetch(u)>=u}fetch(h){if(this.fetchedEOF)return 0;for(let u=0;u=this.tokens.length&&(u=this.tokens.length-1);for(let p=h;p=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[u]}adjustSeekIndex(h){return h}lazyInit(){-1===this.index&&this.setup()}setup(){this.sync(0),this.index=this.adjustSeekIndex(0)}setTokenSource(h){this.tokenSource=h,this.tokens=[],this.index=-1,this.fetchedEOF=!1}nextTokenOnChannel(h,u){if(this.sync(h),h>=this.tokens.length)return-1;let v=this.tokens[h];for(;v.channel!==this.channel;){if(v.type===n.EOF)return-1;this.sync(h+=1),v=this.tokens[h]}return h}previousTokenOnChannel(h,u){for(;h>=0&&this.tokens[h].channel!==u;)h-=1;return h}getHiddenTokensToRight(h,u){if(void 0===u&&(u=-1),this.lazyInit(),h<0||h>=this.tokens.length)throw h+" not in 0.."+this.tokens.length-1;const v=this.nextTokenOnChannel(h+1,c.DEFAULT_TOKEN_CHANNEL);return this.filterForChannel(h+1,-1===v?this.tokens.length-1:v,u)}getHiddenTokensToLeft(h,u){if(void 0===u&&(u=-1),this.lazyInit(),h<0||h>=this.tokens.length)throw h+" not in 0.."+this.tokens.length-1;const v=this.previousTokenOnChannel(h-1,c.DEFAULT_TOKEN_CHANNEL);return v===h-1?null:this.filterForChannel(v+1,h-1,u)}filterForChannel(h,u,v){const b=[];for(let p=h;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,f,h,u,v,b,p,_){const l=new n(r,f,u,v,b);return l.line=p,l.column=_,null!==h?l.text=h:this.copyText&&null!==r[1]&&(l.text=r[1].getText(v,b)),l}createThin(r,f){const h=new n(null,r);return h.text=f,h}}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,f){super(r),this.channel=void 0===f?n.DEFAULT_CHANNEL:f}adjustSeekIndex(r){return this.nextTokenOnChannel(r,this.channel)}LB(r){if(0===r||this.index-r<0)return null;let f=this.index,h=1;for(;h<=r;)f=this.previousTokenOnChannel(f-1,this.channel),h+=1;return f<0?null:this.tokens[f]}LT(r){if(this.lazyInit(),0===r)return null;if(r<0)return this.LB(-r);let f=this.index,h=1;for(;h{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 f=0;f=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 f="";for(let h=g;h<=r;h++)f+=String.fromCodePoint(this.data[h]);return f}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,f){this.start=r,this.stop=f}clone(){return new c(this.start,this.stop)}contains(r){return r>=this.start&&rthis.addInterval(f),this),this}reduce(r){if(r=h.stop?(this.intervals.splice(r+1,1),this.reduce(r)):f.stop>=h.start&&(this.intervals[r]=new c(f.start,h.stop),this.intervals.splice(r+1,1))}}complement(r,f){const h=new d;return h.addInterval(new c(r,f+1)),null!==this.intervals&&this.intervals.forEach(u=>h.removeRange(u)),h}contains(r){if(null===this.intervals)return!1;for(let f=0;fu.start&&r.stop=u.stop?(this.intervals.splice(f,1),f-=1):r.start":"'"+String.fromCharCode(h.start)+"'":"'"+String.fromCharCode(h.start)+"'..'"+String.fromCharCode(h.stop-1)+"'")}return r.length>1?"{"+r.join(", ")+"}":r[0]}toIndexString(){const r=[];for(let f=0;f":h.start.toString():h.start.toString()+".."+(h.stop-1).toString())}return r.length>1?"{"+r.join(", ")+"}":r[0]}toTokenString(r,f){const h=[];for(let u=0;u1?"{"+h.join(", ")+"}":h[0]}elementName(r,f,h){return h===n.EOF?"":h===n.EPSILON?"":r[h]||f[h]}get length(){return this.intervals.map(r=>r.length).reduce((r,f)=>r+f)}}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:f}=a(5516),{RuleTransition:h,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 h 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=h.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=h.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=h.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===h.SKIP){b=!0;break}if(this._type!==h.MORE)break}if(!b)return null===this._token&&this.emit(),this._token}}finally{this._input.release(v)}}skip(){this._type=h.SKIP}more(){this._type=h.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}}h.DEFAULT_MODE=0,h.MORE=-2,h.SKIP=-3,h.DEFAULT_TOKEN_CHANNEL=n.DEFAULT_CHANNEL,h.HIDDEN=n.HIDDEN_CHANNEL,h.MIN_CHAR_VALUE=0,h.MAX_CHAR_VALUE=1114111,Ie.exports=h},111:(Ie,B,a)=>{const{Token:n}=a(6205),{ParseTreeListener:c,TerminalNode:d,ErrorNode:g}=a(5829),r=a(9495),{DefaultErrorStrategy:f}=a(2487),h=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 f,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 h(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,f=c.ErrorNodeImpl,h=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 f&&(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 f(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 h 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 h&&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 h(I,X)}}class u extends h{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 h&&I instanceof h)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=h.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 de=new v([ie,ie],Re);return null!==$&&$.set(E,I,de),de}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 Ce=new v(U,A);return null!==$&&$.set(E,I,Ce),Ce}}(E,I,X,$);if(X){if(E instanceof u)return E;if(I instanceof u)return I}return E instanceof h&&(E=new v([E.getParent()],[E.returnState])),I instanceof h&&(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=[],Ce=[];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(h){"4.9.3"!==h&&console.log("ANTLR runtime and generated code versions disagree: 4.9.3!="+h)}addErrorListener(h){this._listeners.push(h)}removeErrorListeners(){this._listeners=[]}getLiteralNames(){return Object.getPrototypeOf(this).constructor.literalNames||[]}getSymbolicNames(){return Object.getPrototypeOf(this).constructor.symbolicNames||[]}getTokenNames(){if(!this.tokenNames){const h=this.getLiteralNames(),u=this.getSymbolicNames(),v=h.length>u.length?h.length:u.length;this.tokenNames=[];for(let b=0;b";let u=h.text;return null===u&&(u=h.type===n.EOF?"":"<"+h.type+">"),u=u.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"),"'"+u+"'"}getErrorListenerDispatch(){return new d(this._listeners)}sempred(h,u,v){return!0}precpred(h,u){return!0}get state(){return this._stateNumber}set state(h){this._stateNumber=h}}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(f,h){super(),this.parentCtx=f||null,this.invokingState=h||-1}depth(){let f=0,h=this;for(;null!==h;)h=h.parentCtx,f+=1;return f}isEmpty(){return-1===this.invokingState}getSourceInterval(){return c}getRuleContext(){return this}getPayload(){return this}getText(){return 0===this.getChildCount()?"":this.children.map(function(f){return f.getText()}).join("")}getAltNumber(){return 0}setAltNumber(f){}getChild(f){return null}getChildCount(){return 0}accept(f){return f.visitChildren(this)}toStringTree(f,h){return d.toStringTree(this,f,h)}toString(f,h){f=f||null,h=h||null;let u=this,v="[";for(;null!==u&&u!==h;){if(null===f)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,f,h){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!==f?f:-1,this.stop=void 0!==h?h:-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(h,u){this.grammarType=h,this.maxTokenType=u,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[]}nextTokensInContext(h,u){return new n(this).LOOK(h,null,u)}nextTokensNoContext(h){return null!==h.nextTokenWithinRule||(h.nextTokenWithinRule=this.nextTokensInContext(h,null),h.nextTokenWithinRule.readOnly=!0),h.nextTokenWithinRule}nextTokens(h,u){return void 0===u?this.nextTokensNoContext(h):this.nextTokensInContext(h,u)}addState(h){null!==h&&(h.atn=this,h.stateNumber=this.states.length),this.states.push(h)}removeState(h){this.states[h.stateNumber]=null}defineDecisionState(h){return this.decisionToState.push(h),h.decision=this.decisionToState.length-1,h.decision}getDecisionState(h){return 0===this.decisionToState.length?null:this.decisionToState[h]}getExpectedTokens(h,u){if(h<0||h>=this.states.length)throw"Invalid state number.";let b=this.nextTokens(this.states[h]);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(h,u){if(null===h){const v={state:null,alt:null,context:null,semanticContext:null};return u&&(v.reachesIntoOuterContext=0),v}{const v={};return v.state=h.state||null,v.alt=void 0===h.alt?null:h.alt,v.context=h.context||null,v.semanticContext=h.semanticContext||null,u&&(v.reachesIntoOuterContext=h.reachesIntoOuterContext||0,v.precedenceFilterSuppressed=h.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 f 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=f.prototype.hashCode,this.equalsForConfigSet=f.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 f&&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=f},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 f(v,b){return v===b||null!==v&&null!==b&&v.equalsForConfigSet(b)}class h{constructor(b){this.configLookup=new c.Set(r,f),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:f,BlockStartState:h,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:Ce,WildcardTransition:Re,PredicateTransition:Ae,PrecedencePredicateTransition:de}=a(6850),{IntervalSet:H}=a(9173),W=a(2905),{LexerActionType:pe,LexerSkipAction:we,LexerChannelAction:Ee,LexerCustomAction:Be,LexerMoreAction:G,LexerTypeAction:re,LexerPushModeAction:ae,LexerPopModeAction:ve,LexerModeAction:He}=a(201),Qe="59627784-3BE5-417A-B9EB-8131A7286089",Ge=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Qe],Ct=Qe;function Nt(Lt,Le){const lt=[];return lt[Lt-1]=Le,lt.map(function(ze){return Le})}const Tt=function Bt(){const Lt=[];for(let Le=0;Le<256;Le++)Lt[Le]=(Le+256).toString(16).substr(1).toUpperCase();return Lt}();Ie.exports=class _t{constructor(Le){null==Le&&(Le=W.defaultOptions),this.deserializationOptions=Le,this.stateFactories=null,this.actionFactories=null}isFeatureSupported(Le,lt){const ze=Ge.indexOf(Le);return!(ze<0)&&Ge.indexOf(lt)>=ze}deserialize(Le){this.reset(Le),this.checkVersion(),this.checkUUID();const lt=this.readATN();this.readStates(lt),this.readRules(lt),this.readModes(lt);const ze=[];return this.readSets(lt,ze,this.readInt.bind(this)),this.isFeatureSupported(Qe,this.uuid)&&this.readSets(lt,ze,this.readInt32.bind(this)),this.readEdges(lt,ze),this.readDecisions(lt),this.readLexerActions(lt),this.markPrecedenceDecisions(lt),this.verifyATN(lt),this.deserializationOptions.generateRuleBypassTransitions&<.grammarType===d.PARSER&&(this.generateRuleBypassTransitions(lt),this.verifyATN(lt)),lt}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(Ge.indexOf(Le)<0)throw Ct;this.uuid=Le}readATN(){const Le=this.readInt(),lt=this.readInt();return new c(Le,lt)}readStates(Le){let lt,ze,at;const N=[],oe=[],Y=this.readInt();for(let ce=0;ce0;)N.addTransition(K.transitions[ce-1]),K.transitions=K.transitions.slice(-1);Le.ruleToStartState[lt].addTransition(new Ce(N)),oe.addTransition(new Ce(ne));const Te=new r;Le.addState(Te),Te.addTransition(new X(oe,Le.ruleToTokenType[lt])),N.addTransition(new Ce(Te))}stateIsEndStateFor(Le,lt){if(Le.ruleIndex!==lt||!(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 lt=0;lt=0:ze.transitions.length<=1||ze instanceof p)}}checkCondition(Le,lt){if(!Le)throw null==lt&&(lt="IllegalState"),lt}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 lt=7;lt>=0;lt--){const ze=this.readInt();Le[2*lt+1]=255&ze,Le[2*lt]=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,lt,ze,at,N,oe,Y,ne){const K=Le.states[at];switch(lt){case I.EPSILON:return new Ce(K);case I.RANGE:return new A(K,0!==Y?n.EOF:N,oe);case I.RULE:return new ie(Le.states[N],oe,Y,K);case I.PREDICATE:return new Ae(K,N,oe,0!==Y);case I.PRECEDENCE:return new de(K,N);case I.ATOM:return new X(K,0!==Y?n.EOF:N);case I.ACTION:return new U(K,N,oe,0!==Y);case I.SET:return new $(K,ne[N]);case I.NOT_SET:return new ee(K,ne[N]);case I.WILDCARD:return new Re(K);default:throw"The specified transition type: "+lt+" is not valid."}}stateFactory(Le,lt){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=lt,ze}}lexerActionFactory(Le,lt,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)=>ve.INSTANCE,at[pe.PUSH_MODE]=(N,oe)=>new ae(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](lt,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(h,u){return this.atn=h,this.sharedContextCache=u,this}getCachedContext(h){if(null===this.sharedContextCache)return h;const u=new g;return d(h,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 h extends a{constructor(){return super(),this.stateType=a.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}},RuleStopState:class f 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:f}=a(4280),{PredictionContext:h}=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 f;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 f 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 f&&this.mode===p.mode}toString(){return"mode("+this.mode+")"}}class h 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 h&&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:h,LexerIndexedCustomAction:v,LexerMoreAction:r,LexerTypeAction:c,LexerPushModeAction:d,LexerPopModeAction:g,LexerModeAction:f}},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 f=null;for(let h=0;h{const n=a(3340),{Set:c,BitSet:d,DoubleDict:g}=n,r=a(9800),{ATNState:f,RuleStopState:h}=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:Ce,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 ve=this.computeStartState(we.atnStartState,x.EMPTY,!1);we.precedenceDfa?(we.s0.configs=ve,ve=this.applyPrecedenceFilter(ve),G=this.addDFAState(we,new p(null,ve)),we.setPrecedenceStartState(this.parser.getPrecedence(),G)):(G=this.addDFAState(we,new p(null,ve)),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 ae=this.getExistingTargetState(G,re);if(null===ae&&(ae=this.computeTargetState(H,G,re)),ae===l.ERROR){const ve=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 ve}if(ae.requiresFullContext&&this.predictionMode!==y.SLL){let ve=null;if(null!==ae.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");const Qe=pe.index;if(Qe!==we&&pe.seek(we),ve=this.evalSemanticContext(ae.predicates,Ee,!0),1===ve.length)return this.debug&&console.log("Full LL avoided"),ve.minValue();Qe!==we&&pe.seek(Qe)}this.dfa_debug&&console.log("ctx sensitive state "+Ee+" in "+ae);const Ze=this.computeStartState(H.atnStartState,Ee,!0);return this.reportAttemptingFullContext(H,ve,ae.configs,we,pe.index),Be=this.execATNWithFullContext(H,ae,Ze,pe,we,Ee),Be}if(ae.isAcceptState){if(null===ae.predicates)return ae.prediction;const ve=pe.index;pe.seek(we);const He=this.evalSemanticContext(ae.predicates,Ee,!0);if(0===He.length)throw this.noViableAlt(pe,Ee,ae.configs,we);return 1===He.length||this.reportAmbiguity(H,ae,we,ve,!1,He,ae.configs),He.minValue()}G=ae,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 ae,re=!1,ve=pe;we.seek(Ee);let He=we.LA(1),Ze=-1;for(;;){if(ae=this.computeReachSet(ve,He,!0),null===ae){const Ge=this.noViableAlt(we,Be,ve,Ee);we.seek(Ee);const tt=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(ve,Be);if(tt!==r.INVALID_ALT_NUMBER)return tt;throw Ge}const Qe=y.getConflictingAltSubsets(ae);if(this.debug&&console.log("LL altSubSets="+Qe+", predict="+y.getUniqueAlt(Qe)+", resolvesToJustOneViableAlt="+y.resolvesToJustOneViableAlt(Qe)),ae.uniqueAlt=this.getUniqueAlt(ae),ae.uniqueAlt!==r.INVALID_ALT_NUMBER){Ze=ae.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}ve=ae,He!==b.EOF&&(we.consume(),He=we.LA(1))}return ae.uniqueAlt!==r.INVALID_ALT_NUMBER?(this.reportContextSensitivity(H,Ze,ae,Ee,we.index),Ze):(this.reportAmbiguity(H,W,Ee,we.index,re,null,ae),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 h&&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 h){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!==f.STAR_LOOP_ENTRY||W.stateType!==f.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=Ce.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:f}=a(5516),{ATNConfigSet:h}=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 h;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 h(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 f 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 f&&this.precedence===b.precedence}toString(){return"{"+this.precedence+">=prec}?"}static filterPrecedencePredicates(b){const p=[];return b.values().map(function(_){_ instanceof f&&p.push(_)}),p}}class h extends g{constructor(b,p){super();const _=new n;b instanceof h?b.opnds.map(function(y){_.add(y)}):_.add(b),p instanceof h?p.opnds.map(function(y){_.add(y)}):_.add(p);const l=f.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=f.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:f,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 f 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 h 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:f}=a(7279);Ie.exports=class h{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 f(this).toString()}get states(){return this._states}}},7279:(Ie,B,a)=>{const n=a(3340);class c{constructor(r,f,h){this.dfa=r,this.literalNames=f||[],this.symbolicNames=h||[]}toString(){if(null===this.dfa.s0)return null;let r="";const f=this.dfa.sortedStates();for(let h=0;h"),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 f=(r.isAcceptState?":":"")+"s"+r.stateNumber+(r.requiresFullContext?"^":"");return r.isAcceptState?null!==r.predicates?f+"=>"+n.arrayToString(r.predicates):f+"=>"+r.prediction.toString():f}}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(h,u){return null===h&&(h=-1),null===u&&(u=new n),this.stateNumber=h,this.configs=u,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}getAltSet(){const h=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(f){super(),this.exactOnly=f=f||!0}reportAmbiguity(f,h,u,v,b,p,_){if(this.exactOnly&&!b)return;const l="reportAmbiguity d="+this.getDecisionDescription(f,h)+": ambigAlts="+this.getConflictingAlts(p,_)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(l)}reportAttemptingFullContext(f,h,u,v,b,p){const _="reportAttemptingFullContext d="+this.getDecisionDescription(f,h)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(_)}reportContextSensitivity(f,h,u,v,b,p){const _="reportContextSensitivity d="+this.getDecisionDescription(f,h)+", input='"+f.getTokenStream().getText(new d(u,v))+"'";f.notifyErrorListeners(_)}getDecisionDescription(f,h){const u=h.decision,v=h.atnStartState.ruleIndex,b=f.ruleNames;if(v<0||v>=b.length)return""+u;const p=b[v]||null;return null===p||0===p.length?""+u:`${u} (${p})`}getConflictingAlts(f,h){if(null!==f)return f;const u=new n;for(let v=0;v{class B{syntaxError(d,g,r,f,h,u){}reportAmbiguity(d,g,r,f,h,u,v){}reportAttemptingFullContext(d,g,r,f,h,u){}reportContextSensitivity(d,g,r,f,h,u){}}class a extends B{constructor(){super()}syntaxError(d,g,r,f,h,u){console.error("line "+r+":"+f+" "+h)}}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,f,h,u){this.delegates.map(v=>v.syntaxError(d,g,r,f,h,u))}reportAmbiguity(d,g,r,f,h,u,v){this.delegates.map(b=>b.reportAmbiguity(d,g,r,f,h,u,v))}reportAttemptingFullContext(d,g,r,f,h,u){this.delegates.map(v=>v.reportAttemptingFullContext(d,g,r,f,h,u))}reportContextSensitivity(d,g,r,f,h,u){this.delegates.map(v=>v.reportContextSensitivity(d,g,r,f,h,u))}}}},2487:(Ie,B,a)=>{const{Token:n}=a(6205),{NoViableAltException:c,InputMismatchException:d,FailedPredicateException:g,ParseCancellationException:r}=a(5858),{ATNState:f}=a(5516),{Interval:h,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=f.INVALID_STATE_NUMBER);if(D.contains(n.EPSILON))null===this.nextTokensContext&&(this.nextTokensContext=l._ctx,this.nextTokensState=l._stateNumber);else switch(y.stateType){case f.BLOCK_START:case f.STAR_BLOCK_START:case f.PLUS_BLOCK_START:case f.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(l))return;throw new d(l);case f.PLUS_LOOP_BACK:case f.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 h(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 h(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,f,h=-1;const u=arguments.length;if(!u)return"";let v="";for(;++h1114111||a(b)!==b)throw RangeError("Invalid code point: "+b);b<=65535?g.push(b):(b-=65536,r=55296+(b>>10),f=b%1024+56320,g.push(r,f)),(h+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 f extends r{constructor(){super()}}class u extends f{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),f={toStringTree:function(h,u,v){u=u||null,null!==(v=v||null)&&(u=v.ruleNames);let b=f.getNodeText(h,u);b=n.escapeWhitespace(b,!1);const p=h.getChildCount();if(0===p)return b;let _="("+b+" ";p>0&&(b=f.toStringTree(h.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 f(A){return"string"!=typeof A&&(A=String(A)),A}function h(A){var U={next:function(){var Ce=A.shift();return{done:void 0===Ce,value:Ce}}};return n_iterable&&(U[Symbol.iterator]=function(){return U}),U}function u(A){this.map={},A instanceof u?A.forEach(function(U,Ce){this.append(Ce,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,Ce){A.onload=function(){U(A.result)},A.onerror=function(){Ce(A.error)}})}function p(A){var U=new FileReader,Ce=b(U);return U.readAsArrayBuffer(A),Ce}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,Ce=b(U);return U.readAsText(A),Ce}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function l(A){for(var U=new Uint8Array(A),Ce=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)&&Ce)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(Ce)}function I(A){var U=new FormData;return A.trim().split("&").forEach(function(Ce){if(Ce){var Re=Ce.split("="),Ae=Re.shift().replace(/\+/g," "),de=Re.join("=").replace(/\+/g," ");U.append(decodeURIComponent(Ae),decodeURIComponent(de))}}),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(":"),de=Ae.shift().trim();if(de){var H=Ae.join(":").trim();U.append(de,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,Ce){this.message=U,this.name=Ce;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(Ce,Re){var Ae=new E(A,U);if(Ae.signal&&Ae.signal.aborted)return Re(new a.DOMException("Aborted","AbortError"));var de=new XMLHttpRequest;function H(){de.abort()}de.onload=function(){var W={status:de.status,statusText:de.statusText,headers:X(de.getAllResponseHeaders()||"")};W.url="responseURL"in de?de.responseURL:W.headers.get("X-Request-URL"),Ce(new $("response"in de?de.response:de.responseText,W))},de.onerror=function(){Re(new TypeError("Network request failed"))},de.ontimeout=function(){Re(new TypeError("Network request failed"))},de.onabort=function(){Re(new a.DOMException("Aborted","AbortError"))},de.open(Ae.method,Ae.url,!0),"include"===Ae.credentials?de.withCredentials=!0:"omit"===Ae.credentials&&(de.withCredentials=!1),"responseType"in de&&n_blob&&(de.responseType="blob"),Ae.headers.forEach(function(W,pe){de.setRequestHeader(pe,W)}),Ae.signal&&(Ae.signal.addEventListener("abort",H),de.onreadystatechange=function(){4===de.readyState&&Ae.signal.removeEventListener("abort",H)}),de.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),f=Number(g);return r.setDate(r.getDate()+f),r}},6888:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var f=Number(r);return n(g,36e5*f)}},3895:(Ie,B,a)=>{var n=a(1420);Ie.exports=function c(d,g){var r=n(d).getTime(),f=Number(g);return new Date(r+f)}},3745:(Ie,B,a)=>{var n=a(3895);Ie.exports=function d(g,r){var f=Number(r);return n(g,6e4*f)}},1277:(Ie,B,a)=>{var n=a(1420),c=a(7255);Ie.exports=function d(g,r){var f=n(g),h=Number(r),u=f.getMonth()+h,v=new Date(0);v.setFullYear(f.getFullYear(),u,1),v.setHours(0,0,0,0);var b=c(v);return f.setMonth(u,Math.min(b,f.getDate())),f}},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(),f=g.getMonth(),h=new Date(0);return h.setFullYear(r,f+1,0),h.setHours(0,0,0,0),h.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,f=/[T ]/,h=/:/,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(f);if(h.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 Ce(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),ve=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 ae=parseInt(we[2],10);return Ee.setUTCFullYear(pe,Be,ae),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(ve){var Qe,He=ve.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 de(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 Ge=He+Ze,tt=new Date(Ge);Qe=n(tt);var Ct=new Date(Ge);Ct.setDate(tt.getDate()+1);var Nt=n(Ct)-n(tt);Nt>0&&(Qe+=Nt)}return new Date(He+Ze+Qe)}return new Date(W)}},563:(Ie,B,a)=>{B.formatArgs=function c(h){if(h[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+h[0]+(this.useColors?"%c ":" ")+"+"+Ie.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;h.splice(1,0,u,"color: inherit");let v=0,b=0;h[0].replace(/%[a-zA-Z%]/g,p=>{"%%"!==p&&(v++,"%c"===p&&(b=v))}),h.splice(b,0,u)},B.save=function d(h){try{h?B.storage.setItem("debug",h):B.storage.removeItem("debug")}catch{}},B.load=function g(){let h;try{h=B.storage.getItem("debug")}catch{}return!h&&typeof process<"u"&&"env"in process&&(h=process.env.DEBUG),h},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 h=!1;return()=>{h||(h=!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:f}=Ie.exports;f.j=function(h){try{return JSON.stringify(h)}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 Ce=g.formatters[U];return"function"==typeof Ce&&(A=Ce.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 h(){const _=[...g.names.map(v),...g.skips.map(v).map(l=>"-"+l)].join(",");return g.enable(""),_},g.enable=function f(_){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,f){try{return[decodeURIComponent(r.join(""))]}catch{}if(1===r.length)return r;var h=r.slice(0,f=f||1),u=r.slice(f);return Array.prototype.concat.call([],c(h),c(u))}function d(r){try{return decodeURIComponent(r)}catch{for(var f=r.match(a)||[],h=1;h"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 f=Object.keys(d)[0];return void 0!==r.find(u=>u[f]===d[f])}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),f=a(7681),h=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 f(this),this.pagination=new h(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((Ce,Re)=>{function Ae(de){U.push(de)===$.numJobs&&Re(new Error(U.map(H=>H.message).join("; ")))}E.httpClient.request("GET",`${X}.well-known/smart-configuration`,ie.addSignalOption(I)).then(de=>($.safeAbortOthers(ie),Ce(g(de)))).catch(de=>Ae(de)),E.capabilityStatement(ee.addSignalOption(I)).then(de=>($.safeAbortOthers(ee),Ce(d(de)))).catch(de=>Ae(de)),E.httpClient.request("GET",`${X}.well-known/openid-configuration`,A.addSignalOption(I)).then(de=>($.safeAbortOthers(A),Ce(g(de)))).catch(de=>Ae(de))})})()}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 f=0,h=this.numJobs;f{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"},f="__response",h="__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[f]}static requestFor(D){return D[h]}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 Ce=yield ie.text();let Re={};if(Ce)try{Re=JSON.parse(Ce)}catch{throw Re=Ce,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,f,{writable:!1,enumerable:!1,value:ie}),Object.defineProperty(Re,h,{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 f(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 h(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:f,options:h={}}={}){var u=this;return n(function*(){return void 0===r?g.startsWith("http")?u.resolveAbsoluteReference(g,d(h,f)):u.client.httpClient.get(g,d(h,f)):g.startsWith("#")?u.resolveContainedReference(g,r):u.resolveBundleReference(g,r,d(h,f))})()}resolveAbsoluteReference(g,r){var f=this;return n(function*(){if(g.startsWith(f.client.baseUrl))return f.client.httpClient.get(g,r);const{baseUrl:h,resourceType:u,id:v}=c(g);return new(a(8907))({baseUrl:h}).read({resourceType:u,id:v,options:r})})()}resolveContainedReference(g,r){if(r.contained){const f=g.slice(1),h=r.contained.find(u=>u.id===f);if(h)return h}throw new Error(`Unable to resolve contained reference: ${g}`)}resolveBundleReference(g,r,f){var h=this;return n(function*(){const u=new RegExp(`(^|/)${g}$`),v=r.entry.find(b=>u.test(b.fullUrl));return v?v.resource:h.resolve({reference:g,options:f})})()}}},6686:(Ie,B,a)=>{const{logError:c}=a(1566);Ie.exports={authFromCapability:function d(r){const f={};try{return r.rest.forEach(h=>{h.security.extension.find(v=>"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"===v.url).extension.forEach(v=>{switch(v.url){case"authorize":f.authorizeUrl=new URL(v.valueUri);break;case"token":f.tokenUrl=new URL(v.valueUri);break;case"register":f.registerUrl=new URL(v.valueUri);break;case"manage":f.manageUrl=new URL(v.valueUri)}})}),f}catch(h){return c(h),f}},authFromWellKnown:function g(r){const{authorization_endpoint:f,token_endpoint:h,registration_endpoint:u}=r;return{authorizeUrl:f&&new URL(f),tokenUrl:h&&new URL(h),registerUrl:u&&new URL(u)}}}},9047:(Ie,B,a)=>{const n=a(133),{fhirReferenceRegEx:c}=a(4115);Ie.exports={createQueryString:function r(f){if(f instanceof Object&&Object.keys(f).length>0)return n.stringify(f)},splitReference:function d(f){if(!f.match(c))throw new Error(`${f} is not a recognized FHIR reference`);let h,u=f;f.startsWith("http")&&([,h]=c.exec(f),u=f.slice(h.length),h.endsWith("/")&&(h=h.slice(0,-1)));const[v,b]=u.split("/");return{baseUrl:h,resourceType:v,id:b}},validResourceType:function g(f){return!f.startsWith("/")&&!f.includes(":")&&/\S/.test(f)}}},4258:(Ie,B,a)=>{let n={};const c=a(7353),d=a(5117),g=a(5827);n.aggregateMacro=function(r,f,h){return r.reduce((u,v,b)=>(this.$index=b,this.$total=f(v)),this.$total=h)},n.countFn=function(r){return r&&r.length?r.length:0},n.sumFn=function(r){return n.aggregateMacro.apply(this,[r,f=>c.plus(g.arraify(f),g.arraify(this.$total)),0])},n.minFn=function(r){return n.aggregateMacro.apply(this,[r,f=>{const h=g.arraify(f),u=g.arraify(this.$total);return g.isEmpty(u)||d.lt(h,u)?h:u}])},n.maxFn=function(r){return n.aggregateMacro.apply(this,[r,f=>{const h=g.arraify(f),u=g.arraify(this.$total);return g.isEmpty(u)||d.gt(h,u)?h: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 f=0;f1)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 f=[];const h=g.length;let u=r.length;if(h&&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[_]&&(f.push(p),v[_]=!1,u--)}}return f},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,f=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 f(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,f=Object.keys,h=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(h(y)||h(x))return p(y=h(y)?r.call(y):y,x=h(x)?r.call(x):x,D);try{var I=f(y),X=f(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,f=d.FP_DateTime;var h={};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?f:p.constructor,y=_.constructor===r?f:_.constructor;return l!==y&&n.raiseError('Type of "'+p+'" ('+l.name+') did not match type of "'+_+'" ('+y.name+")","InequalityExpression"),[p,_]}h.equal=function(p,_){return u(p,_)},h.unequal=function(p,_){var l=u(p,_);return void 0===l?void 0:!l},h.equival=function(p,_){return v(p,_)},h.unequival=function(p,_){return!v(p,_)},h.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},h.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},h.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=h},631:(Ie,B,a)=>{const n=a(5827),{whereMacro:c,distinctFn:d}=a(5073),g=a(6777),r=a(6190),f={};function h(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}f.emptyFn=n.isEmpty,f.notFn=function(u){let v=g.singleton(u,"Boolean");return"boolean"==typeof v?!v:[]},f.existsMacro=function(u,v){var b=u;return v?f.existsMacro(c(u,v)):!n.isEmpty(b)},f.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={},f=a(631),h=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 Ce=A.makeResNode;function Re(re,ae,ve,He){if("Expr"===ve)return function(Qe){return re.$this=d.arraify(Qe),r.doEval(re,re.$this,He)};if("AnyAtRoot"===ve)return re.$this=re.$this||re.dataRoot,r.doEval(re,re.$this,He);if("Identifier"===ve){if("TermExpression"===He.type)return He.text;throw new Error("Expected identifier node, got "+JSON.stringify(He))}if("TypeSpecifier"===ve)return r.TypeSpecifier(re,ae,He);re.$this=ae;const Ze=r.doEval(re,ae,He);if("Any"===ve)return Ze;if(Array.isArray(ve)){if(0===Ze.length)return[];ve=ve[0]}return b.singleton(Ze,ve)}function de(re){return null==re||d.isEmpty(re)}function H(re,ae,ve,He){var Ze=r.invocationTable[ae];if(Ze&&Ze.fn){var Qe=He?He.length:0;if(2!==Qe)throw new Error("Infix invoke should have arity 2");var Ge=Ze.arity[Qe];if(Ge){for(var tt=[],Ct=0;CtCt?.__path__?Ce(Ct,Ct?.__path__):Ct),Ge={context:Qe,ucum:"http://unitsofmeasure.org"};ve&&(ve=Object.keys(ve).reduce((Ct,Nt)=>(Ct[Nt]=Array.isArray(ve[Nt])?ve[Nt].map(_t=>_t?.__path__?Ce(_t,_t.__path__):_t):ve[Nt]?.__path__?Ce(ve[Nt],ve[Nt].__path__):ve[Nt],Ct),{}));let tt={dataRoot:Qe,vars:Object.assign(Ge,ve),model:He};return Ze&&Ze.traceFn&&(tt.customTraceFn=Ze.traceFn),r.doEval(tt,Qe,ae.children[0]).map(Ct=>{let Nt=Ct instanceof A?Ct.path:null;return(Ct=d.valData(Ct))instanceof ie&&Ze.resolveInternalTypes&&(Ct=Ct.toString()),Nt&&"object"==typeof Ct&&Object.defineProperty(Ct,"__path__",{value:Nt}),Ct})}function Be(re,ae,ve){if(ve={resolveInternalTypes:!0,...ve},"object"==typeof re){const He=W(re.expression);return function(Ze,Qe){const Ge=re.base?Ce(Ze,re.base):Ze;return U.model=ae,pe(Ge,He,Qe,ae,ve)}}{const He=W(re);return function(Ze,Qe){return U.model=ae,pe(Ze,He,Qe,ae,ve)}}}r.invocationTable={empty:{fn:f.emptyFn},not:{fn:f.notFn},exists:{fn:f.existsMacro,arity:{0:[],1:["Expr"]}},all:{fn:f.allMacro,arity:{1:["Expr"]}},allTrue:{fn:f.allTrueFn},anyTrue:{fn:f.anyTrueFn},allFalse:{fn:f.allFalseFn},anyFalse:{fn:f.anyFalseFn},subsetOf:{fn:f.subsetOfFn,arity:{1:["AnyAtRoot"]}},supersetOf:{fn:f.supersetOfFn,arity:{1:["AnyAtRoot"]}},isDistinct:{fn:f.isDistinctFn},distinct:{fn:h.distinctFn},count:{fn:u.countFn},where:{fn:h.whereMacro,arity:{1:["Expr"]}},extension:{fn:h.extension,arity:{1:["String"]}},select:{fn:h.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:h.singleFn},first:{fn:h.firstFn},last:{fn:h.lastFn},type:{fn:E.typeFn,arity:{0:[]}},ofType:{fn:h.ofTypeFn,arity:{1:["TypeSpecifier"]}},is:{fn:E.isFn,arity:{1:["TypeSpecifier"]}},as:{fn:E.asFn,arity:{1:["TypeSpecifier"]}},tail:{fn:h.tailFn},take:{fn:h.takeFn,arity:{1:["Integer"]}},skip:{fn:h.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:h.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,ae,ve){return ve.children.reduce(function(He,Ze){return r.doEval(re,He,Ze)},ae)},r.TermExpression=function(re,ae,ve){return ae&&(ae=ae.map(He=>He instanceof Object&&He.resourceType?Ce(He,He.resourceType):He)),r.doEval(re,ae,ve.children[0])},r.PolarityExpression=function(re,ae,ve){var He=ve.terminalNodeText[0],Ze=r.doEval(re,ae,ve.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,ae,ve){let He,Ze;const Qe=ve.text.split(".").map(Ge=>Ge.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(ve))}return new U({namespace:He,name:Ze})},r.ExternalConstantTerm=function(re,ae,ve){var Qe=r.Identifier(re,ae,ve.children[0].children[0])[0],Ge=re.vars[Qe];if(!(Qe in re.vars))throw new Error("Attempting to access an undefined environment variable: "+Qe);return null==Ge?[]:Ge instanceof Array?Ge:[Ge]},r.LiteralTerm=function(re,ae,ve){var He=ve.children[0];return He?r.doEval(re,ae,He):[ve.text]},r.StringLiteral=function(re,ae,ve){var He=ve.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,ae,ve){return"true"===ve.text?[!0]:[!1]},r.QuantityLiteral=function(re,ae,ve){var He=ve.children[0],Ze=Number(He.terminalNodeText[0]),Qe=He.children[0],Ge=Qe.terminalNodeText[0];return!Ge&&Qe.children&&(Ge=Qe.children[0].terminalNodeText[0]),[new ee(Ze,Ge)]},r.DateTimeLiteral=function(re,ae,ve){var He=ve.text.slice(1);return[new X(He)]},r.TimeLiteral=function(re,ae,ve){var He=ve.text.slice(1);return[new $(He)]},r.NumberLiteral=function(re,ae,ve){return[Number(ve.text)]},r.Identifier=function(re,ae,ve){return[ve.text.replace(/(^`|`$)/g,"")]},r.InvocationTerm=function(re,ae,ve){return r.doEval(re,ae,ve.children[0])},r.MemberInvocation=function(re,ae,ve){const He=r.doEval(re,ae,ve.children[0])[0],Ze=re.model;if(ae){if(d.isCapitalized(He))return ae.filter(Qe=>Qe instanceof A&&Qe.path===He);{const Qe=ae.path||ae.__path__;return ae.reduce(function(Ge,tt){var Ct=(tt=Ce(tt,Qe)).path+"."+He;if(Ze){let Tt=Ze.pathsDefinedElsewhere[Ct];Tt&&(Ct=Tt)}let Nt,_t,Bt=Ze&&Ze.choiceTypePaths[Ct];if(Bt)for(let Tt of Bt){let Lt=He+Tt;if(Nt=tt.data?.[Lt],_t=tt.data?.["_"+Lt],void 0!==Nt||void 0!==_t){Ct+=Tt;break}}else Nt=tt.data?.[He],_t=tt.data?.["_"+He],void 0===Nt&&void 0===_t&&(Nt=tt._data[He]),"extension"===He&&(Ct="Extension");return Ct=Ze&&Ze.path2Type[Ct]||Ct,(d.isSome(Nt)||d.isSome(_t))&&(Array.isArray(Nt)?Ge=Ge.concat(Nt.map((Tt,Lt)=>Ce(Tt,Ct,_t&&_t[Lt]))):Ge.push(Ce(Nt,Ct,_t))),Ge},[])}}return[]},r.IndexerExpression=function(re,ae,ve){const Ze=ve.children[1];var Qe=r.doEval(re,ae,ve.children[0]),Ge=r.doEval(re,ae,Ze);if(d.isEmpty(Ge))return[];var tt=parseInt(Ge[0]);return Qe&&d.isSome(tt)&&Qe.length>tt&&tt>=0?[Qe[tt]]:[]},r.Functn=function(re,ae,ve){return ve.children.map(function(He){return r.doEval(re,ae,He)})},r.realizeParams=function(re,ae,ve){return ve&&ve[0]&&ve[0].children?ve[0].children.map(function(He){return r.doEval(re,ae,He)}):[]},r.FunctionInvocation=function(re,ae,ve){var He=r.doEval(re,ae,ve.children[0]);const Ze=He[0];return He.shift(),function Ae(re,ae,ve,He){var Qe,Ze=r.invocationTable[ae];if(Ze){if(Ze.arity){var Ge=He?He.length:0,tt=Ze.arity[Ge];if(tt){for(var Ct=[],Nt=0;Nt{const ve=U.fromValue(ae?.__path__?new A(ae,ae.__path__):ae);return`${ve.namespace}.${ve.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(f,h){return!1===f||f?n.flatten(f.filter((u,v)=>(this.$index=v,h(u)[0]))):[]},extension:function(f,h){return!1!==f&&!f||!h?[]:n.flatten(f.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===h).map(p=>d.makeResNode(p,"Extension")):[]}))},selectMacro:function(f,h){return!1===f||f?n.flatten(f.map((u,v)=>(this.$index=v,h(u)))):[]},repeatMacro:function(f,h){if(!1!==f&&!f)return[];let u=[];const v={},b=f.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(h))},distinctFn:function(f){let h=[];if(f.length>0){let u={};for(let v=0,b=f.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 h(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(h):Object.keys(u).sort().reduce((v,b)=>(v[b]=h(u[b]),v),{}):u}Ie.exports=function f(u){return JSON.stringify(h(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 f(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 h(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(h(u))return[];{let v=f(u);return Math.abs(v)}},r.ceiling=function(u){if(h(u))return[];{let v=f(u);return Math.ceil(v)}},r.exp=function(u){if(h(u))return[];{let v=f(u);return Math.exp(v)}},r.floor=function(u){if(h(u))return[];{let v=f(u);return Math.floor(v)}},r.ln=function(u){if(h(u))return[];{let v=f(u);return Math.log(v)}},r.log=function(u,v){if(h(u)||h(v))return[];{let b=f(u),p=f(v);return Math.log(b)/Math.log(p)}},r.power=function(u,v){if(h(u)||h(v))return[];{let b=f(u),p=f(v);return b<0&&Math.floor(p)!=p?[]:Math.pow(b,p)}},r.round=function(u,v){if(h(u))return[];{let b=f(u);if(h(v))return Math.round(b);{let p=f(v),_=Math.pow(10,p);return Math.round(b*_)/_}}},r.sqrt=function(u){if(h(u))return[];{let v=f(u);return v<0?[]:Math.sqrt(v)}},r.truncate=function(u){if(h(u))return[];{let v=f(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 f=/^((\+|-)?\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=f.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 f=this.model;return r.reduce(function(h,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(f){let l=f.pathsDefinedElsewhere[_];l&&(_=l)}Array.isArray(p)?h.push.apply(h,p.map(l=>d(l,_))):h.push(d(p,_))}return h}return h},[])},descendants:function(r){for(var f=g.children.call(this,r),h=[];f.length>0;)h.push.apply(h,f),f=g.children.call(this,f);return h}};Ie.exports=g},4192:Ie=>{let B={};function a(g){const f=/(\d+)(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/.exec(""+ +g);if(!f)return 0;const h=f[2];return Math.max(0,("0"===h?0:(h||"").length)-(f[3]||0))}function n(g,r){const f=Math.pow(10,r);return Math.round(g*f)/f}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 f=Math.min(a(g),a(r));return 0===f?Math.round(g)===Math.round(r):n(g,f)===n(r,f)},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((h,u)=>new c.dfa.DFA(h,u));class f extends c.Lexer{constructor(u){super(u),this._interp=new c.atn.LexerATNSimulator(this,g,r,new c.PredictionContextCache)}get atn(){return g}}n(f,"grammarFileName","FHIRPath.g4"),n(f,"channelNames",["DEFAULT_TOKEN_CHANNEL","HIDDEN"]),n(f,"modeNames",["DEFAULT_MODE"]),n(f,"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(f,"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(f,"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"]),f.EOF=c.Token.EOF,f.T__0=1,f.T__1=2,f.T__2=3,f.T__3=4,f.T__4=5,f.T__5=6,f.T__6=7,f.T__7=8,f.T__8=9,f.T__9=10,f.T__10=11,f.T__11=12,f.T__12=13,f.T__13=14,f.T__14=15,f.T__15=16,f.T__16=17,f.T__17=18,f.T__18=19,f.T__19=20,f.T__20=21,f.T__21=22,f.T__22=23,f.T__23=24,f.T__24=25,f.T__25=26,f.T__26=27,f.T__27=28,f.T__28=29,f.T__29=30,f.T__30=31,f.T__31=32,f.T__32=33,f.T__33=34,f.T__34=35,f.T__35=36,f.T__36=37,f.T__37=38,f.T__38=39,f.T__39=40,f.T__40=41,f.T__41=42,f.T__42=43,f.T__43=44,f.T__44=45,f.T__45=46,f.T__46=47,f.T__47=48,f.T__48=49,f.T__49=50,f.T__50=51,f.T__51=52,f.T__52=53,f.T__53=54,f.DATETIME=55,f.TIME=56,f.IDENTIFIER=57,f.DELIMITEDIDENTIFIER=58,f.STRING=59,f.NUMBER=60,f.WS=61,f.COMMENT=62,f.LINE_COMMENT=63,Ie.exports=f},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),f=r.decisionToState.map((at,N)=>new c.dfa.DFA(at,N)),h=new c.PredictionContextCache;class u extends c.Parser{constructor(N){super(N),this._interp=new c.atn.ParserATNSimulator(this,r,f,h),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),K=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,K=ne,this.state=34,this.term();break;case u.T__3:case u.T__4:ne=new _(this,ne),this._ctx=ne,K=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 et=this._interp.adaptivePredict(this._input,2,this._ctx);2!=et&&et!=c.atn.ATN.INVALID_ALT_NUMBER;){if(1===et)switch(null!==this._parseListeners&&this.triggerExitRuleEvent(),K=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(ve,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 Ce extends U{constructor(N,oe){super(N),super.copyFrom(oe)}externalConstant(){return this.getTypedRuleContext(ae,0)}enterRule(N){N instanceof d&&N.enterExternalConstantTerm(this)}exitRule(N){N instanceof d&&N.exitExternalConstantTerm(this)}}u.ExternalConstantTermContext=Ce;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 de extends U{constructor(N,oe){super(N),super.copyFrom(oe)}invocation(){return this.getTypedRuleContext(ve,0)}enterRule(N){N instanceof d&&N.enterInvocationTerm(this)}exitRule(N){N instanceof d&&N.exitInvocationTerm(this)}}u.InvocationTermContext=de;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(_t,0)}enterRule(N){N instanceof d&&N.enterQuantityLiteral(this)}exitRule(N){N instanceof d&&N.exitQuantityLiteral(this)}}u.QuantityLiteralContext=re;class ae 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 ve 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 ve{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 ve{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 ve{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 Ge extends ve{constructor(N,oe){super(N),super.copyFrom(oe)}functn(){return this.getTypedRuleContext(Ct,0)}enterRule(N){N instanceof d&&N.enterFunctionInvocation(this)}exitRule(N){N instanceof d&&N.exitFunctionInvocation(this)}}u.FunctionInvocationContext=Ge;class tt extends ve{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 Ct 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(Nt,0)}enterRule(N){N instanceof d&&N.enterFunctn(this)}exitRule(N){N instanceof d&&N.exitFunctn(this)}}class Nt 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 _t 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(Lt,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 Lt 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(lt,0)}enterRule(N){N instanceof d&&N.enterTypeSpecifier(this)}exitRule(N){N instanceof d&&N.exitTypeSpecifier(this)}}class lt 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=ae,u.InvocationContext=ve,u.FunctnContext=Ct,u.ParamListContext=Nt,u.QuantityContext=_t,u.UnitContext=Bt,u.DateTimePrecisionContext=Tt,u.PluralDateTimePrecisionContext=Lt,u.TypeSpecifierContext=Le,u.QualifiedIdentifierContext=lt,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(h){var u=new n.InputStream(h),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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.indexOf(u)},d.substring=function(h,u,v){const b=c.singleton(h,"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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.startsWith(u)},d.endsWith=function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.endsWith(u)},d.containsFn=function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:v.includes(u)},d.upper=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.toUpperCase()},d.lower=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.toLowerCase()},d.joinFn=function(h,u){return void 0===u&&(u=""),h.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(h,u){const v=c.singleton(h,"String");return n.isEmpty(v)?[]:v.split(u)},d.trimFn=function(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.trim()},d.encodeFn=function(h,u){const v=c.singleton(h,"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(h,u){const v=c.singleton(h,"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(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(u,"s").test(v)}:function(h,u){const v=c.singleton(h,"String");return n.isEmpty(u)||n.isEmpty(v)?[]:new RegExp(function r(h){return g[h]||(g[h]=h.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[h]}(u)).test(v)},d.replace=function(h,u,v){const b=c.singleton(h,"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(h,u,v){const b=c.singleton(h,"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(h){const u=c.singleton(h,"String");return n.isEmpty(u)?[]:u.length},d.toChars=function(h){const u=c.singleton(h,"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 f="[0-9][0-9](\\:[0-9][0-9](\\:[0-9][0-9](\\.[0-9]+)?)?)?(Z|(\\+|-)[0-9][0-9]\\:[0-9][0-9])?",h=new RegExp("^T?"+f+"$"),u=new RegExp("^[0-9][0-9][0-9][0-9](-[0-9][0-9](-[0-9][0-9](T"+f+")?)?)?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 Ce=p.toUcumQuantity(this.value,this.unit),Re=p.toUcumQuantity(A.value,A.unit),Ae=d.convertUnitTo(Re.unit,Re.value,Ce.unit);return"succeeded"===Ae.status&&g.isEqual(Ce.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),Ce=p.getEquivalentUcumUnitCode(A.unit),Re=d.convertUnitTo(Ce,A.value,U);return"succeeded"===Re.status&&g.isEquivalent(this.value,Re.toVal)}_compareYearsAndMonths(A){const U=p._yearMonthConversionFactor[this.unit],Ce=p._yearMonthConversionFactor[A.unit];return U&&Ce?{isEqual:g.isEqual(this.value*U,A.value*Ce)}: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 Ce=p._yearMonthConversionFactor[ie],Re=p._yearMonthConversionFactor[U];if(Ce&&Re)return new p(Ce*A/Re,U);const Ae=p._calendarDuration2Seconds[ie],de=p._calendarDuration2Seconds[U];if(de){if(Ae)return new p(Ae*A/de,U);{const H=d.convertUnitTo(ie.replace(/^'|'$/g,""),A,"s");if("succeeded"===H.status)return new p(H.toVal/de,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 Ce=p.arithmeticDurationUnits[A.unit];if(!Ce)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[Ce];if(void 0===Ae)throw new Error("Unsupported unit for +. The unit should be one of "+Object.keys(Re._timeUnitToDatePrecision).join(", ")+".");let de=A.value;const H=Re===x;if((H?Ae<2:Ae<5)&&(de=Math.trunc(de)),this._getPrecision()2?new y(de)._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(),Ce=A._getPrecision(),Re=U<=Ce?this._getDateObj().getTime():this._dateAtPrecision(Ce).getTime(),Ae=Ce<=U?A._getDateObj().getTime():A._dateAtPrecision(U).getTime();return U!==Ce&&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 Ce=U;Ce>=0&&void 0===this.precision;--Ce)this.timeMatchData[Ce]&&(this.precision=Ce);return this.timeMatchData}_getTimeParts(A){var U=[];U=[A[0]];var Ce=A[4];if(Ce){let H=U[0];U[0]=H.slice(0,H.length-Ce.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 de=A[3];de&&(U[2]=Ae.slice(0,Ae.length-de.length),U[3]=de)}}return U}_getDateObj(){if(!this.dateObj){var A=this._getPrecision();this.dateObj=this._dateAtPrecision(A)}return this.dateObj}_createDate(A,U,Ce,Re,Ae,de,H,W){var pe=new Date(A,U,Ce,Re,Ae,de,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 Ce=this._getMatchData(),Re=Ce[0];this.timeParts=[Re];var U=Ce[1];if(U){this.timeParts[0]=Re.slice(0,Re.length-U.length),this.timeParts[1]=U;let Ae=Ce[2];if(Ae){this.timeParts[1]=U.slice(0,U.length-Ae.length),this.timeParts[2]=Ae;let de=Ce[3];de&&(this.timeParts[2]=Ae.slice(0,Ae.length-de.length),"T"===de[0]&&(Ce[3]=de.slice(1)),this.timeParts=this.timeParts.concat(super._getTimeParts(Ce.slice(3))))}}}return this.timeParts}_dateAtPrecision(U){var Ce=this._getTimeParts(),Re=this._getMatchData()[7],Ae=this._getPrecision(),de=parseInt(Ce[0]),H=Ae>0?parseInt(Ce[1].slice(1))-1:0,W=Ae>1?parseInt(Ce[2].slice(1)):1,pe=Ae>2?parseInt(Ce[3]):0,we=Ae>3?parseInt(Ce[4].slice(1)):0,Ee=Ae>4?parseInt(Ce[5].slice(1)):0,Be=Ce.length>6?parseInt(Ce[6].slice(1)):0,G=this._createDate(de,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(de,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 Ce=this._getTimeParts(),Re=this._getMatchData()[4],Ae=this._getPrecision(),pe=parseInt(Ce[0]),we=Ae>0?parseInt(Ce[1].slice(1)):0,Ee=Ae>1?parseInt(Ce[2].slice(1)):0,Be=Ce.length>3?parseInt(Ce[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(h,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 Ce=ie.getTimezoneOffset(),Re=Ce<0?"+":"-",Ae=(Ce=Math.abs(Ce))%60;U+=Re+D((Ce-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,Ce,Re){U?.resourceType&&(Ce=U.resourceType),this.path=Ce,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,Ce){return A instanceof ie?A:new ie(A,U,Ce)},ie})(),I=(()=>{class ie{constructor({name:U,namespace:Ce}){this.name=U,this.namespace=Ce}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 Ce=typeof U;return Number.isInteger(U)?Ce="integer":"number"===Ce?Ce="decimal":U instanceof S?Ce="date":U instanceof y?Ce="dateTime":U instanceof x?Ce="time":U instanceof p&&(Ce="Quantity"),A===ie.System&&(Ce=Ce.replace(/^\w/,Re=>Re.toUpperCase())),new ie({namespace:A,name:Ce})},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:h,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,f){let h=this.valData(g);if(r.indexOf(typeof h)<0){let u=r.length>1?"one of "+r.join(", "):r[0];n.raiseError("Found type '"+typeof g+"' but was expecting "+u,f)}return h},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,f){return Array.isArray(f)?r=r.concat(f):r.push(f),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(f,h){return g[0]===h?"[Circular ~]":"[Circular ~."+r.slice(0,g.indexOf(h)).join(".")+"]"}),function(f,h){if(g.length>0){var u=g.indexOf(this);~u?g.splice(u+1):g.push(this),~u?r.splice(u,1/0,f):r.push(f),~g.indexOf(h)&&(h=d.call(this,f,h))}else g.push(h);return null==c?h:c.call(this,f,h)}}(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 h(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 f(u){return h(u,c,"day")||h(u,n,"hour")||h(u,a,"minute")||h(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),f=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(Ce=>p(Ce,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 h(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,[f]:!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[f]?b(E.fragmentIdentifier,I):E.fragmentIdentifier}`),`${X}${A}${U}`},B.pick=(E,I,X)=>{X=Object.assign({parseFragmentIdentifier:!0,[f]:!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:f}=this;if(g)throw r;return this._throwIfClosed(),f}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),f=a(4674),h=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,f.m)(_.next)&&(0,f.m)(_.error)&&(0,f.m)(_.complete)}(_)&&(0,c.Nn)(_)}(y)?y:new n.Hp(y,x,D);return(0,h.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,f=1/0,h=c.l){super(),this._bufferSize=r,this._windowTime=f,this._timestampProvider=h,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=f===1/0,this._bufferSize=Math.max(1,r),this._windowTime=Math.max(1,f)}next(r){const{isStopped:f,_buffer:h,_infiniteTimeWindow:u,_timestampProvider:v,_windowTime:b}=this;f||(h.push(r),!u&&h.push(v.now()+b)),this._trimBuffer(),super.next(r)}_subscribe(r){this._throwIfClosed(),this._trimBuffer();const f=this._innerSubscribe(r),{_infiniteTimeWindow:h,_buffer:u}=this,v=u.slice();for(let b=0;b{"use strict";a.d(B,{x:()=>h});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),f=a(1441);let h=(()=>{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,f.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const _ of this.currentObservers)_.next(p)}})}error(p){(0,f.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:_}=this;for(;_.length;)_.shift().error(p)}})}complete(){(0,f.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 h{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 f=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 h($){return v("E",void 0,$)}(ee),this):(this.isStopped=!0,this._error(ee))}complete(){this.isStopped?I(f,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 Ce;this&&d.config.useDeprecatedNextContext?(Ce=Object.create(ee),Ce.unsubscribe=()=>this.unsubscribe(),U={next:ee.next&&y(ee.next,Ce),error:ee.error&&y(ee.error,Ce),complete:ee.complete&&y(ee.complete,Ce)}):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:()=>f,w0:()=>r,Nn:()=>h});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 f=r.EMPTY;function h(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:()=>f});var n=a(5592),c=a(7394),d=a(6196),g=a(8251),r=a(9360);class f 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),f=a(9940),h=a(2714),u=a(8251),v=a(7103);function b(...l){const y=(0,f.yG)(l),x=(0,f.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,h.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),f=a(7400),h=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,h.n)(_,D):D),y.complete())}))}});return b?l.pipe((0,f.Z)(b)):l}},2459:(Ie,B,a)=>{"use strict";a.d(B,{D:()=>ee});var n=a(4829),c=a(3093),d=a(5137),f=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 f.y(U=>{(0,b.f)(U,A,()=>{const Ce=ie[Symbol.asyncIterator]();(0,b.f)(U,A,()=>{Ce.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 h(ie,A){return new f.y(U=>{let Ce=0;return A.schedule(function(){Ce===ie.length?U.complete():(U.next(ie[Ce++]),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 f.y(U=>{let Ce;return(0,b.f)(U,A,()=>{Ce=ie[u.h](),(0,b.f)(U,A,()=>{let Re,Ae;try{({value:Re,done:Ae}=Ce.next())}catch(de){return void U.error(de)}Ae?U.complete():U.next(Re)},0,!0)}),()=>(0,v.m)(Ce?.return)&&Ce.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),f=a(7400);const h=["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,f.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)?h.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),f=a(5726),h=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,f.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,h.z)($)}function E($){return new g.y(ee=>{(function X($,ee){var ie,A,U,Ce;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&&(Ce=ie.return)&&(yield Ce.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:()=>f});var n=a(7537),c=a(4829),d=a(6232),g=a(9940),r=a(2459);function f(...h){const u=(0,g.yG)(h),v=(0,g._6)(h,1/0),b=h;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:()=>f,S:()=>r});var n=a(5592),c=a(4829),d=a(7728),g=a(8251);function r(...h){return 1===(h=(0,d.k)(h)).length?(0,c.Xf)(h[0]):new n.y(f(h))}function f(h){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 f=(0,c.m)(g)?g:()=>g,h=u=>u.error(f());return new n.y(r?u=>r.schedule(h,0,u):h)}},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(f=0,h,u=c.P){let v=-1;return null!=h&&((0,d.K)(h)?u=h:v=h),new n.y(b=>{let p=(0,g.q)(f)?+f-u.now():f;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,{$:()=>h});var n=a(5592),c=a(4829),d=a(7728),g=a(6232),r=a(8251),f=a(9940);function h(...u){const v=(0,f.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,f,h,u){return new d(g,r,f,h,u)}class d extends n.Lv{constructor(r,f,h,u,v,b){super(r),this.onFinalize=v,this.shouldUnsubscribe=b,this._next=f?function(p){try{f(p)}catch(_){r.error(_)}}:super._next,this._error=u?function(p){try{u(p)}catch(_){r.error(_)}finally{this.unsubscribe()}}:super._error,this._complete=h?function(){try{h()}catch(p){r.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:f}=this;super.unsubscribe(),!f&&(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)((f,h)=>{let u=!1,v=null,b=null,p=!1;const _=()=>{if(b?.unsubscribe(),b=null,u){u=!1;const y=v;v=null,h.next(y)}p&&h.complete()},l=()=>{b=null,p&&h.complete()};f.subscribe((0,d.x)(h,y=>{u=!0,v=y,b||(0,c.Xf)(r(y)).subscribe(b=(0,d.x)(h,_,l))},()=>{p=!0,(!u||!b||b.closed)&&h.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,f=n.z){return(0,c.U)(()=>(0,d.H)(r,f))}},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)((f,h)=>{let b,u=null,v=!1;u=f.subscribe((0,c.x)(h,void 0,void 0,p=>{b=(0,n.Xf)(r(p,g(r)(f))),u?(u.unsubscribe(),u=null,b.subscribe(h)):v=!0})),v&&(u.unsubscribe(),u=null,b.subscribe(h))})}},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,f=n.z){return(0,c.e)((h,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=f.now();if(x{b=y,p=f.now(),v||(v=f.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,f)=>{let h=!1;r.subscribe((0,c.x)(f,u=>{h=!0,f.next(u)},()=>{h||f.next(g),f.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,f=n.z){const h=(0,d.H)(r,f);return(0,c.j)(()=>h)}},4610:(Ie,B,a)=>{"use strict";a.d(B,{j:()=>h});var n=a(34),c=a(8180),d=a(7538),g=a(975),r=a(9769),f=a(4829);function h(u,v){return v?b=>(0,n.z)(v.pipe((0,c.q)(1),(0,d.l)()),b.pipe(h(u))):(0,r.z)((b,p)=>(0,f.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(f,h=n.y){return f=f??r,(0,c.e)((u,v)=>{let b,p=!0;u.subscribe((0,d.x)(v,_=>{const l=h(_);(p||!f(b,l))&&(p=!1,b=l,v.next(_))}))})}function r(f,h){return f===h}},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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>g.call(r,v,u++)&&h.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:()=>h});var n=a(6973),c=a(2181),d=a(8180),g=a(3572),r=a(3026),f=a(2737);function h(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):f.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,f)=>{r.subscribe((0,c.x)(f,d.Z))})}},2032:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>h});var n=a(6973),c=a(2181),d=a(4418),g=a(3026),r=a(3572),f=a(2737);function h(u,v){const b=arguments.length>=2;return p=>p.pipe(u?(0,c.h)((_,l)=>u(_,l,p)):f.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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>{h.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,f,h,u,v,b,p,_){const l=[];let y=0,x=0,D=!1;const S=()=>{D&&!l.length&&!y&&f.complete()},E=X=>y{b&&f.next(X),y++;let $=!1;(0,n.Xf)(h(X,x++)).subscribe((0,d.x)(f,ee=>{v?.(ee),b?E(ee):f.next(ee)},()=>{$=!0},void 0,()=>{if($)try{for(y--;l.length&&yI(ee)):I(ee)}S()}catch(ee){f.error(ee)}}))};return r.subscribe((0,d.x)(f,E,()=>{D=!0,S()})),()=>{_?.()}}},9769:(Ie,B,a)=>{"use strict";a.d(B,{z:()=>f});var n=a(7398),c=a(4829),d=a(9360),g=a(564),r=a(4674);function f(h,u,v=1/0){return(0,r.m)(u)?f((b,p)=>(0,n.U)((_,l)=>u(b,_,p,l))((0,c.Xf)(h(b,p))),v):("number"==typeof u&&(v=u),(0,d.e)((b,p)=>(0,g.p)(b,p,h,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,f=0){return(0,c.e)((h,u)=>{h.subscribe((0,d.x)(u,v=>(0,n.f)(u,r,()=>u.next(v),f),()=>(0,n.f)(u,r,()=>u.complete(),f),v=>(0,n.f)(u,r,()=>u.error(v),f)))})}},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 f=null;g._refCount++;const h=(0,c.x)(r,void 0,void 0,void 0,()=>{if(!g||g._refCount<=0||0<--g._refCount)return void(f=null);const u=g._connection,v=f;f=null,u&&(!v||u===v)&&u.unsubscribe(),r.unsubscribe()});g.subscribe(h),h.closed||(f=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,f,h){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),f&&v.next(p)},h&&(()=>{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(h={}){const{connector:u=(()=>new c.x),resetOnError:v=!0,resetOnComplete:b=!0,resetOnRefCountZero:p=!0}=h;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=f($,p))}),A.subscribe(ie),!l&&D>0&&(l=new d.Hp({next:U=>A.next(U),error:U=>{E=!0,I(),y=f(X,v,U),A.error(U)},complete:()=>{S=!0,I(),y=f(X,b),A.complete()}}),(0,n.Xf)(ee).subscribe(l))})(_)}}function f(h,u,...v){if(!0===u)return void h();if(!1===u)return;const b=new d.Hp({next:()=>{b.unsubscribe(),h()}});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,f){let h,u=!1;return g&&"object"==typeof g?({bufferSize:h=1/0,windowTime:r=1/0,refCount:u=!1,scheduler:f}=g):h=g??1/0,(0,c.B)({connector:()=>new n.t(h,r,f),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 f=(0,c.yG)(r);return(0,d.e)((h,u)=>{(f?(0,n.z)(r,h,f):(0,n.z)(r,h)).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,f)=>{f.add(d.schedule(()=>r.subscribe(f),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,f){return(0,c.e)((h,u)=>{let v=null,b=0,p=!1;const _=()=>p&&!v&&u.complete();h.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(f?f(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)((f,h)=>{let u=0;f.subscribe((0,d.x)(h,v=>{++u<=r&&(h.next(v),r<=u&&h.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)((f,h)=>{let u=[];f.subscribe((0,d.x)(h,v=>{u.push(v),r{for(const v of u)h.next(v);h.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(f){return(0,n.e)((h,u)=>{(0,d.Xf)(f).subscribe((0,c.x)(u,()=>u.complete(),g.Z)),!u.closed&&h.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)((f,h)=>{let u=0;f.subscribe((0,c.x)(h,v=>{const b=g(v,u++);(b||r)&&h.next(v),!b&&h.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(f,h,u){const v=(0,n.m)(f)||h||u?{next:f,error:h,complete:u}:f;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(f=r){return(0,c.e)((h,u)=>{let v=!1;h.subscribe((0,d.x)(u,b=>{v=!0,u.next(b)},()=>v?u.complete():u.error(f())))})}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),f=a(8251),h=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,h.f)(I,D,()=>{try{X.unsubscribe(),(0,g.Xf)(x({meta:S,lastValue:ee,seen:ie})).subscribe(I)}catch(Ce){I.error(Ce)}},U)};X=E.subscribe((0,f.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(h,u){super()}schedule(h,u=0){return this}}const d={setInterval(f,h,...u){const{delegate:v}=d;return v?.setInterval?v.setInterval(f,h,...u):setInterval(f,h,...u)},clearInterval(f){const{delegate:h}=d;return(h?.clearInterval||clearInterval)(f)},delegate:void 0};var g=a(9039);class r extends c{constructor(h,u){super(h,u),this.scheduler=h,this.work=u,this.pending=!1}schedule(h,u=0){var v;if(this.closed)return this;this.state=h;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(h,u,v=0){return d.setInterval(h.flush.bind(h,this),v)}recycleAsyncId(h,u,v=0){if(null!=v&&this.delay===v&&!1===this.pending)return u;null!=u&&d.clearInterval(u)}execute(h,u){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const v=this._execute(h,u);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(h,u){let b,v=!1;try{this.work(h)}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:h,scheduler:u}=this,{actions:v}=u;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.P)(v,this),null!=h&&(this.id=this.recycleAsyncId(u,h,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,f=c.now){this.schedulerActionCtor=r,this.now=f}schedule(r,f=0,h){return new this.schedulerActionCtor(this,r).schedule(h,f)}}c.now=n.l.now;class d extends c{constructor(r,f=c.now){super(r,f),this.actions=[],this._active=!1}flush(r){const{actions:f}=this;if(this._active)return void f.push(r);let h;this._active=!0;do{if(h=r.execute(r.state,r.delay))break}while(r=f.shift());if(this._active=!1,h){for(;r=f.shift();)r.unsubscribe();throw h}}}},927:(Ie,B,a)=>{"use strict";a.d(B,{Z:()=>h});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 h=new class f 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 f={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}=f,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:()=>f,jO:()=>g,yG:()=>r});var n=a(4674),c=a(671);function d(h){return h[h.length-1]}function g(h){return(0,n.m)(d(h))?h.pop():void 0}function r(h){return(0,c.K)(d(h))?h.pop():void 0}function f(h,u){return"number"==typeof d(h)?h.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(h){if(1===h.length){const u=h[0];if(n(u))return{args:u,keys:null};if(function f(h){return h&&"object"==typeof h&&c(h)===d}(u)){const v=g(u);return{args:v.map(b=>u[b]),keys:v}}}return{args:h,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,f)=>(g[r]=d[f],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 f=!c;if(f&&(c={errorThrown:!1,error:null}),r(),f){const{errorThrown:h,error:u}=c;if(c=null,h)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,f=!1){const h=d.schedule(function(){g(),f?c.add(this.schedule(null,r)):this.unsubscribe()},r);if(c.add(h),!f)return h}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 h=r.getReader();try{for(;;){const{value:u,done:v}=yield(0,n.__await)(h.read());if(v)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(u)}}finally{h.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(f){try{return g(f,this)}catch(h){this.error(h)}});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)(f=>function d(r,f){return c(f)?r(...f):r(f)}(r,f))}},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(f){return g.reduce((h,u)=>u(h),f)}}},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:()=>h,bufferCount:()=>v,bufferTime:()=>y,bufferToggle:()=>x,bufferWhen:()=>D,catchError:()=>S.K,combineAll:()=>de,combineLatest:()=>W,combineLatestAll:()=>Ae,combineLatestWith:()=>pe,concat:()=>Be,concatAll:()=>we.u,concatMap:()=>G.b,concatMapTo:()=>ae,concatWith:()=>ve,connect:()=>tt,count:()=>Ct,debounce:()=>Nt,debounceTime:()=>_t.b,defaultIfEmpty:()=>Bt.d,delay:()=>Tt.g,delayWhen:()=>Lt.j,dematerialize:()=>Y,distinct:()=>ne,distinctUntilChanged:()=>K.x,distinctUntilKeyChanged:()=>ce,elementAt:()=>Pe,endWith:()=>Pt,every:()=>Ft,exhaust:()=>he,exhaustAll:()=>Ke,exhaustMap:()=>Oe,expand:()=>ct,filter:()=>Dt.h,finalize:()=>Me.x,find:()=>Ye,findIndex:()=>F,first:()=>V.P,flatMap:()=>on,groupBy:()=>Q,ignoreElements:()=>be.l,isEmpty:()=>dt,last:()=>Rt.Z,map:()=>Gt.U,mapTo:()=>qe.h,materialize:()=>nt,max:()=>Ve,merge:()=>At,mergeAll:()=>yt.J,mergeMap:()=>ee.z,mergeMapTo:()=>xn,mergeScan:()=>Sn,mergeWith:()=>_n,min:()=>Mn,multicast:()=>fi,observeOn:()=>Vi.Q,onErrorResumeNext:()=>bt,pairwise:()=>pt,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:()=>Mt,scan:()=>jt.R,sequenceEqual:()=>ke,share:()=>me.B,shareReplay:()=>se.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:()=>ut.q,takeLast:()=>Cn.h,takeUntil:()=>tn.R,takeWhile:()=>En.o,tap:()=>ei.b,throttle:()=>Ei,throttleTime:()=>tr,throwIfEmpty:()=>_e.T,timeInterval:()=>Ai,timeout:()=>yi.V,timeoutWith:()=>Ot,timestamp:()=>te,toArray:()=>Ce,window:()=>Ne,windowCount:()=>ot,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),f=a(4829);function h(wt){return(0,d.e)((vt,gt)=>{let St=[];return vt.subscribe((0,r.x)(gt,Ht=>St.push(Ht),()=>{gt.next(St),gt.complete()})),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{const Ht=St;St=[],gt.next(Ht)},g.Z)),()=>{St=null}})}var u=a(9039);function v(wt,vt=null){return vt=vt??wt,(0,d.e)((gt,St)=>{let Ht=[],Yt=0;gt.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 gt,St;const Ht=null!==(gt=(0,_.yG)(vt))&&void 0!==gt?gt: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)((gt,St)=>{const Ht=[];(0,f.Xf)(wt).subscribe((0,r.x)(St,Yt=>{const Jt=[];Ht.push(Jt);const yn=new b.w0;yn.add((0,f.Xf)(vt(Yt)).subscribe((0,r.x)(St,()=>{(0,u.P)(Ht,Jt),St.next(Jt),yn.unsubscribe()},g.Z)))},g.Z)),gt.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,gt)=>{let St=null,Ht=null;const Yt=()=>{Ht?.unsubscribe();const Jt=St;St=[],Jt&>.next(Jt),(0,f.Xf)(wt()).subscribe(Ht=(0,r.x)(gt,Yt,g.Z))};Yt(),vt.subscribe((0,r.x)(gt,Jt=>St?.push(Jt),()=>{St&>.next(St),gt.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 Ce(){return(0,d.e)((wt,vt)=>{A(U,[])(wt).subscribe(vt)})}function Re(wt,vt){return(0,$.z)(Ce(),(0,ee.z)(gt=>wt(gt)),vt?(0,X.Z)(vt):I.y)}function Ae(wt){return Re(E.a,wt)}const de=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)((gt,St)=>{(0,E.l)([gt,...(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)((gt,St)=>{(0,we.u)()((0,Ee.D)([gt,...wt],vt)).subscribe(St)})}var G=a(6328),re=a(4674);function ae(wt,vt){return(0,re.m)(vt)?(0,G.b)(()=>wt,vt):(0,G.b)(()=>wt)}function ve(...wt){return Be(...wt)}var He=a(8645),Ze=a(5592);const Ge={connector:()=>new He.x};function tt(wt,vt=Ge){const{connector:gt}=vt;return(0,d.e)((St,Ht)=>{const Yt=gt();(0,f.Xf)(wt(function Qe(wt){return new Ze.y(vt=>wt.subscribe(vt))}(Yt))).subscribe(Ht),Ht.add(St.subscribe(Yt))})}function Ct(wt){return A((vt,gt,St)=>!wt||wt(gt,St)?vt+1:vt,0)}function Nt(wt){return(0,d.e)((vt,gt)=>{let St=!1,Ht=null,Yt=null;const Jt=()=>{if(Yt?.unsubscribe(),Yt=null,St){St=!1;const yn=Ht;Ht=null,gt.next(yn)}};vt.subscribe((0,r.x)(gt,yn=>{Yt?.unsubscribe(),St=!0,Ht=yn,Yt=(0,r.x)(gt,Jt,g.Z),(0,f.Xf)(wt(yn)).subscribe(Yt)},()=>{Jt(),gt.complete()},void 0,()=>{Ht=Yt=null}))})}var _t=a(3620),Bt=a(3572),Tt=a(7547),Lt=a(4610),Le=a(6232),lt=a(2096),ze=a(8504);class N{constructor(vt,gt,St){this.kind=vt,this.value=gt,this.error=St,this.hasValue="N"===vt}observe(vt){return oe(this,vt)}do(vt,gt,St){const{kind:Ht,value:Yt,error:Jt}=this;return"N"===Ht?vt?.(Yt):"E"===Ht?gt?.(Jt):St?.()}accept(vt,gt,St){var Ht;return(0,re.m)(null===(Ht=vt)||void 0===Ht?void 0:Ht.next)?this.observe(vt):this.do(vt,gt,St)}toObservable(){const{kind:vt,value:gt,error:St}=this,Ht="N"===vt?(0,lt.of)(gt):"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 gt,St,Ht;const{kind:Yt,value:Jt,error:yn}=wt;if("string"!=typeof Yt)throw new TypeError('Invalid notification, missing "kind"');"N"===Yt?null===(gt=vt.next)||void 0===gt||gt.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,gt=>oe(gt,vt)))})}function ne(wt,vt){return(0,d.e)((gt,St)=>{const Ht=new Set;gt.subscribe((0,r.x)(St,Yt=>{const Jt=wt?wt(Yt):Yt;Ht.has(Jt)||(Ht.add(Jt),St.next(Yt))})),vt&&(0,f.Xf)(vt).subscribe((0,r.x)(St,()=>Ht.clear(),g.Z))})}N.completeNotification=new N("C");var K=a(3997);function ce(wt,vt){return(0,K.x)((gt,St)=>vt?vt(gt[wt],St[wt]):gt[wt]===St[wt])}var Te=a(2306);const et=(0,Te.d)(wt=>function(){wt(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"});var Dt=a(2181),_e=a(3026),ut=a(8180);function Pe(wt,vt){if(wt<0)throw new et;const gt=arguments.length>=2;return St=>St.pipe((0,Dt.h)((Ht,Yt)=>Yt===wt),(0,ut.q)(1),gt?(0,Bt.d)(vt):(0,_e.T)(()=>new et))}var mt=a(34);function Pt(...wt){return vt=>(0,mt.z)(vt,(0,lt.of)(...wt))}function Ft(wt,vt){return(0,d.e)((gt,St)=>{let Ht=0;gt.subscribe((0,r.x)(St,Yt=>{wt.call(vt,Yt,Ht++,gt)||(St.next(!1),St.complete())},()=>{St.next(!0),St.complete()}))})}var Gt=a(7398);function Oe(wt,vt){return vt?gt=>gt.pipe(Oe((St,Ht)=>(0,f.Xf)(wt(St,Ht)).pipe((0,Gt.U)((Yt,Jt)=>vt(St,Yt,Ht,Jt))))):(0,d.e)((gt,St)=>{let Ht=0,Yt=null,Jt=!1;gt.subscribe((0,r.x)(St,yn=>{Yt||(Yt=(0,r.x)(St,void 0,()=>{Yt=null,Jt&&St.complete()}),(0,f.Xf)(wt(yn,Ht++)).subscribe(Yt))},()=>{Jt=!0,!Yt&&St.complete()}))})}function Ke(){return Oe(I.y)}const he=Ke;var ge=a(564);function ct(wt,vt=1/0,gt){return vt=(vt||0)<1?1/0:vt,(0,d.e)((St,Ht)=>(0,ge.p)(St,Ht,wt,vt,void 0,!0,gt))}var Me=a(4716);function Ye(wt,vt){return(0,d.e)(De(wt,vt,"value"))}function De(wt,vt,gt){const St="index"===gt;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 Q(wt,vt,gt,St){return(0,d.e)((Ht,Yt)=>{let Jt;vt&&"function"!=typeof vt?({duration:gt,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),gt){const Zi=(0,r.x)(oi,()=>{oi.complete(),Zi?.unsubscribe()},void 0,void 0,()=>yn.delete(ni));ui.add((0,f.Xf)(gt(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 be=a(7538);function dt(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,()=>{vt.next(!1),vt.complete()},()=>{vt.next(!0),vt.complete()}))})}var Rt=a(2032),qe=a(975);function nt(){return(0,d.e)((wt,vt)=>{wt.subscribe((0,r.x)(vt,gt=>{vt.next(N.createNext(gt))},()=>{vt.next(N.createComplete()),vt.complete()},gt=>{vt.next(N.createError(gt)),vt.complete()}))})}function Ve(wt){return A((0,re.m)(wt)?(vt,gt)=>wt(vt,gt)>0?vt:gt:(vt,gt)=>vt>gt?vt:gt)}var yt=a(7537);function At(...wt){const vt=(0,_.yG)(wt),gt=(0,_._6)(wt,1/0);return wt=(0,H.k)(wt),(0,d.e)((St,Ht)=>{(0,yt.J)(gt)((0,Ee.D)([St,...wt],vt)).subscribe(Ht)})}const on=ee.z;function xn(wt,vt,gt=1/0){return(0,re.m)(vt)?(0,ee.z)(()=>wt,vt,gt):("number"==typeof vt&&(gt=vt),(0,ee.z)(()=>wt,gt))}function Sn(wt,vt,gt=1/0){return(0,d.e)((St,Ht)=>{let Yt=vt;return(0,ge.p)(St,Ht,(Jt,yn)=>wt(Yt,Jt,yn),gt,Jt=>{Yt=Jt},!1,void 0,()=>Yt=null)})}function _n(...wt){return At(...wt)}function Mn(wt){return A((0,re.m)(wt)?(vt,gt)=>wt(vt,gt)<0?vt:gt:(vt,gt)=>vtwt;return(0,re.m)(vt)?tt(vt,{connector:gt}):St=>new xi.c(St,gt)}var Vi=a(3093);const bt=function xt(...wt){const vt=(0,H.k)(wt);return gt=>function Yi(...wt){const vt=(0,H.k)(wt);return new Ze.y(gt=>{let St=0;const Ht=()=>{if(St{let gt,St=!1;wt.subscribe((0,r.x)(vt,Ht=>{const Yt=gt;gt=Ht,St&&vt.next([Yt,Ht]),St=!0}))})}function qt(wt,vt){return(gt,St)=>!wt.call(vt,gt,St)}function nn(wt,vt){return gt=>[(0,Dt.h)(wt,vt)(gt),(0,Dt.h)(qt(wt,vt))(gt)]}function cn(...wt){const vt=wt.length;if(0===vt)throw new Error("list of properties cannot be empty.");return(0,Gt.U)(gt=>{let St=gt;for(let Ht=0;Httt(wt)(vt):vt=>fi(new He.x)(vt)}var Nn=a(5619);function wn(wt){return vt=>{const gt=new Nn.X(wt);return new xi.c(vt,()=>gt)}}class Xn extends He.x{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(vt){const{hasError:gt,_hasValue:St,_value:Ht,thrownError:Yt,isStopped:Jt,_isComplete:yn}=this;gt?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:gt,_isComplete:St}=this;St||(this._isComplete=!0,vt&&super.next(gt),super.complete())}}function _i(){return wt=>{const vt=new Xn;return new xi.c(wt,()=>vt)}}var $n=a(7328);function ti(wt,vt,gt,St){gt&&!(0,re.m)(gt)&&(St=gt);const Ht=(0,re.m)(gt)?gt: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,gt)=>{(0,an.R)([vt,...wt])(gt)}):I.y}function Tn(...wt){return mn(...(0,H.k)(wt))}var Rn=a(9080);function Wn(wt){let gt,vt=1/0;return null!=wt&&("object"==typeof wt?({count:vt=1/0,delay:gt}=wt):vt=wt),vt<=0?()=>Le.E:(0,d.e)((St,Ht)=>{let Jt,Yt=0;const yn=()=>{if(Jt?.unsubscribe(),Jt=null,null!=gt){const Vn="number"==typeof gt?(0,Rn.H)(gt):(0,f.Xf)(gt(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&&(gt.complete(),!0),On=()=>{yn=!1,St=vt.subscribe((0,r.x)(gt,void 0,()=>{yn=!0,!vn()&&(Yt||(Yt=new He.x,(0,f.Xf)(wt(Yt)).subscribe((0,r.x)(gt,()=>{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:gt=1/0,delay:St,resetOnSuccess:Ht=!1}=vt;return gt<=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,f.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,gt)=>{let St,Yt,Ht=!1;const Jt=()=>{St=vt.subscribe((0,r.x)(gt,void 0,void 0,yn=>{Yt||(Yt=new He.x,(0,f.Xf)(wt(Yt)).subscribe((0,r.x)(gt,()=>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,gt)=>{let St=!1,Ht=null;vt.subscribe((0,r.x)(gt,Yt=>{St=!0,Ht=Yt})),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{if(St){St=!1;const Yt=Ht;Ht=null,gt.next(Yt)}},g.Z))})}function Mt(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=((gt,St)=>gt===St)){return(0,d.e)((gt,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};gt.subscribe(yn(Ht,Yt)),(0,f.Xf)(wt).subscribe(yn(Yt,Ht))})}var me=a(3020),se=a(7081),Xe=a(6973);const kt=(0,Te.d)(wt=>function(gt){wt(this),this.name="SequenceError",this.message=gt}),Wt=(0,Te.d)(wt=>function(gt){wt(this),this.name="NotFoundError",this.message=gt});function un(wt){return(0,d.e)((vt,gt)=>{let Ht,St=!1,Yt=!1,Jt=0;vt.subscribe((0,r.x)(gt,yn=>{Yt=!0,(!wt||wt(yn,Jt++,vt))&&(St&>.error(new kt("Too many matching values")),St=!0,Ht=yn)},()=>{St?(gt.next(Ht),gt.complete()):gt.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,gt)=>{let St=new Array(wt),Ht=0;return vt.subscribe((0,r.x)(gt,Yt=>{const Jt=Ht++;if(Jt{St=null}})}function si(wt){return(0,d.e)((vt,gt)=>{let St=!1;const Ht=(0,r.x)(gt,()=>{Ht?.unsubscribe(),St=!0},g.Z);(0,f.Xf)(wt).subscribe(Ht),vt.subscribe((0,r.x)(gt,Yt=>St&>.next(Yt)))})}function jn(wt){return(0,d.e)((vt,gt)=>{let St=!1,Ht=0;vt.subscribe((0,r.x)(gt,Yt=>(St||(St=!wt(Yt,Ht++)))&>.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)((gt,St)=>{let Ht=vt;return(0,Ti.w)((Yt,Jt)=>wt(Ht,Yt,Jt),(Yt,Jt)=>(Ht=Jt,Jt))(gt).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)((gt,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,f.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)}};gt.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,gt){const St=(0,Rn.H)(wt,vt);return Ei(()=>St,gt)}function Ai(wt=p.z){return(0,d.e)((vt,gt)=>{let St=wt.now();vt.subscribe((0,r.x)(gt,Ht=>{const Yt=wt.now(),Jt=Yt-St;St=Yt,gt.next(new ar(Ht,Jt))}))})}class ar{constructor(vt,gt){this.value=vt,this.interval=gt}}var yi=a(5178),Je=a(93);function Ot(wt,vt,gt){let St,Ht,Yt;if(gt=gt??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:gt,with:Yt})}var C=a(4552);function te(wt=C.l){return(0,Gt.U)(vt=>({value:vt,timestamp:wt.now()}))}function Ne(wt){return(0,d.e)((vt,gt)=>{let St=new He.x;gt.next(St.asObservable());const Ht=Yt=>{St.error(Yt),gt.error(Yt)};return vt.subscribe((0,r.x)(gt,Yt=>St?.next(Yt),()=>{St.complete(),gt.complete()},Ht)),(0,f.Xf)(wt).subscribe((0,r.x)(gt,()=>{St.complete(),gt.next(St=new He.x)},g.Z,Ht)),()=>{St?.unsubscribe(),St=null}})}function ot(wt,vt=0){const gt=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%gt==0&&Yt.shift().complete(),++yn%gt==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 gt,St;const Ht=null!==(gt=(0,_.yG)(vt))&&void 0!==gt?gt: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)((gt,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,f.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)),gt.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),gt.error(yn)},Jt=()=>{let yn;Ht?.unsubscribe(),St?.complete(),St=new He.x,gt.next(St.asObservable());try{yn=(0,f.Xf)(wt())}catch(vn){return void Yt(vn)}yn.subscribe(Ht=(0,r.x)(gt,Jt,Jt,Yt))};Jt(),vt.subscribe((0,r.x)(gt,yn=>St.next(yn),()=>{St.complete(),gt.complete()},Yt,()=>{Ht?.unsubscribe(),St=null}))})}function Pi(...wt){const vt=(0,_.jO)(wt);return(0,d.e)((gt,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));gt.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,gt)=>{(0,Li.$)(vt,...wt).subscribe(gt)})}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:()=>_t,validate:()=>f,version:()=>Lt});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,f=function r(Le){return"string"==typeof Le&&g.test(Le)},h=[];for(let Le=0;Le<256;++Le)h.push((Le+256).toString(16).slice(1));function u(Le,lt=0){return(h[Le[lt+0]]+h[Le[lt+1]]+h[Le[lt+2]]+h[Le[lt+3]]+"-"+h[Le[lt+4]]+h[Le[lt+5]]+"-"+h[Le[lt+6]]+h[Le[lt+7]]+"-"+h[Le[lt+8]]+h[Le[lt+9]]+"-"+h[Le[lt+10]]+h[Le[lt+11]]+h[Le[lt+12]]+h[Le[lt+13]]+h[Le[lt+14]]+h[Le[lt+15]]).toLowerCase()}const b=function v(Le,lt=0){const ze=u(Le,lt);if(!f(ze))throw TypeError("Stringified UUID is invalid");return ze};let p,_,l=0,y=0;const D=function x(Le,lt,ze){let at=lt&&ze||0;const N=lt||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(),K=void 0!==Le.nsecs?Le.nsecs:y+1;const ce=ne-l+(K-y)/1e4;if(ce<0&&void 0===Le.clockseq&&(Y=Y+1&16383),(ce<0||ne>l)&&void 0===Le.nsecs&&(K=0),K>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=ne,y=K,_=Y,ne+=122192928e5;const Te=(1e4*(268435455&ne)+K)%4294967296;N[at++]=Te>>>24&255,N[at++]=Te>>>16&255,N[at++]=Te>>>8&255,N[at++]=255&Te;const et=ne/4294967296*1e4&268435455;N[at++]=et>>>8&255,N[at++]=255&et,N[at++]=et>>>24&15|16,N[at++]=et>>>16&255,N[at++]=Y>>>8|128,N[at++]=255&Y;for(let Dt=0;Dt<6;++Dt)N[at+Dt]=oe[Dt];return lt||u(N)},E=function S(Le){if(!f(Le))throw TypeError("Invalid UUID");let lt;const ze=new Uint8Array(16);return ze[0]=(lt=parseInt(Le.slice(0,8),16))>>>24,ze[1]=lt>>>16&255,ze[2]=lt>>>8&255,ze[3]=255<,ze[4]=(lt=parseInt(Le.slice(9,13),16))>>>8,ze[5]=255<,ze[6]=(lt=parseInt(Le.slice(14,18),16))>>>8,ze[7]=255<,ze[8]=(lt=parseInt(Le.slice(19,23),16))>>>8,ze[9]=255<,ze[10]=(lt=parseInt(Le.slice(24,36),16))/1099511627776&255,ze[11]=lt/4294967296&255,ze[12]=lt>>>24&255,ze[13]=lt>>>16&255,ze[14]=lt>>>8&255,ze[15]=255<,ze};function ee(Le,lt,ze){function at(N,oe,Y,ne){var K;if("string"==typeof N&&(N=function I(Le){Le=unescape(encodeURIComponent(Le));const lt=[];for(let ze=0;ze>>9<<4)+1}function Ae(Le,lt){const ze=(65535&Le)+(65535<);return(Le>>16)+(lt>>16)+(ze>>16)<<16|65535&ze}function H(Le,lt,ze,at,N,oe){return Ae(function de(Le,lt){return Le<>>32-lt}(Ae(Ae(lt,Le),Ae(at,oe)),N),ze)}function W(Le,lt,ze,at,N,oe,Y){return H(lt&ze|~lt&at,Le,lt,N,oe,Y)}function pe(Le,lt,ze,at,N,oe,Y){return H(lt&at|ze&~at,Le,lt,N,oe,Y)}function we(Le,lt,ze,at,N,oe,Y){return H(lt^ze^at,Le,lt,N,oe,Y)}function Ee(Le,lt,ze,at,N,oe,Y){return H(ze^(lt|~at),Le,lt,N,oe,Y)}const re=ee("v3",48,function ie(Le){if("string"==typeof Le){const lt=unescape(encodeURIComponent(Le));Le=new Uint8Array(lt.length);for(let ze=0;ze>5]>>>N%32&255,Y=parseInt(at.charAt(oe>>>4&15)+at.charAt(15&oe),16);lt.push(Y)}return lt}(function Ce(Le,lt){Le[lt>>5]|=128<>5]|=(255&Le[at/8])<>>32-lt}const _t=ee("v5",80,function tt(Le){const lt=[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=et,et=Te,Te=Ge(ce,30)>>>0,ce=K,K=Pe}ze[0]=ze[0]+K>>>0,ze[1]=ze[1]+ce>>>0,ze[2]=ze[2]+Te>>>0,ze[3]=ze[3]+et>>>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",Lt=function Tt(Le){if(!f(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:()=>de,__classPrivateFieldIn:()=>W,__classPrivateFieldSet:()=>H,__createBinding:()=>y,__decorate:()=>r,__disposeResources:()=>Ee,__esDecorate:()=>h,__exportStar:()=>x,__extends:()=>c,__generator:()=>l,__importDefault:()=>Ae,__importStar:()=>Re,__makeTemplateObject:()=>U,__metadata:()=>p,__param:()=>f,__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(ae,ve){ae.__proto__=ve}||function(ae,ve){for(var He in ve)Object.prototype.hasOwnProperty.call(ve,He)&&(ae[He]=ve[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 ae(){this.constructor=G}n(G,re),G.prototype=null===re?Object.create(re):(ae.prototype=re.prototype,new ae)}var d=function(){return d=Object.assign||function(re){for(var ae,ve=1,He=arguments.length;ve=0;Ge--)(Qe=G[Ge])&&(Ze=(He<3?Qe(Ze):He>3?Qe(re,ae,Ze):Qe(re,ae))||Ze);return He>3&&Ze&&Object.defineProperty(re,ae,Ze),Ze}function f(G,re){return function(ae,ve){re(ae,ve,G)}}function h(G,re,ae,ve,He,Ze){function Qe(ze){if(void 0!==ze&&"function"!=typeof ze)throw new TypeError("Function expected");return ze}for(var _t,Ge=ve.kind,tt="getter"===Ge?"get":"setter"===Ge?"set":"value",Ct=!re&&G?ve.static?G:G.prototype:null,Nt=re||(Ct?Object.getOwnPropertyDescriptor(Ct,ve.name):{}),Bt=!1,Tt=ae.length-1;Tt>=0;Tt--){var Lt={};for(var Le in ve)Lt[Le]="access"===Le?{}:ve[Le];for(var Le in ve.access)Lt.access[Le]=ve.access[Le];Lt.addInitializer=function(ze){if(Bt)throw new TypeError("Cannot add initializers after decoration has completed");Ze.push(Qe(ze||null))};var lt=(0,ae[Tt])("accessor"===Ge?{get:Nt.get,set:Nt.set}:Nt[tt],Lt);if("accessor"===Ge){if(void 0===lt)continue;if(null===lt||"object"!=typeof lt)throw new TypeError("Object expected");(_t=Qe(lt.get))&&(Nt.get=_t),(_t=Qe(lt.set))&&(Nt.set=_t),(_t=Qe(lt.init))&&He.unshift(_t)}else(_t=Qe(lt))&&("field"===Ge?He.unshift(_t):Nt[tt]=_t)}Ct&&Object.defineProperty(Ct,ve.name,Nt),Bt=!0}function u(G,re,ae){for(var ve=arguments.length>2,He=0;He0&&Ze[Ze.length-1])&&(6===Ct[0]||2===Ct[0])){ae=0;continue}if(3===Ct[0]&&(!Ze||Ct[1]>Ze[0]&&Ct[1]=G.length&&(G=void 0),{value:G&&G[ve++],done:!G}}};throw new TypeError(re?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(G,re){var ae="function"==typeof Symbol&&G[Symbol.iterator];if(!ae)return G;var He,Qe,ve=ae.call(G),Ze=[];try{for(;(void 0===re||re-- >0)&&!(He=ve.next()).done;)Ze.push(He.value)}catch(Ge){Qe={error:Ge}}finally{try{He&&!He.done&&(ae=ve.return)&&ae.call(ve)}finally{if(Qe)throw Qe.error}}return Ze}function E(){for(var G=[],re=0;re1||Ge(Bt,Tt)})})}function Ge(Bt,Tt){try{!function tt(Bt){Bt.value instanceof $?Promise.resolve(Bt.value.v).then(Ct,Nt):_t(Ze[0][2],Bt)}(ve[Bt](Tt))}catch(Lt){_t(Ze[0][3],Lt)}}function Ct(Bt){Ge("next",Bt)}function Nt(Bt){Ge("throw",Bt)}function _t(Bt,Tt){Bt(Tt),Ze.shift(),Ze.length&&Ge(Ze[0][0],Ze[0][1])}}function ie(G){var re,ae;return re={},ve("next"),ve("throw",function(He){throw He}),ve("return"),re[Symbol.iterator]=function(){return this},re;function ve(He,Ze){re[He]=G[He]?function(Qe){return(ae=!ae)?{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 ae,re=G[Symbol.asyncIterator];return re?re.call(G):(G=D(G),ae={},ve("next"),ve("throw"),ve("return"),ae[Symbol.asyncIterator]=function(){return this},ae);function ve(Ze){ae[Ze]=G[Ze]&&function(Qe){return new Promise(function(Ge,tt){!function He(Ze,Qe,Ge,tt){Promise.resolve(tt).then(function(Ct){Ze({value:Ct,done:Ge})},Qe)}(Ge,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 Ce=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 ae in G)"default"!==ae&&Object.prototype.hasOwnProperty.call(G,ae)&&y(re,G,ae);return Ce(re,G),re}function Ae(G){return G&&G.__esModule?G:{default:G}}function de(G,re,ae,ve){if("a"===ae&&!ve)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof re?G!==re||!ve:!re.has(G))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===ae?ve:"a"===ae?ve.call(G):ve?ve.value:re.get(G)}function H(G,re,ae,ve,He){if("m"===ve)throw new TypeError("Private method is not writable");if("a"===ve&&!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"===ve?He.call(G,ae):He?He.value=ae:re.set(G,ae),ae}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,ae){if(null!=re){if("object"!=typeof re&&"function"!=typeof re)throw new TypeError("Object expected.");var ve;if(ae){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");ve=re[Symbol.asyncDispose]}if(void 0===ve){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");ve=re[Symbol.dispose]}if("function"!=typeof ve)throw new TypeError("Object not disposable.");G.stack.push({value:re,dispose:ve,async:ae})}else ae&&G.stack.push({async:!0});return re}var we="function"==typeof SuppressedError?SuppressedError:function(G,re,ae){var ve=new Error(ae);return ve.name="SuppressedError",ve.error=G,ve.suppressed=re,ve};function Ee(G){function re(ve){G.error=G.hasError?new we(ve,G.error,"An error was suppressed during disposal."):ve,G.hasError=!0}return function ae(){for(;G.stack.length;){var ve=G.stack.pop();try{var He=ve.dispose&&ve.dispose.call(ve.value);if(ve.async)return Promise.resolve(He).then(ae,function(Ze){return re(Ze),ae()})}catch(Ze){re(Ze)}}if(G.hasError)throw G.error}()}const Be={__extends:c,__assign:d,__rest:g,__decorate:r,__param:f,__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:de,__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 Q=F[V],be=typeof Q;("object"===be||"function"===be)&&!Object.isFrozen(Q)&&B(Q)}),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 Q=Object.create(null);for(const be in F)Q[be]=F[be];return V.forEach(function(be){for(const dt in be)Q[dt]=be[dt]}),Q}const g=F=>!!F.scope;class f{constructor(V,Q){this.buffer="",this.classPrefix=Q.classPrefix,V.walk(this)}addText(V){this.buffer+=n(V)}openNode(V){if(!g(V))return;const Q=((F,{prefix:V})=>{if(F.startsWith("language:"))return F.replace("language:","language-");if(F.includes(".")){const Q=F.split(".");return[`${V}${Q.shift()}`,...Q.map((be,dt)=>`${be}${"_".repeat(dt+1)}`)].join(" ")}return`${V}${F}`})(V.scope,{prefix:this.classPrefix});this.span(Q)}closeNode(V){g(V)&&(this.buffer+="")}value(){return this.buffer}span(V){this.buffer+=``}}const h=(F={})=>{const V={children:[]};return Object.assign(V,F),V};class u{constructor(){this.rootNode=h(),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 Q=h({scope:V});this.add(Q),this.stack.push(Q)}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,Q){return"string"==typeof Q?V.addText(Q):Q.children&&(V.openNode(Q),Q.children.forEach(be=>this._walk(V,be)),V.closeNode(Q)),V}static _collapse(V){"string"!=typeof V&&V.children&&(V.children.every(Q=>"string"==typeof Q)?V.children=[V.children.join("")]:V.children.forEach(Q=>{u._collapse(Q)}))}}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,Q){const be=V.root;Q&&(be.scope=`language:${Q}`),this.add(be)}toHTML(){return new f(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(Q=>b(Q)).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(be=>b(be)).join("|")+")"}function S(F){return new RegExp(F.toString()+"|").exec("").length-1}const I=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function X(F,{joinWith:V}){let Q=0;return F.map(be=>{Q+=1;const dt=Q;let Rt=b(be),qe="";for(;Rt.length>0;){const nt=I.exec(Rt);if(!nt){qe+=Rt;break}qe+=Rt.substring(0,nt.index),Rt=Rt.substring(nt.index+nt[0].length),"\\"===nt[0][0]&&nt[1]?qe+="\\"+String(Number(nt[1])+dt):(qe+=nt[0],"("===nt[0]&&Q++)}return qe}).map(be=>`(${be})`).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+)?)",Ce="\\b(0b[01]+)",de={begin:"\\\\[\\s\\S]",relevance:0},H={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[de]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[de]},we=function(F,V,Q={}){const be=c({scope:"comment",begin:F,end:V,contains:[]},Q);be.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 dt=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 be.contains.push({begin:y(/[ ]+/,"(",dt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),be},Ee=we("//","$"),Be=we("/\\*","\\*/"),G=we("#","$");var Ct=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:Ce,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":(Q,be)=>{0!==Q.index&&be.ignoreMatch()}},F)},BACKSLASH_ESCAPE:de,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:Ce,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[de,{begin:/\[/,end:/\]/,relevance:0,contains:[de]}]}]},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,Q)=>{Q.data._beginMatch=V[1]},"on:end":(V,Q)=>{Q.data._beginMatch!==V[1]&&Q.ignoreMatch()}})}});function Nt(F,V){"."===F.input[F.index-1]&&V.ignoreMatch()}function _t(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=Nt,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 Lt(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 lt=(F,V)=>{if(!F.beforeMatch)return;if(F.starts)throw new Error("beforeMatch cannot be used with starts");const Q=Object.assign({},F);Object.keys(F).forEach(be=>{delete F[be]}),F.keywords=Q.keywords,F.begin=y(Q.beforeMatch,p(Q.begin)),F.starts={relevance:0,contains:[Object.assign(Q,{endsParent:!0})]},F.relevance=0,delete Q.beforeMatch},ze=["of","and","for","in","not","or","if","then","parent","list","value"],at="keyword";function N(F,V,Q=at){const be=Object.create(null);return"string"==typeof F?dt(Q,F.split(" ")):Array.isArray(F)?dt(Q,F):Object.keys(F).forEach(function(Rt){Object.assign(be,N(F[Rt],V,Rt))}),be;function dt(Rt,qe){V&&(qe=qe.map(nt=>nt.toLowerCase())),qe.forEach(function(nt){const Ve=nt.split("|");be[Ve[0]]=[Rt,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={},K=F=>{console.error(F)},ce=(F,...V)=>{console.log(`WARN: ${F}`,...V)},Te=(F,V)=>{ne[`${F}/${V}`]||(console.log(`Deprecated as of ${F}. ${V}`),ne[`${F}/${V}`]=!0)},et=new Error;function Dt(F,V,{key:Q}){let be=0;const dt=F[Q],Rt={},qe={};for(let nt=1;nt<=V.length;nt++)qe[nt+be]=dt[nt],Rt[nt+be]=!0,be+=S(V[nt-1]);F[Q]=qe,F[Q]._emit=Rt,F[Q]._multi=!0}function mt(F){(function Pe(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 _e(F){if(Array.isArray(F.begin)){if(F.skip||F.excludeBegin||F.returnBegin)throw K("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),et;if("object"!=typeof F.beginScope||null===F.beginScope)throw K("beginScope must be object"),et;Dt(F,F.begin,{key:"beginScope"}),F.begin=X(F.begin,{joinWith:""})}}(F),function ut(F){if(Array.isArray(F.end)){if(F.skip||F.excludeEnd||F.returnEnd)throw K("skip, excludeEnd, returnEnd not compatible with endScope: {}"),et;if("object"!=typeof F.endScope||null===F.endScope)throw K("endScope must be object"),et;Dt(F,F.end,{key:"endScope"}),F.end=X(F.end,{joinWith:""})}}(F)}function Pt(F){function V(qe,nt){return new RegExp(b(qe),"m"+(F.case_insensitive?"i":"")+(F.unicodeRegex?"u":"")+(nt?"g":""))}class Q{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(nt,Ve){Ve.position=this.position++,this.matchIndexes[this.matchAt]=Ve,this.regexes.push([Ve,nt]),this.matchAt+=S(nt)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const nt=this.regexes.map(Ve=>Ve[1]);this.matcherRe=V(X(nt,{joinWith:"|"}),!0),this.lastIndex=0}exec(nt){this.matcherRe.lastIndex=this.lastIndex;const Ve=this.matcherRe.exec(nt);if(!Ve)return null;const yt=Ve.findIndex((on,xn)=>xn>0&&void 0!==on),At=this.matchIndexes[yt];return Ve.splice(0,yt),Object.assign(Ve,At)}}class be{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(nt){if(this.multiRegexes[nt])return this.multiRegexes[nt];const Ve=new Q;return this.rules.slice(nt).forEach(([yt,At])=>Ve.addRule(yt,At)),Ve.compile(),this.multiRegexes[nt]=Ve,Ve}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(nt,Ve){this.rules.push([nt,Ve]),"begin"===Ve.type&&this.count++}exec(nt){const Ve=this.getMatcher(this.regexIndex);Ve.lastIndex=this.lastIndex;let yt=Ve.exec(nt);if(this.resumingScanAtSamePosition()&&(!yt||yt.index!==this.lastIndex)){const At=this.getMatcher(0);At.lastIndex=this.lastIndex+1,yt=At.exec(nt)}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 Rt(qe,nt){const Ve=qe;if(qe.isCompiled)return Ve;[_t,Lt,mt,lt].forEach(At=>At(qe,nt)),F.compilerExtensions.forEach(At=>At(qe,nt)),qe.__beforeBegin=null,[Bt,Tt,Le].forEach(At=>At(qe,nt)),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),nt&&(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&&nt.terminatorEnd&&(Ve.terminatorEnd+=(qe.end?"|":"")+nt.terminatorEnd)),qe.illegal&&(Ve.illegalRe=V(qe.illegal)),qe.contains||(qe.contains=[]),qe.contains=[].concat(...qe.contains.map(function(At){return function Gt(F){return F.variants&&!F.cachedVariants&&(F.cachedVariants=F.variants.map(function(V){return c(F,{variants:null},V)})),F.cachedVariants?F.cachedVariants:Ft(F)?c(F,{starts:F.starts?c(F.starts):null}):Object.isFrozen(F)?c(F):F}("self"===At?qe:At)})),qe.contains.forEach(function(At){Rt(At,Ve)}),qe.starts&&Rt(qe.starts,nt),Ve.matcher=function dt(qe){const nt=new be;return qe.contains.forEach(Ve=>nt.addRule(Ve.begin,{rule:Ve,type:"begin"})),qe.terminatorEnd&&nt.addRule(qe.terminatorEnd,{type:"end"}),qe.illegal&&nt.addRule(qe.illegal,{type:"illegal"}),nt}(Ve),Ve}(F)}function Ft(F){return!!F&&(F.endsWithParent||Ft(F.starts))}class Ke extends Error{constructor(V,Q){super(V),this.name="HTMLInjectionError",this.html=Q}}const he=n,ge=c,ct=Symbol("nomatch"),Ye=function(F){const V=Object.create(null),Q=Object.create(null),be=[];let dt=!0;const Rt="Could not find the language '{}', did you forget to load/include a language module?",qe={disableAutodetect:!0,name:"Plain text",contains:[]};let nt={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 nt.noHighlightRe.test(an)}function At(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 Mt(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 Q=F&&F.exec(V);return Q&&0===Q.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 ct;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&&Mt(En.starts,fn),ei.returnEnd?0:Cn.length}let Xe={};function kt(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),!dt){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)),Mt(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!==ct)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 K(Rt.replace("{}",an)),new Error('Unknown language: "'+an+'"');const un=Pt(Wt);let gn="",pn=Rn||un;const si={},jn=new nt.__emitter(nt);!function se(){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=kt(mn.substring(Ti,fn.index),fn);Ti=fn.index+tn}kt(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:he(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(dt)return{language:an,value:he(mn),illegal:!1,relevance:0,errorRaised:fn,_emitter:jn,_top:pn};throw fn}}function Sn(an,mn){mn=mn||nt.languages||Object.keys(V);const Tn=function xn(an){const mn={value:he(an),illegal:!1,relevance:0,_top:qe,_emitter:new nt.__emitter(nt)};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=nt.languageDetectRe.exec(mn);if(Tn){const Rn=cn(Tn[1]);return Rn||(ce(Rt.replace("{}",Tn[1])),ce("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&&(nt.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)),nt.throwUnescapedHTML))throw new Ke("One of your code blocks includes unescaped HTML.",an.innerHTML);mn=an;const Rn=mn.textContent,Wn=Tn?At(Rn,{language:Tn,ignoreIllegals:!0}):Sn(Rn);an.innerHTML=Wn.value,function _n(an,mn,Tn){const Rn=mn&&Q[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 xt(){"loading"!==document.readyState?document.querySelectorAll(nt.cssSelector).forEach(Mn):Yi=!0}function cn(an){return an=(an||"").toLowerCase(),V[an]||V[Q[an]]}function sn(an,{languageName:mn}){"string"==typeof an&&(an=[an]),an.forEach(Tn=>{Q[Tn.toLowerCase()]=mn})}function Nn(an){const mn=cn(an);return mn&&!mn.disableAutodetect}function $n(an,mn){const Tn=an;be.forEach(function(Rn){Rn[Tn]&&Rn[Tn](mn)})}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function bt(){Yi&&xt()},!1),Object.assign(F,{highlight:At,highlightAuto:Sn,highlightAll:xt,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){nt=ge(nt,an)},initHighlighting:()=>{xt(),Te("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function Vi(){xt(),Te("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function pt(an,mn){let Tn=null;try{Tn=mn(F)}catch(Rn){if(K("Language definition for '{}' could not be registered.".replace("{}",an)),!dt)throw Rn;K(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(Q))Q[mn]===an&&delete Q[mn]},listLanguages:function nn(){return Object.keys(V)},getLanguage:cn,registerAliases:sn,autoDetection:Nn,inherit:ge,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),be.push(an)},removePlugin:function _i(an){const mn=be.indexOf(an);-1!==mn&&be.splice(mn,1)}}),F.debugMode=function(){dt=!1},F.safeMode=function(){dt=!0},F.versionString="11.8.0",F.regex={concat:y,lookahead:p,either:D,optional:l,anyNumberOfTimes:_};for(const an in Ct)"object"==typeof Ct[an]&&B(Ct[an]);return Object.assign(F,Ct),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/}]},f=a.inherit(r,{begin:/\(/,end:/\)/}),h=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,h,f,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,f,u,h]}]}]},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,f,h){try{var u=n[f](h),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 f=n.apply(c,d);function h(v){B(f,g,r,h,u,"next",v)}function u(v){B(f,g,r,h,u,"throw",v)}h(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 f=r.call(d,g||"default");if("object"!==n(f))return f;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:()=>f,vP:()=>h});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 f(X,$=null){return{type:3,steps:X,options:$}}function h(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(Ce=>{Ce.onDone(()=>{++ee==U&&this._onFinish()}),Ce.onDestroy(()=>{++ie==U&&this._onDestroy()}),Ce.onStart(()=>{++A==U&&this._onStart()})}),this.totalTime=this.players.reduce((Ce,Re)=>Math.max(Ce,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:()=>mt,X6:()=>oe,Zf:()=>$,iD:()=>ee,kH:()=>Ke,mK:()=>Lt,qm:()=>Me,rt:()=>Ye,s1:()=>pe,tE:()=>Oe,yG:()=>Y});var n=a(6814),c=a(5879),d=a(2831),g=a(8645),r=a(7394),f=a(5619),h=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 Q=ie(De,F);Q.some(be=>be.trim()==V.trim())||(Q.push(V.trim()),De.setAttribute(F,Q.join(X)))}function ee(De,F,V){const be=ie(De,F).filter(dt=>dt!=V.trim());be.length?De.setAttribute(F,be.join(X)):De.removeAttribute(F)}function ie(De,F){return(De.getAttribute(F)||"").match(/\S+/g)||[]}const U="cdk-describedby-message",Ce="cdk-describedby-host";let Re=0,Ae=(()=>{class De{constructor(V,Q){this._platform=Q,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+Re++,this._document=V,this._id=(0,c.inject)(c.APP_ID)+"-"+Re++}describe(V,Q,be){if(!this._canBeDescribed(V,Q))return;const dt=de(Q,be);"string"!=typeof Q?(H(Q,this._id),this._messageRegistry.set(dt,{messageElement:Q,referenceCount:0})):this._messageRegistry.has(dt)||this._createMessageElement(Q,be),this._isElementDescribedByMessage(V,dt)||this._addMessageReference(V,dt)}removeDescription(V,Q,be){if(!Q||!this._isElementNode(V))return;const dt=de(Q,be);if(this._isElementDescribedByMessage(V,dt)&&this._removeMessageReference(V,dt),"string"==typeof Q){const Rt=this._messageRegistry.get(dt);Rt&&0===Rt.referenceCount&&this._deleteMessageElement(dt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const V=this._document.querySelectorAll(`[${Ce}="${this._id}"]`);for(let Q=0;Q0!=be.indexOf(U));V.setAttribute("aria-describedby",Q.join(" "))}_addMessageReference(V,Q){const be=this._messageRegistry.get(Q);$(V,"aria-describedby",be.messageElement.id),V.setAttribute(Ce,this._id),be.referenceCount++}_removeMessageReference(V,Q){const be=this._messageRegistry.get(Q);be.referenceCount--,ee(V,"aria-describedby",be.messageElement.id),V.removeAttribute(Ce)}_isElementDescribedByMessage(V,Q){const be=ie(V,"aria-describedby"),dt=this._messageRegistry.get(Q),Rt=dt&&dt.messageElement.id;return!!Rt&&-1!=be.indexOf(Rt)}_canBeDescribed(V,Q){if(!this._isElementNode(V))return!1;if(Q&&"object"==typeof Q)return!0;const be=null==Q?"":`${Q}`.trim(),dt=V.getAttribute("aria-label");return!(!be||dt&&dt.trim()===be)}_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 de(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 be=V.toArray().indexOf(this._activeItem);be>-1&&be!==this._activeItemIndex&&(this._activeItemIndex=be)}}))}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 Q=this._getItemsArray();for(let be=1;be!F[dt]||this._allowedModifierKeys.indexOf(dt)>-1);switch(V){case u.Mf:return void this.tabOut.next();case u.JH:if(this._vertical&&be){this.setNextItemActive();break}return;case u.LH:if(this._vertical&&be){this.setPreviousItemActive();break}return;case u.SV:if(this._horizontal&&be){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case u.oh:if(this._horizontal&&be){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case u.Sd:if(this._homeAndEnd&&be){this.setFirstItemActive();break}return;case u.uR:if(this._homeAndEnd&&be){this.setLastItemActive();break}return;case u.Ku:if(this._pageUpAndDown.enabled&&be){const dt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(dt>0?dt:0,1);break}return;case u.VM:if(this._pageUpAndDown.enabled&&be){const dt=this._activeItemIndex+this._pageUpAndDown.delta,Rt=this._getItemsArray().length;this._setActiveItemByIndex(dt=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(),Q="number"==typeof F?F:V.indexOf(F);this._activeItem=V[Q]??null,this._activeItemIndex=Q}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 Q=1;Q<=V.length;Q++){const be=(this._activeItemIndex+F*Q+V.length)%V.length;if(!this._skipPredicateFn(V[be]))return void this.setActiveItem(be)}}_setActiveInDefaultMode(F){this._setActiveItemByIndex(this._activeItemIndex+F,F)}_setActiveItemByIndex(F,V){const Q=this._getItemsArray();if(Q[F]){for(;this._skipPredicateFn(Q[F]);)if(!Q[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 Q=function G(De){try{return De.frameElement}catch{return null}}(function _t(De){return De.ownerDocument&&De.ownerDocument.defaultView||window}(V));if(Q&&(-1===tt(Q)||!this.isVisible(Q)))return!1;let be=V.nodeName.toLowerCase(),dt=tt(V);return V.hasAttribute("contenteditable")?-1!==dt:!("iframe"===be||"object"===be||this._platform.WEBKIT&&this._platform.IOS&&!function Ct(De){let F=De.nodeName.toLowerCase(),V="input"===F&&De.type;return"text"===V||"password"===V||"select"===F||"textarea"===F}(V))&&("audio"===be?!!V.hasAttribute("controls")&&-1!==dt:"video"===be?-1!==dt&&(null!==dt||this._platform.FIREFOX||V.hasAttribute("controls")):V.tabIndex>=0)}isFocusable(V,Q){return function Nt(De){return!function ve(De){return function Ze(De){return"input"==De.nodeName.toLowerCase()}(De)&&"hidden"==De.type}(De)&&(function ae(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")||Ge(De))}(V)&&!this.isDisabled(V)&&(Q?.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 Ge(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(!Ge(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,Q,be,dt=!1){this._element=F,this._checker=V,this._ngZone=Q,this._document=be,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,dt||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 Q=this._getFirstTabbableElement(V);return Q?.focus(F),!!Q}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 Q=0;Q=0;Q--){const be=V[Q].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(V[Q]):null;if(be)return be}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,Q,be){this._checker=V,this._ngZone=Q,this._document=be}create(V,Q=!1){return new Bt(V,this._checker,this._ngZone,this._document,Q)}}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})(),Lt=(()=>{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,Q,be){this._elementRef=V,this._focusTrapFactory=Q,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 Q=V.autoCapture;Q&&!Q.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"),K={ignoreKeys:[u.zL,u.jx,u.b2,u.MW,u.JU]},Te=(0,d.i$)({passive:!0,capture:!0});let et=(()=>{class De{get mostRecentModality(){return this._modality.value}constructor(V,Q,be,dt){this._platform=V,this._mostRecentTarget=null,this._modality=new f.X(null),this._lastTouchMs=0,this._onKeydown=Rt=>{this._options?.ignoreKeys?.some(qe=>qe===Rt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,d.sA)(Rt))},this._onMousedown=Rt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(oe(Rt)?"keyboard":"mouse"),this._mostRecentTarget=(0,d.sA)(Rt))},this._onTouchstart=Rt=>{Y(Rt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,d.sA)(Rt))},this._options={...K,...dt},this.modalityDetected=this._modality.pipe((0,y.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,x.x)()),V.isBrowser&&Q.runOutsideAngular(()=>{be.addEventListener("keydown",this._onKeydown,Te),be.addEventListener("mousedown",this._onMousedown,Te),be.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 _e(){return null}}),ut=new c.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let Pe=0,mt=(()=>{class De{constructor(V,Q,be,dt){this._ngZone=Q,this._defaultOptions=dt,this._document=be,this._liveElement=V||this._createLiveElement()}announce(V,...Q){const be=this._defaultOptions;let dt,Rt;return 1===Q.length&&"number"==typeof Q[0]?Rt=Q[0]:[dt,Rt]=Q,this.clear(),clearTimeout(this._previousTimeout),dt||(dt=be&&be.politeness?be.politeness:"polite"),null==Rt&&be&&(Rt=be.duration),this._liveElement.setAttribute("aria-live",dt),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 Rt&&(this._previousTimeout=setTimeout(()=>this.clear(),Rt)),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",Q=this._document.getElementsByClassName(V),be=this._document.createElement("div");for(let dt=0;dt .cdk-overlay-container [aria-modal="true"]');for(let be=0;be{class De{constructor(V,Q,be,dt,Rt){this._ngZone=V,this._platform=Q,this._inputModalityDetector=be,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=dt,this._detectionMode=Rt?.detectionMode||0}monitor(V,Q=!1){const be=(0,S.fI)(V);if(!this._platform.isBrowser||1!==be.nodeType)return(0,h.of)();const dt=(0,d.kV)(be)||this._getDocument(),Rt=this._elementInfo.get(be);if(Rt)return Q&&(Rt.checkChildren=!0),Rt.subject;const qe={checkChildren:Q,subject:new g.x,rootNode:dt};return this._elementInfo.set(be,qe),this._registerGlobalListeners(qe),qe.subject}stopMonitoring(V){const Q=(0,S.fI)(V),be=this._elementInfo.get(Q);be&&(be.subject.complete(),this._setClasses(Q),this._elementInfo.delete(Q),this._removeGlobalListeners(be))}focusVia(V,Q,be){const dt=(0,S.fI)(V);dt===this._getDocument().activeElement?this._getClosestElementsInfo(dt).forEach(([qe,nt])=>this._originChanged(qe,Q,nt)):(this._setOrigin(Q),"function"==typeof dt.focus&&dt.focus(be))}ngOnDestroy(){this._elementInfo.forEach((V,Q)=>this.stopMonitoring(Q))}_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,Q){V.classList.toggle("cdk-focused",!!Q),V.classList.toggle("cdk-touch-focused","touch"===Q),V.classList.toggle("cdk-keyboard-focused","keyboard"===Q),V.classList.toggle("cdk-mouse-focused","mouse"===Q),V.classList.toggle("cdk-program-focused","program"===Q)}_setOrigin(V,Q=!1){this._ngZone.runOutsideAngular(()=>{this._origin=V,this._originFromTouchInteraction="touch"===V&&Q,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(V,Q){const be=this._elementInfo.get(Q),dt=(0,d.sA)(V);!be||!be.checkChildren&&Q!==dt||this._originChanged(Q,this._getFocusOrigin(dt),be)}_onBlur(V,Q){const be=this._elementInfo.get(Q);!be||be.checkChildren&&V.relatedTarget instanceof Node&&Q.contains(V.relatedTarget)||(this._setClasses(Q),this._emitOrigin(be,null))}_emitOrigin(V,Q){V.subject.observers.length&&this._ngZone.run(()=>V.subject.next(Q))}_registerGlobalListeners(V){if(!this._platform.isBrowser)return;const Q=V.rootNode,be=this._rootNodeFocusListenerCount.get(Q)||0;be||this._ngZone.runOutsideAngular(()=>{Q.addEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),Q.addEventListener("blur",this._rootNodeFocusAndBlurListener,Gt)}),this._rootNodeFocusListenerCount.set(Q,be+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,D.R)(this._stopInputModalityDetector)).subscribe(dt=>{this._setOrigin(dt,!0)}))}_removeGlobalListeners(V){const Q=V.rootNode;if(this._rootNodeFocusListenerCount.has(Q)){const be=this._rootNodeFocusListenerCount.get(Q);be>1?this._rootNodeFocusListenerCount.set(Q,be-1):(Q.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Gt),Q.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Gt),this._rootNodeFocusListenerCount.delete(Q))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(V,Q,be){this._setClasses(V,Q),this._emitOrigin(be,Q),this._lastFocusOrigin=Q}_getClosestElementsInfo(V){const Q=[];return this._elementInfo.forEach((be,dt)=>{(dt===V||be.checkChildren&&dt.contains(V))&&Q.push([dt,be])}),Q}_isLastInteractionFromInputLabel(V){const{_mostRecentTarget:Q,mostRecentModality:be}=this._inputModalityDetector;if("mouse"!==be||!Q||Q===V||"INPUT"!==V.nodeName&&"TEXTAREA"!==V.nodeName||V.disabled)return!1;const dt=V.labels;if(dt)for(let Rt=0;Rt{class De{constructor(V,Q){this._elementRef=V,this._focusMonitor=Q,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(Q=>{this._focusOrigin=Q,this.cdkFocusChange.emit(Q)})}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(Oe))},De.\u0275dir=c.\u0275\u0275defineDirective({type:De,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),De})();const he="cdk-high-contrast-black-on-white",ge="cdk-high-contrast-white-on-black",ct="cdk-high-contrast-active";let Me=(()=>{class De{constructor(V,Q){this._platform=V,this._document=Q,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 Q=this._document.defaultView||window,be=Q&&Q.getComputedStyle?Q.getComputedStyle(V):null,dt=(be&&be.backgroundColor||"").replace(/ /g,"");switch(V.remove(),dt){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(ct,he,ge),this._hasCheckedHighContrastMode=!0;const Q=this.getHighContrastMode();1===Q?V.add(ct,he):2===Q&&V.add(ct,ge)}}}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(Me))},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:()=>h,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 h=(()=>{class b{constructor(_){this.value="ltr",this.change=new n.EventEmitter,_&&(this.value=function f(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:()=>f,Ig:()=>c,du:()=>u,fI:()=>h,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 f(v){return null==v?"":"string"==typeof v?v:`${v}px`}function h(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:()=>h});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 h{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:()=>ve,JH:()=>X,JU:()=>f,K5:()=>r,Ku:()=>l,LH:()=>E,L_:()=>_,MW:()=>ut,Mf:()=>d,SV:()=>I,Sd:()=>D,VM:()=>y,Vb:()=>ri,Z:()=>_e,ZH:()=>c,aO:()=>Ee,b2:()=>wi,hY:()=>p,jx:()=>h,oh:()=>S,uR:()=>x,xE:()=>U,zL:()=>u});const c=8,d=9,r=13,f=16,h=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,ve=65,_e=90,ut=91,wi=224;function ri(ai,...Ni){return Ni.length?Ni.some(Mt=>ai[Mt]):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),f=a(5592),h=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,Ce){this._platform=U,this._nonce=Ce,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,Ce){this._mediaMatcher=U,this._zone=Ce,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(de=>this._registerQuery(de).observable);let Ae=(0,g.a)(Re);return Ae=(0,r.z)(Ae.pipe((0,h.q)(1)),Ae.pipe((0,u.T)(1),(0,v.b)(0))),Ae.pipe((0,b.U)(de=>{const H={matches:!1,breakpoints:{}};return de.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 Ce=this._mediaMatcher.matchMedia(U),Ae={observable:new f.y(de=>{const H=W=>this._zone.run(()=>de.next(W));return Ce.addListener(H),()=>{Ce.removeListener(H)}}).pipe((0,p.O)(Ce),(0,b.U)(({matches:de})=>({query:U,matches:de})),(0,_.R)(this._destroySubject)),mql:Ce};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 f=(()=>{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})(),h=(()=>{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(f))},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(h),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:[f]}),b})()},9594:(Ie,B,a)=>{"use strict";a.d(B,{U8:()=>N,X_:()=>U,_G:()=>ae,aV:()=>Bt,pI:()=>lt,xu:()=>Le});var n=a(6672),c=a(6814),d=a(5879),g=a(2495),r=a(2831),f=a(2181),h=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,K){this._viewportRuler=ne,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=K}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,ce=ne.style,Te=this._document.body.style,et=ce.scrollBehavior||"",Dt=Te.scrollBehavior||"";this._isEnabled=!1,ce.left=this._previousHTMLStyles.left,ce.top=this._previousHTMLStyles.top,ne.classList.remove("cdk-global-scrollblock"),D&&(ce.scrollBehavior=Te.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),D&&(ce.scrollBehavior=et,Te.scrollBehavior=Dt)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const K=this._document.body,ce=this._viewportRuler.getViewportSize();return K.scrollHeight>ce.height||K.scrollWidth>ce.width}}class I{constructor(ne,K,ce,Te){this._scrollDispatcher=ne,this._ngZone=K,this._viewportRuler=ce,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,f.h)(K=>!K||!this._overlayRef.overlayElement.contains(K.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ne.subscribe(()=>{const K=this._viewportRuler.getViewportScrollPosition().top;Math.abs(K-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(K=>Y.bottomK.bottom||Y.rightK.right)}function ee(Y,ne){return ne.some(K=>Y.topK.bottom||Y.leftK.right)}class ie{constructor(ne,K,ce,Te){this._scrollDispatcher=ne,this._viewportRuler=K,this._ngZone=ce,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 K=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ce,height:Te}=this._viewportRuler.getViewportSize();$(K,[{width:ce,height:Te,bottom:Te,right:ce,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(K,ce,Te,et){this._scrollDispatcher=K,this._viewportRuler=ce,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=et}}return Y.\u0275fac=function(K){return new(K||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 K=Object.keys(ne);for(const ce of K)void 0!==ne[ce]&&(this[ce]=ne[ce])}}}class Ae{constructor(ne,K){this.connectionPair=ne,this.scrollableViewProperties=K}}let W=(()=>{class Y{constructor(K){this._attachedOverlays=[],this._document=K}ngOnDestroy(){this.detach()}add(K){this.remove(K),this._attachedOverlays.push(K)}remove(K){const ce=this._attachedOverlays.indexOf(K);ce>-1&&this._attachedOverlays.splice(ce,1),0===this._attachedOverlays.length&&this.detach()}}return Y.\u0275fac=function(K){return new(K||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(K,ce){super(K),this._ngZone=ce,this._keydownListener=Te=>{const et=this._attachedOverlays;for(let Dt=et.length-1;Dt>-1;Dt--)if(et[Dt]._keydownEvents.observers.length>0){const _e=et[Dt]._keydownEvents;this._ngZone?this._ngZone.run(()=>_e.next(Te)):_e.next(Te);break}}}add(K){super.add(K),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(K){return new(K||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(K,ce,Te){super(K),this._platform=ce,this._ngZone=Te,this._cursorStyleIsSet=!1,this._pointerDownListener=et=>{this._pointerDownEventTarget=(0,r.sA)(et)},this._clickListener=et=>{const Dt=(0,r.sA)(et),_e="click"===et.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Dt;this._pointerDownEventTarget=null;const ut=this._attachedOverlays.slice();for(let Pe=ut.length-1;Pe>-1;Pe--){const mt=ut[Pe];if(mt._outsidePointerEvents.observers.length<1||!mt.hasAttached())continue;if(mt.overlayElement.contains(Dt)||mt.overlayElement.contains(_e))break;const Pt=mt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Pt.next(et)):Pt.next(et)}}}add(K){if(super.add(K),!this._isAttached){const ce=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ce)):this._addEventListeners(ce),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ce.style.cursor,ce.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const K=this._document.body;K.removeEventListener("pointerdown",this._pointerDownListener,!0),K.removeEventListener("click",this._clickListener,!0),K.removeEventListener("auxclick",this._clickListener,!0),K.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(K.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(K){K.addEventListener("pointerdown",this._pointerDownListener,!0),K.addEventListener("click",this._clickListener,!0),K.addEventListener("auxclick",this._clickListener,!0),K.addEventListener("contextmenu",this._clickListener,!0)}}return Y.\u0275fac=function(K){return new(K||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(K,ce){this._platform=ce,this._document=K}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const K="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const Te=this._document.querySelectorAll(`.${K}[platform="server"], .${K}[platform="test"]`);for(let et=0;etthis._backdropClick.next(Pt),this._backdropTransitionendHandler=Pt=>{this._disposeBackdrop(Pt.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 K=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,h.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 K?.onDestroy&&K.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),K}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,K,ce){const Te=(0,g.Eq)(K||[]).filter(et=>!!et);Te.length&&(ce?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 ae{get positions(){return this._preferredPositions}constructor(ne,K,ce,Te,et){this._viewportRuler=K,this._document=ce,this._platform=Te,this._overlayContainer=et,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,K=this._overlayRect,ce=this._viewportRect,Te=this._containerRect,et=[];let Dt;for(let _e of this._preferredPositions){let ut=this._getOriginPoint(ne,Te,_e),Pe=this._getOverlayPoint(ut,K,_e),mt=this._getOverlayFit(Pe,K,ce,_e);if(mt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(_e,ut);this._canFitWithFlexibleDimensions(mt,Pe,ce)?et.push({position:_e,origin:ut,overlayRect:K,boundingBoxRect:this._calculateBoundingBoxRect(ut,_e)}):(!Dt||Dt.overlayFit.visibleAreaut&&(ut=mt,_e=Pe)}return this._isPushed=!1,void this._applyPosition(_e.position,_e.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&&ve(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 K=this._getOriginPoint(this._originRect,this._containerRect,ne);this._applyPosition(ne,K)}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,K,ce){let Te,et;if("center"==ce.originX)Te=ne.left+ne.width/2;else{const Dt=this._isRtl()?ne.right:ne.left,_e=this._isRtl()?ne.left:ne.right;Te="start"==ce.originX?Dt:_e}return K.left<0&&(Te-=K.left),et="center"==ce.originY?ne.top+ne.height/2:"top"==ce.originY?ne.top:ne.bottom,K.top<0&&(et-=K.top),{x:Te,y:et}}_getOverlayPoint(ne,K,ce){let Te,et;return Te="center"==ce.overlayX?-K.width/2:"start"===ce.overlayX?this._isRtl()?-K.width:0:this._isRtl()?0:-K.width,et="center"==ce.overlayY?-K.height/2:"top"==ce.overlayY?0:-K.height,{x:ne.x+Te,y:ne.y+et}}_getOverlayFit(ne,K,ce,Te){const et=Ze(K);let{x:Dt,y:_e}=ne,ut=this._getOffset(Te,"x"),Pe=this._getOffset(Te,"y");ut&&(Dt+=ut),Pe&&(_e+=Pe);let Ft=0-_e,Gt=_e+et.height-ce.height,Oe=this._subtractOverflows(et.width,0-Dt,Dt+et.width-ce.width),Ke=this._subtractOverflows(et.height,Ft,Gt),he=Oe*Ke;return{visibleArea:he,isCompletelyWithinViewport:et.width*et.height===he,fitsInViewportVertically:Ke===et.height,fitsInViewportHorizontally:Oe==et.width}}_canFitWithFlexibleDimensions(ne,K,ce){if(this._hasFlexibleDimensions){const Te=ce.bottom-K.y,et=ce.right-K.x,Dt=He(this._overlayRef.getConfig().minHeight),_e=He(this._overlayRef.getConfig().minWidth);return(ne.fitsInViewportVertically||null!=Dt&&Dt<=Te)&&(ne.fitsInViewportHorizontally||null!=_e&&_e<=et)}return!1}_pushOverlayOnScreen(ne,K,ce){if(this._previousPushAmount&&this._positionLocked)return{x:ne.x+this._previousPushAmount.x,y:ne.y+this._previousPushAmount.y};const Te=Ze(K),et=this._viewportRect,Dt=Math.max(ne.x+Te.width-et.width,0),_e=Math.max(ne.y+Te.height-et.height,0),ut=Math.max(et.top-ce.top-ne.y,0),Pe=Math.max(et.left-ce.left-ne.x,0);let mt=0,Pt=0;return mt=Te.width<=et.width?Pe||-Dt:ne.xOe&&!this._isInitialRender&&!this._growAfterOpen&&(Dt=ne.y-Oe/2)}if("end"===K.overlayX&&!Te||"start"===K.overlayX&&Te)Ft=ce.width-ne.x+this._viewportMargin,mt=ne.x-this._viewportMargin;else if("start"===K.overlayX&&!Te||"end"===K.overlayX&&Te)Pt=ne.x,mt=ce.right-ne.x;else{const Gt=Math.min(ce.right-ne.x+ce.left,ne.x),Oe=this._lastBoundingBoxSize.width;mt=2*Gt,Pt=ne.x-Gt,mt>Oe&&!this._isInitialRender&&!this._growAfterOpen&&(Pt=ne.x-Oe/2)}return{top:Dt,left:Pt,bottom:_e,right:Ft,width:mt,height:et}}_setBoundingBoxStyles(ne,K){const ce=this._calculateBoundingBoxRect(ne,K);!this._isInitialRender&&!this._growAfterOpen&&(ce.height=Math.min(ce.height,this._lastBoundingBoxSize.height),ce.width=Math.min(ce.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 et=this._overlayRef.getConfig().maxHeight,Dt=this._overlayRef.getConfig().maxWidth;Te.height=(0,g.HM)(ce.height),Te.top=(0,g.HM)(ce.top),Te.bottom=(0,g.HM)(ce.bottom),Te.width=(0,g.HM)(ce.width),Te.left=(0,g.HM)(ce.left),Te.right=(0,g.HM)(ce.right),Te.alignItems="center"===K.overlayX?"center":"end"===K.overlayX?"flex-end":"flex-start",Te.justifyContent="center"===K.overlayY?"center":"bottom"===K.overlayY?"flex-end":"flex-start",et&&(Te.maxHeight=(0,g.HM)(et)),Dt&&(Te.maxWidth=(0,g.HM)(Dt))}this._lastBoundingBoxSize=ce,ve(this._boundingBox.style,Te)}_resetBoundingBoxStyles(){ve(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ve(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ne,K){const ce={},Te=this._hasExactPosition(),et=this._hasFlexibleDimensions,Dt=this._overlayRef.getConfig();if(Te){const mt=this._viewportRuler.getViewportScrollPosition();ve(ce,this._getExactOverlayY(K,ne,mt)),ve(ce,this._getExactOverlayX(K,ne,mt))}else ce.position="static";let _e="",ut=this._getOffset(K,"x"),Pe=this._getOffset(K,"y");ut&&(_e+=`translateX(${ut}px) `),Pe&&(_e+=`translateY(${Pe}px)`),ce.transform=_e.trim(),Dt.maxHeight&&(Te?ce.maxHeight=(0,g.HM)(Dt.maxHeight):et&&(ce.maxHeight="")),Dt.maxWidth&&(Te?ce.maxWidth=(0,g.HM)(Dt.maxWidth):et&&(ce.maxWidth="")),ve(this._pane.style,ce)}_getExactOverlayY(ne,K,ce){let Te={top:"",bottom:""},et=this._getOverlayPoint(K,this._overlayRect,ne);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,ce)),"bottom"===ne.overlayY?Te.bottom=this._document.documentElement.clientHeight-(et.y+this._overlayRect.height)+"px":Te.top=(0,g.HM)(et.y),Te}_getExactOverlayX(ne,K,ce){let Dt,Te={left:"",right:""},et=this._getOverlayPoint(K,this._overlayRect,ne);return this._isPushed&&(et=this._pushOverlayOnScreen(et,this._overlayRect,ce)),Dt=this._isRtl()?"end"===ne.overlayX?"left":"right":"end"===ne.overlayX?"right":"left","right"===Dt?Te.right=this._document.documentElement.clientWidth-(et.x+this._overlayRect.width)+"px":Te.left=(0,g.HM)(et.x),Te}_getScrollVisibility(){const ne=this._getOriginRect(),K=this._pane.getBoundingClientRect(),ce=this._scrollables.map(Te=>Te.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ee(ne,ce),isOriginOutsideView:$(ne,ce),isOverlayClipped:ee(K,ce),isOverlayOutsideView:$(K,ce)}}_subtractOverflows(ne,...K){return K.reduce((ce,Te)=>ce-Math.max(Te,0),ne)}_getNarrowedViewportRect(){const ne=this._document.documentElement.clientWidth,K=this._document.documentElement.clientHeight,ce=this._viewportRuler.getViewportScrollPosition();return{top:ce.top+this._viewportMargin,left:ce.left+this._viewportMargin,right:ce.left+ne-this._viewportMargin,bottom:ce.top+K-this._viewportMargin,width:ne-2*this._viewportMargin,height:K-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ne,K){return"x"===K?null==ne.offsetX?this._offsetX:ne.offsetX:null==ne.offsetY?this._offsetY:ne.offsetY}_validatePositions(){}_addPanelClasses(ne){this._pane&&(0,g.Eq)(ne).forEach(K=>{""!==K&&-1===this._appliedPanelClasses.indexOf(K)&&(this._appliedPanelClasses.push(K),this._pane.classList.add(K))})}_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 K=ne.width||0,ce=ne.height||0;return{top:ne.y,bottom:ne.y+ce,left:ne.x,right:ne.x+K,height:ce,width:K}}}function ve(Y,ne){for(let K in ne)ne.hasOwnProperty(K)&&(Y[K]=ne[K]);return Y}function He(Y){if("number"!=typeof Y&&null!=Y){const[ne,K]=Y.split(re);return K&&"px"!==K?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 Ct{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ne){const K=ne.getConfig();this._overlayRef=ne,this._width&&!K.width&&ne.updateSize({width:this._width}),this._height&&!K.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,K=this._overlayRef.hostElement.style,ce=this._overlayRef.getConfig(),{width:Te,height:et,maxWidth:Dt,maxHeight:_e}=ce,ut=!("100%"!==Te&&"100vw"!==Te||Dt&&"100%"!==Dt&&"100vw"!==Dt),Pe=!("100%"!==et&&"100vh"!==et||_e&&"100%"!==_e&&"100vh"!==_e),mt=this._xPosition,Pt=this._xOffset,Ft="rtl"===this._overlayRef.getConfig().direction;let Gt="",Oe="",Ke="";ut?Ke="flex-start":"center"===mt?(Ke="center",Ft?Oe=Pt:Gt=Pt):Ft?"left"===mt||"end"===mt?(Ke="flex-end",Gt=Pt):("right"===mt||"start"===mt)&&(Ke="flex-start",Oe=Pt):"left"===mt||"start"===mt?(Ke="flex-start",Gt=Pt):("right"===mt||"end"===mt)&&(Ke="flex-end",Oe=Pt),ne.position=this._cssPosition,ne.marginLeft=ut?"0":Gt,ne.marginTop=Pe?"0":this._topOffset,ne.marginBottom=this._bottomOffset,ne.marginRight=ut?"0":Oe,K.justifyContent=Ke,K.alignItems=Pe?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ne=this._overlayRef.overlayElement.style,K=this._overlayRef.hostElement,ce=K.style;K.classList.remove(tt),ce.justifyContent=ce.alignItems=ne.marginTop=ne.marginBottom=ne.marginLeft=ne.marginRight=ne.position="",this._overlayRef=null,this._isDisposed=!0}}let Nt=(()=>{class Y{constructor(K,ce,Te,et){this._viewportRuler=K,this._document=ce,this._platform=Te,this._overlayContainer=et}global(){return new Ct}flexibleConnectedTo(K){return new ae(K,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Y.\u0275fac=function(K){return new(K||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})(),_t=0,Bt=(()=>{class Y{constructor(K,ce,Te,et,Dt,_e,ut,Pe,mt,Pt,Ft,Gt){this.scrollStrategies=K,this._overlayContainer=ce,this._componentFactoryResolver=Te,this._positionBuilder=et,this._keyboardDispatcher=Dt,this._injector=_e,this._ngZone=ut,this._document=Pe,this._directionality=mt,this._location=Pt,this._outsideClickDispatcher=Ft,this._animationsModuleType=Gt}create(K){const ce=this._createHostElement(),Te=this._createPaneElement(ce),et=this._createPortalOutlet(Te),Dt=new U(K);return Dt.direction=Dt.direction||this._directionality.value,new Be(et,ce,Te,Dt,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(K){const ce=this._document.createElement("div");return ce.id="cdk-overlay-"+_t++,ce.classList.add("cdk-overlay-pane"),K.appendChild(ce),ce}_createHostElement(){const K=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(K),K}_createPortalOutlet(K){return this._appRef||(this._appRef=this._injector.get(d.ApplicationRef)),new p.u0(K,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Y.\u0275fac=function(K){return new(K||Y)(d.\u0275\u0275inject(A),d.\u0275\u0275inject(Ee),d.\u0275\u0275inject(d.ComponentFactoryResolver),d.\u0275\u0275inject(Nt),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"}],Lt=new d.InjectionToken("cdk-connected-overlay-scroll-strategy");let Le=(()=>{class Y{constructor(K){this.elementRef=K}}return Y.\u0275fac=function(K){return new(K||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})(),lt=(()=>{class Y{get offsetX(){return this._offsetX}set offsetX(K){this._offsetX=K,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(K){this._offsetY=K,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(K){this._hasBackdrop=(0,g.Ig)(K)}get lockPosition(){return this._lockPosition}set lockPosition(K){this._lockPosition=(0,g.Ig)(K)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(K){this._flexibleDimensions=(0,g.Ig)(K)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(K){this._growAfterOpen=(0,g.Ig)(K)}get push(){return this._push}set push(K){this._push=(0,g.Ig)(K)}constructor(K,ce,Te,et,Dt){this._overlay=K,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(ce,Te),this._scrollStrategyFactory=et,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(K){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),K.origin&&this.open&&this._position.apply()),K.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Tt);const K=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=K.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=K.detachments().subscribe(()=>this.detach.emit()),K.keydownEvents().subscribe(ce=>{this.overlayKeydown.next(ce),ce.keyCode===x.hY&&!this.disableClose&&!(0,x.Vb)(ce)&&(ce.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(ce=>{this.overlayOutsideClick.next(ce)})}_buildConfig(){const K=this._position=this.positionStrategy||this._createPositionStrategy(),ce=new U({direction:this._dir,positionStrategy:K,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(ce.width=this.width),(this.height||0===this.height)&&(ce.height=this.height),(this.minWidth||0===this.minWidth)&&(ce.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(ce.minHeight=this.minHeight),this.backdropClass&&(ce.backdropClass=this.backdropClass),this.panelClass&&(ce.panelClass=this.panelClass),ce}_updatePositionStrategy(K){const ce=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 K.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(ce).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const K=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(K),K}_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(K=>{this.backdropClick.emit(K)}):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(K=>{this.positionChange.emit(K),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Y.\u0275fac=function(K){return new(K||Y)(d.\u0275\u0275directiveInject(Bt),d.\u0275\u0275directiveInject(d.TemplateRef),d.\u0275\u0275directiveInject(d.ViewContainerRef),d.\u0275\u0275directiveInject(Lt),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:Lt,deps:[Bt],useFactory:function ze(Y){return()=>Y.scrollStrategies.reposition()}};let N=(()=>{class Y{}return Y.\u0275fac=function(K){return new(K||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 f,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 h=["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(f)return f;if("object"!=typeof document||!document)return f=new Set(h),f;let ee=document.createElement("input");return f=new Set(h.filter(ie=>(ee.setAttribute("type",ie),ee.type===ie))),f}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,Ce,Re,Ae){super(),this.component=A,this.viewContainerRef=U,this.injector=Ce,this.componentFactoryResolver=Re,this.projectableNodes=Ae}}class p extends v{constructor(A,U,Ce,Re){super(),this.templateRef=A,this.viewContainerRef=U,this.context=Ce,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,Ce,Re,Ae){super(),this.outletElement=A,this._componentFactoryResolver=U,this._appRef=Ce,this._defaultInjector=Re,this.attachDomPortal=de=>{const H=de.element,W=this._document.createComment("dom-portal");H.parentNode.insertBefore(W,H),this.outletElement.appendChild(H),this._attachedPortal=de,super.setDisposeFn(()=>{W.parentNode&&W.parentNode.replaceChild(H,W)})},this._document=Ae}attachComponentPortal(A){const Ce=(A.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(A.component);let Re;return A.viewContainerRef?(Re=A.viewContainerRef.createComponent(Ce,A.viewContainerRef.length,A.injector||A.viewContainerRef.injector,A.projectableNodes||void 0),this.setDisposeFn(()=>Re.destroy())):(Re=Ce.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,Ce=U.createEmbeddedView(A.templateRef,A.context,{injector:A.injector});return Ce.rootNodes.forEach(Re=>this.outletElement.appendChild(Re)),Ce.detectChanges(),this.setDisposeFn(()=>{let Re=U.indexOf(Ce);-1!==Re&&U.remove(Re)}),this._attachedPortal=A,Ce}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(A){return A.hostView.rootNodes[0]}}let S=(()=>{class ie extends p{constructor(U,Ce){super(U,Ce)}}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,Ce,Re){super(),this._componentFactoryResolver=U,this._viewContainerRef=Ce,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=Ae=>{const de=Ae.element,H=this._document.createComment("dom-portal");Ae.setAttachedHost(this),de.parentNode.insertBefore(H,de),this._getRootNode().appendChild(de),this._attachedPortal=Ae,super.setDisposeFn(()=>{H.parentNode&&H.parentNode.replaceChild(de,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 Ce=null!=U.viewContainerRef?U.viewContainerRef:this._viewContainerRef,Ae=(U.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(U.component),de=Ce.createComponent(Ae,Ce.length,U.injector||Ce.injector,U.projectableNodes||void 0);return Ce!==this._viewContainerRef&&this._getRootNode().appendChild(de.hostView.rootNodes[0]),super.setDisposeFn(()=>de.destroy()),this._attachedPortal=U,this._attachedRef=de,this.attached.emit(de),de}attachTemplatePortal(U){U.setAttachedHost(this);const Ce=this._viewContainerRef.createEmbeddedView(U.templateRef,U.context,{injector:U.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=U,this._attachedRef=Ce,this.attached.emit(Ce),Ce}_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),f=a(2438),v=(a(927),a(6410),a(8672)),b=a(2181),p=a(2831),_=a(6814),l=a(9388);let $=(()=>{class G{constructor(ae,ve,He){this._ngZone=ae,this._platform=ve,this._scrolled=new d.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=He}register(ae){this.scrollContainers.has(ae)||this.scrollContainers.set(ae,ae.elementScrolled().subscribe(()=>this._scrolled.next(ae)))}deregister(ae){const ve=this.scrollContainers.get(ae);ve&&(ve.unsubscribe(),this.scrollContainers.delete(ae))}scrolled(ae=20){return this._platform.isBrowser?new r.y(ve=>{this._globalSubscription||this._addGlobalListener();const He=ae>0?this._scrolled.pipe((0,v.e)(ae)).subscribe(ve):this._scrolled.subscribe(ve);return this._scrolledCount++,()=>{He.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,g.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ae,ve)=>this.deregister(ve)),this._scrolled.complete()}ancestorScrolled(ae,ve){const He=this.getAncestorScrollContainers(ae);return this.scrolled(ve).pipe((0,b.h)(Ze=>!Ze||He.indexOf(Ze)>-1))}getAncestorScrollContainers(ae){const ve=[];return this.scrollContainers.forEach((He,Ze)=>{this._scrollableContainsElement(Ze,ae)&&ve.push(Ze)}),ve}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ae,ve){let He=(0,n.fI)(ve),Ze=ae.getElementRef().nativeElement;do{if(He==Ze)return!0}while(He=He.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ae=this._getWindow();return(0,f.R)(ae.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return G.\u0275fac=function(ae){return new(ae||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(ae,ve,He){this._platform=ae,this._change=new d.x,this._changeListener=Ze=>{this._change.next(Ze)},this._document=He,ve.runOutsideAngular(()=>{if(ae.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 ae=this._getWindow();ae.removeEventListener("resize",this._changeListener),ae.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ae={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ae}getViewportRect(){const ae=this.getViewportScrollPosition(),{width:ve,height:He}=this.getViewportSize();return{top:ae.top,left:ae.left,bottom:ae.top+He,right:ae.left+ve,height:He,width:ve}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ae=this._document,ve=this._getWindow(),He=ae.documentElement,Ze=He.getBoundingClientRect();return{top:-Ze.top||ae.body.scrollTop||ve.scrollY||He.scrollTop||0,left:-Ze.left||ae.body.scrollLeft||ve.scrollX||He.scrollLeft||0}}change(ae=20){return ae>0?this._change.pipe((0,v.e)(ae)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ae=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ae.innerWidth,height:ae.innerHeight}:{width:0,height:0}}}return G.\u0275fac=function(ae){return new(ae||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(ae){return new(ae||G)},G.\u0275mod=c.\u0275\u0275defineNgModule({type:G}),G.\u0275inj=c.\u0275\u0275defineInjector({}),G})(),Be=(()=>{class G{}return G.\u0275fac=function(ae){return new(ae||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:()=>h});var n=a(2831),c=a(5879),d=a(2495),g=a(6232),r=a(8645);const f=(0,n.i$)({passive:!0});let h=(()=>{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,f),y.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(y,{subject:D,unlisten:()=>{y.removeEventListener("animationstart",E,f)}}),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:()=>f,DatePipe:()=>En,DecimalPipe:()=>Ot,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:()=>se,NgStyle:()=>Xe,NgSwitch:()=>Mt,NgSwitchCase:()=>jt,NgSwitchDefault:()=>ke,NgTemplateOutlet:()=>kt,NumberFormatStyle:()=>ie,NumberSymbol:()=>Ae,PRECONNECT_CHECK_BLOCKLIST:()=>bo,PathLocationStrategy:()=>x,PercentPipe:()=>C,PlatformLocation:()=>h,Plural:()=>A,SlicePipe:()=>Zt,TitleCasePipe:()=>Fi,TranslationWidth:()=>Ce,UpperCasePipe:()=>Gi,VERSION:()=>St,ViewportScroller:()=>Ht,WeekDay:()=>de,XhrFactory:()=>Vn,formatCurrency:()=>Vi,formatDate:()=>et,formatNumber:()=>xt,formatPercent:()=>Yi,getCurrencySymbol:()=>ze,getLocaleCurrencyCode:()=>tt,getLocaleCurrencyName:()=>Ge,getLocaleCurrencySymbol:()=>Qe,getLocaleDateFormat:()=>re,getLocaleDateTimeFormat:()=>ve,getLocaleDayNames:()=>pe,getLocaleDayPeriods:()=>W,getLocaleDirection:()=>Lt,getLocaleEraNames:()=>Ee,getLocaleExtraDayPeriodRules:()=>Bt,getLocaleExtraDayPeriods:()=>Tt,getLocaleFirstDayOfWeek:()=>Be,getLocaleId:()=>H,getLocaleMonthNames:()=>we,getLocaleNumberFormat:()=>Ze,getLocaleNumberSymbol:()=>He,getLocalePluralCase:()=>Nt,getLocaleTimeFormat:()=>ae,getLocaleWeekEndRange:()=>G,getNumberOfCurrencyDigits:()=>N,isPlatformBrowser:()=>ir,isPlatformServer:()=>wt,isPlatformWorkerApp:()=>vt,isPlatformWorkerUi:()=>gt,provideCloudflareLoader:()=>Oo,provideCloudinaryLoader:()=>po,provideImageKitLoader:()=>go,provideImgixLoader:()=>We,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 f=new n.InjectionToken("DocumentToken");let h=(()=>{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 h{constructor(){super(),this._doc=(0,n.inject)(f),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)(f).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,$t){const Kt=this.prepareExternalUrl(ht+_($t));this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,$t){const Kt=this.prepareExternalUrl(ht+_($t));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(h),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,$t){let Kt=this.prepareExternalUrl(ht+_($t));0==Kt.length&&(Kt=this._platformLocation.pathname),this._platformLocation.pushState(Z,Ue,Kt)}replaceState(Z,Ue,ht,$t){let Kt=this.prepareExternalUrl(ht+_($t));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(h),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||{}),Ce=function(L){return L[L.Narrow=0]="Narrow",L[L.Abbreviated=1]="Abbreviated",L[L.Wide=2]="Wide",L[L.Short=3]="Short",L}(Ce||{}),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||{}),de=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}(de||{});function H(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.LocaleId]}function W(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.DayPeriodsFormat],Ue[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],xe);return Le($t,Z)}function pe(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.DaysFormat],Ue[n.\u0275LocaleDataIndex.DaysStandalone]],xe);return Le($t,Z)}function we(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L),$t=Le([Ue[n.\u0275LocaleDataIndex.MonthsFormat],Ue[n.\u0275LocaleDataIndex.MonthsStandalone]],xe);return Le($t,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 ae(L,xe){return Le((0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.TimeFormat],xe)}function ve(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 Ge(L){return(0,n.\u0275findLocaleData)(L)[n.\u0275LocaleDataIndex.CurrencyName]||null}function tt(L){return(0,n.\u0275getLocaleCurrencyCode)(L)}const Nt=n.\u0275getLocalePluralCase;function _t(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 _t(xe),(xe[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Ue=>"string"==typeof Ue?lt(Ue):[lt(Ue[0]),lt(Ue[1])])}function Tt(L,xe,Z){const Ue=(0,n.\u0275findLocaleData)(L);_t(Ue);const $t=Le([Ue[n.\u0275LocaleDataIndex.ExtraData][0],Ue[n.\u0275LocaleDataIndex.ExtraData][1]],xe)||[];return Le($t,Z)||[]}function Lt(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 lt(L){const[xe,Z]=L.split(":");return{hours:+xe,minutes:+Z}}function ze(L,xe,Z="en"){const Ue=function Ct(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 K=function(L){return L[L.Short=0]="Short",L[L.ShortGMT=1]="ShortGMT",L[L.Long=2]="Long",L[L.Extended=3]="Extended",L}(K||{}),ce=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}(ce||{}),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 et(L,xe,Z,Ue){let ht=function Rt(L){if(nt(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,$t=1,Kt=1]=L.split("-").map(Un=>+Un);return Dt(ht,$t-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,$t=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 $t.call(xe,Kt,Un,ki,Hi),xe}(Ue)}const xe=new Date(L);if(!nt(xe))throw new Error(`Unable to convert "${L}" into a date`);return xe}(L);xe=_e(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=Q(Ue,ki),ht=function dt(L,xe,Z){const Ue=Z?-1:1,ht=L.getTimezoneOffset();return function be(L,xe){return(L=new Date(L.getTime())).setMinutes(L.getMinutes()+xe),L}(L,Ue*(Q(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=Gt(Te.Eras,Ce.Abbreviated);break;case"GGGG":xe=Gt(Te.Eras,Ce.Wide);break;case"GGGGG":xe=Gt(Te.Eras,Ce.Narrow);break;case"y":xe=Pt(ce.FullYear,1,0,!1,!0);break;case"yy":xe=Pt(ce.FullYear,2,0,!0,!0);break;case"yyy":xe=Pt(ce.FullYear,3,0,!1,!0);break;case"yyyy":xe=Pt(ce.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=Pt(ce.Month,1,1);break;case"MM":case"LL":xe=Pt(ce.Month,2,1);break;case"MMM":xe=Gt(Te.Months,Ce.Abbreviated);break;case"MMMM":xe=Gt(Te.Months,Ce.Wide);break;case"MMMMM":xe=Gt(Te.Months,Ce.Narrow);break;case"LLL":xe=Gt(Te.Months,Ce.Abbreviated,U.Standalone);break;case"LLLL":xe=Gt(Te.Months,Ce.Wide,U.Standalone);break;case"LLLLL":xe=Gt(Te.Months,Ce.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=Pt(ce.Date,1);break;case"dd":xe=Pt(ce.Date,2);break;case"c":case"cc":xe=Pt(ce.Day,1);break;case"ccc":xe=Gt(Te.Days,Ce.Abbreviated,U.Standalone);break;case"cccc":xe=Gt(Te.Days,Ce.Wide,U.Standalone);break;case"ccccc":xe=Gt(Te.Days,Ce.Narrow,U.Standalone);break;case"cccccc":xe=Gt(Te.Days,Ce.Short,U.Standalone);break;case"E":case"EE":case"EEE":xe=Gt(Te.Days,Ce.Abbreviated);break;case"EEEE":xe=Gt(Te.Days,Ce.Wide);break;case"EEEEE":xe=Gt(Te.Days,Ce.Narrow);break;case"EEEEEE":xe=Gt(Te.Days,Ce.Short);break;case"a":case"aa":case"aaa":xe=Gt(Te.DayPeriods,Ce.Abbreviated);break;case"aaaa":xe=Gt(Te.DayPeriods,Ce.Wide);break;case"aaaaa":xe=Gt(Te.DayPeriods,Ce.Narrow);break;case"b":case"bb":case"bbb":xe=Gt(Te.DayPeriods,Ce.Abbreviated,U.Standalone,!0);break;case"bbbb":xe=Gt(Te.DayPeriods,Ce.Wide,U.Standalone,!0);break;case"bbbbb":xe=Gt(Te.DayPeriods,Ce.Narrow,U.Standalone,!0);break;case"B":case"BB":case"BBB":xe=Gt(Te.DayPeriods,Ce.Abbreviated,U.Format,!0);break;case"BBBB":xe=Gt(Te.DayPeriods,Ce.Wide,U.Format,!0);break;case"BBBBB":xe=Gt(Te.DayPeriods,Ce.Narrow,U.Format,!0);break;case"h":xe=Pt(ce.Hours,1,-12);break;case"hh":xe=Pt(ce.Hours,2,-12);break;case"H":xe=Pt(ce.Hours,1);break;case"HH":xe=Pt(ce.Hours,2);break;case"m":xe=Pt(ce.Minutes,1);break;case"mm":xe=Pt(ce.Minutes,2);break;case"s":xe=Pt(ce.Seconds,1);break;case"ss":xe=Pt(ce.Seconds,2);break;case"S":xe=Pt(ce.FractionalSeconds,1);break;case"SS":xe=Pt(ce.FractionalSeconds,2);break;case"SSS":xe=Pt(ce.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":xe=Ke(K.Short);break;case"ZZZZZ":xe=Ke(K.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":xe=Ke(K.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":xe=Ke(K.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 _e(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=ae(L,Re.Short);break;case"mediumTime":Ue=ae(L,Re.Medium);break;case"longTime":Ue=ae(L,Re.Long);break;case"fullTime":Ue=ae(L,Re.Full);break;case"short":const ht=_e(L,"shortTime"),$t=_e(L,"shortDate");Ue=ut(ve(L,Re.Short),[ht,$t]);break;case"medium":const Kt=_e(L,"mediumTime"),Un=_e(L,"mediumDate");Ue=ut(ve(L,Re.Medium),[Kt,Un]);break;case"long":const ki=_e(L,"longTime"),Hi=_e(L,"longDate");Ue=ut(ve(L,Re.Long),[ki,Hi]);break;case"full":const Ci=_e(L,"fullTime"),Jn=_e(L,"fullDate");Ue=ut(ve(L,Re.Full),[Ci,Jn])}return Ue&&(Y[Z][xe]=Ue),Ue}function ut(L,xe){return xe&&(L=L.replace(/\{([^}]+)}/g,function(Z,Ue){return null!=xe&&Ue in xe?xe[Ue]:Z})),L}function Pe(L,xe,Z="-",Ue,ht){let $t="";(L<0||ht&&L<=0)&&(ht?L=1-L:(L=-L,$t=Z));let Kt=String(L);for(;Kt.length0||Un>-Z)&&(Un+=Z),L===ce.Hours)0===Un&&-12===Z&&(Un=12);else if(L===ce.FractionalSeconds)return function mt(L,xe){return Pe(L,3).substring(0,xe)}(Un,xe);const ki=He(Kt,Ae.MinusSign);return Pe(Un,xe,ki,Ue,ht)}}function Gt(L,xe,Z=U.Format,Ue=!1){return function(ht,$t){return function Oe(L,xe,Z,Ue,ht,$t){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($t){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 K.Short:return(ht>=0?"+":"")+Pe(Kt,2,$t)+Pe(Math.abs(ht%60),2,$t);case K.ShortGMT:return"GMT"+(ht>=0?"+":"")+Pe(Kt,1,$t);case K.Long:return"GMT"+(ht>=0?"+":"")+Pe(Kt,2,$t)+":"+Pe(Math.abs(ht%60),2,$t);case K.Extended:return 0===Ue?"Z":(ht>=0?"+":"")+Pe(Kt,2,$t)+":"+Pe(Math.abs(ht%60),2,$t);default:throw new Error(`Unknown zone width "${L}"`)}}}const he=0,ge=4;function Me(L){return Dt(L.getFullYear(),L.getMonth(),L.getDate()+(ge-L.getDay()))}function Ye(L,xe=!1){return function(Z,Ue){let ht;if(xe){const $t=new Date(Z.getFullYear(),Z.getMonth(),1).getDay()-1,Kt=Z.getDate();ht=1+Math.floor((Kt+$t)/7)}else{const $t=Me(Z),Kt=function ct(L){const xe=Dt(L,he,1).getDay();return Dt(L,0,1+(xe<=ge?ge:ge+7)-xe)}($t.getFullYear()),Un=$t.getTime()-Kt.getTime();ht=1+Math.round(Un/6048e5)}return Pe(ht,L,He(Ue,Ae.MinusSign))}}function De(L,xe=!1){return function(Z,Ue){return Pe(Me(Z).getFullYear(),L,He(Ue,Ae.MinusSign),xe)}}const F={};function Q(L,xe){L=L.replace(/:/g,"");const Z=Date.parse("Jan 01, 1970 00:00:00 "+L)/6e4;return isNaN(Z)?xe:Z}function nt(L){return L instanceof Date&&!isNaN(L.valueOf())}const Ve=/^(\d+)?\.((\d+)(-(\d+))?)?$/,yt=22,At=".",on="0",xn=";",Sn=",",_n="#",Mn="\xa4",xi="%";function fi(L,xe,Z,Ue,ht,$t,Kt=!1){let Un="",ki=!1;if(isFinite(L)){let Hi=function qt(L){let Ue,ht,$t,Kt,Un,xe=Math.abs(L)+"",Z=0;for((ht=xe.indexOf(At))>-1&&(xe=xe.replace(At,"")),($t=xe.search(/e/i))>0?(ht<0&&(ht=$t),ht+=+xe.slice($t+1),xe=xe.substring(0,$t)):ht<0&&(ht=xe.length),$t=0;xe.charAt($t)===on;$t++);if($t===(Un=xe.length))Ue=[0],ht=1;else{for(Un--;xe.charAt(Un)===on;)Un--;for(ht-=$t,Ue=[],Kt=0;$t<=Un;$t++,Kt++)Ue[Kt]=Number(xe.charAt($t))}return ht>yt&&(Ue=Ue.splice(0,yt-1),Z=ht-1,ht=1),{digits:Ue,exponent:Z,integerLen:ht}}(L);Kt&&(Hi=function pt(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($t){const pr=$t.match(Ve);if(null===pr)throw new Error(`${$t} 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 $t=Math.min(Math.max(xe,ht),Z);let Kt=$t+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=bt(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,bt(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 xt(L,xe,Z){return fi(L,bt(Ze(xe,ie.Decimal),He(xe,Ae.MinusSign)),xe,Ae.Group,Ae.Decimal,Z)}function bt(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],$t=Ue[1],Kt=-1!==ht.indexOf(At)?ht.split(At):[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(Nt(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,$t]=-1==Ue?[Z,""]:[Z.slice(0,Ue),Z.slice(Ue+1)];if(ht.trim()===xe)return decodeURIComponent($t)}return null}const $n=/\s+/,ti=[];let an=(()=>{class L{constructor(Z,Ue,ht,$t){this._iterableDiffers=Z,this._keyValueDiffers=Ue,this._ngEl=ht,this._renderer=$t,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:$t}=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)):$t?$t.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,$t,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===$t?void 0:$t);else if(null!==$t){const Un=Ue.get($t);Ue.move(Un,Kt),mi(Un,ht)}});for(let ht=0,$t=Ue.length;ht<$t;ht++){const Un=Ue.get(ht).context;Un.index=ht,Un.count=$t,Un.ngForOf=this._ngForOf}Z.forEachIdentityChange(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 Mt=(()=>{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(Mt,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(Mt,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})(),se=(()=>{class L{constructor(Z,Ue,ht,$t){this.value=Z;const Kt=!isNaN(Number(Z));$t.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,$t]=Z.split("."),Kt=-1===ht.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Ue?this._renderer.setStyle(this._ngEl.nativeElement,ht,$t?`${Ue}${$t}`: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})(),kt=(()=>{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:$t,ngTemplateOutletInjector:Kt}=this;this._viewRef=Ue.createEmbeddedView(ht,$t,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,$t){if(null==Z||""===Z||Z!=Z)return null;try{return et(Z,Ue??this.defaultOptions?.dateFormat??"mediumDate",$t||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),$t=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||$t)&&(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(!Ne(Z))return null;ht=ht||this._locale;try{return xt(ot(Z),ht,Ue)}catch($t){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(!Ne(Z))return null;ht=ht||this._locale;try{return Yi(ot(Z),ht,Ue)}catch($t){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",$t,Kt){if(!Ne(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(ot(Z),Kt,Un,Ue,$t)}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 Ne(L){return!(null==L||""===L||L!=L)}function ot(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 gt(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)(f),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 $t=ht.shadowRoot;if($t){const Kt=$t.getElementById(xe)||$t.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,$t=this.offset();this.window.scrollTo(Ue-$t[0],ht-$t[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 We=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)(f)}createPreloadLinkTag(Z,Ue,ht,$t){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"),$t&&Z.setAttribute(Kt,"imageSizes",$t),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 $t=Z?parseFloat(ht):parseFloat(ht)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:$t})} ${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($t=>$t>=640)),Ue.map($t=>`${this.callImageLoader({src:this.ngSrc,width:$t})} ${$t}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:()=>Ge,HTTP_INTERCEPTORS:()=>Lt,HttpBackend:()=>x,HttpClient:()=>ve,HttpClientJsonpModule:()=>xn,HttpClientModule:()=>on,HttpClientXsrfModule:()=>At,HttpContext:()=>Ce,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:()=>Pt,HttpXsrfTokenExtractor:()=>ge,JsonpClientBackend:()=>Dt,JsonpInterceptor:()=>ut,provideHttpClient:()=>V,withFetch:()=>yt,withInterceptors:()=>Q,withInterceptorsFromDi:()=>dt,withJsonpSupport:()=>nt,withNoXsrfProtection:()=>qe,withRequestsMadeViaParent:()=>Ve,withXsrfConfiguration:()=>Rt,\u0275HttpInterceptingHandler:()=>at,\u0275HttpInterceptorHandler:()=>at,\u0275withHttpTransferCache:()=>Yi});var n=a(5861),c=a(5879),d=a(2096),g=a(5592),r=a(2459),f=a(6328),h=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(bt){this.normalizedNames=new Map,this.lazyUpdate=null,bt?"string"==typeof bt?this.lazyInit=()=>{this.headers=new Map,bt.split("\n").forEach(pt=>{const qt=pt.indexOf(":");if(qt>0){const nn=pt.slice(0,qt),cn=nn.toLowerCase(),sn=pt.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"&&bt instanceof Headers?(this.headers=new Map,bt.forEach((pt,qt)=>{this.setHeaderEntries(qt,pt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(bt).forEach(([pt,qt])=>{this.setHeaderEntries(pt,qt)})}:this.headers=new Map}has(bt){return this.init(),this.headers.has(bt.toLowerCase())}get(bt){this.init();const pt=this.headers.get(bt.toLowerCase());return pt&&pt.length>0?pt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(bt){return this.init(),this.headers.get(bt.toLowerCase())||null}append(bt,pt){return this.clone({name:bt,value:pt,op:"a"})}set(bt,pt){return this.clone({name:bt,value:pt,op:"s"})}delete(bt,pt){return this.clone({name:bt,value:pt,op:"d"})}maybeSetNormalizedName(bt,pt){this.normalizedNames.has(pt)||this.normalizedNames.set(pt,bt)}init(){this.lazyInit&&(this.lazyInit instanceof D?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(bt=>this.applyUpdate(bt)),this.lazyUpdate=null))}copyFrom(bt){bt.init(),Array.from(bt.headers.keys()).forEach(pt=>{this.headers.set(pt,bt.headers.get(pt)),this.normalizedNames.set(pt,bt.normalizedNames.get(pt))})}clone(bt){const pt=new D;return pt.lazyInit=this.lazyInit&&this.lazyInit instanceof D?this.lazyInit:this,pt.lazyUpdate=(this.lazyUpdate||[]).concat([bt]),pt}applyUpdate(bt){const pt=bt.name.toLowerCase();switch(bt.op){case"a":case"s":let qt=bt.value;if("string"==typeof qt&&(qt=[qt]),0===qt.length)return;this.maybeSetNormalizedName(bt.name,pt);const nn=("a"===bt.op?this.headers.get(pt):void 0)||[];nn.push(...qt),this.headers.set(pt,nn);break;case"d":const cn=bt.value;if(cn){let sn=this.headers.get(pt);if(!sn)return;sn=sn.filter(Nn=>-1===cn.indexOf(Nn)),0===sn.length?(this.headers.delete(pt),this.normalizedNames.delete(pt)):this.headers.set(pt,sn)}else this.headers.delete(pt),this.normalizedNames.delete(pt)}}setHeaderEntries(bt,pt){const qt=(Array.isArray(pt)?pt:[pt]).map(cn=>cn.toString()),nn=bt.toLowerCase();this.headers.set(nn,qt),this.maybeSetNormalizedName(bt,nn)}forEach(bt){this.init(),Array.from(this.normalizedNames.keys()).forEach(pt=>bt(this.normalizedNames.get(pt),this.headers.get(pt)))}}class E{encodeKey(bt){return ee(bt)}encodeValue(bt){return ee(bt)}decodeKey(bt){return decodeURIComponent(bt)}decodeValue(bt){return decodeURIComponent(bt)}}const X=/%(\d[a-f0-9])/gi,$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ee(xt){return encodeURIComponent(xt).replace(X,(bt,pt)=>$[pt]??bt)}function ie(xt){return`${xt}`}class A{constructor(bt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=bt.encoder||new E,bt.fromString){if(bt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function I(xt,bt){const pt=new Map;return xt.length>0&&xt.replace(/^\?/,"").split("&").forEach(nn=>{const cn=nn.indexOf("="),[sn,Nn]=-1==cn?[bt.decodeKey(nn),""]:[bt.decodeKey(nn.slice(0,cn)),bt.decodeValue(nn.slice(cn+1))],wn=pt.get(sn)||[];wn.push(Nn),pt.set(sn,wn)}),pt}(bt.fromString,this.encoder)}else bt.fromObject?(this.map=new Map,Object.keys(bt.fromObject).forEach(pt=>{const qt=bt.fromObject[pt],nn=Array.isArray(qt)?qt.map(ie):[ie(qt)];this.map.set(pt,nn)})):this.map=null}has(bt){return this.init(),this.map.has(bt)}get(bt){this.init();const pt=this.map.get(bt);return pt?pt[0]:null}getAll(bt){return this.init(),this.map.get(bt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(bt,pt){return this.clone({param:bt,value:pt,op:"a"})}appendAll(bt){const pt=[];return Object.keys(bt).forEach(qt=>{const nn=bt[qt];Array.isArray(nn)?nn.forEach(cn=>{pt.push({param:qt,value:cn,op:"a"})}):pt.push({param:qt,value:nn,op:"a"})}),this.clone(pt)}set(bt,pt){return this.clone({param:bt,value:pt,op:"s"})}delete(bt,pt){return this.clone({param:bt,value:pt,op:"d"})}toString(){return this.init(),this.keys().map(bt=>{const pt=this.encoder.encodeKey(bt);return this.map.get(bt).map(qt=>pt+"="+this.encoder.encodeValue(qt)).join("&")}).filter(bt=>""!==bt).join("&")}clone(bt){const pt=new A({encoder:this.encoder});return pt.cloneFrom=this.cloneFrom||this,pt.updates=(this.updates||[]).concat(bt),pt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(bt=>this.map.set(bt,this.cloneFrom.map.get(bt))),this.updates.forEach(bt=>{switch(bt.op){case"a":case"s":const pt=("a"===bt.op?this.map.get(bt.param):void 0)||[];pt.push(ie(bt.value)),this.map.set(bt.param,pt);break;case"d":if(void 0===bt.value){this.map.delete(bt.param);break}{let qt=this.map.get(bt.param)||[];const nn=qt.indexOf(ie(bt.value));-1!==nn&&qt.splice(nn,1),qt.length>0?this.map.set(bt.param,qt):this.map.delete(bt.param)}}}),this.cloneFrom=this.updates=null)}}class U{constructor(bt){this.defaultValue=bt}}class Ce{constructor(){this.map=new Map}set(bt,pt){return this.map.set(bt,pt),this}get(bt){return this.map.has(bt)||this.map.set(bt,bt.defaultValue()),this.map.get(bt)}delete(bt){return this.map.delete(bt),this}has(bt){return this.map.has(bt)}keys(){return this.map.keys()}}function Ae(xt){return typeof ArrayBuffer<"u"&&xt instanceof ArrayBuffer}function de(xt){return typeof Blob<"u"&&xt instanceof Blob}function H(xt){return typeof FormData<"u"&&xt instanceof FormData}class pe{constructor(bt,pt,qt,nn){let cn;if(this.url=pt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=bt.toUpperCase(),function Re(xt){switch(xt){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 Ce),this.params){const sn=this.params.toString();if(0===sn.length)this.urlWithParams=pt;else{const Nn=pt.indexOf("?");this.urlWithParams=pt+(-1===Nn?"?":Nn$n.set(ti,bt.setHeaders[ti]),wn)),bt.setParams&&(Xn=Object.keys(bt.setParams).reduce(($n,ti)=>$n.set(ti,bt.setParams[ti]),Xn)),new pe(pt,qt,cn,{params:Xn,headers:wn,context:_i,reportProgress:Nn,responseType:nn,withCredentials:sn})}}var we=function(xt){return xt[xt.Sent=0]="Sent",xt[xt.UploadProgress=1]="UploadProgress",xt[xt.ResponseHeader=2]="ResponseHeader",xt[xt.DownloadProgress=3]="DownloadProgress",xt[xt.Response=4]="Response",xt[xt.User=5]="User",xt}(we||{});class Ee{constructor(bt,pt=200,qt="OK"){this.headers=bt.headers||new D,this.status=void 0!==bt.status?bt.status:pt,this.statusText=bt.statusText||qt,this.url=bt.url||null,this.ok=this.status>=200&&this.status<300}}class Be extends Ee{constructor(bt={}){super(bt),this.type=we.ResponseHeader}clone(bt={}){return new Be({headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class G extends Ee{constructor(bt={}){super(bt),this.type=we.Response,this.body=void 0!==bt.body?bt.body:null}clone(bt={}){return new G({body:void 0!==bt.body?bt.body:this.body,headers:bt.headers||this.headers,status:void 0!==bt.status?bt.status:this.status,statusText:bt.statusText||this.statusText,url:bt.url||this.url||void 0})}}class re extends Ee{constructor(bt){super(bt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${bt.url||"(unknown url)"}`:`Http failure response for ${bt.url||"(unknown url)"}: ${bt.status} ${bt.statusText}`,this.error=bt.error||null}}function ae(xt,bt){return{body:bt,headers:xt.headers,context:xt.context,observe:xt.observe,params:xt.params,reportProgress:xt.reportProgress,responseType:xt.responseType,withCredentials:xt.withCredentials}}let ve=(()=>{class xt{constructor(pt){this.handler=pt}request(pt,qt,nn={}){let cn;if(pt instanceof pe)cn=pt;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(pt,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,f.b)(wn=>this.handler.handle(wn)));if(pt instanceof pe||"events"===nn.observe)return sn;const Nn=sn.pipe((0,h.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(pt,qt={}){return this.request("DELETE",pt,qt)}get(pt,qt={}){return this.request("GET",pt,qt)}head(pt,qt={}){return this.request("HEAD",pt,qt)}jsonp(pt,qt){return this.request("JSONP",pt,{params:(new A).append(qt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(pt,qt={}){return this.request("OPTIONS",pt,qt)}patch(pt,qt,nn={}){return this.request("PATCH",pt,ae(nn,qt))}post(pt,qt,nn={}){return this.request("POST",pt,ae(nn,qt))}put(pt,qt,nn={}){return this.request("PUT",pt,ae(nn,qt))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(y))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const He=/^\)\]\}',?\n/;function Qe(xt){if(xt.url)return xt.url;const bt="X-Request-URL".toLocaleLowerCase();return xt.headers.get(bt)}let Ge=(()=>{class xt{constructor(){this.fetchImpl=(0,c.inject)(tt,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,c.inject)(c.NgZone)}handle(pt){return new g.y(qt=>{const nn=new AbortController;return this.doRequest(pt,nn.signal,qt).then(Ct,cn=>qt.error(new re({error:cn}))),()=>nn.abort()})}doRequest(pt,qt,nn){var cn=this;return(0,n.Z)(function*(){const sn=cn.createRequestInit(pt);let Nn;try{const mn=cn.fetchImpl(pt.urlWithParams,{signal:qt,...sn});(function Nt(xt){xt.then(Ct,Ct)})(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:pt.urlWithParams,headers:mn.headers}))}const wn=new D(Nn.headers),Xn=Nn.statusText,_i=Qe(Nn)??pt.urlWithParams;let $n=Nn.status,ti=null;if(pt.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,pt.reportProgress){Yn="text"===pt.responseType?(Yn??"")+(mi??=new TextDecoder).decode(Ni,{stream:!0}):void 0;const Mt=()=>nn.next({type:we.DownloadProgress,total:mn?+mn:void 0,loaded:Wn,partialText:Yn});wi?wi.run(Mt):Mt()}}}));const ri=cn.concatChunks(Tn,Wn);try{ti=cn.parseBody(pt,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)??pt.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(pt,qt){switch(pt.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(pt){const qt={},nn=pt.withCredentials?"include":void 0;if(pt.headers.forEach((cn,sn)=>qt[cn]=sn.join(",")),qt.Accept??="application/json, text/plain, */*",!qt["Content-Type"]){const cn=pt.detectContentTypeHeader();null!==cn&&(qt["Content-Type"]=cn)}return{body:pt.serializeBody(),method:pt.method,headers:qt,credentials:nn}}concatChunks(pt,qt){const nn=new Uint8Array(qt);let cn=0;for(const sn of pt)nn.set(sn,cn),cn+=sn.length;return nn}}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();class tt{}function Ct(){}function _t(xt,bt){return bt(xt)}function Bt(xt,bt){return(pt,qt)=>bt.intercept(pt,{handle:nn=>xt(nn,qt)})}const Lt=new c.InjectionToken(""),Le=new c.InjectionToken(""),lt=new c.InjectionToken("");function ze(){let xt=null;return(bt,pt)=>{null===xt&&(xt=((0,c.inject)(Lt,{optional:!0})??[]).reduceRight(Bt,_t));const qt=(0,c.inject)(c.\u0275InitialRenderPendingTasks),nn=qt.add();return xt(bt,pt).pipe((0,v.x)(()=>qt.remove(nn)))}}let oe,at=(()=>{class xt extends y{constructor(pt,qt){super(),this.backend=pt,this.injector=qt,this.chain=null,this.pendingTasks=(0,c.inject)(c.\u0275InitialRenderPendingTasks)}handle(pt){if(null===this.chain){const nn=Array.from(new Set([...this.injector.get(Le),...this.injector.get(lt,[])]));this.chain=nn.reduceRight((cn,sn)=>function Tt(xt,bt,pt){return(qt,nn)=>pt.runInContext(()=>bt(qt,cn=>xt(cn,nn)))}(cn,sn,this.injector),_t)}const qt=this.pendingTasks.add();return this.chain(pt,nn=>this.backend.handle(nn)).pipe((0,v.x)(()=>this.pendingTasks.remove(qt)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(x),c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})(),N=0;class Te{}function et(){return"object"==typeof window?window:{}}let Dt=(()=>{class xt{constructor(pt,qt){this.callbackMap=pt,this.document=qt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+N++}handle(pt){if("JSONP"!==pt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==pt.responseType)throw new Error("JSONP requests must use Json response type.");if(pt.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new g.y(qt=>{const nn=this.nextCallback(),cn=pt.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(pt){oe||(oe=this.document.implementation.createHTMLDocument()),oe.adoptNode(pt)}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(Te),c.\u0275\u0275inject(l.DOCUMENT))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();function _e(xt,bt){return"JSONP"===xt.method?(0,c.inject)(Dt).handle(xt):bt(xt)}let ut=(()=>{class xt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>_e(pt,nn=>qt.handle(nn)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const Pe=/^\)\]\}',?\n/;let Pt=(()=>{class xt{constructor(pt){this.xhrFactory=pt}handle(pt){if("JSONP"===pt.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(pt.method,pt.urlWithParams),pt.withCredentials&&(sn.withCredentials=!0),pt.headers.forEach((Tn,Rn)=>sn.setRequestHeader(Tn,Rn.join(","))),pt.headers.has("Accept")||sn.setRequestHeader("Accept","application/json, text/plain, */*"),!pt.headers.has("Content-Type")){const Tn=pt.detectContentTypeHeader();null!==Tn&&sn.setRequestHeader("Content-Type",Tn)}if(pt.responseType){const Tn=pt.responseType.toLowerCase();sn.responseType="json"!==Tn?Tn:"text"}const Nn=pt.serializeBody();let wn=null;const Xn=()=>{if(null!==wn)return wn;const Tn=sn.statusText||"OK",Rn=new D(sn.getAllResponseHeaders()),Wn=function mt(xt){return"responseURL"in xt&&xt.responseURL?xt.responseURL:/^X-Request-URL:/m.test(xt.getAllResponseHeaders())?xt.getResponseHeader("X-Request-URL"):null}(sn)||pt.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"===pt.responseType&&"string"==typeof Yn){const ri=Yn;Yn=Yn.replace(Pe,"");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"===pt.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),pt.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),pt.reportProgress&&(sn.removeEventListener("progress",an),null!==Nn&&sn.upload&&sn.upload.removeEventListener("progress",mn)),sn.readyState!==sn.DONE&&sn.abort()}})))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(l.XhrFactory))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();const Ft=new c.InjectionToken("XSRF_ENABLED"),Gt="XSRF-TOKEN",Oe=new c.InjectionToken("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Gt}),Ke="X-XSRF-TOKEN",he=new c.InjectionToken("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Ke});class ge{}let ct=(()=>{class xt{constructor(pt,qt,nn){this.doc=pt,this.platform=qt,this.cookieName=nn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const pt=this.doc.cookie||"";return pt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,l.\u0275parseCookieValue)(pt,this.cookieName),this.lastCookieString=pt),this.lastToken}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(l.DOCUMENT),c.\u0275\u0275inject(c.PLATFORM_ID),c.\u0275\u0275inject(Oe))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();function Me(xt,bt){const pt=xt.url.toLowerCase();if(!(0,c.inject)(Ft)||"GET"===xt.method||"HEAD"===xt.method||pt.startsWith("http://")||pt.startsWith("https://"))return bt(xt);const qt=(0,c.inject)(ge).getToken(),nn=(0,c.inject)(he);return null!=qt&&!xt.headers.has(nn)&&(xt=xt.clone({headers:xt.headers.set(nn,qt)})),bt(xt)}let Ye=(()=>{class xt{constructor(pt){this.injector=pt}intercept(pt,qt){return this.injector.runInContext(()=>Me(pt,nn=>qt.handle(nn)))}}return xt.\u0275fac=function(pt){return new(pt||xt)(c.\u0275\u0275inject(c.EnvironmentInjector))},xt.\u0275prov=c.\u0275\u0275defineInjectable({token:xt,factory:xt.\u0275fac}),xt})();var De=function(xt){return xt[xt.Interceptors=0]="Interceptors",xt[xt.LegacyInterceptors=1]="LegacyInterceptors",xt[xt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",xt[xt.NoXsrfProtection=3]="NoXsrfProtection",xt[xt.JsonpSupport=4]="JsonpSupport",xt[xt.RequestsMadeViaParent=5]="RequestsMadeViaParent",xt[xt.Fetch=6]="Fetch",xt}(De||{});function F(xt,bt){return{\u0275kind:xt,\u0275providers:bt}}function V(...xt){const bt=[ve,Pt,at,{provide:y,useExisting:at},{provide:x,useExisting:Pt},{provide:Le,useValue:Me,multi:!0},{provide:Ft,useValue:!0},{provide:ge,useClass:ct}];for(const pt of xt)bt.push(...pt.\u0275providers);return(0,c.makeEnvironmentProviders)(bt)}function Q(xt){return F(De.Interceptors,xt.map(bt=>({provide:Le,useValue:bt,multi:!0})))}const be=new c.InjectionToken("LEGACY_INTERCEPTOR_FN");function dt(){return F(De.LegacyInterceptors,[{provide:be,useFactory:ze},{provide:Le,useExisting:be,multi:!0}])}function Rt({cookieName:xt,headerName:bt}){const pt=[];return void 0!==xt&&pt.push({provide:Oe,useValue:xt}),void 0!==bt&&pt.push({provide:he,useValue:bt}),F(De.CustomXsrfConfiguration,pt)}function qe(){return F(De.NoXsrfProtection,[{provide:Ft,useValue:!1}])}function nt(){return F(De.JsonpSupport,[Dt,{provide:Te,useFactory:et},{provide:Le,useValue:_e,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,[Ge,{provide:x,useExisting:Ge}])}let At=(()=>{class xt{static disable(){return{ngModule:xt,providers:[qe().\u0275providers]}}static withOptions(pt={}){return{ngModule:xt,providers:Rt(pt).\u0275providers}}}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[Ye,{provide:Lt,useExisting:Ye,multi:!0},{provide:ge,useClass:ct},Rt({cookieName:Gt,headerName:Ke}).\u0275providers,{provide:Ft,useValue:!0}]}),xt})(),on=(()=>{class xt{}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[V(dt())]}),xt})(),xn=(()=>{class xt{}return xt.\u0275fac=function(pt){return new(pt||xt)},xt.\u0275mod=c.\u0275\u0275defineNgModule({type:xt}),xt.\u0275inj=c.\u0275\u0275defineInjector({providers:[nt().\u0275providers]}),xt})();const Sn=new c.InjectionToken(""),_n=["GET","HEAD"];function Mn(xt,bt){const{isCacheActive:pt}=(0,c.inject)(Sn);if(!pt||!_n.includes(xt.method))return bt(xt);const qt=(0,c.inject)(c.TransferState),nn=function fi(xt){const{params:bt,method:pt,responseType:qt,url:nn}=xt,Nn=function Vi(xt){let bt=0;for(const pt of xt)bt=Math.imul(31,bt)+pt.charCodeAt(0)<<0;return bt+=2147483648,bt.toString()}(pt+"."+qt+"."+nn+"?"+bt.keys().sort().map(wn=>`${wn}=${bt.getAll(wn)}`).join("&"));return(0,c.makeStateKey)(Nn)}(xt),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 bt(xt).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:xt.responseType})}))}function xi(xt){const bt={};for(const pt of xt.keys()){const qt=xt.getAll(pt);null!==qt&&(bt[pt]=qt)}return bt}function Yi(){return[{provide:Sn,useFactory:()=>((0,c.inject)(c.\u0275ENABLED_SSR_FEATURES).add("httpcache"),{isCacheActive:!0})},{provide:lt,useValue:Mn,multi:!0,deps:[c.TransferState,Sn]},{provide:c.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const xt=(0,c.inject)(c.ApplicationRef),bt=(0,c.inject)(Sn);return()=>{xt.isStable.pipe((0,_.P)(pt=>pt)).toPromise().then(()=>{bt.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:()=>ce,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:()=>dt,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:()=>bt,\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:()=>Rt,\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:()=>Pe,\u0275injectChangeDetectorRef:()=>j_,\u0275internalCreateApplication:()=>Nx,\u0275isBoundToModule:()=>w_,\u0275isEnvironmentProviders:()=>I,\u0275isInjectable:()=>lt,\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:()=>ue,\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:()=>Lt,\u0275\u0275defineNgModule:()=>se,\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:()=>Q,\u0275\u0275injectAttribute:()=>hc,\u0275\u0275invalidFactory:()=>Rm,\u0275\u0275invalidFactoryDep:()=>be,\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),f=a(2096),h=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 de(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 Lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Le(e){return ze(e,oe)||ze(e,ne)}function lt(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(K))?e[Y]:null}const oe=p({\u0275prov:p}),Y=p({\u0275inj:p}),ne=p({ngInjectableDef:p}),K=p({ngInjectorDef:p});var ce=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}(ce||{});let Te;function et(){return Te}function Dt(e){const t=Te;return Te=e,t}function _e(e,t,i){const o=Le(e);return o&&"root"==o.providedIn?void 0===o.value?o.value=o.factory():o.value:i&ce.Optional?null:void 0!==t?t:void de(l(e))}const Pe=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Gt={},Oe="__NG_DI_FLAG__",Ke="ngTempTokenPath",ge=/\n/gm,Me="__source";let Ye;function F(e){const t=Ye;return Ye=e,t}function V(e,t=ce.Default){if(void 0===Ye)throw new ee(-203,!1);return null===Ye?_e(e,void 0,t):Ye.get(e,t&ce.Optional?null:void 0,t)}function Q(e,t=ce.Default){return(et()||V)(S(e),t)}function be(e){throw new ee(202,!1)}function dt(e,t=ce.Default){return Q(e,Rt(t))}function Rt(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 zt=8&o?Ut:null;if(zt&&-1!==qt(zt,ye,0)||2&o&&ye!==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 se(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 kt(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:kt(e.inputs,t),outputs:kt(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,Ot=10,C=11,te=12,Ne=13,ot=14,Zt=15,Pn=16,ji=17,Pi=18,Li=19,Qi=20,Ui=21,ir=22,wt=23,vt=24,gt=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(xt)?e[xt]: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=Pe.WeakRef??class je{constructor(t){this.ref=t}deref(){return this.ref}};function ue(e){}let Fe=0,it=null,It=!1;function Et(e){const t=it;return it=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===it)return;let t=it.producers.get(this.id);void 0===t?(t={consumerNode:it.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:it.trackingVersion},it.producers.set(this.id,t),this.consumers.set(it.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=it.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==it?.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=Et(this);let o;try{o=this.computation()}catch(s){o=pi,this.error=s}finally{Et(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=Et(null);try{return e()}finally{Et(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=Et(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=rr,this.watch(this.registerOnCleanup)}finally{Et(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 $t(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&ce.SkipSelf){let s=t,m=e;for(;!(s=s.parent,null!==s||i&ce.Host||(s=rc(m),null===s||(m=m[ot],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[ot],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 ye=0;ye<8;ye++)t[m+ye]=R[M+ye]|z[M+ye]}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[ot],-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(bt)&&(o=i[bt]),null==o&&(o=i[bt]=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&ce.Host?xh(s,0,o):Eh(t,i,o,s);try{const M=m(o);if(null!=M||o&ce.Optional)return M;de()}finally{q()}}else if("number"==typeof m){let M=null,R=Mh(e,t),z=Ko,ye=o&ce.Host?t[Zt][Ai]:null;for((-1===R||o&ce.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 $e=t[tn];if(Th(m,R,$e.data)){const ft=mb(R,t,i,M,o,ye);if(ft!==so)return ft}z=t[R+8],z!==Ko&&Ih(o,t[tn].data[R+8]===ye)&&Th(m,R,t)?(M=$e,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],$e=Hs(R,M,i,null==o?ni(R)&&sc:o!=M&&0!=(3&R.type),s&ce.Host&&m===R);return null!==$e?Ro(t,M,$e,R):so}function Hs(e,t,i,o,s){const m=e.providerIndexes,M=t.data,R=1048575&m,z=e.directiveStart,$e=m>>20,Ut=s?R+$e:e.directiveEnd;for(let zt=o?R:R+$e;zt=z&&rn.type===i)return zt}if(s){const zt=M[z];if(zt&&Ii(zt)&&zt.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 Ce(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,ce.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[xt]||dc(t),o=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==o;){const m=s[xt]||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($e){return s&&s($e,...R),($e.hasOwnProperty(Qo)?$e[Qo]:Object.defineProperty($e,Qo,{value:[]})[Qo]).push(z),o&&o($e),$e}}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,ye,$e){const ft=z.hasOwnProperty(Zo)?z[Zo]:Object.defineProperty(z,Zo,{value:[]})[Zo];for(;ft.length<=$e;)ft.push(null);return(ft[$e]=ft[$e]||[]).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(ye,$e){if(void 0===ye)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const ft=ye.constructor,Ut=ft.hasOwnProperty(Xo)?ft[Xo]:Object.defineProperty(ft,Xo,{value:{}})[Xo];Ut[$e]=Ut.hasOwnProperty($e)&&Ut[$e]||[],Ut[$e].unshift(R),o&&o(ye,$e,...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=Pe.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($e=>$e&&$e.type),ye=R.map($e=>$e&&pc($e.decorators));return this._zipTypesAndAnnotations(z,ye)}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=nt(qo("Inject",e=>({token:e})),-1),Gs=nt(qo("Optional"),8),Uh=nt(qo("Self"),2),Ws=nt(qo("SkipSelf"),4),Bh=nt(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=[]),ye=s.styles.length;R&&R.forEach((ft,Ut)=>{z.push(""),M.push(o(ft).then(zt=>{z[ye+Ut]=zt,R.splice(R.indexOf(ft),1),0==R.length&&(s.styleUrls=void 0)}))});const $e=Promise.all(M).then(()=>function Nb(e){Qa.delete(e)}(m));t.push($e)}),$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=gt;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,Pe.trustedTypes))try{al=Pe.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[Ot].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=Gt){if(i===Gt){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 ye of z)Hc(ye,t,i,o)}}else{if(!m)return!1;{if(null!=m.imports&&!R){let ye;o.add(s);try{Ka(m.imports,$e=>{Hc($e,t,i,o)&&(ye||=[],ye.push($e))})}finally{}void 0!==ye&&Xf(ye,t)}if(!R){const ye=or(s)||(()=>new s);t.push({provide:s,useFactory:ye,deps:Mn},{provide:Kf,useValue:s,multi:!0},{provide:is,useValue:()=>Q(s),multi:!0})}const z=m.providers;null==z||R||zc(z,$e=>{t.push($e)})}}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,ce.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=Gt,o=ce.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(pt))return t[pt](this);o=Rt(o);const s=F(this),m=Dt(void 0);try{if(!(o&ce.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&ce.Self?ul():this.parent).get(t,i=o&ce.Optional&&i===Gt?null:i)}catch(M){if("NullInjectorError"===M.name){if((M[Ke]=M[Ke]||[]).unshift(l(t)),s)throw M;return function yt(e,t,i,o){const s=e[Ke];throw t[Me]&&s.unshift(t[Me]),e.message=function At(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(ge,"\n ")}`}("\n"+e.message,s,i,o),e.ngTokenPath=s,e[Ke]=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,ce.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=()=>Q(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"===dt(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(),dt(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[gt]),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=Et(this);this.trackingVersion++;try{t(i,o)}finally{Et(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(!et()&&!function De(){return Ye}())throw new ee(-203,!1)}const Am={\u0275\u0275defineInjectable:Bt,\u0275\u0275defineInjector:Lt,\u0275\u0275inject:Q,\u0275\u0275invalidFactoryDep:be,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(xt)||Object.defineProperty(e,xt,{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=Gt,e.NULL=new Yf,e.\u0275prov=Bt({token:e,providedIn:"any",factory:()=>Q(Vc)}),e.__NG_ELEMENT_ID__=-1,e})();function ua(e,t=ce.Default){const i=dn();return null===i?Q(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,ye,$e){const ft=t.blueprint.slice();return ft[Cn]=s,ft[En]=140|o,(null!==ye||e&&2048&e[En])&&(ft[En]|=2048),Jn(ft),ft[ei]=ft[ot]=e,ft[yi]=i,ft[Ot]=M||e&&e[Ot],ft[C]=R||e&&e[C],ft[Je]=z||e&&e[Je]||null,ft[Ai]=m,ft[Li]=function Yb(){return Kb++}(),ft[ir]=$e,ft[Qi]=ye,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;mgt&&Im(e,t,gt,!1),ci(R?2:0,s),R)m.runInContext(i,o,s);else{const ye=Et(null);try{i(o,s)}finally{Et(ye)}}}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=Et(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 $e,ye=t.inputs;!R&&null!=ye&&($e=ye[o])?(yu(e,i,$e,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,ye=>{this.all.has(ye)&&this.queue.set(ye,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??dt(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=Rt(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 $e={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",zt=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,$e,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=gt;return e[o]=t,da(i,o,2,"#host",null)}(ln,zt),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 ye=m.rendererFactory.createRenderer(t,i);let $e=16;i.signals?$e=4096:i.onPush&&($e=64);const ft=_l(s,Nm(i),null,$e,s[e.index],e,m,ye,null,null,z);return R.firstCreatePass&&gu(R,e,o.length-1),bl(s,ft),s[e.index]=ft}(OE,zt,Ri,vr,ln,$e,ft);Si=ht(zn,gt),zt&&function h1(e,t,i,o){if(o)nn(e,i,["ng-version",mm.full]);else{const{attrs:s,classes:m}=function Mt(e){const t=[],i=[];let o=1,s=2;for(;o0&&Tf(e,i,m.join(" "))}}(ft,Ri,zt,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-gt}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,ye,$e]of m.matchAll(/(f|n)(\d*)/g)){const ft=parseInt($e,10)||1;R.push(ye,ft)}return[M,...R]}(e);let s;return s=i===Xc?t[Zt][Cn]:i===qc?lu(t[Zt][Cn]):di(t[Number(i)+gt]),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-gt)):(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(),ye=Di(),$e=e+gt,ft=ye.firstCreatePass?function B1(e,t,i,o,s,m,M,R,z){const ye=t.consts,$e=da(t,e,4,M||null,Ci(ye,R));pu(t,i,$e,Ci(ye,z)),Ps(t,$e);const ft=$e.tView=mu(2,$e,o,s,m,t.directiveRegistry,t.pipeRegistry,null,t.schemas,ye,null);return null!==t.queries&&(t.queries.template(t,$e),ft.queries=t.queries.embeddedTView($e)),$e}($e,ye,z,t,i,o,s,m,M):ye.data[$e];zr(ft,!1);const Ut=bp(ye,z,ft,e);Io()&&il(ye,z,Ut,ft),br(Ut,z),bl(z,z[$e]=zm(Ut,z,Ut,ft)),oi(ft)&&hu(ye,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 $t(function As(){return Zn.lFrame.contextLView}(),gt+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=gt+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],ye=Mp(m,s,z,R,t,e);s[M]=ye;const $e=oi(z);return zr(z,!0),If(R,ye,z),32!=(32&z.flags)&&Io()&&il(m,s,ye,z),0===function Nr(){return Zn.lFrame.elementDepthCount}()&&br(ye,s),function Zr(){Zn.lFrame.elementDepthCount++}(),$e&&(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+gt,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),ye=e.firstCreatePass&&Wm(e),$e=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,$e,m,!1);const Si=i.listen(kn,s,m);ft.push(m,Si),ye&&ye.push(s,ln,zn,zn+1)}}else m=Ip(o,t,$e,m,!1);const zt=o.outputs;let rn;if(Ut&&null!==zt&&(rn=zt[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),ye=m.__ngNextListenerFn__;for(;ye;)z=Tp(t,i,ye,M)&&z,ye=ye.__ngNextListenerFn__;return s&&!1===z&&M.preventDefault(),z}}function Sp(e=1){return function rt(e){return(Zn.lFrame.contextLView=function st(e,t){for(;e>0;)t=t[ot],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 $e=e[R+1];tC(e[R],t)&&(z=!0,e[R+1]=o?id($e):td($e)),R=o?Lo($e):Ho($e)}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,ye=0,$e=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)&&(ye=!0)):$e=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;ye&&(e[o+1]=td(e[o+1])),kp(e,$e,o,!0),kp(e,$e,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,$e,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],ye=Array.isArray(z),$e=ye?z[1]:z,ft=null===$e;let Ut=i[s+1];Ut===gi&&(Ut=ft?Mn:void 0);let zt=ft?mc(Ut,o):$e===o?Ut:void 0;if(ye&&!Ol(zt)&&(zt=mc(z,o)),Ol(zt)&&(R=zt,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+gt,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 ye=dn(),$e=ba(ye,e,t,i,o,s,m,M,R,z);return $e!==gi&&xo(ye,Vt(),$e),ud}function dd(e,t,i,o,s,m,M,R,z,ye,$e){const ft=dn(),Ut=ya(ft,e,t,i,o,s,m,M,R,z,ye,$e);return Ut!==gi&&xo(ft,Vt(),Ut),dd}function hd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){const zt=dn(),rn=va(zt,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut);return rn!==gi&&xo(zt,Vt(),rn),hd}function fd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){const bn=dn(),kn=Ca(bn,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn);return kn!==gi&&xo(bn,Vt(),kn),fd}function md(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){const zn=dn(),ln=Ma(zn,e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){to(Ur,uo,ya(dn(),e,t,i,o,s,m,M,R,z,ye,$e),!0)}function Jp(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){to(Ur,uo,va(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut),!0)}function e0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){to(Ur,uo,Ca(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn),!0)}function t0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){to(Ur,uo,Ma(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){Jr(ya(dn(),e,t,i,o,s,m,M,R,z,ye,$e))}function c0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){Jr(va(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut))}function u0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){Jr(Ca(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn))}function d0(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){Jr(Ma(dn(),e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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,ye,$e){return eo(e,ba(dn(),t,i,o,s,m,M,R,z,ye),$e,!1),yd}function vd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut){return eo(e,ya(dn(),t,i,o,s,m,M,R,z,ye,$e,ft),Ut,!1),vd}function Cd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn){return eo(e,va(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt),rn,!1),Cd}function Md(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn){return eo(e,Ca(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn),kn,!1),Md}function xd(e,t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,rn,bn,kn,zn,ln){return eo(e,Ma(dn(),t,i,o,s,m,M,R,z,ye,$e,ft,Ut,zt,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]=Pe.ng&&Pe.ng.common&&Pe.ng.common.locales&&Pe.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 Ge(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,zt,rn,null)}else switch(z){case Nl:const ye=t[++R],$e=t[++R];null===i[$e]&&br(i[$e]=Dc(s,ye),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&$e){case 1:const Ut=i[++ye],zt=i[++ye],rn=e.data[ft];"string"==typeof rn?_u(t[C],t[ft],null,rn,Ut,z,zt):Br(e,rn,t,Ut,z,t[C],zt,!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 $e=bs(e,z>>>2);t[$e.currentCaseLViewIndex]<0&&D0(e,$e,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 ye=Fl(R,z);o=null!==ye?R.remove[ye]: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=[],ye=[],$e=[];t.cases.push(m),t.create.push(z),t.remove.push(ye),t.update.push($e);const Ut=Rf(es()).getInertBodyElement(M),zt=Fc(Ut)||Ut;return zt?O0(e,t,i,o,z,ye,$e,zt,s,R,0):0}function O0(e,t,i,o,s,m,M,R,z,ye,$e){let ft=0,Ut=R.firstChild;for(;Ut;){const zt=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,zt),e.data[zt]=bn;const hi=rn.attributes;for(let Si=0;Si>>Or.SHIFT;let ft=e[$e];null===ft&&(ft=e[$e]=(M&Or.COMMENT)===Or.COMMENT?s.createComment(R):el(s,R)),ye&&null!==i&&No(s,i,ft,o,!1)}})(s,z.create,$e,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+gt)}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,ye=o[z]||[];if(ye.length||(z.split("|").forEach(bn=>{const kn=bn.match(hM),zn=kn?parseInt(kn[1],10):P0,ln=dM.test(bn);ye.push([zn,ln,bn])}),o[z]=ye),!ye.length)throw new Error(`i18n postprocess: unmatched placeholder - ${z}`);const $e=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 zt=new za(z,s,ua),rn=Nd(R,t,s?$e:$e+Ut,ft);-1===rn?(uc(js(ye,M),m,R),Pd(m,e,t.length),t.push(R),ye.directiveStart++,ye.directiveEnd++,s&&(ye.providerIndexes+=1048576),i.push(zt),M.push(zt)):(i[rn]=zt,M[rn]=zt)}else{const zt=Nd(R,t,$e+Ut,ft),rn=Nd(R,t,$e,$e+Ut),kn=rn>=0&&i[rn];if(s&&!kn||!s&&!(zt>=0&&i[zt])){uc(js(ye,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),ye.directiveStart++,ye.directiveEnd++,s&&(ye.providerIndexes+=1048576),i.push(zn),M.push(zn)}else Pd(m,e,zt>-1?zt:rn,V0(i[s?rn:zt],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 ye=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const $e=ye.indexOf(i);-1===$e?ye.push(i,[o,z]):ye[$e+1].push(o,z)}else ye.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(Q(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,ye=dn(),$e=Gr(ye,z,i,o,s,m);return yr(ye,z+4,M)||$e?co(ye,z+5,R?t.call(R,i,o,s,m,M):t(i,o,s,m,M)):fs(ye,z+5)}function ag(e,t,i,o,s,m,M,R,z){const ye=hr()+e,$e=dn(),ft=Gr($e,ye,i,o,s,m);return jo($e,ye+4,M,R)||ft?co($e,ye+6,z?t.call(z,i,o,s,m,M,R):t(i,o,s,m,M,R)):fs($e,ye+6)}function sg(e,t,i,o,s,m,M,R,z,ye){const $e=hr()+e,ft=dn();let Ut=Gr(ft,$e,i,o,s,m);return xl(ft,$e+4,M,R,z)||Ut?co(ft,$e+7,ye?t.call(ye,i,o,s,m,M,R,z):t(i,o,s,m,M,R,z)):fs(ft,$e+7)}function lg(e,t,i,o,s,m,M,R,z,ye,$e){const ft=hr()+e,Ut=dn(),zt=Gr(Ut,ft,i,o,s,m);return Gr(Ut,ft+4,M,R,z,ye)||zt?co(Ut,ft+8,$e?t.call($e,i,o,s,m,M,R,z,ye):t(i,o,s,m,M,R,z,ye)):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 ye=t+i;return Gr(e,ye,s,m,M,R)?co(e,ye+4,z?o.call(z,s,m,M,R):o(s,m,M,R)):xs(e,ye+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+gt,s=dn(),m=$t(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+gt,m=dn(),M=$t(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+gt,M=dn(),R=$t(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+gt,R=dn(),z=$t(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+gt,s=dn(),m=$t(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 ye=this._declarationLView[Pi];return null!==ye&&(R[Pi]=ye.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)),ye=o||this.parentInjector;if(!m&&null==z.ngModule){const kn=(M?ye:this.parentInjector).get(Vo,null);kn&&(m=kn)}const $e=gn(z.componentType??{}),ft=xg(this._lContainer,$e?.id??null),zt=z.create(ye,s,ft?.firstChild??null,m),rn=!!ft&&!Xs(this._hostTNode);return this.insertImpl(zt.hostView,R,rn),zt}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 ye=s[ei],$e=new Eg(ye,ye[Ai],ye[ei]);$e.detach($e.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,ye);e[Jt]=$e,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 ye=m[R+1],$e=t[-z];for(let ft=On;ft<$e.length;ft++){const Ut=$e[ft];Ut[Pn]===Ut[ei]&&Kd(Ut[tn],Ut,ye,o)}if(null!==$e[vn]){const ft=$e[vn];for(let Ut=0;Ut({\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:Lt,\u0275\u0275defineNgModule:se,\u0275\u0275definePipe:un,\u0275\u0275directiveInject:ua,\u0275\u0275getInheritedFactory:Sh,\u0275\u0275inject:Q,\u0275\u0275injectAttribute:hc,\u0275\u0275invalidFactory:Rm,\u0275\u0275invalidFactoryDep:be,\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,xt,{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 ye=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&ye.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&ye.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),ye.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(ye.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 ye=$r(t.imports||Mn),{directiveDefs:$e,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 ye=Go(z);for(const $e of ye.exported.directives){const ft=gn($e)||pn($e);ft&&!M.has($e)&&(M.add($e),i.push(ft))}}else{const ye=gn(z)||pn(z);ye&&i.push(ye)}}}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 ye=Go(z);for(const $e of ye.exported.pipes){const ft=si($e);ft&&!M.has($e)&&(M.add($e),o.push(ft))}}else{const ye=si(z);ye&&o.push(ye)}}}return o}}}(e,ye);i.directiveDefs=$e,i.pipeDefs=ft,i.dependencies=()=>ye.map(S)}}finally{Jd--}if(0===Jd&&Vg(),function sx(e){return void 0!==e.ngSelectorScope}(e)){const ye=Go(e.ngSelectorScope);qd(i,ye)}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,xt,{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=dt(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:()=>dt(Wl,ce.Optional|ce.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)&&Pe){let o=Pe[h_];o||(o=Pe[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 Pe.requestAnimationFrame;let t=Pe[e?"requestAnimationFrame":"setTimeout"],i=Pe[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(Pe,()=>{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=dt(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,h.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)(Q(Ir),Q(M_),Q(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 ye=R.get(la,null);let $e;z.runOutsideAngular(()=>{$e=z.onError.subscribe({next:zt=>{ye.handleError(zt)}})});const ft=()=>R.destroy(),Ut=s.get(oh);return Ut.add(ft),R.onDestroy(()=>{$e.unsubscribe(),Ut.delete(ft)}),O_(ye,z,()=>{const zt=R.get(Gl);return zt.runInitializers(),zt.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)(Q(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=dt(N_),this.zoneIsStable=dt(b_),this.componentTypes=[],this.components=[],this.isStable=dt(c_).hasPendingTasks.pipe((0,u.w)(i=>i?(0,f.of)(!1):this.zoneIsStable),(0,v.x)(),(0,h.B)()),this._injector=dt(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),ye=M.create(Ao.NULL,[],o||M.selector,R),$e=ye.location.nativeElement,ft=ye.injector.get(v_,null);return ft?.registerApplication($e),ye.onDestroy(()=>{this.detachView(ye.hostView),Yl(this.components,ye),ft?.unregisterApplication($e)}),this._loadComponent(ye),ye}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:()=>dt(la).handleError.bind(void 0)});function Bx(){const e=dt(Ir),t=dt(la);return i=>e.runOutsideAngular(()=>t.handleError(i))}let Vx=(()=>{class e{constructor(){this.zone=dt(Ir),this.applicationRef=dt(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=dt(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 $e=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],ye=R[Ai].projection[e.projection];if(Array.isArray(ye))for(let $e of ye)ch($e,i,o,s,m);else if(ye){const $e=R[ei];Wo($e[tn].data[ye.index],$e,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)(Q(Ia))},e.\u0275mod=se({type:e}),e.\u0275inj=Lt({}),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 ye=z[Cn];ye&&!ye.hasAttribute(ta)&&(gh(ye,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&&$e===o){const ft=i[i.length-1];ft[dl]??=1,ft[dl]++}else o=$e,i.push(ye)}return i}function ph(e,t,i){const o=t.index-gt;e[tu]??={},e[tu][o]=U1(t,i)}function eb(e,t){const i=t.index-gt;e[hl]??=[],e[hl].includes(i)||e[hl].push(i)}function tb(e,t){const i={},o=e[tn];for(let s=gt;s{let e=!0;return Ql()&&(e=!!dt(rs,{optional:!0})?.get(nu,null)),e&&dt(im).add("hydration"),e}},{provide:is,useValue:()=>{Ql()&&dt(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()&&dt(us)},{provide:ah,useFactory:()=>{if(Ql()&&dt(us)){const e=dt(Ia);return dt(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:()=>dt,AbstractControlDirective:()=>_t,AbstractFormGroupDirective:()=>Mt,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:()=>Rt,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:()=>nt,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 f=(()=>{class fe{constructor(J,We){this._renderer=J,this._elementRef=We,this.onChange=Xt=>{},this.onTouched=()=>{}}setProperty(J,We){this._renderer.setProperty(this._elementRef.nativeElement,J,We)}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})(),h=(()=>{class fe extends f{}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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 h{writeValue(J){this.setProperty("checked",J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.checked)})("blur",function(){return We.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 f{constructor(J,We,Xt){super(J,We),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,We){1&J&&n.\u0275\u0275listener("input",function(Dn){return We._handleInput(Dn.target.value)})("blur",function(){return We.onTouched()})("compositionstart",function(){return We._compositionStart()})("compositionend",function(Dn){return We._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(le){return $(le)}static max(le){return ee(le)}static required(le){return ie(le)}static requiredTrue(le){return A(le)}static email(le){return U(le)}static minLength(le){return Ce(le)}static maxLength(le){return Re(le)}static pattern(le){return Ae(le)}static nullValidator(le){return null}static compose(le){return G(le)}static composeAsync(le){return ae(le)}}function $(fe){return le=>{if(x(le.value)||x(fe))return null;const J=parseFloat(le.value);return!isNaN(J)&&J{if(x(le.value)||x(fe))return null;const J=parseFloat(le.value);return!isNaN(J)&&J>fe?{max:{max:fe,actual:le.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 Ce(fe){return le=>x(le.value)||!D(le.value)?null:le.value.lengthD(le.value)&&le.value.length>fe?{maxlength:{requiredLength:fe,actualLength:le.value.length}}:null}function Ae(fe){if(!fe)return de;let le,J;return"string"==typeof fe?(J="","^"!==fe.charAt(0)&&(J+="^"),J+=fe,"$"!==fe.charAt(fe.length-1)&&(J+="$"),le=new RegExp(J)):(J=fe.toString(),le=fe),We=>{if(x(We.value))return null;const Xt=We.value;return le.test(Xt)?null:{pattern:{requiredPattern:J,actualValue:Xt}}}}function de(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 le={};return fe.forEach(J=>{le=null!=J?{...le,...J}:le}),0===Object.keys(le).length?null:le}function we(fe,le){return le.map(J=>J(fe))}function Be(fe){return fe.map(le=>function Ee(fe){return!fe.validate}(le)?le:J=>le.validate(J))}function G(fe){if(!fe)return null;const le=fe.filter(H);return 0==le.length?null:function(J){return pe(we(J,le))}}function re(fe){return null!=fe?G(Be(fe)):null}function ae(fe){if(!fe)return null;const le=fe.filter(H);return 0==le.length?null:function(J){const We=we(J,le).map(W);return(0,g.D)(We).pipe((0,r.U)(pe))}}function ve(fe){return null!=fe?ae(Be(fe)):null}function He(fe,le){return null===fe?[le]:Array.isArray(fe)?[...fe,le]:[fe,le]}function Ze(fe){return fe._rawValidators}function Qe(fe){return fe._rawAsyncValidators}function Ge(fe){return fe?Array.isArray(fe)?fe:[fe]:[]}function tt(fe,le){return Array.isArray(fe)?fe.includes(le):fe===le}function Ct(fe,le){const J=Ge(le);return Ge(fe).forEach(Xt=>{tt(J,Xt)||J.push(Xt)}),J}function Nt(fe,le){return Ge(le).filter(J=>!tt(fe,J))}class _t{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(le){this._rawValidators=le||[],this._composedValidatorFn=re(this._rawValidators)}_setAsyncValidators(le){this._rawAsyncValidators=le||[],this._composedAsyncValidatorFn=ve(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(le){this._onDestroyCallbacks.push(le)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(le=>le()),this._onDestroyCallbacks=[]}reset(le=void 0){this.control&&this.control.reset(le)}hasError(le,J){return!!this.control&&this.control.hasError(le,J)}getError(le,J){return this.control?this.control.getError(le,J):null}}class Bt extends _t{get formDirective(){return null}get path(){return null}}class Tt extends _t{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Lt{constructor(le){this._cd=le}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 Lt{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,We){2&J&&n.\u0275\u0275classProp("ng-untouched",We.isUntouched)("ng-touched",We.isTouched)("ng-pristine",We.isPristine)("ng-dirty",We.isDirty)("ng-valid",We.isValid)("ng-invalid",We.isInvalid)("ng-pending",We.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})(),at=(()=>{class fe extends Lt{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,We){2&J&&n.\u0275\u0275classProp("ng-untouched",We.isUntouched)("ng-touched",We.isTouched)("ng-pristine",We.isPristine)("ng-dirty",We.isDirty)("ng-valid",We.isValid)("ng-invalid",We.isInvalid)("ng-pending",We.isPending)("ng-submitted",We.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const Ke="VALID",he="INVALID",ge="PENDING",ct="DISABLED";function Me(fe){return(V(fe)?fe.validators:fe)||null}function De(fe,le){return(V(le)?le.asyncValidators:fe)||null}function V(fe){return null!=fe&&!Array.isArray(fe)&&"object"==typeof fe}function Q(fe,le,J){const We=fe.controls;if(!(le?Object.keys(We):We).length)throw new n.\u0275RuntimeError(1e3,"");if(!We[J])throw new n.\u0275RuntimeError(1001,"")}function be(fe,le,J){fe._forEachChild((We,Xt)=>{if(void 0===J[Xt])throw new n.\u0275RuntimeError(1002,"")})}class dt{constructor(le,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(le),this._assignAsyncValidators(J)}get validator(){return this._composedValidatorFn}set validator(le){this._rawValidators=this._composedValidatorFn=le}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(le){this._rawAsyncValidators=this._composedAsyncValidatorFn=le}get parent(){return this._parent}get valid(){return this.status===Ke}get invalid(){return this.status===he}get pending(){return this.status==ge}get disabled(){return this.status===ct}get enabled(){return this.status!==ct}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(le){this._assignValidators(le)}setAsyncValidators(le){this._assignAsyncValidators(le)}addValidators(le){this.setValidators(Ct(le,this._rawValidators))}addAsyncValidators(le){this.setAsyncValidators(Ct(le,this._rawAsyncValidators))}removeValidators(le){this.setValidators(Nt(le,this._rawValidators))}removeAsyncValidators(le){this.setAsyncValidators(Nt(le,this._rawAsyncValidators))}hasValidator(le){return tt(this._rawValidators,le)}hasAsyncValidator(le){return tt(this._rawAsyncValidators,le)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(le={}){this.touched=!0,this._parent&&!le.onlySelf&&this._parent.markAsTouched(le)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(le=>le.markAllAsTouched())}markAsUntouched(le={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(J=>{J.markAsUntouched({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}markAsDirty(le={}){this.pristine=!1,this._parent&&!le.onlySelf&&this._parent.markAsDirty(le)}markAsPristine(le={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(J=>{J.markAsPristine({onlySelf:!0})}),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}markAsPending(le={}){this.status=ge,!1!==le.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!le.onlySelf&&this._parent.markAsPending(le)}disable(le={}){const J=this._parentMarkedDirty(le.onlySelf);this.status=ct,this.errors=null,this._forEachChild(We=>{We.disable({...le,onlySelf:!0})}),this._updateValue(),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...le,skipPristineCheck:J}),this._onDisabledChange.forEach(We=>We(!0))}enable(le={}){const J=this._parentMarkedDirty(le.onlySelf);this.status=Ke,this._forEachChild(We=>{We.enable({...le,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent}),this._updateAncestors({...le,skipPristineCheck:J}),this._onDisabledChange.forEach(We=>We(!1))}_updateAncestors(le){this._parent&&!le.onlySelf&&(this._parent.updateValueAndValidity(le),le.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(le){this._parent=le}getRawValue(){return this.value}updateValueAndValidity(le={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ke||this.status===ge)&&this._runAsyncValidator(le.emitEvent)),!1!==le.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!le.onlySelf&&this._parent.updateValueAndValidity(le)}_updateTreeValidity(le={emitEvent:!0}){this._forEachChild(J=>J._updateTreeValidity(le)),this.updateValueAndValidity({onlySelf:!0,emitEvent:le.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ct:Ke}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(le){if(this.asyncValidator){this.status=ge,this._hasOwnPendingAsyncValidator=!0;const J=W(this.asyncValidator(this));this._asyncValidationSubscription=J.subscribe(We=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(We,{emitEvent:le})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(le,J={}){this.errors=le,this._updateControlsErrors(!1!==J.emitEvent)}get(le){let J=le;return null==J||(Array.isArray(J)||(J=J.split(".")),0===J.length)?null:J.reduce((We,Xt)=>We&&We._find(Xt),this)}getError(le,J){const We=J?this.get(J):this;return We&&We.errors?We.errors[le]:null}hasError(le,J){return!!this.getError(le,J)}get root(){let le=this;for(;le._parent;)le=le._parent;return le}_updateControlsErrors(le){this.status=this._calculateStatus(),le&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(le)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?ct:this.errors?he:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ge)?ge:this._anyControlsHaveStatus(he)?he:Ke}_anyControlsHaveStatus(le){return this._anyControls(J=>J.status===le)}_anyControlsDirty(){return this._anyControls(le=>le.dirty)}_anyControlsTouched(){return this._anyControls(le=>le.touched)}_updatePristine(le={}){this.pristine=!this._anyControlsDirty(),this._parent&&!le.onlySelf&&this._parent._updatePristine(le)}_updateTouched(le={}){this.touched=this._anyControlsTouched(),this._parent&&!le.onlySelf&&this._parent._updateTouched(le)}_registerOnCollectionChange(le){this._onCollectionChange=le}_setUpdateStrategy(le){V(le)&&null!=le.updateOn&&(this._updateOn=le.updateOn)}_parentMarkedDirty(le){return!le&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(le){return null}_assignValidators(le){this._rawValidators=Array.isArray(le)?le.slice():le,this._composedValidatorFn=function Ye(fe){return Array.isArray(fe)?re(fe):fe||null}(this._rawValidators)}_assignAsyncValidators(le){this._rawAsyncValidators=Array.isArray(le)?le.slice():le,this._composedAsyncValidatorFn=function F(fe){return Array.isArray(fe)?ve(fe):fe||null}(this._rawAsyncValidators)}}class Rt extends dt{constructor(le,J,We){super(Me(J),De(We,J)),this.controls=le,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(le,J){return this.controls[le]?this.controls[le]:(this.controls[le]=J,J.setParent(this),J._registerOnCollectionChange(this._onCollectionChange),J)}addControl(le,J,We={}){this.registerControl(le,J),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}removeControl(le,J={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}setControl(le,J,We={}){this.controls[le]&&this.controls[le]._registerOnCollectionChange(()=>{}),delete this.controls[le],J&&this.registerControl(le,J),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}contains(le){return this.controls.hasOwnProperty(le)&&this.controls[le].enabled}setValue(le,J={}){be(this,0,le),Object.keys(le).forEach(We=>{Q(this,!0,We),this.controls[We].setValue(le[We],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(le,J={}){null!=le&&(Object.keys(le).forEach(We=>{const Xt=this.controls[We];Xt&&Xt.patchValue(le[We],{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(le={},J={}){this._forEachChild((We,Xt)=>{We.reset(le[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this._reduceChildren({},(le,J,We)=>(le[We]=J.getRawValue(),le))}_syncPendingControls(){let le=this._reduceChildren(!1,(J,We)=>!!We._syncPendingControls()||J);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){Object.keys(this.controls).forEach(J=>{const We=this.controls[J];We&&le(We,J)})}_setUpControls(){this._forEachChild(le=>{le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(le){for(const[J,We]of Object.entries(this.controls))if(this.contains(J)&&le(We))return!0;return!1}_reduceValue(){return this._reduceChildren({},(J,We,Xt)=>((We.enabled||this.disabled)&&(J[Xt]=We.value),J))}_reduceChildren(le,J){let We=le;return this._forEachChild((Xt,Dn)=>{We=J(We,Xt,Dn)}),We}_allControlsDisabled(){for(const le of Object.keys(this.controls))if(this.controls[le].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(le){return this.controls.hasOwnProperty(le)?this.controls[le]:null}}const qe=Rt,nt=fe=>fe instanceof Rt;class Ve extends Rt{}const yt=fe=>fe instanceof Ve,At=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>on}),on="always";function xn(fe,le){return[...le.path,fe]}function Sn(fe,le,J=on){fi(fe,le),le.valueAccessor.writeValue(fe.value),(fe.disabled||"always"===J)&&le.valueAccessor.setDisabledState?.(fe.disabled),function Yi(fe,le){le.valueAccessor.registerOnChange(J=>{fe._pendingValue=J,fe._pendingChange=!0,fe._pendingDirty=!0,"change"===fe.updateOn&&bt(fe,le)})}(fe,le),function pt(fe,le){const J=(We,Xt)=>{le.valueAccessor.writeValue(We),Xt&&le.viewToModelUpdate(We)};fe.registerOnChange(J),le._registerOnDestroy(()=>{fe._unregisterOnChange(J)})}(fe,le),function xt(fe,le){le.valueAccessor.registerOnTouched(()=>{fe._pendingTouched=!0,"blur"===fe.updateOn&&fe._pendingChange&&bt(fe,le),"submit"!==fe.updateOn&&fe.markAsTouched()})}(fe,le),function xi(fe,le){if(le.valueAccessor.setDisabledState){const J=We=>{le.valueAccessor.setDisabledState(We)};fe.registerOnDisabledChange(J),le._registerOnDestroy(()=>{fe._unregisterOnDisabledChange(J)})}}(fe,le)}function _n(fe,le,J=!0){const We=()=>{};le.valueAccessor&&(le.valueAccessor.registerOnChange(We),le.valueAccessor.registerOnTouched(We)),Vi(fe,le),fe&&(le._invokeOnDestroyCallbacks(),fe._registerOnCollectionChange(()=>{}))}function Mn(fe,le){fe.forEach(J=>{J.registerOnValidatorChange&&J.registerOnValidatorChange(le)})}function fi(fe,le){const J=Ze(fe);null!==le.validator?fe.setValidators(He(J,le.validator)):"function"==typeof J&&fe.setValidators([J]);const We=Qe(fe);null!==le.asyncValidator?fe.setAsyncValidators(He(We,le.asyncValidator)):"function"==typeof We&&fe.setAsyncValidators([We]);const Xt=()=>fe.updateValueAndValidity();Mn(le._rawValidators,Xt),Mn(le._rawAsyncValidators,Xt)}function Vi(fe,le){let J=!1;if(null!==fe){if(null!==le.validator){const Xt=Ze(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==le.validator);Dn.length!==Xt.length&&(J=!0,fe.setValidators(Dn))}}if(null!==le.asyncValidator){const Xt=Qe(fe);if(Array.isArray(Xt)&&Xt.length>0){const Dn=Xt.filter(Wi=>Wi!==le.asyncValidator);Dn.length!==Xt.length&&(J=!0,fe.setAsyncValidators(Dn))}}}const We=()=>{};return Mn(le._rawValidators,We),Mn(le._rawAsyncValidators,We),J}function bt(fe,le){fe._pendingDirty&&fe.markAsDirty(),fe.setValue(fe._pendingValue,{emitModelToViewChange:!1}),le.viewToModelUpdate(fe._pendingValue),fe._pendingChange=!1}function qt(fe,le){fi(fe,le)}function _i(fe,le){if(!fe.hasOwnProperty("model"))return!1;const J=fe.model;return!!J.isFirstChange()||!Object.is(le,J.currentValue)}function ti(fe,le){fe._syncPendingControls(),le.forEach(J=>{const We=J.control;"submit"===We.updateOn&&We._pendingChange&&(J.viewToModelUpdate(We._pendingValue),We._pendingChange=!1)})}function an(fe,le){if(!le)return null;let J,We,Xt;return Array.isArray(le),le.forEach(Dn=>{Dn.constructor===y?J=Dn:function $n(fe){return Object.getPrototypeOf(fe.constructor)===h}(Dn)?We=Dn:Xt=Dn}),Xt||We||J||null}const Rn={provide:Bt,useExisting:(0,n.forwardRef)(()=>mi)},Wn=(()=>Promise.resolve())();let mi=(()=>{class fe extends Bt{constructor(J,We,Xt){super(),this.callSetDisabledState=Xt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Rt({},re(J),ve(We))}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 We=this._findContainer(J.path);J.control=We.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 We=this._findContainer(J.path);We&&We.removeControl(J.name),this._directives.delete(J)})}addFormGroup(J){Wn.then(()=>{const We=this._findContainer(J.path),Xt=new Rt({});qt(Xt,J),We.registerControl(J.name,Xt),Xt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(J){Wn.then(()=>{const We=this._findContainer(J.path);We&&We.removeControl(J.name)})}getFormGroup(J){return this.form.get(J.path)}updateModel(J,We){Wn.then(()=>{this.form.get(J.path).setValue(We)})}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(At,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("submit",function(Dn){return We.onSubmit(Dn)})("reset",function(){return We.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Rn]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();function Yn(fe,le){const J=fe.indexOf(le);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 dt{constructor(le=null,J,We){super(Me(J),De(We,J)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(le),this._setUpdateStrategy(J),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),V(J)&&(J.nonNullable||J.initialValueIsDefault)&&(this.defaultValue=wi(le)?le.value:le)}setValue(le,J={}){this.value=this._pendingValue=le,this._onChange.length&&!1!==J.emitModelToViewChange&&this._onChange.forEach(We=>We(this.value,!1!==J.emitViewToModelChange)),this.updateValueAndValidity(J)}patchValue(le,J={}){this.setValue(le,J)}reset(le=this.defaultValue,J={}){this._applyFormState(le),this.markAsPristine(J),this.markAsUntouched(J),this.setValue(this.value,J),this._pendingChange=!1}_updateValue(){}_anyControls(le){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(le){this._onChange.push(le)}_unregisterOnChange(le){Yn(this._onChange,le)}registerOnDisabledChange(le){this._onDisabledChange.push(le)}_unregisterOnDisabledChange(le){Yn(this._onDisabledChange,le)}_forEachChild(le){}_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(le){wi(le)?(this.value=this._pendingValue=le.value,le.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=le}},ai=ri,Ni=fe=>fe instanceof ri;let Mt=(()=>{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 le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,features:[n.\u0275\u0275InheritDefinitionFeature]}),fe})();const se={provide:Bt,useExisting:(0,n.forwardRef)(()=>Xe)};let Xe=(()=>{class fe extends Mt{constructor(J,We,Xt){super(),this.name="",this._parent=J,this._setValidators(We),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([se]),n.\u0275\u0275InheritDefinitionFeature]}),fe})();const kt={provide:Tt,useExisting:(0,n.forwardRef)(()=>un)},Wt=(()=>Promise.resolve())();let un=(()=>{class fe extends Tt{constructor(J,We,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(We),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 We=J.name.previousValue;this.formDirective.removeControl({name:We,path:this._getPath(We)})}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 We=J.isDisabled.currentValue,Xt=0!==We&&(0,n.booleanAttribute)(We);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(At,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([kt]),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 h{writeValue(J){this.setProperty("value",J??"")}registerOnChange(J){this.onChange=We=>{J(""==We?null:parseFloat(We))}}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("input",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.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,We){this._accessors.push([J,We])}remove(J){for(let We=this._accessors.length-1;We>=0;--We)if(this._accessors[We][1]===J)return void this._accessors.splice(We,1)}select(J){this._accessors.forEach(We=>{this._isSameGroup(We,J)&&We[1]!==J&&We[1].fireUncheck(J.value)})}_isSameGroup(J,We){return!!J[0].control&&J[0]._parent===We._control._parent&&J[1].name===We.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 h{constructor(J,We,Xt,Dn){super(J,We),this._registry=Xt,this._injector=Dn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(At,{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,We){1&J&&n.\u0275\u0275listener("change",function(){return We.onChange()})("blur",function(){return We.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 h{writeValue(J){this.setProperty("value",parseFloat(J))}registerOnChange(J){this.onChange=We=>{J(""==We?null:parseFloat(We))}}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.value)})("input",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.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,We,Xt,Dn,Wi){super(),this._ngModelWarningConfig=Dn,this.callSetDisabledState=Wi,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(J),this._setAsyncValidators(We),this.valueAccessor=an(0,Xt)}ngOnChanges(J){if(this._isControlChanged(J)){const We=J.form.previousValue;We&&_n(We,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(At,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,We,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(We)}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 We=this.form.get(J.path);return Sn(We,J,this.callSetDisabledState),We.updateValueAndValidity({emitEvent:!1}),this.directives.push(J),We}getControl(J){return this.form.get(J.path)}removeControl(J){_n(J.control||null,J,!1),function mn(fe,le){const J=fe.indexOf(le);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,We){this.form.get(J.path).setValue(We)}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 We=J.control,Xt=this.form.get(J.path);We!==Xt&&(_n(We||null,J),Ni(Xt)&&(Sn(Xt,J,this.callSetDisabledState),J.control=Xt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(J){const We=this.form.get(J.path);qt(We,J),We.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(J){if(this.form){const We=this.form.get(J.path);We&&function nn(fe,le){return Vi(fe,le)}(We,J)&&We.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(At,8))},fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","formGroup",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("submit",function(Dn){return We.onSubmit(Dn)})("reset",function(){return We.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 Mt{constructor(J,We,Xt){super(),this.name=null,this._parent=J,this._setValidators(We),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,We,Xt){super(),this.name=null,this._parent=J,this._setValidators(We),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 Ot={provide:Tt,useExisting:(0,n.forwardRef)(()=>C)};let C=(()=>{class fe extends Tt{set isDisabled(J){}constructor(J,We,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(We),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([Ot]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),fe})();const te={provide:u,useExisting:(0,n.forwardRef)(()=>Zt),multi:!0};function Ne(fe,le){return null==fe?`${le}`:(le&&"object"==typeof le&&(le="Object"),`${fe}: ${le}`.slice(0,50))}let Zt=(()=>{class fe extends h{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=Ne(this._getOptionId(J),J);this.setProperty("value",Xt)}registerOnChange(J){this.onChange=We=>{this.value=this._getOptionValue(We),J(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(J){for(const We of this._optionMap.keys())if(this._compareWith(this._optionMap.get(We),J))return We;return null}_getOptionValue(J){const We=function ot(fe){return fe.split(":")[0]}(J);return this._optionMap.has(We)?this._optionMap.get(We):J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(J,We){1&J&&n.\u0275\u0275listener("change",function(Dn){return We.onChange(Dn.target.value)})("blur",function(){return We.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([te]),n.\u0275\u0275InheritDefinitionFeature]}),fe})(),Pn=(()=>{class fe{constructor(J,We,Xt){this._element=J,this._renderer=We,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(Ne(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,le){return null==fe?`${le}`:("string"==typeof le&&(le=`'${le}'`),le&&"object"==typeof le&&(le="Object"),`${fe}: ${le}`.slice(0,50))}let Ui=(()=>{class fe extends h{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(J){this._compareWith=J}writeValue(J){let We;if(this.value=J,Array.isArray(J)){const Xt=J.map(Dn=>this._getOptionId(Dn));We=(Dn,Wi)=>{Dn._setSelected(Xt.indexOf(Wi.toString())>-1)}}else We=(Xt,Dn)=>{Xt._setSelected(!1)};this._optionMap.forEach(We)}registerOnChange(J){this.onChange=We=>{const Xt=[],Dn=We.selectedOptions;if(void 0!==Dn){const Wi=Dn;for(let dr=0;dr{class fe{constructor(J,We,Xt){this._element=J,this._renderer=We,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 gt=(()=>{class fe{constructor(){this._validator=de}ngOnChanges(J){if(this.inputName in J){const We=this.normalizeInput(J[this.inputName].currentValue);this._enabled=this.enabled(We),this._validator=this._enabled?this.createValidator(We):de,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 gt{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=J=>vt(J),this.createValidator=J=>ee(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("max",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=J=>vt(J),this.createValidator=J=>$(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("min",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>ie}enabled(J){return J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("required",We._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 le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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,We){2&J&&n.\u0275\u0275attribute("required",We._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 gt{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=J=>U}enabled(J){return J}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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 gt{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Ce(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("minlength",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=J=>wt(J),this.createValidator=J=>Re(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("maxlength",We._enabled?We.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 gt{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=J=>J,this.createValidator=J=>Ae(J)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||fe)}}(),fe.\u0275dir=n.\u0275\u0275defineDirective({type:fe,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(J,We){2&J&&n.\u0275\u0275attribute("pattern",We._enabled?We.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 dt{constructor(le,J,We){super(Me(J),De(We,J)),this.controls=le,this._initObservables(),this._setUpdateStrategy(J),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(le){return this.controls[this._adjustIndex(le)]}push(le,J={}){this.controls.push(le),this._registerControl(le),this.updateValueAndValidity({emitEvent:J.emitEvent}),this._onCollectionChange()}insert(le,J,We={}){this.controls.splice(le,0,J),this._registerControl(J),this.updateValueAndValidity({emitEvent:We.emitEvent})}removeAt(le,J={}){let We=this._adjustIndex(le);We<0&&(We=0),this.controls[We]&&this.controls[We]._registerOnCollectionChange(()=>{}),this.controls.splice(We,1),this.updateValueAndValidity({emitEvent:J.emitEvent})}setControl(le,J,We={}){let Xt=this._adjustIndex(le);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:We.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(le,J={}){be(this,0,le),le.forEach((We,Xt)=>{Q(this,!1,Xt),this.at(Xt).setValue(We,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J)}patchValue(le,J={}){null!=le&&(le.forEach((We,Xt)=>{this.at(Xt)&&this.at(Xt).patchValue(We,{onlySelf:!0,emitEvent:J.emitEvent})}),this.updateValueAndValidity(J))}reset(le=[],J={}){this._forEachChild((We,Xt)=>{We.reset(le[Xt],{onlySelf:!0,emitEvent:J.emitEvent})}),this._updatePristine(J),this._updateTouched(J),this.updateValueAndValidity(J)}getRawValue(){return this.controls.map(le=>le.getRawValue())}clear(le={}){this.controls.length<1||(this._forEachChild(J=>J._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:le.emitEvent}))}_adjustIndex(le){return le<0?le+this.length:le}_syncPendingControls(){let le=this.controls.reduce((J,We)=>!!We._syncPendingControls()||J,!1);return le&&this.updateValueAndValidity({onlySelf:!0}),le}_forEachChild(le){this.controls.forEach((J,We)=>{le(J,We)})}_updateValue(){this.value=this.controls.filter(le=>le.enabled||this.disabled).map(le=>le.value)}_anyControls(le){return this.controls.some(J=>J.enabled&&le(J))}_setUpControls(){this._forEachChild(le=>this._registerControl(le))}_allControlsDisabled(){for(const le of this.controls)if(le.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(le){le.setParent(this),le._registerOnCollectionChange(this._onCollectionChange)}_find(le){return this.at(le)??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,We=null){const Xt=this._reduceControls(J);let Dn={};return po(We)?Dn=We:null!==We&&(Dn.validators=We.validator,Dn.asyncValidators=We.asyncValidator),new Rt(Xt,Dn)}record(J,We=null){const Xt=this._reduceControls(J);return new Ve(Xt,We)}control(J,We,Xt){let Dn={};return this.useNonNullable?(po(We)?Dn=We:(Dn.validators=We,Dn.asyncValidators=Xt),new ri(J,{...Dn,nonNullable:!0})):new ri(J,We,Xt)}array(J,We,Xt){const Dn=J.map(Wi=>this._createControl(Wi));return new Hr(Dn,We,Xt)}_reduceControls(J){const We={};return Object.keys(J).forEach(Xt=>{We[Xt]=this._createControl(J[Xt])}),We}_createControl(J){return J instanceof ri||J instanceof dt?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,We=null){return super.group(J,We)}control(J,We,Xt){return super.control(J,We,Xt)}array(J,We,Xt){return super.array(J,We,Xt)}}return fe.\u0275fac=function(){let le;return function(We){return(le||(le=n.\u0275\u0275getInheritedFactory(fe)))(We||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:At,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:At,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:()=>Nt,MATERIAL_SANITY_CHECKS:()=>A,MAT_DATE_FORMATS:()=>ae,MAT_DATE_LOCALE:()=>Be,MAT_DATE_LOCALE_FACTORY:()=>G,MAT_NATIVE_DATE_FORMATS:()=>Qe,MAT_OPTGROUP:()=>Gt,MAT_OPTION_PARENT_COMPONENT:()=>Pe,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Te,MatCommonModule:()=>U,MatLine:()=>_t,MatLineModule:()=>Lt,MatNativeDateModule:()=>tt,MatOptgroup:()=>Oe,MatOption:()=>ct,MatOptionModule:()=>De,MatOptionSelectionChange:()=>he,MatPseudoCheckbox:()=>_e,MatPseudoCheckboxModule:()=>ut,MatRipple:()=>et,MatRippleModule:()=>Dt,NativeDateAdapter:()=>Ze,NativeDateModule:()=>Ge,RippleRef:()=>Le,RippleRenderer:()=>K,ShowOnDirtyErrorStateMatcher:()=>Ct,VERSION:()=>X,_MatOptgroupBase:()=>Ft,_MatOptionBase:()=>ge,_countGroupLabelsBeforeOption:()=>Me,_getOptionScrollPosition:()=>Ye,defaultRippleAnimationConfig:()=>at,mixinColor:()=>H,mixinDisableRipple:()=>W,mixinDisabled:()=>de,mixinErrorState:()=>we,mixinInitialized:()=>Ee,mixinTabIndex:()=>pe,setLines:()=>Bt});var n=a(5879),c=a(4300),d=a(9388),r=a(6814),f=a(2831),h=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 Q=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",Q.disabled)("state",Q.selected?"checked":"unchecked")}}function D(F,V){if(1&F&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",7),2&F){const Q=n.\u0275\u0275nextContext();n.\u0275\u0275property("disabled",Q.disabled)}}function S(F,V){if(1&F&&(n.\u0275\u0275elementStart(0,"span",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&F){const Q=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",Q.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(Q,be,dt){this._sanityChecks=be,this._document=dt,this._hasDoneGlobalChecks=!1,Q._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(Q){return!(0,f.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[Q])}}return F.\u0275fac=function(Q){return new(Q||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 de(F){return class extends F{get disabled(){return this._disabled}set disabled(V){this._disabled=(0,h.Ig)(V)}constructor(...V){super(...V),this._disabled=!1}}}function H(F,V){return class extends F{get color(){return this._color}set color(Q){const be=Q||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}constructor(...Q){super(...Q),this.defaultColor=V,this.color=V}}}function W(F){return class extends F{get disableRipple(){return this._disableRipple}set disableRipple(V){this._disableRipple=(0,h.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(Q){this._tabIndex=null!=Q?(0,h.su)(Q):this.defaultTabIndex}constructor(...Q){super(...Q),this._tabIndex=V,this.defaultTabIndex=V}}}function we(F){return class extends F{updateErrorState(){const V=this.errorState,Rt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Rt!==V&&(this.errorState=Rt,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(Q=>{this._isInitialized?this._notifySubscriber(Q):this._pendingSubscribers.push(Q)})}_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,Q){return this.getYear(V)-this.getYear(Q)||this.getMonth(V)-this.getMonth(Q)||this.getDate(V)-this.getDate(Q)}sameDate(V,Q){if(V&&Q){let be=this.isValid(V),dt=this.isValid(Q);return be&&dt?!this.compareDate(V,Q):be==dt}return V==Q}clampDate(V,Q,be){return Q&&this.compareDate(V,Q)<0?Q:be&&this.compareDate(V,be)>0?be:V}}const ae=new n.InjectionToken("mat-date-formats"),ve=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function He(F,V){const Q=Array(F);for(let be=0;be{class F extends re{constructor(Q,be){super(),this.useUtcForDisplay=!1,super.setLocale(Q)}getYear(Q){return Q.getFullYear()}getMonth(Q){return Q.getMonth()}getDate(Q){return Q.getDate()}getDayOfWeek(Q){return Q.getDay()}getMonthNames(Q){const be=new Intl.DateTimeFormat(this.locale,{month:Q,timeZone:"utc"});return He(12,dt=>this._format(be,new Date(2017,dt,1)))}getDateNames(){const Q=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return He(31,be=>this._format(Q,new Date(2017,0,be+1)))}getDayOfWeekNames(Q){const be=new Intl.DateTimeFormat(this.locale,{weekday:Q,timeZone:"utc"});return He(7,dt=>this._format(be,new Date(2017,0,dt+1)))}getYearName(Q){const be=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(be,Q)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(Q){return this.getDate(this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q)+1,0))}clone(Q){return new Date(Q.getTime())}createDate(Q,be,dt){let Rt=this._createDateWithOverflow(Q,be,dt);return Rt.getMonth(),Rt}today(){return new Date}parse(Q,be){return"number"==typeof Q?new Date(Q):Q?new Date(Date.parse(Q)):null}format(Q,be){if(!this.isValid(Q))throw Error("NativeDateAdapter: Cannot format invalid date.");const dt=new Intl.DateTimeFormat(this.locale,{...be,timeZone:"utc"});return this._format(dt,Q)}addCalendarYears(Q,be){return this.addCalendarMonths(Q,12*be)}addCalendarMonths(Q,be){let dt=this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q)+be,this.getDate(Q));return this.getMonth(dt)!=((this.getMonth(Q)+be)%12+12)%12&&(dt=this._createDateWithOverflow(this.getYear(dt),this.getMonth(dt),0)),dt}addCalendarDays(Q,be){return this._createDateWithOverflow(this.getYear(Q),this.getMonth(Q),this.getDate(Q)+be)}toIso8601(Q){return[Q.getUTCFullYear(),this._2digit(Q.getUTCMonth()+1),this._2digit(Q.getUTCDate())].join("-")}deserialize(Q){if("string"==typeof Q){if(!Q)return null;if(ve.test(Q)){let be=new Date(Q);if(this.isValid(be))return be}}return super.deserialize(Q)}isDateInstance(Q){return Q instanceof Date}isValid(Q){return!isNaN(Q.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(Q,be,dt){const Rt=new Date;return Rt.setFullYear(Q,be,dt),Rt.setHours(0,0,0,0),Rt}_2digit(Q){return("00"+Q).slice(-2)}_format(Q,be){const dt=new Date;return dt.setUTCFullYear(be.getFullYear(),be.getMonth(),be.getDate()),dt.setUTCHours(be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()),Q.format(dt)}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275inject(Be,8),n.\u0275\u0275inject(f.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 Ge=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||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(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:ae,useValue:Qe}],imports:[Ge]}),F})(),Ct=(()=>{class F{isErrorState(Q,be){return!!(Q&&Q.invalid&&(Q.dirty||be&&be.submitted))}}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac}),F})(),Nt=(()=>{class F{isErrorState(Q,be){return!!(Q&&Q.invalid&&(Q.touched||be&&be.submitted))}}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),_t=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),F})();function Bt(F,V,Q="mat"){F.changes.pipe((0,b.O)(F)).subscribe(({length:be})=>{Tt(V,`${Q}-2-line`,!1),Tt(V,`${Q}-3-line`,!1),Tt(V,`${Q}-multi-line`,!1),2===be||3===be?Tt(V,`${Q}-${be}-line`,!0):be>3&&Tt(V,`${Q}-multi-line`,!0)})}function Tt(F,V,Q){F.nativeElement.classList.toggle(V,Q)}let Lt=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})();class Le{constructor(V,Q,be,dt=!1){this._renderer=V,this.element=Q,this.config=be,this._animationForciblyDisabledThroughCss=dt,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const lt=(0,f.i$)({passive:!0,capture:!0});class ze{constructor(){this._events=new Map,this._delegateEventHandler=V=>{const Q=(0,f.sA)(V);Q&&this._events.get(V.type)?.forEach((be,dt)=>{(dt===Q||dt.contains(Q))&&be.forEach(Rt=>Rt.handleEvent(V))})}}addHandler(V,Q,be,dt){const Rt=this._events.get(Q);if(Rt){const qe=Rt.get(be);qe?qe.add(dt):Rt.set(be,new Set([dt]))}else this._events.set(Q,new Map([[be,new Set([dt])]])),V.runOutsideAngular(()=>{document.addEventListener(Q,this._delegateEventHandler,lt)})}removeHandler(V,Q,be){const dt=this._events.get(V);if(!dt)return;const Rt=dt.get(Q);Rt&&(Rt.delete(be),0===Rt.size&&dt.delete(Q),0===dt.size&&(this._events.delete(V),document.removeEventListener(V,this._delegateEventHandler,lt)))}}const at={enterDuration:225,exitDuration:150},oe=(0,f.i$)({passive:!0,capture:!0}),Y=["mousedown","touchstart"],ne=["mouseup","mouseleave","touchend","touchcancel"];class K{constructor(V,Q,be,dt){this._target=V,this._ngZone=Q,this._platform=dt,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,dt.isBrowser&&(this._containerElement=(0,h.fI)(be))}fadeInRipple(V,Q,be={}){const dt=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Rt={...at,...be.animation};be.centered&&(V=dt.left+dt.width/2,Q=dt.top+dt.height/2);const qe=be.radius||function ce(F,V,Q){const be=Math.max(Math.abs(F-Q.left),Math.abs(F-Q.right)),dt=Math.max(Math.abs(V-Q.top),Math.abs(V-Q.bottom));return Math.sqrt(be*be+dt*dt)}(V,Q,dt),nt=V-dt.left,Ve=Q-dt.top,yt=Rt.enterDuration,At=document.createElement("div");At.classList.add("mat-ripple-element"),At.style.left=nt-qe+"px",At.style.top=Ve-qe+"px",At.style.height=2*qe+"px",At.style.width=2*qe+"px",null!=be.color&&(At.style.backgroundColor=be.color),At.style.transitionDuration=`${yt}ms`,this._containerElement.appendChild(At);const on=window.getComputedStyle(At),Sn=on.transitionDuration,_n="none"===on.transitionProperty||"0s"===Sn||"0s, 0s"===Sn||0===dt.width&&0===dt.height,Mn=new Le(this,At,be,_n);At.style.transform="scale3d(1, 1, 1)",Mn.state=0,be.persistent||(this._mostRecentTransientRipple=Mn);let xi=null;return!_n&&(yt||Rt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const fi=()=>this._finishRippleTransition(Mn),Vi=()=>this._destroyRipple(Mn);At.addEventListener("transitionend",fi),At.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 Q=V.element,be={...at,...V.config.animation};Q.style.transitionDuration=`${be.exitDuration}ms`,Q.style.opacity="0",V.state=2,(V._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(V)}fadeOutAll(){this._getActiveRipples().forEach(V=>V.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(V=>{V.config.persistent||V.fadeOut()})}setupTriggerEvents(V){const Q=(0,h.fI)(V);!this._platform.isBrowser||!Q||Q===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=Q,Y.forEach(be=>{K._eventManager.addHandler(this._ngZone,be,Q,this)}))}handleEvent(V){"mousedown"===V.type?this._onMousedown(V):"touchstart"===V.type?this._onTouchStart(V):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ne.forEach(Q=>{this._triggerElement.addEventListener(Q,this,oe)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(V){0===V.state?this._startFadeOutTransition(V):2===V.state&&this._destroyRipple(V)}_startFadeOutTransition(V){const Q=V===this._mostRecentTransientRipple,{persistent:be}=V.config;V.state=1,!be&&(!Q||!this._isPointerDown)&&V.fadeOut()}_destroyRipple(V){const Q=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!==Q&&(V.element.removeEventListener("transitionend",Q.onTransitionEnd),V.element.removeEventListener("transitioncancel",Q.onTransitionCancel)),V.element.remove()}_onMousedown(V){const Q=(0,c.X6)(V),be=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(Q=>K._eventManager.removeHandler(Q,V,this)),this._pointerUpEventsRegistered&&ne.forEach(Q=>V.removeEventListener(Q,this,oe)))}}K._eventManager=new ze;const Te=new n.InjectionToken("mat-ripple-global-options");let et=(()=>{class F{get disabled(){return this._disabled}set disabled(Q){Q&&this.fadeOutAllNonPersistent(),this._disabled=Q,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(Q){this._trigger=Q,this._setupTriggerEventsIfEnabled()}constructor(Q,be,dt,Rt,qe){this._elementRef=Q,this._animationMode=qe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Rt||{},this._rippleRenderer=new K(this,be,Q,dt)}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(Q,be=0,dt){return"number"==typeof Q?this._rippleRenderer.fadeInRipple(Q,be,{...this.rippleConfig,...dt}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...Q})}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(f.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(Q,be){2&Q&&n.\u0275\u0275classProp("mat-ripple-unbounded",be.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(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U,U]}),F})(),_e=(()=>{class F{constructor(Q){this._animationMode=Q,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return F.\u0275fac=function(Q){return new(Q||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(Q,be){2&Q&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===be.state)("mat-pseudo-checkbox-checked","checked"===be.state)("mat-pseudo-checkbox-disabled",be.disabled)("mat-pseudo-checkbox-minimal","minimal"===be.appearance)("mat-pseudo-checkbox-full","full"===be.appearance)("_mat-animation-noopable","NoopAnimations"===be._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(Q,be){},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})(),ut=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[U]}),F})();const Pe=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),mt=de(class{});let Pt=0,Ft=(()=>{class F extends mt{constructor(Q){super(),this._labelId="mat-optgroup-label-"+Pt++,this._inert=Q?.inertGroups??!1}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(Pe,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),F})();const Gt=new n.InjectionToken("MatOptgroup");let Oe=(()=>{class F extends Ft{}return F.\u0275fac=function(){let V;return function(be){return(V||(V=n.\u0275\u0275getInheritedFactory(F)))(be||F)}}(),F.\u0275cmp=n.\u0275\u0275defineComponent({type:F,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-mdc-optgroup"],hostVars:3,hostBindings:function(Q,be){2&Q&&n.\u0275\u0275attribute("role",be._inert?null:"group")("aria-disabled",be._inert?null:be.disabled.toString())("aria-labelledby",be._inert?null:be._labelId)},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:Gt,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(Q,be){1&Q&&(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&Q&&(n.\u0275\u0275classProp("mdc-list-item--disabled",be.disabled),n.\u0275\u0275property("id",be._labelId),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate1("",be.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})(),Ke=0;class he{constructor(V,Q=!1){this.source=V,this.isUserInput=Q}}let ge=(()=>{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(Q){this._disabled=(0,h.Ig)(Q)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(Q,be,dt,Rt){this._element=Q,this._changeDetectorRef=be,this._parent=dt,this.group=Rt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ke++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new v.x}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(Q=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),Q&&this._emitSelectionChangeEvent())}deselect(Q=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),Q&&this._emitSelectionChangeEvent())}focus(Q,be){const dt=this._getHostElement();"function"==typeof dt.focus&&dt.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(Q){(Q.keyCode===p.K5||Q.keyCode===p.L_)&&!(0,p.Vb)(Q)&&(this._selectViaInteraction(),Q.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 Q=this.viewValue;Q!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=Q)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(Q=!1){this.onSelectionChange.emit(new he(this,Q))}}return F.\u0275fac=function(Q){n.\u0275\u0275invalidFactory()},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,viewQuery:function(Q,be){if(1&Q&&n.\u0275\u0275viewQuery(y,7),2&Q){let dt;n.\u0275\u0275queryRefresh(dt=n.\u0275\u0275loadQuery())&&(be._text=dt.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),F})(),ct=(()=>{class F extends ge{constructor(Q,be,dt,Rt){super(Q,be,dt,Rt)}}return F.\u0275fac=function(Q){return new(Q||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(Pe,8),n.\u0275\u0275directiveInject(Gt,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(Q,be){1&Q&&n.\u0275\u0275listener("click",function(){return be._selectViaInteraction()})("keydown",function(Rt){return be._handleKeydown(Rt)}),2&Q&&(n.\u0275\u0275hostProperty("id",be.id),n.\u0275\u0275attribute("aria-selected",be.selected)("aria-disabled",be.disabled.toString()),n.\u0275\u0275classProp("mdc-list-item--selected",be.selected)("mat-mdc-option-multiple",be.multiple)("mat-mdc-option-active",be.active)("mdc-list-item--disabled",be.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(Q,be){1&Q&&(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&Q&&(n.\u0275\u0275property("ngIf",be.multiple),n.\u0275\u0275advance(5),n.\u0275\u0275property("ngIf",!be.multiple&&be.selected&&!be.hideSingleSelectionIndicator),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",be.group&&be.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",be._getHostElement())("matRippleDisabled",be.disabled||be.disableRipple))},dependencies:[et,r.NgIf,_e],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 Me(F,V,Q){if(Q.length){let be=V.toArray(),dt=Q.toArray(),Rt=0;for(let qe=0;qeQ+be?Math.max(0,F-be+V):Q}let De=(()=>{class F{}return F.\u0275fac=function(Q){return new(Q||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[Dt,r.CommonModule,U,ut]}),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:()=>kt,MAT_DATE_RANGE_SELECTION_STRATEGY:()=>pt,MAT_RANGE_DATE_SELECTION_MODEL_FACTORY:()=>xt,MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER:()=>bt,MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY:()=>Vi,MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER:()=>Yi,MatCalendar:()=>mi,MatCalendarBody:()=>nt,MatCalendarCell:()=>Q,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),f=a(2831),h=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)(h.MAT_RIPPLE_GLOBAL_OPTIONS,{optional:!0}),this._platform=(0,r.inject)(f.t4),this._ngZone=(0,r.inject)(r.NgZone),this._onInteraction=C=>{if(C.target===this._document)return;const Ne=C.target.closest(`[${$}]`);Ne&&(Ne.removeAttribute($),this._appendRipple(Ne))},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 Ne=new ie(C,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);Ne.rippleConfig.centered=C.hasAttribute("mat-icon-button"),new h.RippleRenderer(Ne,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 Ne=new h.MatRipple(new r.ElementRef(te),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return Ne._isInitialized=!0,Ne.trigger=C,C.append(te),Ne}}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(Ot,C,te){this._button=Ot,this._globalRippleOptions=C,this._setRippleConfig(C,te)}_setRippleConfig(Ot,C){this.rippleConfig=Ot||{},"NoopAnimations"===C&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get rippleDisabled(){return this._button.hasAttribute("disabled")||!!this._globalRippleOptions?.disabled}}const Ce=[{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,h.mixinColor)((0,h.mixinDisabled)((0,h.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,Ne,ot){super(C),this._platform=te,this._ngZone=Ne,this._animationMode=ot,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 Ce)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,Ne,ot){super(C,te,Ne,ot)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.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,Ne,ot){super(C,te,Ne,ot)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.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:[h.MatCommonModule,h.MatRippleModule,h.MatCommonModule]}),Je})();var Ct=a(6672),Nt=a(8645),_t=a(7394),Bt=a(3019),Tt=a(2096),Lt=a(6028),Le=a(9388),lt=a(8180),ze=a(7921),at=a(2181),N=a(2495),oe=a(6825),Y=a(6223),ne=a(1043),K=a(4516);const ce=["mat-calendar-body",""];function Te(Je,Ot){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 et(Je,Ot){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,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",8)(1,"button",9),r.\u0275\u0275listener("click",function(Ne){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._cellClicked(Zt,Ne))})("focus",function(Ne){const Zt=r.\u0275\u0275restoreView(C).$implicit,Pn=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Pn._emitActiveDateChange(Zt,Ne))}),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=Ot.$implicit,te=Ot.index,Ne=r.\u0275\u0275nextContext().index,ot=r.\u0275\u0275nextContext();r.\u0275\u0275styleProp("width",ot._cellWidth)("padding-top",ot._cellPadding)("padding-bottom",ot._cellPadding),r.\u0275\u0275attribute("data-mat-row",Ne)("data-mat-col",te),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-disabled",!C.enabled)("mat-calendar-body-active",ot._isActiveCell(Ne,te))("mat-calendar-body-range-start",ot._isRangeStart(C.compareValue))("mat-calendar-body-range-end",ot._isRangeEnd(C.compareValue))("mat-calendar-body-in-range",ot._isInRange(C.compareValue))("mat-calendar-body-comparison-bridge-start",ot._isComparisonBridgeStart(C.compareValue,Ne,te))("mat-calendar-body-comparison-bridge-end",ot._isComparisonBridgeEnd(C.compareValue,Ne,te))("mat-calendar-body-comparison-start",ot._isComparisonStart(C.compareValue))("mat-calendar-body-comparison-end",ot._isComparisonEnd(C.compareValue))("mat-calendar-body-in-comparison-range",ot._isInComparisonRange(C.compareValue))("mat-calendar-body-preview-start",ot._isPreviewStart(C.compareValue))("mat-calendar-body-preview-end",ot._isPreviewEnd(C.compareValue))("mat-calendar-body-in-preview",ot._isInPreview(C.compareValue)),r.\u0275\u0275property("ngClass",C.cssClasses)("tabindex",ot._isActiveCell(Ne,te)?0:-1),r.\u0275\u0275attribute("aria-label",C.ariaLabel)("aria-disabled",!C.enabled||null)("aria-pressed",ot._isSelected(C.compareValue))("aria-current",ot.todayValue===C.compareValue?"date":null)("aria-describedby",ot._getDescribedby(C.compareValue)),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("mat-calendar-body-selected",ot._isSelected(C.compareValue))("mat-calendar-body-comparison-identical",ot._isComparisonIdentical(C.compareValue))("mat-calendar-body-today",ot.todayValue===C.compareValue),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1(" ",C.displayValue," ")}}function _e(Je,Ot){if(1&Je&&(r.\u0275\u0275elementStart(0,"tr",5),r.\u0275\u0275template(1,et,2,6,"td",6),r.\u0275\u0275template(2,Dt,5,48,"td",7),r.\u0275\u0275elementEnd()),2&Je){const C=Ot.$implicit,te=Ot.index,Ne=r.\u0275\u0275nextContext();r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",0===te&&Ne._firstRowOffset),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",C)}}function ut(Je,Ot){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=Ot.$implicit;r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.long),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(C.narrow)}}const Pe=["*"];function mt(Je,Ot){}function Pt(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-month-view",5),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("_userSelection",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dateSelected(Ne))})("dragStarted",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dragStarted(Ne))})("dragEnded",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._dragEnded(Ne))}),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 Ft(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-year-view",6),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("monthSelected",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._monthSelectedInYearView(Ne))})("selectedChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._goToDateInView(Ne,"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 Gt(Je,Ot){if(1&Je){const C=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-multi-year-view",7),r.\u0275\u0275listener("activeDateChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot.activeDate=Ne)})("yearSelected",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._yearSelectedInMultiYearView(Ne))})("selectedChange",function(Ne){r.\u0275\u0275restoreView(C);const ot=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ot._goToDateInView(Ne,"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 Oe(Je,Ot){}const Ke=["button"];function he(Je,Ot){1&Je&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275elementStart(0,"svg",3),r.\u0275\u0275element(1,"path",4),r.\u0275\u0275elementEnd())}const ge=[[["","matDatepickerToggleIcon",""]]],ct=["[matDatepickerToggleIcon]"],Me=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Ye=["input[matStartDate]","input[matEndDate]"];function De(Je,Ot){1&Je&&(r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275projection(1),r.\u0275\u0275elementEnd())}let V=(()=>{class Je{constructor(){this.changes=new Nt.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 Q{constructor(Ot,C,te,Ne,ot={},Zt=Ot,Pn){this.value=Ot,this.displayValue=C,this.ariaLabel=te,this.enabled=Ne,this.cssClasses=ot,this.compareValue=Zt,this.rawValue=Pn}}let be=1;const dt=(0,f.i$)({passive:!1,capture:!0}),Rt=(0,f.i$)({passive:!0,capture:!0}),qe=(0,f.i$)({passive:!0});let nt=(()=>{class Je{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(C,te){this._elementRef=C,this._ngZone=te,this._platform=(0,r.inject)(f.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=Ne=>{if(this._skipNextFocus&&"focus"===Ne.type)this._skipNextFocus=!1;else if(Ne.target&&this.isRange){const ot=this._getCellFromElement(Ne.target);ot&&this._ngZone.run(()=>this.previewChange.emit({value:ot.enabled?ot:null,event:Ne}))}},this._touchmoveHandler=Ne=>{if(!this.isRange)return;const ot=Sn(Ne),Zt=ot?this._getCellFromElement(ot):null;ot!==Ne.target&&(this._didDragSinceMouseDown=!0),yt(Ne.target)&&Ne.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Zt?.enabled?Zt:null,event:Ne}))},this._leaveHandler=Ne=>{null!==this.previewEnd&&this.isRange&&("blur"!==Ne.type&&(this._didDragSinceMouseDown=!0),Ne.target&&this._getCellFromElement(Ne.target)&&(!Ne.relatedTarget||!this._getCellFromElement(Ne.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Ne})))},this._mousedownHandler=Ne=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const ot=Ne.target&&this._getCellFromElement(Ne.target);!ot||!this._isInRange(ot.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:ot.rawValue,event:Ne})})},this._mouseupHandler=Ne=>{if(!this.isRange)return;const ot=yt(Ne.target);ot?ot.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Zt=this._getCellFromElement(ot);this.dragEnded.emit({value:Zt?.rawValue??null,event:Ne})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Ne})})},this._touchendHandler=Ne=>{const ot=Sn(Ne);ot&&this._mouseupHandler({target:ot})},this._id="mat-calendar-body-"+be++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,te.runOutsideAngular(()=>{const Ne=C.nativeElement;Ne.addEventListener("touchmove",this._touchmoveHandler,dt),Ne.addEventListener("mouseenter",this._enterHandler,Rt),Ne.addEventListener("focus",this._enterHandler,Rt),Ne.addEventListener("mouseleave",this._leaveHandler,Rt),Ne.addEventListener("blur",this._leaveHandler,Rt),Ne.addEventListener("mousedown",this._mousedownHandler,qe),Ne.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:Ne,numCols:ot}=this;(C.rows||te)&&(this._firstRowOffset=Ne&&Ne.length&&Ne[0].length?ot-Ne[0].length:0),(C.cellAspectRatio||te||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/ot+"%"),(te||!this._cellWidth)&&(this._cellWidth=100/ot+"%")}ngOnDestroy(){const C=this._elementRef.nativeElement;C.removeEventListener("touchmove",this._touchmoveHandler,dt),C.removeEventListener("mouseenter",this._enterHandler,Rt),C.removeEventListener("focus",this._enterHandler,Rt),C.removeEventListener("mouseleave",this._leaveHandler,Rt),C.removeEventListener("blur",this._leaveHandler,Rt),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 Ne=C*this.numCols+te;return C&&(Ne-=this._firstRowOffset),Ne==this.activeCell}_focusActiveCell(C=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,lt.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 At(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 At(C,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(C,te,Ne){if(!this._isComparisonStart(C)||this._isRangeStart(C)||!this._isInRange(C))return!1;let ot=this.rows[te][Ne-1];if(!ot){const Zt=this.rows[te-1];ot=Zt&&Zt[Zt.length-1]}return ot&&!this._isRangeEnd(ot.compareValue)}_isComparisonBridgeEnd(C,te,Ne){if(!this._isComparisonEnd(C)||this._isRangeEnd(C)||!this._isInRange(C))return!1;let ot=this.rows[te][Ne+1];if(!ot){const Zt=this.rows[te+1];ot=Zt&&Zt[0]}return ot&&!this._isRangeStart(ot.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 At(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 Ne=te.getAttribute("data-mat-row"),ot=te.getAttribute("data-mat-col");if(Ne&&ot)return this.rows[parseInt(Ne)][parseInt(ot)]}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:ce,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,_e,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=Ot&&Je===C}function xn(Je,Ot,C,te){return te&&null!==Ot&&null!==C&&Ot!==C&&Je>=Ot&&Je<=C}function Sn(Je){const Ot=Je.changedTouches[0];return document.elementFromPoint(Ot.clientX,Ot.clientY)}class _n{constructor(Ot,C){this.start=Ot,this.end=C}}let Mn=(()=>{class Je{constructor(C,te){this.selection=C,this._adapter=te,this._selectionChanged=new Nt.x,this.selectionChanged=this._selectionChanged,this.selection=C}updateSelection(C,te){const Ne=this.selection;this.selection=C,this._selectionChanged.next({selection:C,source:te,oldValue:Ne})}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(h.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:Ne}=this.selection;null==te?te=C:null==Ne?Ne=C:(te=C,Ne=null),super.updateSelection(new _n(te,Ne),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(h.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();function Vi(Je,Ot){return Je||new xi(Ot)}const Yi={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],h.DateAdapter],useFactory:Vi};function xt(Je,Ot){return Je||new fi(Ot)}const bt={provide:Mn,deps:[[new r.Optional,new r.SkipSelf,Mn],h.DateAdapter],useFactory:xt},pt=new r.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY");let qt=(()=>{class Je{constructor(C){this._dateAdapter=C}selectionFinished(C,te){let{start:Ne,end:ot}=te;return null==Ne?Ne=C:null==ot&&C&&this._dateAdapter.compareDate(C,Ne)>=0?ot=C:(Ne=C,ot=null),new _n(Ne,ot)}createPreview(C,te){let Ne=null,ot=null;return te.start&&!te.end&&C&&(Ne=te.start,ot=C),new _n(Ne,ot)}createDrag(C,te,Ne){let ot=te.start,Zt=te.end;if(!ot||!Zt)return null;const Pn=this._dateAdapter,ji=0!==Pn.compareDate(ot,Zt),Pi=Pn.getYear(Ne)-Pn.getYear(C),Li=Pn.getMonth(Ne)-Pn.getMonth(C),Qi=Pn.getDate(Ne)-Pn.getDate(C);return ji&&Pn.sameDate(C,te.start)?(ot=Ne,Pn.compareDate(Ne,Zt)>0&&(Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi))):ji&&Pn.sameDate(C,te.end)?(Zt=Ne,Pn.compareDate(Ne,ot)<0&&(ot=Pn.addCalendarYears(ot,Pi),ot=Pn.addCalendarMonths(ot,Li),ot=Pn.addCalendarDays(ot,Qi))):(ot=Pn.addCalendarYears(ot,Pi),ot=Pn.addCalendarMonths(ot,Li),ot=Pn.addCalendarDays(ot,Qi),Zt=Pn.addCalendarYears(Zt,Pi),Zt=Pn.addCalendarMonths(Zt,Li),Zt=Pn.addCalendarDays(Zt,Qi)),new _n(ot,Zt)}}return Je.\u0275fac=function(C){return new(C||Je)(r.\u0275\u0275inject(h.DateAdapter))},Je.\u0275prov=r.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac}),Je})();const cn={provide:pt,deps:[[new r.Optional,new r.SkipSelf,pt],h.DateAdapter],useFactory:function nn(Je,Ot){return Je||new qt(Ot)}};let Nn=(()=>{class Je{get activeDate(){return this._activeDate}set activeDate(C){const te=this._activeDate,Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne,ot,Zt){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Ne,this._dir=ot,this._rangeStrategy=Zt,this._rerenderSubscription=_t.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,Ne=this._getDateFromDayOfMonth(te);let ot,Zt;this._selected instanceof _n?(ot=this._getDateInCurrentMonth(this._selected.start),Zt=this._getDateInCurrentMonth(this._selected.end)):ot=Zt=this._getDateInCurrentMonth(this._selected),(ot!==te||Zt!==te)&&this.selectedChange.emit(Ne),this._userSelection.emit({value:Ne,event:C.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case Lt.Ku:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case Lt.VM:this.activeDate=C.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case Lt.K5:case Lt.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&C.preventDefault());case Lt.hY:return void(null!=this._previewEnd&&!(0,Lt.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===Lt.L_||C.keyCode===Lt.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 Ne=te?te.rawValue:null,ot=this._rangeStrategy.createPreview(Ne,this.selected,C);if(this._previewStart=this._getCellCompareValue(ot.start),this._previewEnd=this._getCellCompareValue(ot.end),this.activeDrag&&Ne){const Zt=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Ne,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 ot=this._dateAdapter.getDayOfWeekNames("long").map((Zt,Pn)=>({long:Zt,narrow:te[Pn]}));this._weekdays=ot.slice(C).concat(ot.slice(0,C))}_createWeekCells(){const C=this._dateAdapter.getNumDaysInMonth(this.activeDate),te=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Ne=0,ot=this._firstWeekOffset;Ne=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),Ne=this._dateAdapter.getMonth(C),ot=this._dateAdapter.getDate(C);return new Date(te,Ne,ot).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(h.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(Le.Is,8),r.\u0275\u0275directiveInject(pt,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-month-view"]],viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(nt,5),2&C){let Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._matCalendarBody=Ne.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,ut,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(ot){return te._dateSelected(ot)})("activeDateChange",function(ot){return te._updateActiveDate(ot)})("previewChange",function(ot){return te._previewChanged(ot)})("dragStarted",function(ot){return te.dragStarted.emit(ot)})("dragEnded",function(ot){return te._dragEnded(ot)})("keyup",function(ot){return te._handleCalendarBodyKeyup(ot)})("keydown",function(ot){return te._handleCalendarBodyKeydown(ot)}),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,nt],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 Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne){this._changeDetectorRef=C,this._dateAdapter=te,this._dir=Ne,this._rerenderSubscription=_t.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 Ne=0,ot=[];Nethis._createCellForYear(Zt))),ot=[]);this._changeDetectorRef.markForCheck()}_yearSelected(C){const te=C.value,Ne=this._dateAdapter.createDate(te,0,1),ot=this._getDateFromYear(te);this.yearSelected.emit(Ne),this.selectedChange.emit(ot)}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromYear(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Xn);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Xn);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,wn-ti(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case Lt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*-wn:-wn);break;case Lt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10*wn:wn);break;case Lt.K5:case Lt.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===Lt.L_||C.keyCode===Lt.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),Ne=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(C,te,1));return this._dateAdapter.createDate(C,te,Math.min(this._dateAdapter.getDate(this.activeDate),Ne))}_createCellForYear(C){const te=this._dateAdapter.createDate(C,0,1),Ne=this._dateAdapter.getYearName(te),ot=this.dateClass?this.dateClass(te,"multi-year"):void 0;return new Q(C,Ne,Ne,this._shouldEnableYear(C),ot)}_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 Ne=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(C))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Ne,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,Ne,ot){this._changeDetectorRef=C,this._dateFormats=te,this._dateAdapter=Ne,this._dir=ot,this._rerenderSubscription=_t.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,Ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),te,1);this.monthSelected.emit(Ne);const ot=this._getDateFromMonth(te);this.selectedChange.emit(ot)}_updateActiveDate(C){const Ne=this._activeDate;this.activeDate=this._getDateFromMonth(C.value),this._dateAdapter.compareDate(Ne,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(C){const te=this._activeDate,Ne=this._isRtl();switch(C.keyCode){case Lt.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ne?1:-1);break;case Lt.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Ne?-1:1);break;case Lt.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case Lt.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case Lt.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case Lt.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case Lt.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?-10:-1);break;case Lt.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,C.altKey?10:1);break;case Lt.K5:case Lt.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===Lt.L_||C.keyCode===Lt.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(Ne=>this._createCellForMonth(Ne,C[Ne]))),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),Ne=this._dateAdapter.getNumDaysInMonth(te);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,Math.min(this._dateAdapter.getDate(this.activeDate),Ne))}_createCellForMonth(C,te){const Ne=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),C,1),ot=this._dateAdapter.format(Ne,this._dateFormats.display.monthYearA11yLabel),Zt=this.dateClass?this.dateClass(Ne,"year"):void 0;return new Q(C,te.toLocaleUpperCase(),ot,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 ot=this._dateAdapter.createDate(te,C,1);this._dateAdapter.getMonth(ot)==C;ot=this._dateAdapter.addCalendarDays(ot,1))if(this.dateFilter(ot))return!0;return!1}_isYearAndMonthAfterMaxDate(C,te){if(this.maxDate){const Ne=this._dateAdapter.getYear(this.maxDate),ot=this._dateAdapter.getMonth(this.maxDate);return C>Ne||C===Ne&&te>ot}return!1}_isYearAndMonthBeforeMinDate(C,te){if(this.minDate){const Ne=this._dateAdapter.getYear(this.minDate),ot=this._dateAdapter.getMonth(this.minDate);return C{class Je{constructor(C,te,Ne,ot,Zt){this._intl=C,this.calendar=te,this._dateAdapter=Ne,this._dateFormats=ot,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),Ne=te+wn-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(te,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Ne,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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.MAT_DATE_FORMATS,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Pe,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,Ne,ot){this._dateAdapter=te,this._dateFormats=Ne,this._changeDetectorRef=ot,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 Nt.x,this._intlChanges=C.changes.subscribe(()=>{ot.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,Ne=C.maxDate&&!this._dateAdapter.sameDate(C.maxDate.previousValue,C.maxDate.currentValue)?C.maxDate:void 0,ot=te||Ne||C.dateFilter;if(ot&&!ot.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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.monthView=Ne.first),r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.yearView=Ne.first),r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te.multiYearView=Ne.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,mt,0,0,"ng-template",0),r.\u0275\u0275elementStart(1,"div",1),r.\u0275\u0275template(2,Pt,1,11,"mat-month-view",2),r.\u0275\u0275template(3,Ft,1,6,"mat-year-view",3),r.\u0275\u0275template(4,Gt,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},Mt=(0,h.mixinColor)(class{constructor(Je){this._elementRef=Je}});let jt=(()=>{class Je extends Mt{constructor(C,te,Ne,ot,Zt,Pn){super(C),this._changeDetectorRef=te,this._globalModel=Ne,this._dateAdapter=ot,this._rangeSelectionStrategy=Zt,this._subscriptions=new _t.w0,this._animationDone=new Nt.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,Ne=C.value,ot=te instanceof _n;if(ot&&this._rangeSelectionStrategy){const Zt=this._rangeSelectionStrategy.selectionFinished(Ne,te,C.event);this._model.updateSelection(Zt,this)}else Ne&&(ot||!this._dateAdapter.sameDate(Ne,te))&&this._model.add(Ne);(!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(h.DateAdapter),r.\u0275\u0275directiveInject(pt,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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._calendar=Ne.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(C,te){1&C&&r.\u0275\u0275syntheticHostListener("@transformPanel.start",function(ot){return te._handleAnimationEvent(ot)})("@transformPanel.done",function(ot){return te._handleAnimationEvent(ot)}),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(ot){return te.datepicker._selectYear(ot)})("monthSelected",function(ot){return te.datepicker._selectMonth(ot)})("viewChanged",function(ot){return te.datepicker._viewChanged(ot)})("_userSelection",function(ot){return te._handleUserSelection(ot)})("_userDragDrop",function(ot){return te._handleUserDragDrop(ot)}),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(2,Oe,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 Ne;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!==(Ne=te._dialogLabelId)&&void 0!==Ne?Ne: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,Ne,ot,Zt,Pn,ji){this._overlay=C,this._ngZone=te,this._viewContainerRef=Ne,this._dateAdapter=Zt,this._dir=Pn,this._model=ji,this._inputStateChanges=_t.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 Nt.x,this._scrollStrategy=ot}ngOnChanges(C){const te=C.xPosition||C.yPosition;if(te&&!te.firstChange&&this._overlayRef){const Ne=this._overlayRef.getConfig().positionStrategy;Ne instanceof c._G&&(this._setConnectedPositions(Ne),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,f.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:Ne,location:ot}=this._componentRef;Ne._startExitAnimation(),Ne._animationDone.pipe((0,lt.q)(1)).subscribe(()=>{const Zt=this._document.activeElement;C&&(!Zt||Zt===this._document.activeElement||ot.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),Ne=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(Ne).subscribe(ot=>{ot&&ot.preventDefault(),this.close()}),Ne.keydownEvents().subscribe(ot=>{const Zt=ot.keyCode;(Zt===Lt.LH||Zt===Lt.JH||Zt===Lt.oh||Zt===Lt.SV||Zt===Lt.Ku||Zt===Lt.VM)&&ot.preventDefault()}),this._componentRef=Ne.attach(te),this._forwardContentValues(this._componentRef.instance),C||this._ngZone.onStable.pipe((0,lt.q)(1)).subscribe(()=>Ne.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",Ne="start"===te?"end":"start",ot="above"===this.yPosition?"bottom":"top",Zt="top"===ot?"bottom":"top";return C.withPositions([{originX:te,originY:Zt,overlayX:te,overlayY:ot},{originX:te,originY:ot,overlayX:te,overlayY:Zt},{originX:Ne,originY:Zt,overlayX:Ne,overlayY:ot},{originX:Ne,originY:ot,overlayX:Ne,overlayY:Zt}])}_getCloseStream(C){const te=["ctrlKey","shiftKey","metaKey"];return(0,Bt.T)(C.backdropClick(),C.detachments(),C.keydownEvents().pipe((0,at.h)(Ne=>Ne.keyCode===Lt.hY&&!(0,Lt.Vb)(Ne)||this.datepickerInput&&(0,Lt.Vb)(Ne,"altKey")&&Ne.keyCode===Lt.LH&&te.every(ot=>!(0,Lt.Vb)(Ne,ot)))))}}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(h.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 Ot;return function(te){return(Ot||(Ot=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(Ot,C){this.target=Ot,this.targetElement=C,this.value=this.target.value}}let se=(()=>{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),Ne=this._elementRef.nativeElement;this._disabled!==te&&(this._disabled=te,this.stateChanges.next(void 0)),te&&this._isInitialized&&Ne.blur&&Ne.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 Ne=this._getValueFromModel(te.selection);this._lastValueValid=this._isValidValue(Ne),this._cvaOnChange(Ne),this._onTouched(),this._formatValue(Ne),this.dateInput.emit(new me(this,this._elementRef.nativeElement)),this.dateChange.emit(new me(this,this._elementRef.nativeElement))}})}constructor(C,te,Ne){this._elementRef=C,this._dateAdapter=te,this._dateFormats=Ne,this.dateChange=new r.EventEmitter,this.dateInput=new r.EventEmitter,this.stateChanges=new Nt.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=_t.w0.EMPTY,this._localeSubscription=_t.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value));return!Zt||this._matchesFilter(Zt)?null:{matDatepickerFilter:!0}},this._minValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.value)),Pn=this._getMinDate();return!Pn||!Zt||this._dateAdapter.compareDate(Pn,Zt)<=0?null:{matDatepickerMin:{min:Pn,actual:Zt}}},this._maxValidator=ot=>{const Zt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(ot.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,Lt.Vb)(C,"altKey")&&C.keyCode===Lt.JH&&["ctrlKey","shiftKey","metaKey"].every(ot=>!(0,Lt.Vb)(C,ot))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),C.preventDefault())}_onInput(C){const te=this._lastValueValid;let Ne=this._dateAdapter.parse(C,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Ne),Ne=this._dateAdapter.getValidDateOrNull(Ne);const ot=!this._dateAdapter.sameDate(Ne,this.value);!Ne||ot?this._cvaOnChange(Ne):(C&&!this.value&&this._cvaOnChange(Ne),te!==this._lastValueValid&&this._validatorOnChange()),ot&&(this._assignValue(Ne),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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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,Ot){const C=Object.keys(Je);for(let te of C){const{previousValue:Ne,currentValue:ot}=Je[te];if(!Ot.isDateInstance(Ne)||!Ot.isDateInstance(ot))return!0;if(!Ot.sameDate(Ne,ot))return!0}return!1}const kt={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 se{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,Ne,ot){super(C,te,Ne),this._formField=ot,this._closedSubscription=_t.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(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("blur",function(){return te._onBlur()})("keydown",function(ot){return te._onKeydown(ot)}),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([kt,Wt,{provide:K.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,Ne){this._intl=C,this._changeDetectorRef=te,this._stateChanges=_t.w0.EMPTY;const ot=Number(Ne);this.tabIndex=ot||0===ot?ot: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)(),Ne=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,Ne).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,Ne){if(1&C&&r.\u0275\u0275contentQuery(Ne,gn,5),2&C){let ot;r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._customIcon=ot.first)}},viewQuery:function(C,te){if(1&C&&r.\u0275\u0275viewQuery(Ke,5),2&C){let Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._button=Ne.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(C,te){1&C&&r.\u0275\u0275listener("click",function(ot){return te._open(ot)}),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:ct,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(ge),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275template(2,he,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,Ot){if(jn(Je)&&Ot){const te=(Je.getAttribute?.("aria-labelledby")?.split(/\s+/g)||[]).reduce((Ne,ot)=>{const Zt=document.getElementById(ot);return Zt&&Ne.push(Zt),Ne},[]);if(te.length)return te.map(Ne=>Ti(Ne,!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(Ne=>Ti(Ne,!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,h.mixinErrorState)((()=>{class Je extends se{constructor(C,te,Ne,ot,Zt,Pn,ji,Pi){super(te,ji,Pi),this._rangeInput=C,this._elementRef=te,this._defaultErrorStateMatcher=Ne,this._injector=ot,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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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,Ne,ot,Zt,Pn,ji,Pi){super(C,te,Ne,ot,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,Ne=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;(C.keyCode===Lt.SV&&ot||C.keyCode===Lt.oh&&!ot)&&Ne.selectionStart===Ne.value.length&&Ne.selectionEnd===Ne.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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("keydown",function(ot){return te._onKeydown(ot)})("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,Ne,ot,Zt,Pn,ji,Pi){super(C,te,Ne,ot,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,Ne=this._elementRef.nativeElement,ot="rtl"!==this._dir?.value;if(C.keyCode!==Lt.ZH||Ne.value)if((C.keyCode===Lt.oh&&ot||C.keyCode===Lt.SV&&!ot)&&0===Ne.selectionStart&&0===Ne.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(h.ErrorStateMatcher),r.\u0275\u0275directiveInject(r.Injector),r.\u0275\u0275directiveInject(Y.NgForm,8),r.\u0275\u0275directiveInject(Y.FormGroupDirective,8),r.\u0275\u0275directiveInject(h.DateAdapter,8),r.\u0275\u0275directiveInject(h.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(ot){return te._onInput(ot.target.value)})("change",function(){return te._onChange()})("keydown",function(ot){return te._onKeydown(ot)})("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,Ne=this._endInput,ot=te&&te._matchesFilter(te.value),Zt=Ne&&Ne._matchesFilter(te.value);this._dateFilter=C,te&&te._matchesFilter(te.value)!==ot&&te._validatorOnChange(),Ne&&Ne._matchesFilter(Ne.value)!==Zt&&Ne._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,Ne,ot,Zt){this._changeDetectorRef=C,this._elementRef=te,this._dateAdapter=ot,this._formField=Zt,this._closedSubscription=_t.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 Nt.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=Ne}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(h.DateAdapter,8),r.\u0275\u0275directiveInject(ne.G_,8))},Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-input"]],contentQueries:function(C,te,Ne){if(1&C&&(r.\u0275\u0275contentQuery(Ne,Cn,5),r.\u0275\u0275contentQuery(Ne,tn,5)),2&C){let ot;r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._startInput=ot.first),r.\u0275\u0275queryRefresh(ot=r.\u0275\u0275loadQuery())&&(te._endInput=ot.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(Me),r.\u0275\u0275elementStart(0,"div",0),r.\u0275\u0275listener("cdkFocusChange",function(ot){return te._updateFocus(ot)}),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 Ot;return function(te){return(Ot||(Ot=r.\u0275\u0275getInheritedFactory(Je)))(te||Je)}}(),Je.\u0275cmp=r.\u0275\u0275defineComponent({type:Je,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[r.\u0275\u0275ProvidersFeature([bt,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 Ne;r.\u0275\u0275queryRefresh(Ne=r.\u0275\u0275loadQuery())&&(te._template=Ne.first)}},ngContentSelectors:Pe,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,h.MatCommonModule,Ct.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 f{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 f.\u0275fac=function(u){return new(u||f)},f.\u0275cmp=n.\u0275\u0275defineComponent({type:f,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}),f})(),r=(()=>{class f{}return f.\u0275fac=function(u){return new(u||f)},f.\u0275mod=n.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=n.\u0275\u0275defineInjector({imports:[d.MatCommonModule,d.MatCommonModule]}),f})()},1043:(Ie,B,a)=>{"use strict";a.d(B,{Bi:()=>Bt,Eo:()=>Nt,G_:()=>Lt,Lv:()=>Tt,Px:()=>Ee,TN:()=>Ct,UO:()=>_t,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"),Ct={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 Nt=(()=>{class K{}return K.\u0275fac=function(Te){return new(Te||K)},K.\u0275dir=n.\u0275\u0275defineDirective({type:K}),K})();function _t(){return Error("Placeholder attribute and child element were both specified.")}function Bt(K){return Error(`A hint was already declared for 'align="${K}"'.`)}function Tt(){return Error("mat-form-field must contain a MatFormFieldControl.")}const Lt=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:()=>ve,MatIconModule:()=>He,MatIconRegistry:()=>Ce,getMatIconFailedToSanitizeLiteralError:()=>A,getMatIconFailedToSanitizeUrlError:()=>ie,getMatIconNameNotFoundError:()=>$,getMatIconNoHttpProviderError:()=>ee});var n=a(5879),c=a(3680),d=a(2495),g=a(6814),r=a(2096),f=a(8504),h=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,Ge,tt){this.url=Qe,this.svgText=Ge,this.options=tt}}let Ce=(()=>{class Ze{constructor(Ge,tt,Ct,Nt){this._httpClient=Ge,this._sanitizer=tt,this._errorHandler=Nt,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=Ct}addSvgIcon(Ge,tt,Ct){return this.addSvgIconInNamespace("",Ge,tt,Ct)}addSvgIconLiteral(Ge,tt,Ct){return this.addSvgIconLiteralInNamespace("",Ge,tt,Ct)}addSvgIconInNamespace(Ge,tt,Ct,Nt){return this._addSvgIconConfig(Ge,tt,new U(Ct,null,Nt))}addSvgIconResolver(Ge){return this._resolvers.push(Ge),this}addSvgIconLiteralInNamespace(Ge,tt,Ct,Nt){const _t=this._sanitizer.sanitize(n.SecurityContext.HTML,Ct);if(!_t)throw A(Ct);const Bt=X(_t);return this._addSvgIconConfig(Ge,tt,new U("",Bt,Nt))}addSvgIconSet(Ge,tt){return this.addSvgIconSetInNamespace("",Ge,tt)}addSvgIconSetLiteral(Ge,tt){return this.addSvgIconSetLiteralInNamespace("",Ge,tt)}addSvgIconSetInNamespace(Ge,tt,Ct){return this._addSvgIconSetConfig(Ge,new U(tt,null,Ct))}addSvgIconSetLiteralInNamespace(Ge,tt,Ct){const Nt=this._sanitizer.sanitize(n.SecurityContext.HTML,tt);if(!Nt)throw A(tt);const _t=X(Nt);return this._addSvgIconSetConfig(Ge,new U("",_t,Ct))}registerFontClassAlias(Ge,tt=Ge){return this._fontCssClassesByAlias.set(Ge,tt),this}classNameForFontAlias(Ge){return this._fontCssClassesByAlias.get(Ge)||Ge}setDefaultFontSetClass(...Ge){return this._defaultFontSetClass=Ge,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ge){const tt=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Ge);if(!tt)throw ie(Ge);const Ct=this._cachedIconsByUrl.get(tt);return Ct?(0,r.of)(de(Ct)):this._loadSvgIconFromConfig(new U(Ge,null)).pipe((0,v.b)(Nt=>this._cachedIconsByUrl.set(tt,Nt)),(0,b.U)(Nt=>de(Nt)))}getNamedSvgIcon(Ge,tt=""){const Ct=H(tt,Ge);let Nt=this._svgIconConfigs.get(Ct);if(Nt)return this._getSvgFromConfig(Nt);if(Nt=this._getIconConfigFromResolvers(tt,Ge),Nt)return this._svgIconConfigs.set(Ct,Nt),this._getSvgFromConfig(Nt);const _t=this._iconSetConfigs.get(tt);return _t?this._getSvgFromIconSetConfigs(Ge,_t):(0,f._)($(Ct))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ge){return Ge.svgText?(0,r.of)(de(this._svgElementFromConfig(Ge))):this._loadSvgIconFromConfig(Ge).pipe((0,b.U)(tt=>de(tt)))}_getSvgFromIconSetConfigs(Ge,tt){const Ct=this._extractIconWithNameFromAnySet(Ge,tt);if(Ct)return(0,r.of)(Ct);const Nt=tt.filter(_t=>!_t.svgText).map(_t=>this._loadSvgIconSetFromConfig(_t).pipe((0,p.K)(Bt=>{const Lt=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,_t.url)} failed: ${Bt.message}`;return this._errorHandler.handleError(new Error(Lt)),(0,r.of)(null)})));return(0,h.D)(Nt).pipe((0,b.U)(()=>{const _t=this._extractIconWithNameFromAnySet(Ge,tt);if(!_t)throw $(Ge);return _t}))}_extractIconWithNameFromAnySet(Ge,tt){for(let Ct=tt.length-1;Ct>=0;Ct--){const Nt=tt[Ct];if(Nt.svgText&&Nt.svgText.toString().indexOf(Ge)>-1){const _t=this._svgElementFromConfig(Nt),Bt=this._extractSvgIconFromSet(_t,Ge,Nt.options);if(Bt)return Bt}}return null}_loadSvgIconFromConfig(Ge){return this._fetchIcon(Ge).pipe((0,v.b)(tt=>Ge.svgText=tt),(0,b.U)(()=>this._svgElementFromConfig(Ge)))}_loadSvgIconSetFromConfig(Ge){return Ge.svgText?(0,r.of)(null):this._fetchIcon(Ge).pipe((0,v.b)(tt=>Ge.svgText=tt))}_extractSvgIconFromSet(Ge,tt,Ct){const Nt=Ge.querySelector(`[id="${tt}"]`);if(!Nt)return null;const _t=Nt.cloneNode(!0);if(_t.removeAttribute("id"),"svg"===_t.nodeName.toLowerCase())return this._setSvgAttributes(_t,Ct);if("symbol"===_t.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(_t),Ct);const Bt=this._svgElementFromString(X(""));return Bt.appendChild(_t),this._setSvgAttributes(Bt,Ct)}_svgElementFromString(Ge){const tt=this._document.createElement("DIV");tt.innerHTML=Ge;const Ct=tt.querySelector("svg");if(!Ct)throw Error(" tag not found");return Ct}_toSvgElement(Ge){const tt=this._svgElementFromString(X("")),Ct=Ge.attributes;for(let Nt=0;NtX(Lt)),(0,_.x)(()=>this._inProgressUrlFetches.delete(_t)),(0,l.B)());return this._inProgressUrlFetches.set(_t,Tt),Tt}_addSvgIconConfig(Ge,tt,Ct){return this._svgIconConfigs.set(H(Ge,tt),Ct),this}_addSvgIconSetConfig(Ge,tt){const Ct=this._iconSetConfigs.get(Ge);return Ct?Ct.push(tt):this._iconSetConfigs.set(Ge,[tt]),this}_svgElementFromConfig(Ge){if(!Ge.svgElement){const tt=this._svgElementFromString(Ge.svgText);this._setSvgAttributes(tt,Ge.options),Ge.svgElement=tt}return Ge.svgElement}_getIconConfigFromResolvers(Ge,tt){for(let Ct=0;CtQe?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(", "),ae=/^url\(['"]?#(.*?)['"]?\)$/;let ve=(()=>{class Ze extends pe{get inline(){return this._inline}set inline(Ge){this._inline=(0,d.Ig)(Ge)}get svgIcon(){return this._svgIcon}set svgIcon(Ge){Ge!==this._svgIcon&&(Ge?this._updateSvgIcon(Ge):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ge)}get fontSet(){return this._fontSet}set fontSet(Ge){const tt=this._cleanupFontValue(Ge);tt!==this._fontSet&&(this._fontSet=tt,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ge){const tt=this._cleanupFontValue(Ge);tt!==this._fontIcon&&(this._fontIcon=tt,this._updateFontIconClasses())}constructor(Ge,tt,Ct,Nt,_t,Bt){super(Ge),this._iconRegistry=tt,this._location=Nt,this._errorHandler=_t,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)),Ct||Ge.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Ge){if(!Ge)return["",""];const tt=Ge.split(":");switch(tt.length){case 1:return["",tt[0]];case 2:return tt;default:throw Error(`Invalid icon name: "${Ge}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ge=this._elementsWithExternalReferences;if(Ge&&Ge.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(Ge){this._clearSvgElement();const tt=this._location.getPathname();this._previousPath=tt,this._cacheChildrenWithExternalReferences(Ge),this._prependPathToReferences(tt),this._elementRef.nativeElement.appendChild(Ge)}_clearSvgElement(){const Ge=this._elementRef.nativeElement;let tt=Ge.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();tt--;){const Ct=Ge.childNodes[tt];(1!==Ct.nodeType||"svg"===Ct.nodeName.toLowerCase())&&Ct.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ge=this._elementRef.nativeElement,tt=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ct=>Ct.length>0);this._previousFontSetClass.forEach(Ct=>Ge.classList.remove(Ct)),tt.forEach(Ct=>Ge.classList.add(Ct)),this._previousFontSetClass=tt,this.fontIcon!==this._previousFontIconClass&&!tt.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ge.classList.remove(this._previousFontIconClass),this.fontIcon&&Ge.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ge){return"string"==typeof Ge?Ge.trim().split(" ")[0]:Ge}_prependPathToReferences(Ge){const tt=this._elementsWithExternalReferences;tt&&tt.forEach((Ct,Nt)=>{Ct.forEach(_t=>{Nt.setAttribute(_t.name,`url('${Ge}#${_t.value}')`)})})}_cacheChildrenWithExternalReferences(Ge){const tt=Ge.querySelectorAll(re),Ct=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let Nt=0;Nt{const Bt=tt[Nt],Tt=Bt.getAttribute(_t),Lt=Tt?Tt.match(ae):null;if(Lt){let Le=Ct.get(Bt);Le||(Le=[],Ct.set(Bt,Le)),Le.push({name:_t,value:Lt[1]})}})}_updateSvgIcon(Ge){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ge){const[tt,Ct]=this._splitIconName(Ge);tt&&(this._svgNamespace=tt),Ct&&(this._svgName=Ct),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ct,tt).pipe((0,y.q)(1)).subscribe(Nt=>this._setSvgElement(Nt),Nt=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${tt}:${Ct}! ${Nt.message}`))})}}}return Ze.\u0275fac=function(Ge){return new(Ge||Ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(Ce),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(Ge,tt){2&Ge&&(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(Ge,tt){1&Ge&&(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(Ge){return new(Ge||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),f=a(3680),h=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,f.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,Ce,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,de=Ae.nodeName.toLowerCase();this._inputValueAccessor=A||Ae,this._previousNativeValue=this.value,this.id=this.id,I.IOS&&Ce.runOutsideAngular(()=>{E.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===de,this._isTextarea="textarea"===de,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(f.ErrorStateMatcher),g.\u0275\u0275directiveInject(b,10),g.\u0275\u0275directiveInject(d.Lq),g.\u0275\u0275directiveInject(g.NgZone),g.\u0275\u0275directiveInject(h.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:h.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:()=>Ct,MAT_LEGACY_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Nt,MAT_LEGACY_AUTOCOMPLETE_VALUE_ACCESSOR:()=>ze,MatLegacyAutocomplete:()=>lt,MatLegacyAutocompleteModule:()=>oe,MatLegacyAutocompleteOrigin:()=>N,MatLegacyAutocompleteSelectedEvent:()=>Ee,MatLegacyAutocompleteTrigger:()=>at,getMatLegacyAutocompleteMissingPanelError:()=>Ge});var n=a(5879),c=a(3680),d=a(4678),g=a(6814),r=a(6672),f=a(9594),h=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),Ce=a(9397),Re=a(7547),Ae=a(9388);const de=["panel"];let we=0;class Ee{constructor(ne,K){this.source=ne,this.option=K}}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 ae=(()=>{class Y extends Be{get isOpen(){return this._isOpen&&this.showPanel}_setColor(K){this._color=K,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(K){this._autoActiveFirstOption=(0,u.Ig)(K)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(K){this._autoSelectActiveOption=(0,u.Ig)(K)}set classList(K){this._classList=K&&K.length?(0,u.du)(K).reduce((ce,Te)=>(ce[Te]=!0,ce),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(K,ce,Te,et){super(),this._changeDetectorRef=K,this._elementRef=ce,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=et?.SAFARI||!1,this._autoActiveFirstOption=!!Te.autoActiveFirstOption,this._autoSelectActiveOption=!!Te.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new h.s1(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(K=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[K]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(K){this.panel&&(this.panel.nativeElement.scrollTop=K)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(K){const ce=new Ee(this,K);this.optionSelected.emit(ce)}_getPanelAriaLabelledby(K){return this.ariaLabel?null:this.ariaLabelledby?(K?K+" ":"")+this.ariaLabelledby:K}_setVisibilityClasses(K){K[this._visibleClass]=this.showPanel,K[this._hiddenClass]=!this.showPanel}_setThemeClasses(K){K["mat-primary"]="primary"===this._color,K["mat-warn"]="warn"===this._color,K["mat-accent"]="accent"===this._color}_skipPredicate(K){return K.disabled}}return Y.\u0275fac=function(K){return new(K||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(K,ce){if(1&K&&(n.\u0275\u0275viewQuery(n.TemplateRef,7),n.\u0275\u0275viewQuery(de,5)),2&K){let Te;n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ce.template=Te.first),n.\u0275\u0275queryRefresh(Te=n.\u0275\u0275loadQuery())&&(ce.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(K){this.elementRef=K}}return Y.\u0275fac=function(K){return new(K||Y)(n.\u0275\u0275directiveInject(n.ElementRef))},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y}),Y})();function Ge(){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 Ct(Y){return()=>Y.scrollStrategies.reposition()}const Nt={provide:tt,deps:[f.aV],useFactory:Ct};let _t=(()=>{class Y{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(K){this._autocompleteDisabled=(0,u.Ig)(K)}constructor(K,ce,Te,et,Dt,_e,ut,Pe,mt,Pt,Ft){this._element=K,this._overlay=ce,this._viewContainerRef=Te,this._zone=et,this._changeDetectorRef=Dt,this._dir=ut,this._formField=Pe,this._document=mt,this._viewportRuler=Pt,this._defaults=Ft,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 Gt=this.autocomplete?this.autocomplete.options:null;return Gt?Gt.changes.pipe((0,$.O)(Gt),(0,ee.w)(()=>(0,y.T)(...Gt.map(Oe=>Oe.onSelectionChange)))):this._zone.onStable.pipe((0,ie.q)(1),(0,ee.w)(()=>this.optionSelections))}),this._handlePanelKeydown=Gt=>{(Gt.keyCode===S.hY&&!(0,S.Vb)(Gt)||Gt.keyCode===S.LH&&(0,S.Vb)(Gt,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),Gt.stopPropagation(),Gt.preventDefault())},this._trackedModal=null,this._scrollStrategy=_e}ngAfterViewInit(){const K=this._getWindow();typeof K<"u"&&this._zone.runOutsideAngular(()=>K.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(K){K.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const K=this._getWindow();typeof K<"u"&&K.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)(K=>K instanceof c.MatOptionSelectionChange?K: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)(K=>{const ce=(0,v.sA)(K),Te=this._formField?this._formField._elementRef.nativeElement:null,et=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&ce!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Te||!Te.contains(ce))&&(!et||!et.contains(ce))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(ce)}))}writeValue(K){Promise.resolve(null).then(()=>this._assignOptionValue(K))}registerOnChange(K){this._onChange=K}registerOnTouched(K){this._onTouched=K}setDisabledState(K){this._element.nativeElement.disabled=K}_handleKeydown(K){const ce=K.keyCode,Te=(0,S.Vb)(K);if(ce===S.hY&&!Te&&K.preventDefault(),this.activeOption&&ce===S.K5&&this.panelOpen&&!Te)this.activeOption._selectViaInteraction(),this._resetActiveItem(),K.preventDefault();else if(this.autocomplete){const et=this.autocomplete._keyManager.activeItem,Dt=ce===S.LH||ce===S.JH;ce===S.Mf||Dt&&!Te&&this.panelOpen?this.autocomplete._keyManager.onKeydown(K):Dt&&this._canOpen()&&this.openPanel(),(Dt||this.autocomplete._keyManager.activeItem!==et)&&(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(K){let ce=K.target,Te=ce.value;"number"===ce.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===K.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(K=!1){this._formField&&"auto"===this._formField.floatLabel&&(K?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const K=this._zone.onStable.pipe((0,ie.q)(1)),ce=this.autocomplete.options.changes.pipe((0,Ce.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,Re.g)(0));return(0,y.T)(K,ce).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(K){const ce=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(K):K;this._updateNativeInputValue(ce??"")}_updateNativeInputValue(K){this._formField?this._formField._control.value=K:this._element.nativeElement.value=K,this._previousValue=K}_setValueAndClose(K){const ce=K?K.source:this._pendingAutoselectedOption;ce&&(this._clearPreviousSelectedOption(ce),this._assignOptionValue(ce.value),this._onChange(ce.value),this.autocomplete._emitSelectEvent(ce),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(K,ce){this.autocomplete&&this.autocomplete.options&&this.autocomplete.options.forEach(Te=>{Te!==K&&Te.selected&&Te.deselect(ce)})}_attachOverlay(){let K=this._overlayRef;K?(this._positionStrategy.setOrigin(this._getConnectedElement()),K.updateSize({width:this._getPanelWidth()})):(this._portal=new E.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),K=this._overlay.create(this._getOverlayConfig()),this._overlayRef=K,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&K&&K.updateSize({width:this._getPanelWidth()})})),K&&!K.hasAttached()&&(K.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const ce=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&ce!==this.panelOpen&&this.autocomplete.opened.emit()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){const K=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=K.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=K.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new f.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const K=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(K),this._positionStrategy=K,K}_setStrategyPositions(K){const ce=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Te=this._aboveClass,et=[{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?et:"below"===this.position?ce:[...ce,...et],K.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 K=this.autocomplete;if(K.autoActiveFirstOption){let ce=-1;for(let Te=0;Te .cdk-overlay-container [aria-modal="true"]');if(!K)return;const ce=this.autocomplete.id;this._trackedModal&&(0,h.iD)(this._trackedModal,"aria-owns",ce),(0,h.Zf)(K,"aria-owns",ce),this._trackedModal=K}_clearFromModal(){this._trackedModal&&((0,h.iD)(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)}}return Y.\u0275fac=function(K){return new(K||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(f.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 Lt(Y,ne){if(1&Y&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()),2&Y){const K=ne.id,ce=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",ce.id)("ngClass",ce._classList),n.\u0275\u0275attribute("aria-label",ce.ariaLabel||null)("aria-labelledby",ce._getPanelAriaLabelledby(K))}}const Le=["*"];let lt=(()=>{class Y extends ae{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return Y.\u0275fac=function(){let ne;return function(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275cmp=n.\u0275\u0275defineComponent({type:Y,selectors:[["mat-autocomplete"]],contentQueries:function(K,ce,Te){if(1&K&&(n.\u0275\u0275contentQuery(Te,c.MAT_OPTGROUP,5),n.\u0275\u0275contentQuery(Te,d.MatLegacyOption,5)),2&K){let et;n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ce.optionGroups=et),n.\u0275\u0275queryRefresh(et=n.\u0275\u0275loadQuery())&&(ce.options=et)}},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(K,ce){1&K&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,Lt,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 _t{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return Y.\u0275fac=function(){let ne;return function(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(K,ce){1&K&&n.\u0275\u0275listener("focusin",function(){return ce._handleFocus()})("blur",function(){return ce._onTouched()})("input",function(et){return ce._handleInput(et)})("keydown",function(et){return ce._handleKeydown(et)})("click",function(){return ce._handleClick()}),2&K&&n.\u0275\u0275attribute("autocomplete",ce.autocompleteAttribute)("role",ce.autocompleteDisabled?null:"combobox")("aria-autocomplete",ce.autocompleteDisabled?null:"list")("aria-activedescendant",ce.panelOpen&&ce.activeOption?ce.activeOption.id:null)("aria-expanded",ce.autocompleteDisabled?null:ce.panelOpen.toString())("aria-owns",ce.autocompleteDisabled||!ce.panelOpen||null==ce.autocomplete?null:ce.autocomplete.id)("aria-haspopup",ce.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(ce){return(ne||(ne=n.\u0275\u0275getInheritedFactory(Y)))(ce||Y)}}(),Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"],features:[n.\u0275\u0275InheritDefinitionFeature]}),Y})(),oe=(()=>{class Y{}return Y.\u0275fac=function(K){return new(K||Y)},Y.\u0275mod=n.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=n.\u0275\u0275defineInjector({providers:[Nt],imports:[f.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",""]],"*"],f=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],h=[[["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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(Ce,Re){2&Ce&&n.\u0275\u0275classProp("mat-card-actions-align-end","end"===Re.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),A})(),l=(()=>{class A{}return A.\u0275fac=function(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||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(Ce){return new(Ce||A)},A.\u0275dir=n.\u0275\u0275defineDirective({type:A,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),A})(),X=(()=>{class A{constructor(Ce){this._animationMode=Ce}}return A.\u0275fac=function(Ce){return new(Ce||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(Ce,Re){2&Ce&&n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Re._animationMode)},exportAs:["matCard"],ngContentSelectors:g,decls:2,vars:0,template:function(Ce,Re){1&Ce&&(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(Ce){return new(Ce||A)},A.\u0275cmp=n.\u0275\u0275defineComponent({type:A,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:f,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(Ce,Re){1&Ce&&(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(Ce){return new(Ce||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(Ce,Re){1&Ce&&(n.\u0275\u0275projectionDef(h),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(Ce){return new(Ce||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:()=>Ce,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 f=["input"],h=["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(de){this._elementRef=de}}))));let D=(()=>{class de 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 de.\u0275fac=function(W){c.\u0275\u0275invalidFactory()},de.\u0275dir=c.\u0275\u0275defineDirective({type:de,viewQuery:function(W,pe){if(1&W&&(c.\u0275\u0275viewQuery(f,5),c.\u0275\u0275viewQuery(h,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]}),de})();const E={provide:d.NG_VALIDATORS,useExisting:(0,c.forwardRef)(()=>I),multi:!0};let I=(()=>{class de extends d.CheckboxRequiredValidator{}return de.\u0275fac=function(){let H;return function(pe){return(H||(H=c.\u0275\u0275getInheritedFactory(de)))(pe||de)}}(),de.\u0275dir=c.\u0275\u0275defineDirective({type:de,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[c.\u0275\u0275ProvidersFeature([E]),c.\u0275\u0275InheritDefinitionFeature]}),de})(),X=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=c.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=c.\u0275\u0275defineInjector({}),de})();var ee=a(7131);const ie=function(de){return{enterDuration:de}},A=["*"];class U{}const Ce={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,c.forwardRef)(()=>Re),multi:!0};let Re=(()=>{class de 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 de.\u0275fac=function(W){return new(W||de)(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))},de.\u0275cmp=c.\u0275\u0275defineComponent({type:de,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([Ce]),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}),de})(),Ae=(()=>{class de{}return de.\u0275fac=function(W){return new(W||de)},de.\u0275mod=c.\u0275\u0275defineNgModule({type:de}),de.\u0275inj=c.\u0275\u0275defineInjector({imports:[g.MatRippleModule,g.MatCommonModule,ee.Q8,X,g.MatCommonModule,X]}),de})()},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 f(_,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 h(_,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,f,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1,2),n.\u0275\u0275projection(3),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(4,h,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:()=>Ge,MatLegacyFormFieldControl:()=>r.Eo,MatLegacyFormFieldModule:()=>Nt,MatLegacyHint:()=>Be,MatLegacyLabel:()=>G,MatLegacyPlaceholder:()=>re,MatLegacyPrefix:()=>tt,MatLegacySuffix:()=>Ct,_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),f=a(9388),h=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(_t,Bt){1&_t&&(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(_t,Bt){if(1&_t){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&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("cdkObserveContentDisabled","outline"!=Tt.appearance)}}function X(_t,Bt){if(1&_t&&(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&_t){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(Tt._control.placeholder)}}function $(_t,Bt){1&_t&&d.\u0275\u0275projection(0,3,["*ngSwitchCase","true"])}function ee(_t,Bt){1&_t&&(d.\u0275\u0275elementStart(0,"span",23),d.\u0275\u0275text(1," *"),d.\u0275\u0275elementEnd())}function ie(_t,Bt){if(1&_t){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&_t){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(_t,Bt){1&_t&&(d.\u0275\u0275elementStart(0,"div",24),d.\u0275\u0275projection(1,4),d.\u0275\u0275elementEnd())}function U(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div",25),d.\u0275\u0275element(1,"span",26),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275classProp("mat-accent","accent"==Tt.color)("mat-warn","warn"==Tt.color)}}function Ce(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div"),d.\u0275\u0275projection(1,5),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState)}}function Re(_t,Bt){if(1&_t&&(d.\u0275\u0275elementStart(0,"div",30),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&_t){const Tt=d.\u0275\u0275nextContext(2);d.\u0275\u0275property("id",Tt._hintLabelId),d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Tt.hintLabel)}}function Ae(_t,Bt){if(1&_t&&(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&_t){const Tt=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transitionMessages",Tt._subscriptAnimationState),d.\u0275\u0275advance(1),d.\u0275\u0275property("ngIf",Tt.hintLabel)}}const de=["*",[["","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 _t{constructor(Tt,Lt){this.id="mat-error-"+W++,Tt||Lt.nativeElement.setAttribute("aria-live","polite")}}return _t.\u0275fac=function(Tt){return new(Tt||_t)(d.\u0275\u0275injectAttribute("aria-live"),d.\u0275\u0275directiveInject(d.ElementRef))},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(Tt,Lt){2&Tt&&d.\u0275\u0275attribute("id",Lt.id)},inputs:{id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:r.ab,useExisting:_t}])]}),_t})(),we=0;const Ee=new d.InjectionToken("MatHint");let Be=(()=>{class _t{constructor(){this.align="start",this.id="mat-hint-"+we++}}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(Tt,Lt){2&Tt&&(d.\u0275\u0275attribute("id",Lt.id)("align",null),d.\u0275\u0275classProp("mat-form-field-hint-end","end"===Lt.align))},inputs:{align:"align",id:"id"},features:[d.\u0275\u0275ProvidersFeature([{provide:Ee,useExisting:_t}])]}),_t})(),G=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-label"]]}),_t})(),re=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["mat-placeholder"]]}),_t})(),ae=0;const Ze=(0,g.mixinColor)(class{constructor(_t){this._elementRef=_t}},"primary"),Qe=new d.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS");let Ge=(()=>{class _t extends Ze{get appearance(){return this._appearance}set appearance(Tt){const Lt=this._appearance;this._appearance=Tt||this._defaults?.appearance||"legacy","outline"===this._appearance&&Lt!==Tt&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Tt){this._hideRequiredMarker=(0,h.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,Lt,Le,lt,ze,at,N){super(Tt),this._changeDetectorRef=Lt,this._dir=Le,this._defaults=lt,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-"+ae++,this._labelId="mat-form-field-label-"+ae++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==N,this.appearance=lt?.appearance||"legacy",lt&&(this._hideRequiredMarker=!!lt.hideRequiredMarker,lt.color&&(this.color=this.defaultColor=lt.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 Lt=this._control?this._control.ngControl:null;return Lt&&Lt[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 Lt=this._hintChildren?this._hintChildren.find(lt=>"start"===lt.align):null,Le=this._hintChildren?this._hintChildren.find(lt=>"end"===lt.align):null;Lt?Tt.push(Lt.id):this._hintLabel&&Tt.push(this._hintLabelId),Le&&Tt.push(Le.id)}else this._errorChildren&&Tt.push(...this._errorChildren.map(Lt=>Lt.id));this._control.setDescribedByIds(Tt)}}_validateControlChild(){}updateOutlineGap(){const Tt=this._label?this._label.nativeElement:null,Lt=this._connectionContainerRef.nativeElement,Le=".mat-form-field-outline-start",lt=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!Tt||!Tt.children.length||!Tt.textContent.trim()){const Y=Lt.querySelectorAll(`${Le}, ${lt}`);for(let ne=0;ne0?.75*Te+10:0}for(let Y=0;Y{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["","matPrefix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Px,useExisting:_t}])]}),_t})(),Ct=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275dir=d.\u0275\u0275defineDirective({type:_t,selectors:[["","matSuffix",""]],features:[d.\u0275\u0275ProvidersFeature([{provide:r.Ve,useExisting:_t}])]}),_t})(),Nt=(()=>{class _t{}return _t.\u0275fac=function(Tt){return new(Tt||_t)},_t.\u0275mod=d.\u0275\u0275defineNgModule({type:_t}),_t.\u0275inj=d.\u0275\u0275defineInjector({imports:[c.CommonModule,g.MatCommonModule,n.Q8,g.MatCommonModule]}),_t})()},2400:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_INPUT_VALUE_ACCESSOR:()=>c.Jk,MatLegacyInput:()=>h,MatLegacyInputModule:()=>u,getMatLegacyInputUnsupportedTypeError:()=>c.b7});var n=a(5879),c=a(4516),d=a(1043),g=a(4187),r=a(6263),f=a(3680);let h=(()=>{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:[f.ErrorStateMatcher],imports:[r.Ky,g.MatLegacyFormFieldModule,f.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:()=>de,MAT_LEGACY_MENU_SCROLL_STRATEGY:()=>Nt,MatLegacyMenu:()=>K,MatLegacyMenuContent:()=>et,MatLegacyMenuItem:()=>ce,MatLegacyMenuModule:()=>Dt,MatLegacyMenuTrigger:()=>Te,fadeInLegacyItems:()=>ve,matLegacyMenuAnimations:()=>ae,transformLegacyMenu:()=>He});var n=a(5879),c=a(4300),d=a(2495),g=a(6028),r=a(8645),f=a(3019),h=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(_e,ut){1&_e&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",3),n.\u0275\u0275element(1,"polygon",4),n.\u0275\u0275elementEnd())}const U=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Ce=["mat-icon, [matMenuItemIcon]","*"],de=new n.InjectionToken("MAT_MENU_PANEL"),H=(0,D.mixinDisableRipple)((0,D.mixinDisabled)(class{}));let W=(()=>{class _e extends H{constructor(Pe,mt,Pt,Ft,Gt){super(),this._elementRef=Pe,this._document=mt,this._focusMonitor=Pt,this._parentMenu=Ft,this._changeDetectorRef=Gt,this.role="menuitem",this._hovered=new r.x,this._focused=new r.x,this._highlighted=!1,this._triggersSubmenu=!1,Ft?.addItem?.(this)}focus(Pe,mt){this._focusMonitor&&Pe?this._focusMonitor.focusVia(this._getHostElement(),Pe,mt):this._getHostElement().focus(mt),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(Pe){this.disabled&&(Pe.preventDefault(),Pe.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Pe=this._elementRef.nativeElement.cloneNode(!0),mt=Pe.querySelectorAll("mat-icon, .material-icons");for(let Pt=0;Pt{class _e{constructor(Pe,mt,Pt,Ft,Gt,Oe,Ke){this._template=Pe,this._componentFactoryResolver=mt,this._appRef=Pt,this._injector=Ft,this._viewContainerRef=Gt,this._document=Oe,this._changeDetectorRef=Ke,this._attached=new r.x}attach(Pe={}){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 mt=this._template.elementRef.nativeElement;mt.parentNode.insertBefore(this._outlet.outletElement,mt),this._changeDetectorRef?.markForCheck(),this._portal.attach(this._outlet,Pe),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(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))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e}),_e})();const ae={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)")])])},ve=ae.fadeInItems,He=ae.transformMenu;let Ze=0;const Qe=new n.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function Ge(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let tt=(()=>{class _e{get xPosition(){return this._xPosition}set xPosition(Pe){this._xPosition=Pe,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Pe){this._yPosition=Pe,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Pe){this._overlapTrigger=(0,d.Ig)(Pe)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Pe){this._hasBackdrop=(0,d.Ig)(Pe)}set panelClass(Pe){const mt=this._previousPanelClass;mt&&mt.length&&mt.split(" ").forEach(Pt=>{this._classList[Pt]=!1}),this._previousPanelClass=Pe,Pe&&Pe.length&&(Pe.split(" ").forEach(Pt=>{this._classList[Pt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Pe){this.panelClass=Pe}constructor(Pe,mt,Pt,Ft){this._elementRef=Pe,this._ngZone=mt,this._changeDetectorRef=Ft,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=Pt.overlayPanelClass||"",this._xPosition=Pt.xPosition,this._yPosition=Pt.yPosition,this.backdropClass=Pt.backdropClass,this._overlapTrigger=Pt.overlapTrigger,this._hasBackdrop=Pt.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)(Pe=>(0,f.T)(...Pe.map(mt=>mt._focused)))).subscribe(Pe=>this._keyManager.updateActiveItem(Pe)),this._directDescendantItems.changes.subscribe(Pe=>{const mt=this._keyManager;if("enter"===this._panelAnimationState&&mt.activeItem?._hasFocus()){const Pt=Pe.toArray(),Ft=Math.max(0,Math.min(Pt.length-1,mt.activeItemIndex||0));Pt[Ft]&&!Pt[Ft].disabled?mt.setActiveItem(Ft):mt.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)(mt=>(0,f.T)(...mt.map(Pt=>Pt._hovered))))}addItem(Pe){}removeItem(Pe){}_handleKeydown(Pe){const mt=Pe.keyCode,Pt=this._keyManager;switch(mt){case g.hY:(0,g.Vb)(Pe)||(Pe.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(mt===g.LH||mt===g.JH)&&Pt.setFocusOrigin("keyboard"),void Pt.onKeydown(Pe)}Pe.stopPropagation()}focusFirstItem(Pe="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,_.q)(1)).subscribe(()=>{let mt=null;if(this._directDescendantItems.length&&(mt=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!mt||!mt.contains(document.activeElement)){const Pt=this._keyManager;Pt.setFocusOrigin(Pe).setFirstItemActive(),!Pt.activeItem&&mt&&mt.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Pe){const mt=Math.min(this._baseElevation+Pe,24),Pt=`${this._elevationPrefix}${mt}`,Ft=Object.keys(this._classList).find(Gt=>Gt.startsWith(this._elevationPrefix));(!Ft||Ft===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[Pt]=!0,this._previousElevation=Pt)}setPositionClasses(Pe=this.xPosition,mt=this.yPosition){const Pt=this._classList;Pt["mat-menu-before"]="before"===Pe,Pt["mat-menu-after"]="after"===Pe,Pt["mat-menu-above"]="above"===mt,Pt["mat-menu-below"]="below"===mt,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Pe){this._animationDone.next(Pe),this._isAnimating=!1}_onAnimationStart(Pe){this._isAnimating=!0,"enter"===Pe.toState&&0===this._keyManager.activeItemIndex&&(Pe.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,b.O)(this._allItems)).subscribe(Pe=>{this._directDescendantItems.reset(Pe.filter(mt=>mt._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,contentQueries:function(Pe,mt,Pt){if(1&Pe&&(n.\u0275\u0275contentQuery(Pt,Be,5),n.\u0275\u0275contentQuery(Pt,W,5),n.\u0275\u0275contentQuery(Pt,W,4)),2&Pe){let Ft;n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt.lazyContent=Ft.first),n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt._allItems=Ft),n.\u0275\u0275queryRefresh(Ft=n.\u0275\u0275loadQuery())&&(mt.items=Ft)}},viewQuery:function(Pe,mt){if(1&Pe&&n.\u0275\u0275viewQuery(n.TemplateRef,5),2&Pe){let Pt;n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(mt.templateRef=Pt.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"}}),_e})();const Nt=new n.InjectionToken("mat-menu-scroll-strategy"),Bt={provide:Nt,deps:[$.aV],useFactory:function _t(_e){return()=>_e.scrollStrategies.reposition()}},Tt=(0,ee.i$)({passive:!0});let Le=(()=>{class _e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Pe){this.menu=Pe}get menu(){return this._menu}set menu(Pe){Pe!==this._menu&&(this._menu=Pe,this._menuCloseSubscription.unsubscribe(),Pe&&(this._menuCloseSubscription=Pe.close.subscribe(mt=>{this._destroyMenu(mt),("click"===mt||"tab"===mt)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(mt)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Pe,mt,Pt,Ft,Gt,Oe,Ke,he,ge){this._overlay=Pe,this._element=mt,this._viewContainerRef=Pt,this._menuItemInstance=Oe,this._dir=Ke,this._focusMonitor=he,this._ngZone=ge,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=h.w0.EMPTY,this._hoverSubscription=h.w0.EMPTY,this._menuCloseSubscription=h.w0.EMPTY,this._changeDetectorRef=(0,n.inject)(n.ChangeDetectorRef),this._handleTouchStart=ct=>{(0,c.yG)(ct)||(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=Ft,this._parentMaterialMenu=Gt instanceof tt?Gt:void 0,mt.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 Pe=this.menu;if(this._menuOpen||!Pe)return;const mt=this._createOverlay(Pe),Pt=mt.getConfig(),Ft=Pt.positionStrategy;this._setPosition(Pe,Ft),Pt.hasBackdrop=null==Pe.hasBackdrop?!this.triggersSubmenu():Pe.hasBackdrop,mt.attach(this._getPortal(Pe)),Pe.lazyContent&&Pe.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Pe),Pe instanceof tt&&(Pe._startAnimation(),Pe._directDescendantItems.changes.pipe((0,l.R)(Pe.close)).subscribe(()=>{Ft.withLockedPosition(!1).reapplyLastPosition(),Ft.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Pe,mt){this._focusMonitor&&Pe?this._focusMonitor.focusVia(this._element,Pe,mt):this._element.nativeElement.focus(mt)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Pe){if(!this._overlayRef||!this.menuOpen)return;const mt=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Pe||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,mt instanceof tt?(mt._resetAnimation(),mt.lazyContent?mt._animationDone.pipe((0,y.h)(Pt=>"void"===Pt.toState),(0,_.q)(1),(0,l.R)(mt.lazyContent._attached)).subscribe({next:()=>mt.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),mt?.lazyContent?.detach())}_initMenu(Pe){Pe.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Pe.direction=this.dir,this._setMenuElevation(Pe),Pe.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Pe){if(Pe.setElevation){let mt=0,Pt=Pe.parentMenu;for(;Pt;)mt++,Pt=Pt.parentMenu;Pe.setElevation(mt)}}_setIsMenuOpen(Pe){Pe!==this._menuOpen&&(this._menuOpen=Pe,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Pe),this._changeDetectorRef.markForCheck())}_createOverlay(Pe){if(!this._overlayRef){const mt=this._getOverlayConfig(Pe);this._subscribeToPositions(Pe,mt.positionStrategy),this._overlayRef=this._overlay.create(mt),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Pe){return new $.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Pe.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Pe.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Pe,mt){Pe.setPositionClasses&&mt.positionChanges.subscribe(Pt=>{const Ft="start"===Pt.connectionPair.overlayX?"after":"before",Gt="top"===Pt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Pe.setPositionClasses(Ft,Gt)):Pe.setPositionClasses(Ft,Gt)})}_setPosition(Pe,mt){let[Pt,Ft]="before"===Pe.xPosition?["end","start"]:["start","end"],[Gt,Oe]="above"===Pe.yPosition?["bottom","top"]:["top","bottom"],[Ke,he]=[Gt,Oe],[ge,ct]=[Pt,Ft],Me=0;if(this.triggersSubmenu()){if(ct=Pt="before"===Pe.xPosition?"start":"end",Ft=ge="end"===Pt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ye=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ye?Ye._getHostElement().offsetTop:0}Me="bottom"===Gt?this._parentInnerPadding:-this._parentInnerPadding}}else Pe.overlapTrigger||(Ke="top"===Gt?"bottom":"top",he="top"===Oe?"bottom":"top");mt.withPositions([{originX:Pt,originY:Ke,overlayX:ge,overlayY:Gt,offsetY:Me},{originX:Ft,originY:Ke,overlayX:ct,overlayY:Gt,offsetY:Me},{originX:Pt,originY:he,overlayX:ge,overlayY:Oe,offsetY:-Me},{originX:Ft,originY:he,overlayX:ct,overlayY:Oe,offsetY:-Me}])}_menuClosingActions(){const Pe=this._overlayRef.backdropClick(),mt=this._overlayRef.detachments(),Pt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,u.of)(),Ft=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,y.h)(Gt=>Gt!==this._menuItemInstance),(0,y.h)(()=>this._menuOpen)):(0,u.of)();return(0,f.T)(Pe,Pt,Ft,mt)}_handleMousedown(Pe){(0,c.X6)(Pe)||(this._openedBy=0===Pe.button?"mouse":void 0,this.triggersSubmenu()&&Pe.preventDefault())}_handleKeydown(Pe){const mt=Pe.keyCode;(mt===g.K5||mt===g.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(mt===g.SV&&"ltr"===this.dir||mt===g.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(Pe){this.triggersSubmenu()?(Pe.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,y.h)(Pe=>Pe===this._menuItemInstance&&!Pe.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(Pe){return(!this._portal||this._portal.templateRef!==Pe.templateRef)&&(this._portal=new E.UE(Pe.templateRef,this._viewContainerRef)),this._portal}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject($.aV),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Nt),n.\u0275\u0275directiveInject(de,8),n.\u0275\u0275directiveInject(W,10),n.\u0275\u0275directiveInject(X.Is,8),n.\u0275\u0275directiveInject(c.tE),n.\u0275\u0275directiveInject(n.NgZone))},_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,hostVars:3,hostBindings:function(Pe,mt){1&Pe&&n.\u0275\u0275listener("click",function(Ft){return mt._handleClick(Ft)})("mousedown",function(Ft){return mt._handleMousedown(Ft)})("keydown",function(Ft){return mt._handleKeydown(Ft)}),2&Pe&&n.\u0275\u0275attribute("aria-haspopup",mt.menu?"menu":null)("aria-expanded",mt.menuOpen)("aria-controls",mt.menuOpen?mt.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"}}),_e})();var at=a(6672);function N(_e,ut){if(1&_e){const Pe=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",0),n.\u0275\u0275listener("keydown",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._handleKeydown(Pt))})("click",function(){n.\u0275\u0275restoreView(Pe);const Pt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Pt.closed.emit("click"))})("@transformMenu.start",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._onAnimationStart(Pt))})("@transformMenu.done",function(Pt){n.\u0275\u0275restoreView(Pe);const Ft=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(Ft._onAnimationDone(Pt))}),n.\u0275\u0275elementStart(1,"div",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd()()}if(2&_e){const Pe=n.\u0275\u0275nextContext();n.\u0275\u0275property("id",Pe.panelId)("ngClass",Pe._classList)("@transformMenu",Pe._panelAnimationState),n.\u0275\u0275attribute("aria-label",Pe.ariaLabel||null)("aria-labelledby",Pe.ariaLabelledby||null)("aria-describedby",Pe.ariaDescribedby||null)}}const oe=["*"],Y=["mat-menu-item",""];function ne(_e,ut){1&_e&&(n.\u0275\u0275namespaceSVG(),n.\u0275\u0275elementStart(0,"svg",2),n.\u0275\u0275element(1,"polygon",3),n.\u0275\u0275elementEnd())}let K=(()=>{class _e extends tt{constructor(Pe,mt,Pt,Ft){super(Pe,mt,Pt,Ft),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return _e.\u0275fac=function(Pe){return new(Pe||_e)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(Qe),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:4,hostBindings:function(Pe,mt){2&Pe&&n.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)("mat-id-collision",null)},exportAs:["matMenu"],features:[n.\u0275\u0275ProvidersFeature([{provide:de,useExisting:_e}]),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(Pe,mt){1&Pe&&(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:[ae.transformMenu,ae.fadeInItems]},changeDetection:0}),_e})(),ce=(()=>{class _e extends W{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275cmp=n.\u0275\u0275defineComponent({type:_e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(Pe,mt){2&Pe&&(n.\u0275\u0275attribute("role",mt.role)("tabindex",mt._getTabIndex())("aria-disabled",mt.disabled.toString())("disabled",mt.disabled||null),n.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",mt._highlighted)("mat-menu-item-submenu-trigger",mt._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:_e}]),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(Pe,mt){1&Pe&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275element(1,"div",0),n.\u0275\u0275template(2,ne,2,0,"svg",1)),2&Pe&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleDisabled",mt.disableRipple||mt.disabled)("matRippleTrigger",mt._getHostElement()),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",mt._triggersSubmenu))},dependencies:[S.NgIf,D.MatRipple],encapsulation:2,changeDetection:0}),_e})(),Te=(()=>{class _e extends Le{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[n.\u0275\u0275InheritDefinitionFeature]}),_e})(),et=(()=>{class _e extends G{}return _e.\u0275fac=function(){let ut;return function(mt){return(ut||(ut=n.\u0275\u0275getInheritedFactory(_e)))(mt||_e)}}(),_e.\u0275dir=n.\u0275\u0275defineDirective({type:_e,selectors:[["ng-template","matMenuContent",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Be,useExisting:_e}]),n.\u0275\u0275InheritDefinitionFeature]}),_e})(),Dt=(()=>{class _e{}return _e.\u0275fac=function(Pe){return new(Pe||_e)},_e.\u0275mod=n.\u0275\u0275defineNgModule({type:_e}),_e.\u0275inj=n.\u0275\u0275defineInjector({providers:[Bt],imports:[S.CommonModule,D.MatCommonModule,D.MatRippleModule,$.U8,at.ZD,D.MatCommonModule]}),_e})()},9559:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{LegacyPageEvent:()=>oe,MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS:()=>Oe,MAT_LEGACY_PAGINATOR_INTL_PROVIDER:()=>at,MAT_LEGACY_PAGINATOR_INTL_PROVIDER_FACTORY:()=>ze,MatLegacyPaginator:()=>Ke,MatLegacyPaginatorIntl:()=>lt,MatLegacyPaginatorModule:()=>he,_MatLegacyPaginatorBase:()=>K});var n=a(6814),c=a(5879),d=a(3680),g=a(4505),r=a(1798),f=a(9594),h=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:[f.aV],useFactory:function ie(ge){return()=>ge.scrollStrategies.reposition({scrollThrottle:20})}},Ce=new c.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function U(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),Ae="tooltip-panel",de=(0,p.i$)({passive:!0});let Be=(()=>{class ge{get position(){return this._position}set position(Me){Me!==this._position&&(this._position=Me,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Me){this._positionAtOrigin=(0,y.Ig)(Me),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Me){this._disabled=(0,y.Ig)(Me),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(Me){this._showDelay=(0,y.su)(Me)}get hideDelay(){return this._hideDelay}set hideDelay(Me){this._hideDelay=(0,y.su)(Me),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(Me){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=Me?String(Me).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(Me){this._tooltipClass=Me,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve){this._overlay=Me,this._elementRef=Ye,this._scrollDispatcher=De,this._viewContainerRef=F,this._ngZone=V,this._platform=Q,this._ariaDescriber=be,this._focusMonitor=dt,this._dir=qe,this._defaultOptions=nt,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=Rt,this._document=Ve,nt&&(this._showDelay=nt.showDelay,this._hideDelay=nt.hideDelay,nt.position&&(this.position=nt.position),nt.positionAtOrigin&&(this.positionAtOrigin=nt.positionAtOrigin),nt.touchGestures&&(this.touchGestures=nt.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(Me=>{Me?"keyboard"===Me&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Me=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Ye,De])=>{Me.removeEventListener(Ye,De,de)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Me,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Me)}show(Me=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(Me)}hide(Me=this.hideDelay){const Ye=this._tooltipInstance;Ye&&(Ye.isVisible()?Ye.hide(Me):(Ye._cancelPendingAnimations(),this._detach()))}toggle(Me){this._isTooltipVisible()?this.hide():this.show(void 0,Me)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Me){if(this._overlayRef){const F=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!Me)&&F._origin instanceof c.ElementRef)return this._overlayRef;this._detach()}const Ye=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),De=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&Me||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(Me){const Ye=Me.getConfig().positionStrategy,De=this._getOrigin(),F=this._getOverlayPosition();Ye.withPositions([this._addOffset({...De.main,...F.main}),this._addOffset({...De.fallback,...F.fallback})])}_addOffset(Me){return Me}_getOrigin(){const Me=!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&&Me||"right"==Ye&&!Me?De={originX:"start",originY:"center"}:("after"==Ye||"right"==Ye&&Me||"left"==Ye&&!Me)&&(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 Me=!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&&Me||"right"==Ye&&!Me?De={overlayX:"end",overlayY:"center"}:("after"==Ye||"right"==Ye&&Me||"left"==Ye&&!Me)&&(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(Me){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Me,this._tooltipInstance._markForCheck())}_invertPosition(Me,Ye){return"above"===this.position||"below"===this.position?"top"===Ye?Ye="bottom":"bottom"===Ye&&(Ye="top"):"end"===Me?Me="start":"start"===Me&&(Me="end"),{x:Me,y:Ye}}_updateCurrentPositionClass(Me){const{overlayY:Ye,originX:De,originY:F}=Me;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 Q=this._overlayRef;if(Q){const be=`${this._cssClassPrefix}-${Ae}-`;Q.removePanelClass(be+this._currentPosition),Q.addPanelClass(be+V)}this._currentPosition=V}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",Me=>{let Ye;this._setupPointerExitEventsIfNeeded(),void 0!==Me.x&&void 0!==Me.y&&(Ye=Me),this.show(void 0,Ye)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",Me=>{const Ye=Me.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 Me=[];if(this._platformSupportsMouseEvents())Me.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)};Me.push(["touchend",Ye],["touchcancel",Ye])}this._addListeners(Me),this._passiveListeners.push(...Me)}_addListeners(Me){Me.forEach(([Ye,De])=>{this._elementRef.nativeElement.addEventListener(Ye,De,de)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Me){if(this._isTooltipVisible()){const Ye=this._document.elementFromPoint(Me.clientX,Me.clientY),De=this._elementRef.nativeElement;Ye!==De&&!De.contains(Ye)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Me=this.touchGestures;if("off"!==Me){const Ye=this._elementRef.nativeElement,De=Ye.style;("on"===Me||"INPUT"!==Ye.nodeName&&"TEXTAREA"!==Ye.nodeName)&&(De.userSelect=De.msUserSelect=De.webkitUserSelect=De.MozUserSelect="none"),("on"===Me||!Ye.draggable)&&(De.webkitUserDrag="none"),De.touchAction="none",De.webkitTapHighlightColor="transparent"}}}return ge.\u0275fac=function(Me){c.\u0275\u0275invalidFactory()},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,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"]}}),ge})(),re=(()=>{class ge{constructor(Me,Ye){this._changeDetectorRef=Me,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new S.x,this._animationsDisabled="NoopAnimations"===Ye}show(Me){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Me)}hide(Me){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Me)}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:Me}){(!Me||!this._triggerElement.contains(Me))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:Me}){(Me===this._showAnimation||Me===this._hideAnimation)&&this._finalizeAnimation(Me===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Me){Me?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Me){const Ye=this._tooltip.nativeElement,De=this._showAnimation,F=this._hideAnimation;if(Ye.classList.remove(Me?F:De),Ye.classList.add(Me?De:F),this._isVisible=Me,Me&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const V=getComputedStyle(Ye);("0s"===V.getPropertyValue("animation-duration")||"none"===V.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Me&&this._onShow(),this._animationsDisabled&&(Ye.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Me))}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge}),ge})();const Ze=["tooltip"];let Qe=(()=>{class ge extends Be{constructor(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve){super(Me,Ye,De,F,V,Q,be,dt,Rt,qe,nt,Ve),this._tooltipComponent=Ge}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(f.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(h.$s),c.\u0275\u0275directiveInject(h.tE),c.\u0275\u0275directiveInject(ee),c.\u0275\u0275directiveInject(v.Is,8),c.\u0275\u0275directiveInject(Ce,8),c.\u0275\u0275directiveInject(n.DOCUMENT))},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(Me,Ye){2&Me&&c.\u0275\u0275classProp("mat-tooltip-disabled",Ye.disabled)},exportAs:["matTooltip"],features:[c.\u0275\u0275InheritDefinitionFeature]}),ge})(),Ge=(()=>{class ge extends re{constructor(Me,Ye,De){super(Me,De),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=Ye.observe(b.u3.Handset)}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(b.Yg),c.\u0275\u0275directiveInject(c.ANIMATION_MODULE_TYPE,8))},ge.\u0275cmp=c.\u0275\u0275defineComponent({type:ge,selectors:[["mat-tooltip-component"]],viewQuery:function(Me,Ye){if(1&Me&&c.\u0275\u0275viewQuery(Ze,7),2&Me){let De;c.\u0275\u0275queryRefresh(De=c.\u0275\u0275loadQuery())&&(Ye._tooltip=De.first)}},hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(Me,Ye){1&Me&&c.\u0275\u0275listener("mouseleave",function(F){return Ye._handleMouseLeave(F)}),2&Me&&(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(Me,Ye){if(1&Me&&(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&Me){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}),ge})(),tt=(()=>{class ge{}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275mod=c.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=c.\u0275\u0275defineInjector({providers:[A],imports:[h.rt,n.CommonModule,f.U8,d.MatCommonModule,d.MatCommonModule,u.ZD]}),ge})(),lt=(()=>{class ge{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=(Me,Ye,De)=>{if(0==De||0==Ye)return`0 of ${De}`;const F=Me*Ye;return`${F+1} \u2013 ${F<(De=Math.max(De,0))?Math.min(F+Ye,De):F+Ye} of ${De}`}}}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275prov=c.\u0275\u0275defineInjectable({token:ge,factory:ge.\u0275fac,providedIn:"root"}),ge})();function ze(ge){return ge||new lt}const at={provide:lt,deps:[[new c.Optional,new c.SkipSelf,lt]],useFactory:ze};class oe{}const ne=(0,d.mixinDisabled)((0,d.mixinInitialized)(class{}));let K=(()=>{class ge extends ne{get pageIndex(){return this._pageIndex}set pageIndex(Me){this._pageIndex=Math.max((0,y.su)(Me),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(Me){this._length=(0,y.su)(Me),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(Me){this._pageSize=Math.max((0,y.su)(Me),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(Me){this._pageSizeOptions=(Me||[]).map(Ye=>(0,y.su)(Ye)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(Me){this._hidePageSize=(0,y.Ig)(Me)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(Me){this._showFirstLastButtons=(0,y.Ig)(Me)}constructor(Me,Ye,De){if(super(),this._intl=Me,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=Me.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),De){const{pageSize:F,pageSizeOptions:V,hidePageSize:Q,showFirstLastButtons:be}=De;null!=F&&(this._pageSize=F),null!=V&&(this._pageSizeOptions=V),null!=Q&&(this._hidePageSize=Q),null!=be&&(this._showFirstLastButtons=be)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const Me=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(Me)}previousPage(){if(!this.hasPreviousPage())return;const Me=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(Me)}firstPage(){if(!this.hasPreviousPage())return;const Me=this.pageIndex;this.pageIndex=0,this._emitPageEvent(Me)}lastPage(){if(!this.hasNextPage())return;const Me=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(Me)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const Me=this.getNumberOfPages()-1;return this.pageIndexMe-Ye),this._changeDetectorRef.markForCheck())}_emitPageEvent(Me){this.page.emit({previousPageIndex:Me,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return ge.\u0275fac=function(Me){c.\u0275\u0275invalidFactory()},ge.\u0275dir=c.\u0275\u0275defineDirective({type:ge,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[c.\u0275\u0275InheritDefinitionFeature]}),ge})();var Dt=a(4187),_e=a(4678);function ut(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"mat-option",19),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&ge){const Me=ct.$implicit;c.\u0275\u0275property("value",Me),c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate1(" ",Me," ")}}function Pe(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"mat-form-field",16)(1,"mat-select",17),c.\u0275\u0275listener("selectionChange",function(De){c.\u0275\u0275restoreView(Me);const F=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(F._changePageSize(De.value))}),c.\u0275\u0275template(2,ut,2,2,"mat-option",18),c.\u0275\u0275elementEnd()()}if(2&ge){const Me=c.\u0275\u0275nextContext(2);c.\u0275\u0275property("appearance",Me._formFieldAppearance)("color",Me.color),c.\u0275\u0275advance(1),c.\u0275\u0275property("value",Me.pageSize)("disabled",Me.disabled)("panelClass",Me.selectConfig.panelClass||"")("disableOptionCentering",Me.selectConfig.disableOptionCentering)("aria-label",Me._intl.itemsPerPageLabel),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngForOf",Me._displayedPageSizeOptions)}}function mt(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"div",20),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&ge){const Me=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(1),c.\u0275\u0275textInterpolate(Me.pageSize)}}function Pt(ge,ct){if(1&ge&&(c.\u0275\u0275elementStart(0,"div",12)(1,"div",13),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(3,Pe,3,8,"mat-form-field",14),c.\u0275\u0275template(4,mt,2,1,"div",15),c.\u0275\u0275elementEnd()),2&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate1(" ",Me._intl.itemsPerPageLabel," "),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Me._displayedPageSizeOptions.length>1),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngIf",Me._displayedPageSizeOptions.length<=1)}}function Ft(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"button",21),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(Me);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&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",Me._intl.firstPageLabel)("matTooltipDisabled",Me._previousButtonsDisabled())("matTooltipPosition","above")("disabled",Me._previousButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Me._intl.firstPageLabel)}}function Gt(ge,ct){if(1&ge){const Me=c.\u0275\u0275getCurrentView();c.\u0275\u0275namespaceSVG(),c.\u0275\u0275namespaceHTML(),c.\u0275\u0275elementStart(0,"button",23),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(Me);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&ge){const Me=c.\u0275\u0275nextContext();c.\u0275\u0275property("matTooltip",Me._intl.lastPageLabel)("matTooltipDisabled",Me._nextButtonsDisabled())("matTooltipPosition","above")("disabled",Me._nextButtonsDisabled()),c.\u0275\u0275attribute("aria-label",Me._intl.lastPageLabel)}}const Oe=new c.InjectionToken("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS");let Ke=(()=>{class ge extends K{constructor(Me,Ye,De){super(Me,Ye,De),De&&null!=De.formFieldAppearance&&(this._formFieldAppearance=De.formFieldAppearance)}}return ge.\u0275fac=function(Me){return new(Me||ge)(c.\u0275\u0275directiveInject(lt),c.\u0275\u0275directiveInject(c.ChangeDetectorRef),c.\u0275\u0275directiveInject(Oe,8))},ge.\u0275cmp=c.\u0275\u0275defineComponent({type:ge,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(Me,Ye){1&Me&&(c.\u0275\u0275elementStart(0,"div",0)(1,"div",1),c.\u0275\u0275template(2,Pt,5,3,"div",2),c.\u0275\u0275elementStart(3,"div",3)(4,"div",4),c.\u0275\u0275text(5),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(6,Ft,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,Gt,3,5,"button",11),c.\u0275\u0275elementEnd()()()),2&Me&&(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,_e.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}),ge})(),he=(()=>{class ge{}return ge.\u0275fac=function(Me){return new(Me||ge)},ge.\u0275mod=c.\u0275\u0275defineNgModule({type:ge}),ge.\u0275inj=c.\u0275\u0275defineInjector({providers:[at],imports:[n.CommonModule,g.MatLegacyButtonModule,r.MatLegacySelectModule,tt,d.MatCommonModule]}),ge})()},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:()=>Ce});var n=a(2495),c=a(2831),d=a(6672),g=a(6814),r=a(5879),f=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 de=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("animation-name","mat-progress-spinner-stroke-rotate-"+de._spinnerAnimationLabel)("stroke-dashoffset",de._getStrokeDashOffset(),"px")("stroke-dasharray",de._getStrokeCircumference(),"px")("stroke-width",de._getCircleStrokeWidth(),"%")("transform-origin",de._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",de._getCircleRadius())}}function I(Re,Ae){if(1&Re&&(r.\u0275\u0275namespaceSVG(),r.\u0275\u0275element(0,"circle",4)),2&Re){const de=r.\u0275\u0275nextContext(),H=r.\u0275\u0275reference(1);r.\u0275\u0275styleProp("stroke-dashoffset",de._getStrokeDashOffset(),"px")("stroke-dasharray",de._getStrokeCircumference(),"px")("stroke-width",de._getCircleStrokeWidth(),"%")("transform-origin",de._getCircleTransformOrigin(H)),r.\u0275\u0275attribute("r",de._getCircleRadius())}}const ee=(0,f.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,de,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)),de.isBrowser&&de.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 de=50*(Ae.currentScale??1);return`${de}% ${de}%`}_attachStyleNode(){const Ae=this._styleRoot,de=this._diameter,H=A._diameters;let W=H.get(Ae);if(!W||!W.has(de)){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(de)}}_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,de){2&Ae&&(r.\u0275\u0275attribute("aria-valuemin","determinate"===de.mode?0:null)("aria-valuemax","determinate"===de.mode?100:null)("aria-valuenow","determinate"===de.mode?de.value:null)("mode",de.mode),r.\u0275\u0275styleProp("width",de.diameter,"px")("height",de.diameter,"px"),r.\u0275\u0275classProp("_mat-animation-noopable",de._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,de){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",de.diameter,"px")("height",de.diameter,"px"),r.\u0275\u0275property("ngSwitch","indeterminate"===de.mode),r.\u0275\u0275attribute("viewBox",de._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(de){return new(de||Re)},Re.\u0275mod=r.\u0275\u0275defineNgModule({type:Re}),Re.\u0275inj=r.\u0275\u0275defineInjector({imports:[f.MatCommonModule,g.CommonModule,f.MatCommonModule]}),Re})();const Ce=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:()=>Ce,MatLegacyRadioChange:()=>b,MatLegacyRadioGroup:()=>U,MatLegacyRadioModule:()=>Re});var n=a(5879),c=a(3680),d=a(4300),g=a(8337),r=a(6223),f=a(2495);const h=["input"];let v=0;class b{constructor(de,H){this.source=de,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,f.Ig)(H),this._markRadiosForCheck()}get required(){return this._required}set required(H){this._required=(0,f.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(de){this._elementRef=de}}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,f.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,f.Ig)(H))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(H){this._required=(0,f.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,f.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(h,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 de;return function(W){return(de||(de=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,Ce,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})(),Ce=(()=>{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:()=>Ge,MAT_LEGACY_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>Ze,MAT_LEGACY_SELECT_TRIGGER:()=>tt,MatLegacySelect:()=>mt,MatLegacySelectChange:()=>ut,MatLegacySelectModule:()=>Pt,MatLegacySelectTrigger:()=>Pe,matLegacySelectAnimations:()=>ne});var n=a(9594),c=a(6814),d=a(5879),g=a(3680),r=a(4678),f=a(1043),h=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 Ce=["trigger"],Re=["panel"];let ve=0;const He=new d.InjectionToken("mat-select-scroll-strategy");function Ze(Ft){return()=>Ft.scrollStrategies.reposition()}const Qe=new d.InjectionToken("MAT_SELECT_CONFIG"),Ge={provide:He,deps:[n.aV],useFactory:Ze},tt=new d.InjectionToken("MatSelectTrigger"),Nt=(0,g.mixinDisableRipple)((0,g.mixinTabIndex)((0,g.mixinDisabled)((0,g.mixinErrorState)(class{constructor(Ft,Gt,Oe,Ke,he){this._elementRef=Ft,this._defaultErrorStateMatcher=Gt,this._parentForm=Oe,this._parentFormGroup=Ke,this.ngControl=he,this.stateChanges=new x.x}}))));let _t=(()=>{class Ft extends Nt{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Oe){this._placeholder=Oe,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(y.Validators.required)??!1}set required(Oe){this._required=(0,p.Ig)(Oe),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Oe){this._multiple=(0,p.Ig)(Oe)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Oe){this._disableOptionCentering=(0,p.Ig)(Oe)}get compareWith(){return this._compareWith}set compareWith(Oe){this._compareWith=Oe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Oe){this._assignValue(Oe)&&this._onChange(Oe)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Oe){this._typeaheadDebounceInterval=(0,p.su)(Oe)}get id(){return this._id}set id(Oe){this._id=Oe||this._uid,this.stateChanges.next()}constructor(Oe,Ke,he,ge,ct,Me,Ye,De,F,V,Q,be,dt,Rt){super(ct,ge,Ye,De,V),this._viewportRuler=Oe,this._changeDetectorRef=Ke,this._ngZone=he,this._dir=Me,this._parentFormField=F,this._liveAnnouncer=dt,this._defaultOptions=Rt,this._panelOpen=!1,this._compareWith=(qe,nt)=>qe===nt,this._uid="mat-select-"+ve++,this._triggerAriaLabelledBy=null,this._destroy=new x.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+ve++,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(nt=>nt.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!=Rt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=Rt.typeaheadDebounceInterval),this._scrollStrategyFactory=be,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Q)||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(Oe=>{Oe.added.forEach(Ke=>Ke.select()),Oe.removed.forEach(Ke=>Ke.deselect())}),this.options.changes.pipe((0,E.O)(null),(0,A.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Oe=this._getTriggerAriaLabelledby(),Ke=this.ngControl;if(Oe!==this._triggerAriaLabelledBy){const he=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Oe,Oe?he.setAttribute("aria-labelledby",Oe):he.removeAttribute("aria-labelledby")}Ke&&(this._previousControl!==Ke.control&&(void 0!==this._previousControl&&null!==Ke.disabled&&Ke.disabled!==this.disabled&&(this.disabled=Ke.disabled),this._previousControl=Ke.control),this.updateErrorState())}ngOnChanges(Oe){(Oe.disabled||Oe.userAriaDescribedBy)&&this.stateChanges.next(),Oe.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 Oe=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!Oe)return;const Ke=`${this.id}-panel`;this._trackedModal&&(0,v.iD)(this._trackedModal,"aria-owns",Ke),(0,v.Zf)(Oe,"aria-owns",Ke),this._trackedModal=Oe}_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(Oe){this._assignValue(Oe)}registerOnChange(Oe){this._onChange=Oe}registerOnTouched(Oe){this._onTouched=Oe}setDisabledState(Oe){this.disabled=Oe,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 Oe=this._selectionModel.selected.map(Ke=>Ke.viewValue);return this._isRtl()&&Oe.reverse(),Oe.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Oe){this.disabled||(this.panelOpen?this._handleOpenKeydown(Oe):this._handleClosedKeydown(Oe))}_handleClosedKeydown(Oe){const Ke=Oe.keyCode,he=Ke===l.JH||Ke===l.LH||Ke===l.oh||Ke===l.SV,ge=Ke===l.K5||Ke===l.L_,ct=this._keyManager;if(!ct.isTyping()&&ge&&!(0,l.Vb)(Oe)||(this.multiple||Oe.altKey)&&he)Oe.preventDefault(),this.open();else if(!this.multiple){const Me=this.selected;ct.onKeydown(Oe);const Ye=this.selected;Ye&&Me!==Ye&&this._liveAnnouncer.announce(Ye.viewValue,1e4)}}_handleOpenKeydown(Oe){const Ke=this._keyManager,he=Oe.keyCode,ge=he===l.JH||he===l.LH,ct=Ke.isTyping();if(ge&&Oe.altKey)Oe.preventDefault(),this.close();else if(ct||he!==l.K5&&he!==l.L_||!Ke.activeItem||(0,l.Vb)(Oe))if(!ct&&this._multiple&&he===l.A&&Oe.ctrlKey){Oe.preventDefault();const Me=this.options.some(Ye=>!Ye.disabled&&!Ye.selected);this.options.forEach(Ye=>{Ye.disabled||(Me?Ye.select():Ye.deselect())})}else{const Me=Ke.activeItemIndex;Ke.onKeydown(Oe),this._multiple&&ge&&Oe.shiftKey&&Ke.activeItem&&Ke.activeItemIndex!==Me&&Ke.activeItem._selectViaInteraction()}else Oe.preventDefault(),Ke.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(Oe){if(this.options.forEach(Ke=>Ke.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Oe)Array.isArray(Oe),Oe.forEach(Ke=>this._selectOptionByValue(Ke)),this._sortValues();else{const Ke=this._selectOptionByValue(Oe);Ke?this._keyManager.updateActiveItem(Ke):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Oe){const Ke=this.options.find(he=>{if(this._selectionModel.isSelected(he))return!1;try{return null!=he.value&&this._compareWith(he.value,Oe)}catch{return!1}});return Ke&&this._selectionModel.select(Ke),Ke}_assignValue(Oe){return!!(Oe!==this._value||this._multiple&&Array.isArray(Oe))&&(this.options&&this._setSelectionByValue(Oe),this._value=Oe,!0)}_skipPredicate(Oe){return Oe.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 Oe=(0,S.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,A.R)(Oe)).subscribe(Ke=>{this._onSelect(Ke.source,Ke.isUserInput),Ke.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,S.T)(...this.options.map(Ke=>Ke._stateChanges)).pipe((0,A.R)(Oe)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Oe,Ke){const he=this._selectionModel.isSelected(Oe);null!=Oe.value||this._multiple?(he!==Oe.selected&&(Oe.selected?this._selectionModel.select(Oe):this._selectionModel.deselect(Oe)),Ke&&this._keyManager.setActiveItem(Oe),this.multiple&&(this._sortValues(),Ke&&this.focus())):(Oe.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Oe.value)),he!==this._selectionModel.isSelected(Oe)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Oe=this.options.toArray();this._selectionModel.sort((Ke,he)=>this.sortComparator?this.sortComparator(Ke,he,Oe):Oe.indexOf(Ke)-Oe.indexOf(he)),this.stateChanges.next()}}_propagateChanges(Oe){let Ke=null;Ke=this.multiple?this.selected.map(he=>he.value):this.selected?this.selected.value:Oe,this._value=Ke,this.valueChange.emit(Ke),this._onChange(Ke),this.selectionChange.emit(this._getChangeEvent(Ke)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let Oe=-1;for(let Ke=0;Ke0}focus(Oe){this._elementRef.nativeElement.focus(Oe)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Oe?Oe+" ":"")+this.ariaLabelledby:Oe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();let Ke=(Oe?Oe+" ":"")+this._valueId;return this.ariaLabelledby&&(Ke+=" "+this.ariaLabelledby),Ke}_panelDoneAnimating(Oe){this.openedChange.emit(Oe)}setDescribedByIds(Oe){Oe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Oe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)(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(f.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))},Ft.\u0275dir=d.\u0275\u0275defineDirective({type:Ft,viewQuery:function(Oe,Ke){if(1&Oe&&(d.\u0275\u0275viewQuery(Ce,5),d.\u0275\u0275viewQuery(Re,5),d.\u0275\u0275viewQuery(n.pI,5)),2&Oe){let he;d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke.trigger=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke.panel=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(Ke._overlayDir=he.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]}),Ft})();function Le(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",8),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Oe.placeholder)}}function lt(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",12),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(1),d.\u0275\u0275textInterpolate(Oe.triggerValue)}}function ze(Ft,Gt){1&Ft&&d.\u0275\u0275projection(0,0,["*ngSwitchCase","true"])}function at(Ft,Gt){if(1&Ft&&(d.\u0275\u0275elementStart(0,"span",9),d.\u0275\u0275template(1,lt,2,1,"span",10),d.\u0275\u0275template(2,ze,1,0,"ng-content",11),d.\u0275\u0275elementEnd()),2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("ngSwitch",!!Oe.customTrigger),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngSwitchCase",!0)}}function N(Ft,Gt){if(1&Ft){const Oe=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",13)(1,"div",14,15),d.\u0275\u0275listener("@transformPanel.done",function(he){d.\u0275\u0275restoreView(Oe);const ge=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ge._panelDoneAnimatingStream.next(he.toState))})("keydown",function(he){d.\u0275\u0275restoreView(Oe);const ge=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(ge._handleKeydown(he))}),d.\u0275\u0275projection(3,1),d.\u0275\u0275elementEnd()()}if(2&Ft){const Oe=d.\u0275\u0275nextContext();d.\u0275\u0275property("@transformPanelWrap",void 0),d.\u0275\u0275advance(1),d.\u0275\u0275classMapInterpolate1("mat-select-panel ",Oe._getPanelTheme(),""),d.\u0275\u0275styleProp("transform-origin",Oe._transformOrigin)("font-size",Oe._triggerFontSize,"px"),d.\u0275\u0275property("ngClass",Oe.panelClass)("@transformPanel",Oe.multiple?"showing-multiple":"showing"),d.\u0275\u0275attribute("id",Oe.id+"-panel")("aria-multiselectable",Oe.multiple)("aria-label",Oe.ariaLabel||null)("aria-labelledby",Oe._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})))])},K=256;class ut{constructor(Gt,Oe){this.source=Gt,this.value=Oe}}let Pe=(()=>{class Ft{}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)},Ft.\u0275dir=d.\u0275\u0275defineDirective({type:Ft,selectors:[["mat-select-trigger"]],features:[d.\u0275\u0275ProvidersFeature([{provide:tt,useExisting:Ft}])]}),Ft})(),mt=(()=>{class Ft extends _t{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(Oe,Ke,he){const ge=this._getItemHeight();return Math.min(Math.max(0,ge*Oe-Ke+ge/2),he)}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(Oe){const Ke=(0,g._countGroupLabelsBeforeOption)(Oe,this.options,this.optionGroups),he=this._getItemHeight();this.panel.nativeElement.scrollTop=0===Oe&&1===Ke?0:(0,g._getOptionScrollPosition)((Oe+Ke)*he,he,this.panel.nativeElement.scrollTop,K)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(Oe){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(Oe)}_getChangeEvent(Oe){return new ut(this,Oe)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){const Oe=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),Ke=this._viewportRuler.getViewportSize(),he=this._isRtl(),ge=this.multiple?56:32;let ct;if(this.multiple)ct=40;else if(this.disableOptionCentering)ct=16;else{let De=this._selectionModel.selected[0]||this.options.first;ct=De&&De.group?32:16}he||(ct*=-1);const Me=0-(Oe.left+ct-(he?ge:0)),Ye=Oe.right+ct-Ke.width+(he?0:ge);Me>0?ct+=Me+8:Ye>0&&(ct-=Ye+8),this._overlayDir.offsetX=Math.round(ct),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(Oe,Ke,he){const ge=this._getItemHeight(),ct=(ge-this._triggerRect.height)/2,Me=Math.floor(K/ge);let Ye;return this.disableOptionCentering?0:(Ye=0===this._scrollTop?Oe*ge:this._scrollTop===he?(Oe-(this._getItemCount()-Me))*ge+(ge-(this._getItemCount()*ge-K)%ge):Ke-ge/2,Math.round(-1*Ye-ct))}_checkOverlayWithinViewport(Oe){const Ke=this._getItemHeight(),he=this._viewportRuler.getViewportSize(),ge=this._triggerRect.top-8,ct=he.height-this._triggerRect.bottom-8,Me=Math.abs(this._offsetY),De=Math.min(this._getItemCount()*Ke,K)-Me-this._triggerRect.height;De>ct?this._adjustPanelUp(De,ct):Me>ge?this._adjustPanelDown(Me,ge,Oe):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(Oe,Ke){const he=Math.round(Oe-Ke);this._scrollTop-=he,this._offsetY-=he,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(Oe,Ke,he){const ge=Math.round(Oe-Ke);if(this._scrollTop+=ge,this._offsetY+=ge,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=he)return this._scrollTop=he,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const Oe=this._getItemHeight(),Ke=this._getItemCount(),he=Math.min(Ke*Oe,K),ct=Ke*Oe-he;let Me;Me=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),Me+=(0,g._countGroupLabelsBeforeOption)(Me,this.options,this.optionGroups);const Ye=he/2;this._scrollTop=this._calculateOverlayScroll(Me,Ye,ct),this._offsetY=this._calculateOverlayOffsetY(Me,Ye,ct),this._checkOverlayWithinViewport(ct)}_getOriginBasedOnOption(){const Oe=this._getItemHeight(),Ke=(Oe-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-Ke+Oe/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return Ft.\u0275fac=function(){let Gt;return function(Ke){return(Gt||(Gt=d.\u0275\u0275getInheritedFactory(Ft)))(Ke||Ft)}}(),Ft.\u0275cmp=d.\u0275\u0275defineComponent({type:Ft,selectors:[["mat-select"]],contentQueries:function(Oe,Ke,he){if(1&Oe&&(d.\u0275\u0275contentQuery(he,tt,5),d.\u0275\u0275contentQuery(he,r.MatLegacyOption,5),d.\u0275\u0275contentQuery(he,g.MAT_OPTGROUP,5)),2&Oe){let ge;d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.customTrigger=ge.first),d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.options=ge),d.\u0275\u0275queryRefresh(ge=d.\u0275\u0275loadQuery())&&(Ke.optionGroups=ge)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(Oe,Ke){1&Oe&&d.\u0275\u0275listener("keydown",function(ge){return Ke._handleKeydown(ge)})("focus",function(){return Ke._onFocus()})("blur",function(){return Ke._onBlur()}),2&Oe&&(d.\u0275\u0275attribute("id",Ke.id)("tabindex",Ke.tabIndex)("aria-controls",Ke.panelOpen?Ke.id+"-panel":null)("aria-expanded",Ke.panelOpen)("aria-label",Ke.ariaLabel||null)("aria-required",Ke.required.toString())("aria-disabled",Ke.disabled.toString())("aria-invalid",Ke.errorState)("aria-activedescendant",Ke._getAriaActiveDescendant()),d.\u0275\u0275classProp("mat-select-disabled",Ke.disabled)("mat-select-invalid",Ke.errorState)("mat-select-required",Ke.required)("mat-select-empty",Ke.empty)("mat-select-multiple",Ke.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[d.\u0275\u0275ProvidersFeature([{provide:f.Eo,useExisting:Ft},{provide:g.MAT_OPTION_PARENT_COMPONENT,useExisting:Ft}]),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(Oe,Ke){if(1&Oe&&(d.\u0275\u0275projectionDef(oe),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275listener("click",function(){return Ke.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 Ke.close()})("attach",function(){return Ke._onAttached()})("detach",function(){return Ke.close()})),2&Oe){const he=d.\u0275\u0275reference(1);d.\u0275\u0275attribute("aria-owns",Ke.panelOpen?Ke.id+"-panel":null),d.\u0275\u0275advance(3),d.\u0275\u0275property("ngSwitch",Ke.empty),d.\u0275\u0275attribute("id",Ke._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",Ke._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",Ke._scrollStrategy)("cdkConnectedOverlayOrigin",he)("cdkConnectedOverlayOpen",Ke.panelOpen)("cdkConnectedOverlayPositions",Ke._positions)("cdkConnectedOverlayMinWidth",Ke._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",Ke._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}),Ft})(),Pt=(()=>{class Ft{}return Ft.\u0275fac=function(Oe){return new(Oe||Ft)},Ft.\u0275mod=d.\u0275\u0275defineNgModule({type:Ft}),Ft.\u0275inj=d.\u0275\u0275defineInjector({providers:[Ge],imports:[c.CommonModule,n.U8,r.MatLegacyOptionModule,g.MatCommonModule,u.ZD,h.MatLegacyFormFieldModule,r.MatLegacyOptionModule,g.MatCommonModule]}),Ft})()},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:()=>Ce,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),f=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,f.Ig)(H)}get checked(){return this._checked}set checked(H){this._checked=(0,f.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 de;return function(W){return(de||(de=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)(()=>Ce),multi:!0};class U{constructor(de,H){this.source=de,this.checked=H}}let Ce=(()=>{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:()=>Ce});var n=a(6814),c=a(5879),d=a(3680),g=a(4300),r=a(9388),f=a(2495),h=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(de){this._invert=(0,f.Ig)(de)}get max(){return this._max}set max(de){this._max=(0,f.su)(de,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(de){this._min=(0,f.su)(de,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(de){this._step=(0,f.su)(de,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(de){this._thumbLabel=(0,f.Ig)(de)}get tickInterval(){return this._tickInterval}set tickInterval(de){this._tickInterval="auto"===de?"auto":"number"==typeof de||"string"==typeof de?(0,f.su)(de,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(de){if(de!==this._value){let H=(0,f.su)(de,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(de){this._vertical=(0,f.Ig)(de)}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(de){this._focusHostElement(de)}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 de=this.percent,W=this.vertical?`1, ${de}, 1`:`${de}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${W})`,display:0===de?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let de=100*this._tickIntervalPercent,Ee={backgroundSize:this.vertical?`2px ${de}%`:`${de}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${de/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 de=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?de:!de)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const de=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?de:!de}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}constructor(de,H,W,pe,we,Ee,Be,G){super(de),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 de=0;de{if("pointer"===this._isSliding){const ae=ie(re,this._touchId);if(ae){re.cancelable&&re.preventDefault();const ve=this.value;this._lastPointerEvent=re,this._updateValueFromPosition(ae),ve!=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=de.nativeElement;re.addEventListener("mousedown",this._pointerDown,_),re.addEventListener("touchstart",this._pointerDown,_)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(de=>{this._isActive=!!de&&"keyboard"!==de,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const de=this._elementRef.nativeElement;de.removeEventListener("mousedown",this._pointerDown,_),de.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(de){if(this.disabled||(0,h.Vb)(de)||this._isSliding&&"keyboard"!==this._isSliding)return;const H=this.value;switch(de.keyCode){case h.Ku:this._increment(10);break;case h.VM:this._increment(-10);break;case h.uR:this.value=this.max;break;case h.Sd:this.value=this.min;break;case h.oh:this._increment("rtl"==this._getDirection()?1:-1);break;case h.LH:this._increment(1);break;case h.SV:this._increment("rtl"==this._getDirection()?-1:1);break;case h.JH:this._increment(-1);break;default:return}H!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",de.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(de){const H=this._document,W=ee(de),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 de=this._document;de.removeEventListener("mousemove",this._pointerMove,_),de.removeEventListener("mouseup",this._pointerUp,_),de.removeEventListener("touchmove",this._pointerMove,_),de.removeEventListener("touchend",this._pointerUp,_),de.removeEventListener("touchcancel",this._pointerUp,_);const H=this._getWindow();typeof H<"u"&&H&&H.removeEventListener("blur",this._windowBlur)}_increment(de){const H=this._clamp(this.value||0,this.min,this.max);this.value=this._clamp(H+this.step*de,this.min,this.max)}_updateValueFromPosition(de){if(!this._sliderDimensions)return;let we=this._clamp(((this.vertical?de.y:de.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 de;if("auto"==this.tickInterval){let H=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width;de=Math.ceil(30/(H*this.step/(this.max-this.min)))*this.step/H}else de=this.tickInterval*this.step/(this.max-this.min);this._tickIntervalPercent=$(de)?de:0}_createChangeEvent(de=this.value){let H=new E;return H.source=this,H.value=de,H}_calculatePercentage(de){const H=((de||0)-this.min)/(this.max-this.min);return $(H)?H:0}_calculateValue(de){return this.min+de*(this.max-this.min)}_clamp(de,H=0,W=1){return Math.max(H,Math.min(de,W))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(de){this._elementRef.nativeElement.focus(de)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(de){this.value=de}registerOnChange(de){this._controlValueAccessorChangeFn=de}registerOnTouched(de){this.onTouched=de}setDisabledState(de){this.disabled=de}}return Re.\u0275fac=function(de){return new(de||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(de,H){if(1&de&&c.\u0275\u0275viewQuery(p,5),2&de){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(de,H){1&de&&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&de&&(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(de,H){1&de&&(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&de&&(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 de;return de=ee(Re)?"number"==typeof Ae?A(Re.touches,Ae)||A(Re.changedTouches,Ae):Re.touches[0]||Re.changedTouches[0]:Re,de?{x:de.clientX,y:de.clientY}:void 0}function A(Re,Ae){for(let de=0;de{class Re{}return Re.\u0275fac=function(de){return new(de||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:()=>bt});var n=a(5879),c=a(9388),d=a(2495),g=a(8337),r=a(2831),f=a(6672),h=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 se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",se.headerText," ")}}function E(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const se=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(se,Xe.name)," ")}}function I(O){return class extends O{get sticky(){return this._sticky}set sticky(me){const se=this._sticky;this._sticky=(0,d.Ig)(me),this._hasStickyChanged=se!==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(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellDef",""]]}),O})(),ie=(()=>{class O{constructor(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkHeaderCellDef",""]]}),O})(),A=(()=>{class O{constructor(se){this.template=se}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.TemplateRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkFooterCellDef",""]]}),O})();class U{}const Ce=I(U);let Re=(()=>{class O extends Ce{get name(){return this._name}set name(se){this._setNameInput(se)}get stickyEnd(){return this._stickyEnd}set stickyEnd(se){const Xe=this._stickyEnd;this._stickyEnd=(0,d.Ig)(se),this._hasStickyChanged=Xe!==this._stickyEnd}constructor(se){super(),this._table=se,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(se){se&&(this._name=se,this.cssClassFriendlyName=se.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(X,8))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkColumnDef",""]],contentQueries:function(se,Xe,kt){if(1&se&&(n.\u0275\u0275contentQuery(kt,ee,5),n.\u0275\u0275contentQuery(kt,ie,5),n.\u0275\u0275contentQuery(kt,A,5)),2&se){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,se){se.nativeElement.classList.add(...me._columnCssClassName)}}let de=(()=>{class O extends Ae{constructor(se,Xe){super(se,Xe)}}return O.\u0275fac=function(se){return new(se||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(se,Xe){if(super(se,Xe),1===se._table?._elementRef.nativeElement.nodeType){const kt=se._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===kt||"treegrid"===kt?"gridcell":"cell")}}}return O.\u0275fac=function(se){return new(se||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(se,Xe){if(super(se,Xe),1===se._table?._elementRef.nativeElement.nodeType){const kt=se._table._elementRef.nativeElement.getAttribute("role");Xe.nativeElement.setAttribute("role","grid"===kt||"treegrid"===kt?"gridcell":"cell")}}}return O.\u0275fac=function(se){return new(se||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(se){this._ngZone=se,this._currentSchedule=null,this._destroyed=new u.x}schedule(se){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(se)}scheduleEnd(se){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(se)}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 se=this._currentSchedule;this._currentSchedule=new pe;for(const Xe of se.tasks)Xe();for(const Xe of se.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(se){return new(se||O)(n.\u0275\u0275inject(n.NgZone))},O.\u0275prov=n.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})(),G=(()=>{class O{constructor(se,Xe){this.template=se,this._differs=Xe}ngOnChanges(se){if(!this._columnsDiffer){const Xe=se.columns&&se.columns.currentValue||[];this._columnsDiffer=this._differs.find(Xe).create(),this._columnsDiffer.diff(Xe)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(se){return this instanceof ve?se.headerCell.template:this instanceof Qe?se.footerCell.template:se.cell.template}}return O.\u0275fac=function(se){return new(se||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 ae=I(re);let ve=(()=>{class O extends ae{constructor(se,Xe,kt){super(se,Xe),this._table=kt}ngOnChanges(se){super.ngOnChanges(se)}}return O.\u0275fac=function(se){return new(se||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(se,Xe,kt){super(se,Xe),this._table=kt}ngOnChanges(se){super.ngOnChanges(se)}}return O.\u0275fac=function(se){return new(se||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})(),Ge=(()=>{class O extends G{constructor(se,Xe,kt){super(se,Xe),this._table=kt}}return O.\u0275fac=function(se){return new(se||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(se){this._viewContainer=se,O.mostRecentCellOutlet=this}ngOnDestroy(){O.mostRecentCellOutlet===this&&(O.mostRecentCellOutlet=null)}}return O.mostRecentCellOutlet=null,O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","cdkCellOutlet",""]]}),O})(),Ct=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Nt=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),_t=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),Bt=(()=>{class O{constructor(se){this.templateRef=se,this._contentClassName="cdk-no-data-row"}}return O.\u0275fac=function(se){return new(se||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 Lt{constructor(me,se,Xe,kt,Wt=!0,un=!0,gn){this._isNativeHtmlTable=me,this._stickCellCss=se,this.direction=Xe,this._coalescedStyleScheduler=kt,this._isBrowser=Wt,this._needsPositionStickyOnElement=un,this._positionListener=gn,this._cachedCellWidths=[],this._borderCellCss={top:`${se}-border-elem-top`,bottom:`${se}-border-elem-bottom`,left:`${se}-border-elem-left`,right:`${se}-border-elem-right`}}clearStickyPositioning(me,se){const Xe=[];for(const kt of me)if(kt.nodeType===kt.ELEMENT_NODE){Xe.push(kt);for(let Wt=0;Wt{for(const kt of Xe)this._removeStickyStyle(kt,se)})}updateStickyColumns(me,se,Xe,kt=!0){if(!me.length||!this._isBrowser||!se.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,kt),pn=this._getStickyStartColumnPositions(gn,se),si=this._getStickyEndColumnPositions(gn,Xe),jn=se.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;fnse[fn]?Gi:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Fn?[]:gn.slice(Fn).map((Gi,fn)=>Xe[fn+Fn]?Gi:null).reverse()}))})}stickRows(me,se,Xe){if(!this._isBrowser)return;const kt="bottom"===Xe?me.slice().reverse():me,Wt="bottom"===Xe?se.slice().reverse():se,un=[],gn=[],pn=[];for(let jn=0,Fn=0;jn{for(let jn=0;jn{se.some(kt=>!kt)?this._removeStickyStyle(Xe,["bottom"]):this._addStickyStyle(Xe,"bottom",0,!1)})}_removeStickyStyle(me,se){for(const kt of se)me.style[kt]="",me.classList.remove(this._borderCellCss[kt]);Tt.some(kt=>-1===se.indexOf(kt)&&me.style[kt])?me.style.zIndex=this._getCalculatedZIndex(me):(me.style.zIndex="",this._needsPositionStickyOnElement&&(me.style.position=""),me.classList.remove(this._stickCellCss))}_addStickyStyle(me,se,Xe,kt){me.classList.add(this._stickCellCss),kt&&me.classList.add(this._borderCellCss[se]),me.style[se]=`${Xe}px`,me.style.zIndex=this._getCalculatedZIndex(me),this._needsPositionStickyOnElement&&(me.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(me){const se={top:100,bottom:10,left:1,right:1};let Xe=0;for(const kt of Tt)me.style[kt]&&(Xe+=se[kt]);return Xe?`${Xe}`:""}_getCellWidths(me,se=!0){if(!se&&this._cachedCellWidths.length)return this._cachedCellWidths;const Xe=[],kt=me.children;for(let Wt=0;Wt0;Wt--)se[Wt]&&(Xe[Wt]=kt,kt+=me[Wt]);return Xe}}const K=new n.InjectionToken("CDK_SPL");let Te=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","rowOutlet",""]]}),O})(),et=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||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(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","footerRowOutlet",""]]}),O})(),_e=(()=>{class O{constructor(se,Xe){this.viewContainer=se,this.elementRef=Xe}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},O.\u0275dir=n.\u0275\u0275defineDirective({type:O,selectors:[["","noDataRowOutlet",""]]}),O})(),mt=(()=>{class O{get trackBy(){return this._trackByFn}set trackBy(se){this._trackByFn=se}get dataSource(){return this._dataSource}set dataSource(se){this._dataSource!==se&&this._switchDataSource(se)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(se){this._multiTemplateDataRows=(0,d.Ig)(se),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(se){this._fixedLayout=(0,d.Ig)(se),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(se,Xe,kt,Wt,un,gn,pn,si,jn,Fn,bi,Ti){this._differs=se,this._changeDetectorRef=Xe,this._elementRef=kt,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((se,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(se=>{se.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 se=this._dataDiffer.diff(this._renderRows);if(!se)return this._updateNoDataRow(),void this.contentChanged.next();const Xe=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(se,Xe,(kt,Wt,un)=>this._getEmbeddedViewArgs(kt.item,un),kt=>kt.item.data,kt=>{1===kt.operation&&kt.context&&this._renderCellTemplateForItem(kt.record.item.rowDef,kt.context)}),this._updateRowIndexContext(),se.forEachIdentityChange(kt=>{Xe.get(kt.currentIndex).context.$implicit=kt.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(se){this._customColumnDefs.add(se)}removeColumnDef(se){this._customColumnDefs.delete(se)}addRowDef(se){this._customRowDefs.add(se)}removeRowDef(se){this._customRowDefs.delete(se)}addHeaderRowDef(se){this._customHeaderRowDefs.add(se),this._headerRowDefChanged=!0}removeHeaderRowDef(se){this._customHeaderRowDefs.delete(se),this._headerRowDefChanged=!0}addFooterRowDef(se){this._customFooterRowDefs.add(se),this._footerRowDefChanged=!0}removeFooterRowDef(se){this._customFooterRowDefs.delete(se),this._footerRowDefChanged=!0}setNoDataRow(se){this._customNoDataRow=se}updateStickyHeaderRowStyles(){const se=this._getRenderedRows(this._headerRowOutlet),kt=this._elementRef.nativeElement.querySelector("thead");kt&&(kt.style.display=se.length?"":"none");const Wt=this._headerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(se,["top"]),this._stickyStyler.stickRows(se,Wt,"top"),this._headerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyFooterRowStyles(){const se=this._getRenderedRows(this._footerRowOutlet),kt=this._elementRef.nativeElement.querySelector("tfoot");kt&&(kt.style.display=se.length?"":"none");const Wt=this._footerRowDefs.map(un=>un.sticky);this._stickyStyler.clearStickyPositioning(se,["bottom"]),this._stickyStyler.stickRows(se,Wt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Wt),this._footerRowDefs.forEach(un=>un.resetStickyChanged())}updateStickyColumnStyles(){const se=this._getRenderedRows(this._headerRowOutlet),Xe=this._getRenderedRows(this._rowOutlet),kt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...se,...Xe,...kt],["left","right"]),this._stickyColumnStylesNeedReset=!1),se.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 se=[],Xe=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let kt=0;kt{const gn=kt&&kt.has(un)?kt.get(un):[];if(gn.length){const pn=gn.shift();return pn.dataIndex=Xe,pn}return{data:se,rowDef:un,dataIndex:Xe}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Pt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Xe=>{this._columnDefsByName.has(Xe.name),this._columnDefsByName.set(Xe.name,Xe)})}_cacheRowDefs(){this._headerRowDefs=Pt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Pt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Pt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const se=this._rowDefs.filter(Xe=>!Xe.when);this._defaultRowDef=se[0]}_renderUpdatedColumns(){const se=(un,gn)=>un||!!gn.getColumnsDiff(),Xe=this._rowDefs.reduce(se,!1);Xe&&this._forceRenderDataRows();const kt=this._headerRowDefs.reduce(se,!1);kt&&this._forceRenderHeaderRows();const Wt=this._footerRowDefs.reduce(se,!1);return Wt&&this._forceRenderFooterRows(),Xe||kt||Wt}_switchDataSource(se){this._data=[],(0,g.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),se||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=se}_observeRenderChanges(){if(!this.dataSource)return;let se;(0,g.Z9)(this.dataSource)?se=this.dataSource.connect(this):(0,p.b)(this.dataSource)?se=this.dataSource:Array.isArray(this.dataSource)&&(se=(0,_.of)(this.dataSource)),this._renderChangeSubscription=se.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((se,Xe)=>this._renderRow(this._headerRowOutlet,se,Xe)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((se,Xe)=>this._renderRow(this._footerRowOutlet,se,Xe)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(se,Xe){const kt=Array.from(Xe.columns||[]).map(gn=>this._columnDefsByName.get(gn)),Wt=kt.map(gn=>gn.sticky),un=kt.map(gn=>gn.stickyEnd);this._stickyStyler.updateStickyColumns(se,Wt,un,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(se){const Xe=[];for(let kt=0;kt!Wt.when||Wt.when(Xe,se));else{let Wt=this._rowDefs.find(un=>un.when&&un.when(Xe,se))||this._defaultRowDef;Wt&&kt.push(Wt)}return kt}_getEmbeddedViewArgs(se,Xe){return{templateRef:se.rowDef.template,context:{$implicit:se.data},index:Xe}}_renderRow(se,Xe,kt,Wt={}){const un=se.viewContainer.createEmbeddedView(Xe.template,Wt,kt);return this._renderCellTemplateForItem(Xe,Wt),un}_renderCellTemplateForItem(se,Xe){for(let kt of this._getCellTemplates(se))tt.mostRecentCellOutlet&&tt.mostRecentCellOutlet._viewContainer.createEmbeddedView(kt,Xe);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const se=this._rowOutlet.viewContainer;for(let Xe=0,kt=se.length;Xe{const kt=this._columnDefsByName.get(Xe);return se.extractCellTemplate(kt)}):[]}_applyNativeTableSections(){const se=this._document.createDocumentFragment(),Xe=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const kt of Xe){const Wt=this._document.createElement(kt.tag);Wt.setAttribute("role","rowgroup");for(const un of kt.outlets)Wt.appendChild(un.elementRef.nativeElement);se.appendChild(Wt)}this._elementRef.nativeElement.appendChild(se)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const se=(Xe,kt)=>Xe||kt.hasStickyChanged();this._headerRowDefs.reduce(se,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(se,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(se,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Lt(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(se){return se.filter(Xe=>!Xe._table||Xe._table===this)}_updateNoDataRow(){const se=this._customNoDataRow||this._noDataRow;if(!se)return;const Xe=0===this._rowOutlet.viewContainer.length;if(Xe===this._isShowingNoDataRow)return;const kt=this._noDataRowOutlet.viewContainer;if(Xe){const Wt=kt.createEmbeddedView(se.templateRef),un=Wt.rootNodes[0];1===Wt.rootNodes.length&&un?.nodeType===this._document.ELEMENT_NODE&&(un.setAttribute("role","row"),un.classList.add(se._contentClassName))}else kt.clear();this._isShowingNoDataRow=Xe}}return O.\u0275fac=function(se){return new(se||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(h.DOCUMENT),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(g.k),n.\u0275\u0275directiveInject(we),n.\u0275\u0275directiveInject(f.rL),n.\u0275\u0275directiveInject(K,12),n.\u0275\u0275directiveInject(n.NgZone,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(se,Xe,kt){if(1&se&&(n.\u0275\u0275contentQuery(kt,Bt,5),n.\u0275\u0275contentQuery(kt,Re,5),n.\u0275\u0275contentQuery(kt,Ge,5),n.\u0275\u0275contentQuery(kt,ve,5),n.\u0275\u0275contentQuery(kt,Qe,5)),2&se){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(se,Xe){if(1&se&&(n.\u0275\u0275viewQuery(Te,7),n.\u0275\u0275viewQuery(et,7),n.\u0275\u0275viewQuery(Dt,7),n.\u0275\u0275viewQuery(_e,7)),2&se){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._rowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._headerRowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._footerRowOutlet=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe._noDataRowOutlet=kt.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(se,Xe){2&se&&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:K,useValue:null}])],ngContentSelectors:D,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,Xe){1&se&&(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,et,Dt,_e],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),O})();function Pt(O,me){return O.concat(Array.from(me))}let Ft=(()=>{class O{get name(){return this._name}set name(se){this._name=se,this._syncColumnDefName()}constructor(se,Xe){this._table=se,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||((se,Xe)=>se[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 se=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(se):se[0].toUpperCase()+se.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return O.\u0275fac=function(se){return new(se||O)(n.\u0275\u0275directiveInject(mt,8),n.\u0275\u0275directiveInject($,8))},O.\u0275cmp=n.\u0275\u0275defineComponent({type:O,selectors:[["cdk-text-column"]],viewQuery:function(se,Xe){if(1&se&&(n.\u0275\u0275viewQuery(Re,7),n.\u0275\u0275viewQuery(ee,7),n.\u0275\u0275viewQuery(ie,7)),2&se){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.columnDef=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.cell=kt.first),n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Xe.headerCell=kt.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(se,Xe){1&se&&(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,de],encapsulation:2}),O})(),Oe=(()=>{class O{}return O.\u0275fac=function(se){return new(se||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[f.Cl]}),O})();var Ke=a(3680),he=a(3019),ge=a(2572),ct=a(7398);class bt 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=(se,Xe)=>{const kt=se[Xe];if((0,d.t6)(kt)){const Wt=Number(kt);return Wt<9007199254740991?Wt:kt}return kt},this.sortData=(se,Xe)=>{const kt=Xe.active,Wt=Xe.direction;return kt&&""!=Wt?se.sort((un,gn)=>{let pn=this.sortingDataAccessor(un,kt),si=this.sortingDataAccessor(gn,kt);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 kt=Object.keys(se).reduce((un,gn)=>un+se[gn]+"\u25ec","").toLowerCase(),Wt=Xe.trim().toLowerCase();return-1!=kt.indexOf(Wt)},this._data=new b.X(me),this._updateChangeSubscription()}_updateChangeSubscription(){const me=this._sort?(0,he.T)(this._sort.sortChange,this._sort.initialized):(0,_.of)(null),se=this._paginator?(0,he.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,_.of)(null),kt=(0,ge.a)([this._data,this._filter]).pipe((0,ct.U)(([gn])=>this._filterData(gn))),Wt=(0,ge.a)([kt,me]).pipe((0,ct.U)(([gn])=>this._orderData(gn))),un=(0,ge.a)([Wt,se]).pipe((0,ct.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(se=>this.filterPredicate(se,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 se=this.paginator.pageIndex*this.paginator.pageSize;return me.slice(se,se+this.paginator.pageSize)}_updatePaginator(me){Promise.resolve().then(()=>{const se=this.paginator;if(se&&(se.length=me,se.pageIndex>0)){const Xe=Math.ceil(se.length/se.pageSize)-1||0,kt=Math.min(se.pageIndex,Xe);kt!==se.pageIndex&&(se.pageIndex=kt,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 se=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",se.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",se.headerText," ")}}function sn(O,me){if(1&O&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&O){const se=me.$implicit,Xe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Xe.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Xe.dataAccessor(se,Xe.name)," ")}}let Nn=(()=>{class O{}return O.\u0275fac=function(se){return new(se||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 mt{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(se,Xe){2&se&&n.\u0275\u0275classProp("mat-table-fixed-layout",Xe.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:g.k,useClass:g.yy},{provide:mt,useExisting:O},{provide:X,useExisting:O},{provide:we,useClass:Ee},{provide:K,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:nn,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(se,Xe){1&se&&(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,et,Dt,_e],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(se){this._setNameInput(se)}_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 de{}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 ve{}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:ve,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 Ge{}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:Ge,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature]}),O})(),Yn=(()=>{class O extends Ct{}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:Ct,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),wi=(()=>{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-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Nt,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&n.\u0275\u0275elementContainer(0,0)},dependencies:[tt],encapsulation:2}),O})(),ri=(()=>{class O extends _t{}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:_t,useExisting:O}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(se,Xe){1&se&&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 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-text-column"]],hostVars:1,hostBindings:function(se,Xe){2&se&&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(se,Xe){1&se&&(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(se){return new(se||O)},O.\u0275mod=n.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=n.\u0275\u0275defineInjector({imports:[Oe,Ke.MatCommonModule,Ke.MatCommonModule]}),O})();class ke extends bt{}},8615:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{MAT_LEGACY_TAB:()=>at,MAT_LEGACY_TABS_CONFIG:()=>Me,MAT_LEGACY_TAB_CONTENT:()=>Le,MAT_LEGACY_TAB_GROUP:()=>mt,MatLegacyInkBar:()=>_i,MatLegacyPaginatedTabHeader:()=>he,MatLegacyTab:()=>$n,MatLegacyTabBody:()=>an,MatLegacyTabBodyPortal:()=>ti,MatLegacyTabChangeEvent:()=>Q,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:()=>ce,_MatLegacyTabBase:()=>Pt,_MatLegacyTabBodyBase:()=>Tt,_MatLegacyTabGroupBase:()=>F,_MatLegacyTabHeaderBase:()=>ge,_MatLegacyTabLinkBase:()=>qe,_MatLegacyTabNavBase:()=>dt,matLegacyTabsAnimations:()=>_t});var n=a(4300),c=a(7131),d=a(8484),g=a(6814),r=a(5879),f=a(3680),h=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),Ce=a(2831),Re=a(6028);function Ae(Mt,jt){}const de=function(Mt){return{animationDuration:Mt}},H=function(Mt,jt){return{value:Mt,params:jt}},_t={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 Mt extends d.Pl{constructor(ke,O,me,se){super(ke,O,se),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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>Lt)),r.\u0275\u0275directiveInject(g.DOCUMENT))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),Tt=(()=>{class Mt{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(se=>{this._computePositionAnimationState(se),me.markForCheck()})),this._translateTabComplete.pipe((0,E.x)((se,Xe)=>se.fromState===Xe.fromState&&se.toState===Xe.toState)).subscribe(se=>{this._isCenterPosition(se.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(se.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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Mt})(),Lt=(()=>{class Mt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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(se){return O._onTranslateTabStarted(se)})("@translateTab.done",function(se){return O._translateTabComplete.next(se)}),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,de,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:[_t.translateTab]}}),Mt})();const Le=new r.InjectionToken("MatTabContent");let lt=(()=>{class Mt{constructor(ke){this.template=ke}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.TemplateRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Mt}])]}),Mt})();const ze=new r.InjectionToken("MatTabLabel"),at=new r.InjectionToken("MAT_TAB");let N=(()=>{class Mt extends d.ig{constructor(ke,O,me){super(ke,O),this._closestTab=me}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(at,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})();function ce(){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:ce}),et=(0,f.mixinDisabled)(class{});let Dt=(()=>{class Mt extends et{constructor(ke){super(),this.elementRef=ke}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();const Pe=(0,f.mixinDisabled)(class{}),mt=new r.InjectionToken("MAT_TAB_GROUP");let Pt=(()=>{class Mt extends Pe{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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(mt,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})();const Gt=(0,Ce.i$)({passive:!0});let he=(()=>{class Mt{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,se,Xe,kt,Wt){this._elementRef=ke,this._changeDetectorRef=O,this._viewportRuler=me,this._dir=se,this._ngZone=Xe,this._platform=kt,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",Gt).pipe((0,I.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,p.R)(this._nextPaginator.nativeElement,"touchstart",Gt).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,h.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(se=>{this.indexFocused.emit(se),this._setTabFocus(se)})}_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(se=>O.next(se));return ke.forEach(se=>me.observe(se.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:se,offsetWidth:Xe}=O.elementRef.nativeElement;let kt,Wt;"ltr"==this._getLayoutDirection()?(kt=se,Wt=kt+Xe):(Wt=this._tabListInner.nativeElement.offsetWidth-se,kt=Wt-Xe);const un=this.scrollDistance,gn=this.scrollDistance+me;ktgn&&(this.scrollDistance+=Math.min(Wt-gn,kt-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:se}=this._scrollHeader(ke);(0===se||se>=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 Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{disablePagination:"disablePagination"}}),Mt})(),ge=(()=>{class Mt extends he{get disableRipple(){return this._disableRipple}set disableRipple(ke){this._disableRipple=(0,A.Ig)(ke)}constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt),this._disableRipple=!1}_itemSelected(ke){ke.preventDefault()}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();const Me=new r.InjectionToken("MAT_TABS_CONFIG");let Ye=0;const De=(0,f.mixinColor)((0,f.mixinDisableRipple)(class{constructor(Mt){this._elementRef=Mt}}),"primary");let F=(()=>{class Mt 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,se){super(ke),this._changeDetectorRef=O,this._animationMode=se,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,se)=>me.isActive=se===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 se=0;se{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 Q;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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Me,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})();class Q{}let be=0,dt=(()=>{class Mt extends he{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,se,Xe,kt,Wt){super(ke,se,Xe,O,me,kt,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 Mt extends Rt{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,se,Xe,kt){super(),this._tabNavBar=ke,this.elementRef=O,this._focusMonitor=Xe,this._isActive=!1,this.id="mat-tab-link-"+be++,this.rippleConfig=me||{},this.tabIndex=parseInt(se)||0,"NoopAnimations"===kt&&(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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(dt),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,inputs:{active:"active",id:"id"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})();function xn(Mt,jt){1&Mt&&r.\u0275\u0275projection(0)}const Sn=["*"];function _n(Mt,jt){}const Mn=function(Mt){return{animationDuration:Mt}},xi=function(Mt,jt){return{value:Mt,params:jt}},fi=["tabListContainer"],Vi=["tabList"],Yi=["tabListInner"],xt=["nextPaginator"],bt=["previousPaginator"],pt=["tabBodyWrapper"],qt=["tabHeader"];function nn(Mt,jt){}function cn(Mt,jt){if(1&Mt&&r.\u0275\u0275template(0,nn,0,0,"ng-template",10),2&Mt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",ke.templateLabel)}}function sn(Mt,jt){if(1&Mt&&r.\u0275\u0275text(0),2&Mt){const ke=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(ke.textLabel)}}function Nn(Mt,jt){if(1&Mt){const ke=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const me=r.\u0275\u0275restoreView(ke),se=me.$implicit,Xe=me.index,kt=r.\u0275\u0275nextContext(),Wt=r.\u0275\u0275reference(1);return r.\u0275\u0275resetView(kt._handleClick(se,Wt,Xe))})("cdkFocusChange",function(me){const Xe=r.\u0275\u0275restoreView(ke).index,kt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(kt._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&Mt){const ke=jt.$implicit,O=jt.index,me=r.\u0275\u0275reference(4),se=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",se.selectedIndex===O),r.\u0275\u0275property("id",se._getTabLabelId(O))("ngClass",ke.labelClass)("disabled",ke.disabled)("matRippleDisabled",ke.disabled||se.disableRipple),r.\u0275\u0275attribute("tabIndex",se._getTabIndex(O))("aria-posinset",O+1)("aria-setsize",se._tabs.length)("aria-controls",se._getTabContentId(O))("aria-selected",se.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(Mt,jt){if(1&Mt){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 se=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(se._setTabBodyWrapperHeight(me))}),r.\u0275\u0275elementEnd()}if(2&Mt){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 Mt{constructor(ke,O,me,se){this._elementRef=ke,this._ngZone=O,this._inkBarPositioner=me,this._animationMode=se}alignToElement(ke){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,h.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 Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Te),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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)}}),Mt})(),$n=(()=>{class Mt extends Pt{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(ke){this._setTemplateLabelInput(ke)}}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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 se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O.templateLabel=se.first),r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._explicitContent=se.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:Mt}]),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}),Mt})(),ti=(()=>{class Mt extends Bt{constructor(ke,O,me,se){super(ke,O,me,se)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>an)),r.\u0275\u0275directiveInject(g.DOCUMENT))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),an=(()=>{class Mt extends Tt{constructor(ke,O,me){super(ke,O,me)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(u.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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(se){return O._onTranslateTabStarted(se)})("@translateTab.done",function(se){return O._translateTabComplete.next(se)}),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:[_t.translateTab]}}),Mt})(),mn=(()=>{class Mt extends Dt{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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]}),Mt})(),Tn=(()=>{class Mt extends ge{constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["mat-tab-header"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,mn,4),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._items=se)}},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(xt,5),r.\u0275\u0275viewQuery(bt,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(se){return O._handlePaginatorPress("before",se)})("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(se){return O._handleKeydown(se)}),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(se){return O._handlePaginatorPress("after",se)})("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:[f.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}),Mt})(),Rn=(()=>{class Mt extends F{constructor(ke,O,me,se){super(ke,O,me,se)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Me,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["mat-tab-group"]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,$n,5),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._allTabs=se)}},viewQuery:function(ke,O){if(1&ke&&(r.\u0275\u0275viewQuery(pt,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:mt,useExisting:Mt}]),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(se){return O._focusChanged(se)})("selectFocusedIndex",function(se){return O.selectedIndex=se}),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,f.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}),Mt})(),Wn=0,mi=(()=>{class Mt extends dt{constructor(ke,O,me,se,Xe,kt,Wt){super(ke,O,me,se,Xe,kt,Wt)}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(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(Ce.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(ke,O,me){if(1&ke&&r.\u0275\u0275contentQuery(me,Yn,5),2&ke){let se;r.\u0275\u0275queryRefresh(se=r.\u0275\u0275loadQuery())&&(O._items=se)}},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(xt,5),r.\u0275\u0275viewQuery(bt,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(se){return O._handlePaginatorPress("before",se)})("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(se){return O._handleKeydown(se)}),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(se){return O._handlePaginatorPress("after",se)})("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:[f.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}),Mt})(),Yn=(()=>{class Mt extends qe{constructor(ke,O,me,se,Xe,kt,Wt,un){super(ke,O,Xe,kt,Wt,un),this._tabLinkRipple=new f.RippleRenderer(this,me,O,se),this._tabLinkRipple.setupTriggerEvents(O.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Mt.\u0275fac=function(ke){return new(ke||Mt)(r.\u0275\u0275directiveInject(mi),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(Ce.t4),r.\u0275\u0275directiveInject(f.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,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(se){return O._handleKeydown(se)}),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]}),Mt})(),wi=(()=>{class Mt{constructor(){this.id="mat-tab-nav-panel-"+Wn++}}return Mt.\u0275fac=function(ke){return new(ke||Mt)},Mt.\u0275cmp=r.\u0275\u0275defineComponent({type:Mt,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}),Mt})(),ri=(()=>{class Mt extends N{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:ze,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),ai=(()=>{class Mt extends lt{}return Mt.\u0275fac=function(){let jt;return function(O){return(jt||(jt=r.\u0275\u0275getInheritedFactory(Mt)))(O||Mt)}}(),Mt.\u0275dir=r.\u0275\u0275defineDirective({type:Mt,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Mt}]),r.\u0275\u0275InheritDefinitionFeature]}),Mt})(),Ni=(()=>{class Mt{}return Mt.\u0275fac=function(ke){return new(ke||Mt)},Mt.\u0275mod=r.\u0275\u0275defineNgModule({type:Mt}),Mt.\u0275inj=r.\u0275\u0275defineInjector({imports:[g.CommonModule,f.MatCommonModule,d.eL,f.MatRippleModule,c.Q8,n.rt,f.MatCommonModule]}),Mt})()},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"]]],f=["*","mat-toolbar-row"],h=(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 h{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:f,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:()=>We});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 Ge(je,T,P=new Map,ue=new Map){const Fe=[],it=[];let It=-1,Et=null;if(T.forEach(Qt=>{const en=Qt.get("offset"),In=en==It,Ln=In&&Et||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=ue.get(li);break;default:ii=je.normalizeStyleValue(li,Gn,ii,Fe)}Ln.set(Gn,ii)}),In||it.push(Ln),Et=Ln,It=en}),Fe.length)throw function de(je){return new n.\u0275RuntimeError(3502,!1)}();return it}function tt(je,T,P,ue){switch(T){case"start":je.onStart(()=>ue(P&&Ct(P,"start",je)));break;case"done":je.onDone(()=>ue(P&&Ct(P,"done",je)));break;case"destroy":je.onDestroy(()=>ue(P&&Ct(P,"destroy",je)))}}function Ct(je,T,P){const it=Nt(je.element,je.triggerName,je.fromState,je.toState,T||je.phaseName,P.totalTime??je.totalTime,!!P.disabled),It=je._data;return null!=It&&(it._data=It),it}function Nt(je,T,P,ue,Fe="",it=0,It){return{element:je,triggerName:T,fromState:P,toState:ue,phaseName:Fe,totalTime:it,disabled:!!It}}function _t(je,T,P){let ue=je.get(T);return ue||je.set(T,ue=P),ue}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 Lt(je){const T=je.parentNode||je.host||null;return T===Tt?null:T}let lt=null,ze=!1;function Y(je,T){for(;T;){if(T===je)return!0;T=Lt(T)}return!1}function ne(je,T,P){if(P)return Array.from(je.querySelectorAll(T));const ue=je.querySelector(T);return ue?[ue]:[]}let ce=(()=>{class je{validateStyleProperty(P){return function at(je){lt||(lt=function oe(){return typeof document<"u"?document.body:null}()||{},ze=!!lt.style&&"WebkitAppearance"in lt.style);let T=!0;return lt.style&&!function Le(je){return"ebkit"==je.substring(1,6)}(je)&&(T=je in lt.style,!T&&ze&&(T="Webkit"+je.charAt(0).toUpperCase()+je.slice(1)in lt.style)),T}(P)}matchesElement(P,ue){return!1}containsElement(P,ue){return Y(P,ue)}getParentElement(P){return Lt(P)}query(P,ue,Fe){return ne(P,ue,Fe)}computeStyle(P,ue,Fe){return Fe||""}animate(P,ue,Fe,it,It,Et=[],Qt){return new d.ZN(Fe,it)}}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 ce,je})();const et=1e3,ut="ng-enter",Pe="ng-leave",mt="ng-trigger",Pt=".ng-trigger",Ft="ng-animating",Gt=".ng-animating";function Oe(je){if("number"==typeof je)return je;const T=je.match(/^(-?[\.\d]+)(m?s)/);return!T||T.length<2?0:Ke(parseFloat(T[1]),T[2])}function Ke(je,T){return"s"===T?je*et:je}function he(je,T,P){return je.hasOwnProperty("duration")?je:function ge(je,T,P){let Fe,it=0,It="";if("string"==typeof je){const Et=je.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Et)return T.push(r()),{duration:0,delay:0,easing:""};Fe=Ke(parseFloat(Et[1]),Et[2]);const Qt=Et[3];null!=Qt&&(it=Ke(parseFloat(Qt),Et[4]));const en=Et[5];en&&(It=en)}else Fe=je;if(!P){let Et=!1,Qt=T.length;Fe<0&&(T.push(function f(){return new n.\u0275RuntimeError(3100,!1)}()),Et=!0),it<0&&(T.push(function h(){return new n.\u0275RuntimeError(3101,!1)}()),Et=!0),Et&&T.splice(Qt,0,r())}return{duration:Fe,delay:it,easing:It}}(je,T,P)}function ct(je,T={}){return Object.keys(je).forEach(P=>{T[P]=je[P]}),T}function Me(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[ue,Fe]of P)T.set(ue,Fe);for(let[ue,Fe]of je)T.set(ue,Fe);return T}function V(je,T,P){T.forEach((ue,Fe)=>{const it=At(Fe);P&&!P.has(Fe)&&P.set(Fe,je.style[it]),je.style[it]=ue})}function Q(je,T){T.forEach((P,ue)=>{const Fe=At(ue);je.style[Fe]=""})}function be(je){return Array.isArray(je)?1==je.length?je[0]:(0,d.vP)(je):je}const Rt=new RegExp("{{\\s*(.+?)\\s*}}","g");function qe(je){let T=[];if("string"==typeof je){let P;for(;P=Rt.exec(je);)T.push(P[1]);Rt.lastIndex=0}return T}function nt(je,T,P){const ue=je.toString(),Fe=ue.replace(Rt,(it,It)=>{let Et=T[It];return null==Et&&(P.push(function v(je){return new n.\u0275RuntimeError(3003,!1)}()),Et=""),Et.toString()});return Fe==ue?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 At(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 pt="*";function qt(je,T){const P=[];return"string"==typeof je?je.split(/\s*,\s*/).forEach(ue=>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,ue)=>parseFloat(ue)>parseFloat(P);case":decrement":return(P,ue)=>parseFloat(ue) *"}}(je,P);if("function"==typeof Qt)return void T.push(Qt);je=Qt}const ue=je.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==ue||ue.length<4)return P.push(function A(je){return new n.\u0275RuntimeError(3015,!1)}()),T;const Fe=ue[1],it=ue[2],It=ue[3];T.push(wn(Fe,It));"<"==it[0]&&!(Fe==pt&&It==pt)&&T.push(wn(It,Fe))}(ue,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),ue=sn.has(T)||Nn.has(T);return(Fe,it)=>{let It=je==pt||je==Fe,Et=T==pt||T==it;return!It&&P&&"boolean"==typeof Fe&&(It=Fe?sn.has(je):Nn.has(je)),!Et&&ue&&"boolean"==typeof it&&(Et=it?sn.has(T):Nn.has(T)),It&&Et}}const _i=new RegExp("s*:selfs*,?","g");function $n(je,T,P,ue){return new an(je).build(T,P,ue)}class an{constructor(T){this._driver=T}build(T,P,ue){const Fe=new Rn(P);return this._resetContextStyleTimingState(Fe),_n(this,be(T),Fe)}_resetContextStyleTimingState(T){T.currentQuerySelector="",T.collectedStyles=new Map,T.collectedStyles.set("",new Map),T.currentTime=0}visitTrigger(T,P){let ue=P.queryCount=0,Fe=P.depCount=0;const it=[],It=[];return"@"==T.name.charAt(0)&&P.errors.push(function _(){return new n.\u0275RuntimeError(3006,!1)}()),T.definitions.forEach(Et=>{if(this._resetContextStyleTimingState(P),0==Et.type){const Qt=Et,en=Qt.name;en.toString().split(/\s*,\s*/).forEach(In=>{Qt.name=In,it.push(this.visitState(Qt,P))}),Qt.name=en}else if(1==Et.type){const Qt=this.visitTransition(Et,P);ue+=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:it,transitions:It,queryCount:ue,depCount:Fe,options:null}}visitState(T,P){const ue=this.visitStyle(T.styles,P),Fe=T.options&&T.options.params||null;if(ue.containsDynamicStyles){const it=new Set,It=Fe||{};ue.styles.forEach(Et=>{Et instanceof Map&&Et.forEach(Qt=>{qe(Qt).forEach(en=>{It.hasOwnProperty(en)||it.add(en)})})}),it.size&&(Ve(it.values()),P.errors.push(function y(je,T){return new n.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:T.name,style:ue,options:Fe?{params:Fe}:null}}visitTransition(T,P){P.queryCount=0,P.depCount=0;const ue=_n(this,be(T.animation),P);return{type:1,matchers:qt(T.expr,P.errors),animation:ue,queryCount:P.queryCount,depCount:P.depCount,options:Yn(T.options)}}visitSequence(T,P){return{type:2,steps:T.steps.map(ue=>_n(this,ue,P)),options:Yn(T.options)}}visitGroup(T,P){const ue=P.currentTime;let Fe=0;const it=T.steps.map(It=>{P.currentTime=ue;const Et=_n(this,It,P);return Fe=Math.max(Fe,P.currentTime),Et});return P.currentTime=Fe,{type:3,steps:it,options:Yn(T.options)}}visitAnimate(T,P){const ue=function mi(je,T){if(je.hasOwnProperty("duration"))return je;if("number"==typeof je)return wi(he(je,T).duration,0,"");const P=je;if(P.split(/\s+/).some(it=>"{"==it.charAt(0)&&"{"==it.charAt(1))){const it=wi(0,0,"");return it.dynamic=!0,it.strValue=P,it}const Fe=he(P,T);return wi(Fe.duration,Fe.delay,Fe.easing)}(T.timings,P.errors);P.currentAnimateTimings=ue;let Fe,it=T.styles?T.styles:(0,d.oB)({});if(5==it.type)Fe=this.visitKeyframes(it,P);else{let It=T.styles,Et=!1;if(!It){Et=!0;const en={};ue.easing&&(en.easing=ue.easing),It=(0,d.oB)(en)}P.currentTime+=ue.duration+ue.delay;const Qt=this.visitStyle(It,P);Qt.isEmptyStep=Et,Fe=Qt}return P.currentAnimateTimings=null,{type:4,timings:ue,style:Fe,options:null}}visitStyle(T,P){const ue=this._makeStyleAst(T,P);return this._validateStyleAst(ue,P),ue}_makeStyleAst(T,P){const ue=[],Fe=Array.isArray(T.styles)?T.styles:[T.styles];for(let Et of Fe)"string"==typeof Et?Et===d.l3?ue.push(Et):P.errors.push(new n.\u0275RuntimeError(3002,!1)):ue.push(Me(Et));let it=!1,It=null;return ue.forEach(Et=>{if(Et instanceof Map&&(Et.has("easing")&&(It=Et.get("easing"),Et.delete("easing")),!it))for(let Qt of Et.values())if(Qt.toString().indexOf("{{")>=0){it=!0;break}}),{type:6,styles:ue,easing:It,offset:T.offset,containsDynamicStyles:it,options:null}}_validateStyleAst(T,P){const ue=P.currentAnimateTimings;let Fe=P.currentTime,it=P.currentTime;ue&&it>0&&(it-=ue.duration+ue.delay),T.styles.forEach(It=>{"string"!=typeof It&&It.forEach((Et,Qt)=>{const en=P.collectedStyles.get(P.currentQuerySelector),In=en.get(Qt);let Ln=!0;In&&(it!=Fe&&it>=In.startTime&&Fe<=In.endTime&&(P.errors.push(function S(je,T,P,ue,Fe){return new n.\u0275RuntimeError(3010,!1)}()),Ln=!1),it=In.startTime),Ln&&en.set(Qt,{startTime:it,endTime:Fe}),P.options&&function dt(je,T,P){const ue=T.params||{},Fe=qe(je);Fe.length&&Fe.forEach(it=>{ue.hasOwnProperty(it)||P.push(function u(je){return new n.\u0275RuntimeError(3001,!1)}())})}(Et,P.options,P.errors)})})}visitKeyframes(T,P){const ue={type:5,styles:[],options:null};if(!P.currentAnimateTimings)return P.errors.push(function E(){return new n.\u0275RuntimeError(3011,!1)}()),ue;let it=0;const It=[];let Et=!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 ue=P;T=parseFloat(ue.get("offset")),ue.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&&(it++,nr=Ki.offset=sr),Qt=Qt||nr<0||nr>1,Et=Et||nr0&&it{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,ue.styles.push(qi)}),ue}visitReference(T,P){return{type:8,animation:_n(this,be(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 ue=P.currentQuerySelector,Fe=T.options||{};P.queryCount++,P.currentQuery=T;const[it,It]=function mn(je){const T=!!je.split(/\s*,\s*/).find(P=>":self"==P);return T&&(je=je.replace(_i,"")),je=je.replace(/@\*/g,Pt).replace(/@\w+/g,P=>Pt+"-"+P.slice(1)).replace(/:animating/g,Gt),[je,T]}(T.selector);P.currentQuerySelector=ue.length?ue+" "+it:it,_t(P.collectedStyles,P.currentQuerySelector,new Map);const Et=_n(this,be(T.animation),P);return P.currentQuery=null,P.currentQuerySelector=ue,{type:11,selector:it,limit:Fe.limit||0,optional:!!Fe.optional,includeSelf:It,animation:Et,originalSelector:T.selector,options:Yn(T.options)}}visitStagger(T,P){P.currentQuery||P.errors.push(function ee(){return new n.\u0275RuntimeError(3013,!1)}());const ue="full"===T.timings?{duration:0,delay:0,easing:"full"}:he(T.timings,P.errors,!0);return{type:12,animation:_n(this,be(T.animation),P),timings:ue,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=ct(je)).params&&(je.params=function Tn(je){return je?ct(je):null}(je.params)):je={},je}function wi(je,T,P){return{duration:je,delay:T,easing:P}}function ri(je,T,P,ue,Fe,it,It=null,Et=!1){return{type:1,element:je,keyframes:T,preStyleProps:P,postStyleProps:ue,duration:Fe,delay:it,totalTime:Fe+it,easing:It,subTimeline:Et}}class ai{constructor(){this._map=new Map}get(T){return this._map.get(T)||[]}append(T,P){let ue=this._map.get(T);ue||this._map.set(T,ue=[]),ue.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,ue,Fe,it=new Map,It=new Map,Et,Qt,en=[]){return(new se).buildKeyframes(je,T,P,ue,Fe,it,It,Et,Qt,en)}class se{buildKeyframes(T,P,ue,Fe,it,It,Et,Qt,en,In=[]){en=en||new ai;const Ln=new kt(T,P,en,Fe,it,In,[]);Ln.options=Qt;const pi=Qt.delay?Oe(Qt.delay):0;Ln.currentTimeline.delayNextStep(pi),Ln.currentTimeline.setStyles([It],null,Ln.errors,Qt),_n(this,ue,Ln);const li=Ln.timelines.filter(Gn=>Gn.containsAnimation());if(li.length&&Et.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([Et],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 ue=P.subInstructions.get(P.element);if(ue){const Fe=P.createSubContext(T.options),it=P.currentTimeline.currentTime,It=this._visitSubInstructions(ue,Fe,Fe.options);it!=It&&P.transformIntoNewTimeline(It)}P.previousNode=T}visitAnimateRef(T,P){const ue=P.createSubContext(T.options);ue.transformIntoNewTimeline(),this._applyAnimationRefDelays([T.options,T.animation.options],P,ue),this.visitReference(T.animation,ue),P.transformIntoNewTimeline(ue.currentTimeline.currentTime),P.previousNode=T}_applyAnimationRefDelays(T,P,ue){for(const Fe of T){const it=Fe?.delay;if(it){const It="number"==typeof it?it:Oe(nt(it,Fe?.params??{},P.errors));ue.delayNextStep(It)}}}_visitSubInstructions(T,P,ue){let it=P.currentTimeline.currentTime;const It=null!=ue.duration?Oe(ue.duration):null,Et=null!=ue.delay?Oe(ue.delay):null;return 0!==It&&T.forEach(Qt=>{const en=P.appendInstructionToTimeline(Qt,It,Et);it=Math.max(it,en.duration+en.delay)}),it}visitReference(T,P){P.updateOptions(T.options,!0),_n(this,T.animation,P),P.previousNode=T}visitSequence(T,P){const ue=P.subContextCount;let Fe=P;const it=T.options;if(it&&(it.params||it.delay)&&(Fe=P.createSubContext(it),Fe.transformIntoNewTimeline(),null!=it.delay)){6==Fe.previousNode.type&&(Fe.currentTimeline.snapshotCurrentStyles(),Fe.previousNode=Xe);const It=Oe(it.delay);Fe.delayNextStep(It)}T.steps.length&&(T.steps.forEach(It=>_n(this,It,Fe)),Fe.currentTimeline.applyStylesToKeyframe(),Fe.subContextCount>ue&&Fe.transformIntoNewTimeline()),P.previousNode=T}visitGroup(T,P){const ue=[];let Fe=P.currentTimeline.currentTime;const it=T.options&&T.options.delay?Oe(T.options.delay):0;T.steps.forEach(It=>{const Et=P.createSubContext(T.options);it&&Et.delayNextStep(it),_n(this,It,Et),Fe=Math.max(Fe,Et.currentTimeline.currentTime),ue.push(Et.currentTimeline)}),ue.forEach(It=>P.currentTimeline.mergeTimelineCollectedStyles(It)),P.transformIntoNewTimeline(Fe),P.previousNode=T}_visitTiming(T,P){if(T.dynamic){const ue=T.strValue;return he(P.params?nt(ue,P.params,P.errors):ue,P.errors)}return{duration:T.duration,delay:T.delay,easing:T.easing}}visitAnimate(T,P){const ue=P.currentAnimateTimings=this._visitTiming(T.timings,P),Fe=P.currentTimeline;ue.delay&&(P.incrementTime(ue.delay),Fe.snapshotCurrentStyles());const it=T.style;5==it.type?this.visitKeyframes(it,P):(P.incrementTime(ue.duration),this.visitStyle(it,P),Fe.applyStylesToKeyframe()),P.currentAnimateTimings=null,P.previousNode=T}visitStyle(T,P){const ue=P.currentTimeline,Fe=P.currentAnimateTimings;!Fe&&ue.hasCurrentStyleProperties()&&ue.forwardFrame();const it=Fe&&Fe.easing||T.easing;T.isEmptyStep?ue.applyEmptyStep(it):ue.setStyles(T.styles,it,P.errors,P.options),P.previousNode=T}visitKeyframes(T,P){const ue=P.currentAnimateTimings,Fe=P.currentTimeline.duration,it=ue.duration,Et=P.createSubContext().currentTimeline;Et.easing=ue.easing,T.styles.forEach(Qt=>{Et.forwardTime((Qt.offset||0)*it),Et.setStyles(Qt.styles,Qt.easing,P.errors,P.options),Et.applyStylesToKeyframe()}),P.currentTimeline.mergeTimelineCollectedStyles(Et),P.transformIntoNewTimeline(Fe+it),P.previousNode=T}visitQuery(T,P){const ue=P.currentTimeline.currentTime,Fe=T.options||{},it=Fe.delay?Oe(Fe.delay):0;it&&(6===P.previousNode.type||0==ue&&P.currentTimeline.hasCurrentStyleProperties())&&(P.currentTimeline.snapshotCurrentStyles(),P.previousNode=Xe);let It=ue;const Et=P.invokeQuery(T.selector,T.originalSelector,T.limit,T.includeSelf,!!Fe.optional,P.errors);P.currentQueryTotal=Et.length;let Qt=null;Et.forEach((en,In)=>{P.currentQueryIndex=In;const Ln=P.createSubContext(T.options,en);it&&Ln.delayNextStep(it),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 ue=P.parentContext,Fe=P.currentTimeline,it=T.timings,It=Math.abs(it.duration),Et=It*(P.currentQueryTotal-1);let Qt=It*P.currentQueryIndex;switch(it.duration<0?"reverse":it.easing){case"reverse":Qt=Et-Qt;break;case"full":Qt=ue.currentStaggerTime}const In=P.currentTimeline;Qt&&In.delayNextStep(Qt);const Ln=In.currentTime;_n(this,T.animation,P),P.previousNode=T,ue.currentStaggerTime=Fe.currentTime-Ln+(Fe.startTime-ue.currentTimeline.startTime)}}const Xe={};class kt{constructor(T,P,ue,Fe,it,It,Et,Qt){this._driver=T,this.element=P,this.subInstructions=ue,this._enterClassName=Fe,this._leaveClassName=it,this.errors=It,this.timelines=Et,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),Et.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(T,P){if(!T)return;const ue=T;let Fe=this.options;null!=ue.duration&&(Fe.duration=Oe(ue.duration)),null!=ue.delay&&(Fe.delay=Oe(ue.delay));const it=ue.params;if(it){let It=Fe.params;It||(It=this.options.params={}),Object.keys(it).forEach(Et=>{(!P||!It.hasOwnProperty(Et))&&(It[Et]=nt(it[Et],It,this.errors))})}}_copyOptions(){const T={};if(this.options){const P=this.options.params;if(P){const ue=T.params={};Object.keys(P).forEach(Fe=>{ue[Fe]=P[Fe]})}}return T}createSubContext(T=null,P,ue){const Fe=P||this.element,it=new kt(this._driver,Fe,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Fe,ue||0));return it.previousNode=this.previousNode,it.currentAnimateTimings=this.currentAnimateTimings,it.options=this._copyOptions(),it.updateOptions(T),it.currentQueryIndex=this.currentQueryIndex,it.currentQueryTotal=this.currentQueryTotal,it.parentContext=this,this.subContextCount++,it}transformIntoNewTimeline(T){return this.previousNode=Xe,this.currentTimeline=this.currentTimeline.fork(this.element,T),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(T,P,ue){const Fe={duration:P??T.duration,delay:this.currentTimeline.currentTime+(ue??0)+T.delay,easing:""},it=new un(this._driver,T.element,T.keyframes,T.preStyleProps,T.postStyleProps,Fe,T.stretchStartingKeyframe);return this.timelines.push(it),Fe}incrementTime(T){this.currentTimeline.forwardTime(this.currentTimeline.duration+T)}delayNextStep(T){T>0&&this.currentTimeline.delayNextStep(T)}invokeQuery(T,P,ue,Fe,it,It){let Et=[];if(Fe&&Et.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!=ue);0!==ue&&(en=ue<0?en.slice(en.length+ue,en.length):en.slice(0,ue)),Et.push(...en)}return!it&&0==Et.length&&It.push(function ie(je){return new n.\u0275RuntimeError(3014,!1)}()),Et}}class Wt{constructor(T,P,ue,Fe){this._driver=T,this.element=P,this.startTime=ue,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,ue]of this._globalTimelineStyles)this._backFill.set(P,ue||d.l3),this._currentKeyframe.set(P,d.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(T,P,ue,Fe){P&&this._previousKeyframe.set("easing",P);const it=Fe&&Fe.params||{},It=function pn(je,T){const P=new Map;let ue;return je.forEach(Fe=>{if("*"===Fe){ue=ue||T.keys();for(let it of ue)P.set(it,d.l3)}else F(Fe,P)}),P}(T,this._globalTimelineStyles);for(let[Et,Qt]of It){const en=nt(Qt,it,ue);this._pendingStyles.set(Et,en),this._localTimelineStyles.has(Et)||this._backFill.set(Et,this._globalTimelineStyles.get(Et)??d.l3),this._updateStyle(Et,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,ue)=>{const Fe=this._styleSummary.get(ue);(!Fe||P.time>Fe.time)&&this._updateStyle(ue,P.value)})}buildKeyframes(){this.applyStylesToKeyframe();const T=new Set,P=new Set,ue=1===this._keyframes.size&&0===this.duration;let Fe=[];this._keyframes.forEach((Et,Qt)=>{const en=F(Et,new Map,this._backFill);en.forEach((In,Ln)=>{In===d.k1?T.add(Ln):In===d.l3&&P.add(Ln)}),ue||en.set("offset",Qt/this.duration),Fe.push(en)});const it=T.size?Ve(T.values()):[],It=P.size?Ve(P.values()):[];if(ue){const Et=Fe[0],Qt=new Map(Et);Et.set("offset",0),Qt.set("offset",1),Fe=[Et,Qt]}return ri(this.element,Fe,it,It,this.duration,this.startTime,this.easing,!1)}}class un extends Wt{constructor(T,P,ue,Fe,it,It,Et=!1){super(T,P,It.delay),this.keyframes=ue,this.preStyleProps=Fe,this.postStyleProps=it,this._stretchStartingKeyframe=Et,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:ue,easing:Fe}=this.timings;if(this._stretchStartingKeyframe&&P){const it=[],It=ue+P,Et=P/It,Qt=F(T[0]);Qt.set("offset",0),it.push(Qt);const en=F(T[0]);en.set("offset",gn(Et)),it.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*ue)/It)),it.push(pi)}ue=It,P=0,Fe="",T=it}return ri(this.element,T,this.preStyleProps,this.postStyleProps,ue,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 At(T)}normalizeStyleValue(T,P,ue,Fe){let it="";const It=ue.toString().trim();if(bi.has(P)&&0!==ue&&"0"!==ue)if("number"==typeof ue)it="px";else{const Et=ue.match(/^[+-]?[\d\.]+([a-z]*)$/);Et&&0==Et[1].length&&Fe.push(function p(je,T){return new n.\u0275RuntimeError(3005,!1)}())}return It+it}}function Fi(je,T,P,ue,Fe,it,It,Et,Qt,en,In,Ln,pi){return{type:0,element:je,triggerName:T,isRemovalTransition:Fe,fromState:P,fromStyles:it,toState:ue,toStyles:It,timelines:Et,queriedElements:Qt,preStyleProps:en,postStyleProps:In,totalTime:Ln,errors:pi}}const Gi={};class fn{constructor(T,P,ue){this._triggerName=T,this.ast=P,this._stateStyles=ue}match(T,P,ue,Fe){return function tn(je,T,P,ue,Fe){return je.some(it=>it(T,P,ue,Fe))}(this.ast.matchers,T,P,ue,Fe)}buildStyles(T,P,ue){let Fe=this._stateStyles.get("*");return void 0!==T&&(Fe=this._stateStyles.get(T?.toString())||Fe),Fe?Fe.buildStyles(P,ue):new Map}build(T,P,ue,Fe,it,It,Et,Qt,en,In){const Ln=[],pi=this.ast.options&&this.ast.options.params||Gi,Gn=this.buildStyles(ue,Et&&Et.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,it,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,ue,Fe,nr,Gn,Bi,[],[],Ki,sr,rr,Ln);Mr.forEach(Er=>{const fr=Er.element,yo=_t(Ki,fr,new Set);Er.preStyleProps.forEach(Lr=>yo.add(Lr));const Yr=_t(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,ue,Fe,nr,Gn,Bi,Mr,xr,Ki,sr,rr)}}function En(je,T){const P=ct(T);for(const ue in je)je.hasOwnProperty(ue)&&null!=je[ue]&&(P[ue]=je[ue]);return P}class ei{constructor(T,P,ue){this.styles=T,this.defaultParams=P,this.normalizer=ue}buildStyles(T,P){const ue=new Map,Fe=ct(this.defaultParams);return Object.keys(T).forEach(it=>{const It=T[it];null!==It&&(Fe[it]=It)}),this.styles.styles.forEach(it=>{"string"!=typeof it&&it.forEach((It,Et)=>{It&&(It=nt(It,Fe,P));const Qt=this.normalizer.normalizePropertyName(Et,P);It=this.normalizer.normalizeStyleValue(Et,Qt,It,P),ue.set(Et,It)})}),ue}}class tr{constructor(T,P,ue){this.name=T,this.ast=P,this._normalizer=ue,this.transitionFactories=[],this.states=new Map,P.states.forEach(Fe=>{this.states.set(Fe.name,new ei(Fe.style,Fe.options&&Fe.options.params||{},ue))}),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,Et)=>!0],options:null,queryCount:0,depCount:0},T)}(T,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(T,P,ue,Fe){return this.transitionFactories.find(It=>It.match(T,P,ue,Fe))||null}matchStyles(T,P,ue){return this.fallbackTransition.buildStyles(T,P,ue)}}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,ue){this.bodyNode=T,this._driver=P,this._normalizer=ue,this._animations=new Map,this._playersById=new Map,this.players=[]}register(T,P){const ue=[],it=$n(this._driver,P,ue,[]);if(ue.length)throw function H(je){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(T,it)}_buildPlayer(T,P,ue){const Fe=T.element,it=Ge(this._normalizer,T.keyframes,P,ue);return this._driver.animate(Fe,it,T.duration,T.delay,T.easing,[],!0)}create(T,P,ue={}){const Fe=[],it=this._animations.get(T);let It;const Et=new Map;if(it?(It=me(this._driver,P,it,ut,Pe,new Map,new Map,ue,yi,Fe),It.forEach(In=>{const Ln=_t(Et,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)}();Et.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=Et.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 ue=this.players.indexOf(P);ue>=0&&this.players.splice(ue,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,ue,Fe){const it=Nt(P,"","","");return tt(this._getPlayer(T),ue,it,Fe),()=>{}}command(T,P,ue,Fe){if("register"==ue)return void this.register(T,Fe[0]);if("create"==ue)return void this.create(T,P,Fe[0]||{});const it=this._getPlayer(T);switch(ue){case"play":it.play();break;case"pause":it.pause();break;case"reset":it.reset();break;case"restart":it.restart();break;case"finish":it.finish();break;case"init":it.init();break;case"setPosition":it.setPosition(parseFloat(Fe[0]));break;case"destroy":this.destroy(T)}}}const Ot="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 ue=T&&T.hasOwnProperty("value");if(this.value=function Ht(je){return je??null}(ue?T.value:T),ue){const it=ct(T);delete it.value,this.options=it}else this.options={};this.options.params||(this.options.params={})}absorbOptions(T){const P=T.params;if(P){const ue=this.options.params;Object.keys(P).forEach(Fe=>{null==ue[Fe]&&(ue[Fe]=P[Fe])})}}}const Ui="void",ir=new Qi(Ui);class wt{constructor(T,P,ue){this.id=T,this.hostElement=P,this._engine=ue,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+T,On(P,this._hostClassName)}listen(T,P,ue,Fe){if(!this._triggers.has(P))throw function Ee(je,T){return new n.\u0275RuntimeError(3302,!1)}();if(null==ue||0==ue.length)throw function Be(je){return new n.\u0275RuntimeError(3303,!1)}();if(!function Jt(je){return"start"==je||"done"==je}(ue))throw function G(je,T){return new n.\u0275RuntimeError(3400,!1)}();const it=_t(this._elementListeners,T,[]),It={name:P,phase:ue,callback:Fe};it.push(It);const Et=_t(this._engine.statesByElement,T,new Map);return Et.has(P)||(On(T,mt),On(T,mt+"-"+P),Et.set(P,ir)),()=>{this._engine.afterFlush(()=>{const Qt=it.indexOf(It);Qt>=0&&it.splice(Qt,1),this._triggers.has(P)||Et.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,ue,Fe=!0){const it=this._getTrigger(P),It=new gt(this.id,P,T);let Et=this._engine.statesByElement.get(T);Et||(On(T,mt),On(T,mt+"-"+P),this._engine.statesByElement.set(T,Et=new Map));let Qt=Et.get(P);const en=new Qi(ue,this.id);if(!(ue&&ue.hasOwnProperty("value"))&&Qt&&en.absorbOptions(Qt.options),Et.set(P,en),Qt||(Qt=ir),en.value!==Ui&&Qt.value===en.value){if(!function ni(je,T){const P=Object.keys(je),ue=Object.keys(T);if(P.length!=ue.length)return!1;for(let Fe=0;Fe{Q(T,Bi),V(T,qi)})}return}const pi=_t(this._engine.playersByElement,T,[]);pi.forEach(ii=>{ii.namespaceId==this.id&&ii.triggerName==P&&ii.queued&&ii.destroy()});let li=it.matchTransition(Qt.value,en.value,T,en.params),Gn=!1;if(!li){if(!Fe)return;li=it.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,Ot),It.onStart(()=>{vi(T,Ot)})),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,ue)=>{this._elementListeners.set(ue,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(ue=>ue.destroy()),this._engine.playersByElement.delete(T))}_signalRemovalForInnerTriggers(T,P){const ue=this._engine.driver.query(T,Pt,!0);ue.forEach(Fe=>{if(Fe[Li])return;const it=this._engine.fetchNamespacesByElement(Fe);it.size?it.forEach(It=>It.triggerLeaveAnimation(Fe,P,!1,!0)):this.clearElementCache(Fe)}),this._engine.afterFlushAnimationsDone(()=>ue.forEach(Fe=>this.clearElementCache(Fe)))}triggerLeaveAnimation(T,P,ue,Fe){const it=this._engine.statesByElement.get(T),It=new Map;if(it){const Et=[];if(it.forEach((Qt,en)=>{if(It.set(en,Qt.value),this._triggers.has(en)){const In=this.trigger(T,en,Ui,Fe);In&&Et.push(In)}}),Et.length)return this._engine.markElementAsRemoved(this.id,T,!0,P,It),ue&&Qe(Et).onDone(()=>this._engine.processLeaveNode(T)),!0}return!1}prepareLeaveAnimationListeners(T){const P=this._elementListeners.get(T),ue=this._engine.statesByElement.get(T);if(P&&ue){const Fe=new Set;P.forEach(it=>{const It=it.name;if(Fe.has(It))return;Fe.add(It);const Qt=this._triggers.get(It).fallbackTransition,en=ue.get(It)||ir,In=new Qi(Ui),Ln=new gt(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 ue=this._engine;if(T.childElementCount&&this._signalRemovalForInnerTriggers(T,P),this.triggerLeaveAnimation(T,P,!0))return;let Fe=!1;if(ue.totalAnimations){const it=ue.players.length?ue.playersByQueriedElement.get(T):[];if(it&&it.length)Fe=!0;else{let It=T;for(;It=It.parentNode;)if(ue.statesByElement.get(It)){Fe=!0;break}}}if(this.prepareLeaveAnimationListeners(T),Fe)ue.markElementAsRemoved(this.id,T,!1,P);else{const it=T[Li];(!it||it===ji)&&(ue.afterFlush(()=>this.clearElementCache(T)),ue.destroyInnerAnimations(T),ue._onRemovalComplete(T,P))}}insertNode(T,P){On(T,this._hostClassName)}drainQueuedTransitions(T){const P=[];return this._queue.forEach(ue=>{const Fe=ue.player;if(Fe.destroyed)return;const it=ue.element,It=this._elementListeners.get(it);It&&It.forEach(Et=>{if(Et.name==ue.triggerName){const Qt=Nt(it,ue.triggerName,ue.fromState.value,ue.toState.value);Qt._data=T,tt(ue.player,Et.phase,Qt,Et.callback)}}),Fe.markedForDestroy?this._engine.afterFlush(()=>{Fe.destroy()}):P.push(ue)}),this._queue=[],P.sort((ue,Fe)=>{const it=ue.transition.ast.depCount,It=Fe.transition.ast.depCount;return 0==it||0==It?it-It:this._engine.driver.containsElement(ue.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,ue){this.bodyNode=T,this.driver=P,this._normalizer=ue,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,it)=>{}}get queuedPlayers(){const T=[];return this._namespaceList.forEach(P=>{P.players.forEach(ue=>{ue.queued&&T.push(ue)})}),T}createNamespace(T,P){const ue=new wt(T,P,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,P)?this._balanceNamespaceList(ue,P):(this.newHostElements.set(P,ue),this.collectEnterElement(P)),this._namespaceLookup[T]=ue}_balanceNamespaceList(T,P){const ue=this._namespaceList,Fe=this.namespacesByHostElement;if(ue.length-1>=0){let It=!1,Et=this.driver.getParentElement(P);for(;Et;){const Qt=Fe.get(Et);if(Qt){const en=ue.indexOf(Qt);ue.splice(en+1,0,T),It=!0;break}Et=this.driver.getParentElement(Et)}It||ue.unshift(T)}else ue.push(T);return Fe.set(P,T),T}register(T,P){let ue=this._namespaceLookup[T];return ue||(ue=this.createNamespace(T,P)),ue}registerTrigger(T,P,ue){let Fe=this._namespaceLookup[T];Fe&&Fe.register(P,ue)&&this.totalAnimations++}destroy(T,P){T&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const ue=this._fetchNamespace(T);this.namespacesByHostElement.delete(ue.hostElement);const Fe=this._namespaceList.indexOf(ue);Fe>=0&&this._namespaceList.splice(Fe,1),ue.destroy(P),delete this._namespaceLookup[T]}))}_fetchNamespace(T){return this._namespaceLookup[T]}fetchNamespacesByElement(T){const P=new Set,ue=this.statesByElement.get(T);if(ue)for(let Fe of ue.values())if(Fe.namespaceId){const it=this._fetchNamespace(Fe.namespaceId);it&&P.add(it)}return P}trigger(T,P,ue,Fe){if(Yt(P)){const it=this._fetchNamespace(T);if(it)return it.trigger(P,ue,Fe),!0}return!1}insertNode(T,P,ue,Fe){if(!Yt(P))return;const it=P[Li];if(it&&it.setForRemoval){it.setForRemoval=!1,it.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,ue)}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,ue){if(Yt(P)){const Fe=T?this._fetchNamespace(T):null;Fe?Fe.removeNode(P,ue):this.markElementAsRemoved(T,P,!1,ue);const it=this.namespacesByHostElement.get(P);it&&it.id!==T&&it.removeNode(P,ue)}else this._onRemovalComplete(P,ue)}markElementAsRemoved(T,P,ue,Fe,it){this.collectedLeaveElements.push(P),P[Li]={namespaceId:T,setForRemoval:Fe,hasAnimation:ue,removedBeforeQueried:!1,previousTriggersValues:it}}listen(T,P,ue,Fe,it){return Yt(P)?this._fetchNamespace(T).listen(P,ue,Fe,it):()=>{}}_buildInstruction(T,P,ue,Fe,it){return T.transition.build(this.driver,T.element,T.fromState.value,T.toState.value,ue,Fe,T.fromState.options,T.toState.options,P,it)}destroyInnerAnimations(T){let P=this.driver.query(T,Pt,!0);P.forEach(ue=>this.destroyActiveAnimationsForElement(ue)),0!=this.playersByQueriedElement.size&&(P=this.driver.query(T,Gt,!0),P.forEach(ue=>this.finishActiveQueriedAnimationOnElement(ue)))}destroyActiveAnimationsForElement(T){const P=this.playersByElement.get(T);P&&P.forEach(ue=>{ue.queued?ue.markedForDestroy=!0:ue.destroy()})}finishActiveQueriedAnimationOnElement(T){const P=this.playersByQueriedElement.get(T);P&&P.forEach(ue=>ue.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 ue=this._fetchNamespace(P.namespaceId);ue&&ue.clearElementCache(T)}this._onRemovalComplete(T,P.setForRemoval)}T.classList?.contains(te)&&this.markElementAsDisabled(T,!1),this.driver.query(T,".ng-animate-disabled",!0).forEach(ue=>{this.markElementAsDisabled(ue,!1)})}flush(T=-1){let P=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ue,Fe)=>this._balanceNamespaceList(ue,Fe)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ue=0;ueue()),this._flushFns=[],this._whenQuietFns.length){const ue=this._whenQuietFns;this._whenQuietFns=[],P.length?Qe(P).onDone(()=>{ue.forEach(Fe=>Fe())}):ue.forEach(Fe=>Fe())}}reportError(T){throw function ae(je){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(T,P){const ue=new ai,Fe=[],it=new Map,It=[],Et=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=ut+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=Pe+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 $t=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=$t,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,ue,L,di,mr);if(xe.errors&&xe.errors.length)return void Mr.push(xe);if(mr)return ci.onStart(()=>Q(Xi,xe.fromStyles)),ci.onDestroy(()=>V(Xi,xe.toStyles)),void Fe.push(ci);if(Qn.isFallbackTransition)return ci.onStart(()=>Q(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,ue.append(Xi,xe.timelines),It.push({instruction:xe,player:ci,element:Xi}),xe.queriedElements.forEach(ht=>_t(Et,ht,[]).push(ci)),xe.preStyleProps.forEach((ht,$t)=>{if(ht.size){let Kt=Qt.get($t);Kt||Qt.set($t,Kt=new Set),ht.forEach((Un,ki)=>Kt.add(ki))}}),xe.postStyleProps.forEach((ht,$t)=>{let Kt=en.get($t);Kt||en.set($t,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;ue.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=>{_t(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(ue.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,it,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 Q(Hn,ci.fromStyles),Qn.onDestroy(()=>V(Hn,ci.toStyles)),kr.push(Qn),In.has(Hn)&&Fe.push(Qn)}),kr.forEach(Bn=>{const Hn=it.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,ue,Fe,it){let It=[];if(P){const Et=this.playersByQueriedElement.get(T);Et&&(It=Et)}else{const Et=this.playersByElement.get(T);if(Et){const Qt=!it||it==Ui;Et.forEach(en=>{en.queued||!Qt&&en.triggerName!=Fe||It.push(en)})}}return(ue||Fe)&&(It=It.filter(Et=>!(ue&&ue!=Et.namespaceId||Fe&&Fe!=Et.triggerName))),It}_beforeAnimationBuild(T,P,ue){const it=P.element,It=P.isRemovalTransition?void 0:T,Et=P.isRemovalTransition?void 0:P.triggerName;for(const Qt of P.timelines){const en=Qt.element,In=en!==it,Ln=_t(ue,en,[]);this._getPreviousPlayers(en,In,It,Et,P.toState).forEach(li=>{const Gn=li.getRealPlayer();Gn.beforeDestroy&&Gn.beforeDestroy(),li.destroy(),Ln.push(li)})}Q(it,P.fromStyles)}_buildAnimation(T,P,ue,Fe,it,It){const Et=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}((ue.get(ii)||Pn).map(rr=>rr.getRealPlayer())).filter(rr=>!!rr.element&&rr.element===ii),sr=it.get(ii),nr=It.get(ii),Kr=Ge(this._normalizer,Gn.keyframes,sr,nr),Mr=this._buildPlayer(Gn,Kr,Ki);if(Gn.subTimeline&&Fe&&Ln.add(ii),qi){const rr=new gt(T,Et,ii);rr.setRealPlayer(Mr),en.push(rr)}return Mr});en.forEach(Gn=>{_t(this.playersByQueriedElement,Gn.element,[]).push(Gn),Gn.onDone(()=>function St(je,T,P){let ue=je.get(T);if(ue){if(ue.length){const Fe=ue.indexOf(P);ue.splice(Fe,1)}0==ue.length&&je.delete(T)}return ue}(this.playersByQueriedElement,Gn.element,Gn))}),In.forEach(Gn=>On(Gn,Ft));const li=Qe(pi);return li.onDestroy(()=>{In.forEach(Gn=>vi(Gn,Ft)),V(Qt,P.toStyles)}),Ln.forEach(Gn=>{_t(Fe,Gn,[]).push(li)}),li}_buildPlayer(T,P,ue){return P.length>0?this.driver.animate(T.element,P,T.duration,T.delay,T.easing,ue):new d.ZN(T.duration,T.delay)}}class gt{constructor(T,P,ue){this.namespaceId=T,this.triggerName=P,this.element=ue,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,ue)=>{P.forEach(Fe=>tt(T,ue,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){_t(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,ue,Fe){const it=[];P.forEach(Qt=>it.push(yn(Qt)));const It=[];ue.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 Et=0;return P.forEach(Qt=>yn(Qt,it[Et++])),It}function Vn(je,T){const P=new Map;if(je.forEach(Et=>P.set(Et,[])),0==T.length)return P;const Fe=new Set(T),it=new Map;function It(Et){if(!Et)return 1;let Qt=it.get(Et);if(Qt)return Qt;const en=Et.parentNode;return Qt=P.has(en)?en:Fe.has(en)?1:It(en),it.set(Et,Qt),Qt}return T.forEach(Et=>{const Qt=It(Et);1!==Qt&&P.get(Qt).push(Et)}),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(it)):T.set(je,ue),P.delete(je),!0}class Ii{constructor(T,P,ue){this.bodyNode=T,this._driver=P,this._normalizer=ue,this._triggerCache={},this.onRemovalComplete=(Fe,it)=>{},this._transitionEngine=new vt(T,P,ue),this._timelineEngine=new Je(T,P,ue),this._transitionEngine.onRemovalComplete=(Fe,it)=>this.onRemovalComplete(Fe,it)}registerTrigger(T,P,ue,Fe,it){const It=T+"-"+Fe;let Et=this._triggerCache[It];if(!Et){const Qt=[],In=$n(this._driver,it,Qt,[]);if(Qt.length)throw function Ae(je,T){return new n.\u0275RuntimeError(3404,!1)}();Et=function Ei(je,T,P){return new tr(je,T,P)}(Fe,In,this._normalizer),this._triggerCache[It]=Et}this._transitionEngine.registerTrigger(P,Fe,Et)}register(T,P){this._transitionEngine.register(T,P)}destroy(T,P){this._transitionEngine.destroy(T,P)}onInsert(T,P,ue,Fe){this._transitionEngine.insertNode(T,P,ue,Fe)}onRemove(T,P,ue){this._transitionEngine.removeNode(T,P,ue)}disableAnimations(T,P){this._transitionEngine.markElementAsDisabled(T,P)}process(T,P,ue,Fe){if("@"==ue.charAt(0)){const[it,It]=Bt(ue);this._timelineEngine.command(it,P,It,Fe)}else this._transitionEngine.trigger(T,P,ue,Fe)}listen(T,P,ue,Fe,it){if("@"==ue.charAt(0)){const[It,Et]=Bt(ue);return this._timelineEngine.listen(It,P,Et,it)}return this._transitionEngine.listen(T,P,ue,Fe,it)}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,ue,Fe){this._element=P,this._startStyles=ue,this._endStyles=Fe,this._state=0;let it=je.initialStylesByElement.get(P);it||je.initialStylesByElement.set(P,it=new Map),this._initialStyles=it}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&&(Q(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Q(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,ue)=>{(function Oo(je){return"display"===je||"position"===je})(ue)&&(T=T||new Map,T.set(ue,P))}),T}class jr{constructor(T,P,ue,Fe){this.element=T,this.keyframes=P,this.options=ue,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=ue.duration,this._delay=ue.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(ue=>{P.push(Object.fromEntries(ue))}),P}_triggerWebAnimation(T,P,ue){return T.animate(this._convertKeyframesToObject(P),ue)}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((ue,Fe)=>{"offset"!==Fe&&T.set(Fe,this._finished?ue:Mn(this.element,Fe))}),this.currentSnapshot=T}triggerCallback(T){const P="start"===T?this._onStartFns:this._onDoneFns;P.forEach(ue=>ue()),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 Lt(T)}query(T,P,ue){return ne(T,P,ue)}computeStyle(T,P,ue){return window.getComputedStyle(T)[P]}animate(T,P,ue,Fe,it,It=[]){const Qt={duration:ue,delay:Fe,fill:0==Fe?"both":"forwards"};it&&(Qt.easing=it);const en=new Map,In=It.filter(li=>li instanceof jr);(function xn(je,T){return 0===je||0===T})(ue,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=>Me(T)):[]}(P).map(li=>F(li));Ln=function Sn(je,T,P){if(P.size&&T.length){let ue=T[0],Fe=[];if(P.forEach((it,It)=>{ue.has(It)||Fe.push(It),ue.set(It,it)}),Fe.length)for(let it=1;itIt.set(Et,Mn(je,Et)))}}return T}(T,Ln,en);const pi=function Zi(je,T){let P=null,ue=null;return Array.isArray(T)&&T.length?(P=no(T[0]),T.length>1&&(ue=no(T[T.length-1]))):T instanceof Map&&(P=no(T)),P||ue?new Vr(je,P,ue):null}(T,Ln);return new jr(T,Ln,Qt,pi)}}var fo=a(6814);let mo=(()=>{class je extends d._j{constructor(P,ue){super(),this._nextAnimationId=0,this._renderer=P.createRenderer(ue.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(P){const ue=this._nextAnimationId.toString();this._nextAnimationId++;const Fe=Array.isArray(P)?(0,d.vP)(P):P;return ro(this._renderer,null,ue,"register",[Fe]),new po(ue,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,ue,Fe){this.id=T,this.element=P,this._renderer=Fe,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",ue)}_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,ue,Fe){return je.setProperty(T,`@@${P}:${ue}`,Fe)}const Ar="@.disabled";let go=(()=>{class je{constructor(P,ue,Fe){this.delegate=P,this.engine=ue,this._zone=Fe,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,ue.onRemovalComplete=(it,It)=>{const Et=It?.parentNode(it);Et&&It.removeChild(Et,it)}}createRenderer(P,ue){const it=this.delegate.createRenderer(P,ue);if(!(P&&ue&&ue.data&&ue.data.animation)){let In=this._rendererCache.get(it);return In||(In=new _o("",it,this.engine,()=>this._rendererCache.delete(it)),this._rendererCache.set(it,In)),In}const It=ue.id,Et=ue.id+"-"+this._currentId;this._currentId++,this.engine.register(Et,P);const Qt=In=>{Array.isArray(In)?In.forEach(Qt):this.engine.registerTrigger(It,Et,P,In.name,In)};return ue.data.animation.forEach(Qt),new fe(this,Et,it,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(P,ue,Fe){P>=0&&Pue(Fe)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(it=>{const[It,Et]=it;It(Et)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([ue,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,ue,Fe){this.namespaceId=T,this.delegate=P,this.engine=ue,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,ue,Fe=!0){this.delegate.insertBefore(T,P,ue),this.engine.onInsert(this.namespaceId,P,T,Fe)}removeChild(T,P,ue){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,ue,Fe){this.delegate.setAttribute(T,P,ue,Fe)}removeAttribute(T,P,ue){this.delegate.removeAttribute(T,P,ue)}addClass(T,P){this.delegate.addClass(T,P)}removeClass(T,P){this.delegate.removeClass(T,P)}setStyle(T,P,ue,Fe){this.delegate.setStyle(T,P,ue,Fe)}removeStyle(T,P,ue){this.delegate.removeStyle(T,P,ue)}setProperty(T,P,ue){"@"==P.charAt(0)&&P==Ar?this.disableAnimations(T,!!ue):this.delegate.setProperty(T,P,ue)}setValue(T,P){this.delegate.setValue(T,P)}listen(T,P,ue){return this.delegate.listen(T,P,ue)}disableAnimations(T,P){this.engine.disableAnimations(T,P)}}class fe extends _o{constructor(T,P,ue,Fe,it){super(P,ue,Fe,it),this.factory=T,this.namespaceId=P}setProperty(T,P,ue){"@"==P.charAt(0)?"."==P.charAt(1)&&P==Ar?this.disableAnimations(T,ue=void 0===ue||!!ue):this.engine.process(this.namespaceId,T,P.slice(1),ue):this.delegate.setProperty(T,P,ue)}listen(T,P,ue){if("@"==P.charAt(0)){const Fe=function le(je){switch(je){case"body":return document.body;case"document":return document;case"window":return window;default:return je}}(T);let it=P.slice(1),It="";return"@"!=it.charAt(0)&&([it,It]=function J(je){const T=je.indexOf(".");return[je.substring(0,T),je.slice(T+1)]}(it)),this.engine.listen(this.namespaceId,Fe,it,It,Et=>{this.factory.scheduleListenerCallback(Et._data||-1,ue,Et)})}return this.delegate.listen(T,P,ue)}}let We=(()=>{class je extends Ii{constructor(P,ue,Fe,it){super(P.body,ue,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:We},{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:ce},{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:()=>lt,By:()=>Pe,DomSanitizer:()=>ge,EVENT_MANAGER_PLUGINS:()=>_,EventManager:()=>l,HAMMER_GESTURE_CONFIG:()=>Ft,HAMMER_LOADER:()=>Gt,HammerGestureConfig:()=>Oe,HammerModule:()=>he,Meta:()=>at,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>ie,Title:()=>Y,TransferState:()=>Rt,VERSION:()=>be,bootstrapApplication:()=>He,createApplication:()=>Ze,disableDebugTools:()=>ut,enableDebugTools:()=>_e,makeStateKey:()=>dt,platformBrowser:()=>Bt,provideClientHydration:()=>Q,provideProtractorTestingSupport:()=>Ge,withNoDomReuse:()=>De,withNoHttpTransferCache:()=>F,\u0275BrowserDomAdapter:()=>r,\u0275BrowserGetTestability:()=>b,\u0275DomEventsPlugin:()=>Be,\u0275DomRendererFactory2:()=>Re,\u0275DomSanitizerImpl:()=>Me,\u0275HammerGesturesPlugin:()=>Ke,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>_t,\u0275KeyEventsPlugin:()=>ve,\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(nt,Ve,yt){return nt.addEventListener(Ve,yt),()=>{nt.removeEventListener(Ve,yt)}}dispatchEvent(nt,Ve){nt.dispatchEvent(Ve)}remove(nt){nt.parentNode&&nt.parentNode.removeChild(nt)}createElement(nt,Ve){return(Ve=Ve||this.getDefaultDocument()).createElement(nt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(nt){return nt.nodeType===Node.ELEMENT_NODE}isShadowRoot(nt){return nt instanceof DocumentFragment}getGlobalEventTarget(nt,Ve){return"window"===Ve?window:"document"===Ve?nt:"body"===Ve?nt.body:null}getBaseHref(nt){const Ve=function h(){return f=f||document.querySelector("base"),f?f.getAttribute("href"):null}();return null==Ve?null:function v(qe){u=u||document.createElement("a"),u.setAttribute("href",qe);const nt=u.pathname;return"/"===nt.charAt(0)?nt:`/${nt}`}(Ve)}resetBaseElement(){f=null}getUserAgent(){return window.navigator.userAgent}getCookie(nt){return(0,c.\u0275parseCookieValue)(document.cookie,nt)}}let u,f=null;class b{addToWindow(nt){n.\u0275global.getAngularTestability=(yt,At=!0)=>{const on=nt.findTestabilityInTree(yt,At);if(null==on)throw new n.\u0275RuntimeError(5103,!1);return on},n.\u0275global.getAllAngularTestabilities=()=>nt.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>nt.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(yt=>{const At=n.\u0275global.getAllAngularTestabilities();let on=At.length,xn=!1;const Sn=function(_n){xn=xn||_n,on--,0==on&&yt(xn)};At.forEach(_n=>{_n.whenStable(Sn)})})}findTestabilityInTree(nt,Ve,yt){return null==Ve?null:nt.getTestability(Ve)??(yt?(0,c.\u0275getDOM)().isShadowRoot(Ve)?this.findTestabilityInTree(nt,Ve.host,!0):this.findTestabilityInTree(nt,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(At=>{At.manager=this}),this._plugins=Ve.slice().reverse()}addEventListener(Ve,yt,At){return this._findPluginFor(yt).addEventListener(Ve,yt,At)}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(nt){this._doc=nt}}const x="ng-app-id";let D=(()=>{class qe{constructor(Ve,yt,At,on={}){this.doc=Ve,this.appId=yt,this.nonce=At,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(At=>At.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(At=>{null!=At.textContent&&yt.set(At.textContent,At)}),yt}return null}changeUsageCount(Ve,yt){const At=this.styleRef;if(At.has(Ve)){const on=At.get(Ve);return on.usage+=yt,on.usage}return At.set(Ve,{usage:yt,elements:[]}),yt}getStyleElement(Ve,yt){const At=this.styleNodesInDOM,on=At?.get(yt);if(on?.parentNode===Ve)return At.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 At=this.getStyleElement(Ve,yt);Ve.appendChild(At);const on=this.styleRef,xn=on.get(yt)?.elements;xn?xn.push(At):on.set(yt,{elements:[At],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 Ce(qe,nt){return nt.map(Ve=>Ve.replace(E,qe))}let Re=(()=>{class qe{constructor(Ve,yt,At,on,xn,Sn,_n,Mn=null){this.eventManager=Ve,this.sharedStylesHost=yt,this.appId=At,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 At=this.getOrCreateRenderer(Ve,yt);return At instanceof Ee?At.applyToHost(Ve):At instanceof we&&At.applyStyles(),At}getOrCreateRenderer(Ve,yt){const At=this.rendererByCompId;let on=At.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)}At.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(nt,Ve,yt,At){this.eventManager=nt,this.doc=Ve,this.ngZone=yt,this.platformIsServer=At,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(nt,Ve){return Ve?this.doc.createElementNS(S[Ve]||Ve,nt):this.doc.createElement(nt)}createComment(nt){return this.doc.createComment(nt)}createText(nt){return this.doc.createTextNode(nt)}appendChild(nt,Ve){(W(nt)?nt.content:nt).appendChild(Ve)}insertBefore(nt,Ve,yt){nt&&(W(nt)?nt.content:nt).insertBefore(Ve,yt)}removeChild(nt,Ve){nt&&nt.removeChild(Ve)}selectRootElement(nt,Ve){let yt="string"==typeof nt?this.doc.querySelector(nt):nt;if(!yt)throw new n.\u0275RuntimeError(-5104,!1);return Ve||(yt.textContent=""),yt}parentNode(nt){return nt.parentNode}nextSibling(nt){return nt.nextSibling}setAttribute(nt,Ve,yt,At){if(At){Ve=At+":"+Ve;const on=S[At];on?nt.setAttributeNS(on,Ve,yt):nt.setAttribute(Ve,yt)}else nt.setAttribute(Ve,yt)}removeAttribute(nt,Ve,yt){if(yt){const At=S[yt];At?nt.removeAttributeNS(At,Ve):nt.removeAttribute(`${yt}:${Ve}`)}else nt.removeAttribute(Ve)}addClass(nt,Ve){nt.classList.add(Ve)}removeClass(nt,Ve){nt.classList.remove(Ve)}setStyle(nt,Ve,yt,At){At&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?nt.style.setProperty(Ve,yt,At&n.RendererStyleFlags2.Important?"important":""):nt.style[Ve]=yt}removeStyle(nt,Ve,yt){yt&n.RendererStyleFlags2.DashCase?nt.style.removeProperty(Ve):nt.style[Ve]=""}setProperty(nt,Ve,yt){nt[Ve]=yt}setValue(nt,Ve){nt.nodeValue=Ve}listen(nt,Ve,yt){if("string"==typeof nt&&!(nt=(0,c.\u0275getDOM)().getGlobalEventTarget(this.doc,nt)))throw new Error(`Unsupported event target ${nt} for event ${Ve}`);return this.eventManager.addEventListener(nt,Ve,this.decoratePreventDefault(yt))}decoratePreventDefault(nt){return Ve=>{if("__ngUnwrap__"===Ve)return nt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>nt(Ve)):nt(Ve))&&Ve.preventDefault()}}}function W(qe){return"TEMPLATE"===qe.tagName&&void 0!==qe.content}class pe extends Ae{constructor(nt,Ve,yt,At,on,xn,Sn,_n){super(nt,on,xn,_n),this.sharedStylesHost=Ve,this.hostEl=yt,this.shadowRoot=yt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Mn=Ce(At.id,At.styles);for(const xi of Mn){const fi=document.createElement("style");Sn&&fi.setAttribute("nonce",Sn),fi.textContent=xi,this.shadowRoot.appendChild(fi)}}nodeOrShadowRoot(nt){return nt===this.hostEl?this.shadowRoot:nt}appendChild(nt,Ve){return super.appendChild(this.nodeOrShadowRoot(nt),Ve)}insertBefore(nt,Ve,yt){return super.insertBefore(this.nodeOrShadowRoot(nt),Ve,yt)}removeChild(nt,Ve){return super.removeChild(this.nodeOrShadowRoot(nt),Ve)}parentNode(nt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(nt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class we extends Ae{constructor(nt,Ve,yt,At,on,xn,Sn,_n){super(nt,on,xn,Sn),this.sharedStylesHost=Ve,this.removeStylesOnCompDestroy=At,this.styles=_n?Ce(_n,yt.styles):yt.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ee extends we{constructor(nt,Ve,yt,At,on,xn,Sn,_n){const Mn=At+"-"+yt.id;super(nt,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(nt){this.applyStyles(),this.setAttribute(nt,this.hostAttr,"")}createElement(nt,Ve){const yt=super.createElement(nt,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,At){return Ve.addEventListener(yt,At,!1),()=>this.removeEventListener(Ve,yt,At)}removeEventListener(Ve,yt,At){return Ve.removeEventListener(yt,At)}}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"},ae={alt:qe=>qe.altKey,control:qe=>qe.ctrlKey,meta:qe=>qe.metaKey,shift:qe=>qe.shiftKey};let ve=(()=>{class qe extends y{constructor(Ve){super(Ve)}supports(Ve){return null!=qe.parseEventName(Ve)}addEventListener(Ve,yt,At){const on=qe.parseEventName(yt),xn=qe.eventCallback(on.fullKey,At,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.\u0275getDOM)().onAndCancel(Ve,on.domEventName,xn))}static parseEventName(Ve){const yt=Ve.toLowerCase().split("."),At=yt.shift();if(0===yt.length||"keydown"!==At&&"keyup"!==At)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=At,_n.fullKey=xn,_n}static matchEventFullKeyCode(Ve,yt){let At=re[Ve.key]||Ve.key,on="";return yt.indexOf("code.")>-1&&(At=Ve.code,on="code."),!(null==At||!At)&&(At=At.toLowerCase()," "===At?At="space":"."===At&&(At="dot"),G.forEach(xn=>{xn!==At&&(0,ae[xn])(Ve)&&(on+=xn+".")}),on+=At,on===yt)}static eventCallback(Ve,yt,At){return on=>{qe.matchEventFullKeyCode(on,Ve)&&At.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,nt){return(0,n.\u0275internalCreateApplication)({rootComponent:qe,...Qe(nt)})}function Ze(qe){return(0,n.\u0275internalCreateApplication)(Qe(qe))}function Qe(qe){return{appProviders:[...Le,...qe?.providers??[]],platformProviders:_t}}function Ge(){return[...Lt]}function tt(){r.makeCurrent()}const _t=[{provide:n.PLATFORM_ID,useValue:c.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:tt,multi:!0},{provide:c.DOCUMENT,useFactory:function Nt(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Bt=(0,n.createPlatformFactory)(n.platformCore,"browser",_t),Tt=new n.InjectionToken(""),Lt=[{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 Ct(){return new n.ErrorHandler},deps:[]},{provide:_,useClass:Be,multi:!0,deps:[c.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:_,useClass:ve,multi:!0,deps:[c.DOCUMENT]},Re,D,l,{provide:n.RendererFactory2,useExisting:Re},{provide:c.XhrFactory,useClass:p,deps:[]},[]];let lt=(()=>{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,...Lt],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((At,on)=>(on&&At.push(this._getOrCreateElement(on,yt)),At),[]):[]}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 At=this.getTag(yt);return At?this._setMetaElementAttributes(Ve,At):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 At=this._dom.createElement("meta");return this._setMetaElementAttributes(Ve,At),this._doc.getElementsByTagName("head")[0].appendChild(At),At}_setMetaElementAttributes(Ve,yt){return Object.keys(Ve).forEach(At=>yt.setAttribute(this._getMetaKeyMap(At),Ve[At])),yt}_parseSelector(Ve){const yt=Ve.name?"name":"property";return`${yt}="${Ve[yt]}"`}_containsAttributes(Ve,yt){return Object.keys(Ve).every(At=>yt.getAttribute(this._getMetaKeyMap(At))===Ve[At])}_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,nt){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[qe]=nt)}const K=typeof window<"u"&&window||{};class ce{constructor(nt,Ve){this.msPerTick=nt,this.numTicks=Ve}}class Te{constructor(nt){this.appRef=nt.injector.get(n.ApplicationRef)}timeChangeDetection(nt){const Ve=nt&&nt.record,yt="Change Detection",At=null!=K.console.profile;Ve&&At&&K.console.profile(yt);const on=et();let xn=0;for(;xn<5||et()-on<500;)this.appRef.tick(),xn++;const Sn=et();Ve&&At&&K.console.profileEnd(yt);const _n=(Sn-on)/xn;return K.console.log(`ran ${xn} change detection cycles`),K.console.log(`${_n.toFixed(2)} ms per check`),new ce(_n,xn)}}function et(){return K.performance&&K.performance.now?K.performance.now():(new Date).getTime()}const Dt="profiler";function _e(qe){return ne(Dt,new Te(qe)),qe}function ut(){ne(Dt,null)}class Pe{static all(){return()=>!0}static css(nt){return Ve=>null!=Ve.nativeElement&&function mt(qe,nt){return!!(0,c.\u0275getDOM)().isElementNode(qe)&&(qe.matches&&qe.matches(nt)||qe.msMatchesSelector&&qe.msMatchesSelector(nt)||qe.webkitMatchesSelector&&qe.webkitMatchesSelector(nt))}(Ve.nativeElement,nt)}static directive(nt){return Ve=>-1!==Ve.providerTokens.indexOf(nt)}}const Pt={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},Ft=new n.InjectionToken("HammerGestureConfig"),Gt=new n.InjectionToken("HammerLoader");let Oe=(()=>{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 At in this.overrides)yt.get(At).set(this.overrides[At]);return yt}}return qe.\u0275fac=function(Ve){return new(Ve||qe)},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),Ke=(()=>{class qe extends y{constructor(Ve,yt,At,on){super(Ve),this._config=yt,this.console=At,this.loader=on,this._loaderPromise=null}supports(Ve){return!(!Pt.hasOwnProperty(Ve.toLowerCase())&&!this.isCustomEvent(Ve)||!window.Hammer&&!this.loader)}addEventListener(Ve,yt,At){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,At)):Sn=()=>{}}).catch(()=>{Sn=()=>{}})),()=>{Sn()}}return on.runOutsideAngular(()=>{const xn=this._config.buildHammer(Ve),Sn=function(_n){on.runGuarded(function(){At(_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(Ft),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(Gt,8))},qe.\u0275prov=n.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),he=(()=>{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:Ke,multi:!0,deps:[c.DOCUMENT,Ft,n.\u0275Console,[new n.Optional,Gt]]},{provide:Ft,useClass:Oe,deps:[]}]}),qe})(),ge=(()=>{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(Me),yt},providedIn:"root"}),qe})(),Me=(()=>{class qe extends ge{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 ct(qe){return new Me(qe.get(c.DOCUMENT))}(n.\u0275\u0275inject(n.Injector)),yt},providedIn:"root"}),qe})();function Ye(qe,nt=[]){return{\u0275kind:qe,\u0275providers:nt}}function De(){return Ye(0)}function F(){return Ye(1)}function Q(...qe){const nt=[],Ve=new Set;for(const{\u0275providers:yt,\u0275kind:At}of qe)Ve.add(At),yt.length&&nt.push(yt);return(0,n.makeEnvironmentProviders)([[],Ve.has(0)?[]:(0,n.\u0275withDomHydration)(),Ve.has(1)?[]:(0,d.\u0275withHttpTransferCache)(),nt])}const be=new n.Version("16.1.7"),dt=n.makeStateKey,Rt=n.TransferState},5187:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{ActivatedRoute:()=>Fn,ActivatedRouteSnapshot:()=>Fi,ActivationEnd:()=>jt,ActivationStart:()=>Mt,BaseRouteReuseStrategy:()=>L,ChildActivationEnd:()=>Ni,ChildActivationStart:()=>ai,ChildrenOutletContexts:()=>se,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:()=>ce,UrlTree:()=>at,VERSION:()=>ja,convertToParamMap:()=>ae,createUrlTreeFromSnapshot:()=>Ve,defaultUrlMatcher:()=>ve,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),f=a(2572),h=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),Ce=a(6424),Re=a(3572),Ae=a(2032),de=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 ae(k){return new re(k)}function ve(k,j,w){const q=w.path.split("/");if(q.length>k.length||"full"===w.pathMatch&&(j.hasChildren()||q.lengthq[rt]===Se)}return k===j}function Ge(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 Ct={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},Nt={exact:function Bt(k,j){return Ze(k,j)},subset:function Lt(k,j){return Object.keys(j).length<=Object.keys(k).length&&Object.keys(j).every(w=>Qe(k[w],j[w]))},ignored:()=>!0};function _t(k,j,w){return Ct[w.paths](k.root,j.root,w.matrixParams)&&Nt[w.queryParams](k.queryParams,j.queryParams)&&!("exact"===w.fragment&&k.fragment!==j.fragment)}function Le(k,j,w){return lt(k,j,j.segments,w)}function lt(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),rt=w.slice(k.segments.length);return!!(ne(k.segments,Se)&&ze(k.segments,Se,q)&&k.children[Be])&<(k.children[Be],j,rt,q)}}function ze(k,j,w){return j.every((q,Se)=>Nt[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=ae(this.queryParams)),this._queryParamMap}toString(){return et.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=ae(this.parameters)),this._parameterMap}toString(){return Oe(this)}}function ne(k,j){return k.length===j.length&&k.every((w,q)=>w.path===j[q].path)}let ce=(()=>{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 be(j);return new at(w.parseRootSegment(),w.parseQueryParams(),w.parseFragment())}serialize(j){const w=`/${_e(j.root,!0)}`,q=function he(k){const j=Object.keys(k).map(w=>{const q=k[w];return Array.isArray(q)?q.map(Se=>`${Pe(w)}=${Pe(Se)}`).join("&"):`${Pe(w)}=${Pe(q)}`}).filter(w=>!!w);return j.length?`?${j.join("&")}`:""}(j.queryParams);return`${w}${q}${"string"==typeof j.fragment?`#${function mt(k){return encodeURI(k)}(j.fragment)}`:""}`}}const et=new Te;function Dt(k){return k.segments.map(j=>Oe(j)).join("/")}function _e(k,j){if(!k.hasChildren())return Dt(k);if(j){const w=k.children[Be]?_e(k.children[Be],!1):"",q=[];return Object.entries(k.children).forEach(([Se,rt])=>{Se!==Be&&q.push(`${Se}:${_e(rt,!1)}`)}),q.length>0?`${w}(${q.join("//")})`:w}{const w=function K(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?[_e(k.children[Be],!1)]:[`${Se}:${_e(q,!1)}`]);return 1===Object.keys(k.children).length&&null!=k.children[Be]?`${Dt(k)}/${w[0]}`:`${Dt(k)}/(${w.join("//")})`}}function ut(k){return encodeURIComponent(k).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pe(k){return ut(k).replace(/%3B/gi,";")}function Pt(k){return ut(k).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ft(k){return decodeURIComponent(k)}function Gt(k){return Ft(k.replace(/\+/g,"%20"))}function Oe(k){return`${Pt(k.path)}${function Ke(k){return Object.keys(k).map(j=>`;${Pt(j)}=${Pt(k[j])}`).join("")}(k.parameters)}`}const ge=/^[^\/()?;#]+/;function ct(k){const j=k.match(ge);return j?j[0]:""}const Me=/^[^\/()?;=#]+/,De=/^[^=?&#]+/,V=/^[^&#]+/;class be{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=ct(this.remaining);if(""===j&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(j),new oe(Ft(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(Me);return j?j[0]:""}(this.remaining);if(!w)return;this.capture(w);let q="";if(this.consumeOptional("=")){const Se=ct(this.remaining);Se&&(q=Se,this.capture(q))}j[Ft(w)]=Ft(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 Q(k){const j=k.match(V);return j?j[0]:""}(this.remaining);st&&(q=st,this.capture(q))}const Se=Gt(w),rt=Gt(q);if(j.hasOwnProperty(Se)){let st=j[Se];Array.isArray(st)||(st=[st],j[Se]=st),st.push(rt)}else j[Se]=rt}parseParens(j){const w={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const q=ct(this.remaining),Se=this.remaining[q.length];if("/"!==Se&&")"!==Se&&";"!==Se)throw new n.\u0275RuntimeError(4010,!1);let rt;q.indexOf(":")>-1?(rt=q.slice(0,q.indexOf(":")),this.capture(rt),this.capture(":")):j&&(rt=Be);const st=this.parseChildren();w[rt]=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 dt(k){return k.segments.length>0?new N([],{[Be]:k}):k}function Rt(k){const j={};for(const q of Object.keys(k.children)){const rt=Rt(k.children[q]);if(q===Be&&0===rt.segments.length&&rt.hasChildren())for(const[st,Vt]of Object.entries(rt.children))j[st]=Vt;else(rt.segments.length>0||rt.hasChildren())&&(j[q]=rt)}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 nt(k){return k instanceof at}function Ve(k,j,w=null,q=null){return At(yt(k),j,w,q)}function yt(k){let j;const Se=dt(function w(rt){const st={};for(const hn of rt.children){const An=w(hn);st[hn.outlet]=An}const Vt=new N(rt.url,st);return rt===k&&(j=Vt),Vt}(k.root));return j??Se}function At(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 rt=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,rt,st)=>{if("object"==typeof rt&&null!=rt){if(rt.outlets){const Vt={};return Object.entries(rt.outlets).forEach(([hn,An])=>{Vt[hn]="string"==typeof An?An.split("/"):An}),[...Se,{outlets:Vt}]}if(rt.segmentPath)return[...Se,rt.segmentPath]}return"string"!=typeof rt?[...Se,rt]:0===st?(rt.split("/").forEach((Vt,hn)=>{0==hn&&"."===Vt||(0==hn&&""===Vt?w=!0:".."===Vt?j++:""!=Vt&&Se.push(Vt))}),Se):[...Se,rt]},[]);return new Mn(w,j,q)}(j);if(rt.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,rt=w;for(;rt>Se;){if(rt-=Se,q=q.parent,!q)throw new n.\u0275RuntimeError(4005,!1);Se=q.segments.length}return new fi(q,!1,Se-rt)}(w,w.segments.length-1+q,k.numberOfDoubleDots)}(rt,Se,k),Vt=st.processChildren?pt(st.segmentGroup,st.index,rt.commands):bt(st.segmentGroup,st.index,rt.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,rt={};q&&Object.entries(q).forEach(([hn,An])=>{rt[hn]=Array.isArray(An)?An.map(Kn=>`${Kn}`):`${An}`}),st=k===j?w:_n(k,j,w);const Vt=dt(Rt(st));return new at(Vt,rt,Se)}function _n(k,j,w){const q={};return Object.entries(k.children).forEach(([Se,rt])=>{q[Se]=rt===j?w:_n(rt,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!==Ge(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 bt(k,j,w){if(k||(k=new N([],{})),0===k.segments.length&&k.hasChildren())return pt(k,j,w);const q=function qt(k,j,w){let q=0,Se=j;const rt={match:!1,pathIndex:0,commandIndex:0};for(;Se=w.length)return rt;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 rt;q+=2}else{if(!Nn(hn,{},st))return rt;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[rt]=bt(k.children[rt],j,st))}),Object.entries(k.children).forEach(([rt,st])=>{void 0===q[rt]&&(Se[rt]=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,rt){super(j,w),this.urlAfterRedirects=q,this.state=Se,this.shouldActivate=rt,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 Mt{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 se,this.attachRef=null}}let se=(()=>{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=kt(j,this._root);return w?w.children.map(q=>q.value):[]}firstChild(j){const w=kt(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 kt(k,j){if(k===j.value)return j;for(const w of j.children){const q=kt(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({}),rt=new r.X({}),st=new r.X({}),Vt=new r.X(""),hn=new Fn(q,Se,st,Vt,rt,Be,j,w.root);return hn.snapshot=w.root,new pn(new un(hn,[]),w)}class Fn{constructor(j,w,q,Se,rt,st,Vt,hn){this.urlSubject=j,this.paramsSubject=w,this.queryParamsSubject=q,this.fragmentSubject=Se,this.dataSubject=rt,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=rt}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=>ae(j)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,D.U)(j=>ae(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],rt=w[q-1];if(Se.routeConfig&&""===Se.routeConfig.path)q--;else{if(rt.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,rt,st,Vt,hn,An){this.url=j,this.params=w,this.queryParams=q,this.fragment=Se,this.data=rt,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=ae(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ae(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)(se),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===se?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,f.a)([q.queryParams,q.params,q.data]).pipe((0,S.w)(([rt,st,Vt],hn)=>(Vt={...rt,...st,...Vt},0===hn?(0,g.of)(Vt):Promise.resolve(Vt)))).subscribe(rt=>{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,rt[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 rt=k.retrieve(j.value);if(null!==rt){const st=rt.route;return st.value._futureSnapshot=j.value,st.children=j.children.map(Vt=>yi(k,Vt)),st}}const q=function Ot(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(rt=>yi(k,rt));return new un(q,Se)}}const C="ngNavigationCancelingError";function te(k,j){const{redirectTo:w,navigationBehaviorOptions:q}=nt(j)?{redirectTo:j,navigationBehaviorOptions:void 0}:j,Se=Ne(!1,0,j);return Se.url=w,Se.navigationBehaviorOptions=q,Se}function Ne(k,j,w){const q=new Error("NavigationCancelingError: "+(k||""));return q[C]=!0,q.cancellationCode=j,w&&(q.url=w),q}function ot(k){return Zt(k)&&nt(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,rt){this.routeReuseStrategy=j,this.futureState=w,this.currState=q,this.forwardEvent=Se,this.inputBindingEnabled=rt}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(rt=>{const st=rt.value.outlet;this.deactivateRoutes(rt,Se[st],q),delete Se[st]}),Object.values(Se).forEach(rt=>{this.deactivateRouteAndItsChildren(rt,q)})}deactivateRoutes(j,w,q){const Se=j.value,rt=w?w.value:null;if(Se===rt)if(Se.component){const st=q.getContext(Se.outlet);st&&this.deactivateChildRoutes(j,w,st.children)}else this.deactivateChildRoutes(j,w,q);else rt&&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,rt=gn(j);for(const st of Object.keys(rt))this.deactivateRouteAndItsChildren(rt[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,rt=gn(j);for(const st of Object.keys(rt))this.deactivateRouteAndItsChildren(rt[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(rt=>{this.activateRoutes(rt,Se[rt.value.outlet],q),this.forwardEvent(new jt(rt.value.snapshot))}),j.children.length&&this.forwardEvent(new Ni(j.value.snapshot))}activateRoutes(j,w,q){const Se=j.value,rt=w?w.value:null;if(tn(Se),Se===rt)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 rt=gn(j);return k.children.forEach(st=>{(function oi(k,j,w,q,Se={canDeactivateChecks:[],canActivateChecks:[]}){const rt=k.value,st=j?j.value:null,Vt=w?w.getContext(k.value.outlet):null;if(st&&rt.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,rt,rt.routeConfig.runGuardsAndResolvers);hn?Se.canActivateChecks.push(new On(q)):(rt.data=st.data,rt._resolvedData=st._resolvedData),ni(k,j,rt.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,rt.component?Vt?Vt.children:null:w,q,Se)})(st,rt[st.value.outlet],w,q.concat([st.value]),Se),delete rt[st.value.outlet]}),Object.entries(rt).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(([rt,st])=>{Zi(st,Se.component?j?j.children.getContext(rt):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 h.K||"EmptyError"===k?.name}const Sr=Symbol("INITIAL_VALUE");function Ar(){return(0,S.w)(k=>(0,f.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(nt(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 rt=this.createSegmentGroup(j,w.root,q,Se);return new at(rt,this.createQueryParams(w.queryParams,this.urlTree.queryParams),w.fragment)}createQueryParams(j,w){const q={};return Object.entries(j).forEach(([Se,rt])=>{if("string"==typeof rt&&rt.startsWith(":")){const Vt=rt.substring(1);q[Se]=w[Vt]}else q[Se]=rt}),q}createSegmentGroup(j,w,q,Se){const rt=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(rt,st)}createSegments(j,w,q,Se){return w.map(rt=>rt.path.startsWith(":")?this.findPosParam(j,rt,Se):this.findOrReturn(rt,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 ue={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fe(k,j,w,q,Se){const rt=it(k,j,w);return rt.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 rt=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)(rt).pipe(Ar(),dr())}(q,j,w).pipe((0,D.U)(st=>!0===st?rt:{...ue}))):(0,g.of)(rt)}function it(k,j,w){if(""===j.path)return"full"===j.pathMatch&&(k.hasChildren()||w.length>0)?{...ue}:{matched:!0,consumedSegments:[],remainingSegments:w,parameters:{},positionalParamSegments:{}};const Se=(j.matcher||ve)(w,k,j);if(!Se)return{...ue};const rt={};Object.entries(Se.posParams??{}).forEach(([Vt,hn])=>{rt[Vt]=hn.path});const st=Se.consumed.length>0?{...rt,...Se.consumed[Se.consumed.length-1].parameters}:rt;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,Et(k,0,w,q,k.children)),slicedSegments:w}:{segmentGroup:new N(k.segments,k.children),slicedSegments:w}}function Et(k,j,w,q,Se){const rt={};for(const st of q)if(Ln(k,w,st)&&!Se[Ht(st)]){const Vt=new N([],{});rt[Ht(st)]=Vt}return{...Se,...rt}}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,rt,st,Vt){this.injector=j,this.configLoader=w,this.rootComponentType=q,this.config=Se,this.urlTree=rt,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),rt=new Gi("",Se),st=Ve(q,[],this.urlTree.queryParams,this.urlTree.fragment);return st.queryParams=this.urlTree.queryParams,rt.url=this.urlSerializer.serialize(st),this.inheritParamsAndData(rt._root),{state:rt,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 rt of Object.keys(q.children))"primary"===rt?Se.unshift(rt):Se.push(rt);return(0,d.D)(Se).pipe((0,ie.b)(rt=>{const st=q.children[rt],Vt=function Yt(k,j){const w=k.filter(q=>Ht(q)===j);return w.push(...k.filter(q=>Ht(q)!==j)),w}(w,rt);return this.processSegmentGroup(j,Vt,st,rt)}),(0,Ce.R)((rt,st)=>(rt.push(...st),rt)),(0,Re.d)(null),(0,Ae.Z)(),(0,$.z)(rt=>{if(null===rt)return Rr(q);const st=Ki(rt);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,rt,st){return(0,d.D)(w).pipe((0,ie.b)(Vt=>this.processSegmentAgainstRoute(Vt._injector??j,w,Vt,q,Se,rt,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,rt)?(0,g.of)([]):Rr(q);throw Vt}))}processSegmentAgainstRoute(j,w,q,Se,rt,st,Vt){return function pi(k,j,w,q){return!!(Ht(k)===q||q!==Be&&Ln(j,w,k))&&("**"===k.path||it(j,k,w).matched)}(q,Se,rt,st)?void 0===q.redirectTo?this.matchSegmentAgainstRoute(j,Se,q,rt,st,Vt):Vt&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(j,Se,w,q,rt,st):Rr(Se):Rr(Se)}expandSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st){return"**"===Se.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(j,q,Se,st):this.expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st)}expandWildCardWithParamsAgainstRouteUsingRedirect(j,w,q,Se){const rt=this.applyRedirects.applyRedirectCommands([],q.redirectTo,{});return q.redirectTo.startsWith("/")?oo(rt):this.applyRedirects.lineralizeSegments(q,rt).pipe((0,$.z)(st=>{const Vt=new N(st,{});return this.processSegment(j,w,Vt,st,Se,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(j,w,q,Se,rt,st){const{matched:Vt,consumedSegments:hn,remainingSegments:An,positionalParamSegments:Kn}=it(w,Se,rt);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,rt,st){let Vt;if("**"===q.path){const hn=Se.length>0?Ge(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)===rt;return this.processSegment(Kn,An,wo,To,Io?Be:rt,!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 rt=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)(rt).pipe(Ar(),dr())}(j,w,q).pipe((0,$.z)(Se=>Se?this.configLoader.loadChildren(j,w).pipe((0,A.b)(rt=>{w._loadedRoutes=rt.routes,w._loadedInjector=rt.injector})):function T(k){return(0,p._)(Ne(!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(rt=>q.value.routeConfig===rt.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)(rt=>{this.onLoadEndListener&&this.onLoadEndListener(w),w._loadedComponent=rt}),(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 rt=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(rt,()=>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)(ce),this.rootContexts=(0,n.inject)(se),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,rt=!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,rt){return(0,$.z)(st=>function Gn(k,j,w,q,Se,rt,st="emptyOnly"){return new ii(k,j,w,q,Se,st,rt).recognize()}(k,j,w,q,st.extractedUrl,Se,rt).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:rt,canDeactivateChecks:st}}=w;return 0===st.length&&0===rt.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 rt=j&&j.routeConfig?j.routeConfig.canDeactivate:null;if(!rt||0===rt.length)return(0,g.of)(!0);const st=rt.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 le(k,j){return null!==k&&j&&j(new Mt(k)),(0,g.of)(!0)}(Se.route,q),function Xt(k,j,w){const q=j[j.length-1],rt=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)(rt).pipe(Ar())}(k,Se.path,w),function We(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(rt=>(0,v.P)(()=>{const st=Jt(j)??w,Vt=qn(rt,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,rt,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,nt(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 rt=0;return(0,d.D)(Se).pipe((0,ie.b)(st=>function xr(k,j,w,q){const Se=k.routeConfig,rt=k._resolve;return void 0!==Se?.title&&!Yr(Se)&&(rt[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 rt={};return(0,d.D)(Se).pipe((0,$.z)(st=>function yo(k,j,w,q){const Se=Jt(j)??q,rt=qn(k,Se);return tt(rt.resolve?rt.resolve(j,w):Se.runInContext(()=>rt(j,w)))}(k[st],j,w,q).pipe((0,ee.P)(),(0,A.b)(Vt=>{rt[st]=Vt}))),(0,de.h)(1),(0,H.h)(rt),(0,U.K)(st=>ro(st)?_.E:(0,p._)(st)))}(rt,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)(()=>rt++),(0,de.h)(1),(0,$.z)(st=>rt===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,f.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||rt||this.cancelNavigationTransition(q,"",1),this.currentNavigation?.id===q.id&&(this.currentNavigation=null)}),(0,U.K)(st=>{if(rt=!0,Zt(st)){ot(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),ot(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 rt=new ti(w.id,this.urlSerializer.serialize(w.extractedUrl),q,Se);this.events.next(rt),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(rt=>rt.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 $t=function(k){return k[k.COMPLETE=0]="COMPLETE",k[k.FAILED=1]="FAILED",k[k.REDIRECTING=2]="REDIRECTING",k}($t||{});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?$t.COMPLETE:w instanceof ti&&(0===w.code||1===w.code)?$t.REDIRECTING:$t.FAILED),(0,X.h)(w=>w!==$t.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)(ce),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 rt={replaceUrl:!0},st=Se?.navigationId?Se:null;if(Se){const hn={...Se};delete hn.navigationId,delete hn.\u0275routerPageId,0!==Object.keys(hn).length&&(rt.state=hn)}const Vt=this.parseUrl(w);this.scheduleNavigation(Vt,q,st,rt)}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:rt,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,...rt};break;case"preserve":Kn=this.currentUrlTree.queryParams;break;default:Kn=rt||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 At($i,w,Kn,An??null)}navigateByUrl(w,q={skipLocationChange:!1}){const Se=nt(w)?w:this.parseUrl(w),rt=this.urlHandlingStrategy.merge(Se,this.rawUrlTree);return this.scheduleNavigation(rt,wn,null,q)}navigate(w,q={skipLocationChange:!1}){return function Ji(k){for(let j=0;j{const rt=w[Se];return null!=rt&&(q[Se]=rt),q},{})}scheduleNavigation(w,q,Se,rt,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:rt,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 rt={...q.extras.state,...this.generateNgRouterState(q.id,(this.browserPageId??0)+1)};this.location.go(Se,"",rt)}}restoreHistory(w,q=!1){if("computed"===this.canceledNavigationResolution){const rt=this.currentPageId-(this.browserPageId??this.currentPageId);0!==rt?this.location.historyGo(rt):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===rt&&(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,rt,st,Vt){this.router=w,this.route=q,this.tabIndexAttribute=Se,this.renderer=rt,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,rt,st){return!!(null===this.urlTree||this.isAnchorElement&&(0!==w||q||Se||rt||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,rt=this.el.nativeElement;null!==q?Se.setAttribute(rt,w,q):Se.removeAttribute(rt,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(rt){return q.onClick(rt.button,rt.ctrlKey,rt.shiftKey,rt.altKey,rt.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,rt,st){this.router=w,this.element=q,this.renderer=Se,this.cdr=rt,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 rt;n.\u0275\u0275queryRefresh(rt=n.\u0275\u0275loadQuery())&&(q.links=rt)}},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,rt,st){this.router=w,this.injector=Se,this.preloadingStrategy=rt,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 rt of q){rt.providers&&!rt._injector&&(rt._injector=(0,n.createEnvironmentInjector)(rt.providers,w,`Route: ${rt.path}`));const st=rt._injector??w,Vt=rt._loadedInjector??st;(rt.loadChildren&&!rt._loadedRoutes&&void 0===rt.canLoad||rt.loadComponent&&!rt._loadedComponent)&&Se.push(this.preloadConfig(st,rt)),(rt.children||rt._loadedRoutes)&&Se.push(this.processRoutes(Vt,rt.children??rt._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 rt=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)([rt,st]).pipe((0,we.J)())}return rt})}}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,rt,st={}){this.urlSerializer=w,this.transitions=q,this.viewportScroller=Se,this.zone=rt,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),rt=(0,n.inject)(ce);return new Zr(rt,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),rt=j.get(dn);Kt(Se,()=>{q(!0)}),j.get(Qn).afterPreactivation=()=>(q(!0),rt.closed?(0,g.of)(void 0):rt),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:ce,useClass:Te},Jn,se,{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)(ce);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:()=>de,USE_STORE:()=>Ce});var n=a(1180),c=a(5879),d=a(2096),g=a(2664),r=a(9315),f=a(34),h=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 ae,ve,He,G=typeof Ee;if(G==typeof Be&&"object"==G){if(!Array.isArray(Ee)){if(Array.isArray(Be))return!1;for(ve in He=Object.create(null),Ee){if(!S(Ee[ve],Be[ve]))return!1;He[ve]=!0}for(ve in Be)if(!(ve in He)&&typeof Be[ve]<"u")return!1;return!0}if(!Array.isArray(Be))return!1;if((ae=Ee.length)==Be.length){for(ve=0;ve{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 ae;return ae="string"==typeof G?this.interpolateString(G,re):"function"==typeof G?this.interpolateFunction(G,re):G,ae}getValue(G,re){let ae="string"==typeof re?re.split("."):[re];re="";do{re+=ae.shift(),!E(G)||!E(G[re])||"object"!=typeof G[re]&&ae.length?ae.length?re+=".":G=void 0:(G=G[re],re="")}while(ae.length);return G}interpolateFunction(G,re){return G(re)}interpolateString(G,re){return re?G.replace(this.templateMatcher,(ae,ve)=>{let He=this.getValue(re,ve);return E(He)?He:ae}):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 Ce=new c.InjectionToken("USE_STORE"),Re=new c.InjectionToken("USE_DEFAULT_LANG"),Ae=new c.InjectionToken("DEFAULT_LANGUAGE"),de=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,ae,ve,He,Ze=!0,Qe=!1,Ge=!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=ae,this.parser=ve,this.missingTranslationHandler=He,this.useDefaultLang=Ze,this.isolate=Qe,this.extend=Ge,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(ae=>{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(ae=>{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)(ae=>this.compiler.compileTranslations(ae,G)),(0,v.d)(1),(0,u.q)(1)),this.loadingTranslations.subscribe({next:ae=>{this.translations[G]=this.extend&&this.translations[G]?{...ae,...this.translations[G]}:ae,this.updateLangs(),this.pending=!1},error:ae=>{this.pending=!1}}),re}setTranslation(G,re,ae=!1){re=this.compiler.compileTranslations(re,G),this.translations[G]=(ae||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,ae){let ve;if(re instanceof Array){let He={},Ze=!1;for(let Qe of re)He[Qe]=this.getParsedResult(G,Qe,ae),(0,g.b)(He[Qe])&&(Ze=!0);if(Ze){const Qe=re.map(Ge=>(0,g.b)(He[Ge])?He[Ge]:(0,d.of)(He[Ge]));return(0,r.D)(Qe).pipe((0,b.U)(Ge=>{let tt={};return Ge.forEach((Ct,Nt)=>{tt[re[Nt]]=Ct}),tt}))}return He}if(G&&(ve=this.parser.interpolate(this.parser.getValue(G,re),ae)),typeof ve>"u"&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ve=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],re),ae)),typeof ve>"u"){let He={key:re,translateService:this};typeof ae<"u"&&(He.interpolateParams=ae),ve=this.missingTranslationHandler.handle(He)}return typeof ve<"u"?ve: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)(ae=>(ae=this.getParsedResult(ae,G,re),(0,g.b)(ae)?ae:(0,d.of)(ae))));{let ae=this.getParsedResult(this.translations[this.currentLang],G,re);return(0,g.b)(ae)?ae:(0,d.of)(ae)}}getStreamOnTranslationChange(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,f.z)((0,h.P)(()=>this.get(G,re)),this.onTranslationChange.pipe((0,_.w)(ae=>{const ve=this.getParsedResult(ae.translations,G,re);return"function"==typeof ve.subscribe?ve:(0,d.of)(ve)})))}stream(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');return(0,f.z)((0,h.P)(()=>this.get(G,re)),this.onLangChange.pipe((0,_.w)(ae=>{const ve=this.getParsedResult(ae.translations,G,re);return(0,g.b)(ve)?ve:(0,d.of)(ve)})))}instant(G,re){if(!E(G)||!G.length)throw new Error('Parameter "key" required');let ae=this.getParsedResult(this.translations[this.currentLang],G,re);if((0,g.b)(ae)){if(G instanceof Array){let ve={};return G.forEach((He,Ze)=>{ve[G[Ze]]=G[Ze]}),ve}return G}return ae}set(G,re,ae=this.currentLang){this.translations[ae][G]=this.compiler.compile(re,ae),this.updateLangs(),this.onTranslationChange.emit({lang:ae,translations:this.translations[ae]})}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(Ce),c.\u0275\u0275inject(de),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,ae){(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=ae,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe(ve=>{ve.lang===this.translateService.currentLang&&this.checkNodes(!0,ve.translations)})),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe(ve=>{this.checkNodes(!0,ve.translations)})),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe(ve=>{this.checkNodes(!0)}))}ngAfterViewChecked(){this.checkNodes()}checkNodes(G=!1,re){let ae=this.element.nativeElement.childNodes;ae.length||(this.setContent(this.element.nativeElement,this.key),ae=this.element.nativeElement.childNodes);for(let ve=0;ve{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(ae)){let He=this.translateService.getParsedResult(ae,G,this.currentParams);(0,g.b)(He)?He.subscribe({next:ve}):ve(He)}else this.translateService.get(G,this.currentParams).subscribe(ve)}}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,ae){let ve=He=>{this.value=void 0!==He?He:G,this.lastKey=G,this._ref.markForCheck()};if(ae){let He=this.translate.getParsedResult(ae,G,re);(0,g.b)(He.subscribe)?He.subscribe(ve):ve(He)}this.translate.get(G,re).subscribe(ve)}transform(G,...re){if(!G||!G.length)return G;if(S(G,this.lastKey)&&S(re,this.lastParams))return this.value;let ae;if(E(re[0])&&re.length)if("string"==typeof re[0]&&re[0].length){let ve=re[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{ae=JSON.parse(ve)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${re[0]}`)}}else"object"==typeof re[0]&&!Array.isArray(re[0])&&(ae=re[0]);return this.lastKey=G,this.lastParams=re,this.updateValue(G,ae),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ve=>{this.lastKey&&ve.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(G,ae,ve.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ve=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,ae,ve.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(G,ae))})),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:Ce,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:de,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:Ce,useValue:G.isolate},{provide:Re,useValue:G.useDefaultLang},{provide:de,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/",f=".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=f}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:()=>Gt,AbstractValidationHandler:()=>Qe,AuthConfig:()=>ve,DateTimeProvider:()=>Ce,DefaultHashHandler:()=>K,DefaultOAuthInterceptor:()=>Dt,HashHandler:()=>oe,JwksValidationHandler:()=>Ft,LoginOptions:()=>Ae,MemoryStorage:()=>W,NullValidationHandler:()=>ie,OAuthErrorEvent:()=>G,OAuthEvent:()=>we,OAuthInfoEvent:()=>Be,OAuthLogger:()=>de,OAuthModule:()=>mt,OAuthModuleConfig:()=>A,OAuthNoopResourceServerErrorHandler:()=>et,OAuthResourceServerConfig:()=>U,OAuthResourceServerErrorHandler:()=>Te,OAuthService:()=>ce,OAuthStorage:()=>H,OAuthSuccessEvent:()=>Ee,ReceivedTokens:()=>pe,SystemDateTimeProvider:()=>Re,UrlHelperService:()=>Ge,ValidationHandler:()=>Ze,provideOAuthClient:()=>Pe});var n=a(5861),c=a(5879),d=a(6814),g=a(9862),r=a(8645),f=a(2096),h=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(Ke){return Promise.resolve(null)}validateAtHash(Ke){return Promise.resolve(!0)}}class A{}class U{}class Ce{}let Re=(()=>{class Oe extends Ce{now(){return Date.now()}new(){return new Date}}return Oe.\u0275fac=function(){let Ke;return function(ge){return(Ke||(Ke=c.\u0275\u0275getInheritedFactory(Oe)))(ge||Oe)}}(),Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class Ae{constructor(){this.disableNonceCheck=!1,this.preventClearHashAfterLogin=!1}}class de{}class H{}let W=(()=>{class Oe{constructor(){this.data=new Map}getItem(he){return this.data.get(he)}removeItem(he){this.data.delete(he)}setItem(he,ge){this.data.set(he,ge)}}return Oe.\u0275fac=function(he){return new(he||Oe)},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class pe{}class we{constructor(Ke){this.type=Ke}}class Ee extends we{constructor(Ke,he=null){super(Ke),this.info=he}}class Be extends we{constructor(Ke,he=null){super(Ke),this.info=he}}class G extends we{constructor(Ke,he,ge=null){super(Ke),this.reason=he,this.params=ge}}function re(Oe){const Ke=Oe.replace(/\-/g,"+").replace(/\_/g,"/");return decodeURIComponent(atob(Ke).split("").map(function(he){return"%"+("00"+he.charCodeAt(0).toString(16)).slice(-2)}).join(""))}function ae(Oe){return btoa(Oe).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}class ve{constructor(Ke){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=he=>{location.href=he},Ke&&Object.assign(this,Ke)}}class He{encodeKey(Ke){return encodeURIComponent(Ke)}encodeValue(Ke){return encodeURIComponent(Ke)}decodeKey(Ke){return decodeURIComponent(Ke)}decodeValue(Ke){return decodeURIComponent(Ke)}}class Ze{}class Qe{validateAtHash(Ke){var he=this;return(0,n.Z)(function*(){let ge=he.inferHashAlgorithm(Ke.idTokenHeader),ct=yield he.calcHash(Ke.accessToken,ge),Ye=ae(ct.substr(0,ct.length/2)),De=Ke.idTokenClaims.at_hash.replace(/=/g,"");return Ye!==De&&(console.error("exptected at_hash: "+Ye),console.error("actual at_hash: "+De)),Ye===De})()}inferHashAlgorithm(Ke){let he=Ke.alg;if(!he.match(/^.S[0-9]{3}$/))throw new Error("Algorithm not supported: "+he);return"sha-"+he.substr(2)}}let Ge=(()=>{class Oe{getHashFragmentParams(he){let ge=he||window.location.hash;if(ge=decodeURIComponent(ge),0!==ge.indexOf("#"))return{};const ct=ge.indexOf("?");return ge=ge.substr(ct>-1?ct+1:1),this.parseQueryString(ge)}parseQueryString(he){const ge={};let ct,Me,Ye,De,F,V,Q;if(null===he)return ge;ct=he.split("&");for(let be=0;be=64;){for(Me=Ke[0],Ye=Ke[1],De=Ke[2],F=Ke[3],V=Ke[4],Q=Ke[5],be=Ke[6],dt=Ke[7],qe=0;qe<16;qe++)nt=ge+4*qe,Oe[qe]=(255&he[nt])<<24|(255&he[nt+1])<<16|(255&he[nt+2])<<8|255&he[nt+3];for(qe=16;qe<64;qe++)Rt=Oe[qe-2],Ve=(Rt>>>17|Rt<<15)^(Rt>>>19|Rt<<13)^Rt>>>10,Rt=Oe[qe-15],yt=(Rt>>>7|Rt<<25)^(Rt>>>18|Rt<<14)^Rt>>>3,Oe[qe]=(Ve+Oe[qe-7]|0)+(yt+Oe[qe-16]|0);for(qe=0;qe<64;qe++)Ve=(((V>>>6|V<<26)^(V>>>11|V<<21)^(V>>>25|V<<7))+(V&Q^~V&be)|0)+(dt+(Nt[qe]+Oe[qe]|0)|0)|0,yt=((Me>>>2|Me<<30)^(Me>>>13|Me<<19)^(Me>>>22|Me<<10))+(Me&Ye^Me&De^Ye&De)|0,dt=be,be=Q,Q=V,V=F+Ve|0,F=De,De=Ye,Ye=Me,Me=Ve+yt|0;Ke[0]+=Me,Ke[1]+=Ye,Ke[2]+=De,Ke[3]+=F,Ke[4]+=V,Ke[5]+=Q,Ke[6]+=be,Ke[7]+=dt,ge+=64,ct-=64}return ge}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 Ke=0;Ke0){for(;this.bufferLength<64&&he>0;)this.buffer[this.bufferLength++]=Ke[ge++],he--;64===this.bufferLength&&(_t(this.temp,this.state,this.buffer,0,64),this.bufferLength=0)}for(he>=64&&(ge=_t(this.temp,this.state,Ke,ge,he),he%=64);he>0;)this.buffer[this.bufferLength++]=Ke[ge++],he--;return this}finish(Ke){if(!this.finished){const he=this.bytesHashed,ge=this.bufferLength,ct=he/536870912|0,Me=he<<3,Ye=he%64<56?64:128;this.buffer[ge]=128;for(let De=ge+1;De>>24&255,this.buffer[Ye-7]=ct>>>16&255,this.buffer[Ye-6]=ct>>>8&255,this.buffer[Ye-5]=ct>>>0&255,this.buffer[Ye-4]=Me>>>24&255,this.buffer[Ye-3]=Me>>>16&255,this.buffer[Ye-2]=Me>>>8&255,this.buffer[Ye-1]=Me>>>0&255,_t(this.temp,this.state,this.buffer,0,Ye),this.finished=!0}for(let he=0;he<8;he++)Ke[4*he+0]=this.state[he]>>>24&255,Ke[4*he+1]=this.state[he]>>>16&255,Ke[4*he+2]=this.state[he]>>>8&255,Ke[4*he+3]=this.state[he]>>>0&255;return this}digest(){const Ke=new Uint8Array(this.digestLength);return this.finish(Ke),Ke}_saveState(Ke){for(let he=0;he{class Oe{calcHash(he,ge){return(0,n.Z)(function*(){return function ne(Oe){var Ke,he=[];for(Ke=0;Ke{class Oe extends ve{constructor(he,ge,ct,Me,Ye,De,F,V,Q,be){super(),this.ngZone=he,this.http=ge,this.config=Ye,this.urlHelper=De,this.logger=F,this.crypto=V,this.dateTimeService=be,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=Q,Ye||(Ye={}),this.discoveryDocumentLoaded$=this.discoveryDocumentLoadedSubject.asObservable(),this.events=this.eventsSubject.asObservable(),Me&&(this.tokenValidationHandler=Me),Ye&&this.configure(Ye);try{ct?this.setStorage(ct):typeof sessionStorage<"u"&&this.setStorage(sessionStorage)}catch(dt){console.error("No OAuthStorage provided and cannot access default (sessionStorage).Consider providing a custom OAuthStorage implementation in your module.",dt)}if(this.checkLocalStorageAccessable()){const dt=window?.navigator?.userAgent;(dt?.includes("MSIE ")||dt?.includes("Trident"))&&(this.saveNoncesInLocalStorage=!0)}this.setupRefreshTimer()}checkLocalStorageAccessable(){if(typeof window>"u")return!1;const he="test";try{return!(typeof window.localStorage>"u"||(localStorage.setItem(he,he),localStorage.removeItem(he),0))}catch{return!1}}configure(he){Object.assign(this,new ve,he),this.config=Object.assign({},new ve,he),this.sessionChecksEnabled&&this.setupSessionCheck(),this.configChanged()}configChanged(){this.setupRefreshTimer()}restartSessionChecksIfStillLoggedIn(){this.hasValidIdToken()&&this.initSessionCheck()}restartRefreshTimerIfStillLoggedIn(){this.setupExpirationTimers()}setupSessionCheck(){this.events.pipe((0,_.h)(he=>"token_received"===he.type)).subscribe(he=>{this.initSessionCheck()})}setupAutomaticSilentRefresh(he={},ge,ct=!0){let Me=!0;this.clearAutomaticRefreshTimer(),this.automaticRefreshSubscription=this.events.pipe((0,l.b)(Ye=>{"token_received"===Ye.type?Me=!0:"logout"===Ye.type&&(Me=!1)}),(0,_.h)(Ye=>"token_expires"===Ye.type&&(null==ge||"any"===ge||Ye.info===ge)),(0,y.b)(1e3)).subscribe(Ye=>{Me&&this.refreshInternal(he,ct).catch(De=>{this.debug("Automatic silent refresh did not work")})}),this.restartRefreshTimerIfStillLoggedIn()}refreshInternal(he,ge){return this.useSilentRefresh||"code"!==this.responseType?this.silentRefresh(he,ge):this.refreshToken()}loadDiscoveryDocumentAndTryLogin(he=null){return this.loadDiscoveryDocument().then(ge=>this.tryLogin(he))}loadDiscoveryDocumentAndLogin(he=null){return this.loadDiscoveryDocumentAndTryLogin(he=he||{}).then(ge=>!(!this.hasValidIdToken()||!this.hasValidAccessToken())||(this.initLoginFlow("string"==typeof he.state?he.state:""),!1))}debug(...he){this.showDebugInformation&&this.logger.debug.apply(this.logger,he)}validateUrlFromDiscoveryDocument(he){const ge=[],ct=this.validateUrlForHttps(he),Me=this.validateUrlAgainstIssuer(he);return ct||ge.push("https for all urls required. Also for urls received by discovery."),Me||ge.push("Every url in discovery document has to start with the issuer url.Also see property strictDiscoveryDocumentValidation."),ge}validateUrlForHttps(he){if(!he)return!0;const ge=he.toLowerCase();return!(!1!==this.requireHttps&&(!ge.match(/^http:\/\/localhost($|[:\/])/)&&!ge.match(/^http:\/\/localhost($|[:\/])/)||"remoteOnly"!==this.requireHttps))||ge.startsWith("https://")}assertUrlNotNullAndCorrectProtocol(he,ge){if(!he)throw new Error(`'${ge}' should not be null`);if(!this.validateUrlForHttps(he))throw new Error(`'${ge}' must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).`)}validateUrlAgainstIssuer(he){return!this.strictDiscoveryDocumentValidation||!he||he.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)(he=>"token_received"===he.type)).subscribe(he=>{this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.setupExpirationTimers()}))}setupExpirationTimers(){this.hasValidAccessToken()&&this.setupAccessTokenTimer(),!this.disableIdTokenTimer&&this.hasValidIdToken()&&this.setupIdTokenTimer()}setupAccessTokenTimer(){const he=this.getAccessTokenExpiration(),ge=this.getAccessTokenStoredAt(),ct=this.calcTimeout(ge,he);this.ngZone.runOutsideAngular(()=>{this.accessTokenTimeoutSubscription=(0,f.of)(new Be("token_expires","access_token")).pipe((0,x.g)(ct)).subscribe(Me=>{this.ngZone.run(()=>{this.eventsSubject.next(Me)})})})}setupIdTokenTimer(){const he=this.getIdTokenExpiration(),ge=this.getIdTokenStoredAt(),ct=this.calcTimeout(ge,he);this.ngZone.runOutsideAngular(()=>{this.idTokenTimeoutSubscription=(0,f.of)(new Be("token_expires","id_token")).pipe((0,x.g)(ct)).subscribe(Me=>{this.ngZone.run(()=>{this.eventsSubject.next(Me)})})})}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(he,ge){const ct=this.dateTimeService.now(),Ye=Math.max(0,(ge-he)*this.timeoutFactor-(ct-he)),De=2147483647;return Ye>De?De:Ye}setStorage(he){this._storage=he,this.configChanged()}loadDiscoveryDocument(he=null){return new Promise((ge,ct)=>{he||((he=this.issuer||"").endsWith("/")||(he+="/"),he+=".well-known/openid-configuration"),this.validateUrlForHttps(he)?this.http.get(he).subscribe(Me=>{if(!this.validateDiscoveryDocument(Me))return this.eventsSubject.next(new G("discovery_document_validation_error",null)),void ct("discovery_document_validation_error");this.loginUrl=Me.authorization_endpoint,this.logoutUrl=Me.end_session_endpoint||this.logoutUrl,this.grantTypesSupported=Me.grant_types_supported,this.issuer=Me.issuer,this.tokenEndpoint=Me.token_endpoint,this.userinfoEndpoint=Me.userinfo_endpoint||this.userinfoEndpoint,this.jwksUri=Me.jwks_uri,this.sessionCheckIFrameUrl=Me.check_session_iframe||this.sessionCheckIFrameUrl,this.discoveryDocumentLoaded=!0,this.discoveryDocumentLoadedSubject.next(Me),this.revocationEndpoint=Me.revocation_endpoint||this.revocationEndpoint,this.sessionChecksEnabled&&this.restartSessionChecksIfStillLoggedIn(),this.loadJwks().then(Ye=>{const F=new Ee("discovery_document_loaded",{discoveryDocument:Me,jwks:Ye});this.eventsSubject.next(F),ge(F)}).catch(Ye=>{this.eventsSubject.next(new G("discovery_document_load_error",Ye)),ct(Ye)})},Me=>{this.logger.error("error loading discovery document",Me),this.eventsSubject.next(new G("discovery_document_load_error",Me)),ct(Me)}):ct("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((he,ge)=>{this.jwksUri?this.http.get(this.jwksUri).subscribe(ct=>{this.jwks=ct,he(ct)},ct=>{this.logger.error("error loading jwks",ct),this.eventsSubject.next(new G("jwks_load_error",ct)),ge(ct)}):he(null)})}validateDiscoveryDocument(he){let ge;return this.skipIssuerCheck||he.issuer===this.issuer?(ge=this.validateUrlFromDiscoveryDocument(he.authorization_endpoint),ge.length>0?(this.logger.error("error validating authorization_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.end_session_endpoint),ge.length>0?(this.logger.error("error validating end_session_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.token_endpoint),ge.length>0&&this.logger.error("error validating token_endpoint in discovery document",ge),ge=this.validateUrlFromDiscoveryDocument(he.revocation_endpoint),ge.length>0&&this.logger.error("error validating revocation_endpoint in discovery document",ge),ge=this.validateUrlFromDiscoveryDocument(he.userinfo_endpoint),ge.length>0?(this.logger.error("error validating userinfo_endpoint in discovery document",ge),!1):(ge=this.validateUrlFromDiscoveryDocument(he.jwks_uri),ge.length>0?(this.logger.error("error validating jwks_uri in discovery document",ge),!1):(this.sessionChecksEnabled&&!he.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: "+he.issuer),!1)}fetchTokenUsingPasswordFlowAndLoadUserProfile(he,ge,ct=new g.HttpHeaders){return this.fetchTokenUsingPasswordFlow(he,ge,ct).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((he,ge)=>{const ct=(new g.HttpHeaders).set("Authorization","Bearer "+this.getAccessToken());this.http.get(this.userinfoEndpoint,{headers:ct,observe:"response",responseType:"text"}).subscribe(Me=>{if(this.debug("userinfo received",JSON.stringify(Me)),Me.headers.get("content-type").startsWith("application/json")){let Ye=JSON.parse(Me.body);const De=this.getIdentityClaims()||{};if(!this.skipSubjectCheck&&this.oidc&&(!De.sub||Ye.sub!==De.sub))return void ge("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")),he({info:Ye})}else this.debug("userinfo is not JSON, treating it as JWE/JWS"),this.eventsSubject.next(new Ee("user_profile_loaded")),he(JSON.parse(Me.body))},Me=>{this.logger.error("error loading user info",Me),this.eventsSubject.next(new G("user_profile_load_error",Me)),ge(Me)})})}fetchTokenUsingPasswordFlow(he,ge,ct=new g.HttpHeaders){return this.fetchTokenUsingGrant("password",{username:he,password:ge},ct)}fetchTokenUsingGrant(he,ge,ct=new g.HttpHeaders){this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let Me=new g.HttpParams({encoder:new He}).set("grant_type",he).set("scope",this.scope);if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);ct=ct.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(Me=Me.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(Me=Me.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))Me=Me.set(Ye,this.customQueryParams[Ye]);for(const Ye of Object.keys(ge))Me=Me.set(Ye,ge[Ye]);return ct=ct.set("Content-Type","application/x-www-form-urlencoded"),new Promise((Ye,De)=>{this.http.post(this.tokenEndpoint,Me,{headers:ct}).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((he,ge)=>{let ct=new g.HttpParams({encoder:new He}).set("grant_type","refresh_token").set("scope",this.scope).set("refresh_token",this._storage.getItem("refresh_token")),Me=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Ye=btoa(`${this.clientId}:${this.dummyClientSecret}`);Me=Me.set("Authorization","Basic "+Ye)}if(this.useHttpBasicAuth||(ct=ct.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(ct=ct.set("client_secret",this.dummyClientSecret)),this.customQueryParams)for(const Ye of Object.getOwnPropertyNames(this.customQueryParams))ct=ct.set(Ye,this.customQueryParams[Ye]);this.http.post(this.tokenEndpoint,ct,{headers:Me}).pipe((0,D.w)(Ye=>this.oidc&&Ye.id_token?(0,h.D)(this.processIdToken(Ye.id_token,Ye.access_token,!0)).pipe((0,l.b)(De=>this.storeIdToken(De)),(0,S.U)(De=>Ye)):(0,f.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")),he(Ye)},Ye=>{this.logger.error("Error refreshing token",Ye),this.eventsSubject.next(new G("token_refresh_error",Ye)),ge(Ye)})})}removeSilentRefreshEventListener(){this.silentRefreshPostMessageEventListener&&(window.removeEventListener("message",this.silentRefreshPostMessageEventListener),this.silentRefreshPostMessageEventListener=null)}setupSilentRefreshEventListener(){this.removeSilentRefreshEventListener(),this.silentRefreshPostMessageEventListener=he=>{const ge=this.processMessageEventMessage(he);this.checkOrigin&&he.origin!==location.origin&&console.error("wrong origin requested silent refresh!"),this.tryLogin({customHashFragment:ge,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri||this.redirectUri}).catch(ct=>this.debug("tryLogin during silent refresh failed",ct))},window.addEventListener("message",this.silentRefreshPostMessageEventListener)}silentRefresh(he={},ge=!0){const ct=this.getIdentityClaims()||{};if(this.useIdTokenHintForSilentRefresh&&this.hasValidIdToken()&&(he.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 Me=this.document.getElementById(this.silentRefreshIFrameName);Me&&this.document.body.removeChild(Me),this.silentRefreshSubject=ct.sub;const Ye=this.document.createElement("iframe");Ye.id=this.silentRefreshIFrameName,this.setupSilentRefreshEventListener(),this.createLoginUrl(null,null,this.silentRefreshRedirectUri||this.redirectUri,ge,he).then(be=>{Ye.setAttribute("src",be),this.silentRefreshShowIFrame||(Ye.style.display="none"),this.document.body.appendChild(Ye)});const F=this.events.pipe((0,_.h)(be=>be instanceof G),(0,E.P)()),V=this.events.pipe((0,_.h)(be=>"token_received"===be.type),(0,E.P)()),Q=(0,f.of)(new G("silent_refresh_timeout",null)).pipe((0,x.g)(this.silentRefreshTimeout));return(0,u.S)([F,V,Q]).pipe((0,S.U)(be=>{if(be instanceof G)throw"silent_refresh_timeout"===be.type||(be=new G("silent_refresh_error",be)),this.eventsSubject.next(be),be;return"token_received"===be.type&&(be=new Ee("silently_refreshed"),this.eventsSubject.next(be)),be})).toPromise()}initImplicitFlowInPopup(he){return this.initLoginFlowInPopup(he)}initLoginFlowInPopup(he){return he=he||{},this.createLoginUrl(null,null,this.silentRefreshRedirectUri,!1,{display:"popup"}).then(ge=>new Promise((ct,Me)=>{let F,De=null;he.windowRef?he.windowRef&&!he.windowRef.closed&&(De=he.windowRef,De.location.href=ge):De=window.open(ge,"ngx-oauth2-oidc-login",this.calculatePopupFeatures(he));const V=qe=>{this.tryLogin({customHashFragment:qe,preventClearHashAfterLogin:!0,customRedirectUri:this.silentRefreshRedirectUri}).then(()=>{be(),ct(!0)},nt=>{be(),Me(nt)})};De?F=window.setInterval(()=>{(!De||De.closed)&&(be(),Me(new G("popup_closed",{})))},500):Me(new G("popup_blocked",{}));const be=()=>{window.clearInterval(F),window.removeEventListener("storage",Rt),window.removeEventListener("message",dt),null!==De&&De.close(),De=null},dt=qe=>{const nt=this.processMessageEventMessage(qe);nt&&null!==nt?(window.removeEventListener("storage",Rt),V(nt)):console.log("false event firing")},Rt=qe=>{"auth_hash"===qe.key&&(window.removeEventListener("message",dt),V(qe.newValue))};window.addEventListener("message",dt),window.addEventListener("storage",Rt)}))}calculatePopupFeatures(he){const ge=he.height||470,ct=he.width||500,Me=window.screenLeft+(window.outerWidth-ct)/2;return`location=no,toolbar=no,width=${ct},height=${ge},top=${window.screenTop+(window.outerHeight-ge)/2},left=${Me}`}processMessageEventMessage(he){let ge="#";if(this.silentRefreshMessagePrefix&&(ge+=this.silentRefreshMessagePrefix),!he||!he.data||"string"!=typeof he.data)return;const ct=he.data;return ct.startsWith(ge)?"#"+ct.substr(ge.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=he=>{const ge=he.origin.toLowerCase(),ct=this.issuer.toLowerCase();if(this.debug("sessionCheckEventListener"),ct.startsWith(ge)){switch(he.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",he)}else this.debug("sessionCheckEventListener","wrong origin",ge,"expected",ct,"event",he)},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(he=>this.debug("silent refresh failed after session changed")),this.waitForSilentRefreshAfterSessionChange()):(this.eventsSubject.next(new Be("session_terminated")),this.logOut(!0)):this.refreshToken().then(he=>{this.debug("token refresh after session change worked")}).catch(he=>{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)(he=>"silently_refreshed"===he.type||"silent_refresh_timeout"===he.type||"silent_refresh_error"===he.type),(0,E.P)()).subscribe(he=>{"silently_refreshed"!==he.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 he=this.document.getElementById(this.sessionCheckIFrameName);he&&this.document.body.removeChild(he);const ge=this.document.createElement("iframe");ge.id=this.sessionCheckIFrameName,this.setupSessionCheckEventListener(),ge.setAttribute("src",this.sessionCheckIFrameUrl),ge.style.display="none",this.document.body.appendChild(ge),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 he=this.document.getElementById(this.sessionCheckIFrameName);he||this.logger.warn("checkSession did not find iframe",this.sessionCheckIFrameName);const ge=this.getSessionState();ge||this.stopSessionCheckTimer(),he.contentWindow.postMessage(this.clientId+" "+ge,this.issuer)}createLoginUrl(he="",ge="",ct="",Me=!1,Ye={}){var De=this;return(0,n.Z)(function*(){const F=De;let V;V=ct||De.redirectUri;const Q=yield De.createAndSaveNonce();if(he=he?Q+De.config.nonceStateSeparator+encodeURIComponent(he):Q,!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 be=F.loginUrl.indexOf("?")>-1?"&":"?";let dt=F.scope;De.oidc&&!dt.match(/(^|\s)openid($|\s)/)&&(dt="openid "+dt);let Rt=F.loginUrl+be+"response_type="+encodeURIComponent(F.responseType)+"&client_id="+encodeURIComponent(F.clientId)+"&state="+encodeURIComponent(he)+"&redirect_uri="+encodeURIComponent(V)+"&scope="+encodeURIComponent(dt);if(De.responseType.includes("code")&&!De.disablePKCE){const[qe,nt]=yield De.createChallangeVerifierPairForPKCE();De.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("PKCE_verifier",nt):De._storage.setItem("PKCE_verifier",nt),Rt+="&code_challenge="+qe,Rt+="&code_challenge_method=S256"}ge&&(Rt+="&login_hint="+encodeURIComponent(ge)),F.resource&&(Rt+="&resource="+encodeURIComponent(F.resource)),F.oidc&&(Rt+="&nonce="+encodeURIComponent(Q)),Me&&(Rt+="&prompt=none");for(const qe of Object.keys(Ye))Rt+="&"+encodeURIComponent(qe)+"="+encodeURIComponent(Ye[qe]);if(De.customQueryParams)for(const qe of Object.getOwnPropertyNames(De.customQueryParams))Rt+="&"+qe+"="+encodeURIComponent(De.customQueryParams[qe]);return Rt})()}initImplicitFlowInternal(he="",ge=""){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 ct={},Me=null;"string"==typeof ge?Me=ge:"object"==typeof ge&&(ct=ge),this.createLoginUrl(he,Me,null,!1,ct).then(this.config.openUri).catch(Ye=>{console.error("Error in initImplicitFlow",Ye),this.inImplicitFlow=!1})}initImplicitFlow(he="",ge=""){""!==this.loginUrl?this.initImplicitFlowInternal(he,ge):this.events.pipe((0,_.h)(ct=>"discovery_document_loaded"===ct.type)).subscribe(ct=>this.initImplicitFlowInternal(he,ge))}resetImplicitFlow(){this.inImplicitFlow=!1}callOnTokenReceivedIfExists(he){const ge=this;if(he.onTokenReceived){const ct={idClaims:ge.getIdentityClaims(),idToken:ge.getIdToken(),accessToken:ge.getAccessToken(),state:ge.state};he.onTokenReceived(ct)}}storeAccessTokenResponse(he,ge,ct,Me,Ye){if(this._storage.setItem("access_token",he),Me&&!Array.isArray(Me)?this._storage.setItem("granted_scopes",JSON.stringify(Me.split(" "))):Me&&Array.isArray(Me)&&this._storage.setItem("granted_scopes",JSON.stringify(Me)),this._storage.setItem("access_token_stored_at",""+this.dateTimeService.now()),ct){const De=1e3*ct,V=this.dateTimeService.new().getTime()+De;this._storage.setItem("expires_at",""+V)}ge&&this._storage.setItem("refresh_token",ge),Ye&&Ye.forEach((De,F)=>{this._storage.setItem(F,De)})}tryLogin(he=null){return"code"===this.config.responseType?this.tryLoginCodeFlow(he).then(ge=>!0):this.tryLoginImplicitFlow(he)}parseQueryString(he){return he&&0!==he.length?("?"===he.charAt(0)&&(he=he.substr(1)),this.urlHelper.parseQueryString(he)):{}}tryLoginCodeFlow(he=null){var ge=this;return(0,n.Z)(function*(){const ct=(he=he||{}).customHashFragment?he.customHashFragment.substring(1):window.location.search,Me=ge.getCodePartsFromUrl(ct),Ye=Me.code,De=Me.state,F=Me.session_state;if(!he.preventClearHashAfterLogin){const be=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,be)}let[V,Q]=ge.parseState(De);if(ge.state=Q,Me.error){ge.debug("error trying to login"),ge.handleLoginError(he,Me);const be=new G("code_error",{},Me);return ge.eventsSubject.next(be),Promise.reject(be)}if(!he.disableNonceCheck){if(!V)return ge.saveRequestedRoute(),Promise.resolve();if(!he.disableOAuth2StateCheck&&!ge.validateNonce(V)){const dt=new G("invalid_nonce_in_state",null);return ge.eventsSubject.next(dt),Promise.reject(dt)}}return ge.storeSessionState(F),Ye&&(yield ge.getTokenFromCode(Ye,he),ge.restoreRequestedRoute()),Promise.resolve()})()}saveRequestedRoute(){this.config.preserveRequestedRoute&&this._storage.setItem("requested_route",window.location.pathname+window.location.search)}restoreRequestedRoute(){const he=this._storage.getItem("requested_route");he&&history.replaceState(null,"",window.location.origin+he)}getCodePartsFromUrl(he){return he&&0!==he.length?("?"===he.charAt(0)&&(he=he.substr(1)),this.urlHelper.parseQueryString(he)):this.urlHelper.getHashFragmentParams()}getTokenFromCode(he,ge){let ct=new g.HttpParams({encoder:new He}).set("grant_type","authorization_code").set("code",he).set("redirect_uri",ge.customRedirectUri||this.redirectUri);if(!this.disablePKCE){let Me;Me=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("PKCE_verifier"):this._storage.getItem("PKCE_verifier"),Me?ct=ct.set("code_verifier",Me):console.warn("No PKCE verifier found in oauth storage!")}return this.fetchAndProcessToken(ct,ge)}fetchAndProcessToken(he,ge){ge=ge||{},this.assertUrlNotNullAndCorrectProtocol(this.tokenEndpoint,"tokenEndpoint");let ct=(new g.HttpHeaders).set("Content-Type","application/x-www-form-urlencoded");if(this.useHttpBasicAuth){const Me=btoa(`${this.clientId}:${this.dummyClientSecret}`);ct=ct.set("Authorization","Basic "+Me)}return this.useHttpBasicAuth||(he=he.set("client_id",this.clientId)),!this.useHttpBasicAuth&&this.dummyClientSecret&&(he=he.set("client_secret",this.dummyClientSecret)),new Promise((Me,Ye)=>{if(this.customQueryParams)for(let De of Object.getOwnPropertyNames(this.customQueryParams))he=he.set(De,this.customQueryParams[De]);this.http.post(this.tokenEndpoint,he,{headers:ct}).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,ge.disableNonceCheck).then(F=>{this.storeIdToken(F),this.eventsSubject.next(new Ee("token_received")),this.eventsSubject.next(new Ee("token_refreshed")),Me(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")),Me(De))},De=>{console.error("Error getting token",De),this.eventsSubject.next(new G("token_refresh_error",De)),Ye(De)})})}tryLoginImplicitFlow(he=null){let ge;ge=(he=he||{}).customHashFragment?this.urlHelper.getHashFragmentParams(he.customHashFragment):this.urlHelper.getHashFragmentParams(),this.debug("parsed url",ge);const ct=ge.state;let[Me,Ye]=this.parseState(ct);if(this.state=Ye,ge.error){this.debug("error trying to login"),this.handleLoginError(he,ge);const be=new G("token_error",{},ge);return this.eventsSubject.next(be),Promise.reject(be)}const De=ge.access_token,F=ge.id_token,V=ge.session_state,Q=ge.scope;if(!this.requestAccessToken&&!this.oidc)return Promise.reject("Either requestAccessToken or oidc (or both) must be true.");if(this.requestAccessToken&&!De||this.requestAccessToken&&!he.disableOAuth2StateCheck&&!ct||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&&!he.disableNonceCheck&&!this.validateNonce(Me)){const dt=new G("invalid_nonce_in_state",null);return this.eventsSubject.next(dt),Promise.reject(dt)}return this.requestAccessToken&&this.storeAccessTokenResponse(De,null,ge.expires_in||this.fallbackAccessTokenExpirationTimeInSec,Q),this.oidc?this.processIdToken(F,De,he.disableNonceCheck).then(be=>he.validationHandler?he.validationHandler({accessToken:De,idClaims:be.idTokenClaims,idToken:be.idToken,state:ct}).then(dt=>be):be).then(be=>(this.storeIdToken(be),this.storeSessionState(V),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash(),this.eventsSubject.next(new Ee("token_received")),this.callOnTokenReceivedIfExists(he),this.inImplicitFlow=!1,!0)).catch(be=>(this.eventsSubject.next(new G("token_validation_error",be)),this.logger.error("Error validating tokens"),this.logger.error(be),Promise.reject(be))):(this.eventsSubject.next(new Ee("token_received")),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash(),this.callOnTokenReceivedIfExists(he),Promise.resolve(!0))}parseState(he){let ge=he,ct="";if(he){const Me=he.indexOf(this.config.nonceStateSeparator);Me>-1&&(ge=he.substr(0,Me),ct=he.substr(Me+this.config.nonceStateSeparator.length))}return[ge,ct]}validateNonce(he){let ge;return ge=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),ge===he||(console.error("Validating access_token failed, wrong state/nonce.",ge,he),!1)}storeIdToken(he){this._storage.setItem("id_token",he.idToken),this._storage.setItem("id_token_claims_obj",he.idTokenClaimsJson),this._storage.setItem("id_token_expires_at",""+he.idTokenExpiresAt),this._storage.setItem("id_token_stored_at",""+this.dateTimeService.now())}storeSessionState(he){this._storage.setItem("session_state",he)}getSessionState(){return this._storage.getItem("session_state")}handleLoginError(he,ge){he.onLoginError&&he.onLoginError(ge),this.clearHashAfterLogin&&!he.preventClearHashAfterLogin&&this.clearLocationHash()}getClockSkewInMsec(he=6e5){return this.clockSkewInSec||0===this.clockSkewInSec?1e3*this.clockSkewInSec:he}processIdToken(he,ge,ct=!1){const Me=he.split("."),De=re(this.padBase64(Me[0])),F=JSON.parse(De),Q=re(this.padBase64(Me[1])),be=JSON.parse(Q);let dt;if(dt=this.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.getItem("nonce"):this._storage.getItem("nonce"),Array.isArray(be.aud)){if(be.aud.every(At=>At!==this.clientId)){const At="Wrong audience: "+be.aud.join(",");return this.logger.warn(At),Promise.reject(At)}}else if(be.aud!==this.clientId){const At="Wrong audience: "+be.aud;return this.logger.warn(At),Promise.reject(At)}if(!be.sub){const At="No sub claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(this.sessionChecksEnabled&&this.silentRefreshSubject&&this.silentRefreshSubject!==be.sub){const At=`After refreshing, we got an id_token for another user (sub). Expected sub: ${this.silentRefreshSubject}, received sub: ${be.sub}`;return this.logger.warn(At),Promise.reject(At)}if(!be.iat){const At="No iat claim in id_token";return this.logger.warn(At),Promise.reject(At)}if(!this.skipIssuerCheck&&be.iss!==this.issuer){const At="Wrong issuer: "+be.iss;return this.logger.warn(At),Promise.reject(At)}if(!ct&&be.nonce!==dt){const At="Wrong nonce: "+be.nonce;return this.logger.warn(At),Promise.reject(At)}if(this.hasOwnProperty("responseType")&&("code"===this.responseType||"id_token"===this.responseType)&&(this.disableAtHashCheck=!0),!this.disableAtHashCheck&&this.requestAccessToken&&!be.at_hash){const At="An at_hash is needed!";return this.logger.warn(At),Promise.reject(At)}const Rt=this.dateTimeService.now(),qe=1e3*be.iat,nt=1e3*be.exp,Ve=this.getClockSkewInMsec();if(qe-Ve>=Rt||nt+Ve-this.decreaseExpirationBySec<=Rt){const At="Token has expired";return console.error(At),console.error({now:Rt,issuedAtMSec:qe,expiresAtMSec:nt}),Promise.reject(At)}const yt={accessToken:ge,idToken:he,jwks:this.jwks,idTokenClaims:be,idTokenHeader:F,loadKeys:()=>this.loadJwks()};return this.disableAtHashCheck?this.checkSignature(yt).then(At=>({idToken:he,idTokenClaims:be,idTokenClaimsJson:Q,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:nt})):this.checkAtHash(yt).then(At=>{if(!this.disableAtHashCheck&&this.requestAccessToken&&!At){const on="Wrong at_hash";return this.logger.warn(on),Promise.reject(on)}return this.checkSignature(yt).then(on=>{const Sn={idToken:he,idTokenClaims:be,idTokenClaimsJson:Q,idTokenHeader:F,idTokenHeaderJson:De,idTokenExpiresAt:nt};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 he=this._storage.getItem("id_token_claims_obj");return he?JSON.parse(he):null}getGrantedScopes(){const he=this._storage.getItem("granted_scopes");return he?JSON.parse(he):null}getIdToken(){return this._storage?this._storage.getItem("id_token"):null}padBase64(he){for(;he.length%4!=0;)he+="=";return he}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 he=this._storage.getItem("expires_at"),ge=this.dateTimeService.new();return!(he&&parseInt(he,10)-this.decreaseExpirationBySec=0&&null!==this._storage.getItem(he)?JSON.parse(this._storage.getItem(he)):null}authorizationHeader(){return"Bearer "+this.getAccessToken()}logOut(he={},ge=""){let ct=!1;"boolean"==typeof he&&(ct=he,he={});const Me=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||ct)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(Me)).replace(/\{\{client_id\}\}/,encodeURIComponent(this.clientId));else{let De=new g.HttpParams({encoder:new He});Me&&(De=De.set("id_token_hint",Me));const F=this.postLogoutRedirectUri||this.redirectUriAsPostLogoutRedirectUriFallback&&this.redirectUri||"";F&&(De=De.set("post_logout_redirect_uri",F),ge&&(De=De.set("state",ge)));for(let V in he)De=De.set(V,he[V]);Ye=this.logoutUrl+(this.logoutUrl.indexOf("?")>-1?"&":"?")+De.toString()}this.config.openUri(Ye)}createAndSaveNonce(){const he=this;return this.createNonce().then(function(ge){return he.saveNoncesInLocalStorage&&typeof window.localStorage<"u"?localStorage.setItem("nonce",ge):he._storage.setItem("nonce",ge),ge})}ngOnDestroy(){this.clearAccessTokenTimer(),this.clearIdTokenTimer(),this.removeSilentRefreshEventListener();const he=this.document.getElementById(this.silentRefreshIFrameName);he&&he.remove(),this.stopSessionCheckTimer(),this.removeSessionCheckEventListener();const ge=this.document.getElementById(this.sessionCheckIFrameName);ge&&ge.remove()}createNonce(){return new Promise(he=>{if(this.rngUrl)throw new Error("createNonce with rng-web-api has not been implemented so far");const ge="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~";let ct=45,Me="";const Ye=typeof self>"u"?null:self.crypto||self.msCrypto;if(Ye){let De=new Uint8Array(ct);Ye.getRandomValues(De),De.map||(De.map=Array.prototype.map),De=De.map(F=>ge.charCodeAt(F%66)),Me=String.fromCharCode.apply(null,De)}else for(;0"discovery_document_loaded"===ct.type)).subscribe(ct=>this.initCodeFlowInternal(he,ge))}initCodeFlowInternal(he="",ge={}){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 ct={},Me=null;"string"==typeof ge?Me=ge:"object"==typeof ge&&(ct=ge),this.createLoginUrl(he,Me,null,!1,ct).then(this.config.openUri).catch(Ye=>{console.error("Error in initAuthorizationCodeFlow"),console.error(Ye)})}createChallangeVerifierPairForPKCE(){var he=this;return(0,n.Z)(function*(){if(!he.crypto)throw new Error("PKCE support for code flow needs a CryptoHander. Did you import the OAuthModule using forRoot() ?");const ge=yield he.createNonce();return[ae(yield he.crypto.calcHash(ge,"sha-256")),ge]})()}extractRecognizedCustomParameters(he){let ge=new Map;return this.config.customTokenParameters&&this.config.customTokenParameters.forEach(ct=>{he[ct]&&ge.set(ct,JSON.stringify(he[ct]))}),ge}revokeTokenAndLogout(he={},ge=!1){let ct=this.revocationEndpoint,Me=this.getAccessToken(),Ye=this.getRefreshToken();if(!Me)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,Q)=>{let be,dt;if(Me){let Rt=De.set("token",Me).set("token_type_hint","access_token");be=this.http.post(ct,Rt,{headers:F})}else be=(0,f.of)(null);if(Ye){let Rt=De.set("token",Ye).set("token_type_hint","refresh_token");dt=this.http.post(ct,Rt,{headers:F})}else dt=(0,f.of)(null);ge&&(be=be.pipe((0,I.K)(Rt=>0===Rt.status?(0,f.of)(null):(0,v._)(Rt))),dt=dt.pipe((0,I.K)(Rt=>0===Rt.status?(0,f.of)(null):(0,v._)(Rt)))),(0,b.a)([be,dt]).subscribe(Rt=>{this.logOut(he),V(Rt),this.logger.info("Token successfully revoked")},Rt=>{this.logger.error("Error revoking token",Rt),this.eventsSubject.next(new G("token_revoke_error",Rt)),Q(Rt)})})}clearLocationHash(){""!=location.hash&&(location.hash="")}}return Oe.\u0275fac=function(he){return new(he||Oe)(c.\u0275\u0275inject(c.NgZone),c.\u0275\u0275inject(g.HttpClient),c.\u0275\u0275inject(H,8),c.\u0275\u0275inject(Ze,8),c.\u0275\u0275inject(ve,8),c.\u0275\u0275inject(Ge),c.\u0275\u0275inject(de),c.\u0275\u0275inject(oe,8),c.\u0275\u0275inject(d.DOCUMENT),c.\u0275\u0275inject(Ce))},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();class Te{}class et{handleError(Ke){return(0,v._)(Ke)}}let Dt=(()=>{class Oe{constructor(he,ge,ct){this.oAuthService=he,this.errorHandler=ge,this.moduleConfig=ct}checkUrl(he){return this.moduleConfig.resourceServer.customUrlValidation?this.moduleConfig.resourceServer.customUrlValidation(he):!this.moduleConfig.resourceServer.allowedUrls||!!this.moduleConfig.resourceServer.allowedUrls.find(ge=>he.toLowerCase().startsWith(ge.toLowerCase()))}intercept(he,ge){const ct=he.url.toLowerCase();return this.moduleConfig&&this.moduleConfig.resourceServer&&this.checkUrl(ct)?this.moduleConfig.resourceServer.sendAccessToken?(0,p.T)((0,f.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,f.of)(null)),(0,S.U)(Ye=>this.oAuthService.getAccessToken()))).pipe((0,$.q)(1),(0,ee.z)(Ye=>{if(Ye){const F=he.headers.set("Authorization","Bearer "+Ye);he=he.clone({headers:F})}return ge.handle(he).pipe((0,I.K)(De=>this.errorHandler.handleError(De)))})):ge.handle(he).pipe((0,I.K)(Ye=>this.errorHandler.handleError(Ye))):ge.handle(he)}}return Oe.\u0275fac=function(he){return new(he||Oe)(c.\u0275\u0275inject(ce),c.\u0275\u0275inject(Te),c.\u0275\u0275inject(A,8))},Oe.\u0275prov=c.\u0275\u0275defineInjectable({token:Oe,factory:Oe.\u0275fac}),Oe})();function _e(){return console}function ut(){return typeof sessionStorage<"u"?sessionStorage:new W}function Pe(Oe=null,Ke=ie){return(0,c.makeEnvironmentProviders)([ce,Ge,{provide:de,useFactory:_e},{provide:H,useFactory:ut},{provide:Ze,useClass:Ke},{provide:oe,useClass:K},{provide:Te,useClass:et},{provide:A,useValue:Oe},{provide:g.HTTP_INTERCEPTORS,useClass:Dt,multi:!0},{provide:Ce,useClass:Re}])}let mt=(()=>{class Oe{static forRoot(he=null,ge=ie){return{ngModule:Oe,providers:[Pe(he,ge)]}}}return Oe.\u0275fac=function(he){return new(he||Oe)},Oe.\u0275mod=c.\u0275\u0275defineNgModule({type:Oe}),Oe.\u0275inj=c.\u0275\u0275defineInjector({imports:[d.CommonModule]}),Oe})();class Ft 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 Gt=new c.InjectionToken("AUTH_CONFIG")},9256:(Ie,B,a)=>{"use strict";a.r(B),a.d(B,{Base64:()=>Ze,VERSION:()=>c,atob:()=>H,atobPolyfill:()=>de,btoa:()=>S,btoaPolyfill:()=>D,btou:()=>Ae,decode:()=>Be,encode:()=>A,encodeURI:()=>U,encodeURL:()=>U,extendBuiltins:()=>He,extendString:()=>ae,extendUint8Array:()=>ve,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,f="function"==typeof TextDecoder?new TextDecoder:void 0,h="function"==typeof TextEncoder?new TextEncoder:void 0,v=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),b=(Qe=>{let Ge={};return Qe.forEach((tt,Ct)=>Ge[tt]=Ct),Ge})(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,Ge=>"+"==Ge?"-":"_"),x=Qe=>Qe.replace(/[^A-Za-z0-9\+\/]/g,""),D=Qe=>{let Ge,tt,Ct,Nt,_t="";const Bt=Qe.length%3;for(let Tt=0;Tt255||(Ct=Qe.charCodeAt(Tt++))>255||(Nt=Qe.charCodeAt(Tt++))>255)throw new TypeError("invalid character found");Ge=tt<<16|Ct<<8|Nt,_t+=v[Ge>>18&63]+v[Ge>>12&63]+v[Ge>>6&63]+v[63&Ge]}return Bt?_t.slice(0,Bt-3)+"===".substring(Bt):_t},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 Ct=0,Nt=Qe.length;CtGe?y(E(Qe)):E(Qe),X=Qe=>{if(Qe.length<2)return(Ge=Qe.charCodeAt(0))<128?Qe:Ge<2048?_(192|Ge>>>6)+_(128|63&Ge):_(224|Ge>>>12&15)+_(128|Ge>>>6&63)+_(128|63&Ge);var Ge=65536+1024*(Qe.charCodeAt(0)-55296)+(Qe.charCodeAt(1)-56320);return _(240|Ge>>>18&7)+_(128|Ge>>>12&63)+_(128|Ge>>>6&63)+_(128|63&Ge)},$=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ee=Qe=>Qe.replace($,X),ie=r?Qe=>Buffer.from(Qe,"utf8").toString("base64"):h?Qe=>E(h.encode(Qe)):Qe=>S(ee(Qe)),A=(Qe,Ge=!1)=>Ge?y(ie(Qe)):ie(Qe),U=Qe=>A(Qe,!0),Ce=/[\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(Ce,Re),de=Qe=>{if(Qe=Qe.replace(/\s+/g,""),!p.test(Qe))throw new TypeError("malformed base64.");Qe+="==".slice(2-(3&Qe.length));let Ge,Ct,Nt,tt="";for(let _t=0;_t>16&255):64===Nt?_(Ge>>16&255,Ge>>8&255):_(Ge>>16&255,Ge>>8&255,255&Ge);return tt},H=d?Qe=>atob(x(Qe)):r?Qe=>Buffer.from(Qe,"base64").toString("binary"):de,W=r?Qe=>l(Buffer.from(Qe,"base64")):Qe=>l(H(Qe).split("").map(Ge=>Ge.charCodeAt(0))),pe=Qe=>W(Ee(Qe)),we=r?Qe=>Buffer.from(Qe,"base64").toString("utf8"):f?Qe=>f.decode(W(Qe)):Qe=>Ae(H(Qe)),Ee=Qe=>x(Qe.replace(/[-_]/g,Ge=>"-"==Ge?"+":"/")),Be=Qe=>we(Ee(Qe)),G=Qe=>{if("string"!=typeof Qe)return!1;const Ge=Qe.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(Ge)||!/[^\s0-9a-zA-Z\-_]/.test(Ge)},re=Qe=>({value:Qe,enumerable:!1,writable:!0,configurable:!0}),ae=function(){const Qe=(Ge,tt)=>Object.defineProperty(String.prototype,Ge,re(tt));Qe("fromBase64",function(){return Be(this)}),Qe("toBase64",function(Ge){return A(this,Ge)}),Qe("toBase64URI",function(){return A(this,!0)}),Qe("toBase64URL",function(){return A(this,!0)}),Qe("toUint8Array",function(){return pe(this)})},ve=function(){const Qe=(Ge,tt)=>Object.defineProperty(Uint8Array.prototype,Ge,re(tt));Qe("toBase64",function(Ge){return I(this,Ge)}),Qe("toBase64URI",function(){return I(this,!0)}),Qe("toBase64URL",function(){return I(this,!0)})},He=()=>{ae(),ve()},Ze={version:n,VERSION:c,atob:H,atobPolyfill:de,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:ae,extendUint8Array:ve,extendBuiltins:He}},4028:(Ie,B,a)=>{"use strict";function n(){const c=window,d=document;var g="hljs-ln",r="hljs-ln-line",f="hljs-ln-code",h="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 de(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,ae=Be.length;re
{6}',[r,h,u,v,f,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):Ce(G.parentNode))}}function Ce(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),ae=parseInt(G.dataset.lineNumber);if(re!=ae){var ve=Be.textContent,He=G.textContent;if(re>ae){var Ze=re;re=ae,ae=Ze,Ze=ve,ve=He,He=Ze}for(;0!==Ee.indexOf(ve);)ve=ve.slice(1);for(;-1===Ee.lastIndexOf(He);)He=He.slice(0,-1);for(var Qe=ve,Ge=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),f=a(4664),h=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,de){this.doc=Re,this.platformId=Ae,this._options=de,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,f.w)(H=>this._options&&this._options.lineNumbersLoader?(Re.defaultView.hljs=H,this.loadLineNumbers().pipe((0,h.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,f.w)(Re=>this._loadLanguages(Re)))}return(0,b._)(()=>"Highlight.js library was not imported!")}_loadLanguages(Re){const Ae=Object.entries(this._options.languages).map(([de,H])=>$(H()).pipe((0,h.b)(W=>Re.registerLanguage(de,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)(Ce=>!!Ce?.default),(0,_.U)(Ce=>Ce.default));let ee=(()=>{class U{get hljs(){return this._hljs}constructor(Re,Ae){this._loader=Re,this._hljs=null,Re.ready.subscribe(de=>{this._hljs=de,Ae&&Ae.config&&(de.configure(Ae.config),de.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))})}highlight(Re,{language:Ae,ignoreIllegals:de}){return this._loader.ready.pipe((0,_.U)(H=>H.highlight(Re,{language:Ae,ignoreIllegals:de})))}highlightAuto(Re,Ae){return this._loader.ready.pipe((0,_.U)(de=>de.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,h.b)(de=>de.registerLanguage(Re,Ae)))}unregisterLanguage(Re){return this._loader.ready.pipe((0,h.b)(Ae=>Ae.unregisterLanguage(Re)))}registerAliases(Re,{languageName:Ae}){return this._loader.ready.pipe((0,h.b)(de=>de.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,h.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,de,H,W){this._hljs=Ae,this._sanitizer=de,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(de=>{this.setInnerHTML(de?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(de)})}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,f,h,u,v){try{var b=d[u](v),p=b.value}catch(_){return void r(_)}b.done?g(p):Promise.resolve(p).then(f,h)}function c(d){return function(){var g=this,r=arguments;return new Promise(function(f,h){var u=d.apply(g,r);function v(p){n(u,f,h,v,b,"next",p)}function b(p){n(u,f,h,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(f){return typeof f}:function(f){return f&&"function"==typeof Symbol&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f})(r)}function g(r,f,h){return(f=function d(r){var f=function c(r,f){if("object"!==n(r)||null===r)return r;var h=r[Symbol.toPrimitive];if(void 0!==h){var u=h.call(r,f||"default");if("object"!==n(u))return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===f?String:Number)(r)}(r,"string");return"symbol"===n(f)?f:String(f)}(f))in r?Object.defineProperty(r,f,{value:h,enumerable:!0,configurable:!0,writable:!0}):r[f]=h,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.59","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 From af0f3ab5b8fd4bc1ac9029afb45d1effef67c820 Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Fri, 10 Nov 2023 15:28:56 +0100 Subject: [PATCH 27/29] Reformat code --- .../mag/mhd/iti67/Iti67ResponseConverter.java | 263 +++++++++--------- 1 file changed, 132 insertions(+), 131 deletions(-) diff --git a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java index cfe64c6f..ddfae984 100644 --- a/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java +++ b/src/main/java/ch/bfh/ti/i4mi/mag/mhd/iti67/Iti67ResponseConverter.java @@ -15,114 +15,100 @@ */ package ch.bfh.ti.i4mi.mag.mhd.iti67; -import java.util.ArrayList; -import java.util.Date; -import java.util.HashMap; -import java.util.List; -import java.util.ListIterator; -import java.util.Map; - -import org.hl7.fhir.r4.model.Bundle; -import org.hl7.fhir.r4.model.Attachment; -import org.hl7.fhir.r4.model.DocumentReference; +import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.rest.client.impl.GenericClient; +import ch.bfh.ti.i4mi.mag.Config; +import ch.bfh.ti.i4mi.mag.mhd.BaseQueryResponseConverter; +import org.hl7.fhir.r4.model.*; import org.hl7.fhir.r4.model.DocumentReference.DocumentReferenceContentComponent; import org.hl7.fhir.r4.model.DocumentReference.DocumentReferenceContextComponent; import org.hl7.fhir.r4.model.DocumentReference.DocumentReferenceRelatesToComponent; import org.hl7.fhir.r4.model.DocumentReference.DocumentRelationshipType; -import org.hl7.fhir.r4.model.Enumerations; import org.hl7.fhir.r4.model.Enumerations.DocumentReferenceStatus; -import org.hl7.fhir.r4.model.Identifier; import org.hl7.fhir.r4.model.Identifier.IdentifierUse; -import org.hl7.fhir.r4.model.Patient; -import org.hl7.fhir.r4.model.Period; -import org.hl7.fhir.r4.model.Practitioner; -import org.hl7.fhir.r4.model.PractitionerRole; -import org.hl7.fhir.r4.model.Reference; -import org.hl7.fhir.r4.model.codesystems.AdministrativeGender; import org.openehealth.ipf.commons.ihe.xds.core.metadata.Address; -import org.openehealth.ipf.commons.ihe.xds.core.metadata.Association; -import org.openehealth.ipf.commons.ihe.xds.core.metadata.AssociationType; -import org.openehealth.ipf.commons.ihe.xds.core.metadata.Author; -import org.openehealth.ipf.commons.ihe.xds.core.metadata.AvailabilityStatus; -import org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntry; -import org.openehealth.ipf.commons.ihe.xds.core.metadata.Identifiable; -import org.openehealth.ipf.commons.ihe.xds.core.metadata.Name; -import org.openehealth.ipf.commons.ihe.xds.core.metadata.Organization; -import org.openehealth.ipf.commons.ihe.xds.core.metadata.PatientInfo; import org.openehealth.ipf.commons.ihe.xds.core.metadata.Person; -import org.openehealth.ipf.commons.ihe.xds.core.metadata.ReferenceId; -import org.openehealth.ipf.commons.ihe.xds.core.metadata.Telecom; +import org.openehealth.ipf.commons.ihe.xds.core.metadata.*; import org.openehealth.ipf.commons.ihe.xds.core.responses.QueryResponse; import org.openehealth.ipf.commons.ihe.xds.core.responses.Status; import org.owasp.esapi.codecs.Hex; -import ca.uhn.fhir.context.FhirContext; -import ca.uhn.fhir.rest.client.impl.GenericClient; -import ch.bfh.ti.i4mi.mag.Config; -import ch.bfh.ti.i4mi.mag.mhd.BaseQueryResponseConverter; +import java.util.*; /** * ITI-67 from ITI-18 response converter - * @author alexander kreutz * + * @author alexander kreutz */ public class Iti67ResponseConverter extends BaseQueryResponseConverter { - public Iti67ResponseConverter(final Config config) { - super(config); - } + public Iti67ResponseConverter(final Config config) { + super(config); + } @Override public List translateToFhir(QueryResponse input, Map parameters) { ArrayList list = new ArrayList(); if (input != null && Status.SUCCESS.equals(input.getStatus())) { - - // process relationship association - Map> relatesToMapping = new HashMap>(); - for (Association association : input.getAssociations()) { - + + // process relationship association + Map> relatesToMapping = new HashMap>(); + for (Association association : input.getAssociations()) { + // Relationship type -> relatesTo.code code [1..1] // relationship reference -> relatesTo.target Reference(DocumentReference) - String source = association.getSourceUuid(); - String target = association.getTargetUuid(); - AssociationType type = association.getAssociationType(); - - DocumentReferenceRelatesToComponent relatesTo = new DocumentReferenceRelatesToComponent(); - if (type!=null) switch(type) { - case APPEND:relatesTo.setCode(DocumentRelationshipType.APPENDS);break; - case REPLACE:relatesTo.setCode(DocumentRelationshipType.REPLACES);break; - case TRANSFORM:relatesTo.setCode(DocumentRelationshipType.TRANSFORMS);break; - case SIGNS:relatesTo.setCode(DocumentRelationshipType.SIGNS);break; - } - relatesTo.setTarget(new Reference().setReference("urn:oid:"+target)); - - if (!relatesToMapping.containsKey(source)) relatesToMapping.put(source, new ArrayList()); - relatesToMapping.get(source).add(relatesTo); - } - - + String source = association.getSourceUuid(); + String target = association.getTargetUuid(); + AssociationType type = association.getAssociationType(); + + DocumentReferenceRelatesToComponent relatesTo = new DocumentReferenceRelatesToComponent(); + if (type != null) switch (type) { + case APPEND: + relatesTo.setCode(DocumentRelationshipType.APPENDS); + break; + case REPLACE: + relatesTo.setCode(DocumentRelationshipType.REPLACES); + break; + case TRANSFORM: + relatesTo.setCode(DocumentRelationshipType.TRANSFORMS); + break; + case SIGNS: + relatesTo.setCode(DocumentRelationshipType.SIGNS); + break; + } + relatesTo.setTarget(new Reference().setReference("urn:oid:" + target)); + + if (!relatesToMapping.containsKey(source)) + relatesToMapping.put(source, new ArrayList()); + relatesToMapping.get(source).add(relatesTo); + } + + if (input.getDocumentEntries() != null) { for (DocumentEntry documentEntry : input.getDocumentEntries()) { DocumentReference documentReference = new DocumentReference(); - + documentReference.setId(noUuidPrefix(documentEntry.getEntryUuid())); // FIXME do we need to cache this id in - // relation to the DocumentManifest itself - // for + // relation to the DocumentManifest itself + // for list.add(documentReference); // limitedMetadata -> meta.profile canonical [0..*] if (documentEntry.isLimitedMetadata()) { - documentReference.getMeta().addProfile("https://ihe.net/fhir/StructureDefinition/IHE_MHD_Query_Comprehensive_DocumentReference"); + documentReference.getMeta().addProfile( + "https://ihe.net/fhir/StructureDefinition/IHE_MHD_Query_Comprehensive_DocumentReference"); } else { - documentReference.getMeta().addProfile("https://ihe.net/fhir/StructureDefinition/IHE_MHD_Comprehensive_DocumentManifest"); + documentReference.getMeta().addProfile( + "https://ihe.net/fhir/StructureDefinition/IHE_MHD_Comprehensive_DocumentManifest"); } - + // uniqueId -> masterIdentifier Identifier [0..1] [1..1] if (documentEntry.getUniqueId() != null) { documentReference.setMasterIdentifier( - (new Identifier().setValue("urn:oid:" + documentEntry.getUniqueId())).setSystem("urn:ietf:rfc:3986")); + (new Identifier().setValue("urn:oid:" + documentEntry.getUniqueId())).setSystem( + "urn:ietf:rfc:3986")); } // entryUUID -> identifier Identifier [0..*] @@ -156,19 +142,26 @@ public List translateToFhir(QueryResponse input, Map0) { - Reference result = new Reference(); + final var bundle = (Bundle) client.search() + .forResource(Patient.class) + .where(Patient.IDENTIFIER.exactly().systemAndIdentifier("urn:oid:" + patient.getAssigningAuthority().getUniversalId(), + patient.getId())) + .returnBundle(Bundle.class) + .execute(); + if (!bundle.getEntry().isEmpty()) { + final var result = new Reference(); result.setReference(bundle.getEntry().get(0).getFullUrl()); documentReference.setSubject(result); - } + } } else { - documentReference.setSubject(transformPatient(patient)); + documentReference.setSubject(transformPatient(patient)); } } @@ -181,24 +174,24 @@ public List translateToFhir(QueryResponse input, Map author Reference(Practitioner| // PractitionerRole| Organization| Device| Patient| RelatedPerson) [0..*] if (documentEntry.getAuthors() != null) { - for (Author author : documentEntry.getAuthors()) { - documentReference.addAuthor(transformAuthor(author)); - } + for (Author author : documentEntry.getAuthors()) { + documentReference.addAuthor(transformAuthor(author)); + } } - + // legalAuthenticator -> authenticator Note 1 // Reference(Practitioner|Practition erRole|Organization [0..1] Person person = documentEntry.getLegalAuthenticator(); if (person != null) { - Practitioner practitioner = transformPractitioner(person); - documentReference.setAuthenticator((Reference) new Reference().setResource(practitioner)); + Practitioner practitioner = transformPractitioner(person); + documentReference.setAuthenticator((Reference) new Reference().setResource(practitioner)); } - + // Relationship Association -> relatesTo [0..*] // [1..1] - documentReference.setRelatesTo(relatesToMapping.get(documentEntry.getEntryUuid())); + documentReference.setRelatesTo(relatesToMapping.get(documentEntry.getEntryUuid())); + - // confidentialityCode -> securityLabel CodeableConcept [0..*] Note: This // is NOT the DocumentReference.meta, as that holds the meta tags for the // DocumentReference itself. @@ -209,13 +202,13 @@ public List translateToFhir(QueryResponse input, Map content.attachment.title string [0..1] if (documentEntry.getTitle() != null) { attachment.setTitle(documentEntry.getTitle().getValue()); } - + // mimeType -> content.attachment.contentType [1..1] code [0..1] if (documentEntry.getMimeType() != null) { attachment.setContentType(documentEntry.getMimeType()); @@ -231,7 +224,7 @@ public List translateToFhir(QueryResponse input, Map names = sourcePatientInfo.getNames(); - while (names.hasNext()) { - Name name = names.next(); - if (name != null) sourcePatient.addName(transform(name)); - } - ListIterator
addresses = sourcePatientInfo.getAddresses(); - while(addresses.hasNext()) { - Address address = addresses.next(); - if (address != null) sourcePatient.addAddress(transform(address)); - } + sourcePatient.setBirthDateElement(transformToDate(sourcePatientInfo.getDateOfBirth())); + String gender = sourcePatientInfo.getGender(); + if (gender != null) { + switch (gender) { + case "F": + sourcePatient.setGender(Enumerations.AdministrativeGender.FEMALE); + break; + case "M": + sourcePatient.setGender(Enumerations.AdministrativeGender.MALE); + break; + case "U": + sourcePatient.setGender(Enumerations.AdministrativeGender.UNKNOWN); + break; + case "A": + sourcePatient.setGender(Enumerations.AdministrativeGender.OTHER); + break; + } + } + ListIterator names = sourcePatientInfo.getNames(); + while (names.hasNext()) { + Name name = names.next(); + if (name != null) sourcePatient.addName(transform(name)); + } + ListIterator
addresses = sourcePatientInfo.getAddresses(); + while (addresses.hasNext()) { + Address address = addresses.next(); + if (address != null) sourcePatient.addAddress(transform(address)); + } } - + if (sourcePatientId != null || sourcePatientInfo != null) { - context.getSourcePatientInfo().setResource(sourcePatient); + context.getSourcePatientInfo().setResource(sourcePatient); } - + } } } else { - processError(input); + processError(input); } return list; } From f013d905e00968e1d562e583e6820e51c4522c25 Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Tue, 21 Nov 2023 10:07:01 +0100 Subject: [PATCH 28/29] Add authentication diagram --- docs/assets/auth.png | Bin 0 -> 84348 bytes docs/assets/auth.uml.txt | 68 +++++++++++++++++++++++++++++ docs/integration-primary-system.md | 7 ++- 3 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 docs/assets/auth.png create mode 100644 docs/assets/auth.uml.txt diff --git a/docs/assets/auth.png b/docs/assets/auth.png new file mode 100644 index 0000000000000000000000000000000000000000..d7eb71b3919c8b17226066c53f1636d072630999 GIT binary patch literal 84348 zcmdSBbyU>b`!H*wI=(C}ns9>LJi z&<(+VtyeFDcTCAL^1we#4wC8)hSoOD&y7tS(4>v6jP3LtjE!gvoN3G)9Bk|b*x7BK z>svWET0Unpw6=WF+er;B;cgCBclhglv`gSRFWe?1fFqud9}~Z`EmT@$ImHK*vQcOd06TTN7G zpKvkaxvqs7k-d>?hhKj6mPWq9GX9fN@~bE5_NVXI47dd+z6oVZv)stXGIc0jO?)2S!g$Znc^dER z!Sf1@3i;HFqO>;zsbZ2nBS9(iMM=`o1+n2#XL&2GG^Xfh{_IbJcICOBP#oe`LeihJ z4I|LX%x$i@RTbb8klS~3!sc$0^1WppcC^fCHyRR6YvJl;$KZd%6;Cfzim5@SqRhy> zenOC9$%Sv(s9G#sNtvbXbZ`|;Z+3J}a9wA(KL+8);d?U5{03?Eq;jHAXK-Tm^~b@) zVEG4Fg3h?JSIgwTs570`CB-sa%9FR|P0m*D7#Ze~2!|whnTRPqbCpAAD{nZOR2#nu zD3of)JJ%t$2jQTlmiJ1_XT06Hh*xY?SMNNZRNhM(BaL6yn9&{W(F4->+MqeZM@3aW_!o9!-vqZ-+usicpEVmeVV{M|n;Ev_ab;a!OYOB? zn9ZEzKTPJk=Kplz#@Bn3g9Vep8TTo4z0RieutuERKXa(uk$5zof5=i|IH*_NDBz_m zwO-W3Hagh&@-x~+wi~vZK~E$J^Hb^d27wAK$*KhG@}9)B+dh6`w=H)7|3eovG%qySN8<38I;$VB zUXnZ+X&bz{6i7fr^CX0UfZ!pq0h&*=0S)a<^cqISCj_J{iL}B{!cba0aTc%3P{LUx zIb`5rG}Y6PDe+DZKVgoI8Wk&^_{k4rlNTHOiV1=T6Rz{!tF^8df`TPmMPQGEpCq5) zVpR43Kg>#qpZ|*8VwC*(A_*^o_UDVwSD=JHUznjIul{^d`U-~e^Tk&&$ge-QOd>(0 z4Ky#F|NF~Oc?U=GPQ84%)GmDe+8mfJ%c+{m#~%d5#lE!k2IlkOYHW~CM^^&$hw?fI_gjiNTH z)LB;kGAuMSO)qd8>g$u$(NR&KnrHpeaB+STb98Gdix6jlu7)_9y93xaj2a#(UZ+9qYws?aRAie}f1!nzYVSnGPw-Yx^n zLBDcMFM2kTu5z|ej_uu-eC_d4^TEta#;>9WGKy~TVd1K*B8uV+WWpE5OZmZio1`=w9Iiu z75bV-MMY(a-Y}X{(shfmnUu=wjMOHX(#hTbygz_W-bDdp$Dq-{}E3U@>w9v*sQ;%?7pKgoGX?(grfrIIE? zc&-z(LTYmhQWVLo1{2E$Z#(byOCN=e6DtbY9;|C`dt96yOw^h6r;tPq-LSUsol&UW zou%ZrdsDmeB`;M0AwO4a+y!$!KRtq{bM?OGH|&52Ur%vXh2%_DJK5jt6F!(&8!u-S z$dIwV|PuG1IXHhQ{v(Qa>(f z(NX3mPDIMfV4ie5v`rq=UcPWU$#t51yZ0zj#61%PtMSwjaga-7F3H*1*-^DJwnrUb zTg>uJZUm2kehah+1j=feBxKo=>2N;Yx?QtSPyDMRSTe-~p{11-Il&p>-UQ)zFdKst zm}5+np5~E1**R^o<@iT< z0>6E_geN1<9@Ejdsln0qoR7}VZBxF{$(5<5*gWwM@vTsB1(=M1fq$v^w*V%O8W`<_X+cC6~#^)Q>;%*H;bU3 z_EtuiYc3-h|5%%bGi&% zkmtqvkE=+T2sZ7w@!hrYXr5|^rKWg?A=oWjm$>Q>rULD1)f`pU^=kWt$3AM43B0YY zrK3?`w~nLI*D1Px#_X&S3~_#bZfk1`fk1BYTBRK~`{9q|Y4YmUxutE+cgLoFrbZ}; z&w-npcHOAuFz!@h4D(Nuo_1ciT~`-rC=cVmOQx}SI6JRq7sq8zL_v{tPH{6}Pt6X8 zj78>aIau9Xgtxc%DDo=(6ntm9i`_oH(thEoQFf_XfzGyx_b!*yodO}({pVn5+;i~- zsfAuDl>}5t6-o#6ph6sHjaLf|ZS(p0`N>B3Jw>}CkXi3~%MvYV=Yc{}fC+Z%w?M55 zn>%2@va+%ug|X?>@O3;A6&0;xCkAB&1Jt61Ta~syqz2O!3=IusX{4m3MbCBz!7?lH zfErYQ_5XR1nw5p3uJ3+!?(5dK*4odor4-oXFUB*@n8C)8Ijr5D_^$BR?B8Td#C6B{6zK zD;SfW0(?+?FiRo@oUs!5uyaI4^> z?y!@;hDIKK4|#Zg@_IORqLs&><*M;hEAOl?+9NkqoytGK>BtN_c5KePX>~-j5`&Fq zPy<#%`08gnj&S=9Pv$-NeaZTyx6$|`3v{u3574x(MWpD*SWG$w>N`3;ljlYa7k`AE zab~W0??{H>G5Ah&q}h%1r%u|2>XVZTZxQm4OqwYrxa?|(!g<W0-5nD(ZrlC0J(2n>&Q$rjN-bS}D?6d`?{A>7ee#FeHhM>< zfwCq8uckCx7fjv#GO6Dzf_?qE$jeRksWb^CC8bKcIpmcbRm)^zLCdd{j=GiDLprHa z3d=)T1({kOpQD#utXGd|eEDECRkN|!kGovw{2+JTDsbv;kIVhhrlzL-H9`6(+iz)K ztP3$c!I>g^vDUdfS*`1X6Dc7fu|0>&qEllO&tq=C!1koPyGecf(JmRuktRhnwyy5< z=H^>aRqMAtRaZMvt8tmo(xoOi&yVG4;%6Eb`$yx~x~UdSea+Q?%FAE!^t@PHjA>~R zP|4^`b1|>Cz^LU?_sI7Mlcc>L&zI# zQGZMJc+;S82bqINZpiq26dvoM0peX%`sXL&z}E^eOI^AkZ@WEBXzY(%EW~v(!u;0#OJ5wHkj=VQ~)x|sx6_@WyB4!djO$M>* zASxcYYV7`G*D3={xA8?!VX2>fq`fp_rQq8%yj5#qKTSce?u1LqBu^btDIZ{*quMu| z8Oo>MM3SGZ*irUuB>d)};NztMd@PJvW~~aD0v&gJYLT`*Z%*gM&l<2qfZ)QtDFqzT z#a?-rvODX_8e6P;ixBwv`oc1Ev7-5P-HPbSH^z2)svK|0G}1ROuYb8J#e#q1<}H7J z#|mF*lE4R*Fp?Tpp}nDcP)V2rbvkz0o*RO2{W(3IqG*FjOe*Ot?w6H$8B)s?JUu;c z1}+zB@Uv3K9fcgH9U_9qaDGtEQinWWqUW_WK&!Z63Tf?66%7t%cbRQ>j?2WvY3aPj z)JJg_Sn(KL?znh19@$L=A-Vx`!rw+9P}5 zQafakFlE|Wz4*1v>Fl@zo^;o|D8nm_&hzj)`4KU{-LFW`<e&F6Ch_Se)UW0qgsA%2R6=iu97gyBnkdpp=)EDs$hE^7k2!r%m zpy<9=r211@Ek^R&n3U>_K&m$*fW?w2_Y^LZ^5PnH5cg{;*})MT^`dD?$rnfau_811 zI<<}``wy4R?1sYz0CL*MQW;)Ot5dmP?%-9$Q?tfN6oIa8R8)Ycao(r{B z!A*x5cV|a9Fn*|hmb3baBZAZrT$f~o8AZB7D*y!M6aCa)k_pe^P)YAr2kq_VcSG3# zx6>`t3E1kB_>*47#wxk}j(dp_^6ALuU zUq21Hbr2~L8qjA{{eoRuN=litRWYi4+7h$6y?82HhW)^G1Fy6A+yi5+X?j|B=kN9E z#JZLxTvx$3JQx=HW4wvlb2XU*?_O9;j+*skq5eUi=*2zmJ?EziP8%ZWQ*@ug7LqHI zjLadD=Y;PgnRy4tL+1--`4l0&31^yJQCYck7@V`DrRgsl`Tr?n502fEcs> z_Y&ane2tQxg~lCXp@2;J90@(W^TWdw^ed-Mm_)9_^L3oi!u7EJYU~eKb+VzBBl#>u z`lrGLHO5k(7I8?KLesBdV`r)6`8wbYL~&*vaJC~*3D-#Y5UN}ySgo2@<-!Xw0Wi!S zgHF}jIV!4~a+<6?bL?3`?Or<_DM0dOEm4fh*_PwGx}Ms}i>;`A2NqD{DYU=sxNCgZ zL>&pe>~0h38TI)VA`T=OuAQ+`b8DAlIZ!pP;`MuZx#0`LXXc`-nMArXBU4ywXMX~` zA1{$Hss5(LqrW3@Lbe5$zb{|5UiAq?7kB#2q8oAve(tzX z9r+r!3K8m#7XM4%43bFjn&B(?&#wK?m-&Q-TvP|8+xY(v;8Z>#Vg`%)nliqv+Sjcg z(V*hu-Ow8y4^ifESd{K8L7Tw(4U1cGp+Q}K0Xv~AZNIw(3JN-a7-9Gh(PQr@N<7bx zOaW$Z0^Cr><1=MfVHVPjzcFEc1YA8ee0Uaphrn~_cLt5(jI)T{Zy_aqK|DB37qM9Ro3`|H;*n(_H4iLWyer(<|cia}g%{~vwuMlOl%c)>~| zKh_oR?^u*U*jSO+Dwi9quBrZ_EgMSzH&i4Tk=2Rge~c)w5lSdZ|IOt;?toFU0DXb- z##LWx8$Jd~IDm~+W`tH^iXlQ*0 zlAEJgH6!j@$Xplg6Jlzs5}^=r`GCd9@< zg5|s8xO1M56>FggyR5Uu*H~FK;CgT0UWMh5>DxGR7`6rFJuS;7x%iy?5CB0xeCjA> zxgM{NMq$#sz5HlwXn!s|mHNLPC!W{(Xw18G| z<(lX>8+pD=`4}R!7lu+unacsQB`b17xo-okUyB{xQM7{UU3BQxz zx?VY=;~Izq00^^kN{iF9`@OPz$V~FjVJZyH(mU_bzuo+E+XPZX((0-RIV^_Mz-$$i z2SUTVCq7!<8kQEJp{1o|WLyONH9`~HS>=p-9dOG#O}Ol*fS^%`o<8TK7xPi1c7hv;(08@$vgr}wvRGD2bD0cRCkNtJ8XAPU^*W2E_?tBBe zq{nLlN3_rd3vB}`3k1&KV4~-_bHFmk)H@1JP=_A*tgb%K7PXyuQxh$@_t`%I29^oZ zx-?aL(jH1@USc=b`T7bTA~@KzfUiP;Vy5?lAd0i&enw_|zMNCgIj+Lta*37SILzt4 z2FRY($p=9vD|PizP<0ymL`;p09!W}`9W5kAVHxBAUJ#H^!tTcofR)zqJab$h21Idb zX(^yem5+w9R07D^qrNU=l7M|hK}ktTNLb{4^5X02WHoQ(c-gai+yodS@}CT91xAy^ zUx$Q*03OsPP>7<(i|iIh2c63TB^tTczh#=sWUNo&8INxd1f&sy-~*)W<9ySi*5F&9 z#RDw=j!JV2QZ8D+X`S-cExFoGfDSB%7_;1iprK|H6}DPh6QDz6`I5MlYy$eIz*$l- z0ACt&xhZHQlPveP5f?hgjQrilI{f_RJ8AYK8_yJeW&=M%9b~4T#E~;Ub5QQvj<>Rj zAL@=5Es#KdKtrRk7K2m?Ct4kH>FIe*qtzpRFnJWO6Kffu1RAeYFW4@IRNk$*lVocL zDTk&7?9gUfTmPSO&htzrhVL;pO0oCp(N;f!OD@ealHJxK;bRQpPTBCQ(|_2E z2xQ_hSi4%6&iKXKfF12Rh6>fcRDjE2^4F+{D7p9;ja?8kB9cX9B(9fiXkxbixiG*A zYjMtG^2jDxH^~&4-dot3J9Gprrc@)Ur`h5AahIuG7W$BIaCf4LcfC8hrpFxX*6 z(1!fHwM3#qP00Fqc>&nKKyc{;!WbM5x3k-R&u>p+spGaKNe1hQ=T)n~FtcFqf${?u zeR;I#hw~G;RtC}vspXd$wtD?BnpGn9|vO zy3QRXMcufep0C9Z6NNRrLdTKYo7bZ6znL?w8IiW0}18GgxW7 z;>O3FdXovz@1I9HL9UjKM@e~VQc_pS9av6Rcb129BH4uqW*SwfZutC!P@SYo2(jxR z8VVI5WNcb7F107?)v%tR+k)zxTRy_xa6-!$tD{9A)4~~5(%%iK=jW3QQfSf>2NH8+d8sx8XB(c>9>_emB^^wqU@R(H9}y7&RGpo* zcW~MKz+1eqvFYi=(!KI&kFMHu`B*#fHK2krS&tTq*RlJ32GSj30>t!O&UL${*BL_h zaejiv2wFt^*n1`_A5xq(o(dyb$dV#dP;Pd5u)P+BL24Gx*b$c+V)AsK&nDHA9g-%CvU2293^jm=edim5vkrXnOdY7tNuX}$uO>uwRC zZw_ZW!ndPfPGn^hp-Go5Vf5CB9eC>1{LJs}ft37V+VIVysgw5jrKKei)g@IxMw6*h zInNS)P3tTz<$@$V^peLwdnxqKY8Ed-KucX@*jC|7s`%&;#_)RqMLNpVx=Gk$3fx&=UHnxN>#seM*;4gCYN&oud2U=RQ_ zRtUY^{I#c0+FnHD?@k~cE|4~w*^W0=}w<$<)^mew;dbx7rn;WB%(GSm}!VF zq3K)(NeHB4mQ@u*%T%qauE)`wK`R0i1LKjD6o7AM;4fEQX8i9ln$)`N&923BKa+}l zk_}JZ9ze=DnB9y%lM--DVp-|M%b zoOxiWx)j9Z<=+)UeMeV%z9sJQQ~vw6fo-zxFxgUg&_^cGbV|NPYb;bY8e zZFyGc%yQprfVD21M1%O}&m4!#O~RpIc*Lg~r7_Ej3eKXvMnnpO-`B zf0Z6CVb=CV=Xf4Vs2{@EGb!Xyy28qjwqWM; znAgz*|hBEN#_3KgVDlEz=Z|2<*w{vYyKwG<=UQD=2l0>3^Upm%}XHJqO?%!A6{YM}# zmFsE|a38^32?+^1Iy###f^==ups7=k`i6_yqXSQ}6 ztNBKJc{eT|UZt&la1|blT6%)QzQ3eOo^FE;NIJ`j-J3T+P@{mmBZ(5CA%%Nx_}MN0 zD<8joqq)gBV4`CbD3+NO*^|`hz8*XbX&$z`AW2RlfU1X1C!?n-# zO-+1&J;BCf;rR72dNPGFk4w!cJeeM6j_OGSaHxTkPAABv^I5*-bDW+#I&`fJ1Qv+e ziOTBwNB${Ka#S-_GO7d~TPf7)I$nMe^U!;urflSnEy;W+G_*IeDy+wtztG<)gE!ue z`9H1>I-VgF9c#<#i~-7;qrq<5xvprSQD^Ja4(xYhu2wnlml(F08XBa~(lrY@n7QwL zecYoIC!tUjtxN7kdh=$n;es_Vu*C|JG0hZe*A=JAMVD4oTplVmX!R?9{y{qO$GvMQ zElo`ljDD(l2?EX*weud8_m2Yf)1CLXT5(7RCxeEmph`=PxzuSHj6xMOc14UFjUY zoz{>Ihg^KR^?@(f1fyqCw%?_C3PDsMd}{y3NYrJuzFBtB(#*XlMs zkgC3TyXa6;0357b75Mr>k>*E`uBr7zMJPu-ij>s9rTOtWHXdHB^G^D}_v@J%ZdQ>q zp{Y5}_H)@wmoA;d4_CSwfH9%=B+BNj0Jjbi82IH{WGYO^!+^E*?vdo2Y`7n2SPCD7 zj4#!%*Sl$!_oxkZSuPcC07`M)d@ULmh%_@%gXzI{vhKZ2suaA=F<)}NwdM0AFA=$( ze@~=B3@TF+n+^$*bU&Bf=nOXd6r3o#pu*9p+^!fjC6`tHO#J-bDMrfeSOeH>-|;U_KKP=#*P512MfI0 z`%;D28U0nv$@JrkhWw!+_>w0!6YV=ne%Nu_U|eIl<@gt1F0H8GgTVnZ1N<5&NBMKF z9^ppz*Eri}NArLio5PE+&5MAjn1HI-`ScEsd5ko2QGZqyl1&bO`Ynrqf})ph(09^xrn>(P8>tyg*G^{RjzLgaMPdnP=vEpJNv}i!*|5#>H9epV_ND9b04!3nPMDd@Uo6V!aTDKD@2_p2~W8k90OE`lEr$ zXLKu=73wkMO@;8|1is2%=@*w)6IQdSM7xM?!~~Pv&=m8k-^I)^ayyef<_QmE zzc{_WrgEMYO)s}`f$vaxRf!}GBfam&LqVcPpC>+$q`|ZNrd$iECt5!W+h5{F#q893 z-V0nwk!?PlvE*of6W#3cv$&M`zk+HdFn&IBNA1RK$&2#>Qbqzv`^4r9{ww>tq%Y1q5#*RE;RpPx5%yC&BSkSc*L`~2)gGk2x}u<;KbJc!Wr zyMB9d!p_D%%n2zo7sYxDi7XRxwb~J0iB7)I5PHH%a$q@H*vr|+MQbZIcZLt2gx)@QSRQ z&|l~Rq&?<*WrX3UcUwj0x5Qf4oV>5b-jBa#vl(qJW;08%hY3v|LR;x729nJ+_ zP8`14o?M$Oe{&sZQxSWuBi_Ax_x3F?Du}N6aI2=h zyEv)82zMf9ZcUXAMp0pT$GXF51KzJ+vsS_pB!RqYc~40R2*i9;G9D|R0a2vV<9K)J zbin51?Bt-Ux+`)9^z|s`XbtQLbaem)0SB?+2+(iZ>C3nP&?ES;tygG9-0rpe8*tV|3_kByDXRhzl(S zyttT{8@F%Y)~{VibdiM)Ng*?>J_5%*lUA)uj9f9p0w~>GJxeHF@M$VKl_1^HUxTP3KdYvGE6`Z_e9_g;jR|oLSYjb zzs6wzgAD)+w2TjM+8&>rgg4A>bb^+svzCLCGs|Yao5D)e^Zd+@KFb4mX}8ZTm_#ko zE7JK4KV3WGmh4$Cx0*yT9iTz@#6~M97+-Vm@%s=9c^{X~hma<{{0DohgFur1yX8sG zz@!i^2qraUZUsH5N<2{7!cW6SoC=!=m%rq7#cyA6X#}N#jEsyy_(a~o>hy3+#90*q zk{s~2%x#q6QwhoR0OrxG$b)_|NgRD$GL(*v4(r+t8x)0>n+rru`?K%Oep!WpJi3m| zI(?Y|+K{ZQEU@(ie~CX+E-S3H`!%r%2~%mZ#9wb$#{fY!9f{of9)6t0$#QTr;D0;z zC;t4}5Rtthm7#PHI|!Hc9I;6;&O>kw8EaA&^^m)CXO>?}m)Pr14V;sT()@hh)g*nWgo{X)qa)P1fpsE9v%4=+TkmdO znCbI8A5C%)^a~a_mZ`c#$VX5HgI@^vcRk;Ua!yXZa~d$n#?z{pSvW^ejjl-7{r(E_ z>MG#TQRK^#xwsUNKC)t<5JXRwzd2K@R_uJi!B{lwL7vig{jB-z$lGZeq!ib0PAr@| zo|vcN|(Ra2&>9ZOz9 z_h8)qelm89r{jO~`}<`p^H zYLAz3munlep8tVbekm`c!pQcE*1I6VKJ@z%HgRXHzvxHFg9pl?q2J-`XHLYD)7I%h zjG7;f^z=l+xLvflF7n=LX$Mm7>GY@gfGjif0~e2atJf!BJag6l!atLsxah}~#W_RQ z>urj;mP48O-*n?;j%;4tRRf157z3AwnIY$GNdm&+amg z780I)y2!3jWu2>+oWIDge%VoekbBV#DwQts+jfpaT%%>*t2B!oRmFb&gw83Y5);zO z>*3TvY5&?arM#bG9bUq&TAWM0DtRv%bT#GYQ%;BN*#@mR1=II66YfaLC@LmPoE-`mPnaS9ZkXu3O1(PQ3mY33W25-&S`+D4*<>Hoeyi*h7wD!C^mUA{d zO0Npg5s6C%o#W;XJ2BQZw_1RHD#AEXjf~`pWj_g%Vw?~c6O%Xh))&hIPs?)<;FPBG zxmzG`2nqF%cCe=E3@^x6?)&|FwnmYRBT|&i;&wTwcH>hvAP*pO?XZK~V^_t5=k_9I zB6BV>1It!S!ip;o#C$@w_2|wBf42s8VNVBEij7xI3{S3}&FNF0=L( zyDREK&(-EuJj5=kd6tq3Us?ronVal641^lj!%%t9gD?3}vlZEo&>lUO6(oZYwao;# za7i96uLN%_X{ii#lg+!R^oa<|{|kAMxljuvzP6y-h6V=UtPJpl0Ah?gV2^sNwYAk9 zP*)Sa%Rn3e%n~^zAbeUTNxuCB0E7n1^y95ZQw}-R*{b6$M5<2GnG?;s1C@d zU<%Gp3$L~Z-_e<|n*u_-G_|ns{_;4mvx97Fdj|Rhpw>xXNsNKxFt*@;j!UGAD>b(T zygx;9iD2f(52Svs2Bfh~#Bq5D==)c$T!DRbY2?ON*f}U~&5#N016603Jv=};kxUrL zsQo-%#84izL2$mv+E>fLiRw8zmr32}ozq6ik~4wdngxDVTk9vR_jaC7iE_* zQ!;C82PrkZ$75dK9w8YnR-94~P0#^zIm@s|AAmrBJ1G{r{Hp`eA^!*hXDMe58rjLT z{@-WvCu9JomEW$FH!{CmD;;~lkP!6t?IdeD*UPg>p@Pu>&=L7slcDa%!4|_zb?3)&s}^I$%1@uld1OXKeDNex9A0IPc5%^O z9`QW&A%6;T%1Qxeyv2y>RL0BA&o~y&J708QlGON~f^7L{j^E?Soz{<~$Coh6h5gdf zT84%g+zN~UnC}%|rpHI#JDCk6{h2}NVrw?id+aq}a)k32$H>G)YHXF|u8*7L1s$!5 z-7MPs?&|7qcUL)O*KB`aWtaF=P7ReP;{Q$S{R1q`T>9Sg|5#b6ww@N5(gNqtfT3u1 zZMxnQXl~8T%_soGjf0&s@*)1VuuH_sFSMvvbWSdqeQ&P=WRSzu;3rp>TKk{%#mBK| zeq`a}i^1_c+au?m`e+$Hk)x4Se((!W1>Y9jpJ@$%83GO3Z8c5YS%tk~DtQSaS<4r9 zbR(Z+7?q*7OZq@1U0Q++G*^J@&{7&2;IP{GWb!(T=m3J@%ijZQrz`w0? z1R8dk`kl+KowLOumruNYvAc0kl_dJc|F#%uv^u(_u|#2Xqgw?JN;nFP7k?{B2cR_t-m0L$Ks;Pr zX0`kYkmOjtFx#hHcUqt5ums*vIG}9KvrEAUPB9mOSz)gVH(~~;$-p`{+{f|k6Jcp| zcxb3H*l5e@ARw@b8DuQkbn94JbJdGzrxP+YvMLWidlKrExR!YeyGzp*QPdTRZ_- z&;tM-)PVgynG+1r;(2bkbx?kI{1ic&x|CPfl9{lrgt#B`OkVh8_df(kv2~iF8#m0h zwu&$?HMSSjv<%>iM}%~~4SLQ+Y}x|g^bR+1x)Jx>zjjMMzYVQYiYVZDa`FJZ)PGYx z{{ntp;=Jx~Z zCwI+bMCZHGg&7V%K!bnnPmIn_i-d^>pHvCIoo3uV5{lzi^ z#}|+O#)a7>n&98gn7^p#{z*@$7)s~+?Tz}6$v_FdoAPq9vPUf#EiEl9BYriV*U|WZ zHt`gagVuiQr#Ba(_PG=Dmm8_|p6bsh6jabDA-qtcjE06rVw`VGObqF9h}zgCw1v-r z@&Cglbt%uF(+BS*{V&aNM4MpR|G(PGDz5yzQ(&R`Rt7A~zuafww}xlH7L4=L4F-Pm z8oB(JqYM0oR?zy>V5j~1_wD^@{rYKm((QOa`d@r(z$pFOfc76wx&LN+`=34z_5^TD zKl^2D!}5mU|6`hd1bx8CSt7W3wW+yTv>!F8>kYt95h;y&n1h!P-9^DPEm9_+=%>RF zZIeOdY*$4VZ$6gxw)&^Y@m?M-jS{x*!Ep#{;=)6^iX0djyI=4!@ zcGTr)@KHt&CB)-b1z!M4iQ)yF|8GZF_UYNd^hJ5zYvt9iQqgG6>?gE*;OP?wm`=z4 z`05BVm|H;-&p;wUFaCLYT2x4=28M)g)E*?%Gy+w$eJ0g;XMWoy|8Cv!GIKsZ$R-XB zTxw9LWKkB@8WQM|ckbM|bmp00tU2V8N*p|xi7pIbWtKzdmM&w>s4UQc8~xpA#y znYj*-VxOf#BLmyfzmhkO0dFPy;U2-?mOY*s2P8O=OScS55_`3~yZd78EB)QOcj@V6 zb;6#dO{u?~?TWSr-mS0zX8)F!NBI;WwZmgIkusK@(d^)T*MZbD4f7H(mQJb4S>RFC zDx}BK)z!7w88c0U+^%eiavvLDP~#IyLTQS+h2EF{_7|e&p`k%+nF9#ZS@XbN3yXD9 z6exbVH3L5c&%vN4&mjh07aT7OCe>WC1MXH#Tr!zClq4Pv7@4lqi#ecd=YWm#=+T?R zMBSG!UxKQ-(3jZ9HZ=kS+cChrEKdQcHVYP1Q*?Su)1T7m5lXHGs2dv>7x(Jbq;O6! zwT_gKh|4ebz%g}NrG(OG?q^@xwYPI!4%QWV7LA$I@+lJ+c2o)FixVEXxw)M#Bzoqr zM;g9aU0uC?TfpXxY&b)QD?d7FiJ2Myw$|UWt%9*=6yJ3Oa+Bp)@f`5F(bG4AX$>g{ zBsTEdq)5ba7~ds-7LXw9Ixr2~PEnT&YWHuBET}>{^^xkJP$8Q;!DPyomVwC!1PpK> z3~>NQ6*#&hbfKpUxIRUZqggrjS}u>%!<{eIhLs`^h<|5OujP+EAta_SZ7m%x+f zo@*c=Ec{_Nu}Uq7@bGT9TN)*m$DzJ6yXhu)9D~v+;OdzDSndm}i~r+ReLEOA1B{L8 z4`ohQbT0(#=dV?M$<=7)2HLu2r5$}VDfy<1<|bwhc)G^X$%(0n33Lx(GC$#QS>rH!_;4!l ze1zErJL*rj17^ckga*{%y?}%-!VwH2pr+n1j9l8j>H<|JNCuvIIK!oT8*?^`GVZz2 zJdr<0E6^(jssA?Z2J&e`h|+M$S)XzlwTFNQViX(1@Y~NHVU4`PA!l>jU)A`ELeQ3g zeTZ_E{W^29QNO@3t-(0V9Cud2>CT8(Cjp#LkPv^AJESdw(`uq(2Y;X2ZdOK;Jijjw zMzYEX9s~fV0=s8O-8Ieg?DTQLPiuJq%hmht+gLT|%q`B8W*yT6j6O8O(79Lg}FqN!!4UHMd8p zQk2yO1e04_X5S3YyiWjas#ImHbXnv}fPTbx5N@+ud;7?vQbbBoRe_$gn?e!be_@78 zKryN#v0=Pb0I}0Z-Z@0*0ZC?-aHw|HSn^GZWWe#FR-^+>h(9Wus(|QD+Xr6zyZxvK zCxE_VxXp!^3Y%^T;`fi`jl&FB-X@d>$bjq9G&wahn#Y`+o2ntYf`o)wwY$wF0GwMD z?Q=R@nw$mgvblu@Fd~6$ieuFu-W>cx2s{Y~xEm3`+p*lU({x)lI|pPYpeI=XgVFAw zMBE9i!F}!kBC`AWq00fpVp*t;I$}cwK4F}xruyh5aCx}p>PmqWyESZ(g-k^`3DMBr z2M$KkI?Bq(ynXj>_MRIUSUo_i*`6pD9316>3;fFk$6r97cSBOxy7Rkq7%Af|4P~BU zR9*r~2r$rvgoW1~s^Ze|1B_0`-#T3m)h7)ccE=PHuy)^%H8Ld3K|wfJ8q5G$ z!>!K%@U5Ve$#@>^N<%Ds?bPM!KN$)<@96P&ke5Jw@OipYQBzNYDhHmi!F+3us{K(P z`k&dXNE$MbElQ3S-7K1e5xc0bhl%;O6P#`zJnQA%Wsd%x1{|Ef>#>ww1_=n)Wy7=B z+PTMuzy}M?Rbdzy7(_hbXwgY+5M9}kvB?nqXE+@nVDR!QR#0#TCKB}#aN}q%u`SlH z{)8Xw;(2FDB(<0SMlST3Wz>H|3-A{;7-jpMzYZ&*{O$$eqZPJvf%)U**4AUi^juuK z;5kN}Wa+O|YEg!OOLq9_LjMdw`I#sa| z4uSpUXetETi$@_L$52z2Ux%3h!2u+)uHN1#-XA+45sc+(lz(jP|y0{a)Eb#W}iTH0IXOTjn2y9K@d~|dT@SHQO-5@3=2BQMLdXNci&-{t+ zq1>ZHL@;2weel0Hd+WHW*X9cpTQLwsP!Lc`Hr*&`fV6Z9o9+&!Ls5~I*tB$mlz=oU zB_&FCgVNFscQ%;koZr3g=bk?g$hV$no|!dkt8Cj0j_yjUvyO{n6yoZW``vdjiF-%-we!1U4rIna#f{+Mo zL%556AZI=+%t4=JJ#m2P1rh%1cvE52r{w79=+eYm*FO@tdu=^fA_tlUg$qTwH*Mxr zpqVw@mP%#^o=!5-(ohHU-$?^?7Es*BHUUct(Ep7kB}p6i7SKHeGpgdN=Z@L^jUE|H zG2WYvlawZa9>!#6R&>UO6RxT)3mx4o@HIKi28@4nJQG7=pDH4DVebJMVo_I?7tCMm z?KxkO*opf6<0D4z>oSV>Q)o5~9eA~uLBRVA^v01lES{)>&J4JG{cp`k%;*)fU8_IC zt4$e4H}H0ANnF}wJzI9{>@9XTrx^_4JYmn&V|^H!BJfFC76K=x7g5mE^$e?s=C@AgU4|_``_=cSv~QjiktG8I&23vf9qzzkyBzFEH7x=bl z{ZjG2LPjO+1mMX=R5iL+_Vyk0;zLLoG4X|q^`h)3A!txiK356n+oYQ(m4ufeLgh=} zw&~!B3wrRh1j&mP$tTfe-#f*&9{8-FX*wvms^HK-Q$>Y4Fw{Bz5EB{mzutkS^g7~D zC&azO^P4Nvpa)Zkz4Ht#KB%2A#)$u@)Y#(=-tw)}%6X;G^S=bhG+=mMaQXnj>m&aV z)qg}4LpmzKIn@g19bnBq$WUZzc>({VvYmfO@jrg~CbhsM>BwEsQ+Hvau3dOs`KNS< z%y3pOTe`}mBJ-MHq9PDJ@m}D_vN&(s+E>IgS4_uxTMjh9S)7Y8Bq>(t8wwh%A5Zs= z4fhlH6@l;oT*NX#%#Z`knFpX5ComZaCxuTo#B&f{U&c!Z)h|okprClRqWKK-;#I&3 zFfitS93H(WQZiM|syEH>|6JE%eyq6D_1Ly9@QHzHhV54XKf)MrRo=S%qu|uPEqWh$ zdROqY`IUda^=(OVbN2rzdjE*W|B!Y4|NP0%yE$Nb|5^S*^gP)8`*k_o{CAw+@$^6g z_T=}jJ&fT>2xd-KFEu*7emJe?OTw3VrGp-p(C@SLozJBobmq{A9>{f9+hlys;ClV~ zbhr2QV^>b1&ri?WfK^x-#UFCq{lI>tI&S~9Eyx_s{EuH6J!BlCC~L&`OM-UrCjgU@ zU^c)Yq`+(cbqwHR>{s~bf=C+!#duxMV#C#cWdjFlG%(1T5Kg-EE))O9oz2evby3^6 zWAJn0cl3A%KR^28rx@mBZKq#H?Enc^c{Fpd>-D4ejk?>KJ5E~?`Jx)XNw+=Y1P!Bw zEmz)Uq96U&#X&Fj)IOG?{~g|yEBs#Jd0`1JS+K( zg7sjriE{+|o~IYhEmcje_z2ciKD{||0m48<)6aYr$&VCY(f{q<_# zE|>9o9H{gC(SJXfM!~R>gwN`1-R+*B+6pTh7Y`f(I3pyJ??1E~yhxM$%-!Ah(#Bl3 zRfNG(%Xnk7uCK#NJARvkMOZ(&{ahCu@@DMT5_MvV-h6rQ8-vy)2z)ZS1;-91atmn`VFsuCC! zbi?)|;o^D){W>)(t9I?DL12fo*w6-TLS94GCXFrGn(Mn06{*5SPF`p^ZW--6$#ASw zjNz?&Y67K%Gxdo)vc$o|X6dq4QJ zya#;R6f8kt_N^{lFd}42OXqbgO0}WJHw?cnnJvh5PTa|J=7m{F(NOHIgKTj15jraV zqJ|P3Iu~3i>xPb^d_26=}9M!uFDKV-wsyY+T4Q=E9iB|&aTXY>*1Cp zPPo0@P<7~t+I;WYMZ4|M>mAa0gLvYxiwSji^x_f29K zaD3R~xQ=eUY@&PgF0);%Hq;auHiuVM_19tzs0DgQzt*e7gdarc&uA445TNdS27oaP z-;5Msg6{5a%Pfp0{czOH4`o7l;0EKSO^PzuG#M;c?fxWr)IDi3z{`8-YjbjP@^y0Z z>}hDeLeqncP3+0!pN0u%x8->CL6fB8Xp)n%sp6I(+->2y=-6rat%-tSD zB^3u*2RTI|{gncE^)A~BCpusHCWwDhgB4T{E#4NrP(czW*@1V}`jn?4#fedInvbtD zc-_P?Hzpr_@?>$as6>s(bMt-#ZxYZcNt_F-KB;<*E&S}$;~xLjrp_eX(?Y#xA1LGC|k}N)PJuo7vg+^zcT&e8> zNF^@K_gHzg5scI z92|F}!=c)HSx?Ar{NlxnmsOXE%C|p^p&>nI;2Z~CDiX>7_-t1~f2Yc}o&idXJCGR% zlJ7zm+f}UrHW6YZ7==L0@z7@anuYk#cHM_}Qxv%=d$;Gn4g_y;eec+n9}K$6;eRgiAxbUFN>M-W78n+`}Z%HF#X2| z2DmmsL|PPz@1-2%A@t|P%%N}^uOHO8ut-mSbZ=+gr8Q1;9FXfGIMf{N>3gc7NeKO2 zQ5_sPFaf3Lg!b?Twd{e`tA6d6bS=1&1cX>$H#vUnSQ+?Ekn<$oSPTu`6GvXj1}SVF zxCXUCDfbqHNuYF&j2&2DUUU-vh^p^?qu1KnIw>o&0Tv*$UK%6egEVb zEU;ZrOht0rNe?{7rV_yEUaoOk{w75YnkFw08`zcu^XF@A>v=*P0bi6rUJ1}qd3a1}nvQz!q4PcTs^Ef3n0i(Wy{ zo6Q3q484Dw5!hz}DYqz!H#pC*eF|89&He!d%}ee>y4WK z;!}_51q$bG>n+GON%o-`{j`D!Czo7y0tSMFZb_;YJgew;Q5e2X7)-y#OH0ddzZ$k& zTexs!+(THtVt16G^z%s1imJ=2ZrPGmmwA~s^kE;b?=m!m*`t#E-H4jxW^wUtH~zU# zHj_Yo_S0kOi=H75%d0%Ktn!o$jAKPZ5G7<5r3>6U<>2^VpKy*=POthi7DTysqH4m)437| zOss{$bz_0Y9IQ(E_adjj&Nt0>`7%P;^zNy^kf0N&K`0ZwW)!PLq^>Z6=Sh9g0MxKh z=-sJDwMrh9jhWQ+$2Op#r}u3;Wq_UbbxADu-T=D$5QG!5Hrp%sA%tOpcXxdhMDhV| z!Fj+-Zp~$5JcQg@KUvmxwOfy_gT{_~x?04ag7Uy*#r4FsJuh8N)^Ul*8@FcxgyxTc zvN|cmZ>&(DfJ=HHf#JltD_w8R)DSM>*p#pGfMCC;H!t=so~niS{?((FBx6?(QBXZ~ zC07wWJcH?fSL5+{9Nd#0j@U}5N{NLF5Bpb!KF>Uv$;6~ex$5u)jn$KJWz=;2S*fbEM zSOtQP^ulR%v$aD&K%gz4;@buom>AW39i6Jawjs*71?>hp1VV#;;Izn>x-RfMZlbXl zHhBMi*zL|;H{q7*DpqGBPtK&YEb7Cjp0u^O%c=^cdS3~vtM4sfpg4<*hj(XTQf)Oi zKCP@eDMg4b$8YZbMy;AY0{Qkz-nRsW_I_-e;ij1!+Qik_(PVLw<`Tb4{_lxH1LE4f z?kR^=MOIW~y|w9QH&K4!r@t~H+S0K-mdhM75mWCPeu3(8PEScvWL#QJRzOj_^wCeZ zL7lf;%4SS;?Cd0anun*SrcIlsmX-mSQpgzZf!r@!d_cjwhDMlP@tB2DYC33wfn=)R zU(8V+<=P)Z+Eppy51oRSA@sAdx;CGvsi{LnWj*W1#t#V#25@SyL4Ug6k5g-Y7V3o43 zR1ltVp6+t7BHrZc+S=qY?c{I1oy<)g(f}|pIy}4wIKm>8FQgMhysC4dbqEcXvc-Cu z#(ZcT5pbY5uz^H=~(j|{fdK|yLvPs$Q zv*IXM$asDS(c&_pzXa0kF*f-fF1s34==^9!hz8TfHo5F=4a!mqfCmv9r7yr+)~8C6 z*IoA3T;zwN;*g7rt^iXO^bq5@EH!bE_os}5;z*IOX-9{uc3g=69^{!p^KLi^-Y3oy zBxGoeO-wAlCA@5T`7OXda6tN#36`&PJjerHRKvn(ZR_6A(2(Rjp!(>T+Q)gC7=E~* z6|J+dxae8v0SS|XZBr!<^ua(ZH;Rf2&`P16+`C9V+EqC>GNNg@@WA^@nS-Y>4+QV$ z?Jg_rJ~qv%NQQInpS%>*oKR)9G2v80ICJEQg*JoKt71#v{m)uhG_5PlzB|+NisP}Q z=a76X#3B0u0`|g~VUk0WVCl|B2>fm_telXwZW=X^SzSZaAZN2;B|T>lSVB-Te?27^S5HvLL!Dvsa*rkJ)2Dvrs zsf0XmF-i>xN7HR-X%60*KJ~TZ9_k>SkpM^OwAnY!kW!K-IBzcqT3*D%Yauz8q$!*Q zDFh`sIn`FZ&Xv?Ft90x$Y$X6rJ+I%UWRmbG3#^ScB9!v9_n>=F;7#d?EB8elurA?# z;S@xrX>WlK&v!Y50A_Upxy5+>MLEhg?{giHL3B|P5pdGa$gr`30cyIEleDz7vNA!_ z7$BfH7tBg&1&9zr>gq!vqq)C#Vtq0>n)A`jM;j5APiVOA)}GweSuTT?gzw+Yr<+3X z7laA{Pj54z`l={<49{RsA^7wEKHR>9CPEtleUu6J9(#F>+DL>V<^3{p1(M~v&FQ7ogK>lU7Iem)vYxZS zmJU1j8eYFMPA*MqJf`cq>wa$!vZlGno@?sc7w8zfW=-c(a9?FNze~%4rH))(p+7Tj zme(}&tQ`heMc2oi^fgvHC3BrNi-e)%IG`AmErkRY?KJBk9Fj0eZ zx3c`Gl)=3T{;aI{8Tnd;aQ~f$Pi_uNq@(~A)qfZQ&r64S^~fyT$NPUPFfbyb7p$#7 zTn0F=Lu_kL%P*%j63ZnRx@2nW$#=LG7V2uUBrC}+b+S54B#8K&RjwW_{?4QI&^%O0V}y9@|}{D3BF3T_D9-p9^Py|pM5F)?w; zqbzk)_|(_N=HAjWGe;?!62$skTc^?v{!JMzt$7NC-h#CpwFmy4OWA}K8>PT|;0|nA zDiPv({`Bav)XZd?~>ou;8o?Y5XWVHQxh zwzL#mrp5AZiZ6;K%yM-xt;}HQ4*Sjd(k+4=5?32O>-A~qm=p8nKCTD#Yw{Vy$tLN& zU92eDo{XE<>;qFpJQ8m^5D@i$C)wLhN7kmc)>PNlE|!DdF8P>w0;9skHv|(;`C{W% zt#YJUd#7h@s4eL}?(H7NcxQ4O#tG~YUbyfE+7xcl`ohAKz!TKW+4(@YhveZQN>YlB zirQ`{A_}1{Z*H7vcCJ!FHW%+XKI)D4TU8kNC?+~BTo)9C_wwVnj@PZy{ty(Wdu6r3GQD%V7hcNCSH~J;H&VQruVc&DT9cs=cGBweWqe;W z9i#`}nsMl;HHlR@DTE`{n#ikt!Ng54{A|mkgktc(vq18htD8+d93DXuug);^PPZ-e zlxrcTck5~54Vabe>RQ6c+fpPQr?|o?+V3x5vt5@F^C-?xVJmUo$$sWF5NMqs-V(Dh zNT+Fnw4Y3MC!Wf{ROGP|OgtHRcc(rmt{4*oL+ps^b0D%$GRT3S3d!Dj?bD}Ep~Kr8 z%5--rUqC$3cAGycS&y!`M#iqDk>kme!$NwBN2}jG4Atccl+h-%{3??tGJWL8&d#=@ zVc+_zy5m6@Mpm1R@>p0{t6X33dS89|{8`-#ZB;Qo-~?8*-}Ry^$m*U>t&Bw8DDnsz z->2CrF;kiCs8g&-$37VI@u1A8a7KwPfH z?of_Blhq~ajNRHJ)3OVx+aJlwqMhxjE@nPB*Yb4FVGfsRrsrX_twX2W!@O@KxQRLR zW)(|@uvn9tPE*g`FzzCg;ARTNRLI&9QZ4@&mIf~c*pzQEi|~S=YxM3JW7s9=UV|AC z@ppJhS%hzvXGx? zvb=S{4ytrviEoDENgc!tsxYHYEaSnPps5XoyI)P}{jp;4Yc(BW#5n!<4QqW(s-o}U z%_fFK5pWmI$5qd-&2)zyH4+l~yph}gaLP7Ejbj-7{1;^Ibxa$55s{uri9Cy=UGJK< zE{iPJ#7oU+qDY&{J zon3Vz%+9_;(@*5|Bf8{{p(FO0bCCXoKus9)|2>aQm6D99o>#rc?3qJ zsK`c2&^vqiM-1=?l$}`_F)xu_*h$ag6(>d2r}ay9hv!=v+`s4B7`fdMZSY2?A=F~D z7D^~ahCzHct2pnB&X5RZ;T*DPpN;4;@ypal(ncN_znvpseQ{Ma)ZhPu>4Xv}0k*9N zD!Mo(KS$+~%WcSVhB?xTq*{!YAf4?J{Cz=>7Ru%zUE$nc>$?;94W#afCl8*foUSi} z#tzQn;v(eaG-VzscVs=)=(fvh`ky3weg4w7y`Jgjm!EEIwsH`0 z6=;Y&DHEzSO;fTy>X~wKWhynvpjF?Qf%;~VgT4J?v))@J0h%qfy|$m7d4K* ziW|L2&y>S<8alzq$h+Y+#~vgws}G3l8b=IZmgi~X#G(DR0JuXg$Pcm&XbWJBmZczFjRmhf}K z-Q3HQjyEVY##s)3@fp(*_Ph{xGfZSui-;?#v(zpyIhxqM-%@hGqGx#lvP;9x)xNz^ zWw|`V2rg;?$GGa7AM<1SPD2v}fpuo&-JpJ~k)7ex-87K^6*56x>EQ+nmM)1Sfj1(U zmd?`K-1GjZ?uVOvpD-CA$uE$iAi=&C=(4`Knf<_xBJmhdJ}}RoU0qu8@G#i!2vWPS zJK6PCwd9ek)2dQHtZpR9YF4c7?ru5xZcm=Udy*My8+W~GFh=5gsiM{5{*>)3)7EHR zV`3jZnN{4G^iBl^VL3r4al_wwd*iN#X*S*7pghIgQ#xOsR4-|!>jyApEW&V*H!6Wp zLYnPbcpxIFs)qBS{prM=E-kFU7L+wDPlXrtBp*haE%6b%liNL7+3BmM(aO*KX++AYP%h*UUNe5%`0&OzIq?^ z{v|P7drwjcbP<70U`YPj{>@_a-4l!ACO%$bh5j{ygI|OGWW-fNK71O1(t)`vf81^D zQ?Gq5)ALeWMT!W{VP5LLUXfVgzUS+4?0>xtN|k-*U$+-QJHr2Vdj&rJ}u1q~_=LGb!jlz7s$H$Hn1)^d0>p)%w4F z0Ul-~U+pXU`4g(Y`mB=@y=RFXl=BB3~NJ+&$`o>~0QuXrX`Kf&89s7K& zu0!Z`@%NpSi@e+aEa`$sBogr3(y}tZZvn*xTvtE;ZsX!~W6HS&uME zU@QIktUuRBdqQa`Hx(5X$l&ARMgSa67zU-OdRevR9Q+0JBq!>#)*z33c=7Wg^m_aE z8&(K}V_2CGIKp!6EKDJRffon~r)OvTf%yU3jHweUqs_H>_)iTwD1f{&JnK-x)(1QpTw^XA}d9r4&KMivYqUqBuBaJHwtwl*0!5-?$kJwN$sX*@a4 zCt&M+6lj8W2$*|iaBAg9T1_;@ZkLsovYQQvMW9O-@Bz?A6Mdz|(E4Tq+}A(>M7yS( z9g9M5hCi0q&+ORH5{OxVIsyCk_OC1?a2fK|t=vs}Gzbn8A0qw-pP`8GBSqK#eM1MU@c{y?IKdXp!^`Uprp;&@3mPWRl_2ku6R=T0o>?ae!vw;CwS_n&qyaAjrp$Y|caAiU=4zUVDcv=(>HXbT2 zl(=_{Dq_+n@v;a*?!YbBQm(1L_gogXrIi)591Pm=#nQN}qMcSRlUM`b0i8IoNpzfk z4FmOH*#IlW4*)MD1$QAb4-m%=$v&CJx;l;c-gw-VnwB$(_)2D1(Ysalcf?Q#guy>x z)^uhUO_7$w*1PFE>n%iE(9*wwt(2Epux^ zF78Yw{%gRc0O%?QMkRPq0s^34A)Pnn{eL`4`)W}ja1-(H@t49uBZzg0@hUTOOKt7- z8#fAJdLTgI1tQ1bQrK+ZoP%}h)MX~kr;85R4$I%LiHS{f6jMrpJ2bTjm9`aw;AItt z9spbbAn4MIHaO&9Yb&Y9g^HU{43AwVoj!|ZiH2hCht(gE2*=FXc^A0pfZsg8$5FAl)lgV9&kK)wc}bJ){w{l)r#4Yozq z2vF6?$O!bE6HO1PVE!Gr_RlWE+Y}-UB_6gg1Q47@3P42#fKic;c3k@^p&L|=y3JK@ za&y=9f*%XN`*+9!uh?x$P4Jh4+r7^QrPAA1Vn-)V{5vwG$RY-;nt7JZz>jt(qR(lq zAIPlnNBDIfg-YJ*-n9hyL6@hVN+GL}UFkhHnuYV@8B15EuS_W<;X>ZaVm|Z^z^RUk zIxRn*j$9qlKAEGw$Ns)nbF~Qe4R;X~DGg8vSEBc}^? z!z>T}C&tjHyMOKeg9Pc%s1EgImBOhTC-zGR^Q-^Zr;?tgkN1!48|VM=ZPAzd&r|Q8 z>BjHykACp19nSybQjj?ugoJ&&W{%r!zYy2~hDC=}yT3qCOI5jpq zOLYD`aOBYh=!afuqem0JnR|M9@o;l5E-khDQj;F!Q2g^jCt`X+&Hr5GO<6cp3=CM9 znDrp!O-U(q-r<}q0E{w)Q0`T)6auiprfXq8GKeqS3jEwB+QZzH0hcj}nC*La{{Mh+{uHxkAs9azS zBaFFfa}YaZK~8vvn#VoDfJt&moGzj&E8wZOrWdoh8) za^?Bs8?aCdXu_jH;pYW{)uZtCR_FRfQE1lb_wQHnjo!d;%g>)Br^RnRga)I0bVS7T z(gvWEZ{@P!m80*0nbp)6?o0N1%cyt_Q8n4@#tc z85|t!?Ja?nE+DyCK7u&$Xo>~cYreoHTgTS{VQ!E%m6zCs@!?^O97XRJe7^oQ)FDV_ z)WL>_%cC>(Fe${qBN%+%Jf{!U{b{R;~V;jl}65PIrIfPFiUz=~|{e5STlG3>G@xR%A0dw*6&{eu8{tP10c zAAceX=VL`#*}EzH&HCPLbmo`K7Cl<`b;!BIlcp_A>0ezWlC$ zex|6u0NgKnaabM#%*_^2BXswEhn~OdnzYB#v;pk|3Zj4gEhs=1SxAn%y;o->lh<>6 zCExl$>KYZ7e)Z#vltDV^p(#*0{fz7zs&{{)x^Dgrg3La)z%p8m=*;ToYEl+6S@09z zgHE6LuVU=a3d!{}SpP4C3-;v|5?k3H)j6R<+t_7m9bb%%@$UBTTnnh1D%BB$gUbZ- za?>ly^${-)-aHx{{{eqdII6BcEURd*6z9i?^fuFiPLdj_SjYx8|*_q^9R!M}b3?S@t3vwIcr z;9InuSN_cM(0D;rlngOwwcRYVT+Uy`Bl6u}oeOe@e-^wic=mmWj*r&tU4?&-_eViH zbZh43zQ5Haj&YKsF9c3NKKMIl`1KEyHr+6CzES;gxVs+7`5MHLiCfW|8@l^QwKPw{ zx__?5Mx6GAk59ziCxsmcZ4#^05r;22?5z^)K`10Pil4suXY#XOwGV<`R3FJ)2QRZZO5Aen{KZ2x8{>XU`}W!(J2-c?0- zrH}Vt>0_&den?=9orZc+F>klk1})8?I1aj{4={ekqaBQAoA#C5bBW=QCj)IIGJ!lx zyAoIfpY}|#)2|T;M~GaLE7RteF(6o?5}4pr$Yr51x}~DRQieRoS~g_Ag3}t=nBM8! zm$Q^ENHR-8jGP~e&8kMWvjem_MIrA)|F&&C?Y!zajxxTJ=e-{N`LV>F3_N>JsuJBb zanN>IS{##0xfwGfw!f}Iv)S?>oI>qoMz#&@S|83by6$1kv8EJdig`X3_jNyK~;9lBn;TJYGFtU<}&h)~o za2Xk+M1^eXYQr!=tFK2hPj{QU`x&RG@y#rvcC07C-Entf`Q0IRqYY|3`L?u}^Eur4}L6%VDpfCCE3URyhStLLr$$ zl5QH6#2&t;Lbq{nlxMq3Jlje5`~@w(1&EDbW*Iz*iCJiF!9e1h*#SbWYfc-`{XoO$ zB6vb=Evc;!Qr`Q%QuClUHR^O4nN{tKqo7pOm@iig1mjQ>=`#T*!z**H{%*Qd&5a;a z9x*b09&DbkNe=^tV2nr0GzC*xe7p^--23XVVgE^e-i0b?6g_619fFO58m-?_HlBYC za$lKtff;(@!%b&4yoGy~o=m*QahE5$Q5KeWDHIcxiWg;zD>O;HHV$~K#un9c%iP-t zdBXij+_PlQ#pwGZA9uLFkwz`BfGMufN5C##NqhBO7Bm1mGfB=LVdi?o%|MZO!e!bQ zO@_Ils!3OXznC&F_+~friZA^}YAP0t<$Y0=h<gRWoD zV9leVRD5jH+#7V4`ZmsOs~dRaq@>o3p&Dtdp(gzWPYI|KO28^mP>L%4x*szkMSTZ?YH9583M{^}JW-Qlx#)*0v1VI_b}Ym-8=`CsUyx-)K_Lba;`(~7M$M-kZ@~Y03Z(^F0#tJM1!XV9j?0j@u;G6g(CZ2$>ZB`*oOZ_SN zaK)%j75msHy|utDJ*Co8!&bSlFzD^IYf0t;qVi}~c~L~_^NX4}!dY6yqzrBgOBo0T zysy?6R^<>z9iQX`WG=3Yzd|=;iiAn^&(*rInmTqiF!;$9+w#^+(JI?~P~7njGkZy| zfi*|dZ<9DlL{t`Eq%$3&$zzf>6_#(%s@X9kytDa`glknIZN0uc{8Vz{$`$UytS-@Z zRqmq@6J>VLy``O&EME1n>3saw&)kaPcWJO92gH~IC7uoBe&NC_Ot$^{qgek@&hR9c z?m*^TSJw|=qWgsWH`2A}b}QLfU)+iN;oCS4bTcY-pP;F7>eTC$?e<(OVHi3Vi)@t7 zh!oHeK1=1^TWoU5VXF3o&M{1Zv!NawmeMjLP?%|lJX)pid4E?;CTpBVS4tcjE2_oh zY4lxbAKpDKYpA!ukKW9LQwrvnU0P}JLT~>^Gqy-D!H;sb{|4V#E&v#Oq;|J^sx`M5 zLF`W(NRZZ@bS<3SNB3>v@~Ue4vxtc=U%0{{6vZ5N;c(@UX=jOGcXCuwdDD~6v$j_# z&z6##Wl6hPafqldBjXUXjJg~g>Vq|H7S2n)d3S5C6X`NBl}}<2!1c(ulDX3;EA08N zxZ5};6Z_V9+4o8H>INN7D>S1%my=T#Osr(GIqbF-{uM4BcUjeQ@gstR@XnC%Qn9jj zH8)?UOj>v#)5aux>g=V@G|bF>`&5~id0%2HIm)j+qc5{=l4naY+WY7qhO_dHAxGr- znaN~N8GC2^<}?8>%9*k}jyJW>!Gc+QYjwf;p~5{G&r|a1Bnc}kD|H`*hMQl2)9Sh8 zzGLB!fmO%7+EtnMby3fGV3lt#@ZKSVpptpt&829;Z*}EG(c5l4k-Tr@%mynyhKbyz za${-b<_w6xsmXub;T`A0o*OzWIy}6A~1UQy;Y4`-&X z+Z;{60qG)SsH>#|=e)@d@Q;I>P~K!~X31u%6N_bW%eFncR}?YOlFI1!D|8*+Z&@&4 zP#zM&mghMQt=gV%(1YU-xjVxy?fKT8x=~Bgv;FUM6`hRgevZLS_xU4dXFLT;s7sA8 z2Y>ljWuuOBhFV~k%Di_qvAmquW_wGqPj-t-W5nv(wcD~wyWSjgAMMPCS=8|9>BilC zeIk$_+CwW1tt~u$-Qj-(*DpGs$+5p#Hb8!8dbYPSm9cet(FA!v`Myc2#VuDgN5`2b z&swWPA!)izS1^xU{rw{*|e(Ky5gDYpUT>jo) zNom8h7_&T#XBBdX8HLI60Y-^4ay;pU+invvja`282E}K>$qQM;1D;pOQN)Mg(#+-< zlIwDxX#bF&CU5)A-#ZFBC7I(z`TV5KYt1{M^jFcIEe(y z&{vz$UGblMnN#5igwNUK4g7g&ZLqL_FyG=xue|Nt5X^+@L%&+GmNC{OTkqC1_CN*+ z9@S3>1O)`3I111uNE_~2Q;=BTr1sc-FkFGB~_3~O`>-3(&mAr>%BiJIq;9}}Hz}g)0BVRPG znc{F>y16CLL>-uSNW##6eAY$k-TQh;& z7}z&{%BIMdEq~^QauuVr=W4}M&6bNlqnHm8z=Ytg`Kw0Zg{SchJ{&o*nzVTue=Y5} zoaq#btyVeLdg4%TR{O>1P2ZZS-nS8H_$*C9K{dsnt9OBNW56p+^YS?%a{|fW_Rf5- zhyR9HuG;W}vWY>wUcdZo5-z+}$+K(UD_zh9#}qp+?`qLkVm*4d)WxtM>&X_11(-bY zCOR#C{Jr$J(&a`amcoTALTN3Jx|tY*#Z=Al-vq|HUU&nOSJ&j)Q%N^gYS5*L_J9JhfTBWo!8H3v!T~-MK^4 z?uY%r`qAwuMi)KNC7e&}Yz^UBsm8O#5~XF+p6^$rrNa$*tvHQ0(iUJN5= z61N2At{Rs@uFOT5NX5CHlKD==D~>&ozf{u738R`5koY(;ZQh+OyVWJMa#1M%$dxAw zh!f=z(N4SP8XjZSdgryF$v+~e&nzc@a6ME;TcD=B`?Uf&tmT0t{_x{EB8JsXb$PM# zOro74)SVh@=fXmEh_!5Od2nJ9KFY;X|2)^A?9cnU@<{#456oyaaxqRCwCXPL_4PJ1 zG}Yy$Pskz zt4f!WvT#0I-9(p@Xc?Gk2lO1J$!8)D#n~)PdS7y>IrfWK;h&+*sF#^+r#14ep7V6# zoL8Hnk?qKMm45S-Jpv(a#w!>@Ry>5!35T2_P6mgNUDd|n+hNe zB*MlvOqEZwSJk&Pq?$uG`?H`DsfkU6(a$%b{ymD6=tj?uKN-vQiWR*cXqoButusMa zt+AmtAmeg*DyC^RJe0_&Q}wC5E@EV0*G2afAnBm9_g{ek{b2ezWyhj}f<9(S1gzl( z29^Nh`VCgd=fpMO+9*CfjZ-m^6VhCDy;?*@Ri=BQDBu;YPxm;@mfw%;5Ajk3YQ_sV z${w**s@a!B6;a78=?ZwYoVMSL7U|WPybLk@OlMjsq|9(wWu(Ig9MjlSZ>z`b8D;TV zt@QW>-KzDiDBrgE_PrDL&B!7alnm=z3HX(j(@IaBaNP-SWZNih%#Fwl=9~79bnB65 zWu_%jPqq|U9j*(3I1`XJp1L@9+^XY@DfbCZ?S#0lk^m2n*Qhu3J_*!Y%#^EqkM*MJ z;+W}fPK;{_cbplNJ;pJB4wa=@%qPW(cD`N%c5>6eq28_Bkw)3de;x1PB00<3nZuPQ zo;^Rlwb8%MI1h!H0n$fA+EFL7yk$%+YC0KqAxcTc;1l zYvEzhEq_1d(pB-CeP_q1`$S@QpbFF3c5`r}f%F1S$?eJlIdQp`XKgH}*j9^15qs-i zVDAkn@<6}(r||baUt=~lj0U_O0338RM_^KFBVC6?`b{^9gf9KKqP@{`jtg#tGjSn& z90MU29Zd$4g)|=I8-lS$r5v>H62DRZdG-oJpMf#7b*9yBPm?74aoFI&I|FQa)~<}` zlHjkR0X)DPHww_C`=ONs()~RjX_uwbXfJO?6aLw+nu#y8CV$doAVmgm_eitBiSg_c z<52j)8D1sfTiIyvpQk_Ck6itDQxqSYDd2v80GJSs4pOr2rR18XzZf+?@xsfjKQi?H zh-81Ja{w;?nJ6B2yUa>eZTM%tD)vDe1B20fli?)e^FQtaK=~oczd&J7pg-Bi(*Ar$ z`}C+kdRS0b4v_zdIB0V7|A^84YDE6;T~Krhi`;tnGoky(rQlQkg#6%1&^P|;{r=<0 z*6?z48t{}=!Po_cf0txsnF$CyD}LqxlLfO~c9){3l$YN7c7ppx)stcaIdh@&qkZ&m z&SGF>-uaF5hG(BH&GK<|bp@-fneI1&{X&=uo`!M&ym6z8UxGjz83KF2doWOEfcdMvyk(88#DXlPoyil|bsP%DiabN`6$WC#{16)Br z`!+`LM094W0$_SG3oXhZ`#{+dMTC!iEbi`z0s+7AI|W~DY|pYwpcOiM>J);GPOcq> z)vEvQ9iY!THYubBG?#L7bAb`i=9BOdMT#$R{EN(S%aALSqe2e;J>VzwqrocBo2_xg zuA!lUZQ28P8yg!NO|Q5@R_DOM1|+U$&Yk0h36W-Ty|&v6wa`*(s1I;G+Rh4HP%!8r zr?8{w%?HQG`SLB_cC@fJ@nu?#uMsI`)l{{@t3}jtY{Ks-GNq@Q44>Svcx^@Zk`8^< z`Y`?C58Btyra7CGsz=4fLA$P398)Y~D&ri)Nq&rJ#2K%+LT_?|RKDUKbC% z`2b29@FJfY9~Yo6yOA&u1@4I;@PJ86VD@a>SNH|GRW(h$qTro99`@4pyejaurUonE zKNp}3ps5ncB4EqC)+Qry5f@i-4Vb=Z;33CvY&-)Faj6-?Z(}pA(c+z+{Qyn5?j-W7 zIpFzS?*g(%G^^fbUKeFt1A}R9IlMOvfI*<4o_9pB+QsI&a@?qsC8F<_+|mq5dPSL* zlJYSv3zu(w=tw|zTj;s-B%&;b2{VCZRX-dg9Kh=5>nqPggtvA_2BGXyaU1qTPTK_=V_bSNb!kZcHZ1cij) z3waAF%OEBHo10AU>48DH{A|7(7<8fYh7FdD8re-^QOkioR z1t?ecB@XCTNp0)Y*`5N-BBZv+`B~nlDqy^YlQQb+%TgRL3 z!fc0&Fwnd4;kDj;AOn5IE`_gq2_FE*5=_($Zif%N{1+FwL+V(oZvBfG=64Y*|$X!8}cXYIP(-r6^!Iy%?|W zQ|NcJwd;Pf@8`B>(@@YX9@*U3kcx$Np~?cRkDAI#Eof;QTS4=!Mr}0 zi=sr>vZ zE*pMqmlr5q1T&%an@%)TQ2n$M`$E!D*B^vRedLFmmRXeBBE~t2-wvahehNstXGKDG z+0z_kSFgqZp}<;0UYH6;qJFwe`pL)9Y3=< z%tWE>jZkO3`($L}2wtFZ&@piO$td_b$%+MHxm@Z;KC;S&hK7NZ;zB9}3ZCIC!nBIn zS3xZV9^ey^9*hLa++rCqHv_}5yUfi>7iwGti;GSJJB<2RU3Y;AA=?lG@%fn~gaay2 zhm`(KUHNF#$Se0#S!Dm{fgZ#$RS)1E2roY4VWFd^&y1yTJu@IP#S^K{BE zG;%;g^VqnUv}pi*F)+AOWa`Q4mVQ~|LkLEZ4I=n%aR|X2YEz^LUaa=uB+mU43aY0~ z^~7w6n0`|T-`&*ryyn}N?lC1I#u)=n0NVv{Bv^tW*p~Tm1PlH1ZzLx51vaHNBvj7j3EKy#>^@J+61+z_qFw3}`!D2+4VX zcY=+VX)f&Co_L^Mj$xw#UW|rGqQV#-`h;K2+T9) z02X=#j*)ILUYPRTCd%++!koJYRu=HZc9&Zv0$t^G_4CUVdcZdoCtMaz6?G8cY`rVg z#ui!KiFGIbpg;}wLBzki7w!DA52GCyPo<`V@tb5(UY<4BK0?qT4+XbBn1TJF=j9nv z6y@H`8|EZrBzRUVZ9=ff=9on*-lAkc#N{KXo}xltAY`|`wdMZw=}Xb=mU$RLvohBo zff9~6vrqR6XgPQ8T$1lhT`rPG3mBzf1R1w1M7BEFDmdRj2~&m$SoPoWI=;q#ImUd7 zRt}CpF0>RRk|{j~7j*_Em36nIu>_KvRDSr7k^~}o;1Md^y8zOz85W{Vkf!Z=E3&|= zs8@}-tlyf{1bnt6dykh-xAwN1_atu-jDsc&@{hen?dZZSN9-vODavquOSo!>_Er-4 zoz6}_e<>1i(+XB}hpXCI3re)P;*OF`C%6U|{?VK7e_63JYc?}Mh0cHE|IP{y{a4d` zo%+xZi1C2c{+nj@x4i6s<8l8yqVnB=p|rKR>8W;?%(+51Q8vC|_Jv^$<^9M@I5>CM zAd>Bgm-OQOgA0eIqXP#J&CqCnDqjtBy-JSm5VGB`e0v%Zz-q~mN&W;nT-zh4Pb{Qc zX?X|gNqyV z>Xj-mQk@xW;i&6taHh}tksT4zQ&LWp%$IAiC9LYd5dl}4+yJ1DiQdVH=I*er^RGhF zLdkz;;0k`AKm_gAOH8;38BuUx;8Mxpj&BjtaiJQ{?Lm8)TwHv72L}h4_nkH1;;Y2- z(8I?Et>81Une9nDgM_gsr45ii0h1H>y@!t+ft_0Kf_N$e+&HK1tizt*pcwi5>g@FJ zaE`;8seIk@2u6($U}&!hb3I!i$x2VarSSjS7}lC+AOn2srv8MFKd|UO&0Op=Vyc^B$DqqJM$t! z!6)YE(W4M88Dv`_0q8_JG^G_5CEB^YEdGn{=GnDpqLm=}FK*msg_QBjM`!*_O;Q)7 z2VtvG0|6>*`VM;^P+|2g^*b?7p9Y%~AqQoOL@Ez%^PyWJ>yXNXm(;P#WkRY?3_d8B zkP*i9&-A`!NWb1LR2;dZo;Ot+q=bF~v@YT2dT!T({$s`{p;;-oo1LVFsi#(8ya5zt z!0R?ABFr*S2=t`2+@`)h6$y!Ewb6kp^$>_!;2aIFD!LuUI{>dL2!%p7Tc5*pJDHat zuLB>&+)YTbB_muGh9pr3bsQDP%`D8>A!fzF2C{Mh ztLz*c9+*_1#7w&8*{sNk&?a>MAmi{jZ%$rUCMGW`wwaF#4AjcsIY}&huSE_9&yy#^ z?FzJ0PJj4fO!nxSKmW6L5%5LYUO!j^6~f-x|)O!TOH7upf3%2SN?o|6G z9sW0KSB+w5f0LumU%0TeR>z6QIbj< z4V*lXv!cxc)MDNM;vEd;06-IcSIi>IB!2Ago&S?@oAnf|hCMgIzB1e-*RMdb3GEng zwv$uP_e!cp$)VIV1=F;kxCMGp-cL?WioM3Wc=0u|Y*W`;4FNDSs%Bt}27v&d5HTU4 zm_>+JLd*e~)Wvl$-3KuP2X+vQkSg%u>6iblaUXwioa{j&+%E~I^^1BqR$~@{NnT<- z`N0O>G#j|>80f4<#Zf1v{s%D|9WE(AsmTFGRuJ0cc3?`M{xk2(EYCY%>TB7*Frm)> z1QfllBO{P%2x~{sR~>7b+i8fBmH=UtU;%A<1){S%Z)VzAi8p z)=ed_0WSw2;iU~<0+Tl|vA$LxEa#a45P2|&{~^E6^Mi07&Ff_E6H(%_yKPs#MW>vn zK2J-nwfMLZ<3Harn*8o8FE0ajZ^OcfK#io4KAU;`JE}bJ~NLfTpQ8!z%|b zZm@s?XR=LpC|04f^Vq=?uH?G)LtF)?8Sv&yBSBmayqTmOZ?5Y;~b4|JUakLYh}Wn~4A=na07f{*uIfd3L%3FXD)GiS-| z0ZA`~`X5*Nzd@Kkj^BTC^8SFB-~rK0&R@_h`qlm~qOAWVfpIh^%_U_+V zO6S?`pSaGkUa-p56cRewo}pH;%Q1Va{l67hBmHP!YAn7h#KiYG5v;6vpo#%U5h)Jo zY&2HH0-g@iT*hNR0UfTZSFau*IwJEhyf9@RFd)0L{|{&H9f)NgzKv^WFA+r=$lh5+ zr0ndQtfFWjQA$>5Xdu}_vNt805Dkiw%%UP?XJpU#9TzI~^!>i?`+NR-#C>1a=lWcq z^E{99IF8e;7W0htNe2(g1gf?mH)t_pqhL(*bY|z~Mqd*h0xePY{p+jl{dEb1T!0X~ zMUdYgZvev`32Fg+MsNkuWyoaPnw!P?o>O*SSi#gE_m@np+WX5np7{uj8#Rtm7~`bS zs@tdQ?1+xrq*H=X=R3l|agS;9W_0Oz^OyE&=3x?^Ms^J#*21zm;grR`r+ge792g|P z%X_B%Z8+3ytZZz3!^1IxUr!l9Bvd+#f~(muf^-apboKFh7>J^oQULGK>NvF|!WT?E z!CT!|DrDzLWyn4t4bw0gm`NZW+`PH0Q^a9>5d3=y35oh|&`;59*pPDR`0?WyIKY%U zRu6d@WGD(T#3T$}mf1Ir@Q|popBz2AdmNdJx~RFgKd=sOSbr#Zr(oU=;zg!{MU6_nwS$PYt#hi180uzYI~=?6vIR*=w@$;6c^fY;FN$uMf*^krJ=b~* z=r(RN&>D+|(&eC}R(#m-9KBu$;wJcn9UlU@{QKY_eB3t>O#4kh9XiVrZq_Dh@l@V{ z6$qW^1<2Pkp9tQa&!oy_ju@v`u) z=M~I1=eD1Cds8gpGpxSOo;_>kL)7(5%T?L$`1-2GA?)gGFg!Ii35HWVVIp%DyGYyQ zSgm4eyrq|+vZ5kjz?j2O@-otppG;HJ*MC!gQxe~J>BGWbRM)V0@?CZf6Fs>qLm>=W zCJ-rTh@Ac6TzLRaSv6r|rLzV3P%DdaUS1x9`In9kc!n=c+-FAd(=bQIH^S>>QZ)PN zJ<&EecmV_gPxWxP{07yy4s%zCp`_%3Z*O?TH<;2F1@NL~-I2Cjn8GMQG+ zKK4G$PJs)yn=#)e0`rs?X*`>c7E{c<O! z|3IC0`}>ry*y4h{v`9<{KNnWLgKVk%SV%bx07$DdZhZU$d*#$eFcHc_+tM&CaOLou zhz5<1n@~+4kc~iXX?la|uX>E&8RLNRvt96(5v72TkiTzMp9S-a|BAzANcDT4-q`90 zSGZ@0hqKNRk(GM4{t7>T@U%CtzX>5302)A-dN?jxvNoRmvzhQ4;lHGC)XG1nv3Vo9xZRw}z?D!-$9wJ^O1eeT~Lm|M@5)^7gx>K&F51C2=)-qyK_JXD+Bv z`M;n1bM;i+q5!|4k;U9oJi1Lnn{`LzVQjRU0@lF?^oQ?JKzj5~dXAlB|TM*E9 zNj)xXCMGMqflBt*3l`IM+%Ov59b$sFJ!GExkg*jV!o&wHfp^lR!O3KIAQzdo z*tqI#Lmglz(WoJ*tQ6eA2t zVbuy@@#hA3$4xe^b@~on>xvZ$%E}FpZ&^cJHru>Hu5*dm76_z9$(MB+<1+rc-X5-NsQa!`UDK6EH)kUc&w?g$3yu)~o)t_&wb z+yxDavJ~wd@(qCIy%eMPS8J)NhM9fcD{wB3JxDS@9kRpqeuSGLQhcG)^}O#;I{~ni zTVR0B!~AyCww%&eujEBB`>={42O2^0x`#)vZuH;H&e08;Tx$sPgUL=8>DgUtM`Lt- z?nMdFA|>TbPfciSqNSyUZ2KAkm3=I#pKjrC>Hw~fz+vDpq^Tb-RTn@$eSiAhl19gg z)3EpgiUPs&rgiJy!lE_$u}-?N8rB$kz&(5Ru=${cqH*il{uF+?Z#YHG&NbxOzCK_$ z0%R2e=m=FDa723J!rKb?_%z5~u(-?V!FhsjOtbsqqatpCSyzYY3MM}F8vEpqo^cwl z3XS6hJbJJIBj4+zR9RF)d{-r`h)B|4m;QpjRCvkJ7E~R=jTZ+Bl!!QiWszw z(C!;1YpF+@io_Jk8HY$Xg>;76_vFxK$`1ESYD(I;4`nIz0TajMrm$y{EjVPGBxpnHr~q&4ynu5uUgz$DlDJ z;&}H?RXj=0bo08;G+Vdk9%(wycOpZ{LNztw%f<2i>ARf5+xd;XKd-0M5>HET#gjmO z{)Lk3jbyLkYtPw}xC${cgs#A2O~q;Hm9tcHJ+QJl#Wlr8wqXYFwMl)C>T8zH1L);Hd^=V!QHY;s2qakY+XM~&3?AI)3=bjGR#hP~i zgZbnQ)hh5&pX`v~Fesmz?5`ShQg$nf5F-t)n<2m`{VgBc0R1q>S{^qB`5$(H1SBVz%~lnJIhk+2HX44 zmaV;S|5aZO&Cqj7!6JPpx*B;;zS*3pBr9ZEeY2)INoN4opOf%4jc-8H>AImxyy~;z z+89d_|3&ABwl6ZwsD&niLA%Go4A}-+a(LWR_ zMzflY*;lEXq@;}4*}p?3^Z3f)SAlNTdN7gm^b7+vJbXXt6;D^iDnVG;sYPx%E(ntd zO6G>_v#-ALfCQMFTn-yMd4b;g{3|2wZl`3pG#5ydO307*TPWG)NM2o5x{ICN5b;)f zQGT!>U7`#d1V9aO_ST)>{4S)wH;)ttuQhikYB!&5QUCs6zmikTF}udv6fU@$+>Ei^ ztoeu#G9?_-J!A+zQPgrLv6GfnF%|my8Jf2Jo2j|&JaQQr_W9+Q+!j1NZWFXXLSidz zqSN$J73$Nq!Hdg$6OI+P_|FFB`SC{Y*%BHK_=7-^KI0l{jk|gu5;#qR$Et>@blFH?5oxS1R%+8b*bu-Cd_+@Km}E5Ewfzx z8BQeiT3$G0jD2ulb% aIo3nO?S3NpTmh0(`)GKd7<_GNnO3xGiw}IDybRwOjf8m zdFzF-(kaGkIWRtG1R;7;D8sQiof0>z2Yq>@(9*RI_gAn6g{VhK#y_+xD~R{zXOe$T zYuuXjPJ6So;Gt;x61lpMPEHe{w;c|&Y+aiq3d5?P3IWQhyBC$}V)@Iy#&zz~W&cAB z#kXwdSsKnt=cQ}9l!j=yduqgXn~{=}cGY@E?_9h2kjgbM+A6d$ZHF{u7!#=O_d5II z`WXYBFl)XOFZ0RXyIj27VSDQRXTui6vZI0kwR=u7?%EZ|mWD#wwR=}rIE#EB;7qsP zHKyk4QC`L$^)Wz5JO=2`Z*{vtrY(k}cx>L)@8LAbNIG)R$jA!#!}V@@Nw*?+!;r^_ znymk2RO-o27?r}DG~Gi$3LR7XO?~iQPi@E}$xVcy^z!#FW^O_@U$wa><;4~w!LBsU zgCE?kdP@pkk#%v8Y6cmy7qU1jI(l^vQ|urY5dLS}tp0CTIDy zf8X>hUDijq_LWXrN-JwZ6MMH!=b-x{*<41Cm^%Rt&29|x0%c!WFN90pSZ&X=`_WN% zy5v3S^=a0A371>BUs5t(d(kQAaXW5}EeNW9_YaS_WLY2P%hp%WE#h9$FqeI|lY=H?N zUIh=2wI&AMqX})*m=x_D3``gRp2iTv1$JpQS3W-3g||1AWIwX{b|}|z?<#4BwlXJC z!J%+wC0eg_YQ-$wfK}f--|E8U`n@8lK<|7HTf%zM>g}1^9RhuQ+uPczQjG3eeUr%e zNEH^e%gtR-mSV_1kC84VX;P~skw%G!FF&8MYMqkfX6eXXD)Jo^H18BOlXF&TDrlc0 zr6uk1FA^#NpY!U~MJC&VOilNnlG$*GXNM+h&Zawhv(*oa?w@)7{qVx3f{KNMyfqf- zKp6!s8ZH84pA@YWJX_78o1GOW5(-QFW)}*L@HieF^zU*naQRWpDz;>$ocRX^lZv*U zZnQQa)!4fxJP+8=rK{{0TW)sz?ty~wy)~`SIsByRerP-0vWtU`!@c*V|9#;pS*A{| z{M%j3ft~RJ9>pu|Tso8<>(d$<-2i zG5F2#cgyz&bJkBnr6sUG<*{BC*HM)vw$91^4sws2AB{91d42L1OwWOz>#IVz>v>Ggy6b7%mjw^e zp8G2LR9~^#!;JN+^CM}%V z&dvu7S#dxXug6-%uhBeyHVF=U%)R{^(&A#iw-<9CUO&Vvxigx5lP^Qu;&~yehkTo; z=v``gbYVg6Kt&jxwUIu8>VU$^>ua}C(b6h=2-ZCIEyLtwr~9jw82dVFGni27AAc8%x??$_@>Jnatbvy zqkkAUdx|c*d6_0p^17?x7(oD*q#SYA6Y;aK~ky#8BOZGCye z$&}F0iLP_XT_`6uaI8?KAeTODZWw!0C4J+w?ppPX)a7JtPk4Cs$qOq->8dI!D!i32 zR?-MmsuSfQTs>^{Q!dn0R9RfYDWvp0=RYsI$lt0-w%OU>NZyJ|$0%Wux%+(kcY=-= zLQ4OkXQ`_CG4s87R&~Q#8ua z_@)7NvNcbMWdNU)$+UNAY&-S$k^rp*XVy7h?qkQVGOF22h)8E$QYprbU;V!FmKMP9 zjV|>QIq!*j<&O{6E^@Yg?!0}$5k}MAHp5usi5q7xG0y+EgM3G~@Ew&Sdw;Wj;t2q) zKdxIbKvr?%dNK&Q{$86S8z@^TD6cQR}XLoi|@Nx?i4mtq)z758Pb7 ze_^3abwhcPGR4M4^VS?4hxHjFS4rnrjvjlRNG7tZpwMQh_6V^5^IZ9sEw1Wk=q~g& zbi+%JM2e&$BV*qG_p;SUZRDAj0eK84;Q7ym3y#M+y*QE_^Zp*A{heY3S^A9|!F{Pj zG-D&hP;J;ylIwDA{pQVLXs06koSIOS*lAR}suL{RtsLZSO)s}EB0Kb-rAcu4cn!o( z*sBkB)*PtoXiRyQU0qwte%CB!EI1+{>cInZ_|Rb(qRY*jB94>Ud2}_fdxKA^7m9%Z z1yuust@QMu(e|QBmW|)Fe7Du@&HOOBjhop%TP6gT{N4sNQce5N1MlqUV2k(j^J}Kx zzkfdl&|pRM4j)!BuYC7T>rsmkrfDj%fO;aRM!+J9inp?|tj*22Pjl;KCLt3P*pCg5 zer%B^##$4;fJPb`zF)3Bu*%}%jRUKAE#`EE0o)!Ktk>hSr5`( zMBJLqBA>xiahi6FKRj?#fKJfpVDRp;o!g#raC2|rGn6`VN6wvJLi4zs~y)l!kI6edEt=M8Jctb$mAuX~b`5)v@c!PUbf zl>fMEwd4Sm&b(LV&zCQO`Kcy+dX_F;th!_O?nhx^d*x7sfP)N50tGS7Q=N{DxO@eb zQI|5123^Wf=h)lYsARK98Fga5_MshJwUus}WCI25^ z#UQ!N$nfy(!otFwoLv|zy`d6l*N$gW7!f))I$Hhi-M39NV=>KC_b)__W1yvvk55Sg z>=0qUAbH;N?dG@;S)Te(mef`%!Cp3g#Zd7*{QRj89=xd><=)k84p?$ur5J-%r2gxm z7jX?A(@w6{Oh`zOLd)($iFM}?O>8|o^J_-tRm;if{&Qjps%5)k+PkL?=D=>QadUN* z^ET&G==zvL5@(W-2o(Zt{&_2gUU6M?i7`0ZbwEj}3=qo81O={zMLmP96>bOD^kQUN z3X;E_d%mcc`b391O+AKPLoQelwGhZ8yp;j6Mupa4=PLdmSRS0bS9}BjLpuR`Hlex z`dV7n@NkNXVrn`d@WZwKF)ctC85(=A-OL_G~bqUcSUK%dDnCU{#=+T zrhfwhR+7th{S|oj7VtZh-}2x)0djJ=M<5ZDLtlt8je)FnRa8`z=ac&n9&mGW_kjP6 zonQ0pZZnnA?^7A?SK+)H@MGoR(95$)87#U??U%R>98;2$lhav`hj0c%R~Zm6n&(17 zLZYI2gP2^FXY)*eh2@5jR+4r_&bgBqCIRXYp2{+Vhz_ml;TH6=1lZvc@$Q{4s<9tE zX)TS`vBDnG61vN;kp?X$F|Q{RKz4HqRb%W+QE5vX;EEao-Ul2}RtV1B$8NIxoqJm? z(T@^1ji%ZVg~5xmU18>miV-rN2E4wrsk`(zfwMjGKFTMs^ z3b5*?`|lLog8dg5C`xF#K2x0uh_3T=<#BZ8V7cgfCd znOw*S2KIwN3vBRfvP}3`PamKC@0KRGB`)ra+iB%i!aFaHX6YTMDP<-LURqEn2dT>h z!CjAtFfVw5W72N8%f;Tckb2%;MCx(5M&rKO!b02cD;3p~F|DhZ&H{dG%hNp`OEP>aX86>T>>=Nt3$7$SA!B_gls&J?2;Yjh8zh4LZaJ_|AxB_;RN z7hIP`UK4F+@(oVIXO9{2dRsC zHrGvXE&A8rn_ogl1=t68htXZnpNbaM*XtgqTxs-jqYDej8n7A-50_+nC{n>DG{h7@ z{oi~r!R09#Qr4QPDv~;0_!80U*RL;Gy3_-1>5m@irqfVSeFT#NeR<5-zKGtHGs!n* zy&pUii=IEXvA6e$5-tZL6I=%x3W}!Q-mOrsfP+H_d4zk;qHxr5bv~4&3sTJ=VSjK{ z9Y9&a05$=Zau`n0vtYpjswJyAIXTng-duX0cc$rzp>>1-qzonp@<$i;OU4Gv(B%|_}Z z61W?z^$<_Iq|?;Y#1Ap^O{Hokk65CQsf&R(m^bkrDTEhooFg!0FlcvX^;EA{+Hs9y z>sE>5rBpg2q4IKaqeR#R<-QaLv<_`Py}JXtB%BE*MKP0Sn!CX=1W5)&KqQJikS}?n z$PQj?_5C^O8Bk#Ifv&qvvGH#pii|(D^0^ceOi5?*TusWRBUb=UEL<43o}T`&s_M2V zFg(G7#?g7R4E$3Jc_l>y2(#O=`@CE_Q1`YVWv}3^66HAd;_rT!UmtW^fu!!7a;#*1 z*)s`PV#4_ke5VcF&6O}U;7TyDjg?FLnRw_75?45M7L0~~H;V$bh|8l3I;nj{>yP*1 zXMtqOuqyx?2E@dB=i!NK!tNZ)MHtOBKgZAsIuZ=Ib2^x+{S4eP3v`_l^2 ziKZr49q5+nnRVV{2oG91vzh-@jVMvAIe{KZvl{lF><}WEcNFScp$3v~YxP~(k0ki+ zhUT3`C$K-|R@5>h#QLBcp~1n56zbR3lvY&@0D`78&?Lr-P+S1>Srb|esp;f`Dcy9A z3$Y!Oad-7M2K^{Har$)kr3H(KmKf9jX_+E;1&%r3-k6nwn1n!w3JM9)*VQ#OIe!9C zpQ8I%L1krSLSmwun;XWKUprZO&h@nzo^MpV^ZxbaY(T@ki$Qu;rR50s2j&;WiyUI7 zZT~Tyk#C2x&pc^toW=}F4GG6dk=1CqW<>XKb=ddjYdI^O#j9L^q4HK%R#baou4$~* zrCc?3_|)X{tP?Z$AR|-!`N>ri>wW9n?=g^OYw7uCm5BQni?9% zjvvR)LuUKDxEKvxH*qkaw%b2<8rBhyZ4g7

BWZP_WI3v*>$#QFTpQXw(R*ti!KT*eMTe+(5;o-5s6C_4Gf!+O@;mq!T{Nno_D)LG$8GbiFFuZPs zI-gaxh|m)@o3rIU5hjTeHG{_YS=<-u$Xtg|24nH>ENg>jCJD?h?7xz8)oQp+{Ez`t zhwO96TuxyxNvu6aAA}7%*53Q_z3JKXDs#(y`}YgC?@zGAzkt}f*3v=g0>RA7VA*SI8xWs~QEkyj=m0GYkBlV8$E&Rft1F!US(gE=*zmlJLy&fWDL(@P!%H>1 z`D<|?p`YweM_p!6oa{KnVR}c%!NH-0-giK#5@|046~{T;p3?4ar@GuXZ^& zO?rDGI@2pwts>?Hg4b>WmX;;rJy;p(MN8b6cOS~Vpv3lZ+n-rXErFTr9k@FG34NVi z2g&l4D+a5kQs&lHR@m?){MG2m7P zd+C=Jnna?K?&B1_Ne%`wJeyScqO!9CPB6yOQBw;YeY&`5rS$Z#l&7t=Rlz~oq<>BB+jE~>6$L>7Du-BwWUVq^aPT=n% zeL)MfR?HPiOqTg4J3vVqDhCeGiC+}4Vtyq@sT?e#)<8+@rxxOA3gm}5$0!_hIaE#P z=37z610K41cVh11Inx5*N_Fvm}?+aRi0KzddI>DIbPV2XCr%WP9QFYH- zv7X=v$Ej;;%XK55t?vc_o8krQINXFa#1HjQVVWgD&u;bW{0(?iVium9w;c{gvK}&Q z<**L&9RiwV_O5ofl~(ssHNtV8$OBl`1_cDXe`IwkH5^%?fP!U&&~9m~EF_?+(a0py zF(~4mSg5{}$pE-T5IWx5W1sn+N?#}SDOJc!(vh!9yh+w%Kylv=URiHv3P~_kIa}v0 zA;CP7qOvkYK-xSCr+j_!bIu!KAErGR`PPlBgY@(moAZYq?I3QMGIlG zwJS*3AZ*d}p4uwm82kvLllsb0|3S1nIbk*`5{dyRzwEdObwD{=fs~}GKwOoJUEzYSp*!@9E-1Dp}UJ3NwZ>D2{sUn{f z@Gv}U7I)ngLurCMH95JSl9Gl~ds_zRe)@UzikX^KV=m^$y3p#S22@H*tFZt1o&#l5 zhCb{llPjBU-i^op)X~ua%tobeW@dKbLgvP0T}zz$3p-{U%$dl#mf%qx$qOqA>OB9l z&})E{dF8GI^9j007~?zG){j z506TG$EEql!>5Jh%@TgR;0I{2#I%J)OV`OP01`kk|1;~$B~FMLgv;1)!Xka9wE9&NoBz6^*@nYE{%Qt*|6P1{6$7vb zvhdFm`qRw8I1lT^8a*KYv-$FW|D&S+!#9D&d+S$QK~d%O_OBqXsg`oLJjm_wHq^^L z6Ry6btPp7q2!f|fO?|Jh&2}ATZaV)M=jWfm$oHdQi`b#iLKYQGT@om-ujHP0Rg*=_ zz`zNISiC44>+yI4Ke}Kj54=8m*@_*_12(&A7|{l?Q1|_AVK~_+XV~N+1c6OZ;6?#L8S#=U=pyu z5NMF?!WbYR-AYs7J8-nfRM#r>P^G1%eSq1nD1bk2?!3+;QEE`cy1KY*cS;fpA{rGU zB?WdfN>2mRcOS2vh~%2k45l2b*g!*5bxQJr7$>LMQ|ILt`9uB!!HTvZ1)C6Uz!J@A zs=%gg8JG2z&%JzhCEA6vt*1eajJ2e!_wTp~1R3RO1BNNUFw^x74!`sI}LZ~n2He%A2nrN-FjrU9PI2bxuRoY5VI>Hj`vdu2ndLQTSm1P4AfQ! zakp9~Z;}|MEos(1IDEi8{Tsj$moxX zAVRXW&57!NvKi?_CmS&?=*=@Moa_+5W(aVX34`TOCPO!p*hU4%gm_DMn^Zgo!ja-E zb%W@m45N?2q0d8h$$>bM|9(CK@rTV;MEN7@TWcbfj^{c-6t*s#nNAaOfr!|vBUC$H zFkd|Oef3L8OjC3%ClKT2vGTu)5%ajM9 z%3Zh4)7Lls=(8oSR+BzdABh18X45A52X{J~r;Tr(Us9d>)-3&Of!$ra*x?GAntqUY zIEaoZ=TCKJy;(p8X)BVJd263({MJC8bb0tbO6F`O;~LUaCL2<+K& zSnik|823gwePWHsV5S{nLT&nrXnG%gdyuG=tV=7gvJzP*`X_9ng5GHI0Wd(-O8SA$ zJ~r-`uRMV6!su&iYrShCQ{Yb$QE-Cy7HRUY&WP2U^75H?x+wDp`x}=-$fCmEML&A< z2*NoqlrYNU;MyCc#f3W9?q7fy&R=w5!xufipj3SiLQxUu&ryWnxJfXpPw!}JaF4qo z*VT}JH;E9MzJv;BEfOh!Upu03&ftZDk&!nhQ%1L~!Dug@2KOC$V*^suuONm(U_oBY znPFC!dM%=I@<{Ksl{6tXUzXQ1uI_*m2(|#%3dDf911SQnm;L}=`N7(U#N9F75XR4? zjUe?0I+aLlez&p-zfj5?g;wuXd`fgkyBwZdF9|GVW0*Ubh*&>A8eCgTNeq9udek;5 zF3z~`OHpU9n3j>Y9NEU1T>Q>0@>z0#qKcoBhR&pno9()S3I>efAe9zs-+Il6gy9>S zf#B{?N)|y$u}17O?~nA+P(YlCENJcgtY(g|p?Sz#)>#KloJaXy?d`^6Trzi@ z7w_HKWEi__URY<+B{N@*^@CU_`A`el$JfOBKd-d{2>x9EkC8@Q4PRgt*#&5h`Y3h{kAjmHkDdI5UGa{K2gFzx~mFzG;?#0WEnp!N4GUQ#i*dA+G7~_P%ppzXcO3tMS_~ z$(hM{o9+48MIAv zhIr>FDSs_S&`WxCGzq~12PMe&-V}XCeCi4vf#W`9Xo#$DzKUW7`Zd`hqVThT>sW-~ z{ikfT@7~GE%KB8~p=l5$p0#DJi}pJ&p2=|0`Q2at$SM)~#3-oYy{%UPKU}kB3w*q- ztORr9aa?o=HKU6!cyIG2&i{pDQ4;5}9b$a69wUp9w-;F{T381S#6|k4?BGL;K;s@z zg*OYqQ;?3-jLnA6?21dbVrJ#3(dJnj|EKHA*-t1Fcb>R48KUz$wQ!zIE!6m=EJ&8F zP}CT>sAMa|lrq-4jcK1`^v++NBa>!o!;`FWmxH93`Ak z=hLbZNKt`1`T67cVN3=yJh@Nid_Qy2IdJAz-hE3;kiwBwL_`EaC3e7t&?fI=hhF*n zcQhMszK51p)5a!S;JHk!4F*-&P9PHe0vqN^cGRVy(yWxf+&bB5I~Y;ZTqfKYC7+s> z7ERs2R=F!Ye+E)9z&I&L$!!hd+wMEh@rUN1wqLJN0<-siQ)A5g>ldZfVK?vKkh2N6(M(Ycy>ncORp5L_!qb293`1 zF{;qxP=lM>FM<-ZgUf=9>>>T1TrfekjXbG`-~(1U@^TgZZbayOB>$bT&jFf{^3f(0 zqp7Y&taZoscKk8)4viV*Q1N@dzST^zm@T(FC^IwDe^niv5&;cLEnQBqEr?z68PIFq zw+Fevj!aD^7c0WB#W;4Kf|3$Frlk_SDMxViAcX6)y<_osEC%eMW7;b%zISIeRw_rU zR08gG|MN6NtI~!d)Nwo>Hh|f(+G=WEm=gys4Tjdy(Q)i~FYGvJ)5mOqFYMHK#FhW|(ie18y7~8d8#zQ!SV<8yor5QD#)(anKMi-+5ygYxsj&QMd2t z%5rNon^;0@B483%9gEf;Qm75ry;rq^-w?fhA^&rrMoAGAWMnpTu+KbxoZ7*InHXY; zu2VGGUdEp<=TAWP*YO(J+S+=1%bxK!qP-t8Pv2Ev^m)n8-z5t0fMaGUF*Ec-QX)`$ zl#j{~?jx)MhhKGfna$7Fi-=coJ}H}LyYb9gNW;K!sn4=d*}^9zL~TuZnQN{KK7+B$ zCo!ae@0lgM&+5I@kv}fesNfF*18)84HU-rKSk`F01h*)+-JNzrkY?$pebTgAsZN)j zafaX~p2^MlNk-@zF1B}tKL?r&r=VZ%b{~Xom(W=itkRzoYjebNv) z_)%)S8ZE>l&x|!C3r4%VI^nz6@?-kU5-nP$0pWjRNRdc0d zB)Rspc|oU=rD$*3(|P>KUzEccAph56NnZG?zdwUh|G&lJp8(QtF5Wy`1zX^63g@92 zK!4sI?I7lYu4siTR)KL);l|HI zqYh}+<*Lgh0WzXx^huK2av-uu5}dslgyr9;3oW=2Gg4{h z`#$3oO+2Rl77^bVQ_m*Ero3CGb9ic^_W+mcn9{OfkV1&&^qJjRA*97*0vyU0T)_Z{ z*$$(D?RR(R!c9$%3#c!ae*@Q--5aQ>Yg3G56Y_@ZPgS1D$yL`DR=dM!K?rJ*5Vd10 zCmr2^TG^m82q%zD!3f}vU40K#pvZ=sm)G~pm`vd?Wnp4UH+5!DXRAM179{;C?ph~m zj}hZ$ELK!mZqFk(1n85lART|s_}YU;Q5N!?ReMybccHzdBl9O zQ)E3kBFbLBevNlMgdMf6-|knR{GL9-iYl8yI^uCkO59n@(9X^dh7>g=N8~AozrC|S zGon8vQ&gH+ncVfgROH2}y0nv|e4OoIZEoFV8D$gfMJr#QVzjgd65J9!r~VQa!)jdQ z#n#uG5T6ndI7>!aI77e;37W((%!k`Fub#L*x1|`!!sJEj*jAhy0FWZjg@vH$k^LzB z0cqI#L+GHuHA3nKSa#I+ieh3&8gZ`0gdbEV(ORx(r@b}^%NPIaeB(yGO)>gayYBtaHiQNK^bXjdCJ`sIZEmOxEPoa zWEK@PlHgKy>ANBv;$oFj&uhefL|>b{9&l~AQrQQ`W5Pu-0)B@y1u8XrBTBpTe+++k z{P-~{ai0<2>nlkdOV(?IE16Q=y%=mt<-?)-{BeVA8~t{*Xz8zM9)>#^86%}5Exy&I zwe5HRc=iQ-y1YBGwMyqV`;Jl)Pcm@!Z9MmFmo%m0#To9lFdpdBK}>fZdL6hkLRusw zENq)8Tr*(lk?~N~^5VsdQ$xv4YA5+s(#O!^Ry#b-C23+g6f47>nzfxEby}GWGhqzr zzPm`Uv)^CrN_nCC(Z;RLG}u&X>7H0v#fy(M`|OKQSXsBHh;Y3VGBPsK%QPce2D>Mz z-M!uxY`ysXvOqXV^@G$(bwT43M8mzX`d&y(sinj3Ee(?V2yviRZbHxFWd`4!bN#~1P`1r{ zlWROuM(OgcPLpcs>Bf^6m;X4aQ629!U1&wBNOz%*GJX5{?_;TsZ9TT}RGEb%4DjrE zc#;8cH8(f&6ilkiLC+hu+-dBULFvTWP5jQZsDI-hqbU&(u+h?Hx^L@r_~Y2ox|5+^ zN}!1PX1P78XL|!pW9u&4{wRS%4L+<~T=%ei;2yAvdno!%kA+T$7tdTXU(TazUvLn4 zyrQ765gs4AX(&jTy3wLzs!Yfw3mq1zj<&kmD0jZxrDh(UFQQ& z>vw7Yys?j|%6%E{^o_(5x(@PMQA{preip%dYNcz4ez_YtZ3%2F^Ig)ZGi`!rKKX~!>3 zLt#fD@d=CDsLo2}9G}+}_4`-6ooVC$5&~=xp+2M@A~F4#H4z)^m2X=Uz{pLrXB z7tAujJeF>~=;<$OV>4>uIB>UdYB&p!=m-Q_Oc`Ur3`!pmV*o#)x$P+*T?Q+~-ygV? z<^tJXpG$L{9XkMhRsApDyz$osdr(^Xz0|IVe6%ygj)UWW=Z+SfgR{?m<<`$*-O3MJ z34_TmG#DcWcrF)%psz*ky?7`4(s&i?)~#Cu*C>Lnil$W&&IA;c*9;_bxkY17am*h-d6H$vj^!33C{b3(o0Z=C0$a)Lv>P~e)8#s+ zAq`i}kBN~n^Um?T{wn;3a)?;qZa~$A%t2dcKX%EX_p6KN<)lA>kj@m7D&}~{zAw^E z-TvH%*>%CXHXcAD#CsgJ=q%N6T!O{qruaVKgI|QAHk!ZMQv}!Y>S_&jBSS+>{!Q|| zJocH;AH^CKUi)-per-S$CPQHvcpi6%C<`VJ`UTNSAa0{PTAqP`Uv2q<-dYg^0kK$Z z$U_=#)0$WpjFnk{HZ_jn!Lahc3c1uRBLIzEMF8H)+NjVNeIL1XHVxpUg0M7qy;oole;z%?Z%po z&P}Io_ZlqbzA>|F{&QB$$z~Gx3fUT-{^QerW$c1WM2hq_&f6S|{{-C%J3c>MgEZ*6OmyL$oTh_w%FY(63j=e6Xv98oxy!&i9@+Q*0bn*A>3~x1yFBRaYM^58%71D?T-96klXsJ)ybu z$kKx>YSx}>d~CyOA_xDmKL}_hdHoE3If2>oj;g+XNMK+c%*&3mP-nDwll1fw%?yto zTFKb)WTT+;d!Qk}YtY?Q}X9(oF_ z4O!ogjMP+bPHAIfV`w6P=_e*8O500HJ^?7(+t&6DR{kRm_9{)%Qpe$T1yrJ;p@FHR z>>T=Oc!{N@q~N&sqNwO}U24(0cUeX5dIs3Zehk~sMf#)QL^VkP62dHPCxheot)QoD z4|FqJWA-3F`-z!ZQdRWSrQM)y`^gC++bysn=HbJ)5g7(*W8a^xE%8u4xqG=fZ_rNT z9%V-=oE9*bh7-!L$`iq-o0$jpCCYaEz>*ce=W3NVy12a4v8)<2Bo&4(R zYIyd!4*U92^$X0l;vmE(*-)r$5;Ub+jWdyd=UOHHBZXvr6BWo?_Bf0SeAWGvb^I-k z{_Z~SV1{dVyu2j+uoJvHd>@sl$(}NqTzz+jg?yT$XyEPswL0m;9PA!q{mY~e=zB&u zbVT2Io<4I!LEZ2*j(j)%il=~T&yIj+$MlVdSoh2(XdBNQ72Y_f4*FF9D>)xn2Cwa9 z%Zw{V>B|0z*okPqY*#G@qTn)2SoGuRU3U{4a>(w~B}d0-WN0YExLZqO)R-%ElYlh~GvP7-sV1x$TD?n-*YIi>V(#znkGu9X4E0wPAQ%8( zobDFqNH(1oYu?@R*ZxIY?#Omt9%)-0yH7(PvL;yaoVB4h$^&KK*A3iHh;6g8?a+eR z*ZYsG1kH}wc7PHU_fdkl?DLzrEUNOGxGePHCvn;Cf%JB^r`qVtjen1pYrolik1I9T z?n@dcUY64qpIcgL3Y?}xPnt;W)D5bgV>CCeP6wkopR}F5-`GU<^{Sv;ALfpaIRm{; z)Al(`M~HKxiONEKHr1L#2m!h6@RS9H=4Gyf-s3DZSY6rv8vQ%QdK3x(n||?@hq}Dl zU%%doK2?xHfLtGI187VpUFh&dr>r+++p$A>MdWPb&EKlvwix19HQN4Oiz3Itd?RL9 zIF21paDs&g(n2OWU7M>G1wZ^{TH4w;PLN~?BgxJjyCGB4UC2m4oJzE2mpYDW6AzK0 zp2py!mrO@lSdOSkCe9C3Pxs3Aj2wdOQEZ>v6tQDGk?16U{0tYtR5qu%dh(AXLQpOD z5vYgNjg19SQO=#e7)!`uQc_X?&_|S`f_@p@7wX_&9xtqN{CITr78)9sEwAVZSybq5 z78cnc$uQ5CHC`M*8PN^cA^#(~v0sk+Q1YH-7FU;k%3-ZY5#oo7!qkF2W<(HQsn!VJaTS0nqWZH zagEwL7;$~FZPW4Dv-in0da}1nf8xvJ%CqSoaJrvK>YR$Wu;Y*So#=$l=g1J4%pc+P z=V3mpvi*O`kbnN^?T0h5&uQvek&xkwb+OxqIm8dH>bm;BM`-4Bc2uJbr(Kit#tNn< zBvNc)%L!J21GbC$(re{uMZ>yz2j%cM+d;Boi3erTHB<;v&MXHxz`1Bh{R)3A1qPf1S!6c2 zy){F(k)Q??V*n5``Nd0?U<9jD0B?9^=E3vatgPAaLEF%{&OGI`?B3P$QiWfscOO{k zXiAZG@bGwi`~aZ`h@D8~<+u=O?7K7Gai-E;4ia8wVgp7Vx(TqqtSJaEoA69ePls=` zmWGC>544l_U;$d5_VLo@?Sb!rpJD0FI&1t}i1pa&xD zbHCme1?VSo?B%)&$y94#_!<*p8Qqk37t-B;qFgOHEbMce7yI))Maa%e=r)Y30jIFE zk(7R1b}!{WHuPMc>DPqHDLe(%ycBo8L~>Po-@C`9%Vcj24_0b-;cXkb`<1Sd(j8uc z8C6wPbxm(aXcll3x^t7S(Z|5yeXZOlgrqo+T^bV^0N?d?#XZr(D8`t(m&N_#PJgz@ zH~I4zD03XEjFMMhY0GBnCGN+WW&QPq2Tkt>s1bNGRc^cQhfW%G#M5WbAYTF{Vn--@ zY-*}{CnXNf5FMs0;a^&i`a6TGn+OF7W&BiE+VB1J$NBU#k^biEuiILl6)YNSwzP1` zKN6QYO2=oPln1&bqd=iD%SH$PhrF+f-4!;FeRzBLi2J{C2jYxK3U6)E@%G^g387xQ z)~!GSGK|IU3!B`N)M; zjKNPW5<*eZ!^e}CF3*2Kwx0S_zkc1BPxN-SKf0*$^SNN>t8d>80(D)!ZFdv+OhlAqt_y` zVX`E5^K6g$({PSXHkbUYJmi9Pvo-3 zS4dQHSsV2-(?>@OITxP1EMa?RcGJ((Mi|>jZVF~M=le22b=jvdH1E}H#F!Hz5XZg< zkFiqz8gyhtmjCOTp!lTNWo%4FCT%7!C8;q>tPNf^)qHriV4FwIIAT!_bJC7ms5oFnZg)^b?=h5&}(P6!7HidL6B|I;F@e_W^GSe_KWhqKX{q|tl0iRzlh!Njzv;=OB1y?W+3{buZ5Ibr4MWFVAfKk@(*EOD;Bzf+(fx501BHvm$ND_0kx z7}wEs*t$sGlZWuK!N#xG8d>=N(`4edQ_JrpHw;5Z~%9+D!!w0*nsBUw$2NtK{o zFc0J8JoeO?@2PNm_r7$R4J{?T6>kD3c1x5uQs>iCR+W615bBupnNWKjmi1x@oxa!c zSLci!)ux|qWqvF6;7=TrXK@#80?gi&bT);%n@<5)mGJ4 zC&Az}CKflkJHZ(g46+w zDm!yM&7A9#c?WLM3Oc_zIn;8sbJ>R5Qu)NXQPA#_=`@JVRJ|wTH8J*TsfFqfkDbge zJ7a`h8V>9~8L!Dc-E_9=o_i{9DOu2XyQ_{acih7NIO4Fr z0KJQyhtOk&ALB(%qZNw%9PohBupMn$8qc?D*V*CRWPTrBp0Y@fHMTuDDH`z>A~MVq zK1FrvPOdr@`x3ogx_wzC$K_3m+O%-tWZb?5a>@7Xs7S#>k5uKz+cJHYJ375Nb-cws z`ps+GhxzXvxdaK2JacRA(V2$s9G`!G8Z;UP|(;x1rt@mTr%6jGYKDqjZKYjewJ8PRKSN}jbb+2>LTC1^(;Lwp_kDwe&+il`O3S_wk8Mf z>&wN&4tIJ9o{|XP{-yXXRaArXK}N4T_i_)uW$Mp5b#CBs7&RMjJ;hjcch0M4Pxt9N zSVgoy3s$!}Tl`GLvx{%o0gl>e>GmxvZUjmV=;wYLb8 z{&;AtvAkhJqkrm!PlkL46&XGi=%fzjXP$l*T~gEC&(OoB(A!>@%4qeyKjq?96Vlmo z7ek-MbLwmF)WdW3M&4C-j8!mPlE0@OC#yin=G}?q;-cf-)-jdvtV*ex7GYygxUV|I zd{m#-vKg@S4hvr|zR8Z*tv(~M+lH9U9#XsHz5T|~Xn(acB=o#cE02xO=8Z#I2QH?3 zwW_;Q;2JfsL$s*1G+Ba*$GQ6Q!LR8i0Z5MZ@!CRQoyn5xb1fmhG{lTr>TTyqtsRp zI`ruQE2HexNlVKJxkq1iNju60Jvnf#m$4Daq{0EZLpWBS3)xyy?>uBmqjJBb*Qbu( zBaijO+Yd%pS0~Huk96o88UmEL&V1q;4S&42-QcqLtF26v2L?(x%HQt7psKR6iGArW zuT}@Y^_OejffMHFv!2*#7S$i^DXaVXJ^?CVE4m%`*7pA^?JEPS%+_$hLR30b5Ky{9 zT3Tt4E~TU!lx{GA4M=w>U4jVGp-4AKx3r{m!+p1oXXebzJ@?1u*NnjCi?!ZbPx$(M z=P>KBq0Gv4XUR(L)e%T0C67q2X70Uq$60_)Q((X&SB`w*Fqyyd0r} zj0ZLTz8CS1w>zG%oR`A^?F!^3Zs4omKzKZOP=kqOLjr=o#3TC&mVvydCUdP;!!MM4 zJddaB=8hEu2*P}^dLTg>8D3HM`lL3VM+-@%$8&nB+|PtChQ#aw3qf^|d)NoQm}0=&0cpbQ}u1baglM{E$`H+uUT`KY~to zic`(yYHK(oJhdc%yT+#E&o9}IZsjMcBh9?*I_1aV>Swk_!Y6(|;f_w{4%5k2XYagw zv)rv_m!oyP-fwHIbJUb|Sx$P5OB+E1o6v0t6Y{bZbRM0zDK>S#g-P~6CXOR$Z@JQW zx9q6^78fCp7>Y1E@-&5~m5xYZ>qEW{-z5ZItFrvD>(Isxhl>5n$m6@1KjsHWVKZBc zt4@xH-v?(fCoei)G``H|sC6p*1>8EqpDmf1Oa6sY`Wp4uFa0BWj^@fCiTGfw0Wf|5 zx%j_+oye+p7kUz9s~FU1%G9_fsAS#@Dq7Y={wx+og2q^X@^bBz@6?0;3iw|sJc4OW zkqcOzfIwF+aO)_GWnW9(eWolbQufh*WkBiYhCVDHe)Y44vzE>ngdq`7$L|dttQF^$ zmO9t@;sCM+{E+adWi#KsBk+KeVIYpoFD(%h5KygDefR)gjO@U~;Nfuw&>CE&;iz4-%JVxER2JGF~4h zWr~W5?(RoGV#o~1z2=|+vXp&5H-Ql-&4u)|Gz>Dq_=ipL-Jf7a-C|rN_uxTHM#ek< zFf+$%yu3Ed;Y1&`4FUBJA*pg+*Uu6nc{cun&?3b2Ovd0}u6aCFPVtB~iQ);w5;bmf!jrTD4^l;0 z+gD>l$iwT1IFM@)aEnX^X|fke!9%(K#ah*h$^=8Xcv)3pVNhe}0mdXFcdp3~jQ`A~ zZQ2g-@+&u541xr9Kz$2?ls`HiCPlPmeK71I0o%J6(HE)Ln_-OEe576F>HztHV+LqH zghRI$?wfMr-UqI!$>riPuTvJlG`sBtc!bXU3IA#B*`H`2-Gbt)v1G=6p*l>b;F=tDh>vxk&3l**fi7 z_1*@H(xBDIt5yT$pinew*AuJm5jM7j$|{?b!gnQ3?NQ8`vUnavfsV-qhrL@I7Pp_&fF%b&-a@C|+X%`9A%I6f!Ro z&TcPVWx-|on30A-D(J4@QZLw&o0YW-XQ}`bSTgY-((W3sXO;6M6CUn|D^^X9GktO-6w7wU>m_yc72%CeZXb{_v2rYs90V-l~@@0Ue|@WBb;AvM-3w+@YgFJ>GU%lgJfxNG(9Nl|8I@rYfN1*Uos zt`Eh_-TjGq-!I((B9`17W#z>5Q2S2r_!nfgWk*mc(Ymm$9j4Crl#j|bP_ zT&GzQfYs1P0>?leMCO6QZW|}oZw_*2hP2R_A}K@Ftp^aj;MAp8QjP(1)G7}x&5rD4 zfMx*jH3%KQIMkNvLhPnpH*ZG)@j&Gi*iWXqUWX$Sl&bJ7L-&^1U&e-n+&X=<4G6Bm zsRQ|`o#2NvK5uy6dIyOHK9_s4n;22#54CyyT=7b)XmVQk(A0tE%z&3Ys7)$(2g&D@ zAEY3kW6S(ocgDr3c0PIx`W%{k-wu7{mMz$n^08aQbPsb<@O|zPDi_JHH__n4EwbMf zVc#x6)IT%(^PNnb}7pGG1-zB4=x>FYK+Wr1We{rfws7_06u*um^su zL%X6YJ1g?RZABu+|9Eiq31IN)lDhv>BMqQE$$dGR4;~Cbjsfw%@H3{DVE9m_c^g_o z6<*Ev_q%oTwP#e!5~*Y+D8e!pC>+A(ZN^u-UVw7R-tk&eA93C_)yLLuNWdBdI)>p{ zHW1gv+SjPR{-(*QCL_~{3%{akiF(z5ZX91Nz=*Oc?9C3hy18dG*Gk#@_t@Lf^qQo3ts%FQj47540F+R+h~idg?-FC3MNf($!&`*2NN$Vz869-?P9(U`*=3zc_GLAP)6qStLE{e|L%Y zas?pT33U#jZ2W)9<6O2(R(?E6x9Fi!TB)zA)}If3G1|Gk`UXc&n!}8O*cI~U2&}eW zg>{sm5jMdrMA__LhqqgLp^?L3# zJ+zgx*Mjko{h7WsK?}!6I?^LScS+-Pv<0L|7O=OlC(Phux?~%q)9VS z#XOk$U7gQ&)3$IZw7bxKmaF>#&nkX`Qt$rYm02$#H}zw++n03P z_LX8&`L}!XqnJ7sOSmlx#$ta?UH((rLbbC8XoyxD^6~K|5C%YtThN-sCzzdlyH+>y zl19#Yv2W=$I-chNCO$r~zl)AEzM^Fb^{>ey8QCw~wtvDDh>QWUlJZKjsJ*>C!1uNH zGMSmZGWj%W#)t^7uTJ9EOcdwZ&0~6cR=?9kGcguyb1x?pD~z5`6U7lbY94t8*gBL? z?*IsuoVNb89f@r`fLal>U4W-#%QQo>RyvJ2s%%dHh#*A;g;?-7g$f9LfKSX1G&KP^ z3}7K!1PPzxiwE`uj}f%A+}cl(aA-VgTf~{~ga&{cejpw#HeDu_keoA)6(M*(H!@zw zaw1C4+aZ1erd`MR*L?Nq)VArY z%5;?JCWV9}V{y~x>T3J*-N<9`v*PhuZj^&e#uPCb`B%UK_Ox z4P`ftu_km?7!*fdg_pmhjb$?d`V_6rPPP9iszcI;SJaB?kI; zT-+wa#c52&$)HOj!k&~U47|4fsjOCu?cT3ph_$}a)`_V0 zv=}K+sA;S|QkDIINFLmVLMf{tb1w;B=g}K44UMK3=mwN=ZpDvAj(1P*9%GCYFH3F? z#!PPSP_e*dNk@7OPUU~rTxL#+idH67#|YCItj}c`9?4jgRfqR^eZ8#(oZ~~9 zi&8AkE{bch^t~~|EUGIkj4l2_Yl22CUz6>mr9*qi^K~m{#w~|J<_g$9FRjSv^nPxY ze?6z@JMl*I=bUeXBE++GaPbz;deK*G(1tmk7?1ImP&9Ij503VrKu10E;q}Ffw@}%< zy=Ac*TxicdV>h@!O3!-f3^{^P@H`F&;x_FEvFnO1lFr@?nP)#s-ne<`g*HVT`c3pE zOlgIlHQCjfhyDEt$#zR>^QVU$jp`mt{Z$#v86Eph4i57b$^66VDUvx%S{z};Nil4R zJ}*{pTK0g;Jj)%rOT2fopc<50$&j-F-!DV@q-8jI=vrJqX)_r^6<8OwwR6+9J4fmG z+1YcoHn@ulh4E~f#`NQgxrb@aQ!{D+__Mh*P#9&=e?q~WhdBX(K_fdC2S;zoF7gAR zHk-&LaZbjzlXf{v@DdYH&ABin!gwVK}CcZ%;8X z{@K;2gn**8C4Y9Q5-7#H8s3O_G3EoN$WF(z#Soh-YbUkoWGkZ@v^3KKb7s+EIn4HU zdWI^6_ANQyXv)uUmke-92?WvK_PLCh*M=j?R#AVQzSRYhr}%hy9w)Wnb0oZT)jr^YUg1Jw z?{Lt>&2@Fhw8vuyCEu|fvEum5e%)MWnxA(a^R*J*`~0}&=e&(9)eypWi=@|`r3A%l zyA9%sw*9g#*T%;#U>@CjeqlYIrNb~#*UCdThjdTIk=tU3kEKwT=|NIqxY=b#n*gsX z*?i&6%oNS~Q~caxS*lLcktP*o84Jy#;`7!smEBq`Yz_(YXNeNdb8i?f_5#SIdp7;F zd$h828H_O%@^wbaVGI{AAaptd*R+)^X*ev~uG*k0-l06*cCKwzMb^`H`hj3!Pe2$ggS%S`s=@}DG)_W2|dsxCkhh?K#pE;x_Rtiv2HE;R_ zbd1%xq?CoHJLvGfS$%MWKU`*2oB8ln(aGgP>iWjU4{t{kpE*S(*qcjAJ~lMuQ7)fu z7?T(Q-}^}tdo;bmqy0_~x*vm50vk=oN5Rcu58F${&_|!hf=prn%vGUlZF!WzGoiPJm$TR zc2FlO_rI#@KU*$qYh3CNeESyA5b-sW*YlV<5+>?R%)ZV!Ef4X{D$wW48Y@Z@YR{{t z^KsJoogCX_*a5dBy=+gO`zqP~)n=BJ-4KBo$=%WW$o*&ba6aPfVq!h_%Oxo%C5q;h znHjF-uk*H@a-aQM<@zg}xO=kHTd}%!BrFKOev=t@4_WIYdC^{5eRzYA@Q(B2*bV=_ zmlJbc<8jvIPfKVMdP%zQFQn+2B}HtnvydclnP=sImZkhoo!ZxauKzdq7B{R1Zb;)?u!}FN%HutQTk(ir$VpFf0T(6msZ#EfQf)h0 zv1@Hl=61^GE=n#xTR$3odF!nVibjKR8Ytt{PyhbA^F5--s4)^xP5L`(+`NS}ketq? zW`Mi;cn0pO@*>LPn~MxXD3pMekAU}y;!Si87XZA{!f>O)7-#%QP!y%4}SNo{_Y2eKx%b)S7^Y0 zW&ZR7oDa)D_Q>6aldc{p3dJ@PiTKFz98{8x#?7EFv1`X8Zh`5Ig6&z1Tpr@JZ$gpF zhayV}fOM%@K$C0Ng#F*j745BDI}AealFA^Q2a{h8aES-pJ-^36(MB)~e@9)H-T`$R zO3qQB=#3cF0RnMI5dd2uu1R0m9@?Rt^ZwhDmWt2^(ND9*A3uJGJih?mpB5l<;XVLN zu{I7ZK%0~0c@ueo)Dl!XN=WeyxNND*J&r&|glbwz> zMjg^(2_GXWdJdyQ{0CJ){|yw>zrA^JrLVET{_m@3pBTG)eBYjs;QDX*@vG>d%~dS28|zd=m_cNqC#=Y6 zL$bV~A*p`+?F@0?MRfFUopfAgJ)(#4Q*hfrgBEh%dweJUjzS60aR8f?Q;v$_ZCAin za26%rH&uEa=Dt;+ij|U*BDEqWE)IG*o}fhIz6OL)$=lr%6G>9S{TfP28=%kz7KgsW zUutVZ!@|himJ5=+PKH#o@R5F+fFcB#UQZq@yC2;=AYntDCfV3?5wvQ+tpd=}i*g|A zX=o|CjDkW#o~5+KEKBElyn7Yc&QJDaVK@4IHcq3RE6}ACqtb_^qW!mR08tcwQ~8Vn zLb@)O7p44f3n^V3^6WVaOv`iMO!$xylJW}u&lsnG;Ka=3eUJ0EHz%2mKQvz-fK)TC z8W9|vKsV%BpI!#LDFpxN_l%@oJ{0U{-BegFZvAB=!WD41E=NhR?L;NOD9`2cRg+U3 z3s+jcXy394(k-&VJdkZXDLJP~fuwpIVaew>vf&V_iKwWkfN}(oNIG}(bZfvQ${N&q zfI|RCL_ji=O?))_nhtD;S1(?G`7$*%H7Etd5)JX3`?#rx?in5mo@K%8ANhm56%e0v z0+?NHUioW`gb0T7kS^War4+ZngM;c`Ne$t6lId7Er$hC(SHy#PK)op{;t0dBccK#; zgjEVY4Ds>tZI16A6jJl^y944<==5k4crnHu@ee?o04OG<^e3!W%o?F{1s*2|DMwsT zJn+XmLK{fN+U^FnEg9#VIAneM*(!6y z#Y3PvgQISHvF1nf?NPhV3x23Qu|GP1J3@JCb_6;h zUAJmth*2gveyy}KX$!8i5$fiuN7p~W?J$ho7w;NN!`A~s))y$+paBpafere02cVJk zd^G?o1>|YorG$qdAj$`N1Awuf_R3R$i;Rwshx6woa~neNuJI3t0o+xH!Jq;OI!p^n zJW@VgbTz;*%(Vk9FbIvnSqxaCKLy6+w*;x~L|(gBgeFbFw_px8H;vqOfsjWhMa>aP zDxUqh%R9hAKze_>0w$JzL^~EId|_3;oId**C`0t<0NXNs2ij0`n)>u*07e@_TrAes z(BQEgWZh}ZwJDp81VReETP#C8$VDzJEFhUQ;ZtxJ_npd%$QD4tsh71QQrZ*vz>h)? z(4UrTkP@1&+di)Xd08gqf?W3dpNB!@=^8fnr(#qT%=%wJ3EGO3M$eB*vLi}qjys`m zmv=y?K|uzHalmJeSYd9zC~fa#wzkMNC{Pci2RhK(wMaQ6E!o>*!D$S5Dml{HMTr9iF9)loUEAh}8sC%|LaNZ(!eiR`0I?zSlIZ z6xafbc=-6KuELK^&s)9#OX`R!6~``;QBgWi01Uyw8az;g36GApHZWR0*%`4h8vve{ zg#Y82CY)iU2Vn56d)8&MgtG4eJU?%%&JFQ4%p)PF(t z6o|c(N<1#0MF%_~r2jx=W&H5r_7d=1K38kpqYqOPABw>+okB+;)&G~v9n6p?TV#iD zugb@#_Okf-ymZJO2p0k`P}((wV+yJ1ZPH2F?>SZH2brD|Cg&U+MREyukOtiza#qQm zO;15Nb0Z2QarDW^I+KJZRB!E>7D3(s2Jdivb$*I{Xu6!7Ts7#!5OJ|CUsgU|7l@jxC{KL!4Ljd^4d*P1 zrN}Vk;b6SDh$&9Not#5<=D81@wYU1721>6J4czdyK>b@{;bN$_IHE(n{J($dHhn$7 zw~^V}@({?Jlw_Es{E{QUqyhweYF>03X#Sw1qrVM&e+h(G8;8~Nw1%=(8HOSK`vC8c zP6C!s?z|7^p`L&wA83{PArM4Bm4$d6evb{wshE6@)zH}Z)fBXB>1b)+G{AWj>e&lm ziUfM}AgofJn;YOD2%8PanxsTTaMU-VuH*8OK}?={gS;H7&1-*4vlJ;x{C0BzVBG;S zdR9)WqcJMe$zuMdZVds~oyHuZWS&qc>|W3VbKt&V9^H|qO1%i9y^a&YiId|)5DGPWen|( zwcVJJf-w(3P(Bk1aoZJa+tv}GJbXFYFKpMu6R=TjGi;OvT(rhsQTfL7gGsrGw zK4|YNrQr(*rGotckZzzJuvJ~C1eU$(>vaYw4WNRi`Ra1STMw)y;O|2r8W9-@##g}1 zc>2e*Ax#<&ic9tPzl+O|1)zQa-OR;>*DC)(;VXU@Agc^9r&SUI*Y9xD5j5whKgj#} z_<$d(H6TzR{X$6n6-#z(#Iq)k_BSi#L1J)_-9L2)xVU6cJ>lWqvs>4_Ct6Z1D1+Mw3r_L_{UE{lYEj9|LGCyM6q!@%rWe@TE2bhlS1(o6V<=!|Kfw}A8jN~ zRG9Poxi`Z@?>`gVILeW|a>=$YXFitg>@L2MFtV5bql5mV(??$7Pdnv z^Y}Rb-AlsSI)}1{Pl4m9XZSR|DOx|nzj7f=fhY6 zG=D^&{iD&R73+2fVY8xaq2sMES07dAzDWrQ9rrhkwlSTY$M8_Rk8VOYlzlEddEkeF zv&-PSI|}zbm=ePyB0kzoctXumY19$V3zdZ+L`O%B{*BE}q0Pwa?8XYMATQ>88AbTY z&qt&O!=5y#nJ!6P#i~$6vs^?ftMB)Gpn*C79Rs7ix%ur1MD}h+YwJ828;uC1N?`Ma zQQwy|g}T2Lin8-rc*nxVWV@<$?4tN{}HjEvu!E z=C&c_jEsy7b%UJ+1w0HVm>C%Cj@2YXKAD5mXFRW+)&=GQWQm=+nYPYnzaZ>$WIQ#2 zX*xx}%gV|c>|%PmG>`pZ(KD6pGn896Jo0|Zs;aBq}X3aQ#Z2kBY@0vi<0sM7bG{4@zueCdu8e+>ySTSFaVH; z!#bhN(z&&I{flrzN3$$Kx<-tyI5Ebv9P!fR(v9y#F0NmsZ4I!cM@a{u15_}^y5E3r*6ddBJ zcb|iMBXoj&s%*A!v1V-mKl?GiZ%_O&6JJS0z~R zYmpD}e0vXc;xIz%+JVMT=2C>2$N`p8VyVm%p$LyCDpuC_I#fV~9q#=46wBaSDB8H# ze+OaHr_e@*ssk03%?hk`#y|vEiyz|#Pw>{IFrK3j(Xj^bL@+WmjKAa1qIwH-do(48 zp{Gd>gdP`{11T046vS=b`%-|q6ciZ8LG~9cl02bFhq4Y>vLGs1ihr;SWJS0uq{b$w zL$`jSqF`&xP}q60l-+VK?6X6H;(8NBkp1%DIw(uzA#6TzSPh3$8&$Y&F9IFfEA)Gj z2RM4x)rszSM1k94Z=QDCxutb!P%^@cRXOA&f$8=w6G#b?{>#$qz{iCo&qPP3$OWA# zTrW32e(efDp43gP}0y8 zxvgJW zKGe^b?xYyPs03iC6YiTBHZUo@jDcYkiyTgsLOu5V)c1hHdepfkoK99D6ou+r2bP}w z_nujB4^iSoPUf$}H29MUlmf8Uq=bR|?FxdOiyn|C81-!6K6x;|hfe{i85nv1hKmdi z?n;%yYZ8UJiM$vx9n8rd(9x3}8gb)j7MX^Gh5|r~VmMftnvj5?AZb7iITXu0Y`#SL z@xng_*w9S)vs5?PkVCBt8K>Iwd{2ug8H&&Z%0K2*&}uv4g{101-xV!RNyKf<56`H) z$23mcW^iYU>)yy~D@*?&M^w$f&Dwir!;_LGfaVTQ`5*#m_6l38G(+S5&6lXeB7d7p zA4`W=9YHq;Imr^)dp}ctdx4AKL z`m{_q{pso1bvMYolVblF@69Zn1cEFfN`LSz$g4MAEK7s#q4(8awZ^VA8xzyY8hqRR zjP!TpK)&-yK9p)Gd)KN{@u`jue1FdW+0!(%w2o{!*+B`y0WZ_|{oE&UY|l{P@7f9L zB>pdiq$qx#a>&wMLit%IA;0@+>Gv_gpS8xM!#}2hWIyiwK4ti8HG$u|9%G@308T!<&Sihc_om&+$hi-RE&hy9!pnm?_i(5evO39l zFr>%{3ubaIGSHGnV(Fbc=C{9s5~3BR)Yd*$YX7}uYO1h!Fi#r|T-mhL)Y2VWZw1c> z32;3*+_CwXG3VyEwNOUDpazn3S?Z`fXum$omytFx94qAH@n#(x$~n9H(ocqqV#LHu ziVB$99M=ScBO=n^bJ~(>9xwIZU6I<)R?Otz)k=3I@U{!4(Z`Vy^qYJ(RqTFo$0ts+ z5e2&q&O|a2W8VhahB(eN4T0!+)|l-@c4I^H&ZZKpIaw7aGz!%^@l0UIfO7GIbT?OOc7^_xzOimef&yQviF@uMY%F9`$KQ-suc179s#JuLwU~G9|KrbR zu9n9o94i8N+;N#Fb8NOhZ&m{j`FVXL1**5}Lf39pzln~*T0eQr?sNs^vr3ARR>h8; z5-}t_Qzw`1csH@@ePi>9hi>3)`1v`_pv*7`mRJvcAXtNL&+*|Ppzn0ua(iTZ$6*}M z{m}wTb@~;?ey`W}p1yj5FzXSug>BsgG5CApIGS45Euq$Y`LfZ4!k<>ZGm(7UG?Z{> zm5G$w8oUX)U%q;!HQ)4eEZZUhe;k==Uqunc^xMVv_xATeqXuH$w{D4y z9z8D zxKA#AUMvUS&bGKq^MQ0kes%d?dK@kU)sC+zAHKM)y-V30tU2|tS&4=*x=)@^xHB<_ z>PnK@h5s44rphtm%BgRBExy-f|%TW)um z$lQhgcQgc7W|>g~hZ9tW36SNme^@@d1$HS={mTvOVLvotWT{m6Jt zq6|99wGS7xZQ-EE*`$T1J?@nG=4AQ7HZlLvk7*yQB>fd?2A72{tW?3qz_=zfaBMcT zwA7B3abZ-CDOc_yo_hbDl_QrP@72wCxo>FBf{ zT=u6$u%#(+NL}_gI8vYQDA`z;HMTb(E|_to=A6_OVg+gZI+l){hfl@xUdF>E^4uLWD_1Zum=3>6 zUx8TAo)kJMaECVmANz1+jiy)sL5{`=J&&1 zkLew|suL|k5cOdM7Chw|m-Q%2pK}Ju-FJqfKGF-tF*EX$-nenJT5&pq){$`NYHv?c zY*ihaDnZC2UOFe}T$b*D06cV?*H9WgT#MYTnD4ccs+^vtQGN8~0tPOE!DiBG zL=6sgWx}lo+oQ3BMuo?mMW`fm6fZk4?>wTS^BH#-_%wx(s9QLd$(f_;jFo4zohc<1 zP%?WSpQmE+I72_U7VF)t5@7L#PjE=theY;IND}3dKQe0J6p`oN{2Q@*vma1~; z?v>x~+h2(iRb;@=i|QkTg2#tuUBV?gv6QNZcB=$NN>0s0T$Lvw64Wq!c=E|xs30;m z^))iybnv0EJ`o4K-6advQQg$oY>u6n4?V2;1M{?fpbe24qd7-Q5+^TWGfPKe zGZ;)pO8R8)2c0bsg+XTbJw$!xDrO_4zRM?tM;w-enKDtT;i51wwX_^-4$CNrMD9v_{39Sd43I`rA9EB}2P-Hh}*@AAm`R?hCw<&1eCe^RaK*`f?Zi!W`l{}7rt1DNx+6h1m+H$;pWeK9@d~7(EY9Da$l;vVQKWW= z3iyEj?yQ?+$k2FIJ!S3Sd}Rwr>DfIjsrKVA0{)hgl7uH#Pgn%U!F5B`V$Rs)(hUl+ z6MIL<8$<%B8Uc%|k7ddGGx>kMtzgBH0t1>+XM?55$w!Dm$j8U~ozDkyn^j5buRwlT zAPm z3W#y!qf+YAWH%-d`G~TRb-SA{3+>$Oy-K0cHj=Z#tO|(Y zTdHFO22j9=XZwmV?vqYkM!4)_uVHZ`D~BuL$ySo8PW9IyS%uI;rCsf__e@_$u2h zQxrs?Qrr-QLYoFhOJOt;>+{KDyCtZE%c#?$!@>^d;uwmaGB*_4oH|a`NdZ#byyV6i z7eUXX>CkW;RInImsjTGRrbn5-DUU4eaYN46hi%;IA+t{8fodK8J}$H~ZEfzK3Bi=^ z8}Mm+F?la-c%2-bA6DKJh+{J_hLO&}(bKQNw~!r0!24%Ydi&UOSln3foG1sfkqssE vocVxiL;eTK)>9aMBfk!iNH*k`#|haUwbYCALU#s`|0^XXCz^Nn(X;;p8DJO9 literal 0 HcmV?d00001 diff --git a/docs/assets/auth.uml.txt b/docs/assets/auth.uml.txt new file mode 100644 index 00000000..f502b4a1 --- /dev/null +++ b/docs/assets/auth.uml.txt @@ -0,0 +1,68 @@ +@startuml +title Current login workflow + +participant App +participant WebView +participant MAG +participant IDP +participant STS + +App-[#green]>WebView: Open webview +activate WebView + +group OAuth/IUA flow + WebView-[#red]>MAG: **Step 1**\n**[ITI-71]** GET /authorize\nextended access request + note right + The IUA callback url and client secret must + be registered in the MAG + end note +end + +group SAML 2 artifact binding + MAG-->WebView: Redirect to the IDP + WebView->IDP: **[AuthnRequest]** POST with SAMLRequest + note right + The MAG generates and signes the + AuthnRequest with its private key + end note + + IDP-->WebView: Show login form + App-[#green]>IDP: Sends login info + + note over IDP: The SAML callback URL, entity ID, public key and\nclient TLS certificate must be registered with the IDP + IDP-->WebView: Redirect to /SSO (SAML callback URL)\nWith the SAML Artifact + + WebView->MAG: Get SAML Artifact + activate MAG + + MAG->IDP: **[ArtifactResolve]** POST + note right + The MAG uses its client TLS certificate + end note + IDP-->MAG: Returns the IDP Assertion + + MAG-->WebView: Redirect to /authorize + deactivate MAG +end + +WebView->MAG: GET /authorize +activate MAG +MAG->STS: **[ITI-40]** Get X-User Assertion +STS-->MAG: Returns the XUA + + +group OAuth/IUA flow + MAG--[#red]>WebView: **Step 2**\nRedirect to IUA callback URL\nWith the code + deactivate MAG + App<--WebView: Close webview + note right + The app can monitor the webview URL, or use + deep-linking to detect this specific redirect, + extract the code and close the webview + end note + deactivate WebView + + App-[#red]>MAG: **Step 3**\n**[ITI-71]** POST /token\nwith the code + MAG-->App: access_token is the XUA +end +@enduml diff --git a/docs/integration-primary-system.md b/docs/integration-primary-system.md index 59b4ce4d..35e6598e 100644 --- a/docs/integration-primary-system.md +++ b/docs/integration-primary-system.md @@ -13,8 +13,13 @@ For HTTP GET requests, there is usually an equivalent HTTP POST request that sho ## Authentication +![Sequence diagram for authentication](assets/auth.png) + +The sequence diagram shows the currently implemented authentication flow. + You should integrate one of the supported IDPs in your application. -The SAML flow is the only one currently supported. +The OAuth/IUA flow is supported for clients, the SAML flow is the only one implemented between the +MobileAccessGateway and the IDP. Once you get the IDP SAML assertion, you can trade it for the community SAML assertion, which binds your IDP identification to a specific patient and a purpose of use. From 1e23d8a373a71f826c93686da457fd28bb3e5c77 Mon Sep 17 00:00:00 2001 From: Quentin Ligier Date: Wed, 22 Nov 2023 16:48:08 +0100 Subject: [PATCH 29/29] Add content.attachment.title to ITI-65 example --- docs/snippets/http_iti65.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/snippets/http_iti65.txt b/docs/snippets/http_iti65.txt index 92b728a1..a79cf165 100644 --- a/docs/snippets/http_iti65.txt +++ b/docs/snippets/http_iti65.txt @@ -198,7 +198,8 @@ Content-Type: application/fhir+json;charset=UTF-8 "contentType": "application/pdf", "creation": "2011-11-29T11:00:00+01:00", "language": "de-CH", - "url": "urn:uuid:59f3a738-11c1-4a0e-a89b-c4552d0fe9a7" + "url": "urn:uuid:59f3a738-11c1-4a0e-a89b-c4552d0fe9a7", + "title": "Document example title" }, "format": { "code": "urn:che:epr:EPR_Unstructured_Document",